conta 20
Autor: arielbr | Publicado: 2012-06-07T11:30:00-07:00




DDTank - 337 jogos: Jogue jogos online de grátis - 337 jogos: Jogue jogos online de grátis

















 //自适应高度
 var iframeHeight = 0;
 $(document).ready(function() {
  var iframeObj = $("#remote_iframe");
  if (iframeObj) {
   var vh = getViewportHeight();
   if (vh > iframeHeight) {
    iframeHeight = vh;
    setIframeHeight();
   }
  }
  $(window).resize(
   debouncer(function() {
    if (iframeObj) {
     var _vh = getViewportHeight();
     if (_vh > iframeHeight) {
      iframeHeight = _vh;
      setIframeHeight();
     }
    }
   })
  );
 });
 
 function getViewportHeight() {
  var height = document.compatMode === "CSS1Compat" && document.documentElement.clientHeight ? document.documentElement.clientHeight : document.body.clientHeight;
  height = height - 30;
  if(height < 600){
   return height + 85;
  }else{
   return height;
  }
 }
 
 function debouncer( func, timeout ) {
    var timeoutID , timeout = timeout || 200;
    return function () {
       var scope = this , args = arguments;
       clearTimeout( timeoutID );
       timeoutID = setTimeout( function () {
           func.apply( scope , Array.prototype.slice.call( args ) );
       } , timeout );
    }
 }
 
 function setIframeHeight() {
  $("#remote_iframe").height(iframeHeight);
 }
 
 function setHeight2(height) {
  iframeHeight = Math.max(parseInt(height), getViewportHeight());
  if (typeof console == 'object' && typeof console.log == 'function') {
   console.log(parseInt(height), getViewportHeight(), iframeHeight);
  }
  setIframeHeight();
 }



