pic1= new Image; 
pic1.src="http://www.cedarlake.net/images/gifs/aboutus.gif";
pic2= new Image; 
pic2.src="http://www.cedarlake.net/images/gifs/aboutusroll.gif";
pic3= new Image; 
pic3.src="http://www.cedarlake.net/images/gifs/ministries.gif";
pic4= new Image; 
pic4.src="http://www.cedarlake.net/images/gifs/ministriesroll.gif";
pic5= new Image; 
pic5.src="http://www.cedarlake.net/images/gifs/media.gif";
pic6= new Image; 
pic6.src="http://www.cedarlake.net/images/gifs/mediaroll.gif";
pic7= new Image; 
pic7.src="http://www.cedarlake.net/images/gifs/smallgroups.gif";
pic8= new Image; 
pic8.src="http://www.cedarlake.net/images/gifs/smallgroupsroll.gif";
pic9= new Image; 
pic9.src="http://www.cedarlake.net/images/gifs/home.gif";
pic10= new Image; 
pic10.src="http://www.cedarlake.net/images/gifs/homeroll.gif";
pic11= new Image; 
pic11.src="http://www.cedarlake.net/images/pngs/menu.png";
pic12= new Image; 
pic12.src="http://www.cedarlake.net/images/pngs/menuroll.png";
pic13= new Image; 
pic13.src="http://www.cedarlake.net/images/gifs/whattoexpect.gif";
pic14= new Image; 
pic14.src="http://www.cedarlake.net/images/gifs/whattoexpectroll.gif";
pic15= new Image; 
pic15.src="http://www.cedarlake.net/images/gifs/ourpurpose.gif";
pic16= new Image; 
pic16.src="http://www.cedarlake.net/images/gifs/ourpurposeroll.gif";
pic17= new Image; 
pic17.src="http://www.cedarlake.net/images/gifs/meetthestaff.gif";
pic18= new Image; 
pic18.src="http://www.cedarlake.net/images/gifs/meetthestaffroll.gif";
pic19= new Image; 
pic19.src="http://www.cedarlake.net/images/gifs/contactus.gif";
pic20= new Image; 
pic20.src="http://www.cedarlake.net/images/gifs/contactusroll.gif";
pic21= new Image; 
pic21.src="http://www.cedarlake.net/images/gifs/whenwhere.gif";
pic22= new Image; 
pic22.src="http://www.cedarlake.net/images/gifs/whenwhereroll.gif";
pic23= new Image; 
pic23.src="http://www.cedarlake.net/images/gifs/calendar.gif";
pic24= new Image; 
pic24.src="http://www.cedarlake.net/images/gifs/calendarroll.gif";

adbanner = new Array(1);
adbanner[0] = "http://www.cedarlake.net/images/jpegs/pastor1.jpg";
/*
adbanner[1] = "http://www.cedarlake.net/images/gifs/eventlink1.gif";
adbanner[2] = "http://www.cedarlake.net/images/gifs/connectlink1.gif";
*/
adbanner2 = new Array(1);
adbanner2[0] = "http://www.cedarlake.net/images/jpegs/pastor2.jpg";
/*
adbanner2[1] = "http://www.cedarlake.net/images/gifs/eventlink2.gif";
adbanner2[2] = "http://www.cedarlake.net/images/gifs/connectlink2.gif";
*/
adlink = new Array(1);
adlink[0] = "http://www.facebook.com/profile.php?id=1140158967";
/*
adlink[1] = "http://connect.cedarlake.net/";
adlink[2] = "http://connect.cedarlake.net/";
*/
adlink2 = new Array(1);
adlink2[0] = "http://www.myspace.com/murphym08";
/*
adlink2[1] = "http://connect.cedarlake.net/";
adlink2[2] = "http://connect.cedarlake.net/";
*/
var timer = null;
var counter = 0;

function banner() {
	timer = setTimeout("banner()", 5000);
	counter++;
	if (counter >= 1)
		counter = 0;
	document.pastor1.src = adbanner[counter];
	document.pastor2.src = adbanner2[counter];
}
function gothere() {
	counter2 = counter;
	window.location.href = adlink[counter2];
}
function go_there() {
	counter3 = counter;
	window.location.href = adlink2[counter3];
}
