function isltIE9(){return $.support.leadingWhitespace?!1:!0}function toDateTime(e){var t=new Date(parseInt(e)),o=t.getMonth()+1;10>o&&(o="0"+o);var i=t.getDate();10>i&&(i="0"+i);var n=t.getHours();10>n&&(n="0"+n);var s=t.getMinutes();10>s&&(s="0"+s);var d=t.getSeconds();return 10>d&&(d="0"+d),t.getFullYear()+"-"+o+"-"+i+" "+n+":"+s+":"+d}function toDate(e){var t=new Date(parseInt(e)),o=t.getMonth()+1;10>o&&(o="0"+o);var i=t.getDate();return 10>i&&(i="0"+i),t.getFullYear()+"-"+o+"-"+i}var Base=function(e){this.$id=$(e)};Base.prototype={setCoord:function(e){this.$id.mouseover(function(){var t=$(this).offset();$(e.div).css({left:t.left-e.x+"px",top:t.top-e.y+"px"})})},showHide:function(e,t){this.$id.hover(function(){$(e).show().hover(function(){clearTimeout(timeout)},function(){$(e).hide()})},function(){timeout=setTimeout(function(){$(e).hide()},t)})},srvOnline:function(){this.$id.click(function(){window.open("http://bbs.meizu.com/kf.php","_blank","height=575, width=1000, fullscreen=3, top=200, left=200, status=yes, toolbar=no, menubar=no, resizable=no, scrollbars=no, location=no, titlebar=no, fullscreen=no")})}};var Video=function(e){this.$id=$("#video"),this.video=e};Video.prototype={init:function(){this.addVideo(),this.showVideo()},addVideo:function(){var e='<video id="video" width="960" height="540" controls="controls" preload="none">';""!=this.video.webm&&(e+='<source type="video/webm" src="'+this.video.webm+'">'),""!=this.video.mp4&&(e+='<source type="video/mp4" src="'+this.video.mp4+'"><object width="960" height="540" type="application/x-shockwave-flash"><param name="flashvars" value="controls=true&amp;file='+this.video.mp4+'" /></object>'),e+="</video>",$(".video_div").html(e),$("#video").mediaelementplayer()},showVideo:function(){$(".video_div").show(),$(".background").show(),$("html").addClass("over_hidden"),$(".background").click(function(){$("html").removeClass("over_hidden"),$(".background").hide(),$(".video_div").html("").hide()})}},$(function(){var e=new Base(".i_weixin"),t={div:".flyme_wx",x:85,y:209,time:0};e.setCoord(t),e.showHide(t.div,t.time);var o=new Base(".foot_cn"),i={div:".foot_lang",x:0,y:215,time:300};o.setCoord(i),o.showHide(i.div,i.time);var n=new Base(".foot_btn");n.srvOnline()});