function checkform()
{



	//VALIDATION FOR CHECK BOX
	/*if ((!(document.addevent.category1.selected)) && (!(document.addevent.category2.selected)) && 		
		(!(document.addevent.category3.selected)) && (!(document.addevent.category4.selected)) && (!(document.addevent.category5.selected)) && (!(document.addevent.category6.selected)))
		{
			alert("Please select a category");
			document.addevent.category1.focus();			
			return false;
		}*/


	//VALIDATION FOR RADIO BUTTON
	/*if ((document.addevent.radio1.selected==false) && (document.addevent.radioother.selected==false))
		{
			alert("Please select a choice to show how you find our web site");
			document.addevent.radio1.focus();			
			return false;
		}
	if ((document.addevent.radio1.selected==false) && (document.addevent.radioother.value==''))
		{
			alert("You selected other option to show how you find our web site.\n\nPlease enter how you know.");
			document.addevent.radiovalue.focus();			
			return false;
		}*/
	//VALIDATION FOR NAME
	if(document.feedback.name.value=='')
	{
		alert("Please enter your Name");
		document.feedback.name.focus();
		document.feedback.name.select();
		return false;
	}
	else if((document.feedback.name.value.substring(0, 1)==' ')||(document.feedback.name.value.substring(0, 1)=='.'))
	{
		alert("First character of a name should not be space");
		document.feedback.name.focus();
		document.feedback.name.select();
		return false;
	}
	for (var i = 0; i < document.feedback.name.value.length; i++) 
	{
		var ch = document.feedback.name.value.substring(i, i + 1);
		if (((ch < "a" || "z" < ch) && (ch < "A" || "Z" < ch)) && ch != ' ' && ch!='.') 
		{
			alert("\nThe Name field only accepts letters & spaces.\n\nPlease re-enter your Name.");
			document.feedback.name.focus();
			document.feedback.name.select();
			return false;
		}
	}


	//VALIDATION FOR EMail ADDRESS
	var x = document.feedback.email.value;
	if(x=='')
	{
		alert("Enter your EMail I.D");
		document.feedback.email.focus();
		document.feedback.email.select();
		return false;
	}
	for (var i = 0, count1=0, count2=0; i < x.length; i++) 
	{
		var ch=x.substring(i, i + 1);
		if(ch=='@')
		count1++;
		if(ch=='.')
		count2++;
	}
	if((count1!=1)||(count2<1))
	{
		alert("Enter a proper EMail I.D \n\ne.g., username@xxxxxx.yyy");
		document.feedback.email.focus();
		document.feedback.email.select();
		return false;
	} 	
	for(var i=0; i<x.length; i++) 
	{
		var ch = x.substring(i, i + 1);
		if (((ch < "a" || "z" < ch) && (ch < "A" || "Z" < ch)) && ch != '@' && ch!='.' && ch!='_' && ch!='-' && isNaN(ch)) 
		{
			alert("\nThe EMail I.D field only accepts letters, numbers and -,  _,  .\n\nPlease re-enter your EMail I.D.");
			document.feedback.email.select();
			document.feedback.email.focus();
			return false;
		}
	}
	for(i=0; i<x.length; i++)
	{
		ch = x.substring(i, i+1);
		if(ch == '@')
		break;
	}
	ch = x.substring(0, i);
	if (((ch< "a" || "z" < ch) && (ch < "A" || "Z" < ch)) && ch!='.' && ch!='_' && ch!='-' && isNaN(ch))
	{
		alert("\nThe EMail I.D field only accepts letters, numbers and -,  _,  .\n\nPlease re-enter your EMail I.D.");
		document.feedback.email.select();
		document.feedback.email.focus();
		return false;
	}
	for(j=i+1; j<x.length; j++)
	{
		ch = x.substring(j, j+1);
		if(ch == '.')
		break;
	}
	ch = x.substring(i+1, j);
	if ((ch< "a" || "z" < ch) && (ch < "A" || "Z" < ch))
	{
		alert("\nEnter proper EMail I.D");
		document.feedback.email.select();
		document.feedback.email.focus();
		return false;
	}
	ch = x.substring(j+1);
	if ((ch< "a" || "z" < ch) && (ch < "A" || "Z" < ch))
	{
		alert("\nEnter proper EMail I.D");
		document.feedback.email.select();
		document.feedback.email.focus();
		return false;
	}


	//VALIDATION FOR Job title
	if(document.feedback.jobtitle.value=='')
	{
		alert("Please enter your Job Title");
		document.feedback.jobtitle.focus();
		document.feedback.jobtitle.select();
		return false;
	}
	else if((document.feedback.jobtitle.value.substring(0, 1)==' ')||(document.feedback.jobtitle.value.substring(0, 1)=='.'))
	{
		alert("First character of a name should not be space");
		document.feedback.jobtitle.focus();
		document.feedback.jobtitle.select();
		return false;
	}
	for (var i = 0; i < document.feedback.jobtitle.value.length; i++) 
	{
		var ch = document.feedback.jobtitle.value.substring(i, i + 1);
		if (((ch < "a" || "z" < ch) && (ch < "A" || "Z" < ch)) && ch != ' ' && ch!='.') 
		{
			alert("\nThe Job Title field only accepts letters & spaces.\n\nPlease re-enter your Job Title.");
			document.feedback.jobtitle.focus();
			document.feedback.jobtitle.select();
			return false;
		}
	}

	

	

	//VALIDATION FOR Organization
	if(document.feedback.organization.value=='')
	{
		alert("Please enter your Organization");
		document.feedback.organization.focus();
		document.feedback.organization.select();
		return false;
	}

	



	//VALIDATION FOR EVENT DATE

	/*if(document.addevent.eventdate.value!='')
	{		
		if(document.addevent.eventdate.value.length!=10)
		{
			alert("Enter proper date(Eg.,MM/DD/YYYY).");
			document.addevent.eventdate.focus();
			document.addevent.eventdate.select();
			return false;
		}
		for (var i = 0; i < document.addevent.eventdate.value.length; i++) 
		{
			var ch = document.addevent.eventdate.value.substring(i, i + 1);
			if ((ch < 0 || 9 < ch) && (ch != '/') && (ch!='.') && (ch!='-')) 
			{
				alert("Enter proper date(Eg.,MM/DD/YYYY).");
				document.addevent.eventdate.focus();
				document.addevent.eventdate.select();
				return false;
			}
		}
	}*/

	//VALIDATION FOR Phone number

	if(document.feedback.phone.value=='')
	{
		alert("Please enter your Phone number");
		document.feedback.phone.focus();
		document.feedback.phone.select();
		return false;
	}

	if(document.feedback.phone.value!='')
	{		
		if(document.feedback.phone.value.length<=10)
		{
			alert("Please enter correct phone number");
			document.feedback.phone.focus();
			document.feedback.phone.select();
			return false;
		}
		for (var i = 0; i < document.feedback.phone.value.length; i++) 
		{
			var ch = document.feedback.phone.value.substring(i, i + 1);
			if ((ch < 0 || 9 < ch) && (ch != '(') && (ch!='.') && (ch!='-') && (ch!=')')) 
			{
				alert("Please enter correct phone number");
				document.feedback.phone.focus();
				document.feedback.phone.select();
				return false;
			}
		}
	}

	//VALIDATION FOR City
	if(document.feedback.city.value=='')
	{
		alert("Please enter your City");
		document.feedback.city.focus();
		document.feedback.city.select();
		return false;
	}
	else if((document.feedback.city.value.substring(0, 1)==' ')||(document.feedback.city.value.substring(0, 1)=='.'))
	{
		alert("First character of a name should not be space");
		document.feedback.city.focus();
		document.feedback.city.select();
		return false;
	}
	for (var i = 0; i < document.feedback.city.value.length; i++) 
	{
		var ch = document.feedback.city.value.substring(i, i + 1);
		if (((ch < "a" || "z" < ch) && (ch < "A" || "Z" < ch)) && ch != ' ' && ch!='.') 
		{
			alert("\nThe City field only accepts letters & spaces.\n\nPlease re-enter your City.");
			document.feedback.city.focus();
			document.feedback.city.select();
			return false;
		}
	}

	//VALIDATION FOR STATE
	/*if(document.feedback.state.value=='')
	{
		alert("Please enter your Course Title");
		document.feedback.course.focus();
		document.feedback.course.select();
		return false;
	}*/

	//VALIDATION FOR Course Title
	if(document.feedback.course.value=='')
	{
		alert("Please enter your Course Title");
		document.feedback.course.focus();
		document.feedback.course.select();
		return false;
	}
}


