// Title: COOLjsMenu
// URL: http://javascript.cooldev.com/scripts/coolmenu/
// Version: 2.9.4f
// Last Modify: 6 Apr 2007
// Author: Alex Kunin <alx@cooldev.com>
// Notes: Registration needed to use this script on your web site.
// Copyright (c) 2001-2006 by CoolDev.Com
// Copyright (c) 2001-2006 by Sergey Nosenko

// Options: STANDARD, COMPRESSED

function _4t(_4){return typeof _4=='function'};function _S(_4){return typeof _4=='undefined'};function _2x(_4){return typeof _4=='number'};function _4s(_4){return typeof _4=='object'};function _3G(_4,_3s){return _4&&_4.constructor==_3s};function _R(_4){return _3G(_4,Array)};Array.prototype._r=Array.prototype.push||function(_4){this[this.length]=_4;return this.length};Array.prototype._3j=Array.prototype.splice||function(_m,_3n){_m=Math.max(0,Math.min(this.length,_m));var _1J=[].concat(arguments);var _35=[].concat(arguments).slice(2).concat(this.slice(_m+_3n));var _a=this.slice(_m,_3n);this.length=_m;for(var i=0;i<_35.length;i++){this._r(_35[i])};return _a};function _38(_J,_1e){var o=window.$instances||(window.$instances=[]);if(_1e){if(!o[_1e]){o[_1e]=[]};o[_1e]._r(_J)};return'$instances['+(o._r(_J)-1)+']'};function _3t(_1e,_3e){var _a=[].concat(window.$instances&&window.$instances[_1e]||[]);if(_3e){for(var i=0;i<_a.length;i++){if(_a[i]==_3e){_a._3j(i,1);break}}};return _a};function _q(_J,_9,_K){if(_J.addEventListener){_J.addEventListener(_9,_K,false)}else{var _34=_J['on'+_9];_J['on'+_9]=function(_l){if(!_l){_l=window.event};_K(_l);return _34?_34(_l):true}}};function _o(_3B){this._1K=[_3B]};_o._Z=function(_j,_2i){return new _o()._Z(_j,_2i)};_o._T=function(_6){var _a=[],_12=0;while((_12=_6.indexOf('{',_12))!=-1&&(_3q=_6.indexOf('}',_12))){var _D=_6.slice(_12+1,_3q);if(_D.match(/^\w+$/)){_a._r(_6.slice(0,_12));_a._r(_D);_6=_6.slice(_3q+1);_12=0}else{_12++}};_a._r(_6);return _a};_o.prototype={_1E:function(_6){this._1K._r(_6);return this},_Z:function(_j,_2i){for(var i=0;i<_j.length;i+=2){this._1K._r(_j[i]);this._1K._r(_2i[_j[i+1]])};return this},toString:function(){return this._1K.join('')}};function _2E(_2J){this._2J=_2J;this._1d={focus:[],blur:[],keydown:[],mouseover:[],mouseout:[],click:[]};this._28=_38(this);this._3D=_o._T('return '+this._28+'.$dispatch(\'{type}\',window.event||arguments[0],{arg})');this._3C=_o._T(' on{type}="'+this._3A('{type}','{arg}')+'"')};_2E.prototype={_3E:function(_z,_4){for(var i=0;i<_z.length;i++){if(_z[i]==_4){return i}};return-1},_2g:function(_9){if(!this._1d[_9]){this._1d[_9]=[];this._1d[_9]._3K=true};return this._1d[_9]},_26:function(_9,_K){if(_R(_9)){for(var i=0;i<_9.length;i++){this._26(_9[i],_K)}}else if(this._3E(this._2g(_9),_K)==-1){this._2g(_9)._r(_K)}},_2$:function(_9,_l,_g){},_18:function(_9,_l,_g){this._2$(_9,_l,_g);var _1Q=this._2g(_9);for(var i=_1Q.length-1;i>=0;i--){if((typeof _1Q[i]=='function'?_1Q[i](_l,_g):_1Q[i]._2Q(_l,_g))===false){return false}};return true},$dispatch:function(_9,_l,_g){return this._18(_9,_l,_g)},_3A:function(_9,_g){return _o._Z(this._3D,{type:_9,arg:_g||0})},_2V:function(_g){var _a=new _o();for(var _9 in this._1d){if(!this._1d[_9]._3K){_a._Z(this._3C,{type:_9,arg:_g||0})}};return _a}};CLoadNotify=function(){if(window.on$htmlload){window.on$htmlload()}};var _1c;window.CMenus=window.$CM=window._3I={};window.BLANK_IMAGE='img/b.gif';var _={};_._1X=navigator.appVersion;_._1n=navigator.userAgent;_._19=window.opera;_._4j=_._1n.match(/opera.[789]/i);_._2T=_._19&&!_._4j;_._Y=document.getElementById;_._4d=_._1X.match(/MSIE 5.5/)&&_._Y&&!_._19;_._4f=_._1X.match(/MSIE 5/)&&_._Y&&!_._4d&&!_._19;_._4u=_._1X.match(/MSIE 6/)&&_._Y&&!_._19;_._1S=document.all&&!_._Y&&!_._19;_._1_=_._1X.match(/MSIE/)&&_._Y&&!_._19;_._1$=_._1_&&!_._4f;_._25=_._1n.match(/Mac/);_._4b=_._1n.match(/hotjava/i);_._h=document.layers&&!_._Y&&!_._4b;_._4e=_._1n.match(/gecko/i);_._w=_._1_&&!_._25;_._4D=_._1n.match(/gecko\/200[012]/i);function _2Y(_3){this._3=_3;this._Q=_3._Q+'t_';this._49=0;this._4a=_3._b._8.imagePrefix||'';this._4h=_3._b._8.urlPrefix||'';this._48=_3._b._8.hideNormalOnRollover;_1V(_3._b._8,{backgroundColor:'',backgroundStyle:'',textClass:'',borderColor:'',borderWidth:'',shadowColor:'',shadow:'',valign:'',backgroundClass:'',textStyle:'',itemFilters:'',levelFilters:'',levelBackground:null,itemBackground:null});var _c=this,_2P=_3._b._8.blankImage?this._4a+_3._b._8.blankImage:BLANK_IMAGE;function _29(_2){return _c._2b(_2,'status')};function _4m(_2){if(_29(_2)){window.status=_29(_2)}};function _4n(_2){if(_29(_2)){window.status=window.defaultStatus}};_3._q(['focus','mouseover'],_4m);_3._q(['blur','mouseout'],_4n);_3._q(['focus','mouseover'],function(_2){_3._1R(_2)});_3._q('blur',function(_2){if(!_2._8.hasControls){_3._1R(null)}});_3._q('innerhover',function(_2){if(!_2._8.clickToActivate){_3._2N()};if(_3._2I){_3._1m(_2._k())}});_3._q('click',function(_2){_3._2N();if(!_2._8.url){_3._1m(_2._k())}else if(!_2._8.sticky){_3._2a()}});_3._q('outerhover',function(_2){if((!_3._4l||_3._4y)&&(!_2||!_2._8.hasControls)){_3._3L()}});_3._q('outerclick',function(_2){_3._2a()});function _2d(_1,_6,_j,_3r,_4k,_2e,_f,_1D,_4w,_4x,_4C,_3l,_3M,_3T,_3U){return _6._Z(_j,{bgColor:_3r?'background-color:'+_3r+';':'',bgClass:_3M,bgStyle:_4k||'',textClass:_2e,textStyle:_3T,code:_f,valign:_3l?' valign="'+_3l+'"':'',wrap:_3U?'':' nowrap="nowrap"',id:_1._s,w:_17(_1.w),h:_17(_1.h),x:_1.x,y:_1.y,visibility:_1._1M()?'':(_._h?' visibility="hidden"':'visibility:hidden;')})};function _17(_n){return _._h?(isNaN(_n)?1:_n):(isNaN(_n)?'1px':_n+'px')};this._d={_47:new _L({_j:_._h?_o._T('<layer id="{id}" {visibility} width="{w}" height="{h}" left="{x}" top="{y}" color="{color}" background="{image}"></layer>'):_o._T('<div id="{id}" class="{cssClass}" style="overflow:hidden;{visibility}position:absolute;{bgImage}width:{w};height:{h};left:{x}px;top:{y}px;background-color:{color};{style}"></div>'),_f:function(_6){return _6._Z(this._j,{id:this._s,w:_17(this.w),h:_17(this.h),x:this.x,y:this.y,visibility:this._1M()?'':(_._h?' visibility="hidden"':'visibility:hidden;'),cssClass:this._2e,color:this._3W,style:this._7,image:this._1D,bgImage:this._1D?'background-image:url('+this._1D+')':''})}}),_24:new _L({_j:_._h?_o._T('<layer id="{id}"{visibility} left="{x}" top="{y}" width="{w}" height="{h}"><table class="{bgClass}" width="100%" height="100%" style="{bgColor}{bgStyle}" cellspacing="0" cellpadding="0" border="0"><tr{valign}>{icon}<td{wrap}><div class="{textClass}" style="{textStyle}">{code}</div></td>{arrow}</tr></table></layer>'):_o._T('<table id="{id}" class="{bgClass}" style="{visibility}position:absolute;left:{x}px;top:{y}px;width:{w};height:{h};{bgColor}{bgStyle}" cellspacing="0" cellpadding="0" border="0"><tr{valign}>{icon}<td{wrap}><div class="{textClass}" style="{textStyle}">{code}</div></td>{arrow}</tr></table>'),_3S:!_3._b._8.measureRollover,_I:this._48?1:0,_t:['+borderTop','+borderLeft'],_H:['+item-borderTop-borderBottom','+item-borderLeft-borderRight'],_f:function(_6){var o=this._2._8;return _2d(this,_6,this._j,_x(o.backgroundColor)||o.color.bgON,_x(o.backgroundStyle),_x(o.textClass)||o.css.ON,o.code[0],o.image&&o.image[0],o.imgsize,this._2._1I&&o.arrow&&o.arrow[0],o.arrsize,_x(o.valign),_x(o.backgroundClass),_x(o.textStyle),!isNaN(this.w))}}),_3N:new _L({_j:_._h?_o._T('<layer id="{id}"{visibility} width="{w}" height="{h}" left="{x}" top="{y}"><a class="{css}" title="{4}" accesskey="{key}" href="{href}" target="{target}"'+_3._O._2V('{index}')+'><img src="'+_2P+'" width="{w}" height="{h}" title="{tip}" alt="{tip}" border="0" /></a></layer>'):_o._T('<a id="{id}" style="display:block;{visibility}position:absolute;width:{w};height:{h};left:{x}px;top:{y}px;" class="{css}" title="{4}" accesskey="{key}" href="{href}" target="{target}"'+_3._O._2V('{index}')+'><img src="'+_2P+'" width="100%" height="100%" title="{tip}" alt="{tip}" border="0" /></a>'),_3P:true,_f:function(_6){var o=this._2._8;return _6._Z(this._j,{css:o.trigger,key:o.key,href:o.url&&((/^\w+:|^#/.test(o.url)?'':_c._4h)+o.url)||'#',target:o.target,tip:_c._2b(this._2,'tip')||_c._2b(this._2,'alt'),index:this._2._m,id:this._s,w:_17(this.w),h:_17(this.h),x:this.x,y:this.y,visibility:this._1M()?'':(_._h?' visibility="hidden"':'visibility:hidden;')})}})};this._d._22=_1k(this._d._24);this._d._22._I=2;this._d._22._f=function(_6){var o=this._2._8;return _2d(this,_6,this._j,_1j(o.backgroundColor)||o.color.bgOVER,_1j(o.backgroundStyle),_1j(o.textClass)||o.css.OVER,o.code[1],o.image&&o.image[1],o.imgsize,this._2._1I&&o.arrow&&o.arrow[1],o.arrsize,_1j(o.valign),_1j(o.backgroundClass),_1j(o.textStyle),!isNaN(this.w))};this._d._3f=_1k(this._d._24);this._d._3f._f=function(_6){var o=this._2._8;return _2d(this,_6,this._j,_x(o.backgroundColor)||o.color.bgON,_x(o.backgroundStyle),_x(o.textClass)||o.css.ON,0,0,0,0,0,_x(o.valign),_x(o.backgroundClass),_x(o.textStyle),0)}};_2Y.prototype={_3Q:['+item','+item'],_3X:['+shadow','+shadow'],_3Y:['+level','+level'],_1Z:[['+item','+borderLeft'],['+borderTop','+item'],['+item','+borderRight'],['+borderBottom','+item']],_43:[[0,0],[0,0],[0,'+item-borderRight'],['+item-borderBottom',0]],_2b:function(_2,_D){var _4=_2._8[_D];if(_S(_4)){return''};if(_S(_2._8[_4])){return _4};return _x(_2._8[_4])},_44:function(_2){var _a=[],o=_2._8,_c=this,_3c=o.shadowColor||o.color.shadow,_27=o.borderColor||o.color.border;function _1s(_1){_1._2=_2;_1._s=_c._Q+_c._49++;if(_1._3P&&o.hasControls){_1._I=1};_1._1i=_1._I===0||_1._I===1;_a._r(_1)};function _1H(__,_2C){_1s(_1p(_c._d._47,{_H:_V(__.size||_2C||_L._H),_t:_V(__.offset||_L._t,'item'),_2e:__.cssClass,_7:__.style,_3W:__.color,_1D:__.image,_I:__.state||0}))};function _36(_2o,_2C){if(_2o){for(var i=0;i<_2o.length;i++){_1H(_2o[i],_2C)}}};if(_3c){_1H({color:_3c,offset:this._3X})};if(_2._2n){_36(o.levelBackground,this._3Y)};_36(o.itemBackground);if(_27){if(!o.transparentBorder){_1H({color:_27,size:this._3Q})}else{for(var i=0;i<4;i++){if(_2._1Z[i]){_1H({color:_27,size:this._1Z[i],offset:this._43[i]})}}}};if(_2._3h){_1s(_1k(this._d._3f))}else{_1s(_1k(this._d._24));if(!o.hasControls){_1s(_1k(this._d._22))}};_1s(_1k(this._d._3N));return _a},_45:function(_A,_1){new _2v()._15(_A,_1)},_42:function(_2,_1){new _2m()._15(_2,_1)}};function _2u(){};_2u.prototype={_w:'',_15:function(_1N,_1){if(_1._2s){this._1N=_1N;this._1=_1;_1._2s(this)}},_3o:function(_2y){if(_2y&&_._w){var _w=this._3k(!this._1._3m());if(_w!=this._w){if(this._w){_B(this._1._1.filters,{stop:_1c})};this._1._7.filter=this._w=_w};if(_w){_B(this._1._1.filters,{apply:_1c})}}},_3i:function(_2y){if(_2y&&_._w&&this._w){_B(this._1._1.filters,{play:_1c})}}};function _2v(){};_2v.prototype=new _2u();_2v.prototype._3k=function(_2w){var o=this._1N._8.levelFilters;return _R(o)?o[_2w?0:1]:(o||'')};function _2m(){};_2m.prototype=new _2u();_2m.prototype._3k=function(_2w){var o=this._1N._8.itemFilters;return _R(o)?o[_2w?0:1]:(o||'')};function _16(_D,_i){_1V(_i[0],{dynamic:true,zIndex:1000,exclusive:true,wrapoff:[0,0],delay:[0,800],pos:[0,0]});window._3I[_D]=this;this._i=[];this.items=this._i;this._D=_D;this._1F=_i[0].dynamic&&((_._Y&&!_._2T&&!(_._1_&&_._25))||_._h||_._1S);this._28=_38(this,'COOLjsMenu');this._Q=_D+'_';this._2D=_i[0].https_fix_blank_doc||'javascript:false';this._2H=_R(_i[0].delay)?_i[0].delay[0]:_i[0].delay;this._3_=_R(_i[0].delay)?_i[0].delay[1]:this._2H;this._1O=[];this._2L=3;this._2M={x:0,y:0};this._W=false;this._b=new _2K(this,_i);this._O=new _2E(this);var _c=this;if(this._3$){this._O._2$=function(_9,_l,_g){var _1q=_c._i[_g],_1r=_c._4q(),_2r=[],_2p=_1r&&_1r._b;if(_1q&&_1r&&!_c._2q&&!_1r._2q){_c._2q=true;while(_1q._5){_2r._r(_1q._1o);_1q=_1q._5};for(var i=_2r.length-1;i>=0;i--){_2p=_2p._k()._30(_2r[i])};_1r._O._18(_9,_l,_2p._m);_c._2q=false}}};this._2X=null;function _1U(){window.clearTimeout(_c._2X)};this._1U=_1U;function _1T(_2,_2W){_1U();var _2B=_2W?_c._2H:_c._3_,_2S=_2W?'$oninnerhover':'$onouterhover';if(_2B>0){_c._2X=window.setTimeout(_c._28+'.'+_2S+'('+(_2?_2._m:-1)+')',_2B)}else if(_2B===0){_c[_2S](_2?_2._m:-1)}};this._1T=_1T;this._q('mouseover',function(_2){_1T(_2,true)});this._q('mouseout',function(_2){_1T(_2,false)});this._q(['focus','click','keydown','outerclick'],_1U);_q(window,'load',function(){_c._2U(true)});_q(window,'$htmlload',function(){_c._2U()});if(_._2T){_y=_1W}else if(_._h){_y=_13}else if(_._1S){_y=_1l}else{_y=_14};_y._32={};this._2A=new _2Y(this);this._31()};_16.prototype={_2_:function(){this._1m(this._b._k())},hide:function(){this._1m(null)},_2O:function(){_B(_3t('COOLjsMenu',this),{_2a:null})},moveXY:function(x,y){this._40({x:x,y:y})},$oninnerhover:function(_g){this._O._18('innerhover',null,_g)},$onouterhover:function(_g){this._O._18('outerhover',null,_g)},_2a:function(){this._1m(null);this._1R(null);this._O._18('dismiss',null,null)},_q:function(_9,_K){this._O._26(_9,{_3:this,_K:_K,_2Q:function(_l,_g){return this._K(this._3._i[_g],_l)}})},_2U:function(_W){this._W=this._W||_W;if(this._W&&_._h){_2G(document.layers);if(this._4r){var o=document.anchors[this._Q+'da'];this._b.x=o.x;this._b.y=o.y}};if(!(_._1S||_._h)||_W){this._2_()}},_3Z:function(_41){for(var _D in this){if(_D.match(_41)){this._O._26(RegExp.$1,{_J:this,_10:_D,_2Q:function(_l,_g){return this._J[this._10](this._J._i[_g],_l)}})}}},_31:function(_46){this._3Z(/^on(\w+)$/);this._b._k()._1L();this.root=this._b;this.root.cd=this._b._k()._v;var w=this._b._k().w,h=this._b._k().h,s,i;this._4A=!isNaN(w+h);if(!_._h){s='<div id="'+this._Q+'r" style="z-index:'+this._b._u[0].zIndex+';position:';if(this._3$&&!this._4B&&_._4e){s+='fixed;top:0;left:0;'}else s+='absolute;left:'+this._b.x+'px;top:'+this._b.y+'px;';s+='">'+(this._1F?'':this._b._k()._U(new _o()));if(_._1$){for(i=0;i<this._2L;i++){s+='<iframe src="'+this._2D+'" id="'+this._Q+'i'+i+'" style="position:absolute;left:-10000px;top:-10000px;visibility:hidden;z-index:-1000;filter:Alpha(opacity=0);" tabindex="-1"></iframe>'}};s+='</div>';if(_46){var o=document.createElement('div');o.innerHTML=s;document.body.appendChild(o)}else{document.write(s)};this._1b=_y._$(this._Q+'r');if(_._1$){for(i=0;i<this._2L;i++){this._1O[i]=_y._$(this._Q+'i'+i)}};if(this._1b._1.parentNode&&this._1b._1.parentNode.tagName!='BODY'){this._1b._1.innerHTML=''}}},_40:function(_3g){if(_._h){_3d(_3g,_c._2M);this._b._k()._3a()}else{this._1b._P(_3g)}},_1R:function(_2){if(!(_.ie4||_._h)||this._W){_39(this._3O,_2,{_2l:1},{_2l:2});this._3O=_2;if(_2&&_2._8.exclusive){this._2O()}}},_1m:function(_A){if(!(_._1S||_._h)||this._W){if(_A&&_A._8.exclusive){this._2O()};if(!_A){_A=this._b._k()};_39(this._3R,_A,{_C:false},{_C:true});this._3R=_A}},_2N:function(){this._2I=true},_3L:function(){this._2I=false;this._1m(null);this._1R(null);this._O._18('deactivate',null,null)}};function _x(_4){return _R(_4)?_4[0]:_4};function _1j(_4){return _R(_4)?_4[1]:_4};_1V(_16.prototype,{addEventListener:_16.prototype._q,initTop:_16.prototype._31,init:_F,show:_16.prototype._2_});function _20(){};_20.prototype={x:0,y:0,_15:function(_5){this._8=_1p(_5._1Y,_37(_5._u[0].style||_5._1Y.style,_5._M+1),_5._u[0]);_33(this._8);this._5=_5;this._3=_5._3;this._1t=!_5._5;this._4v=this._1t;this._2f=_5._3._Q+'l_'+this._5._m;this._1C={w:NaN,h:NaN};this._t=_V(this._8.leveloff||[0,0],'parentItem')},_3p:function(){this.w=this.h=0;for(var i=0;i<this._v.length;i++){var o=this._v[i];this.w=Math.max(this.w,o.x+o.w);this.h=Math.max(this.h,o.y+o.h)}},_1x:function(){return(this._5._5?this._5._5._k()._1x():[]).concat([this])},_1L:function(){if(!this._v){var i,_i=this._5._u,_1G=_i.length-1;if(_S(_i[_1G])){_1G--};this._v=[];for(i=0;i<_1G;i++){this._v[i]=new _2c()};for(i=0;i<_1G;i++){var _2=this._v[i];_2._15(this._3,this._5,i,this._3._i._r(_2)-1,this._v[i-1],this._v[i+1])};this._3p()};return this._v},_4z:function(){return this._1L().length},_30:function(_m){return this._1L()[_m]},_2j:function(){return this._30(0)},_3a:function(){if(this._1){this._1._P(this._3._2M)}},_U:function(_6){if(!this._3._1F){if(_._h){_6._1E('<layer id="'+this._2f+'" left="-10000" top="-10000">')}else{_6._1E('<div id="'+this._2f+'" style="position:absolute;left:-10000px;top:-10000px;width:1000px;">')}};_B(this._1L(),{_U:_6});if(!this._3._1F){if(_._h){_6._1E('</layer>')}else{_6._1E('</div>')};for(var i=0;i<this._v.length;i++){this._v[i]._k()._U(_6)}};return _6},_1g:function(){if(!this._1){this._1=this._3._1F?_y._2h(this._U(new _o()),this._3._1b||1):_y._$(this._2f);this._3._2A._45(this,this._1);if(isNaN(this.w+this.h)){this._1C.w=0;this._1C.h=0;for(var o=this._2j();o;o=o._1v){_4c(o._4g(),this._1C)};_B(this._v,{_1f:_1c});this._3p();_B(this._v,{_1f:true})};if(!this._1t){this.x=this._t.x(this._2j());this.y=this._t.y(this._2j())}else if(_._h){_3d(this._3._b,this)};this._1._P(this);if(!_._h){this._1._1a(this)}};return this._1},_C:function(_4){if(this._1i!=_4){this._1i=_4;this._1g()._C(_4,true);if((!this._1t||this._3._4l)&&(_._1$)){if(_4){if(this._3._1O.length){this._p=this._3._1O._3j(0,1)[0]}else{var _p=document.createElement('IFRAME');_p.style.filter='Alpha(opacity=0)';_p.style.position='absolute';_p.style.zIndex=-1000;_p.tabIndex=-1;_p.src=this._3._2D;this._3._1b._1.appendChild(_p);this._p=new _y(_p)};this._p._C(true);this._p._1a(this);this._p._P(this)}else if(this._p){this._p._P({x:-10000,y:-10000});this._3._1O._r(this._p);this._p=null}}}}};function _1y(){};_1y.prototype=new _20();_1y.prototype._C=_F;_1y.prototype._U=function(_6){return _6};_1y.prototype._3a=_F;function _2c(){};_2c.prototype={_15:function(_3,_5,_1o,_m,_1B,_1v){var _e=_5._u[_1o+1];_1V(_e,_e.format||{});_33(_e);this._3=_3;this.index=_m;this._m=_m;this._5=_5;this._M=_5._M+1;this._1o=_1o;this._21=1;this._u=_e.sub&&_e.sub.length>0?_e.sub:[{}];this._1I=this._u.length>1;this._2n=!_1B;this._4i=!_1v;this._3V=!_1B&&!_1v;this._3h=_S(_e.code);this._1t=_5==_3._b;this._1B=_1B;this._1v=_1v;var p=_1p(_5._A._8,_37(_e.style,this._M),_e),o=_1p(p,this._2n&&p.ifFirst,this._4i&&p.ifLast,this._3V&&p.ifOnly,this._3h&&p.ifSeparator,p['ifN'+this._1o],_e);this._1Y=p;this._8=o;this._H=_V(o.size);this._t=this._2n?_3v:_V(o.wrapPoint?o.wrapoff:o.itemoff||[0,0],'previousItem');var b=o.borderWidth||o.borders||o.border||0,s=o.shadow||0;if(_2x(b)){b=[b,b,b,b]};this._1Z=b;if(_2x(s)){s=[s,s]};this._4o=s;this.borderLeft={w:b[0],h:b[0]};this.borderTop={w:b[1],h:b[1]};this.borderRight={w:b[2],h:b[2]};this.borderBottom={w:b[3],h:b[3]};this.shadow={w:s[0],h:s[1]};this.self=this;this.item=this;this.previousItem=_1B;this.level=_5._k();this.parentItem=_5;this.parentLevel=!this._1t&&_5._5._k();this.maxItem=_5._k()._1C;this._d=_3._2A._44(this);this._2R=[];for(var i=0;i<this._d.length;i++){if(this._d[i]._3S){this._3F=this._d[i]};if(this._d[i]._I!==0){this._2R._r(this._d[i])}};this._1f()},getMenu:function(){return this._3},getLevel:function(){return this._k()},getParent:function(){return this._5},getData:function(){return this._8},_4g:function(){var o=this._3F._1g()._2F();this.w=o.w+this.borderLeft.w+this.borderRight.w;this.h=o.h+this.borderTop.h+this.borderBottom.h;return this},_1x:function(){return(this._5&&this._5._1x()||[]).concat([this])},_1f:function(_3x){this.w=this._H.w(this);this.h=this._H.h(this);if(_3x){_B(this._d,{_3y:_1c})};this.x=this._t.x(this);this.y=this._t.y(this)},_k:function(){if(!this._A){(this._A=this._1I?new _20():new _1y())._15(this)};return this._A},_U:function(_6){_B(this._d,{_U:_6});return _6},_2l:function(_4){if(_4!=this._21){this._21=_4;_B(this._2R,{_3J:_1c})}}};function _2K(_3,_u){this._3=_3;this._5=null;this._8=_1p({shadow:0,color:{},css:{}},_u[0]);this._1Y=this._8;this.frameoff=_u[0].pos?_u[0].pos:[0,0];this._2l=_F;this._m='R';this._1I=true;this._M=-1;this._u=_u;this.x=_u[0].pos[0];this.y=_u[0].pos[1]};_2K.prototype=new _2c();function _L(_e){for(var i in _e){this[i]=_e[i]};_V(this._H);_V(this._t,'item')};_L._H=['+item','+item'];_L._t=[0,0];_L.prototype={_H:_L._H,_t:_L._t,_I:0,_1f:function(){this.w=this._H.w(this._2);this.h=this._H.h(this._2);this.x=this._t.x(this._2);this.y=this._t.y(this._2)},_3y:function(){this._1f();this._1g()._1a(this);this._1g()._P(this)},_1g:function(){if(!this._1){this._1=_y._$(this._s);if(this._I===2){this._2._3._2A._42(this._2,this._1)}};return this._1},_U:function(_6){this._1f();return this._f(_6)},_1M:function(_4){return this._I===0||this._I===this._2._21},_3J:function(){if(this._1i!=this._1M()){this._1i=!this._1i;this._1g()._C(this._1i,true)}}};_y=_F;function _2G(_2k){for(var i=0;i<_2k.length;i++){_y._32[_2k[i].id]=_2k[i]}};function _14(_1){this._1=_1;this._7=_1.style;this._1w=_._25?_1:(_1.childNodes&&_1.childNodes[0]||_1);this._G=null;this._w=''};_14._$=function(_s){return new _14(document.all&&document.all[_s]||document.getElementById(_s))};_14._2h=function(_1u,_5){var _1h=document.createElement('DIV'),o=_1h.style;o.position='absolute';o.visibility='hidden';o.left=o.top=-10000;_1h.innerHTML=_1u;(_5&&_5._1||_5||document.body).appendChild(_1h);return new _14(_1h)};_14.prototype={_3m:function(){return this._7.visibility!='hidden'},_2F:function(){return{w:Math.max(this._1.offsetWidth,this._1w.offsetWidth),h:Math.max(this._1.offsetHeight,this._1w.offsetHeight)}},_P:function(o){this._7.left=o.x+'px';this._7.top=o.y+'px'},_1a:function(o){this._7.width=o.w+'px';this._7.height=o.h+'px'},_2s:function(_G){this._G=_G;this._C=this._23},_C:function(_4){this._7.visibility=_4?'inherit':'hidden'},_23:function(_4,_1A){this._G._3o(_1A);this._7.visibility=_4?'inherit':'hidden';this._G._3i(_1A)}};function _1W(){};_1W.prototype={_C:function(_4){this._7.visibility=_4?'visible':'hidden'},_P:function(o){this._7.left=o.x;this._7.top=o.y},_1a:function(o){this._7.width=o.w;this._7.height=o.h},_3z:_F,_3u:_F};_1W._$=function(_s){var _a=new _1W();_a._1=document.getElementById(_s);_a._7=_a._1.style;return _a};function _13(_1){this._1=_1;_2G(_1.document.layers)};_13.prototype={_C:function(_4){this._1.visibility=_4?'inherit':'hide'},_P:function(o){this._1.moveTo(o.x,o.y)},_1a:function(o){this._1.resize(o.w,o.h)},_3z:_F,_3u:_F};_13._$=function(_s){return new _13(_y._32[_s])};_13._2h=function(_1u){var o=new Layer(1);o.visibility='hide';o.document.write(_1u);o.document.close();return new _13(o)};function _1l(_1){this._1=_1;this._1w=_1.children[0]||_1;this._7=_1.style;this._G=null;this._w=''};_1l._$=function(_s){return new _1l(document.all&&document.all[_s]||document.getElementById(_s))};_1l._2h=function(_1u,_5){_5=_5&&_5._1||_5||document.body;_5.insertAdjacentHTML('beforeEnd','<div style="position:absolute;visibility:hidden;left:-10000px;top:-10000px;">'+_1u+'</div>');var _1h=_5.children[_5.children.length-1];return new _1l(_1h)};_1l.prototype={_3m:function(){return this._7.visibility!='hidden'},_2F:function(){return{w:this._1w.offsetWidth,h:this._1w.offsetHeight}},_P:function(o){this._7.left=o.x+'px';this._7.top=o.y+'px'},_1a:function(o){this._7.width=o.w+'px';this._7.height=o.h+'px'},_2s:function(_G){this._G=_G;this._C=this._23},_C:function(_4){this._7.visibility=_4?'inherit':'hidden'},_23:function(_4,_1A){this._G._3o(_1A);this._7.visibility=_4?'inherit':'hidden';this._G._3i(_1A)}};function _F(){return''};function _1k(_1z){_F.prototype=_1z;return new _F()};function _1p(_1z){var i,j,l,_a={};for(j=0,l=arguments.length;j<l;j++){if(arguments[j]){for(i in arguments[j]){_a[i]=arguments[j][i]}}};return _a};function _1V(_1z,_j){for(var i in _j){if(_S(_1z[i])){_1z[i]=_j[i]}}};_V=function(_z,_11){if(!_z._3w){_z.w=_z.x=_3b(_z[1],_11,'.w','.x');_z.h=_z.y=_3b(_z[0],_11,'.h','.y');_z._3w=true};return _z};_3b=function(_4,_11,_3H,_2t){var _2z=false,_f='';if(_2x(_4)){_f+=_4}else{var _E;while((_E=_4.match(/^([-+\.\d+]*)\*?(\w+)/))){if(_E[1]===''){_11=_E[2]}else{switch(_E[1]){case'-':case'+':_f+=_E[1]+1;break;default:_2z=_2z||_E[1].indexOf('.')!=-1;_f+=(_E[1]>=0?'+':'')+parseFloat(_E[1]);break};if(_E[2]!='px'){_f+='*i.'+_E[2]+_3H}};_4=_4.slice(_E[0].length)}};if(_11){_f+='+i.'+_11+_2t;switch(_11){case'item':case'previousItem':break;case'parentItem':_f+='+i.parentLevel'+_2t;break;default:_f+='-i.level'+_2t;break}}else if(!_f){_f=0};if(_2z){_f='Math.round('+_f+')'};return new Function('i','return '+_f)};function _39(o1,o2,m1,m2){var p1=o1?o1._1x():[],p2=o2?o2._1x():[],i=0;while(i<p1.length&&i<p2.length&&p1[i]==p2[i]){i++};_B(p1.slice(i),m1);_B(p2.slice(i),m2)};function _B(_1P,_1J){var _10,i,l;for(_10 in _1J){if(_S(_1J[_10])){for(i=0,l=_1P.length;i<l;i++){_1P[i][_10]()}}else{for(i=0,l=_1P.length;i<l;i++){_1P[i][_10](_1J[_10])}}}};function _37(_7,_M){if(_R(_7)){if(_S(_7._M)){_7._M=_M};_7=_7[Math.min(_M-_7._M,_7.length-1)]};return _7};function _33(_e){var _2Z={code:'ocode',image:'oimage',arrow:'oarrow'};for(var i in _2Z){if(!_S(_e[i])&&!_R(_e[i])){_e[i]=[_e[i],_e[_2Z[i]]||_e[i]]}}};_4c=function(_X,_N){_N.w=Math.max(_X.w,_N.w);_N.h=Math.max(_X.h,_N.h)};_3d=function(_X,_N){_N.x=_X.x;_N.y=_X.y};_4p=function(_X,_N){_N.x+=_X.x;_N.y+=_X.y};var _3v=_V([0,0]);window.COOLjsMenu=_16
