I\'m working on a page which fetches code with a Javascript httpObject and uses it to update two elements on the page - a google map, and a DIV that lists the things the mar
You have to read carefully
GEvent.addListener(newMarkers[count], 'mouseover',
(function(dinnerNumber)
{ return function()
{ document.getElementById(dinnerNumber).style.borderColor = '#000000';};
}
)(dinnerNumber)
);
you missed one ();
the 3-rd parameter is (function(var){return function(){//what you want wirh var;};})(var)