"+_link;
+ }
+ _mt+="
"+_link+" "+_I[1]+" | ";
+ }
+ if((_M[0][_i]!=_M[0][_M[0].length-1])&&_I[27]>0)
+ {
+ _sepadd="";
+ _brd="";
+ _sbg=";background:"+_I[10];
+ if(_I[71])
+ _sbg=";background-image:url("+_I[71]+");";
+ if(_I[27])
+ {
+ if(horiz)
+ {
+ if(_I[49])
+ {
+ _sepA="middle";
+ if(_I[52])
+ _sepA=_I[52];
+ if(_I[51])
+ _sepadd="style=\"padding:"+_I[51]+"px;\"";
+ _mt+="
| ";
+ }
+ else
+ {
+ if(_I[16]&&_I[17])
+ {
+ _bwid=_I[27]/2;
+ if(_bwid<1)
+ _bwid=1;
+ _brdP=_bwid+"px solid ";
+ _brd+="border-right:"+_brdP+_I[16]+";";
+ _brd+="border-left:"+_brdP+_I[17]+";";
+ if(mac||sfri||(ns6&&!ns7))
+ {
+ _mt+="
| ";
+ }
+ else
+ {
+ _mt+="
| ";
+ }
+ }
+ else
+ {
+ if(_I[51])
+ _sepadd="
| ";
+ _mt+=_sepadd+"
| "+_sepadd;
+ }
+ }
+ }
+ else
+ {
+ if(_I[16]&&_I[17])
+ {
+ _bwid=_I[27]/2;
+ if(_bwid<1)
+ _bwid=1;
+ _brdP=_bwid+"px solid ";
+ _brd="border-bottom:"+_brdP+_I[16]+";";
+ _brd+="border-top:"+_brdP+_I[17]+";";
+ if(mac||ns6||sfri)
+ _I[27]=0;
+ }
+ if(_I[51])
+ _sepadd="
|
";
+ _sepW="100%";
+ if(_I[50])
+ _sepW=_I[50];
+ _sepA="center";
+ if(_I[52])
+ _sepA=_I[52];
+ if(!mac)
+ _sbg+=";overflow:hidden";
+ _mt+=""+_sepadd+"
|
"+_sepadd+"";
+ }
+ }
+ }
+}
+
+function _fixMenu(_mnu)
+{
+ _gmt=gmobj("tbl"+_mnu);
+ _gm=gmobj("menu"+_mnu);
+
+ if(op5)
+ _gm.style.pixelWidth=_gmt.style.pixelWidth+(_m[_mnu][12]*2)+(_m[_mnu][6][65]*2);
+ if((ie4)||_m[_mnu][14]=="relative")
+ _gm.style.width=_gmt.offsetWidth+"px";
+ if(konq)
+ _gm.style.width=_gmt.offsetWidth;
+}
+
+function getEVT(evt,_mnu)
+{
+ if(evt.target.tagName=="TD"){_egm=gmobj("menu"+_mnu);
+ gevent=evt.layerY-(evt.pageY-_d.body.offsetTop)+_egm.offsetTop;}
+}
+
+function _drawMenu(_mnu,_begn)
+{
+ _mcnt++;
+ var _M=_m[_mnu];
+ _top="";
+ _left="";
+ if(!_M[14]&&!_M[7]){_top="top:-999px";
+ _left="left:-999px"}if(_M[2]!=_n){if(!isNaN(_M[2]))_top="top:"+_M[2]+"px"}if(_M[3]!=_n){if(!isNaN(_M[3]))_left="left:"+_M[3]+"px"}_mnuHeight="";
+ if(_M[9]=="horizontal"||_M[9]==1){_M[9]=1;
+ horiz=1;
+ if(_M[18]){_mnuHeight="height="+_M[18]}}else{_M[9]=0;
+ horiz=0}_visi="hidden";
+ _mt="";
+ _nw="";
+ _MS=_mi[_M[0][0]];
+ _tablewidth="";
+ if(_M[4]){_tablewidth="width="+_M[4];
+ if(op7&&!IEDtD)_tablewidth="width="+(_M[4]-(_M[12]*2)-(_MS[65]*2))}else{if(!_M[17])_nw="nowrap"}_ofb="";
+ if(_MS[7])_ofb="background:"+_MS[7];
+ _brd="";
+ _brdP="";
+ _brdwid="";
+ if(_MS[65]){_brdsty="solid";
+ if(_MS[64])_brdsty=_MS[64];
+ _brdcol="none";
+ if(_MS[63])_brdcol=_MS[63];
+ if(_MS[65])_brdwid=_MS[65];
+ _brdP=_brdwid+"px "+_brdsty+" ";
+ _brd="border:"+_brdP+_brdcol+";"}
+ if(_MS[16]&&_MS[17]){_h3d=_MS[16];_l3d=_MS[17];
+ if(_MS[70]){_h3d=_MS[17];
+ _l3d=_MS[16]}_brdP=_brdwid+"px solid ";
+ _brd="border-bottom:"+_brdP+_h3d+";";
+ _brd+="border-right:"+_brdP+_h3d+";";
+ _brd+="border-top:"+_brdP+_l3d+";";
+ _brd+="border-left:"+_brdP+_l3d+";"}_ns6ev="";
+ if(_M[13]=="scroll"&&ns6&&!ns7)_ns6ev="onmousemove=\"getEVT(event,"+_mnu+")\"";
+ _bgimg="";
+ if(_MS[73])_bgimg=";background-image:url("+_MS[73]+");";
+ _posi="absolute";
+ if(_M[14]){_posi=_M[14];
+ if(_M[14]=="relative"){_posi="";
+ if(!_M[4])_wid="width:1px;";
+ _top="";
+ _left=""}}_padd="";
+ if(_M[12])_padd="padding:"+_M[12]+"px;";
+ _wid="";
+ _cls="mmenu";
+ if(_MS[54])_cls=_MS[54];
+ if(_posi)_posi="position:"+_posi;
+ _mnwid="";
+ if(_M[17])_mnwid="width="+_M[17];
+ if(_begn==1){if(!op6&&_mnwid&&!ns7)_wid=";width:"+_M[17]+";";
+ _mt+="";
+
+ // For debugging the menu script
+ //document.all.debug.value += _mt;
+
+ if(_begn==1)
+ _d.write(_mt);
+ else
+ return _mt;
+
+ _M[22]=gmobj("menu"+_mnu);
+ if(_M[7]){if(ie55)drawiF(_mnu)}else{if(ie55&&_ifc<_mD)drawiF(_mnu);
+ _ifc++}if(_M[19]){_M[19]=_M[19].toString();
+ _fs=_M[19].split(",");
+ if(!_fs[1])_fs[1]=50;
+ if(!_fs[2])_fs[2]=2;
+ _M[19]=_fs[0];
+ followScroll(_mnu,_fs[1],_fs[2])}if(_mnu==_m.length-1){$CtI(_mst);
+ _mst=null;
+ _mst=setTimeout("_MScan()",150);
+ _getCurPath();}
+}
+
+function _getCurPath()
+{
+ _cmp=new Array();
+ if(_cip.length>0){for(_c=0;
+ _c<_cip.length;
+ _c++){_ci=_cip[_c];
+ _mni=getParentItemByItem(_ci);
+ if(_mni==-1)_mni=_ci;
+ if(_mni+" "!="undefined "){while(_mni!=-1){_I=_mi[_mni];
+ _setCPage(_I);
+ itemOff(_mni);
+ _cmp[_cmp.length]=_mni;
+ _mni=getParentItemByItem(_mni);
+ if(_mni+" "=="undefined ")_mni=-1;}}}}
+}
+
+function _setPosition(_mnu)
+{
+ if(_m[_mnu][5]){_gm=gmobj("menu"+_mnu);
+ _gp=gpos(_gm);
+ _osl=0;
+ _omnu3=0;
+ if(isNaN(_m[_mnu][3])&&_m[_mnu][3].indexOf("offset=")==0){_omnu3=_m[_mnu][3];
+ _m[_mnu][3]=_n;
+ _osl=_omnu3.substr(7,99);
+ _gm.leftOffset=_osl}_lft=_n;
+ if(!_m[_mnu][3]){if(_m[_mnu][5].indexOf("left")!=-1)_lft=0;
+ if(_m[_mnu][5].indexOf("center")!=-1)_lft=(_bW/2)-(_gp[3]/2);
+ if(_m[_mnu][5].indexOf("right")!=-1)_lft=_bW-_gp[3];
+ if(_gm.leftOffset)_lft=_lft+parseInt(_gm.leftOffset)}_ost=0;
+ _omnu2=0;
+ if(isNaN(_m[_mnu][2])&&_m[_mnu][2].indexOf("offset=")==0){_omnu2=_m[_mnu][2];
+ _m[_mnu][2]=_n;
+ _ost=_omnu2.substr(7,99);
+ _gm.topOffset=_ost}_tp=_n;
+ if(!_m[_mnu][2]>=0){_tp=_n;
+ if(_m[_mnu][5].indexOf("top")!=-1)_tp=0;
+ if(_m[_mnu][5].indexOf("middle")!=-1)_tp=(_bH/2)-(_gp[2]/2);
+ if(_m[_mnu][5].indexOf("bottom")!=-1)_tp=_bH-_gp[2];
+ if(_gm.topOffset)_tp=_tp+parseInt(_gm.topOffset)}spos(_gm,_tp,_lft);
+ if(_m[_mnu][19])_m[_mnu][19]=_tp;
+ if(_m[_mnu][7])_SoT(_mnu,1);
+ _gm._tp=_tp;}
+}
+
+function followScroll(_mnu,_cycles,_rate)
+{
+ if(!_startM){_M=_m[_mnu];
+ _fogm=_M[22];
+ _fgp=gpos(_fogm);
+ if(_sT>_M[2]-_M[19])_tt=_sT-(_sT-_M[19]);
+ else _tt=_M[2]-_sT;
+ if((_fgp[0]-_sT)!=_tt){diff=_sT+_tt;
+ if(diff-_fgp[0]<1)_rcor=_rate;
+ else _rcor=-_rate;
+ _nv=parseInt((diff-_rcor-_fgp[0])/_rate);
+ if(_nv!=0)diff=_fgp[0]+_nv;
+ spos(_fogm,diff);
+ if(_fgp._tp)_M[19]=_fgp._tp;
+ if(ie55){_fogm=gmobj("ifM"+_mnu);
+ if(_fogm)spos(_fogm,diff)}}}_fS=setTimeout("followScroll(\""+_mnu+"\","+_cycles+","+_rate+")",_cycles);
+}
+
+function _MScan()
+{
+ _getDims();
+ if(_bH!=_oldbH||_bW!=_oldbW){for(_a=0;
+ _a<_m.length;
+ _a++){if(_m[_a][7]){if(_startM&&(ie4||_m[_a][14]=="relative")){_fixMenu(_a)}menuDisplay(_a,1)}}for(_a=0;
+ _a<_m.length;
+ _a++){if(_m[_a][5]){_setPosition(_a)}}}if(_startM)_mnuD=0;
+ _startM=0;
+ _oldbH=_bH;
+ _oldbW=_bW;
+ if(!op&&_d.all&&_d.readyState!="complete"){_oldbH=0;
+ _oldbW=0}if(op){}_mst=setTimeout("_MScan()",150);
+}
+
+function drawiF(_mnu)
+{
+ _gm=gmobj("menu"+_mnu);
+ _gp=gpos(_gm);
+ _ssrc="";
+ if(location.protocol=="https:")_ssrc="src=/blank.html";
+ if(_m[_mnu][7]){_mnuV="ifM"+_mnu}else{_mnuV="iF"+_mnuD;
+ _mnuD++}if(!window._CFix)_d.write("")}function _SoT(_mnu,_on){if(_m[_mnu][14]=="relative")return;
+ if(ns6)return;
+ if(ie55){if(_on){if(!_m[_mnu][7]){_iF=gmobj("iF"+_mnuD);
+ if(!_iF){if(_d.readyState!="complete")return;
+ _iF=_d.createElement("iframe");
+ if(location.protocol=="https:")_iF.src="/blank.html";
+ _iF.id="iF"+_mnuD;
+ _iF.style.filter="Alpha(Opacity=0)";
+ _iF.style.position="absolute";
+ _iF.style.className="mmenu";
+ _d.body.appendChild(_iF)}}else{_iF=gmobj("ifM"+_mnu)}_gp=gpos(_m[_mnu][22]);
+ if(_iF){spos(_iF,_gp[0],_gp[1],_gp[2],_gp[3]);
+ _iF.style.visibility="visible";
+ _iF.style.zIndex=1}}else{_gm=gmobj("iF"+(_mnuD-1));
+ if(_gm)_gm.style.visibility="hidden";}}
+}
diff --git a/js/menu_misc.js b/js/menu_misc.js
new file mode 100644
index 0000000..10891d7
--- /dev/null
+++ b/js/menu_misc.js
@@ -0,0 +1,285 @@
+/*
+Javscript menu
+Misc stuff
+*/
+
+_mD=2;
+_d=document;
+_n=navigator;
+_nv=$tL(_n.appVersion);
+_nu=$tL(_n.userAgent);
+_ps=parseInt(_n.productSub);
+_f=false;
+_t=true;
+_n=null;
+_wp=window.createPopup;
+ie=(_d.all)?_t:_f;
+ie4=(!_d.getElementById&&ie)?_t:_f;
+ie5=(!ie4&&ie&&!_wp)?_t:_f;
+ie55=(!ie4&&ie&&_wp)?_t:_f;
+ns6=(_nu.indexOf("gecko")!=-1)?_t:_f;
+konq=(_nu.indexOf("konqueror")!=-1)?_t:_f;
+sfri=(_nu.indexOf("safari")!=-1)?_t:_f;
+if(konq||sfri){_ps=0;
+ns6=0}ns4=(_d.layers)?_t:_f;
+ns61=(_ps>=20010726)?_t:_f;
+ns7=(_ps>=20020823)?_t:_f;
+op=(window.opera)?_t:_f;
+op5=(_nu.indexOf("opera 5")!=-1)?_t:_f;
+op6=(_nu.indexOf("opera 6")!=-1)?_t:_f;
+op7=(_nu.indexOf("opera 7")!=-1||_nu.indexOf("opera/7")!=-1)?_t:_f;
+mac=(_nv.indexOf("mac")!=-1)?_t:_f;
+mac45=(_nv.indexOf("msie 4.5")!=-1)?_t:_f;
+mac50=(mac&&_nv.indexOf("msie 5.0")!=-1)?_t:_f;
+if(ns6||ns4||op||sfri)mac=_f;
+ns60=_f;
+if(ns6&&!ns61)ns60=_t;
+IEDtD=0;
+if(!op&&(_d.all&&_d.compatMode=="CSS1Compat")||(mac&&_d.doctype&&_d.doctype.name.indexOf(".dtd")!=-1))IEDtD=1;
+if(op7)op=_f;
+if(op)ie55=_f;
+_st=0;
+_en=0;
+$=" ";
+_m=new Array();
+_mi=new Array();
+_sm=new Array();
+_tsm=new Array();
+_cip=new Array();
+_mn=-1;
+_el=0;
+_ael=0;
+_Bel=0;
+_bl=0;
+_Omenu=0;
+_MT=setTimeout("",0);
+_oMT=setTimeout("",0);
+_cMT=setTimeout("",0);
+_scrmt=setTimeout("",0);
+_mst=setTimeout("",0);
+_zi=999;
+_c=1;
+_mt="";
+_oldel=-1;
+_sH=0;
+_sW=0;
+_bH=500;
+_oldbH=0;
+_bW=0;
+_oldbW=0;
+_cD=0;
+_ofMT=0;
+_startM=1;
+_sT=0;
+_sL=0;
+_mcnt=0;
+_mnuD=0;
+_itemRef=-1;
+inopenmode=0;
+
+_$S={menu:0,text:1,url:2,showmenu:3,status:4,onbgcolor:5,oncolor:6,offbgcolor:7,offcolor:8,offborder:9,separatorcolor:10,padding:11,fontsize:12,fontstyle:13,fontweight:14,fontfamily:15,high3dcolor:16,low3dcolor:17,pagecolor:18,pagebgcolor:19,headercolor:20,headerbgcolor:21,subimagepadding:22,subimageposition:23,subimage:24,onborder:25,ondecoration:26,separatorsize:27,itemheight:28,image:29,imageposition:30,imagealign:31,overimage:32,decoration:33,type:34,target:35,align:36,imageheight:37,imagewidth:38,openonclick:39,closeonclick:40,keepalive:41,onfunction:42,offfunction:43,onbold:44,onitalic:45,bgimage:46,overbgimage:47,onsubimage:48,separatorheight:49,separatorwidth:50,separatorpadding:51,separatoralign:52,onclass:53,offclass:54,itemwidth:55,pageimage:56,targetfeatures:57,imagealt:58,pointer:59,imagepadding:60,valign:61,clickfunction:62,bordercolor:63,borderstyle:64,borderwidth:65,overfilter:66,outfilter:67,margin:68,pagebgimage:69,swap3d:70,separatorimage:71,pageclass:72,menubgimage:73};
+$So="";
+_$M={items:0,name:1,top:2,left:3,itemwidth:4,screenposition:5,style:6,alwaysvisible:7,align:8,orientation:9,keepalive:10,openstyle:11,margin:12,overflow:13,position:14,overfilter:15,outfilter:16,menuwidth:17,itemheight:18,followscroll:19,menualign:20,mm_callItem:21,mm_obj_ref:22};
+_pru="";
+_c=0;
+menuname.prototype.SbMnu=ami;
+menuname.prototype.insertItem=_iI;
+
+function M_hideLayer(){}
+function opentree(){}
+
+function chop(_ar,_pos)
+{
+ var _tar=new Array();
+ for(_a=0;_a<_ar.length;_a++)
+ {
+ if(_a!=_pos)
+ {
+ _tar[_tar.length]=_ar[_a];
+ }
+ }
+ return _tar;
+}
+
+function remove(_ar,_dta)
+{
+ var _tar=new Array();
+ for(_a=0;_a<_ar.length;_a++)
+ {
+ if(_ar[_a]!=_dta)
+ {_tar[_tar.length]=_ar[_a]}
+ }
+
+ return _tar;
+}
+
+function copyOf(_w){for(_cO in _w)
+{
+ this[_cO]=_w[_cO]}
+}
+
+function $tL($S)
+{
+ return $S.toLowerCase();
+}
+
+function MakeMenus()
+{
+ for(_a=_mcnt;_a<_m.length;_a++)
+ {_drawMenu(_a,1)}
+}
+
+function MenuStyle()
+{
+ for($i in _$S)
+ this[$i]=_n;
+}
+
+function menuname(name)
+{
+ for($i in _$M)
+ this[$i]=_n;
+
+ this.name=$tL(name);_c=1;
+ _mn++;
+ this.menunumber=_mn;
+}
+
+function _incItem(_it)
+{
+ _mi[_bl]=new Array();
+
+ for($i in _x[6])
+ _mi[_bl][_$S[$i]]=_x[6][$i];
+
+ _mi[_bl][0]=_mn;
+ _it=_it.split(";");
+
+ for(_a=0;_a<_it.length;_a++)
+ {
+ _sp=_it[_a].indexOf("`");
+ if(_sp!=-1)
+ {
+ _tI=_it[_a];
+ for(_b=_a;_b<_it.length;_b++)
+ {
+ _tI+=";"+_it[_b+1];
+ _a++;
+ if(_it[_b+1].indexOf("`")!=-1)
+ _b=_it.length
+ }
+ _it[_a]=_tI.replace(/`/g,"")
+ }
+ _sp=_it[_a].indexOf("=");
+ if(_sp==-1)
+ {
+ if(_it[_a])
+ _si=_si+";"+_it[_a];
+ }
+ else
+ {
+ _si=_it[_a].slice(_sp+1);
+ _w=_it[_a].slice(0,_sp);
+ if(_w=="showmenu")
+ _si=$tL(_si)
+ }
+
+ if(_it[_a])
+ {
+ _mi[_bl][_$S[_w]]=_si;
+ }
+ }
+
+ _m[_mn][0][_c-2]=_bl;
+ _c++;
+ _bl++;
+ _mil=1;
+
+ if(_m[_mn][7]&&_c==3)
+ {
+ $c=0;
+ for($i in _$S)
+ {
+ if($c==2)
+ $T2=";"+$i;
+ if($c==1)
+ $T1=$i+"=";
+ $c++
+ }
+ $1=eval("$tL(String.fromCharCode(95,80,82,85))");
+ $2=eval($1).split($);
+ }
+ _mil=2;
+}
+
+function _iI(txt,_pos)
+{
+ _oStyle=_m[_mn][6];
+ _m[_mn][6]=this.style;
+ this.SbMnu(txt);
+ _mil=_mi.length;
+ _M=_m[this.menunumber];
+ _nmi=new Array();
+ if(_pos>=_M[0].length)_pos=_M[0].length;
+ if(!_M[0][_pos])_M[0][_pos]=_M[0][_M[0].length-1]+1;
+ _inum=_M[0][_pos];
+ _cnt=0;
+ for(_a=0;_a<_mil;_a++)
+ {
+ if(_inum==_a)
+ {
+ _nmi[_cnt]=_mi[_mi.length-1];
+ _nmi[_cnt][0]=this.menunumber;
+ _M[0][_M[0].length]=_cnt;
+ _cnt++
+ }
+ _nmi[_cnt]=_mi[_a];
+ _cnt++
+ }
+
+ _mi=_nmi;
+ _tpos=0;
+ _omnu=-1;
+
+ for(_a=0;_a<_mil;_a++)
+ {
+ _mnu=_mi[_a][0];
+ if(_mnu!=_omnu)
+ {
+ _m[_mnu][0]=new Array();
+ _tpos=0;
+ }
+ _m[_mnu][0][_tpos]=_a;
+ _tpos++;
+ _omnu=_mnu;
+ }
+ _m[_mn][6]=_oStyle;
+}
+
+function ami(txt)
+{
+ _t=this;
+ if(_c==1)
+ {
+ _c++;
+ _m[_mn]=new Array();
+ _x=_m[_mn];
+ for($i in _t)
+ _x[_$M[$i]]=_t[$i];
+
+ _x[21]=-1;
+ _x[0]=new Array();
+ if(!_x[12])_x[12]=0;
+ _MS=_m[_mn][6];
+ _MN=_m[_mn];
+ if(!_MN[15])
+ _MN[15]=_MS.overfilter;
+ if(!_MN[16])
+ _MN[16]=_MS.outfilter;
+ if(!_MN[12])
+ _MN[12]=_MS.margin;
+ if(!_MS[65])
+ _MS[65]=0;
+ }
+ _incItem(txt);
+}
\ No newline at end of file
diff --git a/js/menu_ns4.js b/js/menu_ns4.js
new file mode 100644
index 0000000..fb524fe
--- /dev/null
+++ b/js/menu_ns4.js
@@ -0,0 +1,678 @@
+/*
+Javscript menu
+NS4 stuff
+*/
+
+_amt="";
+_MTF=0;
+_onTS=0;
+var _cel=-1;
+
+function gmobj(mtxt)
+{
+ if(_d.layers[mtxt])
+ return _d.layers[mtxt];
+ re=/\d*\d/;
+ fnd=re.exec(mtxt);
+ if(_d.layers["menu"+_mi[fnd][0]])
+ {
+ return _d.layers["menu"+_mi[fnd][0]].document.layers["il"+fnd].document.layers[mtxt];
+ }
+ else
+ {
+ return document.layers["il"+fnd].document.layers[mtxt];
+ }
+}
+
+function spos(gm,t_,l_,h_,w_)
+{
+ if(t_!=null)
+ gm.top=t_;
+ if(l_!=null)
+ gm.left=l_;
+ if(h_!=null)
+ gm.height=h_;
+ if(w_!=null)
+ gm.width=w_;
+}
+
+function gpos(gm)
+{
+ var gpa=new Array();
+ gpa[0]=gm.pageY;
+ gpa[1]=gm.pageX;
+ gpa[2]=gm.clip.height;
+ gpa[3]=gm.clip.width;
+ return(gpa)
+}
+
+function _lc(_dummy)
+{
+ if(window.retainClickValue)
+ inopenmode=1;
+
+ _i=nshl;
+ if(_mi[_i][62])
+ eval(_mi[_i][62]);
+ if(_i>-1)
+ {
+ if(_mi[_i][2])
+ {
+ location.href=_mi[_i][2];
+ }
+ else
+ {
+ if(_mi[_i][39]||_mi[_i][40])
+ {
+ _nullLink(_i);
+ }
+ }
+}
+}
+
+function _nullLink(_i)
+{if(_mi[_i][3]){_oldMC=_mi[_i][39];
+_mi[_i][39]=0;
+_oldMD=_menuOpenDelay;
+_menuOpenDelay=0;
+_gm=gmobj("menu"+getMenuByName(_mi[_i][3]));
+if(_gm.visibility=="show"&&_mi[_i][40]){menuDisplay(getMenuByName(_mi[_i][3]),0);
+itemOn(_i)}else{_popi(_i)}_menuOpenDelay=_oldMD;
+_mi[_i][39]=_oldMC}
+}
+
+function itemOn(_i)
+{clearTimeout(_scrmt);
+if(_mi[_i][34]=="header"||_mi[_i][34]=="form")return;
+_gm=gmobj("oel"+_i);
+_gm.visibility="show";
+if(_mi[_i][42])eval(_mi[_i][42])
+}
+
+function itemOff(_i)
+{if(_i>-1){_gm=gmobj("oel"+_i);
+_gm.visibility="hide";
+if(_mi[_i][43])eval(_mi[_i][43])}}_NS4S=new Array();
+function drawItem(_i){_Tmt="";
+_Dmnu=_mi[_i][0];
+var _M=_m[_Dmnu];
+var _mE=_mi[_i];
+if(!_NS4S[_i]){if(!_mi[_i][33])_mi[_i][33]="none";
+if(!_mi[_i][26])_mi[_i][26]="none";
+if(!_mi[_i][14])_mi[_i][14]="normal";
+_st=".item"+_i+"{";
+if(_mi[_i][33])_st+="textDecoration:"+_mi[_i][33]+";";
+if(_mi[_i][15])_st+="fontFamily:"+_mi[_i][15]+";";
+if(_mi[_i][14])_st+="fontWeight:"+_mi[_i][14]+";";
+if(_mi[_i][12])_st+="fontSize:"+_mi[_i][12]+";";
+_st+="}";
+_st+=".oitem"+_i+"{";
+if(_mi[_i][15])_st+="fontFamily:"+_mi[_i][15]+";";
+if(_mi[_i][14])_st+="fontWeight:"+_mi[_i][14]+";";
+if(_mi[_i][33])_st+="textDecoration:"+_mi[_i][33]+";";
+if(_mi[_i][44])_st+="fontWeight:bold;";
+if(_mi[_i][45])_st+="fontStyle:italic;";
+if(_mi[_i][12])_st+="fontSize:"+_mi[_i][12]+";";
+if(_mi[_i][26])_st+="textDecoration:"+_mi[_i][26]+";";
+_st+="}";
+_d.write("");
+_NS4S[_i]=_i}_lnk="javascript:_nullLink("+_i+");";
+if(_mi[_i][2])_lnk="javascript:_lc("+_i+")";
+_wid="";
+if(_M[4])_wid="width="+_M[4];
+if(_mi[_i][55])_wid="width="+_mi[_i][55];
+_hgt="";
+if(_M[18]){_hgt="height="+_M[18]}if(_mi[_i][28]){_hgt="height="+_mi[_i][28]}_pad="0";
+if(_mE[11])_pad=_mE[11];
+if(_mi[_i][34]=="header"){if(_mi[_i][20])_mi[_i][8]=_mi[_i][20];
+if(_mi[_i][20])_mi[_i][7]=_mi[_i][21]}_bgc="";
+if(_mi[_i][7]=="transparent")_mi[_i][7]=_n;
+if(_mi[_i][7])_bgc="bgcolor="+_mi[_i][7];
+_fgc="";
+if(_mi[_i][8])_fgc="
";
+_bgbc="";
+if(_mi[_i][5])_bgbc="bgcolor="+_mi[_i][5];
+_fgbc="";
+if(_mi[_i][6])_fgbc="";
+_algn="";
+if(_M[8])_algn=" align="+_M[8];
+if(_mi[_i][36])_algn=" align="+_mi[_i][36];
+if(_mi[_i][61])_algn=" valign="+_mi[_i][61];
+_nw="";
+if(!_M[4]&&!_mi[_i][55])_nw=" nowrap ";
+_iMS="";
+_iME="";
+if(_lnk){_iMS="";
+_iME=""}_Lsimg="";
+_Rsimg="";
+_LsimgO="";
+_RsimgO="";
+_itrs="";
+_itre="";
+if(_mi[_i][3]&&_mi[_i][24]){_subIR=0;
+if(_M[11]=="rtl")_subIR=1;
+_img=_iMS+"
"+_iME;
+_oimg=_img;
+if(_mi[_i][48])_oimg=_iMS+"
"+_iME;
+_simgP="";
+if(_mi[_i][22])_simgP=_mi[_i][22];
+_imps="";
+if(_mi[_i][23]){_iA="";
+_ivA="";
+_imP=_mi[_i][23].split(" ");
+for(_ia=0;
+_ia<_imP.length;
+_ia++){if(_imP[_ia]=="left")_subIR=1;
+if(_imP[_ia]=="right")_subIR=0;
+if(_imP[_ia]=="top"||_imP[_ia]=="bottom"||_imP[_ia]=="middle"){_ivA="valign="+_imP[_ia];
+if(_imP[_ia]=="top")_subIR=1;
+if(_imP[_ia]=="bottom")_subIR=0}if(_imP[_ia]=="center"){_itrs="";
+_itre="
";
+_iA="align=center"}}_imps=_iA+" "+_ivA}_its=_itrs+" | "+_itre;
+if(_subIR)_Lsimg=_its+_img+_ite;
+else _Rsimg=_its+_img+_ite;
+if(_subIR)_LsimgO=_its+_oimg+_ite;
+else _RsimgO=_its+_oimg+_ite}_Limg="";
+_Rimg="";
+_LimgO="";
+_RimgO="";
+if(_mi[_i][29]){_iA="";
+_ivA="";
+_imps="";
+_Iwid="";
+if(_mi[_i][37])_Iwid=" width="+_mi[_i][37];
+_Ihgt="";
+if(_mi[_i][38])_Ihgt=" height="+_mi[_i][38];
+_img=_iMS+"

"+_iME;
+_oimg=_img;
+if(_mi[_i][32])_oimg=_iMS+"

"+_iME;
+if(!_mi[_i][30])_mi[_i][30]="left";
+_imP=_mi[_i][30].split(" ");
+for(_ia=0;
+_ia<_imP.length;
+_ia++){if(_imP[_ia]=="left")_subIR=1;
+if(_imP[_ia]=="right")_subIR=0;
+if(_imP[_ia]=="top"||_imP[_ia]=="bottom"||_imP[_ia]=="middle"){_ivA="valign="+_imP[_ia];
+if(_mi[_i][3])_ivA+=" colspan=2";
+if(_imP[_ia]=="top")_subIR=1;
+if(_imP[_ia]=="bottom")_subIR=0}if(_imP[_ia]=="center"){_itrs="
";
+_itre="
";
+_iA="align=center"}}_imps=_iA+" "+_ivA;
+_its=_itrs+"
| "+_itre;
+if(!_mi[_i][1]){_its="";
+_ite=""}if(_subIR)_Limg=_its+_img+_ite;
+else _Rimg=_its+_img+_ite;
+if(_subIR)_LimgO=_its+_oimg+_ite;
+else _RimgO=_its+_oimg+_ite}if(!_M[9]){_Tmt+="
"}_Tmt+="";
+_Tmt+="";
+_txt="";
+if(_mi[_i][1])_txt=_mi[_i][1];
+_acT="onmouseover=\"_popi("+_i+");clearTimeout(_MTF);_MTF=setTimeout('close_el("+_i+")',200);\";drag_drop('menu"+_Dmnu+"');";
+if(_mi[_i][34]=="dragable"){}if(_mi[_i][34]=="header")_acT="";
+_Tmt+="";
+_Tmt+="";
+_Tmt+="";
+_Tmt+=_Limg;
+_Tmt+=_Lsimg;
+if(_txt){_Tmt+=" | "}_Tmt+=_Rimg;
+_Tmt+=_Rsimg;
+_Tmt+=" ";
+_Tmt+="";
+_Tmt+="";
+_Tmt+="";
+_Tmt+="";
+_Tmt+=_LimgO;
+_Tmt+=_LsimgO;
+if(_txt){_Tmt+=" | "}_Tmt+=_RimgO;
+_Tmt+=_RsimgO;
+_Tmt+=" ";
+_Tmt+="";
+_Tmt+="";
+_Tmt+=" | ";
+_hgt="";
+if(_M[18]){_hgt="height="+(_M[18]+6);
+_hgt="height=20"}_spd="";
+if(_mi[_i][51])_spd=_mi[_i][51];
+_sal="align=center";
+if(_mi[_i][52])_sal="align="+_mi[_i][52];
+_sbg="";
+if(_mi[_i][71])_sbg="background="+_mi[_i][71];
+if(!_M[9]){_Tmt+="
";
+if((_i!=_M[0][_M[0].length-1])&&_mi[_i][27]>0){_swid="100%";
+if(_mi[_i][50])_swid=_mi[_i][50];
+if(_spd)_Tmt+="
|
";
+_Tmt+="
";
+if(_mi[_i][16]&&_mi[_i][17]){_bwid=_mi[_i][27]/2;
+if(_bwid<1)_bwid=1;
+_Tmt+="";
+_Tmt+=" | ";
+_Tmt+="";
+_Tmt+=" | "}else{_Tmt+="";
+_Tmt+=" | "}_Tmt+=" |
";
+if(_spd)_Tmt+="
|
"}}else{if((_i!=_M[0][_M[0].length-1])&&_mi[_i][27]>0){_hgt="height=100%";
+if(_mi[_i][16]&&_mi[_i][17]){_bwid=_mi[_i][27]/2;
+if(_bwid<1)_bwid=1;
+_Tmt+="
| ";
+_Tmt+="
| "}else{if(_spd)_Tmt+="
| ";
+_Tmt+="
| ";
+if(_spd)_Tmt+="
| "}}}return _Tmt
+}
+
+function csto(_mnu)
+{_onTS=0;
+clearTimeout(_scrmt);
+clearTimeout(_oMT);
+_MT=setTimeout("closeAllMenus()",_menuCloseDelay)
+}
+
+function followScroll(_mnu,_cycles,_rate)
+{if(!_startM){_M=_m[_mnu];
+_fogm=_M[22];
+_fgp=gpos(_fogm);
+if(_sT>_M[2]-_M[19])_tt=_sT-(_sT-_M[19]);
+else _tt=_M[2]-_sT;
+_tt+=_M[6][65];
+if((_fgp[0]-_sT)!=_tt){diff=_sT+_tt;
+if(diff-_fgp[0]<1)_rcor=_rate;
+else _rcor=-_rate;
+_nv=parseInt((diff-_rcor-_fgp[0])/_rate);
+if(_nv!=0)diff=_fgp[0]+_nv;
+spos(_fogm,diff);
+if(_fgp._tp)_M[19]=_fgp._tp;
+_fgp=gpos(_fogm);
+spos(gmobj("bord"+_mnu),_fgp[0]-_m[_mnu][6][65])}}_fS=setTimeout("followScroll(\""+_mnu+"\","+_cycles+","+_rate+")",_cycles)
+}
+
+function _drawMenu(_mnu)
+{_mt="";
+_mcnt++;
+var _M=_m[_mnu];
+_ms=_m[_mnu][6];
+if(_M[9]=="horizontal")_M[9]=1;
+else _M[9]=0;
+_visi="";
+if(!_M[7])_visi="visibility=hide";
+_top="top=0";
+if(_M[2])_top="top="+_M[2];
+_left="left=0";
+if(_M[3])_left="left="+_M[3];
+if(_M[9]){_oldBel=_Bel;
+_d.write("
");
+for(_b=0;
+_b<_M[0].length;
+_b++){_d.write(drawItem(_Bel));
+_Bel++}_d.write("
");
+_Bel=_oldBel;
+_gm=gmobj("HT"+_mnu);
+_M[18]=_gm.clip.height-6}_bImg="";
+if(_M[6][46])_bImg="background="+_M[6][46];
+if(_M[14]!="relative")_mt+="";_amt+=_mt;_d.write(_mt);_M[22]=gmobj("menu"+_mnu);if(_M[19]){_M[19]=_M[19].toString();_fs=_M[19].split(",");if(!_fs[1])_fs[1]=20;if(!_fs[2])_fs[2]=10;_M[19]=_fs[0];followScroll(_mnu,_fs[1],_fs[2])}if(_M[14]!="relative"){_st="";_brdsty="solid";if(_M[6].borderstyle)_brdsty=_M[6].borderstyle;if(_M[6][64])_brdsty=_M[6][64];_brdcol="#000000";if(_M[6].bordercolor)_brdcol=_M[6].bordercolor;if(_M[6][63])_brdcol=_M[6][63];_brdwid="";if(_M[6].borderwidth)_brdwid=_M[6].borderwidth;if(_M[6][65])_brdwid=_M[6][65];_M[6][65]=_brdwid;_st=".menu"+_mnu+"{";_st+="borderStyle:"+_brdsty+";";
+_st+="borderColor:"+_brdcol+";";
+_st+="borderWidth:"+_brdwid+";";
+if(_ms.fontsize)_st+="fontSize:"+2+";";
+_st+="}";
+_d.write("");
+_gm=gmobj("menu"+_mnu);
+_d.write("");
+if(_M[7]){_gm=gmobj("menu"+_mnu);
+_gm.zIndex=999;
+_gp=gpos(_gm);
+spos(_gm,_gp[0]+_M[6][65],_gp[1]+_M[6][65],_gp[2],_gp[3]);
+_gmb=gmobj("bord"+_mnu);
+_gmb.zIndex=0;
+spos(_gmb,_gp[0],_gp[1],_gp[2],_gp[3]);
+_gmb.visibility="show"}}else{}if(_m[_mnu][13]=="scroll"){_gm=gmobj("menu"+_mnu);
+_gm.fullHeight=_gm.clip.height;
+_scs=";
+this.bgColor='"+_m[_mnu][6].onbgcolor+"'\" onmouseout=\"csto("+_mnu+");
+this.bgColor='"+_m[_mnu][6].offbgcolor+"'\"";
+_scs+=" visibility=hide "+_bgc+" class=menu"+_mnu+">
";
+_d.write("
"+_sce);
+_d.write(""+_sce);
+_ts=gmobj("tscroll"+_mnu);
+_gm.tsHeight=_ts.clip.height;
+_ts=gmobj("bscroll"+_mnu);
+_gm.bsHeight=_ts.clip.height}
+}
+
+function getMenuByItem(_gel)
+{_gel=_mi[_gel][0];
+if(_m[_gel][7])_gel=-1;
+return _gel
+}
+
+function getParentMenuByItem(_gel)
+{_tm=getMenuByItem(_gel);
+if(_tm==-1)return-1;
+for(_x=0;
+_x<_mi.length;
+_x++){if(_mi[_x][3]==_m[_tm][1]){return _mi[_x][0]}}return-1
+}
+
+function getParentItemByItem(_gel)
+{_tm=getMenuByItem(_gel);
+if(_tm==-1)return-1;
+for(_x=0;
+_x<_mi.length;
+_x++){if(_mi[_x][3]==_m[_tm][1]){return _x}}return-1
+}
+
+function _setPath(_mpi)
+{if(_mpi>-1){_ci=_m[_mpi][21];
+while(_ci>-1){itemOn(_ci);
+_ci=_m[_mi[_ci][0]][21]}}
+}
+
+function _back2par(_i)
+{if(_oldel>-1){if(_i==_m[_mi[_oldel][0]][21]){_popi(_i)}}
+}
+
+function closeMenusByArray(_ar)
+{for(_a=0;
+_a<_ar.length;
+_a++){menuDisplay(_ar[_a],0)}
+}
+
+function cm()
+{_tar=getMenusToClose();
+closeMenusByArray(_tar);
+for(_b=0;
+_b<_tar.length;
+_b++){if(_tar[_b]!=_mnu)_sm=remove(_sm,_tar[_b])}
+}
+
+function getMenusToClose()
+{_st=-1;
+_en=_sm.length;
+_mm=_iP;
+if(_iP==-1){if(_sm[0]!=_masterMenu)return _sm;
+_mm=_masterMenu}for(_b=0;
+_b<_sm.length;
+_b++){if(_sm[_b]==_mm)_st=_b+1;
+if(_sm[_b]==_mnu)_en=_b}if(_st>-1&&_en>-1){_tsm=_sm.slice(_st,_en)}return _tsm
+}
+
+function getMenuByName(_mname)
+{_mname=$tL(_mname);
+for(_gma=0;
+_gma<_m.length;
+_gma++){if(_mname==_m[_gma][1]){return _gma}}return-1
+}
+
+function clearELs(_i)
+{_mnu=_mi[_i][0];
+for(_q=0;
+_q<_m[_mnu][0].length;
+_q++){gmobj("oel"+_m[_mnu][0][_q]).visibility="hide"}
+}
+
+function menuDisplay(_mnu,_show)
+{_gm=gmobj("menu"+_mnu);
+_gmb=gmobj("bord"+_mnu);
+M_hideLayer(_mnu,_show);
+for(_q=0;
+_q<_m[_mnu][0].length;
+_q++){gmobj("oel"+_m[_mnu][0][_q]).visibility="hide"}if(_show){_gm.zIndex=_zi;
+_gm.visibility="show";
+_gmb.top=_gm.pageY-_m[_mnu][6][65];
+_gmb.left=_gm.pageX-_m[_mnu][6][65];
+_gmb.zIndex=_zi-1;
+_gmb.visibility="show";
+if(_el>-1)_m[_mnu][21]=_el;
+if(_m[_mnu][13]=="scroll"){if((_gm.clip.height>_bH)||_gm.nsDoScroll){_gi=gmobj("el"+_el);
+_tsm=gmobj("tscroll"+_mnu);
+_bsm=gmobj("bscroll"+_mnu);
+if(!_gm.scrollTop)_gm.top=_gm.top+_tsm.clip.height-1;
+else _gm.top=_gm.scrollTop;
+_gm.clip.height=_bH-(_gi.pageY+_gi.clip.height)-19;
+_gmb.clip.height=_gm.clip.height;
+_tsm.top=_gmb.top;
+_tsm.left=_gmb.left;
+_tsm.zIndex=_zi+1;
+_bsm.left=_gmb.left;
+_bsm.top=(_gmb.pageY+_gmb.clip.height)-_tsm.clip.height+_gm.tsHeight;
+_tsm.zIndex=_zi+1;
+_tsm.visibility="show";
+_bsm.zIndex=_zi+1;
+_bsm.visibility="show";
+_gm.nsDoScroll=1}}}else{if(!(_m[_mnu][7])){_gm.visibility="hide";
+_gmb.visibility="hide";
+if(_m[_mnu][13]=="scroll"){_tsm=gmobj("tscroll"+_mnu);
+_tsm.visibility="hide";
+_tsm=gmobj("bscroll"+_mnu);
+_tsm.visibility="hide"}}}
+}
+
+function forceCloseAllMenus()
+{_cmo=gmobj("menu"+_mi[_cel][0]);
+if(!_cmo)_cmo=gmobj("oel"+_cel);
+for(_a=0;
+_a<_m.length;
+_a++){if(!_m[_a][7]&&!_m[_a][10])menuDisplay(_a,0)}_zi=999;
+_el=-1
+}
+
+function closeAllMenus()
+{_cmo=gmobj("menu"+_mi[_cel][0]);
+if(!_cmo)_cmo=gmobj("oel"+_cel);
+if(!_onTS&&_cmo&&(MouseX>(_cmo.pageX+_cmo.clip.width)||MouseY>(_cmo.pageY+_cmo.clip.height)||MouseX<_cmo.pageX||MouseY<_cmo.pageY)){inopenmode=0;
+for(_ca=0;
+_ca<_m.length;
+_ca++){if(!_m[_ca][7]&&!_m[_ca][10])menuDisplay(_ca,0);
+if(_m[_ca][21]>-1){itemOff(_m[_ca][21]);
+_m[_ca][21]=-1}}_zi=999;
+_el=-1}
+}
+
+function close_menu()
+{if(_el==-1)_MT=setTimeout("closeAllMenus()",_menuCloseDelay)
+}
+
+function close_el(_i)
+{if(_mi[_i][43])eval(_mi[_i][43]);
+clearELs(_i);
+window.status="";
+clearTimeout(_oMT);
+_MT=setTimeout("closeAllMenus()",_menuCloseDelay);
+_el=-1;
+_oldel=_i
+}
+
+function getParentMenuByItem(_gel)
+{_gel=_mi[_gel][0];
+if(_m[_gel][7])_gel=-1;
+return _gel
+}
+
+function getParentItemByItem(_gel)
+{_par=getParentMenuByItem(_gel);
+for(_a=0;
+_a<_m[_par][0].length;
+_a++){if(_gel==_m[_par][0][_a]){return _m[_par][0]}}return false
+}
+
+function getParentsByItem(_gmi)
+{
+}
+
+function lc(_i)
+{if(_mi[_i]=="disabled")return;
+location.href=_mi[_i][2]
+}
+
+function _is(_mnu,_SCRam)
+{_onTS=1;
+_cel=_m[_mnu][0][0];
+clearTimeout(_MT);
+clearTimeout(_scrmt);
+_doScroll(_mnu,_SCRam);
+_scrmt=setTimeout("_is("+_mnu+","+_SCRam+")",_scrollDelay)
+}
+
+function _doScroll(_mnu,_SCRam){gm=gmobj("menu"+_mnu);
+if(_SCRam<0&&((gm.clip.top+gm.clip.height)>gm.fullHeight+gm.tsHeight+_SCRam))return;
+if(_SCRam>0&&gm.clip.top<_SCRam)return;
+gm.top=gm.top+_SCRam;
+gm.scrollTop=gm.top;
+gm.clip.top=gm.clip.top-_SCRam;
+gm.clip.height=gm.clip.height-_SCRam
+}
+
+function set_status(_i)
+{if(_mi[_i][4]!=null){status=_mi[_i][4]}else{if(_mi[_i][2])status=_mi[_i][2];
+else status=""}
+}
+
+function getOffsetValue(_ofs)
+{_ofsv=0;
+if(isNaN(_ofs)&&_ofs.indexOf("offset=")==0){_ofsv=parseInt(_ofs.substr(7,99))}return _ofsv
+}
+
+function popup()
+{_sm=new Array;
+_arg=arguments;
+clearTimeout(_MT);
+clearTimeout(_oMT);
+if(_cel>-1)forceCloseAllMenus();
+if(_arg[0]){_ofMT=0;
+_mnu=getMenuByName(_arg[0]);
+_cel=_m[_mnu][0][0];
+_tos=0;
+if(_arg[2])_tos=_arg[2];
+_los=0;
+if(_arg[3])_los=_arg[3];
+_sm[_sm.length]=_mnu;
+if(_arg[1]){_gm=gmobj("menu"+_mnu);
+_gp=gpos(_gm);
+if(_arg[1]==1){if(MouseY+_gp[2]>(_bH)+_sT)_tos=-(MouseY+_gp[2]-_bH)+_sT;
+if(MouseX+_gp[3]>(_bW)+_sL)_los=-(MouseX+_gp[3]-_bW)+_sL;
+if(_m[_mnu][2]){if(isNaN(_m[_mnu][2]))_tos=getOffsetValue(_m[_mnu][2]);
+else{_tos=_m[_mnu][2];
+MouseY=0}}if(_m[_mnu][3]){if(isNaN(_m[_mnu][3]))_los=getOffsetValue(_m[_mnu][3]);
+else{_los=_m[_mnu][3];
+MouseX=0}}if(ns6&&!ns60){_los-=_sL;
+_tos-=_sT}spos(_gm,MouseY+_tos,MouseX+_los)}else{for(_a=0;
+_a<_d.images.length;
+_a++){if(_d.images[_a].name==_arg[1])_po=_d.images[_a]}spos(_gm,_po.y+_po.height+getOffsetValue(_m[_mnu][2]),_po.x+getOffsetValue(_m[_mnu][3]))}}menuDisplay(_mnu,1);
+_m[_mnu][21]=-1}
+}
+
+function Opopup(_mn,_mp)
+{clearTimeout(_MT);
+closeAllMenus();
+if(_mn){_mnu=getMenuByName(_mn);
+_sm[_sm.length]=_mnu;
+menuDisplay(_mnu,1);
+_m[_mnu][21]=-1}
+}
+
+function popdown()
+{_MT=setTimeout("closeAllMenus()",_menuCloseDelay)
+}
+
+function _popi(_i)
+{_cel=_i;
+clearTimeout(_MT);
+clearTimeout(_cMT);
+clearTimeout(_oMT);
+if(_mi[_i][34]=="disabled")return;
+clearELs(_i);
+if(_oldel>-1)clearELs(_oldel);
+_mnu=-1;
+_el=_i;
+_itemRef=_i;
+_mopen=_mi[_i][3];
+horiz=0;
+if(_m[_mi[_i][0]][9])horiz=1;
+itemOn(_i);
+if(!_sm.length){_sm[_sm.length]=_mi[_i][0];
+_masterMenu=_mi[_i][0]}_iP=getParentMenuByItem(_el);
+if(_iP==-1)_masterMenu=_mi[_i][0];
+set_status(_el);
+_cMT=setTimeout("cm()",_menuOpenDelay);
+if(_mopen&&(!_mi[_el][39]||inopenmode)){_gel=gmobj("el"+_i);
+_gp=gpos(_gel);
+_mnu=getMenuByName(_mopen);
+if(_mi[_i][41])_m[_mnu][10]=1;
+if(_mnu>-1){_gp=gpos(_gel);
+_mnO=gmobj("menu"+_mnu);
+_mp=gpos(_mnO);
+if(horiz){_top=_gp[0]+_gp[2]+1;
+_left=_gp[1];
+if(_m[_mnu][11]=="rtl"){_left=_left-(_mp[3]-_gp[3])-_mi[_i][27]}if(_m[_mi[_i][0]][5]=="bottom"){_top=(_gp[0]-_mp[2])}}else{_top=_gp[0]+_subOffsetTop;
+_left=_gp[1]+_gp[3]+_subOffsetLeft;
+if(_m[_mnu][11]=="rtl"){_left=_gp[1]-_mp[3]-_subOffsetLeft}}if(_left<0)_left=0;
+if(_top<0)_top=0;
+if(_m[_mnu][2]){if(isNaN(_m[_mnu][2])&&_m[_mnu][2].indexOf("offset=")==0){_os=_m[_mnu][2].substr(7,99);
+_top=_top+parseInt(_os)}else{_top=_m[_mnu][2]}}if(_m[_mnu][3]){if(isNaN(_m[_mnu][3])&&_m[_mnu][3].indexOf("offset=")==0){_os=_m[_mnu][3].substr(7,99);
+_left=_left+parseInt(_os)}else{_left=_m[_mnu][3]}}if(_left+_mp[3]>_bW+_sL){if(!horiz&&(_gp[1]-_mp[3])>0){_left=_gp[1]-_mp[3]-_subOffsetLeft}else{_left=(_bW-_mp[3])-2}}if(!horiz&&_top+_mp[2]>_bH+_sT){_top=(_bH-_mp[2])-2}if(!horiz){_top=_top-_m[_mnu][6][65]}else{_top--;
+_left--}spos(_mnO,_top+_m[_mnu][6][65],_left+_m[_mnu][6][65]);
+if(_m[_mnu][5])_setPosition(_mnu);
+_zi++;
+_mnb=gmobj("bord"+_mnu);
+_oMT=setTimeout("menuDisplay("+_mnu+",1)",_menuOpenDelay);
+if(_sm[_sm.length-1]!=_mnu)_sm[_sm.length]=_mnu}}_setPath(_iP)
+}
+
+function _setPosition(_mnu)
+{if(_m[_mnu][5]){_gm=gmobj("menu"+_mnu);
+_gp=gpos(_gm);
+_osl=0;
+_omnu3=0;
+if(isNaN(_m[_mnu][3])&&_m[_mnu][3].indexOf("offset=")==0){_omnu3=_m[_mnu][3];
+_m[_mnu][3]=_n;
+_osl=_omnu3.substr(7,99);
+_gm.leftOffset=_osl}_lft=_n;
+if(!_m[_mnu][3]){if(_m[_mnu][5].indexOf("left")!=-1)_lft=0;
+if(_m[_mnu][5].indexOf("center")!=-1)_lft=(_bW/2)-(_gp[3]/2);
+if(_m[_mnu][5].indexOf("right")!=-1)_lft=_bW-_gp[3];
+if(_gm.leftOffset)_lft=_lft+parseInt(_gm.leftOffset)}_ost=0;
+_omnu2=0;
+if(isNaN(_m[_mnu][2])&&_m[_mnu][2].indexOf("offset=")==0){_omnu2=_m[_mnu][2];
+_m[_mnu][2]=_n;
+_ost=_omnu2.substr(7,99);
+_gm.topOffset=_ost}_tp=_n;
+if(!_m[_mnu][2]>=0){_tp=_n;
+if(_m[_mnu][5].indexOf("top")!=-1)_tp=0;
+if(_m[_mnu][5].indexOf("middle")!=-1)_tp=(_bH/2)-(_gp[2]/2);
+if(_m[_mnu][5].indexOf("bottom")!=-1)_tp=_bH-_gp[2];
+if(_gm.topOffset)_tp=_tp+parseInt(_gm.topOffset)}if(_lft<0)_lft=0;
+spos(_gm,_tp,_lft);
+if(_m[_mnu][19])_m[_mnu][19]=_tp;
+if(_tp)_tp=_tp-_m[_mnu][6][65];
+if(_lft)_lft=_lft-_m[_mnu][6][65];
+_sb=gmobj("bord"+_mnu);
+spos(_sb,_tp,_lft);
+_gm._tp=_tp}
+}
+
+function _MScan()
+{_bW=self.innerWidth-16;
+_bH=self.innerHeight-17;
+_sT=self.pageYOffset;
+if(_startM==1){for(_a=0;
+_a<_m.length;
+_a++){if(_m[_a][5]){_setPosition(_a)}}}else{if((_bH!=_oldbH)&&(_bW!=_oldbW)){location.reload()}}_startM=0;
+_oldbH=_bH;
+_oldbW=_bW}setInterval("_MScan()",200);
+
+function getMouseXY(e)
+{
+ MouseX=e.pageX;
+ MouseY=e.pageY
+}
+
+_d.captureEvents(Event.MOUSEMOVE);
+_d.onmousemove=getMouseXY;
diff --git a/lang/de/main.php b/lang/de/main.php
new file mode 100644
index 0000000..1537371
--- /dev/null
+++ b/lang/de/main.php
@@ -0,0 +1,12 @@
+
\ No newline at end of file
diff --git a/lang/en/main.php b/lang/en/main.php
new file mode 100644
index 0000000..660fade
--- /dev/null
+++ b/lang/en/main.php
@@ -0,0 +1,21 @@
+
\ No newline at end of file
diff --git a/templates/include_footer.html b/templates/include_footer.html
new file mode 100644
index 0000000..00bfcab
--- /dev/null
+++ b/templates/include_footer.html
@@ -0,0 +1,36 @@
+
+
+
+
+ Created 2008 - By Adiscon GmbH |
+
+ PhpLogCon Version {BUILDNUMBER}
+ |
+
+ Partners:
+ |
+
+ RSyslog |
+ WinSyslog
+ |
+
+
+ Page rendered in {PAGERENDERTIME} seconds
+ | Total DB Queries {TOTALQUERIES}
+ |
+
+
+
+
+
+
+
+
+
+
+  |
+
+
+
+
+
\ No newline at end of file
diff --git a/templates/include_header.html b/templates/include_header.html
new file mode 100644
index 0000000..ddbd9aa
--- /dev/null
+++ b/templates/include_header.html
@@ -0,0 +1,83 @@
+
+
+
+ {TITLE}
+ {EXTRA_METATAGS}
+
+
+
+
+
+
+
+
+
+  |
+
+
+
+
+ |
+ |
+
+
+
+
+
+
+ |
+
+
+
+
+ |
+
+
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+
{LN_ERROR_INSTALLFILEREMINDER}
+
+
diff --git a/templates/include_index_globals.html b/templates/include_index_globals.html
new file mode 100644
index 0000000..788b4d9
--- /dev/null
+++ b/templates/include_index_globals.html
@@ -0,0 +1,32 @@
+
+
+ {LN_GLOBAL_STATS} |
+
+
+
+
+  |
+
+
+
+
+
+
+
+ {global_lastupdate_TimeFormat} |
+
+
+
+
+
+
+
+ {VALUE_INT} |
+
+
+
+
+ |
+
+
+
diff --git a/templates/include_menu.html b/templates/include_menu.html
new file mode 100644
index 0000000..6f8afd7
--- /dev/null
+++ b/templates/include_menu.html
@@ -0,0 +1,12 @@
+
diff --git a/templates/index.html b/templates/index.html
new file mode 100644
index 0000000..f9466c0
--- /dev/null
+++ b/templates/index.html
@@ -0,0 +1,66 @@
+
+
+
+
+
+
+
+
+
+ Recent syslog messages |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {ZAEHLER} |
+ {timereported} |
+ {syslogfacility-text} |
+ {syslogseverity-text} |
+ {FROMHOST} |
+ {syslogtag} |
+ {IUT} |
+ {msg} |
+
+
+
+
+
+
+
+ |
+
+
+
+
+
diff --git a/themes/dark/images/bg_bottom.gif b/themes/dark/images/bg_bottom.gif
new file mode 100644
index 0000000..76db69e
Binary files /dev/null and b/themes/dark/images/bg_bottom.gif differ
diff --git a/themes/dark/images/dither.png b/themes/dark/images/dither.png
new file mode 100644
index 0000000..196b0de
Binary files /dev/null and b/themes/dark/images/dither.png differ
diff --git a/themes/dark/main.css b/themes/dark/main.css
new file mode 100644
index 0000000..0dfe43b
--- /dev/null
+++ b/themes/dark/main.css
@@ -0,0 +1,351 @@
+/* Generell Tag Classes */
+BODY
+{
+ FONT-FAMILY: ARIAL;
+ FONT-SIZE: 8pt;
+ BACKGROUND: #000000;
+ COLOR: #F3F3F1;
+
+ scrollbar-face-color: #475059;
+ scrollbar-highlight-color: #b8c2cc;
+ scrollbar-shadow-color: #b8c2cc;
+ scrollbar-3dlight-color: #000000;
+ scrollbar-arrow-color: #f2f5ff;
+ scrollbar-track-color: #262d34;
+ scrollbar-darkshadow-color: #000000;
+}
+
+TD { font-family: Arial, Helvetica, sans-serif; font-size: 8pt; color: #F3F3F1 }
+
+/* Link Classes */
+.playerlink { color:#006699; cursor:hand; }
+.playerlink:hover { color:#FF0A0C; text-decoration: none; cursor:hand; }
+
+/* Default Link Classes */
+a:link,a:active,a:visited,a.postlink
+{
+ font-family: Verdana, Arial, Helvetica, sans-serif;
+ font-weight:bold;
+ background-color: transparent;
+ color:#FFD323;
+ text-decoration:none;
+}
+a:hover
+{
+ font-family: Verdana, Arial, Helvetica, sans-serif;
+ font-weight:bold;
+ color:#EF9A00;
+}
+
+img
+{
+ border: 0px;
+}
+
+/* Title Classes */
+.title
+{
+ font: bold 11px Verdana, Arial, Helvetica, sans-serif;
+ BACKGROUND-COLOR: #1C1014;
+ COLOR: #E5F377;
+ border: 1px solid;
+ border-color: #58363E #2C1B1F #2C1B1F #58363E;
+ height: 20px;
+ text-align:center;
+ vertical-align:middle;
+}
+A.title, A.title:active, A.title:visited
+{
+ font: bold 11px Verdana, Arial, Helvetica, sans-serif;
+ COLOR: #dd6900;
+ TEXT-DECORATION: none;
+}
+A.title:hover
+{
+ font: bold 11px Verdana, Arial, Helvetica, sans-serif;
+ COLOR: #FF0A0C;
+ TEXT-DECORATION: none;
+}
+
+/* Default Font Classes */
+font
+{
+ font-family: Verdana, Arial, Helvetica, sans-serif;
+ font-size: 8pt;
+}
+
+/* Table / Border Classes */
+.table_with_border
+{
+ background-color:#141618;
+ border:1px solid;
+ border-color: #290604 #0E0706 #000000 #290604;
+}
+
+.table_with_border_second
+{
+ background-color:#19232D;
+ border:1px solid;
+ border-color: #050A0F #050A0F #050A0F #050A0F;
+}
+
+.with_border
+{
+ text-indent:3px;
+ background-color:#1C2021;
+ border:1px #050A0F solid;
+}
+
+.with_border_alternate
+{
+ text-indent:3px;
+ background-color:#1C2021;
+ border:1px #07233F ridge;
+}
+
+.mainheader
+{
+ border:1px solid;
+ background-color:#1C2021;
+ border-color: #006699 #07233F #000000 #006699;
+}
+
+.mainfooter
+{
+ height: 20px;
+ background-color:#1C2021;
+ border-top: #050A0F 1px solid;
+ border-bottom: #050A0F 1px solid;
+}
+
+.imageborder
+{
+ border:1px solid;
+ border-color: #050A0F #353A3F #353A3F #050A0F;
+}
+
+/* Cells for listening */
+.line0
+{
+ font-size: 8pt;
+ color: #B9B597;
+ background-color: #0E161F;
+}
+.line0:hover
+{
+ background-color:#3D4751;
+}
+
+.line1
+{
+ font-size: 8pt;
+ color: #B9B597;
+ background-color: #152331;
+}
+.line1:hover
+{
+ background-color:#3D4751;
+}
+
+.line2
+{
+ font-size: 8pt;
+ color: #B9B597;
+ background-color: #1D3043;
+}
+.line2:hover
+{
+ background-color:#3D4751;
+}
+
+.line_alt0
+{
+ font-size: 8pt;
+ color: #000000;
+ background-color: #AAAAAA;
+ background-image: url("images/dither.png");
+}
+.line_alt0:hover
+{
+ background-color:#F9F9F9;
+ background-image: url("images/dither.png");
+}
+
+.line_alt1
+{
+ font-size: 8pt;
+ color: #000000;
+ background-color: #DDDDDD;
+ background-image: url("images/dither.png");
+}
+.line_alt1:hover
+{
+ background-color:#F9F9F9;
+ background-image: url("images/dither.png");
+}
+
+/* TOP Menu Classes */
+.topmenu1
+{
+ height: 16px;
+ border:1px ridge;
+ border-color: #D79993 #290604 #290604 #D79993;
+
+ font: 10px Verdana, Arial, Helvetica, sans-serif;
+ color: #FFFFFF;
+ background-color: #38110E;
+}
+.topmenu1:hover
+{
+ color: #FFFF99;
+ background-color: #492D2B;
+ text-decoration: none;
+}
+.topmenu1_link, A.topmenu1_link
+{
+ color: #FFDD22;
+}
+.topmenu1_link:hover, A.topmenu1_link:hover
+{
+ color: #FFFF99;
+ text-decoration: none;
+}
+.topmenuend
+{
+ height: 16px;
+ font: 10px Verdana, Arial, Helvetica, sans-serif;
+ color: #FFFFFF;
+ background-color: #290604;
+}
+
+/* Cell Columns */
+.cellmenu1
+{
+ height: 15px;
+ border:1px solid;
+ border-color: #353A3F #050A0F #050A0F #353A3F;
+
+ text-indent:5px;
+ font: 10px Verdana, Arial, Helvetica, sans-serif;
+ color: #FFFCE5;
+ background-color: #103B65;
+}
+.cellmenu1:hover
+{
+ color: #FFFF33;
+ text-decoration: none;
+}
+A.cellmenu1_link
+{
+ color: #FFFF33;
+ text-decoration: underline;
+}
+A.cellmenu1_link:hover
+{
+ color: #FF5500;
+ text-decoration: none;
+}
+
+.cellmenu2
+{
+ height: 16px;
+ border:1px ridge;
+ border-color: #7777AA #12161A #12161A #7777AA;
+
+ text-indent:5px;
+ font: 10px Verdana, Arial, Helvetica, sans-serif;
+ color: #FFFCE5;
+ background-color: #053841;
+}
+.cellmenu2:hover
+{
+ color: #FFFF33;
+ text-decoration: none;
+}
+
+/* Usefull Text Classes */
+.ErrorMsg
+{
+ font: bold 12px Verdana, Arial, Helvetica, sans-serif;
+ COLOR: #FF2222;
+ border-top: 1px solid;
+ border-bottom: 1px solid;
+ border-color: #58363E;
+}
+.PriorityEmergency
+{
+ color: #FFFFFF;
+ background-color: #ff4444;
+ border-top: black 1px solid;
+ border-bottom: black 1px solid;
+ border-right: gray 1px solid;
+}
+.PriorityAlert
+{
+ color: #FFFFFF;
+ background-color: #dd00dd;
+ border-top: black 1px solid;
+ border-bottom: black 1px solid;
+ border-right: gray 1px solid;
+}
+.PriorityCrit
+{
+ color: #FFFFFF;
+ background-color: #dd9900;
+ border-top: black 1px solid;
+ border-bottom: black 1px solid;
+ border-right: gray 1px solid;
+}
+.PriorityError
+{
+ color: #FFFFFF;
+ background-color: #CC0000;
+ border-top: black 1px solid;
+ border-bottom: black 1px solid;
+ border-right: gray 1px solid;
+}
+.PriorityWarning
+{
+ color: #FFFFFF;
+ background-color: #FFAA00;
+ border-top: black 1px solid;
+ border-bottom: black 1px solid;
+ border-right: gray 1px solid;
+}
+.PriorityNotice
+{
+ color: #FFFFFF;
+ background-color: #66CC33;
+ border-top: black 1px solid;
+ border-bottom: black 1px solid;
+ border-right: gray 1px solid;
+}
+.PriorityInfo
+{
+ color: #000000;
+ background-color: #ABF1FF;
+ border-top: black 1px solid;
+ border-bottom: black 1px solid;
+ border-right: gray 1px solid;
+}
+.PriorityDebug
+{
+ color: #FFFFFF;
+ background-color: #3333ff;
+ border-top: black 1px solid;
+ border-bottom: black 1px solid;
+ border-right: gray 1px solid;
+}
+
+/* Form elements */
+select, input, textarea
+{
+ background-color: #0B253C;
+ color:#FFFFFF;
+ font:bold 10px Verdana,Arial,Helvetica,sans-serif;
+ border: 1px solid;
+ border-color: #233B51 #124A7C #124A7C #233B51;
+}
+
+
+
diff --git a/themes/default/images/bg_bottom.gif b/themes/default/images/bg_bottom.gif
new file mode 100644
index 0000000..d36b5fa
Binary files /dev/null and b/themes/default/images/bg_bottom.gif differ
diff --git a/themes/default/images/dither.png b/themes/default/images/dither.png
new file mode 100644
index 0000000..28ef6d4
Binary files /dev/null and b/themes/default/images/dither.png differ
diff --git a/themes/default/main.css b/themes/default/main.css
new file mode 100644
index 0000000..d8bfbee
--- /dev/null
+++ b/themes/default/main.css
@@ -0,0 +1,383 @@
+/* Generell Tag Classes */
+BODY
+{
+ BACKGROUND-COLOR: #f9f9f9;
+ COLOR: #000000;
+ FONT-FAMILY: ARIAL;
+ FONT-SIZE: 8pt;
+
+ scrollbar-face-color: #DEE3E7;
+ scrollbar-highlight-color: #FFFFFF;
+ scrollbar-shadow-color: #DEE3E7;
+ scrollbar-3dlight-color: #D1D7DC;
+ scrollbar-arrow-color: #006699;
+ scrollbar-track-color: #EFEFEF;
+ scrollbar-darkshadow-color: #98AAB1
+}
+
+TD { font-family: Arial, Helvetica, sans-serif; font-size: 8pt; color: #000000 }
+
+/* Link Classes */
+.playerlink { color:#000000; cursor:hand; }
+.playerlink:hover { color:#000099; text-decoration: none; cursor:hand; }
+
+/* Default Link Classes */
+a:link,a:active,a:visited,a.postlink
+{
+ font-family: Verdana, Arial, Helvetica, sans-serif;
+ font-weight:bold;
+ background-color: transparent;
+ color:#38140E;
+ text-decoration:none;
+}
+a:hover
+{
+ font-family: Verdana, Arial, Helvetica, sans-serif;
+ font-weight:bold;
+ color:#FF0000;
+}
+
+img
+{
+ border: 0px;
+}
+
+/* Title Classes */
+.title
+{
+ FONT: bold 11px Verdana, Arial, Helvetica, sans-serif;
+ BACKGROUND-COLOR: #D2C598;
+ COLOR: #032D5D;
+ border: 1px solid;
+ border-color: #ACBED6 #3B679B #3B679B #ACBED6;
+ height: 20px;
+ text-align:center;
+ vertical-align:middle;
+}
+A.title, A.title:active, A.title:visited
+{
+ FONT: bold 11px Verdana, Arial, Helvetica, sans-serif;
+ COLOR: #ED9D10;
+ TEXT-DECORATION: none;
+}
+A.title:hover
+{
+ FONT: bold 11px Verdana, Arial, Helvetica, sans-serif;
+ COLOR: #982D00;
+ TEXT-DECORATION: none;
+}
+
+/* Default Font Classes */
+font
+{
+ font-family: Verdana, Arial, Helvetica, sans-serif;
+ font-size: 8pt;
+}
+
+/* Table / Border Classes */
+.table_with_border
+{
+ background-color:#EEF2F6;
+ border:1px solid;
+ border-color: #CCCCCC #000000 #000000 #CCCCCC;
+}
+
+.table_with_border_second
+{
+ background-color:#D5E0E7;
+ border:1px solid;
+ border-color: #CCCCCC #000000 #000000 #CCCCCC;
+}
+
+.with_border
+{
+ text-indent:3px;
+ background-color:#CCCCCC;
+ border:1px #AAAAAA solid;
+}
+
+.with_border_alternate
+{
+ text-indent:3px;
+ background-color:#CCCCCC;
+ border:1px #AAAAAA ridge;
+}
+
+.mainheader
+{
+ border:1px solid;
+ background-color:#C7CBD1;
+ border-color: #44617D #203040 #203040 #44617D;
+}
+
+.mainfooter
+{
+ height: 20px;
+ background-color:#DDDDDD;
+ border-top: #97A8B9 1px solid;
+ border-bottom: #6592BD 1px solid;
+}
+
+.imageborder
+{
+ border:1px solid;
+ border-color: #44617D #203040 #203040 #44617D;
+}
+
+/* Cells for listening */
+.line0
+{
+ font-size: 8pt;
+ color: #000000;
+ background-color: #DDDDDD;
+}
+.line0:hover
+{
+ background-color:#F9F9F9;
+}
+
+.line1
+{
+ font-size: 8pt;
+ color: #000000;
+ background-color: #EEEEEE;
+}
+.line1:hover
+{
+ background-color:#F9F9F9;
+}
+
+.line2
+{
+ font-size: 8pt;
+ color: #000000;
+ background-color: #F5F5F5;
+}
+.line2:hover
+{
+ background-color:#F9F9F9;
+}
+
+.line_alt0
+{
+ font-size: 8pt;
+ color: #000000;
+ background-color: #AAAAAA;
+ background-image: url("images/dither.png");
+}
+.line_alt0:hover
+{
+ background-color:#F9F9F9;
+ background-image: url("images/dither.png");
+}
+
+.line_alt1
+{
+ font-size: 8pt;
+ color: #000000;
+ background-color: #DDDDDD;
+ background-image: url("images/dither.png");
+}
+.line_alt1:hover
+{
+ background-color:#F9F9F9;
+ background-image: url("images/dither.png");
+}
+
+/* TOP Menu Classes */
+.topmenu1
+{
+ height: 16px;
+ border:1px ridge;
+ border-color: #79AABE #09506C #09506C #79AABE;
+
+ font: 10px Verdana, Arial, Helvetica, sans-serif;
+ color: #FFFFFF;
+ background-color: #597196;
+}
+.topmenu1:hover
+{
+ color: #FFFF99;
+ background-color: #6A88B8;
+ text-decoration: none;
+}
+.topmenu1_link, A.topmenu1_link
+{
+ color: #FFDD22;
+}
+.topmenu1_link:hover, A.topmenu1_link:hover
+{
+ color: #FFFF99;
+ text-decoration: none;
+}
+.topmenuend
+{
+ height: 16px;
+ font: 10px Verdana, Arial, Helvetica, sans-serif;
+ color: #FFFFFF;
+ background-color: #597196;
+}
+.topmenu2
+{
+ height: 16px;
+ border:1px ridge;
+ border-color: #79AABE #09506C #09506C #79AABE;
+
+ font: 10px Verdana, Arial, Helvetica, sans-serif;
+ color: #FFFFFF;
+ background-color: #597196;
+}
+.topmenu2:hover
+{
+ color: #FFFF99;
+ background-color: #6A88B8;
+ text-decoration: none;
+}
+.topmenu2_link, A.topmenu2_link
+{
+ color: #FFDD22;
+}
+.topmenu2_link:hover, A.topmenu2_link:hover
+{
+ color: #FFFF99;
+ text-decoration: none;
+}
+.topmenu2end
+{
+ height: 16px;
+ font: 10px Verdana, Arial, Helvetica, sans-serif;
+ color: #FFFFFF;
+ background-color: #597196;
+}
+
+
+
+/* Cell Columns */
+.cellmenu1
+{
+ height: 16px;
+ border:1px ridge;
+ border-color: #79AABE #09506C #09506C #79AABE;
+
+ text-indent:5px;
+ font: 10px Verdana, Arial, Helvetica, sans-serif;
+ color: #FFFFFF;
+ background-color: #6C8E9C;
+}
+.cellmenu1:hover
+{
+ color: #FFFF99;
+ text-decoration: none;
+}
+A.cellmenu1_link
+{
+ color: #FFFF55;
+ text-decoration: underline;
+}
+A.cellmenu1_link:hover
+{
+ color: #FFBB55;
+ text-decoration: none;
+}
+
+.cellmenu2
+{
+ height: 15px;
+ border:1px inset;
+ border-color: #79AABE #09506C #09506C #79AABE;
+
+ text-indent:5px;
+ font: 10px Verdana, Arial, Helvetica, sans-serif;
+ color: #393327;
+ background-color: #B8D4E0;
+}
+.cellmenu2:hover
+{
+ color: #A31D32;
+ text-decoration: none;
+}
+
+/* Usefull Text Classes */
+.ErrorMsg
+{
+ font: bold 12px Verdana, Arial, Helvetica, sans-serif;
+ COLOR: #FF0000;
+ border-top: 1px solid;
+ border-bottom: 1px solid;
+ border-color: #58363E;
+}
+.PriorityEmergency
+{
+ color: #FFFFFF;
+ background-color: #ff4444;
+ border-top: black 1px solid;
+ border-bottom: black 1px solid;
+ border-right: gray 1px solid;
+}
+.PriorityAlert
+{
+ color: #FFFFFF;
+ background-color: #dd00dd;
+ border-top: black 1px solid;
+ border-bottom: black 1px solid;
+ border-right: gray 1px solid;
+}
+.PriorityCrit
+{
+ color: #FFFFFF;
+ background-color: #dd9900;
+ border-top: black 1px solid;
+ border-bottom: black 1px solid;
+ border-right: gray 1px solid;
+}
+.PriorityError
+{
+ color: #FFFFFF;
+ background-color: #CC0000;
+ border-top: black 1px solid;
+ border-bottom: black 1px solid;
+ border-right: gray 1px solid;
+}
+.PriorityWarning
+{
+ color: #FFFFFF;
+ background-color: #FFAA00;
+ border-top: black 1px solid;
+ border-bottom: black 1px solid;
+ border-right: gray 1px solid;
+}
+.PriorityNotice
+{
+ color: #FFFFFF;
+ background-color: #66CC33;
+ border-top: black 1px solid;
+ border-bottom: black 1px solid;
+ border-right: gray 1px solid;
+}
+.PriorityInfo
+{
+ color: #000000;
+ background-color: #ABF1FF;
+ border-top: black 1px solid;
+ border-bottom: black 1px solid;
+ border-right: gray 1px solid;
+}
+.PriorityDebug
+{
+ color: #FFFFFF;
+ background-color: #3333ff;
+ border-top: black 1px solid;
+ border-bottom: black 1px solid;
+ border-right: gray 1px solid;
+}
+
+/* Form elements */
+select, input, textarea
+{
+ background-color: #E8E7E2;
+ color:#000000;
+ font:bold 10px Verdana,Arial,Helvetica,sans-serif;
+ border: 1px solid;
+ border-color: #233B51 #124A7C #124A7C #233B51;
+}
+
diff --git a/userchange.php b/userchange.php
new file mode 100644
index 0000000..73a03e5
--- /dev/null
+++ b/userchange.php
@@ -0,0 +1,52 @@
+ www.phplogcon.org <- *
+ * *
+ * Use this script at your own risk! *
+ * ----------------------------------------------------------------- *
+ * Main Index File *
+ * *
+ * -> Loads the main PhpLogCon Site *
+ * *
+ * All directives are explained within this file *
+ *********************************************************************
+*/
+
+// *** Default includes and procedures *** //
+define('IN_PHPLOGCON', true);
+$gl_root_path = './';
+include($gl_root_path . 'include/functions_common.php');
+include($gl_root_path . 'include/functions_frontendhelpers.php');
+
+InitPhpLogCon();
+InitFrontEndDefaults(); // Only in WebFrontEnd
+// *** *** //
+
+// --- BEGIN Custom Code
+if ( isset($_SERVER['HTTP_REFERER']) )
+ $szRedir = $_SERVER['HTTP_REFERER'];
+else
+ $szRedir = "index.php"; // Default
+
+
+if ( isset($_GET['op']) )
+{
+ if ( $_GET['op'] == "changestyle" )
+ {
+ if ( VerifyTheme($_GET['stylename']) )
+ $_SESSION['CUSTOM_THEME'] = $_GET['stylename'];
+ }
+
+ if ( $_GET['op'] == "changelang" )
+ {
+ if ( VerifyLanguage($_GET['langcode']) )
+ $_SESSION['CUSTOM_LANG'] = $_GET['langcode'];
+ }
+}
+
+// Final redirect
+RedirectPage( $szRedir );
+// ---
+?>
\ No newline at end of file
|