// !MeAb! /c/s/d/e/j/e/modernizr-1.6.js
window.Modernizr=function(g,c,n){function m(d,b){return(""+d).indexOf(b)!==-1}function q(d,b){for(var a in d)if(h[d[a]]!==n&&(!b||b(d[a],r)))return!0}function j(d,b){var a=d.charAt(0).toUpperCase()+d.substr(1),a=(d+" "+s.join(a+" ")+a).split(" ");return!!q(a,b)}function C(){e.input=function(d){for(var b=0,a=d.length;b<a;b++)v[d[b]]=!!(d[b]in f);return v}("autocomplete autofocus list placeholder max min multiple pattern required step".split(" "));e.inputtypes=function(d){for(var b=0,a,e=d.length;b<
e;b++){f.setAttribute("type",d[b]);if(a=f.type!=="text")f.value=w,/^range$/.test(f.type)&&f.style.WebkitAppearance!==n?(i.appendChild(f),a=c.defaultView,a=a.getComputedStyle&&a.getComputedStyle(f,null).WebkitAppearance!=="textfield"&&f.offsetHeight!==0,i.removeChild(f)):/^(search|tel)$/.test(f.type)||(a=/^(url|email)$/.test(f.type)?f.checkValidity&&f.checkValidity()===!1:f.value!=w);x[d[b]]=!!a}return x}("search tel url email datetime date month week time datetime-local number range color".split(" "))}
var e={},i=c.documentElement,r=c.createElement("modernizr"),h=r.style,f=c.createElement("input"),w=":)",y=Object.prototype.toString,l=" -webkit- -moz- -o- -ms- -khtml- ".split(" "),s="Webkit Moz O ms Khtml".split(" "),o={svg:"http://www.w3.org/2000/svg"},a={},x={},v={},z=[],p,A=function(d){var b=document.createElement("style"),a=c.createElement("div");b.textContent=d+"{#modernizr{height:3px}}";(c.head||c.getElementsByTagName("head")[0]).appendChild(b);a.id="modernizr";i.appendChild(a);d=a.offsetHeight===
3;b.parentNode.removeChild(b);a.parentNode.removeChild(a);return!!d},k=function(){var d={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"};return function(a,c){var c=c||document.createElement(d[a]||"div"),a="on"+a,e=a in c;e||(c.setAttribute||(c=document.createElement("div")),c.setAttribute&&c.removeAttribute&&(c.setAttribute(a,""),e=typeof c[a]=="function",typeof c[a]!="undefined"&&(c[a]=n),c.removeAttribute(a)));return e}}(),t={}.hasOwnProperty,B;B=typeof t!==
"undefined"&&typeof t.call!=="undefined"?function(d,a){return t.call(d,a)}:function(a,b){return b in a&&typeof a.constructor.prototype[b]==="undefined"};a.flexbox=function(){var a=c.createElement("div"),b=c.createElement("div");(function(a,d,b,c){d+=":";a.style.cssText=(d+l.join(b+";"+d)).slice(0,-d.length)+(c||"")})(a,"display","box","width:42px;padding:0;");b.style.cssText=l.join("box-flex:1;")+"width:10px;";a.appendChild(b);i.appendChild(a);var e=b.offsetWidth===42;a.removeChild(b);i.removeChild(a);
return e};a.canvas=function(){var a=c.createElement("canvas");return!(!a.getContext||!a.getContext("2d"))};a.canvastext=function(){return!!(e.canvas&&typeof c.createElement("canvas").getContext("2d").fillText=="function")};a.webgl=function(){var a=c.createElement("canvas");try{if(a.getContext("webgl"))return!0}catch(b){}try{if(a.getContext("experimental-webgl"))return!0}catch(e){}return!1};a.touch=function(){return"ontouchstart"in g||A("@media ("+l.join("touch-enabled),(")+"modernizr)")};a.geolocation=
function(){return!!navigator.geolocation};a.postmessage=function(){return!!g.postMessage};a.websqldatabase=function(){return!!g.openDatabase};a.indexedDB=function(){for(var a=-1,b=s.length;++a<b;){var c=s[a].toLowerCase();if(g[c+"_indexedDB"]||g[c+"IndexedDB"])return!0}return!1};a.hashchange=function(){return k("hashchange",g)&&(document.documentMode===n||document.documentMode>7)};a.history=function(){return!(!g.history||!history.pushState)};a.draganddrop=function(){return k("drag")&&k("dragstart")&&
k("dragenter")&&k("dragover")&&k("dragleave")&&k("dragend")&&k("drop")};a.websockets=function(){return"WebSocket"in g};a.rgba=function(){h.cssText="background-color:rgba(150,255,150,.5)";return m(h.backgroundColor,"rgba")};a.hsla=function(){h.cssText="background-color:hsla(120,40%,100%,.5)";return m(h.backgroundColor,"rgba")||m(h.backgroundColor,"hsla")};a.multiplebgs=function(){h.cssText="background:url(//:),url(//:),red url(//:)";return/(url\s*\(.*?){3}/.test(h.background)};a.backgroundsize=function(){return j("backgroundSize")};
a.borderimage=function(){return j("borderImage")};a.borderradius=function(){return j("borderRadius","",function(a){return m(a,"orderRadius")})};a.boxshadow=function(){return j("boxShadow")};a.textshadow=function(){return c.createElement("div").style.textShadow===""};a.opacity=function(){var a=l.join("opacity:.5;")+"";h.cssText=a;return m(h.opacity,"0.5")};a.cssanimations=function(){return j("animationName")};a.csscolumns=function(){return j("columnCount")};a.cssgradients=function(){var a=("background-image:"+
l.join("gradient(linear,left top,right bottom,from(#9f9),to(white));background-image:")+l.join("linear-gradient(left top,#9f9, white);background-image:")).slice(0,-17);h.cssText=a;return m(h.backgroundImage,"gradient")};a.cssreflections=function(){return j("boxReflect")};a.csstransforms=function(){return!!q(["transformProperty","WebkitTransform","MozTransform","OTransform","msTransform"])};a.csstransforms3d=function(){var a=!!q(["perspectiveProperty","WebkitPerspective","MozPerspective","OPerspective",
"msPerspective"]);a&&(a=A("@media ("+l.join("transform-3d),(")+"modernizr)"));return a};a.csstransitions=function(){return j("transitionProperty")};a.video=function(){var a=c.createElement("video"),b=!!a.canPlayType;if(b)b=new Boolean(b),b.ogg=a.canPlayType('video/ogg; codecs="theora"'),b.h264=a.canPlayType('video/mp4; codecs="avc1.42E01E"')||a.canPlayType('video/mp4; codecs="avc1.42E01E, mp4a.40.2"'),b.webm=a.canPlayType('video/webm; codecs="vp8, vorbis"');return b};a.audio=function(){var a=c.createElement("audio"),
b=!!a.canPlayType;if(b)b=new Boolean(b),b.ogg=a.canPlayType('audio/ogg; codecs="vorbis"'),b.mp3=a.canPlayType("audio/mpeg;"),b.wav=a.canPlayType('audio/wav; codecs="1"'),b.m4a=a.canPlayType("audio/x-m4a;")||a.canPlayType("audio/aac;");return b};a.localstorage=function(){try{return"localStorage"in g&&g.localStorage!==null}catch(a){return!1}};a.sessionstorage=function(){try{return"sessionStorage"in g&&g.sessionStorage!==null}catch(a){return!1}};a.webWorkers=function(){return!!g.Worker};a.applicationcache=
function(){return!!g.applicationCache};a.svg=function(){return!!c.createElementNS&&!!c.createElementNS(o.svg,"svg").createSVGRect};a.inlinesvg=function(){var a=document.createElement("div");a.innerHTML="<svg/>";return(a.firstChild&&a.firstChild.namespaceURI)==o.svg};a.smil=function(){return!!c.createElementNS&&/SVG/.test(y.call(c.createElementNS(o.svg,"animate")))};a.svgclippaths=function(){return!!c.createElementNS&&/SVG/.test(y.call(c.createElementNS(o.svg,"clipPath")))};for(var u in a)B(a,u)&&
(p=u.toLowerCase(),e[p]=a[u](),z.push((e[p]?"":"no-")+p));e.input||C();e.crosswindowmessaging=e.postmessage;e.historymanagement=e.history;e.addTest=function(a,b){a=a.toLowerCase();if(!e[a])return b=!!b(),i.className+=" "+(b?"":"no-")+a,e[a]=b,e};h.cssText="";r=f=null;e._enableHTML5=!1;e._version="1.6";i.className=i.className.replace(/\bno-js\b/,"")+" js";i.className+=" "+z.join(" ");return e}(this,this.document);
;
// !MeAb! /c/s/d/e/j/e/jquery-1.4.4.js
(function(n,l){function V(a,b,d){if(d===l&&a.nodeType===1)if(d=a.getAttribute("data-"+b),typeof d==="string"){try{d=d==="true"?!0:d==="false"?!1:d==="null"?null:!c.isNaN(d)?parseFloat(d):wa.test(d)?c.parseJSON(d):d}catch(e){}c.data(a,b,d)}else d=l;return d}function B(){return!1}function M(){return!0}function W(a,b,d){d[0].type=a;return c.event.handle.apply(b,d)}function xa(a){var b,d,e,f,g,h,i,j,k,q,o,l=[];f=[];g=c.data(this,this.nodeType?"events":"__events__");if(typeof g==="function")g=g.events;
if(!(a.liveFired===this||!g||!g.live||a.button&&a.type==="click")){a.namespace&&(o=RegExp("(^|\\.)"+a.namespace.split(".").join("\\.(?:.*\\.)?")+"(\\.|$)"));a.liveFired=this;var n=g.live.slice(0);for(i=0;i<n.length;i++)g=n[i],g.origType.replace(G,"")===a.type?f.push(g.selector):n.splice(i--,1);f=c(a.target).closest(f,a.currentTarget);j=0;for(k=f.length;j<k;j++){q=f[j];for(i=0;i<n.length;i++)if(g=n[i],q.selector===g.selector&&(!o||o.test(g.namespace))){h=q.elem;e=null;if(g.preType==="mouseenter"||
g.preType==="mouseleave")a.type=g.preType,e=c(a.relatedTarget).closest(g.selector)[0];(!e||e!==h)&&l.push({elem:h,handleObj:g,level:q.level})}}j=0;for(k=l.length;j<k;j++){f=l[j];if(d&&f.level>d)break;a.currentTarget=f.elem;a.data=f.handleObj.data;a.handleObj=f.handleObj;o=f.handleObj.origHandler.apply(f.elem,arguments);if(o===!1||a.isPropagationStopped())if(d=f.level,o===!1&&(b=!1),a.isImmediatePropagationStopped())break}return b}}function H(a,b){return(a&&a!=="*"?a+".":"")+b.replace(za,"`").replace(Aa,
"&")}function X(a,b,d){if(c.isFunction(b))return c.grep(a,function(a,c){return!!b.call(a,c,a)===d});else if(b.nodeType)return c.grep(a,function(a){return a===b===d});else if(typeof b==="string"){var e=c.grep(a,function(a){return a.nodeType===1});if(Ba.test(b))return c.filter(b,e,!d);else b=c.filter(b,e)}return c.grep(a,function(a){return c.inArray(a,b)>=0===d})}function Y(a,b){var d=0;b.each(function(){if(this.nodeName===(a[d]&&a[d].nodeName)){var b=c.data(a[d++]),f=c.data(this,b);if(b=b&&b.events){delete f.handle;
f.events={};for(var g in b)for(var h in b[g])c.event.add(this,g,b[g][h],b[g][h].data)}}})}function Ca(a,b){b.src?c.ajax({url:b.src,async:!1,dataType:"script"}):c.globalEval(b.text||b.textContent||b.innerHTML||"");b.parentNode&&b.parentNode.removeChild(b)}function Z(a,b,d){var e=b==="width"?a.offsetWidth:a.offsetHeight;if(d==="border")return e;c.each(b==="width"?Da:Ea,function(){d||(e-=parseFloat(c.css(a,"padding"+this))||0);d==="margin"?e+=parseFloat(c.css(a,"margin"+this))||0:e-=parseFloat(c.css(a,
"border"+this+"Width"))||0});return e}function N(a,b,d,e){c.isArray(b)&&b.length?c.each(b,function(b,g){d||Fa.test(a)?e(a,g):N(a+"["+(typeof g==="object"||c.isArray(g)?b:"")+"]",g,d,e)}):!d&&b!=null&&typeof b==="object"?c.isEmptyObject(b)?e(a,""):c.each(b,function(b,c){N(a+"["+b+"]",c,d,e)}):e(a,b)}function x(a,b){var d={};c.each($.concat.apply([],$.slice(0,b)),function(){d[this]=a});return d}function aa(a){if(!O[a]){var b=c("<"+a+">").appendTo("body"),d=b.css("display");b.remove();if(d==="none"||
d==="")d="block";O[a]=d}return O[a]}function P(a){return c.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}var k=n.document,c=function(){function a(){if(!b.isReady){try{k.documentElement.doScroll("left")}catch(c){setTimeout(a,1);return}b.ready()}}var b=function(a,c){return new b.fn.init(a,c)},c=n.jQuery,e=n.$,f,g=/^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w\-]+)$)/,h=/\S/,i=/^\s+/,j=/\s+$/,ya=/\W/,q=/\d/,o=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,u=/^[\],:{}\s]*$/,w=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,m=
/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,t=/(?:^|:|,)(?:\s*\[)+/g,y=/(webkit)[ \/]([\w.]+)/,p=/(opera)(?:.*version)?[ \/]([\w.]+)/,v=/(msie) ([\w.]+)/,Ga=/(mozilla)(?:.*? rv:([\w.]+))?/,C=navigator.userAgent,ba=!1,D=[],z,Ha=Object.prototype.toString,Q=Object.prototype.hasOwnProperty,R=Array.prototype.push,r=Array.prototype.slice,ca=String.prototype.trim,s=Array.prototype.indexOf,da={};b.fn=b.prototype={init:function(a,c){var d,e,p;if(!a)return this;if(a.nodeType)return this.context=
this[0]=a,this.length=1,this;if(a==="body"&&!c&&k.body)return this.context=k,this[0]=k.body,this.selector="body",this.length=1,this;if(typeof a==="string")if((d=g.exec(a))&&(d[1]||!c))if(d[1])return p=c?c.ownerDocument||c:k,(e=o.exec(a))?b.isPlainObject(c)?(a=[k.createElement(e[1])],b.fn.attr.call(a,c,!0)):a=[p.createElement(e[1])]:(e=b.buildFragment([d[1]],[p]),a=(e.cacheable?e.fragment.cloneNode(!0):e.fragment).childNodes),b.merge(this,a);else{if((e=k.getElementById(d[2]))&&e.parentNode){if(e.id!==
d[2])return f.find(a);this.length=1;this[0]=e}this.context=k;this.selector=a;return this}else return!c&&!ya.test(a)?(this.selector=a,this.context=k,a=k.getElementsByTagName(a),b.merge(this,a)):!c||c.jquery?(c||f).find(a):b(c).find(a);else if(b.isFunction(a))return f.ready(a);if(a.selector!==l)this.selector=a.selector,this.context=a.context;return b.makeArray(a,this)},selector:"",jquery:"1.4.4",length:0,size:function(){return this.length},toArray:function(){return r.call(this,0)},get:function(a){return a==
null?this.toArray():a<0?this.slice(a)[0]:this[a]},pushStack:function(a,c,d){var e=b();b.isArray(a)?R.apply(e,a):b.merge(e,a);e.prevObject=this;e.context=this.context;if(c==="find")e.selector=this.selector+(this.selector?" ":"")+d;else if(c)e.selector=this.selector+"."+c+"("+d+")";return e},each:function(a,c){return b.each(this,a,c)},ready:function(a){b.bindReady();b.isReady?a.call(k,b):D&&D.push(a);return this},eq:function(a){return a===-1?this.slice(a):this.slice(a,+a+1)},first:function(){return this.eq(0)},
last:function(){return this.eq(-1)},slice:function(){return this.pushStack(r.apply(this,arguments),"slice",r.call(arguments).join(","))},map:function(a){return this.pushStack(b.map(this,function(b,c){return a.call(b,c,b)}))},end:function(){return this.prevObject||b(null)},push:R,sort:[].sort,splice:[].splice};b.fn.init.prototype=b.fn;b.extend=b.fn.extend=function(){var a,c,d,e,f,p=arguments[0]||{},g=1,v=arguments.length,i=!1;typeof p==="boolean"&&(i=p,p=arguments[1]||{},g=2);typeof p!=="object"&&
!b.isFunction(p)&&(p={});v===g&&(p=this,--g);for(;g<v;g++)if((a=arguments[g])!=null)for(c in a)d=p[c],e=a[c],p!==e&&(i&&e&&(b.isPlainObject(e)||(f=b.isArray(e)))?(f?(f=!1,d=d&&b.isArray(d)?d:[]):d=d&&b.isPlainObject(d)?d:{},p[c]=b.extend(i,d,e)):e!==l&&(p[c]=e));return p};b.extend({noConflict:function(a){n.$=e;if(a)n.jQuery=c;return b},isReady:!1,readyWait:1,ready:function(a){a===!0&&b.readyWait--;if(!b.readyWait||a!==!0&&!b.isReady){if(!k.body)return setTimeout(b.ready,1);b.isReady=!0;if(!(a!==!0&&
--b.readyWait>0)&&D){var c=0,d=D;for(D=null;a=d[c++];)a.call(k,b);b.fn.trigger&&b(k).trigger("ready").unbind("ready")}}},bindReady:function(){if(!ba){ba=!0;if(k.readyState==="complete")return setTimeout(b.ready,1);if(k.addEventListener)k.addEventListener("DOMContentLoaded",z,!1),n.addEventListener("load",b.ready,!1);else if(k.attachEvent){k.attachEvent("onreadystatechange",z);n.attachEvent("onload",b.ready);var c=!1;try{c=n.frameElement==null}catch(d){}k.documentElement.doScroll&&c&&a()}}},isFunction:function(a){return b.type(a)===
"function"},isArray:Array.isArray||function(a){return b.type(a)==="array"},isWindow:function(a){return a&&typeof a==="object"&&"setInterval"in a},isNaN:function(a){return a==null||!q.test(a)||isNaN(a)},type:function(a){return a==null?String(a):da[Ha.call(a)]||"object"},isPlainObject:function(a){if(!a||b.type(a)!=="object"||a.nodeType||b.isWindow(a))return!1;if(a.constructor&&!Q.call(a,"constructor")&&!Q.call(a.constructor.prototype,"isPrototypeOf"))return!1;for(var c in a);return c===l||Q.call(a,
c)},isEmptyObject:function(a){for(var b in a)return!1;return!0},error:function(a){throw a;},parseJSON:function(a){if(typeof a!=="string"||!a)return null;a=b.trim(a);if(u.test(a.replace(w,"@").replace(m,"]").replace(t,"")))return n.JSON&&n.JSON.parse?n.JSON.parse(a):(new Function("return "+a))();else b.error("Invalid JSON: "+a)},noop:function(){},globalEval:function(a){if(a&&h.test(a)){var c=k.getElementsByTagName("head")[0]||k.documentElement,d=k.createElement("script");d.type="text/javascript";b.support.scriptEval?
d.appendChild(k.createTextNode(a)):d.text=a;c.insertBefore(d,c.firstChild);c.removeChild(d)}},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(a,c,d){var e,p=0,f=a.length,g=f===l||b.isFunction(a);if(d)if(g)for(e in a){if(c.apply(a[e],d)===!1)break}else for(;p<f;){if(c.apply(a[p++],d)===!1)break}else if(g)for(e in a){if(c.call(a[e],e,a[e])===!1)break}else for(d=a[0];p<f&&c.call(d,p,d)!==!1;d=a[++p]);return a},trim:ca?function(a){return a==null?"":
ca.call(a)}:function(a){return a==null?"":a.toString().replace(i,"").replace(j,"")},makeArray:function(a,c){var d=c||[];if(a!=null){var e=b.type(a);a.length==null||e==="string"||e==="function"||e==="regexp"||b.isWindow(a)?R.call(d,a):b.merge(d,a)}return d},inArray:function(a,b){if(b.indexOf)return b.indexOf(a);for(var c=0,d=b.length;c<d;c++)if(b[c]===a)return c;return-1},merge:function(a,b){var c=a.length,d=0;if(typeof b.length==="number")for(var e=b.length;d<e;d++)a[c++]=b[d];else for(;b[d]!==l;)a[c++]=
b[d++];a.length=c;return a},grep:function(a,b,c){for(var d=[],e,c=!!c,p=0,f=a.length;p<f;p++)e=!!b(a[p],p),c!==e&&d.push(a[p]);return d},map:function(a,b,c){for(var d=[],e,p=0,f=a.length;p<f;p++)e=b(a[p],p,c),e!=null&&(d[d.length]=e);return d.concat.apply([],d)},guid:1,proxy:function(a,c,d){arguments.length===2&&(typeof c==="string"?(d=a,a=d[c],c=l):c&&!b.isFunction(c)&&(d=c,c=l));!c&&a&&(c=function(){return a.apply(d||this,arguments)});if(a)c.guid=a.guid=a.guid||c.guid||b.guid++;return c},access:function(a,
c,d,e,p,f){var g=a.length;if(typeof c==="object"){for(var v in c)b.access(a,v,c[v],e,p,d);return a}if(d!==l){e=!f&&e&&b.isFunction(d);for(v=0;v<g;v++)p(a[v],c,e?d.call(a[v],v,p(a[v],c)):d,f);return a}return g?p(a[0],c):l},now:function(){return(new Date).getTime()},uaMatch:function(a){a=a.toLowerCase();a=y.exec(a)||p.exec(a)||v.exec(a)||a.indexOf("compatible")<0&&Ga.exec(a)||[];return{browser:a[1]||"",version:a[2]||"0"}},browser:{}});b.each("Boolean Number String Function Array Date RegExp Object".split(" "),
function(a,b){da["[object "+b+"]"]=b.toLowerCase()});C=b.uaMatch(C);if(C.browser)b.browser[C.browser]=!0,b.browser.version=C.version;if(b.browser.webkit)b.browser.safari=!0;if(s)b.inArray=function(a,b){return s.call(b,a)};/\s/.test("\u00a0")||(i=/^[\s\xA0]+/,j=/[\s\xA0]+$/);f=b(k);k.addEventListener?z=function(){k.removeEventListener("DOMContentLoaded",z,!1);b.ready()}:k.attachEvent&&(z=function(){k.readyState==="complete"&&(k.detachEvent("onreadystatechange",z),b.ready())});return n.jQuery=n.$=b}();
(function(){c.support={};var a=k.documentElement,b=k.createElement("script"),d=k.createElement("div"),e="script"+c.now();d.style.display="none";d.innerHTML="   <link/><table></table><a href='/a' style='color:red;float:left;opacity:.55;'>a</a><input type='checkbox'/>";var f=d.getElementsByTagName("*"),g=d.getElementsByTagName("a")[0],h=k.createElement("select"),i=h.appendChild(k.createElement("option"));if(f&&f.length&&g){c.support={leadingWhitespace:d.firstChild.nodeType===3,tbody:!d.getElementsByTagName("tbody").length,
htmlSerialize:!!d.getElementsByTagName("link").length,style:/red/.test(g.getAttribute("style")),hrefNormalized:g.getAttribute("href")==="/a",opacity:/^0.55$/.test(g.style.opacity),cssFloat:!!g.style.cssFloat,checkOn:d.getElementsByTagName("input")[0].value==="on",optSelected:i.selected,deleteExpando:!0,optDisabled:!1,checkClone:!1,scriptEval:!1,noCloneEvent:!0,boxModel:null,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableHiddenOffsets:!0};h.disabled=!0;c.support.optDisabled=!i.disabled;b.type=
"text/javascript";try{b.appendChild(k.createTextNode("window."+e+"=1;"))}catch(j){}a.insertBefore(b,a.firstChild);if(n[e])c.support.scriptEval=!0,delete n[e];try{delete b.test}catch(l){c.support.deleteExpando=!1}a.removeChild(b);d.attachEvent&&d.fireEvent&&(d.attachEvent("onclick",function o(){c.support.noCloneEvent=!1;d.detachEvent("onclick",o)}),d.cloneNode(!0).fireEvent("onclick"));d=k.createElement("div");d.innerHTML="<input type='radio' name='radiotest' checked='checked'/>";a=k.createDocumentFragment();
a.appendChild(d.firstChild);c.support.checkClone=a.cloneNode(!0).cloneNode(!0).lastChild.checked;c(function(){var a=k.createElement("div");a.style.width=a.style.paddingLeft="1px";k.body.appendChild(a);c.boxModel=c.support.boxModel=a.offsetWidth===2;if("zoom"in a.style)a.style.display="inline",a.style.zoom=1,c.support.inlineBlockNeedsLayout=a.offsetWidth===2,a.style.display="",a.innerHTML="<div style='width:4px;'></div>",c.support.shrinkWrapBlocks=a.offsetWidth!==2;a.innerHTML="<table><tr><td style='padding:0;display:none'></td><td>t</td></tr></table>";
var b=a.getElementsByTagName("td");c.support.reliableHiddenOffsets=b[0].offsetHeight===0;b[0].style.display="";b[1].style.display="none";c.support.reliableHiddenOffsets=c.support.reliableHiddenOffsets&&b[0].offsetHeight===0;a.innerHTML="";k.body.removeChild(a).style.display="none"});a=function(a){var b=k.createElement("div"),a="on"+a,c=a in b;c||(b.setAttribute(a,"return;"),c=typeof b[a]==="function");return c};c.support.submitBubbles=a("submit");c.support.changeBubbles=a("change");a=b=d=f=g=null}})();
var ea={},wa=/^(?:\{.*\}|\[.*\])$/;c.extend({cache:{},uuid:0,expando:"jQuery"+c.now(),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},data:function(a,b,d){if(c.acceptData(a)){var a=a==n?ea:a,e=a.nodeType,f=e?a[c.expando]:null,g=c.cache;if(!e||f||!(typeof b==="string"&&d===l))return e?f||(a[c.expando]=f=++c.uuid):g=a,typeof b==="object"?e?g[f]=c.extend(g[f],b):c.extend(g,b):e&&!g[f]&&(g[f]={}),a=e?g[f]:g,d!==l&&(a[b]=d),typeof b==="string"?a[b]:a}},removeData:function(a,
b){if(c.acceptData(a)){var a=a==n?ea:a,d=a.nodeType,e=d?a[c.expando]:a,f=c.cache,g=d?f[e]:e;if(b)g&&(delete g[b],d&&c.isEmptyObject(g)&&c.removeData(a));else if(d&&c.support.deleteExpando)delete a[c.expando];else if(a.removeAttribute)a.removeAttribute(c.expando);else if(d)delete f[e];else for(var h in a)delete a[h]}},acceptData:function(a){if(a.nodeName){var b=c.noData[a.nodeName.toLowerCase()];if(b)return!(b===!0||a.getAttribute("classid")!==b)}return!0}});c.fn.extend({data:function(a,b){var d=null;
if(typeof a==="undefined"){if(this.length)for(var e=this[0].attributes,f,d=c.data(this[0]),g=0,h=e.length;g<h;g++)f=e[g].name,f.indexOf("data-")===0&&(f=f.substr(5),V(this[0],f,d[f]));return d}else if(typeof a==="object")return this.each(function(){c.data(this,a)});var i=a.split(".");i[1]=i[1]?"."+i[1]:"";return b===l?(d=this.triggerHandler("getData"+i[1]+"!",[i[0]]),d===l&&this.length&&(d=c.data(this[0],a),d=V(this[0],a,d)),d===l&&i[1]?this.data(i[0]):d):this.each(function(){var d=c(this),e=[i[0],
b];d.triggerHandler("setData"+i[1]+"!",e);c.data(this,a,b);d.triggerHandler("changeData"+i[1]+"!",e)})},removeData:function(a){return this.each(function(){c.removeData(this,a)})}});c.extend({queue:function(a,b,d){if(a){var b=(b||"fx")+"queue",e=c.data(a,b);if(!d)return e||[];!e||c.isArray(d)?e=c.data(a,b,c.makeArray(d)):e.push(d);return e}},dequeue:function(a,b){var b=b||"fx",d=c.queue(a,b),e=d.shift();e==="inprogress"&&(e=d.shift());e&&(b==="fx"&&d.unshift("inprogress"),e.call(a,function(){c.dequeue(a,
b)}))}});c.fn.extend({queue:function(a,b){typeof a!=="string"&&(b=a,a="fx");if(b===l)return c.queue(this[0],a);return this.each(function(){var d=c.queue(this,a,b);a==="fx"&&d[0]!=="inprogress"&&c.dequeue(this,a)})},dequeue:function(a){return this.each(function(){c.dequeue(this,a)})},delay:function(a,b){a=c.fx?c.fx.speeds[a]||a:a;b=b||"fx";return this.queue(b,function(){var d=this;setTimeout(function(){c.dequeue(d,b)},a)})},clearQueue:function(a){return this.queue(a||"fx",[])}});var fa=/[\n\t]/g,S=
/\s+/,Ia=/\r/g,Ja=/^(?:href|src|style)$/,Ka=/^(?:button|input)$/i,La=/^(?:button|input|object|select|textarea)$/i,Ma=/^a(?:rea)?$/i,ga=/^(?:radio|checkbox)$/i;c.props={"for":"htmlFor","class":"className",readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",colspan:"colSpan",tabindex:"tabIndex",usemap:"useMap",frameborder:"frameBorder"};c.fn.extend({attr:function(a,b){return c.access(this,a,b,!0,c.attr)},removeAttr:function(a){return this.each(function(){c.attr(this,
a,"");this.nodeType===1&&this.removeAttribute(a)})},addClass:function(a){if(c.isFunction(a))return this.each(function(b){var d=c(this);d.addClass(a.call(this,b,d.attr("class")))});if(a&&typeof a==="string")for(var b=(a||"").split(S),d=0,e=this.length;d<e;d++){var f=this[d];if(f.nodeType===1)if(f.className){for(var g=" "+f.className+" ",h=f.className,i=0,j=b.length;i<j;i++)g.indexOf(" "+b[i]+" ")<0&&(h+=" "+b[i]);f.className=c.trim(h)}else f.className=a}return this},removeClass:function(a){if(c.isFunction(a))return this.each(function(b){var d=
c(this);d.removeClass(a.call(this,b,d.attr("class")))});if(a&&typeof a==="string"||a===l)for(var b=(a||"").split(S),d=0,e=this.length;d<e;d++){var f=this[d];if(f.nodeType===1&&f.className)if(a){for(var g=(" "+f.className+" ").replace(fa," "),h=0,i=b.length;h<i;h++)g=g.replace(" "+b[h]+" "," ");f.className=c.trim(g)}else f.className=""}return this},toggleClass:function(a,b){var d=typeof a,e=typeof b==="boolean";if(c.isFunction(a))return this.each(function(d){var e=c(this);e.toggleClass(a.call(this,
d,e.attr("class"),b),b)});return this.each(function(){if(d==="string")for(var f,g=0,h=c(this),i=b,j=a.split(S);f=j[g++];)i=e?i:!h.hasClass(f),h[i?"addClass":"removeClass"](f);else if(d==="undefined"||d==="boolean")this.className&&c.data(this,"__className__",this.className),this.className=this.className||a===!1?"":c.data(this,"__className__")||""})},hasClass:function(a){for(var a=" "+a+" ",b=0,c=this.length;b<c;b++)if((" "+this[b].className+" ").replace(fa," ").indexOf(a)>-1)return!0;return!1},val:function(a){if(!arguments.length){var b=
this[0];if(b){if(c.nodeName(b,"option")){var d=b.attributes.value;return!d||d.specified?b.value:b.text}if(c.nodeName(b,"select")){var e=b.selectedIndex,d=[],f=b.options,b=b.type==="select-one";if(e<0)return null;for(var g=b?e:0,e=b?e+1:f.length;g<e;g++){var h=f[g];if(h.selected&&(c.support.optDisabled?!h.disabled:h.getAttribute("disabled")===null)&&(!h.parentNode.disabled||!c.nodeName(h.parentNode,"optgroup"))){a=c(h).val();if(b)return a;d.push(a)}}return d}if(ga.test(b.type)&&!c.support.checkOn)return b.getAttribute("value")===
null?"on":b.value;return(b.value||"").replace(Ia,"")}return l}var i=c.isFunction(a);return this.each(function(b){var d=c(this),e=a;if(this.nodeType===1)if(i&&(e=a.call(this,b,d.val())),e==null?e="":typeof e==="number"?e+="":c.isArray(e)&&(e=c.map(e,function(a){return a==null?"":a+""})),c.isArray(e)&&ga.test(this.type))this.checked=c.inArray(d.val(),e)>=0;else if(c.nodeName(this,"select")){var f=c.makeArray(e);c("option",this).each(function(){this.selected=c.inArray(c(this).val(),f)>=0});if(!f.length)this.selectedIndex=
-1}else this.value=e})}});c.extend({attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attr:function(a,b,d,e){if(!a||a.nodeType===3||a.nodeType===8)return l;if(e&&b in c.attrFn)return c(a)[b](d);var e=a.nodeType!==1||!c.isXMLDoc(a),f=d!==l,b=e&&c.props[b]||b,g=Ja.test(b);if((b in a||a[b]!==l)&&e&&!g){f&&(b==="type"&&Ka.test(a.nodeName)&&a.parentNode&&c.error("type property can't be changed"),d===null?a.nodeType===1&&a.removeAttribute(b):a[b]=d);if(c.nodeName(a,"form")&&a.getAttributeNode(b))return a.getAttributeNode(b).nodeValue;
if(b==="tabIndex")return(b=a.getAttributeNode("tabIndex"))&&b.specified?b.value:La.test(a.nodeName)||Ma.test(a.nodeName)&&a.href?0:l;return a[b]}if(!c.support.style&&e&&b==="style"){if(f)a.style.cssText=""+d;return a.style.cssText}f&&a.setAttribute(b,""+d);if(!a.attributes[b]&&a.hasAttribute&&!a.hasAttribute(b))return l;a=!c.support.hrefNormalized&&e&&g?a.getAttribute(b,2):a.getAttribute(b);return a===null?l:a}});var G=/\.(.*)$/,T=/^(?:textarea|input|select)$/i,za=/\./g,Aa=/ /g,Na=/[^\w\s.|`]/g,Oa=
function(a){return a.replace(Na,"\\$&")},ha={focusin:0,focusout:0};c.event={add:function(a,b,d,e){if(!(a.nodeType===3||a.nodeType===8)){c.isWindow(a)&&a!==n&&!a.frameElement&&(a=n);if(d===!1)d=B;else if(!d)return;var f,g;if(d.handler)f=d,d=f.handler;if(!d.guid)d.guid=c.guid++;if(g=c.data(a)){var h=a.nodeType?"events":"__events__",i=g[h],j=g.handle;if(typeof i==="function")j=i.handle,i=i.events;else if(!i)a.nodeType||(g[h]=g=function(){}),g.events=i={};if(!j)g.handle=j=function(){return typeof c!==
"undefined"&&!c.event.triggered?c.event.handle.apply(j.elem,arguments):l};j.elem=a;for(var b=b.split(" "),k=0,q;h=b[k++];){g=f?c.extend({},f):{handler:d,data:e};h.indexOf(".")>-1?(q=h.split("."),h=q.shift(),g.namespace=q.slice(0).sort().join(".")):(q=[],g.namespace="");g.type=h;if(!g.guid)g.guid=d.guid;var o=i[h],u=c.event.special[h]||{};if(!o&&(o=i[h]=[],!u.setup||u.setup.call(a,e,q,j)===!1))a.addEventListener?a.addEventListener(h,j,!1):a.attachEvent&&a.attachEvent("on"+h,j);if(u.add&&(u.add.call(a,
g),!g.handler.guid))g.handler.guid=d.guid;o.push(g);c.event.global[h]=!0}a=null}}},global:{},remove:function(a,b,d,e){if(!(a.nodeType===3||a.nodeType===8)){d===!1&&(d=B);var f,g,h=0,i,j,k,l,o,n,r=a.nodeType?"events":"__events__",m=c.data(a),t=m&&m[r];if(m&&t){if(typeof t==="function")m=t,t=t.events;if(b&&b.type)d=b.handler,b=b.type;if(!b||typeof b==="string"&&b.charAt(0)===".")for(f in b=b||"",t)c.event.remove(a,f+b);else{for(b=b.split(" ");f=b[h++];)if(l=f,i=f.indexOf(".")<0,j=[],i||(j=f.split("."),
f=j.shift(),k=RegExp("(^|\\.)"+c.map(j.slice(0).sort(),Oa).join("\\.(?:.*\\.)?")+"(\\.|$)")),o=t[f])if(d){l=c.event.special[f]||{};for(g=e||0;g<o.length;g++)if(n=o[g],d.guid===n.guid){if(i||k.test(n.namespace))e==null&&o.splice(g--,1),l.remove&&l.remove.call(a,n);if(e!=null)break}if(o.length===0||e!=null&&o.length===1)(!l.teardown||l.teardown.call(a,j)===!1)&&c.removeEvent(a,f,m.handle),delete t[f]}else for(g=0;g<o.length;g++)if(n=o[g],i||k.test(n.namespace))c.event.remove(a,l,n.handler,g),o.splice(g--,
1);if(c.isEmptyObject(t)){if(b=m.handle)b.elem=null;delete m.events;delete m.handle;typeof m==="function"?c.removeData(a,r):c.isEmptyObject(m)&&c.removeData(a)}}}}},trigger:function(a,b,d,e){var f=a.type||a;if(!e){a=typeof a==="object"?a[c.expando]?a:c.extend(c.Event(f),a):c.Event(f);if(f.indexOf("!")>=0)a.type=f=f.slice(0,-1),a.exclusive=!0;d||(a.stopPropagation(),c.event.global[f]&&c.each(c.cache,function(){this.events&&this.events[f]&&c.event.trigger(a,b,this.handle.elem)}));if(!d||d.nodeType===
3||d.nodeType===8)return l;a.result=l;a.target=d;b=c.makeArray(b);b.unshift(a)}a.currentTarget=d;(e=d.nodeType?c.data(d,"handle"):(c.data(d,"__events__")||{}).handle)&&e.apply(d,b);e=d.parentNode||d.ownerDocument;try{if((!d||!d.nodeName||!c.noData[d.nodeName.toLowerCase()])&&d["on"+f]&&d["on"+f].apply(d,b)===!1)a.result=!1,a.preventDefault()}catch(g){}if(!a.isPropagationStopped()&&e)c.event.trigger(a,b,e,!0);else if(!a.isDefaultPrevented()){var h,e=a.target,i=f.replace(G,""),j=c.nodeName(e,"a")&&
i==="click",k=c.event.special[i]||{};if((!k._default||k._default.call(d,a)===!1)&&!j&&(!e||!e.nodeName||!c.noData[e.nodeName.toLowerCase()])){try{if(e[i])(h=e["on"+i])&&(e["on"+i]=null),c.event.triggered=!0,e[i]()}catch(n){}h&&(e["on"+i]=h);c.event.triggered=!1}}},handle:function(a){var b,d,e,f;d=[];var g=c.makeArray(arguments),a=g[0]=c.event.fix(a||n.event);a.currentTarget=this;b=a.type.indexOf(".")<0&&!a.exclusive;if(!b)e=a.type.split("."),a.type=e.shift(),d=e.slice(0).sort(),e=RegExp("(^|\\.)"+
d.join("\\.(?:.*\\.)?")+"(\\.|$)");a.namespace=a.namespace||d.join(".");f=c.data(this,this.nodeType?"events":"__events__");if(typeof f==="function")f=f.events;d=(f||{})[a.type];if(f&&d){d=d.slice(0);f=0;for(var h=d.length;f<h;f++){var i=d[f];if(b||e.test(i.namespace)){a.handler=i.handler;a.data=i.data;a.handleObj=i;i=i.handler.apply(this,g);if(i!==l)a.result=i,i===!1&&(a.preventDefault(),a.stopPropagation());if(a.isImmediatePropagationStopped())break}}}return a.result},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode layerX layerY metaKey newValue offsetX offsetY pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),
fix:function(a){if(a[c.expando])return a;for(var b=a,a=c.Event(b),d=this.props.length,e;d;)e=this.props[--d],a[e]=b[e];if(!a.target)a.target=a.srcElement||k;if(a.target.nodeType===3)a.target=a.target.parentNode;if(!a.relatedTarget&&a.fromElement)a.relatedTarget=a.fromElement===a.target?a.toElement:a.fromElement;if(a.pageX==null&&a.clientX!=null)b=k.documentElement,d=k.body,a.pageX=a.clientX+(b&&b.scrollLeft||d&&d.scrollLeft||0)-(b&&b.clientLeft||d&&d.clientLeft||0),a.pageY=a.clientY+(b&&b.scrollTop||
d&&d.scrollTop||0)-(b&&b.clientTop||d&&d.clientTop||0);if(a.which==null&&(a.charCode!=null||a.keyCode!=null))a.which=a.charCode!=null?a.charCode:a.keyCode;if(!a.metaKey&&a.ctrlKey)a.metaKey=a.ctrlKey;if(!a.which&&a.button!==l)a.which=a.button&1?1:a.button&2?3:a.button&4?2:0;return a},guid:1E8,proxy:c.proxy,special:{ready:{setup:c.bindReady,teardown:c.noop},live:{add:function(a){c.event.add(this,H(a.origType,a.selector),c.extend({},a,{handler:xa,guid:a.handler.guid}))},remove:function(a){c.event.remove(this,
H(a.origType,a.selector),a)}},beforeunload:{setup:function(a,b,d){if(c.isWindow(this))this.onbeforeunload=d},teardown:function(a,b){if(this.onbeforeunload===b)this.onbeforeunload=null}}}};c.removeEvent=k.removeEventListener?function(a,b,c){a.removeEventListener&&a.removeEventListener(b,c,!1)}:function(a,b,c){a.detachEvent&&a.detachEvent("on"+b,c)};c.Event=function(a){if(!this.preventDefault)return new c.Event(a);a&&a.type?(this.originalEvent=a,this.type=a.type):this.type=a;this.timeStamp=c.now();
this[c.expando]=!0};c.Event.prototype={preventDefault:function(){this.isDefaultPrevented=M;var a=this.originalEvent;if(a)a.preventDefault?a.preventDefault():a.returnValue=!1},stopPropagation:function(){this.isPropagationStopped=M;var a=this.originalEvent;if(a)a.stopPropagation&&a.stopPropagation(),a.cancelBubble=!0},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=M;this.stopPropagation()},isDefaultPrevented:B,isPropagationStopped:B,isImmediatePropagationStopped:B};var ia=function(a){var b=
a.relatedTarget;try{for(;b&&b!==this;)b=b.parentNode;if(b!==this)a.type=a.data,c.event.handle.apply(this,arguments)}catch(d){}},ja=function(a){a.type=a.data;c.event.handle.apply(this,arguments)};c.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(a,b){c.event.special[a]={setup:function(d){c.event.add(this,b,d&&d.selector?ja:ia,a)},teardown:function(a){c.event.remove(this,b,a&&a.selector?ja:ia)}}});if(!c.support.submitBubbles)c.event.special.submit={setup:function(){if(this.nodeName.toLowerCase()!==
"form")c.event.add(this,"click.specialSubmit",function(a){var b=a.target,d=b.type;if((d==="submit"||d==="image")&&c(b).closest("form").length)return a.liveFired=l,W("submit",this,arguments)}),c.event.add(this,"keypress.specialSubmit",function(a){var b=a.target,d=b.type;if((d==="text"||d==="password")&&c(b).closest("form").length&&a.keyCode===13)return a.liveFired=l,W("submit",this,arguments)});else return!1},teardown:function(){c.event.remove(this,".specialSubmit")}};if(!c.support.changeBubbles){var E,
ka=function(a){var b=a.type,d=a.value;if(b==="radio"||b==="checkbox")d=a.checked;else if(b==="select-multiple")d=a.selectedIndex>-1?c.map(a.options,function(a){return a.selected}).join("-"):"";else if(a.nodeName.toLowerCase()==="select")d=a.selectedIndex;return d},I=function(a,b){var d=a.target,e,f;if(T.test(d.nodeName)&&!d.readOnly&&(e=c.data(d,"_change_data"),f=ka(d),(a.type!=="focusout"||d.type!=="radio")&&c.data(d,"_change_data",f),!(e===l||f===e)))if(e!=null||f)return a.type="change",a.liveFired=
l,c.event.trigger(a,b,d)};c.event.special.change={filters:{focusout:I,beforedeactivate:I,click:function(a){var b=a.target,c=b.type;if(c==="radio"||c==="checkbox"||b.nodeName.toLowerCase()==="select")return I.call(this,a)},keydown:function(a){var b=a.target,c=b.type;if(a.keyCode===13&&b.nodeName.toLowerCase()!=="textarea"||a.keyCode===32&&(c==="checkbox"||c==="radio")||c==="select-multiple")return I.call(this,a)},beforeactivate:function(a){a=a.target;c.data(a,"_change_data",ka(a))}},setup:function(){if(this.type===
"file")return!1;for(var a in E)c.event.add(this,a+".specialChange",E[a]);return T.test(this.nodeName)},teardown:function(){c.event.remove(this,".specialChange");return T.test(this.nodeName)}};E=c.event.special.change.filters;E.focus=E.beforeactivate}k.addEventListener&&c.each({focus:"focusin",blur:"focusout"},function(a,b){function d(a){a=c.event.fix(a);a.type=b;return c.event.trigger(a,null,a.target)}c.event.special[b]={setup:function(){ha[b]++===0&&k.addEventListener(a,d,!0)},teardown:function(){--ha[b]===
0&&k.removeEventListener(a,d,!0)}}});c.each(["bind","one"],function(a,b){c.fn[b]=function(a,e,f){if(typeof a==="object"){for(var g in a)this[b](g,e,a[g],f);return this}if(c.isFunction(e)||e===!1)f=e,e=l;var h=b==="one"?c.proxy(f,function(a){c(this).unbind(a,h);return f.apply(this,arguments)}):f;if(a==="unload"&&b!=="one")this.one(a,e,f);else{g=0;for(var i=this.length;g<i;g++)c.event.add(this[g],a,h,e)}return this}});c.fn.extend({unbind:function(a,b){if(typeof a==="object"&&!a.preventDefault)for(var d in a)this.unbind(d,
a[d]);else{d=0;for(var e=this.length;d<e;d++)c.event.remove(this[d],a,b)}return this},delegate:function(a,b,c,e){return this.live(b,c,e,a)},undelegate:function(a,b,c){return arguments.length===0?this.unbind("live"):this.die(b,null,c,a)},trigger:function(a,b){return this.each(function(){c.event.trigger(a,b,this)})},triggerHandler:function(a,b){if(this[0]){var d=c.Event(a);d.preventDefault();d.stopPropagation();c.event.trigger(d,b,this[0]);return d.result}},toggle:function(a){for(var b=arguments,d=
1;d<b.length;)c.proxy(a,b[d++]);return this.click(c.proxy(a,function(e){var f=(c.data(this,"lastToggle"+a.guid)||0)%d;c.data(this,"lastToggle"+a.guid,f+1);e.preventDefault();return b[f].apply(this,arguments)||!1}))},hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}});var la={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};c.each(["live","die"],function(a,b){c.fn[b]=function(a,e,f,g){var h,i=0,j,k,n=g||this.selector,g=g?this:c(this.context);if(typeof a===
"object"&&!a.preventDefault){for(h in a)g[b](h,e,a[h],n);return this}c.isFunction(e)&&(f=e,e=l);for(a=(a||"").split(" ");(h=a[i++])!=null;)if(j=G.exec(h),k="",j&&(k=j[0],h=h.replace(G,"")),h==="hover")a.push("mouseenter"+k,"mouseleave"+k);else if(j=h,h==="focus"||h==="blur"?(a.push(la[h]+k),h+=k):h=(la[h]||h)+k,b==="live"){k=0;for(var o=g.length;k<o;k++)c.event.add(g[k],"live."+H(h,n),{data:e,selector:n,handler:f,origType:h,origHandler:f,preType:j})}else g.unbind("live."+H(h,n),f);return this}});
c.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error".split(" "),function(a,b){c.fn[b]=function(a,c){c==null&&(c=a,a=null);return arguments.length>0?this.bind(b,a,c):this.trigger(b)};c.attrFn&&(c.attrFn[b]=!0)});n.attachEvent&&!n.addEventListener&&c(n).bind("unload",function(){for(var a in c.cache)if(c.cache[a].handle)try{c.event.remove(c.cache[a].handle.elem)}catch(b){}});
(function(){function a(a,b,c,d,e,f){for(var e=0,g=d.length;e<g;e++){var i=d[e];if(i){for(var h=!1,i=i[a];i;){if(i.sizcache===c){h=d[i.sizset];break}if(i.nodeType===1&&!f)i.sizcache=c,i.sizset=e;if(i.nodeName.toLowerCase()===b){h=i;break}i=i[a]}d[e]=h}}}function b(a,b,c,d,e,f){for(var e=0,g=d.length;e<g;e++){var h=d[e];if(h){for(var j=!1,h=h[a];h;){if(h.sizcache===c){j=d[h.sizset];break}if(h.nodeType===1){if(!f)h.sizcache=c,h.sizset=e;if(typeof b!=="string"){if(h===b){j=!0;break}}else if(i.filter(b,
[h]).length>0){j=h;break}}h=h[a]}d[e]=j}}}var d=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,e=0,f=Object.prototype.toString,g=!1,h=!0;[0,0].sort(function(){h=!1;return 0});var i=function(a,b,c,e){var c=c||[],g=b=b||k;if(b.nodeType!==1&&b.nodeType!==9)return[];if(!a||typeof a!=="string")return c;var h,l,m,o,q,t=!0,r=i.isXML(b),s=[],w=a;do if(d.exec(""),h=d.exec(w))if(w=h[3],s.push(h[1]),h[2]){o=h[3];break}while(h);
if(s.length>1&&n.exec(a))if(s.length===2&&j.relative[s[0]])l=y(s[0]+s[1],b);else for(l=j.relative[s[0]]?[b]:i(s.shift(),b);s.length;)a=s.shift(),j.relative[a]&&(a+=s.shift()),l=y(a,l);else if(!e&&s.length>1&&b.nodeType===9&&!r&&j.match.ID.test(s[0])&&!j.match.ID.test(s[s.length-1])&&(h=i.find(s.shift(),b,r),b=h.expr?i.filter(h.expr,h.set)[0]:h.set[0]),b){h=e?{expr:s.pop(),set:u(e)}:i.find(s.pop(),s.length===1&&(s[0]==="~"||s[0]==="+")&&b.parentNode?b.parentNode:b,r);l=h.expr?i.filter(h.expr,h.set):
h.set;for(s.length>0?m=u(l):t=!1;s.length;)h=q=s.pop(),j.relative[q]?h=s.pop():q="",h==null&&(h=b),j.relative[q](m,h,r)}else m=[];m||(m=l);m||i.error(q||a);if(f.call(m)==="[object Array]")if(t)if(b&&b.nodeType===1)for(a=0;m[a]!=null;a++)m[a]&&(m[a]===!0||m[a].nodeType===1&&i.contains(b,m[a]))&&c.push(l[a]);else for(a=0;m[a]!=null;a++)m[a]&&m[a].nodeType===1&&c.push(l[a]);else c.push.apply(c,m);else u(m,c);o&&(i(o,g,c,e),i.uniqueSort(c));return c};i.uniqueSort=function(a){if(m&&(g=h,a.sort(m),g))for(var b=
1;b<a.length;b++)a[b]===a[b-1]&&a.splice(b--,1);return a};i.matches=function(a,b){return i(a,null,null,b)};i.matchesSelector=function(a,b){return i(b,null,null,[a]).length>0};i.find=function(a,b,c){var d;if(!a)return[];for(var e=0,f=j.order.length;e<f;e++){var g,h=j.order[e];if(g=j.leftMatch[h].exec(a)){var i=g[1];g.splice(1,1);if(i.substr(i.length-1)!=="\\"&&(g[1]=(g[1]||"").replace(/\\/g,""),d=j.find[h](g,b,c),d!=null)){a=a.replace(j.match[h],"");break}}}d||(d=b.getElementsByTagName("*"));return{set:d,
expr:a}};i.filter=function(a,b,c,d){for(var e,f,g=a,h=[],k=b,m=b&&b[0]&&i.isXML(b[0]);a&&b.length;){for(var n in j.filter)if((e=j.leftMatch[n].exec(a))!=null&&e[2]){var o,q,t=j.filter[n];q=e[1];f=!1;e.splice(1,1);if(q.substr(q.length-1)!=="\\"){k===h&&(h=[]);if(j.preFilter[n])if(e=j.preFilter[n](e,k,c,h,d,m)){if(e===!0)continue}else f=o=!0;if(e)for(var r=0;(q=k[r])!=null;r++)if(q){o=t(q,e,r,k);var u=d^!!o;c&&o!=null?u?f=!0:k[r]=!1:u&&(h.push(q),f=!0)}if(o!==l){c||(k=h);a=a.replace(j.match[n],"");
if(!f)return[];break}}}if(a===g)if(f==null)i.error(a);else break;g=a}return k};i.error=function(a){throw"Syntax error, unrecognized expression: "+a;};var j=i.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(['"]*)(.*?)\3|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\((even|odd|[\dn+\-]*)\))?/,
POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(a){return a.getAttribute("href")}},relative:{"+":function(a,b){var c=typeof b==="string",d=c&&!/\W/.test(b),c=c&&!d;d&&(b=b.toLowerCase());for(var d=0,e=a.length,f;d<e;d++)if(f=a[d]){for(;(f=f.previousSibling)&&f.nodeType!==1;);a[d]=c||f&&f.nodeName.toLowerCase()===
b?f||!1:f===b}c&&i.filter(b,a,!0)},">":function(a,b){var c,d=typeof b==="string",e=0,f=a.length;if(d&&!/\W/.test(b))for(b=b.toLowerCase();e<f;e++){if(c=a[e])c=c.parentNode,a[e]=c.nodeName.toLowerCase()===b?c:!1}else{for(;e<f;e++)(c=a[e])&&(a[e]=d?c.parentNode:c.parentNode===b);d&&i.filter(b,a,!0)}},"":function(c,d,f){var g,h=e++,i=b;typeof d==="string"&&!/\W/.test(d)&&(g=d=d.toLowerCase(),i=a);i("parentNode",d,h,c,g,f)},"~":function(c,d,f){var g,h=e++,i=b;typeof d==="string"&&!/\W/.test(d)&&(g=d=
d.toLowerCase(),i=a);i("previousSibling",d,h,c,g,f)}},find:{ID:function(a,b,c){if(typeof b.getElementById!=="undefined"&&!c)return(a=b.getElementById(a[1]))&&a.parentNode?[a]:[]},NAME:function(a,b){if(typeof b.getElementsByName!=="undefined"){for(var c=[],d=b.getElementsByName(a[1]),e=0,f=d.length;e<f;e++)d[e].getAttribute("name")===a[1]&&c.push(d[e]);return c.length===0?null:c}},TAG:function(a,b){return b.getElementsByTagName(a[1])}},preFilter:{CLASS:function(a,b,c,d,e,f){a=" "+a[1].replace(/\\/g,
"")+" ";if(f)return a;for(var f=0,g;(g=b[f])!=null;f++)g&&(e^(g.className&&(" "+g.className+" ").replace(/[\t\n]/g," ").indexOf(a)>=0)?c||d.push(g):c&&(b[f]=!1));return!1},ID:function(a){return a[1].replace(/\\/g,"")},TAG:function(a){return a[1].toLowerCase()},CHILD:function(a){if(a[1]==="nth"){var b=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(a[2]==="even"&&"2n"||a[2]==="odd"&&"2n+1"||!/\D/.test(a[2])&&"0n+"+a[2]||a[2]);a[2]=b[1]+(b[2]||1)-0;a[3]=b[3]-0}a[0]=e++;return a},ATTR:function(a,b,c,d,e,f){b=a[1].replace(/\\/g,
"");!f&&j.attrMap[b]&&(a[1]=j.attrMap[b]);a[2]==="~="&&(a[4]=" "+a[4]+" ");return a},PSEUDO:function(a,b,c,e,f){if(a[1]==="not")if((d.exec(a[3])||"").length>1||/^\w/.test(a[3]))a[3]=i(a[3],null,null,b);else return a=i.filter(a[3],b,c,1^f),c||e.push.apply(e,a),!1;else if(j.match.POS.test(a[0])||j.match.CHILD.test(a[0]))return!0;return a},POS:function(a){a.unshift(!0);return a}},filters:{enabled:function(a){return a.disabled===!1&&a.type!=="hidden"},disabled:function(a){return a.disabled===!0},checked:function(a){return a.checked===
!0},selected:function(a){return a.selected===!0},parent:function(a){return!!a.firstChild},empty:function(a){return!a.firstChild},has:function(a,b,c){return!!i(c[3],a).length},header:function(a){return/h\d/i.test(a.nodeName)},text:function(a){return"text"===a.type},radio:function(a){return"radio"===a.type},checkbox:function(a){return"checkbox"===a.type},file:function(a){return"file"===a.type},password:function(a){return"password"===a.type},submit:function(a){return"submit"===a.type},image:function(a){return"image"===
a.type},reset:function(a){return"reset"===a.type},button:function(a){return"button"===a.type||a.nodeName.toLowerCase()==="button"},input:function(a){return/input|select|textarea|button/i.test(a.nodeName)}},setFilters:{first:function(a,b){return b===0},last:function(a,b,c,d){return b===d.length-1},even:function(a,b){return b%2===0},odd:function(a,b){return b%2===1},lt:function(a,b,c){return b<c[3]-0},gt:function(a,b,c){return b>c[3]-0},nth:function(a,b,c){return c[3]-0===b},eq:function(a,b,c){return c[3]-
0===b}},filter:{PSEUDO:function(a,b,c,d){var e=b[1],f=j.filters[e];if(f)return f(a,c,b,d);else if(e==="contains")return(a.textContent||a.innerText||i.getText([a])||"").indexOf(b[3])>=0;else if(e==="not"){b=b[3];c=0;for(d=b.length;c<d;c++)if(b[c]===a)return!1;return!0}else i.error("Syntax error, unrecognized expression: "+e)},CHILD:function(a,b){var c=b[1],d=a;switch(c){case "only":case "first":for(;d=d.previousSibling;)if(d.nodeType===1)return!1;if(c==="first")return!0;d=a;case "last":for(;d=d.nextSibling;)if(d.nodeType===
1)return!1;return!0;case "nth":var c=b[2],e=b[3];if(c===1&&e===0)return!0;var f=b[0],g=a.parentNode;if(g&&(g.sizcache!==f||!a.nodeIndex)){for(var h=0,d=g.firstChild;d;d=d.nextSibling)if(d.nodeType===1)d.nodeIndex=++h;g.sizcache=f}d=a.nodeIndex-e;return c===0?d===0:d%c===0&&d/c>=0}},ID:function(a,b){return a.nodeType===1&&a.getAttribute("id")===b},TAG:function(a,b){return b==="*"&&a.nodeType===1||a.nodeName.toLowerCase()===b},CLASS:function(a,b){return(" "+(a.className||a.getAttribute("class"))+" ").indexOf(b)>
-1},ATTR:function(a,b){var c=b[1],c=j.attrHandle[c]?j.attrHandle[c](a):a[c]!=null?a[c]:a.getAttribute(c),d=c+"",e=b[2],f=b[4];return c==null?e==="!=":e==="="?d===f:e==="*="?d.indexOf(f)>=0:e==="~="?(" "+d+" ").indexOf(f)>=0:!f?d&&c!==!1:e==="!="?d!==f:e==="^="?d.indexOf(f)===0:e==="$="?d.substr(d.length-f.length)===f:e==="|="?d===f||d.substr(0,f.length+1)===f+"-":!1},POS:function(a,b,c,d){var e=j.setFilters[b[2]];if(e)return e(a,c,b,d)}}},n=j.match.POS,q=function(a,b){return"\\"+(b-0+1)},o;for(o in j.match)j.match[o]=
RegExp(j.match[o].source+/(?![^\[]*\])(?![^\(]*\))/.source),j.leftMatch[o]=RegExp(/(^(?:.|\r|\n)*?)/.source+j.match[o].source.replace(/\\(\d+)/g,q));var u=function(a,b){a=Array.prototype.slice.call(a,0);if(b)return b.push.apply(b,a),b;return a};try{Array.prototype.slice.call(k.documentElement.childNodes,0)}catch(r){u=function(a,b){var c=0,d=b||[];if(f.call(a)==="[object Array]")Array.prototype.push.apply(d,a);else if(typeof a.length==="number")for(var e=a.length;c<e;c++)d.push(a[c]);else for(;a[c];c++)d.push(a[c]);
return d}}var m,t;k.documentElement.compareDocumentPosition?m=function(a,b){if(a===b)return g=!0,0;if(!a.compareDocumentPosition||!b.compareDocumentPosition)return a.compareDocumentPosition?-1:1;return a.compareDocumentPosition(b)&4?-1:1}:(m=function(a,b){var c,d,e=[],f=[];c=a.parentNode;d=b.parentNode;var h=c;if(a===b)return g=!0,0;else if(c===d)return t(a,b);else if(c){if(!d)return 1}else return-1;for(;h;)e.unshift(h),h=h.parentNode;for(h=d;h;)f.unshift(h),h=h.parentNode;c=e.length;d=f.length;for(h=
0;h<c&&h<d;h++)if(e[h]!==f[h])return t(e[h],f[h]);return h===c?t(a,f[h],-1):t(e[h],b,1)},t=function(a,b,c){if(a===b)return c;for(a=a.nextSibling;a;){if(a===b)return-1;a=a.nextSibling}return 1});i.getText=function(a){for(var b="",c,d=0;a[d];d++)c=a[d],c.nodeType===3||c.nodeType===4?b+=c.nodeValue:c.nodeType!==8&&(b+=i.getText(c.childNodes));return b};(function(){var a=k.createElement("div"),b="script"+(new Date).getTime(),c=k.documentElement;a.innerHTML="<a name='"+b+"'/>";c.insertBefore(a,c.firstChild);
if(k.getElementById(b))j.find.ID=function(a,b,c){if(typeof b.getElementById!=="undefined"&&!c)return(b=b.getElementById(a[1]))?b.id===a[1]||typeof b.getAttributeNode!=="undefined"&&b.getAttributeNode("id").nodeValue===a[1]?[b]:l:[]},j.filter.ID=function(a,b){var c=typeof a.getAttributeNode!=="undefined"&&a.getAttributeNode("id");return a.nodeType===1&&c&&c.nodeValue===b};c.removeChild(a);c=a=null})();(function(){var a=k.createElement("div");a.appendChild(k.createComment(""));if(a.getElementsByTagName("*").length>
0)j.find.TAG=function(a,b){var c=b.getElementsByTagName(a[1]);if(a[1]==="*"){for(var d=[],e=0;c[e];e++)c[e].nodeType===1&&d.push(c[e]);c=d}return c};a.innerHTML="<a href='#'></a>";if(a.firstChild&&typeof a.firstChild.getAttribute!=="undefined"&&a.firstChild.getAttribute("href")!=="#")j.attrHandle.href=function(a){return a.getAttribute("href",2)};a=null})();k.querySelectorAll&&function(){var a=i,b=k.createElement("div");b.innerHTML="<p class='TEST'></p>";if(!(b.querySelectorAll&&b.querySelectorAll(".TEST").length===
0)){i=function(b,c,d,e){c=c||k;b=b.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!e&&!i.isXML(c))if(c.nodeType===9)try{return u(c.querySelectorAll(b),d)}catch(f){}else if(c.nodeType===1&&c.nodeName.toLowerCase()!=="object"){var g=c.getAttribute("id"),h=g||"__sizzle__";g||c.setAttribute("id",h);try{return u(c.querySelectorAll("#"+h+" "+b),d)}catch(j){}finally{g||c.removeAttribute("id")}}return a(b,c,d,e)};for(var c in a)i[c]=a[c];b=null}}();(function(){var a=k.documentElement,b=a.matchesSelector||a.mozMatchesSelector||
a.webkitMatchesSelector||a.msMatchesSelector,c=!1;try{b.call(k.documentElement,"[test!='']:sizzle")}catch(d){c=!0}if(b)i.matchesSelector=function(a,d){d=d.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!i.isXML(a))try{if(c||!j.match.PSEUDO.test(d)&&!/!=/.test(d))return b.call(a,d)}catch(e){}return i(d,null,null,[a]).length>0}})();(function(){var a=k.createElement("div");a.innerHTML="<div class='test e'></div><div class='test'></div>";if(a.getElementsByClassName&&a.getElementsByClassName("e").length!==
0&&(a.lastChild.className="e",a.getElementsByClassName("e").length!==1))j.order.splice(1,0,"CLASS"),j.find.CLASS=function(a,b,c){if(typeof b.getElementsByClassName!=="undefined"&&!c)return b.getElementsByClassName(a[1])},a=null})();i.contains=k.documentElement.contains?function(a,b){return a!==b&&(a.contains?a.contains(b):!0)}:k.documentElement.compareDocumentPosition?function(a,b){return!!(a.compareDocumentPosition(b)&16)}:function(){return!1};i.isXML=function(a){return(a=(a?a.ownerDocument||a:0).documentElement)?
a.nodeName!=="HTML":!1};var y=function(a,b){for(var c,d=[],e="",f=b.nodeType?[b]:b;c=j.match.PSEUDO.exec(a);)e+=c[0],a=a.replace(j.match.PSEUDO,"");a=j.relative[a]?a+"*":a;c=0;for(var g=f.length;c<g;c++)i(a,f[c],d);return i.filter(e,d)};c.find=i;c.expr=i.selectors;c.expr[":"]=c.expr.filters;c.unique=i.uniqueSort;c.text=i.getText;c.isXMLDoc=i.isXML;c.contains=i.contains})();var Pa=/Until$/,Qa=/^(?:parents|prevUntil|prevAll)/,Ra=/,/,Ba=/^.[^:#\[\.,]*$/,Sa=Array.prototype.slice,Ta=c.expr.match.POS;c.fn.extend({find:function(a){for(var b=
this.pushStack("","find",a),d=0,e=0,f=this.length;e<f;e++)if(d=b.length,c.find(a,this[e],b),e>0)for(var g=d;g<b.length;g++)for(var h=0;h<d;h++)if(b[h]===b[g]){b.splice(g--,1);break}return b},has:function(a){var b=c(a);return this.filter(function(){for(var a=0,e=b.length;a<e;a++)if(c.contains(this,b[a]))return!0})},not:function(a){return this.pushStack(X(this,a,!1),"not",a)},filter:function(a){return this.pushStack(X(this,a,!0),"filter",a)},is:function(a){return!!a&&c.filter(a,this).length>0},closest:function(a,
b){var d=[],e,f,g=this[0];if(c.isArray(a)){var h,i={},j=1;if(g&&a.length){e=0;for(f=a.length;e<f;e++)h=a[e],i[h]||(i[h]=c.expr.match.POS.test(h)?c(h,b||this.context):h);for(;g&&g.ownerDocument&&g!==b;){for(h in i)e=i[h],(e.jquery?e.index(g)>-1:c(g).is(e))&&d.push({selector:h,elem:g,level:j});g=g.parentNode;j++}}return d}h=Ta.test(a)?c(a,b||this.context):null;e=0;for(f=this.length;e<f;e++)for(g=this[e];g;)if(h?h.index(g)>-1:c.find.matchesSelector(g,a)){d.push(g);break}else if(g=g.parentNode,!g||!g.ownerDocument||
g===b)break;d=d.length>1?c.unique(d):d;return this.pushStack(d,"closest",a)},index:function(a){if(!a||typeof a==="string")return c.inArray(this[0],a?c(a):this.parent().children());return c.inArray(a.jquery?a[0]:a,this)},add:function(a,b){var d=typeof a==="string"?c(a,b||this.context):c.makeArray(a),e=c.merge(this.get(),d);return this.pushStack(!d[0]||!d[0].parentNode||d[0].parentNode.nodeType===11||!e[0]||!e[0].parentNode||e[0].parentNode.nodeType===11?e:c.unique(e))},andSelf:function(){return this.add(this.prevObject)}});
c.each({parent:function(a){return(a=a.parentNode)&&a.nodeType!==11?a:null},parents:function(a){return c.dir(a,"parentNode")},parentsUntil:function(a,b,d){return c.dir(a,"parentNode",d)},next:function(a){return c.nth(a,2,"nextSibling")},prev:function(a){return c.nth(a,2,"previousSibling")},nextAll:function(a){return c.dir(a,"nextSibling")},prevAll:function(a){return c.dir(a,"previousSibling")},nextUntil:function(a,b,d){return c.dir(a,"nextSibling",d)},prevUntil:function(a,b,d){return c.dir(a,"previousSibling",
d)},siblings:function(a){return c.sibling(a.parentNode.firstChild,a)},children:function(a){return c.sibling(a.firstChild)},contents:function(a){return c.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:c.makeArray(a.childNodes)}},function(a,b){c.fn[a]=function(d,e){var f=c.map(this,b,d);Pa.test(a)||(e=d);e&&typeof e==="string"&&(f=c.filter(e,f));f=this.length>1?c.unique(f):f;if((this.length>1||Ra.test(e))&&Qa.test(a))f=f.reverse();return this.pushStack(f,a,Sa.call(arguments).join(","))}});
c.extend({filter:function(a,b,d){d&&(a=":not("+a+")");return b.length===1?c.find.matchesSelector(b[0],a)?[b[0]]:[]:c.find.matches(a,b)},dir:function(a,b,d){for(var e=[],a=a[b];a&&a.nodeType!==9&&(d===l||a.nodeType!==1||!c(a).is(d));)a.nodeType===1&&e.push(a),a=a[b];return e},nth:function(a,b,c){for(var b=b||1,e=0;a;a=a[c])if(a.nodeType===1&&++e===b)break;return a},sibling:function(a,b){for(var c=[];a;a=a.nextSibling)a.nodeType===1&&a!==b&&c.push(a);return c}});var ma=/ jQuery\d+="(?:\d+|null)"/g,
J=/^\s+/,na=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,oa=/<([\w:]+)/,Ua=/<tbody/i,Va=/<|&#?\w+;/,pa=/<(?:script|object|embed|option|style)/i,qa=/checked\s*(?:[^=]|=\s*.checked.)/i,Wa=/\=([^="'>\s]+\/)>/g,r={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],
area:[1,"<map>","</map>"],_default:[0,"",""]};r.optgroup=r.option;r.tbody=r.tfoot=r.colgroup=r.caption=r.thead;r.th=r.td;if(!c.support.htmlSerialize)r._default=[1,"div<div>","</div>"];c.fn.extend({text:function(a){if(c.isFunction(a))return this.each(function(b){var d=c(this);d.text(a.call(this,b,d.text()))});if(typeof a!=="object"&&a!==l)return this.empty().append((this[0]&&this[0].ownerDocument||k).createTextNode(a));return c.text(this)},wrapAll:function(a){if(c.isFunction(a))return this.each(function(b){c(this).wrapAll(a.call(this,
b))});if(this[0]){var b=c(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]);b.map(function(){for(var a=this;a.firstChild&&a.firstChild.nodeType===1;)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){if(c.isFunction(a))return this.each(function(b){c(this).wrapInner(a.call(this,b))});return this.each(function(){var b=c(this),d=b.contents();d.length?d.wrapAll(a):b.append(a)})},wrap:function(a){return this.each(function(){c(this).wrapAll(a)})},
unwrap:function(){return this.parent().each(function(){c.nodeName(this,"body")||c(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this)});else if(arguments.length){var a=
c(arguments[0]);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this.nextSibling)});else if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,c(arguments[0]).toArray());return a}},remove:function(a,b){for(var d=0,e;(e=this[d])!=null;d++)if(!a||c.filter(a,[e]).length)!b&&e.nodeType===1&&(c.cleanData(e.getElementsByTagName("*")),
c.cleanData([e])),e.parentNode&&e.parentNode.removeChild(e);return this},empty:function(){for(var a=0,b;(b=this[a])!=null;a++)for(b.nodeType===1&&c.cleanData(b.getElementsByTagName("*"));b.firstChild;)b.removeChild(b.firstChild);return this},clone:function(a){var b=this.map(function(){if(!c.support.noCloneEvent&&!c.isXMLDoc(this)){var a=this.outerHTML,b=this.ownerDocument;if(!a)a=b.createElement("div"),a.appendChild(this.cloneNode(!0)),a=a.innerHTML;return c.clean([a.replace(ma,"").replace(Wa,'="$1">').replace(J,
"")],b)[0]}else return this.cloneNode(!0)});a===!0&&(Y(this,b),Y(this.find("*"),b.find("*")));return b},html:function(a){if(a===l)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(ma,""):null;else if(typeof a==="string"&&!pa.test(a)&&(c.support.leadingWhitespace||!J.test(a))&&!r[(oa.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(na,"<$1></$2>");try{for(var b=0,d=this.length;b<d;b++)if(this[b].nodeType===1)c.cleanData(this[b].getElementsByTagName("*")),this[b].innerHTML=a}catch(e){this.empty().append(a)}}else c.isFunction(a)?
this.each(function(b){var d=c(this);d.html(a.call(this,b,d.html()))}):this.empty().append(a);return this},replaceWith:function(a){if(this[0]&&this[0].parentNode){if(c.isFunction(a))return this.each(function(b){var d=c(this),e=d.html();d.replaceWith(a.call(this,b,e))});typeof a!=="string"&&(a=c(a).detach());return this.each(function(){var b=this.nextSibling,d=this.parentNode;c(this).remove();b?c(b).before(a):c(d).append(a)})}else return this.pushStack(c(c.isFunction(a)?a():a),"replaceWith",a)},detach:function(a){return this.remove(a,
!0)},domManip:function(a,b,d){var e,f,g,h=a[0],i=[];if(!c.support.checkClone&&arguments.length===3&&typeof h==="string"&&qa.test(h))return this.each(function(){c(this).domManip(a,b,d,!0)});if(c.isFunction(h))return this.each(function(e){var f=c(this);a[0]=h.call(this,e,b?f.html():l);f.domManip(a,b,d)});if(this[0]){e=h&&h.parentNode;e=c.support.parentNode&&e&&e.nodeType===11&&e.childNodes.length===this.length?{fragment:e}:c.buildFragment(a,this,i);g=e.fragment;if(f=g.childNodes.length===1?g=g.firstChild:
g.firstChild){b=b&&c.nodeName(f,"tr");f=0;for(var j=this.length;f<j;f++)d.call(b?c.nodeName(this[f],"table")?this[f].getElementsByTagName("tbody")[0]||this[f].appendChild(this[f].ownerDocument.createElement("tbody")):this[f]:this[f],f>0||e.cacheable||this.length>1?g.cloneNode(!0):g)}i.length&&c.each(i,Ca)}return this}});c.buildFragment=function(a,b,d){var e,f,g,b=b&&b[0]?b[0].ownerDocument||b[0]:k;if(a.length===1&&typeof a[0]==="string"&&a[0].length<512&&b===k&&!pa.test(a[0])&&(c.support.checkClone||
!qa.test(a[0])))f=!0,(g=c.fragments[a[0]])&&g!==1&&(e=g);e||(e=b.createDocumentFragment(),c.clean(a,b,e,d));f&&(c.fragments[a[0]]=g?e:1);return{fragment:e,cacheable:f}};c.fragments={};c.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){c.fn[a]=function(d){var e=[],d=c(d),f=this.length===1&&this[0].parentNode;if(f&&f.nodeType===11&&f.childNodes.length===1&&d.length===1)return d[b](this[0]),this;else{for(var f=0,g=d.length;f<
g;f++){var h=(f>0?this.clone(!0):this).get();c(d[f])[b](h);e=e.concat(h)}return this.pushStack(e,a,d.selector)}}});c.extend({clean:function(a,b,d,e){b=b||k;typeof b.createElement==="undefined"&&(b=b.ownerDocument||b[0]&&b[0].ownerDocument||k);for(var f=[],g=0,h;(h=a[g])!=null;g++)if(typeof h==="number"&&(h+=""),h){if(typeof h==="string"&&!Va.test(h))h=b.createTextNode(h);else if(typeof h==="string"){h=h.replace(na,"<$1></$2>");var i=(oa.exec(h)||["",""])[1].toLowerCase(),j=r[i]||r._default,l=j[0],
n=b.createElement("div");for(n.innerHTML=j[1]+h+j[2];l--;)n=n.lastChild;if(!c.support.tbody){l=Ua.test(h);i=i==="table"&&!l?n.firstChild&&n.firstChild.childNodes:j[1]==="<table>"&&!l?n.childNodes:[];for(j=i.length-1;j>=0;--j)c.nodeName(i[j],"tbody")&&!i[j].childNodes.length&&i[j].parentNode.removeChild(i[j])}!c.support.leadingWhitespace&&J.test(h)&&n.insertBefore(b.createTextNode(J.exec(h)[0]),n.firstChild);h=n.childNodes}h.nodeType?f.push(h):f=c.merge(f,h)}if(d)for(g=0;f[g];g++)e&&c.nodeName(f[g],
"script")&&(!f[g].type||f[g].type.toLowerCase()==="text/javascript")?e.push(f[g].parentNode?f[g].parentNode.removeChild(f[g]):f[g]):(f[g].nodeType===1&&f.splice.apply(f,[g+1,0].concat(c.makeArray(f[g].getElementsByTagName("script")))),d.appendChild(f[g]));return f},cleanData:function(a){for(var b,d,e=c.cache,f=c.event.special,g=c.support.deleteExpando,h=0,i;(i=a[h])!=null;h++)if(!i.nodeName||!c.noData[i.nodeName.toLowerCase()])if(d=i[c.expando]){if((b=e[d])&&b.events)for(var j in b.events)f[j]?c.event.remove(i,
j):c.removeEvent(i,j,b.handle);g?delete i[c.expando]:i.removeAttribute&&i.removeAttribute(c.expando);delete e[d]}}});var ra=/alpha\([^)]*\)/i,Xa=/opacity=([^)]*)/,Ya=/-([a-z])/ig,Za=/([A-Z])/g,sa=/^-?\d+(?:px)?$/i,$a=/^-?\d/,ab={position:"absolute",visibility:"hidden",display:"block"},Da=["Left","Right"],Ea=["Top","Bottom"],F,ta,K,bb=function(a,b){return b.toUpperCase()};c.fn.css=function(a,b){if(arguments.length===2&&b===l)return this;return c.access(this,a,b,!0,function(a,b,f){return f!==l?c.style(a,
b,f):c.css(a,b)})};c.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=F(a,"opacity","opacity");return c===""?"1":c}else return a.style.opacity}}},cssNumber:{zIndex:!0,fontWeight:!0,opacity:!0,zoom:!0,lineHeight:!0},cssProps:{"float":c.support.cssFloat?"cssFloat":"styleFloat"},style:function(a,b,d,e){if(a&&!(a.nodeType===3||a.nodeType===8||!a.style)){var f,g=c.camelCase(b),h=a.style,i=c.cssHooks[g],b=c.cssProps[g]||g;if(d!==l){if(!(typeof d==="number"&&isNaN(d)||d==null))if(typeof d==="number"&&
!c.cssNumber[g]&&(d+="px"),!i||!("set"in i)||(d=i.set(a,d))!==l)try{h[b]=d}catch(j){}}else{if(i&&"get"in i&&(f=i.get(a,!1,e))!==l)return f;return h[b]}}},css:function(a,b,d){var e,f=c.camelCase(b),g=c.cssHooks[f],b=c.cssProps[f]||f;if(g&&"get"in g&&(e=g.get(a,!0,d))!==l)return e;else if(F)return F(a,b,f)},swap:function(a,b,c){var e={},f;for(f in b)e[f]=a.style[f],a.style[f]=b[f];c.call(a);for(f in b)a.style[f]=e[f]},camelCase:function(a){return a.replace(Ya,bb)}});c.curCSS=c.css;c.each(["height",
"width"],function(a,b){c.cssHooks[b]={get:function(a,e,f){var g;if(e){a.offsetWidth!==0?g=Z(a,b,f):c.swap(a,ab,function(){g=Z(a,b,f)});if(g<=0&&(g=F(a,b,b),g==="0px"&&K&&(g=K(a,b,b)),g!=null))return g===""||g==="auto"?"0px":g;if(g<0||g==null)return g=a.style[b],g===""||g==="auto"?"0px":g;return typeof g==="string"?g:g+"px"}},set:function(a,b){if(sa.test(b)){if(b=parseFloat(b),b>=0)return b+"px"}else return b}}});if(!c.support.opacity)c.cssHooks.opacity={get:function(a,b){return Xa.test((b&&a.currentStyle?
a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":b?"1":""},set:function(a,b){var d=a.style;d.zoom=1;var e=c.isNaN(b)?"":"alpha(opacity="+b*100+")",f=d.filter||"";d.filter=ra.test(f)?f.replace(ra,e):d.filter+" "+e}};k.defaultView&&k.defaultView.getComputedStyle&&(ta=function(a,b,d){var e,d=d.replace(Za,"-$1").toLowerCase();if(!(b=a.ownerDocument.defaultView))return l;if(b=b.getComputedStyle(a,null))e=b.getPropertyValue(d),e===""&&!c.contains(a.ownerDocument.documentElement,a)&&
(e=c.style(a,d));return e});k.documentElement.currentStyle&&(K=function(a,b){var c,e,f=a.currentStyle&&a.currentStyle[b],g=a.style;if(!sa.test(f)&&$a.test(f))c=g.left,e=a.runtimeStyle.left,a.runtimeStyle.left=a.currentStyle.left,g.left=b==="fontSize"?"1em":f||0,f=g.pixelLeft+"px",g.left=c,a.runtimeStyle.left=e;return f===""?"auto":f});F=ta||K;if(c.expr&&c.expr.filters)c.expr.filters.hidden=function(a){var b=a.offsetHeight;return a.offsetWidth===0&&b===0||!c.support.reliableHiddenOffsets&&(a.style.display||
c.css(a,"display"))==="none"},c.expr.filters.visible=function(a){return!c.expr.filters.hidden(a)};var cb=c.now(),db=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,eb=/^(?:select|textarea)/i,fb=/^(?:color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,gb=/^(?:GET|HEAD)$/,Fa=/\[\]$/,A=/\=\?(&|$)/,U=/\?/,hb=/([?&])_=[^&]*/,ib=/^(\w+:)?\/\/([^\/?#]+)/,jb=/%20/g,kb=/#.*$/,ua=c.fn.load;c.fn.extend({load:function(a,b,d){if(typeof a!=="string"&&ua)return ua.apply(this,
arguments);else if(!this.length)return this;var e=a.indexOf(" ");if(e>=0)var f=a.slice(e,a.length),a=a.slice(0,e);e="GET";b&&(c.isFunction(b)?(d=b,b=null):typeof b==="object"&&(b=c.param(b,c.ajaxSettings.traditional),e="POST"));var g=this;c.ajax({url:a,type:e,dataType:"html",data:b,complete:function(a,b){if(b==="success"||b==="notmodified")g.html(f?c("<div>").append(a.responseText.replace(db,"")).find(f):a.responseText);d&&g.each(d,[a.responseText,b,a])}});return this},serialize:function(){return c.param(this.serializeArray())},
serializeArray:function(){return this.map(function(){return this.elements?c.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||eb.test(this.nodeName)||fb.test(this.type))}).map(function(a,b){var d=c(this).val();return d==null?null:c.isArray(d)?c.map(d,function(a){return{name:b.name,value:a}}):{name:b.name,value:d}}).get()}});c.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){c.fn[b]=function(a){return this.bind(b,
a)}});c.extend({get:function(a,b,d,e){c.isFunction(b)&&(e=e||d,d=b,b=null);return c.ajax({type:"GET",url:a,data:b,success:d,dataType:e})},getScript:function(a,b){return c.get(a,null,b,"script")},getJSON:function(a,b,d){return c.get(a,b,d,"json")},post:function(a,b,d,e){c.isFunction(b)&&(e=e||d,d=b,b={});return c.ajax({type:"POST",url:a,data:b,success:d,dataType:e})},ajaxSetup:function(a){c.extend(c.ajaxSettings,a)},ajaxSettings:{url:location.href,global:!0,type:"GET",contentType:"application/x-www-form-urlencoded",
processData:!0,async:!0,xhr:function(){return new n.XMLHttpRequest},accepts:{xml:"application/xml, text/xml",html:"text/html",script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},ajax:function(a){var b=c.extend(!0,{},c.ajaxSettings,a),d,e,f,g=b.type.toUpperCase(),h=gb.test(g);b.url=b.url.replace(kb,"");b.context=a&&a.context!=null?a.context:b;if(b.data&&b.processData&&typeof b.data!=="string")b.data=c.param(b.data,b.traditional);
if(b.dataType==="jsonp"){if(g==="GET")A.test(b.url)||(b.url+=(U.test(b.url)?"&":"?")+(b.jsonp||"callback")+"=?");else if(!b.data||!A.test(b.data))b.data=(b.data?b.data+"&":"")+(b.jsonp||"callback")+"=?";b.dataType="json"}if(b.dataType==="json"&&(b.data&&A.test(b.data)||A.test(b.url))){d=b.jsonpCallback||"jsonp"+cb++;if(b.data)b.data=(b.data+"").replace(A,"="+d+"$1");b.url=b.url.replace(A,"="+d+"$1");b.dataType="script";var i=n[d];n[d]=function(a){if(c.isFunction(i))i(a);else{n[d]=l;try{delete n[d]}catch(g){}}f=
a;c.handleSuccess(b,m,e,f);c.handleComplete(b,m,e,f);q&&q.removeChild(o)}}if(b.dataType==="script"&&b.cache===null)b.cache=!1;if(b.cache===!1&&h){var j=c.now(),r=b.url.replace(hb,"$1_="+j);b.url=r+(r===b.url?(U.test(b.url)?"&":"?")+"_="+j:"")}b.data&&h&&(b.url+=(U.test(b.url)?"&":"?")+b.data);b.global&&c.active++===0&&c.event.trigger("ajaxStart");j=(j=ib.exec(b.url))&&(j[1]&&j[1].toLowerCase()!==location.protocol||j[2].toLowerCase()!==location.host);if(b.dataType==="script"&&g==="GET"&&j){var q=k.getElementsByTagName("head")[0]||
k.documentElement,o=k.createElement("script");if(b.scriptCharset)o.charset=b.scriptCharset;o.src=b.url;if(!d){var u=!1;o.onload=o.onreadystatechange=function(){if(!u&&(!this.readyState||this.readyState==="loaded"||this.readyState==="complete"))u=!0,c.handleSuccess(b,m,e,f),c.handleComplete(b,m,e,f),o.onload=o.onreadystatechange=null,q&&o.parentNode&&q.removeChild(o)}}q.insertBefore(o,q.firstChild);return l}var w=!1,m=b.xhr();if(m){b.username?m.open(g,b.url,b.async,b.username,b.password):m.open(g,
b.url,b.async);try{(b.data!=null&&!h||a&&a.contentType)&&m.setRequestHeader("Content-Type",b.contentType),b.ifModified&&(c.lastModified[b.url]&&m.setRequestHeader("If-Modified-Since",c.lastModified[b.url]),c.etag[b.url]&&m.setRequestHeader("If-None-Match",c.etag[b.url])),j||m.setRequestHeader("X-Requested-With","XMLHttpRequest"),m.setRequestHeader("Accept",b.dataType&&b.accepts[b.dataType]?b.accepts[b.dataType]+", */*; q=0.01":b.accepts._default)}catch(t){}if(b.beforeSend&&b.beforeSend.call(b.context,
m,b)===!1)return b.global&&c.active--===1&&c.event.trigger("ajaxStop"),m.abort(),!1;b.global&&c.triggerGlobal(b,"ajaxSend",[m,b]);var y=m.onreadystatechange=function(a){if(!m||m.readyState===0||a==="abort"){if(w||c.handleComplete(b,m,e,f),w=!0,m)m.onreadystatechange=c.noop}else if(!w&&m&&(m.readyState===4||a==="timeout")){w=!0;m.onreadystatechange=c.noop;e=a==="timeout"?"timeout":!c.httpSuccess(m)?"error":b.ifModified&&c.httpNotModified(m,b.url)?"notmodified":"success";var g;if(e==="success")try{f=
c.httpData(m,b.dataType,b)}catch(h){e="parsererror",g=h}e==="success"||e==="notmodified"?d||c.handleSuccess(b,m,e,f):c.handleError(b,m,e,g);d||c.handleComplete(b,m,e,f);a==="timeout"&&m.abort();b.async&&(m=null)}};try{var p=m.abort;m.abort=function(){m&&Function.prototype.call.call(p,m);y("abort")}}catch(v){}b.async&&b.timeout>0&&setTimeout(function(){m&&!w&&y("timeout")},b.timeout);try{m.send(h||b.data==null?null:b.data)}catch(x){c.handleError(b,m,null,x),c.handleComplete(b,m,e,f)}b.async||y();return m}},
param:function(a,b){var d=[],e=function(a,b){b=c.isFunction(b)?b():b;d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};if(b===l)b=c.ajaxSettings.traditional;if(c.isArray(a)||a.jquery)c.each(a,function(){e(this.name,this.value)});else for(var f in a)N(f,a[f],b,e);return d.join("&").replace(jb,"+")}});c.extend({active:0,lastModified:{},etag:{},handleError:function(a,b,d,e){a.error&&a.error.call(a.context,b,d,e);a.global&&c.triggerGlobal(a,"ajaxError",[b,a,e])},handleSuccess:function(a,b,
d,e){a.success&&a.success.call(a.context,e,d,b);a.global&&c.triggerGlobal(a,"ajaxSuccess",[b,a])},handleComplete:function(a,b,d){a.complete&&a.complete.call(a.context,b,d);a.global&&c.triggerGlobal(a,"ajaxComplete",[b,a]);a.global&&c.active--===1&&c.event.trigger("ajaxStop")},triggerGlobal:function(a,b,d){(a.context&&a.context.url==null?c(a.context):c.event).trigger(b,d)},httpSuccess:function(a){try{return!a.status&&location.protocol==="file:"||a.status>=200&&a.status<300||a.status===304||a.status===
1223}catch(b){}return!1},httpNotModified:function(a,b){var d=a.getResponseHeader("Last-Modified"),e=a.getResponseHeader("Etag");d&&(c.lastModified[b]=d);e&&(c.etag[b]=e);return a.status===304},httpData:function(a,b,d){var e=a.getResponseHeader("content-type")||"",f=b==="xml"||!b&&e.indexOf("xml")>=0,a=f?a.responseXML:a.responseText;f&&a.documentElement.nodeName==="parsererror"&&c.error("parsererror");d&&d.dataFilter&&(a=d.dataFilter(a,b));typeof a==="string"&&(b==="json"||!b&&e.indexOf("json")>=0?
a=c.parseJSON(a):(b==="script"||!b&&e.indexOf("javascript")>=0)&&c.globalEval(a));return a}});if(n.ActiveXObject)c.ajaxSettings.xhr=function(){if(n.location.protocol!=="file:")try{return new n.XMLHttpRequest}catch(a){}try{return new n.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}};c.support.ajax=!!c.ajaxSettings.xhr();var O={},lb=/^(?:toggle|show|hide)$/,mb=/^([+\-]=)?([\d+.\-]+)(.*)$/,L,$=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft",
"paddingRight"],["opacity"]];c.fn.extend({show:function(a,b,d){if(a||a===0)return this.animate(x("show",3),a,b,d);else{for(var d=0,e=this.length;d<e;d++){a=this[d];b=a.style.display;if(!c.data(a,"olddisplay")&&b==="none")b=a.style.display="";b===""&&c.css(a,"display")==="none"&&c.data(a,"olddisplay",aa(a.nodeName))}for(d=0;d<e;d++)if(a=this[d],b=a.style.display,b===""||b==="none")a.style.display=c.data(a,"olddisplay")||"";return this}},hide:function(a,b,d){if(a||a===0)return this.animate(x("hide",
3),a,b,d);else{a=0;for(b=this.length;a<b;a++)d=c.css(this[a],"display"),d!=="none"&&c.data(this[a],"olddisplay",d);for(a=0;a<b;a++)this[a].style.display="none";return this}},_toggle:c.fn.toggle,toggle:function(a,b,d){var e=typeof a==="boolean";c.isFunction(a)&&c.isFunction(b)?this._toggle.apply(this,arguments):a==null||e?this.each(function(){var b=e?a:c(this).is(":hidden");c(this)[b?"show":"hide"]()}):this.animate(x("toggle",3),a,b,d);return this},fadeTo:function(a,b,c,e){return this.filter(":hidden").css("opacity",
0).show().end().animate({opacity:b},a,c,e)},animate:function(a,b,d,e){var f=c.speed(b,d,e);if(c.isEmptyObject(a))return this.each(f.complete);return this[f.queue===!1?"each":"queue"](function(){var b=c.extend({},f),d,e=this.nodeType===1,j=e&&c(this).is(":hidden"),k=this;for(d in a){var l=c.camelCase(d);d!==l&&(a[l]=a[d],delete a[d],d=l);if(a[d]==="hide"&&j||a[d]==="show"&&!j)return b.complete.call(this);if(e&&(d==="height"||d==="width"))if(b.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY],
c.css(this,"display")==="inline"&&c.css(this,"float")==="none")c.support.inlineBlockNeedsLayout?aa(this.nodeName)==="inline"?this.style.display="inline-block":(this.style.display="inline",this.style.zoom=1):this.style.display="inline-block";if(c.isArray(a[d]))(b.specialEasing=b.specialEasing||{})[d]=a[d][1],a[d]=a[d][0]}if(b.overflow!=null)this.style.overflow="hidden";b.curAnim=c.extend({},a);c.each(a,function(d,e){var f=new c.fx(k,b,d);if(lb.test(e))f[e==="toggle"?j?"show":"hide":e](a);else{var h=
mb.exec(e),i=f.cur()||0;if(h){var l=parseFloat(h[2]),n=h[3]||"px";n!=="px"&&(c.style(k,d,(l||1)+n),i*=(l||1)/f.cur(),c.style(k,d,i+n));h[1]&&(l=(h[1]==="-="?-1:1)*l+i);f.custom(i,l,n)}else f.custom(i,e,"")}});return!0})},stop:function(a,b){var d=c.timers;a&&this.queue([]);this.each(function(){for(var a=d.length-1;a>=0;a--)if(d[a].elem===this){if(b)d[a](!0);d.splice(a,1)}});b||this.dequeue();return this}});c.each({slideDown:x("show",1),slideUp:x("hide",1),slideToggle:x("toggle",1),fadeIn:{opacity:"show"},
fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){c.fn[a]=function(a,c,f){return this.animate(b,a,c,f)}});c.extend({speed:function(a,b,d){var e=a&&typeof a==="object"?c.extend({},a):{complete:d||!d&&b||c.isFunction(a)&&a,duration:a,easing:d&&b||b&&!c.isFunction(b)&&b};e.duration=c.fx.off?0:typeof e.duration==="number"?e.duration:e.duration in c.fx.speeds?c.fx.speeds[e.duration]:c.fx.speeds._default;e.old=e.complete;e.complete=function(){e.queue!==!1&&c(this).dequeue();c.isFunction(e.old)&&
e.old.call(this)};return e},easing:{linear:function(a,b,c,e){return c+e*a},swing:function(a,b,c,e){return(-Math.cos(a*Math.PI)/2+0.5)*e+c}},timers:[],fx:function(a,b,c){this.options=b;this.elem=a;this.prop=c;if(!b.orig)b.orig={}}});c.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this);(c.fx.step[this.prop]||c.fx.step._default)(this)},cur:function(){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null))return this.elem[this.prop];
var a=parseFloat(c.css(this.elem,this.prop));return a&&a>-1E4?a:0},custom:function(a,b,d){function e(a){return f.step(a)}var f=this,g=c.fx;this.startTime=c.now();this.start=a;this.end=b;this.unit=d||this.unit||"px";this.now=this.start;this.pos=this.state=0;e.elem=this.elem;e()&&c.timers.push(e)&&!L&&(L=setInterval(g.tick,g.interval))},show:function(){this.options.orig[this.prop]=c.style(this.elem,this.prop);this.options.show=!0;this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur());
c(this.elem).show()},hide:function(){this.options.orig[this.prop]=c.style(this.elem,this.prop);this.options.hide=!0;this.custom(this.cur(),0)},step:function(a){var b=c.now(),d=!0;if(a||b>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=!0;for(var e in this.options.curAnim)this.options.curAnim[e]!==!0&&(d=!1);if(d){if(this.options.overflow!=null&&!c.support.shrinkWrapBlocks){var f=this.elem,g=this.options;c.each(["","X","Y"],
function(a,b){f.style["overflow"+b]=g.overflow[a]})}this.options.hide&&c(this.elem).hide();if(this.options.hide||this.options.show)for(var h in this.options.curAnim)c.style(this.elem,h,this.options.orig[h]);this.options.complete.call(this.elem)}return!1}else a=b-this.startTime,this.state=a/this.options.duration,b=this.options.easing||(c.easing.swing?"swing":"linear"),this.pos=c.easing[this.options.specialEasing&&this.options.specialEasing[this.prop]||b](this.state,a,0,1,this.options.duration),this.now=
this.start+(this.end-this.start)*this.pos,this.update();return!0}};c.extend(c.fx,{tick:function(){for(var a=c.timers,b=0;b<a.length;b++)a[b]()||a.splice(b--,1);a.length||c.fx.stop()},interval:13,stop:function(){clearInterval(L);L=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(a){c.style(a.elem,"opacity",a.now)},_default:function(a){a.elem.style&&a.elem.style[a.prop]!=null?a.elem.style[a.prop]=(a.prop==="width"||a.prop==="height"?Math.max(0,a.now):a.now)+a.unit:a.elem[a.prop]=
a.now}}});if(c.expr&&c.expr.filters)c.expr.filters.animated=function(a){return c.grep(c.timers,function(b){return a===b.elem}).length};var nb=/^t(?:able|d|h)$/i,va=/^(?:body|html)$/i;c.fn.offset="getBoundingClientRect"in k.documentElement?function(a){var b=this[0],d;if(a)return this.each(function(b){c.offset.setOffset(this,a,b)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return c.offset.bodyOffset(b);try{d=b.getBoundingClientRect()}catch(e){}var f=b.ownerDocument,g=f.documentElement;
if(!d||!c.contains(g,b))return d||{top:0,left:0};b=f.body;f=P(f);return{top:d.top+(f.pageYOffset||c.support.boxModel&&g.scrollTop||b.scrollTop)-(g.clientTop||b.clientTop||0),left:d.left+(f.pageXOffset||c.support.boxModel&&g.scrollLeft||b.scrollLeft)-(g.clientLeft||b.clientLeft||0)}}:function(a){var b=this[0];if(a)return this.each(function(b){c.offset.setOffset(this,a,b)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return c.offset.bodyOffset(b);c.offset.initialize();var d,e=b.offsetParent,
f=b.ownerDocument,g=f.documentElement,h=f.body;d=(f=f.defaultView)?f.getComputedStyle(b,null):b.currentStyle;for(var i=b.offsetTop,j=b.offsetLeft;(b=b.parentNode)&&b!==h&&b!==g;){if(c.offset.supportsFixedPosition&&d.position==="fixed")break;d=f?f.getComputedStyle(b,null):b.currentStyle;i-=b.scrollTop;j-=b.scrollLeft;if(b===e){i+=b.offsetTop;j+=b.offsetLeft;if(c.offset.doesNotAddBorder&&(!c.offset.doesAddBorderForTableAndCells||!nb.test(b.nodeName)))i+=parseFloat(d.borderTopWidth)||0,j+=parseFloat(d.borderLeftWidth)||
0;e=b.offsetParent}c.offset.subtractsBorderForOverflowNotVisible&&d.overflow!=="visible"&&(i+=parseFloat(d.borderTopWidth)||0,j+=parseFloat(d.borderLeftWidth)||0)}if(d.position==="relative"||d.position==="static")i+=h.offsetTop,j+=h.offsetLeft;c.offset.supportsFixedPosition&&d.position==="fixed"&&(i+=Math.max(g.scrollTop,h.scrollTop),j+=Math.max(g.scrollLeft,h.scrollLeft));return{top:i,left:j}};c.offset={initialize:function(){var a=k.body,b=k.createElement("div"),d,e,f,g=parseFloat(c.css(a,"marginTop"))||
0;c.extend(b.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"});b.innerHTML="<div style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;'><div></div></div><table style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;' cellpadding='0' cellspacing='0'><tr><td></td></tr></table>";a.insertBefore(b,a.firstChild);d=b.firstChild;e=d.firstChild;f=d.nextSibling.firstChild.firstChild;
this.doesNotAddBorder=e.offsetTop!==5;this.doesAddBorderForTableAndCells=f.offsetTop===5;e.style.position="fixed";e.style.top="20px";this.supportsFixedPosition=e.offsetTop===20||e.offsetTop===15;e.style.position=e.style.top="";d.style.overflow="hidden";d.style.position="relative";this.subtractsBorderForOverflowNotVisible=e.offsetTop===-5;this.doesNotIncludeMarginInBodyOffset=a.offsetTop!==g;a.removeChild(b);c.offset.initialize=c.noop},bodyOffset:function(a){var b=a.offsetTop,d=a.offsetLeft;c.offset.initialize();
c.offset.doesNotIncludeMarginInBodyOffset&&(b+=parseFloat(c.css(a,"marginTop"))||0,d+=parseFloat(c.css(a,"marginLeft"))||0);return{top:b,left:d}},setOffset:function(a,b,d){var e=c.css(a,"position");if(e==="static")a.style.position="relative";var f=c(a),g=f.offset(),h=c.css(a,"top"),i=c.css(a,"left"),j=e==="absolute"&&c.inArray("auto",[h,i])>-1,e={},k={};j&&(k=f.position());h=j?k.top:parseInt(h,10)||0;i=j?k.left:parseInt(i,10)||0;c.isFunction(b)&&(b=b.call(a,d,g));if(b.top!=null)e.top=b.top-g.top+
h;if(b.left!=null)e.left=b.left-g.left+i;"using"in b?b.using.call(a,e):f.css(e)}};c.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),d=this.offset(),e=va.test(b[0].nodeName)?{top:0,left:0}:b.offset();d.top-=parseFloat(c.css(a,"marginTop"))||0;d.left-=parseFloat(c.css(a,"marginLeft"))||0;e.top+=parseFloat(c.css(b[0],"borderTopWidth"))||0;e.left+=parseFloat(c.css(b[0],"borderLeftWidth"))||0;return{top:d.top-e.top,left:d.left-e.left}},offsetParent:function(){return this.map(function(){for(var a=
this.offsetParent||k.body;a&&!va.test(a.nodeName)&&c.css(a,"position")==="static";)a=a.offsetParent;return a})}});c.each(["Left","Top"],function(a,b){var d="scroll"+b;c.fn[d]=function(b){var f=this[0],g;if(!f)return null;return b!==l?this.each(function(){(g=P(this))?g.scrollTo(!a?b:c(g).scrollLeft(),a?b:c(g).scrollTop()):this[d]=b}):(g=P(f))?"pageXOffset"in g?g[a?"pageYOffset":"pageXOffset"]:c.support.boxModel&&g.document.documentElement[d]||g.document.body[d]:f[d]}});c.each(["Height","Width"],function(a,
b){var d=b.toLowerCase();c.fn["inner"+b]=function(){return this[0]?parseFloat(c.css(this[0],d,"padding")):null};c.fn["outer"+b]=function(a){return this[0]?parseFloat(c.css(this[0],d,a?"margin":"border")):null};c.fn[d]=function(a){var f=this[0];if(!f)return a==null?null:this;if(c.isFunction(a))return this.each(function(b){var f=c(this);f[d](a.call(this,b,f[d]()))});if(c.isWindow(f))return f.document.compatMode==="CSS1Compat"&&f.document.documentElement["client"+b]||f.document.body["client"+b];else if(f.nodeType===
9)return Math.max(f.documentElement["client"+b],f.body["scroll"+b],f.documentElement["scroll"+b],f.body["offset"+b],f.documentElement["offset"+b]);else if(a===l){var f=c.css(f,d),g=parseFloat(f);return c.isNaN(g)?f:g}else return this.css(d,typeof a==="string"?a:a+"px")}})})(window);
;
// !MeAb! /c/s/d/e/j/e/joose.js
var joosetop=this;Joose=function(){this.currentModule=this.cc=null;this.top=joosetop;this.globalObjects=[];this.anonymouseClassCounter=0};Joose.A={};Joose.A.each=function(a,b){for(var d=0;d<a.length;d++)b(a[d],d)};Joose.A.exists=function(a,b){for(var d=0;d<a.length;d++)if(a[d]==b)return!0;return!1};Joose.A.concat=function(a,b){a.push.apply(a,b);return a};Joose.A.grep=function(a,b){var d=[];Joose.A.each(a,function(a){b(a)&&d.push(a)});return d};
Joose.A.remove=function(a,b){var d=[];Joose.A.each(a,function(a){a!==b&&d.push(a)});return d};Joose.S={};Joose.S.uppercaseFirst=function(a){var b=a.substr(0,1),a=a.substr(1,a.length-1),b=b.toUpperCase();return b+a};Joose.S.isString=function(a){if(typeof a=="string")return!0;return!1};Joose.O={};Joose.O.each=function(a,b){for(var d in a)b(a[d],d)};Joose.O.eachSafe=function(a,b){for(var d in a)a.hasOwnProperty(d)&&b(a[d],d)};Joose.O.extend=function(a,b){for(var d in b)a[d]=b[d]};
Joose.prototype={addToString:function(a,b){a.toString=b},isInstance:function(a){if(!a.meta)throw"isInstance only works with Joose objects and classes.";if(a.constructor===a.meta.c)return!0;return!1},init:function(){this.builder=new Joose.Builder;this.builder.globalize()},components:function(){return["Joose.Builder","Joose.Class","Joose.Method","Joose.ClassMethod","Joose.Attribute","Joose.Role","Joose.Singleton","Joose.SimpleRequest","Joose.Gears","Joose.Storage","Joose.Storage.Unpacker","Joose.Decorator",
"Joose.Module","Joose.TypeChecker","Joose.TypeConstraint","Joose.TypeCoercion","Joose.Types","Joose.Prototype","Joose.TypedMethod","Joose.MultiMethod"]},loadComponents:function(a){var b="";Joose.A.each(this.components(),function(d){d=""+a+"/"+d.split(".").join("/")+".js";b+='<script type="text/javascript" src="'+d+'"><\/script>'});document.write(b)}};Joose.copyObject=function(a,b){var d="";Joose.O.each(a,function(a,e){d+=", "+e;b[e]=a});return b};Joose.emptyFunction=function(){};this.joose=new Joose;
(function(){if(typeof this.load=="function"&&(typeof this.Packages=="function"||typeof this.Packages=="object"))joose.CHAOTIC_TRAVERSION_ORDER=!0})();
Joose.bootstrap=function(){var a=new Joose.MetaClassBootstrap;a.builder=Joose.MetaClassBootstrap;Joose.MetaClass=a.createClass("Joose.MetaClass");Joose.MetaClass.meta.addNonJooseSuperClass("Joose.MetaClassBootstrap",a);Joose.MetaClass.meta.addMethod("initialize",function(){this._name="Joose.MetaClass"});a=new Joose.MetaClass;a.builder=Joose.MetaClass;Joose.Class=a.createClass("Joose.Class");Joose.Class.meta.addSuperClass(Joose.MetaClass);Joose.MetaClass.meta.addMethod("initialize",function(){this._name=
"Joose.Class"});Joose.Class.create=function(b,d,a){var e=new this;e.builder=this;b=e.createClass(b,d,a);b.meta.builder=this;return b}};Joose.bootstrapCompletedBuilder=function(){Joose.Builder.Globals.joosify("Joose.Method",Joose.Method);Joose.Builder.Globals.joosify("Joose.Attribute",Joose.Attribute)};Joose.bootstrapCompletedClassMethod=function(){Joose.Class.meta.addClassMethod("create",Joose.Class.create)};Joose.bootstrap3=function(){};
Joose.MetaClassBootstrap=function(){this._name="Joose.MetaClassBootstrap";this.methodNames=[];this.attributeNames=["_name","isAbstract","isDetached","methodNames","attributeNames","methods","parentClasses","roles","c"];this.attributes={};this.methods={};this.classMethods={};this.parentClasses=[];this.roles=[];this.myRoles=[];this.isDetached=this.isAbstract=!1};
Joose.MetaClassBootstrap.prototype={toString:function(){if(this.meta)return"a "+this.meta.className();return"NoMeta"},className:function(){return this._name},getName:function(){return this.className()},newMetaClass:function(){var a=this.builder,b=new a;b.builder=a;b._name=this._name;b.methodNames=[];b.attributeNames=[];b.methods={};b.classMethods={};b.parentClasses=[];b.roles=[];b.myRoles=[];b.attributes={};(a=this.meta)||(a=this);b.meta=a;return b},createClass:function(a,b,d){var c=this.newMetaClass();
b||(b=this.defaultClassFunctionBody(),d&&d.addElement(b));b.prototype.meta=c;b.meta=c;if(a==null)c._name="__anonymous__";else{var e=a;d&&(e=d.getName()+"."+a);c._name=e}c.c=b;d||joose.globalObjects.push(b);c.addInitializer();c.addToString();c.addDetacher();return b},buildComplete:function(){},initializeFromProps:function(a){this._initializeFromProps(a)},_initializeFromProps:function(a){var b=this;if(a){joose.CHAOTIC_TRAVERSION_ORDER&&Joose.A.each(["isa","does","has","method","methods"],function(d){d in
a&&(b._initializeFromProp(d,a[d],a),delete a[d])});Joose.O.eachSafe(a,function(d,e){b._initializeFromProp(e,d,a)});for(var d=0;d<this.roles.length;d++)this.roles[d].meta.applyMethodModifiers(this.c);b.buildComplete();b.validateClass()}},_initializeFromProp:function(a,b,d){var c="handleProp"+a;if(this.meta.can(c))this[c](b,d);else throw Error("Called invalid builder "+a+" while creating class "+this.className());},instantiate:function(){var a=function(){};a.prototype=this.c.prototype;a.prototype.constructor=
this.c;a=new a;this.c.apply(a,arguments);return a},defaultClassFunctionBody:function(){var a=function(){this.initialize.apply(this,arguments)};joose.addToString(a,function(){return this.meta.className()});return a},addToString:function(){this.addMethod("toString",function(){if(this.stringify)return this.stringify();return"a "+this.meta.className()})},addInitializer:function(){this.c.prototype.initialize||this.addMethod("initialize",this.initializer())},initializer:function(){return function(a){if(this.meta.isAbstract)throw""+
this.meta.className()+" is an abstract class and may not instantiated.";var b=this.meta.getAttributes(),d;for(d in b)b.hasOwnProperty(d)&&b[d].doInitialization(this,a)}},dieIfString:function(a){if(Joose.S.isString(a))throw new TypeError("Parameter must not be a string.");},addRole:function(a){this.dieIfString(a);var b=this.getClassObject();a.meta.apply(b)&&(this.roles.push(a),this.myRoles.push(a))},getClassObject:function(){return this.c},classNameToClassObject:function(a){for(var b=joose.top,d=a.split("."),
c=0;c<d.length;c++)if(b=b[d[c]],!b)throw"Unable to find class "+a;return b},addNonJooseSuperClass:function(a,b){var d=new Joose.MetaClassBootstrap;d.builder=Joose.MetaClassBootstrap;var c=d.createClass(a);Joose.O.each(b,function(b,d){typeof b=="function"?c.meta.addMethod(d,b):c.meta.addAttribute(d,{init:b})});this.addSuperClass(c)},addSuperClass:function(a){this.dieIfString(a);for(var b=this,d=a.meta.getMethodNames(),c=0;c<d.length;c++){var e=d[c],f=a.meta.getMethodObject(e);f&&(f=f.copy(),f.setIsFromSuperClass(!0),
b.addMethodObject(f));if(f=a.meta.getClassMethodObject(e))f=f.copy(),f.setIsFromSuperClass(!0),b.addMethodObject(f)}Joose.O.eachSafe(a.meta.attributes,function(d,a){b.addAttribute(a,d.getProps())});d=a.meta.roles;for(c=0;c<d.length;c++)b.roles.push(d[c]);this.parentClasses.unshift(a)},_fixMetaclassIncompatability:function(a){var a=a.meta,b=a.meta.className();if(!(b=="Joose.Class"||b=="Joose.MetaClass"||b=="Joose.MetaClassBootstrap")&&!this.meta.meta.isa(a)){var a=a.meta.instantiate(this),d;for(d in a)this[d]=
a[d]}},isa:function(a){this.dieIfString(a);var b=a.meta.className();if(this.className()==b)return!0;for(var d=0;d<this.parentClasses.length;d++){var c=this.parentClasses[d].meta;if(c.className()==b)return!0;if(c.isa(a))return!0}return!1},wrapMethod:function(a,b,d,c){var e=this.getMethodObject(a);if(e)this.addMethodObject(e[b](d));else if(c)c();else throw Error("Unable to apply "+b+" method modifier because method "+a+" does not exist");},dispatch:function(a){return this.getMethodObject(a).asFunction()},
hasMethod:function(a){return this.methods[a]!=null||this.classMethods[a]!=null},addMethod:function(a,b,d){this.addMethodObject(new Joose.Method(a,b,d))},addClassMethod:function(a,b,d){this.addMethodObject(new Joose.ClassMethod(a,b,d))},addMethodObject:function(a){var b=a.getName===Joose.Method.prototype.getName?a._name:a.getName(),d=a._body;if(!d.displayName){var c=this.className===Joose.MetaClassBootstrap.prototype.className?this._name:this.className();d.displayName=c+"."+b+"()"}!this.methods[b]&&
!this.classMethods[b]&&this.methodNames.push(b);a._isClassMethod?this.classMethods[b]=a:this.methods[b]=a;a.addToClass(this.c)},attributeMetaclass:function(){return Joose.Attribute},addAttribute:function(a,b){var d=this.attributeMetaclass();if(b&&b.metaclass)d=b.metaclass;(new d(a,b)).apply(this.c)},getAttributes:function(){return this.attributes},getAttribute:function(a){return this.attributes[a]},setAttribute:function(a,b){return this.attributes[a]=b},getMethodObject:function(a){return this.methods[a]},
getClassMethodObject:function(a){return this.classMethods[a]},getAttributeNames:function(){return this.attributeNames},getInstanceMethods:function(){var a=[];Joose.O.eachSafe(this.methods,function(b){a.push(b)});return a},getClassMethods:function(){var a=[];Joose.O.eachSafe(this.classMethods,function(b){a.push(b)});return a},getSuperClasses:function(){return this.parentClasses},getSuperClass:function(){return this.parentClasses[0]},getRoles:function(){return this.roles},getMethodNames:function(){return this.methodNames},
makeAnonSubclass:function(){var a=this.createClass(this.className()+"__anon__"+joose.anonymouseClassCounter++);a.meta.addSuperClass(this.getClassObject());return a},addDetacher:function(){this.addMethod("detach",function(){var a=this.meta;if(!a.isDetached){a=a.makeAnonSubclass();a.meta.isDetached=!0;this.meta=a.meta;this.constructor=a;var b;this.__proto__?(b={},Joose.copyObject(this,b)):b=this;a.prototype=b;this.__proto__=a.prototype}})},validateClass:function(){var a=this.getClassObject();Joose.A.each(this.roles,
function(b){b.meta.isImplementedBy(a,!0)})},can:function(a){if(!this.methods[a])return!1;return!0},classCan:function(a){if(!this.classMethods[a])return!1;return!0},does:function(a){for(var b=0;b<this.roles.length;b++)if(a===this.roles[b])return!0;for(b=0;b<this.roles.length;b++)if(this.roles[b].meta.does(a))return!0;return!1},implementsMyMethods:function(a){var b=!0;Joose.A.each(this.getMethodNames(),function(d){a.meta.can(d)||(b=!1)});return b},handleProprequires:function(a){var b=this;if(!this.meta.isa(Joose.Role))throw"Keyword 'requires' only available classes with a meta class of type Joose.Role";
a instanceof Array?Joose.A.each(a,function(d){b.addRequirement(d)}):b.addRequirement(a)},handlePropisAbstract:function(a){this.isAbstract=a},handlePropisa:function(a){if(a==null)throw Error("Super class is null");this.addSuperClass(a)},handlePropdoes:function(a){var b=this;a instanceof Array?Joose.A.each(a,function(d){b.addRole(d)}):b.addRole(a)},handleProphas:function(a,b){var d=this;typeof a=="string"?d.addAttribute(a,b):Joose.O.eachSafe(a,function(b,a){d.addAttribute(a,b)})},handlePropmethod:function(a,
b,d){this.addMethod(a,b,d)},handlePropmethods:function(a){var b=this;Joose.O.eachSafe(a,function(d,a){if(typeof d!=="function"){var e;e=d instanceof Array?new Joose.MultiMethod.newFromPatterns(a,d):Joose.TypedMethod.newFromProps(a,d);b.addMethodObject(e)}else b.addMethod(a,d)})},handlePropclassMethods:function(a){var b=this;Joose.O.eachSafe(a,function(d,a){b.addMethodObject(new Joose.ClassMethod(a,d))})},handlePropworkers:function(a){var b=this;Joose.O.eachSafe(a,function(d,a){b.addWorker(a,d)})},
handlePropbefore:function(a){var b=this;Joose.O.eachSafe(a,function(d,a){b.wrapMethod(a,"before",d)})},handlePropafter:function(a){var b=this;Joose.O.eachSafe(a,function(d,a){b.wrapMethod(a,"after",d)})},handleProparound:function(a){var b=this;Joose.O.eachSafe(a,function(d,a){b.wrapMethod(a,"around",d)})},handlePropoverride:function(a){var b=this;Joose.O.eachSafe(a,function(d,a){b.wrapMethod(a,"override",d)})},handlePropaugment:function(a){var b=this;Joose.O.eachSafe(a,function(d,a){b.wrapMethod(a,
"augment",d,function(){b.addMethod(a,d)})})},handlePropdecorates:function(a){var b=this;Joose.O.eachSafe(a,function(a,c){b.decorate(a,c)})}};Joose.Attribute=function(a,b){this.initialize(a,b)};
Joose.Attribute.prototype={_name:null,_props:null,getName:function(){return this._name},getProps:function(){return this._props},initialize:function(a,b){this._name=a;this.setProps(b)},setProps:function(a){this._props=a?a:{}},getIsa:function(){var a=this.getProps();if("isa"in a&&a.isa==null)throw Error("You declared an isa property but the property is null.");if(a.isa){if(!a.isa.meta)return a.isa();return a.isa}},addSetter:function(a){var a=a.meta,b=this.getName(),d=this.getProps(),c=this.setterName();
if(!a.can(c)){var e=this.getIsa();if(e)var f=Joose.TypeChecker.makeTypeChecker(e,d,"attribute",b),d=function(a,d){a=f(a,d);this[b]=a;return this};else d=function(a){this[b]=a;return this};a.addMethod(c,d)}},addGetter:function(a){var a=a.meta,b=this.getName(),d=this.getProps(),c=this.getterName();if(!a.can(c)){var e=function(){return this[b]},f=d.init;d.lazy&&(e=function(){var a=this[b];typeof a=="function"&&a===f&&(this[b]=a.apply(this));return this[b]});a.addMethod(c,e)}},initializerName:function(){return this.toPublicName()},
getterName:function(){if(this.__getterNameCache)return this.__getterNameCache;return this.__getterNameCache="get"+Joose.S.uppercaseFirst(this.toPublicName())},setterName:function(){if(this.__setterNameCache)return this.__setterNameCache;return this.__setterNameCache="set"+Joose.S.uppercaseFirst(this.toPublicName())},isPrivate:function(){return this.getName().charAt(0)=="_"},toPublicName:function(){if(this.__publicNameCache)return this.__publicNameCache;var a=this.getName();if(this.isPrivate())return this.__publicNameCache=
a.substr(1);return this.__publicNameCache=a},handleIs:function(a){this.getName();var b=this.getProps().is;(b=="rw"||b=="ro")&&this.addGetter(a);b=="rw"&&this.addSetter(a)},handleInit:function(a){var b=this.getProps(),d=this.getName();a.prototype[d]=null;if(typeof b.init!="undefined")a.prototype[d]=b.init},handleProps:function(a){this.handleIs(a);this.handleInit(a)},apply:function(a){var b=a.meta,d=this.getName();this.handleProps(a);b.attributeNames.push(d);b.setAttribute(d,this);b.attributes[d]=this}};
Joose.Method=function(a,b,d){this.initialize(a,b,d)};
Joose.Method.prototype={_name:null,_body:null,_props:null,_isFromSuperClass:!1,_isClassMethod:!1,getName:function(){return this._name},getBody:function(){return this._body},getProps:function(){return this._props},isFromSuperClass:function(){return this._isFromSuperClass},setIsFromSuperClass:function(a){this._isFromSuperClass=a},copy:function(){return new Joose.Method(this.getName(),this.getBody(),this.getProps())},initialize:function(a,b,d){this._name=a;this._body=b;this._props=d;b.name=a;b.meta=
this},isClassMethod:function(){return this._isClassMethod},apply:function(a,b){return this._body.apply(a,b)},addToClass:function(a){var b=Joose.Method.prototype,d=this.getName===b.getName?this._name:this.getName(),b=this.asFunction===b.asFunction?this._body:this.asFunction();a.prototype[d]=b},asFunction:function(){return this._body}};Joose.bootstrap();
Joose.Builder=function(){this.globalize=function(){Joose.O.each(Joose.Builder.Globals,function(a,b){var d;typeof joose.top[b]=="undefined"&&(joose.top[b]=a);joose.top["Joose"+b]=a})}};
Joose.Builder.Globals={Module:function(a,b){return Joose.Module.setup(a,b)},Role:function(a,b){if(!b.meta)b.meta=Joose.Role;return JooseClass(a,b)},Prototype:function(a,b){if(!b.meta)b.meta=Joose.Prototype;return JooseClass(a,b)},Class:function(a,b){var d=null;if(a){var c=a;joose.currentModule&&(c=joose.currentModule.getName()+"."+a);for(var e=joose.top,c=c.split("."),f=0;f<c.length;f++)e=e[c[f]];d=e}if(d==null&&(b&&b.meta?(d=b.meta,delete b.meta):d=b&&b.isa&&b.isa!=Joose.Class?b.isa.meta.builder:
Joose.Class,d=d.create(a,null,joose.currentModule),c=d.meta.className(),a&&c)){e=joose.top;c=(new String(c)).split(".");for(f=0;f<c.length-1;f++)e[c[f]]==null&&(e[c[f]]={}),e=e[c[f]];e[c[c.length-1]]=d}d.meta.initializeFromProps(b);return d},Type:function(a,b){var d=!1;arguments.length==1&&a instanceof Object&&(b=a,d=!0);if(b instanceof RegExp||b instanceof Function)b={where:b};d&&(a="AnonType: "+(b.where?b.where.toString():""));var c=Joose.TypeConstraint.newFromTypeBuilder(a,b);if(!d){d=joose.currentModule;
if(!d){JooseModule("Joose.Type");if(typeof joose.top.TYPE=="undefined")joose.top.TYPE=Joose.Type;d=Joose.Type.meta}d.addElement(c);d.getContainer()[a]=c}return c},joosify:function(a,b){var d=b,c=new Joose.Class;c.builder=Joose.Class;d.toString=function(){return this.meta.className()};var d=c.createClass(a,d),c=d.meta,e;for(e in b.prototype)if(e!="meta"){var f=b.prototype[e];if(typeof f=="function")c.addMethod(e,f);else{var g={};if(typeof f!="undefined")g.init=f;c.addAttribute(e,g)}}return d},rw:"rw",
ro:"ro"};joose.init();Joose.bootstrapCompletedBuilder();
(function(a){a("Joose.Method",{methods:{copy:function(){return this.meta.instantiate(this.getName(),this.getBody(),this.getProps())},_makeWrapped:function(b){return this.meta.instantiate(this.getName(),b)},around:function(b){var a=this.getBody();return this._makeWrapped(function(){var c=this;return b.apply(this,Joose.A.concat([function(){return a.apply(c,arguments)}],arguments))})},before:function(b){var a=this.getBody();return this._makeWrapped(function(){b.apply(this,arguments);return a.apply(this,
arguments)})},after:function(b){var a=this.getBody();return this._makeWrapped(function(){var c=a.apply(this,arguments);b.apply(this,arguments);return c})},override:function(b){var a=this.getBody();return this._makeWrapped(function(){var c=this,e=this.SUPER;this.SUPER=function(){return a.apply(c,arguments)};var f=b.apply(this,arguments);this.SUPER=e;return f})},augment:function(b){var a=this.getBody();a.source=a.toString();return this._makeWrapped(function(){var c=this;b.source=b.toString();if(!this.__INNER_STACK__)this.__INNER_STACK__=
[];this.__INNER_STACK__.push(b);var e=this.INNER;this.INNER=function(){return c.__INNER_STACK__.pop().apply(c,arguments)};var f=a.apply(this,arguments);this.INNER=e;return f})}}})})(JooseClass);(function(a){a("Joose.ClassMethod",{isa:Joose.Method,after:{initialize:function(){this._isClassMethod=!0}},methods:{addToClass:function(b){b[this.getName()]=this.asFunction()},copy:function(){return new Joose.ClassMethod(this.getName(),this.getBody(),this.getProps())}}});Joose.bootstrapCompletedClassMethod()})(JooseClass);
(function(a){a("Joose.Attribute",{after:{handleProps:function(b){this.handleHandles(b);this.handlePredicate(b)}},methods:{isPersistent:function(){if(this.getProps().persistent==!1)return!1;return!0},doInitialization:function(b,a){var c=this.initializerName(),e=this.getName(),f,g=!1;if(typeof a!="undefined"&&typeof a[c]!="undefined")f=a[c],g=!0;else{var h=this.getProps(),j=h.init;if(typeof j=="function"&&!h.lazy)f=j.call(b),g=!0;else if(h.required)throw"Required initialization parameter missing: "+
c+"(While initializing "+b+")";}if(g)if(c=this.setterName(),b.meta.can(c))b[c](f);else b[e]=f},handleHandles:function(b){var b=b.meta,a=this.getName(),c=this.getProps(),e=c.handles,f=c.isa;if(e)if(e=="*"){if(!f)throw"I need an isa property in order to handle a class";b.decorate(f,a,c.handleWith)}else throw"Unsupported value for handles: "+e;},handlePredicate:function(b){b=b.meta;this.getName();var a=this.getProps().predicate,c=this.getterName();a&&b.addMethod(a,function(){return this[c]()?!0:!1})}}})})(JooseClass);
(function(a){a("Joose.Role",{isa:Joose.Class,has:["requiresMethodNames","methodModifiers","metaRoles"],methods:{wrapMethod:function(){this.methodModifiers.push(arguments)},requiresMethod:function(b){var a=!1;Joose.A.each(this.requiresMethodNames,function(c){b==c&&(a=!0)});return a},addInitializer:Joose.emptyFunction,defaultClassFunctionBody:function(){var b=function(){throw Error("Roles may not be instantiated.");};joose.addToString(b,function(){return this.meta.className()});return b},addSuperClass:function(){throw Error("Roles may not inherit from a super class.");
},initialize:function(){this._name="Joose.Role";this.requiresMethodNames=[];this.methodModifiers=[]},addRequirement:function(b){this.requiresMethodNames.push(b)},unapply:function(b){if(!joose.isInstance(b))throw Error("You way only remove roles from instances.");if(!b.meta.isDetached)throw Error("You may only remove roles that were applied at runtime");for(var a=this.getClassObject(),c=b.meta.myRoles,e=!1,f=[],g=0;g<c.length;g++)c[g]===a?e=!0:f.push(c[g]);if(!e)throw Error("The role "+this.className()+
" was not applied to the object at runtime");c=b.meta.getSuperClass().meta.makeAnonSubclass();e=new c;for(g=0;g<f.length;g++)a=f[g],c.meta.addRole(a);c.prototype=e;b.meta=c.meta;b.constructor=c;b.__proto__=e},addMethodToClass:function(b,a){var c=b.getName(),c=b.isClassMethod()?a.meta.getClassMethodObject(c):a.meta.getMethodObject(c);(!c||c.isFromSuperClass())&&a.meta.addMethodObject(b)},addAttributeToClass:function(b,a){var c=b.getName();a.meta.getAttribute(c)||this.getAttribute(c).apply(a)},apply:function(b){if(b.meta.does(this.getClassObject()))return!1;
if(joose.isInstance(b))b.detach(),b.meta.addRole(this.getClassObject()),this.applyMethodModifiers(b),this.isImplementedBy(b,!0);else{var a=this,c=a.getMethodNames(),e=a.getAttributes();Joose.O.each(e,function(c){a.addAttributeToClass(c,b)});Joose.A.each(c,function(c){var e=a.getMethodObject(c);e&&a.addMethodToClass(e,b);(e=a.getClassMethodObject(c))&&a.addMethodToClass(e,b)});this.metaRoles&&Joose.A.each(this.metaRoles,function(a){a.meta.apply(b.meta)})}return!0},applyMethodModifiers:function(b){Joose.A.each(this.methodModifiers,
function(a){b.meta.wrapMethod.apply(b.meta,a)})},hasRequiredMethods:function(b,a){var c=this,e=!0;Joose.A.each(this.requiresMethodNames,function(f){if(!b.meta.can(f)){if(a)throw"Class "+b.meta.className()+" does not fully implement the role "+c.className()+". The method is "+f+" missing.";e=!1}});return e},isImplementedBy:function(b,a){var c=this.hasRequiredMethods(b,a);c&&(c=this.implementsMyMethods(b));return c},handlePropmetaRoles:function(b){this.metaRoles=b}}});Joose.Role.anonymousClassCounter=
0})(JooseClass);(function(a){var b={},d=!0;a("Joose.Singleton",{before:{initialize:function(){if(d){var b=this.meta.className();throw Error("The class "+b+" is a singleton. Please use the class method getInstance().");}}},methods:{singletonInitialize:function(){}},classMethods:{getInstance:function(){var a=this.meta.className(),e=b[a];if(e)return e;d=!1;e=this.meta.instantiate();d=!0;e.singletonInitialize.apply(e,arguments);return b[a]=e}}})})(JooseRole);
(function(a){a("Joose.SimpleRequest",{has:{_req:{}},methods:{initialize:function(){this._req=window.XMLHttpRequest?new XMLHttpRequest:new ActiveXObject("Microsoft.XMLHTTP")},getText:function(b){this._req.open("GET",b,!1);try{if(this._req.send(null),this._req.status==200||this._req.status==0)return this._req.responseText}catch(a){}throw"File not found: "+b;}}})})(JooseClass);
(function(a){a("Joose.Gears",{isa:Joose.Class,has:{wp:{},calls:{init:{}},callIndex:{init:0}},methods:{initialize:function(){JooseGearsInitializeGears();if(this.canGears()){this.wp=google.gears.factory.create("beta.workerpool");var b=this;this.wp.onmessage=function(a,c,e){b.handleGearsMessage(e)}}},handleGearsMessage:function(b){var a=b.body,b=a.to,c=a.ret,a=this.calls[a.index];a.meta.can(b)&&a[b].call(a,c)},canGears:function(){return this.meta.c.clientHasGears()},addWorker:function(b,a,c){var e="on"+
Joose.S.uppercaseFirst(b),f=this.meta.getClassObject().ajaxRequest;if(this.canGears()){var g=this.can("jsonURL")?this.c.jsonURL():"json2.js",g=(new Joose.SimpleRequest).getText(g),h="var timer = google.gears.factory.create('beta.timer');\nfunction aClass () {}; aClass.prototype."+b+" = "+a.toString()+"\n\naClass.prototype.clientHasGears = function () { return true }\naClass.prototype.ajaxRequest = "+f.toString()+"\n\nvar wp = google.gears.workerPool;\nwp.onmessage = function (a,b,message) {\nvar paras = message.body;\nvar o = new aClass();\no.sendReturn = function (ret, cbName) { wp.sendMessage({ ret: ret, to: cbName, index: paras.index }, message.sender) } \nvar ret = o."+
b+".apply(o, paras.args); if(!ret) ret = null; \no.sendReturn(ret, paras.cbName);\n}\n\n";h+=g;var j=this.wp,i=j.createWorker(h),k=this,g=function(){for(var b=[],a=0;a<arguments.length;a++)b.push(arguments[a]);j.sendMessage({args:b,cbName:e,index:k.callIndex},i);k.calls[k.callIndex]=this;k.callIndex++}}else g=function(){var b=this,c={sendReturn:function(a,d){b.meta.can(d)&&b[d].call(b,a)},clientHasGears:function(){return!1},ajaxRequest:f},g=a.apply(c,arguments);c.sendReturn(g,e)};this.addMethod(b,
g,c)}},classMethods:{setupGearsCompat:function(){window.timer={setTimeout:function(b,a){return window.setTimeout(b,a)},setInterval:function(b,a){return window.setInterval(b,a)},clearTimeout:function(b){return window.clearTimeout(b)},clearInterval:function(b){return window.clearInterval(b)}}},clientHasGears:function(){if(typeof this._canGears!="undefined")return this._canGears;if(window.google&&window.google.gears&&window.google.gears.factory){try{google.gears.factory.create("beta.httprequest")}catch(b){return this._canGears=
!1}return this._canGears=!0}return this._canGears=!1},ajaxRequest:function(b,a,c,e,f){var g;g=this.clientHasGears()?google.gears.factory.create("beta.httprequest"):window.ActiveXObject?new ActiveXObject("Microsoft.XMLHTTP"):new XMLHttpRequest;var h="";if(c)for(var j in c)h+=encodeURIComponent(j)+"="+encodeURIComponent(c[j])+"&";var i=a;c&&b=="GET"&&(i+="?"+h);g.open(b,i,!0);g.onreadystatechange=function(){if(g.readyState==4)if(g.status>=200&&g.status<400)e(g.responseText);else if(f)return f(g);else throw Error("Error fetching url "+
i+". Response code: "+g.status+" Response text: "+g.responseText);};c&&b=="POST"?g.setRequestHeader("Content-Type","application/x-www-form-urlencoded; charset=UTF-8"):h="";g.send(h)}}})})(JooseClass);
function JooseGearsInitializeGears(){if(!window.google||!google.gears){var a=null;if(typeof GearsFactory!="undefined")a=new GearsFactory;else try{a=new ActiveXObject("Gears.Factory"),a.getBuildInfo().indexOf("ie_mobile")!=-1&&a.privateSetGlobalObject(this)}catch(b){if(navigator.mimeTypes["application/x-googlegears"])a=document.createElement("object"),a.style.display="none",a.width=0,a.height=0,a.type="application/x-googlegears",document.documentElement.appendChild(a)}if(a&&(window.google||(google=
{}),!google.gears))google.gears={factory:a}}}
(function(a,b){b("Joose.Storage",{methods:{toJSON:function(){return this.pack(Joose.Storage.TEMP_SEEN)},identity:function(){return this.__ID__?this.__ID__:this.__ID__=Joose.Storage.OBJECT_COUNTER++},pack:function(b){return this.meta.c.storageEngine().pack(this,b)}},classMethods:{storageEngine:function(){return Joose.Storage.Engine},unpack:function(b){return this.storageEngine().unpack(this,b)}}});b("Joose.Storage.jsonpickle",{does:Joose.Storage,classMethods:{storageEngine:function(){return Joose.Storage.Engine.jsonpickle}}});Joose.Storage.OBJECT_COUNTER=
1;a("Joose.Storage.Engine",{classMethods:{pack:function(b,a){b.meta.can("prepareStorage")&&b.prepareStorage();a&&(a[b.identity()]=!0);var e={__CLASS__:this.packedClassName(b),__ID__:b.identity()},f=b.meta.getAttributes();Joose.O.eachSafe(f,function(a,c){a.isPersistent()&&(e[c]=b[c])});return e},unpack:function(b,a){var e=b.meta.instantiate(),f=!1;Joose.O.eachSafe(a,function(b,a){if(a=="__CLASS__"){var d=Joose.Storage.Unpacker.packedClassNameToJSClassName(b);if(d!=e.meta.className())throw Error("Storage data is of wrong type "+
d+". I am "+e.meta.className()+".");f=!0}else e[a]=b});if(!f)throw Error("Serialized data needs to include a __CLASS__ attribute.: "+a);delete e.__ID__;e.meta.can("finishUnpack")&&e.finishUnpack();return e},packedClassName:function(b){if(b.meta.can("packedClassName"))return b.packedClassName();return b.meta.className().split(".").join("::")}}});a("Joose.Storage.Engine.jsonpickle",{classMethods:{pack:function(b,a){b.meta.can("prepareStorage")&&b.prepareStorage();a&&(a[b.identity()]=!0);var e={classname__:this.packedClassName(b),
classmodule__:this.packedModuleName(b),objectid__:b.identity()},f=b.meta.getAttributes();Joose.O.eachSafe(f,function(a,c){a.isPersistent()&&(e[c]=b[c])});return e},unpack:function(b,a){var e=b.meta.instantiate(),f=!1;Joose.O.eachSafe(a,function(b,d){if(d=="classname__"){var j=b,i=a.classmodule__;i&&(j=""+i+"."+b);if(j!=e.meta.className())throw Error("Storage data is of wrong type "+j+". I am "+e.meta.className()+".");f=!0}else d!="classmodule__"&&(e[d]=b)});if(!f)throw Error("Serialized data needs to include a __CLASS__ attribute.: "+
a);e.meta.can("finishUnpack")&&e.finishUnpack();return e},packedClassName:function(b){return b.meta.className().split(".").pop()},packedModuleName:function(b){b=b.meta.className().split(".");b.pop();return b.join(".")}}});Joose.Storage.storageEngine=Joose.Storage.Engine;Joose.Storage.jsonpickle.storageEngine=Joose.Storage.Engine.jsonpickle})(JooseClass,JooseRole);
(function(a){a("Joose.Storage.Unpacker",{classMethods:{unpack:function(b){var a=b.__CLASS__;if(!a)throw"Serialized data needs to include a __CLASS__ attribute.";var a=this.meta.classNameToClassObject(this.packedClassNameToJSClassName(a)).unpack(b),c;if(Joose.Storage.CACHE&&(c=b.__ID__))Joose.Storage.CACHE[c]=a;return a},packedClassNameToJSClassName:function(b){b=b.split("-");b=b[0].split("::");return b.join(".")},jsonParseFilter:function(b,a){if(a!=null&&typeof a=="object"){if(a.__ID__&&Joose.Storage.CACHE&&
Joose.Storage.CACHE[a.__ID__])return Joose.Storage.CACHE[a.__ID__];if(a.__CLASS__)return Joose.Storage.Unpacker.unpack(a)}return a},patchJSON:function(){var b=JSON.parse,a=this.jsonParseFilter;JSON.parse=function(c,f){Joose.Storage.CACHE={};return b(c,function(b,c){var e=c;f&&(e=f(b,c));return a(b,e)})};var c=JSON.stringify;JSON.stringify=function(){Joose.Storage.TEMP_SEEN={};return c.apply(JSON,arguments)}}}});a("Joose.Storage.Unpacker.jsonpickle",{isa:Joose.Storage.Unpacker,classMethods:{unpack:function(b){var a=
b.classname__;if(!a)throw"Serialized data needs to include a classname__ attribute.";var a=this.meta.classNameToClassObject(this.packedClassNameToJSClassName(a,b.classmodule__)).unpack(b),c;if(Joose.Storage.CACHE&&(c=b.objectid__))Joose.Storage.CACHE[c]=a;return a},packedClassNameToJSClassName:function(b,a){var c="";a&&(c+=a+".");c+=b;return c},jsonParseFilter:function(b,a){if(a!=null&&typeof a=="object"){if(a.objectid__&&Joose.Storage.CACHE&&Joose.Storage.CACHE[a.objectid__])return Joose.Storage.CACHE[a.objectid__];
if(a.classname__)return Joose.Storage.Unpacker.jsonpickle.unpack(a)}return a}}})})(JooseClass);(function(a){a("Joose.Decorator",{meta:Joose.Role,methods:{decorate:function(b,a,c){var e=this,b=b.meta.getInstanceMethods();Joose.A.each(b,function(b){var g=b.getName();e.can(g)||(b=function(){var b=this[a];return b[g].apply(b,arguments)},c&&(b=c(g)),e.addMethod(g,b))})}}});Joose.Decorator.meta.apply(Joose.Class)})(JooseClass);
(function(a){Joose.NameSpace=function(){};a("Joose.Module",{has:{_name:{is:"rw"},_elements:{is:"rw"},_container:{is:"rw"}},classMethods:{setup:function(b,a){for(var c=b.split("."),e=joose.top,f=[],g,h=0,j=c.length;h<j;++h){var i=c[h];if(i=="meta")throw"Module names may not include a part called 'meta'.";var k=e[i];f.push(i);g=f.join(".");if(typeof k=="undefined")e[i]=new Joose.NameSpace,g=new Joose.Module(g),g.setContainer(e[i]),e[i].meta=g,Joose.Module._allModules.push(e[i]);else if(g=k.meta,h===
j-1&&(!g||!g.meta||!g.meta.isa(Joose.Module)))throw"Trying to setup module "+b+" failed. There is already something else: "+k;e=e[i]}c=joose.currentModule;joose.currentModule=g;a&&a(e);joose.currentModule=c;return e},getAllModules:function(){return this._allModules}},methods:{alias:function(b){var a=this;if(arguments.length==0)return this;Joose.A.each(this.getElements(),function(c){var e=a.globalName(c.meta.className());if(b[e]!==c){if(typeof b[e]!="undefined")throw"There is already something else in the spot "+
e;b[e]=c}})},globalName:function(b){var a=this.getName();if(b.indexOf(a)!=0)throw"All things inside me should have a name that starts with "+a+". Name is "+b;b=b.substr(a.length+1);if(b.indexOf(".")!=-1)throw"The things inside me should have no more dots in there name. Name is "+b;return b},removeGlobalSymbols:function(){Joose.A.each(this.getElements(),function(b){b=this.globalName(b.getName());delete joose.top[b]})},initialize:function(b){this.setElements([]);this.setName(b)},isEmpty:function(){return this.getElements().length==
0},addElement:function(b){if(!b&&!b.meta)throw"You may only add things that are Joose objects";this._elements.push(b)},getNames:function(){var b=[];Joose.A.each(this.getElements(),function(a){b.push(a.meta.getName())});return b}}})})(JooseClass);__global__={};__global__.meta=new Joose.Module;__global__.meta.setName("__global__");__global__.meta.setContainer(__global__);Joose.Module._allModules=[__global__];JooseModule("__global__.nomodule",function(){});__global__.nomodule.meta._elements=joose.globalObjects;
(function(a){a("Joose.TypeChecker",{classMethods:{makeTypeChecker:function(b,a,c,e){if(!b.meta)throw Error("Isa declarations in attribute declarations must be Joose classes, roles or type constraints");var f=!1,g=!1;Joose.Role&&b.meta.meta.isa(Joose.Role)?f=!0:Joose.TypeConstraint&&b.meta.isa(Joose.TypeConstraint)&&(g=!0);return func=function(h,j){try{if(!(a.nullable===!0&&h==void 0))if(g){var i=null;a.coerce&&(i=b.coerce(h));i==null&&a.nullable!==!0?b.validate(h):h=i}else{if(!h||!h.meta)throw new ReferenceError("The "+
c+" "+e+" only accepts values that have a meta object.");if(!(f?h.meta.does(b):h.meta.isa(b)))throw new ReferenceError("The "+c+" "+e+" only accepts values that are objects of type "+b.meta.className()+".");}}catch(k){if(j)j.call(this,k,b);else throw k;}return h}}}})})(JooseClass,JooseType);
(function(a){a("Joose.TypeConstraint",{has:{_constraints:{is:"ro",init:function(){return[]}},_coercions:{is:"ro",init:function(){return[]}},_messages:{is:"ro",init:function(){return[]}},_callback:{is:"ro",init:function(){return function(b){throw new ReferenceError(b);}}},_name:{is:"ro"},_uses:{is:"ro"},props:{is:"rw"}},classMethods:{newFromTypeBuilder:function(b,a){var c=new Joose.TypeConstraint({name:b});if(a.uses&&typeof a.uses.meta!="undefined"&&a.uses.meta.isa(Joose.TypeConstraint))c._uses=a.uses;
a.where&&c.addConstraint(a.where,a.message);c.setProps(a);if(a.coerce)for(var e=0;e<a.coerce.length;e++){var f=a.coerce[e];c.addCoercion(new Joose.TypeCoercion({from:f.from,via:f.via}))}return c}},methods:{stringify:function(){return this._name},makeSubType:function(b){var a=new Joose.TypeConstraint({name:b});Joose.A.each(this._constraints,function(b){a.addConstraint(b)});return a},addCoercion:function(b){this._coercions.push(b)},addConstraint:function(b,a){this._constraints.push(b);this._messages.push(a)},
getConstraintList:function(){var b=this._constraints;if(this._uses)return this._uses.getConstraintList().concat(b);return b},getMessageList:function(){var b=this._messages;if(this._uses)return this._uses.getMessageList().concat(b);return b},validateBool:function(b){if(this._validate(b)==-1)return!0;return!1},validate:function(b){var a=this._validate(b);if(a==-1)return!0;var c=this.getMessageList();this._callback(c[a]?c[a].call(this,b):"The passed value ["+b+"] is not a "+this)},_validate:function(b){var a=
this.getConstraintList(),c,e;c=0;for(e=a.length;c<e;c++){var f=a[c],g=!1,g=f instanceof RegExp?f.test(b):f.call(this,b);if(!g)return c}return-1},coerce:function(b){if(this.validateBool(b))return b;for(var a=this._coercions,c=0,e=a.length;c<e;c++){var f=a[c].coerce(b);if(f!==null)return f}return null}}})})(JooseClass);
(function(a,b){b("CoercionFrom",{where:function(b){if(b.meta&&b.meta.isa(Joose.TypeConstraint))return!0;return!1}});a("Joose.TypeCoercion",{has:{_from:{isa:TYPE.CoercionFrom,is:"rw"},_via:{is:"rw"}},methods:{coerce:function(b){if(this._from.validateBool(b))return this._via(b);return null}}})})(JooseClass,JooseType);
(function(a){a("Any",{where:function(){return!0}});a("Null",{uses:Joose.Type.Any,where:function(b){if(b===null)return!0;return!1}});a("NotNull",{uses:Joose.Type.Any,where:function(b){if(b===null)return!1;return!0}});a("Enum",{uses:Joose.Type.NotNull,message:function(b){return"The passed value ["+b+"] is not "+(this.getProps().strictMatch?"*strictly* ":"")+"one of ["+this.getProps().values.join(",")+"]"},where:function(b){var a=this.getProps();if(!a||a.values===void 0||!(a.values instanceof Array))throw"Enum Type needs Array of values in 'values' property of Type declaration";
if(Joose.A.grep(a.values,function(c){if(a.strictMatch===!0)return c===b;return c==b}).length!=0)return!0;return!1}});a("Obj",{uses:Joose.Type.NotNull,where:function(b){if(b instanceof Object)return!0;return!1}});a("Str",{uses:Joose.Type.NotNull,where:function(b){if(typeof b=="string"||b instanceof String)return!0;return!1},coerce:[{from:Joose.Type.Any,via:function(b){return b==null?"":""+b}}]});a("Num",{uses:Joose.Type.NotNull,where:function(b){if(typeof b=="number"||b instanceof Number)return!0;
return!1},coerce:[{from:Joose.Type.Str,via:function(b){if(!(b==null||b==""))return parseFloat(b,10)}}]});a("Bool",{uses:Joose.Type.NotNull,where:function(b){if(b===!0||b===!1)return!0;return!1},coerce:[{from:Joose.Type.Any,via:function(b){if(b==null||b==="")return!1;if(b==1||b=="1"||b=="true")return!0;if(b==0||b=="0"||b=="false")return!1;return null}}]});a("Int",{uses:Joose.Type.Num,where:function(b){if(String(b).match(/^\d*\.\d$/))return!1;return!0},coerce:[{from:Joose.Type.Str,via:function(b){if(!(b==
null||b=="")&&b.match(/^-{0,1}\d+$/))return parseInt(b,10)}}]});a("Float",{uses:Joose.Type.Num,where:function(){return!0}});a("Func",{uses:Joose.Type.Obj,where:function(b){if(typeof b=="function")return!0;return!1}});a("Array",{uses:Joose.Type.Obj,where:function(b){if(Object.prototype.toString.call(b)==="[object Array]")return!0;return!1}});a("Date",{uses:Joose.Type.Obj,where:function(b){if(b instanceof Date)return!0;return!1},coerce:[{from:Joose.Type.Str,via:function(b){if(!(b==void 0||b=="")){if(b=
b.match(/\s*(\d+)-(\d+)-(\d+)/))return new Date(b[1],b[2]-1,[b[3]]);return null}}}]});a("Joose",{uses:Joose.Type.Obj,where:function(b){if(b.meta&&b.meta.meta.isa(Joose.Class))return!0;return!1}})})(JooseType);
(function(a){a("Joose.Prototype",{isa:Joose.Class,override:{initializer:function(){var b=this.SUPER();return function(){b.apply(this,arguments);var a=this.meta;this.meta=new Joose.PrototypeLazyMetaObjectProxy;this.meta.metaObject=a;this.meta.object=this}}}});a("Joose.PrototypeLazyMetaObjectProxy",{has:{metaObject:{is:"rw",isa:Joose.Class,handles:"*",handleWith:function(b){return function(){var a=this.object;a.meta=this.metaObject;a.detach();a.meta[b].apply(a.meta,arguments)}}},object:{is:"rw"}}});
Joose.bootstrap3()})(JooseClass);
(function(a){a("Joose.TypedMethod",{isa:Joose.Method,has:{types:{isa:Joose.Type.Array,is:"rw",init:function(){return[]}},typeCheckers:{init:function(){return[]}}},after:{setTypes:function(){var b=[],a=this.getProps();Joose.A.each(this.getTypes(),function(c,e){c===null?b.push(null):b.push(Joose.TypeChecker.makeTypeChecker(c,a,"parameter",e))});this.typeCheckers=b}},override:{copy:function(){var b=this.SUPER(),a=[].concat(this.types);b.setTypes(a);return b}},methods:{wrapTypeChecker:function(b){var a=this;
return function(){for(var c=a.typeCheckers,e=[],f=0,g=c.length;f<g;++f){var h=c[f];e[f]=h!==null?h(arguments[f]):arguments[f]}return b.apply(this,e)}},asFunction:function(){return this.wrapTypeChecker(this._body)}},classMethods:{newFromProps:function(a,d){var c=d.method;if(typeof c!=="function")throw Error("Property method in method declaration ["+a+"] must be a function.");c=this.meta.instantiate(a,c,d);c.setTypes(d.signature);return c}}})})(JooseClass,JooseType);
Module("Joose.Type",function(){Type("MethodPatternList",{uses:Joose.Type.Array,where:function(a){var b=0,d;for(d in a){var c=a[d];c.signature instanceof Array&&typeof c.method=="function"&&b++}return a.length==b}})});
Class("Joose.MultiMethod",{isa:Joose.Method,has:{patterns:{is:"rw",isa:Joose.Type.MethodPatternList,init:function(){return[]}}},override:{copy:function(){var a=this.SUPER(),b=[].concat(this.getPatterns());a.setPatterns(b);return a}},methods:{getFunForSignature:function(){var a=arguments,b=this.getPatterns(),d;for(d in b)if(b.hasOwnProperty(d)){var c=b[d],e=c.signature,f=0;if(e.length==a.length){if(e.length>0)for(var g=0;g<e.length;g++)e[g]instanceof Joose.TypeConstraint&&e[g].validateBool(a[g])?f++:
e[g]instanceof Object&&a[g]instanceof e[g]?f++:a[g]==e[g]&&f++;if(f==e.length)return c.method}}return function(){throw new ReferenceError("multi-method type method call with no matching signature");}},asFunction:function(){var a=this;return function(){var b=arguments;return a.getFunForSignature.apply(a,b).apply(this,b)}}},classMethods:{newFromPatterns:function(a,b){method=new Joose.MultiMethod(a,function(){},{});method.setPatterns(b);return method}}});
;
// !MeAb! /c/s/d/e/j/e/underscore.js
function _export(){return _}
(function(){var p=this,C=p._,m={},i=Array.prototype,n=Object.prototype,f=i.slice,D=i.unshift,E=n.toString,l=n.hasOwnProperty,s=i.forEach,t=i.map,u=i.reduce,v=i.reduceRight,w=i.filter,x=i.every,y=i.some,o=i.indexOf,z=i.lastIndexOf,n=Array.isArray,F=Object.keys,q=Function.prototype.bind,b=function(a){return new j(a)};typeof module!=="undefined"&&module.exports?(module.exports=b,b._=b):p._=b;b.VERSION="1.1.7";var h=b.each=b.forEach=function(a,c,b){if(a!=null)if(s&&a.forEach===s)a.forEach(c,b);else if(a.length===
+a.length)for(var e=0,k=a.length;e<k;e++){if(e in a&&c.call(b,a[e],e,a)===m)break}else for(e in a)if(l.call(a,e)&&c.call(b,a[e],e,a)===m)break};b.map=function(a,c,b){var e=[];if(a==null)return e;if(t&&a.map===t)return a.map(c,b);h(a,function(a,g,G){e[e.length]=c.call(b,a,g,G)});return e};b.reduce=b.foldl=b.inject=function(a,c,d,e){var k=d!==void 0;a==null&&(a=[]);if(u&&a.reduce===u)return e&&(c=b.bind(c,e)),k?a.reduce(c,d):a.reduce(c);h(a,function(a,b,f){k?d=c.call(e,d,a,b,f):(d=a,k=!0)});if(!k)throw new TypeError("Reduce of empty array with no initial value");
return d};b.reduceRight=b.foldr=function(a,c,d,e){a==null&&(a=[]);if(v&&a.reduceRight===v)return e&&(c=b.bind(c,e)),d!==void 0?a.reduceRight(c,d):a.reduceRight(c);a=(b.isArray(a)?a.slice():b.toArray(a)).reverse();return b.reduce(a,c,d,e)};b.find=b.detect=function(a,c,b){var e;A(a,function(a,g,f){if(c.call(b,a,g,f))return e=a,!0});return e};b.filter=b.select=function(a,c,b){var e=[];if(a==null)return e;if(w&&a.filter===w)return a.filter(c,b);h(a,function(a,g,f){c.call(b,a,g,f)&&(e[e.length]=a)});return e};
b.reject=function(a,c,b){var e=[];if(a==null)return e;h(a,function(a,g,f){c.call(b,a,g,f)||(e[e.length]=a)});return e};b.every=b.all=function(a,c,b){var e=!0;if(a==null)return e;if(x&&a.every===x)return a.every(c,b);h(a,function(a,g,f){if(!(e=e&&c.call(b,a,g,f)))return m});return e};var A=b.some=b.any=function(a,c,d){var c=c||b.identity,e=!1;if(a==null)return e;if(y&&a.some===y)return a.some(c,d);h(a,function(a,b,f){if(e|=c.call(d,a,b,f))return m});return!!e};b.include=b.contains=function(a,c){var b=
!1;if(a==null)return b;if(o&&a.indexOf===o)return a.indexOf(c)!=-1;A(a,function(a){if(b=a===c)return!0});return b};b.invoke=function(a,c){var d=f.call(arguments,2);return b.map(a,function(a){return(c.call?c||a:a[c]).apply(a,d)})};b.pluck=function(a,c){return b.map(a,function(a){return a[c]})};b.max=function(a,c,d){if(!c&&b.isArray(a))return Math.max.apply(Math,a);var e={computed:-Infinity};h(a,function(a,b,f){b=c?c.call(d,a,b,f):a;b>=e.computed&&(e={value:a,computed:b})});return e.value};b.min=function(a,
c,d){if(!c&&b.isArray(a))return Math.min.apply(Math,a);var e={computed:Infinity};h(a,function(a,b,f){b=c?c.call(d,a,b,f):a;b<e.computed&&(e={value:a,computed:b})});return e.value};b.sortBy=function(a,c,d){return b.pluck(b.map(a,function(a,b,f){return{value:a,criteria:c.call(d,a,b,f)}}).sort(function(a,b){var c=a.criteria,d=b.criteria;return c<d?-1:c>d?1:0}),"value")};b.groupBy=function(a,b){var d={};h(a,function(a,f){var g=b(a,f);(d[g]||(d[g]=[])).push(a)});return d};b.sortedIndex=function(a,c,d){d||
(d=b.identity);for(var e=0,f=a.length;e<f;){var g=e+f>>1;d(a[g])<d(c)?e=g+1:f=g}return e};b.toArray=function(a){if(!a)return[];if(a.toArray)return a.toArray();if(b.isArray(a))return f.call(a);if(b.isArguments(a))return f.call(a);return b.values(a)};b.size=function(a){return b.toArray(a).length};b.first=b.head=function(a,b,d){return b!=null&&!d?f.call(a,0,b):a[0]};b.rest=b.tail=function(a,b,d){return f.call(a,b==null||d?1:b)};b.last=function(a){return a[a.length-1]};b.compact=function(a){return b.filter(a,
function(a){return!!a})};b.flatten=function(a){return b.reduce(a,function(a,d){if(b.isArray(d))return a.concat(b.flatten(d));a[a.length]=d;return a},[])};b.without=function(a){return b.difference(a,f.call(arguments,1))};b.uniq=b.unique=function(a,c){return b.reduce(a,function(a,e,f){if(0==f||(c===!0?b.last(a)!=e:!b.include(a,e)))a[a.length]=e;return a},[])};b.union=function(){return b.uniq(b.flatten(arguments))};b.intersection=b.intersect=function(a){var c=f.call(arguments,1);return b.filter(b.uniq(a),
function(a){return b.every(c,function(c){return b.indexOf(c,a)>=0})})};b.difference=function(a,c){return b.filter(a,function(a){return!b.include(c,a)})};b.zip=function(){for(var a=f.call(arguments),c=b.max(b.pluck(a,"length")),d=Array(c),e=0;e<c;e++)d[e]=b.pluck(a,""+e);return d};b.indexOf=function(a,c,d){if(a==null)return-1;var e;if(d)return d=b.sortedIndex(a,c),a[d]===c?d:-1;if(o&&a.indexOf===o)return a.indexOf(c);d=0;for(e=a.length;d<e;d++)if(a[d]===c)return d;return-1};b.lastIndexOf=function(a,
b){if(a==null)return-1;if(z&&a.lastIndexOf===z)return a.lastIndexOf(b);for(var d=a.length;d--;)if(a[d]===b)return d;return-1};b.range=function(a,b,d){arguments.length<=1&&(b=a||0,a=0);for(var d=arguments[2]||1,e=Math.max(Math.ceil((b-a)/d),0),f=0,g=Array(e);f<e;)g[f++]=a,a+=d;return g};b.bind=function(a,b){if(a.bind===q&&q)return q.apply(a,f.call(arguments,1));var d=f.call(arguments,2);return function(){return a.apply(b,d.concat(f.call(arguments)))}};b.bindAll=function(a){var c=f.call(arguments,1);
c.length==0&&(c=b.functions(a));h(c,function(c){a[c]=b.bind(a[c],a)});return a};b.memoize=function(a,c){var d={};c||(c=b.identity);return function(){var b=c.apply(this,arguments);return l.call(d,b)?d[b]:d[b]=a.apply(this,arguments)}};b.delay=function(a,b){var d=f.call(arguments,2);return setTimeout(function(){return a.apply(a,d)},b)};b.defer=function(a){return b.delay.apply(b,[a,1].concat(f.call(arguments,1)))};var B=function(a,b,d){var e;return function(){var f=this,g=arguments,h=function(){e=null;
a.apply(f,g)};d&&clearTimeout(e);if(d||!e)e=setTimeout(h,b)}};b.throttle=function(a,b){return B(a,b,!1)};b.debounce=function(a,b){return B(a,b,!0)};b.once=function(a){var b=!1,d;return function(){if(b)return d;b=!0;return d=a.apply(this,arguments)}};b.wrap=function(a,b){return function(){var d=[a].concat(f.call(arguments));return b.apply(this,d)}};b.compose=function(){var a=f.call(arguments);return function(){for(var b=f.call(arguments),d=a.length-1;d>=0;d--)b=[a[d].apply(this,b)];return b[0]}};b.after=
function(a,b){return function(){if(--a<1)return b.apply(this,arguments)}};b.keys=F||function(a){if(a!==Object(a))throw new TypeError("Invalid object");var b=[],d;for(d in a)l.call(a,d)&&(b[b.length]=d);return b};b.values=function(a){return b.map(a,b.identity)};b.functions=b.methods=function(a){var c=[],d;for(d in a)b.isFunction(a[d])&&c.push(d);return c.sort()};b.extend=function(a){h(f.call(arguments,1),function(b){for(var d in b)b[d]!==void 0&&(a[d]=b[d])});return a};b.defaults=function(a){h(f.call(arguments,
1),function(b){for(var d in b)a[d]==null&&(a[d]=b[d])});return a};b.clone=function(a){return b.isArray(a)?a.slice():b.extend({},a)};b.tap=function(a,b){b(a);return a};b.isEqual=function(a,c){if(a===c)return!0;var d=typeof a;if(d!=typeof c)return!1;if(a==c)return!0;if(!a&&c||a&&!c)return!1;if(a._chain)a=a._wrapped;if(c._chain)c=c._wrapped;if(a.isEqual)return a.isEqual(c);if(c.isEqual)return c.isEqual(a);if(b.isDate(a)&&b.isDate(c))return a.getTime()===c.getTime();if(b.isNaN(a)&&b.isNaN(c))return!1;
if(b.isRegExp(a)&&b.isRegExp(c))return a.source===c.source&&a.global===c.global&&a.ignoreCase===c.ignoreCase&&a.multiline===c.multiline;if(d!=="object")return!1;if(a.length&&a.length!==c.length)return!1;var d=b.keys(a),e=b.keys(c);if(d.length!=e.length)return!1;for(var f in a)if(!(f in c)||!b.isEqual(a[f],c[f]))return!1;return!0};b.isEmpty=function(a){if(b.isArray(a)||b.isString(a))return a.length===0;for(var c in a)if(l.call(a,c))return!1;return!0};b.isElement=function(a){return!!(a&&a.nodeType==
1)};b.isArray=n||function(a){return E.call(a)==="[object Array]"};b.isObject=function(a){return a===Object(a)};b.isArguments=function(a){return!(!a||!l.call(a,"callee"))};b.isFunction=function(a){return!(!a||!a.constructor||!a.call||!a.apply)};b.isString=function(a){return!!(a===""||a&&a.charCodeAt&&a.substr)};b.isNumber=function(a){return!!(a===0||a&&a.toExponential&&a.toFixed)};b.isNaN=function(a){return a!==a};b.isBoolean=function(a){return a===!0||a===!1};b.isDate=function(a){return!(!a||!a.getTimezoneOffset||
!a.setUTCFullYear)};b.isRegExp=function(a){return!(!a||!a.test||!a.exec||!(a.ignoreCase||a.ignoreCase===!1))};b.isNull=function(a){return a===null};b.isUndefined=function(a){return a===void 0};b.noConflict=function(){p._=C;return this};b.identity=function(a){return a};b.times=function(a,b,d){for(var e=0;e<a;e++)b.call(d,e)};b.mixin=function(a){h(b.functions(a),function(c){H(c,b[c]=a[c])})};var I=0;b.uniqueId=function(a){var b=I++;return a?a+b:b};b.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g};
b.template=function(a,c){var d=b.templateSettings,d="var __p=[],print=function(){__p.push.apply(__p,arguments);};with(obj||{}){__p.push('"+a.replace(/\\/g,"\\\\").replace(/'/g,"\\'").replace(d.interpolate,function(a,b){return"',"+b.replace(/\\'/g,"'")+",'"}).replace(d.evaluate||null,function(a,b){return"');"+b.replace(/\\'/g,"'").replace(/[\r\n\t]/g," ")+"__p.push('"}).replace(/\r/g,"\\r").replace(/\n/g,"\\n").replace(/\t/g,"\\t")+"');}return __p.join('');",d=new Function("obj",d);return c?d(c):d};
var j=function(a){this._wrapped=a};b.prototype=j.prototype;var r=function(a,c){return c?b(a).chain():a},H=function(a,c){j.prototype[a]=function(){var a=f.call(arguments);D.call(a,this._wrapped);return r(c.apply(b,a),this._chain)}};b.mixin(b);h(["pop","push","reverse","shift","sort","splice","unshift"],function(a){var b=i[a];j.prototype[a]=function(){b.apply(this._wrapped,arguments);return r(this._wrapped,this._chain)}});h(["concat","join","slice"],function(a){var b=i[a];j.prototype[a]=function(){return r(b.apply(this._wrapped,
arguments),this._chain)}});j.prototype.chain=function(){this._chain=!0;return this};j.prototype.value=function(){return this._wrapped}})();
;
// !MeAb! /c/s/d/e/j/e/q_code.js
Q=function(){var h=function(){for(var a=[],d=[{start:" ",end:"~"}],b=d.length-1;b>=0;--b)for(var c=d[b],e=c.start.charCodeAt(0);e<=c.end.charCodeAt(0);++e)a[e]=String.fromCharCode(e);a["~".charCodeAt(0)]=null;a[" ".charCodeAt(0)]=null;a["q".charCodeAt(0)]=null;a["Q".charCodeAt(0)]=null;return a}();count_map=function(){for(var a=[],d={0:9,1:10,2:13,3:32,4:63},b={},c=4;c>=0;--c)b["0AaLl"[c]]=[String.fromCharCode(d[c])];for(c=0;c<10;++c)for(var e=0;e<5;++e){var f="0AaLl".charCodeAt(e)+c;a[f]={value:c+
1,encode:"~"+String.fromCharCode(f),decode:b["0AaLl"[e]].join(""),type:d[e]};b["0AaLl"[e]].push(b["0AaLl"[e]][0])}return a}();var i={9:"~0",10:"~A",13:"~a",32:"~L",63:"~?"},f=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P"],j=function(a,d,b){if(i[a]){var c=d[b-1];if(c&&c.length==2&&c.charCodeAt(0)==126){var e=c.charCodeAt(1),c=count_map[e];if(c.type==a&&c.value<10)return d[b-1]=count_map[e+1].encode,b}d[b++]=i[a];return b}if(a==113)return d[b++]="qq",b;if(a==81)return d[b++]="QQ",
b;if(a==126)return d[b++]="~~",b;if(a<256)return d[b++]="q"+f[a>>4&15]+f[a>>0&15],b;d[b++]="Q"+f[a>>12&15]+f[a>>8&15]+f[a>>4&15]+f[a>>0&15];return b},g="A".charCodeAt(0),k=function(a){var d=a.substr(0,2);if(d=="qq")return{decoded:"q",len:2};if(d=="QQ")return{decoded:"Q",len:2};if(d=="~~")return{decoded:"~",len:2};var b=d.substr(0,1);if(b=="~")return{decoded:count_map[d.charCodeAt(1)].decode,len:2};a=a.toUpperCase();if(b=="Q")return{decoded:String.fromCharCode(a.charCodeAt(1)-g<<12|a.charCodeAt(2)-
g<<8|a.charCodeAt(3)-g<<4|a.charCodeAt(4)-g<<0),len:5};if(b=="q")return{decoded:String.fromCharCode(a.charCodeAt(1)-g<<4|a.charCodeAt(2)-g),len:3};return{decoded:a,len:a.length}};return{encode:function(a){for(var d=["!"],b=a.length,c=1,e=0;e<b;++e){var f=a.substr(e,1),g=f.charCodeAt(0);h[g]?d[c++]=f:c=j(g,d,c)}return d.join("")},decode:function(a){a.match(/%22/)&&(a=decodeURIComponent(a));if(a.substr(0,1)!="!")throw"Illegal Q-Code:"+a;for(var d=a.length,b=[],c=1;c<d;++c){var e=a.substr(c,1);h[e.charCodeAt(0)]?
b.push(e):(e=k(a.substr(c,5)),b.push(e.decoded),c+=e.len-1)}return b.join("")}}}();typeof exports!="undefined"&&(exports=Q);function Qexport(){return Q};
;
// !MeAb! /c/s/d/e/j/e/weet.js
typeof importScript!="undefined"&&(importScript("global/require.ds"),requireJoose(),requireQ(),require_());
Class("Weet",{does:Joose.Singleton,classMethods:{subscribe:function(a,b){return this.getInstance().subscribe(a,b)},unsubscribe:function(a){this.getInstance().unsubscribe(a)},get:function(a){return this.getInstance().get(a)},set:function(a,b){return this.getInstance().set(a,b)},setHash:function(a,b){return this.getInstance().setHash(a,b)},setHref:function(a,b){return this.getInstance().setHref(a,b)},obj:function(){return this.merge({},this.getInstance().weet)},extend:function(a){this.getInstance().extend(a)},
createHash:function(a,b){return this.getInstance().createHash(a,b)},extendHash:function(a){return this.getInstance().extendHash(a)},extendHref:function(a){return this.getInstance().extendHref(a)},extendObj:function(a){return this.getInstance().extendObj(a)},overwriteHash:function(a){this.getInstance().overwriteHash(a)},clearHash:function(){this.getInstance().clearHash()},deReference:function(a,b){var c=a.split(".");return{found:_(c).select(function(a){b=!b||b[a];return typeof b!="undefined"}).length==
c.length,value:b}},objectify:function(a,b){var c=a.split("."),d=c.pop(),e={};_(c).reduce(function(a,b){return a[b]={}},e)[d]=b;return e},parse:function(a){if(a=="#"||a.length==0)return{};a=a.slice(1);try{return JSON.parse(Q.decode(a))}catch(b){return{}}},merge:function(a){for(var b=1,c=arguments.length;b<c;b++){var d=JSON.parse(JSON.stringify(arguments[b])),e;for(e in d)d[e]===null?delete a[e]:typeof a[e]=="object"?this.merge(a[e],d[e]):a[e]=d[e]}return a},overwrite:function(a,b,c){var d=b.shift();
b.length?a[d]=this.overwrite(typeof a[d]=="object"?a[d]:{},b,c):c===null?delete a[d]:a[d]=c;return a},differences:function(a,b,c,d){var e=this;d||(d={});c||(c="");b&&_(b).each(function(i,g,h,f){h=a&&a[g]||null;f=b[g];h?JSON.stringify(f)!=JSON.stringify(h)&&(typeof f=="object"?(d[_([c,g]).compact().join(".")]={action:"modified",value:f},e.differences(h,f,_([c,g]).compact().join("."),d)):JSON.stringify(f)!=JSON.stringify(h)&&(d[_([c,g]).compact().join(".")]={action:"modified",value:f})):typeof f=="object"?
(d[_([c,g]).compact().join(".")]={action:"added",value:f},e.differences(h,f,_([c,g]).compact().join("."),d)):d[_([c,g]).compact().join(".")]={action:"added",value:f}});a&&_(a).each(function(i,g,h,f){h=a[g];f=b&&b[g]||null;f||(typeof h=="object"?(d[_([c,g]).compact().join(".")]={action:"deleted",value:null},e.differences(h,f,_([c,g]).compact().join("."),d)):d[_([c,g]).compact().join(".")]={action:"deleted",value:null})});return d}},methods:{initialize:function(){this.weet={};this.subscriptions={};
this.subscription_id=0;if(typeof window!="undefined")this.weet=this.meta.c.parse(window.location.hash),this.observe(),window.location.hash.length>1&&$(window).trigger("hashchange")},observe:function(){var a=this;$(window).hashchange(function(){a.notify()})},notify:function(){var a=this,b=[],c=this.meta.c.parse(window.location.hash);if(c){var d=this.meta.c.differences(this.weet,c);_(d).each(function(c,d){a.subscriptions[d]&&_(a.subscriptions[d]).each(function(a){b.push({action:c.action,value:c.value,
funcs:a})})});this.weet=c;_(b).each(function(a){if(typeof a.funcs=="function")a.funcs(a.value,a.action);else a.funcs[a.action](a.value)})}},subscribe:function(a,b){this.subscriptions[a]||(this.subscriptions[a]={});this.subscriptions[a][this.subscription_id++]=b;var c=this.meta.c.deReference(a,this.weet);c.found&&(typeof b=="function"?b(c.value,"initialized"):b.modified(c.value));return this.subscription_id-1},unsubscribe:function(a){_(this.subscriptions).each(function(b){b[a]&&delete b[a]})},get:function(a){for(var b=
this.meta.c.merge({},this.weet),a=a.split("."),c=0;c<a.length;c++){if(!b)break;b=b[a[c]]}return b},set:function(a,b){var c=this.meta.c.merge({},this.weet);this.meta.c.overwrite(c,a.split("."),b);window.location.hash=Q.encode(JSON.stringify(c));return b},setHash:function(a,b){var c=this.meta.c.merge({},this.weet);this.meta.c.overwrite(c,a.split("."),b);return Q.encode(JSON.stringify(c))},setHref:function(a,b){return"#"+this.setHash(a,b)},extend:function(a){a=this.meta.c.merge({},this.weet,a);window.location.hash=
Q.encode(JSON.stringify(a))},extendHash:function(a){return Q.encode(JSON.stringify(this.extendObj(a)))},createHash:function(a,b){return this.extendHash(this.meta.c.objectify(a,b))},extendHref:function(a){return"#"+this.extendHash(a)},extendObj:function(a){return this.meta.c.merge({},this.weet,a)},overwriteHash:function(a){window.location.hash=Q.encode(JSON.stringify(a))},clearHash:function(){window.location.hash=Q.encode(JSON.stringify({}))}}});
;
// !MeAb! /c/s/d/e/j/e/jquery.dataset.js
(function(c){function d(){return this.foldAttr(function(b,f,h){if(b=a.exec(this.name))h[b[1]]=this.value})}var a=/^data\-(.*)$/;c.fn.dataset=function(b,f){if(f!==void 0)return this.attr("data-"+b,f);switch(typeof b){case "string":return this.attr("data-"+b);case "object":for(var a in b)this.attr("data-"+a,b[a]);return this;case "undefined":return d.call(this);default:throw"dataset: invalid argument "+b;}};c.fn.removeDataset=function(b){var a,c=b&&b.length;if(c===void 0)for(a in b)this.removeAttr("data-"+
a);else for(a=0;a<c;a++)this.removeAttr("data-"+b[a]);return this}})(jQuery);
(function(c){function d(a,b,c){var d=a&&a.length;c===void 0&&(c={});if(!a)return c;if(d!==void 0)for(var e=0,g=a[e];e<d&&b.call(g,e,g,c)!==!1;g=a[++e]);else for(e in a)if(b.call(a[e],e,a[e],c)===!1)break;return c}c.fn.eachAttr=function(a){this.length>0&&c.each(this[0].attributes,a);return this};c.fn.foldAttr=function(a,b){return d(this.length>0&&this[0].attributes,a,b)};c.fn.fold=function(a,b){b===void 0&&(b=[]);return d(this,a,b)};c.fold=d})(jQuery);
;
// !MeAb! /c/s/d/e/j/e/jquery.mousewheel.js
(function(f){function c(a){var b=a||window.event,d=[].slice.call(arguments,1),e=0,c=0,g=0,a=f.event.fix(b);a.type="mousewheel";a.wheelDelta&&(e=a.wheelDelta/120);a.detail&&(e=-a.detail/3);g=e;b.axis!==void 0&&b.axis===b.HORIZONTAL_AXIS&&(g=0,c=-1*e);b.wheelDeltaY!==void 0&&(g=b.wheelDeltaY/120);b.wheelDeltaX!==void 0&&(c=-1*b.wheelDeltaX/120);d.unshift(a,e,c,g);return f.event.handle.apply(this,d)}var d=["DOMMouseScroll","mousewheel"];f.event.special.mousewheel={setup:function(){if(this.addEventListener)for(var a=
d.length;a;)this.addEventListener(d[--a],c,!1);else this.onmousewheel=c},teardown:function(){if(this.removeEventListener)for(var a=d.length;a;)this.removeEventListener(d[--a],c,!1);else this.onmousewheel=null}};f.fn.extend({mousewheel:function(a){return a?this.bind("mousewheel",a):this.trigger("mousewheel")},unmousewheel:function(a){return this.unbind("mousewheel",a)}})})(jQuery);
;
// !MeAb! /c/s/d/e/j/e/jquery.validate.js
(function(c){c.extend(c.fn,{validate:function(a){if(this.length){var b=c.data(this[0],"validator");if(b)return b;b=new c.validator(a,this[0]);c.data(this[0],"validator",b);b.settings.onsubmit&&(this.find("input, button").filter(".cancel").click(function(){b.cancelSubmit=!0}),b.settings.submitHandler&&this.find("input, button").filter(":submit").click(function(){b.submitButton=this}),this.submit(function(a){function e(){if(b.settings.submitHandler){if(b.submitButton)var a=c("<input type='hidden'/>").attr("name",
b.submitButton.name).val(b.submitButton.value).appendTo(b.currentForm);var d=b.settings.submitHandler.call(b,b.currentForm);b.submitButton&&a.remove();return d}return!0}b.settings.debug&&a.preventDefault();if(b.cancelSubmit)return b.cancelSubmit=!1,e();if(b.form()){if(b.pendingRequest)return b.formSubmitted=!0,!1;return e()}else return b.focusInvalid(),!1}));return b}else a&&a.debug&&window.console&&console.warn("nothing selected, can't validate, returning nothing")},valid:function(){if(c(this[0]).is("form"))return this.validate().form();
else{var a=!0,b=c(this[0].form).validate();this.each(function(){a&=b.element(this)});return a}},removeAttrs:function(a){var b={},d=this;c.each(a.split(/\s/),function(a,c){b[c]=d.attr(c);d.removeAttr(c)});return b},rules:function(a,b){var d=this[0];if(a){var e=c.data(d.form,"validator").settings,f=e.rules,g=c.validator.staticRules(d);switch(a){case "add":c.extend(g,c.validator.normalizeRule(b));f[d.name]=g;b.messages&&(e.messages[d.name]=c.extend(e.messages[d.name],b.messages));break;case "remove":if(!b)return delete f[d.name],
g;var i={};c.each(b.split(/\s/),function(a,b){i[b]=g[b];delete g[b]});return i}}d=c.validator.normalizeRules(c.extend({},c.validator.metadataRules(d),c.validator.classRules(d),c.validator.attributeRules(d),c.validator.staticRules(d)),d);if(d.required)e=d.required,delete d.required,d=c.extend({required:e},d);return d}});c.extend(c.expr[":"],{blank:function(a){return!c.trim(""+a.value)},filled:function(a){return!!c.trim(""+a.value)},unchecked:function(a){return!a.checked}});c.validator=function(a,b){this.settings=
c.extend(!0,{},c.validator.defaults,a);this.currentForm=b;this.init()};c.validator.format=function(a,b){if(arguments.length==1)return function(){var b=c.makeArray(arguments);b.unshift(a);return c.validator.format.apply(this,b)};arguments.length>2&&b.constructor!=Array&&(b=c.makeArray(arguments).slice(1));b.constructor!=Array&&(b=[b]);c.each(b,function(b,c){a=a.replace(RegExp("\\{"+b+"\\}","g"),c)});return a};c.extend(c.validator,{defaults:{messages:{},groups:{},rules:{},errorClass:"error",validClass:"valid",
errorElement:"label",focusInvalid:!0,errorContainer:c([]),errorLabelContainer:c([]),onsubmit:!0,ignore:[],ignoreTitle:!1,onfocusin:function(a){this.lastActive=a;this.settings.focusCleanup&&!this.blockFocusCleanup&&(this.settings.unhighlight&&this.settings.unhighlight.call(this,a,this.settings.errorClass,this.settings.validClass),this.errorsFor(a).hide())},onfocusout:function(a){!c(a).is(this.settings.ignore)&&!this.checkable(a)&&(a.name in this.submitted||!this.optional(a))&&this.element(a)},onkeyup:function(a){(a.name in
this.submitted||a==this.lastElement)&&this.element(a)},onclick:function(a){a.name in this.submitted?this.element(a):a.parentNode.name in this.submitted&&this.element(a.parentNode)},highlight:function(a,b,d){c(a).addClass(b).removeClass(d)},unhighlight:function(a,b,d){c(a).removeClass(b).addClass(d)}},setDefaults:function(a){c.extend(c.validator.defaults,a)},messages:{required:"This field is required.",remote:"Please fix this field.",email:"Please enter a valid email address.",url:"Please enter a valid URL.",
date:"Please enter a valid date.",dateISO:"Please enter a valid date (ISO).",number:"Please enter a valid number.",digits:"Please enter only digits.",creditcard:"Please enter a valid credit card number.",equalTo:"Please enter the same value again.",accept:"Please enter a value with a valid extension.",maxlength:c.validator.format("Please enter no more than {0} characters."),minlength:c.validator.format("Please enter at least {0} characters."),phone:"Please enter a valid phone numberThe phone number.",
rangelength:c.validator.format("Please enter a value between {0} and {1} characters long."),range:c.validator.format("Please enter a value between {0} and {1}."),max:c.validator.format("Please enter a value less than or equal to {0}."),min:c.validator.format("Please enter a value greater than or equal to {0}.")},autoCreateRanges:!1,prototype:{init:function(){function a(a){var b=c.data(this[0].form,"validator"),a="on"+a.type.replace(/^validate/,"");b.settings[a]&&b.settings[a].call(b,this[0])}this.labelContainer=
c(this.settings.errorLabelContainer);this.errorContext=this.labelContainer.length&&this.labelContainer||c(this.currentForm);this.containers=c(this.settings.errorContainer).add(this.settings.errorLabelContainer);this.submitted={};this.valueCache={};this.pendingRequest=0;this.pending={};this.invalid={};this.reset();var b=this.groups={};c.each(this.settings.groups,function(a,d){c.each(d.split(/\s/),function(c,d){b[d]=a})});var d=this.settings.rules;c.each(d,function(a,b){d[a]=c.validator.normalizeRule(b)});
c(this.currentForm).validateDelegate(":text, :password, :file, select, textarea","focusin focusout keyup",a).validateDelegate(":radio, :checkbox, select, option","click",a);this.settings.invalidHandler&&c(this.currentForm).bind("invalid-form.validate",this.settings.invalidHandler)},form:function(){this.checkForm();c.extend(this.submitted,this.errorMap);this.invalid=c.extend({},this.errorMap);this.valid()||c(this.currentForm).triggerHandler("invalid-form",[this]);this.showErrors();return this.valid()},
checkForm:function(){this.prepareForm();for(var a=0,b=this.currentElements=this.elements();b[a];a++)this.check(b[a]);return this.valid()},element:function(a){this.lastElement=a=this.clean(a);this.prepareElement(a);this.currentElements=c(a);var b=this.check(a);b?delete this.invalid[a.name]:this.invalid[a.name]=!0;if(!this.numberOfInvalids())this.toHide=this.toHide.add(this.containers);this.showErrors();return b},showErrors:function(a){if(a){c.extend(this.errorMap,a);this.errorList=[];for(var b in a)this.errorList.push({message:a[b],
element:this.findByName(b)[0]});this.successList=c.grep(this.successList,function(b){return!(b.name in a)})}this.settings.showErrors?this.settings.showErrors.call(this,this.errorMap,this.errorList):this.defaultShowErrors()},resetForm:function(){c.fn.resetForm&&c(this.currentForm).resetForm();this.submitted={};this.prepareForm();this.hideErrors();this.elements().removeClass(this.settings.errorClass)},numberOfInvalids:function(){return this.objectLength(this.invalid)},objectLength:function(a){var b=
0,c;for(c in a)b++;return b},hideErrors:function(){this.addWrapper(this.toHide).hide()},valid:function(){return this.size()==0},size:function(){return this.errorList.length},focusInvalid:function(){if(this.settings.focusInvalid)try{c(this.findLastActive()||this.errorList.length&&this.errorList[0].element||[]).filter(":visible").focus().trigger("focusin")}catch(a){}},findLastActive:function(){var a=this.lastActive;return a&&c.grep(this.errorList,function(b){return b.element.name==a.name}).length==
1&&a},elements:function(){var a=this,b={};return c([]).add(this.currentForm.elements).filter(":input").not(":submit, :reset, :image, [disabled]").not(this.settings.ignore).filter(function(){!this.name&&a.settings.debug&&window.console&&console.error("%o has no name assigned",this);if(this.name in b||!a.objectLength(c(this).rules()))return!1;return b[this.name]=!0})},clean:function(a){return c(a)[0]},errors:function(){return c(this.settings.errorElement+"."+this.settings.errorClass.split(/\s+/)[0],
this.errorContext)},reset:function(){this.successList=[];this.errorList=[];this.errorMap={};this.toShow=c([]);this.toHide=c([]);this.currentElements=c([])},prepareForm:function(){this.reset();this.toHide=this.errors().add(this.containers)},prepareElement:function(a){this.reset();this.toHide=this.errorsFor(a)},check:function(a){a=this.clean(a);this.checkable(a)&&(a=this.findByName(a.name)[0]);var b=c(a).rules(),d=!1;for(method in b){var e={method:method,parameters:b[method]};try{var f=c.validator.methods[method].call(this,
c(a).val().replace(/\r/g,""),a,e.parameters);if(f=="dependency-mismatch")d=!0;else{d=!1;if(f=="pending"){this.toHide=this.toHide.not(this.errorsFor(a));return}if(!f)return this.formatAndAdd(a,e),!1}}catch(g){throw this.settings.debug&&window.console&&console.log("exception occured when checking element "+a.id+", check the '"+e.method+"' method",g),g;}}if(!d)return this.objectLength(b)&&this.successList.push(a),!0},customMetaMessage:function(a,b){if(c.metadata){var d=this.settings.meta?c(a).metadata()[this.settings.meta]:
c(a).metadata();return d&&d.messages&&d.messages[b]}},customMessage:function(a,b){var c=this.settings.messages[a];return c&&(c.constructor==String?c:c[b])},findDefined:function(){for(var a=0;a<arguments.length;a++)if(arguments[a]!==void 0)return arguments[a]},defaultMessage:function(a,b){return this.findDefined(this.customMessage(a.name,b),this.customMetaMessage(a,b),!this.settings.ignoreTitle&&a.title||void 0,c.validator.messages[b],"<strong>Warning: No message defined for "+a.name+"</strong>")},
formatAndAdd:function(a,b){var c=this.defaultMessage(a,b.method),e=/\$?\{(\d+)\}/g;typeof c=="function"?c=c.call(this,b.parameters,a):e.test(c)&&(c=jQuery.format(c.replace(e,"{$1}"),b.parameters));this.errorList.push({message:c,element:a});this.errorMap[a.name]=c;this.submitted[a.name]=c},addWrapper:function(a){this.settings.wrapper&&(a=a.add(a.parent(this.settings.wrapper)));return a},defaultShowErrors:function(){for(var a=0;this.errorList[a];a++){var b=this.errorList[a];this.settings.highlight&&
this.settings.highlight.call(this,b.element,this.settings.errorClass,this.settings.validClass);this.showLabel(b.element,b.message)}if(this.errorList.length)this.toShow=this.toShow.add(this.containers);if(this.settings.success)for(a=0;this.successList[a];a++)this.showLabel(this.successList[a]);if(this.settings.unhighlight){a=0;for(b=this.validElements();b[a];a++)this.settings.unhighlight.call(this,b[a],this.settings.errorClass,this.settings.validClass)}this.toHide=this.toHide.not(this.toShow);this.hideErrors();
this.addWrapper(this.toShow).show()},validElements:function(){return this.currentElements.not(this.invalidElements())},invalidElements:function(){return c(this.errorList).map(function(){return this.element})},showLabel:function(a,b){var d=this.errorsFor(a);d.length?(d.removeClass().addClass(this.settings.errorClass),d.attr("generated")&&d.html(b)):(d=c("<"+this.settings.errorElement+"/>").attr({"for":this.idOrName(a),generated:!0}).addClass(this.settings.errorClass).html(b||""),this.settings.wrapper&&
(d=d.hide().show().wrap("<"+this.settings.wrapper+"/>").parent()),this.labelContainer.append(d).length||(this.settings.errorPlacement?this.settings.errorPlacement(d,c(a)):d.insertAfter(a)));!b&&this.settings.success&&(d.text(""),typeof this.settings.success=="string"?d.addClass(this.settings.success):this.settings.success(d));this.toShow=this.toShow.add(d)},errorsFor:function(a){var b=this.idOrName(a);return this.errors().filter(function(){return c(this).attr("for")==b})},idOrName:function(a){return this.groups[a.name]||
(this.checkable(a)?a.name:a.id||a.name)},checkable:function(a){return/radio|checkbox/i.test(a.type)},findByName:function(a){var b=this.currentForm;return c(document.getElementsByName(a)).map(function(c,e){return e.form==b&&e.name==a&&e||null})},getLength:function(a,b){switch(b.nodeName.toLowerCase()){case "select":return c("option:selected",b).length;case "input":if(this.checkable(b))return this.findByName(b.name).filter(":checked").length}return a.length},depend:function(a,b){return this.dependTypes[typeof a]?
this.dependTypes[typeof a](a,b):!0},dependTypes:{"boolean":function(a){return a},string:function(a,b){return!!c(a,b.form).length},"function":function(a,b){return a(b)}},optional:function(a){return!c.validator.methods.required.call(this,c.trim(c(a).val()),a)&&"dependency-mismatch"},startRequest:function(a){this.pending[a.name]||(this.pendingRequest++,this.pending[a.name]=!0)},stopRequest:function(a,b){this.pendingRequest--;if(this.pendingRequest<0)this.pendingRequest=0;delete this.pending[a.name];
if(b&&this.pendingRequest==0&&this.formSubmitted&&this.form())c(this.currentForm).submit(),this.formSubmitted=!1;else if(!b&&this.pendingRequest==0&&this.formSubmitted)c(this.currentForm).triggerHandler("invalid-form",[this]),this.formSubmitted=!1},previousValue:function(a){return c.data(a,"previousValue")||c.data(a,"previousValue",{old:null,valid:!0,message:this.defaultMessage(a,"remote")})}},classRuleSettings:{required:{required:!0},email:{email:!0},url:{url:!0},date:{date:!0},dateISO:{dateISO:!0},
dateDE:{dateDE:!0},number:{number:!0},numberDE:{numberDE:!0},digits:{digits:!0},creditcard:{creditcard:!0},phone:{phone:!0}},addClassRules:function(a,b){a.constructor==String?this.classRuleSettings[a]=b:c.extend(this.classRuleSettings,a)},classRules:function(a){var b={};(a=c(a).attr("class"))&&c.each(a.split(" "),function(){this in c.validator.classRuleSettings&&c.extend(b,c.validator.classRuleSettings[this])});return b},attributeRules:function(a){var b={},a=c(a);for(method in c.validator.methods){var d=
a.attr(method);d&&(b[method]=d)}b.maxlength&&/-1|2147483647|524288/.test(b.maxlength)&&delete b.maxlength;return b},metadataRules:function(a){if(!c.metadata)return{};var b=c.data(a.form,"validator").settings.meta;return b?c(a).metadata()[b]:c(a).metadata()},staticRules:function(a){var b={},d=c.data(a.form,"validator");d.settings.rules&&(b=c.validator.normalizeRule(d.settings.rules[a.name])||{});return b},normalizeRules:function(a,b){c.each(a,function(d,e){if(e===!1)delete a[d];else if(e.param||e.depends){var f=
!0;switch(typeof e.depends){case "string":f=!!c(e.depends,b.form).length;break;case "function":f=e.depends.call(b,b)}f?a[d]=e.param!==void 0?e.param:!0:delete a[d]}});c.each(a,function(d,e){a[d]=c.isFunction(e)?e(b):e});c.each(["minlength","maxlength","min","max"],function(){a[this]&&(a[this]=Number(a[this]))});c.each(["rangelength","range"],function(){a[this]&&(a[this]=[Number(a[this][0]),Number(a[this][1])])});if(c.validator.autoCreateRanges){if(a.min&&a.max)a.range=[a.min,a.max],delete a.min,delete a.max;
if(a.minlength&&a.maxlength)a.rangelength=[a.minlength,a.maxlength],delete a.minlength,delete a.maxlength}a.messages&&delete a.messages;return a},normalizeRule:function(a){if(typeof a=="string"){var b={};c.each(a.split(/\s/),function(){b[this]=!0});a=b}return a},addMethod:function(a,b,d){c.validator.methods[a]=b;c.validator.messages[a]=d!=void 0?d:c.validator.messages[a];b.length<3&&c.validator.addClassRules(a,c.validator.normalizeRule(a))},methods:{required:function(a,b,d){if(!this.depend(d,b))return"dependency-mismatch";
switch(b.nodeName.toLowerCase()){case "select":return(a=c(b).val())&&a.length>0;case "input":if(this.checkable(b))return this.getLength(a,b)>0;default:return c.trim(a).length>0}},remote:function(a,b,d){if(this.optional(b))return"dependency-mismatch";var e=this.previousValue(b);this.settings.messages[b.name]||(this.settings.messages[b.name]={});e.originalMessage=this.settings.messages[b.name].remote;this.settings.messages[b.name].remote=e.message;d=typeof d=="string"&&{url:d}||d;if(e.old!==a){e.old=
a;var f=this;this.startRequest(b);var g={};g[b.name]=a;c.ajax(c.extend(!0,{url:d,mode:"abort",port:"validate"+b.name,dataType:"json",data:g,success:function(d){f.settings.messages[b.name].remote=e.originalMessage;var g=d===!0;if(g){var h=f.formSubmitted;f.prepareElement(b);f.formSubmitted=h;f.successList.push(b);f.showErrors()}else h={},d=e.message=d||f.defaultMessage(b,"remote"),h[b.name]=c.isFunction(d)?d(a):d,f.showErrors(h);e.valid=g;f.stopRequest(b,g)}},d));return"pending"}else if(this.pending[b.name])return"pending";
return e.valid},minlength:function(a,b,d){return this.optional(b)||this.getLength(c.trim(a),b)>=d},maxlength:function(a,b,d){return this.optional(b)||this.getLength(c.trim(a),b)<=d},rangelength:function(a,b,d){a=this.getLength(c.trim(a),b);return this.optional(b)||a>=d[0]&&a<=d[1]},min:function(a,b,c){return this.optional(b)||a>=c},max:function(a,b,c){return this.optional(b)||a<=c},range:function(a,b,c){return this.optional(b)||a>=c[0]&&a<=c[1]},phone:function(a,b){var d=this.getLength(c.trim(a),
b);return this.optional(b)||d>=7&&d<=32},email:function(a,b){return this.optional(b)||/^((([a-z]|\d|[!#\$%&'\*\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?$/i.test(a)},
url:function(a,b){return this.optional(b)||/^(https?|ftp):\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i.test(a)},
date:function(a,b){return this.optional(b)||!/Invalid|NaN/.test(new Date(a))},dateISO:function(a,b){return this.optional(b)||/^\d{4}[\/-]\d{1,2}[\/-]\d{1,2}$/.test(a)},number:function(a,b){return this.optional(b)||/^-?(?:\d+|\d{1,3}(?:,\d{3})+)(?:\.\d+)?$/.test(a)},digits:function(a,b){return this.optional(b)||/^\d+$/.test(a)},creditcard:function(a,b){if(this.optional(b))return"dependency-mismatch";if(/[^0-9\-]+/.test(a))return!1;for(var c=0,e=0,f=!1,a=a.replace(/\D/g,""),g=a.length-1;g>=0;g--){e=
a.charAt(g);e=parseInt(e,10);if(f&&(e*=2)>9)e-=9;c+=e;f=!f}return c%10==0},accept:function(a,b,c){c=typeof c=="string"?c.replace(/,/g,"|"):"png|jpe?g|gif";return this.optional(b)||a.match(RegExp(".("+c+")$","i"))},equalTo:function(a,b,d){d=c(d).unbind(".validate-equalTo").bind("blur.validate-equalTo",function(){c(b).valid()});return a==d.val()}}});c.format=c.validator.format})(jQuery);
(function(c){var a=c.ajax,b={};c.ajax=function(d){var d=c.extend(d,c.extend({},c.ajaxSettings,d)),e=d.port;if(d.mode=="abort")return b[e]&&b[e].abort(),b[e]=a.apply(this,arguments);return a.apply(this,arguments)}})(jQuery);
(function(c){!jQuery.event.special.focusin&&!jQuery.event.special.focusout&&document.addEventListener&&c.each({focus:"focusin",blur:"focusout"},function(a,b){function d(a){a=c.event.fix(a);a.type=b;return c.event.handle.call(this,a)}c.event.special[b]={setup:function(){this.addEventListener(a,d,!0)},teardown:function(){this.removeEventListener(a,d,!0)},handler:function(a){arguments[0]=c.event.fix(a);arguments[0].type=b;return c.event.handle.apply(this,arguments)}}});c.extend(c.fn,{validateDelegate:function(a,
b,d){return this.bind(b,function(b){var f=c(b.target);if(f.is(a))return d.apply(f,arguments)})}})})(jQuery);
;
// !MeAb! /c/s/d/e/j/e/jquery.ba-hashchange.js
(function(a,o,p){function d(a){a=a||location.href;return"#"+a.replace(/^[^#]*#?(.*)$/,"$1")}var c="hashchange",j=document,e,g=a.event.special,q=j.documentMode,l="on"+c in o&&(q===p||q>7);a.fn[c]=function(a){return a?this.bind(c,a):this.trigger(c)};a.fn[c].delay=50;g[c]=a.extend(g[c],{setup:function(){if(l)return!1;a(e.start)},teardown:function(){if(l)return!1;a(e.stop)}});e=function(){function e(){var f=d(),b=g(k);if(f!==k)m(k=f,b),a(o).trigger(c);else if(b!==k)location.href=location.href.replace(/#.*/,
"")+b;h=setTimeout(e,a.fn[c].delay)}var i={},h,k=d(),n=function(a){return a},m=n,g=n;i.start=function(){h||e()};i.stop=function(){h&&clearTimeout(h);h=p};a.browser.msie&&!l&&function(){var f,b;i.start=function(){if(!f)b=(b=a.fn[c].src)&&b+d(),f=a('<iframe tabindex="-1" title="empty"/>').hide().one("load",function(){b||m(d());e()}).attr("src",b||"javascript:0").insertAfter("body")[0].contentWindow,j.onpropertychange=function(){try{if(event.propertyName==="title")f.document.title=j.title}catch(a){}}};
i.stop=n;g=function(){return d(f.location.href)};m=function(b,e){var d=f.document,g=a.fn[c].domain;if(b!==e)d.title=j.title,d.open(),g&&d.write('<script>document.domain="'+g+'"<\/script>'),d.close(),f.location.hash=b}}();return i}()})(jQuery,this);
;
// !MeAb! /c/s/d/e/j/e/jquery.appear-1.1.1.min.js
(function(a){a.fn.appear=function(d,b){var e=a.extend({one:!0},b);return this.each(function(){var c=a(this);c.appeared=!1;if(d){var g=a(window),f=function(){if(c.is(":visible")){var a=g.scrollLeft(),d=g.scrollTop(),b=c.offset(),f=b.left,b=b.top;b+c.height()>=d&&b<=d+g.height()&&f+c.width()>=a&&f<=a+g.width()?c.appeared||c.trigger("appear",e.data):c.appeared=!1}else c.appeared=!1},b=function(){c.appeared=!0;if(e.one){g.unbind("scroll",f);var b=a.inArray(f,a.fn.appear.checks);b>=0&&a.fn.appear.checks.splice(b,
1)}d.apply(this,arguments)};if(e.one)c.one("appear",e.data,b);else c.bind("appear",e.data,b);g.scroll(f);a.fn.appear.checks.push(f);f()}else c.trigger("appear",e.data)})};a.extend(a.fn.appear,{checks:[],timeout:null,checkAll:function(){var d=a.fn.appear.checks.length;if(d>0)for(;d--;)a.fn.appear.checks[d]()},run:function(){a.fn.appear.timeout&&clearTimeout(a.fn.appear.timeout);a.fn.appear.timeout=setTimeout(a.fn.appear.checkAll,20)}});a.each(["append","prepend","after","before","attr","removeAttr",
"addClass","removeClass","toggleClass","remove","css","show","hide"],function(d,b){var e=a.fn[b];e&&(a.fn[b]=function(){var b=e.apply(this,arguments);a.fn.appear.run();return b})})})(jQuery);
;
// !MeAb! /c/s/d/e/j/e/jScrollTouch-2.1.js
(function(c){c.fn.jScrollTouch=function(l){l||(l={});var p=navigator.userAgent.match(/iPhone/i)||navigator.userAgent.match(/iPod/i)||navigator.userAgent.match(/iPad/i)?1:0;if(p){optionDefault={ease:650,displayScrollBar:!0,wrapperClass:"",wrapperStyle:{}};var d=c.extend(optionDefault,l);c(this).css({overflow:"hidden"});c(this).css("position")!="relative"&&c(this).css("position")!="absolute"&&c(this).css({position:"relative"});return this.each(function(){function l(){b=0;c(".jScrollTouch",a).children().each(function(){b+=
c(this).outerHeight()});b=Math.max(b,c(".jScrollTouch",a).outerHeight());e=b>a.height();m=b;n=a.innerHeight()*(a.innerHeight()/m)+2;s=m-a.height();g=Math.max.apply(Math,c(".jScrollTouch",a).children().map(function(){return c(this).width()}).get());f=g>a.width();o=g;t=g-a.width();u=a.innerWidth()*(a.innerWidth()/o)+2;h.css({display:"none",position:"absolute",width:"5px",height:n+"px",background:"black",border:"1px white solid","-webkit-border-radius":"5px",opacity:"0.9"});i.css({display:"none",position:"absolute",
height:"5px",width:u+"px",background:"black",border:"1px white solid","-webkit-border-radius":"5px",opacity:"0.9"});a.unbind("mousemove touchmove mouseup touchend")}var v=c("<div class='jScrollTouch "+d.wrapperClass+"' style ='-webkit-transition-property: -webkit-transform; -webkit-transition-duration: "+d.ease+"ms; -webkit-transition-timing-function: ease-out; -webkit-transition-delay: initial; -webkit-transform: translate3d(0px, 0px, 0px); '/>");v.css(d.wrapperStyle);c(this).wrapInner(v);var a=
c(this),q=0,j=0,s=0,b=0,e=0,m=0,n=0,r=0,k=0,g=0,t=0,f=!1,o=0,u=0,h=c('<div style="-webkit-transition-property: top; -webkit-transition-duration: '+d.ease+'ms; -webkit-transition-timing-function: ease-out; -webkit-transition-delay: initial;"></div>'),i=c('<div style="-webkit-transition-property: left; -webkit-transition-duration: '+d.ease+'ms; -webkit-transition-timing-function: ease-out; -webkit-transition-delay: initial"></div>');a.append(h);a.append(i);a.bind("mousedown touchstart",function(b){p&&
b.originalEvent.touches&&(b=b.originalEvent.touches[0]);var g=b.pageY,n=b.pageX;l();e&&d.displayScrollBar&&h.fadeIn(300);f&&d.displayScrollBar&&i.fadeIn(300);a.bind("mousemove touchmove ",function(b){p&&b.originalEvent.touches&&(b.preventDefault(),b=b.originalEvent.touches[0]);q=b.pageY-g;r=b.pageX-n;var b=f?k+r:0,d=e?j+q:0;c(".jScrollTouch",a).css({"-webkit-transform":"translate3d("+b+"px, "+d+"px, 0px)"});e&&h.css({left:a.innerWidth()-7+"px",top:-d*a.innerHeight()/m+"px"});f&&i.css({top:a.innerHeight()-
7+"px",left:-b*a.innerWidth()/o+"px"})});a.bind("mouseup touchend",function(){a.unbind("mousemove touchmove mouseup touchend");j+=q;k+=r;j=e?Math.max(Math.min(j,0),-s):0;k=f?Math.max(Math.min(k,0),-t):0;c(".jScrollTouch",a).css({"-webkit-transform":"translate3d("+k+"px, "+j+"px, 0px)"});e&&h.css({left:a.innerWidth()-7+"px",top:-j*a.innerHeight()/m+"px"});f&&i.css({top:a.innerHeight()-7+"px",left:-k*a.innerWidth()/o+"px"});e&&h.fadeOut(300,function(){c(this).hide()});f&&i.fadeOut(300,function(){c(this).hide()})})})})}}})(jQuery);
;
// !MeAb! /c/s/d/e/j/e/s/swfobject.js
var swfobject=function(){function u(){if(!s){try{var a=d.getElementsByTagName("body")[0].appendChild(d.createElement("span"));a.parentNode.removeChild(a)}catch(b){return}s=!0;for(var a=x.length,c=0;c<a;c++)x[c]()}}function L(a){s?a():x[x.length]=a}function M(a){if(typeof m.addEventListener!=i)m.addEventListener("load",a,!1);else if(typeof d.addEventListener!=i)d.addEventListener("load",a,!1);else if(typeof m.attachEvent!=i)U(m,"onload",a);else if(typeof m.onload=="function"){var b=m.onload;m.onload=
function(){b();a()}}else m.onload=a}function V(){var a=d.getElementsByTagName("body")[0],b=d.createElement(r);b.setAttribute("type",y);var c=a.appendChild(b);if(c){var f=0;(function(){if(typeof c.GetVariable!=i){var g=c.GetVariable("$version");if(g)g=g.split(" ")[1].split(","),e.pv=[parseInt(g[0],10),parseInt(g[1],10),parseInt(g[2],10)]}else if(f<10){f++;setTimeout(arguments.callee,10);return}a.removeChild(b);c=null;D()})()}else D()}function D(){var a=o.length;if(a>0)for(var b=0;b<a;b++){var c=o[b].id,
f=o[b].callbackFn,g={success:!1,id:c};if(e.pv[0]>0){var d=n(c);if(d)if(z(o[b].swfVersion)&&!(e.wk&&e.wk<312)){if(t(c,!0),f)g.success=!0,g.ref=E(c),f(g)}else if(o[b].expressInstall&&F()){g={};g.data=o[b].expressInstall;g.width=d.getAttribute("width")||"0";g.height=d.getAttribute("height")||"0";if(d.getAttribute("class"))g.styleclass=d.getAttribute("class");if(d.getAttribute("align"))g.align=d.getAttribute("align");for(var h={},d=d.getElementsByTagName("param"),j=d.length,k=0;k<j;k++)d[k].getAttribute("name").toLowerCase()!=
"movie"&&(h[d[k].getAttribute("name")]=d[k].getAttribute("value"));G(g,h,c,f)}else W(d),f&&f(g)}else if(t(c,!0),f){if((c=E(c))&&typeof c.SetVariable!=i)g.success=!0,g.ref=c;f(g)}}}function E(a){var b=null;if((a=n(a))&&a.nodeName=="OBJECT")typeof a.SetVariable!=i?b=a:(a=a.getElementsByTagName(r)[0])&&(b=a);return b}function F(){return!A&&z("6.0.65")&&(e.win||e.mac)&&!(e.wk&&e.wk<312)}function G(a,b,c,f){A=!0;H=f||null;N={success:!1,id:c};var g=n(c);if(g){g.nodeName=="OBJECT"?(w=I(g),B=null):(w=g,B=
c);a.id=O;if(typeof a.width==i||!/%$/.test(a.width)&&parseInt(a.width,10)<310)a.width="310";if(typeof a.height==i||!/%$/.test(a.height)&&parseInt(a.height,10)<137)a.height="137";d.title=d.title.slice(0,47)+" - Flash Player Installation";f=e.ie&&e.win?"ActiveX":"PlugIn";f="MMredirectURL="+m.location.toString().replace(/&/g,"%26")+"&MMplayerType="+f+"&MMdoctitle="+d.title;typeof b.flashvars!=i?b.flashvars+="&"+f:b.flashvars=f;if(e.ie&&e.win&&g.readyState!=4)f=d.createElement("div"),c+="SWFObjectNew",
f.setAttribute("id",c),g.parentNode.insertBefore(f,g),g.style.display="none",function(){g.readyState==4?g.parentNode.removeChild(g):setTimeout(arguments.callee,10)}();J(a,b,c)}}function W(a){if(e.ie&&e.win&&a.readyState!=4){var b=d.createElement("div");a.parentNode.insertBefore(b,a);b.parentNode.replaceChild(I(a),b);a.style.display="none";(function(){a.readyState==4?a.parentNode.removeChild(a):setTimeout(arguments.callee,10)})()}else a.parentNode.replaceChild(I(a),a)}function I(a){var b=d.createElement("div");
if(e.win&&e.ie)b.innerHTML=a.innerHTML;else if(a=a.getElementsByTagName(r)[0])if(a=a.childNodes)for(var c=a.length,f=0;f<c;f++)!(a[f].nodeType==1&&a[f].nodeName=="PARAM")&&a[f].nodeType!=8&&b.appendChild(a[f].cloneNode(!0));return b}function J(a,b,c){var f,g=n(c);if(e.wk&&e.wk<312)return f;if(g){if(typeof a.id==i)a.id=c;if(e.ie&&e.win){var q="",h;for(h in a)if(a[h]!=Object.prototype[h])h.toLowerCase()=="data"?b.movie=a[h]:h.toLowerCase()=="styleclass"?q+=' class="'+a[h]+'"':h.toLowerCase()!="classid"&&
(q+=" "+h+'="'+a[h]+'"');h="";for(var j in b)b[j]!=Object.prototype[j]&&(h+='<param name="'+j+'" value="'+b[j]+'" />');g.outerHTML='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'+q+">"+h+"</object>";C[C.length]=a.id;f=n(a.id)}else{j=d.createElement(r);j.setAttribute("type",y);for(var k in a)a[k]!=Object.prototype[k]&&(k.toLowerCase()=="styleclass"?j.setAttribute("class",a[k]):k.toLowerCase()!="classid"&&j.setAttribute(k,a[k]));for(q in b)b[q]!=Object.prototype[q]&&q.toLowerCase()!=
"movie"&&(a=j,h=q,k=b[q],c=d.createElement("param"),c.setAttribute("name",h),c.setAttribute("value",k),a.appendChild(c));g.parentNode.replaceChild(j,g);f=j}}return f}function P(a){var b=n(a);if(b&&b.nodeName=="OBJECT")e.ie&&e.win?(b.style.display="none",function(){if(b.readyState==4){var c=n(a);if(c){for(var f in c)typeof c[f]=="function"&&(c[f]=null);c.parentNode.removeChild(c)}}else setTimeout(arguments.callee,10)}()):b.parentNode.removeChild(b)}function n(a){var b=null;try{b=d.getElementById(a)}catch(c){}return b}
function U(a,b,c){a.attachEvent(b,c);v[v.length]=[a,b,c]}function z(a){var b=e.pv,a=a.split(".");a[0]=parseInt(a[0],10);a[1]=parseInt(a[1],10)||0;a[2]=parseInt(a[2],10)||0;return b[0]>a[0]||b[0]==a[0]&&b[1]>a[1]||b[0]==a[0]&&b[1]==a[1]&&b[2]>=a[2]?!0:!1}function Q(a,b,c,f){if(!e.ie||!e.mac){var g=d.getElementsByTagName("head")[0];if(g){c=c&&typeof c=="string"?c:"screen";f&&(K=l=null);if(!l||K!=c)f=d.createElement("style"),f.setAttribute("type","text/css"),f.setAttribute("media",c),l=g.appendChild(f),
e.ie&&e.win&&typeof d.styleSheets!=i&&d.styleSheets.length>0&&(l=d.styleSheets[d.styleSheets.length-1]),K=c;e.ie&&e.win?l&&typeof l.addRule==r&&l.addRule(a,b):l&&typeof d.createTextNode!=i&&l.appendChild(d.createTextNode(a+" {"+b+"}"))}}}function t(a,b){if(R){var c=b?"visible":"hidden";s&&n(a)?n(a).style.visibility=c:Q("#"+a,"visibility:"+c)}}function S(a){return/[\\\"<>\.;]/.exec(a)!=null&&typeof encodeURIComponent!=i?encodeURIComponent(a):a}var i="undefined",r="object",y="application/x-shockwave-flash",
O="SWFObjectExprInst",m=window,d=document,p=navigator,T=!1,x=[function(){T?V():D()}],o=[],C=[],v=[],w,B,H,N,s=!1,A=!1,l,K,R=!0,e=function(){var a=typeof d.getElementById!=i&&typeof d.getElementsByTagName!=i&&typeof d.createElement!=i,b=p.userAgent.toLowerCase(),c=p.platform.toLowerCase(),f=c?/win/.test(c):/win/.test(b),c=c?/mac/.test(c):/mac/.test(b),b=/webkit/.test(b)?parseFloat(b.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")):!1,g=!+"\u000b1",e=[0,0,0],h=null;if(typeof p.plugins!=i&&typeof p.plugins["Shockwave Flash"]==
r){if((h=p.plugins["Shockwave Flash"].description)&&!(typeof p.mimeTypes!=i&&p.mimeTypes[y]&&!p.mimeTypes[y].enabledPlugin))T=!0,g=!1,h=h.replace(/^.*\s+(\S+\s+\S+$)/,"$1"),e[0]=parseInt(h.replace(/^(.*)\..*$/,"$1"),10),e[1]=parseInt(h.replace(/^.*\.(.*)\s.*$/,"$1"),10),e[2]=/[a-zA-Z]/.test(h)?parseInt(h.replace(/^.*[a-zA-Z]+(.*)$/,"$1"),10):0}else if(typeof m.ActiveXObject!=i)try{var j=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");if(j&&(h=j.GetVariable("$version")))g=!0,h=h.split(" ")[1].split(","),
e=[parseInt(h[0],10),parseInt(h[1],10),parseInt(h[2],10)]}catch(k){}return{w3:a,pv:e,wk:b,ie:g,win:f,mac:c}}();(function(){e.w3&&((typeof d.readyState!=i&&d.readyState=="complete"||typeof d.readyState==i&&(d.getElementsByTagName("body")[0]||d.body))&&u(),s||(typeof d.addEventListener!=i&&d.addEventListener("DOMContentLoaded",u,!1),e.ie&&e.win&&(d.attachEvent("onreadystatechange",function(){d.readyState=="complete"&&(d.detachEvent("onreadystatechange",arguments.callee),u())}),m==top&&function(){if(!s){try{d.documentElement.doScroll("left")}catch(a){setTimeout(arguments.callee,
0);return}u()}}()),e.wk&&function(){s||(/loaded|complete/.test(d.readyState)?u():setTimeout(arguments.callee,0))}(),M(u)))})();(function(){e.ie&&e.win&&window.attachEvent("onunload",function(){for(var a=v.length,b=0;b<a;b++)v[b][0].detachEvent(v[b][1],v[b][2]);a=C.length;for(b=0;b<a;b++)P(C[b]);for(var c in e)e[c]=null;e=null;for(var f in swfobject)swfobject[f]=null;swfobject=null})})();return{registerObject:function(a,b,c,f){if(e.w3&&a&&b){var d={};d.id=a;d.swfVersion=b;d.expressInstall=c;d.callbackFn=
f;o[o.length]=d;t(a,!1)}else f&&f({success:!1,id:a})},getObjectById:function(a){if(e.w3)return E(a)},embedSWF:function(a,b,c,d,g,q,h,j,k,m){var n={success:!1,id:b};e.w3&&!(e.wk&&e.wk<312)&&a&&b&&c&&d&&g?(t(b,!1),L(function(){c+="";d+="";var e={};if(k&&typeof k===r)for(var l in k)e[l]=k[l];e.data=a;e.width=c;e.height=d;l={};if(j&&typeof j===r)for(var o in j)l[o]=j[o];if(h&&typeof h===r)for(var p in h)typeof l.flashvars!=i?l.flashvars+="&"+p+"="+h[p]:l.flashvars=p+"="+h[p];if(z(g))o=J(e,l,b),e.id==
b&&t(b,!0),n.success=!0,n.ref=o;else if(q&&F()){e.data=q;G(e,l,b,m);return}else t(b,!0);m&&m(n)})):m&&m(n)},switchOffAutoHideShow:function(){R=!1},ua:e,getFlashPlayerVersion:function(){return{major:e.pv[0],minor:e.pv[1],release:e.pv[2]}},hasFlashPlayerVersion:z,createSWF:function(a,b,c){if(e.w3)return J(a,b,c)},showExpressInstall:function(a,b,c,d){e.w3&&F()&&G(a,b,c,d)},removeSWF:function(a){e.w3&&P(a)},createCSS:function(a,b,c,d){e.w3&&Q(a,b,c,d)},addDomLoadEvent:L,addLoadEvent:M,getQueryParamValue:function(a){var b=
d.location.search||d.location.hash;if(b){/\?/.test(b)&&(b=b.split("?")[1]);if(a==null)return S(b);for(var b=b.split("&"),c=0;c<b.length;c++)if(b[c].substring(0,b[c].indexOf("="))==a)return S(b[c].substring(b[c].indexOf("=")+1))}return""},expressInstallCallback:function(){if(A){var a=n(O);if(a&&w){a.parentNode.replaceChild(w,a);if(B&&(t(B,!0),e.ie&&e.win))w.style.display="block";H&&H(N)}A=!1}}}}();
;
// !MeAb! /c/s/d/e/j/e/jquery.address-1.3.2.min.js
(function(c){c.address=function(){var w=function(a){c(c.address).trigger(c.extend(c.Event(a),function(){for(var a={},d=c.address.parameterNames(),e=0,f=d.length;e<f;e++)a[d[e]]=c.address.parameter(d[e]);return{value:c.address.value(),path:c.address.path(),pathNames:c.address.pathNames(),parameterNames:d,parameters:a,queryString:c.address.queryString()}}.call(c.address)))},q=function(a,b,d){c(c.address).bind(a,b,d);return c.address},L=function(){return x.pushState&&d.state!==h},s=function(){return("/"+
f.pathname.replace(RegExp(d.state),"")+f.search+(E()?"#"+E():"")).replace(W,"/")},E=function(){var a=f.href.indexOf("#");return a!=-1?y(f.href.substr(a+1),j):""},u=function(){return L()?s():E()},o=function(a){a=a.toString();return(d.strict&&a.substr(0,1)!="/"?"/":"")+a},y=function(a,b){if(d.crawlable&&b)return(a!=""?"!":"")+a;return a.replace(/^\!/,"")},z=function(a,b){return parseInt(a.css(b),10)},X=function(a){for(var b,c,d=0,e=a.childNodes.length;d<e;d++)if(a.childNodes[d].src&&(b=String(a.childNodes[d].src)),
c=X(a.childNodes[d]))b=c;return b},H=function(){if(!M){var a=u(),b=e!=a;if(A&&n<523){if(F!=x.length)F=x.length,D[F-1]!==h&&(e=D[F-1]),G(j)}else b&&(B&&n<7?f.reload():(B&&n<8&&d.history&&v(P,50),e=a,G(j)))}},G=function(a){w(Y);w(a?Z:$);v(aa,10)},aa=function(){if(d.tracker!=="null"&&d.tracker!==null){var a=c.isFunction(d.tracker)?d.tracker:g[d.tracker],b=(f.pathname+f.search+(c.address&&!L()?c.address.value():"")).replace(/\/\//,"/").replace(/^\/$/,"");c.isFunction(a)?a(b):c.isFunction(g.urchinTracker)?
g.urchinTracker(b):g.pageTracker!==h&&c.isFunction(g.pageTracker._trackPageview)?g.pageTracker._trackPageview(b):g._gaq!==h&&c.isFunction(g._gaq.push)&&g._gaq.push(["_trackPageview",decodeURI(b)])}},P=function(){var a="javascript:"+j+";document.open();document.writeln('<html><head><title>"+l.title.replace("'","\\'")+"</title><script>var "+p+' = "'+encodeURIComponent(u())+(l.domain!=f.hostname?'";document.domain="'+l.domain:"")+"\";<\/script></head></html>');document.close();";n<7?m.src=a:m.contentWindow.location.replace(a)},
ca=function(){if(I&&ba!=-1){var a,b=I.substr(ba+1).split("&");for(t=0;t<b.length;t++)a=b[t].split("="),/^(autoUpdate|crawlable|history|strict|wrap)$/.test(a[0])&&(d[a[0]]=isNaN(a[1])?/^(true|yes)$/i.test(a[1]):parseInt(a[1],10)!==0),/^(state|tracker)$/.test(a[0])&&(d[a[0]]=a[1]);I=null}e=u()},ea=function(){if(!da){da=k;ca();var a=function(){oa.call(this);pa.call(this)},b=c("body").ajaxComplete(a);a();d.wrap&&(c("body > *").wrapAll('<div style="padding:'+(z(b,"marginTop")+z(b,"paddingTop"))+"px "+
(z(b,"marginRight")+z(b,"paddingRight"))+"px "+(z(b,"marginBottom")+z(b,"paddingBottom"))+"px "+(z(b,"marginLeft")+z(b,"paddingLeft"))+'px;" />').parent().wrap('<div id="'+p+'" style="height:100%;overflow:auto;position:relative;'+(A?window.statusbar.visible&&!/chrome/i.test(Q)?"":"resize:both;":"")+'" />'),c("html, body").css({height:"100%",margin:0,padding:0,overflow:"hidden"}),A&&c('<style type="text/css" />').appendTo("head").text("#"+p+"::-webkit-resizer { background-color: #fff; }"));B&&n<8?
(a=l.getElementsByTagName("frameset")[0],m=l.createElement((a?"":"i")+"frame"),a?(a.insertAdjacentElement("beforeEnd",m),a[a.cols?"cols":"rows"]+=",0",m.noResize=k,m.frameBorder=m.frameSpacing=0):(m.style.display="none",m.style.width=m.style.height=0,m.tabIndex=-1,l.body.insertAdjacentElement("afterBegin",m)),v(function(){c(m).bind("load",function(){var a=m.contentWindow;e=a[p]!==h?c.address.decode(a[p]):"";if(e!=u())G(j),f.hash=y(e,k)});m.contentWindow[p]===h&&P()},50)):A&&(n<418&&(c(l.body).append('<form id="'+
p+'" style="position:absolute;top:-9999px;" method="get"></form>'),R=l.getElementById(p)),f[p]===h&&(f[p]={}),f[p][f.pathname]!==h&&(D=f[p][f.pathname].split(",")));v(function(){w("init");G(j)},1);L()||(B&&n>7||!B&&"on"+J in g?g.addEventListener?g.addEventListener(J,H,j):g.attachEvent&&g.attachEvent("on"+J,H):qa(H,50))}},oa=function(){var a,b=c("a"),d=b.size(),e=-1;v(function(){++e!=d&&(a=c(b.get(e)),a.is('[rel*="address:"]')&&a.address(),v(arguments.callee,1))},1)},ra=function(){e!=u()&&(e=u(),G(j))},
sa=function(){g.removeEventListener?g.removeEventListener(J,H,j):g.detachEvent&&g.detachEvent("on"+J,H)},pa=function(){if(d.crawlable){var a=f.pathname.replace(/\/$/,"");c("body").html().indexOf("_escaped_fragment_")!=-1&&c("a[href]:not([href^=http]), , a[href*="+document.domain+"]").each(function(){var b=c(this).attr("href").replace(/^http:/,"").replace(RegExp(a+"/?$"),"");(b==""||b.indexOf("_escaped_fragment_")!=-1)&&c(this).attr("href","#"+c.address.decode(b.replace(/\/(.*)\?_escaped_fragment_=(.*)$/,
"!$2")))})}},fa=function(a){return a.replace(/\+/g," ")},C=function(a){return ga(S(a)).replace(/%20/g,"+")},ha=function(a){return a.split("#")[0].split("?")[0]},ia=function(a){var a=ha(a),b=a.replace(W,"/").split("/");(a.substr(0,1)=="/"||a.length===0)&&b.splice(0,1);a.substr(a.length-1,1)=="/"&&b.splice(b.length-1,1);return b},K=function(a){a=a.split("?");return a.slice(1,a.length).join("?").split("#")[0]},ja=function(a,b){if(b=K(b)){params=b.split("&");b=[];for(t=0;t<params.length;t++){var d=params[t].split("=");
(d[0]==a||c.address.decode(d[0])==a)&&b.push(d.slice(1).join("="))}if(b.length!==0)return b.length!=1?b:b[0]}},ka=function(a){var b=K(a),a=[];if(b&&b.indexOf("=")!=-1)for(var b=b.split("&"),d=0;d<b.length;d++){var e=b[d].split("=")[0];c.inArray(e,a)==-1&&a.push(e)}return a},N=function(a){a=a.split("#");return a.slice(1,a.length).join("#")},h,p="jQueryAddress",J="hashchange",Y="change",Z="internalChange",$="externalChange",k=!0,j=!1,d={autoUpdate:k,crawlable:j,history:k,strict:k,wrap:j},r=c.browser,
n=parseFloat(c.browser.version),la=r.mozilla,B=r.msie,ma=r.opera,A=r.webkit||r.safari,T=j,g;try{g=top.document!==h?top:window}catch(ua){g=window}var l=g.document,x=g.history,f=g.location,qa=setInterval,v=setTimeout,ga=encodeURIComponent,S=decodeURIComponent,W=/\/{2,9}/g,Q=navigator.userAgent,m,R,I=X(document),ba=I?I.indexOf("?"):-1,U=l.title,F=x.length,M=j,da=j,V=k,na=k,O=j,D=[],e=u();B&&(n=parseFloat(Q.substr(Q.indexOf("MSIE")+4)),l.documentMode&&l.documentMode!=n&&(n=l.documentMode!=8?7:8),c(document).bind("propertychange",
function(){if(l.title!=U&&l.title.indexOf("#"+u())!=-1)l.title=U}));if(T=la&&n>=1||B&&n>=6||ma&&n>=9.5||A&&n>=312){for(var t=1;t<F;t++)D.push("");D.push(e);if(ma)history.navigationMode="compatible";if(document.readyState=="complete")var ta=setInterval(function(){c.address&&(ea(),clearInterval(ta))},50);else ca(),c(ea);r=s();d.state!==h&&(x.pushState?r.substr(0,3)=="/#/"&&f.replace(d.state.replace(/^\/$/,"")+r.substr(2)):r!="/"&&r.replace(/^\/#/,"")!=E()&&f.replace(d.state.replace(/^\/$/,"")+"/#"+
r));c(window).bind({popstate:ra,unload:sa})}else!T&&E()!=""||A&&n<418&&E()!=""&&f.search!=""?f.replace(f.href.substr(0,f.href.indexOf("#"))):aa();return{bind:function(a,b,c){return q(a,b,c)},init:function(a){return q("init",a)},change:function(a){return q(Y,a)},internalChange:function(a){return q(Z,a)},externalChange:function(a){return q($,a)},baseURL:function(){var a=f.href;a.indexOf("#")!=-1&&(a=a.substr(0,a.indexOf("#")));/\/$/.test(a)&&(a=a.substr(0,a.length-1));return a},autoUpdate:function(a){if(a!==
h)return d.autoUpdate=a,this;return d.autoUpdate},crawlable:function(a){if(a!==h)return d.crawlable=a,this;return d.crawlable},history:function(a){if(a!==h)return d.history=a,this;return d.history},state:function(a){if(a!==h)return d.state=a,this;return d.state},strict:function(a){if(a!==h)return d.strict=a,this;return d.strict},tracker:function(a){if(a!==h)return d.tracker=a,this;return d.tracker},wrap:function(a){if(a!==h)return d.wrap=a,this;return d.wrap},update:function(){O=k;this.value(e);O=
j;return this},encode:function(a){var b=ia(a),d=ka(a),e=K(a),f=N(a),h=a.substr(0,1),g=a.substr(a.length-1),i="";c.each(b,function(a,b){i+="/"+C(b)});e!==""&&(i+="?",d.length===0?i+=e:(c.each(d,function(b,d){b=ja(d,a);typeof b!=="string"?c.each(b,function(a,b){i+=C(d)+"="+C(b)+"&"}):i+=C(d)+"="+C(b)+"&"}),i=i.substr(0,i.length-1)));f!==""&&(i+="#"+C(f));h!="/"&&i.substr(0,1)=="/"&&(i=i.substr(1));h=="/"&&i.substr(0,1)!="/"&&(i="/"+i);/#|&|\?/.test(g)&&(i+=g);return i},decode:function(a){if(a!==h){var b=
[];if(typeof a=="object"&&a.length!==h){for(var c=0,d=a.length;c<d;c++)b[c]=S(a[c].toString().replace(/\+/g,"%20"));return b}else return S(a.toString().replace(/\+/g,"%20"))}},title:function(a){if(a!==h)return v(function(){U=l.title=a;if(na&&m&&m.contentWindow&&m.contentWindow.document)m.contentWindow.document.title=a,na=j;!V&&la&&f.replace(f.href.indexOf("#")!=-1?f.href:f.href+"#");V=j},50),this;return l.title},value:function(a){if(a!==h){a=o(a);d.autoUpdate&&(a=this.encode(a));a=="/"&&(a="");if(e==
a&&!O)return;V=k;e=a;if(d.autoUpdate||O)if(G(k),L())x[d.history?"pushState":"replaceState"]({},"",d.state.replace(/\/$/,"")+(e==""?"/":e));else{M=k;D[x.length]=e;if(A)if(d.history)if(f[p][f.pathname]=D.toString(),F=x.length+1,n<418){if(f.search=="")R.action="#"+y(e,k),R.submit()}else if(n<523||e==""){a=l.createEvent("MouseEvents");a.initEvent("click",k,k);var b=l.createElement("a");b.href="#"+y(e,k);b.dispatchEvent(a)}else f.hash="#"+y(e,k);else f.replace("#"+y(e,k));else if(e!=u())d.history?f.hash=
"#"+y(this.decode(o(e)),k):f.replace("#"+y(e,k));B&&n<8&&d.history&&v(P,50);A?v(function(){M=j},1):M=j}return this}if(!T)return null;return this.decode(o(e))},path:function(a){if(a!==h){var b=K(o(e)),c=N(o(e));this.value(a+(b?"?"+b:"")+(c?"#"+c:""));return this}return this.decode(ha(o(e)))},pathNames:function(){return this.decode(ia(o(e)))},queryString:function(a){if(a!==h){var b=N(o(e));this.value(this.path()+(a?"?"+a:"")+(b?"#"+b:""));return this}return this.decode(K(o(e)))},parameter:function(a,
b,d){var f,g;if(b!==h){var j=this.parameterNames();g=[];b=b?ga(b):"";for(f=0;f<j.length;f++){var k=j[f],i=this.parameter(k);typeof i=="string"&&(i=[i]);k==a&&(i=b===null||b===""?[]:d?i.concat([b]):[b]);for(var l=0;l<i.length;l++)g.push(k+"="+fa(C(i[l])))}c.inArray(a,j)==-1&&b!==null&&b!==""&&g.push(a+"="+fa(C(b)));this.queryString(g.join("&"));return this}return this.decode(ja(a,o(e)))},parameterNames:function(){return this.decode(ka(o(e)))},hash:function(a){if(a!==h)return this.value(o(e).split("#")[0]+
(a?"#"+a:"")),this;return this.decode(N(o(e)))}}}();c.fn.address=function(w){if(!c(this).attr("address")){var q=function(q){if(c(this).is("a")){var s=w?w.call(this):/address:/.test(c(this).attr("rel"))?c(this).attr("rel").split("address:")[1].split(" ")[0]:c.address.state()!==void 0&&c.address.state()!="/"?c(this).attr("href").replace(RegExp("^(.*"+c.address.state()+"|\\.)"),""):c(this).attr("href").replace(/^(#\!?|\.)/,"");c.address.value(s);q.preventDefault()}};c(this).click(q).live("click",q).live("submit",
function(q){if(c(this).is("form")){var s=c(this).attr("action"),s=w?w.call(this):(s.indexOf("?")!=-1?s.replace(/&$/,""):s+"?")+c.address.decode(c(this).serialize());c.address.value(s);q.preventDefault()}}).attr("address",!0)}return this}})(jQuery);
;
// !MeAb! /c/s/d/e/j/e/jquery.iviewer.js
function dump(d,e){var c="";e||(e=0);for(var a="",b=0;b<e+1;b++)a+="    ";if(typeof d=="object")for(var f in d)b=d[f],typeof b=="object"?(c+=a+"'"+f+"' ...\n",c+=dump(b,e+1)):c+=a+"'"+f+"' => \""+b+'"\n';else c="===>"+d+"<===("+typeof d+")";return c}
(function(d){d.fn.iviewer=function(a){return this.each(function(){d(this).data("viewer",new c(this,a))})};var e={zoom:"fit",zoom_base:100,zoom_max:800,zoom_min:30,zoom_delta:1.4,ui_disabled:!1,update_on_resize:!0,onZoom:null,initCallback:null,onStartDrag:null,onDrag:null,onMouseMove:null,onClick:null,onStartLoad:null,onFinishLoad:null};d.iviewer=function(a,b){var c=this;this.img_object={};this.zoom_object={};this.image_loaded=!1;this.dy=this.dx=0;this.dragged=!1;this.settings=d.extend({},e,b||{});
this.current_zoom=this.settings.zoom;if(this.settings.src!==null)this.container=d(a),this.update_container_info(),this.container.css("overflow","hidden"),this.settings.update_on_resize==!0&&d(window).resize(function(){c.update_container_info()}),this.img_object.x=0,this.img_object.y=0,this.img_object.object=d("<img>").css({position:"absolute",top:"0px",left:"0px"}).mousedown(function(a){return c.drag_start(a)}).mousemove(function(a){return c.drag(a)}).mouseup(function(a){return c.drag_end(a)}).click(function(a){return c.click(a)}).mouseleave(function(a){return c.drag_end(a)}).mousewheel(function(a,
b){c.zoom_by(b>0?1:-1);return!1}),this.img_object.object.prependTo(c.container),this.loadImage(this.settings.src),this.settings.ui_disabled||this.createui(),this.settings.initCallback&&this.settings.initCallback.call(this)};var c=d.iviewer;c.fn=c.prototype={iviewer:"0.4.2"};c.fn.extend=c.extend=d.extend;c.fn.extend({loadImage:function(a){this.current_zoom=this.settings.zoom;this.image_loaded=!1;var b=this;this.settings.onStartLoad&&this.settings.onStartLoad.call(this);this.img_object.object.unbind("load").removeAttr("src").removeAttr("width").removeAttr("height").css({top:0,
left:0}).load(function(){b.image_loaded=!0;b.img_object.display_width=b.img_object.orig_width=this.width;b.img_object.display_height=b.img_object.orig_height=this.height;b.container.hasClass("iviewer_cursor")||b.container.addClass("iviewer_cursor");b.settings.zoom=="fit"?b.fit():b.set_zoom(b.settings.zoom);b.settings.onFinishLoad&&b.settings.onFinishLoad.call(b)}).attr("src",a)},fit:function(){var a=0,a=this.img_object.orig_width/this.img_object.orig_height>this.settings.width/this.settings.height?
this.settings.width/this.img_object.orig_width*100:this.settings.height/this.img_object.orig_height*100;this.set_zoom(a)},center:function(){this.setCoords(-Math.round((this.img_object.display_height-this.settings.height)/2),-Math.round((this.img_object.display_width-this.settings.width)/2))},moveTo:function(){this.setCoords(this.img_object.x-this.dx,this.img_object.y-this.dy)},moveCenter:function(a,b){this.update_container_info();this.update_status();var c=this.settings.width,d=this.settings.height,
h=this.img_object.display_width,e=this.img_object.display_height,g=this.img_object;if(h>c)g.x=0,g.y=0,this.img_object.object.css({left:(a-g.x)*(c-h)/(c+2)});e>d&&this.img_object.object.css({top:(b-g.y)*(d-e)/(d+2)})},setCoords:function(a,b){if(this.image_loaded)b>0&&(b=0),a>0&&(a=0),b+this.img_object.display_height<this.settings.height&&(b=this.settings.height-this.img_object.display_height),a+this.img_object.display_width<this.settings.width&&(a=this.settings.width-this.img_object.display_width),
this.img_object.display_width<=this.settings.width&&(a=-(this.img_object.display_width-this.settings.width)/2),this.img_object.display_height<=this.settings.height&&(b=-(this.img_object.display_height-this.settings.height)/2),this.img_object.x=a,this.img_object.y=b,this.img_object.object.css("top",b+"px").css("left",a+"px")},containerToImage:function(a,b){if(a<this.img_object.x||b<this.img_object.y||a>this.img_object.x+this.img_object.display_width||b>this.img_object.y+this.img_object.display_height)return!1;
return{x:c.descaleValue(a-this.img_object.x,this.current_zoom),y:c.descaleValue(b-this.img_object.y,this.current_zoom)}},imageToContainer:function(a,b){if(a>this.img_object.orig_width||b>this.img_object.orig_height)return!1;return{x:this.img_object.x+c.scaleValue(a,this.current_zoom),y:this.img_object.y+c.scaleValue(b,this.current_zoom)}},getMouseCoords:function(a){var b=this.img_object.object.offset();return{x:c.descaleValue(a.pageX-b.left,this.current_zoom),y:c.descaleValue(a.pageY-b.top,this.current_zoom)}},
set_zoom:function(a){if(!(this.settings.onZoom&&this.settings.onZoom.call(this,a)==!1)&&this.image_loaded){if(a<this.settings.zoom_min)a=this.settings.zoom_min;else if(a>this.settings.zoom_max)a=this.settings.zoom_max;if(this.current_zoom=="fit"){var b=Math.round(this.settings.width/2+this.img_object.orig_width/2),f=Math.round(this.settings.height/2+this.img_object.orig_height/2);this.current_zoom=100}else b=-parseInt(this.img_object.object.css("left"),10)+Math.round(this.settings.width/2),f=-parseInt(this.img_object.object.css("top"),
10)+Math.round(this.settings.height/2);var e=c.scaleValue(this.img_object.orig_width,a),h=c.scaleValue(this.img_object.orig_height,a),b=c.scaleValue(c.descaleValue(b,this.current_zoom),a),f=c.scaleValue(c.descaleValue(f,this.current_zoom),a),b=this.settings.width/2-b,f=this.settings.height/2-f;this.img_object.object.attr("width",e).attr("height",h);this.img_object.display_width=e;this.img_object.display_height=h;this.setCoords(b,f);this.current_zoom=a;d.isFunction(this.settings.onAfterZoom)&&this.settings.onAfterZoom.call(this,
a);this.update_status()}},zoom_by:function(a){var b=this.find_closest_zoom_rate(this.current_zoom)+a,b=this.settings.zoom_base*Math.pow(this.settings.zoom_delta,b);a>0&&b<this.current_zoom&&(b*=this.settings.zoom_delta);a<0&&b>this.current_zoom&&(b/=this.settings.zoom_delta);this.set_zoom(b)},find_closest_zoom_rate:function(a){function b(a,b){return a/b}function c(a,b){return a*b}if(a==this.settings.zoom_base)return 0;for(var d=a>this.settings.zoom_base?c:b,e=a>this.settings.zoom_base?1:-1,i=this.settings.zoom_delta,
g=1;Math.abs(d(this.settings.zoom_base,Math.pow(i,g))-a)>Math.abs(d(this.settings.zoom_base,Math.pow(i,g+1))-a);)g++;return e*g},update_status:function(){if(!this.settings.ui_disabled){var a=Math.round(100*this.img_object.display_height/this.img_object.orig_height);a&&this.zoom_object.html(a+"%")}},update_container_info:function(){this.settings.height=this.container.height();this.settings.width=this.container.width()},drag_start:function(a){if(this.settings.onStartDrag&&this.settings.onStartDrag.call(this,
this.getMouseCoords(a))==!1)return!1;this.dragged=!0;this.container.addClass("iviewer_drag_cursor");this.dx=a.pageX-this.img_object.x;this.dy=a.pageY-this.img_object.y;return!1},drag:function(a){this.settings.onMouseMove&&this.settings.onMouseMove.call(this,this.getMouseCoords(a));if(this.dragged)return this.settings.onDrag&&this.settings.onDrag.call(this,this.getMouseCoords(a)),this.setCoords(a.pageX-this.dx,a.pageY-this.dy),!1},drag_end:function(){this.container.removeClass("iviewer_drag_cursor");
this.dragged=!1},click:function(a){this.settings.onClick&&this.settings.onClick.call(this,this.getMouseCoords(a))},createui:function(){var a=this;d("<div>").addClass("iviewer_zoom_in").addClass("iviewer_common").addClass("iviewer_button").mousedown(function(){a.zoom_by(1);return!1}).appendTo(this.container);d("<div>").addClass("iviewer_zoom_out").addClass("iviewer_common").addClass("iviewer_button").mousedown(function(){a.zoom_by(-1);return!1}).appendTo(this.container);d("<div>").addClass("iviewer_zoom_zero").addClass("iviewer_common").addClass("iviewer_button").mousedown(function(){a.set_zoom(100);
return!1}).appendTo(this.container);d("<div>").addClass("iviewer_zoom_fit").addClass("iviewer_common").addClass("iviewer_button").mousedown(function(){a.fit(this);return!1}).appendTo(this.container);this.zoom_object=d("<div>").addClass("iviewer_zoom_status").addClass("iviewer_common").appendTo(this.container);this.update_status()}});c.extend({scaleValue:function(a,b){return a*b/100},descaleValue:function(a,b){return a*100/b}})})(jQuery);
;
// !MeAb! /c/s/d/e/j/e/json2.js
this.JSON||(JSON={});
(function(){function k(b){return b<10?"0"+b:b}function o(b){p.lastIndex=0;return p.test(b)?'"'+b.replace(p,function(b){var c=r[b];return typeof c==="string"?c:"\\u"+("0000"+b.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+b+'"'}function l(b,i){var c,d,h,m,g=e,f,a=i[b];a&&typeof a==="object"&&typeof a.toJSON==="function"&&(a=a.toJSON(b));typeof j==="function"&&(a=j.call(i,b,a));switch(typeof a){case "string":return o(a);case "number":return isFinite(a)?String(a):"null";case "boolean":case "null":return String(a);case "object":if(!a)return"null";
e+=n;f=[];if(Object.prototype.toString.apply(a)==="[object Array]"){m=a.length;for(c=0;c<m;c+=1)f[c]=l(c,a)||"null";h=f.length===0?"[]":e?"[\n"+e+f.join(",\n"+e)+"\n"+g+"]":"["+f.join(",")+"]";e=g;return h}if(j&&typeof j==="object"){m=j.length;for(c=0;c<m;c+=1)d=j[c],typeof d==="string"&&(h=l(d,a))&&f.push(o(d)+(e?": ":":")+h)}else for(d in a)Object.hasOwnProperty.call(a,d)&&(h=l(d,a))&&f.push(o(d)+(e?": ":":")+h);h=f.length===0?"{}":e?"{\n"+e+f.join(",\n"+e)+"\n"+g+"}":"{"+f.join(",")+"}";e=g;return h}}
if(typeof Date.prototype.toJSON!=="function")Date.prototype.toJSON=function(){return this.getUTCFullYear()+"-"+k(this.getUTCMonth()+1)+"-"+k(this.getUTCDate())+"T"+k(this.getUTCHours())+":"+k(this.getUTCMinutes())+":"+k(this.getUTCSeconds())+"Z"},String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(){return this.valueOf()};var q=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,p=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,
e,n,r={"\u0008":"\\b","\t":"\\t","\n":"\\n","\u000c":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},j;if(typeof JSON.stringify!=="function")JSON.stringify=function(b,i,c){var d;n=e="";if(typeof c==="number")for(d=0;d<c;d+=1)n+=" ";else typeof c==="string"&&(n=c);if((j=i)&&typeof i!=="function"&&(typeof i!=="object"||typeof i.length!=="number"))throw Error("JSON.stringify");return l("",{"":b})};if(typeof JSON.parse!=="function")JSON.parse=function(b,e){function c(b,d){var g,f,a=b[d];if(a&&typeof a==="object")for(g in a)Object.hasOwnProperty.call(a,
g)&&(f=c(a,g),f!==void 0?a[g]=f:delete a[g]);return e.call(b,d,a)}var d;q.lastIndex=0;q.test(b)&&(b=b.replace(q,function(b){return"\\u"+("0000"+b.charCodeAt(0).toString(16)).slice(-4)}));if(/^[\],:{}\s]*$/.test(b.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))return d=eval("("+b+")"),typeof e==="function"?c({"":d},""):d;throw new SyntaxError("JSON.parse");}})();
;
// !MeAb! /c/s/d/e/j/e/j/jwplayer.min.patched.S2.js
window.jwplayer=function(a){if(jwplayer.api)return jwplayer.api.selectPlayer(a)};var $jw=jwplayer;jwplayer.version="5.5.1641 (Licensed version)";jwplayer.vid=document.createElement("video");jwplayer.audio=document.createElement("audio");jwplayer.source=document.createElement("source");
(function(a){a.utils=function(){};a.utils.typeOf=function(a){var b=typeof a;b==="object"&&(a?a instanceof Array&&(b="array"):b="null");return b};a.utils.extend=function(){var f=a.utils.extend.arguments;if(f.length>1){for(var b=1;b<f.length;b++)for(var c in f[b])f[0][c]=f[b][c];return f[0]}return null};a.utils.clone=function(){var f,b=a.utils.clone.arguments;if(b.length==1)switch(a.utils.typeOf(b[0])){case "object":f={};for(var c in b[0])f[c]=a.utils.clone(b[0][c]);break;case "array":f=[];for(c in b[0])f[c]=
a.utils.clone(b[0][c]);break;default:return b[0]}return f};a.utils.extension=function(a){a=a.substring(a.lastIndexOf("/")+1,a.length);a=a.split("?")[0];if(a.lastIndexOf(".")>-1)return a.substr(a.lastIndexOf(".")+1,a.length).toLowerCase()};a.utils.html=function(a,b){a.innerHTML=b};a.utils.wrap=function(a,b){a.parentNode.replaceChild(b,a);b.appendChild(a)};a.utils.ajax=function(a,b,c){var i;i=window.XMLHttpRequest?new XMLHttpRequest:new ActiveXObject("Microsoft.XMLHTTP");i.onreadystatechange=function(){i.readyState===
4&&(i.status===200?b&&b(i):c&&c(a))};i.open("GET",a,!0);i.send(null);return i};a.utils.load=function(a,b,c){a.onreadystatechange=function(){a.readyState===4&&(a.status===200?b&&b():c&&c())}};a.utils.find=function(a,b){return a.getElementsByTagName(b)};a.utils.append=function(a,b){a.appendChild(b)};a.utils.isIE=function(){return!+"\u000b1"||typeof window.ActiveXObject!="undefined"};a.utils.isLegacyAndroid=function(){return navigator.userAgent.toLowerCase().match(/android 2.[012]/i)!==null};a.utils.isIOS=
function(){return navigator.userAgent.toLowerCase().match(/iP(hone|ad)/i)!==null};a.utils.getFirstPlaylistItemFromConfig=function(a){var b={},a=a.playlist&&a.playlist.length?a.playlist[0]:a;b.file=a.file;b.levels=a.levels;b.streamer=a.streamer;b.playlistfile=a.playlistfile;if(b.file&&b.file.toLowerCase().indexOf("youtube.com")>-1)b.provider="youtube";if(b.streamer&&b.streamer.toLowerCase().indexOf("rtmp://")==0)b.provider="rtmp";if(a.type)b.provider=a.type.toLowerCase();else if(a.provider)b.provider=
a.provider.toLowerCase();return b};a.utils.getOuterHTML=function(a){if(a.outerHTML)return a.outerHTML;else{var b=a.parentNode,c=document.createElement(b.tagName),i=document.createElement(a.tagName);b.replaceChild(i,a);c.appendChild(a);c=c.innerHTML;b.replaceChild(a,i);return c}};a.utils.setOuterHTML=function(a,b){if(a.outerHTML)a.outerHTML=b;else{var c=document.createElement("div");c.innerHTML=b;var i=document.createRange();i.selectNodeContents(c);c=i.extractContents();a.parentNode.insertBefore(c,
a);a.parentNode.removeChild(a)}};a.utils.hasFlash=function(){return typeof navigator.plugins!="undefined"&&typeof navigator.plugins["Shockwave Flash"]!="undefined"||typeof window.ActiveXObject!="undefined"};a.utils.getPluginName=function(a){a.lastIndexOf("/")>=0&&(a=a.substring(a.lastIndexOf("/")+1,a.length));a.lastIndexOf("-")>=0&&(a=a.substring(0,a.lastIndexOf("-")));a.lastIndexOf(".swf")>=0&&(a=a.substring(0,a.lastIndexOf(".swf")));a.lastIndexOf(".js")>=0&&(a=a.substring(0,a.lastIndexOf(".js")));
return a};a.utils.getAbsolutePath=function(a,b){if(b===void 0)b=document.location.href;if(a!==void 0){var c;if(a===null)c=void 0;else{c=a.indexOf("://");var i=a.indexOf("?");c=c>0&&(i<0||i>c)}if(c)return a;c=b.substring(0,b.indexOf("://")+3);var i=b.substring(c.length,b.indexOf("/",c.length+1)),d;a.indexOf("/")===0?d=a.split("/"):(d=b.split("?")[0],d=d.substring(c.length+i.length+1,d.lastIndexOf("/")),d=d.split("/").concat(a.split("/")));for(var h=[],g=0;g<d.length;g++)if(d[g]&&!(d[g]===void 0||d[g]==
"."))d[g]==".."?h.pop():h.push(d[g]);return c+i+"/"+h.join("/")}};a.utils.pluginPathType={ABSOLUTE:"ABSOLUTE",RELATIVE:"RELATIVE",CDN:"CDN"};a.utils.getPluginPathType=function(f){if(typeof f=="string"){var f=f.split("?")[0],b=f.indexOf("://");if(b>0)return a.utils.pluginPathType.ABSOLUTE;var c=f.indexOf("/"),f=a.utils.extension(f);if(b<0&&c<0&&(!f||!isNaN(f)))return a.utils.pluginPathType.CDN;return a.utils.pluginPathType.RELATIVE}};a.utils.mapEmpty=function(a){for(var b in a)return!1;return!0};a.utils.mapLength=
function(a){var b=0,c;for(c in a)b++;return b};a.utils.log=function(a,b){typeof console!="undefined"&&typeof console.log!="undefined"&&(b?console.log(a,b):console.log(a))};a.utils.css=function(f,b){if(f!==void 0)for(var c in b)try{if(typeof b[c]!=="undefined"){if(typeof b[c]=="number"&&!(c=="zIndex"||c=="opacity")){if(isNaN(b[c]))continue;b[c]=c.match(/color/i)?"#"+a.utils.strings.pad(b[c].toString(16),6):Math.ceil(b[c])+"px"}f.style[c]=b[c]}}catch(i){}};a.utils.isYouTube=function(a){return a.indexOf("youtube.com")>
-1};a.utils.getYouTubeId=function(a){a.indexOf("youtube.com">0)};a.utils.transform=function(a,b){a.style.webkitTransform=b;a.style.MozTransform=b;a.style.OTransform=b};a.utils.stretch=function(f,b,c,i,d,h){if(!(typeof c=="undefined"||typeof i=="undefined"||typeof d=="undefined"||typeof h=="undefined")){var g=c/d,j=i/h;b.style.overflow="hidden";a.utils.transform(b,"");var m={};switch(f.toUpperCase()){case a.utils.stretching.NONE:m.width=d;m.height=h;break;case a.utils.stretching.UNIFORM:g>j?(m.width=
d*j,m.height=h*j):(m.width=d*g,m.height=h*g);break;case a.utils.stretching.FILL:g>j?(m.width=d*g,m.height=h*g):(m.width=d*j,m.height=h*j);break;case a.utils.stretching.EXACTFIT:a.utils.transform(b,["scale(",g,",",j,") translate(0px,0px)"].join("")),m.width=d,m.height=h}m.top=(i-m.height)/2;m.left=(c-m.width)/2;a.utils.css(b,m)}};a.utils.stretching={NONE:"NONE",FILL:"FILL",UNIFORM:"UNIFORM",EXACTFIT:"EXACTFIT"}})(jwplayer);
(function(a){a.events=function(){};a.events.COMPLETE="COMPLETE";a.events.ERROR="ERROR"})(jwplayer);
(function(a){a.events.eventdispatcher=function(f){var b,c;this.resetEventListeners=function(){b={};c=[]};this.resetEventListeners();this.addEventListener=function(c,d,f){try{b[c]===void 0&&(b[c]=[]),typeof d=="string"&&eval("listener = "+d),b[c].push({listener:d,count:f})}catch(g){a.utils.log("error",g)}return!1};this.removeEventListener=function(c,d){try{for(var f=0;f<b[c].length;f++)if(b[c][lisenterIndex].toString()==d.toString()){b[c].slice(lisenterIndex,lisenterIndex+1);break}}catch(g){a.utils.log("error",
g)}return!1};this.addGlobalListener=function(b,d){try{typeof b=="string"&&eval("listener = "+b),c.push({listener:b,count:d})}catch(f){a.utils.log("error",f)}return!1};this.removeGlobalListener=function(b){try{for(var d=0;d<c.length;d++)if(c[d].toString()==b.toString()){c.slice(d,d+1);break}}catch(f){a.utils.log("error",f)}return!1};this.sendEvent=function(i,d){d===void 0&&(d={});f&&a.utils.log(i,d);if(typeof b[i]!="undefined")for(var h=0;h<b[i].length;h++){try{b[i][h].listener(d)}catch(g){a.utils.log("There was an error while handling a listener: "+
g.toString(),b[i][h].listener)}b[i][h].count===1?delete b[i][h]:b[i][h].count>0&&(b[i][h].count-=1)}for(h=0;h<c.length;h++){try{c[h].listener(d)}catch(j){a.utils.log("There was an error while handling a listener: "+j.toString(),c[h].listener)}c[h].count===1?delete c[h]:c[h].count>0&&(c[h].count-=1)}}}})(jwplayer);
(function(a){var f={};a.utils.animations=function(){};a.utils.animations.transform=function(a,c){a.style.webkitTransform=c;a.style.MozTransform=c;a.style.OTransform=c};a.utils.animations.transformOrigin=function(a,c){a.style.webkitTransformOrigin=c;a.style.MozTransformOrigin=c;a.style.OTransformOrigin=c};a.utils.animations.rotate=function(b,c){a.utils.animations.transform(b,["rotate(",c,"deg)"].join(""))};a.utils.cancelAnimation=function(a){delete f[a.id]};a.utils.fadeTo=function(b,c,i,d,h,g){if(!(f[b.id]!=
g&&g!==void 0)){var j=(new Date).getTime();g>j&&setTimeout(function(){a.utils.fadeTo(b,c,i,d,0,g)},g-j);b.style.display="block";d===void 0&&(d=b.style.opacity===""?1:b.style.opacity);if(b.style.opacity==c&&b.style.opacity!==""&&g!==void 0){if(c===0)b.style.display="none"}else g===void 0&&(g=j,f[b.id]=g),h===void 0&&(h=0),j=(j-g)/(i*1E3),j=d+(j>1?1:j)*(c-d),j>1?j=1:j<0&&(j=0),b.style.opacity=j,h>0?(f[b.id]=g+h*1E3,a.utils.fadeTo(b,c,i,d,0,f[b.id])):setTimeout(function(){a.utils.fadeTo(b,c,i,d,0,g)},
10)}}})(jwplayer);(function(a){a.utils.arrays=function(){};a.utils.arrays.indexOf=function(a,b){for(var c=0;c<a.length;c++)if(a[c]==b)return c;return-1};a.utils.arrays.remove=function(f,b){var c=a.utils.arrays.indexOf(f,b);c>-1&&f.splice(c,1)}})(jwplayer);
(function(a){a.utils.extensionmap={"3gp":{html5:"video/3gpp",flash:"video"},"3gpp":{html5:"video/3gpp"},"3g2":{html5:"video/3gpp2",flash:"video"},"3gpp2":{html5:"video/3gpp2"},flv:{flash:"video"},f4a:{html5:"audio/mp4"},f4b:{html5:"audio/mp4",flash:"video"},f4p:{html5:"video/mp4",flash:"video"},f4v:{html5:"video/mp4",flash:"video"},mov:{html5:"video/quicktime",flash:"video"},m4a:{html5:"audio/mp4",flash:"video"},m4b:{html5:"audio/mp4"},m4p:{html5:"audio/mp4"},m4v:{html5:"video/mp4",flash:"video"},
mkv:{html5:"video/x-matroska"},mp4:{html5:"video/mp4",flash:"video"},rbs:{flash:"sound"},sdp:{html5:"application/sdp",flash:"video"},vp6:{html5:"video/x-vp6"},aac:{html5:"audio/aac",flash:"video"},mp3:{flash:"sound"},ogg:{html5:"audio/ogg"},ogv:{html5:"video/ogg"},webm:{html5:"video/webm"},m3u8:{html5:"audio/x-mpegurl"},gif:{flash:"image"},jpeg:{flash:"image"},jpg:{flash:"image"},swf:{flash:"image"},png:{flash:"image"}}})(jwplayer);
(function(a){function f(b,c){c===void 0?c=d[b]:a.utils.extend(c,d[b]);return c}function b(a,b){if(h[a.tagName.toLowerCase()]&&b===void 0)return h[a.tagName.toLowerCase()](a);else{var b=f("element",b),c={},d;for(d in b)if(d!="length"){var i=a.getAttribute(d);i===""||i===void 0||i===null||(c[b[d]]=a.getAttribute(d))}if((d=a.style["#background-color"])&&!(d=="transparent"||d=="rgba(0, 0, 0, 0)"))c.screencolor=d;return c}}function c(c,d){var d=f("media",d),h=[],l=a.utils.selectors("source",c),k;for(k in l)isNaN(k)||
h.push(i(l[k]));l=b(c,d);l.file!==void 0&&(h[0]={file:l.file});l.levels=h;return l}function i(a,c){var c=f("source",c),d=b(a,c);d.width=d.width?d.width:0;d.bitrate=d.bitrate?d.bitrate:0;return d}a.utils.mediaparser=function(){};var d={element:{width:"width",height:"height",id:"id","class":"className",name:"name"},media:{src:"file",preload:"preload",autoplay:"autostart",loop:"repeat",controls:"controls"},source:{src:"file",type:"type",media:"media","data-jw-width":"width","data-jw-bitrate":"bitrate"},
video:{poster:"image"}},h={};a.utils.mediaparser.parseMedia=function(a){return b(a)};h.media=c;h.audio=c;h.source=i;h.video=function(a,b){b=f("video",b);return c(a,b)}})(jwplayer);
(function(a){a.utils.loaderstatus={NEW:"NEW",LOADING:"LOADING",ERROR:"ERROR",COMPLETE:"COMPLETE"};a.utils.scriptloader=function(f){var b=a.utils.loaderstatus.NEW,c=new a.events.eventdispatcher;a.utils.extend(this,c);this.load=function(){if(b==a.utils.loaderstatus.NEW){b=a.utils.loaderstatus.LOADING;var i=document.createElement("script");i.onload=function(){b=a.utils.loaderstatus.COMPLETE;c.sendEvent(a.events.COMPLETE)};i.onerror=function(){b=a.utils.loaderstatus.ERROR;c.sendEvent(a.events.ERROR)};
i.onreadystatechange=function(){if(i.readyState=="loaded"||i.readyState=="complete")b=a.utils.loaderstatus.COMPLETE,c.sendEvent(a.events.COMPLETE)};document.getElementsByTagName("head")[0].appendChild(i);i.src=f}};this.getStatus=function(){return b}}})(jwplayer);
(function(a){a.utils.selectors=function(f,b){b===void 0&&(b=document);var f=a.utils.strings.trim(f),c=f.charAt(0);return c=="#"?b.getElementById(f.substr(1)):c=="."?b.getElementsByClassName?b.getElementsByClassName(f.substr(1)):a.utils.selectors.getElementsByTagAndClass("*",f.substr(1)):f.indexOf(".")>0?(selectors=f.split("."),a.utils.selectors.getElementsByTagAndClass(selectors[0],selectors[1])):b.getElementsByTagName(f)};a.utils.selectors.getElementsByTagAndClass=function(a,b,c){elements=[];c===
void 0&&(c=document);a=c.getElementsByTagName(a);for(c=0;c<a.length;c++)if(a[c].className!==void 0)for(var i=a[c].className.split(" "),d=0;d<i.length;d++)i[d]==b&&elements.push(a[c]);return elements}})(jwplayer);
(function(a){a.utils.strings=function(){};a.utils.strings.trim=function(a){return a.replace(/^\s*/,"").replace(/\s*$/,"")};a.utils.strings.pad=function(a,b,c){for(c||(c="0");a.length<b;)a=c+a;return a};a.utils.strings.serialize=function(a){return a==null?null:a=="true"?!0:a=="false"?!1:isNaN(Number(a))||a.length>5||a.length==0?a:Number(a)};a.utils.strings.seconds=function(a){var a=a.replace(",","."),b=a.split(":"),c=0;a.substr(-1)=="s"?c=Number(a.substr(0,a.length-1)):a.substr(-1)=="m"?c=Number(a.substr(0,
a.length-1))*60:a.substr(-1)=="h"?c=Number(a.substr(0,a.length-1))*3600:b.length>1?(c=Number(b[b.length-1]),c+=Number(b[b.length-2])*60,b.length==3&&(c+=Number(b[b.length-3])*3600)):c=Number(a);return c};a.utils.strings.xmlAttribute=function(a,b){for(var c in a.attributes)if(a.attributes[c].name&&a.attributes[c].name.toLowerCase()==b.toLowerCase())return a.attributes[c].value.toString();return""}})(jwplayer);
(function(a){function f(a){if(["true","false","t","f"].toString().indexOf(a.toLowerCase().replace(" ",""))>=0)return"boolean";else if(i.test(a))return"color";else if(!isNaN(parseInt(a,10))&&parseInt(a,10).toString().length==a.length)return"integer";else if(!isNaN(parseFloat(a))&&parseFloat(a).toString().length==a.length)return"float";return"string"}function b(a,b){if(b===null)return a;switch(b){case "color":if(a.length>0)return c(a);return null;case "integer":return parseInt(a,10);case "float":return parseFloat(a);
case "boolean":if(a.toLowerCase()=="true")return!0;else if(a=="1")return!0;return!1}return a}function c(a){switch(a.toLowerCase()){case "blue":return parseInt("0000FF",16);case "green":return parseInt("00FF00",16);case "red":return parseInt("FF0000",16);case "cyan":return parseInt("00FFFF",16);case "magenta":return parseInt("FF00FF",16);case "yellow":return parseInt("FFFF00",16);case "black":break;case "white":return parseInt("FFFFFF",16);default:return a=a.replace(/(#|0x)?([0-9A-F]{3,6})$/gi,"$2"),
a.length==3&&(a=a.charAt(0)+a.charAt(0)+a.charAt(1)+a.charAt(1)+a.charAt(2)+a.charAt(2)),parseInt(a,16)}return parseInt("000000",16)}var i=RegExp(/^(#|0x)[0-9a-fA-F]{3,6}/);a.utils.typechecker=function(a,c){c=c===null?f(a):c;return b(a,c)}})(jwplayer);
(function(a){var f={},b={};a.plugins=function(){};a.plugins.loadPlugins=function(c,i){b[c]=new a.plugins.pluginloader(new a.plugins.model(f),i);return b[c]};a.plugins.registerPlugin=function(c,i,d){if(f[c])f[c].registerPlugin(c,i,d);else{a.utils.log("A plugin ("+c+") was registered with the player that was not loaded. Please check your configuration.");for(var h in b)b[h].pluginFailed()}}})(jwplayer);
(function(a){a.plugins.model=function(f){this.addPlugin=function(b){var c=a.utils.getPluginName(b);f[c]||(f[c]=new a.plugins.plugin(b));return f[c]}}})(jwplayer);
(function(a){a.plugins.pluginmodes={FLASH:"FLASH",JAVASCRIPT:"JAVASCRIPT",HYBRID:"HYBRID"};a.plugins.plugin=function(f){function b(){switch(a.utils.getPluginPathType(f)){case a.utils.pluginPathType.ABSOLUTE:return f;case a.utils.pluginPathType.RELATIVE:return a.utils.getAbsolutePath(f,window.location.href);case a.utils.pluginPathType.CDN:var b=a.utils.getPluginName(f);return d+"/"+a.version.split(".")[0]+"/"+b+"/"+b+".js"}}function c(){m=setTimeout(function(){h=a.utils.loaderstatus.COMPLETE;l.sendEvent(a.events.COMPLETE)},
1E3)}function i(){h=a.utils.loaderstatus.ERROR;l.sendEvent(a.events.ERROR)}var d="http://lp.longtailvideo.com",h=a.utils.loaderstatus.NEW,g,j,m,l=new a.events.eventdispatcher;a.utils.extend(this,l);this.load=function(){if(h==a.utils.loaderstatus.NEW)if(f.lastIndexOf(".swf")>0)g=f,h=a.utils.loaderstatus.COMPLETE,l.sendEvent(a.events.COMPLETE);else{h=a.utils.loaderstatus.LOADING;var d=new a.utils.scriptloader(b());d.addEventListener(a.events.COMPLETE,c);d.addEventListener(a.events.ERROR,i);d.load()}};
this.registerPlugin=function(b,e,c){m&&(clearTimeout(m),m=void 0);e&&c?(g=c,j=e):typeof e=="string"?g=e:typeof e=="function"?j=e:!e&&!c&&(g=b);h=a.utils.loaderstatus.COMPLETE;l.sendEvent(a.events.COMPLETE)};this.getStatus=function(){return h};this.getPluginName=function(){return a.utils.getPluginName(f)};this.getFlashPath=function(){if(g)switch(a.utils.getPluginPathType(g)){case a.utils.pluginPathType.ABSOLUTE:return g;case a.utils.pluginPathType.RELATIVE:if(f.lastIndexOf(".swf")>0)return a.utils.getAbsolutePath(g,
window.location.href);return a.utils.getAbsolutePath(g,b());case a.utils.pluginPathType.CDN:if(g.indexOf("-")>-1)return g+"h";return g+"-h"}return null};this.getJS=function(){return j};this.getPluginmode=function(){if(typeof g!="undefined"&&typeof j!="undefined")return a.plugins.pluginmodes.HYBRID;else if(typeof g!="undefined")return a.plugins.pluginmodes.FLASH;else if(typeof j!="undefined")return a.plugins.pluginmodes.JAVASCRIPT};this.getNewInstance=function(a,b,c){return new j(a,b,c)};this.getURL=
function(){return f}}})(jwplayer);
(function(a){a.plugins.pluginloader=function(f,b){function c(){if(!g)g=!0,h=a.utils.loaderstatus.COMPLETE,j.sendEvent(a.events.COMPLETE)}function i(){if(!g){var b=0;for(plugin in d)d[plugin].getStatus()==a.utils.loaderstatus.LOADING&&b++;b==0&&c()}}var d={},h=a.utils.loaderstatus.NEW,g=!1,j=new a.events.eventdispatcher;a.utils.extend(this,j);this.setupPlugins=function(a,b,c){var e={length:0,plugins:{}},g={length:0,plugins:{}},q;for(q in d){var f=d[q].getPluginName();if(d[q].getFlashPath())e.plugins[d[q].getFlashPath()]=
b.plugins[q],e.plugins[d[q].getFlashPath()].pluginmode=d[q].getPluginmode(),e.length++;if(d[q].getJS()){var h=document.createElement("div");h.id=a.id+"_"+f;h.style.position="absolute";h.style.zIndex=g.length+10;g.plugins[f]=d[q].getNewInstance(a,b.plugins[q],h);g.length++;typeof g.plugins[f].resize!="undefined"&&(a.onReady(c(g.plugins[f],h,!0)),a.onResize(c(g.plugins[f],h)))}}a.plugins=g.plugins;return e};this.load=function(){h=a.utils.loaderstatus.LOADING;for(var c in b)d[c]=f.addPlugin(c),d[c].addEventListener(a.events.COMPLETE,
i),d[c].addEventListener(a.events.ERROR,i),d[c].load();i()};this.pluginFailed=function(){c()};this.getStatus=function(){return h}}})(jwplayer);
(function(a){var f=[];a.api=function(b){function c(a){return function(b,c,e,d){var f;c?(r[b]=c,f="jwplayer('"+a+"').callback('"+b+"')"):!c&&r[b]&&delete r[b];g.jwDockSetButton(b,f,e,d)}}function f(a){return function(b){var c=b.newstate,b=b.oldstate;if(c==a){var e=h[c];if(e)for(var g=0;g<e.length;g++)typeof e[g]=="function"&&e[g].call(this,{oldstate:b,newstate:c})}}}this.container=b;this.id=b.id;var d={},h={},g=void 0,j=!1,m=[],l=a.utils.getOuterHTML(b),k={},e=0,r={};this.getBuffer=function(){return this.callInternal("jwGetBuffer")};
this.getContainer=function(){return this.container};this.getPlugin=function(a){if(a=="dock")return{setButton:c(this.id)};return this.plugins[a]};this.callback=function(a){if(r[a])return r[a]()};this.getDuration=function(){return this.callInternal("jwGetDuration")};this.getFullscreen=function(){return this.callInternal("jwGetFullscreen")};this.getHeight=function(){return this.callInternal("jwGetHeight")};this.getLockState=function(){return this.callInternal("jwGetLockState")};this.getMeta=function(){return this.getItemMeta()};
this.getMute=function(){return this.callInternal("jwGetMute")};this.getPlaylist=function(){for(var a=this.callInternal("jwGetPlaylist"),b=0;b<a.length;b++)if(a[b].index===void 0)a[b].index=b;return a};this.getPlaylistItem=function(a){a===void 0&&(a=this.getCurrentItem());return this.getPlaylist()[a]};this.getPosition=function(){return this.callInternal("jwGetPosition")};this.getRenderingMode=function(){return this.renderingMode};this.getState=function(){return this.callInternal("jwGetState")};this.getVolume=
function(){return this.callInternal("jwGetVolume")};this.getWidth=function(){return this.callInternal("jwGetWidth")};this.setFullscreen=function(a){a===void 0?this.callInternal("jwSetFullscreen",!this.callInternal("jwGetFullscreen")):this.callInternal("jwSetFullscreen",a);return this};this.setMute=function(a){a===void 0?this.callInternal("jwSetMute",!this.callInternal("jwGetMute")):this.callInternal("jwSetMute",a);return this};this.lock=function(){return this};this.unlock=function(){return this};
this.load=function(a){this.callInternal("jwLoad",a);return this};this.playlistItem=function(a){this.callInternal("jwPlaylistItem",a);return this};this.playlistPrev=function(){this.callInternal("jwPlaylistPrev");return this};this.playlistNext=function(){this.callInternal("jwPlaylistNext");return this};this.resize=function(a,b){this.renderingMode=="html5"?g.jwResize(a,b):(this.container.width=a,this.container.height=b);return this};this.play=function(b){typeof b=="undefined"?(b=this.getState(),b==a.api.events.state.PLAYING||
b==a.api.events.state.BUFFERING?this.callInternal("jwPause"):this.callInternal("jwPlay")):this.callInternal("jwPlay",b);return this};this.pause=function(b){typeof b=="undefined"?(b=this.getState(),b==a.api.events.state.PLAYING||b==a.api.events.state.BUFFERING?this.callInternal("jwPause"):this.callInternal("jwPlay")):this.callInternal("jwPause",b);return this};this.stop=function(){this.callInternal("jwStop");return this};this.seek=function(a){this.callInternal("jwSeek",a);return this};this.setVolume=
function(a){this.callInternal("jwSetVolume",a);return this};this.onBufferChange=function(b){return this.eventListener(a.api.events.JWPLAYER_MEDIA_BUFFER,b)};this.onBufferFull=function(b){return this.eventListener(a.api.events.JWPLAYER_MEDIA_BUFFER_FULL,b)};this.onError=function(b){return this.eventListener(a.api.events.JWPLAYER_ERROR,b)};this.onFullscreen=function(b){return this.eventListener(a.api.events.JWPLAYER_FULLSCREEN,b)};this.onMeta=function(b){return this.eventListener(a.api.events.JWPLAYER_MEDIA_META,
b)};this.onMute=function(b){return this.eventListener(a.api.events.JWPLAYER_MEDIA_MUTE,b)};this.onPlaylist=function(b){return this.eventListener(a.api.events.JWPLAYER_PLAYLIST_LOADED,b)};this.onPlaylistItem=function(b){return this.eventListener(a.api.events.JWPLAYER_PLAYLIST_ITEM,b)};this.onReady=function(b){return this.eventListener(a.api.events.API_READY,b)};this.onResize=function(b){return this.eventListener(a.api.events.JWPLAYER_RESIZE,b)};this.onComplete=function(b){return this.eventListener(a.api.events.JWPLAYER_MEDIA_COMPLETE,
b)};this.onTime=function(b){return this.eventListener(a.api.events.JWPLAYER_MEDIA_TIME,b)};this.onVolume=function(b){return this.eventListener(a.api.events.JWPLAYER_MEDIA_VOLUME,b)};this.onBuffer=function(b){return this.stateListener(a.api.events.state.BUFFERING,b)};this.onPause=function(b){return this.stateListener(a.api.events.state.PAUSED,b)};this.onPlay=function(b){return this.stateListener(a.api.events.state.PLAYING,b)};this.onIdle=function(b){return this.stateListener(a.api.events.state.IDLE,
b)};this.remove=function(){d={};m=[];a.utils.getOuterHTML(this.container)!=l&&a.api.destroyPlayer(this.id,l)};this.setup=function(b){if(a.embed){var c=this.id;this.remove();c=a(c);c.config=b;return new a.embed(c)}return this};this.registerPlugin=function(b,c,e){a.plugins.registerPlugin(b,c,e)};this.setPlayer=function(a,b){g=a;this.renderingMode=b};this.stateListener=function(b,c){h[b]||(h[b]=[],this.eventListener(a.api.events.JWPLAYER_PLAYER_STATE,f(b)));h[b].push(c);return this};this.addInternalListener=
function(a,b){a.jwAddEventListener(b,'function(dat) { jwplayer("'+this.id+'").dispatchEvent("'+b+'", dat); }')};this.eventListener=function(a,b){d[a]||(d[a]=[],g&&j&&this.addInternalListener(g,a));d[a].push(b);return this};this.dispatchEvent=function(b,c){if(d[b]){var e;e=a.utils.extend({},c);b==a.api.events.JWPLAYER_FULLSCREEN&&!e.fullscreen?(e.fullscreen=e.message=="true"?!0:!1,delete e.message):typeof e.data=="object"&&(e=a.utils.extend(e,e.data),delete e.data);var g=["position","duration","offset"],
f;for(f in g)e[g[f]]&&(e[g[f]]=Math.round(e[g[f]]*1E3)/1E3);for(g=0;g<d[b].length;g++)typeof d[b][g]=="function"&&d[b][g].call(this,e)}};this.callInternal=function(a,b){if(j){if(typeof g!="undefined"&&typeof g[a]=="function")return b!==void 0?g[a](b):g[a]();return null}else m.push({method:a,parameters:b})};this.playerReady=function(b){j=!0;g||this.setPlayer(document.getElementById(b.id));this.container=document.getElementById(this.id);for(var c in d)this.addInternalListener(g,c);this.eventListener(a.api.events.JWPLAYER_PLAYLIST_ITEM,
function(a){if(a.index!==void 0)e=a.index;k={}});this.eventListener(a.api.events.JWPLAYER_MEDIA_META,function(b){a.utils.extend(k,b.metadata)});for(this.dispatchEvent(a.api.events.API_READY);m.length>0;)b=m.shift(),this.callInternal(b.method,b.parameters)};this.getItemMeta=function(){return k};this.getCurrentItem=function(){return e};return this};a.api.selectPlayer=function(b){var c;b===void 0&&(b=0);b.nodeType?c=b:typeof b=="string"&&(c=document.getElementById(b));if(c)return(b=a.api.playerById(c.id))?
b:a.api.addPlayer(new a.api(c));else if(typeof b=="number")return a.getPlayers()[b];return null};a.api.events={API_READY:"jwplayerAPIReady",JWPLAYER_READY:"jwplayerReady",JWPLAYER_FULLSCREEN:"jwplayerFullscreen",JWPLAYER_RESIZE:"jwplayerResize",JWPLAYER_ERROR:"jwplayerError",JWPLAYER_MEDIA_BUFFER:"jwplayerMediaBuffer",JWPLAYER_MEDIA_BUFFER_FULL:"jwplayerMediaBufferFull",JWPLAYER_MEDIA_ERROR:"jwplayerMediaError",JWPLAYER_MEDIA_LOADED:"jwplayerMediaLoaded",JWPLAYER_MEDIA_COMPLETE:"jwplayerMediaComplete",
JWPLAYER_MEDIA_TIME:"jwplayerMediaTime",JWPLAYER_MEDIA_VOLUME:"jwplayerMediaVolume",JWPLAYER_MEDIA_META:"jwplayerMediaMeta",JWPLAYER_MEDIA_MUTE:"jwplayerMediaMute",JWPLAYER_PLAYER_STATE:"jwplayerPlayerState",JWPLAYER_PLAYLIST_LOADED:"jwplayerPlaylistLoaded",JWPLAYER_PLAYLIST_ITEM:"jwplayerPlaylistItem"};a.api.events.state={BUFFERING:"BUFFERING",IDLE:"IDLE",PAUSED:"PAUSED",PLAYING:"PLAYING"};a.api.playerById=function(a){for(var c=0;c<f.length;c++)if(f[c].id==a)return f[c];return null};a.api.addPlayer=
function(a){for(var c=0;c<f.length;c++)if(f[c]==a)return a;f.push(a);return a};a.api.destroyPlayer=function(b,c){for(var i=-1,d=0;d<f.length;d++)f[d].id==b&&(i=d);if(i>=0){d=document.getElementById(f[i].id);document.getElementById(f[i].id+"_wrapper")&&(d=document.getElementById(f[i].id+"_wrapper"));if(d)if(c)a.utils.setOuterHTML(d,c);else{var h=document.createElement("div"),g=d.id;d.id.indexOf("_wrapper")==d.id.length-8&&(newID=d.id.substring(0,d.id.length-8));h.setAttribute("id",g);d.parentNode.replaceChild(h,
d)}f.splice(i,1)}return null};a.getPlayers=function(){return f.slice(0)}})(jwplayer);var _userPlayerReady=typeof playerReady=="function"?playerReady:void 0;playerReady=function(a){var f=jwplayer.api.playerById(a.id);f&&f.playerReady(a);_userPlayerReady&&_userPlayerReady.call(this,a)};
(function(a){function f(){if(!document.body)return setTimeout(f,15);for(var b=a.utils.selectors.getElementsByTagAndClass("video","jwplayer"),c=0;c<b.length;c++)a(b[c].id).setup({})}a.embed=function(b){function c(){if(h.getStatus()==a.utils.loaderstatus.COMPLETE){for(var c=0;c<d.modes.length;c++)if(d.modes[c].type&&a.embed[d.modes[c].type]){var f=d;d.modes[c].config&&(f=a.utils.extend(a.utils.clone(d),d.modes[c].config));f=new a.embed[d.modes[c].type](document.getElementById(b.id),d.modes[c],f,h,b);
if(f.supportsConfig()){f.embed();var c=b,f=d.events,i=void 0;for(i in f)typeof c[i]=="function"&&c[i].call(c,f[i]);return b}}a.utils.log("No suitable players found");new a.embed.logo(a.utils.extend({hide:!0},d.components.logo),"none",b.id)}}var f=a.utils.mediaparser.parseMedia(b.container),d=new a.embed.config(a.utils.extend({width:400,height:300,components:{controlbar:{position:"over"}}},f,b.config),this),h=a.plugins.loadPlugins(b.id,d.plugins);h.addEventListener(a.events.COMPLETE,c);h.addEventListener(a.events.ERROR,
c);h.load();return b};f()})(jwplayer);
(function(a){function f(){return[{type:"flash",src:"/jwplayer/player.swf"},{type:"html5"},{type:"download"}]}a.embed.config=function(b){var b=a.utils.extend({},b),c,i=b.playlist,d=!1;if(d=i instanceof Array||typeof i=="object"&&!i.position&&!i.size)c=b.playlist,delete b.playlist;for(var h in b)if(h.indexOf(".")>-1)for(var i=h.split("."),d=b,g=0;g<i.length;g++)g==i.length-1?a.utils.typeOf(d)=="object"&&(d[i[g]]=b[h],delete b[h]):(d[i[g]]===void 0&&(d[i[g]]={}),d=d[i[g]]);if(typeof b.plugins=="string"){h=
b.plugins.split(",");if(typeof b.plugins!="object")b.plugins={};for(i=0;i<h.length;i++)d=a.utils.getPluginName(h[i]),typeof b[d]=="object"?(b.plugins[h[i]]=b[d],delete b[d]):b.plugins[h[i]]={}}h=["playlist","dock","controlbar"];for(i=0;i<h.length;i++)if(typeof b[h[i]]=="string"?(b.components[h[i]]||(b.components[h[i]]={}),b.components[h[i]].position=b[h[i]],delete b[h[i]]):b[h[i]]&&(b.components[h[i]]=b[h[i]],delete b[h[i]]),typeof b[h[i]+"size"]!="undefined")b.components[h[i]]||(b.components[h[i]]=
{}),b.components[h[i]].size=b[h[i]+"size"],delete b[h[i]+"size"];if(typeof b.icons!="undefined"){if(!b.components.display)b.components.display={};b.components.display.icons=b.icons;delete b.icons}if(b.players)b.modes=b.players,delete b.players;var j;b.flashplayer&&!b.modes?(j=f(),j[0].src=b.flashplayer,delete b.flashplayer):b.modes?(typeof b.modes=="string"?(j=f(),j[0].src=b.modes):b.modes instanceof Array?j=b.modes:typeof b.modes=="object"&&b.modes.type&&(j=[b.modes]),delete b.modes):j=f();b.modes=
j;if(c)b.playlist=c;return b}})(jwplayer);
(function(a){a.embed.download=function(f,b,c,i,d){function h(b,c,d){if(d)return!1;d=["image","sound","youtube","http"];if(c&&d.toString().indexOf(c)>-1)return!0;if(!c||c&&c=="video")if((b=a.utils.extension(b))&&a.utils.extensionmap[b])return!0;return!1}this.embed=function(){a.utils.extend({},c);var b={},h=c.width?c.width:480;typeof h!="number"&&(h=parseInt(h,10));var i=c.height?c.height:320;typeof i!="number"&&(i=parseInt(i,10));var l,k,e;e={};c.playlist&&c.playlist.length?(e.file=c.playlist[0].file,
k=c.playlist[0].image,e.levels=c.playlist[0].levels):(e.file=c.file,k=c.image,e.levels=c.levels);if(e.file)l=e.file;else if(e.levels&&e.levels.length)l=e.levels[0].file;e=l?"pointer":"auto";var r={display:{style:{cursor:e,width:h,height:i,backgroundColor:"#000",position:"relative",textDecoration:"none",border:"none",display:"block"}},display_icon:{style:{cursor:e,position:"absolute",display:l?"block":"none",top:0,left:0,border:0,margin:0,padding:0,zIndex:3,width:50,height:50,backgroundImage:"url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAALdJREFUeNrs18ENgjAYhmFouDOCcQJGcARHgE10BDcgTOIosAGwQOuPwaQeuFRi2p/3Sb6EC5L3QCxZBgAAAOCorLW1zMn65TrlkH4NcV7QNcUQt7Gn7KIhxA+qNIR81spOGkL8oFJDyLJRdosqKDDkK+iX5+d7huzwM40xptMQMkjIOeRGo+VkEVvIPfTGIpKASfYIfT9iCHkHrBEzf4gcUQ56aEzuGK/mw0rHpy4AAACAf3kJMACBxjAQNRckhwAAAABJRU5ErkJggg==)"}},
display_iconBackground:{style:{cursor:e,position:"absolute",display:l?"block":"none",top:(i-50)/2,left:(h-50)/2,border:0,width:50,height:50,margin:0,padding:0,zIndex:2,backgroundImage:"url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAEpJREFUeNrszwENADAIA7DhX8ENoBMZ5KR10EryckCJiIiIiIiIiIiIiIiIiIiIiIh8GmkRERERERERERERERERERERERGRHSPAAPlXH1phYpYaAAAAAElFTkSuQmCC)"}},display_image:{style:{width:h,height:i,display:k?"block":"none",
position:"absolute",cursor:e,left:0,top:0,margin:0,padding:0,textDecoration:"none",zIndex:1,border:"none"}}};e=function(b,c,e){b=document.createElement(b);b.id=e?e:f.id+"_jwplayer_"+c;a.utils.css(b,r[c].style);return b};b.display=e("a","display",f.id);l&&b.display.setAttribute("href",a.utils.getAbsolutePath(l));b.display_image=e("img","display_image");b.display_image.setAttribute("alt","Click to download...");k&&b.display_image.setAttribute("src",a.utils.getAbsolutePath(k));b.display_icon=e("div",
"display_icon");b.display_iconBackground=e("div","display_iconBackground");b.display.appendChild(b.display_image);b.display_iconBackground.appendChild(b.display_icon);b.display.appendChild(b.display_iconBackground);_css=a.utils.css;_hide=function(a){_css(a,{display:"none"})};b.display_image.onerror=function(){_hide(b.display_image)};b.display_image.onload=function(){_imageWidth=b.display_image.naturalWidth;_imageHeight=b.display_image.naturalHeight;a.utils.stretch(a.utils.stretching.UNIFORM,b.display_image,
h,i,_imageWidth,_imageHeight)};f.parentNode.replaceChild(b.display,f);b.display.appendChild(new a.embed.logo(c.components.logo,"download",f.id));d.container=document.getElementById(d.id);d.setPlayer(b.display,"download")};this.supportsConfig=function(){if(c){var b=a.utils.getFirstPlaylistItemFromConfig(c);if(typeof b.file=="undefined"&&typeof b.levels=="undefined")return!0;else if(b.file)return h(b.file,b.provider,b.playlistfile);else if(b.levels&&b.levels.length)for(var d=0;d<b.levels.length;d++)if(b.levels[d].file&&
h(b.levels[d].file,b.provider,b.playlistfile))return!0}else return!0}}})(jwplayer);
(function(a){a.embed.flash=function(f,b,c,i,d){function h(a,b,c){var d=document.createElement("param");d.setAttribute("name",b);d.setAttribute("value",c);a.appendChild(d)}function g(b,c,f){return function(){f&&document.getElementById(d.id+"_wrapper").appendChild(c);var g=document.getElementById(d.id).getPluginConfig("display");b.resize(g.width,g.height);a.utils.css(c,{left:g.x,top:g.y})}}function j(a,b){if(a[b]){var c=a[b],d;for(d in c){var g=c[d];if(typeof g=="string")a[d]||(a[d]=g);else for(var f in g)a[d+
"."+f]||(a[d+"."+f]=g[f])}delete a[b]}}function m(b){if(!b)return{};var c={},d=[],g;for(g in b){var f=a.utils.getPluginName(g),h=b[g];d.push(g);for(var i in h)c[f+"."+i]=h[i]}c.plugins=d.join(",");return c}function l(a){var b=a.netstreambasepath?"":"netstreambasepath="+encodeURIComponent(window.location.href)+"&",c;for(c in a)b+=c+"="+encodeURIComponent(a[c])+"&";return b.substring(0,b.length-1)}function k(a){return function(){if(a.playlist)this.load(a.playlist);else if(a.levels){var b=this.getPlaylistItem(0);
b||(b=a);if(!b.image)b.image=a.image;if(!b.levels)b.levels=a.levels;this.load(b)}}}this.embed=function(){if(c.levels||c.playlist)d.onReady(k(c));c.id=d.id;var e;f.id+"_wrapper"==f.parentNode.id?document.getElementById(f.id+"_wrapper"):(e=document.createElement("div"),e.id=f.id+"_wrapper",a.utils.wrap(f,e),e.style.position="relative");e=a.utils.extend({},c);var r=i.setupPlugins(d,e,g);r.length>0?a.utils.extend(e,m(r.plugins)):delete e.plugins;for(var r=e.width,q=e.height,u=["height","width","levels",
"playlist","modes","events"],s=0;s<u.length;s++)delete e[u[s]];u="opaque";if(e.wmode)u=e.wmode;j(e,"components");j(e,"providers");a.utils.isIE()?(r='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" bgcolor="#000000" width="'+r+'" height="'+q+'" id="'+f.id+'" name="'+f.id+'">',r+='<param name="movie" value="'+b.src+'">',r+='<param name="allowfullscreen" value="true">',r+='<param name="allowscriptaccess" value="always">',r+='<param name="seamlesstabbing" value="true">',r+='<param name="wmode" value="'+
u+'">',r+='<param name="flashvars" value="'+l(e)+'">',r+="</object>",a.utils.setOuterHTML(f,r),e=document.getElementById(f.id)):(s=document.createElement("object"),s.setAttribute("type","application/x-shockwave-flash"),s.setAttribute("data",b.src),s.setAttribute("width",r),s.setAttribute("height",q),s.setAttribute("bgcolor","#000000"),s.setAttribute("id",f.id),s.setAttribute("name",f.id),h(s,"allowfullscreen","true"),h(s,"allowscriptaccess","always"),h(s,"seamlesstabbing","true"),h(s,"wmode",u),h(s,
"flashvars",l(e)),f.parentNode.replaceChild(s,f),e=s);d.container=e;d.setPlayer(e,"flash")};this.supportsConfig=function(){if(a.utils.hasFlash())if(c){var b=a.utils.getFirstPlaylistItemFromConfig(c);if(typeof b.file=="undefined"&&typeof b.levels=="undefined")return!0;else if(b.file)return flashCanPlay(b.file,b.provider);else if(b.levels&&b.levels.length)for(var d=0;d<b.levels.length;d++)if(b.levels[d].file&&flashCanPlay(b.levels[d].file,b.provider))return!0}else return!0;return!1};flashCanPlay=function(b,
c){var d=["video","http","sound","image"];if(c&&d.toString().indexOf(c<0))return!0;d=a.utils.extension(b);if(!d)return!0;if(a.utils.extensionmap[d]!==void 0&&a.utils.extensionmap[d].flash===void 0)return!1;return!0}}})(jwplayer);
(function(a){a.embed.html5=function(f,b,c,i,d){function h(a,b,c){return function(){var d=document.getElementById(f.id+"_displayarea");c&&d.appendChild(b);d=d.style;a.resize(parseInt(d.width.replace("px","")),parseInt(d.height.replace("px","")));b.left=d.left;b.top=d.top}}this.embed=function(){if(a.html5){i.setupPlugins(d,c,h);f.innerHTML="";for(var b=a.utils.extend({screencolor:"0x000000"},c),j=["plugins","modes","events"],m=0;m<j.length;m++)delete b[j[m]];if(b.levels&&!b.sources)b.sources=c.levels;
if(b.skin&&b.skin.toLowerCase().indexOf(".zip")>0)b.skin=b.skin.replace(/\.zip/i,".xml");b=new (a.html5(f).setup)(b);d.container=document.getElementById(d.id);d.setPlayer(b,"html5")}else return null};this.supportsConfig=function(){var b=document.createElement("video");if(b.canPlayType)if(c){var d=a.utils.getFirstPlaylistItemFromConfig(c);if(typeof d.file=="undefined"&&typeof d.levels=="undefined")return!0;else if(d.file)return html5CanPlay(b,d.file,d.provider,d.playlistfile);else if(d.levels&&d.levels.length)for(var f=
0;f<d.levels.length;f++)if(d.levels[f].file&&html5CanPlay(b,d.levels[f].file,d.provider,d.playlistfile))return!0}else return!0;return!1};html5CanPlay=function(b,c,d,f){if(f)return!1;if(d&&d=="youtube")return!0;if(d&&d!="video"&&d!="http")return!1;c=a.utils.extension(c);if(!c||a.utils.extensionmap[c]===void 0)return!0;if(a.utils.extensionmap[c].html5===void 0)return!1;if(a.utils.isLegacyAndroid()&&c.match(/m4v|mp4/))return!0;return browserCanPlay(b,a.utils.extensionmap[c].html5)};browserCanPlay=function(a,
b){if(!b)return!0;return a.canPlayType(b)}}})(jwplayer);
(function(a){a.embed.logo=function(f,b,c){function i(a){typeof a!="undefined"&&(a.preventDefault(),a.stopPropagation());m.link&&window.open(m.link,"_blank")}function d(){if(m.link)j.style.opacity=m.out}function h(){if(m.hide)j.style.opacity=m.over}var g={prefix:"http://l.longtailvideo.com/"+b+"/",file:"",link:"",margin:8,out:0.5,over:1,timeout:3,hide:!1,position:"bottom-left"};_css=a.utils.css;var j,m;(function(){if(g.prefix){var b=a.version.split(/\W/).splice(0,2).join("/");g.prefix.indexOf(b)<0&&
(g.prefix+=b+"/")}m=a.utils.extend({},g,f)})();(function(){j=document.createElement("img");j.id=c+"_jwplayer_logo";j.style.display="none";j.onload=function(){var a=_css,b=j,c={border:"none",textDecoration:"none",position:"absolute",cursor:"pointer",zIndex:10};c.display=m.hide?"none":"block";var f=m.position.toLowerCase().split("-"),g;for(g in f)c[f[g]]=m.margin;a(b,c);d()};if(m.file)j.src=m.file.indexOf("http://")===0?m.file:m.prefix+m.file})();(function(){m.link?(j.onmouseover=h,j.onmouseout=d,j.onclick=
i):this.mouseEnabled=!1})();if(m.file)return j}})(jwplayer);(function(a){a.html5=function(f){this.setup=function(b){a.utils.extend(this,new a.html5.api(f,b));return this};return this}})(jwplayer);
(function(a){var f=a.utils.css;a.html5.view=function(b,c,i){function d(){z=document.createElement("div");z.id=A.id;z.className=A.className;_videowrapper=document.createElement("div");_videowrapper.id=z.id+"_video_wrapper";A.id=z.id+"_video";var b=f,c=z,d=o.height,e=o.width,g;g=s.skin.getComponentSettings("display")&&s.skin.getComponentSettings("display").backgroundcolor?s.skin.getComponentSettings("display").backgroundcolor:parseInt("000000",16);b(c,{position:"relative",height:d,width:e,padding:0,
backgroundColor:g,zIndex:0});f(A,{width:o.width,height:o.height,top:0,left:0,zIndex:1,margin:"auto",display:"block"});f(_videowrapper,{overflow:"hidden",position:"absolute",top:0,left:0,bottom:0,right:0});a.utils.wrap(A,z);a.utils.wrap(A,_videowrapper);n=document.createElement("div");n.id=z.id+"_displayarea";z.appendChild(n)}function h(){for(var a=0;a<o.plugins.order.length;a++){var b=o.plugins.order[a];if(o.plugins.object[b].getDisplayElement!==void 0)o.plugins.object[b].height=j(o.plugins.object[b].getDisplayElement().style.height),
o.plugins.object[b].width=j(o.plugins.object[b].getDisplayElement().style.width),o.plugins.config[b].currentPosition=o.plugins.config[b].position}g()}function g(){if(o.getMedia()!==void 0)for(var b=0;b<o.plugins.order.length;b++){var c=o.plugins.order[b];if(o.plugins.object[c].getDisplayElement!==void 0)o.plugins.config[c].currentPosition=o.getMedia().hasChrome()?a.html5.view.positions.NONE:o.plugins.config[c].position}l(o.width,o.height)}function j(a){if(typeof a=="string")if(a==="")return 0;else if(!(a.lastIndexOf("%")>
-1))return parseInt(a.replace("px",""),10);return a}function m(b){switch(b.keyCode){case 27:s.jwGetFullscreen()&&s.jwSetFullscreen(!1);break;case 32:s.jwGetState()!=a.api.events.state.IDLE&&s.jwGetState()!=a.api.events.state.PAUSED?s.jwPause():s.jwPlay()}}function l(a,b){if(z.style.display!="none"){var c=[].concat(o.plugins.order);c.reverse();F=c.length+2;o.fullscreen?navigator.vendor.indexOf("Apple")!==0&&k(q,c,!0):(o.width=a,o.height=b,y=a,v=b,f(n,{top:0,bottom:0,left:0,right:0,width:a,height:b}),
f(z,{height:v,width:y}),c=k(e,c),c.length>0&&(F+=c.length,k(r,c,!0)));u()}}function k(b,c,d){for(var e=[],g=0;g<c.length;g++){var h=c[g];if(o.plugins.object[h].getDisplayElement!==void 0)if(o.plugins.config[h].currentPosition!=a.html5.view.positions.NONE){var i=b(h,F--);i?(o.plugins.object[h].resize(i.width,i.height),d&&(delete i.width,delete i.height),f(o.plugins.object[h].getDisplayElement(),i)):e.push(h)}else f(o.plugins.object[h].getDisplayElement(),{display:"none"})}return e}function e(b,c){if(o.plugins.object[b].getDisplayElement!==
void 0&&o.plugins.config[b].position&&[a.html5.view.positions.TOP,a.html5.view.positions.RIGHT,a.html5.view.positions.BOTTOM,a.html5.view.positions.LEFT].toString().indexOf(o.plugins.config[b].position.toUpperCase())>-1){o.plugins.object[b].getDisplayElement().parentNode===null&&z.appendChild(o.plugins.object[b].getDisplayElement());var d={position:"absolute",margin:0,padding:0,top:null},e=o.plugins.config[b].currentPosition.toLowerCase();switch(e.toUpperCase()){case a.html5.view.positions.TOP:d.top=
j(n.style.top);d.left=j(n.style.left);d.width=y-j(n.style.left)-j(n.style.right);d.height=o.plugins.object[b].height;n.style[e]=j(n.style[e])+o.plugins.object[b].height+"px";n.style.height=j(n.style.height)-d.height+"px";break;case a.html5.view.positions.RIGHT:d.top=j(n.style.top);d.right=j(n.style.right);d.width=d.width=o.plugins.object[b].width;d.height=v-j(n.style.top)-j(n.style.bottom);n.style[e]=j(n.style[e])+o.plugins.object[b].width+"px";n.style.width=j(n.style.width)-d.width+"px";break;case a.html5.view.positions.BOTTOM:d.bottom=
j(n.style.bottom);d.left=j(n.style.left);d.width=y-j(n.style.left)-j(n.style.right);d.height=o.plugins.object[b].height;n.style[e]=j(n.style[e])+o.plugins.object[b].height+"px";n.style.height=j(n.style.height)-d.height+"px";break;case a.html5.view.positions.LEFT:d.top=j(n.style.top),d.left=j(n.style.left),d.width=o.plugins.object[b].width,d.height=v-j(n.style.top)-j(n.style.bottom),n.style[e]=j(n.style[e])+o.plugins.object[b].width+"px",n.style.width=j(n.style.width)-d.width+"px"}d.zIndex=c;return d}return!1}
function r(a,b){o.plugins.object[a].getDisplayElement().parentNode===null&&n.appendChild(o.plugins.object[a].getDisplayElement());var c=o.width,d=o.height;typeof o.width=="string"&&o.width.lastIndexOf("%")>-1&&(percentage=parseFloat(o.width.substring(0,o.width.lastIndexOf("%")))/100,c=Math.round(window.innerWidth*percentage));typeof o.height=="string"&&o.height.lastIndexOf("%")>-1&&(percentage=parseFloat(o.height.substring(0,o.height.lastIndexOf("%")))/100,d=Math.round(window.innerHeight*percentage));
return{position:"absolute",width:c-j(n.style.left)-j(n.style.right),height:d-j(n.style.top)-j(n.style.bottom),zIndex:b}}function q(a,b){return{position:"fixed",width:o.width,height:o.height,zIndex:b}}function u(){n.style.position="absolute";o.getMedia().getDisplayElement().style.position="absolute";if(!(o.getMedia().getDisplayElement().videoWidth==0||o.getMedia().getDisplayElement().videoHeight==0)){var b,c;n.style.width.toString().lastIndexOf("%")>-1||n.style.width.toString().lastIndexOf("%")>-1?
(c=n.getBoundingClientRect(),b=Math.abs(c.left)+Math.abs(c.right),c=Math.abs(c.top)+Math.abs(c.bottom)):(b=j(n.style.width),c=j(n.style.height));a.utils.stretch(s.jwGetStretching(),o.getMedia().getDisplayElement(),b,c,o.getMedia().getDisplayElement().videoWidth,o.getMedia().getDisplayElement().videoHeight)}}var s=b,A=c,o=i,z,y,v,n,F;this.setup=function(b){A=b;d();h();s.jwAddEventListener(a.api.events.JWPLAYER_MEDIA_LOADED,g);s.jwAddEventListener(a.api.events.JWPLAYER_MEDIA_META,function(){u()});var c;
if(window.onresize!==null)c=window.onresize;window.onresize=function(a){if(c!==void 0)try{c(a)}catch(b){}if(s.jwGetFullscreen())a=document.body.getBoundingClientRect(),o.width=Math.abs(a.left)+Math.abs(a.right),o.height=window.innerHeight;l(o.width,o.height)}};this.resize=l;this.fullscreen=function(a){if(navigator.vendor.indexOf("Apple")===0){if(o.getMedia().getDisplayElement().webkitSupportsFullscreen)if(a)try{o.getMedia().getDisplayElement().webkitEnterFullscreen()}catch(b){}else try{o.getMedia().getDisplayElement().webkitExitFullscreen()}catch(c){}}else a?
(document.onkeydown=m,clearInterval(void 0),a=document.body.getBoundingClientRect(),o.width=Math.abs(a.left)+Math.abs(a.right),o.height=window.innerHeight,a={position:"fixed",width:"100%",height:"100%",top:0,left:0,zIndex:2147483E3},f(z,a),a.zIndex=1,f(o.getMedia().getDisplayElement(),a),a.zIndex=2,f(n,a)):(document.onkeydown="",o.width=y,o.height=v,f(z,{position:"relative",height:o.height,width:o.width,zIndex:0})),l(o.width,o.height)}};a.html5.view.positions={TOP:"TOP",RIGHT:"RIGHT",BOTTOM:"BOTTOM",
LEFT:"LEFT",OVER:"OVER",NONE:"NONE"}})(jwplayer);
(function(a){var f={backgroundcolor:"",margin:10,font:"Arial,sans-serif",fontsize:10,fontcolor:parseInt("000000",16),fontstyle:"normal",fontweight:"bold",buttoncolor:parseInt("ffffff",16),position:a.html5.view.positions.BOTTOM,idlehide:!1,layout:{left:{position:"left",elements:[{name:"play",type:"button"},{name:"divider",type:"divider"},{name:"prev",type:"button"},{name:"divider",type:"divider"},{name:"next",type:"button"},{name:"divider",type:"divider"},{name:"elapsed",type:"text"}]},center:{position:"center",
elements:[{name:"time",type:"slider"}]},right:{position:"right",elements:[{name:"duration",type:"text"},{name:"blank",type:"button"},{name:"divider",type:"divider"},{name:"mute",type:"button"},{name:"volume",type:"slider"},{name:"divider",type:"divider"},{name:"fullscreen",type:"button"}]}}};_css=a.utils.css;_hide=function(a){_css(a,{display:"none"})};_show=function(a){_css(a,{display:"block"})};a.html5.controlbar=function(b,c){function i(){K=C=B=0;if(!L){var a={height:p.skin.getSkinElement("controlbar",
"background").height,backgroundColor:w.backgroundcolor};x=document.createElement("div");x.id=p.id+"_jwplayer_controlbar";_css(x,a)}k("capLeft","left",!1,x);a={position:"absolute",height:p.skin.getSkinElement("controlbar","background").height,left:p.skin.getSkinElement("controlbar","capLeft").width,zIndex:0};j("background",x,a,"img");if(p.skin.getSkinElement("controlbar","background"))t.background.src=p.skin.getSkinElement("controlbar","background").src;a.zIndex=1;j("elements",x,a);k("capRight","right",
!1,x)}function d(){var a=["timeSlider","volumeSlider","timeSliderRail","volumeSliderRail"],b;for(b in a){var c=a[b];typeof t[c]!="undefined"&&(H[c]=t[c].getBoundingClientRect())}}function h(){a.utils.cancelAnimation(x);g()?a.utils.fadeTo(x,1,0,1,0):a.utils.fadeTo(x,0,0.1,1,2)}function g(){if(p.jwGetState()==a.api.events.state.IDLE||p.jwGetState()==a.api.events.state.PAUSED){if(w.idlehide)return!1;return!0}if(p.jwGetFullscreen())return!1;if(w.position==a.html5.view.positions.OVER)return!1;return!0}
function j(a,b,c,d){L?d=document.getElementById(x.id+"_"+a):(d||(d="div"),d=document.createElement(d),t[a]=d,d.id=x.id+"_"+a,b.appendChild(d));c!==void 0&&_css(d,c);return d}function m(){l(w.layout.left);l(w.layout.right,-1);l(w.layout.center)}function l(b,c){var d=b.position=="right"?"right":"left",e=a.utils.extend([],b.elements);c!==void 0&&e.reverse();for(var f=0;f<e.length;f++){var g=e[f],h=d,i=void 0,l=void 0,o=void 0,l=l=void 0;switch(g.name){case "play":k("playButton",h,!1);k("pauseButton",
h,!0);q("playButton","jwPlay");q("pauseButton","jwPause");break;case "divider":k("divider"+K++,h,!0,void 0,void 0,g.width);break;case "prev":k("prevButton",h,!0);q("prevButton","jwPlaylistPrev");break;case "next":k("nextButton",h,!0);q("nextButton","jwPlaylistNext");break;case "elapsed":k("elapsedText",h,!0);break;case "time":l=p.skin.getSkinElement("controlbar","timeSliderCapLeft")===void 0?0:p.skin.getSkinElement("controlbar","timeSliderCapLeft").width;o=p.skin.getSkinElement("controlbar","timeSliderCapRight")===
void 0?0:p.skin.getSkinElement("controlbar","timeSliderCapRight").width;i=h=="left"?l:o;l=p.skin.getSkinElement("controlbar","timeSliderRail").width+l+o;l={height:p.skin.getSkinElement("controlbar","background").height,position:"absolute",top:0,width:l};l[h]=h=="left"?B:C;g=j("timeSlider",t.elements,l);k("timeSliderCapLeft",h,!0,g,h=="left"?0:i);k("timeSliderRail",h,!1,g,i);k("timeSliderBuffer",h,!1,g,i);k("timeSliderProgress",h,!1,g,i);k("timeSliderThumb",h,!1,g,i);k("timeSliderCapRight",h,!0,g,
h=="right"?0:i);u("time");break;case "fullscreen":k("fullscreenButton",h,!1);k("normalscreenButton",h,!0);q("fullscreenButton","jwSetFullscreen",!0);q("normalscreenButton","jwSetFullscreen",!1);break;case "volume":l=p.skin.getSkinElement("controlbar","volumeSliderCapLeft")===void 0?0:p.skin.getSkinElement("controlbar","volumeSliderCapLeft").width;o=p.skin.getSkinElement("controlbar","volumeSliderCapRight")===void 0?0:p.skin.getSkinElement("controlbar","volumeSliderCapRight").width;i=h=="left"?l:o;
l=p.skin.getSkinElement("controlbar","volumeSliderRail").width+l+o;l={height:p.skin.getSkinElement("controlbar","background").height,position:"absolute",top:0,width:l};l[h]=h=="left"?B:C;g=j("volumeSlider",t.elements,l);k("volumeSliderCapLeft",h,!0,g,h=="left"?0:i);k("volumeSliderRail",h,!0,g,i);k("volumeSliderProgress",h,!1,g,i);k("volumeSliderCapRight",h,!0,g,h=="right"?0:i);u("volume");break;case "mute":k("muteButton",h,!1);k("unmuteButton",h,!0);q("muteButton","jwSetMute",!0);q("unmuteButton",
"jwSetMute",!1);break;case "duration":k("durationText",h,!0)}}}function k(b,c,d,e,f,h){if((p.skin.getSkinElement("controlbar",b)!==void 0||b.indexOf("Text")>0||b.indexOf("divider")===0)&&!(b.indexOf("divider")===0&&M.indexOf("divider")===0)){M=b;var g={height:p.skin.getSkinElement("controlbar","background").height,position:"absolute",display:"block",top:0};if((b.indexOf("next")===0||b.indexOf("prev")===0)&&p.jwGetPlaylist().length<2)d=!1,g.display="none";var i;b.indexOf("Text")>0?(b.innerhtml="00:00",
g.font=w.fontsize+"px/"+(p.skin.getSkinElement("controlbar","background").height+1)+"px "+w.font,g.color=w.fontcolor,g.textAlign="center",g.fontWeight=w.fontweight,g.fontStyle=w.fontstyle,g.cursor="default",i=14+3*w.fontsize):b.indexOf("divider")===0?h?isNaN(parseInt(h))||(i=parseInt(h)):(g.background="url("+p.skin.getSkinElement("controlbar","divider").src+") repeat-x center left",i=p.skin.getSkinElement("controlbar","divider").width):(g.background="url("+p.skin.getSkinElement("controlbar",b).src+
") repeat-x center left",i=p.skin.getSkinElement("controlbar",b).width);if(c=="left")g.left=isNaN(f)?B:f,d&&(B+=i);else if(c=="right")g.right=isNaN(f)?C:f,d&&(C+=i);if(a.utils.typeOf(e)=="undefined")e=t.elements;g.width=i;if(L)_css(t[b],g);else{var l=j(b,e,g);if(p.skin.getSkinElement("controlbar",b+"Over")!==void 0)l.onmouseover=function(){l.style.backgroundImage=["url(",p.skin.getSkinElement("controlbar",b+"Over").src,")"].join("")},l.onmouseout=function(){l.style.backgroundImage=["url(",p.skin.getSkinElement("controlbar",
b).src,")"].join("")}}}}function e(){i();m();n();r()}function r(){y({id:p.id,duration:p.jwGetDuration(),position:0});s({id:p.id,bufferProgress:0});A({id:p.id,mute:p.jwGetMute()});o({id:p.id,newstate:a.api.events.state.IDLE});F({id:p.id,volume:p.jwGetVolume()})}function q(a,b,c){if(!L&&p.skin.getSkinElement("controlbar",a)!==void 0&&(a=t[a],a!==null))_css(a,{cursor:"pointer"}),a.onmouseup=b=="fullscreen"?function(a){a.stopPropagation();p.jwSetFullscreen(!p.jwGetFullscreen())}:function(a){a.stopPropagation();
if(c!==null)p[b](c);else p[b]()}}function u(b){if(!L){var c=t[b+"Slider"];_css(t.elements,{cursor:"pointer"});_css(c,{cursor:"pointer"});c.onmousedown=function(){G=b};c.onmouseup=function(b){b.stopPropagation();b=b.pageX;I=!1;G=="time"?(b=b-H.timeSliderRail.left+window.pageXOffset,b=b/H.timeSliderRail.width*D,b<0?b=0:b>D&&(b=D-3),p.jwSeek(b),p.jwGetState()!=a.api.events.state.PLAYING&&p.jwPlay()):G=="volume"&&(b=b-H.volumeSliderRail.left-window.pageXOffset,b=Math.round(b/H.volumeSliderRail.width*
100),b<0?b=0:b>100&&(b=100),p.jwGetMute()&&p.jwSetMute(!1),p.jwSetVolume(b));G="none"};c.onmousemove=function(a){G=="time"&&(I=!0,_css(t.timeSliderThumb,{left:a.pageX-H[b+"Slider"].left-window.pageXOffset}))}}}function s(a){if(a.bufferPercent!==null)J=a.bufferPercent;a=H.timeSliderRail.width;a=isNaN(Math.round(a*J/100))?0:Math.round(a*J/100);_css(t.timeSliderBuffer,{width:a})}function A(a){a.mute?(_hide(t.muteButton),_show(t.unmuteButton),_hide(t.volumeSliderProgress)):(_show(t.muteButton),_hide(t.unmuteButton),
_show(t.volumeSliderProgress))}function o(b){b.newstate==a.api.events.state.BUFFERING||b.newstate==a.api.events.state.PLAYING?(_show(t.pauseButton),_hide(t.playButton)):(_hide(t.pauseButton),_show(t.playButton));h();b.newstate==a.api.events.state.IDLE?(_hide(t.timeSliderBuffer),_hide(t.timeSliderProgress),_hide(t.timeSliderThumb),y({id:p.id,duration:p.jwGetDuration(),position:0})):(_show(t.timeSliderBuffer),b.newstate!=a.api.events.state.BUFFERING&&(_show(t.timeSliderProgress),_show(t.timeSliderThumb)))}
function z(b){s({bufferPercent:0});y(a.utils.extend(b,{position:0,duration:D}))}function y(a){if(a.position!==null)E=a.position;if(a.duration!==null)D=a.duration;a=E===D===0?0:E/D;a=isNaN(Math.round(H.timeSliderRail.width*a))?0:Math.round(H.timeSliderRail.width*a);t.timeSliderProgress.style.width=a+"px";if(!I&&t.timeSliderThumb)t.timeSliderThumb.style.left=a+"px";if(t.durationText)t.durationText.innerHTML=v(D);if(t.elapsedText)t.elapsedText.innerHTML=v(E)}function v(a){str="00:00";a>0&&(str=Math.floor(a/
60)<10?"0"+Math.floor(a/60)+":":Math.floor(a/60)+":",str+=Math.floor(a%60)<10?"0"+Math.floor(a%60):Math.floor(a%60));return str}function n(){var b,c,e=document.getElementById(x.id+"_elements").childNodes,g;for(g in document.getElementById(x.id+"_elements").childNodes)if(!isNaN(parseInt(g,10))){if(e[g].id.indexOf(x.id+"_divider")===0&&c.id.indexOf(x.id+"_divider")===0)e[g].style.display="none";else if(e[g].id.indexOf(x.id+"_divider")===0&&b.style.display!="none")e[g].style.display="block";e[g].style.display!=
"none"&&(c=e[g]);b=e[g]}p.jwGetFullscreen()?(_show(t.normalscreenButton),_hide(t.fullscreenButton)):(_hide(t.normalscreenButton),_show(t.fullscreenButton));b={width:N};c={};w.position==a.html5.view.positions.OVER||p.jwGetFullscreen()?(b.left=w.margin,b.width-=2*w.margin,b.top=O-p.skin.getSkinElement("controlbar","background").height-w.margin,b.height=p.skin.getSkinElement("controlbar","background").height):b.left=0;c.left=p.skin.getSkinElement("controlbar","capLeft").width;c.width=b.width-p.skin.getSkinElement("controlbar",
"capLeft").width-p.skin.getSkinElement("controlbar","capRight").width;e=p.skin.getSkinElement("controlbar","timeSliderCapLeft")===void 0?0:p.skin.getSkinElement("controlbar","timeSliderCapLeft").width;_css(t.timeSliderRail,{width:c.width-B-C,left:e});t.timeSliderCapRight!==void 0&&_css(t.timeSliderCapRight,{left:e+(c.width-B-C)});_css(x,b);_css(t.elements,c);_css(t.background,c);d();return b}function F(a){if(t.volumeSliderRail!==void 0){var a=isNaN(a.volume/100)?1:a.volume/100,b=parseInt(t.volumeSliderRail.style.width.replace("px",
""),10),a=isNaN(Math.round(b*a))?0:Math.round(b*a);parseInt(t.volumeSliderRail.style.right.replace("px",""),10);b=p.skin.getSkinElement("controlbar","volumeSliderCapLeft")===void 0?0:p.skin.getSkinElement("controlbar","volumeSliderCapLeft").width;_css(t.volumeSliderProgress,{width:a,left:b});t.volumeSliderCapLeft!==void 0&&_css(t.volumeSliderCapLeft,{left:0})}}var p=b,w=a.utils.extend({},f,p.skin.getComponentSettings("controlbar"),c);if(!(w.position==a.html5.view.positions.NONE||typeof a.html5.view.positions[w.position]==
"undefined")){if(a.utils.mapLength(p.skin.getComponentLayout("controlbar"))>0)w.layout=p.skin.getComponentLayout("controlbar");var x,K,B,C,G="none",I,E,D,J,N,O,M,t={},L=!1,H={};this.getDisplayElement=function(){return x};this.resize=function(b,c){a.utils.cancelAnimation(x);document.getElementById(p.id).onmousemove=h;N=b;O=c;h();var d=n();y({id:p.id,duration:D,position:E});s({id:p.id,bufferPercent:J});return d};i();m();d();L=!0;p.jwAddEventListener(a.api.events.JWPLAYER_PLAYLIST_LOADED,e);p.jwAddEventListener(a.api.events.JWPLAYER_MEDIA_BUFFER,
s);p.jwAddEventListener(a.api.events.JWPLAYER_PLAYER_STATE,o);p.jwAddEventListener(a.api.events.JWPLAYER_MEDIA_TIME,y);p.jwAddEventListener(a.api.events.JWPLAYER_MEDIA_MUTE,A);p.jwAddEventListener(a.api.events.JWPLAYER_MEDIA_VOLUME,F);p.jwAddEventListener(a.api.events.JWPLAYER_MEDIA_COMPLETE,z);r();x.style.opacity=w.idlehide?0:1;return this}}})(jwplayer);
(function(a){a.html5.controller=function(f,b,c,i){function d(a){u.sendEvent(a.type,a)}function h(){try{return e.playlist[e.item].levels[0].file.length>0&&(r||e.state==a.api.events.state.IDLE?(e.addEventListener(a.api.events.JWPLAYER_MEDIA_BUFFER_FULL,function(){e.getMedia().play()}),e.addEventListener(a.api.events.JWPLAYER_MEDIA_TIME,function(a){if(a.position>=e.playlist[e.item].start&&q>=0)e.playlist[e.item].start=q,q=-1}),e.config.repeat&&e.addEventListener(a.api.events.JWPLAYER_MEDIA_COMPLETE,
function(){setTimeout(k,25)}),e.getMedia().load(e.playlist[e.item]),r=!1):e.state==a.api.events.state.PAUSED&&e.getMedia().play()),!0}catch(b){u.sendEvent(a.api.events.JWPLAYER_ERROR,b)}return!1}function g(){try{return e.playlist[e.item].levels[0].file.length>0&&e.state!=a.api.events.state.IDLE&&e.getMedia().stop(),!0}catch(b){u.sendEvent(a.api.events.JWPLAYER_ERROR,b)}return!1}function j(){try{return e.playlist[e.item].levels[0].file.length>0&&(e.config.shuffle?l(m()):e.item+1==e.playlist.length?
l(0):l(e.item+1)),e.state!=a.api.events.state.PLAYING&&e.state!=a.api.events.state.BUFFERING&&h(),!0}catch(b){u.sendEvent(a.api.events.JWPLAYER_ERROR,b)}return!1}function m(){var a=null;if(e.playlist.length>1)for(;a===null;)a=Math.floor(Math.random()*e.playlist.length),a==e.item&&(a=null);else a=0;return a}function l(b){e.resetEventListeners();e.addGlobalListener(d);try{if(e.playlist[b].levels[0].file.length>0){var f=e.state;f!==a.api.events.state.IDLE&&g();e.item=b;r=!0;e.setActiveMediaProvider(e.playlist[e.item]);
u.sendEvent(a.api.events.JWPLAYER_PLAYLIST_ITEM,{index:b});(f==a.api.events.state.PLAYING||f==a.api.events.state.BUFFERING||e.config.chromeless||c.config.autostart===!0)&&h()}return!0}catch(i){u.sendEvent(a.api.events.JWPLAYER_ERROR,i)}return!1}function k(){e.resetEventListeners();e.addGlobalListener(d);switch(e.config.repeat.toUpperCase()){case a.html5.controller.repeatoptions.SINGLE:h();break;case a.html5.controller.repeatoptions.ALWAYS:e.item==e.playlist.length-1&&!e.config.shuffle?(l(0),h()):
j();break;case a.html5.controller.repeatoptions.LIST:e.item==e.playlist.length-1&&!e.config.shuffle?l(0):j()}}var e=c,r=!0,q=-1,f=e.config.debug!==void 0&&e.config.debug.toString().toLowerCase()=="console",u=new a.html5.eventdispatcher(b.id,f);a.utils.extend(this,u);e.addGlobalListener(d);a.html5.controller.repeatoptions={LIST:"LIST",ALWAYS:"ALWAYS",SINGLE:"SINGLE",NONE:"NONE"};this.play=h;this.pause=function(){try{if(e.playlist[e.item].levels[0].file.length>0)switch(e.state){case a.api.events.state.PLAYING:case a.api.events.state.BUFFERING:e.getMedia().pause()}return!0}catch(b){u.sendEvent(a.api.events.JWPLAYER_ERROR,
b)}return!1};this.seek=function(b){try{if(e.playlist[e.item].levels[0].file.length>0)switch(typeof b!="number"&&(b=parseFloat(b)),e.state){case a.api.events.state.IDLE:if(q<0)q=e.playlist[e.item].start,e.playlist[e.item].start=b;h();break;case a.api.events.state.PLAYING:case a.api.events.state.PAUSED:case a.api.events.state.BUFFERING:e.getMedia().seek(b)}return!0}catch(c){u.sendEvent(a.api.events.JWPLAYER_ERROR,c)}return!1};this.stop=g;this.next=j;this.prev=function(){try{return e.playlist[e.item].levels[0].file.length>
0&&(e.config.shuffle?l(m()):e.item===0?l(e.playlist.length-1):l(e.item-1)),e.state!=a.api.events.state.PLAYING&&e.state!=a.api.events.state.BUFFERING&&h(),!0}catch(b){u.sendEvent(a.api.events.JWPLAYER_ERROR,b)}return!1};this.item=l;this.setVolume=function(b){try{switch(typeof b){case "number":e.getMedia().volume(b);break;case "string":e.getMedia().volume(parseInt(b,10))}return!0}catch(c){u.sendEvent(a.api.events.JWPLAYER_ERROR,c)}return!1};this.setMute=function(b){try{return typeof b=="undefined"?
e.getMedia().mute(!e.mute):b.toString().toLowerCase()=="true"?e.getMedia().mute(!0):e.getMedia().mute(!1),!0}catch(c){u.sendEvent(a.api.events.JWPLAYER_ERROR,c)}return!1};this.resize=function(b,c){try{return e.width=b,e.height=c,i.resize(b,c),u.sendEvent(a.api.events.JWPLAYER_RESIZE,{width:e.width,height:e.height}),!0}catch(d){u.sendEvent(a.api.events.JWPLAYER_ERROR,d)}return!1};this.setFullscreen=function(b){try{return typeof b=="undefined"?(e.fullscreen=!e.fullscreen,i.fullscreen(!e.fullscreen)):
b.toString().toLowerCase()=="true"?(e.fullscreen=!0,i.fullscreen(!0)):(e.fullscreen=!1,i.fullscreen(!1)),u.sendEvent(a.api.events.JWPLAYER_RESIZE,{width:e.width,height:e.height}),u.sendEvent(a.api.events.JWPLAYER_FULLSCREEN,{fullscreen:b}),!0}catch(c){u.sendEvent(a.api.events.JWPLAYER_ERROR,c)}return!1};this.load=function(b){try{return g(),e.loadPlaylist(b),l(e.item),!0}catch(c){u.sendEvent(a.api.events.JWPLAYER_ERROR,c)}return!1}}})(jwplayer);
(function(a){a.html5.defaultSkin=function(){this.text='<?xml version="1.0" ?><skin author="LongTail Video" name="Five" version="1.0"><settings><setting name="backcolor" value="0xFFFFFF"/><setting name="frontcolor" value="0x000000"/><setting name="lightcolor" value="0x000000"/><setting name="screencolor" value="0x000000"/></settings><components><component name="controlbar"><settings><setting name="margin" value="20"/><setting name="fontsize" value="11"/></settings><elements><element name="background" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAIAAABvFaqvAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAFJJREFUeNrslLENwAAIwxLU/09j5AiOgD5hVQzNAVY8JK4qEfHMIKBnd2+BQlBINaiRtL/aV2rdzYBsM6CIONbI1NZENTr3RwdB2PlnJgJ6BRgA4hwu5Qg5iswAAAAASUVORK5CYII="/><element name="capLeft" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAYCAIAAAC0rgCNAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAD5JREFUeNosi8ENACAMAgnuv14H0Z8asI19XEjhOiKCMmibVgJTUt7V6fe9KXOtSQCfctJHu2q3/ot79hNgANc2OTz9uTCCAAAAAElFTkSuQmCC"/><element name="capRight" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAYCAIAAAC0rgCNAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAD5JREFUeNosi8ENACAMAgnuv14H0Z8asI19XEjhOiKCMmibVgJTUt7V6fe9KXOtSQCfctJHu2q3/ot79hNgANc2OTz9uTCCAAAAAElFTkSuQmCC"/><element name="divider" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAYCAIAAAC0rgCNAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAD5JREFUeNosi8ENACAMAgnuv14H0Z8asI19XEjhOiKCMmibVgJTUt7V6fe9KXOtSQCfctJHu2q3/ot79hNgANc2OTz9uTCCAAAAAElFTkSuQmCC"/><element name="playButton" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAYCAYAAAAVibZIAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAEhJREFUeNpiYqABYBo1dNRQ+hr6H4jvA3E8NS39j4SpZvh/LJig4YxEGEqy3kET+w+AOGFQRhTJhrEQkGcczfujhg4CQwECDADpTRWU/B3wHQAAAABJRU5ErkJggg=="/><element name="pauseButton" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAYCAYAAAAVibZIAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAChJREFUeNpiYBgFo2DwA0YC8v/R1P4nRu+ooaOGUtnQUTAKhgIACDAAFCwQCfAJ4gwAAAAASUVORK5CYII="/><element name="prevButton" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAYCAYAAAAVibZIAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAEtJREFUeNpiYBgFo2Dog/9QDAPyQHweTYwiQ/2B+D0Wi8g2tB+JTdBQRiIMJVkvEy0iglhDF9Aq9uOpHVEwoE+NJDUKRsFgAAABBgDe2hqZcNNL0AAAAABJRU5ErkJggg=="/><element name="nextButton" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAYCAYAAAAVibZIAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAElJREFUeNpiYBgFo2Dog/9AfB6I5dHE/lNqKAi/B2J/ahsKw/3EGMpIhKEk66WJoaR6fz61IyqemhEFSlL61ExSo2AUDAYAEGAAiG4hj+5t7M8AAAAASUVORK5CYII="/><element name="timeSliderRail" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADxJREFUeNpiYBgFo2AU0Bwwzluw+D8tLWARFhKiqQ9YuLg4aWsBGxs7bS1gZ6e5BWyjSX0UjIKhDgACDABlYQOGh5pYywAAAABJRU5ErkJggg=="/><element name="timeSliderBuffer" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAD1JREFUeNpiYBgFo2AU0Bww1jc0/aelBSz8/Pw09QELOzs7bS1gY2OjrQWsrKy09gHraFIfBaNgqAOAAAMAvy0DChXHsZMAAAAASUVORK5CYII="/><element name="timeSliderProgress" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAClJREFUeNpiYBgFo2AU0BwwAvF/WlrARGsfjFow8BaMglEwCugAAAIMAOHfAQunR+XzAAAAAElFTkSuQmCC"/><element name="timeSliderThumb" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAICAYAAAA870V8AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAABZJREFUeNpiZICA/yCCiQEJUJcDEGAAY0gBD1/m7Q0AAAAASUVORK5CYII="/><element name="muteButton" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAYCAYAAADKx8xXAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADFJREFUeNpiYBgFIw3MB+L/5Gj8j6yRiRTFyICJXHfTXyMLAXlGati4YDRFDj8AEGAABk8GSqqS4CoAAAAASUVORK5CYII="/><element name="unmuteButton" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAYCAYAAADKx8xXAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAD1JREFUeNpiYBgFgxz8p7bm+cQa+h8LHy7GhEcjIz4bmAjYykiun/8j0fakGPIfTfPgiSr6aB4FVAcAAQYAWdwR1G1Wd2gAAAAASUVORK5CYII="/><element name="volumeSliderRail" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAYCAYAAADkgu3FAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAGpJREFUeNpi/P//PwM9ABMDncCoRYPfIqqDZcuW1UPp/6AUDcNM1DQYKtRAlaAj1mCSLSLXYIIWUctgDItoZfDA5aOoqKhGEANIM9LVR7SymGDQUctikuOIXkFNdhHEOFrDjlpEd4sAAgwAriRMub95fu8AAAAASUVORK5CYII="/><element name="volumeSliderProgress" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAYCAYAAADkgu3FAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAFtJREFUeNpi/P//PwM9ABMDncCoRYPfIlqAeij9H5SiYZiqBqPTlFqE02BKLSLaYFItIttgQhZRzWB8FjENiuRJ7aAbsMQwYMl7wDIsWUUQ42gNO2oR3S0CCDAAKhKq6MLLn8oAAAAASUVORK5CYII="/><element name="fullscreenButton" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAE5JREFUeNpiYBgFo2DQA0YC8v/xqP1PjDlMRDrEgUgxkgHIlfZoriVGjmzLsLFHAW2D6D8eA/9Tw7L/BAwgJE90PvhPpNgoGAVDEQAEGAAMdhTyXcPKcAAAAABJRU5ErkJggg=="/><element name="normalscreenButton" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAEZJREFUeNpiYBgFo2DIg/9UUkOUAf8JiFFsyX88fJyAkcQgYMQjNkzBoAgiezyRbE+tFGSPxQJ7auYBmma0UTAKBhgABBgAJAEY6zON61sAAAAASUVORK5CYII="/></elements></component><component name="display"><elements><element name="background" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAEpJREFUeNrszwENADAIA7DhX8ENoBMZ5KR10EryckCJiIiIiIiIiIiIiIiIiIiIiIh8GmkRERERERERERERERERERERERGRHSPAAPlXH1phYpYaAAAAAElFTkSuQmCC"/><element name="playIcon" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAALdJREFUeNrs18ENgjAYhmFouDOCcQJGcARHgE10BDcgTOIosAGwQOuPwaQeuFRi2p/3Sb6EC5L3QCxZBgAAAOCorLW1zMn65TrlkH4NcV7QNcUQt7Gn7KIhxA+qNIR81spOGkL8oFJDyLJRdosqKDDkK+iX5+d7huzwM40xptMQMkjIOeRGo+VkEVvIPfTGIpKASfYIfT9iCHkHrBEzf4gcUQ56aEzuGK/mw0rHpy4AAACAf3kJMACBxjAQNRckhwAAAABJRU5ErkJggg=="/><element name="muteIcon" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAHJJREFUeNrs1jEOgCAMBVAg7t5/8qaoIy4uoobyXsLCxA+0NCUAAADGUWvdQoQ41x4ixNBB2hBvBskdD3w5ZCkl3+33VqI0kjBBlh9rp+uTcyOP33TnolfsU85XX3yIRpQph8ZQY3wTZtU5AACASA4BBgDHoVuY1/fvOQAAAABJRU5ErkJggg=="/><element name="errorIcon" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAWlJREFUeNrsl+1twjAQhsHq/7BBYQLYIBmBDcoGMAIjtBPQTcII2SDtBDBBwrU6pGsUO7YbO470PtKJkz9iH++d4ywWAAAAAABgljRNsyWr2bZzDuJG1rLdZhcMbTjrBCGDyUKsqQLFciJb9bSvuG/WagRVRUVUI6gqy5HVeKWfSgRyJruKIU//TrZTSn2nmlaXThrloi/v9F2STC1W4+Aw5cBzkquRc09bofFNc6YLxEON0VUZS5FPTftO49vMjRsIF3RhOGr7/D/pJw+FKU+q0vDyq8W42jCunDqI3LC5XxNj2wHLU1XjaRnb0Lhykhqhhd8MtSF5J9tbjCv4mXGvKJz/65FF/qJryyaaIvzP2QRxZTX2nTuXjvV/VPFSwyLnW7mpH99yTh1FEVro6JBSd40/pMrRdV8vPtcKl28T2pT8TnFZ4yNosct3Q0io6JfBiz1FlGdqVQH3VHnepAEAAAAAADDzEGAAcTwB10jWgxcAAAAASUVORK5CYII="/><element name="bufferIcon" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAuhJREFUeNrsWr9rU1EUznuNGqvFQh1ULOhiBx0KDtIuioO4pJuik3FxFfUPaAV1FTdx0Q5d2g4FFxehTnEpZHFoBy20tCIWtGq0TZP4HfkeHB5N8m6Sl/sa74XDybvv3vvOd8/Pe4lXrVZT3dD8VJc0B8QBcUAcEAfESktHGeR5XtMfqFQq/f92zPe/NbtGlKTdCY30kuxrpMGO94BlQCXs+rbh3ONgA6BlzP1p20d80gEI5hmA2A92Qua1Q2PtAFISM+bvjMG8U+Q7oA3rQGASwrYCU6WpNdLGYbA+Pq5jjXIiwi8EEa2UDbQSaKOIuV+SlkcCrfjY8XTI9EpKGwP0C2kru2hLtHqa4zoXtZRWyvi4CLwv9Opr6Hkn6A9HKgEANsQ1iqC3Ub/vRUk2JgmRkatK36kVrnt0qObunwUdUUMXMWYpakJsO5Am8tAw2GBIgwWA+G2S2dMpiw0gDioQRQJoKhRb1QiDwlHZUABYbaXWsm5ae6loTE4ZDxN4CZar8foVzOJ2iyZ2kWF3t7YIevffaMT5yJ70kQb2fQ1sE5SHr2wazs2wgMxgbsEKEAgxAvZUJbQLBGTSBMgNrncJbA6AljtS/eKDJ0Ez+DmrQEzXS2h1Ck25kAg0IZcUOaydCy4sYnN2fOA+2AP16gNoHALlQ+fwH7XO4CxLenUpgj4xr6ugY2roPMbMx+Xs18m/E8CVEIhxsNeg83XWOAN6grG3lGbk8uE5fr4B/WH3cJw+co/l9nTYsSGYCJ/lY5/qv0thn6nrIWmjeJcPSnWOeY++AkF8tpJHIMAUs/MaBBpj3znZfQo5psY+ZrG4gv5HickjEOymKjEeRpgyST6IuZcTcWbnjcgdPi5ghxciRKsl1lDSsgwA1i8fssonJgzmTSqfGUkCENndNdAL7PS6QQ7ZYISTo+1qq0LEWjTWcvY4isa4z+yfQB+7ooyHVg5RI7/i1Ijn/vnggDggDogD4oC00P4KMACd/juEHOrS4AAAAABJRU5ErkJggg=="/></elements></component><component name="dock"><elements><element name="button" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAFBJREFUeNrs0cEJACAQA8Eofu0fu/W6EM5ZSAFDRpKTBs00CQQEBAQEBAQEBAQEBAQEBATkK8iqbY+AgICAgICAgICAgICAgICAgIC86QowAG5PAQzEJ0lKAAAAAElFTkSuQmCC"/></elements></component><component name="playlist"><elements><element name="item" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAIAAAC1nk4lAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAHhJREFUeNrs2NEJwCAMBcBYuv/CFuIE9VN47WWCR7iocXR3pdWdGPqqwIoMjYfQeAiNh9B4JHc6MHQVHnjggQceeOCBBx77TifyeOY0iHi8DqIdEY8dD5cL094eePzINB5CO/LwcOTptNB4CP25L4TIbZzpU7UEGAA5wz1uF5rF9AAAAABJRU5ErkJggg=="/><element name="sliderRail" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAA8CAIAAADpFA0BAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADhJREFUeNrsy6ENACAMAMHClp2wYxZLAg5Fcu9e3OjuOKqqfTMzbs14CIZhGIZhGIZhGP4VLwEGAK/BBnVFpB0oAAAAAElFTkSuQmCC"/><element name="sliderThumb" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAA8CAIAAADpFA0BAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADRJREFUeNrsy7ENACAMBLE8++8caFFKKiRffU53112SGs3ttOohGIZhGIZhGIZh+Fe8BRgAiaUGde6NOSEAAAAASUVORK5CYII="/></elements></component></components></skin>';
this.xml=null;window.DOMParser?(parser=new DOMParser,this.xml=parser.parseFromString(this.text,"text/xml")):(this.xml=new ActiveXObject("Microsoft.XMLDOM"),this.xml.async="false",this.xml.loadXML(this.text));return this}})(jwplayer);
(function(a){_css=a.utils.css;_hide=function(a){_css(a,{display:"none"})};_show=function(a){_css(a,{display:"block"})};a.html5.display=function(f,b){function c(){u=e.display_image.naturalWidth;s=e.display_image.naturalHeight;i()}function i(){a.utils.stretch(k.jwGetStretching(),e.display_image,r,q,u,s)}function d(a,b){var c=document.createElement(a);c.id=k.id+"_jwplayer_"+b;_css(c,n[b].style);return c}function h(){for(var a in e)if(n[a].click!==void 0)e[a].onclick=n[a].click}function g(a){z||!l.icons?
(_hide(e.display_icon),_hide(e.display_iconBackground)):(_show(e.display_iconBackground),e.display_icon.style.backgroundImage=["url(",k.skin.getSkinElement("display",a).src,")"].join(""),_css(e.display_icon,{display:"block",width:k.skin.getSkinElement("display",a).width,height:k.skin.getSkinElement("display",a).height,top:(k.skin.getSkinElement("display","background").height-k.skin.getSkinElement("display",a).height)/2,left:(k.skin.getSkinElement("display","background").width-k.skin.getSkinElement("display",
a).width)/2}),k.skin.getSkinElement("display",a+"Over")!==void 0?(e.display_icon.onmouseover=function(){e.display_icon.style.backgroundImage=["url(",k.skin.getSkinElement("display",a+"Over").src,")"].join("")},e.display_icon.onmouseout=function(){e.display_icon.style.backgroundImage=["url(",k.skin.getSkinElement("display",a).src,")"].join("")}):(e.display_icon.onmouseover=null,e.display_icon.onmouseout=null))}function j(){var a=e.display_image;e.display_image=d("img","display_image");e.display_image.onerror=
function(){_hide(e.display_image)};e.display_image.onload=c;e.display.replaceChild(e.display_image,a)}function m(b){if((b.type==a.api.events.JWPLAYER_PLAYER_STATE||b.type==a.api.events.JWPLAYER_PLAYLIST_ITEM)&&z)z=!1,_hide(e.display_text);o!==void 0&&(clearInterval(o),o=null,a.utils.animations.rotate(e.display_icon,0));switch(k.jwGetState()){case a.api.events.state.BUFFERING:g("bufferIcon");A=0;o=setInterval(function(){A+=y;a.utils.animations.rotate(e.display_icon,A%360)},v);g("bufferIcon");break;
case a.api.events.state.PAUSED:_css(e.display_image,{background:"transparent no-repeat center center"});g("playIcon");break;case a.api.events.state.IDLE:k.jwGetPlaylist()[k.jwGetItem()].image?(_css(e.display_image,{display:"block"}),e.display_image.src=a.utils.getAbsolutePath(k.jwGetPlaylist()[k.jwGetItem()].image)):j();g("playIcon");break;default:k.jwGetMute()?(j(),g("muteIcon")):(j(),_hide(e.display_iconBackground),_hide(e.display_icon))}}var l=a.utils.extend({},{icons:!0},b),k=f,e={},r,q,u,s,A,
o,z,y=k.skin.getComponentSettings("display").bufferrotation===void 0?15:parseInt(k.skin.getComponentSettings("display").bufferrotation,10),v=k.skin.getComponentSettings("display").bufferinterval===void 0?100:parseInt(k.skin.getComponentSettings("display").bufferinterval,10),n={display:{style:{cursor:"pointer",top:0,left:0,overflow:"hidden"},click:function(b){typeof b.preventDefault!="undefined"?b.preventDefault():b.returnValue=!1;k.jwGetState()!=a.api.events.state.PLAYING?k.jwPlay():k.jwPause()}},
display_icon:{style:{cursor:"pointer",position:"absolute",top:(k.skin.getSkinElement("display","background").height-k.skin.getSkinElement("display","playIcon").height)/2,left:(k.skin.getSkinElement("display","background").width-k.skin.getSkinElement("display","playIcon").width)/2,border:0,margin:0,padding:0,zIndex:3}},display_iconBackground:{style:{cursor:"pointer",position:"absolute",top:(q-k.skin.getSkinElement("display","background").height)/2,left:(r-k.skin.getSkinElement("display","background").width)/
2,border:0,backgroundImage:["url(",k.skin.getSkinElement("display","background").src,")"].join(""),width:k.skin.getSkinElement("display","background").width,height:k.skin.getSkinElement("display","background").height,margin:0,padding:0,zIndex:2}},display_image:{style:{display:"none",width:r,height:q,position:"absolute",cursor:"pointer",left:0,top:0,margin:0,padding:0,textDecoration:"none",zIndex:1}},display_text:{style:{zIndex:4,position:"relative",opacity:0.8,backgroundColor:parseInt("000000",16),
color:parseInt("ffffff",16),textAlign:"center",fontFamily:"Arial,sans-serif",padding:"0 5px",fontSize:14}}};k.jwAddEventListener(a.api.events.JWPLAYER_PLAYER_STATE,m);k.jwAddEventListener(a.api.events.JWPLAYER_MEDIA_MUTE,m);k.jwAddEventListener(a.api.events.JWPLAYER_PLAYLIST_ITEM,m);k.jwAddEventListener(a.api.events.JWPLAYER_ERROR,function(a){z=!0;_hide(e.display_icon);_hide(e.display_iconBackground);e.display_text.innerHTML=a.error;_show(e.display_text);e.display_text.style.top=(q-e.display_text.getBoundingClientRect().height)/
2+"px"});(function(){e.display=d("div","display");e.display_text=d("div","display_text");e.display.appendChild(e.display_text);e.display_image=d("img","display_image");e.display_image.onerror=function(){_hide(e.display_image)};e.display_image.onload=c;e.display_icon=d("div","display_icon");e.display_iconBackground=d("div","display_iconBackground");e.display.appendChild(e.display_image);e.display_iconBackground.appendChild(e.display_icon);e.display.appendChild(e.display_iconBackground);h()})();this.getDisplayElement=
function(){return e.display};this.resize=function(a,b){r=a;q=b;_css(e.display,{width:a,height:b});_css(e.display_text,{width:a-10,top:(q-e.display_text.getBoundingClientRect().height)/2});_css(e.display_iconBackground,{top:(q-k.skin.getSkinElement("display","background").height)/2,left:(r-k.skin.getSkinElement("display","background").width)/2});i();m({})};return this}})(jwplayer);
(function(a){a.html5.dock=function(f,b){function c(b,c){g=b;j=c;if(h.length>0){var e=b-f.skin.getSkinElement("dock","button").width-10,m=10,q=-1;i.align==a.html5.view.positions.LEFT&&(q=1,e=10);for(var u=0;u<h.length;u++){var s=Math.floor(m/c);m+f.skin.getSkinElement("dock","button").height+10>(s+1)*c&&(m=(s+1)*c+10,s=Math.floor(m/c));d[h[u]].div.style.top=m%c+"px";d[h[u]].div.style.left=e+(f.skin.getSkinElement("dock","button").width+10)*s*q+"px";m+=f.skin.getSkinElement("dock","button").height+
10}}}var i=a.utils.extend({},{align:a.html5.view.positions.RIGHT},b);if(i.align!="FALSE"){var d={},h=[],g,j,m=document.createElement("div");m.id=f.id+"_jwplayer_dock";this.getDisplayElement=function(){return m};this.setButton=function(b,i,e,r){if(!i&&d[b])a.utils.arrays.remove(h,b),m.removeChild(d[b].div),delete d[b];else if(i){d[b]||(d[b]={});d[b].handler=i;d[b].outGraphic=e;d[b].overGraphic=r;if(!d[b].div){h.push(b);d[b].div=document.createElement("div");d[b].div.style.position="relative";m.appendChild(d[b].div);
d[b].div.appendChild(document.createElement("img"));d[b].div.childNodes[0].style.position="absolute";d[b].div.childNodes[0].style.left=0;d[b].div.childNodes[0].style.top=0;d[b].div.childNodes[0].style.zIndex=10;d[b].div.childNodes[0].style.cursor="pointer";d[b].div.appendChild(document.createElement("img"));d[b].div.childNodes[1].style.position="absolute";d[b].div.childNodes[1].style.left=0;d[b].div.childNodes[1].style.top=0;if(f.skin.getSkinElement("dock","button"))d[b].div.childNodes[1].src=f.skin.getSkinElement("dock",
"button").src;d[b].div.childNodes[1].style.zIndex=9;d[b].div.childNodes[1].style.cursor="pointer";d[b].div.onmouseover=function(){if(d[b].overGraphic)d[b].div.childNodes[0].src=d[b].overGraphic;if(f.skin.getSkinElement("dock","buttonOver"))d[b].div.childNodes[1].src=f.skin.getSkinElement("dock","buttonOver").src};d[b].div.onmouseout=function(){if(d[b].outGraphic)d[b].div.childNodes[0].src=d[b].outGraphic;if(f.skin.getSkinElement("dock","button"))d[b].div.childNodes[1].src=f.skin.getSkinElement("dock",
"button").src};if(d[b].overGraphic)d[b].div.childNodes[0].src=d[b].overGraphic;if(d[b].outGraphic)d[b].div.childNodes[0].src=d[b].outGraphic;if(f.skin.getSkinElement("dock","button"))d[b].div.childNodes[1].src=f.skin.getSkinElement("dock","button").src}if(i)d[b].div.onclick=function(c){c.preventDefault();a(f.id).callback(b);if(d[b].overGraphic)d[b].div.childNodes[0].src=d[b].overGraphic;if(f.skin.getSkinElement("dock","button"))d[b].div.childNodes[1].src=f.skin.getSkinElement("dock","button").src}}c(g,
j)};this.resize=c;return this}}})(jwplayer);(function(a){a.html5.eventdispatcher=function(f,b){var c=new a.events.eventdispatcher(b);a.utils.extend(this,c);this.sendEvent=function(b,d){d===void 0&&(d={});a.utils.extend(d,{id:f,version:a.version,type:b});c.sendEvent(b,d)}}})(jwplayer);
(function(a){var f={prefix:"",file:"",link:"",margin:8,out:0.5,over:1,timeout:3,hide:!0,position:"bottom-left"};_css=a.utils.css;a.html5.logo=function(b,c){function i(a){typeof a!="undefined"&&a.stopPropagation();m.jwPause();m.jwSetFullscreen(!1);k.link&&window.open(k.link,"_blank")}function d(){if(k.link)e.style.opacity=k.out}function h(){if(k.hide)e.style.opacity=k.over}function g(){if(k.hide)e.style.display="block",e.style.opacity=0,a.utils.fadeTo(e,k.out,0.1,parseFloat(e.style.opacity)),l=setTimeout(function(){k.hide&&
a.utils.fadeTo(e,0,0.1,parseFloat(e.style.opacity))},k.timeout*1E3)}function j(b){b.newstate==a.api.events.state.BUFFERING&&(clearTimeout(l),g())}var m=b,l,k,e;(function(){if(f.prefix){var d=b.version.split(/\W/).splice(0,2).join("/");f.prefix.indexOf(d)<0&&(f.prefix+=d+"/")}if(c.position==a.html5.view.positions.OVER)c.position=f.position;k=a.utils.extend({},f,c)})();(function(){e=document.createElement("img");e.id=m.id+"_jwplayer_logo";e.style.display="none";e.onload=function(){var b=_css,c=e,g=
{textDecoration:"none",position:"absolute",cursor:"pointer"};g.display=k.hide?"none":"block";var f=k.position.toLowerCase().split("-"),h;for(h in f)g[f[h]]=k.margin;b(c,g);m.jwAddEventListener(a.api.events.JWPLAYER_PLAYER_STATE,j);d()};if(k.file)e.src=k.file.indexOf("http://")===0?k.file:k.prefix+k.file})();(function(){k.link?(e.onmouseover=h,e.onmouseout=d,e.onclick=i):this.mouseEnabled=!1})();if(k.file)return this.resize=function(){},this.getDisplayElement=function(){return e},this}})(jwplayer);
(function(a){var f={ended:a.api.events.state.IDLE,playing:a.api.events.state.PLAYING,pause:a.api.events.state.PAUSED,buffering:a.api.events.state.BUFFERING};a.html5.mediavideo=function(b,c){function i(){}function d(){}function h(a){f[a.type]&&g(f[a.type])}function g(b){if(!J){if(K)b=a.api.events.state.IDLE;if(!(b==a.api.events.state.PAUSED&&w==a.api.events.state.IDLE))if(b==a.api.events.state.PLAYING&&w==a.api.events.state.IDLE)g(a.api.events.state.BUFFERING),y.sendEvent(a.api.events.JWPLAYER_MEDIA_BUFFER,
{bufferPercent:v.buffer}),l();else{if(w!=b){var c=w;w=v.state=b;var d=!1;if(b==a.api.events.state.IDLE){clearInterval(x);x=null;if(v.position>=v.duration&&(v.position||v.duration))d=!0;if(n.style.display!="none"&&!v.config.chromeless)n.style.display="none"}y.sendEvent(a.api.events.JWPLAYER_PLAYER_STATE,{oldstate:c,newstate:b});d&&y.sendEvent(a.api.events.JWPLAYER_MEDIA_COMPLETE)}K=!1}}}function j(b){var c={height:b.target.videoHeight,width:b.target.videoWidth,duration:Math.round(b.target.duration*
10)/10};if(v.duration===0||isNaN(v.duration))v.duration=Math.round(b.target.duration*10)/10;v.playlist[v.item]=a.utils.extend(v.playlist[v.item],c);y.sendEvent(a.api.events.JWPLAYER_MEDIA_META,{metadata:c})}function m(b){if(!K){if(b!==void 0&&b.target!==void 0){if(v.duration===0||isNaN(v.duration))v.duration=Math.round(b.target.duration*10)/10;!B&&n.readyState>0&&g(a.api.events.state.PLAYING);if(w==a.api.events.state.PLAYING){if(!B&&n.readyState>0){B=!0;try{n.currentTime=v.playlist[v.item].start}catch(c){}n.volume=
v.volume/100;n.muted=v.mute}v.position=Math.round(b.target.currentTime*10)/10;y.sendEvent(a.api.events.JWPLAYER_MEDIA_TIME,{position:b.target.currentTime,duration:b.target.duration})}}e(b)}}function l(){F===!1&&w==a.api.events.state.BUFFERING&&(y.sendEvent(a.api.events.JWPLAYER_MEDIA_BUFFER_FULL),F=!0)}function k(){D=setTimeout(function(){p||e({lengthComputable:!0,loaded:1,total:1})},(E[E.length-1]-E[0])/E.length*10)}function e(b){var c;b!==void 0&&b.lengthComputable&&b.total?(s(),c=b.loaded/b.total*
100,50<c&&!p&&(clearTimeout(D),k())):n.buffered!==void 0&&n.buffered.length>0&&(maxBufferIndex=0,maxBufferIndex>=0&&(c=n.buffered.end(maxBufferIndex)/n.duration*100,n.buffered.end(maxBufferIndex)));l();if(!p&&(c==100&&p===!1&&(p=!0),c!==null&&c>v.buffer))v.buffer=Math.round(c),y.sendEvent(a.api.events.JWPLAYER_MEDIA_BUFFER,{bufferPercent:Math.round(c)})}function r(){x===null&&(x=setInterval(function(){m()},100))}function q(){var b="",c;for(c in G.levels){var d=G.levels[c];n.ownerDocument.createElement("source");
b+=a.utils.getAbsolutePath(d.file);c<G.levels.length-1&&(b+=", ")}return b}function u(){n.pause();clearInterval(x);x=null;v.position=0;K=!0;g(a.api.events.state.IDLE)}function s(){var a=(new Date).getTime();E.push(a)}function A(b){v.duration=b.duration;C=!1;G=b;var c=document.createElement("video");c.preload="none";J=!1;for(var d=I=0;d<b.levels.length;d++){var e=b.levels[d];if(a.utils.isYouTube(e.file)){delete c;o(e.file);return}var g;if(e.type===void 0){var f=a.utils.extension(e.file);if(a.utils.extensionmap[f]!==
void 0&&a.utils.extensionmap[f].html5!==void 0)g=a.utils.extensionmap[f].html5}else g=e.type;if(!g||c.canPlayType(g)){f=n.ownerDocument.createElement("source");f.src=a.utils.getAbsolutePath(e.file);if(g&&!a.utils.isLegacyAndroid())f.type=g;I++;c.appendChild(f)}}I===0&&(J=!0,y.sendEvent(a.api.events.JWPLAYER_ERROR,{error:"The video could not be loaded because the format is not supported by your browser: "+q()}));if(v.config.chromeless)c.poster=a.utils.getAbsolutePath(b.image),c.controls="controls";
c.style.top=n.style.top;c.style.left=n.style.left;c.style.width=n.style.width;c.style.height=n.style.height;c.style.zIndex=n.style.zIndex;c.onload=i;c.volume=0;n.parentNode.replaceChild(c,n);c.id=n.id;n=c;for(var h in z)n.addEventListener(h,function(a){if(a.target.parentNode!==null)z[a.type](a)},!0)}function o(a){var c=document.createElement("object"),a=["http://www.youtube.com/v/",a.replace(/^[^v]+v.(.{11}).*/,"$1"),"&amp;hl=en_US&amp;fs=1&autoplay=1"].join(""),d={movie:a,allowFullScreen:"true",
allowscriptaccess:"always"},e;for(e in d){var g=document.createElement("param");g.name=e;g.value=d[e];c.appendChild(g)}var d=document.createElement("embed"),a={src:a,type:"application/x-shockwave-flash",allowscriptaccess:"always",allowfullscreen:"true",width:document.getElementById(b.id).style.width,height:document.getElementById(b.id).style.height},f;for(f in a)d[f]=a[f];c.appendChild(d);c.style.position=n.style.position;c.style.top=n.style.top;c.style.left=n.style.left;c.style.width=document.getElementById(b.id).style.width;
c.style.height=document.getElementById(b.id).style.height;c.style.zIndex=2147483E3;n.parentNode.replaceChild(c,n);c.id=n.id;n=c;C=!0}var z={abort:d,canplay:h,canplaythrough:h,durationchange:j,emptied:d,ended:h,error:function(b){var c="There was an error: ";if(b.target.error&&b.target.tagName.toLowerCase()=="video"||b.target.parentNode.error&&b.target.parentNode.tagName.toLowerCase()=="video")switch(b=b.target.error===void 0?b.target.parentNode.error:b.target.error,b.code){case b.MEDIA_ERR_ABORTED:c=
"You aborted the video playback: ";break;case b.MEDIA_ERR_NETWORK:c="A network error caused the video download to fail part-way: ";break;case b.MEDIA_ERR_DECODE:c="The video playback was aborted due to a corruption problem or because the video used features your browser did not support: ";break;case b.MEDIA_ERR_SRC_NOT_SUPPORTED:c="The video could not be loaded, either because the server or network failed or because the format is not supported: ";break;default:c="An unknown error occurred: "}else if(b.target.tagName.toLowerCase()==
"source"){I--;if(I>0)return;c="The video could not be loaded, either because the server or network failed or because the format is not supported: "}else{a.utils.log("Erroneous error received. Continuing...");return}u();c+=q();J=!0;y.sendEvent(a.api.events.JWPLAYER_ERROR,{error:c})},loadeddata:j,loadedmetadata:j,loadstart:h,pause:h,play:m,playing:h,progress:e,ratechange:d,seeked:h,seeking:h,stalled:h,suspend:h,timeupdate:m,volumechange:d,waiting:h,canshowcurrentframe:d,dataunavailable:d,empty:d,load:i,
loadedfirstframe:d},y=new a.html5.eventdispatcher;a.utils.extend(this,y);var v=b,n=c,F,p,w=a.api.events.state.IDLE,x=null,K,B=!1,C=!1,G,I,E=[],D,J=!1;this.getDisplayElement=function(){return n};this.play=function(){if(w!=a.api.events.state.PLAYING){if(n.style.display!="block")n.style.display="block";n.play();r();F&&g(a.api.events.state.PLAYING)}};this.pause=function(){n.pause();g(a.api.events.state.PAUSED)};this.seek=function(a){if(!(v.duration===0||isNaN(v.duration))&&!(v.position===0||isNaN(v.position)))n.currentTime=
a,n.play()};this.stop=u;this.volume=function(b){n.volume=b/100;v.volume=b;y.sendEvent(a.api.events.JWPLAYER_MEDIA_VOLUME,{volume:Math.round(b)})};this.mute=function(b){n.muted=b;v.mute=b;y.sendEvent(a.api.events.JWPLAYER_MEDIA_MUTE,{mute:b})};this.resize=function(b,c){y.sendEvent(a.api.events.JWPLAYER_MEDIA_RESIZE,{fullscreen:v.fullscreen,width:b,hieght:c})};this.fullscreen=function(a){a===!0?this.resize("100%","100%"):this.resize(v.config.width,v.config.height)};this.load=function(b){A(b);y.sendEvent(a.api.events.JWPLAYER_MEDIA_LOADED);
B=p=F=!1;!v.config.chromeless&&!C&&(E=[],s(),g(a.api.events.state.BUFFERING),setTimeout(function(){m()},25))};this.hasChrome=function(){return C};this.embed=A;return this}})(jwplayer);
(function(a){var f=["width","height","start","duration","volume","mute","fullscreen","item","plugins","stretching"];a.html5.model=function(b,c,i){function d(b){b.type==a.api.events.JWPLAYER_MEDIA_LOADED&&(h=j.getDisplayElement());m.sendEvent(b.type,b)}var h=c,g={id:h.id,playlist:[],state:a.api.events.state.IDLE,position:0,buffer:0,config:{width:480,height:320,item:-1,skin:void 0,file:void 0,image:void 0,start:0,duration:0,bufferlength:5,volume:90,mute:!1,fullscreen:!1,repeat:"none",stretching:a.utils.stretching.UNIFORM,
autostart:!1,debug:void 0,screencolor:void 0}},j,m=new a.html5.eventdispatcher;a.utils.extend(g,m);for(var l in i){typeof i[l]=="string"&&(c=/color$/.test(l)?"color":null,i[l]=a.utils.typechecker(i[l],c));var c=g.config,k=l.split("."),e;for(e in k)e==k.length-1?c[k[e]]=i[l]:(c[k[e]]===void 0&&(c[k[e]]={}),c=c[k[e]])}for(var r in f)i=f[r],g[i]=g.config[i];r=["display","logo","controlbar","dock"].concat([]);if(g.plugins!==void 0&&typeof g.plugins=="string"){var i=g.plugins.split(","),q;for(q in i)typeof i[q]==
"string"&&r.push(i[q].replace(/^\s+|\s+$/g,""))}if(typeof g.config.chromeless=="undefined"&&a.utils.isIOS())g.config.chromeless=!0;g.config.chromeless&&(r=["logo"]);g.plugins={order:r,config:{},object:{}};if(typeof g.config.components!="undefined")for(var u in g.config.components)g.plugins.config[u]=g.config.components[u];for(var s in g.plugins.order)q=g.plugins.order[s],u=g.config[q]===void 0?{}:g.config[q],g.plugins.config[q]=g.plugins.config[q]===void 0?u:a.utils.extend(g.plugins.config[q],u),
g.plugins.config[q].position=typeof g.plugins.config[q].position=="undefined"?a.html5.view.positions.OVER:g.plugins.config[q].position.toString().toUpperCase();if(typeof g.plugins.config.dock!="undefined"){if(typeof g.plugins.config.dock!="object")s=g.plugins.config.dock.toString().toUpperCase(),g.plugins.config.dock={position:s};if(typeof g.plugins.config.dock.position!="undefined")g.plugins.config.dock.align=g.plugins.config.dock.position,g.plugins.config.dock.position=a.html5.view.positions.OVER}g.loadPlaylist=
function(b,c){var d;if(typeof b=="string")try{d=eval(b)}catch(e){d=b}else d=b;switch(a.utils.typeOf(d)){case "object":break;case "array":d={playlist:d};break;default:d={file:d}}g.playlist=new a.html5.playlist(d);if(g.config.shuffle){d=null;if(g.playlist.length>1)for(;d===null;)d=Math.floor(Math.random()*g.playlist.length),d==g.item&&(d=null);else d=0;g.item=d}else{if(g.config.item>=g.playlist.length)g.config.item=g.playlist.length-1;else if(g.config.item<0)g.config.item=0;g.item=g.config.item}c||
m.sendEvent(a.api.events.JWPLAYER_PLAYLIST_LOADED,{playlist:g.playlist});g.setActiveMediaProvider(g.playlist[g.item])};g.setActiveMediaProvider=function(b){j!==void 0&&j.resetEventListeners();j=new a.html5.mediavideo(g,h);j.addGlobalListener(d);g.config.chromeless&&j.load(b);return!0};g.getMedia=function(){return j};g.setupPlugins=function(){for(var c in g.plugins.order)try{var d=g.plugins.order[c];a.html5[d]!==void 0?g.plugins.object[d]=new a.html5[d](b,g.plugins.config[d]):g.plugins.order.splice(c,
c+1)}catch(e){a.utils.log("Could not setup "+d)}};return g}})(jwplayer);(function(a){a.html5.playlist=function(f){var b=[];if(f.playlist&&f.playlist instanceof Array&&f.playlist.length>0)for(var c in f.playlist)isNaN(parseInt(c))||b.push(new a.html5.playlistitem(f.playlist[c]));else b.push(new a.html5.playlistitem(f));return b}})(jwplayer);
(function(a){a.html5.playlistitem=function(f){var b={author:"",date:"",description:"",image:"",link:"",mediaid:"",tags:"",title:"",provider:"",file:"",streamer:"",duration:-1,start:0,currentLevel:-1,levels:[]},c;for(c in b)f[c]!==void 0&&(b[c]=f[c]);b.levels.length===0&&(b.levels[0]=new a.html5.playlistitemlevel(b));return b}})(jwplayer);(function(a){a.html5.playlistitemlevel=function(a){var b={file:"",streamer:"",bitrate:0,width:0},c;for(c in b)a[c]!==void 0&&(b[c]=a[c]);return b}})(jwplayer);
(function(a){a.html5.skin=function(){var f={},b=!1;this.load=function(c,i){new a.html5.skinloader(c,function(a){b=!0;f=a;i()},function(){new a.html5.skinloader("",function(a){b=!0;f=a;i()})})};this.getSkinElement=function(c,i){if(b)try{return f[c].elements[i]}catch(d){a.utils.log("No such skin component / element: ",[c,i])}return null};this.getComponentSettings=function(a){if(b)return f[a].settings;return null};this.getComponentLayout=function(a){if(b)return f[a].layout;return null}}})(jwplayer);
(function(a){a.html5.skinloader=function(f,b,c){function i(b){b=b.getElementsByTagName("component");if(b.length!==0)for(var c=0;c<b.length;c++){var e=b[c].getAttribute("name");g[e]={settings:{},elements:{},layout:{}};for(var f=b[c].getElementsByTagName("elements")[0].getElementsByTagName("element"),i=0;i<f.length;i++)h(f[i],e);f=b[c].getElementsByTagName("settings")[0];if(f!==void 0&&f.childNodes.length>0){f=f.getElementsByTagName("setting");for(i=0;i<f.length;i++){var j=f[i].getAttribute("name"),
k=f[i].getAttribute("value"),m=/color$/.test(j)?"color":null;g[e].settings[j]=a.utils.typechecker(k,m)}}f=b[c].getElementsByTagName("layout")[0];if(f!==void 0&&f.childNodes.length>0){f=f.getElementsByTagName("group");for(i=0;i<f.length;i++){j=f[i];g[e].layout[j.getAttribute("position")]={elements:[]};for(k=0;k<j.attributes.length;k++)m=j.attributes[k],g[e].layout[j.getAttribute("position")][m.name]=m.value;k=j.getElementsByTagName("*");for(m=0;m<k.length;m++){var n=k[m];g[e].layout[j.getAttribute("position")].elements.push({type:n.tagName});
for(var r=0;r<n.attributes.length;r++){var p=n.attributes[r];g[e].layout[j.getAttribute("position")].elements[m][p.name]=p.value}if(g[e].layout[j.getAttribute("position")].elements[m].name===void 0)g[e].layout[j.getAttribute("position")].elements[m].name=n.tagName}}}l=!1;d()}}function d(){clearInterval(k);r||(k=setInterval(function(){a:{for(var a in g)if(a!="properties")for(var b in g[a].elements)if(!g[a].elements[b].ready)break a;l===!1&&(clearInterval(k),j(g))}},100))}function h(b,c){var f=new Image,
h=b.getAttribute("name"),i=b.getAttribute("src");if(i.indexOf("data:image/png;base64,")!==0)var j=a.utils.getAbsolutePath(e),i=[j.substr(0,j.lastIndexOf("/")),c,i].join("/");g[c].elements[h]={height:0,width:0,src:"",ready:!1};f.onload=function(){g[c].elements[h].height=f.height;g[c].elements[h].width=f.width;g[c].elements[h].src=f.src;g[c].elements[h].ready=!0;d()};f.onerror=function(){r=!0;d();m()};f.src=i}var g={},j=b,m=c,l=!0,k,e=f,r=!1;(function(){typeof e!="string"||e===""?i(a.html5.defaultSkin().xml):
a.utils.ajax(a.utils.getAbsolutePath(e),function(b){try{if(b.responseXML!==null){i(b.responseXML);return}}catch(c){}i(a.html5.defaultSkin().xml)},function(){i(a.html5.defaultSkin().xml)})})()}})(jwplayer);
(function(a){a.html5.api=function(f,b){function c(){j.state==a.api.events.state.PLAYING||j.state==a.api.events.state.BUFFERING?l.pause():l.play()}function i(a){return function(){return j[a]}}function d(b,c,d){return function(){b.loadPlaylist(b.config,!0);b.setupPlugins();c.setup(b.getMedia().getDisplayElement());var f={id:h.id,version:h.version};d.sendEvent(a.api.events.JWPLAYER_READY,f);playerReady!==void 0&&playerReady(f);if(window[b.config.playerReady]!==void 0)window[b.config.playerReady](f);
b.sendEvent(a.api.events.JWPLAYER_PLAYLIST_LOADED,{playlist:b.playlist});d.item(b.item)}}var h={},g=document.createElement("div");f.parentNode.replaceChild(g,f);g.id=f.id;h.version=a.version;h.id=g.id;var j=new a.html5.model(h,g,b),m=new a.html5.view(h,g,j),l=new a.html5.controller(h,g,j,m);h.skin=new a.html5.skin;h.jwPlay=function(a){typeof a=="undefined"?c():a.toString().toLowerCase()=="true"?l.play():l.pause()};h.jwPause=function(a){typeof a=="undefined"?c():a.toString().toLowerCase()=="true"?
l.pause():l.play()};h.jwStop=l.stop;h.jwSeek=l.seek;h.jwPlaylistItem=l.item;h.jwPlaylistNext=l.next;h.jwPlaylistPrev=l.prev;h.jwResize=l.resize;h.jwLoad=l.load;h.jwGetItem=i("item");h.jwGetPosition=i("position");h.jwGetDuration=i("duration");h.jwGetBuffer=i("buffer");h.jwGetWidth=i("width");h.jwGetHeight=i("height");h.jwGetFullscreen=i("fullscreen");h.jwSetFullscreen=l.setFullscreen;h.jwGetVolume=i("volume");h.jwSetVolume=l.setVolume;h.jwGetMute=i("mute");h.jwSetMute=l.setMute;h.jwGetStretching=i("stretching");
h.jwGetState=i("state");h.jwGetVersion=function(){return h.version};h.jwGetPlaylist=function(){return j.playlist};h.jwAddEventListener=l.addEventListener;h.jwRemoveEventListener=l.removeEventListener;h.jwSendEvent=l.sendEvent;h.jwDockSetButton=function(a,b,c,d){j.plugins.object.dock&&j.plugins.object.dock.setButton&&j.plugins.object.dock.setButton(a,b,c,d)};h.jwGetLevel=function(){};h.jwGetBandwidth=function(){};h.jwGetLockState=function(){};h.jwLock=function(){};h.jwUnlock=function(){};j.config.chromeless?
setTimeout(d(j,m,l),25):h.skin.load(j.config.skin,d(j,m,l));return h}})(jwplayer);
;
// !MeAb! /c/s/d/e/j/gc.js
typeof console==="undefined"&&(console={log:function(){},debug:function(){}});
var gc=function(){var j=function(a){this.name=a};j.prototype={toString:function(){return this.name}};var b=new j("gc");window.GUCCI=b;b.namespace=function(a,b,d){for(var a=a.split("."),e=window,f=[],g=0;g<a.length;++g){var h=a[g];f.push(h);e[h]==null&&(e[h]=new j(f.join(".")));e=e[h]}d||b.call(e,e);return e};b.widget=function(a,c,d){c=this.namespace(a,d,!1);b.cl.Page.widgets[a]={ns:c,func:d}};b.i18n=function(){return b.cl.util.Text.get.apply(b.cl.util.Text,arguments)};b.globalData=function(a){return b.cl.util.JSONData.resolv(a)};
b.dispatchWidget=function(a,c){for(var d in b.cl.Page.widgets){var e=b.cl.Page.widgets[d];if(e.ns[c]){try{var f=e.ns[c](a)}catch(g){console.log("dispatchWidget:"+g+" "+g.description)}f&&typeof f.css=="function"&&(a=f)}}};b.nodeReady=function(a){b.dispatchWidget(a,"nodeReady");b.publish("nodeReady",a)};b.ready=function(a){b.dispatchWidget(a,"ready");b.publish("ready",a)};var i={},m={},k=$(document);b.publish=function(a,b){m[a]=b;k.trigger("gc:"+a,[b])};b.subscribeCountFor=function(a){return i[a].length};
b.subscribe=function(a,b){for(var d=this,a=a.replace(/\s/g,"").split(","),e=0;e<a.length;++e){var f=a[e];i[f]=i[f]||[];i[f].push(b);f="gc:"+f;if(!b.displayName)b.displayName="EventHandler$"+f;k.bind(f,function(a,e){b.call(d,e)})}};b.subscribeAndInit=function(a,c){b.subscribe(a,c);var d=m[a];d&&c(d)};b.live=function(a,b,d){k.delegate(a,b,d)};b.alert=function(a,c){c||(c={});c.raw||(a=b.i18n(a));b.cl.widgets.dialog.alert(a,c)};b.flashInfo=function(a,c){c||(c={});c.raw||(a=b.i18n(a));b.cl.widgets.flashInfo.showMessage(a,
c)};b.globalData$=function(a){try{return b.cl.util.JSONData.resolv(a)}catch(c){return null}};var l={};b.doOnceInTimeout=function(a,b,d){l[a]&&clearTimeout(l[a]);d==null&&(d=0);l[a]=setTimeout(b,d)};b.init=function(a,c){b.namespace(a,c)};if(typeof jQuery!=="undefined")jQuery.browser.msie6=jQuery.browser.msie&&jQuery.browser.version.substr(0,1)=="6";window.Prototype=void 0;return b}();$(function(){gc.ready($(document));gc.nodeReady($(document))});
;
// !MeAb! /c/s/d/e/j/g/c/Page.js
gc.namespace("gc.cl",function(){var a=null;this.Page={needs:function(d){if(a==null){a={};for(var c=($("body").attr("class")||"").split(/\s+/),b=0;b<c.length;++b)a[c[b]]=!0}return a[d]||!1},controllers:[],widgets:{}}});
;
// !MeAb! /c/s/d/e/j/g/c/u/Ajax.js
gc.namespace("gc.cl.util",function(){this.Ajax={wrap_success:function(a){return function(b,c){typeof b!=="object"&&(b=$(b).filter(":not(undefined)"),gc.nodeReady(b));try{a(b,c)}catch(d){console.log("AJAX callback failed:",d)}}},_markAsAjax:function(a){a.search(/format=ajax/)==-1&&(a+=(a.search(/\?/)==-1?"?":"&")+"format=ajax");return a},_call:function(a,b,c,d){b=this._markAsAjax(b);$[a](b,c,this.wrap_success(d))},ajax:function(a){a.success=this.wrap_success(a.success);a.url=this._markAsAjax(a.url);
return $.ajax(a)},get:function(a,b){return this._call("get",a,{},b)},post:function(a,b,c){a=a.replace(/^https?:\/\/[^\/]+\//,"/");return this._call("post",a,b,c)}}});
;
// !MeAb! /c/s/d/e/j/g/c/u/JSONData.js
gc.namespace("gc.cl.util",function(g){var g=this,c={},e=!0,f={},h=function(a,b){var b=b||window,d=a.split(".");return{found:_(d).select(function(a){b=!b||b[a];return typeof b!="undefined"}).length==d.length,value:b}};this.JSONData={subscribe:function(a,b){f[a]=(f[a]||[]).concat([b]);var d=h(a,c);d.found&&b(d.value)},addGlobalData:function(a){return this.processSubscriptions(a)},processSubscriptions:function(a){var a=a?$(a):$(document),b=function(){var a=$(this).html().slice(5,-4),b=JSON.parse(a.replace(/119234e55bf67939cb54bcf1f8e6e0bb/g,
"--")),e=[];_(f).each(function(a,c){var d=h(c,b);d.found&&e.push({reference:d,funcs:a})});c=jQuery.extend(!0,c,b);_(e).each(function(a){_(a.funcs).each(function(b){b(a.reference.value)})});$(this).remove()};a.filter("div[class^='js_globaldata']").each(b);a.find("div[class^='js_globaldata']").each(b)},resolv:function(a){e&&(e=!1,this.processSubscriptions());if(a in c)return c[a];else throw"Cannot find global data "+a+":"+JSON.stringify(_(c).keys());}};gc.subscribe("nodeReady",function(a){e=!1;return g.JSONData.processSubscriptions(a)})});
;
// !MeAb! /c/s/d/e/j/g/c/u/Delegator.js
gc.namespace("gc.cl.util",function(f){this.Delegator=function(c,h){var a=c.__CLASS__?new (Joose.Class.meta.classNameToClassObject(c.__CLASS__)):new function(){},i=Array.isArray||function(a){return!(!a||!a.concat||!a.unshift||a.callee)};a.__obj__=c;a.getParent=function(){return h};for(var b in c)if(b!="__CLASS__"){var d=c[b],e=Joose.S.uppercaseFirst(b);if(i(d))a["get"+e]=function(b,e,c){return function(){for(var b=[],d=c.length-1;d>=0;--d)b[d]=f.Delegator(c[d],a);this["get"+e]=function(){return b};
return b}}(b,e,d);else if(typeof d=="object")a["get"+e]=function(b,d){return function(){var c=f.Delegator(this.__obj__[b],a);this["get"+d]=function(){return c};return c}}(b,e);else{var g;(g=a["set"+e])?g.apply(a,[d]):a["get"+e]=function(a){return function(){return this.__obj__[a]}}(b)}}return a}});
;
// !MeAb! /c/s/d/e/j/g/c/u/Query.js
gc.namespace("gc.cl.util",function(){this.Query=function(a){this.queryString=a!=null?a:window.location.search;this.query=this.parse()};this.Query.prototype={asHash:function(){return this.query},normalize:function(a){if(a==null)return"";return""+a},param:function(a,c){c!=null&&a!=""&&a!=null&&(this.query[this.normalize(a)]=c);return this.query[this.normalize(a)]},parse:function(){var a=this.queryString;(a=a.substr(1))||(a="");parts=a.split("&");for(var a={},c=0;c<parts.length;c++){var b=parts[c].split("=");
if(b[0]!=""){var d=b.shift(),b=b.join("");a[this.normalize(decodeURIComponent(d))]=decodeURIComponent(b)}}return QueryData=a},toString:function(){var a=[],c;for(c in this.query){var b=c;b!=null&&b!=""&&(b=this.normalize(b),a.push(encodeURIComponent(b)+"="+encodeURIComponent(this.query[c])))}return a.join("&")}}});
;
// !MeAb! /c/s/d/e/j/g/c/u/URL.js
gc.namespace("gc.cl.util",function(){this.URL={to:function(b,d){var c=[];d&&_(d).each(function(a,b){c.push(b+"="+encodeURIComponent(a))});var a=gc.globalData("urls")[b];if(!a)throw"Unknown URL "+b;c.length&&(a=a+"?"+c.join("&"));return a},imageBasePath:function(){return gc.globalData("imageBasePath")}}});
;
// !MeAb! /c/s/d/e/j/g/c/u/Text.js
gc.namespace("gc.cl.util",function(){this.Text=function(){this.data={}};var a;this.Text.get=function(c,b){if(a)return a.get(c,b);a=new this;return a.get(c,b)};this.Text.prototype={get:function(c){var b=this._get(c),a=Array.prototype.slice.call(arguments);a.shift();return $.validator.format(b,a)},_get:function(a){var b=gc.globalData("i18n")[a];return typeof b=="undefined"&&a||b}}});var i18n=function(a){return bf.cl.util.Text.get(a)};
;
// !MeAb! /c/s/d/e/j/g/c/u/AjaxMultiBlockDistributor.js
gc.namespace("gc.cl.util",function(a){a.AjaxMultiBlockDistributor={perform:function(a){gc.cl.util.Ajax.ajax({type:"GET",url:a,success:function(a){a=$(a);a.find(".block").each(function(){var a=$($(this).dataset("target"));$(this).children().appendTo(a.empty())})},error:function(){}})}}});
;
// !MeAb! /c/s/d/e/j/g/c/u/Cookie.js
gc.namespace("gc.cl.util",function(){this.Cookie={get:function(a){var c=document.cookie;a+="=";var b=c.indexOf("; "+a);if(b==-1){if(b=c.indexOf(a),b!=0)return""}else b+=2;var d=document.cookie.indexOf(";",b);if(d==-1)d=c.length;c=unescape(c.substring(b+a.length,d));if(c==";")return"";return c},set:function(a,c,b,d){a=a+"="+escape(c)+(b?"; expires="+b.toGMTString():"")+"; path=/"+(d?"; secure":"");document.cookie=a},setUnescaped:function(a,c,b,d){a=a+"="+c+(b?"; expires="+b.toGMTString():"")+"; path=/"+
(d?"; secure":"");document.cookie=a}}});
;
// !MeAb! /c/s/d/e/j/g/b/f/p/FEBrandVariantProduct.js
gc.namespace("gc.bo.fe.product",function(){Role("gc.bo.fe.product.FEBrandVariantProduct",{methods:{getDimensions:function(){return this._data.dimensions},isWebExclusive:function(){return!1},isPreorderble:function(){return this._data.preorderble},getPreOrderDate:function(){return this._data.preorderdate},isInStockSoon:function(){return this._data.instocksoon}}})});
;
// !MeAb! /c/s/d/e/j/g/b/f/p/FEProductBase.js
gc.namespace("gc.bo.fe.product",function(){Class("gc.bo.fe.product.FEProductBase",{has:{_data:{is:"rw",init:{}},_master:{is:"rw"},_id:{is:"rw",init:"-"}},methods:{initialize:function(c,a,b){this._id=c;this._data=a?a:{};this._master=b},getMaster:function(){return this},getOrderable:function(){return!0},isWebExclusive:function(){return!1},isPreorderble:function(){return!1},getPreOrderDate:function(){return null},isInStockSoon:function(){return!1},getRelatedContent:function(){return null},getID:function(){return this._id},
getName:function(){return this._data.name},getUrl:function(){return this._data.url},getShortUrl:function(){return this._data.shorturl},getShareUrl:function(){return this._data.shareurl},getImages:function(c){var a=this,b=this._data.images[c];if(!b)return[];var d=0;return _(b).map(function(b){return{letter:b,url:a.getImageUrl(c,b),idx:d++}})},getImageUrl:function(c,a){a=a||"A";a.replace(/^\*/,"");var b=this._data.images[c];if(b&&_.indexOf(b,a)!=-1)return this._data.imageurl.replace(/{{format}}/g,c).replace(/{{letter}}/g,
a).replace(/{{qlt}}/g,gc.globalData("JPEGImageQuality")).replace(/{{width}}/g,c.replace(/x.*$/,""));return["http://placehold.it",c,"e8117f/ffffff"].join("/")},isAvailable:function(){return!0}}})});
;
// !MeAb! /c/s/d/e/j/g/b/f/p/FESubscribeable.js
gc.namespace("gc.bo.fe.product",function(){Role("gc.bo.fe.product.FESubscribeable",{methods:{subscribeUpdate:function(a){if(!this._updateFunctions)this._updateFunctions=[];this._updateFunctions.push(a)},update:function(){this.getVariants&&this.getVariants()&&_(this.getVariants()).each(function(a){a.update()});if(this._updateFunctions){var a=this;_(this._updateFunctions).each(function(b){b(a)})}}}})});
;
// !MeAb! /c/s/d/e/j/g/b/f/p/FEVariantProduct.js
gc.namespace("gc.bo.fe.product",function(){Class("gc.bo.fe.product.FEVariantProduct",{isa:gc.bo.fe.product.FEProductBase,does:gc.bo.fe.product.FEBrandVariantProduct?[gc.bo.fe.product.FESubscribeable,gc.bo.fe.product.FEBrandVariantProduct]:[gc.bo.fe.product.FESubscribeable],override:{initialize:function(b,a,c){a.images=a.images||c.getImageUrls()[a.color.value].images;a.imageurl=a.imageurl||c.getImageUrls()[a.color.value].imageurl;this.SUPER(b,a,c)}},methods:{getMaster:function(){return this._master},
getOrderable:function(){return!!this.getStock().sellable||this.isPreorderble&&this.isPreorderble()},getSize:function(){return this._data.size.value},getColor:function(){return this._data.color.value},getPriceDisplay:function(){return this._data.price.display},getMsrpPrice:function(){return this._data.price.msrp},getStock:function(){return this._data.stock||{}},isInStockSoon:function(){return this._data.instocksoon},isAvailable:function(b){if(this.isPreorderble&&this.isPreorderble())return!0;var b=
b||1,a=gc.bo.Basket.getItemById(this.getID()),a=a?a.quantity:0;return this.getStock().quantity>=b+a},isAvailableIncludingBasketItems:function(b){if(this.isPreorderble&&this.isPreorderble())return!0;var b=b||1,a=gc.bo.Basket.getItemById(this.getID()),a=a?a.quantity:0;return this.getStock().quantity>=b-a},getRelatedContent:function(){return this._data.relatedContent}}})});
;
// !MeAb! /c/s/d/e/j/g/b/f/p/FEDummyProduct.js
gc.namespace("gc.bo.fe.product",function(){Class("gc.bo.fe.product.FEDummyProduct",{isa:gc.bo.fe.product.FEProductBase,does:[gc.bo.fe.product.FESubscribeable],methods:{initialize:function(a,b,d){var e=this;this.nearest=a;this._master=d;_(["color","size"]).each(function(c){e[c]=b[c]||a["get"+Joose.S.uppercaseFirst(c)]()})},getMaster:function(){return this._master},getData:function(){return null},getOrderable:function(){return!1},getID:function(){return"Dummy_"+(this.color||"")+"_"+(this.size||"")},
getStock:function(){return{}},getName:function(){return this.nearest.getName()},getSize:function(){return this.size},getColor:function(){return this.color},getPriceDisplay:function(){return""},getMsrpPrice:function(){return""},getImages:function(a){return this.nearest.getImages(a)},getImageUrl:function(a,b){return this.nearest.getImageUrl(a,b)},isAvailable:function(){return!1},getShortUrl:function(){return this.shorturl}}})});
;
// !MeAb! /c/s/d/e/j/g/b/f/p/FEProductSet.js
gc.namespace("gc.bo.fe.product",function(){Class("gc.bo.fe.product.FEProductSet",{isa:gc.bo.fe.product.FEProductBase,does:[gc.bo.fe.product.FESubscribeable],methods:{getOrderable:function(){return!1},isAvailable:function(){return!1}}})});
;
// !MeAb! /c/s/d/e/j/g/b/f/p/FEMasterProduct.js
gc.namespace("gc.bo.fe.product",function(){Class("gc.bo.fe.product.FEMasterProduct",{isa:gc.bo.fe.product.FEProductBase,does:[gc.bo.fe.product.FESubscribeable],methods:{initialize:function(b){this.id=b;this._style=style=gc.globalData("Styles")[b];this._variants={};if(typeof style.values!="undefined"){var a=this,d=style.values,c=[];_(["color","size"]).each(function(a){d[a]&&_(d[a]).keys().length&&c.push(a)});var f=function(a,b){if(b>=c.length)return a;var e=_(d[c[b]]);_(e.keys()).each(function(c){a[c]=
f({},b+1)});return a},g=f({},0);_(style.variants).each(function(b,d){var e=new gc.bo.fe.product.FEVariantProduct(d,b,a);a._variants[d]=e;var i=g,h=null;_(c).each(function(a){h&&(i=i[h]);h=e["get"+Joose.S.uppercaseFirst(a)]()});i[h]=e});var l=style.orders,k=function(b,d){var e=null,i=[],h=c[d];_(l[h]).each(function(f){var g=b[f.value];if(d+1<c.length)k(g,d+1);else if(g._id)_(i).each(function(d){var c={};c[h]=d;c=new gc.bo.fe.product.FEDummyProduct(g,c,a);b[d]=a._variants[c.getID()]=c}),i=[],e=g;else if(e){var j=
{};j[h]=f.value;j=new gc.bo.fe.product.FEDummyProduct(e,j,a);b[f.value]=a._variants[j.getID()]=j}else i.push(f.value)})};k(g,0);(function(a){var b={};_(a).each(function(a,c){_(a).each(function(a){if(a._data.images&&a._data.images!={}&&!b[c])b[c]=a._data.images})});_(a).each(function(c,d){_(c).each(function(c,f){if((!c._data.images||_(c._data.images).length===0)&&b[d])a[d][f]._data.images=b[d]})})})(g)}},getMaster:function(){return this},getVariants:function(){return this._variants},pickFirstAvailableVariantForColor:function(b){return _(this.getVariants()).detect(function(a){return a.getColor()==
b&&a.isAvailable()})},pickVariant:function(b){var a=this._style.orders;_(["color","size"]).each(function(c){a[c]&&a[c].length&&(b[c]||_(a[c]).first())});var d=_(this.getVariants()).values();_(b).each(function(a,b){d=_(d).select(function(d){return""+a===""+d["get"+Joose.S.uppercaseFirst(b)]()})});return _(d).first()},getID:function(){return this.id},__getDim:function(b){if(!this["_get"+b]){var a={},d=0;_(this.getVariants()).values().each(function(c){a[c["get"+b]()]||(a[c["get"+b]()]=d++)});var c=[];
_(a).each(function(a,b){c[a]=b});this["_get"+b]=c}return this["_get"+b]},__getSizes:function(){return this._style.orders.size},getAvailableSizes:function(b){var a=_(this.getAvailableVariants()).map(function(a){if(a.getColor()==b)return a.getSize()});return _(a).compact()},__getColors:function(){return this._style.orders.color},getImageUrls:function(){return this._style.imageurls},getAvailableColors:function(){var b=_(this.getAvailableVariants()).map(function(a){return a.getColor()});return _(b).uniq()},
getAvailableVariants:function(){if(!this.__availableVariant)this.__availableVariant=_(this.getVariants()).select(function(b){return b.getOrderable()});return this.__availableVariant}}})});
;
// !MeAb! /c/s/d/e/j/g/b/f/FEProductHandling.js
gc.namespace("gc.bo.fe.product",function(a){a._products={};a._subscriptions={};gc.cl.util.JSONData.subscribe("Styles",function(b){_(b).each(function(b,c){if(!a._products[c])if(a._products[c]={},b.isproductset=="true")a._products[c].product=new gc.bo.fe.product.FEProductSet(c,b),a.notify(a._products[c].product);else try{var e=new gc.bo.fe.product.FEMasterProduct(c);a._products[c].product=e;a.notify(a._products[c].product);_(e.getVariants()).each(function(b){a._products[b.getID()]={product:b};a.notify(a._products[b.getID()].product)})}catch(f){}if(b.md5!=
a._products[c].md5)a._products[c].md5=b.md5,a._products[c].product.update(),a.notify(a._products[c].product)})});a.subscribe=function(b,d){a._subscriptions[b]||(a._subscriptions[b]=[]);a._subscriptions[b].push(d);a._products[b]&&a.notify(a._products[b].product)};a.notify=function(b){var d=a._subscriptions[b.getID()];_.isEmpty(d)||_(d).each(function(a){typeof a==="function"&&a(b)})};a.get=function(b){return a._products[b].product}});
;
// !MeAb! /c/s/d/e/j/b/c/i/selector.js
gc.init("ba.cl.init.selector",function(){Class("ba.cl.init.selector.Selector",{methods:{initialize:function(a){this.base=a;this.subscriptions={};this.attr={};this.fetchProduct();this.colorSelect=this.base.find('select[name="color"]');this.sizeSelect=this.base.find('select[name="size"]');var b=this;this.colorSelect.change(function(a,c){b.attr.color=b.currentColor();(!c||!c.noPickVariant)&&b.pickVariant(b.attr)});this.sizeSelect.change(function(a,c){b.attr.size=b.currentSize();(!c||!c.noPickVariant)&&
b.pickVariant(b.attr)})},fetchProduct:function(){var a=this.base.dataset("style");a||(a=this.base.closest("[data-style]").dataset("style"));this._product=gc.bo.product.get(a)},currentColor:function(){return this.colorSelect.val()},currentSize:function(){return this.sizeSelect.val()},start:function(a){if(this.colorSelect.length>0)this.attr.color=this.currentColor();if(a&&a.color)this.attr.color=a.color;if(this.sizeSelect.length>0)this.attr.size=this.currentSize();if(a&&a.size)this.attr.size=a.size;
this.pickVariant(this.attr);return this.variant},select:function(a){this.colorSelect.val(a.getColor());this.colorSelect.trigger("change",{noPickVariant:!0});this.sizeSelect.val(a.getSize());this.sizeSelect.trigger("change",{noPickVariant:!0})},pickVariant:function(a){this.variant=this._product.pickVariant(a);this.select(this.variant);this.updateWeet();this.showVariantName();this.showVariantPrice();var b=this;this.subscriptions.change&&$.each(this.subscriptions.change,function(a,c){c(b.variant)})},
updateWeet:function(){var a=this._product.getMaster().getID();Weet.set("products."+a,{color:this.attr.color,size:this.attr.size})},showVariantName:function(){$(".js_variant_name").html(this.variant.getName())},showVariantPrice:function(){var a=$("#content .js_price"),b=this.variant.getPriceDisplay();b.length?(a.text(b),a.css("visibility","visible")):a.css("visibility","hidden")},change:function(a){this.subscriptions.change||(this.subscriptions.change=[]);this.subscriptions.change.push(a)}}})});
;
// !MeAb! /c/s/d/e/j/b/c/w/formValidator.js
gc.widget("gc.cl.widgets.formValidator",{},function(h){h.validatorSettings={errorElement:"div",errorClass:"tooltip",ignore:".ignore",focusInvalid:!1,errorPlacement:function(a,b){a.prependTo(b.parent())},highlight:function(a){$(a).addClass("error");$(a).parent().addClass("error")},unhighlight:function(a){$(a).removeClass("error");$(a).parent().removeClass("error")},groups:{ccexp:"a.Payment.creditCardExpirationMonth a.Payment.creditCardExpirationYear a.Payment.creditCardExpirationMonth.payment a.Payment.creditCardExpirationYear.payment",
bday:"a.Customer.birthDay a.Customer.birthMonth a.Customer.birthYear"},submitHandler:function(a){$(a).find("input[placeholder],textarea[placeholder]").each(function(){var a=$(this);a.val(a.val()==a.attr("placeholder")?"":a.val())});return!0}};this.nodeReady=function(a){a.find("form:not(.suppress)").each(function(){$(this).validate(h.validatorSettings);$(this).data("doValidate",!0)})};this.ready=function(){_(jQuery.validator.messages).each(function(a,b){jQuery.validator.messages[b]=function(){return gc.i18n("form.validator."+
b)}});jQuery.validator.addMethod("postalCodeUS",function(a){if(a!=null&&a!="")return/[0-9]{5}/.test(a);return!0},function(){return"Please enter a valid zip code."});jQuery.validator.addMethod("postalCode",function(a,b){if($(b).closest("form").find("select[name=a.Register.country]").val()=="US"&&a!=null&&a!="")return/[0-9]{5}/.test(a);return!0},function(){return"Please enter a valid zip code."});jQuery.validator.addMethod("requiredState",function(a,b){if($(b).closest("fieldset").find("select.js_country_selector").val()!=
"US")return!0;if(a!=null&&a!="")return!0;return!1},function(){return gc.i18n("form.validator.required")});jQuery.validator.addMethod("comparePasswords",function(a,b){var c=$(b).closest("form").find("input[name=a.Register.password]").val()||$(b).closest("form").find("input[name=a.Customer.password]").val(),d=$(b).closest("form").find("input[name=a.Register.password2]").val()||$(b).closest("form").find("input[name=a.Customer.password2]").val();if(d==null||d=="")return!0;if(c!=d)return!1;return!0},function(){return gc.i18n("form.validator.comparePasswords")});
jQuery.validator.addMethod("compareEmails",function(a,b){var c=$(b).closest("form").find("input[name=a.Register.email]").val(),d=$(b).closest("form").find("input[name=a.Register.email2]").val();if(d==null||d=="")return!0;if(c!=d)return!1;return!0},function(){return gc.i18n("form.validator.compareEmails")});jQuery.validator.addMethod("creditCardNumber",function(a,b){a=a.replace(/\D/g,"");if(a==null||a=="")return!1;return jQuery.validator.methods.creditcard.call(this,a,b)},function(){return gc.i18n("form.validator.creditCardNumber")});
jQuery.validator.addMethod("creditCardExpiration",function(a,b){var c=new Date;year=$(b).closest("form").find("select[name^=a.Payment.creditCardExpirationYear]").val();month=$(b).closest("form").find("select[name^=a.Payment.creditCardExpirationMonth]").val();if(!/[0-9]{1,2}/.test(month)||month<1||month>12)return!1;if(year==null||year=="")return!0;if(!/[0-9]{4}/.test(year)||year<c.getFullYear()||year==c.getFullYear()&&month<c.getMonth()+1)return!1;return!0},function(){return gc.i18n("form.validator.creditCardExpiration")});
jQuery.validator.addMethod("creditCardVerificationNumber",function(a){return a!=null&&a!=""&&/^[0-9]{3,4}$/.test(a)},function(){return gc.i18n("form.validator.creditCardVerificationNumber")});jQuery.validator.addMethod("passwordVerificationLength",function(a){return a==null||a==""?!0:/.{8}/.test(a)},function(){return gc.i18n("form.validator.passwordVerificationLength")});jQuery.validator.addMethod("passwordVerificationCharacters",function(a){return a==null||a==""?!0:/^[^ \t]+$/.test(a)},function(){return gc.i18n("form.validator.passwordVerificationCharacters")});
jQuery.validator.addMethod("emailList",function(a,b){for(var a=a.split(/ ?, ?/),c=0;c<a.length;c++)if(!jQuery.validator.methods.email.call(this,a[c],b))return!1;return!0},function(){return gc.i18n("form.validator.emailList")});jQuery.validator.addMethod("date",function(a,b){var c=$(b).closest("form").find("input[name=a.Customer.birthDay]"),d=$(b).closest("form").find("input[name=a.Customer.birthMonth]"),h=$(b).closest("form").find("input[name=a.Customer.birthYear]"),e=c.val(),f=d.val(),g=h.val(),
e=e==c.attr("placeholder")?null:e,f=f==d.attr("placeholder")?null:f,g=g==h.attr("placeholder")?null:g;if(!e&&!f&&!g)return!0;e=parseInt(e);f=parseInt(f);g=parseInt(g);c=new Date(g,f-1,e);if(e>=1&&e<=31&&e==c.getDate()&&f>=1&&f<=12&&f==c.getMonth()+1&&g>=1890&&g&&g==c.getFullYear())return!0},function(){return gc.i18n("form.validator.date")});jQuery.validator.addMethod("noerrormsg",function(a,b){var c=$(b).closest("form").find("input[type=submit]");c.blur();return a==null||a==""?(c.toggleClass("disabled",
!0),c.attr({disabled:"disabled"}),!1):(c.toggleClass("disabled",!1),c.attr({disabled:""}),!0)},function(){return""})}});
;
// !MeAb! /c/s/d/e/j/g/c/w/pull_down_list.js
gc.widget("gc.cl.widgets.pullDownList",{},function(){Class("gc.cl.widgets.pullDownList.pullDownList",{has:{enabled:{is:"rw"}},methods:{initialize:function(c,m){if(!m.force_custom&&navigator.userAgent.match(/iPad/i))return $("select.pull_down_list").show(),!1;var a=this;this.select=c;c.attr("autocomplete","off");this.div_id="pull_down_"+this.select.attr("name");var g=c.attr("class").replace("pull_down_list",""),h=c.dataset("list_classes"),e=['<div class="pull_down_container '+g+'">','<div class="pull_down_text"></div>'];
(g=c.dataset("list_type"))?e.push("<"+g+' class="pull_down_list '+h+'">'):e.push('<ul class="pull_down_list '+h+'">');this.val2text={};var l=function(b){a.val2text[b.attr("value")]=b.text();var d=b.dataset("style"),c=b.dataset("classes");e.push('<li class="ie6hover'+(c?" "+c:"")+'" data-value="'+b.val()+'"');d&&e.push(' style="'+d+'"');e.push(">"+b.text()+"</li>")};this.select.children().each(function(){var a=$(this),d=this.tagName&&this.tagName.toLowerCase();d=="optgroup"?(d=a.children("option"),
d.length>=2?(e.push('<li class="optgroup"><span class="label">'+a.attr("label")+"</span><ul>"),d.each(function(){l($(this))}),e.push("</ul><li>")):d.each(function(){l($(this))})):d=="option"&&l(a)});g?e.push("</"+g+">"):e.push("</ul>");e.push("</div>");this.select.after(e.join(""));this.select.hide();this.container=this.select.next();this.input=this.container.find(".pull_down_text");this.focusGetter=this.container.find(".js_focus_getter");var n=0;this.focusGetter.focus(function(b,d){(new Date).getTime()-
n<500||(!d&&this.enabled&&a.trigger.click(),n=(new Date).getTime())});var i=!0;this.input.keydown(function(a){var d=a.keyCode;({9:!0})[d]||a.preventDefault();!i&&d==13&&j();!i&&d==9&&j();i&&37<=d&&d<=40&&o()});this.row=this.container.closest(".formRow");this.ul_list=this.container.find(".pull_down_list");this.trigger=this.container.find(".pull_down_text");this.enabled=!this.container.hasClass("readonly");var f=this.select.dataset("label");f?f+=" ":f="";h=this.val2text[this.select.val()||""];h==void 0?
this.input.html(f+this.select.val()):this.input.html(f+h);var o=function(){i=!1;var b=parseInt(a.container.css("z-index"),10);if(b)a.originalZIndex=b,a.container.css("z-index",b+1);a.row.add(a.container).add(a.ul_list).addClass("active")},j=function(){a.originalZIndex&&a.container.css("z-index",a.originalZIndex);i=!0;a.row.add(a.container).add(a.ul_list).removeClass("active")};this.trigger.click(function(){a.container.hasClass("active")?j($(this)):a.enabled&&o($(this))});a.select.change(function(){var b=
a.val2text[$(this).val()||""];b==void 0?a.input.html(f+$(this).val()):a.input.html(f+b);a.ul_list_li.each(function(){var a=$(this);a.removeClass("selected");a.text()==b&&a.addClass("selected")});a.select.trigger("focusout")});this.ul_list.css("visibility","hidden");this.ul_list.css("display","block");this.ul_list_li=this.ul_list.find("li");if(!m.no_min_width){var k=0,p=this.input.css("font-size"),q=this.ul_list_li.css("font-size");this.ul_list_li.each(function(){var a=$(this);a.css("font-size");a.css({display:"inline",
"font-size":p});k=a.width()>k?a.width():k;a.css({display:"","font-size":q})});this.trigger.css("min-width",k)}this.ul_list.css("display","");this.ul_list.css("visibility","");this.ul_list_li.click(function(){var b=$(this);a.val2text[a.select.val()]!=b.text()&&(a.select.val(b.dataset("value")||b.text()),a.select.trigger("change"));j();a.focusGetter.trigger("focus",!0)});this.container.bind("mouseleave",function(){j()})},disable:function(){this.enabled=!1;this.container.addClass("readonly")},enable:function(){this.enabled=
!0;this.container.removeClass("readonly")},selectFirst:function(c){this.select.val(c).trigger("change")}}});this.nodeReady=function(c){c.find(".pull_down_list").each(function(){var c=$(this),a=c.dataset("opts"),a=a?JSON.parse(a):{};c.data("list-init")||(c.data("list-init",!0),a=new gc.cl.widgets.pullDownList.pullDownList(c,a),c.data("list-bo",a))})}});
;
// !MeAb! /c/s/d/e/j/b/c/w/window.js
gc.widget("ba.cl.widgets.window",{},function(d){d.ready=function(a){try{window.navigator.userAgent.toLowerCase().indexOf("ipad")>0&&($("#addBillingAddress").length>0&&$("#addBillingAddress").addClass("fixIpadPopup"),$("#addShippingAddress").length>0&&$("#addShippingAddress").addClass("fixIpadPopup")),window.WindowManager=d.WindowManager.getInstance().start(a),Weet.subscribe("windows",function(a){for(var b in a)d.WindowManager.getInstance().show(b,a[b])})}catch(b){console.log(b)}gc.live(".js_openWindow",
"click",function(a){a.preventDefault();if($(".js_shareWishlist").length>0&&$(".wishlist input:checkbox:checked").length==0)return $(".js_shareWishlist").removeClass("js_shareWishlist"),a='<div class="window js_window" id="noitemselected"><div class="h1">'+gc.i18n("account.wishlist")+"</div><p>"+gc.i18n("share.no_items_selected")+'</p><span class="close h2 js_closeWindow">'+gc.i18n("global.lbclose")+"</span></div>",$("#go_noitemselected").length>0&&$("#go_noitemselected").remove(),$("#noitemselected").length>
0&&$("#noitemselected").remove(),$("#content").append('<a href="javascript://" id="go_noitemselected" class="js_openWindow go" data-roles="Shimmer,AutoHide,FadeShow,FadeHide" target="noitemselected"></a>',a),$("#go_noitemselected").click(),$(this).addClass("js_shareWishlist"),!1;var b=$(this).blur();if(b.data("disabled")===!0)console.log("disabled window");else{var h=b.dataset("opener")?$(b.dataset("opener")):b,a=b.attr("target"),h={opener:h,href:b.dataset("href")||b.attr("href"),roles:b.dataset("roles")};
if(b.hasClass("disabled"))return!1;if(b.dataset("target")=="_blank")return window.open(h.href),!1;if(a){var b=d.WindowManager.getInstance(),f=b.getWindow(a);if(f)f.href=h.href;b.show(a,h)}}});gc.live(".js_closeAllWindow","click",function(a){a.preventDefault();$("#windowContainer").find(".js_window").each(function(){$(this).find(".js_closeWindow").click()})});gc.live(".js_closeWindow","click",function(a){a.preventDefault();$("video").show();if(a=$(this).blur().closest(".js_window").data("windowInstance"))d.WindowManager.getInstance().close(a),
$("#sharelb").length>0&&d.WindowManager.getInstance().removeWindows(),a=$(this).closest(".js_window"),a.find("input[type=text]").val(""),a.find("select").each(function(){$(this).find("option:first").attr("selected","selected")}),a.find("textarea").val(""),a.find(".error").hide()});$(document).keyup(function(a){if(a.which==27||a.keyCode==27)(a=$(".js_window:not(.hidden)").data("windowInstance"))&&d.WindowManager.getInstance().close(a)});$(window).resize(function(){d.WindowManager.getInstance().recalculateShim();
d.WindowManager.getInstance().updatePositions()})};Class("ba.cl.widgets.window.WindowManager",{does:Joose.Singleton,has:{windows:{is:"rw",init:[]}},methods:{start:function(a){this.$container=a.find("#windowContainer");this.$shim=this.$container.find("#shim");a.find(".js_controller").each(function(){ba.cl.controller.ControllerManager.getInstance().start($(this))})},hasWindow:function(a){return a in this.windows},getWindow:function(a){return this.hasWindow(a)?this.windows[a]:null},createWindow:function(a,
b){var c=new d.Window(a,b);return this.windows[a]=c},show:function(a,b){var c=this.windows[a]||this.createWindow(a,b);for(a in this.windows){var e=this.windows[a];e!=c&&e.meta&&e.meta.can("loseFocusTo")&&e.loseFocusTo(c)}(typeof c.isLoading==="undefined"||c.isLoading===!1)&&c.show()},shim:function(){this.$shim.show();this.recalculateShim()},unshim:function(){this.$shim.hide()},recalculateShim:function(){this.$shim.css("display")!="none"&&(this.$shim.css({width:0,height:0}),this.$shim.css({width:$(document).width(),
height:$(document).height()-this.$shim.offset().top}))},close:function(a){var b="windows."+a.id;Weet.get(b)&&Weet.set(b,null);a.close()},closeWindows:function(){for(var a in this.windows)this.close(a)},remove:function(a){var b;(b=this.windows[a])?(b.remove(),delete this.windows[a]):console&&console.error("WindowManager.remove(): unknown window-id ("+a+")")},removeWindows:function(){for(var a in this.windows)this.remove(a)},updatePositions:function(){for(var a in this.windows){var b=this.windows[a];
b.getIsVisible&&b.getIsVisible()&&b.updatePosition()}}}});Class("ba.cl.widgets.window.Window",{has:{id:{is:"ro"},href:{is:"ro"},content:{is:"ro"},zindex:{is:"rw",init:50},position:{is:"rw",init:"absolute"},isVisible:{is:"ro"},windowRef:{is:"ro",init:$(window)},container:{is:"rw",init:$("body")}},methods:{initialize:function(a,b){this.id=a;this.href=b.href;this.$container=$("#windowContainer");this.$opener=$(b.opener);this.position=b.position?b.position:!1;for(var c=b.roles?b.roles.split(","):[],e=
0;e<c.length;++e)d[c[e]].meta.apply(this);c=$("#"+a+".js_window");c.length?(e=c.clone().appendTo($("body")),c.remove(),this.initializeContent(e)):(!this.href||this.href==="")&&console.error("Window::initialize(): no js_window node found and no url to load! (target="+this.id+")")},load:function(a,b){var c=this,e;a&&a!==""&&(ba.cl.init.spinner.Spinner.show(),gc.cl.util.Ajax.ajax({url:a,success:function(d,f){e=$(d).filter("#"+c.id);e.length||(e=$(d).find("#"+c.id));f=="success"&&e.length>0?(c.initializeContent(e),
b.apply(c)):console.error("WindowManager.load(): ajax load failed ("+a+") - status: "+f+", $node.length: "+e.length);ba.cl.init.spinner.Spinner.hide()},error:function(){c.$opener.data("disabled",!0);ba.cl.init.spinner.Spinner.error()}}))},loaded:function(){this.isLoading=!1;this.content.addClass("show");var a=this.calculatePosition();this.content.css({position:this.position,left:a.left,top:a.top});this.isVisible=!0;this.updatePosition();if($("#shareThisImg").length>0&&$("#thisIsCollection").length>
0){var a=$("#shareThisTitle").val(),b='<img data-viewtype="A"  class="photo"  src="'+$("#shareThisImg").val()+'">';$("#sharelb div#shareThisImg").html(b);$("#sharelb p#shareThisTitle").html(a)}},initializeContent:function(a){a.appendTo(this.$container);a.data("windowInstance",this);this.content=a;gc.cl.widgets.formValidator.nodeReady(a);typeof gc.cl.widgets[this.id]!="undefined"&&gc.cl.widgets[this.id].show();a.find(".js_controller").each(function(){ba.cl.controller.ControllerManager.getInstance().start($(this))});
a.filter(".js_controller").each(function(){ba.cl.controller.ControllerManager.getInstance().start($(this))})},show:function(){this.isLoading=!0;this.content?this.loaded():this.load(this.href,this.loaded)},calculatePosition:function(){if(!this.content)return{left:0,top:0};if(this.position)return{left:this.position.left+"px",top:this.position.top+"px"};var a=this.windowRef.scrollLeft()+this.windowRef.width()/2-this.content.width()/2,b=$(window).scrollTop()+this.windowRef.height()/2-this.content.height()/
2;window.navigator.userAgent.toLowerCase().indexOf("ipad")<=0&&(b-=$(window).scrollTop());$("#header").length>0&&b<$("#header").height()&&(b=$("#header").height());return{left:a,top:b}},updatePosition:function(){},close:function(){this.content.removeClass("show");this.isVisible=!1},remove:function(){this.content!==null&&this.content.remove()},setZindex:function(a){this.zindex=a}}});Role("ba.cl.widgets.window.UpdatePositionSoft",{methods:{updatePosition:function(){if(this.content){var a=this.calculatePosition();
this.isVisible?this.content.stop().animate({left:a.left,top:a.top},200,function(){d.WindowManager.updatePositions()}):this.content.css({position:this.position,left:a.left+"px",top:a.top+"px"})}}}});Role("ba.cl.widgets.window.UpdatePositionHard",{methods:{updatePosition:function(){if(this.content){var a=this.calculatePosition();this.content.css({position:this.position,left:a.left+"px",top:a.top+"px"})}}}});Role("ba.cl.widgets.window.HideOnLoseFocus",{methods:{loseFocusTo:function(){this.close()}}});
Role("ba.cl.widgets.window.PositionTop",{methods:{calculatePosition:function(){if(!this.content)return{left:0,top:0};return{left:$(window).scrollLeft()+$(window).width()/2-this.content.width()/2,top:0}}}});Role("ba.cl.widgets.window.PositionAtOpener",{before:{initializeContent:function(){this.position="fixed";if(this.$opener.parents().filter("#header").length>0||this.$opener.parents().filter("#footer").length>0)this.position="fixed"}},methods:{calculatePosition:function(){if(!this.content)return{left:0,
top:0};$.offset.initialize();var a=this.$opener.offset(),b="",c="";a&&(b=a.left+this.$opener.outerWidth()/2-this.content.outerWidth()/2,c=a.top-this.$opener.outerHeight());this.content.is("#followus")&&(b+=118,c-=140);if(this.content.is(".tr")||this.content.is(".br"))b=a.left+this.$opener.outerWidth()/2-this.content.outerWidth();var e={tc:"bc",tr:"br",tl:"bl"};this.position=="fixed"&&(window.navigator.userAgent.toLowerCase().indexOf("ipad")<=0&&(c-=$(window).scrollTop()),c<0&&(c=$("#header").height(),
e={}));c<5&&this.position=="absolute"&&(e={bc:"tc",br:"tr",bl:"tl"},c=a.top+35);var a=Math.ceil(parseFloat(b+this.content.outerWidth())),d=$(window).width(),f=this.content.find(".error .tooltip"),k=0;if(f.length>0){var g=0,i=null;f.each(function(){i=$(this).outerWidth()+$(this).offset().left;i>g&&(g=i)});k=70;g=Math.ceil(parseFloat(g));g>=a&&(a=g)}a=a-d+k;a>0&&(b-=a);for(var j in e)this.content.is("."+j)&&this.content.removeClass(j).addClass(e[j]);return{left:b,top:c}}}});Role("ba.cl.widgets.window.AlwaysLoadAjax",
{before:{show:function(){if(this.content)this.content.remove(),this.content=null}},after:{close:function(){if(this.content)this.hasFadeHide?this.removeAfterHide=!0:(this.content.remove(),this.content=null)}}});Role("ba.cl.widgets.window.Printable",{override:{initializeContent:function(a){var b=$("<div/>");b.attr("class",a.attr("class"));b.attr("id",a.attr("id"));b.addClass("window bl js_window lbprint");b.append(a.children());$("<a/>").attr("href","javascript://").addClass("close noprint js_closeWindow").html(gc.i18n("global.close")).appendTo(b);
$("<a/>").attr("href","javascript://").addClass("noprint button").click(function(){print()}).html(gc.i18n("global.print")).appendTo(b);this.SUPER(b)}},after:{show:function(){$("body").addClass("winprintable")},close:function(){$("body").removeClass("winprintable")}}});Role("ba.cl.widgets.window.AutoHide",{before:{close:function(){this.autoCloseId&&window.clearTimeout(this.autoCloseId);this.content&&(this.content.unbind("mouseenter"),this.content.unbind("mouseleave"))}},after:{loaded:function(){if(this.content){this.autoCloseId&&
window.clearTimeout(this.autoCloseId);var a=this;this.content.unbind("mouseenter").mouseenter(function(){window.clearTimeout(a.autoCloseId)}).unbind("mouseleave").mouseleave(function(){if(!$(this).is(".show"))return!1;a.autoCloseId=window.setTimeout(function(){a.close()},3E3)}).mouseleave()}}}});Role("ba.cl.widgets.window.FadeHide",{override:{close:function(){var a=this;a.hasFadeHide=!0;a.content&&a.content.is(".show")&&(this.content.css({display:"block",opacity:1}),this.content.animate({opacity:0},
800,function(){if(a.content){style=a.content.attr("style").replace(/display:\s*block;/i,"").replace(/opacity:\s*0;/i,"").replace(/filter:\s*alpha\(opacity=0\); zoom: 1;/i,"");a.content.attr("style",style);a.content.find(".tooltip").removeAttr("style");a.content.removeClass("show");if(a.removeAfterHide)a.content.remove(),a.content=null;a.unshimAfterClose&&d.WindowManager.getInstance().unshim(a.id)}}))}}});Role("ba.cl.widgets.window.FadeShow",{after:{loaded:function(){if(this.content){this.content.css("opacity",
0);var a=this;try{this.content.animate({opacity:1},800,function(){gc.cl.widgets.formValidator.nodeReady(a.content);style=a.content.attr("style").replace(/display:\s*none;/i,"").replace(/opacity:\s*1;/i,"").replace(/filter:\s*alpha\(opacity=100\); zoom: 1;/i,"");a.content.attr("style",style);a.content.find(".tooltip").removeAttr("style")})}catch(b){}}}}});Role("ba.cl.widgets.window.PreserveInitialState",{before:{loaded:function(){if(!this.content)return!1;if(!this.$initialState)this.$initialState=
this.content.children().clone(!0);this.content.empty().append(this.$initialState.clone())}}});Role("ba.cl.widgets.window.Shimmer",{before:{loaded:function(){d.WindowManager.getInstance().shim(this.id);this.unshimAfterClose=!0}},after:{close:function(){d.WindowManager.getInstance().unshim(this.id)}}});Role("ba.cl.widgets.window.Fragment",{does:[d.Shimmer]});Role("ba.cl.widgets.window.ModalLightboxPanel",{does:[d.Shimmer,d.HideOnLoseFocus]})});
;
// !MeAb! /c/s/d/e/j/b/c/w/ajaxForm.js
gc.widget("ba.cl.widgets.AjaxForm",{},function(){gc.live(".js_ajaxform","submit",function(b){b.preventDefault();var a=$(this);if(a.valid()){var c=a.closest(".js_ajax_placeholder");gc.cl.util.Ajax[a.attr("method")](a.attr("action"),a.serialize(),function(b){c.fadeOut("slow",function(){a.replaceWith(b)}).fadeIn()})}})});
;
// !MeAb! /c/s/d/e/j/b/c/w/print.js
gc.widget("ba.cl.widgets.print",{},function(b){b.ready=function(){printThisPage==!0&&($("#container").css("display","block"),window.print(),window.close())};gc.live(".js_print","click",function(a){a.preventDefault();a=location.href;a+=a.indexOf("?")<0?"?format=ajax":"&format=ajax";if(ba.cl.widgets.iefix.isIE()){mywindow=window.open(a,"mywindow","status=0,toolbar=0,location=0,menubar=0,directories=0,resizable=1,scrollbars=0, width=300,height=1");var a=$(window).width()/2,b=$(window).height()/2;mywindow.moveTo(a-
150,b-20)}else $('<iframe src="'+a+'" frameborder="0" scrolling="no" width="0" height="0" >').width("1").height("1").appendTo("#container")})});
;
// !MeAb! /c/s/d/e/j/b/c/w/checkFields.js
gc.widget("ba.cl.widgets.checkFields",{},function(f){f.ready=function(){$(".js_closeWindow").live("click",function(){$(this).closest(".js_window").find("input, textarea, select").removeClass("inputError")});var c;$("form").live("submit",function(d){var e=$(this);c="";e.find("input, textarea, select").each(function(){var a=$(this);if(a.data("required")==!0&&a.val()==""){d.preventDefault();var b=a.closest("form").find(".error");a.data("required-msg")&&(b.html(a.data("required-msg")),c=a.data("required-msg"));
b.show();a.addClass("inputError")}else a.removeClass("inputError")});e.find("input, textarea, select").each(function(){var a=$(this);if(a.data("type")&&a.data("type")=="mail"&&a.val()!="")if(a.val().match(/^[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+.[A-Za-z]{2,4}$/))a.removeClass("inputError");else{d.preventDefault();var b=a.closest("form").find(".error");a.data("type-msg")&&c==""&&b.html(a.data("type-msg"));b.show();a.addClass("inputError")}a.data("type")&&a.data("type")=="number"&&a.val()!=""&&(a.val().match(RegExp(/^([0-9\+]{1})([0-9])*$/))?
a.removeClass("inputError"):(d.preventDefault(),b=a.closest("form").find(".error"),a.data("type-msg")&&c==""&&b.html(a.data("type-msg")),b.show(),a.addClass("inputError")));a.data("type")&&a.data("type")=="password"&&a.val()!=""&&(/.{8,}/.test(a.val())?a.removeClass("inputError"):(d.preventDefault(),b=a.closest("form").find(".error"),a.data("type-msg")&&c==""&&b.html(a.data("type-msg")),b.show(),a.addClass("inputError")))});e.find("input, textarea, select").each(function(){var a=$(this);if(a.data("compare")){var b=
a.data("compare"),b=$("#"+b);if(a.val()!=""&&b.val()!=""&&a.val()!=b.val()){d.preventDefault();e.find("input, textarea, select").removeClass("inputError");var c=a.closest("form").find(".error");a.data("compare-msg")&&c.html(a.data("compare-msg"));c.show();a.addClass("inputError");b.addClass("inputError");return!1}}});e.find("#cc_cvn, #cc_expire_year, #cc_number").each(function(){var a=$(this);if(a.val()!=""&&!a.val().match(/[0-9]/)){d.preventDefault();var b=a.closest("form").find(".errorCC");a.data("type-msg")&&
b.html(a.data("type-msg"));b.show();a.addClass("inputError")}});e.find("#cc_expire_month").each(function(){var a=$(this);if(a.val()!=""&&(!a.val().match(/[0-9]/)||a.val()<1||a.val()>12)){d.preventDefault();var b=a.closest("form").find(".errorCC");a.data("type-msg")&&b.html(a.data("type-msg"));b.show();a.addClass("inputError")}});bodyelem=$.browser.safari?$("body"):$("html,body");var f=$("#header").height(),g=$(".inputError:first").offset();g!=null&&bodyelem.animate({scrollTop:g.top-f-10},"slow")})}});
;
// !MeAb! /c/s/d/e/j/b/c/w/facebook.js
gc.widget("ba.cl.widgets.facebook",{},function(c){c.ready=function(){c.ilike=function(a){if(a.find("iframe").length<=0){var c=a.data("url"),e=a.data("colorscheme"),d="button_count",d="box_count",b=a.data("locale"),b=b=="default"?"en_GB":b,b=b.indexOf("_")==-1?b+"_"+b.toUpperCase():b,c=$("<iframe src='"+("http://www.facebook.com/plugins/like.php?layout="+d+"&amp;show_faces=false&amp;width=100%&amp;action=like&amp;font&amp;colorscheme="+e+"&amp;height=26&amp;href="+c+"&amp;locale="+b+"")+"' scrolling='no' frameborder='0' allowTransparency='true'></iframe>");
a.append(c)}};$(".js_facebook").each(function(){var a=$(this);switch(a.data("plugin")){case "ilike":a.data("autoload")&&c.ilike(a)}})}});
;
// !MeAb! /c/s/d/e/j/b/c/w/toolTip.js
gc.widget("gc.cl.widgets.toolTip",{},function(){Class("gc.cl.widgets.toolTip.ToolTip",{classMethods:{span:!1,mouseEnter:function(a){var b=$(this);if(!b.data("gc.cl.widgets.toolTip.ToolTip")){$(".tooltip");if(!gc.cl.widgets.toolTip.ToolTip.span)gc.cl.widgets.toolTip.ToolTip.span=$('<span id="tooltipGeneric" class="tooltip"></span>'),gc.cl.widgets.toolTip.ToolTip.span.appendTo("body");b.data("gc.cl.widgets.toolTip.ToolTip",new gc.cl.widgets.toolTip.ToolTip(b,a))}}},methods:{initialize:function(a,b){var c=
this;this.node=a;if((this.title=this.node.attr("title")||this.node.dataset("title"))&&this.title.length)this.node.removeAttr("title"),this.node.mouseenter(function(a){c.mouseEnter(a)}),this.node.mouseleave(function(a){c.mouseLeave(a)}),this.node.mouseover(function(a){c.mouseEnter(a)}),this.node.click(function(a){c.mouseLeave(a)}),this.mouseEnter(b)},position:function(){var a=gc.cl.widgets.toolTip.ToolTip.span;a.css("left",this.mouse_pos.pageX-a.width()/2+"px");a.css("top",this.mouse_pos.pageY+20-
$(window).scrollTop()+"px")},paint:function(){this.clearTimeout();var a=gc.cl.widgets.toolTip.ToolTip.span;a.html(this.title);this.position();a.addClass("active");jQuery.browser.msie&&a.show()},hide:function(){jQuery.browser.msie?gc.cl.widgets.toolTip.ToolTip.span.hide():gc.cl.widgets.toolTip.ToolTip.span.removeClass("active")},clearTimeout:function(){if(this.delay)clearTimeout(this.delay),this.delay=null;this.node.unbind("mousemove",this.mousePos)},mousePos:function(a){this.mouse_pos=a;this.position()},
mouseEnter:function(a){var b=this;this.mousePos(a);this.clearTimeout();this.node.mousemove(function(a){b.mousePos(a)});this.delay=setTimeout(function(){b.paint()},100)},mouseLeave:function(){this.clearTimeout();this.hide()}}});gc.live(".js_tooltip","mouseenter",gc.cl.widgets.toolTip.ToolTip.mouseEnter);gc.live(".js_tooltip","mouseover",function(){jQuery.browser.msie?$(this).hasClass("disable_plus")||$(this).hasClass("disable_less")?($("#tooltipGeneric").css("visibility","hidden"),$("#tooltipGeneric").children().css("visibility",
"hidden")):($("#tooltipGeneric").css("visibility","visible"),$("#tooltipGeneric").children().css("visibility","visible")):$(this).hasClass("disable_plus")||$(this).hasClass("disable_less")?gc.cl.widgets.toolTip.ToolTip.span.hide():gc.cl.widgets.toolTip.ToolTip.span.show()});gc.live(".js_closeBox","click",function(){$(this).parent().parent().css("display","none")});this.nodeReady=function(a){a.find(".js_tooltip img").removeAttr("alt")}});
;
// !MeAb! /c/s/d/e/j/e/waypoints.min.js
(function(b,i,g,e){function q(a){for(var c=h.length-1;c>=0&&h[c].element[0]!==a[0];)c-=1;return c}function j(a,c){a.element.trigger(m,c);a.options.triggerOnce&&a.element.waypoint("destroy")}function r(){var a=k.scrollTop(),c=a>f,d=b.grep(h,function(b){return c?b.offset>f&&b.offset<=a:b.offset<=f&&b.offset>a});if(!f||!a)b[g]("refresh");f=a;d.length&&(b[g].settings.continuous?b.each(c?d:d.reverse(),function(a,b){j(b,[c?"down":"up"])}):j(d[c?d.length-1:0],[c?"down":"up"]))}var k=b(e),h=[],f=-99999,n=
!1,o=!1,m="waypoint.reached",l={init:function(a,c){this.each(function(){var d=b(this),f=q(d),e=b.extend({},f<0?b.fn[i].defaults:h[f].options,c);e.offset=e.offset==="bottom-in-view"?function(){return b[g]("viewportHeight")-b(this).outerHeight()}:e.offset;f<0?h.push({element:d,offset:d.offset().top,options:e}):h[f].options=e;a&&d.bind(m,a)});b[g]("refresh");return this},remove:function(){return this.each(function(){var a=q(b(this));a>=0&&h.splice(a,1)})},destroy:function(){return this.unbind(m).waypoint("remove")}};
b.fn[i]=function(a){if(l[a])return l[a].apply(this,Array.prototype.slice.call(arguments,1));else if(typeof a==="function"||!a)return l.init.apply(this,arguments);else if(typeof a==="object")return l.init.apply(this,[null,a]);else b.error("Method "+a+" does not exist on jQuery"+i)};b.fn[i].defaults={offset:0,triggerOnce:!1};var p={refresh:function(){b.each(h,function(a,c){var d=0,e=c.offset;typeof c.options.offset==="function"?d=c.options.offset.apply(c.element):typeof c.options.offset==="string"?
(d=parseFloat(c.options.offset),d=c.options.offset.indexOf("%")?b[g]("viewportHeight")*(d/100):d):d=c.options.offset;c.offset=c.element.offset().top-d;f>e&&f<=c.offset?j(c,["up"]):f<e&&f>=c.offset&&j(c,["down"])});h.sort(function(a,b){return a.offset-b.offset})},viewportHeight:function(){return e.innerHeight?e.innerHeight:k.height()},aggregate:function(){var a=b();b.each(h,function(b,d){a=a.add(d.element)});return a}};b[g]=function(a){return p[a]?p[a].apply(this):p.aggregate()};b[g].settings={continuous:!0,
resizeThrottle:200,scrollThrottle:100};k.load(function(){k.scroll(function(){n||(n=!0,e.setTimeout(function(){r();n=!1},b[g].settings.scrollThrottle))}).resize(function(){o||(o=!0,e.setTimeout(function(){b.waypoints("refresh");o=!1},b[g].settings.resizeThrottle))});b[g]("refresh");r()})})(jQuery,"waypoint","waypoints",this);
;
// !MeAb! /c/s/d/e/j/b/c/w/sharable.js
gc.init("ba.cl.init.shareable",function(){var d=$(".js_sharemail");d.clone().appendTo($("body"));d.remove();gc.live(".js_sharemail .js_twitter, .js_facebook","click",function(){if($(".js_sharemail").length>0){this.blur();var a=$(".js_sharemail"),b=$(".js_share");$(".js_share").length<=0&&(b=$(".js_sharemail"));a.data("trigger",b);b.closest(".js_actions").addClass("sharingactive");var c=b.closest("[data-sharingclass]").dataset("sharingclass"),f=b.closest("[data-sharingtext]").dataset("sharingtext"),
e=b.closest("[data-sharingurl]").dataset("sharingurl"),g=b.closest("[data-sharingwhat]").dataset("sharingwhat"),d=b.offset(),e=e||location.href,g=g||gc.i18n("sharing.unspecificWhat"),f=(f||"").replace(/{[\d]+}/,e);a.addClass(c).data("sharing.text",f).data("sharing.url",e).show().css({left:d.left+"px",top:d.top+"px",opacity:0});try{a.animate({opacity:1},1E3,function(){if(b.attr("style")){var a=b.attr("style").replace(/display:\s*none;/i,"").replace(/opacity:\s*1;/i,"").replace(/filter:\s*alpha\(opacity=100\); zoom: 1;/i,
"");b.attr("style",a).addClass("show")}})}catch(h){}a.data("sharable.shareClass",c);a.find("input[name=a.TellAFriend.sharing_url]").val(e);a.find("input[name=a.TellAFriend.sharing_what]").val(g)}c=$(".js_sharemail");a=c.data("sharing.text");c=c.data("sharing.url");$(this).is(".js_twitter")?$(this).attr("href","http://twitter.com/home?"+jQuery.param({status:a})):$(this).attr("href","http://www.facebook.com/sharer.php?"+jQuery.param({u:c,t:a}))});gc.live(".js_sharemail .js_close","click",function(a){a.preventDefault();
a.stopPropagation();var b=$(".js_sharemail");b.data("trigger").closest(".js_actions").removeClass("sharingactive");b.fadeOut(800,function(){$(this).removeAttr("style").removeClass("show").removeClass(b.data("sharable.shareClass")||"").hide()})});gc.live(".js_share","click",function(a){a.preventDefault()});gc.live(".js_sharemail form","submit",function(){var a=$(this);if(!a.validate().form())return!1;var b=$(".js_sharemail");gc.cl.util.Ajax.post(a.attr("action"),a.serialize(),function(){b.find("form")[0].reset();
b.find(".js_close").click()});return!1})});
;
// !MeAb! /c/s/d/e/j/b/c/w/setStateFromZipCode.js
gc.widget("ba.cl.widgets.setStateFromZipCode",{},function(c){Class("ba.cl.widgets.setStateFromZipCode.StateFromZipCode",{methods:{initialize:function(b){var a=this;a.form=b;a.zipCode=a.form.find(".js_postalcode");a.stateCode=a.form.find(".js_statecode");console.log("init ",b);console.log(a.zipCode);a.zipCode.change(function(b){a.setStateFromZipCode(b)})},setStateFromZipCode:function(){var b=this,a=gc.cl.util.URL.to("zip_code")+"/"+b.zipCode.val();$.ajax({url:a,dataType:"json",success:function(a){if(a=
a.zip_code&&a.zip_code.stateCode)b.stateCode.val(a),b.stateCode.change()}})}}});this.nodeReady=function(b){b.find(".js_setstatefromzipcode").each(function(){new c.StateFromZipCode($(this))})}});
;
// !MeAb! /c/s/d/e/j/b/c/w/videoPlayer.js
gc.widget("ba.cl.widgets.videoPlayer",{},function(b){b.ready=function(){b.videoPlayer_autostart();b.loadAllVideos()};b.videoPlayer_autostart=function(){$("div.js_videoPlayer[data-autostart=true]").waypoint(function(){var a=$(this).data("id");jwplayer(a).play(!0)},{offset:"50%",continuous:"false"})};$(".js_videoPlayer_play").live("click",function(){if($(this).data("playerid")){var a=$(this).data("playerid");$(this).closest("div.lnk").removeClass("hover");$("div[data-id="+a+"]").css("display")!="block"?
$("div[data-id="+a+"]").show("fast",function(){b.refresh($(this))}):b.refresh($(this))}});b.resizeVimeo=function(a){if(a.length>0){var d=a.attr("width")/a.attr("height"),b=a.closest(".videoPlayer_vimeo");a.css("width",parseInt(b.css("width")));a.css("height",parseInt(b.css("width"))/d);a.css("position","absolute");a.css("left","0");a.css("top",parseInt(parseInt(b.css("height"))/2-parseInt(a.css("height"))/2)+"px");a.bind("click",function(){$(this).click()})}};b.refresh=function(a){var a=$(a),d=a.data("id"),
e=parseInt(a.width()*1),c=parseInt(a.height()*1);parseInt(a.data("ready"));parseInt(a.data("html5VideoAvailable"))==1&&jwplayer(d).resize(e,c);d=a.find(".videoPlayer_vimeo iframe");a.data("videotype")=="vimeo"&&d.length>0&&b.resizeVimeo(d)};b.refreshAll=function(){$(".js_videoPlayer").each(function(){var a=$(this);b.refresh(a)})};var m=function(a){a=$(a).closest("li.tile.pd");a.find(".lnk .img a img").css("visibility","hidden");a.find(".lnk .txt:not(.js_pinpointvideoforce)").css("visibility","hidden")},
i=function(a){a=$(a).closest("li.tile.pd");a.find(".lnk .img a img").css("visibility","");a.find(".lnk .txt").css("visibility","")};b.bindEndedVideo=function(a){a.bind("ended",function(){var a=$("#"+$(this).attr("id")),b=a.closest(".js_videoPlayer");b.data("hideOnComplete")=="1"&&(i(a),b.hide())})};b.loadVideos=function(a){a==void 0&&(a=$("body"));a.find(".js_videoPlayer[data-initialized=false]").each(function(){var a=$(this);if(a.data("initialized")===!1){var e=a.data("id");a.attr("data-initialized",
"true");var c=a.children("img");c.load(function(){$(this).height()>$(this).width()&&$(this).closest(".collectionVideoContainer").removeClass("twocolums").addClass("fourcolums")}).attr("src",a.children("img").data("src"));c.height()>c.width()&&c.closest(".collectionVideoContainer").removeClass("twocolums").addClass("fourcolums");var c=a.data("h264Src"),f=!1;c&&c!=""&&Modernizr.video&&Modernizr.video.h264!=""&&(f=!0);var j=window.navigator.userAgent.toLowerCase().indexOf("safari")>0&&window.navigator.userAgent.toLowerCase().indexOf("macintosh")>
0&&window.navigator.userAgent.toLowerCase().indexOf("chrome")==-1,f=!swfobject.hasFlashPlayerVersion("9.0.115"),k=a.data("autostart"),k="false";a.data("autostartForce")=="1"&&(k="true");var g=a.find("video"),l=a.data("videotype");a.find(".videoPlayer_vimeo").html(a.find(".videoPlayer_vimeo").html().replace("<\!--","").replace("--\>",""));m(a);var h=[];if(f)l!="vimeo"?(g.show(),b.bindEndedVideo(g)):(a.closest("#fullscreen_video").length<=0?g.remove():g.hide(),$("div#"+e).remove());else{f=a.data("video-safariMacForce");
if(j&&f=="0"){h=a.find(".videoPlayer_vimeo").html();i(a);a.closest("li.tile.pd").find(".lnk .txt").css("visibility","hidden");g.remove();var n=a.data("baseurl"),h=$("<div>").addClass("js_ifullscreen js_fullscreen videoPlayer").data("fullscreen-type","video").data("fullscreen-videotype",a.data("videotype")).data("fullscreen-vimeodata",h).data("fullscreen-title",a.data("title")).data("fullscreen-preview",a.data("urlPosterImage")).data("fullscreen-src",a.data("h264Src")).css("zIndex","100").css("cursor",
"pointer").css("width","100%").append('<div style="background-image:url('+n+'/images/elements/playIcon.png); height: 58px; left: 50%; margin-left: -26px; margin-top: -29px; position: absolute; top: 50%; width: 52px;"></div>');a.replaceWith(h)}if(!j||j&&f=="1")g.remove(),$("div#"+e).length<=0&&a.append("<div id='"+e+"'>"),h=[{type:"flash",src:a.data("staticbaseurl")}],jwplayer(e).setup({width:a.data("width"),height:a.data("height"),file:c,image:a.data("urlPosterImage"),skin:a.data("skin"),autostart:k,
controlbar:a.data("controlbar"),wmode:"opaque",events:{onComplete:function(){var a=$("#"+$(this).attr("id")),b=a.closest(".js_videoPlayer");b.data("hideOnComplete")=="1"&&(i(a),b.hide(),this.setFullscreen(!1))},onFullscreen:function(a){var c=$("#"+$(this).attr("id")).closest(".js_videoPlayer"),e=parseInt(c.data("html5VideoAvailable"))==1?!0:!1,d=$("#content");e&&(a.fullscreen==!0?(d.data("zIndex",d.css("zIndex")),d.css("zIndex","auto"),c.data("zIndex",c.css("zIndex")),c.css("zIndex","auto")):(d.data("zIndex")&&
d.css("zIndex",d.data("zIndex")),c.data("zIndex")&&c.css("zIndex",c.data("zIndex")),b.refreshAll()))},onReady:function(){$("#"+$(this).attr("id")).closest(".js_videoPlayer").data("ready","1");$("div#"+e).remove()}},modes:h}),l=="vimeo"&&(a.find(".videoPlayer_vimeo").show(),$("div#"+e).remove()),a.find("object").attr("bgcolor","#ffffff")}}b.refresh(a)})};b.loadAllVideos=function(){b.loadVideos()};$(window).bind("resize",function(){b.refreshAll()})});
;
// !MeAb! /c/s/d/e/j/b/c/i/swfPlayer.js
gc.init("ba.cl.init.swfPlayer",function(){Class("ba.cl.init.swfPlayer.swfPlayer",{has:{node:{is:"rw"},debug:{is:"r",init:!1},flashAvailable:{is:"r",init:swfobject.hasFlashPlayerVersion("9.0.115")}},methods:{initialize:function(a){if((this.node=a)&&this.node.length!==0)a=this.node.data("params"),this.flashAvailable?swfobject.embedSWF(a.swf,a.id,a.width,a.height,"9.0.115","false",{autostart:a.autostart,stretching:"fill",smoothing:"true"},{wmode:"transparent",allowfullscreen:"true",allowscriptaccess:"always"},
{id:a.id}):(this.node.empty(),this.node.html("<p>"+gc.i18n("global.flashplayerRequired")+"</p>"))}}})});
;
// !MeAb! /c/s/d/e/j/b/c/i/loading_spinner.js
gc.init("ba.cl.init.spinner",function(){Class("ba.cl.init.spinner.Spinner",{classMethods:{show:function(){this.$loading=$("#loading");this.$loadingPart=this.$loading.find(".js_loading");this.$errorPart=this.$loading.find(".js_error");this.$loadingPart.removeClass("hidden");this.$errorPart.addClass("hidden");var a=this;this.showTimeout=setTimeout(function(){$(".js_open_loader").click()},2E3);this.errorTimeout=setTimeout(function(){a.error()},1E4)},hide:function(){$("#loading .js_closeWindow").click();
this.showTimeout&&clearTimeout(this.showTimeout);this.errorTimeout&&clearTimeout(this.errorTimeout)},error:function(){this.$loading=$("#loading");this.$loadingPart.addClass("hidden");this.$errorPart.removeClass("hidden");Weet.clearHash()}}})});
;
// !MeAb! /c/s/d/e/j/b/c/w/newsletter.js
gc.widget("ba.cl.widgets.newsletter",{},function(a){a.ready=function(){$("#alertUnsubscribe2").length!=0&&$("#alertUnsubscribe2").click();$("#alertUnsubscribe1").length!=0&&$("#alertUnsubscribe1").click();$("#alertSubscribe1").length!=0&&$("#alertSubscribe1").click();$("#alertSubscribe2").length!=0&&$("#alertSubscribe2").click();$("input#newslettersCheck1").live("click",function(){var b=$(this).is(":checked"),c=$(this).closest("form").children("input[name=path]"),d=c.val(),a=d.indexOf("/unsubscribe")>=
0?"unsubscribe":"subscribe",b=d.replace(a,b==!0?"subscribe":"unsubscribe");c.val(b)})};$(".newsletter").live("submit",function(){$("#email").val()&&_gaq.push(["_track55Social",2,"Newsletter","Subscribe"])});$("#newsunsub").bind("click",function(){$("#unsubnews").css("display")=="none"?$("#unsubnews").show():$("#unsubnews").hide()});$(".closeNewsletter").live("click",function(){window.location=$("#logo").find("a").attr("href")})});
;
// !MeAb! /c/s/d/e/j/b/c/w/placeholder.js
gc.widget("ba.cl.widgets.placeholder",{},function(){var d=function(c){c.find("input[placeholder],textarea[placeholder]").each(function(){var b=$(this);b.data("placeholder",b.attr("placeholder"));b.removeAttr("placeholder");var a=b.clone();jQuery.browser.msie&&a.attr("type")==="password"&&(a=$("<input type='text' />"),a.attr("class",b.attr("class")),a.attr("size",b.attr("size")));a.data("placeholder",b.data("placeholder"));a.val(b.data("placeholder"));a.removeAttr("name");a.removeAttr("id");a.addClass("ignore placeholder");
a.attr("type").toLowerCase()==="password"&&a.attr("type","text");b.data("placeholder-input",a);a.data("orig-input",b);a.hide();b.after(a);a.css("display",b.css("display"));this.value===""?(b.hide(),a.show()):(a.hide(),b.show());a.focus(function(){var a=$(this),b=a.data("orig-input");a.hide();b.show().focus()});b.blur(function(){if(this.value===""){var a=$(this),b=a.data("placeholder-input");a.hide();b.show()}})}).bind("placeholder:show",function(){$(this).is(".placeholder")||(this.value===""?$(this).hide().data("placeholder-input").show():
$(this).show().data("placeholder-input").hide())}).bind("change",function(){var b=$(this),a=b.data("placeholder-input");this.value===""?(b.hide(),a.show()):(a.hide(),b.show())})};this.nodeReady=function(c){Modernizr.input.placeholder||d(c)}});
;
// !MeAb! /c/s/d/e/j/b/c/w/searchbox.js
gc.widget("ba.cl.widgets.searchbox",{},function(c){$(".search").live("click",function(b){a(b)});var a=function(b){var a=$(".search").closest("li");a.hasClass("active")||(b!=null&&b.preventDefault(),a.toggleClass("active"))};c.ready=function(){$("#search").val()!=""&&a(null)}});
;
// !MeAb! /c/s/d/e/j/b/c/w/checkout.js
gc.widget("ba.cl.widgets.checkout",{},function(c){c.ready=function(){};gc.live(".js_checkboutique","click",function(){var a=$("#boutiqueCode").val();a==""&&(a="none");$(this).attr("href","checkboutique/"+a)});gc.live(".checkBoutiquechange","click",function(){});gc.live("#isgift","click",function(){$("#shipping_message").attr("disabled")?($("#shipping_message").parent().removeClass("disabled"),$("#shipping_message").attr("disabled","")):($("#shipping_message").parent().addClass("disabled"),$("#shipping_message").attr("disabled",
"disabled"))});gc.live(".js_shippingAddress","change",function(a){a.preventDefault();a=$(this).dataset("url")+"/"+$(this).val();gc.cl.util.AjaxMultiBlockDistributor.perform(a)});gc.live(".js_update_method","change",function(a){a.preventDefault();a=$(this).dataset("url")+"/"+$(this).val();gc.cl.util.AjaxMultiBlockDistributor.perform(a);$("select.js_update_method  option:selected").each(function(){var a=$(this).data("delivery");$(".js_deliveryTime").html(a)})});$(".js_existingAddress").live("change",
function(){$("select.js_existingAddress  option:selected").each(function(){$("#region").val($(this).data("region"));$("#title").val($(this).data("title"));$(this).data("id");var a=$(this);$(".js_addressCheckOut input").each(function(){var b=$(this).data("name");typeof b!="undefined"&&$(this).val(a.data(b))});var b=$(this).data("phone");$("#phone").val(b.replace("phone",""));b=$(this).data("postalCode");$("#postalCode").val(b.replace("postalCode",""))})});$(".js_disableOnClick").bind("click",function(){$.browser.msie&&
(parseInt($.browser.version,10)===8||parseInt($.browser.version,10)===7)?($(this).hide(),$(".submitCheckoutDiv").show()):($(this).css("display","none"),$(".submitCheckoutDiv").css("display","block"))})});
;
// !MeAb! /c/s/d/e/j/b/c/w/contact.js
gc.widget("ba.cl.widgets.contact",{},function(){gc.live(".js_sendcontact","click",function(){$("#urlpage").val(window.location)});gc.live(".contact","submit",function(){if($(".js_trackContact")){var a=null,b=null,b=$(".js_trackContact").attr("data-productid"),a=$(".js_trackContact").attr("data-category");_gaq.push(["_trackEvent","ProductContact",a,b])}})});
;
// !MeAb! /c/s/d/e/j/b/c/w/iefix.js
gc.widget("ba.cl.widgets.iefix",{},function(c){c.getParams=function(a){if(!a)return!1;if(a.indexOf("?")==-1)return!1;for(var a=a.split("?")[1].split("&"),c=[],b=0;b<a.length;b+=1){var e=a[b].split("=");c[e[0]]=e[1]}return c};c.isIE=function(){return c.getParams(location.href).wa=="ie"};c.isActive=function(){return location.href.indexOf("collections")>=0&&$("body").hasClass("collections")};c.ready=function(){var a="gridview=true",d=c.getParams(location.href);d&&d.wa=="ie"&&$("a").bind("mouseover",
function(){$("body").hasClass("plusminus_large")?(a="gridview=false",gridparamOLD="gridview=true"):(a="gridview=true",gridparamOLD="gridview=false");var b=$(this),e=b.attr("href"),d=c.getParams(e);e&&(d?d.wa!="ie"?b.attr("href",b.attr("href")+"&wa=ie&"+a):b.attr("href",b.attr("href").replace(gridparamOLD,a)):b.attr("href",b.attr("href")+"?wa=ie&"+a))})}});
;
// !MeAb! /c/s/d/e/j/b/c/w/login.js
gc.widget("ba.cl.widgets.login",{},function(c){c.ready=function(){$("#alertRegistrationSuccess").length!=0&&$("#alertRegistrationSuccess").click();$("#alertSuccessEmailAlreadyUsed").length!=0&&$("#alertSuccessEmailAlreadyUsed").click();$("#alertSuccessEmailNotCorrect").length!=0&&$("#alertSuccessEmailNotCorrect").click();$("#alertSuccessPasswordAndConfirm").length!=0&&$("#alertSuccessPasswordAndConfirm").click();$("#alertSuccessEmailAndConfirm").length!=0&&$("#alertSuccessEmailAndConfirm").click();
$("#alertSuccessCompleteProfileIsValidEmail").length!=0&&$("#alertSuccessCompleteProfileIsValidEmail").click();$("#alertSuccessCompleteProfileEmailAlreadyUsed").length!=0&&$("#alertSuccessCompleteProfileEmailAlreadyUsed").click();$("#alertSigninFailed").length!=0&&$("#alertSigninFailed").click();$(".js_clickLink").length!=0&&$(".js_clickLink").click();$("#forgotPasswordLink").length!=0&&($("#forgotPasswordLink").remove(),$("#alertForgotPassword").click());$("#alertsuccessResetPassword").length!=0&&
$("#alertsuccessResetPassword").click();$("#alertSuccessPasswordChanged").length!=0&&$("#alertSuccessPasswordChanged").click();$("#alertSuccessConfirmPasswordCompare").length!=0&&$("#alertSuccessConfirmPasswordCompare").click();$("#alertEmailSuccess").length!=0&&$("#alertEmailSuccess").click();$("#alertEmailFailed").length!=0&&$("#alertEmailFailed").click();$("#alertShippingAddressError").length!=0&&$("#alertShippingAddressError").click();$(".js_shippingAddressPresent").live("change",function(){$("select.js_shippingAddressPresent option:selected").each(function(){var a=
$(this).data("id");$(".addBillingAddress input").each(function(){var b=$(this).data("name");typeof b!="undefined"&&$(this).val($(".section#shippingAddress address[data-id="+a+"]").find("span[data-name="+b+"]").text())});$(".section#shippingAddress address[data-id="+a+"]").find('span[data-name="statecode"]')!=null&&$("select#region").val($(".section#shippingAddress address[data-id="+a+"]").find('span[data-name="statecode"]').text())})});$(".js_editAddress").bind("click",function(){$(".js_editAddress_popup input").each(function(){var a=
$(this).attr("data-value");a&&a!="null"&&$(this).val(a)})});$("#alertForgotPassword").bind("click",function(){$("#forgotPasswordLink").length==0&&$("#textRequiredForgotPassword").html($("#textRequiredForgotPassword").attr("data-requiremessage"))})}});
;
// !MeAb! /c/s/d/e/j/b/c/w/productdetail.js
gc.widget("ba.cl.widgets.productdetail",{},function(j){var l=function(){if($("body").hasClass("productdetail")){$(document).height();var a=$(window).height()*1,c=$(window).width()*1,b=$("#main"),d=$("#main .img > img");window.navigator.userAgent.toLowerCase().indexOf("ipad")>0&&a>c&&(a*=0.6);var c=$("#header").height()*1,e=$("#footernav").height()*1,a=a-c-e-2,c=a-60+5;b.height(a+"px");d.height(c+"px");$(".js_videoPlayer[data-id=pdetail_vplayer]").height(c+"px")}},m=function(){if($("body").hasClass("productdetail")){var a=
$(".img ul.morepd"),c=a.find("li"),b=c.first().hasClass("active"),d=a.find("li.active");b?(a.css("borderColor","#C1C1C1"),c.css("borderWidth","1px 1px 1px 0px").css("borderColor","#C1C1C1").css("marginLeft","0px"),d.css("borderColor","#606060"),a.css("borderColor","#606060")):(a.css("borderColor","#C1C1C1"),c.css("borderWidth","1px 1px 1px 0px").css("borderColor","#C1C1C1").css("marginLeft","0px"),d.css("borderWidth","1px").css("borderColor","#606060").css("marginLeft","-1px"))}};gc.live(".js_colorswatch",
"click",function(){window.navigator.userAgent.toLowerCase().indexOf("ipad")>0&&$("#colorswatch ul.colors").css("height","auto")});j.ready=function(){m();l()};gc.live("#visualize .button","click",function(){if($("#storeavailability.window").length>0){var a=$("#extra").height()-$("#storeavailability").height();$("#extra").css("height",a)}$("#store_list").css("display","block");$(".js_store_avail").click()});gc.live("#storeavailability .close","click",function(){var a=$("#extra").height()-$("#storeavailability").height();
$("#store_list").css("display","none");$("#extra").css("height",a)});gc.live(".js_quantity","change",function(){for(var a=$("#urlquantity").val(),c=0;c<$(this).val();++c)a+=$("#variantid").val(),c!=$(this).val()-1&&(a+=",");$(".js_add_to_basket").attr("href",a)});var n=function(a,c,b){var d=[],e=[];_.each({thumb:["50x50","50","50","","",""],"50x50":["50x50","50","50","/shop-products/clothing|/shop-products/accessories|/shop-products/fragrance","thumb",""],"260x676":["260x676","260","676","/shop-products/clothing",
"grid|low|hover",""],"1000x2600":["1000x2600","1000","2600","/shop-products/clothing","high",""],"1920x2880":["1920x2880","1920","2880","/shop-products/clothing","fullscreen","A"],"1920x3840":["1920x3840","1920","3840","/shop-products/clothing","fullscreen",""],"600x900":["600x900","600","900","/shop-products/clothing","pdetail",""],"350x350":["350x350","350","350","/shop-products/accessories|/shop-products/fragrance","grid|low|hover",""],"1000x1000":["1000x1000","1000","1000","/shop-products/accessories|/shop-products/fragrance",
"high|pdetail",""],"1920x1920":["1920x1920","1920","1920","/shop-products/accessories|/shop-products/fragrance","fullscreen",""],"24x24":["24x24","24","24","swatch","small",""],"100x100":["100x100","100","100","swatch","big",""],"360x540":["360x540","360","540","collections","grid|low",""],"1000x1500":["1000x1500","1000","1500","collections","high",""],"720x1080":["720x1080","720","1080","collections","fullscreen",""]},function(f){var g=f[4],h=f[5];f[3].indexOf(a)>=0&&g.indexOf(c)>=0&&(h==b&&(e=f),
h==""&&(d=f))});if(e.length>0)return e;return d},h=function(a,c,b,d){c=n(c,b,d)[0];b=gc.globalData("imageBasePath")+"dummy/{{format}}.jpg";a=a.getImageUrl(c,d);a.indexOf("placehold.it")>=0&&(a=b.replace("{{format}}",c));return a},q=function(a,c,b,d,e,f,g){var k=n(c,b,d)[0];return'<img src="'+h(a,c,b,d)+'" alt="'+e+'"'+(f?' class="'+f+'"':"")+(g?' id="'+g+'"':"")+' data-format="'+k+'" data-viewtype="'+d+'" />'},o=function(a,c){var c=parseInt(c),b;b=c;var d=parseInt(a.getStock().bucket1.quantity),e=
parseInt(a.getStock().bucket2.quantity),f=parseInt(a.getStock().bucket3.quantity);b=d-b>=0?"bucket1":e-(b-d)>=0?"bucket2":f-(b-d-e)>=0?"bucket3":"unavailable";c>0?$(".js_delivery").html(gc.i18n("stock."+b)):$(".js_delivery").html("");gc.globalData("Customer");$("#variantid").val(a.getID());b=="unavailable"||!a.getOrderable()||!(a._data.price.value>0)?$(".js_add_to_basket").attr("data-roles","ModalLightboxPanel,FadeShow,FadeHide").addClass("disabled ").removeClass("js_openWindow").removeAttr("href").removeAttr("data-variantid").html(gc.i18n("account.wishlist.addtobag")):
$(".js_add_to_basket").attr("data-roles","PositionAtOpener,HideOnLoseFocus,FadeShow,FadeHide,AlwaysLoadAjax,AutoHide").attr("target","addtobasket").removeClass("disabled").addClass("js_openWindow").removeAttr("title").html(gc.i18n("account.wishlist.addtobag"));a.isPreorderble()&&($(".js_add_to_basket").attr("data-roles","PositionAtOpener,HideOnLoseFocus,FadeShow,FadeHide,AlwaysLoadAjax,AutoHide").attr("target","addtobasket").removeClass("disabled").addClass("js_openWindow preorder").removeAttr("title").html(gc.i18n("product.preorderdate.button")),
a._data.preorderdate!=null?$(".js_delivery").html(gc.i18n("product.preorderdate.sentence")+" "+a._data.preorderdate):$(".js_delivery").html(""),b=$("#urlquantity").val()+a.getID(),$(".js_add_to_basket").attr("href",b))},k=function(a,c,b){return _(a.getVariants()).detect(function(a){var e=c?a.getColor()==c:!0,a=b?a.getSize()==b:!0;return e&&a})},p=function(a){var c=a.getUrl().replace(".html",".json"),b=a.getID();$(".js_quantity").data("wait")!=b&&($(".js_quantity").data("wait",b),$(".js_quantity").attr("disabled",
"disabled"),$.ajax({url:c,success:function(b){b=JSON.parse(b);a._data.stock=b.stock;$(".js_quantity").empty();if(a.getStock().quantity){b=a.getStock().quantity;o(a,1);if(a.isPreorderble())$("#qntlabel").html(""),$(".js_quantity").remove(0);else for(i=1;i<=b&&i<=3;i+=1)$("<option value='"+i+"'>"+i+"</option>").appendTo(".js_quantity");$(".js_quantity").removeAttr("disabled")}else o(a,0),a.isPreorderble()?($("#qntlabel").html(""),$(".js_quantity").remove(0)):$("<option value='0'>0</option>").appendTo(".js_quantity"),
$(".js_quantity").attr("disabled","disabled");$(".js_quantity").data("wait","")}}))},r=function(a){$(".js_name").text(a.getName()+" "+a._data.color.display);$(".js_price").text(a.getPriceDisplay());$(".js_add_to_basket").data("variantid",a.getID()).attr("href",gc.cl.util.URL.to("cart/add")+"/"+a.getID());$(".js_add_to_wishlist").data("variantid",a.getID()).attr("href",gc.cl.util.URL.to("wishlist/add")+"/"+a.getID());$(".js_pdet_share").data("variantid",a.getID()).attr("href",gc.cl.util.URL.to("partials/share/product")+
"/"+a.getID());$(".js_store_avail").data("variantid",a.getID()).attr("href",gc.cl.util.URL.to("stores")+"/"+a.getID());$("#storeavailability.window").length>0&&(a=$("#extra").height()-$("#store_list").height(),$("#extra").css("height",a));$("#store_list").css("display","none")};gc.cl.util.JSONData.subscribe("basket_count",function(a){a=parseInt(a,10);$(".js_item_quantity").html("("+a+")")});if($(".js_controller").data("controller")=="ProductController"){var j=$("#main").data("style"),g=$("#main").data("category");
$(window).bind("resize",function(){l()});gc.bo.fe.product.subscribe(j,function(a){a.getID();gc.globalData("imageBasePath");p(k(a,$(".colorsel ul.colors").data("color"),$(".js_size").val()));$(".js_pickcolor").live("click",function(){var c=parseInt($(this).data("color"));$(".colorsel ul.colors").data("color",c);$(".js_pickcolor").parent().removeClass("current");$(".js_pickcolor[data-color="+c+"]").parent().addClass("current");var b=k(a,c),d=b.getName();r(b);var e=g=="/shop-products/clothing"?"B":"A";
$(".img > img").data("viewtype",e).attr("src",h(b,g,"pdetail",e));var c=n(g,"thumb","A")[0],f=$(".img div ul.morepd");f.find("li").remove();_.each(b.getImages(c),function(a){a="<li "+(e==a.letter?"class='active'":"")+">\t<a data-viewtype='"+a.letter+"' href='javascript://'>\t<div class='thumb'>"+q(b,g,"thumb",a.letter,d)+"\t</div>\t</a></li>";f.append(a)});if(b._data.video!=null){var c=b._data.video.title,s=b._data.video.full,j=b._data.video.preview,l=$(".js_videoPlayer[data-id=pdetail_vplayer]").data("baseurl"),
c="<li>\t<a data-viewtype='video' href='javascript://'  data-video-src='"+s+"' data-video-preview='"+j+"' data-video-title='"+c+"' data-video-type='video'>\t<div class='thumb'>"+q(b,g,"thumb","A",d)+"\t\t<img src='"+l+"/images/elements/playIcon-small.png' alt='' class='thumbVideo' />\t</div>\t</a></li>";f.append(c)}$(".img ul.morepd li.active a").click();m();$(".js_fullscreen").data("fullscreen-title",d).data("fullscreen-src",h(b,g,"fullscreen",e));$(".js_iviewerZoom").data("img",h(b,g,"fullscreen",
e));ba.cl.widgets.iviewerZoom.init();p(b);$(".js_size").empty();_.each(a.getVariants(),function(a){var c=a.getID(),d=a.getColor(),a=a.getSize(),e=b.getSize()==a?"selected='selected'":"";c.indexOf("Dummy")==-1&&b.getColor()==d&&$("<option "+e+" value='"+a+"'>"+a+"</option>").appendTo(".js_size")})});$(".js_quantity").live("change",function(){var c=$(this).val(),b=$(".colorsel ul.colors").data("color"),d=$(".js_size").val(),b=k(a,b,d);o(b,c)});$(".js_size").live("change",function(){var c=$(this).val(),
b=$(".colorsel ul.colors").data("color"),c=k(a,b,c);r(c);p(c)});$(".img ul.morepd li a").live("click",function(){l();var c=$(".img > img"),b=$(this).data("viewtype"),d=$(".js_videoPlayer[data-id=pdetail_vplayer]"),e=$(".js_videoPlayer[data-id=pdetail_vplayer] video");if(b!="video")d.css("display","none"),$(".controls").css("display","block"),c.css("visibility","visible"),d=$(".colorsel ul.colors").data("color"),e=$(".js_size").val(),e=k(a,d,e),d=h(e,g,"pdetail",b),e=h(e,g,"fullscreen",b),c.attr("src",
d),c.data("viewtype",b),$("#main div.js_iviewerZoom").data("img",e),ba.cl.widgets.iviewerZoom.init(),$("#main .full.js_fullscreen").data("fullscreen-src",e);else{var b=$(this).data("video-title"),f=$(this).data("video-src"),j=$(this).data("video-preview");$(this).data("video-type");_.isEmpty(d.data("id"))&&d.data("initialized","fullscreen_vplayer");d.attr("data-initialized",!1);d.data("initialized",!1);d.data("urlPosterImage",j);d.find("img").attr("src",j);d.data("h264Src",f);d.data("title",b);d.data("autostart",
"true");d.data("autostartForce","1");e.attr("src",f);d.css("display","inline-block");$(".controls").css("display","none");c.css("visibility","hidden");ba.cl.widgets.videoPlayer.loadVideos()}$(this).closest("ul.morepd").find("li").removeClass("active");$(this).closest("li").addClass("active");m()})})}});
;
// !MeAb! /c/s/d/e/j/b/c/w/iviewerZoom.js
gc.widget("ba.cl.widgets.iviewerZoom",{},function(g){g.ready=function(){this.iviewerZoomedFor=function(a,d){a=$(a);a.iviewer({src:a.data("img"),update_on_resize:!0,zoom:d.zoom,ui_disabled:!0,initCallback:function(){},onFinishLoad:function(){var b=a.children("img").width(),c=a.width(),h=(b-c)/2,b=parseInt(c*100/b);b>100&&(b=100);this.set_zoom(b);a.children("img").data("zoom",b);var b=0,c=$("#main").data("category"),d=$("div.img ul.morepd li.active a").data("viewtype");if(c){var e=a.children("img").height();
switch(c){case "/shop-products/accessories":b=-parseInt(e-$(document).height());break;case "/shop-products/clothing":b=d!="A"?-parseInt(e/3):0}}a.removeClass("iviewer_cursor");this.setCoords(-h,b)},onStartDrag:function(){return!1},onMouseMove:function(b){var c=a.children("img"),d=c.data("zoom"),b=0+Math.ceil(b.y),f=c.offset().top,c=c.height(),e=$(document).height();this.setCoords(0,-((b/(c*100/d/c)+f)*(c/e)))}})};this.init=function(){$(".js_iviewerZoom").each(function(){$(this).html("");var a=$(this),
d=[50,80,110],b=0,c=!1;a.iviewer({src:a.data("img"),update_on_resize:!1,zoom:d[b],zoom_min:d[0],zoom_max:d[d.length-1],ui_disabled:!0,initCallback:function(){var c=this;window.navigator.userAgent.toLowerCase().indexOf("ipad")>0&&(a.jScrollTouch(),a.children("img").css("position","static"),a.children("img").css("top","0px"),a.children("img").css("left","0px"));$(".zoomin").unbind("click").bind("click",function(){if(a.css("zIndex")=="-2")a.css("zIndex","1"),$("body.productdetail .img").css("display",
"none");else if(b+=1,b<d.length)c.set_zoom(d[b]);else{b=d.length-1;var f={title:a.data("title"),type:"zoom",src:a.data("img")};ba.cl.widgets.fullscreen.show(f)}a.children("img").css("top","0px");a.children("img").css("left","0px")});$(".zoomout").unbind("click").bind("click",function(){b-=1;b>=0?c.set_zoom(d[b]):(b=0,a.css("zIndex","-2"),$("body.productdetail .img").css("display","block"));a.children("img").css("top","0px");a.children("img").css("left","0px")})},onFinishLoad:function(){var b=(a.children("img").width()-
a.width())/2,c=(a.children("img").height()-a.height())/2;this.setCoords(-b,-c)},onDrag:function(){c=!0},onZoom:function(c){!(c>this.settings.zoom_max)&&c<this.settings.zoom_min&&(b=0,a.css("zIndex","-2"),$("body.productdetail .img").css("display","block"))},onClick:function(){c!=!1&&(c=!1)},onMouseMove:function(){}})})};g.init()}});
;
// !MeAb! /c/s/d/e/j/b/c/w/fullscreen.js
gc.widget("ba.cl.widgets.fullscreen",{},function(d){var e=!1;d.ready=function(){var a=d.getCookie("cookieoptions");a&&(a=a.split(","),d.show({title:a[0],caption:a[1],type:a[2],videotype:a[3],vimeodata:a[4],src:a[5],preview:a[6],url:a[7],target:a[8],idWindow:a[9]}),d.deleteCookie("cookieoptions","/"));a=d.getCookie("toolTipEnter");a=="undefined"||!a?(document.cookie="toolTipEnter=true;path=/",$("body").hasClass("gridtoggle_hide")?$(".js_toolTip_Enter").css("display","none"):$(".js_toolTip_Enter").css("display",
"block"),setTimeout('$(".js_toolTip_Enter").css("display","none")',6E3)):$(".js_toolTip_Enter").css("display","none");$(".js_sim_fullscreen").bind(ba.cl.widgets.ipad.onClickEvent(),function(){$(this).closest(".lnk").find(".js_fullscreen").click()})};this.getCookie=function(a){var c,b,d,f=document.cookie.split(";");for(c=0;c<f.length;c++)if(b=f[c].substr(0,f[c].indexOf("=")),d=f[c].substr(f[c].indexOf("=")+1),b=b.replace(/^\s+|\s+$/g,""),b==a)return unescape(d)};this.deleteCookie=function(a,c,b){if(d.getCookie(a))document.cookie=
a+"="+(c?";path="+c:"")+(b?";domain="+b:"")+";expires=Thu, 01-Jan-1970 00:00:01 GMT"};this.show=function(a){if(a.type){$("body").css("overflow","hidden");if(a.type=="img"){var c=$("#fullscreen"),b=a.src;screen.width<1500&&(b=b.replace("-1920x2880","-600x900"),b=b.replace("_1920x2880","_600x900"),b=b.replace("/1920x2880","/600x900"),b=b.replace("-1920x3840","-600x900"),b=b.replace("_1920x3840","_600x900"),b=b.replace("/1920x3840","/600x900"));b=$("<img alt='"+a.title+"' src='"+b+"' />");c.find("[data-property=content]").html("").append(b);
a.caption&&a.caption!="undefined"?c.find("[data-property=caption]").html(a.caption).css("display","block"):c.find("[data-property=caption]").html("").css("display","none");c.find("[data-property=title]").html(a.title);c.fadeIn("slow");e=!0;h()}a.type=="zoom"&&(c=$("#fullscreen_zoom"),c.find("[data-property=content]").data("img",a.src).data("title",a.title).html(""),c.find("[data-property=title]").html(a.title),c.fadeIn("slow"),e=!0,ba.cl.widgets.iviewerZoom.iviewerZoomedFor(c.find("[data-property=content]"),
{zoom:"100"}),c.find("[data-property=content] img").unbind("mousewheel"));if(a.type=="video"){var c=$("#fullscreen_video"),b=c.find(".js_videoPlayer"),d=c.find(".js_videoPlayer video");_.isEmpty(b.data("id"))&&b.data("initialized","fullscreen_vplayer");b.attr("data-initialized",!1);b.data("urlPosterImage",a.preview);b.data("h264Src",a.src);b.data("title",a.title);b.data("autostart","false");b.data("autostartForce","0");b.data("videotype",a.videotype);a.vimeodata&&a.vimeodata!="undefined"&&b.find(".videoPlayer_vimeo").html(a.vimeodata);
d.attr("src",a.src);c.find("[data-property=title]").html(a.title);c.find("img").first().attr("src",a.preview);c.fadeIn("slow");e=!0;ba.cl.widgets.videoPlayer.loadVideos(c);h()}a.type=="ajax"&&$.ajax({type:"GET",url:a.url,data:"format=ajax",success:function(b){e=!0;a.idWindow=="ifullscreen"?($("#ilookContainer").append(b),$("#ilookContainer").find("a.close").addClass("js_iCloseWindow"),$("#ilookContainer").find("#viewlook").fadeIn("fast",function(){g()})):($("#windowContainer").find("#"+a.target).remove(),
$("#windowContainer").append(b),$("#"+a.target).fadeIn("fast",function(){g()}));g()}})}};window.navigator.userAgent.toLowerCase().indexOf("ipad")>0?$(".js_ifullscreen").live("click",function(a){a.preventDefault();a={title:$(this).data("fullscreen-title"),caption:$(this).data("fullscreen-caption"),type:$(this).data("fullscreen-type"),videotype:$(this).data("fullscreen-videotype"),vimeodata:$(this).data("fullscreen-vimeodata"),src:$(this).data("fullscreen-src"),preview:$(this).data("fullscreen-preview"),
url:$(this).attr("href"),target:$(this).attr("target"),idWindow:"ifullscreen"};document.cookie="cookieoptions="+a.title+","+a.caption+","+a.type+","+a.videotype+","+a.vimeodata+","+a.src+","+a.preview+","+a.url+","+a.target+","+a.idWindow+";path=/";window.open(""+$(this).data("ipad-href"),"ifullscreen","height=800")}):$(".js_fullscreen").live("click",function(a){a.preventDefault();a={title:$(this).data("fullscreen-title"),caption:$(this).data("fullscreen-caption"),type:$(this).data("fullscreen-type"),
videotype:$(this).data("fullscreen-videotype"),vimeodata:$(this).data("fullscreen-vimeodata"),src:$(this).data("fullscreen-src"),preview:$(this).data("fullscreen-preview"),url:$(this).attr("href"),target:$(this).attr("target")};d.show(a)});window.navigator.userAgent.toLowerCase().indexOf("ipad")>0&&$(".js_closeWindow").live("click",function(){window.close()});$(".fullscreen .js_closeWindow").live("click",function(){e=!1;$(this).closest(".fullscreen").fadeOut("slow");$(this).closest(".fullscreen").find(".videoPlayer_vimeo").empty();
$("body").css("overflow","auto")});var h=function(){$(".fullscreen .content").each(function(){bodyelem=$.browser.safari?$("body"):$("html,body");var a=$(this);a.find(".js_videoPlayer").length>0&&(a.find(".js_videoPlayer").css("position","relative"),window.navigator.userAgent.toLowerCase().indexOf("ipad")<=0&&a.find(".js_videoPlayer").css("display","inline-block"));var c=parseInt(a.closest(".fullscreen").height());a.css("top","40px");a.css("height",c-40+"px")})},g=function(){$(".fullscreen #products").each(function(){bodyelem=
$.browser.safari?$("body"):$("html,body");var a=$(this),c=parseInt(a.offset().top)-parseInt(bodyelem.scrollTop()),b=a.width(),b=a.height()/b,c=(a.closest(".fullscreen").height()-c)/b;a.width(c+"px")})};$(window).bind("resize",function(){e==!0&&(g(),h())})});
;
// !MeAb! /c/s/d/e/j/b/c/w/shareLayer.js
gc.widget("ba.cl.widgets.shareLayer",{},function(f){$(window).bind("load",function(){$(".imgwishlist").each(function(){var a=$(this);$(this).show();var b=$(this).find("img"),a=a.width(),c=b.height(),d=b.width();b.css("height",a);b.css("width",a*(d/c))})});f.ready=function(){$(".imgwishlist").hide();$(".js_shareWishlistFbTw").live("click",function(){var a=$(".urlFbTw").data("basesharingurl");$(".wishlist input:checkbox:checked").each(function(){a=a+$(this).data("variantid")+"-"});$(".urlFbTw").dataset("sharingurl",
a.slice(0,-1))});$(".js_shareBoxWishlist").live("click",function(){var a="",b="",c="",d="";$("li.wishlistBoxItem").each(function(){a!=""&&(a+="|");a+=$(this).find(".title").text();b!=""&&(b+="|");b+=$(this).find(".photo").attr("src");c!=""&&(c+="|");c+=$(this).find(".shareThisLink").val();d!=""&&(d+="|");d+=$(this).find(".shareButtonValue").val()});$("#shareThisTitle").length>0&&$("#shareThisTitle").remove();$("#shareThisImg").length>0&&$("#shareThisImg").remove();$("#shareThisLink").length>0&&$("#shareThisLink").remove();
$("#shareButtonValue").length>0&&$("#shareButtonValue").remove();$("#header").append('<input type="hidden" id="shareThisTitle"   name="shareThisTitle"   value="'+a+'">','<input type="hidden" id="shareThisImg"     name="shareThisImg"     value="'+b+'">','<input type="hidden" id="shareThisLink"    name="shareThisLink"    value="'+c+'">','<input type="hidden" id="shareButtonValue" name="shareButtonValue" value="'+d+'">')});$("#sendWishlist").live("click",function(){var a="",b="",c="",d="",e="";$("#shareReturnPage").length!=
0?(e=$("#shareReturnPage").val(),$(".wishlist input:checkbox:checked").each(function(){a!=""&&(a+="|");a+=$(this).closest("tr").find(".title").text();b!=""&&(b+="|");b+=$(this).closest("tr").find(".photo").attr("src");c!=""&&(c+="|");c+=$(this).closest("tr").find(".shareThisLink").val();d!=""&&(d+="|");d+=$(this).closest("tr").find(".shareButtonValue").val()})):$("#retPageFromShare").length!=0&&(a=$("#shareThisTitle").val(),b=$("#shareThisImg").val(),c=$("#shareThisLink").val(),e=$("#retPageFromShare").val(),
d=$("#shareButtonValue").val());$(".js_formWishlist").append('<input type="hidden" name="shareThisTitle" value="'+a+'">','<input type="hidden" name="shareThisImg" value="'+b+'">','<input type="hidden" name="shareThisLink" value=\''+c+"'>",'<input type="hidden" name="shareReturnPage" value="'+e+'">','<input type="hidden" name="shareButtonValue" value="'+d+'">');return!0});$("#sendWishothers").live("click",function(){var a=$("#shareThisTitle").val()?$("#shareThisTitle").val():$("#shareThisTitle").text(),
b=$("#shareThisImg").val()?$("#shareThisImg").val():$("#shareThisImg").children("img").attr("src"),c=$("#shareThisLink").val(),d=$("#shareReturnPage").val(),e=$("#shareButtonValue").val();$(".js_formWishothers").append('<input type="hidden" name="shareThisTitle" value="'+a+'">','<input type="hidden" name="shareThisImg" value="'+b+'">','<input type="hidden" name="shareThisLink" value="'+c+'">','<input type="hidden" name="shareReturnPage" value="'+d+'">','<input type="hidden" name="shareButtonValue" value="'+
e+'">')});$(".js_formWishothers").live("submit",function(){if($(".js_trackShare")){var a=null,a=$(".js_trackContact").attr("data-productid");$(".js_trackContact").attr("data-category");_gaq.push(["_track55Social",3,"Email","Share",document.location.href,location.pathname+location.search+"&product="+a])}});$("#msg").ajaxComplete(function(){$(this).append("<li>Request Complete.</li>")});$(".js_share_collection").live("click",function(){var a=$(this).closest("div.lnk "),b=a.children("div.img"),a=a.children("div.txt"),
c="";b.children("a").children("img.tile_img_back").each(function(){c=$(this).data("img-loaded")=="0"?$(this).data("img-src"):$(this).attr("src")});b=a.children("a.tileLnk").html();$("#shareThisTitle").length>0&&$("#shareThisTitle").remove();$("#shareThisImg").length>0&&$("#shareThisImg").remove();$("#header").append('<input type="hidden" id="shareThisTitle"   name="shareThisTitle"   value="'+b+'">','<input type="hidden" id="shareThisImg"     name="shareThisImg"     value="'+c+'">')});$(".js_email").live("click",
function(){$(".twitter").parent().toggle();$(".facebook").parent().toggle();$("#sharelb").toggleClass("sharemini")});$(".js_email").live("click",function(){if($(".js_formWishlist").length>0||$(".js_formWishothers").length>0){$("#sharelb").attr("width");var a=$("#sharelb").position().left,b=$("#sharelb").position().top;$(".sharemini").length>0?(a+=163,b+=129):(a-=163,b-=129);$("#sharelb").css("top",b);$("#sharelb").css("left",a)}})}});
;
// !MeAb! /c/s/d/e/j/b/c/w/countryselector.js
gc.widget("ba.cl.widgets.countryselector",{},function(){var c=this;this.ready=function(){try{var a=this.getCookieValues();if(a.length>1){this.countryCode=a[0];this.siteBaseUrl=a[1];var b=this.siteBaseUrl.match(/^https*:\/\/([^\/]+)\//),d=this.siteBaseUrl.match(/^https*:\/\/([^\/]+)\/([^\/]+)\//),a=!1;if(b&&b[1]!=document.domain)window.location.href=this.siteBaseUrl+"switch/country?code="+this.countryCode+"&language="+d[2],a=!0;var c=document.URL.match(/^https*:\/\/([^\/]+)\/([^\/]+)\//);if(!a&&d[2]!=
c[2])window.location.href=this.siteBaseUrl+"switch/country?code="+this.countryCode+"&language="+d[2]}else this.openLayer()}catch(f){}};gc.live(".js_close_countries","click",function(a){a.preventDefault();var b=$(this);c.closeLayer(function(){c.countryCode?$("#countries, #shim").hide():window.location.href=b.attr("href")})});gc.live(".js_closeLan","click",function(){$(".languageBox").fadeOut("slow")});gc.live(".js_changelan","click",function(){var a=$(this).dataset("lan"),b=c.getCookieValues(),d=b[1],
e=d.match(/^https*:\/\/([^\/]+)\/([^\/]+)\//),a=[b[0],d.replace("/"+e[2]+"/","/"+a+"/")];c.setCookie(a)});gc.live(".selectlanguage","click",function(){$(".languageBox").fadeIn("slow")});gc.live("#js_country_conf","click",function(){$("video").hide()});gc.live(".js_opencountryselector","click",function(a){$("#countryconfirm")&&$("#countryconfirm").fadeOut();a.preventDefault();$("video").show();$(this).hasClass("inactive")||c.openLayer()});this.closeLayer=function(a){$("video").show();$("#countries, #shim").hide();
a&&a()};this.openLayer=function(){gc.cl.util.Ajax.get($("#sessionLocale").val()+"/select/country",function(a,b){var d=$(a);b=="success"&&d.length>0&&($("body").append(d),$("#countries, #shim").show(),$("video").hide(),c.recalculateShim())})};gc.live("#countries .js_selectcountry","click",function(a){a.preventDefault();var b=$(this);c.closeLayer(function(){var a=[b.dataset("code"),b.dataset("url")];c.setCookie(a);window.location.href=b.attr("href")+"&redirect="+escape(window.location.href)+"&hashValue="+
(window.location.hash?escape(window.location.hash):"")})});this.recalculateShim=function(){var a=$("#shim");a.css({width:0,height:0});a.css({width:$(document).width(),height:$(document).height()-a.offset().top})};this.getCookieValues=function(){return decodeURIComponent(gc.cl.util.Cookie.get("countrycode")).split("|")};this.setCookie=function(a){var a=a.join("|"),b=new Date;b.setDate(b.getDate()+365);gc.cl.util.Cookie.setUnescaped("countrycode",a,b)}});
;
// !MeAb! /c/s/d/e/j/b/c/w/filters.js
gc.widget("ba.cl.widgets.filters",{},function(d){d.ready=function(){$(".js_filters div").bind("click",function(){var b=$(this).parent();$(".filter.active").not(b).removeClass("active");b.toggleClass("active")});var d=function(){var b={};$(".js_filters .active a[data-filterBy]").each(function(){var a=$(this).data("filterBy").split("="),c=a[0],a=a[1];b[c]||(b[c]=[]);b[c].push(a)});return b};$(".js_filters a[data-filterBy]").bind("click",function(){var b=$("*[data-filters]"),a=$("*[data-filters]"),c=
$("*[data-filters]");$(this).parent().toggleClass("active");selectedFilter=d();for(var e in selectedFilter){var f=$("*[data-filters]");b.each(function(){for(var b in selectedFilter[e]){var a=selectedFilter[e][b];$(this).is("[data-filters-"+e+"*="+a+"]")&&(f=f.not($(this)))}});a=a.not(f)}c=c.not(a);a.fadeIn("fast");c.fadeOut("fast");b.removeClass("odd");a.filter(function(b){var a=2;parseInt($(this).data("numCols"))&&(a=parseInt($(this).data("numCols"))*1);return b%a==0}).addClass("odd")})}});
;
// !MeAb! /c/s/d/e/j/b/c/w/map.js
gc.widget("ba.cl.widgets.map",{},function(f){f.ready=function(){var a=$(".js_map");a.css("width","560px");a.css("height","560px");if(a.length>0){var d=a.data("lat"),e=a.data("lng"),b=a.data("zoom");if(b!=null){if(b<0||b>21)b=13}else b=13;a.data("zoom",b);var c=null;d!=null&&e!=null&&(c=d+","+e);if(GBrowserIsCompatible()&&c!=null)c=new GMap2(document.getElementById("map"),{size:new GSize(a.css("width").replace("px",""),a.css("height").replace("px",""))}),c.setCenter(new GLatLng(d,e),b),c.addControl(new GSmallMapControl),
c.addControl(new GMapTypeControl),c.addMapType(G_SATELLITE_3D_MAP),b=new GIcon(G_DEFAULT_ICON),b.image="http://www.google.com/mapfiles/markerA.png",markerOptions={icon:b},c.addOverlay(new GMarker(new GLatLng(d,e),markerOptions)),a.css("width","75%")}}});
;
// !MeAb! /c/s/d/e/j/b/c/w/fadeOnload.js
gc.widget("ba.cl.widgets.fadeOnload",{},function(a){a.ready=function(){$("#container").fadeIn("slow");$(".videoPlayer_vimeo iframe").each(function(){ba.cl.widgets.videoPlayer.resizeVimeo($(this))})}});
;
// !MeAb! /c/s/d/e/j/b/c/w/shoppingBag.js
gc.widget("ba.cl.widgets.shoppingBag",{},function(b){b.ready=function(){if($("body").hasClass("checkout")){var a=$("form").hasClass("js_notloggedin");$("form").bind("submit",function(b){a&&b.preventDefault()})}};gc.live(".js_update","click",function(a){a.preventDefault();a=$(this).dataset("url")+"/"+$(this).val();gc.cl.util.AjaxMultiBlockDistributor.perform(a)});gc.live(".js_remove","click",function(a){a.preventDefault();a=$(this).parent().children(".js_cartquantity");a.prepend("<option value='0'>"+
a.val()+"</option>").val("0").change()});gc.live(".js_cartquantity","change",function(a){a.preventDefault();a=$(this).dataset("url")+"/"+$(this).val();gc.cl.util.AjaxMultiBlockDistributor.perform(a)})});
;
// !MeAb! /c/s/d/e/j/b/c/w/carousel.js
gc.widget("ba.cl.widgets.carousel",{},function(b){b.ready=function(){b.refresh=function(){$(".js_carousel").each(function(){var a=$(this),c=a.find("ul"),e=a.find(".frame ul li.items").length*1,h=parseInt(a.data("selected")),b=a.find(".frame > img").width()*1;c.width(b*e+"px");var d=0;c.children("li.items").each(function(){$(this).width(b+"px");$(this).css("zIndex",d);$(this).css("left",d*b-h*b+"px");d+=1})})};var d=function(a){return parseInt(a.find(".frame ul li.items").length)},f=function(a){var c=
parseInt(a.data("selected"));c==0?a.find(".slhandle.prev").css("visibility","hidden"):a.find(".slhandle.prev").css("visibility","visible");c==d(a)-1?a.find(".slhandle.next").css("visibility","hidden"):a.find(".slhandle.next").css("visibility","visible")},g=function(a){var c=parseInt(a.data("selected")),e=a.data("direction"),b=parseInt(a.find("div.frame > img").width());c<0&&(b=c=0);c>=d(a)&&(c=d(a)-1,b=0);f(a);b=e+"="+b+"px";a.find("ul").children("li.items").animate({left:b},"slow",function(){})};
$(".js_carousel").length>0&&($(".js_carousel").each(function(){var a=$(this);a.data("selected",0);a.data("direction","");f(a);var b=window.navigator.userAgent.toLowerCase().indexOf("ipad")>0?"touchstart":"click";a.find(".slhandle.prev").bind(b,function(){var a=$(this).closest(".js_carousel");a.data("selected",parseInt(a.data("selected"))-1);a.data("direction","+");g(a)});a.find(".slhandle.next").bind(b,function(){var a=$(this).closest(".js_carousel");a.data("selected",parseInt(a.data("selected"))+
1);a.data("direction","-");g(a)})}),$(window).bind("resize",function(){b.refresh()}),b.refresh())}});
;
// !MeAb! /c/s/d/e/j/b/c/w/plusminus.js
gc.widget("ba.cl.widgets.plusminus",{},function(e){function g(){var a=$("#main").height()+$("#header").height(),d=$("#footernav").height(),b=$(window).width(),c=$(window).height(),b=b>c?b:c;a<b&&(a=b-d-160);window.navigator.userAgent.toLowerCase().indexOf("msie 6.0")>0?$("#footernav").css("top",a+100):$("#footernav").css("top",a+5)}function h(){if(window.navigator.userAgent.toLowerCase().indexOf("ipad")>0||window.navigator.userAgent.toLowerCase().indexOf("msie 6.0")>0){$("#footernav").addClass("footernavIpad");
var a=$(this).hasClass("less")?$(".tile_img_back.tile_img_grid"):$(".tile_img_back.tile_img_grid");a.length>0?(g(),a.load(function(){g()})):g()}}var d=null;e.isLargeView=function(){d==null&&(d=$("body").hasClass("plusminus_large"));return d};e.isGridView=function(){return!e.isLargeView()};e.ready=function(){if(window.navigator.userAgent.toLowerCase().indexOf("msie 6.0")>0){var a=$("body");e.isLargeView()&&(a.removeClass("plusminus_large"),a.addClass("plusminus_grid"),d=!1);$(".gridtoggleContainer").css("display",
"none")}(a=ba.cl.widgets.iefix.getParams(location.href).gridview)?$("body").hasClass("collections")&&(a=="true"?($(".less").click(),d=!1,e.isGridView()||($("body").addClass("plusminus_grid").removeClass("plusminus_large"),d=!1)):($(".js_plus").click(),d=!0)):(!e.isGridView()&&!e.isLargeView()&&($("body").addClass("plusminus_grid"),d=!1),e.isLargeView()&&!$.browser.msie6&&($(".js_plus").click(),d=!0));a=$(".gridPlus").offset().left;$("#tooltipEnter").css("left",a-$("#tooltipEnter").width()/2+$("#gridtoggle").width()-
4);$("li.js_plusminus_tile a.rmHref_large").live("click",function(a){$(".js_plusminus").hasClass("less")&&a.preventDefault()});h()};gc.live(".js_plusminus","click",function(a){var e=$("ul.catnav li.active > a").last(),b=!1;a.which>=0&&(b=!0);if(!$(this).hasClass("disable_plus")&&!$(this).hasClass("disable_less")){$(".js_plusminus").each(function(){$(this).hasClass("less")?$(this).toggleClass("disable_less"):$(this).toggleClass("disable_plus")});var a=$("li.js_plusminus_tile"),c=$("li.js_plusminus_tile").parent("ul"),
f=$("div#sidebar");$(this).hasClass("less")?($("body").addClass("plusminus_grid"),$("body").removeClass("plusminus_large"),d=!1,$("*[class*=large]").removeClass("large").addClass("grid"),$.waypoints("refresh"),c.addClass("grid").removeClass("large"),$.waypoints("refresh"),ba.cl.widgets.tile.tileImage(c.find("li img[data-img-src]").first().closest("li"),null,null),b&&$("body").hasClass("HomeController")&&(b=$(".js_highlightscroll.js_highlightscroll_autoactive:first"),c=b.attr("id"),b.attr("id")||(c=
b.data("id")),$(".js_highlightscroll_menu a[data-scroll="+c+"]").click()),f.has("ul.pagenav li").length&&f.hide(),a=a.find(".tile_hasVideo video"),a.each(function(){var a=$(this).clone(),b=$(this).parent();b.empty().append(a);ba.cl.widgets.videoPlayer.bindEndedVideo(b.find("video").eq(0))})):($("body").removeClass("plusminus_grid"),$("body").addClass("plusminus_large"),d=!0,$("*[class*=grid]").removeClass("grid").addClass("large"),$.waypoints("refresh"),c.removeClass("grid").addClass("large"),$.waypoints("refresh"),
ba.cl.widgets.tile.tileImage(c.find("li img[data-img-src]").first().closest("li"),null,null),b&&$("body").hasClass("HomeController")&&(b=$(".js_highlightscroll.js_highlightscroll_autoactive:first"),c=b.attr("id"),b.attr("id")||(c=b.data("id")),$(".js_highlightscroll_menu li").removeClass("active"),b=$(".js_highlightscroll_menu a[data-scroll="+c+"]"),b.click(),b.parent("li").addClass("active"),b.parent("li").parent("ul").parent("li").addClass("active")),f.has("ul.pagenav li").length&&f.show(),a=a.find(".tile_hasVideo video"),
a.each(function(){var a=$(this).clone(),b=$(this).parent();b.empty().append(a);ba.cl.widgets.videoPlayer.bindEndedVideo(b.find("video").eq(0))}));ba.cl.widgets.tile.resizeTileContainer();ba.cl.widgets.videoPlayer.refreshAll();ba.cl.widgets.carousel.refresh();h();$("body").hasClass("HomeController")||($.waypoints("refresh"),e.click())}})});
;
// !MeAb! /c/s/d/e/j/b/c/w/mainmenu.js
if(!("console"in window))window.console={log:function(){},info:function(){},warn:function(){},debug:function(){}};
gc.widget("ba.cl.widgets.mainmenu",{},function(h){h.ready=function(){window.navigator.userAgent.toLowerCase().indexOf("ipad")>0&&($("#windowContainer").length>0&&$("#windowContainer").css("position","relative").css("zIndex","500"),$(".ipadZ").length>0&&$("body:not(.ProductController)").find(".videoPlayer[data-videotype!=vimeo]").css("zIndex","-1 !important"),$(".imgIpad").length>0&&$(".imgIpad").css("minHeight","124px"),$(".ipadLinks").length>0&&$(".ipadLinks").css("marginTop","0px !important").find("li").css("margin",
"0px !important"),$(".ipadFblike").length>0&&$(".ipadFblike").css("marginTop","0px !important"),$(".ipadFilter").length>0&&$(".ipadFilter").css("maxHeight","none"));$(".js_ipad").length>0&&window.navigator.userAgent.toLowerCase().indexOf("ipad")>0?($(".gridPlus").removeClass("js_tooltip"),$(".gridLess").removeClass("js_tooltip"),$(".gridtoggleContainer").removeClass("js_tooltip"),$(".copy").addClass("copy_ipad"),$(".js_ipad").bind("click",function(){var b=$(this),a=!1;b.hasClass("hover")&&(b.removeClass("hover"),
a=!0);$(".js_ipad").each(function(){$(this).hasClass("hover")&&$(this).removeClass("hover")});a||b.toggleClass("hover");if(ba.cl.widgets.plusminus.isLargeView()){var a=$(".js_videoelement:first"),d=!1;a.hasClass("hideForMenu")&&(a.removeClass("hideForMenu"),d=!0);var e=a.offset().left,f=a.width()+a.offset().left,g=b.offset().left+b.width();(e=b.offset().left<=f&&b.offset().left>=e||g<=f&&g>=e)&&!d&&a.toggleClass("hideForMenu");e&&d&&b.hasClass("hover")&&a.addClass("hideForMenu")}if(ba.cl.widgets.plusminus.isGridView())for(var a=
$(".js_videoelement"),c=0;c<5&&a.eq(c).length>0;c++)d=!1,a.eq(c).hasClass("hideForMenu")&&(a.eq(c).removeClass("hideForMenu"),d=!0),e=a.eq(c).offset().left,f=a.eq(c).width()+a.eq(c).offset().left,g=a.eq(c).offset().top+a.eq(c).height(),d=b.offset().left+b.width(),(e=b.offset().left<=f&&b.offset().left>=e&&g<400||d<=f&&d>=e&&g<400)&&b.hasClass("hover")&&a.eq(c).addClass("hideForMenu")})):($(".js_hover").bind("mouseover",function(){$(this).find(".h6").css("background-color","#ffffff");$(this).find(".h6").css("filter",
"alpha(opacity=40)");$(this).find("div").fadeIn(100);$(this).addClass("hover")}),$(".js_hover").bind("mouseleave",function(){$(this).find("div").fadeOut(1);$(this).removeClass("hover")}));$(".js_mainmenu_li").each(function(){$(this).children("a:first").attr("href",$(this).find(".firstElemenu").attr("href"))})}});
;
// !MeAb! /c/s/d/e/j/b/c/w/loadContentByAjax.js
gc.widget("ba.cl.widgets.loadContentByAjax",{},function(){$("a[data-ajaxmenu-url]").bind("click",function(){})});
;
// !MeAb! /c/s/d/e/j/b/c/w/tile.js
gc.widget("ba.cl.widgets.tile",{},function(e){e.ready=function(){e.resizeTileContainer()};$(window).bind("resize",function(){e.resizeTileContainer()});e.resizeTileContainer=function(){if($(".js_tile_container").length>0){var c=ba.cl.widgets.plusminus.isGridView(),d=$("ul#products.js_tile_container li.js_plusminus_tile").first(),h=d.height()+parseInt(d.css("marginBottom").replace("px","")),f=d.width(),e=parseInt(d.css("marginBottom").replace("px","")),g=d.data("numCols");$(".js_tile_container").each(function(){var d=
$(this),k=parseFloat(d.data("tileProportion")),l=parseInt(d.data("numTiles")),i=Math.ceil(l/g);c||(i=l);k&&(h=f*k+e+2);d.css("height",i*h+"px")})}};var m=function(c,d){a=d/100;return b=a*c};e.isScrolledIntoView_offset=function(c,d,h){var f=$(window).height(),e=$(window).scrollTop(),g=e+f,j=$(c).offset().top,c=j+$(c).height(),d=m(f,parseInt(d)),h=m(f,parseInt(h)),g=e+h;e+=d;return c>=e&&j<=g};e.isScrolledIntoView=function(c){return e.isScrolledIntoView_offset(c,"0%","100%")};var o=function(c){var d=
ba.cl.widgets.plusminus.isGridView();c.find("a.tileLnk").each(function(){var c=$(this);d?(c.hasClass("rmHref_large")&&c.data("href")&&(c.attr("href",c.data("href")),c.css("cursor","pointer")),c.hasClass("rmHref_grid")&&(c.data("href",c.attr("href")),c.removeAttr("href"),c.css("cursor","default"))):(c.hasClass("rmHref_grid")&&c.data("href")&&(c.attr("href",c.data("href")),c.css("cursor","pointer")),c.hasClass("rmHref_large")&&(c.data("href",c.attr("href")),c.removeAttr("href"),c.css("cursor","default")))})},
n=function(c){c.css("display","inline-block").css("*display","inline").css("zoom","1")};this.tileImage_hideshow=function(c){c.is("li")||c.parent();o(c.closest(".js_plusminus_tile"))};this.tileImage=function(c,d,h){var f=c;f.is("li")||(f=c.parent());var i=ba.cl.widgets.plusminus.isGridView(),g=f.find("img.tile_img_front[data-img-type=high]");f.find("img.tile_img_front[data-img-type=grid]");var j=f.find("img.tile_img_back[data-img-type=high]"),k=f.find("img.tile_img_back[data-img-type=grid]"),l=f.find("img.tile_img_loading");
e.tileImage_hideshow(c,d,h);i?k.data("img-loaded")!="1"&&k.length>0&&k.load(function(){l.remove()}).attr("src",k.data("img-src")).data("img-loaded","1"):j.data("img-loaded")!="1"&&j.length>0?j.load(function(){l.remove();g.data("img-loaded")!="1"&&g.load(function(){g.data("img-loaded","1");n(g)}).attr("src",g.data("img-src"))}).attr("src",j.data("img-src")).data("img-loaded","1"):g.data("img-loaded")=="1"&&n(g)};var i=function(c,d,h){var f=c;f.is("li")||(f=c.parent());e.isScrolledIntoView_offset(f,
"-100%","200%")&&e.tileImage(f,d,h)};e.tileImage_waypoints=function(){$("div.js_waypoints_top[data-tileImage_waypoints=n]").waypoint(function(c,d){e.tileImage_hideshow($(this),c,d);$(this).delay(1E3).queue(function(){i($(this),c,d);$(this).dequeue()})},{offset:"200%",continuous:"true"}).attr("data-tileImage_waypoints","y");$("div.js_waypoints_bottom[data-tileImage_waypoints=n]").waypoint(function(c,d){e.tileImage_hideshow($(this),c,d);$(this).delay(1E3).queue(function(){i($(this),c,d);$(this).dequeue()})},
{offset:"-100%",continuous:"true"}).attr("data-tileImage_waypoints","y");$("li.js_plusminus_tile[data-tileImage_waypoints=n]").appear(function(){e.tileImage_hideshow($(this),null,null);$(this).delay(1E3).queue(function(){i($(this),null,null);$(this).dequeue()})}).attr("data-tileImage_waypoints","y")};e.tileImage_waypoints();window.navigator.userAgent.toLowerCase().indexOf("ipad")>0&&gc.live("li.js_plusminus_tile_ipad div.lnk:not([data-hover=0])","click",function(){var c=$(this),d=!1;c.hasClass("hover")&&
(c.removeClass("hover"),d=!0);$(".li.js_plusminus_tile_ipad").each(function(){$(this).removeClass("hover")});d||(c.toggleClass("hover"),c.hasClass("hover")&&(c.find(".js_videoPlayer").length!=0?c.find(".js_videoPlayer").css("display")=="none"&&c.addClass("hover"):c.addClass("hover"),c=$(this).find(".js_facebook"),c.length>0&&ba.cl.widgets.facebook.ilike(c)))});gc.live("li.js_plusminus_tile div.lnk:not([data-hover=0])","mouseenter",function(){$(this).find(".js_videoPlayer").length!=0?$(this).find(".js_videoPlayer").css("display")==
"none"&&$(this).addClass("hover"):$(this).addClass("hover");var c=$(this).find(".js_facebook");c.length>0&&ba.cl.widgets.facebook.ilike(c)});gc.live("li.js_plusminus_tile div.lnk:not([data-hover=0])","mouseleave",function(){$(this).removeClass("hover")});gc.live("li.js_plusminus_tile","mouseover",function(){var c=$(this).find("div.txt.hideOnLarge"),d=$(this).height()/2-c.height()/2,e=$(this).width()/2-c.width()/2;d<0&&(d=0);c.css("top",d);c.css("left",e)});$("ul.large li.tile a").live("touchstart",
function(){isScrolling=!1}).live("touchmove",function(){isScrolling=!0}).live("touchend",function(){if(!isScrolling&&$(this).attr("href"))window.location=$(this).attr("href")})});
;
// !MeAb! /c/s/d/e/j/b/c/w/highlightscroll.js
gc.widget("ba.cl.widgets.highlightscroll",{},function(j){j.ready=function(){$("#main h1.moreMargin, #main div.moreMargin, #main .morespace").first().css("cssText","margin-top: 0px !important");$("#main h4.sec:first").css("marginTop","0px");$("#main h3.dec:first").css("marginTop","0px");$("body.account #main h2.h1:first").hasClass("loginAlignment")||$("body.account #main h2.h1:first").css("marginTop","0px");var a=$("#anchorVal").attr("value");a!=void 0&&($(document).attr("title","Balenciaga "+a),$(".js_highlightscroll_menu").find("a[data-scroll="+
a+"]").click())};var e=function(a){a=$(a);a=a.data("title");a!=void 0&&$(document).attr("title","Balenciaga "+a)};gc.live(".js_highlightscroll_menu li a:not(.js_realHref)","click",function(a){a.preventDefault();bodyelem=$.browser.safari?$("body"):$("html,body");a=$(this).data("scroll");$(".js_highlightscroll.js_highlightscroll_top[data-id="+a+"]").hasClass("js_highlightscroll_autoactive")||($(".js_highlightscroll_menu li").removeClass("active"),$(this).parent("li").addClass("active"),$(this).parent("li").parent("ul").parent("li").addClass("active"));
$(this).parent("li").has("ul").find("ul li:first a").click();var a=$("*[data-id="+a+"]").offset(),b=140;$("#sidebar").css("top")!=null&&$("#sidebar").css("display")!="none"&&(b=parseInt($("#sidebar").offset().top)-parseInt(bodyelem.scrollTop()));a!=null&&bodyelem.animate({scrollTop:a.top-b},"slow");e(this)});var c=[],k=function(a){if(typeof c[a.data("id")]=="undefined")if(c[a.data("id")]="",_.isEmpty($.trim(a.html()))){var b=location.href.split("?")[1],b=b?b+"&":"";$.ajax({url:a.data("url"),data:b+
"format=ajax",success:function(b){c[a.data("id")]=b;a.html(b);ba.cl.widgets.tile.tileImage_waypoints();ba.cl.widgets.videoPlayer.loadVideos(a);ba.cl.widgets.videoPlayer.videoPlayer_autostart()}})}else b=a.html(),b.indexOf("<\!--")>=0&&b.indexOf("--\>")>=0?(b=b.replace("<\!--","").replace("--\>",""),c[a.data("id")]=b,a.html(b),ba.cl.widgets.tile.tileImage_waypoints(),ba.cl.widgets.videoPlayer.loadVideos(a),ba.cl.widgets.videoPlayer.videoPlayer_autostart()):c[a.data("id")]=b},g=function(a){k(a);return _.isEmpty($.trim(a.html()))?
!0:!1},h=function(a){!g(a)&&a.data("emptyOnComment")=="1"&&a.empty()},f=function(a){g(a)&&typeof c[a.data("id")]!="undefined"&&(a.html(c[a.data("id")]),a.find("*[data-tileImage_waypoints=y]").attr("data-tileImage_waypoints","n"),ba.cl.widgets.tile.tileImage_waypoints(),ba.cl.widgets.videoPlayer.loadVideos(a),ba.cl.widgets.videoPlayer.videoPlayer_autostart())},i=function(a){var b=$("ul.js_tile_container[data-id="+a+"]"),d=$("ul.catnav li.active > a").last().data("scroll");if(b.length>0&&a==d){var c=
b.prevAll("ul#products.js_tile_container"),d=b.nextAll("ul#products.js_tile_container"),a=c.eq(0).length>0?c.eq(0):null,c=c.eq(1).length>0?c.eq(1):null,e=d.eq(0).length>0?d.eq(0):null,d=d.eq(1).length>0?d.eq(1):null;b&&f(b);e&&f(e);a&&f(a);d&&h(d);c&&h(c);ba.cl.widgets.tile.tileImage_waypoints()}};$(".js_highlightscroll.js_highlightscroll_autoactive.js_highlightscroll_top").waypoint(function(){var a=$(this),b=a.attr("id");a.attr("id")||(b=a.data("id"));b&&($(".js_highlightscroll_menu li").removeClass("active"),
a=$(".js_highlightscroll_menu li a[data-scroll="+b+"]"),a.parent("li").addClass("active").parent("ul").parent("li").addClass("active"),e(a));(!ba.cl.widgets.iefix.isIE()||ba.cl.widgets.iefix.isIE()&&!ba.cl.widgets.iefix.isActive())&&$(this).delay(500).queue(function(){i(b);$(this).dequeue()})},{offset:"50%"});$(".js_highlightscroll.js_highlightscroll_autoactive.js_highlightscroll_bottom").waypoint(function(){var a=$(this),b=a.attr("id");a.attr("id")||(b=a.data("id"));b&&($(".js_highlightscroll_menu li").removeClass("active"),
a=$(".js_highlightscroll_menu li a[data-scroll="+b+"]"),a.parent("li").addClass("active").parent("ul").parent("li").addClass("active"),e(a));(!ba.cl.widgets.iefix.isIE()||ba.cl.widgets.iefix.isIE()&&!ba.cl.widgets.iefix.isActive())&&$(this).delay(500).queue(function(){i(b);$(this).dequeue()})},{offset:"51%"})});
;
// !MeAb! /c/s/d/e/j/b/c/w/w55.js
gc.widget("ba.cl.widgets.w55",{},function(c){var b=function(a){$("object[id$='video_video']")?$("object[id$='video_video']").attr("onMouseDown","trackVideo55(this.name);"):a>1&&setTimeout(function(){b(a-1)},500)};c.ready=function(){($("body").hasClass("CollectionsController")||$("body").hasClass("HomeController"))&&b(4)};$("body").hasClass("ProductController")&&gc.live(".js_55_trackSocial","click",function(){_gaq.push(["_trackSocial",2,$(this).data("social"),"Follow",document.location.href,location.pathname+
location.search+"&product="+$("a.js_trackContact").data("productid")])})});
;
// !MeAb! /c/s/d/e/j/g/c/w/click_tracking.js
gc.widget("gc.cl.widgets.clickTracking",{},function(b){this.ready=function(){gc.live(".js_clicktrack","click",function(){var a=$(this);a.hasClass("unavailable")||(a=a.attr("data-trackparams"),c(a))})};b.clickTracking=function(a){if(!_.isEmpty(a)){var b=_(arguments).tail(),d=0;_(b).each(function(b){if(b!=void 0){var c=RegExp("\\$"+ ++d),b=b.replace(/[ ,]/g,"_");a=a.replace(c,b)}});c(a)}};var c=function(a){_.isEmpty(a)||(a=a.split(","),xt_med.apply(this,a))};b.executeClickTracking=c});
;
// !MeAb! /cartridge/static/default/extensions/js/ext/xtclicks.js
//-- AT Ergonomics A-C 3.1.011 -- Copyright 2010 AT INTERNET, All Rights Reserved.
//-- (to be used with AT Tag 3.3.001 or later)
var scriptOnClickZone=2,xtczv='31011',xtdtmp=0,xtdt2=new Date(),xtel=new xtE(xtdt2.getTime()),xtn=navigator,un=undefined,nu=null,cZ='xtcz',oC='onclick',cL='xtclib',cT='xtcltype',tR=true,fA=false,isI=(/MSIE/.test(xtn.userAgent))?tR:fA,isOP=(/Opera/.test(xtn.userAgent))?tR:fA,isS=(/Safari/.test(xtn.userAgent))?tR:fA,isM=(xtn.appVersion.indexOf('Mac',0)>=0)?tR:fA,larg=0,haut=0,hit=fA,xt_perdz=nu,fO=fA;
function xtIdxOf(tab,v,n){n=(n==nu)?0:n;var m=tab.length;for(var i=n;i<m;i++)if(tab[i]==v)return i;return -1;}
function xtT(xl){if(xl.innerHTML){var xtx=xl.innerHTML,r=new RegExp('<script[^>]*>','gi');if(r.test(xtx.toString()))return fA;xtx=(xtx.toString()).replace(/<\/?[^>]+>/gi,'');var regex=new RegExp('(&nbsp;)','g');xtx=(xtx.toString()).replace(regex,'');xtx=xtEn(xtx);var regex2=new RegExp('(%C2%A0)','g');xtx=(xtx.toString()).replace(regex2,'');try{xtx=xtDe(xtx)}catch(e){}xtx=(xtx.toString()).replace(/[\s]/gm,'');if((xtx.length==0)||(xtx==un)||(xtx==nu))return fA;return xtx}return fA}
function xtE(st){this.xttab=new Array();this.xst=st;this.xc=0;this.yc=0;this.sx=0;this.sy=0;this.px=0;this.py=0;this.xr=0;this.yr=0;this.bf='';this.af='';this.curr='';this.cliccz='';this.dest='';this.s=0;this.pcz='';this.s2cz='';this.t=0;this.idmod=0;this.p='';this.s2='';this.idpage=-1}
function xtH(){var d2=new Date();return(d2.getTime()-xtel.xst)}
function xtC(e){if(!e){if(xw.event){e=xw.event}else{return{x:-1,y:-1}}}var xc=-1,yc=-1;if(typeof(e.pageX)=='number'){xc=e.pageX;yc=e.pageY}else if(typeof(e.clientX)=='number'){xc=e.clientX;yc=e.clientY;var bad=(xw.xtn.userAgent.indexOf('Opera')+1)||(xw.ScriptEngine&&ScriptEngine().indexOf('InScript')+1)||(xtn.vendor=='KDE');if(!bad){if(xd.body&&(xd.body.scrollLeft||xd.body.scrollTop)){xc+=xd.body.scrollLeft;yc+=xd.body.scrollTop;}else if(xd.documentElement&&(xd.documentElement.scrollLeft||xd.documentElement.scrollTop)){xc+=xd.documentElement.scrollLeft;yc+=xd.documentElement.scrollTop;}}}else{return{x:-1,y:-1}}return{x:xc,y:yc}}
function xtAs(xl){var rect=xtAb(xl),width=rect.right-rect.left,height=rect.bottom-rect.top;return{w:width,h:height}}
function xtAb(xl){if(xl['rectDefined'])return{left:xl.rLeft,top:xl.rTop,right:xl.rRight,bottom:xl.rBottom};if(!xl.shape)xl.shape='rect';var coords=xl.coords.split(','),result;if(xl.shape.toLowerCase()=='rectangle'||xl.shape.toLowerCase()=='rect'){result={left:parseInt(coords[0]),top:parseInt(coords[1]),right:parseInt(coords[2]),bottom:parseInt(coords[3])}}if(xl.shape.toLowerCase()=='circle'||xl.shape.toLowerCase()=='circ'){result={left:parseInt(coords[0])-parseInt(coords[2]),top:parseInt(coords[1])-parseInt(coords[2]),right:parseInt(coords[0])+parseInt(coords[2]),bottom:parseInt(coords[1])+parseInt(coords[2])}}if(xl.shape.toLowerCase()=='polygon'||xl.shape.toLowerCase()=='poly'){var l_ex,t_ex,r_ex,b_ex;for(var i=0;i<coords.length;i+=2){var co=parseInt(coords[i]);if(l_ex==un||co<l_ex)l_ex=co;if(r_ex==un||co>r_ex)r_ex=co;}for(var i=1;i<coords.length;i+=2){var co=parseInt(coords[i]);if(t_ex==un||co<t_ex)t_ex=co;if(b_ex==un||co>b_ex)b_ex=co;}result={left:l_ex,top:t_ex,right:r_ex,bottom:b_ex}}xl.rectDefined=tR;xl.rLeft=result.left;xl.rRight=result.right;xl.rTop=result.top;xl.rBottom=result.bottom;return result}
function xtAp(area,target){var map=xtpN(area);if(!map.dstElement){if(!target){target=xd;}var elts=target.getElementsByTagName('*');if(elts['toArray'])elts=elts.toArray();for(var i=0;i<elts.length;i++){var xl=elts[i];if(xl.useMap){if(xl.useMap.replace('#','')==map.name)break;}xl=nu;}map.dstElement=xl;}if(map.dstElement){var basePx=xtP(map.dstElement,'Left'),basePy=xtP(map.dstElement,'Top'),rect=xtAb(area);return{x:(basePx+rect.left),y:(basePy+rect.top)}}else{return{x:-1,y:-1}}}
function xtSx(xl){var szx=(xtnN(xl)=='AREA')?xtAs(xl).w:xl.offsetWidth;if((szx==nu)||(szx==un)||(szx=='')){if(xl.style.width!=nu)szx=xl.style.width;else szx=0;}if(isS&&isM&&(xtnN(xl)=='TR')&&(xl.firstChild!=nu)&&(xl.lastChild!=nu))szx=xl.lastChild.offsetLeft+xl.lastChild.offsetWidth-xl.firstChild.offsetLeft;if((szx==nu)||(szx==un)||(szx=='')){szx=0;}return parseInt(szx,10)}
function xtSy(xl){var szy=(xtnN(xl)=='AREA')?xtAs(xl).h:xl.offsetHeight;if((szy==nu)||(szy==un)||(szy=='')){if(xl.style.height!=nu)szy=xl.style.height;else szy=0;}if(isS&&isM&&(xtnN(xl)=='TR')&&(xl.firstChild!=nu)&&(xl.lastChild!=nu))szy=xl.lastChild.offsetTop+xl.lastChild.offsetHeight-xl.firstChild.offsetTop;if((szy==nu)||(szy==un)||(szy=='')){szy=0;}return parseInt(szy,10)}
function xtPx(xl){var psx=(xtnN(xl)=='AREA')?xtAp(xl).x:xtP(xl,'Left');return parseInt(psx,10)}
function xtPy(xl){var psy=(xtnN(xl)=='AREA')?xtAp(xl).y:xtP(xl,'Top');if(isS&&isM&&(xtnN(xl)=='TR')&&(xl.firstChild!=nu))psy+=xl.firstChild.offsetTop;return parseInt(psy,10)}
function xtP(oEl,inTYPE){if(typeof(oEl.offsetParent)!=un){var sType='oEl.offset'+inTYPE;for(var iVal=0;oEl;oEl=oEl.offsetParent){iVal+=eval(sType);}return iVal;}else{if(inTYPE=='Left')return oEl.x;if(inTYPE=='Top')return oEl.y;}return-1}
function xtExD(url){var u=url.replace(/((http)|(https)):\/\//g,''),p=u.indexOf('/');p=(p!=-1)?p:u.length;u=xtSub(u,0,p);return u;}
function xtCt(xl){var xclict='',xext='',xurld='',xdoms=(xw.xt1!=nu&&xw.xt1!='')?xtSub(xw.xt1,8,xw.xt1.length):xd.domain,xdomd='';if(xl){if((xtnN(xl)=='INPUT')&&(xl.type=='submit')){try{xurld=xtG(xl.form,'action').toString();}catch(e){}xext=xtSub(xurld,xurld.lastIndexOf('.'),xurld.length);xdomd=xtExD(xurld);}if((xtnN(xl)!='IMG')&&xl.href){xurld=(xl.href).toString();xext=xtSub(xurld,xurld.lastIndexOf('.'),xurld.length);xdomd=xtExD(xurld);}else{var xlp=xtpN(xl);while(xlp&&xtnN(xlp)!='BODY'){if(xlp.href){xurld=(xlp.href).toString();xext=xtSub(xurld,xurld.lastIndexOf('.'),xurld.length);xdomd=xtExD(xurld);break;}xlp=xtpN(xlp);}}}if(xtEx(xext))xclict='T';else if((xdomd!='')&&(xdomd.indexOf(xdoms,0)<0))xclict='S';else{xclict='N';}if(xurld.length>255)xurld=xtSub(xurld,0,255);var ch=xurld;if(ch.charAt(ch.length-1)=='/')ch=xtSub(ch,0,ch.length-1);var pos=ch.lastIndexOf('/?',ch.length);if(pos>=0)ch=ch.replace('/?','?');xurld=ch;try{if((xtDe(xurld)!=nu)&&(xtDe(xurld)!=un))xurld=xtDe(xurld);}catch(e){}return{typ:xclict,url:xurld}}
function xtEx(xext){var valext=['.aac','.ace','.ape','.art','.avi','.bak','.bat','.bin','.bmp','.bsp','.cab','.ccd','.cda','.chm','.clp','.css','.csv','.cue','dic','dll','.doc','.dot','.exe','.fla','.flac','.gif','.gz','.hlp','.ico','.img','.iso','.jpeg','.jpg','.js','.lnk','.m2a','.m2v','.m3u','.mdb','.mdf','.mds','.mid','.midi','.mkv','.mod','.mov','.mp2','.mp3','.mp4','.mpc','.mpg','.mpeg','.msi','.nfo','.nrg','.obd','.ocx','.ogg','.old','.ogm','.pdf','.png','.pps','.ppt','.psd','.psp','.rar','.raw','.reg','.rm','.ram','.rtf','.swf','.tar','.tga','.tgz','.theme','.tif','.tiff','.tmp','.torrent','.ttf','.txt','.url','.vbs','.vob','.wab','.wav','.wdb','.wks','.wml','.wma','.wmv','.wpf','.xls','.xml','.zip','.7z'];for(var i=0;i<valext.length;i++){if(xext==valext[i])return tR;}return fA}
function xtL(xl){var xlel=['INPUT','SELECT','IFRAME','OBJECT','AREA','BUTTON'],xeln=xtnN(xl);if((xeln=='EMBED')&&(xtnN(xtpN(xl)))!='OBJECT'){return tR;}if((xeln=='DIV')&&(xtG(xl,cL))){return tR;}if((xeln=='SPAN')&&(xtG(xl,oC))){return tR;}if((xeln=='SELECT')&&((xtG(xl,'onchange')==nu)||(xtG(xl,'onchange')==un)||(xtG(xl,'onchange')==''))){return fA;}if((xeln=='INPUT')&&(xl.type!='submit')&&(xl.type!='image')&&(xl.type!='button')){return fA;}if((xeln=='BUTTON')&&(xl.type!='submit')){return fA;}if(xeln=='IMG'){var xlp=xtpN(xl);var xtTr=fA;while(xlp){if(xtnN(xlp)=='A'){xtTr=tR;if((((xtG(xlp,oC)!=nu)&&(xtG(xlp,oC)!=un)&&(xtG(xlp,oC)!=''))||((xtG(xlp,'href')!=nu)&&(xtG(xlp,'href')!=un)&&(xtG(xlp,'href')!='')))){return tR;}}xlp=xtpN(xlp);}if((xtG(xl,oC)!=nu)&&(xtG(xl,oC)!=un)&&(xtG(xl,oC)!='')&&!xtTr)return tR;}if((xeln=='A')&&(((xtG(xl,oC)!=nu)&&(xtG(xl,oC)!=un)&&(xtG(xl,oC)!=''))||((xtG(xl,'href')!=nu)&&(xtG(xl,'href')!=un)&&(xtG(xl,'href')!='')))){var xlp=xtpN(xl);while(xlp){if(((xtnN(xlp)=='DIV')&&(xtG(xlp,cL)))||((xtnN(xlp)=='SPAN')&&(xtG(xlp,oC))))return fA;xlp=xtpN(xlp);}var xtImg=fA,xtTxt=fA;if(xl.childNodes){var xtChild=xl.childNodes,j=0;while(j<xtChild.length&&!(xtImg&&xtTxt)){if(xtnN(xtChild[j])=='IMG'){xtImg=tR;}else{xtTxt=tR;}j++;}}if(xtImg&&xtTxt) return tR;else if(xtImg) return fA;else return tR;}for(var i=0;i<xlel.length;i++){if(xeln==xlel[i])return tR;}return fA}
function xtLCz(xl){var xlel=['DIV','TABLE','TR','TD','UL','LI'],xeln=xtnN(xl);for(var i=0;i<xlel.length;i++){if((xeln==xlel[i])&&(xl.nodeType==1)&&(xtG(xl,cZ)!=nu)&&(xtG(xl,cZ)!=un)){return tR;}}return fA;}
function xtNa(xl){if(xl&&!xtL(xl)){var xlp=xtpN(xl);while(xlp){if(xtL(xlp)){xl=xlp;break;}xlp=xtpN(xlp);}}var xtobj=null,xid='',xtmedat='',xtmedp='',xtmeds='',type='',xurld='',xtTr=fA;if(xl){if((xtnN(xl)=='A')&&(xl.childNodes)){var xtChild=xl.childNodes,j=0;while((j<xtChild.length)&&!xtTr){if((xtChild[j].nodeType==1)&&!xtL(xtChild[j])&&(xtG(xtChild[j],cL))){xid=cL+xtG(xtChild[j],cL);xtTr=tR;}j++;}}if(!xtTr){if(xtG(xl,oC)&&xtV(xtG(xl,oC)))xid=xtG(xl,oC);else if(xl.href&&xtV(xl.href)){xid=xl.href;try{if((xtDe(xid)!=nu)&&(xtDe(xid)!=un))xid=xtDe(xid);}catch(e){}}else if(xtG(xl,cL))xid=cL+xtG(xl,cL);else if(xtT(xl))xid=xtT(xl);else if(xl.id)xid=xl.id;else if(xl.name)xid=xl.name;else if(xl.title)xid=xl.title;else if(xl.value)xid=xl.value;else if(xl.href){var ch=xl.href.toString();if(ch.charAt(ch.length-1)=='/')ch=xtSub(ch,0,ch.length-1);var pos=ch.lastIndexOf('/?',ch.length);if(pos>=0)ch=ch.replace('/?','?');xid=ch;try{if((xtDe(xid)!=nu)&&(xtDe(xid)!=un))xid=xtDe(xid);}catch(e){}}else if(xl.src){var ch=xl.src.toString();if(ch.charAt(ch.length-1)=='/')ch=xtSub(ch,0,ch.length-1);var pos=ch.lastIndexOf('/?',ch.length);if(pos>=0)ch=ch.replace('/?','?');xid=ch;try{if((xtDe(xid)!=nu)&&(xtDe(xid)!=un))xid=xtDe(xid);}catch(e){}}else{var xlp=xtpN(xl);while(xlp&&xtnN(xlp)!='BODY'){if(xtG(xlp,oC)&&xtV(xtG(xlp,oC))){xid=xtG(xlp,oC);break;}else if(xlp.href&&xtV(xlp.href)){xid=xlp.href;try{if((xtDe(xid)!=nu)&&(xtDe(xid)!=un))xid=xtDe(xid);}catch(e){}break;}else if(xtG(xl,cL)){xid=cL+xtG(xl,cL);break;}else if(xtT(xlp)){xid=xtT(xlp);break;}else if(xlp.id){xid=xlp.id;break;}else if(xlp.name){xid=xlp.name;break;}else if(xlp.title){xid=xlp.title;break;}else if(xlp.value){xid=xlp.value;break;}else if(xlp.href){var ch=xlp.href.toString();if(ch.charAt(ch.length-1)=='/')ch=xtSub(ch,0,ch.length-1);var pos=ch.lastIndexOf('/?',ch.length);if(pos>=0)ch=ch.replace('/?','?');xid=ch;try{if((xtDe(xid)!=nu)&&(xtDe(xid)!=un))xid=xtDe(xid);}catch(e){}break;}else if(xlp.src){var ch=xlp.src.toString();if(ch.charAt(ch.length-1)=='/')ch=xtSub(ch,0,ch.length-1);var pos=ch.lastIndexOf('/?',ch.length);if(pos>=0)ch=ch.replace('/?','?');xid=ch;try{if((xtDe(xid)!=nu)&&(xtDe(xid)!=un))xid=xtDe(xid);}catch(e){}break;}xlp=xtpN(xlp);}}}xid=(xid.toString()).replace(/[\s]/gm,'');if(xtV(xid)){xtobj=xtExT(xid);type=xtobj.typ;xtmedp=xtobj.pag;xtmeds=xtobj.sec;if(xtG(xl,cL))xid=cL+xtG(xl,cL);else xid=xtobj.pagcl;}else{var xlp=xtpN(xl);while(xlp&&(xtnN(xlp)!='BODY')){if(xtG(xlp,oC)&&xtV(xtG(xlp,oC))){xtmedat=xtG(xlp,oC);xtmedat=(xtmedat.toString()).replace(/[\s]/gm,'');xtobj=xtExT(xtmedat);type=xtobj.typ;xtmedp=xtobj.pag;xtmeds=xtobj.sec;break;}else if(xlp.href&&xtV(xlp.href)){xtmedat=xlp.href;try{if((xtDe(xtmedat)!=nu)&&(xtDe(xtmedat)!=un))xtmedat=xtDe(xtmedat);}catch(e){}xtmedat=(xtmedat.toString()).replace(/[\s]/gm,'');xtobj=xtExT(xtmedat);type=xtobj.typ;xtmedp=xtobj.pag;xtmeds=xtobj.sec;break;}xlp=xtpN(xlp);}}if(type==''){if(xtG(xl,cT)!=nu){type=xtG(xl,cT);}else{var xlp=xtpN(xl);while(xlp&&(xtnN(xlp)!='BODY')){if(xtG(xlp,cT)!=nu){type=xtG(xlp,cT);break;}xlp=xtpN(xlp);}}}if(type=='')type=xtCt(xl).typ;xurld=xtCt(xl).url;if(xtmedp==''){xtmedp=(xid.indexOf(cL,0)>=0)?xtExTc(xid):xid;if(xtmeds=='')xtmeds=xtEx2(xw.xt9);}var regex=new RegExp('(&)|[?]','g');xtmedp=(xtmedp.toString()).replace(regex,'_');if(xtmeds=='')xtmeds='0';var r=new RegExp('(::)','g');xid=(xid.toString()).replace(r,'/');var k=0,xlp=xtpN(xl);while(xlp&&(xtnN(xlp)!='BODY')){if(xtLCz(xlp)&&(k<2)){xid=xtG(xlp,cZ)+'::'+xid;k+=1;}xlp=xtpN(xlp);}}xid=xtSub(xid,0,255);xtmedp=xtSub(xtmedp,0,255);return{id:xid,pag:xtmedp,sec:xtmeds,typ:type,url:xurld}}
function xtTr(xl){var xut=['BODY','HTML'];for(var i=0;i<xut.length;i++){if(xl.tagName==xut[i])return fA;}return tR}
function xtExTc(xid){var r=new RegExp(cL,'gi');xid=xid.replace(r,'');return xid}
function xtEx2(xat){var r=new RegExp('&s2=','gi');if(r.test(xat.toString())){xat=xat.replace(r,'');}return xat}
function xtV(xat){var r=/xt_med\(\s*.?C/i,r2=/xt_click\(\s*this\s*\,\s*.?C/i;return(r.test(xat.toString())||r2.test(xat.toString()));}
function xtExT(xat){var page='',pageclz='',type='',section=-1,idx=(xat.indexOf('xt_med')>=0)?0:1,IdxSt=(idx==0)?xat.indexOf('xt_med'):xat.indexOf('xt_click'),start=xat.indexOf('(',IdxSt),stop=xat.indexOf(')',IdxSt),content=xtSub(xat,start+1,stop),tmp=start;while(content.indexOf('(')>0){tmp=stop+1;stop=xat.indexOf(')',stop+1);content=xtSub(xat,tmp+1,stop);}content=xtSub(xat,start+1,stop);xatab=content.split(/\,/);try{section=(xatab[idx+1])?String(eval(xatab[idx+1])):'';}catch(e){section=(xatab[idx+1]||'');}try{page=(xatab[idx+2])?String(eval(xatab[idx+2])):'';}catch(e){page=(xatab[idx+2]||'');}try{type=(xatab[idx+3])?String(eval(xatab[idx+3])):'';}catch(e){type=(xatab[idx+3]||'');}pageclz=page.replace(/(::)/g,'/');return{typ:type,pag:page,pagcl:pageclz,sec:section}}
function xtNodesload(){if(xw.xt8!=0){var desc=xd.getElementsByTagName('*');for(var i=0;i<desc.length;i++){if(xtL(desc[i]))xtel.xttab.push(desc[i]);}for(var j=0;j<xtel.xttab.length;j++){if(xd.addEventListener)xtel.xttab[j].addEventListener('mousedown',xtR,fA);else if(xd.attachEvent)xtel.xttab[j].attachEvent('onmousedown',xtR);}xtReload();if(xw.addEventListener){xw.addEventListener('scroll',xtReload,fA);xw.addEventListener('beforeunload',xtHoC,fA);}else if(xw.attachEvent){xw.attachEvent('onscroll',xtReload);xw.attachEvent('onbeforeunload',xtHoC);}}}
function xtAff(){var lY=xtdH(),scTop=xtsT(),pY=Math.round((scTop+haut)/lY*100),pY=(pY>100)?100:pY;pY=(pY<0)?0:pY;if(scTop==0)fO=tR;if(fO)xtCSv(pY);}
function xtReload(){larg=xtcW();haut=xtcH();xtAff();}
function xtHoC(){var s=xw.xt8,pcz=xw.xtp,s2cz=xtEx2(xw.xt9),idpage=(xw.xtidpg!=nu)?xw.xtidpg:-1,idmod=typeof(xw['xtidmod'])!='undefined'?xw['xtidmod']:0;if(!hit){xt_imgc=new Image();xt_imgc.src=xtsd+'.xiti.com/hit.xiti?s='+s+'&pcz='+xtEn(pcz)+'&idpcz='+idpage+'&s2cz='+encodeURIComponent(s2cz)+'&pv='+xt_perdz+'&idmod='+idmod+'&xtczv='+xtczv+((typeof(xt40)!='undefined')?'&idclient='+xt40:'');xt_imgc.onload=function(){xt_imgc.onload=null;};}}
function xtEv(evt){var e_out,ie_var='srcElement',moz_var='target';evt[moz_var]?e_out=evt[moz_var]:e_out=evt[ie_var];return(e_out)}
function xtBdEv(evt){var e_out=(xw.event)?(xw.event.button==2):(evt.which==3);return(e_out)}
function xtR(e){xtel.t=Math.round(xtH()/1000);if(xtdtmp!=0&&(xtel.t-xtdtmp<1))return;xtdtmp=xtel.t;if(!e)e=xw.event;if(xtBdEv(e))return;var xtobj=null,xel=xtEv(e);if(xtTr(xel)){if(xtnN(xel)=='OPTION'){var xelp=xtpN(xel);while(xelp){xel=xelp;if(xtnN(xel)=='SELECT')break;xelp=xtpN(xelp);}}xtel.s=xw.xt8;xtel.pcz=xw.xtp;xtel.s2cz=xtEx2(xw.xt9);xtel.idmod=typeof(xw['xtidmod'])!='undefined'?xw['xtidmod']:0;xtobj=xtNa(xel);xtel.curr=xtobj.id;xtel.cliccz=xtobj.typ;xtel.dest=xtobj.url;xtel.p=xtobj.pag;xtel.s2=xtobj.sec;xtel.p=((xtel.p!='')&&(xtel.cliccz!='F'))?'&pmed='+xtEn(xtel.p):'';xtel.s2=((xtel.s2!='')&&(xtel.cliccz!='F'))?'&s2med='+xtEn(xtel.s2):'';if(xtel.cliccz=='F'){xtel.cliccz=xtCt(xl).typ;}xtel.sx=xtSx(xel);xtel.sy=xtSy(xel);xtel.px=xtPx(xel);xtel.py=xtPy(xel);xtel.idpage=(xw.xtidpg!=nu)?xw.xtidpg:-1;if((xtel.px==-1)&&(xtel.py==-1))return;var tmpelt=xtEv(e);xtel.xc=((xtnN(tmpelt)=='OPTION')&&!isOP)?xtC(e).x+xtel.px:xtC(e).x;xtel.yc=xtC(e).y;if((xtel.xc==-1)&&(xtel.yc==-1))return;if(xd.compatMode=='BackCompat'&&isI){xtel.xc-=2;xtel.yc-=2;}xtel.xr=(xtel.xc-xtel.px)/xtel.sx;xtel.yr=(xtel.yc-xtel.py)/xtel.sy;if((0<xtel.sx)&&(xtel.sx<=40))xtel.xr=0.5;if((40<xtel.sx)&&(xtel.sx<=250))xtel.xr=(Math.round(xtel.xr*10))/10;if(250<xtel.sx)xtel.xr=(Math.round(xtel.xr*100))/100;if((0<xtel.sy)&&(xtel.sy<=40))xtel.yr=0.5;if((40<xtel.sy)&&(xtel.sy<=250))xtel.yr=(Math.round(xtel.yr*10))/10;if(250<xtel.sy)xtel.yr=(Math.round(xtel.yr*100))/100;if(xtel.xr<0)xtel.xr=0;if(xtel.yr<0)xtel.yr=0;if(xtel.xr>1)xtel.xr=1;if(xtel.yr>1)xtel.yr=1;if((xtel.curr).indexOf(cL,0)<0){var idx=xtIdxOf(xtel.xttab,xel);var xelp=xtpN(xel);while((idx==-1)&&xelp){idx=xtIdxOf(xtel.xttab,xelp);xelp=xtpN(xelp);}xtel.bf=xtNa(xtel.xttab[idx-1]).id;xtel.af=xtNa(xtel.xttab[idx+1]).id;xtel.bf=((xtel.bf).indexOf(cL,0)>=0)?xtExTc(xtel.bf):xtel.bf;xtel.af=((xtel.af).indexOf(cL,0)>=0)?xtExTc(xtel.af):xtel.af;}else{xtel.curr=xtExTc(xtel.curr);xtel.bf='';xtel.af='';xtel.dest='';}var name='';if((xtnN(xel)=='EMBED')&&isOP&&(xtpN(xel)!=nu)&&(xtpN(xel)!=undefined))name=xtpN(xel).name;else name=xel.name;if((name!=nu)&&(name!=un)&&((name).indexOf(cT)>=0))xtel.cliccz=name.replace(cT,'');var type=xtCt(xel).typ;var hitn=fA;if((xtel.cliccz=='N')&&(type!='N'))hitn=tR;var regex=new RegExp('(&)|[?]','g');xtel.curr=(xtel.curr.toString()).replace(regex,'_');xtel.bf=(xtel.bf.toString()).replace(regex,'_');xtel.af=(xtel.af.toString()).replace(regex,'_');xtel.dest=(xtel.dest.toString()).replace(regex,'_');var res='&xtczv='+xtczv+'&idmod='+xtel.idmod+'&current='+xtEn(xtel.curr)+'&before='+xtEn(xtel.bf)+'&after='+xtEn(xtel.af)+'&cliccz='+xtel.cliccz+'&dest='+xtEn(xtel.dest)+'&posx='+xtel.xr+'&posy='+xtel.yr+'&time='+xtel.t+xtel.p+xtel.s2;if(((scriptOnClickZone==2)&&(xtel.cliccz!='N'))||(hitn==tR)){xt_imgc=new Image();var sv='';if(xtel.cliccz=='S'){hit=tR;sv='&pv='+xt_perdz;}xt_imgc.src=xtsd+'.xiti.com/hit.xiti?s='+xtel.s+'&pcz='+xtEn(xtel.pcz)+'&idpcz='+xtel.idpage+'&s2cz='+xtEn(xtel.s2cz)+res+sv+((typeof(xt40)!='undefined')?'&idclient='+xt40:'');xt_imgc.onload=function(){xt_imgc.onload=null;};}else if((scriptOnClickZone!=2)&&(xtel.cliccz=='S')){hit=tR;xt_imgc=new Image();xt_imgc.src=xtsd+'.xiti.com/hit.xiti?s='+xtel.s+'&pcz='+xtEn(xtel.pcz)+'&idpcz='+xtel.idpage+'&s2cz='+xtEn(xtel.s2cz)+'&pv='+xt_perdz+'&idmod='+xtel.idmod+'&xtczv='+xtczv+((typeof(xt40)!='undefined')?'&idclient='+xt40:'');xt_imgc.onload=function(){xt_imgc.onload=null;};}else if(xtel.cliccz=='N'){hit=tR;xtCzW('&idpcz='+xtel.idpage+res+'&pv='+xt_perdz);}}}
function xtCSv(p){var lY=xtdH(),percWin=Math.round((haut/lY)*100),oldP=0;if(xt_perdz!=nu){oldP=parseInt(xt_perdz,10);if((p>=oldP)&&(p<(oldP+percWin))){xt_perdz=p;}}else{xt_perdz=p;}}
function xtCzW(v){var xtcznb=new Date();xtcznb.setTime(xtcznb.getTime()+45000);xd.cookie='xtvalCZ='+v+';expires='+xtcznb.toGMTString()+' ;path=/'+xw.xt1;}
function xtdH(){var off=xd.documentElement?parseInt(xd.documentElement.offsetHeight,10):0,sc=xd.documentElement?parseInt(xd.documentElement.scrollHeight,10):0,boff=xd.body?parseInt(xd.body.offsetHeight,10):0,bsc=xd.body?parseInt(xd.body.scrollHeight,10):0;return xtMax(xtMax(off,boff),xtMax(sc,bsc));}
function xtcW(){var val=xtfR(xw.innerWidth?parseInt(xw.innerWidth,10):0,xd.documentElement?parseInt(xd.documentElement.clientWidth,10):0),val2=xd.body?parseInt(xd.body.clientWidth,10):0;return((val==0)?val2:val);}
function xtcH(){var val=xtfR(xw.innerHeight?parseInt(xw.innerHeight,10):0,xd.documentElement?parseInt(xd.documentElement.clientHeight,10):0),val2=xd.body?parseInt(xd.body.clientHeight,10):0;return((val==0)?val2:val);}
function xtsT(){var pag=xw.pageYOffset?parseInt(xw.pageYOffset,10):0,st=xd.documentElement?parseInt(xd.documentElement.scrollTop,10):0,bst=xd.body?parseInt(xd.body.scrollTop,10):0;return xtMax(xtMax(pag,st),bst);}
function xtG(o,a){var att=null;try{att=o.getAttribute(a);}catch(e){}return (att==null)?null:(((a==cZ)&&(att.length>255))?xtSub(att,0,255):att);}
function xtfR(w,d){var n_result=w?w:0;if(d&&(!n_result||(n_result>d)))n_result=d;return n_result;}
function xtMax(a,b){return ((a>b)?a:b);}
function xtEn(v){return encodeURIComponent(v);}
function xtDe(v){return decodeURIComponent(v);}
function xtnN(o){return o.nodeName;}
function xtpN(o){return o.parentNode;}
function xtSub(o,d,f){return o.substring(d,f);};
// !MeAb! /c/s/d/e/j/e/xtcore.js
var xt1="",xtcode="",xt46="1",xt50="1",xt48="",xt54=!1,xt58=!1,xtdocl=!1,xtud="undefined",xt2="1",xt3=3650,xtkwv="xtmc",xtkwp="xtnp",xtadch=[],xt4=[];xt4.sec="20";xt4.rss="20";xt4.epr="20";xt4.erec="20";xt4.adi="20";xt4.adc="20";xt4.al="20";xt4.es="20";xt4.ad="20";
var xtoid=[],xtkey=!1,xt49=null,xt5=30,xw=window,xd=document,xtg=navigator,xtv=xw.xtczv!=null?"41001-"+xw.xtczv:"41001",xt1=xw.xtdmc?";domain="+xw.xtdmc:xt1!=""?";domain="+xw.xt1:"",xt6=xw.xtnv!=null?xw.xtnv:xd,xt7=xw.xtsd!=null?xw.xtsd:xd.location.protocol=="https:"?"https://logs3":"http://logi141",xt36=xw.xtsts!=null?xw.xtsts:0,xt37="";
if(xt54){var xturl="";try{xturl=xt6.location.href}catch(e$$5){xturl=xw.location.href}xt37=(xt37=xtestr(xturl,/#.*/,1))?"&sta="+encodeURIComponent(xtclURL(xt37)):""}
var xt38=xw.xtcustom!=null?xtserial(xw.xtcustom):"",xt8=xw.xtsite!=null?xw.xtsite:0,xt9=xw.xtn2!=null?"&s2="+xw.xtn2:"",xt8b=(xt8==0?"":"s="+xt8)+(xt36==0?"":xt8==0?"sts="+xt36:"&sts="+xt36),xtp=xw.xtpage!=null?xw.xtpage:"",xt10=xw.xto_force?xw.xto_force.toLowerCase():null,xt11=xt8=="redirect"?!0:!1,xtdi=xw.xtdi?"&di="+xw.xtdi:"",xt12=xw.xtidp?"&idpays="+xw.xtidp:"",xt13=xw.xtidprov?"&idprov="+xw.xtidprov:"",xtm=xw.xtparam!=null?xw.xtparam:"",xt46=typeof xw.xtnopage!="undefined"&&xw.xtnopage=="1"?
"0":xt46,xt50=typeof xw.xtergo!="undefined"&&xw.xtergo=="0"?"0":xt50,xtclzone=typeof xw.scriptOnClickZone!="undefined"&&xt50=="1"?xw.scriptOnClickZone:0,xt15=xw.xt_orderid!=null?xw.xt_orderid:"",xt17=xw.xtidcart!=null?xw.xtidcart:"",xt44=xw.xtprod_load!=null?"&pdtl="+xw.xtprod_load:"",xt47=xw.xtcode!=""?"&code="+xw.xtcode:"";xw.addEventListener?xw.addEventListener("unload",function(){},!1):xw.attachEvent&&xw.attachEvent("onunload",function(){});
xd.addEventListener?(xd.addEventListener("keydown",function(){xtkey=!0},!1),xd.addEventListener("keyup",function(){xtkey=!1},!1)):xd.attachEvent&&(xd.attachEvent("onkeydown",function(){xtkey=!0}),xd.attachEvent("onkeyup",function(){xtkey=!1}));
var xt18=xw.roimt&&xtm.indexOf("&roimt",0)<0?"&roimt="+xw.roimt:"",xtmc=xtm.indexOf("&mc=",0)<0?xw.xtmc?"&mc="+xw.xtmc:xtf3(xtkwv)?"&mc="+xtf3(xtkwv):xtf3("xtmc")?"&mc="+xtf3("xtmc"):"":"",xtcr=xtf3("xtcr")?"&mcrg="+xtf3("xtcr"):"",xtac=xw.xtac&&xtm.indexOf("&ac=",0)<0?"&ac="+xw.xtac:"",xtat=xw.xtat&&xtm.indexOf("&at=",0)<0?"&at="+xw.xtat:"",xtan=xw.xtan&&xtm.indexOf("&an=",0)<0?"&an="+xw.xtan:"",xtnp=xtm.indexOf("&np=",0)<0?xw.xtnp?"&np="+xw.xtnp:xtf3(xtkwp)?"&np="+xtf3(xtkwp):xtf3("xtnp")?"&np="+
xtf3("xtnp"):"":"",xt19=xw.xtprm!=null&&xtm.indexOf("&x",0)<0?xw.xtprm:"";xtm+=xt18+xtmc+xtcr+xtac+(xtan!=""?xtan:xtat)+xtnp+xt19+xt37;try{var xt20=top.document.referrer}catch(e$$6){xt20=xt6.referrer}var xts=screen,xt21=new Date,xt22=xt21.getTime()/36E5;
function xtserial(b){var a=typeof b;if(a!="object"||b===null)return a=="string"&&(b=encodeURIComponent('"'+b+'"')),String(b);else{var e,c,d=[],f=b&&b.constructor==Array;for(e in b)c=b[e],a=typeof c,a=="string"?c=encodeURIComponent('"'+c+'"'):a=="object"&&c!==null&&(c=xtserial(c)),d.push((f?"":encodeURIComponent('"'+e.toLowerCase()+'":'))+String(c));return(f?"[":"{")+String(d)+(f?"]":"}")}}function xtclURL(b){return b.replace(/%3C/g,"<").replace(/%3E/g,">").replace(/[<>]/g,"")}
function xtf1(b,a){for(var a=a!=null&&a!=xtud?a:"0",e=b+"=",c=0;c<xd.cookie.length;){var d=c+e.length;if(xd.cookie.substring(c,d)==e)return xtf2(d,a);c=xd.cookie.indexOf(" ",c)+1;if(c==0)break}return null}function xtf2(b,a){var e=xd.cookie.indexOf(";",b);if(e==-1)e=xd.cookie.length;return a!="1"?unescape(xtclURL(xd.cookie.substring(b,e))):xtclURL(xd.cookie.substring(b,e))}typeof xt_adch=="function"&&xt_adch();
function xt_addchain(b,a){xtvarch=a?a:"abmv";itemp=!xtadch[xtvarch]?0:xtadch[xtvarch];itemp++;xtm+="&"+xtvarch+""+itemp+"="+b;xtadch[xtvarch]=itemp}function wck(b,a,e,c,d){a=d==0?a:escape(a);xd.cookie=b+"="+a+";expires="+e.toGMTString()+";path=/"+c}
function xtf3(b,a){try{xtdeb=xt6.location.href}catch(e){xtdeb=xw.location.href}var c=a==null||a==xtud?xtclURL(xtdeb.toLowerCase().replace(/%3d/g,"=")):a;if(c.indexOf(b+"=")>0){var c=c.substring(1,c.length),c=c.substring(c.indexOf(b+"="),c.length),d=c.indexOf("&");d==-1&&(d=c.indexOf("%26"));if(d==-1)d=c.length;return c.substring(c.indexOf("=")+1,d)}else return null}
function xt_med(b,a,e,c,d,f,g,h){xt_ajout=b=="F"&&(c==null||c==xtud)?"":b=="M"?"&a="+c+"&m1="+d+"&m2="+f+"&m3="+g+"&m4="+h:"&clic="+c;xtf4(b,"&s2="+a+"&p="+e+xt_ajout,d,f)}function xt_ad(b,a,e){xtf4("AT","&atc="+b+"&type=AT&patc="+xtp+"&s2atc="+xw.xtn2,a,e)}
function xt_adc(b,a,e,c){xtf4("AT","&atc="+a+"&type=AT&patc="+xtp+"&s2atc="+xw.xtn2);a=null;if(b.nodeName!="A")for(b=b.parentNode;b;){if(b.nodeName=="A"){a=b;break}b=b.parentNode}else a=b;if(a){a.target=a.target||"_self";if(e)a.href=e,a.target=c?"_blank":"_self";if(!xtkey)if(a.target.toLowerCase()=="_self")return setTimeout('self.location.href="'+a.href+'"',500),!1;else if(a.target.toLowerCase()=="_top")return setTimeout('top.location.href="'+a.href+'"',500),!1;else if(a.target.toLowerCase()=="_parent")return setTimeout('parent.location.href="'+
a.href+'"',500),!1}else e&&(c?setTimeout('(xw.open("'+e+'","_blank")).focus();',500):setTimeout('self.location.href="'+e+'"',500));xtkey=!1;return!0}
function xt_click(b,a,e,c,d,f,g){xt_ajout=a=="F"&&(d==null||d==xtud)?"":"&clic="+d;xtf4(a,"&s2="+e+"&p="+c+xt_ajout);a=null;if(b.nodeName!="A")for(b=b.parentNode;b;){if(b.nodeName=="A"){a=b;break}b=b.parentNode}else a=b;if(a){a.target=a.target||"_self";if(f)a.href=f,a.target=g?"_blank":"_self";if(!xtkey)if(a.target.toLowerCase()=="_self")return setTimeout('self.location.href="'+a.href+'"',500),!1;else if(a.target.toLowerCase()=="_top")return setTimeout('top.location.href="'+a.href+'"',500),!1;else if(a.target.toLowerCase()==
"_parent")return setTimeout('parent.location.href="'+a.href+'"',500),!1}else f&&(g?setTimeout('(xw.open("'+f+'","_blank")).focus();',500):setTimeout('self.location.href="'+f+'"',500));xtkey=!1;return!0}function xt_form(b,a,e,c,d,f){xt_ajout=a=="F"&&(d==null||d==xtud)?"":"&clic="+d;xtf4(a,"&s2="+e+"&p="+c+xt_ajout);f&&setTimeout(function(){b.submit()},500);return!1}
function xt_rm(b,a,e,c,d,f,g,h,i,j,k,m,n,o){var l="&p="+e+"&s2="+a+"&type="+b+"&a="+c+"&m5="+k+"&m6="+m;l+=d!=null&&d!="0"?"&"+d:"";l+=g!=null&&c!="pause"&&c!="stop"?"&m1="+g+"&"+h+"&m3="+i+"&m4="+j+"&m7="+n+"&m8="+o+"&prich="+xtp+"&s2rich="+xw.xtn2:"";l+=f!=null&&f!="0"&&g!=null?"&rfsh="+f:"";xtf4(b,l);f!=null&&f!="0"&&(c=="play"||c=="play&buf=1"||c=="refresh")?(xtrmdl=Math.floor(f)>1500?15E5:Math.floor(f)<5?5E3:Math.floor(f)*1E3,xtoid[b]=xw.setTimeout("xt_rm('"+b+"','"+a+"','"+e+"','refresh','0','"+
f+"',null,'"+h+"','"+i+"','"+j+"','"+k+"','"+m+"')",xtrmdl)):(c=="pause"||c=="stop")&&xw.xtoid!=null&&xw.clearTimeout(xtoid[b])}
function xtf4(b,a,e,c){if((xtclzone==0||xtclzone==3||b!="C")&&b!="P"){var d=new Image,f=new Date;xt_im=xt7+".xiti.com/hit.xiti?"+xt8b+a+"&hl="+f.getHours()+"x"+f.getMinutes()+"x"+f.getSeconds();parseFloat(xtg.appVersion)>=4&&(xt_im+="&r="+xts.width+"x"+xts.height+"x"+xts.pixelDepth+"x"+xts.colorDepth);d.src=xt_im;d.onload=function(){d.onload=null}}if(e!=null&&e!=xtud&&b!="M")c==""||c==null?xd.location=e:(xfen=window.open(e,"xfen",""),xfen.focus())}
function f_nb(b){b-=Math.floor(b/100)*100;return b<10?"0"+b:b}var xtidpg=f_nb(xt21.getHours())+""+f_nb(xt21.getMinutes())+""+f_nb(xt21.getSeconds())+""+xt_rd(7),xt23=0,xt16="",xt43=0;function xt_addProduct(b,a,e,c,d,f){xt23++;xt16+="&pdt"+xt23+"=";xt16+=b?b+"::":"";xt16+=a?a:"";xt16+=e?"&qte"+xt23+"="+e:"";xt16+=c?"&mt"+xt23+"="+c:"";xt16+=d?"&dsc"+xt23+"="+d:"";xt16+=f?"&pcode"+xt23+"="+f:""}function xt_rd(b){return Math.floor(Math.random()*Math.pow(10,b))}
function xt_addProduct_v2(b,a,e,c,d,f,g,h,i){xt23++;xt16+="&pdt"+xt23+"=";xt16+=b?b+"::":"";xt16+=a?a:"";xt16+=e?"&qte"+xt23+"="+e:"";xt16+=c?"&mt"+xt23+"="+c:"";xt16+=d?"&mtht"+xt23+"="+d:"";xt16+=f?"&dsc"+xt23+"="+f:"";xt16+=g?"&dscht"+xt23+"="+g:"";xt16+=i?"&roimt"+xt23+"="+i:"";xt16+=h?"&pcode"+xt23+"="+h:""}function xt_addProduct_load(b,a,e){a&&(xt43++,xt44+=xt43==1?"&pdtl=":"|",xt44+=b?b+"::":"",xt44+=a,xt44+=e?";"+e:"")}typeof xt_cart=="function"?xt_cart():xt16="";
function xt_ParseUrl(b,a,e,c){var d=[];if(a.length>0){for(var f=1600-e.length,g=0,h=0,h="",i=0;a.length>f&&h!=a&&i==0;){var h=a,j="&pdt";a.lastIndexOf(j,f)<=0&&(a.lastIndexOf("&",f)<=0?i=1:j="&");i==1?d[g]=a.substring(0,1600)+"&mherr=1":(d[g]=a.substring(0,a.lastIndexOf(j,f)),a=a.substring(a.lastIndexOf(j,f),a.length),g++,f=1600)}if(i==0&&(d[g]=a,xt38!=""))if(5+xt38.length+a.length<f)d[g]+="&stc="+xt38;else{g++;for(xt38="&stc="+xt38;xt38.length>f&&h!=xt38;)h=xt38,j=",",xt38.lastIndexOf(j,f)<=5&&(i=
1),i==1?d[g]=xt38.substring(0,1600)+"&mherr=1":(d[g]=xt38.substring(0,xt38.lastIndexOf(j,f)),xt38="&stc="+xt38.substring(xt38.lastIndexOf(j,f),xt38.length),g++,f=1600);i==0&&(d[g]=xt38)}for(h=0;h<=g;h++)if(g>0&&(d[h]+="&mh="+(h+1)+"-"+(g+1)+"-"+xtidpg),h>0?d[h]=xt15!=""||xt17!=""?xt8b+"&cmd="+xt15+"&idcart="+xt17+d[h]:xt8b+d[h]:d[h]+=e,c==""||c==null)xd.write('<img width="1" height="1" src="'+b+d[h]+'">');else if(c=="1"){var k=new Image;k.src=b+d[h];k.onload=function(){k.onload=null}}}}
function xt_ParseUrl3(b,a,e,c,d,f){var g=new Image,h="&mh="+e+"-"+c+"-"+xtidpg;if(a.length>1500){for(var i=a.split(RegExp("["+f+"]","gi")),j="",h=i[0].length,k=0;h<1500&&k<i.length;)j+=i[k]+f,k<i.length-1&&(h+=i[k+1].length+1),k+=1;c=c==1?Math.ceil(a.length/1500):c;h="&mh="+e+"-"+c+"-"+xtidpg;if(j!=""){g.src=b+"&idp="+xtidpg+h+j;g.onload=function(){g.onload=null};a=d;for(j=k;j<i.length;j++)a+=i[j]+(j==i.length-1?"":f);xt_ParseUrl3(b,a,e+1,c,d,f)}else g.src=b+"&idp="+xtidpg+h+a.substring(0,1500)+"&mherr=1",
g.onload=function(){g.onload=null}}else if(a.length>d.length)g.src=e==1?b+"&idp="+xtidpg+a:b+"&idp="+xtidpg+h+a,g.onload=function(){g.onload=null}}function xtestr(b,a,e){var c=null;try{c=b.match(a)[e-1]}catch(d){c=null}return c}
if(xt8!=0||xt36!=0||xt11){if(xt48!=""){var xtvid=xtf1("xtvid");xtvid||(xt49=xtvid=xt21.getTime()+""+xt_rd(6));var xtexp=new Date;xtexp.setMinutes(xtexp.getMinutes()+30);wck("xtvid",xtvid,xtexp,"",1)}var xtpm="xtor",xtpmd="xtdate",xtpmc="xtocl",xtpan="xtan",xtpat="xtat",xtpant="xtant",xt24=xtf3("xtor"),xtdtgo=xtf3("xtdt"),xt25=xtf3("xtref"),xt26=xtf3("xtan"),xt55=xtf3("xtat"),xt27=xtf3("an",xtm),xt56=xtf3("at",xtm),xt28=xtf3("ac",xtm),xtocl=xtf1(xtpmc)!=null?xtf1(xtpmc):"$",xtord=xtf1("xtgo")=="0"?
xtf1("xtord"):null,xtgord=xtf1("xtgo")!=null?xtf1("xtgo"):"0",xtvrn=xtf1("xtvrn")!=null?xtf1("xtvrn"):"$",xtgmt=xt21.getTime()/6E4,xtgo=xtdtgo!=null?xtgmt-xtdtgo<30&&xtgmt-xtdtgo>=0?"2":"1":xtgord,xtpgt=xtgord=="1"?"&pgt="+xtf1("xtord"):xtgo=="1"&&xt24!=null?"&pgt="+xt24:"",xto=xt10!=null?xt10:xt24!=null&&xtgo=="0"?xt24:!xt11?xtord:null,xto=xtocl.indexOf("$"+xto+"$")<0||xtocl=="$"?xto:null,xtock=xtgo=="0"?xto:xtgord=="2"?xtf1("xtord"):xtgo=="2"?xt24:null;if(xtock!=null){tmpxto=xtock.substring(0,xtock.indexOf("-"));
var xtdrm=xt4[tmpxto]}else xtdrm="1";if(xtdrm==null||xtdrm==xtud)xtdrm=xt4.ad;xt26==null&&!xt11&&(xt26=xtf1("xtanrd"));xt55==null&&!xt11&&(xt55=xtf1("xtatrd"));var xtanc=xtf1(xtpan),xtattc=xtf1(xtpat),xtanct=xtf1(xtpant),xtxp=new Date,xt29=new Date,xt30=new Date;xt11?xtxp.setTime(xtxp.getTime()+xt5*1E3):xtxp.setTime(xtxp.getTime()+xtdrm*864E5);xt30.setTime(xt30.getTime()+18E5);xt29.setTime(xt29.getTime()+xt3*864E5);var xt31=xt26!=null?xt26.indexOf("-"):0,xt57=xt55!=null?xt55.indexOf("-"):0,xtan2=
xt27!=null?"":xt26!=null&&xt31>0?"&ac="+xt26.substring(0,xt31)+"&ant=0&an="+xt26.substring(xt31+1,xt26.length):xtanc!=null?"&anc="+xtanc+"&anct="+xtanct:"",xtat2=xt56!=null?"":xt55!=null&&xt57>0?"&ac="+xt55.substring(0,xt57)+"&ant=0&at="+xt55.substring(xt57+1,xt55.length):xtattc!=null?"&attc="+xtattc+"&anct="+xtanct:"",xt32=xtvrn.indexOf("$"+xt8+"$")<0?"&vrn=1":"",xt35=xtf3("xtatc")!=null&&xtf3("atc",xtm)==null?"&atc="+xtf3("xtatc"):"";xt32!=""&&wck("xtvrn",xtvrn+xt8+"$",xt29,xt1,0);xt32+=xto==null?
"":"&xto="+xto;xt32+=(xtan2!=""?xtan2:xtat2)+xtpgt+xt35;xt27!=null?(wck(xtpan,xt28+"-"+xt27,xt29,xt1,1),wck(xtpant,"1",xt29,xt1,1)):xt26!=null&&xtanct!="1"&&(wck(xtpan,xt26,xt29,xt1,1),wck(xtpant,"0",xt29,xt1,1));xt56!=null?(wck(xtpat,xt28+"-"+xt56,xt29,xt1,1),wck(xtpant,"1",xt29,xt1,1)):xt55!=null&&xtanct!="1"&&(wck(xtpat,xt55,xt29,xt1,1),wck(xtpant,"0",xt29,xt1,1));var xtor=xtf1(xtpm),xtor_duree=xtf1(xtpmd),xtdate2=xtor_duree!=null?new Date(xtor_duree):new Date,xt34=xtdate2.getTime()/36E5,xtecart=
Math.floor(xt22-xt34)>=0?Math.floor(xt22-xt34):0;xt32+=xtor==null?"":"&xtor="+xtor+"&roinbh="+xtecart;var xt33="",Xt_r=xt25!=null?xt25.replace(/[<>]/g,""):xtf1("xtref");Xt_r==null&&(Xt_r=xt20.replace(/[<>]/g,""));if(xt11){if(wck("xtgo",xtgo,xtxp,xt1,1),xt24!=null&&wck("xtord",xt24,xtxp,xt1,1),xt26!=null&&wck("xtanrd",xt26,xtxp,xt1,1),xt55!=null&&wck("xtatrd",xt55,xtxp,xt1,1),Xt_r!=""&&wck("xtref",Xt_r.replace(/&/g,"$"),xtxp,xt1,0),xw.xtloc!=null)xt6.location=xw.xtloc}else{xtock!=null&&(xtocl.indexOf("$"+
escape(xtock)+"$")<0||xtocl=="$")&&wck(xtpmc,xtocl+xtock+"$",xt30,xt1,1);xt33+=xtg.javaEnabled()?"&jv=1":"&jv=0";var xtnav=xtg.appName+" "+xtg.appVersion,xtIE=xtnav.indexOf("MSIE");if(xtIE>=0)var xtvers=parseInt(xtnav.substr(xtIE+5)),xtIE=!0;else xtvers=parseFloat(xtg.appVersion),xtIE=!1;var xtnet=xtnav.indexOf("Netscape")>=0,xtmac=xtnav.indexOf("Mac")>=0,xtOP=xtg.userAgent.indexOf("Opera")>=0;if(xtIE&&xtvers>=5&&!xtmac&&!xtOP&&!xt11){try{xd.body.addBehavior("#default#clientCaps")}catch(e$$9){}var xtconn=
"&cn="+xd.body.connectionType;xtconn+="&ul="+xd.body.UserLanguage;try{xd.body.addBehavior("#default#homePage")}catch(e$$10){}var xthome="";try{xthome=xd.body.isHomePage(location.href)?"&hm=1":"&hm=0"}catch(e$$11){}var xtresr="&re="+xd.body.offsetWidth+"x"+xd.body.offsetHeight}else xthome=xtconn="",xtresr=xtvers>=5?"&re="+xw.innerWidth+"x"+xw.innerHeight:"";var xtlang=xtnet&&xtvers>=4||xtOP?"&lng="+xtg.language:xtIE&&xtvers>=4&&!xtOP?"&lng="+xtg.userLanguage:"";wck("xtord","",xt21,xt1,1);if(xtock!=
null&&(xtor==null||xt2=="1"))wck(xtpm,xtock,xtxp,xt1,1),wck(xtpmd,xt21,xtxp,xt1,1);var xthl="&hl="+xt21.getHours()+"x"+xt21.getMinutes()+"x"+xt21.getSeconds(),xt45=xtdocl?"&docl="+encodeURIComponent(xt6.location.href.replace(/&/g,"#ec#")):"",Xt_param=xt8b+xt9+"&p="+xtp+xthl+xtdi+xt12+xt13+xt32+xt45+xt47+xtm+xtconn+xthome+xtlang+"&vtag="+xtv+"&idp="+xtidpg,xtvalCZ=xtf1("xtvalCZ",1);if(xtvalCZ!=null){Xt_param+=xtvalCZ;var xtdateo=new Date;xtdateo.setTime(xtdateo.getTime()-36E5);wck("xtvalCZ",xtvalCZ,
xtdateo,xt1,1)}var Xt_id=xt7+".xiti.com/hit.xiti?";xtvers>=4&&(xt33+="&r="+xts.width+"x"+xts.height+"x"+xts.pixelDepth+"x"+xts.colorDepth);var xtide=xtf1("xtide");if(xtock!=null)switch(tmpxto.toLowerCase()){case "erec":case "epr":case "es":var xtmpide=xtestr(xtock,/(\[[^\]]*\])|([^\-]+)/g,6);xtmpide!=null&&(xtide=xtmpide,wck("xtide",xtide,xt29,"",1))}xt16+=xt16!=""&&xtide!=null?"&ide="+xtide:"";Xt_param+=xt33+xtresr+xt16;var Xt_i=Xt_id+Xt_param+"&ref="+Xt_r.replace(/&/g,"$");xt49&&(Xt_param+="&lnk="+
xt48+"&vid="+xt49);xt_ParseUrl(Xt_id,Xt_param,"&ref="+Xt_r.replace(/&/g,"$"),xt46);xt44!=""&&xt_ParseUrl3(Xt_id+xt8b+"&p="+xtp+"&type=PDT"+xthl,xt44,1,1,"&pdtl=","|")}}(function(){if(typeof xtscript!="undefined"){var b=document.createElement("script");b.type="text/javascript";b.async=!0;b.src=xtscript;(document.getElementsByTagName("head")[0]||document.getElementsByTagName("body")[0]||document.getElementsByTagName("script")[0].parentNode).insertBefore(b,null)}})();
xtclzone>0&&typeof xtNodesload=="function"&&(xt58?xw.addEventListener?xw.addEventListener("load",xtNodesload,!1):xw.attachEvent&&xw.attachEvent("onload",xtNodesload):xtNodesload());

