bCreditNumber = CheckInputOnCreditNumber(self); var bPassword = CheckInputOnPassword(self); if((!bRatingOk || bFishingSite == 1) && (bCreditNumber || bPassword) ) { var warnDiv = document.getElementById("wrcinputdiv"); if(warnDiv) { /* show the warning div in the middle of the screen */ warnDiv.style.left = "0px"; warnDiv.style.top = "0px"; warnDiv.style.width = "100%"; warnDiv.style.height = "100%"; document.getElementById("wrc_warn_fs").style.display = 'none'; document.getElementById("wrc_warn_cn").style.display = 'none'; if(bFishingSite) document.getElementById("wrc_warn_fs").style.display = 'block'; else document.getElementById("wrc_warn_cn").style.display = 'block'; warnDiv.style.display = 'block'; } }} Top Jogos 53 Jogos da Barbie 277 Jogos do Mario 296 Jogos de Moto 990 Jogos de Meninas Mais Jogos Novos 504 Jogos de Vestir 552 Jogos de Carros 183 Jogos de Futebol 49 Jogos do Ben 10 Mais Jogos em Destaque 36 Jogos da Polly 42 Jogos de Sinuca 77 Jogos 3D 481 Jogos de Luta Mais Jogos de Meninas 459 Jogos de Moda 87 Jogos da Disney 30 Jogos de Baba 12 Jogos da Dora Mais Jogos de Aventura 124 Jogos do Sonic 69 Jogos do Bob Esponja 36 Jogos do Naruto 38 Jogos do Pokemon Mais $('#remote_iframe_post').submit();129 //facebook connect window.fbAsyncInit = function(){ // FB.init({ appId: '220782057940018', status: true, cookie: true, xfbml: true, oauth: true }); }; (function(d) { var div = d.createElement('div'), divid = 'fb-root', js, jsid = 'facebook-jssdk'; if (d.getElementById(divid) || d.getElementById(jsid)) {return;} div.id = divid; d.body.appendChild(div); js = d.createElement('script'); js.id = jsid; js.async = true; js.src = "//connect.facebook.net/en_US/all.js"; d.getElementsByTagName('head')[0].appendChild(js); }(document)); function facebook_connect() { FB.login(function(response){ if (response.authResponse) { FB.api('/me', function(response){ /* api,api */ var request={username:""+response.name+"",uid:""+response.id+"",email:""+response.email+""}; $.getJSON("http://br.337.com/rest.php?m=u_snslogin&from=facebook&callback=?",request,function(response){ if(response.status == 'ok'){ if(response.rs.u_act == 'reg'){ var date = new Date(); date.setTime(date.getTime() + 30 * 24 * 60 * 60 * 1000); document.cookie="u_act=reg;expires="+date.toUTCString(); } window.location.href = window.location; } else { alert('Some Error occured when bind to 337,please contact: support@elex-tech.com'); } }); /* api */ }); } else { //cancel } }, {scope: 'email'}); } // var _menuArrObj = []; // var _functionObj = []; // var _errArrLog = []; // //ie6 if($.browser.version== '6.0'){ window.onscroll = function(){ setTimeout(function(){ var scrollTop = $(window).scrollTop(); $('#elexHeaderNew').children().css({'position':'absolute','top':scrollTop,'left':0}); }, 1); } } function headerMenu(obj){ var me = $(obj).find(':first'); var menu = me.siblings(); var over = false; var hideTimer = function(){ if (!over) { menu.hide(); me.removeClass('inActive');}}; $(obj).mouseover(function(){ var top = $(obj).height() + 1; if (!over) { me.addClass('inActive').siblings().css('top',top); menu.show(); } over = true; }); $(obj).mouseout(function(){ over = false; setTimeout(hideTimer, 50); }); menu.mouseover(function(){ over = true; }); menu.mouseout(function(){ over = false; setTimeout(hideTimer, 50); }); } // headerMenu('#inSelect'); // /* var searchno = 0; // $('#elexUISearch').keydown(function(){ me = $(this); searchno++; var nowno = searchno; setTimeout(function(){ if (nowno == searchno) { var url = elex.config.get('baseUrl') + '/search/downlist'; var data = {keyword : me.val(), new_win : 1}; var dom_id = 'searchAjax'; if(me.val() != ''){ searchData_id = hex_md5(me.val()); elex.util.search(me , url , data , searchData_id , dom_id); }else if(me.val() == ''){ if($('#' + dom_id).length > 0){$('#' + dom_id).remove()} } } }, 300); }); function toSearch(){ var word=$.trim($('#elexUISearch').val()); if(word=='' || word=='Busca') return; location.href='http://br.337.com/search?keyword='+encodeURI(word); } $('#elexUISearch').click(function(){ $(this).select().keydown(); }); $('#elexUISearch').bind('paste', function(e){ $(this).keydown(); }); */ // var hl = 'pt'; if(hl =="zh" || hl =="tw"){ $('head').append(''); } //set config elex.config.set({ baseUrl : 'http://br.337.com', wikiUrl : 'http://br.337.com/page', appUrl : 'http://apps.337.com', cdnUrl : 'http://337.eleximg.com/337', static_vertion : '2012052901', uid : '34197480' }); //set language elex.langs.set({