var active = false;
function showLanguage() {
	
	if (active) {
		active=false;
		hideNow();
		
	} else {
		active = true;
		languageDiv.style.visibility='visible';
	}
	
}

function hideLanguage() {
	setTimeout("hideNow()",300);
	active=false;
}

function hideNow() {
	if (!active) {
		languageDiv.style.visibility='hidden';
	}	
}

function goToURL() {
	var selectedIndex = document.search.language.selectedIndex;
	var theURL = document.search.language[selectedIndex].value;
	location.href=theURL;
}

function openWindow(theWidth, theHeight, theURL) {
	  winSettings ='toolbar=no,location=no,directories=no,resizable=yes,width='+theWidth+',height='+theHeight+',left=10,top=25';
	  floater = window.open(theURL,"",winSettings);
	  
}