Susann: Resize/Reload des Browserfensters deaktiviert JS

!!!!Hilfe!!!! der 320-te Versuch :-(((

Das 1.Problem:
Deaktivierung von JS-Effekten bei einem Resize/Reload des Browserfensters / nur bei NS4.

Das 2.Problem:
Ich habe den Artikel zum Thema Wertübergabe http://www.teamone.de/selfaktuell/wertueb.htm
intensivst studiert... aber seit Tagen versuche ich vergebens das dort erklärte Prinzip,
auf die Navigationsleiste meiner HP anzuwenden.

Meine Frage:
Was stimmt an dem Scriptteil für die Wertuebergabe nicht?
Bin für jede konstruktive Denkhilfe dankbar. (Fals erforderlich stelle ich die Seite ins Netz)
Susann

Nachfolgend ein Auszug aus dem Script:
<script language="JavaScript">
    <!--
// W e r t u e b e r g a b e - A n f a n g

function Bild1(selObj) {
  self.name=selectWert(selObj);
  self.location.href="navi.htm"; }

function Bild2(selObj) {
  self.name=selectWert(selObj);
  self.location.href="navi.htm"; }

function selectWert(sObj) {
return sObj.options[sObj.selectedIndex].value;
}

/* W e r t u e b e r g a b e - E n d e
   A u f r u f   i m   B o d y - t a g   u e b e r   u n l o a d */

var nSelect = 99;

pic_normal = new Object();
        pic_highlight = new Object();
        pic_selected = new Object();
        pic_cur = new Object();

text = new Object();

defaultStatus = ""

pic_highlight[0] = "a_me.gif";
    pic_normal[0] = "me.gif";
    pic_selected[0] = "v_me.gif";
    pic_cur[0] = pic_normal[0];

pic_highlight[1] = "a_print.gif";
    pic_normal[1] = "print.gif";
    pic_selected[1] = "v_print.gif";
    pic_cur[1] = pic_normal[1];

text[0] = "identity";
    text[1] = "print";
    
  
// J S - E f f e k t e

function mOver (bnr)
    {
      status=text[bnr];
           pic_cur[bnr] = pic_highlight[bnr];
      { if (navigator.appName == 'Netscape')
{ window.document.layers[0].document.images[bnr].src=pic_cur[bnr]; } else
{      document.all.Layer1.document.images[bnr].src=pic_cur[bnr]; }    
      }
    }

function mOut (bnr)
    {
                if(nSelect == bnr)
                {
                        pic_cur[bnr] = pic_highlight[bnr];
                }
                else
                {
                        pic_cur[bnr] = pic_normal[bnr];
                }
       { if (navigator.appName == 'Netscape')
{ window.document.layers[0].document.images[bnr].src=pic_cur[bnr]; } else
{      document.all.Layer1.document.images[bnr].src=pic_cur[bnr]; }    
       }
    }

function mClick (bnr)
    {
                if(nSelect != 99)
                {
                        pic_normal[nSelect] = pic_selected[nSelect];
                   pic_cur[nSelect] = pic_selected[nSelect];

{ if (navigator.appName == 'Netscape')
{ window.document.layers[0].document.images[nSelect].src=pic_cur[nSelect]; } else
{      document.all.Layer1.document.images[nSelect].src=pic_cur[nSelect]; }    
                }
        
                
                }
                nSelect = bnr;
       pic_cur[bnr] = pic_highlight[bnr];
      
       { if (navigator.appName == 'Netscape')
{ window.document.layers[0].document.images[bnr].src=pic_cur[bnr]; } else
{      document.all.Layer1.document.images[bnr].src=pic_cur[bnr]; }    
       }
       aktiv=bnr;
    }

// R e s i z e   f u e r  N S 4

NS4 = document.layers;
                         if (NS4) {
                            origWidth = innerWidth;
                            origHeight = innerHeight;
                         }

function reDo() {
                         if (innerWidth != origWidth innerHeight != origHeight)
                            location.reload();
                      }

if (NS4) onresize = reDo;

// 2 F r a m e s  g l e i c h z e i t i g   a e n d e r n

function ZweiFrames(URL0,F0,URL2,F2)
     {  
      parent.frames[F0].location.href=URL0;
      parent.frames[F2].location.href=URL2;
     }
// -->
</script>

</head>
<body onLoad="function Bild1(window.document.layers['Layer1'].document.images[0]);return false; function Bild2(window.document.layers['Layer1'].document.images[1]);return false;"
topmargin="0" leftmargin="0" bgcolor="#818A9F" link="#818A9F" vlink="#818A9F" alink="#818A9F">

<div id="Layer1" style="position:absolute; left:0px; top:0px; width:801px; height:30px; z-index:1">
  <table width="100%" valign="top" border="0" cellspacing="0"  cellpadding="0" name="leiste" height="30">
    <tr>
      <td  border=0 width=100 align=center valign=middle> <a
onMouseOver="mOver(0); return true;"
onMouseOut="mOut(0); return true;"
onMouseDown="mClick(0); return true;"
href="javascript:ZweiFrames('me_o.htm',0,'me_u.htm',2)"> <img src="me.gif" width="140" height="25" border=0 align="middle" name="identity"></a>
      </td>
      <td valign=middle border=0 width=100 align=center> <a  
onMouseOver="mOver(1); return true;"
onMouseOut="mOut(1); return true;"
onMouseDown="mClick(1); return true;"
href="javascript:ZweiFrames('print_o.htm',0,'print_u.htm',2)"> <img src="print.gif" width="140" height="25" border=0 align="middle" name="print"></a>
      </td>
      </tr>
  </table>
</div>
</BODY>
</HTML>