﻿//MooTools, <http://mootools.net>, My Object Oriented (JavaScript) Tools. Copyright (c) 2006-2009 Valerio Proietti, <http://mad4milk.net>, MIT Style License.

var MooTools = { version: "1.2.3", build: "4980aa0fb74d2f6eb80bcd9f5b8e1fd6fbb8f607" }; var Native = function (k)
{
	k = k || {}; var a = k.name; var i = k.legacy; var b = k.protect;
	var c = k.implement; var h = k.generics; var f = k.initialize; var g = k.afterImplement || function () { }; var d = f || i; h = h !== false; d.constructor = Native; d.$family = { name: "native" };
	if (i && f) { d.prototype = i.prototype; } d.prototype.constructor = d; if (a) { var e = a.toLowerCase(); d.prototype.$family = { name: e }; Native.typize(d, e); } var j = function (n, l, o, m)
	{
		if (!b || m || !n.prototype[l])
		{
			n.prototype[l] = o;
		} if (h) { Native.genericize(n, l, b); } g.call(n, l, o); return n;
	}; d.alias = function (n, l, p)
	{
		if (typeof n == "string")
		{
			var o = this.prototype[n]; if ((n = o))
			{
				return j(this, l, n, p);
			} 
		} for (var m in n) { this.alias(m, n[m], l); } return this;
	}; d.implement = function (m, l, o)
	{
		if (typeof m == "string") { return j(this, m, l, o); } for (var n in m)
		{
			j(this, n, m[n], l);
		} return this;
	}; if (c) { d.implement(c); } return d;
}; Native.genericize = function (b, c, a)
{
	if ((!a || !b[c]) && typeof b.prototype[c] == "function")
	{
		b[c] = function ()
		{
			var d = Array.prototype.slice.call(arguments);
			return b.prototype[c].apply(d.shift(), d);
		};
	} 
}; Native.implement = function (d, c) { for (var b = 0, a = d.length; b < a; b++) { d[b].implement(c); } }; Native.typize = function (a, b)
{
	if (!a.type)
	{
		a.type = function (c)
		{
			return ($type(c) === b);
		};
	} 
}; (function ()
{
	var a = { Array: Array, Date: Date, Function: Function, Number: Number, RegExp: RegExp, String: String }; for (var h in a)
	{
		new Native({ name: h, initialize: a[h], protect: true });
	} var d = { "boolean": Boolean, "native": Native, object: Object }; for (var c in d) { Native.typize(d[c], c); } var f = { Array: ["concat", "indexOf", "join", "lastIndexOf", "pop", "push", "reverse", "shift", "slice", "sort", "splice", "toString", "unshift", "valueOf"], String: ["charAt", "charCodeAt", "concat", "indexOf", "lastIndexOf", "match", "replace", "search", "slice", "split", "substr", "substring", "toLowerCase", "toUpperCase", "valueOf"] };
	for (var e in f) { for (var b = f[e].length; b--; ) { Native.genericize(a[e], f[e][b], true); } } 
})(); var Hash = new Native({ name: "Hash", initialize: function (a)
{
	if ($type(a) == "hash")
	{
		a = $unlink(a.getClean());
	} for (var b in a) { this[b] = a[b]; } return this;
} 
}); Hash.implement({ forEach: function (b, c)
{
	for (var a in this)
	{
		if (this.hasOwnProperty(a))
		{
			b.call(c, this[a], a, this);
		} 
	} 
}, getClean: function () { var b = {}; for (var a in this) { if (this.hasOwnProperty(a)) { b[a] = this[a]; } } return b; }, getLength: function ()
{
	var b = 0; for (var a in this)
	{
		if (this.hasOwnProperty(a))
		{
			b++;
		} 
	} return b;
} 
}); Hash.alias("forEach", "each"); Array.implement({ forEach: function (c, d) { for (var b = 0, a = this.length; b < a; b++) { c.call(d, this[b], b, this); } } }); Array.alias("forEach", "each");
function $A(b) { if (b.item) { var a = b.length, c = new Array(a); while (a--) { c[a] = b[a]; } return c; } return Array.prototype.slice.call(b); } function $arguments(a)
{
	return function ()
	{
		return arguments[a];
	};
} function $chk(a) { return !!(a || a === 0); } function $clear(a) { clearTimeout(a); clearInterval(a); return null; } function $defined(a) { return (a != undefined); } function $each(c, b, d)
{
	var a = $type(c);
	((a == "arguments" || a == "collection" || a == "array") ? Array : Hash).each(c, b, d);
} function $empty() { } function $extend(c, a)
{
	for (var b in (a || {})) { c[b] = a[b]; } return c;
} function $H(a) { return new Hash(a); } function $lambda(a) { return ($type(a) == "function") ? a : function () { return a; }; } function $merge()
{
	var a = Array.slice(arguments);
	a.unshift({}); return $mixin.apply(null, a);
} function $mixin(e)
{
	for (var d = 1, a = arguments.length; d < a; d++)
	{
		var b = arguments[d]; if ($type(b) != "object")
		{
			continue;
		} for (var c in b) { var g = b[c], f = e[c]; e[c] = (f && $type(g) == "object" && $type(f) == "object") ? $mixin(f, g) : $unlink(g); } 
	} return e;
} function $pick()
{
	for (var b = 0, a = arguments.length;
b < a; b++) { if (arguments[b] != undefined) { return arguments[b]; } } return null;
} function $random(b, a) { return Math.floor(Math.random() * (a - b + 1) + b); } function $splat(b)
{
	var a = $type(b);
	return (a) ? ((a != "array" && a != "arguments") ? [b] : b) : [];
} var $time = Date.now || function () { return +new Date; }; function $try()
{
	for (var b = 0, a = arguments.length; b < a;
b++) { try { return arguments[b](); } catch (c) { } } return null;
} function $type(a)
{
	if (a == undefined) { return false; } if (a.$family)
	{
		return (a.$family.name == "number" && !isFinite(a)) ? false : a.$family.name;
	} if (a.nodeName) { switch (a.nodeType) { case 1: return "element"; case 3: return (/\S/).test(a.nodeValue) ? "textnode" : "whitespace"; } } else
	{
		if (typeof a.length == "number")
		{
			if (a.callee)
			{
				return "arguments";
			} else { if (a.item) { return "collection"; } } 
		} 
	} return typeof a;
} function $unlink(c)
{
	var b; switch ($type(c))
	{
		case "object": b = {}; for (var e in c)
			{
				b[e] = $unlink(c[e]);
			} break; case "hash": b = new Hash(c); break; case "array": b = []; for (var d = 0, a = c.length; d < a; d++) { b[d] = $unlink(c[d]); } break; default: return c;
	} return b;
} var Browser = $merge({ Engine: { name: "unknown", version: 0 }, Platform: { name: (window.orientation != undefined) ? "ipod" : (navigator.platform.match(/mac|win|linux/i) || ["other"])[0].toLowerCase() }, Features: { xpath: !!(document.evaluate), air: !!(window.runtime), query: !!(document.querySelector) }, Plugins: {}, Engines: { presto: function ()
{
	return (!window.opera) ? false : ((arguments.callee.caller) ? 960 : ((document.getElementsByClassName) ? 950 : 925));
}, trident: function () { return (!window.ActiveXObject) ? false : ((window.XMLHttpRequest) ? 5 : 4); }, webkit: function ()
{
	return (navigator.taintEnabled) ? false : ((Browser.Features.xpath) ? ((Browser.Features.query) ? 525 : 420) : 419);
}, gecko: function () { return (document.getBoxObjectFor == undefined) ? false : ((document.getElementsByClassName) ? 19 : 18); } 
}
}, Browser || {}); Browser.Platform[Browser.Platform.name] = true;
Browser.detect = function ()
{
	for (var b in this.Engines)
	{
		var a = this.Engines[b](); if (a)
		{
			this.Engine = { name: b, version: a }; this.Engine[b] = this.Engine[b + a] = true;
			break;
		} 
	} return { name: b, version: a };
}; Browser.detect(); Browser.Request = function ()
{
	return $try(function () { return new XMLHttpRequest(); }, function ()
	{
		return new ActiveXObject("MSXML2.XMLHTTP");
	});
}; Browser.Features.xhr = !!(Browser.Request()); Browser.Plugins.Flash = (function ()
{
	var a = ($try(function ()
	{
		return navigator.plugins["Shockwave Flash"].description;
	}, function () { return new ActiveXObject("ShockwaveFlash.ShockwaveFlash").GetVariable("$version"); }) || "0 r0").match(/\d+/g); return { version: parseInt(a[0] || 0 + "." + a[1], 10) || 0, build: parseInt(a[2], 10) || 0 };
})(); function $exec(b)
{
	if (!b) { return b; } if (window.execScript) { window.execScript(b); } else
	{
		var a = document.createElement("script"); a.setAttribute("type", "text/javascript");
		a[(Browser.Engine.webkit && Browser.Engine.version < 420) ? "innerText" : "text"] = b; document.head.appendChild(a); document.head.removeChild(a);
	} return b;
} Native.UID = 1;
var $uid = (Browser.Engine.trident) ? function (a) { return (a.uid || (a.uid = [Native.UID++]))[0]; } : function (a) { return a.uid || (a.uid = Native.UID++); }; var Window = new Native({ name: "Window", legacy: (Browser.Engine.trident) ? null : window.Window, initialize: function (a)
{
	$uid(a);
	if (!a.Element)
	{
		a.Element = $empty; if (Browser.Engine.webkit) { a.document.createElement("iframe"); } a.Element.prototype = (Browser.Engine.webkit) ? window["[[DOMElement.prototype]]"] : {};
	} a.document.window = a; return $extend(a, Window.Prototype);
}, afterImplement: function (b, a) { window[b] = Window.Prototype[b] = a; } 
}); Window.Prototype = { $family: { name: "window"} };
new Window(window); var Document = new Native({ name: "Document", legacy: (Browser.Engine.trident) ? null : window.Document, initialize: function (a)
{
	$uid(a); a.head = a.getElementsByTagName("head")[0];
	a.html = a.getElementsByTagName("html")[0]; if (Browser.Engine.trident && Browser.Engine.version <= 4)
	{
		$try(function ()
		{
			a.execCommand("BackgroundImageCache", false, true);
		});
	} if (Browser.Engine.trident)
	{
		a.window.attachEvent("onunload", function ()
		{
			a.window.detachEvent("onunload", arguments.callee); a.head = a.html = a.window = null;
		});
	} return $extend(a, Document.Prototype);
}, afterImplement: function (b, a) { document[b] = Document.Prototype[b] = a; } 
}); Document.Prototype = { $family: { name: "document"} };
new Document(document); Array.implement({ every: function (c, d)
{
	for (var b = 0, a = this.length; b < a; b++) { if (!c.call(d, this[b], b, this)) { return false; } } return true;
}, filter: function (d, e) { var c = []; for (var b = 0, a = this.length; b < a; b++) { if (d.call(e, this[b], b, this)) { c.push(this[b]); } } return c; }, clean: function ()
{
	return this.filter($defined);
}, indexOf: function (c, d) { var a = this.length; for (var b = (d < 0) ? Math.max(0, a + d) : d || 0; b < a; b++) { if (this[b] === c) { return b; } } return -1; }, map: function (d, e)
{
	var c = [];
	for (var b = 0, a = this.length; b < a; b++) { c[b] = d.call(e, this[b], b, this); } return c;
}, some: function (c, d)
{
	for (var b = 0, a = this.length; b < a; b++)
	{
		if (c.call(d, this[b], b, this))
		{
			return true;
		} 
	} return false;
}, associate: function (c) { var d = {}, b = Math.min(this.length, c.length); for (var a = 0; a < b; a++) { d[c[a]] = this[a]; } return d; }, link: function (c)
{
	var a = {};
	for (var e = 0, b = this.length; e < b; e++) { for (var d in c) { if (c[d](this[e])) { a[d] = this[e]; delete c[d]; break; } } } return a;
}, contains: function (a, b)
{
	return this.indexOf(a, b) != -1;
}, extend: function (c) { for (var b = 0, a = c.length; b < a; b++) { this.push(c[b]); } return this; }, getLast: function () { return (this.length) ? this[this.length - 1] : null; }, getRandom: function ()
{
	return (this.length) ? this[$random(0, this.length - 1)] : null;
}, include: function (a) { if (!this.contains(a)) { this.push(a); } return this; }, combine: function (c)
{
	for (var b = 0, a = c.length; b < a; b++) { this.include(c[b]); } return this;
}, erase: function (b) { for (var a = this.length; a--; a) { if (this[a] === b) { this.splice(a, 1); } } return this; }, empty: function () { this.length = 0; return this; }, flatten: function ()
{
	var d = [];
	for (var b = 0, a = this.length; b < a; b++)
	{
		var c = $type(this[b]); if (!c) { continue; } d = d.concat((c == "array" || c == "collection" || c == "arguments") ? Array.flatten(this[b]) : this[b]);
	} return d;
}, hexToRgb: function (b)
{
	if (this.length != 3) { return null; } var a = this.map(function (c) { if (c.length == 1) { c += c; } return c.toInt(16); }); return (b) ? a : "rgb(" + a + ")";
}, rgbToHex: function (d)
{
	if (this.length < 3) { return null; } if (this.length == 4 && this[3] == 0 && !d) { return "transparent"; } var b = []; for (var a = 0; a < 3; a++)
	{
		var c = (this[a] - 0).toString(16);
		b.push((c.length == 1) ? "0" + c : c);
	} return (d) ? b : "#" + b.join("");
} 
}); Function.implement({ extend: function (a) { for (var b in a) { this[b] = a[b]; } return this; }, create: function (b)
{
	var a = this;
	b = b || {}; return function (d)
	{
		var c = b.arguments; c = (c != undefined) ? $splat(c) : Array.slice(arguments, (b.event) ? 1 : 0); if (b.event)
		{
			c = [d || window.event].extend(c);
		} var e = function () { return a.apply(b.bind || null, c); }; if (b.delay) { return setTimeout(e, b.delay); } if (b.periodical) { return setInterval(e, b.periodical); } if (b.attempt)
		{
			return $try(e);
		} return e();
	};
}, run: function (a, b) { return this.apply(b, $splat(a)); }, pass: function (a, b) { return this.create({ bind: b, arguments: a }); }, bind: function (b, a)
{
	return this.create({ bind: b, arguments: a });
}, bindWithEvent: function (b, a) { return this.create({ bind: b, arguments: a, event: true }); }, attempt: function (a, b)
{
	return this.create({ bind: b, arguments: a, attempt: true })();
}, delay: function (b, c, a) { return this.create({ bind: c, arguments: a, delay: b })(); }, periodical: function (c, b, a)
{
	return this.create({ bind: b, arguments: a, periodical: c })();
} 
}); Number.implement({ limit: function (b, a) { return Math.min(a, Math.max(b, this)); }, round: function (a) { a = Math.pow(10, a || 0); return Math.round(this * a) / a; }, times: function (b, c)
{
	for (var a = 0;
a < this; a++) { b.call(c, a, this); } 
}, toFloat: function () { return parseFloat(this); }, toInt: function (a) { return parseInt(this, a || 10); } 
}); Number.alias("times", "each");
(function (b)
{
	var a = {}; b.each(function (c) { if (!Number[c]) { a[c] = function () { return Math[c].apply(null, [this].concat($A(arguments))); }; } }); Number.implement(a);
})(["abs", "acos", "asin", "atan", "atan2", "ceil", "cos", "exp", "floor", "log", "max", "min", "pow", "sin", "sqrt", "tan"]); String.implement({ test: function (a, b)
{
	return ((typeof a == "string") ? new RegExp(a, b) : a).test(this);
}, contains: function (a, b) { return (b) ? (b + this + b).indexOf(b + a + b) > -1 : this.indexOf(a) > -1; }, trim: function () { return this.replace(/^\s+|\s+$/g, ""); }, clean: function ()
{
	return this.replace(/\s+/g, " ").trim();
}, camelCase: function () { return this.replace(/-\D/g, function (a) { return a.charAt(1).toUpperCase(); }); }, hyphenate: function ()
{
	return this.replace(/[A-Z]/g, function (a)
	{
		return ("-" + a.charAt(0).toLowerCase());
	});
}, capitalize: function () { return this.replace(/\b[a-z]/g, function (a) { return a.toUpperCase(); }); }, escapeRegExp: function ()
{
	return this.replace(/([-.*+?^${}()|[\]\/\\])/g, "\\$1");
}, toInt: function (a) { return parseInt(this, a || 10); }, toFloat: function () { return parseFloat(this); }, hexToRgb: function (b)
{
	var a = this.match(/^#?(\w{1,2})(\w{1,2})(\w{1,2})$/);
	return (a) ? a.slice(1).hexToRgb(b) : null;
}, rgbToHex: function (b) { var a = this.match(/\d{1,3}/g); return (a) ? a.rgbToHex(b) : null; }, stripScripts: function (b)
{
	var a = "";
	var c = this.replace(/<script[^>]*>([\s\S]*?)<\/script>/gi, function () { a += arguments[1] + "\n"; return ""; }); if (b === true) { $exec(a); } else
	{
		if ($type(b) == "function")
		{
			b(a, c);
		} 
	} return c;
}, substitute: function (a, b)
{
	return this.replace(b || (/\\?\{([^{}]+)\}/g), function (d, c)
	{
		if (d.charAt(0) == "\\") { return d.slice(1); } return (a[c] != undefined) ? a[c] : "";
	});
} 
}); Hash.implement({ has: Object.prototype.hasOwnProperty, keyOf: function (b)
{
	for (var a in this) { if (this.hasOwnProperty(a) && this[a] === b) { return a; } } return null;
}, hasValue: function (a) { return (Hash.keyOf(this, a) !== null); }, extend: function (a) { Hash.each(a || {}, function (c, b) { Hash.set(this, b, c); }, this); return this; }, combine: function (a)
{
	Hash.each(a || {}, function (c, b)
	{
		Hash.include(this, b, c);
	}, this); return this;
}, erase: function (a) { if (this.hasOwnProperty(a)) { delete this[a]; } return this; }, get: function (a)
{
	return (this.hasOwnProperty(a)) ? this[a] : null;
}, set: function (a, b) { if (!this[a] || this.hasOwnProperty(a)) { this[a] = b; } return this; }, empty: function ()
{
	Hash.each(this, function (b, a) { delete this[a]; }, this);
	return this;
}, include: function (a, b) { if (this[a] == undefined) { this[a] = b; } return this; }, map: function (b, c)
{
	var a = new Hash; Hash.each(this, function (e, d)
	{
		a.set(d, b.call(c, e, d, this));
	}, this); return a;
}, filter: function (b, c) { var a = new Hash; Hash.each(this, function (e, d) { if (b.call(c, e, d, this)) { a.set(d, e); } }, this); return a; }, every: function (b, c)
{
	for (var a in this)
	{
		if (this.hasOwnProperty(a) && !b.call(c, this[a], a))
		{
			return false;
		} 
	} return true;
}, some: function (b, c) { for (var a in this) { if (this.hasOwnProperty(a) && b.call(c, this[a], a)) { return true; } } return false; }, getKeys: function ()
{
	var a = [];
	Hash.each(this, function (c, b) { a.push(b); }); return a;
}, getValues: function () { var a = []; Hash.each(this, function (b) { a.push(b); }); return a; }, toQueryString: function (a)
{
	var b = [];
	Hash.each(this, function (f, e)
	{
		if (a) { e = a + "[" + e + "]"; } var d; switch ($type(f))
		{
			case "object": d = Hash.toQueryString(f, e); break; case "array": var c = {}; f.each(function (h, g)
			{
				c[g] = h;
			}); d = Hash.toQueryString(c, e); break; default: d = e + "=" + encodeURIComponent(f);
		} if (f != undefined) { b.push(d); } 
	}); return b.join("&");
} 
}); Hash.alias({ keyOf: "indexOf", hasValue: "contains" });
var Event = new Native({ name: "Event", initialize: function (a, f)
{
	f = f || window; var k = f.document; a = a || f.event; if (a.$extended) { return a; } this.$extended = true; var j = a.type;
	var g = a.target || a.srcElement; while (g && g.nodeType == 3) { g = g.parentNode; } if (j.test(/key/))
	{
		var b = a.which || a.keyCode; var m = Event.Keys.keyOf(b); if (j == "keydown")
		{
			var d = b - 111;
			if (d > 0 && d < 13) { m = "f" + d; } 
		} m = m || String.fromCharCode(b).toLowerCase();
	} else
	{
		if (j.match(/(click|mouse|menu)/i))
		{
			k = (!k.compatMode || k.compatMode == "CSS1Compat") ? k.html : k.body;
			var i = { x: a.pageX || a.clientX + k.scrollLeft, y: a.pageY || a.clientY + k.scrollTop }; var c = { x: (a.pageX) ? a.pageX - f.pageXOffset : a.clientX, y: (a.pageY) ? a.pageY - f.pageYOffset : a.clientY };
			if (j.match(/DOMMouseScroll|mousewheel/)) { var h = (a.wheelDelta) ? a.wheelDelta / 120 : -(a.detail || 0) / 3; } var e = (a.which == 3) || (a.button == 2); var l = null; if (j.match(/over|out/))
			{
				switch (j)
				{
					case "mouseover": l = a.relatedTarget || a.fromElement;
						break; case "mouseout": l = a.relatedTarget || a.toElement;
				} if (!(function () { while (l && l.nodeType == 3) { l = l.parentNode; } return true; }).create({ attempt: Browser.Engine.gecko })())
				{
					l = false;
				} 
			} 
		} 
	} return $extend(this, { event: a, type: j, page: i, client: c, rightClick: e, wheel: h, relatedTarget: l, target: g, code: b, key: m, shift: a.shiftKey, control: a.ctrlKey, alt: a.altKey, meta: a.metaKey });
} 
}); Event.Keys = new Hash({ enter: 13, up: 38, down: 40, left: 37, right: 39, esc: 27, space: 32, backspace: 8, tab: 9, "delete": 46 }); Event.implement({ stop: function ()
{
	return this.stopPropagation().preventDefault();
}, stopPropagation: function () { if (this.event.stopPropagation) { this.event.stopPropagation(); } else { this.event.cancelBubble = true; } return this; }, preventDefault: function ()
{
	if (this.event.preventDefault)
	{
		this.event.preventDefault();
	} else { this.event.returnValue = false; } return this;
} 
}); function Class(b)
{
	if (b instanceof Function) { b = { initialize: b }; } var a = function ()
	{
		Object.reset(this); if (a._prototyping)
		{
			return this;
		} this._current = $empty; var c = (this.initialize) ? this.initialize.apply(this, arguments) : this; delete this._current; delete this.caller; return c;
	} .extend(this);
	a.implement(b); a.constructor = Class; a.prototype.constructor = a; return a;
} Function.prototype.protect = function () { this._protected = true; return this; }; Object.reset = function (a, c)
{
	if (c == null)
	{
		for (var e in a)
		{
			Object.reset(a, e);
		} return a;
	} delete a[c]; switch ($type(a[c]))
	{
		case "object": var d = function () { }; d.prototype = a[c]; var b = new d; a[c] = Object.reset(b); break; case "array": a[c] = $unlink(a[c]);
			break;
	} return a;
}; new Native({ name: "Class", initialize: Class }).extend({ instantiate: function (b)
{
	b._prototyping = true; var a = new b; delete b._prototyping; return a;
}, wrap: function (a, b, c)
{
	if (c._origin) { c = c._origin; } return function ()
	{
		if (c._protected && this._current == null)
		{
			throw new Error('The method "' + b + '" cannot be called.');
		} var e = this.caller, f = this._current; this.caller = f; this._current = arguments.callee; var d = c.apply(this, arguments); this._current = f; this.caller = e; return d;
	} .extend({ _owner: a, _origin: c, _name: b });
} 
}); Class.implement({ implement: function (a, d)
{
	if ($type(a) == "object") { for (var e in a) { this.implement(e, a[e]); } return this; } var f = Class.Mutators[a]; if (f)
	{
		d = f.call(this, d);
		if (d == null) { return this; } 
	} var c = this.prototype; switch ($type(d))
	{
		case "function": if (d._hidden) { return this; } c[a] = Class.wrap(this, a, d); break; case "object": var b = c[a];
			if ($type(b) == "object") { $mixin(b, d); } else { c[a] = $unlink(d); } break; case "array": c[a] = $unlink(d); break; default: c[a] = d;
	} return this;
} 
}); Class.Mutators = { Extends: function (a)
{
	this.parent = a;
	this.prototype = Class.instantiate(a); this.implement("parent", function ()
	{
		var b = this.caller._name, c = this.caller._owner.parent.prototype[b]; if (!c)
		{
			throw new Error('The method "' + b + '" has no parent.');
		} return c.apply(this, arguments);
	} .protect());
}, Implements: function (a)
{
	$splat(a).each(function (b)
	{
		if (b instanceof Function) { b = Class.instantiate(b); } this.implement(b);
	}, this);
} 
}; var Chain = new Class({ $chain: [], chain: function () { this.$chain.extend(Array.flatten(arguments)); return this; }, callChain: function ()
{
	return (this.$chain.length) ? this.$chain.shift().apply(this, arguments) : false;
}, clearChain: function () { this.$chain.empty(); return this; } 
}); var Events = new Class({ $events: {}, addEvent: function (c, b, a)
{
	c = Events.removeOn(c); if (b != $empty)
	{
		this.$events[c] = this.$events[c] || [];
		this.$events[c].include(b); if (a) { b.internal = true; } 
	} return this;
}, addEvents: function (a) { for (var b in a) { this.addEvent(b, a[b]); } return this; }, fireEvent: function (c, b, a)
{
	c = Events.removeOn(c);
	if (!this.$events || !this.$events[c]) { return this; } this.$events[c].each(function (d) { d.create({ bind: this, delay: a, "arguments": b })(); }, this); return this;
}, removeEvent: function (b, a)
{
	b = Events.removeOn(b);
	if (!this.$events[b]) { return this; } if (!a.internal) { this.$events[b].erase(a); } return this;
}, removeEvents: function (c)
{
	var d; if ($type(c) == "object")
	{
		for (d in c)
		{
			this.removeEvent(d, c[d]);
		} return this;
	} if (c) { c = Events.removeOn(c); } for (d in this.$events)
	{
		if (c && c != d) { continue; } var b = this.$events[d]; for (var a = b.length; a--; a)
		{
			this.removeEvent(d, b[a]);
		} 
	} return this;
} 
}); Events.removeOn = function (a) { return a.replace(/^on([A-Z])/, function (b, c) { return c.toLowerCase(); }); }; var Options = new Class({ setOptions: function ()
{
	this.options = $merge.run([this.options].extend(arguments));
	if (!this.addEvent) { return this; } for (var a in this.options)
	{
		if ($type(this.options[a]) != "function" || !(/^on[A-Z]/).test(a)) { continue; } this.addEvent(a, this.options[a]);
		delete this.options[a];
	} return this;
} 
}); var Element = new Native({ name: "Element", legacy: window.Element, initialize: function (a, b)
{
	var c = Element.Constructors.get(a);
	if (c) { return c(b); } if (typeof a == "string") { return document.newElement(a, b); } return document.id(a).set(b);
}, afterImplement: function (a, b)
{
	Element.Prototype[a] = b;
	if (Array[a]) { return; } Elements.implement(a, function ()
	{
		var c = [], g = true; for (var e = 0, d = this.length; e < d; e++)
		{
			var f = this[e][a].apply(this[e], arguments); c.push(f);
			if (g) { g = ($type(f) == "element"); } 
		} return (g) ? new Elements(c) : c;
	});
} 
}); Element.Prototype = { $family: { name: "element"} }; Element.Constructors = new Hash; var IFrame = new Native({ name: "IFrame", generics: false, initialize: function ()
{
	var f = Array.link(arguments, { properties: Object.type, iframe: $defined });
	var d = f.properties || {}; var c = document.id(f.iframe); var e = d.onload || $empty; delete d.onload; d.id = d.name = $pick(d.id, d.name, c ? (c.id || c.name) : "IFrame_" + $time());
	c = new Element(c || "iframe", d); var b = function ()
	{
		var g = $try(function () { return c.contentWindow.location.host; }); if (!g || g == window.location.host)
		{
			var h = new Window(c.contentWindow);
			new Document(c.contentWindow.document); $extend(h.Element.prototype, Element.Prototype);
		} e.call(c.contentWindow, c.contentWindow.document);
	}; var a = $try(function ()
	{
		return c.contentWindow;
	}); ((a && a.document.body) || window.frames[d.id]) ? b() : c.addListener("load", b); return c;
} 
}); var Elements = new Native({ initialize: function (f, b)
{
	b = $extend({ ddup: true, cash: true }, b);
	f = f || []; if (b.ddup || b.cash)
	{
		var g = {}, e = []; for (var c = 0, a = f.length; c < a; c++)
		{
			var d = document.id(f[c], !b.cash); if (b.ddup)
			{
				if (g[d.uid]) { continue; } g[d.uid] = true;
			} e.push(d);
		} f = e;
	} return (b.cash) ? $extend(f, this) : f;
} 
}); Elements.implement({ filter: function (a, b)
{
	if (!a) { return this; } return new Elements(Array.filter(this, (typeof a == "string") ? function (c)
	{
		return c.match(a);
	} : a, b));
} 
}); Document.implement({ newElement: function (a, b)
{
	if (Browser.Engine.trident && b)
	{
		["name", "type", "checked"].each(function (c)
		{
			if (!b[c]) { return; } a += " " + c + '="' + b[c] + '"';
			if (c != "checked") { delete b[c]; } 
		}); a = "<" + a + ">";
	} return document.id(this.createElement(a)).set(b);
}, newTextNode: function (a)
{
	return this.createTextNode(a);
}, getDocument: function () { return this; }, getWindow: function () { return this.window; }, id: (function ()
{
	var a = { string: function (d, c, b)
	{
		d = b.getElementById(d); return (d) ? a.element(d, c) : null;
	}, element: function (b, e) { $uid(b); if (!e && !b.$family && !(/^object|embed$/i).test(b.tagName)) { var c = Element.Prototype; for (var d in c) { b[d] = c[d]; } } return b; }, object: function (c, d, b)
	{
		if (c.toElement)
		{
			return a.element(c.toElement(b), d);
		} return null;
	} 
	}; a.textnode = a.whitespace = a.window = a.document = $arguments(0); return function (c, e, d)
	{
		if (c && c.$family && c.uid) { return c; } var b = $type(c); return (a[b]) ? a[b](c, e, d || document) : null;
	};
})()
}); if (window.$ == null) { Window.implement({ $: function (a, b) { return document.id(a, b, this.document); } }); } Window.implement({ $$: function (a)
{
	if (arguments.length == 1 && typeof a == "string")
	{
		return this.document.getElements(a);
	} var f = []; var c = Array.flatten(arguments); for (var d = 0, b = c.length; d < b; d++)
	{
		var e = c[d]; switch ($type(e))
		{
			case "element": f.push(e); break; case "string": f.extend(this.document.getElements(e, true));
		} 
	} return new Elements(f);
}, getDocument: function () { return this.document; }, getWindow: function () { return this; } 
}); Native.implement([Element, Document], { getElement: function (a, b)
{
	return document.id(this.getElements(a, true)[0] || null, b);
}, getElements: function (a, d)
{
	a = a.split(","); var c = []; var b = (a.length > 1); a.each(function (e)
	{
		var f = this.getElementsByTagName(e.trim()); (b) ? c.extend(f) : c = f;
	}, this); return new Elements(c, { ddup: b, cash: !d });
} 
}); (function ()
{
	var h = {}, f = {}; var i = { input: "checked", option: "selected", textarea: (Browser.Engine.webkit && Browser.Engine.version < 420) ? "innerHTML" : "value" };
	var c = function (l) { return (f[l] || (f[l] = {})); }; var g = function (n, l)
	{
		if (!n) { return; } var m = n.uid; if (Browser.Engine.trident)
		{
			if (n.clearAttributes)
			{
				var q = l && n.cloneNode(false);
				n.clearAttributes(); if (q) { n.mergeAttributes(q); } 
			} else { if (n.removeEvents) { n.removeEvents(); } } if ((/object/i).test(n.tagName))
			{
				for (var o in n)
				{
					if (typeof n[o] == "function")
					{
						n[o] = $empty;
					} 
				} Element.dispose(n);
			} 
		} if (!m) { return; } h[m] = f[m] = null;
	}; var d = function ()
	{
		Hash.each(h, g); if (Browser.Engine.trident)
		{
			$A(document.getElementsByTagName("object")).each(g);
		} if (window.CollectGarbage) { CollectGarbage(); } h = f = null;
	}; var j = function (n, l, s, m, p, r)
	{
		var o = n[s || l]; var q = []; while (o)
		{
			if (o.nodeType == 1 && (!m || Element.match(o, m)))
			{
				if (!p)
				{
					return document.id(o, r);
				} q.push(o);
			} o = o[l];
		} return (p) ? new Elements(q, { ddup: false, cash: !r }) : null;
	}; var e = { html: "innerHTML", "class": "className", "for": "htmlFor", defaultValue: "defaultValue", text: (Browser.Engine.trident || (Browser.Engine.webkit && Browser.Engine.version < 420)) ? "innerText" : "textContent" };
	var b = ["compact", "nowrap", "ismap", "declare", "noshade", "checked", "disabled", "readonly", "multiple", "selected", "noresize", "defer"]; var k = ["value", "type", "defaultValue", "accessKey", "cellPadding", "cellSpacing", "colSpan", "frameBorder", "maxLength", "readOnly", "rowSpan", "tabIndex", "useMap"];
	b = b.associate(b); Hash.extend(e, b); Hash.extend(e, k.associate(k.map(String.toLowerCase))); var a = { before: function (m, l)
	{
		if (l.parentNode)
		{
			l.parentNode.insertBefore(m, l);
		} 
	}, after: function (m, l) { if (!l.parentNode) { return; } var n = l.nextSibling; (n) ? l.parentNode.insertBefore(m, n) : l.parentNode.appendChild(m); }, bottom: function (m, l)
	{
		l.appendChild(m);
	}, top: function (m, l) { var n = l.firstChild; (n) ? l.insertBefore(m, n) : l.appendChild(m); } 
	}; a.inside = a.bottom; Hash.each(a, function (l, m)
	{
		m = m.capitalize(); Element.implement("inject" + m, function (n)
		{
			l(this, document.id(n, true));
			return this;
		}); Element.implement("grab" + m, function (n) { l(document.id(n, true), this); return this; });
	}); Element.implement({ set: function (o, m)
	{
		switch ($type(o))
		{
			case "object": for (var n in o)
				{
					this.set(n, o[n]);
				} break; case "string": var l = Element.Properties.get(o); (l && l.set) ? l.set.apply(this, Array.slice(arguments, 1)) : this.setProperty(o, m);
		} return this;
	}, get: function (m)
	{
		var l = Element.Properties.get(m);
		return (l && l.get) ? l.get.apply(this, Array.slice(arguments, 1)) : this.getProperty(m);
	}, erase: function (m)
	{
		var l = Element.Properties.get(m); (l && l.erase) ? l.erase.apply(this) : this.removeProperty(m);
		return this;
	}, setProperty: function (m, n)
	{
		var l = e[m]; if (n == undefined) { return this.removeProperty(m); } if (l && b[m]) { n = !!n; } (l) ? this[l] = n : this.setAttribute(m, "" + n);
		return this;
	}, setProperties: function (l) { for (var m in l) { this.setProperty(m, l[m]); } return this; }, getProperty: function (m)
	{
		var l = e[m]; var n = (l) ? this[l] : this.getAttribute(m, 2);
		return (b[m]) ? !!n : (l) ? n : n || null;
	}, getProperties: function () { var l = $A(arguments); return l.map(this.getProperty, this).associate(l); }, removeProperty: function (m)
	{
		var l = e[m];
		(l) ? this[l] = (l && b[m]) ? false : "" : this.removeAttribute(m); return this;
	}, removeProperties: function ()
	{
		Array.each(arguments, this.removeProperty, this); return this;
	}, hasClass: function (l) { return this.className.contains(l, " "); }, addClass: function (l)
	{
		if (!this.hasClass(l))
		{
			this.className = (this.className + " " + l).clean();
		} return this;
	}, removeClass: function (l) { this.className = this.className.replace(new RegExp("(^|\\s)" + l + "(?:\\s|$)"), "$1"); return this; }, toggleClass: function (l)
	{
		return this.hasClass(l) ? this.removeClass(l) : this.addClass(l);
	}, adopt: function () { Array.flatten(arguments).each(function (l) { l = document.id(l, true); if (l) { this.appendChild(l); } }, this); return this; }, appendText: function (m, l)
	{
		return this.grab(this.getDocument().newTextNode(m), l);
	}, grab: function (m, l) { a[l || "bottom"](document.id(m, true), this); return this; }, inject: function (m, l) { a[l || "bottom"](this, document.id(m, true)); return this; }, replaces: function (l)
	{
		l = document.id(l, true);
		l.parentNode.replaceChild(this, l); return this;
	}, wraps: function (m, l) { m = document.id(m, true); return this.replaces(m).grab(m, l); }, getPrevious: function (l, m)
	{
		return j(this, "previousSibling", null, l, false, m);
	}, getAllPrevious: function (l, m) { return j(this, "previousSibling", null, l, true, m); }, getNext: function (l, m) { return j(this, "nextSibling", null, l, false, m); }, getAllNext: function (l, m)
	{
		return j(this, "nextSibling", null, l, true, m);
	}, getFirst: function (l, m) { return j(this, "nextSibling", "firstChild", l, false, m); }, getLast: function (l, m)
	{
		return j(this, "previousSibling", "lastChild", l, false, m);
	}, getParent: function (l, m) { return j(this, "parentNode", null, l, false, m); }, getParents: function (l, m) { return j(this, "parentNode", null, l, true, m); }, getSiblings: function (l, m)
	{
		return this.getParent().getChildren(l, m).erase(this);
	}, getChildren: function (l, m) { return j(this, "nextSibling", "firstChild", l, true, m); }, getWindow: function () { return this.ownerDocument.window; }, getDocument: function ()
	{
		return this.ownerDocument;
	}, getElementById: function (o, n)
	{
		var m = this.ownerDocument.getElementById(o); if (!m) { return null; } for (var l = m.parentNode; l != this; l = l.parentNode)
		{
			if (!l)
			{
				return null;
			} 
		} return document.id(m, n);
	}, getSelected: function () { return new Elements($A(this.options).filter(function (l) { return l.selected; })); }, getComputedStyle: function (m)
	{
		if (this.currentStyle)
		{
			return this.currentStyle[m.camelCase()];
		} var l = this.getDocument().defaultView.getComputedStyle(this, null); return (l) ? l.getPropertyValue([m.hyphenate()]) : null;
	}, toQueryString: function ()
	{
		var l = [];
		this.getElements("input, select, textarea", true).each(function (m)
		{
			if (!m.name || m.disabled || m.type == "submit" || m.type == "reset" || m.type == "file") { return; } var n = (m.tagName.toLowerCase() == "select") ? Element.getSelected(m).map(function (o)
			{
				return o.value;
			}) : ((m.type == "radio" || m.type == "checkbox") && !m.checked) ? null : m.value; $splat(n).each(function (o)
			{
				if (typeof o != "undefined")
				{
					l.push(m.name + "=" + encodeURIComponent(o));
				} 
			});
		}); return l.join("&");
	}, clone: function (o, l)
	{
		o = o !== false; var r = this.cloneNode(o); var n = function (v, u)
		{
			if (!l) { v.removeAttribute("id"); } if (Browser.Engine.trident)
			{
				v.clearAttributes();
				v.mergeAttributes(u); v.removeAttribute("uid"); if (v.options) { var w = v.options, s = u.options; for (var t = w.length; t--; ) { w[t].selected = s[t].selected; } } 
			} var x = i[u.tagName.toLowerCase()];
			if (x && u[x]) { v[x] = u[x]; } 
		}; if (o) { var p = r.getElementsByTagName("*"), q = this.getElementsByTagName("*"); for (var m = p.length; m--; ) { n(p[m], q[m]); } } n(r, this); return document.id(r);
	}, destroy: function () { Element.empty(this); Element.dispose(this); g(this, true); return null; }, empty: function ()
	{
		$A(this.childNodes).each(function (l)
		{
			Element.destroy(l);
		}); return this;
	}, dispose: function () { return (this.parentNode) ? this.parentNode.removeChild(this) : this; }, hasChild: function (l)
	{
		l = document.id(l, true); if (!l)
		{
			return false;
		} if (Browser.Engine.webkit && Browser.Engine.version < 420) { return $A(this.getElementsByTagName(l.tagName)).contains(l); } return (this.contains) ? (this != l && this.contains(l)) : !!(this.compareDocumentPosition(l) & 16);
	}, match: function (l) { return (!l || (l == this) || (Element.get(this, "tag") == l)); } 
	}); Native.implement([Element, Window, Document], { addListener: function (o, n)
	{
		if (o == "unload")
		{
			var l = n, m = this;
			n = function () { m.removeListener("unload", n); l(); };
		} else { h[this.uid] = this; } if (this.addEventListener) { this.addEventListener(o, n, false); } else
		{
			this.attachEvent("on" + o, n);
		} return this;
	}, removeListener: function (m, l)
	{
		if (this.removeEventListener) { this.removeEventListener(m, l, false); } else { this.detachEvent("on" + m, l); } return this;
	}, retrieve: function (m, l) { var o = c(this.uid), n = o[m]; if (l != undefined && n == undefined) { n = o[m] = l; } return $pick(n); }, store: function (m, l)
	{
		var n = c(this.uid); n[m] = l;
		return this;
	}, eliminate: function (l) { var m = c(this.uid); delete m[l]; return this; } 
	}); window.addListener("unload", d);
})(); Element.Properties = new Hash; Element.Properties.style = { set: function (a)
{
	this.style.cssText = a;
}, get: function () { return this.style.cssText; }, erase: function () { this.style.cssText = ""; } 
}; Element.Properties.tag = { get: function ()
{
	return this.tagName.toLowerCase();
} 
}; Element.Properties.html = (function ()
{
	var c = document.createElement("div"); var a = { table: [1, "<table>", "</table>"], select: [1, "<select>", "</select>"], tbody: [2, "<table><tbody>", "</tbody></table>"], tr: [3, "<table><tbody><tr>", "</tr></tbody></table>"] };
	a.thead = a.tfoot = a.tbody; var b = { set: function ()
	{
		var e = Array.flatten(arguments).join(""); var f = Browser.Engine.trident && a[this.get("tag")]; if (f)
		{
			var g = c; g.innerHTML = f[1] + e + f[2];
			for (var d = f[0]; d--; ) { g = g.firstChild; } this.empty().adopt(g.childNodes);
		} else { this.innerHTML = e; } 
	} 
	}; b.erase = b.set; return b;
})(); if (Browser.Engine.webkit && Browser.Engine.version < 420)
{
	Element.Properties.text = { get: function ()
	{
		if (this.innerText)
		{
			return this.innerText;
		} var a = this.ownerDocument.newElement("div", { html: this.innerHTML }).inject(this.ownerDocument.body); var b = a.innerText; a.destroy(); return b;
	} 
	};
} Element.Properties.events = { set: function (a)
{
	this.addEvents(a);
} 
}; Native.implement([Element, Window, Document], { addEvent: function (e, g)
{
	var h = this.retrieve("events", {}); h[e] = h[e] || { keys: [], values: [] }; if (h[e].keys.contains(g))
	{
		return this;
	} h[e].keys.push(g); var f = e, a = Element.Events.get(e), c = g, i = this; if (a)
	{
		if (a.onAdd) { a.onAdd.call(this, g); } if (a.condition)
		{
			c = function (j)
			{
				if (a.condition.call(this, j))
				{
					return g.call(this, j);
				} return true;
			};
		} f = a.base || f;
	} var d = function () { return g.call(i); }; var b = Element.NativeEvents[f]; if (b)
	{
		if (b == 2)
		{
			d = function (j)
			{
				j = new Event(j, i.getWindow());
				if (c.call(i, j) === false) { j.stop(); } 
			};
		} this.addListener(f, d);
	} h[e].values.push(d); return this;
}, removeEvent: function (c, b)
{
	var a = this.retrieve("events"); if (!a || !a[c])
	{
		return this;
	} var f = a[c].keys.indexOf(b); if (f == -1) { return this; } a[c].keys.splice(f, 1); var e = a[c].values.splice(f, 1)[0]; var d = Element.Events.get(c); if (d)
	{
		if (d.onRemove)
		{
			d.onRemove.call(this, b);
		} c = d.base || c;
	} return (Element.NativeEvents[c]) ? this.removeListener(c, e) : this;
}, addEvents: function (a)
{
	for (var b in a) { this.addEvent(b, a[b]); } return this;
}, removeEvents: function (a)
{
	var c; if ($type(a) == "object") { for (c in a) { this.removeEvent(c, a[c]); } return this; } var b = this.retrieve("events"); if (!b)
	{
		return this;
	} if (!a) { for (c in b) { this.removeEvents(c); } this.eliminate("events"); } else { if (b[a]) { while (b[a].keys[0]) { this.removeEvent(a, b[a].keys[0]); } b[a] = null; } } return this;
}, fireEvent: function (d, b, a)
{
	var c = this.retrieve("events"); if (!c || !c[d]) { return this; } c[d].keys.each(function (e)
	{
		e.create({ bind: this, delay: a, "arguments": b })();
	}, this); return this;
}, cloneEvents: function (d, a)
{
	d = document.id(d); var c = d.retrieve("events"); if (!c) { return this; } if (!a)
	{
		for (var b in c)
		{
			this.cloneEvents(d, b);
		} 
	} else { if (c[a]) { c[a].keys.each(function (e) { this.addEvent(a, e); }, this); } } return this;
} 
}); Element.NativeEvents = { click: 2, dblclick: 2, mouseup: 2, mousedown: 2, contextmenu: 2, mousewheel: 2, DOMMouseScroll: 2, mouseover: 2, mouseout: 2, mousemove: 2, selectstart: 2, selectend: 2, keydown: 2, keypress: 2, keyup: 2, focus: 2, blur: 2, change: 2, reset: 2, select: 2, submit: 2, load: 1, unload: 1, beforeunload: 2, resize: 1, move: 1, DOMContentLoaded: 1, readystatechange: 1, error: 1, abort: 1, scroll: 1 };
(function ()
{
	var a = function (b)
	{
		var c = b.relatedTarget; if (c == undefined) { return true; } if (c === false) { return false; } return ($type(this) != "document" && c != this && c.prefix != "xul" && !this.hasChild(c));
	}; Element.Events = new Hash({ mouseenter: { base: "mouseover", condition: a }, mouseleave: { base: "mouseout", condition: a }, mousewheel: { base: (Browser.Engine.gecko) ? "DOMMouseScroll" : "mousewheel"} });
})(); Element.Properties.styles = { set: function (a) { this.setStyles(a); } }; Element.Properties.opacity = { set: function (a, b)
{
	if (!b)
	{
		if (a == 0)
		{
			if (this.style.visibility != "hidden")
			{
				this.style.visibility = "hidden";
			} 
		} else { if (this.style.visibility != "visible") { this.style.visibility = "visible"; } } 
	} if (!this.currentStyle || !this.currentStyle.hasLayout) { this.style.zoom = 1; } if (Browser.Engine.trident)
	{
		this.style.filter = (a == 1) ? "" : "alpha(opacity=" + a * 100 + ")";
	} this.style.opacity = a; this.store("opacity", a);
}, get: function () { return this.retrieve("opacity", 1); } 
}; Element.implement({ setOpacity: function (a)
{
	return this.set("opacity", a, true);
}, getOpacity: function () { return this.get("opacity"); }, setStyle: function (b, a)
{
	switch (b)
	{
		case "opacity": return this.set("opacity", parseFloat(a)); case "float": b = (Browser.Engine.trident) ? "styleFloat" : "cssFloat";
	} b = b.camelCase(); if ($type(a) != "string")
	{
		var c = (Element.Styles.get(b) || "@").split(" "); a = $splat(a).map(function (e, d)
		{
			if (!c[d]) { return ""; } return ($type(e) == "number") ? c[d].replace("@", Math.round(e)) : e;
		}).join(" ");
	} else { if (a == String(Number(a))) { a = Math.round(a); } } this.style[b] = a; return this;
}, getStyle: function (g)
{
	switch (g)
	{
		case "opacity": return this.get("opacity");
		case "float": g = (Browser.Engine.trident) ? "styleFloat" : "cssFloat";
	} g = g.camelCase(); var a = this.style[g]; if (!$chk(a))
	{
		a = []; for (var f in Element.ShortStyles)
		{
			if (g != f)
			{
				continue;
			} for (var e in Element.ShortStyles[f]) { a.push(this.getStyle(e)); } return a.join(" ");
		} a = this.getComputedStyle(g);
	} if (a)
	{
		a = String(a); var c = a.match(/rgba?\([\d\s,]+\)/);
		if (c) { a = a.replace(c[0], c[0].rgbToHex()); } 
	} if (Browser.Engine.presto || (Browser.Engine.trident && !$chk(parseInt(a, 10))))
	{
		if (g.test(/^(height|width)$/))
		{
			var b = (g == "width") ? ["left", "right"] : ["top", "bottom"], d = 0;
			b.each(function (h) { d += this.getStyle("border-" + h + "-width").toInt() + this.getStyle("padding-" + h).toInt(); }, this); return this["offset" + g.capitalize()] - d + "px";
		} if ((Browser.Engine.presto) && String(a).test("px")) { return a; } if (g.test(/(border(.+)Width|margin|padding)/)) { return "0px"; } 
	} return a;
}, setStyles: function (b)
{
	for (var a in b)
	{
		this.setStyle(a, b[a]);
	} return this;
}, getStyles: function () { var a = {}; Array.flatten(arguments).each(function (b) { a[b] = this.getStyle(b); }, this); return a; } 
}); Element.Styles = new Hash({ left: "@px", top: "@px", bottom: "@px", right: "@px", width: "@px", height: "@px", maxWidth: "@px", maxHeight: "@px", minWidth: "@px", minHeight: "@px", backgroundColor: "rgb(@, @, @)", backgroundPosition: "@px @px", color: "rgb(@, @, @)", fontSize: "@px", letterSpacing: "@px", lineHeight: "@px", clip: "rect(@px @px @px @px)", margin: "@px @px @px @px", padding: "@px @px @px @px", border: "@px @ rgb(@, @, @) @px @ rgb(@, @, @) @px @ rgb(@, @, @)", borderWidth: "@px @px @px @px", borderStyle: "@ @ @ @", borderColor: "rgb(@, @, @) rgb(@, @, @) rgb(@, @, @) rgb(@, @, @)", zIndex: "@", zoom: "@", fontWeight: "@", textIndent: "@px", opacity: "@" });
Element.ShortStyles = { margin: {}, padding: {}, border: {}, borderWidth: {}, borderStyle: {}, borderColor: {} }; ["Top", "Right", "Bottom", "Left"].each(function (g)
{
	var f = Element.ShortStyles;
	var b = Element.Styles; ["margin", "padding"].each(function (h) { var i = h + g; f[h][i] = b[i] = "@px"; }); var e = "border" + g; f.border[e] = b[e] = "@px @ rgb(@, @, @)"; var d = e + "Width", a = e + "Style", c = e + "Color";
	f[e] = {}; f.borderWidth[d] = f[e][d] = b[d] = "@px"; f.borderStyle[a] = f[e][a] = b[a] = "@"; f.borderColor[c] = f[e][c] = b[c] = "rgb(@, @, @)";
}); (function ()
{
	Element.implement({ scrollTo: function (h, i)
	{
		if (b(this))
		{
			this.getWindow().scrollTo(h, i);
		} else { this.scrollLeft = h; this.scrollTop = i; } return this;
	}, getSize: function ()
	{
		if (b(this)) { return this.getWindow().getSize(); } return { x: this.offsetWidth, y: this.offsetHeight };
	}, getScrollSize: function () { if (b(this)) { return this.getWindow().getScrollSize(); } return { x: this.scrollWidth, y: this.scrollHeight }; }, getScroll: function ()
	{
		if (b(this))
		{
			return this.getWindow().getScroll();
		} return { x: this.scrollLeft, y: this.scrollTop };
	}, getScrolls: function ()
	{
		var i = this, h = { x: 0, y: 0 }; while (i && !b(i))
		{
			h.x += i.scrollLeft; h.y += i.scrollTop; i = i.parentNode;
		} return h;
	}, getOffsetParent: function ()
	{
		var h = this; if (b(h)) { return null; } if (!Browser.Engine.trident) { return h.offsetParent; } while ((h = h.parentNode) && !b(h))
		{
			if (d(h, "position") != "static")
			{
				return h;
			} 
		} return null;
	}, getOffsets: function ()
	{
		if (this.getBoundingClientRect)
		{
			var m = this.getBoundingClientRect(), k = document.id(this.getDocument().documentElement), i = k.getScroll(), n = (d(this, "position") == "fixed");
			return { x: parseInt(m.left, 10) + ((n) ? 0 : i.x) - k.clientLeft, y: parseInt(m.top, 10) + ((n) ? 0 : i.y) - k.clientTop };
		} var j = this, h = { x: 0, y: 0 }; if (b(this)) { return h; } while (j && !b(j))
		{
			h.x += j.offsetLeft;
			h.y += j.offsetTop; if (Browser.Engine.gecko) { if (!f(j)) { h.x += c(j); h.y += g(j); } var l = j.parentNode; if (l && d(l, "overflow") != "visible") { h.x += c(l); h.y += g(l); } } else
			{
				if (j != this && Browser.Engine.webkit)
				{
					h.x += c(j);
					h.y += g(j);
				} 
			} j = j.offsetParent;
		} if (Browser.Engine.gecko && !f(this)) { h.x -= c(this); h.y -= g(this); } return h;
	}, getPosition: function (k)
	{
		if (b(this))
		{
			return { x: 0, y: 0 };
		} var l = this.getOffsets(), i = this.getScrolls(); var h = { x: l.x - i.x, y: l.y - i.y }; var j = (k && (k = document.id(k))) ? k.getPosition() : { x: 0, y: 0 }; return { x: h.x - j.x, y: h.y - j.y };
	}, getCoordinates: function (j)
	{
		if (b(this)) { return this.getWindow().getCoordinates(); } var h = this.getPosition(j), i = this.getSize(); var k = { left: h.x, top: h.y, width: i.x, height: i.y };
		k.right = k.left + k.width; k.bottom = k.top + k.height; return k;
	}, computePosition: function (h)
	{
		return { left: h.x - e(this, "margin-left"), top: h.y - e(this, "margin-top") };
	}, setPosition: function (h) { return this.setStyles(this.computePosition(h)); } 
	}); Native.implement([Document, Window], { getSize: function ()
	{
		if (Browser.Engine.presto || Browser.Engine.webkit)
		{
			var i = this.getWindow();
			return { x: i.innerWidth, y: i.innerHeight };
		} var h = a(this); return { x: h.clientWidth, y: h.clientHeight };
	}, getScroll: function ()
	{
		var i = this.getWindow(), h = a(this);
		return { x: i.pageXOffset || h.scrollLeft, y: i.pageYOffset || h.scrollTop };
	}, getScrollSize: function ()
	{
		var i = a(this), h = this.getSize(); return { x: Math.max(i.scrollWidth, h.x), y: Math.max(i.scrollHeight, h.y) };
	}, getPosition: function () { return { x: 0, y: 0 }; }, getCoordinates: function ()
	{
		var h = this.getSize(); return { top: 0, left: 0, bottom: h.y, right: h.x, height: h.y, width: h.x };
	} 
	}); var d = Element.getComputedStyle; function e(h, i) { return d(h, i).toInt() || 0; } function f(h) { return d(h, "-moz-box-sizing") == "border-box"; } function g(h)
	{
		return e(h, "border-top-width");
	} function c(h) { return e(h, "border-left-width"); } function b(h) { return (/^(?:body|html)$/i).test(h.tagName); } function a(h)
	{
		var i = h.getDocument(); return (!i.compatMode || i.compatMode == "CSS1Compat") ? i.html : i.body;
	} 
})(); Element.alias("setPosition", "position"); Native.implement([Window, Document, Element], { getHeight: function () { return this.getSize().y; }, getWidth: function ()
{
	return this.getSize().x;
}, getScrollTop: function () { return this.getScroll().y; }, getScrollLeft: function () { return this.getScroll().x; }, getScrollHeight: function ()
{
	return this.getScrollSize().y;
}, getScrollWidth: function () { return this.getScrollSize().x; }, getTop: function () { return this.getPosition().y; }, getLeft: function ()
{
	return this.getPosition().x;
} 
}); Native.implement([Document, Element], { getElements: function (h, g)
{
	h = h.split(","); var c, e = {}; for (var d = 0, b = h.length; d < b; d++)
	{
		var a = h[d], f = Selectors.Utils.search(this, a, e);
		if (d != 0 && f.item) { f = $A(f); } c = (d == 0) ? f : (c.item) ? $A(c).concat(f) : c.concat(f);
	} return new Elements(c, { ddup: (h.length > 1), cash: !g });
} 
}); Element.implement({ match: function (b)
{
	if (!b || (b == this))
	{
		return true;
	} var d = Selectors.Utils.parseTagAndID(b); var a = d[0], e = d[1]; if (!Selectors.Filters.byID(this, e) || !Selectors.Filters.byTag(this, a)) { return false; } var c = Selectors.Utils.parseSelector(b);
	return (c) ? Selectors.Utils.filter(this, c, {}) : true;
} 
}); var Selectors = { Cache: { nth: {}, parsed: {}} }; Selectors.RegExps = { id: (/#([\w-]+)/), tag: (/^(\w+|\*)/), quick: (/^(\w+|\*)$/), splitter: (/\s*([+>~\s])\s*([a-zA-Z#.*:\[])/g), combined: (/\.([\w-]+)|\[(\w+)(?:([!*^$~|]?=)(["']?)([^\4]*?)\4)?\]|:([\w-]+)(?:\(["']?(.*?)?["']?\)|$)/g) };
Selectors.Utils = { chk: function (b, c) { if (!c) { return true; } var a = $uid(b); if (!c[a]) { return c[a] = true; } return false; }, parseNthArgument: function (h)
{
	if (Selectors.Cache.nth[h])
	{
		return Selectors.Cache.nth[h];
	} var e = h.match(/^([+-]?\d*)?([a-z]+)?([+-]?\d*)?$/); if (!e) { return false; } var g = parseInt(e[1], 10); var d = (g || g === 0) ? g : 1; var f = e[2] || false; var c = parseInt(e[3], 10) || 0;
	if (d != 0) { c--; while (c < 1) { c += d; } while (c >= d) { c -= d; } } else { d = c; f = "index"; } switch (f)
	{
		case "n": e = { a: d, b: c, special: "n" }; break; case "odd": e = { a: 2, b: 0, special: "n" };
			break; case "even": e = { a: 2, b: 1, special: "n" }; break; case "first": e = { a: 0, special: "index" }; break; case "last": e = { special: "last-child" }; break; case "only": e = { special: "only-child" };
			break; default: e = { a: (d - 1), special: "index" };
	} return Selectors.Cache.nth[h] = e;
}, parseSelector: function (e)
{
	if (Selectors.Cache.parsed[e])
	{
		return Selectors.Cache.parsed[e];
	} var d, h = { classes: [], pseudos: [], attributes: [] }; while ((d = Selectors.RegExps.combined.exec(e)))
	{
		var i = d[1], g = d[2], f = d[3], b = d[5], c = d[6], j = d[7]; if (i)
		{
			h.classes.push(i);
		} else
		{
			if (c) { var a = Selectors.Pseudo.get(c); if (a) { h.pseudos.push({ parser: a, argument: j }); } else { h.attributes.push({ name: c, operator: "=", value: j }); } } else
			{
				if (g)
				{
					h.attributes.push({ name: g, operator: f, value: b });
				} 
			} 
		} 
	} if (!h.classes.length) { delete h.classes; } if (!h.attributes.length) { delete h.attributes; } if (!h.pseudos.length) { delete h.pseudos; } if (!h.classes && !h.attributes && !h.pseudos)
	{
		h = null;
	} return Selectors.Cache.parsed[e] = h;
}, parseTagAndID: function (b)
{
	var a = b.match(Selectors.RegExps.tag); var c = b.match(Selectors.RegExps.id); return [(a) ? a[1] : "*", (c) ? c[1] : false];
}, filter: function (f, c, e)
{
	var d; if (c.classes) { for (d = c.classes.length; d--; d) { var g = c.classes[d]; if (!Selectors.Filters.byClass(f, g)) { return false; } } } if (c.attributes)
	{
		for (d = c.attributes.length;
d--; d) { var b = c.attributes[d]; if (!Selectors.Filters.byAttribute(f, b.name, b.operator, b.value)) { return false; } } 
	} if (c.pseudos)
	{
		for (d = c.pseudos.length; d--; d)
		{
			var a = c.pseudos[d];
			if (!Selectors.Filters.byPseudo(f, a.parser, a.argument, e)) { return false; } 
		} 
	} return true;
}, getByTagAndID: function (b, a, d)
{
	if (d)
	{
		var c = (b.getElementById) ? b.getElementById(d, true) : Element.getElementById(b, d, true);
		return (c && Selectors.Filters.byTag(c, a)) ? [c] : [];
	} else { return b.getElementsByTagName(a); } 
}, search: function (o, h, t)
{
	var b = []; var c = h.trim().replace(Selectors.RegExps.splitter, function (k, j, i)
	{
		b.push(j);
		return ":)" + i;
	}).split(":)"); var p, e, A; for (var z = 0, v = c.length; z < v; z++)
	{
		var y = c[z]; if (z == 0 && Selectors.RegExps.quick.test(y))
		{
			p = o.getElementsByTagName(y);
			continue;
		} var a = b[z - 1]; var q = Selectors.Utils.parseTagAndID(y); var B = q[0], r = q[1]; if (z == 0) { p = Selectors.Utils.getByTagAndID(o, B, r); } else
		{
			var d = {}, g = []; for (var x = 0, w = p.length;
x < w; x++) { g = Selectors.Getters[a](g, p[x], B, r, d); } p = g;
		} var f = Selectors.Utils.parseSelector(y); if (f)
		{
			e = []; for (var u = 0, s = p.length; u < s; u++)
			{
				A = p[u]; if (Selectors.Utils.filter(A, f, t))
				{
					e.push(A);
				} 
			} p = e;
		} 
	} return p;
} 
}; Selectors.Getters = { " ": function (h, g, j, a, e)
{
	var d = Selectors.Utils.getByTagAndID(g, j, a); for (var c = 0, b = d.length; c < b; c++)
	{
		var f = d[c]; if (Selectors.Utils.chk(f, e))
		{
			h.push(f);
		} 
	} return h;
}, ">": function (h, g, j, a, f)
{
	var c = Selectors.Utils.getByTagAndID(g, j, a); for (var e = 0, d = c.length; e < d; e++)
	{
		var b = c[e]; if (b.parentNode == g && Selectors.Utils.chk(b, f))
		{
			h.push(b);
		} 
	} return h;
}, "+": function (c, b, a, e, d)
{
	while ((b = b.nextSibling))
	{
		if (b.nodeType == 1)
		{
			if (Selectors.Utils.chk(b, d) && Selectors.Filters.byTag(b, a) && Selectors.Filters.byID(b, e))
			{
				c.push(b);
			} break;
		} 
	} return c;
}, "~": function (c, b, a, e, d)
{
	while ((b = b.nextSibling))
	{
		if (b.nodeType == 1)
		{
			if (!Selectors.Utils.chk(b, d)) { break; } if (Selectors.Filters.byTag(b, a) && Selectors.Filters.byID(b, e))
			{
				c.push(b);
			} 
		} 
	} return c;
} 
}; Selectors.Filters = { byTag: function (b, a) { return (a == "*" || (b.tagName && b.tagName.toLowerCase() == a)); }, byID: function (a, b)
{
	return (!b || (a.id && a.id == b));
}, byClass: function (b, a) { return (b.className && b.className.contains(a, " ")); }, byPseudo: function (a, d, c, b) { return d.call(a, c, b); }, byAttribute: function (c, d, b, e)
{
	var a = Element.prototype.getProperty.call(c, d);
	if (!a) { return (b == "!="); } if (!b || e == undefined) { return true; } switch (b)
	{
		case "=": return (a == e); case "*=": return (a.contains(e)); case "^=": return (a.substr(0, e.length) == e);
		case "$=": return (a.substr(a.length - e.length) == e); case "!=": return (a != e); case "~=": return a.contains(e, " "); case "|=": return a.contains(e, "-");
	} return false;
} 
}; Selectors.Pseudo = new Hash({ checked: function () { return this.checked; }, empty: function () { return !(this.innerText || this.textContent || "").length; }, not: function (a)
{
	return !Element.match(this, a);
}, contains: function (a) { return (this.innerText || this.textContent || "").contains(a); }, "first-child": function () { return Selectors.Pseudo.index.call(this, 0); }, "last-child": function ()
{
	var a = this;
	while ((a = a.nextSibling)) { if (a.nodeType == 1) { return false; } } return true;
}, "only-child": function ()
{
	var b = this; while ((b = b.previousSibling))
	{
		if (b.nodeType == 1)
		{
			return false;
		} 
	} var a = this; while ((a = a.nextSibling)) { if (a.nodeType == 1) { return false; } } return true;
}, "nth-child": function (g, e)
{
	g = (g == undefined) ? "n" : g; var c = Selectors.Utils.parseNthArgument(g);
	if (c.special != "n") { return Selectors.Pseudo[c.special].call(this, c.a, e); } var f = 0; e.positions = e.positions || {}; var d = $uid(this); if (!e.positions[d])
	{
		var b = this;
		while ((b = b.previousSibling)) { if (b.nodeType != 1) { continue; } f++; var a = e.positions[$uid(b)]; if (a != undefined) { f = a + f; break; } } e.positions[d] = f;
	} return (e.positions[d] % c.a == c.b);
}, index: function (a) { var b = this, c = 0; while ((b = b.previousSibling)) { if (b.nodeType == 1 && ++c > a) { return false; } } return (c == a); }, even: function (b, a)
{
	return Selectors.Pseudo["nth-child"].call(this, "2n+1", a);
}, odd: function (b, a) { return Selectors.Pseudo["nth-child"].call(this, "2n", a); }, selected: function () { return this.selected; }, enabled: function ()
{
	return (this.disabled === false);
} 
}); Element.Events.domready = { onAdd: function (a) { if (Browser.loaded) { a.call(this); } } }; (function ()
{
	var b = function ()
	{
		if (Browser.loaded) { return; } Browser.loaded = true;
		window.fireEvent("domready"); document.fireEvent("domready");
	}; if (Browser.Engine.trident)
	{
		var a = document.createElement("div"); (function ()
		{
			($try(function ()
			{
				a.doScroll();
				return document.id(a).inject(document.body).set("html", "temp").dispose();
			})) ? b() : arguments.callee.delay(50);
		})();
	} else
	{
		if (Browser.Engine.webkit && Browser.Engine.version < 525)
		{
			(function ()
			{
				(["loaded", "complete"].contains(document.readyState)) ? b() : arguments.callee.delay(50);
			})();
		} else { window.addEvent("load", b); document.addEvent("DOMContentLoaded", b); } 
	} 
})(); var JSON = new Hash({ $specialChars: { "\b": "\\b", "\t": "\\t", "\n": "\\n", "\f": "\\f", "\r": "\\r", '"': '\\"', "\\": "\\\\" }, $replaceChars: function (a)
{
	return JSON.$specialChars[a] || "\\u00" + Math.floor(a.charCodeAt() / 16).toString(16) + (a.charCodeAt() % 16).toString(16);
}, encode: function (b)
{
	switch ($type(b))
	{
		case "string": return '"' + b.replace(/[\x00-\x1f\\"]/g, JSON.$replaceChars) + '"'; case "array": return "[" + String(b.map(JSON.encode).clean()) + "]";
		case "object": case "hash": var a = []; Hash.each(b, function (e, d) { var c = JSON.encode(e); if (c) { a.push(JSON.encode(d) + ":" + c); } }); return "{" + a + "}"; case "number": case "boolean": return String(b);
		case false: return "null";
	} return null;
}, decode: function (string, secure)
{
	if ($type(string) != "string" || !string.length) { return null; } if (secure && !(/^[,:{}\[\]0-9.\-+Eaeflnr-u \n\r\t]*$/).test(string.replace(/\\./g, "@").replace(/"[^"\\\n\r]*"/g, "")))
	{
		return null;
	} return eval("(" + string + ")");
} 
}); Native.implement([Hash, Array, String, Number], { toJSON: function () { return JSON.encode(this); } }); var Cookie = new Class({ Implements: Options, options: { path: false, domain: false, duration: false, secure: false, document: document }, initialize: function (b, a)
{
	this.key = b;
	this.setOptions(a);
}, write: function (b)
{
	b = encodeURIComponent(b); if (this.options.domain) { b += "; domain=" + this.options.domain; } if (this.options.path)
	{
		b += "; path=" + this.options.path;
	} if (this.options.duration) { var a = new Date(); a.setTime(a.getTime() + this.options.duration * 24 * 60 * 60 * 1000); b += "; expires=" + a.toGMTString(); } if (this.options.secure)
	{
		b += "; secure";
	} this.options.document.cookie = this.key + "=" + b; return this;
}, read: function ()
{
	var a = this.options.document.cookie.match("(?:^|;)\\s*" + this.key.escapeRegExp() + "=([^;]*)");
	return (a) ? decodeURIComponent(a[1]) : null;
}, dispose: function () { new Cookie(this.key, $merge(this.options, { duration: -1 })).write(""); return this; } 
}); Cookie.write = function (b, c, a)
{
	return new Cookie(b, a).write(c);
}; Cookie.read = function (a) { return new Cookie(a).read(); }; Cookie.dispose = function (b, a) { return new Cookie(b, a).dispose(); }; var Swiff = new Class({ Implements: [Options], options: { id: null, height: 1, width: 1, container: null, properties: {}, params: { quality: "high", allowScriptAccess: "always", wMode: "transparent", swLiveConnect: true }, callBacks: {}, vars: {} }, toElement: function ()
{
	return this.object;
}, initialize: function (l, m)
{
	this.instance = "Swiff_" + $time(); this.setOptions(m); m = this.options; var b = this.id = m.id || this.instance; var a = document.id(m.container);
	Swiff.CallBacks[this.instance] = {}; var e = m.params, g = m.vars, f = m.callBacks; var h = $extend({ height: m.height, width: m.width }, m.properties); var k = this; for (var d in f)
	{
		Swiff.CallBacks[this.instance][d] = (function (n)
		{
			return function ()
			{
				return n.apply(k.object, arguments);
			};
		})(f[d]); g[d] = "Swiff.CallBacks." + this.instance + "." + d;
	} e.flashVars = Hash.toQueryString(g); if (Browser.Engine.trident)
	{
		h.classid = "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000";
		e.movie = l;
	} else { h.type = "application/x-shockwave-flash"; h.data = l; } var j = '<object id="' + b + '"'; for (var i in h) { j += " " + i + '="' + h[i] + '"'; } j += ">"; for (var c in e)
	{
		if (e[c])
		{
			j += '<param name="' + c + '" value="' + e[c] + '" />';
		} 
	} j += "</object>"; this.object = ((a) ? a.empty() : new Element("div")).set("html", j).firstChild;
}, replaces: function (a)
{
	a = document.id(a, true); a.parentNode.replaceChild(this.toElement(), a);
	return this;
}, inject: function (a) { document.id(a, true).appendChild(this.toElement()); return this; }, remote: function ()
{
	return Swiff.remote.apply(Swiff, [this.toElement()].extend(arguments));
} 
}); Swiff.CallBacks = {}; Swiff.remote = function (obj, fn)
{
	var rs = obj.CallFunction('<invoke name="' + fn + '" returntype="javascript">' + __flash__argumentsToXML(arguments, 2) + "</invoke>");
	return eval(rs);
}; var Fx = new Class({ Implements: [Chain, Events, Options], options: { fps: 50, unit: false, duration: 500, link: "ignore" }, initialize: function (a)
{
	this.subject = this.subject || this;
	this.setOptions(a); this.options.duration = Fx.Durations[this.options.duration] || this.options.duration.toInt(); var b = this.options.wait; if (b === false)
	{
		this.options.link = "cancel";
	} 
}, getTransition: function () { return function (a) { return -(Math.cos(Math.PI * a) - 1) / 2; }; }, step: function ()
{
	var a = $time(); if (a < this.time + this.options.duration)
	{
		var b = this.transition((a - this.time) / this.options.duration);
		this.set(this.compute(this.from, this.to, b));
	} else { this.set(this.compute(this.from, this.to, 1)); this.complete(); } 
}, set: function (a) { return a; }, compute: function (c, b, a)
{
	return Fx.compute(c, b, a);
}, check: function ()
{
	if (!this.timer) { return true; } switch (this.options.link)
	{
		case "cancel": this.cancel(); return true; case "chain": this.chain(this.caller.bind(this, arguments));
			return false;
	} return false;
}, start: function (b, a)
{
	if (!this.check(b, a)) { return this; } this.from = b; this.to = a; this.time = 0; this.transition = this.getTransition();
	this.startTimer(); this.onStart(); return this;
}, complete: function () { if (this.stopTimer()) { this.onComplete(); } return this; }, cancel: function ()
{
	if (this.stopTimer())
	{
		this.onCancel();
	} return this;
}, onStart: function () { this.fireEvent("start", this.subject); }, onComplete: function ()
{
	this.fireEvent("complete", this.subject); if (!this.callChain())
	{
		this.fireEvent("chainComplete", this.subject);
	} 
}, onCancel: function () { this.fireEvent("cancel", this.subject).clearChain(); }, pause: function () { this.stopTimer(); return this; }, resume: function ()
{
	this.startTimer();
	return this;
}, stopTimer: function () { if (!this.timer) { return false; } this.time = $time() - this.time; this.timer = $clear(this.timer); return true; }, startTimer: function ()
{
	if (this.timer)
	{
		return false;
	} this.time = $time() - this.time; this.timer = this.step.periodical(Math.round(1000 / this.options.fps), this); return true;
} 
}); Fx.compute = function (c, b, a)
{
	return (b - c) * a + c;
}; Fx.Durations = { "short": 250, normal: 500, "long": 1000 }; Fx.CSS = new Class({ Extends: Fx, prepare: function (d, e, b)
{
	b = $splat(b); var c = b[1]; if (!$chk(c))
	{
		b[1] = b[0];
		b[0] = d.getStyle(e);
	} var a = b.map(this.parse); return { from: a[0], to: a[1] };
}, parse: function (a)
{
	a = $lambda(a)(); a = (typeof a == "string") ? a.split(" ") : $splat(a);
	return a.map(function (c)
	{
		c = String(c); var b = false; Fx.CSS.Parsers.each(function (f, e) { if (b) { return; } var d = f.parse(c); if ($chk(d)) { b = { value: d, parser: f }; } });
		b = b || { value: c, parser: Fx.CSS.Parsers.String }; return b;
	});
}, compute: function (d, c, b)
{
	var a = []; (Math.min(d.length, c.length)).times(function (e)
	{
		a.push({ value: d[e].parser.compute(d[e].value, c[e].value, b), parser: d[e].parser });
	}); a.$family = { name: "fx:css:value" }; return a;
}, serve: function (c, b)
{
	if ($type(c) != "fx:css:value") { c = this.parse(c); } var a = []; c.each(function (d)
	{
		a = a.concat(d.parser.serve(d.value, b));
	}); return a;
}, render: function (a, d, c, b) { a.setStyle(d, this.serve(c, b)); }, search: function (a)
{
	if (Fx.CSS.Cache[a]) { return Fx.CSS.Cache[a]; } var b = {}; Array.each(document.styleSheets, function (e, d)
	{
		var c = e.href;
		if (c && c.contains("://") && !c.contains(document.domain)) { return; } var f = e.rules || e.cssRules; Array.each(f, function (j, g)
		{
			if (!j.style) { return; } var h = (j.selectorText) ? j.selectorText.replace(/^\w+/, function (i)
			{
				return i.toLowerCase();
			}) : null; if (!h || !h.test("^" + a + "$")) { return; } Element.Styles.each(function (k, i)
			{
				if (!j.style[i] || Element.ShortStyles[i]) { return; } k = String(j.style[i]); b[i] = (k.test(/^rgb/)) ? k.rgbToHex() : k;
			});
		});
	}); return Fx.CSS.Cache[a] = b;
} 
}); Fx.CSS.Cache = {}; Fx.CSS.Parsers = new Hash({ Color: { parse: function (a)
{
	if (a.match(/^#[0-9a-f]{3,6}$/i))
	{
		return a.hexToRgb(true);
	} return ((a = a.match(/(\d+),\s*(\d+),\s*(\d+)/))) ? [a[1], a[2], a[3]] : false;
}, compute: function (c, b, a)
{
	return c.map(function (e, d)
	{
		return Math.round(Fx.compute(c[d], b[d], a));
	});
}, serve: function (a) { return a.map(Number); } 
}, Number: { parse: parseFloat, compute: Fx.compute, serve: function (b, a) { return (a) ? b + a : b; } }, String: { parse: $lambda(false), compute: $arguments(1), serve: $arguments(0)}
});
Fx.Tween = new Class({ Extends: Fx.CSS, initialize: function (b, a) { this.element = this.subject = document.id(b); this.parent(a); }, set: function (b, a)
{
	if (arguments.length == 1)
	{
		a = b;
		b = this.property || this.options.property;
	} this.render(this.element, b, a, this.options.unit); return this;
}, start: function (c, e, d)
{
	if (!this.check(c, e, d))
	{
		return this;
	} var b = Array.flatten(arguments); this.property = this.options.property || b.shift(); var a = this.prepare(this.element, this.property, b); return this.parent(a.from, a.to);
} 
}); Element.Properties.tween = { set: function (a)
{
	var b = this.retrieve("tween"); if (b) { b.cancel(); } return this.eliminate("tween").store("tween:options", $extend({ link: "cancel" }, a));
}, get: function (a)
{
	if (a || !this.retrieve("tween"))
	{
		if (a || !this.retrieve("tween:options")) { this.set("tween", a); } this.store("tween", new Fx.Tween(this, this.retrieve("tween:options")));
	} return this.retrieve("tween");
} 
}; Element.implement({ tween: function (a, c, b) { this.get("tween").start(arguments); return this; }, fade: function (c)
{
	var e = this.get("tween"), d = "opacity", a;
	c = $pick(c, "toggle"); switch (c)
	{
		case "in": e.start(d, 1); break; case "out": e.start(d, 0); break; case "show": e.set(d, 1); break; case "hide": e.set(d, 0); break; case "toggle": var b = this.retrieve("fade:flag", this.get("opacity") == 1);
			e.start(d, (b) ? 0 : 1); this.store("fade:flag", !b); a = true; break; default: e.start(d, arguments);
	} if (!a) { this.eliminate("fade:flag"); } return this;
}, highlight: function (c, a)
{
	if (!a)
	{
		a = this.retrieve("highlight:original", this.getStyle("background-color"));
		a = (a == "transparent") ? "#fff" : a;
	} var b = this.get("tween"); b.start("background-color", c || "#ffff88", a).chain(function ()
	{
		this.setStyle("background-color", this.retrieve("highlight:original"));
		b.callChain();
	} .bind(this)); return this;
} 
}); Fx.Morph = new Class({ Extends: Fx.CSS, initialize: function (b, a)
{
	this.element = this.subject = document.id(b); this.parent(a);
}, set: function (a) { if (typeof a == "string") { a = this.search(a); } for (var b in a) { this.render(this.element, b, a[b], this.options.unit); } return this; }, compute: function (e, d, c)
{
	var a = {};
	for (var b in e) { a[b] = this.parent(e[b], d[b], c); } return a;
}, start: function (b)
{
	if (!this.check(b)) { return this; } if (typeof b == "string") { b = this.search(b); } var e = {}, d = {};
	for (var c in b) { var a = this.prepare(this.element, c, b[c]); e[c] = a.from; d[c] = a.to; } return this.parent(e, d);
} 
}); Element.Properties.morph = { set: function (a)
{
	var b = this.retrieve("morph");
	if (b) { b.cancel(); } return this.eliminate("morph").store("morph:options", $extend({ link: "cancel" }, a));
}, get: function (a)
{
	if (a || !this.retrieve("morph"))
	{
		if (a || !this.retrieve("morph:options"))
		{
			this.set("morph", a);
		} this.store("morph", new Fx.Morph(this, this.retrieve("morph:options")));
	} return this.retrieve("morph");
} 
}; Element.implement({ morph: function (a)
{
	this.get("morph").start(a);
	return this;
} 
}); Fx.implement({ getTransition: function ()
{
	var a = this.options.transition || Fx.Transitions.Sine.easeInOut; if (typeof a == "string")
	{
		var b = a.split(":");
		a = Fx.Transitions; a = a[b[0]] || a[b[0].capitalize()]; if (b[1]) { a = a["ease" + b[1].capitalize() + (b[2] ? b[2].capitalize() : "")]; } 
	} return a;
} 
}); Fx.Transition = function (b, a)
{
	a = $splat(a);
	return $extend(b, { easeIn: function (c) { return b(c, a); }, easeOut: function (c) { return 1 - b(1 - c, a); }, easeInOut: function (c)
	{
		return (c <= 0.5) ? b(2 * c, a) / 2 : (2 - b(2 * (1 - c), a)) / 2;
	} 
	});
}; Fx.Transitions = new Hash({ linear: $arguments(0) }); Fx.Transitions.extend = function (a) { for (var b in a) { Fx.Transitions[b] = new Fx.Transition(a[b]); } }; Fx.Transitions.extend({ Pow: function (b, a)
{
	return Math.pow(b, a[0] || 6);
}, Expo: function (a) { return Math.pow(2, 8 * (a - 1)); }, Circ: function (a) { return 1 - Math.sin(Math.acos(a)); }, Sine: function (a)
{
	return 1 - Math.sin((1 - a) * Math.PI / 2);
}, Back: function (b, a) { a = a[0] || 1.618; return Math.pow(b, 2) * ((a + 1) * b - a); }, Bounce: function (f)
{
	var e; for (var d = 0, c = 1; 1; d += c, c /= 2)
	{
		if (f >= (7 - 4 * d) / 11)
		{
			e = c * c - Math.pow((11 - 6 * d - 11 * f) / 4, 2);
			break;
		} 
	} return e;
}, Elastic: function (b, a) { return Math.pow(2, 10 * --b) * Math.cos(20 * b * Math.PI * (a[0] || 1) / 3); } 
}); ["Quad", "Cubic", "Quart", "Quint"].each(function (b, a)
{
	Fx.Transitions[b] = new Fx.Transition(function (c)
	{
		return Math.pow(c, [a + 2]);
	});
}); var Request = new Class({ Implements: [Chain, Events, Options], options: { url: "", data: "", headers: { "X-Requested-With": "XMLHttpRequest", Accept: "text/javascript, text/html, application/xml, text/xml, */*" }, async: true, format: false, method: "post", link: "ignore", isSuccess: null, emulation: true, urlEncoded: true, encoding: "utf-8", evalScripts: false, evalResponse: false, noCache: false }, initialize: function (a)
{
	this.xhr = new Browser.Request();
	this.setOptions(a); this.options.isSuccess = this.options.isSuccess || this.isSuccess; this.headers = new Hash(this.options.headers);
}, onStateChange: function ()
{
	if (this.xhr.readyState != 4 || !this.running)
	{
		return;
	} this.running = false; this.status = 0; $try(function () { this.status = this.xhr.status; } .bind(this)); this.xhr.onreadystatechange = $empty; if (this.options.isSuccess.call(this, this.status))
	{
		this.response = { text: this.xhr.responseText, xml: this.xhr.responseXML };
		this.success(this.response.text, this.response.xml);
	} else { this.response = { text: null, xml: null }; this.failure(); } 
}, isSuccess: function ()
{
	return ((this.status >= 200) && (this.status < 300));
}, processScripts: function (a)
{
	if (this.options.evalResponse || (/(ecma|java)script/).test(this.getHeader("Content-type"))) { return $exec(a); } return a.stripScripts(this.options.evalScripts);
}, success: function (b, a) { this.onSuccess(this.processScripts(b), a); }, onSuccess: function ()
{
	this.fireEvent("complete", arguments).fireEvent("success", arguments).callChain();
}, failure: function () { this.onFailure(); }, onFailure: function () { this.fireEvent("complete").fireEvent("failure", this.xhr); }, setHeader: function (a, b)
{
	this.headers.set(a, b);
	return this;
}, getHeader: function (a) { return $try(function () { return this.xhr.getResponseHeader(a); } .bind(this)); }, check: function ()
{
	if (!this.running)
	{
		return true;
	} switch (this.options.link) { case "cancel": this.cancel(); return true; case "chain": this.chain(this.caller.bind(this, arguments)); return false; } return false;
}, send: function (k)
{
	if (!this.check(k))
	{
		return this;
	} this.running = true; var i = $type(k); if (i == "string" || i == "element") { k = { data: k }; } var d = this.options; k = $extend({ data: d.data, url: d.url, method: d.method }, k); var g = k.data, b = k.url, a = k.method.toLowerCase();
	switch ($type(g)) { case "element": g = document.id(g).toQueryString(); break; case "object": case "hash": g = Hash.toQueryString(g); } if (this.options.format)
	{
		var j = "format=" + this.options.format;
		g = (g) ? j + "&" + g : j;
	} if (this.options.emulation && !["get", "post"].contains(a)) { var h = "_method=" + a; g = (g) ? h + "&" + g : h; a = "post"; } if (this.options.urlEncoded && a == "post")
	{
		var c = (this.options.encoding) ? "; charset=" + this.options.encoding : "";
		this.headers.set("Content-type", "application/x-www-form-urlencoded" + c);
	} if (this.options.noCache)
	{
		var f = "noCache=" + new Date().getTime(); g = (g) ? f + "&" + g : f;
	} var e = b.lastIndexOf("/"); if (e > -1 && (e = b.indexOf("#")) > -1) { b = b.substr(0, e); } if (g && a == "get") { b = b + (b.contains("?") ? "&" : "?") + g; g = null; } this.xhr.open(a.toUpperCase(), b, this.options.async);
	this.xhr.onreadystatechange = this.onStateChange.bind(this); this.headers.each(function (m, l)
	{
		try { this.xhr.setRequestHeader(l, m); } catch (n)
		{
			this.fireEvent("exception", [l, m]);
		} 
	}, this); this.fireEvent("request"); this.xhr.send(g); if (!this.options.async) { this.onStateChange(); } return this;
}, cancel: function ()
{
	if (!this.running)
	{
		return this;
	} this.running = false; this.xhr.abort(); this.xhr.onreadystatechange = $empty; this.xhr = new Browser.Request(); this.fireEvent("cancel"); return this;
} 
}); (function ()
{
	var a = {};
	["get", "post", "put", "delete", "GET", "POST", "PUT", "DELETE"].each(function (b)
	{
		a[b] = function ()
		{
			var c = Array.link(arguments, { url: String.type, data: $defined });
			return this.send($extend(c, { method: b }));
		};
	}); Request.implement(a);
})(); Element.Properties.send = { set: function (a)
{
	var b = this.retrieve("send"); if (b)
	{
		b.cancel();
	} return this.eliminate("send").store("send:options", $extend({ data: this, link: "cancel", method: this.get("method") || "post", url: this.get("action") }, a));
}, get: function (a)
{
	if (a || !this.retrieve("send"))
	{
		if (a || !this.retrieve("send:options"))
		{
			this.set("send", a);
		} this.store("send", new Request(this.retrieve("send:options")));
	} return this.retrieve("send");
} 
}; Element.implement({ send: function (a)
{
	var b = this.get("send");
	b.send({ data: this, url: a || b.options.url }); return this;
} 
}); Request.HTML = new Class({ Extends: Request, options: { update: false, append: false, evalScripts: true, filter: false }, processHTML: function (c)
{
	var b = c.match(/<body[^>]*>([\s\S]*?)<\/body>/i);
	c = (b) ? b[1] : c; var a = new Element("div"); return $try(function ()
	{
		var d = "<root>" + c + "</root>", g; if (Browser.Engine.trident)
		{
			g = new ActiveXObject("Microsoft.XMLDOM");
			g.async = false; g.loadXML(d);
		} else { g = new DOMParser().parseFromString(d, "text/xml"); } d = g.getElementsByTagName("root")[0]; if (!d) { return null; } for (var f = 0, e = d.childNodes.length;
f < e; f++) { var h = Element.clone(d.childNodes[f], true, true); if (h) { a.grab(h); } } return a;
	}) || a.set("html", c);
}, success: function (d)
{
	var c = this.options, b = this.response;
	b.html = d.stripScripts(function (e) { b.javascript = e; }); var a = this.processHTML(b.html); b.tree = a.childNodes; b.elements = a.getElements("*"); if (c.filter)
	{
		b.tree = b.elements.filter(c.filter);
	} if (c.update) { document.id(c.update).empty().set("html", b.html); } else { if (c.append) { document.id(c.append).adopt(a.getChildren()); } } if (c.evalScripts)
	{
		$exec(b.javascript);
	} this.onSuccess(b.tree, b.elements, b.html, b.javascript);
} 
}); Element.Properties.load = { set: function (a)
{
	var b = this.retrieve("load"); if (b) { b.cancel(); } return this.eliminate("load").store("load:options", $extend({ data: this, link: "cancel", update: this, method: "get" }, a));
}, get: function (a)
{
	if (a || !this.retrieve("load"))
	{
		if (a || !this.retrieve("load:options")) { this.set("load", a); } this.store("load", new Request.HTML(this.retrieve("load:options")));
	} return this.retrieve("load");
} 
}; Element.implement({ load: function ()
{
	this.get("load").send(Array.link(arguments, { data: Object.type, url: String.type })); return this;
} 
}); Request.JSON = new Class({ Extends: Request, options: { secure: true }, initialize: function (a)
{
	this.parent(a); this.headers.extend({ Accept: "application/json", "X-Request": "JSON" });
}, success: function (a) { this.response.json = JSON.decode(a, this.options.secure); this.onSuccess(this.response.json, a); } 
});
var StringBuilder = new Class(
{
	initialize: function ()
	{
		this.buffer = [];
	},

	append: function (string)
	{
		this.buffer.push(string);
	},

	flush: function ()
	{
		return this.buffer.join("");
	},

	clear: function ()
	{
		this.buffer = [];
	}
});
/*
* Copyright (c) 2009 Simo Kinnunen.
* Licensed under the MIT license.
*/
var Cufon = (function () { var J = function () { return J.replace.apply(null, arguments) }; var R = J.DOM = { ready: (function () { var W = false, Y = { loaded: 1, complete: 1 }; var V = [], X = function () { if (W) { return } W = true; for (var Z; Z = V.shift(); Z()) { } }; if (document.addEventListener) { document.addEventListener("DOMContentLoaded", X, false); window.addEventListener("pageshow", X, false) } if (!window.opera && document.readyState) { (function () { Y[document.readyState] ? X() : setTimeout(arguments.callee, 10) })() } if (document.readyState && document.createStyleSheet) { (function () { try { document.body.doScroll("left"); X() } catch (Z) { setTimeout(arguments.callee, 1) } })() } N(window, "load", X); return function (Z) { if (!arguments.length) { X() } else { W ? Z() : V.push(Z) } } })() }; var K = J.CSS = { Size: function (W, V) { this.value = parseFloat(W); this.unit = String(W).match(/[a-z%]*$/)[0] || "px"; this.convert = function (X) { return X / V * this.value }; this.convertFrom = function (X) { return X / this.value * V }; this.toString = function () { return this.value + this.unit } }, getStyle: function (W) { var V = document.defaultView; if (V && V.getComputedStyle) { return new A(V.getComputedStyle(W, null)) } if (W.currentStyle) { return new A(W.currentStyle) } return new A(W.style) }, ready: (function () { var X = false; var W = [], Y = function () { X = true; for (var a; a = W.shift(); a()) { } }; var V = Object.prototype.propertyIsEnumerable ? E("style") : { length: 0 }; var Z = E("link"); R.ready(function () { var d = 0, c; for (var b = 0, a = Z.length; c = Z[b], b < a; ++b) { if (!c.disabled && c.rel.toLowerCase() == "stylesheet") { ++d } } if (document.styleSheets.length >= V.length + d) { Y() } else { setTimeout(arguments.callee, 10) } }); return function (a) { if (X) { a() } else { W.push(a) } } })(), supports: function (X, W) { var V = document.createElement("span").style; if (V[X] === undefined) { return false } V[X] = W; return V[X] === W }, textAlign: function (Y, X, V, W) { if (X.get("textAlign") == "right") { if (V > 0) { Y = " " + Y } } else { if (V < W - 1) { Y += " " } } return Y }, textDecoration: function (a, Z) { if (!Z) { Z = this.getStyle(a) } var W = { underline: null, overline: null, "line-through": null }; for (var V = a; V.parentNode && V.parentNode.nodeType == 1; ) { var Y = true; for (var X in W) { if (W[X]) { continue } if (Z.get("textDecoration").indexOf(X) != -1) { W[X] = Z.get("color") } Y = false } if (Y) { break } Z = this.getStyle(V = V.parentNode) } return W }, textShadow: H(function (Z) { if (Z == "none") { return null } var Y = [], a = {}, V, W = 0; var X = /(#[a-f0-9]+|[a-z]+\(.*?\)|[a-z]+)|(-?[\d.]+[a-z%]*)|,/ig; while (V = X.exec(Z)) { if (V[0] == ",") { Y.push(a); a = {}, W = 0 } else { if (V[1]) { a.color = V[1] } else { a[["offX", "offY", "blur"][W++]] = V[2] } } } Y.push(a); return Y }), color: H(function (W) { var V = {}; V.color = W.replace(/^rgba\((.*?),\s*([\d.]+)\)/, function (Y, X, Z) { V.opacity = parseFloat(Z); return "rgb(" + X + ")" }); return V }), textTransform: function (W, V) { return W[{ uppercase: "toUpperCase", lowercase: "toLowerCase"}[V.get("textTransform")] || "toString"]() } }; J.VML = { parsePath: function (Y) { var V = [], X = /([mrvxe])([^a-z]*)/g, W; while (W = X.exec(Y)) { V.push({ type: W[1], coords: W[2].split(",") }) } return V } }; function O(W) { var V = this.face = W.face; this.glyphs = W.glyphs; this.w = W.w; this.baseSize = parseInt(V["units-per-em"], 10); this.family = V["font-family"].toLowerCase(); this.weight = V["font-weight"]; this.style = V["font-style"] || "normal"; this.viewBox = (function () { var X = V.bbox.split(/\s+/); return { minX: parseInt(X[0], 10), minY: parseInt(X[1], 10), width: parseInt(X[2], 10) - parseInt(X[0], 10), height: parseInt(X[3], 10) - parseInt(X[1], 10), toString: function () { return [this.minX, this.minY, this.width, this.height].join(" ") } } })(); this.ascent = -parseInt(V.ascent, 10); this.descent = -parseInt(V.descent, 10); this.height = -this.ascent + this.descent } function D() { var W = {}, V = { oblique: "italic", italic: "oblique" }; this.add = function (X) { (W[X.style] || (W[X.style] = {}))[X.weight] = X }; this.get = function (b, c) { var a = W[b] || W[V[b]] || W.normal || W.italic || W.oblique; if (!a) { return null } c = { normal: 400, bold: 700}[c] || parseInt(c, 10); if (a[c]) { return a[c] } var Y = { 1: 1, 99: 0}[c % 100], e = [], Z, X; if (Y === undefined) { Y = c > 400 } if (c == 500) { c = 400 } for (var d in a) { d = parseInt(d, 10); if (!Z || d < Z) { Z = d } if (!X || d > X) { X = d } e.push(d) } if (c < Z) { c = Z } if (c > X) { c = X } e.sort(function (g, f) { return (Y ? (g > c && f > c) ? g < f : g > f : (g < c && f < c) ? g > f : g < f) ? -1 : 1 }); return a[e[0]] } } function U() { var X = {}, V = 0; function W(Y) { return Y.cufid || (Y.cufid = ++V) } this.get = function (Y) { var Z = W(Y); return X[Z] || (X[Z] = {}) } } function A(V) { var X = {}, W = {}; this.get = function (Y) { return X[Y] != undefined ? X[Y] : V[Y] }; this.getSize = function (Z, Y) { return W[Z] || (W[Z] = new K.Size(this.get(Z), Y)) }; this.extend = function (Y) { for (var Z in Y) { X[Z] = Y[Z] } return this } } function N(W, V, X) { if (W.addEventListener) { W.addEventListener(V, X, false) } else { if (W.attachEvent) { W.attachEvent("on" + V, function () { return X.apply(W, arguments) }) } } } function H(V) { var W = {}; return function (X) { if (!W.hasOwnProperty(X)) { W[X] = V.apply(null, arguments) } return W[X] } } function B(a, Z) { if (!Z) { Z = K.getStyle(a) } var W = Z.get("fontFamily").split(/\s*,\s*/), Y; for (var X = 0, V = W.length; X < V; ++X) { Y = W[X].replace(/^(["'])(.*?)\1$/, "$2").toLowerCase(); if (G[Y]) { return G[Y].get(Z.get("fontStyle"), Z.get("fontWeight")) } } return null } function E(V) { return document.getElementsByTagName(V) } function F() { var V = {}, Y; for (var X = 0, W = arguments.length; X < W; ++X) { for (Y in arguments[X]) { V[Y] = arguments[X][Y] } } return V } function L(Y, g, W, h, Z, X) { var f = h.separate; if (f == "none") { return T[h.engine].apply(null, arguments) } var e = document.createDocumentFragment(), b; var c = g.split(M[f]), V = (f == "words"); if (V && P) { if (/^\s/.test(g)) { c.unshift("") } if (/\s$/.test(g)) { c.push("") } } for (var d = 0, a = c.length; d < a; ++d) { b = T[h.engine](Y, V ? K.textAlign(c[d], W, d, a) : c[d], W, h, Z, X, d < a - 1); if (b) { e.appendChild(b) } } return e } function I(W, d) { var b = C.get(W); if (!d) { d = b.options } var X, V, a; for (var Y = W.firstChild; Y; Y = a) { a = Y.nextSibling; if (Y.nodeType == 1) { if (!Y.firstChild) { continue } if (!/cufon/.test(Y.className)) { arguments.callee(Y, d); continue } } var c = Y.nodeType == 3 ? Y.data : Y.alt; if (c === "") { continue } if (!V) { V = K.getStyle(W).extend(d) } if (!X) { X = B(W, V) } if (!X) { continue } var Z = L(X, c, V, d, Y, W); if (Z) { Y.parentNode.replaceChild(Z, Y) } else { Y.parentNode.removeChild(Y) } } if (!b.options) { b.options = d } } var P = " ".split(/\s+/).length == 0; var C = new U(); var S = []; var T = {}, G = {}, Q = { enableTextDecoration: false, engine: null, printable: true, selector: (window.Sizzle || window.jQuery || (window.dojo && dojo.query) || (window.$$ && function (V) { return $$(V) }) || (window.$ && function (V) { return $(V) }) || (document.querySelectorAll && function (V) { return document.querySelectorAll(V) }) || E), separate: "words", textShadow: "none" }; var M = { words: /\s+/, characters: "" }; J.now = function () { R.ready(); return J }; J.refresh = function () { var X = S.splice(0, S.length); for (var W = 0, V = X.length; W < V; ++W) { J.replace.apply(null, X[W]) } return J }; J.registerEngine = function (W, V) { if (!V) { return J } T[W] = V; return J.set("engine", W) }; J.registerFont = function (X) { var V = new O(X), W = V.family; if (!G[W]) { G[W] = new D() } G[W].add(V); return J.set("fontFamily", W) }; J.replace = function (X, W, V) { W = F(Q, W); if (!W.engine) { return J } if (typeof W.textShadow == "string") { W.textShadow = K.textShadow(W.textShadow) } if (!V) { S.push(arguments) } if (X.nodeType || typeof X == "string") { X = [X] } K.ready(function () { for (var Z = 0, Y = X.length; Z < Y; ++Z) { var a = X[Z]; if (typeof a == "string") { J.replace(W.selector(a), W, true) } else { I(a, W) } } }); return J }; J.set = function (V, W) { Q[V] = W; return J }; return J })(); Cufon.registerEngine("canvas", (function () { var B = document.createElement("canvas"); if (!B || !B.getContext || !B.getContext.apply) { return null } B = null; var A = Cufon.CSS.supports("display", "inline-block"); var E = !A && (document.compatMode == "BackCompat" || /frameset|transitional/i.test(document.doctype.publicId)); var F = document.createElement("style"); F.type = "text/css"; F.appendChild(document.createTextNode("@media screen,projection{.cufon-canvas{display:inline;display:inline-block;position:relative;vertical-align:middle" + (E ? "" : ";font-size:1px;line-height:1px") + "}.cufon-canvas .cufon-alt{display:none}" + (A ? ".cufon-canvas canvas{position:relative}" : ".cufon-canvas canvas{position:absolute}") + "}@media print{.cufon-canvas{padding:0 !important}.cufon-canvas canvas{display:none}.cufon-canvas .cufon-alt{display:inline}}")); document.getElementsByTagName("head")[0].appendChild(F); function D(O, I) { var N = 0, M = 0; var G = Cufon.VML.parsePath(O); var H = new Array(G.length - 1); generate: for (var K = 0, J = G.length; K < J; ++K) { var L = G[K].coords; switch (G[K].type) { case "v": H[K] = { m: "bezierCurveTo", a: [N + Number(L[0]), M + Number(L[1]), N + Number(L[2]), M + Number(L[3]), N += Number(L[4]), M += Number(L[5])] }; break; case "r": H[K] = { m: "lineTo", a: [N += Number(L[0]), M += Number(L[1])] }; break; case "m": H[K] = { m: "moveTo", a: [N = Number(L[0]), M = Number(L[1])] }; break; case "x": H[K] = { m: "closePath" }; break; case "e": break generate } I[H[K].m].apply(I, H[K].a) } return H } function C(K, J) { for (var I = 0, H = K.length; I < H; ++I) { var G = K[I]; J[G.m].apply(J, G.a) } } return function (p, S, j, O, W, q) { var U = p.viewBox; var I = j.getSize("fontSize", p.baseSize); var f = j.get("letterSpacing"); f = (f == "normal") ? 0 : I.convertFrom(parseInt(f, 10)); var V = 0, h = 0, e = 0, Q = 0; var T = O.textShadow, c = []; if (T) { for (var o = 0, k = T.length; o < k; ++o) { var Y = T[o]; var b = I.convertFrom(parseFloat(Y.offX)); var a = I.convertFrom(parseFloat(Y.offY)); c[o] = [b, a]; if (a < V) { V = a } if (b > h) { h = b } if (a > e) { e = a } if (b < Q) { Q = b } } } var t = Cufon.CSS.textTransform(S, j).split(""); var G = 0, R = null; for (var o = 0, k = t.length; o < k; ++o) { var P = p.glyphs[t[o]] || p.missingGlyph; if (!P) { continue } G += R = Number(P.w || p.w) + f } if (R === null) { return null } h += (U.width - R); Q += U.minX; var N = document.createElement("span"); N.className = "cufon cufon-canvas"; N.alt = S; var J = document.createElement("canvas"); var u = N.style; var Z = J.style; var H = I.convert(U.height - V + e); var s = Math.ceil(H); var d = s / H; J.width = Math.ceil(I.convert(G + h - Q) * d); J.height = s; V += U.minY; Z.top = Math.round(I.convert(V - p.ascent)) + "px"; Z.left = Math.round(I.convert(Q)) + "px"; var M = Math.ceil(I.convert(G * d)) + "px"; if (A) { u.width = M; u.height = I.convert(p.height) + "px" } else { u.paddingLeft = M; u.paddingBottom = (I.convert(p.height) - 1) + "px" } var r = J.getContext("2d"), X = s / U.height; r.scale(X, X); r.translate(-Q, -V); r.lineWidth = p.face["underline-thickness"]; r.save(); function K(i, g) { r.strokeStyle = g; r.beginPath(); r.moveTo(0, i); r.lineTo(G, i); r.stroke() } var L = O.enableTextDecoration ? Cufon.CSS.textDecoration(q, j) : {}; if (L.underline) { K(-p.face["underline-position"], L.underline) } if (L.overline) { K(p.ascent, L.overline) } r.fillStyle = j.get("color"); function n() { for (var v = 0, g = t.length; v < g; ++v) { var w = p.glyphs[t[v]] || p.missingGlyph; if (!w) { continue } r.beginPath(); if (w.d) { if (w.code) { C(w.code, r) } else { w.code = D("m" + w.d, r) } } r.fill(); r.translate(Number(w.w || p.w) + f, 0) } } if (T) { for (var o = 0, k = T.length; o < k; ++o) { var Y = T[o]; r.save(); r.fillStyle = Y.color; r.translate.apply(r, c[o]); n(); r.restore() } } n(); r.restore(); if (L["line-through"]) { K(-p.descent, L["line-through"]) } N.appendChild(J); if (O.printable) { var m = document.createElement("span"); m.className = "cufon-alt"; m.appendChild(document.createTextNode(S)); N.appendChild(m) } return N } })()); Cufon.registerEngine("vml", (function () { if (!document.namespaces) { return } document.write('<!--[if vml]><script type="text/javascript">Cufon.vmlEnabled=true;<\/script><![endif]-->'); if (!Cufon.vmlEnabled) { return } if (document.namespaces.cvml == null) { document.namespaces.add("cvml", "urn:schemas-microsoft-com:vml"); document.write('<style type="text/css">@media screen{cvml\\:shape,cvml\\:group,cvml\\:shapetype,cvml\\:fill{behavior:url(#default#VML);display:inline-block;antialias:true;position:absolute}.cufon-vml{display:inline-block;position:relative;vertical-align:middle}.cufon-vml .cufon-alt{display:none}a .cufon-vml{cursor:pointer}}@media print{.cufon-vml *{display:none}.cufon-vml .cufon-alt{display:inline}}</style>') } var C = 0; function B(E, F) { return A(E, /(?:em|ex|%)$/i.test(F) ? "1em" : F) } function A(H, I) { if (/px$/i.test(I)) { return parseFloat(I) } var G = H.style.left, F = H.runtimeStyle.left; H.runtimeStyle.left = H.currentStyle.left; H.style.left = I; var E = H.style.pixelLeft; H.style.left = G; H.runtimeStyle.left = F; return E } function D(F, H) { var E = document.createElement("cvml:shapetype"); E.id = "cufon-glyph-" + C++; F.typeRef = "#" + E.id; E.stroked = "f"; E.coordsize = H.width + "," + H.height; E.coordorigin = H.minX + "," + H.minY; var G = "m" + H.minX + "," + H.minY + " r" + H.width + "," + H.height; E.path = (F.d ? "m" + F.d + "x" : "") + G; document.body.insertBefore(E, document.body.firstChild) } return function (j, R, e, O, V, k, c) { var U = j.viewBox; var G = e.computedFontSize || (e.computedFontSize = new Cufon.CSS.Size(B(k, e.get("fontSize")) + "px", j.baseSize)); var b = e.computedLSpacing; if (b == undefined) { b = e.get("letterSpacing"); e.computedLSpacing = b = (b == "normal") ? 0 : G.convertFrom(A(k, b)) } var N = document.createElement("span"); N.className = "cufon cufon-vml"; N.alt = R; var H = document.createElement("cvml:group"); var r = N.runtimeStyle; var X = H.runtimeStyle; var F = G.convert(U.height); X.height = Math.ceil(F); X.top = Math.round(G.convert(U.minY - j.ascent)); X.left = Math.round(G.convert(U.minX)); var a = parseInt(X.height, 10) / F; r.height = G.convert(-j.ascent + j.descent) + "px"; var J = O.enableTextDecoration ? Cufon.CSS.textDecoration(k, e) : {}; var Q = e.get("color"); var o = Cufon.CSS.textTransform(R, e).split(""); var E = 0, Z = 0, K = null; var T = O.textShadow; for (var h = 0, f = o.length; h < f; ++h) { var P = j.glyphs[o[h]] || j.missingGlyph; if (!P) { continue } if (!P.typeRef) { D(P, U) } var L = document.createElement("cvml:shape"); L.type = P.typeRef; var m = L.runtimeStyle; m.width = U.width; m.height = U.height; m.top = 0; m.left = Z; m.zIndex = 1; L.fillcolor = Q; H.appendChild(L); if (T) { for (var Y = 0, d = T.length; Y < d; ++Y) { var W = T[Y]; var q = Cufon.CSS.color(W.color); var I = L.cloneNode(false), S = I.runtimeStyle; S.top = G.convertFrom(parseFloat(W.offY)); S.left = Z + G.convertFrom(parseFloat(W.offX)); S.zIndex = 0; I.fillcolor = q.color; if (q.opacity) { var n = document.createElement("cvml:fill"); n.opacity = q.opacity; I.appendChild(n) } H.appendChild(I) } } K = Number(P.w || j.w) + b; E += K; Z += K } if (K === null) { return null } var M = -U.minX + E + (U.width - K); H.coordsize = M + "," + U.height; X.width = G.convert(M * a); r.width = Math.max(Math.ceil(G.convert(E * a)), 0); N.appendChild(H); if (O.printable) { var g = document.createElement("span"); g.className = "cufon-alt"; g.innerText = R; N.appendChild(g) } if (!c) { N.appendChild(document.createElement("cvml:group")) } return N } })());
Cufon.registerFont({ "w": 182, "face": { "font-family": "Calibri", "font-weight": 400, "font-stretch": "normal", "units-per-em": "360", "panose-1": "2 15 5 2 2 2 4 3 2 4", "ascent": "270", "descent": "-90", "x-height": "3", "cap-height": "1", "bbox": "-8 -285 309 64", "underline-thickness": "24", "underline-position": "-29", "unicode-range": "U+0020-U+00FC" }, "glyphs": { " ": { "w": 81 }, "\u00a0": { "w": 81 }, "A": { "d": "201,-11v1,3,1,5,1,7v0,1,0,2,-2,3v0,1,-2,1,-4,1v-2,1,-5,1,-9,1r-9,0v-2,0,-4,0,-4,-1v-2,-1,-2,-1,-2,-2r-2,-2r-20,-56r-94,0r-19,55v0,1,0,1,-1,3v-1,0,-2,1,-3,2r-5,0v-2,1,-5,1,-8,1v-3,0,-6,0,-8,-1v-2,0,-4,0,-4,-1v-2,-1,-2,-2,-2,-3v0,-2,1,-4,2,-7r76,-211v1,-1,1,-2,2,-4v1,0,2,-1,3,-2r5,0v3,-1,6,-1,10,-1v3,0,6,0,9,1r6,0v1,1,3,2,3,2v2,2,2,3,2,4xm103,-197r-1,0r-39,113r79,0", "w": 208 }, "\u00c4": { "d": "85,-269v0,7,-1,11,-3,13v-3,3,-7,4,-14,4v-7,0,-11,-1,-14,-4v-2,-2,-3,-6,-3,-12v0,-7,1,-11,3,-14v3,-2,7,-3,14,-3v7,0,11,1,14,3v2,3,3,7,3,13xm158,-269v0,7,-1,11,-4,13v-2,3,-6,4,-13,4v-7,0,-11,-1,-13,-4v-3,-2,-4,-6,-4,-12v0,-7,1,-11,4,-14v2,-2,6,-3,13,-3v7,0,11,1,13,3v3,3,4,7,4,13xm201,-11v1,3,1,5,1,7v0,1,0,2,-2,3v0,1,-2,1,-4,1v-2,1,-5,1,-9,1r-9,0v-2,0,-4,0,-4,-1v-2,-1,-2,-1,-2,-2r-2,-2r-20,-56r-94,0r-19,55v0,1,0,1,-1,3v-1,0,-2,1,-3,2r-5,0v-2,1,-5,1,-8,1v-3,0,-6,0,-8,-1v-2,0,-4,0,-4,-1v-2,-1,-2,-2,-2,-3v0,-2,1,-4,2,-7r76,-211v1,-1,1,-2,2,-4v1,0,2,-1,3,-2r5,0v3,-1,6,-1,10,-1v3,0,6,0,9,1r6,0v1,1,3,2,3,2v2,2,2,3,2,4xm103,-197r-1,0r-39,113r79,0", "w": 208 }, "B": { "d": "180,-65v0,7,-1,14,-2,20v-2,6,-5,11,-8,16v-3,5,-7,9,-12,13v-5,3,-10,6,-16,8v-5,3,-11,5,-18,6v-7,1,-14,2,-23,2r-60,0v-3,0,-5,-1,-7,-2v-3,-2,-4,-5,-4,-10r0,-203v0,-5,1,-8,4,-9v2,-2,4,-3,7,-3r52,0v14,0,25,1,34,3v9,3,16,6,21,12v6,4,10,10,14,18v2,6,4,15,4,24v0,5,-1,10,-2,16v-1,4,-3,9,-6,13v-3,4,-6,8,-10,11v-3,3,-7,6,-12,8v6,1,12,4,17,6v5,4,10,8,14,12v4,6,7,11,9,18v3,6,4,13,4,21xm135,-167v0,-5,-1,-10,-3,-15v-1,-5,-4,-8,-7,-12v-3,-2,-8,-5,-13,-6v-5,-2,-12,-3,-21,-3r-31,0r0,74r35,0v7,0,13,-1,19,-3v4,-2,8,-5,12,-8v2,-4,5,-8,6,-13v2,-5,3,-9,3,-14xm148,-63v0,-7,-1,-13,-3,-19v-2,-4,-5,-9,-9,-12v-5,-4,-10,-7,-16,-8v-6,-2,-14,-3,-24,-3r-36,0r0,80r44,0v7,0,13,-1,18,-3v5,-1,10,-4,14,-7v4,-3,7,-7,9,-12v2,-5,3,-10,3,-16", "w": 196 }, "C": { "d": "182,-32r0,5r0,3v-1,2,-1,2,-2,3v-1,1,-2,2,-2,3v-2,1,-4,3,-8,6v-3,2,-8,4,-14,6v-5,3,-12,5,-19,6v-7,2,-15,3,-23,3v-15,0,-29,-3,-40,-7v-12,-6,-22,-13,-30,-22v-9,-10,-15,-22,-20,-36v-5,-14,-7,-30,-7,-49v0,-19,3,-35,7,-50v6,-15,12,-27,21,-37v9,-11,19,-19,31,-24v13,-5,26,-8,41,-8v7,0,13,0,19,2v7,0,12,2,18,4v4,2,9,4,14,6v4,3,7,5,8,6v1,2,2,4,3,4v1,2,1,2,1,4v1,0,1,2,1,4r0,5r0,5v0,0,0,4,-1,4v-1,2,-1,2,-2,3v-1,1,-1,1,-2,1v-2,0,-4,-1,-7,-4v-3,-2,-6,-4,-11,-7v-5,-3,-10,-5,-17,-7v-7,-3,-15,-4,-24,-4v-10,0,-19,2,-27,6v-9,4,-16,10,-22,18v-6,8,-10,18,-14,29v-2,11,-4,24,-4,39v0,14,2,26,4,38v4,10,8,20,14,28v5,7,12,13,21,16v9,4,18,6,29,6v9,0,16,-1,24,-4v6,-2,12,-4,17,-7v5,-3,9,-5,11,-7v4,-3,6,-4,8,-4v1,0,1,0,2,1v1,1,1,1,2,3r0,4r0,6", "w": 192 }, "D": { "d": "205,-117v0,19,-3,37,-7,51v-6,16,-13,28,-22,38v-10,9,-22,16,-36,21v-14,5,-31,7,-50,7r-49,0v-3,0,-5,-1,-7,-2v-3,-2,-4,-5,-4,-10r0,-203v0,-5,1,-8,4,-9v2,-2,4,-3,7,-3r52,0v20,0,37,3,50,7v13,6,25,13,34,22v9,9,16,21,21,34v5,14,7,30,7,47xm173,-116v0,-12,-1,-23,-5,-34v-2,-11,-7,-20,-14,-28v-6,-7,-14,-13,-24,-18v-10,-4,-23,-6,-39,-6r-31,0r0,177r32,0v14,0,26,-2,36,-5v10,-4,18,-10,25,-18v7,-7,12,-17,15,-28v3,-11,5,-25,5,-40", "w": 221 }, "E": { "d": "157,-12v0,2,0,4,-1,5v0,1,0,3,-1,4v-1,1,-1,2,-2,3r-2,0r-110,0v-3,0,-5,-1,-7,-2v-3,-2,-4,-5,-4,-10r0,-203v0,-5,1,-8,4,-9v2,-2,4,-3,7,-3r108,0v1,0,2,0,3,1v1,0,1,0,2,2v1,0,1,2,1,4r0,5r0,6v0,1,0,3,-1,3v-1,2,-1,2,-2,3v-1,1,-2,1,-3,1r-89,0r0,71r77,0v1,0,1,0,2,1r2,2v0,0,1,2,1,4v1,1,1,3,1,6v0,2,0,4,-1,5v0,1,0,3,-1,3v-1,2,-1,2,-2,2v-1,1,-1,1,-2,1r-77,0r0,82r91,0v1,0,1,0,2,1v1,0,1,0,2,2v1,0,1,2,1,4v1,1,1,3,1,6", "w": 176 }, "F": { "d": "150,-214r0,6v-1,1,-1,2,-2,4v-1,0,-1,1,-2,2r-2,0r-84,0r0,78r79,0r3,0v0,1,1,2,2,2r0,4v1,1,1,3,1,6v0,2,0,4,-1,6r0,4v-1,0,-2,1,-2,2v-2,1,-2,1,-3,1r-79,0r0,94r0,3v-1,1,-2,1,-2,2r-5,0v-2,1,-5,1,-8,1v-3,0,-5,0,-7,-1r-4,0v-2,-1,-2,-1,-3,-2v-1,-1,-1,-2,-1,-3r0,-210v0,-5,1,-8,4,-9v2,-2,4,-3,7,-3r103,0v1,0,1,0,2,1v1,0,1,0,2,2v1,0,1,2,2,4r0,6", "w": 165 }, "G": { "d": "201,-197v0,3,0,5,-1,7r0,4v-1,0,-1,1,-2,2v-1,1,-1,1,-2,1v-1,0,-4,-1,-7,-3v-3,-3,-8,-5,-13,-8v-6,-3,-13,-5,-20,-8v-8,-2,-17,-3,-28,-3v-12,0,-23,2,-33,7v-10,5,-19,11,-25,19v-8,8,-13,18,-16,29v-4,11,-6,23,-6,36v0,15,2,28,6,39v4,11,10,21,16,29v8,7,16,13,26,17v10,4,21,6,33,6v7,0,14,-1,21,-3v7,-1,14,-4,20,-7r0,-67r-52,0v-2,0,-4,-1,-4,-3v-2,-2,-2,-5,-2,-9r0,-6v0,-1,0,-2,1,-4v1,0,1,-1,2,-2r3,0r72,0r4,0v1,1,2,2,4,2v0,2,1,3,2,4v1,2,1,4,1,6r0,87v0,3,-1,5,-2,7v-1,3,-4,5,-7,6v-3,2,-8,4,-13,6v-5,2,-11,4,-17,5v-5,1,-11,2,-17,3v-6,1,-12,1,-17,1v-18,0,-34,-3,-48,-8v-13,-5,-25,-13,-34,-23v-10,-10,-18,-22,-22,-36v-6,-15,-8,-31,-8,-48v0,-18,3,-34,8,-49v5,-15,13,-27,23,-37v10,-11,22,-19,36,-24v14,-6,29,-9,46,-9v9,0,17,1,25,3v7,1,14,3,20,5v6,2,11,4,15,7v4,2,7,4,8,6v1,1,2,3,3,5v1,2,1,5,1,8", "w": 227 }, "H": { "d": "194,-5r0,3v-1,1,-2,1,-3,2r-5,0v-2,1,-4,1,-7,1v-3,0,-5,0,-7,-1r-5,0v-1,-1,-2,-1,-3,-2r0,-3r0,-100r-104,0r0,100r0,3v-1,1,-2,1,-2,2r-5,0v-2,1,-5,1,-8,1v-3,0,-5,0,-7,-1r-4,0v-2,-1,-2,-1,-3,-2v-1,-1,-1,-2,-1,-3r0,-218v0,-1,0,-1,1,-2v1,-1,1,-1,3,-2v0,-1,2,-1,4,-1v2,-1,4,-1,7,-1v3,0,6,0,8,1v2,0,3,0,5,1v0,1,1,1,2,2r0,2r0,91r104,0r0,-91r0,-2v1,-1,2,-1,3,-2v1,-1,3,-1,5,-1v2,-1,4,-1,7,-1v3,0,5,0,7,1v2,0,4,0,5,1v1,1,2,1,3,2r0,2r0,218", "w": 224 }, "I": { "d": "60,-5r0,3v-1,1,-2,1,-2,2r-5,0v-2,1,-5,1,-8,1v-3,0,-5,0,-7,-1r-4,0v-2,-1,-2,-1,-3,-2v-1,-1,-1,-2,-1,-3r0,-218v0,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,-2,1,-2,2r-4,0v-2,1,-5,1,-8,1v-3,0,-5,0,-6,-1r-4,0v-2,-1,-2,-1,-3,-2v-1,-1,-1,-2,-1,-3r0,-209v0,-5,1,-8,4,-10v3,-2,6,-3,9,-3r14,0v3,0,6,0,9,1v2,0,4,1,6,2v1,1,3,3,4,6v3,4,3,4,6,9r56,100v5,9,5,9,10,17r8,18r10,16v4,9,4,9,8,17r0,0r0,-29v-1,-10,-1,-20,-1,-29r0,-123v0,-1,0,-2,1,-3v1,-1,2,-1,2,-1v2,-1,3,-1,5,-2r7,0r7,0v2,1,3,1,5,2v0,0,1,0,2,1r0,3r0,210", "w": 232 }, "O": { "d": "221,-116v0,18,-2,34,-7,50v-4,14,-10,27,-19,38v-9,10,-19,18,-33,23v-12,5,-28,8,-45,8v-17,0,-32,-3,-45,-7v-12,-6,-22,-13,-30,-22v-9,-10,-15,-22,-19,-36v-4,-15,-6,-31,-6,-50v0,-18,2,-34,7,-49v4,-15,10,-27,19,-37v9,-11,19,-19,33,-24v12,-6,28,-9,45,-9v17,0,32,3,45,7v12,6,22,13,30,22v9,10,15,22,19,36v4,15,6,31,6,50xm189,-114v0,-13,-1,-26,-3,-36v-3,-12,-7,-21,-12,-29v-5,-8,-12,-14,-22,-19v-8,-5,-19,-7,-32,-7v-13,0,-24,3,-34,7v-8,6,-16,12,-21,20v-5,8,-9,18,-12,28v-3,12,-4,23,-4,35v0,13,1,26,3,37v3,11,7,21,12,30v5,8,12,14,21,18v9,5,20,7,33,7v13,0,24,-3,34,-7v8,-6,16,-12,22,-20v5,-9,9,-18,12,-30v2,-10,3,-22,3,-34", "w": 238 }, "\u00d6": { "d": "100,-269v0,7,-1,11,-4,13v-2,3,-6,4,-13,4v-7,0,-11,-1,-13,-4v-3,-2,-4,-6,-4,-12v0,-7,1,-11,4,-14v2,-2,6,-3,13,-3v7,0,11,1,13,3v3,3,4,7,4,13xm173,-269v0,7,-1,11,-3,13v-3,3,-7,4,-14,4v-7,0,-11,-1,-14,-4v-2,-2,-3,-6,-3,-12v0,-7,1,-11,3,-14v3,-2,7,-3,14,-3v7,0,11,1,14,3v2,3,3,7,3,13xm221,-116v0,18,-2,34,-7,50v-4,14,-10,27,-19,38v-9,10,-19,18,-33,23v-12,5,-28,8,-45,8v-17,0,-32,-3,-45,-7v-12,-6,-22,-13,-30,-22v-9,-10,-15,-22,-19,-36v-4,-15,-6,-31,-6,-50v0,-18,2,-34,7,-49v4,-15,10,-27,19,-37v9,-11,19,-19,33,-24v12,-6,28,-9,45,-9v17,0,32,3,45,7v12,6,22,13,30,22v9,10,15,22,19,36v4,15,6,31,6,50xm189,-114v0,-13,-1,-26,-3,-36v-3,-12,-7,-21,-12,-29v-5,-8,-12,-14,-22,-19v-8,-5,-19,-7,-32,-7v-13,0,-24,3,-34,7v-8,6,-16,12,-21,20v-5,8,-9,18,-12,28v-3,12,-4,23,-4,35v0,13,1,26,3,37v3,11,7,21,12,30v5,8,12,14,21,18v9,5,20,7,33,7v13,0,24,-3,34,-7v8,-6,16,-12,22,-20v5,-9,9,-18,12,-30v2,-10,3,-22,3,-34", "w": 238 }, "P": { "d": "170,-161v0,11,-2,22,-6,31v-3,9,-8,17,-16,24v-6,6,-15,11,-26,14v-10,4,-22,6,-36,6r-26,0r0,81r0,3v-1,1,-2,1,-2,2r-5,0v-2,1,-5,1,-8,1v-3,0,-5,0,-7,-1r-4,0v-2,-1,-2,-1,-3,-2v-1,-1,-1,-2,-1,-3r0,-209v0,-5,1,-8,4,-10v3,-2,5,-3,8,-3r49,0v5,0,9,0,14,1v5,0,10,1,16,2v6,1,12,4,19,8v6,3,11,8,16,13v5,5,8,11,10,19v3,6,4,14,4,23xm138,-158v0,-9,-2,-17,-5,-24v-3,-6,-8,-10,-13,-14v-5,-2,-11,-4,-16,-5v-5,-1,-11,-1,-16,-1r-28,0r0,91r28,0v9,0,16,-1,22,-3v7,-3,12,-6,16,-10v4,-5,7,-10,9,-16v2,-5,3,-11,3,-18", "w": 186 }, "Q": { "d": "249,20v0,3,0,5,-1,7v0,2,0,3,-1,5v-1,0,-1,1,-2,2r-2,0v-3,0,-7,-1,-11,-3v-6,-2,-12,-5,-18,-9v-8,-3,-15,-8,-22,-13v-8,-5,-16,-12,-23,-19v-5,4,-13,7,-21,10v-10,2,-20,3,-31,3v-17,0,-32,-3,-45,-7v-12,-6,-22,-13,-30,-22v-9,-10,-15,-22,-19,-36v-4,-15,-6,-31,-6,-50v0,-19,2,-35,7,-50v4,-14,10,-26,19,-36v9,-11,19,-19,33,-24v12,-6,28,-9,45,-9v17,0,31,3,43,7v13,6,23,13,32,22v8,10,14,22,18,36v5,15,7,31,7,49v0,10,-1,19,-2,28v-1,9,-3,17,-5,25v-3,7,-6,14,-10,21v-3,7,-7,13,-12,18v9,7,16,12,22,16v7,4,12,7,16,9v5,2,8,3,10,4v3,1,4,2,6,3v0,1,1,3,2,5v1,2,1,5,1,8xm189,-114v0,-13,-1,-26,-3,-36v-3,-12,-7,-21,-12,-29v-5,-8,-12,-14,-22,-19v-8,-5,-19,-7,-32,-7v-13,0,-24,3,-34,7v-8,6,-16,12,-21,20v-5,8,-9,18,-12,28v-3,12,-4,23,-4,35v0,13,1,26,3,37v3,11,7,21,12,30v5,8,12,14,21,18v9,5,20,7,33,7v13,0,24,-3,34,-7v8,-6,16,-12,22,-20v5,-9,9,-18,12,-30v2,-10,3,-22,3,-34", "w": 242 }, "R": { "d": "182,-5r0,3v-1,1,-2,1,-3,2r-5,0v-2,1,-5,1,-8,1v-3,0,-6,0,-8,-1r-4,0v-2,-1,-2,-2,-3,-2v-1,-2,-1,-3,-2,-4r-21,-54v-2,-6,-4,-12,-7,-16v-3,-6,-6,-10,-9,-14v-4,-3,-8,-6,-14,-8v-4,-2,-10,-3,-17,-3r-21,0r0,96r0,3v-1,1,-2,1,-2,2r-5,0v-2,1,-5,1,-8,1v-3,0,-5,0,-7,-1r-4,0v-2,-1,-2,-1,-3,-2v-1,-1,-1,-2,-1,-3r0,-210v0,-5,1,-8,4,-9v2,-2,4,-3,7,-3r49,0r14,0v4,0,7,0,10,1v9,1,17,4,24,7v7,3,12,7,17,13v5,4,8,10,10,17v2,7,3,14,3,21v0,8,-1,15,-3,21v-2,6,-5,11,-9,16v-3,5,-8,9,-14,12v-5,3,-11,6,-18,9v4,1,8,3,10,6v4,3,6,6,9,9v3,3,5,7,7,12v3,5,5,10,8,16r20,50v2,4,3,7,4,9r0,3xm136,-164v0,-9,-2,-17,-6,-23v-4,-6,-11,-10,-20,-13v-3,-1,-6,-1,-10,-2r-14,0r-26,0r0,76r30,0v8,0,15,-1,20,-3v6,-2,11,-5,15,-8v4,-3,7,-7,9,-12v1,-5,2,-10,2,-15", "w": 195 }, "S": { "d": "152,-64v0,11,-2,20,-6,28v-3,9,-8,16,-16,22v-6,6,-15,10,-24,13v-10,3,-20,4,-31,4v-7,0,-14,-1,-21,-2v-7,-1,-12,-3,-18,-5v-4,-1,-9,-3,-12,-5v-4,-2,-7,-4,-8,-5v-1,-1,-2,-3,-3,-6v-1,-2,-1,-5,-1,-8r0,-6v1,-2,1,-4,2,-4v1,-2,1,-2,2,-3v1,-1,1,-1,2,-1v2,0,4,1,8,3v2,2,6,4,11,7v5,2,10,4,17,6v6,3,13,4,22,4v7,0,13,-1,18,-3v6,-2,11,-5,14,-7v4,-4,7,-8,10,-12v2,-6,3,-11,3,-16v0,-7,-1,-12,-5,-17v-2,-5,-6,-9,-11,-12v-5,-3,-10,-7,-17,-9r-18,-10v-7,-2,-13,-6,-20,-10v-6,-3,-11,-7,-16,-12v-5,-5,-8,-10,-12,-17v-2,-7,-4,-15,-4,-24v0,-9,2,-18,5,-25v3,-8,8,-14,15,-20v6,-4,13,-8,22,-11v8,-3,17,-4,27,-4v5,0,11,1,15,1v6,2,10,3,15,4v5,1,9,3,12,5v3,2,5,3,7,5r2,2v0,0,1,2,1,2v0,2,0,3,1,4r0,6r0,6v-1,1,-1,2,-2,4v0,0,0,1,-1,2v-1,1,-1,1,-2,1v-1,0,-3,-1,-6,-3v-4,-2,-4,-2,-10,-6v-4,-2,-9,-4,-15,-6v-5,-1,-11,-2,-18,-2v-6,0,-11,1,-16,2v-5,2,-9,4,-12,8v-3,2,-6,6,-7,10v-1,3,-2,7,-2,12v0,6,1,11,5,16v2,5,6,9,11,12v5,4,10,8,17,10v6,4,12,6,18,9r20,9v6,4,11,8,16,14v5,4,8,10,12,17v2,7,4,14,4,23", "w": 165 }, "T": { "d": "173,-214v0,2,0,4,-1,6r0,4v-1,0,-2,1,-2,2r-3,0r-64,0r0,197v0,1,0,2,-1,3v-1,1,-2,1,-2,2r-5,0v-2,1,-4,1,-7,1v-3,0,-6,0,-8,-1r-4,0v-1,-1,-2,-1,-2,-2v-1,-1,-1,-2,-1,-3r0,-197r-64,0r-3,0v-1,-1,-1,-2,-2,-2r0,-4v-1,-2,-1,-4,-1,-6v0,-3,0,-5,1,-6r0,-4v1,-2,1,-2,2,-2v1,-1,2,-1,3,-1r158,0v1,0,1,0,3,1v0,0,1,0,2,2r0,4v1,1,1,3,1,6", "w": 175 }, "U": { "d": "201,-84v0,14,-2,26,-6,37v-4,11,-10,20,-17,27v-7,8,-16,14,-28,18v-10,3,-23,5,-36,5v-13,0,-24,-2,-34,-5v-11,-4,-20,-10,-27,-16v-7,-8,-13,-16,-17,-27v-4,-11,-6,-23,-6,-37r0,-141r0,-2v1,-1,2,-1,3,-2v1,-1,3,-1,5,-1v1,-1,4,-1,7,-1v3,0,5,0,7,1v2,0,4,0,5,1v1,1,2,1,3,2r0,2r0,138v0,10,1,19,4,27v3,8,6,15,11,20v5,5,11,9,17,12v8,3,15,4,24,4v9,0,16,-1,23,-4v7,-3,13,-7,17,-12v6,-5,9,-12,12,-20v2,-7,3,-16,3,-26r0,-139v0,-1,0,-1,1,-2v1,-1,2,-1,2,-2v2,-1,3,-1,5,-1v2,-1,4,-1,7,-1v3,0,6,0,8,1v1,0,3,0,4,1v1,1,2,1,2,2v1,1,1,1,1,2r0,139", "w": 231 }, "\u00dc": { "d": "96,-269v0,7,-1,11,-4,13v-2,3,-6,4,-13,4v-7,0,-11,-1,-13,-4v-3,-2,-4,-6,-4,-12v0,-7,1,-11,4,-14v2,-2,6,-3,13,-3v7,0,11,1,13,3v3,3,4,7,4,13xm169,-269v0,7,-1,11,-3,13v-3,3,-7,4,-14,4v-7,0,-11,-1,-14,-4v-2,-2,-3,-6,-3,-12v0,-7,1,-11,3,-14v3,-2,7,-3,14,-3v7,0,11,1,14,3v2,3,3,7,3,13xm201,-84v0,14,-2,26,-6,37v-4,11,-10,20,-17,27v-7,8,-16,14,-28,18v-10,3,-23,5,-36,5v-13,0,-24,-2,-34,-5v-11,-4,-20,-10,-27,-16v-7,-8,-13,-16,-17,-27v-4,-11,-6,-23,-6,-37r0,-141r0,-2v1,-1,2,-1,3,-2v1,-1,3,-1,5,-1v1,-1,4,-1,7,-1v3,0,5,0,7,1v2,0,4,0,5,1v1,1,2,1,3,2r0,2r0,138v0,10,1,19,4,27v3,8,6,15,11,20v5,5,11,9,17,12v8,3,15,4,24,4v9,0,16,-1,23,-4v7,-3,13,-7,17,-12v6,-5,9,-12,12,-20v2,-7,3,-16,3,-26r0,-139v0,-1,0,-1,1,-2v1,-1,2,-1,2,-2v2,-1,3,-1,5,-1v2,-1,4,-1,7,-1v3,0,6,0,8,1v1,0,3,0,4,1v1,1,2,1,2,2v1,1,1,1,1,2r0,139", "w": 231 }, "V": { "d": "122,-5v-1,1,-1,2,-2,3v-1,1,-2,1,-3,2v-1,1,-3,1,-5,1r-9,0r-7,0v-2,0,-4,0,-5,-1r-3,0v-2,-1,-2,-1,-3,-2v-1,0,-1,0,-2,-1v-1,-1,-1,-1,-1,-2r-74,-212v-1,-3,-2,-5,-2,-6v0,-1,0,-3,2,-3v0,-2,2,-2,4,-2v3,-1,6,-1,10,-1v3,0,6,0,8,1r4,0v2,1,2,2,3,2v1,2,1,2,1,3r66,192r0,0r63,-191v1,-1,1,-2,1,-4v1,0,2,-1,3,-2r5,0v2,-1,5,-1,8,-1v4,0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v-6,-2,-12,-5,-17,-9v-5,-4,-8,-9,-11,-15v-3,-6,-4,-13,-4,-21v0,-9,2,-16,6,-23v3,-7,8,-12,15,-16v7,-5,15,-8,25,-10v10,-2,21,-3,33,-3r22,0r0,-13v0,-6,-1,-11,-2,-16v-1,-5,-3,-8,-6,-12v-3,-2,-6,-5,-11,-6v-5,-2,-10,-3,-17,-3v-7,0,-14,1,-19,3v-6,1,-11,3,-16,5v-4,2,-7,4,-10,5v-3,2,-5,3,-6,3v-1,0,-2,0,-3,-1v-1,0,-1,0,-1,-2v-1,0,-1,-2,-2,-3r0,-5r0,-6v1,-2,2,-4,4,-6v1,-1,4,-3,8,-5v3,-2,8,-4,13,-5v5,-2,11,-4,17,-5v6,-1,12,-2,18,-2v11,0,21,1,29,4v8,3,14,7,19,11v5,6,8,12,10,19v3,7,4,16,4,26r0,107xm117,-76r-25,0v-7,0,-14,1,-20,2v-6,1,-11,3,-15,6v-4,2,-7,5,-9,9v-1,4,-2,8,-2,13v0,8,3,14,8,20v5,4,13,7,22,7v7,0,14,-2,21,-6v7,-4,13,-10,20,-18r0,-33", "w": 172 }, "\u00e4": { "d": "72,-214v0,7,-1,11,-4,14v-2,2,-6,3,-13,3v-6,0,-10,-1,-13,-3v-2,-3,-3,-7,-3,-13v0,-7,1,-11,3,-13v3,-3,7,-4,14,-4v6,0,10,1,12,4v3,2,4,6,4,12xm134,-214v0,7,-1,11,-4,14v-2,2,-6,3,-12,3v-7,0,-11,-1,-14,-3v-2,-3,-3,-7,-3,-13v0,-7,1,-11,3,-13v3,-3,7,-4,14,-4v6,0,10,1,12,4v3,2,4,6,4,12xm146,-4v0,1,0,2,-2,3v0,1,-2,1,-4,1v-1,1,-3,1,-6,1v-3,0,-6,0,-8,-1v-1,0,-2,0,-4,-1v0,-1,-1,-2,-1,-3r0,-16v-7,7,-14,13,-23,17v-9,4,-18,6,-27,6v-8,0,-15,-1,-23,-3v-6,-2,-12,-5,-17,-9v-5,-4,-8,-9,-11,-15v-3,-6,-4,-13,-4,-21v0,-9,2,-16,6,-23v3,-7,8,-12,15,-16v7,-5,15,-8,25,-10v10,-2,21,-3,33,-3r22,0r0,-13v0,-6,-1,-11,-2,-16v-1,-5,-3,-8,-6,-12v-3,-2,-6,-5,-11,-6v-5,-2,-10,-3,-17,-3v-7,0,-14,1,-19,3v-6,1,-11,3,-16,5v-4,2,-7,4,-10,5v-3,2,-5,3,-6,3v-1,0,-2,0,-3,-1v-1,0,-1,0,-1,-2v-1,0,-1,-2,-2,-3r0,-5r0,-6v1,-2,2,-4,4,-6v1,-1,4,-3,8,-5v3,-2,8,-4,13,-5v5,-2,11,-4,17,-5v6,-1,12,-2,18,-2v11,0,21,1,29,4v8,3,14,7,19,11v5,6,8,12,10,19v3,7,4,16,4,26r0,107xm117,-76r-25,0v-7,0,-14,1,-20,2v-6,1,-11,3,-15,6v-4,2,-7,5,-9,9v-1,4,-2,8,-2,13v0,8,3,14,8,20v5,4,13,7,22,7v7,0,14,-2,21,-6v7,-4,13,-10,20,-18r0,-33", "w": 172 }, "b": { "d": "172,-86v0,14,-2,26,-4,38v-4,10,-8,20,-14,28v-5,7,-12,13,-20,17v-9,4,-19,6,-30,6v-5,0,-9,-1,-14,-1v-4,-2,-8,-3,-12,-5v-4,-2,-8,-5,-12,-9v-5,-3,-9,-7,-13,-12r0,20v0,1,0,1,-1,2v-1,1,-2,1,-2,2r-4,0v-2,1,-4,1,-6,1v-3,0,-5,0,-6,-1r-4,0v-2,-1,-2,-1,-2,-2v-1,-1,-1,-1,-1,-2r0,-235v0,-1,0,-2,1,-3v0,-1,0,-1,2,-2r4,0v2,-1,4,-1,7,-1v3,0,6,0,7,1r4,0v2,1,2,1,3,2v1,1,1,2,1,3r0,95v5,-5,9,-10,14,-13v4,-3,8,-6,12,-8v5,-2,9,-3,13,-5v4,0,8,-1,13,-1v12,0,22,2,30,7v8,5,14,11,20,18v4,8,8,17,10,28v3,10,4,21,4,32xm142,-82v0,-8,-1,-16,-2,-24v-1,-7,-4,-14,-6,-20v-4,-6,-8,-11,-12,-14v-6,-4,-12,-6,-19,-6v-4,0,-8,1,-11,2v-4,1,-8,3,-12,6v-3,2,-7,5,-11,9v-4,4,-8,9,-13,14r0,63v8,10,16,18,23,22v7,6,15,8,22,8v7,0,14,-2,19,-5v5,-3,10,-8,12,-14v4,-6,6,-13,8,-19v1,-8,2,-15,2,-22", "w": 189 }, "c": { "d": "141,-28v0,2,0,4,-1,5r0,3v-1,2,-1,2,-2,3v0,1,-1,2,-2,3v-1,2,-4,4,-8,6v-3,2,-7,4,-12,6v-4,1,-8,2,-14,4v-4,0,-10,1,-16,1v-11,0,-21,-2,-30,-5v-9,-4,-16,-10,-22,-17v-6,-7,-10,-16,-14,-27v-2,-10,-4,-22,-4,-36v0,-15,2,-29,6,-40v3,-11,8,-20,15,-28v7,-6,15,-12,23,-15v10,-3,19,-5,30,-5v5,0,9,0,14,1v5,1,9,2,13,3v4,2,8,4,11,6v3,2,6,4,7,5v1,1,2,3,3,3r2,4r0,3r0,5v0,5,0,8,-2,10v0,2,-2,3,-4,3v-1,0,-3,-1,-6,-3v-2,-2,-5,-4,-8,-6v-4,-3,-8,-5,-14,-7v-4,-2,-10,-3,-17,-3v-14,0,-25,5,-32,16v-7,11,-11,26,-11,47v0,10,1,19,3,27v2,7,5,14,9,19v3,5,8,9,13,11v5,3,12,4,19,4v7,0,12,-1,18,-3v4,-2,9,-4,12,-7v6,-4,6,-4,10,-7v3,-2,5,-3,6,-3v1,0,1,0,2,1v1,1,1,1,2,3r0,4v1,1,1,3,1,6", "w": 152 }, "d": { "d": "162,-4r0,2v-1,1,-2,1,-2,2r-4,0v-2,1,-4,1,-6,1v-3,0,-5,0,-6,-1r-4,0v-2,-1,-2,-1,-2,-2v-1,-1,-1,-1,-1,-2r0,-21v-9,9,-17,15,-27,21v-8,4,-18,7,-29,7v-11,0,-21,-2,-29,-7v-9,-4,-16,-10,-20,-18v-6,-7,-9,-16,-12,-26v-2,-11,-3,-22,-3,-34v0,-13,1,-26,5,-36v2,-12,7,-21,12,-28v6,-8,13,-14,22,-18v8,-5,18,-7,29,-7v9,0,18,2,25,7v8,4,16,10,23,17r0,-92v0,-1,0,-1,1,-2v0,-1,1,-1,2,-1v1,-1,3,-1,4,-2r8,0r7,0v2,1,3,1,5,2v0,0,1,0,2,1r0,2r0,235xm133,-116v-8,-9,-16,-17,-23,-22v-7,-5,-15,-8,-22,-8v-8,0,-14,2,-20,6v-4,3,-9,8,-12,14v-3,5,-6,12,-7,19v-1,7,-2,15,-2,22v0,8,1,16,2,23v1,8,3,15,7,21v2,6,6,11,12,15v4,3,11,5,18,5v4,0,8,-1,12,-2v3,-1,7,-3,10,-5v4,-3,8,-6,12,-10v4,-4,8,-9,13,-14r0,-64", "w": 189 }, "e": { "d": "162,-90v0,5,-1,8,-4,10v-2,1,-4,2,-7,2r-104,0v0,9,1,17,3,24v1,7,4,14,8,18v5,6,10,9,16,12v7,3,15,4,24,4v8,0,15,-1,20,-2v6,-1,11,-3,16,-4v4,-1,7,-3,10,-4v3,-1,5,-2,6,-2r3,0v1,1,1,2,1,2v1,2,1,3,1,4r0,5r0,4v0,1,0,2,-1,3r0,2r-2,2v0,0,-2,2,-6,4v-2,1,-6,3,-12,4v-4,1,-10,2,-17,4v-7,0,-14,1,-22,1v-13,0,-24,-2,-33,-5v-10,-4,-18,-10,-25,-16v-7,-8,-12,-16,-15,-27v-4,-11,-6,-23,-6,-38v0,-13,2,-25,6,-37v3,-10,8,-20,15,-27v7,-7,15,-13,24,-17v9,-5,20,-7,31,-7v13,0,23,2,32,6v9,4,16,9,22,17v5,6,9,14,12,24v3,8,4,18,4,28r0,6xm133,-99v0,-15,-3,-27,-11,-36v-6,-9,-17,-13,-31,-13v-7,0,-14,1,-19,4v-5,3,-10,6,-14,11v-3,5,-6,10,-8,15v-2,6,-3,12,-3,19r86,0", "w": 179 }, "f": { "d": "114,-228r0,6v-1,1,-1,2,-2,3r0,1v-1,1,-1,1,-2,1v-1,0,-2,0,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,-12,-12v-4,-4,-5,-9,-5,-14v0,-7,1,-13,5,-18v2,-6,6,-11,11,-16v-4,-5,-7,-10,-9,-15v-2,-5,-3,-12,-3,-19v0,-9,1,-18,5,-24v2,-8,7,-14,12,-18v5,-6,12,-9,20,-12v7,-3,15,-4,24,-4r14,0v4,1,8,2,11,3r48,0v2,0,3,1,5,3v0,2,1,5,1,9xm114,-114v0,-11,-3,-19,-9,-25v-6,-6,-14,-9,-25,-9v-6,0,-11,1,-15,3v-4,2,-7,5,-11,7v-2,4,-5,7,-6,12v-1,4,-2,8,-2,13v0,11,3,19,9,25v6,6,14,9,25,9v6,0,11,-1,15,-3v4,-2,7,-4,11,-8v2,-2,5,-6,6,-10v1,-5,2,-9,2,-14xm128,12v0,-7,-3,-13,-8,-16v-5,-4,-13,-6,-23,-6r-41,-1v-3,3,-6,5,-8,8v-3,3,-5,5,-6,7v-2,3,-3,5,-4,8r0,7v0,7,4,13,12,17v7,4,18,6,32,6v9,0,16,-1,22,-2v6,-2,11,-4,14,-8v4,-2,7,-6,8,-9v1,-3,2,-7,2,-11", "w": 169 }, "h": { "d": "163,-4v0,1,0,1,-1,2v0,1,0,1,-2,2r-4,0v-2,1,-4,1,-7,1v-3,0,-6,0,-7,-1r-4,0v-2,-1,-2,-1,-3,-2v-1,-1,-1,-1,-1,-2r0,-93v0,-9,-1,-17,-2,-22v-1,-5,-3,-10,-6,-14v-3,-4,-6,-7,-10,-9v-5,-2,-10,-3,-15,-3v-7,0,-15,3,-22,7v-7,6,-15,13,-23,23r0,111v0,1,0,1,-1,2v-1,1,-1,1,-3,2r-4,0v-1,1,-4,1,-7,1v-3,0,-5,0,-7,-1r-4,0v-2,-1,-2,-1,-2,-2v-1,-1,-1,-1,-1,-2r0,-235v0,-1,0,-2,1,-3v0,-1,0,-1,2,-2r4,0v2,-1,4,-1,7,-1v3,0,6,0,7,1r4,0v2,1,2,1,3,2v1,1,1,2,1,3r0,95v8,-9,16,-16,25,-20v9,-5,17,-7,26,-7v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,-1,2v-1,1,-1,1,-3,2r-4,0v-1,1,-4,1,-7,1v-3,0,-5,0,-7,-1r-4,0v-2,-1,-2,-1,-2,-2v-1,-1,-1,-1,-1,-2r0,-159v0,-1,0,-1,1,-2v0,-1,0,-1,2,-2v0,-1,2,-1,4,-1r6,0r6,0v0,0,4,0,4,1v2,1,2,1,2,2v1,1,1,1,1,2r0,21v9,-10,17,-17,26,-22v9,-5,17,-7,25,-7v7,0,13,1,18,3v5,1,10,3,14,6v4,3,7,6,10,10v3,4,5,8,7,13v5,-6,10,-11,15,-15v5,-4,9,-7,14,-10v4,-2,8,-4,12,-5v5,-1,9,-2,13,-2v11,0,19,2,26,5v7,4,12,9,17,15v4,6,7,13,9,21v2,8,3,17,3,26r0,100", "w": 288 }, "n": { "d": "163,-4v0,1,0,1,-1,2v0,1,0,1,-2,2r-4,0v-2,1,-4,1,-7,1v-3,0,-6,0,-7,-1r-4,0v-2,-1,-2,-1,-3,-2v-1,-1,-1,-1,-1,-2r0,-93v0,-9,-1,-17,-2,-22v-1,-5,-3,-10,-6,-14v-3,-4,-6,-7,-10,-9v-5,-2,-10,-3,-15,-3v-7,0,-15,3,-22,7v-7,6,-15,13,-23,23r0,111v0,1,0,1,-1,2v-1,1,-1,1,-3,2r-4,0v-1,1,-4,1,-7,1v-3,0,-5,0,-7,-1r-4,0v-2,-1,-2,-1,-2,-2v-1,-1,-1,-1,-1,-2r0,-159v0,-1,0,-1,1,-2v0,-1,0,-1,2,-2v0,-1,2,-1,4,-1r6,0r6,0v0,0,4,0,4,1v2,1,2,1,2,2v1,1,1,1,1,2r0,21v9,-10,17,-17,27,-22v8,-5,18,-7,27,-7v10,0,19,2,26,5v7,4,13,9,17,15v5,6,8,13,10,21v2,8,3,18,3,29r0,97", "w": 189 }, "o": { "d": "174,-85v0,13,-2,25,-5,35v-3,12,-8,21,-15,28v-7,8,-15,14,-26,18v-10,5,-22,7,-35,7v-13,0,-24,-2,-33,-5v-10,-4,-18,-10,-25,-17v-7,-7,-11,-16,-15,-27v-2,-11,-4,-23,-4,-36v0,-13,2,-24,5,-36v3,-10,8,-20,15,-28v7,-7,15,-13,25,-18v10,-5,22,-7,36,-7v13,0,24,2,33,6v10,4,18,10,24,17v7,7,12,16,15,27v3,11,5,23,5,36xm143,-83v0,-9,-1,-17,-2,-25v-1,-7,-4,-14,-7,-20v-4,-5,-9,-10,-16,-13v-6,-3,-14,-5,-23,-5v-9,0,-16,2,-22,4v-6,4,-11,8,-15,14v-4,5,-7,12,-9,19v-2,7,-3,16,-3,25v0,9,1,17,2,24v2,8,5,15,8,20v4,6,9,11,16,14v6,3,14,5,23,5v8,0,15,-1,21,-5v7,-2,12,-7,16,-12v4,-6,7,-13,8,-20v2,-8,3,-16,3,-25", "w": 190 }, "\u00f6": { "d": "80,-214v0,7,-1,11,-4,14v-2,2,-6,3,-13,3v-6,0,-10,-1,-13,-3v-2,-3,-3,-7,-3,-13v0,-7,1,-11,3,-13v3,-3,7,-4,14,-4v6,0,10,1,12,4v3,2,4,6,4,12xm142,-214v0,7,-1,11,-4,14v-2,2,-6,3,-12,3v-7,0,-11,-1,-14,-3v-2,-3,-3,-7,-3,-13v0,-7,1,-11,3,-13v3,-3,7,-4,14,-4v6,0,10,1,12,4v3,2,4,6,4,12xm174,-85v0,13,-2,25,-5,35v-3,12,-8,21,-15,28v-7,8,-15,14,-26,18v-10,5,-22,7,-35,7v-13,0,-24,-2,-33,-5v-10,-4,-18,-10,-25,-17v-7,-7,-11,-16,-15,-27v-2,-11,-4,-23,-4,-36v0,-13,2,-24,5,-36v3,-10,8,-20,15,-28v7,-7,15,-13,25,-18v10,-5,22,-7,36,-7v13,0,24,2,33,6v10,4,18,10,24,17v7,7,12,16,15,27v3,11,5,23,5,36xm143,-83v0,-9,-1,-17,-2,-25v-1,-7,-4,-14,-7,-20v-4,-5,-9,-10,-16,-13v-6,-3,-14,-5,-23,-5v-9,0,-16,2,-22,4v-6,4,-11,8,-15,14v-4,5,-7,12,-9,19v-2,7,-3,16,-3,25v0,9,1,17,2,24v2,8,5,15,8,20v4,6,9,11,16,14v6,3,14,5,23,5v8,0,15,-1,21,-5v7,-2,12,-7,16,-12v4,-6,7,-13,8,-20v2,-8,3,-16,3,-25", "w": 190 }, "p": { "d": "172,-86v0,14,-2,26,-4,38v-4,10,-8,20,-14,28v-5,7,-12,13,-21,17v-9,4,-18,6,-29,6v-5,0,-9,0,-13,-1v-4,-1,-8,-2,-12,-4v-4,-2,-8,-5,-11,-8v-6,-5,-6,-5,-12,-11r0,79v0,1,0,2,-1,3v-1,1,-1,1,-3,1v0,1,-2,1,-4,2r-7,0r-7,0v-2,-1,-4,-1,-4,-2v-2,0,-2,0,-2,-1v-1,-1,-1,-2,-1,-3r0,-221v0,-1,0,-1,1,-2v0,-1,0,-1,2,-2v0,-1,2,-1,4,-1r6,0r6,0v1,0,2,0,4,1v0,1,1,1,2,2r0,2r0,22v5,-5,10,-10,14,-13v5,-4,9,-7,14,-10v4,-2,8,-4,14,-5v4,-1,10,-2,15,-2v11,0,21,2,29,7v8,5,14,11,20,18v4,8,8,17,10,28v3,10,4,21,4,32xm142,-83v0,-8,-1,-16,-2,-23v-1,-7,-4,-14,-6,-20v-4,-6,-8,-11,-12,-14v-6,-4,-12,-6,-19,-6v-4,0,-8,1,-11,2v-4,1,-8,3,-12,6v-3,2,-7,5,-11,9v-4,4,-8,9,-13,14r0,63v8,10,16,18,22,22v8,6,15,8,23,8v7,0,14,-2,19,-5v5,-3,10,-8,12,-14v4,-6,6,-13,8,-20v1,-7,2,-15,2,-22", "w": 189 }, "q": { "d": "162,58r0,3v-1,1,-2,1,-2,1v-2,1,-3,1,-5,2r-7,0r-8,0v-1,-1,-3,-1,-4,-2v-1,0,-2,0,-2,-1v-1,-1,-1,-2,-1,-3r0,-81v-5,5,-9,10,-13,13v-5,3,-9,6,-14,8v-4,2,-8,3,-12,4v-4,1,-8,1,-13,1v-12,0,-22,-2,-30,-7v-8,-4,-15,-10,-19,-18v-6,-7,-9,-16,-12,-26v-2,-11,-3,-22,-3,-34v0,-13,1,-26,5,-36v2,-12,7,-21,12,-28v6,-8,13,-14,22,-18v9,-5,18,-7,29,-7v5,0,9,1,13,1v5,2,9,3,13,6v4,2,8,5,12,8v4,3,9,8,14,13r0,-20v0,-1,0,-1,1,-2v0,-1,0,-1,2,-2v0,-1,2,-1,4,-1r6,0r6,0v1,0,2,0,4,1v0,1,1,1,2,2r0,2r0,221xm133,-116v-8,-9,-16,-17,-23,-22v-7,-5,-15,-8,-22,-8v-8,0,-14,2,-20,6v-4,3,-9,8,-12,14v-3,5,-6,12,-7,19v-1,7,-2,15,-2,22v0,8,1,16,2,23v1,8,3,15,7,21v2,6,6,11,12,15v4,3,11,5,18,5v4,0,8,-1,12,-2v3,-1,7,-3,10,-5v4,-3,8,-6,12,-10v4,-4,8,-9,13,-14r0,-64", "w": 189 }, "r": { "d": "119,-152r0,6v0,0,0,4,-1,4v0,2,0,2,-1,2v-1,1,-1,1,-2,1v-1,0,-2,0,-3,-1v-1,0,-3,0,-5,-1v-2,-1,-4,-1,-6,-1v-2,-1,-4,-1,-7,-1v-3,0,-5,1,-8,1r-9,6v-3,4,-7,7,-10,12v-3,4,-7,9,-11,16r0,104v0,1,0,1,-1,2v-1,1,-1,1,-3,2r-4,0v-1,1,-4,1,-7,1v-3,0,-5,0,-7,-1r-4,0v-2,-1,-2,-1,-2,-2v-1,-1,-1,-1,-1,-2r0,-159v0,-1,0,-1,1,-2v0,-1,0,-1,2,-2v0,-1,2,-1,4,-1r6,0r6,0v0,0,4,0,4,1v2,1,2,1,2,2v1,1,1,1,1,2r0,23v5,-6,9,-11,13,-15v3,-4,7,-7,10,-9v3,-3,7,-4,10,-6v3,0,7,-1,10,-1v2,0,4,0,6,1r6,0v2,1,4,1,6,2v1,1,2,1,3,2v1,1,1,1,1,2v1,1,1,1,1,2r0,4r0,6", "w": 126 }, "s": { "d": "126,-47v0,8,-2,15,-4,21v-4,7,-8,12,-13,16v-5,5,-12,8,-19,10v-8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-1,2,-1,4,-1r7,0r7,0v0,0,4,0,5,1v1,0,2,0,3,1v1,1,1,2,1,3", "w": 139 }, "-": { "d": "98,-89v0,5,0,8,-2,9v0,2,-2,3,-4,3r-74,0v-2,0,-4,-1,-4,-3v-2,-1,-2,-4,-2,-9v0,-4,0,-7,2,-9v0,-2,2,-3,4,-3r74,0v1,0,2,0,2,1v2,0,2,0,2,2v1,0,1,2,2,4r0,5", "w": 110 }, "\u2010": { "d": "98,-89v0,5,0,8,-2,9v0,2,-2,3,-4,3r-74,0v-2,0,-4,-1,-4,-3v-2,-1,-2,-4,-2,-9v0,-4,0,-7,2,-9v0,-2,2,-3,4,-3r74,0v1,0,2,0,2,1v2,0,2,0,2,2v1,0,1,2,2,4r0,5", "w": 110 }, "\u00ad": { "d": "98,-89v0,5,0,8,-2,9v0,2,-2,3,-4,3r-74,0v-2,0,-4,-1,-4,-3v-2,-1,-2,-4,-2,-9v0,-4,0,-7,2,-9v0,-2,2,-3,4,-3r74,0v1,0,2,0,2,1v2,0,2,0,2,2v1,0,1,2,2,4r0,5", "w": 110 }, "_": { "d": "180,52v0,5,0,8,-2,10v0,1,-2,2,-4,2r-169,0v-2,0,-3,-1,-5,-2v0,-2,-1,-5,-1,-9v0,-4,1,-7,1,-9v2,-2,3,-3,5,-3r169,0v2,0,4,1,4,3v2,1,2,4,2,8", "w": 179 }, "(": { "d": "87,-242v-11,23,-20,47,-25,72v-5,25,-8,50,-8,75v0,25,3,50,8,75v6,25,14,49,25,73v1,1,1,3,1,3v0,2,0,2,-2,3v0,1,-2,1,-4,1v-1,1,-3,1,-6,1v-2,0,-4,0,-6,-1r-4,0v0,-1,-1,-1,-2,-2v-1,0,-1,0,-2,-1v-6,-12,-12,-24,-16,-37v-6,-12,-10,-24,-13,-37v-3,-13,-6,-25,-7,-39v-2,-12,-3,-25,-3,-38v0,-13,1,-26,3,-40v2,-12,5,-25,8,-38v3,-13,7,-25,12,-38v5,-12,10,-24,16,-36v0,-1,0,-1,1,-2r3,0v0,-1,2,-1,4,-1r6,0v3,0,5,0,6,1r4,0v1,1,1,2,2,2v0,2,0,3,-1,4", "w": 109 }, ")": { "d": "86,-94v0,13,-1,26,-2,38v-2,14,-5,26,-8,39v-3,13,-7,25,-12,37v-5,13,-10,25,-17,37v0,1,-1,1,-1,1r-4,2r-3,0v-1,1,-3,1,-6,1v-3,0,-5,0,-7,-1v-1,0,-2,0,-4,-1v0,-1,-1,-1,0,-3r0,-3v11,-24,20,-48,25,-73v5,-25,8,-50,8,-75v0,-25,-3,-50,-8,-75v-5,-25,-14,-49,-25,-72v-1,-1,-1,-2,0,-4v0,0,0,-1,2,-2r4,0v1,-1,3,-1,6,-1r6,0v1,0,2,0,4,1r2,0v1,1,1,1,1,2v12,24,21,49,29,74v6,25,10,51,10,78", "w": 109 }, "[": { "d": "95,46v0,4,-1,7,-1,8v-2,1,-3,2,-4,2r-45,0r-4,0v-1,-1,-3,-2,-3,-2v-2,-2,-2,-3,-3,-4v-1,-2,-1,-4,-1,-6r0,-278v0,-2,0,-4,1,-6v1,-1,1,-2,3,-4v0,0,2,-1,3,-2r4,0r45,0r2,0v1,1,1,2,2,2r0,4v1,1,1,3,1,5v0,4,-1,7,-1,9v-2,1,-3,2,-4,2r-29,0r0,259r29,0v1,0,1,0,2,1v1,0,1,0,2,2r0,3v1,1,1,3,1,5", "w": 110 }, "]": { "d": "77,44v0,2,0,4,-1,6v-1,1,-2,2,-2,4v-2,0,-3,1,-4,2r-4,0r-45,0v-2,0,-3,-1,-4,-2v-1,-1,-1,-4,-1,-8r0,-5v0,-1,0,-3,1,-3v1,-2,1,-2,2,-2v1,-1,1,-1,2,-1r29,0r0,-259r-29,0v-2,0,-3,-1,-4,-2v-1,-2,-1,-5,-1,-9r0,-5v0,-1,0,-2,1,-4v1,0,1,-1,2,-2r2,0r45,0r4,0v1,1,2,2,4,2v0,2,1,3,2,4v1,2,1,4,1,6r0,278", "w": 110 }, "{": { "d": "102,45r0,5v-1,1,-1,2,-2,3v0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,5,2v0,1,1,1,2,2v1,1,1,1,1,2", "w": 79 }, "\"": { "d": "113,-159v0,1,0,2,-1,3v0,1,0,1,-2,2r-3,0v-1,1,-3,1,-5,1v-2,0,-4,0,-5,-1r-3,0v-2,-1,-2,-1,-2,-2v-1,-1,-1,-2,-1,-3r-4,-81v0,-1,0,-1,1,-2v1,-1,2,-1,2,-2v2,-1,3,-1,5,-2r7,0r7,0v2,1,3,1,5,2v0,1,1,1,2,2v1,1,1,1,1,2xm51,-159v0,1,0,2,-1,3v0,1,0,1,-2,2r-3,0v-1,1,-3,1,-5,1v-3,0,-5,0,-6,-1r-3,0r-2,-2v0,0,-1,-2,-1,-3r-4,-81v0,-1,0,-1,1,-2v1,-1,2,-1,3,-2v1,-1,3,-1,5,-2r7,0v5,0,9,0,12,2v2,0,3,2,3,4", "w": 144 }, "&": { "d": "19,-60v0,-7,1,-13,3,-18v1,-6,4,-12,8,-17v4,-5,9,-11,15,-16v6,-5,13,-10,21,-15v-7,-10,-7,-10,-12,-18v-3,-4,-6,-9,-8,-14v-2,-5,-4,-9,-4,-13v-2,-4,-2,-8,-2,-12v0,-7,1,-14,4,-21v2,-7,6,-12,12,-18v5,-4,12,-8,20,-12v9,-2,19,-4,32,-4v10,0,19,1,26,4v8,2,14,5,20,9v4,4,8,9,10,15v3,5,4,12,4,19v0,7,-1,13,-3,19v-2,6,-5,12,-11,17v-4,5,-11,11,-18,16v-8,5,-17,11,-28,17r13,15v5,5,9,11,15,15v7,8,7,8,15,16v5,5,11,10,16,15v2,-3,4,-7,6,-11v2,-4,4,-8,5,-13v1,-5,2,-9,3,-14v1,-5,1,-9,1,-14r0,-6r0,-3v1,-1,2,-1,2,-2v2,-1,3,-1,5,-2r7,0r6,0v2,1,4,1,5,2v1,0,2,0,3,2r0,3r0,4v0,7,0,13,-2,19v0,7,-2,13,-4,19v-2,6,-4,12,-7,17v-3,6,-6,11,-10,16v5,4,10,7,14,10v4,3,7,5,10,7v3,2,5,3,7,4v2,1,4,1,5,1r3,0r2,0v1,1,1,2,2,3r0,7r0,6r0,4v-1,2,-1,2,-2,3v-1,1,-2,1,-4,1v-2,1,-4,1,-7,1v-3,0,-5,0,-8,-1v-3,-1,-6,-2,-9,-4r-14,-9v-4,-3,-10,-8,-17,-13v-5,4,-11,8,-16,11v-5,3,-11,6,-17,9v-6,2,-12,4,-20,5v-6,1,-14,2,-21,2v-8,0,-15,-1,-21,-2v-7,-1,-13,-3,-18,-5v-6,-3,-11,-6,-16,-10v-5,-3,-8,-7,-12,-12v-2,-5,-5,-10,-6,-16v-2,-5,-3,-11,-3,-18xm71,-185v0,3,0,6,1,9v1,3,2,7,4,10v2,4,4,8,7,12r9,14v9,-5,16,-9,22,-13v6,-4,11,-8,14,-12v3,-4,6,-8,8,-11v1,-4,2,-8,2,-12v0,-3,-1,-7,-2,-10v-1,-3,-3,-6,-6,-8v-3,-3,-6,-5,-10,-6v-4,-1,-9,-2,-15,-2v-6,0,-11,1,-15,2v-5,2,-8,4,-11,7v-3,3,-5,6,-6,9v-1,3,-2,7,-2,11xm50,-63v0,6,1,11,4,17v2,4,5,9,9,12v4,4,9,7,15,10v5,2,12,3,20,3v5,0,9,-1,14,-1v5,-2,9,-3,14,-5v4,-2,8,-4,12,-7v3,-2,7,-4,10,-7v-9,-8,-9,-8,-18,-17v-7,-5,-13,-11,-18,-16r-16,-18v-8,-8,-8,-8,-15,-16v-5,4,-10,8,-14,12v-4,3,-7,7,-9,10v-3,4,-5,8,-6,12v-1,3,-2,7,-2,11", "w": 246 }, "@": { "d": "291,-135v0,8,-1,16,-1,25v-2,8,-3,16,-6,24v-2,7,-5,14,-8,22v-3,6,-8,13,-13,18v-5,5,-11,10,-19,12v-6,4,-15,5,-24,5v-5,0,-9,-1,-13,-1v-4,-2,-8,-3,-11,-6v-3,-2,-6,-5,-8,-8v-2,-3,-3,-7,-4,-11v-5,5,-10,9,-14,12v-5,3,-9,6,-13,8v-4,2,-8,3,-12,5v-4,0,-8,1,-12,1v-5,0,-10,-1,-13,-1v-4,-2,-8,-3,-10,-5v-4,-2,-6,-4,-8,-7v-3,-3,-5,-6,-6,-10v-1,-3,-2,-7,-3,-11v-1,-4,-1,-9,-1,-14v0,-5,0,-10,2,-17v0,-7,2,-14,4,-20v1,-8,4,-14,7,-20v3,-7,7,-13,13,-18v4,-5,10,-10,17,-13v7,-3,14,-5,23,-5v4,0,8,0,11,2v3,0,7,2,10,4v3,1,6,4,9,6r9,11r3,-16v1,-1,2,-3,4,-3v1,-2,4,-2,8,-2r6,0v1,1,2,1,3,2v1,0,1,0,1,1v1,1,1,1,1,2r-16,81v-2,10,-1,18,1,22v4,6,9,8,17,8v5,0,9,-1,13,-4v3,-2,6,-5,10,-10v2,-4,5,-9,7,-14v2,-5,4,-11,5,-17v1,-6,2,-12,3,-19v1,-6,1,-12,1,-18v0,-10,-1,-20,-4,-29v-3,-9,-7,-17,-14,-25v-7,-6,-16,-12,-27,-16v-11,-4,-25,-6,-42,-6v-14,0,-26,2,-37,4v-11,4,-20,8,-28,13v-9,5,-16,11,-22,18v-6,7,-11,14,-15,21v-4,8,-7,16,-9,24v-3,8,-5,16,-6,24v-1,7,-2,14,-2,20v-1,7,-1,12,-1,17v0,13,1,25,5,36v2,11,8,20,15,28v7,8,17,14,29,19v13,4,28,6,47,6v9,0,17,0,23,-2v8,0,14,-2,18,-3v6,-1,10,-3,13,-3v3,-2,6,-2,7,-2r2,0r0,2v1,2,1,3,1,4r0,5r0,5r0,2v0,0,0,1,-1,2r-2,2v0,0,-3,2,-6,3v-3,1,-8,3,-14,3v-5,2,-12,2,-20,4v-7,0,-15,1,-24,1v-22,0,-41,-3,-56,-8v-15,-5,-28,-13,-37,-23v-9,-9,-16,-21,-21,-34v-4,-13,-6,-28,-6,-45v0,-6,0,-13,1,-21v1,-8,2,-16,3,-26v2,-8,5,-18,8,-27v3,-9,8,-18,13,-27v5,-9,12,-17,19,-25v7,-8,16,-15,26,-21v10,-6,22,-11,35,-14v13,-3,28,-5,44,-5v19,0,36,2,50,7v14,5,26,11,35,20v9,8,16,18,20,30v5,13,7,26,7,41xm189,-124v-5,-7,-9,-13,-14,-17v-5,-4,-10,-6,-16,-6v-5,0,-9,1,-13,3v-4,3,-8,6,-10,10v-4,4,-6,8,-8,13v-2,5,-4,9,-5,15v-1,4,-2,9,-3,14r0,13v0,9,2,15,4,20v4,5,9,7,16,7v3,0,6,0,8,-2v4,0,7,-2,10,-4v3,-2,7,-5,10,-8v4,-3,8,-7,13,-12", "w": 322 }, "$": { "d": "164,-64v0,9,-2,18,-5,26v-3,7,-8,14,-15,19v-7,5,-15,10,-24,13v-10,3,-21,5,-32,6r-4,38r0,2v-1,1,-2,1,-2,2r-4,0v-1,1,-3,1,-6,1v-3,0,-5,0,-6,-1r-4,0v0,-1,-1,-1,-2,-2r0,-3r4,-38v-5,-1,-10,-1,-15,-3v-5,0,-9,-2,-13,-3v-4,-1,-7,-3,-10,-4v-3,-1,-4,-3,-6,-4v0,-1,-1,-3,-2,-5v-1,-2,-1,-5,-1,-8v0,-3,0,-5,1,-6r0,-4v1,-2,2,-2,2,-3v2,-1,2,-1,3,-1v2,0,4,1,7,2v3,2,6,4,11,6v5,3,10,5,17,6v7,2,15,3,24,3v17,0,29,-3,38,-10v9,-7,13,-16,13,-27v0,-7,-2,-12,-5,-17v-3,-5,-8,-9,-12,-12v-6,-3,-11,-6,-18,-9v-10,-3,-10,-3,-20,-7v-8,-3,-14,-5,-21,-9v-7,-2,-13,-6,-17,-11v-6,-5,-10,-10,-13,-17v-3,-7,-5,-15,-5,-25v0,-8,1,-15,4,-22v3,-7,7,-13,12,-18v6,-5,13,-9,21,-13v8,-2,18,-4,29,-5r3,-36v0,-1,0,-1,1,-2v0,-1,0,-1,2,-1v0,-1,2,-1,3,-2r6,0r6,0v2,1,3,1,4,2v1,1,1,1,1,2v1,1,1,1,1,2r-4,35v3,1,7,1,11,2v4,1,8,2,11,3v3,1,6,3,9,4v3,1,4,2,6,4r2,2r0,2v1,2,1,3,1,4r0,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0", "w": 179 }, "0": { "d": "170,-114v0,17,-1,33,-4,48v-3,14,-7,26,-14,36v-6,11,-14,19,-24,24v-11,6,-24,9,-39,9v-15,0,-27,-3,-37,-7v-9,-6,-17,-13,-23,-23v-6,-10,-10,-22,-13,-37v-2,-14,-3,-30,-3,-49v0,-17,1,-33,4,-48v3,-15,7,-27,13,-37v7,-11,15,-19,26,-24v10,-6,23,-9,38,-9v14,0,26,3,36,7v9,6,17,13,23,23v6,10,10,22,13,37v3,15,4,31,4,50xm139,-112v0,-11,0,-22,-1,-30v-1,-10,-2,-18,-4,-24v-1,-8,-3,-14,-6,-18v-3,-6,-6,-10,-9,-13v-3,-3,-7,-6,-12,-7v-5,-1,-10,-2,-15,-2v-10,0,-18,2,-24,7v-7,5,-12,11,-16,19v-3,9,-6,18,-6,30v-2,10,-2,22,-2,35v0,17,1,31,2,43v2,12,5,22,8,29v4,7,9,13,15,17v6,3,13,5,22,5v7,0,12,-1,17,-3v5,-3,9,-6,12,-10v4,-4,7,-9,10,-14v2,-5,4,-11,5,-18v1,-7,2,-14,3,-22v1,-7,1,-15,1,-24" }, "1": { "d": "163,-12v0,2,0,4,-1,6v0,1,0,2,-1,4v-1,0,-1,1,-2,2r-2,0r-119,0r-2,0v-2,-1,-2,-2,-2,-2v-1,-2,-1,-3,-2,-4v-1,-2,-1,-4,-1,-6v0,-2,0,-4,1,-6v1,-1,1,-2,2,-4v0,0,0,-1,1,-2r3,0r47,0r0,-173r-44,26v-2,1,-4,2,-5,2v-1,0,-2,0,-4,-1v0,-1,-1,-2,-1,-4r0,-6r0,-5v0,-1,0,-3,1,-3v0,-2,0,-2,1,-3v1,-1,2,-1,3,-2r52,-34v1,0,1,0,2,-1r2,0v2,-1,3,-1,4,-1r5,0v0,0,6,0,7,1r4,0v2,1,2,1,2,2v1,1,1,1,1,2r0,200r42,0r2,0v1,1,1,2,2,2v1,2,1,3,1,4v1,2,1,4,1,6" }, "2": { "d": "162,-13r0,5v0,0,0,4,-1,4v-1,2,-1,2,-3,3v0,1,-1,1,-2,1r-126,0r-4,0v-1,-1,-2,-2,-4,-2v0,-2,-1,-3,-2,-4r0,-7r0,-7v1,-1,1,-3,2,-4v0,-1,0,-3,2,-4v0,-1,2,-3,3,-4r44,-47v10,-11,18,-20,25,-29v6,-9,11,-16,14,-24v3,-6,6,-13,6,-18v2,-6,2,-12,2,-17v0,-5,-1,-9,-2,-14v-2,-5,-4,-9,-8,-12v-2,-3,-6,-6,-11,-8v-5,-2,-10,-3,-16,-3v-7,0,-14,1,-19,3v-6,2,-11,4,-16,7v-4,2,-8,4,-10,6v-4,2,-6,3,-7,3v-1,0,-1,0,-2,-1v-1,-1,-1,-2,-1,-2v-1,-2,-1,-3,-2,-4r0,-7r0,-4v1,-1,1,-3,1,-3v0,-2,0,-2,1,-3r3,-3v1,-1,4,-3,7,-5v3,-2,8,-4,13,-7v5,-2,11,-4,17,-5v7,-1,13,-2,20,-2v11,0,21,2,30,5v8,3,15,8,20,13v5,5,9,11,12,19v3,6,4,14,4,22v0,7,-1,15,-2,22v-1,7,-4,15,-8,24v-4,8,-10,17,-18,28v-8,10,-18,22,-31,35r-36,37r99,0v1,0,2,0,2,1v2,1,2,1,3,3v1,0,1,2,1,4r0,5" }, "3": { "d": "161,-65v0,11,-2,20,-5,29v-4,8,-10,15,-16,21v-8,6,-16,11,-26,13v-10,4,-21,5,-33,5v-8,0,-15,-1,-22,-1v-7,-2,-13,-3,-17,-4v-6,-2,-10,-4,-13,-6v-3,-2,-5,-3,-7,-4v0,-1,-1,-2,-2,-2r0,-4v-1,0,-1,-2,-2,-4r0,-6v0,-4,0,-7,2,-8v0,-2,2,-3,3,-3v1,0,3,1,6,3v5,2,5,2,12,6v5,2,10,4,17,6v7,1,14,2,22,2v7,0,14,-1,20,-3v6,-2,11,-5,15,-8v4,-3,7,-7,9,-13v2,-4,3,-10,3,-16v0,-7,-1,-12,-4,-18v-3,-4,-6,-9,-11,-13v-5,-4,-11,-7,-18,-9v-7,-2,-15,-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2,23,-6,33v-4,9,-10,17,-17,24v-7,6,-16,11,-27,14v-11,3,-22,5,-35,5v-7,0,-13,-1,-20,-1v-6,-2,-12,-3,-16,-4v-6,-1,-10,-3,-12,-4v-4,-1,-6,-2,-6,-4v-2,0,-2,-1,-2,-2v-1,-1,-1,-2,-2,-2r0,-4r0,-6r0,-5v0,-1,0,-3,1,-3v1,-2,1,-2,2,-3v1,-1,1,-1,2,-1v1,0,3,1,5,2v3,2,6,4,10,6v4,1,9,3,16,4v6,1,13,2,22,2v7,0,14,-1,21,-2v7,-2,12,-5,17,-9v5,-4,8,-9,11,-15v3,-6,4,-13,4,-22v0,-7,-1,-14,-3,-20v-2,-5,-6,-10,-10,-14v-6,-3,-12,-6,-19,-8v-7,-1,-16,-2,-26,-2v-7,0,-13,0,-18,1v-5,1,-10,1,-15,1v-3,0,-5,-1,-6,-2v-2,-2,-3,-5,-3,-9r0,-93v0,-4,1,-7,3,-8v2,-2,5,-3,8,-3r101,0v1,0,1,0,3,1v0,0,1,0,2,2r0,4v1,1,1,3,1,6v0,4,-1,7,-1,10v-2,2,-3,3,-5,3r-85,0r0,64v4,-1,8,-1,12,-1v5,-1,10,-1,15,-1v13,0,25,2,35,5v9,3,17,8,24,14v6,5,11,12,14,20v3,8,5,17,5,27" }, "6": { "d": "168,-74v0,10,-2,20,-4,29v-4,9,-8,18,-14,25v-7,7,-15,13,-24,17v-10,4,-22,6,-35,6v-9,0,-18,-1,-25,-3v-7,-3,-14,-6,-19,-10v-5,-5,-10,-10,-13,-16v-4,-7,-7,-14,-9,-22v-2,-8,-3,-17,-5,-26v0,-10,-1,-20,-1,-31v0,-10,1,-20,1,-30v2,-10,3,-20,6,-29v3,-9,6,-18,11,-26v5,-8,11,-15,17,-21v8,-6,16,-11,26,-15v9,-3,20,-5,33,-5v5,0,9,0,13,1v5,1,9,2,12,2v4,2,7,2,10,4v3,0,4,1,6,2v0,1,1,1,2,2r0,2v1,2,1,2,1,4r0,3r0,6v0,1,0,3,-1,3v0,2,0,2,-1,2v-1,1,-2,1,-3,1v-1,0,-3,0,-6,-1v-2,-1,-4,-2,-8,-2v-2,-2,-6,-2,-11,-4v-5,0,-10,-1,-16,-1v-11,0,-20,2,-27,7v-8,5,-14,11,-20,18v-4,7,-8,16,-11,26v-3,10,-4,20,-4,31r10,-5v4,-2,8,-4,13,-5v4,-1,9,-3,14,-3v5,-2,11,-2,16,-2v13,0,23,2,32,5v8,3,15,8,20,14v5,6,9,13,11,21v2,8,3,17,3,26xm138,-71v0,-7,-1,-13,-2,-19v-1,-5,-4,-10,-7,-14v-3,-3,-8,-6,-13,-8v-5,-3,-12,-4,-19,-4v-5,0,-9,0,-13,2v-5,0,-9,2,-13,3v-4,1,-8,3,-11,5v-4,1,-8,3,-11,5v0,15,1,28,3,39v2,10,5,18,8,24v4,6,9,10,14,13v6,3,13,4,20,4v7,0,14,-1,20,-5v5,-2,10,-6,14,-11v3,-5,6,-10,8,-16v1,-6,2,-12,2,-18" }, "7": { "d": "166,-214r0,6r-2,4r0,5v-1,1,-1,3,-2,4r-82,189v-1,1,-2,2,-2,4v-2,0,-3,1,-4,2v-1,1,-3,1,-5,1r-8,0v-4,0,-7,0,-9,-1v-2,0,-4,0,-4,-1v-2,-1,-2,-2,-2,-3v0,-1,0,-3,1,-4r86,-193r-109,0v-2,0,-4,-1,-5,-3v-1,-3,-2,-6,-2,-10v0,-3,0,-5,1,-6v0,-2,0,-4,1,-4v1,-2,1,-2,2,-2v1,-1,2,-1,3,-1r133,0v1,0,3,0,4,1v1,0,2,0,3,2v1,0,1,2,2,4r0,6" }, "8": { "d": "168,-58v0,9,-2,18,-6,26v-3,7,-8,14,-15,19v-7,5,-15,9,-25,12v-9,3,-20,4,-33,4v-11,0,-22,-1,-31,-3v-9,-3,-17,-6,-24,-11v-6,-5,-11,-11,-14,-18v-4,-7,-6,-15,-6,-24v0,-7,1,-14,4,-20v2,-6,5,-11,10,-17v5,-4,10,-9,16,-14v7,-4,14,-8,22,-12v-7,-3,-13,-7,-18,-12v-6,-4,-11,-8,-14,-13v-4,-5,-7,-10,-9,-15v-2,-5,-3,-11,-3,-17v0,-8,2,-15,4,-23v4,-6,8,-13,14,-18v5,-5,12,-10,22,-12v8,-4,19,-5,31,-5v11,0,21,1,30,4v9,3,16,7,21,11v5,6,9,11,12,18v3,6,4,13,4,20v0,6,-1,12,-3,18v-2,5,-5,10,-9,15v-3,5,-8,9,-14,13v-5,5,-11,9,-18,13v8,4,15,8,22,13v7,4,12,8,16,14v5,4,8,10,10,16v3,5,4,11,4,18xm130,-175v0,-5,-1,-9,-2,-13v-2,-4,-5,-8,-8,-10v-3,-4,-8,-6,-12,-7v-6,-1,-11,-2,-17,-2v-13,0,-22,3,-29,9v-7,5,-10,13,-10,23v0,5,1,9,2,13v2,4,5,8,8,11v3,3,8,7,12,10v6,3,12,7,19,11v12,-7,21,-14,27,-21v7,-7,10,-15,10,-24xm137,-55v0,-5,-1,-10,-3,-15v-2,-4,-5,-8,-9,-12v-4,-4,-9,-8,-15,-12v-6,-3,-13,-7,-21,-10v-7,3,-14,7,-19,10v-6,4,-11,8,-14,12v-4,4,-7,8,-8,12v-2,4,-3,9,-3,14v0,11,4,20,11,26v8,7,20,10,36,10v15,0,26,-3,34,-10v7,-6,11,-14,11,-25" }, "9": { "d": "164,-123v0,10,0,20,-2,30v0,10,-2,20,-6,29v-2,9,-6,18,-11,26v-5,9,-11,16,-18,22v-7,6,-16,11,-25,14v-10,3,-22,5,-35,5v-5,0,-10,0,-15,-1v-5,-1,-9,-1,-12,-2v-4,-1,-7,-2,-10,-3v-3,-1,-5,-3,-6,-3v-1,-2,-2,-3,-2,-4v-1,-2,-1,-5,-1,-8r0,-6v0,-1,0,-2,1,-4v0,0,0,-1,1,-2r3,0v0,0,3,0,6,2v2,0,5,2,8,2v4,2,8,2,13,4v5,0,10,1,16,1v11,0,21,-2,29,-7v8,-4,15,-10,20,-17v5,-7,9,-16,12,-26v3,-10,4,-20,4,-31v-6,4,-13,7,-22,10v-9,3,-19,4,-30,4v-13,0,-23,-2,-32,-5v-9,-3,-16,-8,-21,-14v-5,-6,-9,-13,-11,-21v-3,-9,-4,-18,-4,-27v0,-11,2,-21,4,-29v4,-10,8,-17,14,-24v7,-7,15,-12,24,-16v10,-5,22,-7,35,-7v9,0,18,1,25,3v7,3,14,6,19,11v5,5,10,10,13,17v4,6,7,13,10,21v2,8,4,17,4,27v2,9,2,19,2,29xm133,-126v0,-15,-1,-28,-3,-38v-2,-10,-5,-18,-8,-24v-4,-7,-9,-12,-14,-14v-6,-4,-13,-5,-20,-5v-8,0,-15,1,-20,5v-5,2,-10,6,-13,10v-3,5,-6,10,-7,16v-2,6,-3,12,-3,18v0,7,1,14,2,20v1,5,4,10,7,14v3,4,8,7,13,9v5,2,12,3,20,3v9,0,17,-1,25,-4v8,-3,15,-6,21,-10" }, "%": { "d": "245,-57v0,9,-1,17,-3,24v-2,7,-5,14,-10,19v-4,5,-9,10,-15,12v-6,4,-13,5,-22,5v-9,0,-16,-1,-22,-4v-6,-3,-11,-7,-15,-12v-4,-5,-7,-12,-8,-19v-2,-7,-3,-16,-3,-25v0,-9,1,-17,3,-23v2,-8,5,-14,9,-19v4,-5,9,-9,15,-13v6,-2,13,-4,22,-4v9,0,17,2,24,4v6,4,11,8,14,13v4,5,7,12,8,19v2,7,3,15,3,23xm220,-57v0,-6,0,-12,-2,-17v0,-5,-2,-10,-4,-13v-1,-3,-4,-6,-7,-7v-3,-2,-7,-3,-11,-3v-5,0,-8,1,-12,3v-2,1,-5,4,-7,7v-2,3,-3,7,-4,12v-1,5,-1,10,-1,17v0,8,0,15,2,20v0,5,2,10,4,12v2,4,4,6,8,7v2,1,6,2,10,2v5,0,8,-1,12,-3v2,-1,5,-4,7,-8v2,-3,3,-7,4,-12v1,-5,1,-10,1,-17xm111,-171v0,9,-1,17,-3,24v-2,7,-5,14,-10,19v-4,5,-9,10,-15,12v-6,4,-13,5,-22,5v-9,0,-16,-1,-22,-4v-6,-3,-11,-7,-15,-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1,3,1,5", "w": 179 }, "=": { "d": "163,-136v0,5,-1,9,-2,10v-1,2,-3,3,-5,3r-133,0v-2,0,-3,-1,-5,-3v0,-1,-1,-5,-1,-10v0,-4,1,-7,1,-9v2,-2,3,-3,5,-3r133,0v2,0,4,1,5,3v1,2,2,5,2,9xm163,-67v0,5,-1,8,-2,9v-1,2,-3,3,-5,3r-133,0v-2,0,-3,-1,-5,-3v0,-1,-1,-4,-1,-9v0,-5,1,-8,1,-10v2,-2,3,-3,5,-3r133,0v2,0,4,1,5,3v1,2,2,5,2,10", "w": 179 }, "<": { "d": "162,-28r0,6v-1,2,-1,4,-2,4v-1,2,-2,2,-2,2v-2,-1,-2,-1,-3,-2r-139,-70v-1,-1,-2,-2,-3,-4v-1,-2,-1,-5,-1,-10r0,-4v1,-2,1,-4,2,-4r0,-4v1,0,2,-1,3,-1r138,-70v3,-1,5,-1,5,1v2,1,2,5,2,10r0,8v-1,2,-1,4,-2,5v0,1,0,2,-2,3v0,1,-2,1,-3,2r-113,55r113,54v1,1,3,2,3,3v2,1,2,2,2,2v1,2,1,3,2,5r0,9", "w": 179 }, ">": { "d": "167,-101r0,5v0,0,0,4,-1,4v0,2,0,2,-1,3r-2,2r-138,69v-1,1,-3,1,-3,1v-2,0,-2,0,-3,-1v-1,-1,-1,-2,-1,-4r0,-6r0,-8r0,-5v1,-1,2,-2,2,-3v2,-1,3,-1,4,-2r113,-55r-113,-55v-1,-1,-2,-1,-3,-2v-1,-1,-1,-2,-2,-3v-1,-1,-1,-3,-1,-5r0,-8r0,-7v0,-2,0,-3,1,-4v1,-1,1,-1,3,-1v0,1,2,1,3,2r138,69v1,1,2,2,3,5v1,2,1,5,1,9", "w": 179}} });
//> require <mootools 1.2.3>

/* 	Class:
HistoryManager

Author:
Neil Jenkins - http://www.nmjenkins.com
		
Version:
2.0 (2008-08-23)
		
Version history:
2.0  Update to mootools 1.2 and rewrite IE handling to be more robust.
Also includes small API name change and a change to the hashes used
for each state, so is not 100% compatible with the older versions,
hence the new version number.
1.21 Fix IE quoting bug.
1.2  Clean up code to make better use of Mootools framework
1.1  Update to allow IE to keep its history even when navigating to a different site and back.
1.0  Initial release
		
License:
GNU GPL 2.0: http://creativecommons.org/licenses/GPL/2.0/
		
Description:
Javascript class for restoring use of the back/forward buttons to web pages that are completely
dynamic and therefore don't actually navigate to different pages.
		
Usage:
Calling new HistoryManager() returns an instance of the History Manager
e.g. var h = new HistoryManager();
This should be done AFTER the DOM has loaded for compatibility with IE;
the mootools 'domready' event is useful for this. 

Public interfaces:

addState(String: hash)
This method creates a new history state in the browser (as though a link has been clicked)
and also sets the location hash to the supplied argument to allow for bookmarking.

The hash is expected to be a vaild URI hash component; the global function encodeURI() is useful for
this. Encoding the state of a javascript program into a string is very much specific to each program therefore
no processing is done by this module; it is left to the subscribing functions to encode and parse the state.
			
e.g. h.addState('tab3');
		
addEvent(String: event, Function: callbackFunction)
This method subscribes functions to be called when the history state changes.
NB The only event currently available is 'onHistoryChange'.
Functions subscribed to this event will be called with the hash of the new state as their argument.
e.g. h.addEvent('onHistoryChange', functionToCall);
		
removeEvent(String: event, Function: callbackFunction)
This method removes functions subscribed to the HistoryManager by the addEvent method		
e.g. h.removeEvent('onHistoryChange', functionToRemove);

getCurrentHash()
Returns the current hash.
e.g. var state = h.getCurrentHash();

Dependencies:
mootools 1.2: http://mootools.net

Notes:
This is a singleton; there can only ever be one instance of the class. Calling new HistoryManger() for a second time
will simply return a reference to the current instance.
Supports Gecko, Safari 2+, Opera 9+ and IE6+
*/

var HistoryManager = (function ()
{
	var HistoryManagerSingleton = new Class({

		Implements: Events,

		initialize: function ()
		{
			// Store initial location
			this._currentLocation = this._getHash();

			// Internet Explorer 6 & 7
			if (Browser.Engine.trident && Browser.Engine.version <= 5)
			{
				this._iframe = new IFrame({
					src: "javascript:'<html><body>" + this._currentLocation.replace(/(['"])/g, '\\$1') + "</body></html>'",
					styles: { display: 'none' }
				}).inject(document.body).contentWindow;

				this.addState = this._addStateIE;
				this._monitorIE.periodical(200, this);
			}
			// Safari 2
			else if (Browser.Engine.webkit419)
			{
				this._form = new Element("form", { method: 'get' }).inject(document.body);
				this._historyCounter = history.length;
				this._stateHistory = [];
				this._stateHistory[history.length] = this._getHash();

				this.addState = this._addStateSafari;
				this._monitorSafari.periodical(200, this);
			}
			// Opera 9.25
			else if (Browser.Engine.presto925)
			{
				this.addState = this._addStateDefault;

				window.$justForOpera = this._monitorDefault.bind(this);
				new Element('img', {
					src: "javascript:location.href='javascript:$justForOpera();';",
					style: "position: absolute; top: -1000px;"
				}).inject(document.body);
			}
			// Everything else
			else
			{
				this.addState = this._addStateDefault;
				this._monitorDefault.periodical(200, this);
			}
		},

		getCurrentHash: function ()
		{
			return this._currentLocation;
		},

		// All history manager hashes will have a / as the first char to work around
		// an IE bug whereby it will add changes to location.hash to the history
		// stack if there is an element of that id in the page. ID's cannot contain
		// the forward slash character therefore if we start every hash with that
		// there will never be a collisiton. Hence slice off the first char.

		// Use location.href because location.hash is already URI decoded, which may cause
		// problems with encoding/decoding functions.

		_getHash: function ()
		{
			var hash = top.location.href.indexOf("#") > -1 ? top.location.href.split('#')[1] : '';

			if (Browser.Engine.webkit)
			{
				hash = unescape(hash);
			}

			//return unescape(hash);
			return hash;
		},

		_addStateIE: function (hash)
		{
			if (this._currentLocation != hash)
			{
				top.location.hash = "#" + hash;
				this._currentLocation = hash;

				this._iframe.document.open('text/html');
				this._iframe.document.write('<html><body>', hash, '</body></html>');
				this._iframe.document.close();
			}
			return this;
		},

		_monitorIE: function ()
		{
			var hash = this._iframe.document.body.innerText;

			if (hash != this._currentLocation)
			{
				top.location.hash = "#" + hash;
				this._currentLocation = hash;
				this.fireEvent('onHistoryChange', [hash]);
			}
		},

		_addStateSafari: function (hash)
		{
			if (this._currentLocation != hash)
			{
				this._form.set('action', '#' + hash).submit()
				this._currentLocation = hash;
				this._stateHistory[history.length] = unescape(this._getHash());
				this._historyCounter = history.length;
			}
			return this;
		},

		_monitorSafari: function ()
		{
			if (history.length != this._historyCounter)
			{
				this._historyCounter = history.length;
				this._currentLocation = this._stateHistory[history.length];
				this.fireEvent('onHistoryChange', [this._currentLocation]);
			}
		},

		_addStateDefault: function (hash)
		{
			//alert(hash + " | " + unescape(hash));
			if (this._currentLocation != hash)
			{
				top.location.hash = '#' + hash;
				this._currentLocation = hash;
			}
			return this;
		},

		_monitorDefault: function ()
		{
			var hash = this._getHash();

			if (hash != this._currentLocation)
			{
				this._currentLocation = hash;
				this.fireEvent('onHistoryChange', [hash]);
			}
		}
	});

	var singleton;

	return function ()
	{
		return singleton || (singleton = new HistoryManagerSingleton());
	}

})();
//> require <mootools 1.2.3>

/**
* Swiff.Uploader - Flash FileReference Control
*
* @version		3.0
*
* @license		MIT License
*
* @author		Harald Kirschner <http://digitarald.de>
* @author		Valerio Proietti, <http://mad4milk.net>
* @copyright	Authors
*/

Swiff.Uploader = new Class({

	Extends: Swiff,

	Implements: Events,

	options: {
		path: '/Swiff.Uploader.swf',

		target: null,
		zIndex: 9999,

		height: 30,
		width: 100,
		callBacks: null,
		params: {
			wMode: 'opaque',
			menu: 'false',
			allowScriptAccess: 'always'
		},

		typeFilter: null,
		multiple: true,
		queued: true,
		verbose: false,

		url: null,
		method: null,
		data: null,
		mergeData: true,
		fieldName: null,

		fileSizeMin: 1,
		fileSizeMax: null, // Official limit is 100 MB for FileReference, but I tested up to 2Gb!
		allowDuplicates: false,
		timeLimit: (Browser.Platform.linux) ? 0 : 30,

		buttonImage: null,
		policyFile: null,

		fileListMax: 0,
		fileListSizeMax: 0,

		instantStart: false,
		appendCookieData: false,

		fileClass: null
		/*
		onLoad: $empty,
		onFail: $empty,
		onStart: $empty,
		onQueue: $empty,
		onComplete: $empty,
		onBrowse: $empty,
		onDisabledBrowse: $empty,
		onCancel: $empty,
		onSelect: $empty,
		onSelectSuccess: $empty,
		onSelectFail: $empty,
		
		onButtonEnter: $empty,
		onButtonLeave: $empty,
		onButtonDown: $empty,
		onButtonDisable: $empty,
		
		onFileStart: $empty,
		onFileStop: $empty,
		onFileRequeue: $empty,
		onFileOpen: $empty,
		onFileProgress: $empty,
		onFileComplete: $empty,
		onFileRemove: $empty,
		
		onBeforeStart: $empty,
		onBeforeStop: $empty,
		onBeforeRemove: $empty
		*/
	},

	initialize: function (options)
	{
		// protected events to control the class, added
		// before setting options (which adds own events)
		this.addEvent('load', this.initializeSwiff, true)
			.addEvent('select', this.processFiles, true)
			.addEvent('complete', this.update, true)
			.addEvent('fileRemove', function (file)
			{
				this.fileList.erase(file);
			} .bind(this), true);

		this.setOptions(options);

		// callbacks are no longer in the options, every callback
		// is fired as event, this is just compat
		if (this.options.callBacks)
		{
			Hash.each(this.options.callBacks, function (fn, name)
			{
				this.addEvent(name, fn);
			}, this);
		}

		this.options.callBacks = {
			fireCallback: this.fireCallback.bind(this)
		};

		var path = this.options.path;
		if (!path.contains('?')) path += '?noCache=' + $time(); // cache in IE

		// container options for Swiff class
		this.options.container = this.box = new Element('span', { 'class': 'swiff-uploader-box' }).inject($(this.options.container) || document.body);

		// target 
		this.target = $(this.options.target);
		if (this.target)
		{
			var scroll = window.getScroll();
			this.box.setStyles({
				position: 'absolute',
				visibility: 'visible',
				zIndex: this.options.zIndex,
				overflow: 'hidden',
				height: 1, width: 1,
				top: scroll.y, left: scroll.x
			});

			// we force wMode to transparent for the overlay effect
			this.parent(path, {
				params: {
					wMode: 'transparent'
				},
				height: '100%',
				width: '100%'
			});

			this.target.addEvent('mouseenter', this.reposition.bind(this, []));

			// button interactions, relayed to to the target
			this.addEvents({
				buttonEnter: this.targetRelay.bind(this, ['mouseenter']),
				buttonLeave: this.targetRelay.bind(this, ['mouseleave']),
				buttonDown: this.targetRelay.bind(this, ['mousedown']),
				buttonDisable: this.targetRelay.bind(this, ['disable'])
			});

			this.reposition();
			window.addEvent('resize', this.reposition.bind(this, []));
		} else
		{
			this.parent(path);
		}

		this.inject(this.box);

		this.fileList = [];

		this.size = this.uploading = this.bytesLoaded = this.percentLoaded = 0;

		if (Browser.Plugins.Flash.version < 9)
		{
			this.fireEvent('fail', ['flash']);
		} else
		{
			this.verifyLoad.delay(1000, this);
		}
	},

	verifyLoad: function ()
	{
		if (this.loaded) return;
		if (!this.object.parentNode)
		{
			this.fireEvent('fail', ['disabled']);
		} else if (this.object.style.display == 'none')
		{
			this.fireEvent('fail', ['hidden']);
		} else if (!this.object.offsetWidth)
		{
			this.fireEvent('fail', ['empty']);
		}
	},

	fireCallback: function (name, args)
	{
		// file* callbacks are relayed to the specific file
		if (name.substr(0, 4) == 'file')
		{
			// updated queue data is the second argument
			if (args.length > 1) this.update(args[1]);
			var data = args[0];

			var file = this.findFile(data.id);
			this.fireEvent(name, file || data, 5);
			if (file)
			{
				var fire = name.replace(/^file([A-Z])/, function ($0, $1)
				{
					return $1.toLowerCase();
				});
				file.update(data).fireEvent(fire, [data], 10);
			}
		} else
		{
			this.fireEvent(name, args, 5);
		}
	},

	update: function (data)
	{
		// the data is saved right to the instance 
		$extend(this, data);
		this.fireEvent('queue', [this], 10);
		return this;
	},

	findFile: function (id)
	{
		for (var i = 0; i < this.fileList.length; i++)
		{
			if (this.fileList[i].id == id) return this.fileList[i];
		}
		return null;
	},

	initializeSwiff: function ()
	{
		// extracted options for the swf 
		this.remote('initialize', {
			width: this.options.width,
			height: this.options.height,
			typeFilter: this.options.typeFilter,
			multiple: this.options.multiple,
			queued: this.options.queued,
			url: this.options.url,
			method: this.options.method,
			data: this.options.data,
			mergeData: this.options.mergeData,
			fieldName: this.options.fieldName,
			verbose: this.options.verbose,
			fileSizeMin: this.options.fileSizeMin,
			fileSizeMax: this.options.fileSizeMax,
			allowDuplicates: this.options.allowDuplicates,
			timeLimit: this.options.timeLimit,
			buttonImage: this.options.buttonImage,
			policyFile: this.options.policyFile
		});

		this.loaded = true;

		this.appendCookieData();
	},

	targetRelay: function (name)
	{
		if (this.target) this.target.fireEvent(name);
	},

	reposition: function (coords)
	{
		// update coordinates, manual or automatically
		coords = coords || (this.target && this.target.offsetHeight)
			? this.target.getCoordinates(this.box.getOffsetParent())
			: { top: window.getScrollTop(), left: 0, width: 40, height: 40 }
		this.box.setStyles(coords);
		this.fireEvent('reposition', [coords, this.box, this.target]);
	},

	setOptions: function (options)
	{
		if (options)
		{
			if (options.url) options.url = Swiff.Uploader.qualifyPath(options.url);
			if (options.buttonImage) options.buttonImage = Swiff.Uploader.qualifyPath(options.buttonImage);
			this.parent(options);
			if (this.loaded) this.remote('setOptions', options);
		}
		return this;
	},

	setEnabled: function (status)
	{
		this.remote('setEnabled', status);
	},

	start: function ()
	{
		this.fireEvent('beforeStart');
		this.remote('start');
	},

	stop: function ()
	{
		this.fireEvent('beforeStop');
		this.remote('stop');
	},

	remove: function ()
	{
		this.fireEvent('beforeRemove');
		this.remote('remove');
	},

	fileStart: function (file)
	{
		this.remote('fileStart', file.id);
	},

	fileStop: function (file)
	{
		this.remote('fileStop', file.id);
	},

	fileRemove: function (file)
	{
		this.remote('fileRemove', file.id);
	},

	fileRequeue: function (file)
	{
		this.remote('fileRequeue', file.id);
	},

	appendCookieData: function ()
	{
		var append = this.options.appendCookieData;
		if (!append) return;

		var hash = {};
		document.cookie.split(/;\s*/).each(function (cookie)
		{
			cookie = cookie.split('=');
			if (cookie.length == 2)
			{
				hash[decodeURIComponent(cookie[0])] = decodeURIComponent(cookie[1]);
			}
		});

		var data = this.options.data || {};
		if ($type(append) == 'string') data[append] = hash;
		else $extend(data, hash);

		this.setOptions({ data: data });
	},

	processFiles: function (successraw, failraw, queue)
	{
		var cls = this.options.fileClass || Swiff.Uploader.File;

		var fail = [], success = [];

		if (successraw)
		{
			successraw.each(function (data)
			{
				var ret = new cls(this, data);
				if (!ret.validate())
				{
					ret.remove.delay(10, ret);
					fail.push(ret);
				} else
				{
					this.size += data.size;
					this.fileList.push(ret);
					success.push(ret);
					ret.render();
				}
			}, this);

			this.fireEvent('selectSuccess', [success], 10);
		}

		if (failraw || fail.length)
		{
			fail.extend((failraw) ? failraw.map(function (data)
			{
				return new cls(this, data);
			}, this) : []).each(function (file)
			{
				file.invalidate().render();
			});

			this.fireEvent('selectFail', [fail], 10);
		}

		this.update(queue);

		if (this.options.instantStart && success.length) this.start();
	}

});

$extend(Swiff.Uploader, {

	STATUS_QUEUED: 0,
	STATUS_RUNNING: 1,
	STATUS_ERROR: 2,
	STATUS_COMPLETE: 3,
	STATUS_STOPPED: 4,

	log: function ()
	{
		if (window.console && console.info) console.info.apply(console, arguments);
	},

	unitLabels: {
		b: [{ min: 1, unit: 'B' }, { min: 1024, unit: 'kB' }, { min: 1048576, unit: 'MB' }, { min: 1073741824, unit: 'GB'}],
		s: [{ min: 1, unit: 's' }, { min: 60, unit: 'm' }, { min: 3600, unit: 'h' }, { min: 86400, unit: 'd'}]
	},

	formatUnit: function (base, type, join)
	{
		var labels = Swiff.Uploader.unitLabels[(type == 'bps') ? 'b' : type];
		var append = (type == 'bps') ? '/s' : '';
		var i, l = labels.length, value;

		if (base < 1) return '0 ' + labels[0].unit + append;

		if (type == 's')
		{
			var units = [];

			for (i = l - 1; i >= 0; i--)
			{
				value = Math.floor(base / labels[i].min);
				if (value)
				{
					units.push(value + ' ' + labels[i].unit);
					base -= value * labels[i].min;
					if (!base) break;
				}
			}

			return (join === false) ? units : units.join(join || ', ');
		}

		for (i = l - 1; i >= 0; i--)
		{
			value = labels[i].min;
			if (base >= value) break;
		}

		return (base / value).toFixed(1) + ' ' + labels[i].unit + append;
	}

});

Swiff.Uploader.qualifyPath = (function ()
{

	var anchor;

	return function (path)
	{
		(anchor || (anchor = new Element('a'))).href = path;
		return anchor.href;
	};

})();

Swiff.Uploader.File = new Class({

	Implements: Events,

	initialize: function (base, data)
	{
		this.base = base;
		this.update(data);
	},

	update: function (data)
	{
		return $extend(this, data);
	},

	validate: function ()
	{
		var options = this.base.options;

		if (options.fileListMax && this.base.fileList.length >= options.fileListMax)
		{
			this.validationError = 'fileListMax';
			return false;
		}

		if (options.fileListSizeMax && (this.base.size + this.size) > options.fileListSizeMax)
		{
			this.validationError = 'fileListSizeMax';
			return false;
		}

		return true;
	},

	invalidate: function ()
	{
		this.invalid = true;
		this.base.fireEvent('fileInvalid', this, 10);
		return this.fireEvent('invalid', this, 10);
	},

	render: function ()
	{
		return this;
	},

	setOptions: function (options)
	{
		if (options)
		{
			if (options.url) options.url = Swiff.Uploader.qualifyPath(options.url);
			this.base.remote('fileSetOptions', this.id, options);
			this.options = $merge(this.options, options);
		}
		return this;
	},

	start: function ()
	{
		this.base.fileStart(this);
		return this;
	},

	stop: function ()
	{
		this.base.fileStop(this);
		return this;
	},

	remove: function ()
	{
		this.base.fileRemove(this);
		return this;
	},

	requeue: function ()
	{
		this.base.fileRequeue(this);
	}

});

//> require <mootools 1.2.3>
//> require <stringBuilder 1.0.0>

var Base64 = new Class(
{
	initialize: function ()
	{
		this.keyStr = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
		//		this.indices = [];
		//		this.map = [];

		//		for (var i = 0; i < this.keyStr.length; i++)
		//		{
		//			this.indices[i] = this.keyStr.charAt(i);
		//			f64[b64s.charAt(i)] = i;
		//		}

	},

	encode: function (input)
	{
		var sb = new StringBuilder();
		var chr1, chr2, chr3, enc1, enc2, enc3, enc4;
		var i = 0;

		input = base64._utf8_encode(input);

		while (i < input.length)
		{
			chr1 = input.charCodeAt(i++);
			chr2 = input.charCodeAt(i++);
			chr3 = input.charCodeAt(i++);

			enc1 = chr1 >> 2;
			enc2 = ((chr1 & 3) << 4) | (chr2 >> 4);
			enc3 = ((chr2 & 15) << 2) | (chr3 >> 6);
			enc4 = chr3 & 63;

			if (isNaN(chr2))
			{
				enc3 = enc4 = 64;
			}
			else if (isNaN(chr3))
			{
				enc4 = 64;
			}

			sb.append(this.keyStr.charAt(enc1));
			sb.append(this.keyStr.charAt(enc2));
			sb.append(this.keyStr.charAt(enc3));
			sb.append(this.keyStr.charAt(enc4));
		}

		return sb.flush();
	},

	decode: function (input)
	{
		var sb = new StringBuilder();
		var output = "";
		var chr1, chr2, chr3;
		var enc1, enc2, enc3, enc4;
		var i = 0;

		input = input.replace(/[^A-Za-z0-9\+\/\=]/g, "");

		while (i < input.length)
		{
			enc1 = this.keyStr.indexOf(input.charAt(i++));
			enc2 = this.keyStr.indexOf(input.charAt(i++));
			enc3 = this.keyStr.indexOf(input.charAt(i++));
			enc4 = this.keyStr.indexOf(input.charAt(i++));

			chr1 = (enc1 << 2) | (enc2 >> 4);
			chr2 = ((enc2 & 15) << 4) | (enc3 >> 2);
			chr3 = ((enc3 & 3) << 6) | enc4;

			//output = output + String.fromCharCode(chr1);
			sb.append(String.fromCharCode(chr1));

			if (enc3 != 64)
			{
				//output = output + String.fromCharCode(chr2);
				sb.append(String.fromCharCode(chr2));
			}
			if (enc4 != 64)
			{
				//output = output + String.fromCharCode(chr3);
				sb.append(String.fromCharCode(chr3));
			}
		}

		return base64._utf8_decode(sb.flush());
	},

	_utf8_encode: function (string)
	{
		string = string.replace(/\r\n/g, "\n");
		var sb = new StringBuilder();
		//var utftext = "";

		for (var n = 0; n < string.length; n++)
		{
			var c = string.charCodeAt(n);

			if (c < 128)
			{
				//				utftext += String.fromCharCode(c);
				sb.append(String.fromCharCode(c));
			}
			else if ((c > 127) && (c < 2048))
			{
				//				utftext += String.fromCharCode((c >> 6) | 192);
				//				utftext += String.fromCharCode((c & 63) | 128);
				sb.append(String.fromCharCode((c >> 6) | 192));
				sb.append(String.fromCharCode((c & 63) | 128));
			}
			else
			{
				//				utftext += String.fromCharCode((c >> 12) | 224);
				//				utftext += String.fromCharCode(((c >> 6) & 63) | 128);
				//				utftext += String.fromCharCode((c & 63) | 128);
				sb.append(String.fromCharCode((c >> 12) | 224));
				sb.append(String.fromCharCode(((c >> 6) & 63) | 128));
				sb.append(String.fromCharCode((c & 63) | 128));
			}
		}

		return sb.flush();
	},

	_utf8_decode: function (utftext)
	{
		var sb = new StringBuilder();
		var string = "";
		var i = 0;
		var c = 0;
		var c1 = 0;
		var c2 = 0;

		while (i < utftext.length)
		{
			c = utftext.charCodeAt(i);

			if (c < 128)
			{
				//string += String.fromCharCode(c);
				sb.append(String.fromCharCode(c));
				i++;
			}
			else if ((c > 191) && (c < 224))
			{
				c2 = utftext.charCodeAt(i + 1);
				//string += String.fromCharCode(((c & 31) << 6) | (c2 & 63));
				sb.append(String.fromCharCode(((c & 31) << 6) | (c2 & 63)));
				i += 2;
			}
			else
			{
				c2 = utftext.charCodeAt(i + 1);
				c3 = utftext.charCodeAt(i + 2);
				//string += String.fromCharCode(((c & 15) << 12) | ((c2 & 63) << 6) | (c3 & 63));
				sb.append(String.fromCharCode(((c & 15) << 12) | ((c2 & 63) << 6) | (c3 & 63)));
				i += 3;
			}
		}

		//return string;
		return sb.flush();
	}
});

var Base64Json = new Class(
{
	initialize: function ()
	{

	},

	encode: function (obj)
	{
		return base64.encode(JSON.encode(obj));
	},

	decode: function (base64String)
	{
		return JSON.decode(base64.decode(base64String));
	}
});

var base64 = new Base64();
var base64Json = new Base64Json();
//> require <mootools 1.2.3>
//> require <base64Json 1.0.0>

var UI = new Class(
{
	Implements: Events,
	initialize: function ()
	{
		this.resizeHandlers = [];
		this.cleanupHandlers = [];
		this.controlRemovalHandlerList = [];
		this.controlRemovalHandlers = {};
		this.elementRemovalHandlers = {};

		this.viewStateHandlerList = [];
		this.viewStateHandlers = {};

		this.commandHandlerList = [];
		this.commandHandlers = {};

		this.initCommands = [];

		this.onSetDialog = function () { };
		this.onReceiveModalPopup = function () { };

		this.onBeforeRequest = function () { };
		this.onAfterRequest = function () { };
	},

	registerResizeHandler: function (handler)
	{
		this.resizeHandlers.push(handler);
	},

	registerCleanupHandler: function (handler)
	{
		this.cleanupHandlers.push(handler);
	},

	registerControlRemovalHandler: function (typeID, handler)
	{
		this.controlRemovalHandlerList.push(typeID);
		this.controlRemovalHandlers[typeID] = handler;

		ui.elementRemovalHandlers[typeID] = handler;
	},

	registerViewStateHandler: function (typeID, handler)
	{
		this.viewStateHandlerList.push(typeID);
		this.viewStateHandlers[typeID] = handler;
	},

	registerCommandHandler: function (action, handler)
	{
		this.commandHandlerList.push(action);
		this.commandHandlers[action] = handler;
	},

	getNestedControl: function (el, id)
	{
		return $(el).getElement("[id=" + id + "]");
	},

	getSubElement: function (el, id)
	{
		return $(el).getElement("[id=" + id + "]");
	},

	getDialogParameters: function (dialog)
	{
		var dlgParameters = $(dialog.id + "_parameters");

		if (dlgParameters != null)
		{
			return dlgParameters.value;
		}

		return "{}";
	},

	collectDialogState: function (dialog)
	{
		if (dialog == null)
		{
			return {};
		}

		return {
			"DialogID": dialog.id,
			"DialogState": ui.collectViewState(dialog, true),
			"DialogParameters": base64Json.decode(ui.getDialogParameters(dialog))
		}
	},

	getMetaElements: function (dialog)
	{
		var dialogElements = $(dialog.id + "_elements");
		var metaElements = [];

		if (dialogElements != null && dialogElements.value != "")
		{
			var elements = dialogElements.value.split(",");

			for (var i = 0; i < elements.length; i++)
			{
				var dialogElement = elements[i].split(":");

				var metaElement =
				{
					ID: dialogElement[0],
					TypeID: dialogElement[1],
					Control: null
				};

				metaElement.Control = ui.getSubElement(dialog, metaElement.ID);

				metaElements.push(metaElement);
			}
		}

		return metaElements;
	},

	collectViewState: function (dialog, collectSubStates)
	{
		var controlStates = {};

		controlStates["__type"] = "cs";

		if (dialog == null)
		{
			return controlStates;
		}

		var metaElements = ui.getMetaElements(dialog);

		for (var i = 0; i < metaElements.length; i++)
		{
			var metaElement = metaElements[i];

			if (ui.viewStateHandlerList.contains(metaElement.TypeID))
			{
				if (metaElement.Control != null)
				{
					controlStates[metaElement.ID] = ui.viewStateHandlers[metaElement.TypeID](metaElement.Control);
				}
			}
		}

		return controlStates;
	},

	attachDialogState: function (dialogID)
	{
		this.attachedDialogState = base64Json.encode(this.collectDialogState($(dialogID)));
	},

	overwriteDialogTarget: function (dialogID)
	{
		this.targetDialog = dialogID;
	},

	executeAction: function (dialogID, actionID, actionParams, onFinish)
	{
		if (this.onBeforeRequest != null)
		{
			this.onBeforeRequest();
		}

		var actionParams = { "dialogID": dialogID, "actionID": actionID, "actionParams": actionParams };
		var actionParamsJSON = JSON.encode(actionParams);

		var reqAction = new Request(
		{
			url: "/UIService.asmx/ExecuteAction",
			urlEncoded: false,
			method: "post",
			data: actionParamsJSON,
			headers: { "Content-Type": "application/json; charset=utf-8", "Accept": "application/json" },
			onSuccess: function (retVal)
			{
				var commands = JSON.decode(retVal)["d"];
				ui.processCommands(commands, onFinish);
			}
		});

		reqAction.send();
	},

	handleEvent: function (dialogID, sender, eventName)
	{
		if (this.targetDialog != '')
		{
			dialogID = this.targetDialog;
			this.targetDialog = '';
		}

		var dialog = $(dialogID);

		if (dialog == null)
		{
			alert("Could not find dialog '" + dialogID + "'");
			return;
		}

		var viewState = base64Json.encode(this.collectViewState(dialog, false));
		var parameters = $(dialogID + "_parameters").value;

		if (this.onBeforeRequest != null)
		{
			this.onBeforeRequest();
		}

		var eventParams = { "dialogID": dialogID, "dialogParams": parameters, "dialogState": viewState, "controlID": sender.id, "eventName": eventName, "siteState": this.attachedDialogState };
		var eventParamsJSON = JSON.encode(eventParams);

		// NOTE: Create reqEvents earlier and just change the data - reduce overhead
		var reqEvent = new Request(
		{
			url: "/UIService.asmx/HandleEvent",
			urlEncoded: false,
			method: "post",
			data: eventParamsJSON,
			headers: { "Content-Type": "application/json; charset=utf-8", "Accept": "application/json" },
			onSuccess: function (retVal)
			{
				var commands = JSON.decode(retVal)["d"];
				ui.processCommands(commands);
			}
		});

		reqEvent.send();

		//UIService.HandleEvent(dialogID, parameters, viewState, sender.id, eventName, this.attachedDialogState, this.processCommands);
		this.attachedDialogState = '';
	},

	load: function ()
	{
		try
		{
			this.processSubCommands(this.initCommands);
		}
		catch (e)
		{

		}

		window.onresize = function ()
		{
			ui.onResize();
		}

		ui.onResize();
	},

	executeHandlers: function (handlers, args)
	{
		for (var i = 0; i < handlers.length; i++)
		{
			var handler = handlers[i];

			if (handler != null)
			{
				try
				{
					handler(args);
				}
				catch (e)
				{

				}
			}
		}
	},

	onResize: function ()
	{
		ui.executeHandlers(ui.resizeHandlers);
	},

	cleanupElement: function (rootElement)
	{
		ui.executeHandlers(ui.cleanupHandlers, rootElement);

		rootElement.empty();
	},

	invokeClientMethod: function (data)
	{
		var obj = window[data["o"]];

		if ($defined(obj))
		{
			var method = obj[data["m"]];

			if ($defined(method)) // && $type(method) == 'function'
			{
				method.run(data["p"]);
			}
		}
	},

	processCommand: function (command)
	{
		var data = command.Data;

		if (ui.commandHandlerList.contains(command.Action))
		{
			ui.commandHandlers[command.Action](command);
		}
		else
		{
			switch (command.Action)
			{
				case "updateParameters":
					var dialogParams = $(data.DialogID + "_parameters");

					if (dialogParams != null)
					{
						$(data.DialogID + "_parameters").value = data.Parameters;
					}

					break;
				case "addClientStyle":
					if (Browser.Engine.trident)
					{
						var styleSheet = document.styleSheets[document.styleSheets.length - 1];
						styleSheet.addRule(data.Selector, data.Style, -1)
					}
					else
					{
						var styleSheet = document.styleSheets[document.styleSheets.length - 1];
						var cssRule = data.Selector + " {" + data.Style + "}";
						styleSheet.insertRule(cssRule, styleSheet.cssRules.length - 1)
					}

					break;
				case "redirect":
					document.location.href = data.Url;
					break;
				case "eval":
					eval(data.Script);
					break;
				case "update":
					var dlg = $(data.dlg);

					if (dlg != null)
					{
						var pnl = ui.getSubElement(dlg, data.pnl);

						if (pnl != null)
						{
							ui.cleanupElement(pnl);

							pnl.set("html", data.html);

							uiDialog.update(dlg, pnl, data.clientData);
						}
					}

					break;
				case "setView":
					var elTarget = null;

					if (data.pnl === 'body')
					{
						elTarget = $(document.body);
					}
					else
					{
						elTarget = $(data.pnl);
					}

					if (elTarget != null)
					{
						if ($defined(data.title) && data.title != '')
						{
							document.title = data.title;
						}

						ui.cleanupElement(elTarget);

						elTarget.set("html", data.dlg);

						var elDialog = elTarget.getFirst();

						if (elDialog != null)
						{
							uiDialog.init(elDialog, data.clientData);
						}

						site.view = data.view;

						if (ui.onSetDialog != null)
						{
							ui.onSetDialog(elTarget);
						}
					}

					break;
				case "setDialog":
					var pnlContainer = null;

					if (data.showAsMP == true)
					{
						pnlContainer = $("mpDialogInner");
					}
					else
					{
						pnlContainer = $(data.pnl);
					}

					if (pnlContainer == null)
					{
						break;
					}

					if ($defined(data.title) && data.title != '')
					{
						document.title = data.title;
					}

					ui.cleanupElement(pnlContainer);

					//					var mp = $("mp");
					//					var mpDialog = $("mpDialog");

					//					mp.setOpacity(0.0);
					//					mp.setStyles({ display: "block" });

					//					mpDialog.setOpacity(0.0);
					//					mpDialog.setStyles({ display: "block" });

					pnlContainer.set("html", data.dlg);

					var elDialog = pnlContainer.getFirst();

					if (elDialog != null)
					{
						uiDialog.init(elDialog, data.clientData);
					}

					//alert(JSON.encode(data.InitCommands));

					//					if (data.cmdsInit && data.cmdsInit.length > 0)
					//					{
					//						ui.processSubCommands(data.cmdsInit);
					//					}

					if (data.showAsMP == true)
					{
						//						if (data.MPWidth != -1)
						//						{
						//							pnlContainer.set("width", data.MPWidth);
						//						}

						if (ui.onReceiveModalPopup != null)
						{
							ui.onReceiveModalPopup();
						}
					}

					if (ui.onSetDialog != null)
					{
						ui.onSetDialog(pnlContainer);
					}

					break;
				case "initDialog":
					var elDialog = $(data["_d"]);

					if (elDialog != null)
					{
						var cData = data["_c"];
						uiDialog.init(elDialog, cData);
					}

					break;
				case "deleteDialog":
					var container = $(data.Container);

					if (container == null)
					{
						break;
					}

					ui.cleanupElement(container);

					break;
				case "setUIProp":
					var el = ui.getSubElement(data.dialogID, data.controlID);

					if (el == null)
					{
						break;
					}

					el.set(data.key, data.value);

					break;
				case "invoke":
					ui.invokeClientMethod(data);
					break;
			}
		}
	},

	processSubCommands: function (subCommands, onFinish)
	{
		if (!subCommands)
		{
			return;
		}

		for (var i = 0; i < subCommands.length; i++)
		{
			try
			{
				ui.processCommand(subCommands[i]);
			}
			catch (e)
			{
				console.warn(e);
			}
		}

		return true;
	},

	processCommands: function (commands, onFinish)
	{
		eventCommands = commands;

		if (!commands)
		{
			return;
		}

		for (var i = 0; i < commands.length; i++)
		{
			try
			{
				ui.processCommand(commands[i]);
			}
			catch (e)
			{
				console.warn(e);
			}
		}

		if (onFinish != null)
		{
			onFinish();
		}

		ui.fireEvent("afterRequest");

		if (ui.onAfterRequest != null)
		{
			ui.onAfterRequest();
		}

		ui.onResize();

		return true;
	}
});

var ui = new UI();
//> require <mootools 1.2.3>
//> require <ui 1.0.0>

var UIDialog = new Class(
{
	initialize: function ()
	{
		this.typeID = "dlg";
		this.elType = "object";
		this.dialogs = [];

		this.preInitHandlers = { "dlg": this.init };
		this.initHandlers = {};
		this.onEvent = null;

		this.reqEvent = new Request(
		{
			url: "/",
			urlEncoded: false,
			method: "post",
			data: null,
			link: "cancel",
			headers: { "Content-Type": "application/json; charset=utf-8", "Accept": "application/json", "Kind": "event" },
			onSuccess: function (retVal)
			{
				var commands = JSON.decode(retVal);
				ui.processCommands(commands);
			},
			onFailure: function (instance)
			{
				//alert(JSON.encode(instance));
			}
		});

		ui.registerViewStateHandler(this.typeID, this.collectViewState);
		ui.registerCleanupHandler(this.cleanupDialogs);
		ui.registerControlRemovalHandler(this.typeID, this.cleanupDialog);

		this.deIgnore = "__type";
	},

	registerPreInitHandler: function (typeID, handler)
	{
		uiDialog.preInitHandlers[typeID] = handler;
	},

	registerInitHandler: function (typeID, handler)
	{
		uiDialog.initHandlers[typeID] = handler;
	},

	onHandleEvent: function (eventParams)
	{
		if (uiDialog.onEvent != null)
		{
			uiDialog.onEvent(eventParams);
		}
	},

	collectViewState: function (dialog)
	{
		if (dialog == null)
		{
			return null;
		}

		var dialogData = dialog.retrieve("clientData");
		var dialogElements = dialog.retrieve("elements");

		if (dialogData == null || dialogElements == null)
		{
			return { "__type": "vs" };
		}

		var dialogParams = dialogData["_p"];

		var dialogState = uiDialog.collectDialogState(dialog, dialogElements);

		var viewState = {
			"state": dialogState,
			"params": dialogParams
		};

		return viewState;
	},

	executeAction: function (dialog, params, action, actionParams)
	{
		var actionParams = { "dialog": dialog, "id": dialog.id, "params": base64Json.encode(params), "action": action, "actionParams": base64Json.encode(actionParams) };
		var actionParamsJSON = JSON.encode(actionParams);

		var reqAction = new Request(
		{
			url: "/",
			urlEncoded: false,
			method: "post",
			data: null,
			link: "cancel",
			headers: { "Content-Type": "application/json; charset=utf-8", "Accept": "application/json", "Kind": "action" },
			onSuccess: function (retVal)
			{
				var commands = JSON.decode(retVal);
				ui.processCommands(commands);
			},
			onFailure: function (instance)
			{
				//alert(JSON.encode(instance));
			}
		});

		reqAction.options.data = actionParamsJSON;
		reqAction.send();
	},

	handleEvent: function ()
	{
		var clientData = this.clientData;
		var control = this.elControl;
		var eventName = this.eventName;

		var dialog = control.retrieve("dialog");
		var dialogData = dialog.retrieve("clientData");
		var dialogElements = dialog.retrieve("elements");

		var dialogParams = dialogData["_p"];
		var dialogTypeID = dialogData["_dt"];
		var elementPath = clientData["path"];

		var dialogState = base64Json.encode(uiDialog.collectDialogState(dialog, dialogElements));

		if (ui.onBeforeRequest != null)
		{
			ui.onBeforeRequest();
		}

		var eventParams = { "dlg": dialogTypeID, "id": dialog.id, "params": dialogParams, "state": dialogState, "elementPath": elementPath, "event": eventName };

		uiDialog.onHandleEvent(eventParams);

		var eventParamsJSON = JSON.encode(eventParams);

		uiDialog.reqEvent.options.data = eventParamsJSON;
		uiDialog.reqEvent.send();
	},

	collectDialogState: function (dialog, elements)
	{
		var dialogState = {};

		for (var element in elements)
		{
			var el = elements[element];

			var typeID = el["_t"];
			var elControl = el.instance;

			//			if (elControl.nodeValue == null)
			//			{
			//				elControl = ui.getSubElement(dialog, elControl.id);
			//			}

			var viewStateHandler = ui.viewStateHandlers[typeID];

			if ($defined(viewStateHandler))
			{
				var viewState = viewStateHandler(elControl);
				if (viewState != null)
				{
					dialogState[element] = viewState;
				}
			}
		}

		return dialogState;
	},

	preInitElements: function (dialog, elements)
	{
		for (var element in elements)
		{
			var el = elements[element];

			var typeID = el["_t"];
			var elControl = el.instance;
			var controlEvents = el["events"];

			if ($defined(typeID))
			{
				var preInitHandler = uiDialog.preInitHandlers[typeID];

				if (preInitHandler != null)
				{
					preInitHandler(elControl, el);
				}
			}

			if (controlEvents != null)
			{
				for (var controlEvent in controlEvents)
				{
					if (controlEvent == uiDialog.deIgnore)
					{
						continue;
					}

					var eventData = controlEvents[controlEvent];
					var actions = eventData["a"];

					if ($defined(actions))
					{
						for (var i = 0; i < actions.length; i++)
						{
							// NOTE: Currently only one type of action is supported => InvokeMethod
							//       For more actions we need an action type which links to a custom handler

							var action = actions[i];

							//alert(action["m"]);

							var obj = window[action["o"]];

							if ($defined(obj))
							{
								var method = obj[action["m"]];

								if ($defined(method)) // && $type(method) == 'function'
								{
									elControl.addEvent(controlEvent, method.bindWithEvent(elControl, action["p"]));
								}
							}
						}
					}

					if (eventData["s"])
					{
						var handleEventContext = { "clientData": el, "eventName": controlEvent, "elControl": elControl };

						elControl.addEvent(controlEvent, uiDialog.handleEvent.bind(handleEventContext));
					}
				}
			}
		}
	},

	initElements: function (dialog, elements)
	{
		for (var element in elements)
		{
			var el = elements[element];

			var typeID = el["_t"];
			var elControl = el.instance;

			var initHandler = uiDialog.initHandlers[typeID];

			if (initHandler != null)
			{
				initHandler(elControl, el);
			}

			elControl.fireEvent("__init");
		}

		for (var element in elements)
		{
			var el = elements[element];
			var elControl = el.instance;

			elControl.fireEvent("__postInit");
		}
	},

	scanElements: function (elements, dialog, parentElement, parentToken, clientData)
	{
		if (dialog != parentElement && clientData["_t"] == "dlg")
		{
			return;
		}

		for (var control in clientData)
		{
			var controlClientData = clientData[control];

			if ($type(controlClientData) != uiDialog.elType)
			{
				continue;
			}

			var elControl = ui.getSubElement(parentElement, control);

			if (elControl == null)
			{
				continue;
			}

			//			if (elControl.retrieve("clientData") != null)
			//			{
			//				continue;
			//			}

			controlClientData["instance"] = elControl;

			var elToken = control;

			if (dialog != parentElement && parentToken != '')
			{
				elToken = parentToken + "." + elToken;
			}

			controlClientData["path"] = elToken;
			elements[elToken] = controlClientData;

			elControl.store("dialog", dialog);
			elControl.store("clientData", controlClientData);

			uiDialog.scanElements(elements, dialog, elControl, elToken, elements[elToken]);
		}
	},

	init: function (dialog, clientData)
	{
		uiDialog.dialogs.push(dialog);

		var elements = {};
		uiDialog.scanElements(elements, dialog, dialog, '', clientData);

		dialog.store("clientData", clientData);
		dialog.store("elements", elements);

		try
		{
			uiDialog.preInitElements(dialog, elements);
			uiDialog.initElements(dialog, elements);
		}
		catch (e)
		{
			alert(JSON.encode(e));
		}
	},

	setParam: function (dialog, key, value)
	{
		var dlgParams = uiDialog.getParams(dialog);

		dlgParams[key] = value;

		uiDialog.setParams(dialog, dlgParams);
	},

	getParams: function (dialog)
	{
		var dlgIndex = uiDialog.dialogs.indexOf(dialog);

		if (dlgIndex != -1)
		{
			var dlg = uiDialog.dialogs[dlgIndex];
			var clientData = dlg.retrieve("clientData");
			var dlgParams = base64Json.decode(clientData["_p"]);

			if ($type(dlgParams) != uiDialog.elType)
			{
				dlgParams = {};
			}

			return dlgParams;
		}
	},

	setParams: function (dialog, dlgParams)
	{
		var dlgIndex = uiDialog.dialogs.indexOf(dialog);

		if (dlgIndex != -1)
		{
			var dlg = uiDialog.dialogs[dlgIndex];
			var clientData = dlg.retrieve("clientData");
			clientData["_p"] = base64Json.encode(dlgParams);
		}
	},

	update: function (dialog, parentEl, clientData)
	{
		var dlgIndex = uiDialog.dialogs.indexOf(dialog);

		if (dlgIndex != -1)
		{
			var dlg = uiDialog.dialogs[dlgIndex];

			var dlgElements = dlg.retrieve("elements");
			var elements = {};
			var parentToken = parentEl.retrieve("clientData").path;
			uiDialog.scanElements(elements, dlg, parentEl, parentToken, clientData);

			uiDialog.preInitElements(dlg, elements);
			uiDialog.initElements(dlg, elements);

			for (var element in elements)
			{
				if ($defined(dlgElements[element]))
				{
					dlgElements[element] = elements[element];
				}
			}
		}
	},

	cleanupDialog: function (dialog)
	{
		var elements = dialog.retrieve("elements");

		for (var element in elements)
		{
			var el = elements[element];

			var typeID = el["_t"];
			var elControl = el.instance;

			var removalHandler = ui.elementRemovalHandlers[typeID];

			if (removalHandler != null)
			{
				removalHandler(elControl);
			}
		}
	},

	cleanupDialogs: function (rootElement)
	{
		var filteredDialogs = [];

		for (var i = 0; i < uiDialog.dialogs.length; i++)
		{
			var dialog = uiDialog.dialogs[i];

			if (dialog == null)
			{
				continue;
			}

			if (!rootElement.hasChild(dialog))
			{
				filteredDialogs.push(dialog);
			}
			else
			{
				uiDialog.cleanupDialog(dialog);
			}
		}

		uiDialog.dialogs = filteredDialogs;
	}
});

var uiDialog = new UIDialog();
//> require <ui 1.0.0>

var CheckBox = new Class(
{
	initialize: function ()
	{
		this.typeID = "cb";

		ui.registerViewStateHandler(this.typeID, this.collectViewState);
	},

	collectViewState: function (control)
	{
		return { "Checked": control.checked };
	}
});

var checkBox = new CheckBox();
//> require <ui 1.0.0>

var ComboBox = new Class(
{
	initialize: function ()
	{
		this.typeID = "cbi";

		ui.registerViewStateHandler(this.typeID, this.collectViewState);
	},

	collectViewState: function (control)
	{
		var selectedIndex = control.selectedIndex;
		var selectedOption = control.options[selectedIndex];

		if (selectedOption === null)
		{
			selectedOption = { value: '' };
		}

		return { "Index": selectedIndex, "Value": selectedOption.value };
	}
});

var comboBox = new ComboBox();
//> require <mootools 1.2.3>
//> require <ui 1.0.0>
//> require <uiDialog 1.0.0>

var HtmlEditor = new Class(
{
	initialize: function ()
	{
		this.typeID = "he";
		this.dataToken = this.typeID + "_data";

		ui.registerViewStateHandler(this.typeID, this.collectViewState);
		ui.registerControlRemovalHandler(this.typeID, this.cleanUp);

		uiDialog.registerInitHandler(this.typeID, this.init);

		tinyMCE.init(
		{
			mode: "none",

			theme: "advanced",

			width: "100%",
			height: "100px",

			plugins: "safari,paste,style,noneditable,advlink",
			fullscreen_new_window: true,
			noneditable_leave_contenteditable: true,

			//valid_elements : "span,div,br",
			forced_root_block: '',
			force_p_newlines: true,
			force_br_newlines: false,
			paste_create_paragraphs: true,
			paste_create_linebreaks: false,
			paste_convert_headers_to_strong: true,
			init_instance_callback: this.initEditor,

			//theme_advanced_buttons1: "bold,italic,underline,|,numlist,bullist,|,pasteword,image,code,|,undo,redo,|,link",
			theme_advanced_buttons1: "pasteword,|,bold,italic,underline,|,numlist,bullist,link,|,undo,redo,code",
			theme_advanced_buttons2: "",
			theme_advanced_toolbar_location: "top",
			theme_advanced_toolbar_align: "left",
			theme_advanced_resizing: false
		});
	},

	init: function (control, clientData)
	{
		var data = {};
		$extend(data, clientData[htmlEditor.typeID]);

		control.store(htmlEditor.dataToken, data);

		var width = control.getStyle("width").toInt();

		tinyMCE.settings.width = width;
		tinyMCE.settings.height = data.height;

		if (data.contentCss != '')
		{
			tinyMCE.settings.content_css = data.contentCss;
		}

		if (data.commands != '')
		{
			tinyMCE.settings.theme_advanced_buttons1 = data.commands;
		}

		var result = tinyMCE.execCommand('mceAddControl', false, control.id);
	},

	collectViewState: function (control)
	{
		return { "Content": tinyMCE.get(control.id).getContent() };
	},

	cleanUp: function (control)
	{
		var data = control.retrieve(htmlEditor.dataToken);

		data.editor.inlineUI.close();

		tinyMCE.execCommand('mceFocus', false, control.id);
		tinyMCE.execCommand('mceRemoveControl', false, control.id);
	},

	initEditor: function (editor)
	{
		var control = $(editor.id);
		var ifr = $(editor.id + "_ifr");
		var tbl = $(editor.id + "_tbl");

		var data = control.retrieve(htmlEditor.dataToken);
		data.editor = editor;

		editor.inlineUI = { "tbl": tbl };

		editor.inlineUI.open = function (el)
		{
			if ($defined(this.el))
			{
				this.el.destroy();
			}

			var elBody = $(document.body);
			this.el = el;

			this.mp = new Element("div", { "class": "mp" });
			this.mpBG = new Element("div", { "class": "mpBG" });
			this.mpBox = this.el; //new Element("div", { "class": "mpBox" });

			this.fxMP = new Fx.Morph(this.mpBox, { duration: 400, transition: Fx.Transitions.Quad.easeInOut, link: "cancel" });

			this.mpBG.setStyle("opacity", 0.7);

			//this.mpBox.adopt(this.el);

			this.mp.adopt(
				this.mpBG,
				this.mpBox
			);

			this.mpBG.addEvent("click", this.close);

			//			var coords = this.tbl.getCoordinates(dlgMain);

			//			this.el.setStyles({
			//				"left": coords.left - 10,
			//				"width": coords.width + 20,
			//				"top": coords.top + 54
			//			});

			//this.tbl.set("opacity", 0.3);
			elBody.adopt(this.mp);

			this.onResize();
			window.addEvent("resize", this.onResize);
		} .bind(editor.inlineUI);

		editor.inlineUI.close = function ()
		{
			if ($defined(this.mp))
			{
				this.mp.destroy();
				//this.tbl.set("opacity", 1.0);
			}

			window.removeEvent("resize", this.onResize);
		} .bind(editor.inlineUI);

		editor.inlineUI.onResize = function ()
		{
			if (this.mp === null)
			{
				return;
			}

			var wndScrollSize = window.getScrollSize();
			var wndSize = window.getSize();
			var wndScroll = window.getScroll();

			this.mp.setStyles({
				"top": 0,
				"left": wndScroll.x,
				"width": wndSize.x,
				"height": wndScrollSize.y
			});

			var boxSize = this.mpBox.getSize();
			var boxLeft = wndScroll.x + (wndSize.x - boxSize.x) / 2;
			var boxTop = wndScroll.y + 120;

			this.mpBox.setStyles({
				"left": boxLeft,
				"top": boxTop
			});
		} .bind(editor.inlineUI);

		//		ifr.setStyle("height", (data.height - 51) + "px");
		//		tbl.setStyle("height", data.height + "px");

		//ui.unregisterAsyncCommandHandler(control.asyncCommandID);
		//ui.onResize();
	}
});

var htmlEditor = new HtmlEditor();
//> require <ui 1.0.0>
//> require <uiDialog 1.0.0>

var DlgAdminTasks = new Class(
{
	initialize: function ()
	{

	},

	changeStatus: function (e, taskID)
	{
		var status = this.selectedIndex;
		uiDialog.executeAction("dlgAdminTasksDelegate", {}, "changeStatus", { "taskID": taskID, "status": status });
	},

	deleteTask: function (e, taskID)
	{
		uiDialog.executeAction("dlgAdminTasksDelegate", {}, "deleteTask", { "taskID": taskID });
	},

	toggleStatus: function ()
	{
		var item = this.getParent("td");

		if (item != null)
		{
			var lbl = ui.getSubElement(item, "lbl");
			var pnl = ui.getSubElement(item, "pnl");

			if (lbl != null && pnl != null)
			{
				var displayState = lbl.getStyle("display");

				if (displayState != "none")
				{
					lbl.setStyle("display", "none");
					pnl.setStyle("display", "block");
				}
				else
				{
					lbl.setStyle("display", "block");
					pnl.setStyle("display", "none");
				}
			}
		}
	}
});

var dlgAdminTasks = new DlgAdminTasks();
//> require <mootools 1.2.3>
//> require <ui 1.0.0>
//> require <uiDialog 1.0.0>

var CssBtn = new Class(
{
	initialize: function ()
	{
		this.typeID = "cssBtn";
		this.dataToken = "cssBtn_data";
		this.activeItems = {};
		this.groups = {};
		this.groupNames = [];
		this.events = {
			mouseEnter: "mouseenter",
			mouseLeave: "mouseleave",
			activate: "activate",
			deactivate: "deactivate",
			click: "click"
		};

		ui.registerCleanupHandler(this.filterGroups);
		uiDialog.registerPreInitHandler(this.typeID, this.preInit);
		uiDialog.registerInitHandler(this.typeID, this.init);
	},

	preInit: function (control, clientData)
	{
		var data =
		{
			mouseOver: false,
			activated: false,
			useFx: false,
			fx: null
		};

		$extend(data, clientData[cssBtn.typeID]);

		if (data.useFx)
		{
			data.fx = new Fx.Morph(control, { duration: 200, transition: Fx.Transitions.Quad.easeInOut, link: "cancel" });
		}

		control.store(cssBtn.dataToken, data);

		if (data.group != '')
		{
			if (cssBtn.groups[data.group] == null)
			{
				cssBtn.groups[data.group] = [];
				cssBtn.groupNames.push(data.group);
			}

			cssBtn.groups[data.group].push(control);
		}

		control.addEvent(cssBtn.events.mouseEnter, cssBtn.onMouseEnter);
		control.addEvent(cssBtn.events.mouseLeave, cssBtn.onMouseLeave);
		control.addEvent(cssBtn.events.activate, cssBtn.activate);
		control.addEvent(cssBtn.events.deactivate, cssBtn.deactivate);
		control.addEvent(cssBtn.events.click, cssBtn.onClick);
	},

	init: function (control, clientData)
	{
		var data = control.retrieve(cssBtn.dataToken);

		if (data == null)
		{
			return;
		}

		if (data.selected)
		{
			control.fireEvent(cssBtn.events.activate, [control, true]);
		}
	},

	filterGroups: function (rootElement)
	{
		var filteredGroups = {};
		var filteredGroupNames = [];

		for (var i = 0; i < cssBtn.groupNames.length; i++)
		{
			var groupName = cssBtn.groupNames[i];
			var group = cssBtn.groups[groupName];
			var filteredGroup = [];

			for (var c = 0; c < group.length; c++)
			{
				var groupEl = group[c];
				if (!rootElement.hasChild(groupEl))
				{
					filteredGroup.push(groupEl);
				}
			}

			if (filteredGroup.length > 0)
			{
				filteredGroups[groupName] = filteredGroup;
				filteredGroupNames.push(groupName);
			}
		}

		cssBtn.groups = filteredGroups;
		cssBtn.groupNames = filteredGroupNames;
	},

	onMouseEnter: function (isFollowUp)
	{
		var data = this.retrieve(cssBtn.dataToken);

		if (data == null || data.mouseOver || data.activated)
		{
			return;
		}

		data.mouseOver = true;

		if (data.useFx)
		{
			data.fx.start(data.cssH);
		}
		else
		{
			this.set("class", data.cssH);
		}

		this.fireEvent("cssBtnHover");

		var group = cssBtn.groups[data.group];

		if (group != null && data.triggerEnter)
		{
			for (var i = 0; i < group.length; i++)
			{
				group[i].fireEvent(cssBtn.events.mouseEnter);
			}
		}
	},

	onMouseLeave: function ()
	{
		var data = this.retrieve(cssBtn.dataToken);

		if (data == null || !data.mouseOver || data.activated)
		{
			return;
		}

		data.mouseOver = false;

		if (data.useFx)
		{
			data.fx.start(data.css);
		}
		else
		{
			this.set("class", data.css);
		}

		this.fireEvent("cssBtnNormal");

		var group = cssBtn.groups[data.group];

		if (group != null && data.triggerLeave)
		{
			for (var i = 0; i < group.length; i++)
			{
				group[i].fireEvent(cssBtn.events.mouseLeave);
			}
		}
	},

	deactivate: function (cssButton, updateGroup)
	{
		var data = cssButton.retrieve(cssBtn.dataToken);

		if (data == null || !data.activated)
		{
			return;
		}

		data.activated = false;
		data.mouseOver = false;

		cssButton.set("class", data.css);
		cssButton.fireEvent("cssBtnDeactivate");

		if (updateGroup && data.group != "")
		{
			var group = cssBtn.groups[data.group];

			for (var i = 0; i < group.length; i++)
			{
				group[i].fireEvent(cssBtn.events.deactivate, [group[i], false]);
			}
		}
	},

	activate: function (cssButton, updateGroup)
	{
		var data = cssButton.retrieve(cssBtn.dataToken);

		if (data == null || data.activated)
		{
			return;
		}

		if (updateGroup)
		{
			var lastActiveItem = cssBtn.activeItems[data.section];

			if (lastActiveItem != null)
			{
				lastActiveItem.fireEvent(cssBtn.events.deactivate, [lastActiveItem, true]);
			}
		}

		data.activated = true;

		cssButton.set("class", data.cssA);
		cssButton.fireEvent("cssBtnActivate");

		if (updateGroup)
		{
			cssBtn.activeItems[data.section] = cssButton;

			if (data.group)
			{
				var group = cssBtn.groups[data.group];

				for (var i = 0; i < group.length; i++)
				{
					group[i].fireEvent(cssBtn.events.activate, [group[i], false]);
				}
			}
		}
	},

	onClick: function ()
	{
		var data = this.retrieve(cssBtn.dataToken);

		if (data == null || data.section == "")
		{
			return;
		}

		cssBtn.activate(this, true);
	}
});

var cssBtn = new CssBtn();
//> require <mootools 1.2.3>
//> require <ui 1.0.0>
//> require <uiDialog 1.0.0>

var ImgBtn = new Class(
{
	initialize: function ()
	{
		this.typeID = "imgBtn";
		this.dataToken = "imgBtn_data";
		this.defaultData = { css: "", imgUrl: "", imgCss: "", width: 0, height: 0, imgHeight: 0, hasHover: true, hasActive: true, section: "", mode: 0 };
		this.events = {
			mouseEnter: "mouseenter",
			mouseLeave: "mouseleave",
			mouseDown: "mousedown",
			mouseUp: "mouseup",
			click: "click"
		};
		this.states = ["n", "h", "a", "i"];
		this.activeItems = {};

		uiDialog.registerPreInitHandler(this.typeID, this.preInit);
		uiDialog.registerInitHandler(this.typeID, this.init);
	},

	createNew: function (data)
	{
		data = $merge(imgBtn.defaultData, data);

		var pnl = new Element("div", { "class": data.css });
		var img = new Element("img", { "src": data.imgUrl, "class": data.imgCss, "width": data.width, "height": data.height });

		pnl.adopt(img);
		imgBtn.preInit(pnl, { imgBtn: { imageUrl: data.imgUrl, hasHover: data.hasHover, hasActive: data.hasActive, section: data.section, mode: data.mode, imgHeight: data.imgHeight, width: data.width, height: data.height} });
		//imgBtn.preInit(pnl, { imgBtn: data });

		return pnl;
	},

	preInit: function (control, clientData)
	{
		var data = $merge(imgBtn.defaultData, clientData[imgBtn.typeID]);

		data.mouseOver = false;
		data.pnl = control;
		data.img = control.getFirst();

		control.store(imgBtn.dataToken, data);

		if (data.mode == 1)
		{
			data.pnl.setStyles({
				"overflow": "hidden",
				"height": data.imgHeight
			});

			data.img.setStyles({
				"position": "relative",
				"left": 0,
				"top": 0
			});
		}

		if (data.hasHover)
		{
			control.addEvent(imgBtn.events.mouseEnter, imgBtn.onMouseEnter);
			control.addEvent(imgBtn.events.mouseLeave, imgBtn.onMouseLeave);
		}

		if (data.hasActive)
		{
			if (data.section != '')
			{
				control.addEvent(imgBtn.events.click, imgBtn.onClick);
			}
			else
			{
				control.addEvent(imgBtn.events.mouseDown, imgBtn.onMouseDown);
				control.addEvent(imgBtn.events.mouseUp, imgBtn.onMouseUp);
			}
		}

		control.addEvent(cssBtn.events.activate, imgBtn.activate);
	},

	init: function (control, clientData)
	{
		var data = control.retrieve(imgBtn.dataToken);

		if (data.selected)
		{
			imgBtn.activate(data);
		}
	},

	activate: function (data)
	{
		var currentControl = imgBtn.activeItems[data.section];

		if (currentControl == data.img)
		{
			return;
		}

		if (currentControl != null)
		{
			imgBtn.activeItems[data.section] = null;

			var parent = currentControl.getParent();

			if (parent != null)
			{
				imgBtn.setStatus(parent.retrieve(imgBtn.dataToken), 0);
			}
		}

		imgBtn.setStatus(data, 2);
		imgBtn.activeItems[data.section] = data.img;
	},

	isActivated: function (data)
	{
		if (data.section == '')
		{
			return false;
		}

		return imgBtn.activeItems[data.section] == data.img;
	},

	getImageUrl: function (data, status)
	{
		var extension = data.imageUrl.substr(data.imageUrl.length - 4, 4);
		var currentStatus = imgBtn.states.indexOf(data.imageUrl.substr(data.imageUrl.length - 5, 1));

		return data.imageUrl.substr(0, data.imageUrl.length - 5) + imgBtn.states[status] + extension;
	},

	enable: function (data)
	{
		if (data.status == 3)
		{
			data.status = 0;
			imgBtn.setStatus(data, 0);
		}
	},

	getData: function (element)
	{
		return element.retrieve(imgBtn.dataToken);
	},

	disable: function (data)
	{
		if (data.status != 3)
		{
			imgBtn.setStatus(data, 3);
		}
	},

	setStatus: function (data, status)
	{
		if (data.status == 3)
		{
			return;
		}

		data.status = status;

		if (data.mode == 0)
		{
			var newImageUrl = null;

			if (status == 0)
			{
				newImageUrl = data.imageUrl;
			}
			else
			{
				newImageUrl = imgBtn.getImageUrl(data, status);
			}

			if (data.img.get("src") != newImageUrl)
			{
				data.img.set("src", newImageUrl);
			}
		}
		else if (data.mode == 1)
		{
			var imgTop = data.status * data.imgHeight * -1;
			data.img.setStyle("top", imgTop);
		}
	},

	onMouseEnter: function ()
	{
		var data = this.retrieve(imgBtn.dataToken);

		if (data == null || imgBtn.isActivated(data) || !data.hasHover)
		{
			return;
		}

		data.mouseOver = true;

		imgBtn.setStatus(data, 1);
	},

	onMouseLeave: function ()
	{
		var data = this.retrieve(imgBtn.dataToken);

		if (data == null || imgBtn.isActivated(data) || !data.hasHover)
		{
			return;
		}

		data.mouseOver = false;

		imgBtn.setStatus(data, 0);
	},

	onMouseDown: function ()
	{
		var data = this.retrieve(imgBtn.dataToken);

		if (data == null || imgBtn.isActivated(data) || !data.hasActive)
		{
			return;
		}

		if (data.section != '')
		{
			imgBtn.activate(data);
		}
		else
		{
			imgBtn.setStatus(data, 2);
		}
	},

	onClick: function ()
	{
		var data = this.retrieve(imgBtn.dataToken);

		if (data == null || imgBtn.isActivated(data) || !data.hasActive)
		{
			return;
		}

		imgBtn.activate(data);
	},

	onMouseUp: function ()
	{
		var data = this.retrieve(imgBtn.dataToken);

		if (data == null || imgBtn.isActivated(data) || !data.hasActive)
		{
			return;
		}

		if (data.mouseOver)
		{
			imgBtn.setStatus(data, 1);
		}
		else
		{
			imgBtn.setStatus(data, 0);
		}
	},

	setImageUrl: function (control, imageUrl)
	{
		var data = control.retrieve(imgBtn.dataToken);

		if (data == null)
		{
			return;
		}

		data.imageUrl = imageUrl;
		data.img.set("src", imageUrl);

		if (data.mouseOver)
		{
			imgBtn.setStatus(data, 1);
		}
	}
});

var imgBtn = new ImgBtn();
//> require <ui 1.0.0>
//> require <uiDialog 1.0.0>

var TextBox = new Class(
{
	initialize: function ()
	{
		this.typeID = "tb";
		this.dataToken = this.typeID + "_data";

		ui.registerViewStateHandler(this.typeID, this.collectViewState);
		uiDialog.registerPreInitHandler(this.typeID, this.preInit);
	},

	preInit: function (control, clientData)
	{
		var data = { type: control.get("type") };
		$extend(data, clientData[textBox.typeID]);

		control.store(textBox.dataToken, data);

		if ($defined(data.defaultText))
		{
			data.lbl = new Element("div");
			data.lbl.set("html", data.defaultText);
			data.lbl.set("class", data.defaultCss);
			data.lbl.setStyle("display", "none");

			data.lbl.inject(control, "after");

			data.lbl.addEvent("click", function ()
			{
				control.focus();
			});

			if (control.value == '')
			{
				data.lbl.setStyle("display", "block");
			}

			control.addEvent("blur", textBox.onBlur);
			control.addEvent("focus", textBox.onFocus);
		}
	},

	onBlur: function ()
	{
		var data = this.retrieve(textBox.dataToken);

		if (data != null)
		{
			if (this.value == '')
			{
				data.lbl.setStyle("display", "block");
			}
			else
			{
				data.lbl.setStyle("display", "none");
			}
		}
	},

	onFocus: function ()
	{
		var data = this.retrieve(textBox.dataToken);

		if (data != null)
		{
			data.lbl.setStyle("display", "none");
		}
	},

	collectViewState: function (control)
	{
		return { "Text": control.value };
	}
});

var textBox = new TextBox();
//> require <mootools 1.2.3>
//> require <ui 1.0.0>
//> require <uiDialog 1.0.0>

var GoogleMaps = new Class(
{
	initialize: function ()
	{
		this.typeID = "gm";
		this.dataToken = this.typeID + "_data";
		this.gmLoaded = false;
		this.sgIcon = null;

		ui.registerCleanupHandler(this.filterMaps);
		ui.registerViewStateHandler(this.typeID, this.collectViewState);
		uiDialog.registerPreInitHandler(this.typeID, this.preInit);
		uiDialog.registerInitHandler(this.typeID, this.init);
	},

	collectViewState: function (control)
	{
		var data = control.retrieve(googleMaps.dataToken);
		var state = { selectedLocation: "" };

		if (data != null)
		{
			state.selectedLocation = data.selectedLocation;
		}

		return state;
	},

	loadGM: function (onLoaded)
	{
		google.load("maps", "2", { "callback": googleMaps.onAPILoaded.bind(googleMaps, onLoaded) });
	},

	onAPILoaded: function (onLoaded)
	{
		googleMaps.gmLoaded = true;

		var sgIcon = new GIcon(G_DEFAULT_ICON);
		sgIcon.image = "footage/mapMarker.png";
		sgIcon.iconSize = new GSize(27, 28);
		sgIcon.shadowSize = new GSize(0, 0);
		sgIcon.iconAnchor = new GPoint(10, 26);
		sgIcon.infoWindowAnchor = new GPoint(13, 0);

		googleMaps.sgIcon = sgIcon;

		if ($defined(onLoaded))
		{
			onLoaded();
		}
	},

	getLocation: function (marker)
	{
		return marker.getLatLng().toUrlValue().replace(",", "|");
	},

	setCenter: function (data, lat, lng, zoom)
	{
		if (data.markerMain == null)
		{
			var centerOptions = { icon: googleMaps.sgIcon, draggable: data.allowDragging };

			data.map.setCenter(new google.maps.LatLng(lat, lng), zoom, G_NORMAL_MAP);

			var markerMain = new GMarker(new GLatLng(lat, lng), centerOptions);
			data.markerMain = markerMain;
			data.selectedLocation = googleMaps.getLocation(markerMain);
			GEvent.addListener(markerMain, "dragend", function ()
			{
				data.selectedLocation = googleMaps.getLocation(markerMain);
			});

			data.map.addOverlay(markerMain);
		}
		else
		{
			var pos = new google.maps.LatLng(lat, lng);

			data.markerMain.setLatLng(pos);
			data.selectedLocation = googleMaps.getLocation(data.markerMain);
			data.map.panTo(pos);
		}
	},

	createMap: function (data)
	{
		var map = new google.maps.Map2(data.instance);

		data.map = map;

		var markerOptions = { icon: googleMaps.sgIcon };

		if ($defined(data.center))
		{
			googleMaps.setCenter(data, data.center.Latitude, data.center.Longitude, data.center.Zoom);
		}

		if ($defined(data.markers) && data.markers.length > 0)
		{
			for (var i = 0; i < data.markers.length; i++)
			{
				var marker = data.markers[i];
				var elMarker = new GMarker(new GLatLng(marker.Latitude, marker.Longitude), markerOptions);
				elMarker.data = marker;

				GEvent.addListener(elMarker, "click", function ()
				{
					var html = "<a href=\"#" + this.data.Link + "\">" + this.data.Name + "</a>";
					this.openInfoWindowHtml(html);
				});

				map.addOverlay(elMarker);
			}
		}

		map.addControl(new GMapTypeControl());
		map.addControl(new GLargeMapControl());
	},

	preInit: function (control, clientData)
	{
		var data = { instance: control };
		$extend(data, clientData[googleMaps.typeID]);

		control.store(googleMaps.dataToken, data);

		if (googleMaps.gmLoaded)
		{
			googleMaps.createMap(data);
		}
		else
		{
			googleMaps.loadGM(
				function () { googleMaps.createMap(data); }
			);
		}
	},

	init: function (control, clientData)
	{
		var data = control.retrieve(googleMaps.dataToken);

		if (data != null)
		{

		}
	}
});

var googleMaps = new GoogleMaps();
//> require <ui 1.0.0>
//> require <uiDialog 1.0.0>

var Teaser = new Class(
{
	initialize: function ()
	{
		this.typeID = "t";
		this.dataToken = this.typeID + "_data";
		this.teasers = [];

		ui.registerCleanupHandler(this.cleanupTeaser);
		uiDialog.registerPreInitHandler(this.typeID, this.preInit);
	},

	cleanupTeaser: function (rootElement)
	{
		var filteredTeasers = [];

		for (var i = 0; i < teaser.teasers.length; i++)
		{
			if (rootElement.hasChild(teaser.teasers[i].rep))
			{
				teaser.stopExplaining(teaser.teasers[i]);
			}
			else
			{
				filteredTeasers.push(teaser.teasers[i]);
			}
		}

		teaser.teasers = filteredTeasers;
	},

	preInit: function (control, clientData)
	{
		var data = {};
		$extend(data, clientData[teaser.typeID]);

		data.rep = ui.getSubElement(control, data.repID);
		data.previous = ui.getSubElement(control, data.previousID);
		data.next = ui.getSubElement(control, data.nextID);

		if (data.rep != null)
		{
			teaser.teasers.push(data);

			var teasers = data.rep.getChildren();

			data.num = teasers.length;

			if (data.startRandom)
			{
				data.pos = $random(0, data.num - 1);
			}
			else
			{
				data.pos = 0;
			}

			data.fx = new Fx.Morph(data.rep, { duration: data.duration, transition: Fx.Transitions.Quint.easeInOut, link: "cancel" });

			var width = data.num * data.width;
			var left = data.pos * data.width * -1;

			data.rep.setStyles({ "width": width, "position": "relative", "left": left });

			control.store(teaser.dataToken, data);

			if (data.previous != null)
			{
				data.previous.addEvent("click", teaser.previous.bind(data.previous, data));
			}

			if (data.next != null)
			{
				data.next.addEvent("click", teaser.next.bind(data.next, data));
			}

			if (data.explain)
			{
				teaser.startExplaining(data);
			}
		}
	},

	startExplaining: function (data)
	{
		teaser.stopExplaining(data);
		data.explainID = teaser.next.periodical(data.stay, teaser, data);
	},

	stopExplaining: function (data)
	{
		if (data.explainID != null)
		{
			$clear(data.explainID);
			data.explainID = null;
		}
	},

	next: function (data)
	{
		if (this != teaser)
		{
			teaser.stopExplaining(data);
		}

		if (data.pos == data.num - 1)
		{
			data.pos = 0;
		}
		else
		{
			data.pos++;
		}

		teaser.stepTo(data);
	},

	previous: function (data)
	{
		if (this != null)
		{
			teaser.stopExplaining(data);
		}

		if (data.pos == 0)
		{
			data.pos = data.num - 1;
		}
		else
		{
			data.pos--;
		}

		teaser.stepTo(data);
	},

	stepTo: function (data)
	{
		var left = data.pos * data.width * -1;

		data.fx.start({
			"left": left
		});
	}
});

var teaser = new Teaser();
//> require <mootools 1.2.3>
//> require <ui 1.0.0>
//> require <uiDialog 1.0.0>

var CtxPage = new Class(
{
	initialize: function ()
	{
		this.typeID = "cp";
		this.dataToken = this.typeID + "_data";

		uiDialog.registerPreInitHandler(this.typeID, this.preInit);
	},

	preInit: function (control, clientData)
	{
		var data = { instance: control };
		$extend(data, clientData[ctxPage.typeID]);

		control.store(ctxPage.dataToken, data);

		site.setPage(null, base64Json.encode(data));
	}
});

var ctxPage = new CtxPage();
//> require <ui 1.0.0>
//> require <uiDialog 1.0.0>

var DlgStructure = new Class(
{
	initialize: function ()
	{
		this.typeID = "tv";
		this.dataToken = "tv_data";
		uiDialog.registerPreInitHandler(this.typeID, this.initStructure);
	},

	initStructure: function (control, clientData)
	{
		var fxTV = new Fx.Morph(control, { duration: 200, transition: Fx.Transitions.Quad.easeInOut, link: "cancel" });
		var initialHeight = control.getSize().y;

		var data = { fx: fxTV, height: initialHeight };
		$extend(data, clientData[dlgStructure.typeID]);

		control.store(dlgStructure.dataToken, data);
	},

	updateParents: function (treeView)
	{
		if (treeView == null)
		{
			return;
		}

		var height = 0;
		var children = treeView.getChildren();

		for (var i = 0; i < children.length; i++)
		{
			height += children[i].getSize().y;
		}

		treeView.setStyle("height", height);
		dlgStructure.updateParents(treeView.getParent("ul"));
	},

	expand: function ()
	{
		var item = this.getParent("li");

		if (item != null)
		{
			var tvStructure = item.getElement("ul");
			var btnState = ui.getSubElement(item, "btnState");

			if (tvStructure != null)
			{
				var data = tvStructure.retrieve(dlgStructure.dataToken);

				if (!data.expanded)
				{
					dlgStructure.toggle.bind(btnState)();
				}
			}
		}
	},

	collapse: function ()
	{
		var item = this.getParent("li");

		if (item != null)
		{
			var tvStructure = item.getElement("ul");
			var btnState = ui.getSubElement(item, "btnState");

			if (tvStructure != null)
			{
				var data = tvStructure.retrieve(dlgStructure.dataToken);

				if (data.expanded)
				{
					dlgStructure.toggle.bind(btnState)();
				}
			}
		}
	},

	toggle: function ()
	{
		var item = this.getParent("li");

		if (item != null)
		{
			var tvStructure = item.getElement("ul");

			if (tvStructure != null)
			{
				var data = tvStructure.retrieve(dlgStructure.dataToken);

				if (data.expanded)
				{
					var height = tvStructure.getSize().y;
					tvStructure.setStyle("height", height);

					data.fx.start({
						"height": 0
					}).chain(function ()
					{
						if (Browser.Engine.trident && Browser.Engine.version == 4)
						{
							dlgStructure.updateParents(tvStructure.getParent("ul"));
						}
					});

					imgBtn.setImageUrl(this, "/footage/expand_n.png");
				}
				else
				{
					var height = 0;
					var children = tvStructure.getChildren();

					for (var i = 0; i < children.length; i++)
					{
						height += children[i].getSize().y;
					}

					data.fx.start({
						"height": height
					}).chain(function ()
					{
						if (Browser.Engine.trident && Browser.Engine.version == 4)
						{
							dlgStructure.updateParents(tvStructure.getParent("ul"));
						}
						else
						{
							tvStructure.setStyle("height", "auto");
						}
					});

					imgBtn.setImageUrl(this, "/footage/collapse_n.png");
				}

				data.expanded = !data.expanded;
			}
		}
	}
});

var dlgStructure = new DlgStructure();
//> require <ui 1.0.0>
//> require <uiDialog 1.0.0>

var DlgPages = new Class(
{
	initialize: function ()
	{
		window.addEvent("keyup", this.onKeyUp.bindWithEvent(this));
	},

	onKeyUp: function (e)
	{
		if (e.alt && e.key == "e")
		{
			dlgPages.expandAll();
		}
		else if (e.alt && e.key == "w")
		{
			dlgPages.collapseAll();
		}
	},

	toggleSubPage: function (e, expand)
	{
		site.stopEvent(e);

		var btn = this;
		var subPage = btn.getParent();
		var extended = ui.getSubElement(subPage, "extended");

		if (btn != null && subPage != null && extended != null)
		{
			var data = subPage.retrieve("spData");

			if (data == null)
			{
				var fx = new Fx.Morph(subPage, { duration: 200, transition: Fx.Transitions.Quad.easeInOut, link: "cancel" });
				var height = subPage.getSize().y;

				subPage.setStyle("height", height);

				data = { "fx": fx, "height": height };
				subPage.store("spData", data);

				var top = btn.getPosition(subPage).y;

				btn.setStyle("margin-top", 0);
				btn.setStyle("top", top);
			}

			var newHeight = data.height;

			var isCollapsed = extended.getStyle("display") == "none";

			if (!$defined(expand))
			{
				expand = isCollapsed;
			}
			else
			{
				if (expand && !isCollapsed)
				{
					return;
				}
			}

			if (expand)
			{
				extended.setStyle("display", "block");
				imgBtn.setImageUrl(btn, "/footage/spCollapse_n.png");

				newHeight += extended.getSize().y;

				data.fx.start({
					"height": newHeight
				});
			}
			else
			{
				imgBtn.setImageUrl(btn, "/footage/spExpand_n.png");

				data.fx.start({
					"height": newHeight
				}).chain(function ()
				{
					extended.setStyle("display", "none");
				});
			}
		}
	},

	expandAll: function ()
	{
		var dlg = $("dlgPages");

		if (dlg != null)
		{
			dlg.getElements(".subState").each(function (btnState)
			{
				dlgPages.toggleSubPage.bindWithEvent(btnState, true)();
			});
		}
	},

	collapseAll: function ()
	{
		var dlg = $("dlgPages");

		if (dlg != null)
		{
			dlg.getElements(".subState").each(function (btnState)
			{
				dlgPages.toggleSubPage.bindWithEvent(btnState, false)();
			});
		}
	}
});

var dlgPages = new DlgPages();
//> require <ui 1.0.0>
//> require <uiDialog 1.0.0>

var DlgLogin = new Class(
{
	initialize: function ()
	{

	},

	init: function ()
	{
		var dialog = this.retrieve("dialog");

		var tbPassword = ui.getSubElement(dialog, "tbPassword");

		if (tbPassword != null)
		{
			tbPassword.addEvent("keyenter", dlgLogin.login.bindWithEvent(tbPassword));
		}
	},

	login: function ()
	{
		var page = site.currentPage;

		if ($defined(page) && $defined(page.link))
		{
			var dlgLogin = this.retrieve("dialog");

			if (dlgLogin != null)
			{
				var tbUser = ui.getSubElement(dlgLogin, "tbUser");
				var tbPassword = ui.getSubElement(dlgLogin, "tbPassword");

				if (tbUser != null && tbPassword != null)
				{
					uiDialog.executeAction("dlgLogin", {}, "login", { "user": tbUser.value, "password": tbPassword.value, "link": page.link });
				}
			}
		}
	},

	logout: function ()
	{
		var page = site.currentPage;

		if ($defined(page) && $defined(page.link))
		{
			uiDialog.executeAction("dlgLogin", {}, "logout", { "link": page.link });
		}
	}
});

var dlgLogin = new DlgLogin();
//> require <ui 1.0.0>
//> require <uiDialog 1.0.0>

var DlgPager = new Class(
{
	initialize: function ()
	{
		this.pages = {};
	},

	init: function (e, numPages)
	{
		var dialog = this.retrieve("dialog");
		dlgPager.pages[dialog.id] = numPages;

		var btnNext = ui.getSubElement(dialog, "btnNext");
		var btnPrevious = ui.getSubElement(dialog, "btnPrevious");
		var lblPaging = ui.getSubElement(dialog, "lblPaging");

		dialog.store("lblPaging", lblPaging);

		dlgPager.updateButtons(dialog, 1, btnPrevious, btnNext, numPages);
	},

	updateLbl: function (dialog, page, numPages)
	{
		var lblPaging = dialog.retrieve("lblPaging");
		var text = "Seite " + page + " von " + numPages;
		lblPaging.set("html", text);
	},

	next: function ()
	{
		var dlg = this.retrieve("dialog");

		if (dlg != null)
		{
			var btnNext = this;
			var btnPrevious = ui.getSubElement(dlg, "btnPrevious");

			var dlgParams = uiDialog.getParams(dlg);

			if ($defined(dlgParams.page))
			{
				var numPages = dlgPager.pages[dlg.id];

				if (dlgParams.page <= numPages - 1)
				{
					dlgParams.page++;
					uiDialog.setParams(dlg, dlgParams);

					dlgPager.updateButtons(dlg, dlgParams.page, btnPrevious, btnNext, numPages);

					this.fireEvent("page");
				}
			}
		}
	},

	previous: function ()
	{
		var dlg = this.retrieve("dialog");

		if (dlg != null)
		{
			var btnNext = ui.getSubElement(dlg, "btnNext");
			var btnPrevious = this;

			var dlgParams = uiDialog.getParams(dlg);

			if ($defined(dlgParams.page))
			{
				var numPages = dlgPager.pages[dlg.id];

				if (dlgParams.page >= 2)
				{
					dlgParams.page--;
					uiDialog.setParams(dlg, dlgParams);

					dlgPager.updateButtons(dlg, dlgParams.page, btnPrevious, btnNext, numPages);

					this.fireEvent("page");
				}
			}
		}
	},

	updateButtons: function (dialog, p, btnPrevious, btnNext, numPages)
	{
		dlgPager.updateLbl(dialog, p, numPages);

		var previousData = imgBtn.getData(btnPrevious);
		var nextData = imgBtn.getData(btnNext);

		if (p == 1)
		{
			imgBtn.disable(previousData);
		}
		else
		{
			imgBtn.enable(previousData);
		}

		if (p == numPages)
		{
			imgBtn.disable(nextData);
		}
		else
		{
			imgBtn.enable(nextData);
		}
	}
});

var dlgPager = new DlgPager();
//> require <ui 1.0.0>
//> require <uiDialog 1.0.0>

var DlgSearch = new Class(
{
	initialize: function ()
	{
		this.tbSearch = null;
	},

	init: function ()
	{
		var dialog = this.retrieve("dialog");

		dlgSearch.tbSearch = ui.getSubElement(dialog, "tbSearch");

		if (dlgSearch.tbSearch != null)
		{
			dlgSearch.tbSearch.addEvent("keyenter", dlgSearch.search);
		}
	},

	searchByText: function (searchTerm)
	{
		uiDialog.executeAction("dlgDelegate", {}, "execBehavior", { "behavior": { "dlg": "dlgSearchResults", "params": { "searchTerm": searchTerm} }, "target": "col1" });
	},

	search: function ()
	{
		if (dlgSearch.tbSearch != null)
		{
			dlgSearch.searchByText(dlgSearch.tbSearch.value);
		}
	}
});

var dlgSearch = new DlgSearch();
//> require <ui 1.0.0>
//> require <uiDialog 1.0.0>

var FilterList = new Class(
{
	initialize: function ()
	{
		this.typeID = "fl";
		this.dataToken = this.typeID + "_data";

		ui.registerViewStateHandler(this.typeID, this.collectViewState);
		uiDialog.registerPreInitHandler(this.typeID, this.preInit);
		uiDialog.registerInitHandler(this.typeID, this.init);
	},

	preInit: function (control, clientData)
	{
		var data = { instance: control, filters: [], items: [] };
		$extend(data, clientData[filterList.typeID]);

		var pnlItems = new Element("div", { "class": "flItems" });
		var pnlFilters = new Element("div", { "class": "flFilters" });
		var btnAdd = imgBtn.createNew({
			imgUrl: "/footage/btnAdd_n.png",
			css: "flAdd",
			imgCss: "png",
			width: 32,
			height: 32
		});

		data.addItem = function (value, op)
		{
			if (!$defined(op))
			{
				var ops = this.cbFilters.getElements("option");

				for (var i = 0; i < ops.length; i++)
				{
					if (ops[i].value == value)
					{
						op = ops[i];
						break;
					}
				}
			}

			if ($defined(op))
			{
				var itemUI = filterList.createItemUI(this, op.text, op.value);
				this.pnlItems.adopt(itemUI.element);

				op.destroy();

				itemUI.init();
			}

			if (this.items.length > 0)
			{
				this.pnlItems.setStyle("display", "block");
			}
		} .bind(data);

		btnAdd.addEvent("click", function (e)
		{
			if (e.shift)
			{
				var ops = [];

				for (var c = 0; c < this.cbFilters.options.length; c++)
				{
					var op = this.cbFilters.options[c];
					ops.push(op);
				}

				for (var i = 0; i < ops.length; i++)
				{
					var op = ops[i];

					if (op.value != '')
					{
						this.items.push(op.value);
						this.addItem(op.value, op);
					}
				}

				this.cbFilters.selectedIndex = 0;
			}
			else
			{
				if (this.cbFilters.value != '')
				{
					var op = this.cbFilters.options[this.cbFilters.selectedIndex];

					this.items.push(op.value);
					this.addItem(op.value, op);

					this.cbFilters.selectedIndex = 0;
				}
			}
		} .bind(data));

		var cbFilters = new Element("select", { id: "cbFilters", "class": "cbFilters" });
		var opSelect = new Element("option", { value: "", html: "Bitte auswählen", selected: "selected" });

		pnlFilters.adopt(cbFilters, btnAdd);
		cbFilters.adopt(opSelect);

		for (var i = 0; i < data.filters.length; i++)
		{
			var filter = data.filters[i];
			var opFilter = new Element("option", { value: filter.Value, html: filter.Title });
			cbFilters.adopt(opFilter);
		}

		control.adopt(pnlFilters, pnlItems);

		data.pnlItems = pnlItems;
		data.cbFilters = cbFilters;

		control.store(filterList.dataToken, data);

		for (var i = 0; i < data.items.length; i++)
		{
			var item = data.items[i];
			data.addItem(item);
		}
	},

	init: function (control, clientData)
	{
		var data = control.retrieve(filterList.dataToken);
	},

	collectViewState: function (control)
	{
		var data = control.retrieve(filterList.dataToken);
		var items = data.items.join("|");
		return { "Items": items };
	},

	createItemUI: function (data, title, value)
	{
		var itemUI = { "data": data, "cfg": { "title": title, "value": value} };

		itemUI.element = new Element("div", { "class": "flItem" });
		itemUI.icon = new Element("img", { "class": "flIcon", "src": "/footage/iconUsergroup.png", "width": 32, "height": 32 });
		itemUI.title = new Element("div", { "class": "flTitle", "html": title });

		itemUI.btnRemove = imgBtn.createNew({
			imgUrl: "/footage/upload/btnRemove_n.png",
			css: "flRemove",
			imgCss: "png",
			width: 32,
			height: 32
		});

		itemUI.btnRemove.addEvent("click", function ()
		{
			this.data.items.erase(this.cfg.value);
			this.element.destroy();

			if (this.data.items.length == 0)
			{
				this.data.pnlItems.setStyle("display", "none");
			}

			var opFilter = new Element("option", { "value": this.cfg.value, "html": this.cfg.title });
			this.data.cbFilters.adopt(opFilter);
		} .bind(itemUI));

		itemUI.init = function (data)
		{
			cufonLbl.preInit(this.title, { cufonLbl: { font: "Calibri"} });
		} .bind(itemUI);

		itemUI.element.adopt(itemUI.icon, itemUI.title, itemUI.btnRemove);

		return itemUI;
	}
});

var filterList = new FilterList();
//> require <mootools 1.2.3>
//> require <ui 1.0.0>
//> require <uiDialog 1.0.0>
//> require <cufon 1.0.0>

var CufonLbl = new Class(
{
	initialize: function ()
	{
		this.typeID = "cufonLbl";
		this.dataToken = this.typeID + "_data";

		uiDialog.registerPreInitHandler(this.typeID, this.preInit);
	},

	preInit: function (control, clientData)
	{
		if (Browser.Engine.trident && Browser.Engine.version <= 4)
		{
			return;
		}

		var data = clientData[cufonLbl.typeID];
		control.store(cufonLbl.dataToken, data);

		Cufon.replace(control, { fontFamily: data.font });
	}
});

var cufonLbl = new CufonLbl();
//> require <ui 1.0.0>
//> require <uiDialog 1.0.0>
//> require <historyManager 2.0.0>

Element.Events.keyenter = {
	base: 'keyup',
	condition: function (e)
	{
		return e.key == 'enter';
	}
};

var Site = new Class(
{
	initialize: function ()
	{
		this.domain = '';
		this.history = null;
		this.initStage = true;
		this.pageTracker = null;
		this.currentPage = null;
		this.allowTracking = true;
		this.mapElements = [];
		this.needsLoading = false;
		this.menu = {};
		this.contextChanged = null;
	},

	findAddressInMap: function ()
	{
		var grid = this.getParent("table");

		if (grid != null)
		{
			var map = ui.getSubElement(grid, "gm");

			if (map != null)
			{
				var data = map.retrieve(googleMaps.dataToken);

				if (data != null)
				{
					var tbStreet = ui.getSubElement(ui.getSubElement(grid, "street"), "tb");
					var tbPostal = ui.getSubElement(ui.getSubElement(grid, "postal"), "tb");
					var tbCity = ui.getSubElement(ui.getSubElement(grid, "city"), "tb");

					var address = "";

					if (tbStreet != null)
					{
						address += tbStreet.value;
					}

					if (tbPostal != null)
					{
						address += " " + tbPostal.value;
					}

					if (tbCity != null)
					{
						address += " " + tbCity.value;
					}

					var geocoder = new GClientGeocoder();
					geocoder.getLatLng(address, function (pos)
					{
						if (pos != null)
						{
							googleMaps.setCenter(data, pos.lat(), pos.lng(), 15);
						}
					});
				}
			}
		}
	},

	callAnalytics: function (pageTitle)
	{
		if (!site.allowTracking)
		{
			return;
		}

		if (site.pageTracker == null)
		{
			try
			{
				site.pageTracker = _gat._getTracker("UA-5859600-10");
				site.pageTracker._initData();
			}
			catch (e)
			{
				site.pageTracker = null;
			}
		}

		if (site.pageTracker != null)
		{
			site.pageTracker._trackPageview(pageTitle);
		}
	},

	scrollToTop: function ()
	{
		var wndScroll = window.getScroll();

		if (wndScroll.y > 300)
		{
			window.scrollTo(0, 0);
		}
	},

	seoDeath: function (e)
	{
		var elParent = this.getParent();

		if (elParent != null)
		{
			elParent.fireEvent("click");
		}

		return false;
	},

	stopEvent: function (e)
	{
		if ($defined(e))
		{
			e.stopPropagation();
		}
	},

	disableSeo: function ()
	{
		$$("a.seo").addEvent("click", site.seoDeath);
	},

	load: function ()
	{
		if (site.needsLoading)
		{
			var m = ui.initCommands[0].Data._c.main;
			ui.initCommands[0].Data._c.main = { instance: m.instance, path: m.path };

			site.needsLoading = false;
		}

		ui.onAfterRequest = function ()
		{
			site.disableSeo();
			site.bindMaps();
		}

		ui.load();

		//site.scrollToTop();
		site.ensureEffects();
		site.disableSeo();
		site.bindMaps();
	},

	getMainDialog: function ()
	{
		return $(document.body).getFirst();
	},

	init: function (e, params)
	{
		site.domain = params.domain;
	},

	onContextChanged: function (context, initStage)
	{
		if (site.contextChanged != null)
		{
			site.contextChanged(context, initStage);
		}
	},

	onStateChanged: function (state)
	{
		//console.warn("state changed: " + state);
		var term = decodeURI(state);
		site.loadPage(term);
	},

	loadPage: function (pageLink)
	{
		if (pageLink == '')
		{
			pageLink = site.history.getCurrentHash();
		}

		if (pageLink == '')
		{
			pageLink = "startseite";
		}

		site.initStage = true;

		uiDialog.executeAction("dlgDelegate", { p: pageLink }, "resolvePage", {});
		site.onContextChanged(pageLink, false);
	},

	getHardLink: function ()
	{
		var url = decodeURI(document.location);
		return url.split('#')[0].substr(window.domain.length);
	},

	setPage: function (e, params)
	{
		params = base64Json.decode(params);
		site.currentPage = params;
		site.currentPage.link = decodeURI(site.currentPage.link);

		var link = site.currentPage.link;
		var hardLink = site.getHardLink();

		if (hardLink != '' && hardLink != link)
		{
			//document.location.href = window.domain + "#" + link;
			//return;
		}

		if (site.needsLoading)
		{
			site.load();
		}

		var dlgPartners = $('dlgPartners');

		if ($defined(dlgPartners))
		{
			var partners = ui.getSubElement(dlgPartners, 'partners');
			var sa3 = ui.getSubElement(dlgPartners, 'sa3');

			if ($defined(partners) && !$defined(sa3))
			{
				sa3 = new Element('div', { id: 'sa3', 'class': 'sbSubArea' });
				var lnk = new Element('a', { id: 'link', href: 'http://www.infoline-schilddruese.de', target: '_blank' });
				var img = new Element('img', { id: 'img', src: '/footage/sanofiaventis.jpg', width: 140, height: 40, alt: '', border: 0 });

				lnk.adopt(img);
				sa3.adopt(lnk);
				partners.adopt(sa3);
			}
		}

		site.callAnalytics(link);

		site.onContextChanged(link, site.initStage);

		if (site.initStage)
		{
			site.initStage = false;
			return;
		}

		if (site.history != null)
		{
			site.history.addState(link);
		}

		site.scrollToTop();
	},

	resizeRepSub: function (subData)
	{
		var dlgMain = $("dlgMain");

		var size = subData.instance.getSize();
		var pos = subData.instance.getPosition(dlgMain);

		var newLeft = pos.x;
		var newTop = pos.y + size.y + 1;

		if (Browser.Engine.trident)
		{
			newTop += dlgMain.getScroll().y;
		}

		subData.rep.setStyles({ left: pos.x, top: newTop });

		//		var subPages = subData.rep.getChildren();

		//		for (var i = 0; i < subPages.length; i++)
		//		{
		//			var hPadding = subPages[i].getStyle("padding-left").toInt() + subPages[i].getStyle("padding-right").toInt();
		//			subPages[i].setStyle("width", size.x - hPadding);
		//		}
	},

	registerMenuItem: function (e, id)
	{
		site.menu[id] = this;

		var repSub = ui.getSubElement(this, "rep");

		if (repSub != null)
		{
			var dlgMain = $("dlgMain");
			dlgMain.adopt(repSub);

			var subData = { hold: false, rep: repSub, instance: this };
			this.store("subData", subData);
			repSub.store("subData", subData);

			site.resizeRepSub(subData);

			this.addEvent("mouseenter", site.showSubMenu.bindWithEvent(this));
			this.addEvent("mouseleave", site.hideSubMenu.bindWithEvent(this));

			repSub.addEvent("mouseenter", site.holdSubMenu.bindWithEvent(this));
			repSub.addEvent("mouseleave", site.unholdSubMenu.bindWithEvent(this));
		}
	},

	closeSubMenu: function ()
	{
		var subData = this.getParent().retrieve("subData");

		if (subData != null)
		{
			subData.hold = false;

			(function ()
			{
				var subData = this.retrieve("subData");

				if (!subData.hold)
				{
					subData.rep.setStyle("display", "none");
				}
			}).delay(100, subData.rep);
		}
	},

	showSubMenu: function (e)
	{
		var subData = this.retrieve("subData");
		site.resizeRepSub(subData);
		subData.rep.setStyle("display", "block");
		subData.hold = true;
	},

	hideSubMenu: function (e)
	{
		var subData = this.retrieve("subData");
		subData.hold = false;

		(function ()
		{
			var subData = this.retrieve("subData");

			if (!subData.hold)
			{
				subData.rep.setStyle("display", "none");
			}
		}).delay(100, this);
	},

	holdSubMenu: function (e)
	{
		var subData = this.retrieve("subData");
		subData.hold = true;
	},

	unholdSubMenu: function (e)
	{
		var subData = this.retrieve("subData");
		subData.hold = false;

		site.hideSubMenu.bind(this)();
	},

	selectMenu: function (e, id)
	{
		var menuItem = site.menu[id];

		if ($defined(menuItem))
		{
			menuItem.fireEvent(cssBtn.events.activate, [menuItem, true]);
			dlgStructure.expand.bind(menuItem)();
		}
	},

	smHack: function ()
	{
		var btn = this.getPrevious();

		if (btn != null)
		{
			btn.fireEvent("mouseenter");
		}
	},

	ensureEffects: function ()
	{

	},

	onMapsLoaded: function ()
	{
		for (var i = 0; i < site.mapElements.length; i++)
		{
			var mapElement = site.mapElements[i];

			var innerText = mapElement.get('text');
			var tokens = innerText.split("|");

			if (tokens.length == 3)
			{
				mapElement.setStyle("display", "block");

				var map = new google.maps.Map2(mapElement);

				map.setCenter(new google.maps.LatLng(tokens[0].toFloat(), tokens[1].toFloat()), tokens[2].toInt(), G_HYBRID_MAP);
				map.addOverlay(new GMarker(new GLatLng(tokens[0].toFloat(), tokens[1].toFloat())));
				map.addControl(new GMapTypeControl());
				map.addControl(new GSmallZoomControl());
			}
		}

		site["mapElements"] = [];
	},

	bindMaps: function ()
	{
		site["mapElements"] = [];
		site.mapElements = document.getElements(".googleMaps");

		if (site.mapElements.length > 0)
		{
			google.load("maps", "2", { "callback": site.onMapsLoaded });
		}
	}
});

var site = new Site();

window.addEvent('domready', function ()
{
	//window.alert = function(msg) { console.log(msg); };

	site.history = new HistoryManager();
	site.history.addEvent("onHistoryChange", site.onStateChanged);

	var hash = site.history.getCurrentHash();

	if (hash != '')
	{
		$("main").empty();

		site.needsLoading = true;
		site.loadPage(hash);
	}
	else
	{
		site.load();
	}
});
//> require <ui 1.0.0>
//> require <uiDialog 1.0.0>
//> require <Swiff.Uploader 1.0.0>

var Upload = new Class(
{
	initialize: function ()
	{
		this.typeID = "up";
		this.dataToken = this.typeID + "_data";

		ui.registerViewStateHandler(this.typeID, this.collectViewState);
		uiDialog.registerPreInitHandler(this.typeID, this.preInit);
		uiDialog.registerInitHandler(this.typeID, this.init);
	},

	preInit: function (control, clientData)
	{
		var data = { instance: control, attachments: [] };
		$extend(data, clientData[upload.typeID]);

		control.store(upload.dataToken, data);
	},

	init: function (control, clientData)
	{
		var data = control.retrieve(upload.dataToken);
		var btnUpload = ui.getSubElement(data.instance, "btnUpload");
		var pnlAttachments = ui.getSubElement(data.instance, "attachments");

		var uploader = new BDNUpload(pnlAttachments, btnUpload, data, {
			container: data.instance,
			url: window.domain + "upload.sg",
			fileSizeMax: 1073741824,
			timeLimit: 1800
		});

		data.uploader = uploader;
	},

	collectViewState: function (control)
	{
		var data = control.retrieve(upload.dataToken);
		var files = [];

		for (var i = 0; i < data.attachments.length; i++)
		{
			files.push(data.attachments[i].File);
		}

		var sFiles = files.join("|");

		return { "Files": sFiles };
	}
});

var upload = new Upload();

BDNUpload = new Class(
{
	Extends: Swiff.Uploader,

	options:
	{
		queued: false,
		instantStart: true,
		allowDuplicates: true,
		timeLimit: 300
	},

	initialize: function (list, btnUpload, data, options)
	{
		this.list = $(list);
		this.data = data;
		this.btnUpload = $(btnUpload);

		options.target = this.btnUpload;
		options.fileClass = options.fileClass || BDNUpload.File;

		this.parent(options);

		for (var i = 0; i < this.data.attachments.length; i++)
		{
			var fileUI = this.createFileUI(this.data.attachments[i], i);
			fileUI.element.addEvent("upRemove", function ()
			{
				this.uploader.data.attachments.erase(this.attachment);
			} .bind(fileUI));
			this.list.adopt(fileUI.element);
			fileUI.init();
		}
	},

	createFileUI: function (data, id)
	{
		var fileUI = {};

		fileUI.uploader = this;
		fileUI.attachment = data;
		fileUI.element = new Element('div', { 'class': 'attachment', id: 'at-' + id });
		fileUI.icon = new Element('img', { 'class': 'atIcon png', "src": data.Icon, "width": 42, "height": 42, id: 'icon' });
		fileUI.overlay = new Element('div', { 'class': 'atOverlay', id: 'overlay' });
		fileUI.main = new Element('div', { 'class': 'atMain', id: 'pnl' });
		var linkUrl = data.Link; if (linkUrl == null) { linkUrl = "about:blank"; }
		fileUI.link = new Element('a', { target: "_blank", href: linkUrl });
		fileUI.title = new Element('div', { 'class': 'atUrl', id: "url", text: data.Url });
		fileUI.status = new Element('div', { 'class': 'atInfo', text: data.Info });
		fileUI.cancel = new Element("div", { "class": "atRemove" });
		fileUI.cancel.imgUrl = "/footage/upload/btnRemove_n.png";
		fileUI.cancel.img = new Element("img", { "src": fileUI.cancel.imgUrl, "class": "png", "width": 32, "height": 32 });
		fileUI.removeFx = new Fx.Morph(fileUI.element, { duration: 300, transition: Fx.Transitions.Quad.easeInOut });

		fileUI.cancel.addEvent("click", function ()
		{
			this.removeFx.start({
				"opacity": 0,
				"padding-top": 0,
				"padding-bottom": 0,
				"height": 0
			}).chain(function ()
			{
				this.element.fireEvent("upRemove");
			} .bind(fileUI));
		} .bind(fileUI));

		fileUI.setTitle = function (title)
		{
			this.title.empty();
			this.title.set("html", title);
			cufonLbl.preInit(this.title, { cufonLbl: { font: "Calibri"} });
		} .bind(fileUI);

		fileUI.setBG = function (color)
		{
			this.element.setStyle("background-color", color);
		} .bind(fileUI);

		fileUI.resetBG = function ()
		{
			this.setBG(this.baseBG);
		} .bind(fileUI);

		fileUI.adaptData = function (data)
		{
			this.attachment = data;
			this.icon.set("src", data.Icon);
			this.link.set("href", data.Link);
			this.setTitle(data.Url);
			this.status.set("html", data.Info);
		} .bind(fileUI);

		fileUI.init = function (data)
		{
			cufonLbl.preInit(this.title, { cufonLbl: { font: "Calibri"} });
			//cssBtn.preInit(this.element, { cssBtn: { css: "attachment", cssH: "attachmentH", cssA: "attachmentA", group: "", section: ""} });
			imgBtn.preInit(this.cancel, { imgBtn: { imageUrl: this.cancel.imgUrl, hasHover: true, hasActive: true, section: ""} });
			this.baseBG = this.element.getStyle("background-color");
		} .bind(fileUI);

		fileUI.link.adopt(fileUI.title);

		fileUI.cancel.adopt(
			fileUI.cancel.img
		);

		fileUI.main.adopt(
			fileUI.link,
			fileUI.status
		);

		fileUI.element.adopt(
			fileUI.icon,
			fileUI.overlay,
			fileUI.main,
			fileUI.cancel
		);

		return fileUI;
	}
});

BDNUpload.File = new Class(
{
	Extends: Swiff.Uploader.File,

	render: function ()
	{
		if (this.invalid)
		{
			if (this.validationError)
			{
				alert(this.validationError);
				//				var msg = MooTools.lang.get('FancyUpload', 'validationErrors')[this.validationError] || this.validationError;
				//				this.validationErrorMessage = msg.substitute({
				//					name: this.name,
				//					size: Swiff.Uploader.formatUnit(this.size, 'b'),
				//					fileSizeMin: Swiff.Uploader.formatUnit(this.base.options.fileSizeMin || 0, 'b'),
				//					fileSizeMax: Swiff.Uploader.formatUnit(this.base.options.fileSizeMax || 0, 'b'),
				//					fileListMax: this.base.options.fileListMax || 0,
				//					fileListSizeMax: Swiff.Uploader.formatUnit(this.base.options.fileListSizeMax || 0, 'b')
				//				});
			}

			this.remove();
			return;
		}

		this.addEvents({
			'open': this.onOpen,
			'remove': this.onRemove,
			'requeue': this.onRequeue,
			'progress': this.onProgress,
			'stop': this.onStop,
			'complete': this.onComplete,
			'error': this.onError
		});

		this.ui = this.base.createFileUI({ Icon: "/footage/upload/uploading.png", Url: this.name, Info: "" }, this.id);
		this.ui.overlay.setStyle("display", "block");
		this.base.list.adopt(this.ui.element);
		this.ui.init();

		this.base.reposition();

		return this.parent();
	},

	setStatus: function (msg, params)
	{
		if ($defined(params))
		{
			msg = msg.substitute(params);
		}

		this.ui.status.set("html", msg);
	},

	onOpen: function ()
	{
		this.ui.setBG("#cceecc");
		this.setStatus("{name} is preparing for upload...", { name: this.name });
		//this.ui.overlay.setStyle("display", "block");
	},

	onRemove: function ()
	{
		this.ui = this.ui.element.destroy();
	},

	onProgress: function ()
	{
		var overlayHeight = -0.42 * this.progress.percentLoaded + 42;
		this.ui.overlay.setStyle("height", overlayHeight);
		this.ui.status.setStyle("color", "#7d7d7d");

		//this.setStatus("{name} ({percent}%, {rate}, {timeLeft})", {
		this.setStatus("{bytesLoaded} von {size} hochgeladen ({rate}) - {timeLeft} verbleibend ({percent}%)", {
			name: this.name,
			percent: this.progress.percentLoaded,
			rate: Swiff.Uploader.formatUnit(this.progress.rate, 'bps'),
			timeLeft: Swiff.Uploader.formatUnit(this.progress.timeRemaining, 's'),
			bytesLoaded: Swiff.Uploader.formatUnit(this.progress.bytesLoaded, 'b'),
			size: Swiff.Uploader.formatUnit(this.size, 'b')
		});
	},

	onStop: function ()
	{
		this.remove();
	},

	onComplete: function ()
	{
		if (this.response.error)
		{
			this.ui.setBG("#eecccc");
			this.setStatus("{name} (ERROR: {err})", { name: this.name, err: this.response.text });
			//			var msg = MooTools.lang.get('FancyUpload', 'errors')[this.response.error] || '{error} #{code}';
			//			this.errorMessage = msg.substitute($extend({ name: this.name }, this.response));

			//			this.base.fireEvent('fileError', [this, this.response, this.errorMessage]);
			//			this.fireEvent('error', [this, this.response, this.errorMessage]);
			return;
		}

		this.ui.resetBG();
		var resp = JSON.decode(this.response.text);

		if (resp.status == 1)
		{
			this.ui.status.setStyle("color", "#b2b2b2");
			this.ui.adaptData(resp.attachment);

			this.ui.overlay.setStyle("display", "none");

			this.base.data.attachments.push(resp.attachment);

			this.ui.element.addEvent("upRemove", function (f)
			{
				this.uploader.data.attachments.erase(this.attachment);
				f.remove();
			} .bind(this.ui, this));
		}
		else if (resp.status == 2)
		{
			this.ui.setBG("#f0e0e0");
			this.setStatus("Fehler: {reason}", {
				reason: resp.reason
			});
		}

		var response = this.response.text || '';
		this.base.fireEvent('fileSuccess', [this, response]);
	},

	onError: function ()
	{
		//this.ui.element.addClass('file-failed');
	}
});
//> require <htmlEditor 1.0.0>
//> require <checkBox 1.0.0>
//> require <comboBox 1.0.0>

//> require dlgAdminTasks.js

var Admin = new Class(
{
	initialize: function ()
	{
		this.dock = null;
		this.dlgMain = null;
		this.emptyID = '00000000-0000-0000-0000-000000000000';
	},

	execBehavior: function (dlg, params, target)
	{
		if (!$defined(dlg))
		{
			return;
		}

		if (!$defined(params))
		{
			params = "";
		}

		if (!$defined(target) || target == null)
		{
			target = "main";
		}

		uiDialog.executeAction("dlgDelegate", {}, "execBehavior", { "behavior": { "dlg": dlg, "params": params }, "target": target });
	},

	execAdminBehavior: function (dlg, params)
	{
		if (!$defined(params))
		{
			params = "";
		}

		if ($defined($("dlgStructure")) || $defined($("dlgContext")) || $defined($("dlgStart")))
		{
			admin.execBehavior(dlg, params, "col1");
		}
		else
		{
			admin.execBehavior(dlg, params);
		}
	},

	execNestedBehavior: function (dlg, subDlg, params)
	{
		if (!$defined(params))
		{
			params = {};
		}

		params.dlg = subDlg;
		admin.execBehavior(dlg, params);
	},

	newPage: function ()
	{
		if ($defined($("dlgEvent")))
		{
			admin.execAdminBehavior("dlgAdminEvent");
		}
		else if ($defined($("dlgBoard")) || $defined($("dlgAdminBoard")) || $defined($("dlgBoards")))
		{
			admin.execAdminBehavior("dlgAdminBoard");
		}
		else if ($defined($("dlgCommission")) || $defined($("dlgAdminCommission")) || $defined($("dlgCommissions")))
		{
			admin.execAdminBehavior("dlgAdminCommission");
		}
		else if ($defined($("dlgLandBoard")) || $defined($("dlgAdminLandBoard")) || $defined($("dlgLandBoards")))
		{
			admin.execAdminBehavior("dlgAdminLandBoard");
		}
		else if ($defined($("dlgMember")))
		{
			admin.execAdminBehavior("dlgAdminMember");
		}
		//		else if ($defined($("dlgAd")))
		//		{
		//			admin.execAdminBehavior("dlgAdminAd");
		//		}
		else
		{
			var page = site.currentPage;

			if ($defined(page) && $defined(page.pageID) && page.pageID != admin.emptyID)
			{
				admin.execAdminBehavior("dlgAdminPage", { "parentID": page.pageID });
			}
		}
	},

	editPage: function ()
	{
		var page = site.currentPage;

		if ($defined(page) && $defined(page.pageID))
		{
			if ($defined($("dlgEvent")))
			{
				admin.execAdminBehavior("dlgAdminEvent", { "ID": page.pageID });
			}
			else if ($defined($("dlgBoard")))
			{
				admin.execAdminBehavior("dlgAdminBoard", { "ID": page.pageID });
			}
			else if ($defined($("dlgCommission")))
			{
				admin.execAdminBehavior("dlgAdminCommission", { "ID": page.pageID });
			}
			else if ($defined($("dlgLandBoard")))
			{
				admin.execAdminBehavior("dlgAdminLandBoard", { "ID": page.pageID });
			}
			else if ($defined($("dlgMember")))
			{
				admin.execAdminBehavior("dlgAdminMember", { "ID": page.pageID });
			}
			else if ($defined($("dlgAd")))
			{
				var dlgAdParams = base64Json.decode($("dlgAd").retrieve("clientData")._p);

				if (dlgAdParams != null)
				{
					admin.execAdminBehavior("dlgAdminAd", { "cipher": dlgAdParams.cipher, "aspects": dlgAdParams.aspects });
				}
			}
			else
			{
				if (page.pageID != admin.emptyID)
				{
					admin.execAdminBehavior("dlgAdminPage", { "ID": page.pageID });
				}
			}
		}
	},

	insertPage: function ()
	{
		var page = site.currentPage;

		if ($defined(page) && $defined(page.pageID))
		{
			admin.execAdminBehavior("dlgAdminPage", { "parentID": page.pageID });
		}
	},

	openTasks: function ()
	{
		admin.execBehavior("dlgAdminTasks");
	},

	openEvents: function ()
	{
		admin.execBehavior("dlgAdminEvents");
	},

	openMembers: function ()
	{
		admin.execNestedBehavior("dlgContext", "dlgAdminMembers");
	}
});

var admin = new Admin();
//> require <mootools 1.2.3>

//> require <ui 1.0.0>
//> require <uiDialog 1.0.0>
//> require <historyManager 2.0.0>

//> require <cssBtn 1.0.0>
//> require <comboBox 1.0.0>
//> require <imgBtn 1.0.0>
//> require <textBox 1.0.0>
//> require <cufonLbl 1.0.0>
//> require <htmlEditor 1.0.0>
//> require <googleMaps 1.0.0>
//> require <teaser 1.0.0>

//> require calibri_font.js

//> require site.js
//> require ctxPage.js
//> require dlgStructure.js
//> require dlgPages.js
//> require dlgLogin.js
//> require dlgPager.js
//> require dlgSearch.js
//> require upload.js
//> require filterList.js
//> require ..\..\Core\Scripts\project.js

var Dock = new Class(
{
	initialize: function ()
	{
		this.typeID = "dock";
		this.data = null;
		this.smiley = null;

		//window.addEvent("setPage", this.onSetPage);
		site.contextChanged = this.contextChanged;
		window.addEvent("keyup", this.onKeyUp.bindWithEvent(this));

		uiDialog.registerPreInitHandler(this.typeID, this.preInit);
		uiDialog.onEvent = this.beforeUpdate;
	},

	preInit: function (control, clientData)
	{
		var elActions = new Element("div", { "class": "actions" });

		control.adopt(elActions);

		dock.data = {
			control: control,
			instance: elActions,
			allowed: false,
			isOpen: false,
			needsUpdate: true,
			isHiding: false,
			isReopening: false
		};

		control.setStyles({
			"height": 0,
			"opacity": 0
		});

		$extend(dock.data, clientData[dock.typeID]);

		dock.data.fx = new Fx.Morph(control, { duration: 200, transition: Fx.Transitions.Sine.easeInOut, link: "cancel" });
		dock.data.fxActions = new Fx.Morph(elActions, { duration: 230, transition: Fx.Transitions.Sine.easeInOut, link: "cancel" });

		dock.data.isReopening = dock.data.isOpen;

		if (dock.data.allowed)
		{
			dock.allow();
		}

		if (dock.data.isReopening)
		{
			dock.data.needsUpdate = false;
			dock.open();
		}
	},

	createSmiley: function ()
	{
		var smiley = {};

		smiley.element = new Element("div", { "class": "dockSmiley action" });
		smiley.icon = imgBtn.createNew({
			imgUrl: "/footage/dock/smiley_n.png",
			css: "icon",
			imgCss: "png",
			width: 69,
			height: 70
		});

		smiley.desc = new Element("div", { "class": "desc" });
		smiley.desc.set("html", "Schließen");

		if (!dock.data.isOpen)
		{
			smiley.desc.setStyle("opacity", 0.0);
		}

		smiley.fx = new Fx.Morph(smiley.desc, { duration: 100, transition: Fx.Transitions.Sine.easeInOut, link: "cancel" });

		smiley.element.adopt(
			smiley.icon,
			smiley.desc
		);

		smiley.element.addEvent("click", function ()
		{
			if (!dock.data.isOpen)
			{
				dock.open(function ()
				{
					this.fx.start({
						"opacity": 1.0
					});
				} .bind(this));
			}
			else
			{
				this.fx.start({
					"opacity": 0.0
				});

				dock.close();
			}
		} .bind(smiley));

		return smiley;
	},

	onKeyUp: function (e)
	{
		if (e.control && e.key == "space")
		{
			dock.toggle();
			e.stopPropagation();
		}

		return true;
	},

	contextChanged: function (link, initStage)
	{
		if (dock.data == null || !dock.data.allowed)
		{
			return;
		}

		if (initStage)
		{
			if (dock.data.isReopening)
			{
				dock.data.isReopening = false;
				//console.warn("reopening dock @" + link);
				uiDialog.executeAction("dlgDelegate", {}, "updateDock", { "link": link });
			}
		}
		else
		{
			if (dock.data.isOpen)
			{
				//console.warn("updating dock @" + link);
				uiDialog.executeAction("dlgDelegate", {}, "updateDock", { "link": link });
			}
			else
			{
				//console.warn("new dock update available @" + link);
				dock.data.instance.empty();
				dock.data.needsUpdate = true;
			}
		}
	},

	beforeUpdate: function (eventParams)
	{
		if (dock.data == null)
		{
			return;
		}

		if (dock.data.isOpen)
		{
			dock.data.isHiding = true;
			dock.data.fxActions.start(
			{
				"left": -30,
				"opacity": 0.0
			}).chain(function ()
			{
				if (dock.data.afterUpdate != null)
				{
					dock.data.afterUpdate();
				}

				dock.data.isHiding = false;
			});
		}
	},

	update: function (params)
	{
		if (dock.data == null)
		{
			return;
		}

		if (dock.data.isHiding)
		{
			dock.data.afterUpdate = function ()
			{
				dock.afterUpdate(params);
				dock.data.afterUpdate = null;
			};
		}
		else
		{
			dock.afterUpdate(params);
		}
	},

	afterUpdate: function (params)
	{
		if (dock.data == null)
		{
			return;
		}

		var actions = params.actions;

		dock.data.instance.setStyles(
		{
			"left": 30,
			"opacity": 0.0
		});

		dock.data.instance.empty();

		for (var i = 0; i < actions.length; i++)
		{
			var action = actions[i];
			var iconUrl = "/footage/dock/{icon}_n.png";
			iconUrl = iconUrl.substitute(action);

			action.ui = new Element("div", { "class": "action" });
			action.ui.icon = imgBtn.createNew({
				imgUrl: iconUrl,
				css: "icon",
				imgCss: "png",
				width: 69,
				height: 70
			});

			action.ui.desc = new Element("div", { "class": "desc" });
			action.ui.desc.set("html", action.title);

			action.ui.adopt(
				action.ui.icon,
				action.ui.desc
			);

			action.ui.addEvent("click", function ()
			{
				var method = dock[this.method];

				if ($defined(method))
				{
					if (this.aspects == 0)
					{
						dock.beforeUpdate(null);
					}

					method();
				}
			} .bind(action));

			dock.data.instance.adopt(action.ui);
		}

		dock.data.actions = actions;
		dock.data.needsUpdate = false;

		dock.data.fxActions.start(
		{
			"left": 0,
			"opacity": 1.0
		});
	},

	allow: function ()
	{
		if (dock.data == null)
		{
			return;
		}

		dock.data.allowed = true;

		if (dock.smiley != null)
		{
			dock.smiley.element.destroy();
		}

		dock.smiley = dock.createSmiley();
		dock.data.control.getParent().adopt(dock.smiley.element);
	},

	deny: function ()
	{
		if (dock.data == null)
		{
			return;
		}

		dock.data.allowed = false;

		if (dock.smiley != null)
		{
			dock.smiley.element.destroy();
			dock.smiley = null;
		}

		if (dock.data.isOpen)
		{
			dock.close();
		}
	},

	open: function (onFinish)
	{
		if (dock.data == null || !dock.data.allowed)
		{
			return;
		}

		dock.data.isOpen = true;

		if (dock.data.needsUpdate)
		{
			dock.contextChanged(site.currentPage.link);
		}

		var sy = window.getScroll().y;

		dock.data.fx.start({
			"height": 100,
			"opacity": 1.0
		}).chain(function ()
		{
			$("dlgMain").setStyles({
				"padding-top": 100
			});

			var wndScroll = window.getScroll();
			window.scrollTo(wndScroll.x, sy + 100);

			if ($defined(onFinish))
			{
				onFinish();
			}
		});
	},

	close: function (onFinish)
	{
		if (dock.data == null)
		{
			return;
		}

		dock.data.isOpen = false;

		var sy = window.getScroll().y;

		dock.data.fx.start({
			"height": 0,
			"opacity": 0
		}).chain(function ()
		{
			$("dlgMain").setStyles({
				"padding-top": 0
			});

			var wndScroll = window.getScroll();
			window.scrollTo(wndScroll.x, sy - 100);

			uiDialog.executeAction("dlgDelegate", {}, "closeDock", {});

			if ($defined(onFinish))
			{
				onFinish();
			}
		});
	},

	toggle: function (onFinish)
	{
		if (dock.data == null)
		{
			return;
		}

		if (!dock.data.isOpen)
		{
			dock.open(onFinish);
		}
		else
		{
			dock.close(onFinish);
		}
	},

	insertPage: function ()
	{
		var page = site.currentPage;

		if ($defined(page) && $defined(page.pageID) && page.pageID != admin.emptyID)
		{
			admin.execAdminBehavior("dlgAdminPage", { "parentID": page.pageID });
		}
	},

	editPage: function ()
	{
		var page = site.currentPage;

		if ($defined(page) && $defined(page.pageID) && page.pageID != admin.emptyID)
		{
			admin.execAdminBehavior("dlgAdminPage", { "ID": page.pageID });
		}
	},

	newMember: function ()
	{
		admin.execAdminBehavior("dlgAdminMember");
	},

	editMember: function ()
	{
		var page = site.currentPage;

		if ($defined(page) && $defined(page.pageID) && page.pageID != admin.emptyID)
		{
			admin.execAdminBehavior("dlgAdminMember", { "ID": page.pageID });
		}
	},

	newEvent: function ()
	{
		admin.execAdminBehavior("dlgAdminEvent");
	},

	editEvent: function ()
	{
		var page = site.currentPage;

		if ($defined(page) && $defined(page.pageID) && page.pageID != admin.emptyID)
		{
			admin.execAdminBehavior("dlgAdminEvent", { "ID": page.pageID });
		}
	},

	newBoard: function ()
	{
		admin.execAdminBehavior("dlgAdminBoard");
	},

	editBoard: function ()
	{
		var page = site.currentPage;

		if ($defined(page) && $defined(page.pageID) && page.pageID != admin.emptyID)
		{
			admin.execAdminBehavior("dlgAdminBoard", { "ID": page.pageID });
		}
	},

	newLandBoard: function ()
	{
		admin.execAdminBehavior("dlgAdminLandBoard");
	},

	editLandBoard: function ()
	{
		var page = site.currentPage;

		if ($defined(page) && $defined(page.pageID) && page.pageID != admin.emptyID)
		{
			admin.execAdminBehavior("dlgAdminLandBoard", { "ID": page.pageID });
		}
	},

	newCommission: function ()
	{
		admin.execAdminBehavior("dlgAdminCommission");
	},

	editCommission: function ()
	{
		var page = site.currentPage;

		if ($defined(page) && $defined(page.pageID) && page.pageID != admin.emptyID)
		{
			admin.execAdminBehavior("dlgAdminCommission", { "ID": page.pageID });
		}
	},

	getDialogParams: function (dialogs)
	{
		for (var i = 0; i < dialogs.length; i++)
		{
			var dialog = $(dialogs[i]);

			if ($defined(dialog))
			{
				return base64Json.decode($(dialogs[i]).retrieve("clientData")._p);
			}
		}

		return null;
	},

	getAdParams: function ()
	{
		return dock.getDialogParams(["dlgAds", "dlgAd"]);
	},

	newAd: function ()
	{
		var dlgAdParams = dock.getAdParams();

		if (dlgAdParams != null)
		{
			admin.execAdminBehavior("dlgAdminAd", { "aspects": dlgAdParams.aspects });
		}
	},

	editAd: function ()
	{
		var dlgAdParams = dock.getAdParams();

		if (dlgAdParams != null)
		{
			admin.execAdminBehavior("dlgAdminAd", { "cipher": dlgAdParams.cipher, "aspects": dlgAdParams.aspects });
		}
	},

	members: function ()
	{
		uiDialog.executeAction("dlgDelegate", { p: "verwaltung/mitglieder" }, "resolvePage", {});
	},

	mailing: function ()
	{
		uiDialog.executeAction("dlgDelegate", { p: "verwaltung/neue-aussendung" }, "resolvePage", {});
	},

	accessDump: function ()
	{
		//uiDialog.executeAction("dlgDelegate", {}, "getAccessDump", {});
		document.location = "export-access";
	},

	back: function ()
	{
		window.history.back();
	}
});

var dock = new Dock();
//> require ..\..\Core\Scripts\project.js
//> require admin.js
//> require dock.js

