	function isAllSpaces(myStr){

		while (myStr.substring(0, 1) == " " || myStr.substring(0, 1) == "\r") {
			if(myStr.substring(0, 1) == " ")
				myStr = myStr.substring(1, myStr.length);
			else
				myStr = myStr.substring(2, myStr.length);
		}
	
		if(myStr == ""){
			return true;
		}
		return false;
	} // end fn isAllSpaces
			
	function isSpecialChar(myString){
		var MyStr = "`@'[]|<>;/\\*&^%$#!\"~+=:;,?{}";
		for (i=0; i<myString.length; i++) {
			var MyChar = myString.substring(i,i+1);
			if (MyStr.indexOf(MyChar) != -1) {
				return true;
			}
		}
		return false;
	} // end fn isSpecialChar
	
/*function isEmail(email){
	intialval=email.charAt(0);
	     if (intialval=='@')
        return false;
	 	       
    if (intialval=="0"||intialval=="1"||intialval=="2"||intialval=="3"||intialval=="4"||intialval=="5"||intialval=="6"||intialval=="7"||intialval=="8"||intialval=="9") 
        return false;
	    
    //var illegalChars=/[\(\)\<\>\,\;\:\#\$\!\%\^\&\*\'\"\?\|+\=\-\~\`\{\}\\\/\"\[\]]/
	for(i=0;i<=email.length;i++){
	   if(email.charAt(i)=="["||email.charAt(i)=="("||email.charAt(i)==")"||email.charAt(i)=="<"||email.charAt(i)==">"||email.charAt(i)==","||email.charAt(i)==";"||email.charAt(i)==":"||email.charAt(i)=="#"||email.charAt(i)=="$"||email.charAt(i)=="!"||email.charAt(i)=="%"||email.charAt(i)=="^"||email.charAt(i)=="&"||email.charAt(i)=="*"||email.charAt(i)=="'"||email.charAt(i)=="?"||email.charAt(i)=="|"||email.charAt(i)=="\"||email.charAt(i)=="+"||email.charAt(i)=="="||email.charAt(i)=="-"||email.charAt(i)=="~"||email.charAt(i)=="{"||email.charAt(i)=="}")
       return false;
	}
		
    var filter=/^([\w-]+(?:\.[\w-]+)*)@((?:[\w-]+\.)*\w[\w-]{3,66})\.([a-z]{2,3}(?:\.[a-z]{2})?)$/i
    if (!(filter.test(email)))
       return false; 
    
    else 
       return true;    
	

} //end fn isEmail */

function isValidURL(s){

	if(s.length == 0)
		return false;

	if ( s.substring(0,7) == "http://" )
		s = s.substring(7, s.length);
	if	(	(s.indexOf(".") <= 0) || 
			(s.indexOf(" ") > -1) || 
			(s.lastIndexOf(".") == s.length -1) ||
			(s.indexOf("..") != -1) ||
			(isSpecialChar(s))
		) return false;
	else return true;
} //end fn isURL

function isValidImage(ImagePath){
	var l_Flag=false;      	
	var a=ImagePath.substring(ImagePath.length - 3,ImagePath.length);
   	var Last4=ImagePath.substring(ImagePath.length - 4,ImagePath.length);
	if (a == "gif" || a == "jpg" || Last4 == "jpeg")
  	    	l_Flag=true;
         
   return l_Flag;
}//end function isValidImage.

function checkForNums(theForm) //it returns > 0 if contains alphabets
{
	var nfound = 0;
	var alphas = " .ABCDEFGHIJKLMNOPQRSTUVWXYZ!@#$%^&*()-+`~,";
	var myValue = theForm.value.toUpperCase();
	for(count=0;count<= myValue.length-1;count++)
		{
			if (alphas.indexOf(myValue.substring(count, count+1)) == -1)
				{
				//alert(alphas.indexOf(myValue.substring(count, count+1));
				nfound++;
				}
		}
	
	return nfound;
 }
