<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>WOOPSIE DAISY! Something went wrong!!!</title>
var bodyHeight = $(window).height(); var contentHeight = $("#mother").height(); var newHeight;
if ( bodyHeight < contentHeight ){ var newHeight = contentHeight - bodyHeight;
} else { var newHeight = bodyHeight - contentHeight;
} newHeight = newHeight / 2;
$("body").css({marginTop:newHeight});
}); </script>
</head> <body> <div id="mother"> <div id="errorBox"> <div id="errorText"> <h1>Woopsie Daisy!</h1> <p> Looks like something went completely wrong! But don't worry - it can happen to the best of us, <br />- and it just happened to you. </p>
<p> Try one of these instead: </p> </div> <a href="/" title="Home..."> <div class="link" id="home"></div> </a> <a href="/contact" title="Contact..."> <div class="link" id="contact"></div> </a> </div> </div> </body> </html>