function city(cityName)
{
	document.redirect2.selection.value = cityName;
	document.redirect2.submit();
}
function hideDiv(divName)
{
	if (divName && document.getElementById(divName)) 
	{
		document.getElementById(divName).className = "hiddenDiv";
	}
}
var lastDiv = "";
function showDiv(divName) 
{
	// hide last div
	if (lastDiv == divName) 
	{
       document.getElementById(lastDiv).className = "hiddenDiv";
	   lastDiv = '';
	}
	//if value of the box is not nothing and an object with that name exists, then change the class
	if (divName && document.getElementById(divName)) {
		document.getElementById(divName).className = "visibleDiv";
		lastDiv = divName;
	}
 
} 
 
function shwDiv(divName, linkName) // modified version of showDiv that will also hide an anchor tag
{
	// hide last div
	if (lastDiv == divName) 
	{
       document.getElementById(lastDiv).className = "hiddenDiv";
	   document.getElementById(linkName).className = "visibleDiv";
	   lastDiv = '';
	}
	//if value of the box is not nothing and an object with that name exists, then change the class
	else if (divName && document.getElementById(divName)) {
		document.getElementById(divName).className = "visibleDiv";
		document.getElementById(linkName).className = "hiddenDiv";
		lastDiv = divName;	
	}
} 
function showSelection(value)
	{
		alert('You Selected: ' + value);
		
	}
function setVals()
{
	
}
var oldDiv = "";
function showMenuInfo(divName) 
{
	// hide last div
	if(oldDiv=='')
		oldDiv='menu1div';
	if (oldDiv) 
	{
       document.getElementById(oldDiv).className = "hiddenDiv";
	   oldDiv = '';
	}
	//if value of the box is not nothing and an object with that name exists, then change the class
	if (divName && document.getElementById(divName)) {
		document.getElementById(divName).className = "visibleDiv";
		oldDiv = divName;
	}
 
} 
var oldDiv2 = "";
function autoDiv(divName) 
{
	// hide last div
	
	if (oldDiv2) 
	{
       document.getElementById(oldDiv2).className = "hiddenDiv";
	   oldDiv2 = '';
	}
	//if value of the box is not nothing and an object with that name exists, then change the class
	if (divName && document.getElementById(divName)) {
		document.getElementById(divName).className = "visibleDiv";
		oldDiv2 = divName;
	}
 
} 


