I used the CSS templates from Dreamweaver and modified a lot. I am trying to
make my pages compatible across various browsers using validate and in FireFox,
javascript consol. I got the errors out using DW validate but am getting this
error in the javascript console

"menuitem 1 has no properties line 36"

here is line 36 ... indicated by /****line 36 ****?

function closesubnav(event){
if ((event.clientY <100)||(event.clientY > 207)){
for (var i=1; i<= numofitems; i++){
var shutdiv =eval('menuitem'+i+'.thediv'); /****line 36****/
shutdiv.style.visibility='hidden';
}