/*********************************************************************************
* Floatbox v4.04
* May 25, 2010
*
* Copyright (c) 2008-2010 Byron McGregor
* Website: http://randomous.com/floatbox
* This software and all associated files are protected by copyright.
* Redistribution and modification of the executable portions is prohibited.
* Use on any commercial site requires registration and purchase of a license key.
* See http://randomous.com/floatbox/license for details.
* This comment block must be retained in all deployments.
*********************************************************************************/

/*
Looking for options to set?
Default options are no longer editable in this file.
Please add your global option customizations and license key to options.js in this folder,
or to fbPageOptions, fbChildOptions, fbTypeOptions, and fbClassOptions on individual pages.
See the instructions for details.
*/



Floatbox.prototype.customPaths = {
	installBase: '',
	modules: '',
	languages: '',
	graphics: ''
};

self.fb = new Floatbox;
fb.proto.BF = {
	color: "default",
	theme:          'black'    ,// 'auto'|'black'|'white'|'blue'|'yellow'|'red'|'custom'
	roundCorners: "all",
	cornerRadius: 12,
	shadowType: "drop",
	shadowSize: 12,
	outerBorder: 1,
	innerBorder: 1,
	padding: 24,
	panelPadding: 8,
	overlayOpacity: 55,
	autoFitImages: true,
	autoFitOther: false,
	autoFitSpace: 5,
	resizeImages: true,
	resizeOther: false,
	resizeTool: "cursor",
	captionPos: "bl",
	caption2Pos: "tc",
	infoLinkPos: "bl",
	printLinkPos: "bl",
	newWindowLinkPos: "tr",
	itemNumberPos: "bl",
	indexLinksPos: "br",
	controlsPos: "br",
	centerNav: false,
	boxLeft: "auto",
	boxTop: "auto",
	enableDragMove: true,
	stickyDragMove: true,
	enableDragResize: false,
	stickyDragResize: true,
	draggerLocation: "frame",
	minContentWidth: 140,
	minContentHeight: 100,
	titleAsCaption: true,
	showIE6EndOfLife: true,
	showItemNumber: true,
	showClose: true,
	showNewWindowIcon: true,
	closeOnNewWindow: false,
	modal: true,
	cacheAjaxContent: false,
	hideObjects: true,
	hideJava: true,
	centerOnResize: true,
	disableScroll: false,
	randomOrder: false,
	printCSS: "",
	preloadAll: true,
	autoGallery: false,
	language: "auto",
	graphicsType: "auto",
	doAnimations: true,
	resizeDuration: 3.5,
	imageFadeDuration: 3,
	overlayFadeDuration: 4,
	startAtClick: true,
	zoomImageStart: true,
	liveImageResize: true,
	splitResize: "no",
	cycleInterval: 5,
	cycleFadeDuration: 4.5,
	cyclePauseOnHover: false,
	navType: "both",
	navOverlayWidth: 35,
	navOverlayPos: 30,
	showNavOverlay: "never",
	showHints: "once",
	enableWrap: true,
	enableKeyboardNav: true,
	outsideClickCloses: true,
	imageClickCloses: false,
	numIndexLinks: 0,
	showIndexThumbs: true,
	pipIndexThumbs: true,
	maxIndexThumbSize: 0,
	slideInterval: 4.5,
	endTask: "exit",
	showPlayPause: true,
	startPaused: false,
	pauseOnPrev: true,
	pauseOnNext: false,
	pauseOnResize: true,
	licenseKey: ""  ////////// "qPV3lOs2qvFG" //////// ////////// "qOs3oPt3pPFh"
};
fb.extend(fb.proto, {
	version: "4.04",
	EP: "floatbox",
	AV: "fbCycler",
	JE: "fbTooltip",
	GI: 20,
	DJ: 16,
	BN: 12,
	AL: 60,
	ID: 1600,
	JW: 1,
	AM: 8,
	FC: 50,
	AS: 5,
	II: 750,
	EY: 120,
	FD: 70,
	BG: "85%",
	BE: "82%",
	JG: 24,
	GS: 5000,
	FM: 25,
	FN: 45,
	ER: Math.ceil,
	ES: Math.floor,
	ET: Math.log,
	EU: Math.max,
	EV: Math.min,
	EW: Math.random,
	EX: Math.round,
	CM: function (a) {
		return parseInt(a, 10)
	},
	CJ: function (a) {
		return parseFloat(a)
	},
	CA: "afterFBLoaded",
	JS: "winload",
	DG: '<p style="color:#000; background:#fff; padding:2em; margin:0;">404 - Requested content not found.</p>',
	M: (location.protocol + "//" + location.host).toLowerCase(),
	V: (navigator.language || navigator.userLanguage || navigator.systemLanguage || navigator.V || "en").substring(0, 2),
	instances: [],
	children: [],
	anchors: [],
	AZ: [],
	JD: [],
	GO: [],
	GP: [],
	JR: [],
	FF: {},
	GR: {},
	CR: {},
	GH: {},
	BZ: {},
	GB: function (c) {
		if (fb.GB.BL) {
			return
		}
		var a = "self",
		b = (self.fbPageOptions && fbPageOptions.framed) || /framed/.test(fb.EB);
		if (! (b || self === parent)) {
			try {
				if (!fb.DW(parent.location.href)) {
					a = "parent"
				}
			} catch(d) {}
			if (a === "parent" && !(parent.fb && parent.fb.DM)) {
				return setTimeout(fb.GB, 50)
			}
		}
		fb.GB.BL = true;
		if (document.compatMode === "BackCompat") {
			alert("Floatbox does not support quirks mode.\nPage needs to have a valid doctype declaration.");
			return
		}
		if (a === "self") {
			fb.DK()
		} else {
			self.fb = parent.fb
		} (function () {
			if (!fb.DM) {
				return setTimeout(arguments.callee, 50)
			}
			fb.JR.push(self);
			var e = self.document,
			f = e.body;
			document.fbAnchorCount = f.getElementsByTagName("a").length;
			fb.activateElements(f);
			fb.addEvent(fb.JX.ie ? f: e, "mousedown", function (g) {
				g = g || window.event;
				fb.AF = g.clientX;
				fb.AG = g.clientY;
				fb.AE = g.target || g.srcElement;
				setTimeout(function () {
					fb.AF = fb.AG = fb.AE = null
				},
				250)
			});
			if (a === "self") {
				fb.BW(null, fb.CA)
			}
			if (fb.autoStart) {
				setTimeout(function () {
					if (!fb.L) {
						fb.L = true;
						fb.start(fb.autoStart)
					}
				},
				100)
			}
			if (fb.JX.KC && a === "self") {
				fb.DH()
			}
		})()
	},
	DK: function () {
		var p = this,
		i = fb.proto;
		if (!p.DQ) {
			i.DQ = p.customPaths.installBase || p.CQ("script", "src", /(.*)floatbox.js(?:\?|$)/i) || p.CQ("link", "href", /(.*)floatbox.css(?:\?|$)/i) || "/floatbox/"
		}
		if (!p.globalOptions) {
			p.CN("options", p.DQ);
			setTimeout(function () {
				p.DK()
			},
			25);
			return
		}
		p.instances.push(p);
		p.DR = p.IM = p.instances.length - 1;
		p.AU = [];
		p.FY = [];
		p.DB = [];
		p.JB = {};
		p.GQ = {};
		p.AT = {};
		p.DS = fb.DM;
		if (!p.DS) {
			p.parent = p.topBox = p.lastChild = p;
			p.CP();
			p.extend(i, {
				JQ: self,
				BI: document,
				BK: document.documentElement,
				BJ: document.getElementsByTagName("head")[0],
				P: document.body
			});
			if (!p.licenseKey) {
				p.CN("licenseKey", p.DQ)
			}
			var g = {},
			e = 1,
			o = navigator.userAgent,
			f = navigator.appVersion;
			g.JY = f.indexOf("Macintosh") !== -1;
			if (window.opera) {
				g.opera = true;
				g.KA = p.CJ(f) < 9.5;
				g.JZ = p.CJ(o.substring(o.indexOf("Version/") + 8)) >= 10.5;
				if (g.KA) {
					e = 1.5
				}
			} else {
				if (document.all) {
					g.ie = true;
					if (p.BI.documentMode) {
						g.KB = p.BI.documentMode >= 8
					} else {
						var d = p.BI.createElement("div");
						p.setInnerHTML(d, '<!--[if lt IE 7]><div id="fb_ieOld"></div><![endif]-->');
						g.KC = !!(d.firstChild && d.firstChild.id === "fb_ieOld");
						d = null
					}
					g.KD = p.CM(f.substring(f.indexOf("Windows NT") + 11)) < 6;
					e = g.KB ? 1.9 : 1.2
				} else {
					if (f.indexOf("WebKit") !== -1) {
						g.KH = true;
						g.KI = g.JY;
						g.KJ = /iP(hone|od|ad)/.test(o)
					} else {
						if (o.indexOf("Firefox") !== -1) {
							g.ff = true;
							g.KE = p.CM(o.substring(o.indexOf("Firefox") + 8)) < 3;
							g.KF = !g.KE;
							g.KG = g.JY
						} else {
							if (o.indexOf("SeaMonkey") !== -1) {
								g.KK = true;
								g.KL = p.CM(o.substring(o.indexOf("SeaMonkey") + 10)) < 2
							}
						}
					}
				}
			}
			var n = "none",
			c = p.BI.createElement("div"),
			b = c.style;
			p.P.appendChild(c);
			b.borderRadius = b.MozBorderRadius = b.WebkitBorderRadius = b.KhtmlBorderRadius = "9px";
			if (p.getStyle(c, "border-top-left-radius") || p.getStyle(c, "-moz-border-radius-topleft") || p.getStyle(c, "-KH-border-top-left-radius") || p.getStyle(c, "-khtml-border-top-left-radius")) {
				n = "css3"
			} else {
				if (p.BI.createElement("canvas").getContext) {
					n = "canvas"
				} else {
					if (g.ie) {
						p.setInnerHTML(c, "<v:shape />");
						var m = c.firstChild;
						m.style.behavior = "url(#default#VML)";
						if (typeof m.adj === "object") {
							n = "vml";
							setTimeout(function () {
								try {
									if (!fb.BI.namespaces.v) {
										fb.BI.namespaces.add("v", "urn:schemas-microsoft-com:vml")
									}
								} catch(r) {}
							},
							20)
						}
					}
				}
			}
			p.P.removeChild(c);
			var j = p.customPaths.modules || p.DQ + "modules/",
			l = p.customPaths.languages || p.DQ + "languages/",
			a = p.customPaths.graphics;
			if (!a) {
				var d = document.createElement("div");
				d.id = "fbPathChecker";
				document.body.appendChild(d);
				var h = /(?:url\()?["']?(.*)blank.gif["']?\)?$/i.exec(p.getStyle(d, "background-image"));
				a = h ? h[1] : p.DQ + "graphics/";
				document.body.removeChild(d)
			}
			var k = p.getStyle(document.body, "direction") === "rtl";
			p.extend(i, {
				JX: g,
				IL: e,
				AQ: n,
				FE: j,
				EH: l,
				CS: a,
				rtl: k
			});
			p.CN("core");
			if (p.JX.KC) {
				p.CN("ieOld")
			}
		} else {
			p.parent = fb.lastChild;
			fb.topBox = fb.lastChild = p;
			fb.children.push(p)
		}
		var q = p.CS;
		p.HI = q + "magnify_plus.cur";
		p.HE = q + "magnify_minus.cur";
		p.FZ = q + "404.jpg";
		p.O = q + "blank.gif";
		var h = /\bautoStart=(.+?)(?:&|$)/i.exec(location.search);
		p.K = h ? h[1] : null;
		p.DM = true;
		return p
	},
	CP: function () {
		var b = this,
		a;
		function c(f) {
			var e = {},
			d;
			for (d in f) {
				if (f.hasOwnProperty(d)) {
					e[d] = b.GK(f[d])
				}
			}
			return e
		}
		b.CR.CR = b.globalOptions.globalOptions || {};
		b.CR.Z = b.globalOptions.childOptions || {};
		b.CR.JL = c(b.globalOptions.typeOptions);
		b.CR.AA = c(b.globalOptions.classOptions);
		b.GH.CR = self.fbPageOptions || {};
		b.GH.Z = self.fbChildOptions || {};
		b.GH.JL = c(self.fbTypeOptions);
		b.GH.AA = c(self.fbClassOptions);
		if ((b.CR.CR.enableCookies || b.GH.CR.enableCookies) && (a = /fbOptions=(.+?)(;|$)/.exec(document.cookie))) {
			b.extend(b.BZ, b.GK(a[1]))
		}
		if (b.CR.CR.enableQueryStringOptions || b.GH.CR.enableQueryStringOptions || (location.search && /enableQueryStringOptions=true/i.test(location.search))) {
			b.extend(b.BZ, b.GK(location.search.substring(1)))
		}
		b.HW(b.BF);
		b.HW(b.CR.CR);
		b.HW(b.GH.CR);
		b.HW(b.BZ)
	},
	HU: function (i, g) {
		var j = this,
		e = {},
		b = j.CR,
		d = j.GH,
		c = i.F ? i.F.replace(/\s+/, " ").split(" ") : [];
		function f(l) {
			var a = {},
			k = c.length;
			while (k--) {
				j.extend(a, l.AA[c[k]])
			}
			return a
		}
		function h(a) {
			var k, l;
			if (!a) {
				return a
			}
			if (a === "href") {
				return j.encodeHTML(i.href)
			}
			if ((k = /^#([a-z][^\s=]*)$/i.exec(a))) {
				if ((l = j.CD(k[1], i.GG))) {
					return l.innerHTML
				}
			}
			if (/&lt;.+&gt;/.test(a)) {
				return j.decodeHTML(a)
			}
			if (!/<.+>/.test(a)) {
				return j.encodeHTML(a)
			}
			return a
		}
		j.extend(e, j.BF, b.CR);
		if (g) {
			j.extend(e, b.Z)
		}
		j.extend(e, b.JL[i.type]);
		if (i.subType) {
			j.extend(e, b.JL[i.subType])
		}
		j.extend(e, f(b), d.CR);
		if (g) {
			j.extend(e, d.Z)
		}
		j.extend(e, d.JL[i.type]);
		if (i.subType) {
			j.extend(e, d.JL[i.subType])
		}
		j.extend(e, f(d), j.BZ, i.DY);
		if (e.titleAsCaption && !i.DY.caption && i.H) {
			e.caption = i.H
		}
		if (e.autoGallery && i.type === "img" && !e.caption) {
			e.caption = e.autoTitle
		}
		e.caption = h(e.caption);
		e.caption2 = h(e.caption2);
		return (i.IA = e)
	},
	tagAnchors: function (a) {
		this.activateElements(a)
	},
	activateElements: function (c) {
		var l = this;
		if (!l.DM) {
			return setTimeout(function () {
				l.activateElements(c)
			},
			50)
		}
		if (! (c = fb$(c))) {
			l.anchors.length = 0;
			for (var g = 0; g < l.JR.length; g++) {
				try {
					if (l.JR[g] && l.JR[g].document) {
						l.activateElements(l.JR[g].document)
					}
				} catch(h) {}
			}
			return
		}
		function d(m) {
			var o = c.getElementsByTagName(m);
			for (var n = 0, e = o.length; n < e; n++) {
				l.GJ(o[n], null, false, k)
			}
		}
		function j(r, m) {
			var p = r.getAttribute("data-fb-options") || r.getAttribute("rev"),
			o = r.getElementsByTagName(m),
			q = o.length;
			while (q--) {
				var e = o[q],
				n = e.className || "";
				if (!/\bnofloatbox\b/i.test(n + " " + e.rel)) {
					if (!/\bfloatbox\b/i.test(n + " " + e.rel)) {
						e.className = n + (n ? " ": "") + l.EP
					}
					if (p) {
						var s = e.getAttribute("data-fb-options") || e.getAttribute("rev") || "";
						e.setAttribute("data-fb-options", s + " " + p)
					}
				}
			}
		}
		var k = l.ownerInstance(c),
		f = l.getElementsByClassName(l.EP, c.nodeType == 9 ? c: c.ownerDocument || c),
		g = f.length;
		while (g--) {
			var b = f[g],
			a = l.BU(b);
			if (a !== "a" || a !== "area") {
				j(b, "a");
				j(b, "area")
			}
		}
		d("a");
		d("area");
		if (l.GP.length) {
			l.CN("popup");
			l.GM()
		}
		var f = l.getElementsByClassName(l.AV, c);
		if (f.length) {
			l.CN("cycler");
			l.AW(f, k)
		}
		var f = l.getElementsByClassName(l.JE, c);
		if (f.length) {
			l.CN("tooltip");
			l.JF(f, k)
		}
	},
	GJ: function (b, o, j, l) {
		var n = this,
		m = {},
		h;
		m.DY = (typeof o === "string") ? n.GK(o) : (n.JK(o) === "object" ? o: {});
		b = b || m.DY.source || m.DY.html || m.DY.href;
		if (!b) {
			return
		}
		m.source = m.S = b;
		var g = n.anchors.length;
		while (g--) {
			if (n.anchors[g].source === b) {
				return j ? n.anchors[g] : n.undefined
			}
		}
		m.IX = j;
		if (n.JK(b) === "node") {
			var d = n.BU(b);
			if (d.indexOf("a") === 0) {
				var f = n.GK(b.getAttribute("data-fb-options") || b.getAttribute("rev"));
				m.DY = n.extend({},
				f, m.DY);
				m.href = b.href || "";
				m.G = b.getAttribute("rel") || "";
				m.H = b.getAttribute("title") || "";
				m.F = b.className || "";
				m.GG = b.ownerDocument;
				m.E = b;
				m.JA = b.getElementsByTagName("img")[0] || null;
				if ((h = /\bfloatbox(\S*)/i.exec(m.F))) {
					m.IX = true;
					if (h[1]) {
						m.group = h[1]
					}
				}
				if (n.autoGallery && m.G !== "nofloatbox" && m.F.indexOf("nofloatbox") === -1 && n.CC(m.href) === "img") {
					m.IX = true;
					m.type = "img";
					m.group = ".autoGallery"
				} else {
					if ((h = /^(?:floatbox|gallery|iframe|slideshow|lytebox|lyteshow|lyteframe|lightbox)(.*)/i.exec(m.G))) {
						m.IX = true;
						m.group = h[1];
						if (/^(slide|lyte)show/i.test(m.G)) {
							m.DY.doSlideshow = true
						} else {
							if (/^(i|lyte)frame/i.test(m.G)) {
								m.type = "html";
								m.subType = "iframe"
							}
						}
					}
				}
				if (m.JA && ((h = /(?:^|\s)fbPop(up|down|left|right|pip)(?:\s|$)/i.exec(m.F)))) {
					m.popupType = h[1];
					n.GP.push(m)
				}
			} else {
				m.type = "html";
				m.subType = "inline"
			}
		}
		if (!m.IX) {
			return
		}
		m.S = m.DY.source || m.DY.href || m.href || b;
		if (!m.type) {
			m.S = n.decodeHTML(m.S);
			if (/<.+>/.test(m.S)) {
				m.type = "html";
				m.subType = "direct"
			} else {
				if ((h = /#([a-z][^\s=]*)$/i.exec(m.S))) {
					var k = n.CD(h[1], m.GG);
					if (k) {
						m.S = k;
						m.type = "html";
						m.subType = "inline"
					}
				}
			}
			if (!m.type) {
				m.type = m.DY.type || n.CC(m.S);
				if (/^(iframe|inline|ajax|direct)$/i.test(m.type)) {
					m.subType = m.type;
					m.type = "html"
				}
				if (/^(flash|quicktime|wmp|silverlight|pdf)$/i.test(m.type)) {
					m.subType = m.type;
					m.type = "media"
				}
				if (m.type === "image") {
					m.type = "img"
				}
			}
		}
		if (!m.S && m.DY.showThis !== false) {
			m.S = n.DG;
			m.type = "html";
			m.subType = "direct"
		}
		if (n.JX.ie && m.subType === "pdf" && n.DW(m.S)) {
			m.type = "html";
			m.subType = "iframe"
		}
		n.HU(m);
		if (m.E) {
			m.DR = typeof l === "number" ? l: n.ownerInstance(m.E)
		} else {
			m.DR = fb.lastChild.DR
		}
		m.group = m.IA.group || m.group || "";
		n.anchors.push(m);
		if (m.type === "media") {
			n.CN("media")
		}
		if (m.href && !fb.autoStart) {
			if (n.K) {
				if (m.IA.showThis !== false && m.href.indexOf(n.K) !== -1) {
					fb.autoStart = m
				}
			} else {
				if (m.IA.autoStart === true) {
					fb.autoStart = m
				} else {
					if (m.IA.autoStart === "once") {
						var h = /fbAutoShown=(.+?)(?:;|$)/.exec(document.cookie),
						e = h ? h[1] : "",
						c = escape(m.href);
						if (e.indexOf(c) === -1) {
							fb.autoStart = m;
							document.cookie = "fbAutoShown=" + e + c + "; path=/"
						}
					}
				}
			}
		}
		if (n.JX.KC && m.E) {
			m.E.hideFocus = "true"
		}
		if (m.E) {
			m.E.onclick = function (p) {
				if (!p) {
					var a = this.ownerDocument;
					p = a && a.parentWindow && a.parentWindow.event
				}
				if (! (p && (p.ctrlKey || p.metaKey || p.shiftKey || p.altKey)) || m.IA.showThis === false || (m.type !== "img" && m.subType !== "iframe")) {
					var i = this;
					this.clientX = p.clientX;
					this.clientY = p.clientY;
					n.start(this);
					setTimeout(function () {
						i.clientX = i.clientY = null
					},
					250);
					return n.stopEvent(p)
				}
			}
		}
		if (j) {
			return m
		}
	},
	CC: function (f) {
		if (typeof f !== "string") {
			return ""
		}
		var d = f.search(/[\?#]/),
		c = (d !== -1) ? f.substring(0, d) : f,
		e = "",
		b,
		g = {
			youtube: /\.com\/(watch\?v=|watch\?(.+)&v=|v\/[\w\-]+)/,
			"video.yahoo": /\.com\/watch\/\w+\/\w+/,
			dailymotion: /\.com\/swf\/\w+/,
			vimeo: /\.com\/\w+/,
			vevo: /\.com\/(watch\/\w+|videoplayer\/(index|embedded)\?)/i
		};
		e = c.substring(c.lastIndexOf(".") + 1).toLowerCase();
		if (/^(jpe?g|png|gif|bmp)$/.test(e)) {
			return "img"
		}
		if (/^(html?|php[1-9]?|aspx?)$/.test(e)) {
			return "iframe"
		}
		if (e === "swf") {
			return "flash"
		}
		if (e === "pdf") {
			return "pdf"
		}
		if (e === "xap") {
			return "silverlight"
		}
		if (/^(mpe?g|movi?e?|3gp|3g2|m4v|mp4|qt)$/.test(e)) {
			return "quicktime"
		}
		if (/^(wmv?|avi|asf)$/.test(e)) {
			return "wmp"
		}
		if ((b = /^(?:http:)?\/\/(?:www.)?([a-z\.]+)\.com\//i.exec(c)) && b[1]) {
			var a = b[1].toLowerCase();
			if (g[a] && g[a].test(f)) {
				return "flash"
			}
		}
		return "iframe"
	},
	CD: function (f, a) {
		var c = this,
		e = null;
		if (typeof f === "string") {
			e = (a && a.getElementById(f)) || c.BI.getElementById(f) || fb$(f);
			var b = fb.instances.length,
			d;
			while (!e && b--&&(d = fb.instances[b])) {
				if (c.BU(d.fbContent) === "iframe" && !c.DW(d.fbContent.src)) {
					if ((a = c.getIframeDocument(d.fbContent))) {
						e = a.getElementById(f)
					}
				}
			}
		}
		return e
	},
	GK: function (k, d) {
		var m = this,
		j = {};
		if (m.JK(k) === "object") {
			return k
		}
		if (typeof k !== "string" || !k) {
			return j
		}
		var h = [],
		g,
		f = /`([^`]*?)`/g;
		f.lastIndex = 0;
		while ((g = f.exec(k))) {
			h.push(g[1])
		}
		if (h.length) {
			k = k.replace(f, "``")
		}
		k = k.replace(/[\r\n]/g, " ");
		k = k.replace(/\s{2,}/g, " ");
		k = k.replace(/\s*[:=]\s*/g, ":");
		k = k.replace(/\s*[;&,]\s*/g, " ");
		k = k.replace(/^\s+|\s+$/g, "");
		k = k.replace(/(:\d+)px\b/gi, "$1");
		var b = k.split(" "),
		e = b.length;
		while (e--) {
			var c = b[e].split(":"),
			a = c[0],
			l = c[1];
			if (a) {
				if (!isNaN(l)) {
					l = +l
				} else {
					if (l === "true") {
						l = true
					} else {
						if (l === "false") {
							l = false
						} else {
							if (l === "``") {
								l = h.pop() || ""
							}
						}
					}
				}
				j[a] = l
			}
		}
		return j
	},
	HW: function (c) {
		var b = this;
		for (var a in c) {
			if (b.BF.hasOwnProperty(a) && c[a] !== "") {
				b[a] = c[a]
			}
		}
	},
	CN: function (d, f) {
		var c = fb;
		if (d && !(c[d + "Loaded"] || c.FF[d])) {
			c.FF[d] = true;
			var a = c.BI || document,
			b = c.BJ || a.getElementsByTagName("head")[0];
			var e = a.createElement("script");
			e.setAttribute("type", "text/javascript");
			e.setAttribute("src", (f || c.FE) + d + ".js" + (d.indexOf("?") === -1 ? c.EB: ""));
			b.appendChild(e)
		}
	},
	getStyle: function (e, b) {
		var j = this,
		d;
		if (! (e = fb$(e))) {
			return null
		}
		if (window.getComputedStyle) {
			var h = e.ownerDocument && (e.ownerDocument.defaultView || e.ownerDocument.parentWindow);
			if (! (d = h && h.getComputedStyle(e, ""))) {
				return null
			}
			if (b) {
				b = b.replace(/([A-Z])/g, "-$1").toLowerCase();
				return d.getPropertyValue(b) || ""
			}
		}
		b = b && b.replace(/-(\w)/g, function (k, l) {
			return l.toUpperCase()
		});
		if (e.currentStyle) {
			d = e.currentStyle;
			if (b) {
				var f = d[b] || "";
				if (/^[\.\d]+[^\.\d]/.test(f) && !/^\d+px/i.test(f)) {
					var i = e.ownerDocument,
					c = i.createElement("div");
					i.body.appendChild(c);
					c.style.left = f;
					f = c.style.pixelLeft + "px";
					i.body.removeChild(c)
				}
				return f
			}
		}
		if (d && !b) {
			var g = "";
			for (var a in d) {
				if (d[a] && typeof d[a] === "string") {
					g += a.replace(/([A-Z])/g, "-$1").toLowerCase() + ":" + d[a] + ";"
				}
			}
			return g
		}
		return e.style && b && e.style[b]
	},
	addEvent: function (c, d, b, e) {
		var a = this;
		if (e) {
			if (!a.BX) {
				a.BX = {
					node: [],
					action: [],
					func: []
				}
			}
			a.BX.node.push(c);
			a.BX.action.push(d);
			a.BX.func.push(b)
		}
		if (! (c = fb$(c))) {
			return
		}
		this.removeEvent(c, d, b);
		if (c.addEventListener) {
			c.addEventListener(d, b, false)
		} else {
			if (c.attachEvent) {
				c.attachEvent("on" + d, b)
			} else {
				c["prior" + d] = c["on" + d];
				c["on" + d] = function () {
					if (typeof c["prior" + d] === "function") {
						c["prior" + d]()
					}
					b()
				}
			}
		}
	},
	removeEvent: function (b, c, a) {
		if (! (b = fb$(b))) {
			return
		}
		try {
			if (b.removeEventListener) {
				b.removeEventListener(c, a, false)
			} else {
				if (b.detachEvent) {
					b.detachEvent("on" + c, a)
				} else {
					if (a === b["on" + c]) {
						b["on" + c] = b["prior" + c];
						delete b["prior" + c]
					} else {
						if (a === b["prior" + c]) {
							delete b["prior" + c]
						}
					}
				}
			}
		} catch(d) {}
	},
	stopEvent: function (b) {
		b = b || window.event;
		if (b) {
			if (b.stopPropagation) {
				b.stopPropagation()
			}
			if (b.preventDefault) {
				b.preventDefault()
			}
			try {
				b.cancelBubble = true
			} catch(a) {}
			try {
				b.returnValue = false
			} catch(a) {}
			try {
				b.cancel = true
			} catch(a) {}
		}
		return false
	},
	getElementsByClassName: function (e, g) {
		g = fb$(g) || document.documentElement;
		var c = [];
		if (g.getElementsByClassName) {
			var f = g.getElementsByClassName(e),
			b = f.length;
			while (b--) {
				c[b] = f[b]
			}
		} else {
			var h = new RegExp("(^|\\s)" + e + "(\\s|$)"),
			d = g.getElementsByTagName("*");
			for (var b = 0, a = d.length; b < a; b++) {
				if (h.test(d[b].className)) {
					c.push(d[b])
				}
			}
		}
		return c
	},
	JK: function (a) {
		var c = typeof a;
		if (c === "object") {
			if (!a) {
				return "null"
			}
			var b = (a.constructor && a.constructor.toString()) || "";
			if (/\bArray\b/.test(b)) {
				return "array"
			}
			if (/\bString\b/.test(b)) {
				return "string"
			}
			if (a.nodeType && !/\bObject\b/.test(b)) {
				return "node"
			}
		}
		return c
	},
	BU: function (a) {
		return ((a && a.nodeName) || "").toLowerCase()
	},
	ownerInstance: function (f) {
		if (! (f = fb$(f))) {
			return
		}
		var c = this,
		h, e, d, a = f.ownerDocument || f,
		b = fb.instances.length;
		function g(k) {
			var m = c.getIframeDocument(k);
			if (m === a) {
				return true
			}
			var l = (m || k).getElementsByTagName("iframe"),
			i = l.length;
			while (i--) {
				if (g(l[i])) {
					return true
				}
			}
			return false
		}
		while (b--) {
			if ((h = fb.instances[b]) && (e = h.fbBox)) {
				if (c.nodeContains(e, f) || ((d = h.fbContent) && g(d))) {
					return b
				}
			}
		}
		return - 1
	},
	nodeContains: function (a, b) {
		if (! ((a = fb$(a)) && (b = fb$(b)))) {
			return
		}
		if (a === b) {
			return true
		}
		if (!b.nodeType || b.nodeType == 9) {
			return false
		}
		if (a.nodeType == 9) {
			a = a.documentElement
		}
		if (a.contains) {
			return a.contains(b)
		}
		if (a.compareDocumentPosition) {
			return !! (a.compareDocumentPosition(b) & 16)
		}
	},
	hasAttribute: function (c, b) {
		if (! (c = fb$(c))) {
			return
		}
		var a = this;
		if (c.hasAttribute) {
			return c.hasAttribute(b)
		}
		return (new RegExp("<[^>]+[^>\\w-=\"']" + b + "[^\\w\\-]", "i")).test(a.getOuterHTML(c))
	},
	encodeHTML: function (a) {
		if (typeof a !== "string") {
			return a
		}
		return a.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;")
	},
	decodeHTML: function (b) {
		if (typeof b !== "string") {
			return b
		}
		var a = b.replace(/&lt;/g, "<").replace(/&gt;/g, ">").replace(/&quot;/g, '"').replace(/&apos;/g, "'").replace(/&amp;/g, "&");
		return a.replace(/&#(\d+);/g, function (c, d) {
			return String.fromCharCode( + d)
		})
	},
	setInnerHTML: function (a, d) {
		if (! (a = fb$(a))) {
			return false
		}
		try {
			a.innerHTML = d;
			return true
		} catch(h) {}
		try {
			var j = a.ownerDocument,
			f = j.createRange();
			f.selectNodeContents(a);
			f.deleteContents();
			if (d) {
				var b = (new DOMParser).parseFromString('<div xmlns="http://www.w3.org/1999/xhtml">' + d + "</div>", "application/xhtml+xml"),
				k = b.documentElement.childNodes;
				for (var c = 0, g = k.length; c < g; c++) {
					a.appendChild(j.importNode(k[c], true))
				}
			}
			return true
		} catch(h) {}
		return false
	},
	getOuterHTML: function (a) {
		if (! (a = fb$(a))) {
			return ""
		}
		if (a.outerHTML) {
			return a.outerHTML
		}
		var b = (a.ownerDocument || a.document).createElement("div");
		b.appendChild(a.cloneNode(true));
		return b.innerHTML
	},
	CL: function (b, c) {
		var a = this;
		if (a.BU(b) !== "iframe") {
			if (a.currentItem && a.currentItem.subType === "iframe") {
				b = a.fbContent
			} else {
				if (fb.lastChild.currentItem && fb.lastChild.currentItem.subType === "iframe") {
					b = fb.lastChild.fbContent
				}
			}
		}
		if (a.BU(b) === "iframe") {
			try {
				if (c) {
					return b.contentDocument || (b.contentWindow && b.contentWindow.document)
				} else {
					return b.contentWindow || (b.contentDocument && b.contentDocument.defaultView)
				}
			} catch(d) {}
		}
		return null
	},
	getIframeDocument: function (a) {
		return this.CL(a, true)
	},
	getIframeWindow: function (a) {
		return this.CL(a, false)
	},
	DW: function (b) {
		var a = this;
		if (typeof b !== "string") {
			return true
		}
		if (b && b.indexOf("//") === 0) {
			b = (a.JQ || self).location.protocol + b
		}
		return /https?:\/\/\w/i.test(b) && b.toLowerCase().indexOf(fb.M) !== 0
	},
	flashObject: function (b, d, l, g, f) {
		var m = this,
		k = (d + "").replace("px", "") || "100%",
		j = (l + "").replace("px", "") || "100%",
		c = {
			pluginspage: "http://www.macromedia.com/go/getflashplayer",
			wmode: "opaque",
			scale: "exactfit",
			play: "false",
			quality: "high"
		},
		e = fb$(f);
		if (typeof g === "object") {
			m.extend(c, g)
		}
		var i = '<!--[if IE]><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,115,0" width="' + k + '" height="' + j + '"><![endif]-->\n<![if !IE]><object class="fbFlashObject" type="application/x-shockwave-flash" data="' + b + '" width="' + k + '" height="' + j + '"><![endif]>\n<param name="movie" value="' + b + '" />';
		for (var a in c) {
			if (c.hasOwnProperty(a)) {
				i += '<param name="' + a + '" value="' + c[a] + '" />'
			}
		}
		i += "\n</object>";
		if (e && e.nodeType == 1) {
			m.setInnerHTML(e, i)
		} else {
			document.write(i)
		}
	},
	start: function (c, a) {
		var b = this;
		setTimeout(function () {
			b.start(c, a)
		},
		100)
	},
	preload: function (c, d, b) {
		var a = this;
		setTimeout(function () {
			a.preload(c, d, b)
		},
		250)
	},
	AW: function (b, c) {
		var a = this;
		setTimeout(function () {
			a.AW(b, c)
		},
		200)
	},
	JF: function (b, c) {
		var a = this;
		setTimeout(function () {
			a.JF(b, c)
		},
		200)
	},
	GM: function () {
		var a = this;
		setTimeout(function () {
			a.GM()
		},
		150)
	},
	printNode: function (c, b) {
		var a = this;
		setTimeout(function () {
			a.printNode(c, b)
		},
		200)
	},
	BW: function (b, c) {
		var a = this;
		setTimeout(function () {
			a.BW(b, c)
		},
		200)
	},
	ajax: function (b) {
		var a = this;
		setTimeout(function () {
			a.ajax(b)
		},
		100)
	},
	DH: function () {
		var a = this;
		setTimeout(function () {
			a.DH()
		},
		100)
	}
});
var fb$ = function (a) {
	return typeof a === "string" ? (document.getElementById(a) || null) : a
};
function Floatbox() {
	var a = this;
	a.proto = Floatbox.prototype;
	a.extend = function () {
		var d = arguments,
		h = d[0] || {},
		g,
		c,
		f;
		if (d[2] === true) {
			h = d.callee({},
			h)
		}
		for (var e = 1, b = d.length; e < b; e++) {
			if (typeof(g = d[e]) === "object") {
				for (c in g) {
					if (g.hasOwnProperty(c) && (f = g[c]) !== self.undefined) {
						h[c] = f
					}
				}
			}
		}
		return h
	};
	a.CQ = function (c, b, g) {
		var d, f = document.getElementsByTagName(c),
		e = f.length;
		while (e--) {
			if ((d = g.exec(f[e][b]))) {
				return d[1] || "./"
			}
		}
		return ""
	};
	a.EB = (a.CQ("script", "src", /f(?:loat|rame)box.js(\?.*)$/i))
}
fb.addEvent(window, "load", function () {
	fb.GB();
	if (!fb.DM) {
		return setTimeout(arguments.callee, 50)
	}
	var e = self.document.body;
	if (e.getElementsByTagName("a").length > document.fbAnchorCount) {
		fb.activateElements(e)
	}
	var b = fb.lastChild;
	if (b.getIframeWindow() === self) {
		if (b.coreLoaded && b.currentItem.IA.scrolling === "no") {
			var c = b.FA(document.documentElement);
			if (b.GQ.fbContentWrapper && b.GQ.fbContentWrapper.height && c.height > b.GQ.fbContentWrapper.height) {
				b.resize(null, c.height)
			}
		}
		if (!b.modal) {
			b.addEvent(document.documentElement, "click", function () {
				if (b !== fb.topBox) {
					b.HJ()
				}
			})
		}
	}
	if (fb.JQ === self) {
		fb.BW(null, fb.JS)
	}
	var d;
	if (self === fb.JQ && fb.shadowType !== "none" && fb.shadowSize) {
		var f = fb.CS + "shadow",
		a = "_s" + fb.shadowSize + "_r" + fb.cornerRadius + ".png";
		d = [f + "Corner" + a, f + "Corner" + a.replace("_r" + fb.cornerRadius, "_r0")];
		if (fb.shadowType === "halo") {
			d.push(f + "Top" + a, f + "Left" + a)
		} else {
			a = "_drop" + a
		}
		d.push(f + "Right" + a, f + "Bottom" + a)
	}
	setTimeout(function () {
		fb.preload(d, null, true)
	},
	200);
	fb.addEvent(window, "unload", function () {
		if (self.fb && fb.AC && fb.JQ === self) {
			fb.AC("*");
			var g = fb.instances.length;
			while (g--) {
				fb.AB(g)
			}
			fb.AB( - 1)
		}
	})
},
true);
fb.addEvent(document, 'DOMContentLoaded', fb.GB, true);
(function () {
	/*@cc_on try{document.body.doScroll('up');return fb.GB();}catch(e){}/*@if (false) @*/
	if (/loaded|complete/.test(document.readyState)) return fb.GB();
	/*@end @*/
	if (!fb.GB.BL) setTimeout(arguments.callee, 20);
})();