function Undef(o){
return typeof(o)=='undefined'||o===''||o==null};function Def(o){
return!Undef(o)};function Und(o){
return typeof(o)=='undefined'};function UA(){var g=this;nv=navigator,n=nv.userAgent.toLowerCase(),v=parseInt(nv.appVersion);var j=nv.appName=="Netscape";g.DOM=document.getElementById?true:false;g.opera=n.indexOf('opera')!=-1;g.opera5=n.indexOf("opera 5")>0||n.indexOf("opera/5")>=0;g.opera6=n.indexOf("opera 6")>0||n.indexOf("opera/6")>=0;g.opera7=n.indexOf("opera 7")>0||n.indexOf("opera/7")>=0;g.oldOpera=g.opera5||g.opera6;g.ie3down=n.indexOf('msie')!=-1&&v<4&&!g.opera;g.ie=g.ie4up=!g.ie3down&&document.all&&document.all.item&&!g.opera;g.ie5up=g.DOM&&g.ie4up;g.ie55=g.ie5up&&n.indexOf("msie 5.5")>0;g.ie6=g.ie5up&&n.indexOf('msie 6.')>0;g.ie55up=g.ie55||g.ie6;g.nn4=j&&!g.DOM&&!g.opera;g.moz=g.nn6up=g.DOM&&j&&!g.opera;g.hj=n.indexOf('hotjava')!=-1;g.aol=n.indexOf('aol')!=-1;g.aol4up=g.aol&&g.ie4up;g.supp=g.supported=g.oldOpera||g.opera7||g.ie||g.moz||g.nn4||g.DOM};var ua=new UA();function CEvent(e){this._e=e;this.x=ua.nn4||ua.moz?e.pageX:ua.oldOpera?e.clientX:ua.ie||ua.opera?e.clientX+document.body.scrollLeft:null;this.y=ua.nn4||ua.moz?e.pageY:ua.oldOpera?e.clientY:ua.ie||ua.opera?e.clientY+document.body.scrollTop:null;this.offsetX=ua.nn4||ua.moz?e.layerX:e.offsetX;this.offsetY=ua.nn4||ua.moz?e.layerY:e.offsetY;this.screenX=e.screenX;this.screenY=e.screenY;this.target=ua.ie?e.srcElement:e.target;this.key=ua.nn4?e.which:e.keyCode;this.alt=ua.nn4?e.modifiers&Event.ALT_MASK:e.altKey;this.ctrl=ua.nn4?e.modifiers&Event.CONTROL_MASK:e.ctrlKey;this.shift=ua.nn4?e.modifiers&Event.SHIFT_MASK:e.shiftKey;this.spec=this.alt||this.ctrl||this.shift;var k=ua.nn4||ua.moz?e.which:e.button;this.b_left=k==1;this.b_mid=ua.nn4||ua.moz?k==2:k==4;this.b_right=ua.nn4||ua.moz?k==3:k==2};function CTimer(oPar,id,sig,oSend,n,pause,scr_bef,scr_betw,scr_aft){this._par=oPar;this._id=id;this._sig=sig;this._o=oSend;this._n=n;this._pause=pause||100;this._scr=[scr_bef,scr_betw,scr_aft];};{var m=CTimer.prototype;m.run=function(){if(Undef(this._o))
return;this._i=0;if(Def(this._scr[0]))eval(this._scr[0]);this._to=setTimeout(this+'.step()',this._pause);};m.step=function(){with(this){if(this._o)_o.onTimer();if(Def(this._scr[1]))eval(_scr[1]);_i++;if(_i<_n)this._to=setTimeout(this+'.step()',_pause);else finish()}};m.stop=function(){this.pause();this.finish()};m.pause=function(){clearTimeout(this._to);this._to=null};m.paused=function(){
return this._to==null};m.on=function(){this.step()};m.finish=function(){if(Def(this._scr[2]))eval(this._scr[2]);if(this._sig)this._par.sig_stop(this._id)};m.toString=function(){
return this._par.getObjPath(this._id)};}function CSlideAnimation(oPar,id,sig,aCL,aP,df,dt,scr_bef,scr_betw,scr_aft){var p,q,u,z;this.base=CTimer;this._l=aCL;this._x=[];this._y=[];this._st_x=[];this._st_y=[];with(this){for(p=0;p<_l.length;p++){_x[p]=_l[p].getLeft();_y[p]=_l[p].getTop();q=aP[p][0]-_x[p];u=aP[p][1]-_y[p];if(!p)z=Math.floor(Math.sqrt(q*q+u*u)/df);_st_x[p]=q/z;_st_y[p]=u/z}base(oPar,id,sig,this,z,dt,scr_bef,scr_betw,scr_aft)}};CSlideAnimation.prototype=new CTimer;CSlideAnimation.prototype.onTimer=function(){with(this){for(var a1=0;a1<_l.length;a1++){_x[a1]+=_st_x[a1];_y[a1]+=_st_y[a1];_l[a1].moveTo(Math.round(_x[a1]),Math.round(_y[a1]))}}};function CClipAnimation(oPar,id,sig,oCL,aP,n,pause,scr_bef,scr_betw,scr_aft){this.base=CTimer;this._l=oCL;this._c=oCL.getClip();this._st=[];for(var b1=0;b1<4;b1++)this._st[b1]=(aP[b1]-this._c[b1])/n;this.base(oPar,id,sig,this,n,pause,scr_bef,scr_betw,scr_aft)};CClipAnimation.prototype=new CTimer;CClipAnimation.prototype.onTimer=function(){var c1=0,d1=this._c;for(;c1<4;c1++)d1[c1]+=this._st[c1];this._l.clip(d1[3],d1[0],d1[1]-d1[3],d1[2]-d1[0])};function CAniCollection(id){this._id=id;this._c=0;this._a=[];this.slideAni=CSlideAnimation;this.clipAni=CClipAnimation;this.SLIDE='slideAni';this.CLIP='clipAni'};{var e1=CAniCollection.prototype;e1.add=function(sType,autoDel,aCL,aaCoords,nPar,pause,scr_bef,scr_betw,scr_aft){var f1='s'+this._c++;var g1=new this[sType](this,f1,autoDel,aCL,aaCoords,nPar,pause,scr_bef,scr_betw,scr_aft);this._a[f1]=g1;
return f1};e1.remove=function(t_id){delete this._a[t_id]};e1.run=function(t_id){if(Undef(this._a[t_id]))
return;this._a[t_id].run()};e1.obj=function(t_id){
return this._a[t_id]};e1.sig_stop=function(t_id){setTimeout(this._id+".remove('"+t_id+"')",1)};e1.getObjPath=function(t_id){
return this._id+'._a.'+t_id};}function CRRRRRRRR(id){this._id=id;this.Ani=new CAniCollection(this._id+'.Ani');this._c=0;this.pre={};this.sz=[];this.ld=[]};{var h1=CRRRRRRRR.prototype;h1.findLayer=function(name,parent){
return this.findElement(name,parent)};h1.findElement=function(name,parent){if(ua.DOM)
return document.getElementById(name);else if(ua.ie4up)
return document.all[name];else{var i1=Undef(parent)?document:parent.document;if(Undef(i1[name])){var j1,k1,l1=i1.layers.length;if(l1==0)
return;else{for(j1=0;j1<l1;j1++){k1=this.findElement(name,i1.layers[j1]);if(Def(k1))
return k1;}}}else return i1[name];}};h1.regEventHandler=function(e,h,obj){if(Undef(obj))obj=document;e=e.toLowerCase();if(ua.nn4){var m1=e.toUpperCase();obj.captureEvents(Event[m1]);}var o1=typeof(h)=="function"?function(e){var ev=ua.nn4||ua.moz?e:window.event;if(Def(ev))ev=new CEvent(ev);
return h(ev)}:typeof(h)=="string"?new Function("e","var ev=ua.nn4||ua.moz?e:window.event;if (Def(ev)) ev=new CEvent(ev);"+h):null;obj["on"+e]=o1;};h1.clearEventHandler=function(e,obj){if(Undef(obj))obj=document;e=e.toLowerCase();if(ua.nn4){var p1=e.toUpperCase();obj.releaseEvents(Event[p1]);}obj["on"+e]=null;};h1.setResizeHandler=h1.setOnResize=function(h,b){var q1=this.sz,r1=this._id;if(!q1.length){if(ua.oldOpera){var s1=new Function(r1+".saveWinSize();"+r1+".checkSize()");b?s1():this.setOnLoad(s1)}else{q1[0]=window.onresize;window.onresize=new Function(r1+'.onresize()')}}q1[q1.length]=h};h1.setOnLoad=function(h){var t1=this.ld;if(!t1.length){t1[0]=window.onload;window.onload=new Function(this._id+'.onload()')}t1[t1.length]=h};h1.checkSize=function(){if(this.getWinHeight()!=this._oldWH||this.getWinWidth()!=this._oldWW){this.saveWinSize();this.onresize()}this._resTO=setTimeout(this._id+'.checkSize()',2000)};h1.call=function(a){for(var u1=a.length-1;u1>=0;u1--)if(Def(a[u1]))a[u1]()};h1.onload=function(){this.call(this.ld)};h1.onresize=function(){this.call(this.sz)};h1.saveWinSize=function(){this._oldWH=this.getWinHeight();this._oldWW=this.getWinWidth()};h1.getWinHeight=function(){
return ua.ie4up?document.body.clientHeight:self.innerHeight};h1.getWinWidth=function(){
return ua.ie4up?document.body.clientWidth:self.innerWidth};h1.getScrollX=function(){
return ua.ie4up?document.body.scrollLeft:self.pageXOffset};h1.getScrollY=function(){
return ua.ie4up?document.body.scrollTop:self.pageYOffset};h1.cancelEvent=function(e){if(!ua.nn4)e._e.cancelBubble=true};h1.newID=function(){
return 'RRRRRRRR'+this._c++};h1.readCookie=function(name){var v1=document.cookie;var w1=v1.split(';');var x1=w1.length;var y1;var z1="";var a2=0;for(a2=0;a2<x1&&z1=="";a2++){y1=w1[a2].split('=');if(y1[0].substring(0,1)==' '){y1[0]=y1[0].substring(1,y1[0].length);}if(y1[0]==name){z1=y1[1];}}
return z1};h1.writeCookie=function(name,val,exp){var b2=new Date();if(exp){b2.setTime(b2.getTime()+exp);document.cookie=name+"="+val+"; expires="+b2.toGMTString();}else{document.cookie=name+"="+val;}};h1.preload=function(){var c2,d2=[],e2=arguments;for(c2=0;c2<e2.length;c2++){if(Undef(e2[c2]))d2[c2]=null;else if(Def(this.pre[e2[c2]]))d2[c2]=this.pre[e2[c2]];else{d2[c2]=new Image();d2[c2].src=e2[c2];this.pre[e2[c2]]=d2[c2]}}
return e2.length==1?d2[0]:d2};}var RRRRRRRR=new CRRRRRRRR('RRRRRRRR');function CLayer(){var f2=arguments;this._ex=false;if(f2.length==2&&typeof(f2[0])=='number'){this._w=parseInt(f2[0]);this._h=parseInt(f2[1])}else if(f2.length>=1&&typeof(f2[0])=='string')this.assignLayer(RRRRRRRR.findLayer(f2[0],f2[1]));this._id=this._id||RRRRRRRR.newID();this._HTML='';this._ev=[];};{var g2=CLayer.prototype;g2.assignLayer=function(oLayer){if(Undef(oLayer))oLayer=this._id;if(typeof(oLayer)=='string')oLayer=RRRRRRRR.findLayer(oLayer);this._lr=oLayer;this._st=this._lr.style||this._lr;this._ex=true;this.getID();};g2.setHTML=function(sHTML){this._HTML=sHTML;if(this._ex){if(ua.nn4){var h2=this._lr.document;h2.open();h2.write(sHTML);h2.close()}else if(!ua.oldOpera)this._lr.innerHTML=sHTML;}};g2.appendHTML=function(sHTML){this.setHTML(this._HTML+sHTML);};g2.clear=function(){this.setHTML('')};g2.setVisible=function(vis){this._visible=vis;if(this._ex)this._st.visibility=vis?ua.nn4?"show":"visible":ua.nn4?"hide":"hidden"};g2.show=function(){this.setVisible(true)};g2.hide=function(){this.setVisible(false)};g2.showAt=function(x,y){this.moveTo(x,y);this.show()};g2.setZIndex=function(zindex){this._z=zindex;if(this._ex)this._st.zIndex=zindex};g2.setWidth=function(width){this._w=width;if(this._ex){var i2=this._h||this.getHeight();if(ua.nn4){this._lr.resizeTo(this._w,i2);this._st.clip.width=this._w}else if(ua.opera)this._st.pixelWidth=this._w;else this._st.width=this._w;if(!ua.nn4&&!this._clip)this._st.clip="rect(0px "+this._w+"px "+i2+"px 0px)"}};g2.setHeight=function(height){this._h=height;if(this._ex){var j2=this._w||this.getWidth();if(ua.nn4){this._lr.resizeTo(j2,this._h);this._st.clip.height=this._h}else if(ua.opera)this._st.pixelHeight=this._h;else this._st.height=this._h;if(!ua.nn4&&!this._clip)this._st.clip="rect(0px "+j2+"px "+this._h+"px 0px)"}};g2.resize=g2.setSize=function(width,height){this._h=height;this._w=width;if(this._ex){this.setHeight(height);this.setWidth(width);}};g2.setTop=function(y){this._top=y;if(this._ex){if(ua.nn4)this._st.y=y;else if(ua.opera)this._st.pixelTop=y;else this._st.top=y;}};g2.setLeft=function(x){this._left=x;if(this._ex){if(ua.nn4)this._st.x=x;else if(ua.opera)this._st.pixelLeft=x;else this._st.left=x}};g2.moveTo=g2.setPos=function(x,y){this._left=x;this._top=y;if(this._ex){if(ua.nn4)this._lr.moveTo(x,y);else{this.setTop(y);this.setLeft(x)}}};g2.setRel=function(rel){if(!this._ex)this._rel=rel;};g2.moveRel=function(dx,dy){this.moveTo(this.getLeft()+dx,this.getTop()+dy)};g2.slide=function(x,y,step,time,scr_bef,scr_betw,scr_aft){var k2=RRRRRRRR.Ani.add(RRRRRRRR.Ani.SLIDE,true,[this],[[x,y]],step,time,scr_bef,scr_betw,scr_aft);RRRRRRRR.Ani.run(k2);
return k2};g2.slideRel=function(dx,dy,step,time,scr_bef,scr_betw,scr_aft){var l2=RRRRRRRR.Ani.add(RRRRRRRR.Ani.SLIDE,true,[this],[[this.getLeft()+dx,this.getTop()+dy]],step,time,scr_bef,scr_betw,scr_aft);RRRRRRRR.Ani.run(l2);
return l2};g2.setCSS=function(classID){this._classID=classID;if(this._ex&&!(ua.oldOpera||ua.nn4))this._lr.className=classID};g2.setID=function(id){if(!this._ex)this._id=id||RRRRRRRR.newID();};g2.setBgColor=function(color){this._bgColor=color;if(this._ex){if(ua.ie||ua.moz||ua.opera7)this._st.backgroundColor=color;else if(ua.nn4)this._st.bgColor=color;else if(ua.opera)this._st.background=color}};g2.setBgImage=function(url){this._bgImg=url;if(this._ex){if(ua.ie||ua.moz||ua.opera7)this._st.backgroundImage='url('+url+')';else if(ua.nn4||ua.opera)this._st.background.src=url}};g2.clip=function(x,y,width,height){this._clip=[y,x+width,y+height,x];if(this._ex&&this._clip){if(ua.nn4){var m2=this._st.clip;m2.top=y;m2.left=x;m2.width=width;m2.height=height;}else if(ua.ie||ua.moz||ua.opera7){this._st.clip='rect('+this._clip[0]+'px '+this._clip[1]+'px '+this._clip[2]+'px '+this._clip[3]+'px)';}}};g2.noclip=function(){delete this._clip;if(this._ex){if(ua.nn4){var o2=this._st.clip;o2.top=0;o2.left=0;o2.width=this.getWidth();o2.height=this.getHeight();}else if(ua.ie||ua.moz||ua.opera7)this._st.clip='rect(auto auto auto auto)';}};g2.clipSlide=function(l,t,r,b,n,time,scr_bef,scr_betw,scr_aft){var p2=RRRRRRRR.Ani.add(RRRRRRRR.Ani.CLIP,true,this,[t,r,b,l],n,time,scr_bef,scr_betw,scr_aft);RRRRRRRR.Ani.run(p2);
return p2};g2.clipMove=function(l,t,n,time,scr_bef,scr_betw,scr_aft){var q2=this.getClip();var r2=l-q2[3],s2=t-q2[0];var t2=RRRRRRRR.Ani.add(RRRRRRRR.Ani.CLIP,true,this,[t,q2[1]+r2,q2[2]+s2,l],n,time,scr_bef,scr_betw,scr_aft);RRRRRRRR.Ani.run(t2);
return t2};g2.addEventHandler=function(evt,code){if(this._ex)
return;var u2=this._ev;u2[u2.length]=[evt,code];};g2.setAlpha=function(a){this._alpha=a;if(this._ex&&ua.ie55up)this._st.filter='progid:DXImageTransform.Microsoft.Alpha(Opacity="'+this._alpha+'")'};g2.object=function(){
return this._lr};g2.getHTML=function(){
return this._HTML};g2.getVisible=function(){if(this._ex){var v2=this._st.visibility;this._visible=Def(v2)?v2=="show"||v2=="visible":v2;}
return this._visible};g2.getZIndex=function(){if(this._ex)this._z=this._st.zindex;
return this._z};g2.getWidth=function(){if(this._ex){if(ua.nn4){if(Undef(this._w))this._w=this._lr.document.width}else this._w=ua.oldOpera?this._st.pixelWidth:this._lr.offsetWidth;}
return this._w};g2.getHeight=function(){if(this._ex){if(ua.nn4){if(Undef(this._h))this._h=this._lr.document.height}else this._h=ua.oldOpera?this._st.pixelHeight:this._lr.offsetHeight;}
return this._h};g2.getSize=function(){
return[this.getWidth(),this.getHeight()]};g2.getContentWidth=function(){
return this._ex?ua.nn4?this._lr.document.width:ua.oldOpera?this._st.pixelWidth:ua.ie?this._lr.scrollWidth:this._lr.offsetWidth:this._w};g2.getContentHeight=function(){
return this._ex?ua.nn4?this._lr.document.height:ua.oldOpera?this._st.pixelHeight:ua.ie?this._lr.scrollHeight:this._lr.offsetHeight:this._h};g2.getTop=function(){if(this._ex)this._top=ua.nn4?this._st.y:this._lr.offsetTop;
return this._top};g2.getLeft=function(){if(this._ex)this._left=ua.nn4?this._st.x:this._lr.offsetLeft;
return this._left};g2.getPos=function(){
return[this.getLeft(),this.getTop()]};g2.getAbsoluteTop=function(){if(this._ex){if(ua.nn4)
return this._st.pageY;else{var w2=0;var x2=this._lr;do{w2+=x2.offsetTop}while(Def(x2=x2.offsetParent));
return w2}}else return this._top};g2.getAbsoluteLeft=function(){if(this._ex){if(ua.nn4)
return this._st.pageX;else{var y2=0;var z2=this._lr;do{y2+=z2.offsetLeft}while(Def(z2=z2.offsetParent));
return y2}}else return this._left};g2.getAbsolutePos=function(){
return[this.getAbsoluteLeft(),this.getAbsoluteTop()]};g2.getCSS=function(){if(this._ex&&!(ua.oldOpera||ua.nn4))this._classID=this._lr.className;
return this._classID};g2.getClip=function(){var a3=this._clip;if(this._ex&&Undef(a3)){var b3=this._st.clip;if(b3){if(ua.nn4){a3[0]=b3.top||0;a3[1]=b3.right||this.getWidth();a3[2]=b3.bottom||this.getHeight();a3[3]=b3.left||0;}else{var c3,d3=b3.indexOf('(');c3=b3.indexOf(' ',d3);a3[0]=parseInt(b3.substring(d3+1,c3));d3=b3.indexOf(' ',c3);a3[1]=parseInt(b3.substring(c3+1,d3));c3=b3.indexOf(' ',d3);a3[2]=parseInt(b3.substring(d3+1,c3));a3[3]=parseInt(b3.substr(c3+1));}}}
return a3;};g2.getID=function(id){if(this._ex)this._id=this._lr.id;
return this._id};g2.getSource=function(){var e3='';var f3,g3=this;if(Def(g3._clip))f3=g3._clip;else if(Def(g3._h)&&Def(g3._w))f3=[0,g3._w,g3._h,0];var h3=g3._left;if(!g3._rel&&!h3)h3=0;var i3=g3._top;if(!g3._rel&&!i3)i3=0;if(ua.nn4){e3=(g3._rel?"<ilayer":"<layer")+(Def(g3._id)?" id="+g3._id:"")+(Def(i3)?" top="+i3:"")+(Def(h3)?" left="+h3:"")+(Def(g3._w)?" width="+g3._w:"")+(Def(g3._classID)?" class="+g3._classID:"")+(Def(g3._z)?" z-index="+g3._z:"")+' visibility='+(g3._visible?"inherit":"hide")+(f3?' clip="'+f3[3]+','+f3[0]+','+f3[1]+','+f3[2]+'"':"")+(Def(g3._bgColor)?" bgcolor="+g3._bgColor:"")+(Def(g3._bgImg)?' background="'+g3._bgImg+'"':"");}else{e3="<div"+(Def(g3._id)?" id="+g3._id:"")+(Def(g3._classID)?" class="+g3._classID:"")+' style="position:'+(g3._rel?'relative':'absolute')+';overflow:hidden'+';visibility:'+(!g3._visible?'hidden':'inherit')+(Def(g3)?";top:"+i3+"px":"")+(Def(h3)?";left:"+h3+"px":"")+(Def(g3._w)?";width:"+g3._w+"px":"")+(Def(g3._h)?";height:"+g3._h+"px":"")+(Def(g3._z)?";z-index:"+g3._z:"")+(Def(g3._bgColor)?";background-color:"+g3._bgColor:"")+(Def(g3._bgImg)?";background-image:url("+g3._bgImg+")":"")+(f3?";clip:rect("+f3[0]+"px "+f3[1]+"px "+f3[2]+"px "+f3[3]+"px)":"")+(Def(g3._alpha)&&ua.ie55up?';filter:progid:DXImageTransform.Microsoft.Alpha(Opacity='+g3._alpha+')':'')+'"';}var j3=g3._ev;for(var k3=0;k3<j3.length;k3++)e3+=' '+j3[k3][0]+'="'+j3[k3][1]+'"';e3+=">"+g3.getHTML()+'</'+(ua.nn4?(g3._rel?'i':'')+"layer>":"div>");
return e3};g2.create=function(){if(this._ex)
return;document.write(this.getSource());this.assignLayer();};}function CNode(type,name,parent){this.type=type;this.name=name;this.parent=parent;this.parameters=new Array();this.subitems=new Array();this.value=new String();};{var l3=CNode.prototype;l3.getParameter=function(name){for(var m3=0;m3<this.parameters.length;++m3){if(this.parameters[m3].name==name){
return this.parameters[m3].value;}}
return null;};l3.getValue=function(){
return this.value;};}function CXMLTree(str){this.str=str;this.tree=new CNode("DOCUMENT","",null);this.parse(this.str,0,this.tree);};{CXp=CXMLTree.prototype;CXp.parse=function(s,begin,tag){var n3=false;var o3=begin;if(typeof(s)!="string"||s==null){
return null;}while(!n3){o3=this.skipWhitespaces(s,o3);if(o3>s.length-1){break;}if(s.charAt(o3)=='<'){++o3;if(s.charAt(o3)=='?'){o3=s.indexOf('>',o3)+1;}else if(s.charAt(o3)=='/'){n3=true;o3=s.indexOf('>',o3)+1;}else if(s.substr(o3,3)=='!--'){o3=s.indexOf('-->',o3)+3;}else if(s.substr(o3,8)=='![CDATA['){o3+=8;var p3=s.indexOf(']]>',o3);var q3=new CNode("CHARDATA","",tag);q3.value=s.substr(o3,p3-o3);tag.subitems[tag.subitems.length]=q3;o3=p3+3;}else if(s.charAt(o3)=='!'){o3=s.indexOf('>',o3)+1;}else{var r3=this.getCharname(s,o3);if(r3==null||r3.length==0){
return null;}else{o3+=r3.length;o3=this.skipWhitespaces(s,o3);var s3=new CNode("ELEMENT",r3,tag);while(s.charAt(o3)!='/'&&s.charAt(o3)!='>'){var t3=this.getCharname(s,o3);var u3=new CNode("PARAMETER",t3,s3);s3.parameters[s3.parameters.length]=u3;o3+=t3.length;o3=this.skipWhitespaces(s,o3);if(s.charAt(o3)!='='){}++o3;o3=this.skipWhitespaces(s,o3);if(s.charAt(o3)!='\"'){}++o3;var v3=s.indexOf("\"",o3);u3.value=this.processValue(s.substr(o3,v3-o3));o3=this.skipWhitespaces(s,v3+1);}tag.subitems[tag.subitems.length]=s3;o3=s.indexOf('>',o3)+1;if(s.charAt(o3-2)=='/'){}else{o3=this.parse(s,o3,s3);}}}}else{var w3=s.indexOf('<',o3);var x3=new CNode("CHARDATA","",tag);x3.value=this.processValue(s.substr(o3,w3-o3));tag.subitems[tag.subitems.length]=x3;o3=w3;}}
return o3;};CXp.skipWhitespaces=function(str,begin){var y3=begin;while(y3<str.length&&(str.charAt(y3)=='\n'||str.charAt(y3)=='\r'||str.charAt(y3)=='\t'||str.charAt(y3)==' '))++y3;
return y3;};CXp.getCharname=function(str,begin){var z3=begin;while(z3<str.length&&!(str.charAt(z3)=='\n'||str.charAt(z3)=='\r'||str.charAt(z3)=='\"'||str.charAt(z3)=='\''||str.charAt(z3)=='\t'||str.charAt(z3)=='/'||str.charAt(z3)=='>'||str.charAt(z3)=='<'||str.charAt(z3)=='='||str.charAt(z3)==' '))++z3;
return str.substr(begin,z3-begin);};CXp.processValue=function(str){var a4=new Array();a4=str.split("&lt;");str=a4.join("<");a4=str.split("&gt;");str=a4.join(">");a4=str.split("&quot;");str=a4.join("\"");a4=str.split("&apos;");str=a4.join("\'");a4=str.split("&amp;");str=a4.join("&");
return str;};CXp.toObject=function(node){node=node||this.tree;var b4,c4;if(node.parameters.length==0&&node.subitems.length==1&&node.subitems[0].type=='CHARDATA')c4=node.subitems[0].value;else{c4={};for(b4=0;b4<node.parameters.length;++b4){var d4=node.parameters[b4];c4[d4.name]=d4.value}for(b4=0;b4<node.subitems.length;++b4){var e4,f4=node.subitems[b4];if(f4.type=='CHARDATA')c4.__value=f4.value;else{e4=this.toObject(f4);if(Undef(c4[f4.name]))c4[f4.name]=e4;else{if(c4[f4.name].constructor!=Array)c4[f4.name]=[c4[f4.name]];c4[f4.name][c4[f4.name].length]=e4}}}}
return c4;};}

