else{
Cleardrag2()
);
$('#stat.disabledic,#stat.disabledic2').click(function () {
$('.content').show();
$('.qrcode-login').hide();
$('#stat.disabledic').hide();
clearInterval(tQr);
$('#quick').show();
$('.login-tip').show();
)
$('#quick').click(function(){
$('.content').hide();
if ($("#QRdodeImg")[0].src.indexOf('ImgCodeForApp') == -1)
$("#QRdodeImg").attr('src', '/ImgCodeForApp.aspx?scope=login_in');
NewQRInterval(2000);
$('.qrcode-login').show();
$(this).hide();
$('#stat.disabledic').show();
$('.login-tip').hide();
);
$('#RefQrbtn').click(function () {
$("#divQRcodeBg").hide();
$("#divInvalid").hide();
$("#QRdodeImg").attr('src', '/ImgCodeForApp.aspx?scope=login_in&' + Math.random());
NewQRInterval(2000);
)
if(navigator.userAgent.match(/(iPhone|iPod|Android|ios)/i)){
jQuery("#divDragCheck").hide();
jQuery("#divNumCheck").show();
jQuery('#btnOk').click(function(){return MTLogin.login();
);
else
{
jQuery("#divDragCheck").show();
jQuery("#divNumCheck").hide();
jQuery('#btnOk').click(function(){return DragOklogin();
);
jQuery('#drag').drag({ type: 1
);
jQuery('#drag2').drag({ type: 2
);
jQuery('.get-code').click(function () { return SendMobileValidLoginCode();
);
jQuery('#tab2btnlogin').click(function () { return MobileValidLogin();
);
jQuery.fn.extend({
slideFocus: function(){
var This = $(this);
var sWidth = $(This).width(),
len =$(This).find('ul li').length,
index = 0,
Timer;
var btn = "
";
$(This).append(btn);
$(This).find('.btn a').eq(0).addClass('on');
$(This).find('.btn a').mouseover(function(){
index = $(This).find('.btn a').index(this);
Tony(index);
);
for(var i=0; i < len; i++) {
btn += "
";
;
$(This).find('ul li').width(sWidth);
Timer=setInterval(function(){
index++;
if(index == len){index = 0;
Tony(index);
, 3000);
// start setInterval
$(This).find('ul').css("width",sWidth * (len));
$(This).hover(function(){
clearInterval(Timer);
,function(){
clearInterval(Timer);
Timer=setInterval(function(){
index++;
if(index == len){index = 0;
Tony(index);
, 3000);
)
function Tony(index){
var new_width = -index * sWidth;
$(This).find('ul').stop(true,false).animate({'left' : new_width
,300);
$(This).find('.btn a').stop(true,false).eq(index).addClass('on').siblings().removeClass('on');
;
// show hide
);
$('#banner').slideFocus();