Javascript & become &amp;
I have some javascript in a div to make it move from an iframe to the main page. It works fine but when I use & like this:

    function JS_onMouseOverBG(e, i_bg) {
      if( (block == 0)&&(i_bg != selected) ) {
        e.style.cursor = 'pointer' ;
      } else {
        e.style.cursor = '' ;
      }
    }

Then `&` becomes `&amp;` and I have this firefox error:

    Erreur : missing ) after condition
    Fichier Source : http://192.168.0.20/lb/?p=467&w=prefs_bggen
    Ligne : 905, Colonne : 22
    Code Source :
      if( (block == 0)&amp;&amp;(i_bg != selected) ) { 

I tried using the unicode `\u0026` of `&` but it does not work. I have an error of illegal character.

How can I do to use `&` in such a case ?
Javascript & become &amp;
===

I have some javascript in a div to make it move from an iframe to the main page. It works fine but when I use & like this:

    function JS_onMouseOverBG(e, i_bg) {
      if( (block == 0)&&(i_bg != selected) ) {
        e.style.cursor = 'pointer' ;
      } else {
        e.style.cursor = '' ;
      }
    }

Then `&` becomes `&amp;` and I have this firefox error:

    Erreur : missing ) after condition
    Fichier Source : http://192.168.0.20/lb/?p=467&w=prefs_bggen
    Ligne : 905, Colonne : 22
    Code Source :
      if( (block == 0)&amp;&amp;(i_bg != selected) ) { 

I tried using the unicode `\u0026` of `&` but it does not work. I have an error of illegal character.

How can I do to use `&` in such a case ?