var flashNav = { thisId : "flashNav", timer : null, flashObj : null, allSelects : document.getElementsByTagName("SELECT"), tarSelects : new Array(), smallMenu : function(id) { this.flashObj = getSWF(id); this.flashObj.onmouseover = function() { this.SetVariable("hoverState", "1"); //this.focus(); }; this.flashObj.onmouseout = function() { this.SetVariable("hoverState", "0"); }; this.getConflictSelects(); }, bigMenu : function(id) { this.flashObj = getSWF(id); this.flashObj.onmouseover = function() { this.SetVariable("hoverState", "1"); //this.focus(); }; this.flashObj.onmouseout = function() { this.SetVariable("hoverState", "0"); }; this.getConflictSelects(); }, growParent : function() { clearTimeout(this.timer); this.flashObj.parentNode.style.height = 400+"px"; /*@cc_on /*@if (@_jscript_version < 5.7) this.hideSelects(); /*@end @*/ }, shrinkParent : function() { this.timer = setTimeout("flashNav.doShrink()",500); /*@cc_on /*@if (@_jscript_version < 5.7) this.showSelects(); /*@end @*/ }, doShrink : function() { this.flashObj.parentNode.style.height = 86+"px"; clearTimeout(this.timer); }, openWindow : function(url,winName,W,H,X,Y) { if(typeof W != 'number') { W = element.offsetWidth || element.style.width || 400; } if(typeof H != 'number') { H = element.offsetHeight || element.style.height || 300; } W = String(W).replace("px",""); H = String(H).replace("px",""); var winH = self.innerHeight || document.documentElement.clientHeight || document.body.clientHeight || 0; var winW = self.innerWidth || document.documentElement.clientWidth || document.body.clientWidth || 0; winH = String(winH).replace("px",""); winW = String(winW).replace("px",""); if(W == undefined) W = 400; if(H == undefined) H = 300; if(X == undefined) X = screen.width/2-W/2; if(Y == undefined) Y = (winH/2)-(H/2); winprops = 'height='+H+',width='+W+',top='+X+',left='+Y+',scrollbars=yes,status=yes'; win = window.open(url, winName, winprops); if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); } }, ccPop : function(url) { var _url = url.replace("-","%5c"); this.openWindow(_url,null,660,660); }, getConflictSelects : function() { var _h = this.flashObj.offsetHeight; var _y = findPosY(this.flashObj); for(var s=0;s _y && sY < (_y+_h)) { this.tarSelects.push(this.allSelects[s]); } } }, hideSelects : function() { for(var i=0;i