function CheckAlphas(mValue)// it returns >0 if contains numerics
{
var notFound=0;
var n="0123456789";
for (c=0; c<=mValue.length-1; c++)
	{
	if (n.indexOf(mValue.substring(c,c+1)) == -1)
		notFound++;
	}
return notFound;
}
function isAlphabet(myString)
{		
		myString = myString.toUpperCase();
		var MyStr = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
		for (i=0; i<myString.length; i++) 
		{
			var MyChar = myString.substring(i,i+1);
			if (MyStr.indexOf(MyChar) == -1) 
			{
				return false;
			}
		}
		return true;
}
	
	function isIntAll(myString){		
	var MyStr = "0123456789 ";
	for (intcount=0; intcount<myString.length; intcount++){
		var MyChar = myString.substring(intcount,intcount+1);
		if (MyStr.indexOf(MyChar) == -1){
			return false;
		}
	}
	return true;
}

	
function isInt(myString){		
	var MyStr = "0123456789 ";
	for (i=0; i<myString.length; i++){
		var MyChar = myString.substring(i,i+1);
		if (MyStr.indexOf(MyChar) == -1){
			return false;
		}
	}
	return true;
}

function isFloat(myString){		
	var MyStr = "0123456789.";
	decimal = false;
	for (i=0; i<myString.length; i++){
		var MyChar = myString.substring(i,i+1);
		if (MyStr.indexOf(MyChar) == -1 || (MyChar == "." && decimal == true)){
			return false;
		}
		if(MyChar == ".")
			decimal = true;
	}
	return true;
}

// fucntion to manipulate the check boxe
	function checkall(theform)
	{
		if(theform.deleteall.checked)
		{
			for(i=0; i < theform.elements.length; i++)
				if(theform.elements[i].type == "checkbox")
					theform.elements[i].checked = 1;
		}
		else 
		{
			for(i=0; i < theform.elements.length; i++)
				if(theform.elements[i].type == "checkbox")
					theform.elements[i].checked = 0;

		}
		
	}
	
	function checkAllChecked(theform){
		numBoxes = 0;
		checkedBoxes = 0;
		for(i = 0; i < theform.elements.length; i++){
			if(theform.elements[i].name == "del[]" ||theform.elements[i].id == "del" || theform.elements[i].name == "del"){
				numBoxes++;
				if(theform.elements[i].checked){
					checkedBoxes++;
				}
			}
		}
		if(checkedBoxes == numBoxes){
			theform.deleteall.checked = true;
		}
		else{
			theform.deleteall.checked = false;
		}
		
	}


	function confirmDel(theform)
	{
		checkedBoxes = 0;
		for(i = 0; i < theform.elements.length; i++){
			if(theform.elements[i].name == "del[]" || theform.elements[i].id == "del" || theform.elements[i].name == "del" ){
				if(theform.elements[i].checked){
					checkedBoxes++;
				}
			}
		}		
		if( checkedBoxes > 0 )
		{
			if(confirm("Are you sure your want to delete the selected image(s)")){
				return true;
			}
			else 
				return false;
		}
		else{
			alert( "You must Select at least One Record");
			return false;
		}
	}

	function isValidDate(year, month, day){
		myDate = new Date(month + "/" + day + "/" + year);
		if(parseInt(myDate.getDate()) != parseInt(day)){
		return false;
		}
		else
			return true;
	} // end fn isValidDate
	
	 var dtCh= "-";
    var minYear=1900;
    var maxYear=2100;
	

	function isDate(dtStr){
	
	 dtStr = Trim(dtStr);
	var daysInMonth = DaysArray(12)
	var pos1=dtStr.indexOf(dtCh)
	var pos2=dtStr.indexOf(dtCh,pos1+1)
	var strMonth=dtStr.substring(0,pos1)
	var strDay=dtStr.substring(pos1+1,pos2)
	var strYear=dtStr.substring(pos2+1)
	strYr=strYear
	if (strDay.charAt(0)=="0" && strDay.length>1) strDay=strDay.substring(1)
	if (strMonth.charAt(0)=="0" && strMonth.length>1) strMonth=strMonth.substring(1)
	for (var i = 1; i <= 3; i++) {
		if (strYr.charAt(0)=="0" && strYr.length>1) strYr=strYr.substring(1)
	}
	month=parseInt(strMonth)
	day=parseInt(strDay)
	year=parseInt(strYr)
	if (pos1==-1 || pos2==-1){
		alert("The date format should be : mm-dd-yyyy")
		return false
	}
	if (strMonth.length<1 || month<1 || month>12){
		alert("Please enter a valid month")
		return false
	}
	
	if (strDay.length<1 || day<1 || day>31 || (month==2 && day>daysInFebruary(year)) ){
		alert("Please enter a valid day")
		return false
	}
	if (strYear.length != 4 || year==0 || year<minYear || year>maxYear){
		alert("Please enter a valid 4 digit year between "+minYear+" and "+maxYear)
		return false
	}
	/*if (dtStr.indexOf(dtCh,pos2+1)!=-1 || isInteger(stripCharsInBag(dtStr, dtCh))==false){
		alert("Please enter a valid date")
		return false
	}*/
return true
}


