var TMenu_path_to_files = '/pages/includes/menu_files/';

var MENU_FRAMES = [];
var SUBMENU_FRAMES = [];
var SUBMENU_ITEMS_XP = [];
var MENU_ITEMS_XP = [];
var MENU_LEFT_XP = [];

var MENU_POS =[
{'height' : 16,'width':60,'tw' : '_top', 'vertical' : false,'expd_delay' : 75,'css':  {'table' : 'mnu_top','outer' : ['','mnu_topOut',''],'inner' : ['mnu_topIn0','mnu_topIn1','mnu_topIn2']}},
{'width': 140,'height': 15,'tw' : '_top', 'block_top':20,'block_left':2,'wise_pos':2,'vertical': true,'transition': [0, 0.3, 0, 0.3],'hide_delay':300,'shadow':{'offX' : 3,'offY' : 2,'color' : '#888888'},'css' : {'table' : 'mnu_top1','outer' : ['','mnu_top1Out',''],'inner' : ['mnu_top1In0','mnu_top1In1','mnu_top1In2']}},
{'block_top':0,'block_left':100}  ]

var SUBMENU_POS =[
{'height' : 20,'width':60,'tw' : '_top', 'vertical' : false,'expd_delay' : 75,'css':  {'table' : 'mnu_sub','outer' : ['','mnu_subOut',''],'inner' : ['mnu_subIn0','mnu_subIn1','mnu_subIn2']}},
{'width': 140,'height': 15,'tw' : '_top', 'block_top':20,'block_left':2,'wise_pos':2,'vertical': true,'transition': [0, 0.3, 0, 0.3],'hide_delay':300,'shadow':{'offX' : 3,'offY' : 2,'color' : '#888888'},'css' : {'table' : 'mnu_sub1','outer' : ['','mnu_sub1Out',''],'inner' : ['mnu_sub1In0','mnu_sub1In1','mnu_sub1In2']}},
{'block_top':0,'block_left':100}  ]

var MENU_LEFT =[
{'height' : 17,'width':130,'tw' : '_top', 'vertical' : true,'expd_delay' : 75,'css':  {'table' : 'mnu_left','outer' : ['','mnu_leftOut',''],'inner' : ['mnu_leftIn0','mnu_leftIn1','mnu_leftIn2']}},
{'width': 140,'height': 17,'tw' : '_top', 'block_top':0,'block_left':130,'wise_pos':2,'vertical': true,'transition': [0, 0.3, 0, 0.3],'hide_delay':300,'shadow':{'offX' : 3,'offY' : 2,'color' : '#888888'},'css' : {'table' : 'mnu_left1','outer' : ['','mnu_left1Out',''],'inner' : ['mnu_left1In0','mnu_left1In1','mnu_left1In2']}},
{'width': 140,'height': 15,'tw' : '_top', 'block_top':0,'block_left':150,'wise_pos':2,'vertical': true,'transition': [0, 0.3, 0, 0.3],'hide_delay':300,'shadow':{'offX' : 3,'offY' : 2,'color' : '#888888'}},
{'block_top':0,'block_left':140}  ]

