All pastes #420349 Raw Edit

lisa

public text v1 · immutable
·published 2007-04-02 02:14 UTC
rendered paste body
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Browser Info</title>
</head>

<body bgcolor="#990099"">

<p>
  <script type="text/javascript">
	
	var mod;
	
	mod = document.lastModified;
	
	docurl = window.document.URL;
	
	t = document.title;
	
	aN = "<b> Browser Name: </b>" + navigator.appName;
	ua = "<b> User Agent: </b>" + navigator.userAgent;

	
	document.write(aN);
	document.write("<br />");
	document.write(ua);

	
	function browser_check()
	{
		if(navigator.appName == "Microsoft Internet Explorer")
		{
			document.location ="http://www.microsoft.com/windows/ie/";
		}
		else
		{
		document.location ="http://www.mozilla.com/en-US/firefox/";
		}
	}


  </script>
  
<p><a href="javascript: browser_check()" onclick="//browser_check()"
    onmouseover="document.b1.src='images/button2.jpg' "
	onmouseout="document.b1.src='images/button1.jpg' "
	onmousedown="document.b1.src='images/button2.jpg' ">
</p>
	
	<img src="images/button1.jpg" border="0" name="b1"/></a></p>

</body>
</html>