getTopPos : function(inputObj)\r
{ \r
var returnValue = inputObj.offsetTop;\r
+ if (returnValue > 700) returnValue = 0;\r
while((inputObj = inputObj.offsetParent) != null){\r
if(inputObj.tagName!='HTML'){\r
returnValue += (inputObj.offsetTop - inputObj.scrollTop);\r
$('div.DHTMLSuite_menuBar_top').click(function(e) {\r
if ($(e.target).attr('class') == 'DHTMLSuite_menuBar_top') { menu.hideSubMenus(); menu.unsetMenuBarState() }\r
});\r
- $('#win1').load(function(){\r
- $('#win1').contents().mousedown(function(){\r
- menu.hideSubMenus();\r
- menu.menuBarState = false;\r
- });\r
- })\r
+ $('#content').mousedown(function(){\r
+ menu.hideSubMenus();\r
+ menu.menuBarState = false;\r
+ });\r
}\r
}\r
\r