You can use it;
IE_NN=navigator.appName;
if (IE_NN.indexOf("Netscape",0)!=-1) {
Use Js of NN
} else {
Use Js of IE
}