<!--Upload File Validator
extArray=new Array(".jpeg",".jpg",".mov",".mp3",".flv",".mp4");function LimitAttach(form,file){allowSubmit=false;if(!file)return;while(file.indexOf("\\")!=-1)
file=file.slice(file.indexOf("\\")+1);ext=file.slice(file.indexOf(".")).toLowerCase();for(var i=0;i<extArray.length;i++){if(extArray[i]==ext){allowSubmit=true;break;}}
if(allowSubmit)form.submit();else
alert("Please only use photos that end in:  "
+(extArray.join("  "))+"\nPlease select a new "
+"file to upload and try again.");}
function blockEnter(evt){evt=(evt)?evt:event;var charCode=(evt.charCode)?evt.charCode:((evt.which)?evt.which:evt.keyCode);if(charCode==13||charCode==3){return(LimitAttach(document.file,document.file.userfile.value));}else{return true;}}
function blockEnter2(evt){evt=(evt)?evt:event;var charCode=(evt.charCode)?evt.charCode:((evt.which)?evt.which:evt.keyCode);if(charCode==13||charCode==3){return false;}else{return true;}}
function checkPass(){if(document.changePass.newPass1.value!=document.changePass.newPass2.value)
{alert("Your new password does not match")}
else{document.changePass.submit();}}
-->