function isYear(dtStr){
	var today_dat= new Date(); 
	
	var CurrentYear=today_dat.getYear(); 
	
	if (dtStr.length != 4 || dtStr==0 || dtStr<minYear || dtStr>CurrentYear){
		alert("Please enter a valid 4 digit year between "+minYear+" and "+CurrentYear)
		return false
	}
	return true
	}
	
function isInteger(s){
	var i;
    for (i = 0; i < s.length; i++){   
        // Check that current character is number.
        var c = s.charAt(i);
        if (((c < "0") || (c > "9"))) return false;
    }
    // All characters are numbers.
    return true;
}

function stripCharsInBag(s, bag){
	var i;
    var returnString = "";
    // Search through string's characters one by one.
    // If character is not in bag, append to returnString.
    for (i = 0; i < s.length; i++){   
        var c = s.charAt(i);
        if (bag.indexOf(c) == -1) returnString += c;
    }
    return returnString;
}

function daysInFebruary (year){
	// February has 29 days in any year evenly divisible by four,
    // EXCEPT for centurial years which are not also divisible by 400.
    return (((year % 4 == 0) && ( (!(year % 100 == 0)) || (year % 400 == 0))) ? 29 : 28 );
}
function DaysArray(n) {
	for (var i = 1; i <= n; i++) {
		this[i] = 31
		if (i==4 || i==6 || i==9 || i==11) {this[i] = 30}
		if (i==2) {this[i] = 29}
   } 
   return this
}
 function CompareDate(dt){
    
	var form_date = new Date(dt);  
	var today_dat= new Date(); 

    var fd=form_date.getDate(dt);
    var fm=form_date.getMonth(dt)+1;
    var fy=form_date.getYear(dt);
	form_dat=fm+"/"+fd+"/"+fy;
    
	var dd=today_dat.getDate();
    var mm=today_dat.getMonth()+1;
    var yy=today_dat.getYear(); 
    dat=mm+"/"+dd+"/"+yy;
		
	if(form_dat < dat)
	{ alert("Please enter a date higher than or equal to " + dat);
	  return false;
     }

 }

 function CheckDate(dt){
    
	var form_date = new Date(dt);   
    var today_dat= new Date();
    
	var dd=today_dat.getDate();
    var mm=today_dat.getMonth()+1;
    var yy=today_dat.getYear(); 
    dat=mm+"/"+dd+"/"+yy;
	
	if(form_date>today_dat)
	 { alert("Please enter a date less than or equal to " + dat);
	  return false;
     }
 
 }
 
 
 function isValidEmail(inputStr)
{
if (inputStr.length == 0)
    return false;
var arrTmp=inputStr.split("@");
var arrdot=(".")
if (arrTmp.length != 2) 
    return false;
return true
}


