<!--	
	function Popupwin(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 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 )
 		var re = /\w+@\w+\.\w+/;
		 if (!(re.test(f.elements["txtRecipientEmail"].value))){
   	f.elements["txtRecipientEmail"].focus();
   	alert("INVALID 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 )
 			var re = /\w+@\w+\.\w+/;
		 	if (!(re.test(f.elements["txtSenderEmail"].value))){
  			 f.elements["txtSenderEmail"].focus();
   		alert("INVALID Email Address")
		return false;
		}
	  }
-->	