window.addEvent("domready",function(){$$('.ttp').fade("hide");});window.addEvent("domready",function(){$$("div#menu li","div#content a","div#metamenu a").each(function(obj){if(obj.hasClass("spacer"))return;obj.fade=new Fx.Tween(obj,{property:"opacity",duration:250,fps:500});obj.addEvent("mouseenter",function(){this.fade.cancel();this.fade.start(0.75);}.bind($(obj)));obj.addEvent("mouseleave",function(){this.fade.cancel();this.fade.start(1);}.bind($(obj)));});});window.addEvent("domready",function(){$$("div#helper img","div#header img","div#header object","table#validatorbtns img").each(function(obj){if(obj.hasClass("spacer"))return;obj.fade=new Fx.Tween(obj,{property:"opacity",duration:250,fps:500});obj.addEvent("mouseenter",function(){this.fade.cancel();this.fade.start(0.5);}.bind($(obj)));obj.addEvent("mouseleave",function(){this.fade.cancel();this.fade.start(1);}.bind($(obj)));});});window.addEvent("load",function(){$$('.ttp').each(function(obj){obj.fade=new Fx.Tween(obj,{property:"opacity"});obj.fade.set(0);});});window.addEvent("load",function(){var tips=new Tips($$('.tooltip'),{showDelay:3000,hideDelay:200,className:'ttp'});tips.addEvent("show",function(tip,elm){if($chk(tip.fade.cancel)){tip.fade.cancel();}else{tip.fade=new Fx.Tween(tip,{property:"opacity",duration:250,fps:500});}
tip.fade.start(0.9);});tips.addEvent("hide",function(tip,elm){if($chk(tip.fade.cancel)){tip.fade.cancel();}else{tip.fade=new Fx.Tween(tip,{property:"opacity",duration:250,fps:500});}
tip.fade.start(0);});});window.addEvent("domready",function(){$$('div#submenu li a').each(function(elm){var lnk=elm.getProperty("href");var pnt=elm.getParent();pnt.addEvent("click",function(){window.location=lnk;});});});window.addEvent("domready",function(){$$('div#submenu li a').each(function(elm){var pnt=elm.getParent();if(pnt.tag=="li"){pnt.setStyle("cursor","pointer");}});});
