	expires = new Date();
	expires.setTime (expires.getTime() + 24 * 60 * 60 * 150 * 1000);


	function checkFeedback()
	{
	if (document.dataform.realname.value == "")
	{
		alert("Please Enter Your Name");
		document.dataform.realname.focus();
		return false;
	}

	if (document.dataform.email.value == "")
	{
		alert("Please Enter Your EMail");
		document.dataform.email.focus();
		return false;
	}

	if (!(/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,4})+$/.test(document.dataform.email.value))) {
		alert("Invalid Email ID. Kindly enter the correct ID.");
		document.dataform.email.focus();
		return (false);
	}

 	if (document.dataform.Feedback.value == "")
	{
		alert("Please Enter Your Feedback");
		document.dataform.Feedback.focus();
		return false;
	}


		newIILCookie = document.dataform.realname.value;
		newIILCookie +="|"+document.dataform.email.value;


	 //	newIILCookie +="|"+document.dataform.S_organization.value;
		newIILCookie +="|";

		setCookie("newImeshID",newIILCookie);

		// Expire desc cookie if exists
		if( (desccookie = getCookie("NewDescCookie")) > "") {
document.cookie = "NewDescCookie" + "=" + "" + ";" + "path=/;" ;
		}

}

function checkgrowyourbusiness()
	{
	if (!document.dataform.Interested_in[0].checked && !document.dataform.Interested_in[1].checked)
	{
		alert("Please select You are Interested in");
		return false;
	}
	if (document.dataform.realname.value == "")
	{
		alert("Please Enter Your Name");
		document.dataform.realname.focus();
		return false;
	}

	if (document.dataform.email.value == "")
	{
		alert("Please Enter Your EMail");
		document.dataform.email.focus();
		return false;
	}

	if (!(/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,4})+$/.test(document.dataform.email.value))) {
		alert("Invalid Email ID. Kindly enter the correct ID.");
		document.dataform.email.focus();
		return (false);
	}
	if (document.dataform.S_phone_area_code.value.length == 0)  {
 			alert ("Kindly enter your area code.");
 			document.dataform.S_phone_area_code.focus();
 			return false;
 		}
	if(!(/^\d+$/.test(document.dataform.S_phone_area_code.value))){
			alert("Kindly enter correct Area code.");
			document.dataform.S_phone_area_code.focus();
			return false;
			}
	if (document.dataform.S_phone.value.length == 0)  {
		alert ("Kindly enter your phone number.");
		document.dataform.S_phone.focus();
		return false;
	}
	if(!(/^\d+$/.test(document.dataform.S_phone.value))){
			alert("Kindly enter correct phone number.");
			document.dataform.S_phone.focus();
			return false;
			}

 	if (document.dataform.feedback.value == "")
	{
		alert("Please Enter Your Feedback");
		document.dataform.feedback.focus();
		return false;
	}


		newIILCookie = document.dataform.realname.value;
		newIILCookie +="|"+document.dataform.email.value;


	 //	newIILCookie +="|"+document.dataform.S_organization.value;
		newIILCookie +="|";

		setCookie("newImeshID",newIILCookie);

		// Expire desc cookie if exists
		if( (desccookie = getCookie("NewDescCookie")) > "") {
document.cookie = "NewDescCookie" + "=" + "" + ";" + "path=/;" ;
		}

}

function getMyCookie() {
	var cookie;
		if( (cookie = getCookie("newImeshID")) > "") {
		var	Values = cookie.split("|");
			if (Values.length >= 2) {
				if (document.dataform.realname.value.length == 0)     document.dataform.realname.value = Values[0];
				if (document.dataform.email.value.length == 0)    document.dataform.email.value = Values[1];

			}
		}

		if( (nextcookie = getCookie("newACCodeID")) > "") {
			NextValues = nextcookie.split("|");

		}

		if( (desccookie = getCookie("NewDescCookie")) > "") {
			document.dataform.Description.value = desccookie;
		}

		return true;
	}  // end get


	function setCookie(name, value) {
		if (value.length > 0) {
			document.cookie = name + "=" + escape(value)+ ";"+"expires=" + expires.toGMTString() + ";" + "path=/;" ;
                 }
	}

	function getCookie(Name) {
		var search = Name + "="
		if (document.cookie.length > 0) { // if there are any cookies
			offset = document.cookie.indexOf(search)
			//alert("Offset:"+offset);
			if (offset != -1) { // if cookie exists
				offset += search.length
				// set index of beginning of value
				end = document.cookie.indexOf(";", offset)
				// set index of end of cookie value
				if (end == -1) end = document.cookie.length
				return unescape(document.cookie.substring(offset, end))
			}
		}
		return "";
	}  // end getCookie

browserName = navigator.appName;
browserVer = parseInt(navigator.appVersion);
condition = !(( (browserName.indexOf("Explorer") >=0 ) && (browserVer < 4) ) ||  ((browserName.indexOf("Netscape") >=0 ) && (browserVer < 2) ) ) ;
if (condition == true  )
    CanAnimate = true;
else
    CanAnimate = false;

function openchild(thisurl){
if ( CanAnimate ){
        msgWindow=window.open( thisurl ,'subwindow','toolbar=no,location=no,directories=no,status=yes,scrollbars=yes,menubar=no,resizable=yes,width=535,height=360,left=0,top=0');
        msgWindow.focus();
        //msgWindow.location.href = thisurl;
}
else {
        msgWindow=window.open( thisurl,'subwindow','toolbar=no,location=no,directories=no,status=yes,scrollbars=yes,menubar=no,resizable=yes,width=535,height=360,left=0,top=0');
}
}



function validateit(theForm)
{
	if (!(/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,4})+$/.test(theForm.email.value)))
	{
		alert("Invalid Email ID. Kindly enter the correct ID.");
		theForm.email.focus();
		return (false);
	}
}