// Please, don't change below this line
// ----------------------------------------------------------------------------------
var menus=[],TMg,TM08=['click','mouseout','mouseover','mousedown'];function TM3(TM09){var s=window[this.TM0A]?new String(window[this.TM0A]):'',TM06;if((TM06=s.indexOf("{"))>-1)s=s.substring(TM06+1,s.lastIndexOf("}")-1)+';';window.onload=Function(s+TM09)}function TM0B(){for(var i in menus){menus[i].TM0C();menus[i].TM0D=true}}function TM0E(){var TM0F,TM0G;if(this.width!=(TM0F=this.TM0H(window))){this.width=TM0F;TM0G=true}if(this.height!=(TM0F=this.TM0I(window))){this.height=TM0F;TM0G=true}if(this.TM0J!=(TM0F=this.TM0K(window))){this.TM0J=TM0F;TM0G=true}if(this.TM0L!=(TM0F=this.TM0M(window))){this.TM0L=TM0F;TM0G=true}if(TM0G)this.TM0C();window.setTimeout('TMg.TM0d()',500)}function menu(TM0N,TM0O,TM0P){this.TM0N=TM0N;this.TM0O=TM0O;this.TMi=[];this.TM0Q=[];this.TMS=[];this.exec=TM0R;this.hide=TM0S;this.on=[];this.onclick=TM0T;this.onmouseout=TM0U;this.onmouseover=TM0V;this.onmousedown=TM0W;this.TM0C=TM0X;this.TM0Y=TMN;this.TM0Z=this.TMc=this.TMd=0;this.TM07=function(){};if(TM0P){this.TMd=TM0P.zIndex||0;this.TMb=Boolean(TM0P.frames);this.TMc=TM0P.popup?-1:0;if(this.TMc){this.TM03=TMy;this.expand=TM04;this.TM06=function(){}}if(TM0P.forms){this.TMK=TM0P.forms;this.TM07=TMG}}this.TM0a={'width':100,'height':20,'block_top':null,'block_left':null,'vertical':false,'expd_delay':0,'hide_delay':100,'table':[0,0,0],'css':{'table':'','inner':'','outer':''}};this.TMQ=-1;this.TMh=this;this.TMU=function(TM0b){return this.TM0a[TM0b]};if(!TMg){TMg=new TM0();TMg.TM0c=navigator.userAgent.indexOf('Gecko')>-1;TMg.TMn=TMenu_path_to_files+'pixel.gif';if(!TMg.TM0A)TMg.TM0A='onload';TMg.TM0H=window.innerWidth!=null?function(w){return w.innerWidth}:function(w){return w.document.body.clientWidth};TMg.TM0I=window.innerHeight!=null?function(w){return w.innerHeight}:function(w){return w.document.body.clientHeight};TMg.TM0K=window.pageXOffset!=null?function(w){return w.pageXOffset}:function(w){return w.document.body.scrollLeft};TMg.TM0M=window.pageYOffset!=null?function(w){return w.pageYOffset}:function(w){return w.document.body.scrollTop};TMg.onload=TM3;TMg.TM0C=TM0B;TMg.TM0d=TM0E}this.id=TM0P&&TM0P.key?TM0P.key:menus.length;menus[this.id]=this;if(top!=window){if(!top.TM0e)top.TM0e=[];if(!top.TM0e[this.id])top.TM0e[this.id]={'frames':[]};this.TM0f=top.TM0e[this.id];if(this.TMb){this.TM0f.TM0g=window;this.TM0h=[];if(TM0P&&TM0P.frames)for(i in TM0P.frames){this.TM0h[i]=[];for(var j in TM0P.frames[i])this.TM0h[i][j]=eval('top.'+TM0P.frames[i][j])}}this.TM0f.frames[window.name]=window;TMg.onload("TMg.TM0d()")}else TMg.onload("TMg.TM0C()");this.TMX=[];this.TMt=this.TM0N.length;for(var i=0;i<this.TMt;i++)new TM0i(i,this,this,i);this.TM0Y(1);this.TMe=this.TMf;for(i=0;i<this.TMt;i++)this.TMS[i].TM0j()}function TM0X(){if(this.TM0f){if(typeof(this.TM0h)!='object'){if(!this.TM0f.TMe)return setTimeout('menus["'+this.id+'"].TM0C()',100);this.TM0h=this.TM0f.TM0g.menus[this.id].TM0h}if(this.TMb){var TM0k,TM0l=0,TM0m;if(!this.TM0f.TM0n)this.TM0f.TM0n=[];for(i in this.TM0h){TM0m=0;for(j in this.TM0h[i]){if(!this.TM0f.TM0n[this.TM0h[i][j].name])this.TM0f.TM0n[this.TM0h[i][j].name]={'x':TM0m,'y':TM0l};if(TMg.TM1)if(!this.TM0h[i][j].document.body)return setTimeout('menus["'+this.id+'"].TM0C()',100);TM0m+=TMg.TM0H(this.TM0h[i][j])}TM0l+=TMg.TM0I(this.TM0h[i][j])}this.TM0f.TMe=TMg.TM5(this.TMe,this.TM0f.TM0n[window.name].x-TMg.TM0K(window),this.TM0f.TM0n[window.name].y-TMg.TM0M(window));for(var i in this.TM0f.frames)if(this.TM0f.frames[i]!=window)this.TM0f.frames[i].TMg.TM0C()}else{TMg.TMC(this.TMe,{'x':this.TM0f.TMe.x-this.TM0f.TM0n[window.name].x+TMg.TM0K(window),'y':this.TM0f.TMe.y-this.TM0f.TM0n[window.name].y+TMg.TM0M(window)})}}if(document.layers)for(var TM0o=0;TM0o<this.TMt;TM0o++)this.TMS[TM0o].TM00(0);else if(TM0p)for(var TM0o=0;TM0o<this.TMt;TM0o++)this.TMS[TM0o].TM06()}function TM0R(id,TM0q){if(!this.TM0D)return;if(this.TM0f&&TM0q){var TM0r;for(TM0r in this.TM0f.frames)if(!this.TM0f.frames[TM0r].menus[this.id].TM0Q[id]||!this.TM0f.frames[TM0r].menus[this.id].TM0Q[id].elements)return setTimeout('menus["'+this.id+'"].exec("'+id+'",'+TM0q+')',100);for(TM0r in this.TM0f.frames)this.TM0f.frames[TM0r].menus[this.id]['on'+TM08[TM0q]](id)}else if(this.TM0f&&!this.TMb){if(!this.TM0f.TM0g.menus[this.id].TM0Q[id]||!this.TM0f.TM0g.menus[this.id].TM0Q[id].elements)return setTimeout('menus["'+this.id+'"].exec("'+id+'",'+TM0q+')',100);return this.TM0f.TM0g.menus[this.id]['on'+TM08[TM0q]](id)}else return menus[this.id]['on'+TM08[TM0q]](id)}function TM0S(){if(this.TM0Z>0||!this.TM0s)return;if(this.TMJ)this.TMJ.TM03(this.TMc);this.TMJ=null;if(!TMg.TM2&&!TMg.TM0c)this.TM07(true)}function TM0T(id){var TM0t=Boolean(this.TM0Q[id].TMq[1]);if(TM0t&&this.TM0f)for(var i in this.TM0f.frames)this.TM0f.frames[i].menus[this.id].TMJ.TM03(0);return TM0t}function TM0U(id){this.TM0Z--;this.TM0Q[id].TM00(0);if(this.TM0u)clearTimeout(this.TM0u);this.TM0s=setTimeout('menus["'+this.id+'"].hide()',this.TM0Q[id].TMU('hide_delay'));if(this.TM0Q[id].TMi.sb!=null)top.status=''}function TM0V(id){this.TM0Z++;for(var TM0v=this.TM0Q[id];TM0v.elements;TM0v=TM0v.TMs)TM0v.TM00(1);var TM0v=this.TM0Q[id];clearTimeout(this.TM0s);this.TM0s=null;if(TM0v.TMi.sb!=null)setTimeout('menus["'+this.id+'"].TM0Q["'+id+'"].TM10()',10);this.TM02=TM0v;if(TM0v.TMs.TMS[0].TM0w<0)return;if(TM0v.TMs.TMS[0].TM0w)this.TM0u=setTimeout('menus["'+this.id+'"].TM0Q["'+id+'"].expand()',TM0v.TMs.TMS[0].TM0w);else TM0v.expand()}function TM0W(id){this.TM0Q[id].TM00(2);if(this.TM0Q[id].TMs.TMS[0].TM0w<0)this.TM0Q[id].expand()}function TM0i(TM0x,TMs,TMh,TM0y){this.id=this.TM0x=new String(TM0x);this.TMs=TMs;this.TMh=TMh;this.TMr=this.TM0x.split('_');this.TMQ=this.TMr.length-1;var TM0z='';for(var i=0;i<=this.TMQ;i++)TM0z+='['+(Number(this.TMr[i])+(i?3:0))+']';eval('this.TMq = this.TMh.TM0N'+TM0z);if(!this.TMq)return;this.TMi=this.TMq[2]?this.TMq[2]:[];this.TMh.TM0Q[this.id]=this;TMs.TMS[TMs.TMS.length]=this;this.TM00=TMw;this.TM10=TM11;this.TM06=TM12;this.TM0Y=TMp;this.TMU=TM13;this.TMW=TM14;this.TM0j=TMv;this.TM03=TMy;this.expand=TM04;if(!TM0y){this.TM15=this.TMs.TMi.bt||this.TMU('block_top');this.TM16=this.TMs.TMi.bl||this.TMU('block_left');this.TM17=this.TMU('top')<0;this.TM18=this.TMU('left')<0;this.TM19=this.TMU('width');this.TM1A=this.TMU('height');this.TMu=this.TMU('vertical');this.TM1B=this.TMU('wise_pos');this.TM0w=this.TMU('expd_delay')}var TM1C=this.TMs.TMS[0].TM19,TM1D=this.TMs.TMS[0].TM1A;if(this.TMs.TMS[0].TMu){if(this.TMs.TMi.bw!=null)TM1C=this.TMs.TMi.bw;if(this.TMi.sh!=null)TM1D=this.TMi.sh}else{if(this.TMs.TMi.bh!=null)TM1D=this.TMs.TMi.bh;if(this.TMi.sw!=null)TM1C=this.TMi.sw}this.TMs.TMX[TM0y]=this.TM0Y(TM1C,TM1D);this.TMt=this.TMq.length-3;if(this.TMt>0){this.TMS=[];this.TM1E=TMN;this.TM05=TM1F;if(TM0p&&!document.layers)this.TM05()}}function TM1F(){this.TMX=[];for(var i=0;i<this.TMt;i++)new TM0i(this.TM0x+'_'+i,this,this.TMh,i);this.TM1E();for(i in this.TMS)this.TMS[i].TM0j()}function TM11(){top.status=this.TMi.sb}function TM13(TM0b){var TM1G=null,TM1H=this.TMh.TM0O[this.TMQ];if(TM1H)TM1G=TM1H[TM0b];return(TM1G==null?this.TMs.TMU(TM0b):TM1G)}function TM14(TM1I,TM1J){var TM1K=this.TMU('css'),TM1L=TM1K[TM1I];if(typeof(TM1L)=='string')return TM1L;for(var TM1M=TM1J;TM1M>=0;TM1M--)if(TM1L[TM1M])return TM1L[TM1M]}function TM12(TMD,value){if(this.TMt>0){var TM1N=this.TMS[0],TM1O=TMg.TM5(this.elements[0],this.TMi.bl?this.TMi.bl:TM1N.TM16,this.TMi.bt?this.TMi.bt:TM1N.TM15);if(TM1N.TM18)TM1O.x-=TMg.TME(this.TMf);if(TM1N.TM17)TM1O.y-=TMg.TME(this.TMf,1);if(TM1N.TM1B&&!this.TMh.TM0f){var wise=TM1N.TM1B,TM1P=TMg.TME(this.TMf,0),TM1Q=TMg.TME(this.TMf,1),TM1R=TMg.TM0H(window),TM1S=TMg.TM0I(window),TM1T=TMg.TM0K(window),TM1U=TMg.TM0M(window);if(TM1O.x+TM1P>TM1R+TM1T)TM1O.x=(wise==1?TM1R+TM1T:TM1O.x)-TM1P;if(TM1O.y+TM1Q>TM1S+TM1U)TM1O.y=(wise==1?TM1S+TM1T:TM1O.y)-TM1Q;if(TM1O.x<TM1T)TM1O.x=TM1T;if(TM1O.y<TM1U)TM1O.y=TM1U}TMg.TMC(this.TMf,TM1O);if(this.TMo)TMg.TMC(this.TMo,TM1O);if(TM0p&&!document.layers)for(var TM0o=0;TM0o<this.TMt;TM0o++)this.TMS[TM0o].TM06()}}var TM1V=navigator.appVersion.match(/MSIE [0-9.]+/),TM0p=window.opera||!TM1V||!TM1V[0]||TM1V[0].replace('MSIE ','')<4.99||(navigator.appVersion.indexOf('Mac')>-1&&navigator.appVersion.indexOf('MSIE')>-1)||navigator.userAgent.indexOf('Konqueror')>-1;document.write('<scr'+'ipt language="JavaScript" src="'+TMenu_path_to_files+'menu.'+(document.layers?'lay':TM0p?'opr':'dom')+'.js"></scr'+'ipt>');