function isEmail(inputStr) {
	
	if (inputStr != "" && inputStr != null) {		
		for (var i =0; i< inputStr.length -1 ;i++){
			var oneChar = inputStr.substring(i,i+1)
			if (oneChar == "@") {
				return true
			}					
		}		
		return false
	}	
	return true
}
function compare(StartDate,EndDate,theForm)
{
//*************************************************************************
// Auther : Moahammad Tahir Naeem
// Date   : 15 oct 2003
// Desc   : Compares dates 
//************************************************************************
	var date1, date2;
    var month1, month2;
    var year1, year2;
  //  alert(StartDate+" " + EndDate);
	
   month1 =eval( StartDate.substring (0, StartDate.indexOf ("/")));

   date1 =eval( StartDate.substring (StartDate.indexOf ("/")+1, StartDate.lastIndexOf ("/")));

   year1 =eval( StartDate.substring (StartDate.lastIndexOf ("/")+1, StartDate.length));

   month2 =eval( EndDate.substring (0, EndDate.indexOf ("/")));
   date2 =eval( EndDate.substring (EndDate.indexOf ("/")+1, EndDate.lastIndexOf ("/")));
   year2 =eval( EndDate.substring (EndDate.lastIndexOf ("/")+1, EndDate.length));
	
//	alert(month1+" -- "+date1+"--" + year1);
//	alert(month2+" -- "+date2+"--" + year2);
	if (year1 < year2)
	{
	return true;
	}
   else if (year1 > year2) 
   {
//   alert(" End Date should be Higher than Start Date");
   return false;
   }
   else if (month1 < month2)
   {
   return true;
   }
   else if (month1 > month2) 
   {
//   alert("  End Date should be Higher than Start Date");
      return false;
   }
   else if (date1 > date2)
   {
//    alert("  End Date should be Higher than Start Date");
	   return false;
   }
      else if (date1 < date2)
   {
//    alert("  End Date should be Higher than Start Date");
	   return true;
   }

   
   // Fixed by Waseem. Dated 23/12/2004****************************************************
   if (date1 == date2 && month1 == month2 && year1 == year2)
    {
      return false;
   } 
   // ****************************************************Ended by Waseem Ahmed.

	
	
	return true;
	
}




function compareDateToFollowup(StartDate,EndDate,theForm)
{
//*************************************************************************
// Auther : Moahammad Tauqeer
// Date   : 29 Dec 2004
// Desc   : Compares dates 
//************************************************************************
   var date1, date2;
   var month1, month2;
   var year1, year2;
  //  alert(StartDate+" " + EndDate);
	
   month1 =eval( StartDate.substring (0, StartDate.indexOf ("/")));

   date1 =eval( StartDate.substring (StartDate.indexOf ("/")+1, StartDate.lastIndexOf ("/")));

   year1 =eval( StartDate.substring (StartDate.lastIndexOf ("/")+1, StartDate.length));

   month2 =eval( EndDate.substring (0, EndDate.indexOf ("/")));
   date2 =eval( EndDate.substring (EndDate.indexOf ("/")+1, EndDate.lastIndexOf ("/")));
   year2 =eval( EndDate.substring (EndDate.lastIndexOf ("/")+1, EndDate.length));
	
//	alert(month1+" -- "+date1+"--" + year1);
//	alert(month2+" -- "+date2+"--" + year2);
	if (year1 < year2)
	{
	return true;
	}
   else if (year1 > year2) 
   {
//   alert(" End Date should be Higher than Start Date");
   return false;
   }
   else if (month1 < month2)
   {
   return true;
   }
   else if (month1 > month2) 
   {
//   alert("  End Date should be Higher than Start Date");
      return false;
   }
   else if (date1 > date2)
   {
//    alert("  End Date should be Higher than Start Date");
	   return false;
   }
      else if (date1 < date2)
   {
//    alert("  End Date should be Higher than Start Date");
	   return true;
   }

   
	
	return true;
	
}





 function IsValidTime(timeStr) {
// Checks if time is in HH:MM:SS AM/PM format.
// The seconds and AM/PM are optional.
// Added by Mohammad Tahir Naeem
// Date  Added :  1 March 2004
var timePat = /^(\d{1,2}):(\d{2})(:(\d{2}))?(\s?(AM|am|PM|pm))?$/;

var matchArray = timeStr.match(timePat);
if (matchArray == null) {
alert("Time is not in a valid format.");
return false;
}
hour = matchArray[1];
minute = matchArray[2];
second = matchArray[4];
ampm = matchArray[6];

if (second=="") { second = null; }
if (ampm=="") { ampm = null }

if (hour < 0  || hour > 23) {
alert("Hour must be between 1 and 12. (or 0 and 23 for military time)");
return false;
}
if (hour <= 12 && ampm == null) {
if (confirm("Please indicate which time format you are using. \n OK = Standard Time \n CANCEL = Military Time")) {
alert("You must specify AM or PM.");
return false;
   }
}
if  (hour > 12 && ampm != null) {
alert("You can't specify AM or PM for military time.");
return false;
}
if (minute<0 || minute > 59) {
alert ("Minute must be between 0 and 59.");
return false;
}
if (second != null && (second < 0 || second > 59)) {
alert ("Second must be between 0 and 59.");
return false;
}
return true;
}

