
function validate(TheForm){
     if (TheForm.company_name.value==""){
        alert("Company name has to be Entered");
        TheForm.company_name.focus();
        return (false);
        }
     if (TheForm.password.value==""){
        alert("Password has to be Entered");
        TheForm.password.focus();
        return (false);
        }
     if (TheForm.plan_name.value==""){
        alert("Plan name has to be Entered");
        TheForm.plan_name.focus();
        return (false);
        }
     if (TheForm.setup_fee.value=="" ||
		 isNaN(TheForm.setup_fee.value) ){
        alert("Setup Fee has to be Entered");
        TheForm.setup_fee.focus();
        return (false);
        }
     if (TheForm.monthly_fee.value=="" ||
		 isNaN(TheForm.monthly_fee.value) ){
        alert("Monthly Fee has to be Entered");
        TheForm.monthly_fee.focus();
        return (false);
        }
     if (TheForm.disk_space.value=="" ||
		 isNaN(TheForm.disk_space.value) ){
        alert("Disc Space (MB) has to be Entered");
        TheForm.disk_space.focus();
        return (false);
        }
     if (TheForm.contact_url.value==""){
        alert("Contact URL has to be Entered");
        TheForm.contact_url.focus();
        return (false);
        }
     if (TheForm.contact_email.value=="" || 
	     TheForm.contact_email.value.indexOf ('@', 0) == -1){
        alert("Enter a valid email address");
        TheForm.contact_email.focus();
        return (false);
        }
     if (TheForm.contact_phone.value==""){
        alert("Contact Telephone has to be Entered");
        TheForm.contact_phone.focus();
        return (false);
        }
     if (TheForm.contact_address.value==""){
        alert("Contact Address has to be Entered");
        TheForm.contact_address.focus();
        return (false);
        }
     if (TheForm.email_accounts.value=="" ||
		 isNaN(TheForm.email_accounts.value) ){
        alert("Email Accounts has to be Entered");
        TheForm.email_accounts.focus();
        return (false);
        }
/*
     if (!TheForm.own_cgibin.checked){
        alert("Own CGI-BIN has to be Selected");
        TheForm.own_cgibin.focus();
        return (false);
        }
     if (!TheForm.php3_support.checked){
        alert("PHP Support has to be Selected");
        TheForm.php3_support.focus();
        return (false);
        }
     if (!TheForm.frontpage_support.checked){
        alert("Frontpage Support has to be Selected");
        TheForm.frontpage_support.focus();
        return (false);
        }
     if (!TheForm.free_ssl.checked){
        alert("Free SSL? has to be Selected");
        TheForm.free_ssl.focus();
        return (false);
        }
     if (TheForm.control_panel.checked){
        alert("Control Panel has to be Selected");
        TheForm.control_panel.focus();
        return (false);
        }
     if (TheForm.asp_support.checked){
        alert("ASP Support has to be Selected");
        TheForm.asp_support.focus();
        return (false);
        }
     if (TheForm.realaudio_support.checked){
        alert("Real Audio/Video has to be Selected");
        TheForm.realaudio_support.focus();
        return (false);
        }
     if (TheForm.mysql_support.checked){
        alert("mySQL Support has to be Selected");
        TheForm.mysql_support.focus();
        return (false);
        }
     if (TheForm.access_support.checked){
        alert("Access Support has to be Selected");
        TheForm.access_support.focus();
        return (false);
        }
     if (TheForm.mail_manager.checked){
        alert("Mail Manager has to be Selected");
        TheForm.mail_manager.focus();
        return (false);
        }
     if (TheForm.full_support.checked){
        alert("24 Hour Support? has to be Selected");
        TheForm.full_support.focus();
        return (false);
        }
     if (TheForm.anon_ftp.checked){
        alert("Anon FTP has to be Selected");
        TheForm.anon_ftp.focus();
        return (false);
        }
     if (TheForm.hits_stats.checked){
        alert("Hit Stats has to be Selected");
        TheForm.hits_stats.focus();
        return (false);
        }
     if (TheForm.reseller.checked){
        alert("Reseller has to be Selected");
        TheForm.reseller.focus();
        return (false);
        }
     if (!TheForm.free_domain_transfer.checked){
        alert("Free Domain Transfer has to be Selected");
        //TheForm.free_domain_transfer.focus();
        return (false);
        }
     if (!TheForm.dedicated_servers.checked){
        alert("Dedicated Servers has to be Selected");
        //TheForm.dedicated_servers.focus();
        return (false);
        }
     if (!TheForm.server_platform.checked){
        alert("Server Platform has to be Selected");
		//TheForm.server_platform.focus();
        return (false);
        }
*/
        return (true);
}
