function windowOpener(url,width,height,name,scrollers) {
	browserName = navigator.appName;
	browserVer = navigator.appVersion.substring(0,1);
	if (width==null) {width=400;}
	if (height==null) {height=400;}
	if (name==null) {name="globaltPopup"}
	var topPx = (browserName=="Netscape").php?"screenX":"top";
	var leftPx = (browserName=="Netscape").php?"screenY":"left";
                var winl = (screen.width - width) / 2;
                var wint = (screen.height - height) / 2;
	if (browserName != "Netscape" || browserVer != 2) {
		controlWindow=window.open( url,name,"toolbar=no,height="+height+",width="+width+",location=no,directories=no,status=no,menubar=no,scrollbars="+scrollers+",resizable=no,"+leftPx+"="+winl+","+topPx+"="+wint+""
		);
	}
}
function switchLayer(original,newlayer) {
  var elem1, elem2, vis1, vis2;
  
  if( document.getElementById ) {// this is the way the standards work
    elem1 = document.getElementById( original );
    elem2 = document.getElementById( newlayer );
  }
  else if( document.all ) {// this is the way old msie versions work
    elem1 = document.all[original];
    elem2 = document.all[newlayer];
  }
  else if( document.layers ) {// this is the way nn4 works
    elem1 = document.layers[original];
    elem2 = document.layers[newlayer];
  }
  vis1 = elem1.style;
  vis2 = elem2.style;
  
  vis1.display = 'none';
  vis2.display = 'block';
}