(function(){var W=this,AB,F=W.jQuery,S=W.$,T=W.jQuery=W.$=function(B,A){return new T.fn.init(B,A)},M=/^[^<]*(<(.|\s)+>)[^>]*$|^#([\w-]+)$/,AC=/^.[^:#\[\.,]*$/;T.fn=T.prototype={init:function(b,B){b=b||document;if(b.nodeType){this[0]=b;this.length=1;this.context=b;return this}if(typeof b==="string"){var C=M.exec(b);if(C&&(C[1]||!B)){if(C[1]){b=T.clean([C[1]],B)}else{var A=document.getElementById(C[3]);if(A&&A.id!=C[3]){return T().find(b)}var D=T(A||[]);D.context=document;D.selector=b;return D}}else{return T(B).find(b)}}else{if(T.isFunction(b)){return T(document).ready(b)}}if(b.selector&&b.context){this.selector=b.selector;this.context=b.context}return this.setArray(T.makeArray(b))},selector:"",jquery:"1.3.1",size:function(){return this.length},get:function(A){return A===AB?T.makeArray(this):this[A]},pushStack:function(C,A,D){var B=T(C);B.prevObject=this;B.context=this.context;if(A==="find"){B.selector=this.selector+(this.selector?" ":"")+D}else{if(A){B.selector=this.selector+"."+A+"("+D+")"}}return B},setArray:function(A){this.length=0;Array.prototype.push.apply(this,A);return this},each:function(A,B){return T.each(this,A,B)},index:function(A){return T.inArray(A&&A.jquery?A[0]:A,this)},attr:function(C,A,B){var D=C;if(typeof C==="string"){if(A===AB){return this[0]&&T[B||"attr"](this[0],C)}else{D={};D[C]=A}}return this.each(function(b){for(C in D){T.attr(B?this.style:this,C,T.prop(this,D[C],B,b,C))}})},css:function(B,A){if((B=="width"||B=="height")&&parseFloat(A)<0){A=AB}return this.attr(B,A,"curCSS")},text:function(A){if(typeof A!=="object"&&A!=null){return this.empty().append((this[0]&&this[0].ownerDocument||document).createTextNode(A))}var B="";T.each(A||this,function(){T.each(this.childNodes,function(){if(this.nodeType!=8){B+=this.nodeType!=1?this.nodeValue:T.fn.text([this])}})});return B},wrapAll:function(B){if(this[0]){var A=T(B,this[0].ownerDocument).clone();if(this[0].parentNode){A.insertBefore(this[0])}A.map(function(){var C=this;while(C.firstChild){C=C.firstChild}return C}).append(this)}return this},wrapInner:function(A){return this.each(function(){T(this).contents().wrapAll(A)})},wrap:function(A){return this.each(function(){T(this).wrapAll(A)})},append:function(){return this.domManip(arguments,true,function(A){if(this.nodeType==1){this.appendChild(A)}})},prepend:function(){return this.domManip(arguments,true,function(A){if(this.nodeType==1){this.insertBefore(A,this.firstChild)}})},before:function(){return this.domManip(arguments,false,function(A){this.parentNode.insertBefore(A,this)})},after:function(){return this.domManip(arguments,false,function(A){this.parentNode.insertBefore(A,this.nextSibling)})},end:function(){return this.prevObject||T([])},push:[].push,find:function(C){if(this.length===1&&!/,/.test(C)){var A=this.pushStack([],"find",C);A.length=0;T.find(C,this[0],A);return A}else{var B=T.map(this,function(D){return T.find(C,D)});return this.pushStack(/[^+>] [^+>]/.test(C)?T.unique(B):B,"find",C)}},clone:function(B){var C=this.map(function(){if(!T.support.noCloneEvent&&!T.isXMLDoc(this)){var D=this.cloneNode(true),b=document.createElement("div");b.appendChild(D);return T.clean([b.innerHTML])[0]}else{return this.cloneNode(true)}});var A=C.find("*").andSelf().each(function(){if(this[AA]!==AB){this[AA]=null}});if(B===true){this.find("*").andSelf().each(function(c){if(this.nodeType==3){return }var d=T.data(this,"events");for(var D in d){for(var b in d[D]){T.event.add(A[c],D,d[D][b],d[D][b].data)}}})}return C},filter:function(A){return this.pushStack(T.isFunction(A)&&T.grep(this,function(B,C){return A.call(B,C)})||T.multiFilter(A,T.grep(this,function(B){return B.nodeType===1})),"filter",A)},closest:function(B){var A=T.expr.match.POS.test(B)?T(B):null;return this.map(function(){var C=this;while(C&&C.ownerDocument){if(A?A.index(C)>-1:T(C).is(B)){return C}C=C.parentNode}})},not:function(B){if(typeof B==="string"){if(AC.test(B)){return this.pushStack(T.multiFilter(B,this,true),"not",B)}else{B=T.multiFilter(B,this)}}var A=B.length&&B[B.length-1]!==AB&&!B.nodeType;return this.filter(function(){return A?T.inArray(this,B)<0:this!=B})},add:function(A){return this.pushStack(T.unique(T.merge(this.get(),typeof A==="string"?T(A):T.makeArray(A))))},is:function(A){return !!A&&T.multiFilter(A,this).length>0},hasClass:function(A){return !!A&&this.is("."+A)},val:function(C){if(C===AB){var f=this[0];if(f){if(T.nodeName(f,"option")){return(f.attributes.value||{}).specified?f.value:f.text}if(T.nodeName(f,"select")){var b=f.selectedIndex,B=[],A=f.options,c=f.type=="select-one";if(b<0){return null}for(var e=c?b:0,D=c?b+1:A.length;e<D;e++){var d=A[e];if(d.selected){C=T(d).val();if(c){return C}B.push(C)}}return B}return(f.value||"").replace(/\r/g,"")}return AB}if(typeof C==="number"){C+=""}return this.each(function(){if(this.nodeType!=1){return }if(T.isArray(C)&&/radio|checkbox/.test(this.type)){this.checked=(T.inArray(this.value,C)>=0||T.inArray(this.name,C)>=0)}else{if(T.nodeName(this,"select")){var g=T.makeArray(C);T("option",this).each(function(){this.selected=(T.inArray(this.value,g)>=0||T.inArray(this.text,g)>=0)});if(!g.length){this.selectedIndex=-1}}else{this.value=C}}})},html:function(A){return A===AB?(this[0]?this[0].innerHTML:null):this.empty().append(A)},replaceWith:function(A){return this.after(A).remove()},eq:function(A){return this.slice(A,+A+1)},slice:function(){return this.pushStack(Array.prototype.slice.apply(this,arguments),"slice",Array.prototype.slice.call(arguments).join(","))},map:function(A){return this.pushStack(T.map(this,function(B,C){return A.call(B,C,B)}))},andSelf:function(){return this.add(this.prevObject)},domManip:function(D,A,B){if(this[0]){var b=(this[0].ownerDocument||this[0]).createDocumentFragment(),e=T.clean(D,(this[0].ownerDocument||this[0]),b),c=b.firstChild,g=this.length>1?b.cloneNode(true):b;if(c){for(var d=0,f=this.length;d<f;d++){B.call(C(this[d],c),d>0?g.cloneNode(true):b)}}if(e){T.each(e,E)}}return this;function C(i,h){return A&&T.nodeName(i,"table")&&T.nodeName(h,"tr")?(i.getElementsByTagName("tbody")[0]||i.appendChild(i.ownerDocument.createElement("tbody"))):i}}};T.fn.init.prototype=T.fn;function E(B,A){if(A.src){T.ajax({url:A.src,async:false,dataType:"script"})}else{T.globalEval(A.text||A.textContent||A.innerHTML||"")}if(A.parentNode){A.parentNode.removeChild(A)}}function AD(){return +new Date}T.extend=T.fn.extend=function(){var C=arguments[0]||{},b=1,D=arguments.length,e=false,c;if(typeof C==="boolean"){e=C;C=arguments[1]||{};b=2}if(typeof C!=="object"&&!T.isFunction(C)){C={}}if(D==b){C=this;--b}for(;b<D;b++){if((c=arguments[b])!=null){for(var d in c){var B=C[d],A=c[d];if(C===A){continue}if(e&&A&&typeof A==="object"&&!A.nodeType){C[d]=T.extend(e,B||(A.length!=null?[]:{}),A)}else{if(A!==AB){C[d]=A}}}}}return C};var AG=/z-?index|font-?weight|opacity|zoom|line-?height/i,Q=document.defaultView||{},L=Object.prototype.toString;T.extend({noConflict:function(A){W.$=S;if(A){W.jQuery=F}return T},isFunction:function(A){return L.call(A)==="[object Function]"},isArray:function(A){return L.call(A)==="[object Array]"},isXMLDoc:function(A){return A.nodeType===9&&A.documentElement.nodeName!=="HTML"||!!A.ownerDocument&&T.isXMLDoc(A.ownerDocument)},globalEval:function(A){A=T.trim(A);if(A){var B=document.getElementsByTagName("head")[0]||document.documentElement,C=document.createElement("script");C.type="text/javascript";if(T.support.scriptEval){C.appendChild(document.createTextNode(A))}else{C.text=A}B.insertBefore(C,B.firstChild);B.removeChild(C)}},nodeName:function(A,B){return A.nodeName&&A.nodeName.toUpperCase()==B.toUpperCase()},each:function(b,A,c){var d,D=0,C=b.length;if(c){if(C===AB){for(d in b){if(A.apply(b[d],c)===false){break}}}else{for(;D<C;){if(A.apply(b[D++],c)===false){break}}}}else{if(C===AB){for(d in b){if(A.call(b[d],d,b[d])===false){break}}}else{for(var B=b[0];D<C&&A.call(B,D,B)!==false;B=b[++D]){}}}return b},prop:function(B,A,C,D,b){if(T.isFunction(A)){A=A.call(B,D)}return typeof A==="number"&&C=="curCSS"&&!AG.test(b)?A+"px":A},className:{add:function(B,A){T.each((A||"").split(/\s+/),function(D,C){if(B.nodeType==1&&!T.className.has(B.className,C)){B.className+=(B.className?" ":"")+C}})},remove:function(B,A){if(B.nodeType==1){B.className=A!==AB?T.grep(B.className.split(/\s+/),function(C){return !T.className.has(A,C)}).join(" "):""}},has:function(A,B){return A&&T.inArray(B,(A.className||A).toString().split(/\s+/))>-1}},swap:function(B,C,A){var b={};for(var D in C){b[D]=B.style[D];B.style[D]=C[D]}A.call(B);for(var D in C){B.style[D]=b[D]}},css:function(b,d,C){if(d=="width"||d=="height"){var A,c={position:"absolute",visibility:"hidden",display:"block"},B=d=="width"?["Left","Right"]:["Top","Bottom"];function D(){A=d=="width"?b.offsetWidth:b.offsetHeight;var f=0,e=0;T.each(B,function(){f+=parseFloat(T.curCSS(b,"padding"+this,true))||0;e+=parseFloat(T.curCSS(b,"border"+this+"Width",true))||0});A-=Math.round(f+e)}if(T(b).is(":visible")){D()}else{T.swap(b,c,D)}return Math.max(0,A)}return T.curCSS(b,d,C)},curCSS:function(b,e,d){var B,f=b.style;if(e=="opacity"&&!T.support.opacity){B=T.attr(f,"opacity");return B==""?"1":B}if(e.match(/float/i)){e=H}if(!d&&f&&f[e]){B=f[e]}else{if(Q.getComputedStyle){if(e.match(/float/i)){e="float"}e=e.replace(/([A-Z])/g,"-$1").toLowerCase();var A=Q.getComputedStyle(b,null);if(A){B=A.getPropertyValue(e)}if(e=="opacity"&&B==""){B="1"}}else{if(b.currentStyle){var D=e.replace(/\-(\w)/g,function(h,g){return g.toUpperCase()});B=b.currentStyle[e]||b.currentStyle[D];if(!/^\d+(px)?$/i.test(B)&&/^\d/.test(B)){var c=f.left,C=b.runtimeStyle.left;b.runtimeStyle.left=b.currentStyle.left;f.left=B||0;B=f.pixelLeft+"px";f.left=c;b.runtimeStyle.left=C}}}}return B},clean:function(d,B,D){B=B||document;if(typeof B.createElement==="undefined"){B=B.ownerDocument||B[0]&&B[0].ownerDocument||document}if(!D&&d.length===1&&typeof d[0]==="string"){var b=/^<(\w+)\s*\/?>$/.exec(d[0]);if(b){return[B.createElement(b[1])]}}var c=[],e=[],A=B.createElement("div");T.each(d,function(h,f){if(typeof f==="number"){f+=""}if(!f){return }if(typeof f==="string"){f=f.replace(/(<(\w+)[^>]*?)\/>/g,function(m,l,n){return n.match(/^(abbr|br|col|img|input|link|meta|param|hr|area|embed)$/i)?m:l+"></"+n+">"});var i=T.trim(f).toLowerCase();var g=!i.indexOf("<opt")&&[1,"<select multiple='multiple'>","</select>"]||!i.indexOf("<leg")&&[1,"<fieldset>","</fieldset>"]||i.match(/^<(thead|tbody|tfoot|colg|cap)/)&&[1,"<table>","</table>"]||!i.indexOf("<tr")&&[2,"<table><tbody>","</tbody></table>"]||(!i.indexOf("<td")||!i.indexOf("<th"))&&[3,"<table><tbody><tr>","</tr></tbody></table>"]||!i.indexOf("<col")&&[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"]||!T.support.htmlSerialize&&[1,"div<div>","</div>"]||[0,"",""];A.innerHTML=g[1]+f+g[2];while(g[0]--){A=A.lastChild}if(!T.support.tbody){var j=!i.indexOf("<table")&&i.indexOf("<tbody")<0?A.firstChild&&A.firstChild.childNodes:g[1]=="<table>"&&i.indexOf("<tbody")<0?A.childNodes:[];for(var k=j.length-1;k>=0;--k){if(T.nodeName(j[k],"tbody")&&!j[k].childNodes.length){j[k].parentNode.removeChild(j[k])}}}if(!T.support.leadingWhitespace&&/^\s/.test(f)){A.insertBefore(B.createTextNode(f.match(/^\s*/)[0]),A.firstChild)}f=T.makeArray(A.childNodes)}if(f.nodeType){c.push(f)}else{c=T.merge(c,f)}});if(D){for(var C=0;c[C];C++){if(T.nodeName(c[C],"script")&&(!c[C].type||c[C].type.toLowerCase()==="text/javascript")){e.push(c[C].parentNode?c[C].parentNode.removeChild(c[C]):c[C])}else{if(c[C].nodeType===1){c.splice.apply(c,[C+1,0].concat(T.makeArray(c[C].getElementsByTagName("script"))))}D.appendChild(c[C])}}return e}return c},attr:function(C,c,B){if(!C||C.nodeType==3||C.nodeType==8){return AB}var b=!T.isXMLDoc(C),A=B!==AB;c=b&&T.props[c]||c;if(C.tagName){var d=/href|src|style/.test(c);if(c=="selected"&&C.parentNode){C.parentNode.selectedIndex}if(c in C&&b&&!d){if(A){if(c=="type"&&T.nodeName(C,"input")&&C.parentNode){throw"type property can't be changed"}C[c]=B}if(T.nodeName(C,"form")&&C.getAttributeNode(c)){return C.getAttributeNode(c).nodeValue}if(c=="tabIndex"){var D=C.getAttributeNode("tabIndex");return D&&D.specified?D.value:C.nodeName.match(/(button|input|object|select|textarea)/i)?0:C.nodeName.match(/^(a|area)$/i)&&C.href?0:AB}return C[c]}if(!T.support.style&&b&&c=="style"){return T.attr(C.style,"cssText",B)}if(A){C.setAttribute(c,""+B)}var e=!T.support.hrefNormalized&&b&&d?C.getAttribute(c,2):C.getAttribute(c);return e===null?AB:e}if(!T.support.opacity&&c=="opacity"){if(A){C.zoom=1;C.filter=(C.filter||"").replace(/alpha\([^)]*\)/,"")+(parseInt(B)+""=="NaN"?"":"alpha(opacity="+B*100+")")}return C.filter&&C.filter.indexOf("opacity=")>=0?(parseFloat(C.filter.match(/opacity=([^)]*)/)[1])/100)+"":""}c=c.replace(/-([a-z])/ig,function(g,f){return f.toUpperCase()});if(A){C[c]=B}return C[c]},trim:function(A){return(A||"").replace(/^\s+|\s+$/g,"")},makeArray:function(A){var C=[];if(A!=null){var B=A.length;if(B==null||typeof A==="string"||T.isFunction(A)||A.setInterval){C[0]=A}else{while(B){C[--B]=A[B]}}}return C},inArray:function(B,A){for(var D=0,C=A.length;D<C;D++){if(A[D]===B){return D}}return -1},merge:function(B,b){var D=0,C,A=B.length;if(!T.support.getAll){while((C=b[D++])!=null){if(C.nodeType!=8){B[A++]=C}}}else{while((C=b[D++])!=null){B[A++]=C}}return B},unique:function(A){var c=[],d={};try{for(var b=0,D=A.length;b<D;b++){var B=T.data(A[b]);if(!d[B]){d[B]=true;c.push(A[b])}}}catch(C){c=A}return c},grep:function(b,A,c){var D=[];for(var C=0,B=b.length;C<B;C++){if(!c!=!A(b[C],C)){D.push(b[C])}}return D},map:function(c,A){var b=[];for(var D=0,C=c.length;D<C;D++){var B=A(c[D],D);if(B!=null){b[b.length]=B}}return b.concat.apply([],b)}});var O=navigator.userAgent.toLowerCase();T.browser={version:(O.match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||[0,"0"])[1],safari:/webkit/.test(O),opera:/opera/.test(O),msie:/msie/.test(O)&&!/opera/.test(O),mozilla:/mozilla/.test(O)&&!/(compatible|webkit)/.test(O)};T.each({parent:function(A){return A.parentNode},parents:function(A){return T.dir(A,"parentNode")},next:function(A){return T.nth(A,2,"nextSibling")},prev:function(A){return T.nth(A,2,"previousSibling")},nextAll:function(A){return T.dir(A,"nextSibling")},prevAll:function(A){return T.dir(A,"previousSibling")},siblings:function(A){return T.sibling(A.parentNode.firstChild,A)},children:function(A){return T.sibling(A.firstChild)},contents:function(A){return T.nodeName(A,"iframe")?A.contentDocument||A.contentWindow.document:T.makeArray(A.childNodes)}},function(B,A){T.fn[B]=function(D){var C=T.map(this,A);if(D&&typeof D=="string"){C=T.multiFilter(D,C)}return this.pushStack(T.unique(C),B,D)}});T.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(B,A){T.fn[B]=function(){var C=arguments;return this.each(function(){for(var b=0,D=C.length;b<D;b++){T(C[b])[A](this)}})}});T.each({removeAttr:function(A){T.attr(this,A,"");if(this.nodeType==1){this.removeAttribute(A)}},addClass:function(A){T.className.add(this,A)},removeClass:function(A){T.className.remove(this,A)},toggleClass:function(A,B){if(typeof B!=="boolean"){B=!T.className.has(this,A)}T.className[B?"add":"remove"](this,A)},remove:function(A){if(!A||T.filter(A,[this]).length){T("*",this).add([this]).each(function(){T.event.remove(this);T.removeData(this)});if(this.parentNode){this.parentNode.removeChild(this)}}},empty:function(){T(">*",this).remove();while(this.firstChild){this.removeChild(this.firstChild)}}},function(B,A){T.fn[B]=function(){return this.each(A,arguments)}});function Y(B,A){return B[0]&&parseInt(T.curCSS(B[0],A,true),10)||0}var AA="jQuery"+AD(),I=0,R={};T.extend({cache:{},data:function(C,D,B){C=C==W?R:C;var A=C[AA];if(!A){A=C[AA]=++I}if(D&&!T.cache[A]){T.cache[A]={}}if(B!==AB){T.cache[A][D]=B}return D?T.cache[A][D]:A},removeData:function(C,D){C=C==W?R:C;var A=C[AA];if(D){if(T.cache[A]){delete T.cache[A][D];D="";for(D in T.cache[A]){break}if(!D){T.removeData(C)}}}else{try{delete C[AA]}catch(B){if(C.removeAttribute){C.removeAttribute(AA)}}delete T.cache[A]}},queue:function(C,D,A){if(C){D=(D||"fx")+"queue";var B=T.data(C,D);if(!B||T.isArray(A)){B=T.data(C,D,T.makeArray(A))}else{if(A){B.push(A)}}}return B},dequeue:function(A,B){var D=T.queue(A,B),C=D.shift();if(!B||B==="fx"){C=D[0]}if(C!==AB){C.call(A)}}});T.fn.extend({data:function(D,B){var A=D.split(".");A[1]=A[1]?"."+A[1]:"";if(B===AB){var C=this.triggerHandler("getData"+A[1]+"!",[A[0]]);if(C===AB&&this.length){C=T.data(this[0],D)}return C===AB&&A[1]?this.data(A[0]):C}else{return this.trigger("setData"+A[1]+"!",[A[0],B]).each(function(){T.data(this,D,B)})}},removeData:function(A){return this.each(function(){T.removeData(this,A)})},queue:function(B,A){if(typeof B!=="string"){A=B;B="fx"}if(A===AB){return T.queue(this[0],B)}return this.each(function(){var C=T.queue(this,B,A);if(B=="fx"&&C.length==1){C[0].call(this)}})},dequeue:function(A){return this.each(function(){T.dequeue(this,A)})}});(function(){var B=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]+['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[]+)+|[>+~])(\s*,\s*)?/g,e=0,i=Object.prototype.toString;var j=function(o,t,l,AJ){l=l||[];t=t||document;if(t.nodeType!==1&&t.nodeType!==9){return[]}if(!o||typeof o!=="string"){return l}var n=[],r,y,v,u,AI,s,q=true;B.lastIndex=0;while((r=B.exec(o))!==null){n.push(r[1]);if(r[2]){s=RegExp.rightContext;break}}if(n.length>1&&d.exec(o)){if(n.length===2&&h.relative[n[0]]){y=g(n[0]+n[1],t)}else{y=h.relative[n[0]]?[t]:j(n.shift(),t);while(n.length){o=n.shift();if(h.relative[o]){o+=n.shift()}y=g(o,y)}}}else{var z=AJ?{expr:n.pop(),set:k(AJ)}:j.find(n.pop(),n.length===1&&t.parentNode?t.parentNode:t,C(t));y=j.filter(z.expr,z.set);if(n.length>0){v=k(y)}else{q=false}while(n.length){var w=n.pop(),x=w;if(!h.relative[w]){w=""}else{x=n.pop()}if(x==null){x=t}h.relative[w](v,x,C(t))}}if(!v){v=y}if(!v){throw"Syntax error, unrecognized expression: "+(w||o)}if(i.call(v)==="[object Array]"){if(!q){l.push.apply(l,v)}else{if(t.nodeType===1){for(var m=0;v[m]!=null;m++){if(v[m]&&(v[m]===true||v[m].nodeType===1&&f(t,v[m]))){l.push(y[m])}}}else{for(var m=0;v[m]!=null;m++){if(v[m]&&v[m].nodeType===1){l.push(y[m])}}}}}else{k(v,l)}if(s){j(s,t,l,AJ)}return l};j.matches=function(m,l){return j(m,null,null,l)};j.find=function(m,u,l){var n,q;if(!m){return[]}for(var r=0,s=h.order.length;r<s;r++){var o=h.order[r],q;if((q=h.match[o].exec(m))){var t=RegExp.leftContext;if(t.substr(t.length-1)!=="\\"){q[1]=(q[1]||"").replace(/\\/g,"");n=h.find[o](q,u,l);if(n!=null){m=m.replace(h.match[o],"");break}}}}if(!n){n=u.getElementsByTagName("*")}return{set:n,expr:m}};j.filter=function(AI,l,x,r){var s=AI,v=[],n=l,o,u;while(AI&&l.length){for(var m in h.filter){if((o=h.match[m].exec(AI))!=null){var t=h.filter[m],w,y;u=false;if(n==v){v=[]}if(h.preFilter[m]){o=h.preFilter[m](o,n,x,v,r);if(!o){u=w=true}else{if(o===true){continue}}}if(o){for(var q=0;(y=n[q])!=null;q++){if(y){w=t(y,o,q,n);var z=r^!!w;if(x&&w!=null){if(z){u=true}else{n[q]=false}}else{if(z){v.push(y);u=true}}}}}if(w!==AB){if(!x){n=v}AI=AI.replace(h.match[m],"");if(!u){return[]}break}}}AI=AI.replace(/\s*,\s*/,"");if(AI==s){if(u==null){throw"Syntax error, unrecognized expression: "+AI}else{break}}s=AI}return n};var h=j.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF_-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF_-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF_-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF_-]|\\.)+)\s*(?:(\S?=)\s*(['"]*)(.*?)\3|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*_-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\((even|odd|[\dn+-]*)\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF_-]|\\.)+)(?:\((['"]*)((?:\([^\)]+\)|[^\2\(\)]*)+)\2\))?/},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(l){return l.getAttribute("href")}},relative:{"+":function(l,o){for(var n=0,q=l.length;n<q;n++){var m=l[n];if(m){var r=m.previousSibling;while(r&&r.nodeType!==1){r=r.previousSibling}l[n]=typeof o==="string"?r||false:r===o}}if(typeof o==="string"){j.filter(o,l,true)}},">":function(s,o,r){if(typeof o==="string"&&!/\W/.test(o)){o=r?o:o.toUpperCase();for(var n=0,q=s.length;n<q;n++){var l=s[n];if(l){var m=l.parentNode;s[n]=m.nodeName===o?m:false}}}else{for(var n=0,q=s.length;n<q;n++){var l=s[n];if(l){s[n]=typeof o==="string"?l.parentNode:l.parentNode===o}}if(typeof o==="string"){j.filter(o,s,true)}}},"":function(m,o,r){var n="done"+(e++),q=A;if(!o.match(/\W/)){var l=o=r?o:o.toUpperCase();q=D}q("parentNode",o,n,m,l,r)},"~":function(m,o,r){var n="done"+(e++),q=A;if(typeof o==="string"&&!o.match(/\W/)){var l=o=r?o:o.toUpperCase();q=D}q("previousSibling",o,n,m,l,r)}},find:{ID:function(n,m,l){if(typeof m.getElementById!=="undefined"&&!l){var o=m.getElementById(n[1]);return o?[o]:[]}},NAME:function(n,m,l){if(typeof m.getElementsByName!=="undefined"&&!l){return m.getElementsByName(n[1])}},TAG:function(m,l){return l.getElementsByTagName(m[1])}},preFilter:{CLASS:function(m,o,n,q,r){m=" "+m[1].replace(/\\/g,"")+" ";var s;for(var l=0;(s=o[l])!=null;l++){if(s){if(r^(" "+s.className+" ").indexOf(m)>=0){if(!n){q.push(s)}}else{if(n){o[l]=false}}}}return false},ID:function(l){return l[1].replace(/\\/g,"")},TAG:function(m,n){for(var l=0;n[l]===false;l++){}return n[l]&&C(n[l])?m[1]:m[1].toUpperCase()},CHILD:function(m){if(m[1]=="nth"){var l=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(m[2]=="even"&&"2n"||m[2]=="odd"&&"2n+1"||!/\D/.test(m[2])&&"0n+"+m[2]||m[2]);m[2]=(l[1]+(l[2]||1))-0;m[3]=l[3]-0}m[0]="done"+(e++);return m},ATTR:function(l){var m=l[1].replace(/\\/g,"");if(h.attrMap[m]){l[1]=h.attrMap[m]}if(l[2]==="~="){l[4]=" "+l[4]+" "}return l},PSEUDO:function(l,o,n,q,r){if(l[1]==="not"){if(l[3].match(B).length>1){l[3]=j(l[3],null,null,o)}else{var m=j.filter(l[3],o,n,true^r);if(!n){q.push.apply(q,m)}return false}}else{if(h.match.POS.test(l[0])){return true}}return l},POS:function(l){l.unshift(true);return l}},filters:{enabled:function(l){return l.disabled===false&&l.type!=="hidden"},disabled:function(l){return l.disabled===true},checked:function(l){return l.checked===true},selected:function(l){l.parentNode.selectedIndex;return l.selected===true},parent:function(l){return !!l.firstChild},empty:function(l){return !l.firstChild},has:function(l,m,n){return !!j(n[3],l).length},header:function(l){return/h\d/i.test(l.nodeName)},text:function(l){return"text"===l.type},radio:function(l){return"radio"===l.type},checkbox:function(l){return"checkbox"===l.type},file:function(l){return"file"===l.type},password:function(l){return"password"===l.type},submit:function(l){return"submit"===l.type},image:function(l){return"image"===l.type},reset:function(l){return"reset"===l.type},button:function(l){return"button"===l.type||l.nodeName.toUpperCase()==="BUTTON"},input:function(l){return/input|select|textarea|button/i.test(l.nodeName)}},setFilters:{first:function(l,m){return m===0},last:function(m,n,o,l){return n===l.length-1},even:function(l,m){return m%2===0},odd:function(l,m){return m%2===1},lt:function(l,m,n){return m<n[3]-0},gt:function(l,m,n){return m>n[3]-0},nth:function(l,m,n){return n[3]-0==m},eq:function(l,m,n){return n[3]-0==m}},filter:{CHILD:function(u,r){var n=r[1],m=u.parentNode;var o=r[0];if(m&&(!m[o]||!u.nodeIndex)){var q=1;for(var t=m.firstChild;t;t=t.nextSibling){if(t.nodeType==1){t.nodeIndex=q++}}m[o]=q-1}if(n=="first"){return u.nodeIndex==1}else{if(n=="last"){return u.nodeIndex==m[o]}else{if(n=="only"){return m[o]==1}else{if(n=="nth"){var v=false,s=r[2],l=r[3];if(s==1&&l==0){return true}if(s==0){if(u.nodeIndex==l){v=true}}else{if((u.nodeIndex-l)%s==0&&(u.nodeIndex-l)/s>=0){v=true}}return v}}}}},PSEUDO:function(s,n,m,r){var o=n[1],l=h.filters[o];if(l){return l(s,m,n,r)}else{if(o==="contains"){return(s.textContent||s.innerText||"").indexOf(n[3])>=0}else{if(o==="not"){var t=n[3];for(var m=0,q=t.length;m<q;m++){if(t[m]===s){return false}}return true}}}},ID:function(l,m){return l.nodeType===1&&l.getAttribute("id")===m},TAG:function(l,m){return(m==="*"&&l.nodeType===1)||l.nodeName===m},CLASS:function(l,m){return m.test(l.className)},ATTR:function(l,n){var q=h.attrHandle[n[1]]?h.attrHandle[n[1]](l):l[n[1]]||l.getAttribute(n[1]),r=q+"",m=n[2],o=n[4];return q==null?m==="!=":m==="="?r===o:m==="*="?r.indexOf(o)>=0:m==="~="?(" "+r+" ").indexOf(o)>=0:!n[4]?q:m==="!="?r!=o:m==="^="?r.indexOf(o)===0:m==="$="?r.substr(r.length-o.length)===o:m==="|="?r===o||r.substr(0,o.length+1)===o+"-":false},POS:function(l,o,n,r){var q=o[2],m=h.setFilters[q];if(m){return m(l,n,o,r)}}}};var d=h.match.POS;for(var b in h.match){h.match[b]=RegExp(h.match[b].source+/(?![^\[]*\])(?![^\(]*\))/.source)}var k=function(l,m){l=Array.prototype.slice.call(l);if(m){m.push.apply(m,l);return m}return l};try{Array.prototype.slice.call(document.documentElement.childNodes)}catch(c){k=function(l,m){var o=m||[];if(i.call(l)==="[object Array]"){Array.prototype.push.apply(o,l)}else{if(typeof l.length==="number"){for(var n=0,q=l.length;n<q;n++){o.push(l[n])}}else{for(var n=0;l[n];n++){o.push(l[n])}}}return o}}(function(){var m=document.createElement("form"),l="script"+(new Date).getTime();m.innerHTML="<input name='"+l+"'/>";var n=document.documentElement;n.insertBefore(m,n.firstChild);if(!!document.getElementById(l)){h.find.ID=function(o,s,r){if(typeof s.getElementById!=="undefined"&&!r){var q=s.getElementById(o[1]);return q?q.id===o[1]||typeof q.getAttributeNode!=="undefined"&&q.getAttributeNode("id").nodeValue===o[1]?[q]:AB:[]}};h.filter.ID=function(r,q){var o=typeof r.getAttributeNode!=="undefined"&&r.getAttributeNode("id");return r.nodeType===1&&o&&o.nodeValue===q}}n.removeChild(m)})();(function(){var l=document.createElement("div");l.appendChild(document.createComment(""));if(l.getElementsByTagName("*").length>0){h.find.TAG=function(q,r){var m=r.getElementsByTagName(q[1]);if(q[1]==="*"){var n=[];for(var o=0;m[o];o++){if(m[o].nodeType===1){n.push(m[o])}}m=n}return m}}l.innerHTML="<a href='#'></a>";if(l.firstChild&&l.firstChild.getAttribute("href")!=="#"){h.attrHandle.href=function(m){return m.getAttribute("href",2)}}})();if(document.querySelectorAll){(function(){var m=j,l=document.createElement("div");l.innerHTML="<p class='TEST'></p>";if(l.querySelectorAll&&l.querySelectorAll(".TEST").length===0){return }j=function(s,n,q,o){n=n||document;if(!o&&n.nodeType===9&&!C(n)){try{return k(n.querySelectorAll(s),q)}catch(r){}}return m(s,n,q,o)};j.find=m.find;j.filter=m.filter;j.selectors=m.selectors;j.matches=m.matches})()}if(document.getElementsByClassName&&document.documentElement.getElementsByClassName){h.order.splice(1,0,"CLASS");h.find.CLASS=function(m,l){return l.getElementsByClassName(m[1])}}function D(t,m,n,v,l,w){for(var q=0,s=v.length;q<s;q++){var u=v[q];if(u){u=u[t];var o=false;while(u&&u.nodeType){var r=u[n];if(r){o=v[r];break}if(u.nodeType===1&&!w){u[n]=q}if(u.nodeName===m){o=u;break}u=u[t]}v[q]=o}}}function A(t,n,o,v,m,l){for(var r=0,s=v.length;r<s;r++){var u=v[r];if(u){u=u[t];var q=false;while(u&&u.nodeType){if(u[o]){q=v[u[o]];break}if(u.nodeType===1){if(!l){u[o]=r}if(typeof n!=="string"){if(u===n){q=true;break}}else{if(j.filter(n,[u]).length>0){q=u;break}}}u=u[t]}v[r]=q}}}var f=document.compareDocumentPosition?function(l,m){return l.compareDocumentPosition(m)&16}:function(l,m){return l!==m&&(l.contains?l.contains(m):true)};var C=function(l){return l.nodeType===9&&l.documentElement.nodeName!=="HTML"||!!l.ownerDocument&&C(l.ownerDocument)};var g=function(q,r){var m=[],l="",t,n=r.nodeType?[r]:r;while((t=h.match.PSEUDO.exec(q))){l+=t[0];q=q.replace(h.match.PSEUDO,"")}q=h.relative[q]?q+"*":q;for(var s=0,o=n.length;s<o;s++){j(q,n[s],m)}return j.filter(l,m)};T.find=j;T.filter=j.filter;T.expr=j.selectors;T.expr[":"]=T.expr.filters;j.selectors.filters.hidden=function(l){return"hidden"===l.type||T.css(l,"display")==="none"||T.css(l,"visibility")==="hidden"};j.selectors.filters.visible=function(l){return"hidden"!==l.type&&T.css(l,"display")!=="none"&&T.css(l,"visibility")!=="hidden"};j.selectors.filters.animated=function(l){return T.grep(T.timers,function(m){return l===m.elem}).length};T.multiFilter=function(l,n,m){if(m){l=":not("+l+")"}return j.matches(l,n)};T.dir=function(m,n){var o=[],l=m[n];while(l&&l!=document){if(l.nodeType==1){o.push(l)}l=l[n]}return o};T.nth=function(l,q,n,m){q=q||1;var o=0;for(;l;l=l[n]){if(l.nodeType==1&&++o==q){break}}return l};T.sibling=function(l,m){var n=[];for(;l;l=l.nextSibling){if(l.nodeType==1&&l!=m){n.push(l)}}return n};return ;W.Sizzle=j})();T.event={add:function(C,c,D,A){if(C.nodeType==3||C.nodeType==8){return }if(C.setInterval&&C!=W){C=W}if(!D.guid){D.guid=this.guid++}if(A!==AB){var b=D;D=this.proxy(b);D.data=A}var d=T.data(C,"events")||T.data(C,"events",{}),B=T.data(C,"handle")||T.data(C,"handle",function(){return typeof T!=="undefined"&&!T.event.triggered?T.event.handle.apply(arguments.callee.elem,arguments):AB});B.elem=C;T.each(c.split(/\s+/),function(h,g){var f=g.split(".");g=f.shift();D.type=f.slice().sort().join(".");var e=d[g];if(T.event.specialAll[g]){T.event.specialAll[g].setup.call(C,A,f)}if(!e){e=d[g]={};if(!T.event.special[g]||T.event.special[g].setup.call(C,A,f)===false){if(C.addEventListener){C.addEventListener(g,B,false)}else{if(C.attachEvent){C.attachEvent("on"+g,B)}}}}e[D.guid]=D;T.event.global[g]=true});C=null},guid:1,global:{},remove:function(B,b,C){if(B.nodeType==3||B.nodeType==8){return }var c=T.data(B,"events"),d,e;if(c){if(b===AB||(typeof b==="string"&&b.charAt(0)==".")){for(var D in c){this.remove(B,D+(b||""))}}else{if(b.type){C=b.handler;b=b.type}T.each(b.split(/\s+/),function(j,h){var f=h.split(".");h=f.shift();var i=RegExp("(^|\\.)"+f.slice().sort().join(".*\\.")+"(\\.|$)");if(c[h]){if(C){delete c[h][C.guid]}else{for(var g in c[h]){if(i.test(c[h][g].type)){delete c[h][g]}}}if(T.event.specialAll[h]){T.event.specialAll[h].teardown.call(B,f)}for(d in c[h]){break}if(!d){if(!T.event.special[h]||T.event.special[h].teardown.call(B,f)===false){if(B.removeEventListener){B.removeEventListener(h,T.data(B,"handle"),false)}else{if(B.detachEvent){B.detachEvent("on"+h,T.data(B,"handle"))}}}d=null;delete c[h]}}})}for(d in c){break}if(!d){var A=T.data(B,"handle");if(A){A.elem=null}T.removeData(B,"events");T.removeData(B,"handle")}}},trigger:function(D,B,b,e){var c=D.type||D;if(!e){D=typeof D==="object"?D[AA]?D:T.extend(T.Event(c),D):T.Event(c);if(c.indexOf("!")>=0){D.type=c=c.slice(0,-1);D.exclusive=true}if(!b){D.stopPropagation();if(this.global[c]){T.each(T.cache,function(){if(this.events&&this.events[c]){T.event.trigger(D,B,this.handle.elem)}})}}if(!b||b.nodeType==3||b.nodeType==8){return AB}D.result=AB;D.target=b;B=T.makeArray(B);B.unshift(D)}D.currentTarget=b;var C=T.data(b,"handle");if(C){C.apply(b,B)}if((!b[c]||(T.nodeName(b,"a")&&c=="click"))&&b["on"+c]&&b["on"+c].apply(b,B)===false){D.result=false}if(!e&&b[c]&&!D.isDefaultPrevented()&&!(T.nodeName(b,"a")&&c=="click")){this.triggered=true;try{b[c]()}catch(A){}}this.triggered=false;if(!D.isPropagationStopped()){var d=b.parentNode||b.ownerDocument;if(d){T.event.trigger(D,B,d,true)}}},handle:function(B){var C,e;B=arguments[0]=T.event.fix(B||W.event);var A=B.type.split(".");B.type=A.shift();C=!A.length&&!B.exclusive;var D=RegExp("(^|\\.)"+A.slice().sort().join(".*\\.")+"(\\.|$)");e=(T.data(this,"events")||{})[B.type];for(var c in e){var b=e[c];if(C||D.test(b.type)){B.handler=b;B.data=b.data;var d=b.apply(this,arguments);if(d!==AB){B.result=d;if(d===false){B.preventDefault();B.stopPropagation()}}if(B.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(C){if(C[AA]){return C}var b=C;C=T.Event(b);for(var D=this.props.length,A;D;){A=this.props[--D];C[A]=b[A]}if(!C.target){C.target=C.srcElement||document}if(C.target.nodeType==3){C.target=C.target.parentNode}if(!C.relatedTarget&&C.fromElement){C.relatedTarget=C.fromElement==C.target?C.toElement:C.fromElement}if(C.pageX==null&&C.clientX!=null){var B=document.documentElement,c=document.body;C.pageX=C.clientX+(B&&B.scrollLeft||c&&c.scrollLeft||0)-(B.clientLeft||0);C.pageY=C.clientY+(B&&B.scrollTop||c&&c.scrollTop||0)-(B.clientTop||0)}if(!C.which&&((C.charCode||C.charCode===0)?C.charCode:C.keyCode)){C.which=C.charCode||C.keyCode}if(!C.metaKey&&C.ctrlKey){C.metaKey=C.ctrlKey}if(!C.which&&C.button){C.which=(C.button&1?1:(C.button&2?3:(C.button&4?2:0)))}return C},proxy:function(A,B){B=B||function(){return A.apply(this,arguments)};B.guid=A.guid=A.guid||B.guid||this.guid++;return B},special:{ready:{setup:P,teardown:function(){}}},specialAll:{live:{setup:function(B,A){T.event.add(this,A[0],AF)},teardown:function(A){if(A.length){var C=0,B=RegExp("(^|\\.)"+A[0]+"(\\.|$)");T.each((T.data(this,"events").live||{}),function(){if(B.test(this.type)){C++}});if(C<1){T.event.remove(this,A[0],AF)}}}}}};T.Event=function(A){if(!this.preventDefault){return new T.Event(A)}if(A&&A.type){this.originalEvent=A;this.type=A.type}else{this.type=A}this.timeStamp=AD();this[AA]=true};function X(){return false}function J(){return true}T.Event.prototype={preventDefault:function(){this.isDefaultPrevented=J;var A=this.originalEvent;if(!A){return }if(A.preventDefault){A.preventDefault()}A.returnValue=false},stopPropagation:function(){this.isPropagationStopped=J;var A=this.originalEvent;if(!A){return }if(A.stopPropagation){A.stopPropagation()}A.cancelBubble=true},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=J;this.stopPropagation()},isDefaultPrevented:X,isPropagationStopped:X,isImmediatePropagationStopped:X};var AH=function(B){var C=B.relatedTarget;while(C&&C!=this){try{C=C.parentNode}catch(A){C=this}}if(C!=this){B.type=B.data;T.event.handle.apply(this,arguments)}};T.each({mouseover:"mouseenter",mouseout:"mouseleave"},function(A,B){T.event.special[B]={setup:function(){T.event.add(this,A,AH,B)},teardown:function(){T.event.remove(this,A,AH)}}});T.fn.extend({bind:function(B,A,C){return B=="unload"?this.one(B,A,C):this.each(function(){T.event.add(this,B,C||A,C&&A)})},one:function(B,A,C){var D=T.event.proxy(C||A,function(b){T(this).unbind(b,D);return(C||A).apply(this,arguments)});return this.each(function(){T.event.add(this,B,D,C&&A)})},unbind:function(A,B){return this.each(function(){T.event.remove(this,A,B)})},trigger:function(B,A){return this.each(function(){T.event.trigger(B,A,this)})},triggerHandler:function(C,A){if(this[0]){var B=T.Event(C);B.preventDefault();B.stopPropagation();T.event.trigger(B,A,this[0]);return B.result}},toggle:function(A){var C=arguments,B=1;while(B<C.length){T.event.proxy(A,C[B++])}return this.click(T.event.proxy(A,function(D){this.lastToggle=(this.lastToggle||0)%B;D.preventDefault();return C[this.lastToggle++].apply(this,arguments)||false}))},hover:function(B,A){return this.mouseenter(B).mouseleave(A)},ready:function(A){P();if(T.isReady){A.call(document,T)}else{T.readyList.push(A)}return this},live:function(A,B){var C=T.event.proxy(B);C.guid+=this.selector+A;T(document).bind(Z(A,this.selector),this.selector,C);return this},die:function(A,B){T(document).unbind(Z(A,this.selector),B?{guid:B.guid+this.selector+A}:null);return this}});function AF(A){var D=RegExp("(^|\\.)"+A.type+"(\\.|$)"),B=true,C=[];T.each(T.data(this,"events").live||[],function(d,c){if(D.test(c.type)){var b=T(A.target).closest(c.data)[0];if(b){C.push({elem:b,fn:c})}}});T.each(C,function(){if(this.fn.call(this.elem,A,this.fn.data)===false){B=false}});return B}function Z(A,B){return["live",A,B.replace(/\./g,"`").replace(/ /g,"|")].join(".")}T.extend({isReady:false,readyList:[],ready:function(){if(!T.isReady){T.isReady=true;if(T.readyList){T.each(T.readyList,function(){this.call(document,T)});T.readyList=null}T(document).triggerHandler("ready")}}});var G=false;function P(){if(G){return }G=true;if(document.addEventListener){document.addEventListener("DOMContentLoaded",function(){document.removeEventListener("DOMContentLoaded",arguments.callee,false);T.ready()},false)}else{if(document.attachEvent){document.attachEvent("onreadystatechange",function(){if(document.readyState==="complete"){document.detachEvent("onreadystatechange",arguments.callee);T.ready()}});if(document.documentElement.doScroll&&typeof W.frameElement==="undefined"){(function(){if(T.isReady){return }try{document.documentElement.doScroll("left")}catch(A){setTimeout(arguments.callee,0);return }T.ready()})()}}}T.event.add(W,"load",T.ready)}T.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(A,B){T.fn[B]=function(C){return C?this.bind(B,C):this.trigger(B)}});T(W).bind("unload",function(){for(var A in T.cache){if(A!=1&&T.cache[A].handle){T.event.remove(T.cache[A].handle.elem)}}});(function(){T.support={};var c=document.documentElement,b=document.createElement("script"),A=document.createElement("div"),B="script"+(new Date).getTime();A.style.display="none";A.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 D=A.getElementsByTagName("*"),d=A.getElementsByTagName("a")[0];if(!D||!D.length||!d){return }T.support={leadingWhitespace:A.firstChild.nodeType==3,tbody:!A.getElementsByTagName("tbody").length,objectAll:!!A.getElementsByTagName("object")[0].getElementsByTagName("*").length,htmlSerialize:!!A.getElementsByTagName("link").length,style:/red/.test(d.getAttribute("style")),hrefNormalized:d.getAttribute("href")==="/a",opacity:d.style.opacity==="0.5",cssFloat:!!d.style.cssFloat,scriptEval:false,noCloneEvent:true,boxModel:null};b.type="text/javascript";try{b.appendChild(document.createTextNode("window."+B+"=1;"))}catch(C){}c.insertBefore(b,c.firstChild);if(W[B]){T.support.scriptEval=true;delete W[B]}c.removeChild(b);if(A.attachEvent&&A.fireEvent){A.attachEvent("onclick",function(){T.support.noCloneEvent=false;A.detachEvent("onclick",arguments.callee)});A.cloneNode(true).fireEvent("onclick")}T(function(){var e=document.createElement("div");e.style.width="1px";e.style.paddingLeft="1px";document.body.appendChild(e);T.boxModel=T.support.boxModel=e.offsetWidth===2;document.body.removeChild(e)})})();var H=T.support.cssFloat?"cssFloat":"styleFloat";T.props={"for":"htmlFor","class":"className","float":H,cssFloat:H,styleFloat:H,readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",tabindex:"tabIndex"};T.fn.extend({_load:T.fn.load,load:function(b,B,A){if(typeof b!=="string"){return this._load(b)}var C=b.indexOf(" ");if(C>=0){var d=b.slice(C,b.length);b=b.slice(0,C)}var D="GET";if(B){if(T.isFunction(B)){A=B;B=null}else{if(typeof B==="object"){B=T.param(B);D="POST"}}}var c=this;T.ajax({url:b,type:D,dataType:"html",data:B,complete:function(f,e){if(e=="success"||e=="notmodified"){c.html(d?T("<div/>").append(f.responseText.replace(/<script(.|\s)*?\/script>/g,"")).find(d):f.responseText)}if(A){c.each(A,[f.responseText,e,f])}}});return this},serialize:function(){return T.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?T.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||/select|textarea/i.test(this.nodeName)||/text|hidden|password/i.test(this.type))}).map(function(C,B){var A=T(this).val();return A==null?null:T.isArray(A)?T.map(A,function(D,b){return{name:B.name,value:D}}):{name:B.name,value:A}}).get()}});T.each("ajaxStart,ajaxStop,ajaxComplete,ajaxError,ajaxSuccess,ajaxSend".split(","),function(B,A){T.fn[A]=function(C){return this.bind(A,C)}});var N=AD();T.extend({get:function(D,B,A,C){if(T.isFunction(B)){A=B;B=null}return T.ajax({type:"GET",url:D,data:B,success:A,dataType:C})},getScript:function(B,A){return T.get(B,null,A,"script")},getJSON:function(C,B,A){return T.get(C,B,A,"json")},post:function(D,B,A,C){if(T.isFunction(B)){A=B;B={}}return T.ajax({type:"POST",url:D,data:B,success:A,dataType:C})},ajaxSetup:function(A){T.extend(T.ajaxSettings,A)},ajaxSettings:{url:location.href,global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:function(){return W.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(h){h=T.extend(true,h,T.extend(true,{},T.ajaxSettings,h));var A,o=/=\?(&|$)/g,c,B,n=h.type.toUpperCase();if(h.data&&h.processData&&typeof h.data!=="string"){h.data=T.param(h.data)}if(h.dataType=="jsonp"){if(n=="GET"){if(!h.url.match(o)){h.url+=(h.url.match(/\?/)?"&":"?")+(h.jsonp||"callback")+"=?"}}else{if(!h.data||!h.data.match(o)){h.data=(h.data?h.data+"&":"")+(h.jsonp||"callback")+"=?"}}h.dataType="json"}if(h.dataType=="json"&&(h.data&&h.data.match(o)||h.url.match(o))){A="jsonp"+N++;if(h.data){h.data=(h.data+"").replace(o,"="+A+"$1")}h.url=h.url.replace(o,"="+A+"$1");h.dataType="script";W[A]=function(s){B=s;l();i();W[A]=AB;try{delete W[A]}catch(r){}if(m){m.removeChild(D)}}}if(h.dataType=="script"&&h.cache==null){h.cache=false}if(h.cache===false&&n=="GET"){var q=AD();var C=h.url.replace(/(\?|&)_=.*?(&|$)/,"$1_="+q+"$2");h.url=C+((C==h.url)?(h.url.match(/\?/)?"&":"?")+"_="+q:"")}if(h.data&&n=="GET"){h.url+=(h.url.match(/\?/)?"&":"?")+h.data;h.data=null}if(h.global&&!T.active++){T.event.trigger("ajaxStart")}var d=/^(\w+:)?\/\/([^\/?#]+)/.exec(h.url);if(h.dataType=="script"&&n=="GET"&&d&&(d[1]&&d[1]!=location.protocol||d[2]!=location.host)){var m=document.getElementsByTagName("head")[0];var D=document.createElement("script");D.src=h.url;if(h.scriptCharset){D.charset=h.scriptCharset}if(!A){var f=false;D.onload=D.onreadystatechange=function(){if(!f&&(!this.readyState||this.readyState=="loaded"||this.readyState=="complete")){f=true;l();i();m.removeChild(D)}}}m.appendChild(D);return AB}var j=false;var k=h.xhr();if(h.username){k.open(n,h.url,h.async,h.username,h.password)}else{k.open(n,h.url,h.async)}try{if(h.data){k.setRequestHeader("Content-Type",h.contentType)}if(h.ifModified){k.setRequestHeader("If-Modified-Since",T.lastModified[h.url]||"Thu, 01 Jan 1970 00:00:00 GMT")}k.setRequestHeader("X-Requested-With","XMLHttpRequest");k.setRequestHeader("Accept",h.dataType&&h.accepts[h.dataType]?h.accepts[h.dataType]+", */*":h.accepts._default)}catch(b){}if(h.beforeSend&&h.beforeSend(k,h)===false){if(h.global&&!--T.active){T.event.trigger("ajaxStop")}k.abort();return false}if(h.global){T.event.trigger("ajaxSend",[k,h])}var g=function(t){if(k.readyState==0){if(e){clearInterval(e);e=null;if(h.global&&!--T.active){T.event.trigger("ajaxStop")}}}else{if(!j&&k&&(k.readyState==4||t=="timeout")){j=true;if(e){clearInterval(e);e=null}c=t=="timeout"?"timeout":!T.httpSuccess(k)?"error":h.ifModified&&T.httpNotModified(k,h.url)?"notmodified":"success";if(c=="success"){try{B=T.httpData(k,h.dataType,h)}catch(r){c="parsererror"}}if(c=="success"){var s;try{s=k.getResponseHeader("Last-Modified")}catch(r){}if(h.ifModified&&s){T.lastModified[h.url]=s}if(!A){l()}}else{T.handleError(h,k,c)}i();if(t){k.abort()}if(h.async){k=null}}}};if(h.async){var e=setInterval(g,13);if(h.timeout>0){setTimeout(function(){if(k&&!j){g("timeout")}},h.timeout)}}try{k.send(h.data)}catch(b){T.handleError(h,k,null,b)}if(!h.async){g()}function l(){if(h.success){h.success(B,c)}if(h.global){T.event.trigger("ajaxSuccess",[k,h])}}function i(){if(h.complete){h.complete(k,c)}if(h.global){T.event.trigger("ajaxComplete",[k,h])}if(h.global&&!--T.active){T.event.trigger("ajaxStop")}}return k},handleError:function(C,A,D,B){if(C.error){C.error(A,D,B)}if(C.global){T.event.trigger("ajaxError",[A,C,B])}},active:0,httpSuccess:function(A){try{return !A.status&&location.protocol=="file:"||(A.status>=200&&A.status<300)||A.status==304||A.status==1223}catch(B){}return false},httpNotModified:function(B,D){try{var A=B.getResponseHeader("Last-Modified");return B.status==304||A==T.lastModified[D]}catch(C){}return false},httpData:function(A,C,D){var b=A.getResponseHeader("content-type"),c=C=="xml"||!C&&b&&b.indexOf("xml")>=0,B=c?A.responseXML:A.responseText;if(c&&B.documentElement.tagName=="parsererror"){throw"parsererror"}if(D&&D.dataFilter){B=D.dataFilter(B,C)}if(typeof B==="string"){if(C=="script"){T.globalEval(B)}if(C=="json"){B=W["eval"]("("+B+")")}}return B},param:function(D){var B=[];function A(c,b){B[B.length]=encodeURIComponent(c)+"="+encodeURIComponent(b)}if(T.isArray(D)||D.jquery){T.each(D,function(){A(this.name,this.value)})}else{for(var C in D){if(T.isArray(D[C])){T.each(D[C],function(){A(C,this)})}else{A(C,T.isFunction(D[C])?D[C]():D[C])}}}return B.join("&").replace(/%20/g,"+")}});var V={},U,AE=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];function K(B,C){var A={};T.each(AE.concat.apply([],AE.slice(0,C)),function(){A[this]=B});return A}T.fn.extend({show:function(C,A){if(C){return this.animate(K("show",3),C,A)}else{for(var b=0,d=this.length;b<d;b++){var e=T.data(this[b],"olddisplay");this[b].style.display=e||"";if(T.css(this[b],"display")==="none"){var c=this[b].tagName,B;if(V[c]){B=V[c]}else{var D=T("<"+c+" />").appendTo("body");B=D.css("display");if(B==="none"){B="block"}D.remove();V[c]=B}this[b].style.display=T.data(this[b],"olddisplay",B)}}return this}},hide:function(B,A){if(B){return this.animate(K("hide",3),B,A)}else{for(var C=0,D=this.length;C<D;C++){var b=T.data(this[C],"olddisplay");if(!b&&b!=="none"){T.data(this[C],"olddisplay",T.css(this[C],"display"))}this[C].style.display="none"}return this}},_toggle:T.fn.toggle,toggle:function(A,B){var C=typeof A==="boolean";return T.isFunction(A)&&T.isFunction(B)?this._toggle.apply(this,arguments):A==null||C?this.each(function(){var D=C?A:T(this).is(":hidden");T(this)[D?"show":"hide"]()}):this.animate(K("toggle",3),A,B)},fadeTo:function(C,A,B){return this.animate({opacity:A},C,B)},animate:function(A,D,B,C){var b=T.speed(D,B,C);return this[b.queue===false?"each":"queue"](function(){var d=T.extend({},b),f,c=this.nodeType==1&&T(this).is(":hidden"),e=this;for(f in A){if(A[f]=="hide"&&c||A[f]=="show"&&!c){return d.complete.call(this)}if((f=="height"||f=="width")&&this.style){d.display=T.css(this,"display");d.overflow=this.style.overflow}}if(d.overflow!=null){this.style.overflow="hidden"}d.curAnim=T.extend({},A);T.each(A,function(l,h){var i=new T.fx(e,d,l);if(/toggle|show|hide/.test(h)){i[h=="toggle"?c?"show":"hide":h](A)}else{var j=h.toString().match(/^([+-]=)?([\d+-.]+)(.*)$/),g=i.cur(true)||0;if(j){var m=parseFloat(j[2]),k=j[3]||"px";if(k!="px"){e.style[l]=(m||1)+k;g=((m||1)/i.cur(true))*g;e.style[l]=g+k}if(j[1]){m=((j[1]=="-="?-1:1)*m)+g}i.custom(g,m,k)}else{i.custom(g,h,"")}}});return true})},stop:function(B,C){var A=T.timers;if(B){this.queue([])}this.each(function(){for(var D=A.length-1;D>=0;D--){if(A[D].elem==this){if(C){A[D](true)}A.splice(D,1)}}});if(!C){this.dequeue()}return this}});T.each({slideDown:K("show",1),slideUp:K("hide",1),slideToggle:K("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(B,A){T.fn[B]=function(D,C){return this.animate(A,D,C)}});T.extend({speed:function(B,A,C){var D=typeof B==="object"?B:{complete:C||!C&&A||T.isFunction(B)&&B,duration:B,easing:C&&A||A&&!T.isFunction(A)&&A};D.duration=T.fx.off?0:typeof D.duration==="number"?D.duration:T.fx.speeds[D.duration]||T.fx.speeds._default;D.old=D.complete;D.complete=function(){if(D.queue!==false){T(this).dequeue()}if(T.isFunction(D.old)){D.old.call(this)}};return D},easing:{linear:function(B,A,D,C){return D+C*B},swing:function(B,A,D,C){return((-Math.cos(B*Math.PI)/2)+0.5)*C+D}},timers:[],fx:function(B,C,A){this.options=C;this.elem=B;this.prop=A;if(!C.orig){C.orig={}}}});T.fx.prototype={update:function(){if(this.options.step){this.options.step.call(this.elem,this.now,this)}(T.fx.step[this.prop]||T.fx.step._default)(this);if((this.prop=="height"||this.prop=="width")&&this.elem.style){this.elem.style.display="block"}},cur:function(A){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null)){return this.elem[this.prop]}var B=parseFloat(T.css(this.elem,this.prop,A));return B&&B>-10000?B:parseFloat(T.curCSS(this.elem,this.prop))||0},custom:function(A,B,C){this.startTime=AD();this.start=A;this.end=B;this.unit=C||this.unit||"px";this.now=this.start;this.pos=this.state=0;var b=this;function D(c){return b.step(c)}D.elem=this.elem;if(D()&&T.timers.push(D)==1){U=setInterval(function(){var c=T.timers;for(var d=0;d<c.length;d++){if(!c[d]()){c.splice(d--,1)}}if(!c.length){clearInterval(U)}},13)}},show:function(){this.options.orig[this.prop]=T.attr(this.elem.style,this.prop);this.options.show=true;this.custom(this.prop=="width"||this.prop=="height"?1:0,this.cur());T(this.elem).show()},hide:function(){this.options.orig[this.prop]=T.attr(this.elem.style,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(C){var D=AD();if(C||D>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;var c=true;for(var b in this.options.curAnim){if(this.options.curAnim[b]!==true){c=false}}if(c){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;this.elem.style.display=this.options.display;if(T.css(this.elem,"display")=="none"){this.elem.style.display="block"}}if(this.options.hide){T(this.elem).hide()}if(this.options.hide||this.options.show){for(var B in this.options.curAnim){T.attr(this.elem.style,B,this.options.orig[B])}}this.options.complete.call(this.elem)}return false}else{var A=D-this.startTime;this.state=A/this.options.duration;this.pos=T.easing[this.options.easing||(T.easing.swing?"swing":"linear")](this.state,A,0,1,this.options.duration);this.now=this.start+((this.end-this.start)*this.pos);this.update()}return true}};T.extend(T.fx,{speeds:{slow:600,fast:200,_default:400},step:{opacity:function(A){T.attr(A.elem.style,"opacity",A.now)},_default:function(A){if(A.elem.style&&A.elem.style[A.prop]!=null){A.elem.style[A.prop]=A.now+A.unit}else{A.elem[A.prop]=A.now}}}});if(document.documentElement.getBoundingClientRect){T.fn.offset=function(){if(!this[0]){return{top:0,left:0}}if(this[0]===this[0].ownerDocument.body){return T.offset.bodyOffset(this[0])}var c=this[0].getBoundingClientRect(),C=this[0].ownerDocument,d=C.body,e=C.documentElement,A=e.clientTop||d.clientTop||0,B=e.clientLeft||d.clientLeft||0,D=c.top+(self.pageYOffset||T.boxModel&&e.scrollTop||d.scrollTop)-A,b=c.left+(self.pageXOffset||T.boxModel&&e.scrollLeft||d.scrollLeft)-B;return{top:D,left:b}}}else{T.fn.offset=function(){if(!this[0]){return{top:0,left:0}}if(this[0]===this[0].ownerDocument.body){return T.offset.bodyOffset(this[0])}T.offset.initialized||T.offset.initialize();var c=this[0],f=c.offsetParent,g=c,A=c.ownerDocument,C,e=A.documentElement,b=A.body,D=A.defaultView,h=D.getComputedStyle(c,null),B=c.offsetTop,d=c.offsetLeft;while((c=c.parentNode)&&c!==b&&c!==e){C=D.getComputedStyle(c,null);B-=c.scrollTop,d-=c.scrollLeft;if(c===f){B+=c.offsetTop,d+=c.offsetLeft;if(T.offset.doesNotAddBorder&&!(T.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(c.tagName))){B+=parseInt(C.borderTopWidth,10)||0,d+=parseInt(C.borderLeftWidth,10)||0}g=f,f=c.offsetParent}if(T.offset.subtractsBorderForOverflowNotVisible&&C.overflow!=="visible"){B+=parseInt(C.borderTopWidth,10)||0,d+=parseInt(C.borderLeftWidth,10)||0}h=C}if(h.position==="relative"||h.position==="static"){B+=b.offsetTop,d+=b.offsetLeft}if(h.position==="fixed"){B+=Math.max(e.scrollTop,b.scrollTop),d+=Math.max(e.scrollLeft,b.scrollLeft)}return{top:B,left:d}}}T.offset={initialize:function(){if(this.initialized){return }var C=document.body,f=document.createElement("div"),d,e,A,c,B,g,b=C.style.marginTop,D='<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>';B={position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"};for(g in B){f.style[g]=B[g]}f.innerHTML=D;C.insertBefore(f,C.firstChild);d=f.firstChild,e=d.firstChild,c=d.nextSibling.firstChild.firstChild;this.doesNotAddBorder=(e.offsetTop!==5);this.doesAddBorderForTableAndCells=(c.offsetTop===5);d.style.overflow="hidden",d.style.position="relative";this.subtractsBorderForOverflowNotVisible=(e.offsetTop===-5);C.style.marginTop="1px";this.doesNotIncludeMarginInBodyOffset=(C.offsetTop===0);C.style.marginTop=b;C.removeChild(f);this.initialized=true},bodyOffset:function(C){T.offset.initialized||T.offset.initialize();var A=C.offsetTop,B=C.offsetLeft;if(T.offset.doesNotIncludeMarginInBodyOffset){A+=parseInt(T.curCSS(C,"marginTop",true),10)||0,B+=parseInt(T.curCSS(C,"marginLeft",true),10)||0}return{top:A,left:B}}};T.fn.extend({position:function(){var B=0,C=0,b;if(this[0]){var D=this.offsetParent(),A=this.offset(),c=/^body|html$/i.test(D[0].tagName)?{top:0,left:0}:D.offset();A.top-=Y(this,"marginTop");A.left-=Y(this,"marginLeft");c.top+=Y(D,"borderTopWidth");c.left+=Y(D,"borderLeftWidth");b={top:A.top-c.top,left:A.left-c.left}}return b},offsetParent:function(){var A=this[0].offsetParent||document.body;while(A&&(!/^body|html$/i.test(A.tagName)&&T.css(A,"position")=="static")){A=A.offsetParent}return T(A)}});T.each(["Left","Top"],function(B,C){var A="scroll"+C;T.fn[A]=function(D){if(!this[0]){return null}return D!==AB?this.each(function(){this==W||this==document?W.scrollTo(!B?D:T(W).scrollLeft(),B?D:T(W).scrollTop()):this[A]=D}):this[0]==W||this[0]==document?self[B?"pageYOffset":"pageXOffset"]||T.boxModel&&document.documentElement[A]||document.body[A]:this[0][A]}});T.each(["Height","Width"],function(B,D){var b=B?"Left":"Top",C=B?"Right":"Bottom";T.fn["inner"+D]=function(){return this[D.toLowerCase()]()+Y(this,"padding"+b)+Y(this,"padding"+C)};T.fn["outer"+D]=function(c){return this["inner"+D]()+Y(this,"border"+b+"Width")+Y(this,"border"+C+"Width")+(c?Y(this,"margin"+b)+Y(this,"margin"+C):0)};var A=D.toLowerCase();T.fn[A]=function(c){return this[0]==W?document.compatMode=="CSS1Compat"&&document.documentElement["client"+D]||document.body["client"+D]:this[0]==document?Math.max(document.documentElement["client"+D],document.body["scroll"+D],document.documentElement["scroll"+D],document.body["offset"+D],document.documentElement["offset"+D]):c===AB?(this.length?T.css(this[0],A):null):this.css(A,typeof c==="string"?c:c+"px")}})})();var a=1;$(function(){$("#projects_holder").cycle({fx:"scrollHorz",speed:"fast",timeout:0,next:"#next",prev:"#prev",before:onBefore}).css("width","580px");$("#titleClients").cycle({fx:"fade",speed:"slow",timeout:4000,before:onBeforeClient})});function onBefore(){if(a==1){$("#next, #prev").css("top",($("#projects_holder").height()-$("#next").height())/2).show();a++}}function onBeforeClient(){$("#titleClientsPaging a").removeClass("selected");$("#t"+$(this).attr("id")).addClass("selected")}function cycleImages(A){$("#titleClients").cycle(A-1)}function disableInput(A){obj=$("#"+A);if(!obj.attr("disabled")){obj.attr("disabled","disabled").val("")}else{obj.attr("disabled","").val("")}}function changeUploadForm(A){$("#"+A).attr("disabled",!$("#"+A).attr("disabled"))}function round(A,B){if(B==undefined||B==null){B=1}decimals=Math.pow(10,B);return Math.round(A*decimals)/decimals}function goToPage(A){window.location.href=A}$(document).ready(function(){$(".email").mailto();$("#phone").keydown(function(A){if(A.keyCode==46||A.keyCode==8||A.keyCode<15||(A.keyCode<106&&A.keyCode>95)||(A.keyCode>=48&&A.keyCode<=57)){}else{A.preventDefault()}});$(".external").attr("target","_blank")});(function(D){var E="Shockwave Flash",F="ShockwaveFlash.ShockwaveFlash",C="application/x-shockwave-flash";function B(G){return D(document.createElement(G))}function A(P,N){var Q;if(D.browser.msie){var O="",M="";for(var L in P){if(P[L]!=Object.prototype[L]){if(L.toLowerCase()=="data"){N.movie=P[L]}else{if(L.toLowerCase()!="classid"){O+=" "+L+'="'+P[L]+'"'}}}}for(var K in N){if(N[K]!=Object.prototype[K]){M+='<param name="'+K+'" value="'+N[K]+'" />'}}Q=D('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'+O+">"+M+"</object>")}else{if(D.browser.safari&&D.browser.version<312){var Q=B("embed").attr("type",C);for(var J in P){if(P[J]!=Object.prototype[J]){if(J.toLowerCase()=="data"){Q.attr("src",P[J])}else{if(J.toLowerCase()!="classid"){Q.attr(J,P[J])}}}}for(var I in N){if(N[I]!=Object.prototype[I]){if(I.toLowerCase()!="movie"){Q.attr(I,N[I])}}}}else{var Q=B("object").attr("type",C);for(var H in P){if(P[H]!=Object.prototype[H]){if(H.toLowerCase()!="classid"){Q.attr(H,P[H])}}}for(var G in N){if(N[G]!=Object.prototype[G]&&G.toLowerCase()!="movie"){Q.append(B("param").attr("name",G).attr("value",N[G]))}}}}return Q}D.flash=function(L,J){if(L&&J instanceof Object){var H={},K={};H.data=L;if(J.paremeters instanceof Object){for(var I in J.paremeters){if(J.paremeters[I]!=Object.prototype[I]){K[I]=J.paremeters[I]}}}if(J.flashvars instanceof Object){for(var G in J.flashvars){if(J.flashvars[G]!=Object.prototype[G]){if(K.flashvars!=undefined){K.flashvars+="&"+G+"="+J.flashvars[G]}else{K.flashvars=G+"="+J.flashvars[G]}}}}return A(H,K)}else{return undefined}};D.fn.flash=function(I,G){var H=D.flash(I,G);if(H instanceof D){if(G.width){H.attr("width",G.width)}if(G.height){H.attr("height",G.height)}return this.replaceWith(H)}else{return this}}}(jQuery));(function(A){A.fn.lightBox=function(P){P=jQuery.extend({overlayBgColor:"#00519e",overlayOpacity:0.9,imageLoading:"public/images/lightbox/ico-loading.gif",imageBtnPrev:"public/images/lightbox/btn-prev.gif",imageBtnNext:"public/images/lightbox/btn-next.gif",imageBtnClose:"public/images/lightbox/btn-close.gif",imageBlank:"public/images/lightbox/blank.gif",containerBorderSize:10,containerResizeSpeed:400,txtImage:"Image",txtOf:"of",keyToClose:"c",keyToPrev:"p",keyToNext:"n",showNavigation:true,imageArray:[],activeImage:0},P);var I=this;function R(){O(this,I);return false}function O(V,U){A("embed, object, select").css({visibility:"hidden"});C();P.imageArray.length=0;P.activeImage=0;if(U.length==1){P.imageArray.push(new Array(V.getAttribute("href"),V.getAttribute("title")))}else{for(var T=0;T<U.length;T++){P.imageArray.push(new Array(U[T].getAttribute("href"),U[T].getAttribute("title")))}}while(P.imageArray[P.activeImage][0]!=V.getAttribute("href")){P.activeImage++}L()}function C(){A("body").append('<div id="jquery-overlay"></div><div id="jquery-lightbox"><div id="lightbox-container-image-box"><div id="lightbox-container-image"><img id="lightbox-image"><div style="" id="lightbox-nav"><a href="#" id="lightbox-nav-btnPrev"></a><a href="#" id="lightbox-nav-btnNext"></a></div><div id="lightbox-loading"><a href="#" id="lightbox-loading-link"><img src="'+P.imageLoading+'"></a></div></div></div><div id="lightbox-container-image-data-box"><div id="lightbox-container-image-data"><div id="lightbox-image-details"><span id="lightbox-image-details-caption"></span><span id="lightbox-image-details-currentNumber"></span></div><div id="lightbox-secNav"><a href="#" id="lightbox-secNav-btnClose"><img src="'+P.imageBtnClose+'"></a></div></div></div></div>');var T=F();A("#jquery-overlay").css({backgroundColor:P.overlayBgColor,opacity:P.overlayOpacity,width:T[0],height:T[1]+140}).fadeIn();var U=H();A("#jquery-lightbox").css({top:U[1]+(T[3]/10),left:U[0]}).show();A("#jquery-overlay,#jquery-lightbox").click(function(){B()});A("#lightbox-loading-link,#lightbox-secNav-btnClose").click(function(){B();return false});A(window).resize(function(){var V=F();A("#jquery-overlay").css({width:V[0],height:V[1]});var W=H();A("#jquery-lightbox").css({top:W[1]+(V[3]/10),left:W[0]})})}function L(){A("#lightbox-loading").show();A("#lightbox-image,#lightbox-nav,#lightbox-nav-btnPrev,#lightbox-nav-btnNext,#lightbox-container-image-data-box,#lightbox-image-details-currentNumber").hide();var T=new Image();T.onload=function(){A("#lightbox-image").attr("src",P.imageArray[P.activeImage][0]);J(T.width,T.height);T.onload=function(){}};T.src=P.imageArray[P.activeImage][0]}function J(W,Z){var T=A("#lightbox-container-image-box").width();var Y=A("#lightbox-container-image-box").height();var X=(W+(P.containerBorderSize*2));var V=(Z+(P.containerBorderSize*2));var U=T-X;var b=Y-V;A("#lightbox-container-image-box").animate({width:X,height:V},P.containerResizeSpeed,function(){G()});if((U==0)&&(b==0)){if(A.browser.msie){N(250)}else{N(100)}}A("#lightbox-nav-btnPrev,#lightbox-nav-btnNext").css({height:Z+(P.containerBorderSize*2)});A("#lightbox-container-image-data-box").css({width:W})}function G(){A("#lightbox-loading").hide();A("#lightbox-image").fadeIn(function(){K();if(P.showNavigation){S()}});Q()}function K(){A("#lightbox-container-image-data-box").slideDown("fast");A("#lightbox-image-details-caption").hide();if(P.imageArray[P.activeImage][1]){A("#lightbox-image-details-caption").html(P.imageArray[P.activeImage][1]).show()}if(P.imageArray.length>1){A("#lightbox-image-details-currentNumber").html(P.txtImage+" "+(P.activeImage+1)+" "+P.txtOf+" "+P.imageArray.length).show()}}function S(){A("#lightbox-nav").show();A("#lightbox-nav-btnPrev,#lightbox-nav-btnNext").css({background:"transparent url("+P.imageBlank+") no-repeat"});if(P.activeImage!=0){A("#lightbox-nav-btnPrev").unbind().hover(function(){A(this).css({background:"url("+P.imageBtnPrev+") left 15% no-repeat"})},function(){A(this).css({background:"transparent url("+P.imageBlank+") no-repeat"})}).show().bind("click",function(){P.activeImage=P.activeImage-1;L();return false})}if(P.activeImage!=(P.imageArray.length-1)){A("#lightbox-nav-btnNext").unbind().hover(function(){A(this).css({background:"url("+P.imageBtnNext+") right 15% no-repeat"})},function(){A(this).css({background:"transparent url("+P.imageBlank+") no-repeat"})}).show().bind("click",function(){P.activeImage=P.activeImage+1;L();return false})}M()}function M(){A(document).keydown(function(T){D(T)})}function E(){A(document).unbind()}function D(T){if(T==null){keycode=event.keyCode;escapeKey=27}else{keycode=T.keyCode;escapeKey=T.DOM_VK_ESCAPE}key=String.fromCharCode(keycode).toLowerCase();if((key==P.keyToClose)||(key=="x")||(keycode==escapeKey)){B()}if((key==P.keyToPrev)||(keycode==37)){if(P.activeImage!=0){P.activeImage=P.activeImage-1;L();E()}}if((key==P.keyToNext)||(keycode==39)){if(P.activeImage!=(P.imageArray.length-1)){P.activeImage=P.activeImage+1;L();E()}}}function Q(){if((P.imageArray.length-1)>P.activeImage){objNext=new Image();objNext.src=P.imageArray[P.activeImage+1][0]}if(P.activeImage>0){objPrev=new Image();objPrev.src=P.imageArray[P.activeImage-1][0]}}function B(){A("#jquery-lightbox").remove();A("#jquery-overlay").fadeOut(function(){A("#jquery-overlay").remove()});A("embed, object, select").css({visibility:"visible"})}function F(){var V,T;if(window.innerHeight&&window.scrollMaxY){V=window.innerWidth+window.scrollMaxX;T=window.innerHeight+window.scrollMaxY}else{if(document.body.scrollHeight>document.body.offsetHeight){V=document.body.scrollWidth;T=document.body.scrollHeight}else{V=document.body.offsetWidth;T=document.body.offsetHeight}}var U,W;if(self.innerHeight){if(document.documentElement.clientWidth){U=document.documentElement.clientWidth}else{U=self.innerWidth}W=self.innerHeight}else{if(document.documentElement&&document.documentElement.clientHeight){U=document.documentElement.clientWidth;W=document.documentElement.clientHeight}else{if(document.body){U=document.body.clientWidth;W=document.body.clientHeight}}}if(T<W){pageHeight=W}else{pageHeight=T}if(V<U){pageWidth=V}else{pageWidth=U}arrayPageSize=new Array(pageWidth,pageHeight,U,W);return arrayPageSize}function H(){var U,T;if(self.pageYOffset){T=self.pageYOffset;U=self.pageXOffset}else{if(document.documentElement&&document.documentElement.scrollTop){T=document.documentElement.scrollTop;U=document.documentElement.scrollLeft}else{if(document.body){T=document.body.scrollTop;U=document.body.scrollLeft}}}arrayPageScroll=new Array(U,T);return arrayPageScroll}function N(V){var U=new Date();T=null;do{var T=new Date()}while(T-U<V)}return this.unbind("click").click(R)}})(jQuery);$.fn.defaultinput=function(A){return this.each(function(){$(this).val($(this).val()==""?A:$(this).val()).bind("focus blur",function(){if($(this).val()==""){value=A}else{if($(this).val()==A){value=""}else{value=$(this).val()}}$(this).val(value)})})};(function(C){var A=C.scrollTo=function(F,E,D){C(window).scrollTo(F,E,D)};A.defaults={axis:"y",duration:1};A.window=function(D){return C(window).scrollable()};C.fn.scrollable=function(){return this.map(function(){var G=this.parentWindow||this.defaultView,E=this.nodeName=="#document"?G.frameElement||G:this,F=E.contentDocument||(E.contentWindow||E).document,D=E.setInterval;return E.nodeName=="IFRAME"||D&&C.browser.safari?F.body:D?F.documentElement:this})};C.fn.scrollTo=function(F,E,D){if(typeof E=="object"){D=E;E=0}if(typeof D=="function"){D={onAfter:D}}D=C.extend({},A.defaults,D);E=E||D.speed||D.duration;D.queue=D.queue&&D.axis.length>1;if(D.queue){E/=2}D.offset=B(D.offset);D.over=B(D.over);return this.scrollable().each(function(){var M=this,K=C(M),L=F,J,H={},N=K.is("html,body");switch(typeof L){case"number":case"string":if(/^([+-]=)?\d+(px)?$/.test(L)){L=B(L);break}L=C(L,this);case"object":if(L.is||L.style){J=(L=C(L)).offset()}}C.each(D.axis.split(""),function(R,S){var T=S=="x"?"Left":"Top",V=T.toLowerCase(),Q="scroll"+T,O=M[Q],P=S=="x"?"Width":"Height",U=P.toLowerCase();if(J){H[Q]=J[V]+(N?0:O-K.offset()[V]);if(D.margin){H[Q]-=parseInt(L.css("margin"+T))||0;H[Q]-=parseInt(L.css("border"+T+"Width"))||0}H[Q]+=D.offset[V]||0;if(D.over[V]){H[Q]+=L[U]()*D.over[V]}}else{H[Q]=L[V]}if(/^\d+$/.test(H[Q])){H[Q]=H[Q]<=0?0:Math.min(H[Q],G(P))}if(!R&&D.queue){if(O!=H[Q]){I(D.onAfterFirst)}delete H[Q]}});I(D.onAfter);function I(O){K.animate(H,E,D.easing,O&&function(){O.call(this,F,D)})}function G(P){var O="scroll"+P,Q=M.ownerDocument;return N?Math.max(Q.documentElement[O],Q.body[O]):M[O]}}).end()};function B(D){return typeof D=="object"?D:{top:D,left:D}}})(jQuery);(function(H){var K="2.65";if(H.support==undefined){H.support={opacity:!(H.browser.msie)}}function E(){if(window.console&&window.console.log){window.console.log("[cycle] "+Array.prototype.join.call(arguments," "))}}H.fn.cycle=function(P,O){var Q={s:this.selector,c:this.context};if(this.length==0&&P!="stop"){if(!H.isReady&&Q.s){E("DOM not ready, queuing slideshow");H(function(){H(Q.s,Q.c).cycle(P,O)});return this}E("terminating; zero elements found by selector"+(H.isReady?"":" (DOM not ready)"));return this}return this.each(function(){P=L(this,P,O);if(P===false){return }if(this.cycleTimeout){clearTimeout(this.cycleTimeout)}this.cycleTimeout=this.cyclePause=0;var T=H(this);var U=P.slideExpr?H(P.slideExpr,this):T.children();var R=U.get();if(R.length<2){E("terminating; too few slides: "+R.length);return }var S=J(T,U,R,P,Q);if(S===false){return }if(S.timeout||S.continuous){this.cycleTimeout=setTimeout(function(){D(R,S,0,!S.rev)},S.continuous?10:S.timeout+(S.delay||0))}})};function L(O,R,P){if(O.cycleStop==undefined){O.cycleStop=0}if(R===undefined||R===null){R={}}if(R.constructor==String){switch(R){case"stop":O.cycleStop++;if(O.cycleTimeout){clearTimeout(O.cycleTimeout)}O.cycleTimeout=0;H(O).removeData("cycle.opts");return false;case"pause":O.cyclePause=1;return false;case"resume":O.cyclePause=0;if(P===true){R=H(O).data("cycle.opts");if(!R){E("options not found, can not resume");return false}if(O.cycleTimeout){clearTimeout(O.cycleTimeout);O.cycleTimeout=0}D(R.elements,R,1,1)}return false;default:R={fx:R}}}else{if(R.constructor==Number){var Q=R;R=H(O).data("cycle.opts");if(!R){E("options not found, can not advance slide");return false}if(Q<0||Q>=R.elements.length){E("invalid slide index: "+Q);return false}R.nextSlide=Q;if(O.cycleTimeout){clearTimeout(O.cycleTimeout);O.cycleTimeout=0}if(typeof P=="string"){R.oneTimeFx=P}D(R.elements,R,1,Q>=R.currSlide);return false}}return R}function A(O,P){if(!H.support.opacity&&P.cleartype&&O.style.filter){try{O.style.removeAttribute("filter")}catch(Q){}}}function J(V,j,S,R,c){var Z=H.extend({},H.fn.cycle.defaults,R||{},H.metadata?V.metadata():H.meta?V.data():{});if(Z.autostop){Z.countdown=Z.autostopCount||S.length}var P=V[0];V.data("cycle.opts",Z);Z.$cont=V;Z.stopCount=P.cycleStop;Z.elements=S;Z.before=Z.before?[Z.before]:[];Z.after=Z.after?[Z.after]:[];Z.after.unshift(function(){Z.busy=0});if(!H.support.opacity&&Z.cleartype){Z.after.push(function(){A(this,Z)})}if(Z.continuous){Z.after.push(function(){D(S,Z,0,!Z.rev)})}M(Z);if(!H.support.opacity&&Z.cleartype&&!Z.cleartypeNoBg){F(j)}if(V.css("position")=="static"){V.css("position","relative")}if(Z.width){V.width(Z.width)}if(Z.height&&Z.height!="auto"){V.height(Z.height)}if(Z.startingSlide){Z.startingSlide=parseInt(Z.startingSlide)}if(Z.random){Z.randomMap=[];for(var f=0;f<S.length;f++){Z.randomMap.push(f)}Z.randomMap.sort(function(h,e){return Math.random()-0.5});Z.randomIndex=0;Z.startingSlide=Z.randomMap[0]}else{if(Z.startingSlide>=S.length){Z.startingSlide=0}}Z.currSlide=Z.startingSlide=Z.startingSlide||0;var U=Z.startingSlide;j.css({position:"absolute",top:0,left:0}).hide().each(function(e){var h=U?e>=U?S.length-(e-U):U-e:S.length-e;H(this).css("z-index",h)});H(S[U]).css("opacity",1).show();A(S[U],Z);if(Z.fit&&Z.width){j.width(Z.width)}if(Z.fit&&Z.height&&Z.height!="auto"){j.height(Z.height)}var b=Z.containerResize&&!V.innerHeight();if(b){var T=0,Y=0;for(var f=0;f<S.length;f++){var O=H(S[f]),k=O[0],X=O.outerWidth(),g=O.outerHeight();if(!X){X=k.offsetWidth}if(!g){g=k.offsetHeight}T=X>T?X:T;Y=g>Y?g:Y}if(T>0&&Y>0){V.css({width:T+"px",height:Y+"px"})}}if(Z.pause){V.hover(function(){this.cyclePause++},function(){this.cyclePause--})}if(B(Z)===false){return false}if(!Z.multiFx){var d=H.fn.cycle.transitions[Z.fx];if(H.isFunction(d)){d(V,j,Z)}else{if(Z.fx!="custom"&&!Z.multiFx){E("unknown transition: "+Z.fx,"; slideshow terminating");return false}}}var Q=false;R.requeueAttempts=R.requeueAttempts||0;j.each(function(){var l=H(this);this.cycleH=(Z.fit&&Z.height)?Z.height:l.height();this.cycleW=(Z.fit&&Z.width)?Z.width:l.width();if(l.is("img")){var h=(H.browser.msie&&this.cycleW==28&&this.cycleH==30&&!this.complete);var i=(H.browser.opera&&this.cycleW==42&&this.cycleH==19&&!this.complete);var e=(this.cycleH==0&&this.cycleW==0&&!this.complete);if(h||i||e){if(c.s&&Z.requeueOnImageNotLoaded&&++R.requeueAttempts<100){E(R.requeueAttempts," - img slide not loaded, requeuing slideshow: ",this.src,this.cycleW,this.cycleH);setTimeout(function(){H(c.s,c.c).cycle(R)},Z.requeueTimeout);Q=true;return false}else{E("could not determine size of image: "+this.src,this.cycleW,this.cycleH)}}}return true});if(Q){return false}Z.cssBefore=Z.cssBefore||{};Z.animIn=Z.animIn||{};Z.animOut=Z.animOut||{};j.not(":eq("+U+")").css(Z.cssBefore);if(Z.cssFirst){H(j[U]).css(Z.cssFirst)}if(Z.timeout){Z.timeout=parseInt(Z.timeout);if(Z.speed.constructor==String){Z.speed=H.fx.speeds[Z.speed]||parseInt(Z.speed)}if(!Z.sync){Z.speed=Z.speed/2}while((Z.timeout-Z.speed)<250){Z.timeout+=Z.speed}}if(Z.easing){Z.easeIn=Z.easeOut=Z.easing}if(!Z.speedIn){Z.speedIn=Z.speed}if(!Z.speedOut){Z.speedOut=Z.speed}Z.slideCount=S.length;Z.currSlide=Z.lastSlide=U;if(Z.random){Z.nextSlide=Z.currSlide;if(++Z.randomIndex==S.length){Z.randomIndex=0}Z.nextSlide=Z.randomMap[Z.randomIndex]}else{Z.nextSlide=Z.startingSlide>=(S.length-1)?0:Z.startingSlide+1}var W=j[U];if(Z.before.length){Z.before[0].apply(W,[W,W,Z,true])}if(Z.after.length>1){Z.after[1].apply(W,[W,W,Z,true])}if(Z.next){H(Z.next).click(function(){return N(Z,Z.rev?-1:1)})}if(Z.prev){H(Z.prev).click(function(){return N(Z,Z.rev?1:-1)})}if(Z.pager){C(S,Z)}I(Z,S);return Z}function M(O){O.original={before:[],after:[]};O.original.cssBefore=H.extend({},O.cssBefore);O.original.cssAfter=H.extend({},O.cssAfter);O.original.animIn=H.extend({},O.animIn);O.original.animOut=H.extend({},O.animOut);H.each(O.before,function(){O.original.before.push(this)});H.each(O.after,function(){O.original.after.push(this)})}function B(U){var Q=H.fn.cycle.transitions;if(U.fx.indexOf(",")>0){U.multiFx=true;U.fxs=U.fx.replace(/\s*/g,"").split(",");for(var S=0;S<U.fxs.length;S++){var T=U.fxs[S];var P=Q[T];if(!P||!Q.hasOwnProperty(T)||!H.isFunction(P)){E("discarding unknown transition: ",T);U.fxs.splice(S,1);S--}}if(!U.fxs.length){E("No valid transitions named; slideshow terminating.");return false}}else{if(U.fx=="all"){U.multiFx=true;U.fxs=[];for(p in Q){var P=Q[p];if(Q.hasOwnProperty(p)&&H.isFunction(P)){U.fxs.push(p)}}}}if(U.multiFx&&U.randomizeEffects){var R=Math.floor(Math.random()*20)+30;for(var S=0;S<R;S++){var O=Math.floor(Math.random()*U.fxs.length);U.fxs.push(U.fxs.splice(O,1)[0])}E("randomized fx sequence: ",U.fxs)}return true}function I(P,O){P.addSlide=function(R,S){var Q=H(R),T=Q[0];if(!P.autostopCount){P.countdown++}O[S?"unshift":"push"](T);if(P.els){P.els[S?"unshift":"push"](T)}P.slideCount=O.length;Q.css("position","absolute");Q[S?"prependTo":"appendTo"](P.$cont);if(S){P.currSlide++;P.nextSlide++}if(!H.support.opacity&&P.cleartype&&!P.cleartypeNoBg){F(Q)}if(P.fit&&P.width){Q.width(P.width)}if(P.fit&&P.height&&P.height!="auto"){$slides.height(P.height)}T.cycleH=(P.fit&&P.height)?P.height:Q.height();T.cycleW=(P.fit&&P.width)?P.width:Q.width();Q.css(P.cssBefore);if(P.pager){H.fn.cycle.createPagerAnchor(O.length-1,T,H(P.pager),O,P)}if(H.isFunction(P.onAddSlide)){P.onAddSlide(Q)}else{Q.hide()}}}H.fn.cycle.resetState=function(P,O){O=O||P.fx;P.before=[];P.after=[];P.cssBefore=H.extend({},P.original.cssBefore);P.cssAfter=H.extend({},P.original.cssAfter);P.animIn=H.extend({},P.original.animIn);P.animOut=H.extend({},P.original.animOut);P.fxFn=null;H.each(P.original.before,function(){P.before.push(this)});H.each(P.original.after,function(){P.after.push(this)});var Q=H.fn.cycle.transitions[O];if(H.isFunction(Q)){Q(P.$cont,H(P.elements),P)}};function D(V,O,U,W){if(U&&O.busy&&O.manualTrump){H(V).stop(true,true);O.busy=false}if(O.busy){return }var S=O.$cont[0],Y=V[O.currSlide],X=V[O.nextSlide];if(S.cycleStop!=O.stopCount||S.cycleTimeout===0&&!U){return }if(!U&&!S.cyclePause&&((O.autostop&&(--O.countdown<=0))||(O.nowrap&&!O.random&&O.nextSlide<O.currSlide))){if(O.end){O.end(O)}return }if(U||!S.cyclePause){var T=O.fx;Y.cycleH=Y.cycleH||H(Y).height();Y.cycleW=Y.cycleW||H(Y).width();X.cycleH=X.cycleH||H(X).height();X.cycleW=X.cycleW||H(X).width();if(O.multiFx){if(O.lastFx==undefined||++O.lastFx>=O.fxs.length){O.lastFx=0}T=O.fxs[O.lastFx];O.currFx=T}if(O.oneTimeFx){T=O.oneTimeFx;O.oneTimeFx=null}H.fn.cycle.resetState(O,T);if(O.before.length){H.each(O.before,function(Z,b){if(S.cycleStop!=O.stopCount){return }b.apply(X,[Y,X,O,W])})}var Q=function(){H.each(O.after,function(Z,b){if(S.cycleStop!=O.stopCount){return }b.apply(X,[Y,X,O,W])})};if(O.nextSlide!=O.currSlide){O.busy=1;if(O.fxFn){O.fxFn(Y,X,O,Q,W)}else{if(H.isFunction(H.fn.cycle[O.fx])){H.fn.cycle[O.fx](Y,X,O,Q)}else{H.fn.cycle.custom(Y,X,O,Q,U&&O.fastOnEvent)}}}O.lastSlide=O.currSlide;if(O.random){O.currSlide=O.nextSlide;if(++O.randomIndex==V.length){O.randomIndex=0}O.nextSlide=O.randomMap[O.randomIndex]}else{var R=(O.nextSlide+1)==V.length;O.nextSlide=R?0:O.nextSlide+1;O.currSlide=R?V.length-1:O.nextSlide-1}if(O.pager){H.fn.cycle.updateActivePagerLink(O.pager,O.currSlide)}}var P=0;if(O.timeout&&!O.continuous){P=G(Y,X,O,W)}else{if(O.continuous&&S.cyclePause){P=10}}if(P>0){S.cycleTimeout=setTimeout(function(){D(V,O,0,!O.rev)},P)}}H.fn.cycle.updateActivePagerLink=function(O,P){H(O).find("a").removeClass("activeSlide").filter("a:eq("+P+")").addClass("activeSlide")};function G(S,Q,R,P){if(R.timeoutFn){var O=R.timeoutFn(S,Q,R,P);if(O!==false){return O}}return R.timeout}H.fn.cycle.next=function(O){N(O,O.rev?-1:1)};H.fn.cycle.prev=function(O){N(O,O.rev?1:-1)};function N(P,S){var O=P.elements;var R=P.$cont[0],Q=R.cycleTimeout;if(Q){clearTimeout(Q);R.cycleTimeout=0}if(P.random&&S<0){P.randomIndex--;if(--P.randomIndex==-2){P.randomIndex=O.length-2}else{if(P.randomIndex==-1){P.randomIndex=O.length-1}}P.nextSlide=P.randomMap[P.randomIndex]}else{if(P.random){if(++P.randomIndex==O.length){P.randomIndex=0}P.nextSlide=P.randomMap[P.randomIndex]}else{P.nextSlide=P.currSlide+S;if(P.nextSlide<0){if(P.nowrap){return false}P.nextSlide=O.length-1}else{if(P.nextSlide>=O.length){if(P.nowrap){return false}P.nextSlide=0}}}}if(H.isFunction(P.prevNextClick)){P.prevNextClick(S>0,P.nextSlide,O[P.nextSlide])}D(O,P,1,S>=0);return false}function C(P,Q){var O=H(Q.pager);H.each(P,function(R,S){H.fn.cycle.createPagerAnchor(R,S,O,P,Q)});H.fn.cycle.updateActivePagerLink(Q.pager,Q.startingSlide)}H.fn.cycle.createPagerAnchor=function(S,T,Q,R,U){var P=(H.isFunction(U.pagerAnchorBuilder))?U.pagerAnchorBuilder(S,T):'<a href="#">'+(S+1)+"</a>";if(!P){return }var V=H(P);if(V.parents("body").length==0){var O=[];if(Q.length>1){Q.each(function(){var W=V.clone(true);H(this).append(W);O.push(W)});V=H(O)}else{V.appendTo(Q)}}V.bind(U.pagerEvent,function(){U.nextSlide=S;var X=U.$cont[0],W=X.cycleTimeout;if(W){clearTimeout(W);X.cycleTimeout=0}if(H.isFunction(U.pagerClick)){U.pagerClick(U.nextSlide,R[U.nextSlide])}D(R,U,1,U.currSlide<S);return false});if(U.pauseOnPagerHover){V.hover(function(){U.$cont[0].cyclePause++},function(){U.$cont[0].cyclePause--})}};H.fn.cycle.hopsFromLast=function(R,Q){var P,O=R.lastSlide,S=R.currSlide;if(Q){P=S>O?S-O:R.slideCount-O}else{P=S<O?O-S:O+R.slideCount-S}return P};function F(Q){function P(R){R=parseInt(R).toString(16);return R.length<2?"0"+R:R}function O(T){for(;T&&T.nodeName.toLowerCase()!="html";T=T.parentNode){var R=H.css(T,"background-color");if(R.indexOf("rgb")>=0){var S=R.match(/\d+/g);return"#"+P(S[0])+P(S[1])+P(S[2])}if(R&&R!="transparent"){return R}}return"#ffffff"}Q.each(function(){H(this).css("background-color",O(this))})}H.fn.cycle.commonReset=function(T,R,S,P,Q,O){H(S.elements).not(T).hide();S.cssBefore.opacity=1;S.cssBefore.display="block";if(P!==false&&R.cycleW>0){S.cssBefore.width=R.cycleW}if(Q!==false&&R.cycleH>0){S.cssBefore.height=R.cycleH}S.cssAfter=S.cssAfter||{};S.cssAfter.display="none";H(T).css("zIndex",S.slideCount+(O===true?1:0));H(R).css("zIndex",S.slideCount+(O===true?0:1))};H.fn.cycle.custom=function(Z,T,O,Q,P){var Y=H(Z),U=H(T);var R=O.speedIn,X=O.speedOut,S=O.easeIn,W=O.easeOut;U.css(O.cssBefore);if(P){if(typeof P=="number"){R=X=P}else{R=X=1}S=W=null}var V=function(){U.animate(O.animIn,R,S,Q)};Y.animate(O.animOut,X,W,function(){if(O.cssAfter){Y.css(O.cssAfter)}if(!O.sync){V()}});if(O.sync){V()}};H.fn.cycle.transitions={fade:function(P,Q,O){Q.not(":eq("+O.currSlide+")").css("opacity",0);O.before.push(function(T,R,S){H.fn.cycle.commonReset(T,R,S);S.cssBefore.opacity=0});O.animIn={opacity:1};O.animOut={opacity:0};O.cssBefore={top:0,left:0}}};H.fn.cycle.ver=function(){return K};H.fn.cycle.defaults={fx:"fade",timeout:4000,timeoutFn:null,continuous:0,speed:1000,speedIn:null,speedOut:null,next:null,prev:null,prevNextClick:null,pager:null,pagerClick:null,pagerEvent:"click",pagerAnchorBuilder:null,before:null,after:null,end:null,easing:null,easeIn:null,easeOut:null,shuffle:null,animIn:null,animOut:null,cssBefore:null,cssAfter:null,fxFn:null,height:"auto",startingSlide:0,sync:1,random:0,fit:0,containerResize:1,pause:0,pauseOnPagerHover:0,autostop:0,autostopCount:0,delay:0,slideExpr:null,cleartype:!H.support.opacity,nowrap:0,fastOnEvent:0,randomizeEffects:1,rev:0,manualTrump:true,requeueOnImageNotLoaded:true,requeueTimeout:250}})(jQuery);(function(A){A.fn.cycle.transitions.scrollUp=function(D,E,C){D.css("overflow","hidden");C.before.push(A.fn.cycle.commonReset);var B=D.height();C.cssBefore={top:B,left:0};C.cssFirst={top:0};C.animIn={top:0};C.animOut={top:-B}};A.fn.cycle.transitions.scrollDown=function(D,E,C){D.css("overflow","hidden");C.before.push(A.fn.cycle.commonReset);var B=D.height();C.cssFirst={top:0};C.cssBefore={top:-B,left:0};C.animIn={top:0};C.animOut={top:B}};A.fn.cycle.transitions.scrollLeft=function(D,E,C){D.css("overflow","hidden");C.before.push(A.fn.cycle.commonReset);var B=D.width();C.cssFirst={left:0};C.cssBefore={left:B,top:0};C.animIn={left:0};C.animOut={left:0-B}};A.fn.cycle.transitions.scrollRight=function(D,E,C){D.css("overflow","hidden");C.before.push(A.fn.cycle.commonReset);var B=D.width();C.cssFirst={left:0};C.cssBefore={left:-B,top:0};C.animIn={left:0};C.animOut={left:B}};A.fn.cycle.transitions.scrollHorz=function(C,D,B){C.css("overflow","hidden").width();B.before.push(function(H,F,G,E){A.fn.cycle.commonReset(H,F,G);G.cssBefore.left=E?(F.cycleW-1):(1-F.cycleW);G.animOut.left=E?-H.cycleW:H.cycleW});B.cssFirst={left:0};B.cssBefore={top:0};B.animIn={left:0};B.animOut={top:0}};A.fn.cycle.transitions.scrollVert=function(C,D,B){C.css("overflow","hidden");B.before.push(function(H,F,G,E){A.fn.cycle.commonReset(H,F,G);G.cssBefore.top=E?(1-F.cycleH):(F.cycleH-1);G.animOut.top=E?H.cycleH:-H.cycleH});B.cssFirst={top:0};B.cssBefore={left:0};B.animIn={top:0};B.animOut={left:0}};A.fn.cycle.transitions.slideX=function(C,D,B){B.before.push(function(G,E,F){A(F.elements).not(G).hide();A.fn.cycle.commonReset(G,E,F,false,true);F.animIn.width=E.cycleW});B.cssBefore={left:0,top:0,width:0};B.animIn={width:"show"};B.animOut={width:0}};A.fn.cycle.transitions.slideY=function(C,D,B){B.before.push(function(G,E,F){A(F.elements).not(G).hide();A.fn.cycle.commonReset(G,E,F,true,false);F.animIn.height=E.cycleH});B.cssBefore={left:0,top:0,height:0};B.animIn={height:"show"};B.animOut={height:0}};A.fn.cycle.transitions.shuffle=function(E,F,D){var B=E.css("overflow","visible").width();F.css({left:0,top:0});D.before.push(function(I,G,H){A.fn.cycle.commonReset(I,G,H,true,true,true)});D.speed=D.speed/2;D.random=0;D.shuffle=D.shuffle||{left:-B,top:15};D.els=[];for(var C=0;C<F.length;C++){D.els.push(F[C])}for(var C=0;C<D.currSlide;C++){D.els.push(D.els.shift())}D.fxFn=function(M,J,L,G,I){var H=I?A(M):A(J);A(J).css(L.cssBefore);var K=L.slideCount;H.animate(L.shuffle,L.speedIn,L.easeIn,function(){var O=A.fn.cycle.hopsFromLast(L,I);for(var P=0;P<O;P++){I?L.els.push(L.els.shift()):L.els.unshift(L.els.pop())}if(I){for(var Q=0,N=L.els.length;Q<N;Q++){A(L.els[Q]).css("z-index",N-Q+K)}}else{var R=A(M).css("z-index");H.css("z-index",parseInt(R)+1+K)}H.animate({left:0,top:0},L.speedOut,L.easeOut,function(){A(I?this:M).hide();if(G){G()}})})};D.cssBefore={display:"block",opacity:1,top:0,left:0}};A.fn.cycle.transitions.turnUp=function(C,D,B){B.before.push(function(G,E,F){A.fn.cycle.commonReset(G,E,F,true,false);F.cssBefore.top=E.cycleH;F.animIn.height=E.cycleH});B.cssFirst={top:0};B.cssBefore={left:0,height:0};B.animIn={top:0};B.animOut={height:0}};A.fn.cycle.transitions.turnDown=function(C,D,B){B.before.push(function(G,E,F){A.fn.cycle.commonReset(G,E,F,true,false);F.animIn.height=E.cycleH;F.animOut.top=G.cycleH});B.cssFirst={top:0};B.cssBefore={left:0,top:0,height:0};B.animOut={height:0}};A.fn.cycle.transitions.turnLeft=function(C,D,B){B.before.push(function(G,E,F){A.fn.cycle.commonReset(G,E,F,false,true);F.cssBefore.left=E.cycleW;F.animIn.width=E.cycleW});B.cssBefore={top:0,width:0};B.animIn={left:0};B.animOut={width:0}};A.fn.cycle.transitions.turnRight=function(C,D,B){B.before.push(function(G,E,F){A.fn.cycle.commonReset(G,E,F,false,true);F.animIn.width=E.cycleW;F.animOut.left=G.cycleW});B.cssBefore={top:0,left:0,width:0};B.animIn={left:0};B.animOut={width:0}};A.fn.cycle.transitions.zoom=function(C,D,B){B.before.push(function(G,E,F){A.fn.cycle.commonReset(G,E,F,false,false,true);F.cssBefore.top=E.cycleH/2;F.cssBefore.left=E.cycleW/2;F.animIn={top:0,left:0,width:E.cycleW,height:E.cycleH};F.animOut={width:0,height:0,top:G.cycleH/2,left:G.cycleW/2}});B.cssFirst={top:0,left:0};B.cssBefore={width:0,height:0}};A.fn.cycle.transitions.fadeZoom=function(C,D,B){B.before.push(function(G,E,F){A.fn.cycle.commonReset(G,E,F,false,false);F.cssBefore.left=E.cycleW/2;F.cssBefore.top=E.cycleH/2;F.animIn={top:0,left:0,width:E.cycleW,height:E.cycleH}});B.cssBefore={width:0,height:0};B.animOut={opacity:0}};A.fn.cycle.transitions.blindX=function(D,E,C){var B=D.css("overflow","hidden").width();C.before.push(function(H,F,G){A.fn.cycle.commonReset(H,F,G);G.animIn.width=F.cycleW;G.animOut.left=H.cycleW});C.cssBefore={left:B,top:0};C.animIn={left:0};C.animOut={left:B}};A.fn.cycle.transitions.blindY=function(D,E,C){var B=D.css("overflow","hidden").height();C.before.push(function(H,F,G){A.fn.cycle.commonReset(H,F,G);G.animIn.height=F.cycleH;G.animOut.top=H.cycleH});C.cssBefore={top:B,left:0};C.animIn={top:0};C.animOut={top:B}};A.fn.cycle.transitions.blindZ=function(E,F,D){var C=E.css("overflow","hidden").height();var B=E.width();D.before.push(function(I,G,H){A.fn.cycle.commonReset(I,G,H);H.animIn.height=G.cycleH;H.animOut.top=I.cycleH});D.cssBefore={top:C,left:B};D.animIn={top:0,left:0};D.animOut={top:C,left:B}};A.fn.cycle.transitions.growX=function(C,D,B){B.before.push(function(G,E,F){A.fn.cycle.commonReset(G,E,F,false,true);F.cssBefore.left=this.cycleW/2;F.animIn={left:0,width:this.cycleW};F.animOut={left:0}});B.cssBefore={width:0,top:0}};A.fn.cycle.transitions.growY=function(C,D,B){B.before.push(function(G,E,F){A.fn.cycle.commonReset(G,E,F,true,false);F.cssBefore.top=this.cycleH/2;F.animIn={top:0,height:this.cycleH};F.animOut={top:0}});B.cssBefore={height:0,left:0}};A.fn.cycle.transitions.curtainX=function(C,D,B){B.before.push(function(G,E,F){A.fn.cycle.commonReset(G,E,F,false,true,true);F.cssBefore.left=E.cycleW/2;F.animIn={left:0,width:this.cycleW};F.animOut={left:G.cycleW/2,width:0}});B.cssBefore={top:0,width:0}};A.fn.cycle.transitions.curtainY=function(C,D,B){B.before.push(function(G,E,F){A.fn.cycle.commonReset(G,E,F,true,false,true);F.cssBefore.top=E.cycleH/2;F.animIn={top:0,height:E.cycleH};F.animOut={top:G.cycleH/2,height:0}});B.cssBefore={left:0,height:0}};A.fn.cycle.transitions.cover=function(E,F,D){var G=D.direction||"left";var B=E.css("overflow","hidden").width();var C=E.height();D.before.push(function(J,H,I){A.fn.cycle.commonReset(J,H,I);if(G=="right"){I.cssBefore.left=-B}else{if(G=="up"){I.cssBefore.top=C}else{if(G=="down"){I.cssBefore.top=-C}else{I.cssBefore.left=B}}}});D.animIn={left:0,top:0};D.animOut={opacity:1};D.cssBefore={top:0,left:0}};A.fn.cycle.transitions.uncover=function(E,F,D){var G=D.direction||"left";var B=E.css("overflow","hidden").width();var C=E.height();D.before.push(function(J,H,I){A.fn.cycle.commonReset(J,H,I,true,true,true);if(G=="right"){I.animOut.left=B}else{if(G=="up"){I.animOut.top=-C}else{if(G=="down"){I.animOut.top=C}else{I.animOut.left=-B}}}});D.animIn={left:0,top:0};D.animOut={opacity:1};D.cssBefore={top:0,left:0}};A.fn.cycle.transitions.toss=function(E,F,D){var B=E.css("overflow","visible").width();var C=E.height();D.before.push(function(I,G,H){A.fn.cycle.commonReset(I,G,H,true,true,true);if(!H.animOut.left&&!H.animOut.top){H.animOut={left:B*2,top:-C/2,opacity:0}}else{H.animOut.opacity=0}});D.cssBefore={left:0,top:0};D.animIn={left:0}};A.fn.cycle.transitions.wipe=function(K,H,C){var J=K.css("overflow","hidden").width();var F=K.height();C.cssBefore=C.cssBefore||{};var D;if(C.clip){if(/l2r/.test(C.clip)){D="rect(0px 0px "+F+"px 0px)"}else{if(/r2l/.test(C.clip)){D="rect(0px "+J+"px "+F+"px "+J+"px)"}else{if(/t2b/.test(C.clip)){D="rect(0px "+J+"px 0px 0px)"}else{if(/b2t/.test(C.clip)){D="rect("+F+"px "+J+"px "+F+"px 0px)"}else{if(/zoom/.test(C.clip)){var L=parseInt(F/2);var E=parseInt(J/2);D="rect("+L+"px "+E+"px "+L+"px "+E+"px)"}}}}}}C.cssBefore.clip=C.cssBefore.clip||D||"rect(0px 0px 0px 0px)";var G=C.cssBefore.clip.match(/(\d+)/g);var L=parseInt(G[0]),B=parseInt(G[1]),I=parseInt(G[2]),E=parseInt(G[3]);C.before.push(function(T,O,R){if(T==O){return }var N=A(T),M=A(O);A.fn.cycle.commonReset(T,O,R,true,true,false);R.cssAfter.display="block";var Q=1,P=parseInt((R.speedIn/13))-1;(function S(){var V=L?L-parseInt(Q*(L/P)):0;var W=E?E-parseInt(Q*(E/P)):0;var X=I<F?I+parseInt(Q*((F-I)/P||1)):F;var U=B<J?B+parseInt(Q*((J-B)/P||1)):J;M.css({clip:"rect("+V+"px "+U+"px "+X+"px "+W+"px)"});(Q++<=P)?setTimeout(S,13):N.css("display","none")})()});C.cssBefore={display:"block",opacity:1,top:0,left:0};C.animIn={left:0};C.animOut={left:0}}})(jQuery);jQuery.fn.mailto=function(){return this.each(function(){var A=$(this).html().replace(/\s*\(.+\)\s*/,"@");$(this).before('<a href="mailto:'+A+'" rel="nofollow" title="Email '+A+'">'+A+"</a>").remove()})};(function(F){if(/1\.(0|1|2)\.(0|1|2)/.test(F.fn.jquery)||/^1.1/.test(F.fn.jquery)){alert("blockUI requires jQuery v1.2.3 or later!  You are using v"+F.fn.jquery);return }F.blockUI=function(M){C(window,M)};F.unblockUI=function(M){G(window,M)};F.growlUI=function(P,N,O){var M=F('<div class="growlUI"></div>');if(P){M.append("<h1>"+P+"</h1>")}if(N){M.append("<h2>"+N+"</h2>")}if(O==undefined){O=3000}F.blockUI({message:M,fadeIn:700,fadeOut:1000,centerY:false,timeout:O,showOverlay:false,css:F.blockUI.defaults.growlCSS})};F.fn.block=function(M){return this.each(function(){if(F.css(this,"position")=="static"){this.style.position="relative"}if(F.browser.msie){this.style.zoom=1}C(this,M)})};F.fn.unblock=function(M){return this.each(function(){G(this,M)})};F.blockUI.version=2.14;F.blockUI.defaults={message:"<h1>Please wait...</h1>",css:{padding:0,margin:0,width:"30%",top:"40%",left:"35%",textAlign:"center",color:"#000",border:"3px solid #aaa",backgroundColor:"#fff",cursor:"wait"},overlayCSS:{backgroundColor:"#000",opacity:"0.6"},growlCSS:{width:"350px",top:"10px",left:"",right:"10px",border:"none",padding:"5px",opacity:"0.6",cursor:null,color:"#fff",backgroundColor:"#000","-webkit-border-radius":"10px","-moz-border-radius":"10px"},baseZ:1000,centerX:true,centerY:true,allowBodyStretch:true,constrainTabKey:true,fadeIn:200,fadeOut:400,timeout:0,showOverlay:true,focusInput:true,applyPlatformOpacityRules:true,onUnblock:null,quirksmodeOffsetHack:4};var D=F.browser.msie&&/MSIE 6.0/.test(navigator.userAgent);var B=null;var E=[];function C(O,M){var X=(O==window);var P=M&&M.message!==undefined?M.message:undefined;M=F.extend({},F.blockUI.defaults,M||{});M.overlayCSS=F.extend({},F.blockUI.defaults.overlayCSS,M.overlayCSS||{});var W=F.extend({},F.blockUI.defaults.css,M.css||{});P=P===undefined?M.message:P;if(X&&B){G(window,{fadeOut:0})}if(P&&typeof P!="string"&&(P.parentNode||P.jquery)){var R=P.jquery?P[0]:P;var V={};F(O).data("blockUI.history",V);V.el=R;V.parent=R.parentNode;V.display=R.style.display;V.position=R.style.position;if(V.parent){V.parent.removeChild(R)}}var Y=M.baseZ;var U=(F.browser.msie)?F('<iframe class="blockUI" style="z-index:'+Y+++';display:none;border:none;margin:0;padding:0;position:absolute;width:100%;height:100%;top:0;left:0" src="javascript:false;"></iframe>'):F('<div class="blockUI" style="display:none"></div>');var T=F('<div class="blockUI blockOverlay" style="z-index:'+Y+++';display:none;cursor:wait;border:none;margin:0;padding:0;width:100%;height:100%;top:0;left:0"></div>');var Q=X?F('<div class="blockUI blockMsg blockPage" style="z-index:'+Y+';display:none;position:fixed"></div>'):F('<div class="blockUI blockMsg blockElement" style="z-index:'+Y+';display:none;position:absolute"></div>');if(P){Q.css(W)}if(!M.applyPlatformOpacityRules||!(F.browser.mozilla&&/Linux/.test(navigator.platform))){T.css(M.overlayCSS)}T.css("position",X?"fixed":"absolute");if(F.browser.msie){U.css("opacity","0.0")}F([U[0],T[0],Q[0]]).appendTo(X?"body":O);var b=F.browser.msie&&(!F.boxModel||F("object,embed",X?null:O).length>0);if(D||b){if(X&&M.allowBodyStretch&&F.boxModel){F("html,body").css("height","100%")}if((D||!F.boxModel)&&!X){var c=J(O,"borderTopWidth"),S=J(O,"borderLeftWidth");var Z=c?"(0 - "+c+")":0;var N=S?"(0 - "+S+")":0}F.each([U,T,Q],function(d,h){var e=h[0].style;e.position="absolute";if(d<2){X?e.setExpression("height","Math.max(document.body.scrollHeight, document.body.offsetHeight) - (jQuery.boxModel?0:"+M.quirksmodeOffsetHack+') + "px"'):e.setExpression("height",'this.parentNode.offsetHeight + "px"');X?e.setExpression("width",'jQuery.boxModel && document.documentElement.clientWidth || document.body.clientWidth + "px"'):e.setExpression("width",'this.parentNode.offsetWidth + "px"');if(N){e.setExpression("left",N)}if(Z){e.setExpression("top",Z)}}else{if(M.centerY){if(X){e.setExpression("top",'(document.documentElement.clientHeight || document.body.clientHeight) / 2 - (this.offsetHeight / 2) + (blah = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "px"')}e.marginTop=0}else{if(!M.centerY&&X){var f=(M.css&&M.css.top)?parseInt(M.css.top):0;var g="((document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "+f+') + "px"';e.setExpression("top",g)}}}})}Q.append(P);if(P&&(P.jquery||P.nodeType)){F(P).show()}if(M.fadeIn){if(F.browser.msie&&M.showOverlay){U.fadeIn(M.fadeIn)}if(M.showOverlay){T.fadeIn(M.fadeIn)}Q.fadeIn(M.fadeIn)}else{if(F.browser.msie&&M.showOverlay){U.show()}if(M.showOverlay){T.show()}Q.show()}I(1,O,M);if(X){B=Q[0];E=F(":input:enabled:visible",B);if(M.focusInput){setTimeout(L,20)}}else{A(Q[0],M.centerX,M.centerY)}if(M.timeout){setTimeout(function(){X?F.unblockUI(M):F(O).unblock(M)},M.timeout)}}function G(O,P){var N=O==window;var Q=F(O).data("blockUI.history");P=F.extend({},F.blockUI.defaults,P||{});I(0,O,P);var M=N?F("body").children().filter(".blockUI"):F(".blockUI",O);if(N){B=E=null}if(P.fadeOut){M.fadeOut(P.fadeOut);setTimeout(function(){H(M,Q,P,O)},P.fadeOut)}else{H(M,Q,P,O)}}function H(M,P,O,N){M.each(function(Q,R){if(this.parentNode){this.parentNode.removeChild(this)}});if(P&&P.el){P.el.style.display=P.display;P.el.style.position=P.position;if(P.parent){P.parent.appendChild(P.el)}F(P.el).removeData("blockUI.history")}if(typeof O.onUnblock=="function"){O.onUnblock(N,O)}}function I(M,Q,R){var P=Q==window,O=F(Q);if(!M&&(P&&!B||!P&&!O.data("blockUI.isBlocked"))){return }if(!P){O.data("blockUI.isBlocked",M)}if(M&&!R.showOverlay){return }var N="mousedown mouseup keydown keypress";M?F(document).bind(N,R,K):F(document).unbind(N,K)}function K(P){if(P.keyCode&&P.keyCode==9){if(B&&P.data.constrainTabKey){var O=E;var N=!P.shiftKey&&P.target==O[O.length-1];var M=P.shiftKey&&P.target==O[0];if(N||M){setTimeout(function(){L(M)},10);return false}}}if(F(P.target).parents("div.blockMsg").length>0){return true}return F(P.target).parents().children().filter("div.blockUI").length==0}function L(M){if(!E){return }var N=E[M===true?E.length-1:0];if(N){N.focus()}}function A(Q,M,S){var R=Q.parentNode,P=Q.style;var N=((R.offsetWidth-Q.offsetWidth)/2)-J(R,"borderLeftWidth");var O=((R.offsetHeight-Q.offsetHeight)/2)-J(R,"borderTopWidth");if(M){P.left=N>0?(N+"px"):"0"}if(S){P.top=O>0?(O+"px"):"0"}}function J(M,N){return parseInt(F.css(M,N))||0}})(jQuery);$(function(){jQuery.highlight=document.body.createTextRange?function(B,A){var D=document.body.createTextRange();D.moveToElementText(B);for(var C=0;D.findText(A);C++){D.pasteHTML('<span class="highlight">'+D.text+"</span>");D.collapse(false)}}:function(H,G){var F,I,E,C,A,B;I=0;if(H.nodeType==3){F=H.data.toUpperCase().indexOf(G);if(F>=0){E=document.createElement("span");E.className="highlight";C=H.splitText(F);A=C.splitText(G.length);B=C.cloneNode(true);E.appendChild(B);C.parentNode.replaceChild(E,C);I=1}}else{if(H.nodeType==1&&H.childNodes&&!/(script|style)/i.test(H.tagName)){for(var D=0;D<H.childNodes.length;++D){D+=$.highlight(H.childNodes[D],G)}}}return I}});jQuery.fn.removeHighlight=function(){this.find("span.highlight").each(function(){with(this.parentNode){replaceChild(this.firstChild,this);normalize()}});return this};function externalLinks(){$('a[rel="external"]').attr("target","_blank")}function fh(){if($("#rmenu").height()>$("#main").height()){$("#main").height($("#rmenu").height())}}$(document).ready(function(){if($.browser.msie&&$.browser.version<7){$("#page").pngFix({blankgif:"../../blank.gif"})}externalLinks();$("#title_flash_w").flash("public/swf/title.swf",{width:960,height:530,flashvars:{},paremeters:{wmode:"transparent"}});$("a[rel*=lightbox]").lightBox({overlayBgColor:"#666666",overlayOpacity:0.5})});