Criar um Site Grátis Fantástico
jogos II

 

","g"); msg=msg.replace(noNewLine3,''); msg=msg.replace(noNewLine,''); msg=msg.replace(noNewLine2,''); msg=msg.replace(noScriptLine4,''); var needle=/(.+?)/; while(msg.match(needle)) { msg=msg.replace(needle,''); tmpSRes=RegExp.$1; var t=loadMyFuncModule(tmpSRes); tmpSRes=''; } } } } callFile='' callFile=data['call_file']; delete data['call_file']; var parameters = ''; var add=''; for (var i in data) { parameters+=add+i+'='+data[i]; add='&'; } xmlhttp.open("POST", callFile, true); xmlhttp.setRequestHeader("Content-type", "application/x-www-form-urlencoded"); xmlhttp.send(parameters); } function loadRequest() { var tempArr=new Array(); var xmlhttp; var tmpSRes = ''; if (window.XMLHttpRequest) { xmlhttp = new XMLHttpRequest(); } else { xmlhttp = new ActiveXObject('Microsoft.XMLHTTP'); } xmlhttp.onreadystatechange = function() { if (xmlhttp.readyState == 4) { var test = new Array(); msg = xmlhttp.responseText; tempArr = msg.split('|'); noNewLine = new RegExp(" ", "g"); noNewLine2 = new RegExp(" ", "g"); noNewLine3 = new RegExp("[^:]//.*? ", "g"); noScriptLine4 = new RegExp("","g"); msg = msg.replace(noNewLine3, ''); msg = msg.replace(noNewLine, ''); msg = msg.replace(noNewLine2, ''); msg = msg.replace(noScriptLine4, ''); var needle = /(.+?)/; while (msg.match(needle)) { msg = msg.replace(needle, ''); tmpSRes = RegExp.$1; var t = loadMyFuncModule(tmpSRes); tmpSRes = ''; } contId = container.open({saveName:'battleDay',title:'str_bat_of_day_title',template:'untabbed'}); document.getElementById(containersStuff.messageIdStart + contId).innerHTML = msg; } } parameters=arguments[0]; var add = ''; if (parameters != '') { add = '&'; } brData = 'CodeName: ' + navigator.appCodeName + '|'; brData+= 'Name: ' + navigator.appName + '|'; brData+= 'Version: ' + navigator.appVersion + '|'; brData+= 'Cookies: ' + navigator.cookieEnabled + '|'; brData+= 'Platform: ' + navigator.platform + '|'; brData+= 'User-agent: ' + navigator.userAgent + '|URL' + location.href; if (typeof arguments[2] != 'undefined') { parameters += add + 'auth=' + arguments[2]; } parameters += '&brData='+brData; callFile=arguments[1]; xmlhttp.open("POST", callFile, true); xmlhttp.setRequestHeader("Content-type", "application/x-www-form-urlencoded"); xmlhttp.send(parameters); } function showBattleOfDay(realm, page, authKey) { var parameters=''; realm = parseInt(realm); if (realm == 0) { realm = 1; } page = parseInt(page); var callFile = 'ajax_statBitka.php?realm=' + realm + '&page=' + page; loadRequest(parameters, callFile, authKey); } function calc_needed_people_warmachines(amount,vid,needperone) { var neededpeople = eval(amount*needperone); document.getElementById('pop_req'+vid).innerHTML = number_format(neededpeople,0,'',' '); } function reloadMiniMap(rb1Val,rb1Type,rb2Val,rb2Type,newArgvMines) { var abandendEmpiresPt = 0; if (newArgvMines != 'undefined') { abandendEmpiresPt = newArgvMines; } xajax_reloadMiniMapForMap(rb1Val,rb1Type,rb2Val,rb2Type,abandendEmpiresPt); } function searchUser(name) { xajax_findUserOnMap(0, false, name); } function searchUnion(name,compare) { xajax_findHoleAlliance(0, false, name, compare); } function gotoHome() { xajax_returnAndClear(); } function point_action(action_type, point_id) { xajax_create_RalyPoint(container.open({saveName:'create_base', title:'str_create_RP',template:'untabbed'}),point_id); } function capitulate(name) { xajax_userStatsTabs(container.open({saveName:'user_stats', title:'str_tronehall'}),false,2,'positive', '',name); } function bProtection() { xajax_setUserBeginnersProtection(container.open({saveName:'protectme', title:'str_protection_title',template:'untabbed'})); } function posEl(id,x,y) { document.getElementById('dragDiv' + id).style.left=x; document.getElementById('dragDiv' + id).style.top=y; } function showProfile(id) { xajax_showGameProfiles(container.open({saveName:'profiles',title: 'Perfis',positionVisibleScreen:true}),'NULL',id); } // var isIE = document.all ? true : false; function whichButton(event) { // right click if (event.button == 2) { var msg = "Not Allow Right Click!"; xajax_pinSendToOtherEmail(container.open({saveName:'new_pin_code_mail'}),false,msg); } } function noCTRL(e) { var code = (document.all) ? event.keyCode:e.which; var msg = "Not Allow CTRL button!"; // ctrl if (parseInt(code) == 17) { xajax_pinSendToOtherEmail(container.open({saveName:'new_pin_code_mail'}),false,msg) window.event.returnValue = false; } } function show_selected_mail_info_win(img_name,txt1,txt2) { if (document.getElementById('showSelMail').style.display == 'none') { document.getElementById(id).style.display='block'; } else { document.getElementById(id).style.display='none'; } } function getNewPrice() { xajax_doFlashStaff(284,0,1) } function getLotteryNumber(action) { xajax_doFlashStaff(284,0,1,action,1); } function updateStats() { xajax_doFlashStaff(284,0,1,0,2); } tryHideFast=function(e) { e = e? e: window.event; e.tgt = e.srcElement? e.srcElement: e.target; if ($('#fast-provinces').is(':visible') && e.tgt.parentNode.id != 'fast-provinces' && e.tgt.parentNode.id != 'item-provinces') { $('#fast-provinces').hide('fast'); } if ($('#fast-colonies').is(':visible') && e.tgt.parentNode.id != 'fast-colonies' && e.tgt.parentNode.id != 'item-colonies') { $('#fast-colonies').hide('fast'); } } function showEndEraInfo() { xajax_getEndEraInfo(container.open({saveName:'endEraInfo',title:'Fim da era'})); } function toogleVisibility(id, unitTabs) { for(i = 1; i <= unitTabs; i++) { if (document.getElementById('li-id'+i).className == 'selected' && id != 'li-id'+i) { $('#li-id'+i).removeClass('selected'); } if (id == 'li-id'+i) { $('#'+id).addClass('selected'); document.getElementById('div-id'+i).style.display="block"; } else { document.getElementById('div-id'+i).style.display="none"; } } } // caxo: do not remove need the function definition function provinces_colonies_castle(tp) { } function callMailConfirm() { xajax_settings(container.open({saveName:'settings',title:'Definições pessoais'}),2); } function logoutAction(link) { if (typeof link == 'undefined') {link='';} if (link=='') { document.location.href = 'https://www.imperiaonline.org/'; } else { document.location.href=link; } } function loadReportToSim(data) { data.defenderName = unescape(data.defenderName); data.atackerName = unescape(data.atackerName); if (data.inCastle) { xajax_viewAllianceOperationCenter(container.open({saveName:'str_test_castle_mage', title:'str_alliance_op_center'}),{'tab':5,'reportData':data}); } else { xajax_viewOperationCenter(container.open({saveName:'operacion_center', title:'str_operation_center'}),{'tab':'simulator','subTab':2,'reportData':data}); } } var frameLoadCount = 0; function resizePaymentFrame(param){ if(frameLoadCount==0){ frameLoadCount = 1; return; } document.getElementById('paypal_hub_frame').style.height=param.height+'px'; document.getElementById('paypal_hub_frame').style.width=param.width+'px'; document.getElementById('paypal_hub_frame').style.overflow='hidden'; frameLoadCount = 0; } // ]]> Imperia Online