(function(){var W=this,AB,F=W.jQuery,S=W.$,T=W.jQuery=W.$=function(B,A){return new T.fn.init(B,A)},M=/^[^<]*(<(.|\s)+>)[^>]*$|^#([\w-]+)$/,AC=/^.[^:#\[\.,]*$/;T.fn=T.prototype={init:function(a,B){a=a||document;if(a.nodeType){this[0]=a;this.length=1;this.context=a;return this}if(typeof a==="string"){var C=M.exec(a);if(C&&(C[1]||!B)){if(C[1]){a=T.clean([C[1]],B)}else{var A=document.getElementById(C[3]);if(A&&A.id!=C[3]){return T().find(a)}var D=T(A||[]);D.context=document;D.selector=a;return D}}else{return T(B).find(a)}}else{if(T.isFunction(a)){return T(document).ready(a)}}if(a.selector&&a.context){this.selector=a.selector;this.context=a.context}return this.setArray(T.isArray(a)?a:T.makeArray(a))},selector:"",jquery:"1.3.2",size:function(){return this.length},get:function(A){return A===AB?Array.prototype.slice.call(this):this[A]},pushStack:function(C,A,D){var B=T(C);B.prevObject=this;B.context=this.context;if(A==="find"){B.selector=this.selector+(this.selector?" ":"")+D}else{if(A){B.selector=this.selector+"."+A+"("+D+")"}}return B},setArray:function(A){this.length=0;Array.prototype.push.apply(this,A);return this},each:function(A,B){return T.each(this,A,B)},index:function(A){return T.inArray(A&&A.jquery?A[0]:A,this)},attr:function(C,A,B){var D=C;if(typeof C==="string"){if(A===AB){return this[0]&&T[B||"attr"](this[0],C)}else{D={};D[C]=A}}return this.each(function(a){for(C in D){T.attr(B?this.style:this,C,T.prop(this,D[C],B,a,C))}})},css:function(B,A){if((B=="width"||B=="height")&&parseFloat(A)<0){A=AB}return this.attr(B,A,"curCSS")},text:function(A){if(typeof A!=="object"&&A!=null){return this.empty().append((this[0]&&this[0].ownerDocument||document).createTextNode(A))}var B="";T.each(A||this,function(){T.each(this.childNodes,function(){if(this.nodeType!=8){B+=this.nodeType!=1?this.nodeValue:T.fn.text([this])}})});return B},wrapAll:function(B){if(this[0]){var A=T(B,this[0].ownerDocument).clone();if(this[0].parentNode){A.insertBefore(this[0])}A.map(function(){var C=this;while(C.firstChild){C=C.firstChild}return C}).append(this)}return this},wrapInner:function(A){return this.each(function(){T(this).contents().wrapAll(A)})},wrap:function(A){return this.each(function(){T(this).wrapAll(A)})},append:function(){return this.domManip(arguments,true,function(A){if(this.nodeType==1){this.appendChild(A)}})},prepend:function(){return this.domManip(arguments,true,function(A){if(this.nodeType==1){this.insertBefore(A,this.firstChild)}})},before:function(){return this.domManip(arguments,false,function(A){this.parentNode.insertBefore(A,this)})},after:function(){return this.domManip(arguments,false,function(A){this.parentNode.insertBefore(A,this.nextSibling)})},end:function(){return this.prevObject||T([])},push:[].push,sort:[].sort,splice:[].splice,find:function(B){if(this.length===1){var A=this.pushStack([],"find",B);A.length=0;T.find(B,this[0],A);return A}else{return this.pushStack(T.unique(T.map(this,function(C){return T.find(B,C)})),"find",B)}},clone:function(B){var D=this.map(function(){if(!T.support.noCloneEvent&&!T.isXMLDoc(this)){var b=this.outerHTML;if(!b){var a=this.ownerDocument.createElement("div");a.appendChild(this.cloneNode(true));b=a.innerHTML}return T.clean([b.replace(/ jQuery\d+="(?:\d+|null)"/g,"").replace(/^\s*/,"")])[0]}else{return this.cloneNode(true)}});if(B===true){var A=this.find("*").andSelf(),C=0;D.find("*").andSelf().each(function(){if(this.nodeName!==A[C].nodeName){return }var c=T.data(A[C],"events");for(var a in c){for(var b in c[a]){T.event.add(this,a,c[a][b],c[a][b].data)}}C++})}return D},filter:function(A){return this.pushStack(T.isFunction(A)&&T.grep(this,function(B,C){return A.call(B,C)})||T.multiFilter(A,T.grep(this,function(B){return B.nodeType===1})),"filter",A)},closest:function(C){var A=T.expr.match.POS.test(C)?T(C):null,B=0;return this.map(function(){var D=this;while(D&&D.ownerDocument){if(A?A.index(D)>-1:T(D).is(C)){T.data(D,"closest",B);return D}D=D.parentNode;B++}})},not:function(B){if(typeof B==="string"){if(AC.test(B)){return this.pushStack(T.multiFilter(B,this,true),"not",B)}else{B=T.multiFilter(B,this)}}var A=B.length&&B[B.length-1]!==AB&&!B.nodeType;return this.filter(function(){return A?T.inArray(this,B)<0:this!=B})},add:function(A){return this.pushStack(T.unique(T.merge(this.get(),typeof A==="string"?T(A):T.makeArray(A))))},is:function(A){return !!A&&T.multiFilter(A,this).length>0},hasClass:function(A){return !!A&&this.is("."+A)},val:function(C){if(C===AB){var e=this[0];if(e){if(T.nodeName(e,"option")){return(e.attributes.value||{}).specified?e.value:e.text}if(T.nodeName(e,"select")){var a=e.selectedIndex,B=[],A=e.options,b=e.type=="select-one";if(a<0){return null}for(var d=b?a:0,D=b?a+1:A.length;d<D;d++){var c=A[d];if(c.selected){C=T(c).val();if(b){return C}B.push(C)}}return B}return(e.value||"").replace(/\r/g,"")}return AB}if(typeof C==="number"){C+=""}return this.each(function(){if(this.nodeType!=1){return }if(T.isArray(C)&&/radio|checkbox/.test(this.type)){this.checked=(T.inArray(this.value,C)>=0||T.inArray(this.name,C)>=0)}else{if(T.nodeName(this,"select")){var f=T.makeArray(C);T("option",this).each(function(){this.selected=(T.inArray(this.value,f)>=0||T.inArray(this.text,f)>=0)});if(!f.length){this.selectedIndex=-1}}else{this.value=C}}})},html:function(A){return A===AB?(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(T.map(this,function(B,C){return A.call(B,C,B)}))},andSelf:function(){return this.add(this.prevObject)},domManip:function(D,A,B){if(this[0]){var a=(this[0].ownerDocument||this[0]).createDocumentFragment(),d=T.clean(D,(this[0].ownerDocument||this[0]),a),b=a.firstChild;if(b){for(var c=0,e=this.length;c<e;c++){B.call(C(this[c],b),this.length>1||c>0?a.cloneNode(true):a)}}if(d){T.each(d,E)}}return this;function C(g,f){return A&&T.nodeName(g,"table")&&T.nodeName(f,"tr")?(g.getElementsByTagName("tbody")[0]||g.appendChild(g.ownerDocument.createElement("tbody"))):g}}};T.fn.init.prototype=T.fn;function E(B,A){if(A.src){T.ajax({url:A.src,async:false,dataType:"script"})}else{T.globalEval(A.text||A.textContent||A.innerHTML||"")}if(A.parentNode){A.parentNode.removeChild(A)}}function AD(){return +new Date}T.extend=T.fn.extend=function(){var C=arguments[0]||{},a=1,D=arguments.length,d=false,b;if(typeof C==="boolean"){d=C;C=arguments[1]||{};a=2}if(typeof C!=="object"&&!T.isFunction(C)){C={}}if(D==a){C=this;--a}for(;a<D;a++){if((b=arguments[a])!=null){for(var c in b){var B=C[c],A=b[c];if(C===A){continue}if(d&&A&&typeof A==="object"&&!A.nodeType){C[c]=T.extend(d,B||(A.length!=null?[]:{}),A)}else{if(A!==AB){C[c]=A}}}}}return C};var AG=/z-?index|font-?weight|opacity|zoom|line-?height/i,Q=document.defaultView||{},L=Object.prototype.toString;T.extend({noConflict:function(A){W.$=S;if(A){W.jQuery=F}return T},isFunction:function(A){return L.call(A)==="[object Function]"},isArray:function(A){return L.call(A)==="[object Array]"},isXMLDoc:function(A){return A.nodeType===9&&A.documentElement.nodeName!=="HTML"||!!A.ownerDocument&&T.isXMLDoc(A.ownerDocument)},globalEval:function(A){if(A&&/\S/.test(A)){var B=document.getElementsByTagName("head")[0]||document.documentElement,C=document.createElement("script");C.type="text/javascript";if(T.support.scriptEval){C.appendChild(document.createTextNode(A))}else{C.text=A}B.insertBefore(C,B.firstChild);B.removeChild(C)}},nodeName:function(A,B){return A.nodeName&&A.nodeName.toUpperCase()==B.toUpperCase()},each:function(a,A,b){var c,D=0,C=a.length;if(b){if(C===AB){for(c in a){if(A.apply(a[c],b)===false){break}}}else{for(;D<C;){if(A.apply(a[D++],b)===false){break}}}}else{if(C===AB){for(c in a){if(A.call(a[c],c,a[c])===false){break}}}else{for(var B=a[0];D<C&&A.call(B,D,B)!==false;B=a[++D]){}}}return a},prop:function(B,A,C,D,a){if(T.isFunction(A)){A=A.call(B,D)}return typeof A==="number"&&C=="curCSS"&&!AG.test(a)?A+"px":A},className:{add:function(B,A){T.each((A||"").split(/\s+/),function(D,C){if(B.nodeType==1&&!T.className.has(B.className,C)){B.className+=(B.className?" ":"")+C}})},remove:function(B,A){if(B.nodeType==1){B.className=A!==AB?T.grep(B.className.split(/\s+/),function(C){return !T.className.has(A,C)}).join(" "):""}},has:function(A,B){return A&&T.inArray(B,(A.className||A).toString().split(/\s+/))>-1}},swap:function(B,C,A){var a={};for(var D in C){a[D]=B.style[D];B.style[D]=C[D]}A.call(B);for(var D in C){B.style[D]=a[D]}},css:function(a,c,C,d){if(c=="width"||c=="height"){var A,b={position:"absolute",visibility:"hidden",display:"block"},B=c=="width"?["Left","Right"]:["Top","Bottom"];function D(){A=c=="width"?a.offsetWidth:a.offsetHeight;if(d==="border"){return }T.each(B,function(){if(!d){A-=parseFloat(T.curCSS(a,"padding"+this,true))||0}if(d==="margin"){A+=parseFloat(T.curCSS(a,"margin"+this,true))||0}else{A-=parseFloat(T.curCSS(a,"border"+this+"Width",true))||0}})}if(a.offsetWidth!==0){D()}else{T.swap(a,b,D)}return Math.max(0,Math.round(A))}return T.curCSS(a,c,C)},curCSS:function(a,d,c){var B,e=a.style;if(d=="opacity"&&!T.support.opacity){B=T.attr(e,"opacity");return B==""?"1":B}if(d.match(/float/i)){d=H}if(!c&&e&&e[d]){B=e[d]}else{if(Q.getComputedStyle){if(d.match(/float/i)){d="float"}d=d.replace(/([A-Z])/g,"-$1").toLowerCase();var A=Q.getComputedStyle(a,null);if(A){B=A.getPropertyValue(d)}if(d=="opacity"&&B==""){B="1"}}else{if(a.currentStyle){var D=d.replace(/\-(\w)/g,function(g,f){return f.toUpperCase()});B=a.currentStyle[d]||a.currentStyle[D];if(!/^\d+(px)?$/i.test(B)&&/^\d/.test(B)){var b=e.left,C=a.runtimeStyle.left;a.runtimeStyle.left=a.currentStyle.left;e.left=B||0;B=e.pixelLeft+"px";e.left=b;a.runtimeStyle.left=C}}}}return B},clean:function(c,B,D){B=B||document;if(typeof B.createElement==="undefined"){B=B.ownerDocument||B[0]&&B[0].ownerDocument||document}if(!D&&c.length===1&&typeof c[0]==="string"){var a=/^<(\w+)\s*\/?>$/.exec(c[0]);if(a){return[B.createElement(a[1])]}}var b=[],d=[],A=B.createElement("div");T.each(c,function(h,e){if(typeof e==="number"){e+=""}if(!e){return }if(typeof e==="string"){e=e.replace(/(<(\w+)[^>]*?)\/>/g,function(n,m,o){return o.match(/^(abbr|br|col|img|input|link|meta|param|hr|area|embed)$/i)?n:m+"></"+o+">"});var j=e.replace(/^\s+/,"").substring(0,10).toLowerCase();var g=!j.indexOf("<opt")&&[1,"<select multiple='multiple'>","</select>"]||!j.indexOf("<leg")&&[1,"<fieldset>","</fieldset>"]||j.match(/^<(thead|tbody|tfoot|colg|cap)/)&&[1,"<table>","</table>"]||!j.indexOf("<tr")&&[2,"<table><tbody>","</tbody></table>"]||(!j.indexOf("<td")||!j.indexOf("<th"))&&[3,"<table><tbody><tr>","</tr></tbody></table>"]||!j.indexOf("<col")&&[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"]||!T.support.htmlSerialize&&[1,"div<div>","</div>"]||[0,"",""];A.innerHTML=g[1]+e+g[2];while(g[0]--){A=A.lastChild}if(!T.support.tbody){var f=/<tbody/i.test(e),k=!j.indexOf("<table")&&!f?A.firstChild&&A.firstChild.childNodes:g[1]=="<table>"&&!f?A.childNodes:[];for(var l=k.length-1;l>=0;--l){if(T.nodeName(k[l],"tbody")&&!k[l].childNodes.length){k[l].parentNode.removeChild(k[l])}}}if(!T.support.leadingWhitespace&&/^\s/.test(e)){A.insertBefore(B.createTextNode(e.match(/^\s*/)[0]),A.firstChild)}e=T.makeArray(A.childNodes)}if(e.nodeType){b.push(e)}else{b=T.merge(b,e)}});if(D){for(var C=0;b[C];C++){if(T.nodeName(b[C],"script")&&(!b[C].type||b[C].type.toLowerCase()==="text/javascript")){d.push(b[C].parentNode?b[C].parentNode.removeChild(b[C]):b[C])}else{if(b[C].nodeType===1){b.splice.apply(b,[C+1,0].concat(T.makeArray(b[C].getElementsByTagName("script"))))}D.appendChild(b[C])}}return d}return b},attr:function(C,b,B){if(!C||C.nodeType==3||C.nodeType==8){return AB}var a=!T.isXMLDoc(C),A=B!==AB;b=a&&T.props[b]||b;if(C.tagName){var c=/href|src|style/.test(b);if(b=="selected"&&C.parentNode){C.parentNode.selectedIndex}if(b in C&&a&&!c){if(A){if(b=="type"&&T.nodeName(C,"input")&&C.parentNode){throw"type property can't be changed"}C[b]=B}if(T.nodeName(C,"form")&&C.getAttributeNode(b)){return C.getAttributeNode(b).nodeValue}if(b=="tabIndex"){var D=C.getAttributeNode("tabIndex");return D&&D.specified?D.value:C.nodeName.match(/(button|input|object|select|textarea)/i)?0:C.nodeName.match(/^(a|area)$/i)&&C.href?0:AB}return C[b]}if(!T.support.style&&a&&b=="style"){return T.attr(C.style,"cssText",B)}if(A){C.setAttribute(b,""+B)}var d=!T.support.hrefNormalized&&a&&c?C.getAttribute(b,2):C.getAttribute(b);return d===null?AB:d}if(!T.support.opacity&&b=="opacity"){if(A){C.zoom=1;C.filter=(C.filter||"").replace(/alpha\([^)]*\)/,"")+(parseInt(B)+""=="NaN"?"":"alpha(opacity="+B*100+")")}return C.filter&&C.filter.indexOf("opacity=")>=0?(parseFloat(C.filter.match(/opacity=([^)]*)/)[1])/100)+"":""}b=b.replace(/-([a-z])/ig,function(f,e){return e.toUpperCase()});if(A){C[b]=B}return C[b]},trim:function(A){return(A||"").replace(/^\s+|\s+$/g,"")},makeArray:function(A){var C=[];if(A!=null){var B=A.length;if(B==null||typeof A==="string"||T.isFunction(A)||A.setInterval){C[0]=A}else{while(B){C[--B]=A[B]}}}return C},inArray:function(B,A){for(var D=0,C=A.length;D<C;D++){if(A[D]===B){return D}}return -1},merge:function(B,a){var D=0,C,A=B.length;if(!T.support.getAll){while((C=a[D++])!=null){if(C.nodeType!=8){B[A++]=C}}}else{while((C=a[D++])!=null){B[A++]=C}}return B},unique:function(A){var b=[],c={};try{for(var a=0,D=A.length;a<D;a++){var B=T.data(A[a]);if(!c[B]){c[B]=true;b.push(A[a])}}}catch(C){b=A}return b},grep:function(a,A,b){var D=[];for(var C=0,B=a.length;C<B;C++){if(!b!=!A(a[C],C)){D.push(a[C])}}return D},map:function(b,A){var a=[];for(var D=0,C=b.length;D<C;D++){var B=A(b[D],D);if(B!=null){a[a.length]=B}}return a.concat.apply([],a)}});var O=navigator.userAgent.toLowerCase();T.browser={version:(O.match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||[0,"0"])[1],safari:/webkit/.test(O),opera:/opera/.test(O),msie:/msie/.test(O)&&!/opera/.test(O),mozilla:/mozilla/.test(O)&&!/(compatible|webkit)/.test(O)};T.each({parent:function(A){return A.parentNode},parents:function(A){return T.dir(A,"parentNode")},next:function(A){return T.nth(A,2,"nextSibling")},prev:function(A){return T.nth(A,2,"previousSibling")},nextAll:function(A){return T.dir(A,"nextSibling")},prevAll:function(A){return T.dir(A,"previousSibling")},siblings:function(A){return T.sibling(A.parentNode.firstChild,A)},children:function(A){return T.sibling(A.firstChild)},contents:function(A){return T.nodeName(A,"iframe")?A.contentDocument||A.contentWindow.document:T.makeArray(A.childNodes)}},function(B,A){T.fn[B]=function(D){var C=T.map(this,A);if(D&&typeof D=="string"){C=T.multiFilter(D,C)}return this.pushStack(T.unique(C),B,D)}});T.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(B,A){T.fn[B]=function(d){var a=[],C=T(d);for(var D=0,c=C.length;D<c;D++){var b=(D>0?this.clone(true):this).get();T.fn[A].apply(T(C[D]),b);a=a.concat(b)}return this.pushStack(a,B,d)}});T.each({removeAttr:function(A){T.attr(this,A,"");if(this.nodeType==1){this.removeAttribute(A)}},addClass:function(A){T.className.add(this,A)},removeClass:function(A){T.className.remove(this,A)},toggleClass:function(A,B){if(typeof B!=="boolean"){B=!T.className.has(this,A)}T.className[B?"add":"remove"](this,A)},remove:function(A){if(!A||T.filter(A,[this]).length){T("*",this).add([this]).each(function(){T.event.remove(this);T.removeData(this)});if(this.parentNode){this.parentNode.removeChild(this)}}},empty:function(){T(this).children().remove();while(this.firstChild){this.removeChild(this.firstChild)}}},function(B,A){T.fn[B]=function(){return this.each(A,arguments)}});function Y(B,A){return B[0]&&parseInt(T.curCSS(B[0],A,true),10)||0}var AA="jQuery"+AD(),I=0,R={};T.extend({cache:{},data:function(C,D,B){C=C==W?R:C;var A=C[AA];if(!A){A=C[AA]=++I}if(D&&!T.cache[A]){T.cache[A]={}}if(B!==AB){T.cache[A][D]=B}return D?T.cache[A][D]:A},removeData:function(C,D){C=C==W?R:C;var A=C[AA];if(D){if(T.cache[A]){delete T.cache[A][D];D="";for(D in T.cache[A]){break}if(!D){T.removeData(C)}}}else{try{delete C[AA]}catch(B){if(C.removeAttribute){C.removeAttribute(AA)}}delete T.cache[A]}},queue:function(C,D,A){if(C){D=(D||"fx")+"queue";var B=T.data(C,D);if(!B||T.isArray(A)){B=T.data(C,D,T.makeArray(A))}else{if(A){B.push(A)}}}return B},dequeue:function(A,B){var D=T.queue(A,B),C=D.shift();if(!B||B==="fx"){C=D[0]}if(C!==AB){C.call(A)}}});T.fn.extend({data:function(D,B){var A=D.split(".");A[1]=A[1]?"."+A[1]:"";if(B===AB){var C=this.triggerHandler("getData"+A[1]+"!",[A[0]]);if(C===AB&&this.length){C=T.data(this[0],D)}return C===AB&&A[1]?this.data(A[0]):C}else{return this.trigger("setData"+A[1]+"!",[A[0],B]).each(function(){T.data(this,D,B)})}},removeData:function(A){return this.each(function(){T.removeData(this,A)})},queue:function(B,A){if(typeof B!=="string"){A=B;B="fx"}if(A===AB){return T.queue(this[0],B)}return this.each(function(){var C=T.queue(this,B,A);if(B=="fx"&&C.length==1){C[0].call(this)}})},dequeue:function(A){return this.each(function(){T.dequeue(this,A)})}});(function(){var B=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?/g,d=0,h=Object.prototype.toString;var k=function(o,s,AJ,AI){AJ=AJ||[];s=s||document;if(s.nodeType!==1&&s.nodeType!==9){return[]}if(!o||typeof o!=="string"){return AJ}var n=[],q,x,u,t,z,r,p=true;B.lastIndex=0;while((q=B.exec(o))!==null){n.push(q[1]);if(q[2]){r=RegExp.rightContext;break}}if(n.length>1&&c.exec(o)){if(n.length===2&&g.relative[n[0]]){x=f(n[0]+n[1],s)}else{x=g.relative[n[0]]?[s]:k(n.shift(),s);while(n.length){o=n.shift();if(g.relative[o]){o+=n.shift()}x=f(o,x)}}}else{var y=AI?{expr:n.pop(),set:l(AI)}:k.find(n.pop(),n.length===1&&s.parentNode?s.parentNode:s,C(s));x=k.filter(y.expr,y.set);if(n.length>0){u=l(x)}else{p=false}while(n.length){var v=n.pop(),w=v;if(!g.relative[v]){v=""}else{w=n.pop()}if(w==null){w=s}g.relative[v](u,w,C(s))}}if(!u){u=x}if(!u){throw"Syntax error, unrecognized expression: "+(v||o)}if(h.call(u)==="[object Array]"){if(!p){AJ.push.apply(AJ,u)}else{if(s.nodeType===1){for(var m=0;u[m]!=null;m++){if(u[m]&&(u[m]===true||u[m].nodeType===1&&e(s,u[m]))){AJ.push(x[m])}}}else{for(var m=0;u[m]!=null;m++){if(u[m]&&u[m].nodeType===1){AJ.push(x[m])}}}}}else{l(u,AJ)}if(r){k(r,s,AJ,AI);if(j){hasDuplicate=false;AJ.sort(j);if(hasDuplicate){for(var m=1;m<AJ.length;m++){if(AJ[m]===AJ[m-1]){AJ.splice(m--,1)}}}}}return AJ};k.matches=function(n,m){return k(n,null,null,m)};k.find=function(m,t,u){var n,p;if(!m){return[]}for(var q=0,r=g.order.length;q<r;q++){var o=g.order[q],p;if((p=g.match[o].exec(m))){var s=RegExp.leftContext;if(s.substr(s.length-1)!=="\\"){p[1]=(p[1]||"").replace(/\\/g,"");n=g.find[o](p,t,u);if(n!=null){m=m.replace(g.match[o],"");break}}}}if(!n){n=t.getElementsByTagName("*")}return{set:n,expr:m}};k.filter=function(z,AI,w,q){var r=z,u=[],m=AI,o,t,n=AI&&AI[0]&&C(AI[0]);while(z&&AI.length){for(var AJ in g.filter){if((o=g.match[AJ].exec(z))!=null){var s=g.filter[AJ],v,x;t=false;if(m==u){u=[]}if(g.preFilter[AJ]){o=g.preFilter[AJ](o,m,w,u,q,n);if(!o){t=v=true}else{if(o===true){continue}}}if(o){for(var p=0;(x=m[p])!=null;p++){if(x){v=s(x,o,p,m);var y=q^!!v;if(w&&v!=null){if(y){t=true}else{m[p]=false}}else{if(y){u.push(x);t=true}}}}}if(v!==AB){if(!w){m=u}z=z.replace(g.match[AJ],"");if(!t){return[]}break}}}if(z==r){if(t==null){throw"Syntax error, unrecognized expression: "+z}else{break}}r=z}return m};var g=k.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF_-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF_-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF_-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF_-]|\\.)+)\s*(?:(\S?=)\s*(['"]*)(.*?)\3|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*_-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\((even|odd|[\dn+-]*)\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF_-]|\\.)+)(?:\((['"]*)((?:\([^\)]+\)|[^\2\(\)]*)+)\2\))?/},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(m){return m.getAttribute("href")}},relative:{"+":function(m,t,n){var p=typeof t==="string",u=p&&!/\W/.test(t),o=p&&!u;if(u&&!n){t=t.toUpperCase()}for(var q=0,r=m.length,s;q<r;q++){if((s=m[q])){while((s=s.previousSibling)&&s.nodeType!==1){}m[q]=o||s&&s.nodeName===t?s||false:s===t}}if(o){k.filter(t,m,true)}},">":function(r,o,q){var t=typeof o==="string";if(t&&!/\W/.test(o)){o=q?o:o.toUpperCase();for(var n=0,p=r.length;n<p;n++){var s=r[n];if(s){var m=s.parentNode;r[n]=m.nodeName===o?m:false}}}else{for(var n=0,p=r.length;n<p;n++){var s=r[n];if(s){r[n]=t?s.parentNode:s.parentNode===o}}if(t){k.filter(o,r,true)}}},"":function(m,o,q){var n=d++,p=A;if(!o.match(/\W/)){var r=o=q?o:o.toUpperCase();p=D}p("parentNode",o,n,m,r,q)},"~":function(m,o,q){var n=d++,p=A;if(typeof o==="string"&&!o.match(/\W/)){var r=o=q?o:o.toUpperCase();p=D}p("previousSibling",o,n,m,r,q)}},find:{ID:function(o,n,m){if(typeof n.getElementById!=="undefined"&&!m){var p=n.getElementById(o[1]);return p?[p]:[]}},NAME:function(n,r,q){if(typeof r.getElementsByName!=="undefined"){var o=[],s=r.getElementsByName(n[1]);for(var m=0,p=s.length;m<p;m++){if(s[m].getAttribute("name")===n[1]){o.push(s[m])}}return o.length===0?null:o}},TAG:function(n,m){return m.getElementsByTagName(n[1])}},preFilter:{CLASS:function(m,o,n,p,r,q){m=" "+m[1].replace(/\\/g,"")+" ";if(q){return m}for(var t=0,s;(s=o[t])!=null;t++){if(s){if(r^(s.className&&(" "+s.className+" ").indexOf(m)>=0)){if(!n){p.push(s)}}else{if(n){o[t]=false}}}}return false},ID:function(m){return m[1].replace(/\\/g,"")},TAG:function(n,o){for(var m=0;o[m]===false;m++){}return o[m]&&C(o[m])?n[1]:n[1].toUpperCase()},CHILD:function(n){if(n[1]=="nth"){var m=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(n[2]=="even"&&"2n"||n[2]=="odd"&&"2n+1"||!/\D/.test(n[2])&&"0n+"+n[2]||n[2]);n[2]=(m[1]+(m[2]||1))-0;n[3]=m[3]-0}n[0]=d++;return n},ATTR:function(s,o,n,p,r,q){var m=s[1].replace(/\\/g,"");if(!q&&g.attrMap[m]){s[1]=g.attrMap[m]}if(s[2]==="~="){s[4]=" "+s[4]+" "}return s},PSEUDO:function(r,o,n,p,q){if(r[1]==="not"){if(r[3].match(B).length>1||/^\w/.test(r[3])){r[3]=k(r[3],null,null,o)}else{var m=k.filter(r[3],o,n,true^q);if(!n){p.push.apply(p,m)}return false}}else{if(g.match.POS.test(r[0])||g.match.CHILD.test(r[0])){return true}}return r},POS:function(m){m.unshift(true);return m}},filters:{enabled:function(m){return m.disabled===false&&m.type!=="hidden"},disabled:function(m){return m.disabled===true},checked:function(m){return m.checked===true},selected:function(m){m.parentNode.selectedIndex;return m.selected===true},parent:function(m){return !!m.firstChild},empty:function(m){return !m.firstChild},has:function(m,n,o){return !!k(o[3],m).length},header:function(m){return/h\d/i.test(m.nodeName)},text:function(m){return"text"===m.type},radio:function(m){return"radio"===m.type},checkbox:function(m){return"checkbox"===m.type},file:function(m){return"file"===m.type},password:function(m){return"password"===m.type},submit:function(m){return"submit"===m.type},image:function(m){return"image"===m.type},reset:function(m){return"reset"===m.type},button:function(m){return"button"===m.type||m.nodeName.toUpperCase()==="BUTTON"},input:function(m){return/input|select|textarea|button/i.test(m.nodeName)}},setFilters:{first:function(m,n){return n===0},last:function(n,o,p,m){return o===m.length-1},even:function(m,n){return n%2===0},odd:function(m,n){return n%2===1},lt:function(m,n,o){return n<o[3]-0},gt:function(m,n,o){return n>o[3]-0},nth:function(m,n,o){return o[3]-0==n},eq:function(m,n,o){return o[3]-0==n}},filter:{PSEUDO:function(r,n,m,q){var o=n[1],t=g.filters[o];if(t){return t(r,m,n,q)}else{if(o==="contains"){return(r.textContent||r.innerText||"").indexOf(n[3])>=0}else{if(o==="not"){var s=n[3];for(var m=0,p=s.length;m<p;m++){if(s[m]===r){return false}}return true}}}},CHILD:function(t,q){var n=q[1],s=t;switch(n){case"only":case"first":while(s=s.previousSibling){if(s.nodeType===1){return false}}if(n=="first"){return true}s=t;case"last":while(s=s.nextSibling){if(s.nodeType===1){return false}}return true;case"nth":var r=q[2],u=q[3];if(r==1&&u==0){return true}var o=q[0],v=t.parentNode;if(v&&(v.sizcache!==o||!t.nodeIndex)){var p=0;for(s=v.firstChild;s;s=s.nextSibling){if(s.nodeType===1){s.nodeIndex=++p}}v.sizcache=o}var m=t.nodeIndex-u;if(r==0){return m==0}else{return(m%r==0&&m/r>=0)}}},ID:function(m,n){return m.nodeType===1&&m.getAttribute("id")===n},TAG:function(m,n){return(n==="*"&&m.nodeType===1)||m.nodeName===n},CLASS:function(m,n){return(" "+(m.className||m.getAttribute("class"))+" ").indexOf(n)>-1},ATTR:function(r,m){var n=m[1],p=g.attrHandle[n]?g.attrHandle[n](r):r[n]!=null?r[n]:r.getAttribute(n),q=p+"",s=m[2],o=m[4];return p==null?s==="!=":s==="="?q===o:s==="*="?q.indexOf(o)>=0:s==="~="?(" "+q+" ").indexOf(o)>=0:!o?q&&p!==false:s==="!="?q!=o:s==="^="?q.indexOf(o)===0:s==="$="?q.substr(q.length-o.length)===o:s==="|="?q===o||q.substr(0,o.length+1)===o+"-":false},POS:function(r,o,n,q){var p=o[2],m=g.setFilters[p];if(m){return m(r,n,o,q)}}}};var c=g.match.POS;for(var a in g.match){g.match[a]=RegExp(g.match[a].source+/(?![^\[]*\])(?![^\(]*\))/.source)}var l=function(m,n){m=Array.prototype.slice.call(m);if(n){n.push.apply(n,m);return n}return m};try{Array.prototype.slice.call(document.documentElement.childNodes)}catch(b){l=function(q,m){var o=m||[];if(h.call(q)==="[object Array]"){Array.prototype.push.apply(o,q)}else{if(typeof q.length==="number"){for(var n=0,p=q.length;n<p;n++){o.push(q[n])}}else{for(var n=0;q[n];n++){o.push(q[n])}}}return o}}var j;if(document.documentElement.compareDocumentPosition){j=function(n,o){var m=n.compareDocumentPosition(o)&4?-1:n===o?0:1;if(m===0){hasDuplicate=true}return m}}else{if("sourceIndex" in document.documentElement){j=function(n,o){var m=n.sourceIndex-o.sourceIndex;if(m===0){hasDuplicate=true}return m}}else{if(document.createRange){j=function(m,o){var n=m.ownerDocument.createRange(),p=o.ownerDocument.createRange();n.selectNode(m);n.collapse(true);p.selectNode(o);p.collapse(true);var q=n.compareBoundaryPoints(Range.START_TO_END,p);if(q===0){hasDuplicate=true}return q}}}}(function(){var n=document.createElement("form"),m="script"+(new Date).getTime();n.innerHTML="<input name='"+m+"'/>";var o=document.documentElement;o.insertBefore(n,o.firstChild);if(!!document.getElementById(m)){g.find.ID=function(s,r,q){if(typeof r.getElementById!=="undefined"&&!q){var p=r.getElementById(s[1]);return p?p.id===s[1]||typeof p.getAttributeNode!=="undefined"&&p.getAttributeNode("id").nodeValue===s[1]?[p]:AB:[]}};g.filter.ID=function(q,p){var r=typeof q.getAttributeNode!=="undefined"&&q.getAttributeNode("id");return q.nodeType===1&&r&&r.nodeValue===p}}o.removeChild(n)})();(function(){var m=document.createElement("div");m.appendChild(document.createComment(""));if(m.getElementsByTagName("*").length>0){g.find.TAG=function(p,q){var r=q.getElementsByTagName(p[1]);if(p[1]==="*"){var n=[];for(var o=0;r[o];o++){if(r[o].nodeType===1){n.push(r[o])}}r=n}return r}}m.innerHTML="<a href='#'></a>";if(m.firstChild&&typeof m.firstChild.getAttribute!=="undefined"&&m.firstChild.getAttribute("href")!=="#"){g.attrHandle.href=function(n){return n.getAttribute("href",2)}}})();if(document.querySelectorAll){(function(){var n=k,m=document.createElement("div");m.innerHTML="<p class='TEST'></p>";if(m.querySelectorAll&&m.querySelectorAll(".TEST").length===0){return }k=function(r,s,p,o){s=s||document;if(!o&&s.nodeType===9&&!C(s)){try{return l(s.querySelectorAll(r),p)}catch(q){}}return n(r,s,p,o)};k.find=n.find;k.filter=n.filter;k.selectors=n.selectors;k.matches=n.matches})()}if(document.getElementsByClassName&&document.documentElement.getElementsByClassName){(function(){var m=document.createElement("div");m.innerHTML="<div class='test e'></div><div class='test'></div>";if(m.getElementsByClassName("e").length===0){return }m.lastChild.className="e";if(m.getElementsByClassName("e").length===1){return }g.order.splice(1,0,"CLASS");g.find.CLASS=function(p,o,n){if(typeof o.getElementsByClassName!=="undefined"&&!n){return o.getElementsByClassName(p[1])}}})()}function D(s,n,o,u,m,v){var w=s=="previousSibling"&&!v;for(var q=0,r=u.length;q<r;q++){var t=u[q];if(t){if(w&&t.nodeType===1){t.sizcache=o;t.sizset=q}t=t[s];var p=false;while(t){if(t.sizcache===o){p=u[t.sizset];break}if(t.nodeType===1&&!v){t.sizcache=o;t.sizset=q}if(t.nodeName===n){p=t;break}t=t[s]}u[q]=p}}}function A(s,n,o,u,m,v){var w=s=="previousSibling"&&!v;for(var q=0,r=u.length;q<r;q++){var t=u[q];if(t){if(w&&t.nodeType===1){t.sizcache=o;t.sizset=q}t=t[s];var p=false;while(t){if(t.sizcache===o){p=u[t.sizset];break}if(t.nodeType===1){if(!v){t.sizcache=o;t.sizset=q}if(typeof n!=="string"){if(t===n){p=true;break}}else{if(k.filter(n,[t]).length>0){p=t;break}}}t=t[s]}u[q]=p}}}var e=document.compareDocumentPosition?function(m,n){return m.compareDocumentPosition(n)&16}:function(m,n){return m!==n&&(m.contains?m.contains(n):true)};var C=function(m){return m.nodeType===9&&m.documentElement.nodeName!=="HTML"||!!m.ownerDocument&&C(m.ownerDocument)};var f=function(p,r){var m=[],t="",s,n=r.nodeType?[r]:r;while((s=g.match.PSEUDO.exec(p))){t+=s[0];p=p.replace(g.match.PSEUDO,"")}p=g.relative[p]?p+"*":p;for(var q=0,o=n.length;q<o;q++){k(p,n[q],m)}return k.filter(t,m)};T.find=k;T.filter=k.filter;T.expr=k.selectors;T.expr[":"]=T.expr.filters;k.selectors.filters.hidden=function(m){return m.offsetWidth===0||m.offsetHeight===0};k.selectors.filters.visible=function(m){return m.offsetWidth>0||m.offsetHeight>0};k.selectors.filters.animated=function(m){return T.grep(T.timers,function(n){return m===n.elem}).length};T.multiFilter=function(m,o,n){if(n){m=":not("+m+")"}return k.matches(m,o)};T.dir=function(n,o){var p=[],m=n[o];while(m&&m!=document){if(m.nodeType==1){p.push(m)}m=m[o]}return p};T.nth=function(q,p,n,m){p=p||1;var o=0;for(;q;q=q[n]){if(q.nodeType==1&&++o==p){break}}return q};T.sibling=function(m,n){var o=[];for(;m;m=m.nextSibling){if(m.nodeType==1&&m!=n){o.push(m)}}return o};return ;W.Sizzle=k})();T.event={add:function(C,b,D,A){if(C.nodeType==3||C.nodeType==8){return }if(C.setInterval&&C!=W){C=W}if(!D.guid){D.guid=this.guid++}if(A!==AB){var a=D;D=this.proxy(a);D.data=A}var c=T.data(C,"events")||T.data(C,"events",{}),B=T.data(C,"handle")||T.data(C,"handle",function(){return typeof T!=="undefined"&&!T.event.triggered?T.event.handle.apply(arguments.callee.elem,arguments):AB});B.elem=C;T.each(b.split(/\s+/),function(g,f){var e=f.split(".");f=e.shift();D.type=e.slice().sort().join(".");var d=c[f];if(T.event.specialAll[f]){T.event.specialAll[f].setup.call(C,A,e)}if(!d){d=c[f]={};if(!T.event.special[f]||T.event.special[f].setup.call(C,A,e)===false){if(C.addEventListener){C.addEventListener(f,B,false)}else{if(C.attachEvent){C.attachEvent("on"+f,B)}}}}d[D.guid]=D;T.event.global[f]=true});C=null},guid:1,global:{},remove:function(B,a,C){if(B.nodeType==3||B.nodeType==8){return }var b=T.data(B,"events"),c,d;if(b){if(a===AB||(typeof a==="string"&&a.charAt(0)==".")){for(var D in b){this.remove(B,D+(a||""))}}else{if(a.type){C=a.handler;a=a.type}T.each(a.split(/\s+/),function(j,g){var e=g.split(".");g=e.shift();var h=RegExp("(^|\\.)"+e.slice().sort().join(".*\\.")+"(\\.|$)");if(b[g]){if(C){delete b[g][C.guid]}else{for(var f in b[g]){if(h.test(b[g][f].type)){delete b[g][f]}}}if(T.event.specialAll[g]){T.event.specialAll[g].teardown.call(B,e)}for(c in b[g]){break}if(!c){if(!T.event.special[g]||T.event.special[g].teardown.call(B,e)===false){if(B.removeEventListener){B.removeEventListener(g,T.data(B,"handle"),false)}else{if(B.detachEvent){B.detachEvent("on"+g,T.data(B,"handle"))}}}c=null;delete b[g]}}})}for(c in b){break}if(!c){var A=T.data(B,"handle");if(A){A.elem=null}T.removeData(B,"events");T.removeData(B,"handle")}}},trigger:function(D,B,a,d){var b=D.type||D;if(!d){D=typeof D==="object"?D[AA]?D:T.extend(T.Event(b),D):T.Event(b);if(b.indexOf("!")>=0){D.type=b=b.slice(0,-1);D.exclusive=true}if(!a){D.stopPropagation();if(this.global[b]){T.each(T.cache,function(){if(this.events&&this.events[b]){T.event.trigger(D,B,this.handle.elem)}})}}if(!a||a.nodeType==3||a.nodeType==8){return AB}D.result=AB;D.target=a;B=T.makeArray(B);B.unshift(D)}D.currentTarget=a;var C=T.data(a,"handle");if(C){C.apply(a,B)}if((!a[b]||(T.nodeName(a,"a")&&b=="click"))&&a["on"+b]&&a["on"+b].apply(a,B)===false){D.result=false}if(!d&&a[b]&&!D.isDefaultPrevented()&&!(T.nodeName(a,"a")&&b=="click")){this.triggered=true;try{a[b]()}catch(A){}}this.triggered=false;if(!D.isPropagationStopped()){var c=a.parentNode||a.ownerDocument;if(c){T.event.trigger(D,B,c,true)}}},handle:function(B){var C,d;B=arguments[0]=T.event.fix(B||W.event);B.currentTarget=this;var A=B.type.split(".");B.type=A.shift();C=!A.length&&!B.exclusive;var D=RegExp("(^|\\.)"+A.slice().sort().join(".*\\.")+"(\\.|$)");d=(T.data(this,"events")||{})[B.type];for(var b in d){var a=d[b];if(C||D.test(a.type)){B.handler=a;B.data=a.data;var c=a.apply(this,arguments);if(c!==AB){B.result=c;if(c===false){B.preventDefault();B.stopPropagation()}}if(B.isImmediatePropagationStopped()){break}}}},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode metaKey newValue originalTarget pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),fix:function(C){if(C[AA]){return C}var a=C;C=T.Event(a);for(var D=this.props.length,A;D;){A=this.props[--D];C[A]=a[A]}if(!C.target){C.target=C.srcElement||document}if(C.target.nodeType==3){C.target=C.target.parentNode}if(!C.relatedTarget&&C.fromElement){C.relatedTarget=C.fromElement==C.target?C.toElement:C.fromElement}if(C.pageX==null&&C.clientX!=null){var B=document.documentElement,b=document.body;C.pageX=C.clientX+(B&&B.scrollLeft||b&&b.scrollLeft||0)-(B.clientLeft||0);C.pageY=C.clientY+(B&&B.scrollTop||b&&b.scrollTop||0)-(B.clientTop||0)}if(!C.which&&((C.charCode||C.charCode===0)?C.charCode:C.keyCode)){C.which=C.charCode||C.keyCode}if(!C.metaKey&&C.ctrlKey){C.metaKey=C.ctrlKey}if(!C.which&&C.button){C.which=(C.button&1?1:(C.button&2?3:(C.button&4?2:0)))}return C},proxy:function(A,B){B=B||function(){return A.apply(this,arguments)};B.guid=A.guid=A.guid||B.guid||this.guid++;return B},special:{ready:{setup:P,teardown:function(){}}},specialAll:{live:{setup:function(B,A){T.event.add(this,A[0],AF)},teardown:function(A){if(A.length){var C=0,B=RegExp("(^|\\.)"+A[0]+"(\\.|$)");T.each((T.data(this,"events").live||{}),function(){if(B.test(this.type)){C++}});if(C<1){T.event.remove(this,A[0],AF)}}}}}};T.Event=function(A){if(!this.preventDefault){return new T.Event(A)}if(A&&A.type){this.originalEvent=A;this.type=A.type}else{this.type=A}this.timeStamp=AD();this[AA]=true};function X(){return false}function J(){return true}T.Event.prototype={preventDefault:function(){this.isDefaultPrevented=J;var A=this.originalEvent;if(!A){return }if(A.preventDefault){A.preventDefault()}A.returnValue=false},stopPropagation:function(){this.isPropagationStopped=J;var A=this.originalEvent;if(!A){return }if(A.stopPropagation){A.stopPropagation()}A.cancelBubble=true},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=J;this.stopPropagation()},isDefaultPrevented:X,isPropagationStopped:X,isImmediatePropagationStopped:X};var AH=function(B){var C=B.relatedTarget;while(C&&C!=this){try{C=C.parentNode}catch(A){C=this}}if(C!=this){B.type=B.data;T.event.handle.apply(this,arguments)}};T.each({mouseover:"mouseenter",mouseout:"mouseleave"},function(A,B){T.event.special[B]={setup:function(){T.event.add(this,A,AH,B)},teardown:function(){T.event.remove(this,A,AH)}}});T.fn.extend({bind:function(B,A,C){return B=="unload"?this.one(B,A,C):this.each(function(){T.event.add(this,B,C||A,C&&A)})},one:function(B,A,C){var D=T.event.proxy(C||A,function(a){T(this).unbind(a,D);return(C||A).apply(this,arguments)});return this.each(function(){T.event.add(this,B,D,C&&A)})},unbind:function(A,B){return this.each(function(){T.event.remove(this,A,B)})},trigger:function(B,A){return this.each(function(){T.event.trigger(B,A,this)})},triggerHandler:function(C,A){if(this[0]){var B=T.Event(C);B.preventDefault();B.stopPropagation();T.event.trigger(B,A,this[0]);return B.result}},toggle:function(A){var C=arguments,B=1;while(B<C.length){T.event.proxy(A,C[B++])}return this.click(T.event.proxy(A,function(D){this.lastToggle=(this.lastToggle||0)%B;D.preventDefault();return C[this.lastToggle++].apply(this,arguments)||false}))},hover:function(B,A){return this.mouseenter(B).mouseleave(A)},ready:function(A){P();if(T.isReady){A.call(document,T)}else{T.readyList.push(A)}return this},live:function(A,B){var C=T.event.proxy(B);C.guid+=this.selector+A;T(document).bind(Z(A,this.selector),this.selector,C);return this},die:function(A,B){T(document).unbind(Z(A,this.selector),B?{guid:B.guid+this.selector+A}:null);return this}});function AF(A){var D=RegExp("(^|\\.)"+A.type+"(\\.|$)"),B=true,C=[];T.each(T.data(this,"events").live||[],function(c,b){if(D.test(b.type)){var a=T(A.target).closest(b.data)[0];if(a){C.push({elem:a,fn:b})}}});C.sort(function(a,b){return T.data(a.elem,"closest")-T.data(b.elem,"closest")});T.each(C,function(){if(this.fn.call(this.elem,A,this.fn.data)===false){return(B=false)}});return B}function Z(A,B){return["live",A,B.replace(/\./g,"`").replace(/ /g,"|")].join(".")}T.extend({isReady:false,readyList:[],ready:function(){if(!T.isReady){T.isReady=true;if(T.readyList){T.each(T.readyList,function(){this.call(document,T)});T.readyList=null}T(document).triggerHandler("ready")}}});var G=false;function P(){if(G){return }G=true;if(document.addEventListener){document.addEventListener("DOMContentLoaded",function(){document.removeEventListener("DOMContentLoaded",arguments.callee,false);T.ready()},false)}else{if(document.attachEvent){document.attachEvent("onreadystatechange",function(){if(document.readyState==="complete"){document.detachEvent("onreadystatechange",arguments.callee);T.ready()}});if(document.documentElement.doScroll&&W==W.top){(function(){if(T.isReady){return }try{document.documentElement.doScroll("left")}catch(A){setTimeout(arguments.callee,0);return }T.ready()})()}}}T.event.add(W,"load",T.ready)}T.each(("blur,focus,load,resize,scroll,unload,click,dblclick,mousedown,mouseup,mousemove,mouseover,mouseout,mouseenter,mouseleave,change,select,submit,keydown,keypress,keyup,error").split(","),function(A,B){T.fn[B]=function(C){return C?this.bind(B,C):this.trigger(B)}});T(W).bind("unload",function(){for(var A in T.cache){if(A!=1&&T.cache[A].handle){T.event.remove(T.cache[A].handle.elem)}}});(function(){T.support={};var b=document.documentElement,a=document.createElement("script"),A=document.createElement("div"),B="script"+(new Date).getTime();A.style.display="none";A.innerHTML='   <link/><table></table><a href="/a" style="color:red;float:left;opacity:.5;">a</a><select><option>text</option></select><object><param/></object>';var D=A.getElementsByTagName("*"),c=A.getElementsByTagName("a")[0];if(!D||!D.length||!c){return }T.support={leadingWhitespace:A.firstChild.nodeType==3,tbody:!A.getElementsByTagName("tbody").length,objectAll:!!A.getElementsByTagName("object")[0].getElementsByTagName("*").length,htmlSerialize:!!A.getElementsByTagName("link").length,style:/red/.test(c.getAttribute("style")),hrefNormalized:c.getAttribute("href")==="/a",opacity:c.style.opacity==="0.5",cssFloat:!!c.style.cssFloat,scriptEval:false,noCloneEvent:true,boxModel:null};a.type="text/javascript";try{a.appendChild(document.createTextNode("window."+B+"=1;"))}catch(C){}b.insertBefore(a,b.firstChild);if(W[B]){T.support.scriptEval=true;delete W[B]}b.removeChild(a);if(A.attachEvent&&A.fireEvent){A.attachEvent("onclick",function(){T.support.noCloneEvent=false;A.detachEvent("onclick",arguments.callee)});A.cloneNode(true).fireEvent("onclick")}T(function(){var d=document.createElement("div");d.style.width=d.style.paddingLeft="1px";document.body.appendChild(d);T.boxModel=T.support.boxModel=d.offsetWidth===2;document.body.removeChild(d).style.display="none"})})();var H=T.support.cssFloat?"cssFloat":"styleFloat";T.props={"for":"htmlFor","class":"className","float":H,cssFloat:H,styleFloat:H,readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",tabindex:"tabIndex"};T.fn.extend({_load:T.fn.load,load:function(a,B,A){if(typeof a!=="string"){return this._load(a)}var C=a.indexOf(" ");if(C>=0){var c=a.slice(C,a.length);a=a.slice(0,C)}var D="GET";if(B){if(T.isFunction(B)){A=B;B=null}else{if(typeof B==="object"){B=T.param(B);D="POST"}}}var b=this;T.ajax({url:a,type:D,dataType:"html",data:B,complete:function(e,d){if(d=="success"||d=="notmodified"){b.html(c?T("<div/>").append(e.responseText.replace(/<script(.|\s)*?\/script>/g,"")).find(c):e.responseText)}if(A){b.each(A,[e.responseText,d,e])}}});return this},serialize:function(){return T.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?T.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||/select|textarea/i.test(this.nodeName)||/text|hidden|password|search/i.test(this.type))}).map(function(C,B){var A=T(this).val();return A==null?null:T.isArray(A)?T.map(A,function(D,a){return{name:B.name,value:D}}):{name:B.name,value:A}}).get()}});T.each("ajaxStart,ajaxStop,ajaxComplete,ajaxError,ajaxSuccess,ajaxSend".split(","),function(B,A){T.fn[A]=function(C){return this.bind(A,C)}});var N=AD();T.extend({get:function(D,B,A,C){if(T.isFunction(B)){A=B;B=null}return T.ajax({type:"GET",url:D,data:B,success:A,dataType:C})},getScript:function(B,A){return T.get(B,null,A,"script")},getJSON:function(C,B,A){return T.get(C,B,A,"json")},post:function(D,B,A,C){if(T.isFunction(B)){A=B;B={}}return T.ajax({type:"POST",url:D,data:B,success:A,dataType:C})},ajaxSetup:function(A){T.extend(T.ajaxSettings,A)},ajaxSettings:{url:location.href,global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:function(){return W.ActiveXObject?new ActiveXObject("Microsoft.XMLHTTP"):new XMLHttpRequest()},accepts:{xml:"application/xml, text/xml",html:"text/html",script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},lastModified:{},ajax:function(g){g=T.extend(true,g,T.extend(true,{},T.ajaxSettings,g));var A,o=/=\?(&|$)/g,b,B,n=g.type.toUpperCase();if(g.data&&g.processData&&typeof g.data!=="string"){g.data=T.param(g.data)}if(g.dataType=="jsonp"){if(n=="GET"){if(!g.url.match(o)){g.url+=(g.url.match(/\?/)?"&":"?")+(g.jsonp||"callback")+"=?"}}else{if(!g.data||!g.data.match(o)){g.data=(g.data?g.data+"&":"")+(g.jsonp||"callback")+"=?"}}g.dataType="json"}if(g.dataType=="json"&&(g.data&&g.data.match(o)||g.url.match(o))){A="jsonp"+N++;if(g.data){g.data=(g.data+"").replace(o,"="+A+"$1")}g.url=g.url.replace(o,"="+A+"$1");g.dataType="script";W[A]=function(r){B=r;l();h();W[A]=AB;try{delete W[A]}catch(q){}if(m){m.removeChild(D)}}}if(g.dataType=="script"&&g.cache==null){g.cache=false}if(g.cache===false&&n=="GET"){var p=AD();var C=g.url.replace(/(\?|&)_=.*?(&|$)/,"$1_="+p+"$2");g.url=C+((C==g.url)?(g.url.match(/\?/)?"&":"?")+"_="+p:"")}if(g.data&&n=="GET"){g.url+=(g.url.match(/\?/)?"&":"?")+g.data;g.data=null}if(g.global&&!T.active++){T.event.trigger("ajaxStart")}var c=/^(\w+:)?\/\/([^\/?#]+)/.exec(g.url);if(g.dataType=="script"&&n=="GET"&&c&&(c[1]&&c[1]!=location.protocol||c[2]!=location.host)){var m=document.getElementsByTagName("head")[0];var D=document.createElement("script");D.src=g.url;if(g.scriptCharset){D.charset=g.scriptCharset}if(!A){var e=false;D.onload=D.onreadystatechange=function(){if(!e&&(!this.readyState||this.readyState=="loaded"||this.readyState=="complete")){e=true;l();h();D.onload=D.onreadystatechange=null;m.removeChild(D)}}}m.appendChild(D);return AB}var j=false;var k=g.xhr();if(g.username){k.open(n,g.url,g.async,g.username,g.password)}else{k.open(n,g.url,g.async)}try{if(g.data){k.setRequestHeader("Content-Type",g.contentType)}if(g.ifModified){k.setRequestHeader("If-Modified-Since",T.lastModified[g.url]||"Thu, 01 Jan 1970 00:00:00 GMT")}k.setRequestHeader("X-Requested-With","XMLHttpRequest");k.setRequestHeader("Accept",g.dataType&&g.accepts[g.dataType]?g.accepts[g.dataType]+", */*":g.accepts._default)}catch(a){}if(g.beforeSend&&g.beforeSend(k,g)===false){if(g.global&&!--T.active){T.event.trigger("ajaxStop")}k.abort();return false}if(g.global){T.event.trigger("ajaxSend",[k,g])}var f=function(s){if(k.readyState==0){if(d){clearInterval(d);d=null;if(g.global&&!--T.active){T.event.trigger("ajaxStop")}}}else{if(!j&&k&&(k.readyState==4||s=="timeout")){j=true;if(d){clearInterval(d);d=null}b=s=="timeout"?"timeout":!T.httpSuccess(k)?"error":g.ifModified&&T.httpNotModified(k,g.url)?"notmodified":"success";if(b=="success"){try{B=T.httpData(k,g.dataType,g)}catch(q){b="parsererror"}}if(b=="success"){var r;try{r=k.getResponseHeader("Last-Modified")}catch(q){}if(g.ifModified&&r){T.lastModified[g.url]=r}if(!A){l()}}else{T.handleError(g,k,b)}h();if(s){k.abort()}if(g.async){k=null}}}};if(g.async){var d=setInterval(f,13);if(g.timeout>0){setTimeout(function(){if(k&&!j){f("timeout")}},g.timeout)}}try{k.send(g.data)}catch(a){T.handleError(g,k,null,a)}if(!g.async){f()}function l(){if(g.success){g.success(B,b)}if(g.global){T.event.trigger("ajaxSuccess",[k,g])}}function h(){if(g.complete){g.complete(k,b)}if(g.global){T.event.trigger("ajaxComplete",[k,g])}if(g.global&&!--T.active){T.event.trigger("ajaxStop")}}return k},handleError:function(C,A,D,B){if(C.error){C.error(A,D,B)}if(C.global){T.event.trigger("ajaxError",[A,C,B])}},active:0,httpSuccess:function(A){try{return !A.status&&location.protocol=="file:"||(A.status>=200&&A.status<300)||A.status==304||A.status==1223}catch(B){}return false},httpNotModified:function(B,D){try{var A=B.getResponseHeader("Last-Modified");return B.status==304||A==T.lastModified[D]}catch(C){}return false},httpData:function(A,C,D){var a=A.getResponseHeader("content-type"),b=C=="xml"||!C&&a&&a.indexOf("xml")>=0,B=b?A.responseXML:A.responseText;if(b&&B.documentElement.tagName=="parsererror"){throw"parsererror"}if(D&&D.dataFilter){B=D.dataFilter(B,C)}if(typeof B==="string"){if(C=="script"){T.globalEval(B)}if(C=="json"){B=W["eval"]("("+B+")")}}return B},param:function(D){var B=[];function A(b,a){B[B.length]=encodeURIComponent(b)+"="+encodeURIComponent(a)}if(T.isArray(D)||D.jquery){T.each(D,function(){A(this.name,this.value)})}else{for(var C in D){if(T.isArray(D[C])){T.each(D[C],function(){A(C,this)})}else{A(C,T.isFunction(D[C])?D[C]():D[C])}}}return B.join("&").replace(/%20/g,"+")}});var V={},U,AE=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];function K(B,C){var A={};T.each(AE.concat.apply([],AE.slice(0,C)),function(){A[this]=B});return A}T.fn.extend({show:function(C,A){if(C){return this.animate(K("show",3),C,A)}else{for(var a=0,c=this.length;a<c;a++){var d=T.data(this[a],"olddisplay");this[a].style.display=d||"";if(T.css(this[a],"display")==="none"){var b=this[a].tagName,B;if(V[b]){B=V[b]}else{var D=T("<"+b+" />").appendTo("body");B=D.css("display");if(B==="none"){B="block"}D.remove();V[b]=B}T.data(this[a],"olddisplay",B)}}for(var a=0,c=this.length;a<c;a++){this[a].style.display=T.data(this[a],"olddisplay")||""}return this}},hide:function(B,A){if(B){return this.animate(K("hide",3),B,A)}else{for(var C=0,D=this.length;C<D;C++){var a=T.data(this[C],"olddisplay");if(!a&&a!=="none"){T.data(this[C],"olddisplay",T.css(this[C],"display"))}}for(var C=0,D=this.length;C<D;C++){this[C].style.display="none"}return this}},_toggle:T.fn.toggle,toggle:function(A,B){var C=typeof A==="boolean";return T.isFunction(A)&&T.isFunction(B)?this._toggle.apply(this,arguments):A==null||C?this.each(function(){var D=C?A:T(this).is(":hidden");T(this)[D?"show":"hide"]()}):this.animate(K("toggle",3),A,B)},fadeTo:function(C,A,B){return this.animate({opacity:A},C,B)},animate:function(A,D,B,C){var a=T.speed(D,B,C);return this[a.queue===false?"each":"queue"](function(){var c=T.extend({},a),e,b=this.nodeType==1&&T(this).is(":hidden"),d=this;for(e in A){if(A[e]=="hide"&&b||A[e]=="show"&&!b){return c.complete.call(this)}if((e=="height"||e=="width")&&this.style){c.display=T.css(this,"display");c.overflow=this.style.overflow}}if(c.overflow!=null){this.style.overflow="hidden"}c.curAnim=T.extend({},A);T.each(A,function(l,g){var h=new T.fx(d,c,l);if(/toggle|show|hide/.test(g)){h[g=="toggle"?b?"show":"hide":g](A)}else{var j=g.toString().match(/^([+-]=)?([\d+-.]+)(.*)$/),f=h.cur(true)||0;if(j){var m=parseFloat(j[2]),k=j[3]||"px";if(k!="px"){d.style[l]=(m||1)+k;f=((m||1)/h.cur(true))*f;d.style[l]=f+k}if(j[1]){m=((j[1]=="-="?-1:1)*m)+f}h.custom(f,m,k)}else{h.custom(f,g,"")}}});return true})},stop:function(B,C){var A=T.timers;if(B){this.queue([])}this.each(function(){for(var D=A.length-1;D>=0;D--){if(A[D].elem==this){if(C){A[D](true)}A.splice(D,1)}}});if(!C){this.dequeue()}return this}});T.each({slideDown:K("show",1),slideUp:K("hide",1),slideToggle:K("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(B,A){T.fn[B]=function(D,C){return this.animate(A,D,C)}});T.extend({speed:function(B,A,C){var D=typeof B==="object"?B:{complete:C||!C&&A||T.isFunction(B)&&B,duration:B,easing:C&&A||A&&!T.isFunction(A)&&A};D.duration=T.fx.off?0:typeof D.duration==="number"?D.duration:T.fx.speeds[D.duration]||T.fx.speeds._default;D.old=D.complete;D.complete=function(){if(D.queue!==false){T(this).dequeue()}if(T.isFunction(D.old)){D.old.call(this)}};return D},easing:{linear:function(B,A,D,C){return D+C*B},swing:function(B,A,D,C){return((-Math.cos(B*Math.PI)/2)+0.5)*C+D}},timers:[],fx:function(B,C,A){this.options=C;this.elem=B;this.prop=A;if(!C.orig){C.orig={}}}});T.fx.prototype={update:function(){if(this.options.step){this.options.step.call(this.elem,this.now,this)}(T.fx.step[this.prop]||T.fx.step._default)(this);if((this.prop=="height"||this.prop=="width")&&this.elem.style){this.elem.style.display="block"}},cur:function(A){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null)){return this.elem[this.prop]}var B=parseFloat(T.css(this.elem,this.prop,A));return B&&B>-10000?B:parseFloat(T.curCSS(this.elem,this.prop))||0},custom:function(A,B,C){this.startTime=AD();this.start=A;this.end=B;this.unit=C||this.unit||"px";this.now=this.start;this.pos=this.state=0;var a=this;function D(b){return a.step(b)}D.elem=this.elem;if(D()&&T.timers.push(D)&&!U){U=setInterval(function(){var b=T.timers;for(var c=0;c<b.length;c++){if(!b[c]()){b.splice(c--,1)}}if(!b.length){clearInterval(U);U=AB}},13)}},show:function(){this.options.orig[this.prop]=T.attr(this.elem.style,this.prop);this.options.show=true;this.custom(this.prop=="width"||this.prop=="height"?1:0,this.cur());T(this.elem).show()},hide:function(){this.options.orig[this.prop]=T.attr(this.elem.style,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(C){var D=AD();if(C||D>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;var b=true;for(var a in this.options.curAnim){if(this.options.curAnim[a]!==true){b=false}}if(b){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;this.elem.style.display=this.options.display;if(T.css(this.elem,"display")=="none"){this.elem.style.display="block"}}if(this.options.hide){T(this.elem).hide()}if(this.options.hide||this.options.show){for(var B in this.options.curAnim){T.attr(this.elem.style,B,this.options.orig[B])}}this.options.complete.call(this.elem)}return false}else{var A=D-this.startTime;this.state=A/this.options.duration;this.pos=T.easing[this.options.easing||(T.easing.swing?"swing":"linear")](this.state,A,0,1,this.options.duration);this.now=this.start+((this.end-this.start)*this.pos);this.update()}return true}};T.extend(T.fx,{speeds:{slow:600,fast:200,_default:400},step:{opacity:function(A){T.attr(A.elem.style,"opacity",A.now)},_default:function(A){if(A.elem.style&&A.elem.style[A.prop]!=null){A.elem.style[A.prop]=A.now+A.unit}else{A.elem[A.prop]=A.now}}}});if(document.documentElement.getBoundingClientRect){T.fn.offset=function(){if(!this[0]){return{top:0,left:0}}if(this[0]===this[0].ownerDocument.body){return T.offset.bodyOffset(this[0])}var b=this[0].getBoundingClientRect(),C=this[0].ownerDocument,c=C.body,d=C.documentElement,A=d.clientTop||c.clientTop||0,B=d.clientLeft||c.clientLeft||0,D=b.top+(self.pageYOffset||T.boxModel&&d.scrollTop||c.scrollTop)-A,a=b.left+(self.pageXOffset||T.boxModel&&d.scrollLeft||c.scrollLeft)-B;return{top:D,left:a}}}else{T.fn.offset=function(){if(!this[0]){return{top:0,left:0}}if(this[0]===this[0].ownerDocument.body){return T.offset.bodyOffset(this[0])}T.offset.initialized||T.offset.initialize();var b=this[0],e=b.offsetParent,f=b,A=b.ownerDocument,C,d=A.documentElement,a=A.body,D=A.defaultView,g=D.getComputedStyle(b,null),B=b.offsetTop,c=b.offsetLeft;while((b=b.parentNode)&&b!==a&&b!==d){C=D.getComputedStyle(b,null);B-=b.scrollTop,c-=b.scrollLeft;if(b===e){B+=b.offsetTop,c+=b.offsetLeft;if(T.offset.doesNotAddBorder&&!(T.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(b.tagName))){B+=parseInt(C.borderTopWidth,10)||0,c+=parseInt(C.borderLeftWidth,10)||0}f=e,e=b.offsetParent}if(T.offset.subtractsBorderForOverflowNotVisible&&C.overflow!=="visible"){B+=parseInt(C.borderTopWidth,10)||0,c+=parseInt(C.borderLeftWidth,10)||0}g=C}if(g.position==="relative"||g.position==="static"){B+=a.offsetTop,c+=a.offsetLeft}if(g.position==="fixed"){B+=Math.max(d.scrollTop,a.scrollTop),c+=Math.max(d.scrollLeft,a.scrollLeft)}return{top:B,left:c}}}T.offset={initialize:function(){if(this.initialized){return }var C=document.body,e=document.createElement("div"),c,d,A,b,B,f,a=C.style.marginTop,D='<div style="position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;"><div></div></div><table style="position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;" cellpadding="0" cellspacing="0"><tr><td></td></tr></table>';B={position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"};for(f in B){e.style[f]=B[f]}e.innerHTML=D;C.insertBefore(e,C.firstChild);c=e.firstChild,d=c.firstChild,b=c.nextSibling.firstChild.firstChild;this.doesNotAddBorder=(d.offsetTop!==5);this.doesAddBorderForTableAndCells=(b.offsetTop===5);c.style.overflow="hidden",c.style.position="relative";this.subtractsBorderForOverflowNotVisible=(d.offsetTop===-5);C.style.marginTop="1px";this.doesNotIncludeMarginInBodyOffset=(C.offsetTop===0);C.style.marginTop=a;C.removeChild(e);this.initialized=true},bodyOffset:function(C){T.offset.initialized||T.offset.initialize();var A=C.offsetTop,B=C.offsetLeft;if(T.offset.doesNotIncludeMarginInBodyOffset){A+=parseInt(T.curCSS(C,"marginTop",true),10)||0,B+=parseInt(T.curCSS(C,"marginLeft",true),10)||0}return{top:A,left:B}}};T.fn.extend({position:function(){var B=0,C=0,a;if(this[0]){var D=this.offsetParent(),A=this.offset(),b=/^body|html$/i.test(D[0].tagName)?{top:0,left:0}:D.offset();A.top-=Y(this,"marginTop");A.left-=Y(this,"marginLeft");b.top+=Y(D,"borderTopWidth");b.left+=Y(D,"borderLeftWidth");a={top:A.top-b.top,left:A.left-b.left}}return a},offsetParent:function(){var A=this[0].offsetParent||document.body;while(A&&(!/^body|html$/i.test(A.tagName)&&T.css(A,"position")=="static")){A=A.offsetParent}return T(A)}});T.each(["Left","Top"],function(B,C){var A="scroll"+C;T.fn[A]=function(D){if(!this[0]){return null}return D!==AB?this.each(function(){this==W||this==document?W.scrollTo(!B?D:T(W).scrollLeft(),B?D:T(W).scrollTop()):this[A]=D}):this[0]==W||this[0]==document?self[B?"pageYOffset":"pageXOffset"]||T.boxModel&&document.documentElement[A]||document.body[A]:this[0][A]}});T.each(["Height","Width"],function(B,D){var b=B?"Left":"Top",C=B?"Right":"Bottom",a=D.toLowerCase();T.fn["inner"+D]=function(){return this[0]?T.css(this[0],a,false,"padding"):null};T.fn["outer"+D]=function(c){return this[0]?T.css(this[0],a,false,c?"margin":"border"):null};var A=D.toLowerCase();T.fn[A]=function(c){return this[0]==W?document.compatMode=="CSS1Compat"&&document.documentElement["client"+D]||document.body["client"+D]:this[0]==document?Math.max(document.documentElement["client"+D],document.body["scroll"+D],document.documentElement["scroll"+D],document.body["offset"+D],document.documentElement["offset"+D]):c===AB?(this.length?T.css(this[0],A):null):this.css(A,typeof c==="string"?c:c+"px")}})})();(function(G){var A=G.fn.height,E=G.fn.width;G.fn.extend({height:function(){if(!this[0]){D()}if(this[0]==window){if(G.browser.opera||(G.browser.safari&&parseInt(G.browser.version)>520)){return self.innerHeight-((G(document).height()>self.innerHeight)?B():0)}else{if(G.browser.safari){return self.innerHeight}else{return G.boxModel&&document.documentElement.clientHeight||document.body.clientHeight}}}if(this[0]==document){return Math.max((G.boxModel&&document.documentElement.scrollHeight||document.body.scrollHeight),document.body.offsetHeight)}return A.apply(this,arguments)},width:function(){if(!this[0]){D()}if(this[0]==window){if(G.browser.opera||(G.browser.safari&&parseInt(G.browser.version)>520)){return self.innerWidth-((G(document).width()>self.innerWidth)?B():0)}else{if(G.browser.safari){return self.innerWidth}else{return G.boxModel&&document.documentElement.clientWidth||document.body.clientWidth}}}if(this[0]==document){if(G.browser.mozilla){var J=self.pageXOffset;self.scrollTo(99999999,self.pageYOffset);var I=self.pageXOffset;self.scrollTo(J,self.pageYOffset);return document.body.offsetWidth+I}else{return Math.max(((G.boxModel&&!G.browser.safari)&&document.documentElement.scrollWidth||document.body.scrollWidth),document.body.offsetWidth)}}return E.apply(this,arguments)},innerHeight:function(){if(!this[0]){D()}return this[0]==window||this[0]==document?this.height():this.is(":visible")?this[0].offsetHeight-C(this,"borderTopWidth")-C(this,"borderBottomWidth"):this.height()+C(this,"paddingTop")+C(this,"paddingBottom")},innerWidth:function(){if(!this[0]){D()}return this[0]==window||this[0]==document?this.width():this.is(":visible")?this[0].offsetWidth-C(this,"borderLeftWidth")-C(this,"borderRightWidth"):this.width()+C(this,"paddingLeft")+C(this,"paddingRight")},outerHeight:function(I){if(!this[0]){D()}I=G.extend({margin:false},I||{});return this[0]==window||this[0]==document?this.height():this.is(":visible")?this[0].offsetHeight+(I.margin?(C(this,"marginTop")+C(this,"marginBottom")):0):this.height()+C(this,"borderTopWidth")+C(this,"borderBottomWidth")+C(this,"paddingTop")+C(this,"paddingBottom")+(I.margin?(C(this,"marginTop")+C(this,"marginBottom")):0)},outerWidth:function(I){if(!this[0]){D()}I=G.extend({margin:false},I||{});return this[0]==window||this[0]==document?this.width():this.is(":visible")?this[0].offsetWidth+(I.margin?(C(this,"marginLeft")+C(this,"marginRight")):0):this.width()+C(this,"borderLeftWidth")+C(this,"borderRightWidth")+C(this,"paddingLeft")+C(this,"paddingRight")+(I.margin?(C(this,"marginLeft")+C(this,"marginRight")):0)},scrollLeft:function(I){if(!this[0]){D()}if(I!=undefined){return this.each(function(){if(this==window||this==document){window.scrollTo(I,G(window).scrollTop())}else{this.scrollLeft=I}})}if(this[0]==window||this[0]==document){return self.pageXOffset||G.boxModel&&document.documentElement.scrollLeft||document.body.scrollLeft}return this[0].scrollLeft},scrollTop:function(I){if(!this[0]){D()}if(I!=undefined){return this.each(function(){if(this==window||this==document){window.scrollTo(G(window).scrollLeft(),I)}else{this.scrollTop=I}})}if(this[0]==window||this[0]==document){return self.pageYOffset||G.boxModel&&document.documentElement.scrollTop||document.body.scrollTop}return this[0].scrollTop},position:function(I){return this.offset({margin:false,scroll:false,relativeTo:this.offsetParent()},I)},offset:function(J,P){if(!this[0]){D()}var O=0,N=0,X=0,S=0,Y=this[0],M=this[0],L,I,W=G.css(Y,"position"),V=G.browser.mozilla,Q=G.browser.msie,U=G.browser.opera,a=G.browser.safari,K=G.browser.safari&&parseInt(G.browser.version)>520,R=false,T=false,J=G.extend({margin:true,border:false,padding:false,scroll:true,lite:false,relativeTo:document.body},J||{});if(J.lite){return this.offsetLite(J,P)}if(J.relativeTo.jquery){J.relativeTo=J.relativeTo[0]}if(Y.tagName=="BODY"){O=Y.offsetLeft;N=Y.offsetTop;if(V){O+=C(Y,"marginLeft")+(C(Y,"borderLeftWidth")*2);N+=C(Y,"marginTop")+(C(Y,"borderTopWidth")*2)}else{if(U){O+=C(Y,"marginLeft");N+=C(Y,"marginTop")}else{if((Q&&jQuery.boxModel)){O+=C(Y,"borderLeftWidth");N+=C(Y,"borderTopWidth")}else{if(K){O+=C(Y,"marginLeft")+C(Y,"borderLeftWidth");N+=C(Y,"marginTop")+C(Y,"borderTopWidth")}}}}}else{do{I=G.css(M,"position");O+=M.offsetLeft;N+=M.offsetTop;if((V&&!M.tagName.match(/^t[d|h]$/i))||Q||K){O+=C(M,"borderLeftWidth");N+=C(M,"borderTopWidth");if(V&&I=="absolute"){R=true}if(Q&&I=="relative"){T=true}}L=M.offsetParent||document.body;if(J.scroll||V){do{if(J.scroll){X+=M.scrollLeft;S+=M.scrollTop}if(U&&(G.css(M,"display")||"").match(/table-row|inline/)){X=X-((M.scrollLeft==M.offsetLeft)?M.scrollLeft:0);S=S-((M.scrollTop==M.offsetTop)?M.scrollTop:0)}if(V&&M!=Y&&G.css(M,"overflow")!="visible"){O+=C(M,"borderLeftWidth");N+=C(M,"borderTopWidth")}M=M.parentNode}while(M!=L)}M=L;if(M==J.relativeTo&&!(M.tagName=="BODY"||M.tagName=="HTML")){if(V&&M!=Y&&G.css(M,"overflow")!="visible"){O+=C(M,"borderLeftWidth");N+=C(M,"borderTopWidth")}if(((a&&!K)||U)&&I!="static"){O-=C(L,"borderLeftWidth");N-=C(L,"borderTopWidth")}break}if(M.tagName=="BODY"||M.tagName=="HTML"){if(((a&&!K)||(Q&&G.boxModel))&&W!="absolute"&&W!="fixed"){O+=C(M,"marginLeft");N+=C(M,"marginTop")}if(K||(V&&!R&&W!="fixed")||(Q&&W=="static"&&!T)){O+=C(M,"borderLeftWidth");N+=C(M,"borderTopWidth")}break}}while(M)}var Z=H(Y,J,O,N,X,S);if(P){G.extend(P,Z);return this}else{return Z}},offsetLite:function(Q,L){if(!this[0]){D()}var N=0,M=0,K=0,P=0,O=this[0],J,Q=G.extend({margin:true,border:false,padding:false,scroll:true,relativeTo:document.body},Q||{});if(Q.relativeTo.jquery){Q.relativeTo=Q.relativeTo[0]}do{N+=O.offsetLeft;M+=O.offsetTop;J=O.offsetParent||document.body;if(Q.scroll){do{K+=O.scrollLeft;P+=O.scrollTop;O=O.parentNode}while(O!=J)}O=J}while(O&&O.tagName!="BODY"&&O.tagName!="HTML"&&O!=Q.relativeTo);var I=H(this[0],Q,N,M,K,P);if(L){G.extend(L,I);return this}else{return I}},offsetParent:function(){if(!this[0]){D()}var I=this[0].offsetParent;while(I&&(I.tagName!="BODY"&&G.css(I,"position")=="static")){I=I.offsetParent}return G(I)}});var D=function(){throw"Dimensions: jQuery collection is empty"};var C=function(I,J){return parseInt(G.css(I.jquery?I[0]:I,J))||0};var H=function(M,L,J,N,I,K){if(!L.margin){J-=C(M,"marginLeft");N-=C(M,"marginTop")}if(L.border&&((G.browser.safari&&parseInt(G.browser.version)<520)||G.browser.opera)){J+=C(M,"borderLeftWidth");N+=C(M,"borderTopWidth")}else{if(!L.border&&!((G.browser.safari&&parseInt(G.browser.version)<520)||G.browser.opera)){J-=C(M,"borderLeftWidth");N-=C(M,"borderTopWidth")}}if(L.padding){J+=C(M,"paddingLeft");N+=C(M,"paddingTop")}if(L.scroll&&(!G.browser.opera||M.offsetLeft!=M.scrollLeft&&M.offsetTop!=M.scrollLeft)){I-=M.scrollLeft;K-=M.scrollTop}return L.scroll?{top:N-K,left:J-I,scrollTop:K,scrollLeft:I}:{top:N,left:J}};var F=0;var B=function(){if(!F){var I=G("<div>").css({width:100,height:100,overflow:"auto",position:"absolute",top:-1000,left:-1000}).appendTo("body");F=100-I.append("<div>").find("div").css({width:"100%",height:200}).width();I.remove()}return F}})(jQuery);(function(A){A.fn.bgIframe=jQuery.fn.bgiframe=function(C){if(!(A.browser.msie&&typeof XMLHttpRequest=="function")){return this}C=A.extend({top:"auto",left:"auto",width:"auto",height:"auto",opacity:true,src:"javascript:false;"},C||{});var D=function(E){return E&&E.constructor==Number?E+"px":E},B='<iframe class="bgiframe"frameborder="0"tabindex="-1"src="'+C.src+'"style="display:block;position:absolute;z-index:-1;'+(C.opacity!==false?"filter:Alpha(Opacity='0');":"")+"top:"+(C.top=="auto"?"expression(((parseInt(this.parentNode.currentStyle.borderTopWidth)||0)*-1)+'px')":D(C.top))+";left:"+(C.left=="auto"?"expression(((parseInt(this.parentNode.currentStyle.borderLeftWidth)||0)*-1)+'px')":D(C.left))+";width:"+(C.width=="auto"?"expression(this.parentNode.offsetWidth+'px')":D(C.width))+";height:"+(C.height=="auto"?"expression(this.parentNode.offsetHeight+'px')":D(C.height))+';"/>';return this.each(function(){if(!A("iframe.bgiframe",this)[0]){this.insertBefore(document.createElement(B),this.firstChild)}})}})(jQuery);$.fn.resetClass=function(){this.attr("class",this.attr("class"))};$.fn.setPrompt=function(A){if(this.val()==""){this.val(A)}this.bind("focus",{defaultValue:A},function(B){if($(this).val()==B.data.defaultValue){$(this).val("")}return false});this.bind("blur",{defaultValue:A},function(B){if($(this).val()==""){$(this).val(B.data.defaultValue)}return false})};$.urlencode=function(A){return encodeURIComponent(A)};$.h=function(A){newText=A.replace(/&/g,"&amp;");newText=newText.replace(/>/g,"&gt;");newText=newText.replace(/</g,"&lt;");newText=newText.replace(/"/g,"&quot;");newText=newText.replace(/'/g,"&#039;");return newText};jQuery.ui||(function(G){var A=G.fn.remove,F=G.browser.mozilla&&(parseFloat(G.browser.version)<1.9);G.ui={version:"1.7.2",plugin:{add:function(L,K,N){var J=G.ui[L].prototype;for(var M in N){J.plugins[M]=J.plugins[M]||[];J.plugins[M].push([K,N[M]])}},call:function(M,K,L){var N=M.plugins[K];if(!N||!M.element[0].parentNode){return }for(var J=0;J<N.length;J++){if(M.options[N[J][0]]){N[J][1].apply(M.element,L)}}}},contains:function(J,K){return document.compareDocumentPosition?J.compareDocumentPosition(K)&16:J!==K&&J.contains(K)},hasScroll:function(J,L){if(G(J).css("overflow")=="hidden"){return false}var M=(L&&L=="left")?"scrollLeft":"scrollTop",K=false;if(J[M]>0){return true}J[M]=1;K=(J[M]>0);J[M]=0;return K},isOverAxis:function(K,L,J){return(K>L)&&(K<(L+J))},isOver:function(N,L,O,J,M,K){return G.ui.isOverAxis(N,O,M)&&G.ui.isOverAxis(L,J,K)},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(F){var D=G.attr,E=G.fn.removeAttr,B="http://www.w3.org/2005/07/aaa",I=/^aria-/,H=/^wairole:/;G.attr=function(L,M,K){var J=K!==undefined;return(M=="role"?(J?D.call(this,L,M,"wairole:"+K):(D.apply(this,arguments)||"").replace(H,"")):(I.test(M)?(J?L.setAttributeNS(B,M.replace(I,"aaa:"),K):D.call(this,L,M.replace(I,"aaa:"))):D.apply(this,arguments)))};G.fn.removeAttr=function(J){return(I.test(J)?this.each(function(){this.removeAttributeNS(B,J.replace(I,""))}):E.call(this,J))}}G.fn.extend({remove:function(){G("*",this).add(this).each(function(){G(this).triggerHandler("remove")});return A.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 J;if((G.browser.msie&&(/(static|relative)/).test(this.css("position")))||(/absolute/).test(this.css("position"))){J=this.parents().filter(function(){return(/(relative|absolute|fixed)/).test(G.curCSS(this,"position",1))&&(/(auto|scroll)/).test(G.curCSS(this,"overflow",1)+G.curCSS(this,"overflow-y",1)+G.curCSS(this,"overflow-x",1))}).eq(0)}else{J=this.parents().filter(function(){return(/(auto|scroll)/).test(G.curCSS(this,"overflow",1)+G.curCSS(this,"overflow-y",1)+G.curCSS(this,"overflow-x",1))}).eq(0)}return(/fixed/).test(this.css("position"))||!J.length?G(document):J}});G.extend(G.expr[":"],{data:function(J,K,L){return !!G.data(J,L[3])},focusable:function(K){var J=K.nodeName.toLowerCase(),L=G.attr(K,"tabindex");return(/input|select|textarea|button|object/.test(J)?!K.disabled:"a"==J||"area"==J?K.href||!isNaN(L):!isNaN(L))&&!G(K)["area"==J?"parents":"closest"](":hidden").length},tabbable:function(J){var K=G.attr(J,"tabindex");return(isNaN(K)||K>=0)&&G(J).is(":focusable")}});function C(J,O,N,K){function L(P){var Q=G[J][O][P]||[];return(typeof Q=="string"?Q.split(/,?\s+/):Q)}var M=L("getter");if(K.length==1&&typeof K[0]=="string"){M=M.concat(L("getterSetter"))}return(G.inArray(N,M)!=-1)}G.widget=function(K,L){var J=K.split(".")[0];K=K.split(".")[1];G.fn[K]=function(N){var P=(typeof N=="string"),O=Array.prototype.slice.call(arguments,1);if(P&&N.substring(0,1)=="_"){return this}if(P&&C(J,K,N,O)){var M=G.data(this[0],K);return(M?M[N].apply(M,O):undefined)}return this.each(function(){var Q=G.data(this,K);(!Q&&!P&&G.data(this,K,new G[J][K](this,N))._init());(Q&&P&&G.isFunction(Q[N])&&Q[N].apply(Q,O))})};G[J]=G[J]||{};G[J][K]=function(N,O){var M=this;this.namespace=J;this.widgetName=K;this.widgetEventPrefix=G[J][K].eventPrefix||K;this.widgetBaseClass=J+"-"+K;this.options=G.extend({},G.widget.defaults,G[J][K].defaults,G.metadata&&G.metadata.get(N)[K],O);this.element=G(N).bind("setData."+K,function(Q,R,P){if(Q.target==N){return M._setData(R,P)}}).bind("getData."+K,function(P,Q){if(P.target==N){return M._getData(Q)}}).bind("remove",function(){return M.destroy()})};G[J][K].prototype=G.extend({},G.widget.prototype,L);G[J][K].getterSetter="option"};G.widget.prototype={_init:function(){},destroy:function(){this.element.removeData(this.widgetName).removeClass(this.widgetBaseClass+"-disabled "+this.namespace+"-state-disabled").removeAttr("aria-disabled")},option:function(K,J){var L=K,M=this;if(typeof K=="string"){if(J===undefined){return this._getData(K)}L={};L[K]=J}G.each(L,function(O,N){M._setData(O,N)})},_getData:function(J){return this.options[J]},_setData:function(K,J){this.options[K]=J;if(K=="disabled"){this.element[J?"addClass":"removeClass"](this.widgetBaseClass+"-disabled "+this.namespace+"-state-disabled").attr("aria-disabled",J)}},enable:function(){this._setData("disabled",false)},disable:function(){this._setData("disabled",true)},_trigger:function(K,J,P){var N=this.options[K],M=(K==this.widgetEventPrefix?K:this.widgetEventPrefix+K);J=G.Event(J);J.type=M;if(J.originalEvent){for(var L=G.event.props.length,O;L;){O=G.event.props[--L];J[O]=J.originalEvent[O]}}this.element.trigger(J,P);return !(G.isFunction(N)&&N.call(this.element[0],J,P)===false||J.isDefaultPrevented())}};G.widget.defaults={disabled:false};G.ui.mouse={_mouseInit:function(){var J=this;this.element.bind("mousedown."+this.widgetName,function(K){return J._mouseDown(K)}).bind("click."+this.widgetName,function(K){if(J._preventClickEvent){J._preventClickEvent=false;K.stopImmediatePropagation();return false}});if(G.browser.msie){this._mouseUnselectable=this.element.attr("unselectable");this.element.attr("unselectable","on")}this.started=false},_mouseDestroy:function(){this.element.unbind("."+this.widgetName);(G.browser.msie&&this.element.attr("unselectable",this._mouseUnselectable))},_mouseDown:function(K){K.originalEvent=K.originalEvent||{};if(K.originalEvent.mouseHandled){return }(this._mouseStarted&&this._mouseUp(K));this._mouseDownEvent=K;var L=this,J=(K.which==1),M=(typeof this.options.cancel=="string"?G(K.target).parents().add(K.target).filter(this.options.cancel).length:false);if(!J||M||!this._mouseCapture(K)){return true}this.mouseDelayMet=!this.options.delay;if(!this.mouseDelayMet){this._mouseDelayTimer=setTimeout(function(){L.mouseDelayMet=true},this.options.delay)}if(this._mouseDistanceMet(K)&&this._mouseDelayMet(K)){this._mouseStarted=(this._mouseStart(K)!==false);if(!this._mouseStarted){K.preventDefault();return true}}this._mouseMoveDelegate=function(N){return L._mouseMove(N)};this._mouseUpDelegate=function(N){return L._mouseUp(N)};G(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate);(G.browser.safari||K.preventDefault());K.originalEvent.mouseHandled=true;return true},_mouseMove:function(J){if(G.browser.msie&&!J.button){return this._mouseUp(J)}if(this._mouseStarted){this._mouseDrag(J);return J.preventDefault()}if(this._mouseDistanceMet(J)&&this._mouseDelayMet(J)){this._mouseStarted=(this._mouseStart(this._mouseDownEvent,J)!==false);(this._mouseStarted?this._mouseDrag(J):this._mouseUp(J))}return !this._mouseStarted},_mouseUp:function(J){G(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate);if(this._mouseStarted){this._mouseStarted=false;this._preventClickEvent=(J.target==this._mouseDownEvent.target);this._mouseStop(J)}return false},_mouseDistanceMet:function(J){return(Math.max(Math.abs(this._mouseDownEvent.pageX-J.pageX),Math.abs(this._mouseDownEvent.pageY-J.pageY))>=this.options.distance)},_mouseDelayMet:function(J){return this.mouseDelayMet},_mouseStart:function(J){},_mouseDrag:function(J){},_mouseStop:function(J){},_mouseCapture:function(J){return true}};G.ui.mouse.defaults={cancel:null,distance:1,delay:0}})(jQuery);(function(C){C.ui=C.ui||{};C.extend(C.ui,{plugin:{add:function(F,I,H,G){var E=C.ui[F].prototype;if(!E.plugins[I]){E.plugins[I]=[]}E.plugins[I].push([H,G])},call:function(E,F,H){var K=E.plugins[F];if(!K){return }var J=E.interaction?E.interaction.options:E.options;var I=E.interaction?E.interaction.element:E.element;for(var G=0;G<K.length;G++){if(J[K[G][0]]){K[G][1].apply(I,H)}}}}});C.fn.mouseInteractionDestroy=function(){this.each(function(){if(C.data(this,"ui-mouse")){C.data(this,"ui-mouse").destroy()}})};C.ui.mouseInteraction=function(F,G){if(!G){var G={}}this.element=F;C.data(this.element,"ui-mouse",this);this.options={};C.extend(this.options,G);C.extend(this.options,{handle:G.handle?(C(G.handle,F)[0]?C(G.handle,F):C(F)):C(F),helper:G.helper||"original",preventionDistance:G.preventionDistance||0,dragPrevention:G.dragPrevention?G.dragPrevention.toLowerCase().split(","):["input","textarea","button","select","option"],cursorAt:{top:((G.cursorAt&&G.cursorAt.top)?G.cursorAt.top:0),left:((G.cursorAt&&G.cursorAt.left)?G.cursorAt.left:0),bottom:((G.cursorAt&&G.cursorAt.bottom)?G.cursorAt.bottom:0),right:((G.cursorAt&&G.cursorAt.right)?G.cursorAt.right:0)},cursorAtIgnore:(!G.cursorAt)?true:false,appendTo:G.appendTo||"parent"});G=this.options;if(!this.options.nonDestructive&&(G.helper=="clone"||G.helper=="original")){G.margins={top:parseInt(C(F).css("marginTop"))||0,left:parseInt(C(F).css("marginLeft"))||0,bottom:parseInt(C(F).css("marginBottom"))||0,right:parseInt(C(F).css("marginRight"))||0};if(G.cursorAt.top!=0){G.cursorAt.top=G.margins.top}if(G.cursorAt.left!=0){G.cursorAt.left+=G.margins.left}if(G.cursorAt.bottom!=0){G.cursorAt.bottom+=G.margins.bottom}if(G.cursorAt.right!=0){G.cursorAt.right+=G.margins.right}if(G.helper=="original"){G.wasPositioned=C(F).css("position")}}else{G.margins={top:0,left:0,right:0,bottom:0}}var E=this;this.mousedownfunc=function(H){return E.click.apply(E,[H])};G.handle.bind("mousedown",this.mousedownfunc);if(C.browser.msie){C(this.element).attr("unselectable","on")}};C.extend(C.ui.mouseInteraction.prototype,{plugins:{},currentTarget:null,lastTarget:null,timer:null,slowMode:false,init:false,destroy:function(){this.options.handle.unbind("mousedown",this.mousedownfunc)},trigger:function(E){return this.click.apply(this,arguments)},click:function(H){var I=this.options;window.focus();if(H.which!=1){return true}var G=(H.target)?H.target.nodeName.toLowerCase():H.srcElement.nodeName.toLowerCase();for(var F=0;F<I.dragPrevention.length;F++){if(G==I.dragPrevention[F]){return true}}if(I.startCondition&&!I.startCondition.apply(this,[H])){return true}var E=this;this.mouseup=function(K){return E.stop.apply(E,[K])};this.mousemove=function(K){return E.drag.apply(E,[K])};var J=function(){C(document).bind("mouseup",E.mouseup);C(document).bind("mousemove",E.mousemove);E.opos=[H.pageX,H.pageY]};if(I.preventionTimeout){if(this.timer){clearInterval(this.timer)}this.timer=setTimeout(function(){J()},I.preventionTimeout);return false}J();return false},start:function(G){var H=this.options;var E=this.element;H.co=C(E).offset();this.helper=typeof H.helper=="function"?C(H.helper.apply(E,[G,this]))[0]:(H.helper=="clone"?C(E).clone()[0]:E);if(H.appendTo=="parent"){var F=E.parentNode;while(F){if(F.style&&(C(F).css("position")=="relative"||C(F).css("position")=="absolute")){H.pp=F;H.po=C(F).offset();H.ppOverflow=!!(C(H.pp).css("overflow")=="auto"||C(H.pp).css("overflow")=="scroll");break}F=F.parentNode?F.parentNode:null}if(!H.pp){H.po={top:0,left:0}}}this.pos=[this.opos[0],this.opos[1]];this.rpos=[this.pos[0],this.pos[1]];if(H.cursorAtIgnore){H.cursorAt.left=this.pos[0]-H.co.left+H.margins.left;H.cursorAt.top=this.pos[1]-H.co.top+H.margins.top}if(H.pp){this.pos[0]-=H.po.left;this.pos[1]-=H.po.top}this.slowMode=(H.cursorAt&&(H.cursorAt.top-H.margins.top>0||H.cursorAt.bottom-H.margins.bottom>0)&&(H.cursorAt.left-H.margins.left>0||H.cursorAt.right-H.margins.right>0))?true:false;if(!H.nonDestructive){C(this.helper).css("position","absolute")}if(H.helper!="original"){C(this.helper).appendTo((H.appendTo=="parent"?E.parentNode:H.appendTo)).show()}if(H.cursorAt.right&&!H.cursorAt.left){H.cursorAt.left=this.helper.offsetWidth+H.margins.right+H.margins.left-H.cursorAt.right}if(H.cursorAt.bottom&&!H.cursorAt.top){H.cursorAt.top=this.helper.offsetHeight+H.margins.top+H.margins.bottom-H.cursorAt.bottom}this.init=true;if(H._start){H._start.apply(E,[this.helper,this.pos,H.cursorAt,this,G])}this.helperSize={width:D(this.helper),height:B(this.helper)};return false},stop:function(G){var H=this.options;var E=this.element;var F=this;C(document).unbind("mouseup",F.mouseup);C(document).unbind("mousemove",F.mousemove);if(this.init==false){return this.opos=this.pos=null}if(H._beforeStop){H._beforeStop.apply(E,[this.helper,this.pos,H.cursorAt,this,G])}if(this.helper!=E&&!H.beQuietAtEnd){C(this.helper).remove();this.helper=null}if(!H.beQuietAtEnd){if(H._stop){H._stop.apply(E,[this.helper,this.pos,H.cursorAt,this,G])}}this.init=false;this.opos=this.pos=null;return false},drag:function(E){if(!this.opos||(C.browser.msie&&!E.button)){return this.stop.apply(this,[E])}var F=this.options;this.pos=[E.pageX,E.pageY];if(this.rpos&&this.rpos[0]==this.pos[0]&&this.rpos[1]==this.pos[1]){return false}this.rpos=[this.pos[0],this.pos[1]];if(F.pp){this.pos[0]-=F.po.left;this.pos[1]-=F.po.top}if((Math.abs(this.rpos[0]-this.opos[0])>F.preventionDistance||Math.abs(this.rpos[1]-this.opos[1])>F.preventionDistance)&&this.init==false){this.start.apply(this,[E])}else{if(this.init==false){return false}}if(F._drag){F._drag.apply(this.element,[this.helper,this.pos,F.cursorAt,this,E])}return false}});var A=function(E,F){return parseInt(C.css(E.jquery?E[0]:E,F))||0};function D(I){var G=C(I),E=G.width();for(var F=0,H=["borderLeftWidth","paddingLeft","paddingRight","borderRightWidth"];F<H.length;F++){E+=A(G,H[F])}return E}function B(H){var F=C(H),I=F.width();for(var E=0,G=["borderTopWidth","paddingTop","paddingBottom","borderBottomWidth"];E<G.length;E++){I+=A(F,G[E])}return I}})(jQuery);(function(A){A.widget("ui.slider",A.extend({},A.ui.mouse,{_init:function(){var B=this,C=this.options;this._keySliding=false;this._handleIndex=null;this._detectOrientation();this._mouseInit();this.element.addClass("ui-slider ui-slider-"+this.orientation+" ui-widget ui-widget-content ui-corner-all");this.range=A([]);if(C.range){if(C.range===true){this.range=A("<div></div>");if(!C.values){C.values=[this._valueMin(),this._valueMin()]}if(C.values.length&&C.values.length!=2){C.values=[C.values[0],C.values[0]]}}else{this.range=A("<div></div>")}this.range.appendTo(this.element).addClass("ui-slider-range");if(C.range=="min"||C.range=="max"){this.range.addClass("ui-slider-range-"+C.range)}this.range.addClass("ui-widget-header")}if(A(".ui-slider-handle",this.element).length==0){A('<a href="#"></a>').appendTo(this.element).addClass("ui-slider-handle")}if(C.values&&C.values.length){while(A(".ui-slider-handle",this.element).length<C.values.length){A('<a href="#"></a>').appendTo(this.element).addClass("ui-slider-handle")}}this.handles=A(".ui-slider-handle",this.element).addClass("ui-state-default ui-corner-all");this.handle=this.handles.eq(0);this.handles.add(this.range).filter("a").click(function(D){D.preventDefault()}).hover(function(){A(this).addClass("ui-state-hover")},function(){A(this).removeClass("ui-state-hover")}).focus(function(){A(".ui-slider .ui-state-focus").removeClass("ui-state-focus");A(this).addClass("ui-state-focus")}).blur(function(){A(this).removeClass("ui-state-focus")});this.handles.each(function(D){A(this).data("index.ui-slider-handle",D)});this.handles.keydown(function(I){var F=true;var E=A(this).data("index.ui-slider-handle");if(B.options.disabled){return }switch(I.keyCode){case A.ui.keyCode.HOME:case A.ui.keyCode.END:case A.ui.keyCode.UP:case A.ui.keyCode.RIGHT:case A.ui.keyCode.DOWN:case A.ui.keyCode.LEFT:F=false;if(!B._keySliding){B._keySliding=true;A(this).addClass("ui-state-active");B._start(I,E)}break}var G,D,H=B._step();if(B.options.values&&B.options.values.length){G=D=B.values(E)}else{G=D=B.value()}switch(I.keyCode){case A.ui.keyCode.HOME:D=B._valueMin();break;case A.ui.keyCode.END:D=B._valueMax();break;case A.ui.keyCode.UP:case A.ui.keyCode.RIGHT:if(G==B._valueMax()){return }D=G+H;break;case A.ui.keyCode.DOWN:case A.ui.keyCode.LEFT:if(G==B._valueMin()){return }D=G-H;break}B._slide(I,E,D);return F}).keyup(function(E){var D=A(this).data("index.ui-slider-handle");if(B._keySliding){B._stop(E,D);B._change(E,D);B._keySliding=false;A(this).removeClass("ui-state-active")}});this._refreshValue()},destroy:function(){this.handles.remove();this.range.remove();this.element.removeClass("ui-slider ui-slider-horizontal ui-slider-vertical ui-slider-disabled ui-widget ui-widget-content ui-corner-all").removeData("slider").unbind(".slider");this._mouseDestroy()},_mouseCapture:function(D){var E=this.options;if(E.disabled){return false}this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()};this.elementOffset=this.element.offset();var H={x:D.pageX,y:D.pageY};var J=this._normValueFromMouse(H);var C=this._valueMax()-this._valueMin()+1,F;var K=this,I;this.handles.each(function(L){var M=Math.abs(J-K.values(L));if(C>M){C=M;F=A(this);I=L}});if(E.range==true&&this.values(1)==E.min){F=A(this.handles[++I])}this._start(D,I);K._handleIndex=I;F.addClass("ui-state-active").focus();var G=F.offset();var B=!A(D.target).parents().andSelf().is(".ui-slider-handle");this._clickOffset=B?{left:0,top:0}:{left:D.pageX-G.left-(F.width()/2),top:D.pageY-G.top-(F.height()/2)-(parseInt(F.css("borderTopWidth"),10)||0)-(parseInt(F.css("borderBottomWidth"),10)||0)+(parseInt(F.css("marginTop"),10)||0)};J=this._normValueFromMouse(H);this._slide(D,I,J);return true},_mouseStart:function(B){return true},_mouseDrag:function(D){var B={x:D.pageX,y:D.pageY};var C=this._normValueFromMouse(B);this._slide(D,this._handleIndex,C);return false},_mouseStop:function(B){this.handles.removeClass("ui-state-active");this._stop(B,this._handleIndex);this._change(B,this._handleIndex);this._handleIndex=null;this._clickOffset=null;return false},_detectOrientation:function(){this.orientation=this.options.orientation=="vertical"?"vertical":"horizontal"},_normValueFromMouse:function(D){var C,H;if("horizontal"==this.orientation){C=this.elementSize.width;H=D.x-this.elementOffset.left-(this._clickOffset?this._clickOffset.left:0)}else{C=this.elementSize.height;H=D.y-this.elementOffset.top-(this._clickOffset?this._clickOffset.top:0)}var F=(H/C);if(F>1){F=1}if(F<0){F=0}if("vertical"==this.orientation){F=1-F}var E=this._valueMax()-this._valueMin(),I=F*E,B=I%this.options.step,G=this._valueMin()+I-B;if(B>(this.options.step/2)){G+=this.options.step}return parseFloat(G.toFixed(5))},_start:function(D,C){var B={handle:this.handles[C],value:this.value()};if(this.options.values&&this.options.values.length){B.value=this.values(C);B.values=this.values()}this._trigger("start",D,B)},_slide:function(F,E,D){var G=this.handles[E];if(this.options.values&&this.options.values.length){var B=this.values(E?0:1);if((E==0&&D>=B)||(E==1&&D<=B)){D=B}if(D!=this.values(E)){var C=this.values();C[E]=D;var H=this._trigger("slide",F,{handle:this.handles[E],value:D,values:C});var B=this.values(E?0:1);if(H!==false){this.values(E,D,(F.type=="mousedown"&&this.options.animate),true)}}}else{if(D!=this.value()){var H=this._trigger("slide",F,{handle:this.handles[E],value:D});if(H!==false){this._setData("value",D,(F.type=="mousedown"&&this.options.animate))}}}},_stop:function(D,C){var B={handle:this.handles[C],value:this.value()};if(this.options.values&&this.options.values.length){B.value=this.values(C);B.values=this.values()}this._trigger("stop",D,B)},_change:function(D,C){var B={handle:this.handles[C],value:this.value()};if(this.options.values&&this.options.values.length){B.value=this.values(C);B.values=this.values()}this._trigger("change",D,B)},value:function(B){if(arguments.length){this._setData("value",B);this._change(null,0)}return this._value()},values:function(B,E,C,D){if(arguments.length>1){this.options.values[B]=E;this._refreshValue(C);if(!D){this._change(null,B)}}if(arguments.length){if(this.options.values&&this.options.values.length){return this._values(B)}else{return this.value()}}else{return this._values()}},_setData:function(B,D,C){A.widget.prototype._setData.apply(this,arguments);switch(B){case"orientation":this._detectOrientation();this.element.removeClass("ui-slider-horizontal ui-slider-vertical").addClass("ui-slider-"+this.orientation);this._refreshValue(C);break;case"value":this._refreshValue(C);break}},_step:function(){var B=this.options.step;return B},_value:function(){var B=this.options.value;if(B<this._valueMin()){B=this._valueMin()}if(B>this._valueMax()){B=this._valueMax()}return B},_values:function(B){if(arguments.length){var C=this.options.values[B];if(C<this._valueMin()){C=this._valueMin()}if(C>this._valueMax()){C=this._valueMax()}return C}else{return this.options.values}},_valueMin:function(){var B=this.options.min;return B},_valueMax:function(){var B=this.options.max;return B},_refreshValue:function(C){var F=this.options.range,D=this.options,L=this;if(this.options.values&&this.options.values.length){var I,H;this.handles.each(function(P,N){var O=(L.values(P)-L._valueMin())/(L._valueMax()-L._valueMin())*90;var M={};M[L.orientation=="horizontal"?"left":"bottom"]=O+"%";A(this).stop(1,1)[C?"animate":"css"](M,D.animate);if(L.options.range===true){if(L.orientation=="horizontal"){(P==0)&&L.range.stop(1,1)[C?"animate":"css"]({left:O+"%"},D.animate);(P==1)&&L.range[C?"animate":"css"]({width:(O-lastValPercent)+"%"},{queue:false,duration:D.animate})}else{(P==0)&&L.range.stop(1,1)[C?"animate":"css"]({bottom:(O)+"%"},D.animate);(P==1)&&L.range[C?"animate":"css"]({height:(O-lastValPercent)+"%"},{queue:false,duration:D.animate})}}lastValPercent=O})}else{var J=this.value(),G=this._valueMin(),K=this._valueMax(),E=K!=G?(J-G)/(K-G)*90:0;var B={};B[L.orientation=="horizontal"?"left":"bottom"]=E+"%";this.handle.stop(1,1)[C?"animate":"css"](B,D.animate);(F=="min")&&(this.orientation=="horizontal")&&this.range.stop(1,1)[C?"animate":"css"]({width:E+"%"},D.animate);(F=="max")&&(this.orientation=="horizontal")&&this.range[C?"animate":"css"]({width:(100-E)+"%"},{queue:false,duration:D.animate});(F=="min")&&(this.orientation=="vertical")&&this.range.stop(1,1)[C?"animate":"css"]({height:E+"%"},D.animate);(F=="max")&&(this.orientation=="vertical")&&this.range[C?"animate":"css"]({height:(100-E)+"%"},{queue:false,duration:D.animate})}}}));A.extend(A.ui.slider,{getter:"value values",version:"1.7.1",eventPrefix:"slide",defaults:{animate:false,delay:0,distance:0,max:100,min:0,orientation:"horizontal",range:false,step:1,value:0,values:null}})})(jQuery);(function(L){L.fn.qtip=function(R,Y){var U,Z,S,a,V,W,X,T;if(typeof R=="string"){if(typeof L(this).data("qtip")!=="object"){L.fn.qtip.log.error.call(self,1,L.fn.qtip.constants.NO_TOOLTIP_PRESENT,false)}if(R=="api"){return L(this).data("qtip").interfaces[L(this).data("qtip").current]}else{if(R=="interfaces"){return L(this).data("qtip").interfaces}}}else{if(!R){R={}}if(typeof R.content!=="object"||(R.content.jquery&&R.content.length>0)){R.content={text:R.content}}if(typeof R.content.title!=="object"){R.content.title={text:R.content.title}}if(typeof R.position!=="object"){R.position={corner:R.position}}if(typeof R.position.corner!=="object"){R.position.corner={target:R.position.corner,tooltip:R.position.corner}}if(typeof R.show!=="object"){R.show={when:R.show}}if(typeof R.show.when!=="object"){R.show.when={event:R.show.when}}if(typeof R.show.effect!=="object"){R.show.effect={type:R.show.effect}}if(typeof R.hide!=="object"){R.hide={when:R.hide}}if(typeof R.hide.when!=="object"){R.hide.when={event:R.hide.when}}if(typeof R.hide.effect!=="object"){R.hide.effect={type:R.hide.effect}}if(typeof R.style!=="object"){R.style={name:R.style}}R.style=O(R.style);a=L.extend(true,{},L.fn.qtip.defaults,R);a.style=Q.call({options:a},a.style);a.user=L.extend(true,{},R)}return L(this).each(function(){if(typeof R=="string"){W=R.toLowerCase();S=L(this).qtip("interfaces");if(typeof S=="object"){if(Y===true&&W=="destroy"){while(S.length>0){S[S.length-1].destroy()}}else{if(Y!==true){S=[L(this).qtip("api")]}for(U=0;U<S.length;U++){if(W=="destroy"){S[U].destroy()}else{if(S[U].status.rendered===true){if(W=="show"){S[U].show()}else{if(W=="hide"){S[U].hide()}else{if(W=="focus"){S[U].focus()}else{if(W=="disable"){S[U].disable(true)}else{if(W=="enable"){S[U].disable(false)}}}}}}}}}}}else{X=L.extend(true,{},a);X.hide.effect.length=a.hide.effect.length;X.show.effect.length=a.show.effect.length;if(X.position.container===false){X.position.container=L(document.body)}if(X.position.target===false){X.position.target=L(this)}if(X.show.when.target===false){X.show.when.target=L(this)}if(X.hide.when.target===false){X.hide.when.target=L(this)}Z=L.fn.qtip.interfaces.length;for(U=0;U<Z;U++){if(typeof L.fn.qtip.interfaces[U]=="undefined"){Z=U;break}}V=new N(L(this),X,Z);L.fn.qtip.interfaces[Z]=V;if(typeof L(this).data("qtip")=="object"){if(typeof L(this).attr("qtip")==="undefined"){L(this).data("qtip").current=L(this).data("qtip").interfaces.length}L(this).data("qtip").interfaces.push(V)}else{L(this).data("qtip",{current:0,interfaces:[V]})}if(X.content.prerender===false&&X.show.when.event!==false&&X.show.ready!==true){X.show.when.target.bind(X.show.when.event+".qtip-"+Z+"-create",{qtip:Z},function(b){T=L.fn.qtip.interfaces[b.data.qtip];T.options.show.when.target.unbind(T.options.show.when.event+".qtip-"+b.data.qtip+"-create");T.cache.mouse={x:b.pageX,y:b.pageY};C.call(T);T.options.show.when.target.trigger(T.options.show.when.event)})}else{V.cache.mouse={x:X.show.when.target.offset().left,y:X.show.when.target.offset().top};C.call(V)}}})};function N(S,T,R){var U=this;U.id=R;U.options=T;U.status={animated:false,rendered:false,disabled:false,focused:false};U.elements={target:S.addClass(U.options.style.classes.target),tooltip:null,wrapper:null,content:null,contentWrapper:null,title:null,button:null,tip:null,bgiframe:null};U.cache={mouse:{},position:{},toggle:0};U.timers={};L.extend(U,U.options.api,{show:function(Y){var V,X;if(!U.status.rendered){return L.fn.qtip.log.error.call(U,2,L.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"show")}if(U.elements.tooltip.css("display")!=="none"){return U}U.elements.tooltip.stop(true,false);V=U.beforeShow.call(U,Y);if(V===false){return U}function W(){if(U.options.position.type!=="static"){U.focus()}U.onShow.call(U,Y);if(L.browser.msie){U.elements.tooltip.get(0).style.removeAttribute("filter")}}U.cache.toggle=1;if(U.options.position.type!=="static"){U.updatePosition(Y,(U.options.show.effect.length>0))}if(typeof U.options.show.solo=="object"){X=L(U.options.show.solo)}else{if(U.options.show.solo===true){X=L("div.qtip").not(U.elements.tooltip)}}if(X){X.each(function(){if(L(this).qtip("api").status.rendered===true){L(this).qtip("api").hide()}})}if(typeof U.options.show.effect.type=="function"){U.options.show.effect.type.call(U.elements.tooltip,U.options.show.effect.length);U.elements.tooltip.queue(function(){W();L(this).dequeue()})}else{switch(U.options.show.effect.type.toLowerCase()){case"fade":U.elements.tooltip.fadeIn(U.options.show.effect.length,W);break;case"slide":U.elements.tooltip.slideDown(U.options.show.effect.length,function(){W();if(U.options.position.type!=="static"){U.updatePosition(Y,true)}});break;case"grow":U.elements.tooltip.show(U.options.show.effect.length,W);break;default:U.elements.tooltip.show(null,W);break}U.elements.tooltip.addClass(U.options.style.classes.active)}return L.fn.qtip.log.error.call(U,1,L.fn.qtip.constants.EVENT_SHOWN,"show")},hide:function(X){var V;if(!U.status.rendered){return L.fn.qtip.log.error.call(U,2,L.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"hide")}else{if(U.elements.tooltip.css("display")==="none"){return U}}clearTimeout(U.timers.show);U.elements.tooltip.stop(true,false);V=U.beforeHide.call(U,X);if(V===false){return U}function W(){U.onHide.call(U,X)}U.cache.toggle=0;if(typeof U.options.hide.effect.type=="function"){U.options.hide.effect.type.call(U.elements.tooltip,U.options.hide.effect.length);U.elements.tooltip.queue(function(){W();L(this).dequeue()})}else{switch(U.options.hide.effect.type.toLowerCase()){case"fade":U.elements.tooltip.fadeOut(U.options.hide.effect.length,W);break;case"slide":U.elements.tooltip.slideUp(U.options.hide.effect.length,W);break;case"grow":U.elements.tooltip.hide(U.options.hide.effect.length,W);break;default:U.elements.tooltip.hide(null,W);break}U.elements.tooltip.removeClass(U.options.style.classes.active)}return L.fn.qtip.log.error.call(U,1,L.fn.qtip.constants.EVENT_HIDDEN,"hide")},updatePosition:function(g,e){var W,j,a,d,h,l,c,f,X,V,b,Y,k,Z;if(!U.status.rendered){return L.fn.qtip.log.error.call(U,2,L.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"updatePosition")}else{if(U.options.position.type=="static"){return L.fn.qtip.log.error.call(U,1,L.fn.qtip.constants.CANNOT_POSITION_STATIC,"updatePosition")}}j={position:{left:0,top:0},dimensions:{height:0,width:0},corner:U.options.position.corner.target};a={position:U.getPosition(),dimensions:U.getDimensions(),corner:U.options.position.corner.tooltip};if(U.options.position.target!=="mouse"){if(U.options.position.target.get(0).nodeName.toLowerCase()=="area"){d=U.options.position.target.attr("coords").split(",");for(W=0;W<d.length;W++){d[W]=parseInt(d[W])}h=U.options.position.target.parent("map").attr("name");l=L('img[usemap="#'+h+'"]:first').offset();j.position={left:Math.floor(l.left+d[0]),top:Math.floor(l.top+d[1])};switch(U.options.position.target.attr("shape").toLowerCase()){case"rect":j.dimensions={width:Math.ceil(Math.abs(d[2]-d[0])),height:Math.ceil(Math.abs(d[3]-d[1]))};break;case"circle":j.dimensions={width:d[2]+1,height:d[2]+1};break;case"poly":j.dimensions={width:d[0],height:d[1]};for(W=0;W<d.length;W++){if(W%2==0){if(d[W]>j.dimensions.width){j.dimensions.width=d[W]}if(d[W]<d[0]){j.position.left=Math.floor(l.left+d[W])}}else{if(d[W]>j.dimensions.height){j.dimensions.height=d[W]}if(d[W]<d[1]){j.position.top=Math.floor(l.top+d[W])}}}j.dimensions.width=j.dimensions.width-(j.position.left-l.left);j.dimensions.height=j.dimensions.height-(j.position.top-l.top);break;default:return L.fn.qtip.log.error.call(U,4,L.fn.qtip.constants.INVALID_AREA_SHAPE,"updatePosition");break}j.dimensions.width-=2;j.dimensions.height-=2}else{if(U.options.position.target.add(document.body).length===1){j.position={left:L(document).scrollLeft(),top:L(document).scrollTop()};j.dimensions={height:L(window).height(),width:L(window).width()}}else{if(typeof U.options.position.target.attr("qtip")!=="undefined"){j.position=U.options.position.target.qtip("api").cache.position}else{j.position=U.options.position.target.offset()}j.dimensions={height:U.options.position.target.outerHeight(),width:U.options.position.target.outerWidth()}}}c=L.extend({},j.position);if(j.corner.search(/right/i)!==-1){c.left+=j.dimensions.width}if(j.corner.search(/bottom/i)!==-1){c.top+=j.dimensions.height}if(j.corner.search(/((top|bottom)Middle)|center/)!==-1){c.left+=(j.dimensions.width/2)}if(j.corner.search(/((left|right)Middle)|center/)!==-1){c.top+=(j.dimensions.height/2)}}else{j.position=c={left:U.cache.mouse.x,top:U.cache.mouse.y};j.dimensions={height:1,width:1}}if(a.corner.search(/right/i)!==-1){c.left-=a.dimensions.width}if(a.corner.search(/bottom/i)!==-1){c.top-=a.dimensions.height}if(a.corner.search(/((top|bottom)Middle)|center/)!==-1){c.left-=(a.dimensions.width/2)}if(a.corner.search(/((left|right)Middle)|center/)!==-1){c.top-=(a.dimensions.height/2)}f=(L.browser.msie)?1:0;X=(L.browser.msie&&parseInt(L.browser.version.charAt(0))===6)?1:0;if(U.options.style.border.radius>0){if(a.corner.search(/Left/)!==-1){c.left-=U.options.style.border.radius}else{if(a.corner.search(/Right/)!==-1){c.left+=U.options.style.border.radius}}if(a.corner.search(/Top/)!==-1){c.top-=U.options.style.border.radius}else{if(a.corner.search(/Bottom/)!==-1){c.top+=U.options.style.border.radius}}}if(f){if(a.corner.search(/top/)!==-1){c.top-=f}else{if(a.corner.search(/bottom/)!==-1){c.top+=f}}if(a.corner.search(/left/)!==-1){c.left-=f}else{if(a.corner.search(/right/)!==-1){c.left+=f}}if(a.corner.search(/leftMiddle|rightMiddle/)!==-1){c.top-=1}}if(U.options.position.adjust.screen===true){c=D.call(U,c,j,a)}if(U.options.position.target==="mouse"&&U.options.position.adjust.mouse===true){if(U.options.position.adjust.screen===true&&U.elements.tip){b=U.elements.tip.attr("rel")}else{b=U.options.position.corner.tooltip}c.left+=(b.search(/right/i)!==-1)?-6:6;c.top+=(b.search(/bottom/i)!==-1)?-6:6}if(!U.elements.bgiframe&&L.browser.msie&&parseInt(L.browser.version.charAt(0))==6){L("select, object").each(function(){Y=L(this).offset();Y.bottom=Y.top+L(this).height();Y.right=Y.left+L(this).width();if(c.top+a.dimensions.height>=Y.top&&c.left+a.dimensions.width>=Y.left){H.call(U)}})}c.left+=U.options.position.adjust.x;c.top+=U.options.position.adjust.y;k=U.getPosition();if(c.left!=k.left||c.top!=k.top){Z=U.beforePositionUpdate.call(U,g);if(Z===false){return U}U.cache.position=c;if(e===true){U.status.animated=true;U.elements.tooltip.animate(c,200,"swing",function(){U.status.animated=false})}else{U.elements.tooltip.css(c)}U.onPositionUpdate.call(U,g);if(typeof g!=="undefined"&&g.type&&g.type!=="mousemove"){L.fn.qtip.log.error.call(U,1,L.fn.qtip.constants.EVENT_POSITION_UPDATED,"updatePosition")}}return U},updateWidth:function(W){var V;if(!U.status.rendered){return L.fn.qtip.log.error.call(U,2,L.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"updateWidth")}else{if(W&&typeof W!=="number"){return L.fn.qtip.log.error.call(U,2,"newWidth must be of type number","updateWidth")}}V=U.elements.contentWrapper.siblings().add(U.elements.tip).add(U.elements.button);if(!W){if(typeof U.options.style.width.value=="number"){W=U.options.style.width.value}else{U.elements.tooltip.css({width:"auto"});V.hide();if(L.browser.msie){U.elements.wrapper.add(U.elements.contentWrapper.children()).css({zoom:"normal"})}W=U.getDimensions().width+1;if(!U.options.style.width.value){if(W>U.options.style.width.max){W=U.options.style.width.max}if(W<U.options.style.width.min){W=U.options.style.width.min}}}}if(W%2!==0){W-=1}U.elements.tooltip.width(W);V.show();if(U.options.style.border.radius){U.elements.tooltip.find(".qtip-betweenCorners").each(function(X){L(this).width(W-(U.options.style.border.radius*2))})}if(L.browser.msie){U.elements.wrapper.add(U.elements.contentWrapper.children()).css({zoom:"1"});U.elements.wrapper.width(W);if(U.elements.bgiframe){U.elements.bgiframe.width(W).height(U.getDimensions.height)}}return L.fn.qtip.log.error.call(U,1,L.fn.qtip.constants.EVENT_WIDTH_UPDATED,"updateWidth")},updateStyle:function(X){var Y,W,V,a,Z;if(!U.status.rendered){return L.fn.qtip.log.error.call(U,2,L.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"updateStyle")}else{if(typeof X!=="string"||!L.fn.qtip.styles[X]){return L.fn.qtip.log.error.call(U,2,L.fn.qtip.constants.STYLE_NOT_DEFINED,"updateStyle")}}U.options.style=Q.call(U,L.fn.qtip.styles[X],U.options.user.style);U.elements.content.css(B(U.options.style));if(U.options.content.title.text!==false){U.elements.title.css(B(U.options.style.title,true))}U.elements.contentWrapper.css({borderColor:U.options.style.border.color});if(U.options.style.tip.corner!==false){if(L("<canvas>").get(0).getContext){Y=U.elements.tooltip.find(".qtip-tip canvas:first");V=Y.get(0).getContext("2d");V.clearRect(0,0,300,300);a=Y.parent("div[rel]:first").attr("rel");Z=P(a,U.options.style.tip.size.width,U.options.style.tip.size.height);J.call(U,Y,Z,U.options.style.tip.color||U.options.style.border.color)}else{if(L.browser.msie){Y=U.elements.tooltip.find('.qtip-tip [nodeName="shape"]');Y.attr("fillcolor",U.options.style.tip.color||U.options.style.border.color)}}}if(U.options.style.border.radius>0){U.elements.tooltip.find(".qtip-betweenCorners").css({backgroundColor:U.options.style.border.color});if(L("<canvas>").get(0).getContext){W=K(U.options.style.border.radius);U.elements.tooltip.find(".qtip-wrapper canvas").each(function(){V=L(this).get(0).getContext("2d");V.clearRect(0,0,300,300);a=L(this).parent("div[rel]:first").attr("rel");A.call(U,L(this),W[a],U.options.style.border.radius,U.options.style.border.color)})}else{if(L.browser.msie){U.elements.tooltip.find('.qtip-wrapper [nodeName="arc"]').each(function(){L(this).attr("fillcolor",U.options.style.border.color)})}}}return L.fn.qtip.log.error.call(U,1,L.fn.qtip.constants.EVENT_STYLE_UPDATED,"updateStyle")},updateContent:function(W,a){var Y,V,X;if(!U.status.rendered){return L.fn.qtip.log.error.call(U,2,L.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"updateContent")}else{if(!W){return L.fn.qtip.log.error.call(U,2,L.fn.qtip.constants.NO_CONTENT_PROVIDED,"updateContent")}}Y=U.beforeContentUpdate.call(U,W);if(typeof Y=="string"){W=Y}else{if(Y===false){return }}if(L.browser.msie){U.elements.contentWrapper.children().css({zoom:"normal"})}if(W.jquery&&W.length>0){W.clone(true).appendTo(U.elements.content).show()}else{U.elements.content.html(W)}V=U.elements.content.find("img[complete=false]");if(V.length>0){X=0;V.each(function(b){L('<img src="'+L(this).attr("src")+'" />').load(function(){if(++X==V.length){Z()}})})}else{Z()}function Z(){U.updateWidth();if(a!==false){if(U.options.position.type!=="static"){U.updatePosition(U.elements.tooltip.is(":visible"),true)}if(U.options.style.tip.corner!==false){E.call(U)}}}U.onContentUpdate.call(U);return L.fn.qtip.log.error.call(U,1,L.fn.qtip.constants.EVENT_CONTENT_UPDATED,"loadContent")},loadContent:function(X,Y,W){var Z;if(!U.status.rendered){return L.fn.qtip.log.error.call(U,2,L.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"loadContent")}Z=U.beforeContentLoad.call(U);if(Z===false){return U}if(W=="post"){L.post(X,Y,V)}else{L.get(X,Y,V)}function V(a){U.onContentLoad.call(U);L.fn.qtip.log.error.call(U,1,L.fn.qtip.constants.EVENT_CONTENT_LOADED,"loadContent");U.updateContent(a)}return U},updateTitle:function(V){if(!U.status.rendered){return L.fn.qtip.log.error.call(U,2,L.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"updateTitle")}else{if(!V){return L.fn.qtip.log.error.call(U,2,L.fn.qtip.constants.NO_CONTENT_PROVIDED,"updateTitle")}}returned=U.beforeTitleUpdate.call(U);if(returned===false){return U}if(U.elements.button){U.elements.button=U.elements.button.clone(true)}U.elements.title.html(V);if(U.elements.button){U.elements.title.prepend(U.elements.button)}U.onTitleUpdate.call(U);return L.fn.qtip.log.error.call(U,1,L.fn.qtip.constants.EVENT_TITLE_UPDATED,"updateTitle")},focus:function(W){var Z,V,X,Y;if(!U.status.rendered){return L.fn.qtip.log.error.call(U,2,L.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"focus")}else{if(U.options.position.type=="static"){return L.fn.qtip.log.error.call(U,1,L.fn.qtip.constants.CANNOT_FOCUS_STATIC,"focus")}}Z=parseInt(U.elements.tooltip.css("z-index"));V=6000+L("div.qtip[qtip]").length-1;if(!U.status.focused&&Z!==V){Y=U.beforeFocus.call(U,W);if(Y===false){return U}L("div.qtip[qtip]").not(U.elements.tooltip).each(function(){if(L(this).qtip("api").status.rendered===true){X=parseInt(L(this).css("z-index"));if(typeof X=="number"&&X>-1){L(this).css({zIndex:parseInt(L(this).css("z-index"))-1})}L(this).qtip("api").status.focused=false}});U.elements.tooltip.css({zIndex:V});U.status.focused=true;U.onFocus.call(U,W);L.fn.qtip.log.error.call(U,1,L.fn.qtip.constants.EVENT_FOCUSED,"focus")}return U},disable:function(V){if(!U.status.rendered){return L.fn.qtip.log.error.call(U,2,L.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"disable")}if(V){if(!U.status.disabled){U.status.disabled=true;L.fn.qtip.log.error.call(U,1,L.fn.qtip.constants.EVENT_DISABLED,"disable")}else{L.fn.qtip.log.error.call(U,1,L.fn.qtip.constants.TOOLTIP_ALREADY_DISABLED,"disable")}}else{if(U.status.disabled){U.status.disabled=false;L.fn.qtip.log.error.call(U,1,L.fn.qtip.constants.EVENT_ENABLED,"disable")}else{L.fn.qtip.log.error.call(U,1,L.fn.qtip.constants.TOOLTIP_ALREADY_ENABLED,"disable")}}return U},destroy:function(){var W,V,X;V=U.beforeDestroy.call(U);if(V===false){return U}if(U.status.rendered){U.options.show.when.target.unbind("mousemove.qtip",U.updatePosition);U.options.show.when.target.unbind("mouseout.qtip",U.hide);U.options.show.when.target.unbind(U.options.show.when.event+".qtip");U.options.hide.when.target.unbind(U.options.hide.when.event+".qtip");U.elements.tooltip.unbind(U.options.hide.when.event+".qtip");U.elements.tooltip.unbind("mouseover.qtip",U.focus);U.elements.tooltip.remove()}else{U.options.show.when.target.unbind(U.options.show.when.event+".qtip-create")}if(typeof U.elements.target.data("qtip")=="object"){X=U.elements.target.data("qtip").interfaces;if(typeof X=="object"&&X.length>0){for(W=0;W<X.length-1;W++){if(X[W].id==U.id){X.splice(W,1)}}}}delete L.fn.qtip.interfaces[U.id];if(typeof X=="object"&&X.length>0){U.elements.target.data("qtip").current=X.length-1}else{U.elements.target.removeData("qtip")}U.onDestroy.call(U);L.fn.qtip.log.error.call(U,1,L.fn.qtip.constants.EVENT_DESTROYED,"destroy");return U.elements.target},getPosition:function(){var W,V;if(!U.status.rendered){return L.fn.qtip.log.error.call(U,2,L.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"getPosition")}W=(U.elements.tooltip.css("display")!=="none")?false:true;if(W){U.elements.tooltip.css({visiblity:"hidden"}).show()}V=U.elements.tooltip.offset();if(W){U.elements.tooltip.css({visiblity:"visible"}).hide()}return V},getDimensions:function(){var W,V;if(!U.status.rendered){return L.fn.qtip.log.error.call(U,2,L.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"getDimensions")}W=(!U.elements.tooltip.is(":visible"))?true:false;if(W){U.elements.tooltip.css({visiblity:"hidden"}).show()}V={height:U.elements.tooltip.outerHeight(),width:U.elements.tooltip.outerWidth()};if(W){U.elements.tooltip.css({visiblity:"visible"}).hide()}return V}})}function C(){var W,S,U,V,T,X,R;W=this;W.beforeRender.call(W);W.status.rendered=true;W.elements.tooltip='<div qtip="'+W.id+'" class="qtip '+(W.options.style.classes.tooltip||W.options.style)+'"style="display:none; -moz-border-radius:0; -webkit-border-radius:0; border-radius:0;position:'+W.options.position.type+';">  <div class="qtip-wrapper" style="position:relative; overflow:hidden; text-align:left;">    <div class="qtip-contentWrapper" style="overflow:hidden;">       <div class="qtip-content '+W.options.style.classes.content+'"></div></div></div></div>';W.elements.tooltip=L(W.elements.tooltip);W.elements.tooltip.appendTo(W.options.position.container);W.elements.tooltip.data("qtip",{current:0,interfaces:[W]});W.elements.wrapper=W.elements.tooltip.children("div:first");W.elements.contentWrapper=W.elements.wrapper.children("div:first").css({background:W.options.style.background});W.elements.content=W.elements.contentWrapper.children("div:first").css(B(W.options.style));if(L.browser.msie){W.elements.wrapper.add(W.elements.content).css({zoom:1})}if(W.options.hide.when.event=="unfocus"){W.elements.tooltip.attr("unfocus",true)}if(typeof W.options.style.width.value=="number"){W.updateWidth()}if(L("<canvas>").get(0).getContext||L.browser.msie){if(W.options.style.border.radius>0){F.call(W)}else{W.elements.contentWrapper.css({border:W.options.style.border.width+"px solid "+W.options.style.border.color})}if(W.options.style.tip.corner!==false){M.call(W)}}else{W.elements.contentWrapper.css({border:W.options.style.border.width+"px solid "+W.options.style.border.color});W.options.style.border.radius=0;W.options.style.tip.corner=false;L.fn.qtip.log.error.call(W,2,L.fn.qtip.constants.CANVAS_VML_NOT_SUPPORTED,"render")}if((typeof W.options.content.text=="string"&&W.options.content.text.length>0)||(W.options.content.text.jquery&&W.options.content.text.length>0)){U=W.options.content.text}else{if(typeof W.elements.target.attr("title")=="string"&&W.elements.target.attr("title").length>0){U=W.elements.target.attr("title").replace("\\n","<br />");W.elements.target.attr("title","")}else{if(typeof W.elements.target.attr("alt")=="string"&&W.elements.target.attr("alt").length>0){U=W.elements.target.attr("alt").replace("\\n","<br />");W.elements.target.attr("alt","")}else{U=" ";L.fn.qtip.log.error.call(W,1,L.fn.qtip.constants.NO_VALID_CONTENT,"render")}}}if(W.options.content.title.text!==false){I.call(W)}W.updateContent(U);G.call(W);if(W.options.show.ready===true){W.show()}if(W.options.content.url!==false){V=W.options.content.url;T=W.options.content.data;X=W.options.content.method||"get";W.loadContent(V,T,X)}W.onRender.call(W);L.fn.qtip.log.error.call(W,1,L.fn.qtip.constants.EVENT_RENDERED,"render")}function F(){var c,V,d,T,X,f,b,a,R,W,Y,S,U,e,Z;c=this;c.elements.wrapper.find(".qtip-borderBottom, .qtip-borderTop").remove();d=c.options.style.border.width;T=c.options.style.border.radius;X=c.options.style.border.color||c.options.style.tip.color;f=K(T);b={};for(V in f){b[V]='<div rel="'+V+'" style="'+((V.search(/Left/)!==-1)?"left":"right")+":0; position:absolute; height:"+T+"px; width:"+T+'px; overflow:hidden; line-height:0.1px; font-size:1px">';if(L("<canvas>").get(0).getContext){b[V]+='<canvas height="'+T+'" width="'+T+'" style="vertical-align: top"></canvas>'}else{if(L.browser.msie){a=T*2+3;b[V]+='<v:arc stroked="false" fillcolor="'+X+'" startangle="'+f[V][0]+'" endangle="'+f[V][1]+'" style="width:'+a+"px; height:"+a+"px; margin-top:"+((V.search(/bottom/)!==-1)?-2:-1)+"px; margin-left:"+((V.search(/Right/)!==-1)?f[V][2]-3.5:-1)+'px; vertical-align:top; display:inline-block; behavior:url(#default#VML)"></v:arc>'}}b[V]+="</div>"}R=c.getDimensions().width-(Math.max(d,T)*2);W='<div class="qtip-betweenCorners" style="height:'+T+"px; width:"+R+"px; overflow:hidden; background-color:"+X+'; line-height:0.1px; font-size:1px;">';Y='<div class="qtip-borderTop" dir="ltr" style="height:'+T+"px; margin-left:"+T+'px; line-height:0.1px; font-size:1px; padding:0;">'+b.topLeft+b.topRight+W;c.elements.wrapper.prepend(Y);S='<div class="qtip-borderBottom" dir="ltr" style="height:'+T+"px; margin-left:"+T+'px; line-height:0.1px; font-size:1px; padding:0;">'+b.bottomLeft+b.bottomRight+W;c.elements.wrapper.append(S);if(L("<canvas>").get(0).getContext){c.elements.wrapper.find("canvas").each(function(){U=f[L(this).parent("[rel]:first").attr("rel")];A.call(c,L(this),U,T,X)})}else{if(L.browser.msie){c.elements.tooltip.append('<v:image style="behavior:url(#default#VML);"></v:image>')}}e=Math.max(T,(T+(d-T)));Z=Math.max(d-T,0);c.elements.contentWrapper.css({border:"0px solid "+X,borderWidth:Z+"px "+e+"px"})}function A(T,R,V,U){var S=T.get(0).getContext("2d");S.fillStyle=U;S.beginPath();S.arc(R[0],R[1],V,0,Math.PI*2,false);S.fill()}function M(T){var V,W,R,U,S;V=this;if(V.elements.tip!==null){V.elements.tip.remove()}W=V.options.style.tip.color||V.options.style.border.color;if(V.options.style.tip.corner===false){return }else{if(!T){T=V.options.style.tip.corner}}R=P(T,V.options.style.tip.size.width,V.options.style.tip.size.height);V.elements.tip='<div class="'+V.options.style.classes.tip+'" dir="ltr" rel="'+T+'" style="position:absolute; height:'+V.options.style.tip.size.height+"px; width:"+V.options.style.tip.size.width+'px; margin:0 auto; line-height:0.1px; font-size:1px;">';if(L("<canvas>").get(0).getContext){V.elements.tip+='<canvas height="'+V.options.style.tip.size.height+'" width="'+V.options.style.tip.size.width+'"></canvas>'}else{if(L.browser.msie){U=V.options.style.tip.size.width+","+V.options.style.tip.size.height;S="m"+R[0][0]+","+R[0][1];S+=" l"+R[1][0]+","+R[1][1];S+=" "+R[2][0]+","+R[2][1];S+=" xe";V.elements.tip+='<v:shape fillcolor="'+W+'" stroked="false" filled="true" path="'+S+'" coordsize="'+U+'" style="width:'+V.options.style.tip.size.width+"px; height:"+V.options.style.tip.size.height+"px; line-height:0.1px; display:inline-block; behavior:url(#default#VML); vertical-align:"+((T.search(/top/)!==-1)?"bottom":"top")+'"></v:shape>';V.elements.tip+='<v:image style="behavior:url(#default#VML);"></v:image>';V.elements.contentWrapper.css("position","relative")}}V.elements.tooltip.prepend(V.elements.tip+"</div>");V.elements.tip=V.elements.tooltip.find("."+V.options.style.classes.tip).eq(0);if(L("<canvas>").get(0).getContext){J.call(V,V.elements.tip.find("canvas:first"),R,W)}if(T.search(/top/)!==-1&&L.browser.msie&&parseInt(L.browser.version.charAt(0))===6){V.elements.tip.css({marginTop:-4})}E.call(V,T)}function J(T,R,U){var S=T.get(0).getContext("2d");S.fillStyle=U;S.beginPath();S.moveTo(R[0][0],R[0][1]);S.lineTo(R[1][0],R[1][1]);S.lineTo(R[2][0],R[2][1]);S.fill()}function E(U){var V,S,W,R,T;V=this;if(V.options.style.tip.corner===false||!V.elements.tip){return }if(!U){U=V.elements.tip.attr("rel")}S=positionAdjust=(L.browser.msie)?1:0;V.elements.tip.css(U.match(/left|right|top|bottom/)[0],0);if(U.search(/top|bottom/)!==-1){if(L.browser.msie){if(parseInt(L.browser.version.charAt(0))===6){positionAdjust=(U.search(/top/)!==-1)?-3:1}else{positionAdjust=(U.search(/top/)!==-1)?1:2}}if(U.search(/Middle/)!==-1){V.elements.tip.css({left:"50%",marginLeft:-(V.options.style.tip.size.width/2)})}else{if(U.search(/Left/)!==-1){V.elements.tip.css({left:V.options.style.border.radius-S})}else{if(U.search(/Right/)!==-1){V.elements.tip.css({right:V.options.style.border.radius+S})}}}if(U.search(/top/)!==-1){V.elements.tip.css({top:-positionAdjust})}else{V.elements.tip.css({bottom:positionAdjust})}}else{if(U.search(/left|right/)!==-1){if(L.browser.msie){positionAdjust=(parseInt(L.browser.version.charAt(0))===6)?1:((U.search(/left/)!==-1)?1:2)}if(U.search(/Middle/)!==-1){V.elements.tip.css({top:"50%",marginTop:-(V.options.style.tip.size.height/2)})}else{if(U.search(/Top/)!==-1){V.elements.tip.css({top:V.options.style.border.radius-S})}else{if(U.search(/Bottom/)!==-1){V.elements.tip.css({bottom:V.options.style.border.radius+S})}}}if(U.search(/left/)!==-1){V.elements.tip.css({left:-positionAdjust})}else{V.elements.tip.css({right:positionAdjust})}}}W="padding-"+U.match(/left|right|top|bottom/)[0];R=V.options.style.tip.size[(W.search(/left|right/)!==-1)?"width":"height"];V.elements.tooltip.css("padding",0);V.elements.tooltip.css(W,R);if(L.browser.msie&&parseInt(L.browser.version.charAt(0))==6){T=parseInt(V.elements.tip.css("margin-top"))||0;T+=parseInt(V.elements.content.css("margin-top"))||0;V.elements.tip.css({marginTop:T})}}function I(){var R=this;if(R.elements.title!==null){R.elements.title.remove()}R.elements.title=L('<div class="'+R.options.style.classes.title+'">').css(B(R.options.style.title,true)).css({zoom:(L.browser.msie)?1:0}).prependTo(R.elements.contentWrapper);if(R.options.content.title.text){R.updateTitle.call(R,R.options.content.title.text)}if(R.options.content.title.button!==false&&typeof R.options.content.title.button=="string"){R.elements.button=L('<a class="'+R.options.style.classes.button+'" style="float:right; position: relative"></a>').css(B(R.options.style.button,true)).html(R.options.content.title.button).prependTo(R.elements.title).click(function(S){if(!R.status.disabled){R.hide(S)}})}}function G(){var V,T,U,W;V=this;T=V.options.show.when.target;U=V.options.hide.when.target;if(V.options.hide.fixed){U=U.add(V.elements.tooltip)}if(V.options.hide.when.event=="inactive"){W=["click","dblclick","mousedown","mouseup","mousemove","mouseout","mouseenter","mouseleave","mouseover"];function X(Y){if(V.status.disabled===true){return }clearTimeout(V.timers.inactive);V.timers.inactive=setTimeout(function(){L(W).each(function(){U.unbind(this+".qtip-inactive");V.elements.content.unbind(this+".qtip-inactive")});V.hide(Y)},V.options.hide.delay)}}else{if(V.options.hide.fixed===true){V.elements.tooltip.bind("mouseover.qtip",function(){if(V.status.disabled===true){return }clearTimeout(V.timers.hide)})}}function R(Y){if(V.status.disabled===true){return }if(V.options.hide.when.event=="inactive"){L(W).each(function(){U.bind(this+".qtip-inactive",X);V.elements.content.bind(this+".qtip-inactive",X)});X()}clearTimeout(V.timers.show);clearTimeout(V.timers.hide);V.timers.show=setTimeout(function(){V.show(Y)},V.options.show.delay)}function S(Y){if(V.status.disabled===true){return }if(V.options.hide.fixed===true&&V.options.hide.when.event.search(/mouse(out|leave)/i)!==-1&&L(Y.relatedTarget).parents("div.qtip[qtip]").length>0){Y.stopPropagation();Y.preventDefault();clearTimeout(V.timers.hide);return false}clearTimeout(V.timers.show);clearTimeout(V.timers.hide);V.elements.tooltip.stop(true,true);V.timers.hide=setTimeout(function(){V.hide(Y)},V.options.hide.delay)}if((V.options.show.when.target.add(V.options.hide.when.target).length===1&&V.options.show.when.event==V.options.hide.when.event&&V.options.hide.when.event!=="inactive")||V.options.hide.when.event=="unfocus"){V.cache.toggle=0;T.bind(V.options.show.when.event+".qtip",function(Y){if(V.cache.toggle==0){R(Y)}else{S(Y)}})}else{T.bind(V.options.show.when.event+".qtip",R);if(V.options.hide.when.event!=="inactive"){U.bind(V.options.hide.when.event+".qtip",S)}}if(V.options.position.type.search(/(fixed|absolute)/)!==-1){V.elements.tooltip.bind("mouseover.qtip",V.focus)}if(V.options.position.target==="mouse"&&V.options.position.type!=="static"){T.bind("mousemove.qtip",function(Y){V.cache.mouse={x:Y.pageX,y:Y.pageY};if(V.status.disabled===false&&V.options.position.adjust.mouse===true&&V.options.position.type!=="static"&&V.elements.tooltip.css("display")!=="none"){V.updatePosition(Y)}})}}function D(X,W,R){var S,Z,U,T,Y,V;S=this;if(R.corner=="center"){return W.position}Z=L.extend({},X);T={x:false,y:false};Y={left:(Z.left<L.fn.qtip.cache.screen.scroll.left),right:(Z.left+R.dimensions.width+2>=L.fn.qtip.cache.screen.width+L.fn.qtip.cache.screen.scroll.left),top:(Z.top<L.fn.qtip.cache.screen.scroll.top),bottom:(Z.top+R.dimensions.height+2>=L.fn.qtip.cache.screen.height+L.fn.qtip.cache.screen.scroll.top)};U={left:(Y.left&&(R.corner.search(/right/i)!=-1||(R.corner.search(/right/i)==-1&&!Y.right))),right:(Y.right&&(R.corner.search(/left/i)!=-1||(R.corner.search(/left/i)==-1&&!Y.left))),top:(Y.top&&R.corner.search(/top/i)==-1),bottom:(Y.bottom&&R.corner.search(/bottom/i)==-1)};if(U.left){if(S.options.position.target!=="mouse"){Z.left=W.position.left+W.dimensions.width}else{Z.left=S.cache.mouse.x}T.x="Left"}else{if(U.right){if(S.options.position.target!=="mouse"){Z.left=W.position.left-R.dimensions.width}else{Z.left=S.cache.mouse.x-R.dimensions.width}T.x="Right"}}if(U.top){if(S.options.position.target!=="mouse"){Z.top=W.position.top+W.dimensions.height}else{Z.top=S.cache.mouse.y}T.y="top"}else{if(U.bottom){if(S.options.position.target!=="mouse"){Z.top=W.position.top-R.dimensions.height}else{Z.top=S.cache.mouse.y-R.dimensions.height}T.y="bottom"}}if(Z.left<0){Z.left=X.left;T.x=false}if(Z.top<0){Z.top=X.top;T.y=false}if(S.options.style.tip.corner!==false){Z.corner=new String(R.corner);if(T.x!==false){Z.corner=Z.corner.replace(/Left|Right|Middle/,T.x)}if(T.y!==false){Z.corner=Z.corner.replace(/top|bottom/,T.y)}if(Z.corner!==S.elements.tip.attr("rel")){M.call(S,Z.corner)}}return Z}function B(S,T){var R,U;R=L.extend(true,{},S);for(U in R){if(T===true&&U.search(/(tip|classes)/i)!==-1){delete R[U]}else{if(!T&&U.search(/(width|border|tip|title|classes|user)/i)!==-1){delete R[U]}}}return R}function O(R){if(typeof R.tip!=="object"){R.tip={corner:R.tip}}if(typeof R.tip.size!=="object"){R.tip.size={width:R.tip.size,height:R.tip.size}}if(typeof R.border!=="object"){R.border={width:R.border}}if(typeof R.width!=="object"){R.width={value:R.width}}if(typeof R.width.max=="string"){R.width.max=parseInt(R.width.max.replace(/([0-9]+)/i,"$1"))}if(typeof R.width.min=="string"){R.width.min=parseInt(R.width.min.replace(/([0-9]+)/i,"$1"))}if(typeof R.tip.size.x=="number"){R.tip.size.width=R.tip.size.x;delete R.tip.size.x}if(typeof R.tip.size.y=="number"){R.tip.size.height=R.tip.size.y;delete R.tip.size.y}return R}function Q(){var W,V,U,R,T,S;W=this;U=[true,{}];for(V=0;V<arguments.length;V++){U.push(arguments[V])}R=[L.extend.apply(L,U)];while(typeof R[0].name=="string"){R.unshift(O(L.fn.qtip.styles[R[0].name]))}R.unshift(true,{classes:{tooltip:"qtip-"+(arguments[0].name||"defaults")}},L.fn.qtip.styles.defaults);T=L.extend.apply(L,R);S=(L.browser.msie)?1:0;T.tip.size.width+=S;T.tip.size.height+=S;if(T.tip.size.width%2>0){T.tip.size.width+=1}if(T.tip.size.height%2>0){T.tip.size.height+=1}if(T.tip.corner===true){T.tip.corner=(W.options.position.corner.tooltip==="center")?false:W.options.position.corner.tooltip}return T}function P(R,S,T){var U={bottomRight:[[0,0],[S,T],[S,0]],bottomLeft:[[0,0],[S,0],[0,T]],topRight:[[0,T],[S,0],[S,T]],topLeft:[[0,0],[0,T],[S,T]],topMiddle:[[0,T],[S/2,0],[S,T]],bottomMiddle:[[0,0],[S,0],[S/2,T]],rightMiddle:[[0,0],[S,T/2],[0,T]],leftMiddle:[[S,0],[S,T],[0,T/2]]};U.leftTop=U.bottomRight;U.rightTop=U.bottomLeft;U.leftBottom=U.topRight;U.rightBottom=U.topLeft;return U[R]}function K(S){var R;if(L("<canvas>").get(0).getContext){R={topLeft:[S,S],topRight:[0,S],bottomLeft:[S,0],bottomRight:[0,0]}}else{if(L.browser.msie){R={topLeft:[-90,90,0],topRight:[-90,90,-S],bottomLeft:[90,270,0],bottomRight:[90,270,-S]}}}return R}function H(){var T,S,R;T=this;R=T.getDimensions();S='<iframe class="qtip-bgiframe" frameborder="0" tabindex="-1" src="javascript:false" style="display:block; position:absolute; z-index:-1; filter:alpha(opacity=\'0\'); border: 1px solid red; height:'+R.height+"px; width:"+R.width+'px" />';T.elements.bgiframe=T.elements.wrapper.prepend(S).children(".qtip-bgiframe:first")}L(document).ready(function(){L.fn.qtip.cache={screen:{scroll:{left:L(window).scrollLeft(),top:L(window).scrollTop()},width:L(window).width(),height:L(window).height()}};var R;L(window).bind("resize scroll",function(S){clearTimeout(R);R=setTimeout(function(){if(S.type==="scroll"){L.fn.qtip.cache.screen.scroll={left:L(window).scrollLeft(),top:L(window).scrollTop()}}else{L.fn.qtip.cache.screen.width=L(window).width();L.fn.qtip.cache.screen.height=L(window).height()}for(i=0;i<L.fn.qtip.interfaces.length;i++){var T=L.fn.qtip.interfaces[i];if(T.status.rendered===true&&(T.options.position.type!=="static"||T.options.position.adjust.scroll&&S.type==="scroll"||T.options.position.adjust.resize&&S.type==="resize")){T.updatePosition(S,true)}}},100)});L(document).bind("mousedown.qtip",function(S){if(L(S.target).parents("div.qtip").length===0){L(".qtip[unfocus]").each(function(){var T=L(this).qtip("api");if(L(this).is(":visible")&&!T.status.disabled&&L(S.target).add(T.elements.target).length>1){T.hide(S)}})}})});L.fn.qtip.interfaces=[];L.fn.qtip.log={error:function(){return this}};L.fn.qtip.constants={};L.fn.qtip.defaults={content:{prerender:false,text:false,url:false,data:null,title:{text:false,button:false}},position:{target:false,corner:{target:"bottomRight",tooltip:"topLeft"},adjust:{x:0,y:0,mouse:true,screen:false,scroll:true,resize:true},type:"absolute",container:false},show:{when:{target:false,event:"mouseover"},effect:{type:"fade",length:100},delay:140,solo:false,ready:false},hide:{when:{target:false,event:"mouseout"},effect:{type:"fade",length:100},delay:0,fixed:false},api:{beforeRender:function(){},onRender:function(){},beforePositionUpdate:function(){},onPositionUpdate:function(){},beforeShow:function(){},onShow:function(){},beforeHide:function(){},onHide:function(){},beforeContentUpdate:function(){},onContentUpdate:function(){},beforeContentLoad:function(){},onContentLoad:function(){},beforeTitleUpdate:function(){},onTitleUpdate:function(){},beforeDestroy:function(){},onDestroy:function(){},beforeFocus:function(){},onFocus:function(){}}};L.fn.qtip.styles={defaults:{background:"white",color:"#111",overflow:"hidden",textAlign:"left",width:{min:0,max:250},padding:"5px 9px",border:{width:1,radius:0,color:"#d3d3d3"},tip:{corner:false,color:false,size:{width:13,height:13},opacity:1},title:{background:"#e1e1e1",fontWeight:"bold",padding:"7px 12px"},button:{cursor:"pointer"},classes:{target:"",tip:"qtip-tip",title:"qtip-title",button:"qtip-button",content:"qtip-content",active:"qtip-active"}},cream:{border:{width:3,radius:0,color:"#F9E98E"},title:{background:"#F0DE7D",color:"#A27D35"},background:"#FBF7AA",color:"#A27D35",classes:{tooltip:"qtip-cream"}},light:{border:{width:3,radius:0,color:"#E2E2E2"},title:{background:"#f1f1f1",color:"#454545"},background:"white",color:"#454545",classes:{tooltip:"qtip-light"}},dark:{border:{width:3,radius:0,color:"#303030"},title:{background:"#404040",color:"#f3f3f3"},background:"#505050",color:"#f3f3f3",classes:{tooltip:"qtip-dark"}},red:{border:{width:3,radius:0,color:"#CE6F6F"},title:{background:"#f28279",color:"#9C2F2F"},background:"#F79992",color:"#9C2F2F",classes:{tooltip:"qtip-red"}},green:{border:{width:3,radius:0,color:"#A9DB66"},title:{background:"#b9db8c",color:"#58792E"},background:"#CDE6AC",color:"#58792E",classes:{tooltip:"qtip-green"}},blue:{border:{width:3,radius:0,color:"#ADD9ED"},title:{background:"#D0E9F5",color:"#5E99BD"},background:"#E5F6FE",color:"#4D9FBF",classes:{tooltip:"qtip-blue"}}}})(jQuery);(function(C){var B=C.browser.msie&&parseInt(C.browser.version)==6&&typeof window.XMLHttpRequest!="object",D=null,A=[];C.modal=function(F,E){return C.modal.impl.init(F,E)};C.modal.close=function(){C.modal.impl.close()};C.fn.modal=function(E){return C.modal.impl.init(this,E)};C.modal.defaults={appendTo:"body",focus:true,opacity:50,overlayId:"simplemodal-overlay",overlayCss:{},containerId:"simplemodal-container",containerCss:{},dataId:"simplemodal-data",dataCss:{},minHeight:200,minWidth:300,maxHeight:null,maxWidth:null,autoResize:false,zIndex:1000,close:true,closeHTML:'<a class="modalCloseImg" title="Close"></a>',closeClass:"simplemodal-close",escClose:true,overlayClose:false,position:null,persist:false,onOpen:null,onShow:null,onClose:null};C.modal.impl={opts:null,dialog:{},init:function(F,E){if(this.dialog.data){return false}D=C.browser.msie&&!C.boxModel;this.opts=C.extend({},C.modal.defaults,E);this.zIndex=this.opts.zIndex;this.occb=false;if(typeof F=="object"){F=F instanceof jQuery?F:C(F);if(F.parent().parent().size()>0){this.dialog.parentNode=F.parent();if(!this.opts.persist){this.dialog.orig=F.clone(true)}}}else{if(typeof F=="string"||typeof F=="number"){F=C("<div></div>").html(F)}else{alert("SimpleModal Error: Unsupported data type: "+typeof F);return false}}this.create(F);F=null;this.open();if(C.isFunction(this.opts.onShow)){this.opts.onShow.apply(this,[this.dialog])}return this},create:function(E){A=this.getDimensions();if(B){this.dialog.iframe=C('<iframe src="javascript:false;"></iframe>').css(C.extend(this.opts.iframeCss,{display:"none",opacity:0,position:"fixed",height:A[0],width:A[1],zIndex:this.opts.zIndex,top:0,left:0})).appendTo(this.opts.appendTo)}this.dialog.overlay=C("<div></div>").attr("id",this.opts.overlayId).addClass("simplemodal-overlay").css(C.extend(this.opts.overlayCss,{display:"none",opacity:this.opts.opacity/100,height:A[0],width:A[1],position:"fixed",left:0,top:0,zIndex:this.opts.zIndex+1})).appendTo(this.opts.appendTo);this.dialog.container=C("<div></div>").attr("id",this.opts.containerId).addClass("simplemodal-container").css(C.extend(this.opts.containerCss,{display:"none",position:"fixed",zIndex:this.opts.zIndex+2})).append(this.opts.close&&this.opts.closeHTML?C(this.opts.closeHTML).addClass(this.opts.closeClass):"").appendTo(this.opts.appendTo);this.dialog.wrap=C("<div></div>").attr("tabIndex",-1).addClass("simplemodal-wrap").css({height:"100%",outline:0,width:"100%"}).appendTo(this.dialog.container);this.dialog.data=E.attr("id",E.attr("id")||this.opts.dataId).addClass("simplemodal-data").css(C.extend(this.opts.dataCss,{display:"none"})).appendTo("body");E=null;this.setContainerDimensions();this.dialog.data.appendTo(this.dialog.wrap);if(B||D){this.fixIE()}},bindEvents:function(){var E=this;C("."+E.opts.closeClass).bind("click.simplemodal",function(F){F.preventDefault();E.close()});if(E.opts.close&&E.opts.overlayClose){E.dialog.overlay.bind("click.simplemodal",function(F){F.preventDefault();E.close()})}C(document).bind("keydown.simplemodal",function(F){if(E.opts.focus&&F.keyCode==9){E.watchTab(F)}else{if((E.opts.close&&E.opts.escClose)&&F.keyCode==27){F.preventDefault();E.close()}}});C(window).bind("resize.simplemodal",function(){A=E.getDimensions();E.opts.autoResize?E.setContainerDimensions():E.setPosition();if(B||D){E.fixIE()}else{E.dialog.iframe&&E.dialog.iframe.css({height:A[0],width:A[1]});E.dialog.overlay.css({height:A[0],width:A[1]})}})},unbindEvents:function(){C("."+this.opts.closeClass).unbind("click.simplemodal");C(document).unbind("keydown.simplemodal");C(window).unbind("resize.simplemodal");this.dialog.overlay.unbind("click.simplemodal")},fixIE:function(){var E=this.opts.position;C.each([this.dialog.iframe||null,this.dialog.overlay,this.dialog.container],function(P,I){if(I){var N="document.body.clientHeight",R="document.body.clientWidth",T="document.body.scrollHeight",Q="document.body.scrollLeft",L="document.body.scrollTop",H="document.body.scrollWidth",G="document.documentElement.clientHeight",O="document.documentElement.clientWidth",M="document.documentElement.scrollLeft",U="document.documentElement.scrollTop",V=I[0].style;V.position="absolute";if(P<2){V.removeExpression("height");V.removeExpression("width");V.setExpression("height",""+T+" > "+N+" ? "+T+" : "+N+' + "px"');V.setExpression("width",""+H+" > "+R+" ? "+H+" : "+R+' + "px"')}else{var K,F;if(E&&E.constructor==Array){var S=E[0]?typeof E[0]=="number"?E[0].toString():E[0].replace(/px/,""):I.css("top").replace(/px/,"");K=S.indexOf("%")==-1?S+" + (t = "+U+" ? "+U+" : "+L+') + "px"':parseInt(S.replace(/%/,""))+" * (("+G+" || "+N+") / 100) + (t = "+U+" ? "+U+" : "+L+') + "px"';if(E[1]){var J=typeof E[1]=="number"?E[1].toString():E[1].replace(/px/,"");F=J.indexOf("%")==-1?J+" + (t = "+M+" ? "+M+" : "+Q+') + "px"':parseInt(J.replace(/%/,""))+" * (("+O+" || "+R+") / 100) + (t = "+M+" ? "+M+" : "+Q+') + "px"'}}else{K="("+G+" || "+N+") / 2 - (this.offsetHeight / 2) + (t = "+U+" ? "+U+" : "+L+') + "px"';F="("+O+" || "+R+") / 2 - (this.offsetWidth / 2) + (t = "+M+" ? "+M+" : "+Q+') + "px"'}V.removeExpression("top");V.removeExpression("left");V.setExpression("top",K);V.setExpression("left",F)}}})},focus:function(H){var F=this,G=H||"first";var E=C(":input:enabled:visible:"+G,F.dialog.wrap);E.length>0?E.focus():F.dialog.wrap.focus()},getDimensions:function(){var F=C(window);var E=C.browser.opera&&C.browser.version>"9.5"&&C.fn.jquery<="1.2.6"?document.documentElement.clientHeight:C.browser.opera&&C.browser.version<"9.5"&&C.fn.jquery>"1.2.6"?window.innerHeight:F.height();return[E,F.width()]},getVal:function(E){return E=="auto"?0:parseInt(E.replace(/px/,""))},setContainerDimensions:function(){var H=this.getVal(this.dialog.container.css("height")),E=this.getVal(this.dialog.container.css("width")),I=this.dialog.data.height(),G=this.dialog.data.width();var F=this.opts.maxHeight&&this.opts.maxHeight<A[0]?this.opts.maxHeight:A[0],J=this.opts.maxWidth&&this.opts.maxWidth<A[1]?this.opts.maxWidth:A[1];if(!H){if(!I){H=this.opts.minHeight}else{if(I>F){H=F}else{if(I<this.opts.minHeight){H=this.opts.minHeight}else{H=I}}}}else{H=H>F?F:H}if(!E){if(!G){E=this.opts.minWidth}else{if(G>J){E=J}else{if(G<this.opts.minWidth){E=this.opts.minWidth}else{E=G}}}}else{E=E>J?J:E}this.dialog.container.css({height:H,width:E});if(I>H||G>E){this.dialog.wrap.css({overflow:"auto"})}this.setPosition()},setPosition:function(){var G,F,H=(A[0]/2)-((this.dialog.container.height()||this.dialog.data.height())/2),E=(A[1]/2)-((this.dialog.container.width()||this.dialog.data.width())/2);if(this.opts.position&&Object.prototype.toString.call(this.opts.position)==="[object Array]"){G=this.opts.position[0]||H;F=this.opts.position[1]||E}else{G=H;F=E}this.dialog.container.css({left:F,top:G})},watchTab:function(F){var E=this;if(C(F.target).parents(".simplemodal-container").length>0){E.inputs=C(":input:enabled:visible:first, :input:enabled:visible:last",E.dialog.data);if(!F.shiftKey&&F.target==E.inputs[E.inputs.length-1]||F.shiftKey&&F.target==E.inputs[0]||E.inputs.length==0){F.preventDefault();var G=F.shiftKey?"last":"first";setTimeout(function(){E.focus(G)},10)}}else{F.preventDefault();setTimeout(function(){E.focus()},10)}},open:function(){this.dialog.iframe&&this.dialog.iframe.show();if(C.isFunction(this.opts.onOpen)){this.opts.onOpen.apply(this,[this.dialog])}else{this.dialog.overlay.show();this.dialog.container.show();this.dialog.data.show()}this.focus();this.bindEvents()},close:function(){if(!this.dialog.data){return false}this.unbindEvents();if(C.isFunction(this.opts.onClose)&&!this.occb){this.occb=true;this.opts.onClose.apply(this,[this.dialog])}else{if(this.dialog.parentNode){if(this.opts.persist){this.dialog.data.hide().appendTo(this.dialog.parentNode)}else{this.dialog.data.hide().remove();this.dialog.orig.appendTo(this.dialog.parentNode)}}else{this.dialog.data.hide().remove()}this.dialog.container.hide().remove();this.dialog.overlay.hide().remove();this.dialog.iframe&&this.dialog.iframe.hide().remove();this.dialog={}}}}})(jQuery);$(document).ready(function(){$("a.basic").click(function(A){A.preventDefault();$("#basic-modal-content").modal()})});$("#menu .categories a:first").mouseenter(function(){$("#menu .categories").css("background-color","#d8630c");if($("#menu .categories .flyout").length==0){$("#menu .categories").append('<ul class="flyout"><li><div class="seotags float_left" onclick="window.location.href=\'/kleidung\'" title="Mode"><div class="size66x66"><img src="http://static.edelight.de/img/categories/mode.jpg" class="float_left" alt="Mode" /></div><p><b>Mode</b><br />Kleider, Jeans, Jacken, Blusen, Dessous, ...</p></div><div class="seotags float_left" onclick="window.location.href=\'/schuhe\'" title="Schuhe"><div class="size66x66"><img src="http://static.edelight.de/img/categories/schuhe.jpg" class="float_left" alt="Schuhe" /></div><p><b>Schuhe</b><br />Ballerinas, Stiefel, Pumps, Sneaker, Sandaletten, ...</p></div><div class="seotags float_left" onclick="window.location.href=\'/taschen\'" title="Taschen"><div class="size66x66"><img src="http://static.edelight.de/img/categories/taschen.jpg" class="float_left" alt="Schuhe" /></div><p><b>Taschen</b><br />Handtaschen, Clutches, Schultertaschen, Shopper, Umh&auml;ngetaschen, ...</p></div><div class="seotags float_left" onclick="window.location.href=\'/accessoires\'" title="Accessoires"><div class="size66x66"><img src="http://static.edelight.de/img/categories/accessoires.jpg" class="float_left" alt="Accessoires" /></div><p><b>Accessoires</b><br />Sonnenbrillen, G&uuml;rtel, Portemonnaies, Schals & T&uuml;cher, M&uuml;tzen & H&uuml;te, ...</p></div><div class="clear"></div><div class="seotags float_left" onclick="window.location.href=\'/wohnen\'" title="Wohnen"><div class="size66x66"><img src="http://static.edelight.de/img/categories/wohnen.jpg" class="float_left" alt="Wohnen" /></div><p><b>Wohnen</b><br />Lampen, Betten, M&ouml;bel, Teppiche, Wandtattoos, Dekoration, K&uuml;che, ...</p></div><div class="seotags float_left" onclick="window.location.href=\'/kategorie/schmuck-und-uhren\'" title="Schmuck & Uhren"><div class="size66x66"><img src="http://static.edelight.de/img/categories/schmuck.jpg" class="float_left" alt="Schmuck & Uhren" /></div><p><b>Schmuck & Uhren</b><br />Ketten, Ohrringe, Chronographen, Ringe, Uhren, Armb&auml;nder, ...</p></div><div class="seotags float_left" onclick="window.location.href=\'/beauty\'" title="Beauty"><div class="size66x66"><img src="http://static.edelight.de/img/categories/beauty.jpg" class="float_left" alt="Beauty" /></div><p><b>Beauty</b><br />Parfums, Kosmetik, Make-Up, Lipgloss, Rasierer, ...</p></div><div class="seotags float_left" onclick="window.location.href=\'/spielzeug\'" title="Spielzeug"><div class="size66x66"><img src="http://static.edelight.de/img/categories/spielzeug.jpg" class="float_left" alt="Spielzeug" /></div><p><b>Spielzeug</b><br />USB Gadgets, Gadgets, Puzzles, Puppen, Autos, ...</p></div><div class="clear"></div><div class="seotags float_left" onclick="window.location.href=\'/geschenke\'" title="Geschenke"><div class="size66x66"><img src="http://static.edelight.de/img/categories/geschenke.jpg" class="float_left" alt="Geschenke" /></div><p><b>Geschenke</b><br />Weihnachten, Geburtstag, Nikolaus, Hochzeitstag, Jahrestag, ...</p></div><div class="seotags float_left" onclick="window.location.href=\'/sitemap\'" title="mehr Kategorien"><div class="size66x66"><img src="http://static.edelight.de/img/categories/more.gif" class="float_left" alt="mehr Kategorien" /></div><p><b>mehr Kategorien</b></p></div><div class="seotags float_left"></div><div class="seotags float_left"></div><div class="clear"></div></li></ul>')}});$("#menu .categories").mouseleave(function(){$(this).find(".flyout").remove();if($(this).attr("class")!="categories active active_categories"){$(this).css("background-color","#e77b2b")}});$("#menu .discover a:first").mouseenter(function(){$(this).css("background-position","-140px 0");if($("#menu .discover .flyout").length==0){$("#menu .discover").append('<ul class="flyout"><li><a href="/entdecken">... unsere Shopping-Mall</a></li><li><a href="/nutzer">... unsere Shopaholics</a></li><li><a href="/listen">... tolle Shoppinglisten</a></li><li><a href="/partner">... exklusive Partnershops</a></li><li><a href="/spiele">... spannende Shopping-Spiele</a></li><li><a href="/tools">... unsere Shoppinghelfer</a></li><li class="no-border"><a href="/stichworte">... aktuelle Shopping-Trends</a></li></ul>')}});$("#menu .discover").mouseleave(function(){$(this).find(".flyout").remove();if($("#menu .discover a:first").attr("class")!="active"){$("#menu .discover a:first").css("background-position","0 0")}});var txtFieldData={"#search_text":"","#LoginUserScreenname":"Nutzername","#PostUrl":"URL","#list_picture_from_url":"Bild-URL eingeben","#promo_url_text":"URL einf%FCgen","#pt_comment":"Meine Meinung ist...","#search_refine_age":"egal","#searchPriceSelectorLowerStr":"0","#searchPriceSelectorUpperStr":"egal","#product_search_name":"Namen eingeben","#fast_start_url":"URL","#PayoutAccount":"Ihr Kontoname (Email Login) bei Paypal","#enter_email":"Email - Adresse"};$(document).ready(function(){for(id in txtFieldData){if($(id).length>0){$(id).setPrompt(unescape(txtFieldData[id]))}}});function showTooltip(A){if(A.className!="postpic jshover"){A.className="postpic jshover"}}function hideTooltip(A){A.className="postpic"}function hideHelpText(A){document.getElementById(A).style.display="none"}function showHelpText(A){document.getElementById(A).style.display="block"}function showAllDescription(){document.getElementById("pd_descr_height").style.height="100%";$(".descr_more").hide();$(".descr_less").show()}function showLessDescription(){document.getElementById("pd_descr_height").style.height="52px";$(".descr_more").show();$(".descr_less").hide()}function showAdditionalDiv(A){document.getElementById(A).style.display="block";document.getElementById("more").style.display="none";document.getElementById("less").style.display="block"}function hideAdditionalDiv(A){document.getElementById(A).style.display="none";document.getElementById("more").style.display="block";document.getElementById("less").style.display="none"}function changeButton(D,A,B,C){if(C=="change"){firstClass="jcarousel-"+A+"-"+B;secondClass="jcarousel-"+A+"-"+B+"-jshover"}else{firstClass="jcarousel-"+A+"-"+B+"-jshover";secondClass="jcarousel-"+A+"-"+B}$(D).removeClass(firstClass);$(D).addClass(secondClass)}function openProductInfo(A){$(".product_info_style").hide();$("#"+A).slideDown("slow")}function closeProductInfo(A){$("#"+A).hide();$("#ivwPixel").remove()}function showHgfOptions(){$("#gift_options_form").show()}function toggle(){$("#more_text").show();$("#toggle-link").hide();$("#more_dots").html("")}function addIntelliAdTracking(B,A){}$(document).ready(function(){var A=$(".selected").text();$(".filterSelected").html("<span>Filtern nach: <strong>"+A+'</strong></span><a href="/partner">Filter entfernen</a>')});$(".select").hover(function(){$(".select .options").css("display","block")},function(){$(".select .options").css("display","none")});$(".select ul li").click(function(){$(".select span").html($(this).html());$("#search-type").val($(this).attr("title"));$(".select .options").css("display","none")});if($("#channel_slider_wrap").length>0){$(document).ready(function(){var A=$("#channel_slider_wrap");var B=$("ul",A);var C=B.innerWidth()-A.outerWidth();$(".slider",A).slider({min:0,max:C,stop:function(D,E){B.animate({left:E.value*-1},500,"linear")},slide:function(D,E){B.css("left",E.value*-1)}})})}function Popup(){this.width=450;this.height=400;this.url="/";this.name="";this.openedObject=null;this.features="";this.show=function(){this._generateFeaturesString();openedObject=window.open(this.url,this.name,this.features);openedObject.focus();return false},this._generateFeaturesString=function(){this.features="width="+this.width+",height="+this.height+",directories=no,location=no,menubar=no,scrollbars=no,status=no,toolbar=no,resizable=no,alwaysRaised=yes,dependent=yes"}}function KarmaPopup(){this.show()}KarmaPopup.prototype=new Popup();KarmaPopup.prototype.width=200;KarmaPopup.prototype.height=210;KarmaPopup.prototype.url="/karma_popup";KarmaPopup.prototype.name="karma_popup";function ExplainPicPopup(){this.show()}ExplainPicPopup.prototype=new Popup();ExplainPicPopup.prototype.width=320;ExplainPicPopup.prototype.height=200;ExplainPicPopup.prototype.url="/explain_pic_popup";ExplainPicPopup.prototype.name="explain_pic_popup";function ExplainPopup(){this.show()}ExplainPopup.prototype=new Popup();ExplainPopup.prototype.width=550;ExplainPopup.prototype.height=400;ExplainPopup.prototype.url="/explain_popup";ExplainPopup.prototype.name="explain_popup";function ImportAddressbookPopup(){this.show()}ImportAddressbookPopup.prototype=new Popup();ImportAddressbookPopup.prototype.width=600;ImportAddressbookPopup.prototype.height=350;ImportAddressbookPopup.prototype.url="/addressbooks/invitecontacts";ImportAddressbookPopup.prototype.name="import_addressbook_popup";function AC_AddExtension(B,A){if(B.indexOf("?")!=-1){return B.replace(/\?/,A+"?")}else{return B+A}}function AC_Generateobj_edelight(F,E,A,G){var D="<object ";for(var B in F){D+=B+'="'+F[B]+'" '}D+=">";for(var B in E){D+='<param name="'+B+'" value="'+E[B]+'" /> '}D+="<embed ";for(var B in A){D+=B+'="'+A[B]+'" '}D+=" ></embed></object>";var C=document.getElementById(G);C.innerHTML=D}function AC_Generateobj(E,D,A,F){var C="<object ";for(var B in E){C+=B+'="'+E[B]+'" '}C+=">";for(var B in D){C+='<param name="'+B+'" value="'+D[B]+'" /> '}C+="<embed ";for(var B in A){C+=B+'="'+A[B]+'" '}C+=" ></embed></object>";document.write(C)}function AC_FL_RunContent_edelight(){var A=AC_GetArgs(arguments,".swf","movie","clsid:d27cdb6e-ae6d-11cf-96b8-444553540000","application/x-shockwave-flash");AC_Generateobj_edelight(A.objAttrs,A.params,A.embedAttrs,A.parentId)}function AC_FL_RunContent(){var A=AC_GetArgs(arguments,".swf","movie","clsid:d27cdb6e-ae6d-11cf-96b8-444553540000","application/x-shockwave-flash");AC_Generateobj(A.objAttrs,A.params,A.embedAttrs)}function AC_SW_RunContent(){var A=AC_GetArgs(arguments,".dcr","src","clsid:166B1BCA-3F9C-11CF-8075-444553540000",null);AC_Generateobj(A.objAttrs,A.params,A.embedAttrs)}function AC_GetArgs(B,E,G,D,H){var A=new Object();A.embedAttrs=new Object();A.params=new Object();A.objAttrs=new Object();for(var C=0;C<B.length;C=C+2){var F=B[C].toLowerCase();switch(F){case"classid":break;case"pluginspage":A.embedAttrs[B[C]]=B[C+1];break;case"src":case"movie":B[C+1]=AC_AddExtension(B[C+1],E);A.embedAttrs.src=B[C+1];A.params[G]=B[C+1];break;case"onafterupdate":case"onbeforeupdate":case"onblur":case"oncellchange":case"onclick":case"ondblClick":case"ondrag":case"ondragend":case"ondragenter":case"ondragleave":case"ondragover":case"ondrop":case"onfinish":case"onfocus":case"onhelp":case"onmousedown":case"onmouseup":case"onmouseover":case"onmousemove":case"onmouseout":case"onkeypress":case"onkeydown":case"onkeyup":case"onload":case"onlosecapture":case"onpropertychange":case"onreadystatechange":case"onrowsdelete":case"onrowenter":case"onrowexit":case"onrowsinserted":case"onstart":case"onscroll":case"onbeforeeditfocus":case"onactivate":case"onbeforedeactivate":case"ondeactivate":case"type":case"codebase":A.objAttrs[B[C]]=B[C+1];break;case"width":case"height":case"align":case"vspace":case"hspace":case"class":case"title":case"accesskey":case"name":case"id":case"tabindex":A.embedAttrs[B[C]]=A.objAttrs[B[C]]=B[C+1];break;case"parentid":A.parentId=B[C+1];break;default:A.embedAttrs[B[C]]=A.params[B[C]]=B[C+1]}}A.objAttrs.classid=D;if(H){A.embedAttrs.type=H}return A}$(function(){$("#favourite_lists").resetClass()});window.google_adnum=0;function callAdsense(){if(adSenseSlots.length==0){return }edSlot=adSenseSlots.shift();window.google_ad_client="pub-9066453692879617";window.google_ad_output="js";window.google_language="de";window.google_feedback="on";window.google_max_num_ads=edSlot.amount;window.google_image_size=edSlot.size;window.google_ad_type=edSlot.type;window.google_ad_channel=edSlot.channel;window.adsenseSlotName=edSlot.slotName;window.google_skip=window.google_adnum;document.write('<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"><\/script>')}function google_ad_request_done(B){var C="";var A;if(B.length==0){return }if(B[0].type=="flash"){C+='<div class="text_center"><a class="google_link" href="'+google_info.feedback_url+'" style="color:000000" target="_blank">Google-Anzeigen</a><div class="clear"></div><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="'+google_ad.image_width+'" height="'+google_ad.image_height+'"> <param name="movie" value="'+google_ad.image_url+'"><param name="quality" value="high"><param name="AllowScriptAccess" value="never"><embed src="'+google_ad.image_url+'" width="'+google_ad.image_width+'" height="'+google_ad.image_height+'" TYPE="application/x-shockwave-flash" AllowScriptAccess="never"  PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></embed></object></div>';if(B[0].bidtype=="CPC"){window.google_adnum+=B.length}}else{if(B[0].type=="image"){C+='<div class="text_center"><a class="google_link" target="_blank"  href="'+google_info.feedback_url+'">Google-Anzeigen</a><div class="clear"></div><a href="'+B[0].url+'" target="_blank" title="go to '+B[0].visible_url+'" onmouseout="window.status=\'\'" target="_blank" onmouseover="window.status=\'go to '+B[0].visible_url+'\';return true"><img border="0" src="'+B[0].image_url+'"width="'+B[0].image_width+'"height="'+B[0].image_height+'"></a></div>';if(B[0].bidtype=="CPC"){window.google_adnum+=B.length}}else{if(B[0].type=="html"){if(B[0].bidtype=="CPC"){window.google_adnum+=B.length}C+='<div class="text_center">'+B[0].snippet+"</div>"}else{if(B.length==1){C+='<div class="google_ad single"><a class="google_link" target="_blank"  href="'+google_info.feedback_url+'">Google-Anzeigen</a><div class="clear"></div><div class="google_ad_slot"><span class="google_ad_headline"><a class="google_ad_link" href="'+B[0].url+'" onmouseout="window.status=\'\'" target="_blank" onmouseover="window.status=\'go to '+B[0].visible_url+"';return true\">"+B[0].line1+'</a></span><div class="clear"></div><span class="google_ad_text float_left">'+B[0].line2+" "+B[0].line3+'&nbsp;</span><span class="google_ad_visible_link"><a href="'+B[0].url+'" onmouseout="window.status=\'\'" target="_blank" onmouseover="window.status=\'go to '+B[0].visible_url+"';return true\">"+B[0].visible_url+'</a></span><div class="clear"></div></div></div>';if(B[0].bidtype=="CPC"){window.google_adnum+=B.length}}else{if(B.length>0){C+='<div class="google_ad"><a class="google_link" target="_blank"  href="'+google_info.feedback_url+'">Google-Anzeigen</a><div class="clear"></div>';for(A=0;A<B.length;++A){C+='<div class="google_ad_slot"><span class="google_ad_headline"><a class="google_ad_link" href="'+B[A].url+'" target="_blank" onmouseout="window.status=\'\'" onmouseover="window.status=\'go to '+B[A].visible_url+"';return true\">"+B[A].line1+'</a></span><div class="clear"></div><span class="google_ad_text">'+B[A].line2+" "+B[A].line3+'&nbsp;</span><span class="google_ad_visible_link"><a href="'+B[A].url+'" target="_blank" onmouseout="window.status=\'\'" onmouseover="window.status=\'go to '+B[A].visible_url+"';return true\">"+B[A].visible_url+'</a></span><div class="clear"></div></div>'}if(B[0].bidtype=="CPC"){window.google_adnum+=B.length}C+="</div>"}}}}}$("#"+adsenseSlotName).html(C);callAdsense();return true}callAdsense();
