function validateContact()
{
	obj = document.frmContact;
	trimFields();
	if(obj.c_full_name.value == '')
	{
		alert("Please enter your Full Name.");
		obj.c_full_name.focus();
		return;
	}
	if(obj.c_email.value == '')
	{
		alert("Please enter your Email Address.");
		obj.c_email.focus();
		return;
	}
	if(!chkEmail(obj.c_email.value))
	{
		alert("Please enter a valid Email Address.");
		obj.c_email.focus();
		obj.c_email.select();
		return;
	}
	if(obj.c_country.selectedIndex == 0)
	{
		alert("Please select your Country.");
		obj.c_country.focus();
		return;
	}
	if(obj.captcha_contact.value == '')
	{
		alert("Please enter the Security Code.");
		obj.captcha_contact.focus();
		return;
	}
	$('#btn_submit1').css('display', 'none');
	$('#loader_blk1').css('display', 'block');
	 $.ajax({
	   type: "POST",
	   data: "full_name="+obj.c_full_name.value+'&email='+obj.c_email.value+'&city='+obj.c_city.value+'&country='+obj.c_country.options[obj.c_country.selectedIndex].value+'&phone='+obj.c_phone.value+'&best_time_to_call='+obj.best_time_to_call.value+'&captcha='+obj.captcha_contact.value+'&company_id='+obj.company_id.value+'&message='+obj.message.value,
	   url: "post_contact.php",
	   success: function(retVal){
			if(retVal == 'SUCCESS')
			{
				$('#msg_blk').fadeIn();
				obj.c_full_name.value = '';
				obj.c_email.value = '';
				obj.c_country.selectedIndex = 0;
				obj.captcha_contact.value = '';
				obj.c_phone.value = '';
				obj.c_city.value = '';
				obj.message.value = '';
				obj.best_time_to_call.value = '';
			}
			else
			{
				alert(retVal);
			}
			$('#btn_submit1').css('display', 'block');
			$('#loader_blk1').css('display', 'none');
		}
	   });

}

