﻿var bannerAD=new Array();
var bannerADlink=new Array();
var adNum=0;


bannerAD[0]="http://images.hr33.com/Upload/hr33/20090820062355.gif";
bannerADlink[0]="http://www.hr33.com/other/newspage/";
bannerAD[1]="http://images.hr33.com/Upload/hr33/20091027093321.gif";
bannerADlink[1]="http://www.hr33.com/other/Journal/default.html";

function setTransition(){
   if (document.all){
      var bannerADrotator = document.getElementById("bannerADrotator");
      bannerADrotator.filters.revealTrans.Transition=23;
      bannerADrotator.filters.revealTrans.apply();
   }
}

function playTransition(){
   if (document.all)
   {
      var bannerADrotator = document.getElementById("bannerADrotator");
      bannerADrotator.filters.revealTrans.play()
   }
}

function nextAd(){
   if(adNum<bannerAD.length-1)adNum++ ;
      else adNum=0;
   setTransition();
   document.getElementById("bannerADrotator").src=bannerAD[adNum];
   playTransition();
   theTimer=setTimeout("nextAd()", 6000);
}

function jump2url(){
   jumpUrl=bannerADlink[adNum];
   jumpTarget="_blank";
  
   window.open(jumpUrl,jumpTarget);
   
}
function displayStatusMsg() { 
   status=bannerADlink[adNum];
   document.returnValue = true;
}

////////////////////////////////////////////////////

function inintTopAds() {
document.writeln('<a href="http://www.lhjol.com" target="_blank"><img src="http://images.hr33.com/Upload/hr33/20100820034251.gif" height="40" alt="罗湖人才市场，找工作成功率最高的人才市场。全国定展热线：400-700-5133" /></a>');
}

function inintRegAds() {
document.writeln('<div style="padding-top:10px;clear:both;">');
document.writeln('<a target="_blank" href="http://www.lhjol.com" title="罗湖人才市场，找工作成功率最高的人才市场。全国定展热线：400-700-5133"><img src="http://images.hr33.com/Upload/hr33/20100820033434.gif" border="0" alt="罗湖人才市场，找工作成功率最高的人才市场。全国定展热线：400-700-5133" /></a>');
document.writeln('</div>');
}


function inintLgoinAds() {
}

