<!-- this comment should not become the documentElement,
     if it does then the page will be blank -->
<html>
<body>
<script>
if (document.documentElement.nodeType == Node.ELEMENT_NODE)
    document.write("SUCESS");
else
    document.write("FAIL");
</script>
</body>
</html>
