my html code is here
************
<table class=matcolor id=topnav cellspacing=0
cellpadding=0 width=550 border=0 bgcolor="#FFCCCC">
<tbody>
<tr align=middle>
<td id=menu1
onMouseOver="this.className='mPrimaryOn';showmenu( this);"
onClick="this.document.location.href=''"
onMouseOut="this.className='mPrimaryOff';hidemenu( this);" class="mat" height="20">
</td>
</tr>
</tbody>
</table>
*******************************
on click of this text the below javascript code should activate
javascript code
************
<div id=menu1Container style="VISIBILITY: hidden">
<div class=dmMenu id=menu1Content>
<table class=font_tahoma_11 id=tblmenu1 cellspacing=0 cellpadding=2
bgcolor=#f0f0ea border=0>
<tbody>
<tr>
<td class=mat onMouseOver="javascript
:style.backgroundColor='DDD DD3'"
onMouseOut="javascript
:style.backgroundColor=''" width=50 height=31><font
face=Webdings color=#333333>4</font> <a class=mat
href="
http://www.webbridge.co.in/cosmicglobal/wc_dtp.htm"><font color="#333333">Work
Categories </font></a></td>
<td class=mat onMouseOver="javascript
:style.backgroundColor='DDD DD3'"
onMouseOut="javascript
:style.backgroundColor=''" width=120 height=18><font
face=Webdings color=#333333>4</font> <a class=mat
href="
http://www.webbridge.co.in/cosmicglobal/software_dtp.htm"><font color="#333333">Software
we work</font></a></td>
</tr>
</tbody>
</table>
</div>
</div>
<script language=JavaScript>
ix = document.getElementById('tblmenu1').getBoundingCli entRect();
new ypSlideOutMenu("menu1", "right",ix.left + ix.right ,ix.bottom + 10);
</script>
************
it is working fine with IE but not with Firefox
please help