window.ie6&&function(){var b=function(a){return $(a).retrieve("iframe",(new Element("iframe",{src:"javascript:void(0);",styles:{position:"absolute",zIndex:-1,border:"none",filter:"alpha(opacity=0)"}})).inject(a)).setStyles({top:0,left:0,width:a.offsetWidth,height:a.offsetHeight})};Dialog=Class.refactor(Dialog||$empty,{showDialog:function(){var a=this.dialog,c=b(a);a.getElement(".dialog-head .btn-close").set("html","×");a.addEvent("resize",function(){c.setStyles({top:0,left:0,width:a.offsetWidth,height:a.offsetHeight})});
this.previous.apply(this,arguments)}});Ex_Loader("picker",function(){try{GoogColorPicker=Class.refactor(GoogColorPicker,{initialize:function(a,d){this.addEvent("show",function(){b(this.gcp_panel)});this.previous(a,d)}}),DatePickers=Class.refactor(DatePickers,{initialize:function(a,d){this.addEvent("show",b);this.previous(a,d)}})}catch(a){}});Tips=Class.refactor(Tips,{initialize:function(a,c){this.addEvent("show",b);this.previous(a,c)}})}();
var OverlayFix=new Class({initialize:function(b){Browser.Engine.trident&&(this.element=$(b),this.relative=this.element.getOffsetParent(),this.fix=(new Element("iframe",{frameborder:"0",scrolling:"no",src:"javascript:false;",styles:{position:"absolute",border:"none",display:"none",filter:"progid:DXImageTransform.Microsoft.Alpha(opacity=0)"}})).inject(this.element,"after"))},show:function(){if(this.fix){var b=this.element.getCoordinates(this.relative);delete b.right;delete b.bottom;this.fix.setStyles($extend(b,
{display:"",zIndex:(this.element.getStyle("zIndex")||1)-1}))}return this},hide:function(){this.fix&&this.fix.setStyle("display","none");return this},destroy:function(){this.fix&&(this.fix=this.fix.destroy())}});