function tellform()
{
//VALIDATION FOR Friend's name
	if(document.tellafriend.friendname.value=='')
	{
		alert("Please enter your Friend's name");
		document.tellafriend.friendname.focus();
		document.tellafriend.friendname.select();
		return false;
	}
	else if((document.tellafriend.friendname.value.substring(0, 1)==' ')||(document.tellafriend.friendname.value.substring(0, 1)=='.'))
	{
		alert("First character of a name should not be space");
		document.tellafriend.friendname.focus();
		document.tellafriend.friendname.select();
		return false;
	}
	for (var i = 0; i < document.tellafriend.friendname.value.length; i++) 
	{
		var ch = document.tellafriend.friendname.value.substring(i, i + 1);
		if (((ch < "a" || "z" < ch) && (ch < "A" || "Z" < ch)) && ch != ' ' && ch!='.') 
		{
			alert("\nThe Friend's name field only accepts letters & spaces.\n\nPlease re-enter your Friend's name.");
			document.tellafriend.friendname.focus();
			document.tellafriend.friendname.select();
			return false;
		}
	}


	//VALIDATION FOR Friend's email
	var x = document.tellafriend.friendemail.value;
	if(x=='')
	{
		alert("Enter your Friend's EMail ID");
		document.tellafriend.friendemail.focus();
		document.tellafriend.friendemail.select();
		return false;
	}
	for (var i = 0, count1=0, count2=0; i < x.length; i++) 
	{
		var ch=x.substring(i, i + 1);
		if(ch=='@')
		count1++;
		if(ch=='.')
		count2++;
	}
	if((count1!=1)||(count2<1))
	{
		alert("Enter a proper EMail I.D \n\ne.g., username@xxxxxx.yyy");
		document.tellafriend.friendemail.focus();
		document.tellafriend.friendemail.select();
		return false;
	} 	
	for(var i=0; i<x.length; i++) 
	{
		var ch = x.substring(i, i + 1);
		if (((ch < "a" || "z" < ch) && (ch < "A" || "Z" < ch)) && ch != '@' && ch!='.' && ch!='_' && ch!='-' && isNaN(ch)) 
		{
			alert("\nThe EMail I.D field only accepts letters, numbers and -,  _,  .\n\nPlease re-enter your Friend's EMail ID");
			document.tellafriend.friendemail.select();
			document.tellafriend.friendemail.focus();
			return false;
		}
	}
	for(i=0; i<x.length; i++)
	{
		ch = x.substring(i, i+1);
		if(ch == '@')
		break;
	}
	ch = x.substring(0, i);
	if (((ch< "a" || "z" < ch) && (ch < "A" || "Z" < ch)) && ch!='.' && ch!='_' && ch!='-' && isNaN(ch))
	{
		alert("\nThe EMail I.D field only accepts letters, numbers and -,  _,  .\n\nPlease re-enter your Friend's EMail ID");
		document.tellafriend.friendemail.select();
		document.tellafriend.friendemail.focus();
		return false;
	}
	for(j=i+1; j<x.length; j++)
	{
		ch = x.substring(j, j+1);
		if(ch == '.')
		break;
	}
	ch = x.substring(i+1, j);
	if ((ch< "a" || "z" < ch) && (ch < "A" || "Z" < ch))
	{
		alert("\nEnter proper EMail I.D");
		document.tellafriend.friendemail.select();
		document.tellafriend.friendemail.focus();
		return false;
	}
	ch = x.substring(j+1);
	if ((ch< "a" || "z" < ch) && (ch < "A" || "Z" < ch))
	{
		alert("\nEnter proper EMail I.D");
		document.tellafriend.friendemail.select();
		document.tellafriend.friendemail.focus();
		return false;
	}




	//VALIDATION FOR My name
	if(document.tellafriend.myname.value=='')
	{
		alert("Please enter your Name");
		document.tellafriend.myname.focus();
		document.tellafriend.myname.select();
		return false;
	}
	else if((document.tellafriend.myname.value.substring(0, 1)==' ')||(document.tellafriend.myname.value.substring(0, 1)=='.'))
	{
		alert("First character of a name should not be space");
		document.tellafriend.myname.focus();
		document.tellafriend.myname.select();
		return false;
	}
	for (var i = 0; i < document.tellafriend.myname.value.length; i++) 
	{
		var ch = document.tellafriend.myname.value.substring(i, i + 1);
		if (((ch < "a" || "z" < ch) && (ch < "A" || "Z" < ch)) && ch != ' ' && ch!='.') 
		{
			alert("\nThe Name field only accepts letters & spaces.\n\nPlease re-enter your Name.");
			document.tellafriend.myname.focus();
			document.tellafriend.myname.select();
			return false;
		}
	}


	//VALIDATION FOR My email
	var x = document.tellafriend.myemail.value;
	if(x=='')
	{
		alert("Enter your EMail ID");
		document.tellafriend.myemail.focus();
		document.tellafriend.myemail.select();
		return false;
	}
	for (var i = 0, count1=0, count2=0; i < x.length; i++) 
	{
		var ch=x.substring(i, i + 1);
		if(ch=='@')
		count1++;
		if(ch=='.')
		count2++;
	}
	if((count1!=1)||(count2<1))
	{
		alert("Enter a proper EMail I.D \n\ne.g., username@xxxxxx.yyy");
		document.tellafriend.myemail.focus();
		document.tellafriend.myemail.select();
		return false;
	} 	
	for(var i=0; i<x.length; i++) 
	{
		var ch = x.substring(i, i + 1);
		if (((ch < "a" || "z" < ch) && (ch < "A" || "Z" < ch)) && ch != '@' && ch!='.' && ch!='_' && ch!='-' && isNaN(ch)) 
		{
			alert("\nThe EMail I.D field only accepts letters, numbers and -,  _,  .\n\nPlease re-enter your EMail ID");
			document.tellafriend.myemail.select();
			document.tellafriend.myemail.focus();
			return false;
		}
	}
	for(i=0; i<x.length; i++)
	{
		ch = x.substring(i, i+1);
		if(ch == '@')
		break;
	}
	ch = x.substring(0, i);
	if (((ch< "a" || "z" < ch) && (ch < "A" || "Z" < ch)) && ch!='.' && ch!='_' && ch!='-' && isNaN(ch))
	{
		alert("\nThe EMail I.D field only accepts letters, numbers and -,  _,  .\n\nPlease re-enter your EMail I.D.");
		document.tellafriend.myemail.select();
		document.tellafriend.myemail.focus();
		return false;
	}
	for(j=i+1; j<x.length; j++)
	{
		ch = x.substring(j, j+1);
		if(ch == '.')
		break;
	}
	ch = x.substring(i+1, j);
	if ((ch< "a" || "z" < ch) && (ch < "A" || "Z" < ch))
	{
		alert("\nEnter proper EMail I.D");
		document.tellafriend.myemail.select();
		document.tellafriend.myemail.focus();
		return false;
	}
	ch = x.substring(j+1);
	if ((ch< "a" || "z" < ch) && (ch < "A" || "Z" < ch))
	{
		alert("\nEnter proper EMail I.D");
		document.tellafriend.myemail.select();
		document.tellafriend.myemail.focus();
		return false;
	}
}


