function contact()
{
	var name = window.document.getElementById('name');
//	var company_name = window.document.getElementById('company_name');
	var email = window.document.getElementById('email');
//	var phone = window.document.getElementById('phone');
	var comments = window.document.getElementById('comments');
		
	// Name validation
	if(trim(name.value) == '')
	{
		alert("Please Enter Name.");
		name.focus();
		return false;
	}
	
	// Company Name validation
/*	if(trim(company_name.value) == '')
	{
		alert("Please Enter Company Name.");
		company_name.focus();
		return false;
	}
	
Phone validation
	if(trim(phone.value) == '')
	{
		alert("Please Enter Phone.");
		phone.focus();
		return false;
	}*/
	// Email validation
	if(trim(email.value) != '')
	{
		if(!isValidEmail(email.value))
		{
			alert("Please Enter Valid Email.");
			email.focus();
			return false;
		}		
	}
	else
	{
		alert("Please Enter Email.");
		email.focus();
		return false;		
	}
	
	// comments validation
	if(trim(comments.value) == '')
	{
		alert("Please Enter Comments.");
		comments.focus();
		return false;
	}
	
	
	return true;
}