<!--
    //ROLL OVER FOR IE 6
    function startList() {
    if (document.all&&document.getElementById) 
    {
    	//1ST NAVIGATION BAR
    	navRoot = document.getElementById("nav");
    	for (i=0; i<navRoot.childNodes.length; i++) 
    	{
    		node = navRoot.childNodes[i];
    		if (node.nodeName=="LI") 
    		{
    			node.onmouseover=function() 
    			{
    				this.className+=" over";
    			}
				node.onmouseout=function() {
				this.className=this.className.replace(" over", "");
				}
			}
		}
		//2ND NAVIGATION BAR
		navRoot2 = document.getElementById("nav2");
		for (i=0; i<navRoot2.childNodes.length; i++)
    	{
    		node = navRoot2.childNodes[i];
    		if (node.nodeName=="LI") 
    		{
    			node.onmouseover=function()
    			{
    				this.className+=" over";
    			}
				node.onmouseout=function() {
				this.className=this.className.replace(" over", "");
				}
			}
		}
	}
}
//-->
<!--
	//GET RANDOM NUMBER BETWEEN 1 AND 5
    var ranNum = (Math.floor(Math.random() * 5) + 1);

	//LOAD RANDOM BACKGROUNDS
	function getStyles(pgID) {
	var newContainImg = "url(images/bg_contain_" + pgID + ranNum + ".jpg)";
	var newContentImg = "url(images/bg_contenttbl_" + pgID + ranNum + ".jpg)";
	document.getElementById('container' + pgID).style.backgroundImage = newContainImg;
	document.getElementById('contenttbl'+ pgID).style.backgroundImage = newContentImg;
}
	//GET RANDOM TEXT
	function getRandText() {
	if (ranNum == 1)
	{
	document.write('<p>Checking accounts and lines of credit to meet the unique needs of your business...</p>'
		+ '<p style="text-align: right;"><a href="business-banking.htm">Learn More</a> &raquo;</p>');
	}
	if (ranNum == 2)
	{
	document.write('<p>Personal banking products and services that make everyday banking easier than ever...</p>'
		+ '<p style="text-align: right;"><a href="personal-banking.htm">Learn More</a> &raquo;</p>');
	}
	if (ranNum == 3)
	{
	document.write('<p>Business and consumer loans with competitive rates, low fees and flexible terms...</p>'
		+ '<p style="text-align: right;"><a href="loans.htm">Learn More</a> &raquo;</p>');
	}
	if (ranNum == 4)
	{
	document.write('<p>A customized product portfolio will help you achieve your investment plan objectives...</p>'
		+ '<p style="text-align: right;"><a href="investment-services.htm">Learn More</a> &raquo;</p>');
	}
	if (ranNum == 5)
	{
	document.write('<p>Our employees and directors participate in numerous local organizations and charities...</p>'
		+ '<p style="text-align: right;"><a href="about-us-community.htm">Learn More</a> &raquo;</p>');
	}
}
//-->
<!--
	//LEAVING SITE ALERT
	function popAlert(confURL, winStatus) {
	var popconf = confirm("You Are Now Leaving MerchantsNational.com. Do You Wish To Continue?");
		
	if (popconf == true)
	{
		if (winStatus == 1)
		{
		window.location = confURL;
		}
		if (winStatus == 2)
		{
		window.open(confURL);
		}	
	}
}
//-->