viewer.removeOverlay(element or element id);
It usually means an element in your document, i.e. a DOM node. So, a
div, or a
span, or somesuch.
You can select an element with jQuery pretty easily:
var $obj = $('#elementId');
and then grab the underlying DOM node from the jQuery object that results:
var elm = $obj;