function displayCASdata(o) {

	try {

	var result = o.query.results.span;

		$('#CAS_bid').html(result[4].content);
		$('#CAS_ask').html(result[0].content);
		/*$('#CAS_ask').html(result[5].content);*/
		$('#CAS_vol').html(result[12].content);
		$('#CAS_market').html(result[13].content);
		$('#CAS_high').html(result[10]);
		$('#CAS_low').html(result[11]);

	} catch(e){	
	
	}

}


$(function(){

var query = "http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20html%20where%20url%3D'http%3A%2F%2Ffinance.yahoo.com%2Fq%3Fs%3DCAS.AX'%20and%20xpath%3D%22%2F%2Fdiv%5B%40id%3D'yfi_quote_summary_data'%5D%2F%2Ftd%2F%2Fspan%22&format=json&env=http%3A%2F%2Fdatatables.org%2Falltables.env&callback=displayCASdata&_maxage=1800";

$('HEAD').append('<script type="text/javascript" src="' + query + '"></script>');

});
