//- CheckEnter -// function CheckEnter(oForm, cAction, e) { var nCharacterCode; if (e && e.which) { e = e; nCharacterCode = e.which; } else if (typeof(event) != 'undefined') { e = event; nCharacterCode = e.keyCode; } if (nCharacterCode == 13) { oForm.Action.value = cAction; oForm.submit(); return false; } return true; } function OpenMap(){ window.open("/Map/map.html", "mapWindow", "width=780, height=580, resizable=yes"); } function UpdateSpotLightDiv() { var container = document.getElementById('SpotLightContainerDiv'); var spotlight = document.getElementById('SpotLightDiv'); //+ if (container) { if (spotlight) { var containerHeight = $(container).height(); var spotlightHeight = $(spotlight).height() + 65; if (spotlightHeight > containerHeight) { $(container).css({height: spotlightHeight + 'px'}); } } } }