var screenW = 1060;
if (parseInt(navigator.appVersion)>3) {
 screenW = screen.width;
}
else if (navigator.appName == "Netscape" 
    && parseInt(navigator.appVersion)==3
    && navigator.javaEnabled()) {
 var jToolkit = java.awt.Toolkit.getDefaultToolkit();
 var jScreenSize = jToolkit.getScreenSize();
 screenW = jScreenSize.width;
}

function showHideTxt(shID) {
	if (document.getElementById(shID)) {
		if (document.getElementById(shID).style.display != 'block') {
			document.getElementById(shID).style.display = 'block';
		} else {
			document.getElementById(shID).style.display = 'none';
		}
	}
}

//-----------------------
var newwindow = "";

function MM_openBrWindow(theURL,winName,features) { //v2.0
newwindow = window.open(theURL,winName,features);
newwindow.focus();
if (newwindow != null) {    
if (newwindow.opener == null) {       
newwindow.opener = self;     
} }
}

function goandclose(url) {
opener.location.href  = url;
window.close();
}