.fb_hidden{position:absolute;top:-10000px;z-index:10001}
.fb_invisible{display:none}
.fb_reset{background:none;border-spacing:0;border:0;color:#000;cursor:auto;direction:ltr;font-family:"lucida grande", tahoma, verdana, arial, sans-serif;font-size:11px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:1;margin:0;overflow:visible;padding:0;text-align:left;text-decoration:none;text-indent:0;text-shadow:none;text-transform:none;visibility:visible;white-space:normal;word-spacing:normal}
.fb_link img{border:none}
.fb_dialog{background:rgba(82, 82, 82, .7);position:absolute;top:-10000px;z-index:10001}
.fb_dialog_advanced{padding:10px;-moz-border-radius:8px;-webkit-border-radius:8px}
.fb_dialog_content{background:#fff;color:#333}
.fb_dialog_close_icon{background:url(http://static.ak.fbcdn.net/rsrc.php/v2/yq/r/IE9JII6Z1Ys.png) no-repeat scroll 0 0 transparent;_background-image:url(http://static.ak.fbcdn.net/rsrc.php/v2/yL/r/s816eWC-2sl.gif);cursor:pointer;display:block;height:15px;position:absolute;right:18px;top:17px;width:15px;top:8px\9;right:7px\9}
.fb_dialog_mobile .fb_dialog_close_icon{top:5px;left:5px;right:auto}
.fb_dialog_padding{background-color:transparent;position:absolute;width:1px;z-index:-1}
.fb_dialog_close_icon:hover{background:url(http://static.ak.fbcdn.net/rsrc.php/v2/yq/r/IE9JII6Z1Ys.png) no-repeat scroll 0 -15px transparent;_background-image:url(http://static.ak.fbcdn.net/rsrc.php/v2/yL/r/s816eWC-2sl.gif)}
.fb_dialog_close_icon:active{background:url(http://static.ak.fbcdn.net/rsrc.php/v2/yq/r/IE9JII6Z1Ys.png) no-repeat scroll 0 -30px transparent;_background-image:url(http://static.ak.fbcdn.net/rsrc.php/v2/yL/r/s816eWC-2sl.gif)}
.fb_dialog_loader{background-color:#f2f2f2;border:1px solid #606060;font-size:24px;padding:20px}
.fb_dialog_top_left,
.fb_dialog_top_right,
.fb_dialog_bottom_left,
.fb_dialog_bottom_right{height:10px;width:10px;overflow:hidden;position:absolute}
.fb_dialog_top_left{background:url(http://static.ak.fbcdn.net/rsrc.php/v2/ye/r/8YeTNIlTZjm.png) no-repeat 0 0;left:-10px;top:-10px}
.fb_dialog_top_right{background:url(http://static.ak.fbcdn.net/rsrc.php/v2/ye/r/8YeTNIlTZjm.png) no-repeat 0 -10px;right:-10px;top:-10px}
.fb_dialog_bottom_left{background:url(http://static.ak.fbcdn.net/rsrc.php/v2/ye/r/8YeTNIlTZjm.png) no-repeat 0 -20px;bottom:-10px;left:-10px}
.fb_dialog_bottom_right{background:url(http://static.ak.fbcdn.net/rsrc.php/v2/ye/r/8YeTNIlTZjm.png) no-repeat 0 -30px;right:-10px;bottom:-10px}
.fb_dialog_vert_left,
.fb_dialog_vert_right,
.fb_dialog_horiz_top,
.fb_dialog_horiz_bottom{position:absolute;background:#525252;filter:alpha(opacity=70);opacity:.7}
.fb_dialog_vert_left,
.fb_dialog_vert_right{width:10px;height:100%}
.fb_dialog_vert_left{margin-left:-10px}
.fb_dialog_vert_right{right:0;margin-right:-10px}
.fb_dialog_horiz_top,
.fb_dialog_horiz_bottom{width:100%;height:10px}
.fb_dialog_horiz_top{margin-top:-10px}
.fb_dialog_horiz_bottom{bottom:0;margin-bottom:-10px}
.fb_dialog_iframe{line-height:0}
.fb_dialog_content .dialog_title{background:#6d84b4;border:1px solid #3b5998;color:#fff;font-size:14px;font-weight:bold;margin:0}
.fb_dialog_content .dialog_title > span{background:url(http://static.ak.fbcdn.net/rsrc.php/v2/yd/r/Cou7n-nqK52.gif)
no-repeat 5px 50%;float:left;padding:5px 0 7px 26px}
body.fb_hidden{-webkit-transform:none;height:100%;margin:0;left:-10000px;overflow:visible;position:absolute;top:-10000px;width:100%
}
.fb_dialog.fb_dialog_mobile.loading{background:url(http://static.ak.fbcdn.net/rsrc.php/v2/yO/r/_j03izEX40U.gif)
white no-repeat 50% 50%;min-height:100%;min-width:100%;overflow:hidden;position:absolute;top:0;z-index:10001}
.fb_dialog.fb_dialog_mobile.loading.centered{max-height:590px;min-height:590px;max-width:500px;min-width:500px}
#fb-root #fb_dialog_ipad_overlay{background:rgba(0, 0, 0, .45);position:absolute;left:0;top:0;width:100%;min-height:100%;z-index:10000}
#fb-root #fb_dialog_ipad_overlay.hidden{display:none}
.fb_dialog.fb_dialog_mobile.loading iframe{visibility:hidden}
.fb_dialog_content .dialog_header{-webkit-box-shadow:white 0 1px 1px -1px inset;background:-webkit-gradient(linear, 0 0, 0 100%, from(#738ABA), to(#2C4987));border-bottom:1px solid;border-color:#1d4088;color:#fff;font:14px Helvetica, sans-serif;font-weight:bold;text-overflow:ellipsis;text-shadow:rgba(0, 30, 84, .296875) 0 -1px 0;vertical-align:middle;white-space:nowrap}
.fb_dialog_content .dialog_header table{-webkit-font-smoothing:subpixel-antialiased;height:43px;width:100%
}
.fb_dialog_content .dialog_header td.header_left{font-size:12px;padding-left:5px;vertical-align:middle;width:60px
}
.fb_dialog_content .dialog_header td.header_right{font-size:12px;padding-right:5px;vertical-align:middle;width:60px
}
.fb_dialog_content .touchable_button{background:-webkit-gradient(linear, 0 0, 0 100%, from(#4966A6),
color-stop(0.5, #355492), to(#2A4887));border:1px solid #29447e;-webkit-background-clip:padding-box;-webkit-border-radius:3px;-webkit-box-shadow:rgba(0, 0, 0, .117188) 0 1px 1px inset,
rgba(255, 255, 255, .167969) 0 1px 0;display:inline-block;margin-top:3px;max-width:85px;line-height:18px;padding:4px 12px;position:relative}
.fb_dialog_content .dialog_header .touchable_button input{border:none;background:none;color:#fff;font:12px Helvetica, sans-serif;font-weight:bold;margin:2px -12px;padding:2px 6px 3px 6px;text-shadow:rgba(0, 30, 84, .296875) 0 -1px 0}
.fb_dialog_content .dialog_header .header_center{color:#fff;font-size:16px;font-weight:bold;line-height:18px;text-align:center;vertical-align:middle}
.fb_dialog_content .dialog_content{background:url(http://static.ak.fbcdn.net/rsrc.php/v2/y9/r/jKEcVPZFk-2.gif) no-repeat 50% 50%;border:1px solid #555;border-bottom:0;border-top:0;height:150px}
.fb_dialog_content .dialog_footer{background:#f2f2f2;border:1px solid #555;border-top-color:#ccc;height:40px}
#fb_dialog_loader_close{float:left}
.fb_dialog.fb_dialog_mobile .fb_dialog_close_button{text-shadow:rgba(0, 30, 84, .296875) 0 -1px 0}
.fb_dialog.fb_dialog_mobile .fb_dialog_close_icon{visibility:hidden}
.fb_iframe_widget{position:relative;display:-moz-inline-block;display:inline-block}
.fb_iframe_widget iframe{position:absolute}
.fb_iframe_widget_lift{z-index:1}
.fb_iframe_widget span{position:relative;display:inline-block;vertical-align:text-bottom;text-align:justify}
.fb_hide_iframes iframe{position:relative;left:-10000px}
.fb_iframe_widget_loader{position:relative;display:inline-block}
.fb_iframe_widget_fluid{display:inline}
.fb_iframe_widget_loader iframe{min-height:32px;z-index:2;zoom:1}
.fb_iframe_widget_loader .FB_Loader{background:url(http://static.ak.fbcdn.net/rsrc.php/v2/y9/r/jKEcVPZFk-2.gif) no-repeat;height:32px;width:32px;margin-left:-16px;position:absolute;left:50%;z-index:4}
.fb_button_simple,
.fb_button_simple_rtl{background-image:url(http://static.ak.fbcdn.net/rsrc.php/v2/yH/r/eIpbnVKI9lR.png);background-repeat:no-repeat;cursor:pointer;outline:none;text-decoration:none}
.fb_button_simple_rtl{background-position:right 0}
.fb_button_simple .fb_button_text{margin:0 0 0 20px;padding-bottom:1px}
.fb_button_simple_rtl .fb_button_text{margin:0 10px 0 0}
a.fb_button_simple:hover .fb_button_text,
a.fb_button_simple_rtl:hover .fb_button_text,
.fb_button_simple:hover .fb_button_text,
.fb_button_simple_rtl:hover .fb_button_text{text-decoration:underline}
.fb_button,
.fb_button_rtl{background:#29447e url(http://static.ak.fbcdn.net/rsrc.php/v2/yL/r/FGFbc80dUKj.png);background-repeat:no-repeat;cursor:pointer;display:inline-block;padding:0 0 0 1px;text-decoration:none;outline:none}
.fb_button .fb_button_text,
.fb_button_rtl .fb_button_text{background:#5f78ab url(http://static.ak.fbcdn.net/rsrc.php/v2/yL/r/FGFbc80dUKj.png);border-top:solid 1px #879ac0;border-bottom:solid 1px #1a356e;color:#fff;display:block;font-family:"lucida grande",tahoma,verdana,arial,sans-serif;font-weight:bold;padding:2px 6px 3px 6px;margin:1px 1px 0 21px;text-shadow:none}
a.fb_button,
a.fb_button_rtl,
.fb_button,
.fb_button_rtl{text-decoration:none}
a.fb_button:active .fb_button_text,
a.fb_button_rtl:active .fb_button_text,
.fb_button:active .fb_button_text,
.fb_button_rtl:active .fb_button_text{border-bottom:solid 1px #29447e;border-top:solid 1px #45619d;background:#4f6aa3;text-shadow:none}
.fb_button_xlarge,
.fb_button_xlarge_rtl{background-position:left -60px;font-size:24px;line-height:30px}
.fb_button_xlarge .fb_button_text{padding:3px 8px 3px 12px;margin-left:38px}
a.fb_button_xlarge:active{background-position:left -99px}
.fb_button_xlarge_rtl{background-position:right -268px}
.fb_button_xlarge_rtl .fb_button_text{padding:3px 8px 3px 12px;margin-right:39px}
a.fb_button_xlarge_rtl:active{background-position:right -307px}
.fb_button_large,
.fb_button_large_rtl{background-position:left -138px;font-size:13px;line-height:16px}
.fb_button_large .fb_button_text{margin-left:24px;padding:2px 6px 4px 6px}
a.fb_button_large:active{background-position:left -163px}
.fb_button_large_rtl{background-position:right -346px}
.fb_button_large_rtl .fb_button_text{margin-right:25px}
a.fb_button_large_rtl:active{background-position:right -371px}
.fb_button_medium,
.fb_button_medium_rtl{background-position:left -188px;font-size:11px;line-height:14px}
a.fb_button_medium:active{background-position:left -210px}
.fb_button_medium_rtl{background-position:right -396px}
.fb_button_text_rtl,
.fb_button_medium_rtl .fb_button_text{padding:2px 6px 3px 6px;margin-right:22px}
a.fb_button_medium_rtl:active{background-position:right -418px}
.fb_button_small,
.fb_button_small_rtl{background-position:left -232px;font-size:10px;line-height:10px}
.fb_button_small .fb_button_text{padding:2px 6px 3px;margin-left:17px}
a.fb_button_small:active,
.fb_button_small:active{background-position:left -250px}
.fb_button_small_rtl{background-position:right -440px}
.fb_button_small_rtl .fb_button_text{padding:2px 6px;margin-right:18px}
a.fb_button_small_rtl:active{background-position:right -458px}
.fb_share_count_wrapper{position:relative;float:left}
.fb_share_count{background:#b0b9ec none repeat scroll 0 0;color:#333;font-family:"lucida grande", tahoma, verdana, arial, sans-serif;text-align:center}
.fb_share_count_inner{background:#e8ebf2;display:block}
.fb_share_count_right{margin-left:-1px;display:inline-block}
.fb_share_count_right .fb_share_count_inner{border-top:solid 1px #e8ebf2;border-bottom:solid 1px #b0b9ec;margin:1px 1px 0 1px;font-size:10px;line-height:10px;padding:2px 6px 3px;font-weight:bold}
.fb_share_count_top{display:block;letter-spacing:-1px;line-height:34px;margin-bottom:7px;font-size:22px;border:solid 1px #b0b9ec}
.fb_share_count_nub_top{border:none;display:block;position:absolute;left:7px;top:35px;margin:0;padding:0;width:6px;height:7px;background-repeat:no-repeat;background-image:url(http://static.ak.fbcdn.net/rsrc.php/v2/yU/r/bSOHtKbCGYI.png)}
.fb_share_count_nub_right{border:none;display:inline-block;padding:0;width:5px;height:10px;background-repeat:no-repeat;background-image:url(http://static.ak.fbcdn.net/rsrc.php/v2/yX/r/i_oIVTKMYsL.png);vertical-align:top;background-position:right 5px;z-index:10;left:2px;margin:0 2px 0 0;position:relative}
.fb_share_no_count{display:none}
.fb_share_size_Small .fb_share_count_right .fb_share_count_inner{font-size:10px}
.fb_share_size_Medium .fb_share_count_right .fb_share_count_inner{font-size:11px;padding:2px 6px 3px;letter-spacing:-1px;line-height:14px}
.fb_share_size_Large .fb_share_count_right .fb_share_count_inner{font-size:13px;line-height:16px;padding:2px 6px 4px;font-weight:normal;letter-spacing:-1px}
.fb_share_count_hidden .fb_share_count_nub_top,
.fb_share_count_hidden .fb_share_count_top,
.fb_share_count_hidden .fb_share_count_nub_right,
.fb_share_count_hidden .fb_share_count_right{visibility:hidden}
.fb_connect_bar_container div,
.fb_connect_bar_container span,
.fb_connect_bar_container a,
.fb_connect_bar_container img,
.fb_connect_bar_container strong{background:none;border-spacing:0;border:0;direction:ltr;font-style:normal;font-variant:normal;letter-spacing:normal;line-height:1;margin:0;overflow:visible;padding:0;text-align:left;text-decoration:none;text-indent:0;text-shadow:none;text-transform:none;visibility:visible;white-space:normal;word-spacing:normal;vertical-align:baseline}
.fb_connect_bar_container{position:fixed;left:0 !important;right:0 !important;height:42px !important;padding:0 25px !important;margin:0 !important;vertical-align:middle !important;border-bottom:1px solid #333 !important;background:#3b5998 !important;z-index:99999999 !important;overflow:hidden !important}
.fb_connect_bar_container_ie6{position:absolute;top:expression(document.compatMode=="CSS1Compat"? document.documentElement.scrollTop+"px":body.scrollTop+"px")}
.fb_connect_bar{position:relative;margin:auto;height:100%;width:100%;padding:6px 0 0 0 !important;background:none;color:#fff !important;font-family:"lucida grande", tahoma, verdana, arial, sans-serif !important;font-size:13px !important;font-style:normal !important;font-variant:normal !important;font-weight:normal !important;letter-spacing:normal !important;line-height:1 !important;text-decoration:none !important;text-indent:0 !important;text-shadow:none !important;text-transform:none !important;white-space:normal !important;word-spacing:normal !important}
.fb_connect_bar a:hover{color:#fff}
.fb_connect_bar .fb_profile img{height:30px;width:30px;vertical-align:middle;margin:0 6px 5px 0}
.fb_connect_bar div a,
.fb_connect_bar span,
.fb_connect_bar span a{color:#bac6da;font-size:11px;text-decoration:none}
.fb_connect_bar .fb_buttons{float:right;margin-top:7px}
.fb_edge_widget_with_comment{position:relative;*z-index:1000}
.fb_edge_widget_with_comment span.fb_edge_comment_widget{position:absolute}
.fb_edge_widget_with_comment span.fb_send_button_form_widget{z-index:1}
.fb_edge_widget_with_comment span.fb_send_button_form_widget .FB_Loader{left:0;top:1px;margin-top:6px;margin-left:0;background-position:50% 50%;background-color:#fff;height:150px;width:394px;border:1px #666 solid;border-bottom:2px solid #283e6c;z-index:1}
.fb_edge_widget_with_comment span.fb_send_button_form_widget.dark .FB_Loader{background-color:#000;border-bottom:2px solid #ccc}
.fb_edge_widget_with_comment span.fb_send_button_form_widget.siderender
.FB_Loader{margin-top:0}
.fbpluginrecommendationsbarleft,
.fbpluginrecommendationsbarright{position:fixed !important;bottom:0;z-index:999}
/* @noflip */
.fbpluginrecommendationsbarleft{left:10px}
/* @noflip */
.fbpluginrecommendationsbarright{right:10px}

.wrc_whole_window{ display: none; position: fixed;  z-index: 2147483647; background-color: rgba(40, 40, 40, 0.9); word-spacing: normal; margin: 0px; padding: 0px; border: 0px; left: 0px; top: 0px; width: 100%; height: 100%; line-height: normal; letter-spacing: normal;}.wrc_middle_main { font-family: Segoe UI, Arial Unicode MS, Arial, Sans-Serif; font-size: 14px; width: 600px; height: auto; margin: 0px auto; margin-top: 15%;    background: url(chrome-extension://icmlaeflemplmjndnaapfdbbnpncnbda/skin/images/background-body.jpg) repeat-x left top; background-color: rgb(39, 53, 62);}.wrc_middle_logo {    background: url(chrome-extension://icmlaeflemplmjndnaapfdbbnpncnbda/skin/images/logo.jpg) no-repeat left bottom;    width: 140px;    height: 42px;    color: orange;    display: table-cell;    text-align: right;    vertical-align: middle;}.wrc_icon_warning { margin: 20px 10px 20px 15px; float: left; background-color: transparent;}.wrc_middle_title {    color: #b6bec7; height: auto;    margin: 0px auto; font-size: 2.2em; white-space: nowrap; text-align: center;}.wrc_middle_hline {    height: 2px; width: 100%;    display: block;}.wrc_middle_description { text-align: center; margin: 15px; font-size: 1.4em; padding: 20px; height: auto; color: white; min-height: 3.5em;}.wrc_middle_actions_main_div { margin-bottom: 15px; text-align: center;}.wrc_middle_actions_blue_button { -moz-appearance: none; border-radius: 7px; -moz-border-radius: 7px/7px; border-radius: 7px/7px; background-color: rgb(0, 173, 223) !important; display: inline-block; width: auto; cursor: Pointer; border: 2px solid #00dddd;}.wrc_middle_actions_blue_button:hover { background-color: rgb(0, 159, 212) !important;}.wrc_middle_actions_blue_button:active { background-color: rgb(0, 146, 200) !important; border: 2px solid #00aaaa;}.wrc_middle_actions_blue_button div { display: inline-block; width: auto; cursor: Pointer; margin: 3px 10px 3px 10px; color: white; font-size: 1.2em; font-weight: bold;}.wrc_middle_action_low { font-size: 0.9em; white-space: nowrap; cursor: Pointer; color: grey !important; margin: 10px 10px 0px 10px; text-decoration: none;}.wrc_middle_action_low:hover { color: #aa4400 !important;}.wrc_middle_actions_rest_div { padding-top: 5px; white-space: nowrap; text-align: center;}.wrc_middle_action { white-space: nowrap; cursor: Pointer; color: red !important; font-size: 1.2em; margin: 10px 10px 0px 10px; text-decoration: none;}.wrc_middle_action:hover { color: #aa4400 !important;}

var g_inputsCnt = 0;var g_InputThis = new Array(null, null, null, null);var g_alerted = false;/* we test the input if it includes 4 digits   (input is a part of 4 inputs for filling the credit-card number)*/function is4DigitsCardNumber(val){ var regExp = new RegExp('[0-9]{4}'); return (val.length == 4 && val.search(regExp) == 0);}/* testing the whole credit-card number 19 digits devided by three '-' symbols or   exactly 16 digits without any dividers*/function isCreditCardNumber(val){ if(val.length == 19) {  var regExp = new RegExp('[0-9]{4}-[0-9]{4}-[0-9]{4}-[0-9]{4}');  return (val.search(regExp) == 0); } else if(val.length == 16) {  var regExp = new RegExp('[0-9]{4}[0-9]{4}[0-9]{4}[0-9]{4}');  return (val.search(regExp) == 0); } return false;}function CheckInputOnCreditNumber(self){ if(g_alerted)  return false; var value = self.value; if(self.type == 'text') {  if(is4DigitsCardNumber(value))  {   var cont = true;   for(i = 0; i < g_inputsCnt; i++)    if(g_InputThis[i] == self)     cont = false;   if(cont && g_inputsCnt < 4)   {    g_InputThis[g_inputsCnt] = self;    g_inputsCnt++;   }  }  g_alerted = (g_inputsCnt == 4);  if(g_alerted)   g_inputsCnt = 0;  else   g_alerted = isCreditCardNumber(value); } return g_alerted;}function CheckInputOnPassword(self){ if(g_alerted)  return false; var value = self.value; if(self.type == 'password') {  g_alerted = (value.length > 0); } return g_alerted;}function onInputBlur(self, bRatingOk, bFishingSite){ var 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 Babá
    
  

    
         
   12
   Jogos da Dora
    
  

    Mais »
  



      Jogos de Aventura
   

    
  

    
         
   124
   Jogos do Sonic
    
  

    
         
   69
   Jogos do Bob Esponja
    
  

    
         
   36
   Jogos do Naruto
    
  

    
         
   38
   Jogos do Pokémon
    
  

    Mais »
  














 $('#remote_iframe_post').submit();










111



 //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 : '34197888'
 });
 
 //set language
 elex.langs.set({
  //login
  close : 'fechar',
  network_connect_fail : 'Falha ao conectar na internet, favor tentar novamente',
  email_be_used : 'O email já foi usado, favor trocar outro email',
  username_or_password_error : 'Nome de usuário ou senha incorretos',
  play_now : 'Jogar',
  view_more : 'Mostrar mais',
  no_game_history : 'Sem histórico de jogo.',
  no_permission : 'Você não tem permissão para fazer esta operação!',
  upload_picture : 'Carregar a foto',
  captchacode_check_error:'Captcha code error, please reenter!',
  select_your_language:'Escolha a sua língua'
 });
 
 //注册登录后的事件
 elex.user.addLoginListener(function(ret){
  location.href = location.href;
 });

 //存按钮菜单对象
 //event: only is 'click' or 'over'.
 $(document).ready(function(){
    if($('#gamelist').length > 0){
   _menuArrObj.push(['#gamelist','#gamelistcont','over',['_trackEvent', 'Header', 'Games', 'menu_mouseover'],true,76]);
   $('#gamelistcont a').click(function(){
    _gaq.push(['_trackEvent', 'Header', 'Games', 'menu_div_click']); 
   })
   $('#gamelist.game').mouseover(function(){
    _gaq.push(['_trackEvent', 'Header', 'Games', 'menu_mouseover']); 
   });
   var len = _menuArrObj.length;
   for(menu = 0 ; menu < len ; menu++){
    elex.menu.comMenu(_menuArrObj[menu]);
   }
  }
    
  //当页面大小改变的时候执行的方法
  window.onresize = function(){
   if(_menuArrObj.length > 0){
    for(menu = 0 ; menu < _menuArrObj.length ; menu++){
     elex.menu.comMenu(_menuArrObj[menu]);
    }
   }
   if(_functionObj.length > 0){
    for(i = 0 ; i < _functionObj.length ; i++){
     eval(_functionObj[i]);
    }
   }
  }
 });
 
    var elx_runtime = '111';
 var elx_client_ip = '187.34.194.153';
 var elx_game_id = 'ddtank';
 var elx_game_lang = 'pt';
 var elx_user_id = '34197888';
 
 //翻译
 jQuery.ajax({
  url: 'http://t.337.com/xml/get_trans_url',
  type: 'GET',
  data: {gameid:elx_game_id,language:elx_game_lang},
        dataType:"jsonp",
  jsonp:'callback',
        timeout:10,
  success: function(data){
   if(data.url != '' && data.text != '') {
    $('#trans_link').show().find('a').attr('href', data.url + (elx_user_id ? '?sig_user=' + elx_user_id : '')).html(data.text);
   }
  },
  error: function(){}
 });
 
 //添加统计
 var _gaq = _gaq || [];
 _gaq.push(['_setAccount', 'UA-26347855-1']);
 _gaq.push(['_setDomainName', '.337.com']);
 _gaq.push(['_addIgnoredRef', '.337.com']);
 _gaq.push(['_addIgnoredRef', 'myddt.com.br']);
 _gaq.push(['_trackPageview']);
 (function() {
  var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
  ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
  var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
 })();