var imageSelector = 1;

var imageRotate = new Array();
imageRotate[0] = "<img style=\"border: solid #000000; border-width: 1px\" src=\"../web images/presbill.gif\" />";
imageRotate[1] = "<img style=\"border: solid #000000; border-width: 1px\" src=\"../web images/treasury.gif\" />";
imageRotate[2] = "<img style=\"border: solid #000000; border-width: 1px\" src=\"../web images/onedollar.gif\" />";
imageRotate[3] = "<img style=\"border: solid #000000; border-width: 1px\" src=\"../web images/sidetoside.gif\" />";




function rotateImage()
{
	var topImage = document.getElementById('topImage');
	topImage.innerHTML = imageRotate[imageSelector];
	imageSelector += 1;
	if(imageSelector == 4)
		imageSelector = 0;
}

setInterval('rotateImage()',6000);




document.write("<table >\
						<tr>\
							<td id=\"topImage\"><img style=\"border: solid #000000; border-width: 1px\" src=\"../web images/presbill.gif\" /></td>\
						<tr>\
						<tr>\
							<td id=\"mainRightChoices\" onMouseOver=\"backgroundChange(this,'#000066','#ffffff');\" onMouseOut=\"backgroundChange(this,'#ffffcc','#000000');\" onClick=\"window.location='../internet banking/intbankmain.html';\">INTERNET BANKING</td>\
						</tr>\
						<tr>\
							<td id=\"mainRightChoices\" onMouseOver=\"backgroundChange(this,'#000066','#ffffff');\" onMouseOut=\"backgroundChange(this,'#ffffcc','#000000');\" onClick=\"window.location='../personal banking/perbankmain.html';\">PERSONAL BANKING</td>\
						</tr>\
						<tr>\
							<td id=\"mainRightChoices\" onMouseOver=\"backgroundChange(this,'#000066','#ffffff');\" onMouseOut=\"backgroundChange(this,'#ffffcc','#000000');\" onClick=\"window.location='../business banking/busbankmain.html';\">BUSINESS BANKING</td>\
						</tr>\
						<tr>\
							<td id=\"mainRightChoices\" onMouseOver=\"backgroundChange(this,'#000066','#ffffff');\" onMouseOut=\"backgroundChange(this,'#ffffcc','#000000');\" onClick=\"window.location='../about us/aboutusmain.html';\">ABOUT US</td>\
						</tr>\
						<tr>\
							<td id=\"mainRightChoices\" onMouseOver=\"backgroundChange(this,'#000066','#ffffff');\" onMouseOut=\"backgroundChange(this,'#ffffcc','#000000');\" onClick=\"window.location='../investor relations/investormain.html';\">INVESTOR RELATIONS</td>\
						</tr>\
						<tr>\
							<td id=\"mainRightChoices\" onMouseOver=\"backgroundChange(this,'#000066','#ffffff');\" onMouseOut=\"backgroundChange(this,'#ffffcc','#000000');\" onClick=\"window.location='../rates/ratesandspecialsmain.html';\">RATES & SPECIALS</td>\
						</tr>\
						<tr>\
							<td id=\"rightMenuFooter\" style=\"color: #ffffff;font-size: 14px;text-align: center;height: 100px;border: solid #ffffff;border-width: 1px\">"+checkOrder+"</td>\
					</table>");