function wrap_root (text) {
	return [
	'<table class=menu_top cellpadding=1 cellspacing=0 border=0 width=100%><tr><td><table cellpadding=0 cellspacing=0 border=0 width=100%><tr><td width=100% class=mnu_topIn0>&nbsp; ' + text + ' &nbsp;</td></tr></table></td></tr></table>',
	'<table cellpadding=1 cellspacing=0 border=0 width=100%><tr><td><table cellpadding=0 cellspacing=0 border=0 width=100%><tr><td width=100% class=mnu_topIn1>&nbsp; ' + text + ' &nbsp;</td></tr></table></td></tr></table>',
	'<table cellpadding=1 cellspacing=0 border=0 width=100%><tr><td><table cellpadding=0 cellspacing=0 border=0 width=100%><tr><td width=100% class=mnu_topIn2>&nbsp; ' + text + ' &nbsp;</td></tr></table></td></tr></table>'
	];
}

function wrap_child (text) {
	return [
	['<table cellpadding=0 cellspacing=0 border=0 width=100%><tr><td><table cellpadding=0 cellspacing=0 border=0 width=100%><tr><td class=mnu_top1In0> ',
	 text, '</td></tr></table></td></tr></table>'].join(''),
	 
	['<table cellpadding=0 cellspacing=0 border=0 width=100% ><tr><td><table cellpadding=0 cellspacing=0 border=0 width=100% ><tr><td class=mnu_top1In1> ', 
	 text, '</td></tr></table></td></tr></table>'].join(''),
	 
	['<table cellpadding=0 cellspacing=0 border=0 width=100%><tr><td><table cellpadding=0 cellspacing=0 border=0 width=100%><tr> <td class=mnu_top1In2> ', 
	 text, '</td></tr></table></td></tr></table>'].join('')
	];
}

