function PopUpWindow(strURL, strName, strFeatures, intWidth, intHeight, intPerc) {

	/*
	Name:		PopUpWindow
	Purpose:	Opens a new browser window
	Input:		strURL - URL specifying location for document to open 
				strName - name of the window 
				strFeatures - Window chrome settings, i.e, scrollbars, menubar, and etc. 
				intWidth - width of the window 
				intHeight - height of the window 
				intPerc - percentage offset from the upper left hand corner of screen to place window, 
				i.e., 0 = left hand corner
				50 = middle of screen
	Output:		None
	*/	

	var intWinX = 0;
	var intWinY = 0;

	if (parseInt(navigator.appVersion) >= 4) {
		intWinX = (screen.availWidth - intWidth) * intPerc * 0.01;
		intWinY = (screen.availHeight - intHeight) * intPerc * 0.01;
	}

	if (strFeatures != "") {
		strFeatures += ', width=' + intWidth
	} else
	{
		strFeatures += 'width=' + intWidth
	}
	strFeatures += ',height=' + intHeight + ',left=' + intWinX + ',top=' + intWinY
	popupwin = window.open(strURL, strName, strFeatures);

}