(function(){function d(a,b){b.src?c.ajax({url:b.src,async:false,dataType:"script"}):c.globalEval(b.text||b.textContent||b.innerHTML||"");b.parentNode&&b.parentNode.removeChild(b)}function h(){return+new Date}function k(a,b){return a[0]&&parseInt(c.curCSS(a[0],b,true),10)||0}function j(){return false}function m(){return true}function w(a){var b=RegExp("(^|\\.)"+a.type+"(\\.|$)"),e=true,g=[];c.each(c.data(this,"events").live||[],function(n,r){if(b.test(r.type))(n=c(a.target).closest(r.data)[0])&&g.push({elem:n,
fn:r})});g.sort(function(n,r){return c.data(n.elem,"closest")-c.data(r.elem,"closest")});c.each(g,function(){if(this.fn.call(this.elem,a,this.fn.data)===false)return e=false});return e}function A(a,b){return["live",a,b.replace(/\./g,"`").replace(/ /g,"|")].join(".")}function u(){if(!Y){Y=true;if(document.addEventListener)document.addEventListener("DOMContentLoaded",function(){document.removeEventListener("DOMContentLoaded",arguments.callee,false);c.ready()},false);else if(document.attachEvent){document.attachEvent("onreadystatechange",
function(){if(document.readyState==="complete"){document.detachEvent("onreadystatechange",arguments.callee);c.ready()}});document.documentElement.doScroll&&s==s.top&&function(){if(!c.isReady){try{document.documentElement.doScroll("left")}catch(a){setTimeout(arguments.callee,0);return}c.ready()}}()}c.event.add(s,"load",c.ready)}}function p(a,b){var e={};c.each(M.concat.apply([],M.slice(0,b)),function(){e[this]=a});return e}var s=this,z,C=s.jQuery,I=s.$,c=s.jQuery=s.$=function(a,b){return new c.fn.init(a,
b)},J=/^[^<]*(<(.|\s)+>)[^>]*$|^#([\w-]+)$/,Q=/^.[^:#\[\.,]*$/;c.fn=c.prototype={init:function(a,b){a=a||document;if(a.nodeType){this[0]=a;this.length=1;this.context=a;return this}if(typeof a==="string"){var e=J.exec(a);if(e&&(e[1]||!b))if(e[1])a=c.clean([e[1]],b);else{if((b=document.getElementById(e[3]))&&b.id!=e[3])return c().find(a);e=c(b||[]);e.context=document;e.selector=a;return e}else return c(b).find(a)}else if(c.isFunction(a))return c(document).ready(a);if(a.selector&&a.context){this.selector=
a.selector;this.context=a.context}return this.setArray(c.isArray(a)?a:c.makeArray(a))},selector:"",jquery:"1.3.2",size:function(){return this.length},get:function(a){return a===z?Array.prototype.slice.call(this):this[a]},pushStack:function(a,b,e){a=c(a);a.prevObject=this;a.context=this.context;if(b==="find")a.selector=this.selector+(this.selector?" ":"")+e;else if(b)a.selector=this.selector+"."+b+"("+e+")";return a},setArray:function(a){this.length=0;Array.prototype.push.apply(this,a);return this},
each:function(a,b){return c.each(this,a,b)},index:function(a){return c.inArray(a&&a.jquery?a[0]:a,this)},attr:function(a,b,e){var g=a;if(typeof a==="string")if(b===z)return this[0]&&c[e||"attr"](this[0],a);else{g={};g[a]=b}return this.each(function(n){for(a in g)c.attr(e?this.style:this,a,c.prop(this,g[a],e,n,a))})},css:function(a,b){if((a=="width"||a=="height")&&parseFloat(b)<0)b=z;return this.attr(a,b,"curCSS")},text:function(a){if(typeof a!=="object"&&a!=null)return this.empty().append((this[0]&&
this[0].ownerDocument||document).createTextNode(a));var b="";c.each(a||this,function(){c.each(this.childNodes,function(){if(this.nodeType!=8)b+=this.nodeType!=1?this.nodeValue:c.fn.text([this])})});return b},wrapAll:function(a){if(this[0]){a=c(a,this[0].ownerDocument).clone();this[0].parentNode&&a.insertBefore(this[0]);a.map(function(){for(var b=this;b.firstChild;)b=b.firstChild;return b}).append(this)}return this},wrapInner:function(a){return this.each(function(){c(this).contents().wrapAll(a)})},
wrap:function(a){return this.each(function(){c(this).wrapAll(a)})},append:function(){return this.domManip(arguments,true,function(a){this.nodeType==1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,true,function(a){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||c([])},push:[].push,sort:[].sort,splice:[].splice,find:function(a){if(this.length===1){var b=this.pushStack([],"find",a);b.length=0;c.find(a,this[0],b);return b}else return this.pushStack(c.unique(c.map(this,function(e){return c.find(a,e)})),"find",a)},clone:function(a){var b=this.map(function(){if(!c.support.noCloneEvent&&!c.isXMLDoc(this)){var n=this.outerHTML;if(!n){n=this.ownerDocument.createElement("div");n.appendChild(this.cloneNode(true));
n=n.innerHTML}return c.clean([n.replace(/ jQuery\d+="(?:\d+|null)"/g,"").replace(/^\s*/,"")])[0]}else return this.cloneNode(true)});if(a===true){var e=this.find("*").andSelf(),g=0;b.find("*").andSelf().each(function(){if(this.nodeName===e[g].nodeName){var n=c.data(e[g],"events");for(var r in n)for(var t in n[r])c.event.add(this,r,n[r][t],n[r][t].data);g++}})}return b},filter:function(a){return this.pushStack(c.isFunction(a)&&c.grep(this,function(b,e){return a.call(b,e)})||c.multiFilter(a,c.grep(this,
function(b){return b.nodeType===1})),"filter",a)},closest:function(a){var b=c.expr.match.POS.test(a)?c(a):null,e=0;return this.map(function(){for(var g=this;g&&g.ownerDocument;){if(b?b.index(g)>-1:c(g).is(a)){c.data(g,"closest",e);return g}g=g.parentNode;e++}})},not:function(a){if(typeof a==="string")if(Q.test(a))return this.pushStack(c.multiFilter(a,this,true),"not",a);else a=c.multiFilter(a,this);var b=a.length&&a[a.length-1]!==z&&!a.nodeType;return this.filter(function(){return b?c.inArray(this,
a)<0:this!=a})},add:function(a){return this.pushStack(c.unique(c.merge(this.get(),typeof a==="string"?c(a):c.makeArray(a))))},is:function(a){return!!a&&c.multiFilter(a,this).length>0},hasClass:function(a){return!!a&&this.is("."+a)},val:function(a){if(a===z){var b=this[0];if(b){if(c.nodeName(b,"option"))return(b.attributes.value||{}).specified?b.value:b.text;if(c.nodeName(b,"select")){var e=b.selectedIndex,g=[],n=b.options;b=b.type=="select-one";if(e<0)return null;var r=b?e:0;for(e=b?e+1:n.length;r<
e;r++){var t=n[r];if(t.selected){a=c(t).val();if(b)return a;g.push(a)}}return g}return(b.value||"").replace(/\r/g,"")}return z}if(typeof a==="number")a+="";return this.each(function(){if(this.nodeType==1)if(c.isArray(a)&&/radio|checkbox/.test(this.type))this.checked=c.inArray(this.value,a)>=0||c.inArray(this.name,a)>=0;else if(c.nodeName(this,"select")){var x=c.makeArray(a);c("option",this).each(function(){this.selected=c.inArray(this.value,x)>=0||c.inArray(this.text,x)>=0});if(!x.length)this.selectedIndex=
-1}else this.value=a})},html:function(a){return a===z?this[0]?this[0].innerHTML.replace(/ jQuery\d+="(?:\d+|null)"/g,""):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(c.map(this,function(b,e){return a.call(b,e,b)}))},andSelf:function(){return this.add(this.prevObject)},
domManip:function(a,b,e){function g(F,L){return b&&c.nodeName(F,"table")&&c.nodeName(L,"tr")?F.getElementsByTagName("tbody")[0]||F.appendChild(F.ownerDocument.createElement("tbody")):F}if(this[0]){var n=(this[0].ownerDocument||this[0]).createDocumentFragment();a=c.clean(a,this[0].ownerDocument||this[0],n);var r=n.firstChild;if(r)for(var t=0,x=this.length;t<x;t++)e.call(g(this[t],r),this.length>1||t>0?n.cloneNode(true):n);a&&c.each(a,d)}return this}};c.fn.init.prototype=c.fn;c.extend=c.fn.extend=function(){var a=
arguments[0]||{},b=1,e=arguments.length,g=false,n;if(typeof a==="boolean"){g=a;a=arguments[1]||{};b=2}if(typeof a!=="object"&&!c.isFunction(a))a={};if(e==b){a=this;--b}for(;b<e;b++)if((n=arguments[b])!=null)for(var r in n){var t=a[r],x=n[r];if(a!==x)if(g&&x&&typeof x==="object"&&!x.nodeType)a[r]=c.extend(g,t||(x.length!=null?[]:{}),x);else if(x!==z)a[r]=x}return a};var aa=/z-?index|font-?weight|opacity|zoom|line-?height/i,W=document.defaultView||{},ea=Object.prototype.toString;c.extend({noConflict:function(a){s.$=
I;if(a)s.jQuery=C;return c},isFunction:function(a){return ea.call(a)==="[object Function]"},isArray:function(a){return ea.call(a)==="[object Array]"},isXMLDoc:function(a){return a.nodeType===9&&a.documentElement.nodeName!=="HTML"||!!a.ownerDocument&&c.isXMLDoc(a.ownerDocument)},globalEval:function(a){if(a&&/\S/.test(a)){var b=document.getElementsByTagName("head")[0]||document.documentElement,e=document.createElement("script");e.type="text/javascript";if(c.support.scriptEval)e.appendChild(document.createTextNode(a));
else e.text=a;b.insertBefore(e,b.firstChild);b.removeChild(e)}},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()==b.toUpperCase()},each:function(a,b,e){var g,n=0,r=a.length;if(e)if(r===z)for(g in a){if(b.apply(a[g],e)===false)break}else for(;n<r;){if(b.apply(a[n++],e)===false)break}else if(r===z)for(g in a){if(b.call(a[g],g,a[g])===false)break}else for(e=a[0];n<r&&b.call(e,n,e)!==false;e=a[++n]);return a},prop:function(a,b,e,g,n){if(c.isFunction(b))b=b.call(a,g);return typeof b===
"number"&&e=="curCSS"&&!aa.test(n)?b+"px":b},className:{add:function(a,b){c.each((b||"").split(/\s+/),function(e,g){if(a.nodeType==1&&!c.className.has(a.className,g))a.className+=(a.className?" ":"")+g})},remove:function(a,b){if(a.nodeType==1)a.className=b!==z?c.grep(a.className.split(/\s+/),function(e){return!c.className.has(b,e)}).join(" "):""},has:function(a,b){return a&&c.inArray(b,(a.className||a).toString().split(/\s+/))>-1}},swap:function(a,b,e){var g={};for(var n in b){g[n]=a.style[n];a.style[n]=
b[n]}e.call(a);for(n in b)a.style[n]=g[n]},css:function(a,b,e,g){if(b=="width"||b=="height"){var n;e={position:"absolute",visibility:"hidden",display:"block"};var r=b=="width"?["Left","Right"]:["Top","Bottom"];function t(){n=b=="width"?a.offsetWidth:a.offsetHeight;g!=="border"&&c.each(r,function(){g||(n-=parseFloat(c.curCSS(a,"padding"+this,true))||0);if(g==="margin")n+=parseFloat(c.curCSS(a,"margin"+this,true))||0;else n-=parseFloat(c.curCSS(a,"border"+this+"Width",true))||0})}a.offsetWidth!==0?
t():c.swap(a,e,t);return Math.max(0,Math.round(n))}return c.curCSS(a,b,e)},curCSS:function(a,b,e){var g,n=a.style;if(b=="opacity"&&!c.support.opacity){g=c.attr(n,"opacity");return g==""?"1":g}if(b.match(/float/i))b=R;if(!e&&n&&n[b])g=n[b];else if(W.getComputedStyle){if(b.match(/float/i))b="float";b=b.replace(/([A-Z])/g,"-$1").toLowerCase();if(a=W.getComputedStyle(a,null))g=a.getPropertyValue(b);if(b=="opacity"&&g=="")g="1"}else if(a.currentStyle){g=b.replace(/\-(\w)/g,function(r,t){return t.toUpperCase()});
g=a.currentStyle[b]||a.currentStyle[g];if(!/^\d+(px)?$/i.test(g)&&/^\d/.test(g)){b=n.left;e=a.runtimeStyle.left;a.runtimeStyle.left=a.currentStyle.left;n.left=g||0;g=n.pixelLeft+"px";n.left=b;a.runtimeStyle.left=e}}return g},clean:function(a,b,e){b=b||document;if(typeof b.createElement==="undefined")b=b.ownerDocument||b[0]&&b[0].ownerDocument||document;if(!e&&a.length===1&&typeof a[0]==="string"){var g=/^<(\w+)\s*\/?>$/.exec(a[0]);if(g)return[b.createElement(g[1])]}var n=[];g=[];var r=b.createElement("div");
c.each(a,function(t,x){if(typeof x==="number")x+="";if(x){if(typeof x==="string"){x=x.replace(/(<(\w+)[^>]*?)\/>/g,function(K,P,S){return S.match(/^(abbr|br|col|img|input|link|meta|param|hr|area|embed)$/i)?K:P+"></"+S+">"});t=x.replace(/^\s+/,"").substring(0,10).toLowerCase();var F=!t.indexOf("<opt")&&[1,"<select multiple='multiple'>","</select>"]||!t.indexOf("<leg")&&[1,"<fieldset>","</fieldset>"]||t.match(/^<(thead|tbody|tfoot|colg|cap)/)&&[1,"<table>","</table>"]||!t.indexOf("<tr")&&[2,"<table><tbody>",
"</tbody></table>"]||(!t.indexOf("<td")||!t.indexOf("<th"))&&[3,"<table><tbody><tr>","</tr></tbody></table>"]||!t.indexOf("<col")&&[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"]||!c.support.htmlSerialize&&[1,"div<div>","</div>"]||[0,"",""];for(r.innerHTML=F[1]+x+F[2];F[0]--;)r=r.lastChild;if(!c.support.tbody){var L=/<tbody/i.test(x);t=!t.indexOf("<table")&&!L?r.firstChild&&r.firstChild.childNodes:F[1]=="<table>"&&!L?r.childNodes:[];for(F=t.length-1;F>=0;--F)c.nodeName(t[F],"tbody")&&
!t[F].childNodes.length&&t[F].parentNode.removeChild(t[F])}!c.support.leadingWhitespace&&/^\s/.test(x)&&r.insertBefore(b.createTextNode(x.match(/^\s*/)[0]),r.firstChild);x=c.makeArray(r.childNodes)}if(x.nodeType)n.push(x);else n=c.merge(n,x)}});if(e){for(a=0;n[a];a++)if(c.nodeName(n[a],"script")&&(!n[a].type||n[a].type.toLowerCase()==="text/javascript"))g.push(n[a].parentNode?n[a].parentNode.removeChild(n[a]):n[a]);else{n[a].nodeType===1&&n.splice.apply(n,[a+1,0].concat(c.makeArray(n[a].getElementsByTagName("script"))));
e.appendChild(n[a])}return g}return n},attr:function(a,b,e){if(!a||a.nodeType==3||a.nodeType==8)return z;var g=!c.isXMLDoc(a),n=e!==z;b=g&&c.props[b]||b;if(a.tagName){var r=/href|src|style/.test(b);if(b in a&&g&&!r){if(n){if(b=="type"&&c.nodeName(a,"input")&&a.parentNode)throw"type property can't be changed";a[b]=e}if(c.nodeName(a,"form")&&a.getAttributeNode(b))return a.getAttributeNode(b).nodeValue;if(b=="tabIndex")return(b=a.getAttributeNode("tabIndex"))&&b.specified?b.value:a.nodeName.match(/(button|input|object|select|textarea)/i)?
0:a.nodeName.match(/^(a|area)$/i)&&a.href?0:z;return a[b]}if(!c.support.style&&g&&b=="style")return c.attr(a.style,"cssText",e);n&&a.setAttribute(b,""+e);a=!c.support.hrefNormalized&&g&&r?a.getAttribute(b,2):a.getAttribute(b);return a===null?z:a}if(!c.support.opacity&&b=="opacity"){if(n){a.zoom=1;a.filter=(a.filter||"").replace(/alpha\([^)]*\)/,"")+(parseInt(e)+""=="NaN"?"":"alpha(opacity="+e*100+")")}return a.filter&&a.filter.indexOf("opacity=")>=0?parseFloat(a.filter.match(/opacity=([^)]*)/)[1])/
100+"":""}b=b.replace(/-([a-z])/ig,function(t,x){return x.toUpperCase()});if(n)a[b]=e;return a[b]},trim:function(a){return(a||"").replace(/^\s+|\s+$/g,"")},makeArray:function(a){var b=[];if(a!=null){var e=a.length;if(e==null||typeof a==="string"||c.isFunction(a)||a.setInterval)b[0]=a;else for(;e;)b[--e]=a[e]}return b},inArray:function(a,b){for(var e=0,g=b.length;e<g;e++)if(b[e]===a)return e;return-1},merge:function(a,b){var e=0,g,n=a.length;if(c.support.getAll)for(;(g=b[e++])!=null;)a[n++]=g;else for(;(g=
b[e++])!=null;)if(g.nodeType!=8)a[n++]=g;return a},unique:function(a){var b=[],e={};try{for(var g=0,n=a.length;g<n;g++){var r=c.data(a[g]);if(!e[r]){e[r]=true;b.push(a[g])}}}catch(t){b=a}return b},grep:function(a,b,e){for(var g=[],n=0,r=a.length;n<r;n++)!e!=!b(a[n],n)&&g.push(a[n]);return g},map:function(a,b){for(var e=[],g=0,n=a.length;g<n;g++){var r=b(a[g],g);if(r!=null)e[e.length]=r}return e.concat.apply([],e)}});var N=navigator.userAgent.toLowerCase();c.browser={version:(N.match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||
[0,"0"])[1],safari:/webkit/.test(N),opera:/opera/.test(N),msie:/msie/.test(N)&&!/opera/.test(N),mozilla:/mozilla/.test(N)&&!/(compatible|webkit)/.test(N)};c.each({parent:function(a){return a.parentNode},parents:function(a){return c.dir(a,"parentNode")},next:function(a){return c.nth(a,2,"nextSibling")},prev:function(a){return c.nth(a,2,"previousSibling")},nextAll:function(a){return c.dir(a,"nextSibling")},prevAll:function(a){return c.dir(a,"previousSibling")},siblings:function(a){return c.sibling(a.parentNode.firstChild,
a)},children:function(a){return c.sibling(a.firstChild)},contents:function(a){return c.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:c.makeArray(a.childNodes)}},function(a,b){c.fn[a]=function(e){var g=c.map(this,b);if(e&&typeof e=="string")g=c.multiFilter(e,g);return this.pushStack(c.unique(g),a,e)}});c.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){c.fn[a]=function(e){for(var g=[],n=c(e),r=0,t=n.length;r<
t;r++){var x=(r>0?this.clone(true):this).get();c.fn[b].apply(c(n[r]),x);g=g.concat(x)}return this.pushStack(g,a,e)}});c.each({removeAttr:function(a){c.attr(this,a,"");this.nodeType==1&&this.removeAttribute(a)},addClass:function(a){c.className.add(this,a)},removeClass:function(a){c.className.remove(this,a)},toggleClass:function(a,b){if(typeof b!=="boolean")b=!c.className.has(this,a);c.className[b?"add":"remove"](this,a)},remove:function(a){if(!a||c.filter(a,[this]).length){c("*",this).add([this]).each(function(){c.event.remove(this);
c.removeData(this)});this.parentNode&&this.parentNode.removeChild(this)}},empty:function(){for(c(this).children().remove();this.firstChild;)this.removeChild(this.firstChild)}},function(a,b){c.fn[a]=function(){return this.each(b,arguments)}});var O="jQuery"+h(),ca=0,da={};c.extend({cache:{},data:function(a,b,e){a=a==s?da:a;var g=a[O];g||(g=a[O]=++ca);if(b&&!c.cache[g])c.cache[g]={};if(e!==z)c.cache[g][b]=e;return b?c.cache[g][b]:g},removeData:function(a,b){a=a==s?da:a;var e=a[O];if(b){if(c.cache[e]){delete c.cache[e][b];
b="";for(b in c.cache[e])break;b||c.removeData(a)}}else{try{delete a[O]}catch(g){a.removeAttribute&&a.removeAttribute(O)}delete c.cache[e]}},queue:function(a,b,e){if(a){b=(b||"fx")+"queue";var g=c.data(a,b);if(!g||c.isArray(e))g=c.data(a,b,c.makeArray(e));else e&&g.push(e)}return g},dequeue:function(a,b){var e=c.queue(a,b),g=e.shift();if(!b||b==="fx")g=e[0];g!==z&&g.call(a)}});c.fn.extend({data:function(a,b){var e=a.split(".");e[1]=e[1]?"."+e[1]:"";if(b===z){var g=this.triggerHandler("getData"+e[1]+
"!",[e[0]]);if(g===z&&this.length)g=c.data(this[0],a);return g===z&&e[1]?this.data(e[0]):g}else return this.trigger("setData"+e[1]+"!",[e[0],b]).each(function(){c.data(this,a,b)})},removeData:function(a){return this.each(function(){c.removeData(this,a)})},queue:function(a,b){if(typeof a!=="string"){b=a;a="fx"}if(b===z)return c.queue(this[0],a);return this.each(function(){var e=c.queue(this,a,b);a=="fx"&&e.length==1&&e[0].call(this)})},dequeue:function(a){return this.each(function(){c.dequeue(this,
a)})}});(function(){function a(f,l,q,o,v,y){v=f=="previousSibling"&&!y;for(var B=0,T=o.length;B<T;B++){var D=o[B];if(D){if(v&&D.nodeType===1){D.sizcache=q;D.sizset=B}D=D[f];for(var V=false;D;){if(D.sizcache===q){V=o[D.sizset];break}if(D.nodeType===1&&!y){D.sizcache=q;D.sizset=B}if(D.nodeName===l){V=D;break}D=D[f]}o[B]=V}}}function b(f,l,q,o,v,y){v=f=="previousSibling"&&!y;for(var B=0,T=o.length;B<T;B++){var D=o[B];if(D){if(v&&D.nodeType===1){D.sizcache=q;D.sizset=B}D=D[f];for(var V=false;D;){if(D.sizcache===
q){V=o[D.sizset];break}if(D.nodeType===1){if(!y){D.sizcache=q;D.sizset=B}if(typeof l!=="string"){if(D===l){V=true;break}}else if(r.filter(l,[D]).length>0){V=D;break}}D=D[f]}o[B]=V}}}var e=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?/g,g=0,n=Object.prototype.toString,r=function(f,l,q,o){q=q||[];l=l||document;if(l.nodeType!==1&&l.nodeType!==9)return[];if(!f||typeof f!=="string")return q;var v=[],y,B,T,D=true;for(e.lastIndex=0;(y=
e.exec(f))!==null;){v.push(y[1]);if(y[2]){T=RegExp.rightContext;break}}if(v.length>1&&x.exec(f))if(v.length===2&&t.relative[v[0]])y=X(v[0]+v[1],l);else for(y=t.relative[v[0]]?[l]:r(v.shift(),l);v.length;){f=v.shift();if(t.relative[f])f+=v.shift();y=X(f,y)}else{y=o?{expr:v.pop(),set:L(o)}:r.find(v.pop(),v.length===1&&l.parentNode?l.parentNode:l,E(l));y=r.filter(y.expr,y.set);if(v.length>0)B=L(y);else D=false;for(;v.length;){var V=v.pop(),ba=V;if(t.relative[V])ba=v.pop();else V="";if(ba==null)ba=l;
t.relative[V](B,ba,E(l))}}B||(B=y);if(!B)throw"Syntax error, unrecognized expression: "+(V||f);if(n.call(B)==="[object Array]")if(D)if(l.nodeType===1)for(f=0;B[f]!=null;f++){if(B[f]&&(B[f]===true||B[f].nodeType===1&&S(l,B[f])))q.push(y[f])}else for(f=0;B[f]!=null;f++)B[f]&&B[f].nodeType===1&&q.push(y[f]);else q.push.apply(q,B);else L(B,q);if(T){r(T,l,q,o);if(P){hasDuplicate=false;q.sort(P);if(hasDuplicate)for(f=1;f<q.length;f++)q[f]===q[f-1]&&q.splice(f--,1)}}return q};r.matches=function(f,l){return r(f,
null,null,l)};r.find=function(f,l,q){var o,v;if(!f)return[];for(var y=0,B=t.order.length;y<B;y++){var T=t.order[y];if(v=t.match[T].exec(f)){var D=RegExp.leftContext;if(D.substr(D.length-1)!=="\\"){v[1]=(v[1]||"").replace(/\\/g,"");o=t.find[T](v,l,q);if(o!=null){f=f.replace(t.match[T],"");break}}}}o||(o=l.getElementsByTagName("*"));return{set:o,expr:f}};r.filter=function(f,l,q,o){for(var v=f,y=[],B=l,T,D,V=l&&l[0]&&E(l[0]);f&&l.length;){for(var ba in t.filter)if((T=t.match[ba].exec(f))!=null){var ja=
t.filter[ba],fa,ga;D=false;if(B==y)y=[];if(t.preFilter[ba])if(T=t.preFilter[ba](T,B,q,y,o,V)){if(T===true)continue}else D=fa=true;if(T)for(var ha=0;(ga=B[ha])!=null;ha++)if(ga){fa=ja(ga,T,ha,B);var ia=o^!!fa;if(q&&fa!=null)if(ia)D=true;else B[ha]=false;else if(ia){y.push(ga);D=true}}if(fa!==z){q||(B=y);f=f.replace(t.match[ba],"");if(!D)return[];break}}if(f==v)if(D==null)throw"Syntax error, unrecognized expression: "+f;else break;v=f}return B};var t=r.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(f){return f.getAttribute("href")}},
relative:{"+":function(f,l,q){var o=typeof l==="string",v=o&&!/\W/.test(l);o=o&&!v;if(v&&!q)l=l.toUpperCase();q=0;v=f.length;for(var y;q<v;q++)if(y=f[q]){for(;(y=y.previousSibling)&&y.nodeType!==1;);f[q]=o||y&&y.nodeName===l?y||false:y===l}o&&r.filter(l,f,true)},">":function(f,l,q){var o=typeof l==="string";if(o&&!/\W/.test(l)){l=q?l:l.toUpperCase();q=0;for(var v=f.length;q<v;q++){var y=f[q];if(y){o=y.parentNode;f[q]=o.nodeName===l?o:false}}}else{q=0;for(v=f.length;q<v;q++)if(y=f[q])f[q]=o?y.parentNode:
y.parentNode===l;o&&r.filter(l,f,true)}},"":function(f,l,q){var o=g++,v=b;if(!l.match(/\W/)){var y=l=q?l:l.toUpperCase();v=a}v("parentNode",l,o,f,y,q)},"~":function(f,l,q){var o=g++,v=b;if(typeof l==="string"&&!l.match(/\W/)){var y=l=q?l:l.toUpperCase();v=a}v("previousSibling",l,o,f,y,q)}},find:{ID:function(f,l,q){if(typeof l.getElementById!=="undefined"&&!q)return(f=l.getElementById(f[1]))?[f]:[]},NAME:function(f,l){if(typeof l.getElementsByName!=="undefined"){var q=[];l=l.getElementsByName(f[1]);
for(var o=0,v=l.length;o<v;o++)l[o].getAttribute("name")===f[1]&&q.push(l[o]);return q.length===0?null:q}},TAG:function(f,l){return l.getElementsByTagName(f[1])}},preFilter:{CLASS:function(f,l,q,o,v,y){f=" "+f[1].replace(/\\/g,"")+" ";if(y)return f;y=0;for(var B;(B=l[y])!=null;y++)if(B)if(v^(B.className&&(" "+B.className+" ").indexOf(f)>=0))q||o.push(B);else if(q)l[y]=false;return false},ID:function(f){return f[1].replace(/\\/g,"")},TAG:function(f,l){for(var q=0;l[q]===false;q++);return l[q]&&E(l[q])?
f[1]:f[1].toUpperCase()},CHILD:function(f){if(f[1]=="nth"){var l=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(f[2]=="even"&&"2n"||f[2]=="odd"&&"2n+1"||!/\D/.test(f[2])&&"0n+"+f[2]||f[2]);f[2]=l[1]+(l[2]||1)-0;f[3]=l[3]-0}f[0]=g++;return f},ATTR:function(f,l,q,o,v,y){l=f[1].replace(/\\/g,"");if(!y&&t.attrMap[l])f[1]=t.attrMap[l];if(f[2]==="~=")f[4]=" "+f[4]+" ";return f},PSEUDO:function(f,l,q,o,v){if(f[1]==="not")if(f[3].match(e).length>1||/^\w/.test(f[3]))f[3]=r(f[3],null,null,l);else{f=r.filter(f[3],l,q,true^
v);q||o.push.apply(o,f);return false}else if(t.match.POS.test(f[0])||t.match.CHILD.test(f[0]))return true;return f},POS:function(f){f.unshift(true);return f}},filters:{enabled:function(f){return f.disabled===false&&f.type!=="hidden"},disabled:function(f){return f.disabled===true},checked:function(f){return f.checked===true},selected:function(f){return f.selected===true},parent:function(f){return!!f.firstChild},empty:function(f){return!f.firstChild},has:function(f,l,q){return!!r(q[3],f).length},header:function(f){return/h\d/i.test(f.nodeName)},
text:function(f){return"text"===f.type},radio:function(f){return"radio"===f.type},checkbox:function(f){return"checkbox"===f.type},file:function(f){return"file"===f.type},password:function(f){return"password"===f.type},submit:function(f){return"submit"===f.type},image:function(f){return"image"===f.type},reset:function(f){return"reset"===f.type},button:function(f){return"button"===f.type||f.nodeName.toUpperCase()==="BUTTON"},input:function(f){return/input|select|textarea|button/i.test(f.nodeName)}},
setFilters:{first:function(f,l){return l===0},last:function(f,l,q,o){return l===o.length-1},even:function(f,l){return l%2===0},odd:function(f,l){return l%2===1},lt:function(f,l,q){return l<q[3]-0},gt:function(f,l,q){return l>q[3]-0},nth:function(f,l,q){return q[3]-0==l},eq:function(f,l,q){return q[3]-0==l}},filter:{PSEUDO:function(f,l,q,o){var v=l[1],y=t.filters[v];if(y)return y(f,q,l,o);else if(v==="contains")return(f.textContent||f.innerText||"").indexOf(l[3])>=0;else if(v==="not"){l=l[3];q=0;for(o=
l.length;q<o;q++)if(l[q]===f)return false;return true}},CHILD:function(f,l){var q=l[1],o=f;switch(q){case "only":case "first":for(;o=o.previousSibling;)if(o.nodeType===1)return false;if(q=="first")return true;o=f;case "last":for(;o=o.nextSibling;)if(o.nodeType===1)return false;return true;case "nth":q=l[2];var v=l[3];if(q==1&&v==0)return true;l=l[0];var y=f.parentNode;if(y&&(y.sizcache!==l||!f.nodeIndex)){var B=0;for(o=y.firstChild;o;o=o.nextSibling)if(o.nodeType===1)o.nodeIndex=++B;y.sizcache=l}f=
f.nodeIndex-v;return q==0?f==0:f%q==0&&f/q>=0}},ID:function(f,l){return f.nodeType===1&&f.getAttribute("id")===l},TAG:function(f,l){return l==="*"&&f.nodeType===1||f.nodeName===l},CLASS:function(f,l){return(" "+(f.className||f.getAttribute("class"))+" ").indexOf(l)>-1},ATTR:function(f,l){var q=l[1];f=t.attrHandle[q]?t.attrHandle[q](f):f[q]!=null?f[q]:f.getAttribute(q);q=f+"";var o=l[2];l=l[4];return f==null?o==="!=":o==="="?q===l:o==="*="?q.indexOf(l)>=0:o==="~="?(" "+q+" ").indexOf(l)>=0:!l?q&&f!==
false:o==="!="?q!=l:o==="^="?q.indexOf(l)===0:o==="$="?q.substr(q.length-l.length)===l:o==="|="?q===l||q.substr(0,l.length+1)===l+"-":false},POS:function(f,l,q,o){var v=t.setFilters[l[2]];if(v)return v(f,q,l,o)}}},x=t.match.POS;for(var F in t.match)t.match[F]=RegExp(t.match[F].source+/(?![^\[]*\])(?![^\(]*\))/.source);var L=function(f,l){f=Array.prototype.slice.call(f);if(l){l.push.apply(l,f);return l}return f};try{Array.prototype.slice.call(document.documentElement.childNodes)}catch(K){L=function(f,
l){l=l||[];if(n.call(f)==="[object Array]")Array.prototype.push.apply(l,f);else if(typeof f.length==="number")for(var q=0,o=f.length;q<o;q++)l.push(f[q]);else for(q=0;f[q];q++)l.push(f[q]);return l}}var P;if(document.documentElement.compareDocumentPosition)P=function(f,l){f=f.compareDocumentPosition(l)&4?-1:f===l?0:1;if(f===0)hasDuplicate=true;return f};else if("sourceIndex"in document.documentElement)P=function(f,l){f=f.sourceIndex-l.sourceIndex;if(f===0)hasDuplicate=true;return f};else if(document.createRange)P=
function(f,l){var q=f.ownerDocument.createRange(),o=l.ownerDocument.createRange();q.selectNode(f);q.collapse(true);o.selectNode(l);o.collapse(true);f=q.compareBoundaryPoints(Range.START_TO_END,o);if(f===0)hasDuplicate=true;return f};(function(){var f=document.createElement("form"),l="script"+(new Date).getTime();f.innerHTML="<input name='"+l+"'/>";var q=document.documentElement;q.insertBefore(f,q.firstChild);if(document.getElementById(l)){t.find.ID=function(o,v,y){if(typeof v.getElementById!=="undefined"&&
!y)return(v=v.getElementById(o[1]))?v.id===o[1]||typeof v.getAttributeNode!=="undefined"&&v.getAttributeNode("id").nodeValue===o[1]?[v]:z:[]};t.filter.ID=function(o,v){var y=typeof o.getAttributeNode!=="undefined"&&o.getAttributeNode("id");return o.nodeType===1&&y&&y.nodeValue===v}}q.removeChild(f)})();(function(){var f=document.createElement("div");f.appendChild(document.createComment(""));if(f.getElementsByTagName("*").length>0)t.find.TAG=function(l,q){q=q.getElementsByTagName(l[1]);if(l[1]==="*"){l=
[];for(var o=0;q[o];o++)q[o].nodeType===1&&l.push(q[o]);q=l}return q};f.innerHTML="<a href='#'></a>";if(f.firstChild&&typeof f.firstChild.getAttribute!=="undefined"&&f.firstChild.getAttribute("href")!=="#")t.attrHandle.href=function(l){return l.getAttribute("href",2)}})();document.querySelectorAll&&function(){var f=r,l=document.createElement("div");l.innerHTML="<p class='TEST'></p>";if(!(l.querySelectorAll&&l.querySelectorAll(".TEST").length===0)){r=function(q,o,v,y){o=o||document;if(!y&&o.nodeType===
9&&!E(o))try{return L(o.querySelectorAll(q),v)}catch(B){}return f(q,o,v,y)};r.find=f.find;r.filter=f.filter;r.selectors=f.selectors;r.matches=f.matches}}();document.getElementsByClassName&&document.documentElement.getElementsByClassName&&function(){var f=document.createElement("div");f.innerHTML="<div class='test e'></div><div class='test'></div>";if(f.getElementsByClassName("e").length!==0){f.lastChild.className="e";if(f.getElementsByClassName("e").length!==1){t.order.splice(1,0,"CLASS");t.find.CLASS=
function(l,q,o){if(typeof q.getElementsByClassName!=="undefined"&&!o)return q.getElementsByClassName(l[1])}}}}();var S=document.compareDocumentPosition?function(f,l){return f.compareDocumentPosition(l)&16}:function(f,l){return f!==l&&(f.contains?f.contains(l):true)},E=function(f){return f.nodeType===9&&f.documentElement.nodeName!=="HTML"||!!f.ownerDocument&&E(f.ownerDocument)},X=function(f,l){var q=[],o="",v;for(l=l.nodeType?[l]:l;v=t.match.PSEUDO.exec(f);){o+=v[0];f=f.replace(t.match.PSEUDO,"")}f=
t.relative[f]?f+"*":f;v=0;for(var y=l.length;v<y;v++)r(f,l[v],q);return r.filter(o,q)};c.find=r;c.filter=r.filter;c.expr=r.selectors;c.expr[":"]=c.expr.filters;r.selectors.filters.hidden=function(f){return f.offsetWidth===0||f.offsetHeight===0};r.selectors.filters.visible=function(f){return f.offsetWidth>0||f.offsetHeight>0};r.selectors.filters.animated=function(f){return c.grep(c.timers,function(l){return f===l.elem}).length};c.multiFilter=function(f,l,q){if(q)f=":not("+f+")";return r.matches(f,
l)};c.dir=function(f,l){var q=[];for(f=f[l];f&&f!=document;){f.nodeType==1&&q.push(f);f=f[l]}return q};c.nth=function(f,l,q){l=l||1;for(var o=0;f;f=f[q])if(f.nodeType==1&&++o==l)break;return f};c.sibling=function(f,l){for(var q=[];f;f=f.nextSibling)f.nodeType==1&&f!=l&&q.push(f);return q}})();c.event={add:function(a,b,e,g){if(!(a.nodeType==3||a.nodeType==8)){if(a.setInterval&&a!=s)a=s;if(!e.guid)e.guid=this.guid++;if(g!==z){e=this.proxy(e);e.data=g}var n=c.data(a,"events")||c.data(a,"events",{}),
r=c.data(a,"handle")||c.data(a,"handle",function(){return typeof c!=="undefined"&&!c.event.triggered?c.event.handle.apply(arguments.callee.elem,arguments):z});r.elem=a;c.each(b.split(/\s+/),function(t,x){t=x.split(".");x=t.shift();e.type=t.slice().sort().join(".");var F=n[x];c.event.specialAll[x]&&c.event.specialAll[x].setup.call(a,g,t);if(!F){F=n[x]={};if(!c.event.special[x]||c.event.special[x].setup.call(a,g,t)===false)if(a.addEventListener)a.addEventListener(x,r,false);else a.attachEvent&&a.attachEvent("on"+
x,r)}F[e.guid]=e;c.event.global[x]=true});a=null}},guid:1,global:{},remove:function(a,b,e){if(!(a.nodeType==3||a.nodeType==8)){var g=c.data(a,"events"),n;if(g){if(b===z||typeof b==="string"&&b.charAt(0)==".")for(var r in g)this.remove(a,r+(b||""));else{if(b.type){e=b.handler;b=b.type}c.each(b.split(/\s+/),function(t,x){t=x.split(".");x=t.shift();var F=RegExp("(^|\\.)"+t.slice().sort().join(".*\\.")+"(\\.|$)");if(g[x]){if(e)delete g[x][e.guid];else for(var L in g[x])F.test(g[x][L].type)&&delete g[x][L];
c.event.specialAll[x]&&c.event.specialAll[x].teardown.call(a,t);for(n in g[x])break;if(!n){if(!c.event.special[x]||c.event.special[x].teardown.call(a,t)===false)if(a.removeEventListener)a.removeEventListener(x,c.data(a,"handle"),false);else a.detachEvent&&a.detachEvent("on"+x,c.data(a,"handle"));n=null;delete g[x]}}})}for(n in g)break;if(!n){if(b=c.data(a,"handle"))b.elem=null;c.removeData(a,"events");c.removeData(a,"handle")}}}},trigger:function(a,b,e,g){var n=a.type||a;if(!g){a=typeof a==="object"?
a[O]?a:c.extend(c.Event(n),a):c.Event(n);if(n.indexOf("!")>=0){a.type=n=n.slice(0,-1);a.exclusive=true}if(!e){a.stopPropagation();this.global[n]&&c.each(c.cache,function(){this.events&&this.events[n]&&c.event.trigger(a,b,this.handle.elem)})}if(!e||e.nodeType==3||e.nodeType==8)return z;a.result=z;a.target=e;b=c.makeArray(b);b.unshift(a)}a.currentTarget=e;var r=c.data(e,"handle");r&&r.apply(e,b);if((!e[n]||c.nodeName(e,"a")&&n=="click")&&e["on"+n]&&e["on"+n].apply(e,b)===false)a.result=false;if(!g&&
e[n]&&!a.isDefaultPrevented()&&!(c.nodeName(e,"a")&&n=="click")){this.triggered=true;try{e[n]()}catch(t){}}this.triggered=false;if(!a.isPropagationStopped())(e=e.parentNode||e.ownerDocument)&&c.event.trigger(a,b,e,true)},handle:function(a){var b,e;a=arguments[0]=c.event.fix(a||s.event);a.currentTarget=this;e=a.type.split(".");a.type=e.shift();b=!e.length&&!a.exclusive;var g=RegExp("(^|\\.)"+e.slice().sort().join(".*\\.")+"(\\.|$)");e=(c.data(this,"events")||{})[a.type];for(var n in e){var r=e[n];
if(b||g.test(r.type)){a.handler=r;a.data=r.data;r=r.apply(this,arguments);if(r!==z){a.result=r;if(r===false){a.preventDefault();a.stopPropagation()}}if(a.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(a){if(a[O])return a;var b=a;a=c.Event(b);for(var e=this.props.length,g;e;){g=this.props[--e];a[g]=b[g]}if(!a.target)a.target=a.srcElement||document;if(a.target.nodeType==3)a.target=a.target.parentNode;if(!a.relatedTarget&&a.fromElement)a.relatedTarget=a.fromElement==a.target?a.toElement:a.fromElement;if(a.pageX==null&&a.clientX!=null){b=document.documentElement;e=document.body;a.pageX=a.clientX+(b&&b.scrollLeft||e&&e.scrollLeft||0)-(b.clientLeft||0);a.pageY=a.clientY+(b&&b.scrollTop||
e&&e.scrollTop||0)-(b.clientTop||0)}if(!a.which&&(a.charCode||a.charCode===0?a.charCode:a.keyCode))a.which=a.charCode||a.keyCode;if(!a.metaKey&&a.ctrlKey)a.metaKey=a.ctrlKey;if(!a.which&&a.button)a.which=a.button&1?1:a.button&2?3:a.button&4?2:0;return a},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:u,teardown:function(){}}},specialAll:{live:{setup:function(a,b){c.event.add(this,b[0],w)},teardown:function(a){if(a.length){var b=
0,e=RegExp("(^|\\.)"+a[0]+"(\\.|$)");c.each(c.data(this,"events").live||{},function(){e.test(this.type)&&b++});b<1&&c.event.remove(this,a[0],w)}}}}};c.Event=function(a){if(!this.preventDefault)return new c.Event(a);if(a&&a.type){this.originalEvent=a;this.type=a.type}else this.type=a;this.timeStamp=h();this[O]=true};c.Event.prototype={preventDefault:function(){this.isDefaultPrevented=m;var a=this.originalEvent;if(a){a.preventDefault&&a.preventDefault();a.returnValue=false}},stopPropagation:function(){this.isPropagationStopped=
m;var a=this.originalEvent;if(a){a.stopPropagation&&a.stopPropagation();a.cancelBubble=true}},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=m;this.stopPropagation()},isDefaultPrevented:j,isPropagationStopped:j,isImmediatePropagationStopped:j};var Z=function(a){for(var b=a.relatedTarget;b&&b!=this;)try{b=b.parentNode}catch(e){b=this}if(b!=this){a.type=a.data;c.event.handle.apply(this,arguments)}};c.each({mouseover:"mouseenter",mouseout:"mouseleave"},function(a,b){c.event.special[b]=
{setup:function(){c.event.add(this,a,Z,b)},teardown:function(){c.event.remove(this,a,Z)}}});c.fn.extend({bind:function(a,b,e){return a=="unload"?this.one(a,b,e):this.each(function(){c.event.add(this,a,e||b,e&&b)})},one:function(a,b,e){var g=c.event.proxy(e||b,function(n){c(this).unbind(n,g);return(e||b).apply(this,arguments)});return this.each(function(){c.event.add(this,a,g,e&&b)})},unbind:function(a,b){return this.each(function(){c.event.remove(this,a,b)})},trigger:function(a,b){return this.each(function(){c.event.trigger(a,
b,this)})},triggerHandler:function(a,b){if(this[0]){a=c.Event(a);a.preventDefault();a.stopPropagation();c.event.trigger(a,b,this[0]);return a.result}},toggle:function(a){for(var b=arguments,e=1;e<b.length;)c.event.proxy(a,b[e++]);return this.click(c.event.proxy(a,function(g){this.lastToggle=(this.lastToggle||0)%e;g.preventDefault();return b[this.lastToggle++].apply(this,arguments)||false}))},hover:function(a,b){return this.mouseenter(a).mouseleave(b)},ready:function(a){u();c.isReady?a.call(document,
c):c.readyList.push(a);return this},live:function(a,b){b=c.event.proxy(b);b.guid+=this.selector+a;c(document).bind(A(a,this.selector),this.selector,b);return this},die:function(a,b){c(document).unbind(A(a,this.selector),b?{guid:b.guid+this.selector+a}:null);return this}});c.extend({isReady:false,readyList:[],ready:function(){if(!c.isReady){c.isReady=true;if(c.readyList){c.each(c.readyList,function(){this.call(document,c)});c.readyList=null}c(document).triggerHandler("ready")}}});var Y=false;c.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){c.fn[b]=function(e){return e?this.bind(b,e):this.trigger(b)}});c(s).bind("unload",function(){for(var a in c.cache)a!=1&&c.cache[a].handle&&c.event.remove(c.cache[a].handle.elem)});(function(){c.support={};var a=document.documentElement,b=document.createElement("script"),e=document.createElement("div"),g="script"+(new Date).getTime();e.style.display="none";e.innerHTML='   <link/><table></table><a href="/a" style="color:red;float:left;opacity:.5;">a</a><select><option>text</option></select><object><param/></object>';
var n=e.getElementsByTagName("*"),r=e.getElementsByTagName("a")[0];if(!(!n||!n.length||!r)){c.support={leadingWhitespace:e.firstChild.nodeType==3,tbody:!e.getElementsByTagName("tbody").length,objectAll:!!e.getElementsByTagName("object")[0].getElementsByTagName("*").length,htmlSerialize:!!e.getElementsByTagName("link").length,style:/red/.test(r.getAttribute("style")),hrefNormalized:r.getAttribute("href")==="/a",opacity:r.style.opacity==="0.5",cssFloat:!!r.style.cssFloat,scriptEval:false,noCloneEvent:true,
boxModel:null};b.type="text/javascript";try{b.appendChild(document.createTextNode("window."+g+"=1;"))}catch(t){}a.insertBefore(b,a.firstChild);if(s[g]){c.support.scriptEval=true;delete s[g]}a.removeChild(b);if(e.attachEvent&&e.fireEvent){e.attachEvent("onclick",function(){c.support.noCloneEvent=false;e.detachEvent("onclick",arguments.callee)});e.cloneNode(true).fireEvent("onclick")}c(function(){var x=document.createElement("div");x.style.width=x.style.paddingLeft="1px";document.body.appendChild(x);
c.boxModel=c.support.boxModel=x.offsetWidth===2;document.body.removeChild(x).style.display="none"})}})();var R=c.support.cssFloat?"cssFloat":"styleFloat";c.props={"for":"htmlFor","class":"className","float":R,cssFloat:R,styleFloat:R,readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",tabindex:"tabIndex"};c.fn.extend({_load:c.fn.load,load:function(a,b,e){if(typeof a!=="string")return this._load(a);var g=a.indexOf(" ");if(g>=0){var n=a.slice(g,a.length);a=a.slice(0,
g)}g="GET";if(b)if(c.isFunction(b)){e=b;b=null}else if(typeof b==="object"){b=c.param(b);g="POST"}var r=this;c.ajax({url:a,type:g,dataType:"html",data:b,complete:function(t,x){if(x=="success"||x=="notmodified")r.html(n?c("<div/>").append(t.responseText.replace(/<script(.|\s)*?\/script>/g,"")).find(n):t.responseText);e&&r.each(e,[t.responseText,x,t])}});return this},serialize:function(){return c.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?
c.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||/select|textarea/i.test(this.nodeName)||/text|hidden|password|search/i.test(this.type))}).map(function(a,b){a=c(this).val();return a==null?null:c.isArray(a)?c.map(a,function(e){return{name:b.name,value:e}}):{name:b.name,value:a}}).get()}});c.each("ajaxStart,ajaxStop,ajaxComplete,ajaxError,ajaxSuccess,ajaxSend".split(","),function(a,b){c.fn[b]=function(e){return this.bind(b,e)}});var G=h();c.extend({get:function(a,
b,e,g){if(c.isFunction(b)){e=b;b=null}return c.ajax({type:"GET",url:a,data:b,success:e,dataType:g})},getScript:function(a,b){return c.get(a,null,b,"script")},getJSON:function(a,b,e){return c.get(a,b,e,"json")},post:function(a,b,e,g){if(c.isFunction(b)){e=b;b={}}return c.ajax({type:"POST",url:a,data:b,success:e,dataType:g})},ajaxSetup:function(a){c.extend(c.ajaxSettings,a)},ajaxSettings:{url:location.href,global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,
xhr:function(){return s.ActiveXObject?new ActiveXObject("Microsoft.XMLHTTP"):new XMLHttpRequest},accepts:{xml:"application/xml, text/xml",html:"text/html",script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},lastModified:{},ajax:function(a){function b(){a.success&&a.success(t,r);a.global&&c.event.trigger("ajaxSuccess",[E,a])}function e(){a.complete&&a.complete(E,r);a.global&&c.event.trigger("ajaxComplete",[E,a]);a.global&&!--c.active&&
c.event.trigger("ajaxStop")}a=c.extend(true,a,c.extend(true,{},c.ajaxSettings,a));var g,n=/=\?(&|$)/g,r,t,x=a.type.toUpperCase();if(a.data&&a.processData&&typeof a.data!=="string")a.data=c.param(a.data);if(a.dataType=="jsonp"){if(x=="GET")a.url.match(n)||(a.url+=(a.url.match(/\?/)?"&":"?")+(a.jsonp||"callback")+"=?");else if(!a.data||!a.data.match(n))a.data=(a.data?a.data+"&":"")+(a.jsonp||"callback")+"=?";a.dataType="json"}if(a.dataType=="json"&&(a.data&&a.data.match(n)||a.url.match(n))){g="jsonp"+
G++;if(a.data)a.data=(a.data+"").replace(n,"="+g+"$1");a.url=a.url.replace(n,"="+g+"$1");a.dataType="script";s[g]=function(o){t=o;b();e();s[g]=z;try{delete s[g]}catch(v){}L&&L.removeChild(K)}}if(a.dataType=="script"&&a.cache==null)a.cache=false;if(a.cache===false&&x=="GET"){n=h();var F=a.url.replace(/(\?|&)_=.*?(&|$)/,"$1_="+n+"$2");a.url=F+(F==a.url?(a.url.match(/\?/)?"&":"?")+"_="+n:"")}if(a.data&&x=="GET"){a.url+=(a.url.match(/\?/)?"&":"?")+a.data;a.data=null}a.global&&!c.active++&&c.event.trigger("ajaxStart");
n=/^(\w+:)?\/\/([^\/?#]+)/.exec(a.url);if(a.dataType=="script"&&x=="GET"&&n&&(n[1]&&n[1]!=location.protocol||n[2]!=location.host)){var L=document.getElementsByTagName("head")[0],K=document.createElement("script");K.src=a.url;if(a.scriptCharset)K.charset=a.scriptCharset;if(!g){var P=false;K.onload=K.onreadystatechange=function(){if(!P&&(!this.readyState||this.readyState=="loaded"||this.readyState=="complete")){P=true;b();e();K.onload=K.onreadystatechange=null;L.removeChild(K)}}}L.appendChild(K);return z}var S=
false,E=a.xhr();a.username?E.open(x,a.url,a.async,a.username,a.password):E.open(x,a.url,a.async);try{a.data&&E.setRequestHeader("Content-Type",a.contentType);if(a.ifModified)E.setRequestHeader("If-Modified-Since",c.lastModified[a.url]||"Thu, 01 Jan 1970 00:00:00 GMT");E.setRequestHeader("X-Requested-With","XMLHttpRequest");E.setRequestHeader("Accept",a.dataType&&a.accepts[a.dataType]?a.accepts[a.dataType]+", */*":a.accepts._default)}catch(X){}if(a.beforeSend&&a.beforeSend(E,a)===false){a.global&&
!--c.active&&c.event.trigger("ajaxStop");E.abort();return false}a.global&&c.event.trigger("ajaxSend",[E,a]);var f=function(o){if(E.readyState==0){if(l){clearInterval(l);l=null;a.global&&!--c.active&&c.event.trigger("ajaxStop")}}else if(!S&&E&&(E.readyState==4||o=="timeout")){S=true;if(l){clearInterval(l);l=null}r=o=="timeout"?"timeout":!c.httpSuccess(E)?"error":a.ifModified&&c.httpNotModified(E,a.url)?"notmodified":"success";if(r=="success")try{t=c.httpData(E,a.dataType,a)}catch(v){r="parsererror"}if(r==
"success"){var y;try{y=E.getResponseHeader("Last-Modified")}catch(B){}if(a.ifModified&&y)c.lastModified[a.url]=y;g||b()}else c.handleError(a,E,r);e();o&&E.abort();if(a.async)E=null}};if(a.async){var l=setInterval(f,13);a.timeout>0&&setTimeout(function(){E&&!S&&f("timeout")},a.timeout)}try{E.send(a.data)}catch(q){c.handleError(a,E,null,q)}a.async||f();return E},handleError:function(a,b,e,g){a.error&&a.error(b,e,g);a.global&&c.event.trigger("ajaxError",[b,a,g])},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(a,b){try{var e=a.getResponseHeader("Last-Modified");return a.status==304||e==c.lastModified[b]}catch(g){}return false},httpData:function(a,b,e){var g=a.getResponseHeader("content-type");a=(g=b=="xml"||!b&&g&&g.indexOf("xml")>=0)?a.responseXML:a.responseText;if(g&&a.documentElement.tagName=="parsererror")throw"parsererror";if(e&&e.dataFilter)a=e.dataFilter(a,b);if(typeof a===
"string"){b=="script"&&c.globalEval(a);if(b=="json")a=s.eval("("+a+")")}return a},param:function(a){function b(n,r){e[e.length]=encodeURIComponent(n)+"="+encodeURIComponent(r)}var e=[];if(c.isArray(a)||a.jquery)c.each(a,function(){b(this.name,this.value)});else for(var g in a)c.isArray(a[g])?c.each(a[g],function(){b(g,this)}):b(g,c.isFunction(a[g])?a[g]():a[g]);return e.join("&").replace(/%20/g,"+")}});var U={},H,M=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft",
"marginRight","paddingLeft","paddingRight"],["opacity"]];c.fn.extend({show:function(a,b){if(a)return this.animate(p("show",3),a,b);else{a=0;for(b=this.length;a<b;a++){var e=c.data(this[a],"olddisplay");this[a].style.display=e||"";if(c.css(this[a],"display")==="none"){e=this[a].tagName;var g;if(U[e])g=U[e];else{var n=c("<"+e+" />").appendTo("body");g=n.css("display");if(g==="none")g="block";n.remove();U[e]=g}c.data(this[a],"olddisplay",g)}}a=0;for(b=this.length;a<b;a++)this[a].style.display=c.data(this[a],
"olddisplay")||"";return this}},hide:function(a,b){if(a)return this.animate(p("hide",3),a,b);else{a=0;for(b=this.length;a<b;a++){var e=c.data(this[a],"olddisplay");!e&&e!=="none"&&c.data(this[a],"olddisplay",c.css(this[a],"display"))}a=0;for(b=this.length;a<b;a++)this[a].style.display="none";return this}},_toggle:c.fn.toggle,toggle:function(a,b){var e=typeof a==="boolean";return c.isFunction(a)&&c.isFunction(b)?this._toggle.apply(this,arguments):a==null||e?this.each(function(){var g=e?a:c(this).is(":hidden");
c(this)[g?"show":"hide"]()}):this.animate(p("toggle",3),a,b)},fadeTo:function(a,b,e){return this.animate({opacity:b},a,e)},animate:function(a,b,e,g){var n=c.speed(b,e,g);return this[n.queue===false?"each":"queue"](function(){var r=c.extend({},n),t,x=this.nodeType==1&&c(this).is(":hidden"),F=this;for(t in a){if(a[t]=="hide"&&x||a[t]=="show"&&!x)return r.complete.call(this);if((t=="height"||t=="width")&&this.style){r.display=c.css(this,"display");r.overflow=this.style.overflow}}if(r.overflow!=null)this.style.overflow=
"hidden";r.curAnim=c.extend({},a);c.each(a,function(L,K){var P=new c.fx(F,r,L);if(/toggle|show|hide/.test(K))P[K=="toggle"?x?"show":"hide":K](a);else{var S=K.toString().match(/^([+-]=)?([\d+-.]+)(.*)$/),E=P.cur(true)||0;if(S){K=parseFloat(S[2]);var X=S[3]||"px";if(X!="px"){F.style[L]=(K||1)+X;E=(K||1)/P.cur(true)*E;F.style[L]=E+X}if(S[1])K=(S[1]=="-="?-1:1)*K+E;P.custom(E,K,X)}else P.custom(E,K,"")}});return true})},stop:function(a,b){var e=c.timers;a&&this.queue([]);this.each(function(){for(var g=
e.length-1;g>=0;g--)if(e[g].elem==this){b&&e[g](true);e.splice(g,1)}});b||this.dequeue();return this}});c.each({slideDown:p("show",1),slideUp:p("hide",1),slideToggle:p("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(a,b){c.fn[a]=function(e,g){return this.animate(b,e,g)}});c.extend({speed:function(a,b,e){var g=typeof a==="object"?a:{complete:e||!e&&b||c.isFunction(a)&&a,duration:a,easing:e&&b||b&&!c.isFunction(b)&&b};g.duration=c.fx.off?0:typeof g.duration==="number"?g.duration:
c.fx.speeds[g.duration]||c.fx.speeds._default;g.old=g.complete;g.complete=function(){g.queue!==false&&c(this).dequeue();c.isFunction(g.old)&&g.old.call(this)};return g},easing:{linear:function(a,b,e,g){return e+g*a},swing:function(a,b,e,g){return(-Math.cos(a*Math.PI)/2+0.5)*g+e}},timers:[],fx:function(a,b,e){this.options=b;this.elem=a;this.prop=e;if(!b.orig)b.orig={}}});c.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this);(c.fx.step[this.prop]||c.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];return(a=parseFloat(c.css(this.elem,this.prop,a)))&&a>-10000?a:parseFloat(c.curCSS(this.elem,this.prop))||0},custom:function(a,b,e){function g(r){return n.step(r)}this.startTime=h();this.start=a;this.end=b;this.unit=e||this.unit||"px";this.now=this.start;this.pos=this.state=0;var n=
this;g.elem=this.elem;if(g()&&c.timers.push(g)&&!H)H=setInterval(function(){for(var r=c.timers,t=0;t<r.length;t++)r[t]()||r.splice(t--,1);if(!r.length){clearInterval(H);H=z}},13)},show:function(){this.options.orig[this.prop]=c.attr(this.elem.style,this.prop);this.options.show=true;this.custom(this.prop=="width"||this.prop=="height"?1:0,this.cur());c(this.elem).show()},hide:function(){this.options.orig[this.prop]=c.attr(this.elem.style,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(a){var b=
h();if(a||b>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();a=this.options.curAnim[this.prop]=true;for(var e in this.options.curAnim)if(this.options.curAnim[e]!==true)a=false;if(a){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;this.elem.style.display=this.options.display;if(c.css(this.elem,"display")=="none")this.elem.style.display="block"}this.options.hide&&c(this.elem).hide();if(this.options.hide||this.options.show)for(var g in this.options.curAnim)c.attr(this.elem.style,
g,this.options.orig[g]);this.options.complete.call(this.elem)}return false}else{e=b-this.startTime;this.state=e/this.options.duration;this.pos=c.easing[this.options.easing||(c.easing.swing?"swing":"linear")](this.state,e,0,1,this.options.duration);this.now=this.start+(this.end-this.start)*this.pos;this.update()}return true}};c.extend(c.fx,{speeds:{slow:600,fast:200,_default:400},step:{opacity:function(a){c.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}}});c.fn.offset=document.documentElement.getBoundingClientRect?function(){if(!this[0])return{top:0,left:0};if(this[0]===this[0].ownerDocument.body)return c.offset.bodyOffset(this[0]);var a=this[0].getBoundingClientRect(),b=this[0].ownerDocument,e=b.body;b=b.documentElement;return{top:a.top+(self.pageYOffset||c.boxModel&&b.scrollTop||e.scrollTop)-(b.clientTop||e.clientTop||0),left:a.left+(self.pageXOffset||c.boxModel&&b.scrollLeft||e.scrollLeft)-
(b.clientLeft||e.clientLeft||0)}}:function(){if(!this[0])return{top:0,left:0};if(this[0]===this[0].ownerDocument.body)return c.offset.bodyOffset(this[0]);c.offset.initialized||c.offset.initialize();var a=this[0],b=a.offsetParent,e=a.ownerDocument,g,n=e.documentElement,r=e.body;e=e.defaultView;g=e.getComputedStyle(a,null);for(var t=a.offsetTop,x=a.offsetLeft;(a=a.parentNode)&&a!==r&&a!==n;){g=e.getComputedStyle(a,null);t-=a.scrollTop;x-=a.scrollLeft;if(a===b){t+=a.offsetTop;x+=a.offsetLeft;if(c.offset.doesNotAddBorder&&
!(c.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(a.tagName))){t+=parseInt(g.borderTopWidth,10)||0;x+=parseInt(g.borderLeftWidth,10)||0}b=a.offsetParent}if(c.offset.subtractsBorderForOverflowNotVisible&&g.overflow!=="visible"){t+=parseInt(g.borderTopWidth,10)||0;x+=parseInt(g.borderLeftWidth,10)||0}g=g}if(g.position==="relative"||g.position==="static"){t+=r.offsetTop;x+=r.offsetLeft}if(g.position==="fixed"){t+=Math.max(n.scrollTop,r.scrollTop);x+=Math.max(n.scrollLeft,r.scrollLeft)}return{top:t,
left:x}};c.offset={initialize:function(){if(!this.initialized){var a=document.body,b=document.createElement("div"),e,g,n,r=a.style.marginTop;e={position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"};for(g in e)b.style[g]=e[g];b.innerHTML='<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>';
a.insertBefore(b,a.firstChild);e=b.firstChild;g=e.firstChild;n=e.nextSibling.firstChild.firstChild;this.doesNotAddBorder=g.offsetTop!==5;this.doesAddBorderForTableAndCells=n.offsetTop===5;e.style.overflow="hidden";e.style.position="relative";this.subtractsBorderForOverflowNotVisible=g.offsetTop===-5;a.style.marginTop="1px";this.doesNotIncludeMarginInBodyOffset=a.offsetTop===0;a.style.marginTop=r;a.removeChild(b);this.initialized=true}},bodyOffset:function(a){c.offset.initialized||c.offset.initialize();
var b=a.offsetTop,e=a.offsetLeft;if(c.offset.doesNotIncludeMarginInBodyOffset){b+=parseInt(c.curCSS(a,"marginTop",true),10)||0;e+=parseInt(c.curCSS(a,"marginLeft",true),10)||0}return{top:b,left:e}}};c.fn.extend({position:function(){var a;if(this[0]){a=this.offsetParent();var b=this.offset(),e=/^body|html$/i.test(a[0].tagName)?{top:0,left:0}:a.offset();b.top-=k(this,"marginTop");b.left-=k(this,"marginLeft");e.top+=k(a,"borderTopWidth");e.left+=k(a,"borderLeftWidth");a={top:b.top-e.top,left:b.left-
e.left}}return a},offsetParent:function(){for(var a=this[0].offsetParent||document.body;a&&!/^body|html$/i.test(a.tagName)&&c.css(a,"position")=="static";)a=a.offsetParent;return c(a)}});c.each(["Left","Top"],function(a,b){var e="scroll"+b;c.fn[e]=function(g){if(!this[0])return null;return g!==z?this.each(function(){this==s||this==document?s.scrollTo(!a?g:c(s).scrollLeft(),a?g:c(s).scrollTop()):(this[e]=g)}):this[0]==s||this[0]==document?self[a?"pageYOffset":"pageXOffset"]||c.boxModel&&document.documentElement[e]||
document.body[e]:this[0][e]}});c.each(["Height","Width"],function(a,b){var e=b.toLowerCase();c.fn["inner"+b]=function(){return this[0]?c.css(this[0],e,false,"padding"):null};c.fn["outer"+b]=function(n){return this[0]?c.css(this[0],e,false,n?"margin":"border"):null};var g=b.toLowerCase();c.fn[g]=function(n){return this[0]==s?document.compatMode=="CSS1Compat"&&document.documentElement["client"+b]||document.body["client"+b]:this[0]==document?Math.max(document.documentElement["client"+b],document.body["scroll"+
b],document.documentElement["scroll"+b],document.body["offset"+b],document.documentElement["offset"+b]):n===z?this.length?c.css(this[0],g):null:this.css(g,typeof n==="string"?n:n+"px")}})})();jQuery.ui||function(d){function h(p,s,z,C){function I(J){J=d[p][s][J]||[];return typeof J=="string"?J.split(/,?\s+/):J}var c=I("getter");if(C.length==1&&typeof C[0]=="string")c=c.concat(I("getterSetter"));return d.inArray(z,c)!=-1}var k=d.fn.remove,j=d.browser.mozilla&&parseFloat(d.browser.version)<1.9;d.ui={version:"1.7.2",plugin:{add:function(p,s,z){p=d.ui[p].prototype;for(var C in z){p.plugins[C]=p.plugins[C]||[];p.plugins[C].push([s,z[C]])}},call:function(p,s,z){if((s=p.plugins[s])&&p.element[0].parentNode)for(var C=
0;C<s.length;C++)p.options[s[C][0]]&&s[C][1].apply(p.element,z)}},contains:function(p,s){return document.compareDocumentPosition?p.compareDocumentPosition(s)&16:p!==s&&p.contains(s)},hasScroll:function(p,s){if(d(p).css("overflow")=="hidden")return false;s=s&&s=="left"?"scrollLeft":"scrollTop";var z=false;if(p[s]>0)return true;p[s]=1;z=p[s]>0;p[s]=0;return z},isOverAxis:function(p,s,z){return p>s&&p<s+z},isOver:function(p,s,z,C,I,c){return d.ui.isOverAxis(p,z,I)&&d.ui.isOverAxis(s,C,c)},keyCode:{BACKSPACE:8,
CAPS_LOCK:20,COMMA:188,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38}};if(j){var m=d.attr,w=d.fn.removeAttr,A=/^aria-/,u=/^wairole:/;d.attr=function(p,s,z){var C=z!==undefined;return s=="role"?C?m.call(this,p,s,"wairole:"+z):(m.apply(this,arguments)||"").replace(u,""):A.test(s)?C?p.setAttributeNS("http://www.w3.org/2005/07/aaa",
s.replace(A,"aaa:"),z):m.call(this,p,s.replace(A,"aaa:")):m.apply(this,arguments)};d.fn.removeAttr=function(p){return A.test(p)?this.each(function(){this.removeAttributeNS("http://www.w3.org/2005/07/aaa",p.replace(A,""))}):w.call(this,p)}}d.fn.extend({remove:function(){d("*",this).add(this).each(function(){d(this).triggerHandler("remove")});return k.apply(this,arguments)},enableSelection:function(){return this.attr("unselectable","off").css("MozUserSelect","").unbind("selectstart.ui")},disableSelection:function(){return this.attr("unselectable",
"on").css("MozUserSelect","none").bind("selectstart.ui",function(){return false})},scrollParent:function(){var p;p=d.browser.msie&&/(static|relative)/.test(this.css("position"))||/absolute/.test(this.css("position"))?this.parents().filter(function(){return/(relative|absolute|fixed)/.test(d.curCSS(this,"position",1))&&/(auto|scroll)/.test(d.curCSS(this,"overflow",1)+d.curCSS(this,"overflow-y",1)+d.curCSS(this,"overflow-x",1))}).eq(0):this.parents().filter(function(){return/(auto|scroll)/.test(d.curCSS(this,
"overflow",1)+d.curCSS(this,"overflow-y",1)+d.curCSS(this,"overflow-x",1))}).eq(0);return/fixed/.test(this.css("position"))||!p.length?d(document):p}});d.extend(d.expr[":"],{data:function(p,s,z){return!!d.data(p,z[3])},focusable:function(p){var s=p.nodeName.toLowerCase(),z=d.attr(p,"tabindex");return(/input|select|textarea|button|object/.test(s)?!p.disabled:"a"==s||"area"==s?p.href||!isNaN(z):!isNaN(z))&&!d(p)["area"==s?"parents":"closest"](":hidden").length},tabbable:function(p){var s=d.attr(p,"tabindex");
return(isNaN(s)||s>=0)&&d(p).is(":focusable")}});d.widget=function(p,s){var z=p.split(".")[0];p=p.split(".")[1];d.fn[p]=function(C){var I=typeof C=="string",c=Array.prototype.slice.call(arguments,1);if(I&&C.substring(0,1)=="_")return this;if(I&&h(z,p,C,c)){var J=d.data(this[0],p);return J?J[C].apply(J,c):undefined}return this.each(function(){var Q=d.data(this,p);!Q&&!I&&d.data(this,p,new d[z][p](this,C))._init();Q&&I&&d.isFunction(Q[C])&&Q[C].apply(Q,c)})};d[z]=d[z]||{};d[z][p]=function(C,I){var c=
this;this.namespace=z;this.widgetName=p;this.widgetEventPrefix=d[z][p].eventPrefix||p;this.widgetBaseClass=z+"-"+p;this.options=d.extend({},d.widget.defaults,d[z][p].defaults,d.metadata&&d.metadata.get(C)[p],I);this.element=d(C).bind("setData."+p,function(J,Q,aa){if(J.target==C)return c._setData(Q,aa)}).bind("getData."+p,function(J,Q){if(J.target==C)return c._getData(Q)}).bind("remove",function(){return c.destroy()})};d[z][p].prototype=d.extend({},d.widget.prototype,s);d[z][p].getterSetter="option"};
d.widget.prototype={_init:function(){},destroy:function(){this.element.removeData(this.widgetName).removeClass(this.widgetBaseClass+"-disabled "+this.namespace+"-state-disabled").removeAttr("aria-disabled")},option:function(p,s){var z=p,C=this;if(typeof p=="string"){if(s===undefined)return this._getData(p);z={};z[p]=s}d.each(z,function(I,c){C._setData(I,c)})},_getData:function(p){return this.options[p]},_setData:function(p,s){this.options[p]=s;if(p=="disabled")this.element[s?"addClass":"removeClass"](this.widgetBaseClass+
"-disabled "+this.namespace+"-state-disabled").attr("aria-disabled",s)},enable:function(){this._setData("disabled",false)},disable:function(){this._setData("disabled",true)},_trigger:function(p,s,z){var C=this.options[p];p=p==this.widgetEventPrefix?p:this.widgetEventPrefix+p;s=d.Event(s);s.type=p;if(s.originalEvent){p=d.event.props.length;for(var I;p;){I=d.event.props[--p];s[I]=s.originalEvent[I]}}this.element.trigger(s,z);return!(d.isFunction(C)&&C.call(this.element[0],s,z)===false||s.isDefaultPrevented())}};
d.widget.defaults={disabled:false};d.ui.mouse={_mouseInit:function(){var p=this;this.element.bind("mousedown."+this.widgetName,function(s){return p._mouseDown(s)}).bind("click."+this.widgetName,function(s){if(p._preventClickEvent){p._preventClickEvent=false;s.stopImmediatePropagation();return false}});if(d.browser.msie){this._mouseUnselectable=this.element.attr("unselectable");this.element.attr("unselectable","on")}this.started=false},_mouseDestroy:function(){this.element.unbind("."+this.widgetName);
d.browser.msie&&this.element.attr("unselectable",this._mouseUnselectable)},_mouseDown:function(p){p.originalEvent=p.originalEvent||{};if(!p.originalEvent.mouseHandled){this._mouseStarted&&this._mouseUp(p);this._mouseDownEvent=p;var s=this,z=p.which==1,C=typeof this.options.cancel=="string"?d(p.target).parents().add(p.target).filter(this.options.cancel).length:false;if(!z||C||!this._mouseCapture(p))return true;this.mouseDelayMet=!this.options.delay;if(!this.mouseDelayMet)this._mouseDelayTimer=setTimeout(function(){s.mouseDelayMet=
true},this.options.delay);if(this._mouseDistanceMet(p)&&this._mouseDelayMet(p)){this._mouseStarted=this._mouseStart(p)!==false;if(!this._mouseStarted){p.preventDefault();return true}}this._mouseMoveDelegate=function(I){return s._mouseMove(I)};this._mouseUpDelegate=function(I){return s._mouseUp(I)};d(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate);d.browser.safari||p.preventDefault();return p.originalEvent.mouseHandled=true}},
_mouseMove:function(p){if(d.browser.msie&&!p.button)return this._mouseUp(p);if(this._mouseStarted){this._mouseDrag(p);return p.preventDefault()}if(this._mouseDistanceMet(p)&&this._mouseDelayMet(p))(this._mouseStarted=this._mouseStart(this._mouseDownEvent,p)!==false)?this._mouseDrag(p):this._mouseUp(p);return!this._mouseStarted},_mouseUp:function(p){d(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate);if(this._mouseStarted){this._mouseStarted=
false;this._preventClickEvent=p.target==this._mouseDownEvent.target;this._mouseStop(p)}return false},_mouseDistanceMet:function(p){return Math.max(Math.abs(this._mouseDownEvent.pageX-p.pageX),Math.abs(this._mouseDownEvent.pageY-p.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return true}};d.ui.mouse.defaults={cancel:null,distance:1,delay:0}}(jQuery);
(function(d){var h={dragStart:"start.draggable",drag:"drag.draggable",dragStop:"stop.draggable",maxHeight:"maxHeight.resizable",minHeight:"minHeight.resizable",maxWidth:"maxWidth.resizable",minWidth:"minWidth.resizable",resizeStart:"start.resizable",resize:"drag.resizable",resizeStop:"stop.resizable"};d.widget("ui.dialog",{_init:function(){this.originalTitle=this.element.attr("title");var k=this,j=this.options,m=j.title||this.originalTitle||"&nbsp;",w=d.ui.dialog.getTitleId(this.element),A=(this.uiDialog=
d("<div/>")).appendTo(document.body).hide().addClass("ui-dialog ui-widget ui-widget-content ui-corner-all "+j.dialogClass).css({position:"absolute",overflow:"hidden",zIndex:j.zIndex}).attr("tabIndex",-1).css("outline",0).keydown(function(s){j.closeOnEscape&&s.keyCode&&s.keyCode==d.ui.keyCode.ESCAPE&&k.close(s)}).attr({role:"dialog","aria-labelledby":w}).mousedown(function(s){k.moveToTop(false,s)});this.element.show().removeAttr("title").addClass("ui-dialog-content ui-widget-content").appendTo(A);
var u=(this.uiDialogTitlebar=d("<div></div>")).addClass("ui-dialog-titlebar ui-widget-header ui-corner-all ui-helper-clearfix").prependTo(A),p=d('<a href="#"/>').addClass("ui-dialog-titlebar-close ui-corner-all").attr("role","button").hover(function(){p.addClass("ui-state-hover")},function(){p.removeClass("ui-state-hover")}).focus(function(){p.addClass("ui-state-focus")}).blur(function(){p.removeClass("ui-state-focus")}).mousedown(function(s){s.stopPropagation()}).click(function(s){k.close(s);return false}).appendTo(u);
(this.uiDialogTitlebarCloseText=d("<span/>")).addClass("ui-icon ui-icon-closethick").text(j.closeText).appendTo(p);d("<span/>").addClass("ui-dialog-title").attr("id",w).html(m).prependTo(u);u.find("*").add(u).disableSelection();j.draggable&&d.fn.draggable&&this._makeDraggable();j.resizable&&d.fn.resizable&&this._makeResizable();this._createButtons(j.buttons);this._isOpen=false;j.bgiframe&&d.fn.bgiframe&&A.bgiframe();j.autoOpen&&this.open()},destroy:function(){this.overlay&&this.overlay.destroy();
this.uiDialog.hide();this.element.unbind(".dialog").removeData("dialog").removeClass("ui-dialog-content ui-widget-content").hide().appendTo("body");this.uiDialog.remove();this.originalTitle&&this.element.attr("title",this.originalTitle)},close:function(k){var j=this;if(false!==j._trigger("beforeclose",k)){j.overlay&&j.overlay.destroy();j.uiDialog.unbind("keypress.ui-dialog");j.options.hide?j.uiDialog.hide(j.options.hide,function(){j._trigger("close",k)}):j.uiDialog.hide()&&j._trigger("close",k);d.ui.dialog.overlay.resize();
j._isOpen=false;if(j.options.modal){var m=0;d(".ui-dialog").each(function(){if(this!=j.uiDialog[0])m=Math.max(m,d(this).css("z-index"))});d.ui.dialog.maxZ=m}}},isOpen:function(){return this._isOpen},moveToTop:function(k,j){if(this.options.modal&&!k||!this.options.stack&&!this.options.modal)return this._trigger("focus",j);if(this.options.zIndex>d.ui.dialog.maxZ)d.ui.dialog.maxZ=this.options.zIndex;this.overlay&&this.overlay.$el.css("z-index",d.ui.dialog.overlay.maxZ=++d.ui.dialog.maxZ);k={scrollTop:this.element.attr("scrollTop"),
scrollLeft:this.element.attr("scrollLeft")};this.uiDialog.css("z-index",++d.ui.dialog.maxZ);this.element.attr(k);this._trigger("focus",j)},open:function(){if(!this._isOpen){var k=this.options,j=this.uiDialog;this.overlay=k.modal?new d.ui.dialog.overlay(this):null;j.next().length&&j.appendTo("body");this._size();this._position(k.position);j.show(k.show);this.moveToTop(true);k.modal&&j.bind("keypress.ui-dialog",function(m){if(m.keyCode==d.ui.keyCode.TAB){var w=d(":tabbable",this),A=w.filter(":first")[0],
u=w.filter(":last")[0];if(m.target==u&&!m.shiftKey)setTimeout(function(){A.focus()},1);else m.target==A&&m.shiftKey&&setTimeout(function(){u.focus()},1)}});d([]).add(j.find(".ui-dialog-content :tabbable:first")).add(j.find(".ui-dialog-buttonpane :tabbable:first")).add(j).filter(":first").focus();this._trigger("open");this._isOpen=true}},_createButtons:function(k){var j=this,m=false,w=d("<div></div>").addClass("ui-dialog-buttonpane ui-widget-content ui-helper-clearfix");this.uiDialog.find(".ui-dialog-buttonpane").remove();
typeof k=="object"&&k!==null&&d.each(k,function(){return!(m=true)});if(m){d.each(k,function(A,u){d('<button type="button"></button>').addClass("ui-state-default ui-corner-all").text(A).click(function(){u.apply(j.element[0],arguments)}).hover(function(){d(this).addClass("ui-state-hover")},function(){d(this).removeClass("ui-state-hover")}).focus(function(){d(this).addClass("ui-state-focus")}).blur(function(){d(this).removeClass("ui-state-focus")}).appendTo(w)});w.appendTo(this.uiDialog)}},_makeDraggable:function(){var k=
this,j=this.options,m;this.uiDialog.draggable({cancel:".ui-dialog-content",handle:".ui-dialog-titlebar",containment:"document",start:function(){m=j.height;d(this).height(d(this).height()).addClass("ui-dialog-dragging");j.dragStart&&j.dragStart.apply(k.element[0],arguments)},drag:function(){j.drag&&j.drag.apply(k.element[0],arguments)},stop:function(){d(this).removeClass("ui-dialog-dragging").height(m);j.dragStop&&j.dragStop.apply(k.element[0],arguments);d.ui.dialog.overlay.resize()}})},_makeResizable:function(k){k=
k===undefined?this.options.resizable:k;var j=this,m=this.options;this.uiDialog.resizable({cancel:".ui-dialog-content",alsoResize:this.element,maxWidth:m.maxWidth,maxHeight:m.maxHeight,minWidth:m.minWidth,minHeight:m.minHeight,start:function(){d(this).addClass("ui-dialog-resizing");m.resizeStart&&m.resizeStart.apply(j.element[0],arguments)},resize:function(){m.resize&&m.resize.apply(j.element[0],arguments)},handles:typeof k=="string"?k:"n,e,s,w,se,sw,ne,nw",stop:function(){d(this).removeClass("ui-dialog-resizing");
m.height=d(this).height();m.width=d(this).width();m.resizeStop&&m.resizeStop.apply(j.element[0],arguments);d.ui.dialog.overlay.resize()}}).find(".ui-resizable-se").addClass("ui-icon ui-icon-grip-diagonal-se")},_position:function(k){var j=d(window),m=d(document),w=m.scrollTop();m=m.scrollLeft();var A=w;if(d.inArray(k,["center","top","right","bottom","left"])>=0)k=[k=="right"||k=="left"?k:"center",k=="top"||k=="bottom"?k:"middle"];if(k.constructor!=Array)k=["center","middle"];if(k[0].constructor==Number)m+=
k[0];else switch(k[0]){case "left":m+=0;break;case "right":m+=j.width()-this.uiDialog.outerWidth();break;default:case "center":m+=(j.width()-this.uiDialog.outerWidth())/2}if(k[1].constructor==Number)w+=k[1];else switch(k[1]){case "top":w+=0;break;case "bottom":w+=j.height()-this.uiDialog.outerHeight();break;default:case "middle":w+=(j.height()-this.uiDialog.outerHeight())/2}w=Math.max(w,A);this.uiDialog.css({top:w,left:m})},_setData:function(k,j){h[k]&&this.uiDialog.data(h[k],j);switch(k){case "buttons":this._createButtons(j);
break;case "closeText":this.uiDialogTitlebarCloseText.text(j);break;case "dialogClass":this.uiDialog.removeClass(this.options.dialogClass).addClass("ui-dialog ui-widget ui-widget-content ui-corner-all "+j);break;case "draggable":j?this._makeDraggable():this.uiDialog.draggable("destroy");break;case "height":this.uiDialog.height(j);break;case "position":this._position(j);break;case "resizable":var m=this.uiDialog,w=this.uiDialog.is(":data(resizable)");w&&!j&&m.resizable("destroy");w&&typeof j=="string"&&
m.resizable("option","handles",j);w||this._makeResizable(j);break;case "title":d(".ui-dialog-title",this.uiDialogTitlebar).html(j||"&nbsp;");break;case "width":this.uiDialog.width(j);break}d.widget.prototype._setData.apply(this,arguments)},_size:function(){var k=this.options;this.element.css({height:0,minHeight:0,width:"auto"});var j=this.uiDialog.css({height:"auto",width:k.width}).height();this.element.css({minHeight:Math.max(k.minHeight-j,0),height:k.height=="auto"?"auto":Math.max(k.height-j,0)})}});
d.extend(d.ui.dialog,{version:"1.7.2",defaults:{autoOpen:true,bgiframe:false,buttons:{},closeOnEscape:true,closeText:"close",dialogClass:"",draggable:true,hide:null,height:"auto",maxHeight:false,maxWidth:false,minHeight:150,minWidth:150,modal:false,position:"center",resizable:true,show:null,stack:true,title:"",width:300,zIndex:1E3},getter:"isOpen",uuid:0,maxZ:0,getTitleId:function(k){return"ui-dialog-title-"+(k.attr("id")||++this.uuid)},overlay:function(k){this.$el=d.ui.dialog.overlay.create(k)}});
d.extend(d.ui.dialog.overlay,{instances:[],maxZ:0,events:d.map("focus,mousedown,mouseup,keydown,keypress,click".split(","),function(k){return k+".dialog-overlay"}).join(" "),create:function(k){if(this.instances.length===0){setTimeout(function(){d.ui.dialog.overlay.instances.length&&d(document).bind(d.ui.dialog.overlay.events,function(m){return(d(m.target).parents(".ui-dialog").css("zIndex")||0)>d.ui.dialog.overlay.maxZ})},1);d(document).bind("keydown.dialog-overlay",function(m){k.options.closeOnEscape&&
m.keyCode&&m.keyCode==d.ui.keyCode.ESCAPE&&k.close(m)});d(window).bind("resize.dialog-overlay",d.ui.dialog.overlay.resize)}var j=d("<div></div>").appendTo(document.body).addClass("ui-widget-overlay").css({width:this.width(),height:this.height()});k.options.bgiframe&&d.fn.bgiframe&&j.bgiframe();this.instances.push(j);return j},destroy:function(k){this.instances.splice(d.inArray(this.instances,k),1);this.instances.length===0&&d([document,window]).unbind(".dialog-overlay");k.remove();var j=0;d.each(this.instances,
function(){j=Math.max(j,this.css("z-index"))});this.maxZ=j},height:function(){if(d.browser.msie&&d.browser.version<7){var k=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight),j=Math.max(document.documentElement.offsetHeight,document.body.offsetHeight);return k<j?d(window).height()+"px":k+"px"}else return d(document).height()+"px"},width:function(){if(d.browser.msie&&d.browser.version<7){var k=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),j=Math.max(document.documentElement.offsetWidth,
document.body.offsetWidth);return k<j?d(window).width()+"px":k+"px"}else return d(document).width()+"px"},resize:function(){var k=d([]);d.each(d.ui.dialog.overlay.instances,function(){k=k.add(this)});k.css({width:0,height:0}).css({width:d.ui.dialog.overlay.width(),height:d.ui.dialog.overlay.height()})}});d.extend(d.ui.dialog.overlay.prototype,{destroy:function(){d.ui.dialog.overlay.destroy(this.$el)}})})(jQuery);jQuery.easing.jswing=jQuery.easing.swing;
jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(d,h,k,j,m){return jQuery.easing[jQuery.easing.def](d,h,k,j,m)},easeInQuad:function(d,h,k,j,m){return j*(h/=m)*h+k},easeOutQuad:function(d,h,k,j,m){return-j*(h/=m)*(h-2)+k},easeInOutQuad:function(d,h,k,j,m){if((h/=m/2)<1)return j/2*h*h+k;return-j/2*(--h*(h-2)-1)+k},easeInCubic:function(d,h,k,j,m){return j*(h/=m)*h*h+k},easeOutCubic:function(d,h,k,j,m){return j*((h=h/m-1)*h*h+1)+k},easeInOutCubic:function(d,h,k,j,m){if((h/=m/2)<1)return j/
2*h*h*h+k;return j/2*((h-=2)*h*h+2)+k},easeInQuart:function(d,h,k,j,m){return j*(h/=m)*h*h*h+k},easeOutQuart:function(d,h,k,j,m){return-j*((h=h/m-1)*h*h*h-1)+k},easeInOutQuart:function(d,h,k,j,m){if((h/=m/2)<1)return j/2*h*h*h*h+k;return-j/2*((h-=2)*h*h*h-2)+k},easeInQuint:function(d,h,k,j,m){return j*(h/=m)*h*h*h*h+k},easeOutQuint:function(d,h,k,j,m){return j*((h=h/m-1)*h*h*h*h+1)+k},easeInOutQuint:function(d,h,k,j,m){if((h/=m/2)<1)return j/2*h*h*h*h*h+k;return j/2*((h-=2)*h*h*h*h+2)+k},easeInSine:function(d,
h,k,j,m){return-j*Math.cos(h/m*(Math.PI/2))+j+k},easeOutSine:function(d,h,k,j,m){return j*Math.sin(h/m*(Math.PI/2))+k},easeInOutSine:function(d,h,k,j,m){return-j/2*(Math.cos(Math.PI*h/m)-1)+k},easeInExpo:function(d,h,k,j,m){return h==0?k:j*Math.pow(2,10*(h/m-1))+k},easeOutExpo:function(d,h,k,j,m){return h==m?k+j:j*(-Math.pow(2,-10*h/m)+1)+k},easeInOutExpo:function(d,h,k,j,m){if(h==0)return k;if(h==m)return k+j;if((h/=m/2)<1)return j/2*Math.pow(2,10*(h-1))+k;return j/2*(-Math.pow(2,-10*--h)+2)+k},
easeInCirc:function(d,h,k,j,m){return-j*(Math.sqrt(1-(h/=m)*h)-1)+k},easeOutCirc:function(d,h,k,j,m){return j*Math.sqrt(1-(h=h/m-1)*h)+k},easeInOutCirc:function(d,h,k,j,m){if((h/=m/2)<1)return-j/2*(Math.sqrt(1-h*h)-1)+k;return j/2*(Math.sqrt(1-(h-=2)*h)+1)+k},easeInElastic:function(d,h,k,j,m){d=1.70158;var w=0,A=j;if(h==0)return k;if((h/=m)==1)return k+j;w||(w=m*0.3);if(A<Math.abs(j)){A=j;d=w/4}else d=w/(2*Math.PI)*Math.asin(j/A);return-(A*Math.pow(2,10*(h-=1))*Math.sin((h*m-d)*2*Math.PI/w))+k},easeOutElastic:function(d,
h,k,j,m){d=1.70158;var w=0,A=j;if(h==0)return k;if((h/=m)==1)return k+j;w||(w=m*0.3);if(A<Math.abs(j)){A=j;d=w/4}else d=w/(2*Math.PI)*Math.asin(j/A);return A*Math.pow(2,-10*h)*Math.sin((h*m-d)*2*Math.PI/w)+j+k},easeInOutElastic:function(d,h,k,j,m){d=1.70158;var w=0,A=j;if(h==0)return k;if((h/=m/2)==2)return k+j;w||(w=m*0.3*1.5);if(A<Math.abs(j)){A=j;d=w/4}else d=w/(2*Math.PI)*Math.asin(j/A);if(h<1)return-0.5*A*Math.pow(2,10*(h-=1))*Math.sin((h*m-d)*2*Math.PI/w)+k;return A*Math.pow(2,-10*(h-=1))*Math.sin((h*
m-d)*2*Math.PI/w)*0.5+j+k},easeInBack:function(d,h,k,j,m,w){if(w==undefined)w=1.70158;return j*(h/=m)*h*((w+1)*h-w)+k},easeOutBack:function(d,h,k,j,m,w){if(w==undefined)w=1.70158;return j*((h=h/m-1)*h*((w+1)*h+w)+1)+k},easeInOutBack:function(d,h,k,j,m,w){if(w==undefined)w=1.70158;if((h/=m/2)<1)return j/2*h*h*(((w*=1.525)+1)*h-w)+k;return j/2*((h-=2)*h*(((w*=1.525)+1)*h+w)+2)+k},easeInBounce:function(d,h,k,j,m){return j-jQuery.easing.easeOutBounce(d,m-h,0,j,m)+k},easeOutBounce:function(d,h,k,j,m){return(h/=
m)<1/2.75?j*7.5625*h*h+k:h<2/2.75?j*(7.5625*(h-=1.5/2.75)*h+0.75)+k:h<2.5/2.75?j*(7.5625*(h-=2.25/2.75)*h+0.9375)+k:j*(7.5625*(h-=2.625/2.75)*h+0.984375)+k},easeInOutBounce:function(d,h,k,j,m){if(h<m/2)return jQuery.easing.easeInBounce(d,h*2,0,j,m)*0.5+k;return jQuery.easing.easeOutBounce(d,h*2-m,0,j,m)*0.5+j*0.5+k}});(function(d){function h(j,m,w,A){if(!m.busy){var u=j[0].parentNode,p=j[m.currSlide],s=j[m.nextSlide];if(!(u.cycleTimeout===0&&!w)){if(w||!u.cyclePause){m.before.length&&d.each(m.before,function(z,C){C.apply(s,[p,s,m,A])});w=function(){d.browser.msie&&this.style.removeAttribute("filter");d.each(m.after,function(z,C){C.apply(s,[p,s,m,A])})};if(m.nextSlide!=m.currSlide){m.busy=1;d.fn.cycle.custom(p,s,m,w)}w=m.nextSlide+1==j.length;m.nextSlide=w?0:m.nextSlide+1;m.currSlide=w?j.length-1:m.nextSlide-1}if(m.timeout)u.cycleTimeout=
setTimeout(function(){h(j,m,0,!m.rev)},m.timeout)}}}function k(j,m,w){var A=j[0].parentNode,u=A.cycleTimeout;if(u){clearTimeout(u);A.cycleTimeout=0}m.nextSlide=m.currSlide+w;if(m.nextSlide<0)m.nextSlide=j.length-1;else if(m.nextSlide>=j.length)m.nextSlide=0;h(j,m,1,w>=0);return false}d.fn.cycle=function(j){return this.each(function(){j=j||{};this.cycleTimeout&&clearTimeout(this.cycleTimeout);this.cyclePause=this.cycleTimeout=0;var m=d(this),w=j.slideExpr?d(j.slideExpr,this):m.children(),A=w.get();
if(A.length<2)window.console&&window.console.log&&window.console.log("terminating; too few slides: "+A.length);else{var u=d.extend({},d.fn.cycle.defaults,j||{},d.metadata?m.metadata():d.meta?m.data():{});u.before=u.before?[u.before]:[];u.after=u.after?[u.after]:[];u.after.unshift(function(){u.busy=0});var p=this.className;u.width=parseInt((p.match(/w:(\d+)/)||[])[1])||u.width;u.height=parseInt((p.match(/h:(\d+)/)||[])[1])||u.height;u.timeout=parseInt((p.match(/t:(\d+)/)||[])[1])||u.timeout;m.css("position")==
"static"&&m.css("position","relative");u.width&&m.width(u.width);u.height&&u.height!="auto"&&m.height(u.height);w.css({position:"absolute",top:0,left:0}).hide().each(function(s){d(this).css("z-index",A.length-s)});d(A[0]).css("opacity",1).show();d.browser.msie&&A[0].style.removeAttribute("filter");u.fit&&u.width&&w.width(u.width);u.fit&&u.height&&u.height!="auto"&&w.height(u.height);u.pause&&m.hover(function(){this.cyclePause=1},function(){this.cyclePause=0});d.fn.cycle.transitions.fade(m,w,u);w.each(function(){var s=
d(this);this.cycleH=u.fit&&u.height?u.height:s.height();this.cycleW=u.fit&&u.width?u.width:s.width()});w.not(":eq(0)").css({opacity:0});u.cssFirst&&d(w[0]).css(u.cssFirst);if(u.timeout){if(u.speed.constructor==String)u.speed={slow:600,fast:200}[u.speed]||400;for(u.sync||(u.speed/=2);u.timeout-u.speed<250;)u.timeout+=u.speed}u.speedIn=u.speed;u.speedOut=u.speed;u.slideCount=A.length;u.currSlide=0;u.nextSlide=1;m=w[0];u.before.length&&u.before[0].apply(m,[m,m,u,true]);u.after.length>1&&u.after[1].apply(m,
[m,m,u,true]);if(u.click&&!u.next)u.next=u.click;u.next&&d(u.next).bind("click",function(){return k(A,u,u.rev?-1:1)});u.prev&&d(u.prev).bind("click",function(){return k(A,u,u.rev?1:-1)});if(u.timeout)this.cycleTimeout=setTimeout(function(){h(A,u,0,!u.rev)},u.timeout+(u.delay||0))}})};d.fn.cycle.custom=function(j,m,w,A){var u=d(j),p=d(m);p.css({opacity:0});var s=function(){p.animate({opacity:1},w.speedIn,w.easeIn,A)};u.animate({opacity:0},w.speedOut,w.easeOut,function(){u.css({display:"none"});w.sync||
s()});w.sync&&s()};d.fn.cycle.transitions={fade:function(j,m,w){m.not(":eq(0)").css("opacity",0);w.before.push(function(){d(this).show()})}};d.fn.cycle.ver=function(){return"Lite-1.0"};d.fn.cycle.defaults={timeout:4E3,speed:1E3,next:null,prev:null,before:null,after:null,height:"auto",sync:1,fit:0,pause:0,delay:0,slideExpr:null}})(jQuery);(function(d){d.event.special.mousewheel={setup:function(){var h=d.event.special.mousewheel.handler;d.browser.mozilla&&d(this).bind("mousemove.mousewheel",function(k){d.data(this,"mwcursorposdata",{pageX:k.pageX,pageY:k.pageY,clientX:k.clientX,clientY:k.clientY})});if(this.addEventListener)this.addEventListener(d.browser.mozilla?"DOMMouseScroll":"mousewheel",h,false);else this.onmousewheel=h},teardown:function(){var h=d.event.special.mousewheel.handler;d(this).unbind("mousemove.mousewheel");if(this.removeEventListener)this.removeEventListener(d.browser.mozilla?
"DOMMouseScroll":"mousewheel",h,false);else this.onmousewheel=function(){};d.removeData(this,"mwcursorposdata")},handler:function(h){var k=Array.prototype.slice.call(arguments,1);h=d.event.fix(h||window.event);d.extend(h,d.data(this,"mwcursorposdata")||{});var j=0;if(h.wheelDelta)j=h.wheelDelta/120;if(h.detail)j=-h.detail/3;h.data=h.data||{};h.type="mousewheel";k.unshift(j);k.unshift(h);return d.event.handle.apply(this,k)}};d.fn.extend({mousewheel:function(h){return h?this.bind("mousewheel",h):this.trigger("mousewheel")},
unmousewheel:function(h){return this.unbind("mousewheel",h)}})})(jQuery);jQuery(function(d){d.em=d.extend({version:"1.0",delay:200,element:d("<div />").css({left:"-100em",position:"absolute",width:"100em"}).prependTo("body")[0],action:function(){var h=d.em.element.offsetWidth/100;if(h!=d.em.current){d.em.previous=d.em.current;d.em.current=h;d.event.trigger("emchange",[d.em.current,d.em.previous])}}},d.em);d.fn.emchange=function(h){return h?this.bind("emchange",h):this.trigger("emchange")};d.em.current=d.em.element.offsetWidth/100;d.em.iid=setInterval(d.em.action,d.em.delay)});(function(d){d.jScrollPane={active:[]};d.fn.jScrollPane=function(h){h=d.extend({},d.fn.jScrollPane.defaults,h);var k=function(){return false};return this.each(function(){var j=d(this);j.css("overflow","hidden");var m=this;if(d(this).parent().is(".jScrollPaneContainer")){var w=h.maintainPosition?j.position().top:0,A=d(this).parent(),u=A.innerWidth(),p=A.outerHeight(),s=p;d(">.jScrollPaneTrack, >.jScrollArrowUp, >.jScrollArrowDown",A).remove();j.css({top:0})}else{w=0;this.originalPadding=j.css("paddingTop")+
" "+j.css("paddingRight")+" "+j.css("paddingBottom")+" "+j.css("paddingLeft");this.originalSidePaddingTotal=(parseInt(j.css("paddingLeft"))||0)+(parseInt(j.css("paddingRight"))||0);u=j.innerWidth();s=p=j.innerHeight();j.wrap(d("<div></div>").attr({className:"jScrollPaneContainer"}).css({height:p+"px",width:u+"px"}));d(document).bind("emchange",function(){j.jScrollPane(h)})}if(h.reinitialiseOnImageLoad){var z=d.data(m,"jScrollPaneImagesToLoad")||d("img",j),C=[];z.length&&z.each(function(o,v){d(this).bind("load",
function(){if(d.inArray(o,C)==-1){C.push(v);z=d.grep(z,function(y){return y!=v});d.data(m,"jScrollPaneImagesToLoad",z);h.reinitialiseOnImageLoad=false;j.jScrollPane(h)}}).each(function(){if(this.complete||this.complete===undefined)this.src=this.src})})}A={height:"auto",width:u-h.scrollbarWidth-h.scrollbarMargin-this.originalSidePaddingTotal+"px"};if(h.scrollbarOnLeft)A.paddingLeft=h.scrollbarMargin+h.scrollbarWidth+"px";else A.paddingRight=h.scrollbarMargin+"px";j.css(A);var I=j.outerHeight(),c=p/
I;if(c<0.99){var J=j.parent();J.append(d("<div></div>").attr({className:"jScrollPaneTrack"}).css({width:h.scrollbarWidth+"px"}).append(d("<div></div>").attr({className:"jScrollPaneDrag"}).css({width:h.scrollbarWidth+"px"}).append(d("<div></div>").attr({className:"jScrollPaneDragTop"}).css({width:h.scrollbarWidth+"px"}),d("<div></div>").attr({className:"jScrollPaneDragBottom"}).css({width:h.scrollbarWidth+"px"}))));u=d(">.jScrollPaneTrack",J);var Q=d(">.jScrollPaneTrack .jScrollPaneDrag",J);if(h.showArrows){var aa,
W,ea,N,O=function(){if(N>4||N%4==0)r(M+W*H);N++},ca=function(){d("html").unbind("mouseup",ca);aa.removeClass("jScrollActiveArrowButton");clearInterval(ea)},da=function(){d("html").bind("mouseup",ca);aa.addClass("jScrollActiveArrowButton");N=0;O();ea=setInterval(O,100)};J.append(d("<a></a>").attr({href:"javascript:;",className:"jScrollArrowUp"}).css({width:h.scrollbarWidth+"px"}).html("Scroll up").bind("mousedown",function(){aa=d(this);W=-1;da();this.blur();return false}).bind("click",k),d("<a></a>").attr({href:"javascript:;",
className:"jScrollArrowDown"}).css({width:h.scrollbarWidth+"px"}).html("Scroll down").bind("mousedown",function(){aa=d(this);W=1;da();this.blur();return false}).bind("click",k));var Z=d(">.jScrollArrowUp",J),Y=d(">.jScrollArrowDown",J);if(h.arrowSize){s=p-h.arrowSize-h.arrowSize;u.css({height:s+"px",top:h.arrowSize+"px"})}else{A=Z.height();h.arrowSize=A;s=p-A-Y.height();u.css({height:s+"px",top:A+"px"})}}var R=d(this).css({position:"absolute",overflow:"visible"}),G,U,H,M=0,a=c*p/2,b=function(o,v){var y=
v=="X"?"Left":"Top";return o["page"+v]||o["client"+v]+(document.documentElement["scroll"+y]||document.body["scroll"+y])||0},e=function(){return false},g=function(){l();G=Q.offset(false);G.top-=M;U=s-Q[0].offsetHeight;H=2*h.wheelSpeed*U/I},n=function(){d("html").unbind("mouseup",n).unbind("mousemove",t);a=c*p/2;d.browser.msie&&d("html").unbind("dragstart",e).unbind("selectstart",e)},r=function(o){M=o=o<0?0:o>U?U:o;Q.css({top:o+"px"});R.css({top:(p-I)*(o/U)+"px"});j.trigger("scroll");if(h.showArrows){Z[o==
0?"addClass":"removeClass"]("disabled");Y[o==U?"addClass":"removeClass"]("disabled")}},t=function(o){r(b(o,"Y")-G.top-a)};A=Math.max(Math.min(c*(p-h.arrowSize*2),h.dragMaxHeight),h.dragMinHeight);Q.css({height:A+"px"}).bind("mousedown",function(o){g();a=b(o,"Y")-M-G.top;d("html").bind("mouseup",n).bind("mousemove",t);d.browser.msie&&d("html").bind("dragstart",e).bind("selectstart",e);return false});var x,F,L,K=function(){if(F>8||F%4==0)r(M-(M-L)/2);F++},P=function(){clearInterval(x);d("html").unbind("mouseup",
P).unbind("mousemove",S)},S=function(o){L=b(o,"Y")-G.top-a};u.bind("mousedown",function(o){g();S(o);F=0;d("html").bind("mouseup",P).bind("mousemove",S);x=setInterval(K,100);K()});J.bind("mousewheel",function(o,v){g();l();o=M;r(M-v*H);return o==M});var E,X;function f(){var o=(E-M)/h.animateStep;if(o>1||o<-1)r(M+o);else{r(E);l()}}var l=function(){if(X){clearInterval(X);delete E}},q=function(o,v){if(typeof o=="string"){$e=d(o,j);if(!$e.length)return;o=$e.offset().top-j.offset().top}J.scrollTop(0);l();
o=-o/(p-I)*U;if(v||!h.animateTo)r(o);else{E=o;X=setInterval(f,h.animateInterval)}};j[0].scrollTo=q;j[0].scrollBy=function(o){var v=-parseInt(R.css("top"))||0;q(v+o)};g();q(-w,true);d("*",this).bind("focus",function(){for(var o=d(this),v=0;o[0]!=j[0];){v+=o.position().top;o=o.offsetParent()}o=-parseInt(R.css("top"))||0;var y=o+p;if(!(v>o&&v<y)){y=v-h.scrollbarMargin;if(v>o)y+=d(this).height()+15+h.scrollbarMargin-p;q(y)}});location.hash&&q(location.hash);d(document).bind("click",function(o){$target=
d(o.target);if($target.is("a")){o=$target.attr("href");o.substr(0,1)=="#"&&q(o)}});d.jScrollPane.active.push(j[0])}else{j.css({height:p+"px",width:u-this.originalSidePaddingTotal+"px",padding:this.originalPadding});j.parent().unbind("mousewheel")}})};d.fn.jScrollPane.defaults={scrollbarWidth:10,scrollbarMargin:5,wheelSpeed:18,showArrows:false,arrowSize:0,animateTo:false,dragMinHeight:1,dragMaxHeight:99999,animateInterval:100,animateStep:3,maintainPosition:true,scrollbarOnLeft:false,reinitialiseOnImageLoad:false};
d(window).bind("unload",function(){for(var h=d.jScrollPane.active,k=0;k<h.length;k++)h[k].scrollTo=h[k].scrollBy=null})})(jQuery);var $pp_pic_holder,$ppt;
(function(d){function h(k,j){k=k.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");k=(new RegExp("[\\?&]"+k+"=([^&#]*)")).exec(j);return k==null?"":k[1]}d.fn.prettyPhoto=function(k){function j(H){G=d(H);theRel=G.attr("rel");galleryRegExp=/\[(?:.*)\]/;theGallery=galleryRegExp.exec(theRel);isSet=false;setCount=0;C();for(i=0;i<N.length;i++)if(d(N[i]).attr("rel").indexOf(theGallery)!=-1){setCount++;if(setCount>1)isSet=true;if(d(N[i]).attr("href")==G.attr("href")){O=setCount;arrayPosition=i}}aa();$pp_pic_holder.find("p.currentTextHolder").text(O+
k.counter_separator_label+setCount);I();d("#pp_full_res").hide();$pp_pic_holder.find(".pp_loaderIcon").show()}function m(){isSet&&R=="image"?$pp_pic_holder.find(".pp_hoverContainer").fadeIn(k.animationSpeed):$pp_pic_holder.find(".pp_hoverContainer").hide();$pp_pic_holder.find(".pp_details").fadeIn(k.animationSpeed);if(k.showTitle&&hasTitle){$ppt.css({top:$pp_pic_holder.offset().top-22,left:$pp_pic_holder.offset().left+k.padding/2,display:"none"});$ppt.fadeIn(k.animationSpeed)}}function w(){$pp_pic_holder.find(".pp_hoverContainer,.pp_details").fadeOut(k.animationSpeed);
$pp_pic_holder.find("#pp_full_res object,#pp_full_res embed").css("visibility","hidden");$pp_pic_holder.find("#pp_full_res").fadeOut(k.animationSpeed,function(){d(".pp_loaderIcon").show();c()});$ppt.fadeOut(k.animationSpeed)}function A(H){if(H=="previous"){arrayPosition--;O--}else{arrayPosition++;O++}W||(W=true);w();d("a.pp_expand,a.pp_contract").fadeOut(k.animationSpeed,function(){d(this).removeClass("pp_contract").addClass("pp_expand")})}function u(){$pp_pic_holder.find("object,embed").css("visibility",
"hidden");d("div.pp_pic_holder,div.ppt").fadeOut(k.animationSpeed);d("div.pp_overlay").fadeOut(k.animationSpeed,function(){d("div.pp_overlay,div.pp_pic_holder,div.ppt").remove();d.browser.msie&&d.browser.version==6&&d("select").css("visibility","visible");k.callback()});W=true}function p(){if(O==setCount){$pp_pic_holder.find("a.pp_next").css("visibility","hidden");$pp_pic_holder.find("a.pp_arrow_next").addClass("disabled").unbind("click")}else{$pp_pic_holder.find("a.pp_next").css("visibility","visible");
$pp_pic_holder.find("a.pp_arrow_next.disabled").removeClass("disabled").bind("click",function(){A("next");return false})}if(O==1){$pp_pic_holder.find("a.pp_previous").css("visibility","hidden");$pp_pic_holder.find("a.pp_arrow_previous").addClass("disabled").unbind("click")}else{$pp_pic_holder.find("a.pp_previous").css("visibility","visible");$pp_pic_holder.find("a.pp_arrow_previous.disabled").removeClass("disabled").bind("click",function(){A("previous");return false})}$pp_pic_holder.find("p.currentTextHolder").text(O+
k.counter_separator_label+setCount);G=isSet?d(N[arrayPosition]):G;C();G.attr("title")?$pp_pic_holder.find(".pp_description").show().html(unescape(G.attr("title"))):$pp_pic_holder.find(".pp_description").hide().text("");if(G.find("img").attr("alt")&&k.showTitle){hasTitle=true;$ppt.html(unescape(G.find("img").attr("alt")))}else hasTitle=false}function s(H,M){hasBeenResized=false;z(H,M);imageWidth=H;imageHeight=M;windowHeight=d(window).height();windowWidth=d(window).width();if((Y>windowWidth||Z>windowHeight)&&
W&&k.allowresize&&!ea){for(notFitting=hasBeenResized=true;notFitting;){if(Y>windowWidth){imageWidth=windowWidth-200;imageHeight=M/H*imageWidth}else if(Z>windowHeight){imageHeight=windowHeight-200;imageWidth=H/M*imageHeight}else notFitting=false;Z=imageHeight;Y=imageWidth}z(imageWidth,imageHeight)}return{width:imageWidth,height:imageHeight,containerHeight:Z,containerWidth:Y,contentHeight:ca,contentWidth:da,resized:hasBeenResized}}function z(H,M){$pp_pic_holder.find(".pp_details").width(H).find(".pp_description").width(H-
parseFloat($pp_pic_holder.find("a.pp_close").css("width")));ca=M+$pp_pic_holder.find(".pp_details").height()+parseFloat($pp_pic_holder.find(".pp_details").css("marginTop"))+parseFloat($pp_pic_holder.find(".pp_details").css("marginBottom"));da=H;Z=ca+$pp_pic_holder.find(".ppt").height()+$pp_pic_holder.find(".pp_top").height()+$pp_pic_holder.find(".pp_bottom").height();Y=H+k.padding}function C(){R=G.attr("href").match(/youtube\.com\/watch/i)?"youtube":G.attr("href").indexOf(".mov")!=-1?"quicktime":
G.attr("href").indexOf(".swf")!=-1?"flash":G.attr("href").indexOf("iframe")!=-1?"iframe":"image"}function I(){if($pp_pic_holder)if($pp_pic_holder.size()!=0){if(d.browser.opera){windowHeight=window.innerHeight;windowWidth=window.innerWidth}else{windowHeight=d(window).height();windowWidth=d(window).width()}if(W){$pHeight=$pp_pic_holder.height();$pWidth=$pp_pic_holder.width();$tHeight=$ppt.height();projectedTop=windowHeight/2+U.scrollTop-$pHeight/2;if(projectedTop<0)projectedTop=0+$tHeight;$pp_pic_holder.css({top:projectedTop,
left:windowWidth/2+U.scrollLeft-$pWidth/2});$ppt.css({top:projectedTop-$tHeight,left:windowWidth/2+U.scrollLeft-$pWidth/2+k.padding/2})}}}function c(){p();if(R=="image"){imgPreloader=new Image;nextImage=new Image;if(isSet&&O>setCount)nextImage.src=d(N[arrayPosition+1]).attr("href");prevImage=new Image;if(isSet&&N[arrayPosition-1])prevImage.src=d(N[arrayPosition-1]).attr("href");pp_typeMarkup='<img id="fullResImage" src="" />';$pp_pic_holder.find("#pp_full_res")[0].innerHTML=pp_typeMarkup;$pp_pic_holder.find(".pp_content").css("overflow",
"hidden");$pp_pic_holder.find("#fullResImage").attr("src",G.attr("href"));imgPreloader.onload=function(){var H=s(imgPreloader.width,imgPreloader.height);imgPreloader.width=H.width;imgPreloader.height=H.height;showimage(imgPreloader.width,imgPreloader.height,H.containerWidth,H.containerHeight,H.contentHeight,H.contentWidth,H.resized)};imgPreloader.src=G.attr("href")}else{movie_width=parseFloat(h("width",G.attr("href")))?h("width",G.attr("href")):"425";movie_height=parseFloat(h("height",G.attr("href")))?
h("height",G.attr("href")):"344";if(movie_width.indexOf("%")!=-1||movie_height.indexOf("%")!=-1){movie_height=d(window).height()*parseFloat(movie_height)/100-100;movie_width=d(window).width()*parseFloat(movie_width)/100-100;parsentBased=true}else{movie_height=parseFloat(movie_height);movie_width=parseFloat(movie_width)}if(R=="quicktime")movie_height+=13;correctSizes=s(movie_width,movie_height);if(R=="youtube")pp_typeMarkup='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'+correctSizes.width+
'" height="'+correctSizes.height+'"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://www.youtube.com/v/'+h("v",G.attr("href"))+'" /><embed src="http://www.youtube.com/v/'+h("v",G.attr("href"))+'" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="'+correctSizes.width+'" height="'+correctSizes.height+'"></embed></object>';else if(R=="quicktime")pp_typeMarkup='<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" height="'+
correctSizes.height+'" width="'+correctSizes.width+'"><param name="src" value="'+G.attr("href")+'"><param name="autoplay" value="true"><param name="type" value="video/quicktime"><embed src="'+G.attr("href")+'" height="'+correctSizes.height+'" width="'+correctSizes.width+'" autoplay="true" type="video/quicktime" pluginspage="http://www.apple.com/quicktime/download/"></embed></object>';else if(R=="flash"){flash_vars=G.attr("href");flash_vars=flash_vars.substring(G.attr("href").indexOf("flashvars")+
10,G.attr("href").length);filename=G.attr("href");filename=filename.substring(0,filename.indexOf("?"));pp_typeMarkup='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'+correctSizes.width+'" height="'+correctSizes.height+'"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="'+filename+"?"+flash_vars+'" /><embed src="'+filename+"?"+flash_vars+'" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="'+
correctSizes.width+'" height="'+correctSizes.height+'"></embed></object>'}else if(R=="iframe"){movie_url=G.attr("href");movie_url=movie_url.substr(0,movie_url.indexOf("iframe")-1);pp_typeMarkup='<iframe src ="'+movie_url+'" width="'+(correctSizes.width-10)+'" height="'+(correctSizes.height-10)+'" frameborder="no"></iframe>'}$pp_pic_holder.find("#pp_full_res")[0].innerHTML=pp_typeMarkup;showimage(correctSizes.width,correctSizes.height,correctSizes.containerWidth,correctSizes.containerHeight,correctSizes.contentHeight,
correctSizes.contentWidth,correctSizes.resized)}}function J(){if(self.pageYOffset){scrollTop=self.pageYOffset;scrollLeft=self.pageXOffset}else if(document.documentElement&&document.documentElement.scrollTop){scrollTop=document.documentElement.scrollTop;scrollLeft=document.documentElement.scrollLeft}else if(document.body){scrollTop=document.body.scrollTop;scrollLeft=document.body.scrollLeft}return{scrollTop:scrollTop,scrollLeft:scrollLeft}}function Q(){d("div.pp_overlay").css({height:d(document).height(),
width:d(window).width()})}function aa(){toInject="";toInject+="<div class='pp_overlay'></div>";pp_typeMarkup=R=="image"?'<img id="fullResImage" src="" />':"";toInject+='<div class="pp_pic_holder"><div class="pp_top"><div class="pp_left"></div><div class="pp_middle"></div><div class="pp_right"></div></div><div class="pp_content"><a href="#" class="pp_expand" title="Expand the image">Expand</a><div class="pp_loaderIcon"></div><div class="pp_hoverContainer"><a class="pp_next" href="#">next</a><a class="pp_previous" href="#">previous</a></div><div id="pp_full_res">'+
pp_typeMarkup+'</div><div class="pp_details clearfix"><a class="pp_close" href="#">Close</a><p class="pp_description"></p><div class="pp_nav"><a href="#" class="pp_arrow_previous">Previous</a><p class="currentTextHolder">0'+k.counter_separator_label+'0</p><a href="#" class="pp_arrow_next">Next</a></div></div></div><div class="pp_bottom"><div class="pp_left"></div><div class="pp_middle"></div><div class="pp_right"></div></div></div>';toInject+='<div class="ppt"></div>';d("body").append(toInject);$pp_pic_holder=
d(".pp_pic_holder");$ppt=d(".ppt");d("div.pp_overlay").css("height",d(document).height()).bind("click",function(){u()});$pp_pic_holder.css({opacity:0}).addClass(k.theme);d("a.pp_close").bind("click",function(){u();return false});d("a.pp_expand").bind("click",function(){$this=d(this);if($this.hasClass("pp_expand")){$this.removeClass("pp_expand").addClass("pp_contract");W=false}else{$this.removeClass("pp_contract").addClass("pp_expand");W=true}w();$pp_pic_holder.find(".pp_hoverContainer, #pp_full_res, .pp_details").fadeOut(k.animationSpeed,
function(){c()});return false});$pp_pic_holder.find(".pp_previous, .pp_arrow_previous").bind("click",function(){A("previous");return false});$pp_pic_holder.find(".pp_next, .pp_arrow_next").bind("click",function(){A("next");return false});$pp_pic_holder.find(".pp_hoverContainer").css({"margin-left":k.padding/2});isSet||$pp_pic_holder.find(".pp_hoverContainer,.pp_nav").hide();if(d.browser.msie&&d.browser.version==6){d("body").addClass("ie6");d("select").css("visibility","hidden")}d("div.pp_overlay").css("opacity",
0).fadeTo(k.animationSpeed,k.opacity,function(){$pp_pic_holder.css("opacity",0).fadeIn(k.animationSpeed,function(){$pp_pic_holder.attr("style","left:"+$pp_pic_holder.css("left")+";top:"+$pp_pic_holder.css("top")+";");c()})})}var W=true,ea=false,N=[],O=0,ca,da,Z,Y,R="image",G,U=J();d(window).scroll(function(){U=J();I()});d(window).resize(function(){I();Q()});d(document).keypress(function(H){switch(H.keyCode){case 37:if(O==1)return;A("previous");break;case 39:if(O==setCount)return;A("next");break;case 27:u();
break}});k=jQuery.extend({animationSpeed:"normal",padding:40,opacity:0.8,showTitle:true,allowresize:true,counter_separator_label:"/",theme:"light_rounded",callback:function(){}},k);if(d.browser.msie&&d.browser.version==6)k.theme="light_square";d(this).each(function(){N[N.length]=this;d(this).bind("click",function(){j(this);return false})});showimage=function(H,M,a,b,e,g,n){d(".pp_loaderIcon").hide();if(d.browser.opera){windowHeight=window.innerHeight;windowWidth=window.innerWidth}else{windowHeight=
d(window).height();windowWidth=d(window).width()}$pp_pic_holder.find(".pp_content").animate({height:e},k.animationSpeed);projectedTop=U.scrollTop+(windowHeight/2-b/2);if(projectedTop<0)projectedTop=0+$pp_pic_holder.find(".ppt").height();$pp_pic_holder.animate({top:projectedTop,left:windowWidth/2-a/2,width:a},k.animationSpeed,function(){$pp_pic_holder.width(a);$pp_pic_holder.find(".pp_hoverContainer,#fullResImage").height(M).width(H);$pp_pic_holder.find("#pp_full_res").fadeIn(k.animationSpeed,function(){d(this).find("object,embed").css("visibility",
"visible")});m();n&&d("a.pp_expand,a.pp_contract").fadeIn(k.animationSpeed)})}}})(jQuery);$(document).ready(function(){if(!($.browser.msie&&$.browser.version==6)){$('#menu a[class!="promo"] img').mouseover(function(){$(this).attr("src").lastIndexOf("_active")==-1&&$(this).attr("src",root+"images/_b/"+$(this).parent().attr("class")+"_hover.png")});$('#menu a[class!="promo"] img').mouseout(function(){$(this).attr("src").lastIndexOf("_active")==-1&&$(this).attr("src",root+"images/_b/"+$(this).parent().attr("class")+".png")})}$("#content .scroll-pane").jScrollPane();$("#newsletter_button").bind("click",
function(){$("#newsletter_form").show().animate({right:"0px"},{duration:"300",easing:"easeOutCubic"})});$("#newsletter_form .newsletter_close").bind("click",function(){$("#newsletter_form").animate({right:"-270px"},"300","easeOutCubic",function(){$("#newsletter_form").hide()})});$("#newsletter_form .email").bind("focus",function(){$(this).val()=="Votre adresse e-mail"&&$(this).val("")});$("#newsletter_form").bind("submit",function(){$.get(root+"ajax/inscription-newsletter.php",{email:$("#newsletter_form .email").val(),
token:$("#newsletter_form .token").val()},function(d){$("body").append(d);$("#dialog").dialog({buttons:{Ok:function(){$(this).dialog("close").remove()}}})});return false});$("#articles-produits .categories dd").each(function(){var d=$(this).height();$(this).css("height","0");$(this).prev().bind("mouseover",function(){$(this).next().is("dd")&&$(this).next().animate({height:d},{duration:300,queue:false})});$(this).bind("mouseover",function(){$(this).animate({height:d},{duration:300,queue:false})})});
$("#articles-produits .categories dt").bind("mouseout",function(){$(this).next().is("dd")&&$(this).next().animate({height:"0"},{duration:300,queue:false})});$("#articles-produits .categories dd").bind("mouseout",function(){$(this).animate({height:"0"},{duration:300,queue:false})});$("#contact_form").bind("submit",function(){var d=true;$("#contact_form input, #contact_form textarea").removeClass("error");if($("#nom").val().length<1){d=false;$("#nom").addClass("error")}if($("#prenom").val().length<
1){d=false;$("#prenom").addClass("error")}if($("#telephone").val().length<5){d=false;$("#telephone").addClass("error")}if($("#npa").val().length<4){d=false;$("#npa").addClass("error")}if(!/^.+@.+\..+$/i.test($("#email").val())){d=false;$("#email").addClass("error")}if($("#sujet").val().length<1){d=false;$("#sujet").addClass("error")}if($("#message").val().length<15){d=false;$("#message").addClass("error")}if(d){$("#contact_form :enabled").attr("disabled","disabled");$('input[type="image"]').hide();
$.get("ajax/contact-form.php",{entreprise:$("#entreprise").val(),nom:$("#nom").val(),prenom:$("#prenom").val(),telephone:$("#telephone").val(),fax:$("#fax").val(),adresse:$("#adresse").val(),npa:$("#npa").val(),email:$("#email").val(),sujet:$("#sujet").val(),message:$("#message").val()},function(h){h=="ok"?$("#contact_form").slideUp("slow",function(){$("#content .scroll-pane").append('<p class="confirm">Merci pour votre message, nous vous répondrons dès que possible !</p>')}):
$("#content .scroll-pane").append('<p class="error">Une erreur est survenue, votre e-mail n\'a pas pu être envoyé.</p>')})}return false})});