function CanliAnlatim(MacID){
	$.ajax({
		type: "GET",
		cache: false,
		url: "canlianlatim_xml1.xml",
		data: "id="+MacID,
		dataType: "xml",
		success: function(xml){
			$("canlianlatim", xml).each(function(){
				$("#oyuncular1").html($("oyuncular1", this).text());
				$("#oyuncular2").html($("oyuncular2", this).text());
				$("#skor1").html($("skor1", this).text());
				$("#skor2").html($("skor2", this).text());
				$("#takim1_gol").html($("takim1_goller", this).text());
				$("#takim2_gol").html($("takim2_goller", this).text());

				if ($("gol", this).text() > 0) {
					Gol();
				}

				$("#macanlatimi").html($("macanlatimi", this).text());
				urchinTracker("/canlimac");
			});
		}
	});

	setTimeout("CanliAnlatim("+MacID+");" , 60000);
}
function Gol() {
	var golstr = "<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0\" width=\"800\" height=\"300\"><param name=\"movie\" value=\"images/1_kucuk.swf\" /><param name=\"wmode\" value=\"transparent\" /><param name=\"quality\" value=\"high\" /><param name=\"wmode\" value=\"transparent\" /><embed src=\"images/1_kucuk.swf\" quality=\"high\" pluginspage=\"http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash\" type=\"application/x-shockwave-flash\" width=\"800\" height=\"300\"></embed></object>"

	$("#Gol").html("");
	$("#Gol").show();
	$("#Gol").html(golstr);

	setTimeout("$('#Gol').hide('');",9000)
}

