						var intWidth		= 500;			// popup browser window width (pixels)

						var intHeight		= 800;			// popup browser window height (pixels)

						var intPosLeft		= 40;			// popup browser window position from left border of screen (pixels)

						var intPosTop		= 30;			// popup browser window position from top border of screen (pixels)

						var strName		= "My_Name";		// popup browser window name (alphanumeric and underscore only)



						var blnScrollbars	= 1;			// 1=show scroll bars; 0=hide

						var blnResizable	= 1;			// 1=allow resize; 0=no resize

						var blnLocation		= 0;			// 1=show address/location bar; 0=hide

						var blnMenubar		= 0;			// 1=show menu bar; 0=hide

						var blnToolbar		= 0;			// 1=show tool bar; 0=hide

						var blnStatus		= 0;			// 1=show status bar; 0=hide

						var strFilePath;

						//var strFilePath = "register.php?month=";				// URL prefix (absolute or relative path) to place in front of the selected URL



						var blnEnableSelfClose = false;			// DO NOT CHANGE UNLESS YOU KNOW WHAT YOU ARE DOING






						var strSelfCloseException = "index";		// IGNORED IF  blnEnableSelfClose = false




						var popupWin;    // initialize the variable used to identify the browser window handle



						function openWindow(url, name, wd, ht, scroll) {


						//	Close any window previously opened

						if (popupWin) {					// determine if the browser window handle is still valid

						if (popupWin.closed == false) {		// if the handle is valid, see if the window is closed

						//popupWin.close();		// if it isn't closed, close it

						}

						}



						//	Set the parameters for the popup window

						var param = "width=" +wd +",height=" +ht;	// build the parameter string with width and height

						param = param +",scrollbars=" +scroll;		// add the scrollbars option to the parameter string

						param = param +",resizable=" +blnResizable;	// add the resizable option to the parameter string

						param = param +",location=" +blnLocation;	// add the location option to the parameter string

						param = param +",menubar=" +blnMenubar;		// add the menubar option to the parameter string

						param = param +",toolbar=" +blnToolbar;		// add the toolbar option to the parameter string

						param = param +",status=" +blnStatus;		// add the status option to the parameter string

						param = param +",screenX=" +intPosLeft;		// add the left screen position option to the parameter string for Netscape

						param = param +",screenY=" +intPosTop;		// add the top screen position option to the parameter string for Netscape

						param = param +",left=" +intPosLeft;		// add the left screen position option to the parameter string for MSIE

						param = param +",top=" +intPosTop;		// add the top screen position status option to the parameter string for MSIE



						//	Determine the target URL for the popup window

						var url = strFilePath + url;			// concatenate the filepath to the url
						//alert(url);

						//	Open the popup window

						popupWin = window.open(url, name, param);	// open the window

						popupWin.focus();				// bring the window to the top



						//	Self-Close the opener window if enabled

						if (blnEnableSelfClose == true) {

						if (strSelfCloseException == "")		// disallow empty string, as all strings contain an empty string

						{strSelfCloseException = " "}		// replace the empty string with a space

						{strSelfCloseException = strSelfCloseException.toLowerCase();}		// force lowercase



						var selfurl = new String(self.location);	// identify the URL

						var urllength = selfurl.length;			// identify the URL length

						selfurl = selfurl.toLowerCase();		// force lowercase



						//		Self-Close only if URL does NOT end in slash AND does NOT contain the exception string

						if (selfurl.indexOf(strSelfCloseException) == -1 && selfurl.charAt(urllength-1) != "/") {self.close();};



						//		place focus back on the popup window again (it may lose focus on the self.close)

						popupWin.focus();

						}

						}
	function formHandlerX(path) 
	{
		var URLX;
		URLX="";
		strFilePath = path;
		if (URLX == "-") 
		{
			return
		} 
		else 
		{
			URLX="";
			openWindow(URLX,strName,intWidth,intHeight,blnScrollbars)
		}
	}

