 //don't modify this section! ================================= 

  ad1 = new Image();

  ad2 = new Image();

  ad3 = new Image();

  ad4 = new Image();

  ad5 = new Image();

  ad6 = new Image();

  ad7 = new Image();

  ad8 = new Image();

  ad9 = new Image();

  ad10 = new Image();

  ad11 = new Image();

  ad12 = new Image();

  ad13 = new Image();

  ad14 = new Image();

  ad15 = new Image();

  ad16 = new Image();

  ad17 = new Image();

  ad18 = new Image();

  ad19 = new Image();

  ad20 = new Image();

  

//============================== modifications start here =================================



//count of available ads

  adscount=9;

//image source and link for ad1   
   ad1.src = "/images/ads/mikead_directconnect.gif";   
   adlink1="/on/mike/direct_connect_overview.shtml";

//image source and link for ad2
   ad2.src = "/images/ads/pcsad_email.gif";
   adlink2="/on/business_solutions/office_inbox.shtml";

//image source and link for ad3 
   ad3.src = "/images/ads/mikead_contract_orange.gif";   
   adlink3="/on/webstore/mike/index.shtml ";

//image source and link for ad4   
   ad4.src = "/images/ads/mikead_demo.gif";
   adlink4="/mike/mikedemo/";

//image source and link for ad5   
   ad5.src = "/images/ads/mikead_dc.gif";   
   adlink5="/on/mike/direct_connect_phoenix.shtml";  

//image source and link for ad6   
   ad6.src = "/images/ads/mikead_wirelessweb_globe.gif";
   adlink6="/on/services/mike/wirelessweb.shtml";

//image source and link for ad7
   ad7.src = "/images/ads/mikead_mikei885.gif";
   adlink7="/on/mike/handset_i885.shtml";
   
//image source and link for ad8
   ad8.src = "/images/ads/mikead_mikeblackberry.gif";
   adlink8="/on/mike/handset_blackberry_7100i.shtml";   

//image source and link for ad9
   ad9.src = "/images/ads/mikead_work40.gif";
   adlink9="/on/plans/mike/work40.shtml"; 
			
//image source and link for ad10   
   ad10.src = "/images/spacer.gif";   
   adlink10="/index.shtml";

//image source and link for ad11   
   ad11.src = "/images/spacer.gif";   
   adlink11="/index.shtml";
   
//image source and link for ad12   
   ad12.src = "/images/spacer.gif";   
   adlink12="/index.shtml";

//image source and link for ad13   
   ad13.src = "/images/spacer.gif";   
   adlink13="/index.shtml";

//image source and link for ad14   
   ad14.src = "/images/spacer.gif";   
   adlink14="/index.shtml";

//image source and link for ad15   
   ad15.src = "/images/spacer.gif";   
   adlink15="/index.shtml";

//image source and link for ad16   
   ad16.src = "/images/spacer.gif";   
   adlink16="/index.shtml"; 

//image source and link for ad17   
   ad17.src = "/images/spacer.gif";   
   adlink17="/index.shtml";   
  
//image source and link for ad18
   ad18.src = "/images/spacer.gif";
   adlink18="/index.shtml";

//image source and link for ad19
   ad19.src = "/images/spacer.gif";
   adlink19="/index.shtml";

//image source and link for ad20
   ad20.src = "/images/spacer.gif";
   adlink20="/index.shtml";

  

//============================== modifications end here =================================





//don't modify this section! =================================

rnd.today=new Date();

rnd.seed=rnd.today.getTime();



function rnd() {

        rnd.seed = (rnd.seed*9301+49297) % 233280;

        return rnd.seed/(233280.0);

};



function rand(number) {

        return Math.ceil(rnd()*number);

};



var step;

var step2;

var step3;

var step4;





function AdsLoad(){

	

step=rand(adscount);

step2=rand(adscount);

step3=rand(adscount);

step4=rand(adscount);



while(step2==step){

	step2=rand(adscount);

	}

while((step3==step) || (step3==step2)){

	step3=rand(adscount);

	}

while((step4==step) || (step4==step2) || (step4==step3)){

	step4=rand(adscount);

	}



document.ad1holder.src = eval("ad" + step + ".src");

document.ad2holder.src = eval("ad" + step2 + ".src");

document.ad3holder.src = eval("ad" + step3 + ".src");

document.ad4holder.src = eval("ad" + step4 + ".src");



}

 function RunAds(whichAd) {
window.location = eval("adlink" + whichAd);
}


