var oldSearchFieldValue="";
/*
 * jQuery JavaScript Library v1.4.1
 * http://jquery.com/
 *
 * Copyright 2010, John Resig
 * Dual licensed under the MIT or GPL Version 2 licenses.
 * http://jquery.org/license
 *
 * Includes Sizzle.js
 * http://sizzlejs.com/
 * Copyright 2010, The Dojo Foundation
 * Released under the MIT, BSD, and GPL Licenses.
 *
 * Date: Mon Jan 25 19:43:33 2010 -0500
 */
(function(aJ,C){var a=function(aV,aW){return new a.fn.init(aV,aW)},n=aJ.jQuery,R=aJ.$,ab=aJ.document,X,P=/^[^<]*(<[\w\W]+>)[^>]*$|^#([\w-]+)$/,aT=/^.[^:#\[\.,]*$/,av=/\S/,M=/^(\s|\u00A0)+|(\s|\u00A0)+$/g,e=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,b=navigator.userAgent,v,J=false,ad=[],aD,ar=Object.prototype.toString,ao=Object.prototype.hasOwnProperty,g=Array.prototype.push,E=Array.prototype.slice,s=Array.prototype.indexOf;a.fn=a.prototype={init:function(aV,aY){var aX,aZ,aW,a0;if(!aV){return this}if(aV.nodeType){this.context=this[0]=aV;this.length=1;return this}if(typeof aV==="string"){aX=P.exec(aV);if(aX&&(aX[1]||!aY)){if(aX[1]){a0=(aY?aY.ownerDocument||aY:ab);aW=e.exec(aV);if(aW){if(a.isPlainObject(aY)){aV=[ab.createElement(aW[1])];a.fn.attr.call(aV,aY,true)}else{aV=[a0.createElement(aW[1])]}}else{aW=I([aX[1]],[a0]);aV=(aW.cacheable?aW.fragment.cloneNode(true):aW.fragment).childNodes}}else{aZ=ab.getElementById(aX[2]);if(aZ){if(aZ.id!==aX[2]){return X.find(aV)}this.length=1;this[0]=aZ}this.context=ab;this.selector=aV;return this}}else{if(!aY&&/^\w+$/.test(aV)){this.selector=aV;this.context=ab;aV=ab.getElementsByTagName(aV)}else{if(!aY||aY.jquery){return(aY||X).find(aV)}else{return a(aY).find(aV)}}}}else{if(a.isFunction(aV)){return X.ready(aV)}}if(aV.selector!==C){this.selector=aV.selector;this.context=aV.context}return a.isArray(aV)?this.setArray(aV):a.makeArray(aV,this)},selector:"",jquery:"1.4.1",length:0,size:function(){return this.length},toArray:function(){return E.call(this,0)},get:function(aV){return aV==null?this.toArray():(aV<0?this.slice(aV)[0]:this[aV])},pushStack:function(aW,aY,aV){var aX=a(aW||null);aX.prevObject=this;aX.context=this.context;if(aY==="find"){aX.selector=this.selector+(this.selector?" ":"")+aV}else{if(aY){aX.selector=this.selector+"."+aY+"("+aV+")"}}return aX},setArray:function(aV){this.length=0;g.apply(this,aV);return this},each:function(aW,aV){return a.each(this,aW,aV)},ready:function(aV){a.bindReady();if(a.isReady){aV.call(ab,a)}else{if(ad){ad.push(aV)}}return this},eq:function(aV){return aV===-1?this.slice(aV):this.slice(aV,+aV+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(E.apply(this,arguments),"slice",E.call(arguments).join(","))},map:function(aV){return this.pushStack(a.map(this,function(aX,aW){return aV.call(aX,aW,aX)}))},end:function(){return this.prevObject||a(null)},push:g,sort:[].sort,splice:[].splice};a.fn.init.prototype=a.fn;a.extend=a.fn.extend=function(){var a0=arguments[0]||{},aZ=1,aY=arguments.length,a2=false,a3,aX,aV,aW;if(typeof a0==="boolean"){a2=a0;a0=arguments[1]||{};aZ=2}if(typeof a0!=="object"&&!a.isFunction(a0)){a0={}}if(aY===aZ){a0=this;--aZ}for(;aZ<aY;aZ++){if((a3=arguments[aZ])!=null){for(aX in a3){aV=a0[aX];aW=a3[aX];if(a0===aW){continue}if(a2&&aW&&(a.isPlainObject(aW)||a.isArray(aW))){var a1=aV&&(a.isPlainObject(aV)||a.isArray(aV))?aV:a.isArray(aW)?[]:{};a0[aX]=a.extend(a2,a1,aW)}else{if(aW!==C){a0[aX]=aW}}}}}return a0};a.extend({noConflict:function(aV){aJ.$=R;if(aV){aJ.jQuery=n}return a},isReady:false,ready:function(){if(!a.isReady){if(!ab.body){return setTimeout(a.ready,13)}a.isReady=true;if(ad){var aW,aV=0;while((aW=ad[aV++])){aW.call(ab,a)}ad=null}if(a.fn.triggerHandler){a(ab).triggerHandler("ready")}}},bindReady:function(){if(J){return}J=true;if(ab.readyState==="complete"){return a.ready()}if(ab.addEventListener){ab.addEventListener("DOMContentLoaded",aD,false);aJ.addEventListener("load",a.ready,false)}else{if(ab.attachEvent){ab.attachEvent("onreadystatechange",aD);aJ.attachEvent("onload",a.ready);var aV=false;try{aV=aJ.frameElement==null}catch(aW){}if(ab.documentElement.doScroll&&aV){x()}}}},isFunction:function(aV){return ar.call(aV)==="[object Function]"},isArray:function(aV){return ar.call(aV)==="[object Array]"},isPlainObject:function(aW){if(!aW||ar.call(aW)!=="[object Object]"||aW.nodeType||aW.setInterval){return false}if(aW.constructor&&!ao.call(aW,"constructor")&&!ao.call(aW.constructor.prototype,"isPrototypeOf")){return false}var aV;for(aV in aW){}return aV===C||ao.call(aW,aV)},isEmptyObject:function(aW){for(var aV in aW){return false}return true},error:function(aV){throw aV},parseJSON:function(aV){if(typeof aV!=="string"||!aV){return null}if(/^[\],:{}\s]*$/.test(aV.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,""))){return aJ.JSON&&aJ.JSON.parse?aJ.JSON.parse(aV):(new Function("return "+aV))()}else{a.error("Invalid JSON: "+aV)}},noop:function(){},globalEval:function(aX){if(aX&&av.test(aX)){var aW=ab.getElementsByTagName("head")[0]||ab.documentElement,aV=ab.createElement("script");aV.type="text/javascript";if(a.support.scriptEval){aV.appendChild(ab.createTextNode(aX))}else{aV.text=aX}aW.insertBefore(aV,aW.firstChild);aW.removeChild(aV)}},nodeName:function(aW,aV){return aW.nodeName&&aW.nodeName.toUpperCase()===aV.toUpperCase()},each:function(aY,a2,aX){var aW,aZ=0,a0=aY.length,aV=a0===C||a.isFunction(aY);if(aX){if(aV){for(aW in aY){if(a2.apply(aY[aW],aX)===false){break}}}else{for(;aZ<a0;){if(a2.apply(aY[aZ++],aX)===false){break}}}}else{if(aV){for(aW in aY){if(a2.call(aY[aW],aW,aY[aW])===false){break}}}else{for(var a1=aY[0];aZ<a0&&a2.call(a1,aZ,a1)!==false;a1=aY[++aZ]){}}}return aY},trim:function(aV){return(aV||"").replace(M,"")},makeArray:function(aX,aW){var aV=aW||[];if(aX!=null){if(aX.length==null||typeof aX==="string"||a.isFunction(aX)||(typeof aX!=="function"&&aX.setInterval)){g.call(aV,aX)}else{a.merge(aV,aX)}}return aV},inArray:function(aX,aY){if(aY.indexOf){return aY.indexOf(aX)}for(var aV=0,aW=aY.length;aV<aW;aV++){if(aY[aV]===aX){return aV}}return -1},merge:function(aZ,aX){var aY=aZ.length,aW=0;if(typeof aX.length==="number"){for(var aV=aX.length;aW<aV;aW++){aZ[aY++]=aX[aW]}}else{while(aX[aW]!==C){aZ[aY++]=aX[aW++]}}aZ.length=aY;return aZ},grep:function(aW,a0,aV){var aX=[];for(var aY=0,aZ=aW.length;aY<aZ;aY++){if(!aV!==!a0(aW[aY],aY)){aX.push(aW[aY])}}return aX},map:function(aW,a1,aV){var aX=[],a0;for(var aY=0,aZ=aW.length;aY<aZ;aY++){a0=a1(aW[aY],aY,aV);if(a0!=null){aX[aX.length]=a0}}return aX.concat.apply([],aX)},guid:1,proxy:function(aX,aW,aV){if(arguments.length===2){if(typeof aW==="string"){aV=aX;aX=aV[aW];aW=C}else{if(aW&&!a.isFunction(aW)){aV=aW;aW=C}}}if(!aW&&aX){aW=function(){return aX.apply(aV||this,arguments)}}if(aX){aW.guid=aX.guid=aX.guid||aW.guid||a.guid++}return aW},uaMatch:function(aW){aW=aW.toLowerCase();var aV=/(webkit)[ \/]([\w.]+)/.exec(aW)||/(opera)(?:.*version)?[ \/]([\w.]+)/.exec(aW)||/(msie) ([\w.]+)/.exec(aW)||!/compatible/.test(aW)&&/(mozilla)(?:.*? rv:([\w.]+))?/.exec(aW)||[];return{browser:aV[1]||"",version:aV[2]||"0"}},browser:{}});v=a.uaMatch(b);if(v.browser){a.browser[v.browser]=true;a.browser.version=v.version}if(a.browser.webkit){a.browser.safari=true}if(s){a.inArray=function(aV,aW){return s.call(aW,aV)}}X=a(ab);if(ab.addEventListener){aD=function(){ab.removeEventListener("DOMContentLoaded",aD,false);a.ready()}}else{if(ab.attachEvent){aD=function(){if(ab.readyState==="complete"){ab.detachEvent("onreadystatechange",aD);a.ready()}}}}function x(){if(a.isReady){return}try{ab.documentElement.doScroll("left")}catch(aV){setTimeout(x,1);return}a.ready()}function aS(aV,aW){if(aW.src){a.ajax({url:aW.src,async:false,dataType:"script"})}else{a.globalEval(aW.text||aW.textContent||aW.innerHTML||"")}if(aW.parentNode){aW.parentNode.removeChild(aW)}}function am(aV,a3,a1,aX,a0,a2){var aW=aV.length;if(typeof a3==="object"){for(var aY in a3){am(aV,aY,a3[aY],aX,a0,a1)}return aV}if(a1!==C){aX=!a2&&aX&&a.isFunction(a1);for(var aZ=0;aZ<aW;aZ++){a0(aV[aZ],a3,aX?a1.call(aV[aZ],aZ,a0(aV[aZ],a3)):a1,a2)}return aV}return aW?a0(aV[0],a3):null}function aM(){return(new Date).getTime()}(function(){a.support={};var a1=ab.documentElement,a0=ab.createElement("script"),aV=ab.createElement("div"),aW="script"+aM();aV.style.display="none";aV.innerHTML="   <link/><table></table><a href='/a' style='color:red;float:left;opacity:.55;'>a</a><input type='checkbox'/>";var a3=aV.getElementsByTagName("*"),a2=aV.getElementsByTagName("a")[0];if(!a3||!a3.length||!a2){return}a.support={leadingWhitespace:aV.firstChild.nodeType===3,tbody:!aV.getElementsByTagName("tbody").length,htmlSerialize:!!aV.getElementsByTagName("link").length,style:/red/.test(a2.getAttribute("style")),hrefNormalized:a2.getAttribute("href")==="/a",opacity:/^0.55$/.test(a2.style.opacity),cssFloat:!!a2.style.cssFloat,checkOn:aV.getElementsByTagName("input")[0].value==="on",optSelected:ab.createElement("select").appendChild(ab.createElement("option")).selected,checkClone:false,scriptEval:false,noCloneEvent:true,boxModel:null};a0.type="text/javascript";try{a0.appendChild(ab.createTextNode("window."+aW+"=1;"))}catch(aY){}a1.insertBefore(a0,a1.firstChild);if(aJ[aW]){a.support.scriptEval=true;delete aJ[aW]}a1.removeChild(a0);if(aV.attachEvent&&aV.fireEvent){aV.attachEvent("onclick",function a4(){a.support.noCloneEvent=false;aV.detachEvent("onclick",a4)});aV.cloneNode(true).fireEvent("onclick")}aV=ab.createElement("div");aV.innerHTML="<input type='radio' name='radiotest' checked='checked'/>";var aX=ab.createDocumentFragment();aX.appendChild(aV.firstChild);a.support.checkClone=aX.cloneNode(true).cloneNode(true).lastChild.checked;a(function(){var a5=ab.createElement("div");a5.style.width=a5.style.paddingLeft="1px";ab.body.appendChild(a5);a.boxModel=a.support.boxModel=a5.offsetWidth===2;ab.body.removeChild(a5).style.display="none";a5=null});var aZ=function(a5){var a7=ab.createElement("div");a5="on"+a5;var a6=(a5 in a7);if(!a6){a7.setAttribute(a5,"return;");a6=typeof a7[a5]==="function"}a7=null;return a6};a.support.submitBubbles=aZ("submit");a.support.changeBubbles=aZ("change");a1=a0=aV=a3=a2=null})();a.props={"for":"htmlFor","class":"className",readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",colspan:"colSpan",tabindex:"tabIndex",usemap:"useMap",frameborder:"frameBorder"};var aF="jQuery"+aM(),aE=0,aQ={};var L={};a.extend({cache:{},expando:aF,noData:{embed:true,object:true,applet:true},data:function(aX,aW,aZ){if(aX.nodeName&&a.noData[aX.nodeName.toLowerCase()]){return}aX=aX==aJ?aQ:aX;var a0=aX[aF],aV=a.cache,aY;if(!aW&&!a0){return null}if(!a0){a0=++aE}if(typeof aW==="object"){aX[aF]=a0;aY=aV[a0]=a.extend(true,{},aW)}else{if(aV[a0]){aY=aV[a0]}else{if(typeof aZ==="undefined"){aY=L}else{aY=aV[a0]={}}}}if(aZ!==C){aX[aF]=a0;aY[aW]=aZ}return typeof aW==="string"?aY[aW]:aY},removeData:function(aX,aW){if(aX.nodeName&&a.noData[aX.nodeName.toLowerCase()]){return}aX=aX==aJ?aQ:aX;var a0=aX[aF],aV=a.cache,aY=aV[a0];if(aW){if(aY){delete aY[aW];if(a.isEmptyObject(aY)){a.removeData(aX)}}}else{try{delete aX[aF]}catch(aZ){if(aX.removeAttribute){aX.removeAttribute(aF)}}delete aV[a0]}}});a.fn.extend({data:function(aV,aX){if(typeof aV==="undefined"&&this.length){return a.data(this[0])}else{if(typeof aV==="object"){return this.each(function(){a.data(this,aV)})}}var aY=aV.split(".");aY[1]=aY[1]?"."+aY[1]:"";if(aX===C){var aW=this.triggerHandler("getData"+aY[1]+"!",[aY[0]]);if(aW===C&&this.length){aW=a.data(this[0],aV)}return aW===C&&aY[1]?this.data(aY[0]):aW}else{return this.trigger("setData"+aY[1]+"!",[aY[0],aX]).each(function(){a.data(this,aV,aX)})}},removeData:function(aV){return this.each(function(){a.removeData(this,aV)})}});a.extend({queue:function(aW,aV,aY){if(!aW){return}aV=(aV||"fx")+"queue";var aX=a.data(aW,aV);if(!aY){return aX||[]}if(!aX||a.isArray(aY)){aX=a.data(aW,aV,a.makeArray(aY))}else{aX.push(aY)}return aX},dequeue:function(aY,aX){aX=aX||"fx";var aV=a.queue(aY,aX),aW=aV.shift();if(aW==="inprogress"){aW=aV.shift()}if(aW){if(aX==="fx"){aV.unshift("inprogress")}aW.call(aY,function(){a.dequeue(aY,aX)})}}});a.fn.extend({queue:function(aV,aW){if(typeof aV!=="string"){aW=aV;aV="fx"}if(aW===C){return a.queue(this[0],aV)}return this.each(function(aY,aZ){var aX=a.queue(this,aV,aW);if(aV==="fx"&&aX[0]!=="inprogress"){a.dequeue(this,aV)}})},dequeue:function(aV){return this.each(function(){a.dequeue(this,aV)})},delay:function(aW,aV){aW=a.fx?a.fx.speeds[aW]||aW:aW;aV=aV||"fx";return this.queue(aV,function(){var aX=this;setTimeout(function(){a.dequeue(aX,aV)},aW)})},clearQueue:function(aV){return this.queue(aV||"fx",[])}});var an=/[\n\t]/g,S=/\s+/,au=/\r/g,aN=/href|src|style/,d=/(button|input)/i,z=/(button|input|object|select|textarea)/i,j=/^(a|area)$/i,H=/radio|checkbox/;a.fn.extend({attr:function(aV,aW){return am(this,aV,aW,true,a.attr)},removeAttr:function(aV,aW){return this.each(function(){a.attr(this,aV,"");if(this.nodeType===1){this.removeAttribute(aV)}})},addClass:function(a0){if(a.isFunction(a0)){return this.each(function(a4){var a3=a(this);a3.addClass(a0.call(this,a4,a3.attr("class")))})}if(a0&&typeof a0==="string"){var a1=(a0||"").split(S);for(var aX=0,aW=this.length;aX<aW;aX++){var aZ=this[aX];if(aZ.nodeType===1){if(!aZ.className){aZ.className=a0}else{var aY=" "+aZ.className+" ";for(var a2=0,aV=a1.length;a2<aV;a2++){if(aY.indexOf(" "+a1[a2]+" ")<0){aZ.className+=" "+a1[a2]}}}}}}return this},removeClass:function(a0){if(a.isFunction(a0)){return this.each(function(a4){var a3=a(this);a3.removeClass(a0.call(this,a4,a3.attr("class")))})}if((a0&&typeof a0==="string")||a0===C){var a1=(a0||"").split(S);for(var aX=0,aW=this.length;aX<aW;aX++){var aZ=this[aX];if(aZ.nodeType===1&&aZ.className){if(a0){var aY=(" "+aZ.className+" ").replace(an," ");for(var a2=0,aV=a1.length;a2<aV;a2++){aY=aY.replace(" "+a1[a2]+" "," ")}aZ.className=aY.substring(1,aY.length-1)}else{aZ.className=""}}}}return this},toggleClass:function(aY,aW){var aX=typeof aY,aV=typeof aW==="boolean";if(a.isFunction(aY)){return this.each(function(a0){var aZ=a(this);aZ.toggleClass(aY.call(this,a0,aZ.attr("class"),aW),aW)})}return this.each(function(){if(aX==="string"){var a1,a0=0,aZ=a(this),a2=aW,a3=aY.split(S);while((a1=a3[a0++])){a2=aV?a2:!aZ.hasClass(a1);aZ[a2?"addClass":"removeClass"](a1)}}else{if(aX==="undefined"||aX==="boolean"){if(this.className){a.data(this,"__className__",this.className)}this.className=this.className||aY===false?"":a.data(this,"__className__")||""}}})},hasClass:function(aV){var aY=" "+aV+" ";for(var aX=0,aW=this.length;aX<aW;aX++){if((" "+this[aX].className+" ").replace(an," ").indexOf(aY)>-1){return true}}return false},val:function(a2){if(a2===C){var aW=this[0];if(aW){if(a.nodeName(aW,"option")){return(aW.attributes.value||{}).specified?aW.value:aW.text}if(a.nodeName(aW,"select")){var a0=aW.selectedIndex,a3=[],a4=aW.options,aZ=aW.type==="select-one";if(a0<0){return null}for(var aX=aZ?a0:0,a1=aZ?a0+1:a4.length;aX<a1;aX++){var aY=a4[aX];if(aY.selected){a2=a(aY).val();if(aZ){return a2}a3.push(a2)}}return a3}if(H.test(aW.type)&&!a.support.checkOn){return aW.getAttribute("value")===null?"on":aW.value}return(aW.value||"").replace(au,"")}return C}var aV=a.isFunction(a2);return this.each(function(a7){var a6=a(this),a8=a2;if(this.nodeType!==1){return}if(aV){a8=a2.call(this,a7,a6.val())}if(typeof a8==="number"){a8+=""}if(a.isArray(a8)&&H.test(this.type)){this.checked=a.inArray(a6.val(),a8)>=0}else{if(a.nodeName(this,"select")){var a5=a.makeArray(a8);a("option",this).each(function(){this.selected=a.inArray(a(this).val(),a5)>=0});if(!a5.length){this.selectedIndex=-1}}else{this.value=a8}}})}});a.extend({attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attr:function(aW,aV,a1,a4){if(!aW||aW.nodeType===3||aW.nodeType===8){return C}if(a4&&aV in a.attrFn){return a(aW)[aV](a1)}var aX=aW.nodeType!==1||!a.isXMLDoc(aW),a0=a1!==C;aV=aX&&a.props[aV]||aV;if(aW.nodeType===1){var aZ=aN.test(aV);if(aV==="selected"&&!a.support.optSelected){var a2=aW.parentNode;if(a2){a2.selectedIndex;if(a2.parentNode){a2.parentNode.selectedIndex}}}if(aV in aW&&aX&&!aZ){if(a0){if(aV==="type"&&d.test(aW.nodeName)&&aW.parentNode){a.error("type property can't be changed")}aW[aV]=a1}if(a.nodeName(aW,"form")&&aW.getAttributeNode(aV)){return aW.getAttributeNode(aV).nodeValue}if(aV==="tabIndex"){var a3=aW.getAttributeNode("tabIndex");return a3&&a3.specified?a3.value:z.test(aW.nodeName)||j.test(aW.nodeName)&&aW.href?0:C}return aW[aV]}if(!a.support.style&&aX&&aV==="style"){if(a0){aW.style.cssText=""+a1}return aW.style.cssText}if(a0){aW.setAttribute(aV,""+a1)}var aY=!a.support.hrefNormalized&&aX&&aZ?aW.getAttribute(aV,2):aW.getAttribute(aV);return aY===null?C:aY}return a.style(aW,aV,a1)}});var A=function(aV){return aV.replace(/[^\w\s\.\|`]/g,function(aW){return"\\"+aW})};a.event={add:function(aX,a2,a7,aZ){if(aX.nodeType===3||aX.nodeType===8){return}if(aX.setInterval&&(aX!==aJ&&!aX.frameElement)){aX=aJ}if(!a7.guid){a7.guid=a.guid++}if(aZ!==C){var a5=a7;a7=a.proxy(a5);a7.data=aZ}var a8=a.data(aX,"events")||a.data(aX,"events",{}),a1=a.data(aX,"handle"),a0;if(!a1){a0=function(){return typeof a!=="undefined"&&!a.event.triggered?a.event.handle.apply(a0.elem,arguments):C};a1=a.data(aX,"handle",a0)}if(!a1){return}a1.elem=aX;a2=a2.split(/\s+/);var a4,aY=0;while((a4=a2[aY++])){var aV=a4.split(".");a4=aV.shift();if(aY>1){a7=a.proxy(a7);if(aZ!==C){a7.data=aZ}}a7.type=aV.slice(0).sort().join(".");var aW=a8[a4],a3=this.special[a4]||{};if(!aW){aW=a8[a4]={};if(!a3.setup||a3.setup.call(aX,aZ,aV,a7)===false){if(aX.addEventListener){aX.addEventListener(a4,a1,false)}else{if(aX.attachEvent){aX.attachEvent("on"+a4,a1)}}}}if(a3.add){var a6=a3.add.call(aX,a7,aZ,aV,aW);if(a6&&a.isFunction(a6)){a6.guid=a6.guid||a7.guid;a6.data=a6.data||a7.data;a6.type=a6.type||a7.type;a7=a6}}aW[a7.guid]=a7;this.global[a4]=true}aX=null},global:{},remove:function(aX,a1,a7){if(aX.nodeType===3||aX.nodeType===8){return}var a8=a.data(aX,"events"),a2,a4,a5;if(a8){if(a1===C||(typeof a1==="string"&&a1.charAt(0)===".")){for(a4 in a8){this.remove(aX,a4+(a1||""))}}else{if(a1.type){a7=a1.handler;a1=a1.type}a1=a1.split(/\s+/);var aZ=0;while((a4=a1[aZ++])){var aV=a4.split(".");a4=aV.shift();var a6=!aV.length,aW=a.map(aV.slice(0).sort(),A),aY=new RegExp("(^|\\.)"+aW.join("\\.(?:.*\\.)?")+"(\\.|$)"),a3=this.special[a4]||{};if(a8[a4]){if(a7){a5=a8[a4][a7.guid];delete a8[a4][a7.guid]}else{for(var a0 in a8[a4]){if(a6||aY.test(a8[a4][a0].type)){delete a8[a4][a0]}}}if(a3.remove){a3.remove.call(aX,aV,a5)}for(a2 in a8[a4]){break}if(!a2){if(!a3.teardown||a3.teardown.call(aX,aV)===false){if(aX.removeEventListener){aX.removeEventListener(a4,a.data(aX,"handle"),false)}else{if(aX.detachEvent){aX.detachEvent("on"+a4,a.data(aX,"handle"))}}}a2=null;delete a8[a4]}}}}for(a2 in a8){break}if(!a2){var a0=a.data(aX,"handle");if(a0){a0.elem=null}a.removeData(aX,"events");a.removeData(aX,"handle")}}},trigger:function(aV,aZ,aX){var a3=aV.type||aV,aY=arguments[3];if(!aY){aV=typeof aV==="object"?aV[aF]?aV:a.extend(a.Event(a3),aV):a.Event(a3);if(a3.indexOf("!")>=0){aV.type=a3=a3.slice(0,-1);aV.exclusive=true}if(!aX){aV.stopPropagation();if(this.global[a3]){a.each(a.cache,function(){if(this.events&&this.events[a3]){a.event.trigger(aV,aZ,this.handle.elem)}})}}if(!aX||aX.nodeType===3||aX.nodeType===8){return C}aV.result=C;aV.target=aX;aZ=a.makeArray(aZ);aZ.unshift(aV)}aV.currentTarget=aX;var a0=a.data(aX,"handle");if(a0){a0.apply(aX,aZ)}var a4=aX.parentNode||aX.ownerDocument;try{if(!(aX&&aX.nodeName&&a.noData[aX.nodeName.toLowerCase()])){if(aX["on"+a3]&&aX["on"+a3].apply(aX,aZ)===false){aV.result=false}}}catch(a2){}if(!aV.isPropagationStopped()&&a4){a.event.trigger(aV,aZ,a4,true)}else{if(!aV.isDefaultPrevented()){var a1=aV.target,aW,a5=a.nodeName(a1,"a")&&a3==="click";if(!a5&&!(a1&&a1.nodeName&&a.noData[a1.nodeName.toLowerCase()])){try{if(a1[a3]){aW=a1["on"+a3];if(aW){a1["on"+a3]=null}this.triggered=true;a1[a3]()}}catch(a2){}if(aW){a1["on"+a3]=aW}this.triggered=false}}}},handle:function(a1){var a0,aV;a1=arguments[0]=a.event.fix(a1||aJ.event);a1.currentTarget=this;var a2=a1.type.split(".");a1.type=a2.shift();a0=!a2.length&&!a1.exclusive;var aZ=new RegExp("(^|\\.)"+a2.slice(0).sort().join("\\.(?:.*\\.)?")+"(\\.|$)");aV=(a.data(this,"events")||{})[a1.type];for(var aX in aV){var aY=aV[aX];if(a0||aZ.test(aY.type)){a1.handler=aY;a1.data=aY.data;var aW=aY.apply(this,arguments);if(aW!==C){a1.result=aW;if(aW===false){a1.preventDefault();a1.stopPropagation()}}if(a1.isImmediatePropagationStopped()){break}}}return a1.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 originalTarget pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),fix:function(aY){if(aY[aF]){return aY}var aW=aY;aY=a.Event(aW);for(var aX=this.props.length,a0;aX;){a0=this.props[--aX];aY[a0]=aW[a0]}if(!aY.target){aY.target=aY.srcElement||ab}if(aY.target.nodeType===3){aY.target=aY.target.parentNode}if(!aY.relatedTarget&&aY.fromElement){aY.relatedTarget=aY.fromElement===aY.target?aY.toElement:aY.fromElement}if(aY.pageX==null&&aY.clientX!=null){var aZ=ab.documentElement,aV=ab.body;aY.pageX=aY.clientX+(aZ&&aZ.scrollLeft||aV&&aV.scrollLeft||0)-(aZ&&aZ.clientLeft||aV&&aV.clientLeft||0);aY.pageY=aY.clientY+(aZ&&aZ.scrollTop||aV&&aV.scrollTop||0)-(aZ&&aZ.clientTop||aV&&aV.clientTop||0)}if(!aY.which&&((aY.charCode||aY.charCode===0)?aY.charCode:aY.keyCode)){aY.which=aY.charCode||aY.keyCode}if(!aY.metaKey&&aY.ctrlKey){aY.metaKey=aY.ctrlKey}if(!aY.which&&aY.button!==C){aY.which=(aY.button&1?1:(aY.button&2?3:(aY.button&4?2:0)))}return aY},guid:100000000,proxy:a.proxy,special:{ready:{setup:a.bindReady,teardown:a.noop},live:{add:function(aV,aY,aX,aW){a.extend(aV,aY||{});aV.guid+=aY.selector+aY.live;aY.liveProxy=aV;a.event.add(this,aY.live,V,aY)},remove:function(aX){if(aX.length){var aV=0,aW=new RegExp("(^|\\.)"+aX[0]+"(\\.|$)");a.each((a.data(this,"events").live||{}),function(){if(aW.test(this.type)){aV++}});if(aV<1){a.event.remove(this,aX[0],V)}}},special:{}},beforeunload:{setup:function(aX,aW,aV){if(this.setInterval){this.onbeforeunload=aV}return false},teardown:function(aW,aV){if(this.onbeforeunload===aV){this.onbeforeunload=null}}}}};a.Event=function(aV){if(!this.preventDefault){return new a.Event(aV)}if(aV&&aV.type){this.originalEvent=aV;this.type=aV.type}else{this.type=aV}this.timeStamp=aM();this[aF]=true};function aO(){return false}function f(){return true}a.Event.prototype={preventDefault:function(){this.isDefaultPrevented=f;var aV=this.originalEvent;if(!aV){return}if(aV.preventDefault){aV.preventDefault()}aV.returnValue=false},stopPropagation:function(){this.isPropagationStopped=f;var aV=this.originalEvent;if(!aV){return}if(aV.stopPropagation){aV.stopPropagation()}aV.cancelBubble=true},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=f;this.stopPropagation()},isDefaultPrevented:aO,isPropagationStopped:aO,isImmediatePropagationStopped:aO};var Q=function(aW){var aV=aW.relatedTarget;while(aV&&aV!==this){try{aV=aV.parentNode}catch(aX){break}}if(aV!==this){aW.type=aW.data;a.event.handle.apply(this,arguments)}},aw=function(aV){aV.type=aV.data;a.event.handle.apply(this,arguments)};a.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(aW,aV){a.event.special[aW]={setup:function(aX){a.event.add(this,aV,aX&&aX.selector?aw:Q,aW)},teardown:function(aX){a.event.remove(this,aV,aX&&aX.selector?aw:Q)}}});if(!a.support.submitBubbles){a.event.special.submit={setup:function(aX,aW,aV){if(this.nodeName.toLowerCase()!=="form"){a.event.add(this,"click.specialSubmit."+aV.guid,function(a0){var aZ=a0.target,aY=aZ.type;if((aY==="submit"||aY==="image")&&a(aZ).closest("form").length){return ay("submit",this,arguments)}});a.event.add(this,"keypress.specialSubmit."+aV.guid,function(a0){var aZ=a0.target,aY=aZ.type;if((aY==="text"||aY==="password")&&a(aZ).closest("form").length&&a0.keyCode===13){return ay("submit",this,arguments)}})}else{return false}},remove:function(aW,aV){a.event.remove(this,"click.specialSubmit"+(aV?"."+aV.guid:""));a.event.remove(this,"keypress.specialSubmit"+(aV?"."+aV.guid:""))}}}if(!a.support.changeBubbles){var ap=/textarea|input|select/i;function i(aW){var aV=aW.type,aX=aW.value;if(aV==="radio"||aV==="checkbox"){aX=aW.checked}else{if(aV==="select-multiple"){aX=aW.selectedIndex>-1?a.map(aW.options,function(aY){return aY.selected}).join("-"):""}else{if(aW.nodeName.toLowerCase()==="select"){aX=aW.selectedIndex}}}return aX}function O(aX){var aV=aX.target,aW,aY;if(!ap.test(aV.nodeName)||aV.readOnly){return}aW=a.data(aV,"_change_data");aY=i(aV);if(aX.type!=="focusout"||aV.type!=="radio"){a.data(aV,"_change_data",aY)}if(aW===C||aY===aW){return}if(aW!=null||aY){aX.type="change";return a.event.trigger(aX,arguments[1],aV)}}a.event.special.change={filters:{focusout:O,click:function(aX){var aW=aX.target,aV=aW.type;if(aV==="radio"||aV==="checkbox"||aW.nodeName.toLowerCase()==="select"){return O.call(this,aX)}},keydown:function(aX){var aW=aX.target,aV=aW.type;if((aX.keyCode===13&&aW.nodeName.toLowerCase()!=="textarea")||(aX.keyCode===32&&(aV==="checkbox"||aV==="radio"))||aV==="select-multiple"){return O.call(this,aX)}},beforeactivate:function(aW){var aV=aW.target;if(aV.nodeName.toLowerCase()==="input"&&aV.type==="radio"){a.data(aV,"_change_data",i(aV))}}},setup:function(aY,aX,aW){for(var aV in aP){a.event.add(this,aV+".specialChange."+aW.guid,aP[aV])}return ap.test(this.nodeName)},remove:function(aX,aW){for(var aV in aP){a.event.remove(this,aV+".specialChange"+(aW?"."+aW.guid:""),aP[aV])}return ap.test(this.nodeName)}};var aP=a.event.special.change.filters}function ay(aW,aX,aV){aV[0].type=aW;return a.event.handle.apply(aX,aV)}if(ab.addEventListener){a.each({focus:"focusin",blur:"focusout"},function(aX,aV){a.event.special[aV]={setup:function(){this.addEventListener(aX,aW,true)},teardown:function(){this.removeEventListener(aX,aW,true)}};function aW(aY){aY=a.event.fix(aY);aY.type=aV;return a.event.handle.call(this,aY)}})}a.each(["bind","one"],function(aW,aV){a.fn[aV]=function(a0,a1,aZ){if(typeof a0==="object"){for(var aX in a0){this[aV](aX,a1,a0[aX],aZ)}return this}if(a.isFunction(a1)){aZ=a1;a1=C}var aY=aV==="one"?a.proxy(aZ,function(a2){a(this).unbind(a2,aY);return aZ.apply(this,arguments)}):aZ;return a0==="unload"&&aV!=="one"?this.one(a0,a1,aZ):this.each(function(){a.event.add(this,a0,aY,a1)})}});a.fn.extend({unbind:function(aX,aW){if(typeof aX==="object"&&!aX.preventDefault){for(var aV in aX){this.unbind(aV,aX[aV])}return this}return this.each(function(){a.event.remove(this,aX,aW)})},trigger:function(aV,aW){return this.each(function(){a.event.trigger(aV,aW,this)})},triggerHandler:function(aV,aX){if(this[0]){var aW=a.Event(aV);aW.preventDefault();aW.stopPropagation();a.event.trigger(aW,aX,this[0]);return aW.result}},toggle:function(aX){var aV=arguments,aW=1;while(aW<aV.length){a.proxy(aX,aV[aW++])}return this.click(a.proxy(aX,function(aY){var aZ=(a.data(this,"lastToggle"+aX.guid)||0)%aW;a.data(this,"lastToggle"+aX.guid,aZ+1);aY.preventDefault();return aV[aZ].apply(this,arguments)||false}))},hover:function(aV,aW){return this.mouseenter(aV).mouseleave(aW||aV)}});a.each(["live","die"],function(aW,aV){a.fn[aV]=function(aY,a1,a0){var aZ,aX=0;if(a.isFunction(a1)){a0=a1;a1=C}aY=(aY||"").split(/\s+/);while((aZ=aY[aX++])!=null){aZ=aZ==="focus"?"focusin":aZ==="blur"?"focusout":aZ==="hover"?aY.push("mouseleave")&&"mouseenter":aZ;if(aV==="live"){a(this.context).bind(m(aZ,this.selector),{data:a1,selector:this.selector,live:aZ},a0)}else{a(this.context).unbind(m(aZ,this.selector),a0?{guid:a0.guid+this.selector+aZ}:null)}}return this}});function V(aV){var a6,aW=[],a8=[],a4=arguments,a7,a3,a5,aY,a0,a2,aZ,a1,aX=a.extend({},a.data(this,"events").live);if(aV.button&&aV.type==="click"){return}for(a0 in aX){a5=aX[a0];if(a5.live===aV.type||a5.altLive&&a.inArray(aV.type,a5.altLive)>-1){a1=a5.data;if(!(a1.beforeFilter&&a1.beforeFilter[aV.type]&&!a1.beforeFilter[aV.type](aV))){a8.push(a5.selector)}}else{delete aX[a0]}}a3=a(aV.target).closest(a8,aV.currentTarget);for(a2=0,aZ=a3.length;a2<aZ;a2++){for(a0 in aX){a5=aX[a0];aY=a3[a2].elem;a7=null;if(a3[a2].selector===a5.selector){if(a5.live==="mouseenter"||a5.live==="mouseleave"){a7=a(aV.relatedTarget).closest(a5.selector)[0]}if(!a7||a7!==aY){aW.push({elem:aY,fn:a5})}}}}for(a2=0,aZ=aW.length;a2<aZ;a2++){a3=aW[a2];aV.currentTarget=a3.elem;aV.data=a3.fn.data;if(a3.fn.apply(a3.elem,a4)===false){a6=false;break}}return a6}function m(aW,aV){return"live."+(aW?aW+".":"")+aV.replace(/\./g,"`").replace(/ /g,"&")}a.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(aW,aV){a.fn[aV]=function(aX){return aX?this.bind(aV,aX):this.trigger(aV)};if(a.attrFn){a.attrFn[aV]=true}});if(aJ.attachEvent&&!aJ.addEventListener){aJ.attachEvent("onunload",function(){for(var aW in a.cache){if(a.cache[aW].handle){try{a.event.remove(a.cache[aW].handle.elem)}catch(aV){}}}});
/*
 * Sizzle CSS Selector Engine - v1.0
 *  Copyright 2009, The Dojo Foundation
 *  Released under the MIT, BSD, and GPL Licenses.
 *  More information: http://sizzlejs.com/
 */
}(function(){var a6=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,a7=0,a9=Object.prototype.toString,a1=false,a0=true;[0,0].sort(function(){a0=false;return 0});var aX=function(bi,bd,bl,bm){bl=bl||[];var bo=bd=bd||ab;if(bd.nodeType!==1&&bd.nodeType!==9){return[]}if(!bi||typeof bi!=="string"){return bl}var bj=[],bf,bq,bt,be,bh=true,bg=aY(bd),bn=bi;while((a6.exec(""),bf=a6.exec(bn))!==null){bn=bf[3];bj.push(bf[1]);if(bf[2]){be=bf[3];break}}if(bj.length>1&&a2.exec(bi)){if(bj.length===2&&a3.relative[bj[0]]){bq=ba(bj[0]+bj[1],bd)}else{bq=a3.relative[bj[0]]?[bd]:aX(bj.shift(),bd);while(bj.length){bi=bj.shift();if(a3.relative[bi]){bi+=bj.shift()}bq=ba(bi,bq)}}}else{if(!bm&&bj.length>1&&bd.nodeType===9&&!bg&&a3.match.ID.test(bj[0])&&!a3.match.ID.test(bj[bj.length-1])){var bp=aX.find(bj.shift(),bd,bg);bd=bp.expr?aX.filter(bp.expr,bp.set)[0]:bp.set[0]}if(bd){var bp=bm?{expr:bj.pop(),set:a5(bm)}:aX.find(bj.pop(),bj.length===1&&(bj[0]==="~"||bj[0]==="+")&&bd.parentNode?bd.parentNode:bd,bg);bq=bp.expr?aX.filter(bp.expr,bp.set):bp.set;if(bj.length>0){bt=a5(bq)}else{bh=false}while(bj.length){var bs=bj.pop(),br=bs;if(!a3.relative[bs]){bs=""}else{br=bj.pop()}if(br==null){br=bd}a3.relative[bs](bt,br,bg)}}else{bt=bj=[]}}if(!bt){bt=bq}if(!bt){aX.error(bs||bi)}if(a9.call(bt)==="[object Array]"){if(!bh){bl.push.apply(bl,bt)}else{if(bd&&bd.nodeType===1){for(var bk=0;bt[bk]!=null;bk++){if(bt[bk]&&(bt[bk]===true||bt[bk].nodeType===1&&a4(bd,bt[bk]))){bl.push(bq[bk])}}}else{for(var bk=0;bt[bk]!=null;bk++){if(bt[bk]&&bt[bk].nodeType===1){bl.push(bq[bk])}}}}}else{a5(bt,bl)}if(be){aX(be,bo,bl,bm);aX.uniqueSort(bl)}return bl};aX.uniqueSort=function(be){if(a8){a1=a0;be.sort(a8);if(a1){for(var bd=1;bd<be.length;bd++){if(be[bd]===be[bd-1]){be.splice(bd--,1)}}}}return be};aX.matches=function(bd,be){return aX(bd,null,null,be)};aX.find=function(bk,bd,bl){var bj,bh;if(!bk){return[]}for(var bg=0,bf=a3.order.length;bg<bf;bg++){var bi=a3.order[bg],bh;if((bh=a3.leftMatch[bi].exec(bk))){var be=bh[1];bh.splice(1,1);if(be.substr(be.length-1)!=="\\"){bh[1]=(bh[1]||"").replace(/\\/g,"");bj=a3.find[bi](bh,bd,bl);if(bj!=null){bk=bk.replace(a3.match[bi],"");break}}}}if(!bj){bj=bd.getElementsByTagName("*")}return{set:bj,expr:bk}};aX.filter=function(bo,bn,br,bh){var bf=bo,bt=[],bl=bn,bj,bd,bk=bn&&bn[0]&&aY(bn[0]);while(bo&&bn.length){for(var bm in a3.filter){if((bj=a3.leftMatch[bm].exec(bo))!=null&&bj[2]){var be=a3.filter[bm],bs,bq,bg=bj[1];bd=false;bj.splice(1,1);if(bg.substr(bg.length-1)==="\\"){continue}if(bl===bt){bt=[]}if(a3.preFilter[bm]){bj=a3.preFilter[bm](bj,bl,br,bt,bh,bk);if(!bj){bd=bs=true}else{if(bj===true){continue}}}if(bj){for(var bi=0;(bq=bl[bi])!=null;bi++){if(bq){bs=be(bq,bj,bi,bl);var bp=bh^!!bs;if(br&&bs!=null){if(bp){bd=true}else{bl[bi]=false}}else{if(bp){bt.push(bq);bd=true}}}}}if(bs!==C){if(!br){bl=bt}bo=bo.replace(a3.match[bm],"");if(!bd){return[]}break}}}if(bo===bf){if(bd==null){aX.error(bo)}else{break}}bf=bo}return bl};aX.error=function(bd){throw"Syntax error, unrecognized expression: "+bd};var a3=aX.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF-]|\\.)+)\s*(?:(\S?=)\s*(['"]*)(.*?)\3|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\((even|odd|[\dn+-]*)\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(bd){return bd.getAttribute("href")}},relative:{"+":function(bj,be){var bg=typeof be==="string",bi=bg&&!/\W/.test(be),bk=bg&&!bi;if(bi){be=be.toLowerCase()}for(var bf=0,bd=bj.length,bh;bf<bd;bf++){if((bh=bj[bf])){while((bh=bh.previousSibling)&&bh.nodeType!==1){}bj[bf]=bk||bh&&bh.nodeName.toLowerCase()===be?bh||false:bh===be}}if(bk){aX.filter(be,bj,true)}},">":function(bj,be){var bh=typeof be==="string";if(bh&&!/\W/.test(be)){be=be.toLowerCase();for(var bf=0,bd=bj.length;bf<bd;bf++){var bi=bj[bf];if(bi){var bg=bi.parentNode;bj[bf]=bg.nodeName.toLowerCase()===be?bg:false}}}else{for(var bf=0,bd=bj.length;bf<bd;bf++){var bi=bj[bf];if(bi){bj[bf]=bh?bi.parentNode:bi.parentNode===be}}if(bh){aX.filter(be,bj,true)}}},"":function(bg,be,bi){var bf=a7++,bd=bb;if(typeof be==="string"&&!/\W/.test(be)){var bh=be=be.toLowerCase();bd=aV}bd("parentNode",be,bf,bg,bh,bi)},"~":function(bg,be,bi){var bf=a7++,bd=bb;if(typeof be==="string"&&!/\W/.test(be)){var bh=be=be.toLowerCase();bd=aV}bd("previousSibling",be,bf,bg,bh,bi)}},find:{ID:function(be,bf,bg){if(typeof bf.getElementById!=="undefined"&&!bg){var bd=bf.getElementById(be[1]);return bd?[bd]:[]}},NAME:function(bf,bi){if(typeof bi.getElementsByName!=="undefined"){var be=[],bh=bi.getElementsByName(bf[1]);for(var bg=0,bd=bh.length;bg<bd;bg++){if(bh[bg].getAttribute("name")===bf[1]){be.push(bh[bg])}}return be.length===0?null:be}},TAG:function(bd,be){return be.getElementsByTagName(bd[1])}},preFilter:{CLASS:function(bg,be,bf,bd,bj,bk){bg=" "+bg[1].replace(/\\/g,"")+" ";if(bk){return bg}for(var bh=0,bi;(bi=be[bh])!=null;bh++){if(bi){if(bj^(bi.className&&(" "+bi.className+" ").replace(/[\t\n]/g," ").indexOf(bg)>=0)){if(!bf){bd.push(bi)}}else{if(bf){be[bh]=false}}}}return false},ID:function(bd){return bd[1].replace(/\\/g,"")},TAG:function(be,bd){return be[1].toLowerCase()},CHILD:function(bd){if(bd[1]==="nth"){var be=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(bd[2]==="even"&&"2n"||bd[2]==="odd"&&"2n+1"||!/\D/.test(bd[2])&&"0n+"+bd[2]||bd[2]);bd[2]=(be[1]+(be[2]||1))-0;bd[3]=be[3]-0}bd[0]=a7++;return bd},ATTR:function(bh,be,bf,bd,bi,bj){var bg=bh[1].replace(/\\/g,"");if(!bj&&a3.attrMap[bg]){bh[1]=a3.attrMap[bg]}if(bh[2]==="~="){bh[4]=" "+bh[4]+" "}return bh},PSEUDO:function(bh,be,bf,bd,bi){if(bh[1]==="not"){if((a6.exec(bh[3])||"").length>1||/^\w/.test(bh[3])){bh[3]=aX(bh[3],null,null,be)}else{var bg=aX.filter(bh[3],be,bf,true^bi);if(!bf){bd.push.apply(bd,bg)}return false}}else{if(a3.match.POS.test(bh[0])||a3.match.CHILD.test(bh[0])){return true}}return bh},POS:function(bd){bd.unshift(true);return bd}},filters:{enabled:function(bd){return bd.disabled===false&&bd.type!=="hidden"},disabled:function(bd){return bd.disabled===true},checked:function(bd){return bd.checked===true},selected:function(bd){bd.parentNode.selectedIndex;return bd.selected===true},parent:function(bd){return !!bd.firstChild},empty:function(bd){return !bd.firstChild},has:function(bf,be,bd){return !!aX(bd[3],bf).length},header:function(bd){return/h\d/i.test(bd.nodeName)},text:function(bd){return"text"===bd.type},radio:function(bd){return"radio"===bd.type},checkbox:function(bd){return"checkbox"===bd.type},file:function(bd){return"file"===bd.type},password:function(bd){return"password"===bd.type},submit:function(bd){return"submit"===bd.type},image:function(bd){return"image"===bd.type},reset:function(bd){return"reset"===bd.type},button:function(bd){return"button"===bd.type||bd.nodeName.toLowerCase()==="button"},input:function(bd){return/input|select|textarea|button/i.test(bd.nodeName)}},setFilters:{first:function(be,bd){return bd===0},last:function(bf,be,bd,bg){return be===bg.length-1},even:function(be,bd){return bd%2===0},odd:function(be,bd){return bd%2===1},lt:function(bf,be,bd){return be<bd[3]-0},gt:function(bf,be,bd){return be>bd[3]-0},nth:function(bf,be,bd){return bd[3]-0===be},eq:function(bf,be,bd){return bd[3]-0===be}},filter:{PSEUDO:function(bj,bf,bg,bk){var be=bf[1],bh=a3.filters[be];if(bh){return bh(bj,bg,bf,bk)}else{if(be==="contains"){return(bj.textContent||bj.innerText||aW([bj])||"").indexOf(bf[3])>=0}else{if(be==="not"){var bi=bf[3];for(var bg=0,bd=bi.length;bg<bd;bg++){if(bi[bg]===bj){return false}}return true}else{aX.error("Syntax error, unrecognized expression: "+be)}}}},CHILD:function(bd,bg){var bj=bg[1],be=bd;switch(bj){case"only":case"first":while((be=be.previousSibling)){if(be.nodeType===1){return false}}if(bj==="first"){return true}be=bd;case"last":while((be=be.nextSibling)){if(be.nodeType===1){return false}}return true;case"nth":var bf=bg[2],bm=bg[3];if(bf===1&&bm===0){return true}var bi=bg[0],bl=bd.parentNode;if(bl&&(bl.sizcache!==bi||!bd.nodeIndex)){var bh=0;for(be=bl.firstChild;be;be=be.nextSibling){if(be.nodeType===1){be.nodeIndex=++bh}}bl.sizcache=bi}var bk=bd.nodeIndex-bm;if(bf===0){return bk===0}else{return(bk%bf===0&&bk/bf>=0)}}},ID:function(be,bd){return be.nodeType===1&&be.getAttribute("id")===bd},TAG:function(be,bd){return(bd==="*"&&be.nodeType===1)||be.nodeName.toLowerCase()===bd},CLASS:function(be,bd){return(" "+(be.className||be.getAttribute("class"))+" ").indexOf(bd)>-1},ATTR:function(bi,bg){var bf=bg[1],bd=a3.attrHandle[bf]?a3.attrHandle[bf](bi):bi[bf]!=null?bi[bf]:bi.getAttribute(bf),bj=bd+"",bh=bg[2],be=bg[4];return bd==null?bh==="!=":bh==="="?bj===be:bh==="*="?bj.indexOf(be)>=0:bh==="~="?(" "+bj+" ").indexOf(be)>=0:!be?bj&&bd!==false:bh==="!="?bj!==be:bh==="^="?bj.indexOf(be)===0:bh==="$="?bj.substr(bj.length-be.length)===be:bh==="|="?bj===be||bj.substr(0,be.length+1)===be+"-":false},POS:function(bh,be,bf,bi){var bd=be[2],bg=a3.setFilters[bd];if(bg){return bg(bh,bf,be,bi)}}}};var a2=a3.match.POS;for(var aZ in a3.match){a3.match[aZ]=new RegExp(a3.match[aZ].source+/(?![^\[]*\])(?![^\(]*\))/.source);a3.leftMatch[aZ]=new RegExp(/(^(?:.|\r|\n)*?)/.source+a3.match[aZ].source.replace(/\\(\d+)/g,function(be,bd){return"\\"+(bd-0+1)}))}var a5=function(be,bd){be=Array.prototype.slice.call(be,0);if(bd){bd.push.apply(bd,be);return bd}return be};try{Array.prototype.slice.call(ab.documentElement.childNodes,0)}catch(bc){a5=function(bh,bg){var be=bg||[];if(a9.call(bh)==="[object Array]"){Array.prototype.push.apply(be,bh)}else{if(typeof bh.length==="number"){for(var bf=0,bd=bh.length;bf<bd;bf++){be.push(bh[bf])}}else{for(var bf=0;bh[bf];bf++){be.push(bh[bf])}}}return be}}var a8;if(ab.documentElement.compareDocumentPosition){a8=function(be,bd){if(!be.compareDocumentPosition||!bd.compareDocumentPosition){if(be==bd){a1=true}return be.compareDocumentPosition?-1:1}var bf=be.compareDocumentPosition(bd)&4?-1:be===bd?0:1;if(bf===0){a1=true}return bf}}else{if("sourceIndex" in ab.documentElement){a8=function(be,bd){if(!be.sourceIndex||!bd.sourceIndex){if(be==bd){a1=true}return be.sourceIndex?-1:1}var bf=be.sourceIndex-bd.sourceIndex;if(bf===0){a1=true}return bf}}else{if(ab.createRange){a8=function(bg,be){if(!bg.ownerDocument||!be.ownerDocument){if(bg==be){a1=true}return bg.ownerDocument?-1:1}var bf=bg.ownerDocument.createRange(),bd=be.ownerDocument.createRange();bf.setStart(bg,0);bf.setEnd(bg,0);bd.setStart(be,0);bd.setEnd(be,0);var bh=bf.compareBoundaryPoints(Range.START_TO_END,bd);if(bh===0){a1=true}return bh}}}}function aW(bd){var be="",bg;for(var bf=0;bd[bf];bf++){bg=bd[bf];if(bg.nodeType===3||bg.nodeType===4){be+=bg.nodeValue}else{if(bg.nodeType!==8){be+=aW(bg.childNodes)}}}return be}(function(){var be=ab.createElement("div"),bf="script"+(new Date).getTime();be.innerHTML="<a name='"+bf+"'/>";var bd=ab.documentElement;bd.insertBefore(be,bd.firstChild);if(ab.getElementById(bf)){a3.find.ID=function(bh,bi,bj){if(typeof bi.getElementById!=="undefined"&&!bj){var bg=bi.getElementById(bh[1]);return bg?bg.id===bh[1]||typeof bg.getAttributeNode!=="undefined"&&bg.getAttributeNode("id").nodeValue===bh[1]?[bg]:C:[]}};a3.filter.ID=function(bi,bg){var bh=typeof bi.getAttributeNode!=="undefined"&&bi.getAttributeNode("id");return bi.nodeType===1&&bh&&bh.nodeValue===bg}}bd.removeChild(be);bd=be=null})();(function(){var bd=ab.createElement("div");bd.appendChild(ab.createComment(""));if(bd.getElementsByTagName("*").length>0){a3.find.TAG=function(be,bi){var bh=bi.getElementsByTagName(be[1]);if(be[1]==="*"){var bg=[];for(var bf=0;bh[bf];bf++){if(bh[bf].nodeType===1){bg.push(bh[bf])}}bh=bg}return bh}}bd.innerHTML="<a href='#'></a>";if(bd.firstChild&&typeof bd.firstChild.getAttribute!=="undefined"&&bd.firstChild.getAttribute("href")!=="#"){a3.attrHandle.href=function(be){return be.getAttribute("href",2)}}bd=null})();if(ab.querySelectorAll){(function(){var bd=aX,bf=ab.createElement("div");bf.innerHTML="<p class='TEST'></p>";if(bf.querySelectorAll&&bf.querySelectorAll(".TEST").length===0){return}aX=function(bj,bi,bg,bh){bi=bi||ab;if(!bh&&bi.nodeType===9&&!aY(bi)){try{return a5(bi.querySelectorAll(bj),bg)}catch(bk){}}return bd(bj,bi,bg,bh)};for(var be in bd){aX[be]=bd[be]}bf=null})()}(function(){var bd=ab.createElement("div");bd.innerHTML="<div class='test e'></div><div class='test'></div>";if(!bd.getElementsByClassName||bd.getElementsByClassName("e").length===0){return}bd.lastChild.className="e";if(bd.getElementsByClassName("e").length===1){return}a3.order.splice(1,0,"CLASS");a3.find.CLASS=function(be,bf,bg){if(typeof bf.getElementsByClassName!=="undefined"&&!bg){return bf.getElementsByClassName(be[1])}};bd=null})();function aV(be,bj,bi,bm,bk,bl){for(var bg=0,bf=bm.length;bg<bf;bg++){var bd=bm[bg];if(bd){bd=bd[be];var bh=false;while(bd){if(bd.sizcache===bi){bh=bm[bd.sizset];break}if(bd.nodeType===1&&!bl){bd.sizcache=bi;bd.sizset=bg}if(bd.nodeName.toLowerCase()===bj){bh=bd;break}bd=bd[be]}bm[bg]=bh}}}function bb(be,bj,bi,bm,bk,bl){for(var bg=0,bf=bm.length;bg<bf;bg++){var bd=bm[bg];if(bd){bd=bd[be];var bh=false;while(bd){if(bd.sizcache===bi){bh=bm[bd.sizset];break}if(bd.nodeType===1){if(!bl){bd.sizcache=bi;bd.sizset=bg}if(typeof bj!=="string"){if(bd===bj){bh=true;break}}else{if(aX.filter(bj,[bd]).length>0){bh=bd;break}}}bd=bd[be]}bm[bg]=bh}}}var a4=ab.compareDocumentPosition?function(be,bd){return be.compareDocumentPosition(bd)&16}:function(be,bd){return be!==bd&&(be.contains?be.contains(bd):true)};var aY=function(bd){var be=(bd?bd.ownerDocument||bd:0).documentElement;return be?be.nodeName!=="HTML":false};var ba=function(bd,bk){var bg=[],bh="",bi,bf=bk.nodeType?[bk]:bk;while((bi=a3.match.PSEUDO.exec(bd))){bh+=bi[0];bd=bd.replace(a3.match.PSEUDO,"")}bd=a3.relative[bd]?bd+"*":bd;for(var bj=0,be=bf.length;bj<be;bj++){aX(bd,bf[bj],bg)}return aX.filter(bh,bg)};a.find=aX;a.expr=aX.selectors;a.expr[":"]=a.expr.filters;a.unique=aX.uniqueSort;a.getText=aW;a.isXMLDoc=aY;a.contains=a4;return;aJ.Sizzle=aX})();var N=/Until$/,Y=/^(?:parents|prevUntil|prevAll)/,aI=/,/,E=Array.prototype.slice;var ah=function(aY,aX,aV){if(a.isFunction(aX)){return a.grep(aY,function(a0,aZ){return !!aX.call(a0,aZ,a0)===aV})}else{if(aX.nodeType){return a.grep(aY,function(a0,aZ){return(a0===aX)===aV})}else{if(typeof aX==="string"){var aW=a.grep(aY,function(aZ){return aZ.nodeType===1});if(aT.test(aX)){return a.filter(aX,aW,!aV)}else{aX=a.filter(aX,aW)}}}}return a.grep(aY,function(a0,aZ){return(a.inArray(a0,aX)>=0)===aV})};a.fn.extend({find:function(aV){var aX=this.pushStack("","find",aV),a0=0;for(var aY=0,aW=this.length;aY<aW;aY++){a0=aX.length;a.find(aV,this[aY],aX);if(aY>0){for(var a1=a0;a1<aX.length;a1++){for(var aZ=0;aZ<a0;aZ++){if(aX[aZ]===aX[a1]){aX.splice(a1--,1);break}}}}}return aX},has:function(aW){var aV=a(aW);return this.filter(function(){for(var aY=0,aX=aV.length;aY<aX;aY++){if(a.contains(this,aV[aY])){return true}}})},not:function(aV){return this.pushStack(ah(this,aV,false),"not",aV)},filter:function(aV){return this.pushStack(ah(this,aV,true),"filter",aV)},is:function(aV){return !!aV&&a.filter(aV,this).length>0},closest:function(a4,aV){if(a.isArray(a4)){var a1=[],a3=this[0],a0,aZ={},aX;if(a3&&a4.length){for(var aY=0,aW=a4.length;aY<aW;aY++){aX=a4[aY];if(!aZ[aX]){aZ[aX]=a.expr.match.POS.test(aX)?a(aX,aV||this.context):aX}}while(a3&&a3.ownerDocument&&a3!==aV){for(aX in aZ){a0=aZ[aX];if(a0.jquery?a0.index(a3)>-1:a(a3).is(a0)){a1.push({selector:aX,elem:a3});delete aZ[aX]}}a3=a3.parentNode}}return a1}var a2=a.expr.match.POS.test(a4)?a(a4,aV||this.context):null;return this.map(function(a5,a6){while(a6&&a6.ownerDocument&&a6!==aV){if(a2?a2.index(a6)>-1:a(a6).is(a4)){return a6}a6=a6.parentNode}return null})},index:function(aV){if(!aV||typeof aV==="string"){return a.inArray(this[0],aV?a(aV):this.parent().children())}return a.inArray(aV.jquery?aV[0]:aV,this)},add:function(aV,aW){var aY=typeof aV==="string"?a(aV,aW||this.context):a.makeArray(aV),aX=a.merge(this.get(),aY);return this.pushStack(y(aY[0])||y(aX[0])?aX:a.unique(aX))},andSelf:function(){return this.add(this.prevObject)}});function y(aV){return !aV||!aV.parentNode||aV.parentNode.nodeType===11}a.each({parent:function(aW){var aV=aW.parentNode;return aV&&aV.nodeType!==11?aV:null},parents:function(aV){return a.dir(aV,"parentNode")},parentsUntil:function(aW,aV,aX){return a.dir(aW,"parentNode",aX)},next:function(aV){return a.nth(aV,2,"nextSibling")},prev:function(aV){return a.nth(aV,2,"previousSibling")},nextAll:function(aV){return a.dir(aV,"nextSibling")},prevAll:function(aV){return a.dir(aV,"previousSibling")},nextUntil:function(aW,aV,aX){return a.dir(aW,"nextSibling",aX)},prevUntil:function(aW,aV,aX){return a.dir(aW,"previousSibling",aX)},siblings:function(aV){return a.sibling(aV.parentNode.firstChild,aV)},children:function(aV){return a.sibling(aV.firstChild)},contents:function(aV){return a.nodeName(aV,"iframe")?aV.contentDocument||aV.contentWindow.document:a.makeArray(aV.childNodes)}},function(aV,aW){a.fn[aV]=function(aZ,aX){var aY=a.map(this,aW,aZ);if(!N.test(aV)){aX=aZ}if(aX&&typeof aX==="string"){aY=a.filter(aX,aY)}aY=this.length>1?a.unique(aY):aY;if((this.length>1||aI.test(aX))&&Y.test(aV)){aY=aY.reverse()}return this.pushStack(aY,aV,E.call(arguments).join(","))}});a.extend({filter:function(aX,aV,aW){if(aW){aX=":not("+aX+")"}return a.find.matches(aX,aV)},dir:function(aX,aW,aZ){var aV=[],aY=aX[aW];while(aY&&aY.nodeType!==9&&(aZ===C||aY.nodeType!==1||!a(aY).is(aZ))){if(aY.nodeType===1){aV.push(aY)}aY=aY[aW]}return aV},nth:function(aZ,aV,aX,aY){aV=aV||1;var aW=0;for(;aZ;aZ=aZ[aX]){if(aZ.nodeType===1&&++aW===aV){break}}return aZ},sibling:function(aX,aW){var aV=[];for(;aX;aX=aX.nextSibling){if(aX.nodeType===1&&aX!==aW){aV.push(aX)}}return aV}});var T=/ jQuery\d+="(?:\d+|null)"/g,Z=/^\s+/,G=/(<([\w:]+)[^>]*?)\/>/g,ak=/^(?:area|br|col|embed|hr|img|input|link|meta|param)$/i,c=/<([\w:]+)/,u=/<tbody/i,K=/<|&\w+;/,l=/checked\s*(?:[^=]|=\s*.checked.)/i,p=function(aW,aX,aV){return ak.test(aV)?aW:aX+"></"+aV+">"},ac={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,"",""]};ac.optgroup=ac.option;ac.tbody=ac.tfoot=ac.colgroup=ac.caption=ac.thead;ac.th=ac.td;if(!a.support.htmlSerialize){ac._default=[1,"div<div>","</div>"]}a.fn.extend({text:function(aV){if(a.isFunction(aV)){return this.each(function(aX){var aW=a(this);aW.text(aV.call(this,aX,aW.text()))})}if(typeof aV!=="object"&&aV!==C){return this.empty().append((this[0]&&this[0].ownerDocument||ab).createTextNode(aV))}return a.getText(this)},wrapAll:function(aV){if(a.isFunction(aV)){return this.each(function(aX){a(this).wrapAll(aV.call(this,aX))})}if(this[0]){var aW=a(aV,this[0].ownerDocument).eq(0).clone(true);if(this[0].parentNode){aW.insertBefore(this[0])}aW.map(function(){var aX=this;while(aX.firstChild&&aX.firstChild.nodeType===1){aX=aX.firstChild}return aX}).append(this)}return this},wrapInner:function(aV){if(a.isFunction(aV)){return this.each(function(aW){a(this).wrapInner(aV.call(this,aW))})}return this.each(function(){var aW=a(this),aX=aW.contents();if(aX.length){aX.wrapAll(aV)}else{aW.append(aV)}})},wrap:function(aV){return this.each(function(){a(this).wrapAll(aV)})},unwrap:function(){return this.parent().each(function(){if(!a.nodeName(this,"body")){a(this).replaceWith(this.childNodes)}}).end()},append:function(){return this.domManip(arguments,true,function(aV){if(this.nodeType===1){this.appendChild(aV)}})},prepend:function(){return this.domManip(arguments,true,function(aV){if(this.nodeType===1){this.insertBefore(aV,this.firstChild)}})},before:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,false,function(aW){this.parentNode.insertBefore(aW,this)})}else{if(arguments.length){var aV=a(arguments[0]);aV.push.apply(aV,this.toArray());return this.pushStack(aV,"before",arguments)}}},after:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,false,function(aW){this.parentNode.insertBefore(aW,this.nextSibling)})}else{if(arguments.length){var aV=this.pushStack(this,"after",arguments);aV.push.apply(aV,a(arguments[0]).toArray());return aV}}},clone:function(aW){var aV=this.map(function(){if(!a.support.noCloneEvent&&!a.isXMLDoc(this)){var aY=this.outerHTML,aX=this.ownerDocument;if(!aY){var aZ=aX.createElement("div");aZ.appendChild(this.cloneNode(true));aY=aZ.innerHTML}return a.clean([aY.replace(T,"").replace(Z,"")],aX)[0]}else{return this.cloneNode(true)}});if(aW===true){q(this,aV);q(this.find("*"),aV.find("*"))}return aV},html:function(aX){if(aX===C){return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(T,""):null}else{if(typeof aX==="string"&&!/<script/i.test(aX)&&(a.support.leadingWhitespace||!Z.test(aX))&&!ac[(c.exec(aX)||["",""])[1].toLowerCase()]){aX=aX.replace(G,p);try{for(var aW=0,aV=this.length;aW<aV;aW++){if(this[aW].nodeType===1){a.cleanData(this[aW].getElementsByTagName("*"));this[aW].innerHTML=aX}}}catch(aY){this.empty().append(aX)}}else{if(a.isFunction(aX)){this.each(function(a1){var a0=a(this),aZ=a0.html();a0.empty().append(function(){return aX.call(this,a1,aZ)})})}else{this.empty().append(aX)}}}return this},replaceWith:function(aV){if(this[0]&&this[0].parentNode){if(!a.isFunction(aV)){aV=a(aV).detach()}else{return this.each(function(aY){var aX=a(this),aW=aX.html();aX.replaceWith(aV.call(this,aY,aW))})}return this.each(function(){var aX=this.nextSibling,aW=this.parentNode;a(this).remove();if(aX){a(aX).before(aV)}else{a(aW).append(aV)}})}else{return this.pushStack(a(a.isFunction(aV)?aV():aV),"replaceWith",aV)}},detach:function(aV){return this.remove(aV,true)},domManip:function(a0,a4,a3){var aX,aZ,a2=a0[0],aW=[];if(!a.support.checkClone&&arguments.length===3&&typeof a2==="string"&&l.test(a2)){return this.each(function(){a(this).domManip(a0,a4,a3,true)})}if(a.isFunction(a2)){return this.each(function(a6){var a5=a(this);a0[0]=a2.call(this,a6,a4?a5.html():C);a5.domManip(a0,a4,a3)})}if(this[0]){if(a0[0]&&a0[0].parentNode&&a0[0].parentNode.nodeType===11){aX={fragment:a0[0].parentNode}}else{aX=I(a0,this,aW)}aZ=aX.fragment.firstChild;if(aZ){a4=a4&&a.nodeName(aZ,"tr");for(var aY=0,aV=this.length;aY<aV;aY++){a3.call(a4?a1(this[aY],aZ):this[aY],aX.cacheable||this.length>1||aY>0?aX.fragment.cloneNode(true):aX.fragment)}}if(aW){a.each(aW,aS)}}return this;function a1(a5,a6){return a.nodeName(a5,"table")?(a5.getElementsByTagName("tbody")[0]||a5.appendChild(a5.ownerDocument.createElement("tbody"))):a5}}});function q(aX,aV){var aW=0;aV.each(function(){if(this.nodeName!==(aX[aW]&&aX[aW].nodeName)){return}var a2=a.data(aX[aW++]),a1=a.data(this,a2),aY=a2&&a2.events;if(aY){delete a1.handle;a1.events={};for(var a0 in aY){for(var aZ in aY[a0]){a.event.add(this,a0,aY[a0][aZ],aY[a0][aZ].data)}}}})}function I(a0,aY,aW){var aZ,aV,aX,a1;if(a0.length===1&&typeof a0[0]==="string"&&a0[0].length<512&&a0[0].indexOf("<option")<0&&(a.support.checkClone||!l.test(a0[0]))){aV=true;aX=a.fragments[a0[0]];if(aX){if(aX!==1){aZ=aX}}}if(!aZ){a1=(aY&&aY[0]?aY[0].ownerDocument||aY[0]:ab);aZ=a1.createDocumentFragment();a.clean(a0,a1,aZ,aW)}if(aV){a.fragments[a0[0]]=aX?aZ:1}return{fragment:aZ,cacheable:aV}}a.fragments={};a.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(aV,aW){a.fn[aV]=function(aX){var a0=[],a2=a(aX);for(var a1=0,aY=a2.length;a1<aY;a1++){var aZ=(a1>0?this.clone(true):this).get();a.fn[aW].apply(a(a2[a1]),aZ);a0=a0.concat(aZ)}return this.pushStack(a0,aV,a2.selector)}});a.each({remove:function(aV,aW){if(!aV||a.filter(aV,[this]).length){if(!aW&&this.nodeType===1){a.cleanData(this.getElementsByTagName("*"));a.cleanData([this])}if(this.parentNode){this.parentNode.removeChild(this)}}},empty:function(){if(this.nodeType===1){a.cleanData(this.getElementsByTagName("*"))}while(this.firstChild){this.removeChild(this.firstChild)}}},function(aV,aW){a.fn[aV]=function(){return this.each(aW,arguments)}});a.extend({clean:function(aW,a0,aY,aV){a0=a0||ab;if(typeof a0.createElement==="undefined"){a0=a0.ownerDocument||a0[0]&&a0[0].ownerDocument||ab}var aX=[];a.each(aW,function(a7,a4){if(typeof a4==="number"){a4+=""}if(!a4){return}if(typeof a4==="string"&&!K.test(a4)){a4=a0.createTextNode(a4)}else{if(typeof a4==="string"){a4=a4.replace(G,p);var a9=(c.exec(a4)||["",""])[1].toLowerCase(),a3=ac[a9]||ac._default,a6=a3[0],a1=a0.createElement("div");a1.innerHTML=a3[1]+a4+a3[2];while(a6--){a1=a1.lastChild}if(!a.support.tbody){var a2=u.test(a4),a8=a9==="table"&&!a2?a1.firstChild&&a1.firstChild.childNodes:a3[1]==="<table>"&&!a2?a1.childNodes:[];for(var a5=a8.length-1;a5>=0;--a5){if(a.nodeName(a8[a5],"tbody")&&!a8[a5].childNodes.length){a8[a5].parentNode.removeChild(a8[a5])}}}if(!a.support.leadingWhitespace&&Z.test(a4)){a1.insertBefore(a0.createTextNode(Z.exec(a4)[0]),a1.firstChild)}a4=a.makeArray(a1.childNodes)}}if(a4.nodeType){aX.push(a4)}else{aX=a.merge(aX,a4)}});if(aY){for(var aZ=0;aX[aZ];aZ++){if(aV&&a.nodeName(aX[aZ],"script")&&(!aX[aZ].type||aX[aZ].type.toLowerCase()==="text/javascript")){aV.push(aX[aZ].parentNode?aX[aZ].parentNode.removeChild(aX[aZ]):aX[aZ])}else{if(aX[aZ].nodeType===1){aX.splice.apply(aX,[aZ+1,0].concat(a.makeArray(aX[aZ].getElementsByTagName("script"))))}aY.appendChild(aX[aZ])}}}return aX},cleanData:function(aV){for(var aW=0,aX,aY;(aX=aV[aW])!=null;aW++){a.event.remove(aX);a.removeData(aX)}}});var aq=/z-?index|font-?weight|opacity|zoom|line-?height/i,U=/alpha\([^)]*\)/,aa=/opacity=([^)]*)/,ag=/float/i,ax=/-([a-z])/ig,w=/([A-Z])/g,aL=/^-?\d+(?:px)?$/i,aR=/^-?\d/,aH={position:"absolute",visibility:"hidden",display:"block"},W=["Left","Right"],aB=["Top","Bottom"],aj=ab.defaultView&&ab.defaultView.getComputedStyle,aK=a.support.cssFloat?"cssFloat":"styleFloat",k=function(aV,aW){return aW.toUpperCase()};a.fn.css=function(aV,aW){return am(this,aV,aW,true,function(aY,aX,aZ){if(aZ===C){return a.curCSS(aY,aX)}if(typeof aZ==="number"&&!aq.test(aX)){aZ+="px"}a.style(aY,aX,aZ)})};a.extend({style:function(aZ,aW,a0){if(!aZ||aZ.nodeType===3||aZ.nodeType===8){return C}if((aW==="width"||aW==="height")&&parseFloat(a0)<0){a0=C}var aY=aZ.style||aZ,a1=a0!==C;if(!a.support.opacity&&aW==="opacity"){if(a1){aY.zoom=1;var aV=parseInt(a0,10)+""==="NaN"?"":"alpha(opacity="+a0*100+")";var aX=aY.filter||a.curCSS(aZ,"filter")||"";aY.filter=U.test(aX)?aX.replace(U,aV):aV}return aY.filter&&aY.filter.indexOf("opacity=")>=0?(parseFloat(aa.exec(aY.filter)[1])/100)+"":""}if(ag.test(aW)){aW=aK}aW=aW.replace(ax,k);if(a1){aY[aW]=a0}return aY[aW]},css:function(aY,aW,a0,aV){if(aW==="width"||aW==="height"){var a2,aX=aH,a1=aW==="width"?W:aB;function aZ(){a2=aW==="width"?aY.offsetWidth:aY.offsetHeight;if(aV==="border"){return}a.each(a1,function(){if(!aV){a2-=parseFloat(a.curCSS(aY,"padding"+this,true))||0}if(aV==="margin"){a2+=parseFloat(a.curCSS(aY,"margin"+this,true))||0}else{a2-=parseFloat(a.curCSS(aY,"border"+this+"Width",true))||0}})}if(aY.offsetWidth!==0){aZ()}else{a.swap(aY,aX,aZ)}return Math.max(0,Math.round(a2))}return a.curCSS(aY,aW,a0)},curCSS:function(a1,aW,aX){var a4,aV=a1.style,aY;if(!a.support.opacity&&aW==="opacity"&&a1.currentStyle){a4=aa.test(a1.currentStyle.filter||"")?(parseFloat(RegExp.$1)/100)+"":"";return a4===""?"1":a4}if(ag.test(aW)){aW=aK}if(!aX&&aV&&aV[aW]){a4=aV[aW]}else{if(aj){if(ag.test(aW)){aW="float"}aW=aW.replace(w,"-$1").toLowerCase();var a3=a1.ownerDocument.defaultView;if(!a3){return null}var a5=a3.getComputedStyle(a1,null);if(a5){a4=a5.getPropertyValue(aW)}if(aW==="opacity"&&a4===""){a4="1"}}else{if(a1.currentStyle){var a0=aW.replace(ax,k);a4=a1.currentStyle[aW]||a1.currentStyle[a0];if(!aL.test(a4)&&aR.test(a4)){var aZ=aV.left,a2=a1.runtimeStyle.left;a1.runtimeStyle.left=a1.currentStyle.left;aV.left=a0==="fontSize"?"1em":(a4||0);a4=aV.pixelLeft+"px";aV.left=aZ;a1.runtimeStyle.left=a2}}}}return a4},swap:function(aY,aX,aZ){var aV={};for(var aW in aX){aV[aW]=aY.style[aW];aY.style[aW]=aX[aW]}aZ.call(aY);for(var aW in aX){aY.style[aW]=aV[aW]}}});if(a.expr&&a.expr.filters){a.expr.filters.hidden=function(aY){var aW=aY.offsetWidth,aV=aY.offsetHeight,aX=aY.nodeName.toLowerCase()==="tr";return aW===0&&aV===0&&!aX?true:aW>0&&aV>0&&!aX?false:a.curCSS(aY,"display")==="none"};a.expr.filters.visible=function(aV){return !a.expr.filters.hidden(aV)}}var af=aM(),aG=/<script(.|\s)*?\/script>/gi,o=/select|textarea/i,az=/color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week/i,r=/=\?(&|$)/,D=/\?/,aU=/(\?|&)_=.*?(&|$)/,B=/^(\w+:)?\/\/([^\/?#]+)/,h=/%20/g;a.fn.extend({_load:a.fn.load,load:function(aX,a0,a1){if(typeof aX!=="string"){return this._load(aX)}else{if(!this.length){return this}}var aZ=aX.indexOf(" ");if(aZ>=0){var aV=aX.slice(aZ,aX.length);aX=aX.slice(0,aZ)}var aY="GET";if(a0){if(a.isFunction(a0)){a1=a0;a0=null}else{if(typeof a0==="object"){a0=a.param(a0,a.ajaxSettings.traditional);aY="POST"}}}var aW=this;a.ajax({url:aX,type:aY,dataType:"html",data:a0,complete:function(a3,a2){if(a2==="success"||a2==="notmodified"){aW.html(aV?a("<div />").append(a3.responseText.replace(aG,"")).find(aV):a3.responseText)}if(a1){aW.each(a1,[a3.responseText,a2,a3])}}});return this},serialize:function(){return a.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?a.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||o.test(this.nodeName)||az.test(this.type))}).map(function(aV,aW){var aX=a(this).val();return aX==null?null:a.isArray(aX)?a.map(aX,function(aZ,aY){return{name:aW.name,value:aZ}}):{name:aW.name,value:aX}}).get()}});a.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(aV,aW){a.fn[aW]=function(aX){return this.bind(aW,aX)}});a.extend({get:function(aV,aX,aY,aW){if(a.isFunction(aX)){aW=aW||aY;aY=aX;aX=null}return a.ajax({type:"GET",url:aV,data:aX,success:aY,dataType:aW})},getScript:function(aV,aW){return a.get(aV,null,aW,"script")},getJSON:function(aV,aW,aX){return a.get(aV,aW,aX,"json")},post:function(aV,aX,aY,aW){if(a.isFunction(aX)){aW=aW||aY;aY=aX;aX={}}return a.ajax({type:"POST",url:aV,data:aX,success:aY,dataType:aW})},ajaxSetup:function(aV){a.extend(a.ajaxSettings,aV)},ajaxSettings:{url:location.href,global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:aJ.XMLHttpRequest&&(aJ.location.protocol!=="file:"||!aJ.ActiveXObject)?function(){return new aJ.XMLHttpRequest()}:function(){try{return new aJ.ActiveXObject("Microsoft.XMLHTTP")}catch(aV){}},accepts:{xml:"application/xml, text/xml",html:"text/html",script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},lastModified:{},etag:{},ajax:function(ba){var a5=a.extend(true,{},a.ajaxSettings,ba);var bf,a9,be,bg=ba&&ba.context||a5,aX=a5.type.toUpperCase();if(a5.data&&a5.processData&&typeof a5.data!=="string"){a5.data=a.param(a5.data,a5.traditional)}if(a5.dataType==="jsonp"){if(aX==="GET"){if(!r.test(a5.url)){a5.url+=(D.test(a5.url)?"&":"?")+(a5.jsonp||"callback")+"=?"}}else{if(!a5.data||!r.test(a5.data)){a5.data=(a5.data?a5.data+"&":"")+(a5.jsonp||"callback")+"=?"}}a5.dataType="json"}if(a5.dataType==="json"&&(a5.data&&r.test(a5.data)||r.test(a5.url))){bf=a5.jsonpCallback||("jsonp"+af++);if(a5.data){a5.data=(a5.data+"").replace(r,"="+bf+"$1")}a5.url=a5.url.replace(r,"="+bf+"$1");a5.dataType="script";aJ[bf]=aJ[bf]||function(bh){be=bh;a0();a3();aJ[bf]=C;try{delete aJ[bf]}catch(bi){}if(aY){aY.removeChild(bc)}}}if(a5.dataType==="script"&&a5.cache===null){a5.cache=false}if(a5.cache===false&&aX==="GET"){var aV=aM();var bd=a5.url.replace(aU,"$1_="+aV+"$2");a5.url=bd+((bd===a5.url)?(D.test(a5.url)?"&":"?")+"_="+aV:"")}if(a5.data&&aX==="GET"){a5.url+=(D.test(a5.url)?"&":"?")+a5.data}if(a5.global&&!a.active++){a.event.trigger("ajaxStart")}var a8=B.exec(a5.url),aZ=a8&&(a8[1]&&a8[1]!==location.protocol||a8[2]!==location.host);if(a5.dataType==="script"&&aX==="GET"&&aZ){var aY=ab.getElementsByTagName("head")[0]||ab.documentElement;var bc=ab.createElement("script");bc.src=a5.url;if(a5.scriptCharset){bc.charset=a5.scriptCharset}if(!bf){var a7=false;bc.onload=bc.onreadystatechange=function(){if(!a7&&(!this.readyState||this.readyState==="loaded"||this.readyState==="complete")){a7=true;a0();a3();bc.onload=bc.onreadystatechange=null;if(aY&&bc.parentNode){aY.removeChild(bc)}}}}aY.insertBefore(bc,aY.firstChild);return C}var a2=false;var a1=a5.xhr();if(!a1){return}if(a5.username){a1.open(aX,a5.url,a5.async,a5.username,a5.password)}else{a1.open(aX,a5.url,a5.async)}try{if(a5.data||ba&&ba.contentType){a1.setRequestHeader("Content-Type",a5.contentType)}if(a5.ifModified){if(a.lastModified[a5.url]){a1.setRequestHeader("If-Modified-Since",a.lastModified[a5.url])}if(a.etag[a5.url]){a1.setRequestHeader("If-None-Match",a.etag[a5.url])}}if(!aZ){a1.setRequestHeader("X-Requested-With","XMLHttpRequest")}a1.setRequestHeader("Accept",a5.dataType&&a5.accepts[a5.dataType]?a5.accepts[a5.dataType]+", */*":a5.accepts._default)}catch(bb){}if(a5.beforeSend&&a5.beforeSend.call(bg,a1,a5)===false){if(a5.global&&!--a.active){a.event.trigger("ajaxStop")}a1.abort();return false}if(a5.global){a6("ajaxSend",[a1,a5])}var a4=a1.onreadystatechange=function(bh){if(!a1||a1.readyState===0||bh==="abort"){if(!a2){a3()}a2=true;if(a1){a1.onreadystatechange=a.noop}}else{if(!a2&&a1&&(a1.readyState===4||bh==="timeout")){a2=true;a1.onreadystatechange=a.noop;a9=bh==="timeout"?"timeout":!a.httpSuccess(a1)?"error":a5.ifModified&&a.httpNotModified(a1,a5.url)?"notmodified":"success";var bj;if(a9==="success"){try{be=a.httpData(a1,a5.dataType,a5)}catch(bi){a9="parsererror";bj=bi}}if(a9==="success"||a9==="notmodified"){if(!bf){a0()}}else{a.handleError(a5,a1,a9,bj)}a3();if(bh==="timeout"){a1.abort()}if(a5.async){a1=null}}}};try{var aW=a1.abort;a1.abort=function(){if(a1){aW.call(a1)}a4("abort")}}catch(bb){}if(a5.async&&a5.timeout>0){setTimeout(function(){if(a1&&!a2){a4("timeout")}},a5.timeout)}try{a1.send(aX==="POST"||aX==="PUT"||aX==="DELETE"?a5.data:null)}catch(bb){a.handleError(a5,a1,null,bb);a3()}if(!a5.async){a4()}function a0(){if(a5.success){a5.success.call(bg,be,a9,a1)}if(a5.global){a6("ajaxSuccess",[a1,a5])}}function a3(){if(a5.complete){a5.complete.call(bg,a1,a9)}if(a5.global){a6("ajaxComplete",[a1,a5])}if(a5.global&&!--a.active){a.event.trigger("ajaxStop")}}function a6(bi,bh){(a5.context?a(a5.context):a.event).trigger(bi,bh)}return a1},handleError:function(aW,aY,aV,aX){if(aW.error){aW.error.call(aW.context||aW,aY,aV,aX)}if(aW.global){(aW.context?a(aW.context):a.event).trigger("ajaxError",[aY,aW,aX])}},active:0,httpSuccess:function(aW){try{return !aW.status&&location.protocol==="file:"||(aW.status>=200&&aW.status<300)||aW.status===304||aW.status===1223||aW.status===0}catch(aV){}return false},httpNotModified:function(aY,aV){var aX=aY.getResponseHeader("Last-Modified"),aW=aY.getResponseHeader("Etag");if(aX){a.lastModified[aV]=aX}if(aW){a.etag[aV]=aW}return aY.status===304||aY.status===0},httpData:function(a0,aY,aX){var aW=a0.getResponseHeader("content-type")||"",aV=aY==="xml"||!aY&&aW.indexOf("xml")>=0,aZ=aV?a0.responseXML:a0.responseText;if(aV&&aZ.documentElement.nodeName==="parsererror"){a.error("parsererror")}if(aX&&aX.dataFilter){aZ=aX.dataFilter(aZ,aY)}if(typeof aZ==="string"){if(aY==="json"||!aY&&aW.indexOf("json")>=0){aZ=a.parseJSON(aZ)}else{if(aY==="script"||!aY&&aW.indexOf("javascript")>=0){a.globalEval(aZ)}}}return aZ},param:function(aV,aY){var aW=[];if(aY===C){aY=a.ajaxSettings.traditional}if(a.isArray(aV)||aV.jquery){a.each(aV,function(){a0(this.name,this.value)})}else{for(var aZ in aV){aX(aZ,aV[aZ])}}return aW.join("&").replace(h,"+");function aX(a1,a2){if(a.isArray(a2)){a.each(a2,function(a4,a3){if(aY){a0(a1,a3)}else{aX(a1+"["+(typeof a3==="object"||a.isArray(a3)?a4:"")+"]",a3)}})}else{if(!aY&&a2!=null&&typeof a2==="object"){a.each(a2,function(a4,a3){aX(a1+"["+a4+"]",a3)})}else{a0(a1,a2)}}}function a0(a1,a2){a2=a.isFunction(a2)?a2():a2;aW[aW.length]=encodeURIComponent(a1)+"="+encodeURIComponent(a2)}}});var F={},ae=/toggle|show|hide/,at=/^([+-]=)?([\d+-.]+)(.*)$/,aC,ai=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];a.fn.extend({show:function(aW,a4){if(aW||aW===0){return this.animate(aA("show",3),aW,a4)}else{for(var a1=0,aY=this.length;a1<aY;a1++){var aV=a.data(this[a1],"olddisplay");this[a1].style.display=aV||"";if(a.css(this[a1],"display")==="none"){var a3=this[a1].nodeName,a2;if(F[a3]){a2=F[a3]}else{var aX=a("<"+a3+" />").appendTo("body");a2=aX.css("display");if(a2==="none"){a2="block"}aX.remove();F[a3]=a2}a.data(this[a1],"olddisplay",a2)}}for(var a0=0,aZ=this.length;a0<aZ;a0++){this[a0].style.display=a.data(this[a0],"olddisplay")||""}return this}},hide:function(a0,a1){if(a0||a0===0){return this.animate(aA("hide",3),a0,a1)}else{for(var aZ=0,aW=this.length;aZ<aW;aZ++){var aV=a.data(this[aZ],"olddisplay");if(!aV&&aV!=="none"){a.data(this[aZ],"olddisplay",a.css(this[aZ],"display"))}}for(var aY=0,aX=this.length;aY<aX;aY++){this[aY].style.display="none"}return this}},_toggle:a.fn.toggle,toggle:function(aX,aW){var aV=typeof aX==="boolean";if(a.isFunction(aX)&&a.isFunction(aW)){this._toggle.apply(this,arguments)}else{if(aX==null||aV){this.each(function(){var aY=aV?aX:a(this).is(":hidden");a(this)[aY?"show":"hide"]()})}else{this.animate(aA("toggle",3),aX,aW)}}return this},fadeTo:function(aV,aX,aW){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:aX},aV,aW)},animate:function(aZ,aW,aY,aX){var aV=a.speed(aW,aY,aX);if(a.isEmptyObject(aZ)){return this.each(aV.complete)}return this[aV.queue===false?"each":"queue"](function(){var a2=a.extend({},aV),a4,a3=this.nodeType===1&&a(this).is(":hidden"),a0=this;for(a4 in aZ){var a1=a4.replace(ax,k);if(a4!==a1){aZ[a1]=aZ[a4];delete aZ[a4];a4=a1}if(aZ[a4]==="hide"&&a3||aZ[a4]==="show"&&!a3){return a2.complete.call(this)}if((a4==="height"||a4==="width")&&this.style){a2.display=a.css(this,"display");a2.overflow=this.style.overflow}if(a.isArray(aZ[a4])){(a2.specialEasing=a2.specialEasing||{})[a4]=aZ[a4][1];aZ[a4]=aZ[a4][0]}}if(a2.overflow!=null){this.style.overflow="hidden"}a2.curAnim=a.extend({},aZ);a.each(aZ,function(a6,ba){var a9=new a.fx(a0,a2,a6);if(ae.test(ba)){a9[ba==="toggle"?a3?"show":"hide":ba](aZ)}else{var a8=at.exec(ba),bb=a9.cur(true)||0;if(a8){var a5=parseFloat(a8[2]),a7=a8[3]||"px";if(a7!=="px"){a0.style[a6]=(a5||1)+a7;bb=((a5||1)/a9.cur(true))*bb;a0.style[a6]=bb+a7}if(a8[1]){a5=((a8[1]==="-="?-1:1)*a5)+bb}a9.custom(bb,a5,a7)}else{a9.custom(bb,ba,"")}}});return true})},stop:function(aW,aV){var aX=a.timers;if(aW){this.queue([])}this.each(function(){for(var aY=aX.length-1;aY>=0;aY--){if(aX[aY].elem===this){if(aV){aX[aY](true)}aX.splice(aY,1)}}});if(!aV){this.dequeue()}return this}});a.each({slideDown:aA("show",1),slideUp:aA("hide",1),slideToggle:aA("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(aV,aW){a.fn[aV]=function(aX,aY){return this.animate(aW,aX,aY)}});a.extend({speed:function(aX,aY,aW){var aV=aX&&typeof aX==="object"?aX:{complete:aW||!aW&&aY||a.isFunction(aX)&&aX,duration:aX,easing:aW&&aY||aY&&!a.isFunction(aY)&&aY};aV.duration=a.fx.off?0:typeof aV.duration==="number"?aV.duration:a.fx.speeds[aV.duration]||a.fx.speeds._default;aV.old=aV.complete;aV.complete=function(){if(aV.queue!==false){a(this).dequeue()}if(a.isFunction(aV.old)){aV.old.call(this)}};return aV},easing:{linear:function(aX,aY,aV,aW){return aV+aW*aX},swing:function(aX,aY,aV,aW){return((-Math.cos(aX*Math.PI)/2)+0.5)*aW+aV}},timers:[],fx:function(aW,aV,aX){this.options=aV;this.elem=aW;this.prop=aX;if(!aV.orig){aV.orig={}}}});a.fx.prototype={update:function(){if(this.options.step){this.options.step.call(this.elem,this.now,this)}(a.fx.step[this.prop]||a.fx.step._default)(this);if((this.prop==="height"||this.prop==="width")&&this.elem.style){this.elem.style.display="block"}},cur:function(aW){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null)){return this.elem[this.prop]}var aV=parseFloat(a.css(this.elem,this.prop,aW));return aV&&aV>-10000?aV:parseFloat(a.curCSS(this.elem,this.prop))||0},custom:function(aZ,aY,aX){this.startTime=aM();this.start=aZ;this.end=aY;this.unit=aX||this.unit||"px";this.now=this.start;this.pos=this.state=0;var aV=this;function aW(a0){return aV.step(a0)}aW.elem=this.elem;if(aW()&&a.timers.push(aW)&&!aC){aC=setInterval(a.fx.tick,13)}},show:function(){this.options.orig[this.prop]=a.style(this.elem,this.prop);this.options.show=true;this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur());a(this.elem).show()},hide:function(){this.options.orig[this.prop]=a.style(this.elem,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(aY){var a3=aM(),aZ=true;if(aY||a3>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;for(var a0 in this.options.curAnim){if(this.options.curAnim[a0]!==true){aZ=false}}if(aZ){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;var aX=a.data(this.elem,"olddisplay");this.elem.style.display=aX?aX:this.options.display;if(a.css(this.elem,"display")==="none"){this.elem.style.display="block"}}if(this.options.hide){a(this.elem).hide()}if(this.options.hide||this.options.show){for(var aV in this.options.curAnim){a.style(this.elem,aV,this.options.orig[aV])}}this.options.complete.call(this.elem)}return false}else{var aW=a3-this.startTime;this.state=aW/this.options.duration;var a1=this.options.specialEasing&&this.options.specialEasing[this.prop];var a2=this.options.easing||(a.easing.swing?"swing":"linear");this.pos=a.easing[a1||a2](this.state,aW,0,1,this.options.duration);this.now=this.start+((this.end-this.start)*this.pos);this.update()}return true}};a.extend(a.fx,{tick:function(){var aW=a.timers;for(var aV=0;aV<aW.length;aV++){if(!aW[aV]()){aW.splice(aV--,1)}}if(!aW.length){a.fx.stop()}},stop:function(){clearInterval(aC);aC=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(aV){a.style(aV.elem,"opacity",aV.now)},_default:function(aV){if(aV.elem.style&&aV.elem.style[aV.prop]!=null){aV.elem.style[aV.prop]=(aV.prop==="width"||aV.prop==="height"?Math.max(0,aV.now):aV.now)+aV.unit}else{aV.elem[aV.prop]=aV.now}}}});if(a.expr&&a.expr.filters){a.expr.filters.animated=function(aV){return a.grep(a.timers,function(aW){return aV===aW.elem}).length}}function aA(aW,aV){var aX={};a.each(ai.concat.apply([],ai.slice(0,aV)),function(){aX[this]=aW});return aX}if("getBoundingClientRect" in ab.documentElement){a.fn.offset=function(a4){var aX=this[0];if(a4){return this.each(function(a5){a.offset.setOffset(this,a4,a5)})}if(!aX||!aX.ownerDocument){return null}if(aX===aX.ownerDocument.body){return a.offset.bodyOffset(aX)}var aZ=aX.getBoundingClientRect(),a3=aX.ownerDocument,a0=a3.body,aV=a3.documentElement,aY=aV.clientTop||a0.clientTop||0,a1=aV.clientLeft||a0.clientLeft||0,a2=aZ.top+(self.pageYOffset||a.support.boxModel&&aV.scrollTop||a0.scrollTop)-aY,aW=aZ.left+(self.pageXOffset||a.support.boxModel&&aV.scrollLeft||a0.scrollLeft)-a1;return{top:a2,left:aW}}}else{a.fn.offset=function(a6){var a0=this[0];if(a6){return this.each(function(a7){a.offset.setOffset(this,a6,a7)})}if(!a0||!a0.ownerDocument){return null}if(a0===a0.ownerDocument.body){return a.offset.bodyOffset(a0)}a.offset.initialize();var aX=a0.offsetParent,aW=a0,a5=a0.ownerDocument,a3,aY=a5.documentElement,a1=a5.body,a2=a5.defaultView,aV=a2?a2.getComputedStyle(a0,null):a0.currentStyle,a4=a0.offsetTop,aZ=a0.offsetLeft;while((a0=a0.parentNode)&&a0!==a1&&a0!==aY){if(a.offset.supportsFixedPosition&&aV.position==="fixed"){break}a3=a2?a2.getComputedStyle(a0,null):a0.currentStyle;a4-=a0.scrollTop;aZ-=a0.scrollLeft;if(a0===aX){a4+=a0.offsetTop;aZ+=a0.offsetLeft;if(a.offset.doesNotAddBorder&&!(a.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(a0.nodeName))){a4+=parseFloat(a3.borderTopWidth)||0;aZ+=parseFloat(a3.borderLeftWidth)||0}aW=aX,aX=a0.offsetParent}if(a.offset.subtractsBorderForOverflowNotVisible&&a3.overflow!=="visible"){a4+=parseFloat(a3.borderTopWidth)||0;aZ+=parseFloat(a3.borderLeftWidth)||0}aV=a3}if(aV.position==="relative"||aV.position==="static"){a4+=a1.offsetTop;aZ+=a1.offsetLeft}if(a.offset.supportsFixedPosition&&aV.position==="fixed"){a4+=Math.max(aY.scrollTop,a1.scrollTop);aZ+=Math.max(aY.scrollLeft,a1.scrollLeft)}return{top:a4,left:aZ}}}a.offset={initialize:function(){var aV=ab.body,aW=ab.createElement("div"),aZ,a1,a0,a2,aX=parseFloat(a.curCSS(aV,"marginTop",true))||0,aY="<div style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;'><div></div></div><table style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;' cellpadding='0' cellspacing='0'><tr><td></td></tr></table>";a.extend(aW.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"});aW.innerHTML=aY;aV.insertBefore(aW,aV.firstChild);aZ=aW.firstChild;a1=aZ.firstChild;a2=aZ.nextSibling.firstChild.firstChild;this.doesNotAddBorder=(a1.offsetTop!==5);this.doesAddBorderForTableAndCells=(a2.offsetTop===5);a1.style.position="fixed",a1.style.top="20px";this.supportsFixedPosition=(a1.offsetTop===20||a1.offsetTop===15);a1.style.position=a1.style.top="";aZ.style.overflow="hidden",aZ.style.position="relative";this.subtractsBorderForOverflowNotVisible=(a1.offsetTop===-5);this.doesNotIncludeMarginInBodyOffset=(aV.offsetTop!==aX);aV.removeChild(aW);aV=aW=aZ=a1=a0=a2=null;a.offset.initialize=a.noop},bodyOffset:function(aV){var aX=aV.offsetTop,aW=aV.offsetLeft;a.offset.initialize();if(a.offset.doesNotIncludeMarginInBodyOffset){aX+=parseFloat(a.curCSS(aV,"marginTop",true))||0;aW+=parseFloat(a.curCSS(aV,"marginLeft",true))||0}return{top:aX,left:aW}},setOffset:function(a0,aW,aX){if(/static/.test(a.curCSS(a0,"position"))){a0.style.position="relative"}var aZ=a(a0),a2=aZ.offset(),aV=parseInt(a.curCSS(a0,"top",true),10)||0,a1=parseInt(a.curCSS(a0,"left",true),10)||0;if(a.isFunction(aW)){aW=aW.call(a0,aX,a2)}var aY={top:(aW.top-a2.top)+aV,left:(aW.left-a2.left)+a1};if("using" in aW){aW.using.call(a0,aY)}else{aZ.css(aY)}}};a.fn.extend({position:function(){if(!this[0]){return null}var aX=this[0],aW=this.offsetParent(),aY=this.offset(),aV=/^body|html$/i.test(aW[0].nodeName)?{top:0,left:0}:aW.offset();aY.top-=parseFloat(a.curCSS(aX,"marginTop",true))||0;aY.left-=parseFloat(a.curCSS(aX,"marginLeft",true))||0;aV.top+=parseFloat(a.curCSS(aW[0],"borderTopWidth",true))||0;aV.left+=parseFloat(a.curCSS(aW[0],"borderLeftWidth",true))||0;return{top:aY.top-aV.top,left:aY.left-aV.left}},offsetParent:function(){return this.map(function(){var aV=this.offsetParent||ab.body;while(aV&&(!/^body|html$/i.test(aV.nodeName)&&a.css(aV,"position")==="static")){aV=aV.offsetParent}return aV})}});a.each(["Left","Top"],function(aW,aV){var aX="scroll"+aV;a.fn[aX]=function(a0){var aY=this[0],aZ;if(!aY){return null}if(a0!==C){return this.each(function(){aZ=al(this);if(aZ){aZ.scrollTo(!aW?a0:a(aZ).scrollLeft(),aW?a0:a(aZ).scrollTop())}else{this[aX]=a0}})}else{aZ=al(aY);return aZ?("pageXOffset" in aZ)?aZ[aW?"pageYOffset":"pageXOffset"]:a.support.boxModel&&aZ.document.documentElement[aX]||aZ.document.body[aX]:aY[aX]}}});function al(aV){return("scrollTo" in aV&&aV.document)?aV:aV.nodeType===9?aV.defaultView||aV.parentWindow:false}a.each(["Height","Width"],function(aW,aV){var aX=aV.toLowerCase();a.fn["inner"+aV]=function(){return this[0]?a.css(this[0],aX,false,"padding"):null};a.fn["outer"+aV]=function(aY){return this[0]?a.css(this[0],aX,false,aY?"margin":"border"):null};a.fn[aX]=function(aY){var aZ=this[0];if(!aZ){return aY==null?null:this}if(a.isFunction(aY)){return this.each(function(a1){var a0=a(this);a0[aX](aY.call(this,a1,a0[aX]()))})}return("scrollTo" in aZ&&aZ.document)?aZ.document.compatMode==="CSS1Compat"&&aZ.document.documentElement["client"+aV]||aZ.document.body["client"+aV]:(aZ.nodeType===9)?Math.max(aZ.documentElement["client"+aV],aZ.body["scroll"+aV],aZ.documentElement["scroll"+aV],aZ.body["offset"+aV],aZ.documentElement["offset"+aV]):aY===C?a.css(aZ,aX):this.css(aX,typeof aY==="string"?aY:aY+"px")}});aJ.jQuery=aJ.$=a})(window);jQuery.extend({array2Object:function(e){var a;if(e&&typeof(e)=="array"){a={};for(var b=0;b<e.length;b++){var c=e[b].split(":");var d=c[1];for(var b=2;b<c.length;b++){d+=":"+c[b]}a[jQuery.trim(c[0])]=jQuery.trim(d).replace(/^['"](.*)['"]/,"$1")}}else{if(e&&typeof(e)=="object"){a={};for(var b in e){var c=e[b].split(":");var d=c[1];for(var b=2;b<c.length;b++){d+=":"+c[b]}a[jQuery.trim(c[0])]=jQuery.trim(d).replace(/^['"](.*)['"]/,"$1")}}}return a}});jQuery.fn.extend({clientHeight:function(){var a=0;jQuery(this).children().each(function(){if($(this).css("position")=="absolute"){return}if(a<$(this).outerHeight()+$(this).position().top){a=$(this).outerHeight()+$(this).position().top}});return a+(parseInt($(this).css("padding-bottom"))||0)},clientWidth:function(){var a=0;jQuery(this).children().each(function(){if($(this).css("position")=="absolute"){return}if(a<$(this).outerWidth()+$(this).position().left){a=$(this).outerWidth()+$(this).position().left}});return a+(parseInt($(this).css("padding-right"))||0)}});jQuery.fn.extend({pixelIsInside:function(a,f,e,b){a=parseInt(a||0);f=parseInt(f||0);if(isNaN(a)||isNaN(f)){return false}var d=false;var c=0;this.filter(":visible").each(function(){if(d){return false}var h=$(this).offset();d=(a>=h.left&&a<=h.left+$(this).outerWidth()&&f>=h.top&&f<=h.top+$(this).outerHeight());if(d&&e&&typeof(e)=="function"){try{e(this,c,a,f,b)}catch(g){}}c++;return !d});return d}});jQuery.log=function(a){try{console.log(a)}catch(b){}};(function(a){a.extend({loadJS:function(b){if(typeof(b)=="string"){a(document).ready(function(){a("head").append('<script type="text/javascript" src="'+NexxarLib.convert2AbsoluteURL(b)+'"><\/script>')})}},loadCSS:function(b){a(document).ready(function(){a("head").append('<link rel="stylesheet" type="text/css" src="'+url+'">')})}})})(jQuery);
/*
 * Copyright (c) 2005 - 2010, James Auldridge
 * All rights reserved.
 *
 * Licensed under the BSD, MIT, and GPL (your choice!) Licenses:
 *  http://code.google.com/p/cookies/wiki/License
 *
 */
var jaaulde=window.jaaulde||{};jaaulde.utils=jaaulde.utils||{};jaaulde.utils.cookies=(function(){var e,d,c,b,a={expiresAt:null,path:"/",domain:null,secure:false};e=function(g){var h,f;if(typeof g!=="object"||g===null){h=a}else{h={expiresAt:a.expiresAt,path:a.path,domain:a.domain,secure:a.secure};if(typeof g.expiresAt==="object"&&g.expiresAt instanceof Date){h.expiresAt=g.expiresAt}else{if(typeof g.hoursToLive==="number"&&g.hoursToLive!==0){f=new Date();f.setTime(f.getTime()+(g.hoursToLive*60*60*1000));h.expiresAt=f}}if(typeof g.path==="string"&&g.path!==""){h.path=g.path}if(typeof g.domain==="string"&&g.domain!==""){h.domain=g.domain}if(g.secure===true){h.secure=g.secure}}return h};d=function(f){f=e(f);return((typeof f.expiresAt==="object"&&f.expiresAt instanceof Date?"; expires="+f.expiresAt.toGMTString():"")+"; path="+f.path+(typeof f.domain==="string"?"; domain="+f.domain:"")+(f.secure===true?"; secure":""))};c=function(){var o={},h,g,f,n,k=document.cookie.split(";"),j;for(h=0;h<k.length;h=h+1){g=k[h].split("=");f=g[0].replace(/^\s*/,"").replace(/\s*$/,"");try{n=decodeURIComponent(g[1])}catch(m){n=g[1]}if(typeof JSON==="object"&&JSON!==null&&typeof JSON.parse==="function"){try{j=n;n=JSON.parse(n)}catch(l){n=j}}o[f]=n}return o};b=function(){};b.prototype.get=function(i){var f,h,g=c();if(typeof i==="string"){f=(typeof g[i]!=="undefined")?g[i]:null}else{if(typeof i==="object"&&i!==null){f={};for(h in i){if(typeof g[i[h]]!=="undefined"){f[i[h]]=g[i[h]]}else{f[i[h]]=null}}}else{f=g}}return f};b.prototype.filter=function(f){var i,g={},h=c();if(typeof f==="string"){f=new RegExp(f)}for(i in h){if(i.match(f)){g[i]=h[i]}}return g};b.prototype.set=function(i,g,f){if(typeof f!=="object"||f===null){f={}}if(typeof g==="undefined"||g===null){g="";f.hoursToLive=-8760}else{if(typeof g==="number"){g=""+g}else{if(typeof g!=="string"){if(typeof JSON==="object"&&JSON!==null&&typeof JSON.stringify==="function"){g=JSON.stringify(g)}else{throw new Error("cookies.set() received non-string value and could not serialize.")}}}}var h=d(f);document.cookie=i+"="+encodeURIComponent(g)+h};b.prototype.del=function(i,h){var f={},g;if(typeof h!=="object"||h===null){h={}}if(typeof i==="boolean"&&i===true){f=this.get()}else{if(typeof i==="string"){f[i]=true}}for(g in f){if(typeof g==="string"&&g!==""){this.set(g,null,h)}}};b.prototype.test=function(){var g=false,f="cT",h="data";this.set(f,h);if(this.get(f)===h){this.del(f);g=true}return g};b.prototype.setOptions=function(f){if(typeof f!=="object"){f=null}a=e(f)};return new b()})();(function(){if(window.jQuery){(function(b){b.cookies=jaaulde.utils.cookies;var a={cookify:function(c){return this.each(function(){var e,g=["name","id"],d,h=b(this),f;for(e in g){if(!isNaN(e)){d=h.attr(g[e]);if(typeof d==="string"&&d!==""){if(h.is(":checkbox, :radio")){if(h.attr("checked")){f=h.val()}}else{if(h.is(":input")){f=h.val()}else{f=h.html()}}if(typeof f!=="string"||f===""){f=null}b.cookies.set(d,f,c);break}}}})},cookieFill:function(){return this.each(function(){var h,c,f=["name","id"],d,g=b(this),e;c=function(){h=f.pop();return !!h};while(c()){d=g.attr(h);if(typeof d==="string"&&d!==""){e=b.cookies.get(d);if(e!==null){if(g.is(":checkbox, :radio")){if(g.val()===e){g.attr("checked","checked")}else{g.removeAttr("checked")}}else{if(g.is(":input")){g.val(e)}else{g.html(e)}}}break}}})},cookieBind:function(c){return this.each(function(){var d=b(this);d.cookieFill().change(function(){d.cookify(c)})})}};b.each(a,function(c){b.fn[c]=this})})(window.jQuery)}})();$(document).ready(function(){$("html").addClass("withJS")});
/*

jQuery Browser Plugin
        * Version 2.3
        * 2008-09-17 19:27:05
        * URL: http://jquery.thewikies.com/browser
        * Description: jQuery Browser Plugin extends browser detection capabilities and can assign browser selectors to CSS classes.
        * Author: Nate Cavanaugh, Minhchau Dang, & Jonathan Neal
        * Copyright: Copyright (c) 2008 Jonathan Neal under dual MIT/GPL license.
        * JSLint: This javascript file passes JSLint verification.
*/
(function(a){a.browserTest=function(e,g){var f="unknown",d="X",b=function(k,j){for(var c=0;c<j.length;c=c+1){k=k.replace(j[c][0],j[c][1])}return k},h=function(l,k,j,n){var m={name:b((k.exec(l)||[f,f])[1],j)};m[m.name]=true;m.version=(n.exec(l)||[d,d,d,d])[3];if(m.name.match(/safari/)&&m.version>400){m.version="2.0"}if(m.name==="presto"){m.version=(a.browser.version>9.27)?"futhark":"linear_b"}m.versionNumber=parseFloat(m.version,10)||0;m.versionX=(m.version!==d)?(m.version+"").substr(0,1):d;m.className=m.name+m.versionX;return m};e=(e.match(/Opera|Navigator|Minefield|KHTML|Chrome/)?b(e,[[/(Firefox|MSIE|KHTML,\slike\sGecko|Konqueror)/,""],["Chrome Safari","Chrome"],["KHTML","Konqueror"],["Minefield","Firefox"],["Navigator","Netscape"]]):e).toLowerCase();a.browser=a.extend((!g)?a.browser:{},h(e,/(camino|chrome|firefox|netscape|konqueror|lynx|msie|opera|safari)/,[],/(camino|chrome|firefox|netscape|netscape6|opera|version|konqueror|lynx|msie|safari)(\/|\s)([a-z0-9\.\+]*?)(\;|dev|rel|\s|$)/));a.layout=h(e,/(gecko|konqueror|msie|opera|webkit)/,[["konqueror","khtml"],["msie","trident"],["opera","presto"]],/(applewebkit|rv|konqueror|msie)(\:|\/|\s)([a-z0-9\.]*?)(\;|\)|\s)/);a.os={name:(/(win|mac|linux|sunos|solaris|iphone|ipad|webos|android)/.exec(navigator.platform.toLowerCase())||[f])[0].replace("sunos","solaris"),is:function(c){if(typeof(c)!="string"){return false}c=c.toLowerCase();if(c=="windows"){c="win"}else{if(c=="ios"){return this.is("iPad")||this.is("iPhone")||this.is("iPod")}else{if(c=="mobile"){return a.browser.isMobile}}}return this.name==c}};a.os[a.os.name]=true;a.os.ios=a.os.is("ipad")||a.os.is("ipod")||a.os.is("iphone");a.browser.isMobile=a.os.is("ipad")||a.os.is("ipod")||a.os.is("iphone")||a.os.is("webos")||a.os.is("android");(function(j){for(var c=0;c<j.length;c++){a.os["is"+j[c]]=a.os.is(j[c])}})(["Win","Windows","Mac","Linux","Solaris","iPhone","iPad","iOS","WebOS","Android","Mobile"]);if(!g){a("html").addClass([a.os.name,a.browser.name,a.browser.className,a.layout.name,a.layout.className].join(" "))}};a.browserTest(navigator.userAgent)})(jQuery);
/* Copyright (c) 2007 Paul Bakaus (paul.bakaus@googlemail.com) and Brandon Aaron (brandon.aaron@gmail.com || 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.
 *
 * $LastChangedDate: 2007-12-20 08:46:55 -0600 (Thu, 20 Dec 2007) $
 * $Rev: 4259 $
 *
 * Version: 1.2
 */
(function(b){b.dimensions={version:"1.2"};b.each(["Height","Width"],function(d,c){b.fn["inner"+c]=function(){if(!this[0]){return}var f=c=="Height"?"Top":"Left",e=c=="Height"?"Bottom":"Right";return this.is(":visible")?this[0]["client"+c]:a(this,c.toLowerCase())+a(this,"padding"+f)+a(this,"padding"+e)};b.fn["outer"+c]=function(f){if(!this[0]){return}var h=c=="Height"?"Top":"Left",e=c=="Height"?"Bottom":"Right";f=b.extend({margin:false},f||{});var g=this.is(":visible")?this[0]["offset"+c]:a(this,c.toLowerCase())+a(this,"border"+h+"Width")+a(this,"border"+e+"Width")+a(this,"padding"+h)+a(this,"padding"+e);return g+(f.margin?(a(this,"margin"+h)+a(this,"margin"+e)):0)}});b.each(["Left","Top"],function(d,c){b.fn["scroll"+c]=function(e){if(!this[0]){return}return e!=undefined?this.each(function(){this==window||this==document?window.scrollTo(c=="Left"?e:b(window)["scrollLeft"](),c=="Top"?e:b(window)["scrollTop"]()):this["scroll"+c]=e}):this[0]==window||this[0]==document?self[(c=="Left"?"pageXOffset":"pageYOffset")]||b.boxModel&&document.documentElement["scroll"+c]||document.body["scroll"+c]:this[0]["scroll"+c]}});b.fn.extend({position:function(){var h=0,g=0,f=this[0],i,c,e,d;if(f){e=this.offsetParent();i=this.offset();c=e.offset();i.top-=a(f,"marginTop");i.left-=a(f,"marginLeft");c.top+=a(e,"borderTopWidth");c.left+=a(e,"borderLeftWidth");d={top:i.top-c.top,left:i.left-c.left}}return d},offsetParent:function(){var c=this[0].offsetParent;while(c&&(!/^body|html$/i.test(c.tagName)&&b.css(c,"position")=="static")){c=c.offsetParent}return b(c)}});function a(c,d){return parseInt(b.curCSS(c.jquery?c[0]:c,d,true))||0}})(jQuery);
/*
 * ieFixButtons jQuery plugin
 *
 * Copyright (c) 2007-2008 Michal Wojciechowski (odyniec.net)
 *
 * Dual licensed under the MIT (MIT-LICENSE.txt) 
 * and GPL (GPL-LICENSE.txt) licenses.
 *
 * http://odyniec.net/projects/iefixbuttons/
 *
 */
jQuery.fn.ieFixButtons=function(){return/MSIE [567]\./i.test(window.navigator.userAgent)?this.find("button[type=submit]").click(function(){jQuery(this.form).bind("submit",{button:jQuery(this)},function(b){var c=b.data.button;var a=c.get(0).outerHTML.match(/value\s*=\s*['"]([^'"]*)['"]/);var d=(a?a[1]:"");var e=jQuery('<input type="hidden" '+(c.attr("name")?'name="'+c.attr("name")+'" ':"")+'" value="'+d+'" />');jQuery(this).append(e);jQuery.each(jQuery(this).find("button"),function(){jQuery(this).attr("name","")})})}).end():this};$(document).ready(function(){$("body").ieFixButtons()});
/*
 * Tooltip - jQuery plugin for simple tooltip showing over HTML elements
 * Revision 0.7b
 *
 * Copyright (c) 2008 Berny Cantos a.k.a. xPheRe
 *
 * Licensed under the GPL license:
 *   http://www.gnu.org/licenses/gpl.html
 *
 */
(function(e){e.tooltip={defaults:{maxWidth:200,"class":"tooltipXPH",css:{},event:"mouseover",smart:false,track:true,offset:{x:12,y:18}},setup:function(f){e.extend(e.tooltip.defaults,f)}};var d=function(f,g){var o=this;var k="";f=e(f);if(e.metadata){g=e.extend({},g,f.metadata().tooltip)}if(g.smart){if(!g.title){g.title=f.attr("title")}if(!g.text){g.text=f.attr("alt")}if(!g.href){g.href=f.attr("href")}if(g.title.length<=0&&g.text.length){delete this;return}}var k='<div class="title"><table cellspacing="0" cellpadding="0" border="0" class="tooltip"><body><tr><td class="tooltipLU"></td><td class="tooltipT"></td><td class="tooltipRU"></td></tr>';k+='<tr><td class="tooltipL"></td><td class="tooltipBODY"><div class="title">'+g.title+'</div></td><td class="tooltipR"></td></tr>';k+='<tr><td class="tooltipLB"></td><td class="tooltipB"></td><td class="tooltipRL"></td></tr></table></div>';if(k==""){delete this;return}f.attr("title","");e.data(f,"tooltip",o);o.dst=g.dst;f.bind(g.event+".tooltip",m).bind("mouseout.tooltip",j).bind("focus.tooltip",m).bind("blur.tooltip",j).bind("click.tooltip",l);function h(){if(o.timein){clearTimeout(o.timein);delete o.timein}if(o.timeout){clearTimeout(o.timeout);delete o.timeout}}function m(p){h();if(o.st==j){return}o.st=m;if(!o.dst){o.dst=e("<div>").appendTo(document.body).css({visibility:"hidden"})}o.ev=p;o.timein=setTimeout(n,g["in"]||0)}function n(){h();if(!o.dst){return}o.dst.addClass(g["class"]).css(g.css).html(k).bgiframe();if(g.duration>0){o.timein=setTimeout(l,g.duration)}o.dst.css({position:"absolute",visibility:"visible"});e("body").bind("click.tooltip",l);if(g.track){f.bind("mousemove.tooltip",i)}o.w=o.dst.width();o.h=o.dst.height();if(g.maxWidth&&o.w>g.maxWidth){o.dst.css("width",g.maxWidth);o.w=o.dst.width()}if(g.onshow){g.onshow.apply(o.dst)}if(g.track){}i()}function j(){h();if(o.st!=m){return}o.timeout=setTimeout(l,g.out||0)}function l(){h();e("body").unbind(".tooltip");e("src").unbind("mousemove.tooltip");if(!o.dst){return}o.dst.empty();o.dst.css("width","auto");if(g.onhide){g.onhide.apply(o.dst)}if(o.dst!=g.dst){o.dst.remove();delete o.dst}}function i(s){if(!s){s=o.ev}else{o.ev=s}if(!o.dst){return}var u={x:s.pageX+g.offset.x,y:s.pageY+g.offset.y,w:o.w,h:o.h};var q=window;winW=e(window).width();winH=e(window).height();var r={x:e(window).scrollLeft()+10,y:e(window).scrollTop()+10,w:winW-20,h:winH-20};if(u.x+u.w>r.x+r.w){u.x=r.x+r.w-u.w}if(u.y+u.h>r.y+r.h){u.y=s.pageY-u.h-g.offset.y}if(u.x<r.x){u.x=r.x}if(u.y<r.y){u.y=r.y}if(u.x+u.w>r.w){u.x=r.w-u.w}o.dst.css({top:u.y,left:u.x})}};function b(){return this.each(function(){t=e.data(this,"tooltip");if(t){e.extend(t.opt,opt)}return this})}function a(){return;this.hide().unbind(".tooltip").removeData("tooltip")}function c(f){a.apply(this);f=e.extend({},e.tooltip.defaults,f);return this.each(function(){new d(this,f)})}e.fn.tooltip=function(g,j){try{if(!j&&(typeof g!="string")){j=g;g="create"}var h=({setup:b,remove:a,create:c})[g];if(!h){return false}return h.apply(this,[j])}catch(i){return this}}})(jQuery);
/* Copyright (c) 2008 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.
 *
 * Version 2.1.2-pre
 */
(function(a){a.fn.bgIframe=a.fn.bgiframe=function(c){if(a.browser.msie&&/6.0/.test(navigator.userAgent)){c=a.extend({top:"auto",left:"auto",width:"auto",height:"auto",opacity:true,src:"javascript:false;"},c||{});var d=function(e){return e&&e.constructor==Number?e+"px":e},b='<iframe class="bgiframe"frameborder="0"tabindex="-1"src="'+c.src+'"style="display:block;position:absolute;z-index:-1;'+(c.opacity!==false?"filter:Alpha(Opacity='0');":"")+"top:"+(c.top=="auto"?"expression(((parseInt(this.parentNode.currentStyle.borderTopWidth)||0)*-1)+'px')":d(c.top))+";left:"+(c.left=="auto"?"expression(((parseInt(this.parentNode.currentStyle.borderLeftWidth)||0)*-1)+'px')":d(c.left))+";width:"+(c.width=="auto"?"expression(this.parentNode.offsetWidth+'px')":d(c.width))+";height:"+(c.height=="auto"?"expression(this.parentNode.offsetHeight+'px')":d(c.height))+';"/>';return this.each(function(){if(a("> iframe.bgiframe",this).length==0){this.insertBefore(document.createElement(b),this.firstChild)}})}return this}})(jQuery);(function(d){d.tools=d.tools||{version:"@VERSION"};d.tools.tabs={conf:{tabs:"a",current:"current",onBeforeClick:null,onClick:null,effect:"default",initialIndex:0,event:"click",rotate:false,history:false},addEffect:function(e,f){c[e]=f}};var c={"default":function(f,e){this.getPanes().hide().eq(f).show();e.call()},fade:function(g,e){var f=this.getConf(),j=f.fadeOutSpeed,h=this.getPanes();if(j){h.fadeOut(j)}else{h.hide()}h.eq(g).fadeIn(f.fadeInSpeed,e)},slide:function(f,e){this.getPanes().slideUp(200);this.getPanes().eq(f).slideDown(400,e)},ajax:function(f,e){this.getPanes().eq(0).load(this.getTabs().eq(f).attr("href"),e)}};var b;d.tools.tabs.addEffect("horizontal",function(f,e){if(!b){b=this.getPanes().eq(0).width()}this.getCurrentPane().animate({width:0},function(){d(this).hide()});this.getPanes().eq(f).animate({width:b},function(){d(this).show();e.call()})});function a(e,j,h){var f=this,g=e.add(this),i=e.find(h.tabs),k=j.jquery?j:e.children(j),l;if(!i.length){i=e.children()}if(!k.length){k=e.parent().find(j)}if(!k.length){k=d(j)}d.extend(this,{click:function(m,p){var n=i.eq(m);if(typeof m=="string"&&m.replace("#","")){n=i.filter("[href*="+m.replace("#","")+"]");m=Math.max(i.index(n),0)}if(h.rotate){var o=i.length-1;if(m<0){return f.click(o,p)}if(m>o){return f.click(0,p)}}if(!n.length){if(l>=0){return f}m=h.initialIndex;n=i.eq(m)}if(m===l){return f}p=p||d.Event();p.type="onBeforeClick";g.trigger(p,[m]);if(p.isDefaultPrevented()){return}c[h.effect].call(f,m,function(){p.type="onClick";g.trigger(p,[m])});l=m;i.removeClass(h.current);n.addClass(h.current);return f},getConf:function(){return h},getTabs:function(){return i},getPanes:function(){return k},getCurrentPane:function(){return k.eq(l)},getCurrentTab:function(){return i.eq(l)},getIndex:function(){return l},next:function(){return f.click(l+1)},prev:function(){return f.click(l-1)},destroy:function(){i.unbind(h.event).removeClass(h.current);k.find("a[href^=#]").unbind("click.T");return f}});d.each("onBeforeClick,onClick".split(","),function(n,m){if(d.isFunction(h[m])){d(f).bind(m,h[m])}f[m]=function(o){if(o){d(f).bind(m,o)}return f}});if(h.history&&d.fn.history){d.tools.history.init(i);h.event="history"}i.each(function(m){d(this).bind(h.event,function(n){f.click(m,n);return n.preventDefault()})});k.find("a[href^=#]").bind("click.T",function(m){f.click(d(this).attr("href"),m)});if(location.hash&&h.tabs=="a"&&e.find("[href="+location.hash+"]").length){f.click(location.hash)}else{if(h.initialIndex===0||h.initialIndex>0){f.click(h.initialIndex)}}}d.fn.tabs=function(f,e){var g=this.data("tabs");if(g){g.destroy();this.removeData("tabs")}if(d.isFunction(e)){e={onBeforeClick:e}}e=d.extend({},d.tools.tabs.conf,e);this.each(function(){g=new a(d(this),f,e);d(this).data("tabs",g)});return e.api?g:this}})(jQuery);(function(a){a.extend({smoothAnchors:function(b,d,c){b=b||"fast";d=d||null;c=(c===true||c==null)?true:false;a("a:not([href*=toContent,href*=toToolbox,href*=toMenu,href*=toMetaNavi,href*=toSubjectMenu,href*=toTop])").not(".ignoreSmoothAnchor").each(function(g){var f=a(this).attr("href");if(f){if(f.indexOf("#")!=-1&&f.indexOf("#")==0){var h=f.split("#",2);var e=a("a[name='"+h[1]+"']");if(e){a(this).click(function(){if(a(document).height()-e.offset().top>=a(window).height()||e.offset().top>a(window).height()||a(document).width()-e.offset().left>=a(window).width()||e.offset().left>a(window).width()){a("html, body").animate({scrollTop:e.offset().top,scrollLeft:e.offset().left},b,d,function(){if(c){window.location=f}})}return false})}}}})}})})(jQuery);$(document).ready(function(){$.smoothAnchors("normal","swing",false)});
/*
 * jQuery.query - Query String Modification and Creation for jQuery
 * Written by Blair Mitchelmore (blair DOT mitchelmore AT gmail DOT com)
 * Licensed under the WTFPL (http://sam.zoy.org/wtfpl/).
 * Date: 2009/8/13
 *
 * @author Blair Mitchelmore
 * @version 2.1.7
 *
 **/
new function(e){var d=e.separator||"&";var c=e.spaces===false?false:true;var a=e.suffix===false?"":"[]";var g=e.prefix===false?false:true;var b=g?e.hash===true?"#":"?":"";var f=e.numbers===false?false:true;jQuery.query=new function(){var h=function(m,l){return m!=undefined&&m!==null&&(!!l?m.constructor==l:true)};var i=function(r){var l,q=/\[([^[]*)\]/g,n=/^([^[]+)(\[.*\])?$/.exec(r),o=n[1],p=[];while(l=q.exec(n[2])){p.push(l[1])}return[o,p]};var k=function(s,r,q){var u,p=r.shift();if(typeof s!="object"){s=null}if(p===""){if(!s){s=[]}if(h(s,Array)){s.push(r.length==0?q:k(null,r.slice(0),q))}else{if(h(s,Object)){var n=0;while(s[n++]!=null){}s[--n]=r.length==0?q:k(s[n],r.slice(0),q)}else{s=[];s.push(r.length==0?q:k(null,r.slice(0),q))}}}else{if(p&&p.match(/^\s*[0-9]+\s*$/)){var m=parseInt(p,10);if(!s){s=[]}s[m]=r.length==0?q:k(s[m],r.slice(0),q)}else{if(p){var m=p.replace(/^\s*|\s*$/g,"");if(!s){s={}}if(h(s,Array)){var l={};for(var n=0;n<s.length;++n){l[n]=s[n]}s=l}s[m]=r.length==0?q:k(s[m],r.slice(0),q)}else{return q}}}return s};var j=function(l){var m=this;m.keys={};if(l.queryObject){jQuery.each(l.get(),function(n,o){m.SET(n,o)})}else{jQuery.each(arguments,function(){var n=""+this;n=n.replace(/^[?#]/,"");n=n.replace(/[;&]$/,"");if(c){n=n.replace(/[+]/g," ")}jQuery.each(n.split(/[&;]/),function(){try{var o=decodeURIComponent(this.split("=")[0]||"");var q=decodeURIComponent(this.split("=")[1]||"");if(!o){return}if(f){if(/^[+-]?[0-9]+\.[0-9]*$/.test(q)){q=parseFloat(q)}else{if(/^[+-]?[0-9]+$/.test(q)){q=parseInt(q,10)}}}q=(!q&&q!==0)?true:q;if(q!==false&&q!==true&&typeof q!="number"){q=q}m.SET(o,q)}catch(p){}})})}return m};j.prototype={queryObject:true,has:function(l,m){var n=this.get(l);return h(n,m)},GET:function(m){if(!h(m)){return this.keys}var l=i(m),n=l[0],p=l[1];var o=this.keys[n];while(o!=null&&p.length!=0){o=o[p.shift()]}return typeof o=="number"?o:o||""},get:function(l){var m=this.GET(l);if(h(m,Object)){return jQuery.extend(true,{},m)}else{if(h(m,Array)){return m.slice(0)}}return m},SET:function(m,r){var o=!h(r)?null:r;var l=i(m),n=l[0],q=l[1];var p=this.keys[n];this.keys[n]=k(p,q.slice(0),o);return this},set:function(l,m){return this.copy().SET(l,m)},REMOVE:function(l){return this.SET(l,null).COMPACT()},remove:function(l){return this.copy().REMOVE(l)},EMPTY:function(){var l=this;jQuery.each(l.keys,function(m,n){delete l.keys[m]});return l},load:function(l){var n=l.replace(/^.*?[#](.+?)(?:\?.+)?$/,"$1");var m=l.replace(/^.*?[?](.+?)(?:#.+)?$/,"$1");return new j(l.length==m.length?"":m,l.length==n.length?"":n)},empty:function(){return this.copy().EMPTY()},copy:function(){return new j(this)},COMPACT:function(){function l(o){var n=typeof o=="object"?h(o,Array)?[]:{}:o;if(typeof o=="object"){function m(r,p,q){if(h(r,Array)){r.push(q)}else{r[p]=q}}jQuery.each(o,function(p,q){if(!h(q)){return true}m(n,p,l(q))})}return n}this.keys=l(this.keys);return this},compact:function(){return this.copy().COMPACT()},toString:function(){var n=0,r=[],q=[],m=this;var o=function(s){s=s+"";if(c){s=s.replace(/ /g,"+")}return encodeURIComponent(s)};var l=function(s,u,v){if(!h(v)||v===false){return}var w=[o(u)];if(v!==true){w.push("=");w.push(o(v))}s.push(w.join(""))};var p=function(u,s){var v=function(w){return !s||s==""?[w].join(""):[s,"[",w,"]"].join("")};jQuery.each(u,function(w,x){if(typeof x=="object"){p(x,v(w))}else{l(q,v(w),x)}})};p(this.keys);if(q.length>0){r.push(b)}r.push(q.join(d));return r.join("")}};return new j(location.search,location.hash)}}(jQuery.query||{});
/*
Name:    Highslide JS
Version: 4.1.8 (October 27 2009)
Config:  default +events +unobtrusive +imagemap +slideshow +positioning +transitions +viewport +thumbstrip +inline +ajax +iframe +flash
Author:  Torstein Hønsi
Support: http://highslide.com/support

Licence: da23516c5f6529e3479f9731258a2ae8
Highslide JS is licensed under a Creative Commons Attribution-NonCommercial 2.5
License (http://creativecommons.org/licenses/by-nc/2.5/).
*/
if(!hs&&!($.os.ios&&$("html").hasClass("iPad_native"))){var hs={lang:{cssDirection:"ltr",loadingText:"Loading...",loadingTitle:"Click to cancel",focusTitle:"Click to bring to front",fullExpandTitle:"Expand to actual size (f)",creditsText:"Powered by <i>Highslide JS",creditsTitle:"Highslide JS homepage",previousText:"Previous",nextText:"Next",moveText:"Move",closeText:"Close",closeTitle:"Close (esc)",resizeTitle:"Resize",playText:"Play",playTitle:"Play slideshow (spacebar)",pauseText:"Pause",pauseTitle:"Pause slideshow (spacebar)",previousTitle:"Previous (arrow left)",nextTitle:"Next (arrow right)",moveTitle:"Move",fullExpandText:"Full size",number:"Image %1 of %2",restoreTitle:unescape("Click to close image, click and drag to move. Use arrow keys for next and previous.")},graphicsDir:"/layout/img/hslide_",outlinesDir:"ol_",expandCursor:"/../../files/hslide_zoomin.cur",restoreCursor:false,expandDuration:250,restoreDuration:250,marginLeft:15,marginRight:15,marginTop:15,marginBottom:15,zIndexCounter:2001,loadingOpacity:0.75,allowMultipleInstances:false,numberOfImagesToPreload:5,outlineWhileAnimating:1,outlineStartOffset:3,padToMinWidth:false,fullExpandPosition:"bottom right",fullExpandOpacity:1,showCredits:false,creditsHref:"http://highslide.com/",creditsTarget:"_self",enableKeyListener:true,openerTagNames:["a","area"],transitions:[],transitionDuration:250,dimmingOpacity:0.75,dimmingDuration:50,allowWidthReduction:false,allowHeightReduction:true,preserveContent:false,objectLoadTime:"before",cacheAjax:true,anchor:"auto",align:"auto",targetX:null,targetY:null,dragByHeading:true,minWidth:100,minHeight:100,allowSizeReduction:true,outlineType:"drop-shadow",skin:{controls:'<div class="highslide-controls"><ul><li class="highslide-previous"><a href="#" title="{hs.lang.previousTitle}"><span>{hs.lang.previousText}</span></a></li><li class="highslide-play"><a href="#" title="{hs.lang.playTitle}"><span>{hs.lang.playText}</span></a></li><li class="highslide-pause"><a href="#" title="{hs.lang.pauseTitle}"><span>{hs.lang.pauseText}</span></a></li><li class="highslide-next"><a href="#" title="{hs.lang.nextTitle}"><span>{hs.lang.nextText}</span></a></li><li class="highslide-move"><a href="#" title="{hs.lang.moveTitle}"><span>{hs.lang.moveText}</span></a></li><li class="highslide-full-expand"><a href="#" title="{hs.lang.fullExpandTitle}"><span>{hs.lang.fullExpandText}</span></a></li><li class="highslide-close"><a href="#" title="{hs.lang.closeTitle}" ><span>{hs.lang.closeText}</span></a></li></ul></div>',contentWrapper:'<div class="highslide-header highslide-heading"><a id="lightboxCloseButton" href="#" onclick="return hs.close(this);">&nbsp;</a><div class="clearFloat"></div></div><div class="highslide-body"></div><div class="highslide-footer"><div><span class="highslide-resize" title="{hs.lang.resizeTitle}"><span></span></span></div></div>'},preloadTheseImages:[],continuePreloading:true,expanders:[],overrides:["allowSizeReduction","useBox","anchor","align","targetX","targetY","outlineType","outlineWhileAnimating","captionId","captionText","captionEval","captionOverlay","headingId","headingText","headingEval","headingOverlay","creditsPosition","dragByHeading","autoplay","numberPosition","transitions","dimmingOpacity","width","height","contentId","allowWidthReduction","allowHeightReduction","preserveContent","maincontentId","maincontentText","maincontentEval","objectType","cacheAjax","objectWidth","objectHeight","objectLoadTime","swfOptions","wrapperClassName","minWidth","minHeight","maxWidth","maxHeight","slideshowGroup","easing","easingClose","fadeInOut","src"],overlays:[],idCounter:0,oPos:{x:["leftpanel","left","center","right","rightpanel"],y:["above","top","middle","bottom","below"]},mouse:{},headingOverlay:{},captionOverlay:{},swfOptions:{flashvars:{},params:{},attributes:{}},timers:[],slideshows:[],pendingOutlines:{},sleeping:[],preloadTheseAjax:[],cacheBindings:[],cachedGets:{},clones:{},onReady:[],uaVersion:/Trident\/4\.0/.test(navigator.userAgent)?8:parseFloat((navigator.userAgent.toLowerCase().match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||[0,"0"])[1]),ie:(document.all&&!window.opera),safari:/Safari/.test(navigator.userAgent),geckoMac:/Macintosh.+rv:1\.[0-8].+Gecko/.test(navigator.userAgent),$:function(a){if(a){return document.getElementById(a)}},push:function(a,b){a[a.length]=b},createElement:function(a,f,e,d,c){var b=document.createElement(a);if(f){hs.extend(b,f)}if(c){hs.setStyles(b,{padding:0,border:"none",margin:0})}if(e){hs.setStyles(b,e)}if(d){d.appendChild(b)}return b},extend:function(b,c){for(var a in c){b[a]=c[a]}return b},setStyles:function(b,c){for(var a in c){if(hs.ie&&a=="opacity"){if(c[a]>0.99){b.style.removeAttribute("filter")}else{b.style.filter="alpha(opacity="+(c[a]*100)+")"}}else{b.style[a]=c[a]}}},animate:function(f,a,d){var c,g,j;if(typeof d!="object"||d===null){var i=arguments;d={duration:i[2],easing:i[3],complete:i[4]}}if(typeof d.duration!="number"){d.duration=250}d.easing=Math[d.easing]||Math.easeInQuad;d.curAnim=hs.extend({},a);for(var b in a){var h=new hs.fx(f,d,b);c=parseFloat(hs.css(f,b))||0;g=parseFloat(a[b]);j=b!="opacity"?"px":"";h.custom(c,g,j)}},css:function(a,c){if(document.defaultView){return document.defaultView.getComputedStyle(a,null).getPropertyValue(c)}else{if(c=="opacity"){c="filter"}var b=a.currentStyle[c.replace(/\-(\w)/g,function(e,d){return d.toUpperCase()})];if(c=="filter"){b=b.replace(/alpha\(opacity=([0-9]+)\)/,function(e,d){return d/100})}return b===""?1:b}},getPageSize:function(){var f=document,b=window,e=f.compatMode&&f.compatMode!="BackCompat"?f.documentElement:f.body;var c=hs.ie?e.clientWidth:(f.documentElement.clientWidth||self.innerWidth),a=hs.ie?e.clientHeight:self.innerHeight;hs.page={width:c,height:a,scrollLeft:hs.ie?e.scrollLeft:pageXOffset,scrollTop:hs.ie?e.scrollTop:pageYOffset}},getPosition:function(c){if(/area/i.test(c.tagName)){var e=document.getElementsByTagName("img");for(var b=0;b<e.length;b++){var a=e[b].useMap;if(a&&a.replace(/^.*?#/,"")==c.parentNode.name){c=e[b];break}}}var d={x:c.offsetLeft,y:c.offsetTop};while(c.offsetParent){c=c.offsetParent;d.x+=c.offsetLeft;d.y+=c.offsetTop;if(c!=document.body&&c!=document.documentElement){d.x-=c.scrollLeft;d.y-=c.scrollTop}}return d},expand:function(b,h,f,d){if(!b){b=hs.createElement("a",null,{display:"none"},hs.container)}if(typeof b.getParams=="function"){return h}if(d=="html"){for(var c=0;c<hs.sleeping.length;c++){if(hs.sleeping[c]&&hs.sleeping[c].a==b){hs.sleeping[c].awake();hs.sleeping[c]=null;return false}}hs.hasHtmlExpanders=true}try{new hs.Expander(b,h,f,d);return false}catch(g){return true}},htmlExpand:function(b,d,c){return hs.expand(b,d,c,"html")},getSelfRendered:function(){return hs.createElement("div",{className:"highslide-html-content",innerHTML:hs.replaceLang(hs.skin.contentWrapper)})},getElementByClass:function(e,c,d){var b=e.getElementsByTagName(c);for(var a=0;a<b.length;a++){if((new RegExp(d)).test(b[a].className)){return b[a]}}return null},replaceLang:function(c){c=c.replace(/\s/g," ");var b=/{hs\.lang\.([^}]+)\}/g,d=c.match(b),e;if(d){for(var a=0;a<d.length;a++){e=d[a].replace(b,"$1");if(typeof hs.lang[e]!="undefined"){c=c.replace(d[a],hs.lang[e])}}}return c},setClickEvents:function(){var b=document.getElementsByTagName("a");for(var a=0;a<b.length;a++){var c=hs.isUnobtrusiveAnchor(b[a]);if(c&&!b[a].hsHasSetClick){(function(){var d=c;if(hs.fireEvent(hs,"onSetClickEvent",{element:b[a],type:d})){b[a].onclick=(c=="image")?function(){return hs.expand(this)}:function(){return hs.htmlExpand(this,{objectType:d})}}})();b[a].hsHasSetClick=true}}hs.getAnchors()},isUnobtrusiveAnchor:function(a){if(a.rel=="highslide"){return"image"}else{if(a.rel=="highslide-ajax"){return"ajax"}else{if(a.rel=="highslide-iframe"){return"iframe"}else{if(a.rel=="highslide-swf"){return"swf"}}}}},getCacheBinding:function(b){for(var d=0;d<hs.cacheBindings.length;d++){if(hs.cacheBindings[d][0]==b){var e=hs.cacheBindings[d][1];hs.cacheBindings[d][1]=e.cloneNode(1);return e}}return null},preloadAjax:function(f){var b=hs.getAnchors();for(var d=0;d<b.htmls.length;d++){var c=b.htmls[d];if(hs.getParam(c,"objectType")=="ajax"&&hs.getParam(c,"cacheAjax")){hs.push(hs.preloadTheseAjax,c)}}hs.preloadAjaxElement(0)},preloadAjaxElement:function(d){if(!hs.preloadTheseAjax[d]){return}var b=hs.preloadTheseAjax[d];var c=hs.getNode(hs.getParam(b,"contentId"));if(!c){c=hs.getSelfRendered()}var e=new hs.Ajax(b,c,1);e.onError=function(){};e.onLoad=function(){hs.push(hs.cacheBindings,[b,c]);hs.preloadAjaxElement(d+1)};e.run()},focusTopmost:function(){var c=0,b=-1,a=hs.expanders,e,f;for(var d=0;d<a.length;d++){e=a[d];if(e){f=e.wrapper.style.zIndex;if(f&&f>c){c=f;b=d}}}if(b==-1){hs.focusKey=-1}else{a[b].focus()}},getParam:function(b,d){b.getParams=b.onclick;var c=b.getParams?b.getParams():null;b.getParams=null;return(c&&typeof c[d]!="undefined")?c[d]:(typeof hs[d]!="undefined"?hs[d]:null)},getSrc:function(b){var c=hs.getParam(b,"src");if(c){return c}return b.href},getNode:function(e){var c=hs.$(e),d=hs.clones[e],b={};if(!c&&!d){return null}if(!d){d=c.cloneNode(true);d.id="";hs.clones[e]=d;return c}else{return d.cloneNode(true)}},discardElement:function(a){if(a){hs.garbageBin.appendChild(a)}hs.garbageBin.innerHTML=""},dim:function(a){if(!hs.dimmer){hs.dimmer=hs.createElement("div",{className:"highslide-dimming highslide-viewport-size",owner:"",onclick:function(){if(hs.fireEvent(hs,"onDimmerClick")){hs.close()}}},{visibility:"visible",opacity:0},hs.container,true)}hs.dimmer.style.display="";hs.dimmer.owner+="|"+a.key;if(hs.geckoMac&&hs.dimmingGeckoFix){hs.setStyles(hs.dimmer,{background:"url("+hs.graphicsDir+"geckodimmer.png)",opacity:1})}else{hs.animate(hs.dimmer,{opacity:a.dimmingOpacity},hs.dimmingDuration)}},undim:function(a){if(!hs.dimmer){return}if(typeof a!="undefined"){hs.dimmer.owner=hs.dimmer.owner.replace("|"+a,"")}if((typeof a!="undefined"&&hs.dimmer.owner!="")||(hs.upcoming&&hs.getParam(hs.upcoming,"dimmingOpacity"))){return}if(hs.geckoMac&&hs.dimmingGeckoFix){hs.dimmer.style.display="none"}else{hs.animate(hs.dimmer,{opacity:0},hs.dimmingDuration,null,function(){hs.dimmer.style.display="none"})}},transit:function(a,d){var b=d=d||hs.getExpander();if(hs.upcoming){return false}else{hs.last=b}try{hs.upcoming=a;a.onclick()}catch(c){hs.last=hs.upcoming=null}try{if(!a||d.transitions[1]!="crossfade"){d.close()}}catch(c){}return false},previousOrNext:function(a,c){var b=hs.getExpander(a);if(b){return hs.transit(b.getAdjacentAnchor(c),b)}else{return false}},previous:function(a){return hs.previousOrNext(a,-1)},next:function(a){return hs.previousOrNext(a,1)},keyHandler:function(a){if(!a){a=window.event}if(!a.target){a.target=a.srcElement}if(typeof a.target.form!="undefined"){return true}if(!hs.fireEvent(hs,"onKeyDown",a)){return true}var b=hs.getExpander();var c=null;switch(a.keyCode){case 70:if(b){b.doFullExpand()}return true;case 32:c=2;break;case 34:case 39:case 40:c=1;break;case 8:case 33:case 37:case 38:c=-1;break;case 27:case 13:c=0}if(c!==null){if(c!=2){hs.removeEventListener(document,window.opera?"keypress":"keydown",hs.keyHandler)}if(!hs.enableKeyListener){return true}if(a.preventDefault){a.preventDefault()}else{a.returnValue=false}if(b){if(c==0){b.close()}else{if(c==2){if(b.slideshow){b.slideshow.hitSpace()}}else{if(b.slideshow){b.slideshow.pause()}hs.previousOrNext(b.key,c)}}return false}}return true},registerOverlay:function(a){hs.push(hs.overlays,hs.extend(a,{hsId:"hsId"+hs.idCounter++}))},addSlideshow:function(b){var d=b.slideshowGroup;if(typeof d=="object"){for(var c=0;c<d.length;c++){var e={};for(var a in b){e[a]=b[a]}e.slideshowGroup=d[c];hs.push(hs.slideshows,e)}}else{hs.push(hs.slideshows,b)}},getWrapperKey:function(c,b){var e,d=/^highslide-wrapper-([0-9]+)$/;e=c;while(e.parentNode){if(e.hsKey!==undefined){return e.hsKey}if(e.id&&d.test(e.id)){return e.id.replace(d,"$1")}e=e.parentNode}if(!b){e=c;while(e.parentNode){if(e.tagName&&hs.isHsAnchor(e)){for(var a=0;a<hs.expanders.length;a++){var f=hs.expanders[a];if(f&&f.a==e){return a}}}e=e.parentNode}}return null},getExpander:function(b,a){if(typeof b=="undefined"){return hs.expanders[hs.focusKey]||null}if(typeof b=="number"){return hs.expanders[b]||null}if(typeof b=="string"){b=hs.$(b)}return hs.expanders[hs.getWrapperKey(b,a)]||null},isHsAnchor:function(b){return(b.onclick&&b.onclick.toString().replace(/\s/g," ").match(/hs.(htmlE|e)xpand/))},reOrder:function(){for(var a=0;a<hs.expanders.length;a++){if(hs.expanders[a]&&hs.expanders[a].isExpanded){hs.focusTopmost()}}},fireEvent:function(c,a,b){return c&&c[a]?(c[a](c,b)!==false):true},mouseClickHandler:function(d){if(!d){d=window.event}if(d.button>1){return true}if(!d.target){d.target=d.srcElement}var b=d.target;while(b.parentNode&&!(/highslide-(image|move|html|resize)/.test(b.className))){b=b.parentNode}var f=hs.getExpander(b);if(f&&(f.isClosing||!f.isExpanded)){return true}if(f&&d.type=="mousedown"){if(d.target.form){return true}var a=b.className.match(/highslide-(image|move|resize)/);if(a){hs.dragArgs={exp:f,type:a[1],left:f.x.pos,width:f.x.size,top:f.y.pos,height:f.y.size,clickX:d.clientX,clickY:d.clientY};hs.addEventListener(document,"mousemove",hs.dragHandler);if(d.preventDefault){d.preventDefault()}if(/highslide-(image|html)-blur/.test(f.content.className)){f.focus();hs.hasFocused=true}return false}else{if(/highslide-html/.test(b.className)&&hs.focusKey!=f.key){f.focus();f.doShowHide("hidden")}}}else{if(d.type=="mouseup"){hs.removeEventListener(document,"mousemove",hs.dragHandler);if(hs.dragArgs){if(hs.styleRestoreCursor&&hs.dragArgs.type=="image"){hs.dragArgs.exp.content.style.cursor=hs.styleRestoreCursor}var c=hs.dragArgs.hasDragged;if(!c&&!hs.hasFocused&&!/(move|resize)/.test(hs.dragArgs.type)){if(hs.fireEvent(f,"onImageClick")){f.close()}}else{if(c||(!c&&hs.hasHtmlExpanders)){hs.dragArgs.exp.doShowHide("hidden")}}if(hs.dragArgs.exp.releaseMask){hs.dragArgs.exp.releaseMask.style.display="none"}if(c){hs.fireEvent(hs.dragArgs.exp,"onDrop",hs.dragArgs)}hs.hasFocused=false;hs.dragArgs=null}else{if(/highslide-image-blur/.test(b.className)){b.style.cursor=hs.styleRestoreCursor}}}}return false},dragHandler:function(c){if(hs.ie&&hs.uaVersion<=6){return}if(!hs.dragArgs){return true}if(!c){c=window.event}var b=hs.dragArgs,d=b.exp;if(d.iframe){if(!d.releaseMask){d.releaseMask=hs.createElement("div",null,{position:"absolute",width:d.x.size+"px",height:d.y.size+"px",left:d.x.cb+"px",top:d.y.cb+"px",zIndex:4,background:(hs.ie?"white":"none"),opacity:0.01},d.wrapper,true)}if(d.releaseMask.style.display=="none"){d.releaseMask.style.display=""}}b.dX=c.clientX-b.clickX;b.dY=c.clientY-b.clickY;var f=Math.sqrt(Math.pow(b.dX,2)+Math.pow(b.dY,2));if(!b.hasDragged){b.hasDragged=(b.type!="image"&&f>0)||(f>(hs.dragSensitivity||5))}if(b.hasDragged&&c.clientX>5&&c.clientY>5){if(!hs.fireEvent(d,"onDrag",b)){return false}if(b.type=="resize"){d.resize(b)}else{d.moveTo(b.left+b.dX,b.top+b.dY);if(b.type=="image"){d.content.style.cursor="move"}}}return false},wrapperMouseHandler:function(c){try{if(!c){c=window.event}var b=/mouseover/i.test(c.type);if(!c.target){c.target=c.srcElement}if(hs.ie){c.relatedTarget=b?c.fromElement:c.toElement}var d=hs.getExpander(c.target);if(!d.isExpanded){return}if(!d||!c.relatedTarget||hs.getExpander(c.relatedTarget,true)==d||hs.dragArgs){return}hs.fireEvent(d,b?"onMouseOver":"onMouseOut",c);for(var a=0;a<d.overlays.length;a++){(function(){var e=hs.$("hsId"+d.overlays[a]);if(e&&e.hideOnMouseOut){if(b){hs.setStyles(e,{visibility:"visible",display:""})}hs.animate(e,{opacity:b?e.opacity:0},e.dur)}})()}}catch(c){}},addEventListener:function(a,c,b){if(a==document&&c=="ready"){hs.push(hs.onReady,b)}try{a.addEventListener(c,b,false)}catch(d){try{a.detachEvent("on"+c,b);a.attachEvent("on"+c,b)}catch(d){a["on"+c]=b}}},removeEventListener:function(a,c,b){try{a.removeEventListener(c,b,false)}catch(d){try{a.detachEvent("on"+c,b)}catch(d){a["on"+c]=null}}},preloadFullImage:function(b){if(hs.continuePreloading&&hs.preloadTheseImages[b]&&hs.preloadTheseImages[b]!="undefined"){var a=document.createElement("img");a.onload=function(){a=null;hs.preloadFullImage(b+1)};a.src=hs.preloadTheseImages[b]}},preloadImages:function(c){if(c&&typeof c!="object"){hs.numberOfImagesToPreload=c}var a=hs.getAnchors();for(var b=0;b<a.images.length&&b<hs.numberOfImagesToPreload;b++){hs.push(hs.preloadTheseImages,hs.getSrc(a.images[b]))}if(hs.outlineType){new hs.Outline(hs.outlineType,function(){hs.preloadFullImage(0)})}else{hs.preloadFullImage(0)}if(hs.restoreCursor){var d=hs.createElement("img",{src:hs.graphicsDir+hs.restoreCursor})}},init:function(){if(!hs.container){hs.getPageSize();hs.ieLt7=hs.ie&&hs.uaVersion<7;hs.ie6SSL=hs.ieLt7&&location.protocol=="https:";for(var a in hs.langDefaults){if(typeof hs[a]!="undefined"){hs.lang[a]=hs[a]}else{if(typeof hs.lang[a]=="undefined"&&typeof hs.langDefaults[a]!="undefined"){hs.lang[a]=hs.langDefaults[a]}}}hs.container=hs.createElement("div",{className:"highslide-container"},{position:"absolute",left:0,top:0,width:"100%",zIndex:hs.zIndexCounter,direction:"ltr"},document.body,true);hs.loading=hs.createElement("a",{className:"highslide-loading",title:hs.lang.loadingTitle,innerHTML:hs.lang.loadingText,href:"javascript:;"},{position:"absolute",top:"-9999px",opacity:hs.loadingOpacity,zIndex:1},hs.container);hs.garbageBin=hs.createElement("div",null,{display:"none"},hs.container);hs.viewport=hs.createElement("div",{className:"highslide-viewport highslide-viewport-size"},{visibility:(hs.safari&&hs.uaVersion<525)?"visible":"hidden"},hs.container,1);hs.clearing=hs.createElement("div",{"class":"clearFloat"},{clear:"both",paddingTop:"0px",height:"0px",lineHeight:"0px"},null,true);Math.linearTween=function(f,e,h,g){return h*f/g+e};Math.easeInQuad=function(f,e,h,g){return h*(f/=g)*f+e};Math.easeOutQuad=function(f,e,h,g){return -h*(f/=g)*(f-2)+e};hs.hideSelects=hs.ieLt7;hs.hideIframes=((window.opera&&hs.uaVersion<9)||navigator.vendor=="KDE"||(hs.ie&&hs.uaVersion<5.5));hs.fireEvent(this,"onActivate")}},ready:function(){if(hs.isReady){return}hs.isReady=true;for(var a=0;a<hs.onReady.length;a++){hs.onReady[a]()}},updateAnchors:function(){var a,d,l=[],h=[],k=[],b={},m;for(var e=0;e<hs.openerTagNames.length;e++){d=document.getElementsByTagName(hs.openerTagNames[e]);for(var c=0;c<d.length;c++){a=d[c];m=hs.isHsAnchor(a);if(m){hs.push(l,a);if(m[0]=="hs.expand"){hs.push(h,a)}else{if(m[0]=="hs.htmlExpand"){hs.push(k,a)}}var f=hs.getParam(a,"slideshowGroup")||"none";if(!b[f]){b[f]=[]}hs.push(b[f],a)}}}hs.anchors={all:l,groups:b,images:h,htmls:k};return hs.anchors},getAnchors:function(){return hs.anchors||hs.updateAnchors()},close:function(a){var b=hs.getExpander(a);if(b){b.close()}return false}};hs.fx=function(b,a,c){this.options=a;this.elem=b;this.prop=c;if(!a.orig){a.orig={}}};hs.fx.prototype={update:function(){(hs.fx.step[this.prop]||hs.fx.step._default)(this);if(this.options.step){this.options.step.call(this.elem,this.now,this)}},custom:function(e,d,c){this.startTime=(new Date()).getTime();this.start=e;this.end=d;this.unit=c;this.now=this.start;this.pos=this.state=0;var a=this;function b(f){return a.step(f)}b.elem=this.elem;if(b()&&hs.timers.push(b)==1){hs.timerId=setInterval(function(){var g=hs.timers;for(var f=0;f<g.length;f++){if(!g[f]()){g.splice(f--,1)}}if(!g.length){clearInterval(hs.timerId)}},13)}},step:function(d){var c=(new Date()).getTime();if(d||c>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;var a=true;for(var b in this.options.curAnim){if(this.options.curAnim[b]!==true){a=false}}if(a){if(this.options.complete){this.options.complete.call(this.elem)}}return false}else{var e=c-this.startTime;this.state=e/this.options.duration;this.pos=this.options.easing(e,0,1,this.options.duration);this.now=this.start+((this.end-this.start)*this.pos);this.update()}return true}};hs.extend(hs.fx,{step:{opacity:function(a){hs.setStyles(a.elem,{opacity:a.now})},_default:function(a){try{if(a.elem.style&&a.elem.style[a.prop]!=null){a.elem.style[a.prop]=a.now+a.unit}else{a.elem[a.prop]=a.now}}catch(b){}}}});hs.Outline=function(h,f){this.onLoad=f;this.outlineType=h;var a=hs.uaVersion,g;this.hasAlphaImageLoader=hs.ie&&a>=5.5&&a<7;if(!h){if(f){f()}return}hs.init();this.table=hs.createElement("table",{cellSpacing:0,className:h},{visibility:"hidden",position:"absolute",borderCollapse:"collapse",width:0},hs.container,true);var c=hs.createElement("tbody",null,null,this.table,1);var b=["left-up","center-up","right-up","left-middle","pane","right-middle","left-bottom","center-bottom","right-bottom",];this.td=[];for(var d=0;d<=8;d++){if(d%3==0){g=hs.createElement("tr",null,{height:"auto"},c,true)}this.td[d]=hs.createElement("td",null,null,g,true);this.td[d].className="highslide-outline-"+b[d];var e=d!=4?{lineHeight:0,fontSize:0}:{position:"relative"};hs.setStyles(this.td[d],e)}this.td[4].className=h+" highslide-outline";this.preloadGraphic()};hs.Outline.prototype={preloadGraphic:function(){var b=hs.graphicsDir+(hs.outlinesDir||"outlines/")+this.outlineType+".png";var a=hs.safari?hs.container:null;this.graphic=hs.createElement("img",null,{position:"absolute",top:"-9999px"},a,true);var c=this;this.graphic.onload=function(){c.onGraphicLoad()};this.graphic.src=b},onGraphicLoad:function(){var d=this.offset=this.graphic.width/4,f=[[0,0],[0,-4],[-2,0],[0,-8],0,[-2,-8],[0,-2],[0,-6],[-2,-2]],c={height:(2*d)+"px",width:(2*d)+"px"};for(var b=0;b<=8;b++){if(f[b]){if(this.hasAlphaImageLoader){var a=(b==1||b==7)?"100%":this.graphic.width+"px";var e=hs.createElement("div",null,{width:"100%",height:"100%",position:"relative",overflow:"hidden"},this.td[b],true);hs.createElement("div",null,{filter:"progid:DXImageTransform.Microsoft.AlphaImageLoader(sizingMethod=scale, src='"+this.graphic.src+"')",position:"absolute",width:a,height:this.graphic.height+"px",left:(f[b][0]*d)+"px",top:(f[b][1]*d)+"px"},e,true)}else{hs.setStyles(this.td[b],{background:"url("+this.graphic.src+") "+(f[b][0]*d)+"px "+(f[b][1]*d)+"px"})}if(window.opera&&(b==3||b==5)){hs.createElement("div",null,c,this.td[b],true)}hs.setStyles(this.td[b],c)}}this.graphic=null;if(hs.pendingOutlines[this.outlineType]){hs.pendingOutlines[this.outlineType].destroy()}hs.pendingOutlines[this.outlineType]=this;if(this.onLoad){this.onLoad()}},setPosition:function(g,e,c,b,f){var d=this.exp,a=d.wrapper.style,e=e||0,g=g||{x:d.x.pos+e,y:d.y.pos+e,w:d.x.get("wsize")-2*e,h:d.y.get("wsize")-2*e};if(c){this.table.style.visibility=(g.h>=4*this.offset)?"visible":"hidden"}hs.setStyles(this.table,{left:(g.x-this.offset)+"px",top:(g.y-this.offset)+"px",width:(g.w+2*this.offset)+"px"});g.w-=2*this.offset;g.h-=2*this.offset;hs.setStyles(this.td[4],{width:g.w>=0?g.w+"px":0,height:g.h>=0?g.h+"px":0});if(this.hasAlphaImageLoader){this.td[3].style.height=this.td[5].style.height=this.td[4].style.height}},destroy:function(a){if(a){this.table.style.visibility="hidden"}else{hs.discardElement(this.table)}}};hs.Dimension=function(b,a){this.exp=b;this.dim=a;this.ucwh=a=="x"?"Width":"Height";this.wh=this.ucwh.toLowerCase();this.uclt=a=="x"?"Left":"Top";this.lt=this.uclt.toLowerCase();this.ucrb=a=="x"?"Right":"Bottom";this.rb=this.ucrb.toLowerCase();this.p1=this.p2=0};hs.Dimension.prototype={get:function(a){switch(a){case"loadingPos":return this.tpos+this.tb+(this.t-hs.loading["offset"+this.ucwh])/2;case"loadingPosXfade":return this.pos+this.cb+this.p1+(this.size-hs.loading["offset"+this.ucwh])/2;case"wsize":return this.size+2*this.cb+this.p1+this.p2;case"fitsize":return this.clientSize-this.marginMin-this.marginMax;case"maxsize":return this.get("fitsize")-2*this.cb-this.p1-this.p2;case"opos":return this.pos-(this.exp.outline?this.exp.outline.offset:0);case"osize":return this.get("wsize")+(this.exp.outline?2*this.exp.outline.offset:0);case"imgPad":return this.imgSize?Math.round((this.size-this.imgSize)/2):0}},calcBorders:function(){this.cb=(this.exp.content["offset"+this.ucwh]-this.t)/2;this.marginMax=hs["margin"+this.ucrb]},calcThumb:function(){this.t=this.exp.el[this.wh]?parseInt(this.exp.el[this.wh]):this.exp.el["offset"+this.ucwh];this.tpos=this.exp.tpos[this.dim];this.tb=(this.exp.el["offset"+this.ucwh]-this.t)/2;if(this.tpos==0||this.tpos==-1){this.tpos=(hs.page[this.wh]/2)+hs.page["scroll"+this.uclt]}},calcExpanded:function(){var a=this.exp;this.justify="auto";if(a.align=="center"){this.justify="center"}else{if(new RegExp(this.lt).test(a.anchor)){this.justify=null}else{if(new RegExp(this.rb).test(a.anchor)){this.justify="max"}}}this.pos=this.tpos-this.cb+this.tb;if(this.maxHeight&&this.dim=="x"){a.maxWidth=Math.min(a.maxWidth||this.full,a.maxHeight*this.full/a.y.full)}this.size=Math.min(this.full,a["max"+this.ucwh]||this.full);this.minSize=a.allowSizeReduction?Math.min(a["min"+this.ucwh],this.full):this.full;if(a.isImage&&a.useBox){this.size=a[this.wh];this.imgSize=this.full}if(this.dim=="x"&&hs.padToMinWidth){this.minSize=a.minWidth}this.target=a["target"+this.dim.toUpperCase()];this.marginMin=hs["margin"+this.uclt];this.scroll=hs.page["scroll"+this.uclt];this.clientSize=hs.page[this.wh]},setSize:function(a){var f=this.exp;if(f.isImage&&(f.useBox||hs.padToMinWidth)){this.imgSize=a;this.size=Math.max(this.size,this.imgSize);f.content.style[this.lt]=this.get("imgPad")+"px"}else{this.size=a}f.content.style[this.wh]=a+"px";f.wrapper.style[this.wh]=this.get("wsize")+"px";if(f.outline){f.outline.setPosition()}if(f.releaseMask){f.releaseMask.style[this.wh]=a+"px"}if(this.dim=="y"&&f.iDoc&&f.body.style.height!="auto"){try{f.iDoc.body.style.overflow="auto"}catch(b){}}if(f.isHtml){var c=f.scrollerDiv;if(this.sizeDiff===undefined){this.sizeDiff=f.innerContent["offset"+this.ucwh]-c["offset"+this.ucwh]}c.style[this.wh]=(this.size-this.sizeDiff)+"px";if(this.dim=="x"){f.mediumContent.style.width="auto"}if(f.body){f.body.style[this.wh]="auto"}}if(this.dim=="x"&&f.overlayBox){f.sizeOverlayBox(true)}if(this.dim=="x"&&f.slideshow&&f.isImage){if(a==this.full){f.slideshow.disable("full-expand")}else{f.slideshow.enable("full-expand")}}},setPos:function(a){this.pos=a;this.exp.wrapper.style[this.lt]=a+"px";if(this.exp.outline){this.exp.outline.setPosition()}}};hs.Expander=function(k,f,b,l){if(document.readyState&&hs.ie&&!hs.isReady){hs.addEventListener(document,"ready",function(){new hs.Expander(k,f,b,l)});return}this.a=k;this.custom=b;this.contentType=l||"image";this.isHtml=(l=="html");this.isImage=!this.isHtml;hs.continuePreloading=false;this.overlays=[];this.last=hs.last;hs.last=null;hs.init();var m=this.key=hs.expanders.length;for(var g=0;g<hs.overrides.length;g++){var c=hs.overrides[g];this[c]=f&&typeof f[c]!="undefined"?f[c]:hs[c]}if(!this.src){this.src=k.href}var d=(f&&f.thumbnailId)?hs.$(f.thumbnailId):k;d=this.thumb=d.getElementsByTagName("img")[0]||d;this.thumbsUserSetId=d.id||k.id;if(!hs.fireEvent(this,"onInit")){return true}for(var g=0;g<hs.expanders.length;g++){if(hs.expanders[g]&&hs.expanders[g].a==k&&!(this.last&&this.transitions[1]=="crossfade")){hs.expanders[g].focus();return false}}if(!hs.allowSimultaneousLoading){for(var g=0;g<hs.expanders.length;g++){if(hs.expanders[g]&&hs.expanders[g].thumb!=d&&!hs.expanders[g].onLoadStarted){hs.expanders[g].cancelLoading()}}}hs.expanders[m]=this;if(!hs.allowMultipleInstances&&!hs.upcoming){if(hs.expanders[m-1]){hs.expanders[m-1].close()}if(typeof hs.focusKey!="undefined"&&hs.expanders[hs.focusKey]){hs.expanders[hs.focusKey].close()}}this.el=d;this.tpos=hs.getPosition(d);hs.getPageSize();var j=this.x=new hs.Dimension(this,"x");j.calcThumb();var h=this.y=new hs.Dimension(this,"y");h.calcThumb();if(/area/i.test(d.tagName)){this.getImageMapAreaCorrection(d)}this.wrapper=hs.createElement("div",{id:"highslide-wrapper-"+this.key,className:"highslide-wrapper "+this.wrapperClassName},{visibility:"hidden",position:"absolute",zIndex:hs.zIndexCounter+=2},null,true);this.wrapper.onmouseover=this.wrapper.onmouseout=hs.wrapperMouseHandler;if(this.contentType=="image"&&this.outlineWhileAnimating==2){this.outlineWhileAnimating=0}if(!this.outlineType||(this.last&&this.isImage&&this.transitions[1]=="crossfade")){this[this.contentType+"Create"]()}else{if(hs.pendingOutlines[this.outlineType]){this.connectOutline();this[this.contentType+"Create"]()}else{this.showLoading();var e=this;new hs.Outline(this.outlineType,function(){e.connectOutline();e[e.contentType+"Create"]()})}}return true};hs.Expander.prototype={error:function(a){window.location.href=this.src},connectOutline:function(){var a=this.outline=hs.pendingOutlines[this.outlineType];a.exp=this;a.table.style.zIndex=this.wrapper.style.zIndex-1;hs.pendingOutlines[this.outlineType]=null},showLoading:function(){if(this.onLoadStarted||this.loading){return}this.loading=hs.loading;var c=this;this.loading.onclick=function(){c.cancelLoading()};if(!hs.fireEvent(this,"onShowLoading")){return}var c=this,a=this.x.get("loadingPos")+"px",b=this.y.get("loadingPos")+"px";if(!d&&this.last&&this.transitions[1]=="crossfade"){var d=this.last}if(d){a=d.x.get("loadingPosXfade")+"px";b=d.y.get("loadingPosXfade")+"px";this.loading.style.zIndex=hs.zIndexCounter++}setTimeout(function(){if(c.loading){hs.setStyles(c.loading,{left:a,top:b,zIndex:hs.zIndexCounter++})}},100)},imageCreate:function(){var b=this;var a=document.createElement("img");this.content=a;a.onload=function(){if(hs.expanders[b.key]){b.contentLoaded()}};if(hs.blockRightClick){a.oncontextmenu=function(){return false}}a.className="highslide-image";hs.setStyles(a,{visibility:"hidden",display:"block",position:"absolute",maxWidth:"9999px",zIndex:3});a.title=hs.lang.restoreTitle;if(hs.safari){hs.container.appendChild(a)}if(hs.ie&&hs.flushImgSize){a.src=null}a.src=this.src;this.showLoading()},htmlCreate:function(){if(!hs.fireEvent(this,"onBeforeGetContent")){return}this.content=hs.getCacheBinding(this.a);if(!this.content){this.content=hs.getNode(this.contentId)}if(!this.content){this.content=hs.getSelfRendered()}this.getInline(["maincontent"]);if(this.maincontent){var a=hs.getElementByClass(this.content,"div","highslide-body");if(a){a.appendChild(this.maincontent)}this.maincontent.style.display="block"}hs.fireEvent(this,"onAfterGetContent");var d=this.innerContent=this.content;if(/(swf|iframe)/.test(this.objectType)){this.setObjContainerSize(d)}hs.container.appendChild(this.wrapper);hs.setStyles(this.wrapper,{position:"static",padding:"0 "+hs.marginRight+"px 0 "+hs.marginLeft+"px"});this.content=hs.createElement("div",{className:"highslide-html"},{position:"relative",zIndex:3,overflow:"hidden"},this.wrapper);this.mediumContent=hs.createElement("div",{className:"highslide-html-medium"},null,this.content,1);this.mediumContent.appendChild(d);hs.setStyles(d,{position:"relative",display:"block",direction:hs.lang.cssDirection||""});if(this.width){d.style.width=this.width+"px"}if(this.height){hs.setStyles(d,{height:this.height+"px",overflow:"hidden"})}if(d.offsetWidth<this.minWidth){d.style.width=this.minWidth+"px"}if(this.objectType=="ajax"&&!hs.getCacheBinding(this.a)){this.showLoading();var c=this;var b=new hs.Ajax(this.a,d);b.src=this.src;b.onLoad=function(){if(hs.expanders[c.key]){c.contentLoaded()}};b.onError=function(){location.href=c.src};b.run()}else{if(this.objectType=="iframe"&&this.objectLoadTime=="before"){this.writeExtendedContent()}else{this.contentLoaded()}}},contentLoaded:function(){try{if(!this.content){return}this.content.onload=null;if(this.onLoadStarted){return}else{this.onLoadStarted=true}var j=this.x,g=this.y;if(this.loading){hs.setStyles(this.loading,{top:"-9999px"});this.loading=null;hs.fireEvent(this,"onHideLoading")}if(this.isImage){j.full=this.content.width;g.full=this.content.height;hs.setStyles(this.content,{width:j.t+"px",height:g.t+"px"});this.wrapper.appendChild(this.content);hs.container.appendChild(this.wrapper)}else{if(this.htmlGetSize){this.htmlGetSize()}}j.calcBorders();g.calcBorders();hs.setStyles(this.wrapper,{left:(j.tpos+j.tb-j.cb)+"px",top:(g.tpos+j.tb-g.cb)+"px"});this.initSlideshow();this.getOverlays();var f=j.full/g.full;j.calcExpanded();this.justify(j);g.calcExpanded();this.justify(g);if(this.isHtml){this.htmlSizeOperations()}if(this.overlayBox){this.sizeOverlayBox(0,1)}if(this.allowSizeReduction){if(this.isImage){this.correctRatio(f)}else{this.fitOverlayBox()}var k=this.slideshow;if(k&&this.last&&k.controls&&k.fixedControls){var h=k.overlayOptions.position||"",a;for(var c in hs.oPos){for(var b=0;b<5;b++){a=this[c];if(h.match(hs.oPos[c][b])){a.pos=this.last[c].pos+(this.last[c].p1-a.p1)+(this.last[c].size-a.size)*[0,0,0.5,1,1][b];if(k.fixedControls=="fit"){if(a.pos+a.size+a.p1+a.p2>a.scroll+a.clientSize-a.marginMax){a.pos=a.scroll+a.clientSize-a.size-a.marginMin-a.marginMax-a.p1-a.p2}if(a.pos<a.scroll+a.marginMin){a.pos=a.scroll+a.marginMin}}}}}}if(this.isImage&&this.x.full>(this.x.imgSize||this.x.size)){this.createFullExpand();if(this.overlays.length==1){this.sizeOverlayBox()}}}this.show()}catch(d){this.error(d)}},setObjContainerSize:function(a,d){var b=hs.getElementByClass(a,"DIV","highslide-body");if(/(iframe|swf)/.test(this.objectType)){if(this.objectWidth){b.style.width=this.objectWidth+"px"}if(this.objectHeight){b.style.height=this.objectHeight+"px"}}},writeExtendedContent:function(){if(this.hasExtendedContent){return}var f=this;this.body=hs.getElementByClass(this.innerContent,"DIV","highslide-body");if(this.objectType=="iframe"){this.showLoading();var i=hs.clearing.cloneNode(1);this.body.appendChild(i);this.newWidth=this.innerContent.offsetWidth;if(!this.objectWidth){this.objectWidth=i.offsetWidth}var c=this.innerContent.offsetHeight-this.body.offsetHeight,d=this.objectHeight||hs.page.height-c-hs.marginTop-hs.marginBottom,e=this.objectLoadTime=="before"?' onload="if (hs.expanders['+this.key+"]) hs.expanders["+this.key+'].contentLoaded()" ':"";this.body.innerHTML+='<iframe name="hs'+(new Date()).getTime()+'" frameborder="0" key="'+this.key+'"  style="width:'+this.objectWidth+"px; height:"+d+'px" '+e+' src="'+this.src+'" ></iframe>';this.ruler=this.body.getElementsByTagName("div")[0];this.iframe=this.body.getElementsByTagName("iframe")[0];if(this.objectLoadTime=="after"){this.correctIframeSize()}}if(this.objectType=="swf"){this.body.id=this.body.id||"hs-flash-id-"+this.key;var b=this.swfOptions;if(!b.params){b.params={}}if(typeof b.params.wmode=="undefined"){b.params.wmode="transparent"}if(swfobject){swfobject.embedSWF(this.src,this.body.id,this.objectWidth,this.objectHeight,b.version||"7",b.expressInstallSwfurl,b.flashvars,b.params,b.attributes)}else{if(jQuery){var g=b.params;if(b.params&&b.attributes){for(myAttr in b.attributes){if(!g[myAttr]){g[myAttr]=b.attributes[myAttr]}}}else{if(!b.params&&b.attributes){g=b.attributes}}$("#"+this.body.id).flash({swf:this.src,flashvars:b.flashvars,paramAttributes:g})}}}this.hasExtendedContent=true},htmlGetSize:function(){if(this.iframe&&!this.objectHeight){this.iframe.style.height=this.body.style.height=this.getIframePageHeight()+"px"}this.innerContent.appendChild(hs.clearing);if(!this.x.full){this.x.full=this.innerContent.offsetWidth}this.y.full=this.innerContent.offsetHeight;this.innerContent.removeChild(hs.clearing);if(hs.ie&&this.newHeight>parseInt(this.innerContent.currentStyle.height)){this.newHeight=parseInt(this.innerContent.currentStyle.height)}hs.setStyles(this.wrapper,{position:"absolute",padding:"0"});hs.setStyles(this.content,{width:this.x.t+"px",height:this.y.t+"px"})},getIframePageHeight:function(){var a;try{var d=this.iDoc=this.iframe.contentDocument||this.iframe.contentWindow.document;var b=d.createElement("div",{"class":"clearFloat"},{clear:"both",paddingTop:"0px",height:"0px",lineHeight:"0px"},null,true);b.style.clear="both";d.body.appendChild(b);a=b.offsetTop;if(hs.ie){a+=parseInt(d.body.currentStyle.marginTop)+parseInt(d.body.currentStyle.marginBottom)-1}d.body.removeChild(b)}catch(c){a=300}return a},correctIframeSize:function(){var b=this.innerContent.offsetWidth-this.ruler.offsetWidth;hs.discardElement(this.ruler);if(b<0){b=0}var a=this.innerContent.offsetHeight-this.iframe.offsetHeight;if(this.iDoc&&!this.objectHeight&&!this.height&&this.y.size==this.y.full){try{this.iDoc.body.style.overflow="hidden"}catch(c){}}hs.setStyles(this.iframe,{width:Math.abs(this.x.size-b)+"px",height:Math.abs(this.y.size-a)+"px"});hs.setStyles(this.body,{width:this.iframe.style.width,height:this.iframe.style.height});this.scrollingContent=this.iframe;this.scrollerDiv=this.scrollingContent},htmlSizeOperations:function(){this.setObjContainerSize(this.innerContent);if(this.objectType=="swf"&&this.objectLoadTime=="before"){this.writeExtendedContent()}if(this.x.size<this.x.full&&!this.allowWidthReduction){this.x.size=this.x.full}if(this.y.size<this.y.full&&!this.allowHeightReduction){this.y.size=this.y.full}this.scrollerDiv=this.innerContent;hs.setStyles(this.mediumContent,{position:"relative",width:this.x.size+"px"});hs.setStyles(this.innerContent,{border:"none",width:"auto",height:"auto"});var e=hs.getElementByClass(this.innerContent,"DIV","highslide-body");if(e&&!/(iframe|swf)/.test(this.objectType)){var b=e;e=hs.createElement(b.nodeName,null,{overflow:"hidden"},null,true);b.parentNode.insertBefore(e,b);e.appendChild(hs.clearing);e.appendChild(b);var c=this.innerContent.offsetWidth-e.offsetWidth;var a=this.innerContent.offsetHeight-e.offsetHeight;e.removeChild(hs.clearing);var d=hs.safari||navigator.vendor=="KDE"?1:0;hs.setStyles(e,{width:(this.x.size-c-d)+"px",height:(this.y.size-a)+"px",overflow:"auto",position:"relative"});if(d&&b.offsetHeight>e.offsetHeight){e.style.width=(parseInt(e.style.width)+d)+"px"}this.scrollingContent=e;this.scrollerDiv=this.scrollingContent}if(this.iframe&&this.objectLoadTime=="before"){this.correctIframeSize()}if(!this.scrollingContent&&this.y.size<this.mediumContent.offsetHeight){this.scrollerDiv=this.content}if(this.scrollerDiv==this.content&&!this.allowWidthReduction&&!/(iframe|swf)/.test(this.objectType)){this.x.size+=17}if(this.scrollerDiv&&this.scrollerDiv.offsetHeight>this.scrollerDiv.parentNode.offsetHeight){setTimeout("try { hs.expanders["+this.key+"].scrollerDiv.style.overflow = 'auto'; } catch(e) {}",hs.expandDuration)}},getImageMapAreaCorrection:function(d){var h=d.coords.split(",");for(var b=0;b<h.length;b++){h[b]=parseInt(h[b])}if(d.shape.toLowerCase()=="circle"){this.x.tpos+=h[0]-h[2];this.y.tpos+=h[1]-h[2];this.x.t=this.y.t=2*h[2]}else{var f,e,a=f=h[0],g=e=h[1];for(var b=0;b<h.length;b++){if(b%2==0){a=Math.min(a,h[b]);f=Math.max(f,h[b])}else{g=Math.min(g,h[b]);e=Math.max(e,h[b])}}this.x.tpos+=a;this.x.t=f-a;this.y.tpos+=g;this.y.t=e-g}},justify:function(f,b){var g,h=f.target,e=f==this.x?"x":"y";if(h&&h.match(/ /)){g=h.split(" ");h=g[0]}if(h&&hs.$(h)){f.pos=hs.getPosition(hs.$(h))[e];if(g&&g[1]&&g[1].match(/^[-]?[0-9]+px$/)){f.pos+=parseInt(g[1])}if(f.size<f.minSize){f.size=f.minSize}}else{if(f.justify=="auto"||f.justify=="center"){var d=false;var a=f.exp.allowSizeReduction;if(f.justify=="center"){f.pos=Math.round(f.scroll+(f.clientSize+f.marginMin-f.marginMax-f.get("wsize"))/2)}else{f.pos=Math.round(f.pos-((f.get("wsize")-f.t)/2))}if(f.pos<f.scroll+f.marginMin){f.pos=f.scroll+f.marginMin;d=true}if(!b&&f.size<f.minSize){f.size=f.minSize;a=false}if(f.pos+f.get("wsize")>f.scroll+f.clientSize-f.marginMax){if(!b&&d&&a){f.size=Math.min(f.size,f.get(e=="y"?"fitsize":"maxsize"))}else{if(f.get("wsize")<f.get("fitsize")){f.pos=f.scroll+f.clientSize-f.marginMax-f.get("wsize")}else{f.pos=f.scroll+f.marginMin;if(!b&&a){f.size=f.get(e=="y"?"fitsize":"maxsize")}}}}if(!b&&f.size<f.minSize){f.size=f.minSize;a=false}}else{if(f.justify=="max"){f.pos=Math.floor(f.pos-f.size+f.t)}}}if(f.pos<f.marginMin){var c=f.pos;f.pos=f.marginMin;if(a&&!b){f.size=f.size-(f.pos-c)}}},correctRatio:function(c){var a=this.x,g=this.y,e=false,d=Math.min(a.full,a.size),b=Math.min(g.full,g.size),f=(this.useBox||hs.padToMinWidth);if(d/b>c){d=b*c;if(d<a.minSize){d=a.minSize;b=d/c}e=true}else{if(d/b<c){b=d/c;e=true}}if(hs.padToMinWidth&&a.full<a.minSize){a.imgSize=a.full;g.size=g.imgSize=g.full}else{if(this.useBox){a.imgSize=d;g.imgSize=b}else{a.size=d;g.size=b}}e=this.fitOverlayBox(f?null:c,e);if(f&&g.size<g.imgSize){g.imgSize=g.size;a.imgSize=g.size*c}if(e||f){a.pos=a.tpos-a.cb+a.tb;a.minSize=a.size;this.justify(a,true);g.pos=g.tpos-g.cb+g.tb;g.minSize=g.size;this.justify(g,true);if(this.overlayBox){this.sizeOverlayBox()}}},fitOverlayBox:function(b,c){var a=this.x,d=this.y;if(this.overlayBox&&(this.isImage||this.allowHeightReduction)){while(d.size>this.minHeight&&a.size>this.minWidth&&d.get("wsize")>d.get("fitsize")){d.size-=10;if(b){a.size=d.size*b}this.sizeOverlayBox(0,1);c=true}}return c},reflow:function(){if(this.scrollerDiv){var a=/iframe/i.test(this.scrollerDiv.tagName)?(this.getIframePageHeight()+1)+"px":"auto";if(this.body){this.body.style.height=a}this.scrollerDiv.style.height=a;this.y.setSize(this.innerContent.offsetHeight)}},show:function(){var a=this.x,b=this.y;this.doShowHide("hidden");hs.fireEvent(this,"onBeforeExpand");if(this.slideshow&&this.slideshow.thumbstrip){this.slideshow.thumbstrip.selectThumb()}this.changeSize(1,{wrapper:{width:a.get("wsize"),height:b.get("wsize"),left:a.pos,top:b.pos},content:{left:a.p1+a.get("imgPad"),top:b.p1+b.get("imgPad"),width:a.imgSize||a.size,height:b.imgSize||b.size}},hs.expandDuration)},changeSize:function(d,i,b){var k=this.transitions,e=d?(this.last?this.last.a:null):hs.upcoming,j=(k[1]&&e&&hs.getParam(e,"transitions")[1]==k[1])?k[1]:k[0];if(this[j]&&j!="expand"){this[j](d,i);return}if(this.outline&&!this.outlineWhileAnimating){if(d){this.outline.setPosition()}else{this.outline.destroy((this.isHtml&&this.preserveContent))}}if(!d){this.destroyOverlays()}var c=this,h=c.x,g=c.y,f=this.easing;if(!d){f=this.easingClose||f}var a=d?function(){if(c.outline){c.outline.table.style.visibility="visible"}setTimeout(function(){c.afterExpand()},50)}:function(){c.afterClose()};if(d){hs.setStyles(this.wrapper,{width:h.t+"px",height:g.t+"px"})}if(d&&this.isHtml){hs.setStyles(this.wrapper,{left:(h.tpos-h.cb+h.tb)+"px",top:(g.tpos-g.cb+g.tb)+"px"})}if(this.fadeInOut){hs.setStyles(this.wrapper,{opacity:d?0:1});hs.extend(i.wrapper,{opacity:d})}hs.animate(this.wrapper,i.wrapper,{duration:b,easing:f,step:function(n,l){if(c.outline&&c.outlineWhileAnimating&&l.prop=="top"){var m=d?l.pos:1-l.pos;var o={w:h.t+(h.get("wsize")-h.t)*m,h:g.t+(g.get("wsize")-g.t)*m,x:h.tpos+(h.pos-h.tpos)*m,y:g.tpos+(g.pos-g.tpos)*m};c.outline.setPosition(o,0,1)}if(c.isHtml){if(l.prop=="left"){c.mediumContent.style.left=(h.pos-n)+"px"}if(l.prop=="top"){c.mediumContent.style.top=(g.pos-n)+"px"}}}});hs.animate(this.content,i.content,b,f,a);if(d){this.wrapper.style.visibility="visible";this.content.style.visibility="visible";if(this.isHtml){this.innerContent.style.visibility="visible"}this.a.className+=" highslide-active-anchor"}},fade:function(f,h){this.outlineWhileAnimating=false;var c=this,j=f?hs.expandDuration:0;if(f){hs.animate(this.wrapper,h.wrapper,0);hs.setStyles(this.wrapper,{opacity:0,visibility:"visible"});hs.animate(this.content,h.content,0);this.content.style.visibility="visible";hs.animate(this.wrapper,{opacity:1},j,null,function(){c.afterExpand()})}if(this.outline){this.outline.table.style.zIndex=this.wrapper.style.zIndex;var b=f||-1,d=this.outline.offset,a=f?3:d,g=f?d:3;for(var e=a;b*e<=b*g;e+=b,j+=25){(function(){var i=f?g-e:a-e;setTimeout(function(){c.outline.setPosition(0,i,1)},j)})()}}if(f){}else{setTimeout(function(){if(c.outline){c.outline.destroy(c.preserveContent)}c.destroyOverlays();hs.animate(c.wrapper,{opacity:0},hs.restoreDuration,null,function(){c.afterClose()})},j)}},crossfade:function(g,o,p){if(!g){return}var f=this,q=this.last,m=this.x,l=this.y,d=q.x,b=q.y,a=this.wrapper,j=this.content,c=this.overlayBox;hs.removeEventListener(document,"mousemove",hs.dragHandler);hs.setStyles(j,{width:(m.imgSize||m.size)+"px",height:(l.imgSize||l.size)+"px"});if(c){c.style.overflow="visible"}this.outline=q.outline;if(this.outline){this.outline.exp=f}q.outline=null;var i=hs.createElement("div",{className:"highslide-image"},{position:"absolute",zIndex:4,overflow:"hidden",display:"none"});var k={oldImg:q,newImg:this};for(var e in k){this[e]=k[e].content.cloneNode(1);hs.setStyles(this[e],{position:"absolute",border:0,visibility:"visible"});i.appendChild(this[e])}a.appendChild(i);if(this.isHtml){hs.setStyles(this.mediumContent,{left:0,top:0})}if(c){c.className="";a.appendChild(c)}i.style.display="";q.content.style.display="none";if(hs.safari){var h=navigator.userAgent.match(/Safari\/([0-9]{3})/);if(h&&parseInt(h[1])<525){this.wrapper.style.visibility="visible"}}hs.animate(a,{width:m.size},{duration:hs.transitionDuration,step:function(w,s){var z=s.pos,r=1-z;var y,u={},v=["pos","size","p1","p2"];for(var x in v){y=v[x];u["x"+y]=Math.round(r*d[y]+z*m[y]);u["y"+y]=Math.round(r*b[y]+z*l[y]);u.ximgSize=Math.round(r*(d.imgSize||d.size)+z*(m.imgSize||m.size));u.ximgPad=Math.round(r*d.get("imgPad")+z*m.get("imgPad"));u.yimgSize=Math.round(r*(b.imgSize||b.size)+z*(l.imgSize||l.size));u.yimgPad=Math.round(r*b.get("imgPad")+z*l.get("imgPad"))}if(f.outline){f.outline.setPosition({x:u.xpos,y:u.ypos,w:u.xsize+u.xp1+u.xp2+2*m.cb,h:u.ysize+u.yp1+u.yp2+2*l.cb})}q.wrapper.style.clip="rect("+(u.ypos-b.pos)+"px, "+(u.xsize+u.xp1+u.xp2+u.xpos+2*d.cb-d.pos)+"px, "+(u.ysize+u.yp1+u.yp2+u.ypos+2*b.cb-b.pos)+"px, "+(u.xpos-d.pos)+"px)";hs.setStyles(j,{top:(u.yp1+l.get("imgPad"))+"px",left:(u.xp1+m.get("imgPad"))+"px",marginTop:(l.pos-u.ypos)+"px",marginLeft:(m.pos-u.xpos)+"px"});hs.setStyles(a,{top:u.ypos+"px",left:u.xpos+"px",width:(u.xp1+u.xp2+u.xsize+2*m.cb)+"px",height:(u.yp1+u.yp2+u.ysize+2*l.cb)+"px"});hs.setStyles(i,{width:(u.ximgSize||u.xsize)+"px",height:(u.yimgSize||u.ysize)+"px",left:(u.xp1+u.ximgPad)+"px",top:(u.yp1+u.yimgPad)+"px",visibility:"visible"});hs.setStyles(f.oldImg,{top:(b.pos-u.ypos+b.p1-u.yp1+b.get("imgPad")-u.yimgPad)+"px",left:(d.pos-u.xpos+d.p1-u.xp1+d.get("imgPad")-u.ximgPad)+"px"});hs.setStyles(f.newImg,{opacity:z,top:(l.pos-u.ypos+l.p1-u.yp1+l.get("imgPad")-u.yimgPad)+"px",left:(m.pos-u.xpos+m.p1-u.xp1+m.get("imgPad")-u.ximgPad)+"px"});if(c){hs.setStyles(c,{width:u.xsize+"px",height:u.ysize+"px",left:(u.xp1+m.cb)+"px",top:(u.yp1+l.cb)+"px"})}},complete:function(){a.style.visibility=j.style.visibility="visible";j.style.display="block";i.style.display="none";f.a.className+=" highslide-active-anchor";f.afterExpand();q.afterClose();f.last=null}})},reuseOverlay:function(d,c){if(!this.last){return false}for(var b=0;b<this.last.overlays.length;b++){var a=hs.$("hsId"+this.last.overlays[b]);if(a&&a.hsId==d.hsId){this.genOverlayBox();a.reuse=this.key;hs.push(this.overlays,this.last.overlays[b]);return true}}return false},afterExpand:function(){this.isExpanded=true;this.focus();if(this.isHtml&&this.objectLoadTime=="after"){this.writeExtendedContent()}if(this.iframe){try{var g=this,f=this.iframe.contentDocument||this.iframe.contentWindow.document;hs.addEventListener(f,"mousedown",function(){if(hs.focusKey!=g.key){g.focus()}})}catch(d){}if(hs.ie&&typeof this.isClosing!="boolean"){this.iframe.style.width=(this.objectWidth-1)+"px"}}if(this.dimmingOpacity){hs.dim(this)}if(hs.upcoming&&hs.upcoming==this.a){hs.upcoming=null}this.prepareNextOutline();var c=hs.page,b=hs.mouse.x+c.scrollLeft,a=hs.mouse.y+c.scrollTop;this.mouseIsOver=this.x.pos<b&&b<this.x.pos+this.x.get("wsize")&&this.y.pos<a&&a<this.y.pos+this.y.get("wsize");if(this.overlayBox){this.showOverlays()}hs.fireEvent(this,"onAfterExpand")},prepareNextOutline:function(){var a=this.key;var b=this.outlineType;new hs.Outline(b,function(){try{hs.expanders[a].preloadNext()}catch(c){}})},preloadNext:function(){var b=this.getAdjacentAnchor(1);if(b&&b.onclick.toString().match(/hs\.expand/)){var a=hs.createElement("img",{src:hs.getSrc(b)})}},getAdjacentAnchor:function(c){var b=this.getAnchorIndex(),a=hs.anchors.groups[this.slideshowGroup||"none"];if(!a[b+c]&&this.slideshow&&this.slideshow.repeat){if(c==1){return a[0]}else{if(c==-1){return a[a.length-1]}}}return a[b+c]||null},getAnchorIndex:function(){var a=hs.getAnchors().groups[this.slideshowGroup||"none"];if(a){for(var b=0;b<a.length;b++){if(a[b]==this.a){return b}}}return null},getNumber:function(){if(this[this.numberPosition]){var a=hs.anchors.groups[this.slideshowGroup||"none"];if(a){var b=hs.lang.number.replace("%1",this.getAnchorIndex()+1).replace("%2",a.length);this[this.numberPosition].innerHTML='<div class="highslide-number">'+b+"</div>"+this[this.numberPosition].innerHTML}}},initSlideshow:function(){if(!this.last){for(var c=0;c<hs.slideshows.length;c++){var b=hs.slideshows[c],d=b.slideshowGroup;if(typeof d=="undefined"||d===null||d===this.slideshowGroup){this.slideshow=new hs.Slideshow(this.key,b)}}}else{this.slideshow=this.last.slideshow}var b=this.slideshow;if(!b){return}var a=b.expKey=this.key;b.checkFirstAndLast();b.disable("full-expand");if(b.controls){var e=b.overlayOptions||{};e.overlayId=b.controls;e.hsId="controls";this.createOverlay(e)}if(b.thumbstrip){b.thumbstrip.add(this)}if(!this.last&&this.autoplay){b.play(true)}if(b.autoplay){b.autoplay=setTimeout(function(){hs.next(a)},(b.interval||500))}},cancelLoading:function(){hs.discardElement(this.wrapper);hs.expanders[this.key]=null;if(hs.upcoming==this.a){hs.upcoming=null}hs.undim(this.key);if(this.loading){hs.loading.style.left="-9999px"}hs.fireEvent(this,"onHideLoading")},writeCredits:function(){if(this.credits){return}this.credits=hs.createElement("a",{href:hs.creditsHref,target:hs.creditsTarget,className:"highslide-credits",innerHTML:hs.lang.creditsText,title:hs.lang.creditsTitle});this.createOverlay({overlayId:this.credits,position:this.creditsPosition||"top left",hsId:"credits"})},getInline:function(types,addOverlay){for(var i=0;i<types.length;i++){var type=types[i],s=null;if(type=="caption"&&!hs.fireEvent(this,"onBeforeGetCaption")){return}else{if(type=="heading"&&!hs.fireEvent(this,"onBeforeGetHeading")){return}}if(!this[type+"Id"]&&this.thumbsUserSetId){this[type+"Id"]=type+"-for-"+this.thumbsUserSetId}if(this[type+"Id"]){this[type]=hs.getNode(this[type+"Id"])}if(!this[type]&&!this[type+"Text"]&&this[type+"Eval"]){try{s=eval(this[type+"Eval"])}catch(e){}}if(!this[type]&&this[type+"Text"]){s=this[type+"Text"]}if(!this[type]&&!s){this[type]=hs.getNode(this.a["_"+type+"Id"]);if(!this[type]){var next=this.a.nextSibling;while(next&&!hs.isHsAnchor(next)){if((new RegExp("highslide-"+type)).test(next.className||null)){if(!next.id){this.a["_"+type+"Id"]=next.id="hsId"+hs.idCounter++}this[type]=hs.getNode(next.id);break}next=next.nextSibling}}}if(!this[type]&&!s&&this.numberPosition==type){s="\n"}if(!this[type]&&s){this[type]=hs.createElement("div",{className:"highslide-"+type,innerHTML:s})}if(addOverlay&&this[type]){var o={position:(type=="heading")?"above":"below"};for(var x in this[type+"Overlay"]){o[x]=this[type+"Overlay"][x]}o.overlayId=this[type];this.createOverlay(o)}}},doShowHide:function(a){if(hs.hideSelects){this.showHideElements("SELECT",a)}if(hs.hideIframes){this.showHideElements("IFRAME",a)}if(hs.geckoMac){this.showHideElements("*",a)}},showHideElements:function(c,b){var e=document.getElementsByTagName(c);var a=c=="*"?"overflow":"visibility";for(var f=0;f<e.length;f++){if(a=="visibility"||(document.defaultView.getComputedStyle(e[f],"").getPropertyValue("overflow")=="auto"||e[f].getAttribute("hidden-by")!=null)){var h=e[f].getAttribute("hidden-by");if(b=="visible"&&h){h=h.replace("["+this.key+"]","");e[f].setAttribute("hidden-by",h);if(!h){e[f].style[a]=e[f].origProp}}else{if(b=="hidden"){var k=hs.getPosition(e[f]);k.w=e[f].offsetWidth;k.h=e[f].offsetHeight;if(!this.dimmingOpacity){var j=(k.x+k.w<this.x.get("opos")||k.x>this.x.get("opos")+this.x.get("osize"));var g=(k.y+k.h<this.y.get("opos")||k.y>this.y.get("opos")+this.y.get("osize"))}var d=hs.getWrapperKey(e[f]);if(!j&&!g&&d!=this.key){if(!h){e[f].setAttribute("hidden-by","["+this.key+"]");e[f].origProp=e[f].style[a];e[f].style[a]="hidden"}else{if(h.indexOf("["+this.key+"]")==-1){e[f].setAttribute("hidden-by",h+"["+this.key+"]")}}}else{if((h=="["+this.key+"]"||hs.focusKey==d)&&d!=this.key){e[f].setAttribute("hidden-by","");e[f].style[a]=e[f].origProp||""}else{if(h&&h.indexOf("["+this.key+"]")>-1){e[f].setAttribute("hidden-by",h.replace("["+this.key+"]",""))}}}}}}}},focus:function(){this.wrapper.style.zIndex=hs.zIndexCounter+=2;for(var a=0;a<hs.expanders.length;a++){if(hs.expanders[a]&&a==hs.focusKey){var b=hs.expanders[a];b.content.className+=" highslide-"+b.contentType+"-blur";if(b.isImage){b.content.style.cursor=hs.ie?"hand":"pointer";b.content.title=hs.lang.focusTitle}hs.fireEvent(b,"onBlur")}}if(this.outline){this.outline.table.style.zIndex=this.wrapper.style.zIndex-1}this.content.className="highslide-"+this.contentType;if(this.isImage){this.content.title=hs.lang.restoreTitle;if(hs.restoreCursor){hs.styleRestoreCursor=window.opera?"pointer":"url("+hs.graphicsDir+hs.restoreCursor+"), pointer";if(hs.ie&&hs.uaVersion<6){hs.styleRestoreCursor="hand"}this.content.style.cursor=hs.styleRestoreCursor}}hs.focusKey=this.key;hs.addEventListener(document,window.opera?"keypress":"keydown",hs.keyHandler);hs.fireEvent(this,"onFocus")},moveTo:function(a,b){this.x.setPos(a);this.y.setPos(b)},resize:function(d){var a,b,c=d.width/d.height;a=Math.max(d.width+d.dX,Math.min(this.minWidth,this.x.full));if(this.isImage&&Math.abs(a-this.x.full)<12){a=this.x.full}b=this.isHtml?d.height+d.dY:a/c;if(b<Math.min(this.minHeight,this.y.full)){b=Math.min(this.minHeight,this.y.full);if(this.isImage){a=b*c}}this.resizeTo(a,b)},resizeTo:function(a,b){this.y.setSize(b);this.x.setSize(a);this.wrapper.style.height=this.y.get("wsize")+"px"},close:function(){if(this.isClosing||!this.isExpanded){return}if(this.transitions[1]=="crossfade"&&hs.upcoming){hs.getExpander(hs.upcoming).cancelLoading();hs.upcoming=null}if(!hs.fireEvent(this,"onBeforeClose")){return}this.isClosing=true;if(this.slideshow&&!hs.upcoming){this.slideshow.pause()}hs.removeEventListener(document,window.opera?"keypress":"keydown",hs.keyHandler);try{if(this.isHtml){this.htmlPrepareClose()}this.content.style.cursor="default";this.changeSize(0,{wrapper:{width:this.x.t,height:this.y.t,left:this.x.tpos-this.x.cb+this.x.tb,top:this.y.tpos-this.y.cb+this.y.tb},content:{left:0,top:0,width:this.x.t,height:this.y.t}},hs.restoreDuration)}catch(a){this.afterClose()}},htmlPrepareClose:function(){if(hs.geckoMac){if(!hs.mask){hs.mask=hs.createElement("div",null,{position:"absolute"},hs.container)}hs.setStyles(hs.mask,{width:this.x.size+"px",height:this.y.size+"px",left:this.x.pos+"px",top:this.y.pos+"px",display:"block"})}if(this.objectType=="swf"){try{hs.$(this.body.id).StopPlay()}catch(a){}}if(this.objectLoadTime=="after"&&!this.preserveContent){this.destroyObject()}if(this.scrollerDiv&&this.scrollerDiv!=this.scrollingContent){this.scrollerDiv.style.overflow="hidden"}},destroyObject:function(){if(hs.ie&&this.iframe){try{this.iframe.contentWindow.document.body.innerHTML=""}catch(a){}}if(this.objectType=="swf"){swfobject.removeSWF(this.body.id)}else{if(jsQuery){$("#"+this.body.id).html("")}}this.body.innerHTML=""},sleep:function(){if(this.outline){this.outline.table.style.display="none"}this.releaseMask=null;this.wrapper.style.display="none";hs.push(hs.sleeping,this)},awake:function(){try{hs.expanders[this.key]=this;if(!hs.allowMultipleInstances&&hs.focusKey!=this.key){try{hs.expanders[hs.focusKey].close()}catch(b){}}var d=hs.zIndexCounter++,a={display:"",zIndex:d};hs.setStyles(this.wrapper,a);this.isClosing=false;var c=this.outline||0;if(c){if(!this.outlineWhileAnimating){a.visibility="hidden"}hs.setStyles(c.table,a)}if(this.slideshow){this.initSlideshow()}this.show()}catch(b){}},createOverlay:function(e){var d=e.overlayId,a=(e.relativeTo=="viewport"&&!/panel$/.test(e.position));if(typeof d=="string"){d=hs.getNode(d)}if(e.html){d=hs.createElement("div",{innerHTML:e.html})}if(!d||typeof d=="string"){return}if(!hs.fireEvent(this,"onCreateOverlay",{overlay:d})){return}d.style.display="block";e.hsId=e.hsId||e.overlayId;if(this.transitions[1]=="crossfade"&&this.reuseOverlay(e,d)){return}this.genOverlayBox();var c=e.width&&/^[0-9]+(px|%)$/.test(e.width)?e.width:"auto";if(/^(left|right)panel$/.test(e.position)&&!/^[0-9]+px$/.test(e.width)){c="200px"}var b=hs.createElement("div",{id:"hsId"+hs.idCounter++,hsId:e.hsId},{position:"absolute",visibility:"hidden",width:c,direction:hs.lang.cssDirection||"",opacity:0},a?hs.viewport:this.overlayBox,true);if(a){b.hsKey=this.key}b.appendChild(d);hs.extend(b,{opacity:1,offsetX:0,offsetY:0,dur:(e.fade===0||e.fade===false||(e.fade==2&&hs.ie))?0:250});hs.extend(b,e);if(this.gotOverlays){this.positionOverlay(b);if(!b.hideOnMouseOut||this.mouseIsOver){hs.animate(b,{opacity:b.opacity},b.dur)}}hs.push(this.overlays,hs.idCounter-1)},positionOverlay:function(e){var f=e.position||"middle center",c=(e.relativeTo=="viewport"),b=e.offsetX,a=e.offsetY;if(c){hs.viewport.style.display="block";e.hsKey=this.key;if(e.offsetWidth>e.parentNode.offsetWidth){e.style.width="100%"}}else{if(e.parentNode!=this.overlayBox){this.overlayBox.appendChild(e)}}if(/left$/.test(f)){e.style.left=b+"px"}if(/center$/.test(f)){hs.setStyles(e,{left:"50%",marginLeft:(b-Math.round(e.offsetWidth/2))+"px"})}if(/right$/.test(f)){e.style.right=-b+"px"}if(/^leftpanel$/.test(f)){hs.setStyles(e,{right:"100%",marginRight:this.x.cb+"px",top:-this.y.cb+"px",bottom:-this.y.cb+"px",overflow:"auto"});this.x.p1=e.offsetWidth}else{if(/^rightpanel$/.test(f)){hs.setStyles(e,{left:"100%",marginLeft:this.x.cb+"px",top:-this.y.cb+"px",bottom:-this.y.cb+"px",overflow:"auto"});this.x.p2=e.offsetWidth}}var d=e.parentNode.offsetHeight;e.style.height="auto";if(c&&e.offsetHeight>d){e.style.height=hs.ieLt7?d+"px":"100%"}if(/^top/.test(f)){e.style.top=a+"px"}if(/^middle/.test(f)){hs.setStyles(e,{top:"50%",marginTop:(a-Math.round(e.offsetHeight/2))+"px"})}if(/^bottom/.test(f)){e.style.bottom=-a+"px"}if(/^above$/.test(f)){hs.setStyles(e,{left:(-this.x.p1-this.x.cb)+"px",right:(-this.x.p2-this.x.cb)+"px",bottom:"100%",marginBottom:this.y.cb+"px",width:"auto"});this.y.p1=e.offsetHeight}else{if(/^below$/.test(f)){hs.setStyles(e,{position:"relative",left:(-this.x.p1-this.x.cb)+"px",right:(-this.x.p2-this.x.cb)+"px",top:"100%",marginTop:this.y.cb+"px",width:"auto"});this.y.p2=e.offsetHeight;e.style.position="absolute"}}},getOverlays:function(){this.getInline(["heading","caption"],true);this.getNumber();if(this.caption){hs.fireEvent(this,"onAfterGetCaption")}if(this.heading){hs.fireEvent(this,"onAfterGetHeading")}if(this.heading&&this.dragByHeading){this.heading.className+=" highslide-move"}if(hs.showCredits){this.writeCredits()}for(var a=0;a<hs.overlays.length;a++){var d=hs.overlays[a],e=d.thumbnailId,b=d.slideshowGroup;if((!e&&!b)||(e&&e==this.thumbsUserSetId)||(b&&b===this.slideshowGroup)){if(this.isImage||(this.isHtml&&d.useOnHtml)){this.createOverlay(d)}}}var c=[];for(var a=0;a<this.overlays.length;a++){var d=hs.$("hsId"+this.overlays[a]);if(/panel$/.test(d.position)){this.positionOverlay(d)}else{hs.push(c,d)}}for(var a=0;a<c.length;a++){this.positionOverlay(c[a])}this.gotOverlays=true},genOverlayBox:function(){if(!this.overlayBox){this.overlayBox=hs.createElement("div",{className:this.wrapperClassName},{position:"absolute",width:(this.x.size||(this.useBox?this.width:null)||this.x.full)+"px",height:(this.y.size||this.y.full)+"px",visibility:"hidden",overflow:"hidden",zIndex:hs.ie?4:"auto"},hs.container,true)}},sizeOverlayBox:function(f,d){var c=this.overlayBox,a=this.x,h=this.y;hs.setStyles(c,{width:a.size+"px",height:h.size+"px"});if(f||d){for(var e=0;e<this.overlays.length;e++){var g=hs.$("hsId"+this.overlays[e]);var b=(hs.ieLt7||document.compatMode=="BackCompat");if(g&&/^(above|below)$/.test(g.position)){if(b){g.style.width=(c.offsetWidth+2*a.cb+a.p1+a.p2)+"px"}h[g.position=="above"?"p1":"p2"]=g.offsetHeight}if(g&&b&&/^(left|right)panel$/.test(g.position)){g.style.height=(c.offsetHeight+2*h.cb)+"px"}}}if(f){hs.setStyles(this.content,{top:h.p1+"px"});hs.setStyles(c,{top:(h.p1+h.cb)+"px"})}},showOverlays:function(){var a=this.overlayBox;a.className="";hs.setStyles(a,{top:(this.y.p1+this.y.cb)+"px",left:(this.x.p1+this.x.cb)+"px",overflow:"visible"});if(hs.safari){a.style.visibility="visible"}this.wrapper.appendChild(a);for(var c=0;c<this.overlays.length;c++){var d=hs.$("hsId"+this.overlays[c]);d.style.zIndex=d.hsId=="controls"?5:4;if(!d.hideOnMouseOut||this.mouseIsOver){d.style.visibility="visible";hs.setStyles(d,{visibility:"visible",display:""});hs.animate(d,{opacity:d.opacity},d.dur)}}},destroyOverlays:function(){if(!this.overlays.length){return}if(this.slideshow){var d=this.slideshow.controls;if(d&&hs.getExpander(d)==this){d.parentNode.removeChild(d)}}for(var a=0;a<this.overlays.length;a++){var b=hs.$("hsId"+this.overlays[a]);if(b&&b.parentNode==hs.viewport&&hs.getExpander(b)==this){hs.discardElement(b)}}if(this.isHtml&&this.preserveContent){this.overlayBox.style.top="-9999px";hs.container.appendChild(this.overlayBox)}else{hs.discardElement(this.overlayBox)}},createFullExpand:function(){if(this.slideshow&&this.slideshow.controls){this.slideshow.enable("full-expand");return}this.fullExpandLabel=hs.createElement("a",{href:"javascript:hs.expanders["+this.key+"].doFullExpand();",title:hs.lang.fullExpandTitle,className:"highslide-full-expand"});if(!hs.fireEvent(this,"onCreateFullExpand")){return}this.createOverlay({overlayId:this.fullExpandLabel,position:hs.fullExpandPosition,hideOnMouseOut:true,opacity:hs.fullExpandOpacity})},doFullExpand:function(){try{if(!hs.fireEvent(this,"onDoFullExpand")){return}if(this.fullExpandLabel){hs.discardElement(this.fullExpandLabel)}this.focus();var b=this.x.size;this.resizeTo(this.x.full,this.y.full);var a=this.x.pos-(this.x.size-b)/2;if(a<hs.marginLeft){a=hs.marginLeft}this.moveTo(a,this.y.pos);this.doShowHide("hidden")}catch(c){this.error(c)}},afterClose:function(){this.a.className=this.a.className.replace("highslide-active-anchor","");this.doShowHide("visible");if(this.isHtml&&this.preserveContent&&this.transitions[1]!="crossfade"){this.sleep()}else{if(this.outline&&this.outlineWhileAnimating){this.outline.destroy()}hs.discardElement(this.wrapper)}if(hs.mask){hs.mask.style.display="none"}this.destroyOverlays();if(!hs.viewport.childNodes.length){hs.viewport.style.display="none"}if(this.dimmingOpacity){hs.undim(this.key)}hs.fireEvent(this,"onAfterClose");hs.expanders[this.key]=null;hs.reOrder()}};hs.Ajax=function(b,c,d){this.a=b;this.content=c;this.pre=d};hs.Ajax.prototype={run:function(){var d;if(!this.src){this.src=hs.getSrc(this.a)}if(this.src.match("#")){var a=this.src.split("#");this.src=a[0];this.id=a[1]}if(hs.cachedGets[this.src]){this.cachedGet=hs.cachedGets[this.src];if(this.id){this.getElementContent()}else{this.loadHTML()}return}try{d=new XMLHttpRequest()}catch(b){try{d=new ActiveXObject("Msxml2.XMLHTTP")}catch(b){try{d=new ActiveXObject("Microsoft.XMLHTTP")}catch(b){this.onError()}}}var f=this;d.onreadystatechange=function(){if(f.xhr.readyState==4){if(f.id){f.getElementContent()}else{f.loadHTML()}}};var c=this.src;this.xhr=d;if(hs.forceAjaxReload){c=c.replace(/$/,(/\?/.test(c)?"&":"?")+"dummy="+(new Date()).getTime())}d.open("GET",c,true);d.setRequestHeader("X-Requested-With","XMLHttpRequest");d.setRequestHeader("Content-Type","application/x-www-form-urlencoded");d.send(null)},getElementContent:function(){hs.init();var a=window.opera||hs.ie6SSL?{src:"about:blank"}:null;this.iframe=hs.createElement("iframe",a,{position:"absolute",top:"-9999px"},hs.container);this.loadHTML()},loadHTML:function(){var c=this.cachedGet||this.xhr.responseText,b;if(this.pre){hs.cachedGets[this.src]=c}if(!hs.ie||hs.uaVersion>=5.5){c=c.replace(new RegExp("<link[^>]*>","gi"),"").replace(new RegExp("<script[^>]*>.*?<\/script>","gi"),"");if(this.iframe){var f=this.iframe.contentDocument;if(!f&&this.iframe.contentWindow){f=this.iframe.contentWindow.document}if(!f){var g=this;setTimeout(function(){g.loadHTML()},25);return}f.open();f.write(c);f.close();try{c=f.getElementById(this.id).innerHTML}catch(d){try{c=this.iframe.document.getElementById(this.id).innerHTML}catch(d){}}hs.discardElement(this.iframe)}else{b=/(<body[^>]*>|<\/body>)/ig;if(b.test(c)){c=c.split(b)[hs.ie?1:2]}}}hs.getElementByClass(this.content,"DIV","highslide-body").innerHTML=c;this.onLoad();for(var a in this){this[a]=null}}};hs.Slideshow=function(c,b){if(hs.dynamicallyUpdateAnchors!==false){hs.updateAnchors()}this.expKey=c;for(var a in b){this[a]=b[a]}if(this.useControls){this.getControls()}if(this.thumbstrip){this.thumbstrip=hs.Thumbstrip(this)}};hs.Slideshow.prototype={getControls:function(){this.controls=hs.createElement("div",{innerHTML:hs.replaceLang(hs.skin.controls)},null,hs.container);var b=["play","pause","previous","next","move","full-expand","close"];this.btn={};var c=this;for(var a=0;a<b.length;a++){this.btn[b[a]]=hs.getElementByClass(this.controls,"li","highslide-"+b[a]);this.enable(b[a])}this.btn.pause.style.display="none"},checkFirstAndLast:function(){if(this.repeat||!this.controls){return}var c=hs.expanders[this.expKey],b=c.getAnchorIndex(),a=/disabled$/;if(b==0){this.disable("previous")}else{if(a.test(this.btn.previous.getElementsByTagName("a")[0].className)){this.enable("previous")}}if(b+1==hs.anchors.groups[c.slideshowGroup||"none"].length){this.disable("next");this.disable("play")}else{if(a.test(this.btn.next.getElementsByTagName("a")[0].className)){this.enable("next");this.enable("play")}}},enable:function(d){if(!this.btn){return}var c=this,b=this.btn[d].getElementsByTagName("a")[0],e=/disabled$/;b.onclick=function(){c[d]();return false};if(e.test(b.className)){b.className=b.className.replace(e,"")}},disable:function(c){if(!this.btn){return}var b=this.btn[c].getElementsByTagName("a")[0];b.onclick=function(){return false};if(!/disabled$/.test(b.className)){b.className+=" disabled"}},hitSpace:function(){if(this.autoplay){this.pause()}else{this.play()}},play:function(a){if(this.btn){this.btn.play.style.display="none";this.btn.pause.style.display=""}this.autoplay=true;if(!a){hs.next(this.expKey)}},pause:function(){if(this.btn){this.btn.pause.style.display="none";this.btn.play.style.display=""}clearTimeout(this.autoplay);this.autoplay=null},previous:function(){this.pause();hs.previous(this.btn.previous)},next:function(){this.pause();hs.next(this.btn.next)},move:function(){},"full-expand":function(){hs.getExpander().doFullExpand()},close:function(){hs.close(this.btn.close)}};hs.Thumbstrip=function(k){function p(i){hs.extend(f||{},{overlayId:r,hsId:"thumbstrip",className:"highslide-thumbstrip-"+m+"-overlay "+(f.className||"")});if(hs.ieLt7){f.fade=0}i.createOverlay(f);hs.setStyles(r.parentNode,{overflow:"hidden"})}function c(i){d(undefined,Math.round(i*r[h?"offsetWidth":"offsetHeight"]*0.7))}function d(M,N){if(M===undefined){for(var L=0;L<j.length;L++){if(j[L]==hs.expanders[k.expKey].a){M=L;break}}}if(M===undefined){return}var H=r.getElementsByTagName("a"),A=H[M],x=A.parentNode,z=h?"Left":"Top",O=h?"Right":"Bottom",J=h?"Width":"Height",C="offset"+z,I="offset"+J,y=n.parentNode.parentNode[I],G=y-s[I],w=parseInt(s.style[h?"left":"top"])||0,D=w,E=20;if(N!==undefined){D=w-N;if(G>0){G=0}if(D>0){D=0}if(D<G){D=G}}else{for(var L=0;L<H.length;L++){H[L].className=""}A.className="highslide-active-anchor";var K=M>0?H[M-1].parentNode[C]:x[C],B=x[C]+x[I]+(H[M+1]?H[M+1].parentNode[I]:0);if(B>y-w){D=y-B}else{if(K<-w){D=-K}}}var F=x[C]+(x[I]-g[I])/2+D;hs.animate(s,h?{left:D}:{top:D},null,"easeOutQuad");hs.animate(g,h?{left:F}:{top:F},null,"easeOutQuad");l.style.display=D<0?"block":"none";u.style.display=(D>G)?"block":"none"}var j=hs.anchors.groups[hs.expanders[k.expKey].slideshowGroup||"none"],f=k.thumbstrip,m=f.mode||"horizontal",v=(m=="float"),o=v?["div","ul","li","span"]:["table","tbody","tr","td"],h=(m=="horizontal"),r=hs.createElement("div",{className:"highslide-thumbstrip highslide-thumbstrip-"+m,innerHTML:'<div class="highslide-thumbstrip-inner"><'+o[0]+"><"+o[1]+"></"+o[1]+"></"+o[0]+'></div><div class="highslide-scroll-up"><div></div></div><div class="highslide-scroll-down"><div></div></div><div class="highslide-marker"><div></div></div>'},{display:"none"},hs.container),e=r.childNodes,n=e[0],l=e[1],u=e[2],g=e[3],s=n.firstChild,a=r.getElementsByTagName(o[1])[0],b;for(var q=0;q<j.length;q++){if(q==0||!h){b=hs.createElement(o[2],null,null,a)}(function(){var w=j[q],i=hs.createElement(o[3],null,null,b),x=q;hs.createElement("a",{href:w.href,onclick:function(){hs.getExpander(this).focus();return hs.transit(w)},innerHTML:hs.stripItemFormatter?hs.stripItemFormatter(w):w.innerHTML},null,i)})()}if(!v){l.onclick=function(){c(-1)};u.onclick=function(){c(1)};hs.addEventListener(a,document.onmousewheel!==undefined?"mousewheel":"DOMMouseScroll",function(i){var w=0;i=i||window.event;if(i.wheelDelta){w=i.wheelDelta/120;if(hs.opera){w=-w}}else{if(i.detail){w=-i.detail/3}}if(w){c(-w*0.2)}if(i.preventDefault){i.preventDefault()}i.returnValue=false})}return{add:p,selectThumb:d}};hs.langDefaults=hs.lang;var HsExpander=hs.Expander;if(hs.ie){(function(){try{document.documentElement.doScroll("left")}catch(a){setTimeout(arguments.callee,50);return}hs.ready()})()}hs.addEventListener(document,"DOMContentLoaded",hs.ready);hs.addEventListener(window,"load",hs.ready);hs.addEventListener(document,"ready",function(){if(hs.expandCursor||hs.dimmingOpacity){var c=hs.createElement("style",{type:"text/css"},null,document.getElementsByTagName("HEAD")[0]);function b(e,f){if(!hs.ie){c.appendChild(document.createTextNode(e+" {"+f+"}"))}else{var d=document.styleSheets[document.styleSheets.length-1];if(typeof(d.addRule)=="object"){d.addRule(e,f)}}}function a(d){return"expression( ( ( ignoreMe = document.documentElement."+d+" ? document.documentElement."+d+" : document.body."+d+" ) ) + 'px' );"}if(hs.expandCursor){b(".highslide img","cursor: url("+hs.graphicsDir+hs.expandCursor+"), pointer !important;")}b(".highslide-viewport-size",hs.ie&&(hs.uaVersion<7||document.compatMode=="BackCompat")?"position: absolute; left:"+a("scrollLeft")+"top:"+a("scrollTop")+"width:"+a("clientWidth")+"height:"+a("clientHeight"):"position: fixed; width: 100%; height: 100%; left: 0; top: 0")}});hs.addEventListener(window,"resize",function(){hs.getPageSize();if(hs.viewport){for(var a=0;a<hs.viewport.childNodes.length;a++){var b=hs.viewport.childNodes[a],c=hs.getExpander(b);c.positionOverlay(b);if(b.hsId=="thumbstrip"){c.slideshow.thumbstrip.selectThumb()}}}});hs.addEventListener(document,"mousemove",function(a){hs.mouse={x:a.clientX,y:a.clientY}});hs.addEventListener(document,"mousedown",hs.mouseClickHandler);hs.addEventListener(document,"mouseup",hs.mouseClickHandler);hs.addEventListener(document,"ready",hs.setClickEvents);hs.addEventListener(window,"load",hs.preloadImages);hs.addEventListener(window,"load",hs.preloadAjax);
/*
  Easing Equations v1.5
  May 1, 2003
  (c) 2003 Robert Penner, all rights reserved. 
  This work is subject to the terms in http://www.robertpenner.com/easing_terms_of_use.html.  
*/
}Math.linearTween=function(e,a,g,f){return g*e/f+a};Math.easeInQuad=function(e,a,g,f){return g*(e/=f)*e+a};Math.easeOutQuad=function(e,a,g,f){return -g*(e/=f)*(e-2)+a};Math.easeInOutQuad=function(e,a,g,f){if((e/=f/2)<1){return g/2*e*e+a}return -g/2*((--e)*(e-2)-1)+a};Math.easeInCubic=function(e,a,g,f){return g*(e/=f)*e*e+a};Math.easeOutCubic=function(e,a,g,f){return g*((e=e/f-1)*e*e+1)+a};Math.easeInOutCubic=function(e,a,g,f){if((e/=f/2)<1){return g/2*e*e*e+a}return g/2*((e-=2)*e*e+2)+a};Math.easeInQuart=function(e,a,g,f){return g*(e/=f)*e*e*e+a};Math.easeOutQuart=function(e,a,g,f){return -g*((e=e/f-1)*e*e*e-1)+a};Math.easeInOutQuart=function(e,a,g,f){if((e/=f/2)<1){return g/2*e*e*e*e+a}return -g/2*((e-=2)*e*e*e-2)+a};Math.easeInQuint=function(e,a,g,f){return g*(e/=f)*e*e*e*e+a};Math.easeOutQuint=function(e,a,g,f){return g*((e=e/f-1)*e*e*e*e+1)+a};Math.easeInOutQuint=function(e,a,g,f){if((e/=f/2)<1){return g/2*e*e*e*e*e+a}return g/2*((e-=2)*e*e*e*e+2)+a};Math.easeInSine=function(e,a,g,f){return -g*Math.cos(e/f*(Math.PI/2))+g+a};Math.easeOutSine=function(e,a,g,f){return g*Math.sin(e/f*(Math.PI/2))+a};Math.easeInOutSine=function(e,a,g,f){return -g/2*(Math.cos(Math.PI*e/f)-1)+a};Math.easeInExpo=function(e,a,g,f){return(e==0)?a:g*Math.pow(2,10*(e/f-1))+a};Math.easeOutExpo=function(e,a,g,f){return(e==f)?a+g:g*(-Math.pow(2,-10*e/f)+1)+a};Math.easeInOutExpo=function(e,a,g,f){if(e==0){return a}if(e==f){return a+g}if((e/=f/2)<1){return g/2*Math.pow(2,10*(e-1))+a}return g/2*(-Math.pow(2,-10*--e)+2)+a};Math.easeInCirc=function(e,a,g,f){return -g*(Math.sqrt(1-(e/=f)*e)-1)+a};Math.easeOutCirc=function(e,a,g,f){return g*Math.sqrt(1-(e=e/f-1)*e)+a};Math.easeInOutCirc=function(e,a,g,f){if((e/=f/2)<1){return -g/2*(Math.sqrt(1-e*e)-1)+a}return g/2*(Math.sqrt(1-(e-=2)*e)+1)+a};Math.easeInElastic=function(g,e,k,j,f,i){if(g==0){return e}if((g/=j)==1){return e+k}if(!i){i=j*0.3}if(f<Math.abs(k)){f=k;var h=i/4}else{var h=i/(2*Math.PI)*Math.asin(k/f)}return -(f*Math.pow(2,10*(g-=1))*Math.sin((g*j-h)*(2*Math.PI)/i))+e};Math.easeOutElastic=function(g,e,k,j,f,i){if(g==0){return e}if((g/=j)==1){return e+k}if(!i){i=j*0.3}if(f<Math.abs(k)){f=k;var h=i/4}else{var h=i/(2*Math.PI)*Math.asin(k/f)}return f*Math.pow(2,-10*g)*Math.sin((g*j-h)*(2*Math.PI)/i)+k+e};Math.easeInOutElastic=function(g,e,k,j,f,i){if(g==0){return e}if((g/=j/2)==2){return e+k}if(!i){i=j*(0.3*1.5)}if(f<Math.abs(k)){f=k;var h=i/4}else{var h=i/(2*Math.PI)*Math.asin(k/f)}if(g<1){return -0.5*(f*Math.pow(2,10*(g-=1))*Math.sin((g*j-h)*(2*Math.PI)/i))+e}return f*Math.pow(2,-10*(g-=1))*Math.sin((g*j-h)*(2*Math.PI)/i)*0.5+k+e};Math.easeInBack=function(e,a,h,g,f){if(f==undefined){f=1.70158}return h*(e/=g)*e*((f+1)*e-f)+a};Math.easeOutBack=function(e,a,h,g,f){if(f==undefined){f=1.70158}return h*((e=e/g-1)*e*((f+1)*e+f)+1)+a};Math.easeInOutBack=function(e,a,h,g,f){if(f==undefined){f=1.70158}if((e/=g/2)<1){return h/2*(e*e*(((f*=(1.525))+1)*e-f))+a}return h/2*((e-=2)*e*(((f*=(1.525))+1)*e+f)+2)+a};Math.easeInBounce=function(e,a,g,f){return g-Math.easeOutBounce(f-e,0,g,f)+a};Math.easeOutBounce=function(e,a,g,f){if((e/=f)<(1/2.75)){return g*(7.5625*e*e)+a}else{if(e<(2/2.75)){return g*(7.5625*(e-=(1.5/2.75))*e+0.75)+a}else{if(e<(2.5/2.75)){return g*(7.5625*(e-=(2.25/2.75))*e+0.9375)+a}else{return g*(7.5625*(e-=(2.625/2.75))*e+0.984375)+a}}}};Math.easeInOutBounce=function(e,a,g,f){if(e<f/2){return Math.easeInBounce(e*2,0,g,f)*0.5+a}return Math.easeOutBounce(e*2-f,0,g,f)*0.5+g*0.5+a};hs.Expander.prototype.onBeforeExpand=function(){if(/slow/.test(this.a.className)){this.a.oldExpandDuration=hs.expandDuration;this.a.oldExpandSteps=hs.expandSteps;hs.expandDuration=500;hs.expandSteps=20}};hs.Expander.prototype.onAfterExpand=function(){if(/slow/.test(this.a.className)){hs.expandDuration=this.a.oldExpandDuration;hs.expandSteps=this.a.oldExpandSteps}};hs.Expander.prototype.onBeforeClose=function(){if(/slow/.test(this.a.className)){this.a.oldRestoreDuration=hs.restoreDuration;this.a.oldRestoreSteps=hs.restoreSteps;hs.restoreDuration=500;hs.restoreSteps=20}};hs.Expander.prototype.onAfterClose=function(){if(/slow/.test(this.a.className)){hs.restoreDuration=this.a.oldRestoreDuration;hs.restoreSteps=this.a.oldRestoreSteps}};if(hs.addEventListener&&hs.Outline){hs.addEventListener(window,"load",function(){new hs.Outline("drop-shadow")})}$(document).ready(function(){if($.os.ios&&$("html").hasClass("iPad_native")){return}$("[rel^='lightbox']").each(function(){$(this).click(function(){var b=$(this).attr("rev");if(b){b=jQuery.array2Object(String(b).split(/;/))}if(!b){b={}}if($(this).attr("rel").indexOf("[tablepopup]")>0){b=jQuery.extend({objectType:"iframe",width:"860px",height:"600px"},b)}else{if($(this).attr("rel").indexOf("[notes]")>0){b=jQuery.extend({objectType:"iframe",width:"780px",height:"500px",align:"center"},b)}}if(b.width){b.width=NexxarLib.convertEM2PX(b.width)}if(b.height){b.height=NexxarLib.convertEM2PX(b.height)}if(b.heightIncrease){b.height+=NexxarLib.convertEM2PX(b.heightIncrease)}if(b.widthIncrease){b.width+=NexxarLib.convertEM2PX(b.widthIncrease)}if(b.href&&b.href.length>0&&$(this).attr("href")&&!$(this).attr("oldHREF")){$(this).attr("oldHREF",$(this).attr("href")).attr("href",b.href)}if($(this).attr("href").match(/\.(png|jpe?g|gif)$/)){var a="";return hs.expand($(this)[0],jQuery.extend(b,{align:"center",headingText:'<div class="highslide-header"><div class="titleText">'+a+'</div><a id="lightboxCloseButton" href="#" onclick="return hs.close(this);">&nbsp;</a><div class="clearFloat"></div></div>'}))}else{return hs.htmlExpand($(this)[0],b)}})})});function nexxar_lib_resizeLightboxIFrame(b,a,c){if(!b||b.length<=0){return}b=b.replace(/\?.*/,"");if(!a&&!c){return}$("iframe[src^='"+b+"']").parents("div.highslide-container").eq(0).each(function(){var j=$(this).find("iframe").height();var g=j;var d=$(this).find("td.highslide-outline").height();var f=0;var l=$(this).find("iframe").width();var e=l,k=l;var k=$(this).find("td.highslide-outline").width();var i=0;if(a&&a>=0){f=(a-j)/2}else{a=j}if(c&&c>=0){i=(c-l)/2}else{c=l}if(c==l&&a==j){return}$(this).find("div.highslide-body,div.highslide-html,iframe").css({height:a+"px",width:c+"px"});$(this).find("td.highslide-outline").css({height:(a-(j-d))+"px",width:(c-(l-k))+"px"});$(this).find("div.highslide-wrapper,table").each(function(){$(this).css({top:(parseInt($(this).css("top"))-f)+"px",left:(parseInt($(this).css("left"))-i)+"px"})})})}var NexxarLib={_minFlashVersion:"[Skin not found: flash_version]".replace(/\s+/g,""),pageUsesFlash:false,_registeredFlashObjects:[],currentPageID:-1,pageBaseURL:"/",defaultExtension:".html",defaultScriptExtension:".php",pageURLName:window.location.pathname.substring(window.location.pathname.lastIndexOf("/")+1).replace(/\.(php|html?|aspx?|jsp|jserv)$/i,""),pageExtension:window.location.pathname.substring(window.location.pathname.lastIndexOf("/")+1).replace(/^.*(\.(php|html?|aspx?|jsp|jserv))$/i,"$1"),isPagePrintVersion:(this.pageURLName=="print.html"||this.pageURLName=="print"||this.pageURLName=="print.php"||this.pageURLName=="print"+this.defaultExtension),convertEM2PX:function(b,a){if(!a){a=parseFloat($("html").css("font-size"),10)}if(b&&/^.*\dem$/.test(b)){return parseFloat(b,10)*a}else{if(b&&/^.*\d%$/.test(b)){return parseFloat(b,10)*100*a}else{if(b){return parseFloat(b,10)}}}return 0},activateLibrary:function(a,c){this.detectBasePath(a);this.currentPageID=c;try{$.cookies.setOptions({path:this.getBaseURLPath()})}catch(b){}if(typeof(hs)!="undefined"&&hs.graphicsDir){hs.graphicsDir=this.getBaseURLPath()+"/layout/img/hslide_"}},getBaseURLPath:function(){if(this.pageBaseURL&&this.pageBaseURL!="/"){return this.pageBaseURL}else{return""}},getBaseURLFull:function(){return window.location.protocol+"//"+window.location.host+this.getBaseURLPath()},getScriptBaseURL:function(){if(typeof(this._scriptBaseURL)=="string"&&this._scriptBaseURL.length>0){return this._scriptBaseURL}return this.getBaseURLFull()},setScriptBaseURL:function(a){this._scriptBaseURL=a},getDefaultPageExtension:function(){if(window.location.pathname.match(/\.html$/i)){return".html"}else{if(window.location.pathname.match(/\.(php|asp|jsp|jserv)$/i)&&!this.defaultExtension){return"."+RegExp.$1}}return this.defaultExtension},getPageDefaultExtension:function(){return this.getDefaultPageExtension()},getDefaultScriptExtension:function(){if(window.location.pathname.match(/\.(php|asp|jsp|jserv)$/i)){return"."+RegExp.$1}return this.defaultScriptExtension},getScriptDefaultExtension:function(){return this.getDefaultScriptExtension()},detectBasePath:function(a){if(!a){return}a=String(a).replace(new RegExp("^(/(de|en|fr|it|es|en|nl))+/"),"/");if(a.match(/.(html?|php|as[ph]x?|jsp|jserv)$/i)){this.defaultExtension=RegExp.$1;a=a.substring(0,a.length-this.defaultExtension.length-1)}var b=String(window.location.pathname).replace(/\\/g,"/");var c=(a!="/")?b.indexOf(a):-1;if(window.location.protocol.match(/file/i)&&(navigator.userAgent.match(/Windows|Win(NT|95|98|XP|16|32)/i)||navigator.platform.match(/Windows|Win(NT|95|98|XP|16|32)/i))&&b.substr(0,1)=="/"&&b.length>1){b=b.substr(1)}if(c<0){c=b.indexOf("/serviceseiten/suche")}if(c<0){c=b.indexOf("/servicepages/search")}if(c<0){c=b.indexOf("/servicepages")}if(c<0){c=b.indexOf("/serviceseiten")}if(c<0){c=b.indexOf("/en/servicepages/filelibrary/files/collection.php")}if(c<0){c=b.indexOf("/en/servicepages")}if(c>=0){this.pageBaseURL=b.substring(0,c)}else{if(a=="/"){this.pageBaseURL=b}else{this.pageBaseURL="/"}}if(this.pageBaseURL.substr(this.pageBaseURL.length-1,1)=="/"&&this.pageBaseURL.length>1){this.pageBaseURL=this.pageBaseURL.substring(0,this.pageBaseURL.length-1)}if(window.location.protocol.match(/file/i)&&(navigator.userAgent.match(/Windows|Win(NT|95|98|XP|16|32)/i)||navigator.platform.match(/Windows|Win(NT|95|98|XP|16|32)/i))&&this.pageBaseURL.length>1){this.pageBaseURL=window.location.protocol+"///"+this.pageBaseURL}else{if(window.location.protocol.match(/file/i)&&this.pageBaseURL.length>1){this.pageBaseURL=window.location.protocol+"//"+this.pageBaseURL}}},convert2AbsoluteURL:function(c){if(c&&!c.match(/^(https?|ftp|svn):/)){newURL=window.location.protocol+"//"+window.location.host;while(c.match(/^\/\.\.\//)){c=c.replace(/^\/\.\.\//g,"/")}if(c.charAt(0)=="/"){newURL+=c}else{var d=c.indexOf("?");var b="";if(d>=0){b=c.substr(d);c=c.substring(0,d)}var a=String(window.location.pathname).replace(/\/[^\/]+$/,"/")+c;while(a.match(/\/[^\/]+\/\.\.\//)){a=a.replace(/\/[^\/]+\/\.\.\//g,"/")}while(a.match(/^\/\.\.\//)){a=a.replace(/^\/\.\.\//g,"/")}newURL+=a+b}return newURL}return c},stripTags:function(a){if(!a||(typeof(a)!="string")||(a.length<=0)){return""}a=a.replace(/<script.*<\/script[^>]*>/gi,"");a=a.replace(/<style.*<\/style[^>]*>/gi,"");a=a.replace(/<head.*<\/head[^>]*>/gi,"");a=a.replace(/<[^>]*>/gi,"");a=a.replace(/[^-_,;:\/&\w+0-9a-zA-Z|"'\.]/gi,"");return a},getQueryParam:function(c){if((c==null)||(typeof(c)!="string")||(c.length<=0)){c="q"}var b=$.query.get(c);if(b&&typeof(b)=="string"){b=b.replace(/[\r\n\t]+/gi," ");var a=new RegExp("["+String.fromCharCode(0)+"-"+String.fromCharCode(31)+String.fromCharCode(96)+"]","gi");b=b.replace(a,"");a=new RegExp(String.fromCharCode(160)+"+","gi");b=b.replace(a," ");if(b.match(/<.?(script|style)/gi)){return""}b=this.stripTags(b);b=b.replace(/[^-_:;,0-9a-zA-Z\w\/\.=]/gi,"")}return b},registerFlash:function(a,c){if(a&&typeof(c)!="undefined"){var b=$.flash;if(!b.hasVersion("6")||this._minFlashVersion.length<=5&&this._minFlashVersion.length>0&&!b.hasVersion(this._minFlashVersion)||typeof(c)!="undefined"&&typeof(c.flashVersion)!="undefined"&&b.hasVersion(c.flashVersion)){return}this.pageUsesFlash=true;this._registeredFlashObjects[this._registeredFlashObjects.length]={id:a,o:b.create(c),params:c}}},activateRegisteredFlash:function(a){var c=this._registeredFlashObjects;if(typeof(a)=="undefined"){a=-1}for(var b=0;b<c.length;b++){if(typeof(c[b].id)=="undefined"||c[b].id.length<=0){return}if(typeof(a)=="string"&&a!=c[b].id){continue}else{if(typeof(a)=="number"&&a>=0&&a!=b){continue}}$("#"+c[b].id).html(c[b].o).show();if(typeof(c[b].params.onCreate)=="function"){c[b].params.onCreate($(c[b].id))}if(typeof(c[b].params.nonFlashID)=="string"){$("#"+c[b].params.nonFlashID).hide()}try{SWFAddress.addId(c[b].id)}catch(d){}}},recreateRegisteredFlash:function(a){this.removeRegisteredFlash(a);this.activateRegisteredFlash(a)},removeRegisteredFlash:function(a){var c=this._registeredFlashObjects;if(typeof(a)=="undefined"){a=-1}for(var b=0;b<c.length;b++){if(typeof(c[b].id)=="undefined"||c[b].id.length<=0){return}if(typeof(a)=="string"&&a!=c[b].id){continue}else{if(typeof(a)=="number"&&a>=0&&a!=b){continue}}$("#"+c[b].id).empty();if(typeof(c[b].params.nonFlashID)=="string"){$("#"+c[b].params.nonFlashID).show()}try{SWFAddress.removeId(c[b].id)}catch(d){}}},toJSON:function(d,b){var a="";switch(typeof(d)){case"string":a+='"'+d+'"';break;case"number":case"boolean":a=d.toString();break;case"object":a=[];var c=(b?'"':"");for(var e in d){if(d[e]==Object.prototype[e]){continue}a.push(c+e+c+":"+this.toJSON(d[e],b))}a="{"+a.join(",")+"}";break;case"object":a="["+d.join(",")+"]";break}return a}};(function(a){if(typeof(NexxarPageData)!="undefined"&&typeof(NexxarPageData.pagePath)!="undefined"){NexxarLib.activateLibrary(NexxarPageData.pagePath,NexxarPageData.pageId)}if(typeof(NexxarPageData)!="undefined"&&typeof(NexxarPageData.scriptBaseURL)!="undefined"){var b="";if(!NexxarPageData.scriptBaseURL.match(/^(https?|ftps?|file):/i)&&NexxarPageData.scriptBaseURL.indexOf(window.location.protocol)!=0){b=window.location.protocol+"//"+window.location.host}NexxarLib.setScriptBaseURL(b+NexxarPageData.scriptBaseURL)}else{if(typeof(NexxarPageData)!="undefined"&&typeof(NexxarPageData.scriptBaseHost)!="undefined"){var c="";if(!NexxarPageData.scriptBaseHost.match(/^(https?|ftps?|file):/i)){c=(window.location.protocol.match(/^https?:/)?window.location.protocol:"http:")+"//"}NexxarLib.setScriptBaseURL(c+NexxarPageData.scriptBaseHost+NexxarLib.getBaseURLPath())}}if(a.pageExtension==a.pageURLName){a.pageExtension=""}a.isPagePrintVersion=(a.pageURLName=="print.html"||a.pageURLName=="print"||a.pageURLName=="print.php"||a.pageURLName=="print"+a.defaultExtension)?true:false;if((a.pageURLName=="printmanager.php"||a.pageURLName=="printmanager"+a.defaultExtension)&&a.getQueryParam("print")=="all"){a.isPagePrintVersion=true}$(document).ready(function(){a.domIsReady=true;a.activateRegisteredFlash()});a.imageCache={_cache:[],_imagesToLoadOnReady:[],loadImage:function(e){if(!e){return}if(e.substring(0,4)!="http"&&e.substring(0,4)!="file"){e=a.getBaseURLPath()+e}var d=new Image();d.src=e;this._cache[this._cache.length]=d},preloadImage:function(d){if(a.domIsReady){this.loadImage(d)}else{this._imagesToLoadOnReady[this._imagesToLoadOnReady.length]=d}}};$(document).ready(function(){for(var d;d<a.imageCache._imagesToLoadOnReady.length;d++){a.imageCache.loadImage(a.imageCache._imagesToLoadOnReady[d])}})})(NexxarLib);(function(a){if($.os.ios&&$("html").hasClass("iPad_native")){return}if(String(window.location.protocol).match(/file/)||typeof(NexxarPageData)=="undefined"||typeof(NexxarPageData.useDidYouMean)!="boolean"||!NexxarPageData.useDidYouMean){return}if(location.pathname.indexOf("/search")<0){return}var b=a.getQueryParam("q");if(typeof(b)!="string"||b.length<=0){return}a.showDidYouMean=function(c){$(document).ready(function(){if($("#didYouMean").length<=0){return}$("#didYouMean").show().find(".dymContainer").attr("href",location.pathname.replace(/\.html?$/,a.getDefaultScriptExtension())+"?submit=submit&didmean=1&q="+encodeURIComponent(c.didYouMean)).html(c.didYouMean+" ("+c.count+" hits)");var d=String(window.location.href);if(d.indexOf("#")>0){d=d.split("#",2)}else{d=[d,""]}d=d[0]+(d[0].indexOf("?")<0?"?":"&")+"&spellQ="+encodeURIComponent(c.didYouMean)+d[1];nexxar_gwsTrackURL(d,true)})};document.write(unescape('%3Cscript type="text/javascript" defer="defer" src="'+a.getScriptBaseURL()+"/layout/didyoumean.json"+a.getDefaultScriptExtension()+"?callback=NexxarLib.showDidYouMean&json=1&q="+encodeURIComponent(b)+'"%3E%3C/script%3E'))})(NexxarLib);var addthis_config={services_compact:"email, favorites, twitter, google, facebook, delicious, linkedin, more",services_exclude:"print, digg",ui_click:"true",ui_language:"en",ui_offset_top:($.browser.msie?0:41),ui_offset_left:($.browser.msie?-220:280)};var addthis_share={email_vars:{customer:"Tate & Lyle Annual Report 2011".replace(/&amp;/g,"&")}};if(window.location.pathname.indexOf("/notes/")>=0){addthis_config.ui_offset_left+=($.browser.msie?-20:460);addthis_config.ui_offset_top+=($.browser.msie?0:120)}function nexxar_print_setImg(){$("#mainbar img").each(function(){var a=$(this).attr("oldDisplay");if(document.formular.setImg[0].checked){if(!a){return}else{$(this).css("display",a);$("div.volltext_zitatautor").css("display",a)}a=$(this).parent().attr("oldDisplay");if(!a){return}else{$(this).parent().css("display",a)}}else{if(document.formular.setImg[1].checked){if(!a){$(this).attr("oldDisplay",$(this).css("display")).parent().attr("oldDisplay",$(this).parent().css("display"))}$(this).css("display","none").parent().css("display","none");$("div.volltext_zitatautor").css("display","none")}}})}function nexxar_activateTooltip(){if($.os.ios){return}$("#bodyContent table.zoom a[title],#pagebody div.footer a[title],#bodyContent a[title], #bodyContent td.download a[title], #bodyContent img[title], #pageheader a[title], #pageheader img[title], #inleaf1 a[title]").not("abbr,.glossary,table,td,th,tr").each(function(a){if($(this).attr("title")!=""){$(this).attr("hover-title",$(this).attr("title")).tooltip({smart:true,url:""})}})}$(document).ready(function(){if($.os.ios&&$("html").hasClass("iPad_native")){return}var a=new Date((new Date()).getTime()+86400000*30);if($.cookies.get("TLyleHC")=="hc-stylesheet"){$("body").addClass("highContrast")}$("#toggleContrast").click(function(){if($("body").hasClass("highContrast")){$("body").removeClass("highContrast");$.cookies.del("TLyleHC",{path:"/"})}else{$("body").addClass("highContrast");$.cookies.set("TLyleHC","hc-stylesheet",{path:"/",expiresAt:a})}$(this).blur();return false});$("#fontSizeNormal").click(function(){$("html").css("font-size","0.5em");$.cookies.del("TLyleFontSize",{path:"/"});return false});$("#fontSizeBig").click(function(){$("html").css("font-size","0.55em");$.cookies.set("TLyleFontSize","medium",{path:"/",expiresAt:a});return false});$("#fontSizeBigger").click(function(){$("html").css("font-size","0.6em");$.cookies.set("TLyleFontSize","large",{path:"/",expiresAt:a});return false});var b=$.cookies.get("TLyleFontSize");if(b=="medium"){$("#fontSizeBig").click()}else{if(b=="large"){$("#fontSizeBigger").click()}}window.setTimeout("nexxar_activateTooltip()",15)});$(document).ready(function(){if($("body").hasClass("page_businessreview_ourbusiness")&&!$("body").hasClass("highContrast")){$("#our_business h2").not(".notab").each(function(b){var c=$(this).html();var a=$(this).parent("div.tab_content").attr("id");$(this).replaceWith('<li class="tab_item item_'+b+'" id="tab_'+a+'">'+c+"</li>")});$("#our_business li.tab_item").insertBefore("#our_business").wrapAll('<ul id="our_business_tabs"></ul>');$("#our_business_tabs").tabs("#our_business .tab_content",{initialIndex:1})}if($("body").hasClass("page_businessreview_keyperformanceindicators")&&!$("body").hasClass("highContrast")){$("#key_performance h2").not(".notab").each(function(b){var c=$(this).html();var a=$(this).parent("div.tab_content").attr("id");$(this).replaceWith('<li class="tab_item item_'+b+'" id="tab_'+a+'">'+c+"</li>")});$("#key_performance li.tab_item").insertBefore("#key_performance").wrapAll('<ul id="key_performance_tabs"></ul>');$("#key_performance_tabs").tabs("#key_performance .tab_content",{initialIndex:0})}});function hideAddThisMessage(){$("#at15s").click(function(){$("#at15s").css("display","none")})}$(document).ready(function(){if($.os.ios&&$("html").hasClass("iPad_native")){return}$("#shareLink").click(function(){if($(this).data("addThisInit")!="1"){try{addthis.addEventListener("addthis.menu.open",function(b){$("#at15s").click(function(){$("#at15s").css("display","none")});if(!$.browser.msie){if(window.location.pathname.indexOf("/notes/")>=0){$("#at20mc").appendTo("#mainbar")}else{$("#at20mc").appendTo("#pageheader")}}})}catch(a){}}$(this).data("addThisInit","1");window.setTimeout("hideAddThisMessage()",50)});$("#shareLink").mouseover(function(){window.setTimeout("hideAddThisMessage()",50)})});NexxarLib.doAutoAccordeon=function(a){if(!NexxarLib.isPagePrintVersion){$(document).ready(function(){window.setTimeout(function(){var b=String(window.location.hash).replace(/[^a-zA-Z0-9]+/," ").replace(/^.*(acc[0-9]+).*$/,"$1");$("#bodyContent").autoAccordeon({headingSelector:a,idPrefix:"akkordeonPanel",clickHandlerClass:"akkordeonHandleClick",wrapFunc:function(e,c,g,d){var g=String(g).replace(/Panel/,"ResizerIcon");var f=$('<div class="toggleIcon openButton '+d.clickHandlerClass+'"  id="'+g+'"></div>');$(e).removeClass(d.clickHandlerClass).wrap("<div/>");e=$(e).parent().addClass(d.clickHandlerClass);$(e).prepend(f);return[e,c]}});if(b.match(/acc[0-9]+/)){$("#akkordeonPane"+b.replace(/[^0-9]+/,"")).show()}else{if(window.location.pathname.indexOf("/divisionalperformance/")>=0){$("#bodyContent .akkordeonOpened").click()}}},10)})}};$(document).ready(function(){if($.os.ios&&$("html").hasClass("iPad_native")){return}$("#printPopUpOpener, td.tablepopup div.table_popuplink a[rel^=tablePopUp]").click(function(){return hs.htmlExpand($(this).get(0),{objectType:"iframe",preserveContent:false,width:780,height:400,align:"center"})});var b=$("#bodyContent a[rel^='notes']");for(var a=0;a<b.length;a++){$(b[a]).click(function(){var c=800;var e=600;var d="";if(window.opera){d="=yes"}var f="gb2011_notesPopup";return !PopUpOpenWindow($(this).attr("href"),f,"resizable=yes, status=no, toolbar=no, scrollbars"+d,c,e)})}});var operabar=(window.opera?"=yes":"");function tablePopUp(e){var a=800;var c=600;var b="";if(window.opera){b="=yes"}var d="gb2011_tablePopup";return PopUpOpenWindow(e,d,"resizable=yes, status=no, toolbar=no, scrollbars"+b,a,c)}function PopUpOpenWindow(i,c,b,a,f){var d;var g=navigator.userAgent.match(/Windows NT ([5-9]).([0-9])/);if(navigator.userAgent.match(/firefox/i)||g&&g[2]&&g[1]&&((g[2]>=1)||(g[2]>5))){if(navigator.userAgent.match(/ MSIE/)){f=f+20}else{f=f+15}}if(!i.match(/^(https?|file|ftp):\/\//i)&&typeof(geberPopUpBaseURL)=="string"&&geberPopUpBaseURL!=null&&geberPopUpBaseURL.length>0){i=geberPopUpBaseURL+"/"+i}if(!b){b=""}try{d=window.open(i,c,b+",width="+a+",height="+f)}catch(j){return false}try{d.resizeTo(a,f)}catch(j){}try{d.focus()}catch(j){}return true}window.setTimeout("nexxar_doPreLoadGWSImage()",50);function nexxar_doPreLoadGWSImage(){if($.os.ios&&$("html").hasClass("iPad_native")){return}var c=String(window.location.href);var a=document.referrer==null?"":document.referrer;if((typeof(a)=="undefined"||a==""||a.length<=0)&&(opener)){try{a=String(opener.location.href)}catch(b){}}if((typeof(a)=="undefined"||a==""||a.length<=0)&&(parent)){try{a=String(parent.location.href)}catch(b){}}geber_doGWSImage(c,a)}function nexxar_gwsPrepareDownload(a,f){try{a=a.replace(/^.*downloads?\.php[3-9]?\?.*file=([-_\.A-Z0-9a-z]+).*$/,"$1");a=a.substr(a.lastIndexOf("/")+1);a="/servicepages/downloads/files/"+a.replace(/\?.*/,"")}catch(d){alert(d.message)}try{if(f){var c=f.protocol+"//"+f.host;var b=f.pathname.replace(/downloads?\.php[3-9]?\?.*file=/,"");if(b.substr(0,1)!="/"){c+="/"}c+=b+f.search+f.hash;f.href=String(c)}}catch(d){}window.setTimeout("nexxar_doGWSDownloadFile('"+a+"')",200)}function nexxar_doGWSDownloadFile(b){var c=NexxarLib.getBaseURLPath();if(c=="/"){c=""}c+=b;if(!c.match(/^file:/)){c=window.location.protocol+"//"+window.location.host+c}var a=window.location;geber_doGWSImage(c,a)}function geber_doGWSImage(a,b){nexxar_send2GWS(encodeURIComponent(a),b?encodeURIComponent(b):"")}function nexxar_send2GWS(f,j,a){if($.os.ios&&$("html").hasClass("iPad_native")){return}if(String(window.location.hostname).match(/iedit.(geber.at|nexxar.com)|localhost|127\.0\.0\.1/)||String(window.location.protocol).match(/file|https/)){try{console.log("tracking"+(typeof(a)!="undefined"&&a?" (notrack=1)":"")+": "+f)}catch(g){}return}var d="http://gws.geber.at/tal/gws.gif?js=1&pg="+f+"&ref="+j+"&rep=tal-AR2011"+(typeof(a)!="undefined"&&a?"&notrack=1":"");try{d+="&screen="+screen.width+"x"+screen.height}catch(g){}var h=$.cookies.get("STATs-ID");if(!h||h.length<0){h="";for(var c=0;c<34;c++){h+=Math.ceil(Math.random()*255).toString(16)}$.cookies.set("STATs-ID",h.substring(0,32),{path:"/"})}if(h&&h.length>0){d+="&STATS-ID="+h}d+="&time="+Number((new Date()).getTime()).toString(16);var b=new Image();b.src=d}function nexxar_gwsTrackURL(a,b){if(a&&a.length>0){window.setTimeout("nexxar_send2GWS('"+encodeURIComponent(NexxarLib.convert2AbsoluteURL(a))+"', '"+encodeURIComponent(window.location.href)+"', "+(typeof(b)!="undefined"&&b?"true":"false")+")",5)}}function nexxar_gwsClickHandler(a,b){if($(a).hasClass("isExternalURL")||$(a).hasClass("verweisextern")||$(a).hasClass("extern")||($(a).attr("target")=="_blank"&&(b=="n"||b=="m"||b=="pf"))){if($(a).data("gwsTrackerHasHandler")!="1"){$(a).click(function(){nexxar_gwsTrackURL(NexxarLib.getBaseURLFull()+"/servicepages/leavereport;wurl="+encodeURIComponent($(this).attr("href")))}).data("gwsTrackerHasHandler","1")}}else{if(a&&b){if(a.href&&!a.href.match(/(\?|&|&amp;)cat=/)&&a.href.indexOf("javascript")<0){if($.browser.msie){var d=$(a).text();if(a.href.indexOf(d)>=0){return true}}var e=(a.href.indexOf("?")<0?"?":"&")+"cat="+b;if(a.href.match(/#/)){a.href=a.href.replace(/#/,e+"#")}else{a.href+=e}}else{if(a.action&&!a.action.match(/(\?|&|&amp;)cat=/)&&a.action.indexOf("javascript")<0){a.action+=(a.action.indexOf("?")<0?"?":"&")+"cat="+b}}}}return true}function nexxar_doGWSImage(a,b){return geber_doGWSImage(a,b)}if(typeof(SWFAddress)!="undefined"){SWFAddress.setTracker("nexxar_flashTracker")}function nexxar_flashTracker(a){if(NexxarLib._trackingFlashFirstWasDone){nexxar_gwsTrackURL(window.location.protocol+"//"+window.location.host+a+"?cat=flash#"+window.location.hash)}NexxarLib._trackingFlashFirstWasDone=true}function nexxar_doAddTrackCat(b,a){if(typeof(b)!="undefined"&&b.length>0){for(var c=0;c<b.length;c++){nexxar_gwsClickHandler(b[c],a)}}}function nexxar_addTrackLinkCategories(){nexxar_doAddTrackCat($("#inleaf1 a, #inleaf2 a, #inleaf3 a, #pagebody .inleaf_right a"),"i");nexxar_doAddTrackCat($("#history a"),"h");nexxar_doAddTrackCat($("#pageheader div.topnavigation a"),"n");nexxar_doAddTrackCat($("#compare a, #lastyearlink a, #lastyearlink, #compare"),"v");nexxar_doAddTrackCat($("#linkbox_intern a, #linkbox_other a"),"c");nexxar_doAddTrackCat($("#pageheader div.topnavigation a"),"n");nexxar_doAddTrackCat($("#pagebody .toolbox a").not(".verweisextern,.email,#email,#sendLinkOpenerMailto"),"t");nexxar_doAddTrackCat($("#pagebody .content a, #headerContent a"),"b");nexxar_doAddTrackCat($("#pageFixedFooter a"),"pf");var a=$("#sendLinkOpener, #sendLinkOpenerMailto, #email");for(var b=0;a&&b<a.length;b++){if(a[b].tagName.toLowerCase()=="a"&&$(a[b]).data("gwsTrackerHasHandler")!="1"){$(a[b]).click(function(){nexxar_gwsTrackURL(NexxarLib.getBaseURLFull()+"/servicepages/sendthispage;wurl="+encodeURIComponent($(this).attr("href")))}).data("gwsTrackerHasHandler","1")}}var a=$("#linkbox_extern a");for(var b=0;a&&b<a.length;b++){if(a[b].tagName.toLowerCase()=="a"&&$(a[b]).data("gwsTrackerHasHandler")!="1"){$(a[b]).click(function(){nexxar_gwsTrackURL(NexxarLib.getBaseURLFull()+"/servicepages/leavereport;wurl="+encodeURIComponent($(this).attr("href")))}).data("gwsTrackerHasHandler","1")}}nexxar_doAddTrackCat($("#contentMenu a, #subjectMenu a"),"m")}$(document).ready(function(){if($.os.ios&&$("html").hasClass("iPad_native")){return}window.setTimeout("nexxar_addTrackLinkCategories();",5)});function geber_table_handlemouseover(a){$(a).addClass("highlightmouseover")}function geber_table_handlemouseout(a){$(a).removeClass("highlightmouseover")}function geber_table_handlemouseclick(a){$(a).toggleClass("highlightclick")}(function(h){var m="headingSelector",g="excludeSelector",i="css",j="idPrefix",k="effectFunc",o="wrapFunc",e="defaultOpen",n="containerClass",d="handlerClass",c="openedClass",b="closedClass",a="lastClass",l="clickHandlerClass",f={};f[l]="akkordeonClickHandler";f[m]="h2";f[g]=".nothing";f[n]="akkordeonContent";f[d]="akkordeonTitle";f[j]="accordeon";f[c]="akkordeonOpened";f[b]="akkordeonClosed";f[a]="akkordeonLast";f[i]={};fadeInOrOut=function(r,q,p){if(typeof(q)!="undefined"&&q){h(r).slideDown()}else{h(r).slideUp()}};f[k]=fadeInOrOut;createAutoAccordeon=function(q,A){var y=h(q).children(A[m]).not(A[g]);for(var s=0;s<y.length;s++){var v=[];var z=h(y[s]).next();var x=200;while(x>0&&z.length>0&&!h(z).is(A[g])&&!h(z).is(A[m])&&(s+1>=y.length||!h(z).is(y[s+1]))){v[v.length]=z;z=h(z).next()}if(v.length>0){var v=convertArray2JQuery(v);var p=A[j]+Math.floor(Math.random()*9999);h(v).wrapAll('<div id="'+p+'" class="'+A[n]+'" />');v=h(v).parent();if(jQuery.isFunction(A[o])){try{var r=A[o].call(this,h(y[s]),h(v),p,A);y[s]=r[0];v=r[1]}catch(u){}}if(jQuery.isFunction(A[k])){var w=h(y[s]).find(A[l]);if(w.length<=0){w=y[s]}if((typeof(A[e])=="undefined"&&s==0)||typeof(A[e])!="undefined"&&A[e].length>0&&(h(y[s]).is(A[e])||A[e]=="#acc"+s)){h(w).data("myAccordeonIsOpen","1").addClass(A[c]);h(v).show()}else{h(w).data("myAccordeonIsOpen","0").addClass(A[b]);h(v).hide()}h(w).addClass(A[d]+" "+A[d]+(s+1)+" autoAkkordeon").data("akkordeonPanel",v).data("akkordeonPanelID",p).mouseover(function(){h("h2, h3, h4",this).addClass("hover");h(".toggleIcon",this).addClass("toggleIconHover")}).mouseout(function(){h("h2, h3, h4",this).removeClass("hover");h(".toggleIcon",this).removeClass("toggleIconHover")}).click(function(){A[k].call(this,h(this).data("akkordeonPanel"),(h(this).data("myAccordeonIsOpen")=="1"?false:true),A);if(h(this).data("myAccordeonIsOpen")=="1"){h(this).data("myAccordeonIsOpen","0");h(this).addClass(A[b]).removeClass(A[c]);h(this).trigger("accordeonClosed",h(this))}else{h(this).data("myAccordeonIsOpen","1");h(this).addClass(A[c]).removeClass(A[b]);h(this).trigger("accordeonOpened",h(this))}});if(s+1==y.length){h(w).addClass(A[a])}}}v=[]}};convertArray2JQuery=function(p){if(typeof(p)!="array"&&typeof(p)!="object"||p.length<=0){return}var r=h(p[0]);for(var q=1;q<p.length;q++){r=r.add(p[q])}return r};h.extend(h.fn,{autoAccordeon:function(p){var s=this;p=h.extend({},f,p);if(!jQuery.isFunction(p[k])){p[k]=fadeInOrOut}if((typeof(p[e])=="undefined"||p[e].length<=0)&&String(window.location.hash).length>0){var r=String(window.location.hash).replace(/^#?([_a-zA-Z0-9]+).*$/g,"$1");if(typeof(r)!="undefined"&&r.length>0){p[e]="#"+r}}for(var q=0;q<s.length;q++){createAutoAccordeon(s[q],p)}return this}})})(jQuery);
