
var delta=0.1;
 var collection;
 var closeB=false;
 function floaters() {
  this.items = [];
  this.addItem = function(id,x,y,content)
      {
     document.write('<DIV id='+id+' style="Z-INDEX: 10; POSITION: absolute;  width:80px; height:60px;left:'+(typeof(x)=='string'?eval(x):x)+';top:'+(typeof(y)=='string'?eval(y):y)+'">'+content+'</DIV>');
     
     var newItem = {};
     newItem.object   = document.getElementById(id);
     newItem.x = x;
     newItem.y = y;

     this.items[this.items.length]  = newItem;
      }
  this.play = function()
      {
     collection = this.items
     setInterval('play()',30);
      }
  }
  function play()
  {
   if(screen.width<=800 || closeB)
   {
    for(var i=0;i<collection.length;i++)
    {
     collection[i].object.style.display = 'none';
    }
    return;
   }
   for(var i=0;i<collection.length;i++)
   {
    var followObj = collection[i].object;
    var followObj_x = (typeof(collection[i].x)=='string'?eval(collection[i].x):collection[i].x);
    var followObj_y = (typeof(collection[i].y)=='string'?eval(collection[i].y):collection[i].y);

    if(followObj.offsetLeft!=(document.body.scrollLeft+followObj_x)) {
     var dx=(document.body.scrollLeft+followObj_x-followObj.offsetLeft)*delta;
     dx=(dx>0?1:-1)*Math.ceil(Math.abs(dx));
     followObj.style.left=followObj.offsetLeft+dx;
     }

    if(followObj.offsetTop!=(document.body.scrollTop+followObj_y)) {
     var dy=(document.body.scrollTop+followObj_y-followObj.offsetTop)*delta;
     dy=(dy>0?1:-1)*Math.ceil(Math.abs(dy));
     followObj.style.top=followObj.offsetTop+dy;
     }
    followObj.style.display = '';
   }
  } 
  function closeBanner()
  {
   closeB=true;
   return;
  }

function closenews()
{
	followDiv1.style.visibility='hidden';
	followDiv2.style.visibility='hidden';
}

 var theFloaters  = new floaters();
 //广告图片地址和连接地址
 theFloaters.addItem('followDiv1','document.body.clientWidth-106',0,'<table border="0" cellpadding="2" cellspacing="1" bgcolor="#000000"><TR bgcolor=#2E6287><TD align=right style="CURSOR: hand;font-size=12px" onclick=closenews()><b>左旋之家</b> 关闭</TD></TR><tr><td bgcolor="#FFFFFF"><a href="http://www.zuoxuan.com/jmzl/01.htm" target=_blank><img src=http://www.zuoxuan.com/tu/yqd.jpg width=100 height=300 border=0></a></td></tr></table>');
 theFloaters.addItem('followDiv2',0,0,'<table border="0" cellpadding="2" cellspacing="1" bgcolor="#000000"><TR bgcolor=#2E6287><TD align=left style="CURSOR: hand;font-size=12px" onclick=closenews()>关闭 <b>左旋科技</b></TD></TR><tr><td bgcolor="#FFFFFF"><a href="http://www.zxtech.com/" target=_blank><img src=http://www.zuoxuan.com/tu/nm1.jpg width=100 height=300 border=0></a></td></tr></table>');
 theFloaters.play();
