﻿
/*

Milonic DHTML Menu - JavaScript Website Navigation System.
Version 5.744 - Built: Monday March 6 2006 - 15:50
Copyright 2006 (c) Milonic Solutions Limited. All Rights Reserved.
This is a commercial software product, please visit http://www.milonic.com/ for more information.
See http://www.milonic.com/license.php for Commercial License Agreement
All Copyright statements must always remain in place in all files at all times
*******  PLEASE NOTE: THIS IS NOT FREE SOFTWARE, IT MUST BE LICENSED FOR ALL USE  ******* 

License Details:
 Number: 201726
    URL: .
   Type: Professional
  Dated: Tuesday March 21 2006

*/
_mD = 2;
_d = document;
_dB = _d.body;
_n = navigator;
_L = location;
_nv = $tL(_n.appVersion);
_nu = $tL(_n.userAgent);
_ps = parseInt(_n.productSub);
_f = false;
_t = true;
_toL = _X = _Y = _n = null;
_W = window;
$$ = " ";
Z$ = "";
_wp = _W.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;
ns72 = (_ps >= 20040804) ? _t : _f;
ff15 = (_ps >= 20060000) ? _t : _f;
op = (_W.opera) ? _t : _f;
if (op || konq) {
	ie = 0;
}
op5 = (_nu.indexOf("opera 5") != -1) ? _t : _f;
op6 = (_nu.indexOf("opera 6") != -1 || _nu.indexOf("opera/6") != -1) ? _t : _f;
op7 = (_nu.indexOf("opera 7") != -1 || _nu.indexOf("opera/7") != -1) ? _t : _f;
_OpV = (op && _W.opera.version) ? _W.opera.version() : 0;
if (_OpV) {
	op7 = _t;
}
mac = (_nv.indexOf("mac") != -1) ? _t : _f;
if (ns6 || ns4 || op || sfri) {
	mac = _f;
}
ns60 = _f;
if (ns6 && !ns61) {
	ns60 = _t;
}
if (op7) {
	op = _f;
}
IEDtD = 0;
if (!op && ((_d.all || ns7) && _d.compatMode == "CSS1Compat") || (mac && _d.doctype && _d.doctype.name.indexOf(".dtd") != -1)) {
	IEDtD = 1;
}
_jv = "javascript:void(0)";
inEditMode = _rstC = inDragMode = _d.dne = lcl = $R = $mD = _mcnt = _sL = _sT = _ofMT = _oldbW = _bW = _oldbH = _bl = _el = _st = _en = _cKA = 0;
_startM = _c = 1;
_trueItemRef = focusedMenu = t_ = _itemRef = _mn = -1;
_zi = _aN = _bH = 999;
if (op) {
	ie55 = _f;
}
B$ = "absolute";
$O = "menu";
$5 = "hidden";
_d.write("<style>.milonic{width:1px;visibility:hidden;position:absolute}</style>");
function _StO(f, m) {
	return setTimeout(f, m);
}
tTipt = Z$;
_m = [];
_mi = [];
_sm = [];
_tsm = [];
_cip = [];
$S3 = "2E636F6D2F";
$S4 = "646D2E706870";
_MT = _StO(Z$, 0);
_oMT = _StO(Z$, 0);
_cMT = _StO(Z$, 0);
_mst = _StO(Z$, 0);
_Mtip = _StO(Z$, 0);
$u = "undefined ";
lNum = 201726;
lURL = ".";
lVer = "5.744";
_Lhr = _L.href;
$6 = "visible";
if (op5) {
	$5 = $tU($5);
	$6 = $tU($6);
}
function M_hideLayer() {
}
function _oTree() {
}
function mmMouseMove() {
}
function _cL() {
}
function _TtM() {
}
function _ocURL() {
}
function mmClick() {
}
function autoOT() {
}
function _iF0C() {
}
function showtip() {
}
function isEditMode() {
}
function hidetip() {
}
function mmVisFunction() {
}
function doMenuResize() {
}
function _p8(a, d) {
	var t = [];
	for (_a = 0; _a < a.length; _a++) {
		if (a[_a] != d) {
			t[t.length] = a[_a];
		}
	}
	return t;
}
function copyOf(w) {
	for (_cO in w) {
		this[_cO] = w[_cO];
	}
}
function $tL(v) {
	if (v) {
		return v.toLowerCase();
	}
}
function $tU(v) {
	if (v) {
		return v.toUpperCase();
	}
}
function $pU(v) {
	if (v) {
		return parseInt(v);
	}
}
function drawMenus() {
	_startM = 1;
	_oldbH = 0;
	_oldbW = 0;
	for (_y = _mcnt; _y < _m.length; _y++) {
		o$(_y, 1);
	}
}
_$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, visitedcolor: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, headerborder:74, pageborder:75, title:76, pagematch:77, rawcss:78, fileimage:79, clickcolor:80, clickbgcolor:81, clickimage:82, clicksubimage:83, imageurl:84, pagesubimage:85, dragable:86, clickclass:87, clickbgimage:88, imageborderwidth:89, overseparatorimage:90, clickseparatorimage:91, pageseparatorimage:92, menubgcolor:93, opendelay:94, tooltip:95, disabled:96, dividespan:97, tipdelay:98, tipfollow:99, tipmenu:100};
function mm_style() {
	for ($i in _$S) {
		this[$i] = _n;
	}
	this.built = 0;
}
_$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, mm_built:23, menuheight:24, ignorecollision:25, divides:26, zindex:27, opendelay:28, resizable:29, minwidth:30, maxwidth:31};
function menuname(name) {
	for ($i in _$M) {
		this[$i] = _n;
	}
	this.name = $tL(name);
	_c = 1;
	_mn++;
}
function f_(i) {
	_mi[_bl] = [];
	for ($i in _x[6]) {
		if (_x[6][$i]) {
			_mi[_bl][_$S[$i]] = _x[6][$i];
		}
	}
	_mi[_bl][0] = _mn;
	i = i.split(";");
	_sc = Z$;
	for (var a = 0; a < i.length; a++) {
		var p = i[a].indexOf("`");
		if (p != -1) {
			_sc = ";";
			_tI = i[a];
			if (p == i[a].lastIndexOf("`")) {
				for (var b = a; b < i.length; b++) {
					if (i[b + 1]) {
						_tI += ";" + i[b + 1];
						a++;
						if (i[b + 1].indexOf("`") != -1) {
							b = i.length;
						}
					}
				}
			}
			i[a] = _tI.replace(/`/g, Z$);
		}
		p = i[a].indexOf("=");
		if (p == -1) {
			if (i[a]) {
				_si = _si + ";" + i[a] + _sc;
			}
		} else {
			_si = i[a].slice(p + 1);
			_w = i[a].slice(0, p);
			if (_w == "showmenu") {
				_si = $tL(_si);
			}
		}
		if (i[a] && _$S[_w]) {
			_mi[_bl][_$S[_w]] = _si;
		}
	}
	_m[_mn][0][_c - 2] = _bl;
	_c++;
	_bl++;
}
_c = 0;
function ami(t) {
	_t = this;
	if (_c == 1) {
		_c++;
		_m[_mn] = [];
		_x = _m[_mn];
		for ($i in _t) {
			_x[_$M[$i]] = _t[$i];
		}
		_x[21] = -1;
		_x[0] = [];
		if (!_x[12]) {
			_x[12] = 0;
		}
		var s = _m[_mn][6];
		var m = _m[_mn];
		if (m[15] == _n) {
			m[15] = s.overfilter;
		}
		if (m[16] == _n) {
			m[16] = s.outfilter;
		}
		s[65] = (s.borderwidth) ? $pU(s.borderwidth) : 0;
		s[64] = s.borderstyle;
		s[63] = s.bordercolor;
		if (_W.ignoreCollisions) {
			m[25] = 1;
		}
		if (!s.built) {
			_WzI = _zi;
			if (_W.menuZIndex) {
				_WzI = _W.menuZIndex;
				_zi = _WzI;
			}
			lcl++;
			var v = s.visitedcolor;
			if (v) {
				_oC = s.offcolor;
				if (!_oC) {
					_oC = "#000000";
				}
				if (!v) {
					v = "#ff0000";
				}
				_d.write("<style>.g_" + lcl + ":link{color:" + _oC + "}.g_" + lcl + ":visited{color:" + v + "}</style>");
				s.g_ = "g_" + lcl;
			}
			s.built = 1;
		}
	}
	t = t.replace("margin-left:6px;","margin-left:6px; font-size:12px;");
	f_(t);
}
menuname.prototype.aI = ami;

