function openWindow(theURL,winName,features, myWidth, myHeight, isCenter) {
  if(window.screen)if(isCenter)if(isCenter=="true"){
	var myLeft = (screen.width-myWidth)/2;
	var myTop = (screen.height-myHeight)/2;
	features+=(features!='')?',':'';
	features+=',left='+myLeft+',top='+myTop;
  }
  window.open(theURL,winName,features+((features!='')?',':'')+'width='+myWidth+',height='+myHeight);
}
function showLanguageBox(wi) {
	var oDiv;
	if (document.all) { // IE
		oDiv = document.all["divLanguage"];
		if(window.screen){
			divLanguage.style.pixelLeft = (screen.width-wi)/2;
			divLanguage.style.pixelTop = 100;
		}
		if (oDiv.style.visibility == "hidden" || oDiv.style.visibility == "hide")
			oDiv.style.visibility = "visible";
		else
			oDiv.style.visibility = "hidden";
	}
	else { // Netscape
		oDiv = document.layers["divLanguage"];
		if(window.screen) {
			document.divLanguage.left = (screen.width-wi)/2;
			document.divLanguage.top = 100;
		}
		if (oDiv.visibility == "hide")
			oDiv.visibility = "show";
		else
			oDiv.visibility = "hide";
	}
}
