//phone number

//swt

document.writeln("")


document.writeln("

")


var int=true;


function position_center() {

var top=$(document).scrollTop();

var body_width = $(window).width();

var body_height = $(window).height();

$("#swt_center").css({

left:(body_width - 240)/2,

top:(body_height - 120)/2

})

if($.support.leadingWhitespace && ($.support.leadingWhitespace == '6.0' || $.support.leadingWhitespace == '7.0')){

$("#swt_center").css({

position:"absolute",

top:top + (body_height - 120)/2

});

}else{

$("#swt_center").css({

position:'fixed',

top:(body_height - 120)/2

})

}

/* int=setInterval(function(){

$('#swt_center').toggle(3000);

},14000)*/

$("#swt_close a").click(function(){

$("#swt_center").fadeOut(1000);

clearInterval(int);

int=setInterval(function(){

$('#swt_center').fadeIn(3000);

},10000)

})

}

position_center();


$(function(){

window.onscroll=position_center;

window.onresize=position_center;

//setTimeout('swtn3()',20000);

swtn3();

//   var starTimer=setInterval("fShow()",5000);

})


function swtn3(){document.getElementById('swt_center').style.display='block';}


document.write('');

//wenyisheng

document.writeln("

");

//QQtop


function swt2(){

 var sHTML = [

  '',

  '

'

 ].join('\r\n');

 var o = document.createElement('div');

 o.innerHTML = sHTML;

 while (o.firstElementChild) {

  document.body.appendChild(o.firstElementChild);

 };

 T = {

  hasClass: function(d, a) {

   var c = d.className.split(/\s+/);

   for (var b = 0; b < c.length; b++) {

    if (c[b] == a) {

     return true

    }

   }

   return false

  },

  addClass: function(b, a) {

   if (!this.hasClass(b, a)) {

    b.className += " " + a

   }

  },

  removeClass: function(d, a) {

   if (this.hasClass(d, a)) {

    var c = d.className.split(/\s+/);

    for (var b = 0; b < c.length; b++) {

     if (c[b] == a) {

      delete c[b]

     }

    }

    d.className = c.join(" ")

   }

  }

 };

 function Toptips(options) {

  this.init(options);

 };


 Toptips.prototype = {

  constructor: Toptips,

  init: function(options) {

   this.item = options.item;

   this.itemInner = options.item.children[0];

   this.loop = typeof options.loop == "undefined" ? true : options.loop;

   this.showTime = typeof options.showTime == "undefined" ? 7000 : options.showTime;

   this.hideTime = typeof options.hideTime == "undefined" ? 15000 : options.hideTime;

   this.showTimer = null;

   this.hideTimer = null;

   this.preTimer = null;

   this.item.style.WebkitTransition = this.item.style.transition = this.itemInner.style.WebkitTransition = this.itemInner.style.transition = "0.5s";

   var me = this;

   var initTimer = setTimeout(function() {

    me.showTip();

   }, 1000);

  },

  showTip: function() {

   var me = this;

   T.addClass(me.item, "showTip");

   T.removeClass(me.item, "hideTip");


   clearTimeout(me.hideTimer);

   me.showTimer = setTimeout(function() {

    me.hideTip();

   }, me.showTime);

  },

  hideTip: function() {

   var me = this;

   T.removeClass(me.item, "showTip");

   T.addClass(me.item, "hideTip");

   me.item.style.visibility = me.itemInner.style.visibility = "hidden";

   if (me.loop) {

    clearTimeout(me.showTimer);

    me.preTimer = setTimeout(function() {

     me.item.style.visibility = me.itemInner.style.visibility = "visible";

    }, me.hideTime - 100);

    me.hideTimer = setTimeout(function() {

     me.showTip();

    }, me.hideTime);

   }

  },


 };

 var toptip = document.getElementById("toptips");

 new Toptips({

  item: toptip,

  loop: true

 });

 return false;

 delete o;

}

swt2();



/*移除自带商务通 begin*/

function noswt()

{

if($("#LRdiv1").length>0)

{

$("#LRdiv1").remove();

}

else

{

setTimeout(noswt,100);

}

}

noswt();

/*移除自带商务通 end*/