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

Licence: da23516c5f6529e3479f9731258a2ae8
Highslide JS is licensed under a Creative Commons Attribution-NonCommercial 2.5
License (http://creativecommons.org/licenses/by-nc/2.5/).

*/
var hs={lang:{cssDirection:"ltr",loadingText:"Loading...",loadingTitle:"Click to cancel",focusTitle:"Click to bring to front",fullExpandTitle:"Expand to actual size (f)",creditsText:"Powered by <i>Highslide JS",creditsTitle:"Highslide JS homepage",previousText:"Previous",nextText:"Next",moveText:"Move",closeText:"Close",closeTitle:"Close (esc)",resizeTitle:"Resize",playText:"Play",playTitle:"Play slideshow (spacebar)",pauseText:"Pause",pauseTitle:"Pause slideshow (spacebar)",previousTitle:"Previous (arrow left)",nextTitle:"Next (arrow right)",moveTitle:"Move",fullExpandText:"Full size",number:"Image %1 of %2",restoreTitle:unescape("Click to close image, click and drag to move. Use arrow keys for next and previous.")},graphicsDir:"/layout/img/hslide_",outlinesDir:"ol_",expandCursor:"/../../files/hslide_zoomin.cur",restoreCursor:false,expandDuration:250,restoreDuration:250,marginLeft:15,marginRight:15,marginTop:15,marginBottom:15,zIndexCounter:1001,loadingOpacity:0.5,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.5,dimmingDuration:0,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:null,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-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,j=window,l=e.compatMode&&e.compatMode!="BackCompat"?e.documentElement:e.body;var h=e.body;var m=(j.innerWidth&&j.scrollMaxX)?j.innerWidth+j.scrollMaxX:Math.max(h.scrollWidth,h.offsetWidth),g=(j.innerHeight&&window.scrollMaxY)?j.innerHeight+j.scrollMaxY:Math.max(h.scrollHeight,h.offsetHeight),i=hs.ie?l.scrollWidth:(e.documentElement.clientWidth||self.innerWidth),c=hs.ie?Math.max(l.scrollHeight,l.clientHeight):(e.documentElement.clientHeight||self.innerHeight);var a=hs.ie?l.clientWidth:(e.documentElement.clientWidth||self.innerWidth),k=hs.ie?l.clientHeight:self.innerHeight;return{pageWidth:Math.max(i,m),pageHeight:Math.max(c,g),width:a,height:k,scrollLeft:hs.ie?l.scrollLeft:pageXOffset,scrollTop:hs.ie?l.scrollTop:pageYOffset}},getPosition:function(c){if(/area/i.test(c.tagName)){var e=document.getElementsByTagName("img");for(var b=0;b<e.length;b++){var a=e[b].useMap;if(a&&a.replace(/^.*?#/,"")==c.parentNode.name){c=e[b];break}}}var d={x:c.offsetLeft,y:c.offsetTop};while(c.offsetParent){c=c.offsetParent;d.x+=c.offsetLeft;d.y+=c.offsetTop;if(c!=document.body&&c!=document.documentElement){d.x-=c.scrollLeft;d.y-=c.scrollTop}}return d},expand:function(b,j,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,i,h){return i*g/h+e};Math.easeInQuad=function(g,e,i,h){return i*(g/=h)*g+e};Math.easeInOutQuad=function(g,e,i,h){if((g/=h/2)<1){return i/2*g*g+e}return -i/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,false);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 j=hs.clearing.cloneNode(1);this.body.appendChild(j);this.newWidth=this.innerContent.offsetWidth;if(!this.objectWidth){this.objectWidth=j.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 i=b.params;if(b.params&&b.attributes){for(myAttr in b.attributes){if(!i[myAttr]){i[myAttr]=b.attributes[myAttr]}}}else{if(!b.params&&b.attributes){i=b.attributes}}$("#"+this.body.id).flash({swf:this.src,flashvars:b.flashvars,paramAttributes:i})}}}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,i=g.target,e=g==this.x?"x":"y";if(i&&i.match(/ /)){h=i.split(" ");i=h[0]}if(i&&hs.$(i)){g.pos=hs.getPosition(hs.$(i))[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 p=d,i={};for(var c in l){i[c]=h(n,l[c],m[c]-l[c],a);if(isNaN(i[c])){i[c]=m[c]}if(!/^op$/.test(c)){i[c]=Math.round(i[c])}}setTimeout(function(){if(e&&p==1){b.content.style.visibility="visible";b.a.className+=" highslide-active-anchor"}b.setSize(i)},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 i=a?g.o-c:h.o-c;setTimeout(function(){e.outline.setPosition(e,{x:(e.x.pos+i),y:(e.y.pos+i),w:(e.x.size-2*i+e.x.p1+e.x.p2),h:(e.y.size-2*i+e.y.p1+e.y.p2)},1)},d)})()}}if(a){setTimeout(function(){e.afterExpand()},d+50)}else{setTimeout(function(){if(e.outline){e.outline.destroy(e.preserveContent)}hs.fade(e.wrapper,1,0);setTimeout(function(){e.afterClose()},250)},d)}},crossfade:function(c,l,m){if(!c){return}var a=this,j=parseInt(hs.transitionDuration/25)||1,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 p={},q=b;for(var i in l){var r=g(o,l[i],m[i]-l[i],hs.transitionDuration);if(isNaN(r)){r=m[i]}p[i]=(i!="o")?Math.round(r):r}setTimeout(function(){a.crossfadeStep(p)},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,l,k,g,j){if(h==0){return e}if((h/=k)==1){return e+l}if(!j){j=k*0.3}if(g<Math.abs(l)){g=l;var i=j/4}else{var i=j/(2*Math.PI)*Math.asin(l/g)}return -(g*Math.pow(2,10*(h-=1))*Math.sin((h*k-i)*(2*Math.PI)/j))+e};Math.easeOutElastic=function(h,e,l,k,g,j){if(h==0){return e}if((h/=k)==1){return e+l}if(!j){j=k*0.3}if(g<Math.abs(l)){g=l;var i=j/4}else{var i=j/(2*Math.PI)*Math.asin(l/g)}return g*Math.pow(2,-10*h)*Math.sin((h*k-i)*(2*Math.PI)/j)+l+e};Math.easeInOutElastic=function(h,e,l,k,g,j){if(h==0){return e}if((h/=k/2)==2){return e+l}if(!j){j=k*(0.3*1.5)}if(g<Math.abs(l)){g=l;var i=j/4}else{var i=j/(2*Math.PI)*Math.asin(l/g)}if(h<1){return -0.5*(g*Math.pow(2,10*(h-=1))*Math.sin((h*k-i)*(2*Math.PI)/j))+e}return g*Math.pow(2,-10*(h-=1))*Math.sin((h*k-i)*(2*Math.PI)/j)*0.5+l+e};Math.easeInBack=function(e,a,i,h,g){if(g==undefined){g=1.70158}return i*(e/=h)*e*((g+1)*e-g)+a};Math.easeOutBack=function(e,a,i,h,g){if(g==undefined){g=1.70158}return i*((e=e/h-1)*e*((g+1)*e+g)+1)+a};Math.easeInOutBack=function(e,a,i,h,g){if(g==undefined){g=1.70158}if((e/=h/2)<1){return i/2*(e*e*(((g*=(1.525))+1)*e-g))+a}return i/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}};$(document).ready(function(){$("[rel^='lightbox']").each(function(){$(this).click(function(){var a=$(this).attr("rev");if(a){a=jQuery.array2Object(String(a).split(/;/))}if(!a){a={}}if($(this).attr("rel").indexOf("[tablepopup]")>0){a=jQuery.extend({objectType:"iframe",width:"890px",height:"370px"},a)}if(a.width){a.width=NexxarLib.convertEM2PX(a.width)}if(a.height){a.height=NexxarLib.convertEM2PX(a.height)}if(a.href&&a.href.length>0&&$(this).attr("href")&&!$(this).attr("oldHREF")){$(this).attr("oldHREF",$(this).attr("href")).attr("href",a.href)}else{if(a.src&&a.src.length>0&&$(this).attr("href")&&!$(this).attr("oldHREF")){$(this).attr("oldHREF",$(this).attr("href")).attr("href",a.src)}}if($(this).attr("href").match(/\.(png|jpe?g|gif)/)){a=jQuery.extend({restoreDuration:500,expandDuration:500,easing:"easeOutBack",easingClose:"easeInBack",align:"center",src:a.href},a);return hs.expand($(this).get(0),a)}else{a=jQuery.extend({objectType:"iframe",width:890,height:370,align:"center"},a);a=jQuery.extend(a,{maxHeight:a.height});return hs.htmlExpand($(this).get(0),a)}})})});var NexxarLib={currentPageID:-1,pageBaseURL:"/",defaultExtension:".html",defaultScriptExtension:".php",convertEM2PX:function(b,a){if(!a){a=parseFloat($("html").css("font-size"),10)}if(b&&/^.*\dem$/.test(b)){return parseFloat(b,10)*a}else{if(b&&/^.*\d%$/.test(b)){return parseFloat(b,10)*100*a}else{if(b){return parseFloat(b,10)}}}return 0},activateLibrary:function(a,c){this.detectBasePath(a);this.currentPageID=c;try{$.cookies.setOptions({path:this.getBaseURLPath()})}catch(b){}if(hs.graphicsDir){hs.graphicsDir=this.getBaseURLPath()+hs.graphicsDir}},getBaseURLPath:function(){if(this.pageBaseURL&&this.pageBaseURL!="/"){return this.pageBaseURL}else{return""}},getBaseURLFull:function(){return window.location.protocol+"//"+window.location.host+this.getBaseURLPath()},getDefaultPageExtension:function(){if(window.location.pathname.match(/\.html$/i)){return".html"}else{if(window.location.pathname.match(/\.(php|asp|jsp|jserv)$/i)&&!this.defaultExtension){return"."+RegExp.$1}}return this.defaultExtension},getPageDefaultExtension:function(){return this.getDefaultPageExtension()},getDefaultScriptExtension:function(){if(window.location.pathname.match(/\.(php|asp|jsp|jserv)$/i)){return"."+RegExp.$1}return this.defaultScriptExtension},getScriptDefaultExtension:function(){return this.getDefaultScriptExtension()},detectBasePath:function(a){if(!a){return}a=String(a).replace(new RegExp("^(/(de|en|fr|it|es|en|nl))+/"),"/");if(a.match(/.(html?|php|asp|jsp|jserv)$/i)){this.defaultExtension=RegExp.$1;a=a.substring(0,a.length-this.defaultExtension.length-1)}var b=String(window.location.pathname).replace(/\\/g,"/");var c=(a!="/")?b.indexOf(a):-1;if(window.location.protocol.match(/file/i)&&(navigator.userAgent.match(/Windows|Win(NT|95|98|XP|16|32)/i)||navigator.platform.match(/Windows|Win(NT|95|98|XP|16|32)/i))&&b.substr(0,1)=="/"&&b.length>1){b=b.substr(1)}if(c<0){c=b.indexOf("/serviceseiten/suche")}if(c<0){c=b.indexOf("/servicepages/search")}if(c<0){c=b.indexOf("/servicepages")}if(c<0){c=b.indexOf("/serviceseiten")}if(c<0){c=b.indexOf("/en/servicepages/filelibrary/files/collection.php")}if(c<0){c=b.indexOf("/en/servicepages")}if(c>=0){this.pageBaseURL=b.substring(0,c)}else{if(a=="/"){this.pageBaseURL=b}else{this.pageBaseURL="/"}}if(this.pageBaseURL.substr(this.pageBaseURL.length-1,1)=="/"&&this.pageBaseURL.length>1){this.pageBaseURL=this.pageBaseURL.substring(0,this.pageBaseURL.length-1)}if(window.location.protocol.match(/file/i)&&(navigator.userAgent.match(/Windows|Win(NT|95|98|XP|16|32)/i)||navigator.platform.match(/Windows|Win(NT|95|98|XP|16|32)/i))&&this.pageBaseURL.length>1){this.pageBaseURL=window.location.protocol+"///"+this.pageBaseURL}else{if(window.location.protocol.match(/file/i)&&this.pageBaseURL.length>1){this.pageBaseURL=window.location.protocol+"//"+this.pageBaseURL}}},stripTags:function(a){if(!a||(typeof(a)!="string")||(a.length<=0)){return""}a=a.replace(/<script.*<\/script[^>]*>/gi,"");a=a.replace(/<style.*<\/style[^>]*>/gi,"");a=a.replace(/<head.*<\/head[^>]*>/gi,"");a=a.replace(/<[^>]*>/gi,"");a=a.replace(/[^-_,;:\/&\w+0-9a-zA-Z|"'\.]/gi,"");return a},getQueryParam:function(c){if((c==null)||(typeof(c)!="string")||(c.length<=0)){c="q"}var b=$.query.get(c);b=b.replace(/[\r\n\t]+/gi," ");var a=new RegExp("["+String.fromCharCode(0)+"-"+String.fromCharCode(31)+String.fromCharCode(96)+"]","gi");b=b.replace(a,"");a=new RegExp(String.fromCharCode(160)+"+","gi");b=b.replace(a," ");if(b.match(/<.?(script|style)/gi)){return""}b=this.stripTags(b);b=b.replace(/[^-_:;,0-9a-zA-Z\w\/\.=]/gi,"");return b}};function VideoTracking(){}function closeMovie(a,b){if(parent&&!b){return parent.closeMovie(a,true)}try{hs.close()}catch(c){}if(db_resizedMovie&&db_resizedMovie.id){$(db_resizedMovie.id+" iframe").attr("src",db_resizedMovie.url);db_resizedMovie={}}}var db_resizedMovie={};function resizeMe(b,d){if(parent&&!d){return parent.resizeMe(b,true)}var a=["27586","27587","27588"];for(var c=0;c<a.length;c++){if(a[c]==b){$("#videoResizeLink"+c).click();break}}return"<span></span>"}$(document).ready(function(){var c=$.flashPlayerVersion;if(c[0]<8){return}var d=new Date();d=d.getTime();var b=[new Date(2010,2,1),new Date(2010,2,1),new Date(2010,2,1)];var h=[NexxarLib.getBaseURLPath()+"/servicepages/videos/dawn"+NexxarLib.getDefaultPageExtension(),NexxarLib.getBaseURLPath()+"/servicepages/videos/greentowers"+NexxarLib.getDefaultPageExtension(),NexxarLib.getBaseURLPath()+"/servicepages/videos/more-than-money"+NexxarLib.getDefaultPageExtension()];var a=["Times are changing.<br>We are ready.","Green Towers","More than money"];for(var g=1;g<=3;g++){if(d>b[g-1].getTime()){continue}if($("#videoTeaser"+g).length<=0){continue}var j=g-1;var e='<div class="videoteaser"><div class="linkbox"><h4>'+a[j]+'</h4><div class="linkboxBody" style="height: 151px;"><iframe src="'+h[j]+'?small" width="184" height="151" allowtransparency="true" cellspacing="0" noresize="noresize" border="0" frameborder="0" hspace="0" vspace="0" marginwidth="0" marginheight="0" scrolling="no"></iframe></div><a id="videoResizeLink'+j+'" href="'+h[j]+'">[Watch...]</a></div></div>';$("#videoTeaser"+g).html(e).find("#videoResizeLink"+j).click(function(){var k=parseInt($(this).attr("id").replace(/videoResizeLink/,""));db_resizedMovie={url:h[k]+"?small",id:"#videoTeaser"+(k+1)};var l=[380+74,215+122];if(k==1){l=[968+74,550+122]}var i=jQuery.extend({},{objectType:"iframe",width:l[0],height:l[1],align:"center"});return hs.htmlExpand($(this).get(0),i)});e=""}});function nexxar_print_setImg(){$("#mainbar img").each(function(){var a=$(this).attr("oldDisplay");if(document.formular.setImg[0].checked){if(!a){return}else{$(this).css("display",a)}a=$(this).parent().attr("oldDisplay");if(!a){return}else{$(this).parent().css("display",a)}}else{if(document.formular.setImg[1].checked){if(!a){$(this).attr("oldDisplay",$(this).css("display")).parent().attr("oldDisplay",$(this).parent().css("display"))}$(this).css("display","none").parent().css("display","none")}}});$("#mainbar div.bildunterschrift").each(function(){var a=$(this).attr("oldDisplay");if(document.formular.setImg[0].checked){if(!a){return}else{$(this).css("display",a)}}else{if(document.formular.setImg[1].checked){if(!a){$(this).attr("oldDisplay",$(this).css("display"))}$(this).css("display","none")}}});if(document.formular.setImg[0].checked){$("#popupWrapper").addClass("visibleImages").removeClass("hiddenImages")}else{$("#popupWrapper").removeClass("visibleImages").addClass("hiddenImages")}}function change_size(a,b){if(!document.getElementById("small")){return}document.getElementById("small").disabled=true;document.getElementById("medium").disabled=true;document.getElementById("large").disabled=true;document.getElementById(a).disabled=false;$.cookies.set("fontsize",a);if(b!="first_time"){set_size_button(a)}}function set_feedSize(){if(!document.getElementById("small")){return}sizeToSet=document.location.href.split("?")[1];if(sizeToSet){document.getElementById("small").disabled=true;document.getElementById("medium").disabled=true;document.getElementById("large").disabled=true;document.getElementById(sizeToSet).disabled=false}}function set_size_button(a){if(!document.getElementById("small")){return}var b=NexxarLib.getBaseURLPath();document.getElementById("button_small").style.backgroundImage="url("+b+"/layout/img/bg_schriftgroesse.gif)";document.getElementById("button_medium").style.backgroundImage="url("+b+"/layout/img/bg_schriftgroesse.gif)";document.getElementById("button_large").style.backgroundImage="url("+b+"/layout/img/bg_schriftgroesse.gif)";document.getElementById("button_"+a).style.backgroundImage="url("+b+"/layout/img/bg_schriftgroesse_x.gif)"}var current_style;function set_size_first_time(){if(!document.getElementById("small")){return}current_style=$.cookies.get("fontsize");if(!current_style||String(current_style).length<=0){document.getElementById("small").disabled=false;current_style="small"}else{current_style=$.cookies.get("fontsize");change_size(current_style,"first_time")}}set_size_first_time();$(document).ready(function(){$("#sendLinkOpener:not([rel^='lightbox'])").click(function(){return hs.htmlExpand($(this).get(0),{objectType:"iframe",preserveContent:false,width:736,height:520,align:"center"})});$("#printPopUpOpener:not([rel^='lightbox'])").click(function(){return hs.htmlExpand($(this).get(0),{objectType:"iframe",preserveContent:true,width:750,height:550,align:"center"})});$("#fileLibraryOpener:not([rel^='lightbox']), a[rel='filelibrary']").click(function(){return hs.htmlExpand($(this).get(0),{objectType:"iframe",preserveContent:false,width:730,height:340,align:"center"})})});var operabar=(window.opera?"=yes":"");function searchResultPopUp(d,a){var g=600;var b=717;if(d==null||a==null){return true}var e="?target=_blank";for(var c=0;c<d.elements.length;c++){var j=d.elements[c];if(e.length>1){e+="&"}e+=j.name+"="+escape(j.value)}return PopUpOpenWindow(a+e,"searchPopUp"+Math.floor(Math.random()*99999),"toolbar=yes,location=no,directories=no,scrollbars=yes,status=yes,menubar=no,resizable=yes",b,g)}function printPopUp(e){var a=680;var c=560;var b="";if(window.opera){b="=yes"}var d="gb2008_printPopUp";return PopUpOpenWindow(e,d,"resizable=yes, status=no, toolbar=no, scrollbars"+b,a,c)}function PopUpOpenWindow(j,c,b,a,g){var d;var i=navigator.userAgent.match(/Windows NT ([5-9]).([0-9])/);if(navigator.userAgent.match(/firefox/i)||i&&i[2]&&i[1]&&((i[2]>=1)||(i[2]>5))){if(navigator.userAgent.match(/ MSIE/)){g=g+20}else{g=g+15}}if(!j.match(/^(https?|file|ftp):\/\//i)&&typeof(geberPopUpBaseURL)=="string"&&geberPopUpBaseURL!=null&&geberPopUpBaseURL.length>0){j=geberPopUpBaseURL+"/"+j}if(!b){b=""}try{d=window.open(j,c,b+",width="+a+",height="+g)}catch(k){return false}try{d.resizeTo(a,g)}catch(k){}try{d.focus()}catch(k){}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 geber_gwsPrepareDownload(a,b){nexxar_gwsPrepareDownload(a,b)}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){var j=escape(b);var g=g?escape(g):"";var d="http://gws.geber.de/dbank/gws.gif?js=1&ref="+g+"&pg="+j+"&rep=deuba-2008";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+="&SESSID="+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")}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)})});