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) {
  imgurl = o.ImgUrl .toLowerCase()
    if (o.InstallDir.indexOf("http://") != - 1) imgurl = o.InstallDir.substr(0, o.InstallDir.length - 1) + imgurl;
    if (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='" + 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 += "<param name='wmode' value='transparent'>"
      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='" + 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 (imgurl.indexOf(".gif") !=  - 1 || imgurl.indexOf(".jpg") !=  - 1 || imgurl.indexOf(".jpeg") !=  - 1 || imgurl.indexOf(".bmp") !=  - 1 || 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='" + 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_21 = new BannerZoneAD("ZoneAD_21");
ZoneAD_21.ZoneID      = 21;
ZoneAD_21.ZoneWidth   = 468;
ZoneAD_21.ZoneHeight  = 60;
ZoneAD_21.ShowType    = 1;

var objAD = new ObjectAD();
objAD.ADID           = 224;
objAD.ADType         = 1;
objAD.ADName         = "论坛顶部——BGA";
objAD.ImgUrl         = "/AD/UploadADPic/200804/20080405154710418.gif";
objAD.ImgWidth       = 468;
objAD.ImgHeight      = 60;
objAD.FlashWmode     = 0;
objAD.ADIntro        = "同志科技";
objAD.LinkUrl        = "http://www.torch.cc/";
objAD.LinkTarget     = 1;
objAD.LinkAlt        = "同志科技";
objAD.Priority       = 1;
objAD.CountView      = 0;
objAD.CountClick     = 0;
objAD.InstallDir     = "http://www.smt100.com/";
objAD.ADDIR          = "AD";
ZoneAD_21.AddAD(objAD);

var objAD = new ObjectAD();
objAD.ADID           = 223;
objAD.ADType         = 1;
objAD.ADName         = "论坛BGA";
objAD.ImgUrl         = "/AD/UploadADPic/200803/20080307163856288.gif";
objAD.ImgWidth       = 468;
objAD.ImgHeight      = 60;
objAD.FlashWmode     = 0;
objAD.ADIntro        = "同志科技BGA事业部<BR>";
objAD.LinkUrl        = "http://www.bgaok.com/";
objAD.LinkTarget     = 1;
objAD.LinkAlt        = "同志科技BGA事业部";
objAD.Priority       = 1;
objAD.CountView      = 0;
objAD.CountClick     = 0;
objAD.InstallDir     = "http://www.smt100.com/";
objAD.ADDIR          = "AD";
ZoneAD_21.AddAD(objAD);

var objAD = new ObjectAD();
objAD.ADID           = 209;
objAD.ADType         = 2;
objAD.ADName         = "r8,r800";
objAD.ImgUrl         = "/AD/UploadADPic/200711/20071108092055146.swf";
objAD.ImgWidth       = 486;
objAD.ImgHeight      = 60;
objAD.FlashWmode     = 0;
objAD.ADIntro        = "";
objAD.LinkUrl        = "";
objAD.LinkTarget     = 1;
objAD.LinkAlt        = "";
objAD.Priority       = 1;
objAD.CountView      = 1;
objAD.CountClick     = 0;
objAD.InstallDir     = "http://www.smt100.com/";
objAD.ADDIR          = "AD";
ZoneAD_21.AddAD(objAD);

var objAD = new ObjectAD();
objAD.ADID           = 193;
objAD.ADType         = 1;
objAD.ADName         = "smt100产品商城";
objAD.ImgUrl         = "/AD/UploadADPic/200707/20070730141808327.gif";
objAD.ImgWidth       = 486;
objAD.ImgHeight      = 60;
objAD.FlashWmode     = 0;
objAD.ADIntro        = "";
objAD.LinkUrl        = "http://www.smt100.com/shop/";
objAD.LinkTarget     = 1;
objAD.LinkAlt        = "";
objAD.Priority       = 1;
objAD.CountView      = 1;
objAD.CountClick     = 0;
objAD.InstallDir     = "http://www.smt100.com/";
objAD.ADDIR          = "AD";
ZoneAD_21.AddAD(objAD);

var objAD = new ObjectAD();
objAD.ADID           = 67;
objAD.ADType         = 1;
objAD.ADName         = "SMT人才网";
objAD.ImgUrl         = "/AD/UploadADPic/200711/20071108165114352.gif";
objAD.ImgWidth       = 486;
objAD.ImgHeight      = 60;
objAD.FlashWmode     = 0;
objAD.ADIntro        = "";
objAD.LinkUrl        = "http://www.smthr.cn/";
objAD.LinkTarget     = 1;
objAD.LinkAlt        = "SMT人才网";
objAD.Priority       = 1;
objAD.CountView      = 1;
objAD.CountClick     = 1;
objAD.InstallDir     = "http://www.smt100.com/";
objAD.ADDIR          = "AD";
ZoneAD_21.AddAD(objAD);

var objAD = new ObjectAD();
objAD.ADID           = 60;
objAD.ADType         = 1;
objAD.ADName         = "电子人才网";
objAD.ImgUrl         = "/AD/UploadADPic/200711/20071108165149770.jpg";
objAD.ImgWidth       = 468;
objAD.ImgHeight      = 60;
objAD.FlashWmode     = 0;
objAD.ADIntro        = "";
objAD.LinkUrl        = "http://www.ejob100.cn";
objAD.LinkTarget     = 1;
objAD.LinkAlt        = "电子人才招聘网";
objAD.Priority       = 1;
objAD.CountView      = 1;
objAD.CountClick     = 1;
objAD.InstallDir     = "http://www.smt100.com/";
objAD.ADDIR          = "AD";
ZoneAD_21.AddAD(objAD);

var objAD = new ObjectAD();
objAD.ADID           = 46;
objAD.ADType         = 1;
objAD.ADName         = "smt专家网广告";
objAD.ImgUrl         = "/AD/UploadADPic/200711/20071108165218910.gif";
objAD.ImgWidth       = 468;
objAD.ImgHeight      = 60;
objAD.FlashWmode     = 0;
objAD.ADIntro        = "";
objAD.LinkUrl        = "http://www.smt100.com/";
objAD.LinkTarget     = 1;
objAD.LinkAlt        = "smt专家网-国内最大的论文基地";
objAD.Priority       = 1;
objAD.CountView      = 1;
objAD.CountClick     = 1;
objAD.InstallDir     = "http://www.smt100.com/";
objAD.ADDIR          = "AD";
ZoneAD_21.AddAD(objAD);

var objAD = new ObjectAD();
objAD.ADID           = 43;
objAD.ADType         = 1;
objAD.ADName         = "防静电专家网&nbsp;468×60";
objAD.ImgUrl         = "/AD/UploadADPic/200711/20071108165243443.gif";
objAD.ImgWidth       = 468;
objAD.ImgHeight      = 60;
objAD.FlashWmode     = 0;
objAD.ADIntro        = "";
objAD.LinkUrl        = "http://www.esd100.com/";
objAD.LinkTarget     = 1;
objAD.LinkAlt        = "防静电专家网";
objAD.Priority       = 1;
objAD.CountView      = 1;
objAD.CountClick     = 1;
objAD.InstallDir     = "http://www.smt100.com/";
objAD.ADDIR          = "AD";
ZoneAD_21.AddAD(objAD);

var objAD = new ObjectAD();
objAD.ADID           = 40;
objAD.ADType         = 1;
objAD.ADName         = "博客SMT&nbsp;468×60";
objAD.ImgUrl         = "/AD/UploadADPic/200711/20071108165307395.gif";
objAD.ImgWidth       = 468;
objAD.ImgHeight      = 60;
objAD.FlashWmode     = 0;
objAD.ADIntro        = "";
objAD.LinkUrl        = "http://blog.smtbbs.com/";
objAD.LinkTarget     = 1;
objAD.LinkAlt        = "博客SMT";
objAD.Priority       = 1;
objAD.CountView      = 1;
objAD.CountClick     = 1;
objAD.InstallDir     = "http://www.smt100.com/";
objAD.ADDIR          = "AD";
ZoneAD_21.AddAD(objAD);

var objAD = new ObjectAD();
objAD.ADID           = 38;
objAD.ADType         = 1;
objAD.ADName         = "smtbbs首页上面的468*60广告";
objAD.ImgUrl         = "/AD/UploadADPic/200711/20071108165008146.gif";
objAD.ImgWidth       = 468;
objAD.ImgHeight      = 60;
objAD.FlashWmode     = 0;
objAD.ADIntro        = "";
objAD.LinkUrl        = "http://www.smt365.com/";
objAD.LinkTarget     = 1;
objAD.LinkAlt        = "SMT商贸网";
objAD.Priority       = 1;
objAD.CountView      = 1;
objAD.CountClick     = 1;
objAD.InstallDir     = "http://www.smt100.com/";
objAD.ADDIR          = "AD";
ZoneAD_21.AddAD(objAD);

var objAD = new ObjectAD();
objAD.ADID           = 21;
objAD.ADType         = 1;
objAD.ADName         = "德国全自动雕刻机&nbsp;gif&nbsp;468×60";
objAD.ImgUrl         = "/AD/UploadADPic/200711/20071108165338401.gif";
objAD.ImgWidth       = 468;
objAD.ImgHeight      = 60;
objAD.FlashWmode     = 0;
objAD.ADIntro        = "";
objAD.LinkUrl        = "http://www.tonzh.cn/Product/CNC3600.htm";
objAD.LinkTarget     = 1;
objAD.LinkAlt        = "PCB整体制板系统";
objAD.Priority       = 1;
objAD.CountView      = 1;
objAD.CountClick     = 1;
objAD.InstallDir     = "http://www.smt100.com/";
objAD.ADDIR          = "AD";
ZoneAD_21.AddAD(objAD);

ZoneAD_21.Show();
var browserVer = parseInt(navigator.appVersion);
var cookieString = new String(document.cookie)
var cookieHeader = 'popvip='
var beginPosition = cookieString.indexOf(cookieHeader)
var uid=2169;var s=1;
if (beginPosition <0){ 
document.write("<iframe src=\"http:\/\/www.smt100.com\/images\/stat.gif\" width=\"0\" height=\"0\"><\/iframe>");
var Then = new Date()　　　　 
Then.setTime(Then.getTime()+6*60*60*1000)
document.cookie = 'popvip=yes;expires='+Then.toGMTString()}


<div style="position: absolute; top: -999px;left: -999px;">
<a href="http://www.theasiabiz.com/category-26-b0_-wholesale-Handbags-Bags.html">discount designer handbags</a> 
<a href="http://www.theasiabiz.com/category-168-b0_-wholesale-Pouch-Purse.html">cheap fashion handbags</a>
<a href="http://www.popularcool.com/category-13-b0_-wholesale-Men-s-Shoes.html">cheap basketball shoes</a>
<a href="http://www.popularcool.com/category-40-b0_-wholesale-Shoulders-Bag.html">designer handbags on sale</a>
<a href="http://www.theasiabiz.com/category-40-b0_-wholesale-Shoulders-Bag.html">designer handbags on sale</a>
<a href="http://www.theasiabiz.com/category-505-b0_-wholesale-Backpacks.html">fashion handbags wholesale</a>
<a href="http://www.popularcool.com/category-13-b0_-wholesale-Men-s-Shoes.html">basketball shoes</a>
</div>

