function validate_RegistrationPartner(frm) {
	trimAllTextField(frm);

	if (CheckIsBlankcbo(frm.Title, "Please select your Title")) return false;
	if (CheckIsBlank(frm.FirstName, "Please enter your First Name")) return false;
	if (CheckIsBlank(frm.LastName, "Please enter your Last Name")) return false;
	if (CheckIsBlank(frm.Designation, "Please enter your Designation")) return false;
	if (CheckIsBlank(frm.Organization, "Please enter your Organization Name")) return false;
	if (CheckIsBlank(frm.Address, "Please enter the Address")) return false;
	if (CheckIsBlankcbo(frm.Country, "Please select the Country")) return false;
	if (CheckIsBlank(frm.City, "Please enter the City")) return false;
	if (CheckIsBlank(frm.State, "Please enter the State/Province")) return false;
	if (CheckIsBlank(frm.Postal, "Please enter the Zip/Postal Code")) return false;
	if (CheckIsBlank(frm.Phone, "Please enter your Phone Number")) return false;
	if (CheckIsBlank(frm.Email, "Please enter your Email Address")) return false;
	if (!CheckIsEmail(frm.Email, "Please enter a valid Email Address")) return false;
	if (CheckIsBlankradio(frm.TotalOfEmployees, "Please tell us Total Of Employees")) return false;
	return true;
}

function validate_FeedBack(frm) {
	trimAllTextField(frm);

	if (CheckIsBlank(frm.Name, "Please input your Name")) return false;
	if (CheckIsBlank(frm.Email, "Please enter your Email Address")) return false;
	if (!CheckIsEmail(frm.Email, "Please enter a valid Email Address")) return false;
	if (CheckIsBlank(frm.Organization, "Please enter your Company Name")) return false;
	if (CheckIsBlank(frm.Phone, "Please enter your Phone Number")) return false;
	
	window.open('feedback_thk.html', 'Feedback', 'width=400,height=100,status=yes,resizable=yes,scrollbars=yes');
	return true;
}

function validate_SalesInquiries(frm) {
	trimAllTextField(frm);

	if (CheckIsBlank(frm.Name, "Please input your Name")) return false;
	if (CheckIsBlank(frm.Email, "Please enter your Email Address")) return false;
	if (!CheckIsEmail(frm.Email, "Please enter a valid Email Address")) return false;
	if (CheckIsBlank(frm.Organization, "Please enter your Organization")) return false;
	if (CheckIsBlank(frm.Phone, "Please enter your Phone Number")) return false;
	if (CheckIsBlank(frm.Location, "Please enter your Location")) return false;
	if (CheckIsBlank(frm.Howtohear, "Please tell us how did you hear about us?")) return false;
	if (CheckIsBlankcbo(frm.whichservice, "Please tell us which service are you interested in?")) return false;
	if (CheckIsBlankcbo(frm.whenneed, "Please tell us when would you need the services?")) return false;

	window.open('sales_thk.html', 'subscription', 'width=400,height=125,status=yes,resizable=yes,scrollbars=yes');
	//window.open('salesinquiries_thk.html', 'Sales Inquiries', 'width=400,height=125,status=yes,resizable=yes,scrollbars=yes');
	return true;
}

function validate_Subscription(frm) {
	trimAllTextField(frm);

	if (CheckIsBlank(frm.Name, "Please input your Name")) return false;
	if (CheckIsBlank(frm.Email, "Please enter your Email Address")) return false;
	if (!CheckIsEmail(frm.Email, "Please enter a valid Email Address")) return false;
	if (CheckIsBlank(frm.Organization, "Please enter your Company Name")) return false;
	if (CheckIsBlank(frm.Phone, "Please enter your Phone Number")) return false;
	
	window.open('subscription_thk.html', 'subscription', 'width=400,height=125,status=yes,resizable=yes,scrollbars=yes');
	return true;
}

