var AdSpot700x50 = new Array()

//Random-loading images
AdSpot700x50[0] = '/media/rockets/ad700x50_UofPleader012510.jpg' // replace with names of images
AdSpot700x50[1] = '/media/rockets/ad700x50_UofPleader012510.jpg' // replace with names of images

var j = 0
var p = AdSpot700x50.length;
var preBuffer = new Array()

for (i = 0; i < p; i++){
preBuffer[i] = new Image()
preBuffer[i].src = AdSpot700x50[i]
}
var which700x50Ad = Math.round(Math.random()*(p-1));

function showAd700x50(){

if(which700x50Ad==0){
document.write('<a href ="http://beta.phoenix.edu/campus-locations/tx/houston-campus/houston-campus.html" target="_blank"><img src="'+AdSpot700x50[which700x50Ad]+'" border=0 width=700 height=50></a>');
}
else if(which700x50Ad==1){
document.write('<a href ="http://beta.phoenix.edu/campus-locations/tx/houston-campus/houston-campus.html" target="_blank"><img src="'+AdSpot700x50[which700x50Ad]+'" border=0 width=700 height=50></a>');
}

}


var AdSpot168x500 = new Array()

//Random-loading images
AdSpot168x500[0] = '/media/rockets/ad160x600_HAAWeek1.jpg' // replace with names of images
AdSpot168x500[1] = '/media/rockets/ad160x600_HAAWeek1.jpg' // replace with names of images
AdSpot168x500[2] = '/media/rockets/ad160x600_republic012910.jpg' // replace with names of images
AdSpot168x500[3] = '/media/rockets/ad160x600_HAAWeek1.jpg' // replace with names of images
AdSpot168x500[4] = '/media/rockets/ad160x600_comcast012710.jpg' // replace with names of images




var j = 0
var p = AdSpot168x500.length;
var preBuffer = new Array()

for (i = 0; i < p; i++){
preBuffer[i] = new Image()
preBuffer[i].src = AdSpot168x500[i]
}
var which168x500Ad = Math.round(Math.random()*(p-1));

function showAd168x500(){
	
if(which168x500Ad==0){
document.write('<a href ="/rockets/fans/haasweepstakes_week1_2010_03_04.html" target="_blank"><img src="'+AdSpot168x500[which168x500Ad]+'" border=0 width=160 height=600></a>');
}
else if(which168x500Ad==1){
document.write('<a href ="/rockets/fans/haasweepstakes_week1_2010_03_04.html" target="_blank"><img src="'+AdSpot168x500[which168x500Ad]+'" border=0 width=160 height=600></a>');
}
else if(which168x500Ad==2){
document.write('<a href ="/rockets/community/rockets_go_green_2009_09_30.html" target="_blank"><img src="'+AdSpot168x500[which168x500Ad]+'" border=0 width=160 height=600></a>');
}
else if(which168x500Ad==3){
document.write('<a href ="/rockets/fans/haasweepstakes_week1_2010_03_04.html" target="_blank"><img src="'+AdSpot168x500[which168x500Ad]+'" border=0 width=160 height=600></a>');
}
else if(which168x500Ad==4){
document.write('<a href ="http://www.comcast.com" target="_blank"><img src="'+AdSpot168x500[which168x500Ad]+'" border=0 width=160 height=600></a>');
}

}




var AdSpot300x250 = new Array()

//Random-loading images
AdSpot300x250[0] = '/media/rockets/ad300x250_wildcat111109.jpg' // replace with names of images
AdSpot300x250[1] = '/media/rockets/ad300x250_wildcat111109.jpg' // replace with names of images

var j = 0
var p = AdSpot300x250.length;
var preBuffer = new Array()

for (i = 0; i < p; i++){
preBuffer[i] = new Image()
preBuffer[i].src = AdSpot300x250[i]
}
var which300x250Ad = Math.round(Math.random()*(p-1));

function showAd300x250(){

if(which300x250Ad==0){
document.write('<a href ="http://www.wildcatgolfclub.com/" target="_blank"><img src="'+AdSpot300x250[which300x250Ad]+'" border=0 width=300 height=250></a>');
}
else if(which300x250Ad==1){
document.write('<a href ="http://www.wildcatgolfclub.com/" target="_blank"><img src="'+AdSpot300x250[which300x250Ad]+'" border=0 width=300 height=250></a>');
}

}
