function checkrequired(which) {
	var pass=true;
	if (document.images) {
		for (i=0;i<which.length;i++) {
			var tempobj=which.elements[i];
			if (tempobj.name.substring(0,1)=="_") {
				// ORIG CODE - FIXED ALLOWING ALSO COMBO OBJECT BY REMOVE LAST OR STATEMENT
				//if (((tempobj.type=="text"||tempobj.type=="textarea"||tempobj.type=="password")&&tempobj.value=='')||(tempobj.type.toString().charAt(0)=="s"&&tempobj.selectedIndex==0)) {
				if (((tempobj.type=="text"||tempobj.type=="textarea"||tempobj.type=="password")&&tempobj.value=='')) {
					pass=false;
					break;
				}
			}
	  }
	}
	if (!pass) {
		shortFieldName=tempobj.name.substring(1,30).toUpperCase();
		alert("Please make sure all the required field(s) are inputed.");
		return false;
		}
	else {
		return true;
	}
}

/**************************************************************************************/

function fPopUp(theURL,winName,features) { //v2.0
	/*
	FOR EXAMPLE: fPopUp(url,'win','height=400,width=200');
	
	height - Defines the height of the window in pixels. Percentage values don't work. 
	width - Defines the width. Again, you'll have no joy with percentages. 
	left - Supported by version 4 browsers and above, this sets how far removed the window appears from the left of the screen. In pixels. 
	top - Partner to left, this pushes the window off the top of the screen. 
	resizable - Set to true or false, this may allow the user to resize the window. 
	scrollbars - Another Boolean value, this adds scrollbars to the new window. If your content may be longer then the dimensions you've specified, make sure this is set to yes. 
	toolbar - Specifies whether the basic back/forward toolbar should be visible. If there are links to follow in your new page, set this to yes. 
	menubar - Specifies whether the main toolbar (File, Edit, ...) is shown. 
	location - Specifies whether the location toolbar (address bar) is shown. 
	status - Specifies whether the new window can have a status bar. Best set to yes. For security reasons, Mozilla-based browsers always show the status bar. 
	directories - Specifies whether the directories toolbar is shown (Links toolbar in IE). 
	fullscreen - Internet Explorer-only Boolean attribute which may open the window in fullscreen. It's annoying — don't use it. 
	dependent - Netscape 4-only attribute which makes the popup dependent on the status of the main window. If the main window is closed, the popup closes with it. 
	screenX & screenY - Old Netscape attributes for defining the window's position on the page. Use left and top in their place. 
	*/
  win = window.open(theURL,winName,features);
  win.focus();
}
