// Image Switch and essential functions// this script is on every page, it has the standard image roll, the fix for netscapes resize issues and// the opening image selection// Jan 8 2000// v.4bvar turnDivOn ="";var turnDivOff ="";var path = "images/buttons/"; //save text later onfunction navImg(sourceOn,sourceOff,sourceRoll) //not necessary to pre-load all, if not going to preload switch from this.x.src to this.x{	if(document.images)	{		this.on 		= path + sourceOn;		this.off 		= path + sourceOff;		this.roll 		= new Image();		this.roll.src 	= path + sourceRoll;	}}var navArray = new Array(); //the single most important array, used in almost every scriptnavArray["about"]= new navImg("btn_about_on.gif","btn_about_off.gif","btn_about_on.gif");navArray["contact"]= new navImg("btn_contact_on.gif","btn_contact_off.gif","btn_contact_on.gif");navArray["branches"]= new navImg("btn_branches_on.gif","btn_branches_off.gif","btn_branches_on.gif");navArray["sitemap"]= new navImg("btn_sitemap_on.gif","btn_sitemap_off.gif","btn_sitemap_on.gif");navArray["privacy"]= new navImg("btn_privacypolicy_on.gif","btn_privacypolicy_off.gif","btn_privacypolicy_on.gif");navArray["emailalert"]= new navImg("btn_emailalert_on.gif","btn_emailalert_off.gif","btn_emailalert_on.gif");navArray["mortgages"]= new navImg("btn_mortgages_on.gif","btn_mortgages_off.gif","btn_mortgages_on.gif");navArray["personal"]= new navImg("btn_personal_on.gif","btn_personal_off.gif","btn_personal_on.gif");navArray["business"]= new navImg("btn_business_on.gif","btn_business_off.gif","btn_business_on.gif");navArray["online"]= new navImg("btn_online_on.gif","btn_online_off.gif","btn_online_on.gif");function navRoll(number){	if(document.images) 	{		document.images[number].src = navArray[number].roll.src;			}}function navUnRoll(number){	if(document.images)	{		document.images[number].src = navArray[number].off;					}}var windowVar = 0;function fixLayers(){   if(document.layers)   	{		if(windowVar==1)		{			location.reload();			windowVar = 0;			return false;					}	 }}  