
<!--
// file update 3/4/03
//function for popup windows --
function _newWindow(url,name,fwidth,fheight,status,directories,location,toolbar,menubar,scrollbars,resizable,vLeft,vTop,fCloseSelf,fResizeParent) {
	// setting the new window size dependng on whats passed
	switch (fwidth){
		case "max":
			fwidth = screen.width;
		break
		case "half":
			fwidth = screen.width/2;
		break
		default:
			fwidth = Number(fwidth);
			/*if(document.sPlatform.indexOf("Mac") == -1){
				fwidth += 10;// add window width for pcs
			}/**/
	}
	switch (fheight){
		case "max":
			fheight = screen.height-15;//adjust for browser chrome
			/*if(document.sPlatformType.indexOf("Mac") == -1){
				fheight -= 45;// take off extra for pcs
			}/**/
		break
		case "half":
			fheight = screen.height/2;
		break
		default:
			fheight = Number(fheight);
			/*if(document.sPlatformType.indexOf("Mac") == -1){
				fheight += 15;// add extra for pcs
			}/**/
	}
	// set the position 
	if(vLeft == "center"){vLeft = (screen.width/2) - (fwidth/2);}
	if(vTop == "center"){vTop = (screen.height/2)  - (fheight/2);}
	//alert("Top="+vTop+" Left="+vLeft);
	//
	options = ((fwidth!="")?"width="+fwidth:"")+((fheight!="")?",height="+fheight:"")+",status="+((status=="1")?"yes":"no")+",directories="+((directories=="1")?"yes":"no")+",location="+((location=="1")?"yes":"no")+",toolbar="+((toolbar=="1")?"yes":"no")+",menubar="+((menubar=="1")?"yes":"no")+",scrollbars="+((scrollbars=="1")?"yes":"no")+",resizable="+((resizable=="1")?"yes":"no")+",left="+vLeft+",top="+vTop ;
	var sWinObject = name.replace(" ","_");
	eval(sWinObject+"=window.open('"+url+"','"+sWinObject+"','"+options+"')");
	if (fCloseSelf == true){this.close();}
	
	if(fResizeParent == true){
		self.moveTo(0,0);
		window.resizeTo(screen.width,screen.height);
	};
}
//-->
