<!--	
	function PopupForm(URL, iWidth, iHeight, iPosTop, iPosLeft) {
		/* 	Function to pup up a window with
		predetermined settings. And a passed 
		URL.
		
		Syntax: Popupwin('http://www.server.com')
		Returns: Nothing
		Modifed: 6/13/01 by David Holthaus		
		*/
	
		ClosePopupwin()
	
		features = "toolbar=false,location=false,directories=false,status=false,menubar=false,scrollbars=no,resizeable=false";
		features += ",width=" + iWidth + ",height=" + iHeight + ",top=" + iPosTop + ",left=" + iPosLeft + ",screenx=" + iPosLeft + ",screeny=" + iPosTop;

		winName = "Popup"
		Popup = window.open(URL, winName, features);		
	}
	
	function PopupwithScroll(URL, iWidth, iHeight, iPosTop, iPosLeft) {
		/* 	Function to pup up a window with
		predetermined settings. And a passed 
		URL.
		
		Syntax: Popupwin('http://www.server.com')
		Returns: Nothing
		Modifed: 6/13/01 by David Holthaus		
		*/
	
		ClosePopupwin()
	
		features = "toolbar=false,location=false,directories=false,status=false,menubar=false,scrollbars=yes,resizeable=false";
		features += ",width=" + iWidth + ",height=" + iHeight + ",top=" + iPosTop + ",left=" + iPosLeft + ",screenx=" + iPosLeft + ",screeny=" + iPosTop;

		winName = "Popup"
		Popup = window.open(URL, winName, features);		
	}
	
	
	function ClosePopupwin()
		{
		 	if (window.Popup && !(window.Popup.closed))
		  		window.Popup.close();
		}
	
	function CloseWindow(){
			window.close();
		}
		

		// Function to Validate Form Values .
		
	function TAFValidate(f) {
	
	 // Check FirstName. if Null Alert
	   if (f.elements["txtRecipientName"].value == "") {
	    f.elements["txtRecipientName"].focus();
	    alert("Please enter your friends name.")
	    return false;
	  }
		
	 // validate Email ( must match userid@domain.net )
 	if (!Email_Validator(f.elements["txtRecipientEmail"] , "Email Address")) {
	  		return (false);
	  }	 
	
	  // Check senders FirstName. if Null Alert
	   if (f.elements["txtSenderName"].value == "") {
	    f.elements["txtSenderName"].focus();
	    alert("Please enter your name.")
	    return false;
	  }
	 // validate Email ( must match userid@domain.net )
	  if (!Email_Validator(f.elements["txtSenderEmail"] , "Email Address")) {
	  		return (false);
	  	}	  
	}
	// Function to Validate Form Values .
		
	function MLValidate(f) {
	// Check Name. if Null Alert
	   if (f.elements["txtFirstName"].value == "") {
	    f.elements["txtFirstName"].focus();
	    alert("Please enter your First name.")
	    return false;
	  }
		
	 // Check Name. if Null Alert
	   if (f.elements["txtLastName"].value == "") {
	    f.elements["txtLastName"].focus();
	    alert("Please enter your Last name.")
	    return false;
	   }
	 	
	 // validate Email ( must match userid@domain.net )
 		if (!Email_Validator(f.elements["txtEmail"] , "Email Address")) {
	  		return (false);
	 		 }	 
	
	 // validate Email ( must match userid@domain.net )
 	//	var re = /\w+@\w+\.\w+/;
	//	 if (!(re.test(f.elements["txtEmail"].value))){
   //	f.elements["txtEmail"].focus();
  // 	alert("INVALID Email Address")
	//return false;
	//}

}

-->	