<!--


var loaded=0;


var currentPage = '';
var currentTopPage = '';              

if ((is_nav3up) || (is_ie4up)) br = "good";

else br = "bad";

var webSections = new Array();

//the following functions live inside nav_vars
buildNavArray();
preLoadImages();

var subSections = new Array();

if (section != 'home') {

buildSubNavArray();
preLoadInside();


}


//loop throught arrays to determine active section, subsection and top section

for (i=0; i < webSections.length; i++) {
                
	if (webSections[i] == section) {
		i++;
		currentPage = "img" + i;
			
	}
}


function imgOn(imgName) {
        if (br == "good") {
                document[imgName].src = eval(imgName + "on.src");
       			
       }

}

function imgOff(imgName) {
        if (br == "good") {
                
                if (imgName == currentPage) {
                	document[imgName].src = eval(imgName + "on.src");
	            } else { 
	            	document[imgName].src = eval(imgName + "off.src");
	            }
  				     
        
        }

}


function imgOn2(imgName) {
        if (br == "good") {
            
           
          
           document[imgName].src = eval(imgName + "on.src");
           	
       }

}

function imgOff2(imgName) {
        if (br == "good") {
          
           document[imgName].src = eval(imgName + "off.src");
           
       			
       }

}


function popUp(URL,width,height,toolbar) {
			
	//alert('Width is ' + width + ' and height is ' + height);
	newWindow=window.open(URL,"thenewwindow","toolbar=" + toolbar + ",location=no,status=yes,menubar=no,scrollbars=yes,resizable=yes,width=" + width + ",height=" + height + ",left="+((screen.width/2)-(width - width/2)));
	//newWindow.opener.name= "main";
	//newWindow.focus();
		 
			
}

//-->