Back home button-
(c) Dynamic Drive (www.dynamicdrive.com)
For full source code, installation instructions,
100's more DHTML scripts, and Terms Of
Use, visit dynamicdrive.com

function gohome(){
//if NS 4+
if (document.layers)
//else if IE 4+
else if (document.all)
alert("You need NS 4+ or IE 4+ to go back home!")

<input type="button" onClick="gohome()" value="Take Me Home!">

<!--if you wish to use an image instead of a form button, uncomment this portion
<a href="javascript:gohome()"><img src="http://dynamicdrive.com/dynamic.gif"></a>