<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title> New Document </title>
</head>
<body bgcolor="#FFFFFF">
<div id=div1 style="cursor: hand" onclick="doit()">This will be replaced by a link dynamically created using innerHTML. Click on it.</div1>
<script language="JavaScript">
<!--
function doit()
{
document.all.div1.innerHTML = "<A HREF='http://localhost'>Go to http://localhost</A>";
}
//-->
</script>
</body>
</html>