javascript output disappearing
<pre><code> function init(){
    var flag=true;
    if(flag)
    {
        document.getElementById("panel").innerHTML=
            "power is on&lt;br /&gt;";
    }
    if(7&lt;2)
    {
        document.getElementById("panel").innerHTML=
            "&lt;br /&gt;failure";
    }
        if(2&lt;7)
    {
        document.getElementById("panel").innerHTML=
            "&lt;br /&gt;success";
    }
}
window.onload=init;
</code></pre>

<p>this is if.js i load it in another html file, but this is the main code that is run.</p>

<p>the only output i am getting is "success" being written but the "power is on" is not showing up what is wrong?</p>
