if(navigator.appName.charAt(0)=="N"){ document.write("Netscape。"); } else{ document.write("IE。"); } //--> </SCRIPT> </HEAD> </HTML>