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_115 = new CodeZoneAD("ZoneAD_115");
ZoneAD_115.ZoneID      = 115;
ZoneAD_115.ZoneWidth   = 0;
ZoneAD_115.ZoneHeight  = 0;
ZoneAD_115.ShowType    = 1;

var objAD = new ObjectAD();
objAD.ADID           = 175;
objAD.ADType         = 4;
objAD.ADName         = "GZ网站导航";
objAD.ImgUrl         = "";
objAD.InstallDir     = "http://www.gz-travel.net/";
objAD.ImgWidth       = 0;
objAD.ImgHeight      = 0;
objAD.FlashWmode     = 0;
objAD.ADIntro        = "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n\r<html>\n\r<head>\n\r<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\" />\n\r<style>\n\rbody,td,th {\n\r	font-family:\"宋体\";\n\r	font-size: 13px;\n\r	color: #333333;\n\r}\n\ra.daohang {\n\r	color: #ffffff;\n\r	text-decoration: none;\n\r}\n\ra.daohang:hover {\n\r	color: #FBFC9C;\n\r	text-decoration: none;\n\r}\n\ra.daohang:active{\n\r	color: #000CFF;\n\r	text-decoration: none;\n\r}\n\ra.daohang:visited{\n\r	color: #FBFC9C;\n\r	text-decoration: none;\n\r}\n\r#menu{\n\r	height:32px;\n\r	margin:0px; background-image:url(img/navbg.gif);\n\r}\n\r#menu ul{\n\r	margin:0px; width:840px; height:32px;\n\r	list-style-type:none; padding:0px; margin-top:0px; margin-bottom:0px;\n\r}\n\r.m_li{\n\r	float:left; width:85px; line-height:32px;  text-align:center; margin-right:-2px; margin-left:-2px;\n\r}\n\r.m_li a{\n\r	display:block; color:#FBFC9C; width:85px;\n\r}\n\r.m_line{\n\r	float:left; width:1px; height:32px;\n\r	line-height:32px;   /*ff下有效(图片垂直居中)*/\n\r}\n\r.m_line img{\n\r	margin-top:expression(( 32 - this.height ) / 2);   /*ie下有效(图片垂直居中)*/\n\r}\n\r.m_li_a{\n\r	float:left; width:85px; line-height:30px; text-align:center; padding-top:0px;\n\r	background:#263C46; position:relative; height:32px; margin-top:0px; margin-right:0px; margin-left:0px;\n\r	\n\r}\n\r.m_li_a a{\n\r	display:block; color:#FBFC9C; width:85px;\n\r}\n\r.smenu{\n\r	width:840px; margin:0px; padding:0px; list-style-type:none; height:32px;\n\r}\n\r.s_li{\n\r	line-height:26px; width:auto; display:none; height:26px; \n\r}\n\r.s_li_a{\n\r	line-height:26px; width:auto; display:block; height:26px; \n\r}\n\r#menav {\n\r	clear: both;\n\r	height: 56px;\n\r	width: 840px;\n\r	overflow: hidden;\n\r	margin-top:0px;\n\r	margin-bottom:0px;\n\r	padding-left:0px;\n\r	padding-right:0px;\n\r	float:left;\n\r}\n\r#navlist{\n\r	height:26px;\n\r	background-image:url(img/navlistbg.gif);\n\r	color:#95A2AB;\n\r	float:left;\n\r}\n\r#navlist a{color: #95A2AB;text-decoration: none;}\n\r#navlist a:hover {color: #FFF;text-decoration: none;}\n\r</style>\n\r<script>\n\r//初始化\n\rvar def=\"1\";\n\rfunction mover(object){\n\r  //主菜单\n\r  var mm=document.getElementById(\"m_\"+object);\n\r  mm.className=\"m_li_a\";\n\r  //初始主菜单隐藏效果\n\r  if(def!=0){\n\r    var mdef=document.getElementById(\"m_\"+def);\n\r    mdef.className=\"m_li\";\n\r  }\n\r  //子菜单\n\r  var ss=document.getElementById(\"s_\"+object);\n\r  ss.style.display=\"block\";\n\r  //初始子菜单隐藏效果\n\r  if(def!=0){\n\r    var sdef=document.getElementById(\"s_\"+def);\n\r    sdef.style.display=\"none\";\n\r  }\n\r}\n\r\n\rfunction mout(object){\n\r  //主菜单\n\r  var mm=document.getElementById(\"m_\"+object);\n\r  mm.className=\"m_li\";\n\r  //初始主菜单\n\r  if(def!=0){\n\r    var mdef=document.getElementById(\"m_\"+def);\n\r    mdef.className=\"m_li_a\";\n\r  }\n\r  //子菜单\n\r  var ss=document.getElementById(\"s_\"+object);\n\r  ss.style.display=\"none\";\n\r  //初始子菜单\n\r  if(def!=0){\n\r    var sdef=document.getElementById(\"s_\"+def);\n\r    sdef.style.display=\"block\";\n\r  }\n\r}\n\r</script>\n\r</head>\n\r<body>\n\r<div id=\"menav\">\n\r  <div id=\"menu\">\n\r    <ul>\n\r      <li class=\"m_line\"></li>\n\r      <li id=\"m_1\" class=\'m_li_a\'><a class=\"daohang\" href=\"http://www.gz-travel.net/index.asp\">网站首页</a></li>\n\r      <li class=\"m_line\"></li>\n\r      <li id=\"m_2\" class=\'m_li\' onmouseover=\'mover(2);\' onmouseout=\'mout(2);\'><a class=\"daohang\" href=\"http://www.gz-travel.net/zwgk\">行业资讯</a></li>\n\r      <li class=\"m_line\"></li>\n\r      <li id=\"m_3\" class=\'m_li\' onmouseover=\'mover(3);\' onmouseout=\'mout(3);\'><a class=\"daohang\" href=\"http://www.gz-travel.net/lysx\">旅游时讯</a></li>\n\r      <li class=\"m_line\"></li>\n\r      <li id=\"m_4\" class=\'m_li\' onmouseover=\'mover(4);\' onmouseout=\'mout(4);\'><a class=\"daohang\" href=\"http://www.gz-travel.net/wzgz\">玩转贵州</a></li>\n\r      <li class=\"m_line\"></li>\n\r      <li id=\"m_5\" class=\'m_li\' onmouseover=\'mover(5);\' onmouseout=\'mout(5);\'><a class=\"daohang\" href=\"http://www.gz-travel.net/rwgz\">人文贵州</a></li>\n\r      <li class=\"m_line\"></li>\n\r      <li id=\"m_6\" class=\'m_li\' onmouseover=\'mover(6);\' onmouseout=\'mout(6);\'><a class=\"daohang\" href=\"http://www.gz-travel.net/gzdc\">多彩贵州</a></li>\n\r      <li class=\"m_line\"></li>\n\r      <li id=\"m_7\" class=\'m_li\' onmouseover=\'mover(7);\' onmouseout=\'mout(7);\'><a class=\"daohang\" href=\"http://www.gz-travel.net/Shop\">旅游预订</a></li>\n\r      <li class=\"m_line\"></li>\n\r      <li id=\"m_8\" class=\'m_li\' onmouseover=\'mover(8);\' onmouseout=\'mout(8);\'><a class=\"daohang\" href=\"#\">互动地带</a></li>\n\r      <li class=\"m_line\"></li>\n\r      <li id=\"m_9\" class=\'m_li\' onmouseover=\'mover(9);\' onmouseout=\'mout(9);\'><a class=\"daohang\" href=\"http://www.gz-travel.net/msyl\">美食娱乐</a></li>\n\r      <li class=\"m_line\"></li>\n\r      <li id=\"m_10\" class=\'m_li\' onmouseover=\'mover(10);\' onmouseout=\'mout(10);\'><a class=\"daohang\" href=\"http://shop59030547.taobao.com/\" target=\"_blank\">旅游商城</a></li>\n\r      <li class=\"m_line\"></li>\n\r    </ul>\n\r  </div>\n\r  <div id=\"navlist\">\n\r    <ul class=\"smenu\">\n\r      <li class=\'s_li_a\' id=\"s_1\" style=\"padding-left:16px;\"><a href=\"http://www.gz-travel.net/gytravel.html\">贵阳市</a>  |  <a href=\"http://www.gz-travel.net/qdntravel.html\">黔东南</a>  |  <a href=\"http://www.gz-travel.net/qxntravel.html\">黔西南</a> |  <a href=\"http://www.gz-travel.net/qntravel.html\">黔南</a>  |  <a href=\"http://www.gz-travel.net/astravel.html\">安顺</a>  |  <a href=\"http://www.gz-travel.net/lpstravel.html\">六盘水</a>  |  <a href=\"http://www.gz-travel.net/bjtravel.html\">毕节</a>  |  <a href=\"http://www.gz-travel.net/zytravel.html\">遵义</a>  |  <a href=\"http://www.gz-travel.net/trtravel.html\">铜仁</a>  |  <a href=\"http://www.gzphotos.com/\" target=\"_blank\">图库</a>  |  <a href=\"http://wiki.gz-travel.net\" target=\"_blank\">百科</a>  |  <a href=\"http://www.gz-travel.net/pages/qianjing.html\" target=\"_blank\">电子杂志</a>  | <a href=\"http://www.gz-travel.net/xzxh/\" target=\"_blank\">写作学会</a> | <a href=\"http://bbs.gz-travel.net\" target=\"_blank\">论坛</a> | <a href=\"http://www.gz-travel.net/GuestBook/\">留 言</a></li>\n\r      <li style=\"padding-left:20px;\" id=\"s_2\" class=\'s_li\' onmouseover=\'mover(2);\' onmouseout=\'mout(2);\'><a href=\"http://www.gz-travel.net/zwgk/List_166.html\">政务公开</a>  |  <a href=\"http://www.gz-travel.net/zwgk/List_167.html\">法规标准</a>  |  <a href=\"http://www.gz-travel.net/zwgk/List_168.html\">旅游招商</a>  |  <a href=\"http://www.gz-travel.net/zwgk/List_169.html\">旅游机构</a>  |  <a href=\"http://www.gz-travel.net/zwgk/List_170.html\">文献资料</a>  |  <a href=\"http://www.gz-travel.net/zwgk/List_171.html\">行业动态</a></li>\n\r      <li style=\"padding-left:102px;\" id=\"s_3\" class=\'s_li\' onmouseover=\'mover(3);\' onmouseout=\'mout(3);\'><a href=\"http://www.gz-travel.net/lysx/List_173.html\">国内新闻</a>  |  <a href=\"http://www.gz-travel.net/lysx/List_174.html\">省内新闻</a>  |  <a href=\"http://www.gz-travel.net/lysx/List_175.html\">贵阳市</a>  |  <a href=\"http://www.gz-travel.net/lysx/List_176.html\">黔东南</a>  |  <a href=\"http://www.gz-travel.net/lysx/List_177.html\">黔南</a>  |  <a href=\"http://www.gz-travel.net/lysx/List_178.html\">黔西南</a>  |  <a href=\"http://www.gz-travel.net/lysx/List_179.html\">安顺</a>  |  <a href=\"http://www.gz-travel.net/lysx/List_180.html\">六盘水</a>  |  <a href=\"http://www.gz-travel.net/lysx/List_181.html\">毕节</a>  |  <a href=\"http://www.gz-travel.net/lysx/List_182.html\">遵义</a>  |  <a href=\"http://www.gz-travel.net/lysx/List_183.html\">铜仁</a></li>\n\r      <li style=\"padding-left:184px;\" id=\"s_4\" class=\'s_li\' onmouseover=\'mover(4);\' onmouseout=\'mout(4);\'><a href=\"http://www.gz-travel.net/wzgz/List_184.html\">历史遗迹</a>  |  <a href=\"http://www.gz-travel.net/wzgz/List_185.html\">民族村寨</a>  |  <a href=\"http://www.gz-travel.net/wzgz/List_186.html\">风景名胜</a>  |  <a href=\"http://www.gz-travel.net/wzgz/List_187.html\">主题活动</a>  |  <a href=\"http://www.gz-travel.net/wzgz/List_188.html\">旅游攻略</a></li>\n\r      <li style=\"padding-left:267px;\" id=\"s_5\" class=\'s_li\' onmouseover=\'mover(5);\' onmouseout=\'mout(5);\'><a href=\"http://www.gz-travel.net/rwgz/List_189.html\">民俗文化</a>  |  <a href=\"http://www.gz-travel.net/rwgz/List_190.html\">非常人物</a>  |  <a href=\"http://www.gz-travel.net/minjiangongyi/\">黔中瑰宝</a>  |  <a href=\"http://www.gz-travel.net/rwgz/List_191.html\">非物质文化遗产</a></li>\n\r      <li style=\"padding-left:350px;\" id=\"s_6\" class=\'s_li\' onmouseover=\'mover(6);\' onmouseout=\'mout(6);\'><a href=\"http://www.gz-travel.net/gzdc/List_193.html\">旅游视频</a>  |  <a href=\"http://www.gz-travel.net/gzdc/List_194.html\">黔中音韵</a>  |  <a href=\"http://www.gz-travel.net/photo/\">涉摄天下</a>  |  <a href=\"http://www.gz-travel.net/gzdc/List_415.html\">高清黔图</a>  |  <a href=\"http://www.gz-travel.net/gzdc/List_196.html\">人在旅途</a>  |  <a href=\"http://www.gz-travel.net/pages/qianjing.html\">黔景电子杂志</a></li>\n\r      <li style=\"padding-left:290px;\" id=\"s_7\" class=\'s_li\' onmouseover=\'mover(7);\' onmouseout=\'mout(7);\'><a href=\"http://www.gz-travel.net/Shop/List_2.html\" target=\"_blank\">线路预订</a>  |  <a href=\"#\">机票预订</a>  |  <a href=\"http://hotel.gz-travel.net/\" target=\"_blank\">酒店预订</a>  |  <a href=\"http://www.gz-travel.net/Shop/List_385.html\" target=\"_blank\">租车服务</a>  |  <a href=\"http://www.gz-travel.net/Shop/List_5.html\" target=\"_blank\">门票预订</a>  |  <a href=\"http://gz-travel.net/paper/shangwu.html\" target=\"_blank\">会议接待</a>  |  <a href=\"http://www.gz-travel.net/Shop/List_425.html\" target=\"_blank\">乡村客栈</a></li>\n\r      <li style=\"padding-left:500px;\" id=\"s_8\" class=\'s_li\' onmouseover=\'mover(8);\' onmouseout=\'mout(8);\'><a href=\"http://bbs.gz-travel.net\" target=\"_blank\">游虫社区</a>  |  <a href=\"http://space.gz-travel.net\" target=\"_blank\">博  客</a>  |  <a href=\"http://wiki.gz-travel.net\" target=\"_blank\">旅游百科</a>  |  <a href=\"http://www.gz-travel.net/guestbook\">留言板</a></li>\n\r      <li style=\"padding-left:696px;\" id=\"s_9\" class=\'s_li\' onmouseover=\'mover(9);\' onmouseout=\'mout(9);\'> </li>\n\r      <li style=\"padding-left:696px;\" id=\"s_10\" class=\'s_li\' onmouseover=\'mover(10);\' onmouseout=\'mout(10);\'> </li>\n\r    </ul>\n\r  </div>\n\r</div>\n\r</body>\n\r</html>";
objAD.LinkUrl        = "";
objAD.LinkTarget     = 1;
objAD.LinkAlt        = "";
objAD.Priority       = 1;
objAD.CountView      = 0;
objAD.CountClick     = 0;
objAD.ADDIR          = "AD";
ZoneAD_115.AddAD(objAD);

ZoneAD_115.Show();
