I'm having trouble with the following code:
	For some reason in FireFox, the "</script>" in the string on the 5th line is being seen and the end of the first <script>, and not as part of the string. So firefox is displaying:
	at the top of the page. IE7 seems to handle it ok. My main problem here is that I have no control over this code, it is added to the code by a ecommerce site. So I have no idea what to do about it. Does any one have any ideas why FireFox is seeing this incorrectly? Any suggestions about how I may go about fixing this? This is for this site, but I have to keep it reverted to the old working version so this will only show up while I'm working on it during the day.
Any help will be greatly appreciated.
					Code:
	<SCRIPT>
	<!--
	if (navigator.appName == 'Microsoft Internet Explorer') {
		document.write("<link rel=\"stylesheet\" type=\"text/css\" href=\"templates/94076/menu.css\" media=\"screen, print\" />");
		document.write("<script src=\"templates/94076/menu.js\" language=\"javascript\" type=\"text/javascript\"></script>");
	} else {
		document.write("<link rel=\"stylesheet\" type=\"text/css\" href=\"templates/94076/menu-ns.css\" media=\"screen, print\" />");
	}
	//-->
</SCRIPT>
Code:
	"); } else { document.write(""); } //-->
Any help will be greatly appreciated.
Comment