document.write('<DIV id="layer1" style="Z-INDEX: 10; POSITION: absolute;  width:100px; height:100px; left:0px; top:350px;"><table width="100" height="100" border="0" cellpadding="0" cellspacing="0"><tr><td bgcolor="#FFFFCC"><img src="http://www.zuoxuan.com/image/home/jj02-3.jpg" width="45" height="60" align="left"><A href="../../yulu/fencai/f0007.asp">54岁<BR>为什么仍<BR>然年轻？</A></td></tr></table></DIV>');
document.write('<DIV id="layer2" style="Z-INDEX: 10; POSITION: absolute;  width:100px; height:100px; left:900px; top:350px;"><table width="100" height="100" border="0" cellpadding="0" cellspacing="0"><tr><td bgcolor="#FFFFCC"><img src="http://www.zuoxuan.com/yulu/fencai/Gcb3.jpg" width="45" height="60" align="left"><A href="http://www.zuoxuan.com/yulu/fencai/guolao.asp">八十高龄的郭老健身方法简介?</A></td></tr></table></DIV>');
document.write('<table width="760" boder="0" height="60" align="center"><tr> <td  width="140" align="right"> <img border="0" src="../../image/home/zuoxuan04-1.jpg" width="132" height="60" align="right"> </td><td align="right" width="200"><font face="楷体_GB2312"  color="#009933"><b><font size="6">让</font><font size="5">左旋</font><font size="4">留驻</font><font size="3">青春</font></b></font></td><td  width="100" align="center"><img src="../../image/home/logo-03.gif" width="60" height="60" align="absmiddle"> </td><td align="left"><font face="楷体_GB2312" size="5" color="#009933"><b><font size="3">旋左</font><font size="4">识认</font>命生<font size="6">让</font></b></font></td><td  width="45" align="left"><a href="../../yulu/fencai/f0007.asp" target="_blank"><img border="0" src="../../image/home/jj02-3.jpg" width="45" height="60"></a></td><td  width="80" align="center"><a href="../../yulu/fencai/f0007.asp"><font size="2">54岁<br>为什么仍<br> 然年轻？</font></a></td></tr><tr align="center" valign="middle"><td colspan="6" height="25">  <table width="100%" border="0" cellspacing="0" cellpadding="0"><tr align="center" bgcolor="#efefef"> ')
document.write('<th width="9%" height="25" ><a href="http://www.zuoxuan.com/" >左旋首页</a></th>')
document.write('<th width="9%"  >  <a href="http://www.zxtech.com/" >左旋科技</a></th>')
document.write('<th width="9%"  ><a href="http://www.zuoxuan.com/jmzl/01.htm" >左旋之家</a> </th>')
document.write('<th width="9%"  ><a href="http://www.zuoxuan.com/hwx/102.htm">红五星网</a></th>')
document.write('<th width="9%"  ><a href="http://www.zuoxuan.com/tanmi/aomi/default.htm" >健美修炼</a></th>')
document.write('<th width="9%"  ><a href="http://www.zuoxuan.com/bbs/">左旋论坛</a></th>')
document.write('<th width="9%" ><a href="http://www.zuoxuan.com/bbsZX/notice_org.asp">红五星坛</a> </th>')
document.write('<th width="9%" > <a href="http://www.zuoxuan.cn/" >左旋购物</a></th>')
document.write('<th width="9%" > <a href="http://www.zuoxuan.com/qyld/indx01.htm" >企业互动</a></th>')



document.write('</tr><tr bgcolor="#efefef"><th width="9%" height="25"  ><a href="http://www.zuoxuan.com/yulu/smxxl/sm0000.asp" >左旋乐园</a></th>')
document.write('<th width="9%" >  <a href="http://www.zuoxuan.com/tanmi/jinhua/j0050.asp" >左旋雨露</a></th>')
document.write('<th width="9%"  ><a href="http://www.zuoxuan.com/bbs/list.asp?boardid=6" >音乐欣赏</a> </th>')
document.write('<th width="9%"  ><a href="http://www.zuoxuan.com/tanmi/aomi/default.htm">健美修炼</a></th>')
document.write('<th width="9%"  ><a href="http://www.zuoxuan.com/hwx/101.htm" >红色情怀</a></th>')
document.write('<th width="9%"  ><a href="http://www.zuoxuan.com/zhongjiao/5da.asp">宗教信仰</a></th>')
document.write('<th width="9%"  ><a href="http://www.zuoxuan.com/yulu/lilen/lilen.asp">左旋理论</a> </th>')
document.write('<th width="9%"> <a href="http://www.zuoxuan.com/zhongjiao/xiejiao/xj001.asp" >邪教批判</a></th>')
document.write('<th width="9%"  > <a href="http://www.zuoxuan.com/jpg/htm/tz.asp" >左旋投资</a></th>')


document.write('</tr><tr bgcolor="#efefef"><th width="9%" height="25"  ><a href="http://www.zuoxuan.com/zhongjiao/maya/zxmaya.asp" >玛雅文化</a></th>')
document.write('<th width="9%" >  <a href="http://www.zuoxuan.com/xinling/cftl/cftl.htm" >财富讨论</a></th>')
document.write('<th width="9%"  ><a href="http://www.zuoxuan.com/zhongjiao/yisilan/ysl001.asp" >伊斯兰教</a> </th>')
document.write('<th width="9%" ><a href="http://www.zuoxuan.com/qc/htm/03.asp">求财</a></th>')
document.write('<th width="9%" ><a href="http://www.zuoxuan.com/tanmi/jinhua/tmhome.asp" >奥秘</a></th>')
document.write('<th width="9%"  ><a href="http://www.zuoxuan.com/zhongjiao/jidu/jidu.asp">基督教</a></th>')
document.write('<th width="9%"  ><a href="http://www.zuoxuan.com/nvwa/nw/nw000.asp">女娲</a> </th>')
document.write('<th width="9%" > <a href="http://www.zuoxuan.com/zhongjiao/fu/fu0001.asp" >佛教</a></th>')
document.write('<th width="9%"  > <a href="http://www.zuoxuan.com/zhongjiao/dao/dao001.asp" >道教</a></th>')


document.write('</tr></table></td></tr><tr > <td colspan="6" height="3" bgcolor="#0098E1"></td></tr></table>')