function wrap_parent (text) {
	return [
	['<table cellpadding=0 cellspacing=0 border=0 width=100%><tr><td><table cellpadding=0 cellspacing=0 border=0 width=100% ><tr><td class=mnu_top1In0 style="padding-left: 0px;"> ',
	 text, '</td><td valign="middle"><img src="/pages/includes/menu_files/icons/arr.gif" width="4" height="7" border="0" style="vertical-align: middle;"></td></tr></table></td></tr></table>'].join(''),
	 
	['<table cellpadding=0 cellspacing=0 border=0 width=100% ><tr><td><table cellpadding=0 cellspacing=0 border=0 width=100% ><tr><td class=mnu_top1In1 style="padding-left: 0px;"> ', 
	 text, '</td><td><img src="' + TMenu_path_to_files +'icons/arr.gif" width="4" height="7" border="0" style="vertical-align: middle;"></td></tr></table></td></tr></table>'].join(''),
	 
	['<table cellpadding=0 cellspacing=0 border=0 width=100%><tr><td><table cellpadding=0 cellspacing=0 border=0 width=100%><tr> <td class=mnu_top1In2 style="padding-left: 0px;"> ', 
	 text, '</td><td><img src="' + TMenu_path_to_files +'icons/arr.gif" width="4" height="7" border="0" style="vertical-align: middle;"></td></tr></table></td></tr></table>'].join('')
	];
}

