<?phpecho json_encode(file_get_contents('https://data.mtgox.com/api/2/BTCUSD/money/ticker'));?>
function getMtGoxTicker() { return jQuery.parseJSON($.ajax({ dataType: "JSON", url: "mtgox_ticker.php", async: false }).responseText);}