function conform()
{

//VALIDATION FOR CONTACT FORM FIRST NAME
	if(document.contactform.contact_firstname.value=='')
	{
		alert("Please enter your First Name");
		document.contactform.contact_firstname.focus();
		document.contactform.contact_firstname.select();
		return false;
	}
	else if((document.contactform.contact_firstname.value.substring(0, 1)==' ')||(document.contactform.contact_firstname.value.substring(0, 1)=='.'))
	{
		alert("First character of a name should not be space");
		document.contactform.contact_firstname.focus();
		document.contactform.contact_firstname.select();
		return false;
	}
	for (var i = 0; i < document.contactform.contact_firstname.value.length; i++) 
	{
		var ch = document.contactform.contact_firstname.value.substring(i, i + 1);
		if (((ch < "a" || "z" < ch) && (ch < "A" || "Z" < ch)) && ch != ' ' && ch!='.') 
		{
			alert("\nThe Name field only accepts letters & spaces.\n\nPlease re-enter your First Name.");
			document.contactform.contact_firstname.focus();
			document.contactform.contact_firstname.select();
			return false;
		}
	}


//VALIDATION FOR CONTACT FORM LAST NAME
	if(document.contactform.contact_lastname.value=='')
	{
		alert("Please enter your Last Name");
		document.contactform.contact_lastname.focus();
		document.contactform.contact_lastname.select();
		return false;
	}
	else if((document.contactform.contact_lastname.value.substring(0, 1)==' ')||(document.contactform.contact_lastname.value.substring(0, 1)=='.'))
	{
		alert("First character of a name should not be space");
		document.contactform.contact_lastname.focus();
		document.contactform.contact_lastname.select();
		return false;
	}
	for (var i = 0; i < document.contactform.contact_lastname.value.length; i++) 
	{
		var ch = document.contactform.contact_lastname.value.substring(i, i + 1);
		if (((ch < "a" || "z" < ch) && (ch < "A" || "Z" < ch)) && ch != ' ' && ch!='.') 
		{
			alert("\nThe Name field only accepts letters & spaces.\n\nPlease re-enter your Last Name.");
			document.contactform.contact_lastname.focus();
			document.contactform.contact_lastname.select();
			return false;
		}
	}


	//VALIDATION FOR CONTACT FORM EMail ADDRESS
	var x = document.contactform.contact_email.value;
	if(x=='')
	{
		alert("Enter your EMail I.D");
		document.contactform.contact_email.focus();
		document.contactform.contact_email.select();
		return false;
	}
	for (var i = 0, count1=0, count2=0; i < x.length; i++) 
	{
		var ch=x.substring(i, i + 1);
		if(ch=='@')
		count1++;
		if(ch=='.')
		count2++;
	}
	if((count1!=1)||(count2<1))
	{
		alert("Enter a proper EMail I.D \n\ne.g., username@xxxxxx.yyy");
		document.contactform.contact_email.focus();
		document.contactform.contact_email.select();
		return false;
	} 	
	for(var i=0; i<x.length; i++) 
	{
		var ch = x.substring(i, i + 1);
		if (((ch < "a" || "z" < ch) && (ch < "A" || "Z" < ch)) && ch != '@' && ch!='.' && ch!='_' && ch!='-' && isNaN(ch)) 
		{
			alert("\nThe EMail I.D field only accepts letters, numbers and -,  _,  .\n\nPlease re-enter your EMail I.D.");
			document.contactform.contact_email.select();
			document.contactform.contact_email.focus();
			return false;
		}
	}
	for(i=0; i<x.length; i++)
	{
		ch = x.substring(i, i+1);
		if(ch == '@')
		break;
	}
	ch = x.substring(0, i);
	if (((ch< "a" || "z" < ch) && (ch < "A" || "Z" < ch)) && ch!='.' && ch!='_' && ch!='-' && isNaN(ch))
	{
		alert("\nThe EMail I.D field only accepts letters, numbers and -,  _,  .\n\nPlease re-enter your EMail I.D.");
		document.contactform.contact_email.select();
		document.contactform.contact_email.focus();
		return false;
	}
	for(j=i+1; j<x.length; j++)
	{
		ch = x.substring(j, j+1);
		if(ch == '.')
		break;
	}
	ch = x.substring(i+1, j);
	if ((ch< "a" || "z" < ch) && (ch < "A" || "Z" < ch))
	{
		alert("\nEnter proper EMail I.D");
		document.contactform.contact_email.select();
		document.contactform.contact_email.focus();
		return false;
	}
	ch = x.substring(j+1);
	if ((ch< "a" || "z" < ch) && (ch < "A" || "Z" < ch))
	{
		alert("\nEnter proper EMail I.D");
		document.contactform.contact_email.select();
		document.contactform.contact_email.focus();
		return false;
	}
}


