I have function works perfect in IE but not in mozilla.

```
function showhide()
{
 alert("test");
 var args=showhide.arguments;
 alert("1"+args);
 for (i=0; i<(args.length); i=i+2) 
 {
  alert("2"+args);
  eval(args[i]+".style.display='"+args[i+1]+"'");
 }
 alert("3"+args);
}

```

I get alert `test` in mozilla but rest of alert does not display.