function simpleWindow(url,windowName,width,height) { windowFeatures = "scrollbars=yes,resizable=yes,menubar=no,status=no"; windowFeatures = windowFeatures + ",width="+width; windowFeatures = windowFeatures + ",height="+height; newWindow = window.open(url,windowName,windowFeatures); setTimeout("newWindow.focus()",125); } function buttonClass(obj, new_style) { obj.className = new_style; } function menuTop(id,mode,obj) { try { if(mode=='show') { document.getElementById(id).style.visibility='visible'; //obj.className='popupMenuTopHover'; } else { document.getElementById(id).style.visibility='hidden'; //obj.className='popupMenuTop'; } } catch(e) { // There may not be a popup for a given menu item. So on error, just catch and consume. } }