function wrap_left_parent (text) {
	return [
	['<table cellpadding=0 cellspacing=0 border=0 width=100%><tr><td><table cellpadding=0 cellspacing=0 border=0 width=100% ><tr><td class=mnu_leftIn0 style="padding-left: 0px; border-bottom: 0 none; border-bottom-color: inherit;"> ',
	 text, '</td><td valign="middle" align="right" style="padding-right: 2px;"><img src="' + TMenu_path_to_files +'icons/arr.gif" width="4" height="7" border="0" style="vertical-align: middle;"></td></tr></table></td></tr></table>'].join(''),
	 
	['<table cellpadding=0 cellspacing=0 border=0 width=100% ><tr><td><table cellpadding=0 cellspacing=0 border=0 width=100% ><tr><td class=mnu_leftIn1 style="padding-left: 0px; border-bottom: 0 none; border-bottom-color: inherit;"> ', 
	 text, '</td><td align="right" style="padding-right: 2px;"><img src="' + TMenu_path_to_files +'icons/arr.gif" width="4" height="7" border="0" style="vertical-align: middle;"></td></tr></table></td></tr></table>'].join(''),
	 
	['<table cellpadding=0 cellspacing=0 border=0 width=100%><tr><td><table cellpadding=0 cellspacing=0 border=0 width=100%><tr> <td class=mnu_leftIn2 style="padding-left: 0px; border-bottom: 0 none; border-bottom-color: inherit;"> ', 
	 text, '</td><td align="right" style="padding-right: 2px;"><img src="' + TMenu_path_to_files +'icons/arr.gif" width="4" height="7" border="0" style="vertical-align: middle;"></td></tr></table></td></tr></table>'].join('')
	];
}


function wrap_left (text) {
	return [
	['<table class=mnu_left cellpadding=0 cellspacing=0 border=0 width=100%><tr><td width=100%>',
	 '<table cellpadding=0 cellspacing=0 border=0 width=100%><tr><td class=mnu_leftIn0 style="border-bottom: 0px none">&nbsp; ', text, '</td></tr></table></td></tr></table>'].join(''),
	['<table cellpadding=0 cellspacing=0 border=0 width=100% ><tr><td><table cellpadding=0 cellspacing=0 border=0 width=100% ><tr><td class=mnu_leftIn1 style="border-bottom: 0px none">&nbsp; ', text, '</td></tr></table></td></tr></table>'].join(''),
	['<table cellpadding=0 cellspacing=0 border=0 width=100% ><tr><td><table cellpadding=0 cellspacing=0 border=0 width=100% ><tr><td class=mnu_leftIn2 style="border-bottom: 0px none">&nbsp; ', text, '</td></tr></table></td></tr></table>'].join('')
	];
}