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 n=this,h,D=n.jQuery,r=n.$,q=n.jQuery=n.$=function(J,K){return new q.fn.init(J,K)},I=/^[^<]*(<(.|\s)+>)[^>]*$|^#([\w-]+)$/,g=/^.[^:#\[\.,]*$/;q.fn=q.prototype={init:function(J,M){J=J||document;if(J.nodeType){this[0]=J;this.length=1;this.context=J;return this}if(typeof J==="string"){var L=I.exec(J);if(L&&(L[1]||!M)){if(L[1]){J=q.clean([L[1]],M)}else{var N=document.getElementById(L[3]);if(N&&N.id!=L[3]){return q().find(J)}var K=q(N||[]);K.context=document;K.selector=J;return K}}else{return q(M).find(J)}}else{if(q.isFunction(J)){return q(document).ready(J)}}if(J.selector&&J.context){this.selector=J.selector;this.context=J.context}return this.setArray(q.makeArray(J))},selector:"",jquery:"1.3.1",size:function(){return this.length},get:function(J){return J===h?q.makeArray(this):this[J]},pushStack:function(K,M,J){var L=q(K);L.prevObject=this;L.context=this.context;if(M==="find"){L.selector=this.selector+(this.selector?" ":"")+J}else{if(M){L.selector=this.selector+"."+M+"("+J+")"}}return L},setArray:function(J){this.length=0;Array.prototype.push.apply(this,J);return this},each:function(K,J){return q.each(this,K,J)},index:function(J){return q.inArray(J&&J.jquery?J[0]:J,this)},attr:function(K,M,L){var J=K;if(typeof K==="string"){if(M===h){return this[0]&&q[L||"attr"](this[0],K)}else{J={};J[K]=M}}return this.each(function(N){for(K in J){q.attr(L?this.style:this,K,q.prop(this,J[K],L,N,K))}})},css:function(J,K){if((J=="width"||J=="height")&&parseFloat(K)<0){K=h}return this.attr(J,K,"curCSS")},text:function(K){if(typeof K!=="object"&&K!=null){return this.empty().append((this[0]&&this[0].ownerDocument||document).createTextNode(K))}var J="";q.each(K||this,function(){q.each(this.childNodes,function(){if(this.nodeType!=8){J+=this.nodeType!=1?this.nodeValue:q.fn.text([this])}})});return J},wrapAll:function(J){if(this[0]){var K=q(J,this[0].ownerDocument).clone();if(this[0].parentNode){K.insertBefore(this[0])}K.map(function(){var L=this;while(L.firstChild){L=L.firstChild}return L}).append(this)}return this},wrapInner:function(J){return this.each(function(){q(this).contents().wrapAll(J)})},wrap:function(J){return this.each(function(){q(this).wrapAll(J)})},append:function(){return this.domManip(arguments,true,function(J){if(this.nodeType==1){this.appendChild(J)}})},prepend:function(){return this.domManip(arguments,true,function(J){if(this.nodeType==1){this.insertBefore(J,this.firstChild)}})},before:function(){return this.domManip(arguments,false,function(J){this.parentNode.insertBefore(J,this)})},after:function(){return this.domManip(arguments,false,function(J){this.parentNode.insertBefore(J,this.nextSibling)})},end:function(){return this.prevObject||q([])},push:[].push,find:function(J){if(this.length===1&&!/,/.test(J)){var L=this.pushStack([],"find",J);L.length=0;q.find(J,this[0],L);return L}else{var K=q.map(this,function(M){return q.find(J,M)});return this.pushStack(/[^+>] [^+>]/.test(J)?q.unique(K):K,"find",J)}},clone:function(K){var J=this.map(function(){if(!q.support.noCloneEvent&&!q.isXMLDoc(this)){var N=this.cloneNode(true),M=document.createElement("div");M.appendChild(N);return q.clean([M.innerHTML])[0]}else{return this.cloneNode(true)}});var L=J.find("*").andSelf().each(function(){if(this[j]!==h){this[j]=null}});if(K===true){this.find("*").andSelf().each(function(N){if(this.nodeType==3){return}var M=q.data(this,"events");for(var P in M){for(var O in M[P]){q.event.add(L[N],P,M[P][O],M[P][O].data)}}})}return J},filter:function(J){return this.pushStack(q.isFunction(J)&&q.grep(this,function(L,K){return J.call(L,K)})||q.multiFilter(J,q.grep(this,function(K){return K.nodeType===1})),"filter",J)},closest:function(J){var K=q.expr.match.POS.test(J)?q(J):null;return this.map(function(){var L=this;while(L&&L.ownerDocument){if(K?K.index(L)>-1:q(L).is(J)){return L}L=L.parentNode}})},not:function(J){if(typeof J==="string"){if(g.test(J)){return this.pushStack(q.multiFilter(J,this,true),"not",J)}else{J=q.multiFilter(J,this)}}var K=J.length&&J[J.length-1]!==h&&!J.nodeType;return this.filter(function(){return K?q.inArray(this,J)<0:this!=J})},add:function(J){return this.pushStack(q.unique(q.merge(this.get(),typeof J==="string"?q(J):q.makeArray(J))))},is:function(J){return !!J&&q.multiFilter(J,this).length>0},hasClass:function(J){return !!J&&this.is("."+J)},val:function(P){if(P===h){var J=this[0];if(J){if(q.nodeName(J,"option")){return(J.attributes.value||{}).specified?J.value:J.text}if(q.nodeName(J,"select")){var N=J.selectedIndex,Q=[],R=J.options,M=J.type=="select-one";if(N<0){return null}for(var K=M?N:0,O=M?N+1:R.length;K<O;K++){var L=R[K];if(L.selected){P=q(L).val();if(M){return P}Q.push(P)}}return Q}return(J.value||"").replace(/\r/g,"")}return h}if(typeof P==="number"){P+=""}return this.each(function(){if(this.nodeType!=1){return}if(q.isArray(P)&&/radio|checkbox/.test(this.type)){this.checked=(q.inArray(this.value,P)>=0||q.inArray(this.name,P)>=0)}else{if(q.nodeName(this,"select")){var S=q.makeArray(P);q("option",this).each(function(){this.selected=(q.inArray(this.value,S)>=0||q.inArray(this.text,S)>=0)});if(!S.length){this.selectedIndex=-1}}else{this.value=P}}})},html:function(J){return J===h?(this[0]?this[0].innerHTML:null):this.empty().append(J)},replaceWith:function(J){return this.after(J).remove()},eq:function(J){return this.slice(J,+J+1)},slice:function(){return this.pushStack(Array.prototype.slice.apply(this,arguments),"slice",Array.prototype.slice.call(arguments).join(","))},map:function(J){return this.pushStack(q.map(this,function(L,K){return J.call(L,K,L)}))},andSelf:function(){return this.add(this.prevObject)},domManip:function(P,S,R){if(this[0]){var O=(this[0].ownerDocument||this[0]).createDocumentFragment(),L=q.clean(P,(this[0].ownerDocument||this[0]),O),N=O.firstChild,J=this.length>1?O.cloneNode(true):O;if(N){for(var M=0,K=this.length;M<K;M++){R.call(Q(this[M],N),M>0?J.cloneNode(true):O)}}if(L){q.each(L,E)}}return this;function Q(T,U){return S&&q.nodeName(T,"table")&&q.nodeName(U,"tr")?(T.getElementsByTagName("tbody")[0]||T.appendChild(T.ownerDocument.createElement("tbody"))):T}}};q.fn.init.prototype=q.fn;function E(J,K){if(K.src){q.ajax({url:K.src,async:false,dataType:"script"})}else{q.globalEval(K.text||K.textContent||K.innerHTML||"")}if(K.parentNode){K.parentNode.removeChild(K)}}function e(){return +new Date}q.extend=q.fn.extend=function(){var O=arguments[0]||{},M=1,N=arguments.length,J=false,L;if(typeof O==="boolean"){J=O;O=arguments[1]||{};M=2}if(typeof O!=="object"&&!q.isFunction(O)){O={}}if(N==M){O=this;--M}for(;M<N;M++){if((L=arguments[M])!=null){for(var K in L){var P=O[K],Q=L[K];if(O===Q){continue}if(J&&Q&&typeof Q==="object"&&!Q.nodeType){O[K]=q.extend(J,P||(Q.length!=null?[]:{}),Q)}else{if(Q!==h){O[K]=Q}}}}}return O};var b=/z-?index|font-?weight|opacity|zoom|line-?height/i,s=document.defaultView||{},x=Object.prototype.toString;q.extend({noConflict:function(J){n.$=r;if(J){n.jQuery=D}return q},isFunction:function(J){return x.call(J)==="[object Function]"},isArray:function(J){return x.call(J)==="[object Array]"},isXMLDoc:function(J){return J.nodeType===9&&J.documentElement.nodeName!=="HTML"||!!J.ownerDocument&&q.isXMLDoc(J.ownerDocument)},globalEval:function(L){L=q.trim(L);if(L){var K=document.getElementsByTagName("head")[0]||document.documentElement,J=document.createElement("script");J.type="text/javascript";if(q.support.scriptEval){J.appendChild(document.createTextNode(L))}else{J.text=L}K.insertBefore(J,K.firstChild);K.removeChild(J)}},nodeName:function(K,J){return K.nodeName&&K.nodeName.toUpperCase()==J.toUpperCase()},each:function(L,P,K){var J,M=0,N=L.length;if(K){if(N===h){for(J in L){if(P.apply(L[J],K)===false){break}}}else{for(;M<N;){if(P.apply(L[M++],K)===false){break}}}}else{if(N===h){for(J in L){if(P.call(L[J],J,L[J])===false){break}}}else{for(var O=L[0];M<N&&P.call(O,M,O)!==false;O=L[++M]){}}}return L},prop:function(M,N,L,K,J){if(q.isFunction(N)){N=N.call(M,K)}return typeof N==="number"&&L=="curCSS"&&!b.test(J)?N+"px":N},className:{add:function(J,K){q.each((K||"").split(/\s+/),function(L,M){if(J.nodeType==1&&!q.className.has(J.className,M)){J.className+=(J.className?" ":"")+M}})},remove:function(J,K){if(J.nodeType==1){J.className=K!==h?q.grep(J.className.split(/\s+/),function(L){return !q.className.has(K,L)}).join(" "):""}},has:function(K,J){return K&&q.inArray(J,(K.className||K).toString().split(/\s+/))>-1}},swap:function(M,L,N){var J={};for(var K in L){J[K]=M.style[K];M.style[K]=L[K]}N.call(M);for(var K in L){M.style[K]=J[K]}},css:function(L,J,N){if(J=="width"||J=="height"){var P,K={position:"absolute",visibility:"hidden",display:"block"},O=J=="width"?["Left","Right"]:["Top","Bottom"];function M(){P=J=="width"?L.offsetWidth:L.offsetHeight;var R=0,Q=0;q.each(O,function(){R+=parseFloat(q.curCSS(L,"padding"+this,true))||0;Q+=parseFloat(q.curCSS(L,"border"+this+"Width",true))||0});P-=Math.round(R+Q)}if(q(L).is(":visible")){M()}else{q.swap(L,K,M)}return Math.max(0,P)}return q.curCSS(L,J,N)},curCSS:function(N,K,L){var Q,J=N.style;if(K=="opacity"&&!q.support.opacity){Q=q.attr(J,"opacity");return Q==""?"1":Q}if(K.match(/float/i)){K=B}if(!L&&J&&J[K]){Q=J[K]}else{if(s.getComputedStyle){if(K.match(/float/i)){K="float"}K=K.replace(/([A-Z])/g,"-$1").toLowerCase();var R=s.getComputedStyle(N,null);if(R){Q=R.getPropertyValue(K)}if(K=="opacity"&&Q==""){Q="1"}}else{if(N.currentStyle){var O=K.replace(/\-(\w)/g,function(S,T){return T.toUpperCase()});Q=N.currentStyle[K]||N.currentStyle[O];if(!/^\d+(px)?$/i.test(Q)&&/^\d/.test(Q)){var M=J.left,P=N.runtimeStyle.left;N.runtimeStyle.left=N.currentStyle.left;J.left=Q||0;Q=J.pixelLeft+"px";J.left=M;N.runtimeStyle.left=P}}}}return Q},clean:function(K,P,N){P=P||document;if(typeof P.createElement==="undefined"){P=P.ownerDocument||P[0]&&P[0].ownerDocument||document}if(!N&&K.length===1&&typeof K[0]==="string"){var M=/^<(\w+)\s*\/?>$/.exec(K[0]);if(M){return[P.createElement(M[1])]}}var L=[],J=[],Q=P.createElement("div");q.each(K,function(U,W){if(typeof W==="number"){W+=""}if(!W){return}if(typeof W==="string"){W=W.replace(/(<(\w+)[^>]*?)\/>/g,function(Y,Z,X){return X.match(/^(abbr|br|col|img|input|link|meta|param|hr|area|embed)$/i)?Y:Z+"></"+X+">"});var T=q.trim(W).toLowerCase();var V=!T.indexOf("<opt")&&[1,"<select multiple='multiple'>","</select>"]||!T.indexOf("<leg")&&[1,"<fieldset>","</fieldset>"]||T.match(/^<(thead|tbody|tfoot|colg|cap)/)&&[1,"<table>","</table>"]||!T.indexOf("<tr")&&[2,"<table><tbody>","</tbody></table>"]||(!T.indexOf("<td")||!T.indexOf("<th"))&&[3,"<table><tbody><tr>","</tr></tbody></table>"]||!T.indexOf("<col")&&[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"]||!q.support.htmlSerialize&&[1,"div<div>","</div>"]||[0,"",""];Q.innerHTML=V[1]+W+V[2];while(V[0]--){Q=Q.lastChild}if(!q.support.tbody){var S=!T.indexOf("<table")&&T.indexOf("<tbody")<0?Q.firstChild&&Q.firstChild.childNodes:V[1]=="<table>"&&T.indexOf("<tbody")<0?Q.childNodes:[];for(var R=S.length-1;R>=0;--R){if(q.nodeName(S[R],"tbody")&&!S[R].childNodes.length){S[R].parentNode.removeChild(S[R])}}}if(!q.support.leadingWhitespace&&/^\s/.test(W)){Q.insertBefore(P.createTextNode(W.match(/^\s*/)[0]),Q.firstChild)}W=q.makeArray(Q.childNodes)}if(W.nodeType){L.push(W)}else{L=q.merge(L,W)}});if(N){for(var O=0;L[O];O++){if(q.nodeName(L[O],"script")&&(!L[O].type||L[O].type.toLowerCase()==="text/javascript")){J.push(L[O].parentNode?L[O].parentNode.removeChild(L[O]):L[O])}else{if(L[O].nodeType===1){L.splice.apply(L,[O+1,0].concat(q.makeArray(L[O].getElementsByTagName("script"))))}N.appendChild(L[O])}}return J}return L},attr:function(O,L,P){if(!O||O.nodeType==3||O.nodeType==8){return h}var M=!q.isXMLDoc(O),Q=P!==h;L=M&&q.props[L]||L;if(O.tagName){var K=/href|src|style/.test(L);if(L=="selected"&&O.parentNode){O.parentNode.selectedIndex}if(L in O&&M&&!K){if(Q){if(L=="type"&&q.nodeName(O,"input")&&O.parentNode){throw"type property can't be changed"}O[L]=P}if(q.nodeName(O,"form")&&O.getAttributeNode(L)){return O.getAttributeNode(L).nodeValue}if(L=="tabIndex"){var N=O.getAttributeNode("tabIndex");return N&&N.specified?N.value:O.nodeName.match(/(button|input|object|select|textarea)/i)?0:O.nodeName.match(/^(a|area)$/i)&&O.href?0:h}return O[L]}if(!q.support.style&&M&&L=="style"){return q.attr(O.style,"cssText",P)}if(Q){O.setAttribute(L,""+P)}var J=!q.support.hrefNormalized&&M&&K?O.getAttribute(L,2):O.getAttribute(L);return J===null?h:J}if(!q.support.opacity&&L=="opacity"){if(Q){O.zoom=1;O.filter=(O.filter||"").replace(/alpha\([^)]*\)/,"")+(parseInt(P)+""=="NaN"?"":"alpha(opacity="+P*100+")")}return O.filter&&O.filter.indexOf("opacity=")>=0?(parseFloat(O.filter.match(/opacity=([^)]*)/)[1])/100)+"":""}L=L.replace(/-([a-z])/ig,function(R,S){return S.toUpperCase()});if(Q){O[L]=P}return O[L]},trim:function(J){return(J||"").replace(/^\s+|\s+$/g,"")},makeArray:function(L){var J=[];if(L!=null){var K=L.length;if(K==null||typeof L==="string"||q.isFunction(L)||L.setInterval){J[0]=L}else{while(K){J[--K]=L[K]}}}return J},inArray:function(L,M){for(var J=0,K=M.length;J<K;J++){if(M[J]===L){return J}}return -1},merge:function(M,J){var K=0,L,N=M.length;if(!q.support.getAll){while((L=J[K++])!=null){if(L.nodeType!=8){M[N++]=L}}}else{while((L=J[K++])!=null){M[N++]=L}}return M},unique:function(P){var K=[],J={};try{for(var L=0,M=P.length;L<M;L++){var O=q.data(P[L]);if(!J[O]){J[O]=true;K.push(P[L])}}}catch(N){K=P}return K},grep:function(K,O,J){var L=[];for(var M=0,N=K.length;M<N;M++){if(!J!=!O(K[M],M)){L.push(K[M])}}return L},map:function(J,O){var K=[];for(var L=0,M=J.length;L<M;L++){var N=O(J[L],L);if(N!=null){K[K.length]=N}}return K.concat.apply([],K)}});var H=navigator.userAgent.toLowerCase();q.browser={version:(H.match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||[0,"0"])[1],safari:/webkit/.test(H),opera:/opera/.test(H),msie:/msie/.test(H)&&!/opera/.test(H),mozilla:/mozilla/.test(H)&&!/(compatible|webkit)/.test(H)};q.each({parent:function(J){return J.parentNode},parents:function(J){return q.dir(J,"parentNode")},next:function(J){return q.nth(J,2,"nextSibling")},prev:function(J){return q.nth(J,2,"previousSibling")},nextAll:function(J){return q.dir(J,"nextSibling")},prevAll:function(J){return q.dir(J,"previousSibling")},siblings:function(J){return q.sibling(J.parentNode.firstChild,J)},children:function(J){return q.sibling(J.firstChild)},contents:function(J){return q.nodeName(J,"iframe")?J.contentDocument||J.contentWindow.document:q.makeArray(J.childNodes)}},function(J,K){q.fn[J]=function(L){var M=q.map(this,K);if(L&&typeof L=="string"){M=q.multiFilter(L,M)}return this.pushStack(q.unique(M),J,L)}});q.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(J,K){q.fn[J]=function(){var L=arguments;return this.each(function(){for(var M=0,N=L.length;M<N;M++){q(L[M])[K](this)}})}});q.each({removeAttr:function(J){q.attr(this,J,"");if(this.nodeType==1){this.removeAttribute(J)}},addClass:function(J){q.className.add(this,J)},removeClass:function(J){q.className.remove(this,J)},toggleClass:function(K,J){if(typeof J!=="boolean"){J=!q.className.has(this,K)}q.className[J?"add":"remove"](this,K)},remove:function(J){if(!J||q.filter(J,[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(J,K){q.fn[J]=function(){return this.each(K,arguments)}});function l(J,K){return J[0]&&parseInt(q.curCSS(J[0],K,true),10)||0}var j="jQuery"+e(),A=0,F={};q.extend({cache:{},data:function(K,J,L){K=K==n?F:K;var M=K[j];if(!M){M=K[j]=++A}if(J&&!q.cache[M]){q.cache[M]={}}if(L!==h){q.cache[M][J]=L}return J?q.cache[M][J]:M},removeData:function(K,J){K=K==n?F:K;var M=K[j];if(J){if(q.cache[M]){delete q.cache[M][J];J="";for(J in q.cache[M]){break}if(!J){q.removeData(K)}}}else{try{delete K[j]}catch(L){if(K.removeAttribute){K.removeAttribute(j)}}delete q.cache[M]}},queue:function(K,J,M){if(K){J=(J||"fx")+"queue";var L=q.data(K,J);if(!L||q.isArray(M)){L=q.data(K,J,q.makeArray(M))}else{if(M){L.push(M)}}}return L},dequeue:function(M,L){var J=q.queue(M,L),K=J.shift();if(!L||L==="fx"){K=J[0]}if(K!==h){K.call(M)}}});q.fn.extend({data:function(J,L){var M=J.split(".");M[1]=M[1]?"."+M[1]:"";if(L===h){var K=this.triggerHandler("getData"+M[1]+"!",[M[0]]);if(K===h&&this.length){K=q.data(this[0],J)}return K===h&&M[1]?this.data(M[0]):K}else{return this.trigger("setData"+M[1]+"!",[M[0],L]).each(function(){q.data(this,J,L)})}},removeData:function(J){return this.each(function(){q.removeData(this,J)})},queue:function(J,K){if(typeof J!=="string"){K=J;J="fx"}if(K===h){return q.queue(this[0],J)}return this.each(function(){var L=q.queue(this,J,K);if(J=="fx"&&L.length==1){L[0].call(this)}})},dequeue:function(J){return this.each(function(){q.dequeue(this,J)})}});
/*
 * 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 V=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]+['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[]+)+|[>+~])(\s*,\s*)?/g,P=0,L=Object.prototype.toString;var K=function(ac,Y,af,ag){af=af||[];Y=Y||document;if(Y.nodeType!==1&&Y.nodeType!==9){return[]}if(!ac||typeof ac!=="string"){return af}var ad=[],aa,aj,am,X,ah,Z,ab=true;V.lastIndex=0;while((aa=V.exec(ac))!==null){ad.push(aa[1]);if(aa[2]){Z=RegExp.rightContext;break}}if(ad.length>1&&Q.exec(ac)){if(ad.length===2&&M.relative[ad[0]]){aj=N(ad[0]+ad[1],Y)}else{aj=M.relative[ad[0]]?[Y]:K(ad.shift(),Y);while(ad.length){ac=ad.shift();if(M.relative[ac]){ac+=ad.shift()}aj=N(ac,aj)}}}else{var ai=ag?{expr:ad.pop(),set:J(ag)}:K.find(ad.pop(),ad.length===1&&Y.parentNode?Y.parentNode:Y,U(Y));aj=K.filter(ai.expr,ai.set);if(ad.length>0){am=J(aj)}else{ab=false}while(ad.length){var al=ad.pop(),ak=al;if(!M.relative[al]){al=""}else{ak=ad.pop()}if(ak==null){ak=Y}M.relative[al](am,ak,U(Y))}}if(!am){am=aj}if(!am){throw"Syntax error, unrecognized expression: "+(al||ac)}if(L.call(am)==="[object Array]"){if(!ab){af.push.apply(af,am)}else{if(Y.nodeType===1){for(var ae=0;am[ae]!=null;ae++){if(am[ae]&&(am[ae]===true||am[ae].nodeType===1&&O(Y,am[ae]))){af.push(aj[ae])}}}else{for(var ae=0;am[ae]!=null;ae++){if(am[ae]&&am[ae].nodeType===1){af.push(aj[ae])}}}}}else{J(am,af)}if(Z){K(Z,Y,af,ag)}return af};K.matches=function(X,Y){return K(X,null,null,Y)};K.find=function(ae,X,af){var ad,ab;if(!ae){return[]}for(var aa=0,Z=M.order.length;aa<Z;aa++){var ac=M.order[aa],ab;if((ab=M.match[ac].exec(ae))){var Y=RegExp.leftContext;if(Y.substr(Y.length-1)!=="\\"){ab[1]=(ab[1]||"").replace(/\\/g,"");ad=M.find[ac](ab,X,af);if(ad!=null){ae=ae.replace(M.match[ac],"");break}}}}if(!ad){ad=X.getElementsByTagName("*")}return{set:ad,expr:ae}};K.filter=function(ag,af,aj,aa){var Z=ag,al=[],ad=af,ac,X;while(ag&&af.length){for(var ae in M.filter){if((ac=M.match[ae].exec(ag))!=null){var Y=M.filter[ae],ak,ai;X=false;if(ad==al){al=[]}if(M.preFilter[ae]){ac=M.preFilter[ae](ac,ad,aj,al,aa);if(!ac){X=ak=true}else{if(ac===true){continue}}}if(ac){for(var ab=0;(ai=ad[ab])!=null;ab++){if(ai){ak=Y(ai,ac,ab,ad);var ah=aa^!!ak;if(aj&&ak!=null){if(ah){X=true}else{ad[ab]=false}}else{if(ah){al.push(ai);X=true}}}}}if(ak!==h){if(!aj){ad=al}ag=ag.replace(M.match[ae],"");if(!X){return[]}break}}}ag=ag.replace(/\s*,\s*/,"");if(ag==Z){if(X==null){throw"Syntax error, unrecognized expression: "+ag}else{break}}Z=ag}return ad};var M=K.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(X){return X.getAttribute("href")}},relative:{"+":function(ab,Y){for(var Z=0,X=ab.length;Z<X;Z++){var aa=ab[Z];if(aa){var ac=aa.previousSibling;while(ac&&ac.nodeType!==1){ac=ac.previousSibling}ab[Z]=typeof Y==="string"?ac||false:ac===Y}}if(typeof Y==="string"){K.filter(Y,ab,true)}},">":function(ac,Y,ad){if(typeof Y==="string"&&!/\W/.test(Y)){Y=ad?Y:Y.toUpperCase();for(var Z=0,X=ac.length;Z<X;Z++){var ab=ac[Z];if(ab){var aa=ab.parentNode;ac[Z]=aa.nodeName===Y?aa:false}}}else{for(var Z=0,X=ac.length;Z<X;Z++){var ab=ac[Z];if(ab){ac[Z]=typeof Y==="string"?ab.parentNode:ab.parentNode===Y}}if(typeof Y==="string"){K.filter(Y,ac,true)}}},"":function(aa,Y,ac){var Z="done"+(P++),X=W;if(!Y.match(/\W/)){var ab=Y=ac?Y:Y.toUpperCase();X=T}X("parentNode",Y,Z,aa,ab,ac)},"~":function(aa,Y,ac){var Z="done"+(P++),X=W;if(typeof Y==="string"&&!Y.match(/\W/)){var ab=Y=ac?Y:Y.toUpperCase();X=T}X("previousSibling",Y,Z,aa,ab,ac)}},find:{ID:function(Y,Z,aa){if(typeof Z.getElementById!=="undefined"&&!aa){var X=Z.getElementById(Y[1]);return X?[X]:[]}},NAME:function(X,Y,Z){if(typeof Y.getElementsByName!=="undefined"&&!Z){return Y.getElementsByName(X[1])}},TAG:function(X,Y){return Y.getElementsByTagName(X[1])}},preFilter:{CLASS:function(aa,Y,Z,X,ad){aa=" "+aa[1].replace(/\\/g,"")+" ";var ac;for(var ab=0;(ac=Y[ab])!=null;ab++){if(ac){if(ad^(" "+ac.className+" ").indexOf(aa)>=0){if(!Z){X.push(ac)}}else{if(Z){Y[ab]=false}}}}return false},ID:function(X){return X[1].replace(/\\/g,"")},TAG:function(Y,X){for(var Z=0;X[Z]===false;Z++){}return X[Z]&&U(X[Z])?Y[1]:Y[1].toUpperCase()},CHILD:function(X){if(X[1]=="nth"){var Y=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(X[2]=="even"&&"2n"||X[2]=="odd"&&"2n+1"||!/\D/.test(X[2])&&"0n+"+X[2]||X[2]);X[2]=(Y[1]+(Y[2]||1))-0;X[3]=Y[3]-0}X[0]="done"+(P++);return X},ATTR:function(Y){var X=Y[1].replace(/\\/g,"");if(M.attrMap[X]){Y[1]=M.attrMap[X]}if(Y[2]==="~="){Y[4]=" "+Y[4]+" "}return Y},PSEUDO:function(ab,Y,Z,X,ac){if(ab[1]==="not"){if(ab[3].match(V).length>1){ab[3]=K(ab[3],null,null,Y)}else{var aa=K.filter(ab[3],Y,Z,true^ac);if(!Z){X.push.apply(X,aa)}return false}}else{if(M.match.POS.test(ab[0])){return true}}return ab},POS:function(X){X.unshift(true);return X}},filters:{enabled:function(X){return X.disabled===false&&X.type!=="hidden"},disabled:function(X){return X.disabled===true},checked:function(X){return X.checked===true},selected:function(X){X.parentNode.selectedIndex;return X.selected===true},parent:function(X){return !!X.firstChild},empty:function(X){return !X.firstChild},has:function(Z,Y,X){return !!K(X[3],Z).length},header:function(X){return/h\d/i.test(X.nodeName)},text:function(X){return"text"===X.type},radio:function(X){return"radio"===X.type},checkbox:function(X){return"checkbox"===X.type},file:function(X){return"file"===X.type},password:function(X){return"password"===X.type},submit:function(X){return"submit"===X.type},image:function(X){return"image"===X.type},reset:function(X){return"reset"===X.type},button:function(X){return"button"===X.type||X.nodeName.toUpperCase()==="BUTTON"},input:function(X){return/input|select|textarea|button/i.test(X.nodeName)}},setFilters:{first:function(Y,X){return X===0},last:function(Z,Y,X,aa){return Y===aa.length-1},even:function(Y,X){return X%2===0},odd:function(Y,X){return X%2===1},lt:function(Z,Y,X){return Y<X[3]-0},gt:function(Z,Y,X){return Y>X[3]-0},nth:function(Z,Y,X){return X[3]-0==Y},eq:function(Z,Y,X){return X[3]-0==Y}},filter:{CHILD:function(X,aa){var ad=aa[1],ae=X.parentNode;var ac=aa[0];if(ae&&(!ae[ac]||!X.nodeIndex)){var ab=1;for(var Y=ae.firstChild;Y;Y=Y.nextSibling){if(Y.nodeType==1){Y.nodeIndex=ab++}}ae[ac]=ab-1}if(ad=="first"){return X.nodeIndex==1}else{if(ad=="last"){return X.nodeIndex==ae[ac]}else{if(ad=="only"){return ae[ac]==1}else{if(ad=="nth"){var ag=false,Z=aa[2],af=aa[3];if(Z==1&&af==0){return true}if(Z==0){if(X.nodeIndex==af){ag=true}}else{if((X.nodeIndex-af)%Z==0&&(X.nodeIndex-af)/Z>=0){ag=true}}return ag}}}}},PSEUDO:function(ad,Z,aa,ae){var Y=Z[1],ab=M.filters[Y];if(ab){return ab(ad,aa,Z,ae)}else{if(Y==="contains"){return(ad.textContent||ad.innerText||"").indexOf(Z[3])>=0}else{if(Y==="not"){var ac=Z[3];for(var aa=0,X=ac.length;aa<X;aa++){if(ac[aa]===ad){return false}}return true}}}},ID:function(Y,X){return Y.nodeType===1&&Y.getAttribute("id")===X},TAG:function(Y,X){return(X==="*"&&Y.nodeType===1)||Y.nodeName===X},CLASS:function(Y,X){return X.test(Y.className)},ATTR:function(ab,Z){var X=M.attrHandle[Z[1]]?M.attrHandle[Z[1]](ab):ab[Z[1]]||ab.getAttribute(Z[1]),ac=X+"",aa=Z[2],Y=Z[4];return X==null?aa==="!=":aa==="="?ac===Y:aa==="*="?ac.indexOf(Y)>=0:aa==="~="?(" "+ac+" ").indexOf(Y)>=0:!Z[4]?X:aa==="!="?ac!=Y:aa==="^="?ac.indexOf(Y)===0:aa==="$="?ac.substr(ac.length-Y.length)===Y:aa==="|="?ac===Y||ac.substr(0,Y.length+1)===Y+"-":false},POS:function(ab,Y,Z,ac){var X=Y[2],aa=M.setFilters[X];if(aa){return aa(ab,Z,Y,ac)}}}};var Q=M.match.POS;for(var S in M.match){M.match[S]=RegExp(M.match[S].source+/(?![^\[]*\])(?![^\(]*\))/.source)}var J=function(Y,X){Y=Array.prototype.slice.call(Y);if(X){X.push.apply(X,Y);return X}return Y};try{Array.prototype.slice.call(document.documentElement.childNodes)}catch(R){J=function(ab,aa){var Y=aa||[];if(L.call(ab)==="[object Array]"){Array.prototype.push.apply(Y,ab)}else{if(typeof ab.length==="number"){for(var Z=0,X=ab.length;Z<X;Z++){Y.push(ab[Z])}}else{for(var Z=0;ab[Z];Z++){Y.push(ab[Z])}}}return Y}}(function(){var Y=document.createElement("form"),Z="script"+(new Date).getTime();Y.innerHTML="<input name='"+Z+"'/>";var X=document.documentElement;X.insertBefore(Y,X.firstChild);if(!!document.getElementById(Z)){M.find.ID=function(ab,ac,ad){if(typeof ac.getElementById!=="undefined"&&!ad){var aa=ac.getElementById(ab[1]);return aa?aa.id===ab[1]||typeof aa.getAttributeNode!=="undefined"&&aa.getAttributeNode("id").nodeValue===ab[1]?[aa]:h:[]}};M.filter.ID=function(ac,aa){var ab=typeof ac.getAttributeNode!=="undefined"&&ac.getAttributeNode("id");return ac.nodeType===1&&ab&&ab.nodeValue===aa}}X.removeChild(Y)})();(function(){var X=document.createElement("div");X.appendChild(document.createComment(""));if(X.getElementsByTagName("*").length>0){M.find.TAG=function(Y,ac){var ab=ac.getElementsByTagName(Y[1]);if(Y[1]==="*"){var aa=[];for(var Z=0;ab[Z];Z++){if(ab[Z].nodeType===1){aa.push(ab[Z])}}ab=aa}return ab}}X.innerHTML="<a href='#'></a>";if(X.firstChild&&X.firstChild.getAttribute("href")!=="#"){M.attrHandle.href=function(Y){return Y.getAttribute("href",2)}}})();if(document.querySelectorAll){(function(){var X=K,Y=document.createElement("div");Y.innerHTML="<p class='TEST'></p>";if(Y.querySelectorAll&&Y.querySelectorAll(".TEST").length===0){return}K=function(ac,ab,Z,aa){ab=ab||document;if(!aa&&ab.nodeType===9&&!U(ab)){try{return J(ab.querySelectorAll(ac),Z)}catch(ad){}}return X(ac,ab,Z,aa)};K.find=X.find;K.filter=X.filter;K.selectors=X.selectors;K.matches=X.matches})()}if(document.getElementsByClassName&&document.documentElement.getElementsByClassName){M.order.splice(1,0,"CLASS");M.find.CLASS=function(X,Y){return Y.getElementsByClassName(X[1])}}function T(Y,ae,ad,ah,af,ag){for(var ab=0,Z=ah.length;ab<Z;ab++){var X=ah[ab];if(X){X=X[Y];var ac=false;while(X&&X.nodeType){var aa=X[ad];if(aa){ac=ah[aa];break}if(X.nodeType===1&&!ag){X[ad]=ab}if(X.nodeName===ae){ac=X;break}X=X[Y]}ah[ab]=ac}}}function W(Y,ad,ac,ag,ae,af){for(var aa=0,Z=ag.length;aa<Z;aa++){var X=ag[aa];if(X){X=X[Y];var ab=false;while(X&&X.nodeType){if(X[ac]){ab=ag[X[ac]];break}if(X.nodeType===1){if(!af){X[ac]=aa}if(typeof ad!=="string"){if(X===ad){ab=true;break}}else{if(K.filter(ad,[X]).length>0){ab=X;break}}}X=X[Y]}ag[aa]=ab}}}var O=document.compareDocumentPosition?function(Y,X){return Y.compareDocumentPosition(X)&16}:function(Y,X){return Y!==X&&(Y.contains?Y.contains(X):true)};var U=function(X){return X.nodeType===9&&X.documentElement.nodeName!=="HTML"||!!X.ownerDocument&&U(X.ownerDocument)};var N=function(X,ae){var aa=[],ab="",ac,Z=ae.nodeType?[ae]:ae;while((ac=M.match.PSEUDO.exec(X))){ab+=ac[0];X=X.replace(M.match.PSEUDO,"")}X=M.relative[X]?X+"*":X;for(var ad=0,Y=Z.length;ad<Y;ad++){K(X,Z[ad],aa)}return K.filter(ab,aa)};q.find=K;q.filter=K.filter;q.expr=K.selectors;q.expr[":"]=q.expr.filters;K.selectors.filters.hidden=function(X){return"hidden"===X.type||q.css(X,"display")==="none"||q.css(X,"visibility")==="hidden"};K.selectors.filters.visible=function(X){return"hidden"!==X.type&&q.css(X,"display")!=="none"&&q.css(X,"visibility")!=="hidden"};K.selectors.filters.animated=function(X){return q.grep(q.timers,function(Y){return X===Y.elem}).length};q.multiFilter=function(Z,X,Y){if(Y){Z=":not("+Z+")"}return K.matches(Z,X)};q.dir=function(Z,Y){var X=[],aa=Z[Y];while(aa&&aa!=document){if(aa.nodeType==1){X.push(aa)}aa=aa[Y]}return X};q.nth=function(ab,X,Z,aa){X=X||1;var Y=0;for(;ab;ab=ab[Z]){if(ab.nodeType==1&&++Y==X){break}}return ab};q.sibling=function(Z,Y){var X=[];for(;Z;Z=Z.nextSibling){if(Z.nodeType==1&&Z!=Y){X.push(Z)}}return X};return;n.Sizzle=K})();q.event={add:function(N,K,M,P){if(N.nodeType==3||N.nodeType==8){return}if(N.setInterval&&N!=n){N=n}if(!M.guid){M.guid=this.guid++}if(P!==h){var L=M;M=this.proxy(L);M.data=P}var J=q.data(N,"events")||q.data(N,"events",{}),O=q.data(N,"handle")||q.data(N,"handle",function(){return typeof q!=="undefined"&&!q.event.triggered?q.event.handle.apply(arguments.callee.elem,arguments):h});O.elem=N;q.each(K.split(/\s+/),function(R,S){var T=S.split(".");S=T.shift();M.type=T.slice().sort().join(".");var Q=J[S];if(q.event.specialAll[S]){q.event.specialAll[S].setup.call(N,P,T)}if(!Q){Q=J[S]={};if(!q.event.special[S]||q.event.special[S].setup.call(N,P,T)===false){if(N.addEventListener){N.addEventListener(S,O,false)}else{if(N.attachEvent){N.attachEvent("on"+S,O)}}}}Q[M.guid]=M;q.event.global[S]=true});N=null},guid:1,global:{},remove:function(P,M,O){if(P.nodeType==3||P.nodeType==8){return}var L=q.data(P,"events"),K,J;if(L){if(M===h||(typeof M==="string"&&M.charAt(0)==".")){for(var N in L){this.remove(P,N+(M||""))}}else{if(M.type){O=M.handler;M=M.type}q.each(M.split(/\s+/),function(R,T){var V=T.split(".");T=V.shift();var S=RegExp("(^|\\.)"+V.slice().sort().join(".*\\.")+"(\\.|$)");if(L[T]){if(O){delete L[T][O.guid]}else{for(var U in L[T]){if(S.test(L[T][U].type)){delete L[T][U]}}}if(q.event.specialAll[T]){q.event.specialAll[T].teardown.call(P,V)}for(K in L[T]){break}if(!K){if(!q.event.special[T]||q.event.special[T].teardown.call(P,V)===false){if(P.removeEventListener){P.removeEventListener(T,q.data(P,"handle"),false)}else{if(P.detachEvent){P.detachEvent("on"+T,q.data(P,"handle"))}}}K=null;delete L[T]}}})}for(K in L){break}if(!K){var Q=q.data(P,"handle");if(Q){Q.elem=null}q.removeData(P,"events");q.removeData(P,"handle")}}},trigger:function(N,P,M,J){var L=N.type||N;if(!J){N=typeof N==="object"?N[j]?N:q.extend(q.Event(L),N):q.Event(L);if(L.indexOf("!")>=0){N.type=L=L.slice(0,-1);N.exclusive=true}if(!M){N.stopPropagation();if(this.global[L]){q.each(q.cache,function(){if(this.events&&this.events[L]){q.event.trigger(N,P,this.handle.elem)}})}}if(!M||M.nodeType==3||M.nodeType==8){return h}N.result=h;N.target=M;P=q.makeArray(P);P.unshift(N)}N.currentTarget=M;var O=q.data(M,"handle");if(O){O.apply(M,P)}if((!M[L]||(q.nodeName(M,"a")&&L=="click"))&&M["on"+L]&&M["on"+L].apply(M,P)===false){N.result=false}if(!J&&M[L]&&!N.isDefaultPrevented()&&!(q.nodeName(M,"a")&&L=="click")){this.triggered=true;try{M[L]()}catch(Q){}}this.triggered=false;if(!N.isPropagationStopped()){var K=M.parentNode||M.ownerDocument;if(K){q.event.trigger(N,P,K,true)}}},handle:function(P){var O,J;P=arguments[0]=q.event.fix(P||n.event);var Q=P.type.split(".");P.type=Q.shift();O=!Q.length&&!P.exclusive;var N=RegExp("(^|\\.)"+Q.slice().sort().join(".*\\.")+"(\\.|$)");J=(q.data(this,"events")||{})[P.type];for(var L in J){var M=J[L];if(O||N.test(M.type)){P.handler=M;P.data=M.data;var K=M.apply(this,arguments);if(K!==h){P.result=K;if(K===false){P.preventDefault();P.stopPropagation()}}if(P.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(M){if(M[j]){return M}var K=M;M=q.Event(K);for(var L=this.props.length,O;L;){O=this.props[--L];M[O]=K[O]}if(!M.target){M.target=M.srcElement||document}if(M.target.nodeType==3){M.target=M.target.parentNode}if(!M.relatedTarget&&M.fromElement){M.relatedTarget=M.fromElement==M.target?M.toElement:M.fromElement}if(M.pageX==null&&M.clientX!=null){var N=document.documentElement,J=document.body;M.pageX=M.clientX+(N&&N.scrollLeft||J&&J.scrollLeft||0)-(N.clientLeft||0);M.pageY=M.clientY+(N&&N.scrollTop||J&&J.scrollTop||0)-(N.clientTop||0)}if(!M.which&&((M.charCode||M.charCode===0)?M.charCode:M.keyCode)){M.which=M.charCode||M.keyCode}if(!M.metaKey&&M.ctrlKey){M.metaKey=M.ctrlKey}if(!M.which&&M.button){M.which=(M.button&1?1:(M.button&2?3:(M.button&4?2:0)))}return M},proxy:function(K,J){J=J||function(){return K.apply(this,arguments)};J.guid=K.guid=K.guid||J.guid||this.guid++;return J},special:{ready:{setup:G,teardown:function(){}}},specialAll:{live:{setup:function(J,K){q.event.add(this,K[0],c)},teardown:function(L){if(L.length){var J=0,K=RegExp("(^|\\.)"+L[0]+"(\\.|$)");q.each((q.data(this,"events").live||{}),function(){if(K.test(this.type)){J++}});if(J<1){q.event.remove(this,L[0],c)}}}}}};q.Event=function(J){if(!this.preventDefault){return new q.Event(J)}if(J&&J.type){this.originalEvent=J;this.type=J.type}else{this.type=J}this.timeStamp=e();this[j]=true};function m(){return false}function z(){return true}q.Event.prototype={preventDefault:function(){this.isDefaultPrevented=z;var J=this.originalEvent;if(!J){return}if(J.preventDefault){J.preventDefault()}J.returnValue=false},stopPropagation:function(){this.isPropagationStopped=z;var J=this.originalEvent;if(!J){return}if(J.stopPropagation){J.stopPropagation()}J.cancelBubble=true},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=z;this.stopPropagation()},isDefaultPrevented:m,isPropagationStopped:m,isImmediatePropagationStopped:m};var a=function(K){var J=K.relatedTarget;while(J&&J!=this){try{J=J.parentNode}catch(L){J=this}}if(J!=this){K.type=K.data;q.event.handle.apply(this,arguments)}};q.each({mouseover:"mouseenter",mouseout:"mouseleave"},function(K,J){q.event.special[J]={setup:function(){q.event.add(this,K,a,J)},teardown:function(){q.event.remove(this,K,a)}}});q.fn.extend({bind:function(K,L,J){return K=="unload"?this.one(K,L,J):this.each(function(){q.event.add(this,K,J||L,J&&L)})},one:function(L,M,K){var J=q.event.proxy(K||M,function(N){q(this).unbind(N,J);return(K||M).apply(this,arguments)});return this.each(function(){q.event.add(this,L,J,K&&M)})},unbind:function(K,J){return this.each(function(){q.event.remove(this,K,J)})},trigger:function(J,K){return this.each(function(){q.event.trigger(J,K,this)})},triggerHandler:function(J,L){if(this[0]){var K=q.Event(J);K.preventDefault();K.stopPropagation();q.event.trigger(K,L,this[0]);return K.result}},toggle:function(L){var J=arguments,K=1;while(K<J.length){q.event.proxy(L,J[K++])}return this.click(q.event.proxy(L,function(M){this.lastToggle=(this.lastToggle||0)%K;M.preventDefault();return J[this.lastToggle++].apply(this,arguments)||false}))},hover:function(J,K){return this.mouseenter(J).mouseleave(K)},ready:function(J){G();if(q.isReady){J.call(document,q)}else{q.readyList.push(J)}return this},live:function(L,K){var J=q.event.proxy(K);J.guid+=this.selector+L;q(document).bind(k(L,this.selector),this.selector,J);return this},die:function(K,J){q(document).unbind(k(K,this.selector),J?{guid:J.guid+this.selector+K}:null);return this}});function c(M){var J=RegExp("(^|\\.)"+M.type+"(\\.|$)"),L=true,K=[];q.each(q.data(this,"events").live||[],function(N,O){if(J.test(O.type)){var P=q(M.target).closest(O.data)[0];if(P){K.push({elem:P,fn:O})}}});q.each(K,function(){if(this.fn.call(this.elem,M,this.fn.data)===false){L=false}});return L}function k(K,J){return["live",K,J.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 C=false;function G(){if(C){return}C=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 n.frameElement==="undefined"){(function(){if(q.isReady){return}try{document.documentElement.doScroll("left")}catch(J){setTimeout(arguments.callee,0);return}q.ready()})()}}}q.event.add(n,"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(K,J){q.fn[J]=function(L){return L?this.bind(J,L):this.trigger(J)}});q(n).bind("unload",function(){for(var J in q.cache){if(J!=1&&q.cache[J].handle){q.event.remove(q.cache[J].handle.elem)}}});(function(){q.support={};var K=document.documentElement,L=document.createElement("script"),P=document.createElement("div"),O="script"+(new Date).getTime();P.style.display="none";P.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 M=P.getElementsByTagName("*"),J=P.getElementsByTagName("a")[0];if(!M||!M.length||!J){return}q.support={leadingWhitespace:P.firstChild.nodeType==3,tbody:!P.getElementsByTagName("tbody").length,objectAll:!!P.getElementsByTagName("object")[0].getElementsByTagName("*").length,htmlSerialize:!!P.getElementsByTagName("link").length,style:/red/.test(J.getAttribute("style")),hrefNormalized:J.getAttribute("href")==="/a",opacity:J.style.opacity==="0.5",cssFloat:!!J.style.cssFloat,scriptEval:false,noCloneEvent:true,boxModel:null};L.type="text/javascript";try{L.appendChild(document.createTextNode("window."+O+"=1;"))}catch(N){}K.insertBefore(L,K.firstChild);if(n[O]){q.support.scriptEval=true;delete n[O]}K.removeChild(L);if(P.attachEvent&&P.fireEvent){P.attachEvent("onclick",function(){q.support.noCloneEvent=false;P.detachEvent("onclick",arguments.callee)});P.cloneNode(true).fireEvent("onclick")}q(function(){var Q=document.createElement("div");Q.style.width="1px";Q.style.paddingLeft="1px";document.body.appendChild(Q);q.boxModel=q.support.boxModel=Q.offsetWidth===2;document.body.removeChild(Q)})})();var B=q.support.cssFloat?"cssFloat":"styleFloat";q.props={"for":"htmlFor","class":"className","float":B,cssFloat:B,styleFloat:B,readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",tabindex:"tabIndex"};q.fn.extend({_load:q.fn.load,load:function(L,O,P){if(typeof L!=="string"){return this._load(L)}var N=L.indexOf(" ");if(N>=0){var J=L.slice(N,L.length);L=L.slice(0,N)}var M="GET";if(O){if(q.isFunction(O)){P=O;O=null}else{if(typeof O==="object"){O=q.param(O);M="POST"}}}var K=this;q.ajax({url:L,type:M,dataType:"html",data:O,complete:function(R,Q){if(Q=="success"||Q=="notmodified"){K.html(J?q("<div/>").append(R.responseText.replace(/<script(.|\s)*?\/script>/g,"")).find(J):R.responseText)}if(P){K.each(P,[R.responseText,Q,R])}}});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(J,K){var L=q(this).val();return L==null?null:q.isArray(L)?q.map(L,function(N,M){return{name:K.name,value:N}}):{name:K.name,value:L}}).get()}});q.each("ajaxStart,ajaxStop,ajaxComplete,ajaxError,ajaxSuccess,ajaxSend".split(","),function(J,K){q.fn[K]=function(L){return this.bind(K,L)}});var u=e();q.extend({get:function(J,L,M,K){if(q.isFunction(L)){M=L;L=null}return q.ajax({type:"GET",url:J,data:L,success:M,dataType:K})},getScript:function(J,K){return q.get(J,null,K,"script")},getJSON:function(J,K,L){return q.get(J,K,L,"json")},post:function(J,L,M,K){if(q.isFunction(L)){M=L;L={}}return q.ajax({type:"POST",url:J,data:L,success:M,dataType:K})},ajaxSetup:function(J){q.extend(q.ajaxSettings,J)},ajaxSettings:{url:location.href,global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:function(){return n.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(R){R=q.extend(true,R,q.extend(true,{},q.ajaxSettings,R));var ab,K=/=\?(&|$)/g,W,aa,L=R.type.toUpperCase();if(R.data&&R.processData&&typeof R.data!=="string"){R.data=q.param(R.data)}if(R.dataType=="jsonp"){if(L=="GET"){if(!R.url.match(K)){R.url+=(R.url.match(/\?/)?"&":"?")+(R.jsonp||"callback")+"=?"}}else{if(!R.data||!R.data.match(K)){R.data=(R.data?R.data+"&":"")+(R.jsonp||"callback")+"=?"}}R.dataType="json"}if(R.dataType=="json"&&(R.data&&R.data.match(K)||R.url.match(K))){ab="jsonp"+u++;if(R.data){R.data=(R.data+"").replace(K,"="+ab+"$1")}R.url=R.url.replace(K,"="+ab+"$1");R.dataType="script";n[ab]=function(ac){aa=ac;N();Q();n[ab]=h;try{delete n[ab]}catch(ad){}if(M){M.removeChild(Y)}}}if(R.dataType=="script"&&R.cache==null){R.cache=false}if(R.cache===false&&L=="GET"){var J=e();var Z=R.url.replace(/(\?|&)_=.*?(&|$)/,"$1_="+J+"$2");R.url=Z+((Z==R.url)?(R.url.match(/\?/)?"&":"?")+"_="+J:"")}if(R.data&&L=="GET"){R.url+=(R.url.match(/\?/)?"&":"?")+R.data;R.data=null}if(R.global&&!q.active++){q.event.trigger("ajaxStart")}var V=/^(\w+:)?\/\/([^\/?#]+)/.exec(R.url);if(R.dataType=="script"&&L=="GET"&&V&&(V[1]&&V[1]!=location.protocol||V[2]!=location.host)){var M=document.getElementsByTagName("head")[0];var Y=document.createElement("script");Y.src=R.url;if(R.scriptCharset){Y.charset=R.scriptCharset}if(!ab){var T=false;Y.onload=Y.onreadystatechange=function(){if(!T&&(!this.readyState||this.readyState=="loaded"||this.readyState=="complete")){T=true;N();Q();M.removeChild(Y)}}}M.appendChild(Y);return h}var P=false;var O=R.xhr();if(R.username){O.open(L,R.url,R.async,R.username,R.password)}else{O.open(L,R.url,R.async)}try{if(R.data){O.setRequestHeader("Content-Type",R.contentType)}if(R.ifModified){O.setRequestHeader("If-Modified-Since",q.lastModified[R.url]||"Thu, 01 Jan 1970 00:00:00 GMT")}O.setRequestHeader("X-Requested-With","XMLHttpRequest");O.setRequestHeader("Accept",R.dataType&&R.accepts[R.dataType]?R.accepts[R.dataType]+", */*":R.accepts._default)}catch(X){}if(R.beforeSend&&R.beforeSend(O,R)===false){if(R.global&&!--q.active){q.event.trigger("ajaxStop")}O.abort();return false}if(R.global){q.event.trigger("ajaxSend",[O,R])}var S=function(ac){if(O.readyState==0){if(U){clearInterval(U);U=null;if(R.global&&!--q.active){q.event.trigger("ajaxStop")}}}else{if(!P&&O&&(O.readyState==4||ac=="timeout")){P=true;if(U){clearInterval(U);U=null}W=ac=="timeout"?"timeout":!q.httpSuccess(O)?"error":R.ifModified&&q.httpNotModified(O,R.url)?"notmodified":"success";if(W=="success"){try{aa=q.httpData(O,R.dataType,R)}catch(ae){W="parsererror"}}if(W=="success"){var ad;try{ad=O.getResponseHeader("Last-Modified")}catch(ae){}if(R.ifModified&&ad){q.lastModified[R.url]=ad}if(!ab){N()}}else{q.handleError(R,O,W)}Q();if(ac){O.abort()}if(R.async){O=null}}}};if(R.async){var U=setInterval(S,13);if(R.timeout>0){setTimeout(function(){if(O&&!P){S("timeout")}},R.timeout)}}try{O.send(R.data)}catch(X){q.handleError(R,O,null,X)}if(!R.async){S()}function N(){if(R.success){R.success(aa,W)}if(R.global){q.event.trigger("ajaxSuccess",[O,R])}}function Q(){if(R.complete){R.complete(O,W)}if(R.global){q.event.trigger("ajaxComplete",[O,R])}if(R.global&&!--q.active){q.event.trigger("ajaxStop")}}return O},handleError:function(K,M,J,L){if(K.error){K.error(M,J,L)}if(K.global){q.event.trigger("ajaxError",[M,K,L])}},active:0,httpSuccess:function(K){try{return !K.status&&location.protocol=="file:"||(K.status>=200&&K.status<300)||K.status==304||K.status==1223}catch(J){}return false},httpNotModified:function(L,J){try{var M=L.getResponseHeader("Last-Modified");return L.status==304||M==q.lastModified[J]}catch(K){}return false},httpData:function(O,M,L){var K=O.getResponseHeader("content-type"),J=M=="xml"||!M&&K&&K.indexOf("xml")>=0,N=J?O.responseXML:O.responseText;if(J&&N.documentElement.tagName=="parsererror"){throw"parsererror"}if(L&&L.dataFilter){N=L.dataFilter(N,M)}if(typeof N==="string"){if(M=="script"){q.globalEval(N)}if(M=="json"){N=n["eval"]("("+N+")")}}return N},param:function(J){var L=[];function M(N,O){L[L.length]=encodeURIComponent(N)+"="+encodeURIComponent(O)}if(q.isArray(J)||J.jquery){q.each(J,function(){M(this.name,this.value)})}else{for(var K in J){if(q.isArray(J[K])){q.each(J[K],function(){M(K,this)})}else{M(K,q.isFunction(J[K])?J[K]():J[K])}}}return L.join("&").replace(/%20/g,"+")}});var o={},p,d=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];function y(K,J){var L={};q.each(d.concat.apply([],d.slice(0,J)),function(){L[this]=K});return L}q.fn.extend({show:function(O,Q){if(O){return this.animate(y("show",3),O,Q)}else{for(var M=0,K=this.length;M<K;M++){var J=q.data(this[M],"olddisplay");this[M].style.display=J||"";if(q.css(this[M],"display")==="none"){var L=this[M].tagName,P;if(o[L]){P=o[L]}else{var N=q("<"+L+" />").appendTo("body");P=N.css("display");if(P==="none"){P="block"}N.remove();o[L]=P}this[M].style.display=q.data(this[M],"olddisplay",P)}}return this}},hide:function(M,N){if(M){return this.animate(y("hide",3),M,N)}else{for(var L=0,K=this.length;L<K;L++){var J=q.data(this[L],"olddisplay");if(!J&&J!=="none"){q.data(this[L],"olddisplay",q.css(this[L],"display"))}this[L].style.display="none"}return this}},_toggle:q.fn.toggle,toggle:function(L,K){var J=typeof L==="boolean";return q.isFunction(L)&&q.isFunction(K)?this._toggle.apply(this,arguments):L==null||J?this.each(function(){var M=J?L:q(this).is(":hidden");q(this)[M?"show":"hide"]()}):this.animate(y("toggle",3),L,K)},fadeTo:function(J,L,K){return this.animate({opacity:L},J,K)},animate:function(N,K,M,L){var J=q.speed(K,M,L);return this[J.queue===false?"each":"queue"](function(){var P=q.extend({},J),R,Q=this.nodeType==1&&q(this).is(":hidden"),O=this;for(R in N){if(N[R]=="hide"&&Q||N[R]=="show"&&!Q){return P.complete.call(this)}if((R=="height"||R=="width")&&this.style){P.display=q.css(this,"display");P.overflow=this.style.overflow}}if(P.overflow!=null){this.style.overflow="hidden"}P.curAnim=q.extend({},N);q.each(N,function(T,X){var W=new q.fx(O,P,T);if(/toggle|show|hide/.test(X)){W[X=="toggle"?Q?"show":"hide":X](N)}else{var V=X.toString().match(/^([+-]=)?([\d+-.]+)(.*)$/),Y=W.cur(true)||0;if(V){var S=parseFloat(V[2]),U=V[3]||"px";if(U!="px"){O.style[T]=(S||1)+U;Y=((S||1)/W.cur(true))*Y;O.style[T]=Y+U}if(V[1]){S=((V[1]=="-="?-1:1)*S)+Y}W.custom(Y,S,U)}else{W.custom(Y,X,"")}}});return true})},stop:function(K,J){var L=q.timers;if(K){this.queue([])}this.each(function(){for(var M=L.length-1;M>=0;M--){if(L[M].elem==this){if(J){L[M](true)}L.splice(M,1)}}});if(!J){this.dequeue()}return this}});q.each({slideDown:y("show",1),slideUp:y("hide",1),slideToggle:y("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(J,K){q.fn[J]=function(L,M){return this.animate(K,L,M)}});q.extend({speed:function(L,M,K){var J=typeof L==="object"?L:{complete:K||!K&&M||q.isFunction(L)&&L,duration:L,easing:K&&M||M&&!q.isFunction(M)&&M};J.duration=q.fx.off?0:typeof J.duration==="number"?J.duration:q.fx.speeds[J.duration]||q.fx.speeds._default;J.old=J.complete;J.complete=function(){if(J.queue!==false){q(this).dequeue()}if(q.isFunction(J.old)){J.old.call(this)}};return J},easing:{linear:function(L,M,J,K){return J+K*L},swing:function(L,M,J,K){return((-Math.cos(L*Math.PI)/2)+0.5)*K+J}},timers:[],fx:function(K,J,L){this.options=J;this.elem=K;this.prop=L;if(!J.orig){J.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(K){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null)){return this.elem[this.prop]}var J=parseFloat(q.css(this.elem,this.prop,K));return J&&J>-10000?J:parseFloat(q.curCSS(this.elem,this.prop))||0},custom:function(N,M,L){this.startTime=e();this.start=N;this.end=M;this.unit=L||this.unit||"px";this.now=this.start;this.pos=this.state=0;var J=this;function K(O){return J.step(O)}K.elem=this.elem;if(K()&&q.timers.push(K)==1){p=setInterval(function(){var P=q.timers;for(var O=0;O<P.length;O++){if(!P[O]()){P.splice(O--,1)}}if(!P.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(M){var L=e();if(M||L>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;var J=true;for(var K in this.options.curAnim){if(this.options.curAnim[K]!==true){J=false}}if(J){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 N in this.options.curAnim){q.attr(this.elem.style,N,this.options.orig[N])}}this.options.complete.call(this.elem)}return false}else{var O=L-this.startTime;this.state=O/this.options.duration;this.pos=q.easing[this.options.easing||(q.easing.swing?"swing":"linear")](this.state,O,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(J){q.attr(J.elem.style,"opacity",J.now)},_default:function(J){if(J.elem.style&&J.elem.style[J.prop]!=null){J.elem.style[J.prop]=J.now+J.unit}else{J.elem[J.prop]=J.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 L=this[0].getBoundingClientRect(),O=this[0].ownerDocument,K=O.body,J=O.documentElement,Q=J.clientTop||K.clientTop||0,P=J.clientLeft||K.clientLeft||0,N=L.top+(self.pageYOffset||q.boxModel&&J.scrollTop||K.scrollTop)-Q,M=L.left+(self.pageXOffset||q.boxModel&&J.scrollLeft||K.scrollLeft)-P;return{top:N,left:M}}}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 O=this[0],L=O.offsetParent,K=O,T=O.ownerDocument,R,M=T.documentElement,P=T.body,Q=T.defaultView,J=Q.getComputedStyle(O,null),S=O.offsetTop,N=O.offsetLeft;while((O=O.parentNode)&&O!==P&&O!==M){R=Q.getComputedStyle(O,null);S-=O.scrollTop,N-=O.scrollLeft;if(O===L){S+=O.offsetTop,N+=O.offsetLeft;if(q.offset.doesNotAddBorder&&!(q.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(O.tagName))){S+=parseInt(R.borderTopWidth,10)||0,N+=parseInt(R.borderLeftWidth,10)||0}K=L,L=O.offsetParent}if(q.offset.subtractsBorderForOverflowNotVisible&&R.overflow!=="visible"){S+=parseInt(R.borderTopWidth,10)||0,N+=parseInt(R.borderLeftWidth,10)||0}J=R}if(J.position==="relative"||J.position==="static"){S+=P.offsetTop,N+=P.offsetLeft}if(J.position==="fixed"){S+=Math.max(M.scrollTop,P.scrollTop),N+=Math.max(M.scrollLeft,P.scrollLeft)}return{top:S,left:N}}}q.offset={initialize:function(){if(this.initialized){return}var Q=document.body,K=document.createElement("div"),M,L,S,N,R,J,O=Q.style.marginTop,P='<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>';R={position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"};for(J in R){K.style[J]=R[J]}K.innerHTML=P;Q.insertBefore(K,Q.firstChild);M=K.firstChild,L=M.firstChild,N=M.nextSibling.firstChild.firstChild;this.doesNotAddBorder=(L.offsetTop!==5);this.doesAddBorderForTableAndCells=(N.offsetTop===5);M.style.overflow="hidden",M.style.position="relative";this.subtractsBorderForOverflowNotVisible=(L.offsetTop===-5);Q.style.marginTop="1px";this.doesNotIncludeMarginInBodyOffset=(Q.offsetTop===0);Q.style.marginTop=O;Q.removeChild(K);this.initialized=true},bodyOffset:function(J){q.offset.initialized||q.offset.initialize();var L=J.offsetTop,K=J.offsetLeft;if(q.offset.doesNotIncludeMarginInBodyOffset){L+=parseInt(q.curCSS(J,"marginTop",true),10)||0,K+=parseInt(q.curCSS(J,"marginLeft",true),10)||0}return{top:L,left:K}}};q.fn.extend({position:function(){var N=0,M=0,K;if(this[0]){var L=this.offsetParent(),O=this.offset(),J=/^body|html$/i.test(L[0].tagName)?{top:0,left:0}:L.offset();O.top-=l(this,"marginTop");O.left-=l(this,"marginLeft");J.top+=l(L,"borderTopWidth");J.left+=l(L,"borderLeftWidth");K={top:O.top-J.top,left:O.left-J.left}}return K},offsetParent:function(){var J=this[0].offsetParent||document.body;while(J&&(!/^body|html$/i.test(J.tagName)&&q.css(J,"position")=="static")){J=J.offsetParent}return q(J)}});q.each(["Left","Top"],function(K,J){var L="scroll"+J;q.fn[L]=function(M){if(!this[0]){return null}return M!==h?this.each(function(){this==n||this==document?n.scrollTo(!K?M:q(n).scrollLeft(),K?M:q(n).scrollTop()):this[L]=M}):this[0]==n||this[0]==document?self[K?"pageYOffset":"pageXOffset"]||q.boxModel&&document.documentElement[L]||document.body[L]:this[0][L]}});q.each(["Height","Width"],function(M,K){var J=M?"Left":"Top",L=M?"Right":"Bottom";q.fn["inner"+K]=function(){return this[K.toLowerCase()]()+l(this,"padding"+J)+l(this,"padding"+L)};q.fn["outer"+K]=function(O){return this["inner"+K]()+l(this,"border"+J+"Width")+l(this,"border"+L+"Width")+(O?l(this,"margin"+J)+l(this,"margin"+L):0)};var N=K.toLowerCase();q.fn[N]=function(O){return this[0]==n?document.compatMode=="CSS1Compat"&&document.documentElement["client"+K]||document.body["client"+K]:this[0]==document?Math.max(document.documentElement["client"+K],document.body["scroll"+K],document.documentElement["scroll"+K],document.body["offset"+K],document.documentElement["offset"+K]):O===h?(this.length?q.css(this[0],N):null):this.css(N,typeof O==="string"?O:O+"px")}})})();jQuery.fn.cssFontSize_oldCSS=jQuery.fn.css;jQuery.fn.extend({css:function(b,c){if(jQuery.browser.msie&&b=="fontSize"){b="font-size"}if(typeof(c)!="undefined"){return $(this).cssFontSize_oldCSS(b,c)}else{val=$(this).cssFontSize_oldCSS(b)}if(!jQuery.browser.msie||b!="font-size"){return val}var a=parseFloat(val,10);if(isNaN(a)){return val}if(jQuery.browser.version==6&&a>78.6875){val=String(a/78.6875)}return val}});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)[0].offsetTop){a=$(this).outerHeight()+$(this)[0].offsetTop}});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)[0].offsetLeft){a=$(this).outerWidth()+$(this)[0].offsetLeft}});return a+(parseInt($(this).css("padding-right"))||0)}});
/*
 * 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 h=function(j){var k;if(typeof j!=="object"||j===null){k=b}else{k={hoursToLive:(typeof j.hoursToLive==="number"?j.hoursToLive:b.hoursToLive),path:(typeof j.path==="string"&&j.path!=""?j.path:b.path),domain:(typeof j.domain==="string"&&j.domain!=""?j.domain:b.domain),secure:(typeof j.secure==="boolean"&&j.secure!=""?j.secure:b.secure)}}return k};var g=function(j){j=h(j);return((j.hoursToLive!==0?"; expires="+a(j.hoursToLive):"")+"; path="+j.path+"; domain="+j.domain+(j.secure?"; secure":""))};var a=function(j){var k=new Date();k.setTime(k.getTime()+(j*60*60*1000));return k.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(l){var j;e();if(typeof l==="string"){j=(typeof d[l]!=="undefined")?d[l]:null}else{if(typeof l==="object"&&l!==null){j=[];for(var k in l){j[l[k]]=(typeof d[l[k]]!=="undefined")?d[l[k]]:null}}else{j=d}}return j};c.prototype.set=function(m,k,j){if(typeof k==="undefined"||k===null){if(typeof j!=="object"||j===null){j={}}k="";j.hoursToLive=-8760}var l=g(j);document.cookie=m+"="+escape(k)+l};c.prototype.del=function(k,j){if(typeof j!=="object"||j===null){j={}}this.set(k,null,j)};c.prototype.test=function(){var k=false,j="cT",l="data";this.set(j,l);if(this.get(j)==l){this.del(j);k=true}return k};c.prototype.setOptions=function(j){if(typeof j!=="object"){j=null}b=h(j)};return new c()})();(function(){if(typeof jQuery!=="undefined"){jQuery.cookies=jaaulde.utils.cookies;var a={cookify:function(b){return this.each(function(){var c="",h="",g=["name","id"],e=0,d;while(e<g.length&&(typeof c!=="string"||c==="")){c=jQuery(this).attr(g[e]);e++}if(typeof c==="string"||c!==""){d=jQuery(this).attr("type").toLowerCase();if(d!=="radio"&&d!=="checkbox"){h=jQuery(this).attr("value");if(typeof h!=="string"||h===""){h=null}jQuery.cookies.set(c,h,b)}}e=0})},cookieFill:function(){return this.each(function(){var c="",g,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!==""){g=jQuery.cookies.get(c);if(g!==null){b=this.nodeName.toLowerCase();if(b==="input"||b==="textarea"){jQuery(this).attr("value",g)}else{jQuery(this).html(g)}}}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,k=false,j="ShockwaveFlash.ShockwaveFlash";if(!(d=navigator.plugins["Shockwave Flash"])){try{b=new ActiveXObject(j+".7")}catch(h){try{b=new ActiveXObject(j+".6");d=[6,0,21];b.AllowScriptAccess="always"}catch(g){if(d&&d[0]===6){k=true}}if(!k){try{b=new ActiveXObject(j)}catch(e){d="X 0,0,0"}}}if(!k&&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 g=r.swf||"",p=r.params||{},j=document.createElement("body"),e,q,m,h,o,n,l,k;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)});g=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 (n=["swf","expressInstall","hasVersion","params","flashvars"])){delete r[n[o]]}e=[];for(o in r){if(typeof r[o]==="object"){q=[];for(n in r[o]){q.push(n.replace(/([A-Z])/,"-$1").toLowerCase()+":"+r[o][n]+";")}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(n in p[o]){if(typeof p[o][n]==="object"){m=[];for(l in p[o][n]){if(typeof p[o][n][l]==="object"){h=[];for(k in p[o][n][l]){h.push(k.replace(/([A-Z])/,"-$1").toLowerCase()+":"+p[o][n][l][k]+";")}p[o][n][l]=h.join("")}m.push(l+"{"+p[o][n][l]+"}")}p[o][n]=m.join("")}q.push(window.escape(n)+"="+window.escape(p[o][n]))}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="'+g+'">'+p}else{r+=' type="application/x-shockwave-flash" data="'+g+'"'}j.innerHTML="<OBJECT "+r+">"+p+"</OBJECT>";return a(j.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/
 *
 */
$(document).ready(function(){if(!$.browser.msie||$.browser.version>7){return}$("button").each(function(){var a=$(this).get(0).outerHTML.match(/value\s*=\s*['"]([^'"]*)['"]/);var c=(a?a[1]:"");var b=$('<input type="hidden" '+($(this).attr("name")?'name="'+$(this).attr("name")+'" ':"")+'" value="'+c+'" >');$(this).attr("name","");$(this).parent("form").append(b).bind("submit",{button:$(this)},function(d){$(d.data.button).html("").attr("value","").attr("disabled","disabled")})})});(function(c){c.fn._hover=c.fn.hover;c.fn.hover=function(g,e,d){if(d){this.bind("hoverstart",g)}if(e){this.bind("hoverend",d?d:e)}return !g?this.trigger("hover"):this.bind("hover",d?e:g)};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 g=d.data||d;switch(d.type){case"mouseenter":g.dist2=0;g.event=d;d.type="hoverstart";if(c.event.handle.call(this,d)!==false){g.elem=this;c.event.add(this,"mousemove",a,g);g.timer=setTimeout(e,g.delay)}break;case"mousemove":g.dist2+=Math.pow(d.pageX-g.event.pageX,2)+Math.pow(d.pageY-g.event.pageY,2);g.event=d;break;case"mouseleave":clearTimeout(g.timer);if(g.hovered){d.type="hoverend";c.event.handle.call(this,d);g.hovered--}else{c.event.remove(g.elem,"mousemove",a)}break;default:if(g.dist2<=Math.pow(g.speed*(g.delay/1000),2)){c.event.remove(g.elem,"mousemove",a);g.event.type="hover";if(c.event.handle.call(g.elem,g.event)!==false){g.hovered++}}else{g.timer=setTimeout(e,g.delay)}g.dist2=0;break}function e(){a(g)}}})(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(j,e,h,g){if(!j){return this}styles=a(j);if(!styles){return this}return this.animate(styles,e,h,g)}});function a(g){if(g.substr(0,1)!="."){g="."+g}for(var e=0;e<document.styleSheets.length;e++){v=document.styleSheets[e];attrClass=c(g,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,h){if(h!=""){h=h.split(":");h[0]=d(h[0]);objStyle[h[0]]=b.trim(h[1])}});return objStyle}function c(g,e){attrClass=false;if(b.browser.msie){if(e.rules.length>0){b(e.rules).each(function(h,j){if(g==j.selectorText){attrClass=j.style.cssText}})}else{if(e.imports.length>0){b(e.imports).each(function(h,j){if(g==j.selectorText){attrClass=j.style.cssText}else{if(j=="[object]"||j=="[Object CSSStyleSheet]"||j=="[object CSSImportRule]"){return c(g,j)}}})}}}else{b(e.cssRules).each(function(h,j){if(g==j.selectorText){attrClass=j.style.cssText}else{if(j=="[object CSSImportRule]"){return c(g,j.styleSheet)}}})}return attrClass}function d(g){g=b.trim(g);g=g.replace(/-/g," ");g=g.toLowerCase();strArr=g.split(" ");var e="";b(strArr).each(function(j,h){if(j==0){e+=h}else{e+=h.substr(0,1).toUpperCase();e+=h.substr(1,h.length)}});return e}})(jQuery);(function(a){a.browserTest=function(e,h){var g="unknown",d="X",b=function(l,k){for(var c=0;c<k.length;c=c+1){l=l.replace(k[c][0],k[c][1])}return l},j=function(m,l,k,o){var n={name:b((l.exec(m)||[g,g])[1],k)};n[n.name]=true;n.version=(o.exec(m)||[d,d,d,d])[3];if(n.name.match(/safari/)&&n.version>400){n.version="2.0"}if(n.name==="presto"){n.version=(a.browser.version>9.27)?"futhark":"linear_b"}n.versionNumber=parseFloat(n.version,10)||0;n.versionX=(n.version!==d)?(n.version+"").substr(0,1):d;n.className=n.name+n.versionX;return n};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((!h)?a.browser:{},j(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=j(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())||[g])[0].replace("sunos","solaris")};if(!h){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 g=document.createElement("script");g.setAttribute("type","text/javascript");g.setAttribute("src",d)}else{if(e=="css"){var g=document.createElement("link");g.setAttribute("rel","stylesheet");g.setAttribute("type","text/css");g.setAttribute("href",d)}}if(typeof g!="undefined"){document.getElementsByTagName("head")[0].appendChild(g)}}})(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 j=(jQuery.inArray(this.id,b)!=-1)?"block":"none"}else{var j=this.getAttr("hide")?"none":null}this.$divref.css(a.generatemap(["height",this.getAttr("height")],["display",j]));this.$divref.attr(a.generatemap(["groupname",this.getAttr("group")],["fade",this.getAttr("fade")],["speed",this.getAttr("speed")]));if(this.getAttr("group")){var h=a.divgroups[this.getAttr("group")]||(a.divgroups[this.getAttr("group")]={});h.count=(h.count||0)+1;if(!h.lastactivedivid&&this.$divref.css("display")!="none"||j=="block"){h.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 g=/(collapse-)|(expand-)|(toggle-)/;c.each(function(){e(this).click(function(){var h=this.getAttribute("rel");var k=h.replace(g,"");var j=(h.indexOf("collapse-")!=-1)?"hide":(h.indexOf("expand-")!=-1)?"show":"toggle";return a.showhide(k,j)})});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 g=c=="Height"?"Top":"Left",e=c=="Height"?"Bottom":"Right";return this.is(":visible")?this[0]["client"+c]:a(this,c.toLowerCase())+a(this,"padding"+g)+a(this,"padding"+e)};b.fn["outer"+c]=function(g){if(!this[0]){return}var j=c=="Height"?"Top":"Left",e=c=="Height"?"Bottom":"Right";g=b.extend({margin:false},g||{});var h=this.is(":visible")?this[0]["offset"+c]:a(this,c.toLowerCase())+a(this,"border"+j+"Width")+a(this,"border"+e+"Width")+a(this,"padding"+j)+a(this,"padding"+e);return h+(g.margin?(a(this,"margin"+j)+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 j=0,h=0,g=this[0],k,c,e,d;if(g){e=this.offsetParent();k=this.offset();c=e.offset();k.top-=a(g,"marginTop");k.left-=a(g,"marginLeft");c.top+=a(e,"borderTopWidth");c.left+=a(e,"borderLeftWidth");d={top:k.top-c.top,left:k.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 o,n,h,d;var e=function(g){o=g.pageX;n=g.pageY};var c=function(p,g){g.hoverIntent_t=clearTimeout(g.hoverIntent_t);if((Math.abs(h-o)+Math.abs(d-n))<m.sensitivity){a(g).unbind("mousemove",e);g.hoverIntent_s=1;return m.over.apply(g,[p])}else{h=o;d=n;g.hoverIntent_t=setTimeout(function(){c(p,g)},m.interval)}};var j=function(p,g){g.hoverIntent_t=clearTimeout(g.hoverIntent_t);g.hoverIntent_s=0;return m.out.apply(g,[p])};var b=function(s){var r=(s.type=="mouseover"?s.fromElement:s.toElement)||s.relatedTarget;while(r&&r!=this){try{r=r.parentNode}catch(s){r=this}}if(r==this){return false}var q=jQuery.extend({},s);var g=this;if(g.hoverIntent_t){g.hoverIntent_t=clearTimeout(g.hoverIntent_t)}if(s.type=="mouseover"){h=q.pageX;d=q.pageY;a(g).bind("mousemove",e);if(g.hoverIntent_s!=1){g.hoverIntent_t=setTimeout(function(){c(q,g)},m.interval)}}else{a(g).unbind("mousemove",e);if(g.hoverIntent_s==1){g.hoverIntent_t=setTimeout(function(){j(q,g)},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(g){e.extend(e.tooltip.defaults,g)}};var d=function(g,h){var q=this;var m="";g=e(g);if(e.metadata){h=e.extend({},h,g.metadata().tooltip)}if(h.smart){if(!h.title){h.title=g.attr("title")}if(!h.text){h.text=g.attr("alt")}if(!h.href){h.href=g.attr("href")}}var m="";if(h.title){m+='<div class="title">'+h.title+"</div>"}if(h.text&&h.text!=h.title){m+='<div class="text">'+h.text+"</div>"}if(h.href){m+='<div class="url">'+h.href+"</div>"}if(m==""){delete this;return}g.removeAttr("title").removeAttr("alt");e.data(g,"tooltip",q);q.dst=h.dst;g.bind(h.event+".tooltip",o).bind("mouseout.tooltip",l).bind("focus.tooltip",o).bind("blur.tooltip",l).bind("click.tooltip",n);function j(){if(q.timein){clearTimeout(q.timein);delete q.timein}if(q.timeout){clearTimeout(q.timeout);delete q.timeout}}function o(r){j();if(q.st==l){return}q.st=o;if(!q.dst){q.dst=e("<div>").appendTo(document.body).css({visibility:"hidden"})}q.ev=r;q.timein=setTimeout(p,h["in"]||0)}function p(){j();if(!q.dst){return}q.dst.addClass(h["class"]).css(h.css).html(m).bgiframe();if(h.duration>0){q.timein=setTimeout(n,h.duration)}q.dst.css({position:"absolute",visibility:"visible"});e("body").bind("click.tooltip",n);if(h.track){g.bind("mousemove.tooltip",k)}q.w=q.dst.width();q.h=q.dst.height();if(h.maxWidth&&q.w>h.maxWidth){q.dst.css("width",h.maxWidth);q.w=q.dst.width()}if(h.onshow){h.onshow.apply(q.dst)}if(h.track){}k()}function l(){j();if(q.st!=o){return}q.timeout=setTimeout(n,h.out||0)}function n(){j();e("body").unbind(".tooltip");e("src").unbind("mousemove.tooltip");if(!q.dst){return}q.dst.empty();q.dst.css("width","auto");if(h.onhide){h.onhide.apply(q.dst)}if(q.dst!=h.dst){q.dst.remove();delete q.dst}}function k(s){if(!s){s=q.ev}else{q.ev=s}if(!q.dst){return}var u={x:s.pageX+h.offset.x,y:s.pageY+h.offset.y,w:q.w,h:q.h};w=window;if(e.browser.msie){winW=document.body.offsetWidth;winH=document.body.offsetHeight}else{winW=w.innerWidth-20;winH=w.innerHeight-20}var r={x:w.scrollX,y:w.scrollY,w:winW-20,h:winH-20};if(u.x+u.w>r.x+r.w){u.x=r.x+r.w-u.w}if(u.y+u.h>r.y+r.h){u.y=s.pageY-u.h-h.offset.y}if(u.x<r.x){u.x=r.x}if(u.y<r.y){u.y=r.y}if(u.x+u.w>r.w){u.x=r.w-u.w}q.dst.css({top:u.y,left:u.x})}};function b(){return this.each(function(){t=e.data(this,"tooltip");if(t){e.extend(t.opt,opt)}return this})}function a(){return;this.hide().unbind(".tooltip").removeData("tooltip")}function c(g){a.apply(this);g=e.extend({},e.tooltip.defaults,g);return this.each(function(){new d(this,g)})}e.fn.tooltip=function(g,h){if(!h&&(typeof g!="string")){h=g;g="create"}return(f=({setup:b,remove:a,create:c})[g])&&f.apply(this,[h])}})(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 g=e.prefix===false?false:true;var b=g?e.hash===true?"#":"?":"";jQuery.query=new function(){var h=function(n,m){return n!=undefined&&n!==null&&(!!m?n.constructor==m:true)};var j=function(s){var n,r=/\[([^[]*)\]/g,o=/^(\S+?)(\[\S*\])?$/.exec(s),p=o[1],q=[];while(n=r.exec(o[2])){q.push(n[1])}return[p,q]};var l=function(u,s,r){var x,q=s.shift();if(typeof u!="object"){u=null}if(q===""){if(!u){u=[]}if(h(u,Array)){u.push(s.length==0?r:l(null,s.slice(0),r))}else{if(h(u,Object)){var p=0;while(u[p++]!=null){}u[--p]=s.length==0?r:l(u[p],s.slice(0),r)}else{u=[];u.push(s.length==0?r:l(null,s.slice(0),r))}}}else{if(q&&q.match(/^\s*[0-9]+\s*$/)){var n=parseInt(q,10);if(!u){u=[]}u[n]=s.length==0?r:l(u[n],s.slice(0),r)}else{if(q){var n=q.replace(/^\s*|\s*$/g,"");if(!u){u={}}if(h(u,Array)){var m={};for(var p=0;p<u.length;++p){m[p]=u[p]}u=m}u[n]=s.length==0?r:l(u[n],s.slice(0),r)}else{return r}}}return u};var k=function(m){var n=this;n.keys={};if(m.queryObject){jQuery.each(m.get(),function(o,p){n.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 p=this.split("=")[0];var q=this.split("=")[1];if(!p){return}if(/^[+-]?[0-9]+\.[0-9]*$/.test(q)){q=parseFloat(q)}else{if(/^[+-]?[0-9]+$/.test(q)){q=parseInt(q,10)}}q=(!q&&q!==0)?true:q;if(q!==false&&q!==true&&typeof q!="number"){q=decodeURIComponent(q)}n.SET(p,q)})})}return n};k.prototype={queryObject:true,has:function(m,n){var o=this.get(m);return h(o,n)},GET:function(n){if(!h(n)){return this.keys}var m=j(n),o=m[0],q=m[1];var p=this.keys[o];while(p!=null&&q.length!=0){p=p[q.shift()]}return typeof p=="number"?p:p||""},get:function(m){var n=this.GET(m);if(h(n,Object)){return jQuery.extend(true,{},n)}else{if(h(n,Array)){return n.slice(0)}}return n},SET:function(n,s){var p=!h(s)?null:s;var m=j(n),o=m[0],r=m[1];var q=this.keys[o];this.keys[o]=l(q,r.slice(0),p);return this},set:function(m,n){return this.copy().SET(m,n)},REMOVE:function(m){return this.SET(m,null).COMPACT()},remove:function(m){return this.copy().REMOVE(m)},EMPTY:function(){var m=this;jQuery.each(m.keys,function(n,o){delete m.keys[n]});return m},empty:function(){return this.copy().EMPTY()},copy:function(){return new k(this)},COMPACT:function(){function m(p){var o=typeof p=="object"?h(p,Array)?[]:{}:p;if(typeof p=="object"){function n(s,q,r){if(h(s,Array)){s.push(r)}else{s[q]=r}}jQuery.each(p,function(q,r){if(!h(r)){return true}n(o,q,m(r))})}return o}this.keys=m(this.keys);return this},compact:function(){return this.copy().COMPACT()},toString:function(){var o=0,r=[],q=[],n=this;var m=function(s,u,x){if(!h(x)||x===false){return}var y=[u];if(x!==true){y.push("=");y.push(encodeURIComponent(x))}s.push(y.join(""))};var p=function(u,s){var x=function(y){return !s||s==""?[y].join(""):[s,"[",y,"]"].join("")};jQuery.each(u,function(y,z){if(typeof z=="object"){p(z,x(y))}else{m(q,x(y),z)}})};p(this.keys);if(q.length>0){r.push(b)}r.push(q.join(d));return r.join("")}};return new k(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("")},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:1001,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,dimmingDuration:50,allowWidthReduction:false,allowHeightReduction:true,preserveContent:true,objectLoadTime:"before",cacheAjax:true,anchor:"auto",align:"auto",targetX:null,targetY:null,dragByHeading:true,minWidth:100,minHeight:100,allowSizeReduction:true,outlineType:"drop-shadow",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"><ul><li class="highslide-previous"><a href="#" title="{hs.lang.previousTitle}" onclick="return hs.previous(this)"><span>{hs.lang.previousText}</span></a></li><li class="highslide-next"><a href="#" title="{hs.lang.nextTitle}" onclick="return hs.next(this)"><span>{hs.lang.nextText}</span></a></li></ul></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,g,e,d,c){var b=document.createElement(a);if(g){hs.setAttribs(b,g)}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,k=window,m=e.compatMode&&e.compatMode!="BackCompat"?e.documentElement:e.body;var h=e.body;var n=(k.innerWidth&&k.scrollMaxX)?k.innerWidth+k.scrollMaxX:Math.max(h.scrollWidth,h.offsetWidth),g=(k.innerHeight&&window.scrollMaxY)?k.innerHeight+k.scrollMaxY:Math.max(h.scrollHeight,h.offsetHeight),j=hs.ie?m.scrollWidth:(e.documentElement.clientWidth||self.innerWidth),c=hs.ie?Math.max(m.scrollHeight,m.clientHeight):(e.documentElement.clientHeight||self.innerHeight);var a=hs.ie?m.clientWidth:(e.documentElement.clientWidth||self.innerWidth),l=hs.ie?m.clientHeight:self.innerHeight;return{pageWidth:Math.max(j,n),pageHeight:Math.max(c,g),width:a,height:l,scrollLeft:hs.ie?m.scrollLeft:pageXOffset,scrollTop:hs.ie?m.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,g,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,g,d);return false}catch(h){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(g){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,g){hs.updateAnchors();var d=hs.last=hs.getExpander(b);try{var a=hs.upcoming=d.getAdjacentAnchor(g);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 g=hs.expanders[a];if(g&&g.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 g=hs.getExpander(b);if(g&&(g.isClosing||!g.isExpanded)){return true}if(g&&d.type=="mousedown"){if(d.target.form){return true}var a=b.className.match(/highslide-(image|move|resize)/);if(a){hs.dragArgs={exp:g,type:a[1],left:g.x.pos,width:g.x.size,top:g.y.pos,height:g.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(g.content.className)){g.focus();hs.hasFocused=true}return false}else{if(/highslide-html/.test(b.className)&&hs.focusKey!=g.key){g.focus();g.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(g,"onImageClick")){g.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(g)}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 g=Math.sqrt(Math.pow(b.dX,2)+Math.pow(b.dY,2));if(!b.hasDragged){b.hasDragged=(b.type!="image"&&g>0)||(g>(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 g=hs.getExpander(c.target);if(!g.isExpanded){return}if(!g||!c.relatedTarget||hs.getExpander(c.relatedTarget,true)==g||hs.dragArgs){return}hs.fireEvent(g,b?"onMouseOver":"onMouseOut",c);for(var a=0;a<g.overlays.length;a++){var d=hs.$("hsId"+g.overlays[a]);if(d&&d.hideOnMouseOut){var j=b?0:d.opacity,h=b?d.opacity:0;hs.fade(d,j,h)}}}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:"1px"},null,true);Math.linearTween=function(g,e,j,h){return j*g/h+e};Math.easeInQuad=function(g,e,j,h){return j*(g/=h)*g+e};Math.easeInOutQuad=function(g,e,j,h){if((g/=h/2)<1){return j/2*g*g+e}return -j/2*((--g)*(g-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("*"),h=[],b=[],k=[],a={},e;for(var c=0;c<d.length;c++){e=hs.isHsAnchor(d[c]);if(e){hs.push(h,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:h,groups:a,images:b,htmls:k};return hs.anchors},getAnchors:function(){return hs.anchors||hs.updateAnchors()},fade:function(d,c,a,b,j,h,g){if(typeof h=="undefined"){if(typeof b!="number"){b=250}if(b<25){hs.setStyles(d,{opacity:a});if(j){j()}return}h=hs.faders.length;g=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||(g==1&&c>a)){if(j){j()}return}if(d.fading&&d.fading.i!=h){clearTimeout(hs.faders[d.fading.i]);c=d.fading.o}d.fading={i:h,o:c,step:(e||d.fading.step)};d.style.visibility=(c<=0)?"hidden":"visible";hs.setStyles(d,{opacity:c});hs.faders[h]=setTimeout(function(){hs.fade(d,c+d.fading.step*g,a,null,j,h,g)},25)},close:function(a){var b=hs.getExpander(a);if(b){b.close()}return false}};hs.Outline=function(j,g){this.onLoad=g;this.outlineType=j;var a=hs.ieVersion(),h;this.hasAlphaImageLoader=hs.ie&&a>=5.5&&a<7;if(!j){if(g){g()}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){h=hs.createElement("tr",null,{height:"auto"},c,true)}this.td[d]=hs.createElement("td",null,null,h,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,g=[[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(g[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:(g[b][0]*d)+"px",top:(g[b][1]*d)+"px"},e,true)}else{hs.setStyles(this.td[b],{background:"url("+this.graphic.src+") "+(g[b][0]*d)+"px "+(g[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,g,b,m){if(document.readyState&&hs.ie&&!hs.isDomReady){hs.onDomReady=function(){new hs.Expander(l,g,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 n=this.key=hs.expanders.length;for(var h=0;h<hs.overrides.length;h++){var c=hs.overrides[h];this[c]=g&&typeof g[c]!="undefined"?g[c]:hs[c]}if(!this.src){this.src=l.href}var d=(g&&g.thumbnailId)?hs.$(g.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 h=0;h<hs.expanders.length;h++){if(hs.expanders[h]&&hs.expanders[h].a==l&&!(this.last&&this.transitions[1]=="crossfade")){hs.expanders[h].focus();return false}}for(var h=0;h<hs.expanders.length;h++){if(hs.expanders[h]&&hs.expanders[h].thumb!=d&&!hs.expanders[h].onLoadStarted){hs.expanders[h].cancelLoading()}}hs.expanders[this.key]=this;if(!hs.allowMultipleInstances){if(hs.expanders[n-1]){hs.expanders[n-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,h=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;h.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();h.calcBorders();this.initSlideshow();this.getOverlays();var g=k.full/h.full;k.calcExpanded();this.justify(k);h.calcExpanded();this.justify(h);if(this.isHtml){this.htmlSizeOperations()}if(this.overlayBox){this.sizeOverlayBox(0,1)}if(this.allowSizeReduction){if(this.isImage){this.correctRatio(g)}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 g=this;this.body=hs.getElementByClass(this.innerContent,"DIV","highslide-body");if(this.objectType=="iframe"){this.showLoading();var k=hs.clearing.cloneNode(1);this.body.appendChild(k);this.newWidth=this.innerContent.offsetWidth;if(!this.objectWidth){this.objectWidth=k.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 j=b.params;if(b.params&&b.attributes){for(myAttr in b.attributes){if(!j[myAttr]){j[myAttr]=b.attributes[myAttr]}}}else{if(!b.params&&b.attributes){j=b.attributes}}$("#"+this.body.id).flash({swf:this.src,flashvars:b.flashvars,paramAttributes:j})}}}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-b)+"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 g,e,a=g=j[0],h=e=j[1];for(var b=0;b<j.length;b++){if(b%2==0){a=Math.min(a,j[b]);g=Math.max(g,j[b])}else{h=Math.min(h,j[b]);e=Math.max(e,j[b])}}this.x.tpos+=a;this.x.t=g-a;this.y.tpos+=h;this.y.t=e-h}},justify:function(g,b){var h,j=g.target,e=g==this.x?"x":"y";if(j&&j.match(/ /)){h=j.split(" ");j=h[0]}if(j&&hs.$(j)){g.pos=hs.getPosition(hs.$(j))[e];if(h&&h[1]&&h[1].match(/^[-]?[0-9]+px$/)){g.pos+=parseInt(h[1])}}else{if(g.justify=="auto"||g.justify=="center"){var d=false;var a=hs.allowSizeReduction;if(g.justify=="center"){g.pos=Math.round(g.scroll+(g.clientSize-g.marginMax-g.get("wsize"))/2)}else{g.pos=Math.round(g.pos-((g.get("wsize")-g.t)/2))}if(g.pos<g.scroll+g.marginMin){g.pos=g.scroll+g.marginMin;d=true}if(!b&&g.size<g.minSize){g.size=g.minSize;a=false}if(g.pos+g.get("wsize")>g.scroll+g.clientSize-g.marginMax){if(!b&&d&&a){g.size=g.get("fitsize")}else{if(g.get("wsize")<g.get("fitsize")){g.pos=g.scroll+g.clientSize-g.marginMax-g.get("wsize")}else{g.pos=g.scroll+g.marginMin;if(!b&&a){g.size=g.get("fitsize")}}}}if(!b&&g.size<g.minSize){g.size=g.minSize;a=false}}else{if(g.justify=="max"){g.pos=Math.floor(g.pos-g.size+g.t)}}}if(g.pos<g.marginMin){var c=g.pos;g.pos=g.marginMin;if(a&&!b){g.size=g.size-(g.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 o=this.transitions,g=e?(this.last?this.last.a:null):hs.upcoming,n=(o[1]&&g&&hs.getParam(g,"transitions")[1]==o[1])?o[1]:o[0];if(e&&g&&this.isHtml&&o[1]=="crossfade"){n=o[1]="fade"}if(this[n]&&n!="expand"){this[n](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 n,b=this,h=Math[this.easing]||Math.easeInQuad,k=(e?hs.expandSteps:hs.restoreSteps)||parseInt(a/25)||1;if(!e){h=Math[this.easingClose]||h}for(var d=1;d<=k;d++){n=Math.round(d*(a/k));(function(){var q=d,p={};for(var c in l){p[c]=h(n,l[c],m[c]-l[c],a);if(isNaN(p[c])){p[c]=m[c]}if(!/^op$/.test(c)){p[c]=Math.round(p[c])}}setTimeout(function(){if(e&&q==1){b.content.style.visibility="visible";b.a.className+=" highslide-active-anchor"}b.setSize(p)},n)})()}if(e){setTimeout(function(){if(b.outline){b.outline.table.style.visibility="visible"}},n);setTimeout(function(){b.afterExpand()},n+50)}else{setTimeout(function(){b.afterClose()},n)}},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,h,g){this.outlineWhileAnimating=false;var e=this,d=a?250:0;if(a){hs.setStyles(this.wrapper,{opacity:0});this.setSize(g);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=h.o;b*c<=b*g.o;c+=b,d+=25){(function(){var j=a?g.o-c:h.o-c;setTimeout(function(){e.outline.setPosition(e,{x:(e.x.pos+j),y:(e.y.pos+j),w:(e.x.size-2*j+e.x.p1+e.x.p2),h:(e.y.size-2*j+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,n=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 h={oldImg:n,newImg:this};for(var k in h){this[k]=h[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:n.x.pos,xsize:n.x.size,xp1:n.x.p1,xp2:n.x.p2,ximgSize:n.x.imgSize||n.x.size,ximgPad:n.x.get("imgPad"),ypos:n.y.pos,ysize:n.y.size,yp1:n.y.p1,yp2:n.y.p2,o:1/j};m.ysize=this.y.size;m.o=1;if(!m.ximgSize){m.ximgSize=m.xsize}var o,g=Math.easeInOutQuad;if(j>1){this.crossfadeStep(l)}function e(){if(a.overlayBox){a.overlayBox.className="";a.wrapper.appendChild(a.overlayBox);for(var q=0;q<a.last.overlays.length;q++){var p=hs.$("hsId"+a.last.overlays[q]);if(p.reuse===a.key){a.overlayBox.appendChild(p)}else{hs.fade(p,p.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++){o=Math.round(b*(hs.transitionDuration/j));(function(){var q={},r=b;for(var p in l){var s=g(o,l[p],m[p]-l[p],hs.transitionDuration);if(isNaN(s)){s=m[p]}q[p]=(p!="o")?Math.round(s):s}setTimeout(function(){a.crossfadeStep(q)},o)})()}setTimeout(function(){a.crossfadeEnd()},o+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 h=this,g=this.iframe.contentDocument||this.iframe.contentWindow.document;hs.addEventListener(g,"mousedown",function(){if(hs.focusKey!=h.key){h.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 g=0;g<e.length;g++){if(a=="visibility"||(document.defaultView.getComputedStyle(e[g],"").getPropertyValue("overflow")=="auto"||e[g].getAttribute("hidden-by")!=null)){var j=e[g].getAttribute("hidden-by");if(b=="visible"&&j){j=j.replace("["+this.key+"]","");e[g].setAttribute("hidden-by",j);if(!j){e[g].style[a]=e[g].origProp}}else{if(b=="hidden"){var l=hs.getPosition(e[g]);l.w=e[g].offsetWidth;l.h=e[g].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 h=(l.y+l.h<this.y.get("opos")||l.y>this.y.get("opos")+this.y.get("osize"))}var d=hs.getWrapperKey(e[g]);if(!k&&!h&&d!=this.key){if(!j){e[g].setAttribute("hidden-by","["+this.key+"]");e[g].origProp=e[g].style[a];e[g].style[a]="hidden"}else{if(!j.match("["+this.key+"]")){e[g].setAttribute("hidden-by",j+"["+this.key+"]")}}}else{if((j=="["+this.key+"]"||hs.focusKey==d)&&d!=this.key){e[g].setAttribute("hidden-by","");e[g].style[a]=e[g].origProp||""}else{if(j&&j.match("["+this.key+"]")){e[g].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 g=this;setTimeout(function(){g.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,h,g){return h*e/g+a};Math.easeInQuad=function(e,a,h,g){return h*(e/=g)*e+a};Math.easeOutQuad=function(e,a,h,g){return -h*(e/=g)*(e-2)+a};Math.easeInOutQuad=function(e,a,h,g){if((e/=g/2)<1){return h/2*e*e+a}return -h/2*((--e)*(e-2)-1)+a};Math.easeInCubic=function(e,a,h,g){return h*(e/=g)*e*e+a};Math.easeOutCubic=function(e,a,h,g){return h*((e=e/g-1)*e*e+1)+a};Math.easeInOutCubic=function(e,a,h,g){if((e/=g/2)<1){return h/2*e*e*e+a}return h/2*((e-=2)*e*e+2)+a};Math.easeInQuart=function(e,a,h,g){return h*(e/=g)*e*e*e+a};Math.easeOutQuart=function(e,a,h,g){return -h*((e=e/g-1)*e*e*e-1)+a};Math.easeInOutQuart=function(e,a,h,g){if((e/=g/2)<1){return h/2*e*e*e*e+a}return -h/2*((e-=2)*e*e*e-2)+a};Math.easeInQuint=function(e,a,h,g){return h*(e/=g)*e*e*e*e+a};Math.easeOutQuint=function(e,a,h,g){return h*((e=e/g-1)*e*e*e*e+1)+a};Math.easeInOutQuint=function(e,a,h,g){if((e/=g/2)<1){return h/2*e*e*e*e*e+a}return h/2*((e-=2)*e*e*e*e+2)+a};Math.easeInSine=function(e,a,h,g){return -h*Math.cos(e/g*(Math.PI/2))+h+a};Math.easeOutSine=function(e,a,h,g){return h*Math.sin(e/g*(Math.PI/2))+a};Math.easeInOutSine=function(e,a,h,g){return -h/2*(Math.cos(Math.PI*e/g)-1)+a};Math.easeInExpo=function(e,a,h,g){return(e==0)?a:h*Math.pow(2,10*(e/g-1))+a};Math.easeOutExpo=function(e,a,h,g){return(e==g)?a+h:h*(-Math.pow(2,-10*e/g)+1)+a};Math.easeInOutExpo=function(e,a,h,g){if(e==0){return a}if(e==g){return a+h}if((e/=g/2)<1){return h/2*Math.pow(2,10*(e-1))+a}return h/2*(-Math.pow(2,-10*--e)+2)+a};Math.easeInCirc=function(e,a,h,g){return -h*(Math.sqrt(1-(e/=g)*e)-1)+a};Math.easeOutCirc=function(e,a,h,g){return h*Math.sqrt(1-(e=e/g-1)*e)+a};Math.easeInOutCirc=function(e,a,h,g){if((e/=g/2)<1){return -h/2*(Math.sqrt(1-e*e)-1)+a}return h/2*(Math.sqrt(1-(e-=2)*e)+1)+a};Math.easeInElastic=function(h,e,m,l,g,k){if(h==0){return e}if((h/=l)==1){return e+m}if(!k){k=l*0.3}if(g<Math.abs(m)){g=m;var j=k/4}else{var j=k/(2*Math.PI)*Math.asin(m/g)}return -(g*Math.pow(2,10*(h-=1))*Math.sin((h*l-j)*(2*Math.PI)/k))+e};Math.easeOutElastic=function(h,e,m,l,g,k){if(h==0){return e}if((h/=l)==1){return e+m}if(!k){k=l*0.3}if(g<Math.abs(m)){g=m;var j=k/4}else{var j=k/(2*Math.PI)*Math.asin(m/g)}return g*Math.pow(2,-10*h)*Math.sin((h*l-j)*(2*Math.PI)/k)+m+e};Math.easeInOutElastic=function(h,e,m,l,g,k){if(h==0){return e}if((h/=l/2)==2){return e+m}if(!k){k=l*(0.3*1.5)}if(g<Math.abs(m)){g=m;var j=k/4}else{var j=k/(2*Math.PI)*Math.asin(m/g)}if(h<1){return -0.5*(g*Math.pow(2,10*(h-=1))*Math.sin((h*l-j)*(2*Math.PI)/k))+e}return g*Math.pow(2,-10*(h-=1))*Math.sin((h*l-j)*(2*Math.PI)/k)*0.5+m+e};Math.easeInBack=function(e,a,j,h,g){if(g==undefined){g=1.70158}return j*(e/=h)*e*((g+1)*e-g)+a};Math.easeOutBack=function(e,a,j,h,g){if(g==undefined){g=1.70158}return j*((e=e/h-1)*e*((g+1)*e+g)+1)+a};Math.easeInOutBack=function(e,a,j,h,g){if(g==undefined){g=1.70158}if((e/=h/2)<1){return j/2*(e*e*(((g*=(1.525))+1)*e-g))+a}return j/2*((e-=2)*e*(((g*=(1.525))+1)*e+g)+2)+a};Math.easeInBounce=function(e,a,h,g){return h-Math.easeOutBounce(g-e,0,h,g)+a};Math.easeOutBounce=function(e,a,h,g){if((e/=g)<(1/2.75)){return h*(7.5625*e*e)+a}else{if(e<(2/2.75)){return h*(7.5625*(e-=(1.5/2.75))*e+0.75)+a}else{if(e<(2.5/2.75)){return h*(7.5625*(e-=(2.25/2.75))*e+0.9375)+a}else{return h*(7.5625*(e-=(2.625/2.75))*e+0.984375)+a}}}};Math.easeInOutBounce=function(e,a,h,g){if(e<g/2){return Math.easeInBounce(e*2,0,h,g)*0.5+a}return Math.easeOutBounce(e*2-g,0,h,g)*0.5+h*0.5+a};hs.Expander.prototype.onBeforeExpand=function(){if(/slow/.test(this.a.className)){this.a.oldExpandDuration=hs.expandDuration;this.a.oldExpandSteps=hs.expandSteps;hs.expandDuration=500;hs.expandSteps=20}};hs.Expander.prototype.onAfterExpand=function(){if(/slow/.test(this.a.className)){hs.expandDuration=this.a.oldExpandDuration;hs.expandSteps=this.a.oldExpandSteps}};hs.Expander.prototype.onBeforeClose=function(){if(/slow/.test(this.a.className)){this.a.oldRestoreDuration=hs.restoreDuration;this.a.oldRestoreSteps=hs.restoreSteps;hs.restoreDuration=500;hs.restoreSteps=20}};hs.Expander.prototype.onAfterClose=function(){if(/slow/.test(this.a.className)){hs.restoreDuration=this.a.oldRestoreDuration;hs.restoreSteps=this.a.oldRestoreSteps}};if(hs.addEventListener&&hs.Outline){hs.addEventListener(window,"load",function(){new hs.Outline("drop-shadow")})}$(document).ready(function(){$("[rel^='lightbox']").each(function(){$(this).click(function(){var b=$(this).attr("rev");if(b){b=jQuery.array2Object(String(b).split(/;/))}if(!b){b={}}if(b.href&&b.href.length>0&&$(this).attr("href")&&!$(this).attr("oldHREF")){$(this).attr("oldHREF",$(this).attr("href")).attr("href",b.href)}if($(this).attr("href").match(/.*\.(png|jpe?g|gif)$/)){if(b.height&&(!$.browser.msie||$.browser.version>6)){b.height=parseInt(b.height)+200}if(b.width){b.width=parseInt(b.width)}if($.browser.msie&&$.browser.version<=6){b.width+=30;b.objectType="iframe";b.href=$(this).attr("oldHREF");return hs.htmlExpand($(this).get(0),jQuery.extend(b,{restoreDuration:500,expandDuration:500,easing:"easeOutBack",easingClose:"easeInBack",dimmingOpacity:0.4,dragByHeading:false,align:"center",headingText:'<div class="imageHeadingText"><strong>Image: </strong>'+$(this).children("[title]").eq(0).attr("title")+'</div><div class="headingClose"><a href="#" onclick="return hs.close(this);">close</a></div><div class="clearFloat"></div>'}))}return hs.expand($(this).get(0),jQuery.extend(b,{restoreDuration:500,expandDuration:500,easing:"easeOutBack",easingClose:"easeInBack",dimmingOpacity:0.4,dragByHeading:false,align:"center",headingText:'<div class="imageHeadingText"><strong>Image: </strong>'+$(this).children("[title]").eq(0).attr("title")+'</div><div class="headingClose"><a href="#" onclick="return hs.close(this);">close</a></div><div class="clearFloat"></div>'}))}else{if(b.width){b.width=NexxarLib.convertEM2PX(b.width)}if(b.height){b.height=NexxarLib.convertEM2PX(b.height)}var a;if($(this).attr("rel").indexOf("[table")>=0){if(b.height){b.height+=100}else{b.height=600}b=jQuery.extend(b,{headingText:'<div class="imageHeadingText"><strong>Table: </strong>'+$(this).parents("div.tabelle_klein").eq(0).find("table[title]").eq(0).attr("title")+'</div><div class="headingClose"><a href="#" onclick="return hs.close(this);">close</a></div><div class="clearFloat"></div>',align:"center",dimmingOpacity:0.4,dragByHeading:false})}return hs.htmlExpand($(this).get(0),jQuery.extend(b,{objectType:"iframe"}))}})})});var NexxarLib={currentPageID:-1,pageBaseURL:"/",defaultExtension:".html",defaultScriptExtension:".php",convertEM2PX:function(b,a){if(!a){a=parseFloat($("html").css("font-size"),10)}if(b&&String(b).indexOf("em")>0){return parseFloat(b,10)*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}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")}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 for printing",multiDocs:"<b><!-- COUNTER --></b> documents are marked for printing"},stateCookieName:"rep2009-PrintMan",getDefaultServerScriptAddress:function(){return NexxarLib.getBaseURLFull()+this.defaultServerScriptPath},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,h){if(!d||!d.href){return false}var a=NexxarPrintManager.uiIDs.onAddPageSuccess;if(h&&h.layer){a=h.layer}if(!c){c=String(window.location.pathname).substr(NexxarLib.getBaseURLPath().length)}var e=this.prepareTargetAddress(d.href);var g={add:c,xmlhttp:1,rand:Math.floor(Math.random()*99999),date:(new Date()).getTime()};if(hs&&h&&h.useHighslide){if(e.indexOf("?")<0){e+="?"}else{e+="&"}e+=$.param(g);d.oldhref=d.href;d.href=e;h=$.extend({objectType:"iframe",outlineWhileAnimating:true,preserveContent:false},h);hs.htmlExpand(d,h);d.href=d.oldhref;this.updateInfoText(d.href)}else{var b=this;$.get(e,g,function(j){$("#"+a).css("display","block");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();$(document).ready(function(){var a=$("<div>").attr("id","feedbackLayerContainer").css("display","none").html(String('&lt;div id="feedbackLayerContainer"&gt;&lt;div class="header"&gt;&lt;div class="header_left"&gt; Please tell us,&lt;br&gt;what you like about our online report&lt;/div&gt;&lt;div class="header_right"&gt; &lt;div class="close"&gt;&lt;a href="#" onclick="if(hs) return hs.close();" &gt;&lt;img src="%BASEURL%/layout/img/icon_close.gif" border="0"&gt;close&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="body"&gt;&lt;form action="http://laut.iedit.geber.at/rwe/2009/en/servicepages/feedback" method="get" id="feedbackform" name="feedbackform"&gt;&lt;table class="feedback" cellspacing="0" cellpadding="0" border="0" width="100%"&gt;  &lt;tr&gt;    &lt;td class="headline"&gt;&lt;p&gt;Things I like:&lt;/p&gt;&lt;/td&gt;    &lt;td colspan="2" class="headline"&gt;&lt;p&gt;A lot...&lt;P&gt;&lt;/td&gt;     &lt;td align="right" colspan="3" class="headline2"&gt;&lt;p&gt;...rather not&lt;/p&gt;&lt;/td&gt;  &lt;/tr&gt;  &lt;tr&gt;    &lt;td class="keyword"&gt;&lt;p&gt;Design&lt;/p&gt;&lt;/td&gt;    &lt;td class="radio"&gt;&lt;input type="radio" value="1" name="design"&gt;&lt;/td&gt;    &lt;td class="radio"&gt;&lt;input type="radio" value="2" name="design"&gt;&lt;/td&gt;    &lt;td class="radio"&gt;&lt;input type="radio" value="3" name="design"&gt;&lt;/td&gt;    &lt;td class="radio"&gt;&lt;input type="radio" value="4" name="design"&gt;&lt;/td&gt;    &lt;td class="radio"&gt;&lt;input type="radio" value="5" name="design"&gt;&lt;/td&gt;  &lt;/tr&gt;  &lt;tr&gt;    &lt;td class="keyword"&gt;&lt;p&gt;Navigation&lt;/p&gt;&lt;/td&gt;    &lt;td class="radio"&gt;&lt;input type="radio" value="1" name="navigation"&gt;&lt;/td&gt;    &lt;td class="radio"&gt;&lt;input type="radio" value="2" name="navigation"&gt;&lt;/td&gt;    &lt;td class="radio"&gt;&lt;input type="radio" value="3" name="navigation"&gt;&lt;/td&gt;    &lt;td class="radio"&gt;&lt;input type="radio" value="4" name="navigation"&gt;&lt;/td&gt;    &lt;td class="radio"&gt;&lt;input type="radio" value="5" name="navigation"&gt;&lt;/td&gt;  &lt;/tr&gt;  &lt;tr&gt;    &lt;td class="keyword"&gt;&lt;p&gt;Functions&lt;/p&gt;&lt;/td&gt;    &lt;td class="radio"&gt;&lt;input type="radio" value="1" name="funktionen"&gt;&lt;/td&gt;    &lt;td class="radio"&gt;&lt;input type="radio" value="2" name="funktionen"&gt;&lt;/td&gt;    &lt;td class="radio"&gt;&lt;input type="radio" value="3" name="funktionen"&gt;&lt;/td&gt;    &lt;td class="radio"&gt;&lt;input type="radio" value="4" name="funktionen"&gt;&lt;/td&gt;    &lt;td class="radio"&gt;&lt;input type="radio" value="5" name="funktionen"&gt;&lt;/td&gt;  &lt;/tr&gt;  &lt;tr&gt;    &lt;td class="keyword"&gt;&lt;p&gt;Overall impression&lt;/p&gt;&lt;/td&gt;    &lt;td class="radio"&gt;&lt;input type="radio" value="1" name="gesamteindruck"&gt;&lt;/td&gt;    &lt;td class="radio"&gt;&lt;input type="radio" value="2" name="gesamteindruck"&gt;&lt;/td&gt;    &lt;td class="radio"&gt;&lt;input type="radio" value="3" name="gesamteindruck"&gt;&lt;/td&gt;    &lt;td class="radio"&gt;&lt;input type="radio" value="4" name="gesamteindruck"&gt;&lt;/td&gt;    &lt;td class="radio"&gt;&lt;input type="radio" value="5" name="gesamteindruck"&gt;&lt;/td&gt;  &lt;/tr&gt;  &lt;tr&gt;    &lt;td class="feedbackButton" colspan="6"&gt;&lt;div class="footer_left"&gt; &lt;div class="linkbackground"&gt;&lt;a href="%BASEURL%/en/servicepages/feedback%SCRIPTEXTENSION%" class="feedbackform"&gt;To the detailed feedback form&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="footer_right"&gt; &lt;input title="Send" alt="send" type="image" name="submit" src="http://laut.iedit.geber.at/rwe/2009/en/layout/img/button_absenden.gif" id="sendButton"&gt;&lt;/div&gt;  &lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/form&gt;&lt;/div&gt;').replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/%BASEURL%/g,NexxarLib.getBaseURLPath()).replace(/%SCRIPTEXTENSION%/g,NexxarLib.getDefaultScriptExtension()));a.find("form").each(function(){$(this).attr("action","javascript:void(0);").submit(function(){nexxar_feedback_sendAnswer($(this).get(0));return false})});if($("#feedbackOpener").length>0){$("body").append(a)}$("#feedbackOpener").mouseover(function(){var b=$.cookies.get("rep2009-FeedBack");if(!b||b!="c"){$.cookies.set("rep2009-FeedBack","c");$(this).click()}});$("#feedbackOpener:not([rel^='lightbox'])").click(function(){var d={};var c=$(this).attr("rel");if(c){d=jQuery.array2Object(c.split(";"))}var b=parseFloat($("html").css("font-size"),10);if(d.width){d.width=NexxarLib.convertEM2PX(d.width)}if(d.height){d.height=NexxarLib.convertEM2PX(d.height)}return hs.htmlExpand($(this).get(0),jQuery.extend({maincontentId:"feedbackLayerContainer",align:"center",dimmingOpacity:0.4,wrapperClassName:"lightboxFeedback"},d))})});function nexxar_feedback_sendAnswer(g){if(!g||!g.action){g=document.feedbackform}if(!g){return true}var d="-";for(i=0;i<=4;i++){if(g.design[i].checked==true){d=g.design[i].value}}var c="-";for(i=0;i<=4;i++){if(g.navigation[i].checked==true){c=g.navigation[i].value}}var b="-";for(i=0;i<=4;i++){if(g.funktionen[i].checked==true){b=g.funktionen[i].value}}var e="-";for(i=0;i<=4;i++){if(g.gesamteindruck[i]&&g.gesamteindruck[i].checked==true){e=g.gesamteindruck[i].value}}var h="";var a=window.location.protocol+"//"+window.location.host+NexxarLib.getBaseURLPath()+"/servicepages/feedback.php?design="+d+"&navigation="+c+"&funktionen="+b+"&gesamteindruck="+e+"&feedbacktype=1&action=submit&xmlhttp=1";if(parent&&parent.hs){parent.hs.close()}else{if(hs){hs.close()}}$.ajax({type:"GET",url:a,dataType:"text",cache:false});return true}function nexxar_print_setImg(){$("#mainbar img").each(function(){if(this.src.indexOf("icon_remuneration.jpg")>=0||this.src.indexOf("icon_nomination.jpg")>=0||this.src.indexOf("icon_csr.jpg")>=0||this.src.indexOf("icon_audit.jpg")>=0){return}if(document.formular.setImg[0].checked){this.style.display="inline";this.parentNode.style.display="inline"}else{if(document.formular.setImg[1].checked){this.style.display="none";this.parentNode.style.display="none"}}})}$(document).ready(function(){$("#sendLinkOpener:not([rel^='lightbox'])").click(function(){return hs.htmlExpand($(this).get(0),{objectType:"iframe",preserveContent:false,width:550,height:340,dimmingOpacity:0.4,align:"center"})});var a;$("#bestellservice:not([rel^='lightbox'])").click(function(){return hs.htmlExpand($(this).get(0),{objectType:"iframe",preserveContent:false,width:520,height:540,dimmingOpacity:0.4,align:"center",headingText:'<div class="HeadingText"><strong>Order Service</strong></div><div class="headingClose"><a href="#" onclick="return hs.close(this);">close</a></div><div class="clearFloat"></div>'})});$("#printPopUpOpener:not([rel^='lightbox'])").click(function(){return !printPopUp($(this).attr("href"))})});var operabar=(window.opera?"=yes":"");function printPopUp(e){var a=680;var c=560;var b="";if(window.opera){b="=yes"}var d="gb2009_printPopUp";return PopUpOpenWindow(e,d,"resizable=yes, status=no, toolbar=no, scrollbars"+b,a,c)}function PopUpOpenWindow(k,c,b,a,g){var d;var j=navigator.userAgent.match(/Windows NT ([5-9]).([0-9])/);if(navigator.userAgent.match(/firefox/i)||j&&j[2]&&j[1]&&((j[2]>=1)||(j[2]>5))){if(navigator.userAgent.match(/ MSIE/)){g=g+20}else{g=g+15}}if(!k.match(/^(https?|file|ftp):\/\//i)&&typeof(geberPopUpBaseURL)=="string"&&geberPopUpBaseURL!=null&&geberPopUpBaseURL.length>0){k=geberPopUpBaseURL+"/"+k}if(!b){b=""}try{d=window.open(k,c,b+",width="+a+",height="+g)}catch(l){return false}try{d.resizeTo(a,g)}catch(l){}try{d.focus()}catch(l){}return true}window.setTimeout("nexxar_doPreLoadGWSImage()",50);function nexxar_doPreLoadGWSImage(){var c=window.location;var a=document.referrer==null?"":document.referrer;if((a==""||a.length<=0)&&(opener)){try{a=opener.location}catch(b){}}geber_doGWSImage(c,a)}function nexxar_gwsPrepareDownload(a,g){try{if(g){var d=g.protocol+"//"+g.host;var b=g.pathname.replace(/downloads?\.php[3-9]?\?file=/,"");if(b.substr(0,1)!="/"){d+="/"}d+=b+g.search+g.hash;g.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,g){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 g=g?escape(g):"";var d="http://gws.geber.de/rwe/gws.gif?js=1&ref="+g+"&pg="+j+"&rep=rwe-IR2009";try{d+="&screen="+screen.width+"x"+screen.height}catch(h){}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(){$("html").css("font-size",$("html").attr("originalFontSize"));$.cookies.set("rwe-fontSize",0);$("html").trigger("fontSizeChanged",[parseFloat($("html").css("font-size"),10)])});$("#increaseFontSize").click(function(){$("html").css("font-size",parseFloat($("html").css("font-size"),10)*1.1);var b=$.cookies.get("rwe-fontSize");if(b){b=parseInt(b)}if(b&&!isNaN(b)){b++}else{b=1}$.cookies.set("rwe-fontSize",b);$("html").trigger("fontSizeChanged",[parseFloat($("html").css("font-size"),10)]);return false});$("#decreaseFontSize").click(function(){$("html").css("font-size",parseFloat($("html").css("font-size"),10)*0.91);var b=$.cookies.get("rwe-fontSize");if(b){b=parseInt(b)}if(b&&!isNaN(b)){b--}else{b=-1}$.cookies.set("rwe-fontSize",b);$("html").trigger("fontSizeChanged",[parseFloat($("html").css("font-size"),10)]);return false});var a=$.cookies.get("rwe-fontSize");if(a){a=parseInt(a);if(a&&!isNaN(a)&&a!=0){while(a>0){$("html").css("font-size",parseFloat($("html").css("font-size"),10)*1.1);a--}while(a<0){$("html").css("font-size",parseFloat($("html").css("font-size"),10)*0.91);a++}$("html").trigger("fontSizeChanged",[parseFloat($("html").css("font-size"),10)])}}});jQuery.fn.extend(NexxarLib,{keywordsOnSubmit:function(b){if(!b){b=document.keywordsearch}if(!b||!b.elements||b.elements.q||!b.elements.q.value){return false}var c=String(b.elements.q.value).toLowerCase();var a=window.location.protocol+"//"+window.location.host+window.location.pathname;if(url.match(/\.(html|php|asp|jsp)/)){url=url.replace(/.(html|php|asp|jsp)/,"/"+c+NexxarLib.defaultExtension)}else{url+="?q="+c}document.location.href=url;return true}});$(document).ready(function(){$(document.keywordsearch).submit(function(a){NexxarLib.keywordsOnSubmit(this)})});