function faqform()
{

//VALIDATION FOR FAQ FORM FIRST NAME
	if(document.faq.faq_firstname.value=='')
	{
		alert("Please enter your First Name");
		document.faq.faq_firstname.focus();
		document.faq.faq_firstname.select();
		return false;
	}
	else if((document.faq.faq_firstname.value.substring(0, 1)==' ')||(document.faq.faq_firstname.value.substring(0, 1)=='.'))
	{
		alert("First character of a name should not be space");
		document.faq.faq_firstname.focus();
		document.faq.faq_firstname.select();
		return false;
	}
	for (var i = 0; i < document.faq.faq_firstname.value.length; i++) 
	{
		var ch = document.faq.faq_firstname.value.substring(i, i + 1);
		if (((ch < "a" || "z" < ch) && (ch < "A" || "Z" < ch)) && ch != ' ' && ch!='.') 
		{
			alert("\nThe Name field only accepts letters & spaces.\n\nPlease re-enter your First Name.");
			document.faq.faq_firstname.focus();
			document.faq.faq_firstname.select();
			return false;
		}
	}


//VALIDATION FOR FAQ FORM LAST NAME
	if(document.faq.faq_lastname.value=='')
	{
		alert("Please enter your Last Name");
		document.faq.faq_lastname.focus();
		document.faq.faq_lastname.select();
		return false;
	}
	else if((document.faq.faq_lastname.value.substring(0, 1)==' ')||(document.faq.faq_lastname.value.substring(0, 1)=='.'))
	{
		alert("First character of a name should not be space");
		document.faq.faq_lastname.focus();
		document.faq.faq_lastname.select();
		return false;
	}
	for (var i = 0; i < document.faq.faq_lastname.value.length; i++) 
	{
		var ch = document.faq.faq_lastname.value.substring(i, i + 1);
		if (((ch < "a" || "z" < ch) && (ch < "A" || "Z" < ch)) && ch != ' ' && ch!='.') 
		{
			alert("\nThe Name field only accepts letters & spaces.\n\nPlease re-enter your Last Name.");
			document.faq.faq_lastname.focus();
			document.faq.faq_lastname.select();
			return false;
		}
	}


	//VALIDATION FOR FAQ FORM EMail ADDRESS
	var x = document.faq.faq_email.value;
	if(x=='')
	{
		alert("Enter your EMail I.D");
		document.faq.faq_email.focus();
		document.faq.faq_email.select();
		return false;
	}
	for (var i = 0, count1=0, count2=0; i < x.length; i++) 
	{
		var ch=x.substring(i, i + 1);
		if(ch=='@')
		count1++;
		if(ch=='.')
		count2++;
	}
	if((count1!=1)||(count2<1))
	{
		alert("Enter a proper EMail I.D \n\ne.g., username@xxxxxx.yyy");
		document.faq.faq_email.focus();
		document.faq.faq_email.select();
		return false;
	} 	
	for(var i=0; i<x.length; i++) 
	{
		var ch = x.substring(i, i + 1);
		if (((ch < "a" || "z" < ch) && (ch < "A" || "Z" < ch)) && ch != '@' && ch!='.' && ch!='_' && ch!='-' && isNaN(ch)) 
		{
			alert("\nThe EMail I.D field only accepts letters, numbers and -,  _,  .\n\nPlease re-enter your EMail I.D.");
			document.faq.faq_email.select();
			document.faq.faq_email.focus();
			return false;
		}
	}
	for(i=0; i<x.length; i++)
	{
		ch = x.substring(i, i+1);
		if(ch == '@')
		break;
	}
	ch = x.substring(0, i);
	if (((ch< "a" || "z" < ch) && (ch < "A" || "Z" < ch)) && ch!='.' && ch!='_' && ch!='-' && isNaN(ch))
	{
		alert("\nThe EMail I.D field only accepts letters, numbers and -,  _,  .\n\nPlease re-enter your EMail I.D.");
		document.faq.faq_email.select();
		document.faq.faq_email.focus();
		return false;
	}
	for(j=i+1; j<x.length; j++)
	{
		ch = x.substring(j, j+1);
		if(ch == '.')
		break;
	}
	ch = x.substring(i+1, j);
	if ((ch< "a" || "z" < ch) && (ch < "A" || "Z" < ch))
	{
		alert("\nEnter proper EMail I.D");
		document.faq.faq_email.select();
		document.faq.faq_email.focus();
		return false;
	}
	ch = x.substring(j+1);
	if ((ch< "a" || "z" < ch) && (ch < "A" || "Z" < ch))
	{
		alert("\nEnter proper EMail I.D");
		document.faq.faq_email.select();
		document.faq.faq_email.focus();
		return false;
	}
}

