code:
<html>
<HEAD>
<SCRIPT language="javascript">
<!--
function getversion(){
if(navigator.appName.indexOf("Netscape")>-1){
document.write("press ctrl+d to bookmark this page");
}
else if((navigator.appName.indexOf("Microsoft")>-1) || (navigator.appName.indexOf("MSIE")>-1)){
document.write("blah firefox owns IE");
}
else if(navigator.appName.indexOf("Opera")>-1){
document.write("if opera write something");
}
else{
document.write("if its anything else");
}
}
// -->
</SCRIPT>
</HEAD>
<BODY>
<SCRIPT language="javascript">
getversion();
</script>
</BODY>
</HTML>
here you go ive done it for you
hope thats what you wanted