mesg = "CBSE Result 2010 of Class X & XII is 100%."; isNS = (navigator.appName == "Netscape") isIE = (navigator.appName == "Microsoft Internet Explorer") text = mesg if (isNS) { document.write("" + text + "")} else if (isIE) { document.write("" + text + "")}