/* =========================================================================

NAME: client_support.js

AUTHOR: Rustom Rawat , Access Web Solutions
DATE  : 6/9/03

COPYRIGHT (c) 2003 Access Web Solutions.

COMMENT: AWS grants you a royalty free license to use or modify this 
		 software provided that this copyright notice appears on all copies.
 		 This software is provided "AS IS," without a warranty of any kind.

============================================================================ */

function supportEnquiry()
{
var form = window.document.frmSupport

	if (form.AccountID.value == "" || form.AccountID.value.length < 8)
	{
	alert("Please enter your Account Email ID in the \"AccountID\" field.");
	form.AccountID.focus();
	return false;
	}
	if (form.Name.value == "" || form.Name.value.length < 4)
	{
	alert("Please enter your name in the \"Name\" field.");
	form.Name.focus();
	return false;
	}
	if (form.supportService.value == "" || form.supportService.value.length < 8)
	{
	alert("Please select the support service you require \n" +
	"from the \"Support Service\" field.");
	form.supportService.focus();
	return false;
	}
	if (form.Subjet.value == "" || form.Subjet.value.length < 10)
	{
	alert("Please enter the subject in the \"Subject\" field.");
	form.Subjet.focus();
	return false;
	}
	if (form.Description.value == "" || form.Description.value.length < 12)
	{
	alert("Please write your enquiry into the \"Description\" field.\n" +
	"Try to give maximum possible description of your problem.");
	form.Description.focus();
	return false;
	}
return true;
}