<!--

function validateForm() {

var noext = new Array(6)
noext[0]="bat";
noext[1]="log";
noext[2]="exe";
noext[3]="cgi";
noext[4]="pl";
noext[5]="asp";
var ext = document.upload.FILE1.value;
ext = ext.substring(ext.length-3,ext.length);
ext = ext.toLowerCase();
if ( (ext == noext[0]) || 
(ext == noext[1]) || 
(ext == noext[2]) ||
(ext == noext[3]) ||
(ext == noext[4]) ||
(ext == noext[5]) ) 
{
alert('You selected a .'+ext+' file; please select one of the allowed file types instead.');
return false; 
}
return true
}

//-->

