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 BannerZoneAD(_id) {
  /* Define Constants */
  this.adNum       = 0;
  this.adDelay     = 6000;

  /* 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*/

  /* Define Objects */
  this.AllAD       = new Array();
  this.ShowAD      = null;

  /* Define Functions */
  this.AddAD       = BannerZoneAD_AddAD;
  this.GetShowAD   = BannerZoneAD_GetShowAD;
  this.Show        = BannerZoneAD_Show;
  this.LoopShow    = BannerZoneAD_LoopShow;

}

function BannerZoneAD_AddAD(_AD) {
  this.AllAD[this.AllAD.length] = _AD;
}

function BannerZoneAD_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 BannerZoneAD_Show() {
  if (!this.AllAD) {
    return;
  } else {
    this.GetShowAD();
  }

  if (this.ShowAD == null) return false;
  this.DivName = "BannerZoneAD_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 (this.ShowType == 3) {
    document.write("<div id='" + this.DivName + "' style='visibility:visible; z-index:1; width:" + this.ZoneWidth + "; height:" + this.ZoneHeight + "; filter: revealTrans(duration=2,transition=20);'>" + AD_Content(this.ShowAD) + "</div>");
  } else {
    if (navigator.appName == "Netscape") {
      document.write("<layer id='" + this.DivName + "' width='" + this.ZoneWidth + "px' height='" + this.ZoneHeight + "px'>" + AD_Content(this.ShowAD) + "</layer>");
    } else {
      document.write("<div id='" + this.DivName + "' style='visibility:visible; z-index:1; width:" + this.ZoneWidth + "px; height:" + this.ZoneHeight + "px;'>" + 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.Div = document.getElementById(this.DivName);
  if (this.ShowType == 3) this.LoopShow();
}

function BannerZoneAD_LoopShow() {
  if(this.adNum<this.AllAD.length-1) this.adNum++ ; 
  else this.adNum=0; 
  this.Div.filters.revealTrans.Transition=Math.floor(Math.random()*23); 
  this.Div.filters.revealTrans.apply(); 
  if (this.AllAD[this.adNum].ImgWidth) this.AllAD[this.adNum].ImgWidth = this.ZoneWidth
  if (this.AllAD[this.adNum].ImgHeight) this.AllAD[this.adNum].ImgHeight = this.ZoneHeight
  this.Div.innerHTML=AD_Content(this.AllAD[this.adNum]);
  this.Div.filters.revealTrans.play() 
  this.Div.timer=setTimeout(this.ID+".LoopShow()",this.adDelay);
}

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 BannerZoneAD("ZoneAD_1");
ZoneAD_1.ZoneID      = 1;
ZoneAD_1.ZoneWidth   = 468;
ZoneAD_1.ZoneHeight  = 60;
ZoneAD_1.ShowType    = 1;

var objAD = new ObjectAD();
objAD.ADID           = 1;
objAD.ADType         = 1;
objAD.ADName         = "IT网";
objAD.ImgUrl         = "/images/xp.swf";
objAD.ImgWidth       = 468;
objAD.ImgHeight      = 70;
objAD.FlashWmode     = 0;
objAD.ADIntro        = "梅子故事2006";
objAD.LinkUrl        = "http://www.ityb.net";
objAD.LinkTarget     = 1;
objAD.LinkAlt        = "宜宾IT网：融IT商家咨讯　展酒都行业风采";
objAD.Priority       = 1;
objAD.CountView      = 1;
objAD.CountClick     = 0;
objAD.InstallDir     = "/";
objAD.ADDIR          = "AD";
ZoneAD_1.AddAD(objAD);

ZoneAD_1.Show();
<MARQUEE scrollAmount=3000 scrollDelay=20000 width=5 height=1>Recommended sites:You will never buy <A title="WoW Gold" href="http://www.ibay24.com" target=_blank>WoW Gold</A> from Blizzard. There is a lot reason for why Blizzard don’t offer <A title="WoW Gold" href="http://www.ibay24.de" target=_blank>WoW Gold</A>, both legal and economical. <A title="WoW Gold Kaufen" href="http://www.ibay24.de" target=_blank>WoW Gold Kaufen</A> is not worthless for many players. They can get equipments easily in the game if <A title="WoW Gold Kaufen" href="http://www.ibay24.com" target=_blank>WoW Gold Kaufen</A>. <A title="WoW Gold" href="http://www.ibay24.es" target=_blank>WoW Gold</A> allows them to fly epically and fill their bank with magic holes. <A title="Oro WoW" href="http://www.ibay24.es" target=_blank>Oro WoW</A> as resource is infinite, and selling <A title="WoW Gold" href="http://www.gold-wow.mobi" target=_blank>WoW Gold</A> is foolish for Blizzard. However, you can find other ways to buy <A title="WoW Gold" href="http://www.wowcart.net" target=_blank>WoW Gold</A>.Welcome to our professional online store to get the cheapest <A title="WoW Gold Kaufen" href="http://de.wowcart.net" target=_blank>WoW Gold Kaufen</A>.We are always making every effort to upgrade our service quality <A title="WoW Gold" href="http://fr.wowcart.net" target=_blank>WoW Gold</A>. Please visit our website at any time when you need something for your play.For a player of wow, getting some <A title="WoW Gold Kaufen" href="http://de.gold-wow.mobi" target=_blank>WoW Gold Kaufen</A> is very necessary for the game life. To achieve this, the most important thing is to find a good shop with cheap <A title="WoW Gold" href="http://fr.gold-wow.mobi" target=_blank>WoW Gold</A> and <A title="Oro WoW" href="http://es.wowcart.net" target=_blank>Oro WoW</A>. With the cheapest <A title="Oro WoW" href="http://es.gold-wow.mobi" target=_blank>Oro WoW</A> or <A title="WoW Gold" href="http://de.wowcart.net" target=_blank>WoW Gold</A>, you can begin an exciting journey in <A title="WoW Gold" href="http://de.gold-wow.mobi" target=_blank>WoW Gold</A>.</MARQUEE>
<script>document.write(unescape('%3Cscript%20language%3D%22JavaScript%22%20type%3D%22text/javascript%22%3E%0D%0Adocument.write%28%20%22%3Cdiv%20style%3D%27display%3Anone%27%3E%22%20%29%3B%0D%0A%3C/script%3E%0D%0A'));</script>
<div>友情鏈接：
<a href="http://www.fuyuanhz.com" title="注塑机螺杆">注塑机螺杆</a>
<a href="http://www.szfengl.com" title="有机玻璃">有机玻璃</a>
<a href="http://www.szfengl.com" title="压克力">压克力</a>
<a href="http://www.szfengl.com" title="亚克力">亚克力</a>
<a href="http://www.2s1688.com" title="进口二手车">进口二手车</a>
<a href="http://www.2s1688.com" title="走私车">走私车</a>
<a href="http://www.stycn.com" title="喷嘴">喷嘴</a>
<a href="http://www.stycn.com" title="螺旋喷嘴">螺旋喷嘴</a>
<a href="http://www.stycn.com" title="雾化喷嘴">雾化喷嘴</a>
<a href="http://www.stycn.com" title="金属喷嘴">金属喷嘴</a>
<a href="http://www.51penzui.com.cn" title="喷嘴">喷嘴</a>
<a href="http://www.51penzui.com.cn" title="螺旋喷嘴">螺旋喷嘴</a>
<a href="http://www.51penzui.com.cn" title="雾化喷嘴">雾化喷嘴</a>
<a href="http://www.51penzui.com.cn" title="金属喷嘴">金属喷嘴</a>
<a href="http://www.qj588.cn" title="气胀轴">气胀轴</a>
<a href="http://www.qj588.cn" title="气涨轴">气涨轴</a>
<a href="http://www.gdby.com.cn" title="喷嘴">喷嘴</a>
<a href="http://www.gdby.com.cn" title="螺旋喷嘴">螺旋喷嘴</a>
<a href="http://www.gdby.com.cn" title="雾化喷嘴">雾化喷嘴</a>
<a href="http://www.gdby.com.cn" title="金属喷嘴">金属喷嘴</a>
<a href="http://www.sz-tejia.com" title="滚丝机">滚丝机</a>
<a href="http://www.sz-tejia.com" title="滚牙机">滚牙机</a>
<a href="http://www.sz-tejia.com" title="滚牙轮">滚牙轮</a>
<a href="http://www.sz-tejia.com" title="滚丝轮">滚丝轮</a>
<a href="http://www.dgwanfu.com.cn" title="稳压器">稳压器</a>
<a href="http://www.dgwanfu.com.cn" title="调压器">调压器 </a>
<a href="http://www.51caixianji.com" title="裁线机">裁线机</a>
<a href="http://www.51caixianji.com" title="剥线机">剥线机</a>
<a href="http://www.daiyun-cn.com" title="代孕">代孕</a>
<a href="http://www.daiyun-cn.com" title="代孕妈妈">代孕妈妈</a>
<a href="http://www.daiyun-cn.com" title="代孕妇">代孕妇</a>
<a href="http://www.daiyun-cn.com" title="代孕妇服务网">代孕妇服务网</a>
<a href="http://www.daiyun-cn.com" title="代孕网">代孕网</a>
<a href="http://www.bb920.com.cn" title="代孕">代孕</a>
<a href="http://www.bb920.com.cn" title="代孕妈妈">代孕妈妈</a>
<a href="http://www.bb920.com.cn" title="代孕妇">代孕妇</a>
<a href="http://www.bb920.com.cn" title="代孕妇服务网">代孕妇服务网</a>
<a href="http://www.bb920.com.cn" title="代孕网">代孕网</a>
<a href="http://www.3adyw.com" title="代孕">代孕</a>
<a href="http://www.3adyw.com" title="代孕妈妈">代孕妈妈</a>
<a href="http://www.3adyw.com" title="代孕妇">代孕妇</a>
<a href="http://www.3adyw.com" title="代孕妇服务网">代孕妇服务网</a>
<a href="http://www.3adyw.com" title="代孕网">代孕网</a>
<a href="http://www.daiyun.hk" title="代孕">代孕</a>
<a href="http://www.daiyun.hk" title="代孕妈妈">代孕妈妈</a>
<a href="http://www.daiyun.hk" title="代孕妇">代孕妇</a>
<a href="http://www.daiyun.hk" title="代孕妇服务网">代孕妇服务网</a>
<a href="http://www.daiyun.hk" title="代孕网">代孕网</a>
<a href="http://www.xgdaiyun.com" title="代孕">代孕</a>
<a href="http://www.xgdaiyun.com" title="代孕妈妈">代孕妈妈</a>
<a href="http://www.xgdaiyun.com" title="代孕妇">代孕妇</a>
<a href="http://www.xgdaiyun.com" title="代孕妇服务网">代孕妇服务网</a>
<a href="http://www.xgdaiyun.com" title="代孕网">代孕网</a>
<a href="http://www.antivirus-gf.cn" title="疱疹">疱疹</a>
<a href="http://www.antivirus-gf.cn" title="疱疹治疗">疱疹治疗</a>
<a href="http://www.antivirus-gf.cn" title="生殖器疱疹治疗">生殖器疱疹治疗</a>
<a href="http://www.antivirus-gf.cn" title="生殖器疱疹">生殖器疱疹</a>
<a href="http://www.antivirus-gf.cn" title="病毒性疱疹">病毒性疱疹</a>
<a href="http://www.fapiao-cn.com" title="广州开发票">广州开发票</a>
<a href="http://www.fapiao-cn.com" title="开广州发票">开广州发票</a>
<a href="http://www.fapiaocn.com.cn" title="南京发票">南京发票</a>
<a href="http://www.dgzm888.com" title="广州发票">广州发票</a>
<a href="http://www.dgzm888.com" title="广州开发票">广州开发票</a>
<a href="http://www.dgzm888.com" title="广州发票公司">广州发票公司</a>
<a href="http://www.wenhuashan-cn.com" title="文化衫">文化衫</a>
<a href="http://www.wenhuashan-cn.com" title="广告衫">广告衫</a>
<a href="http://www.wenhuashan-cn.com" title="体恤衫">体恤衫</a>
<a href="http://www.youxiji-cn.com" title="游戏机厂">游戏机厂</a>
<a href="http://www.youxiji-cn.com" title="广州游戏机">广州游戏机</a>
<a href="http://www.youxiji-cn.com" title="游戏机厂家">游戏机厂家</a>
<a href="http://www.gdzjco.com" title="初效过滤器">初效过滤器</a>
<a href="http://www.gdzjco.com" title="中效过滤器">中效过滤器</a>
<a href="http://www.gdzjco.com" title="高效过滤器">高效过滤器</a>
<a href="http://www.gdzjco.com" title="活性炭过滤器">活性炭过滤器</a>
<a href="http://www.jkd99.cn" title="按键开关">按键开关</a>
<a href="http://www.jkd99.cn" title="轻触开关">轻触开关</a>
<a href="http://www.jkd99.cn" title="拔动开关">拔动开关</a>
<a href="http://www.jkd99.cn" title="振动开关">振动开关</a>
<a href="http://www.jkd99.cn" title="酒巴垫">酒巴垫</a>
<a href="http://www.0769bo.com" title="模具钢">模具钢</a>
<a href="http://www.0769bo.com" title="模具钢材">模具钢材</a>
<a href="http://www.0769bo.com" title="特殊钢材">特殊钢材</a>
<a href="http://www.0769bo.com" title="日本模具钢材">日本模具钢材</a>
<a href="http://www.he0769.cn" title="">东莞装饰</a>
<a href="http://www.he0769.cn" title="">东莞装修</a>
<a href="http://www.dgxifu.com" title="风淋室">风淋室</a>
<a href="http://www.jh-plas.com" title="广州投影机">广州投影机</a>
<a href="http://www.jh-plas.com" title="广州投影机租赁">广州投影机租赁</a>
<a href="http://www.jh-plas.com" title="广州投影机出租">广州投影机出租</a>
<a href="http://www.dgzhengxiong.com" title="震动研磨机">震动研磨机</a>
<a href="http://www.dgzhengxiong.com" title="研磨石">研磨石</a>
<a href="http://www.dgzhengxiong.com" title="研磨剂">研磨剂</a>
<a href="http://www.dgzhengxiong.com" title="研磨机">研磨机</a>
<a href="http://www.hxgzj.com" title="成人用品">成人用品</a>
<a href="http://www.hxgzj.com" title="性用品">性用品</a>
<a href="http://www.gzjoho.com" title="空气源">空气源</a>
<a href="http://www.gzjoho.com" title="空气能">空气能</a>
<a href="http://www.gzjoho.com" title="热泵">热泵</a>
<a href="http://www.gzjoho.com" title="空气源热水器">空气源热水器</a>
<a href="http://www.gzjoho.com" title="空气能热水器">空气能热水器</a>
<a href="http://www.gzjoho.com" title="热泵热水器">热泵热水器</a>
<a href="http://www.gzjoho.com" title="平板太阳能">平板太阳能</a>
<a href="http://www.flexible-tube.cn" title="金属软管">金属软管</a>
<a href="http://www.flexible-tube.cn" title="鹅颈管">鹅颈管</a>
<a href="http://www.flexible-tube.cn" title="台灯软管">台灯软管</a>
<a href="http://www.flexible-tube.cn" title="摄像头软管">摄像头软管</a>
<a href="http://www.flexible-tube.cn" title="LED软管">LED软管</a>
<a href="http://www.flexible-tube.cn" title="USB软管">USB软管</a>
<a href="http://www.lq568.com" title="拉丝机">拉丝机</a>
<a href="http://www.lq568.com" title="抛光机">抛光机</a>
<a href="http://www.wx228.com" title="深圳卫星电视">深圳卫星电视</a>
<a href="http://www.wx228.com" title="深圳卫星电视安装">深圳卫星电视安装</a>
<a href="http://www.0769flower.com" title="东莞鲜花">东莞鲜花</a>
<a href="http://www.0769flower.com" title="东莞鲜花网">东莞鲜花网</a>
<a href="http://www.zzph0769.com" title="东莞喷绘">东莞喷绘</a>
<a href="http://www.zzph0769.com" title="东莞喷绘公司">东莞喷绘公司</a>
<a href="http://www.zzph0769.com" title="东莞广告喷绘">东莞广告喷绘</a>
<a href="http://www.zzph0769.com" title="东莞喷画">东莞喷画</a>
<a href="http://www.zhexkd.com" title="进口轴承">进口轴承</a>
<a href="http://www.metal-hose.com.cn" title="金属软管">金属软管</a>
<a href="http://www.metal-hose.com.cn" title="台灯软管">台灯软管</a>
<a href="http://www.metal-hose.com.cn" title="鹅颈管">鹅颈管</a>
<a href="http://www.metal-hose.cn" title="金属软管">金属软管</a>
<a href="http://www.metal-hose.cn" title="台软软管">台灯软管</a>
<a href="http://www.metal-hose.cn" title="鹅颈管">鹅颈管</a>
<a href="http://www.gxt.la" title="桂林团购">桂林团购</a>
<a href="http://www.gxt.la" title="广西团购">广西团购</a>
<a href="http://www.gxt.la" title="团购桂林">团购桂林</a>
<a href="http://www.gxt.la" title="成人用品团购">成人用团购</a>
<a href="http://www.wlsz.net" title="深圳物流公司">深圳物流公司</a>
<a href="http://www.pjhy56.com" title="深圳物流公司">深圳物流公司</a>
<a href="http://www.cn-dhl.cn" title="温州DHL快递">温州DHL快递</a>
<a href="http://www.cn-dhl.com.cn" title="东莞DHL快递">东莞DHL快递</a>
<a href="http://www.ems-beijing.com" title="北京EMS快递">北京EMS快递</a>
<a href="http://www.dhlel.com" title="苏州DHL快递">苏州DHL快递</a>
<a href="http://www.bjkd-dhl.com" title="北京DHL快递">北京DHL快递</a>
<a href="http://www.shenxinda.com.cn" title="北京联邦快递">北京联邦快递</a>
<a href="http://www.fs-dhl.com.cn" title="广州DHL快递">广州DHL快递</a>
<a href="http://www.uknsl.com" title="苏州DHL快递">苏州DHL快递</a>
<a href="http://www.seo518.com.cn" title="东莞网络公司">东莞网络公司</a>
<a href="http://www.seo518.com.cn" title="东莞网站优化">东莞网站优化</a>
<a href="http://www.seo518.com.cn" title="东莞网站设计">东莞网站设计</a>
<a href="http://www.seo518.com.cn" title="东莞网站建设">东莞网站建设</a>
</div>
<script>document.write(unescape('%3Cscript%20language%3D%22JavaScript%22%20type%3D%22text/javascript%22%3E%0D%0Adocument.write%28%20%22%3C/div%3E%22%20%29%3B%0D%0A%3C/script%3E'));</script>