function check_submitform()
{

   	//VALIDATION FOR EMail ADDRESS
	var x = document.signup.e_mail.value;
	if(x=='')
	{
		alert("Enter your EMail I.D");
		document.signup.e_mail.focus();
		document.signup.e_mail.select();
		return false;
	}
	for (var i = 0, count1=0, count2=0; i < x.length; i++) 
	{
		var ch=x.substring(i, i + 1);
		if(ch=='@')
		count1++;
		if(ch=='.')
		count2++;
	}
	if((count1!=1)||(count2<1))
	{
		alert("Enter a proper EMail I.D \n\ne.g., username@xxxxxx.yyy");
		document.signup.e_mail.focus();
		document.signup.e_mail.select();
		return false;
	} 	
	for(var i=0; i<x.length; i++) 
	{
		var ch = x.substring(i, i + 1);
		if (((ch < "a" || "z" < ch) && (ch < "A" || "Z" < ch)) && ch != '@' && ch!='.' && ch!='_' && ch!='-' && isNaN(ch)) 
		{
			alert("\nThe EMail I.D field only accepts letters, numbers and -,  _,  .\n\nPlease re-enter your EMail I.D.");
			document.signup.e_mail.select();
			document.signup.e_mail.focus();
			return false;
		}
	}
	for(i=0; i<x.length; i++)
	{
		ch = x.substring(i, i+1);
		if(ch == '@')
		break;
	}
	ch = x.substring(0, i);
	if (((ch< "a" || "z" < ch) && (ch < "A" || "Z" < ch)) && ch!='.' && ch!='_' && ch!='-' && isNaN(ch))
	{
		alert("\nThe EMail I.D field only accepts letters, numbers and -,  _,  .\n\nPlease re-enter your EMail I.D.");
		document.signup.e_mail.select();
		document.signup.e_mail.focus();
		return false;
	}
	for(j=i+1; j<x.length; j++)
	{
		ch = x.substring(j, j+1);
		if(ch == '.')
		break;
	}
	ch = x.substring(i+1, j);
	if ((ch< "a" || "z" < ch) && (ch < "A" || "Z" < ch))
	{
		alert("\nEnter proper EMail I.D");
		document.signup.e_mail.select();
		document.signup.e_mail.focus();
		return false;
	}
	ch = x.substring(j+1);
	if ((ch< "a" || "z" < ch) && (ch < "A" || "Z" < ch))
	{
		alert("\nEnter proper EMail I.D");
		document.signup.e_mail.select();
		document.signup.e_mail.focus();
		return false;
	}

	//VALIDATION FOR RADIO BUTTON

	var radio_choice = false;

	for (counter = 0; counter < signup.add_remove.length; counter++)
	{
	if (signup.add_remove[counter].checked)
	radio_choice = true; 
	}

	if (!radio_choice)
	{
	alert("Please select a ADD/Remove Button");
	return (false);
	}
	return (true);


}