		var gameWidth = 550;
		var gameHeight = 380;
 
		// callback function invoked before the SWF is (pre)loaded
	    function PreloaderCallbackBefore() {
 
	    };
 
		// callback function invoked after the SWF couldn't (pre)loaded
		function PreloaderCallbackAfterMaxTemp() {
			fake_pre_load_timer_temp(preTimer);
		};
 
		function PreloaderCallbackAfterMax() {
			fake_pre_load_timer(preTimer);
		};
 
	    // callback function invoked after the SWF is (pre)loaded
	    function PreloaderCallbackAfter() {
	    	try{$j("#pre_ad").hide();}catch(e){}
	    	try{$j("#iframegame").show();}catch(e){}
	    	try{document.getElementById("pre_ad").innerHTML = "";}catch(e){}
			$j("#jal_game_placement").css('width', '100%');
		    $j("#jal_game_placement").css('height', '100%');
		    try{$j("#gamerDiv").css('height', gameHeight);}catch(e){}
		    try{$j("#game_container").css('height', gameHeight);}catch(e){}
		    try{pre_load_done = true;}catch(e){}
	    };
//INSERIR SWF ADS EM SEC
	    $j(function(){
	        var ad = '<iframe allowtransparency="true" id="aed970eb" name="aed970eb" src="/loader/afg4.html" framespacing="0" frameborder="no" scrolling="no" width="450" height="350"></iframe>';

			//iframe or ajax (if ajax then var ad must be the ajax url)
			showPreloader('jal_game_placement', ad, '550', '380', '250', 'PreloaderCallbackBefore', 'PreloaderCallbackAfter', 'iframe');
						
	    });
