function contactus()
	{
		
		//------------------------------------------------
		if(document.frmcontact.name.value=="Your Name:")
   		{
   		alert('Please Enter Name')
		document.frmcontact.name.focus();
		return false;
   		}
		//------------------------------------------------
		if(document.frmcontact.phone.value=="Phone Number:")
   		{
   		alert('Please Enter Phone')
		document.frmcontact.phone.focus();
		return false;
   		}
		//------------------------------------------------
		filter=/^.+@.+\..{2,15}$/;
		if (!(filter.test(document.frmcontact.email.value)))
		{
			alert("Please Enter a Valid Email Address!")
			document.frmcontact.email.focus();
    		return false;
		}
		//------------------------------------------------
		if(document.frmcontact.company.value=="Company:")
   		{
   		alert('Please Enter Company')
		document.frmcontact.company.focus();
		return false;
   		}
		//------------------------------------------------
		if(document.frmcontact.comments.value=="How may we help you?")
   		{
   		alert('Please Enter How may we help you?')
		document.frmcontact.comments.focus();
		return false;
   		}
		
		//------------------------------------------------
		if(document.frmcontact.security_code.value=="Security Code:")
   		{
   		alert('Please Enter Security Code')
		document.frmcontact.security_code.focus();
		return false;
   		}
	}
	
	
	
function contactus2()
	{
		
		
		//------------------------------------------------
		if(document.frmcontact.name.value=="Your Name:")
   		{
   		alert('Please Enter Name')
		document.frmcontact.name.focus();
		return false;
   		}
		//------------------------------------------------
		if(document.frmcontact.phone.value=="Phone Number:")
   		{
   		alert('Please Enter Phone')
		document.frmcontact.phone.focus();
		return false;
   		}
		//------------------------------------------------
		filter=/^.+@.+\..{2,15}$/;
		if (!(filter.test(document.frmcontact.email.value)))
		{
			alert("Please Enter a Valid Email Address!")
			document.frmcontact.email.focus();
    		return false;
		}
		//------------------------------------------------
		if(document.frmcontact.company.value=="Company:")
   		{
   		alert('Please Enter Company')
		document.frmcontact.company.focus();
		return false;
   		}
		//------------------------------------------------
		if(document.frmcontact.comments.value=="How may we help you?")
   		{
   		alert('Please Enter How may we help you?')
		document.frmcontact.comments.focus();
		return false;
   		}
		
		//------------------------------------------------
		if(document.frmcontact.security_code.value=="Security Code:")
   		{
   		alert('Please Enter Security Code')
		document.frmcontact.security_code.focus();
		return false;
   		}
		//------------------------------------------------
	}
	



function limiter(){
var count = "1000"; 
var tex = document.frmpermads.adcopy.value;
var len = tex.length;
if(len > count){
        tex = tex.substring(0,count);
        document.frmpermads.adcopy.value =tex;
        return false;
}
document.frmpermads.limit.value = count-len;
}
