/**
* go to the game page
*/
function goToGameById( gameId ){
	//alert( "go to game id : " + gameId );
	
	window.location = "arcade.php?gameId=" + gameId;
}

/**
* game score has successfully been submited to the server
* this is called from the flash game swf after results are returned
*/
function submitScoreSuccess(){
	
	//get the game id
	var gameId = document.getElementById("abcd").value;
	
	//alert( "score submited...reload scores : " + gameId );
	
	//call function to ajax scores to retrieve the the most recent scores
	
	//if the new submited score is listed then it should be a different color
	
	processajax( 'arcade_communications.php' , document.getElementById( 'arc_scoreListings' ) , 'post' , 'action=scoreList&gameId=' + gameId );
	
	
	
}