function IsTime(timeStr) {

var timePat = /^(\d{1,2}):(\d{2})(:(\d{2}))?(\s?)?$/;

var matchArray = timeStr.match(timePat);
if (matchArray == null) {
alert("Time is not in a valid format.");
return false;
}
hour = matchArray[1];
minute = matchArray[2];
second = matchArray[4];
ampm = matchArray[6];

if (second=="") { second = null; }


if (hour < 0  || hour > 12) {
alert("Hour must be between 1 and 12. ");
return false;
}


if (minute<0 || minute > 59) {
alert ("Minute must be between 0 and 59.");
return false;
}
if (second != null && (second < 0 || second > 59)) {
alert ("Second must be between 0 and 59.");
return false;
}
return true;
}

//**********************************************************************************

function emailCheck (emailStr) {
/* The following pattern is used to check if the entered e-mail address
   fits the user@domain format.  It also is used to separate the username
   from the domain. */
var emailPat=/^(.+)@(.+)$/
/* The following string represents the pattern for matching all special
   characters.  We don't want to allow special characters in the address. 
   These characters include ( ) < > @ , ; : \ " . [ ]    */
var specialChars="\\(\\)<>@,;:\\\\\\\"\\.\\[\\]"
/* The following string represents the range of characters allowed in a 
   username or domainname.  It really states which chars aren't allowed. */
var validChars="\[^\\s" + specialChars + "\]"
/* The following pattern applies if the "user" is a quoted string (in
   which case, there are no rules about which characters are allowed
   and which aren't; anything goes).  E.g. "jiminy cricket"@disney.com
   is a legal e-mail address. */
var quotedUser="(\"[^\"]*\")"
/* The following pattern applies for domains that are IP addresses,
   rather than symbolic names.  E.g. joe@[123.124.233.4] is a legal
   e-mail address. NOTE: The square brackets are required. */
var ipDomainPat=/^\[(\d{1,3})\.(\d{1,3})\.(\d{1,3})\.(\d{1,3})\]$/
/* The following string represents an atom (basically a series of
   non-special characters.) */
var atom=validChars + '+'
/* The following string represents one word in the typical username.
   For example, in john.doe@somewhere.com, john and doe are words.
   Basically, a word is either an atom or quoted string. */
var word="(" + atom + "|" + quotedUser + ")"
// The following pattern describes the structure of the user
var userPat=new RegExp("^" + word + "(\\." + word + ")*$")
/* The following pattern describes the structure of a normal symbolic
   domain, as opposed to ipDomainPat, shown above. */
var domainPat=new RegExp("^" + atom + "(\\." + atom +")*$")


/* Finally, let's start trying to figure out if the supplied address is
   valid. */

/* Begin with the coarse pattern to simply break up user@domain into
   different pieces that are easy to analyze. */
var matchArray=emailStr.match(emailPat)
if (matchArray==null) {
  /* Too many/few @'s or something; basically, this address doesn't
     even fit the general mould of a valid e-mail address. */
	alert("Email address seems incorrect (check @ and .'s)")
	return false
}
var user=matchArray[1]
var domain=matchArray[2]

// See if "user" is valid 
if (user.match(userPat)==null) {
    // user is not valid
    alert("The username doesn't seem to be valid.")
    return false
}

/* if the e-mail address is at an IP address (as opposed to a symbolic
   host name) make sure the IP address is valid. */
var IPArray=domain.match(ipDomainPat)
if (IPArray!=null) {
    // this is an IP address
	  for (var i=1;i<=4;i++) {
	    if (IPArray[i]>255) {
	        alert("Destination IP address is invalid!")
		return false
	    }
    }
    return true
}

// Domain is symbolic name
var domainArray=domain.match(domainPat)
if (domainArray==null) {
	alert("The domain name doesn't seem to be valid.")
    return false
}

/* domain name seems valid, but now make sure that it ends in a
   three-letter word (like com, edu, gov) or a two-letter word,
   representing country (uk, nl), and that there's a hostname preceding 
   the domain or country. */

/* Now we need to break up the domain to get a count of how many atoms
   it consists of. */
var atomPat=new RegExp(atom,"g")
var domArr=domain.match(atomPat)
var len=domArr.length
if (domArr[domArr.length-1].length<2 || 
    domArr[domArr.length-1].length>3) {
   // the address must end in a two letter or three letter word.
   alert("The address must end in a three-letter domain, or two letter country.")
   return false
}

// Make sure there's a host name preceding the domain.
if (len<2) {
   var errStr="This address is missing a hostname!"
   alert(errStr)
   return false
}

// If we've gotten this far, everything's valid!
return true;
}
//  End -->



