<script type="application/javascript" language="javascript">
function showElement(elementID, show){
var element = document.getElementById(elementID);
if (element) {
element.className = (show ? element.className.replace(/hidden/gi, "show") : element.className + " hidden");
}
}
</script>
<table cellpadding="3" cellspacing="1" border="0" width="100%">
<tr class="baseGrayMedium">
<td colspan="2">
(<a href="javascript:void(0);" onClick="showElement('evicChkLst',true);" class="nostyle">+</span></a>|<a href="javascript:void(0);" onClick="showElement('evicChkLst',false);" class="nostyle">-</span></a>) <B>Eviction Checklist</B>
</td>
</tr>
</table>
i get the javascript error saying object expected and it points to onClick event in the HTML code.. Could some one suggest me why so