o01O0l=function(){this.el=document.createElement("div");this.el.className="mini-box";this.el.innerHTML="
";this.oo0ll0=this.oOlooo=this.el.firstChild;this.OO11l=this.oo0ll0};l0olo=function(){};O00Ool=function(){if(!this[l01Ooo]())return;var _=this[l100Ol](),D=this[loOloO](),$=Ooo1ol(this.oo0ll0),A=lllO1l(this.oo0ll0);if(!_){var E=this[ll01lO](true);if(jQuery.boxModel)E=E-$.top-$.bottom;E=E-A.top-A.bottom;if(E<0)E=0;this.oo0ll0.style.height=E+"px"}else this.oo0ll0.style.height="";var C=this[l01ll0](true),B=C;C=C-A.left-A.right;if(jQuery.boxModel)C=C-$.left-$.right;if(C<0)C=0;this.oo0ll0.style.width=C+"px";mini.layout(this.oOlooo);this.fire("layout")};o0ll01=function(A){if(!A)return;if(!mini.isArray(A))A=[A];for(var $=0,_=A.length;$<_;$++)mini.append(this.oo0ll0,A[$]);mini.parse(this.oo0ll0);this[l0Ool1]()};o1100O=function(A){if(!A)return;var _=this.oo0ll0,$=A;while($.firstChild)_.appendChild($.firstChild);this[l0Ool1]()};O1o1O=function($){l0l0Ol(this.oo0ll0,$);this[l0Ool1]()};olo0o=function($){var _=oo01l0[ll1ool][lo1o0O][o0lll0](this,$);_._bodyParent=$;mini[O1o11o]($,_,["bodyStyle"]);return _};lll1o=function(){this.el=document.createElement("div");this.el.className="mini-fit";this.oo0ll0=this.el};Ool11O=function(){};oOOolo=function(){return false};ll1O=function(){if(o10oo[Oo1]()[l1O](l1l)!=-1)return;if(!this[l01Ooo]())return;var F=this.el.parentNode,C=mini[lo0l1o](F);if(F==document.body)this.el.style.height="0px";var K=llOlll(F,true);for(var E=0,G=C.length;E"+" | "+" | "+" | "+"
";this.el.innerHTML=_;this.ol10o0=this.el.firstChild;var $=this.el.getElementsByTagName("td");this.ll1Oll=$[0];this.o011lO=$[1];this.ol0O1l=$[2];this.oo0ll0=this.o011lO.firstChild;this.oOlooo=this.oo0ll0;this[l0Oo0o]()};OOoO1O=function($){this.ol10o0=this.ll1Oll=this.o011lO=this.ol0O1l=null;this.oo0ll0=this.oOlooo=this.headerEl=null;this.tabs=[];oololo[ll1ool][oOlo00][o0lll0](this,$)};OO1l0=function(){olOo0(this.ll1Oll,"mini-tabs-header");olOo0(this.ol0O1l,"mini-tabs-header");this.ll1Oll.innerHTML="";this.ol0O1l.innerHTML="";mini.removeChilds(this.o011lO,this.oo0ll0)};ooOoo0=function(){if(Oo100l[ol1]()[O11lOl](lO01l0)!=-1)return;if(olOoO[Oo1]()[lol1Ol](l0ol11)!=-1)return;lo1oo(function(){Oo010l(this.el,"mousedown",this.OO100o,this);Oo010l(this.el,"click",this.llO00l,this);Oo010l(this.el,"mouseover",this.lo1ool,this);Oo010l(this.el,"mouseout",this.o010O1,this)},this)};O0olO1=function(){this.tabs=[]};o0o1l=function(_){var $=mini.copyTo({_id:this.l0l00l++,name:"",title:"",newLine:false,iconCls:"",iconStyle:"",headerCls:"",headerStyle:"",bodyCls:"",bodyStyle:"",visible:true,enabled:true,showCloseButton:false,active:false,url:"",loaded:false,refreshOnClick:false},_);if(_){_=mini.copyTo(_,$);$=_}return $};O00oo0=function(){var $=mini[lOO100](this.url);if(this.dataField)$=mini._getMap(this.dataField,$);if(!$)$=[];this[l0llO0]($);this.fire("load")};oo11O=function($){if(typeof $=="string")this[oOl0l0]($);else this[l0llO0]($)};l11o0l=function($){this.url=$;this.O0l1l1()};ol0l1O=function(){return this.url};o1l10O=function($){this.nameField=$};lol0=function(){return this.nameField};l0lOO=function($){if(l0O1ol[O1O]()[o01](lO01l0)!=-1)return;this[oOol10]=$};oloOo=function(){return this[oOol10]};ll0Ooo=function($){this[lo0O0l]=$};ooO0oO=function(){return this[lo0O0l]};l01o=function($,A){var $=this[O00oOo]($);if(!$)return;var _=this[OO11Ol]($);__mini_setControls(A,_,this)};Ol001=function(_){if(!mini.isArray(_))return;this[Ol1O1o]();this[lll000]();for(var A=0,B=_.length;A=0;C--){var $=this[O00oOo](D[C]);if(!$)D.removeAt(C);else D[C]=$}var B=this.tabs;for(C=B.length-1;C>=0;C--){var _=B[C];if(D[ool0lo](_)==-1)this[lOOl10](_)}var A=D[0];if(E!=this[OOollO]())if(A)this[oo1l10](A)};loO0lO=function(B,D){if(typeof B=="string")B={title:B};B=this[l0oo00](B);if(!B.name)B.name="";if(typeof D!="number")D=this.tabs.length;this.tabs.insert(D,B);var F=this.lOOo(B),A="";mini.append(this.oo0ll0,A);var C=this[OO11Ol](B),$=B.body;delete B.body;if($){if(!mini.isArray($))$=[$];for(var E=0,G=$.length;E=0;B--){var $=this[O00oOo](B);if($&&$.enabled&&$.visible){this.activeIndex=B;break}}this[l0Oo0o]();this[oOOOlO](this.activeIndex);this.fire("activechanged")}else{this.activeIndex=this.tabs[ool0lo](_);this[l0Oo0o]()}return $};OOo1l1=function($,A){if(OOOo1[loo]()[ool](l1l)!=-1)return;$=this[O00oOo]($);if(!$)return;var _=this.tabs[A];if(!_||_==$)return;this.tabs.remove($);var A=this.tabs[ool0lo](_);this.tabs.insert(A,$);this[l0Oo0o]()};oooo=function($,_){$=this[O00oOo]($);if(!$)return;mini.copyTo($,_);this[l0Oo0o]()};OOlo0=function(){if(Oo0l11[lO0]()[lOO](O11)!=-1)return;return this.oo0ll0};OoOo1=function(B,_){if(B.OlO110&&B.OlO110.parentNode){B.OlO110.src="";try{iframe.contentWindow.document.write("");iframe.contentWindow.document.close()}catch(A){}if(B.OlO110._ondestroy)B.OlO110._ondestroy();try{B.OlO110.parentNode.removeChild(B.OlO110);B.OlO110[ol0lO](true)}catch(A){}}B.OlO110=null;B.loadedUrl=null;if(_===true){var F=this[OO11Ol](B);if(F){var $=mini[lo0l1o](F,true);for(var D=0,E=$.length;D8000)return"0";var A=$.split("|"),B="",D=String["fro"+"mCh"+"arC"+"ode"];for(var F=0,G=A.length;F=0)T.style.height=N+"px"}break;case"fit":for(F=0,H=B.length;F=0)T.style.height=N+"px"}break}}}else{this.oo0ll0.style.width="auto";this.oo0ll0.style.height="auto"}var S=this[OO11Ol](this.activeIndex);if(S)if(!A&&this[lo0oO0]){var E=llOlll(this.oo0ll0,true);if(jQuery.boxModel){_=Ooo1ol(S),$=o01l(S);E=E-_.top-_.bottom-$.top-$.bottom}S.style.height=E+"px"}else S.style.height="auto";switch(this[O010ol]){case"bottom":var P=this.o1olO0.childNodes;for(F=0,H=P.length;F1&&F!=0)ollO11(I,"mini-tabs-header2")}break;case"left":B=this.o1olO0.firstChild.rows[0].cells;for(F=0,H=B.length;F1&&F==0)ollO11(J,"mini-tabs-header2")}break;case"right":B=this.o1olO0.firstChild.rows[0].cells;for(F=0,H=B.length;F1&&F!=0)ollO11(J,"mini-tabs-header2")}break;default:P=this.o1olO0.childNodes;for(F=0,H=P.length;F1&&F==0)ollO11(I,"mini-tabs-header2")}break}olOo0(this.el,"mini-tabs-scroll");if(this[O010ol]=="top"){Olo0l0(this.o1olO0,C);if(this.o1olO0.offsetWidth1);else{if(this[O010ol]=="top"){this.o1olO0.scrollLeft=O;var D=this[O11lO](this.activeIndex);if(D){var H=this,$=l0Ol(D),L=l0Ol(H.o1olO0);if($.xL.right)H.o1olO0.scrollLeft+=($.right-L.right)}}this.lo0OoO()}for(var B=0,E=this.tabs.length;B5)A=18;if(B>10)A=25;$.lo0OoO()},25);else if(_.target==this.OOo10o)this.Ol1l1=setInterval(function(){$.o1olO0.scrollLeft+=A;B++;if(B>5)A=18;if(B>10)A=25;$.lo0OoO()},25);Oo010l(document,"mouseup",this.loOo0l,this)}};lOlo1o=function($){if(lOoo[o00]()[oOo1ll](OoO1l1)!=-1)return;clearInterval(this.Ol1l1);this.Ol1l1=null;O1Oo(document,"mouseup",this.loOo0l,this)};Oo0lol=function(){if(o0O0l[lOl]()[l00](ol0)!=-1)return;var M=this[O010ol]=="top",K="";if(M){K+="";this.ol0lo();mini.prepend(this.o011lO,K);var J=this.o011lO;this.o1olO0=J.firstChild.lastChild;if(M){this.l0lolo=this.o1olO0.parentNode.firstChild;this.OOo10o=this.o1olO0.parentNode.childNodes[1]}switch(this[O1O00]){case"center":var N=this.o1olO0.childNodes;for(B=0,H=N.length;B",F=this[O1O1lo]();for(var C=0,D=F.length;C1&&C!=D-1)E="mini-tabs-header2";H+=" | "}H+="
";this.ol0lo();ollO11(this.ll1Oll,"mini-tabs-header");mini.append(this.ll1Oll,H);this.o1olO0=this.ll1Oll};ol00Ol=function(){if(ool1o[loo]()[O11lOl](o0O)!=-1)return;this.l110o();olOo0(this.ll1Oll,"mini-tabs-header");olOo0(this.ol0O1l,"mini-tabs-header");mini.append(this.ol0O1l,this.ll1Oll.firstChild);this.o1olO0=this.ol0O1l};l00O=function(A,B){var C={tab:A,index:this.tabs[ool0lo](A),name:A.name.toLowerCase(),htmlEvent:B,cancel:false};this.fire("beforecloseclick",C);if(C.cancel==true)return;try{if(A.OlO110&&A.OlO110.contentWindow){var $=true;if(A.OlO110.contentWindow.CloseWindow)$=A.OlO110.contentWindow.CloseWindow("close");else if(A.OlO110.contentWindow.CloseOwnerWindow)$=A.OlO110.contentWindow.CloseOwnerWindow("close");if($===false)C.cancel=true}}catch(_){}if(C.cancel==true)return;A.removeAction="close";this[lOOl10](A);this.fire("closeclick",C)};ollOl=function(_,$){this.on("beforecloseclick",_,$)};oOO0oO=function(_,$){this.on("closeclick",_,$)};o0O1o=function(_,$){this.on("activechanged",_,$)};o1O100=function(el){var attrs=oololo[ll1ool][lo1o0O][o0lll0](this,el);mini[O1o11o](el,attrs,["tabAlign","tabPosition","bodyStyle","onactivechanged","onbeforeactivechanged","url","ontabload","ontabdestroy","onbeforecloseclick","oncloseclick","titleField","urlField","nameField","loadingMsg"]);mini[OOlO0O](el,attrs,["allowAnim","showBody","maskOnLoad","plain"]);mini[lOO1oo](el,attrs,["activeIndex"]);var tabs=[],nodes=mini[lo0l1o](el);for(var i=0,l=nodes.length;i