function checkValid()
{
	if(document.frmcontactus.Topic.value == "")
	{
		alert(LBL_TOPIC);
		document.frmcontactus.Topic.focus();
		return false;
	}
	if(document.frmcontactus.Topic.value == "Product")
	{
		if(Trim(document.frmcontactus.ItemSKU.value)=="")
		{
			alert(MSG_ITEM);
			document.frmcontactus.ItemSKU.focus();
			return false;
		}
	}
	if(document.frmcontactus.Topic.value == "Order")
	{
		if(Trim(document.frmcontactus.OrderNo.value)=="")
		{
			alert(MSG_ORDERNO);
			document.frmcontactus.OrderNo.focus();
			return false;
		}
	}
	if(Trim(document.frmcontactus.vName.value)=="")
	{
		alert(MSG_FULLNAME);
		document.frmcontactus.vName.focus();
		return false;
	}

	if(Trim(document.frmcontactus.vEmail.value)=="")
	{
		alert(MSG_CONTACT);		
		document.frmcontactus.vEmail.focus();
		return false;
	}
	
	if(!isValidEmail(document.frmcontactus.vEmail.value))
	{
		document.frmcontactus.vEmail.focus();
		return false;
	}
	if(Trim(document.frmcontactus.vSubject.value)=="")
	{
		alert(MSG_SUBJECT);
		document.frmcontactus.vSubject.focus();
		return false;
	}
	if(Trim(document.frmcontactus.vComment.value)=="")
	{
		alert(MSG_COMMENTS);
		document.frmcontactus.vComment.focus();
		return false;
	}
	if(document.frmcontactus.capt.value.length < 1)
	{
		alert(MSG_CODE);
		document.frmcontactus.capt.focus();
		return false;
	}
}


