<!--	
	// check browser version
	var DOM = (document.getElementById) ? true : false;
	var NS4 = (document.layers) ? true : false;
	var IE = (document.all) ? true : false;
	var IE4 = IE && DOM;
	var Mac = (navigator.appVersion.indexOf("Mac") != -1);
	var IE4M = IE4 && Mac;
	var Opera = (navigator.userAgent.indexOf("Opera")!=-1);
	
	function openWindow(theURL,winName,features) {
		hwnd = window.open(theURL,winName,features);
		if (navigator.appName == "Netscape") {
			hwnd.focus();
			if (IE) {
				width = hwnd.document.body.offsetWidth;
				height = hwnd.document.body.offsetHeight;
			}
			else
			{
				width = hwnd.innerWidth;
				height = hwnd.innerHeight;
			}
			hwnd.moveTo((screen.width-width)/2,(screen.height-height)/2);
		}
	}

	function getElement(id) {
		if(document.all) {
		  return document.all[id];
		} else if(document.getElementById) {
		  return document.getElementById(id);
		} else {
		  for (iLayer = 1; iLayer < document.layers.length; iLayer++) {
			 if(document.layers[iLayer].id == id)
				return document.layers[iLayer];
		  }      	
		}	
		return Null;
	}
	
	function  getWidth() {
		winW = 0;
 		if (navigator.appName.indexOf("Microsoft")!=-1) {
  			winW = document.body.offsetWidth;
 		} else {
 			winW = window.innerWidth;
 		}
		return winW;
	}
	
	function  getHeight() {
		winH = 0;
 		if (navigator.appName.indexOf("Microsoft")!=-1) {
  			winH = document.body.offsetHeight;
 		}
 		else
 		{
 			winH = window.innerHeight;
 		}
		return winH;
	}
	
	function centerWindow()
	{
		window.moveTo((screen.width-getWidth())/2,(screen.height-getHeight())/2);
	}
-->