// Banner-o-matic 1.0 by Vikram Dhinsa
//To add a banner, there are four steps to follow:
// 1. Put the total number of banners to be displayed:
//		listofimages = new Array(#);
// 2. For each new banner add the these two lines with their values:
// 		listofimages[0].src = "http://www.gsiwave.com/images/myBanner.gif"
// 		listofimages[0] = new Image(468,58)
// 3. Put the total number of banners plus one:
//		if (banneradcode == "#") {
// 4. Add the following lines of code with the new values at the end of the list:
// 		else if (banneradcode == #) {
// 		newlocation = "http://www.myUrl.com"
// 		location.href = newlocation;
// 		}

function loadpage() {
browsertype = "new" 
if (browsertype == "new") {
thetimer = setTimeout("changeimage()", 3000);
banneradcode = 0;
listofimages = new Array(9);
listofimages[0] = new Image(468,60)
listofimages[0].src = "http://www.gsiwave.com/images/bann_gsiwave.gif"

}
}

function changeimage(){
browsertype = "new"
if (browsertype == "new") {
banneradcode = banneradcode + 1
if (banneradcode == "1") {
banneradcode = 0
}
imagesource = listofimages[banneradcode].src;
window.document.bannerad.src = imagesource
thetimer = setTimeout("changeimage()", 10000);
}
else if (browsertype == "old") {
}
}

function changepage() {
browsertype = "new"
if (browsertype == "new") 
{
	if (banneradcode == 0) 
	{
		newlocation = "http://www.gsiwave.com/contact_dialup.asp"
		location.href = newlocation;
	}

}//end if
}//end changepage