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_1 = new CodeZoneAD("ZoneAD_1");
ZoneAD_1.ZoneID      = 1;
ZoneAD_1.ZoneWidth   = 0;
ZoneAD_1.ZoneHeight  = 0;
ZoneAD_1.ShowType    = 1;

var objAD = new ObjectAD();
objAD.ADID           = 1;
objAD.ADType         = 4;
objAD.ADName         = "910头";
objAD.ImgUrl         = "";
objAD.ImgWidth       = 0;
objAD.ImgHeight      = 0;
objAD.FlashWmode     = 0;
objAD.ADIntro        = "<SCRIPT src=\"/main.js\" type=text/javascript></SCRIPT> <LINK href=\"/main.css\" type=text/css rel=stylesheet>\n\r<style type=\"text/css\">\n\r<!--\n\r.STYLE1 {color: #FF0000}\n\r-->\n\r</style>\n\r<table width=\"910\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">\n\r  <tr>\n\r    <td height=\"150\"><object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0\" width=\"910\" height=\"150\">\n\r      <param name=\"movie\" value=\"/swf/168yn_910.swf\">\n\r      <param name=\"quality\" value=\"high\">\n\r      <param name=\"wmode\" value=\"opaque\">\n\r      <embed src=\"/swf/168yn_910.swf\" quality=\"high\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\" width=\"910\" height=\"150\"></embed>\n\r    </object></td>\n\r  </tr>\n\r</table>\n\r<table cellSpacing=0 cellPadding=0 width=910 align=center border=0>\n\r    <tr>\n\r      <td>\n\r<div id=first_nav onmouseout=clear_parent_sign()>\n\r        <table cellSpacing=0 cellPadding=0 width=\"100%\" align=center border=0>\n\r          <tr>\n\r            <td id=first_nav_0 onmouseover=show_child(0)><A href=\"/index.html\">首 页</A></td>\n\r            <td id=first_nav_5 onmouseover=show_child(5)><A href=\"/zhutitour/List_293.html\">VIP旅游</A></td>\n\r            <td id=first_nav_7 onmouseover=show_child(7)><A href=\"/yunnanlvyou/\">云南旅游</A></td>\n\r            <td id=first_nav_10 onmouseover=show_child(10)><A href=\"/convention/\">云南会议</A></td>\n\r            <td id=first_nav_1 onmouseover=show_child(1)><A href=\"/zhutitour/List_295.html\">高尔夫旅游</A></td>\n\r            <td id=first_nav_8 onmouseover=show_child(8)><A href=\"/kmtour/\">昆明旅游</A></td>\n\r            <td id=first_nav_12 onmouseover=show_child(12)><A href=\"/ljtour/\">丽江旅游</A></td>\n\r            <td id=first_nav_9 onmouseover=show_child(9)><A href=\"/dltour/\">大理旅游</A></td>\n\r            <td id=first_nav_11 onmouseover=show_child(11)><A href=\"/xglltour/\">香格里拉</A></td>\n\r            <td id=first_nav_13 onmouseover=show_child(13)><A href=\"/xshbntour/\">西双版纳</A></td>\n\r            <td id=first_nav_14 onmouseover=show_child(14)><A href=\"/tchtour/\">腾冲旅游</A></td>\n\r          </tr>\n\r        </table>\n\r      </div></td>\n\r    </tr>\n\r</table>\n\r<table cellSpacing=0 cellPadding=0 width=910 align=center bgColor=#ffffff border=0>\n\r    <tr>\n\r      <td>\n\r        <table cellSpacing=0 cellPadding=0 width=910 align=center border=0>\n\r          <tr>\n\r            <td>\n\r<div id=second_nav onmouseover=set_child_sign() onmouseout=clear_child_sign()>\n\r<div class=hide id=second_nav_0>[1]、<span class=\"STYLE1\">24小时咨询热线电话：0871-3513865  </span><span class=\"STYLE1\">13508805463 13888163525   </span>[2]、QQ：<A href=\"tencent://message/?uin=529255805&Site=昆明中国国际旅行社&Menu=yes\">529255805</a>  <A href=\"tencent://message/?uin=403194883&Site=昆明中国国际旅行社&Menu=yes\">403194883</A></div>\n\r<div class=hide id=second_nav_5><font color=#ff0000>VIP热线：<span class=\"STYLE1\">13508805463</span></font></div>\n\r<div class=hide id=second_nav_7><A id=a_6 href=\"/yunnanlvyou/List_470.html\">云南旅游新闻</A> | <A id=a_26 href=\"/yunnanlvyou/List_471.html\">云南旅游指南</A> | <A id=a_27 href=\"/yunnanlvyou/List_514.html\">网站公告</A> | <A id=a_6 href=\"/yunnanlvyou/List_539.html\">特别提醒</A> | <A id=a_26 href=\"/yunnanlvyou/List_549.html\">预订须知</A>|</div>\n\r<div class=hide id=second_nav_10><A id=a_17 href=\"/convention/List_291.html\">会议酒店</A> | <A id=a_17 href=\"/convention/List_292.html\">会议接待</A> | <A id=a_53 href=\"/convention/List_321.html\">会议指南</A> | <A id=a_54 href=\"/convention/List_557.html\">会议服务</A> |</div>\n\r<div class=hide id=second_nav_1><font color=#ff0000>高尔夫预定专线：0871-6356423 24小时专线：<span class=\"STYLE1\">13508805463</span></font></div>\n\r<div class=hide id=second_nav_8><A id=a_17 href=\"/kmtour/List_315.html\">昆明新闻</A> | <A id=a_17 href=\"/kmtour/List_249.html\">旅游景点</A> | <A id=a_53 href=\"/kmtour/List_250.html\">旅游线路</A> | <A id=a_54 href=\"/kmtour/List_251.html\">宾馆酒店</A> | <A id=a_55 href=\"/kmtour/List_252.html\">昆明游记</A> | <A id=a_56 href=\"/kmtour/List_253.html\">电子地图</A> | <A id=a_57 href=\"/kmtour/List_254.html\">昆明风情</A> | <A id=a_56 href=\"/kmtour/List_255.html\">美食小吃</A> | <A id=a_57 href=\"/kmtour/List_322.html\">旅游交通 </A>|</div>\n\r<div class=hide id=second_nav_12><A id=a_17 href=\"/ljtour/List_316.html\">丽江新闻</A> | <A id=a_17 href=\"/ljtour/List_256.html\">旅游景点</A> | <A id=a_53 href=\"/ljtour/List_257.html\">旅游线路</A> | <A id=a_54 href=\"/ljtour/List_258.html\">宾馆酒店</A> | <A id=a_55 href=\"/ljtour/List_259.html\">丽江游记</A> | <A id=a_56 href=\"/ljtour/List_260.html\">电子地图</A> | <A id=a_57 href=\"/ljtour/List_261.html\">丽江风情</A> | <A id=a_56 href=\"/ljtour/List_262.html\">美食小吃</A> | <A id=a_57 href=\"/ljtour/List_323.html\">旅游交通 </A>|</div>\n\r<div class=hide id=second_nav_9><A id=a_17 href=\"/dltour/List_317.html\">大理新闻</A> | <A id=a_17 href=\"/dltour/List_263.html\">旅游景点</A> | <A id=a_53 href=\"/dltour/List_264.html\">旅游线路</A> | <A id=a_54 href=\"/dltour/List_265.html\">宾馆酒店</A> | <A id=a_55 href=\"/dltour/List_266.html\">大理游记</A> | <A id=a_56 href=\"/dltour/List_267.html\">电子地图</A> | <A id=a_57 href=\"/dltour/List_268.html\">大理风情</A> | <A id=a_56 href=\"/dltour/List_269.html\">美食小吃</A> | <A id=a_57 href=\"/dltour/List_324.html\">旅游交通 </A>|</div>\n\r<div class=hide id=second_nav_11><A id=a_17 href=\"/xglltour/List_318.html\">香格里拉新闻</A> | <A id=a_17 href=\"/xglltour/List_270.html\">旅游景点</A> | <A id=a_53 href=\"/xglltour/List_271.html\">旅游线路</A> | <A id=a_54 href=\"/xglltour/List_272.html\">宾馆酒店</A> | <A id=a_55 href=\"/xglltour/List_273.html\">香格里拉游记</A> | <A id=a_56 href=\"/xglltour/List_274.html\">电子地图</A> | <A id=a_57 href=\"/xglltour/List_275.html\">香格里拉风情</A> | <A id=a_56 href=\"/xglltour/List_276.html\">美食小吃</A> | <A id=a_57 href=\"/xglltour/List_325.html\">旅游交通 </A>|</div>\n\r<div class=hide id=second_nav_13><A id=a_17 href=\"/xshbntour/List_319.html\">西双版纳新闻</A> | <A id=a_17 href=\"/xshbntour/List_277.html\">旅游景点</A> | <A id=a_53 href=\"/xshbntour/List_278.html\">旅游线路</A> | <A id=a_54 href=\"/xshbntour/List_279.html\">宾馆酒店</A> | <A id=a_55 href=\"/xshbntour/List_280.html\">西双版纳游记</A> | <A id=a_56 href=\"/xshbntour/List_281.html\">电子地图</A> | <A id=a_57 href=\"/xshbntour/List_282.html\">西双版纳风情</A> | <A id=a_56 href=\"/xshbntour/List_283.html\">美食小吃</A> | <A id=a_57 href=\"/xshbntour/List_326.html\">旅游交通 </A>|</div>\n\r<div class=hide id=second_nav_14><A id=a_17 href=\"/tchtour/List_320.html\">腾冲新闻</A> | <A id=a_17 href=\"/tchtour/List_284.html\">旅游景点</A> | <A id=a_53 href=\"/tchtour/List_285.html\">旅游线路</A> | <A id=a_54 href=\"/tchtour/List_286.html\">宾馆酒店</A> | <A id=a_55 href=\"/tchtour/List_287.html\">腾冲游记</A> | <A id=a_56 href=\"/tchtour/List_288.html\">电子地图</A> | <A id=a_57 href=\"/tchtour/List_289.html\">腾冲风情</A> | <A id=a_56 href=\"/tchtour/List_290.html\">美食小吃</A> | <A id=a_57 href=\"/tchtour/List_327.html\">旅游交通 </A>|</div></div><SCRIPT \n\r                                                                        type=text/javascript>var source_parent = 0 ; show_child(source_parent);</SCRIPT></td>\n\r          </tr>\n\r        </table>\n\r      </td>\n\r    </tr>\n\r</table>\n\r<table width=\"910\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">\n\r  <tr>\n\r    <td width=\"4\" height=\"7\"><img src=\"/skin/images/in_03.gif\" width=\"4\" height=\"7\" alt=\"\"></td>\n\r    <td width=\"893\" height=\"7\" bgcolor=\"#3399FF\"></td>\n\r    <td width=\"4\"><img src=\"/skin/images/in_06.gif\" width=\"4\" height=\"7\" alt=\"\"></td>\n\r  </tr>\n\r</table>\n\r<table width=\"910\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">\n\r  <tr>\n\r    <td><TABLE width=\"910\" border=\"0\" align=\"center\" cellPadding=\"0\" cellSpacing=\"0\" bgcolor=\"#FFFFFF\">\n\r      <TBODY>\n\r        <TR>\n\r          <TD height=\"28\"  id=\"dhxl\">推荐栏目：<A href=\"/zhutitour/\" target=\"_blank\">主题旅游</A> | <A href=\"/photo/\" target=\"_blank\">美景图库</A> | <A href=\"/kmtour/List_251.html\" target=\"_blank\">昆明酒店</A> | <A href=\"/zhutitour/List_297.html\" target=\"_blank\">生态旅游</A>| <a href=\"/zidingyi/jpcx.html\">机票预订</a> | <a href=\"/zidingyi/guanyu.html\">国旅历程</a> | <a href=\"/zidingyi/map.html\">合同范本</a> |  <a href=\"/emeiyou/\" target=\"_blank\">峨眉山</a></TD>\n\r          <TD width=\"230\"><iframe src=\"http://www.tianqi123.com/small_page/chengshi_2129.html?c0=red&c1=D96C00&bg=ffffff&w=230&h=28&text=yes\" width=230 height=28 marginwidth=0 marginheight=0 hspace=0 vspace=0 frameborder=0 scrolling=no align=center id=url></iframe></TD>\n\r        </TR>\n\r      </TBODY>\n\r    </TABLE></td>\n\r  </tr>\n\r</table>\n\r<table width=\"910\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">\n\r  <tr>\n\r    <td><img src=\"/skin/images/910.jpg\" width=\"908\" height=\"68\" border=\"0\" usemap=\"#Maptop123\"></td>\n\r  </tr>\n\r</table>\n\r\n\r<map name=\"Maptop123\"><area shape=\"rect\" coords=\"7,7,37,63\" href=\"/\">\n\r<area shape=\"rect\" coords=\"47,7,143,61\" href=\"/zhutitour/List_542.html\">\n\r<area shape=\"rect\" coords=\"153,7,249,62\" href=\"/zhutitour/List_543.html\">\n\r<area shape=\"rect\" coords=\"259,8,357,60\" href=\"/zhutitour/List_544.html\">\n\r<area shape=\"rect\" coords=\"369,6,466,61\" href=\"/zhutitour/List_545.html\">\n\r<area shape=\"rect\" coords=\"475,5,574,62\" href=\"/zhutitour/List_546.html\">\n\r<area shape=\"rect\" coords=\"584,6,681,63\" href=\"/zhutitour/List_547.html\">\n\r<area shape=\"rect\" coords=\"692,6,791,61\" href=\"/zhutitour/List_548.html\">\n\r<area shape=\"rect\" coords=\"801,6,899,63\" href=\"/zhutitour/List_556.html\">\n\r</map>";
objAD.LinkUrl        = "";
objAD.LinkTarget     = 1;
objAD.LinkAlt        = "";
objAD.Priority       = 1;
objAD.CountView      = 0;
objAD.CountClick     = 0;
objAD.InstallDir     = "/";
objAD.ADDIR          = "AD";
ZoneAD_1.AddAD(objAD);

ZoneAD_1.Show();

