var i=0;
$(function(){
		   
$.ajax({
type:"GET",
url:"http://www.moonbingo.com/skin/winners.php",
beforeSend:
function(){
$('#BigMoonWinners').html('<div class="win-loading">Loading&nbsp;<img src="http://www.moonbingo.com/content/images/winners-loader.gif"/></div>');
$('#topwinneralias').html('<span style="font-size:11px;">Searching for Top Winner...</span>');
},
success:function(){
 $.ajax({
type:"GET",
url:"http://www.moonbingo.com/proxy.php?url=bigwinners.xml",
data:"xml",
success:
function(xml){
  $('#BigMoonWinners').empty();	
  $(xml).find('winner').each(function(){
    var winner = $(this).find('alias').text();
	var amount = $(this).find('amount').text();
	$('#BigMoonWinners').append('<tr><td><div class="BigMoonWinnersTD" style="height:17px;">'+ winner +'</div></td><td><div style="height:17px;">'+'&pound;'+ amount +'<div></td></tr>');
	i++;
	if(i==6){return false;};
  });
  $(xml).find('TopWinner').each(function(){
    var topwinneramount = $(this).find('topwinneramount').text();
	var topwinneralias  = $(this).find('topwinneralias').text();
    $('#topwinneralias').html(topwinneralias+'<br/>&pound;'+topwinneramount);
  });
},
error:
function(){
	$('#topwinneralias').html('<span style="font-size:11px;color:red;">Problem To Load Moon Bingo Winners Information</span>');
}
});
 
 }
});		   

});