Club Penguin!Peca aos seus pais e responsaveis para ajudar.Visite a pagina Duvidas Frequentes: Flash Player para saber mais sobre essa atualizacao.Ops! Voce precisa do ultimo Flash Player para jogar Club Penguin. Peca aos pais ou responsaveis para fazer o download acessando adobe.com.br Visite a pagina Duvidas Frequentes: Flash Player para saber mais sobre essa atualizacao.Algo deu errado no Adobe Flash Player. Tente acessar de novo. OK Houve um erro ao carregar o Desafio Ninja Neve. Tente novamente ou contate o nosso suporte se o problema persistir. OK Ops! Voce precisa ter a ultima versao do Flash Player para jogar o Desafio Ninja Neve. Peca aos pais ou responsaveis para fazer o download acessando adobe.com.br OK function centerError(errorID) { var top = $(window).height() / 2 - 110; if (top < 0) { top = 0; } var left = $(window).width() / 2 - 177; if (left < 0) { left = 0; } $(errorID).css("top", top.toString() + "px").css("left", left.toString() + "px"); } function stopEvent(event) { if (event.cancelable) { event.preventDefault(); } event.cancelBubble = true; if (event.stopPropagation) { event.stopPropagation(); } } function launchMPGame(gameDetails) { if (!swfobject.hasFlashPlayerVersion("11.3")) { $("#CP_Flash_Version_ErrorBtn").click(function(event) { stopEvent(event); //Send user back to snow dojo $("#CP_Flash_Version_ErrorSection").hide(); returnToClubPenguin(); }); centerError("#CP_Flash_Version_ErrorSection"); window.metrics.logError({ "reason" : "Flash version too low", "context" : "launch_cjsnow" }); $("#MPClient").hide(); $("#club_penguin").css("left", "-9999px"); $("#CP_Flash_Version_ErrorSection").show(); } else { gameDetails.worldName = "cjsnow_"+gameDetails.pid.substr(1, gameDetails.pid.length - 2 ) $.ajax({ url: "/pt/web_service/snfgenerator.php?action=session", type: "post", dataType: "json", processData: false, data: JSON.stringify(gameDetails), success: function (response, textStatus, jqXHR) { gameDetails.snfSession = response; loadMPElement(gameDetails); tokenSuccess = true; }, error: function (jqXHR, textStatus, errorThrown){ $("#CP_SNFError_Version_ErrorBtn").click(function(event) { stopEvent(event); //Send user back to snow dojo $("#CP_SNFError_ErrorSection").hide(); returnToClubPenguin(); }); centerError("#CP_SNFError_ErrorSection"); window.metrics.logError({ "reason" : "snfgenerator error", "context" : "launch_cjsnow" }); $("#MPClient").hide(); $("#club_penguin").css("left", "-9999px"); $("#CP_SNFError_ErrorSection").show(); } }); } } function returnToClubPenguin(commandString) { var txt=""; try { $("#club_penguin")[0].handleMPInstanceClose(commandString); } catch(err){ txt="Error occurred with $(\"#club_penguin\")[0].handleMPInstanceClose();\n"; txt+="Error description: " + err.message; //console.log(txt); } //Put the classic client back to it's normal position $("#club_penguin").css("left", "auto"); $("#htmlNav").width("950px"); swfobject.removeSWF("MPClient"); //remove the swfObject $('').appendTo('#D_F_GameSection'); //put the empty div back for the next time $("#MPClient").hide(); //enable bigscreen/smallscreen button $("#bigscreen").css('visibility', 'visible'); $("#smallscreen").css('visibility', 'visible'); } function loadMPElement(gameDetails) { var manifest_url = '/publishdata/r1994/manifest/manifest_tokenized.json'; var device_string = "large"; var swfWidth = "100%"; var swfHeight = "100%"; if ($('#smallscreen').css('display') == 'none' || parseInt($("#D_F_GameSection").css("height").replace("px","")) < 720) { //If the small screen button is not visible -- we are in small screen mode or force small screen mode for small monitors var device_string = "small"; } //disable bigscreen/smallscreen button $("#bigscreen").css('visibility', 'hidden'); $("#smallscreen").css('visibility', 'hidden'); $("#MPClient").show(); var swfUrl = "http://media1.clubpenguin.com/game/mpassets/playclients/r3604/flash_client_base_fp11.swf"; var swfID = "MPClient"; var swfVersion = "11.3"; var flashVars = { mpProduct : "cjsnow", snfSession : gameDetails.snfSession, pid : gameDetails.pid, worldName : gameDetails.worldName, base_asset_url : 'http://media1.clubpenguin.com/game/mpassets', assetServer : 'http://media1.clubpenguin.com/game/mpassets', assetSeed : 'http://media1.clubpenguin.com/game/mpassets', manifest : manifest_url, devMode : 'false', wns : "n7vcp1clubpwns.clubpen"+"guin.com", lang : "pt_BR", SWF_ERRORS : "http://media1.clubpenguin.com/game/mpassets/minigames/cjsnow/en_US/deploy/swf/ui/assets/ErrorMessages.swf", SWF_LOADER : "http://media1.clubpenguin.com/game/mpassets/minigames/cjsnow/en_US/deploy/swf/ui/assets/cardjitsu_snowbetapreloader.swf", queryString : "battleMode="+gameDetails.data, DEVICE_STRING : device_string, PLACE : "snow_lobby", isMuted : gameDetails.isMuted }; var params = { menu : "false", quality : "high", allowscriptaccess : "always", wmode : "direct" }; var attributes = { "id" : "MPClient", "name" : "MPClient" }; swfobject.embedSWF(swfUrl, swfID, swfWidth, swfHeight, swfVersion, false, flashVars, params, attributes); $("#club_penguin").css("left", "-9999px"); //Move it as far