adding links into javascript
<p>I was trying to add links into javascript but could not do it. Loober is checking an input box. According to the focus, i wanted to change the links that appear on the page. changeME is default.</p>

<pre><code>      &lt;script type = "text/javascript"&gt;


    var check = document.getElementById("loober");
    var testElement = document.getElementById("changeMe");
    var text = "bbb";
    var text2 = "aaa";

             check.onfocus= function()
           {
            testElement.innerHTML = text.link("index.php");
        }
          check.onblur = function()
         {
    testElement.innerHTML = text2.link("home.php");
}



&lt;/script&gt;
</code></pre>

<p>Thanks</p>
