I receive an error on the mouseover event for the custom navigation. I get the error message object expected. It also showing that it is barking at the Body onload. I have posted some code can anyone help me with this?
<body onload=javascript:MM_showHideLayers('laySelect','','show','layUpdate','','hide','layInsert','','hide');MM_preloadImages('Templates/RecordNavBar/first_sunken.gif')>
<div id="laySelect" style="position:absolute; left:25px; top:25px; width:509px; height:340px; z-index:3; visibility: visible;">
<table width="500" border="0" cellspacing="2" cellpadding="2">
<tr>
<td colspan="4"><!-- #BeginLibraryItem "/Library/MainRecnavNED.lbi" -->
<style type="text/css">
<!--
@import url("../CSS/NRCG.css");
-->
</style>
<div class="Nav" id="layRecordNavBar" style="position:absolute; left:0px; top:0px; width:614px; height:10px; z-index:3; background-color: #FFFFFF; layer-background-color: #FFFFFF; border: 1px none #000000; visibility: visible;">
<table width="600" border="0" cellpadding="0" cellspacing="0">
<tr height="16">
<td width="82">
<label>Record</label>
: </td>
<td width="24"><a href="/DB/producerdetail_contacts.asp?index=0"><img src="Templates/RecordNavBar/first.gif"
alt="first record" name="first" border="0" id="first"
onmousedown="MM_swapImage('first','','Templates/RecordNavBar/first_sunken.gif',1)"
onmouseup="MM_swapImgRestore()"
onmouseover="MM_swapImgRestore()" onmouseout="MM_swapImgRestore()" /></a></td>
<td width="24"><a href="/DB/producerdetail_contacts.asp?index=0"><img src="Templates/RecordNavBar/previous.gif"
alt="previous record" name="previous" border="0" id="previous"
onmousedown="MM_swapImage('previous','','Templates/RecordNavBar/previous_sunken.gif',1)"
onmouseup="MM_swapImgRestore()"
onmouseover="MM_swapImgRestore()" onmouseout="MM_swapImgRestore()" /></a></td>
<td width="70">
<input name="textfield" type="text" value="1" size="5" maxlength="6"/>
</td>
<td width="24"><a href="/DB/producerdetail_contacts.asp?index=1"><img src="Templates/RecordNavBar/next.gif"
alt="next record" name="next" border="0" id="next"
onmousedown="MM_swapImage('next','','Templates/RecordNavBar/next_sunken.gif',1)"
onmouseup="MM_swapImgRestore()"
onmouseover="MM_swapImgRestore()" onmouseout="MM_swapImgRestore()" /></a></td>
<td width="24"><a href="/DB/producerdetail_contacts.asp?index=-1"><img src="Templates/RecordNavBar/last.gif"
alt="last record" name="last" border="0" id="last"
onmousedown="MM_swapImage('last','','Templates/RecordNavBar/last_sunken.gif',1)"
onmouseup="MM_swapImgRestore()"
onmouseover="MM_swapImgRestore()" onmouseout="MM_swapImgRestore()" /></a></td>
<td width="167"> of <span class="Data">1</span> </td>
<td width="43"><input name="butNew" type="submit" class="Nav" id="butNew" onclick="javascript:fnNewRecord()" value="NEW"> </td>
<td width="44"><input name="butEdit" type="submit" class="Nav" id="butEdit" onclick="javascript:fnEditRecord()" value="EDIT" /> </td>
<td width="114"><input name="butDelete" type="submit" class="Nav" id="butDelete" onclick="javascript:fnDeleteRecord()" value="Delete" /> </td>
</tr>
</table>
</div>
<!-- #EndLibraryItem --></td>
<body onload=javascript:MM_showHideLayers('laySelect','','show','layUpdate','','hide','layInsert','','hide');MM_preloadImages('Templates/RecordNavBar/first_sunken.gif')>
<div id="laySelect" style="position:absolute; left:25px; top:25px; width:509px; height:340px; z-index:3; visibility: visible;">
<table width="500" border="0" cellspacing="2" cellpadding="2">
<tr>
<td colspan="4"><!-- #BeginLibraryItem "/Library/MainRecnavNED.lbi" -->
<style type="text/css">
<!--
@import url("../CSS/NRCG.css");
-->
</style>
<div class="Nav" id="layRecordNavBar" style="position:absolute; left:0px; top:0px; width:614px; height:10px; z-index:3; background-color: #FFFFFF; layer-background-color: #FFFFFF; border: 1px none #000000; visibility: visible;">
<table width="600" border="0" cellpadding="0" cellspacing="0">
<tr height="16">
<td width="82">
<label>Record</label>
: </td>
<td width="24"><a href="/DB/producerdetail_contacts.asp?index=0"><img src="Templates/RecordNavBar/first.gif"
alt="first record" name="first" border="0" id="first"
onmousedown="MM_swapImage('first','','Templates/RecordNavBar/first_sunken.gif',1)"
onmouseup="MM_swapImgRestore()"
onmouseover="MM_swapImgRestore()" onmouseout="MM_swapImgRestore()" /></a></td>
<td width="24"><a href="/DB/producerdetail_contacts.asp?index=0"><img src="Templates/RecordNavBar/previous.gif"
alt="previous record" name="previous" border="0" id="previous"
onmousedown="MM_swapImage('previous','','Templates/RecordNavBar/previous_sunken.gif',1)"
onmouseup="MM_swapImgRestore()"
onmouseover="MM_swapImgRestore()" onmouseout="MM_swapImgRestore()" /></a></td>
<td width="70">
<input name="textfield" type="text" value="1" size="5" maxlength="6"/>
</td>
<td width="24"><a href="/DB/producerdetail_contacts.asp?index=1"><img src="Templates/RecordNavBar/next.gif"
alt="next record" name="next" border="0" id="next"
onmousedown="MM_swapImage('next','','Templates/RecordNavBar/next_sunken.gif',1)"
onmouseup="MM_swapImgRestore()"
onmouseover="MM_swapImgRestore()" onmouseout="MM_swapImgRestore()" /></a></td>
<td width="24"><a href="/DB/producerdetail_contacts.asp?index=-1"><img src="Templates/RecordNavBar/last.gif"
alt="last record" name="last" border="0" id="last"
onmousedown="MM_swapImage('last','','Templates/RecordNavBar/last_sunken.gif',1)"
onmouseup="MM_swapImgRestore()"
onmouseover="MM_swapImgRestore()" onmouseout="MM_swapImgRestore()" /></a></td>
<td width="167"> of <span class="Data">1</span> </td>
<td width="43"><input name="butNew" type="submit" class="Nav" id="butNew" onclick="javascript:fnNewRecord()" value="NEW"> </td>
<td width="44"><input name="butEdit" type="submit" class="Nav" id="butEdit" onclick="javascript:fnEditRecord()" value="EDIT" /> </td>
<td width="114"><input name="butDelete" type="submit" class="Nav" id="butDelete" onclick="javascript:fnDeleteRecord()" value="Delete" /> </td>
</tr>
</table>
</div>
<!-- #EndLibraryItem --></td>