<!--
function guideline()
{
	var myRef = window.open('guideline.asp','guideline','toolbar=NO,height=350,width=450,scrollbars=NO,resizable=0');
	if (myRef != null) myRef.focus();
}

function RmaCheck()
{
	if(document.rmaform.date1.value.length < 1)
	{
		alert("Please enter the date!");
		document.rmaform.date1.focus();
		return false;
	}
	
	if(document.rmaform.company.value.length < 1)
	{
		alert("Please enter the company name!");
		document.rmaform.company.focus();
		return false;
	}
	if(document.rmaform.phone.value.length < 1)
	{
		alert("Please enter the phone number!");
		document.rmaform.phone.focus();
		return false;
	}
	if(document.rmaform.address.value.length < 1)
	{
		alert("Please enter your address!");
		document.rmaform.address.focus();
		return false;
	}
	//if(document.rmaform.city.value.length < 1)
	//{
		//alert("Please enter the city!");
		//document.rmaform.city.focus();
		//return false;
	//}
	//if(document.rmaform.zip.value.length < 1)
	//{
		//alert("Please enter the zipcode!");
		//document.rmaform.zip.focus();
		//return false;
	//}
	if(document.rmaform.contact.value.length < 1)
	{
		alert("Please enter contact name!");
		document.rmaform.contact.focus();
		return false;
	}
	if(document.rmaform.email.value.length < 1)
	{
		alert("Please enter your email address!");
		document.rmaform.email.focus();
		return false;
	}
	if (document.rmaform.email.value.length > 0) 
	  {
		  i=document.rmaform.email.value.indexOf("@")
		  j=document.rmaform.email.value.indexOf(".",i)
          k=document.rmaform.email.value.indexOf(",")
          kk=document.rmaform.email.value.indexOf(" ")
          jj=document.rmaform.email.value.lastIndexOf(".")+1
          len=document.rmaform.email.value.length

          if ((i>0) && (j>(1+1)) && (k==-1) && (kk==-1) && (len-jj >=2)) {
          }
          else 
		  {
             alert("Please enter an exact email address.\n" +
             document.rmaform.email.value + " is invalid.");
             return false;
          }
      }
	if(document.rmaform.model1.value.length < 1)
	{
		alert("Please enter the model number!");
		document.rmaform.model1.focus();
		return false;
	}
	
	if(document.rmaform.problem1.value.length < 1)
	{
		alert("Please enter the problem or condition of item!");
		document.rmaform.problem1.focus();
		return false;
	}
	if(document.rmaform.purchasedate1.value.length < 1)
	{
		alert("Please enter the purchase date!");
		document.rmaform.purchasedate1.focus();
		return false;
	}
	
	 if (!document.rmaform.agreement.checked)
    {
      alert("Please read the Guidelines of returning ORION units!");
      return false;
    }
}
//-->
