selected link changes background
<p>I have 2 menus, category and countries. I've made so far to change and keep background of one element but I have problem with simultaneous memory of other menu's element.</p>

<pre><code>var lookaround=[];

function seleItem(obj,color){
    if(lookaround[obj.className])
        lookaround[obj.className].style.background=null;
    lookaround[obj.className]=obj;
    obj.style.background=color;
}
</code></pre>

<p>Example page is <a href="http://lookaroundyou.net" rel="nofollow">HERE</a></p>
