﻿/*
 * jQuery JavaScript Library v1.3.2
 * http://jquery.com/
 *
 * Copyright (c) 2009 John Resig
 * Dual licensed under the MIT and GPL licenses.
 * http://docs.jquery.com/License
 *
 * Date: 2009-02-19 17:34:21 -0500 (Thu, 19 Feb 2009)
 * Revision: 6246
 */
(function(){var s=this,w,g=s.jQuery,j=s.$,m=s.jQuery=s.$=function(F,E){return new m.fn.init(F,E)},f=/^[^<]*(<(.|\s)+>)[^>]*$|^#([\w-]+)$/,z=/^.[^:#\[\.,]*$/;m.fn=m.prototype={init:function(H,G){H=H||document;if(H.nodeType){this[0]=H;this.length=1;this.context=H;return this}if(typeof H==="string"){var E=f.exec(H);if(E&&(E[1]||!G)){if(E[1]){H=m.clean([E[1]],G)}else{var F=document.getElementById(E[3]);if(F&&F.id!=E[3]){return m().find(H)}var I=m(F||[]);I.context=document;I.selector=H;return I}}else{return m(G).find(H)}}else{if(m.isFunction(H)){return m(document).ready(H)}}if(H.selector&&H.context){this.selector=H.selector;this.context=H.context}return this.setArray(m.isArray(H)?H:m.makeArray(H))},selector:"",jquery:"1.3.2",size:function(){return this.length},get:function(E){return E===w?Array.prototype.slice.call(this):this[E]},pushStack:function(H,E,G){var F=m(H);F.prevObject=this;F.context=this.context;if(E==="find"){F.selector=this.selector+(this.selector?" ":"")+G}else{if(E){F.selector=this.selector+"."+E+"("+G+")"}}return F},setArray:function(E){this.length=0;Array.prototype.push.apply(this,E);return this},each:function(F,E){return m.each(this,F,E)},index:function(E){return m.inArray(E&&E.jquery?E[0]:E,this)},attr:function(E,H,F){var G=E;if(typeof E==="string"){if(H===w){return this[0]&&m[F||"attr"](this[0],E)}else{G={};G[E]=H}}return this.each(function(I){for(E in G){m.attr(F?this.style:this,E,m.prop(this,G[E],F,I,E))}})},css:function(F,E){if((F=="width"||F=="height")&&parseFloat(E)<0){E=w}return this.attr(F,E,"curCSS")},text:function(F){if(typeof F!=="object"&&F!=null){return this.empty().append((this[0]&&this[0].ownerDocument||document).createTextNode(F))}var E="";m.each(F||this,function(){m.each(this.childNodes,function(){if(this.nodeType!=8){E+=this.nodeType!=1?this.nodeValue:m.fn.text([this])}})});return E},wrapAll:function(E){if(this[0]){var F=m(E,this[0].ownerDocument).clone();if(this[0].parentNode){F.insertBefore(this[0])}F.map(function(){var G=this;while(G.firstChild){G=G.firstChild}return G}).append(this)}return this},wrapInner:function(E){return this.each(function(){m(this).contents().wrapAll(E)})},wrap:function(E){return this.each(function(){m(this).wrapAll(E)})},append:function(){return this.domManip(arguments,true,function(E){if(this.nodeType==1){this.appendChild(E)}})},prepend:function(){return this.domManip(arguments,true,function(E){if(this.nodeType==1){this.insertBefore(E,this.firstChild)}})},before:function(){return this.domManip(arguments,false,function(E){this.parentNode.insertBefore(E,this)})},after:function(){return this.domManip(arguments,false,function(E){this.parentNode.insertBefore(E,this.nextSibling)})},end:function(){return this.prevObject||m([])},push:[].push,sort:[].sort,splice:[].splice,find:function(E){if(this.length===1){var F=this.pushStack([],"find",E);F.length=0;m.find(E,this[0],F);return F}else{return this.pushStack(m.unique(m.map(this,function(G){return m.find(E,G)})),"find",E)}},clone:function(F){var H=this.map(function(){if(!m.support.noCloneEvent&&!m.isXMLDoc(this)){var J=this.outerHTML;if(!J){var I=this.ownerDocument.createElement("div");I.appendChild(this.cloneNode(true));J=I.innerHTML}return m.clean([J.replace(/ jQuery\d+="(?:\d+|null)"/g,"").replace(/^\s*/,"")])[0]}else{return this.cloneNode(true)}});if(F===true){var E=this.find("*").andSelf(),G=0;H.find("*").andSelf().each(function(){if(this.nodeName!==E[G].nodeName){return}var J=m.data(E[G],"events");for(var K in J){for(var I in J[K]){m.event.add(this,K,J[K][I],J[K][I].data)}}G++})}return H},filter:function(E){return this.pushStack(m.isFunction(E)&&m.grep(this,function(F,G){return E.call(F,G)})||m.multiFilter(E,m.grep(this,function(F){return F.nodeType===1})),"filter",E)},closest:function(F){var E=m.expr.match.POS.test(F)?m(F):null,G=0;return this.map(function(){var H=this;while(H&&H.ownerDocument){if(E?E.index(H)>-1:m(H).is(F)){m.data(H,"closest",G);return H}H=H.parentNode;G++}})},not:function(F){if(typeof F==="string"){if(z.test(F)){return this.pushStack(m.multiFilter(F,this,true),"not",F)}else{F=m.multiFilter(F,this)}}var E=F.length&&F[F.length-1]!==w&&!F.nodeType;return this.filter(function(){return E?m.inArray(this,F)<0:this!=F})},add:function(E){return this.pushStack(m.unique(m.merge(this.get(),typeof E==="string"?m(E):m.makeArray(E))))},is:function(E){return !!E&&m.multiFilter(E,this).length>0},hasClass:function(E){return !!E&&this.is("."+E)},val:function(F){if(F===w){var L=this[0];if(L){if(m.nodeName(L,"option")){return(L.attributes.value||{}).specified?L.value:L.text}if(m.nodeName(L,"select")){var G=L.selectedIndex,H=[],E=L.options,K=L.type=="select-one";if(G<0){return null}for(var J=K?G:0,M=K?G+1:E.length;J<M;J++){var I=E[J];if(I.selected){F=m(I).val();if(K){return F}H.push(F)}}return H}return(L.value||"").replace(/\r/g,"")}return w}if(typeof F==="number"){F+=""}return this.each(function(){if(this.nodeType!=1){return}if(m.isArray(F)&&/radio|checkbox/.test(this.type)){this.checked=(m.inArray(this.value,F)>=0||m.inArray(this.name,F)>=0)}else{if(m.nodeName(this,"select")){var N=m.makeArray(F);m("option",this).each(function(){this.selected=(m.inArray(this.value,N)>=0||m.inArray(this.text,N)>=0)});if(!N.length){this.selectedIndex=-1}}else{this.value=F}}})},html:function(E){return E===w?(this[0]?this[0].innerHTML.replace(/ jQuery\d+="(?:\d+|null)"/g,""):null):this.empty().append(E)},replaceWith:function(E){return this.after(E).remove()},eq:function(E){return this.slice(E,+E+1)},slice:function(){return this.pushStack(Array.prototype.slice.apply(this,arguments),"slice",Array.prototype.slice.call(arguments).join(","))},map:function(E){return this.pushStack(m.map(this,function(F,G){return E.call(F,G,F)}))},andSelf:function(){return this.add(this.prevObject)},domManip:function(J,L,M){if(this[0]){var G=(this[0].ownerDocument||this[0]).createDocumentFragment(),I=m.clean(J,(this[0].ownerDocument||this[0]),G),K=G.firstChild;if(K){for(var E=0,H=this.length;E<H;E++){M.call(F(this[E],K),this.length>1||E>0?G.cloneNode(true):G)}}if(I){m.each(I,e)}}return this;function F(N,O){return L&&m.nodeName(N,"table")&&m.nodeName(O,"tr")?(N.getElementsByTagName("tbody")[0]||N.appendChild(N.ownerDocument.createElement("tbody"))):N}}};m.fn.init.prototype=m.fn;function e(F,E){if(E.src){m.ajax({url:E.src,async:false,dataType:"script"})}else{m.globalEval(E.text||E.textContent||E.innerHTML||"")}if(E.parentNode){E.parentNode.removeChild(E)}}function a(){return +new Date}m.extend=m.fn.extend=function(){var K=arguments[0]||{},I=1,J=arguments.length,G=false,E;if(typeof K==="boolean"){G=K;K=arguments[1]||{};I=2}if(typeof K!=="object"&&!m.isFunction(K)){K={}}if(J==I){K=this;--I}for(;I<J;I++){if((E=arguments[I])!=null){for(var F in E){var L=K[F],H=E[F];if(K===H){continue}if(G&&H&&typeof H==="object"&&!H.nodeType){K[F]=m.extend(G,L||(H.length!=null?[]:{}),H)}else{if(H!==w){K[F]=H}}}}}return K};var t=/z-?index|font-?weight|opacity|zoom|line-?height/i,A=document.defaultView||{},h=Object.prototype.toString;m.extend({noConflict:function(E){s.$=j;if(E){s.jQuery=g}return m},isFunction:function(E){return h.call(E)==="[object Function]"},isArray:function(E){return h.call(E)==="[object Array]"},isXMLDoc:function(E){return E.nodeType===9&&E.documentElement.nodeName!=="HTML"||!!E.ownerDocument&&m.isXMLDoc(E.ownerDocument)},globalEval:function(G){if(G&&/\S/.test(G)){var E=document.getElementsByTagName("head")[0]||document.documentElement,F=document.createElement("script");F.type="text/javascript";if(m.support.scriptEval){F.appendChild(document.createTextNode(G))}else{F.text=G}E.insertBefore(F,E.firstChild);E.removeChild(F)}},nodeName:function(F,E){return F.nodeName&&F.nodeName.toUpperCase()==E.toUpperCase()},each:function(G,K,F){var E,H=0,J=G.length;if(F){if(J===w){for(E in G){if(K.apply(G[E],F)===false){break}}}else{for(;H<J;){if(K.apply(G[H++],F)===false){break}}}}else{if(J===w){for(E in G){if(K.call(G[E],E,G[E])===false){break}}}else{for(var I=G[0];H<J&&K.call(I,H,I)!==false;I=G[++H]){}}}return G},prop:function(G,E,H,I,F){if(m.isFunction(E)){E=E.call(G,I)}return typeof E==="number"&&H=="curCSS"&&!t.test(F)?E+"px":E},className:{add:function(E,F){m.each((F||"").split(/\s+/),function(H,G){if(E.nodeType==1&&!m.className.has(E.className,G)){E.className+=(E.className?" ":"")+G}})},remove:function(E,F){if(E.nodeType==1){E.className=F!==w?m.grep(E.className.split(/\s+/),function(G){return !m.className.has(F,G)}).join(" "):""}},has:function(E,F){return E&&m.inArray(F,(E.className||E).toString().split(/\s+/))>-1}},swap:function(G,H,I){var E={};for(var F in H){E[F]=G.style[F];G.style[F]=H[F]}I.call(G);for(var F in H){G.style[F]=E[F]}},css:function(J,I,L,K){if(I=="width"||I=="height"){var H,G={position:"absolute",visibility:"hidden",display:"block"},F=I=="width"?["Left","Right"]:["Top","Bottom"];function E(){H=I=="width"?J.offsetWidth:J.offsetHeight;if(K==="border"){return}m.each(F,function(){if(!K){H-=parseFloat(m.curCSS(J,"padding"+this,true))||0}if(K==="margin"){H+=parseFloat(m.curCSS(J,"margin"+this,true))||0}else{H-=parseFloat(m.curCSS(J,"border"+this+"Width",true))||0}})}if(J.offsetWidth!==0){E()}else{m.swap(J,G,E)}return Math.max(0,Math.round(H))}return m.curCSS(J,I,L)},curCSS:function(K,G,M){var E,L=K.style;if(G=="opacity"&&!m.support.opacity){E=m.attr(L,"opacity");return E==""?"1":E}if(G.match(/float/i)){G=y}if(!M&&L&&L[G]){E=L[G]}else{if(A.getComputedStyle){if(G.match(/float/i)){G="float"}G=G.replace(/([A-Z])/g,"-$1").toLowerCase();var J=A.getComputedStyle(K,null);if(J){E=J.getPropertyValue(G)}if(G=="opacity"&&E==""){E="1"}}else{if(K.currentStyle){var H=G.replace(/\-(\w)/g,function(O,N){return N.toUpperCase()});E=K.currentStyle[G]||K.currentStyle[H];if(!/^\d+(px)?$/i.test(E)&&/^\d/.test(E)){var F=L.left,I=K.runtimeStyle.left;K.runtimeStyle.left=K.currentStyle.left;L.left=E||0;E=L.pixelLeft+"px";L.left=F;K.runtimeStyle.left=I}}}}return E},clean:function(I,K,F){K=K||document;if(typeof K.createElement==="undefined"){K=K.ownerDocument||K[0]&&K[0].ownerDocument||document}if(!F&&I.length===1&&typeof I[0]==="string"){var J=/^<(\w+)\s*\/?>$/.exec(I[0]);if(J){return[K.createElement(J[1])]}}var G=[],L=[],H=K.createElement("div");m.each(I,function(Q,N){if(typeof N==="number"){N+=""}if(!N){return}if(typeof N==="string"){N=N.replace(/(<(\w+)[^>]*?)\/>/g,function(U,V,T){return T.match(/^(abbr|br|col|img|input|link|meta|param|hr|area|embed)$/i)?U:V+"></"+T+">"});var M=N.replace(/^\s+/,"").substring(0,10).toLowerCase();var S=!M.indexOf("<opt")&&[1,"<select multiple='multiple'>","</select>"]||!M.indexOf("<leg")&&[1,"<fieldset>","</fieldset>"]||M.match(/^<(thead|tbody|tfoot|colg|cap)/)&&[1,"<table>","</table>"]||!M.indexOf("<tr")&&[2,"<table><tbody>","</tbody></table>"]||(!M.indexOf("<td")||!M.indexOf("<th"))&&[3,"<table><tbody><tr>","</tr></tbody></table>"]||!M.indexOf("<col")&&[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"]||!m.support.htmlSerialize&&[1,"div<div>","</div>"]||[0,"",""];H.innerHTML=S[1]+N+S[2];while(S[0]--){H=H.lastChild}if(!m.support.tbody){var P=/<tbody/i.test(N),O=!M.indexOf("<table")&&!P?H.firstChild&&H.firstChild.childNodes:S[1]=="<table>"&&!P?H.childNodes:[];for(var R=O.length-1;R>=0;--R){if(m.nodeName(O[R],"tbody")&&!O[R].childNodes.length){O[R].parentNode.removeChild(O[R])}}}if(!m.support.leadingWhitespace&&/^\s/.test(N)){H.insertBefore(K.createTextNode(N.match(/^\s*/)[0]),H.firstChild)}N=m.makeArray(H.childNodes)}if(N.nodeType){G.push(N)}else{G=m.merge(G,N)}});if(F){for(var E=0;G[E];E++){if(m.nodeName(G[E],"script")&&(!G[E].type||G[E].type.toLowerCase()==="text/javascript")){L.push(G[E].parentNode?G[E].parentNode.removeChild(G[E]):G[E])}else{if(G[E].nodeType===1){G.splice.apply(G,[E+1,0].concat(m.makeArray(G[E].getElementsByTagName("script"))))}F.appendChild(G[E])}}return L}return G},attr:function(I,E,G){if(!I||I.nodeType==3||I.nodeType==8){return w}var L=!m.isXMLDoc(I),F=G!==w;E=L&&m.props[E]||E;if(I.tagName){var K=/href|src|style/.test(E);if(E=="selected"&&I.parentNode){I.parentNode.selectedIndex}if(E in I&&L&&!K){if(F){if(E=="type"&&m.nodeName(I,"input")&&I.parentNode){throw"type property can't be changed"}I[E]=G}if(m.nodeName(I,"form")&&I.getAttributeNode(E)){return I.getAttributeNode(E).nodeValue}if(E=="tabIndex"){var J=I.getAttributeNode("tabIndex");return J&&J.specified?J.value:I.nodeName.match(/(button|input|object|select|textarea)/i)?0:I.nodeName.match(/^(a|area)$/i)&&I.href?0:w}return I[E]}if(!m.support.style&&L&&E=="style"){return m.attr(I.style,"cssText",G)}if(F){I.setAttribute(E,""+G)}var H=!m.support.hrefNormalized&&L&&K?I.getAttribute(E,2):I.getAttribute(E);return H===null?w:H}if(!m.support.opacity&&E=="opacity"){if(F){I.zoom=1;I.filter=(I.filter||"").replace(/alpha\([^)]*\)/,"")+(parseInt(G)+""=="NaN"?"":"alpha(opacity="+G*100+")")}return I.filter&&I.filter.indexOf("opacity=")>=0?(parseFloat(I.filter.match(/opacity=([^)]*)/)[1])/100)+"":""}E=E.replace(/-([a-z])/ig,function(N,M){return M.toUpperCase()});if(F){I[E]=G}return I[E]},trim:function(E){return(E||"").replace(/^\s+|\s+$/g,"")},makeArray:function(F){var G=[];if(F!=null){var E=F.length;if(E==null||typeof F==="string"||m.isFunction(F)||F.setInterval){G[0]=F}else{while(E){G[--E]=F[E]}}}return G},inArray:function(F,H){for(var G=0,E=H.length;G<E;G++){if(H[G]===F){return G}}return -1},merge:function(F,G){var I=0,E,H=F.length;if(!m.support.getAll){while((E=G[I++])!=null){if(E.nodeType!=8){F[H++]=E}}}else{while((E=G[I++])!=null){F[H++]=E}}return F},unique:function(J){var K=[],E={};try{for(var H=0,G=J.length;H<G;H++){var I=m.data(J[H]);if(!E[I]){E[I]=true;K.push(J[H])}}}catch(F){K=J}return K},grep:function(J,E,F){var G=[];for(var H=0,I=J.length;H<I;H++){if(!F!=!E(J[H],H)){G.push(J[H])}}return G},map:function(J,E){var F=[];for(var G=0,I=J.length;G<I;G++){var H=E(J[G],G);if(H!=null){F[F.length]=H}}return F.concat.apply([],F)}});var n=navigator.userAgent.toLowerCase();m.browser={version:(n.match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||[0,"0"])[1],safari:/webkit/.test(n),opera:/opera/.test(n),msie:/msie/.test(n)&&!/opera/.test(n),mozilla:/mozilla/.test(n)&&!/(compatible|webkit)/.test(n)};m.each({parent:function(E){return E.parentNode},parents:function(E){return m.dir(E,"parentNode")},next:function(E){return m.nth(E,2,"nextSibling")},prev:function(E){return m.nth(E,2,"previousSibling")},nextAll:function(E){return m.dir(E,"nextSibling")},prevAll:function(E){return m.dir(E,"previousSibling")},siblings:function(E){return m.sibling(E.parentNode.firstChild,E)},children:function(E){return m.sibling(E.firstChild)},contents:function(E){return m.nodeName(E,"iframe")?E.contentDocument||E.contentWindow.document:m.makeArray(E.childNodes)}},function(F,E){m.fn[F]=function(G){var H=m.map(this,E);if(G&&typeof G=="string"){H=m.multiFilter(G,H)}return this.pushStack(m.unique(H),F,G)}});m.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(F,E){m.fn[F]=function(I){var L=[],H=m(I);for(var J=0,G=H.length;J<G;J++){var K=(J>0?this.clone(true):this).get();m.fn[E].apply(m(H[J]),K);L=L.concat(K)}return this.pushStack(L,F,I)}});m.each({removeAttr:function(E){m.attr(this,E,"");if(this.nodeType==1){this.removeAttribute(E)}},addClass:function(E){m.className.add(this,E)},removeClass:function(E){m.className.remove(this,E)},toggleClass:function(F,E){if(typeof E!=="boolean"){E=!m.className.has(this,F)}m.className[E?"add":"remove"](this,F)},remove:function(E){if(!E||m.filter(E,[this]).length){m("*",this).add([this]).each(function(){m.event.remove(this);m.removeData(this)});if(this.parentNode){this.parentNode.removeChild(this)}}},empty:function(){m(this).children().remove();while(this.firstChild){this.removeChild(this.firstChild)}}},function(F,E){m.fn[F]=function(){return this.each(E,arguments)}});function o(E,F){return E[0]&&parseInt(m.curCSS(E[0],F,true),10)||0}var r="jQuery"+a(),x=0,q={};m.extend({cache:{},data:function(F,E,H){F=F==s?q:F;var G=F[r];if(!G){G=F[r]=++x}if(E&&!m.cache[G]){m.cache[G]={}}if(H!==w){m.cache[G][E]=H}return E?m.cache[G][E]:G},removeData:function(F,E){F=F==s?q:F;var H=F[r];if(E){if(m.cache[H]){delete m.cache[H][E];E="";for(E in m.cache[H]){break}if(!E){m.removeData(F)}}}else{try{delete F[r]}catch(G){if(F.removeAttribute){F.removeAttribute(r)}}delete m.cache[H]}},queue:function(E,F,H){if(E){F=(F||"fx")+"queue";var G=m.data(E,F);if(!G||m.isArray(H)){G=m.data(E,F,m.makeArray(H))}else{if(H){G.push(H)}}}return G},dequeue:function(F,G){var H=m.queue(F,G),E=H.shift();if(!G||G==="fx"){E=H[0]}if(E!==w){E.call(F)}}});m.fn.extend({data:function(F,E){var G=F.split(".");G[1]=G[1]?"."+G[1]:"";if(E===w){var H=this.triggerHandler("getData"+G[1]+"!",[G[0]]);if(H===w&&this.length){H=m.data(this[0],F)}return H===w&&G[1]?this.data(G[0]):H}else{return this.trigger("setData"+G[1]+"!",[G[0],E]).each(function(){m.data(this,F,E)})}},removeData:function(E){return this.each(function(){m.removeData(this,E)})},queue:function(E,F){if(typeof E!=="string"){F=E;E="fx"}if(F===w){return m.queue(this[0],E)}return this.each(function(){var G=m.queue(this,E,F);if(E=="fx"&&G.length==1){G[0].call(this)}})},dequeue:function(E){return this.each(function(){m.dequeue(this,E)})}});
/*
 * 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 H=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?/g,R=0,P=Object.prototype.toString;var O=function(Y,ae,X,ac){X=X||[];ae=ae||document;if(ae.nodeType!==1&&ae.nodeType!==9){return[]}if(!Y||typeof Y!=="string"){return X}var aa=[],ah,V,ai,ag,T,W,Z=true;H.lastIndex=0;while((ah=H.exec(Y))!==null){aa.push(ah[1]);if(ah[2]){W=RegExp.rightContext;break}}if(aa.length>1&&I.exec(Y)){if(aa.length===2&&M.relative[aa[0]]){V=N(aa[0]+aa[1],ae)}else{V=M.relative[aa[0]]?[ae]:O(aa.shift(),ae);while(aa.length){Y=aa.shift();if(M.relative[Y]){Y+=aa.shift()}V=N(Y,V)}}}else{var U=ac?{expr:aa.pop(),set:F(ac)}:O.find(aa.pop(),aa.length===1&&ae.parentNode?ae.parentNode:ae,K(ae));V=O.filter(U.expr,U.set);if(aa.length>0){ai=F(V)}else{Z=false}while(aa.length){var ab=aa.pop(),af=ab;if(!M.relative[ab]){ab=""}else{af=aa.pop()}if(af==null){af=ae}M.relative[ab](ai,af,K(ae))}}if(!ai){ai=V}if(!ai){throw"Syntax error, unrecognized expression: "+(ab||Y)}if(P.call(ai)==="[object Array]"){if(!Z){X.push.apply(X,ai)}else{if(ae.nodeType===1){for(var ad=0;ai[ad]!=null;ad++){if(ai[ad]&&(ai[ad]===true||ai[ad].nodeType===1&&L(ae,ai[ad]))){X.push(V[ad])}}}else{for(var ad=0;ai[ad]!=null;ad++){if(ai[ad]&&ai[ad].nodeType===1){X.push(V[ad])}}}}}else{F(ai,X)}if(W){O(W,ae,X,ac);if(Q){hasDuplicate=false;X.sort(Q);if(hasDuplicate){for(var ad=1;ad<X.length;ad++){if(X[ad]===X[ad-1]){X.splice(ad--,1)}}}}}return X};O.matches=function(U,T){return O(U,null,null,T)};O.find=function(ab,aa,Y){var W,Z;if(!ab){return[]}for(var T=0,V=M.order.length;T<V;T++){var X=M.order[T],Z;if((Z=M.match[X].exec(ab))){var U=RegExp.leftContext;if(U.substr(U.length-1)!=="\\"){Z[1]=(Z[1]||"").replace(/\\/g,"");W=M.find[X](Z,aa,Y);if(W!=null){ab=ab.replace(M.match[X],"");break}}}}if(!W){W=aa.getElementsByTagName("*")}return{set:W,expr:ab}};O.filter=function(W,Y,Z,ag){var aa=W,X=[],ai=Y,af,V,ah=Y&&Y[0]&&K(Y[0]);while(W&&Y.length){for(var U in M.filter){if((af=M.match[U].exec(W))!=null){var ac=M.filter[U],ae,T;V=false;if(ai==X){X=[]}if(M.preFilter[U]){af=M.preFilter[U](af,ai,Z,X,ag,ah);if(!af){V=ae=true}else{if(af===true){continue}}}if(af){for(var ad=0;(T=ai[ad])!=null;ad++){if(T){ae=ac(T,af,ad,ai);var ab=ag^!!ae;if(Z&&ae!=null){if(ab){V=true}else{ai[ad]=false}}else{if(ab){X.push(T);V=true}}}}}if(ae!==w){if(!Z){ai=X}W=W.replace(M.match[U],"");if(!V){return[]}break}}}if(W==aa){if(V==null){throw"Syntax error, unrecognized expression: "+W}else{break}}aa=W}return ai};var M=O.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(T){return T.getAttribute("href")}},relative:{"+":function(ab,W,Z){var X=typeof W==="string",Y=X&&!/\W/.test(W),U=X&&!Y;if(Y&&!Z){W=W.toUpperCase()}for(var T=0,V=ab.length,aa;T<V;T++){if((aa=ab[T])){while((aa=aa.previousSibling)&&aa.nodeType!==1){}ab[T]=U||aa&&aa.nodeName===W?aa||false:aa===W}}if(U){O.filter(W,ab,true)}},">":function(aa,V,X){var W=typeof V==="string";if(W&&!/\W/.test(V)){V=X?V:V.toUpperCase();for(var T=0,U=aa.length;T<U;T++){var Z=aa[T];if(Z){var Y=Z.parentNode;aa[T]=Y.nodeName===V?Y:false}}}else{for(var T=0,U=aa.length;T<U;T++){var Z=aa[T];if(Z){aa[T]=W?Z.parentNode:Z.parentNode===V}}if(W){O.filter(V,aa,true)}}},"":function(V,W,Y){var U=R++,T=E;if(!W.match(/\W/)){var X=W=Y?W:W.toUpperCase();T=S}T("parentNode",W,U,V,X,Y)},"~":function(V,W,Y){var U=R++,T=E;if(typeof W==="string"&&!W.match(/\W/)){var X=W=Y?W:W.toUpperCase();T=S}T("previousSibling",W,U,V,X,Y)}},find:{ID:function(U,W,T){if(typeof W.getElementById!=="undefined"&&!T){var V=W.getElementById(U[1]);return V?[V]:[]}},NAME:function(U,Y,T){if(typeof Y.getElementsByName!=="undefined"){var Z=[],X=Y.getElementsByName(U[1]);for(var W=0,V=X.length;W<V;W++){if(X[W].getAttribute("name")===U[1]){Z.push(X[W])}}return Z.length===0?null:Z}},TAG:function(T,U){return U.getElementsByTagName(T[1])}},preFilter:{CLASS:function(Y,aa,V,U,W,X){Y=" "+Y[1].replace(/\\/g,"")+" ";if(X){return Y}for(var T=0,Z;(Z=aa[T])!=null;T++){if(Z){if(W^(Z.className&&(" "+Z.className+" ").indexOf(Y)>=0)){if(!V){U.push(Z)}}else{if(V){aa[T]=false}}}}return false},ID:function(T){return T[1].replace(/\\/g,"")},TAG:function(T,U){for(var V=0;U[V]===false;V++){}return U[V]&&K(U[V])?T[1]:T[1].toUpperCase()},CHILD:function(T){if(T[1]=="nth"){var U=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(T[2]=="even"&&"2n"||T[2]=="odd"&&"2n+1"||!/\D/.test(T[2])&&"0n+"+T[2]||T[2]);T[2]=(U[1]+(U[2]||1))-0;T[3]=U[3]-0}T[0]=R++;return T},ATTR:function(W,X,Z,V,U,T){var Y=W[1].replace(/\\/g,"");if(!T&&M.attrMap[Y]){W[1]=M.attrMap[Y]}if(W[2]==="~="){W[4]=" "+W[4]+" "}return W},PSEUDO:function(V,W,X,U,T){if(V[1]==="not"){if(V[3].match(H).length>1||/^\w/.test(V[3])){V[3]=O(V[3],null,null,W)}else{var Y=O.filter(V[3],W,X,true^T);if(!X){U.push.apply(U,Y)}return false}}else{if(M.match.POS.test(V[0])||M.match.CHILD.test(V[0])){return true}}return V},POS:function(T){T.unshift(true);return T}},filters:{enabled:function(T){return T.disabled===false&&T.type!=="hidden"},disabled:function(T){return T.disabled===true},checked:function(T){return T.checked===true},selected:function(T){T.parentNode.selectedIndex;return T.selected===true},parent:function(T){return !!T.firstChild},empty:function(T){return !T.firstChild},has:function(U,V,T){return !!O(T[3],U).length},header:function(T){return/h\d/i.test(T.nodeName)},text:function(T){return"text"===T.type},radio:function(T){return"radio"===T.type},checkbox:function(T){return"checkbox"===T.type},file:function(T){return"file"===T.type},password:function(T){return"password"===T.type},submit:function(T){return"submit"===T.type},image:function(T){return"image"===T.type},reset:function(T){return"reset"===T.type},button:function(T){return"button"===T.type||T.nodeName.toUpperCase()==="BUTTON"},input:function(T){return/input|select|textarea|button/i.test(T.nodeName)}},setFilters:{first:function(T,U){return U===0},last:function(U,V,T,W){return V===W.length-1},even:function(T,U){return U%2===0},odd:function(T,U){return U%2===1},lt:function(U,V,T){return V<T[3]-0},gt:function(U,V,T){return V>T[3]-0},nth:function(U,V,T){return T[3]-0==V},eq:function(U,V,T){return T[3]-0==V}},filter:{PSEUDO:function(Z,Y,T,X){var W=Y[1],U=M.filters[W];if(U){return U(Z,T,Y,X)}else{if(W==="contains"){return(Z.textContent||Z.innerText||"").indexOf(Y[3])>=0}else{if(W==="not"){var V=Y[3];for(var T=0,aa=V.length;T<aa;T++){if(V[T]===Z){return false}}return true}}}},CHILD:function(aa,Y){var U=Y[1],T=aa;switch(U){case"only":case"first":while(T=T.previousSibling){if(T.nodeType===1){return false}}if(U=="first"){return true}T=aa;case"last":while(T=T.nextSibling){if(T.nodeType===1){return false}}return true;case"nth":var ac=Y[2],Z=Y[3];if(ac==1&&Z==0){return true}var X=Y[0],W=aa.parentNode;if(W&&(W.sizcache!==X||!aa.nodeIndex)){var ab=0;for(T=W.firstChild;T;T=T.nextSibling){if(T.nodeType===1){T.nodeIndex=++ab}}W.sizcache=X}var V=aa.nodeIndex-Z;if(ac==0){return V==0}else{return(V%ac==0&&V/ac>=0)}}},ID:function(U,T){return U.nodeType===1&&U.getAttribute("id")===T},TAG:function(U,T){return(T==="*"&&U.nodeType===1)||U.nodeName===T},CLASS:function(U,T){return(" "+(U.className||U.getAttribute("class"))+" ").indexOf(T)>-1},ATTR:function(V,T){var Y=T[1],U=M.attrHandle[Y]?M.attrHandle[Y](V):V[Y]!=null?V[Y]:V.getAttribute(Y),Z=U+"",W=T[2],X=T[4];return U==null?W==="!=":W==="="?Z===X:W==="*="?Z.indexOf(X)>=0:W==="~="?(" "+Z+" ").indexOf(X)>=0:!X?Z&&U!==false:W==="!="?Z!=X:W==="^="?Z.indexOf(X)===0:W==="$="?Z.substr(Z.length-X.length)===X:W==="|="?Z===X||Z.substr(0,X.length+1)===X+"-":false},POS:function(V,T,W,Y){var U=T[2],X=M.setFilters[U];if(X){return X(V,W,T,Y)}}}};var I=M.match.POS;for(var J in M.match){M.match[J]=RegExp(M.match[J].source+/(?![^\[]*\])(?![^\(]*\))/.source)}var F=function(U,T){U=Array.prototype.slice.call(U);if(T){T.push.apply(T,U);return T}return U};try{Array.prototype.slice.call(document.documentElement.childNodes)}catch(G){F=function(W,V){var X=V||[];if(P.call(W)==="[object Array]"){Array.prototype.push.apply(X,W)}else{if(typeof W.length==="number"){for(var U=0,T=W.length;U<T;U++){X.push(W[U])}}else{for(var U=0;W[U];U++){X.push(W[U])}}}return X}}var Q;if(document.documentElement.compareDocumentPosition){Q=function(T,U){var V=T.compareDocumentPosition(U)&4?-1:T===U?0:1;if(V===0){hasDuplicate=true}return V}}else{if("sourceIndex" in document.documentElement){Q=function(T,U){var V=T.sourceIndex-U.sourceIndex;if(V===0){hasDuplicate=true}return V}}else{if(document.createRange){Q=function(U,V){var W=U.ownerDocument.createRange(),T=V.ownerDocument.createRange();W.selectNode(U);W.collapse(true);T.selectNode(V);T.collapse(true);var X=W.compareBoundaryPoints(Range.START_TO_END,T);if(X===0){hasDuplicate=true}return X}}}}(function(){var U=document.createElement("form"),V="script"+(new Date).getTime();U.innerHTML="<input name='"+V+"'/>";var T=document.documentElement;T.insertBefore(U,T.firstChild);if(!!document.getElementById(V)){M.find.ID=function(X,Z,W){if(typeof Z.getElementById!=="undefined"&&!W){var Y=Z.getElementById(X[1]);return Y?Y.id===X[1]||typeof Y.getAttributeNode!=="undefined"&&Y.getAttributeNode("id").nodeValue===X[1]?[Y]:w:[]}};M.filter.ID=function(X,W){var Y=typeof X.getAttributeNode!=="undefined"&&X.getAttributeNode("id");return X.nodeType===1&&Y&&Y.nodeValue===W}}T.removeChild(U)})();(function(){var T=document.createElement("div");T.appendChild(document.createComment(""));if(T.getElementsByTagName("*").length>0){M.find.TAG=function(V,Y){var X=Y.getElementsByTagName(V[1]);if(V[1]==="*"){var W=[];for(var U=0;X[U];U++){if(X[U].nodeType===1){W.push(X[U])}}X=W}return X}}T.innerHTML="<a href='#'></a>";if(T.firstChild&&typeof T.firstChild.getAttribute!=="undefined"&&T.firstChild.getAttribute("href")!=="#"){M.attrHandle.href=function(U){return U.getAttribute("href",2)}}})();if(document.querySelectorAll){(function(){var T=O,U=document.createElement("div");U.innerHTML="<p class='TEST'></p>";if(U.querySelectorAll&&U.querySelectorAll(".TEST").length===0){return}O=function(X,V,Z,W){V=V||document;if(!W&&V.nodeType===9&&!K(V)){try{return F(V.querySelectorAll(X),Z)}catch(Y){}}return T(X,V,Z,W)};O.find=T.find;O.filter=T.filter;O.selectors=T.selectors;O.matches=T.matches})()}if(document.getElementsByClassName&&document.documentElement.getElementsByClassName){(function(){var T=document.createElement("div");T.innerHTML="<div class='test e'></div><div class='test'></div>";if(T.getElementsByClassName("e").length===0){return}T.lastChild.className="e";if(T.getElementsByClassName("e").length===1){return}M.order.splice(1,0,"CLASS");M.find.CLASS=function(V,W,U){if(typeof W.getElementsByClassName!=="undefined"&&!U){return W.getElementsByClassName(V[1])}}})()}function S(V,Y,aa,ad,ab,Z){var T=V=="previousSibling"&&!Z;for(var X=0,U=ad.length;X<U;X++){var ac=ad[X];if(ac){if(T&&ac.nodeType===1){ac.sizcache=aa;ac.sizset=X}ac=ac[V];var W=false;while(ac){if(ac.sizcache===aa){W=ad[ac.sizset];break}if(ac.nodeType===1&&!Z){ac.sizcache=aa;ac.sizset=X}if(ac.nodeName===Y){W=ac;break}ac=ac[V]}ad[X]=W}}}function E(V,Y,aa,ad,ab,Z){var T=V=="previousSibling"&&!Z;for(var X=0,U=ad.length;X<U;X++){var ac=ad[X];if(ac){if(T&&ac.nodeType===1){ac.sizcache=aa;ac.sizset=X}ac=ac[V];var W=false;while(ac){if(ac.sizcache===aa){W=ad[ac.sizset];break}if(ac.nodeType===1){if(!Z){ac.sizcache=aa;ac.sizset=X}if(typeof Y!=="string"){if(ac===Y){W=true;break}}else{if(O.filter(Y,[ac]).length>0){W=ac;break}}}ac=ac[V]}ad[X]=W}}}var L=document.compareDocumentPosition?function(T,U){return T.compareDocumentPosition(U)&16}:function(T,U){return T!==U&&(T.contains?T.contains(U):true)};var K=function(T){return T.nodeType===9&&T.documentElement.nodeName!=="HTML"||!!T.ownerDocument&&K(T.ownerDocument)};var N=function(X,aa){var W=[],Y="",Z,U=aa.nodeType?[aa]:aa;while((Z=M.match.PSEUDO.exec(X))){Y+=Z[0];X=X.replace(M.match.PSEUDO,"")}X=M.relative[X]?X+"*":X;for(var T=0,V=U.length;T<V;T++){O(X,U[T],W)}return O.filter(Y,W)};m.find=O;m.filter=O.filter;m.expr=O.selectors;m.expr[":"]=m.expr.filters;s.Sizzle=O;O.selectors.filters.hidden=function(T){return T.offsetWidth===0||T.offsetHeight===0};O.selectors.filters.visible=function(T){return T.offsetWidth>0||T.offsetHeight>0};O.selectors.filters.animated=function(T){return m.grep(m.timers,function(U){return T===U.elem}).length};m.multiFilter=function(U,V,T){if(T){U=":not("+U+")"}return O.matches(U,V)};m.dir=function(U,T){var V=[],W=U[T];while(W&&W!=document){if(W.nodeType==1){V.push(W)}W=W[T]}return V};m.nth=function(W,U,T,V){U=U||1;var X=0;for(;W;W=W[T]){if(W.nodeType==1&&++X==U){break}}return W};m.sibling=function(U,V){var T=[];for(;U;U=U.nextSibling){if(U.nodeType==1&&U!=V){T.push(U)}}return T};return;s.Sizzle=O})();m.event={add:function(H,I,G,K){if(H.nodeType==3||H.nodeType==8){return}if(H.setInterval&&H!=s){H=s}if(!G.guid){G.guid=this.guid++}if(K!==w){var E=G;G=this.proxy(E);G.data=K}var J=m.data(H,"events")||m.data(H,"events",{}),F=m.data(H,"handle")||m.data(H,"handle",function(){return typeof m!=="undefined"&&!m.event.triggered?m.event.handle.apply(arguments.callee.elem,arguments):w});F.elem=H;m.each(I.split(/\s+/),function(N,M){var L=M.split(".");M=L.shift();G.type=L.slice().sort().join(".");var O=J[M];if(m.event.specialAll[M]){m.event.specialAll[M].setup.call(H,K,L)}if(!O){O=J[M]={};if(!m.event.special[M]||m.event.special[M].setup.call(H,K,L)===false){if(H.addEventListener){H.addEventListener(M,F,false)}else{if(H.attachEvent){H.attachEvent("on"+M,F)}}}}O[G.guid]=G;m.event.global[M]=true});H=null},guid:1,global:{},remove:function(K,G,L){if(K.nodeType==3||K.nodeType==8){return}var H=m.data(K,"events"),F,I;if(H){if(G===w||(typeof G==="string"&&G.charAt(0)==".")){for(var E in H){this.remove(K,E+(G||""))}}else{if(G.type){L=G.handler;G=G.type}m.each(G.split(/\s+/),function(P,O){var M=O.split(".");O=M.shift();var N=RegExp("(^|\\.)"+M.slice().sort().join(".*\\.")+"(\\.|$)");if(H[O]){if(L){delete H[O][L.guid]}else{for(var Q in H[O]){if(N.test(H[O][Q].type)){delete H[O][Q]}}}if(m.event.specialAll[O]){m.event.specialAll[O].teardown.call(K,M)}for(F in H[O]){break}if(!F){if(!m.event.special[O]||m.event.special[O].teardown.call(K,M)===false){if(K.removeEventListener){K.removeEventListener(O,m.data(K,"handle"),false)}else{if(K.detachEvent){K.detachEvent("on"+O,m.data(K,"handle"))}}}F=null;delete H[O]}}})}for(F in H){break}if(!F){var J=m.data(K,"handle");if(J){J.elem=null}m.removeData(K,"events");m.removeData(K,"handle")}}},trigger:function(F,G,L,H){var E=F.type||F;if(!H){F=typeof F==="object"?F[r]?F:m.extend(m.Event(E),F):m.Event(E);if(E.indexOf("!")>=0){F.type=E=E.slice(0,-1);F.exclusive=true}if(!L){F.stopPropagation();if(this.global[E]){m.each(m.cache,function(){if(this.events&&this.events[E]){m.event.trigger(F,G,this.handle.elem)}})}}if(!L||L.nodeType==3||L.nodeType==8){return w}F.result=w;F.target=L;G=m.makeArray(G);G.unshift(F)}F.currentTarget=L;var J=m.data(L,"handle");if(J){J.apply(L,G)}if((!L[E]||(m.nodeName(L,"a")&&E=="click"))&&L["on"+E]&&L["on"+E].apply(L,G)===false){F.result=false}if(!H&&L[E]&&!F.isDefaultPrevented()&&!(m.nodeName(L,"a")&&E=="click")){this.triggered=true;try{L[E]()}catch(I){}}this.triggered=false;if(!F.isPropagationStopped()){var K=L.parentNode||L.ownerDocument;if(K){m.event.trigger(F,G,K,true)}}},handle:function(H){var K,J;H=arguments[0]=m.event.fix(H||s.event);H.currentTarget=this;var I=H.type.split(".");H.type=I.shift();K=!I.length&&!H.exclusive;var F=RegExp("(^|\\.)"+I.slice().sort().join(".*\\.")+"(\\.|$)");J=(m.data(this,"events")||{})[H.type];for(var E in J){var L=J[E];if(K||F.test(L.type)){H.handler=L;H.data=L.data;var G=L.apply(this,arguments);if(G!==w){H.result=G;if(G===false){H.preventDefault();H.stopPropagation()}}if(H.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(H){if(H[r]){return H}var G=H;H=m.Event(G);for(var I=this.props.length,J;I;){J=this.props[--I];H[J]=G[J]}if(!H.target){H.target=H.srcElement||document}if(H.target.nodeType==3){H.target=H.target.parentNode}if(!H.relatedTarget&&H.fromElement){H.relatedTarget=H.fromElement==H.target?H.toElement:H.fromElement}if(H.pageX==null&&H.clientX!=null){var F=document.documentElement,E=document.body;H.pageX=H.clientX+(F&&F.scrollLeft||E&&E.scrollLeft||0)-(F.clientLeft||0);H.pageY=H.clientY+(F&&F.scrollTop||E&&E.scrollTop||0)-(F.clientTop||0)}if(!H.which&&((H.charCode||H.charCode===0)?H.charCode:H.keyCode)){H.which=H.charCode||H.keyCode}if(!H.metaKey&&H.ctrlKey){H.metaKey=H.ctrlKey}if(!H.which&&H.button){H.which=(H.button&1?1:(H.button&2?3:(H.button&4?2:0)))}return H},proxy:function(E,F){F=F||function(){return E.apply(this,arguments)};F.guid=E.guid=E.guid||F.guid||this.guid++;return F},special:{ready:{setup:B,teardown:function(){}}},specialAll:{live:{setup:function(F,E){m.event.add(this,E[0],D)},teardown:function(E){if(E.length){var G=0,F=RegExp("(^|\\.)"+E[0]+"(\\.|$)");m.each((m.data(this,"events").live||{}),function(){if(F.test(this.type)){G++}});if(G<1){m.event.remove(this,E[0],D)}}}}}};m.Event=function(E){if(!this.preventDefault){return new m.Event(E)}if(E&&E.type){this.originalEvent=E;this.type=E.type}else{this.type=E}this.timeStamp=a();this[r]=true};function d(){return false}function l(){return true}m.Event.prototype={preventDefault:function(){this.isDefaultPrevented=l;var E=this.originalEvent;if(!E){return}if(E.preventDefault){E.preventDefault()}E.returnValue=false},stopPropagation:function(){this.isPropagationStopped=l;var E=this.originalEvent;if(!E){return}if(E.stopPropagation){E.stopPropagation()}E.cancelBubble=true},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=l;this.stopPropagation()},isDefaultPrevented:d,isPropagationStopped:d,isImmediatePropagationStopped:d};var c=function(F){var E=F.relatedTarget;while(E&&E!=this){try{E=E.parentNode}catch(G){E=this}}if(E!=this){F.type=F.data;m.event.handle.apply(this,arguments)}};m.each({mouseover:"mouseenter",mouseout:"mouseleave"},function(F,E){m.event.special[E]={setup:function(){m.event.add(this,F,c,E)},teardown:function(){m.event.remove(this,F,c)}}});m.fn.extend({bind:function(F,G,E){return F=="unload"?this.one(F,G,E):this.each(function(){m.event.add(this,F,E||G,E&&G)})},one:function(G,H,E){var F=m.event.proxy(E||H,function(I){m(this).unbind(I,F);return(E||H).apply(this,arguments)});return this.each(function(){m.event.add(this,G,F,E&&H)})},unbind:function(F,E){return this.each(function(){m.event.remove(this,F,E)})},trigger:function(E,F){return this.each(function(){m.event.trigger(E,F,this)})},triggerHandler:function(F,G){if(this[0]){var E=m.Event(F);E.preventDefault();E.stopPropagation();m.event.trigger(E,G,this[0]);return E.result}},toggle:function(E){var F=arguments,G=1;while(G<F.length){m.event.proxy(E,F[G++])}return this.click(m.event.proxy(E,function(H){this.lastToggle=(this.lastToggle||0)%G;H.preventDefault();return F[this.lastToggle++].apply(this,arguments)||false}))},hover:function(F,E){return this.mouseenter(F).mouseleave(E)},ready:function(E){B();if(m.isReady){E.call(document,m)}else{m.readyList.push(E)}return this},live:function(F,E){var G=m.event.proxy(E);G.guid+=this.selector+F;m(document).bind(p(F,this.selector),this.selector,G);return this},die:function(F,E){m(document).unbind(p(F,this.selector),E?{guid:E.guid+this.selector+F}:null);return this}});function D(E){var F=RegExp("(^|\\.)"+E.type+"(\\.|$)"),G=true,H=[];m.each(m.data(this,"events").live||[],function(K,I){if(F.test(I.type)){var J=m(E.target).closest(I.data)[0];if(J){H.push({elem:J,fn:I})}}});H.sort(function(I,J){return m.data(I.elem,"closest")-m.data(J.elem,"closest")});m.each(H,function(){if(this.fn.call(this.elem,E,this.fn.data)===false){return(G=false)}});return G}function p(E,F){return["live",E,F.replace(/\./g,"`").replace(/ /g,"|")].join(".")}m.extend({isReady:false,readyList:[],ready:function(){if(!m.isReady){m.isReady=true;if(m.readyList){m.each(m.readyList,function(){this.call(document,m)});m.readyList=null}m(document).triggerHandler("ready")}}});var C=false;function B(){if(C){return}C=true;if(document.addEventListener){document.addEventListener("DOMContentLoaded",function(){document.removeEventListener("DOMContentLoaded",arguments.callee,false);m.ready()},false)}else{if(document.attachEvent){document.attachEvent("onreadystatechange",function(){if(document.readyState==="complete"){document.detachEvent("onreadystatechange",arguments.callee);m.ready()}});if(document.documentElement.doScroll&&s==s.top){(function(){if(m.isReady){return}try{document.documentElement.doScroll("left")}catch(E){setTimeout(arguments.callee,0);return}m.ready()})()}}}m.event.add(s,"load",m.ready)}m.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(F,E){m.fn[E]=function(G){return G?this.bind(E,G):this.trigger(E)}});m(s).bind("unload",function(){for(var E in m.cache){if(E!=1&&m.cache[E].handle){m.event.remove(m.cache[E].handle.elem)}}});(function(){m.support={};var F=document.documentElement,I=document.createElement("script"),E=document.createElement("div"),J="script"+(new Date).getTime();E.style.display="none";E.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 G=E.getElementsByTagName("*"),K=E.getElementsByTagName("a")[0];if(!G||!G.length||!K){return}m.support={leadingWhitespace:E.firstChild.nodeType==3,tbody:!E.getElementsByTagName("tbody").length,objectAll:!!E.getElementsByTagName("object")[0].getElementsByTagName("*").length,htmlSerialize:!!E.getElementsByTagName("link").length,style:/red/.test(K.getAttribute("style")),hrefNormalized:K.getAttribute("href")==="/a",opacity:K.style.opacity==="0.5",cssFloat:!!K.style.cssFloat,scriptEval:false,noCloneEvent:true,boxModel:null};I.type="text/javascript";try{I.appendChild(document.createTextNode("window."+J+"=1;"))}catch(H){}F.insertBefore(I,F.firstChild);if(s[J]){m.support.scriptEval=true;delete s[J]}F.removeChild(I);if(E.attachEvent&&E.fireEvent){E.attachEvent("onclick",function(){m.support.noCloneEvent=false;E.detachEvent("onclick",arguments.callee)});E.cloneNode(true).fireEvent("onclick")}m(function(){var L=document.createElement("div");L.style.width=L.style.paddingLeft="1px";document.body.appendChild(L);m.boxModel=m.support.boxModel=L.offsetWidth===2;document.body.removeChild(L).style.display="none"})})();var y=m.support.cssFloat?"cssFloat":"styleFloat";m.props={"for":"htmlFor","class":"className","float":y,cssFloat:y,styleFloat:y,readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",tabindex:"tabIndex"};m.fn.extend({_load:m.fn.load,load:function(H,E,K){if(typeof H!=="string"){return this._load(H)}var F=H.indexOf(" ");if(F>=0){var I=H.slice(F,H.length);H=H.slice(0,F)}var G="GET";if(E){if(m.isFunction(E)){K=E;E=null}else{if(typeof E==="object"){E=m.param(E);G="POST"}}}var J=this;m.ajax({url:H,type:G,dataType:"html",data:E,complete:function(M,L){if(L=="success"||L=="notmodified"){J.html(I?m("<div/>").append(M.responseText.replace(/<script(.|\s)*?\/script>/g,"")).find(I):M.responseText)}if(K){J.each(K,[M.responseText,L,M])}}});return this},serialize:function(){return m.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?m.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||/select|textarea/i.test(this.nodeName)||/text|hidden|password|search/i.test(this.type))}).map(function(F,E){var G=m(this).val();return G==null?null:m.isArray(G)?m.map(G,function(I,H){return{name:E.name,value:I}}):{name:E.name,value:G}}).get()}});m.each("ajaxStart,ajaxStop,ajaxComplete,ajaxError,ajaxSuccess,ajaxSend".split(","),function(F,E){m.fn[E]=function(G){return this.bind(E,G)}});var k=a();m.extend({get:function(G,H,E,F){if(m.isFunction(H)){E=H;H=null}return m.ajax({type:"GET",url:G,data:H,success:E,dataType:F})},getScript:function(E,F){return m.get(E,null,F,"script")},getJSON:function(F,G,E){return m.get(F,G,E,"json")},post:function(G,H,E,F){if(m.isFunction(H)){E=H;H={}}return m.ajax({type:"POST",url:G,data:H,success:E,dataType:F})},ajaxSetup:function(E){m.extend(m.ajaxSettings,E)},ajaxSettings:{url:location.href,global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:function(){return s.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(K){K=m.extend(true,K,m.extend(true,{},m.ajaxSettings,K));var F,O=/=\?(&|$)/g,L,M,G=K.type.toUpperCase();if(K.data&&K.processData&&typeof K.data!=="string"){K.data=m.param(K.data)}if(K.dataType=="jsonp"){if(G=="GET"){if(!K.url.match(O)){K.url+=(K.url.match(/\?/)?"&":"?")+(K.jsonp||"callback")+"=?"}}else{if(!K.data||!K.data.match(O)){K.data=(K.data?K.data+"&":"")+(K.jsonp||"callback")+"=?"}}K.dataType="json"}if(K.dataType=="json"&&(K.data&&K.data.match(O)||K.url.match(O))){F="jsonp"+k++;if(K.data){K.data=(K.data+"").replace(O,"="+F+"$1")}K.url=K.url.replace(O,"="+F+"$1");K.dataType="script";s[F]=function(X){M=X;P();S();s[F]=w;try{delete s[F]}catch(Y){}if(W){W.removeChild(U)}}}if(K.dataType=="script"&&K.cache==null){K.cache=false}if(K.cache===false&&G=="GET"){var E=a();var J=K.url.replace(/(\?|&)_=.*?(&|$)/,"$1_="+E+"$2");K.url=J+((J==K.url)?(K.url.match(/\?/)?"&":"?")+"_="+E:"")}if(K.data&&G=="GET"){K.url+=(K.url.match(/\?/)?"&":"?")+K.data;K.data=null}if(K.global&&!m.active++){m.event.trigger("ajaxStart")}var V=/^(\w+:)?\/\/([^\/?#]+)/.exec(K.url);if(K.dataType=="script"&&G=="GET"&&V&&(V[1]&&V[1]!=location.protocol||V[2]!=location.host)){var W=document.getElementsByTagName("head")[0];var U=document.createElement("script");U.src=K.url;if(K.scriptCharset){U.charset=K.scriptCharset}if(!F){var I=false;U.onload=U.onreadystatechange=function(){if(!I&&(!this.readyState||this.readyState=="loaded"||this.readyState=="complete")){I=true;P();S();U.onload=U.onreadystatechange=null;W.removeChild(U)}}}W.appendChild(U);return w}var T=false;var H=K.xhr();if(K.username){H.open(G,K.url,K.async,K.username,K.password)}else{H.open(G,K.url,K.async)}try{if(K.data){H.setRequestHeader("Content-Type",K.contentType)}if(K.ifModified){H.setRequestHeader("If-Modified-Since",m.lastModified[K.url]||"Thu, 01 Jan 1970 00:00:00 GMT")}H.setRequestHeader("X-Requested-With","XMLHttpRequest");H.setRequestHeader("Accept",K.dataType&&K.accepts[K.dataType]?K.accepts[K.dataType]+", */*":K.accepts._default)}catch(Q){}if(K.beforeSend&&K.beforeSend(H,K)===false){if(K.global&&!--m.active){m.event.trigger("ajaxStop")}H.abort();return false}if(K.global){m.event.trigger("ajaxSend",[H,K])}var R=function(X){if(H.readyState==0){if(N){clearInterval(N);N=null;if(K.global&&!--m.active){m.event.trigger("ajaxStop")}}}else{if(!T&&H&&(H.readyState==4||X=="timeout")){T=true;if(N){clearInterval(N);N=null}L=X=="timeout"?"timeout":!m.httpSuccess(H)?"error":K.ifModified&&m.httpNotModified(H,K.url)?"notmodified":"success";if(L=="success"){try{M=m.httpData(H,K.dataType,K)}catch(Z){L="parsererror"}}if(L=="success"){var Y;try{Y=H.getResponseHeader("Last-Modified")}catch(Z){}if(K.ifModified&&Y){m.lastModified[K.url]=Y}if(!F){P()}}else{m.handleError(K,H,L)}S();if(X){H.abort()}if(K.async){H=null}}}};if(K.async){var N=setInterval(R,13);if(K.timeout>0){setTimeout(function(){if(H&&!T){R("timeout")}},K.timeout)}}try{H.send(K.data)}catch(Q){m.handleError(K,H,null,Q)}if(!K.async){R()}function P(){if(K.success){K.success(M,L)}if(K.global){m.event.trigger("ajaxSuccess",[H,K])}}function S(){if(K.complete){K.complete(H,L)}if(K.global){m.event.trigger("ajaxComplete",[H,K])}if(K.global&&!--m.active){m.event.trigger("ajaxStop")}}return H},handleError:function(E,H,F,G){if(E.error){E.error(H,F,G)}if(E.global){m.event.trigger("ajaxError",[H,E,G])}},active:0,httpSuccess:function(F){try{return !F.status&&location.protocol=="file:"||(F.status>=200&&F.status<300)||F.status==304||F.status==1223}catch(E){}return false},httpNotModified:function(H,F){try{var G=H.getResponseHeader("Last-Modified");return H.status==304||G==m.lastModified[F]}catch(E){}return false},httpData:function(I,G,E){var H=I.getResponseHeader("content-type"),F=G=="xml"||!G&&H&&H.indexOf("xml")>=0,J=F?I.responseXML:I.responseText;if(F&&J.documentElement.tagName=="parsererror"){throw"parsererror"}if(E&&E.dataFilter){J=E.dataFilter(J,G)}if(typeof J==="string"){if(G=="script"){m.globalEval(J)}if(G=="json"){J=s["eval"]("("+J+")")}}return J},param:function(G){var E=[];function F(J,I){E[E.length]=encodeURIComponent(J)+"="+encodeURIComponent(I)}if(m.isArray(G)||G.jquery){m.each(G,function(){F(this.name,this.value)})}else{for(var H in G){if(m.isArray(G[H])){m.each(G[H],function(){F(H,this)})}else{F(H,m.isFunction(G[H])?G[H]():G[H])}}}return E.join("&").replace(/%20/g,"+")}});var u={},b,i=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];function v(F,G){var E={};m.each(i.concat.apply([],i.slice(0,G)),function(){E[this]=F});return E}m.fn.extend({show:function(H,L){if(H){return this.animate(v("show",3),H,L)}else{for(var E=0,F=this.length;E<F;E++){var I=m.data(this[E],"olddisplay");this[E].style.display=I||"";if(m.css(this[E],"display")==="none"){var G=this[E].tagName,J;if(u[G]){J=u[G]}else{var K=m("<"+G+" />").appendTo("body");J=K.css("display");if(J==="none"){J="block"}K.remove();u[G]=J}m.data(this[E],"olddisplay",J)}}for(var E=0,F=this.length;E<F;E++){this[E].style.display=m.data(this[E],"olddisplay")||""}return this}},hide:function(F,I){if(F){return this.animate(v("hide",3),F,I)}else{for(var H=0,G=this.length;H<G;H++){var E=m.data(this[H],"olddisplay");if(!E&&E!=="none"){m.data(this[H],"olddisplay",m.css(this[H],"display"))}}for(var H=0,G=this.length;H<G;H++){this[H].style.display="none"}return this}},_toggle:m.fn.toggle,toggle:function(E,F){var G=typeof E==="boolean";return m.isFunction(E)&&m.isFunction(F)?this._toggle.apply(this,arguments):E==null||G?this.each(function(){var H=G?E:m(this).is(":hidden");m(this)[H?"show":"hide"]()}):this.animate(v("toggle",3),E,F)},fadeTo:function(F,E,G){return this.animate({opacity:E},F,G)},animate:function(I,G,E,F){var H=m.speed(G,E,F);return this[H.queue===false?"each":"queue"](function(){var M=m.extend({},H),L,J=this.nodeType==1&&m(this).is(":hidden"),K=this;for(L in I){if(I[L]=="hide"&&J||I[L]=="show"&&!J){return M.complete.call(this)}if((L=="height"||L=="width")&&this.style){M.display=m.css(this,"display");M.overflow=this.style.overflow}}if(M.overflow!=null){this.style.overflow="hidden"}M.curAnim=m.extend({},I);m.each(I,function(N,T){var S=new m.fx(K,M,N);if(/toggle|show|hide/.test(T)){S[T=="toggle"?J?"show":"hide":T](I)}else{var R=T.toString().match(/^([+-]=)?([\d+-.]+)(.*)$/),P=S.cur(true)||0;if(R){var Q=parseFloat(R[2]),O=R[3]||"px";if(O!="px"){K.style[N]=(Q||1)+O;P=((Q||1)/S.cur(true))*P;K.style[N]=P+O}if(R[1]){Q=((R[1]=="-="?-1:1)*Q)+P}S.custom(P,Q,O)}else{S.custom(P,T,"")}}});return true})},stop:function(E,G){var F=m.timers;if(E){this.queue([])}this.each(function(){for(var H=F.length-1;H>=0;H--){if(F[H].elem==this){if(G){F[H](true)}F.splice(H,1)}}});if(!G){this.dequeue()}return this}});m.each({slideDown:v("show",1),slideUp:v("hide",1),slideToggle:v("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(F,E){m.fn[F]=function(G,H){return this.animate(E,G,H)}});m.extend({speed:function(G,F,E){var H=typeof G==="object"?G:{complete:E||!E&&F||m.isFunction(G)&&G,duration:G,easing:E&&F||F&&!m.isFunction(F)&&F};H.duration=m.fx.off?0:typeof H.duration==="number"?H.duration:m.fx.speeds[H.duration]||m.fx.speeds._default;H.old=H.complete;H.complete=function(){if(H.queue!==false){m(this).dequeue()}if(m.isFunction(H.old)){H.old.call(this)}};return H},easing:{linear:function(G,E,H,F){return H+F*G},swing:function(G,E,H,F){return((-Math.cos(G*Math.PI)/2)+0.5)*F+H}},timers:[],fx:function(E,F,G){this.options=F;this.elem=E;this.prop=G;if(!F.orig){F.orig={}}}});m.fx.prototype={update:function(){if(this.options.step){this.options.step.call(this.elem,this.now,this)}(m.fx.step[this.prop]||m.fx.step._default)(this);if((this.prop=="height"||this.prop=="width")&&this.elem.style){this.elem.style.display="block"}},cur:function(F){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null)){return this.elem[this.prop]}var E=parseFloat(m.css(this.elem,this.prop,F));return E&&E>-10000?E:parseFloat(m.curCSS(this.elem,this.prop))||0},custom:function(E,F,G){this.startTime=a();this.start=E;this.end=F;this.unit=G||this.unit||"px";this.now=this.start;this.pos=this.state=0;var H=this;function I(J){return H.step(J)}I.elem=this.elem;if(I()&&m.timers.push(I)&&!b){b=setInterval(function(){var J=m.timers;for(var K=0;K<J.length;K++){if(!J[K]()){J.splice(K--,1)}}if(!J.length){clearInterval(b);b=w}},13)}},show:function(){this.options.orig[this.prop]=m.attr(this.elem.style,this.prop);this.options.show=true;this.custom(this.prop=="width"||this.prop=="height"?1:0,this.cur());m(this.elem).show()},hide:function(){this.options.orig[this.prop]=m.attr(this.elem.style,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(I){var G=a();if(I||G>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;var E=true;for(var H in this.options.curAnim){if(this.options.curAnim[H]!==true){E=false}}if(E){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;this.elem.style.display=this.options.display;if(m.css(this.elem,"display")=="none"){this.elem.style.display="block"}}if(this.options.hide){m(this.elem).hide()}if(this.options.hide||this.options.show){for(var J in this.options.curAnim){m.attr(this.elem.style,J,this.options.orig[J])}}this.options.complete.call(this.elem)}return false}else{var F=G-this.startTime;this.state=F/this.options.duration;this.pos=m.easing[this.options.easing||(m.easing.swing?"swing":"linear")](this.state,F,0,1,this.options.duration);this.now=this.start+((this.end-this.start)*this.pos);this.update()}return true}};m.extend(m.fx,{speeds:{slow:600,fast:200,_default:400},step:{opacity:function(E){m.attr(E.elem.style,"opacity",E.now)},_default:function(E){if(E.elem.style&&E.elem.style[E.prop]!=null){E.elem.style[E.prop]=E.now+E.unit}else{E.elem[E.prop]=E.now}}}});if(document.documentElement.getBoundingClientRect){m.fn.offset=function(){if(!this[0]){return{top:0,left:0}}if(this[0]===this[0].ownerDocument.body){return m.offset.bodyOffset(this[0])}var E=this[0].getBoundingClientRect(),I=this[0].ownerDocument,L=I.body,J=I.documentElement,K=J.clientTop||L.clientTop||0,F=J.clientLeft||L.clientLeft||0,G=E.top+(self.pageYOffset||m.boxModel&&J.scrollTop||L.scrollTop)-K,H=E.left+(self.pageXOffset||m.boxModel&&J.scrollLeft||L.scrollLeft)-F;return{top:G,left:H}}}else{m.fn.offset=function(){if(!this[0]){return{top:0,left:0}}if(this[0]===this[0].ownerDocument.body){return m.offset.bodyOffset(this[0])}m.offset.initialized||m.offset.initialize();var O=this[0],N=O.offsetParent,F=O,K=O.ownerDocument,E,L=K.documentElement,M=K.body,I=K.defaultView,J=I.getComputedStyle(O,null),G=O.offsetTop,H=O.offsetLeft;while((O=O.parentNode)&&O!==M&&O!==L){E=I.getComputedStyle(O,null);G-=O.scrollTop,H-=O.scrollLeft;if(O===N){G+=O.offsetTop,H+=O.offsetLeft;if(m.offset.doesNotAddBorder&&!(m.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(O.tagName))){G+=parseInt(E.borderTopWidth,10)||0,H+=parseInt(E.borderLeftWidth,10)||0}F=N,N=O.offsetParent}if(m.offset.subtractsBorderForOverflowNotVisible&&E.overflow!=="visible"){G+=parseInt(E.borderTopWidth,10)||0,H+=parseInt(E.borderLeftWidth,10)||0}J=E}if(J.position==="relative"||J.position==="static"){G+=M.offsetTop,H+=M.offsetLeft}if(J.position==="fixed"){G+=Math.max(L.scrollTop,M.scrollTop),H+=Math.max(L.scrollLeft,M.scrollLeft)}return{top:G,left:H}}}m.offset={initialize:function(){if(this.initialized){return}var L=document.body,F=document.createElement("div"),N,I,E,M,J,G,K=L.style.marginTop,H='<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>';J={position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"};for(G in J){F.style[G]=J[G]}F.innerHTML=H;L.insertBefore(F,L.firstChild);N=F.firstChild,I=N.firstChild,M=N.nextSibling.firstChild.firstChild;this.doesNotAddBorder=(I.offsetTop!==5);this.doesAddBorderForTableAndCells=(M.offsetTop===5);N.style.overflow="hidden",N.style.position="relative";this.subtractsBorderForOverflowNotVisible=(I.offsetTop===-5);L.style.marginTop="1px";this.doesNotIncludeMarginInBodyOffset=(L.offsetTop===0);L.style.marginTop=K;L.removeChild(F);this.initialized=true},bodyOffset:function(E){m.offset.initialized||m.offset.initialize();var F=E.offsetTop,G=E.offsetLeft;if(m.offset.doesNotIncludeMarginInBodyOffset){F+=parseInt(m.curCSS(E,"marginTop",true),10)||0,G+=parseInt(m.curCSS(E,"marginLeft",true),10)||0}return{top:F,left:G}}};m.fn.extend({position:function(){var H=0,F=0,I;if(this[0]){var J=this.offsetParent(),G=this.offset(),E=/^body|html$/i.test(J[0].tagName)?{top:0,left:0}:J.offset();G.top-=o(this,"marginTop");G.left-=o(this,"marginLeft");E.top+=o(J,"borderTopWidth");E.left+=o(J,"borderLeftWidth");I={top:G.top-E.top,left:G.left-E.left}}return I},offsetParent:function(){var E=this[0].offsetParent||document.body;while(E&&(!/^body|html$/i.test(E.tagName)&&m.css(E,"position")=="static")){E=E.offsetParent}return m(E)}});m.each(["Left","Top"],function(G,E){var F="scroll"+E;m.fn[F]=function(H){if(!this[0]){return null}return H!==w?this.each(function(){this==s||this==document?s.scrollTo(!G?H:m(s).scrollLeft(),G?H:m(s).scrollTop()):this[F]=H}):this[0]==s||this[0]==document?self[G?"pageYOffset":"pageXOffset"]||m.boxModel&&document.documentElement[F]||document.body[F]:this[0][F]}});m.each(["Height","Width"],function(H,F){var I=H?"Left":"Top",J=H?"Right":"Bottom",E=F.toLowerCase();m.fn["inner"+F]=function(){return this[0]?m.css(this[0],E,false,"padding"):null};m.fn["outer"+F]=function(K){return this[0]?m.css(this[0],E,false,K?"margin":"border"):null};var G=F.toLowerCase();m.fn[G]=function(K){return this[0]==s?document.compatMode=="CSS1Compat"&&document.documentElement["client"+F]||document.body["client"+F]:this[0]==document?Math.max(document.documentElement["client"+F],document.body["scroll"+F],document.documentElement["scroll"+F],document.body["offset"+F],document.documentElement["offset"+F]):K===w?(this.length?m.css(this[0],G):null):this.css(G,typeof K==="string"?K:K+"px")}})})();/* 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>
*/
var swfobject=function(){var UNDEF="undefined",OBJECT="object",SHOCKWAVE_FLASH="Shockwave Flash",SHOCKWAVE_FLASH_AX="ShockwaveFlash.ShockwaveFlash",FLASH_MIME_TYPE="application/x-shockwave-flash",EXPRESS_INSTALL_ID="SWFObjectExprInst",win=window,doc=document,nav=navigator,domLoadFnArr=[],regObjArr=[],objIdArr=[],listenersArr=[],script,timer=null,storedAltContent=null,storedAltContentId=null,isDomLoaded=false,isExpressInstallActive=false;var ua=function(){var w3cdom=typeof doc.getElementById!=UNDEF&&typeof doc.getElementsByTagName!=UNDEF&&typeof doc.createElement!=UNDEF,playerVersion=[0,0,0],d=null;if(typeof nav.plugins!=UNDEF&&typeof nav.plugins[SHOCKWAVE_FLASH]==OBJECT){d=nav.plugins[SHOCKWAVE_FLASH].description;if(d&&!(typeof nav.mimeTypes!=UNDEF&&nav.mimeTypes[FLASH_MIME_TYPE]&&!nav.mimeTypes[FLASH_MIME_TYPE].enabledPlugin)){d=d.replace(/^.*\s+(\S+\s+\S+$)/,"$1");playerVersion[0]=parseInt(d.replace(/^(.*)\..*$/,"$1"),10);playerVersion[1]=parseInt(d.replace(/^.*\.(.*)\s.*$/,"$1"),10);playerVersion[2]=/r/.test(d)?parseInt(d.replace(/^.*r(.*)$/,"$1"),10):0}}else{if(typeof win.ActiveXObject!=UNDEF){var a=null,fp6Crash=false;try{a=new ActiveXObject(SHOCKWAVE_FLASH_AX+".7")}catch(e){try{a=new ActiveXObject(SHOCKWAVE_FLASH_AX+".6");playerVersion=[6,0,21];a.AllowScriptAccess="always"}catch(e){if(playerVersion[0]==6){fp6Crash=true}}if(!fp6Crash){try{a=new ActiveXObject(SHOCKWAVE_FLASH_AX)}catch(e){}}}if(!fp6Crash&&a){try{d=a.GetVariable("$version");if(d){d=d.split(" ")[1].split(",");playerVersion=[parseInt(d[0],10),parseInt(d[1],10),parseInt(d[2],10)]}}catch(e){}}}}var u=nav.userAgent.toLowerCase(),p=nav.platform.toLowerCase(),webkit=/webkit/.test(u)?parseFloat(u.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")):false,ie=false,windows=p?/win/.test(p):/win/.test(u),mac=p?/mac/.test(p):/mac/.test(u);
/*@cc_on
			ie = true;
			@if (@_win32)
				windows = true;
			@elif (@_mac)
				mac = true;
			@end
		@*/
return{w3cdom:w3cdom,pv:playerVersion,webkit:webkit,ie:ie,win:windows,mac:mac}}();var onDomLoad=function(){if(!ua.w3cdom){return}addDomLoadEvent(main);if(ua.ie&&ua.win){try{doc.write("<script id=__ie_ondomload defer=true src=//:></script>");script=getElementById("__ie_ondomload");if(script){addListener(script,"onreadystatechange",checkReadyState)}}catch(e){}}if(ua.webkit&&typeof doc.readyState!=UNDEF){timer=setInterval(function(){if(/loaded|complete/.test(doc.readyState)){callDomLoadFunctions()}},10)}if(typeof doc.addEventListener!=UNDEF){doc.addEventListener("DOMContentLoaded",callDomLoadFunctions,null)}addLoadEvent(callDomLoadFunctions)}();function checkReadyState(){if(script.readyState=="complete"){script.parentNode.removeChild(script);callDomLoadFunctions()}}function callDomLoadFunctions(){if(isDomLoaded){return}if(ua.ie&&ua.win){var s=createElement("span");try{var t=doc.getElementsByTagName("body")[0].appendChild(s);t.parentNode.removeChild(t)}catch(e){return}}isDomLoaded=true;if(timer){clearInterval(timer);timer=null}var dl=domLoadFnArr.length;for(var i=0;i<dl;i++){domLoadFnArr[i]()}}function addDomLoadEvent(fn){if(isDomLoaded){fn()}else{domLoadFnArr[domLoadFnArr.length]=fn}}function addLoadEvent(fn){if(typeof win.addEventListener!=UNDEF){win.addEventListener("load",fn,false)}else{if(typeof doc.addEventListener!=UNDEF){doc.addEventListener("load",fn,false)}else{if(typeof win.attachEvent!=UNDEF){addListener(win,"onload",fn)}else{if(typeof win.onload=="function"){var fnOld=win.onload;win.onload=function(){fnOld();fn()}}else{win.onload=fn}}}}}function main(){var rl=regObjArr.length;for(var i=0;i<rl;i++){var id=regObjArr[i].id;if(ua.pv[0]>0){var obj=getElementById(id);if(obj){regObjArr[i].width=obj.getAttribute("width")?obj.getAttribute("width"):"0";regObjArr[i].height=obj.getAttribute("height")?obj.getAttribute("height"):"0";if(hasPlayerVersion(regObjArr[i].swfVersion)){if(ua.webkit&&ua.webkit<312){fixParams(obj)}setVisibility(id,true)}else{if(regObjArr[i].expressInstall&&!isExpressInstallActive&&hasPlayerVersion("6.0.65")&&(ua.win||ua.mac)){showExpressInstall(regObjArr[i])}else{displayAltContent(obj)}}}}else{setVisibility(id,true)}}}function fixParams(obj){var nestedObj=obj.getElementsByTagName(OBJECT)[0];if(nestedObj){var e=createElement("embed"),a=nestedObj.attributes;if(a){var al=a.length;for(var i=0;i<al;i++){if(a[i].nodeName=="DATA"){e.setAttribute("src",a[i].nodeValue)}else{e.setAttribute(a[i].nodeName,a[i].nodeValue)}}}var c=nestedObj.childNodes;if(c){var cl=c.length;for(var j=0;j<cl;j++){if(c[j].nodeType==1&&c[j].nodeName=="PARAM"){e.setAttribute(c[j].getAttribute("name"),c[j].getAttribute("value"))}}}obj.parentNode.replaceChild(e,obj)}}function showExpressInstall(regObj){isExpressInstallActive=true;var obj=getElementById(regObj.id);if(obj){if(regObj.altContentId){var ac=getElementById(regObj.altContentId);if(ac){storedAltContent=ac;storedAltContentId=regObj.altContentId}}else{storedAltContent=abstractAltContent(obj)}if(!(/%$/.test(regObj.width))&&parseInt(regObj.width,10)<310){regObj.width="310"}if(!(/%$/.test(regObj.height))&&parseInt(regObj.height,10)<137){regObj.height="137"}doc.title=doc.title.slice(0,47)+" - Flash Player Installation";var pt=ua.ie&&ua.win?"ActiveX":"PlugIn",dt=doc.title,fv="MMredirectURL="+win.location+"&MMplayerType="+pt+"&MMdoctitle="+dt,replaceId=regObj.id;if(ua.ie&&ua.win&&obj.readyState!=4){var newObj=createElement("div");replaceId+="SWFObjectNew";newObj.setAttribute("id",replaceId);obj.parentNode.insertBefore(newObj,obj);obj.style.display="none";var fn=function(){obj.parentNode.removeChild(obj)};addListener(win,"onload",fn)}createSWF({data:regObj.expressInstall,id:EXPRESS_INSTALL_ID,width:regObj.width,height:regObj.height},{flashvars:fv},replaceId)}}function displayAltContent(obj){if(ua.ie&&ua.win&&obj.readyState!=4){var el=createElement("div");obj.parentNode.insertBefore(el,obj);el.parentNode.replaceChild(abstractAltContent(obj),el);obj.style.display="none";var fn=function(){obj.parentNode.removeChild(obj)};addListener(win,"onload",fn)}else{obj.parentNode.replaceChild(abstractAltContent(obj),obj)}}function abstractAltContent(obj){var ac=createElement("div");if(ua.win&&ua.ie){ac.innerHTML=obj.innerHTML}else{var nestedObj=obj.getElementsByTagName(OBJECT)[0];if(nestedObj){var c=nestedObj.childNodes;if(c){var cl=c.length;for(var i=0;i<cl;i++){if(!(c[i].nodeType==1&&c[i].nodeName=="PARAM")&&!(c[i].nodeType==8)){ac.appendChild(c[i].cloneNode(true))}}}}}return ac}function createSWF(attObj,parObj,id){var r,el=getElementById(id);if(el){if(typeof attObj.id==UNDEF){attObj.id=id}if(ua.ie&&ua.win){var att="";for(var i in attObj){if(attObj[i]!=Object.prototype[i]){if(i.toLowerCase()=="data"){parObj.movie=attObj[i]}else{if(i.toLowerCase()=="styleclass"){att+=' class="'+attObj[i]+'"'}else{if(i.toLowerCase()!="classid"){att+=" "+i+'="'+attObj[i]+'"'}}}}}var par="";for(var j in parObj){if(parObj[j]!=Object.prototype[j]){par+='<param name="'+j+'" value="'+parObj[j]+'" />'}}el.outerHTML='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'+att+">"+par+"</object>";objIdArr[objIdArr.length]=attObj.id;r=getElementById(attObj.id)}else{if(ua.webkit&&ua.webkit<312){var e=createElement("embed");e.setAttribute("type",FLASH_MIME_TYPE);for(var k in attObj){if(attObj[k]!=Object.prototype[k]){if(k.toLowerCase()=="data"){e.setAttribute("src",attObj[k])}else{if(k.toLowerCase()=="styleclass"){e.setAttribute("class",attObj[k])}else{if(k.toLowerCase()!="classid"){e.setAttribute(k,attObj[k])}}}}}for(var l in parObj){if(parObj[l]!=Object.prototype[l]){if(l.toLowerCase()!="movie"){e.setAttribute(l,parObj[l])}}}el.parentNode.replaceChild(e,el);r=e}else{var o=createElement(OBJECT);o.setAttribute("type",FLASH_MIME_TYPE);for(var m in attObj){if(attObj[m]!=Object.prototype[m]){if(m.toLowerCase()=="styleclass"){o.setAttribute("class",attObj[m])}else{if(m.toLowerCase()!="classid"){o.setAttribute(m,attObj[m])}}}}for(var n in parObj){if(parObj[n]!=Object.prototype[n]&&n.toLowerCase()!="movie"){createObjParam(o,n,parObj[n])}}el.parentNode.replaceChild(o,el);r=o}}}return r}function createObjParam(el,pName,pValue){var p=createElement("param");p.setAttribute("name",pName);p.setAttribute("value",pValue);el.appendChild(p)}function removeSWF(id){var obj=getElementById(id);if(obj&&(obj.nodeName=="OBJECT"||obj.nodeName=="EMBED")){if(ua.ie&&ua.win){if(obj.readyState==4){removeObjectInIE(id)}else{win.attachEvent("onload",function(){removeObjectInIE(id)})}}else{obj.parentNode.removeChild(obj)}}}function removeObjectInIE(id){var obj=getElementById(id);if(obj){for(var i in obj){if(typeof obj[i]=="function"){obj[i]=null}}obj.parentNode.removeChild(obj)}}function getElementById(id){var el=null;try{el=doc.getElementById(id)}catch(e){}return el}function createElement(el){return doc.createElement(el)}function addListener(target,eventType,fn){target.attachEvent(eventType,fn);listenersArr[listenersArr.length]=[target,eventType,fn]}function hasPlayerVersion(rv){var pv=ua.pv,v=rv.split(".");v[0]=parseInt(v[0],10);v[1]=parseInt(v[1],10)||0;v[2]=parseInt(v[2],10)||0;return(pv[0]>v[0]||(pv[0]==v[0]&&pv[1]>v[1])||(pv[0]==v[0]&&pv[1]==v[1]&&pv[2]>=v[2]))?true:false}function createCSS(sel,decl){if(ua.ie&&ua.mac){return}var h=doc.getElementsByTagName("head")[0],s=createElement("style");s.setAttribute("type","text/css");s.setAttribute("media","screen");if(!(ua.ie&&ua.win)&&typeof doc.createTextNode!=UNDEF){s.appendChild(doc.createTextNode(sel+" {"+decl+"}"))}h.appendChild(s);if(ua.ie&&ua.win&&typeof doc.styleSheets!=UNDEF&&doc.styleSheets.length>0){var ls=doc.styleSheets[doc.styleSheets.length-1];if(typeof ls.addRule==OBJECT){ls.addRule(sel,decl)}}}function setVisibility(id,isVisible){var v=isVisible?"visible":"hidden";if(isDomLoaded&&getElementById(id)){getElementById(id).style.visibility=v}else{createCSS("#"+id,"visibility:"+v)}}function urlEncodeIfNecessary(s){var regex=/[\\\"<>\.;]/;var hasBadChars=regex.exec(s)!=null;return hasBadChars?encodeURIComponent(s):s}var cleanup=function(){if(ua.ie&&ua.win){window.attachEvent("onunload",function(){var ll=listenersArr.length;for(var i=0;i<ll;i++){listenersArr[i][0].detachEvent(listenersArr[i][1],listenersArr[i][2])}var il=objIdArr.length;for(var j=0;j<il;j++){removeSWF(objIdArr[j])}for(var k in ua){ua[k]=null}ua=null;for(var l in swfobject){swfobject[l]=null}swfobject=null})}}();return{registerObject:function(objectIdStr,swfVersionStr,xiSwfUrlStr){if(!ua.w3cdom||!objectIdStr||!swfVersionStr){return}var regObj={};regObj.id=objectIdStr;regObj.swfVersion=swfVersionStr;regObj.expressInstall=xiSwfUrlStr?xiSwfUrlStr:false;regObjArr[regObjArr.length]=regObj;setVisibility(objectIdStr,false)},getObjectById:function(objectIdStr){var r=null;if(ua.w3cdom){var o=getElementById(objectIdStr);if(o){var n=o.getElementsByTagName(OBJECT)[0];if(!n||(n&&typeof o.SetVariable!=UNDEF)){r=o}else{if(typeof n.SetVariable!=UNDEF){r=n}}}}return r},embedSWF:function(swfUrlStr,replaceElemIdStr,widthStr,heightStr,swfVersionStr,xiSwfUrlStr,flashvarsObj,parObj,attObj){if(!ua.w3cdom||!swfUrlStr||!replaceElemIdStr||!widthStr||!heightStr||!swfVersionStr){return}widthStr+="";heightStr+="";if(hasPlayerVersion(swfVersionStr)){setVisibility(replaceElemIdStr,false);var att={};if(attObj&&typeof attObj===OBJECT){for(var i in attObj){if(attObj[i]!=Object.prototype[i]){att[i]=attObj[i]}}}att.data=swfUrlStr;att.width=widthStr;att.height=heightStr;var par={};if(parObj&&typeof parObj===OBJECT){for(var j in parObj){if(parObj[j]!=Object.prototype[j]){par[j]=parObj[j]}}}if(flashvarsObj&&typeof flashvarsObj===OBJECT){for(var k in flashvarsObj){if(flashvarsObj[k]!=Object.prototype[k]){if(typeof par.flashvars!=UNDEF){par.flashvars+="&"+k+"="+flashvarsObj[k]}else{par.flashvars=k+"="+flashvarsObj[k]}}}}addDomLoadEvent(function(){createSWF(att,par,replaceElemIdStr);if(att.id==replaceElemIdStr){setVisibility(replaceElemIdStr,true)}})}else{if(xiSwfUrlStr&&!isExpressInstallActive&&hasPlayerVersion("6.0.65")&&(ua.win||ua.mac)){isExpressInstallActive=true;setVisibility(replaceElemIdStr,false);addDomLoadEvent(function(){var regObj={};regObj.id=regObj.altContentId=replaceElemIdStr;regObj.width=widthStr;regObj.height=heightStr;regObj.expressInstall=xiSwfUrlStr;showExpressInstall(regObj)})}}},getFlashPlayerVersion:function(){return{major:ua.pv[0],minor:ua.pv[1],release:ua.pv[2]}},hasFlashPlayerVersion:hasPlayerVersion,createSWF:function(attObj,parObj,replaceElemIdStr){if(ua.w3cdom){return createSWF(attObj,parObj,replaceElemIdStr)}else{return undefined}},removeSWF:function(objElemIdStr){if(ua.w3cdom){removeSWF(objElemIdStr)}},createCSS:function(sel,decl){if(ua.w3cdom){createCSS(sel,decl)}},addDomLoadEvent:addDomLoadEvent,addLoadEvent:addLoadEvent,getQueryParamValue:function(param){var q=doc.location.search||doc.location.hash;if(param==null){return urlEncodeIfNecessary(q)}if(q){var pairs=q.substring(1).split("&");for(var i=0;i<pairs.length;i++){if(pairs[i].substring(0,pairs[i].indexOf("="))==param){return urlEncodeIfNecessary(pairs[i].substring((pairs[i].indexOf("=")+1)))}}}return""},expressInstallCallback:function(){if(isExpressInstallActive&&storedAltContent){var obj=getElementById(EXPRESS_INSTALL_ID);if(obj){obj.parentNode.replaceChild(storedAltContent,obj);if(storedAltContentId){setVisibility(storedAltContentId,true);if(ua.ie&&ua.win){storedAltContent.style.display="block"}}storedAltContent=null;storedAltContentId=null;isExpressInstallActive=false}}}}}();var Shadowbox=function(){var ua=navigator.userAgent.toLowerCase(),S={version:"3.0b",adapter:null,current:-1,gallery:[],cache:[],content:null,dimensions:null,plugins:null,path:"",options:{adapter:null,animate:true,animateFade:true,autoplayMovies:true,autoDimensions:false,continuous:false,counterLimit:10,counterType:"default",displayCounter:true,displayNav:true,ease:function(x){return 1+Math.pow(x-1,3)},enableKeys:true,errors:{fla:{name:"Flash",url:"http://www.adobe.com/products/flashplayer/"},qt:{name:"QuickTime",url:"http://www.apple.com/quicktime/download/"},wmp:{name:"Windows Media Player",url:"http://www.microsoft.com/windows/windowsmedia/"},f4m:{name:"Flip4Mac",url:"http://www.flip4mac.com/wmv_download.htm"}},ext:{img:["png","jpg","jpeg","gif","bmp"],swf:["swf"],flv:["flv"],qt:["dv","mov","moov","movie","mp4"],wmp:["asf","wm","wmv"],qtwmp:["avi","mpg","mpeg"],iframe:["asp","aspx","cgi","cfm","htm","html","jsp","pl","php","php3","php4","php5","phtml","rb","rhtml","shtml","txt","vbs"]},fadeDuration:0.35,flashParams:{bgcolor:"#000000",allowFullScreen:true},flashVars:{},flashVersion:"9.0.115",handleOversize:"resize",handleUnsupported:"link",initialHeight:160,initialWidth:320,language:"en",modal:false,onChange:null,onClose:null,onFinish:null,onOpen:null,overlayColor:"#000",overlayOpacity:0.8,players:["img"],resizeDuration:0.35,showOverlay:true,showMovieControls:true,skipSetup:false,slideshowDelay:0,useSizzle:true,viewportPadding:20},client:{isIE:ua.indexOf("msie")>-1,isIE6:ua.indexOf("msie 6")>-1,isIE7:ua.indexOf("msie 7")>-1,isGecko:ua.indexOf("gecko")>-1&&ua.indexOf("safari")==-1,isWebkit:ua.indexOf("applewebkit/")>-1,isWindows:ua.indexOf("windows")>-1||ua.indexOf("win32")>-1,isMac:ua.indexOf("macintosh")>-1||ua.indexOf("mac os x")>-1,isLinux:ua.indexOf("linux")>-1},regex:{domain:/:\/\/(.*?)[:\/]/,inline:/#(.+)$/,rel:/^(light|shadow)box/i,gallery:/^(light|shadow)box\[(.*?)\]/i,unsupported:/^unsupported-(\w+)/,param:/\s*([a-z_]*?)\s*=\s*(.+)\s*/},libraries:{Prototype:"prototype",jQuery:"jquery",MooTools:"mootools",YAHOO:"yui",dojo:"dojo",Ext:"ext"},applyOptions:function(opts){if(opts){default_options=apply({},S.options);apply(S.options,opts)}},buildCacheObj:function(link,opts){var href=link.href,obj={el:link,title:link.getAttribute("title"),options:apply({},opts||{}),content:href};each(["player","title","height","width","gallery"],function(o){if(typeof obj.options[o]!="undefined"){obj[o]=obj.options[o];delete obj.options[o]}});if(!obj.player){obj.player=getPlayer(href)}var rel=link.getAttribute("rel");if(rel){var m=rel.match(S.regex.gallery);if(m){obj.gallery=escape(m[2])}each(rel.split(";"),function(p){m=p.match(S.regex.param);if(m){if(m[1]=="options"){eval("apply(obj.options,"+m[2]+")")}else{obj[m[1]]=m[2]}}})}return obj},change:function(n){if(!S.gallery){return}if(!S.gallery[n]){if(!S.options.continuous){return}else{n=n<0?S.gallery.length-1:0}}S.current=n;if(typeof slide_timer=="number"){clearTimeout(slide_timer);slide_timer=null;slide_delay=slide_start=0}if(S.options.onChange){S.options.onChange()}loadContent()},clearCache:function(){each(S.cache,function(obj){if(obj.el){S.lib.removeEvent(obj.el,"click",handleClick)}});S.cache=[]},close:function(){if(!active){return}active=false;listenKeys(false);if(S.content){S.content.remove();S.content=null}if(typeof slide_timer=="number"){clearTimeout(slide_timer)}slide_timer=null;slide_delay=0;if(S.options.onClose){S.options.onClose()}S.skin.onClose();S.revertOptions();each(v_cache,function(c){c[0].style.visibility=c[1]})},contentId:function(){return content_id},getCounter:function(){var len=S.gallery.length;if(S.options.counterType=="skip"){var c=[],i=0,end=len,limit=parseInt(S.options.counterLimit)||0;if(limit<len&&limit>2){var h=Math.floor(limit/2);i=S.current-h;if(i<0){i+=len}end=S.current+(limit-h);if(end>len){end-=len}}while(i!=end){if(i==len){i=0}c.push(i++)}}else{var c=(S.current+1)+" "+S.lang.of+" "+len}return c},getCurrent:function(){return S.current>-1?S.gallery[S.current]:null},hasNext:function(){return S.gallery.length>1&&(S.current!=S.gallery.length-1||S.options.continuous)},init:function(opts){if(initialized){return}initialized=true;opts=opts||{};init_options=opts;if(opts){apply(S.options,opts)}for(var e in S.options.ext){S.regex[e]=new RegExp(".("+S.options.ext[e].join("|")+")s*$","i")}if(!S.path){var path_re=/(.+)shadowbox\.js/i,path;each(document.getElementsByTagName("script"),function(s){if((path=path_re.exec(s.src))!=null){S.path=path[1];return false}})}if(S.options.adapter){S.adapter=S.options.adapter}else{for(var lib in S.libraries){if(typeof window[lib]!="undefined"){S.adapter=S.libraries[lib];break}}if(!S.adapter){S.adapter="base"}}if(S.options.useSizzle&&!window.Sizzle){U.include(S.path+"libraries/sizzle/sizzle.js")}if(!S.lang){U.include(S.path+"languages/shadowbox-"+S.options.language+".js")}each(S.options.players,function(p){if((p=="swf"||p=="flv")&&!window.swfobject){U.include(S.path+"libraries/swfobject/swfobject.js")}if(!S[p]){U.include(S.path+"players/shadowbox-"+p+".js")}});if(!S.lib){U.include(S.path+"adapters/shadowbox-"+S.adapter+".js")}},isActive:function(){return active},isPaused:function(){return slide_timer=="paused"},load:function(){if(S.skin.options){apply(S.options,S.skin.options);apply(S.options,init_options)}var markup=S.skin.markup.replace(/\{(\w+)\}/g,function(m,p){return S.lang[p]});S.lib.append(document.body,markup);if(S.skin.init){S.skin.init()}var id;S.lib.addEvent(window,"resize",function(){if(id){clearTimeout(id);id=null}if(active){id=setTimeout(function(){if(S.skin.onWindowResize){S.skin.onWindowResize()}var c=S.content;if(c&&c.onWindowResize){c.onWindowResize()}},50)}});if(!S.options.skipSetup){S.setup()}},next:function(){S.change(S.current+1)},open:function(obj){if(U.isLink(obj)){obj=S.buildCacheObj(obj)}if(obj.constructor==Array){S.gallery=obj;S.current=0}else{if(!obj.gallery){S.gallery=[obj];S.current=0}else{S.current=null;S.gallery=[];each(S.cache,function(c){if(c.gallery&&c.gallery==obj.gallery){if(S.current==null&&c.content==obj.content&&c.title==obj.title){S.current=S.gallery.length}S.gallery.push(c)}});if(S.current==null){S.gallery.unshift(obj);S.current=0}}}obj=S.getCurrent();if(obj.options){S.revertOptions();S.applyOptions(obj.options)}var g,r,m,s,a,oe=S.options.errors,msg,el;for(var i=0;i<S.gallery.length;++i){g=S.gallery[i]=apply({},S.gallery[i]);r=false;if(g.player=="unsupported"){r=true}else{if(m=S.regex.unsupported.exec(g.player)){if(S.options.handleUnsupported=="link"){g.player="html";switch(m[1]){case"qtwmp":s="either";a=[oe.qt.url,oe.qt.name,oe.wmp.url,oe.wmp.name];break;case"qtf4m":s="shared";a=[oe.qt.url,oe.qt.name,oe.f4m.url,oe.f4m.name];break;default:s="single";if(m[1]=="swf"||m[1]=="flv"){m[1]="fla"}a=[oe[m[1]].url,oe[m[1]].name]}msg=S.lang.errors[s].replace(/\{(\d+)\}/g,function(m,n){return a[n]});g.content='<div class="sb-message">'+msg+"</div>"}else{r=true}}else{if(g.player=="inline"){m=S.regex.inline.exec(g.content);if(m){var el=U.get(m[1]);if(el){g.content=el.innerHTML}else{throw"Cannot find element with id "+m[1]}}else{throw"Cannot find element id for inline content"}}else{if(g.player=="swf"||g.player=="flv"){var version=(g.options&&g.options.flashVersion)||S.options.flashVersion;if(!swfobject.hasFlashPlayerVersion(version)){g.width=310;g.height=177}}}}}if(r){S.gallery.splice(i,1);if(i<S.current){--S.current}else{if(i==S.current){S.current=i>0?i-1:i}}--i}}if(S.gallery.length){if(!active){if(typeof S.options.onOpen=="function"&&S.options.onOpen(obj)===false){return}v_cache=[];each(["select","object","embed","canvas"],function(tag){each(document.getElementsByTagName(tag),function(el){v_cache.push([el,el.style.visibility||"visible"]);el.style.visibility="hidden"})});var h=S.options.autoDimensions&&"height" in obj?obj.height:S.options.initialHeight;var w=S.options.autoDimensions&&"width" in obj?obj.width:S.options.initialWidth;S.skin.onOpen(h,w,loadContent)}else{loadContent()}active=true}},pause:function(){if(typeof slide_timer!="number"){return}var time=new Date().getTime();slide_delay=Math.max(0,slide_delay-(time-slide_start));if(slide_delay){clearTimeout(slide_timer);slide_timer="paused";if(S.skin.onPause){S.skin.onPause()}}},play:function(){if(!S.hasNext()){return}if(!slide_delay){slide_delay=S.options.slideshowDelay*1000}if(slide_delay){slide_start=new Date().getTime();slide_timer=setTimeout(function(){slide_delay=slide_start=0;S.next()},slide_delay);if(S.skin.onPlay){S.skin.onPlay()}}},previous:function(){S.change(S.current-1)},revertOptions:function(){apply(S.options,default_options)},setDimensions:function(height,width,max_h,max_w,tb,lr,resizable){var h=height=parseInt(height),w=width=parseInt(width),pad=parseInt(S.options.viewportPadding)||0;var extra_h=2*pad+tb;if(h+extra_h>=max_h){h=max_h-extra_h}var extra_w=2*pad+lr;if(w+extra_w>=max_w){w=max_w-extra_w}var resize_h=height,resize_w=width,change_h=(height-h)/height,change_w=(width-w)/width,oversized=(change_h>0||change_w>0);if(resizable&&oversized&&S.options.handleOversize=="resize"){if(change_h>change_w){w=Math.round((width/height)*h)}else{if(change_w>change_h){h=Math.round((height/width)*w)}}resize_w=w;resize_h=h}S.dimensions={height:h+tb,width:w+lr,inner_h:h,inner_w:w,top:(max_h-(h+extra_h))/2+pad,left:(max_w-(w+extra_w))/2+pad,oversized:oversized,resize_h:resize_h,resize_w:resize_w};return S.dimensions},setup:function(links,opts){if(!links){var links=[],rel;each(document.getElementsByTagName("a"),function(a){rel=a.getAttribute("rel");if(rel&&S.regex.rel.test(rel)){links.push(a)}})}else{var len=links.length;if(len){if(window.Sizzle){if(typeof links=="string"){links=Sizzle(links)}else{if(len==2&&links.push&&typeof links[0]=="string"&&links[1].nodeType){links=Sizzle(links[0],links[1])}}}}else{links=[links]}}each(links,function(link){if(typeof link.shadowboxCacheKey=="undefined"){link.shadowboxCacheKey=S.cache.length;S.lib.addEvent(link,"click",handleClick)}S.cache[link.shadowboxCacheKey]=S.buildCacheObj(link,opts)})}},U=S.util={animate:function(el,p,to,d,cb){var from=parseFloat(S.lib.getStyle(el,p));if(isNaN(from)){from=0}var delta=to-from;if(delta==0){if(cb){cb()}return}var op=p=="opacity";function fn(ease){var to=from+ease*delta;if(op){U.setOpacity(el,to)}else{el.style[p]=to+"px"}}if(!d||(!op&&!S.options.animate)||(op&&!S.options.animateFade)){fn(1);if(cb){cb()}return}d*=1000;var begin=new Date().getTime(),end=begin+d,time,timer=setInterval(function(){time=new Date().getTime();if(time>=end){clearInterval(timer);fn(1);if(cb){cb()}}else{fn(S.options.ease((time-begin)/d))}},10)},apply:function(o,e){for(var p in e){o[p]=e[p]}return o},clearOpacity:function(el){var s=el.style;if(window.ActiveXObject){if(typeof s.filter=="string"&&(/alpha/i).test(s.filter)){s.filter=s.filter.replace(/[\w\.]*alpha\(.*?\);?/i,"")}}else{s.opacity=""}},each:function(obj,fn,scope){for(var i=0,len=obj.length;i<len;++i){if(fn.call(scope||obj[i],obj[i],i,obj)===false){return}}},get:function(id){return document.getElementById(id)},include:function(){var includes={};return function(file){if(includes[file]){return}includes[file]=true;document.write('<script type="text/javascript" src="'+file+'"></script>')}}(),isLink:function(obj){if(!obj||!obj.tagName){return false}var up=obj.tagName.toUpperCase();return up=="A"||up=="AREA"},removeChildren:function(el){while(el.firstChild){el.removeChild(el.firstChild)}},setOpacity:function(el,o){var s=el.style;if(window.ActiveXObject){s.zoom=1;s.filter=(s.filter||"").replace(/\s*alpha\([^\)]*\)/gi,"")+(o==1?"":" alpha(opacity="+(o*100)+")")}else{s.opacity=o}}},apply=U.apply,each=U.each,init_options,initialized=false,default_options={},content_id="sb-content",active=false,slide_timer,slide_start,slide_delay=0,v_cache=[];if(navigator.plugins&&navigator.plugins.length){var names=[];each(navigator.plugins,function(p){names.push(p.name)});names=names.join();var detectPlugin=function(n){return names.indexOf(n)>-1};var f4m=detectPlugin("Flip4Mac");S.plugins={fla:detectPlugin("Shockwave Flash"),qt:detectPlugin("QuickTime"),wmp:!f4m&&detectPlugin("Windows Media"),f4m:f4m}}else{function detectPlugin(n){try{var axo=new ActiveXObject(n)}catch(e){}return !!axo}S.plugins={fla:detectPlugin("ShockwaveFlash.ShockwaveFlash"),qt:detectPlugin("QuickTime.QuickTime"),wmp:detectPlugin("wmplayer.ocx"),f4m:false}}function getPlayer(url){var re=S.regex,p=S.plugins,m=url.match(re.domain),d=m&&document.domain==m[1];if(url.indexOf("#")>-1&&d){return"inline"}var q=url.indexOf("?");if(q>-1){url=url.substring(0,q)}if(re.img.test(url)){return"img"}if(re.swf.test(url)){return p.fla?"swf":"unsupported-swf"}if(re.flv.test(url)){return p.fla?"flv":"unsupported-flv"}if(re.qt.test(url)){return p.qt?"qt":"unsupported-qt"}if(re.wmp.test(url)){if(p.wmp){return"wmp"}if(p.f4m){return"qt"}if(S.client.isMac){return p.qt?"unsupported-f4m":"unsupported-qtf4m"}return"unsupported-wmp"}if(re.qtwmp.test(url)){if(p.qt){return"qt"}if(p.wmp){return"wmp"}return S.client.isMac?"unsupported-qt":"unsupported-qtwmp"}if(!d||re.iframe.test(url)){return"iframe"}return"unsupported"}function handleClick(e){var link;if(U.isLink(this)){link=this}else{link=S.lib.getTarget(e);while(!U.isLink(link)&&link.parentNode){link=link.parentNode}}if(link){var key=link.shadowboxCacheKey;if(typeof key!="undefined"&&typeof S.cache[key]!="undefined"){link=S.cache[key]}S.open(link);if(S.gallery.length){S.lib.preventDefault(e)}}}function listenKeys(on){if(!S.options.enableKeys){return}S.lib[(on?"add":"remove")+"Event"](document,"keydown",handleKey)}function handleKey(e){var code=S.lib.keyCode(e);S.lib.preventDefault(e);switch(code){case 81:case 88:case 27:S.close();break;case 37:S.previous();break;case 39:S.next();break;case 32:S[(typeof slide_timer=="number"?"pause":"play")]()}}function loadContent(){var obj=S.getCurrent();if(!obj){return}var p=obj.player=="inline"?"html":obj.player;if(typeof S[p]!="function"){throw"Unknown player: "+p}var change=false;if(S.content){S.content.remove();change=true;S.revertOptions();if(obj.options){S.applyOptions(obj.options)}}U.removeChildren(S.skin.bodyEl());S.content=new S[p](obj);listenKeys(false);S.skin.onLoad(S.content,change,function(){if(!S.content){return}if(typeof S.content.ready!="undefined"){var id=setInterval(function(){if(S.content){if(S.content.ready){clearInterval(id);id=null;S.skin.onReady(contentReady)}}else{clearInterval(id);id=null}},100)}else{S.skin.onReady(contentReady)}});if(S.gallery.length>1){var next=S.gallery[S.current+1]||S.gallery[0];if(next.player=="img"){var a=new Image();a.src=next.content}var prev=S.gallery[S.current-1]||S.gallery[S.gallery.length-1];if(prev.player=="img"){var b=new Image();b.src=prev.content}}}function contentReady(){if(!S.content){return}S.content.append(S.skin.bodyEl(),content_id,S.dimensions);S.skin.onFinish(finishContent)}function finishContent(){if(!S.content){return}if(S.content.onLoad){S.content.onLoad()}if(S.options.onFinish){S.options.onFinish()}if(!S.isPaused()){S.play()}listenKeys(true)}return S}();Shadowbox.skin=function(){var f=Shadowbox,i=f.util,g=false,c=["sb-nav-close","sb-nav-next","sb-nav-play","sb-nav-pause","sb-nav-previous"];function l(){i.get("sb-container").style.top=document.documentElement.scrollTop+"px"}function h(p){var q=i.get("sb-overlay"),r=i.get("sb-container"),s=i.get("sb-wrapper");if(p){if(f.client.isIE6){l();f.lib.addEvent(window,"scroll",l)}if(f.options.showOverlay){g=true;q.style.backgroundColor=f.options.overlayColor;i.setOpacity(q,0);if(!f.options.modal){f.lib.addEvent(q,"click",f.close)}s.style.display="none"}r.style.visibility="visible";if(g){var t=parseFloat(f.options.overlayOpacity);i.animate(q,"opacity",t,f.options.fadeDuration,p)}else{p()}}else{if(f.client.isIE6){f.lib.removeEvent(window,"scroll",l)}f.lib.removeEvent(q,"click",f.close);if(g){s.style.display="none";i.animate(q,"opacity",0,f.options.fadeDuration,function(){r.style.display="";s.style.display="";i.clearOpacity(q)})}else{r.style.visibility="hidden"}}}function b(r,q){var p=i.get("sb-nav-"+r);if(p){p.style.display=q?"":"none"}}function e(s,q){var r=i.get("sb-loading"),u=f.getCurrent().player,v=(u=="img"||u=="html");if(s){function t(){i.clearOpacity(r);if(q){q()}}i.setOpacity(r,0);r.style.display="";if(v){i.animate(r,"opacity",1,f.options.fadeDuration,t)}else{t()}}else{function t(){r.style.display="none";i.clearOpacity(r);if(q){q()}}if(v){i.animate(r,"opacity",0,f.options.fadeDuration,t)}else{t()}}}function a(w){var q=f.getCurrent();i.get("sb-title-inner").innerHTML=q.title||"";var s,r,u,t,v;if(f.options.displayNav){s=true;var x=f.gallery.length;if(x>1){if(f.options.continuous){r=v=true}else{r=(x-1)>f.current;v=f.current>0}}if(f.options.slideshowDelay>0&&f.hasNext()){t=!f.isPaused();u=!t}}else{s=r=u=t=v=false}b("close",s);b("next",r);b("play",u);b("pause",t);b("previous",v);var s="";if(f.options.displayCounter&&f.gallery.length>1){var y=f.getCounter();if(typeof y=="string"){s=y}else{i.each(y,function(p){s+='<a onclick="Shadowbox.change('+p+');"';if(p==f.current){s+=' class="sb-counter-current"'}s+=">"+(p+1)+"</a>"})}}i.get("sb-counter").innerHTML=s;w()}function o(q,y){var w=i.get("sb-wrapper"),r=i.get("sb-title"),u=i.get("sb-info"),v=i.get("sb-title-inner"),x=i.get("sb-info-inner"),p=parseInt(f.lib.getStyle(v,"height"))||0,s=parseInt(f.lib.getStyle(x,"height"))||0;function z(){v.style.visibility=x.style.visibility="hidden";a(y)}if(q){i.animate(r,"height",0,0.35);i.animate(u,"height",0,0.35);i.animate(w,"paddingTop",p,0.35);i.animate(w,"paddingBottom",s,0.35,z)}else{r.style.height=u.style.height="0px";w.style.paddingTop=p+"px";w.style.paddingBottom=s+"px";z()}}function m(x){var u=i.get("sb-wrapper"),p=i.get("sb-title"),r=i.get("sb-info"),s=i.get("sb-title-inner"),v=i.get("sb-info-inner"),w=parseInt(f.lib.getStyle(s,"height"))||0,q=parseInt(f.lib.getStyle(v,"height"))||0;s.style.visibility=v.style.visibility="";if(s.innerHTML!=""){i.animate(p,"height",w,0.35);i.animate(u,"paddingTop",0,0.35)}i.animate(r,"height",q,0.35);i.animate(u,"paddingBottom",0,0.35,x)}function n(u,q,r,v){var p=i.get("sb-body"),w=i.get("sb-wrapper"),y=parseInt(u),x=parseInt(q);if(r){i.animate(p,"height",y,f.options.resizeDuration);i.animate(w,"top",x,f.options.resizeDuration,v)}else{p.style.height=y+"px";w.style.top=x+"px";if(v){v()}}}function k(t,v,x,p){var q=i.get("sb-wrapper"),u=parseInt(t),r=parseInt(v);if(x){i.animate(q,"width",u,f.options.resizeDuration);i.animate(q,"left",r,f.options.resizeDuration,p)}else{q.style.width=u+"px";q.style.left=r+"px";if(p){p()}}}function j(p){var q=f.content;if(!q){return}var r=d(q.height,q.width,q.resizable);switch(f.options.animSequence){case"hw":n(r.inner_h,r.top,true,function(){k(r.width,r.left,true,p)});break;case"wh":k(r.width,r.left,true,function(){n(r.inner_h,r.top,true,p)});break;default:k(r.width,r.left,true);n(r.inner_h,r.top,true,p)}}function d(p,q,s){var r=i.get("sb-body-inner");sw=i.get("sb-wrapper"),so=i.get("sb-overlay"),tb=sw.offsetHeight-r.offsetHeight,lr=sw.offsetWidth-r.offsetWidth,max_h=so.offsetHeight,max_w=so.offsetWidth;return f.setDimensions(p,q,max_h,max_w,tb,lr,s)}return{markup:'<div id="sb-container"><div id="sb-overlay"></div><div id="sb-wrapper"><div id="sb-title"><div id="sb-title-inner"></div></div><div id="sb-body"><div id="sb-body-inner"></div><div id="sb-loading"><a onclick="Shadowbox.close()">{cancel}</a></div></div><div id="sb-info"><div id="sb-info-inner"><div id="sb-counter"></div><div id="sb-nav"><a id="sb-nav-close" title="{close}" onclick="Shadowbox.close()"></a><a id="sb-nav-next" title="{next}" onclick="Shadowbox.next()"></a><a id="sb-nav-play" title="{play}" onclick="Shadowbox.play()"></a><a id="sb-nav-pause" title="{pause}" onclick="Shadowbox.pause()"></a><a id="sb-nav-previous" title="{previous}" onclick="Shadowbox.previous()"></a></div><div style="clear:both"></div></div></div></div></div>',options:{animSequence:"sync"},init:function(){if(f.client.isIE6){i.get("sb-body").style.zoom=1;var q,p,r=/url\("(.*\.png)"\)/;i.each(c,function(s){q=i.get(s);if(q){p=f.lib.getStyle(q,"backgroundImage").match(r);if(p){q.style.backgroundImage="none";q.style.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true,src="+p[1]+",sizingMethod=scale);"}}})}},bodyEl:function(){return i.get("sb-body-inner")},onOpen:function(r,q,p){i.get("sb-container").style.display="block";var s=d(r,q);n(s.inner_h,s.top,false);k(s.width,s.left,false);h(p)},onLoad:function(q,r,p){e(true);o(r,function(){if(!q){return}if(!r){i.get("sb-wrapper").style.display=""}p()})},onReady:function(p){j(function(){m(p)})},onFinish:function(p){e(false,p)},onClose:function(){h(false)},onPlay:function(){b("play",false);b("pause",true)},onPause:function(){b("pause",false);b("play",true)},onWindowResize:function(){var q=f.content;if(!q){return}var r=d(q.height,q.width,q.resizable);k(r.width,r.left,false);n(r.inner_h,r.top,false);var p=i.get(f.contentId());if(p){if(q.resizable&&f.options.handleOversize=="resize"){p.height=r.resize_h;p.width=r.resize_w}}}}}();if(typeof jQuery=="undefined"){throw"Unable to load Shadowbox adapter, jQuery not found"}if(typeof Shadowbox=="undefined"){throw"Unable to load Shadowbox adapter, Shadowbox not found"}Shadowbox.lib=function(a){return{getStyle:function(b,c){return a(b).css(c)},remove:function(b){a(b).remove()},getTarget:function(b){return b.target},getPageXY:function(b){return[b.pageX,b.pageY]},preventDefault:function(b){b.preventDefault()},keyCode:function(b){return b.keyCode},addEvent:function(c,b,d){a(c).bind(b,d)},removeEvent:function(c,b,d){a(c).unbind(b,d)},append:function(c,b){a(c).append(b)}}}(jQuery);jQuery(Shadowbox.load);(function(a){a.fn.shadowbox=function(b){return this.each(function(){var d=a(this);var c=a.extend({},b||{},a.metadata?d.metadata():a.meta?d.data():{});var e=this.className||"";c.width=parseInt((e.match(/w:(\d+)/)||[])[1])||c.width;c.height=parseInt((e.match(/h:(\d+)/)||[])[1])||c.height;Shadowbox.setup(d,c)})}})(jQuery);if(typeof Shadowbox=="undefined"){throw"Unable to load Shadowbox language file, Shadowbox not found."}Shadowbox.lang={code:"cs",of:"z(e)",loading:"nahrávám",cancel:"Zrušit",next:"Další",previous:"Předchozí",play:"Přehrát",pause:"Pauza",close:"Zavřít",errors:{single:'Pro správné zobrazení je potřeba nainstalovat tento zásuvný modul do Vašeho prohlížeče: <a href="{0}">{1}</a>.',shared:'Pro správné zobrazení je potřeba nainstalovat oba tyto zásuvné moduly do Vašeho prohlížeče: <a href="{0}">{1}</a> a <a href="{2}">{3}</a>.',either:'Pro správné zobrazení je potřeba do Vašeho prohlížeče nainstalovat jeden z následujících zásuvných modulů: <a href="{0}">{1}</a> nebo <a href="{2}">{3}</a>.'}};(function(a){a.html=function(b){this.obj=b;this.height=b.height?parseInt(b.height,10):300;this.width=b.width?parseInt(b.width,10):500};a.html.prototype={append:function(b,d,e){this.id=d;var c=document.createElement("div");c.id=d;c.className="html";c.innerHTML=this.obj.content;b.appendChild(c)},remove:function(){var b=document.getElementById(this.id);if(b){a.lib.remove(b)}}}})(Shadowbox);(function(a){var b=a.util;a.flv=function(c){this.obj=c;this.resizable=false;this.height=c.height?parseInt(c.height,10):240;this.width=c.width?parseInt(c.width,10):320};a.flv.prototype={append:function(m,g,c){this.id=g;var j=document.createElement("div");j.id=g;m.appendChild(j);var i=this.obj.content+"#";var o=c.resize_h,n=c.resize_w,l=a.options.flvPlayer,k=a.options.flashVersion,d=a.path+"libraries/swfobject/expressInstall.swf",e=b.apply({flv:escape(i),height:o,width:n,margin:"2",showvolume:"1",buffermessage:"",buffer:"5",showiconplay:"1",iconplaycolor:"FFFFFF",iconplaybgcolor:"000000",iconplaybgalpha:"100",videobgcolor:"000000",autoplay:"1",phpstream:"0"},a.options.flashVars),f=b.apply({allowfullscreen:false,wmode:"transparent"},a.options.flashParams);swfobject.embedSWF(l,g,n,o,k,d,e,f)},remove:function(){swfobject.expressInstallCallback();swfobject.removeSWF(this.id)}}})(Shadowbox);(function(a){a.iframe=function(c){this.obj=c;var b=document.getElementById("sb-overlay");this.height=c.height?parseInt(c.height,10):b.offsetHeight;this.width=c.width?parseInt(c.width,10):b.offsetWidth};a.iframe.prototype={append:function(b,d,e){this.id=d;var c='<iframe id="'+d+'" name="'+d+'" height="100%" width="100%" frameborder="0" marginwidth="0" marginheight="0" scrolling="auto"';if(a.client.isIE){c+=' allowtransparency="true"';if(a.client.isIE6){c+=" src=\"javascript:false;document.write('');\""}}c+="></iframe>";b.innerHTML=c},remove:function(){var b=document.getElementById(this.id);if(b){a.lib.remove(b);if(a.client.isGecko){delete window.frames[this.id]}}},onLoad:function(){var b=a.client.isIE?document.getElementById(this.id).contentWindow:window.frames[this.id];b.location.href=this.obj.content}}})(Shadowbox);(function(d){var e=d.util,b,g,f="sb-drag-layer",i;function a(){b={x:0,y:0,start_x:null,start_y:null}}function h(m,o,n){if(m){a();var l=["position:absolute","height:"+o+"px","width:"+n+"px","cursor:"+(d.client.isGecko?"-moz-grab":"move"),"background-color:"+(d.client.isIE?"#fff;filter:alpha(opacity=0)":"transparent")].join(";");d.lib.append(d.skin.bodyEl(),'<div id="'+f+'" style="'+l+'"></div>');d.lib.addEvent(e.get(f),"mousedown",c)}else{var p=e.get(f);if(p){d.lib.removeEvent(p,"mousedown",c);d.lib.remove(p)}g=null}}function c(m){d.lib.preventDefault(m);var l=d.lib.getPageXY(m);b.start_x=l[0];b.start_y=l[1];g=e.get(d.contentId());d.lib.addEvent(document,"mousemove",j);d.lib.addEvent(document,"mouseup",k);if(d.client.isGecko){e.get(f).style.cursor="-moz-grabbing"}}function k(){d.lib.removeEvent(document,"mousemove",j);d.lib.removeEvent(document,"mouseup",k);if(d.client.isGecko){e.get(f).style.cursor="-moz-grab"}}function j(q){var o=d.content,p=d.dimensions,m=d.lib.getPageXY(q);var n=m[0]-b.start_x;b.start_x+=n;b.x=Math.max(Math.min(0,b.x+n),p.inner_w-o.width);g.style.left=b.x+"px";var l=m[1]-b.start_y;b.start_y+=l;b.y=Math.max(Math.min(0,b.y+l),p.inner_h-o.height);g.style.top=b.y+"px"}d.img=function(m){this.obj=m;this.resizable=true;this.ready=false;var l=this;i=new Image();i.onload=function(){l.height=m.height?parseInt(m.height,10):i.height;l.width=m.width?parseInt(m.width,10):i.width;l.ready=true;i.onload="";i=null};i.src=m.content};d.img.prototype={append:function(l,o,n){this.id=o;var m=document.createElement("img");m.id=o;m.src=this.obj.content;m.style.position="absolute";m.setAttribute("height",n.resize_h);m.setAttribute("width",n.resize_w);l.appendChild(m)},remove:function(){var l=e.get(this.id);if(l){d.lib.remove(l)}h(false);if(i){i.onload="";i=null}},onLoad:function(){var l=d.dimensions;if(l.oversized&&d.options.handleOversize=="drag"){h(true,l.resize_h,l.resize_w)}},onWindowResize:function(){if(g){var n=d.content,o=d.dimensions,m=parseInt(d.lib.getStyle(g,"top")),p=parseInt(d.lib.getStyle(g,"left"));if(m+n.height<o.inner_h){g.style.top=o.inner_h-n.height+"px"}if(p+n.width<o.inner_w){g.style.left=o.inner_w-n.width+"px"}}}}})(Shadowbox);Shadowbox.init({players:["img","flv","iframe","html"],skipSetup:false,animSequence:"wh",handleOversize:"resize",flvPlayer:"/shared/flash/player_flv.swf",flashVersion:"8"});$("document").ready(function(){var c=$("a[href$='.jpg']:has(img), a[href$='.jpeg']:has('img'), a[href$='.gif']:has(img), a[href$='.png']:has(img)");if(c!=(null)&&c.length>0){for(var a=0;a<c.length;a++){var b=$(c[a])[0].getElementsByTagName("IMG")[0];c[a].title=b.alt}Shadowbox.setup(c,{player:"img"})}});addFlvPlayer=function(c,b,a){var d=/((details\/)|((&?)showForm=t(rue)?))/i;c.href=c.href.replace(d,"");Shadowbox.setup(c,{player:"flv",width:b,height:a})};function addLoadListener(a){$(document).ready(a)}function menuHighlightOn(){return true}function menuHighlightOff(){return true}sfHover=function(){var a=document.getElementById("top-level-nav");if(a!=null){var b=a.getElementsByTagName("LI");for(var c=0;c<b.length;c++){b[c].onmouseover=function(){this.className+=" over"};b[c].onmouseout=function(){this.className=this.className.replace(new RegExp("\\b(\\s)?over\\b"),"")}}}};function generateTOC(){var m,i;var f=document.getElementsByTagName("html")[0].getAttribute("Lang");if(f=="undefined"){f="en"}switch(f){case"cs":m="Horní strana";i="Obsah strany";break;case"de":m="Nach oben";i="Seiteninhalt";break;case"es":m="Arriba";i="Contenido de la página";break;case"fr":m="Haut de page";i="Sur cette page";break;case"it":m="All'inizio";i="Contenuto della pagina";break;case"jp":m="トップへ";i="ページコンテンツ";break;case"ko":m="맨 위";i="페이지 내용";break;case"nl":m="Naar boven";i="Op deze pagina";break;case"pl":m="Do góry";i="Zawartość strony";break;case"pt":m="Topo da página";i="Conteúdo da página";break;case"ru":m="К началу";i="Содержание страницы";break;case"sl":m="Navzgor";i="Vsebina strani";break;case"sv":m="Upp";i="Sidans innehåll";break;case"tr":m="En başa";i="Sayfa içeriği";break;case"tw":m="頂部";i="頁面內容";break;case"zh":m="顶部";i="网页内容";break;default:m="Top";i="Page content";break}var d=document.getElementById("TOC");if(null==d){return}var c=$("#centralContent h2,#centralContent h3,#centralContent h4").get();var h,n,j;if(c.length<3){$("#post-intro-nav-TOC").hide();return}if(c.length>10){c=$("#centralContent h2").get()}d.className="TOC";tocList=document.createElement("ul");for(var a=0;a<c.length;a++){var p=c[a];if(p.parentNode.id!="next_steps"){j=p.id||uniqueId("tocTarget"+a);h=document.createElement("li");if(p.className=="medialist-title"){h.className="tocEntry"+p.nodeName.toLowerCase()+" tocEntry-media"}else{h.className="tocEntry"+p.nodeName.toLowerCase()}var n=document.createElement("a");var o=/<\/?[^>]*?>/gim;var e=p.innerHTML.replace(o,"");n.innerHTML=e;n.href='javascript:goToContent("'+j+'");';h.appendChild(n);if(n.innerHTML.replace(/\&nbsp;/,"").replace(/\&#160;/,"").replace(/\s/,"").length>0){tocList.appendChild(h);p.id=j;var k=document.createElement("a");k.href="#pageTop";k.className="top";var l=document.createTextNode(m);k.appendChild(l);var g=document.createElement("div");g.className="tocHeader";g.appendChild(k);var b=p.cloneNode(true);g.appendChild(b);p.parentNode.replaceChild(g,p)}}}d.appendChild(tocList)}function uniqueId(a){var b=a;while(document.getElementById(b)){b+="_"}return b}function goToContent(a){tocMenuOver=false;$("#post-intro-nav-TOC-content").hide();window.location="#"+a}function goToDownloadContent(a){downloadMenuOver=false;$("#post-intro-nav-download-content").hide();window.location="#"+a}function highlightAlternateRows(){var h=$("table.contentTable");for(var a=0;a<h.length;a++){var g=h[a].getElementsByTagName("TBODY")[0];var d=g.childNodes;var k=new Array();for(var c=0;c<d.length;c++){var b=false;if(d[c].nodeName=="TR"){var e=d[c].childNodes;for(var f=1;f<e.length;f++){if(e[f].nodeName=="TH"){b=true}}if(b==false){k[k.length]=d[c]}}}for(var l=0;l<k.length;l++){if(l%2!=0){k[l].className+=" altRow"}}}}var Search={langcode:"en",sb:{},init:function(){Search.sb=$("#terms");if(location.pathname!=null&&location.pathname.length>0){var a=location.pathname.match(/\/([a-zA-Z\-]{2,5})\//i);if((null!=a)&&(a[1])){Search.langcode=a[1]}}Search.sb.keydown(Search.Keypress)},submit:function(){try{if(Search.sb.val().length>0){var c="all";var b=$("input[name=search-div]:radio");for(var d=0;d<b.length;d++){if(b[d].checked){c=b[d].value;break}}var a="http://resources.renishaw.com/"+encodeURI(Search.langcode)+"/search/documents/"+encodeURI(Search.sb.val());if(c!="all"){a+="?options=less&div="+encodeURI(c)}location.href=a}}catch(f){alert("No search terms entered")}return false},Keypress:function(a){if(a.keyCode=="13"){if(a.preventDefault){a.preventDefault()}if(a.stopPropagation){a.stopPropagation()}setTimeout(Search.submit,250);a.cancelBubble=true;a.returnValue=false}}};function searchSite(d,f){var e=document.getElementById(d);var c="all";if(d=="terms-footer"){var b=$("input[name=search-div]:radio");for(var g=0;g<b.length;g++){if(b[g].checked){c=b[g].value;break}}}if(d=="search-terms-footer"){var b=$("input[name=search-type]:radio");for(var g=0;g<b.length;g++){if(b[g].checked){c=b[g].value;break}}}if((e!=null)&&(e!="undefined")&&(e.value!="")){var a="http://resources.renishaw.com/"+encodeURI(f)+"/search/"+encodeURI(e.value);if(c!="all"&&d=="terms-footer"){a+="?div="+encodeURI(c)}else{if(c!="all"&&d=="search-terms-footer"){a+="?tab="+encodeURI(c)}}location.href=a}else{alert("No search terms entered.")}return false}$("document").ready(Search.init);function FaqCollapsibleInit(){$(".FAQ-collapsible-title").each(function(){$(this).click(FaqToggleText)})}function FaqToggleText(){$(this).parent().toggleClass("expanded")}$(document).ready(FaqCollapsibleInit);function hideTableRows(c,b,a){switch(a){case true:$("#table_"+c+"_row_"+b).hide();$("#table_"+c+"_row_"+(b-1)).show();break;case false:$("#table_"+c+"_row_"+(b-1)).hide();$("#table_"+c+"_row_"+b).show();break}}function hideTableColumns(e,b,c,a){switch(a){case true:for(var d=0;d<b;d=d+2){$("#table_"+e+"_row_"+d+"_column_"+c).hide();$("#table_"+e+"_row_"+d+"_column_"+(parseInt(c)+1)).show()}break;case false:for(var d=0;d<b;d=d+2){$("#table_"+e+"_row_"+d+"_column_"+(parseInt(c)+1)).hide();$("#table_"+e+"_row_"+d+"_column_"+c).show()}break}}function addComparisionRows(){var n=$("table.interactiveRows");var h=false;for(var a=0;a<n.length;a++){var r=n[a].getElementsByTagName("TR");var f=(r.length*2);var e="";for(var b=0;b<=r.length;b=b+2){if(b==0){var q=r[b].insertCell(0);q.innerHTML="<br />"}else{r[b-1].id="table_"+a+"_row_"+b;var q=r[b-1].insertCell(0);q.innerHTML='<a onclick=hideTableRows("'+a+'","'+b+'",true);><img src="http://www.renishaw.com/media/shared/icons/minus.gif" /></a>';var p=n[a].insertRow(b-1);p.insertCell(0);p.insertCell(1);var m=p.cells[0];m.innerHTML='<a onclick=hideTableRows("'+a+'","'+b+'",false);><img src="http://www.renishaw.com/media/shared/icons/plus.gif" /></a>';var g=p.cells[1];g.colSpan=r[b].cells.length-1;var o=r[b].cells[1];if(r[b].cells[1].childNodes[0].data=="\n"){g.innerHTML=r[b].cells[1].childNodes[1].innerHTML}else{g.innerHTML=r[b].cells[1].childNodes[0].innerHTML}p.id="table_"+a+"_row_"+(b-1);$("#"+p.id).hide()}}}for(var c=0;c<n.length;c++){var r=n[c].getElementsByTagName("TR");for(var d=0;d<r.length;d+=2){hideTableRows(c,d,true)}}}$(document).ready(addComparisionRows);function addComparisionTable(){var e=$("table.interactiveTable");var f=false;for(var m=0;m<e.length;m++){var r=e[m].getElementsByTagName("TR");var h=(r.length*2);var x="";for(var g=0;g<=r.length;g=g+2){if(g==0){var s=r[g].insertCell(0);s.innerHTML="<br />"}else{r[g-1].id="table_"+m+"_row_"+g;var s=r[g-1].insertCell(0);s.innerHTML='<a onclick=hideTableRows("'+m+'","'+g+'",true);><img src="http://www.renishaw.com/media/shared/icons/minus.gif" /></a>';var u=e[m].insertRow(g-1);u.insertCell(0);u.insertCell(1);var q=u.cells[0];q.innerHTML='<a onclick=hideTableRows("'+m+'","'+g+'",false);><img src="http://www.renishaw.com/media/shared/icons/plus.gif" /></a>';var w=u.cells[1];w.colSpan=r[g].cells.length-1;var p=r[g].cells[1];if(r[g].cells[1].childNodes[0].data=="\n"){w.innerHTML=r[g].cells[1].childNodes[1].innerHTML}else{w.innerHTML=r[g].cells[1].childNodes[0].innerHTML}u.id="table_"+m+"_row_"+(g-1);$("#"+u.id).hide()}var t=r[g].childNodes;var o=0;var d=2;var l=0;var c=t.length;if(f){c=t.length}for(var n=1;n<c;n=n+2){if(r[g].childNodes[0].data!="\n"){c++;if(g==0){var b="";b=r[g].childNodes[n].innerHTML;r[g].childNodes[n].id="table_"+m+"_row_"+g+"_column_"+n;r[g].childNodes[n].innerHTML='<a onclick=hideTableColumns("'+m+'","'+h+'","'+n+'",true);><img src="http://www.renishaw.com/media/shared/icons/minus.gif" /></a>'+r[g].childNodes[n].innerHTML;var s=r[g].insertCell(n+1);s.id="table_"+m+"_row_"+g+"_column_"+(n+1);s.innerHTML='<a onclick=hideTableColumns("'+m+'","'+h+'","'+n+'",false); title="'+b+'"><img src="http://www.renishaw.com/media/shared/icons/plus.gif" /></a>';x+=s.id+","}else{r[g].childNodes[n].id="table_"+m+"_row_"+g+"_column_"+n;var s=r[g].insertCell(n+1);s.id="table_"+m+"_row_"+g+"_column_"+(n+1);s.innerHTML="<br />";x+=s.id+","}}else{f=true;o+=d;if(g==0){var b="";b=r[g].childNodes[o].innerHTML;r[g].childNodes[o].id="table_"+m+"_row_"+g+"_column_"+n;r[g].childNodes[o].innerHTML='<a onclick=hideTableColumns("'+m+'","'+h+'","'+n+'",true);><img src="http://www.renishaw.com/media/shared/icons/minus.gif" /></a>'+r[g].childNodes[o].innerHTML;if(n!=1){o-=l}var s=r[g].insertCell(o);s.id="table_"+m+"_row_"+g+"_column_"+(o);s.innerHTML='<a onclick=hideTableColumns("'+m+'","'+h+'","'+n+'",false); title="'+b+'"><img src="http://www.renishaw.com/media/shared/icons/plus.gif" /></a>';x+=s.id+","}else{r[g].childNodes[o].id="table_"+m+"_row_"+g+"_column_"+n;if(n!=1){o-=l}var s=r[g].insertCell(n+1);s.id="table_"+m+"_row_"+g+"_column_"+(n+1);s.innerHTML="<br />";x+=s.id+","}d++;l++}}}var v=x.split(",");for(var a=0;a<v.length-1;a++){$("#"+v[a]).hide()}}}$(document).ready(addComparisionTable);function ManualInlineLinks(){if($("#ElementHTML25760 img").length==1){$("#ElementHTML25760 img").bind("click",function(){var a=$("#ElementHTML25990").clone();$(".shadowbox-inline",a).removeClass("shadowbox-inline");Shadowbox.open({content:a.html(),player:"html",title:"Typical FASTRACK&trade; linear encoder system hysteresis graph",width:1000,height:600})})}}$(document).ready(ManualInlineLinks);function resoluteImageMapInit(){if($("body#page10940").length==1){try{var a='<map id="ResoluteProdTourMap" name="ResoluteProdTourMap"><area shape="circle" coords="140,320,15" href="#ElementHTML26203" alt="Area 1"><area shape="circle" coords="208,184,15" href="#ElementHTML26204" alt="Area 2"><area shape="circle" coords="260,120,15" href="#ElementHTML26205" alt="Area 3"><area shape="circle" coords="396,70,15" href="#ElementHTML26206" alt="Area 4"><area shape="circle" coords="350,110,15" href="#ElementHTML26207" alt="Area 5"><area shape="circle" coords="278,100,15" href="#ElementHTML26208" alt="Area 6"><area shape="circle" coords="294,220,15" href="#ElementHTML26209" alt="Area 7"><area shape="circle" coords="140,355,15" href="#ElementHTML26210" alt="Area 8"><area shape="circle" coords="225,146,15" href="#ElementHTML26211" alt="Area 9"><area shape="circle" coords="208,257,15" href="#ElementHTML26212" alt="Area 10"></map>';$("#ElementHTML26025 .htmlInner img").attr("usemap","#ResoluteProdTourMap");if($.browser.msie){$("#ElementHTML26025 .htmlInner img").clone().insertAfter("#ElementHTML26025 .htmlInner img");$("#ElementHTML26025 .htmlInner img:first").remove()}Shadowbox.setup($("#ResoluteProdTourMap area"))}catch(b){}}}$(document).ready(resoluteImageMapInit);$(document).ready(function(){if($("body#page11455").length==1||$("body#page10249").length==1){var a=$("#pageTitle").html();a=a.replace("3i incise","<em>3i incise</em>");$("#pageTitle").html(a)}});function UpgradePPPTimelineToImageMap(){$("#ElementHTML32108").html('<p><img width="500" height="279" src="/media/img/en/1d23a277f0e84bc28e158f38ba693fca.jpg" alt="Manufacturing process timeline" style="margin: 0px 0px 2px; float: left;" usemap="#ppp-timeline"><map name="ppp-timeline"><area shape="rect" coords="0,0,125,279" href="http://derby:8073/en/process-foundation--14157" alt="Preventative" />		<area shape="rect" coords="125,0,250,279" href="http://derby:8073/en/process-setting--14158" alt="Predictive" />		<area shape="rect"coords="250,0,375,279" href="http://derby:8073/en/in-process-control--14159" alt="Active" />		<area shape="rect" coords="375,0,500,279"href="http://derby:8073/en/post-process-monitoring--14160" alt="Informative" /> 	</map></p>')}$(document).ready(UpgradePPPTimelineToImageMap);var tocMenuOver=false;function showTOC(){if(tocMenuOver){$("#post-intro-nav-TOC-content").slideDown()}}function hideTOC(){if(!tocMenuOver){$("#post-intro-nav-TOC-content").slideUp()}}$(document).ready(function(){$("#post-intro-nav-TOC-content, #post-intro-nav-TOC").mouseenter(function(){tocMenuOver=true;setTimeout("showTOC();",250)});$("#post-intro-nav-TOC-content, #post-intro-nav-TOC").mouseleave(function(){tocMenuOver=false;setTimeout("hideTOC();",250)})});function getDownLoadItems(){if($("#post-intro-nav-downloads")[0]!=undefined){var h=$("div[id^='ElementMediaList']");var g=0;var e=document.createElement("ul");if(h.length==1){$("#post-intro-nav-downloads")[0].href='javascript:goToDownloadContent("'+h[0].id+'");'}else{if(h.length>0){for(var a=0;a<h.length;a++){if(a==0){$("#post-intro-nav-downloads")[0].href='javascript:goToDownloadContent("'+h[a].id+'");'}var d=$(h[a]).find("h2")[0];if(d!=undefined){var b=document.createElement("li");var c=document.createElement("a");c.href='javascript:goToDownloadContent("'+h[a].id+'");';c.innerHTML=d.innerHTML;b.appendChild(c);e.appendChild(b);g++}}if(g>0){var f=$("#downloadDiv");f[0].appendChild(e)}else{if($("#post-intro-downloads-wrapper")!=undefined){$("#post-intro-downloads-wrapper").hide()}}setDownloadMouseEvents()}else{if($("#post-intro-downloads-wrapper")!=undefined){$("#post-intro-downloads-wrapper").hide()}}}}}$(document).ready(getDownLoadItems);var downloadMenuOver=false;function showDownload(){if(downloadMenuOver){$("#post-intro-nav-download-content").slideDown()}}function hideDownload(){if(!downloadMenuOver){$("#post-intro-nav-download-content").slideUp()}}function setDownloadMouseEvents(){$("#post-intro-nav-download-content, #post-intro-downloads-wrapper").mouseenter(function(){downloadMenuOver=true;setTimeout("showDownload();",250)});$("#post-intro-nav-download-content, #post-intro-downloads-wrapper").mouseleave(function(){downloadMenuOver=false;setTimeout("hideDownload();",250)})};var frame=$("#banner-content");var title=$("#banner-content-strapline");var text=$("#banner-content-text");var linkText=$("#banner-content-link");var displayFor=10;var fadeTime=1;var bannersArrayIn;function showBanner(b){var b="banner-1";var c="banner-button-1";var a=2000;$("#"+b).show();$("#"+b).fadeTo(a,1);$("#"+b).addClass("active");$("#"+c).addClass("active")}function ShowBannerItem(e){var c="banner-"+e;var b="banner-button-"+e;var d=$("#activeBanner").val();if(d!=e){$("#activeBanner").val(e);var a=2000;$("#"+c).css("z-index","3");$("#banner-"+d).removeClass("active").css("z-index","2").fadeTo(a,0);$("#"+c).show();$("#"+c).fadeTo(a,1);$("#"+c).addClass("active");$("#banner-button-"+d).removeClass("active");$("#"+b).addClass("active")}banners.IsStopped=true}function ShowBannerPrev(){var b=$("#activeBanner").val();var a=parseInt(getBannerPosition(b));bannerToShow=a-1;if(bannerToShow<0){bannerToShow=bannersArrayIn.length-1}ShowBannerItem(bannersArrayIn[bannerToShow])}function ShowBannerNext(){var b=$("#activeBanner").val();var a=parseInt(getBannerPosition(b));bannerToShow=a+1;if(bannerToShow>=bannersArrayIn.length){bannerToShow=0}ShowBannerItem(bannersArrayIn[bannerToShow])}function getBannerPosition(b){var c=0;for(var a=0;a<bannersArrayIn.length;a++){if(bannersArrayIn[a]==b){c=a;break}}return c}function BannerRotater(e,d,a){bannersArrayIn=a;this.Name=e;this.IsStopped=false;this.IsRandomStart=true;this.RotateBanners=c;this.HighlightTab=b;if(a.length>1){for(i=0;i<a.length;i++){$("#"+a[i]).fadeTo(0,0)}}else{}function c(f){if(!this.IsStopped){var h=6000;var g=1000;nextIndex=0;if((f+1)<a.length){nextIndex=f+1}bannerIdOld=a[f];bannerIdNew=a[nextIndex];$("#banner-"+bannerIdNew).css("z-index","3");$("#banner-"+bannerIdOld).css("z-index","2");$("#banner-"+bannerIdNew).fadeTo(g,1).addClass("active");$("#banner-"+bannerIdOld).removeClass("active");setTimeout('$("#banner-'+bannerIdOld+'").fadeTo('+(g/4)+", 0);",g);setTimeout(this.Name+".RotateBanners("+nextIndex+")",h);$("#banner-button-"+bannerIdOld).removeClass("active");$("#banner-button-"+bannerIdNew).addClass("active");$("#activeBanner").val(bannerIdNew)}}function b(f){var g=["Metrology","Encoders","Medical","Spectroscopy"];for(var h=0;h<(g.length);h++){if($("#tab"+g[h])!=null){$("#tab"+g[h]).removeClass("fauxHighlight")}}if($("#tab"+f)!=null){$("#tab"+f).addClass("fauxHighlight")}}}(function(a){a.homeLineChooserContent=function(b,e){var d=a(b).parents("#home-line-chooser");var f=a(b);f.mouseenter(function(){if(!f.hasClass("inactive")){return false}f.removeClass("inactive");d.find(".line-top-level.inactive").stop(true).animate({width:e.minWidth+"px"},200,"linear");f.children(".line-top-level-content").hide();f.stop(true).animate({width:e.maxWidth+"px"},200,"linear",function(){a(this).children(".line-top-level-content").slideDown("fast")})});f.mouseleave(function(){f.addClass("inactive");d.find(".line-top-level").animate({width:e.defaultWidth+"px"},200,"linear")})};a.homeLineChooser=function(b,e){var d=a(b);d.find(".line-top-level").addClass("inactive");d.mouseenter(function(){d.find(".line-top-level").filter(function(c){return a(this).hasClass(".inactive")}).stop(true).animate({width:e.minWidth+"px"},200,"linear")});d.mouseleave(function(){d.find(".line-top-level").stop(true);d.find(".line-top-level").addClass("inactive").animate({width:e.defaultWidth+"px"},200,"linear")})};a.fn.homeLineChooserContent=function(){var b={};if(arguments.length>0){a.extend(b,arguments[0])}b.minWidth=b.minWidth||120;b.maxWidth=b.maxWidth||617;b.defaultWidth=b.defaultWidth||244;this.each(function(){a.homeLineChooserContent(this,b)})};a.fn.homeLineChooser=function(){var b={};if(arguments.length>0){a.extend(b,arguments[0])}b.minWidth=b.minWidth||120;b.maxWidth=b.maxWidth||617;b.defaultWidth=b.defaultWidth||244;this.each(function(){a.homeLineChooser(this,b)})}})($);$(document).ready(function(){$("#home-line-chooser .line-top-level").homeLineChooserContent();$("#home-line-chooser").homeLineChooser()});function AddHomePageNews(){$("#home-news-feed").after('<ul class="medialist"><li class="medialist-row media-file pdf"><a class="mediaItem pdf" href="/media/shared/Interim Management Statement Oct 2010.pdf">Interim Management Statement Oct 2010</a></li></ul>')}/*$(document).ready(AddHomePageNews);*/function AddRegulatoryPageUpdate(){$("#ElementMediaList12693 ul.medialist").prepend('<li class="medialist-row media-file pdf"><a class="mediaItem pdf" href="/media/shared/Interim Management Statement Oct 2010.pdf">Interim Management Statement Oct 2010</a></li>')};