var CT_IMG_BLANK="scripts/images/clearpixel.gif";function CT_pre(src){
return RRRRRRRR.preload(src)};function pI(v){
return parseInt(v)};CT_pre(CT_IMG_BLANK);function CT_addLayer(w,h,x,y,ox,oy,z,al){var i,l=new CLayer();l.setSize(w,h);l.moveTo(x+ox,y+oy);l.setZIndex(z);l.setAlpha(al);i=this._l.length;this._l[i]={l:l,ox:ox,oy:oy};
return i};function CT_Border(d,b,hor,w){var bw=b.width,bc=b.color;var def=d||{},bsrc='',sz=def.size||w;if(Def(def)){var i,tdw,tblw,tblh,atr,add,diff=sz;bw=pI(def.width||bw);bc=def.color||bc;tblw=hor?sz:bw;tblh=hor?bw:sz;atr=hor?' width=':' height=';add=hor?' height='+tblh:' width='+tblw;if(Def(def.el)){var elw,elm=def.el;for(i=0;i<elm.length;i++){elw=pI(elm[i].width);if(!isNaN(elw))diff-=elw}if(diff<0)diff=0;bsrc='<table cellpadding=0 cellspacing=0 border=0 width='+tblw+' height='+tblh+'>'+(hor?'<tr>':'');for(i=0;i<elm.length;i++){var imsrc='',bgimg='';if(!hor)bsrc+='<tr>';tdw=elm[i].width;imsrc=elm[i].src||CT_IMG_BLANK;if(Undef(tdw)){tdw=diff;bgimg=imsrc;imsrc=CT_IMG_BLANK}tdw=atr+tdw;bsrc+='<td'+tdw+(Def(bgimg)?' background="'+bgimg+'"':'')+(Def(elm[i].color)?' bgcolor="'+elm[i].color+'"':'')+add+'>'+'<img src="'+imsrc+'"'+tdw+add+'></td>';if(!hor)bsrc+='</tr>';}bsrc+=(hor?'</tr>':'')+'</table>'}}
return[bsrc,bw,bc,pI(def.offset||(hor?-bw:0)),sz]};function CMenu(def,id){this.id=id;this.open=[];if(Undef(def))def={};if(Undef(def.style))def.style={};var o=def.style;o.direction=o.direction||"v";if(Undef(o.box))o.box=true;if(Und(o.bgcolor))o.bgcolor='white';o.z=o.z||1;if(Undef(def.itemover))def.itemover={};if(Undef(def.position))def.position={};o=def.position;o.pos=o.pos||[0,0];o.pos[0]=pI(o.pos[0]);o.pos[1]=pI(o.pos[1]);o.anchor=o.anchor||"ne";o.anchor_side=o.anchor_side||"nw";if(Undef(o.absolute))o.absolute=true;if(Undef(def.type))def.type="bar";this.menu=new CPopupMenu(def,this,null);this.timer=def.timer||1000;this.otime=def.otime||10;this.defaction=def.defaction||{};_CT_menus[_CT_menus.length]=this;};{var CMp=CMenu.prototype;CMp.create=function(){this.menu.createTop()};CMp.Act=function(a){
return this.defaction[a]};CMp.topID=CMp.path=function(){
return this.id};CMp.childPath=function(){
return this.topID()+".menu"};CMp.handleEvent=function(e,s1,s2,src){if(!this._dis){with(this){clearTimer();if(e=='i'){var o=open,l=o.length;if(Undef(s1))hide();else if(Undef(s2)||(l!=0&&o[l-1].id!=s2.id))hideAfter(s1);if(Def(s2))showTimer(s2);if(Def(src))src.over();}else if(e=='o'){setTimer();if(Def(src))src.out()}}}};CMp.clearTimer=function(){if(Def(this._to))clearTimeout(this._to);this._to=null;};CMp.setTimer=function(){if(this._to)
return;this._to=setTimeout(this.topID()+'.hide()',this.timer)};CMp.showTimer=function(m){if(this._to)
return;this._to=setTimeout(this.topID()+'.show('+m.path()+')',this.otime)};CMp.show=function(path){path.visible(true);this.open[this.open.length]=path};CMp.hide=function(){if(this.open.length>0)this.hideAfter({"id":''});};CMp.hideAfter=function(path){var i,l,o;while((l=(o=this.open).length)>0&&o[l-1].id!=path.id){i=l-1;o[i].visible(false);this.open=o.slice(0,i)}};CMp.popupAt=function(x,y){this.menu.moveRel(x,y);this._ap=this.menu.AbsPos();this.popup()};CMp.popupEv=function(e){this.popupAt(e.x,e.y)};CMp.popup=function(){this.handleEvent('i',null,this.menu)};CMp.run=function(){var r=arguments.length>0;if(!r)this.menu.create();if(!(ua.ie4up&&!ua.ie6||ua.oldOpera)||r){this.menu.moveLayers();if(this.menu.type!='popup')this.menu.visible(true);this._op=1;this._ap=this.menu.AbsPos();this.checkMove()}else if(!ua.oldOpera)setTimeout(this.id+'.run(1)',1);};CMp.checkMove=function(){if(this.menu.AbsPos().join()!=this._ap.join())this.movePos();this._mv=setTimeout(this.id+'.checkMove()',500)};CMp.movePos=function(){this._ap=this.menu.AbsPos();this.menu.Repos()};CMp.state=function(b){if(b)this.checkMove();else if(Def(this._mv))clearTimeout(this._mv);this._dis=!b};CMp.obj=function(){
return this.menu};}function CPopupMenu(def,parent,p_lvl){this.id=RRRRRRRR.newID();if(Undef(def))def={};this._p=parent;this._p_lvl=p_lvl;this._top=Undef(p_lvl);var o=this.style=def.style||{};if(Def(o.itemoffset)){o.itemoffset.x=pI(o.itemoffset.x||0);o.itemoffset.y=pI(o.itemoffset.y||0)}if(Def(o.size)){o.size[0]=pI(o.size[0]);o.size[1]=pI(o.size[1])}if(Def(o.shadow))o.shadow.width=pI(o.shadow.width||5);if(Def(o.border))o.border.width=pI(o.border.width||1);this.itemover=def.itemover||{};this.itemon=def.itemon||{};o=this.position=def.position||{};if(Def(o.pos)){o.pos[0]=pI(o.pos[0]);o.pos[1]=pI(o.pos[1])}if(Def(o.menuoffset)){o.menuoffset.x=pI(o.menuoffset.x||0);o.menuoffset.y=pI(o.menuoffset.y||0)}this.separator=def.separator;this.createItems(def);if(this._top){this.type=def.type;if(this.type=='toolbar'){if(Undef(this.style.bar))this.style.bar={};if(Undef(this.style.bar.drag))this.style.bar.drag=true}}if(Def(o=this.style.bar)){if(Undef(o.size))o.size=[10,10];if(Undef(o.src)&&Undef(o.bgcolor))o.bgcolor="blue";if(Undef(o.dir))o.dir=this.St('direction');o.size[0]=pI(o.size[0]);o.size[1]=pI(o.size[1])}this._l=[];};{var CPp=CPopupMenu.prototype;CPp.createTop=function(){var mw,mh,l;var p=this.Pos('pos')||[0,0],w=this.width(),h=this.height();if(!this.St('box')){mw=pI(this.St('fixwidth'))||w;mh=pI(this.St('fixheight'))||h}else{mw=w;mh=h}l=this._l[this.addLayer(mw,mh,0,0,0,0,this.z(),this.St('opacity'))].l;var x=this.getAlignX();if(Def(x))p[0]=x;l.setRel(!this.Pos('absolute'));l.setPos(p[0],p[1]);l.create()};CPp.create=function(){with(this){var l,n,i,it=items,b=St('box');var a=Pos('absolute');var p=Pos('pos')||[0,0],w=width(),h=height(),_z=z();var al=St('opacity');if(b){var j=St('shadow');if(Def(j)){n=addLayer(w,h,p[0],p[1],j.width,j.width,_z,al);_l[n].l.setBgColor(j.color)}j=St('border');if(Def(j)){var bpr,bw=w;function sp(l){l.setHTML(bpr[0]);l.setBgColor(bpr[2]);};bpr=CT_Border(j.l,j,0,h);sp(_l[addLayer(bpr[1],bpr[4],p[0],p[1],-bpr[1],bpr[3],_z+1,al)].l);bw+=bpr[1];bpr=CT_Border(j.r,j,0,h);sp(_l[addLayer(bpr[1],bpr[4],p[0],p[1],w,bpr[3],_z+1,al)].l);bw+=bpr[1];bpr=CT_Border(j.t,j,1,bw);sp(_l[addLayer(bpr[4],bpr[1],p[0],p[1],bpr[3],-bpr[1],_z+1,al)].l);bpr=CT_Border(j.b,j,1,bw);sp(_l[addLayer(bpr[4],bpr[1],p[0],p[1],bpr[3],h,_z+1,al)].l)}n=addLayer(w,h,p[0],p[1],0,0,_z+2,al);l=_l[n].l;l.setBgImage(St('bgimg'));l.setBgColor(St('bgcolor'));l.addEventHandler("onMouseOver",topID()+".clearTimer()");l.addEventHandler("onMouseOut",topID()+".setTimer()");this._b=n;j=St('bar');if(Def(j)){var o,bh=j.size[1],bw=j.size[0];if(bh<0)bh=h;if(bw<0)bw=w;bh=Math.min(bh,h);bw=Math.min(bw,w);n=addLayer(bw,bh,p[0],p[1],0,0,_z+3,al);o=_l[n].l;CT_pre(j.src);o.setBgImage(j.src);o.setBgColor(j.bgcolor);o.addEventHandler("onMouseOver",topID()+".clearTimer()");o.addEventHandler("onMouseOut",topID()+".setTimer()");if(j.drag)this._dragbar=n;}i=_top?1:0;for(;i<_l.length;i++)_l[i].l.create();if(Def(this._dragbar)){var o=_l[_dragbar].l.object();RRRRRRRR.regEventHandler("mousedown",path()+".startDrag(ev)",o);RRRRRRRR.regEventHandler("mouseup",path()+".stopDrag()",o);if(ua.ie4up){RRRRRRRR.regEventHandler("dragstart","return false");RRRRRRRR.regEventHandler("selectstart","return false")}}}for(i=0;i<it.length;i++)it[i].create()}};CPp.addLayer=CT_addLayer;CPp.St=function(a,v){if(Und(v)){v=this.style[a];if(Und(v)&&!this._top)v=this._p_lvl.St(a);}else this.style[a]=v;
return v};CPp.StOver=function(a,v){if(Und(v)){v=this.itemover[a];if(Und(v)&&!this._top)v=this._p_lvl.StOver(a)}else this.itemover[a]=v;
return v};CPp.StOn=function(a,v){if(Und(v)){v=this.itemon[a];if(Und(v)&&!this._top)v=this._p_lvl.StOn(a)}else this.itemon[a]=v;
return v};CPp.Pos=function(a,v){if(Und(v)){v=this.position[a];if(Und(v)&&!this._top&&a!='pos')v=this._p_lvl.Pos(a);}else this.position[a]=v;
return v};CPp.AbsPos=function(){var p;if(this._top)p=Def(this._l[0])?this._l[0].l.getAbsolutePos():this.position.pos;else p=this.Pos('pos')||[0,0];
return[p[0],p[1]];};CPp.z=function(z){if(Undef(z)){z=this.style.z;if(Undef(z)&&!this._top)z=this._p.z()+5;}else this.style.z=z;
return z};CPp.moveItems=function(ns){with(this){var i,ix,iy,ox,oy;var dh=hor(),it=items,b=St('box'),ioff=St('itemoffset');var p=(_top&&!Pos('absolute')?AbsPos():Pos('pos'))||[0,0];ox=oy=0;if(b){var bar=St('bar');ix=Def(bar)&&bar.dir=='v'?bar.size[0]:0;iy=Def(bar)&&bar.dir=='h'?bar.size[1]:0}else iy=ix=0;if(Def(ioff)){ox=pI(ioff.x||0);oy=pI(ioff.y||0);if(b){ix+=ox;iy+=oy}}for(i=0;i<it.length;i++){if(b||!it[i].Pos()){it[i].Pos([ix,iy]);if(dh)ix+=it[i].St('size')[0]+ox;else iy+=it[i].St('size')[1]+oy;}it[i].moveRel(p[0],p[1],ns);}}};CPp.moveSubs=function(){var o,p=this.AbsPos(),i=this._top?1:0;for(;i<this._l.length;i++){o=this._l[i];o.l.moveTo(p[0]+o.ox,p[1]+o.oy)}};CPp.moveLayers=function(ns){this.moveSubs();this.moveItems(ns)};CPp.Repos=function(){var x=this.getAlignX()||this.Pos('pos')[0],v=this.vis;if(Def(x)){if(v)this.visible(false);this.moveTo(x,this.Pos('pos')[1]);if(v)this.visible(v)}};CPp.getAlignX=function(){var x,ww=RRRRRRRR.getWinWidth(),al=this.Pos('align'),w=this.width();if(Def(al)){if(al=='left')x=0;else if(al=='right')x=ww-w;else if(al=='center')x=(ww-w)/2;}
return x};CPp.itemsVisible=function(v){var i,it=this.items;for(i=0;i<it.length;i++)it[i].visible(v)};CPp.visible=function(v){this.vis=v;if(this.St('box'))for(var i=0;i<this._l.length;i++)this._l[i].l.setVisible(v);this.itemsVisible(v);if(Def(this._p.setOver))this._p.setOver(v);};CPp.moveTo=function(x,y,ns){var i,o,p=this.position;p.pos=[x,y];if(this._l.length>0)this._l[0].l.moveTo(x,y);this.moveLayers(ns)};CPp.moveRel=function(x,y){var w,h,off,x1=x,y1=y,a=this.Pos('anchor'),as=this.Pos('anchor_side');if(this._p.constructor==CMenuItem){w=this._p.width();h=this._p.height();if(a=='nw'||a=='sw'||a=='w'){}else if(a=='ne'||a=='se'||a=='e')x1+=w;if(a=='nw'||a=='ne'||a=='n'){}else if(a=='sw'||a=='se'||a=='s')y1+=h;if(a=='n'||a=='s')x1=Math.ceil(x1+w/2);if(a=='e'||a=='w')y1=Math.ceil(y1+h/2);}w=this.width(),h=this.height();if(as=='nw'||as=='sw'||as=='w'){}else if(as=='ne'||as=='se'||as=='e')x1-=w;if(as=='nw'||as=='ne'||as=='n'){}else if(as=='sw'||as=='se'||as=='s')y1-=h;if(as=='n'||as=='s')x1-=Math.floor(w/2);if(as=='e'||as=='w')y1-=Math.floor(h/2);if(Def(off=this.Pos('menuoffset'))){x1+=off.x;y1+=off.y}this.moveTo(x1,y1);};CPp.topID=function(){
return this._p.topID()};CPp.path=function(){
return this._p.childPath()};CPp.childPath=function(id){
return this.path()+".items["+id+"]"};CPp.hor=function(){
return this.St('direction')=='h'};CPp.width=function(){var i,obj,h,r=0,l;with(this){if(St('box'))if(Def(this._b))r=_l[_b].l.getWidth();else{h=hor();l=items.length;for(i=0;i<l;i++){var iw=items[i].St('size')[0];r=h?r+iw:Math.max(r,iw)}if(Def(obj=St('bar'))&&obj.dir=='v')r+=obj.size[0];if(Def(obj=St('itemoffset')))r+=(h?l+1:2)*obj.x}else r=items[0].St('size')[0]}
return r};CPp.height=function(){var i,h,obj,r=0,l;with(this){if(St('box'))if(Def(this._b))r=_l[_b].l.getHeight();else{h=hor();l=items.length;for(i=0;i<l;i++){var ih=items[i].St('size')[1];r=h?Math.max(r,ih):r+ih}if(Def(obj=St('bar'))&&obj.dir=='h')r+=obj.size[1];if(Def(obj=St('itemoffset')))r+=(h?2:l+1)*obj.y}else r=items[0].St('size')[1]}
return r};CPp.Separator=function(v){if(Undef(v)){v=this.separator;if(Undef(v)&&!this._top)v=this._p_lvl.Separator()}else this.separator=v;
return v};CPp.createItems=function(def){this.items=[];var i,it=def.items;if(Undef(it))
return;if(Undef(it.length)&&Def(it.item))it=it.item;if(it.constructor!=Array)it=[it];for(i=0;i<it.length;i++)this.addItem(it[i]);};CPp.addItem=function(def){var it=this.items;
return it[it.length]=new CMenuItem(def,this,it.length);};CPp.delItem=function(i){var j,it=this.items;if(i<it.length&&i>=0){it[i]=null;it=this.items=it.slice(0,i).concat(it.slice(i+1));for(j=0;j<it.length;)it[j].setID(j++);}};CPp.getItem=function(i){
return i<this.items.length?this.items[i]:null};CPp.startDrag=function(e){with(this){if(!Pos('absolute'))
return;RRRRRRRR.regEventHandler('mousemove',path()+'.dragTo(ev)');var p=AbsPos();this._drOffsX=p[0]-e.x;this._drOffsY=p[1]-e.y;_p.hide();_p.state(false)}};CPp.stopDrag=function(){RRRRRRRR.clearEventHandler('mousemove');this.Repos();this._p.state(true)};CPp.dragTo=function(e){this.moveTo(e.x+this._drOffsX,e.y+this._drOffsY,true)};}function CMenuItem(def,parent,id){this.id=id;this._p=parent;if(Def(def)&&def.type=='separator'){def=parent.Separator();def.type='separator';}this.initDef(def);this._l=[];};{var CMp=CMenuItem.prototype;CMp.create=function(){var l=this._l;if(!l.length)this.init();for(var i=0;i<l.length;)l[i++].l.create();this.createChild();};CMp.initDef=function(def){if(Undef(def))def={};this.text=def.text;this.textover=def.textover;this.texton=def.texton;var o=this.style=def.style||{};if(Def(o.size)){o.size[0]=pI(o.size[0]);o.size[1]=pI(o.size[1])}if(Def(o.shadow))o.shadow.width=pI(o.shadow.width||5);if(Def(o.border))o.border.width=pI(o.border.width||1);this.styleover=def.styleover||{};this.styleon=def.styleon||{};if(def.menu)this.menu=new CPopupMenu(def.menu,this,this._p);else this.menu=null;this.action=def.action||{};var o=this.position=def.position||{};if(Def(o.pos)){o.pos[0]=pI(o.pos[0]);o.pos[1]=pI(o.pos[1])}this.type=def.type;this.sep=def.type=='separator';this.bool=def.type=='bool';this.val=def.value||false;this.vis=false;};CMp.init=function(){with(this){var n,p=Pos()||[0,0],s=St('size'),_z=z();var op=St('opacity');var w=s[0],h=s[1],x=p[0],y=p[1],ox=0,oy=0;var tid=topID();var js=Act('js'),url=Act('url'),target=Act('target'),title=Act('title');var anch=!sep&&(Def(js)||Def(url)||bool);n=addLayer(w,h,x,y,0,0,_z+5);setProp(n,'','','',vis);_l[n].l.setHTML((anch?'<a href="'+(url||'#')+'"'+(Def(target)?'" target="'+target+'"':'')+' onClick="'+(bool?path()+'.toggle();':'')+(ua.nn4?'':'this.blur();')+tid+'.hide();'+(Def(js)?js:url?'':'return false')+'"'+(Def(title)?' title="'+title+'"':'')+'>':'')+'<img border=0 src="'+CT_IMG_BLANK+'" width='+w+' height='+h+'>'+(anch?'</a>':''));_l[n].l.addEventHandler("onMouseOver",tid+".handleEvent('i',"+_p.path()+(!sep?","+(this.menu?childPath():'null')+","+path():'')+")");_l[n].l.addEventHandler("onMouseOut",tid+".handleEvent('o',"+_p.path()+",null"+(!sep?","+path():'')+")");var v=Box('shadow');if(Def(v)){this._si=n=addLayer(w,h,x,y,v.width,v.width,_z,op);setProp(n,'',v.color,'',vis)}v=Box('border');var ovb=StOver('border');if(Def(ovb)&&!sep){this._ob=true;this._ob_t=Def(v);if(_ob_t)this.ob=ovb;else v=ovb}if(Def(v)){var bw=v.width;this._bi=n=addLayer(w,bw,x,y,0,0,_z+1,op);setProp(n,'',v.color,'',vis);n=addLayer(w,bw,x,y,0,h-bw,_z+1,op);setProp(n,'',v.color,'',vis);n=addLayer(bw,h-bw*2,x,y,0,bw,_z+1,op);setProp(n,'',v.color,'',vis);n=addLayer(bw,h-bw*2,x,y,w-bw,bw,_z+1,op);setProp(n,'',v.color,'',vis);w-=bw*2;h-=bw*2;ox=oy=bw}this._mn=n=addLayer(w,h,x,y,ox,oy,_z+2,op);var i,al,css,tcol,ei=St('imgendoff'),bg=Box('bgimg');if(this.menu)i=St('imgdir');else{i=St('imgitem');if(ei)ei={src:CT_IMG_BLANK,width:ei.width,height:ei.height};}al=St('align');css=St('css');tcol=St('color');CT_pre(bg);setProp(n,tcol,Box('bgcolor'),bg,vis,css,h,al,text,i,ei);if(!sep&&bool&&Undef(this.menu)){this._on=n=addLayer(w,h,x,y,ox,oy,_z+3,op);i=StOn('imgitem')||i;bg=StOn('bgimg');CT_pre(bg);setProp(n,StOn('color')||tcol,StOn('bgcolor'),bg,false,StOn('css')||css,h,StOn('align')||al,texton||text,i,ei)}if(!sep){this._mi=n=addLayer(w,h,x,y,ox,oy,_z+4,op);if(this.menu){i=StOver('imgdir')||St('imgdiropen')||i;ei=St('imgendon')||ei}else i=StOver('imgitem')||i;bg=StOver('bgimg');CT_pre(bg);setProp(n,StOver('color')||tcol,StOver('bgcolor'),bg,false,StOver('css')||css,h,StOver('align')||al,textover||text,i,ei)}}};CMp.addLayer=CT_addLayer;CMp.setProp=function(n,fn,col,bgimg,vis,css,h,al,txt,img,ei){var spc,iw,ih,w,o=this._l[n].l;o.setBgColor(col);o.setBgImage(bgimg);o.setVisible(vis);if(txt||Def(img)||Def(ei)){o.setHTML('<table border=0 cellpadding=0 cellspacing=0 width=100%><tr>');if(Def(img)){spc=img.space||this.St('imgspace');spc=Def(spc)?pI(spc):0;iw=pI(img.width);ih=pI(img.height);w=iw+spc*2;CT_pre(img.src);o.appendHTML('<td width='+w+' height='+ih+'><img src="'+img.src+'" width='+iw+' height='+ih+' hspace='+spc+' border=0></td>')}if(Def(txt))o.appendHTML('<td'+(Def(al)?' align='+al:'')+' height="'+h+'"><p'+(Undef(css)?'':' class="'+css+'"')+'>'+(Undef(fn)?txt:'<font color='+fn+'>'+txt+'</font>')+'</p></td>');if(Def(ei)){spc=ei.space||this.St('imgspace');spc=Def(spc)?pI(spc):0;iw=pI(ei.width);ih=pI(ei.height);w=iw+spc*2;CT_pre(ei.src);o.appendHTML('<td width='+w+' height='+ih+' align=right><img src="'+ei.src+'" width='+iw+' height='+ih+' hspace='+spc+' border=0></td>')}o.appendHTML('</tr></table>');}};CMp.createChild=function(){if(Def(this.menu))this.menu.create()};CMp.St=function(a,v){if(Und(v)){v=this.style[a];if(Und(v))v=this._p.St(a)}else this.style[a]=v;
return v};CMp.Box=function(a){var s;s=this.style[a];if(Und(s))if(!this._p.St('box'))s=this._p.St(a);
return s};CMp.StOver=function(a,v){if(Und(v)){v=this.styleover[a];if(Und(v))v=this._p.StOver(a)}else this.styleover[a]=v;
return v};CMp.StOn=function(a,v){if(Und(v)){v=this.styleon[a];if(Und(v))v=this._p.StOn(a)}else this.styleon[a]=v;
return v};CMp.Pos=function(p){
return Def(p)?this.position.pos=p:this.position.pos};CMp.Type=function(t){if(Def(t)){if(t=='separator'){this.initDef(this._p.Separator());this.sep=true;}this.type=t;this.bool=t=='bool';}
return this.type};CMp.Act=function(a,v){if(Und(v)){v=this.action[a];if(Und(v))v=eval(this.topID()+".Act('"+a+"')")}else this.action[a]=v;
return v};CMp.AbsPos=function(){var pos=this._p.AbsPos();pos[0]+=this.Pos()[0];pos[1]+=this.Pos()[1];
return pos};CMp.z=function(z){
return(Def(z)?this.style.z=z:this.style.z||(this._p.z()+6))};CMp.width=function(){
return this._l[0]?this._l[0].l.getWidth():this.St('size')[0]};CMp.height=function(){
return this._l[0]?this._l[0].l.getHeight():this.St('size')[1]};CMp.moveRel=function(x,y,ns){var p=this.Pos();this.move(x+p[0],y+p[1],ns)};CMp.move=function(x,y,ns){var i,l=this._l;for(i=0;i<l.length;i++)l[i].l.moveTo(x+l[i].ox,y+l[i].oy);if(this.menu&&!ns){var ap=this.AbsPos();this.menu.moveRel(ap[0],ap[1])}};CMp.visible=function(v){with(this){var i;this.vis=v;if(_l.length){for(i=0;i<_l.length;)_l[i++].l.setVisible(v);setOvBorder(false);if(bool)setBool(true);else if(Def(this._mi))_l[_mi].l.hide();}}};CMp.topID=function(){
return this._p.topID()};CMp.path=function(){
return this._p.childPath(this.id)};CMp.childPath=function(){
return this.path()+".menu"};CMp.over=function(){with(this){_l[_mi].l.show();setOvBorder(true);_l[_mn].l.hide();var scr=Act('over');if(Def(scr))eval(scr);if(Def(this._on))_l[_on].l.hide()}};CMp.out=function(){if(!this.menu||!this._over){this.setOvBorder(false);this.setBool(true);var scr=this.Act('out');if(Def(scr))eval(scr);}};CMp.setOvBorder=function(v){if(this._ob)with(this){for(var i=_bi;i<_bi+4;i++){if(_ob_t)_l[i].l.setBgColor(v?ob.color:Box('border').color);else _l[i].l.setVisible(v)}}};CMp.setOver=function(v){this._over=v;this.setOvBorder(v);this.setBool(!v)};CMp.setBool=function(v){if(v)with(this){_l[_mi].l.hide();if(vis){if(bool){_l[_mn].l.setVisible(!this.val);_l[_on].l.setVisible(this.val)}else _l[_mn].l.show()}}};CMp.toggle=function(){with(this){this.val=!this.val;_l[_mn].l.setVisible(!val);_l[_on].l.setVisible(val);var code=val?Act('on'):Act('off');if(Def(code))eval(code)}};CMp.addPopup=function(def){this.delPopup();
return this.menu=new CPopupMenu(def,this,this._p)};CMp.delPopup=function(){this.menu=null};CMp.setText=function(s,t){this['text'+(t||'')]=s};CMp.setID=function(id){this.id=id};}var _CT_menus=[];function CT_m_load(){for(var i=0;i<_CT_menus.length;)_CT_menus[i++].run(1);RRRRRRRR.setOnResize(CT_m_res,true)};function CT_m_res(){if(ua.oldOpera||ua.nn4){if(Undef(window._CT_reloading)){window._CT_reloading=true;location.reload(true)}}else for(var i=0;i<_CT_menus.length;)_CT_menus[i++].movePos()};if(ua.oldOpera)RRRRRRRR.setOnLoad(CT_m_load);else RRRRRRRR.setOnResize(CT_m_res);
