function cname()
{
if(document.FrontPage_Form1.TITLE.value.length<1)
{
alert("Please enter the Company name");
document.FrontPage_Form1.TITLE.focus();
}
else
{cadd();}
}

function cadd()
{
if(document.FrontPage_Form1.ADDRESS.value.length<1)
{alert("The first two lines of your Address must be completed\r\nPlease enter a value");
document.FrontPage_Form1.ADDRESS.focus();
}
else
{cadd2();}
}
//secinvis36(); secvis2();

function cadd2()
{
if(document.FrontPage_Form1.ADDRESS2.value.length<1)
{alert("Please enter a value in Address line 2");
document.FrontPage_Form1.ADDRESS2.focus()
}
else
{cadd3();}
}

function cadd3()
{
if(document.FrontPage_Form1.Country.selectedIndex<1)
{alert("'Choose Country' is not a valid choice\r\n\r\n Please select the country value from the drop-down list");
document.FrontPage_Form1.Country.focus();
}
else
{
phone();}
}

function phone()
{
if(document.FrontPage_Form1.TELEPHONE.value.length<1)
{alert("A contact Phone number must be given");
document.FrontPage_Form1.TELEPHONE.focus();
}
else
{secinvis36(); secvis2();}
}

//================================PAGE 2===============

function cont()
{
if(document.FrontPage_Form1.CONTACT.value.length<1)
{alert("You must enter a Contact name...\r\n\r\n [Other users can be entered following registration] ");
document.FrontPage_Form1.CONTACT.focus();
}
else
{
eml();}
}


function eml()
{
if(document.FrontPage_Form1.EMAIL.value.length<1)
{alert("You must enter a Contact Email address\r\n\r\n [ Please contact IMCVS on 02890 626215 - if this presents a difificulty.] ");
document.FrontPage_Form1.EMAIL.focus();
}
else
{
pwd();}
}

function pwd()
{
if(document.FrontPage_Form1.password.value.length<1)
{alert("You must decide upon and enter a password\r\n\r\n [Once your details are accepted an email will be sent reminding you of both your User ID and Password.] ");
document.FrontPage_Form1.password.focus();
}
else
{
document.FrontPage_Form1.submit();}
}


