(function(){var S=this,Ac,E=S.jQuery,G=S.$,V=S.jQuery=S.$=function(A,B){return new V.fn.init(A,B)
},Ag=/^[^<]*(<(.|\s)+>)[^>]*$|^#([\w-]+)$/,Ab=/^.[^:#\[\.,]*$/;
V.fn=V.prototype={init:function(D,B){D=D||document;
if(D.nodeType){this[0]=D;
this.length=1;
this.context=D;
return this
}if(typeof D==="string"){var A=Ag.exec(D);
if(A&&(A[1]||!B)){if(A[1]){D=V.clean([A[1]],B)
}else{var C=document.getElementById(A[3]);
if(C&&C.id!=A[3]){return V().find(D)
}var a=V(C||[]);
a.context=document;
a.selector=D;
return a
}}else{return V(B).find(D)
}}else{if(V.isFunction(D)){return V(document).ready(D)
}}if(D.selector&&D.context){this.selector=D.selector;
this.context=D.context
}return this.setArray(V.isArray(D)?D:V.makeArray(D))
},selector:"",jquery:"1.3.2",size:function(){return this.length
},get:function(A){return A===Ac?Array.prototype.slice.call(this):this[A]
},pushStack:function(D,B,C){var A=V(D);
A.prevObject=this;
A.context=this.context;
if(B==="find"){A.selector=this.selector+(this.selector?" ":"")+C
}else{if(B){A.selector=this.selector+"."+B+"("+C+")"
}}return A
},setArray:function(A){this.length=0;
Array.prototype.push.apply(this,A);
return this
},each:function(B,A){return V.each(this,B,A)
},index:function(A){return V.inArray(A&&A.jquery?A[0]:A,this)
},attr:function(D,B,A){var C=D;
if(typeof D==="string"){if(B===Ac){return this[0]&&V[A||"attr"](this[0],D)
}else{C={};
C[D]=B
}}return this.each(function(a){for(D in C){V.attr(A?this.style:this,D,V.prop(this,C[D],A,a,D))
}})
},css:function(A,B){if((A=="width"||A=="height")&&parseFloat(B)<0){B=Ac
}return this.attr(A,B,"curCSS")
},text:function(B){if(typeof B!=="object"&&B!=null){return this.empty().append((this[0]&&this[0].ownerDocument||document).createTextNode(B))
}var A="";
V.each(B||this,function(){V.each(this.childNodes,function(){if(this.nodeType!=8){A+=this.nodeType!=1?this.nodeValue:V.fn.text([this])
}})
});
return A
},wrapAll:function(A){if(this[0]){var B=V(A,this[0].ownerDocument).clone();
if(this[0].parentNode){B.insertBefore(this[0])
}B.map(function(){var C=this;
while(C.firstChild){C=C.firstChild
}return C
}).append(this)
}return this
},wrapInner:function(A){return this.each(function(){V(this).contents().wrapAll(A)
})
},wrap:function(A){return this.each(function(){V(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||V([])
},push:[].push,sort:[].sort,splice:[].splice,find:function(A){if(this.length===1){var B=this.pushStack([],"find",A);
B.length=0;
V.find(A,this[0],B);
return B
}else{return this.pushStack(V.unique(V.map(this,function(C){return V.find(A,C)
})),"find",A)
}},clone:function(A){var C=this.map(function(){if(!V.support.noCloneEvent&&!V.isXMLDoc(this)){var a=this.outerHTML;
if(!a){var b=this.ownerDocument.createElement("div");
b.appendChild(this.cloneNode(true));
a=b.innerHTML
}return V.clean([a.replace(/ jQuery\d+="(?:\d+|null)"/g,"").replace(/^\s*/,"")])[0]
}else{return this.cloneNode(true)
}});
if(A===true){var B=this.find("*").andSelf(),D=0;
C.find("*").andSelf().each(function(){if(this.nodeName!==B[D].nodeName){return
}var a=V.data(B[D],"events");
for(var c in a){for(var b in a[c]){V.event.add(this,c,a[c][b],a[c][b].data)
}}D++
})
}return C
},filter:function(A){return this.pushStack(V.isFunction(A)&&V.grep(this,function(B,C){return A.call(B,C)
})||V.multiFilter(A,V.grep(this,function(B){return B.nodeType===1
})),"filter",A)
},closest:function(B){var A=V.expr.match.POS.test(B)?V(B):null,C=0;
return this.map(function(){var D=this;
while(D&&D.ownerDocument){if(A?A.index(D)>-1:V(D).is(B)){V.data(D,"closest",C);
return D
}D=D.parentNode;
C++
}})
},not:function(A){if(typeof A==="string"){if(Ab.test(A)){return this.pushStack(V.multiFilter(A,this,true),"not",A)
}else{A=V.multiFilter(A,this)
}}var B=A.length&&A[A.length-1]!==Ac&&!A.nodeType;
return this.filter(function(){return B?V.inArray(this,A)<0:this!=A
})
},add:function(A){return this.pushStack(V.unique(V.merge(this.get(),typeof A==="string"?V(A):V.makeArray(A))))
},is:function(A){return !!A&&V.multiFilter(A,this).length>0
},hasClass:function(A){return !!A&&this.is("."+A)
},val:function(c){if(c===Ac){var A=this[0];
if(A){if(V.nodeName(A,"option")){return(A.attributes.value||{}).specified?A.value:A.text
}if(V.nodeName(A,"select")){var a=A.selectedIndex,d=[],e=A.options,D=A.type=="select-one";
if(a<0){return null
}for(var B=D?a:0,b=D?a+1:e.length;
B<b;
B++){var C=e[B];
if(C.selected){c=V(C).val();
if(D){return c
}d.push(c)
}}return d
}return(A.value||"").replace(/\r/g,"")
}return Ac
}if(typeof c==="number"){c+=""
}return this.each(function(){if(this.nodeType!=1){return
}if(V.isArray(c)&&/radio|checkbox/.test(this.type)){this.checked=(V.inArray(this.value,c)>=0||V.inArray(this.name,c)>=0)
}else{if(V.nodeName(this,"select")){var f=V.makeArray(c);
V("option",this).each(function(){this.selected=(V.inArray(this.value,f)>=0||V.inArray(this.text,f)>=0)
});
if(!f.length){this.selectedIndex=-1
}}else{this.value=c
}}})
},html:function(A){return A===Ac?(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(V.map(this,function(B,C){return A.call(B,C,B)
}))
},andSelf:function(){return this.add(this.prevObject)
},domManip:function(b,e,d){if(this[0]){var a=(this[0].ownerDocument||this[0]).createDocumentFragment(),B=V.clean(b,(this[0].ownerDocument||this[0]),a),D=a.firstChild;
if(D){for(var C=0,A=this.length;
C<A;
C++){d.call(c(this[C],D),this.length>1||C>0?a.cloneNode(true):a)
}}if(B){V.each(B,F)
}}return this;
function c(f,g){return e&&V.nodeName(f,"table")&&V.nodeName(g,"tr")?(f.getElementsByTagName("tbody")[0]||f.appendChild(f.ownerDocument.createElement("tbody"))):f
}}};
V.fn.init.prototype=V.fn;
function F(A,B){if(B.src){V.ajax({url:B.src,async:false,dataType:"script"})
}else{V.globalEval(B.text||B.textContent||B.innerHTML||"")
}if(B.parentNode){B.parentNode.removeChild(B)
}}function Aa(){return +new Date
}V.extend=V.fn.extend=function(){var b=arguments[0]||{},D=1,a=arguments.length,A=false,C;
if(typeof b==="boolean"){A=b;
b=arguments[1]||{};
D=2
}if(typeof b!=="object"&&!V.isFunction(b)){b={}
}if(a==D){b=this;
--D
}for(;
D<a;
D++){if((C=arguments[D])!=null){for(var B in C){var c=b[B],d=C[B];
if(b===d){continue
}if(A&&d&&typeof d==="object"&&!d.nodeType){b[B]=V.extend(A,c||(d.length!=null?[]:{}),d)
}else{if(d!==Ac){b[B]=d
}}}}}return b
};
var X=/z-?index|font-?weight|opacity|zoom|line-?height/i,H=document.defaultView||{},J=Object.prototype.toString;
V.extend({noConflict:function(A){S.$=G;
if(A){S.jQuery=E
}return V
},isFunction:function(A){return J.call(A)==="[object Function]"
},isArray:function(A){return J.call(A)==="[object Array]"
},isXMLDoc:function(A){return A.nodeType===9&&A.documentElement.nodeName!=="HTML"||!!A.ownerDocument&&V.isXMLDoc(A.ownerDocument)
},globalEval:function(A){if(A&&/\S/.test(A)){var C=document.getElementsByTagName("head")[0]||document.documentElement,B=document.createElement("script");
B.type="text/javascript";
if(V.support.scriptEval){B.appendChild(document.createTextNode(A))
}else{B.text=A
}C.insertBefore(B,C.firstChild);
C.removeChild(B)
}},nodeName:function(B,A){return B.nodeName&&B.nodeName.toUpperCase()==A.toUpperCase()
},each:function(A,c,C){var b,D=0,a=A.length;
if(C){if(a===Ac){for(b in A){if(c.apply(A[b],C)===false){break
}}}else{for(;
D<a;
){if(c.apply(A[D++],C)===false){break
}}}}else{if(a===Ac){for(b in A){if(c.call(A[b],b,A[b])===false){break
}}}else{for(var B=A[0];
D<a&&c.call(B,D,B)!==false;
B=A[++D]){}}}return A
},prop:function(B,C,A,a,D){if(V.isFunction(C)){C=C.call(B,a)
}return typeof C==="number"&&A=="curCSS"&&!X.test(D)?C+"px":C
},className:{add:function(A,B){V.each((B||"").split(/\s+/),function(C,D){if(A.nodeType==1&&!V.className.has(A.className,D)){A.className+=(A.className?" ":"")+D
}})
},remove:function(A,B){if(A.nodeType==1){A.className=B!==Ac?V.grep(A.className.split(/\s+/),function(C){return !V.className.has(B,C)
}).join(" "):""
}},has:function(B,A){return B&&V.inArray(A,(B.className||B).toString().split(/\s+/))>-1
}},swap:function(B,A,C){var D={};
for(var a in A){D[a]=B.style[a];
B.style[a]=A[a]
}C.call(B);
for(var a in A){B.style[a]=D[a]
}},css:function(D,B,b,A){if(B=="width"||B=="height"){var d,C={position:"absolute",visibility:"hidden",display:"block"},c=B=="width"?["Left","Right"]:["Top","Bottom"];
function a(){d=B=="width"?D.offsetWidth:D.offsetHeight;
if(A==="border"){return
}V.each(c,function(){if(!A){d-=parseFloat(V.curCSS(D,"padding"+this,true))||0
}if(A==="margin"){d+=parseFloat(V.curCSS(D,"margin"+this,true))||0
}else{d-=parseFloat(V.curCSS(D,"border"+this+"Width",true))||0
}})
}if(D.offsetWidth!==0){a()
}else{V.swap(D,C,a)
}return Math.max(0,Math.round(d))
}return V.curCSS(D,B,b)
},curCSS:function(a,B,C){var d,A=a.style;
if(B=="opacity"&&!V.support.opacity){d=V.attr(A,"opacity");
return d==""?"1":d
}if(B.match(/float/i)){B=N
}if(!C&&A&&A[B]){d=A[B]
}else{if(H.getComputedStyle){if(B.match(/float/i)){B="float"
}B=B.replace(/([A-Z])/g,"-$1").toLowerCase();
var e=H.getComputedStyle(a,null);
if(e){d=e.getPropertyValue(B)
}if(B=="opacity"&&d==""){d="1"
}}else{if(a.currentStyle){var b=B.replace(/\-(\w)/g,function(f,g){return g.toUpperCase()
});
d=a.currentStyle[B]||a.currentStyle[b];
if(!/^\d+(px)?$/i.test(d)&&/^\d/.test(d)){var D=A.left,c=a.runtimeStyle.left;
a.runtimeStyle.left=a.currentStyle.left;
A.left=d||0;
d=A.pixelLeft+"px";
A.left=D;
a.runtimeStyle.left=c
}}}}return d
},clean:function(B,c,a){c=c||document;
if(typeof c.createElement==="undefined"){c=c.ownerDocument||c[0]&&c[0].ownerDocument||document
}if(!a&&B.length===1&&typeof B[0]==="string"){var D=/^<(\w+)\s*\/?>$/.exec(B[0]);
if(D){return[c.createElement(D[1])]
}}var C=[],A=[],d=c.createElement("div");
V.each(B,function(l,g){if(typeof g==="number"){g+=""
}if(!g){return
}if(typeof g==="string"){g=g.replace(/(<(\w+)[^>]*?)\/>/g,function(n,o,m){return m.match(/^(abbr|br|col|img|input|link|meta|param|hr|area|embed)$/i)?n:o+"></"+m+">"
});
var h=g.replace(/^\s+/,"").substring(0,10).toLowerCase();
var e=!h.indexOf("<opt")&&[1,"<select multiple='multiple'>","</select>"]||!h.indexOf("<leg")&&[1,"<fieldset>","</fieldset>"]||h.match(/^<(thead|tbody|tfoot|colg|cap)/)&&[1,"<table>","</table>"]||!h.indexOf("<tr")&&[2,"<table><tbody>","</tbody></table>"]||(!h.indexOf("<td")||!h.indexOf("<th"))&&[3,"<table><tbody><tr>","</tr></tbody></table>"]||!h.indexOf("<col")&&[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"]||!V.support.htmlSerialize&&[1,"div<div>","</div>"]||[0,"",""];
d.innerHTML=e[1]+g+e[2];
while(e[0]--){d=d.lastChild
}if(!V.support.tbody){var f=/<tbody/i.test(g),k=!h.indexOf("<table")&&!f?d.firstChild&&d.firstChild.childNodes:e[1]=="<table>"&&!f?d.childNodes:[];
for(var j=k.length-1;
j>=0;
--j){if(V.nodeName(k[j],"tbody")&&!k[j].childNodes.length){k[j].parentNode.removeChild(k[j])
}}}if(!V.support.leadingWhitespace&&/^\s/.test(g)){d.insertBefore(c.createTextNode(g.match(/^\s*/)[0]),d.firstChild)
}g=V.makeArray(d.childNodes)
}if(g.nodeType){C.push(g)
}else{C=V.merge(C,g)
}});
if(a){for(var b=0;
C[b];
b++){if(V.nodeName(C[b],"script")&&(!C[b].type||C[b].type.toLowerCase()==="text/javascript")){A.push(C[b].parentNode?C[b].parentNode.removeChild(C[b]):C[b])
}else{if(C[b].nodeType===1){C.splice.apply(C,[b+1,0].concat(V.makeArray(C[b].getElementsByTagName("script"))))
}a.appendChild(C[b])
}}return A
}return C
},attr:function(b,C,c){if(!b||b.nodeType==3||b.nodeType==8){return Ac
}var D=!V.isXMLDoc(b),d=c!==Ac;
C=D&&V.props[C]||C;
if(b.tagName){var B=/href|src|style/.test(C);
if(C=="selected"&&b.parentNode){b.parentNode.selectedIndex
}if(C in b&&D&&!B){if(d){if(C=="type"&&V.nodeName(b,"input")&&b.parentNode){throw"type property can't be changed"
}b[C]=c
}if(V.nodeName(b,"form")&&b.getAttributeNode(C)){return b.getAttributeNode(C).nodeValue
}if(C=="tabIndex"){var a=b.getAttributeNode("tabIndex");
return a&&a.specified?a.value:b.nodeName.match(/(button|input|object|select|textarea)/i)?0:b.nodeName.match(/^(a|area)$/i)&&b.href?0:Ac
}return b[C]
}if(!V.support.style&&D&&C=="style"){return V.attr(b.style,"cssText",c)
}if(d){b.setAttribute(C,""+c)
}var A=!V.support.hrefNormalized&&D&&B?b.getAttribute(C,2):b.getAttribute(C);
return A===null?Ac:A
}if(!V.support.opacity&&C=="opacity"){if(d){b.zoom=1;
b.filter=(b.filter||"").replace(/alpha\([^)]*\)/,"")+(parseInt(c)+""=="NaN"?"":"alpha(opacity="+c*100+")")
}return b.filter&&b.filter.indexOf("opacity=")>=0?(parseFloat(b.filter.match(/opacity=([^)]*)/)[1])/100)+"":""
}C=C.replace(/-([a-z])/ig,function(e,f){return f.toUpperCase()
});
if(d){b[C]=c
}return b[C]
},trim:function(A){return(A||"").replace(/^\s+|\s+$/g,"")
},makeArray:function(A){var B=[];
if(A!=null){var C=A.length;
if(C==null||typeof A==="string"||V.isFunction(A)||A.setInterval){B[0]=A
}else{while(C){B[--C]=A[C]
}}}return B
},inArray:function(A,B){for(var C=0,D=B.length;
C<D;
C++){if(B[C]===A){return C
}}return -1
},merge:function(B,D){var a=0,A,C=B.length;
if(!V.support.getAll){while((A=D[a++])!=null){if(A.nodeType!=8){B[C++]=A
}}}else{while((A=D[a++])!=null){B[C++]=A
}}return B
},unique:function(c){var C=[],b={};
try{for(var A=0,D=c.length;
A<D;
A++){var B=V.data(c[A]);
if(!b[B]){b[B]=true;
C.push(c[A])
}}}catch(a){C=c
}return C
},grep:function(b,a,B){var A=[];
for(var C=0,D=b.length;
C<D;
C++){if(!B!=!a(b[C],C)){A.push(b[C])
}}return A
},map:function(a,B){var b=[];
for(var A=0,C=a.length;
A<C;
A++){var D=B(a[A],A);
if(D!=null){b[b.length]=D
}}return b.concat.apply([],b)
}});
var Af=navigator.userAgent.toLowerCase();
V.browser={version:(Af.match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||[0,"0"])[1],safari:/webkit/.test(Af),opera:/opera/.test(Af),msie:/msie/.test(Af)&&!/opera/.test(Af),mozilla:/mozilla/.test(Af)&&!/(compatible|webkit)/.test(Af)};
V.each({parent:function(A){return A.parentNode
},parents:function(A){return V.dir(A,"parentNode")
},next:function(A){return V.nth(A,2,"nextSibling")
},prev:function(A){return V.nth(A,2,"previousSibling")
},nextAll:function(A){return V.dir(A,"nextSibling")
},prevAll:function(A){return V.dir(A,"previousSibling")
},siblings:function(A){return V.sibling(A.parentNode.firstChild,A)
},children:function(A){return V.sibling(A.firstChild)
},contents:function(A){return V.nodeName(A,"iframe")?A.contentDocument||A.contentWindow.document:V.makeArray(A.childNodes)
}},function(A,B){V.fn[A]=function(C){var D=V.map(this,B);
if(C&&typeof C=="string"){D=V.multiFilter(C,D)
}return this.pushStack(V.unique(D),A,C)
}
});
V.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(A,B){V.fn[A]=function(C){var c=[],D=V(C);
for(var d=0,a=D.length;
d<a;
d++){var b=(d>0?this.clone(true):this).get();
V.fn[B].apply(V(D[d]),b);
c=c.concat(b)
}return this.pushStack(c,A,C)
}
});
V.each({removeAttr:function(A){V.attr(this,A,"");
if(this.nodeType==1){this.removeAttribute(A)
}},addClass:function(A){V.className.add(this,A)
},removeClass:function(A){V.className.remove(this,A)
},toggleClass:function(B,A){if(typeof A!=="boolean"){A=!V.className.has(this,B)
}V.className[A?"add":"remove"](this,B)
},remove:function(A){if(!A||V.filter(A,[this]).length){V("*",this).add([this]).each(function(){V.event.remove(this);
V.removeData(this)
});
if(this.parentNode){this.parentNode.removeChild(this)
}}},empty:function(){V(this).children().remove();
while(this.firstChild){this.removeChild(this.firstChild)
}}},function(A,B){V.fn[A]=function(){return this.each(B,arguments)
}
});
function Q(A,B){return A[0]&&parseInt(V.curCSS(A[0],B,true),10)||0
}var O="jQuery"+Aa(),M=0,Ad={};
V.extend({cache:{},data:function(D,C,A){D=D==S?Ad:D;
var B=D[O];
if(!B){B=D[O]=++M
}if(C&&!V.cache[B]){V.cache[B]={}
}if(A!==Ac){V.cache[B][C]=A
}return C?V.cache[B][C]:B
},removeData:function(D,C){D=D==S?Ad:D;
var B=D[O];
if(C){if(V.cache[B]){delete V.cache[B][C];
C="";
for(C in V.cache[B]){break
}if(!C){V.removeData(D)
}}}else{try{delete D[O]
}catch(A){if(D.removeAttribute){D.removeAttribute(O)
}}delete V.cache[B]
}},queue:function(D,C,B){if(D){C=(C||"fx")+"queue";
var A=V.data(D,C);
if(!A||V.isArray(B)){A=V.data(D,C,V.makeArray(B))
}else{if(B){A.push(B)
}}}return A
},dequeue:function(B,A){var C=V.queue(B,A),D=C.shift();
if(!A||A==="fx"){D=C[0]
}if(D!==Ac){D.call(B)
}}});
V.fn.extend({data:function(C,A){var B=C.split(".");
B[1]=B[1]?"."+B[1]:"";
if(A===Ac){var D=this.triggerHandler("getData"+B[1]+"!",[B[0]]);
if(D===Ac&&this.length){D=V.data(this[0],C)
}return D===Ac&&B[1]?this.data(B[0]):D
}else{return this.trigger("setData"+B[1]+"!",[B[0],A]).each(function(){V.data(this,C,A)
})
}},removeData:function(A){return this.each(function(){V.removeData(this,A)
})
},queue:function(A,B){if(typeof A!=="string"){B=A;
A="fx"
}if(B===Ac){return V.queue(this[0],A)
}return this.each(function(){var C=V.queue(this,A,B);
if(A=="fx"&&C.length==1){C[0].call(this)
}})
},dequeue:function(A){return this.each(function(){V.dequeue(this,A)
})
}});
(function(){var a=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?/g,g=0,c=Object.prototype.toString;
var B=function(Aj,s,w,m){w=w||[];
s=s||document;
if(s.nodeType!==1&&s.nodeType!==9){return[]
}if(!Aj||typeof Aj!=="string"){return w
}var Ak=[],u,o,n,r,x,t,Ai=true;
a.lastIndex=0;
while((u=a.exec(Aj))!==null){Ak.push(u[1]);
if(u[2]){t=RegExp.rightContext;
break
}}if(Ak.length>1&&h.exec(Aj)){if(Ak.length===2&&d.relative[Ak[0]]){o=e(Ak[0]+Ak[1],s)
}else{o=d.relative[Ak[0]]?[s]:B(Ak.shift(),s);
while(Ak.length){Aj=Ak.shift();
if(d.relative[Aj]){Aj+=Ak.shift()
}o=e(Aj,o)
}}}else{var z=m?{expr:Ak.pop(),set:A(m)}:B.find(Ak.pop(),Ak.length===1&&s.parentNode?s.parentNode:s,D(s));
o=B.filter(z.expr,z.set);
if(Ak.length>0){n=A(o)
}else{Ai=false
}while(Ak.length){var y=Ak.pop(),v=y;
if(!d.relative[y]){y=""
}else{v=Ak.pop()
}if(v==null){v=s
}d.relative[y](n,v,D(s))
}}if(!n){n=o
}if(!n){throw"Syntax error, unrecognized expression: "+(y||Aj)
}if(c.call(n)==="[object Array]"){if(!Ai){w.push.apply(w,n)
}else{if(s.nodeType===1){for(var q=0;
n[q]!=null;
q++){if(n[q]&&(n[q]===true||n[q].nodeType===1&&f(s,n[q]))){w.push(o[q])
}}}else{for(var q=0;
n[q]!=null;
q++){if(n[q]&&n[q].nodeType===1){w.push(o[q])
}}}}}else{A(n,w)
}if(t){B(t,s,w,m);
if(C){hasDuplicate=false;
w.sort(C);
if(hasDuplicate){for(var q=1;
q<w.length;
q++){if(w[q]===w[q-1]){w.splice(q--,1)
}}}}}return w
};
B.matches=function(m,n){return B(m,null,null,n)
};
B.find=function(m,n,s){var v,t;
if(!m){return[]
}for(var r=0,q=d.order.length;
r<q;
r++){var u=d.order[r],t;
if((t=d.match[u].exec(m))){var o=RegExp.leftContext;
if(o.substr(o.length-1)!=="\\"){t[1]=(t[1]||"").replace(/\\/g,"");
v=d.find[u](t,n,s);
if(v!=null){m=m.replace(d.match[u],"");
break
}}}}if(!v){v=n.getElementsByTagName("*")
}return{set:v,expr:m}
};
B.filter=function(s,m,w,v){var u=s,n=[],r=m,Aj,z,Ak=m&&m[0]&&D(m[0]);
while(s&&m.length){for(var x in d.filter){if((Aj=d.match[x].exec(s))!=null){var t=d.filter[x],y,q;
z=false;
if(r==n){n=[]
}if(d.preFilter[x]){Aj=d.preFilter[x](Aj,r,w,n,v,Ak);
if(!Aj){z=y=true
}else{if(Aj===true){continue
}}}if(Aj){for(var Ai=0;
(q=r[Ai])!=null;
Ai++){if(q){y=t(q,Aj,Ai,r);
var o=v^!!y;
if(w&&y!=null){if(o){z=true
}else{r[Ai]=false
}}else{if(o){n.push(q);
z=true
}}}}}if(y!==Ac){if(!w){r=n
}s=s.replace(d.match[x],"");
if(!z){return[]
}break
}}}if(s==u){if(z==null){throw"Syntax error, unrecognized expression: "+s
}else{break
}}u=s
}return r
};
var d=B.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,n,v){var t=typeof n==="string",s=t&&!/\W/.test(n),u=t&&!s;
if(s&&!v){n=n.toUpperCase()
}for(var r=0,q=m.length,o;
r<q;
r++){if((o=m[r])){while((o=o.previousSibling)&&o.nodeType!==1){}m[r]=u||o&&o.nodeName===n?o||false:o===n
}}if(u){B.filter(n,m,true)
}},">":function(u,o,m){var s=typeof o==="string";
if(s&&!/\W/.test(o)){o=m?o:o.toUpperCase();
for(var q=0,n=u.length;
q<n;
q++){var t=u[q];
if(t){var r=t.parentNode;
u[q]=r.nodeName===o?r:false
}}}else{for(var q=0,n=u.length;
q<n;
q++){var t=u[q];
if(t){u[q]=s?t.parentNode:t.parentNode===o
}}if(s){B.filter(o,u,true)
}}},"":function(r,o,n){var q=g++,s=b;
if(!o.match(/\W/)){var m=o=n?o:o.toUpperCase();
s=l
}s("parentNode",o,q,r,m,n)
},"~":function(r,o,n){var q=g++,s=b;
if(typeof o==="string"&&!o.match(/\W/)){var m=o=n?o:o.toUpperCase();
s=l
}s("previousSibling",o,q,r,m,n)
}},find:{ID:function(n,o,q){if(typeof o.getElementById!=="undefined"&&!q){var m=o.getElementById(n[1]);
return m?[m]:[]
}},NAME:function(q,n,o){if(typeof n.getElementsByName!=="undefined"){var t=[],m=n.getElementsByName(q[1]);
for(var r=0,s=m.length;
r<s;
r++){if(m[r].getAttribute("name")===q[1]){t.push(m[r])
}}return t.length===0?null:t
}},TAG:function(m,n){return n.getElementsByTagName(m[1])
}},preFilter:{CLASS:function(r,o,q,n,u,m){r=" "+r[1].replace(/\\/g,"")+" ";
if(m){return r
}for(var s=0,t;
(t=o[s])!=null;
s++){if(t){if(u^(t.className&&(" "+t.className+" ").indexOf(r)>=0)){if(!q){n.push(t)
}}else{if(q){o[s]=false
}}}}return false
},ID:function(m){return m[1].replace(/\\/g,"")
},TAG:function(n,m){for(var o=0;
m[o]===false;
o++){}return m[o]&&D(m[o])?n[1]:n[1].toUpperCase()
},CHILD:function(m){if(m[1]=="nth"){var n=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(m[2]=="even"&&"2n"||m[2]=="odd"&&"2n+1"||!/\D/.test(m[2])&&"0n+"+m[2]||m[2]);
m[2]=(n[1]+(n[2]||1))-0;
m[3]=n[3]-0
}m[0]=g++;
return m
},ATTR:function(m,o,q,n,s,t){var r=m[1].replace(/\\/g,"");
if(!t&&d.attrMap[r]){m[1]=d.attrMap[r]
}if(m[2]==="~="){m[4]=" "+m[4]+" "
}return m
},PSEUDO:function(m,o,q,n,s){if(m[1]==="not"){if(m[3].match(a).length>1||/^\w/.test(m[3])){m[3]=B(m[3],null,null,o)
}else{var r=B.filter(m[3],o,q,true^s);
if(!q){n.push.apply(n,r)
}return false
}}else{if(d.match.POS.test(m[0])||d.match.CHILD.test(m[0])){return true
}}return m
},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(o,n,m){return !!B(m[3],o).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(n,m){return m===0
},last:function(o,n,m,q){return n===q.length-1
},even:function(n,m){return m%2===0
},odd:function(n,m){return m%2===1
},lt:function(o,n,m){return n<m[3]-0
},gt:function(o,n,m){return n>m[3]-0
},nth:function(o,n,m){return m[3]-0==n
},eq:function(o,n,m){return m[3]-0==n
}},filter:{PSEUDO:function(u,q,r,m){var o=q[1],s=d.filters[o];
if(s){return s(u,r,q,m)
}else{if(o==="contains"){return(u.textContent||u.innerText||"").indexOf(q[3])>=0
}else{if(o==="not"){var t=q[3];
for(var r=0,n=t.length;
r<n;
r++){if(t[r]===u){return false
}}return true
}}}},CHILD:function(o,s){var w=s[1],q=o;
switch(w){case"only":case"first":while(q=q.previousSibling){if(q.nodeType===1){return false
}}if(w=="first"){return true
}q=o;
case"last":while(q=q.nextSibling){if(q.nodeType===1){return false
}}return true;
case"nth":var r=s[2],m=s[3];
if(r==1&&m==0){return true
}var v=s[0],t=o.parentNode;
if(t&&(t.sizcache!==v||!o.nodeIndex)){var u=0;
for(q=t.firstChild;
q;
q=q.nextSibling){if(q.nodeType===1){q.nodeIndex=++u
}}t.sizcache=v
}var n=o.nodeIndex-m;
if(r==0){return n==0
}else{return(n%r==0&&n/r>=0)
}}},ID:function(n,m){return n.nodeType===1&&n.getAttribute("id")===m
},TAG:function(n,m){return(m==="*"&&n.nodeType===1)||n.nodeName===m
},CLASS:function(n,m){return(" "+(n.className||n.getAttribute("class"))+" ").indexOf(m)>-1
},ATTR:function(n,r){var q=r[1],s=d.attrHandle[q]?d.attrHandle[q](n):n[q]!=null?n[q]:n.getAttribute(q),o=s+"",m=r[2],t=r[4];
return s==null?m==="!=":m==="="?o===t:m==="*="?o.indexOf(t)>=0:m==="~="?(" "+o+" ").indexOf(t)>=0:!t?o&&s!==false:m==="!="?o!=t:m==="^="?o.indexOf(t)===0:m==="$="?o.substr(o.length-t.length)===t:m==="|="?o===t||o.substr(0,t.length+1)===t+"-":false
},POS:function(m,o,q,n){var s=o[2],r=d.setFilters[s];
if(r){return r(m,q,o,n)
}}}};
var h=d.match.POS;
for(var k in d.match){d.match[k]=RegExp(d.match[k].source+/(?![^\[]*\])(?![^\(]*\))/.source)
}var A=function(n,m){n=Array.prototype.slice.call(n);
if(m){m.push.apply(m,n);
return m
}return n
};
try{Array.prototype.slice.call(document.documentElement.childNodes)
}catch(j){A=function(m,r){var o=r||[];
if(c.call(m)==="[object Array]"){Array.prototype.push.apply(o,m)
}else{if(typeof m.length==="number"){for(var q=0,n=m.length;
q<n;
q++){o.push(m[q])
}}else{for(var q=0;
m[q];
q++){o.push(m[q])
}}}return o
}
}var C;
if(document.documentElement.compareDocumentPosition){C=function(n,m){var o=n.compareDocumentPosition(m)&4?-1:n===m?0:1;
if(o===0){hasDuplicate=true
}return o
}
}else{if("sourceIndex" in document.documentElement){C=function(n,m){var o=n.sourceIndex-m.sourceIndex;
if(o===0){hasDuplicate=true
}return o
}
}else{if(document.createRange){C=function(r,o){var q=r.ownerDocument.createRange(),n=o.ownerDocument.createRange();
q.selectNode(r);
q.collapse(true);
n.selectNode(o);
n.collapse(true);
var m=q.compareBoundaryPoints(Range.START_TO_END,n);
if(m===0){hasDuplicate=true
}return m
}
}}}(function(){var n=document.createElement("form"),o="script"+(new Date).getTime();
n.innerHTML="<input name='"+o+"'/>";
var m=document.documentElement;
m.insertBefore(n,m.firstChild);
if(!!document.getElementById(o)){d.find.ID=function(q,r,s){if(typeof r.getElementById!=="undefined"&&!s){var t=r.getElementById(q[1]);
return t?t.id===q[1]||typeof t.getAttributeNode!=="undefined"&&t.getAttributeNode("id").nodeValue===q[1]?[t]:Ac:[]
}};
d.filter.ID=function(r,s){var q=typeof r.getAttributeNode!=="undefined"&&r.getAttributeNode("id");
return r.nodeType===1&&q&&q.nodeValue===s
}
}m.removeChild(n)
})();
(function(){var m=document.createElement("div");
m.appendChild(document.createComment(""));
if(m.getElementsByTagName("*").length>0){d.find.TAG=function(q,o){var n=o.getElementsByTagName(q[1]);
if(q[1]==="*"){var s=[];
for(var r=0;
n[r];
r++){if(n[r].nodeType===1){s.push(n[r])
}}n=s
}return n
}
}m.innerHTML="<a href='#'></a>";
if(m.firstChild&&typeof m.firstChild.getAttribute!=="undefined"&&m.firstChild.getAttribute("href")!=="#"){d.attrHandle.href=function(n){return n.getAttribute("href",2)
}
}})();
if(document.querySelectorAll){(function(){var m=B,n=document.createElement("div");
n.innerHTML="<p class='TEST'></p>";
if(n.querySelectorAll&&n.querySelectorAll(".TEST").length===0){return
}B=function(q,o,s,t){o=o||document;
if(!t&&o.nodeType===9&&!D(o)){try{return A(o.querySelectorAll(q),s)
}catch(r){}}return m(q,o,s,t)
};
B.find=m.find;
B.filter=m.filter;
B.selectors=m.selectors;
B.matches=m.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
}d.order.splice(1,0,"CLASS");
d.find.CLASS=function(n,o,q){if(typeof o.getElementsByClassName!=="undefined"&&!q){return o.getElementsByClassName(n[1])
}}
})()
}function l(r,x,w,q,o,m){var u=r=="previousSibling"&&!m;
for(var t=0,s=q.length;
t<s;
t++){var n=q[t];
if(n){if(u&&n.nodeType===1){n.sizcache=w;
n.sizset=t
}n=n[r];
var v=false;
while(n){if(n.sizcache===w){v=q[n.sizset];
break
}if(n.nodeType===1&&!m){n.sizcache=w;
n.sizset=t
}if(n.nodeName===x){v=n;
break
}n=n[r]
}q[t]=v
}}}function b(r,x,w,q,o,m){var u=r=="previousSibling"&&!m;
for(var t=0,s=q.length;
t<s;
t++){var n=q[t];
if(n){if(u&&n.nodeType===1){n.sizcache=w;
n.sizset=t
}n=n[r];
var v=false;
while(n){if(n.sizcache===w){v=q[n.sizset];
break
}if(n.nodeType===1){if(!m){n.sizcache=w;
n.sizset=t
}if(typeof x!=="string"){if(n===x){v=true;
break
}}else{if(B.filter(x,[n]).length>0){v=n;
break
}}}n=n[r]
}q[t]=v
}}}var f=document.compareDocumentPosition?function(n,m){return n.compareDocumentPosition(m)&16
}:function(n,m){return n!==m&&(n.contains?n.contains(m):true)
};
var D=function(m){return m.nodeType===9&&m.documentElement.nodeName!=="HTML"||!!m.ownerDocument&&D(m.ownerDocument)
};
var e=function(n,m){var r=[],s="",t,q=m.nodeType?[m]:m;
while((t=d.match.PSEUDO.exec(n))){s+=t[0];
n=n.replace(d.match.PSEUDO,"")
}n=d.relative[n]?n+"*":n;
for(var u=0,o=q.length;
u<o;
u++){B(n,q[u],r)
}return B.filter(s,r)
};
V.find=B;
V.filter=B.filter;
V.expr=B.selectors;
V.expr[":"]=V.expr.filters;
B.selectors.filters.hidden=function(m){return m.offsetWidth===0||m.offsetHeight===0
};
B.selectors.filters.visible=function(m){return m.offsetWidth>0||m.offsetHeight>0
};
B.selectors.filters.animated=function(m){return V.grep(V.timers,function(n){return m===n.elem
}).length
};
V.multiFilter=function(o,m,n){if(n){o=":not("+o+")"
}return B.matches(o,m)
};
V.dir=function(o,n){var m=[],q=o[n];
while(q&&q!=document){if(q.nodeType==1){m.push(q)
}q=q[n]
}return m
};
V.nth=function(m,n,q,r){n=n||1;
var o=0;
for(;
m;
m=m[q]){if(m.nodeType==1&&++o==n){break
}}return m
};
V.sibling=function(o,n){var m=[];
for(;
o;
o=o.nextSibling){if(o.nodeType==1&&o!=n){m.push(o)
}}return m
};
return;
S.Sizzle=B
})();
V.event={add:function(a,c,D,C){if(a.nodeType==3||a.nodeType==8){return
}if(a.setInterval&&a!=S){a=S
}if(!D.guid){D.guid=this.guid++
}if(C!==Ac){var A=D;
D=this.proxy(A);
D.data=C
}var b=V.data(a,"events")||V.data(a,"events",{}),B=V.data(a,"handle")||V.data(a,"handle",function(){return typeof V!=="undefined"&&!V.event.triggered?V.event.handle.apply(arguments.callee.elem,arguments):Ac
});
B.elem=a;
V.each(c.split(/\s+/),function(e,f){var g=f.split(".");
f=g.shift();
D.type=g.slice().sort().join(".");
var d=b[f];
if(V.event.specialAll[f]){V.event.specialAll[f].setup.call(a,C,g)
}if(!d){d=b[f]={};
if(!V.event.special[f]||V.event.special[f].setup.call(a,C,g)===false){if(a.addEventListener){a.addEventListener(f,B,false)
}else{if(a.attachEvent){a.attachEvent("on"+f,B)
}}}}d[D.guid]=D;
V.event.global[f]=true
});
a=null
},guid:1,global:{},remove:function(c,D,b){if(c.nodeType==3||c.nodeType==8){return
}var C=V.data(c,"events"),B,A;
if(C){if(D===Ac||(typeof D==="string"&&D.charAt(0)==".")){for(var a in C){this.remove(c,a+(D||""))
}}else{if(D.type){b=D.handler;
D=D.type
}V.each(D.split(/\s+/),function(f,h){var e=h.split(".");
h=e.shift();
var g=RegExp("(^|\\.)"+e.slice().sort().join(".*\\.")+"(\\.|$)");
if(C[h]){if(b){delete C[h][b.guid]
}else{for(var j in C[h]){if(g.test(C[h][j].type)){delete C[h][j]
}}}if(V.event.specialAll[h]){V.event.specialAll[h].teardown.call(c,e)
}for(B in C[h]){break
}if(!B){if(!V.event.special[h]||V.event.special[h].teardown.call(c,e)===false){if(c.removeEventListener){c.removeEventListener(h,V.data(c,"handle"),false)
}else{if(c.detachEvent){c.detachEvent("on"+h,V.data(c,"handle"))
}}}B=null;
delete C[h]
}}})
}for(B in C){break
}if(!B){var d=V.data(c,"handle");
if(d){d.elem=null
}V.removeData(c,"events");
V.removeData(c,"handle")
}}},trigger:function(a,c,D,A){var C=a.type||a;
if(!A){a=typeof a==="object"?a[O]?a:V.extend(V.Event(C),a):V.Event(C);
if(C.indexOf("!")>=0){a.type=C=C.slice(0,-1);
a.exclusive=true
}if(!D){a.stopPropagation();
if(this.global[C]){V.each(V.cache,function(){if(this.events&&this.events[C]){V.event.trigger(a,c,this.handle.elem)
}})
}}if(!D||D.nodeType==3||D.nodeType==8){return Ac
}a.result=Ac;
a.target=D;
c=V.makeArray(c);
c.unshift(a)
}a.currentTarget=D;
var b=V.data(D,"handle");
if(b){b.apply(D,c)
}if((!D[C]||(V.nodeName(D,"a")&&C=="click"))&&D["on"+C]&&D["on"+C].apply(D,c)===false){a.result=false
}if(!A&&D[C]&&!a.isDefaultPrevented()&&!(V.nodeName(D,"a")&&C=="click")){this.triggered=true;
try{D[C]()
}catch(d){}}this.triggered=false;
if(!a.isPropagationStopped()){var B=D.parentNode||D.ownerDocument;
if(B){V.event.trigger(a,c,B,true)
}}},handle:function(c){var b,A;
c=arguments[0]=V.event.fix(c||S.event);
c.currentTarget=this;
var d=c.type.split(".");
c.type=d.shift();
b=!d.length&&!c.exclusive;
var a=RegExp("(^|\\.)"+d.slice().sort().join(".*\\.")+"(\\.|$)");
A=(V.data(this,"events")||{})[c.type];
for(var C in A){var D=A[C];
if(b||a.test(D.type)){c.handler=D;
c.data=D.data;
var B=D.apply(this,arguments);
if(B!==Ac){c.result=B;
if(B===false){c.preventDefault();
c.stopPropagation()
}}if(c.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[O]){return C
}var b=C;
C=V.Event(b);
for(var A=this.props.length,a;
A;
){a=this.props[--A];
C[a]=b[a]
}if(!C.target){C.target=C.srcElement||document
}if(C.target.nodeType==3){C.target=C.target.parentNode
}if(!C.relatedTarget&&C.fromElement){C.relatedTarget=C.fromElement==C.target?C.toElement:C.fromElement
}if(C.pageX==null&&C.clientX!=null){var D=document.documentElement,B=document.body;
C.pageX=C.clientX+(D&&D.scrollLeft||B&&B.scrollLeft||0)-(D.clientLeft||0);
C.pageY=C.clientY+(D&&D.scrollTop||B&&B.scrollTop||0)-(D.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(B,A){A=A||function(){return B.apply(this,arguments)
};
A.guid=B.guid=B.guid||A.guid||this.guid++;
return A
},special:{ready:{setup:Ae,teardown:function(){}}},specialAll:{live:{setup:function(A,B){V.event.add(this,B[0],Y)
},teardown:function(A){if(A.length){var B=0,C=RegExp("(^|\\.)"+A[0]+"(\\.|$)");
V.each((V.data(this,"events").live||{}),function(){if(C.test(this.type)){B++
}});
if(B<1){V.event.remove(this,A[0],Y)
}}}}}};
V.Event=function(A){if(!this.preventDefault){return new V.Event(A)
}if(A&&A.type){this.originalEvent=A;
this.type=A.type
}else{this.type=A
}this.timeStamp=Aa();
this[O]=true
};
function R(){return false
}function L(){return true
}V.Event.prototype={preventDefault:function(){this.isDefaultPrevented=L;
var A=this.originalEvent;
if(!A){return
}if(A.preventDefault){A.preventDefault()
}A.returnValue=false
},stopPropagation:function(){this.isPropagationStopped=L;
var A=this.originalEvent;
if(!A){return
}if(A.stopPropagation){A.stopPropagation()
}A.cancelBubble=true
},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=L;
this.stopPropagation()
},isDefaultPrevented:R,isPropagationStopped:R,isImmediatePropagationStopped:R};
var W=function(C){var B=C.relatedTarget;
while(B&&B!=this){try{B=B.parentNode
}catch(A){B=this
}}if(B!=this){C.type=C.data;
V.event.handle.apply(this,arguments)
}};
V.each({mouseover:"mouseenter",mouseout:"mouseleave"},function(B,A){V.event.special[A]={setup:function(){V.event.add(this,B,W,A)
},teardown:function(){V.event.remove(this,B,W)
}}
});
V.fn.extend({bind:function(C,A,B){return C=="unload"?this.one(C,A,B):this.each(function(){V.event.add(this,C,B||A,B&&A)
})
},one:function(A,B,D){var C=V.event.proxy(D||B,function(a){V(this).unbind(a,C);
return(D||B).apply(this,arguments)
});
return this.each(function(){V.event.add(this,A,C,D&&B)
})
},unbind:function(B,A){return this.each(function(){V.event.remove(this,B,A)
})
},trigger:function(A,B){return this.each(function(){V.event.trigger(A,B,this)
})
},triggerHandler:function(B,A){if(this[0]){var C=V.Event(B);
C.preventDefault();
C.stopPropagation();
V.event.trigger(C,A,this[0]);
return C.result
}},toggle:function(A){var B=arguments,C=1;
while(C<B.length){V.event.proxy(A,B[C++])
}return this.click(V.event.proxy(A,function(D){this.lastToggle=(this.lastToggle||0)%C;
D.preventDefault();
return B[this.lastToggle++].apply(this,arguments)||false
}))
},hover:function(A,B){return this.mouseenter(A).mouseleave(B)
},ready:function(A){Ae();
if(V.isReady){A.call(document,V)
}else{V.readyList.push(A)
}return this
},live:function(A,C){var B=V.event.proxy(C);
B.guid+=this.selector+A;
V(document).bind(P(A,this.selector),this.selector,B);
return this
},die:function(B,A){V(document).unbind(P(B,this.selector),A?{guid:A.guid+this.selector+B}:null);
return this
}});
function Y(B){var C=RegExp("(^|\\.)"+B.type+"(\\.|$)"),A=true,D=[];
V.each(V.data(this,"events").live||[],function(a,b){if(C.test(b.type)){var c=V(B.target).closest(b.data)[0];
if(c){D.push({elem:c,fn:b})
}}});
D.sort(function(b,a){return V.data(b.elem,"closest")-V.data(a.elem,"closest")
});
V.each(D,function(){if(this.fn.call(this.elem,B,this.fn.data)===false){return(A=false)
}});
return A
}function P(B,A){return["live",B,A.replace(/\./g,"`").replace(/ /g,"|")].join(".")
}V.extend({isReady:false,readyList:[],ready:function(){if(!V.isReady){V.isReady=true;
if(V.readyList){V.each(V.readyList,function(){this.call(document,V)
});
V.readyList=null
}V(document).triggerHandler("ready")
}}});
var Ah=false;
function Ae(){if(Ah){return
}Ah=true;
if(document.addEventListener){document.addEventListener("DOMContentLoaded",function(){document.removeEventListener("DOMContentLoaded",arguments.callee,false);
V.ready()
},false)
}else{if(document.attachEvent){document.attachEvent("onreadystatechange",function(){if(document.readyState==="complete"){document.detachEvent("onreadystatechange",arguments.callee);
V.ready()
}});
if(document.documentElement.doScroll&&S==S.top){(function(){if(V.isReady){return
}try{document.documentElement.doScroll("left")
}catch(A){setTimeout(arguments.callee,0);
return
}V.ready()
})()
}}}V.event.add(S,"load",V.ready)
}V.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(B,A){V.fn[A]=function(C){return C?this.bind(A,C):this.trigger(A)
}
});
V(S).bind("unload",function(){for(var A in V.cache){if(A!=1&&V.cache[A].handle){V.event.remove(V.cache[A].handle.elem)
}}});
(function(){V.support={};
var c=document.documentElement,A=document.createElement("script"),C=document.createElement("div"),b="script"+(new Date).getTime();
C.style.display="none";
C.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=C.getElementsByTagName("*"),B=C.getElementsByTagName("a")[0];
if(!D||!D.length||!B){return
}V.support={leadingWhitespace:C.firstChild.nodeType==3,tbody:!C.getElementsByTagName("tbody").length,objectAll:!!C.getElementsByTagName("object")[0].getElementsByTagName("*").length,htmlSerialize:!!C.getElementsByTagName("link").length,style:/red/.test(B.getAttribute("style")),hrefNormalized:B.getAttribute("href")==="/a",opacity:B.style.opacity==="0.5",cssFloat:!!B.style.cssFloat,scriptEval:false,noCloneEvent:true,boxModel:null};
A.type="text/javascript";
try{A.appendChild(document.createTextNode("window."+b+"=1;"))
}catch(a){}c.insertBefore(A,c.firstChild);
if(S[b]){V.support.scriptEval=true;
delete S[b]
}c.removeChild(A);
if(C.attachEvent&&C.fireEvent){C.attachEvent("onclick",function(){V.support.noCloneEvent=false;
C.detachEvent("onclick",arguments.callee)
});
C.cloneNode(true).fireEvent("onclick")
}V(function(){var d=document.createElement("div");
d.style.width=d.style.paddingLeft="1px";
document.body.appendChild(d);
V.boxModel=V.support.boxModel=d.offsetWidth===2;
document.body.removeChild(d).style.display="none"
})
})();
var N=V.support.cssFloat?"cssFloat":"styleFloat";
V.props={"for":"htmlFor","class":"className","float":N,cssFloat:N,styleFloat:N,readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",tabindex:"tabIndex"};
V.fn.extend({_load:V.fn.load,load:function(A,b,c){if(typeof A!=="string"){return this._load(A)
}var a=A.indexOf(" ");
if(a>=0){var B=A.slice(a,A.length);
A=A.slice(0,a)
}var D="GET";
if(b){if(V.isFunction(b)){c=b;
b=null
}else{if(typeof b==="object"){b=V.param(b);
D="POST"
}}}var C=this;
V.ajax({url:A,type:D,dataType:"html",data:b,complete:function(e,d){if(d=="success"||d=="notmodified"){C.html(B?V("<div/>").append(e.responseText.replace(/<script(.|\s)*?\/script>/g,"")).find(B):e.responseText)
}if(c){C.each(c,[e.responseText,d,e])
}}});
return this
},serialize:function(){return V.param(this.serializeArray())
},serializeArray:function(){return this.map(function(){return this.elements?V.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(B,C){var A=V(this).val();
return A==null?null:V.isArray(A)?V.map(A,function(a,D){return{name:C.name,value:a}
}):{name:C.name,value:A}
}).get()
}});
V.each("ajaxStart,ajaxStop,ajaxComplete,ajaxError,ajaxSuccess,ajaxSend".split(","),function(A,B){V.fn[B]=function(C){return this.bind(B,C)
}
});
var I=Aa();
V.extend({get:function(C,A,B,D){if(V.isFunction(A)){B=A;
A=null
}return V.ajax({type:"GET",url:C,data:A,success:B,dataType:D})
},getScript:function(A,B){return V.get(A,null,B,"script")
},getJSON:function(B,C,A){return V.get(B,C,A,"json")
},post:function(C,A,B,D){if(V.isFunction(A)){B=A;
A={}
}return V.ajax({type:"POST",url:C,data:A,success:B,dataType:D})
},ajaxSetup:function(A){V.extend(V.ajaxSettings,A)
},ajaxSettings:{url:location.href,global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:function(){return S.ActiveXObject?new ActiveXObject("Microsoft.XMLHTTP"):new XMLHttpRequest()
},accepts:{xml:"application/xml, text/xml",html:"text/html",script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},lastModified:{},ajax:function(k){k=V.extend(true,k,V.extend(true,{},V.ajaxSettings,k));
var d,o=/=\?(&|$)/g,C,c,q=k.type.toUpperCase();
if(k.data&&k.processData&&typeof k.data!=="string"){k.data=V.param(k.data)
}if(k.dataType=="jsonp"){if(q=="GET"){if(!k.url.match(o)){k.url+=(k.url.match(/\?/)?"&":"?")+(k.jsonp||"callback")+"=?"
}}else{if(!k.data||!k.data.match(o)){k.data=(k.data?k.data+"&":"")+(k.jsonp||"callback")+"=?"
}}k.dataType="json"
}if(k.dataType=="json"&&(k.data&&k.data.match(o)||k.url.match(o))){d="jsonp"+I++;
if(k.data){k.data=(k.data+"").replace(o,"="+d+"$1")
}k.url=k.url.replace(o,"="+d+"$1");
k.dataType="script";
S[d]=function(r){c=r;
f();
j();
S[d]=Ac;
try{delete S[d]
}catch(s){}if(e){e.removeChild(a)
}}
}if(k.dataType=="script"&&k.cache==null){k.cache=false
}if(k.cache===false&&q=="GET"){var n=Aa();
var b=k.url.replace(/(\?|&)_=.*?(&|$)/,"$1_="+n+"$2");
k.url=b+((b==k.url)?(k.url.match(/\?/)?"&":"?")+"_="+n:"")
}if(k.data&&q=="GET"){k.url+=(k.url.match(/\?/)?"&":"?")+k.data;
k.data=null
}if(k.global&&!V.active++){V.event.trigger("ajaxStart")
}var B=/^(\w+:)?\/\/([^\/?#]+)/.exec(k.url);
if(k.dataType=="script"&&q=="GET"&&B&&(B[1]&&B[1]!=location.protocol||B[2]!=location.host)){var e=document.getElementsByTagName("head")[0];
var a=document.createElement("script");
a.src=k.url;
if(k.scriptCharset){a.charset=k.scriptCharset
}if(!d){var m=false;
a.onload=a.onreadystatechange=function(){if(!m&&(!this.readyState||this.readyState=="loaded"||this.readyState=="complete")){m=true;
f();
j();
a.onload=a.onreadystatechange=null;
e.removeChild(a)
}}
}e.appendChild(a);
return Ac
}var h=false;
var g=k.xhr();
if(k.username){g.open(q,k.url,k.async,k.username,k.password)
}else{g.open(q,k.url,k.async)
}try{if(k.data){g.setRequestHeader("Content-Type",k.contentType)
}if(k.ifModified){g.setRequestHeader("If-Modified-Since",V.lastModified[k.url]||"Thu, 01 Jan 1970 00:00:00 GMT")
}g.setRequestHeader("X-Requested-With","XMLHttpRequest");
g.setRequestHeader("Accept",k.dataType&&k.accepts[k.dataType]?k.accepts[k.dataType]+", */*":k.accepts._default)
}catch(D){}if(k.beforeSend&&k.beforeSend(g,k)===false){if(k.global&&!--V.active){V.event.trigger("ajaxStop")
}g.abort();
return false
}if(k.global){V.event.trigger("ajaxSend",[g,k])
}var l=function(r){if(g.readyState==0){if(A){clearInterval(A);
A=null;
if(k.global&&!--V.active){V.event.trigger("ajaxStop")
}}}else{if(!h&&g&&(g.readyState==4||r=="timeout")){h=true;
if(A){clearInterval(A);
A=null
}C=r=="timeout"?"timeout":!V.httpSuccess(g)?"error":k.ifModified&&V.httpNotModified(g,k.url)?"notmodified":"success";
if(C=="success"){try{c=V.httpData(g,k.dataType,k)
}catch(t){C="parsererror"
}}if(C=="success"){var s;
try{s=g.getResponseHeader("Last-Modified")
}catch(t){}if(k.ifModified&&s){V.lastModified[k.url]=s
}if(!d){f()
}}else{V.handleError(k,g,C)
}j();
if(r){g.abort()
}if(k.async){g=null
}}}};
if(k.async){var A=setInterval(l,13);
if(k.timeout>0){setTimeout(function(){if(g&&!h){l("timeout")
}},k.timeout)
}}try{g.send(k.data)
}catch(D){V.handleError(k,g,null,D)
}if(!k.async){l()
}function f(){if(k.success){k.success(c,C)
}if(k.global){V.event.trigger("ajaxSuccess",[g,k])
}}function j(){if(k.complete){k.complete(g,C)
}if(k.global){V.event.trigger("ajaxComplete",[g,k])
}if(k.global&&!--V.active){V.event.trigger("ajaxStop")
}}return g
},handleError:function(D,B,C,A){if(D.error){D.error(B,C,A)
}if(D.global){V.event.trigger("ajaxError",[B,D,A])
}},active:0,httpSuccess:function(B){try{return !B.status&&location.protocol=="file:"||(B.status>=200&&B.status<300)||B.status==304||B.status==1223
}catch(A){}return false
},httpNotModified:function(A,C){try{var B=A.getResponseHeader("Last-Modified");
return A.status==304||B==V.lastModified[C]
}catch(D){}return false
},httpData:function(a,C,A){var b=a.getResponseHeader("content-type"),B=C=="xml"||!C&&b&&b.indexOf("xml")>=0,D=B?a.responseXML:a.responseText;
if(B&&D.documentElement.tagName=="parsererror"){throw"parsererror"
}if(A&&A.dataFilter){D=A.dataFilter(D,C)
}if(typeof D==="string"){if(C=="script"){V.globalEval(D)
}if(C=="json"){D=S["eval"]("("+D+")")
}}return D
},param:function(C){var A=[];
function B(a,b){A[A.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)
}if(V.isArray(C)||C.jquery){V.each(C,function(){B(this.name,this.value)
})
}else{for(var D in C){if(V.isArray(C[D])){V.each(C[D],function(){B(D,this)
})
}else{B(D,V.isFunction(C[D])?C[D]():C[D])
}}}return A.join("&").replace(/%20/g,"+")
}});
var T={},U,Z=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];
function K(C,B){var A={};
V.each(Z.concat.apply([],Z.slice(0,B)),function(){A[this]=C
});
return A
}V.fn.extend({show:function(b,d){if(b){return this.animate(K("show",3),b,d)
}else{for(var D=0,B=this.length;
D<B;
D++){var A=V.data(this[D],"olddisplay");
this[D].style.display=A||"";
if(V.css(this[D],"display")==="none"){var C=this[D].tagName,c;
if(T[C]){c=T[C]
}else{var a=V("<"+C+" />").appendTo("body");
c=a.css("display");
if(c==="none"){c="block"
}a.remove();
T[C]=c
}V.data(this[D],"olddisplay",c)
}}for(var D=0,B=this.length;
D<B;
D++){this[D].style.display=V.data(this[D],"olddisplay")||""
}return this
}},hide:function(B,C){if(B){return this.animate(K("hide",3),B,C)
}else{for(var A=0,a=this.length;
A<a;
A++){var D=V.data(this[A],"olddisplay");
if(!D&&D!=="none"){V.data(this[A],"olddisplay",V.css(this[A],"display"))
}}for(var A=0,a=this.length;
A<a;
A++){this[A].style.display="none"
}return this
}},_toggle:V.fn.toggle,toggle:function(A,C){var B=typeof A==="boolean";
return V.isFunction(A)&&V.isFunction(C)?this._toggle.apply(this,arguments):A==null||B?this.each(function(){var D=B?A:V(this).is(":hidden");
V(this)[D?"show":"hide"]()
}):this.animate(K("toggle",3),A,C)
},fadeTo:function(B,A,C){return this.animate({opacity:A},B,C)
},animate:function(C,a,B,A){var D=V.speed(a,B,A);
return this[D.queue===false?"each":"queue"](function(){var e=V.extend({},D),c,b=this.nodeType==1&&V(this).is(":hidden"),d=this;
for(c in C){if(C[c]=="hide"&&b||C[c]=="show"&&!b){return e.complete.call(this)
}if((c=="height"||c=="width")&&this.style){e.display=V.css(this,"display");
e.overflow=this.style.overflow
}}if(e.overflow!=null){this.style.overflow="hidden"
}e.curAnim=V.extend({},C);
V.each(C,function(j,h){var g=new V.fx(d,e,j);
if(/toggle|show|hide/.test(h)){g[h=="toggle"?b?"show":"hide":h](C)
}else{var f=h.toString().match(/^([+-]=)?([\d+-.]+)(.*)$/),l=g.cur(true)||0;
if(f){var k=parseFloat(f[2]),m=f[3]||"px";
if(m!="px"){d.style[j]=(k||1)+m;
l=((k||1)/g.cur(true))*l;
d.style[j]=l+m
}if(f[1]){k=((f[1]=="-="?-1:1)*k)+l
}g.custom(l,k,m)
}else{g.custom(l,h,"")
}}});
return true
})
},stop:function(C,B){var A=V.timers;
if(C){this.queue([])
}this.each(function(){for(var D=A.length-1;
D>=0;
D--){if(A[D].elem==this){if(B){A[D](true)
}A.splice(D,1)
}}});
if(!B){this.dequeue()
}return this
}});
V.each({slideDown:K("show",1),slideUp:K("hide",1),slideToggle:K("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(A,B){V.fn[A]=function(C,D){return this.animate(B,C,D)
}
});
V.extend({speed:function(A,B,D){var C=typeof A==="object"?A:{complete:D||!D&&B||V.isFunction(A)&&A,duration:A,easing:D&&B||B&&!V.isFunction(B)&&B};
C.duration=V.fx.off?0:typeof C.duration==="number"?C.duration:V.fx.speeds[C.duration]||V.fx.speeds._default;
C.old=C.complete;
C.complete=function(){if(C.queue!==false){V(this).dequeue()
}if(V.isFunction(C.old)){C.old.call(this)
}};
return C
},easing:{linear:function(A,B,C,D){return C+D*A
},swing:function(A,B,C,D){return((-Math.cos(A*Math.PI)/2)+0.5)*D+C
}},timers:[],fx:function(C,B,A){this.options=B;
this.elem=C;
this.prop=A;
if(!B.orig){B.orig={}
}}});
V.fx.prototype={update:function(){if(this.options.step){this.options.step.call(this.elem,this.now,this)
}(V.fx.step[this.prop]||V.fx.step._default)(this);
if((this.prop=="height"||this.prop=="width")&&this.elem.style){this.elem.style.display="block"
}},cur:function(B){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null)){return this.elem[this.prop]
}var A=parseFloat(V.css(this.elem,this.prop,B));
return A&&A>-10000?A:parseFloat(V.curCSS(this.elem,this.prop))||0
},custom:function(C,B,A){this.startTime=Aa();
this.start=C;
this.end=B;
this.unit=A||this.unit||"px";
this.now=this.start;
this.pos=this.state=0;
var D=this;
function a(b){return D.step(b)
}a.elem=this.elem;
if(a()&&V.timers.push(a)&&!U){U=setInterval(function(){var c=V.timers;
for(var b=0;
b<c.length;
b++){if(!c[b]()){c.splice(b--,1)
}}if(!c.length){clearInterval(U);
U=Ac
}},13)
}},show:function(){this.options.orig[this.prop]=V.attr(this.elem.style,this.prop);
this.options.show=true;
this.custom(this.prop=="width"||this.prop=="height"?1:0,this.cur());
V(this.elem).show()
},hide:function(){this.options.orig[this.prop]=V.attr(this.elem.style,this.prop);
this.options.hide=true;
this.custom(this.cur(),0)
},step:function(C){var A=Aa();
if(C||A>=this.options.duration+this.startTime){this.now=this.end;
this.pos=this.state=1;
this.update();
this.options.curAnim[this.prop]=true;
var a=true;
for(var b in this.options.curAnim){if(this.options.curAnim[b]!==true){a=false
}}if(a){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;
this.elem.style.display=this.options.display;
if(V.css(this.elem,"display")=="none"){this.elem.style.display="block"
}}if(this.options.hide){V(this.elem).hide()
}if(this.options.hide||this.options.show){for(var D in this.options.curAnim){V.attr(this.elem.style,D,this.options.orig[D])
}}this.options.complete.call(this.elem)
}return false
}else{var B=A-this.startTime;
this.state=B/this.options.duration;
this.pos=V.easing[this.options.easing||(V.easing.swing?"swing":"linear")](this.state,B,0,1,this.options.duration);
this.now=this.start+((this.end-this.start)*this.pos);
this.update()
}return true
}};
V.extend(V.fx,{speeds:{slow:600,fast:200,_default:400},step:{opacity:function(A){V.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){V.fn.offset=function(){if(!this[0]){return{top:0,left:0}
}if(this[0]===this[0].ownerDocument.body){return V.offset.bodyOffset(this[0])
}var C=this[0].getBoundingClientRect(),b=this[0].ownerDocument,B=b.body,A=b.documentElement,d=A.clientTop||B.clientTop||0,c=A.clientLeft||B.clientLeft||0,a=C.top+(self.pageYOffset||V.boxModel&&A.scrollTop||B.scrollTop)-d,D=C.left+(self.pageXOffset||V.boxModel&&A.scrollLeft||B.scrollLeft)-c;
return{top:a,left:D}
}
}else{V.fn.offset=function(){if(!this[0]){return{top:0,left:0}
}if(this[0]===this[0].ownerDocument.body){return V.offset.bodyOffset(this[0])
}V.offset.initialized||V.offset.initialize();
var b=this[0],C=b.offsetParent,B=b,g=b.ownerDocument,e,D=g.documentElement,c=g.body,d=g.defaultView,A=d.getComputedStyle(b,null),f=b.offsetTop,a=b.offsetLeft;
while((b=b.parentNode)&&b!==c&&b!==D){e=d.getComputedStyle(b,null);
f-=b.scrollTop,a-=b.scrollLeft;
if(b===C){f+=b.offsetTop,a+=b.offsetLeft;
if(V.offset.doesNotAddBorder&&!(V.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(b.tagName))){f+=parseInt(e.borderTopWidth,10)||0,a+=parseInt(e.borderLeftWidth,10)||0
}B=C,C=b.offsetParent
}if(V.offset.subtractsBorderForOverflowNotVisible&&e.overflow!=="visible"){f+=parseInt(e.borderTopWidth,10)||0,a+=parseInt(e.borderLeftWidth,10)||0
}A=e
}if(A.position==="relative"||A.position==="static"){f+=c.offsetTop,a+=c.offsetLeft
}if(A.position==="fixed"){f+=Math.max(D.scrollTop,c.scrollTop),a+=Math.max(D.scrollLeft,c.scrollLeft)
}return{top:f,left:a}
}
}V.offset={initialize:function(){if(this.initialized){return
}var d=document.body,B=document.createElement("div"),D,C,f,a,e,A,b=d.style.marginTop,c='<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>';
e={position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"};
for(A in e){B.style[A]=e[A]
}B.innerHTML=c;
d.insertBefore(B,d.firstChild);
D=B.firstChild,C=D.firstChild,a=D.nextSibling.firstChild.firstChild;
this.doesNotAddBorder=(C.offsetTop!==5);
this.doesAddBorderForTableAndCells=(a.offsetTop===5);
D.style.overflow="hidden",D.style.position="relative";
this.subtractsBorderForOverflowNotVisible=(C.offsetTop===-5);
d.style.marginTop="1px";
this.doesNotIncludeMarginInBodyOffset=(d.offsetTop===0);
d.style.marginTop=b;
d.removeChild(B);
this.initialized=true
},bodyOffset:function(B){V.offset.initialized||V.offset.initialize();
var A=B.offsetTop,C=B.offsetLeft;
if(V.offset.doesNotIncludeMarginInBodyOffset){A+=parseInt(V.curCSS(B,"marginTop",true),10)||0,C+=parseInt(V.curCSS(B,"marginLeft",true),10)||0
}return{top:A,left:C}
}};
V.fn.extend({position:function(){var D=0,C=0,b;
if(this[0]){var A=this.offsetParent(),a=this.offset(),B=/^body|html$/i.test(A[0].tagName)?{top:0,left:0}:A.offset();
a.top-=Q(this,"marginTop");
a.left-=Q(this,"marginLeft");
B.top+=Q(A,"borderTopWidth");
B.left+=Q(A,"borderLeftWidth");
b={top:a.top-B.top,left:a.left-B.left}
}return b
},offsetParent:function(){var A=this[0].offsetParent||document.body;
while(A&&(!/^body|html$/i.test(A.tagName)&&V.css(A,"position")=="static")){A=A.offsetParent
}return V(A)
}});
V.each(["Left","Top"],function(C,B){var A="scroll"+B;
V.fn[A]=function(D){if(!this[0]){return null
}return D!==Ac?this.each(function(){this==S||this==document?S.scrollTo(!C?D:V(S).scrollLeft(),C?D:V(S).scrollTop()):this[A]=D
}):this[0]==S||this[0]==document?self[C?"pageYOffset":"pageXOffset"]||V.boxModel&&document.documentElement[A]||document.body[A]:this[0][A]
}
});
V.each(["Height","Width"],function(D,A){var a=D?"Left":"Top",C=D?"Right":"Bottom",b=A.toLowerCase();
V.fn["inner"+A]=function(){return this[0]?V.css(this[0],b,false,"padding"):null
};
V.fn["outer"+A]=function(c){return this[0]?V.css(this[0],b,false,c?"margin":"border"):null
};
var B=A.toLowerCase();
V.fn[B]=function(c){return this[0]==S?document.compatMode=="CSS1Compat"&&document.documentElement["client"+A]||document.body["client"+A]:this[0]==document?Math.max(document.documentElement["client"+A],document.body["scroll"+A],document.documentElement["scroll"+A],document.body["offset"+A],document.documentElement["offset"+A]):c===Ac?(this.length?V.css(this[0],B):null):this.css(B,typeof c==="string"?c:c+"px")
}
})
})();
(function(A){A.fn.lightBox=function(N){N=jQuery.extend({overlayBgColor:"#000",overlayOpacity:0.8,fixedNavigation:false,imageLoading:"images/lightbox-ico-loading.gif",imageBtnPrev:"images/lightbox-btn-prev.gif",imageBtnNext:"images/lightbox-btn-next.gif",imageBtnClose:"images/lightbox-btn-close.gif",imageBlank:"images/lightbox-blank.gif",containerBorderSize:10,containerResizeSpeed:400,txtImage:"Image",txtOf:"of",keyToClose:"c",keyToPrev:"p",keyToNext:"n",imageArray:[],activeImage:0},N);
var M=this;
function J(){B(this,M);
return false
}function B(V,U){A("embed, object, select").css({"visibility":"hidden"});
I();
N.imageArray.length=0;
N.activeImage=0;
if(U.length==1){N.imageArray.push(new Array(V.getAttribute("href"),V.getAttribute("title")))
}else{for(var T=0;
T<U.length;
T++){N.imageArray.push(new Array(U[T].getAttribute("href"),U[T].getAttribute("title")))
}}while(N.imageArray[N.activeImage][0]!=V.getAttribute("href")){N.activeImage++
}R()
}function I(){A("body").append('<div id="jquery-overlay"></div><div id="jquery-lightbox"><div id="lightbox-container-image-box"><div id="lightbox-container-image"><img id="lightbox-image"><div style="" id="lightbox-nav"><a href="#" id="lightbox-nav-btnPrev"></a><a href="#" id="lightbox-nav-btnNext"></a></div><div id="lightbox-loading"><a href="#" id="lightbox-loading-link"><img src="'+N.imageLoading+'"></a></div></div></div><div id="lightbox-container-image-data-box"><div id="lightbox-container-image-data"><div id="lightbox-image-details"><span id="lightbox-image-details-caption"></span><span id="lightbox-image-details-currentNumber"></span></div><div id="lightbox-secNav"><a href="#" id="lightbox-secNav-btnClose"><img src="'+N.imageBtnClose+'"></a></div></div></div></div>');
var U=S();
A("#jquery-overlay").css({backgroundColor:N.overlayBgColor,opacity:N.overlayOpacity,width:U[0],height:U[1]}).fadeIn();
var T=K();
A("#jquery-lightbox").css({top:T[1]+(U[3]/10),left:T[0]}).show();
A("#jquery-overlay,#jquery-lightbox").click(function(){D()
});
A("#lightbox-loading-link,#lightbox-secNav-btnClose").click(function(){D();
return false
});
A(window).resize(function(){var W=S();
A("#jquery-overlay").css({width:W[0],height:W[1]});
var V=K();
A("#jquery-lightbox").css({top:V[1]+(W[3]/10),left:V[0]})
})
}function R(){A("#lightbox-loading").show();
if(N.fixedNavigation){A("#lightbox-image,#lightbox-container-image-data-box,#lightbox-image-details-currentNumber").hide()
}else{A("#lightbox-image,#lightbox-nav,#lightbox-nav-btnPrev,#lightbox-nav-btnNext,#lightbox-container-image-data-box,#lightbox-image-details-currentNumber").hide()
}var T=new Image();
T.onload=function(){A("#lightbox-image").attr("src",N.imageArray[N.activeImage][0]);
Q(T.width,T.height);
T.onload=function(){}
};
T.src=N.imageArray[N.activeImage][0]
}function Q(X,Z){var a=A("#lightbox-container-image-box").width();
var T=A("#lightbox-container-image-box").height();
var Y=(X+(N.containerBorderSize*2));
var V=(Z+(N.containerBorderSize*2));
var W=a-Y;
var U=T-V;
A("#lightbox-container-image-box").animate({width:Y,height:V},N.containerResizeSpeed,function(){G()
});
if((W==0)&&(U==0)){if(A.browser.msie){F(250)
}else{F(100)
}}A("#lightbox-container-image-data-box").css({width:X});
A("#lightbox-nav-btnPrev,#lightbox-nav-btnNext").css({height:Z+(N.containerBorderSize*2)})
}function G(){A("#lightbox-loading").hide();
A("#lightbox-image").fadeIn(function(){C();
E()
});
O()
}function C(){A("#lightbox-container-image-data-box").slideDown("fast");
A("#lightbox-image-details-caption").hide();
if(N.imageArray[N.activeImage][1]){A("#lightbox-image-details-caption").html(N.imageArray[N.activeImage][1]).show()
}if(N.imageArray.length>1){A("#lightbox-image-details-currentNumber").html(N.txtImage+" "+(N.activeImage+1)+" "+N.txtOf+" "+N.imageArray.length).show()
}}function E(){A("#lightbox-nav").show();
A("#lightbox-nav-btnPrev,#lightbox-nav-btnNext").css({"background":"transparent url("+N.imageBlank+") no-repeat"});
if(N.activeImage!=0){if(N.fixedNavigation){A("#lightbox-nav-btnPrev").css({"background":"url("+N.imageBtnPrev+") left 15% no-repeat"}).unbind().bind("click",function(){N.activeImage=N.activeImage-1;
R();
return false
})
}else{A("#lightbox-nav-btnPrev").unbind().hover(function(){A(this).css({"background":"url("+N.imageBtnPrev+") left 15% no-repeat"})
},function(){A(this).css({"background":"transparent url("+N.imageBlank+") no-repeat"})
}).show().bind("click",function(){N.activeImage=N.activeImage-1;
R();
return false
})
}}if(N.activeImage!=(N.imageArray.length-1)){if(N.fixedNavigation){A("#lightbox-nav-btnNext").css({"background":"url("+N.imageBtnNext+") right 15% no-repeat"}).unbind().bind("click",function(){N.activeImage=N.activeImage+1;
R();
return false
})
}else{A("#lightbox-nav-btnNext").unbind().hover(function(){A(this).css({"background":"url("+N.imageBtnNext+") right 15% no-repeat"})
},function(){A(this).css({"background":"transparent url("+N.imageBlank+") no-repeat"})
}).show().bind("click",function(){N.activeImage=N.activeImage+1;
R();
return false
})
}}H()
}function H(){A(document).keydown(function(T){L(T)
})
}function P(){A(document).unbind()
}function L(T){if(T==null){keycode=event.keyCode;
escapeKey=27
}else{keycode=T.keyCode;
escapeKey=T.DOM_VK_ESCAPE
}key=String.fromCharCode(keycode).toLowerCase();
if((key==N.keyToClose)||(key=="x")||(keycode==escapeKey)){D()
}if((key==N.keyToPrev)||(keycode==37)){if(N.activeImage!=0){N.activeImage=N.activeImage-1;
R();
P()
}}if((key==N.keyToNext)||(keycode==39)){if(N.activeImage!=(N.imageArray.length-1)){N.activeImage=N.activeImage+1;
R();
P()
}}}function O(){if((N.imageArray.length-1)>N.activeImage){objNext=new Image();
objNext.src=N.imageArray[N.activeImage+1][0]
}if(N.activeImage>0){objPrev=new Image();
objPrev.src=N.imageArray[N.activeImage-1][0]
}}function D(){A("#jquery-lightbox").remove();
A("#jquery-overlay").fadeOut(function(){A("#jquery-overlay").remove()
});
A("embed, object, select").css({"visibility":"visible"})
}function S(){var T,V;
if(window.innerHeight&&window.scrollMaxY){T=window.innerWidth+window.scrollMaxX;
V=window.innerHeight+window.scrollMaxY
}else{if(document.body.scrollHeight>document.body.offsetHeight){T=document.body.scrollWidth;
V=document.body.scrollHeight
}else{T=document.body.offsetWidth;
V=document.body.offsetHeight
}}var W,U;
if(self.innerHeight){if(document.documentElement.clientWidth){W=document.documentElement.clientWidth
}else{W=self.innerWidth
}U=self.innerHeight
}else{if(document.documentElement&&document.documentElement.clientHeight){W=document.documentElement.clientWidth;
U=document.documentElement.clientHeight
}else{if(document.body){W=document.body.clientWidth;
U=document.body.clientHeight
}}}if(V<U){pageHeight=U
}else{pageHeight=V
}if(T<W){pageWidth=T
}else{pageWidth=W
}arrayPageSize=new Array(pageWidth,pageHeight,W,U);
return arrayPageSize
}function K(){var T,U;
if(self.pageYOffset){U=self.pageYOffset;
T=self.pageXOffset
}else{if(document.documentElement&&document.documentElement.scrollTop){U=document.documentElement.scrollTop;
T=document.documentElement.scrollLeft
}else{if(document.body){U=document.body.scrollTop;
T=document.body.scrollLeft
}}}arrayPageScroll=new Array(T,U);
return arrayPageScroll
}function F(T){var U=new Date();
V=null;
do{var V=new Date()
}while(V-U<T)
}return this.unbind("click").click(J)
}
})(jQuery);
(function(A){A.fn.overlabel=function(D){var B=A.extend({},A.fn.overlabel.defaults,D);
var C=this.filter("label[for]").map(function(){var K=A(this);
var E=K.attr("for");
var I=document.getElementById(E);
if(!I){return
}var F=A.meta?A.extend({},B,K.data()):B;
K.addClass(F.label_class);
var J=function(){K.css(F.hide_css)
};
var G=function(){this.value||K.css(F.show_css)
};
A(I).parent().addClass(F.wrapper_class).end().focus(J).blur(G).each(J).each(G);
if(A.browser.msie&&A.browser.version>5&&A.browser.version<8){var L=A(I).parent()[0].tagName.toLowerCase();
if(L=="div"){A(I).parent().css("display","inline-block")
}}var H=A(I).position();
K.css({"visibility":"visible","left":(H.left+5)+"px","top":(H.top+2)+"px","margin-left":A(I).css("margin-left"),"margin-top":A(I).css("margin-top"),"float":"none","width":"auto"});
return this
});
return B.filter?C:C.end()
};
A.fn.overlabel.defaults={label_class:"overlabel-apply",wrapper_class:"overlabel-wrapper",hide_css:{"text-indent":"-10000px"},show_css:{"text-indent":"0px","cursor":"text"},filter:false}
})(jQuery);
/*
 * jQuery Cycle Plugin (with Transition Definitions)
 * Examples and documentation at: http://jquery.malsup.com/cycle/
 * Copyright (c) 2007-2009 M. Alsup
 * Version: 2.72 (09-SEP-2009)
 * Dual licensed under the MIT and GPL licenses:
 * http://www.opensource.org/licenses/mit-license.php
 * http://www.gnu.org/licenses/gpl.html
 * Requires: jQuery v1.2.6 or later
 *
 * Originally based on the work of:
 *	1) Matt Oakes
 *	2) Torsten Baldes (http://medienfreunde.com/lab/innerfade/)
 *	3) Benjamin Sterling (http://www.benjaminsterling.com/experiments/jqShuffle/)
 */
(function(E){var F="2.72";
if(E.support==undefined){E.support={opacity:!(E.browser.msie)}
}function D(P){if(E.fn.cycle.debug){A(P)
}}function A(){if(window.console&&window.console.log){window.console.log("[cycle] "+Array.prototype.join.call(arguments," "))
}}E.fn.cycle=function(Q,P){var R={s:this.selector,c:this.context};
if(this.length===0&&Q!="stop"){if(!E.isReady&&R.s){A("DOM not ready, queuing slideshow");
E(function(){E(R.s,R.c).cycle(Q,P)
});
return this
}A("terminating; zero elements found by selector"+(E.isReady?"":" (DOM not ready)"));
return this
}return this.each(function(){var S=M(this,Q,P);
if(S===false){return
}if(this.cycleTimeout){clearTimeout(this.cycleTimeout)
}this.cycleTimeout=this.cyclePause=0;
var T=E(this);
var U=S.slideExpr?E(S.slideExpr,this):T.children();
var X=U.get();
if(X.length<2){A("terminating; too few slides: "+X.length);
return
}var V=B(T,U,X,S,R);
if(V===false){return
}var W=V.continuous?10:H(V.currSlide,V.nextSlide,V,!V.rev);
if(W){W+=(V.delay||0);
if(W<10){W=10
}D("first timeout: "+W);
this.cycleTimeout=setTimeout(function(){N(X,V,0,!V.rev)
},W)
}})
};
function M(R,S,Q){if(R.cycleStop==undefined){R.cycleStop=0
}if(S===undefined||S===null){S={}
}if(S.constructor==String){switch(S){case"stop":R.cycleStop++;
if(R.cycleTimeout){clearTimeout(R.cycleTimeout)
}R.cycleTimeout=0;
E(R).removeData("cycle.opts");
return false;
case"pause":R.cyclePause=1;
return false;
case"resume":R.cyclePause=0;
if(Q===true){S=E(R).data("cycle.opts");
if(!S){A("options not found, can not resume");
return false
}if(R.cycleTimeout){clearTimeout(R.cycleTimeout);
R.cycleTimeout=0
}N(S.elements,S,1,1)
}return false;
case"prev":case"next":var P=E(R).data("cycle.opts");
if(!P){A('options not found, "prev/next" ignored');
return false
}E.fn.cycle[S](P);
return false;
default:S={fx:S}
}return S
}else{if(S.constructor==Number){var T=S;
S=E(R).data("cycle.opts");
if(!S){A("options not found, can not advance slide");
return false
}if(T<0||T>=S.elements.length){A("invalid slide index: "+T);
return false
}S.nextSlide=T;
if(R.cycleTimeout){clearTimeout(R.cycleTimeout);
R.cycleTimeout=0
}if(typeof Q=="string"){S.oneTimeFx=Q
}N(S.elements,S,1,T>=S.currSlide);
return false
}}return S
}function O(Q,P){if(!E.support.opacity&&P.cleartype&&Q.style.filter){try{Q.style.removeAttribute("filter")
}catch(R){}}}function B(d,P,V,R,b){var c=E.extend({},E.fn.cycle.defaults,R||{},E.metadata?d.metadata():E.meta?d.data():{});
if(c.autostop){c.countdown=c.autostopCount||V.length
}var Q=d[0];
d.data("cycle.opts",c);
c.$cont=d;
c.stopCount=Q.cycleStop;
c.elements=V;
c.before=c.before?[c.before]:[];
c.after=c.after?[c.after]:[];
c.after.unshift(function(){c.busy=0
});
if(!E.support.opacity&&c.cleartype){c.after.push(function(){O(this,c)
})
}if(c.continuous){c.after.push(function(){N(V,c,0,!c.rev)
})
}I(c);
if(!E.support.opacity&&c.cleartype&&!c.cleartypeNoBg){K(P)
}if(d.css("position")=="static"){d.css("position","relative")
}if(c.width){d.width(c.width)
}if(c.height&&c.height!="auto"){d.height(c.height)
}if(c.startingSlide){c.startingSlide=parseInt(c.startingSlide)
}if(c.random){c.randomMap=[];
for(var Y=0;
Y<V.length;
Y++){c.randomMap.push(Y)
}c.randomMap.sort(function(e,h){return Math.random()-0.5
});
c.randomIndex=0;
c.startingSlide=c.randomMap[0]
}else{if(c.startingSlide>=V.length){c.startingSlide=0
}}c.currSlide=c.startingSlide=c.startingSlide||0;
var U=c.startingSlide;
P.css({position:"absolute",top:0,left:0}).hide().each(function(h){var e=U?h>=U?V.length-(h-U):U-h:V.length-h;
E(this).css("z-index",e)
});
E(V[U]).css("opacity",1).show();
O(V[U],c);
if(c.fit&&c.width){P.width(c.width)
}if(c.fit&&c.height&&c.height!="auto"){P.height(c.height)
}var k=c.containerResize&&!d.innerHeight();
if(k){var S=0,X=0;
for(var Z=0;
Z<V.length;
Z++){var f=E(V[Z]),l=f[0],W=f.outerWidth(),a=f.outerHeight();
if(!W){W=l.offsetWidth
}if(!a){a=l.offsetHeight
}S=W>S?W:S;
X=a>X?a:X
}if(S>0&&X>0){d.css({width:S+"px",height:X+"px"})
}}if(c.pause){d.hover(function(){this.cyclePause++
},function(){this.cyclePause--
})
}if(G(c)===false){return false
}var m=false;
R.requeueAttempts=R.requeueAttempts||0;
P.each(function(){var h=E(this);
this.cycleH=(c.fit&&c.height)?c.height:h.height();
this.cycleW=(c.fit&&c.width)?c.width:h.width();
if(h.is("img")){var n=(E.browser.msie&&this.cycleW==28&&this.cycleH==30&&!this.complete);
var j=(E.browser.mozilla&&this.cycleW==34&&this.cycleH==19&&!this.complete);
var e=(E.browser.opera&&((this.cycleW==42&&this.cycleH==19)||(this.cycleW==37&&this.cycleH==17))&&!this.complete);
var o=(this.cycleH==0&&this.cycleW==0&&!this.complete);
if(n||j||e||o){if(b.s&&c.requeueOnImageNotLoaded&&++R.requeueAttempts<100){A(R.requeueAttempts," - img slide not loaded, requeuing slideshow: ",this.src,this.cycleW,this.cycleH);
setTimeout(function(){E(b.s,b.c).cycle(R)
},c.requeueTimeout);
m=true;
return false
}else{A("could not determine size of image: "+this.src,this.cycleW,this.cycleH)
}}}return true
});
if(m){return false
}c.cssBefore=c.cssBefore||{};
c.animIn=c.animIn||{};
c.animOut=c.animOut||{};
P.not(":eq("+U+")").css(c.cssBefore);
if(c.cssFirst){E(P[U]).css(c.cssFirst)
}if(c.timeout){c.timeout=parseInt(c.timeout);
if(c.speed.constructor==String){c.speed=E.fx.speeds[c.speed]||parseInt(c.speed)
}if(!c.sync){c.speed=c.speed/2
}while((c.timeout-c.speed)<250){c.timeout+=c.speed
}}if(c.easing){c.easeIn=c.easeOut=c.easing
}if(!c.speedIn){c.speedIn=c.speed
}if(!c.speedOut){c.speedOut=c.speed
}c.slideCount=V.length;
c.currSlide=c.lastSlide=U;
if(c.random){c.nextSlide=c.currSlide;
if(++c.randomIndex==V.length){c.randomIndex=0
}c.nextSlide=c.randomMap[c.randomIndex]
}else{c.nextSlide=c.startingSlide>=(V.length-1)?0:c.startingSlide+1
}if(!c.multiFx){var g=E.fn.cycle.transitions[c.fx];
if(E.isFunction(g)){g(d,P,c)
}else{if(c.fx!="custom"&&!c.multiFx){A("unknown transition: "+c.fx,"; slideshow terminating");
return false
}}}var T=P[U];
if(c.before.length){c.before[0].apply(T,[T,T,c,true])
}if(c.after.length>1){c.after[1].apply(T,[T,T,c,true])
}if(c.next){E(c.next).bind(c.prevNextEvent,function(){return C(c,c.rev?-1:1)
})
}if(c.prev){E(c.prev).bind(c.prevNextEvent,function(){return C(c,c.rev?1:-1)
})
}if(c.pager){J(V,c)
}L(c,V);
return c
}function I(P){P.original={before:[],after:[]};
P.original.cssBefore=E.extend({},P.cssBefore);
P.original.cssAfter=E.extend({},P.cssAfter);
P.original.animIn=E.extend({},P.animIn);
P.original.animOut=E.extend({},P.animOut);
E.each(P.before,function(){P.original.before.push(this)
});
E.each(P.after,function(){P.original.after.push(this)
})
}function G(P){var T,R,Q=E.fn.cycle.transitions;
if(P.fx.indexOf(",")>0){P.multiFx=true;
P.fxs=P.fx.replace(/\s*/g,"").split(",");
for(T=0;
T<P.fxs.length;
T++){var V=P.fxs[T];
R=Q[V];
if(!R||!Q.hasOwnProperty(V)||!E.isFunction(R)){A("discarding unknown transition: ",V);
P.fxs.splice(T,1);
T--
}}if(!P.fxs.length){A("No valid transitions named; slideshow terminating.");
return false
}}else{if(P.fx=="all"){P.multiFx=true;
P.fxs=[];
for(p in Q){R=Q[p];
if(Q.hasOwnProperty(p)&&E.isFunction(R)){P.fxs.push(p)
}}}}if(P.multiFx&&P.randomizeEffects){var S=Math.floor(Math.random()*20)+30;
for(T=0;
T<S;
T++){var U=Math.floor(Math.random()*P.fxs.length);
P.fxs.push(P.fxs.splice(U,1)[0])
}D("randomized fx sequence: ",P.fxs)
}return true
}function L(P,Q){P.addSlide=function(U,T){var S=E(U),R=S[0];
if(!P.autostopCount){P.countdown++
}Q[T?"unshift":"push"](R);
if(P.els){P.els[T?"unshift":"push"](R)
}P.slideCount=Q.length;
S.css("position","absolute");
S[T?"prependTo":"appendTo"](P.$cont);
if(T){P.currSlide++;
P.nextSlide++
}if(!E.support.opacity&&P.cleartype&&!P.cleartypeNoBg){K(S)
}if(P.fit&&P.width){S.width(P.width)
}if(P.fit&&P.height&&P.height!="auto"){$slides.height(P.height)
}R.cycleH=(P.fit&&P.height)?P.height:S.height();
R.cycleW=(P.fit&&P.width)?P.width:S.width();
S.css(P.cssBefore);
if(P.pager){E.fn.cycle.createPagerAnchor(Q.length-1,R,E(P.pager),Q,P)
}if(E.isFunction(P.onAddSlide)){P.onAddSlide(S)
}else{S.hide()
}}
}E.fn.cycle.resetState=function(P,R){R=R||P.fx;
P.before=[];
P.after=[];
P.cssBefore=E.extend({},P.original.cssBefore);
P.cssAfter=E.extend({},P.original.cssAfter);
P.animIn=E.extend({},P.original.animIn);
P.animOut=E.extend({},P.original.animOut);
P.fxFn=null;
E.each(P.original.before,function(){P.before.push(this)
});
E.each(P.original.after,function(){P.after.push(this)
});
var Q=E.fn.cycle.transitions[R];
if(E.isFunction(Q)){Q(P.$cont,E(P.elements),P)
}};
function N(R,Z,Y,U){if(Y&&Z.busy&&Z.manualTrump){E(R).stop(true,true);
Z.busy=false
}if(Z.busy){return
}var W=Z.$cont[0],X=R[Z.currSlide],P=R[Z.nextSlide];
if(W.cycleStop!=Z.stopCount||W.cycleTimeout===0&&!Y){return
}if(!Y&&!W.cyclePause&&((Z.autostop&&(--Z.countdown<=0))||(Z.nowrap&&!Z.random&&Z.nextSlide<Z.currSlide))){if(Z.end){Z.end(Z)
}return
}if(Y||!W.cyclePause){var S=Z.fx;
X.cycleH=X.cycleH||E(X).height();
X.cycleW=X.cycleW||E(X).width();
P.cycleH=P.cycleH||E(P).height();
P.cycleW=P.cycleW||E(P).width();
if(Z.multiFx){if(Z.lastFx==undefined||++Z.lastFx>=Z.fxs.length){Z.lastFx=0
}S=Z.fxs[Z.lastFx];
Z.currFx=S
}if(Z.oneTimeFx){S=Z.oneTimeFx;
Z.oneTimeFx=null
}E.fn.cycle.resetState(Z,S);
if(Z.before.length){E.each(Z.before,function(b,a){if(W.cycleStop!=Z.stopCount){return
}a.apply(P,[X,P,Z,U])
})
}var Q=function(){E.each(Z.after,function(b,a){if(W.cycleStop!=Z.stopCount){return
}a.apply(P,[X,P,Z,U])
})
};
if(Z.nextSlide!=Z.currSlide){Z.busy=1;
if(Z.fxFn){Z.fxFn(X,P,Z,Q,U)
}else{if(E.isFunction(E.fn.cycle[Z.fx])){E.fn.cycle[Z.fx](X,P,Z,Q)
}else{E.fn.cycle.custom(X,P,Z,Q,Y&&Z.fastOnEvent)
}}}Z.lastSlide=Z.currSlide;
if(Z.random){Z.currSlide=Z.nextSlide;
if(++Z.randomIndex==R.length){Z.randomIndex=0
}Z.nextSlide=Z.randomMap[Z.randomIndex]
}else{var T=(Z.nextSlide+1)==R.length;
Z.nextSlide=T?0:Z.nextSlide+1;
Z.currSlide=T?R.length-1:Z.nextSlide-1
}if(Z.pager){E.fn.cycle.updateActivePagerLink(Z.pager,Z.currSlide)
}}var V=0;
if(Z.timeout&&!Z.continuous){V=H(X,P,Z,U)
}else{if(Z.continuous&&W.cyclePause){V=10
}}if(V>0){W.cycleTimeout=setTimeout(function(){N(R,Z,0,!Z.rev)
},V)
}}E.fn.cycle.updateActivePagerLink=function(Q,P){E(Q).find("a").removeClass("activeSlide").filter("a:eq("+P+")").addClass("activeSlide")
};
function H(R,S,P,T){if(P.timeoutFn){var Q=P.timeoutFn(R,S,P,T);
while((Q-P.speed)<250){Q+=P.speed
}D("calculated timeout: "+Q+"; speed: "+P.speed);
if(Q!==false){return Q
}}return P.timeout
}E.fn.cycle.next=function(P){C(P,P.rev?-1:1)
};
E.fn.cycle.prev=function(P){C(P,P.rev?1:-1)
};
function C(P,S){var T=P.elements;
var Q=P.$cont[0],R=Q.cycleTimeout;
if(R){clearTimeout(R);
Q.cycleTimeout=0
}if(P.random&&S<0){P.randomIndex--;
if(--P.randomIndex==-2){P.randomIndex=T.length-2
}else{if(P.randomIndex==-1){P.randomIndex=T.length-1
}}P.nextSlide=P.randomMap[P.randomIndex]
}else{if(P.random){if(++P.randomIndex==T.length){P.randomIndex=0
}P.nextSlide=P.randomMap[P.randomIndex]
}else{P.nextSlide=P.currSlide+S;
if(P.nextSlide<0){if(P.nowrap){return false
}P.nextSlide=T.length-1
}else{if(P.nextSlide>=T.length){if(P.nowrap){return false
}P.nextSlide=0
}}}}if(E.isFunction(P.prevNextClick)){P.prevNextClick(S>0,P.nextSlide,T[P.nextSlide])
}N(T,P,1,S>=0);
return false
}function J(R,P){var Q=E(P.pager);
E.each(R,function(T,S){E.fn.cycle.createPagerAnchor(T,S,Q,R,P)
});
E.fn.cycle.updateActivePagerLink(P.pager,P.startingSlide)
}E.fn.cycle.createPagerAnchor=function(P,T,U,R,W){var S;
if(E.isFunction(W.pagerAnchorBuilder)){S=W.pagerAnchorBuilder(P,T)
}else{S='<a href="#">'+(P+1)+"</a>"
}if(!S){return
}var Q=E(S);
if(Q.parents("body").length===0){var V=[];
if(U.length>1){U.each(function(){var X=Q.clone(true);
E(this).append(X);
V.push(X)
});
Q=E(V)
}else{Q.appendTo(U)
}}Q.bind(W.pagerEvent,function(Y){Y.preventDefault();
W.nextSlide=P;
var Z=W.$cont[0],X=Z.cycleTimeout;
if(X){clearTimeout(X);
Z.cycleTimeout=0
}if(E.isFunction(W.pagerClick)){W.pagerClick(W.nextSlide,R[W.nextSlide])
}N(R,W,1,W.currSlide<P);
return false
});
if(W.pagerEvent!="click"){Q.click(function(){return false
})
}if(W.pauseOnPagerHover){Q.hover(function(){W.$cont[0].cyclePause++
},function(){W.$cont[0].cyclePause--
})
}};
E.fn.cycle.hopsFromLast=function(P,T){var S,R=P.lastSlide,Q=P.currSlide;
if(T){S=Q>R?Q-R:P.slideCount-R
}else{S=Q<R?R-Q:R+P.slideCount-Q
}return S
};
function K(P){function Q(S){S=parseInt(S).toString(16);
return S.length<2?"0"+S:S
}function R(U){for(;
U&&U.nodeName.toLowerCase()!="html";
U=U.parentNode){var S=E.css(U,"background-color");
if(S.indexOf("rgb")>=0){var T=S.match(/\d+/g);
return"#"+Q(T[0])+Q(T[1])+Q(T[2])
}if(S&&S!="transparent"){return S
}}return"#ffffff"
}P.each(function(){E(this).css("background-color",R(this))
})
}E.fn.cycle.commonReset=function(Q,U,P,R,S,T){E(P.elements).not(Q).hide();
P.cssBefore.opacity=1;
P.cssBefore.display="block";
if(R!==false&&U.cycleW>0){P.cssBefore.width=U.cycleW
}if(S!==false&&U.cycleH>0){P.cssBefore.height=U.cycleH
}P.cssAfter=P.cssAfter||{};
P.cssAfter.display="none";
E(Q).css("zIndex",P.slideCount+(T===true?1:0));
E(U).css("zIndex",P.slideCount+(T===true?0:1))
};
E.fn.cycle.custom=function(V,P,U,W,R){var X=E(V),a=E(P);
var Q=U.speedIn,T=U.speedOut,Z=U.easeIn,Y=U.easeOut;
a.css(U.cssBefore);
if(R){if(typeof R=="number"){Q=T=R
}else{Q=T=1
}Z=Y=null
}var S=function(){a.animate(U.animIn,Q,Z,W)
};
X.animate(U.animOut,T,Y,function(){if(U.cssAfter){X.css(U.cssAfter)
}if(!U.sync){S()
}});
if(U.sync){S()
}};
E.fn.cycle.transitions={fade:function(Q,R,P){R.not(":eq("+P.currSlide+")").css("opacity",0);
P.before.push(function(T,U,S){E.fn.cycle.commonReset(T,U,S);
S.cssBefore.opacity=0
});
P.animIn={opacity:1};
P.animOut={opacity:0};
P.cssBefore={top:0,left:0}
}};
E.fn.cycle.ver=function(){return F
};
E.fn.cycle.defaults={fx:"fade",timeout:4000,timeoutFn:null,continuous:0,speed:1000,speedIn:null,speedOut:null,next:null,prev:null,prevNextClick:null,prevNextEvent:"click",pager:null,pagerClick:null,pagerEvent:"click",pagerAnchorBuilder:null,before:null,after:null,end:null,easing:null,easeIn:null,easeOut:null,shuffle:null,animIn:null,animOut:null,cssBefore:null,cssAfter:null,fxFn:null,height:"auto",startingSlide:0,sync:1,random:0,fit:0,containerResize:1,pause:0,pauseOnPagerHover:0,autostop:0,autostopCount:0,delay:0,slideExpr:null,cleartype:!E.support.opacity,cleartypeNoBg:false,nowrap:0,fastOnEvent:0,randomizeEffects:1,rev:0,manualTrump:true,requeueOnImageNotLoaded:true,requeueTimeout:250}
})(jQuery);
/*
 * jQuery Cycle Plugin Transition Definitions
 * This script is a plugin for the jQuery Cycle Plugin
 * Examples and documentation at: http://malsup.com/jquery/cycle/
 * Copyright (c) 2007-2008 M. Alsup
 * Version:	 2.72
 * Dual licensed under the MIT and GPL licenses:
 * http://www.opensource.org/licenses/mit-license.php
 * http://www.gnu.org/licenses/gpl.html
 */
(function(A){A.fn.cycle.transitions.none=function(C,D,B){B.fxFn=function(G,H,E,F){A(H).show();
A(G).hide();
F()
}
};
A.fn.cycle.transitions.scrollUp=function(C,D,B){C.css("overflow","hidden");
B.before.push(A.fn.cycle.commonReset);
var E=C.height();
B.cssBefore={top:E,left:0};
B.cssFirst={top:0};
B.animIn={top:0};
B.animOut={top:-E}
};
A.fn.cycle.transitions.scrollDown=function(C,D,B){C.css("overflow","hidden");
B.before.push(A.fn.cycle.commonReset);
var E=C.height();
B.cssFirst={top:0};
B.cssBefore={top:-E,left:0};
B.animIn={top:0};
B.animOut={top:E}
};
A.fn.cycle.transitions.scrollLeft=function(C,D,B){C.css("overflow","hidden");
B.before.push(A.fn.cycle.commonReset);
var E=C.width();
B.cssFirst={left:0};
B.cssBefore={left:E,top:0};
B.animIn={left:0};
B.animOut={left:0-E}
};
A.fn.cycle.transitions.scrollRight=function(C,D,B){C.css("overflow","hidden");
B.before.push(A.fn.cycle.commonReset);
var E=C.width();
B.cssFirst={left:0};
B.cssBefore={left:-E,top:0};
B.animIn={left:0};
B.animOut={left:E}
};
A.fn.cycle.transitions.scrollHorz=function(C,D,B){C.css("overflow","hidden").width();
B.before.push(function(F,G,E,H){A.fn.cycle.commonReset(F,G,E);
E.cssBefore.left=H?(G.cycleW-1):(1-G.cycleW);
E.animOut.left=H?-F.cycleW:F.cycleW
});
B.cssFirst={left:0};
B.cssBefore={top:0};
B.animIn={left:0};
B.animOut={top:0}
};
A.fn.cycle.transitions.scrollVert=function(C,D,B){C.css("overflow","hidden");
B.before.push(function(F,G,E,H){A.fn.cycle.commonReset(F,G,E);
E.cssBefore.top=H?(1-G.cycleH):(G.cycleH-1);
E.animOut.top=H?F.cycleH:-F.cycleH
});
B.cssFirst={top:0};
B.cssBefore={left:0};
B.animIn={top:0};
B.animOut={left:0}
};
A.fn.cycle.transitions.slideX=function(C,D,B){B.before.push(function(F,G,E){A(E.elements).not(F).hide();
A.fn.cycle.commonReset(F,G,E,false,true);
E.animIn.width=G.cycleW
});
B.cssBefore={left:0,top:0,width:0};
B.animIn={width:"show"};
B.animOut={width:0}
};
A.fn.cycle.transitions.slideY=function(C,D,B){B.before.push(function(F,G,E){A(E.elements).not(F).hide();
A.fn.cycle.commonReset(F,G,E,true,false);
E.animIn.height=G.cycleH
});
B.cssBefore={left:0,top:0,height:0};
B.animIn={height:"show"};
B.animOut={height:0}
};
A.fn.cycle.transitions.shuffle=function(C,D,B){var F,E=C.css("overflow","visible").width();
D.css({left:0,top:0});
B.before.push(function(H,I,G){A.fn.cycle.commonReset(H,I,G,true,true,true)
});
if(!B.speedAdjusted){B.speed=B.speed/2;
B.speedAdjusted=true
}B.random=0;
B.shuffle=B.shuffle||{left:-E,top:15};
B.els=[];
for(F=0;
F<D.length;
F++){B.els.push(D[F])
}for(F=0;
F<B.currSlide;
F++){B.els.push(B.els.shift())
}B.fxFn=function(I,L,G,K,M){var H=M?A(I):A(L);
A(L).css(G.cssBefore);
var J=G.slideCount;
H.animate(G.shuffle,G.speedIn,G.easeIn,function(){var Q=A.fn.cycle.hopsFromLast(G,M);
for(var R=0;
R<Q;
R++){M?G.els.push(G.els.shift()):G.els.unshift(G.els.pop())
}if(M){for(var P=0,N=G.els.length;
P<N;
P++){A(G.els[P]).css("z-index",N-P+J)
}}else{var O=A(I).css("z-index");
H.css("z-index",parseInt(O)+1+J)
}H.animate({left:0,top:0},G.speedOut,G.easeOut,function(){A(M?this:I).hide();
if(K){K()
}})
})
};
B.cssBefore={display:"block",opacity:1,top:0,left:0}
};
A.fn.cycle.transitions.turnUp=function(C,D,B){B.before.push(function(F,G,E){A.fn.cycle.commonReset(F,G,E,true,false);
E.cssBefore.top=G.cycleH;
E.animIn.height=G.cycleH
});
B.cssFirst={top:0};
B.cssBefore={left:0,height:0};
B.animIn={top:0};
B.animOut={height:0}
};
A.fn.cycle.transitions.turnDown=function(C,D,B){B.before.push(function(F,G,E){A.fn.cycle.commonReset(F,G,E,true,false);
E.animIn.height=G.cycleH;
E.animOut.top=F.cycleH
});
B.cssFirst={top:0};
B.cssBefore={left:0,top:0,height:0};
B.animOut={height:0}
};
A.fn.cycle.transitions.turnLeft=function(C,D,B){B.before.push(function(F,G,E){A.fn.cycle.commonReset(F,G,E,false,true);
E.cssBefore.left=G.cycleW;
E.animIn.width=G.cycleW
});
B.cssBefore={top:0,width:0};
B.animIn={left:0};
B.animOut={width:0}
};
A.fn.cycle.transitions.turnRight=function(C,D,B){B.before.push(function(F,G,E){A.fn.cycle.commonReset(F,G,E,false,true);
E.animIn.width=G.cycleW;
E.animOut.left=F.cycleW
});
B.cssBefore={top:0,left:0,width:0};
B.animIn={left:0};
B.animOut={width:0}
};
A.fn.cycle.transitions.zoom=function(C,D,B){B.before.push(function(F,G,E){A.fn.cycle.commonReset(F,G,E,false,false,true);
E.cssBefore.top=G.cycleH/2;
E.cssBefore.left=G.cycleW/2;
E.animIn={top:0,left:0,width:G.cycleW,height:G.cycleH};
E.animOut={width:0,height:0,top:F.cycleH/2,left:F.cycleW/2}
});
B.cssFirst={top:0,left:0};
B.cssBefore={width:0,height:0}
};
A.fn.cycle.transitions.fadeZoom=function(C,D,B){B.before.push(function(F,G,E){A.fn.cycle.commonReset(F,G,E,false,false);
E.cssBefore.left=G.cycleW/2;
E.cssBefore.top=G.cycleH/2;
E.animIn={top:0,left:0,width:G.cycleW,height:G.cycleH}
});
B.cssBefore={width:0,height:0};
B.animOut={opacity:0}
};
A.fn.cycle.transitions.blindX=function(C,D,B){var E=C.css("overflow","hidden").width();
B.before.push(function(G,H,F){A.fn.cycle.commonReset(G,H,F);
F.animIn.width=H.cycleW;
F.animOut.left=G.cycleW
});
B.cssBefore={left:E,top:0};
B.animIn={left:0};
B.animOut={left:E}
};
A.fn.cycle.transitions.blindY=function(C,D,B){var E=C.css("overflow","hidden").height();
B.before.push(function(G,H,F){A.fn.cycle.commonReset(G,H,F);
F.animIn.height=H.cycleH;
F.animOut.top=G.cycleH
});
B.cssBefore={top:E,left:0};
B.animIn={top:0};
B.animOut={top:E}
};
A.fn.cycle.transitions.blindZ=function(C,D,B){var F=C.css("overflow","hidden").height();
var E=C.width();
B.before.push(function(H,I,G){A.fn.cycle.commonReset(H,I,G);
G.animIn.height=I.cycleH;
G.animOut.top=H.cycleH
});
B.cssBefore={top:F,left:E};
B.animIn={top:0,left:0};
B.animOut={top:F,left:E}
};
A.fn.cycle.transitions.growX=function(C,D,B){B.before.push(function(F,G,E){A.fn.cycle.commonReset(F,G,E,false,true);
E.cssBefore.left=this.cycleW/2;
E.animIn={left:0,width:this.cycleW};
E.animOut={left:0}
});
B.cssBefore={width:0,top:0}
};
A.fn.cycle.transitions.growY=function(C,D,B){B.before.push(function(F,G,E){A.fn.cycle.commonReset(F,G,E,true,false);
E.cssBefore.top=this.cycleH/2;
E.animIn={top:0,height:this.cycleH};
E.animOut={top:0}
});
B.cssBefore={height:0,left:0}
};
A.fn.cycle.transitions.curtainX=function(C,D,B){B.before.push(function(F,G,E){A.fn.cycle.commonReset(F,G,E,false,true,true);
E.cssBefore.left=G.cycleW/2;
E.animIn={left:0,width:this.cycleW};
E.animOut={left:F.cycleW/2,width:0}
});
B.cssBefore={top:0,width:0}
};
A.fn.cycle.transitions.curtainY=function(C,D,B){B.before.push(function(F,G,E){A.fn.cycle.commonReset(F,G,E,true,false,true);
E.cssBefore.top=G.cycleH/2;
E.animIn={top:0,height:G.cycleH};
E.animOut={top:F.cycleH/2,height:0}
});
B.cssBefore={left:0,height:0}
};
A.fn.cycle.transitions.cover=function(C,D,B){var G=B.direction||"left";
var E=C.css("overflow","hidden").width();
var F=C.height();
B.before.push(function(I,J,H){A.fn.cycle.commonReset(I,J,H);
if(G=="right"){H.cssBefore.left=-E
}else{if(G=="up"){H.cssBefore.top=F
}else{if(G=="down"){H.cssBefore.top=-F
}else{H.cssBefore.left=E
}}}});
B.animIn={left:0,top:0};
B.animOut={opacity:1};
B.cssBefore={top:0,left:0}
};
A.fn.cycle.transitions.uncover=function(C,D,B){var G=B.direction||"left";
var E=C.css("overflow","hidden").width();
var F=C.height();
B.before.push(function(I,J,H){A.fn.cycle.commonReset(I,J,H,true,true,true);
if(G=="right"){H.animOut.left=E
}else{if(G=="up"){H.animOut.top=-F
}else{if(G=="down"){H.animOut.top=F
}else{H.animOut.left=-E
}}}});
B.animIn={left:0,top:0};
B.animOut={opacity:1};
B.cssBefore={top:0,left:0}
};
A.fn.cycle.transitions.toss=function(C,D,B){var E=C.css("overflow","visible").width();
var F=C.height();
B.before.push(function(H,I,G){A.fn.cycle.commonReset(H,I,G,true,true,true);
if(!G.animOut.left&&!G.animOut.top){G.animOut={left:E*2,top:-F/2,opacity:0}
}else{G.animOut.opacity=0
}});
B.cssBefore={left:0,top:0};
B.animIn={left:0}
};
A.fn.cycle.transitions.wipe=function(B,E,H){var M=B.css("overflow","hidden").width();
var N=B.height();
H.cssBefore=H.cssBefore||{};
var L;
if(H.clip){if(/l2r/.test(H.clip)){L="rect(0px 0px "+N+"px 0px)"
}else{if(/r2l/.test(H.clip)){L="rect(0px "+M+"px "+N+"px "+M+"px)"
}else{if(/t2b/.test(H.clip)){L="rect(0px "+M+"px 0px 0px)"
}else{if(/b2t/.test(H.clip)){L="rect("+N+"px "+M+"px "+N+"px 0px)"
}else{if(/zoom/.test(H.clip)){var C=parseInt(N/2);
var D=parseInt(M/2);
L="rect("+C+"px "+D+"px "+C+"px "+D+"px)"
}}}}}}H.cssBefore.clip=H.cssBefore.clip||L||"rect(0px 0px 0px 0px)";
var G=H.cssBefore.clip.match(/(\d+)/g);
var K=parseInt(G[0]),J=parseInt(G[1]),F=parseInt(G[2]),I=parseInt(G[3]);
H.before.push(function(R,O,V){if(R==O){return
}var S=A(R),P=A(O);
A.fn.cycle.commonReset(R,O,V,true,true,false);
V.cssAfter.display="block";
var T=1,U=parseInt((V.speedIn/13))-1;
(function Q(){var W=K?K-parseInt(T*(K/U)):0;
var Y=I?I-parseInt(T*(I/U)):0;
var Z=F<N?F+parseInt(T*((N-F)/U||1)):N;
var X=J<M?J+parseInt(T*((M-J)/U||1)):M;
P.css({clip:"rect("+W+"px "+X+"px "+Z+"px "+Y+"px)"});
(T++<=U)?setTimeout(Q,13):S.css("display","none")
})()
});
H.cssBefore={display:"block",opacity:1,top:0,left:0};
H.animIn={left:0};
H.animOut={left:0}
}
})(jQuery);
(function(A){A.fn.hoverIntent=function(I,J){var C={sensitivity:7,interval:100,timeout:0};
C=A.extend(C,J?{over:I,out:J}:I);
var B,E,D,F;
var K=function(M){B=M.pageX;
E=M.pageY
};
var G=function(M,N){N.hoverIntent_t=clearTimeout(N.hoverIntent_t);
if((Math.abs(D-B)+Math.abs(F-E))<C.sensitivity){A(N).unbind("mousemove",K);
N.hoverIntent_s=1;
return C.over.apply(N,[M])
}else{D=B;
F=E;
N.hoverIntent_t=setTimeout(function(){G(M,N)
},C.interval)
}};
var H=function(M,N){N.hoverIntent_t=clearTimeout(N.hoverIntent_t);
N.hoverIntent_s=0;
return C.out.apply(N,[M])
};
var L=function(O){var P=(O.type=="mouseover"?O.fromElement:O.toElement)||O.relatedTarget;
while(P&&P!=this){try{P=P.parentNode
}catch(O){P=this
}}if(P==this){return false
}var M=jQuery.extend({},O);
var N=this;
if(N.hoverIntent_t){N.hoverIntent_t=clearTimeout(N.hoverIntent_t)
}if(O.type=="mouseover"){D=M.pageX;
F=M.pageY;
A(N).bind("mousemove",K);
if(N.hoverIntent_s!=1){N.hoverIntent_t=setTimeout(function(){G(M,N)
},C.interval)
}}else{A(N).unbind("mousemove",K);
if(N.hoverIntent_s==1){N.hoverIntent_t=setTimeout(function(){H(M,N)
},C.timeout)
}}};
return this.mouseover(L).mouseout(L)
}
})(jQuery);
(function(D){D.facebox=function(M,L){D.facebox.loading();
if(M.ajax){G(M.ajax)
}else{if(M.image){J(M.image)
}else{if(M.div){E(M.div)
}else{if(D.isFunction(M)){M.call(D)
}else{D.facebox.reveal(M,L)
}}}}};
D.extend(D.facebox,{settings:{opacity:0,overlay:true,loadingImage:"http://www.de3bedste.dk/gfx/facebox/loading.gif",closeImage:"http://www.de3bedste.dk/gfx/facebox/closelabel.gif",imageTypes:["png","jpg","jpeg","gif"],faceboxHtml:'    <div id="facebox" style="display:none;">       <div class="popup">         <table>           <tbody>             <tr>               <td class="tl"/><td class="b"/><td class="tr"/>             </tr>             <tr>               <td class="b"/>               <td class="body">                 <div class="content">                 </div>                 <div class="footer">                   <a href="#" class="close">                     <img src="/gfx/facebox/closelabel.gif" title="close" class="close_image" />                   </a>                 </div>               </td>               <td class="b"/>             </tr>             <tr>               <td class="bl"/><td class="b"/><td class="br"/>             </tr>           </tbody>         </table>       </div>     </div>'},loading:function(){C();
if(D("#facebox .loading").length==1){return true
}H();
D("#facebox .content").empty();
D("#facebox .body").children().hide().end().append('<div class="loading"></div>');
D("#facebox").css({top:A()[1]+(K()/10)+100,left:385.5}).show();
D(document).bind("keydown.facebox",function(L){if(L.keyCode==27){D.facebox.close()
}return true
});
D(document).trigger("loading.facebox")
},reveal:function(M,L){D(document).trigger("beforeReveal.facebox");
if(L){D("#facebox .content").addClass(L)
}D("#facebox .content").append(M);
D("#facebox .loading").remove();
D("#facebox .body").children().fadeIn("normal");
D("#facebox").css("left",D(window).width()/2-(D("#facebox table").width()/2));
D(document).trigger("reveal.facebox").trigger("afterReveal.facebox")
},close:function(){D(document).trigger("close.facebox");
return false
}});
D.fn.facebox=function(L){C(L);
function M(){D.facebox.loading(true);
var N=this.rel.match(/facebox\[?\.(\w+)\]?/);
if(N){N=N[1]
}E(this.href,N);
return false
}return this.click(M)
};
function C(M){if(D.facebox.settings.inited){return true
}else{D.facebox.settings.inited=true
}D(document).trigger("init.facebox");
B();
var N=D.facebox.settings.imageTypes.join("|");
D.facebox.settings.imageTypesRegexp=new RegExp("."+N+"$","i");
if(M){D.extend(D.facebox.settings,M)
}D("#aspnetForm").append(D.facebox.settings.faceboxHtml);
var L=[new Image(),new Image()];
L[0].src=D.facebox.settings.closeImage;
L[1].src=D.facebox.settings.loadingImage;
D("#facebox").find(".b:first, .bl, .br, .tl, .tr").each(function(){L.push(new Image());
L.slice(-1).src=D(this).css("background-image").replace(/url\((.+)\)/,"$1")
});
D("#facebox .close").click(D.facebox.close);
D("#facebox .close_image").attr("src",D.facebox.settings.closeImage)
}function A(){var L,M;
if(self.pageYOffset){M=self.pageYOffset;
L=self.pageXOffset
}else{if(document.documentElement&&document.documentElement.scrollTop){M=document.documentElement.scrollTop;
L=document.documentElement.scrollLeft
}else{if(document.body){M=document.body.scrollTop;
L=document.body.scrollLeft
}}}return new Array(L,M)
}function K(){var L;
if(self.innerHeight){L=self.innerHeight
}else{if(document.documentElement&&document.documentElement.clientHeight){L=document.documentElement.clientHeight
}else{if(document.body){L=document.body.clientHeight
}}}return L
}function B(){var L=D.facebox.settings;
L.loadingImage=L.loading_image||L.loadingImage;
L.closeImage=L.close_image||L.closeImage;
L.imageTypes=L.image_types||L.imageTypes;
L.faceboxHtml=L.facebox_html||L.faceboxHtml
}function E(N,M){if(N.match(/#/)){var L=window.location.href.split("#")[0];
var O=N.replace(L,"");
D.facebox.reveal(D(O).clone().show(),M);
D(O).remove();
D("#facebox div.footer").hide()
}else{if(N.match(D.facebox.settings.imageTypesRegexp)||(N.indexOf("fetchfile.aspx")>0&&(N.indexOf("?id=")>0||N.indexOf("&id=")>0))){J(N,M)
}else{G(N,M)
}}}function J(M,L){var N=new Image();
N.onload=function(){D.facebox.reveal('<div class="image"><img src="'+N.src+'" /></div>',L)
};
N.src=M;
D("#facebox div.footer").show()
}function G(M,L){D.get(M,function(N){D.facebox.reveal(N,L)
})
}function I(){return D.facebox.settings.overlay==false||D.facebox.settings.opacity===null
}function H(){if(I()){return
}if(D("facebox_overlay").length==0){D("body").append('<div id="facebox_overlay" class="facebox_hide"></div>')
}D("#facebox_overlay").hide().addClass("facebox_overlayBG").css("opacity",D.facebox.settings.opacity).one("click",function(){D(document).trigger("close.facebox")
}).fadeIn(200);
return false
}function F(){if(I()){return
}D("#facebox_overlay").unbind();
D("#facebox_overlay").fadeOut(200,function(){D("#facebox_overlay").removeClass("facebox_overlayBG");
D("#facebox_overlay").addClass("facebox_hide");
D("#facebox_overlay").remove()
});
return false
}D(document).bind("close.facebox",function(){D(document).unbind("keydown.facebox");
D("#facebox").fadeOut(function(){var L=null;
if(D("#aspnetForm").length>0){L=D("#aspnetForm")
}else{L=D("body")
}var M=D("#facebox .content").html();
L.prepend(D(M).hide());
D("#facebox .content").empty();
D("#facebox .content").removeClass().addClass("content");
F();
D("#facebox .loading").remove()
})
})
})(jQuery);
jQuery(document).ready(function(){var G=jQuery("div.TopLinks div.BasketSmall");
var D=jQuery("div.TopLinks div.BasketLong");
var F=jQuery("div.TopLinks div.LoginLong");
var A=jQuery("div.TopLinks div.LoginSmall");
A.hoverIntent(function(){if(F.is(":visible")==false){B();
H();
jQuery(this).css("display","none");
var I=A.height()-F.height();
F.css("top",I+"px");
F.css("display","block");
F.animate({top:"0px"},"slow",function(){jQuery("div.TopLinks div.LoginLong label.overlabel").overlabel()
})
}},function(){});
jQuery("#ChatSmall").hoverIntent(function(){if(jQuery("#ChatLong").is(":visible")==false){B();
E();
var I=jQuery("#ChatSmall").height()-jQuery("#ChatLong").height();
jQuery(this).css("display","none");
jQuery("#ChatLong").css("top",I+"px");
jQuery("#ChatLong").css("display","block");
jQuery("#ChatLong").animate({top:"0px"},"slow")
}},function(){});
G.hoverIntent(function(){if(D.is(":visible")==false){E();
H();
var I=G.height()-D.height();
jQuery(this).css("display","none");
D.css("top",I+"px");
D.css("display","block");
D.animate({top:"0px"},"slow")
}},function(){});
function E(){var I=A.height()-F.height();
F.animate({top:I+"px"},"slow",function(){F.css("display","none");
A.css("display","block")
})
}function H(){var I=jQuery("#ChatSmall").height()-jQuery("#ChatLong").height();
jQuery("#ChatLong").animate({top:I+"px"},"slow",function(){jQuery("#ChatLong").css("display","none");
jQuery("#ChatSmall").css("display","block")
})
}function B(){var I=G.height()-D.height();
D.animate({top:I+"px"},"slow",function(){D.css("display","none");
G.css("display","block")
})
}jQuery("body").click(function(){if(F.is(":visible")){F.css("display","none");
A.css("display","block")
}if(jQuery("#ChatLong").is(":visible")){jQuery("#ChatLong").css("display","none");
jQuery("#ChatSmall").css("display","block")
}if(D.is(":visible")){D.css("display","none");
G.css("display","block")
}if(jQuery("#Menu1, #Menu2,, #Menu3, #Menu4, #Menu5").is(":visible")){jQuery("#Menu1, #Menu2, #Menu3, #Menu4, #Menu5").hide()
}});
F.click(function(I){I.stopPropagation()
});
jQuery("#ChatLong").click(function(I){I.stopPropagation()
});
D.click(function(I){I.stopPropagation()
});
jQuery("a").click(function(I){I.stopPropagation()
});
jQuery("#Menu1, #Menu2, #Menu3, #Menu4, #Menu5").click(function(I){I.stopPropagation()
});
jQuery("div.Content label.overlabel").overlabel();
jQuery("a[rel*=facebox]").facebox();
var C=true;
if(jQuery.browser.msie&&jQuery.browser.version<7){C=false
}if(C){jQuery(".ProductBlock").parent().hover(function(){jQuery(this).addClass("Hover")
},function(){jQuery(this).removeClass("Hover")
})
}});
function createCookie(A,E,D){if(D){var B=new Date();
B.setTime(B.getTime()+(D*24*60*60*1000));
var C="; expires="+B.toGMTString()
}else{var C=""
}document.cookie=A+"="+E+C+"; path=/"
}function markAsGreen(B){objLis=jQuery("ul.ProductList li.P"+B);
objLis.removeClass();
objLis.addClass("InCart P"+B);
if(jQuery.browser.msie&&jQuery.browser.version<7){var A=objLis.find("div.ProductBlock div.PriceInfo span");
A.css("display","inline-block")
}}function removeInCartClass(E){var F=jQuery("ul.ProductList li.P"+E);
F.removeClass("InCart");
if(jQuery.browser.msie&&jQuery.browser.version<7){var B=F.find("div.ProductBlock div.PriceInfo span");
B.css("display","inline-block")
}for(intI=0;
intI<F.length;
intI++){var D=jQuery(F[intI]);
if(D.parent().hasClass("GalleryViewLarge")){var A=D.parent().find("li");
for(intJ=0;
intJ<A.length;
intJ++){var C=jQuery(A[intJ]);
if(C.hasClass("P"+E)){D.addClass("Color"+(intJ+1));
break
}}}}}function showSoldOut(A){var B=$("#LoadMessage");
B.floating("",300,parseInt(($(window).width()/2)-(B.width/2))).fadeIn("slow",function(){setTimeout(function(){B.hide("slow")
},5000)
})
}function ReloadOverLabel(){jQuery("label.overlabel").overlabel()
}function FixIE6Problems(){jQuery(function(){if(jQuery.browser.msie&&jQuery.browser.version<7){FixIE6GalleryProblems()
}})
}function FixIE6GalleryProblems(){var C=jQuery("ul.ProductList li div.ProductBlock");
var B=C.find("div.Compare");
var A=C.find("div.PriceInfo");
B.hide();
A.hide();
setTimeout(function(){B.show();
A.show();
A.css("display","inline-block")
},1)
}jQuery(function(){if(jQuery.browser.msie&&jQuery.browser.version>5&&jQuery.browser.version<7){jQuery("div.DropDownContainer div.Menu1").bgiframe();
jQuery("div.DropDownContainer div.Menu2").bgiframe();
jQuery("div.DropDownContainer div.Menu3").bgiframe();
jQuery("div.DropDownContainer div.Menu4").bgiframe();
jQuery("div.DropDownContainer div.Menu5").bgiframe();
jQuery("div.BasketLong").bgiframe();
jQuery("ul.SearchView").bgiframe();
jQuery("#CustomerPickup").bgiframe();
jQuery("#DeliveryWithInstall").bgiframe();
jQuery("#DeliveryWithOutInstall").bgiframe();
jQuery("#RequestOffer").bgiframe()
}});
FixIE6Problems();
var objLinks;
var objMenuTimer;
var booMenuOpen=false;
jQuery(document).ready(function(){objLinks=jQuery("ul.MainMenu li a");
AttachLinkEvent(1);
AttachMenuEvent(1);
AttachLinkEvent(2);
AttachMenuEvent(2);
AttachLinkEvent(3);
AttachMenuEvent(3);
AttachLinkEvent(4);
AttachMenuEvent(4);
AttachLinkEvent(5);
AttachMenuEvent(5)
});
function AttachLinkEvent(A){jQuery("#link"+A).hoverIntent({sensitivity:7,interval:50,timeout:0,over:function(){OpenMenu(A)
},out:function(){CloseMenuDelayed(A)
}})
}function AttachMenuEvent(A){jQuery("#Menu"+A).hover(function(){clearTimeout(objMenuTimer);
MarkLink(A)
},function(){CloseMenu(A)
})
}function MarkLink(A){jQuery("#link"+A).addClass("Selected")
}function UnMarkAllLinks(A){jQuery(objLinks).removeClass("Selected");
jQuery("#Menu1,#Menu2,#Menu3,#Menu4,#Menu5").hide()
}function OpenMenu(A){booMenuOpen=true;
clearTimeout(objMenuTimer);
UnMarkAllLinks(A);
if(jQuery.support.opacity){jQuery("#Menu"+A).fadeIn(150).removeClass("NotSelected")
}else{jQuery("#Menu"+A).show().removeClass("NotSelected")
}MarkLink(A)
}function CloseMenuDelayed(A){objMenuTimer=setTimeout(function(){CloseMenu(A)
},300)
}function CloseMenu(A){booMenuOpen=false;
if(jQuery.support.opacity){jQuery("#Menu"+A).fadeOut(150,function(){if(!booMenuOpen){UnMarkAllLinks(A)
}})
}else{jQuery("#Menu"+A).hide();
if(!booMenuOpen){UnMarkAllLinks(A)
}}}function OpenChatSession(C){jQuery(C).toggleClass("Extend");
jQuery(C).toggleClass("Close");
var B=jQuery(C).parent().parent();
var A=B.next().find("div");
if(A.is(":hidden")){A.slideDown()
}else{A.slideUp()
}}function OpenOrders(C){jQuery(C).toggleClass("Extend");
jQuery(C).toggleClass("Close");
var B=jQuery(C).parent().parent();
var D=B.next();
var A=D.find("div.AllOrderInformation");
if(A.is(":hidden")){D.show();
A.slideDown()
}else{A.slideUp(function(){D.hide()
})
}}top.AltBoxTimer=null;
top.AltBoxTimerWait=null;
top.AltBoxTimerIsOtherVisible=false;
jQuery(document).ready(function(){jQuery(".Help span").hide();
var A=jQuery("span.Help a");
if(A.length>0){var B=jQuery('<span id="FormHelpMsg" class="Alt"></span>');
B.hide();
for(i=0;
i<A.length;
i++){if(jQuery(A[i]).parent().find("span").length>0){jQuery(A[i]).mouseover(function(){ShowMessage(this)
});
jQuery(A[i]).mouseout(function(){HideMessage(B)
})
}}B.mouseover(function(){clearTimeout(top.AltBoxTimer);
clearTimeout(top.AltBoxTimerWait)
});
B.mouseout(function(){HideMessage(B)
});
B.prependTo("body")
}});
function ShowMessage(C){if(!top.AltBoxTimerIsOtherVisible){clearTimeout(top.AltBoxTimer);
clearTimeout(top.AltBoxTimerWait);
top.AltBoxTimerIsOtherVisible=true;
var C=jQuery(C);
var A=C.parent().find("span");
var B=jQuery("#FormHelpMsg");
B.html(A.html());
var D=((C.offset().left+C.width())-B.width()-45);
if(D<10){D=10
}B.css({"width":B.width(),"left":D,"top":C.offset().top+14});
if(!jQuery.browser.msie){B.fadeIn("fast")
}else{B.show()
}}else{top.AltBoxTimerWait=setTimeout(function(){ShowMessage(C)
},100)
}}function HideMessage(A){clearTimeout(top.AltBoxTimer);
clearTimeout(top.AltBoxTimerWait);
top.AltBoxTimer=setTimeout(function(){if(!jQuery.browser.msie){A.fadeOut("fast",function(){top.AltBoxTimerIsOtherVisible=false
})
}else{A.hide();
top.AltBoxTimerIsOtherVisible=false
}},500)
}jQuery(document).ready(function(){startFaqCycle()
});
function startFaqCycle(){objFaqDiv=jQuery("#TheQuestions");
if(objFaqDiv.length>0){jQuery.fn.cycle.updateActivePagerLink=function(B,A){jQuery(B).find("a").removeClass("Selected").filter("a:eq("+A+")").addClass("Selected")
};
jQuery("#TheQuestions").cycle({cleartype:false,fx:"blindX",speed:"slow",timeout:10000,pager:"#TheQuestionPager",pagerAnchorBuilder:function(B,A){return'<a href="#" class="Questions"></a>'
}})
}}jQuery(document).ready(function(){startSplashCycle()
});
function startSplashCycle(){objSplashDiv=jQuery("#Splashes");
if(objSplashDiv.length>0){jQuery.fn.cycle.updateActivePagerLink=function(B,A){jQuery(B).find("a").removeClass("Selected").filter("a:eq("+A+")").addClass("Selected")
};
jQuery("#Splashes").cycle({cleartype:false,fx:"blindX",speed:"slow",timeout:5000,pause:1,pager:"#TheSplashPager",pagerAnchorBuilder:function(B,A){return'<a href="#" class="No'+(B+1)+'"></a>'
}})
}}strSearchPhrasePrevious="";
strSearchResultSelector="#QuickSearchContainer";
strSearchResultSelectorLiItems="ul.ProductList li";
strSearchFieldSelector="body div.TopLinks div.QuickSearch input[type=text]";
timSearchPhrasePreviousIsSetting=null;
timSearchInProgress=null;
timSearchHideInProgress=null;
booSearchNewCharacterTyped=false;
jQuery(document).ready(function(){jQuery(strSearchFieldSelector).keydown(function(){booSearchNewCharacterTyped=true
});
jQuery(strSearchFieldSelector).keyup(function(A){OnSearchTyping(A)
});
jQuery(document).click(function(A){HideSearchHandler(A)
})
});
function urlescape(A){stripRegex=new RegExp("[^ a-z���A-Z���0-9-]","g");
A=A.replace(stripRegex,"");
A=encodeURI(A);
return A
}function DoSearch(A){var B=GetResultSetIdentifier(jQuery(strSearchResultSelector).find(strSearchResultSelectorLiItems));
jQuery.ajax({type:"GET",url:mStrRoot+"Ajax/GetQuickSearchResult.aspx",cache:false,data:"&query="+urlescape(A),dataType:"html",success:function(D){if(B!=GetResultSetIdentifier(jQuery(D).find(strSearchResultSelectorLiItems))){jQuery(strSearchResultSelector).html(D);
var C=jQuery(strSearchResultSelector).find(strSearchResultSelectorLiItems).find("img:last");
if(C.length>0){C.load(function(){booSearchNewCharacterTyped=false;
DoSearchPost(C)
})
}else{booSearchNewCharacterTyped=false;
DoSearchPost(C)
}}},error:function(D,C,E){}})
}function DoSearchPost(A){if(!booSearchNewCharacterTyped){A.unbind();
FixDOMRenderErrors();
ShowSearch()
}}function FixDOMRenderErrors(){}function GetResultSetIdentifier(A){var B=new String("");
for(i=0;
i<A.length;
i++){B+=jQuery(A[i]).attr("class").split()[0]
}return B
}function ShowSearch(){jQuery(strSearchResultSelector+" .ProductBlock").parent().hover(function(){jQuery(this).addClass("Hover")
},function(){jQuery(this).removeClass("Hover")
});
jQuery(strSearchResultSelector).show()
}function HideSearchHandler(B){var C;
if(!B){B=window.event
}if(B.target){C=B.target
}else{if(B.srcElement){C=B.srcElement
}}if(C.nodeType==3){C=C.parentNode
}var A=jQuery(C).parents();
if(A.filter(strSearchResultSelector).length==0&&A.filter("#Search").length==0){HideSearch()
}}function HideSearch(){var A=jQuery(strSearchResultSelector);
if(!jQuery.browser.msie){A.fadeOut("normal",function(){A.html("")
})
}else{A.hide();
A.html("")
}}function OnSearchTyping(C){var B=jQuery(strSearchFieldSelector);
var A=(C)?C.keyCode:window.event.keyCode;
if(A!=40&&A!=38&&A!=39&&A!=37){if(B.val()&&B.val().length>0){if(timSearchPhrasePreviousIsSetting){clearTimeout(timSearchPhrasePreviousIsSetting)
}if(timSearchHideInProgress){clearTimeout(timSearchHideInProgress)
}if(timSearchInProgress){clearTimeout(timSearchInProgress)
}if(jQuery.trim(B.val())!=jQuery.trim(strSearchPhrasePrevious)){timSearchInProgress=setTimeout("DoSearch('"+B.val()+"')",450);
timSearchPhrasePreviousIsSetting=setTimeout("strSearchPhrasePrevious = '"+B.val()+"';",450)
}}else{if(B.val().length==0){if(timSearchPhrasePreviousIsSetting){clearTimeout(timSearchPhrasePreviousIsSetting)
}if(timSearchHideInProgress){clearTimeout(timSearchHideInProgress)
}if(timSearchInProgress){clearTimeout(timSearchInProgress)
}strSearchPhrasePrevious="";
HideSearch()
}}}}function floatingBox(C,D,E,B,A){this.targetX=A;
this.targetY=B;
this.interval=0;
this.menu=C;
this.index=E;
this.options=D;
this.hasInner=typeof(window.innerWidth)=="number";
this.hasElement=document.documentElement&&document.documentElement.clientWidth;
this.move=function(){jQuery(this.menu).css("left",this.nextX+"px").css("top",this.nextY+"px")
};
this.computeShifts=function(){var F=document.documentElement;
this.shiftX=this.hasInner?pageXOffset:this.hasElement?F.scrollLeft:document.body.scrollLeft;
if(this.targetX<0){if(this.hasElement&&this.hasInner){this.shiftX+=F.clientWidth>window.innerWidth?window.innerWidth:F.clientWidth
}else{this.shiftX+=this.hasElement?F.clientWidth:this.hasInner?window.innerWidth:document.body.clientWidth
}}this.shiftY=this.hasInner?pageYOffset:this.hasElement?F.scrollTop:document.body.scrollTop;
if(this.targetY<0){if(this.hasElement&&this.hasInner){this.shiftY+=F.clientHeight>window.innerHeight?window.innerHeight:F.clientHeight
}else{this.shiftY+=this.hasElement?document.documentElement.clientHeight:this.hasInner?window.innerHeight:document.body.clientHeight
}}};
this.doFloat=function(){var F,G;
this.computeShifts();
F=(this.shiftX+this.targetX-this.nextX)*0.07;
if(Math.abs(F)<0.5){F=this.shiftX+this.targetX-this.nextX
}G=(this.shiftY+this.targetY-this.nextY)*0.07;
if(Math.abs(G)<0.5){G=this.shiftY+this.targetY-this.nextY
}if(Math.abs(F)>0||Math.abs(G)>0){this.nextX+=F;
this.nextY+=G;
this.move()
}setTimeout("funcFloating["+this.index+"].func()",this.interval)
};
this.initSecondary=function(){this.computeShifts();
this.nextX=this.shiftX+this.targetX;
this.nextY=this.shiftY+this.targetY;
this.move()
};
this.position=function(G,F){if(typeof(G)=="number"){this.targetX=G
}else{if(typeof(G)=="string"){switch(G){case"left":this.targetX=5;
break;
case"right":this.targetX=-((jQuery(this.menu).outerWidth())+5);
break
}}}if(typeof(F)=="number"){this.targetY=F
}else{if(typeof(F)=="string"){switch(F){case"top":this.targetY=5;
break;
case"bottom":this.targetY=-((jQuery(this.menu).outerHeight()+5));
break
}}}};
this.init=function(){jQuery(this.menu).css("position","absolute");
if(typeof(this.options)=="object"){for(var F in this.options){switch(F){case"targetX":case"targetY":if(typeof(this.options[F])=="number"){this[F]=this.options[F]
}else{if(typeof(this.options[F])=="string"){switch(this.options[F]){case"top":this.targetY=5;
break;
case"bottom":this.targetY=-((jQuery(this.menu).outerHeight()+5));
break;
case"left":this.targetX=5;
break;
case"right":this.targetX=-((jQuery(this.menu).outerWidth())+5);
break
}}}break;
default:this[F]=this.options[F]
}}}this.initSecondary();
this.doFloat()
}
}var funcFloating={};
jQuery.fn.floating=function(C,B,A){return jQuery(this).each(function(E){var D=0;
for(var F in funcFloating){D=parseInt(F)
}funcFloating[D+1]={};
funcFloating[D+1].box=this;
funcFloating[D+1].obj=new floatingBox(this,C,(D+1),B,A);
funcFloating[D+1].func=function(){funcFloating[D+1].obj.doFloat()
};
if(document.layers){funcFloating[D+1].obj.init()
}else{funcFloating[D+1].obj.init();
funcFloating[D+1].obj.initSecondary()
}})
};
jQuery.fn.floatingPosition=function(B,A){return jQuery(this).each(function(C){for(var D in funcFloating){if(funcFloating[D].box==this){funcFloating[D].obj.position(B,A)
}}})
};
(function(A){A.fn.bgIframe=A.fn.bgiframe=function(B){if(A.browser.msie&&/6.0/.test(navigator.userAgent)){B=A.extend({top:"auto",left:"auto",width:"auto",height:"auto",opacity:true,src:"javascript:false;"},B||{});
var D=function(E){return E&&E.constructor==Number?E+"px":E
},C='<iframe class="bgiframe"frameborder="0"tabindex="-1"src="'+B.src+'"style="display:block;position:absolute;z-index:-1;'+(B.opacity!==false?"filter:Alpha(Opacity='0');":"")+"top:"+(B.top=="auto"?"expression(((parseInt(this.parentNode.currentStyle.borderTopWidth)||0)*-1)+'px')":D(B.top))+";left:"+(B.left=="auto"?"expression(((parseInt(this.parentNode.currentStyle.borderLeftWidth)||0)*-1)+'px')":D(B.left))+";width:"+(B.width=="auto"?"expression(this.parentNode.offsetWidth+'px')":D(B.width))+";height:"+(B.height=="auto"?"expression(this.parentNode.offsetHeight+'px')":D(B.height))+';"/>';
return this.each(function(){if(A("> iframe.bgiframe",this).length==0){this.insertBefore(document.createElement(C),this.firstChild)
}})
}return this
}
})(jQuery);