I am trying to upload the file, before uploading am checking that the file exists or not using javascript:

function FileExists(strFile){
var fso = new ActiveXObject("Scripting.FileSystemObject");
var blnReturn = fso.FileExists(strFile);
fso = "";
fso = null;
return blnReturn;
}

This piece of code is working perfectly fine in IE but in Netscape it errors out on line where we are creating the FSO Object.

Any help with this regard wil be greatly appreciated.