Q:

Why Javascript is not getting called

Javascript code is
function jsCheck() {
var msg = '';

//Move email checker to first line of javascript validation
if (document.form1.email.value.indexOf(".") <= 3  && document.form1.email.value.indexOf("@") <= 2){ msg = msg + 'Valid Email Address\n'; }
if (document.form1.name.value == ""){ msg = msg + 'Full Name\n'; }
if (document.form1.company.value == ""){ msg = msg + 'Company Name\n'; }
if (document.form1.telephone.value == ""){ msg = msg + 'Telephone No\n'; }
if (document.form1.country.value == ""){ msg = msg + 'Country\n'; }

if (msg != ''){
alert('The following fields are missing\n\n' + msg);
return false;
}

form name="form1" method="post" action="apply_confirm.asp" onSubmit="return jsCheck();"

Why the javascript is not getting called

A:

Well, if your original posting is accurate (a number of things have changed as people have attempted to make your post legible), it's because everything you posted is enclosed in HTML comments, <!-- ... -->.
And yeah, as far as providing the solution as soon as possible goes, you might want to keep in mind that we don't work for you.

