var oldSearchFieldValue="";
/*
 * jQuery JavaScript Library v1.3.1
 * http://jquery.com/
 *
 * Copyright (c) 2009 John Resig
 * Dual licensed under the MIT and GPL licenses.
 * http://docs.jquery.com/License
 *
 * Date: 2009-01-21 20:42:16 -0500 (Wed, 21 Jan 2009)
 * Revision: 6158
 */
(function(){var m=this,g,C=m.jQuery,r=m.$,q=m.jQuery=m.$=function(I,J){return new q.fn.init(I,J)},H=/^[^<]*(<(.|\s)+>)[^>]*$|^#([\w-]+)$/,f=/^.[^:#\[\.,]*$/;q.fn=q.prototype={init:function(I,L){I=I||document;if(I.nodeType){this[0]=I;this.length=1;this.context=I;return this}if(typeof I==="string"){var K=H.exec(I);if(K&&(K[1]||!L)){if(K[1]){I=q.clean([K[1]],L)}else{var M=document.getElementById(K[3]);if(M&&M.id!=K[3]){return q().find(I)}var J=q(M||[]);J.context=document;J.selector=I;return J}}else{return q(L).find(I)}}else{if(q.isFunction(I)){return q(document).ready(I)}}if(I.selector&&I.context){this.selector=I.selector;this.context=I.context}return this.setArray(q.makeArray(I))},selector:"",jquery:"1.3.1",size:function(){return this.length},get:function(I){return I===g?q.makeArray(this):this[I]},pushStack:function(J,L,I){var K=q(J);K.prevObject=this;K.context=this.context;if(L==="find"){K.selector=this.selector+(this.selector?" ":"")+I}else{if(L){K.selector=this.selector+"."+L+"("+I+")"}}return K},setArray:function(I){this.length=0;Array.prototype.push.apply(this,I);return this},each:function(J,I){return q.each(this,J,I)},index:function(I){return q.inArray(I&&I.jquery?I[0]:I,this)},attr:function(J,L,K){var I=J;if(typeof J==="string"){if(L===g){return this[0]&&q[K||"attr"](this[0],J)}else{I={};I[J]=L}}return this.each(function(M){for(J in I){q.attr(K?this.style:this,J,q.prop(this,I[J],K,M,J))}})},css:function(I,J){if((I=="width"||I=="height")&&parseFloat(J)<0){J=g}return this.attr(I,J,"curCSS")},text:function(J){if(typeof J!=="object"&&J!=null){return this.empty().append((this[0]&&this[0].ownerDocument||document).createTextNode(J))}var I="";q.each(J||this,function(){q.each(this.childNodes,function(){if(this.nodeType!=8){I+=this.nodeType!=1?this.nodeValue:q.fn.text([this])}})});return I},wrapAll:function(I){if(this[0]){var J=q(I,this[0].ownerDocument).clone();if(this[0].parentNode){J.insertBefore(this[0])}J.map(function(){var K=this;while(K.firstChild){K=K.firstChild}return K}).append(this)}return this},wrapInner:function(I){return this.each(function(){q(this).contents().wrapAll(I)})},wrap:function(I){return this.each(function(){q(this).wrapAll(I)})},append:function(){return this.domManip(arguments,true,function(I){if(this.nodeType==1){this.appendChild(I)}})},prepend:function(){return this.domManip(arguments,true,function(I){if(this.nodeType==1){this.insertBefore(I,this.firstChild)}})},before:function(){return this.domManip(arguments,false,function(I){this.parentNode.insertBefore(I,this)})},after:function(){return this.domManip(arguments,false,function(I){this.parentNode.insertBefore(I,this.nextSibling)})},end:function(){return this.prevObject||q([])},push:[].push,find:function(I){if(this.length===1&&!/,/.test(I)){var K=this.pushStack([],"find",I);K.length=0;q.find(I,this[0],K);return K}else{var J=q.map(this,function(L){return q.find(I,L)});return this.pushStack(/[^+>] [^+>]/.test(I)?q.unique(J):J,"find",I)}},clone:function(J){var I=this.map(function(){if(!q.support.noCloneEvent&&!q.isXMLDoc(this)){var M=this.cloneNode(true),L=document.createElement("div");L.appendChild(M);return q.clean([L.innerHTML])[0]}else{return this.cloneNode(true)}});var K=I.find("*").andSelf().each(function(){if(this[i]!==g){this[i]=null}});if(J===true){this.find("*").andSelf().each(function(M){if(this.nodeType==3){return}var L=q.data(this,"events");for(var O in L){for(var N in L[O]){q.event.add(K[M],O,L[O][N],L[O][N].data)}}})}return I},filter:function(I){return this.pushStack(q.isFunction(I)&&q.grep(this,function(K,J){return I.call(K,J)})||q.multiFilter(I,q.grep(this,function(J){return J.nodeType===1})),"filter",I)},closest:function(I){var J=q.expr.match.POS.test(I)?q(I):null;return this.map(function(){var K=this;while(K&&K.ownerDocument){if(J?J.index(K)>-1:q(K).is(I)){return K}K=K.parentNode}})},not:function(I){if(typeof I==="string"){if(f.test(I)){return this.pushStack(q.multiFilter(I,this,true),"not",I)}else{I=q.multiFilter(I,this)}}var J=I.length&&I[I.length-1]!==g&&!I.nodeType;return this.filter(function(){return J?q.inArray(this,I)<0:this!=I})},add:function(I){return this.pushStack(q.unique(q.merge(this.get(),typeof I==="string"?q(I):q.makeArray(I))))},is:function(I){return !!I&&q.multiFilter(I,this).length>0},hasClass:function(I){return !!I&&this.is("."+I)},val:function(O){if(O===g){var I=this[0];if(I){if(q.nodeName(I,"option")){return(I.attributes.value||{}).specified?I.value:I.text}if(q.nodeName(I,"select")){var M=I.selectedIndex,P=[],Q=I.options,L=I.type=="select-one";if(M<0){return null}for(var J=L?M:0,N=L?M+1:Q.length;J<N;J++){var K=Q[J];if(K.selected){O=q(K).val();if(L){return O}P.push(O)}}return P}return(I.value||"").replace(/\r/g,"")}return g}if(typeof O==="number"){O+=""}return this.each(function(){if(this.nodeType!=1){return}if(q.isArray(O)&&/radio|checkbox/.test(this.type)){this.checked=(q.inArray(this.value,O)>=0||q.inArray(this.name,O)>=0)}else{if(q.nodeName(this,"select")){var R=q.makeArray(O);q("option",this).each(function(){this.selected=(q.inArray(this.value,R)>=0||q.inArray(this.text,R)>=0)});if(!R.length){this.selectedIndex=-1}}else{this.value=O}}})},html:function(I){return I===g?(this[0]?this[0].innerHTML:null):this.empty().append(I)},replaceWith:function(I){return this.after(I).remove()},eq:function(I){return this.slice(I,+I+1)},slice:function(){return this.pushStack(Array.prototype.slice.apply(this,arguments),"slice",Array.prototype.slice.call(arguments).join(","))},map:function(I){return this.pushStack(q.map(this,function(K,J){return I.call(K,J,K)}))},andSelf:function(){return this.add(this.prevObject)},domManip:function(O,R,Q){if(this[0]){var N=(this[0].ownerDocument||this[0]).createDocumentFragment(),K=q.clean(O,(this[0].ownerDocument||this[0]),N),M=N.firstChild,I=this.length>1?N.cloneNode(true):N;if(M){for(var L=0,J=this.length;L<J;L++){Q.call(P(this[L],M),L>0?I.cloneNode(true):N)}}if(K){q.each(K,D)}}return this;function P(S,T){return R&&q.nodeName(S,"table")&&q.nodeName(T,"tr")?(S.getElementsByTagName("tbody")[0]||S.appendChild(S.ownerDocument.createElement("tbody"))):S}}};q.fn.init.prototype=q.fn;function D(I,J){if(J.src){q.ajax({url:J.src,async:false,dataType:"script"})}else{q.globalEval(J.text||J.textContent||J.innerHTML||"")}if(J.parentNode){J.parentNode.removeChild(J)}}function e(){return +new Date}q.extend=q.fn.extend=function(){var N=arguments[0]||{},L=1,M=arguments.length,I=false,K;if(typeof N==="boolean"){I=N;N=arguments[1]||{};L=2}if(typeof N!=="object"&&!q.isFunction(N)){N={}}if(M==L){N=this;--L}for(;L<M;L++){if((K=arguments[L])!=null){for(var J in K){var O=N[J],P=K[J];if(N===P){continue}if(I&&P&&typeof P==="object"&&!P.nodeType){N[J]=q.extend(I,O||(P.length!=null?[]:{}),P)}else{if(P!==g){N[J]=P}}}}}return N};var b=/z-?index|font-?weight|opacity|zoom|line-?height/i,s=document.defaultView||{},w=Object.prototype.toString;q.extend({noConflict:function(I){m.$=r;if(I){m.jQuery=C}return q},isFunction:function(I){return w.call(I)==="[object Function]"},isArray:function(I){return w.call(I)==="[object Array]"},isXMLDoc:function(I){return I.nodeType===9&&I.documentElement.nodeName!=="HTML"||!!I.ownerDocument&&q.isXMLDoc(I.ownerDocument)},globalEval:function(K){K=q.trim(K);if(K){var J=document.getElementsByTagName("head")[0]||document.documentElement,I=document.createElement("script");I.type="text/javascript";if(q.support.scriptEval){I.appendChild(document.createTextNode(K))}else{I.text=K}J.insertBefore(I,J.firstChild);J.removeChild(I)}},nodeName:function(J,I){return J.nodeName&&J.nodeName.toUpperCase()==I.toUpperCase()},each:function(K,O,J){var I,L=0,M=K.length;if(J){if(M===g){for(I in K){if(O.apply(K[I],J)===false){break}}}else{for(;L<M;){if(O.apply(K[L++],J)===false){break}}}}else{if(M===g){for(I in K){if(O.call(K[I],I,K[I])===false){break}}}else{for(var N=K[0];L<M&&O.call(N,L,N)!==false;N=K[++L]){}}}return K},prop:function(L,M,K,J,I){if(q.isFunction(M)){M=M.call(L,J)}return typeof M==="number"&&K=="curCSS"&&!b.test(I)?M+"px":M},className:{add:function(I,J){q.each((J||"").split(/\s+/),function(K,L){if(I.nodeType==1&&!q.className.has(I.className,L)){I.className+=(I.className?" ":"")+L}})},remove:function(I,J){if(I.nodeType==1){I.className=J!==g?q.grep(I.className.split(/\s+/),function(K){return !q.className.has(J,K)}).join(" "):""}},has:function(J,I){return J&&q.inArray(I,(J.className||J).toString().split(/\s+/))>-1}},swap:function(L,K,M){var I={};for(var J in K){I[J]=L.style[J];L.style[J]=K[J]}M.call(L);for(var J in K){L.style[J]=I[J]}},css:function(K,I,M){if(I=="width"||I=="height"){var O,J={position:"absolute",visibility:"hidden",display:"block"},N=I=="width"?["Left","Right"]:["Top","Bottom"];function L(){O=I=="width"?K.offsetWidth:K.offsetHeight;var Q=0,P=0;q.each(N,function(){Q+=parseFloat(q.curCSS(K,"padding"+this,true))||0;P+=parseFloat(q.curCSS(K,"border"+this+"Width",true))||0});O-=Math.round(Q+P)}if(q(K).is(":visible")){L()}else{q.swap(K,J,L)}return Math.max(0,O)}return q.curCSS(K,I,M)},curCSS:function(M,J,K){var P,I=M.style;if(J=="opacity"&&!q.support.opacity){P=q.attr(I,"opacity");return P==""?"1":P}if(J.match(/float/i)){J=A}if(!K&&I&&I[J]){P=I[J]}else{if(s.getComputedStyle){if(J.match(/float/i)){J="float"}J=J.replace(/([A-Z])/g,"-$1").toLowerCase();var Q=s.getComputedStyle(M,null);if(Q){P=Q.getPropertyValue(J)}if(J=="opacity"&&P==""){P="1"}}else{if(M.currentStyle){var N=J.replace(/\-(\w)/g,function(R,S){return S.toUpperCase()});P=M.currentStyle[J]||M.currentStyle[N];if(!/^\d+(px)?$/i.test(P)&&/^\d/.test(P)){var L=I.left,O=M.runtimeStyle.left;M.runtimeStyle.left=M.currentStyle.left;I.left=P||0;P=I.pixelLeft+"px";I.left=L;M.runtimeStyle.left=O}}}}return P},clean:function(J,O,M){O=O||document;if(typeof O.createElement==="undefined"){O=O.ownerDocument||O[0]&&O[0].ownerDocument||document}if(!M&&J.length===1&&typeof J[0]==="string"){var L=/^<(\w+)\s*\/?>$/.exec(J[0]);if(L){return[O.createElement(L[1])]}}var K=[],I=[],P=O.createElement("div");q.each(J,function(T,V){if(typeof V==="number"){V+=""}if(!V){return}if(typeof V==="string"){V=V.replace(/(<(\w+)[^>]*?)\/>/g,function(X,Y,W){return W.match(/^(abbr|br|col|img|input|link|meta|param|hr|area|embed)$/i)?X:Y+"></"+W+">"});var S=q.trim(V).toLowerCase();var U=!S.indexOf("<opt")&&[1,"<select multiple='multiple'>","</select>"]||!S.indexOf("<leg")&&[1,"<fieldset>","</fieldset>"]||S.match(/^<(thead|tbody|tfoot|colg|cap)/)&&[1,"<table>","</table>"]||!S.indexOf("<tr")&&[2,"<table><tbody>","</tbody></table>"]||(!S.indexOf("<td")||!S.indexOf("<th"))&&[3,"<table><tbody><tr>","</tr></tbody></table>"]||!S.indexOf("<col")&&[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"]||!q.support.htmlSerialize&&[1,"div<div>","</div>"]||[0,"",""];P.innerHTML=U[1]+V+U[2];while(U[0]--){P=P.lastChild}if(!q.support.tbody){var R=!S.indexOf("<table")&&S.indexOf("<tbody")<0?P.firstChild&&P.firstChild.childNodes:U[1]=="<table>"&&S.indexOf("<tbody")<0?P.childNodes:[];for(var Q=R.length-1;Q>=0;--Q){if(q.nodeName(R[Q],"tbody")&&!R[Q].childNodes.length){R[Q].parentNode.removeChild(R[Q])}}}if(!q.support.leadingWhitespace&&/^\s/.test(V)){P.insertBefore(O.createTextNode(V.match(/^\s*/)[0]),P.firstChild)}V=q.makeArray(P.childNodes)}if(V.nodeType){K.push(V)}else{K=q.merge(K,V)}});if(M){for(var N=0;K[N];N++){if(q.nodeName(K[N],"script")&&(!K[N].type||K[N].type.toLowerCase()==="text/javascript")){I.push(K[N].parentNode?K[N].parentNode.removeChild(K[N]):K[N])}else{if(K[N].nodeType===1){K.splice.apply(K,[N+1,0].concat(q.makeArray(K[N].getElementsByTagName("script"))))}M.appendChild(K[N])}}return I}return K},attr:function(N,K,O){if(!N||N.nodeType==3||N.nodeType==8){return g}var L=!q.isXMLDoc(N),P=O!==g;K=L&&q.props[K]||K;if(N.tagName){var J=/href|src|style/.test(K);if(K=="selected"&&N.parentNode){N.parentNode.selectedIndex}if(K in N&&L&&!J){if(P){if(K=="type"&&q.nodeName(N,"input")&&N.parentNode){throw"type property can't be changed"}N[K]=O}if(q.nodeName(N,"form")&&N.getAttributeNode(K)){return N.getAttributeNode(K).nodeValue}if(K=="tabIndex"){var M=N.getAttributeNode("tabIndex");return M&&M.specified?M.value:N.nodeName.match(/(button|input|object|select|textarea)/i)?0:N.nodeName.match(/^(a|area)$/i)&&N.href?0:g}return N[K]}if(!q.support.style&&L&&K=="style"){return q.attr(N.style,"cssText",O)}if(P){N.setAttribute(K,""+O)}var I=!q.support.hrefNormalized&&L&&J?N.getAttribute(K,2):N.getAttribute(K);return I===null?g:I}if(!q.support.opacity&&K=="opacity"){if(P){N.zoom=1;N.filter=(N.filter||"").replace(/alpha\([^)]*\)/,"")+(parseInt(O)+""=="NaN"?"":"alpha(opacity="+O*100+")")}return N.filter&&N.filter.indexOf("opacity=")>=0?(parseFloat(N.filter.match(/opacity=([^)]*)/)[1])/100)+"":""}K=K.replace(/-([a-z])/ig,function(Q,R){return R.toUpperCase()});if(P){N[K]=O}return N[K]},trim:function(I){return(I||"").replace(/^\s+|\s+$/g,"")},makeArray:function(K){var I=[];if(K!=null){var J=K.length;if(J==null||typeof K==="string"||q.isFunction(K)||K.setInterval){I[0]=K}else{while(J){I[--J]=K[J]}}}return I},inArray:function(K,L){for(var I=0,J=L.length;I<J;I++){if(L[I]===K){return I}}return -1},merge:function(L,I){var J=0,K,M=L.length;if(!q.support.getAll){while((K=I[J++])!=null){if(K.nodeType!=8){L[M++]=K}}}else{while((K=I[J++])!=null){L[M++]=K}}return L},unique:function(O){var J=[],I={};try{for(var K=0,L=O.length;K<L;K++){var N=q.data(O[K]);if(!I[N]){I[N]=true;J.push(O[K])}}}catch(M){J=O}return J},grep:function(J,N,I){var K=[];for(var L=0,M=J.length;L<M;L++){if(!I!=!N(J[L],L)){K.push(J[L])}}return K},map:function(I,N){var J=[];for(var K=0,L=I.length;K<L;K++){var M=N(I[K],K);if(M!=null){J[J.length]=M}}return J.concat.apply([],J)}});var G=navigator.userAgent.toLowerCase();q.browser={version:(G.match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||[0,"0"])[1],safari:/webkit/.test(G),opera:/opera/.test(G),msie:/msie/.test(G)&&!/opera/.test(G),mozilla:/mozilla/.test(G)&&!/(compatible|webkit)/.test(G)};q.each({parent:function(I){return I.parentNode},parents:function(I){return q.dir(I,"parentNode")},next:function(I){return q.nth(I,2,"nextSibling")},prev:function(I){return q.nth(I,2,"previousSibling")},nextAll:function(I){return q.dir(I,"nextSibling")},prevAll:function(I){return q.dir(I,"previousSibling")},siblings:function(I){return q.sibling(I.parentNode.firstChild,I)},children:function(I){return q.sibling(I.firstChild)},contents:function(I){return q.nodeName(I,"iframe")?I.contentDocument||I.contentWindow.document:q.makeArray(I.childNodes)}},function(I,J){q.fn[I]=function(K){var L=q.map(this,J);if(K&&typeof K=="string"){L=q.multiFilter(K,L)}return this.pushStack(q.unique(L),I,K)}});q.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(I,J){q.fn[I]=function(){var K=arguments;return this.each(function(){for(var L=0,M=K.length;L<M;L++){q(K[L])[J](this)}})}});q.each({removeAttr:function(I){q.attr(this,I,"");if(this.nodeType==1){this.removeAttribute(I)}},addClass:function(I){q.className.add(this,I)},removeClass:function(I){q.className.remove(this,I)},toggleClass:function(J,I){if(typeof I!=="boolean"){I=!q.className.has(this,J)}q.className[I?"add":"remove"](this,J)},remove:function(I){if(!I||q.filter(I,[this]).length){q("*",this).add([this]).each(function(){q.event.remove(this);q.removeData(this)});if(this.parentNode){this.parentNode.removeChild(this)}}},empty:function(){q(">*",this).remove();while(this.firstChild){this.removeChild(this.firstChild)}}},function(I,J){q.fn[I]=function(){return this.each(J,arguments)}});function k(I,J){return I[0]&&parseInt(q.curCSS(I[0],J,true),10)||0}var i="jQuery"+e(),z=0,E={};q.extend({cache:{},data:function(J,I,K){J=J==m?E:J;var L=J[i];if(!L){L=J[i]=++z}if(I&&!q.cache[L]){q.cache[L]={}}if(K!==g){q.cache[L][I]=K}return I?q.cache[L][I]:L},removeData:function(J,I){J=J==m?E:J;var L=J[i];if(I){if(q.cache[L]){delete q.cache[L][I];I="";for(I in q.cache[L]){break}if(!I){q.removeData(J)}}}else{try{delete J[i]}catch(K){if(J.removeAttribute){J.removeAttribute(i)}}delete q.cache[L]}},queue:function(J,I,L){if(J){I=(I||"fx")+"queue";var K=q.data(J,I);if(!K||q.isArray(L)){K=q.data(J,I,q.makeArray(L))}else{if(L){K.push(L)}}}return K},dequeue:function(L,K){var I=q.queue(L,K),J=I.shift();if(!K||K==="fx"){J=I[0]}if(J!==g){J.call(L)}}});q.fn.extend({data:function(I,K){var L=I.split(".");L[1]=L[1]?"."+L[1]:"";if(K===g){var J=this.triggerHandler("getData"+L[1]+"!",[L[0]]);if(J===g&&this.length){J=q.data(this[0],I)}return J===g&&L[1]?this.data(L[0]):J}else{return this.trigger("setData"+L[1]+"!",[L[0],K]).each(function(){q.data(this,I,K)})}},removeData:function(I){return this.each(function(){q.removeData(this,I)})},queue:function(I,J){if(typeof I!=="string"){J=I;I="fx"}if(J===g){return q.queue(this[0],I)}return this.each(function(){var K=q.queue(this,I,J);if(I=="fx"&&K.length==1){K[0].call(this)}})},dequeue:function(I){return this.each(function(){q.dequeue(this,I)})}});
/*
 * Sizzle CSS Selector Engine - v0.9.3
 *  Copyright 2009, The Dojo Foundation
 *  Released under the MIT, BSD, and GPL Licenses.
 *  More information: http://sizzlejs.com/
 */
(function(){var U=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]+['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[]+)+|[>+~])(\s*,\s*)?/g,O=0,K=Object.prototype.toString;var J=function(ab,X,ae,af){ae=ae||[];X=X||document;if(X.nodeType!==1&&X.nodeType!==9){return[]}if(!ab||typeof ab!=="string"){return ae}var ac=[],Z,ai,al,W,ag,Y,aa=true;U.lastIndex=0;while((Z=U.exec(ab))!==null){ac.push(Z[1]);if(Z[2]){Y=RegExp.rightContext;break}}if(ac.length>1&&P.exec(ab)){if(ac.length===2&&L.relative[ac[0]]){ai=M(ac[0]+ac[1],X)}else{ai=L.relative[ac[0]]?[X]:J(ac.shift(),X);while(ac.length){ab=ac.shift();if(L.relative[ab]){ab+=ac.shift()}ai=M(ab,ai)}}}else{var ah=af?{expr:ac.pop(),set:I(af)}:J.find(ac.pop(),ac.length===1&&X.parentNode?X.parentNode:X,T(X));ai=J.filter(ah.expr,ah.set);if(ac.length>0){al=I(ai)}else{aa=false}while(ac.length){var ak=ac.pop(),aj=ak;if(!L.relative[ak]){ak=""}else{aj=ac.pop()}if(aj==null){aj=X}L.relative[ak](al,aj,T(X))}}if(!al){al=ai}if(!al){throw"Syntax error, unrecognized expression: "+(ak||ab)}if(K.call(al)==="[object Array]"){if(!aa){ae.push.apply(ae,al)}else{if(X.nodeType===1){for(var ad=0;al[ad]!=null;ad++){if(al[ad]&&(al[ad]===true||al[ad].nodeType===1&&N(X,al[ad]))){ae.push(ai[ad])}}}else{for(var ad=0;al[ad]!=null;ad++){if(al[ad]&&al[ad].nodeType===1){ae.push(ai[ad])}}}}}else{I(al,ae)}if(Y){J(Y,X,ae,af)}return ae};J.matches=function(W,X){return J(W,null,null,X)};J.find=function(ad,W,ae){var ac,aa;if(!ad){return[]}for(var Z=0,Y=L.order.length;Z<Y;Z++){var ab=L.order[Z],aa;if((aa=L.match[ab].exec(ad))){var X=RegExp.leftContext;if(X.substr(X.length-1)!=="\\"){aa[1]=(aa[1]||"").replace(/\\/g,"");ac=L.find[ab](aa,W,ae);if(ac!=null){ad=ad.replace(L.match[ab],"");break}}}}if(!ac){ac=W.getElementsByTagName("*")}return{set:ac,expr:ad}};J.filter=function(af,ae,ai,Z){var Y=af,ak=[],ac=ae,ab,W;while(af&&ae.length){for(var ad in L.filter){if((ab=L.match[ad].exec(af))!=null){var X=L.filter[ad],aj,ah;W=false;if(ac==ak){ak=[]}if(L.preFilter[ad]){ab=L.preFilter[ad](ab,ac,ai,ak,Z);if(!ab){W=aj=true}else{if(ab===true){continue}}}if(ab){for(var aa=0;(ah=ac[aa])!=null;aa++){if(ah){aj=X(ah,ab,aa,ac);var ag=Z^!!aj;if(ai&&aj!=null){if(ag){W=true}else{ac[aa]=false}}else{if(ag){ak.push(ah);W=true}}}}}if(aj!==g){if(!ai){ac=ak}af=af.replace(L.match[ad],"");if(!W){return[]}break}}}af=af.replace(/\s*,\s*/,"");if(af==Y){if(W==null){throw"Syntax error, unrecognized expression: "+af}else{break}}Y=af}return ac};var L=J.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\(\)]*)+)\2\))?/},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(W){return W.getAttribute("href")}},relative:{"+":function(aa,X){for(var Y=0,W=aa.length;Y<W;Y++){var Z=aa[Y];if(Z){var ab=Z.previousSibling;while(ab&&ab.nodeType!==1){ab=ab.previousSibling}aa[Y]=typeof X==="string"?ab||false:ab===X}}if(typeof X==="string"){J.filter(X,aa,true)}},">":function(ab,X,ac){if(typeof X==="string"&&!/\W/.test(X)){X=ac?X:X.toUpperCase();for(var Y=0,W=ab.length;Y<W;Y++){var aa=ab[Y];if(aa){var Z=aa.parentNode;ab[Y]=Z.nodeName===X?Z:false}}}else{for(var Y=0,W=ab.length;Y<W;Y++){var aa=ab[Y];if(aa){ab[Y]=typeof X==="string"?aa.parentNode:aa.parentNode===X}}if(typeof X==="string"){J.filter(X,ab,true)}}},"":function(Z,X,ab){var Y="done"+(O++),W=V;if(!X.match(/\W/)){var aa=X=ab?X:X.toUpperCase();W=S}W("parentNode",X,Y,Z,aa,ab)},"~":function(Z,X,ab){var Y="done"+(O++),W=V;if(typeof X==="string"&&!X.match(/\W/)){var aa=X=ab?X:X.toUpperCase();W=S}W("previousSibling",X,Y,Z,aa,ab)}},find:{ID:function(X,Y,Z){if(typeof Y.getElementById!=="undefined"&&!Z){var W=Y.getElementById(X[1]);return W?[W]:[]}},NAME:function(W,X,Y){if(typeof X.getElementsByName!=="undefined"&&!Y){return X.getElementsByName(W[1])}},TAG:function(W,X){return X.getElementsByTagName(W[1])}},preFilter:{CLASS:function(Z,X,Y,W,ac){Z=" "+Z[1].replace(/\\/g,"")+" ";var ab;for(var aa=0;(ab=X[aa])!=null;aa++){if(ab){if(ac^(" "+ab.className+" ").indexOf(Z)>=0){if(!Y){W.push(ab)}}else{if(Y){X[aa]=false}}}}return false},ID:function(W){return W[1].replace(/\\/g,"")},TAG:function(X,W){for(var Y=0;W[Y]===false;Y++){}return W[Y]&&T(W[Y])?X[1]:X[1].toUpperCase()},CHILD:function(W){if(W[1]=="nth"){var X=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(W[2]=="even"&&"2n"||W[2]=="odd"&&"2n+1"||!/\D/.test(W[2])&&"0n+"+W[2]||W[2]);W[2]=(X[1]+(X[2]||1))-0;W[3]=X[3]-0}W[0]="done"+(O++);return W},ATTR:function(X){var W=X[1].replace(/\\/g,"");if(L.attrMap[W]){X[1]=L.attrMap[W]}if(X[2]==="~="){X[4]=" "+X[4]+" "}return X},PSEUDO:function(aa,X,Y,W,ab){if(aa[1]==="not"){if(aa[3].match(U).length>1){aa[3]=J(aa[3],null,null,X)}else{var Z=J.filter(aa[3],X,Y,true^ab);if(!Y){W.push.apply(W,Z)}return false}}else{if(L.match.POS.test(aa[0])){return true}}return aa},POS:function(W){W.unshift(true);return W}},filters:{enabled:function(W){return W.disabled===false&&W.type!=="hidden"},disabled:function(W){return W.disabled===true},checked:function(W){return W.checked===true},selected:function(W){W.parentNode.selectedIndex;return W.selected===true},parent:function(W){return !!W.firstChild},empty:function(W){return !W.firstChild},has:function(Y,X,W){return !!J(W[3],Y).length},header:function(W){return/h\d/i.test(W.nodeName)},text:function(W){return"text"===W.type},radio:function(W){return"radio"===W.type},checkbox:function(W){return"checkbox"===W.type},file:function(W){return"file"===W.type},password:function(W){return"password"===W.type},submit:function(W){return"submit"===W.type},image:function(W){return"image"===W.type},reset:function(W){return"reset"===W.type},button:function(W){return"button"===W.type||W.nodeName.toUpperCase()==="BUTTON"},input:function(W){return/input|select|textarea|button/i.test(W.nodeName)}},setFilters:{first:function(X,W){return W===0},last:function(Y,X,W,Z){return X===Z.length-1},even:function(X,W){return W%2===0},odd:function(X,W){return W%2===1},lt:function(Y,X,W){return X<W[3]-0},gt:function(Y,X,W){return X>W[3]-0},nth:function(Y,X,W){return W[3]-0==X},eq:function(Y,X,W){return W[3]-0==X}},filter:{CHILD:function(W,Z){var ac=Z[1],ad=W.parentNode;var ab=Z[0];if(ad&&(!ad[ab]||!W.nodeIndex)){var aa=1;for(var X=ad.firstChild;X;X=X.nextSibling){if(X.nodeType==1){X.nodeIndex=aa++}}ad[ab]=aa-1}if(ac=="first"){return W.nodeIndex==1}else{if(ac=="last"){return W.nodeIndex==ad[ab]}else{if(ac=="only"){return ad[ab]==1}else{if(ac=="nth"){var af=false,Y=Z[2],ae=Z[3];if(Y==1&&ae==0){return true}if(Y==0){if(W.nodeIndex==ae){af=true}}else{if((W.nodeIndex-ae)%Y==0&&(W.nodeIndex-ae)/Y>=0){af=true}}return af}}}}},PSEUDO:function(ac,Y,Z,ad){var X=Y[1],aa=L.filters[X];if(aa){return aa(ac,Z,Y,ad)}else{if(X==="contains"){return(ac.textContent||ac.innerText||"").indexOf(Y[3])>=0}else{if(X==="not"){var ab=Y[3];for(var Z=0,W=ab.length;Z<W;Z++){if(ab[Z]===ac){return false}}return true}}}},ID:function(X,W){return X.nodeType===1&&X.getAttribute("id")===W},TAG:function(X,W){return(W==="*"&&X.nodeType===1)||X.nodeName===W},CLASS:function(X,W){return W.test(X.className)},ATTR:function(aa,Y){var W=L.attrHandle[Y[1]]?L.attrHandle[Y[1]](aa):aa[Y[1]]||aa.getAttribute(Y[1]),ab=W+"",Z=Y[2],X=Y[4];return W==null?Z==="!=":Z==="="?ab===X:Z==="*="?ab.indexOf(X)>=0:Z==="~="?(" "+ab+" ").indexOf(X)>=0:!Y[4]?W:Z==="!="?ab!=X:Z==="^="?ab.indexOf(X)===0:Z==="$="?ab.substr(ab.length-X.length)===X:Z==="|="?ab===X||ab.substr(0,X.length+1)===X+"-":false},POS:function(aa,X,Y,ab){var W=X[2],Z=L.setFilters[W];if(Z){return Z(aa,Y,X,ab)}}}};var P=L.match.POS;for(var R in L.match){L.match[R]=RegExp(L.match[R].source+/(?![^\[]*\])(?![^\(]*\))/.source)}var I=function(X,W){X=Array.prototype.slice.call(X);if(W){W.push.apply(W,X);return W}return X};try{Array.prototype.slice.call(document.documentElement.childNodes)}catch(Q){I=function(aa,Z){var X=Z||[];if(K.call(aa)==="[object Array]"){Array.prototype.push.apply(X,aa)}else{if(typeof aa.length==="number"){for(var Y=0,W=aa.length;Y<W;Y++){X.push(aa[Y])}}else{for(var Y=0;aa[Y];Y++){X.push(aa[Y])}}}return X}}(function(){var X=document.createElement("form"),Y="script"+(new Date).getTime();X.innerHTML="<input name='"+Y+"'/>";var W=document.documentElement;W.insertBefore(X,W.firstChild);if(!!document.getElementById(Y)){L.find.ID=function(aa,ab,ac){if(typeof ab.getElementById!=="undefined"&&!ac){var Z=ab.getElementById(aa[1]);return Z?Z.id===aa[1]||typeof Z.getAttributeNode!=="undefined"&&Z.getAttributeNode("id").nodeValue===aa[1]?[Z]:g:[]}};L.filter.ID=function(ab,Z){var aa=typeof ab.getAttributeNode!=="undefined"&&ab.getAttributeNode("id");return ab.nodeType===1&&aa&&aa.nodeValue===Z}}W.removeChild(X)})();(function(){var W=document.createElement("div");W.appendChild(document.createComment(""));if(W.getElementsByTagName("*").length>0){L.find.TAG=function(X,ab){var aa=ab.getElementsByTagName(X[1]);if(X[1]==="*"){var Z=[];for(var Y=0;aa[Y];Y++){if(aa[Y].nodeType===1){Z.push(aa[Y])}}aa=Z}return aa}}W.innerHTML="<a href='#'></a>";if(W.firstChild&&W.firstChild.getAttribute("href")!=="#"){L.attrHandle.href=function(X){return X.getAttribute("href",2)}}})();if(document.querySelectorAll){(function(){var W=J,X=document.createElement("div");X.innerHTML="<p class='TEST'></p>";if(X.querySelectorAll&&X.querySelectorAll(".TEST").length===0){return}J=function(ab,aa,Y,Z){aa=aa||document;if(!Z&&aa.nodeType===9&&!T(aa)){try{return I(aa.querySelectorAll(ab),Y)}catch(ac){}}return W(ab,aa,Y,Z)};J.find=W.find;J.filter=W.filter;J.selectors=W.selectors;J.matches=W.matches})()}if(document.getElementsByClassName&&document.documentElement.getElementsByClassName){L.order.splice(1,0,"CLASS");L.find.CLASS=function(W,X){return X.getElementsByClassName(W[1])}}function S(X,ad,ac,ag,ae,af){for(var aa=0,Y=ag.length;aa<Y;aa++){var W=ag[aa];if(W){W=W[X];var ab=false;while(W&&W.nodeType){var Z=W[ac];if(Z){ab=ag[Z];break}if(W.nodeType===1&&!af){W[ac]=aa}if(W.nodeName===ad){ab=W;break}W=W[X]}ag[aa]=ab}}}function V(X,ac,ab,af,ad,ae){for(var Z=0,Y=af.length;Z<Y;Z++){var W=af[Z];if(W){W=W[X];var aa=false;while(W&&W.nodeType){if(W[ab]){aa=af[W[ab]];break}if(W.nodeType===1){if(!ae){W[ab]=Z}if(typeof ac!=="string"){if(W===ac){aa=true;break}}else{if(J.filter(ac,[W]).length>0){aa=W;break}}}W=W[X]}af[Z]=aa}}}var N=document.compareDocumentPosition?function(X,W){return X.compareDocumentPosition(W)&16}:function(X,W){return X!==W&&(X.contains?X.contains(W):true)};var T=function(W){return W.nodeType===9&&W.documentElement.nodeName!=="HTML"||!!W.ownerDocument&&T(W.ownerDocument)};var M=function(W,ad){var Z=[],aa="",ab,Y=ad.nodeType?[ad]:ad;while((ab=L.match.PSEUDO.exec(W))){aa+=ab[0];W=W.replace(L.match.PSEUDO,"")}W=L.relative[W]?W+"*":W;for(var ac=0,X=Y.length;ac<X;ac++){J(W,Y[ac],Z)}return J.filter(aa,Z)};q.find=J;q.filter=J.filter;q.expr=J.selectors;q.expr[":"]=q.expr.filters;J.selectors.filters.hidden=function(W){return"hidden"===W.type||q.css(W,"display")==="none"||q.css(W,"visibility")==="hidden"};J.selectors.filters.visible=function(W){return"hidden"!==W.type&&q.css(W,"display")!=="none"&&q.css(W,"visibility")!=="hidden"};J.selectors.filters.animated=function(W){return q.grep(q.timers,function(X){return W===X.elem}).length};q.multiFilter=function(Y,W,X){if(X){Y=":not("+Y+")"}return J.matches(Y,W)};q.dir=function(Y,X){var W=[],Z=Y[X];while(Z&&Z!=document){if(Z.nodeType==1){W.push(Z)}Z=Z[X]}return W};q.nth=function(aa,W,Y,Z){W=W||1;var X=0;for(;aa;aa=aa[Y]){if(aa.nodeType==1&&++X==W){break}}return aa};q.sibling=function(Y,X){var W=[];for(;Y;Y=Y.nextSibling){if(Y.nodeType==1&&Y!=X){W.push(Y)}}return W};return;m.Sizzle=J})();q.event={add:function(M,J,L,O){if(M.nodeType==3||M.nodeType==8){return}if(M.setInterval&&M!=m){M=m}if(!L.guid){L.guid=this.guid++}if(O!==g){var K=L;L=this.proxy(K);L.data=O}var I=q.data(M,"events")||q.data(M,"events",{}),N=q.data(M,"handle")||q.data(M,"handle",function(){return typeof q!=="undefined"&&!q.event.triggered?q.event.handle.apply(arguments.callee.elem,arguments):g});N.elem=M;q.each(J.split(/\s+/),function(Q,R){var S=R.split(".");R=S.shift();L.type=S.slice().sort().join(".");var P=I[R];if(q.event.specialAll[R]){q.event.specialAll[R].setup.call(M,O,S)}if(!P){P=I[R]={};if(!q.event.special[R]||q.event.special[R].setup.call(M,O,S)===false){if(M.addEventListener){M.addEventListener(R,N,false)}else{if(M.attachEvent){M.attachEvent("on"+R,N)}}}}P[L.guid]=L;q.event.global[R]=true});M=null},guid:1,global:{},remove:function(O,L,N){if(O.nodeType==3||O.nodeType==8){return}var K=q.data(O,"events"),J,I;if(K){if(L===g||(typeof L==="string"&&L.charAt(0)==".")){for(var M in K){this.remove(O,M+(L||""))}}else{if(L.type){N=L.handler;L=L.type}q.each(L.split(/\s+/),function(Q,S){var U=S.split(".");S=U.shift();var R=RegExp("(^|\\.)"+U.slice().sort().join(".*\\.")+"(\\.|$)");if(K[S]){if(N){delete K[S][N.guid]}else{for(var T in K[S]){if(R.test(K[S][T].type)){delete K[S][T]}}}if(q.event.specialAll[S]){q.event.specialAll[S].teardown.call(O,U)}for(J in K[S]){break}if(!J){if(!q.event.special[S]||q.event.special[S].teardown.call(O,U)===false){if(O.removeEventListener){O.removeEventListener(S,q.data(O,"handle"),false)}else{if(O.detachEvent){O.detachEvent("on"+S,q.data(O,"handle"))}}}J=null;delete K[S]}}})}for(J in K){break}if(!J){var P=q.data(O,"handle");if(P){P.elem=null}q.removeData(O,"events");q.removeData(O,"handle")}}},trigger:function(M,O,L,I){var K=M.type||M;if(!I){M=typeof M==="object"?M[i]?M:q.extend(q.Event(K),M):q.Event(K);if(K.indexOf("!")>=0){M.type=K=K.slice(0,-1);M.exclusive=true}if(!L){M.stopPropagation();if(this.global[K]){q.each(q.cache,function(){if(this.events&&this.events[K]){q.event.trigger(M,O,this.handle.elem)}})}}if(!L||L.nodeType==3||L.nodeType==8){return g}M.result=g;M.target=L;O=q.makeArray(O);O.unshift(M)}M.currentTarget=L;var N=q.data(L,"handle");if(N){N.apply(L,O)}if((!L[K]||(q.nodeName(L,"a")&&K=="click"))&&L["on"+K]&&L["on"+K].apply(L,O)===false){M.result=false}if(!I&&L[K]&&!M.isDefaultPrevented()&&!(q.nodeName(L,"a")&&K=="click")){this.triggered=true;try{L[K]()}catch(P){}}this.triggered=false;if(!M.isPropagationStopped()){var J=L.parentNode||L.ownerDocument;if(J){q.event.trigger(M,O,J,true)}}},handle:function(O){var N,I;O=arguments[0]=q.event.fix(O||m.event);var P=O.type.split(".");O.type=P.shift();N=!P.length&&!O.exclusive;var M=RegExp("(^|\\.)"+P.slice().sort().join(".*\\.")+"(\\.|$)");I=(q.data(this,"events")||{})[O.type];for(var K in I){var L=I[K];if(N||M.test(L.type)){O.handler=L;O.data=L.data;var J=L.apply(this,arguments);if(J!==g){O.result=J;if(J===false){O.preventDefault();O.stopPropagation()}}if(O.isImmediatePropagationStopped()){break}}}},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode metaKey newValue originalTarget pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),fix:function(L){if(L[i]){return L}var J=L;L=q.Event(J);for(var K=this.props.length,N;K;){N=this.props[--K];L[N]=J[N]}if(!L.target){L.target=L.srcElement||document}if(L.target.nodeType==3){L.target=L.target.parentNode}if(!L.relatedTarget&&L.fromElement){L.relatedTarget=L.fromElement==L.target?L.toElement:L.fromElement}if(L.pageX==null&&L.clientX!=null){var M=document.documentElement,I=document.body;L.pageX=L.clientX+(M&&M.scrollLeft||I&&I.scrollLeft||0)-(M.clientLeft||0);L.pageY=L.clientY+(M&&M.scrollTop||I&&I.scrollTop||0)-(M.clientTop||0)}if(!L.which&&((L.charCode||L.charCode===0)?L.charCode:L.keyCode)){L.which=L.charCode||L.keyCode}if(!L.metaKey&&L.ctrlKey){L.metaKey=L.ctrlKey}if(!L.which&&L.button){L.which=(L.button&1?1:(L.button&2?3:(L.button&4?2:0)))}return L},proxy:function(J,I){I=I||function(){return J.apply(this,arguments)};I.guid=J.guid=J.guid||I.guid||this.guid++;return I},special:{ready:{setup:F,teardown:function(){}}},specialAll:{live:{setup:function(I,J){q.event.add(this,J[0],c)},teardown:function(K){if(K.length){var I=0,J=RegExp("(^|\\.)"+K[0]+"(\\.|$)");q.each((q.data(this,"events").live||{}),function(){if(J.test(this.type)){I++}});if(I<1){q.event.remove(this,K[0],c)}}}}}};q.Event=function(I){if(!this.preventDefault){return new q.Event(I)}if(I&&I.type){this.originalEvent=I;this.type=I.type}else{this.type=I}this.timeStamp=e();this[i]=true};function l(){return false}function y(){return true}q.Event.prototype={preventDefault:function(){this.isDefaultPrevented=y;var I=this.originalEvent;if(!I){return}if(I.preventDefault){I.preventDefault()}I.returnValue=false},stopPropagation:function(){this.isPropagationStopped=y;var I=this.originalEvent;if(!I){return}if(I.stopPropagation){I.stopPropagation()}I.cancelBubble=true},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=y;this.stopPropagation()},isDefaultPrevented:l,isPropagationStopped:l,isImmediatePropagationStopped:l};var a=function(J){var I=J.relatedTarget;while(I&&I!=this){try{I=I.parentNode}catch(K){I=this}}if(I!=this){J.type=J.data;q.event.handle.apply(this,arguments)}};q.each({mouseover:"mouseenter",mouseout:"mouseleave"},function(J,I){q.event.special[I]={setup:function(){q.event.add(this,J,a,I)},teardown:function(){q.event.remove(this,J,a)}}});q.fn.extend({bind:function(J,K,I){return J=="unload"?this.one(J,K,I):this.each(function(){q.event.add(this,J,I||K,I&&K)})},one:function(K,L,J){var I=q.event.proxy(J||L,function(M){q(this).unbind(M,I);return(J||L).apply(this,arguments)});return this.each(function(){q.event.add(this,K,I,J&&L)})},unbind:function(J,I){return this.each(function(){q.event.remove(this,J,I)})},trigger:function(I,J){return this.each(function(){q.event.trigger(I,J,this)})},triggerHandler:function(I,K){if(this[0]){var J=q.Event(I);J.preventDefault();J.stopPropagation();q.event.trigger(J,K,this[0]);return J.result}},toggle:function(K){var I=arguments,J=1;while(J<I.length){q.event.proxy(K,I[J++])}return this.click(q.event.proxy(K,function(L){this.lastToggle=(this.lastToggle||0)%J;L.preventDefault();return I[this.lastToggle++].apply(this,arguments)||false}))},hover:function(I,J){return this.mouseenter(I).mouseleave(J)},ready:function(I){F();if(q.isReady){I.call(document,q)}else{q.readyList.push(I)}return this},live:function(K,J){var I=q.event.proxy(J);I.guid+=this.selector+K;q(document).bind(j(K,this.selector),this.selector,I);return this},die:function(J,I){q(document).unbind(j(J,this.selector),I?{guid:I.guid+this.selector+J}:null);return this}});function c(L){var I=RegExp("(^|\\.)"+L.type+"(\\.|$)"),K=true,J=[];q.each(q.data(this,"events").live||[],function(M,N){if(I.test(N.type)){var O=q(L.target).closest(N.data)[0];if(O){J.push({elem:O,fn:N})}}});q.each(J,function(){if(this.fn.call(this.elem,L,this.fn.data)===false){K=false}});return K}function j(J,I){return["live",J,I.replace(/\./g,"`").replace(/ /g,"|")].join(".")}q.extend({isReady:false,readyList:[],ready:function(){if(!q.isReady){q.isReady=true;if(q.readyList){q.each(q.readyList,function(){this.call(document,q)});q.readyList=null}q(document).triggerHandler("ready")}}});var B=false;function F(){if(B){return}B=true;if(document.addEventListener){document.addEventListener("DOMContentLoaded",function(){document.removeEventListener("DOMContentLoaded",arguments.callee,false);q.ready()},false)}else{if(document.attachEvent){document.attachEvent("onreadystatechange",function(){if(document.readyState==="complete"){document.detachEvent("onreadystatechange",arguments.callee);q.ready()}});if(document.documentElement.doScroll&&typeof m.frameElement==="undefined"){(function(){if(q.isReady){return}try{document.documentElement.doScroll("left")}catch(I){setTimeout(arguments.callee,0);return}q.ready()})()}}}q.event.add(m,"load",q.ready)}q.each(("blur,focus,load,resize,scroll,unload,click,dblclick,mousedown,mouseup,mousemove,mouseover,mouseout,mouseenter,mouseleave,change,select,submit,keydown,keypress,keyup,error").split(","),function(J,I){q.fn[I]=function(K){return K?this.bind(I,K):this.trigger(I)}});q(m).bind("unload",function(){for(var I in q.cache){if(I!=1&&q.cache[I].handle){q.event.remove(q.cache[I].handle.elem)}}});(function(){q.support={};var J=document.documentElement,K=document.createElement("script"),O=document.createElement("div"),N="script"+(new Date).getTime();O.style.display="none";O.innerHTML='   <link/><table></table><a href="/a" style="color:red;float:left;opacity:.5;">a</a><select><option>text</option></select><object><param/></object>';var L=O.getElementsByTagName("*"),I=O.getElementsByTagName("a")[0];if(!L||!L.length||!I){return}q.support={leadingWhitespace:O.firstChild.nodeType==3,tbody:!O.getElementsByTagName("tbody").length,objectAll:!!O.getElementsByTagName("object")[0].getElementsByTagName("*").length,htmlSerialize:!!O.getElementsByTagName("link").length,style:/red/.test(I.getAttribute("style")),hrefNormalized:I.getAttribute("href")==="/a",opacity:I.style.opacity==="0.5",cssFloat:!!I.style.cssFloat,scriptEval:false,noCloneEvent:true,boxModel:null};K.type="text/javascript";try{K.appendChild(document.createTextNode("window."+N+"=1;"))}catch(M){}J.insertBefore(K,J.firstChild);if(m[N]){q.support.scriptEval=true;delete m[N]}J.removeChild(K);if(O.attachEvent&&O.fireEvent){O.attachEvent("onclick",function(){q.support.noCloneEvent=false;O.detachEvent("onclick",arguments.callee)});O.cloneNode(true).fireEvent("onclick")}q(function(){var P=document.createElement("div");P.style.width="1px";P.style.paddingLeft="1px";document.body.appendChild(P);q.boxModel=q.support.boxModel=P.offsetWidth===2;document.body.removeChild(P)})})();var A=q.support.cssFloat?"cssFloat":"styleFloat";q.props={"for":"htmlFor","class":"className","float":A,cssFloat:A,styleFloat:A,readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",tabindex:"tabIndex"};q.fn.extend({_load:q.fn.load,load:function(K,N,O){if(typeof K!=="string"){return this._load(K)}var M=K.indexOf(" ");if(M>=0){var I=K.slice(M,K.length);K=K.slice(0,M)}var L="GET";if(N){if(q.isFunction(N)){O=N;N=null}else{if(typeof N==="object"){N=q.param(N);L="POST"}}}var J=this;q.ajax({url:K,type:L,dataType:"html",data:N,complete:function(Q,P){if(P=="success"||P=="notmodified"){J.html(I?q("<div/>").append(Q.responseText.replace(/<script(.|\s)*?\/script>/g,"")).find(I):Q.responseText)}if(O){J.each(O,[Q.responseText,P,Q])}}});return this},serialize:function(){return q.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?q.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||/select|textarea/i.test(this.nodeName)||/text|hidden|password/i.test(this.type))}).map(function(I,J){var K=q(this).val();return K==null?null:q.isArray(K)?q.map(K,function(M,L){return{name:J.name,value:M}}):{name:J.name,value:K}}).get()}});q.each("ajaxStart,ajaxStop,ajaxComplete,ajaxError,ajaxSuccess,ajaxSend".split(","),function(I,J){q.fn[J]=function(K){return this.bind(J,K)}});var u=e();q.extend({get:function(I,K,L,J){if(q.isFunction(K)){L=K;K=null}return q.ajax({type:"GET",url:I,data:K,success:L,dataType:J})},getScript:function(I,J){return q.get(I,null,J,"script")},getJSON:function(I,J,K){return q.get(I,J,K,"json")},post:function(I,K,L,J){if(q.isFunction(K)){L=K;K={}}return q.ajax({type:"POST",url:I,data:K,success:L,dataType:J})},ajaxSetup:function(I){q.extend(q.ajaxSettings,I)},ajaxSettings:{url:location.href,global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:function(){return m.ActiveXObject?new ActiveXObject("Microsoft.XMLHTTP"):new XMLHttpRequest()},accepts:{xml:"application/xml, text/xml",html:"text/html",script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},lastModified:{},ajax:function(Q){Q=q.extend(true,Q,q.extend(true,{},q.ajaxSettings,Q));var aa,J=/=\?(&|$)/g,V,Z,K=Q.type.toUpperCase();if(Q.data&&Q.processData&&typeof Q.data!=="string"){Q.data=q.param(Q.data)}if(Q.dataType=="jsonp"){if(K=="GET"){if(!Q.url.match(J)){Q.url+=(Q.url.match(/\?/)?"&":"?")+(Q.jsonp||"callback")+"=?"}}else{if(!Q.data||!Q.data.match(J)){Q.data=(Q.data?Q.data+"&":"")+(Q.jsonp||"callback")+"=?"}}Q.dataType="json"}if(Q.dataType=="json"&&(Q.data&&Q.data.match(J)||Q.url.match(J))){aa="jsonp"+u++;if(Q.data){Q.data=(Q.data+"").replace(J,"="+aa+"$1")}Q.url=Q.url.replace(J,"="+aa+"$1");Q.dataType="script";m[aa]=function(ab){Z=ab;M();P();m[aa]=g;try{delete m[aa]}catch(ac){}if(L){L.removeChild(X)}}}if(Q.dataType=="script"&&Q.cache==null){Q.cache=false}if(Q.cache===false&&K=="GET"){var I=e();var Y=Q.url.replace(/(\?|&)_=.*?(&|$)/,"$1_="+I+"$2");Q.url=Y+((Y==Q.url)?(Q.url.match(/\?/)?"&":"?")+"_="+I:"")}if(Q.data&&K=="GET"){Q.url+=(Q.url.match(/\?/)?"&":"?")+Q.data;Q.data=null}if(Q.global&&!q.active++){q.event.trigger("ajaxStart")}var U=/^(\w+:)?\/\/([^\/?#]+)/.exec(Q.url);if(Q.dataType=="script"&&K=="GET"&&U&&(U[1]&&U[1]!=location.protocol||U[2]!=location.host)){var L=document.getElementsByTagName("head")[0];var X=document.createElement("script");X.src=Q.url;if(Q.scriptCharset){X.charset=Q.scriptCharset}if(!aa){var S=false;X.onload=X.onreadystatechange=function(){if(!S&&(!this.readyState||this.readyState=="loaded"||this.readyState=="complete")){S=true;M();P();L.removeChild(X)}}}L.appendChild(X);return g}var O=false;var N=Q.xhr();if(Q.username){N.open(K,Q.url,Q.async,Q.username,Q.password)}else{N.open(K,Q.url,Q.async)}try{if(Q.data){N.setRequestHeader("Content-Type",Q.contentType)}if(Q.ifModified){N.setRequestHeader("If-Modified-Since",q.lastModified[Q.url]||"Thu, 01 Jan 1970 00:00:00 GMT")}N.setRequestHeader("X-Requested-With","XMLHttpRequest");N.setRequestHeader("Accept",Q.dataType&&Q.accepts[Q.dataType]?Q.accepts[Q.dataType]+", */*":Q.accepts._default)}catch(W){}if(Q.beforeSend&&Q.beforeSend(N,Q)===false){if(Q.global&&!--q.active){q.event.trigger("ajaxStop")}N.abort();return false}if(Q.global){q.event.trigger("ajaxSend",[N,Q])}var R=function(ab){if(N.readyState==0){if(T){clearInterval(T);T=null;if(Q.global&&!--q.active){q.event.trigger("ajaxStop")}}}else{if(!O&&N&&(N.readyState==4||ab=="timeout")){O=true;if(T){clearInterval(T);T=null}V=ab=="timeout"?"timeout":!q.httpSuccess(N)?"error":Q.ifModified&&q.httpNotModified(N,Q.url)?"notmodified":"success";if(V=="success"){try{Z=q.httpData(N,Q.dataType,Q)}catch(ad){V="parsererror"}}if(V=="success"){var ac;try{ac=N.getResponseHeader("Last-Modified")}catch(ad){}if(Q.ifModified&&ac){q.lastModified[Q.url]=ac}if(!aa){M()}}else{q.handleError(Q,N,V)}P();if(ab){N.abort()}if(Q.async){N=null}}}};if(Q.async){var T=setInterval(R,13);if(Q.timeout>0){setTimeout(function(){if(N&&!O){R("timeout")}},Q.timeout)}}try{N.send(Q.data)}catch(W){q.handleError(Q,N,null,W)}if(!Q.async){R()}function M(){if(Q.success){Q.success(Z,V)}if(Q.global){q.event.trigger("ajaxSuccess",[N,Q])}}function P(){if(Q.complete){Q.complete(N,V)}if(Q.global){q.event.trigger("ajaxComplete",[N,Q])}if(Q.global&&!--q.active){q.event.trigger("ajaxStop")}}return N},handleError:function(J,L,I,K){if(J.error){J.error(L,I,K)}if(J.global){q.event.trigger("ajaxError",[L,J,K])}},active:0,httpSuccess:function(J){try{return !J.status&&location.protocol=="file:"||(J.status>=200&&J.status<300)||J.status==304||J.status==1223}catch(I){}return false},httpNotModified:function(K,I){try{var L=K.getResponseHeader("Last-Modified");return K.status==304||L==q.lastModified[I]}catch(J){}return false},httpData:function(N,L,K){var J=N.getResponseHeader("content-type"),I=L=="xml"||!L&&J&&J.indexOf("xml")>=0,M=I?N.responseXML:N.responseText;if(I&&M.documentElement.tagName=="parsererror"){throw"parsererror"}if(K&&K.dataFilter){M=K.dataFilter(M,L)}if(typeof M==="string"){if(L=="script"){q.globalEval(M)}if(L=="json"){M=m["eval"]("("+M+")")}}return M},param:function(I){var K=[];function L(M,N){K[K.length]=encodeURIComponent(M)+"="+encodeURIComponent(N)}if(q.isArray(I)||I.jquery){q.each(I,function(){L(this.name,this.value)})}else{for(var J in I){if(q.isArray(I[J])){q.each(I[J],function(){L(J,this)})}else{L(J,q.isFunction(I[J])?I[J]():I[J])}}}return K.join("&").replace(/%20/g,"+")}});var o={},p,d=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];function x(J,I){var K={};q.each(d.concat.apply([],d.slice(0,I)),function(){K[this]=J});return K}q.fn.extend({show:function(N,P){if(N){return this.animate(x("show",3),N,P)}else{for(var L=0,J=this.length;L<J;L++){var I=q.data(this[L],"olddisplay");this[L].style.display=I||"";if(q.css(this[L],"display")==="none"){var K=this[L].tagName,O;if(o[K]){O=o[K]}else{var M=q("<"+K+" />").appendTo("body");O=M.css("display");if(O==="none"){O="block"}M.remove();o[K]=O}this[L].style.display=q.data(this[L],"olddisplay",O)}}return this}},hide:function(L,M){if(L){return this.animate(x("hide",3),L,M)}else{for(var K=0,J=this.length;K<J;K++){var I=q.data(this[K],"olddisplay");if(!I&&I!=="none"){q.data(this[K],"olddisplay",q.css(this[K],"display"))}this[K].style.display="none"}return this}},_toggle:q.fn.toggle,toggle:function(K,J){var I=typeof K==="boolean";return q.isFunction(K)&&q.isFunction(J)?this._toggle.apply(this,arguments):K==null||I?this.each(function(){var L=I?K:q(this).is(":hidden");q(this)[L?"show":"hide"]()}):this.animate(x("toggle",3),K,J)},fadeTo:function(I,K,J){return this.animate({opacity:K},I,J)},animate:function(M,J,L,K){var I=q.speed(J,L,K);return this[I.queue===false?"each":"queue"](function(){var O=q.extend({},I),Q,P=this.nodeType==1&&q(this).is(":hidden"),N=this;for(Q in M){if(M[Q]=="hide"&&P||M[Q]=="show"&&!P){return O.complete.call(this)}if((Q=="height"||Q=="width")&&this.style){O.display=q.css(this,"display");O.overflow=this.style.overflow}}if(O.overflow!=null){this.style.overflow="hidden"}O.curAnim=q.extend({},M);q.each(M,function(S,W){var V=new q.fx(N,O,S);if(/toggle|show|hide/.test(W)){V[W=="toggle"?P?"show":"hide":W](M)}else{var U=W.toString().match(/^([+-]=)?([\d+-.]+)(.*)$/),X=V.cur(true)||0;if(U){var R=parseFloat(U[2]),T=U[3]||"px";if(T!="px"){N.style[S]=(R||1)+T;X=((R||1)/V.cur(true))*X;N.style[S]=X+T}if(U[1]){R=((U[1]=="-="?-1:1)*R)+X}V.custom(X,R,T)}else{V.custom(X,W,"")}}});return true})},stop:function(J,I){var K=q.timers;if(J){this.queue([])}this.each(function(){for(var L=K.length-1;L>=0;L--){if(K[L].elem==this){if(I){K[L](true)}K.splice(L,1)}}});if(!I){this.dequeue()}return this}});q.each({slideDown:x("show",1),slideUp:x("hide",1),slideToggle:x("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(I,J){q.fn[I]=function(K,L){return this.animate(J,K,L)}});q.extend({speed:function(K,L,J){var I=typeof K==="object"?K:{complete:J||!J&&L||q.isFunction(K)&&K,duration:K,easing:J&&L||L&&!q.isFunction(L)&&L};I.duration=q.fx.off?0:typeof I.duration==="number"?I.duration:q.fx.speeds[I.duration]||q.fx.speeds._default;I.old=I.complete;I.complete=function(){if(I.queue!==false){q(this).dequeue()}if(q.isFunction(I.old)){I.old.call(this)}};return I},easing:{linear:function(K,L,I,J){return I+J*K},swing:function(K,L,I,J){return((-Math.cos(K*Math.PI)/2)+0.5)*J+I}},timers:[],fx:function(J,I,K){this.options=I;this.elem=J;this.prop=K;if(!I.orig){I.orig={}}}});q.fx.prototype={update:function(){if(this.options.step){this.options.step.call(this.elem,this.now,this)}(q.fx.step[this.prop]||q.fx.step._default)(this);if((this.prop=="height"||this.prop=="width")&&this.elem.style){this.elem.style.display="block"}},cur:function(J){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null)){return this.elem[this.prop]}var I=parseFloat(q.css(this.elem,this.prop,J));return I&&I>-10000?I:parseFloat(q.curCSS(this.elem,this.prop))||0},custom:function(M,L,K){this.startTime=e();this.start=M;this.end=L;this.unit=K||this.unit||"px";this.now=this.start;this.pos=this.state=0;var I=this;function J(N){return I.step(N)}J.elem=this.elem;if(J()&&q.timers.push(J)==1){p=setInterval(function(){var O=q.timers;for(var N=0;N<O.length;N++){if(!O[N]()){O.splice(N--,1)}}if(!O.length){clearInterval(p)}},13)}},show:function(){this.options.orig[this.prop]=q.attr(this.elem.style,this.prop);this.options.show=true;this.custom(this.prop=="width"||this.prop=="height"?1:0,this.cur());q(this.elem).show()},hide:function(){this.options.orig[this.prop]=q.attr(this.elem.style,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(L){var K=e();if(L||K>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;var I=true;for(var J in this.options.curAnim){if(this.options.curAnim[J]!==true){I=false}}if(I){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;this.elem.style.display=this.options.display;if(q.css(this.elem,"display")=="none"){this.elem.style.display="block"}}if(this.options.hide){q(this.elem).hide()}if(this.options.hide||this.options.show){for(var M in this.options.curAnim){q.attr(this.elem.style,M,this.options.orig[M])}}this.options.complete.call(this.elem)}return false}else{var N=K-this.startTime;this.state=N/this.options.duration;this.pos=q.easing[this.options.easing||(q.easing.swing?"swing":"linear")](this.state,N,0,1,this.options.duration);this.now=this.start+((this.end-this.start)*this.pos);this.update()}return true}};q.extend(q.fx,{speeds:{slow:600,fast:200,_default:400},step:{opacity:function(I){q.attr(I.elem.style,"opacity",I.now)},_default:function(I){if(I.elem.style&&I.elem.style[I.prop]!=null){I.elem.style[I.prop]=I.now+I.unit}else{I.elem[I.prop]=I.now}}}});if(document.documentElement.getBoundingClientRect){q.fn.offset=function(){if(!this[0]){return{top:0,left:0}}if(this[0]===this[0].ownerDocument.body){return q.offset.bodyOffset(this[0])}var K=this[0].getBoundingClientRect(),N=this[0].ownerDocument,J=N.body,I=N.documentElement,P=I.clientTop||J.clientTop||0,O=I.clientLeft||J.clientLeft||0,M=K.top+(self.pageYOffset||q.boxModel&&I.scrollTop||J.scrollTop)-P,L=K.left+(self.pageXOffset||q.boxModel&&I.scrollLeft||J.scrollLeft)-O;return{top:M,left:L}}}else{q.fn.offset=function(){if(!this[0]){return{top:0,left:0}}if(this[0]===this[0].ownerDocument.body){return q.offset.bodyOffset(this[0])}q.offset.initialized||q.offset.initialize();var N=this[0],K=N.offsetParent,J=N,S=N.ownerDocument,Q,L=S.documentElement,O=S.body,P=S.defaultView,I=P.getComputedStyle(N,null),R=N.offsetTop,M=N.offsetLeft;while((N=N.parentNode)&&N!==O&&N!==L){Q=P.getComputedStyle(N,null);R-=N.scrollTop,M-=N.scrollLeft;if(N===K){R+=N.offsetTop,M+=N.offsetLeft;if(q.offset.doesNotAddBorder&&!(q.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(N.tagName))){R+=parseInt(Q.borderTopWidth,10)||0,M+=parseInt(Q.borderLeftWidth,10)||0}J=K,K=N.offsetParent}if(q.offset.subtractsBorderForOverflowNotVisible&&Q.overflow!=="visible"){R+=parseInt(Q.borderTopWidth,10)||0,M+=parseInt(Q.borderLeftWidth,10)||0}I=Q}if(I.position==="relative"||I.position==="static"){R+=O.offsetTop,M+=O.offsetLeft}if(I.position==="fixed"){R+=Math.max(L.scrollTop,O.scrollTop),M+=Math.max(L.scrollLeft,O.scrollLeft)}return{top:R,left:M}}}q.offset={initialize:function(){if(this.initialized){return}var P=document.body,J=document.createElement("div"),L,K,R,M,Q,I,N=P.style.marginTop,O='<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>';Q={position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"};for(I in Q){J.style[I]=Q[I]}J.innerHTML=O;P.insertBefore(J,P.firstChild);L=J.firstChild,K=L.firstChild,M=L.nextSibling.firstChild.firstChild;this.doesNotAddBorder=(K.offsetTop!==5);this.doesAddBorderForTableAndCells=(M.offsetTop===5);L.style.overflow="hidden",L.style.position="relative";this.subtractsBorderForOverflowNotVisible=(K.offsetTop===-5);P.style.marginTop="1px";this.doesNotIncludeMarginInBodyOffset=(P.offsetTop===0);P.style.marginTop=N;P.removeChild(J);this.initialized=true},bodyOffset:function(I){q.offset.initialized||q.offset.initialize();var K=I.offsetTop,J=I.offsetLeft;if(q.offset.doesNotIncludeMarginInBodyOffset){K+=parseInt(q.curCSS(I,"marginTop",true),10)||0,J+=parseInt(q.curCSS(I,"marginLeft",true),10)||0}return{top:K,left:J}}};q.fn.extend({position:function(){var M=0,L=0,J;if(this[0]){var K=this.offsetParent(),N=this.offset(),I=/^body|html$/i.test(K[0].tagName)?{top:0,left:0}:K.offset();N.top-=k(this,"marginTop");N.left-=k(this,"marginLeft");I.top+=k(K,"borderTopWidth");I.left+=k(K,"borderLeftWidth");J={top:N.top-I.top,left:N.left-I.left}}return J},offsetParent:function(){var I=this[0].offsetParent||document.body;while(I&&(!/^body|html$/i.test(I.tagName)&&q.css(I,"position")=="static")){I=I.offsetParent}return q(I)}});q.each(["Left","Top"],function(J,I){var K="scroll"+I;q.fn[K]=function(L){if(!this[0]){return null}return L!==g?this.each(function(){this==m||this==document?m.scrollTo(!J?L:q(m).scrollLeft(),J?L:q(m).scrollTop()):this[K]=L}):this[0]==m||this[0]==document?self[J?"pageYOffset":"pageXOffset"]||q.boxModel&&document.documentElement[K]||document.body[K]:this[0][K]}});q.each(["Height","Width"],function(L,J){var I=L?"Left":"Top",K=L?"Right":"Bottom";q.fn["inner"+J]=function(){return this[J.toLowerCase()]()+k(this,"padding"+I)+k(this,"padding"+K)};q.fn["outer"+J]=function(N){return this["inner"+J]()+k(this,"border"+I+"Width")+k(this,"border"+K+"Width")+(N?k(this,"margin"+I)+k(this,"margin"+K):0)};var M=J.toLowerCase();q.fn[M]=function(N){return this[0]==m?document.compatMode=="CSS1Compat"&&document.documentElement["client"+J]||document.body["client"+J]:this[0]==document?Math.max(document.documentElement["client"+J],document.body["scroll"+J],document.documentElement["scroll"+J],document.body["offset"+J],document.documentElement["offset"+J]):N===g?(this.length?q.css(this[0],M):null):this.css(M,typeof N==="string"?N:N+"px")}})})();jQuery.fn.cssFontSize_oldCSS=jQuery.fn.css;jQuery.fn.extend({css:function(a,c){if($.browser.msie&&a=="fontSize"){a="font-size"}try{if(typeof(c)!="undefined"||!$.browser.msie||a!="font-size"){return $(this).cssFontSize_oldCSS(a,c)}}catch(d){return}var b=$(this).get(0).currentStyle.fontSize||0;if(!b||!/^.*\dpx$/.test(b)){$(this).parents("*").each(function(){if(b&&/^.*\dpx$/.test(b)){return}var f=$(this).get(0).currentStyle.fontSize||0;if(!b||/^.*\dpx$/.test(f)&&!/^.*\d(%|em)$/.test(b)){b=f;return}var e="";if(/^.*\dpx$/.test(f)){f=parseFloat(f,10);e="px"}else{if(/^.*\d%$/.test(f)){f=parseFloat(f,10)/100;e="em"}else{if(/^.*\dem$/.test(f)){f=parseFloat(f,10);e="em"}else{return}}}if(/^.*\dem$/.test(b)){b=parseFloat(b,10)*f}else{if(/^.*\d%$/.test(b)){b=parseFloat(b,10)/100*f}else{b=f}}b+=e})}if(b&&/^.*em$/.test(b)){b=String(parseFloat(b,10)*16)+"px"}else{if(b&&/^.*%$/.test(b)){b=String(parseFloat(b,10)/100*16)+"px"}}return b},nexxarOldHeight:jQuery.fn.height,height:function(){if(this[0]!=window&&this[0]!=document){return this.nexxarOldHeight()}var a="Height";return this[0]==window?!jQuery.browser.msie&&self["inner"+a]||jQuery.boxModel&&document.documentElement["client"+a]||document.body["client"+a]:this[0]==document?Math.max(document.body["scroll"+a],document.body["offset"+a]):h==undefined?(this.length?jQuery.css(this[0],n):null):this.css(n,h.constructor==String?h:h+"px")}});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 i=$(this).offset();d=(a>=i.left&&a<=i.left+$(this).outerWidth()&&f>=i.top&&f<=i.top+$(this).outerHeight());if(d&&e&&typeof(e)=="function"){try{e(this,c,a,f,b)}catch(g){}}c++;return !d});return d}});
/*
 * Copyright (c) 2005 - 2008, James Auldridge
 * All rights reserved.
 *
 * Licensed under the BSD, MIT, and GPL (your choice!) Licenses:
 *  http://code.google.com/p/cookies/wiki/License
 *
 * Version 2.0
 */
var jaaulde=window.jaaulde||{};jaaulde.utils=jaaulde.utils||{};jaaulde.utils.cookies=(function(){var d=[];var b={hoursToLive:0,path:"/",domain:window.location.hostname,secure:false};var g=function(i){var j;if(typeof i!=="object"||i===null){j=b}else{j={hoursToLive:(typeof i.hoursToLive==="number"?i.hoursToLive:b.hoursToLive),path:(typeof i.path==="string"&&i.path!=""?i.path:b.path),domain:(typeof i.domain==="string"&&i.domain!=""?i.domain:b.domain),secure:(typeof i.secure==="boolean"&&i.secure!=""?i.secure:b.secure)}}return j};var f=function(i){i=g(i);return((i.hoursToLive!==0?"; expires="+a(i.hoursToLive):"")+"; path="+i.path+"; domain="+i.domain+(i.secure?"; secure":""))};var a=function(i){var j=new Date();j.setTime(j.getTime()+(i*60*60*1000));return j.toGMTString()};var e=function(){d=[];var m,k,j=document.cookie.split(";");for(var l=0;l<j.length;l++){m=j[l].split("=");k=m[0].replace(/^\s*/,"").replace(/\s*$/,"");value=unescape(m[1]);d[k]=unescape(value)}return d};var c=function(){};c.prototype.get=function(k){var i;e();if(typeof k==="string"){i=(typeof d[k]!=="undefined")?d[k]:null}else{if(typeof k==="object"&&k!==null){i=[];for(var j in k){i[k[j]]=(typeof d[k[j]]!=="undefined")?d[k[j]]:null}}else{i=d}}return i};c.prototype.set=function(l,j,i){if(typeof j==="undefined"||j===null){if(typeof i!=="object"||i===null){i={}}j="";i.hoursToLive=-8760}var k=f(i);document.cookie=l+"="+escape(j)+k};c.prototype.del=function(j,i){if(typeof i!=="object"||i===null){i={}}this.set(j,null,i)};c.prototype.test=function(){var j=false,i="cT",k="data";this.set(i,k);if(this.get(i)==k){this.del(i);j=true}return j};c.prototype.setOptions=function(i){if(typeof i!=="object"){i=null}b=g(i)};return new c()})();(function(){if(typeof jQuery!=="undefined"){jQuery.cookies=jaaulde.utils.cookies;var a={cookify:function(b){return this.each(function(){var c="",g="",f=["name","id"],e=0,d;while(e<f.length&&(typeof c!=="string"||c==="")){c=jQuery(this).attr(f[e]);e++}if(typeof c==="string"||c!==""){d=jQuery(this).attr("type").toLowerCase();if(d!=="radio"&&d!=="checkbox"){g=jQuery(this).attr("value");if(typeof g!=="string"||g===""){g=null}jQuery.cookies.set(c,g,b)}}e=0})},cookieFill:function(){return this.each(function(){var c="",f,e=["name","id"],d=0,b;while(d<e.length&&(typeof c!=="string"||c==="")){c=jQuery(this).attr(e[d]);d++}if(typeof c==="string"&&c!==""){f=jQuery.cookies.get(c);if(f!==null){b=this.nodeName.toLowerCase();if(b==="input"||b==="textarea"){jQuery(this).attr("value",f)}else{jQuery(this).html(f)}}}d=0})},cookieBind:function(b){return this.each(function(){$(this).cookieFill().change(function(){$(this).cookify(b)})})}};jQuery.each(a,function(b){jQuery.fn[b]=this})}})();
/*

jQuery SWFObject Plugin v1.0.3 <http://jquery.thewikies.com/swfobject/>
Copyright (c) 2008 Jonathan Neal
This software is released under the MIT License <http://www.opensource.org/licenses/mit-license.php>
This software is released under the GPL License <http://www.opensource.org/licenses/gpl-2.0.php>

SWFObject v2.1 <http://code.google.com/p/swfobject/>
Copyright (c) 2007-2008 Geoff Stearns, Michael Williams, and Bobby van der Sluis
This software is released under the MIT License <http://www.opensource.org/licenses/mit-license.php>

jQuery v1.2.6 <http://jquery.com/>
Copyright (c) 2008 John Resig
This software is released under the MIT License <http://www.opensource.org/licenses/mit-license.php>
This software is released under the GPL License <http://www.opensource.org/licenses/gpl-2.0.php>

*/
(function(a){a.flashPlayerVersion=function(){var d,b=null,j=false,i="ShockwaveFlash.ShockwaveFlash";if(!(d=navigator.plugins["Shockwave Flash"])){try{b=new ActiveXObject(i+".7")}catch(g){try{b=new ActiveXObject(i+".6");d=[6,0,21];b.AllowScriptAccess="always"}catch(f){if(d&&d[0]===6){j=true}}if(!j){try{b=new ActiveXObject(i)}catch(e){d="X 0,0,0"}}}if(!j&&b){try{d=b.GetVariable("$version")}catch(c){}}}else{d=d.description}d=d.match(/^[A-Za-z\s]*?(\d+)(\.|,)(\d+)(\s+r|,)(\d+)/);return[d[1]*1,d[3]*1,d[5]*1]}();a.flashExpressInstaller="expressInstall.swf";a.hasFlashPlayer=(a.flashPlayerVersion[0]!==0);a.hasFlashPlayerVersion=function(c){var b=a.flashPlayerVersion;c=(/string|integer/.test(typeof c))?c.toString().split("."):c;return(c)?(b[0]>=(c.major||c[0]||b[0])&&b[1]>=(c.minor||c[1]||b[1])&&b[2]>=(c.release||c[2]||b[2])):(b[0]!==0)};a.flash=function(r){if(!a.hasFlashPlayer){return false}var f=r.swf||"",p=r.params||{},i=document.createElement("body"),e,q,l,g,o,m,k,j;r.height=r.height||180;r.width=r.width||320;if(r.hasVersion&&!a.hasFlashPlayerVersion(r.hasVersion)){a.extend(r,{id:"SWFObjectExprInst",height:Math.max(r.height,137),width:Math.max(r.width,214)});f=r.expressInstaller||a.flashExpressInstaller;p={flashvars:{MMredirectURL:window.location.href,MMplayerType:(a.browser.msie&&a.browser.win)?"ActiveX":"PlugIn",MMdoctitle:document.title.slice(0,47)+" - Flash Player Installation"}}}if(r.flashvars&&typeof p==="object"){a.extend(p,{flashvars:r.flashvars})}for(o in (m=["swf","expressInstall","hasVersion","params","flashvars"])){delete r[m[o]]}e=[];for(o in r){if(typeof r[o]==="object"){q=[];for(m in r[o]){q.push(m.replace(/([A-Z])/,"-$1").toLowerCase()+":"+r[o][m]+";")}r[o]=q.join("")}e.push(o+'="'+r[o]+'"')}r=e.join(" ");if(typeof p==="object"){e=[];for(o in p){if(typeof p[o]==="object"){q=[];for(m in p[o]){if(typeof p[o][m]==="object"){l=[];for(k in p[o][m]){if(typeof p[o][m][k]==="object"){g=[];for(j in p[o][m][k]){g.push(j.replace(/([A-Z])/,"-$1").toLowerCase()+":"+p[o][m][k][j]+";")}p[o][m][k]=g.join("")}l.push(k+"{"+p[o][m][k]+"}")}p[o][m]=l.join("")}q.push(window.escape(m)+"="+window.escape(p[o][m]))}p[o]=q.join("&amp;")}e.push('<PARAM NAME="'+o+'" VALUE="'+p[o]+'">')}p=e.join("")}if(!(/style=/.test(r))){r+=' style="vertical-align:text-top;"'}if(!(/style=(.*?)vertical-align/.test(r))){r=r.replace(/style="/,'style="vertical-align:text-top;')}if(a.browser.msie){r+=' classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"';p='<PARAM NAME="movie" VALUE="'+f+'">'+p}else{r+=' type="application/x-shockwave-flash" data="'+f+'"'}i.innerHTML="<OBJECT "+r+">"+p+"</OBJECT>";return a(i.firstChild)};a.fn.flash=function(c){if(!a.hasFlashPlayer){return this}var b=0,d;while((d=this.eq(b++))[0]){d.html(a.flash(a.extend({},c)));if(d[0]&&d[0].firstChild&&d[0].firstChild.getAttribute("id")==="SWFObjectExprInst"){b=this.length}}return this}}(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()});(function(c){c.fn._hover=c.fn.hover;c.fn.hover=function(f,e,d){if(d){this.bind("hoverstart",f)}if(e){this.bind("hoverend",d?d:e)}return !f?this.trigger("hover"):this.bind("hover",d?e:f)};var b=c.event.special.hover={delay:100,speed:100,setup:function(d){d=c.extend({speed:b.speed,delay:b.delay,hovered:0},d||{});c.event.add(this,"mouseenter mouseleave",a,d)},teardown:function(){c.event.remove(this,"mouseenter mouseleave",a)}};function a(d){var f=d.data||d;switch(d.type){case"mouseenter":f.dist2=0;f.event=d;d.type="hoverstart";if(c.event.handle.call(this,d)!==false){f.elem=this;c.event.add(this,"mousemove",a,f);f.timer=setTimeout(e,f.delay)}break;case"mousemove":f.dist2+=Math.pow(d.pageX-f.event.pageX,2)+Math.pow(d.pageY-f.event.pageY,2);f.event=d;break;case"mouseleave":clearTimeout(f.timer);if(f.hovered){d.type="hoverend";c.event.handle.call(this,d);f.hovered--}else{c.event.remove(f.elem,"mousemove",a)}break;default:if(f.dist2<=Math.pow(f.speed*(f.delay/1000),2)){c.event.remove(f.elem,"mousemove",a);f.event.type="hover";if(c.event.handle.call(f.elem,f.event)!==false){f.hovered++}}else{f.timer=setTimeout(e,f.delay)}f.dist2=0;break}function e(){a(f)}}})(jQuery);
/*
 * jQuery Animate To Class
 * Copyright 2008 Igor Frias Vieira
 * http://igorvieira.com/blog/animate-to-class/
 *
 * Released under the MIT and GPL licenses.
 */
(function(b){b.fn.extend({animateToClass:function(i,e,g,f){if(!i){return this}styles=a(i);if(!styles){return this}return this.animate(styles,e,g,f)}});function a(f){if(f.substr(0,1)!="."){f="."+f}for(var e=0;e<document.styleSheets.length;e++){v=document.styleSheets[e];attrClass=c(f,v);if(attrClass!=false){break}}if(!attrClass){attrClass=Array()}objStyle={};if(attrClass==""){return false}if(attrClass.match(";")){attrClass=attrClass.split(";")}else{attrClass=[attrClass]}b(attrClass).each(function(j,g){if(g!=""){g=g.split(":");g[0]=d(g[0]);objStyle[g[0]]=b.trim(g[1])}});return objStyle}function c(f,e){attrClass=false;if(b.browser.msie){if(e.rules.length>0){b(e.rules).each(function(g,i){if(f==i.selectorText){attrClass=i.style.cssText}})}else{if(e.imports.length>0){b(e.imports).each(function(g,i){if(f==i.selectorText){attrClass=i.style.cssText}else{if(i=="[object]"||i=="[Object CSSStyleSheet]"||i=="[object CSSImportRule]"){return c(f,i)}}})}}}else{b(e.cssRules).each(function(g,i){if(f==i.selectorText){attrClass=i.style.cssText}else{if(i=="[object CSSImportRule]"){return c(f,i.styleSheet)}}})}return attrClass}function d(f){f=b.trim(f);f=f.replace(/-/g," ");f=f.toLowerCase();strArr=f.split(" ");var e="";b(strArr).each(function(j,g){if(j==0){e+=g}else{e+=g.substr(0,1).toUpperCase();e+=g.substr(1,g.length)}});return e}})(jQuery);(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},i=function(l,k,j,o){var m={name:b((k.exec(l)||[f,f])[1],j)};m[m.name]=true;m.version=(o.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:{},i(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=i(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)/.exec(navigator.platform.toLowerCase())||[f])[0].replace("sunos","solaris")};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);(function(c){var a;var b;$cssjsattach=function(d,e){if(e=="js"){var f=document.createElement("script");f.setAttribute("type","text/javascript");f.setAttribute("src",d)}else{if(e=="css"){var f=document.createElement("link");f.setAttribute("rel","stylesheet");f.setAttribute("type","text/css");f.setAttribute("href",d)}}if(typeof f!="undefined"){document.getElementsByTagName("head")[0].appendChild(f)}}})(jQuery);
/* Animated Collapsible DIV v2.0- (c) Dynamic Drive DHTML code library: http://www.dynamicdrive.com. */
var animatedcollapse={divholders:{},divgroups:{},lastactiveingroup:{},show:function(b){if(typeof b=="object"){for(var a=0;a<b.length;a++){this.showhide(b[a],"show")}}else{this.showhide(b,"show")}},getCookie:function(a){return $.cookies.get(a)},setCookie:function(b,c,d){if(typeof d!="undefined"){var a=new Date();a.setDate(a.getDate()+d);$.cookies.set(b,c,{expires:a.toGMTString()})}else{$.cookies.set(b,c)}},hide:function(b){if(typeof b=="object"){for(var a=0;a<b.length;a++){this.showhide(b[a],"hide")}}else{this.showhide(b,"hide")}},toggle:function(a){this.showhide(a,"toggle")},addDiv:function(c,b,a){this.divholders[c]=({id:c,$divref:null,attrs:b});this.divholders[c].getAttr=function(e){var d=new RegExp(e+"=([^,]+)","i");return(d.test(this.attrs)&&parseInt(RegExp.$1)!=0)?RegExp.$1:null};if(a){this.divholders[c].callbackFunc=a}},showhide:function(d,c){var a=this.divholders[d].$divref;if(this.divholders[d]&&a.length==1){var b=this.divgroups[a.attr("groupname")];if(a.attr("groupname")&&b.count>1&&(c=="show"||c=="toggle"&&a.css("display")=="none")){if(b.lastactivedivid&&b.lastactivedivid!=d){this.slideengine(b.lastactivedivid,"hide")}this.slideengine(d,"show");b.lastactivedivid=d}else{this.slideengine(d,c)}}},slideengine:function(d,c){var a=this.divholders[d].$divref;if(this.divholders[d]&&a.length==1){var b={height:c};if(a.attr("fade")){b.opacity=c}a.animate(b,a.attr("speed")?parseInt(a.attr("speed")):500,null,this.divholders[d].callbackFunc);return false}},generatemap:function(){var b={};for(var a=0;a<arguments.length;a++){if(arguments[a][1]!=null){b[arguments[a][0]]=arguments[a][1]}}return b},uninit:function(){var b="",a="";jQuery.each(this.divholders,function(){if(this.$divref.css("display")!="none"){b+=this.id+","}if(this.getAttr("group")&&this.getAttr("persist")){a+=this.getAttr("group")+","}});b=(b=="")?"nada":b.replace(/,$/,"");a=(a=="")?"nada":a.replace(/,$/,"");this.setCookie("acopendivids",b);this.setCookie("acgroupswithpersist",a)},init:function(){var a=this;jQuery(document).ready(function(e){var b=a.getCookie("acopendivids");var d=a.getCookie("acgroupswithpersist");if(b!=null){b=(b=="nada")?[]:b.split(",")}d=(d==null||d=="nada")?[]:d.split(",");jQuery.each(a.divholders,function(){this.$divref=e("#"+this.id);if((this.getAttr("persist")||jQuery.inArray(this.getAttr("group"),d)!=-1)&&b!=null){var i=(jQuery.inArray(this.id,b)!=-1)?"block":"none"}else{var i=this.getAttr("hide")?"none":null}this.$divref.css(a.generatemap(["height",this.getAttr("height")],["display",i]));this.$divref.attr(a.generatemap(["groupname",this.getAttr("group")],["fade",this.getAttr("fade")],["speed",this.getAttr("speed")]));if(this.getAttr("group")){var g=a.divgroups[this.getAttr("group")]||(a.divgroups[this.getAttr("group")]={});g.count=(g.count||0)+1;if(!g.lastactivedivid&&this.$divref.css("display")!="none"||i=="block"){g.lastactivedivid=this.id}this.$divref.css({display:"none"})}});jQuery.each(a.divgroups,function(){if(this.lastactivedivid){a.divholders[this.lastactivedivid].$divref.show()}});var c=e("*[rel]").filter('[@rel^="collapse-"], [@rel^="expand-"], [@rel^="toggle-"]');var f=/(collapse-)|(expand-)|(toggle-)/;c.each(function(){e(this).click(function(){var g=this.getAttribute("rel");var j=g.replace(f,"");var i=(g.indexOf("collapse-")!=-1)?"hide":(g.indexOf("expand-")!=-1)?"show":"toggle";return a.showhide(j,i)})});e(window).bind("unload",function(){a.uninit()})})}};
/* 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 i=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"+i+"Width")+a(this,"border"+e+"Width")+a(this,"padding"+i)+a(this,"padding"+e);return g+(f.margin?(a(this,"margin"+i)+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 i=0,g=0,f=this[0],j,c,e,d;if(f){e=this.offsetParent();j=this.offset();c=e.offset();j.top-=a(f,"marginTop");j.left-=a(f,"marginLeft");c.top+=a(e,"borderTopWidth");c.left+=a(e,"borderLeftWidth");d={top:j.top-c.top,left:j.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);
/* hoverIntent r5 // 2007.03.27 // jQuery 1.1.2+
* <http://cherne.net/brian/resources/jquery.hoverIntent.html>
* 
* hoverIntent is currently available for use in all personal or commercial 
* projects under both MIT and GPL licenses. This means that you can choose 
* the license that best suits your project, and use it accordingly.
*/
(function(a){a.fn.hoverIntent=function(l,k){var m={sensitivity:7,interval:100,timeout:0};m=a.extend(m,k?{over:l,out:k}:l);var p,o,i,d;var e=function(f){p=f.pageX;o=f.pageY};var c=function(g,f){f.hoverIntent_t=clearTimeout(f.hoverIntent_t);if((Math.abs(i-p)+Math.abs(d-o))<m.sensitivity){a(f).unbind("mousemove",e);f.hoverIntent_s=1;return m.over.apply(f,[g])}else{i=p;d=o;f.hoverIntent_t=setTimeout(function(){c(g,f)},m.interval)}};var j=function(g,f){f.hoverIntent_t=clearTimeout(f.hoverIntent_t);f.hoverIntent_s=0;return m.out.apply(f,[g])};var b=function(r){var q=(r.type=="mouseover"?r.fromElement:r.toElement)||r.relatedTarget;while(q&&q!=this){try{q=q.parentNode}catch(r){q=this}}if(q==this){return false}var g=jQuery.extend({},r);var f=this;if(f.hoverIntent_t){f.hoverIntent_t=clearTimeout(f.hoverIntent_t)}if(r.type=="mouseover"){i=g.pageX;d=g.pageY;a(f).bind("mousemove",e);if(f.hoverIntent_s!=1){f.hoverIntent_t=setTimeout(function(){c(g,f)},m.interval)}}else{a(f).unbind("mousemove",e);if(f.hoverIntent_s==1){f.hoverIntent_t=setTimeout(function(){j(g,f)},m.timeout)}}};return this.mouseover(b).mouseout(b)}})(jQuery);
/*
 * 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 q=this;var l="";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")}}var l='<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>';l+='<tr><td class="tooltipL"></td><td class="tooltipBODY"><div class="title">'+g.title.replace(/^([^:]+:)/,"<strong>$1</strong>")+'</div></td><td class="tooltipR"></td></tr>';l+='<tr><td class="tooltipLB"></td><td class="tooltipB"></td><td class="tooltipRL"></td></tr></table></div>';if(l==""){delete this;return}f.attr("title","");e.data(f,"tooltip",q);q.dst=g.dst;f.bind(g.event+".tooltip",o).bind("mouseout.tooltip",k).bind("focus.tooltip",o).bind("blur.tooltip",k).bind("click.tooltip",m);function i(){if(q.timein){clearTimeout(q.timein);delete q.timein}if(q.timeout){clearTimeout(q.timeout);delete q.timeout}}function o(r){i();if(q.st==k){return}q.st=o;if(!q.dst){q.dst=e("<div>").appendTo(document.body).css({visibility:"hidden"})}q.ev=r;q.timein=setTimeout(p,g["in"]||0)}function p(){i();if(!q.dst){return}q.dst.addClass(g["class"]).css(g.css).html(l).bgiframe();if(g.duration>0){q.timein=setTimeout(m,g.duration)}q.dst.css({position:"absolute",visibility:"visible"});e("body").bind("click.tooltip",m);if(g.track){f.bind("mousemove.tooltip",j)}q.w=q.dst.width();q.h=q.dst.height();if(g.maxWidth&&q.w>g.maxWidth){q.dst.css("width",g.maxWidth);q.w=q.dst.width()}if(g.onshow){g.onshow.apply(q.dst)}if(g.track){}j()}function k(){i();if(q.st!=o){return}q.timeout=setTimeout(m,g.out||0)}function m(){i();e("body").unbind(".tooltip");e("src").unbind("mousemove.tooltip");if(!q.dst){return}q.dst.empty();q.dst.css("width","auto");if(g.onhide){g.onhide.apply(q.dst)}if(q.dst!=g.dst){q.dst.remove();delete q.dst}}function j(u){if(!u){u=q.ev}else{q.ev=u}if(!q.dst){return}var x={x:u.pageX+g.offset.x,y:u.pageY+g.offset.y,w:q.w,h:q.h};var r=window;if(e.browser.msie){winW=document.body.offsetWidth;winH=document.body.offsetHeight}else{winW=r.innerWidth-20;winH=r.innerHeight-20}var s={x:r.scrollX,y:r.scrollY,w:winW-20,h:winH-20};if(x.x+x.w>s.x+s.w){x.x=s.x+s.w-x.w}if(x.y+x.h>s.y+s.h){x.y=u.pageY-x.h-g.offset.y}if(x.x<s.x){x.x=s.x}if(x.y<s.y){x.y=s.y}if(x.x+x.w>s.w){x.x=s.w-x.w}q.dst.css({top:x.y,left:x.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){if(!j&&(typeof g!="string")){j=g;g="create"}var i=({setup:b,remove:a,create:c})[g];if(!i){return false}return i.apply(this,[j])}})(jQuery);
/* Copyright (c) 2006 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.
 *
 * $LastChangedDate: 2007-07-21 18:44:59 -0500 (Sat, 21 Jul 2007) $
 * $Rev: 2446 $
 *
 * Version 2.1.1
 */
(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);new function(e){var d=e.separator||"&";var c=e.spaces===false?false:true;var a=e.suffix===false?"":"[]";var f=e.prefix===false?false:true;var b=f?e.hash===true?"#":"?":"";jQuery.query=new function(){var g=function(m,l){return m!=undefined&&m!==null&&(!!l?m.constructor==l:true)};var i=function(s){var l,r=/\[([^[]*)\]/g,o=/^(\S+?)(\[\S*\])?$/.exec(s),p=o[1],q=[];while(l=r.exec(o[2])){q.push(l[1])}return[p,q]};var k=function(u,s,r){var w,q=s.shift();if(typeof u!="object"){u=null}if(q===""){if(!u){u=[]}if(g(u,Array)){u.push(s.length==0?r:k(null,s.slice(0),r))}else{if(g(u,Object)){var p=0;while(u[p++]!=null){}u[--p]=s.length==0?r:k(u[p],s.slice(0),r)}else{u=[];u.push(s.length==0?r:k(null,s.slice(0),r))}}}else{if(q&&q.match(/^\s*[0-9]+\s*$/)){var m=parseInt(q,10);if(!u){u=[]}u[m]=s.length==0?r:k(u[m],s.slice(0),r)}else{if(q){var m=q.replace(/^\s*|\s*$/g,"");if(!u){u={}}if(g(u,Array)){var l={};for(var p=0;p<u.length;++p){l[p]=u[p]}u=l}u[m]=s.length==0?r:k(u[m],s.slice(0),r)}else{return r}}}return u};var j=function(l){var m=this;m.keys={};if(l.queryObject){jQuery.each(l.get(),function(o,p){m.SET(o,p)})}else{jQuery.each(arguments,function(){var o=""+this;o=o.replace(/^[?#]/,"");o=o.replace(/[;&]$/,"");if(c){o=o.replace(/[+]/g," ")}jQuery.each(o.split(/[&;]/),function(){var r=this.split("=")[0];var u=this.split("=")[1];if(!r){return}if(/^[+-]?[0-9]+\.[0-9]*$/.test(u)){u=parseFloat(u)}else{if(/^[+-]?[0-9]+$/.test(u)){u=parseInt(u,10)}}u=(!u&&u!==0)?true:u;if(u!==false&&u!==true&&typeof u!="number"){try{u=decodeURIComponent(u)}catch(s){try{u=unescape(u)}catch(s){}var p="";var q=0;while(u&&q<u.length){var x=u.charAt(q);if(x!="%"||q+2>=u.length){p+=x}else{var w=parseInt(String(u.charAt(q+1)+u.charAt(q+2)).toLowerCase(),16);if(!isNaN(w)){p+=String.fromCharCode(w)}else{p+=u.charAt(q+1)+u.charAt(q+2)}q+=2}q++}u=p}m.SET(r,u)}else{m.SET(r,u)}})})}return m};j.prototype={queryObject:true,has:function(l,m){var o=this.get(l);return g(o,m)},GET:function(m){if(!g(m)){return this.keys}var l=i(m),o=l[0],q=l[1];var p=this.keys[o];while(p!=null&&q.length!=0){p=p[q.shift()]}return typeof p=="number"?p:p||""},get:function(l){var m=this.GET(l);if(g(m,Object)){return jQuery.extend(true,{},m)}else{if(g(m,Array)){return m.slice(0)}}return m},SET:function(m,s){var p=!g(s)?null:s;var l=i(m),o=l[0],r=l[1];var q=this.keys[o];this.keys[o]=k(q,r.slice(0),p);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,o){delete l.keys[m]});return l},empty:function(){return this.copy().EMPTY()},copy:function(){return new j(this)},COMPACT:function(){function l(p){var o=typeof p=="object"?g(p,Array)?[]:{}:p;if(typeof p=="object"){function m(s,q,r){if(g(s,Array)){s.push(r)}else{s[q]=r}}jQuery.each(p,function(q,r){if(!g(r)){return true}m(o,q,l(r))})}return o}this.keys=l(this.keys);return this},compact:function(){return this.copy().COMPACT()},toString:function(){var o=0,r=[],q=[],m=this;var l=function(s,u,w){if(!g(w)||w===false){return}var x=[u];if(w!==true){x.push("=");x.push(encodeURIComponent(w))}s.push(x.join(""))};var p=function(u,s){var w=function(x){return !s||s==""?[x].join(""):[s,"[",x,"]"].join("")};jQuery.each(u,function(x,y){if(typeof y=="object"){p(y,w(x))}else{l(q,w(x),y)}})};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.0.10 (November 25 2008)
Config:  default +events +unobtrusive +imagemap +slideshow +positioning +transitions +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/).

*/
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:3001,loadingOpacity:0.75,allowMultipleInstances:true,numberOfImagesToPreload:5,outlineWhileAnimating:1,outlineStartOffset:3,fullExpandPosition:"bottom right",fullExpandOpacity:1,padToMinWidth:false,showCredits:false,creditsHref:"http://highslide.com",enableKeyListener:true,transitions:[],transitionDuration:500,dimmingOpacity:0.6,dimmingDuration:50,allowWidthReduction:false,allowHeightReduction:true,preserveContent:true,objectLoadTime:"before",cacheAjax:true,anchor:"auto",align:"auto",targetX:null,targetY:null,dragByHeading:true,minWidth:670,minHeight:600,allowSizeReduction:true,outlineType:"rounded-white",wrapperClassName:"highslide-wrapper",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"></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","anchor","align","targetX","targetY","outlineType","outlineWhileAnimating","captionId","captionText","captionEval","captionOverlay","headingId","headingText","headingEval","headingOverlay","dragByHeading","autoplay","numberPosition","transitions","dimmingOpacity","contentId","width","height","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:{}},faders:[],slideshows:[],pendingOutlines:{},sleeping:[],preloadTheseAjax:[],cacheBindings:[],cachedGets:{},clones:{},ie:(document.all&&!window.opera),safari:/Safari/.test(navigator.userAgent),geckoMac:/Macintosh.+rv:1\.[0-8].+Gecko/.test(navigator.userAgent),$:function(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.setAttribs(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},setAttribs:function(b,c){for(var a in c){b[a]=c[a]}},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]}}},ieVersion:function(){var a=navigator.appVersion.split("MSIE");return a[1]?parseFloat(a[1]):null},getPageSize:function(){var e=document,j=window,l=e.compatMode&&e.compatMode!="BackCompat"?e.documentElement:e.body;var g=e.body;var m=(j.innerWidth&&j.scrollMaxX)?j.innerWidth+j.scrollMaxX:Math.max(g.scrollWidth,g.offsetWidth),f=(j.innerHeight&&window.scrollMaxY)?j.innerHeight+j.scrollMaxY:Math.max(g.scrollHeight,g.offsetHeight),i=hs.ie?l.scrollWidth:(e.documentElement.clientWidth||self.innerWidth),c=hs.ie?Math.max(l.scrollHeight,l.clientHeight):(e.documentElement.clientHeight||self.innerHeight);var a=hs.ie?l.clientWidth:(e.documentElement.clientWidth||self.innerWidth),k=hs.ie?l.clientHeight:self.innerHeight;return{pageWidth:Math.max(i,m),pageHeight:Math.max(c,f),width:a,height:k,scrollLeft:hs.ie?l.scrollLeft:pageXOffset,scrollTop:hs.ie?l.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,j,f,d){if(!b){b=hs.createElement("a",null,{display:"none"},hs.container)}if(typeof b.getParams=="function"){return j}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,j,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}}if(!hs.pageLoaded){setTimeout(hs.setClickEvents,50)}else{hs.updateAnchors()}},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 b=0,a=-1;for(var c=0;c<hs.expanders.length;c++){if(hs.expanders[c]){if(hs.expanders[c].wrapper.style.zIndex&&hs.expanders[c].wrapper.style.zIndex>b){b=hs.expanders[c].wrapper.style.zIndex;a=c}}}if(a==-1){hs.focusKey=-1}else{hs.expanders[a].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){hs.garbageBin.appendChild(a);hs.garbageBin.innerHTML=""},dim:function(a){if(!hs.dimmer){hs.dimmer=hs.createElement("div",{className:"highslide-dimming",owner:"",onclick:function(){if(hs.fireEvent(hs,"onDimmerClick")){hs.close()}}},{position:"absolute",left:0},hs.container,true);hs.addEventListener(window,"resize",hs.setDimmerSize)}hs.dimmer.style.display="";hs.setDimmerSize();hs.dimmer.owner+="|"+a.key;if(hs.geckoMac&&hs.dimmingGeckoFix){hs.dimmer.style.background="url("+hs.graphicsDir+"geckodimmer.png)"}else{hs.fade(hs.dimmer,0,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.setStyles(hs.dimmer,{background:"none",width:0,height:0})}else{hs.fade(hs.dimmer,hs.dimmingOpacity,0,hs.dimmingDuration,function(){hs.setStyles(hs.dimmer,{display:"none",width:0,height:0})})}},setDimmerSize:function(c){if(!hs.dimmer){return}var b=hs.getPageSize();var a=(hs.ie&&c&&c.wrapper)?parseInt(c.wrapper.style.top)+parseInt(c.wrapper.style.height)+(c.outline?c.outline.offset:0):0;hs.setStyles(hs.dimmer,{width:b.pageWidth+"px",height:Math.max(b.pageHeight,a)+"px"})},previousOrNext:function(b,f){hs.updateAnchors();var d=hs.last=hs.getExpander(b);try{var a=hs.upcoming=d.getAdjacentAnchor(f);a.onclick()}catch(c){hs.last=hs.upcoming=null}try{d.close()}catch(c){}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,a)},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.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.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)}if(c){hs.setDimmerSize(f)}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.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 f=hs.getExpander(c.target);if(!f.isExpanded){return}if(!f||!c.relatedTarget||hs.getExpander(c.relatedTarget,true)==f||hs.dragArgs){return}hs.fireEvent(f,b?"onMouseOver":"onMouseOut",c);for(var a=0;a<f.overlays.length;a++){var d=hs.$("hsId"+f.overlays[a]);if(d&&d.hideOnMouseOut){var j=b?0:d.opacity,g=b?d.opacity:0;hs.fade(d,j,g)}}}catch(c){}},addEventListener:function(a,c,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.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.clearing=hs.createElement("div",null,{clear:"both",paddingTop:"0px"},null,true);Math.linearTween=function(f,e,i,g){return i*f/g+e};Math.easeInQuad=function(f,e,i,g){return i*(f/=g)*f+e};Math.easeInOutQuad=function(f,e,i,g){if((f/=g/2)<1){return i/2*f*f+e}return -i/2*((--f)*(f-2)-1)+e};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.ie6SSL=(hs.ie&&hs.ieVersion()<=6&&location.protocol=="https:");hs.hideSelects=(hs.ie&&hs.ieVersion()<7);hs.hideIframes=((window.opera&&navigator.appVersion<9)||navigator.vendor=="KDE"||(hs.ie&&hs.ieVersion()<5.5));hs.fireEvent(this,"onActivate")}},domReady:function(){hs.isDomReady=true;if(hs.onDomReady){hs.onDomReady()}},updateAnchors:function(){var d=document.all||document.getElementsByTagName("*"),f=[],b=[],k=[],a={},e;for(var c=0;c<d.length;c++){e=hs.isHsAnchor(d[c]);if(e){hs.push(f,d[c]);if(e[0]=="hs.expand"){hs.push(b,d[c])}else{if(e[0]=="hs.htmlExpand"){hs.push(k,d[c])}}var j=hs.getParam(d[c],"slideshowGroup")||"none";if(!a[j]){a[j]=[]}hs.push(a[j],d[c])}}hs.anchors={all:f,groups:a,images:b,htmls:k};return hs.anchors},getAnchors:function(){return hs.anchors||hs.updateAnchors()},fade:function(d,c,a,b,j,g,f){if(typeof g=="undefined"){if(typeof b!="number"){b=250}if(b<25){hs.setStyles(d,{opacity:a});if(j){j()}return}g=hs.faders.length;f=a>c?1:-1;var e=(25/(b-b%25))*Math.abs(c-a)}c=parseFloat(c);var k=(d.fade===0||d.fade===false||(d.fade==2&&hs.ie));d.style.visibility=((k?a:c)<=0)?"hidden":"visible";if(k||c<0||(f==1&&c>a)){if(j){j()}return}if(d.fading&&d.fading.i!=g){clearTimeout(hs.faders[d.fading.i]);c=d.fading.o}d.fading={i:g,o:c,step:(e||d.fading.step)};d.style.visibility=(c<=0)?"hidden":"visible";hs.setStyles(d,{opacity:c});hs.faders[g]=setTimeout(function(){hs.fade(d,c+d.fading.step*f,a,null,j,g,f)},25)},close:function(a){var b=hs.getExpander(a);if(b){b.close()}return false}};hs.Outline=function(j,f){this.onLoad=f;this.outlineType=j;var a=hs.ieVersion(),g;this.hasAlphaImageLoader=hs.ie&&a>=5.5&&a<7;if(!j){if(f){f()}return}hs.init();this.table=hs.createElement("table",{cellSpacing:0,className:j},{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=j+" 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(b,c,a){c=c||{x:b.x.pos,y:b.y.pos,w:b.x.size+b.x.p1+b.x.p2,h:b.y.size+b.y.p1+b.y.p2};if(a){this.table.style.visibility=(c.h>=4*this.offset)?"visible":"hidden"}hs.setStyles(this.table,{left:(c.x-this.offset)+"px",top:(c.y-this.offset)+"px",width:(c.w+2*(b.x.cb+this.offset))+"px"});c.w+=2*(b.x.cb-this.offset);c.h+=+2*(b.y.cb-this.offset);hs.setStyles(this.td[4],{width:c.w>=0?c.w+"px":0,height:c.h>=0?c.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()};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"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]+2*this.cb},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;this.p1=this.p2=0;if(this.tpos==0){this.tpos=(hs.page[this.wh]/2)+hs.page["scroll"+this.uclt]}},calcExpanded:function(){this.justify="auto";if(this.exp.align=="center"){this.justify="center"}else{if(new RegExp(this.lt).test(this.exp.anchor)){this.justify=null}else{if(new RegExp(this.rb).test(this.exp.anchor)){this.justify="max"}}}this.pos=this.tpos-this.cb+this.tb;this.size=Math.min(this.full,this.exp["max"+this.ucwh]||this.full);this.minSize=this.exp.allowSizeReduction?Math.min(this.exp["min"+this.ucwh],this.full):this.full;if(hs.padToMinWidth&&this.dim=="x"){this.minSize=this.exp.minWidth}this.target=this.exp["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){this.size=a;this.exp.content.style[this.wh]=a+"px";this.exp.wrapper.style[this.wh]=this.get("wsize")+"px";if(this.exp.outline){this.exp.outline.setPosition(this.exp)}if(this.exp.releaseMask){this.exp.releaseMask.style[this.wh]=a+"px"}if(this.exp.isHtml){var b=this.exp.scrollerDiv;if(!this.sizeDiff){this.sizeDiff=this.exp.innerContent["offset"+this.ucwh]-b["offset"+this.ucwh]}b.style[this.wh]=(this.size-this.sizeDiff)+"px";if(this.dim=="x"){this.exp.mediumContent.style.width="auto"}if(this.exp.body){this.exp.body.style[this.wh]="auto"}}if(this.dim=="x"&&this.exp.overlayBox){this.exp.sizeOverlayBox(true)}if(this.dim=="x"&&this.exp.slideshow&&this.exp.isImage){if(a==this.full){this.exp.slideshow.disable("full-expand")}else{this.exp.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(this.exp)}}};hs.Expander=function(l,f,b,m){if(document.readyState&&hs.ie&&!hs.isDomReady){hs.onDomReady=function(){new hs.Expander(l,f,b,m)};return}this.a=l;this.custom=b;this.contentType=m||"image";this.isHtml=(m=="html");this.isImage=!this.isHtml;hs.continuePreloading=false;this.overlays=[];this.last=hs.last;hs.last=null;hs.init();var o=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=l.href}var d=(f&&f.thumbnailId)?hs.$(f.thumbnailId):l;d=this.thumb=d.getElementsByTagName("img")[0]||d;this.thumbsUserSetId=d.id||l.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==l&&!(this.last&&this.transitions[1]=="crossfade")){hs.expanders[g].focus();return false}}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[this.key]=this;if(!hs.allowMultipleInstances){if(hs.expanders[o-1]){hs.expanders[o-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.page=hs.getPageSize();var k=this.x=new hs.Dimension(this,"x");k.calcThumb();var j=this.y=new hs.Dimension(this,"y");j.calcThumb();if(/area/i.test(d.tagName)){this.getImageMapAreaCorrection(d)}this.wrapper=hs.createElement("div",{id:"highslide-wrapper-"+this.key,className:this.wrapperClassName},{visibility:"hidden",position:"absolute",zIndex:hs.zIndexCounter++},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={connectOutline:function(){var a=this.outline=hs.pendingOutlines[this.outlineType];a.table.style.zIndex=this.wrapper.style.zIndex;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");this.innerContent=this.content;if(/(swf|iframe)/.test(this.objectType)){this.setObjContainerSize(this.innerContent)}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(this.innerContent);hs.setStyles(this.innerContent,{position:"relative",display:"block",direction:hs.lang.cssDirection||""});if(this.width){this.innerContent.style.width=this.width+"px"}if(this.height){this.innerContent.style.height=this.height+"px"}if(this.innerContent.offsetWidth<this.minWidth){this.innerContent.style.width=this.minWidth+"px"}if(this.objectType=="ajax"&&!hs.getCacheBinding(this.a)){this.showLoading();var b=new hs.Ajax(this.a,this.innerContent);var c=this;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 k=this.x,g=this.y;if(this.loading){hs.setStyles(this.loading,{top:"-9999px"});this.loading=null;hs.fireEvent(this,"onHideLoading")}if(this.isImage){k.full=this.content.width;g.full=this.content.height;hs.setStyles(this.content,{width:this.x.t+"px",height:this.y.t+"px"})}else{if(this.htmlGetSize){this.htmlGetSize()}}this.wrapper.appendChild(this.content);hs.setStyles(this.wrapper,{left:this.x.tpos+"px",top:this.y.tpos+"px"});hs.container.appendChild(this.wrapper);k.calcBorders();g.calcBorders();this.initSlideshow();this.getOverlays();var f=k.full/g.full;k.calcExpanded();this.justify(k);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 l=this.slideshow;if(l&&this.last&&l.controls&&l.fixedControls){var j=l.overlayOptions.position||"",a;for(var c in hs.oPos){for(var b=0;b<5;b++){a=this[c];if(j.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(l.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.size){this.createFullExpand();if(this.overlays.length==1){this.sizeOverlayBox()}}}this.show()}catch(d){window.location.href=this.src}},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.getPageSize()).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+'"  allowtransparency="true" 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(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.iframe.contentDocument||this.iframe.contentWindow.document;var b=d.createElement("div");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}}catch(c){a=300}return a},correctIframeSize:function(){var b=this.innerContent.offsetWidth-this.ruler.offsetWidth;if(b<0){b=0}var a=this.innerContent.offsetHeight-this.body.offsetHeight;hs.setStyles(this.iframe,{width:(this.x.size)+"px",height:(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,{width:this.x.size+"px",position:"relative",left:(this.x.pos-this.x.tpos)+"px",top:(this.y.pos-this.y.tpos)+"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 j=d.coords.split(",");for(var b=0;b<j.length;b++){j[b]=parseInt(j[b])}if(d.shape.toLowerCase()=="circle"){this.x.tpos+=j[0]-j[2];this.y.tpos+=j[1]-j[2];this.x.t=this.y.t=2*j[2]}else{var f,e,a=f=j[0],g=e=j[1];for(var b=0;b<j.length;b++){if(b%2==0){a=Math.min(a,j[b]);f=Math.max(f,j[b])}else{g=Math.min(g,j[b]);e=Math.max(e,j[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,i=f.target,e=f==this.x?"x":"y";if(i&&i.match(/ /)){g=i.split(" ");i=g[0]}if(i&&hs.$(i)){f.pos=hs.getPosition(hs.$(i))[e];if(g&&g[1]&&g[1].match(/^[-]?[0-9]+px$/)){f.pos+=parseInt(g[1])}}else{if(f.justify=="auto"||f.justify=="center"){var d=false;var a=hs.allowSizeReduction;if(f.justify=="center"){f.pos=Math.round(f.scroll+(f.clientSize-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=f.get("fitsize")}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("fitsize")}}}}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(b){var a=this.x,e=this.y;var d=false;if(a.size/e.size>b){a.size=e.size*b;if(a.size<a.minSize){if(hs.padToMinWidth){a.imgSize=a.size}a.size=a.minSize;if(!a.imgSize){e.size=a.size/b}}d=true}else{if(a.size/e.size<b){var c=e.size;e.size=a.size/b;d=true}}this.fitOverlayBox(b);if(d){a.pos=a.tpos-a.cb+a.tb;a.minSize=a.size;this.justify(a,true);e.pos=e.tpos-e.cb+e.tb;e.minSize=e.size;this.justify(e,true);if(this.overlayBox){this.sizeOverlayBox()}}},fitOverlayBox:function(b){var a=this.x,c=this.y;if(this.overlayBox){while(c.size>this.minHeight&&a.size>this.minWidth&&c.get("wsize")>c.get("fitsize")){c.size-=10;if(b){a.size=c.size*b}this.sizeOverlayBox(0,1)}}},reflow:function(){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(){this.doShowHide("hidden");hs.fireEvent(this,"onBeforeExpand");this.changeSize(1,{xpos:this.x.tpos+this.x.tb-this.x.cb,ypos:this.y.tpos+this.y.tb-this.y.cb,xsize:this.x.t,ysize:this.y.t,xp1:0,xp2:0,yp1:0,yp2:0,ximgSize:this.x.t,ximgPad:0,o:hs.outlineStartOffset},{xpos:this.x.pos,ypos:this.y.pos,xsize:this.x.size,ysize:this.y.size,xp1:this.x.p1,yp1:this.y.p1,xp2:this.x.p2,yp2:this.y.p2,ximgSize:this.x.imgSize,ximgPad:this.x.get("imgPad"),o:this.outline?this.outline.offset:0},hs.expandDuration)},changeSize:function(e,l,m,a){var p=this.transitions,f=e?(this.last?this.last.a:null):hs.upcoming,o=(p[1]&&f&&hs.getParam(f,"transitions")[1]==p[1])?p[1]:p[0];if(e&&f&&this.isHtml&&p[1]=="crossfade"){o=p[1]="fade"}if(this[o]&&o!="expand"){this[o](e,l,m);return}if(e){hs.setStyles(this.wrapper,{opacity:1})}if(this.outline&&!this.outlineWhileAnimating){if(e){this.outline.setPosition(this)}else{this.outline.destroy((this.isHtml&&this.preserveContent))}}if(!e&&this.overlayBox){if(this.slideshow){var j=this.slideshow.controls;if(j&&hs.getExpander(j)==this){j.parentNode.removeChild(j)}}if(this.isHtml&&this.preserveContent){this.overlayBox.style.top="-9999px";hs.container.appendChild(this.overlayBox)}else{hs.discardElement(this.overlayBox)}}if(this.fadeInOut){l.op=e?0:1;m.op=e}var o,b=this,g=Math[this.easing]||Math.easeInQuad,k=(e?hs.expandSteps:hs.restoreSteps)||parseInt(a/25)||1;if(!e){g=Math[this.easingClose]||g}for(var d=1;d<=k;d++){o=Math.round(d*(a/k));(function(){var q=d,i={};for(var c in l){i[c]=g(o,l[c],m[c]-l[c],a);if(isNaN(i[c])){i[c]=m[c]}if(!/^op$/.test(c)){i[c]=Math.round(i[c])}}setTimeout(function(){if(e&&q==1){b.content.style.visibility="visible";b.a.className+=" highslide-active-anchor"}b.setSize(i)},o)})()}if(e){setTimeout(function(){if(b.outline){b.outline.table.style.visibility="visible"}},o);setTimeout(function(){b.afterExpand()},o+50)}else{setTimeout(function(){b.afterClose()},o)}},setSize:function(c){try{if(c.op){hs.setStyles(this.wrapper,{opacity:c.op})}hs.setStyles(this.wrapper,{width:(c.xsize+c.xp1+c.xp2+2*this.x.cb)+"px",height:(c.ysize+c.yp1+c.yp2+2*this.y.cb)+"px",left:c.xpos+"px",top:c.ypos+"px"});hs.setStyles(this.content,{top:c.yp1+"px",left:(c.xp1+c.ximgPad)+"px",width:(c.ximgSize||c.xsize)+"px",height:c.ysize+"px"});if(this.isHtml){hs.setStyles(this.mediumContent,{left:(this.x.pos-c.xpos+this.x.p1-c.xp1)+"px",top:(this.y.pos-c.ypos+this.y.p1-c.yp1)+"px"});this.innerContent.style.visibility="visible"}if(this.outline&&this.outlineWhileAnimating){var b=this.outline.offset-c.o;this.outline.setPosition(this,{x:c.xpos+b,y:c.ypos+b,w:c.xsize+c.xp1+c.xp2+-2*b,h:c.ysize+c.yp1+c.yp2+-2*b},1)}this.wrapper.style.visibility="visible"}catch(a){window.location.href=this.src}},fade:function(a,g,f){this.outlineWhileAnimating=false;var e=this,d=a?250:0;if(a){hs.setStyles(this.wrapper,{opacity:0});this.setSize(f);this.content.style.visibility="visible";hs.fade(this.wrapper,0,1)}if(this.outline){this.outline.table.style.zIndex=this.wrapper.style.zIndex;var b=a||-1;for(var c=g.o;b*c<=b*f.o;c+=b,d+=25){(function(){var i=a?f.o-c:g.o-c;setTimeout(function(){e.outline.setPosition(e,{x:(e.x.pos+i),y:(e.y.pos+i),w:(e.x.size-2*i+e.x.p1+e.x.p2),h:(e.y.size-2*i+e.y.p1+e.y.p2)},1)},d)})()}}if(a){setTimeout(function(){e.afterExpand()},d+50)}else{setTimeout(function(){if(e.outline){e.outline.destroy(e.preserveContent)}hs.fade(e.wrapper,1,0);setTimeout(function(){e.afterClose()},250)},d)}},crossfade:function(c,l,m){if(!c){return}var a=this,j=parseInt(hs.transitionDuration/25)||1,o=this.last;hs.removeEventListener(document,"mousemove",hs.dragHandler);hs.setStyles(this.content,{width:(m.ximgSize||m.xsize)+"px",height:m.ysize+"px"});this.outline=this.last.outline;this.last.outline=null;this.fadeBox=hs.createElement("div",{className:"highslide-image"},{position:"absolute",zIndex:4,overflow:"hidden",display:"none"});var g={oldImg:o,newImg:this};for(var k in g){this[k]=g[k].content.cloneNode(1);hs.setStyles(this[k],{position:"absolute",border:0,visibility:"visible"});this.fadeBox.appendChild(this[k])}this.wrapper.appendChild(this.fadeBox);l={xpos:o.x.pos,xsize:o.x.size,xp1:o.x.p1,xp2:o.x.p2,ximgSize:o.x.imgSize||o.x.size,ximgPad:o.x.get("imgPad"),ypos:o.y.pos,ysize:o.y.size,yp1:o.y.p1,yp2:o.y.p2,o:1/j};m.ysize=this.y.size;m.o=1;if(!m.ximgSize){m.ximgSize=m.xsize}var p,f=Math.easeInOutQuad;if(j>1){this.crossfadeStep(l)}function e(){if(a.overlayBox){a.overlayBox.className="";a.wrapper.appendChild(a.overlayBox);for(var r=0;r<a.last.overlays.length;r++){var q=hs.$("hsId"+a.last.overlays[r]);if(q.reuse===a.key){a.overlayBox.appendChild(q)}else{hs.fade(q,q.opacity,0)}}}a.fadeBox.style.display="";a.last.content.style.display="none"}if(/rv:1\.[0-8].+Gecko/.test(navigator.userAgent)){setTimeout(e,0)}else{e()}if(hs.safari){var d=navigator.userAgent.match(/Safari\/([0-9]{3})/);if(d&&parseInt(d[1])<525){this.wrapper.style.visibility="visible"}}for(var b=1;b<=j;b++){p=Math.round(b*(hs.transitionDuration/j));(function(){var q={},r=b;for(var i in l){var s=f(p,l[i],m[i]-l[i],hs.transitionDuration);if(isNaN(s)){s=m[i]}q[i]=(i!="o")?Math.round(s):s}setTimeout(function(){a.crossfadeStep(q)},p)})()}setTimeout(function(){a.crossfadeEnd()},p+100)},crossfadeStep:function(a){try{if(this.outline){this.outline.setPosition(this,{x:a.xpos,y:a.ypos,w:a.xsize+a.xp1+a.xp2,h:a.ysize+a.yp1+a.yp2},1)}this.last.wrapper.style.clip="rect("+(a.ypos-this.last.y.pos)+"px, "+(a.xsize+a.xp1+a.xp2+a.xpos+2*this.last.x.cb-this.last.x.pos)+"px, "+(a.ysize+a.yp1+a.yp2+a.ypos+2*this.last.y.cb-this.last.y.pos)+"px, "+(a.xpos-this.last.x.pos)+"px)";hs.setStyles(this.content,{top:a.yp1+"px",left:(a.xp1+this.x.get("imgPad"))+"px",marginTop:(this.y.pos-a.ypos)+"px",marginLeft:(this.x.pos-a.xpos)+"px"});hs.setStyles(this.wrapper,{top:a.ypos+"px",left:a.xpos+"px",width:(a.xp1+a.xp2+a.xsize+2*this.x.cb)+"px",height:(a.yp1+a.yp2+a.ysize+2*this.y.cb)+"px"});hs.setStyles(this.fadeBox,{width:(a.ximgSize||a.xsize)+"px",height:a.ysize+"px",left:(a.xp1+a.ximgPad)+"px",top:a.yp1+"px",visibility:"visible"});hs.setStyles(this.oldImg,{top:(this.last.y.pos-a.ypos+this.last.y.p1-a.yp1)+"px",left:(this.last.x.pos-a.xpos+this.last.x.p1-a.xp1+this.last.x.get("imgPad")-a.ximgPad)+"px"});hs.setStyles(this.newImg,{opacity:a.o,top:(this.y.pos-a.ypos+this.y.p1-a.yp1)+"px",left:(this.x.pos-a.xpos+this.x.p1-a.xp1+this.x.get("imgPad")-a.ximgPad)+"px"});hs.setStyles(this.overlayBox,{width:a.xsize+"px",height:a.ysize+"px",left:(a.xp1+this.x.cb)+"px",top:(a.yp1+this.y.cb)+"px"})}catch(b){}},crossfadeEnd:function(){this.wrapper.style.background=this.wrapperBG||"";this.wrapper.style.visibility=this.content.style.visibility="visible";this.fadeBox.style.display="none";this.a.className+=" highslide-active-anchor";this.afterExpand();this.last.afterClose()},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.isHtml){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.anchors.groups[this.slideshowGroup||"none"];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"];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.slideshow){return}if(!this.last){for(var b=0;b<hs.slideshows.length;b++){var a=hs.slideshows[b],c=a.slideshowGroup;if(typeof c=="undefined"||c===null||c===this.slideshowGroup){this.slideshow=new hs.Slideshow(a)}}}else{this.slideshow=this.last.slideshow}var a=this.slideshow;if(!a){return}var e=a.exp=this;a.checkFirstAndLast();a.disable("full-expand");if(a.controls){var d=a.overlayOptions||{};d.overlayId=a.controls;d.hsId="controls";this.createOverlay(d)}if(!this.last&&this.autoplay){a.play(true)}if(a.autoplay){a.autoplay=setTimeout(function(){hs.next(e.key)},(a.interval||500))}},cancelLoading:function(){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,className:"highslide-credits",innerHTML:hs.lang.creditsText,title:hs.lang.creditsTitle});this.createOverlay({overlayId:this.credits,position:"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){var next=this.a.nextSibling;while(next&&!hs.isHsAnchor(next)){if((new RegExp("highslide-"+type)).test(next.className||null)){this[type]=next.cloneNode(1);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 j=e[f].getAttribute("hidden-by");if(b=="visible"&&j){j=j.replace("["+this.key+"]","");e[f].setAttribute("hidden-by",j);if(!j){e[f].style[a]=e[f].origProp}}else{if(b=="hidden"){var l=hs.getPosition(e[f]);l.w=e[f].offsetWidth;l.h=e[f].offsetHeight;if(!this.dimmingOpacity){var k=(l.x+l.w<this.x.get("opos")||l.x>this.x.get("opos")+this.x.get("osize"));var g=(l.y+l.h<this.y.get("opos")||l.y>this.y.get("opos")+this.y.get("osize"))}var d=hs.getWrapperKey(e[f]);if(!k&&!g&&d!=this.key){if(!j){e[f].setAttribute("hidden-by","["+this.key+"]");e[f].origProp=e[f].style[a];e[f].style[a]="hidden"}else{if(!j.match("["+this.key+"]")){e[f].setAttribute("hidden-by",j+"["+this.key+"]")}}}else{if((j=="["+this.key+"]"||hs.focusKey==d)&&d!=this.key){e[f].setAttribute("hidden-by","");e[f].style[a]=e[f].origProp||""}else{if(j&&j.match("["+this.key+"]")){e[f].setAttribute("hidden-by",j.replace("["+this.key+"]",""))}}}}}}}},focus:function(){this.wrapper.style.zIndex=hs.zIndexCounter++;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(this,"onBlur")}}if(this.outline){this.outline.table.style.zIndex=this.wrapper.style.zIndex}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.ieVersion()<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)},close:function(){if(this.isClosing||!this.isExpanded||(hs.upcoming&&this.transitions[1]=="crossfade")){return}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,{xpos:this.x.pos,ypos:this.y.pos,xsize:this.x.size,ysize:this.y.size,xp1:this.x.p1,yp1:this.y.p1,xp2:this.x.p2,yp2:this.y.p2,ximgSize:this.x.imgSize,ximgPad:this.x.get("imgPad"),o:this.outline?this.outline.offset:0},{xpos:this.x.tpos-this.x.cb+this.x.tb,ypos:this.y.tpos-this.y.cb+this.y.tb,xsize:this.x.t,ysize:this.y.t,xp1:0,yp1:0,xp2:0,yp2:0,ximgSize:this.x.imgSize?this.x.t:null,ximgPad:0,o:hs.outlineStartOffset},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(){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)}this.show()},createOverlay:function(d){var c=d.overlayId;if(typeof c=="string"){c=hs.getNode(c)}if(!c||typeof c=="string"){return}if(!hs.fireEvent(this,"onCreateOverlay",{overlay:c})){return}c.style.display="block";d.hsId=d.hsId||d.overlayId;if(this.transitions[1]=="crossfade"&&this.reuseOverlay(d,c)){return}this.genOverlayBox();var b=d.width&&/^[0-9]+(px|%)$/.test(d.width)?d.width:"auto";if(/^(left|right)panel$/.test(d.position)&&!/^[0-9]+px$/.test(d.width)){b="200px"}var a=hs.createElement("div",{id:"hsId"+hs.idCounter++,hsId:d.hsId},{position:"absolute",visibility:"hidden",width:b,direction:hs.lang.cssDirection||""},this.overlayBox,true);a.appendChild(c);hs.setAttribs(a,{hideOnMouseOut:d.hideOnMouseOut,opacity:d.opacity||1,hsPos:d.position,fade:d.fade});if(this.gotOverlays){this.positionOverlay(a);if(!a.hideOnMouseOut||this.mouseIsOver){hs.fade(a,0,a.opacity)}}hs.push(this.overlays,hs.idCounter-1)},positionOverlay:function(a){var b=a.hsPos||"middle center";if(/left$/.test(b)){a.style.left=0}if(/center$/.test(b)){hs.setStyles(a,{left:"50%",marginLeft:"-"+Math.round(a.offsetWidth/2)+"px"})}if(/right$/.test(b)){a.style.right=0}if(/^leftpanel$/.test(b)){hs.setStyles(a,{right:"100%",marginRight:this.x.cb+"px",top:-this.y.cb+"px",bottom:-this.y.cb+"px",overflow:"auto"});this.x.p1=a.offsetWidth}else{if(/^rightpanel$/.test(b)){hs.setStyles(a,{left:"100%",marginLeft:this.x.cb+"px",top:-this.y.cb+"px",bottom:-this.y.cb+"px",overflow:"auto"});this.x.p2=a.offsetWidth}}if(/^top/.test(b)){a.style.top=0}if(/^middle/.test(b)){hs.setStyles(a,{top:"50%",marginTop:"-"+Math.round(a.offsetHeight/2)+"px"})}if(/^bottom/.test(b)){a.style.bottom=0}if(/^above$/.test(b)){hs.setStyles(a,{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=a.offsetHeight}else{if(/^below$/.test(b)){hs.setStyles(a,{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=a.offsetHeight;a.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.hsPos)){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.x.size+"px":this.x.full+"px",height:0,visibility:"hidden",overflow:"hidden",zIndex:hs.ie?4:null},hs.container,true)}},sizeOverlayBox:function(c,a){hs.setStyles(this.overlayBox,{width:this.x.size+"px",height:this.y.size+"px"});if(c||a){for(var b=0;b<this.overlays.length;b++){var d=hs.$("hsId"+this.overlays[b]);if(d&&/^(above|below)$/.test(d.hsPos)){if(hs.ie&&(hs.ieVersion()<=6||document.compatMode=="BackCompat")){d.style.width=(this.overlayBox.offsetWidth+2*this.x.cb+this.x.p1+this.x.p2)+"px"}this.y[d.hsPos=="above"?"p1":"p2"]=d.offsetHeight}}}if(c){hs.setStyles(this.content,{top:this.y.p1+"px"});hs.setStyles(this.overlayBox,{top:(this.y.p1+this.y.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){hs.fade(d,0,d.opacity)}}},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 a=this.x.pos-(this.x.full-this.x.size)/2;if(a<hs.marginLeft){a=hs.marginLeft}this.moveTo(a,this.y.pos);this.resizeTo(this.x.full,this.y.full);this.doShowHide("hidden");hs.setDimmerSize(this)}catch(b){window.location.href=this.content.src}},afterClose:function(){this.a.className=this.a.className.replace("highslide-active-anchor","");this.doShowHide("visible");if(this.isHtml&&this.preserveContent){this.sleep()}else{if(this.outline&&this.outlineWhileAnimating){this.outline.destroy()}hs.discardElement(this.wrapper)}if(hs.mask){hs.mask.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(){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{this.xmlHttp=new XMLHttpRequest()}catch(b){try{this.xmlHttp=new ActiveXObject("Msxml2.XMLHTTP")}catch(b){try{this.xmlHttp=new ActiveXObject("Microsoft.XMLHTTP")}catch(b){this.onError()}}}var c=this;this.xmlHttp.onreadystatechange=function(){if(c.xmlHttp.readyState==4){if(c.id){c.getElementContent()}else{c.loadHTML()}}};this.xmlHttp.open("GET",this.src,true);this.xmlHttp.setRequestHeader("X-Requested-With","XMLHttpRequest");this.xmlHttp.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 b=this.cachedGet||this.xmlHttp.responseText;if(this.pre){hs.cachedGets[this.src]=b}if(!hs.ie||hs.ieVersion()>=5.5){b=b.replace(/\s/g," ").replace(new RegExp("<link[^>]*>","gi"),"").replace(new RegExp("<script[^>]*>.*?<\/script>","gi"),"");if(this.iframe){var d=this.iframe.contentDocument;if(!d&&this.iframe.contentWindow){d=this.iframe.contentWindow.document}if(!d){var f=this;setTimeout(function(){f.loadHTML()},25);return}d.open();d.write(b);d.close();try{b=d.getElementById(this.id).innerHTML}catch(c){try{b=this.iframe.document.getElementById(this.id).innerHTML}catch(c){}}}else{b=b.replace(new RegExp("^.*?<body[^>]*>(.*?)</body>.*?$","i"),"$1")}}hs.getElementByClass(this.content,"DIV","highslide-body").innerHTML=b;this.onLoad();for(var a in this){this[a]=null}}};hs.Slideshow=function(b){hs.updateAnchors();for(var a in b){this[a]=b[a]}if(this.useControls){this.getControls()}};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 b=this.exp.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[this.exp.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.exp.key)}},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)}};if(document.readyState&&hs.ie){(function(){try{document.documentElement.doScroll("left")}catch(a){setTimeout(arguments.callee,50);return}hs.domReady()})()}hs.langDefaults=hs.lang;var HsExpander=hs.Expander;hs.addEventListener(window,"load",function(){var c=".highslide img",d="cursor: url("+hs.graphicsDir+hs.expandCursor+"), pointer !important;";var a=hs.createElement("style",{type:"text/css"},null,document.getElementsByTagName("HEAD")[0]);if(!hs.ie){a.appendChild(document.createTextNode(c+" {"+d+"}"))}else{var b=document.styleSheets[document.styleSheets.length-1];if(typeof(b.addRule)=="object"){b.addRule(c,d)}}});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(window,"load",hs.preloadImages);hs.addEventListener(window,"load",hs.preloadAjax);hs.addEventListener(window,"load",function(){hs.pageLoaded=true});hs.setClickEvents();
/*
  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,l,k,f,j){if(g==0){return e}if((g/=k)==1){return e+l}if(!j){j=k*0.3}if(f<Math.abs(l)){f=l;var i=j/4}else{var i=j/(2*Math.PI)*Math.asin(l/f)}return -(f*Math.pow(2,10*(g-=1))*Math.sin((g*k-i)*(2*Math.PI)/j))+e};Math.easeOutElastic=function(g,e,l,k,f,j){if(g==0){return e}if((g/=k)==1){return e+l}if(!j){j=k*0.3}if(f<Math.abs(l)){f=l;var i=j/4}else{var i=j/(2*Math.PI)*Math.asin(l/f)}return f*Math.pow(2,-10*g)*Math.sin((g*k-i)*(2*Math.PI)/j)+l+e};Math.easeInOutElastic=function(g,e,l,k,f,j){if(g==0){return e}if((g/=k/2)==2){return e+l}if(!j){j=k*(0.3*1.5)}if(f<Math.abs(l)){f=l;var i=j/4}else{var i=j/(2*Math.PI)*Math.asin(l/f)}if(g<1){return -0.5*(f*Math.pow(2,10*(g-=1))*Math.sin((g*k-i)*(2*Math.PI)/j))+e}return f*Math.pow(2,-10*(g-=1))*Math.sin((g*k-i)*(2*Math.PI)/j)*0.5+l+e};Math.easeInBack=function(e,a,i,g,f){if(f==undefined){f=1.70158}return i*(e/=g)*e*((f+1)*e-f)+a};Math.easeOutBack=function(e,a,i,g,f){if(f==undefined){f=1.70158}return i*((e=e/g-1)*e*((f+1)*e+f)+1)+a};Math.easeInOutBack=function(e,a,i,g,f){if(f==undefined){f=1.70158}if((e/=g/2)<1){return i/2*(e*e*(((f*=(1.525))+1)*e-f))+a}return i/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("rounded-white")})}$(document).ready(function(){$("[rel^='lightbox']").each(function(){$(this).click(function(){var a=$(this).attr("rev");if(a){a=jQuery.array2Object(String(a).split(/;/))}if(!a){a={}}a=jQuery.extend({outlineType:"rounded-white",align:"center",dimmingOpacity:0.6},a);if($(this).attr("rel").indexOf("[tablepopup]")>0){a=jQuery.extend({objectType:"iframe",width:"860px",height:"600px"},a)}if(a.width){a.width=NexxarLib.convertEM2PX(a.width)}if(a.height){a.height=NexxarLib.convertEM2PX(a.height)}if(a.heightIncrease){a.height+=NexxarLib.convertEM2PX(a.heightIncrease)}if(a.widthIncrease){a.width+=NexxarLib.convertEM2PX(a.widthIncrease)}if(a.href&&a.href.length>0&&$(this).attr("href")&&!$(this).attr("oldHREF")){$(this).attr("oldHREF",$(this).attr("href")).attr("href",a.href)}if($(this).attr("href").match(/\.(png|jpe?g|gif)$/)){return hs.expand($(this)[0],a)}else{return hs.htmlExpand($(this)[0],a)}})})});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"})})})}hs.Expander.prototype.onAfterExpand=function(a){if(!a||!a.iframe||!a.wrapper){return}$(a.iframe).width($(a.wrapper).width())};var NexxarLib={pageUsesFlash:false,currentPageID:-1,pageBaseURL:"/",defaultExtension:".html",defaultScriptExtension:".php",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(hs.graphicsDir){hs.graphicsDir=this.getBaseURLPath()+hs.graphicsDir}},getBaseURLPath:function(){if(this.pageBaseURL&&this.pageBaseURL!="/"){return this.pageBaseURL}else{return""}},getBaseURLFull:function(){return window.location.protocol+"//"+window.location.host+this.getBaseURLPath()},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|asp|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}}},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);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}};var NexxarPrintManager={defaultServerScriptPath:"/servicepages/printmanager.php",uiIDs:{onAddPageSuccess:"printManagerAddLayer",displayCounter:"printManagerCounter",pane:"printManagerLayer",paneToggleLink:"printManagerLayerLink",container:"printManagerLayerContainer",lightboxLink:"printManagerOpener"},texts:{noDoc:"",singleDoc:"<b>1</b> document is marked<br>&nbsp;&nbsp;&nbsp;for printing",multiDocs:"<b><!-- COUNTER --></b> documents are marked<br>&nbsp;&nbsp;&nbsp;for printing"},stateCookieName:"rep2008csr-PrintMan",getDefaultServerScriptAddress:function(){var a=NexxarLib.getBaseURLFull()+this.defaultServerScriptPath;if(window.location.hostname.indexOf("laut.iedit")>=0){a=a.replace(/\.php$/,"")}return a},prepareTargetAddress:function(a){if(!a||typeof(a)!="string"||a.length<=0){return this.getDefaultServerScriptAddress()}a=a.replace(/add=[^&]*/,"");a=a.replace(/\?$/,"");if(!a.match(/^(https?|mailto|file):\/\//)){return NexxarLib.getBaseURLFull()+a}return a},addPage:function(d,c,g){if(!d||!d.href){return false}var a=NexxarPrintManager.uiIDs.onAddPageSuccess;if(g&&g.layer){a=g.layer}if(!c){c=String(window.location.pathname).substr(NexxarLib.getBaseURLPath().length)}var e=this.prepareTargetAddress(d.href);var f={add:c,xmlhttp:1,rand:Math.floor(Math.random()*99999),date:(new Date()).getTime()};if(hs&&g&&g.useHighslide){if(e.indexOf("?")<0){e+="?"}else{e+="&"}e+=$.param(f);d.oldhref=d.href;d.href=e;g=$.extend({objectType:"iframe",outlineWhileAnimating:true,preserveContent:false},g);hs.htmlExpand(d,g);d.href=d.oldhref;this.updateInfoText(d.href)}else{var b=this;$.get(e,f,function(i){$("#"+a).css({display:"block",visibility:"visible"});b.updateInfoText(d.href)})}$(d).click(function(){return false});return true},updateInfoText:function(b){if(!$("#"+NexxarPrintManager.uiIDs.displayCounter).get(0)){return}var a=this;$.get(this.prepareTargetAddress(b),{action:"count",xmlhttp:1},function(d){d=jQuery.trim(d);var e="";if(d.indexOf("DOCTYPE")>=0){return}else{if(d=="1"){e=a.texts.singleDoc.replace(/<!--\s*COUNTER\s*-->/,1)}else{if(!d||d.length<=0||d=="0"){e=a.texts.noDoc}else{e=a.texts.multiDocs.replace(/<!--\s*COUNTER\s*-->/,d)}}}if(!e||e.length<=0){return}var c=$("#"+NexxarPrintManager.uiIDs.displayCounter).html(e);if(c.hasClass("fakeName")){c.removeClass("fakeName")}else{c.addClass("fakeName")}if($.browser.msie){$("#"+NexxarPrintManager.uiIDs.pane).slideDown("fast")}})},hidePane:function(a){if(!$("#"+NexxarPrintManager.uiIDs.pane).get(0)){return}if(!a){$("#"+this.uiIDs.pane).css("display","none")}else{$("#"+this.uiIDs.pane).slideUp("fast")}$("#"+this.uiIDs.container).addClass("inactive").removeClass("active");$("#"+this.uiIDs.paneToggleLink).trigger("blur.tooltip").unbind(".tooltip").removeData("tooltip").attr("title","Print this page or add this page to a selection of pages you want to print later").addClass("inactive").removeClass("active").tooltip({smart:true});$.cookies.set(this.stateCookieName,"closed")},showPane:function(){$.cookies.set(this.stateCookieName,"opened");$("#"+this.uiIDs.pane).slideDown("fast");$("#"+this.uiIDs.container).addClass("active").removeClass("inactive");var a=$("#"+this.uiIDs.paneToggleLink).data("tooltip");if(a){a.hide()}$("#"+this.uiIDs.paneToggleLink).trigger("blur.tooltip").unbind(".tooltip").removeData("tooltip").attr("title","hide the printmanager's toolbar").removeClass("inactive").addClass("active").tooltip({smart:true})},restorePaneWithCSS:function(){var a=$.cookies.get(this.stateCookieName);if(!a||a=="closed"){document.write('<style type="text/css"> #'+this.uiIDs.pane+" {display:none;}</style>")}},restorePane:function(){var a=$.cookies.get(this.stateCookieName);if(!a||a=="closed"){this.hidePane(true)}else{$("#"+this.uiIDs.paneToggleLink).addClass("active").removeClass("inactive");$("#"+this.uiIDs.container).addClass("active").removeClass("inactive")}},togglePane:function(){var a=$.cookies.get(this.stateCookieName);if(a=="opened"||$("#"+this.uiIDs.paneToggleLink).hasClass("active")){this.hidePane()}else{this.showPane()}},addLightbox:function(){jQuery("#"+NexxarPrintManager.uiIDs.lightboxLink).click(function(){var b=parseFloat($("html").css("font-size"),10);var a=(600/16)*b;var c=(500/16)*b;return hs.htmlExpand($(this).get(0),{objectType:"iframe",align:"center",width:a+6,height:c+10,dimmingOpacity:0.75,preserveContent:false})})}};$(document).ready(function(){NexxarPrintManager.updateInfoText();NexxarPrintManager.restorePane();NexxarPrintManager.addLightbox()});NexxarPrintManager.restorePaneWithCSS();if(parent&&(window.location.pathname.indexOf("/printmanager")>=0&&(window.location.search.indexOf("print=all")>0||window.location.pathname.indexOf("/printmanager/print")>0))){parent.nexxar_lib_resizeLightboxIFrame(window.location.href.replace(/(\?|\/print).*/,""),600)}if(parent&&window.location.pathname.indexOf("/print.html")>=0){parent.nexxar_lib_resizeLightboxIFrame("/printmanager",600)}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)}a=$(this).parents("div").eq(0).attr("oldDisplay");if(!a){return}else{$(this).parents("div").eq(0).css("display",a)}}else{if(document.formular.setImg[1].checked){if(!a){$(this).attr("oldDisplay",$(this).css("display"))}a=$(this).parents("div").eq(0).attr("oldDisplay");if(!a){$(this).parents("div").eq(0).attr("oldDisplay",$(this).parents("div").eq(0).css("display"))}$(this).css("display","none").parents("div").eq(0).not(".tabelle").css("display","none")}}})}$(document).ready(function(){$("#buttonCloseWindow").html('<a href="#" onclick="parent.hs.close(); return false;" class="button close"><img src="'+NexxarLib.getBaseURLPath()+'/layout/img/button_close.gif" alt="close this window"></a>')});function nexxar_activateTooltip(){$("#bodyContent table.zoom *[title],#pagebody div.footer *[title],#bodyContent a[title], #bodyContent td.download *[title], #bodyContent img[title],#pagebody div.pagemain > div.rightpanel *[title], #pagebody > div.leftpanel *[title], #pageheader *[title], #inleaf1 *[title]").not("abbr,.glossary,table,td,th,tr").each(function(a){$(this).tooltip({smart:true,url:""})})}$(document).ready(function(){if(window.location.pathname.indexOf("/en/servicepages/all")>=0){return}if(!$.browser.msie||!NexxarLib.pageUsesFlash){nexxar_activateTooltip()}else{$(window).load(function(){window.setTimeout("nexxar_activateTooltip()",15000)})}});$(document).ready(function(){$("#printManagerOpener").click(function(){return hs.htmlExpand($(this).get(0),{objectType:"iframe",width:670,height:400,preserveContent:false,align:"center"})});$("#printPopUpOpener:not([rel^='lightbox'])").click(function(){return hs.htmlExpand($(this).get(0),{objectType:"iframe",width:670,height:600,align:"center"})});$(".videoPopupOpener").click(function(){hs.preserveContent=false;hs.Expander.prototype.onBeforeClose=function(a){try{$("iframe").webcastPlayer.SetVariable("toggleStopPlay.val","stop")}catch(b){}};return hs.htmlExpand($(this).get(0),{objectType:"iframe",width:410,height:610,align:"center"})})});var operabar=(window.opera?"=yes":"");function printPopUp(e){var a=680;var c=560;var b="";if(window.opera){b="=yes"}var d="gb2008csr_printPopUp";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(){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{if(f){var d=f.protocol+"//"+f.host;var b=f.pathname.replace(/downloads?\.php[3-9]?\?file=/,"");if(b.substr(0,1)!="/"){d+="/"}d+=b+f.search+f.hash;f.href=String(d)}}catch(c){}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(b,f){if(String(window.location.hostname).match(/iedit.(geber.at|nexxar.com)|localhost/)||String(window.location.protocol).match(/file|https/)){return}var j=escape(b);var f=f?escape(f):"";var d="http://gws.geber.de/lng/gws.gif?js=1&ref="+f+"&pg="+j+"&rep=lng-csr2008";try{d+="&screen="+screen.width+"x"+screen.height}catch(g){}var k=$.cookies.get("STATs-ID");if(!k||k.length<0){k="";for(var c=0;c<34;c++){k+=Math.ceil(Math.random()*255).toString(16)}$.cookies.set("STATs-ID",k.substring(0,32),{path:"/"})}if(k&&k.length>0){d+="&STATS-ID="+k}var a=new Image();a.src=d}function geber_table_handlemouseover(a){$(a).addClass("highlightmouseover")}function geber_table_handlemouseout(a){$(a).removeClass("highlightmouseover")}function geber_table_handlemouseclick(a){$(a).toggleClass("highlightclick")}$(document).ready(function(){if($.browser.msie){$("html").bind("fontSizeChanged",function(){$("img").each(function(){$(this).toggleClass("forceRefresh")});$("#pagebody").each(function(){$(this).toggleClass("forceRefresh")});$("#pageheader").each(function(){$(this).toggleClass("forceRefresh")});$("#pageheader .rightpanel").each(function(){$(this).toggleClass("forceRefresh")})})}$("html").attr("originalFontSize",$("html").css("font-size"));$("#resetFontSize").click(function(){$(this).css("text-decoration","underline");$("#fontSize2, #fontSize3").css("text-decoration","none");$("html").css("font-size","50%");$("body").removeClass("fontSize2").removeClass("fontSize3");$.cookies.set("lng-fontSize",0);$("html").trigger("fontSizeChanged",[parseFloat($("html").css("font-size"),10)])}).css("cursor","pointer");$("#fontSize2").click(function(){$(this).css("text-decoration","underline");$("#resetFontSize, #fontSize3").css("text-decoration","none");$("body").addClass("fontSize2").removeClass("fontSize3");$("html").css("font-size","60%");var b=$.cookies.get("lng-fontSize");$.cookies.set("lng-fontSize",120);$("html").trigger("fontSizeChanged",[parseFloat($("html").css("font-size"),10)]);return false}).css("cursor","pointer");$("#fontSize3").click(function(){$(this).css("text-decoration","underline");$("#resetFontSize, #fontSize2").css("text-decoration","none");$("body").addClass("fontSize3").removeClass("fontSize2");$("html").css("font-size","70%");var b=$.cookies.get("lng-fontSize");$.cookies.set("lng-fontSize",140);$("html").trigger("fontSizeChanged",[parseFloat($("html").css("font-size"),10)]);return false}).css("cursor","pointer");var a=$.cookies.get("lng-fontSize");if(a){a=parseInt(a);if(a&&!isNaN(a)&&a!=0){if(a==120){$("#fontSize2").css("text-decoration","underline");$("body").addClass("fontSize2");$("html").css("font-size","60%")}else{if(a==140){$("#fontSize3").css("text-decoration","underline");$("body").addClass("fontSize3");$("html").css("font-size","70%")}else{$("#resetFontSize").css("text-decoration","underline")}}$("html").trigger("fontSizeChanged",[parseFloat($("html").css("font-size"),10)])}}});
