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 CodeZoneAD(_id) {
  /* Define Common Variables*/
  this.ID          = _id;
  this.ZoneID      = 0;

  /* Define Unique Variables*/

  /* Define Objects */
  this.AllAD       = new Array();
  this.ShowAD      = null;

  /* Define Functions */
  this.AddAD       = CodeZoneAD_AddAD;
  this.GetShowAD   = CodeZoneAD_GetShowAD;
  this.Show        = CodeZoneAD_Show;

}

function CodeZoneAD_AddAD(_AD) {
  this.AllAD[this.AllAD.length] = _AD;
}

function CodeZoneAD_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 CodeZoneAD_Show() {
  if (!this.AllAD) {
    return;
  } else {
    this.GetShowAD();
  }

  if (this.ShowAD == null) return false;
  document.write(this.ShowAD.ADIntro);
}

var ZoneAD_14 = new CodeZoneAD("ZoneAD_14");
ZoneAD_14.ZoneID      = 14;
ZoneAD_14.ZoneWidth   = 0;
ZoneAD_14.ZoneHeight  = 0;
ZoneAD_14.ShowType    = 1;

var objAD = new ObjectAD();
objAD.ADID           = 21;
objAD.ADType         = 4;
objAD.ADName         = "考试频道&nbsp;导航（小字）&nbsp;暂时不调用直接用的代码";
objAD.ImgUrl         = "";
objAD.InstallDir     = "/";
objAD.ImgWidth       = 0;
objAD.ImgHeight      = 0;
objAD.FlashWmode     = 0;
objAD.ADIntro        = "<table cellspacing=\"0\" cellpadding=\"0\" width=\"700\" align=\"center\" border=\"0\">\n\r	<tr>\n\r		<td colspan=\"7\" height=\"5\"></td>\n\r	</tr>\n\r	<tr>\n\r		<td align=\"left\" width=\"190\" height=\"22\">\n\r		<a href=\"http://www.hbdxs.com/news/\" target=\"_blank\"><b><font color=\"#ffffff\">新闻</font></b></a>\n\r		<a href=\"http://www.hbdxs.com/news/special/yibao/\" target=\"_blank\">\n\r		<font color=\"#ffffff\">医保</font></a>\n\r		<a href=\"http://www.hbdxs.com/news/special/zhuxuedaikuan/\" target=\"_blank\">\n\r		<font color=\"#ffffff\">助学贷款</font></a>\n\r		<a href=\"http://www.hbdxs.com/news/special/dangbing/\" target=\"_blank\">\n\r		<font color=\"#ffffff\">入伍</font></a>\n\r		<a href=\"http://www.hbdxs.com/news/2006/6330.html\" target=\"_blank\">\n\r		<font color=\"#ffffff\">论坛</font></a> </td>\n\r		<td align=\"left\" width=\"20\" height=\"44\" rowspan=\"2\">　</td>\n\r		<td align=\"left\" width=\"165\" height=\"22\">\n\r		<a href=\"http://www.hbdxs.com/cy\" target=\"_blank\"><b><font color=\"#ffffff\">创业</font></b></a>\n\r		<a href=\"http://www.hbdxs.com/cy/cy02/\" target=\"_blank\"><font color=\"#ffffff\">指导</font></a>\n\r		<a href=\"http://www.hbdxs.com/cy/chuangyexiangmu/\" target=\"_blank\">\n\r		<font color=\"#ffffff\">项目</font></a>\n\r		<a href=\"http://www.hbdxs.com/cy/hebeichuangyedaikuan/\" target=\"_blank\">\n\r		<font color=\"#ffffff\">贷款</font></a>\n\r		<a href=\"http://www.hbdxs.com/cy/cy06\" target=\"_blank\"><font color=\"#ffffff\">政策</font></a>\n\r		</td>\n\r		<td align=\"left\" width=\"20\" height=\"44\" rowspan=\"2\">　</td>\n\r		<td align=\"left\" width=\"195\" height=\"22\">\n\r		<a href=\"http://www.hbdxs.com/jiuye\" target=\"_blank\"><b><font color=\"#ffffff\">就业</font></b></a>\n\r		<a href=\"http://www.hbdxs.com/jiuye/zhaopinhui\" target=\"_blank\">\n\r		<font color=\"#ffffff\">招聘会</font></a>\n\r		<a href=\"http://www.hbdxs.com/jiuye/jianli/fengmian/\" target=\"_blank\">\n\r		<font color=\"#ffffff\">简历封面</font></a>\n\r		<a href=\"http://www.hbdxs.com/jiuye/jy05/\" target=\"_blank\">\n\r		<font color=\"#ffffff\">职业规划</font></a> </td>\n\r		<td align=\"left\" width=\"20\" height=\"44\" rowspan=\"2\"></td>\n\r		<td align=\"left\" width=\"130\" height=\"22\">\n\r		<a href=\"http://www.hbdxs.com/job\" target=\"_blank\"><b><font color=\"#ffffff\">人才</font></b></a>\n\r		<a href=\"http://www.hbdxs.com/job/renli.asp\" target=\"_blank\">\n\r		<font color=\"#ffffff\">求职</font></a>\n\r		<a href=\"http://www.hbdxs.com/job/zhaopin.asp\" target=\"_blank\">\n\r		<font color=\"#ffffff\">招聘</font></a>\n\r		<a href=\"http://www.hbdxs.com/jiajiao/\" target=\"_blank\"><font color=\"#ffffff\">家教</font></a>\n\r		</td>\n\r	</tr>\n\r	<tr>\n\r		<td align=\"left\" width=\"190\" height=\"22\">\n\r		<a href=\"http://www.hbdxs.com/xiaoyuan\" target=\"_blank\"><b>\n\r		<font color=\"#ffffff\">校园</font></b></a>\n\r		<a href=\"http://www.hbdxs.com/shetuan/\" target=\"_blank\"><font color=\"#ffffff\">社团</font></a>\n\r		<a href=\"http://www.hbdxs.com/sex/\" target=\"_blank\"><font color=\"#ffffff\">性教育</font></a>\n\r		<a href=\"http://www.hbdxs.com/sex/sex01/\" target=\"_blank\"><font color=\"#ffffff\">\n\r		心理</font></a> <a href=\"http://www.hbdxs.com/xiaoyuan/xy03\" target=\"_blank\">\n\r		<font color=\"#ffffff\">生活</font></a> </td>\n\r		<td align=\"left\" width=\"165\" height=\"22\">\n\r		<a href=\"http://www.hbdxs.com/cunguan\" target=\"_blank\"><b><font color=\"#ffffff\">\n\r		村官</font></b></a>\n\r		<a href=\"http://www.hbdxs.com/cunguan/zhaokao/\" target=\"_blank\">\n\r		<font color=\"#ffffff\">招考</font></a>\n\r		<a href=\"http://www.hbdxs.com/cunguan/bishi/\" target=\"_blank\">\n\r		<font color=\"#ffffff\">笔试</font></a>\n\r		<a href=\"http://www.hbdxs.com/cunguan/mianshi/\" target=\"_blank\">\n\r		<font color=\"#ffffff\">面试</font></a>\n\r		<a href=\"http://www.hbdxs.com/cunguan/gzzj/\" target=\"_blank\">\n\r		<font color=\"#ffffff\">总结</font></a> </td>\n\r		<td align=\"left\" width=\"195\" height=\"22\">\n\r		<a href=\"http://www.hbdxs.com/kaoshi\" target=\"_blank\"><b><font color=\"#ffffff\">考试</font></b></a>\n\r		<a href=\"http://www.hbdxs.com/kaoshi/gongwuyuan\" target=\"_blank\">\n\r		<font color=\"#ffffff\">公务员 </font></a>\n\r		<a href=\"http://www.hbdxs.com/kaoshi/english/cet46\" target=\"_blank\">\n\r		<font color=\"#ffffff\">四六级</font></a><a href=\"http://www.hbdxs.com/kaoshi/kaoyan\" target=\"_blank\"><font color=\"#ffffff\">考研</font></a>\n\r		<a href=\"http://www.hbdxs.com/kaoshi/shengben\" target=\"_blank\">\n\r		<font color=\"#ffffff\">专升本</font></a> </td>\n\r		<td align=\"left\" width=\"130\" height=\"22\">\n\r		<a href=\"http://www.hbdxs.com/liuxue\" target=\"_blank\"><b><font color=\"#ffffff\">留学</font></b></a>\n\r		<a href=\"http://www.hbdxs.com/px\" target=\"_blank\"><font color=\"#ffffff\">培训</font></a>\n\r		<a href=\"http://www.hbdxs.com/lunwen\" target=\"_blank\"><font color=\"#ffffff\">论文</font></a>\n\r		<a href=\"http://www.hbdxs.com/fanwen\" target=\"_blank\"><font color=\"#ffffff\">范文</font></a>\n\r		</td>\n\r	</tr>\n\r	<tr>\n\r		<td colspan=\"7\" height=\"5\"></td>\n\r	</tr>\n\r</table>";
objAD.LinkUrl        = "";
objAD.LinkTarget     = 1;
objAD.LinkAlt        = "";
objAD.Priority       = 1;
objAD.CountView      = 0;
objAD.CountClick     = 0;
objAD.ADDIR          = "AD";
ZoneAD_14.AddAD(objAD);

ZoneAD_14.Show();

