/*
 * jQuery JavaScript Library v1.6
 * http://jquery.com/
 *
 * Copyright 2011, John Resig
 * Dual licensed under the MIT or GPL Version 2 licenses.
 * http://jquery.org/license
 *
 * Includes Sizzle.js
 * http://sizzlejs.com/
 * Copyright 2011, The Dojo Foundation
 * Released under the MIT, BSD, and GPL Licenses.
 *
 * Date: Mon May 2 13:50:00 2011 -0400
 */
(function(bd,P){var av=bd.document,bv=bd.navigator,bm=bd.location;var b=(function(){var bF=function(bZ,b0){return new bF.fn.init(bZ,b0,bD)},bU=bd.jQuery,bH=bd.$,bD,bY=/^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,bN=/\S/,bJ=/^\s+/,bE=/\s+$/,bI=/\d/,bB=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,bO=/^[\],:{}\s]*$/,bW=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,bQ=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,bK=/(?:^|:|,)(?:\s*\[)+/g,bz=/(webkit)[ \/]([\w.]+)/,bS=/(opera)(?:.*version)?[ \/]([\w.]+)/,bR=/(msie) ([\w.]+)/,bT=/(mozilla)(?:.*? rv:([\w.]+))?/,bX=bv.userAgent,bV,bC,e,bM=Object.prototype.toString,bG=Object.prototype.hasOwnProperty,bA=Array.prototype.push,bL=Array.prototype.slice,bP=String.prototype.trim,bw=Array.prototype.indexOf,by={};bF.fn=bF.prototype={constructor:bF,init:function(bZ,b3,b2){var b1,b4,b0,b5;if(!bZ){return this}if(bZ.nodeType){this.context=this[0]=bZ;this.length=1;return this}if(bZ==="body"&&!b3&&av.body){this.context=av;this[0]=av.body;this.selector=bZ;this.length=1;return this}if(typeof bZ==="string"){if(bZ.charAt(0)==="<"&&bZ.charAt(bZ.length-1)===">"&&bZ.length>=3){b1=[null,bZ,null]}else{b1=bY.exec(bZ)}if(b1&&(b1[1]||!b3)){if(b1[1]){b3=b3 instanceof bF?b3[0]:b3;b5=(b3?b3.ownerDocument||b3:av);b0=bB.exec(bZ);if(b0){if(bF.isPlainObject(b3)){bZ=[av.createElement(b0[1])];bF.fn.attr.call(bZ,b3,true)}else{bZ=[b5.createElement(b0[1])]}}else{b0=bF.buildFragment([b1[1]],[b5]);bZ=(b0.cacheable?bF.clone(b0.fragment):b0.fragment).childNodes}return bF.merge(this,bZ)}else{b4=av.getElementById(b1[2]);if(b4&&b4.parentNode){if(b4.id!==b1[2]){return b2.find(bZ)}this.length=1;this[0]=b4}this.context=av;this.selector=bZ;return this}}else{if(!b3||b3.jquery){return(b3||b2).find(bZ)}else{return this.constructor(b3).find(bZ)}}}else{if(bF.isFunction(bZ)){return b2.ready(bZ)}}if(bZ.selector!==P){this.selector=bZ.selector;this.context=bZ.context}return bF.makeArray(bZ,this)},selector:"",jquery:"1.6",length:0,size:function(){return this.length},toArray:function(){return bL.call(this,0)},get:function(bZ){return bZ==null?this.toArray():(bZ<0?this[this.length+bZ]:this[bZ])},pushStack:function(b0,b2,bZ){var b1=this.constructor();if(bF.isArray(b0)){bA.apply(b1,b0)}else{bF.merge(b1,b0)}b1.prevObject=this;b1.context=this.context;if(b2==="find"){b1.selector=this.selector+(this.selector?" ":"")+bZ}else{if(b2){b1.selector=this.selector+"."+b2+"("+bZ+")"}}return b1},each:function(b0,bZ){return bF.each(this,b0,bZ)},ready:function(bZ){bF.bindReady();bC.done(bZ);return this},eq:function(bZ){return bZ===-1?this.slice(bZ):this.slice(bZ,+bZ+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(bL.apply(this,arguments),"slice",bL.call(arguments).join(","))},map:function(bZ){return this.pushStack(bF.map(this,function(b1,b0){return bZ.call(b1,b0,b1)}))},end:function(){return this.prevObject||this.constructor(null)},push:bA,sort:[].sort,splice:[].splice};bF.fn.init.prototype=bF.fn;bF.extend=bF.fn.extend=function(){var b8,b1,bZ,b0,b5,b6,b4=arguments[0]||{},b3=1,b2=arguments.length,b7=false;if(typeof b4==="boolean"){b7=b4;b4=arguments[1]||{};b3=2}if(typeof b4!=="object"&&!bF.isFunction(b4)){b4={}}if(b2===b3){b4=this;--b3}for(;b3<b2;b3++){if((b8=arguments[b3])!=null){for(b1 in b8){bZ=b4[b1];b0=b8[b1];if(b4===b0){continue}if(b7&&b0&&(bF.isPlainObject(b0)||(b5=bF.isArray(b0)))){if(b5){b5=false;b6=bZ&&bF.isArray(bZ)?bZ:[]}else{b6=bZ&&bF.isPlainObject(bZ)?bZ:{}}b4[b1]=bF.extend(b7,b6,b0)}else{if(b0!==P){b4[b1]=b0}}}}}return b4};bF.extend({noConflict:function(bZ){if(bd.$===bF){bd.$=bH}if(bZ&&bd.jQuery===bF){bd.jQuery=bU}return bF},isReady:false,readyWait:1,holdReady:function(bZ){if(bZ){bF.readyWait++
}else{bF.ready(true)}},ready:function(bZ){if((bZ===true&&!--bF.readyWait)||(bZ!==true&&!bF.isReady)){if(!av.body){return setTimeout(bF.ready,1)}bF.isReady=true;if(bZ!==true&&--bF.readyWait>0){return}bC.resolveWith(av,[bF]);if(bF.fn.trigger){bF(av).trigger("ready").unbind("ready")}}},bindReady:function(){if(bC){return}bC=bF._Deferred();if(av.readyState==="complete"){return setTimeout(bF.ready,1)}if(av.addEventListener){av.addEventListener("DOMContentLoaded",e,false);bd.addEventListener("load",bF.ready,false)}else{if(av.attachEvent){av.attachEvent("onreadystatechange",e);bd.attachEvent("onload",bF.ready);var bZ=false;try{bZ=bd.frameElement==null}catch(b0){}if(av.documentElement.doScroll&&bZ){bx()}}}},isFunction:function(bZ){return bF.type(bZ)==="function"},isArray:Array.isArray||function(bZ){return bF.type(bZ)==="array"},isWindow:function(bZ){return bZ&&typeof bZ==="object"&&"setInterval" in bZ},isNaN:function(bZ){return bZ==null||!bI.test(bZ)||isNaN(bZ)},type:function(bZ){return bZ==null?String(bZ):by[bM.call(bZ)]||"object"},isPlainObject:function(b0){if(!b0||bF.type(b0)!=="object"||b0.nodeType||bF.isWindow(b0)){return false}if(b0.constructor&&!bG.call(b0,"constructor")&&!bG.call(b0.constructor.prototype,"isPrototypeOf")){return false}var bZ;for(bZ in b0){}return bZ===P||bG.call(b0,bZ)},isEmptyObject:function(b0){for(var bZ in b0){return false}return true},error:function(bZ){throw bZ},parseJSON:function(bZ){if(typeof bZ!=="string"||!bZ){return null}bZ=bF.trim(bZ);if(bd.JSON&&bd.JSON.parse){return bd.JSON.parse(bZ)}if(bO.test(bZ.replace(bW,"@").replace(bQ,"]").replace(bK,""))){return(new Function("return "+bZ))()}bF.error("Invalid JSON: "+bZ)},parseXML:function(b1,bZ,b0){if(bd.DOMParser){b0=new DOMParser();bZ=b0.parseFromString(b1,"text/xml")}else{bZ=new ActiveXObject("Microsoft.XMLDOM");bZ.async="false";bZ.loadXML(b1)}b0=bZ.documentElement;if(!b0||!b0.nodeName||b0.nodeName==="parsererror"){bF.error("Invalid XML: "+b1)}return bZ},noop:function(){},globalEval:function(bZ){if(bZ&&bN.test(bZ)){(bd.execScript||function(b0){bd["eval"].call(bd,b0)})(bZ)}},nodeName:function(b0,bZ){return b0.nodeName&&b0.nodeName.toUpperCase()===bZ.toUpperCase()},each:function(b2,b5,b1){var b0,b3=0,b4=b2.length,bZ=b4===P||bF.isFunction(b2);if(b1){if(bZ){for(b0 in b2){if(b5.apply(b2[b0],b1)===false){break}}}else{for(;b3<b4;){if(b5.apply(b2[b3++],b1)===false){break}}}}else{if(bZ){for(b0 in b2){if(b5.call(b2[b0],b0,b2[b0])===false){break}}}else{for(;b3<b4;){if(b5.call(b2[b3],b3,b2[b3++])===false){break}}}}return b2},trim:bP?function(bZ){return bZ==null?"":bP.call(bZ)}:function(bZ){return bZ==null?"":bZ.toString().replace(bJ,"").replace(bE,"")},makeArray:function(b2,b0){var bZ=b0||[];if(b2!=null){var b1=bF.type(b2);if(b2.length==null||b1==="string"||b1==="function"||b1==="regexp"||bF.isWindow(b2)){bA.call(bZ,b2)}else{bF.merge(bZ,b2)}}return bZ},inArray:function(b1,b2){if(bw){return bw.call(b2,b1)}for(var bZ=0,b0=b2.length;bZ<b0;bZ++){if(b2[bZ]===b1){return bZ}}return -1},merge:function(b3,b1){var b2=b3.length,b0=0;if(typeof b1.length==="number"){for(var bZ=b1.length;b0<bZ;b0++){b3[b2++]=b1[b0]}}else{while(b1[b0]!==P){b3[b2++]=b1[b0++]}}b3.length=b2;return b3},grep:function(b0,b5,bZ){var b1=[],b4;bZ=!!bZ;for(var b2=0,b3=b0.length;b2<b3;b2++){b4=!!b5(b0[b2],b2);if(bZ!==b4){b1.push(b0[b2])}}return b1},map:function(bZ,b6,b7){var b4,b5,b3=[],b1=0,b0=bZ.length,b2=bZ instanceof bF||b0!==P&&typeof b0==="number"&&((b0>0&&bZ[0]&&bZ[b0-1])||b0===0||bF.isArray(bZ));if(b2){for(;b1<b0;b1++){b4=b6(bZ[b1],b1,b7);if(b4!=null){b3[b3.length]=b4}}}else{for(b5 in bZ){b4=b6(bZ[b5],b5,b7);if(b4!=null){b3[b3.length]=b4}}}return b3.concat.apply([],b3)},guid:1,proxy:function(b3,b2){if(typeof b2==="string"){var b1=b3[b2];b2=b3;b3=b1}if(!bF.isFunction(b3)){return P}var bZ=bL.call(arguments,2),b0=function(){return b3.apply(b2,bZ.concat(bL.call(arguments)))};b0.guid=b3.guid=b3.guid||b0.guid||bF.guid++;return b0},access:function(bZ,b7,b5,b1,b4,b6){var b0=bZ.length;if(typeof b7==="object"){for(var b2 in b7){bF.access(bZ,b2,b7[b2],b1,b4,b5)
}return bZ}if(b5!==P){b1=!b6&&b1&&bF.isFunction(b5);for(var b3=0;b3<b0;b3++){b4(bZ[b3],b7,b1?b5.call(bZ[b3],b3,b4(bZ[b3],b7)):b5,b6)}return bZ}return b0?b4(bZ[0],b7):P},now:function(){return(new Date()).getTime()},uaMatch:function(b0){b0=b0.toLowerCase();var bZ=bz.exec(b0)||bS.exec(b0)||bR.exec(b0)||b0.indexOf("compatible")<0&&bT.exec(b0)||[];return{browser:bZ[1]||"",version:bZ[2]||"0"}},sub:function(){function bZ(b2,b3){return new bZ.fn.init(b2,b3)}bF.extend(true,bZ,this);bZ.superclass=this;bZ.fn=bZ.prototype=this();bZ.fn.constructor=bZ;bZ.sub=this.sub;bZ.fn.init=function b1(b2,b3){if(b3&&b3 instanceof bF&&!(b3 instanceof bZ)){b3=bZ(b3)}return bF.fn.init.call(this,b2,b3,b0)};bZ.fn.init.prototype=bZ.fn;var b0=bZ(av);return bZ},browser:{}});bF.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(b0,bZ){by["[object "+bZ+"]"]=bZ.toLowerCase()});bV=bF.uaMatch(bX);if(bV.browser){bF.browser[bV.browser]=true;bF.browser.version=bV.version}if(bF.browser.webkit){bF.browser.safari=true}if(bN.test("\xA0")){bJ=/^[\s\xA0]+/;bE=/[\s\xA0]+$/}bD=bF(av);if(av.addEventListener){e=function(){av.removeEventListener("DOMContentLoaded",e,false);bF.ready()}}else{if(av.attachEvent){e=function(){if(av.readyState==="complete"){av.detachEvent("onreadystatechange",e);bF.ready()}}}}function bx(){if(bF.isReady){return}try{av.documentElement.doScroll("left")}catch(bZ){setTimeout(bx,1);return}bF.ready()}return bF})();var a="done fail isResolved isRejected promise then always pipe".split(" "),aK=[].slice;b.extend({_Deferred:function(){var by=[],bz,bw,bx,e={done:function(){if(!bx){var bB=arguments,bC,bF,bE,bD,bA;if(bz){bA=bz;bz=0}for(bC=0,bF=bB.length;bC<bF;bC++){bE=bB[bC];bD=b.type(bE);if(bD==="array"){e.done.apply(e,bE)}else{if(bD==="function"){by.push(bE)}}}if(bA){e.resolveWith(bA[0],bA[1])}}return this},resolveWith:function(bB,bA){if(!bx&&!bz&&!bw){bA=bA||[];bw=1;try{while(by[0]){by.shift().apply(bB,bA)}}finally{bz=[bB,bA];bw=0}}return this},resolve:function(){e.resolveWith(this,arguments);return this},isResolved:function(){return !!(bw||bz)},cancel:function(){bx=1;by=[];return this}};return e},Deferred:function(bw){var e=b._Deferred(),by=b._Deferred(),bx;b.extend(e,{then:function(bA,bz){e.done(bA).fail(bz);return this},always:function(){return e.done.apply(e,arguments).fail.apply(this,arguments)},fail:by.done,rejectWith:by.resolveWith,reject:by.resolve,isRejected:by.isResolved,pipe:function(bA,bz){return b.Deferred(function(bB){b.each({done:[bA,"resolve"],fail:[bz,"reject"]},function(bD,bG){var bC=bG[0],bF=bG[1],bE;if(b.isFunction(bC)){e[bD](function(){bE=bC.apply(this,arguments);if(b.isFunction(bE.promise)){bE.promise().then(bB.resolve,bB.reject)}else{bB[bF](bE)}})}else{e[bD](bB[bF])}})}).promise()},promise:function(bA){if(bA==null){if(bx){return bx}bx=bA={}}var bz=a.length;while(bz--){bA[a[bz]]=e[a[bz]]}return bA}});e.done(by.cancel).fail(e.cancel);delete e.cancel;if(bw){bw.call(e,e)}return e},when:function(bB){var bw=arguments,bx=0,bA=bw.length,bz=bA,e=bA<=1&&bB&&b.isFunction(bB.promise)?bB:b.Deferred();function by(bC){return function(bD){bw[bC]=arguments.length>1?aK.call(arguments,0):bD;if(!(--bz)){e.resolveWith(e,aK.call(bw,0))}}}if(bA>1){for(;bx<bA;bx++){if(bw[bx]&&b.isFunction(bw[bx].promise)){bw[bx].promise().then(by(bx),e.reject)}else{--bz}}if(!bz){e.resolveWith(e,bw)}}else{if(e!==bB){e.resolveWith(e,bA?[bB]:[])}}return e.promise()}});b.support=(function(){var bG=av.createElement("div"),bA,bM,bH,by,bF,bB,bD,bx,bE,bw,bJ,bz,bC,bK,bN;bG.setAttribute("className","t");bG.innerHTML="   <link/><table></table><a href='/a' style='top:1px;float:left;opacity:.55;'>a</a><input type='checkbox'/>";bA=bG.getElementsByTagName("*");bM=bG.getElementsByTagName("a")[0];if(!bA||!bA.length||!bM){return{}}bH=av.createElement("select");by=bH.appendChild(av.createElement("option"));bF=bG.getElementsByTagName("input")[0];bD={leadingWhitespace:(bG.firstChild.nodeType===3),tbody:!bG.getElementsByTagName("tbody").length,htmlSerialize:!!bG.getElementsByTagName("link").length,style:/top/.test(bM.getAttribute("style")),hrefNormalized:(bM.getAttribute("href")==="/a"),opacity:/^0.55$/.test(bM.style.opacity),cssFloat:!!bM.style.cssFloat,checkOn:(bF.value==="on"),optSelected:by.selected,getSetAttribute:bG.className!=="t",submitBubbles:true,changeBubbles:true,focusinBubbles:false,deleteExpando:true,noCloneEvent:true,inlineBlockNeedsLayout:false,shrinkWrapBlocks:false,reliableMarginRight:true};
bF.checked=true;bD.noCloneChecked=bF.cloneNode(true).checked;bH.disabled=true;bD.optDisabled=!by.disabled;try{delete bG.test}catch(bL){bD.deleteExpando=false}if(!bG.addEventListener&&bG.attachEvent&&bG.fireEvent){bG.attachEvent("onclick",function bI(){bD.noCloneEvent=false;bG.detachEvent("onclick",bI)});bG.cloneNode(true).fireEvent("onclick")}bF=av.createElement("input");bF.value="t";bF.setAttribute("type","radio");bD.radioValue=bF.value==="t";bF.setAttribute("checked","checked");bG.appendChild(bF);bx=av.createDocumentFragment();bx.appendChild(bG.firstChild);bD.checkClone=bx.cloneNode(true).cloneNode(true).lastChild.checked;bG.innerHTML="";bG.style.width=bG.style.paddingLeft="1px";bE=av.createElement("body");bw={visibility:"hidden",width:0,height:0,border:0,margin:0,background:"none"};for(bK in bw){bE.style[bK]=bw[bK]}bE.appendChild(bG);av.documentElement.appendChild(bE);bD.appendChecked=bF.checked;bD.boxModel=bG.offsetWidth===2;if("zoom" in bG.style){bG.style.display="inline";bG.style.zoom=1;bD.inlineBlockNeedsLayout=(bG.offsetWidth===2);bG.style.display="";bG.innerHTML="<div style='width:4px;'></div>";bD.shrinkWrapBlocks=(bG.offsetWidth!==2)}bG.innerHTML="<table><tr><td style='padding:0;border:0;display:none'></td><td>t</td></tr></table>";bJ=bG.getElementsByTagName("td");bN=(bJ[0].offsetHeight===0);bJ[0].style.display="";bJ[1].style.display="none";bD.reliableHiddenOffsets=bN&&(bJ[0].offsetHeight===0);bG.innerHTML="";if(av.defaultView&&av.defaultView.getComputedStyle){bB=av.createElement("div");bB.style.width="0";bB.style.marginRight="0";bG.appendChild(bB);bD.reliableMarginRight=(parseInt(av.defaultView.getComputedStyle(bB,null).marginRight,10)||0)===0}bE.innerHTML="";av.documentElement.removeChild(bE);if(bG.attachEvent){for(bK in {submit:1,change:1,focusin:1}){bC="on"+bK;bN=(bC in bG);if(!bN){bG.setAttribute(bC,"return;");bN=(typeof bG[bC]==="function")}bD[bK+"Bubbles"]=bN}}return bD})();b.boxModel=b.support.boxModel;var aQ=/^(?:\{.*\}|\[.*\])$/,aA=/([a-z])([A-Z])/g;b.extend({cache:{},uuid:0,expando:"jQuery"+(b.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:true,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:true},hasData:function(e){e=e.nodeType?b.cache[e[b.expando]]:e[b.expando];return !!e&&!Y(e)},data:function(by,bw,bA,bz){if(!b.acceptData(by)){return}var bD=b.expando,bC=typeof bw==="string",bB,bE=by.nodeType,e=bE?b.cache:by,bx=bE?by[b.expando]:by[b.expando]&&b.expando;if((!bx||(bz&&bx&&!e[bx][bD]))&&bC&&bA===P){return}if(!bx){if(bE){by[b.expando]=bx=++b.uuid}else{bx=b.expando}}if(!e[bx]){e[bx]={};if(!bE){e[bx].toJSON=b.noop}}if(typeof bw==="object"||typeof bw==="function"){if(bz){e[bx][bD]=b.extend(e[bx][bD],bw)}else{e[bx]=b.extend(e[bx],bw)}}bB=e[bx];if(bz){if(!bB[bD]){bB[bD]={}}bB=bB[bD]}if(bA!==P){bB[bw]=bA}if(bw==="events"&&!bB[bw]){return bB[bD]&&bB[bD].events}return bC?bB[bw]:bB},removeData:function(bz,bx,bA){if(!b.acceptData(bz)){return}var bC=b.expando,bD=bz.nodeType,bw=bD?b.cache:bz,by=bD?bz[b.expando]:b.expando;if(!bw[by]){return}if(bx){var bB=bA?bw[by][bC]:bw[by];if(bB){delete bB[bx];if(!Y(bB)){return}}}if(bA){delete bw[by][bC];if(!Y(bw[by])){return}}var e=bw[by][bC];if(b.support.deleteExpando||bw!=bd){delete bw[by]}else{bw[by]=null}if(e){bw[by]={};if(!bD){bw[by].toJSON=b.noop}bw[by][bC]=e}else{if(bD){if(b.support.deleteExpando){delete bz[b.expando]}else{if(bz.removeAttribute){bz.removeAttribute(b.expando)}else{bz[b.expando]=null}}}}},_data:function(bw,e,bx){return b.data(bw,e,bx,true)},acceptData:function(bw){if(bw.nodeName){var e=b.noData[bw.nodeName.toLowerCase()];if(e){return !(e===true||bw.getAttribute("classid")!==e)}}return true}});b.fn.extend({data:function(bz,bB){var bA=null;if(typeof bz==="undefined"){if(this.length){bA=b.data(this[0]);if(this[0].nodeType===1){var e=this[0].attributes,bx;for(var by=0,bw=e.length;by<bw;by++){bx=e[by].name;if(bx.indexOf("data-")===0){bx=b.camelCase(bx.substring(5));a6(this[0],bx,bA[bx])}}}}return bA}else{if(typeof bz==="object"){return this.each(function(){b.data(this,bz)
})}}var bC=bz.split(".");bC[1]=bC[1]?"."+bC[1]:"";if(bB===P){bA=this.triggerHandler("getData"+bC[1]+"!",[bC[0]]);if(bA===P&&this.length){bA=b.data(this[0],bz);bA=a6(this[0],bz,bA)}return bA===P&&bC[1]?this.data(bC[0]):bA}else{return this.each(function(){var bE=b(this),bD=[bC[0],bB];bE.triggerHandler("setData"+bC[1]+"!",bD);b.data(this,bz,bB);bE.triggerHandler("changeData"+bC[1]+"!",bD)})}},removeData:function(e){return this.each(function(){b.removeData(this,e)})}});function a6(bx,bw,by){if(by===P&&bx.nodeType===1){name="data-"+bw.replace(aA,"$1-$2").toLowerCase();by=bx.getAttribute(name);if(typeof by==="string"){try{by=by==="true"?true:by==="false"?false:by==="null"?null:!b.isNaN(by)?parseFloat(by):aQ.test(by)?b.parseJSON(by):by}catch(bz){}b.data(bx,bw,by)}else{by=P}}return by}function Y(bw){for(var e in bw){if(e!=="toJSON"){return false}}return true}function bi(bz,by,bB){var bx=by+"defer",bw=by+"queue",e=by+"mark",bA=b.data(bz,bx,P,true);if(bA&&(bB==="queue"||!b.data(bz,bw,P,true))&&(bB==="mark"||!b.data(bz,e,P,true))){setTimeout(function(){if(!b.data(bz,bw,P,true)&&!b.data(bz,e,P,true)){b.removeData(bz,bx,true);bA.resolve()}},0)}}b.extend({_mark:function(bw,e){if(bw){e=(e||"fx")+"mark";b.data(bw,e,(b.data(bw,e,P,true)||0)+1,true)}},_unmark:function(bz,by,bw){if(bz!==true){bw=by;by=bz;bz=false}if(by){bw=bw||"fx";var e=bw+"mark",bx=bz?0:((b.data(by,e,P,true)||1)-1);if(bx){b.data(by,e,bx,true)}else{b.removeData(by,e,true);bi(by,bw,"mark")}}},queue:function(bw,e,by){if(bw){e=(e||"fx")+"queue";var bx=b.data(bw,e,P,true);if(by){if(!bx||b.isArray(by)){bx=b.data(bw,e,b.makeArray(by),true)}else{bx.push(by)}}return bx||[]}},dequeue:function(by,bx){bx=bx||"fx";var e=b.queue(by,bx),bw=e.shift(),bz;if(bw==="inprogress"){bw=e.shift()}if(bw){if(bx==="fx"){e.unshift("inprogress")}bw.call(by,function(){b.dequeue(by,bx)})}if(!e.length){b.removeData(by,bx+"queue",true);bi(by,bx,"queue")}}});b.fn.extend({queue:function(e,bw){if(typeof e!=="string"){bw=e;e="fx"}if(bw===P){return b.queue(this[0],e)}return this.each(function(){var bx=b.queue(this,e,bw);if(e==="fx"&&bx[0]!=="inprogress"){b.dequeue(this,e)}})},dequeue:function(e){return this.each(function(){b.dequeue(this,e)})},delay:function(bw,e){bw=b.fx?b.fx.speeds[bw]||bw:bw;e=e||"fx";return this.queue(e,function(){var bx=this;setTimeout(function(){b.dequeue(bx,e)},bw)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(bD,bx){if(typeof bD!=="string"){bx=bD;bD=P}bD=bD||"fx";var e=b.Deferred(),bw=this,by=bw.length,bB=1,bz=bD+"defer",bA=bD+"queue",bC=bD+"mark";function bE(){if(!(--bB)){e.resolveWith(bw,[bw])}}while(by--){if((tmp=b.data(bw[by],bz,P,true)||(b.data(bw[by],bA,P,true)||b.data(bw[by],bC,P,true))&&b.data(bw[by],bz,b._Deferred(),true))){bB++;tmp.done(bE)}}bE();return e.promise()}});var aO=/[\n\t\r]/g,ah=/\s+/,aS=/\r/g,h=/^(?:button|input)$/i,I=/^(?:button|input|object|select|textarea)$/i,n=/^a(?:rea)?$/i,x=/^(?:data-|aria-)/,a9=/\:/,a4;b.fn.extend({attr:function(e,bw){return b.access(this,e,bw,true,b.attr)},removeAttr:function(e){return this.each(function(){b.removeAttr(this,e)})},prop:function(e,bw){return b.access(this,e,bw,true,b.prop)},removeProp:function(e){return this.each(function(){try{this[e]=P;delete this[e]}catch(bw){}})},addClass:function(bC){if(b.isFunction(bC)){return this.each(function(bF){var bE=b(this);bE.addClass(bC.call(this,bF,bE.attr("class")||""))})}if(bC&&typeof bC==="string"){var e=(bC||"").split(ah);for(var by=0,bx=this.length;by<bx;by++){var bw=this[by];if(bw.nodeType===1){if(!bw.className){bw.className=bC}else{var bz=" "+bw.className+" ",bB=bw.className;for(var bA=0,bD=e.length;bA<bD;bA++){if(bz.indexOf(" "+e[bA]+" ")<0){bB+=" "+e[bA]}}bw.className=b.trim(bB)}}}}return this},removeClass:function(bA){if(b.isFunction(bA)){return this.each(function(bE){var bD=b(this);bD.removeClass(bA.call(this,bE,bD.attr("class")))})}if((bA&&typeof bA==="string")||bA===P){var bB=(bA||"").split(ah);for(var bx=0,bw=this.length;bx<bw;bx++){var bz=this[bx];if(bz.nodeType===1&&bz.className){if(bA){var by=(" "+bz.className+" ").replace(aO," ");
for(var bC=0,e=bB.length;bC<e;bC++){by=by.replace(" "+bB[bC]+" "," ")}bz.className=b.trim(by)}else{bz.className=""}}}}return this},toggleClass:function(by,bw){var bx=typeof by,e=typeof bw==="boolean";if(b.isFunction(by)){return this.each(function(bA){var bz=b(this);bz.toggleClass(by.call(this,bA,bz.attr("class"),bw),bw)})}return this.each(function(){if(bx==="string"){var bB,bA=0,bz=b(this),bC=bw,bD=by.split(ah);while((bB=bD[bA++])){bC=e?bC:!bz.hasClass(bB);bz[bC?"addClass":"removeClass"](bB)}}else{if(bx==="undefined"||bx==="boolean"){if(this.className){b._data(this,"__className__",this.className)}this.className=this.className||by===false?"":b._data(this,"__className__")||""}}})},hasClass:function(e){var by=" "+e+" ";for(var bx=0,bw=this.length;bx<bw;bx++){if((" "+this[bx].className+" ").replace(aO," ").indexOf(by)>-1){return true}}return false},val:function(by){var e,bw,bx=this[0];if(!arguments.length){if(bx){e=b.valHooks[bx.nodeName.toLowerCase()]||b.valHooks[bx.type];if(e&&"get" in e&&(bw=e.get(bx,"value"))!==P){return bw}return(bx.value||"").replace(aS,"")}return P}var bz=b.isFunction(by);return this.each(function(bB){var bA=b(this),bC;if(this.nodeType!==1){return}if(bz){bC=by.call(this,bB,bA.val())}else{bC=by}if(bC==null){bC=""}else{if(typeof bC==="number"){bC+=""}else{if(b.isArray(bC)){bC=b.map(bC,function(bD){return bD==null?"":bD+""})}}}e=b.valHooks[this.nodeName.toLowerCase()]||b.valHooks[this.type];if(!e||("set" in e&&e.set(this,bC,"value")===P)){this.value=bC}})}});b.extend({valHooks:{option:{get:function(e){var bw=e.attributes.value;return !bw||bw.specified?e.value:e.text}},select:{get:function(bC){var by=bC.selectedIndex,bw=[],bx=bC.options,bA=bC.type==="select-one";if(by<0){return null}for(var bz=bA?by:0,e=bA?by+1:bx.length;bz<e;bz++){var bB=bx[bz];if(bB.selected&&(b.support.optDisabled?!bB.disabled:bB.getAttribute("disabled")===null)&&(!bB.parentNode.disabled||!b.nodeName(bB.parentNode,"optgroup"))){value=b(bB).val();if(bA){return value}bw.push(value)}}if(bA&&!bw.length&&bx.length){return b(bx[by]).val()}return bw},set:function(bw,bx){var e=b.makeArray(bx);b(bw).find("option").each(function(){this.selected=b.inArray(b(this).val(),e)>=0});if(!e.length){bw.selectedIndex=-1}return e}}},attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attrFix:{tabindex:"tabIndex",readonly:"readOnly"},attr:function(bB,by,bC,bA){var bw=bB.nodeType;if(!bB||bw===3||bw===8||bw===2){return P}if(bA&&by in b.attrFn){return b(bB)[by](bC)}var bx,e,bz=bw!==1||!b.isXMLDoc(bB);by=bz&&b.attrFix[by]||by;e=b.attrHooks[by]||(a4&&(b.nodeName(bB,"form")||a9.test(by))?a4:P);if(bC!==P){if(bC===null||(bC===false&&!x.test(by))){b.removeAttr(bB,by);return P}else{if(e&&"set" in e&&bz&&(bx=e.set(bB,bC,by))!==P){return bx}else{if(bC===true&&!x.test(by)){bC=by}bB.setAttribute(by,""+bC);return bC}}}else{if(e&&"get" in e&&bz){return e.get(bB,by)}else{bx=bB.getAttribute(by);return bx===null?P:bx}}},removeAttr:function(bw,e){if(bw.nodeType===1){e=b.attrFix[e]||e;if(b.support.getSetAttribute){bw.removeAttribute(e)}else{b.attr(bw,e,"");bw.removeAttributeNode(bw.getAttributeNode(e))}}},attrHooks:{type:{set:function(e,bw){if(h.test(e.nodeName)&&e.parentNode){b.error("type property can't be changed")}else{if(!b.support.radioValue&&bw==="radio"&&b.nodeName(e,"input")){var bx=e.getAttribute("value");e.setAttribute("type",bw);if(bx){e.value=bx}return bw}}}},tabIndex:{get:function(bw){var e=bw.getAttributeNode("tabIndex");return e&&e.specified?parseInt(e.value,10):I.test(bw.nodeName)||n.test(bw.nodeName)&&bw.href?0:P}}},propFix:{},prop:function(bA,by,bB){var bw=bA.nodeType;if(!bA||bw===3||bw===8||bw===2){return P}var bx,e,bz=bw!==1||!b.isXMLDoc(bA);by=bz&&b.propFix[by]||by;e=b.propHooks[by];if(bB!==P){if(e&&"set" in e&&(bx=e.set(bA,bB,by))!==P){return bx}else{return(bA[by]=bB)}}else{if(e&&"get" in e&&(bx=e.get(bA,by))!==P){return bx}else{return bA[by]}}},propHooks:{}});if(!b.support.getSetAttribute){b.attrFix=b.extend(b.attrFix,{"for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder"});
a4=b.attrHooks.name=b.attrHooks.value=b.valHooks.button={get:function(bx,bw){var e;if(bw==="value"&&!b.nodeName(bx,"button")){return bx.getAttribute(bw)}e=bx.getAttributeNode(bw);return e&&e.specified?e.nodeValue:P},set:function(bx,by,bw){var e=bx.getAttributeNode(bw);if(e){e.nodeValue=by;return by}}};b.each(["width","height"],function(bw,e){b.attrHooks[e]=b.extend(b.attrHooks[e],{set:function(bx,by){if(by===""){bx.setAttribute(e,"auto");return by}}})})}if(!b.support.hrefNormalized){b.each(["href","src","width","height"],function(bw,e){b.attrHooks[e]=b.extend(b.attrHooks[e],{get:function(by){var bx=by.getAttribute(e,2);return bx===null?P:bx}})})}if(!b.support.style){b.attrHooks.style={get:function(e){return e.style.cssText.toLowerCase()||P},set:function(e,bw){return(e.style.cssText=""+bw)}}}if(!b.support.optSelected){b.propHooks.selected=b.extend(b.propHooks.selected,{get:function(bw){var e=bw.parentNode;if(e){e.selectedIndex;if(e.parentNode){e.parentNode.selectedIndex}}}})}if(!b.support.checkOn){b.each(["radio","checkbox"],function(){b.valHooks[this]={get:function(e){return e.getAttribute("value")===null?"on":e.value}}})}b.each(["radio","checkbox"],function(){b.valHooks[this]=b.extend(b.valHooks[this],{set:function(e,bw){if(b.isArray(bw)){return(e.checked=b.inArray(b(e).val(),bw)>=0)}}})});var aH=Object.prototype.hasOwnProperty,a0=/\.(.*)$/,bf=/^(?:textarea|input|select)$/i,S=/\./g,bj=/ /g,aG=/[^\w\s.|`]/g,L=function(e){return e.replace(aG,"\\$&")};b.event={add:function(by,bC,bH,bA){if(by.nodeType===3||by.nodeType===8){return}if(bH===false){bH=bl}else{if(!bH){return}}var bw,bG;if(bH.handler){bw=bH;bH=bw.handler}if(!bH.guid){bH.guid=b.guid++}var bD=b._data(by);if(!bD){return}var bI=bD.events,bB=bD.handle;if(!bI){bD.events=bI={}}if(!bB){bD.handle=bB=function(bJ){return typeof b!=="undefined"&&(!bJ||b.event.triggered!==bJ.type)?b.event.handle.apply(bB.elem,arguments):P}}bB.elem=by;bC=bC.split(" ");var bF,bz=0,e;while((bF=bC[bz++])){bG=bw?b.extend({},bw):{handler:bH,data:bA};if(bF.indexOf(".")>-1){e=bF.split(".");bF=e.shift();bG.namespace=e.slice(0).sort().join(".")}else{e=[];bG.namespace=""}bG.type=bF;if(!bG.guid){bG.guid=bH.guid}var bx=bI[bF],bE=b.event.special[bF]||{};if(!bx){bx=bI[bF]=[];if(!bE.setup||bE.setup.call(by,bA,e,bB)===false){if(by.addEventListener){by.addEventListener(bF,bB,false)}else{if(by.attachEvent){by.attachEvent("on"+bF,bB)}}}}if(bE.add){bE.add.call(by,bG);if(!bG.handler.guid){bG.handler.guid=bH.guid}}bx.push(bG);b.event.global[bF]=true}by=null},global:{},remove:function(bK,bF,bx,bB){if(bK.nodeType===3||bK.nodeType===8){return}if(bx===false){bx=bl}var bN,bA,bC,bH,bI=0,by,bD,bG,bz,bE,e,bM,bJ=b.hasData(bK)&&b._data(bK),bw=bJ&&bJ.events;if(!bJ||!bw){return}if(bF&&bF.type){bx=bF.handler;bF=bF.type}if(!bF||typeof bF==="string"&&bF.charAt(0)==="."){bF=bF||"";for(bA in bw){b.event.remove(bK,bA+bF)}return}bF=bF.split(" ");while((bA=bF[bI++])){bM=bA;e=null;by=bA.indexOf(".")<0;bD=[];if(!by){bD=bA.split(".");bA=bD.shift();bG=new RegExp("(^|\\.)"+b.map(bD.slice(0).sort(),L).join("\\.(?:.*\\.)?")+"(\\.|$)")}bE=bw[bA];if(!bE){continue}if(!bx){for(bH=0;bH<bE.length;bH++){e=bE[bH];if(by||bG.test(e.namespace)){b.event.remove(bK,bM,e.handler,bH);bE.splice(bH--,1)}}continue}bz=b.event.special[bA]||{};for(bH=bB||0;bH<bE.length;bH++){e=bE[bH];if(bx.guid===e.guid){if(by||bG.test(e.namespace)){if(bB==null){bE.splice(bH--,1)}if(bz.remove){bz.remove.call(bK,e)}}if(bB!=null){break}}}if(bE.length===0||bB!=null&&bE.length===1){if(!bz.teardown||bz.teardown.call(bK,bD)===false){b.removeEvent(bK,bA,bJ.handle)}bN=null;delete bw[bA]}}if(b.isEmptyObject(bw)){var bL=bJ.handle;if(bL){bL.elem=null}delete bJ.events;delete bJ.handle;if(b.isEmptyObject(bJ)){b.removeData(bK,P,true)}}},customEvent:{getData:true,setData:true,changeData:true},trigger:function(e,bC,bA,bH){var bF=e.type||e,bx=[],bw;if(bF.indexOf("!")>=0){bF=bF.slice(0,-1);bw=true}if(bF.indexOf(".")>=0){bx=bF.split(".");bF=bx.shift();bx.sort()}if((!bA||b.event.customEvent[bF])&&!b.event.global[bF]){return
}e=typeof e==="object"?e[b.expando]?e:new b.Event(bF,e):new b.Event(bF);e.type=bF;e.exclusive=bw;e.namespace=bx.join(".");e.namespace_re=new RegExp("(^|\\.)"+bx.join("\\.(?:.*\\.)?")+"(\\.|$)");if(bH||!bA){e.preventDefault();e.stopPropagation()}if(!bA){b.each(b.cache,function(){var bJ=b.expando,bI=this[bJ];if(bI&&bI.events&&bI.events[bF]){b.event.trigger(e,bC,bI.handle.elem)}});return}if(bA.nodeType===3||bA.nodeType===8){return}e.result=P;e.target=bA;bC=bC?b.makeArray(bC):[];bC.unshift(e);var bG=bA,by=bF.indexOf(":")<0?"on"+bF:"";do{var bD=b._data(bG,"handle");e.currentTarget=bG;if(bD){bD.apply(bG,bC)}if(by&&b.acceptData(bG)&&bG[by]&&bG[by].apply(bG,bC)===false){e.result=false;e.preventDefault()}bG=bG.parentNode||bG.ownerDocument||bG===e.target.ownerDocument&&bd}while(bG&&!e.isPropagationStopped());if(!e.isDefaultPrevented()){var bz,bE=b.event.special[bF]||{};if((!bE._default||bE._default.call(bA.ownerDocument,e)===false)&&!(bF==="click"&&b.nodeName(bA,"a"))&&b.acceptData(bA)){try{if(by&&bA[bF]){bz=bA[by];if(bz){bA[by]=null}b.event.triggered=bF;bA[bF]()}}catch(bB){}if(bz){bA[by]=bz}b.event.triggered=P}}return e.result},handle:function(bC){bC=b.event.fix(bC||bd.event);var bw=((b._data(this,"events")||{})[bC.type]||[]).slice(0),bB=!bC.exclusive&&!bC.namespace,bz=Array.prototype.slice.call(arguments,0);bz[0]=bC;bC.currentTarget=this;for(var by=0,e=bw.length;by<e;by++){var bA=bw[by];if(bB||bC.namespace_re.test(bA.namespace)){bC.handler=bA.handler;bC.data=bA.data;bC.handleObj=bA;var bx=bA.handler.apply(this,bz);if(bx!==P){bC.result=bx;if(bx===false){bC.preventDefault();bC.stopPropagation()}}if(bC.isImmediatePropagationStopped()){break}}}return bC.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(bz){if(bz[b.expando]){return bz}var bw=bz;bz=b.Event(bw);for(var bx=this.props.length,bB;bx;){bB=this.props[--bx];bz[bB]=bw[bB]}if(!bz.target){bz.target=bz.srcElement||av}if(bz.target.nodeType===3){bz.target=bz.target.parentNode}if(!bz.relatedTarget&&bz.fromElement){bz.relatedTarget=bz.fromElement===bz.target?bz.toElement:bz.fromElement}if(bz.pageX==null&&bz.clientX!=null){var by=bz.target.ownerDocument||av,bA=by.documentElement,e=by.body;bz.pageX=bz.clientX+(bA&&bA.scrollLeft||e&&e.scrollLeft||0)-(bA&&bA.clientLeft||e&&e.clientLeft||0);bz.pageY=bz.clientY+(bA&&bA.scrollTop||e&&e.scrollTop||0)-(bA&&bA.clientTop||e&&e.clientTop||0)}if(bz.which==null&&(bz.charCode!=null||bz.keyCode!=null)){bz.which=bz.charCode!=null?bz.charCode:bz.keyCode}if(!bz.metaKey&&bz.ctrlKey){bz.metaKey=bz.ctrlKey}if(!bz.which&&bz.button!==P){bz.which=(bz.button&1?1:(bz.button&2?3:(bz.button&4?2:0)))}return bz},guid:100000000,proxy:b.proxy,special:{ready:{setup:b.bindReady,teardown:b.noop},live:{add:function(e){b.event.add(this,t(e.origType,e.selector),b.extend({},e,{handler:an,guid:e.handler.guid}))},remove:function(e){b.event.remove(this,t(e.origType,e.selector),e)}},beforeunload:{setup:function(bx,bw,e){if(b.isWindow(this)){this.onbeforeunload=e}},teardown:function(bw,e){if(this.onbeforeunload===e){this.onbeforeunload=null}}}}};b.removeEvent=av.removeEventListener?function(bw,e,bx){if(bw.removeEventListener){bw.removeEventListener(e,bx,false)}}:function(bw,e,bx){if(bw.detachEvent){bw.detachEvent("on"+e,bx)}};b.Event=function(bw,e){if(!this.preventDefault){return new b.Event(bw,e)}if(bw&&bw.type){this.originalEvent=bw;this.type=bw.type;this.isDefaultPrevented=(bw.defaultPrevented||bw.returnValue===false||bw.getPreventDefault&&bw.getPreventDefault())?k:bl}else{this.type=bw}if(e){b.extend(this,e)}this.timeStamp=b.now();this[b.expando]=true};function bl(){return false}function k(){return true}b.Event.prototype={preventDefault:function(){this.isDefaultPrevented=k;var bw=this.originalEvent;
if(!bw){return}if(bw.preventDefault){bw.preventDefault()}else{bw.returnValue=false}},stopPropagation:function(){this.isPropagationStopped=k;var bw=this.originalEvent;if(!bw){return}if(bw.stopPropagation){bw.stopPropagation()}bw.cancelBubble=true},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=k;this.stopPropagation()},isDefaultPrevented:bl,isPropagationStopped:bl,isImmediatePropagationStopped:bl};var ag=function(bx){var bw=bx.relatedTarget;try{if(bw&&bw!==av&&!bw.parentNode){return}while(bw&&bw!==this){bw=bw.parentNode}if(bw!==this){bx.type=bx.data;b.event.handle.apply(this,arguments)}}catch(by){}},aV=function(e){e.type=e.data;b.event.handle.apply(this,arguments)};b.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(bw,e){b.event.special[bw]={setup:function(bx){b.event.add(this,e,bx&&bx.selector?aV:ag,bw)},teardown:function(bx){b.event.remove(this,e,bx&&bx.selector?aV:ag)}}});if(!b.support.submitBubbles){b.event.special.submit={setup:function(bw,e){if(!b.nodeName(this,"form")){b.event.add(this,"click.specialSubmit",function(bz){var by=bz.target,bx=by.type;if((bx==="submit"||bx==="image")&&b(by).closest("form").length){aY("submit",this,arguments)}});b.event.add(this,"keypress.specialSubmit",function(bz){var by=bz.target,bx=by.type;if((bx==="text"||bx==="password")&&b(by).closest("form").length&&bz.keyCode===13){aY("submit",this,arguments)}})}else{return false}},teardown:function(e){b.event.remove(this,".specialSubmit")}}}if(!b.support.changeBubbles){var bo,m=function(bw){var e=bw.type,bx=bw.value;if(e==="radio"||e==="checkbox"){bx=bw.checked}else{if(e==="select-multiple"){bx=bw.selectedIndex>-1?b.map(bw.options,function(by){return by.selected}).join("-"):""}else{if(b.nodeName(bw,"select")){bx=bw.selectedIndex}}}return bx},ae=function ae(by){var bw=by.target,bx,bz;if(!bf.test(bw.nodeName)||bw.readOnly){return}bx=b._data(bw,"_change_data");bz=m(bw);if(by.type!=="focusout"||bw.type!=="radio"){b._data(bw,"_change_data",bz)}if(bx===P||bz===bx){return}if(bx!=null||bz){by.type="change";by.liveFired=P;b.event.trigger(by,arguments[1],bw)}};b.event.special.change={filters:{focusout:ae,beforedeactivate:ae,click:function(by){var bx=by.target,bw=b.nodeName(bx,"input")?bx.type:"";if(bw==="radio"||bw==="checkbox"||b.nodeName(bx,"select")){ae.call(this,by)}},keydown:function(by){var bx=by.target,bw=b.nodeName(bx,"input")?bx.type:"";if((by.keyCode===13&&!b.nodeName(bx,"textarea"))||(by.keyCode===32&&(bw==="checkbox"||bw==="radio"))||bw==="select-multiple"){ae.call(this,by)}},beforeactivate:function(bx){var bw=bx.target;b._data(bw,"_change_data",m(bw))}},setup:function(bx,bw){if(this.type==="file"){return false}for(var e in bo){b.event.add(this,e+".specialChange",bo[e])}return bf.test(this.nodeName)},teardown:function(e){b.event.remove(this,".specialChange");return bf.test(this.nodeName)}};bo=b.event.special.change.filters;bo.focus=bo.beforeactivate}function aY(bw,by,e){var bx=b.extend({},e[0]);bx.type=bw;bx.originalEvent={};bx.liveFired=P;b.event.handle.call(by,bx);if(bx.isDefaultPrevented()){e[0].preventDefault()}}if(!b.support.focusinBubbles){b.each({focus:"focusin",blur:"focusout"},function(by,e){var bw=0;b.event.special[e]={setup:function(){if(bw++===0){av.addEventListener(by,bx,true)}},teardown:function(){if(--bw===0){av.removeEventListener(by,bx,true)}}};function bx(bz){var bA=b.event.fix(bz);bA.type=e;bA.originalEvent={};b.event.trigger(bA,null,bA.target);if(bA.isDefaultPrevented()){bz.preventDefault()}}})}b.each(["bind","one"],function(bw,e){b.fn[e]=function(bC,bD,bB){var bA;if(typeof bC==="object"){for(var bz in bC){this[e](bz,bD,bC[bz],bB)}return this}if(arguments.length===2||bD===false){bB=bD;bD=P}if(e==="one"){bA=function(bE){b(this).unbind(bE,bA);return bB.apply(this,arguments)};bA.guid=bB.guid||b.guid++}else{bA=bB}if(bC==="unload"&&e!=="one"){this.one(bC,bD,bB)}else{for(var by=0,bx=this.length;by<bx;by++){b.event.add(this[by],bC,bA,bD)}}return this}});b.fn.extend({unbind:function(bz,by){if(typeof bz==="object"&&!bz.preventDefault){for(var bx in bz){this.unbind(bx,bz[bx])
}}else{for(var bw=0,e=this.length;bw<e;bw++){b.event.remove(this[bw],bz,by)}}return this},delegate:function(e,bw,by,bx){return this.live(bw,by,bx,e)},undelegate:function(e,bw,bx){if(arguments.length===0){return this.unbind("live")}else{return this.die(bw,null,bx,e)}},trigger:function(e,bw){return this.each(function(){b.event.trigger(e,bw,this)})},triggerHandler:function(e,bw){if(this[0]){return b.event.trigger(e,bw,this[0],true)}},toggle:function(by){var bw=arguments,e=by.guid||b.guid++,bx=0,bz=function(bA){var bB=(b.data(this,"lastToggle"+by.guid)||0)%bx;b.data(this,"lastToggle"+by.guid,bB+1);bA.preventDefault();return bw[bB].apply(this,arguments)||false};bz.guid=e;while(bx<bw.length){bw[bx++].guid=e}return this.click(bz)},hover:function(e,bw){return this.mouseenter(e).mouseleave(bw||e)}});var aT={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};b.each(["live","die"],function(bw,e){b.fn[e]=function(bG,bD,bI,bz){var bH,bE=0,bF,by,bK,bB=bz||this.selector,bx=bz?this:b(this.context);if(typeof bG==="object"&&!bG.preventDefault){for(var bJ in bG){bx[e](bJ,bD,bG[bJ],bB)}return this}if(e==="die"&&!bG&&bz&&bz.charAt(0)==="."){bx.unbind(bz);return this}if(bD===false||b.isFunction(bD)){bI=bD||bl;bD=P}bG=(bG||"").split(" ");while((bH=bG[bE++])!=null){bF=a0.exec(bH);by="";if(bF){by=bF[0];bH=bH.replace(a0,"")}if(bH==="hover"){bG.push("mouseenter"+by,"mouseleave"+by);continue}bK=bH;if(aT[bH]){bG.push(aT[bH]+by);bH=bH+by}else{bH=(aT[bH]||bH)+by}if(e==="live"){for(var bC=0,bA=bx.length;bC<bA;bC++){b.event.add(bx[bC],"live."+t(bH,bB),{data:bD,selector:bB,handler:bI,origType:bH,origHandler:bI,preType:bK})}}else{bx.unbind("live."+t(bH,bB),bI)}}return this}});function an(bG){var bD,by,bM,bA,e,bI,bF,bH,bE,bL,bC,bB,bK,bJ=[],bz=[],bw=b._data(this,"events");if(bG.liveFired===this||!bw||!bw.live||bG.target.disabled||bG.button&&bG.type==="click"){return}if(bG.namespace){bB=new RegExp("(^|\\.)"+bG.namespace.split(".").join("\\.(?:.*\\.)?")+"(\\.|$)")}bG.liveFired=this;var bx=bw.live.slice(0);for(bF=0;bF<bx.length;bF++){e=bx[bF];if(e.origType.replace(a0,"")===bG.type){bz.push(e.selector)}else{bx.splice(bF--,1)}}bA=b(bG.target).closest(bz,bG.currentTarget);for(bH=0,bE=bA.length;bH<bE;bH++){bC=bA[bH];for(bF=0;bF<bx.length;bF++){e=bx[bF];if(bC.selector===e.selector&&(!bB||bB.test(e.namespace))&&!bC.elem.disabled){bI=bC.elem;bM=null;if(e.preType==="mouseenter"||e.preType==="mouseleave"){bG.type=e.preType;bM=b(bG.relatedTarget).closest(e.selector)[0];if(bM&&b.contains(bI,bM)){bM=bI}}if(!bM||bM!==bI){bJ.push({elem:bI,handleObj:e,level:bC.level})}}}}for(bH=0,bE=bJ.length;bH<bE;bH++){bA=bJ[bH];if(by&&bA.level>by){break}bG.currentTarget=bA.elem;bG.data=bA.handleObj.data;bG.handleObj=bA.handleObj;bK=bA.handleObj.origHandler.apply(bA.elem,arguments);if(bK===false||bG.isPropagationStopped()){by=bA.level;if(bK===false){bD=false}if(bG.isImmediatePropagationStopped()){break}}}return bD}function t(bw,e){return(bw&&bw!=="*"?bw+".":"")+e.replace(S,"`").replace(bj,"&")}b.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(bw,e){b.fn[e]=function(by,bx){if(bx==null){bx=by;by=null}return arguments.length>0?this.bind(e,by,bx):this.trigger(e)};if(b.attrFn){b.attrFn[e]=true}});
/*
 * Sizzle CSS Selector Engine
 *  Copyright 2011, The Dojo Foundation
 *  Released under the MIT, BSD, and GPL Licenses.
 *  More information: http://sizzlejs.com/
 */
(function(){var bG=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,bH=0,bK=Object.prototype.toString,bB=false,bA=true,bI=/\\/g,bO=/\W/;[0,0].sort(function(){bA=false;return 0});var by=function(bT,e,bW,bX){bW=bW||[];e=e||av;var bZ=e;if(e.nodeType!==1&&e.nodeType!==9){return[]}if(!bT||typeof bT!=="string"){return bW}var bQ,b1,b4,bP,b0,b3,b2,bV,bS=true,bR=by.isXML(e),bU=[],bY=bT;
do{bG.exec("");bQ=bG.exec(bY);if(bQ){bY=bQ[3];bU.push(bQ[1]);if(bQ[2]){bP=bQ[3];break}}}while(bQ);if(bU.length>1&&bC.exec(bT)){if(bU.length===2&&bD.relative[bU[0]]){b1=bL(bU[0]+bU[1],e)}else{b1=bD.relative[bU[0]]?[e]:by(bU.shift(),e);while(bU.length){bT=bU.shift();if(bD.relative[bT]){bT+=bU.shift()}b1=bL(bT,b1)}}}else{if(!bX&&bU.length>1&&e.nodeType===9&&!bR&&bD.match.ID.test(bU[0])&&!bD.match.ID.test(bU[bU.length-1])){b0=by.find(bU.shift(),e,bR);e=b0.expr?by.filter(b0.expr,b0.set)[0]:b0.set[0]}if(e){b0=bX?{expr:bU.pop(),set:bE(bX)}:by.find(bU.pop(),bU.length===1&&(bU[0]==="~"||bU[0]==="+")&&e.parentNode?e.parentNode:e,bR);b1=b0.expr?by.filter(b0.expr,b0.set):b0.set;if(bU.length>0){b4=bE(b1)}else{bS=false}while(bU.length){b3=bU.pop();b2=b3;if(!bD.relative[b3]){b3=""}else{b2=bU.pop()}if(b2==null){b2=e}bD.relative[b3](b4,b2,bR)}}else{b4=bU=[]}}if(!b4){b4=b1}if(!b4){by.error(b3||bT)}if(bK.call(b4)==="[object Array]"){if(!bS){bW.push.apply(bW,b4)}else{if(e&&e.nodeType===1){for(bV=0;b4[bV]!=null;bV++){if(b4[bV]&&(b4[bV]===true||b4[bV].nodeType===1&&by.contains(e,b4[bV]))){bW.push(b1[bV])}}}else{for(bV=0;b4[bV]!=null;bV++){if(b4[bV]&&b4[bV].nodeType===1){bW.push(b1[bV])}}}}}else{bE(b4,bW)}if(bP){by(bP,bZ,bW,bX);by.uniqueSort(bW)}return bW};by.uniqueSort=function(bP){if(bJ){bB=bA;bP.sort(bJ);if(bB){for(var e=1;e<bP.length;e++){if(bP[e]===bP[e-1]){bP.splice(e--,1)}}}}return bP};by.matches=function(e,bP){return by(e,null,null,bP)};by.matchesSelector=function(e,bP){return by(bP,null,null,[e]).length>0};by.find=function(bV,e,bW){var bU;if(!bV){return[]}for(var bR=0,bQ=bD.order.length;bR<bQ;bR++){var bS,bT=bD.order[bR];if((bS=bD.leftMatch[bT].exec(bV))){var bP=bS[1];bS.splice(1,1);if(bP.substr(bP.length-1)!=="\\"){bS[1]=(bS[1]||"").replace(bI,"");bU=bD.find[bT](bS,e,bW);if(bU!=null){bV=bV.replace(bD.match[bT],"");break}}}}if(!bU){bU=typeof e.getElementsByTagName!=="undefined"?e.getElementsByTagName("*"):[]}return{set:bU,expr:bV}};by.filter=function(bZ,bY,b2,bS){var bU,e,bQ=bZ,b4=[],bW=bY,bV=bY&&bY[0]&&by.isXML(bY[0]);while(bZ&&bY.length){for(var bX in bD.filter){if((bU=bD.leftMatch[bX].exec(bZ))!=null&&bU[2]){var b3,b1,bP=bD.filter[bX],bR=bU[1];e=false;bU.splice(1,1);if(bR.substr(bR.length-1)==="\\"){continue}if(bW===b4){b4=[]}if(bD.preFilter[bX]){bU=bD.preFilter[bX](bU,bW,b2,b4,bS,bV);if(!bU){e=b3=true}else{if(bU===true){continue}}}if(bU){for(var bT=0;(b1=bW[bT])!=null;bT++){if(b1){b3=bP(b1,bU,bT,bW);var b0=bS^!!b3;if(b2&&b3!=null){if(b0){e=true}else{bW[bT]=false}}else{if(b0){b4.push(b1);e=true}}}}}if(b3!==P){if(!b2){bW=b4}bZ=bZ.replace(bD.match[bX],"");if(!e){return[]}break}}}if(bZ===bQ){if(e==null){by.error(bZ)}else{break}}bQ=bZ}return bW};by.error=function(e){throw"Syntax error, unrecognized expression: "+e};var bD=by.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|(#?(?:[\w\u00c0-\uFFFF\-]|\\.)*)|)|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\(\s*(even|odd|(?:[+\-]?\d+|(?:[+\-]?\d*)?n\s*(?:[+\-]\s*\d+)?))\s*\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(e){return e.getAttribute("href")},type:function(e){return e.getAttribute("type")}},relative:{"+":function(bU,bP){var bR=typeof bP==="string",bT=bR&&!bO.test(bP),bV=bR&&!bT;if(bT){bP=bP.toLowerCase()}for(var bQ=0,e=bU.length,bS;bQ<e;bQ++){if((bS=bU[bQ])){while((bS=bS.previousSibling)&&bS.nodeType!==1){}bU[bQ]=bV||bS&&bS.nodeName.toLowerCase()===bP?bS||false:bS===bP}}if(bV){by.filter(bP,bU,true)}},">":function(bU,bP){var bT,bS=typeof bP==="string",bQ=0,e=bU.length;if(bS&&!bO.test(bP)){bP=bP.toLowerCase();for(;bQ<e;bQ++){bT=bU[bQ];if(bT){var bR=bT.parentNode;
bU[bQ]=bR.nodeName.toLowerCase()===bP?bR:false}}}else{for(;bQ<e;bQ++){bT=bU[bQ];if(bT){bU[bQ]=bS?bT.parentNode:bT.parentNode===bP}}if(bS){by.filter(bP,bU,true)}}},"":function(bR,bP,bT){var bS,bQ=bH++,e=bM;if(typeof bP==="string"&&!bO.test(bP)){bP=bP.toLowerCase();bS=bP;e=bw}e("parentNode",bP,bQ,bR,bS,bT)},"~":function(bR,bP,bT){var bS,bQ=bH++,e=bM;if(typeof bP==="string"&&!bO.test(bP)){bP=bP.toLowerCase();bS=bP;e=bw}e("previousSibling",bP,bQ,bR,bS,bT)}},find:{ID:function(bP,bQ,bR){if(typeof bQ.getElementById!=="undefined"&&!bR){var e=bQ.getElementById(bP[1]);return e&&e.parentNode?[e]:[]}},NAME:function(bQ,bT){if(typeof bT.getElementsByName!=="undefined"){var bP=[],bS=bT.getElementsByName(bQ[1]);for(var bR=0,e=bS.length;bR<e;bR++){if(bS[bR].getAttribute("name")===bQ[1]){bP.push(bS[bR])}}return bP.length===0?null:bP}},TAG:function(e,bP){if(typeof bP.getElementsByTagName!=="undefined"){return bP.getElementsByTagName(e[1])}}},preFilter:{CLASS:function(bR,bP,bQ,e,bU,bV){bR=" "+bR[1].replace(bI,"")+" ";if(bV){return bR}for(var bS=0,bT;(bT=bP[bS])!=null;bS++){if(bT){if(bU^(bT.className&&(" "+bT.className+" ").replace(/[\t\n\r]/g," ").indexOf(bR)>=0)){if(!bQ){e.push(bT)}}else{if(bQ){bP[bS]=false}}}}return false},ID:function(e){return e[1].replace(bI,"")},TAG:function(bP,e){return bP[1].replace(bI,"").toLowerCase()},CHILD:function(e){if(e[1]==="nth"){if(!e[2]){by.error(e[0])}e[2]=e[2].replace(/^\+|\s*/g,"");var bP=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(e[2]==="even"&&"2n"||e[2]==="odd"&&"2n+1"||!/\D/.test(e[2])&&"0n+"+e[2]||e[2]);e[2]=(bP[1]+(bP[2]||1))-0;e[3]=bP[3]-0}else{if(e[2]){by.error(e[0])}}e[0]=bH++;return e},ATTR:function(bS,bP,bQ,e,bT,bU){var bR=bS[1]=bS[1].replace(bI,"");if(!bU&&bD.attrMap[bR]){bS[1]=bD.attrMap[bR]}bS[4]=(bS[4]||bS[5]||"").replace(bI,"");if(bS[2]==="~="){bS[4]=" "+bS[4]+" "}return bS},PSEUDO:function(bS,bP,bQ,e,bT){if(bS[1]==="not"){if((bG.exec(bS[3])||"").length>1||/^\w/.test(bS[3])){bS[3]=by(bS[3],null,null,bP)}else{var bR=by.filter(bS[3],bP,bQ,true^bT);if(!bQ){e.push.apply(e,bR)}return false}}else{if(bD.match.POS.test(bS[0])||bD.match.CHILD.test(bS[0])){return true}}return bS},POS:function(e){e.unshift(true);return e}},filters:{enabled:function(e){return e.disabled===false&&e.type!=="hidden"},disabled:function(e){return e.disabled===true},checked:function(e){return e.checked===true},selected:function(e){if(e.parentNode){e.parentNode.selectedIndex}return e.selected===true},parent:function(e){return !!e.firstChild},empty:function(e){return !e.firstChild},has:function(bQ,bP,e){return !!by(e[3],bQ).length},header:function(e){return(/h\d/i).test(e.nodeName)},text:function(bQ){var e=bQ.getAttribute("type"),bP=bQ.type;return bQ.nodeName.toLowerCase()==="input"&&"text"===bP&&(e===bP||e===null)},radio:function(e){return e.nodeName.toLowerCase()==="input"&&"radio"===e.type},checkbox:function(e){return e.nodeName.toLowerCase()==="input"&&"checkbox"===e.type},file:function(e){return e.nodeName.toLowerCase()==="input"&&"file"===e.type},password:function(e){return e.nodeName.toLowerCase()==="input"&&"password"===e.type},submit:function(bP){var e=bP.nodeName.toLowerCase();return(e==="input"||e==="button")&&"submit"===bP.type},image:function(e){return e.nodeName.toLowerCase()==="input"&&"image"===e.type},reset:function(e){return e.nodeName.toLowerCase()==="input"&&"reset"===e.type},button:function(bP){var e=bP.nodeName.toLowerCase();return e==="input"&&"button"===bP.type||e==="button"},input:function(e){return(/input|select|textarea|button/i).test(e.nodeName)},focus:function(e){return e===e.ownerDocument.activeElement}},setFilters:{first:function(bP,e){return e===0},last:function(bQ,bP,e,bR){return bP===bR.length-1},even:function(bP,e){return e%2===0},odd:function(bP,e){return e%2===1},lt:function(bQ,bP,e){return bP<e[3]-0},gt:function(bQ,bP,e){return bP>e[3]-0},nth:function(bQ,bP,e){return e[3]-0===bP},eq:function(bQ,bP,e){return e[3]-0===bP}},filter:{PSEUDO:function(bQ,bV,bU,bW){var e=bV[1],bP=bD.filters[e];if(bP){return bP(bQ,bU,bV,bW)
}else{if(e==="contains"){return(bQ.textContent||bQ.innerText||by.getText([bQ])||"").indexOf(bV[3])>=0}else{if(e==="not"){var bR=bV[3];for(var bT=0,bS=bR.length;bT<bS;bT++){if(bR[bT]===bQ){return false}}return true}else{by.error(e)}}}},CHILD:function(e,bR){var bU=bR[1],bP=e;switch(bU){case"only":case"first":while((bP=bP.previousSibling)){if(bP.nodeType===1){return false}}if(bU==="first"){return true}bP=e;case"last":while((bP=bP.nextSibling)){if(bP.nodeType===1){return false}}return true;case"nth":var bQ=bR[2],bX=bR[3];if(bQ===1&&bX===0){return true}var bT=bR[0],bW=e.parentNode;if(bW&&(bW.sizcache!==bT||!e.nodeIndex)){var bS=0;for(bP=bW.firstChild;bP;bP=bP.nextSibling){if(bP.nodeType===1){bP.nodeIndex=++bS}}bW.sizcache=bT}var bV=e.nodeIndex-bX;if(bQ===0){return bV===0}else{return(bV%bQ===0&&bV/bQ>=0)}}},ID:function(bP,e){return bP.nodeType===1&&bP.getAttribute("id")===e},TAG:function(bP,e){return(e==="*"&&bP.nodeType===1)||bP.nodeName.toLowerCase()===e},CLASS:function(bP,e){return(" "+(bP.className||bP.getAttribute("class"))+" ").indexOf(e)>-1},ATTR:function(bT,bR){var bQ=bR[1],e=bD.attrHandle[bQ]?bD.attrHandle[bQ](bT):bT[bQ]!=null?bT[bQ]:bT.getAttribute(bQ),bU=e+"",bS=bR[2],bP=bR[4];return e==null?bS==="!=":bS==="="?bU===bP:bS==="*="?bU.indexOf(bP)>=0:bS==="~="?(" "+bU+" ").indexOf(bP)>=0:!bP?bU&&e!==false:bS==="!="?bU!==bP:bS==="^="?bU.indexOf(bP)===0:bS==="$="?bU.substr(bU.length-bP.length)===bP:bS==="|="?bU===bP||bU.substr(0,bP.length+1)===bP+"-":false},POS:function(bS,bP,bQ,bT){var e=bP[2],bR=bD.setFilters[e];if(bR){return bR(bS,bQ,bP,bT)}}}};var bC=bD.match.POS,bx=function(bP,e){return"\\"+(e-0+1)};for(var bz in bD.match){bD.match[bz]=new RegExp(bD.match[bz].source+(/(?![^\[]*\])(?![^\(]*\))/.source));bD.leftMatch[bz]=new RegExp(/(^(?:.|\r|\n)*?)/.source+bD.match[bz].source.replace(/\\(\d+)/g,bx))}var bE=function(bP,e){bP=Array.prototype.slice.call(bP,0);if(e){e.push.apply(e,bP);return e}return bP};try{Array.prototype.slice.call(av.documentElement.childNodes,0)[0].nodeType}catch(bN){bE=function(bS,bR){var bQ=0,bP=bR||[];if(bK.call(bS)==="[object Array]"){Array.prototype.push.apply(bP,bS)}else{if(typeof bS.length==="number"){for(var e=bS.length;bQ<e;bQ++){bP.push(bS[bQ])}}else{for(;bS[bQ];bQ++){bP.push(bS[bQ])}}}return bP}}var bJ,bF;if(av.documentElement.compareDocumentPosition){bJ=function(bP,e){if(bP===e){bB=true;return 0}if(!bP.compareDocumentPosition||!e.compareDocumentPosition){return bP.compareDocumentPosition?-1:1}return bP.compareDocumentPosition(e)&4?-1:1}}else{bJ=function(bW,bV){var bT,bP,bQ=[],e=[],bS=bW.parentNode,bU=bV.parentNode,bX=bS;if(bW===bV){bB=true;return 0}else{if(bS===bU){return bF(bW,bV)}else{if(!bS){return -1}else{if(!bU){return 1}}}}while(bX){bQ.unshift(bX);bX=bX.parentNode}bX=bU;while(bX){e.unshift(bX);bX=bX.parentNode}bT=bQ.length;bP=e.length;for(var bR=0;bR<bT&&bR<bP;bR++){if(bQ[bR]!==e[bR]){return bF(bQ[bR],e[bR])}}return bR===bT?bF(bW,e[bR],-1):bF(bQ[bR],bV,1)};bF=function(bP,e,bQ){if(bP===e){return bQ}var bR=bP.nextSibling;while(bR){if(bR===e){return -1}bR=bR.nextSibling}return 1}}by.getText=function(e){var bP="",bR;for(var bQ=0;e[bQ];bQ++){bR=e[bQ];if(bR.nodeType===3||bR.nodeType===4){bP+=bR.nodeValue}else{if(bR.nodeType!==8){bP+=by.getText(bR.childNodes)}}}return bP};(function(){var bP=av.createElement("div"),bQ="script"+(new Date()).getTime(),e=av.documentElement;bP.innerHTML="<a name='"+bQ+"'/>";e.insertBefore(bP,e.firstChild);if(av.getElementById(bQ)){bD.find.ID=function(bS,bT,bU){if(typeof bT.getElementById!=="undefined"&&!bU){var bR=bT.getElementById(bS[1]);return bR?bR.id===bS[1]||typeof bR.getAttributeNode!=="undefined"&&bR.getAttributeNode("id").nodeValue===bS[1]?[bR]:P:[]}};bD.filter.ID=function(bT,bR){var bS=typeof bT.getAttributeNode!=="undefined"&&bT.getAttributeNode("id");return bT.nodeType===1&&bS&&bS.nodeValue===bR}}e.removeChild(bP);e=bP=null})();(function(){var e=av.createElement("div");e.appendChild(av.createComment(""));if(e.getElementsByTagName("*").length>0){bD.find.TAG=function(bP,bT){var bS=bT.getElementsByTagName(bP[1]);
if(bP[1]==="*"){var bR=[];for(var bQ=0;bS[bQ];bQ++){if(bS[bQ].nodeType===1){bR.push(bS[bQ])}}bS=bR}return bS}}e.innerHTML="<a href='#'></a>";if(e.firstChild&&typeof e.firstChild.getAttribute!=="undefined"&&e.firstChild.getAttribute("href")!=="#"){bD.attrHandle.href=function(bP){return bP.getAttribute("href",2)}}e=null})();if(av.querySelectorAll){(function(){var e=by,bR=av.createElement("div"),bQ="__sizzle__";bR.innerHTML="<p class='TEST'></p>";if(bR.querySelectorAll&&bR.querySelectorAll(".TEST").length===0){return}by=function(b2,bT,bX,b1){bT=bT||av;if(!b1&&!by.isXML(bT)){var b0=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b2);if(b0&&(bT.nodeType===1||bT.nodeType===9)){if(b0[1]){return bE(bT.getElementsByTagName(b2),bX)}else{if(b0[2]&&bD.find.CLASS&&bT.getElementsByClassName){return bE(bT.getElementsByClassName(b0[2]),bX)}}}if(bT.nodeType===9){if(b2==="body"&&bT.body){return bE([bT.body],bX)}else{if(b0&&b0[3]){var bW=bT.getElementById(b0[3]);if(bW&&bW.parentNode){if(bW.id===b0[3]){return bE([bW],bX)}}else{return bE([],bX)}}}try{return bE(bT.querySelectorAll(b2),bX)}catch(bY){}}else{if(bT.nodeType===1&&bT.nodeName.toLowerCase()!=="object"){var bU=bT,bV=bT.getAttribute("id"),bS=bV||bQ,b4=bT.parentNode,b3=/^\s*[+~]/.test(b2);if(!bV){bT.setAttribute("id",bS)}else{bS=bS.replace(/'/g,"\\$&")}if(b3&&b4){bT=bT.parentNode}try{if(!b3||b4){return bE(bT.querySelectorAll("[id='"+bS+"'] "+b2),bX)}}catch(bZ){}finally{if(!bV){bU.removeAttribute("id")}}}}}return e(b2,bT,bX,b1)};for(var bP in e){by[bP]=e[bP]}bR=null})()}(function(){var e=av.documentElement,bQ=e.matchesSelector||e.mozMatchesSelector||e.webkitMatchesSelector||e.msMatchesSelector;if(bQ){var bS=!bQ.call(av.createElement("div"),"div"),bP=false;try{bQ.call(av.documentElement,"[test!='']:sizzle")}catch(bR){bP=true}by.matchesSelector=function(bU,bW){bW=bW.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!by.isXML(bU)){try{if(bP||!bD.match.PSEUDO.test(bW)&&!/!=/.test(bW)){var bT=bQ.call(bU,bW);if(bT||!bS||bU.document&&bU.document.nodeType!==11){return bT}}}catch(bV){}}return by(bW,null,null,[bU]).length>0}}})();(function(){var e=av.createElement("div");e.innerHTML="<div class='test e'></div><div class='test'></div>";if(!e.getElementsByClassName||e.getElementsByClassName("e").length===0){return}e.lastChild.className="e";if(e.getElementsByClassName("e").length===1){return}bD.order.splice(1,0,"CLASS");bD.find.CLASS=function(bP,bQ,bR){if(typeof bQ.getElementsByClassName!=="undefined"&&!bR){return bQ.getElementsByClassName(bP[1])}};e=null})();function bw(bP,bU,bT,bX,bV,bW){for(var bR=0,bQ=bX.length;bR<bQ;bR++){var e=bX[bR];if(e){var bS=false;e=e[bP];while(e){if(e.sizcache===bT){bS=bX[e.sizset];break}if(e.nodeType===1&&!bW){e.sizcache=bT;e.sizset=bR}if(e.nodeName.toLowerCase()===bU){bS=e;break}e=e[bP]}bX[bR]=bS}}}function bM(bP,bU,bT,bX,bV,bW){for(var bR=0,bQ=bX.length;bR<bQ;bR++){var e=bX[bR];if(e){var bS=false;e=e[bP];while(e){if(e.sizcache===bT){bS=bX[e.sizset];break}if(e.nodeType===1){if(!bW){e.sizcache=bT;e.sizset=bR}if(typeof bU!=="string"){if(e===bU){bS=true;break}}else{if(by.filter(bU,[e]).length>0){bS=e;break}}}e=e[bP]}bX[bR]=bS}}}if(av.documentElement.contains){by.contains=function(bP,e){return bP!==e&&(bP.contains?bP.contains(e):true)}}else{if(av.documentElement.compareDocumentPosition){by.contains=function(bP,e){return !!(bP.compareDocumentPosition(e)&16)}}else{by.contains=function(){return false}}}by.isXML=function(e){var bP=(e?e.ownerDocument||e:0).documentElement;return bP?bP.nodeName!=="HTML":false};var bL=function(e,bV){var bT,bR=[],bS="",bQ=bV.nodeType?[bV]:bV;while((bT=bD.match.PSEUDO.exec(e))){bS+=bT[0];e=e.replace(bD.match.PSEUDO,"")}e=bD.relative[e]?e+"*":e;for(var bU=0,bP=bQ.length;bU<bP;bU++){by(e,bQ[bU],bR)}return by.filter(bS,bR)};b.find=by;b.expr=by.selectors;b.expr[":"]=b.expr.filters;b.unique=by.uniqueSort;b.text=by.getText;b.isXMLDoc=by.isXML;b.contains=by.contains})();var ad=/Until$/,aq=/^(?:parents|prevUntil|prevAll)/,bb=/,/,br=/^.[^:#\[\.,]*$/,U=Array.prototype.slice,M=b.expr.match.POS,ay={children:true,contents:true,next:true,prev:true};
b.fn.extend({find:function(e){var bx=this,bz,bw;if(typeof e!=="string"){return b(e).filter(function(){for(bz=0,bw=bx.length;bz<bw;bz++){if(b.contains(bx[bz],this)){return true}}})}var by=this.pushStack("","find",e),bB,bC,bA;for(bz=0,bw=this.length;bz<bw;bz++){bB=by.length;b.find(e,this[bz],by);if(bz>0){for(bC=bB;bC<by.length;bC++){for(bA=0;bA<bB;bA++){if(by[bA]===by[bC]){by.splice(bC--,1);break}}}}}return by},has:function(bw){var e=b(bw);return this.filter(function(){for(var by=0,bx=e.length;by<bx;by++){if(b.contains(this,e[by])){return true}}})},not:function(e){return this.pushStack(aF(this,e,false),"not",e)},filter:function(e){return this.pushStack(aF(this,e,true),"filter",e)},is:function(e){return !!e&&(typeof e==="string"?b.filter(e,this).length>0:this.filter(e).length>0)},closest:function(bF,bw){var bC=[],bz,bx,bE=this[0];if(b.isArray(bF)){var bB,by,bA={},e=1;if(bE&&bF.length){for(bz=0,bx=bF.length;bz<bx;bz++){by=bF[bz];if(!bA[by]){bA[by]=M.test(by)?b(by,bw||this.context):by}}while(bE&&bE.ownerDocument&&bE!==bw){for(by in bA){bB=bA[by];if(bB.jquery?bB.index(bE)>-1:b(bE).is(bB)){bC.push({selector:by,elem:bE,level:e})}}bE=bE.parentNode;e++}}return bC}var bD=M.test(bF)||typeof bF!=="string"?b(bF,bw||this.context):0;for(bz=0,bx=this.length;bz<bx;bz++){bE=this[bz];while(bE){if(bD?bD.index(bE)>-1:b.find.matchesSelector(bE,bF)){bC.push(bE);break}else{bE=bE.parentNode;if(!bE||!bE.ownerDocument||bE===bw||bE.nodeType===11){break}}}}bC=bC.length>1?b.unique(bC):bC;return this.pushStack(bC,"closest",bF)},index:function(e){if(!e||typeof e==="string"){return b.inArray(this[0],e?b(e):this.parent().children())}return b.inArray(e.jquery?e[0]:e,this)},add:function(e,bw){var by=typeof e==="string"?b(e,bw):b.makeArray(e&&e.nodeType?[e]:e),bx=b.merge(this.get(),by);return this.pushStack(H(by[0])||H(bx[0])?bx:b.unique(bx))},andSelf:function(){return this.add(this.prevObject)}});function H(e){return !e||!e.parentNode||e.parentNode.nodeType===11}b.each({parent:function(bw){var e=bw.parentNode;return e&&e.nodeType!==11?e:null},parents:function(e){return b.dir(e,"parentNode")},parentsUntil:function(bw,e,bx){return b.dir(bw,"parentNode",bx)},next:function(e){return b.nth(e,2,"nextSibling")},prev:function(e){return b.nth(e,2,"previousSibling")},nextAll:function(e){return b.dir(e,"nextSibling")},prevAll:function(e){return b.dir(e,"previousSibling")},nextUntil:function(bw,e,bx){return b.dir(bw,"nextSibling",bx)},prevUntil:function(bw,e,bx){return b.dir(bw,"previousSibling",bx)},siblings:function(e){return b.sibling(e.parentNode.firstChild,e)},children:function(e){return b.sibling(e.firstChild)},contents:function(e){return b.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:b.makeArray(e.childNodes)}},function(e,bw){b.fn[e]=function(bA,bx){var bz=b.map(this,bw,bA),by=U.call(arguments);if(!ad.test(e)){bx=bA}if(bx&&typeof bx==="string"){bz=b.filter(bx,bz)}bz=this.length>1&&!ay[e]?b.unique(bz):bz;if((this.length>1||bb.test(bx))&&aq.test(e)){bz=bz.reverse()}return this.pushStack(bz,e,by.join(","))}});b.extend({filter:function(bx,e,bw){if(bw){bx=":not("+bx+")"}return e.length===1?b.find.matchesSelector(e[0],bx)?[e[0]]:[]:b.find.matches(bx,e)},dir:function(bx,bw,bz){var e=[],by=bx[bw];while(by&&by.nodeType!==9&&(bz===P||by.nodeType!==1||!b(by).is(bz))){if(by.nodeType===1){e.push(by)}by=by[bw]}return e},nth:function(bz,e,bx,by){e=e||1;var bw=0;for(;bz;bz=bz[bx]){if(bz.nodeType===1&&++bw===e){break}}return bz},sibling:function(bx,bw){var e=[];for(;bx;bx=bx.nextSibling){if(bx.nodeType===1&&bx!==bw){e.push(bx)}}return e}});function aF(by,bx,e){bx=bx||0;if(b.isFunction(bx)){return b.grep(by,function(bA,bz){var bB=!!bx.call(bA,bz,bA);return bB===e})}else{if(bx.nodeType){return b.grep(by,function(bA,bz){return(bA===bx)===e})}else{if(typeof bx==="string"){var bw=b.grep(by,function(bz){return bz.nodeType===1});if(br.test(bx)){return b.filter(bx,bw,!e)}else{bx=b.filter(bx,bw)}}}}return b.grep(by,function(bA,bz){return(b.inArray(bA,bx)>=0)===e})}var ai=/ jQuery\d+="(?:\d+|null)"/g,ar=/^\s+/,X=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,f=/<([\w:]+)/,B=/<tbody/i,aa=/<|&#?\w+;/,T=/<(?:script|object|embed|option|style)/i,r=/checked\s*(?:[^=]|=\s*.checked.)/i,bn=/\/(java|ecma)script/i,ax={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,"",""]};
ax.optgroup=ax.option;ax.tbody=ax.tfoot=ax.colgroup=ax.caption=ax.thead;ax.th=ax.td;if(!b.support.htmlSerialize){ax._default=[1,"div<div>","</div>"]}b.fn.extend({text:function(e){if(b.isFunction(e)){return this.each(function(bx){var bw=b(this);bw.text(e.call(this,bx,bw.text()))})}if(typeof e!=="object"&&e!==P){return this.empty().append((this[0]&&this[0].ownerDocument||av).createTextNode(e))}return b.text(this)},wrapAll:function(e){if(b.isFunction(e)){return this.each(function(bx){b(this).wrapAll(e.call(this,bx))})}if(this[0]){var bw=b(e,this[0].ownerDocument).eq(0).clone(true);if(this[0].parentNode){bw.insertBefore(this[0])}bw.map(function(){var bx=this;while(bx.firstChild&&bx.firstChild.nodeType===1){bx=bx.firstChild}return bx}).append(this)}return this},wrapInner:function(e){if(b.isFunction(e)){return this.each(function(bw){b(this).wrapInner(e.call(this,bw))})}return this.each(function(){var bw=b(this),bx=bw.contents();if(bx.length){bx.wrapAll(e)}else{bw.append(e)}})},wrap:function(e){return this.each(function(){b(this).wrapAll(e)})},unwrap:function(){return this.parent().each(function(){if(!b.nodeName(this,"body")){b(this).replaceWith(this.childNodes)}}).end()},append:function(){return this.domManip(arguments,true,function(e){if(this.nodeType===1){this.appendChild(e)}})},prepend:function(){return this.domManip(arguments,true,function(e){if(this.nodeType===1){this.insertBefore(e,this.firstChild)}})},before:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,false,function(bw){this.parentNode.insertBefore(bw,this)})}else{if(arguments.length){var e=b(arguments[0]);e.push.apply(e,this.toArray());return this.pushStack(e,"before",arguments)}}},after:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,false,function(bw){this.parentNode.insertBefore(bw,this.nextSibling)})}else{if(arguments.length){var e=this.pushStack(this,"after",arguments);e.push.apply(e,b(arguments[0]).toArray());return e}}},remove:function(e,by){for(var bw=0,bx;(bx=this[bw])!=null;bw++){if(!e||b.filter(e,[bx]).length){if(!by&&bx.nodeType===1){b.cleanData(bx.getElementsByTagName("*"));b.cleanData([bx])}if(bx.parentNode){bx.parentNode.removeChild(bx)}}}return this},empty:function(){for(var e=0,bw;(bw=this[e])!=null;e++){if(bw.nodeType===1){b.cleanData(bw.getElementsByTagName("*"))}while(bw.firstChild){bw.removeChild(bw.firstChild)}}return this},clone:function(bw,e){bw=bw==null?false:bw;e=e==null?bw:e;return this.map(function(){return b.clone(this,bw,e)})},html:function(by){if(by===P){return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(ai,""):null}else{if(typeof by==="string"&&!T.test(by)&&(b.support.leadingWhitespace||!ar.test(by))&&!ax[(f.exec(by)||["",""])[1].toLowerCase()]){by=by.replace(X,"<$1></$2>");try{for(var bx=0,bw=this.length;bx<bw;bx++){if(this[bx].nodeType===1){b.cleanData(this[bx].getElementsByTagName("*"));this[bx].innerHTML=by}}}catch(bz){this.empty().append(by)}}else{if(b.isFunction(by)){this.each(function(bA){var e=b(this);e.html(by.call(this,bA,e.html()))})}else{this.empty().append(by)}}}return this},replaceWith:function(e){if(this[0]&&this[0].parentNode){if(b.isFunction(e)){return this.each(function(by){var bx=b(this),bw=bx.html();bx.replaceWith(e.call(this,by,bw))})}if(typeof e!=="string"){e=b(e).detach()}return this.each(function(){var bx=this.nextSibling,bw=this.parentNode;b(this).remove();if(bx){b(bx).before(e)}else{b(bw).append(e)}})}else{return this.length?this.pushStack(b(b.isFunction(e)?e():e),"replaceWith",e):this}},detach:function(e){return this.remove(e,true)},domManip:function(bC,bG,bF){var by,bz,bB,bE,bD=bC[0],bw=[];if(!b.support.checkClone&&arguments.length===3&&typeof bD==="string"&&r.test(bD)){return this.each(function(){b(this).domManip(bC,bG,bF,true)})}if(b.isFunction(bD)){return this.each(function(bI){var bH=b(this);bC[0]=bD.call(this,bI,bG?bH.html():P);bH.domManip(bC,bG,bF)})}if(this[0]){bE=bD&&bD.parentNode;if(b.support.parentNode&&bE&&bE.nodeType===11&&bE.childNodes.length===this.length){by={fragment:bE}
}else{by=b.buildFragment(bC,this,bw)}bB=by.fragment;if(bB.childNodes.length===1){bz=bB=bB.firstChild}else{bz=bB.firstChild}if(bz){bG=bG&&b.nodeName(bz,"tr");for(var bx=0,e=this.length,bA=e-1;bx<e;bx++){bF.call(bG?bc(this[bx],bz):this[bx],by.cacheable||(e>1&&bx<bA)?b.clone(bB,true,true):bB)}}if(bw.length){b.each(bw,bq)}}return this}});function bc(e,bw){return b.nodeName(e,"table")?(e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody"))):e}function y(e,bC){if(bC.nodeType!==1||!b.hasData(e)){return}var bB=b.expando,by=b.data(e),bz=b.data(bC,by);if((by=by[bB])){var bD=by.events;bz=bz[bB]=b.extend({},by);if(bD){delete bz.handle;bz.events={};for(var bA in bD){for(var bx=0,bw=bD[bA].length;bx<bw;bx++){b.event.add(bC,bA+(bD[bA][bx].namespace?".":"")+bD[bA][bx].namespace,bD[bA][bx],bD[bA][bx].data)}}}}}function aj(bw,e){var bx;if(e.nodeType!==1){return}if(e.clearAttributes){e.clearAttributes()}if(e.mergeAttributes){e.mergeAttributes(bw)}bx=e.nodeName.toLowerCase();if(bx==="object"){e.outerHTML=bw.outerHTML}else{if(bx==="input"&&(bw.type==="checkbox"||bw.type==="radio")){if(bw.checked){e.defaultChecked=e.checked=bw.checked}if(e.value!==bw.value){e.value=bw.value}}else{if(bx==="option"){e.selected=bw.defaultSelected}else{if(bx==="input"||bx==="textarea"){e.defaultValue=bw.defaultValue}}}}e.removeAttribute(b.expando)}b.buildFragment=function(bA,by,bw){var bz,e,bx,bB=(by&&by[0]?by[0].ownerDocument||by[0]:av);if(bA.length===1&&typeof bA[0]==="string"&&bA[0].length<512&&bB===av&&bA[0].charAt(0)==="<"&&!T.test(bA[0])&&(b.support.checkClone||!r.test(bA[0]))){e=true;bx=b.fragments[bA[0]];if(bx&&bx!==1){bz=bx}}if(!bz){bz=bB.createDocumentFragment();b.clean(bA,bB,bz,bw)}if(e){b.fragments[bA[0]]=bx?bz:1}return{fragment:bz,cacheable:e}};b.fragments={};b.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,bw){b.fn[e]=function(bx){var bA=[],bD=b(bx),bC=this.length===1&&this[0].parentNode;if(bC&&bC.nodeType===11&&bC.childNodes.length===1&&bD.length===1){bD[bw](this[0]);return this}else{for(var bB=0,by=bD.length;bB<by;bB++){var bz=(bB>0?this.clone(true):this).get();b(bD[bB])[bw](bz);bA=bA.concat(bz)}return this.pushStack(bA,e,bD.selector)}}});function bg(e){if("getElementsByTagName" in e){return e.getElementsByTagName("*")}else{if("querySelectorAll" in e){return e.querySelectorAll("*")}else{return[]}}}function az(e){if(e.type==="checkbox"||e.type==="radio"){e.defaultChecked=e.checked}}function J(e){if(b.nodeName(e,"input")){az(e)}else{if(e.getElementsByTagName){b.grep(e.getElementsByTagName("input"),az)}}}b.extend({clone:function(bz,bB,bx){var bA=bz.cloneNode(true),e,bw,by;if((!b.support.noCloneEvent||!b.support.noCloneChecked)&&(bz.nodeType===1||bz.nodeType===11)&&!b.isXMLDoc(bz)){aj(bz,bA);e=bg(bz);bw=bg(bA);for(by=0;e[by];++by){aj(e[by],bw[by])}}if(bB){y(bz,bA);if(bx){e=bg(bz);bw=bg(bA);for(by=0;e[by];++by){y(e[by],bw[by])}}}return bA},clean:function(bx,bz,bI,bB){var bG;bz=bz||av;if(typeof bz.createElement==="undefined"){bz=bz.ownerDocument||bz[0]&&bz[0].ownerDocument||av}var bJ=[];for(var bF=0,bA;(bA=bx[bF])!=null;bF++){if(typeof bA==="number"){bA+=""}if(!bA){continue}if(typeof bA==="string"){if(!aa.test(bA)){bA=bz.createTextNode(bA)}else{bA=bA.replace(X,"<$1></$2>");var bL=(f.exec(bA)||["",""])[1].toLowerCase(),by=ax[bL]||ax._default,bE=by[0],bw=bz.createElement("div");bw.innerHTML=by[1]+bA+by[2];while(bE--){bw=bw.lastChild}if(!b.support.tbody){var e=B.test(bA),bD=bL==="table"&&!e?bw.firstChild&&bw.firstChild.childNodes:by[1]==="<table>"&&!e?bw.childNodes:[];for(var bC=bD.length-1;bC>=0;--bC){if(b.nodeName(bD[bC],"tbody")&&!bD[bC].childNodes.length){bD[bC].parentNode.removeChild(bD[bC])}}}if(!b.support.leadingWhitespace&&ar.test(bA)){bw.insertBefore(bz.createTextNode(ar.exec(bA)[0]),bw.firstChild)}bA=bw.childNodes}}var bH;if(!b.support.appendChecked){if(bA[0]&&typeof(bH=bA.length)==="number"){for(bF=0;bF<bH;bF++){J(bA[bF])}}else{J(bA)}}if(bA.nodeType){bJ.push(bA)
}else{bJ=b.merge(bJ,bA)}}if(bI){bG=function(bM){return !bM.type||bn.test(bM.type)};for(bF=0;bJ[bF];bF++){if(bB&&b.nodeName(bJ[bF],"script")&&(!bJ[bF].type||bJ[bF].type.toLowerCase()==="text/javascript")){bB.push(bJ[bF].parentNode?bJ[bF].parentNode.removeChild(bJ[bF]):bJ[bF])}else{if(bJ[bF].nodeType===1){var bK=b.grep(bJ[bF].getElementsByTagName("script"),bG);bJ.splice.apply(bJ,[bF+1,0].concat(bK))}bI.appendChild(bJ[bF])}}}return bJ},cleanData:function(bw){var bz,bx,e=b.cache,bE=b.expando,bC=b.event.special,bB=b.support.deleteExpando;for(var bA=0,by;(by=bw[bA])!=null;bA++){if(by.nodeName&&b.noData[by.nodeName.toLowerCase()]){continue}bx=by[b.expando];if(bx){bz=e[bx]&&e[bx][bE];if(bz&&bz.events){for(var bD in bz.events){if(bC[bD]){b.event.remove(by,bD)}else{b.removeEvent(by,bD,bz.handle)}}if(bz.handle){bz.handle.elem=null}}if(bB){delete by[b.expando]}else{if(by.removeAttribute){by.removeAttribute(b.expando)}}delete e[bx]}}}});function bq(e,bw){if(bw.src){b.ajax({url:bw.src,async:false,dataType:"script"})}else{b.globalEval(bw.text||bw.textContent||bw.innerHTML||"")}if(bw.parentNode){bw.parentNode.removeChild(bw)}}var am=/alpha\([^)]*\)/i,au=/opacity=([^)]*)/,aX=/-([a-z])/ig,E=/([A-Z]|^ms)/g,be=/^-?\d+(?:px)?$/i,bp=/^-?\d/,N=/^[+\-]=/,al=/[^+\-\.\de]+/g,a8={position:"absolute",visibility:"hidden",display:"block"},ao=["Left","Right"],a2=["Top","Bottom"],ab,aJ,aW,q=function(e,bw){return bw.toUpperCase()};b.fn.css=function(e,bw){if(arguments.length===2&&bw===P){return this}return b.access(this,e,bw,true,function(by,bx,bz){return bz!==P?b.style(by,bx,bz):b.css(by,bx)})};b.extend({cssHooks:{opacity:{get:function(bx,bw){if(bw){var e=ab(bx,"opacity","opacity");return e===""?"1":e}else{return bx.style.opacity}}}},cssNumber:{zIndex:true,fontWeight:true,opacity:true,zoom:true,lineHeight:true,widows:true,orphans:true},cssProps:{"float":b.support.cssFloat?"cssFloat":"styleFloat"},style:function(by,bx,bE,bz){if(!by||by.nodeType===3||by.nodeType===8||!by.style){return}var bC,bD,bA=b.camelCase(bx),bw=by.style,bF=b.cssHooks[bA];bx=b.cssProps[bA]||bA;if(bE!==P){bD=typeof bE;if(bD==="number"&&isNaN(bE)||bE==null){return}if(bD==="string"&&N.test(bE)){bE=+bE.replace(al,"")+parseFloat(b.css(by,bx))}if(bD==="number"&&!b.cssNumber[bA]){bE+="px"}if(!bF||!("set" in bF)||(bE=bF.set(by,bE))!==P){try{bw[bx]=bE}catch(bB){}}}else{if(bF&&"get" in bF&&(bC=bF.get(by,false,bz))!==P){return bC}return bw[bx]}},css:function(bz,by,bw){var bx,e;by=b.camelCase(by);e=b.cssHooks[by];by=b.cssProps[by]||by;if(by==="cssFloat"){by="float"}if(e&&"get" in e&&(bx=e.get(bz,true,bw))!==P){return bx}else{if(ab){return ab(bz,by)}}},swap:function(by,bx,bz){var e={};for(var bw in bx){e[bw]=by.style[bw];by.style[bw]=bx[bw]}bz.call(by);for(bw in bx){by.style[bw]=e[bw]}},camelCase:function(e){return e.replace(aX,q)}});b.curCSS=b.css;b.each(["height","width"],function(bw,e){b.cssHooks[e]={get:function(bz,by,bx){var bA;if(by){if(bz.offsetWidth!==0){bA=s(bz,e,bx)}else{b.swap(bz,a8,function(){bA=s(bz,e,bx)})}if(bA<=0){bA=ab(bz,e,e);if(bA==="0px"&&aW){bA=aW(bz,e,e)}if(bA!=null){return bA===""||bA==="auto"?"0px":bA}}if(bA<0||bA==null){bA=bz.style[e];return bA===""||bA==="auto"?"0px":bA}return typeof bA==="string"?bA:bA+"px"}},set:function(bx,by){if(be.test(by)){by=parseFloat(by);if(by>=0){return by+"px"}}else{return by}}}});if(!b.support.opacity){b.cssHooks.opacity={get:function(bw,e){return au.test((e&&bw.currentStyle?bw.currentStyle.filter:bw.style.filter)||"")?(parseFloat(RegExp.$1)/100)+"":e?"1":""},set:function(bz,bA){var by=bz.style,bw=bz.currentStyle;by.zoom=1;var e=b.isNaN(bA)?"":"alpha(opacity="+bA*100+")",bx=bw&&bw.filter||by.filter||"";by.filter=am.test(bx)?bx.replace(am,e):bx+" "+e}}}b(function(){if(!b.support.reliableMarginRight){b.cssHooks.marginRight={get:function(bx,bw){var e;b.swap(bx,{display:"inline-block"},function(){if(bw){e=ab(bx,"margin-right","marginRight")}else{e=bx.style.marginRight}});return e}}}});if(av.defaultView&&av.defaultView.getComputedStyle){aJ=function(bz,bx){var bw,by,e;
bx=bx.replace(E,"-$1").toLowerCase();if(!(by=bz.ownerDocument.defaultView)){return P}if((e=by.getComputedStyle(bz,null))){bw=e.getPropertyValue(bx);if(bw===""&&!b.contains(bz.ownerDocument.documentElement,bz)){bw=b.style(bz,bx)}}return bw}}if(av.documentElement.currentStyle){aW=function(bz,bx){var bA,bw=bz.currentStyle&&bz.currentStyle[bx],e=bz.runtimeStyle&&bz.runtimeStyle[bx],by=bz.style;if(!be.test(bw)&&bp.test(bw)){bA=by.left;if(e){bz.runtimeStyle.left=bz.currentStyle.left}by.left=bx==="fontSize"?"1em":(bw||0);bw=by.pixelLeft+"px";by.left=bA;if(e){bz.runtimeStyle.left=e}}return bw===""?"auto":bw}}ab=aJ||aW;function s(bx,bw,e){var bz=bw==="width"?ao:a2,by=bw==="width"?bx.offsetWidth:bx.offsetHeight;if(e==="border"){return by}b.each(bz,function(){if(!e){by-=parseFloat(b.css(bx,"padding"+this))||0}if(e==="margin"){by+=parseFloat(b.css(bx,"margin"+this))||0}else{by-=parseFloat(b.css(bx,"border"+this+"Width"))||0}});return by}if(b.expr&&b.expr.filters){b.expr.filters.hidden=function(bx){var bw=bx.offsetWidth,e=bx.offsetHeight;return(bw===0&&e===0)||(!b.support.reliableHiddenOffsets&&(bx.style.display||b.css(bx,"display"))==="none")};b.expr.filters.visible=function(e){return !b.expr.filters.hidden(e)}}var l=/%20/g,ap=/\[\]$/,bu=/\r?\n/g,bs=/#.*$/,aD=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,aZ=/^(?:color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,aN=/^(?:about|app|app\-storage|.+\-extension|file|widget):$/,aP=/^(?:GET|HEAD)$/,d=/^\/\//,Q=/\?/,a7=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,u=/^(?:select|textarea)/i,j=/\s+/,bt=/([?&])_=[^&]*/,O=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,F=b.fn.load,ac={},v={},aE,w;try{aE=bm.href}catch(aw){aE=av.createElement("a");aE.href="";aE=aE.href}w=O.exec(aE.toLowerCase())||[];function g(e){return function(bz,bB){if(typeof bz!=="string"){bB=bz;bz="*"}if(b.isFunction(bB)){var by=bz.toLowerCase().split(j),bx=0,bA=by.length,bw,bC,bD;for(;bx<bA;bx++){bw=by[bx];bD=/^\+/.test(bw);if(bD){bw=bw.substr(1)||"*"}bC=e[bw]=e[bw]||[];bC[bD?"unshift":"push"](bB)}}}}function aU(bw,bF,bA,bE,bC,by){bC=bC||bF.dataTypes[0];by=by||{};by[bC]=true;var bB=bw[bC],bx=0,e=bB?bB.length:0,bz=(bw===ac),bD;for(;bx<e&&(bz||!bD);bx++){bD=bB[bx](bF,bA,bE);if(typeof bD==="string"){if(!bz||by[bD]){bD=P}else{bF.dataTypes.unshift(bD);bD=aU(bw,bF,bA,bE,bD,by)}}}if((bz||!bD)&&!by["*"]){bD=aU(bw,bF,bA,bE,"*",by)}return bD}b.fn.extend({load:function(bx,bA,bB){if(typeof bx!=="string"&&F){return F.apply(this,arguments)}else{if(!this.length){return this}}var bz=bx.indexOf(" ");if(bz>=0){var e=bx.slice(bz,bx.length);bx=bx.slice(0,bz)}var by="GET";if(bA){if(b.isFunction(bA)){bB=bA;bA=P}else{if(typeof bA==="object"){bA=b.param(bA,b.ajaxSettings.traditional);by="POST"}}}var bw=this;b.ajax({url:bx,type:by,dataType:"html",data:bA,complete:function(bD,bC,bE){bE=bD.responseText;if(bD.isResolved()){bD.done(function(bF){bE=bF});bw.html(e?b("<div>").append(bE.replace(a7,"")).find(e):bE)}if(bB){bw.each(bB,[bE,bC,bD])}}});return this},serialize:function(){return b.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?b.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||u.test(this.nodeName)||aZ.test(this.type))}).map(function(e,bw){var bx=b(this).val();return bx==null?null:b.isArray(bx)?b.map(bx,function(bz,by){return{name:bw.name,value:bz.replace(bu,"\r\n")}}):{name:bw.name,value:bx.replace(bu,"\r\n")}}).get()}});b.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(e,bw){b.fn[bw]=function(bx){return this.bind(bw,bx)}});b.each(["get","post"],function(e,bw){b[bw]=function(bx,bz,bA,by){if(b.isFunction(bz)){by=by||bA;bA=bz;bz=P}return b.ajax({type:bw,url:bx,data:bz,success:bA,dataType:by})}});b.extend({getScript:function(e,bw){return b.get(e,P,bw,"script")},getJSON:function(e,bw,bx){return b.get(e,bw,bx,"json")},ajaxSetup:function(bx,e){if(!e){e=bx;bx=b.extend(true,b.ajaxSettings,e)
}else{b.extend(true,bx,b.ajaxSettings,e)}for(var bw in {context:1,url:1}){if(bw in e){bx[bw]=e[bw]}else{if(bw in b.ajaxSettings){bx[bw]=b.ajaxSettings[bw]}}}return bx},ajaxSettings:{url:aE,isLocal:aN.test(w[1]),global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":"*/*"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":bd.String,"text html":true,"text json":b.parseJSON,"text xml":b.parseXML}},ajaxPrefilter:g(ac),ajaxTransport:g(v),ajax:function(bA,by){if(typeof bA==="object"){by=bA;bA=P}by=by||{};var bE=b.ajaxSetup({},by),bT=bE.context||bE,bH=bT!==bE&&(bT.nodeType||bT instanceof b)?b(bT):b.event,bS=b.Deferred(),bO=b._Deferred(),bC=bE.statusCode||{},bD,bI={},bP={},bR,bz,bM,bF,bJ,bB=0,bx,bL,bK={readyState:0,setRequestHeader:function(bU,bV){if(!bB){var e=bU.toLowerCase();bU=bP[e]=bP[e]||bU;bI[bU]=bV}return this},getAllResponseHeaders:function(){return bB===2?bR:null},getResponseHeader:function(bU){var e;if(bB===2){if(!bz){bz={};while((e=aD.exec(bR))){bz[e[1].toLowerCase()]=e[2]}}e=bz[bU.toLowerCase()]}return e===P?null:e},overrideMimeType:function(e){if(!bB){bE.mimeType=e}return this},abort:function(e){e=e||"abort";if(bM){bM.abort(e)}bG(0,e);return this}};function bG(bZ,bX,b0,bW){if(bB===2){return}bB=2;if(bF){clearTimeout(bF)}bM=P;bR=bW||"";bK.readyState=bZ?4:0;var bU,b4,b3,bY=b0?bk(bE,bK,b0):P,bV,b2;if(bZ>=200&&bZ<300||bZ===304){if(bE.ifModified){if((bV=bK.getResponseHeader("Last-Modified"))){b.lastModified[bD]=bV}if((b2=bK.getResponseHeader("Etag"))){b.etag[bD]=b2}}if(bZ===304){bX="notmodified";bU=true}else{try{b4=K(bE,bY);bX="success";bU=true}catch(b1){bX="parsererror";b3=b1}}}else{b3=bX;if(!bX||bZ){bX="error";if(bZ<0){bZ=0}}}bK.status=bZ;bK.statusText=bX;if(bU){bS.resolveWith(bT,[b4,bX,bK])}else{bS.rejectWith(bT,[bK,bX,b3])}bK.statusCode(bC);bC=P;if(bx){bH.trigger("ajax"+(bU?"Success":"Error"),[bK,bE,bU?b4:b3])}bO.resolveWith(bT,[bK,bX]);if(bx){bH.trigger("ajaxComplete",[bK,bE]);if(!(--b.active)){b.event.trigger("ajaxStop")}}}bS.promise(bK);bK.success=bK.done;bK.error=bK.fail;bK.complete=bO.done;bK.statusCode=function(bU){if(bU){var e;if(bB<2){for(e in bU){bC[e]=[bC[e],bU[e]]}}else{e=bU[bK.status];bK.then(e,e)}}return this};bE.url=((bA||bE.url)+"").replace(bs,"").replace(d,w[1]+"//");bE.dataTypes=b.trim(bE.dataType||"*").toLowerCase().split(j);if(bE.crossDomain==null){bJ=O.exec(bE.url.toLowerCase());bE.crossDomain=!!(bJ&&(bJ[1]!=w[1]||bJ[2]!=w[2]||(bJ[3]||(bJ[1]==="http:"?80:443))!=(w[3]||(w[1]==="http:"?80:443))))}if(bE.data&&bE.processData&&typeof bE.data!=="string"){bE.data=b.param(bE.data,bE.traditional)}aU(ac,bE,by,bK);if(bB===2){return false}bx=bE.global;bE.type=bE.type.toUpperCase();bE.hasContent=!aP.test(bE.type);if(bx&&b.active++===0){b.event.trigger("ajaxStart")}if(!bE.hasContent){if(bE.data){bE.url+=(Q.test(bE.url)?"&":"?")+bE.data}bD=bE.url;if(bE.cache===false){var bw=b.now(),bQ=bE.url.replace(bt,"$1_="+bw);bE.url=bQ+((bQ===bE.url)?(Q.test(bE.url)?"&":"?")+"_="+bw:"")}}if(bE.data&&bE.hasContent&&bE.contentType!==false||by.contentType){bK.setRequestHeader("Content-Type",bE.contentType)}if(bE.ifModified){bD=bD||bE.url;if(b.lastModified[bD]){bK.setRequestHeader("If-Modified-Since",b.lastModified[bD])}if(b.etag[bD]){bK.setRequestHeader("If-None-Match",b.etag[bD])}}bK.setRequestHeader("Accept",bE.dataTypes[0]&&bE.accepts[bE.dataTypes[0]]?bE.accepts[bE.dataTypes[0]]+(bE.dataTypes[0]!=="*"?", */*; q=0.01":""):bE.accepts["*"]);for(bL in bE.headers){bK.setRequestHeader(bL,bE.headers[bL])}if(bE.beforeSend&&(bE.beforeSend.call(bT,bK,bE)===false||bB===2)){bK.abort();return false}for(bL in {success:1,error:1,complete:1}){bK[bL](bE[bL])}bM=aU(v,bE,by,bK);if(!bM){bG(-1,"No Transport")}else{bK.readyState=1;if(bx){bH.trigger("ajaxSend",[bK,bE])}if(bE.async&&bE.timeout>0){bF=setTimeout(function(){bK.abort("timeout")
},bE.timeout)}try{bB=1;bM.send(bI,bG)}catch(bN){if(status<2){bG(-1,bN)}else{b.error(bN)}}}return bK},param:function(e,bx){var bw=[],bz=function(bA,bB){bB=b.isFunction(bB)?bB():bB;bw[bw.length]=encodeURIComponent(bA)+"="+encodeURIComponent(bB)};if(bx===P){bx=b.ajaxSettings.traditional}if(b.isArray(e)||(e.jquery&&!b.isPlainObject(e))){b.each(e,function(){bz(this.name,this.value)})}else{for(var by in e){A(by,e[by],bx,bz)}}return bw.join("&").replace(l,"+")}});function A(bx,bz,bw,by){if(b.isArray(bz)){b.each(bz,function(bB,bA){if(bw||ap.test(bx)){by(bx,bA)}else{A(bx+"["+(typeof bA==="object"||b.isArray(bA)?bB:"")+"]",bA,bw,by)}})}else{if(!bw&&bz!=null&&typeof bz==="object"){for(var e in bz){A(bx+"["+e+"]",bz[e],bw,by)}}else{by(bx,bz)}}}b.extend({active:0,lastModified:{},etag:{}});function bk(bE,bD,bA){var bw=bE.contents,bC=bE.dataTypes,bx=bE.responseFields,bz,bB,by,e;for(bB in bx){if(bB in bA){bD[bx[bB]]=bA[bB]}}while(bC[0]==="*"){bC.shift();if(bz===P){bz=bE.mimeType||bD.getResponseHeader("content-type")}}if(bz){for(bB in bw){if(bw[bB]&&bw[bB].test(bz)){bC.unshift(bB);break}}}if(bC[0] in bA){by=bC[0]}else{for(bB in bA){if(!bC[0]||bE.converters[bB+" "+bC[0]]){by=bB;break}if(!e){e=bB}}by=by||e}if(by){if(by!==bC[0]){bC.unshift(by)}return bA[by]}}function K(bI,bA){if(bI.dataFilter){bA=bI.dataFilter(bA,bI.dataType)}var bE=bI.dataTypes,bH={},bB,bF,bx=bE.length,bC,bD=bE[0],by,bz,bG,bw,e;for(bB=1;bB<bx;bB++){if(bB===1){for(bF in bI.converters){if(typeof bF==="string"){bH[bF.toLowerCase()]=bI.converters[bF]}}}by=bD;bD=bE[bB];if(bD==="*"){bD=by}else{if(by!=="*"&&by!==bD){bz=by+" "+bD;bG=bH[bz]||bH["* "+bD];if(!bG){e=P;for(bw in bH){bC=bw.split(" ");if(bC[0]===by||bC[0]==="*"){e=bH[bC[1]+" "+bD];if(e){bw=bH[bw];if(bw===true){bG=e}else{if(e===true){bG=bw}}break}}}}if(!(bG||e)){b.error("No conversion from "+bz.replace(" "," to "))}if(bG!==true){bA=bG?bG(bA):e(bw(bA))}}}}return bA}var aC=b.now(),z=/(\=)\?(&|$)|\?\?/i;b.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return b.expando+"_"+(aC++)}});b.ajaxPrefilter("json jsonp",function(bE,bB,bD){var by=bE.contentType==="application/x-www-form-urlencoded"&&(typeof bE.data==="string");if(bE.dataTypes[0]==="jsonp"||bE.jsonp!==false&&(z.test(bE.url)||by&&z.test(bE.data))){var bC,bx=bE.jsonpCallback=b.isFunction(bE.jsonpCallback)?bE.jsonpCallback():bE.jsonpCallback,bA=bd[bx],e=bE.url,bz=bE.data,bw="$1"+bx+"$2";if(bE.jsonp!==false){e=e.replace(z,bw);if(bE.url===e){if(by){bz=bz.replace(z,bw)}if(bE.data===bz){e+=(/\?/.test(e)?"&":"?")+bE.jsonp+"="+bx}}}bE.url=e;bE.data=bz;bd[bx]=function(bF){bC=[bF]};bD.always(function(){bd[bx]=bA;if(bC&&b.isFunction(bA)){bd[bx](bC[0])}});bE.converters["script json"]=function(){if(!bC){b.error(bx+" was not called")}return bC[0]};bE.dataTypes[0]="json";return"script"}});b.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(e){b.globalEval(e);return e}}});b.ajaxPrefilter("script",function(e){if(e.cache===P){e.cache=false}if(e.crossDomain){e.type="GET";e.global=false}});b.ajaxTransport("script",function(bx){if(bx.crossDomain){var e,bw=av.head||av.getElementsByTagName("head")[0]||av.documentElement;return{send:function(by,bz){e=av.createElement("script");e.async="async";if(bx.scriptCharset){e.charset=bx.scriptCharset}e.src=bx.url;e.onload=e.onreadystatechange=function(bB,bA){if(bA||!e.readyState||/loaded|complete/.test(e.readyState)){e.onload=e.onreadystatechange=null;if(bw&&e.parentNode){bw.removeChild(e)}e=P;if(!bA){bz(200,"success")}}};bw.insertBefore(e,bw.firstChild)},abort:function(){if(e){e.onload(0,1)}}}}});var G=bd.ActiveXObject?function(){for(var e in R){R[e](0,1)}}:false,D=0,R;function aM(){try{return new bd.XMLHttpRequest()}catch(bw){}}function ak(){try{return new bd.ActiveXObject("Microsoft.XMLHTTP")}catch(bw){}}b.ajaxSettings.xhr=bd.ActiveXObject?function(){return !this.isLocal&&aM()||ak()}:aM;(function(e){b.extend(b.support,{ajax:!!e,cors:!!e&&("withCredentials" in e)})
})(b.ajaxSettings.xhr());if(b.support.ajax){b.ajaxTransport(function(e){if(!e.crossDomain||b.support.cors){var bw;return{send:function(bC,bx){var bB=e.xhr(),bA,bz;if(e.username){bB.open(e.type,e.url,e.async,e.username,e.password)}else{bB.open(e.type,e.url,e.async)}if(e.xhrFields){for(bz in e.xhrFields){bB[bz]=e.xhrFields[bz]}}if(e.mimeType&&bB.overrideMimeType){bB.overrideMimeType(e.mimeType)}if(!e.crossDomain&&!bC["X-Requested-With"]){bC["X-Requested-With"]="XMLHttpRequest"}try{for(bz in bC){bB.setRequestHeader(bz,bC[bz])}}catch(by){}bB.send((e.hasContent&&e.data)||null);bw=function(bL,bF){var bG,bE,bD,bJ,bI;try{if(bw&&(bF||bB.readyState===4)){bw=P;if(bA){bB.onreadystatechange=b.noop;if(G){delete R[bA]}}if(bF){if(bB.readyState!==4){bB.abort()}}else{bG=bB.status;bD=bB.getAllResponseHeaders();bJ={};bI=bB.responseXML;if(bI&&bI.documentElement){bJ.xml=bI}bJ.text=bB.responseText;try{bE=bB.statusText}catch(bK){bE=""}if(!bG&&e.isLocal&&!e.crossDomain){bG=bJ.text?200:404}else{if(bG===1223){bG=204}}}}}catch(bH){if(!bF){bx(-1,bH)}}if(bJ){bx(bG,bE,bJ,bD)}};if(!e.async||bB.readyState===4){bw()}else{bA=++D;if(G){if(!R){R={};b(bd).unload(G)}R[bA]=bw}bB.onreadystatechange=bw}},abort:function(){if(bw){bw(0,1)}}}}})}var V={},ba,p,aB=/^(?:toggle|show|hide)$/,aR=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,a3,aI=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]],a5,W=bd.webkitRequestAnimationFrame||bd.mozRequestAnimationFrame||bd.oRequestAnimationFrame;b.fn.extend({show:function(by,bB,bA){var bx,bz;if(by||by===0){return this.animate(a1("show",3),by,bB,bA)}else{for(var bw=0,e=this.length;bw<e;bw++){bx=this[bw];if(bx.style){bz=bx.style.display;if(!b._data(bx,"olddisplay")&&bz==="none"){bz=bx.style.display=""}if(bz===""&&b.css(bx,"display")==="none"){b._data(bx,"olddisplay",C(bx.nodeName))}}}for(bw=0;bw<e;bw++){bx=this[bw];if(bx.style){bz=bx.style.display;if(bz===""||bz==="none"){bx.style.display=b._data(bx,"olddisplay")||""}}}return this}},hide:function(bx,bA,bz){if(bx||bx===0){return this.animate(a1("hide",3),bx,bA,bz)}else{for(var bw=0,e=this.length;bw<e;bw++){if(this[bw].style){var by=b.css(this[bw],"display");if(by!=="none"&&!b._data(this[bw],"olddisplay")){b._data(this[bw],"olddisplay",by)}}}for(bw=0;bw<e;bw++){if(this[bw].style){this[bw].style.display="none"}}return this}},_toggle:b.fn.toggle,toggle:function(bx,bw,by){var e=typeof bx==="boolean";if(b.isFunction(bx)&&b.isFunction(bw)){this._toggle.apply(this,arguments)}else{if(bx==null||e){this.each(function(){var bz=e?bx:b(this).is(":hidden");b(this)[bz?"show":"hide"]()})}else{this.animate(a1("toggle",3),bx,bw,by)}}return this},fadeTo:function(e,by,bx,bw){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:by},e,bx,bw)},animate:function(bz,bw,by,bx){var e=b.speed(bw,by,bx);if(b.isEmptyObject(bz)){return this.each(e.complete,[false])}return this[e.queue===false?"each":"queue"](function(){if(e.queue===false){b._mark(this)}var bD=b.extend({},e),bK=this.nodeType===1,bH=bK&&b(this).is(":hidden"),bA,bE,bC,bJ,bI,bG,bB,bF,bL;bD.animatedProperties={};for(bC in bz){bA=b.camelCase(bC);if(bC!==bA){bz[bA]=bz[bC];delete bz[bC]}bE=bz[bA];if(bE==="hide"&&bH||bE==="show"&&!bH){return bD.complete.call(this)}if(bK&&(bA==="height"||bA==="width")){bD.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY];if(b.css(this,"display")==="inline"&&b.css(this,"float")==="none"){if(!b.support.inlineBlockNeedsLayout){this.style.display="inline-block"}else{bJ=C(this.nodeName);if(bJ==="inline"){this.style.display="inline-block"}else{this.style.display="inline";this.style.zoom=1}}}}bD.animatedProperties[bA]=b.isArray(bE)?bE[1]:bD.specialEasing&&bD.specialEasing[bA]||bD.easing||"swing"}if(bD.overflow!=null){this.style.overflow="hidden"}for(bC in bz){bI=new b.fx(this,bD,bC);bE=bz[bC];if(aB.test(bE)){bI[bE==="toggle"?bH?"show":"hide":bE]()}else{bG=aR.exec(bE);bB=bI.cur();if(bG){bF=parseFloat(bG[2]);bL=bG[3]||(b.cssNumber[bA]?"":"px");
if(bL!=="px"){b.style(this,bC,(bF||1)+bL);bB=((bF||1)/bI.cur())*bB;b.style(this,bC,bB+bL)}if(bG[1]){bF=((bG[1]==="-="?-1:1)*bF)+bB}bI.custom(bB,bF,bL)}else{bI.custom(bB,bE,"")}}}return true})},stop:function(bw,e){if(bw){this.queue([])}this.each(function(){var by=b.timers,bx=by.length;if(!e){b._unmark(true,this)}while(bx--){if(by[bx].elem===this){if(e){by[bx](true)}by.splice(bx,1)}}});if(!e){this.dequeue()}return this}});function bh(){setTimeout(at,0);return(a5=b.now())}function at(){a5=P}function a1(bw,e){var bx={};b.each(aI.concat.apply([],aI.slice(0,e)),function(){bx[this]=bw});return bx}b.each({slideDown:a1("show",1),slideUp:a1("hide",1),slideToggle:a1("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,bw){b.fn[e]=function(bx,bz,by){return this.animate(bw,bx,bz,by)}});b.extend({speed:function(bx,by,bw){var e=bx&&typeof bx==="object"?b.extend({},bx):{complete:bw||!bw&&by||b.isFunction(bx)&&bx,duration:bx,easing:bw&&by||by&&!b.isFunction(by)&&by};e.duration=b.fx.off?0:typeof e.duration==="number"?e.duration:e.duration in b.fx.speeds?b.fx.speeds[e.duration]:b.fx.speeds._default;e.old=e.complete;e.complete=function(bz){if(e.queue!==false){b.dequeue(this)}else{if(bz!==false){b._unmark(this)}}if(b.isFunction(e.old)){e.old.call(this)}};return e},easing:{linear:function(bx,by,e,bw){return e+bw*bx},swing:function(bx,by,e,bw){return((-Math.cos(bx*Math.PI)/2)+0.5)*bw+e}},timers:[],fx:function(bw,e,bx){this.options=e;this.elem=bw;this.prop=bx;e.orig=e.orig||{}}});b.fx.prototype={update:function(){if(this.options.step){this.options.step.call(this.elem,this.now,this)}(b.fx.step[this.prop]||b.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 e,bw=b.css(this.elem,this.prop);return isNaN(e=parseFloat(bw))?!bw||bw==="auto"?0:bw:e},custom:function(bB,bA,by){var e=this,bx=b.fx,bz;this.startTime=a5||bh();this.start=bB;this.end=bA;this.unit=by||this.unit||(b.cssNumber[this.prop]?"":"px");this.now=this.start;this.pos=this.state=0;function bw(bC){return e.step(bC)}bw.elem=this.elem;if(bw()&&b.timers.push(bw)&&!a3){if(W){a3=1;bz=function(){if(a3){W(bz);bx.tick()}};W(bz)}else{a3=setInterval(bx.tick,bx.interval)}}},show:function(){this.options.orig[this.prop]=b.style(this.elem,this.prop);this.options.show=true;this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur());b(this.elem).show()},hide:function(){this.options.orig[this.prop]=b.style(this.elem,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(bz){var by=a5||bh(),e=true,bA=this.elem,bw=this.options,bx,bC;if(bz||by>=bw.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();bw.animatedProperties[this.prop]=true;for(bx in bw.animatedProperties){if(bw.animatedProperties[bx]!==true){e=false}}if(e){if(bw.overflow!=null&&!b.support.shrinkWrapBlocks){b.each(["","X","Y"],function(bD,bE){bA.style["overflow"+bE]=bw.overflow[bD]})}if(bw.hide){b(bA).hide()}if(bw.hide||bw.show){for(var bB in bw.animatedProperties){b.style(bA,bB,bw.orig[bB])}}bw.complete.call(bA)}return false}else{if(bw.duration==Infinity){this.now=by}else{bC=by-this.startTime;this.state=bC/bw.duration;this.pos=b.easing[bw.animatedProperties[this.prop]](this.state,bC,0,1,bw.duration);this.now=this.start+((this.end-this.start)*this.pos)}this.update()}return true}};b.extend(b.fx,{tick:function(){var bw=b.timers,e=bw.length;while(e--){if(!bw[e]()){bw.splice(e,1)}}if(!bw.length){b.fx.stop()}},interval:13,stop:function(){clearInterval(a3);a3=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(e){b.style(e.elem,"opacity",e.now)},_default:function(e){if(e.elem.style&&e.elem.style[e.prop]!=null){e.elem.style[e.prop]=(e.prop==="width"||e.prop==="height"?Math.max(0,e.now):e.now)+e.unit}else{e.elem[e.prop]=e.now}}}});if(b.expr&&b.expr.filters){b.expr.filters.animated=function(e){return b.grep(b.timers,function(bw){return e===bw.elem
}).length}}function C(bx){if(!V[bx]){var e=b("<"+bx+">").appendTo("body"),bw=e.css("display");e.remove();if(bw==="none"||bw===""){if(!ba){ba=av.createElement("iframe");ba.frameBorder=ba.width=ba.height=0}av.body.appendChild(ba);if(!p||!ba.createElement){p=(ba.contentWindow||ba.contentDocument).document;p.write("<!doctype><html><body></body></html>")}e=p.createElement(bx);p.body.appendChild(e);bw=b.css(e,"display");av.body.removeChild(ba)}V[bx]=bw}return V[bx]}var Z=/^t(?:able|d|h)$/i,af=/^(?:body|html)$/i;if("getBoundingClientRect" in av.documentElement){b.fn.offset=function(bJ){var bz=this[0],bC;if(bJ){return this.each(function(e){b.offset.setOffset(this,bJ,e)})}if(!bz||!bz.ownerDocument){return null}if(bz===bz.ownerDocument.body){return b.offset.bodyOffset(bz)}try{bC=bz.getBoundingClientRect()}catch(bG){}var bI=bz.ownerDocument,bx=bI.documentElement;if(!bC||!b.contains(bx,bz)){return bC?{top:bC.top,left:bC.left}:{top:0,left:0}}var bD=bI.body,bE=aL(bI),bB=bx.clientTop||bD.clientTop||0,bF=bx.clientLeft||bD.clientLeft||0,bw=bE.pageYOffset||b.support.boxModel&&bx.scrollTop||bD.scrollTop,bA=bE.pageXOffset||b.support.boxModel&&bx.scrollLeft||bD.scrollLeft,bH=bC.top+bw-bB,by=bC.left+bA-bF;return{top:bH,left:by}}}else{b.fn.offset=function(bG){var bA=this[0];if(bG){return this.each(function(bH){b.offset.setOffset(this,bG,bH)})}if(!bA||!bA.ownerDocument){return null}if(bA===bA.ownerDocument.body){return b.offset.bodyOffset(bA)}b.offset.initialize();var bD,bx=bA.offsetParent,bw=bA,bF=bA.ownerDocument,by=bF.documentElement,bB=bF.body,bC=bF.defaultView,e=bC?bC.getComputedStyle(bA,null):bA.currentStyle,bE=bA.offsetTop,bz=bA.offsetLeft;while((bA=bA.parentNode)&&bA!==bB&&bA!==by){if(b.offset.supportsFixedPosition&&e.position==="fixed"){break}bD=bC?bC.getComputedStyle(bA,null):bA.currentStyle;bE-=bA.scrollTop;bz-=bA.scrollLeft;if(bA===bx){bE+=bA.offsetTop;bz+=bA.offsetLeft;if(b.offset.doesNotAddBorder&&!(b.offset.doesAddBorderForTableAndCells&&Z.test(bA.nodeName))){bE+=parseFloat(bD.borderTopWidth)||0;bz+=parseFloat(bD.borderLeftWidth)||0}bw=bx;bx=bA.offsetParent}if(b.offset.subtractsBorderForOverflowNotVisible&&bD.overflow!=="visible"){bE+=parseFloat(bD.borderTopWidth)||0;bz+=parseFloat(bD.borderLeftWidth)||0}e=bD}if(e.position==="relative"||e.position==="static"){bE+=bB.offsetTop;bz+=bB.offsetLeft}if(b.offset.supportsFixedPosition&&e.position==="fixed"){bE+=Math.max(by.scrollTop,bB.scrollTop);bz+=Math.max(by.scrollLeft,bB.scrollLeft)}return{top:bE,left:bz}}}b.offset={initialize:function(){var e=av.body,bw=av.createElement("div"),bz,bB,bA,bC,bx=parseFloat(b.css(e,"marginTop"))||0,by="<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>";b.extend(bw.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"});bw.innerHTML=by;e.insertBefore(bw,e.firstChild);bz=bw.firstChild;bB=bz.firstChild;bC=bz.nextSibling.firstChild.firstChild;this.doesNotAddBorder=(bB.offsetTop!==5);this.doesAddBorderForTableAndCells=(bC.offsetTop===5);bB.style.position="fixed";bB.style.top="20px";this.supportsFixedPosition=(bB.offsetTop===20||bB.offsetTop===15);bB.style.position=bB.style.top="";bz.style.overflow="hidden";bz.style.position="relative";this.subtractsBorderForOverflowNotVisible=(bB.offsetTop===-5);this.doesNotIncludeMarginInBodyOffset=(e.offsetTop!==bx);e.removeChild(bw);b.offset.initialize=b.noop},bodyOffset:function(e){var bx=e.offsetTop,bw=e.offsetLeft;b.offset.initialize();if(b.offset.doesNotIncludeMarginInBodyOffset){bx+=parseFloat(b.css(e,"marginTop"))||0;bw+=parseFloat(b.css(e,"marginLeft"))||0}return{top:bx,left:bw}},setOffset:function(by,bH,bB){var bC=b.css(by,"position");if(bC==="static"){by.style.position="relative"}var bA=b(by),bw=bA.offset(),e=b.css(by,"top"),bF=b.css(by,"left"),bG=(bC==="absolute"||bC==="fixed")&&b.inArray("auto",[e,bF])>-1,bE={},bD={},bx,bz;
if(bG){bD=bA.position();bx=bD.top;bz=bD.left}else{bx=parseFloat(e)||0;bz=parseFloat(bF)||0}if(b.isFunction(bH)){bH=bH.call(by,bB,bw)}if(bH.top!=null){bE.top=(bH.top-bw.top)+bx}if(bH.left!=null){bE.left=(bH.left-bw.left)+bz}if("using" in bH){bH.using.call(by,bE)}else{bA.css(bE)}}};b.fn.extend({position:function(){if(!this[0]){return null}var bx=this[0],bw=this.offsetParent(),by=this.offset(),e=af.test(bw[0].nodeName)?{top:0,left:0}:bw.offset();by.top-=parseFloat(b.css(bx,"marginTop"))||0;by.left-=parseFloat(b.css(bx,"marginLeft"))||0;e.top+=parseFloat(b.css(bw[0],"borderTopWidth"))||0;e.left+=parseFloat(b.css(bw[0],"borderLeftWidth"))||0;return{top:by.top-e.top,left:by.left-e.left}},offsetParent:function(){return this.map(function(){var e=this.offsetParent||av.body;while(e&&(!af.test(e.nodeName)&&b.css(e,"position")==="static")){e=e.offsetParent}return e})}});b.each(["Left","Top"],function(bw,e){var bx="scroll"+e;b.fn[bx]=function(bA){var by,bz;if(bA===P){by=this[0];if(!by){return null}bz=aL(by);return bz?("pageXOffset" in bz)?bz[bw?"pageYOffset":"pageXOffset"]:b.support.boxModel&&bz.document.documentElement[bx]||bz.document.body[bx]:by[bx]}return this.each(function(){bz=aL(this);if(bz){bz.scrollTo(!bw?bA:b(bz).scrollLeft(),bw?bA:b(bz).scrollTop())}else{this[bx]=bA}})}});function aL(e){return b.isWindow(e)?e:e.nodeType===9?e.defaultView||e.parentWindow:false}b.each(["Height","Width"],function(bw,e){var bx=e.toLowerCase();b.fn["inner"+e]=function(){return this[0]?parseFloat(b.css(this[0],bx,"padding")):null};b.fn["outer"+e]=function(by){return this[0]?parseFloat(b.css(this[0],bx,by?"margin":"border")):null};b.fn[bx]=function(bz){var bA=this[0];if(!bA){return bz==null?null:this}if(b.isFunction(bz)){return this.each(function(bE){var bD=b(this);bD[bx](bz.call(this,bE,bD[bx]()))})}if(b.isWindow(bA)){var bB=bA.document.documentElement["client"+e];return bA.document.compatMode==="CSS1Compat"&&bB||bA.document.body["client"+e]||bB}else{if(bA.nodeType===9){return Math.max(bA.documentElement["client"+e],bA.body["scroll"+e],bA.documentElement["scroll"+e],bA.body["offset"+e],bA.documentElement["offset"+e])}else{if(bz===P){var bC=b.css(bA,bx),by=parseFloat(bC);return b.isNaN(by)?bC:by}else{return this.css(bx,typeof bz==="string"?bz:bz+"px")}}}}});bd.jQuery=bd.$=b})(window);var cbSplit;if(!cbSplit){cbSplit=function(k,g,f){if(Object.prototype.toString.call(g)!=="[object RegExp]"){return cbSplit._nativeSplit.call(k,g,f)}var d=[],a=0,e=(g.ignoreCase?"i":"")+(g.multiline?"m":"")+(g.sticky?"y":""),g=RegExp(g.source,e+"g"),b,h,j,l;k=k+"";if(!cbSplit._compliantExecNpcg){b=RegExp("^"+g.source+"$(?!\\s)",e)}if(f===undefined||+f<0){f=Infinity}else{f=Math.floor(+f);if(!f){return[]}}while(h=g.exec(k)){j=h.index+h[0].length;if(j>a){d.push(k.slice(a,h.index));if(!cbSplit._compliantExecNpcg&&h.length>1){h[0].replace(b,function(){for(var m=1;m<arguments.length-2;m++){if(arguments[m]===undefined){h[m]=undefined}}})}if(h.length>1&&h.index<k.length){Array.prototype.push.apply(d,h.slice(1))}l=h[0].length;a=j;if(d.length>=f){break}}if(g.lastIndex===h.index){g.lastIndex++}}if(a===k.length){if(l||!g.test("")){d.push("")}}else{d.push(k.slice(a))}return d.length>f?d.slice(0,f):d};cbSplit._compliantExecNpcg=/()??/.exec("")[1]===undefined;cbSplit._nativeSplit=String.prototype.split}String.prototype.split=function(b,a){return cbSplit(this,b,a)};jQuery.fn.aio_getcookiedomain=function(){hostname_array=location.hostname.split(".");hostname_array.reverse();if(hostname_array[0]==="local"){return hostname_array[2]+"."+hostname_array[1]+"."+hostname_array[0]}else{if(hostname_array[0]==="info"){return hostname_array[2]+"."+hostname_array[1]+"."+hostname_array[0]}else{return hostname_array[1]+"."+hostname_array[0]}}};function gup(b){b=b.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");var a="[\\?&]"+b+"=([^&#]*)";var e=new RegExp(a);var d=e.exec(window.location.href);if(d==null){return""}else{return d[1]}}shuffle=function(e){for(var b,a,d=e.length;d;b=parseInt(Math.random()*d),a=e[--d],e[d]=e[b],e[b]=a){}return e
};function debug(b){if(!Modernizr.production&&!jQuery.browser.msie){var a=window;if(a.console&&a.console.log){a.console.log(b)}}}
/*
 * Modernizr v1.7
 * http://www.modernizr.com
 *
 * Developed by: 
 * - Faruk Ates  http://farukat.es/
 * - Paul Irish  http://paulirish.com/
 *
 * Copyright (c) 2009-2011
 * Dual-licensed under the BSD or MIT licenses.
 * http://www.modernizr.com/license/
 */
window.Modernizr=(function(q,x,m){var f="1.7",J={},z=true,H=x.documentElement,j=x.head||x.getElementsByTagName("head")[0],I="modernizr",F=x.createElement(I),D=F.style,h=x.createElement("input"),G=":)",A=Object.prototype.toString,B=" -webkit- -moz- -o- -ms- -khtml- ".split(" "),s="Webkit Moz O ms Khtml".split(" "),K={svg:"http://www.w3.org/2000/svg"},l={},e={},y={},E=[],C,d=function(N){var M=x.createElement("style"),O=x.createElement("div"),L;M.textContent=N+"{#modernizr{height:3px}}";j.appendChild(M);O.id="modernizr";H.appendChild(O);L=O.offsetHeight===3;M.parentNode.removeChild(M);O.parentNode.removeChild(O);return !!L},v=(function(){var M={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"};function L(N,P){P=P||x.createElement(M[N]||"div");N="on"+N;var O=(N in P);if(!O){if(!P.setAttribute){P=x.createElement("div")}if(P.setAttribute&&P.removeAttribute){P.setAttribute(N,"");O=n(P[N],"function");if(!n(P[N],m)){P[N]=m}P.removeAttribute(N)}}P=null;return O}return L})();var t=({}).hasOwnProperty,r;if(!n(t,m)&&!n(t.call,m)){r=function(L,M){return t.call(L,M)}}else{r=function(L,M){return((M in L)&&n(L.constructor.prototype[M],m))}}function w(L){D.cssText=L}function b(M,L){return w(B.join(M+";")+(L||""))}function n(M,L){return typeof M===L}function p(M,L){return(""+M).indexOf(L)!==-1}function g(M,N){for(var L in M){if(D[M[L]]!==m&&(!N||N(M[L],F))){return true}}}function a(O,N){var M=O.charAt(0).toUpperCase()+O.substr(1),L=(O+" "+s.join(M+" ")+M).split(" ");return !!g(L,N)}l.flexbox=function(){function M(R,T,S,Q){T+=":";R.style.cssText=(T+B.join(S+";"+T)).slice(0,-T.length)+(Q||"")}function O(R,T,S,Q){R.style.cssText=B.join(T+":"+S+";")+(Q||"")}var P=x.createElement("div"),N=x.createElement("div");M(P,"display","box","width:42px;padding:0;");O(N,"box-flex","1","width:10px;");P.appendChild(N);H.appendChild(P);var L=N.offsetWidth===42;P.removeChild(N);H.removeChild(P);return L};l.canvas=function(){var L=x.createElement("canvas");return !!(L.getContext&&L.getContext("2d"))};l.canvastext=function(){return !!(J.canvas&&n(x.createElement("canvas").getContext("2d").fillText,"function"))};l.webgl=function(){return !!q.WebGLRenderingContext};l.touch=function(){return("ontouchstart" in q)||d("@media ("+B.join("touch-enabled),(")+"modernizr)")};l.geolocation=function(){return !!navigator.geolocation};l.postmessage=function(){return !!q.postMessage};l.websqldatabase=function(){var L=!!q.openDatabase;return L};l.indexedDB=function(){for(var M=-1,L=s.length;++M<L;){var N=s[M].toLowerCase();if(q[N+"_indexedDB"]||q[N+"IndexedDB"]){return true}}return false};l.hashchange=function(){return v("hashchange",q)&&(x.documentMode===m||x.documentMode>7)};l.history=function(){return !!(q.history&&history.pushState)};l.draganddrop=function(){return v("dragstart")&&v("drop")};l.websockets=function(){return("WebSocket" in q)};l.rgba=function(){w("background-color:rgba(150,255,150,.5)");return p(D.backgroundColor,"rgba")};l.hsla=function(){w("background-color:hsla(120,40%,100%,.5)");return p(D.backgroundColor,"rgba")||p(D.backgroundColor,"hsla")};l.multiplebgs=function(){w("background:url(//:),url(//:),red url(//:)");return new RegExp("(url\\s*\\(.*?){3}").test(D.background)};l.backgroundsize=function(){return a("backgroundSize")};l.borderimage=function(){return a("borderImage")};l.borderradius=function(){return a("borderRadius","",function(L){return p(L,"orderRadius")})};l.boxshadow=function(){return a("boxShadow")};l.textshadow=function(){return x.createElement("div").style.textShadow===""};l.opacity=function(){b("opacity:.55");return/^0.55$/.test(D.opacity)
};l.cssanimations=function(){return a("animationName")};l.csscolumns=function(){return a("columnCount")};l.cssgradients=function(){var N="background-image:",M="gradient(linear,left top,right bottom,from(#9f9),to(white));",L="linear-gradient(left top,#9f9, white);";w((N+B.join(M+N)+B.join(L+N)).slice(0,-N.length));return p(D.backgroundImage,"gradient")};l.cssreflections=function(){return a("boxReflect")};l.csstransforms=function(){return !!g(["transformProperty","WebkitTransform","MozTransform","OTransform","msTransform"])};l.csstransforms3d=function(){var L=!!g(["perspectiveProperty","WebkitPerspective","MozPerspective","OPerspective","msPerspective"]);if(L&&"webkitPerspective" in H.style){L=d("@media ("+B.join("transform-3d),(")+"modernizr)")}return L};l.csstransitions=function(){return a("transitionProperty")};l.fontface=function(){var P,M,O=j||H,Q=x.createElement("style"),L=x.implementation||{hasFeature:function(){return false}};Q.type="text/css";O.insertBefore(Q,O.firstChild);P=Q.sheet||Q.styleSheet;var N=L.hasFeature("CSS2","")?function(T){if(!(P&&T)){return false}var R=false;try{P.insertRule(T,0);R=(/src/i).test(P.cssRules[0].cssText);P.deleteRule(P.cssRules.length-1)}catch(S){}return R}:function(R){if(!(P&&R)){return false}P.cssText=R;return P.cssText.length!==0&&(/src/i).test(P.cssText)&&P.cssText.replace(/\r+|\n+/g,"").indexOf(R.split(" ")[0])===0};M=N('@font-face { font-family: "font"; src: url(data:,); }');O.removeChild(Q);return M};l.video=function(){var N=x.createElement("video"),L=!!N.canPlayType;if(L){L=new Boolean(L);L.ogg=N.canPlayType('video/ogg; codecs="theora"');var M='video/mp4; codecs="avc1.42E01E';L.h264=N.canPlayType(M+'"')||N.canPlayType(M+', mp4a.40.2"');L.webm=N.canPlayType('video/webm; codecs="vp8, vorbis"')}return L};l.audio=function(){var M=x.createElement("audio"),L=!!M.canPlayType;if(L){L=new Boolean(L);L.ogg=M.canPlayType('audio/ogg; codecs="vorbis"');L.mp3=M.canPlayType("audio/mpeg;");L.wav=M.canPlayType('audio/wav; codecs="1"');L.m4a=M.canPlayType("audio/x-m4a;")||M.canPlayType("audio/aac;")}return L};l.localstorage=function(){try{return !!localStorage.getItem}catch(L){return false}};l.sessionstorage=function(){try{return !!sessionStorage.getItem}catch(L){return false}};l.webWorkers=function(){return !!q.Worker};l.applicationcache=function(){return !!q.applicationCache};l.svg=function(){return !!x.createElementNS&&!!x.createElementNS(K.svg,"svg").createSVGRect};l.inlinesvg=function(){var L=x.createElement("div");L.innerHTML="<svg/>";return(L.firstChild&&L.firstChild.namespaceURI)==K.svg};l.smil=function(){return !!x.createElementNS&&/SVG/.test(A.call(x.createElementNS(K.svg,"animate")))};l.svgclippaths=function(){return !!x.createElementNS&&/SVG/.test(A.call(x.createElementNS(K.svg,"clipPath")))};function u(){J.input=(function(N){for(var M=0,L=N.length;M<L;M++){y[N[M]]=!!(N[M] in h)}return y})("autocomplete autofocus list placeholder max min multiple pattern required step".split(" "));J.inputtypes=(function(O){for(var N=0,M,Q,P,L=O.length;N<L;N++){h.setAttribute("type",Q=O[N]);M=h.type!=="text";if(M){h.value=G;h.style.cssText="position:absolute;visibility:hidden;";if(/^range$/.test(Q)&&h.style.WebkitAppearance!==m){H.appendChild(h);P=x.defaultView;M=P.getComputedStyle&&P.getComputedStyle(h,null).WebkitAppearance!=="textfield"&&(h.offsetHeight!==0);H.removeChild(h)}else{if(/^(search|tel)$/.test(Q)){}else{if(/^(url|email)$/.test(Q)){M=h.checkValidity&&h.checkValidity()===false}else{if(/^color$/.test(Q)){H.appendChild(h);H.offsetWidth;M=h.value!=G;H.removeChild(h)}else{M=h.value!=G}}}}}e[O[N]]=!!M}return e})("search tel url email datetime date month week time datetime-local number range color".split(" "))}for(var k in l){if(r(l,k)){C=k.toLowerCase();J[C]=l[k]();E.push((J[C]?"":"no-")+C)}}if(!J.input){u()}J.crosswindowmessaging=J.postmessage;J.historymanagement=J.history;J.addTest=function(L,M){L=L.toLowerCase();if(J[L]){return}M=!!(M());H.className+=" "+(M?"":"no-")+L;J[L]=M;return J};w("");F=h=null;
if(z&&q.attachEvent&&(function(){var L=x.createElement("div");L.innerHTML="<elem></elem>";return L.childNodes.length!==1})()){(function(V,Z){var L="abbr|article|aside|audio|canvas|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",Q=L.split("|"),O=Q.length,M=new RegExp("(^|\\s)("+L+")","gi"),S=new RegExp("<(/*)("+L+")","gi"),X=new RegExp("(^|[^\\n]*?\\s)("+L+")([^\\n]*)({[\\n\\w\\W]*?})","gi"),aa=Z.createDocumentFragment(),T=Z.documentElement,Y=T.firstChild,N=Z.createElement("body"),R=Z.createElement("style"),U;function P(ac){var ab=-1;while(++ab<O){ac.createElement(Q[ab])}}function W(af,ad){var ac=-1,ab=af.length,ag,ae=[];while(++ac<ab){ag=af[ac];if((ad=ag.media||ad)!="screen"){ae.push(W(ag.imports,ad),ag.cssText)}}return ae.join("")}P(Z);P(aa);Y.insertBefore(R,Y.firstChild);R.media="print";V.attachEvent("onbeforeprint",function(){var ac=-1,af=W(Z.styleSheets,"all"),ae=[],ah;U=U||Z.body;while((ah=X.exec(af))!=null){ae.push((ah[1]+ah[2]+ah[3]).replace(M,"$1.iepp_$2")+ah[4])}R.styleSheet.cssText=ae.join("\n");while(++ac<O){var ad=Z.getElementsByTagName(Q[ac]),ag=ad.length,ab=-1;while(++ab<ag){if(ad[ab].className.indexOf("iepp_")<0){ad[ab].className+=" iepp_"+Q[ac]}}}aa.appendChild(U);T.appendChild(N);N.className=U.className;N.innerHTML=U.innerHTML.replace(S,"<$1font")});V.attachEvent("onafterprint",function(){N.innerHTML="";T.removeChild(N);T.appendChild(U);R.styleSheet.cssText=""})})(q,x)}J._enableHTML5=z;J._version=f;H.className=H.className.replace(/\bno-js\b/,"")+" js "+E.join(" ");return J})(this,this.document);Modernizr.addTest("mobile",function(){return jQuery("body").hasClass("mobile")});Modernizr.addTest("ie6",function(){if(jQuery.browser.msie&&parseInt(jQuery.browser.version.substr(0,1),10)<7){return true}else{return false}});Modernizr.addTest("ie7",function(){if(jQuery.browser.msie&&parseInt(jQuery.browser.version.substr(0,1),10)<8){return true}else{return false}});Modernizr.addTest("production",function(){if(window.location.host.split(".").reverse()[0]==="local"){return false}else{return true}});
/* Copyright (c) 2009 Brandon Aaron (http://brandonaaron.net)
 * Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php)
 * and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses.
 * Thanks to: http://adomas.org/javascript-mouse-wheel/ for some pointers.
 * Thanks to: Mathias Bank(http://www.mathias-bank.de) for a scope bug fix.
 *
 * Version: 3.0.2
 * 
 * Requires: 1.2.2+
 */
(function(a){function e(b){var d=[].slice.call(arguments,1),g=0;b=a.event.fix(b||window.event);b.type="mousewheel";if(b.wheelDelta){g=b.wheelDelta/120}if(b.detail){g=-b.detail/3}d.unshift(b,g);return a.event.handle.apply(this,d)}var f=["DOMMouseScroll","mousewheel"];a.event.special.mousewheel={setup:function(){if(this.addEventListener){for(var b=f.length;b;){this.addEventListener(f[--b],e,false)}}else{this.onmousewheel=e}},teardown:function(){if(this.removeEventListener){for(var b=f.length;b;){this.removeEventListener(f[--b],e,false)}}else{this.onmousewheel=null}}};a.fn.extend({mousewheel:function(b){return b?this.bind("mousewheel",b):this.trigger("mousewheel")},unmousewheel:function(b){return this.unbind("mousewheel",b)}})})(jQuery);jQuery.easing.jswing=jQuery.easing.swing;jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(e,f,a,h,g){return jQuery.easing[jQuery.easing.def](e,f,a,h,g)},easeInQuad:function(e,f,a,h,g){return h*(f/=g)*f+a},easeOutQuad:function(e,f,a,h,g){return -h*(f/=g)*(f-2)+a},easeInOutQuad:function(e,f,a,h,g){if((f/=g/2)<1){return h/2*f*f+a}return -h/2*((--f)*(f-2)-1)+a},easeInCubic:function(e,f,a,h,g){return h*(f/=g)*f*f+a},easeOutCubic:function(e,f,a,h,g){return h*((f=f/g-1)*f*f+1)+a},easeInOutCubic:function(e,f,a,h,g){if((f/=g/2)<1){return h/2*f*f*f+a}return h/2*((f-=2)*f*f+2)+a},easeInQuart:function(e,f,a,h,g){return h*(f/=g)*f*f*f+a},easeOutQuart:function(e,f,a,h,g){return -h*((f=f/g-1)*f*f*f-1)+a},easeInOutQuart:function(e,f,a,h,g){if((f/=g/2)<1){return h/2*f*f*f*f+a
}return -h/2*((f-=2)*f*f*f-2)+a},easeInQuint:function(e,f,a,h,g){return h*(f/=g)*f*f*f*f+a},easeOutQuint:function(e,f,a,h,g){return h*((f=f/g-1)*f*f*f*f+1)+a},easeInOutQuint:function(e,f,a,h,g){if((f/=g/2)<1){return h/2*f*f*f*f*f+a}return h/2*((f-=2)*f*f*f*f+2)+a},easeInSine:function(e,f,a,h,g){return -h*Math.cos(f/g*(Math.PI/2))+h+a},easeOutSine:function(e,f,a,h,g){return h*Math.sin(f/g*(Math.PI/2))+a},easeInOutSine:function(e,f,a,h,g){return -h/2*(Math.cos(Math.PI*f/g)-1)+a},easeInExpo:function(e,f,a,h,g){return(f==0)?a:h*Math.pow(2,10*(f/g-1))+a},easeOutExpo:function(e,f,a,h,g){return(f==g)?a+h:h*(-Math.pow(2,-10*f/g)+1)+a},easeInOutExpo:function(e,f,a,h,g){if(f==0){return a}if(f==g){return a+h}if((f/=g/2)<1){return h/2*Math.pow(2,10*(f-1))+a}return h/2*(-Math.pow(2,-10*--f)+2)+a},easeInCirc:function(e,f,a,h,g){return -h*(Math.sqrt(1-(f/=g)*f)-1)+a},easeOutCirc:function(e,f,a,h,g){return h*Math.sqrt(1-(f=f/g-1)*f)+a},easeInOutCirc:function(e,f,a,h,g){if((f/=g/2)<1){return -h/2*(Math.sqrt(1-f*f)-1)+a}return h/2*(Math.sqrt(1-(f-=2)*f)+1)+a},easeInElastic:function(f,h,e,m,l){var j=1.70158;var k=0;var g=m;if(h==0){return e}if((h/=l)==1){return e+m}if(!k){k=l*0.3}if(g<Math.abs(m)){g=m;var j=k/4}else{var j=k/(2*Math.PI)*Math.asin(m/g)}return -(g*Math.pow(2,10*(h-=1))*Math.sin((h*l-j)*(2*Math.PI)/k))+e},easeOutElastic:function(f,h,e,m,l){var j=1.70158;var k=0;var g=m;if(h==0){return e}if((h/=l)==1){return e+m}if(!k){k=l*0.3}if(g<Math.abs(m)){g=m;var j=k/4}else{var j=k/(2*Math.PI)*Math.asin(m/g)}return g*Math.pow(2,-10*h)*Math.sin((h*l-j)*(2*Math.PI)/k)+m+e},easeInOutElastic:function(f,h,e,m,l){var j=1.70158;var k=0;var g=m;if(h==0){return e}if((h/=l/2)==2){return e+m}if(!k){k=l*(0.3*1.5)}if(g<Math.abs(m)){g=m;var j=k/4}else{var j=k/(2*Math.PI)*Math.asin(m/g)}if(h<1){return -0.5*(g*Math.pow(2,10*(h-=1))*Math.sin((h*l-j)*(2*Math.PI)/k))+e}return g*Math.pow(2,-10*(h-=1))*Math.sin((h*l-j)*(2*Math.PI)/k)*0.5+m+e},easeInBack:function(e,f,a,j,h,g){if(g==undefined){g=1.70158}return j*(f/=h)*f*((g+1)*f-g)+a},easeOutBack:function(e,f,a,j,h,g){if(g==undefined){g=1.70158}return j*((f=f/h-1)*f*((g+1)*f+g)+1)+a},easeInOutBack:function(e,f,a,j,h,g){if(g==undefined){g=1.70158}if((f/=h/2)<1){return j/2*(f*f*(((g*=(1.525))+1)*f-g))+a}return j/2*((f-=2)*f*(((g*=(1.525))+1)*f+g)+2)+a},easeInBounce:function(e,f,a,h,g){return h-jQuery.easing.easeOutBounce(e,g-f,0,h,g)+a},easeOutBounce:function(e,f,a,h,g){if((f/=g)<(1/2.75)){return h*(7.5625*f*f)+a}else{if(f<(2/2.75)){return h*(7.5625*(f-=(1.5/2.75))*f+0.75)+a}else{if(f<(2.5/2.75)){return h*(7.5625*(f-=(2.25/2.75))*f+0.9375)+a}else{return h*(7.5625*(f-=(2.625/2.75))*f+0.984375)+a}}}},easeInOutBounce:function(e,f,a,h,g){if(f<g/2){return jQuery.easing.easeInBounce(e,f*2,0,h,g)*0.5+a}return jQuery.easing.easeOutBounce(e,f*2-g,0,h,g)*0.5+h*0.5+a}});
/*
 * jQuery BBQ: Back Button & Query Library - v1.2.1 - 2/17/2010
 * http://benalman.com/projects/jquery-bbq-plugin/
 * 
 * Copyright (c) 2010 "Cowboy" Ben Alman
 * Dual licensed under the MIT and GPL licenses.
 * http://benalman.com/about/license/
 */
(function($,s){var k,p=Array.prototype.slice,u=decodeURIComponent,a=$.param,d,n,y,b=$.bbq=$.bbq||{},t,x,l,f=$.event.special,e="hashchange",D="querystring",G="fragment",B="elemUrlAttr",h="location",m="href",w="src",A=/^.*\?|#.*$/g,z=/^.*\#/,j,F={};function H(I){return typeof I==="string"}function E(J){var I=p.call(arguments,1);return function(){return J.apply(this,I.concat(p.call(arguments)))}}function q(I){return I.replace(/^[^#]*#?(.*)$/,"$1")}function r(I){return I.replace(/(?:^[^?#]*\?([^#]*).*$)?.*/,"$1")}function g(K,P,I,L,J){var R,O,N,Q,M;if(L!==k){N=I.match(K?/^([^#]*)\#?(.*)$/:/^([^#?]*)\??([^#]*)(#?.*)/);M=N[3]||"";if(J===2&&H(L)){O=L.replace(K?z:A,"")}else{Q=n(N[2]);L=H(L)?n[K?G:D](L):L;O=J===2?L:J===1?$.extend({},L,Q):$.extend({},Q,L);O=a(O);if(K){O=O.replace(j,u)}}R=N[1]+(K?"#":O||!N[1]?"?":"")+O+M}else{R=P(I!==k?I:s[h][m])}return R}a[D]=E(g,0,r);a[G]=d=E(g,1,q);d.noEscape=function(J){J=J||"";var I=$.map(J.split(""),encodeURIComponent);
j=new RegExp(I.join("|"),"g")};d.noEscape(",/");$.deparam=n=function(L,I){var K={},J={"true":!0,"false":!1,"null":null};$.each(L.replace(/\+/g," ").split("&"),function(O,T){var N=T.split("="),S=u(N[0]),M,R=K,P=0,U=S.split("]["),Q=U.length-1;if(/\[/.test(U[0])&&/\]$/.test(U[Q])){U[Q]=U[Q].replace(/\]$/,"");U=U.shift().split("[").concat(U);Q=U.length-1}else{Q=0}if(N.length===2){M=u(N[1]);if(I){M=M&&!isNaN(M)?+M:M==="undefined"?k:J[M]!==k?J[M]:M}if(Q){for(;P<=Q;P++){S=U[P]===""?R.length:U[P];R=R[S]=P<Q?R[S]||(U[P+1]&&isNaN(U[P+1])?{}:[]):M}}else{if($.isArray(K[S])){K[S].push(M)}else{if(K[S]!==k){K[S]=[K[S],M]}else{K[S]=M}}}}else{if(S){K[S]=I?k:""}}});return K};function C(K,I,J){if(I===k||typeof I==="boolean"){J=I;I=a[K?G:D]()}else{I=H(I)?I.replace(K?z:A,""):I}return n(I,J)}n[D]=E(C,0);n[G]=y=E(C,1);$[B]||($[B]=function(I){return $.extend(F,I)})({a:m,base:m,iframe:w,img:w,input:w,form:"action",link:m,script:w});l=$[B];function v(L,J,K,I){if(!H(K)&&typeof K!=="object"){I=K;K=J;J=k}return this.each(function(){var O=$(this),M=J||l()[(this.nodeName||"").toLowerCase()]||"",N=M&&O.attr(M)||"";O.attr(M,a[L](N,K,I))})}$.fn[D]=E(v,D);$.fn[G]=E(v,G);b.pushState=t=function(L,I){if(H(L)&&/^#/.test(L)&&I===k){I=2}var K=L!==k,J=d(s[h][m],K?L:{},K?I:2);s[h][m]=J+(/#/.test(J)?"":"#")};b.getState=x=function(I,J){return I===k||typeof I==="boolean"?y(I):y(J)[I]};b.removeState=function(I){var J={};if(I!==k){J=x();$.each($.isArray(I)?I:arguments,function(L,K){delete J[K]})}t(J,2)};f[e]=$.extend(f[e],{add:function(I){var K;function J(M){var L=M[G]=d();M.getState=function(N,O){return N===k||typeof N==="boolean"?n(L,N):n(L,O)[N]};K.apply(this,arguments)}if($.isFunction(I)){K=I;return J}else{K=I.handler;I.handler=J}}})})(jQuery,this);
/*
 * jQuery hashchange event - v1.2 - 2/11/2010
 * http://benalman.com/projects/jquery-hashchange-plugin/
 * 
 * Copyright (c) 2010 "Cowboy" Ben Alman
 * Dual licensed under the MIT and GPL licenses.
 * http://benalman.com/about/license/
 */
(function($,k,b){var l,m=$.event.special,d="location",e="hashchange",n="href",g=$.browser,h=document.documentMode,j=g.msie&&(h===b||h<8),f="on"+e in k&&!j;function a(p){p=p||k[d][n];return p.replace(/^[^#]*#?(.*)$/,"$1")}$[e+"Delay"]=100;m[e]=$.extend(m[e],{setup:function(){if(f){return false}$(l.start)},teardown:function(){if(f){return false}$(l.stop)}});l=(function(){var p={},u,q,r,t;function s(){r=t=function(v){return v};if(j){q=$('<iframe src="javascript:0"/>').hide().insertAfter("body")[0].contentWindow;t=function(){return a(q.document[d][n])};r=function(x,v){if(x!==v){var w=q.document;w.open().close();w[d].hash="#"+x}};r(a())}}p.start=function(){if(u){return}var w=a();r||s();(function v(){var y=a(),x=t(w);if(y!==w){r(w=y,x);$(k).trigger(e)}else{if(x!==w){k[d][n]=k[d][n].replace(/#.*/,"")+"#"+x}}u=setTimeout(v,$[e+"Delay"])})()};p.stop=function(){if(!q){u&&clearTimeout(u);u=0}};return p})()})(jQuery,this);(function(d,b){function a(e){return !d(e).parents().andSelf().filter(function(){return d.curCSS(this,"visibility")==="hidden"||d.expr.filters.hidden(this)}).length}d.ui=d.ui||{};if(!d.ui.version){d.extend(d.ui,{version:"1.8.11",keyCode:{ALT:18,BACKSPACE:8,CAPS_LOCK:20,COMMA:188,COMMAND:91,COMMAND_LEFT:91,COMMAND_RIGHT:93,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,MENU:93,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38,WINDOWS:91}});d.fn.extend({_focus:d.fn.focus,focus:function(f,e){return typeof f==="number"?this.each(function(){var g=this;setTimeout(function(){d(g).focus();e&&e.call(g)},f)}):this._focus.apply(this,arguments)},scrollParent:function(){var e;e=d.browser.msie&&/(static|relative)/.test(this.css("position"))||/absolute/.test(this.css("position"))?this.parents().filter(function(){return/(relative|absolute|fixed)/.test(d.curCSS(this,"position",1))&&/(auto|scroll)/.test(d.curCSS(this,"overflow",1)+d.curCSS(this,"overflow-y",1)+d.curCSS(this,"overflow-x",1))
}).eq(0):this.parents().filter(function(){return/(auto|scroll)/.test(d.curCSS(this,"overflow",1)+d.curCSS(this,"overflow-y",1)+d.curCSS(this,"overflow-x",1))}).eq(0);return/fixed/.test(this.css("position"))||!e.length?d(document):e},zIndex:function(f){if(f!==b){return this.css("zIndex",f)}if(this.length){f=d(this[0]);for(var e;f.length&&f[0]!==document;){e=f.css("position");if(e==="absolute"||e==="relative"||e==="fixed"){e=parseInt(f.css("zIndex"),10);if(!isNaN(e)&&e!==0){return e}}f=f.parent()}}return 0},disableSelection:function(){return this.bind((d.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function(e){e.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}});d.each(["Width","Height"],function(g,f){function m(p,n,h,e){d.each(l,function(){n-=parseFloat(d.curCSS(p,"padding"+this,true))||0;if(h){n-=parseFloat(d.curCSS(p,"border"+this+"Width",true))||0}if(e){n-=parseFloat(d.curCSS(p,"margin"+this,true))||0}});return n}var l=f==="Width"?["Left","Right"]:["Top","Bottom"],k=f.toLowerCase(),j={innerWidth:d.fn.innerWidth,innerHeight:d.fn.innerHeight,outerWidth:d.fn.outerWidth,outerHeight:d.fn.outerHeight};d.fn["inner"+f]=function(e){if(e===b){return j["inner"+f].call(this)}return this.each(function(){d(this).css(k,m(this,e)+"px")})};d.fn["outer"+f]=function(h,e){if(typeof h!=="number"){return j["outer"+f].call(this,h)}return this.each(function(){d(this).css(k,m(this,h,true,e)+"px")})}});d.extend(d.expr[":"],{data:function(f,e,g){return !!d.data(f,g[3])},focusable:function(f){var e=f.nodeName.toLowerCase(),g=d.attr(f,"tabindex");if("area"===e){e=f.parentNode;g=e.name;if(!f.href||!g||e.nodeName.toLowerCase()!=="map"){return false}f=d("img[usemap=#"+g+"]")[0];return !!f&&a(f)}return(/input|select|textarea|button|object/.test(e)?!f.disabled:"a"==e?f.href||!isNaN(g):!isNaN(g))&&a(f)},tabbable:function(f){var e=d.attr(f,"tabindex");return(isNaN(e)||e>=0)&&d(f).is(":focusable")}});d(function(){var f=document.body,e=f.appendChild(e=document.createElement("div"));d.extend(e.style,{minHeight:"100px",height:"auto",padding:0,borderWidth:0});d.support.minHeight=e.offsetHeight===100;d.support.selectstart="onselectstart" in e;f.removeChild(e).style.display="none"});d.extend(d.ui,{plugin:{add:function(g,f,j){g=d.ui[g].prototype;for(var h in j){g.plugins[h]=g.plugins[h]||[];g.plugins[h].push([f,j[h]])}},call:function(g,f,j){if((f=g.plugins[f])&&g.element[0].parentNode){for(var h=0;h<f.length;h++){g.options[f[h][0]]&&f[h][1].apply(g.element,j)}}}},contains:function(f,e){return document.compareDocumentPosition?f.compareDocumentPosition(e)&16:f!==e&&f.contains(e)},hasScroll:function(f,e){if(d(f).css("overflow")==="hidden"){return false}e=e&&e==="left"?"scrollLeft":"scrollTop";var g=false;if(f[e]>0){return true}f[e]=1;g=f[e]>0;f[e]=0;return g},isOverAxis:function(f,e,g){return f>e&&f<e+g},isOver:function(g,f,m,l,k,j){return d.ui.isOverAxis(g,m,k)&&d.ui.isOverAxis(f,l,j)}})}})(jQuery);(function(a,f){if(a.cleanData){var e=a.cleanData;a.cleanData=function(b){for(var h=0,g;(g=b[h])!=null;h++){a(g).triggerHandler("remove")}e(b)}}else{var d=a.fn.remove;a.fn.remove=function(b,g){return this.each(function(){if(!g){if(!b||a.filter(b,[this]).length){a("*",this).add([this]).each(function(){a(this).triggerHandler("remove")})}}return d.call(a(this),b,g)})}}a.widget=function(b,k,j){var h=b.split(".")[0],g;b=b.split(".")[1];g=h+"-"+b;if(!j){j=k;k=a.Widget}a.expr[":"][g]=function(l){return !!a.data(l,b)};a[h]=a[h]||{};a[h][b]=function(l,m){arguments.length&&this._createWidget(l,m)};k=new k;k.options=a.extend(true,{},k.options);a[h][b].prototype=a.extend(true,k,{namespace:h,widgetName:b,widgetEventPrefix:a[h][b].prototype.widgetEventPrefix||b,widgetBaseClass:g},j);a.widget.bridge(b,a[h][b])};a.widget.bridge=function(b,g){a.fn[b]=function(m){var l=typeof m==="string",k=Array.prototype.slice.call(arguments,1),j=this;m=!l&&k.length?a.extend.apply(null,[true,m].concat(k)):m;if(l&&m.charAt(0)==="_"){return j}l?this.each(function(){var n=a.data(this,b),h=n&&a.isFunction(n[m])?n[m].apply(n,k):n;
if(h!==n&&h!==f){j=h;return false}}):this.each(function(){var h=a.data(this,b);h?h.option(m||{})._init():a.data(this,b,new g(m,this))});return j}};a.Widget=function(b,g){arguments.length&&this._createWidget(b,g)};a.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",options:{disabled:false},_createWidget:function(b,h){a.data(h,this.widgetName,this);this.element=a(h);this.options=a.extend(true,{},this.options,this._getCreateOptions(),b);var g=this;this.element.bind("remove."+this.widgetName,function(){g.destroy()});this._create();this._trigger("create");this._init()},_getCreateOptions:function(){return a.metadata&&a.metadata.get(this.element[0])[this.widgetName]},_create:function(){},_init:function(){},destroy:function(){this.element.unbind("."+this.widgetName).removeData(this.widgetName);this.widget().unbind("."+this.widgetName).removeAttr("aria-disabled").removeClass(this.widgetBaseClass+"-disabled ui-state-disabled")},widget:function(){return this.element},option:function(b,h){var g=b;if(arguments.length===0){return a.extend({},this.options)}if(typeof b==="string"){if(h===f){return this.options[b]}g={};g[b]=h}this._setOptions(g);return this},_setOptions:function(b){var g=this;a.each(b,function(j,h){g._setOption(j,h)});return this},_setOption:function(b,g){this.options[b]=g;if(b==="disabled"){this.widget()[g?"addClass":"removeClass"](this.widgetBaseClass+"-disabled ui-state-disabled").attr("aria-disabled",g)}return this},enable:function(){return this._setOption("disabled",false)},disable:function(){return this._setOption("disabled",true)},_trigger:function(b,k,j){var h=this.options[b];k=a.Event(k);k.type=(b===this.widgetEventPrefix?b:this.widgetEventPrefix+b).toLowerCase();j=j||{};if(k.originalEvent){b=a.event.props.length;for(var g;b;){g=a.event.props[--b];k[g]=k.originalEvent[g]}}this.element.trigger(k,j);return !(a.isFunction(h)&&h.call(this.element[0],k,j)===false||k.isDefaultPrevented())}}})(jQuery);(function(a){a.widget("ui.mouse",{options:{cancel:":input,option",distance:1,delay:0},_mouseInit:function(){var b=this;this.element.bind("mousedown."+this.widgetName,function(d){return b._mouseDown(d)}).bind("click."+this.widgetName,function(d){if(true===a.data(d.target,b.widgetName+".preventClickEvent")){a.removeData(d.target,b.widgetName+".preventClickEvent");d.stopImmediatePropagation();return false}});this.started=false},_mouseDestroy:function(){this.element.unbind("."+this.widgetName)},_mouseDown:function(b){b.originalEvent=b.originalEvent||{};if(!b.originalEvent.mouseHandled){this._mouseStarted&&this._mouseUp(b);this._mouseDownEvent=b;var h=this,g=b.which==1,d=typeof this.options.cancel=="string"?a(b.target).parents().add(b.target).filter(this.options.cancel).length:false;if(!g||d||!this._mouseCapture(b)){return true}this.mouseDelayMet=!this.options.delay;if(!this.mouseDelayMet){this._mouseDelayTimer=setTimeout(function(){h.mouseDelayMet=true},this.options.delay)}if(this._mouseDistanceMet(b)&&this._mouseDelayMet(b)){this._mouseStarted=this._mouseStart(b)!==false;if(!this._mouseStarted){b.preventDefault();return true}}true===a.data(b.target,this.widgetName+".preventClickEvent")&&a.removeData(b.target,this.widgetName+".preventClickEvent");this._mouseMoveDelegate=function(e){return h._mouseMove(e)};this._mouseUpDelegate=function(e){return h._mouseUp(e)};a(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate);b.preventDefault();return b.originalEvent.mouseHandled=true}},_mouseMove:function(b){if(a.browser.msie&&!(document.documentMode>=9)&&!b.button){return this._mouseUp(b)}if(this._mouseStarted){this._mouseDrag(b);return b.preventDefault()}if(this._mouseDistanceMet(b)&&this._mouseDelayMet(b)){(this._mouseStarted=this._mouseStart(this._mouseDownEvent,b)!==false)?this._mouseDrag(b):this._mouseUp(b)}return !this._mouseStarted},_mouseUp:function(b){a(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate);
if(this._mouseStarted){this._mouseStarted=false;b.target==this._mouseDownEvent.target&&a.data(b.target,this.widgetName+".preventClickEvent",true);this._mouseStop(b)}return false},_mouseDistanceMet:function(b){return Math.max(Math.abs(this._mouseDownEvent.pageX-b.pageX),Math.abs(this._mouseDownEvent.pageY-b.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return true}})})(jQuery);(function(f){f.ui=f.ui||{};var e=/left|center|right/,d=/top|center|bottom/,b=f.fn.position,a=f.fn.offset;f.fn.position=function(l){if(!l||!l.of){return b.apply(this,arguments)}l=f.extend({},l);var m=f(l.of),t=m[0],r=(l.collision||"flip").split(" "),s=l.offset?l.offset.split(" "):[0,0],q,n,p;if(t.nodeType===9){q=m.width();n=m.height();p={top:0,left:0}}else{if(t.setTimeout){q=m.width();n=m.height();p={top:m.scrollTop(),left:m.scrollLeft()}}else{if(t.preventDefault){l.at="left top";q=n=0;p={top:l.of.pageY,left:l.of.pageX}}else{q=m.outerWidth();n=m.outerHeight();p=m.offset()}}}f.each(["my","at"],function(){var g=(l[this]||"").split(" ");if(g.length===1){g=e.test(g[0])?g.concat(["center"]):d.test(g[0])?["center"].concat(g):["center","center"]}g[0]=e.test(g[0])?g[0]:"center";g[1]=d.test(g[1])?g[1]:"center";l[this]=g});if(r.length===1){r[1]=r[0]}s[0]=parseInt(s[0],10)||0;if(s.length===1){s[1]=s[0]}s[1]=parseInt(s[1],10)||0;if(l.at[0]==="right"){p.left+=q}else{if(l.at[0]==="center"){p.left+=q/2}}if(l.at[1]==="bottom"){p.top+=n}else{if(l.at[1]==="center"){p.top+=n/2}}p.left+=s[0];p.top+=s[1];return this.each(function(){var y=f(this),u=y.outerWidth(),k=y.outerHeight(),j=parseInt(f.curCSS(this,"marginLeft",true))||0,h=parseInt(f.curCSS(this,"marginTop",true))||0,A=u+j+(parseInt(f.curCSS(this,"marginRight",true))||0),z=k+h+(parseInt(f.curCSS(this,"marginBottom",true))||0),x=f.extend({},p),g;if(l.my[0]==="right"){x.left-=u}else{if(l.my[0]==="center"){x.left-=u/2}}if(l.my[1]==="bottom"){x.top-=k}else{if(l.my[1]==="center"){x.top-=k/2}}x.left=Math.round(x.left);x.top=Math.round(x.top);g={left:x.left-j,top:x.top-h};f.each(["left","top"],function(w,v){f.ui.position[r[w]]&&f.ui.position[r[w]][v](x,{targetWidth:q,targetHeight:n,elemWidth:u,elemHeight:k,collisionPosition:g,collisionWidth:A,collisionHeight:z,offset:s,my:l.my,at:l.at})});f.fn.bgiframe&&y.bgiframe();y.offset(f.extend(x,{using:l.using}))})};f.ui.position={fit:{left:function(g,h){var j=f(window);j=h.collisionPosition.left+h.collisionWidth-j.width()-j.scrollLeft();g.left=j>0?g.left-j:Math.max(g.left-h.collisionPosition.left,g.left)},top:function(g,h){var j=f(window);j=h.collisionPosition.top+h.collisionHeight-j.height()-j.scrollTop();g.top=j>0?g.top-j:Math.max(g.top-h.collisionPosition.top,g.top)}},flip:{left:function(j,k){if(k.at[0]!=="center"){var p=f(window);p=k.collisionPosition.left+k.collisionWidth-p.width()-p.scrollLeft();var m=k.my[0]==="left"?-k.elemWidth:k.my[0]==="right"?k.elemWidth:0,n=k.at[0]==="left"?k.targetWidth:-k.targetWidth,l=-2*k.offset[0];j.left+=k.collisionPosition.left<0?m+n+l:p>0?m+n+l:0}},top:function(j,k){if(k.at[1]!=="center"){var p=f(window);p=k.collisionPosition.top+k.collisionHeight-p.height()-p.scrollTop();var m=k.my[1]==="top"?-k.elemHeight:k.my[1]==="bottom"?k.elemHeight:0,n=k.at[1]==="top"?k.targetHeight:-k.targetHeight,l=-2*k.offset[1];j.top+=k.collisionPosition.top<0?m+n+l:p>0?m+n+l:0}}}};if(!f.offset.setOffset){f.offset.setOffset=function(j,k){if(/static/.test(f.curCSS(j,"position"))){j.style.position="relative"}var p=f(j),m=p.offset(),n=parseInt(f.curCSS(j,"top",true),10)||0,l=parseInt(f.curCSS(j,"left",true),10)||0;m={top:k.top-m.top+n,left:k.left-m.left+l};"using" in k?k.using.call(j,m):p.css(m)};f.fn.offset=function(g){var h=this[0];if(!h||!h.ownerDocument){return null}if(g){return this.each(function(){f.offset.setOffset(this,g)})}return a.call(this)}}})(jQuery);(function(a){a.fn.swipe=function(b){var d={threshold:{x:10,y:3,tapX:3,tapY:3},swipeLeft:function(e){debug("swiped left")
},swipeRight:function(e){debug("swiped right")},touchMove:function(e,f){debug("moving<br>")},touchStart:function(e){debug("starting<br>")},tap:function(e){debug("tapped<br>")},touchReset:function(e){debug("reset<br>")}};var b=a.extend(d,b);if(!this){return false}return this.each(function(){var j=this;var h=a(this);var g={x:0,y:0};var l={x:0,y:0};var m={x:0,y:0};function e(p){scrolling=false;preventdefault_threshold_x=0;preventdefault_threshold_y=0;firstFinger=p.targetTouches[0];g.x=firstFinger.pageX;g.y=firstFinger.pageY;l.x=firstFinger.pageX;l.y=firstFinger.pageY;m.x=firstFinger.screenX;m.y=firstFinger.screenY;d.touchStart(p)}function k(p){l.x=firstFinger.pageX;l.y=firstFinger.pageY;var r=g.x-l.x;var q=g.y-l.y;preventdefault_threshold_x+=Math.abs(r);preventdefault_threshold_y=Math.abs(q);if(preventdefault_threshold_x>d.threshold.x){p.preventDefault();if(Math.abs(q)/d.threshold.y>Math.abs(r)){scrolling=true}}d.touchMove(p,r)}function n(p){var q=g.y-l.y;var r=g.x-l.x;windowCoordsChangeX=m.x-firstFinger.screenX;windowCoordsChangeY=m.y-firstFinger.screenY;if(!scrolling){if(r>d.threshold.x){d.swipeLeft(p)}else{if(r<(d.threshold.x*-1)){d.swipeRight(p)}else{d.touchReset(p);if(windowCoordsChangeY<d.threshold.tapY&&windowCoordsChangeY>d.threshold.tapY*-1){if(windowCoordsChangeX<d.threshold.tapX&&windowCoordsChangeX>d.threshold.tapX*-1){d.tap(p)}}}}}else{d.touchReset(p)}}function f(p){}this.addEventListener("touchstart",e,false);this.addEventListener("touchmove",k,false);this.addEventListener("touchend",n,false);this.addEventListener("touchcancel",f,false)})}})(jQuery);jQuery.cookie=function(e,f,b){if(arguments.length>1&&String(f)!=="[object Object]"){b=jQuery.extend({},b);if(f===null||f===undefined){b.expires=-1}if(typeof b.expires==="number"){var h=b.expires,d=b.expires=new Date();d.setDate(d.getDate()+h)}f=String(f);return(document.cookie=[encodeURIComponent(e),"=",b.raw?f:encodeURIComponent(f),b.expires?"; expires="+b.expires.toUTCString():"",b.path?"; path="+b.path:"",b.domain?"; domain="+b.domain:"",b.secure?"; secure":""].join(""))}b=f||{};var a,g=b.raw?function(j){return j}:decodeURIComponent;return(a=new RegExp("(?:^|; )"+encodeURIComponent(e)+"=([^;]*)").exec(document.cookie))?g(a[1]):null};
/*
 * jQuery doTimeout: Like setTimeout, but better! - v1.0 - 3/3/2010
 * http://benalman.com/projects/jquery-dotimeout-plugin/
 * 
 * Copyright (c) 2010 "Cowboy" Ben Alman
 * Dual licensed under the MIT and GPL licenses.
 * http://benalman.com/about/license/
 */
(function($){var a={},d="doTimeout",e=Array.prototype.slice;$[d]=function(){return b.apply(window,[0].concat(e.call(arguments)))};$.fn[d]=function(){var g=e.call(arguments),f=b.apply(this,[d+g[0]].concat(g));return typeof g[0]==="number"||typeof g[1]==="number"?this:f};function b(n){var p=this,j,m={},h=n?$.fn:$,q=arguments,k=4,g=q[1],l=q[2],s=q[3];if(typeof g!=="string"){k--;g=n=0;l=q[1];s=q[2]}if(n){j=p.eq(0);j.data(n,m=j.data(n)||{})}else{if(g){m=a[g]||(a[g]={})}}m.id&&clearTimeout(m.id);delete m.id;function f(){if(n){j.removeData(n)}else{if(g){delete a[g]}}}function r(){m.id=setTimeout(function(){m.fn()},l)}if(s){m.fn=function(t){if(typeof s==="string"){s=h[s]}s.apply(p,e.call(q,k))===true&&!t?r():f()};r()}else{if(m.fn){l===undefined?f():m.fn(l===false);return true}else{f()}}}})(jQuery);(function(a){a(document).ready(function(){a("body").prepend('<div id="supersized-loader"></div>').append('<div id="supersized"></div>')});a.supersized=function(h){var v={slideshow:1,autoplay:1,start_slide:1,random:0,slide_interval:5000,transition:1,transition_speed:750,new_window:1,pause_hover:0,keyboard_nav:1,performance:1,image_protect:1,image_path:"img/",min_width:0,min_height:0,vertical_center:1,horizontal_center:1,fit_portrait:0,fit_landscape:0,navigation:1,thumbnail_navigation:0,slide_counter:1,slide_captions:1};var e=a("#supersized");var b="#pauseplay";if(h){var h=a.extend(v,h)}else{var h=a.extend(v)}var p=false;var l=false;var q=h.image_path;if(h.start_slide){var s=h.start_slide-1}else{var s=Math.floor(Math.random()*h.slides.length)
}var n=h.new_window?' target="_blank"':"";if(h.performance==3){e.addClass("speed")}else{if((h.performance==1)||(h.performance==2)){e.addClass("quality")}}if(h.random){arr=h.slides;for(var r,m,t=arr.length;t;r=parseInt(Math.random()*t),m=arr[--t],arr[t]=arr[r],arr[r]=m){}h.slides=arr}if(h.slides.length>1){s-1<0?loadPrev=h.slides.length-1:loadPrev=s-1;var g=(h.slides[loadPrev].url)?"href='"+h.slides[loadPrev].url+"'":"";a("<img/>").attr("src",h.slides[loadPrev].image).appendTo(e).wrap("<a "+g+n+"></a>")}g=(h.slides[s].url)?"href='"+h.slides[s].url+"'":"";a("<img/>").attr("src",h.slides[s].image).appendTo(e).wrap('<a class="activeslide" '+g+n+"></a>");if(h.slides.length>1){s==h.slides.length-1?loadNext=0:loadNext=s+1;g=(h.slides[loadNext].url)?"href='"+h.slides[loadNext].url+"'":"";a("<img/>").attr("src",h.slides[loadNext].image).appendTo(e).wrap("<a "+g+n+"></a>")}e.hide();a("#controls-wrapper").hide();a(document).ready(function(){f()});a.doTimeout("loop",100,function(){if(supersized_load){debug("supersized_load: "+supersized_load);debug("polling: load event fired");d();return false}else{debug("supersized_load: "+supersized_load);debug("polling: load event not fired yet fired");return true}});function d(){supersized_load=true;a("#supersized-loader").hide();e.fadeIn("fast");a("#controls-wrapper").show();if(h.thumbnail_navigation){s-1<0?prevThumb=h.slides.length-1:prevThumb=s-1;a("#prevthumb").show().html(a("<img/>").attr("src",h.slides[prevThumb].image));s==h.slides.length-1?nextThumb=0:nextThumb=s+1;a("#nextthumb").show().html(a("<img/>").attr("src",h.slides[nextThumb].image))}f();if(h.slide_captions){a("#slidecaption").html(h.slides[s].title)}if(!(h.navigation)){a("#navigation").hide()}if(h.slideshow&&h.slides.length>1){if(h.slide_counter){a("#slidecounter .slidenumber").html(s+1);a("#slidecounter .totalslides").html(h.slides.length)}slideshow_interval=setInterval(w,h.slide_interval);if(!(h.autoplay)){clearInterval(slideshow_interval);l=true;if(a(b).attr("src")){a(b).attr("src",q+"play_dull.png")}}if(h.thumbnail_navigation){a("#nextthumb").click(function(){if(p){return false}clearInterval(slideshow_interval);w(e,h);if(!(l)){slideshow_interval=setInterval(w,h.slide_interval)}return false});a("#prevthumb").click(function(){if(p){return false}clearInterval(slideshow_interval);u(e,h);if(!(l)){slideshow_interval=setInterval(w,h.slide_interval)}return false})}if(h.navigation){a("#navigation a").click(function(){a(this).blur();return false});a("#nextslide").click(function(){if(p){return false}clearInterval(slideshow_interval);w();if(!(l)){slideshow_interval=setInterval(w,h.slide_interval)}return false});if(a("#nextslide").attr("src")){a("#nextslide").mousedown(function(){a(this).attr("src",q+"forward.png")});a("#nextslide").mouseup(function(){a(this).attr("src",q+"forward_dull.png")});a("#nextslide").mouseout(function(){a(this).attr("src",q+"forward_dull.png")})}a("#prevslide").click(function(){if(p){return false}clearInterval(slideshow_interval);u();if(!(l)){slideshow_interval=setInterval(w,h.slide_interval)}return false});if(a("#prevslide").attr("src")){a("#prevslide").mousedown(function(){a(this).attr("src",q+"back.png")});a("#prevslide").mouseup(function(){a(this).attr("src",q+"back_dull.png")});a("#prevslide").mouseout(function(){a(this).attr("src",q+"back_dull.png")})}a(b).click(function(){if(p){return false}if(l){if(a(b).attr("src")){a(b).attr("src",q+"pause_dull.png")}l=false;slideshow_interval=setInterval(w,h.slide_interval)}else{if(a(b).attr("src")){a(b).attr("src",q+"play_dull.png")}clearInterval(slideshow_interval);l=true}return false})}}}if(h.keyboard_nav){a(document.documentElement).keydown(function(j){if((j.keyCode==37)||(j.keyCode==40)){if(a("#prevslide").attr("src")){a("#prevslide").attr("src",q+"back.png")}}else{if((j.keyCode==39)||(j.keyCode==38)){if(a("#nextslide").attr("src")){a("#nextslide").attr("src",q+"forward.png")}}}});a(document.documentElement).keyup(function(j){clearInterval(slideshow_interval);if((j.keyCode==37)||(j.keyCode==40)){if(a("#prevslide").attr("src")){a("#prevslide").attr("src",q+"back_dull.png")
}if(p){return false}clearInterval(slideshow_interval);u();if(!(l)){slideshow_interval=setInterval(w,h.slide_interval)}return false}else{if((j.keyCode==39)||(j.keyCode==38)){if(a("#nextslide").attr("src")){a("#nextslide").attr("src",q+"forward_dull.png")}if(p){return false}clearInterval(slideshow_interval);w();if(!(l)){slideshow_interval=setInterval(w,h.slide_interval)}return false}else{if(j.keyCode==32){if(p){return false}if(l){if(a(b).attr("src")){a(b).attr("src",q+"pause_dull.png")}l=false;slideshow_interval=setInterval(w,h.slide_interval)}else{if(a(b).attr("src")){a(b).attr("src",q+"play_dull.png")}l=true}return false}}}})}if(h.slideshow&&h.pause_hover){a(e).hover(function(){if(p){return false}if(!(l)&&h.navigation){if(a(b).attr("src")){a(b).attr("src",q+"pause.png")}clearInterval(slideshow_interval)}},function(){if(!(l)&&h.navigation){if(a(b).attr("src")){a(b).attr("src",q+"pause_dull.png")}slideshow_interval=setInterval(w,h.slide_interval)}})}a(window).resize(function(){f()});function f(){return e.each(function(){var j=a("img",e);a(j).each(function(){var y=(a(this).height()/a(this).width()).toFixed(2);thisSlide=a(this);var x=a(window).width();var A=a(window).height();var B;if((A<=h.min_height)&&(x<=h.min_width)){if((A/x)>y){h.fit_landscape&&y<=1?z(true):C(true)}else{h.fit_portrait&&y>1?C(true):z(true)}}else{if(x<=h.min_width){if((A/x)>y){h.fit_landscape&&y<=1?z(true):C()}else{h.fit_portrait&&y>1?C():z(true)}}else{if(A<=h.min_height){if((A/x)>y){h.fit_landscape&&y<=1?z():C(true)}else{h.fit_portrait&&y>1?C(true):z()}}else{if((A/x)>y){h.fit_landscape&&y<=1?z():C()}else{h.fit_portrait&&y>1?C():z()}}}}function z(D){if(D){if(thisSlide.width()<x||thisSlide.width()<h.min_width){if(thisSlide.width()*y>=h.min_height){thisSlide.width(h.min_width);thisSlide.height(thisSlide.width()*y)}else{C()}}}else{if(h.min_height>=A&&!h.fit_landscape){if(x*y>=h.min_height||(x*y>=h.min_height&&y<=1)){thisSlide.width(x);thisSlide.height(x*y)}else{if(y>1){thisSlide.height(h.min_height);thisSlide.width(thisSlide.height()/y)}else{if(thisSlide.width()<x){thisSlide.width(x);thisSlide.height(thisSlide.width()*y)}}}}else{thisSlide.width(x);thisSlide.height(x*y)}}}function C(D){if(D){if(thisSlide.height()<A){if(thisSlide.height()/y>=h.min_width){thisSlide.height(h.min_height);thisSlide.width(thisSlide.height()/y)}else{z(true)}}}else{if(h.min_width>=x){if(A/y>=h.min_width||y>1){thisSlide.height(A);thisSlide.width(A/y)}else{if(y<=1){thisSlide.width(h.min_width);thisSlide.height(thisSlide.width()*y)}}}else{thisSlide.height(A);thisSlide.width(A/y)}}}if(h.horizontal_center){a(this).css("left",(x-a(this).width())/2)}if(h.vertical_center){a(this).css("top",(A-a(this).height())/2)}});if(h.image_protect){a("img",e).bind("contextmenu",function(){return false});a("img",e).bind("mousedown",function(){return false})}return false})}function w(){if(p){return false}else{p=true}var y=h.slides;var x=e.find(".activeslide");x.removeClass("activeslide");if(x.length==0){x=e.find("a:last")}var j=x.next().length?x.next():e.find("a:first");var z=j.prev().length?j.prev():e.find("a:last");a(".prevslide").removeClass("prevslide");z.addClass("prevslide");s+1==y.length?s=0:s++;if(h.performance==1){e.removeClass("quality").addClass("speed")}loadSlide=false;s==y.length-1?loadSlide=0:loadSlide=s+1;g=(h.slides[loadSlide].url)?"href='"+h.slides[loadSlide].url+"'":"";a("<img/>").attr("src",h.slides[loadSlide].image).appendTo(e).wrap("<a "+g+n+"></a>");if(h.thumbnail_navigation==1){s-1<0?prevThumb=y.length-1:prevThumb=s-1;a("#prevthumb").html(a("<img/>").attr("src",h.slides[prevThumb].image));nextThumb=loadSlide;a("#nextthumb").html(a("<img/>").attr("src",h.slides[nextThumb].image))}x.prev().remove();if(h.slide_counter){a("#slidecounter .slidenumber").html(s+1)}if(h.slide_captions){(h.slides[s].title)?a("#slidecaption").html(h.slides[s].title):a("#slidecaption").html("")}j.hide().addClass("activeslide");switch(h.transition){case 0:j.show();p=false;break;case 1:j.fadeTo(h.transition_speed,1,function(){k()
});break;case 2:j.animate({top:-a(window).height()},0).show().animate({top:0},h.transition_speed,function(){k()});break;case 3:j.animate({left:a(window).width()},0).show().animate({left:0},h.transition_speed,function(){k()});break;case 4:j.animate({top:a(window).height()},0).show().animate({top:0},h.transition_speed,function(){k()});break;case 5:j.animate({left:-a(window).width()},0).show().animate({left:0},h.transition_speed,function(){k()});break;case 6:j.animate({left:a(window).width()},0).show().animate({left:0},h.transition_speed,function(){k()});x.animate({left:-a(window).width()},h.transition_speed);break;case 7:j.animate({left:-a(window).width()},0).show().animate({left:0},h.transition_speed,function(){k()});x.animate({left:a(window).width()},h.transition_speed);break}}function u(){if(p){return false}else{p=true}var y=h.slides;var x=e.find(".activeslide");x.removeClass("activeslide");if(x.length==0){x=a(e).find("a:first")}var j=x.prev().length?x.prev():a(e).find("a:last");var z=j.next().length?j.next():a(e).find("a:first");a(".prevslide").removeClass("prevslide");z.addClass("prevslide");s==0?s=y.length-1:s--;if(h.performance==1){e.removeClass("quality").addClass("speed")}loadSlide=false;s-1<0?loadSlide=y.length-1:loadSlide=s-1;g=(h.slides[loadSlide].url)?"href='"+h.slides[loadSlide].url+"'":"";a("<img/>").attr("src",h.slides[loadSlide].image).prependTo(e).wrap("<a "+g+n+"></a>");if(h.thumbnail_navigation==1){prevThumb=loadSlide;a("#prevthumb").html(a("<img/>").attr("src",h.slides[prevThumb].image));s==y.length-1?nextThumb=0:nextThumb=s+1;a("#nextthumb").html(a("<img/>").attr("src",h.slides[nextThumb].image))}x.next().remove();if(h.slide_counter){a("#slidecounter .slidenumber").html(s+1)}if(h.slide_captions){(h.slides[s].title)?a("#slidecaption").html(h.slides[s].title):a("#slidecaption").html("")}j.hide().addClass("activeslide");switch(h.transition){case 0:j.show();p=false;break;case 1:j.fadeTo(h.transition_speed,1,function(){k()});break;case 2:j.animate({top:a(window).height()},0).show().animate({top:0},h.transition_speed,function(){k()});break;case 3:j.animate({left:-a(window).width()},0).show().animate({left:0},h.transition_speed,function(){k()});break;case 4:j.animate({top:-a(window).height()},0).show().animate({top:0},h.transition_speed,function(){k()});break;case 5:j.animate({left:a(window).width()},0).show().animate({left:0},h.transition_speed,function(){k()});break;case 6:j.animate({left:-a(window).width()},0).show().animate({left:0},h.transition_speed,function(){k()});x.animate({left:a(window).width()},h.transition_speed);break;case 7:j.animate({left:a(window).width()},0).show().animate({left:0},h.transition_speed,function(){k()});x.animate({left:-a(window).width()},h.transition_speed);break}}function k(){p=false;if(h.performance==1){e.removeClass("speed").addClass("quality")}f()}}})(jQuery);(function(d){var a=d.scrollTo=function(g,f,e){d(window).scrollTo(g,f,e)};a.defaults={axis:"xy",duration:parseFloat(d.fn.jquery)>=1.3?0:1};a.window=function(e){return d(window)._scrollable()};d.fn._scrollable=function(){return this.map(function(){var f=this,e=!f.nodeName||d.inArray(f.nodeName.toLowerCase(),["iframe","#document","html","body"])!=-1;if(!e){return f}var g=(f.contentWindow||f).document||f.ownerDocument||f;return d.browser.safari||g.compatMode=="BackCompat"?g.body:g.documentElement})};d.fn.scrollTo=function(g,f,e){if(typeof f=="object"){e=f;f=0}if(typeof e=="function"){e={onAfter:e}}if(g=="max"){g=9000000000}e=d.extend({},a.defaults,e);f=f||e.speed||e.duration;e.queue=e.queue&&e.axis.length>1;if(e.queue){f/=2}e.offset=b(e.offset);e.over=b(e.over);return this._scrollable().each(function(){var n=this,l=d(n),m=g,k,h={},p=l.is("html,body");switch(typeof m){case"number":case"string":if(/^([+-]=)?\d+(\.\d+)?(px|%)?$/.test(m)){m=b(m);break}m=d(m,this);case"object":if(m.is||m.style){k=(m=d(m)).offset()}}d.each(e.axis.split(""),function(u,s){var x=s=="x"?"Left":"Top",v=x.toLowerCase(),y="scroll"+x,r=n[y],w=a.max(n,s);if(k){h[y]=k[v]+(p?0:r-l.offset()[v]);
if(e.margin){h[y]-=parseInt(m.css("margin"+x))||0;h[y]-=parseInt(m.css("border"+x+"Width"))||0}h[y]+=e.offset[v]||0;if(e.over[v]){h[y]+=m[s=="x"?"width":"height"]()*e.over[v]}}else{try{var q=m[v];h[y]=q.slice&&q.slice(-1)=="%"?parseFloat(q)/100*w:q}catch(t){}}if(/^\d+$/.test(h[y])){h[y]=h[y]<=0?0:Math.min(h[y],w)}if(!u&&e.queue){if(r!=h[y]){j(e.onAfterFirst)}delete h[y]}});j(e.onAfter);function j(q){l.animate(h,f,e.easing,q&&function(){q.call(this,g,e)})}}).end()};a.max=function(l,k){var j=k=="x"?"Width":"Height",f="scroll"+j;if(!d(l).is("html,body")){return l[f]-d(l)[j.toLowerCase()]()}var h="client"+j,g=l.ownerDocument.documentElement,e=l.ownerDocument.body;return Math.max(g[f],e[f])-Math.min(g[h],e[h])};function b(e){return typeof e=="object"?e:{top:e,left:e}}})(jQuery);(function(a){a.widget("ui.listingoverlay",{options:{iftfshow:"",colWidth:250},_create:function(){var d=this;o=d.options;el=d.element;var e="en";var b={en:{sortimagesbydesigner:"Sort images by Designer",sortimagesbycity:"Sort images by City",sortimagesbyfurtype:"Sort images by Fur Type",},de:{}};var f=b[e];jQuery("#col2_content").prepend("<div class='listingoverlay' style='display:none;'><div class='listingoverlay_content'><a href='#' class='close'><span>x</span></a>   <a href='#' class='prevbutton'><span>previous</span></a>  <div class='listingoverlay_content_innerwrap'> </div>   <a href='#'  class='nextbutton'><span>next</span></a>   </div></div>");d.listingoverlay_element=d.element.find(".listingoverlay");d.listingoverlay_content=d.listingoverlay_element.find(".listingoverlay_content");d.listingoverlay_content_innerwrap=d.listingoverlay_content.find(".listingoverlay_content_innerwrap");jQuery(".submenu .current").append("<ul class='selectpanel'><li><a href='#' class='designer'>"+f.sortimagesbydesigner+"</a></li> <li><a href='#' class='city'>"+f.sortimagesbycity+"</a></li> <li><a href='#' class='fur'>"+f.sortimagesbyfurtype+"</a></li></ul>");navigation=a(".selectpanel");navigation.find("a").live("click",function(){mode=a(this).attr("class");mode=mode.split(" ")[0];d.setMode(mode);d.loadListingContent("mode="+d.getMode(mode));a(".submenu li.current").each(function(){a(this).removeClass("current")});a(".submenu .currentlink").each(function(){a(this).removeClass("currentlink")});a(this).addClass("currentlink");return false});d.listingoverlay_element.find(".close").live("click",function(){d.close_listingoverlay();return false});d.listingoverlay_element.find(".close").live("click",function(){d.close_listingoverlay();return false});d.listingoverlay_content_innerwrap.find("a").live("click",function(){var g="&"+a.param.querystring(a(this).attr("href"));d.options.iftfshow.iftfshow("update",g);d.updateBreadcrumbNav(a(this).find("span").text());return false});d.listingoverlay_element.find(".nextbutton").live("click",function(){d.listingoverlay_element.find(".listingoverlay_content_innerwrap").scrollTo("+="+o.colWidth+"px",{axis:"x",duration:"300"});return false});d.listingoverlay_element.find(".prevbutton").live("click",function(){d.listingoverlay_element.find(".listingoverlay_content_innerwrap").scrollTo("-="+o.colWidth+"px",{axis:"x",duration:"300"});return false});a("#nav_breadcrumb").append("<span class='filtername'> </span>");a(window).resize(function(){d.updatePosition()})},loadListingContent:function(b){var d=this;if(b){ajax_api_baseurl=d.options.ajax_api_baseurl+"&"+b}else{ajax_api_baseurl=d.options.ajax_api_baseurl}d.options.iftfshow.iftfshow("increaseActiveAjaxRequests");d.listingoverlay_element.find(".listingoverlay_content_innerwrap").load(ajax_api_baseurl+" .user-iftfcatwalk-pi1-list",e);function e(){d.options.iftfshow.iftfshow("decreaseActiveAjaxRequests");d.listingoverlay_element.find(".listingoverlay_content_innerwrap a.viewall").each(function(){a(this).attr("href",a(this).attr("href")+"&mode="+d.getMode());a(this).html(a(this).parent().find("span").removeAttr("onclick"))});var f=d.listingoverlay_element.find("dt");d.listingoverlay_element.find("dd").remove();
var j=d.listingoverlay_element.find("dt").size();var g=26;var k=Math.ceil(j/26);if(k>4){d.listingoverlay_element.find(".nextbutton").show();d.listingoverlay_element.find(".prevbutton").hide();d.listingoverlay_element.find(".nextbutton").click(function(){d.listingoverlay_element.find(".prevbutton").show()})}else{d.listingoverlay_element.find(".nextbutton").hide();d.listingoverlay_element.find(".prevbutton").hide()}d.listingoverlay_element.find(".user-iftfcatwalk-pi1-list").css("width",(k*o.colWidth)+"px");for(var h=0;h<k-1;h++){d.listingoverlay_element.find("dl:first").after("<dl></dl>")}for(var h=1;h<k;h++){d.listingoverlay_element.find("dl").eq(h).append(d.listingoverlay_element.find("dl:first dt").slice(g,g*2))}d.open_listingoverlay();d.updatePosition()}},open_listingoverlay:function(){var b=this;b.listingoverlay_element.show()},close_listingoverlay:function(){var b=this;b.listingoverlay_element.hide();b.updatePosition()},setMode:function(d){var b=this;b.mode=d},getMode:function(){var b=this;return b.mode},updatePosition:function(){var b=this;var d=a(".listingoverlay");var e=a(".aio_infinitecarousel");d.css("left",(e.position().left)+"px");d.css("top",(parseInt(e.css("margin-top"))+20)+"px");d.css("width",e.css("width"));d.css("height",e.css("height"))},updateBreadcrumbNav:function(d){var b=this;a("#nav_breadcrumb .filtername").html("<span >&nbsp;·&nbsp;</span> <span class='label'>"+d+"</span>")},})})(jQuery);(function(b){var d={elements:"img",itemSize:{height:200,width:200},view:null,navigators:null,navigationMode:"s",speed:600,wrappers:"simple",circular:false,easing:"linear",axis:"x",margin:true,start:null,setWidth:false,stepSize:5};function a(g,f,e){switch(f){case"crop":g=g.wrap('<div class="jq-ss-crop">').parent().css("overflow","hidden");case"resize":return g.css(e);case"simple":return g;case"link":if(g.is("img")){return g.wrap('<a target="_blank" class="jq-ss-link">').parent().each(function(){this.href=this.firstChild.src})}default:return g}}b.fn.scrollShow=function(e){e=b.extend({},d,e);return this.each(function(){var j=this,l=e.view?b(e.view,this):this,n=b(e.elements,l),h=n.length,g=0;b.each(e.wrappers.split(/\s*,\s*/),function(q,r){n=a(n,r,e.itemSize)});n.css(e.itemSize);if(!e.navigators){e.navigators="";e.navigationMode="r"}if(e.navigators.constructor!=Array){e.navigators=[e.navigators]}b.each(e.navigationMode.split(""),function(q,r){switch(r.charAt(0)){case"s":b(e.navigators[q],j).eq(0).bind("click",{dir:-e.stepSize},k).end().eq(1).bind("click",{dir:+e.stepSize},k);break}});(function(r,q){var s=(r.width()+p("margin")+p("padding")+m("border"));do{q-=s}while(q>0&&h--);if(!e.setWidth){return}do{r=r.parent();if(r[0]==l[0]){return}}while(r.length>1);r.width(s*n.length)})(n,l.width());if(e.start!=null){f(e.start)}function p(q){return m(q+"Left")+m(q+"Right")}function m(q){return parseInt(n.css(q))||0}function k(q){b("#screen").find(".left.button").fadeIn();q.data.pos=g+q.data.dir;return f(q)}function f(q){var r=typeof q=="number"?q:q.data.pos;if(r<0){r=g==0&&e.circular?h:0}else{if(r>h){r=g==h&&e.circular?0:h}}l.stop().scrollTo(n[r],e);g=r;return false}})}})(jQuery);(function(a){a.widget("ui.scrollShowStartpage",{options:{itemSize:{height:125,width:221,},view:"#view",content:"#images",easing:"backout",navigators:"a[id]",navigationMode:"sr",circular:true,start:0,setWidth:true,},_create:function(){var e=this;o=e.options;el=e.element;current_index=0;var b=el.find("#images");var d=b.find("li").size()*b.find("li:first").width();b.css("width",d+"px");var f=b.find("li").size();el.scrollShow(o);if(a("#images").width()<a(window).width()){a(".right.button").hide()}a(window).resize(function(){e._windowresize()})},_windowresize:function(){var b=this;b.element.scrollShow(b.options)},})})(jQuery);$.easing.backout=function(e,f,a,j,h){var g=1.70158;return j*((f=f/h-1)*f*((g+1)*f+g)+1)+a};(function(a){a.widget("ui.carousel",{options:{thumbsnav:"",iftfshow:"",},_create:function(){var b=this,e=b.options,d=b.element;d.find(".user-iftfcatwalk-pi1-detail > a").live("click",function(){return false
});b.requests=new Array()},start:function(h){var b=this,g=b.options,f=b.element;b.imagelist=g.thumbsnav.thumbsnav("getImageList");b.numberofimages=b.imagelist.length;var e='<div class="aio_infinitecarousel">';e+='  <a class="previous">Previous</a><a class="next">Next</a>';e+='  <div class="slider-stage">';e+='    <div class="slider-list">';e+="    </div>";e+="  </div>";e+="</div>";f.append(e);sliderList=f.find(".slider-list");panelhtml="";for(var d=0;d<b.numberofimages;d++){panelhtml=panelhtml+"<div class='panel panel_index_"+d+"'></div>"}sliderList.append(panelhtml);a(".aio_infinitecarousel .previous").click(function(){b.previous()});a(".aio_infinitecarousel .next").click(function(){b.next()});increment=sliderList.find(".panel:first").outerWidth("true"),elmnts=b.numberofimages,numElmts=b.numberofimages,sizeFirstElmnt=increment,firstElementOnViewPort=2,isAnimating=false;sliderList.css("width",(numElmts)*increment+"px");b.setIndex(0);h()},update:function(){var b=this;b.element.find(".aio_infinitecarousel").remove();b.start(function(){b.options.iftfshow.iftfshow("updatePosition")})},getIndex:function(){return this.currentindex},setIndex:function(d){var b=this;this.currentindex=d;if(this.currentindex>b.numberofimages-1){this.currentindex=0}if(this.currentindex<0){this.currentindex=b.numberofimages-1}this._trigger("index_change",null,el);b.options.thumbsnav.thumbsnav("setIndex",this.currentindex);if(!isAnimating){jQuery(sliderList).animate({left:b.getLeftIntend()+"px",},"easeInOut",function(){isAnimating=false;b._trigger("animation_complete",null,el);b.fillPanels(b.getIndex())});isAnimating=true}},increaseIndex:function(){var b=this;b.setIndex(b.getIndex()+1)},decreaseIndex:function(){var b=this;b.setIndex(b.getIndex()-1)},getLeftIntend:function(){var b=this;leftintend=(-1*b.getIndex()*increment)+increment;return leftintend},next:function(){if(!isAnimating){this.increaseIndex()}},previous:function(){if(!isAnimating){this.decreaseIndex()}},fillPanels:function(f){var d=this;d.abortAjaxRequests();if(d.element.find(".panel_index_"+f).find(".user-iftfcatwalk-pi1-detail").size()<1){d.options.iftfshow.iftfshow("increaseActiveAjaxRequests");var e=d.imagelist[f][1]+"&mode=detail_designer";d.requests.push(a.ajax({type:"get",url:e,success:function(g){a(".panel_index_"+f).html(a(g).find(".user-iftfcatwalk-pi1-detail"));a(".user-iftfcatwalk-pi1-detail a").removeAttr("onclick");d.options.iftfshow.iftfshow("decreaseActiveAjaxRequests");b(f)}}))}else{b(f)}function b(j){indexes_to_preload=d.getPreloadIndexes(j);var g=new Array();for(var k=0;k<indexes_to_preload.length;k++){g[k]=d.element.find(".panel_index_"+indexes_to_preload[k]);if(g[k].find(".user-iftfcatwalk-pi1-detail").size()<1){d.options.iftfshow.iftfshow("increaseActiveAjaxRequests");var h=d.imagelist[indexes_to_preload[k]][1]+"&mode=detail_designer";d.requests.push(a.ajax({type:"get",url:h,context:g[k],success:function(l){debug(a(this));a(this).html(a(l).find(".user-iftfcatwalk-pi1-detail"));a(".user-iftfcatwalk-pi1-detail a").removeAttr("onclick");d.options.iftfshow.iftfshow("decreaseActiveAjaxRequests")}}))}}}},abortAjaxRequests:function(){var b=this;for(var d=0;d<b.requests.length;d++){b.requests[d].abort()}b.options.iftfshow.iftfshow("abortActiveAjaxRequests");b.requests.length=0},getPreloadIndexes:function(e){var b=this;var d=new Array();d[0]=e;if(b.numberofimages>1){d[1]=e+1;if(d[1]==b.numberofimages){d[1]=0}}if(b.numberofimages>2){d[2]=e+2;if(d[2]==b.numberofimages){d[2]=1}else{if(d[2]==b.numberofimages+1){d[2]=2}else{if(d[2]==b.numberofimages+2){d[2]=3}}}}if(b.numberofimages>3){d[3]=e+3;if(d[3]==b.numberofimages){d[3]=2}else{if(d[3]==b.numberofimages+1){d[3]=3}else{if(d[3]==b.numberofimages+2){d[3]=4}else{if(d[3]==b.numberofimages+3){d[3]=5}}}}}if(b.numberofimages>4){d[4]=e-1;if(d[4]==-1){d[4]=b.numberofimages-2}}if(b.numberofimages>5){d[5]=e-2;if(d[5]==-1){d[5]=b.numberofimages-1}else{if(d[5]==-2){d[5]=b.numberofimages-1}}}return d},})})(jQuery);(function(a){a.fn.clickitem=function(b){var d=a.extend({},a.fn.clickitem.defaults,b);
return this.each(function(){$this=a(this);var f=a.meta?a.extend({},d,$this.data()):d;var e=$this;if(e.find("a").size()>0){jQuery($this).click(function(){window.location.href="/"+e.find("a").attr("href")})}})}})(jQuery);jQuery.event.special.click={setup:function(){jQuery(this).css("cursor","pointer");return false},teardown:function(){jQuery(this).css("cursor","");return false}};(function(a){a.fn.swipe=function(b){var d={threshold:{x:10,y:3,tapX:3,tapY:3},swipeLeft:function(e){debug("swiped left")},swipeRight:function(e){debug("swiped right")},touchMove:function(e,f){debug("moving<br>")},touchStart:function(e){debug("starting<br>")},tap:function(e){debug("tapped<br>")},touchReset:function(e){debug("reset<br>")}};var b=a.extend(d,b);if(!this){return false}return this.each(function(){var j=this;var h=a(this);var g={x:0,y:0};var l={x:0,y:0};var m={x:0,y:0};function e(p){scrolling=false;preventdefault_threshold_x=0;preventdefault_threshold_y=0;firstFinger=p.targetTouches[0];g.x=firstFinger.pageX;g.y=firstFinger.pageY;l.x=firstFinger.pageX;l.y=firstFinger.pageY;m.x=firstFinger.screenX;m.y=firstFinger.screenY;d.touchStart(p)}function k(p){l.x=firstFinger.pageX;l.y=firstFinger.pageY;var r=g.x-l.x;var q=g.y-l.y;preventdefault_threshold_x+=Math.abs(r);preventdefault_threshold_y=Math.abs(q);if(preventdefault_threshold_x>d.threshold.x){p.preventDefault();if(Math.abs(q)/d.threshold.y>Math.abs(r)){scrolling=true}}d.touchMove(p,r)}function n(p){var q=g.y-l.y;var r=g.x-l.x;windowCoordsChangeX=m.x-firstFinger.screenX;windowCoordsChangeY=m.y-firstFinger.screenY;if(!scrolling){if(r>d.threshold.x){d.swipeLeft(p)}else{if(r<(d.threshold.x*-1)){d.swipeRight(p)}else{d.touchReset(p);if(windowCoordsChangeY<d.threshold.tapY&&windowCoordsChangeY>d.threshold.tapY*-1){if(windowCoordsChangeX<d.threshold.tapX&&windowCoordsChangeX>d.threshold.tapX*-1){d.tap(p)}}}}}else{d.touchReset(p)}}function f(p){}this.addEventListener("touchstart",e,false);this.addEventListener("touchmove",k,false);this.addEventListener("touchend",n,false);this.addEventListener("touchcancel",f,false)})}})(jQuery);(function(f){var h=typeof window.localStorage!=="undefined";function j(m,k){var l;if(typeof m==="string"&&typeof k==="string"){localStorage[m]=k;return true}else{if(typeof m==="object"&&typeof k==="undefined"){for(l in m){if(m.hasOwnProperty(l)){localStorage[l]=m[l]}}return true}}return false}function b(q,k){var l,m,p;l=new Date();l.setTime(l.getTime()+31536000000);m="; expires="+l.toGMTString();if(typeof q==="string"&&typeof k==="string"){document.cookie=q+"="+k+m+"; path=/";return true}else{if(typeof q==="object"&&typeof k==="undefined"){for(p in q){if(q.hasOwnProperty(p)){document.cookie=p+"="+q[p]+m+"; path=/"}}return true}}return false}function e(k){return localStorage[k]}function d(q){var p,k,l,m;p=q+"=";k=document.cookie.split(";");for(l=0;l<k.length;l++){m=k[l];while(m.charAt(0)===" "){m=m.substring(1,m.length)}if(m.indexOf(p)===0){return m.substring(p.length,m.length)}}return null}function g(k){return delete localStorage[k]}function a(k){return b(k,"",-1)}f.extend({Storage:{set:h?j:b,get:h?e:d,remove:h?g:a}})})(jQuery);(function(a){a.widget("ui.thumbsnav",{options:{url:"",carousel:"",iftfshow:"",itemSize:{height:125,width:86},view:"#view",easing:"backout",start:0,setWidth:true,stepSize:8,speed:800,axis:"x",onAfter:"",},_create:function(){var d=this,f=d.options,e=d.element;d.current_image=0;var b="";d.load(f.url);d.options.onAfter=function(){d._scrollEvent()}},update:function(d){var b=this;b.load(d)},getImageList:function(){return this.imagelist},setImageList:function(b){var d=this;d.imagelist=b},getImageURLsForCarousel:function(){var b=this;return b.getImageList()},load:function(d,e){var b=this;b.options.iftfshow.iftfshow("increaseActiveAjaxRequests");a.get(d,{cache:false},function(f){b.options.iftfshow.iftfshow("decreaseActiveAjaxRequests");xmlString=f;if(window.DOMParser){parser=new DOMParser();xmlDoc=parser.parseFromString(xmlString,"text/xml")}else{xmlDoc=new ActiveXObject("Microsoft.XMLDOM");
xmlDoc.async="false";xmlDoc.loadXML(xmlString)}thumbnodes=a(xmlDoc).find(".user-iftfcatwalk-pi1-thumbs").find(".thumb");image_array=new Array();index=0;thumbnodes.each(function(){image_array[index]=new Array();image_array[index][0]=a(this).find("img").attr("src");image_array[index][1]=a(this).find("a").attr("href");index++});if(image_array.length>0){b.setImageList(image_array);b._buildScrollingView()}else{a(".aio_infinitecarousel_innerwrap").html("<div class='error_noimages_found'>No images found.</div>");a("#images").remove()}})},_buildScrollingView:function(){var d=this,g=d.element;var e="";var b=d.getImageList();for(i=0;i<b.length;i++){if(i<d.options.preloadthumbs){e+="<li>";e+='<a href="'+b[i][1]+'" ><img src="'+b[i][0]+'" /></a>';e+="</li>"}else{e+="<li>";e+='<a href="'+b[i][1]+'" ><img rel="'+b[i][0]+'" /></a>';e+="</li>"}}var f='<ul id="screen" class="iftf_thumbsnav">';f+='<li class="left button">';f+='<a id="left" href="#" style="cursor: pointer;" name="left"><span>&lt;&lt;</span></a>';f+="</li>";f+='<li id="view">';f+='<ul id="images">';f+=e;f+="</ul>";f+="</li>";f+='<li class="right button">';f+='<a id="right" href="#" style="cursor: pointer;" name="right"><span>&gt;&gt;</span></a>';f+="</li>";f+="</ul>";g.html(f);a("#images").css("width",b.length*a("#images li:first").outerWidth());d.element.find("#view li a").live("click",function(){d.options.carousel.carousel("setIndex",a(this).parent().index());return false});d.element.find(".button.right a").live("click",function(){viewport_width=a(window).width();element_width=d.element.find("#view li").first().outerWidth();left_css_margin=310;thumbnav_width=viewport_width-left_css_margin;numberofvisibleelements=Math.floor(thumbnav_width/element_width);current_position=d.element.find("#images").position().left;scrollto_position=Math.abs(current_position)+((numberofvisibleelements-3)*element_width);calculated_offset=Math.abs(current_position)+thumbnav_width;if(calculated_offset==d.element.find("#images").outerWidth()){scrollto_position=0}if(current_position==0){scrollto_position=calculated_offset}d.element.find("#view").stop().scrollTo(scrollto_position,d.options);d.element.find(".button.left").show();return false});d.element.find(".button.left a").live("click",function(){viewport_width=a(window).width();element_width=d.element.find("#view li").first().outerWidth();left_css_margin=310;thumbnav_width=viewport_width-left_css_margin;numberofvisibleelements=Math.floor(thumbnav_width/element_width);current_position=d.element.find("#images").position().left;scrollto_position=Math.abs(current_position)-((numberofvisibleelements-3)*element_width);if(current_position==0){scrollto_position=d.element.find("#images").outerWidth()}if(scrollto_position<0){scrollto_position=0}d.element.find("#view").stop().scrollTo(Math.abs(scrollto_position),d.options);return false});d._trigger("ready",null,g)},setIndex:function(d){var b=this;b._highlightElement(d)},_highlightElement:function(d){var b=this;b.element.find("#view li").removeClass("current");b.element.find("#view li").eq(d).addClass("current");b.element.find("#view li a .current_overlay").remove();b.element.find("#view li.current a").prepend("<div class='current_overlay'></div>");b._scrollTo(d);b._preloadThumbs(d)},_scrollTo:function(d){var b=this;viewport_width=a(window).width();element_width=b.element.find("#view li").first().outerWidth();left_css_margin=310;thumbnav_width=viewport_width-left_css_margin;current_left_position=b.element.find("#images li.current").offset().left;numberofvisibleelements=Math.floor(thumbnav_width/element_width);if(!e(d)){scrollto_position=element_width*d;b.element.find("#view").stop().scrollTo(scrollto_position,b.options);b.element.find(".left.button").show()}function e(f){if(current_left_position>=left_css_margin&&current_left_position<=(viewport_width-element_width)){debug("checkIfInViewport true");return true}else{debug("checkIfInViewport false");return false}}},_scrollEvent:function(){var b=this;b._trigger("scroll");
b._preloadThumbs()},_preloadThumbs:function(e){var b=this;viewport_width=a(window).width();element_width=b.element.find("#view li").first().outerWidth();left_css_margin=310;thumbnav_width=viewport_width-left_css_margin;numberofvisibleelements=Math.floor(thumbnav_width/element_width);offset_left=b.element.find("#images").position().left;if(e==undefined){e=Math.floor(Math.abs(offset_left)/element_width)}startposition=e-(numberofvisibleelements*3);if(startposition<0){startposition=0}endposition=e+numberofvisibleelements*3;if(endposition>=b.getImageList().length){endposition=b.getImageList().length}if(e==0){startposition=0;endposition=numberofvisibleelements*3;d(startposition,endposition);startposition=b.getImageList().length-numberofvisibleelements*3;endposition=b.getImageList().length;d(startposition,endposition)}else{d(startposition,endposition)}function d(f,g){preload_set=b.element.find("#view li a img").slice(f,g);preload_set.each(function(){c=a(this);if(c.attr("rel")){url=c.attr("rel");c.removeAttr("rel");c.attr("src",url)}})}},})})(jQuery);new function(f){var e=f.separator||"&";var d=f.spaces===false?false:true;var a=f.suffix===false?"":"[]";var h=f.prefix===false?false:true;var b=h?f.hash===true?"#":"?":"";var g=f.numbers===false?false:true;jQuery.query=new function(){var j=function(p,n){return p!=undefined&&p!==null&&(!!n?p.constructor==n:true)};var k=function(t){var n,s=/\[([^[]*)\]/g,p=/^([^[]+)(\[.*\])?$/.exec(t),q=p[1],r=[];while(n=s.exec(p[2])){r.push(n[1])}return[q,r]};var m=function(u,t,s){var v,r=t.shift();if(typeof u!="object"){u=null}if(r===""){if(!u){u=[]}if(j(u,Array)){u.push(t.length==0?s:m(null,t.slice(0),s))}else{if(j(u,Object)){var q=0;while(u[q++]!=null){}u[--q]=t.length==0?s:m(u[q],t.slice(0),s)}else{u=[];u.push(t.length==0?s:m(null,t.slice(0),s))}}}else{if(r&&r.match(/^\s*[0-9]+\s*$/)){var p=parseInt(r,10);if(!u){u=[]}u[p]=t.length==0?s:m(u[p],t.slice(0),s)}else{if(r){var p=r.replace(/^\s*|\s*$/g,"");if(!u){u={}}if(j(u,Array)){var n={};for(var q=0;q<u.length;++q){n[q]=u[q]}u=n}u[p]=t.length==0?s:m(u[p],t.slice(0),s)}else{return s}}}return u};var l=function(n){var p=this;p.keys={};if(n.queryObject){jQuery.each(n.get(),function(q,r){p.SET(q,r)})}else{jQuery.each(arguments,function(){var r=""+this;r=r.replace(/^[?#]/,"");r=r.replace(/[;&]$/,"");if(d){r=r.replace(/[+]/g," ")}jQuery.each(r.split(/[&;]/),function(){var q=decodeURIComponent(this.split("=")[0]||"");var s=decodeURIComponent(this.split("=")[1]||"");if(!q){return}if(g){if(/^[+-]?[0-9]+\.[0-9]*$/.test(s)){s=parseFloat(s)}else{if(/^[+-]?[0-9]+$/.test(s)){s=parseInt(s,10)}}}s=(!s&&s!==0)?true:s;if(s!==false&&s!==true&&typeof s!="number"){s=s}p.SET(q,s)})})}return p};l.prototype={queryObject:true,has:function(n,p){var q=this.get(n);return j(q,p)},GET:function(p){if(!j(p)){return this.keys}var n=k(p),q=n[0],s=n[1];var r=this.keys[q];while(r!=null&&s.length!=0){r=r[s.shift()]}return typeof r=="number"?r:r||""},get:function(n){var p=this.GET(n);if(j(p,Object)){return jQuery.extend(true,{},p)}else{if(j(p,Array)){return p.slice(0)}}return p},SET:function(p,u){var r=!j(u)?null:u;var n=k(p),q=n[0],t=n[1];var s=this.keys[q];this.keys[q]=m(s,t.slice(0),r);return this},set:function(n,p){return this.copy().SET(n,p)},REMOVE:function(n){return this.SET(n,null).COMPACT()},remove:function(n){return this.copy().REMOVE(n)},EMPTY:function(){var n=this;jQuery.each(n.keys,function(p,q){delete n.keys[p]});return n},load:function(n){var q=n.replace(/^.*?[#](.+?)(?:\?.+)?$/,"$1");var p=n.replace(/^.*?[?](.+?)(?:#.+)?$/,"$1");return new l(n.length==p.length?"":p,n.length==q.length?"":q)},empty:function(){return this.copy().EMPTY()},copy:function(){return new l(this)},COMPACT:function(){function n(r){var q=typeof r=="object"?j(r,Array)?[]:{}:r;if(typeof r=="object"){function p(u,s,t){if(j(u,Array)){u.push(t)}else{u[s]=t}}jQuery.each(r,function(s,t){if(!j(t)){return true}p(q,s,n(t))})}return q}this.keys=n(this.keys);return this},compact:function(){return this.copy().COMPACT()},toString:function(){var q=0,u=[],t=[],p=this;
var r=function(v){v=v+"";if(d){v=v.replace(/ /g,"+")}return encodeURIComponent(v)};var n=function(v,w,x){if(!j(x)||x===false){return}var y=[r(w)];if(x!==true){y.push("=");y.push(r(x))}v.push(y.join(""))};var s=function(w,v){var x=function(y){return !v||v==""?[y].join(""):[v,"[",y,"]"].join("")};jQuery.each(w,function(y,z){if(typeof z=="object"){s(z,x(y))}else{n(t,x(y),z)}})};s(this.keys);if(t.length>0){u.push(b)}u.push(t.join(e));return u.join("")}};return new l(location.search,location.hash)}}(jQuery.query||{});(function(a){a.widget("ui.iftfshow",{options:{API_PAGEID:231,},_create:function(){var k=this;o=k.options;el=k.element;var h;var g;k.activeajaxrequests=0;k.listingoverlay=a("#col2");jQuery("#col3").hide();jQuery("body").addClass("iftfshow");var j=jQuery("#col2_content");var d=jQuery("#iftfcode").text().split(",");var l=d[0];var b=d[1];var e="/index.php?id="+o.API_PAGEID+"&season="+l+"&style="+b;o.ajax_api_baseurl=e;k.thumbsnav=a(".footer_bottompositionbox_innerwrap");k.carousel=j;jQuery("#col2").prepend("<div class='loadingicon'><div class='icon'>loading...</div></div>");k.showLoadingIcon();k.listingoverlay.listingoverlay({ajax_api_baseurl:k.options.ajax_api_baseurl,iftfshow:k.element,});a(window).resize(function(){k.updatePosition()});var f="&season="+l+"&style="+b+"&action=viewall";k.initializeGalleryComponents(f)},initializeGalleryComponents:function(d){var b=this;b.thumbsnav.thumbsnav({url:b.options.ajax_api_baseurl+d,carousel:b.carousel,iftfshow:b.element,});b.thumbsnav.thumbsnav({ready:function(g,f){b.carousel.carousel({thumbsnav:b.thumbsnav,iftfshow:b.element,});b.carousel.carousel("start",function(){b.updatePosition()})}})},update:function(d){var b=this;b.thumbsnav.thumbsnav("update",b.options.ajax_api_baseurl+d);b.thumbsnav.thumbsnav({ready:function(g,f){b.carousel.carousel("update")},})},updatePosition:function(){var b=this;var e=b.element.find(".aio_infinitecarousel");var d=a(window).height()-a("#header").height()-a("#footer").height()-50;marginTop=Math.floor((d-e.height())/2);if(marginTop<0){marginTop=0}e.css("margin-top",marginTop+"px");col2width=a(window).width()-a("#col1").width()-30;jQuery("#col2").css("width",col2width+"px");carousel_view_width=e.outerWidth();carousel_view_left=Math.floor((col2width-e.outerWidth())/2);if(col2width>carousel_view_width){carousel_view_width=col2width;if(carousel_view_width>1050){carousel_view_width=1050}e.css("width",carousel_view_width-10+"px");e.css("left",carousel_view_left+"px");e.find(".slider-stage").css("left",0+"px")}else{e.css("width",col2width-10+"px");e.css("left",0+"px");e.find(".slider-stage").css("left",carousel_view_left+"px")}},getActiveAjaxRequests:function(){var b=this;return b.activeajaxrequests},increaseActiveAjaxRequests:function(){var b=this;b.activeajaxrequests++;b.onActiveAjaxRequestsChange()},decreaseActiveAjaxRequests:function(){var b=this;b.activeajaxrequests--;b.onActiveAjaxRequestsChange()},abortActiveAjaxRequests:function(){var b=this;b.activeajaxrequests=0;b.onActiveAjaxRequestsChange()},onActiveAjaxRequestsChange:function(){var b=this;debug("activeAjaxRequests: "+b.getActiveAjaxRequests());if(b.getActiveAjaxRequests()<=0){b.hideLoadingIcon()}else{b.showLoadingIcon()}},showLoadingIcon:function(){a(".loadingicon .icon").show()},hideLoadingIcon:function(){a(".loadingicon .icon").hide()},})})(jQuery);(function(a){a.widget("ui.iftfshow_mobile",{options:{API_PAGEID:231,},_create:function(){var b=this;b.activeajaxrequests=0;b.requests=new Array();b.model={html:"",url:"",};jQuery("#col3").hide();jQuery("body").addClass("iftfshow");b.setParameterObject();b.setBlockLoadingIcon(false);jQuery("#col2_content").prepend("<div class='loadingicon'><div class='icon'>loading...</div></div>");b.showLoadingIcon();var e="<div class='mobile_gallery'>";e+="<div class='listview mobile_gallery_view'>  </div>";e+="<div class='thumbsview mobile_gallery_view'>  </div>";e+="<div class='detailview mobile_gallery_view'>  </div>";e+="</div>";b.element.append(e);b.listview=b.element.find(".listview");
b.thumbsview=b.element.find(".thumbsview");b.detailview=b.element.find(".detailview");b.listview.iftfshow_mobile_listview({iftfshow_mobile:b.element});b.thumbsview.iftfshow_mobile_thumbsview({iftfshow_mobile:b.element});b.detailview.iftfshow_mobile_detailview({iftfshow_mobile:b.element});a(".footer_bottompositionbox_innerwrap .backbutton").live("click",function(){history.back();return false});b._renderStateView();a(window).bind("hashchange",function(f){b._renderStateView()});a("#nav_breadcrumb a.designer").live("click",function(){var f=a(this);b.setFragment({url:f.attr("rel"),controller:"thumbsview",});return false});var d=a("#nav_breadcrumb > span:last");d.wrap('<a href="#" class="seasonlink" />')},_renderStateView:function(){var b=this;b.listview.html("");b.thumbsview.find(".user-iftfcatwalk-pi1-thumbs").hide();if(!b.getBlockLoadingIcon()){b.detailview.html("")}var d=b.getFragment();b.element.find(".mobile_gallery_view").hide();b.element.find("."+d.controller).show();switch(d.controller){case"listview":b.controller_listview();break;case"thumbsview":b.controller_thumbsview();break;case"detailview":b.controller_detailview();break;default:b.element.find(".listview").show();b.controller_listview()}},getFragment:function(){var b=this;return jQuery.deparam.fragment()},setFragment:function(d){var b=this;a.bbq.pushState(d)},controller_listview:function(){var b=this;b.setBlockLoadingIcon(false);var d="";if(b.getFragment().url){var d=b.getFragment().url}else{debug("loadurl via getAjaxApiUrl");d=b.getAjaxApiUrl()}b.loadData(d,function(){b.listview.iftfshow_mobile_listview("render")})},controller_thumbsview:function(){debug("controller_thumbsview");var b=this;b.setBlockLoadingIcon(false);b.loadData(b.getFragment().url,function(){debug("thumbsview controller loading callback");b.thumbsview.iftfshow_mobile_thumbsview("render")})},controller_detailview:function(){var b=this;b.loadData(b.getFragment().url,function(){debug("detailview controller loading callback");b.detailview.iftfshow_mobile_detailview("render");b.setBlockLoadingIcon(false)})},loadData:function(d,e){var b=this;b.abortAjaxRequests();b.increaseActiveAjaxRequests();b.requests.push(a.ajax({type:"get",url:d,success:function(f){b.decreaseActiveAjaxRequests();b.getModel()["html"]=a(f).find("#col2_content").html();b.getModel()["url"]=d;e()}}))},getModel:function(){var b=this;return b.model},getActiveAjaxRequests:function(){var b=this;return b.activeajaxrequests},increaseActiveAjaxRequests:function(){var b=this;b.activeajaxrequests++;b.onActiveAjaxRequestsChange()},decreaseActiveAjaxRequests:function(){var b=this;b.activeajaxrequests--;b.onActiveAjaxRequestsChange()},resetActiveAjaxRequests:function(){var b=this;b.activeajaxrequests=0},onActiveAjaxRequestsChange:function(){var b=this;debug("activeAjaxRequests: "+b.getActiveAjaxRequests());if(b.getActiveAjaxRequests()<=0){b.hideLoadingIcon()}else{b.showLoadingIcon()}},abortAjaxRequests:function(){var b=this;for(var d=0;d<b.requests.length;d++){b.requests[d].abort()}b.resetActiveAjaxRequests()},showLoadingIcon:function(){var b=this;if(!b.getBlockLoadingIcon()){a(".loadingicon").show()}},hideLoadingIcon:function(){a(".loadingicon").hide()},setBlockLoadingIcon:function(b){var d=this;d.blockLoadingIcon=b},getBlockLoadingIcon:function(){var b=this;return b.blockLoadingIcon},getAjaxApiUrl:function(){var b=this;var d="/index.php?id="+b.getParameterObject().api_pageid+"&season="+b.getParameterObject().seasonid+"&style="+b.getParameterObject().style+"&mode=designer";return d},setParameterObject:function(){var b=this;var d=jQuery("#iftfcode").text().split(",");b.parameters={seasonid:d[0],style:d[1],api_pageid:b.options.API_PAGEID}},getParameterObject:function(){var b=this;return b.parameters},})})(jQuery);(function(a){a.widget("ui.iftfshow_mobile_detailview",{options:{},_create:function(){var b=this;o=b.options;el=b.element;b.parameters=b.options.iftfshow_mobile.iftfshow_mobile("getParameterObject");b.element.find("a:first").live("click",function(d){b.toggleInfo();
d.preventDefault()});b.element.find(".iftfshow_singleimage_title .toggleinfo").live("click",function(d){b.toggleInfo();d.preventDefault()});if(Modernizr.touch){b.element.swipe({swipeLeft:function(d){b.loadImage("next")},swipeRight:function(d){b.loadImage("previous")}})}debug(a.cookie("initialInfoStatus"));if(a.cookie("initialInfoStatus")==null){debug("cookie is null");b.setInitialInfoStatus(true)}debug(b.getInitialInfoStatus())},render:function(){var b=this;var e=b.options.iftfshow_mobile.iftfshow_mobile("getModel");b.element.html(a(e.html).find(".user-iftfcatwalk-pi1-detail"));a("#nav_breadcrumb").addClass("thumbsview");b.element.find("a:first").removeAttr("onclick");var d='<a href="#" class="toggleinfo"><span>Show Details</span></div>';b.element.find(".iftfshow_singleimage_title").prepend(d);if(b.getInitialInfoStatus()==="true"){b.showInfo()}else{b.hideInfo()}a.doTimeout(100,function(){a(window).scrollTop(a(".user-iftfcatwalk-pi1-detail").offset().top)})},toggleInfo:function(){var b=this;var d=b.element.find(".user-iftfcatwalk-pi1-detail");if(d.hasClass("showinfo")){b.hideInfo()}else{b.showInfo()}},showInfo:function(){var b=this;var d=b.element.find(".user-iftfcatwalk-pi1-detail");d.addClass("showinfo");b.element.find(".iftfshow_singleimage_title .toggleinfo span").html("Hide");b.setInitialInfoStatus(true)},hideInfo:function(){var b=this;var d=b.element.find(".user-iftfcatwalk-pi1-detail");d.removeClass("showinfo");b.element.find(".iftfshow_singleimage_title .toggleinfo span").html("Show Details");b.setInitialInfoStatus(false)},setInitialInfoStatus:function(b){a.cookie("initialInfoStatus",b,{expires:7})},getInitialInfoStatus:function(){return a.cookie("initialInfoStatus")},loadImage:function(h){var e=this;var b=a(".mobile_gallery .thumbsview .thumb.current");var d=b.parent().find(".thumb").size();if(h=="next"){var f=b.index()+1}else{var f=b.index()-1}if(f>d-1){f=0}else{if(f<0){f=d-1}}var g=b.parent().find(".thumb").eq(f);b.removeClass("current");g.addClass("current");e.options.iftfshow_mobile.iftfshow_mobile("setBlockLoadingIcon","true");e.options.iftfshow_mobile.iftfshow_mobile("setFragment",{url:g.find("a").attr("href"),controller:"detailview",})},})})(jQuery);(function(a){a.widget("ui.iftfshow_mobile_listview",{options:{},_create:function(){var b=this;o=b.options;el=b.element;b.parameters=b.options.iftfshow_mobile.iftfshow_mobile("getParameterObject");b.element.find("dl dt").live("click",function(){b.options.iftfshow_mobile.iftfshow_mobile("setFragment",{url:a(this).find("a").attr("href"),controller:"thumbsview",designer:a(this).find("span").text(),});return false})},render:function(){var b=this;var d=b.options.iftfshow_mobile.iftfshow_mobile("getModel");b.element.html(a(d.html).find(".user-iftfcatwalk-pi1-list"));b.element.find("a.viewall").each(function(){a(this).attr("href",a(this).attr("href")+"&style="+b.parameters.style)});b.element.find("dt span").each(function(){a(this).removeAttr("onclick")});a("#nav_breadcrumb a:first").show();a("#nav_breadcrumb > span:first").show();a("#nav_breadcrumb .designer").remove();a(".footer_bottompositionbox_innerwrap .backbutton").remove();a("#nav_breadcrumb").removeClass("thumbsview")},})})(jQuery);(function(a){a.widget("ui.iftfshow_mobile_thumbsview",{options:{},_create:function(){var b=this;o=b.options;el=b.element;b.parameters=b.options.iftfshow_mobile.iftfshow_mobile("getParameterObject");b.element.find(".thumb a").live("click",function(){b.options.iftfshow_mobile.iftfshow_mobile("setFragment",{url:a(this).attr("href"),controller:"detailview",});a(this).parent(".thumb").addClass("current");return false});a("#nav_breadcrumb .seasonlink").live("click",function(){b.options.iftfshow_mobile.iftfshow_mobile("setFragment",{url:b.options.iftfshow_mobile.iftfshow_mobile("getAjaxApiUrl"),controller:"listview",designer:"",});return false})},render:function(){debug("model iftfshow_mobile_thumbsview");var b=this;var e=b.options.iftfshow_mobile.iftfshow_mobile("getModel");debug(e.url);b.element.html(a(e.html).find(".user-iftfcatwalk-pi1-thumbs"));
b.element.find(".thumb a").each(function(){a(this).attr("href",a(this).attr("href")+"&mode=detail_designer")});a("#nav_breadcrumb a:first").hide();a("#nav_breadcrumb > span:first").hide();var d=b.options.iftfshow_mobile.iftfshow_mobile("getFragment");if(a("#nav_breadcrumb .designer").size()<1){a("#nav_breadcrumb").append("<a href='#' class='designer'><span class='dot'>&nbsp;·&nbsp;</span><span class='label'>"+d.designer+"</span></a>")}var f=a("#nav_breadcrumb a.designer");f.attr("rel",e.url);a("#nav_breadcrumb").addClass("thumbsview")},})})(jQuery);(function(E){var O,W,T,P,e,p,M,D,R,C,F=0,K={},l=[],f=0,J={},B=[],g=null,r=new Image(),k=/\.(jpg|gif|png|bmp|jpeg)(.*)?$/i,m=/[^\.]\.(swf)\s*$/i,s,Q=1,j=0,w="",b,d,S=false,v=E.extend(E("<div/>")[0],{prop:0}),V=E.browser.msie&&E.browser.version<7&&!window.XMLHttpRequest,u=function(){W.hide();r.onerror=r.onload=null;if(g){g.abort()}O.empty()},A=function(){if(false===K.onError(l,F,K)){W.hide();S=false;return}K.titleShow=false;K.width="auto";K.height="auto";O.html('<p id="fancybox-error">The requested content cannot be loaded.<br />Please try again later.</p>');q()},z=function(){var ac=l[F],Z,ab,ae,ad,Y,aa;u();K=E.extend({},E.fn.fancybox.defaults,(typeof E(ac).data("fancybox")=="undefined"?K:E(ac).data("fancybox")));aa=K.onStart(l,F,K);if(aa===false){S=false;return}else{if(typeof aa=="object"){K=E.extend(K,aa)}}ae=K.title||(ac.nodeName?E(ac).attr("title"):ac.title)||"";if(ac.nodeName&&!K.orig){K.orig=E(ac).children("img:first").length?E(ac).children("img:first"):E(ac)}if(ae===""&&K.orig&&K.titleFromAlt){ae=K.orig.attr("alt")}Z=K.href||(ac.nodeName?E(ac).attr("href"):ac.href)||null;if((/^(?:javascript)/i).test(Z)||Z=="#"){Z=null}if(K.type){ab=K.type;if(!Z){Z=K.content}}else{if(K.content){ab="html"}else{if(Z){if(Z.match(k)){ab="image"}else{if(Z.match(m)){ab="swf"}else{if(E(ac).hasClass("iframe")){ab="iframe"}else{if(Z.indexOf("#")===0){ab="inline"}else{ab="ajax"}}}}}}}if(!ab){A();return}if(ab=="inline"){ac=Z.substr(Z.indexOf("#"));ab=E(ac).length>0?"inline":"ajax"}K.type=ab;K.href=Z;K.title=ae;if(K.autoDimensions){if(K.type=="html"||K.type=="inline"||K.type=="ajax"){K.width="auto";K.height="auto"}else{K.autoDimensions=false}}if(K.modal){K.overlayShow=true;K.hideOnOverlayClick=false;K.hideOnContentClick=false;K.enableEscapeButton=false;K.showCloseButton=false}K.padding=parseInt(K.padding,10);K.margin=parseInt(K.margin,10);O.css("padding",(K.padding+K.margin));E(".fancybox-inline-tmp").unbind("fancybox-cancel").bind("fancybox-change",function(){E(this).replaceWith(p.children())});switch(ab){case"html":O.html(K.content);q();break;case"inline":if(E(ac).parent().is("#fancybox-content")===true){S=false;return}E('<div class="fancybox-inline-tmp" />').hide().insertBefore(E(ac)).bind("fancybox-cleanup",function(){E(this).replaceWith(p.children())}).bind("fancybox-cancel",function(){E(this).replaceWith(O.children())});E(ac).appendTo(O);q();break;case"image":S=false;E.fancybox.showActivity();r=new Image();r.onerror=function(){A()};r.onload=function(){S=true;r.onerror=r.onload=null;I()};r.src=Z;break;case"swf":K.scrolling="no";ad='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'+K.width+'" height="'+K.height+'"><param name="movie" value="'+Z+'"></param>';Y="";E.each(K.swf,function(af,ag){ad+='<param name="'+af+'" value="'+ag+'"></param>';Y+=" "+af+'="'+ag+'"'});ad+='<embed src="'+Z+'" type="application/x-shockwave-flash" width="'+K.width+'" height="'+K.height+'"'+Y+"></embed></object>";O.html(ad);q();break;case"ajax":S=false;E.fancybox.showActivity();K.ajax.win=K.ajax.success;g=E.ajax(E.extend({},K.ajax,{url:Z,data:K.ajax.data||{},error:function(af,ah,ag){if(af.status>0){A()}},success:function(ag,ai,af){var ah=typeof af=="object"?af:g;if(ah.status==200){if(typeof K.ajax.win=="function"){aa=K.ajax.win(Z,ag,ai,af);if(aa===false){W.hide();return}else{if(typeof aa=="string"||typeof aa=="object"){ag=aa}}}O.html(ag);q()}}}));break;case"iframe":H();break}},q=function(){var Y=K.width,Z=K.height;
if(Y.toString().indexOf("%")>-1){Y=parseInt((E(window).width()-(K.margin*2))*parseFloat(Y)/100,10)+"px"}else{Y=Y=="auto"?"auto":Y+"px"}if(Z.toString().indexOf("%")>-1){Z=parseInt((E(window).height()-(K.margin*2))*parseFloat(Z)/100,10)+"px"}else{Z=Z=="auto"?"auto":Z+"px"}O.wrapInner('<div style="width:'+Y+";height:"+Z+";overflow: "+(K.scrolling=="auto"?"auto":(K.scrolling=="yes"?"scroll":"hidden"))+';position:relative;"></div>');K.width=O.width();K.height=O.height();H()},I=function(){K.width=r.width;K.height=r.height;E("<img />").attr({id:"fancybox-img",src:r.src,alt:K.title}).appendTo(O);H()},H=function(){var Z,Y;W.hide();if(P.is(":visible")&&false===J.onCleanup(B,f,J)){E.event.trigger("fancybox-cancel");S=false;return}S=true;E(p.add(T)).unbind();E(window).unbind("resize.fb scroll.fb");E(document).unbind("keydown.fb");if(P.is(":visible")&&J.titlePosition!=="outside"){P.css("height",P.height())}B=l;f=F;J=K;if(J.overlayShow){T.css({"background-color":J.overlayColor,opacity:J.overlayOpacity,cursor:J.hideOnOverlayClick?"pointer":"auto",height:E(document).height()});if(!T.is(":visible")){if(V){E("select:not(#fancybox-tmp select)").filter(function(){return this.style.visibility!=="hidden"}).css({visibility:"hidden"}).one("fancybox-cleanup",function(){this.style.visibility="inherit"})}T.show()}}else{T.hide()}d=U();n();if(P.is(":visible")){E(M.add(R).add(C)).hide();Z=P.position(),b={top:Z.top,left:Z.left,width:P.width(),height:P.height()};Y=(b.width==d.width&&b.height==d.height);p.fadeTo(J.changeFade,0.3,function(){var aa=function(){p.html(O.contents()).fadeTo(J.changeFade,1,y)};E.event.trigger("fancybox-change");p.empty().removeAttr("filter").css({"border-width":J.padding,width:d.width-J.padding*2,height:K.autoDimensions?"auto":d.height-j-J.padding*2});if(Y){aa()}else{v.prop=0;E(v).animate({prop:1},{duration:J.changeSpeed,easing:J.easingChange,step:X,complete:aa})}});return}P.removeAttr("style");p.css("border-width",J.padding);if(J.transitionIn=="elastic"){b=L();p.html(O.contents());P.show();if(J.opacity){d.opacity=0}v.prop=0;E(v).animate({prop:1},{duration:J.speedIn,easing:J.easingIn,step:X,complete:y});return}if(J.titlePosition=="inside"&&j>0){D.show()}p.css({width:d.width-J.padding*2,height:K.autoDimensions?"auto":d.height-j-J.padding*2}).html(O.contents());P.css(d).fadeIn(J.transitionIn=="none"?0:J.speedIn,y)},G=function(Y){if(Y&&Y.length){if(J.titlePosition=="float"){return'<table id="fancybox-title-float-wrap" cellpadding="0" cellspacing="0"><tr><td id="fancybox-title-float-left"></td><td id="fancybox-title-float-main">'+Y+'</td><td id="fancybox-title-float-right"></td></tr></table>'}return'<div id="fancybox-title-'+J.titlePosition+'">'+Y+"</div>"}return false},n=function(){w=J.title||"";j=0;D.empty().removeAttr("style").removeClass();if(J.titleShow===false){D.hide();return}w=E.isFunction(J.titleFormat)?J.titleFormat(w,B,f,J):G(w);if(!w||w===""){D.hide();return}D.addClass("fancybox-title-"+J.titlePosition).html(w).appendTo("body").show();switch(J.titlePosition){case"inside":D.css({width:d.width-(J.padding*2),marginLeft:J.padding,marginRight:J.padding});j=D.outerHeight(true);D.appendTo(e);d.height+=j;break;case"over":D.css({marginLeft:J.padding,width:d.width-(J.padding*2),bottom:J.padding}).appendTo(e);break;case"float":D.css("left",parseInt((D.width()-d.width-40)/2,10)*-1).appendTo(P);break;default:D.css({width:d.width-(J.padding*2),paddingLeft:J.padding,paddingRight:J.padding}).appendTo(P);break}D.hide()},h=function(){if(J.enableEscapeButton||J.enableKeyboardNav){E(document).bind("keydown.fb",function(Y){if(Y.keyCode==27&&J.enableEscapeButton){Y.preventDefault();E.fancybox.close()}else{if((Y.keyCode==37||Y.keyCode==39)&&J.enableKeyboardNav&&Y.target.tagName!=="INPUT"&&Y.target.tagName!=="TEXTAREA"&&Y.target.tagName!=="SELECT"){Y.preventDefault();E.fancybox[Y.keyCode==37?"prev":"next"]()}}})}if(!J.showNavArrows){R.hide();C.hide();return}if((J.cyclic&&B.length>1)||f!==0){R.show()}if((J.cyclic&&B.length>1)||f!=(B.length-1)){C.show()
}},y=function(){if(!E.support.opacity){p.get(0).style.removeAttribute("filter");P.get(0).style.removeAttribute("filter")}if(K.autoDimensions){p.css("height","auto")}P.css("height","auto");if(w&&w.length){D.show()}if(J.showCloseButton){M.show()}h();if(J.hideOnContentClick){p.bind("click",E.fancybox.close)}if(J.hideOnOverlayClick){T.bind("click",E.fancybox.close)}E(window).bind("resize.fb",E.fancybox.resize);if(J.centerOnScroll){E(window).bind("scroll.fb",E.fancybox.center)}if(J.type=="iframe"){E('<iframe id="fancybox-frame" name="fancybox-frame'+new Date().getTime()+'" frameborder="0" hspace="0" '+(E.browser.msie?'allowtransparency="true""':"")+' scrolling="'+K.scrolling+'" src="'+J.href+'"></iframe>').appendTo(p)}P.show();S=false;E.fancybox.center();J.onComplete(B,f,J);N()},N=function(){var Y,Z;if((B.length-1)>f){Y=B[f+1].href;if(typeof Y!=="undefined"&&Y.match(k)){Z=new Image();Z.src=Y}}if(f>0){Y=B[f-1].href;if(typeof Y!=="undefined"&&Y.match(k)){Z=new Image();Z.src=Y}}},X=function(Z){var Y={width:parseInt(b.width+(d.width-b.width)*Z,10),height:parseInt(b.height+(d.height-b.height)*Z,10),top:parseInt(b.top+(d.top-b.top)*Z,10),left:parseInt(b.left+(d.left-b.left)*Z,10)};if(typeof d.opacity!=="undefined"){Y.opacity=Z<0.5?0.5:Z}P.css(Y);p.css({width:Y.width-J.padding*2,height:Y.height-(j*Z)-J.padding*2})},x=function(){return[E(window).width()-(J.margin*2),E(window).height()-(J.margin*2),E(document).scrollLeft()+J.margin,E(document).scrollTop()+J.margin]},U=function(){var Y=x(),ac={},Z=J.autoScale,aa=J.padding*2,ab;if(J.width.toString().indexOf("%")>-1){ac.width=parseInt((Y[0]*parseFloat(J.width))/100,10)}else{ac.width=J.width+aa}if(J.height.toString().indexOf("%")>-1){ac.height=parseInt((Y[1]*parseFloat(J.height))/100,10)}else{ac.height=J.height+aa}if(Z&&(ac.width>Y[0]||ac.height>Y[1])){if(K.type=="image"||K.type=="swf"){ab=(J.width)/(J.height);if((ac.width)>Y[0]){ac.width=Y[0];ac.height=parseInt(((ac.width-aa)/ab)+aa,10)}if((ac.height)>Y[1]){ac.height=Y[1];ac.width=parseInt(((ac.height-aa)*ab)+aa,10)}}else{ac.width=Math.min(ac.width,Y[0]);ac.height=Math.min(ac.height,Y[1])}}ac.top=parseInt(Math.max(Y[3]-20,Y[3]+((Y[1]-ac.height-40)*0.5)),10);ac.left=parseInt(Math.max(Y[2]-20,Y[2]+((Y[0]-ac.width-40)*0.5)),10);return ac},t=function(Y){var Z=Y.offset();Z.top+=parseInt(Y.css("paddingTop"),10)||0;Z.left+=parseInt(Y.css("paddingLeft"),10)||0;Z.top+=parseInt(Y.css("border-top-width"),10)||0;Z.left+=parseInt(Y.css("border-left-width"),10)||0;Z.width=Y.width();Z.height=Y.height();return Z},L=function(){var ab=K.orig?E(K.orig):false,aa={},Z,Y;if(ab&&ab.length){Z=t(ab);aa={width:Z.width+(J.padding*2),height:Z.height+(J.padding*2),top:Z.top-J.padding-20,left:Z.left-J.padding-20}}else{Y=x();aa={width:J.padding*2,height:J.padding*2,top:parseInt(Y[3]+Y[1]*0.5,10),left:parseInt(Y[2]+Y[0]*0.5,10)}}return aa},a=function(){if(!W.is(":visible")){clearInterval(s);return}E("div",W).css("top",(Q*-40)+"px");Q=(Q+1)%12};E.fn.fancybox=function(Y){if(!E(this).length){return this}E(this).data("fancybox",E.extend({},Y,(E.metadata?E(this).metadata():{}))).unbind("click.fb").bind("click.fb",function(aa){aa.preventDefault();if(S){return}S=true;E(this).blur();l=[];F=0;var Z=E(this).attr("rel")||"";if(!Z||Z==""||Z==="nofollow"){l.push(this)}else{l=E("a[rel="+Z+"], area[rel="+Z+"]");F=l.index(this)}z();return});return this};E.fancybox=function(ab){var aa;if(S){return}S=true;aa=typeof arguments[1]!=="undefined"?arguments[1]:{};l=[];F=parseInt(aa.index,10)||0;if(E.isArray(ab)){for(var Z=0,Y=ab.length;Z<Y;Z++){if(typeof ab[Z]=="object"){E(ab[Z]).data("fancybox",E.extend({},aa,ab[Z]))}else{ab[Z]=E({}).data("fancybox",E.extend({content:ab[Z]},aa))}}l=jQuery.merge(l,ab)}else{if(typeof ab=="object"){E(ab).data("fancybox",E.extend({},aa,ab))}else{ab=E({}).data("fancybox",E.extend({content:ab},aa))}l.push(ab)}if(F>l.length||F<0){F=0}z()};E.fancybox.showActivity=function(){clearInterval(s);W.show();s=setInterval(a,66)};E.fancybox.hideActivity=function(){W.hide()};E.fancybox.next=function(){return E.fancybox.pos(f+1)
};E.fancybox.prev=function(){return E.fancybox.pos(f-1)};E.fancybox.pos=function(Y){if(S){return}Y=parseInt(Y);l=B;if(Y>-1&&Y<B.length){F=Y;z()}else{if(J.cyclic&&B.length>1){F=Y>=B.length?0:B.length-1;z()}}return};E.fancybox.cancel=function(){if(S){return}S=true;E.event.trigger("fancybox-cancel");u();K.onCancel(l,F,K);S=false};E.fancybox.close=function(){if(S||P.is(":hidden")){return}S=true;if(J&&false===J.onCleanup(B,f,J)){S=false;return}u();E(M.add(R).add(C)).hide();E(p.add(T)).unbind();E(window).unbind("resize.fb scroll.fb");E(document).unbind("keydown.fb");p.find("iframe").attr("src",V&&/^https/i.test(window.location.href||"")?"javascript:void(false)":"about:blank");if(J.titlePosition!=="inside"){D.empty()}P.stop();function Y(){T.fadeOut("fast");D.empty().hide();P.hide();E.event.trigger("fancybox-cleanup");p.empty();J.onClosed(B,f,J);B=K=[];f=F=0;J=K={};S=false}if(J.transitionOut=="elastic"){b=L();var Z=P.position();d={top:Z.top,left:Z.left,width:P.width(),height:P.height()};if(J.opacity){d.opacity=1}D.empty().hide();v.prop=1;E(v).animate({prop:0},{duration:J.speedOut,easing:J.easingOut,step:X,complete:Y})}else{P.fadeOut(J.transitionOut=="none"?0:J.speedOut,Y)}};E.fancybox.resize=function(){if(T.is(":visible")){T.css("height",E(document).height())}E.fancybox.center(true)};E.fancybox.center=function(){var Y,Z;if(S){return}Z=arguments[0]===true?1:0;Y=x();if(!Z&&(P.width()>Y[0]||P.height()>Y[1])){return}P.stop().animate({top:parseInt(Math.max(Y[3]-20,Y[3]+((Y[1]-p.height()-40)*0.5)-J.padding)),left:parseInt(Math.max(Y[2]-20,Y[2]+((Y[0]-p.width()-40)*0.5)-J.padding))},typeof arguments[0]=="number"?arguments[0]:200)};E.fancybox.init=function(){if(E("#fancybox-wrap").length){return}E("body").append(O=E('<div id="fancybox-tmp"></div>'),W=E('<div id="fancybox-loading"><div></div></div>'),T=E('<div id="fancybox-overlay"></div>'),P=E('<div id="fancybox-wrap"></div>'));e=E('<div id="fancybox-outer"></div>').append('<div class="fancybox-bg" id="fancybox-bg-n"></div><div class="fancybox-bg" id="fancybox-bg-ne"></div><div class="fancybox-bg" id="fancybox-bg-e"></div><div class="fancybox-bg" id="fancybox-bg-se"></div><div class="fancybox-bg" id="fancybox-bg-s"></div><div class="fancybox-bg" id="fancybox-bg-sw"></div><div class="fancybox-bg" id="fancybox-bg-w"></div><div class="fancybox-bg" id="fancybox-bg-nw"></div>').appendTo(P);e.append(p=E('<div id="fancybox-content"></div>'),M=E('<a id="fancybox-close"></a>'),D=E('<div id="fancybox-title"></div>'),R=E('<a href="javascript:;" id="fancybox-left"><span class="fancy-ico" id="fancybox-left-ico"></span></a>'),C=E('<a href="javascript:;" id="fancybox-right"><span class="fancy-ico" id="fancybox-right-ico"></span></a>'));M.click(E.fancybox.close);W.click(E.fancybox.cancel);R.click(function(Y){Y.preventDefault();E.fancybox.prev()});C.click(function(Y){Y.preventDefault();E.fancybox.next()});if(E.fn.mousewheel){P.bind("mousewheel.fb",function(Y,Z){if(S){Y.preventDefault()}else{if(E(Y.target).get(0).clientHeight==0||E(Y.target).get(0).scrollHeight===E(Y.target).get(0).clientHeight){Y.preventDefault();E.fancybox[Z>0?"prev":"next"]()}}})}if(!E.support.opacity){P.addClass("fancybox-ie")}if(V){W.addClass("fancybox-ie6");P.addClass("fancybox-ie6");E('<iframe id="fancybox-hide-sel-frame" src="'+(/^https/i.test(window.location.href||"")?"javascript:void(false)":"about:blank")+'" scrolling="no" border="0" frameborder="0" tabindex="-1"></iframe>').prependTo(e)}};E.fn.fancybox.defaults={padding:10,margin:40,opacity:false,modal:false,cyclic:false,scrolling:"auto",width:560,height:340,autoScale:true,autoDimensions:true,centerOnScroll:false,ajax:{},swf:{wmode:"transparent"},hideOnOverlayClick:true,hideOnContentClick:false,overlayShow:true,overlayOpacity:0.7,overlayColor:"#777",titleShow:true,titlePosition:"float",titleFormat:null,titleFromAlt:false,transitionIn:"fade",transitionOut:"fade",speedIn:300,speedOut:300,changeSpeed:300,changeFade:"fast",easingIn:"swing",easingOut:"swing",showCloseButton:true,showNavArrows:true,enableEscapeButton:true,enableKeyboardNav:true,onStart:function(){},onCancel:function(){},onComplete:function(){},onCleanup:function(){},onClosed:function(){},onError:function(){}};
E(document).ready(function(){E.fancybox.init()})})(jQuery);(function(a){a.fn.fancyboxTouchify=function(b){var d=a.extend({},a.fn.fancyboxTouchify.defaults,b);return this.each(function(){$this=a(this);var e=a.meta?a.extend({},d,$this.data()):d})};a.fn.fancyboxTouchify.start=function(){if(Modernizr.touch){jQuery("#fancybox-wrap").swipe({swipeLeft:function(b){jQuery("#fancybox-right").trigger("click")},swipeRight:function(b){jQuery("#fancybox-left").trigger("click")}})}};a.fn.fancyboxTouchify.defaults={examplevalue:"value1"}})(jQuery);(function(a){a.fn.mobile_nav=function(b){var d=a.extend({},a.fn.mobile_nav.defaults,b);return this.each(function(){var e=a(this);var g=a.meta?a.extend({},d,e.data()):d;e.click(function(){if(e.hasClass("state_open")){e.removeClass("state_open");e.trigger("close")}else{e.addClass("state_open");e.trigger("open")}});e.bind("open",function(){f(e.find("ul").height())});e.bind("close",function(){f(0)});function f(h){e.animate({height:h},200,function(){})}})};a.fn.mobile_nav.publicFunction=function(){return html};a.fn.mobile_nav.defaults={examplevalue:"value1"}})(jQuery);(function(a){a.widget("ui.startpagenews",{options:{},_create:function(){var b=this;o=b.options;el=b.element;b.newslist=new Array();a.ajax({url:"/index.php?id=4",success:function(e){var d=0;a(e).find(".news-latest-item").each(function(){var h=a(this).find("h3 a").text();var f=a(this).find("a:first").attr("href");var g="<a href='"+f+"'>"+h+"</a>";b.newslist[d]=g;d++});b._startNewsCarousel()}})},_startNewsCarousel:function(){var b=this;b.i=0;a("#nav_breadcrumb").html("<div class='title'>News Headlines:&nbsp;</div> <div class='news'>"+b.newslist[b.i]+"</div>");b._nextCarouselItem()},_nextCarouselItem:function(){var b=this;a("#nav_breadcrumb .news").find("a").fadeOut(500,function(){a("#nav_breadcrumb .news").html(b.newslist[b.i]);a("#nav_breadcrumb .news").find("a").hide().fadeIn(500,function(){b.i++;if(b.i>=b.newslist.length){b.i=0}a.doTimeout(4000,function(){b._nextCarouselItem()})})})},})})(jQuery);jQuery(document).ready(function(){debug("JavaScript executed.");jQuery("body").addClass("js");if(jQuery("a[rel]").size()>0){jQuery("a[rel]").fancybox({transitionIn:"elastic",transitionOut:"elastic",onStart:$.fn.fancyboxTouchify.start,centerOnScroll:true})}jQuery(".news-latest-item").clickitem();jQuery(".news-list-item").clickitem();jQuery(".tx-indexedsearch-res .res").clickitem();jQuery(".sliderelement").each(function(){var p=jQuery(this).find(".coda-slider");p.codaSlider({dynamicTabsPosition:"bottom",autoHeight:false,autoSlide:false,autoSlideInterval:3000,autoSlideStopWhenClicked:true,dynamicArrowLeftText:"<<",dynamicArrowRightText:">>",panelTitleSelector:"",crossLinking:false,slideEaseDuration:500,slideEaseFunction:"easeOutExpo"})});var b=jQuery("#footer .footer_featurebox");var h=jQuery("#footer .featurenav");var k=jQuery("#footer .featurenav ul li a");var j=jQuery("#footer .languagemenu");var e=jQuery("#footer #c28");var g=jQuery(".sharethis_box");k.click(function(){return false});k.eq(0).click(function(){e.trigger("open")});k.eq(1).click(function(){g.trigger("open")});k.eq(2).click(function(){j.trigger("open")});b.find(".close_button").click(function(){b.trigger("close_box");return false});j.bind("open",function(){jQuery(this).show();e.trigger("close");g.trigger("close");b.trigger("open_box")});j.bind("close",function(){jQuery(this).hide()});e.bind("open",function(){jQuery(this).show();j.trigger("close");g.trigger("close");b.trigger("open_box")});e.bind("close",function(){jQuery(this).hide()});g.bind("open",function(){jQuery(this).show();j.trigger("close");e.trigger("close");b.trigger("open_box")});g.bind("close",function(){jQuery(this).hide()});b.bind("close_box",function(){jQuery(this).animate({height:0},300,"easeInOutQuad",function(){})});b.bind("open_box",function(){jQuery(this).animate({height:f()},300,"easeInOutQuad",function(){})});function f(){height=0;jQuery(".footer_featurebox_innerwrap > div").each(function(){if(jQuery(this).outerHeight()>height){height=jQuery(this).outerHeight()
}});height+=20;return height}if(jQuery("#iftfcode").size()>0){if(!Modernizr.mobile){$("#col2_content").iftfshow()}else{$("#col2_content").iftfshow_mobile()}}if(!Modernizr.mobile){$(".startpagenav").scrollShowStartpage()}if(!Modernizr.mobile&&$("body").hasClass("page-8")){$("#nav_breadcrumb").startpagenews()}if(Modernizr.mobile){jQuery(".submenu").mobile_nav()}if($(".mobile-page-8").size()>0){var n='<div class="iphone_splashscreen">';n+='<div class="image"><div class="image_innerwrap"></div></div>';n+='<div class="logo"><div class="logo_innerwrap"></div></div>';n+="</div>";$("body").prepend(n);splashscreen=$(".iphone_splashscreen");splashscreen.css("height",$(document).height());splashscreen.click(function(){$(this).hide();$("body.mobile-page-8 #page_margins").show();hideURLbar()})}positionFooter();var d=new Date();var m=d.getDate()+d.getMonth();var a="/fileadmin/editorfolder/BackgroundImages1610/";var l=shuffle([{image:a+"01.jpg?reloaddaily="+m,title:"www.fur-style.com"},{image:a+"02.jpg?reloaddaily="+m,title:"www.fur-style.com"},{image:a+"03.jpg?reloaddaily="+m,title:"www.fur-style.com"},{image:a+"04.jpg?reloaddaily="+m,title:"www.fur-style.com"},{image:a+"05.jpg?reloaddaily="+m,title:"www.fur-style.com"},{image:a+"06.jpg?reloaddaily="+m,title:"www.fur-style.com"},{image:a+"07.jpg?reloaddaily="+m,title:"www.fur-style.com"},{image:a+"08.jpg?reloaddaily="+m,title:"www.fur-style.com"},{image:a+"09.jpg?reloaddaily="+m,title:"www.fur-style.com"},{image:a+"10.jpg?reloaddaily="+m,title:"www.fur-style.com"}]);if(!Modernizr.ie7&&!Modernizr.mobile){if($("body").hasClass("to-startseite")&&jQuery("#iftfcode").size()<1){window.supersized_load=false;$.supersized({slideshow:1,autoplay:1,start_slide:0,random:0,slide_interval:4000,transition:1,transition_speed:500,new_window:0,pause_hover:0,keyboard_nav:0,performance:1,image_protect:1,image_path:"img/",min_width:0,min_height:0,vertical_center:1,horizontal_center:1,fit_portrait:0,fit_landscape:0,navigation:0,thumbnail_navigation:0,slide_counter:0,slide_captions:0,slides:l})}}supersized_load=false;if(Modernizr.mobile){hideURLbar()}});function hideURLbar(){setTimeout(function(){window.scrollTo(0,1)},100)}$(window).load(function(){supersized_load=true});$(window).scroll(function(){positionFooter()});function positionFooter(){if(Modernizr.touch&&$("body").hasClass("to-startseite")&&!$("body").hasClass("mobile")){var a=$(window).scrollTop();$("#footer").css("bottom","-"+a+"px")}};
