function NewWind(theurl,thewidth,theheight,IsScrolling)
{
	var browser = navigator.appName;
	var isNetscape = browser.indexOf("Microsoft") == -1 ? true: false;
	var popup;
	var thetop = 0;
	var theleft = 0;
	var screenH = 640;
	var screenW = 480;
	
	//get the resolution settings
	screenH = screen.availHeight;
	screenW = screen.availWidth;
			
	//get the left spacing based on resolution
	theleft = Math.ceil((screenW - thewidth)/2);
	thetop = Math.ceil((screenH - theheight)/2);
			
	if (isNetscape)
		popup = window.open(theurl, "Popup","top="+thetop+",left="+theleft+",width="+thewidth+",height="+theheight+",toolbar=0,menubar=0,resizable=0,status=0,location=0,directories=0,scrollbars="+IsScrolling);
	else
		popup = window.open(theurl, "Popup","top="+thetop+",left="+theleft+",width="+thewidth+",height="+theheight+",toolbar=0,menubar=0,status=0,location=0,directories=0,scrollbars="+IsScrolling);
}