<!--
 
 //Step 1: Set number of URL array, increase number as necessary.
var urlArray = new Array(2);  

//Step 2: Set number of Image array, increase number as necessary.
var banArray = new Array(2);  

//Step 3: Put here your initial URL.
var url = "http://www.academicenterprises.net/load.php?l=8";  
var adNo2 = 1;

//Place all your URL's Here.
	urlArray[0] = "http://www.academicenterprises.net/load.php?l=8";
	urlArray[1] = "http://www.academicenterprises.net/load.php?l=8";

//STEP 4
//Imput the source of each image.
banArray[0] = new Image(468, 60);          
banArray[0].src = "images/banners/career_home_inspection_courses.jpg";   
banArray[1] = new Image(468, 60);
banArray[1].src = "images/banners/career_home_inspection_courses.jpg";

function changeAd2(){ 
var rotateBanner = document.getElementById("banRot2");   
if (navigator.appName == "Microsoft Internet Explorer"){      // This statement allows 
                             // all IE browsers to display the following images and URL's.   
                            // If you display more ads than 3
 if (adNo2 < 2){   // And change the 3 to the total number of ads you want to display.

    switch(adNo2){
                       // For each case, input the URL and Banner Image source, and and keep enclosed with single quotes.
    case 0:            // If you have more than 3 ads, add a case and its statements for each addition.   
    banRot2.filters[0].Apply();
    rotateBanner.innerHTML = '<a href="http://www.academicenterprises.net/load.php?l=8" target="_blank"><img src="images/banners/career_home_inspection_courses.jpg"  width="468"  height="60"  border="0"/></a>';
		banRot2.filters[0].Play();
    adNo2++;
    break;
    case 1:
    banRot2.filters[0].Apply();
    rotateBanner.innerHTML = '<a href="http://www.academicenterprises.net/load.php?l=8" target="_blank"><img src="images/banners/career_home_inspection_courses.jpg"  width="468"  height="60" border="0"/></a>';
		banRot2.filters[0].Play();
    adNo2 = 0;
    break;
    }
   }
	}
else {       // The else statement allows all other browsers to display the rotation.
   var banArrayLength = banArray.length-1;		
   if(adNo2 > banArrayLength) adNo2 = 0;
	 
   document.bR.src = banArray[adNo2].src;
   url = urlArray[adNo2]; 
   adNo2++; 
   }	
}
 
// You can change the speed here, 1000 = 1 second.  
var speed = window.setInterval("changeAd2()",8000);

//-->