//******************************************************************************************
 ///////Caps lock lock//////////////
 
 function checkCapsLock( e ) {
	var myKeyCode=0;
	var myShiftKey=false;
	var myMsg='Caps Lock is On.\n\nTo prevent entering your password incorrectly,\nyou should press Caps Lock to turn it off.';

	// Internet Explorer 4+
	if ( document.all ) {
		myKeyCode=e.keyCode;
		myShiftKey=e.shiftKey;

	// Netscape 4
	} else if ( document.layers ) {
		myKeyCode=e.which;
		myShiftKey=( myKeyCode == 16 ) ? true : false;

	// Netscape 6
	} else if ( document.getElementById ) {
		myKeyCode=e.which;
		myShiftKey=( myKeyCode == 16 ) ? true : false;

	}

	// Upper case letters are seen without depressing the Shift key, therefore Caps Lock is on
	if ( ( myKeyCode >= 65 && myKeyCode <= 90 ) && !myShiftKey ) {
		alert( myMsg );

	// Lower case letters are seen while depressing the Shift key, therefore Caps Lock is on
	} else if ( ( myKeyCode >= 97 && myKeyCode <= 122 ) && myShiftKey ) {
		alert( myMsg );

	}
}





/*
==================================================================
LTrim(string) : Returns a copy of a string without leading spaces.
==================================================================
*/
function LTrim(str)
/*
   PURPOSE: Remove leading blanks from our string.
   IN: str - the string we want to LTrim
*/
{
   var whitespace = new String(" \t\n\r");

   var s = new String(str);

   if (whitespace.indexOf(s.charAt(0)) != -1) {
      // We have a string with leading blank(s)...

      var j=0, i = s.length;

      // Iterate from the far left of string until we
      // don't have any more whitespace...
      while (j < i && whitespace.indexOf(s.charAt(j)) != -1)
         j++;

      // Get the substring from the first non-whitespace
      // character to the end of the string...
      s = s.substring(j, i);
   }
   return s;
}

/*
==================================================================
RTrim(string) : Returns a copy of a string without trailing spaces.
==================================================================
*/
function RTrim(str)
/*
   PURPOSE: Remove trailing blanks from our string.
   IN: str - the string we want to RTrim

*/
{
   // We don't want to trip JUST spaces, but also tabs,
   // line feeds, etc.  Add anything else you want to
   // "trim" here in Whitespace
   var whitespace = new String(" \t\n\r");

   var s = new String(str);

   if (whitespace.indexOf(s.charAt(s.length-1)) != -1) {
      // We have a string with trailing blank(s)...

      var i = s.length - 1;       // Get length of string

      // Iterate from the far right of string until we
      // don't have any more whitespace...
      while (i >= 0 && whitespace.indexOf(s.charAt(i)) != -1)
         i--;


      // Get the substring from the front of the string to
      // where the last non-whitespace character is...
      s = s.substring(0, i+1);
   }

   return s;
}

/*
=============================================================
Trim(string) : Returns a copy of a string without leading or trailing spaces
=============================================================
*/
function Trim(str)
/*
   PURPOSE: Remove trailing and leading blanks from our string.
   IN: str - the string we want to Trim

   RETVAL: A Trimmed string!
*/
{
   return RTrim(LTrim(str));
}
function dateDiff(date1,date2) {
	// Auther : Mohammad Tahir Naeem 
	// Date Developed : April 28 , 2004 12:53:42 PM
	
		date1 = new Date(date1+ " " + "12:00:00 AM");
		date2 = new Date(date2+ " " + "12:00:00 AM");
		diff  = new Date();
		
		// sets difference date to difference of first date and second date
		
		diff.setTime(Math.abs(date1.getTime() - date2.getTime()));
		
		timediff = diff.getTime();
		
		months = Math.floor(timediff / (1000 * 60 * 60 * 24 *30));
		//timediff -= weeks * (1000 * 60 * 60 * 24 * 7);
		return months; // form should never submit, returns false
}


