(function(){var U=this,Z,F=U.jQuery,R=U.$,S=U.jQuery=U.$=function(b,a){return new S.fn.init(b,a)},L=/^[^<]*(<(.|\s)+>)[^>]*$|^#([\w-]+)$/,aa=/^.[^:#\[\.,]*$/;S.fn=S.prototype={init:function(e,b){e=e||document;if(e.nodeType){this[0]=e;this.length=1;this.context=e;return this}if(typeof e==="string"){var c=L.exec(e);if(c&&(c[1]||!b)){if(c[1]){e=S.clean([c[1]],b)}else{var a=document.getElementById(c[3]);if(a){if(a.id!=c[3]){return S().find(e)}var d=S(a);d.context=document;d.selector=e;return d}e=[]}}else{return S(b).find(e)}}else{if(S.isFunction(e)){return S(document).ready(e)}}if(e.selector&&e.context){this.selector=e.selector;this.context=e.context}return this.setArray(S.makeArray(e))},selector:"",jquery:"1.3",size:function(){return this.length},get:function(a){return a===Z?S.makeArray(this):this[a]},pushStack:function(c,a,d){var b=S(c);b.prevObject=this;b.context=this.context;if(a==="find"){b.selector=this.selector+(this.selector?" ":"")+d}else{if(a){b.selector=this.selector+"."+a+"("+d+")"}}return b},setArray:function(a){this.length=0;Array.prototype.push.apply(this,a);return this},each:function(a,b){return S.each(this,a,b)},index:function(a){return S.inArray(a&&a.jquery?a[0]:a,this)},attr:function(c,a,b){var d=c;if(typeof c==="string"){if(a===Z){return this[0]&&S[b||"attr"](this[0],c)}else{d={};d[c]=a}}return this.each(function(e){for(c in d){S.attr(b?this.style:this,c,S.prop(this,d[c],b,e,c))}})},css:function(b,a){if((b=="width"||b=="height")&&parseFloat(a)<0){a=Z}return this.attr(b,a,"curCSS")},text:function(a){if(typeof a!=="object"&&a!=null){return this.empty().append((this[0]&&this[0].ownerDocument||document).createTextNode(a))}var b="";S.each(a||this,function(){S.each(this.childNodes,function(){if(this.nodeType!=8){b+=this.nodeType!=1?this.nodeValue:S.fn.text([this])}})});return b},wrapAll:function(b){if(this[0]){var a=S(b,this[0].ownerDocument).clone();if(this[0].parentNode){a.insertBefore(this[0])}a.map(function(){var c=this;while(c.firstChild){c=c.firstChild}return c}).append(this)}return this},wrapInner:function(a){return this.each(function(){S(this).contents().wrapAll(a)})},wrap:function(a){return this.each(function(){S(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||S([])},push:[].push,find:function(c){if(this.length===1&&!/,/.test(c)){var a=this.pushStack([],"find",c);a.length=0;S.find(c,this[0],a);return a}else{var b=S.map(this,function(d){return S.find(c,d)});return this.pushStack(/[^+>] [^+>]/.test(c)?S.unique(b):b,"find",c)}},clone:function(b){var c=this.map(function(){if(!S.support.noCloneEvent&&!S.isXMLDoc(this)){var d=this.cloneNode(true),e=document.createElement("div");e.appendChild(d);return S.clean([e.innerHTML])[0]}else{return this.cloneNode(true)}});var a=c.find("*").andSelf().each(function(){if(this[Y]!==Z){this[Y]=null}});if(b===true){this.find("*").andSelf().each(function(f){if(this.nodeType==3){return}var g=S.data(this,"events");for(var d in g){for(var e in g[d]){S.event.add(a[f],d,g[d][e],g[d][e].data)}}})}return c},filter:function(a){return this.pushStack(S.isFunction(a)&&S.grep(this,function(b,c){return a.call(b,c)})||S.multiFilter(a,S.grep(this,function(b){return b.nodeType===1})),"filter",a)},closest:function(b){var a=S.expr.match.POS.test(b)?S(b):null;return this.map(function(){var c=this;while(c&&c.ownerDocument){if(a?a.index(c)>-1:S(c).is(b)){return c}c=c.parentNode}})},not:function(b){if(typeof b==="string"){if(aa.test(b)){return this.pushStack(S.multiFilter(b,this,true),"not",b)}else{b=S.multiFilter(b,this)}}var a=b.length&&b[b.length-1]!==Z&&!b.nodeType;return this.filter(function(){return a?S.inArray(this,b)<0:this!=b})},add:function(a){return this.pushStack(S.unique(S.merge(this.get(),typeof a==="string"?S(a):S.makeArray(a))))},is:function(a){return !!a&&S.multiFilter(a,this).length>0},hasClass:function(a){return !!a&&this.is("."+a)},val:function(d){if(d===Z){var a=this[0];if(a){if(S.nodeName(a,"option")){return(a.attributes.value||{}).specified?a.value:a.text}if(S.nodeName(a,"select")){var f=a.selectedIndex,c=[],b=a.options,g=a.type=="select-one";if(f<0){return null}for(var j=g?f:0,e=g?f+1:b.length;j<e;j++){var h=b[j];if(h.selected){d=S(h).val();if(g){return d}c.push(d)}}return c}return(a.value||"").replace(/\r/g,"")}return Z}if(typeof d==="number"){d+=""}return this.each(function(){if(this.nodeType!=1){return}if(S.isArray(d)&&/radio|checkbox/.test(this.type)){this.checked=(S.inArray(this.value,d)>=0||S.inArray(this.name,d)>=0)}else{if(S.nodeName(this,"select")){var k=S.makeArray(d);S("option",this).each(function(){this.selected=(S.inArray(this.value,k)>=0||S.inArray(this.text,k)>=0)});if(!k.length){this.selectedIndex=-1}}else{this.value=d}}})},html:function(a){return a===Z?(this[0]?this[0].innerHTML:null):this.empty().append(a)},replaceWith:function(a){return this.after(a).remove()},eq:function(a){return this.slice(a,+a+1)},slice:function(){return this.pushStack(Array.prototype.slice.apply(this,arguments),"slice",Array.prototype.slice.call(arguments).join(","))},map:function(a){return this.pushStack(S.map(this,function(b,c){return a.call(b,c,b)}))},andSelf:function(){return this.add(this.prevObject)},domManip:function(e,b,c){if(this[0]){var f=(this[0].ownerDocument||this[0]).createDocumentFragment(),j=S.clean(e,(this[0].ownerDocument||this[0]),f),g=f.firstChild,a=this.length>1?f.cloneNode(true):f;if(g){for(var h=0,k=this.length;h<k;h++){c.call(d(this[h],g),h>0?a.cloneNode(true):f)}}if(j){S.each(j,E)}}return this;function d(m,l){return b&&S.nodeName(m,"table")&&S.nodeName(l,"tr")?(m.getElementsByTagName("tbody")[0]||m.appendChild(m.ownerDocument.createElement("tbody"))):m}}};S.fn.init.prototype=S.fn;function E(b,a){if(a.src){S.ajax({url:a.src,async:false,dataType:"script"})}else{S.globalEval(a.text||a.textContent||a.innerHTML||"")}if(a.parentNode){a.parentNode.removeChild(a)}}function ab(){return +new Date}S.extend=S.fn.extend=function(){var c=arguments[0]||{},e=1,d=arguments.length,h=false,f;if(typeof c==="boolean"){h=c;c=arguments[1]||{};e=2}if(typeof c!=="object"&&!S.isFunction(c)){c={}}if(d==e){c=this;--e}for(;e<d;e++){if((f=arguments[e])!=null){for(var g in f){var b=c[g],a=f[g];if(c===a){continue}if(h&&a&&typeof a==="object"&&!a.nodeType){c[g]=S.extend(h,b||(a.length!=null?[]:{}),a)}else{if(a!==Z){c[g]=a}}}}}return c};var ae=/z-?index|font-?weight|opacity|zoom|line-?height/i,Q=document.defaultView||{},M=Object.prototype.toString;S.extend({noConflict:function(a){U.$=R;if(a){U.jQuery=F}return S},isFunction:function(a){return M.call(a)==="[object Function]"},isArray:function(a){return M.call(a)==="[object Array]"},isXMLDoc:function(a){return a.documentElement&&!a.body||a.tagName&&a.ownerDocument&&!a.ownerDocument.body},globalEval:function(a){a=S.trim(a);if(a){var b=document.getElementsByTagName("head")[0]||document.documentElement,c=document.createElement("script");c.type="text/javascript";if(S.support.scriptEval){c.appendChild(document.createTextNode(a))}else{c.text=a}b.insertBefore(c,b.firstChild);b.removeChild(c)}},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()==b.toUpperCase()},each:function(e,a,f){var g,d=0,c=e.length;if(f){if(c===Z){for(g in e){if(a.apply(e[g],f)===false){break}}}else{for(;d<c;){if(a.apply(e[d++],f)===false){break}}}}else{if(c===Z){for(g in e){if(a.call(e[g],g,e[g])===false){break}}}else{for(var b=e[0];d<c&&a.call(b,d,b)!==false;b=e[++d]){}}}return e},prop:function(b,a,c,d,e){if(S.isFunction(a)){a=a.call(b,d)}return typeof a==="number"&&c=="curCSS"&&!ae.test(e)?a+"px":a},className:{add:function(b,a){S.each((a||"").split(/\s+/),function(d,c){if(b.nodeType==1&&!S.className.has(b.className,c)){b.className+=(b.className?" ":"")+c}})},remove:function(b,a){if(b.nodeType==1){b.className=a!==Z?S.grep(b.className.split(/\s+/),function(c){return !S.className.has(a,c)}).join(" "):""}},has:function(a,b){return S.inArray(b,(a.className||a).toString().split(/\s+/))>-1}},swap:function(b,c,a){var e={};for(var d in c){e[d]=b.style[d];b.style[d]=c[d]}a.call(b);for(var d in c){b.style[d]=e[d]}},css:function(e,g,c){if(g=="width"||g=="height"){var a,f={position:"absolute",visibility:"hidden",display:"block"},b=g=="width"?["Left","Right"]:["Top","Bottom"];function d(){a=g=="width"?e.offsetWidth:e.offsetHeight;var h=0,j=0;S.each(b,function(){h+=parseFloat(S.curCSS(e,"padding"+this,true))||0;j+=parseFloat(S.curCSS(e,"border"+this+"Width",true))||0});a-=Math.round(h+j)}if(S(e).is(":visible")){d()}else{S.swap(e,f,d)}return Math.max(0,a)}return S.curCSS(e,g,c)},curCSS:function(f,j,h){var c,a=f.style;if(j=="opacity"&&!S.support.opacity){c=S.attr(a,"opacity");return c==""?"1":c}if(j.match(/float/i)){j=H}if(!h&&a&&a[j]){c=a[j]}else{if(Q.getComputedStyle){if(j.match(/float/i)){j="float"}j=j.replace(/([A-Z])/g,"-$1").toLowerCase();var b=Q.getComputedStyle(f,null);if(b){c=b.getPropertyValue(j)}if(j=="opacity"&&c==""){c="1"}}else{if(f.currentStyle){var e=j.replace(/\-(\w)/g,function(l,k){return k.toUpperCase()});c=f.currentStyle[j]||f.currentStyle[e];if(!/^\d+(px)?$/i.test(c)&&/^\d/.test(c)){var g=a.left,d=f.runtimeStyle.left;f.runtimeStyle.left=f.currentStyle.left;a.left=c||0;c=a.pixelLeft+"px";a.left=g;f.runtimeStyle.left=d}}}}return c},clean:function(g,b,d){b=b||document;if(typeof b.createElement==="undefined"){b=b.ownerDocument||b[0]&&b[0].ownerDocument||document}if(!d&&g.length===1&&typeof g[0]==="string"){var e=/^<(\w+)\s*\/?>$/.exec(g[0]);if(e){return[b.createElement(e[1])]}}var f=[],h=[],a=b.createElement("div");S.each(g,function(m,k){if(typeof k==="number"){k+=""}if(!k){return}if(typeof k==="string"){k=k.replace(/(<(\w+)[^>]*?)\/>/g,function(q,p,r){return r.match(/^(abbr|br|col|img|input|link|meta|param|hr|area|embed)$/i)?q:p+"></"+r+">"});var n=S.trim(k).toLowerCase();var l=!n.indexOf("<opt")&&[1,"<select multiple='multiple'>","</select>"]||!n.indexOf("<leg")&&[1,"<fieldset>","</fieldset>"]||n.match(/^<(thead|tbody|tfoot|colg|cap)/)&&[1,"<table>","</table>"]||!n.indexOf("<tr")&&[2,"<table><tbody>","</tbody></table>"]||(!n.indexOf("<td")||!n.indexOf("<th"))&&[3,"<table><tbody><tr>","</tr></tbody></table>"]||!n.indexOf("<col")&&[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"]||!S.support.htmlSerialize&&[1,"div<div>","</div>"]||[0,"",""];a.innerHTML=l[1]+k+l[2];while(l[0]--){a=a.lastChild}if(!S.support.tbody){var o=!n.indexOf("<table")&&n.indexOf("<tbody")<0?a.firstChild&&a.firstChild.childNodes:l[1]=="<table>"&&n.indexOf("<tbody")<0?a.childNodes:[];for(var j=o.length-1;j>=0;--j){if(S.nodeName(o[j],"tbody")&&!o[j].childNodes.length){o[j].parentNode.removeChild(o[j])}}}if(!S.support.leadingWhitespace&&/^\s/.test(k)){a.insertBefore(b.createTextNode(k.match(/^\s*/)[0]),a.firstChild)}k=S.makeArray(a.childNodes)}if(k.nodeType){f.push(k)}else{f=S.merge(f,k)}});if(d){for(var c=0;f[c];c++){if(S.nodeName(f[c],"script")&&(!f[c].type||f[c].type.toLowerCase()==="text/javascript")){h.push(f[c].parentNode?f[c].parentNode.removeChild(f[c]):f[c])}else{if(f[c].nodeType===1){f.splice.apply(f,[c+1,0].concat(S.makeArray(f[c].getElementsByTagName("script"))))}d.appendChild(f[c])}}return h}return f},attr:function(c,f,b){if(!c||c.nodeType==3||c.nodeType==8){return Z}var e=!S.isXMLDoc(c),a=b!==Z;f=e&&S.props[f]||f;if(c.tagName){var g=/href|src|style/.test(f);if(f=="selected"&&c.parentNode){c.parentNode.selectedIndex}if(f in c&&e&&!g){if(a){if(f=="type"&&S.nodeName(c,"input")&&c.parentNode){throw"type property can't be changed"}c[f]=b}if(S.nodeName(c,"form")&&c.getAttributeNode(f)){return c.getAttributeNode(f).nodeValue}if(f=="tabIndex"){var d=c.getAttributeNode("tabIndex");return d&&d.specified?d.value:c.nodeName.match(/^(a|area|button|input|object|select|textarea)$/i)?0:Z}return c[f]}if(!S.support.style&&e&&f=="style"){return S.attr(c.style,"cssText",b)}if(a){c.setAttribute(f,""+b)}var h=!S.support.hrefNormalized&&e&&g?c.getAttribute(f,2):c.getAttribute(f);return h===null?Z:h}if(!S.support.opacity&&f=="opacity"){if(a){c.zoom=1;c.filter=(c.filter||"").replace(/alpha\([^)]*\)/,"")+(parseInt(b)+""=="NaN"?"":"alpha(opacity="+b*100+")")}return c.filter&&c.filter.indexOf("opacity=")>=0?(parseFloat(c.filter.match(/opacity=([^)]*)/)[1])/100)+"":""}f=f.replace(/-([a-z])/ig,function(j,k){return k.toUpperCase()});if(a){c[f]=b}return c[f]},trim:function(a){return(a||"").replace(/^\s+|\s+$/g,"")},makeArray:function(a){var c=[];if(a!=null){var b=a.length;if(b==null||typeof a==="string"||S.isFunction(a)||a.setInterval){c[0]=a}else{while(b){c[--b]=a[b]}}}return c},inArray:function(b,a){for(var d=0,c=a.length;d<c;d++){if(a[d]===b){return d}}return -1},merge:function(b,e){var d=0,c,a=b.length;if(!S.support.getAll){while((c=e[d++])!=null){if(c.nodeType!=8){b[a++]=c}}}else{while((c=e[d++])!=null){b[a++]=c}}return b},unique:function(a){var f=[],g={};try{for(var e=0,d=a.length;e<d;e++){var b=S.data(a[e]);if(!g[b]){g[b]=true;f.push(a[e])}}}catch(c){f=a}return f},grep:function(e,a,f){var d=[];for(var c=0,b=e.length;c<b;c++){if(!f!=!a(e[c],c)){d.push(e[c])}}return d},map:function(f,a){var e=[];for(var d=0,c=f.length;d<c;d++){var b=a(f[d],d);if(b!=null){e[e.length]=b}}return e.concat.apply([],e)}});var O=navigator.userAgent.toLowerCase();S.browser={version:(O.match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||[0,"0"])[1],safari:/webkit/.test(O),opera:/opera/.test(O),msie:/msie/.test(O)&&!/opera/.test(O),mozilla:/mozilla/.test(O)&&!/(compatible|webkit)/.test(O)};S.each({parent:function(a){return a.parentNode},parents:function(a){return S.dir(a,"parentNode")},next:function(a){return S.nth(a,2,"nextSibling")},prev:function(a){return S.nth(a,2,"previousSibling")},nextAll:function(a){return S.dir(a,"nextSibling")},prevAll:function(a){return S.dir(a,"previousSibling")},siblings:function(a){return S.sibling(a.parentNode.firstChild,a)},children:function(a){return S.sibling(a.firstChild)},contents:function(a){return S.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:S.makeArray(a.childNodes)}},function(b,a){S.fn[b]=function(d){var c=S.map(this,a);if(d&&typeof d=="string"){c=S.multiFilter(d,c)}return this.pushStack(S.unique(c),b,d)}});S.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(b,a){S.fn[b]=function(){var c=arguments;return this.each(function(){for(var e=0,d=c.length;e<d;e++){S(c[e])[a](this)}})}});S.each({removeAttr:function(a){S.attr(this,a,"");if(this.nodeType==1){this.removeAttribute(a)}},addClass:function(a){S.className.add(this,a)},removeClass:function(a){S.className.remove(this,a)},toggleClass:function(a,b){if(typeof b!=="boolean"){b=!S.className.has(this,a)}S.className[b?"add":"remove"](this,a)},remove:function(a){if(!a||S.filter(a,[this]).length){S("*",this).add([this]).each(function(){S.event.remove(this);S.removeData(this)});if(this.parentNode){this.parentNode.removeChild(this)}}},empty:function(){S(">*",this).remove();while(this.firstChild){this.removeChild(this.firstChild)}}},function(b,a){S.fn[b]=function(){return this.each(a,arguments)}});function W(b,a){return b[0]&&parseInt(S.curCSS(b[0],a,true),10)||0}var Y="jQuery"+ab(),I=0,D={};S.extend({cache:{},data:function(c,d,b){c=c==U?D:c;var a=c[Y];if(!a){a=c[Y]=++I}if(d&&!S.cache[a]){S.cache[a]={}}if(b!==Z){S.cache[a][d]=b}return d?S.cache[a][d]:a},removeData:function(c,d){c=c==U?D:c;var a=c[Y];if(d){if(S.cache[a]){delete S.cache[a][d];d="";for(d in S.cache[a]){break}if(!d){S.removeData(c)}}}else{try{delete c[Y]}catch(b){if(c.removeAttribute){c.removeAttribute(Y)}}delete S.cache[a]}},queue:function(c,d,a){if(c){d=(d||"fx")+"queue";var b=S.data(c,d);if(!b||S.isArray(a)){b=S.data(c,d,S.makeArray(a))}else{if(a){b.push(a)}}}return b},dequeue:function(a,b){var d=S.queue(a,b),c=d.shift();if(!b||b==="fx"){c=d[0]}if(c!==Z){c.call(a)}}});S.fn.extend({data:function(d,b){var a=d.split(".");a[1]=a[1]?"."+a[1]:"";if(b===Z){var c=this.triggerHandler("getData"+a[1]+"!",[a[0]]);if(c===Z&&this.length){c=S.data(this[0],d)}return c===Z&&a[1]?this.data(a[0]):c}else{return this.trigger("setData"+a[1]+"!",[a[0],b]).each(function(){S.data(this,d,b)})}},removeData:function(a){return this.each(function(){S.removeData(this,a)})},queue:function(b,a){if(typeof b!=="string"){a=b;b="fx"}if(a===Z){return S.queue(this[0],b)}return this.each(function(){var c=S.queue(this,b,a);if(b=="fx"&&c.length==1){c[0].call(this)}})},dequeue:function(a){return this.each(function(){S.dequeue(this,a)})}});(function(){var c=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|[^[\]]+)+\]|\\.|[^ >+~,(\[]+)+|[>+~])(\s*,\s*)?/g,h=0,l=Object.prototype.toString;var m=function(C,u,aj,r){aj=aj||[];u=u||document;if(u.nodeType!==1&&u.nodeType!==9){return[]}if(!C||typeof C!=="string"){return aj}var ai=[],ah,o,z,A,n,v,w=true;c.lastIndex=0;while((ah=c.exec(C))!==null){ai.push(ah[1]);if(ah[2]){v=RegExp.rightContext;break}}if(ai.length>1&&k.match.POS.exec(C)){if(ai.length===2&&k.relative[ai[0]]){var s="",p;while((p=k.match.POS.exec(C))){s+=p[0];C=C.replace(k.match.POS,"")}o=m.filter(s,m(/\s$/.test(C)?C+"*":C,u))}else{o=k.relative[ai[0]]?[u]:m(ai.shift(),u);while(ai.length){var x=[];C=ai.shift();if(k.relative[C]){C+=ai.shift()}for(var B=0,ag=o.length;B<ag;B++){m(C,o[B],x)}o=x}}}else{var y=r?{expr:ai.pop(),set:a(r)}:m.find(ai.pop(),ai.length===1&&u.parentNode?u.parentNode:u);o=m.filter(y.expr,y.set);if(ai.length>0){z=a(o)}else{w=false}while(ai.length){var t=ai.pop(),q=t;if(!k.relative[t]){t=""}else{q=ai.pop()}if(q==null){q=u}k.relative[t](z,q,d(u))}}if(!z){z=o}if(!z){throw"Syntax error, unrecognized expression: "+(t||C)}if(l.call(z)==="[object Array]"){if(!w){aj.push.apply(aj,z)}else{if(u.nodeType===1){for(var B=0;z[B]!=null;B++){if(z[B]&&(z[B]===true||z[B].nodeType===1&&j(u,z[B]))){aj.push(o[B])}}}else{for(var B=0;z[B]!=null;B++){if(z[B]&&z[B].nodeType===1){aj.push(o[B])}}}}}else{a(z,aj)}if(v){m(v,u,aj,r)}return aj};m.matches=function(o,n){return m(o,null,null,n)};m.find=function(o,r){var n,t;if(!o){return[]}for(var s=0,u=k.order.length;s<u;s++){var q=k.order[s],t;if((t=k.match[q].exec(o))){var p=RegExp.leftContext;if(p.substr(p.length-1)!=="\\"){t[1]=(t[1]||"").replace(/\\/g,"");n=k.find[q](t,r);if(n!=null){o=o.replace(k.match[q],"");break}}}}if(!n){n=r.getElementsByTagName("*")}return{set:n,expr:o}};m.filter=function(u,ag,C,t){var w=u,o=[],y=ag,r,ah;while(u&&ag.length){for(var s in k.filter){if((r=k.match[s].exec(u))!=null){var n=k.filter[s],v=null,p=0,ai,z;ah=false;if(y==o){o=[]}if(k.preFilter[s]){r=k.preFilter[s](r,y,C,o,t);if(!r){ah=ai=true}else{if(r===true){continue}else{if(r[0]===true){v=[];var q=null,A;for(var B=0;(A=y[B])!==Z;B++){if(A&&q!==A){v.push(A);q=A}}}}}}if(r){for(var B=0;(z=y[B])!==Z;B++){if(z){if(v&&z!=v[p]){p++}ai=n(z,r,p,v);var x=t^!!ai;if(C&&ai!=null){if(x){ah=true}else{y[B]=false}}else{if(x){o.push(z);ah=true}}}}}if(ai!==Z){if(!C){y=o}u=u.replace(k.match[s],"");if(!ah){return[]}break}}}u=u.replace(/\s*,\s*/,"");if(u==w){if(ah==null){throw"Syntax error, unrecognized expression: "+u}else{break}}w=u}return y};var k=m.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(n){return n.getAttribute("href")}},relative:{"+":function(o,r){for(var q=0,s=o.length;q<s;q++){var p=o[q];if(p){var n=p.previousSibling;while(n&&n.nodeType!==1){n=n.previousSibling}o[q]=typeof r==="string"?n||false:n===r}}if(typeof r==="string"){m.filter(r,o,true)}},">":function(o,s,n){if(typeof s==="string"&&!/\W/.test(s)){s=n?s:s.toUpperCase();for(var r=0,t=o.length;r<t;r++){var p=o[r];if(p){var q=p.parentNode;o[r]=q.nodeName===s?q:false}}}else{for(var r=0,t=o.length;r<t;r++){var p=o[r];if(p){o[r]=typeof s==="string"?p.parentNode:p.parentNode===s}}if(typeof s==="string"){m.filter(s,o,true)}}},"":function(p,r,n){var q="done"+(h++),s=b;if(!r.match(/\W/)){var o=r=n?r:r.toUpperCase();s=e}s("parentNode",r,q,p,o,n)},"~":function(p,r,n){var q="done"+(h++),s=b;if(typeof r==="string"&&!r.match(/\W/)){var o=r=n?r:r.toUpperCase();s=e}s("previousSibling",r,q,p,o,n)}},find:{ID:function(o,n){if(n.getElementById){var p=n.getElementById(o[1]);return p?[p]:[]}},NAME:function(o,n){return n.getElementsByName?n.getElementsByName(o[1]):null},TAG:function(o,n){return n.getElementsByTagName(o[1])}},preFilter:{CLASS:function(p,r,q,s,n){p=" "+p[1].replace(/\\/g,"")+" ";for(var o=0;r[o];o++){if(n^(" "+r[o].className+" ").indexOf(p)>=0){if(!q){s.push(r[o])}}else{if(q){r[o]=false}}}return false},ID:function(n){return n[1].replace(/\\/g,"")},TAG:function(o,p){for(var n=0;!p[n];n++){}return d(p[n])?o[1]:o[1].toUpperCase()},CHILD:function(o){if(o[1]=="nth"){var n=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(o[2]=="even"&&"2n"||o[2]=="odd"&&"2n+1"||!/\D/.test(o[2])&&"0n+"+o[2]||o[2]);o[2]=(n[1]+(n[2]||1))-0;o[3]=n[3]-0}o[0]="done"+(h++);return o},ATTR:function(n){var o=n[1];if(k.attrMap[o]){n[1]=k.attrMap[o]}if(n[2]==="~="){n[4]=" "+n[4]+" "}return n},PSEUDO:function(o,r,q,s,n){if(o[1]==="not"){if(o[3].match(c).length>1){o[3]=m(o[3],null,null,r)}else{var p=m.filter(o[3],r,q,true^n);if(!q){s.push.apply(s,p)}return false}}else{if(k.match.POS.test(o[0])){return true}}return o},POS:function(n){n.unshift(true);return n}},filters:{enabled:function(n){return n.disabled===false&&n.type!=="hidden"},disabled:function(n){return n.disabled===true},checked:function(n){return n.checked===true},selected:function(n){n.parentNode.selectedIndex;return n.selected===true},parent:function(n){return !!n.firstChild},empty:function(n){return !n.firstChild},has:function(n,o,p){return !!m(p[3],n).length},header:function(n){return/h\d/i.test(n.nodeName)},text:function(n){return"text"===n.type},radio:function(n){return"radio"===n.type},checkbox:function(n){return"checkbox"===n.type},file:function(n){return"file"===n.type},password:function(n){return"password"===n.type},submit:function(n){return"submit"===n.type},image:function(n){return"image"===n.type},reset:function(n){return"reset"===n.type},button:function(n){return"button"===n.type||n.nodeName.toUpperCase()==="BUTTON"},input:function(n){return/input|select|textarea|button/i.test(n.nodeName)}},setFilters:{first:function(n,o){return o===0},last:function(o,p,q,n){return p===n.length-1},even:function(n,o){return o%2===0},odd:function(n,o){return o%2===1},lt:function(n,o,p){return o<p[3]-0},gt:function(n,o,p){return o>p[3]-0},nth:function(n,o,p){return p[3]-0==o},eq:function(n,o,p){return p[3]-0==o}},filter:{CHILD:function(w,t){var q=t[1],p=w.parentNode;var r="child"+p.childNodes.length;if(p&&(!p[r]||!w.nodeIndex)){var s=1;for(var v=p.firstChild;v;v=v.nextSibling){if(v.nodeType==1){v.nodeIndex=s++}}p[r]=s-1}if(q=="first"){return w.nodeIndex==1}else{if(q=="last"){return w.nodeIndex==p[r]}else{if(q=="only"){return p[r]==1}else{if(q=="nth"){var n=false,u=t[2],o=t[3];if(u==1&&o==0){return true}if(u==0){if(w.nodeIndex==o){n=true}}else{if((w.nodeIndex-o)%u==0&&(w.nodeIndex-o)/u>=0){n=true}}return n}}}}},PSEUDO:function(o,s,r,n){var t=s[1],q=k.filters[t];if(q){return q(o,r,s,n)}else{if(t==="contains"){return(o.textContent||o.innerText||"").indexOf(s[3])>=0}else{if(t==="not"){var p=s[3];for(var r=0,u=p.length;r<u;r++){if(p[r]===o){return false}}return true}}}},ID:function(n,o){return n.nodeType===1&&n.getAttribute("id")===o},TAG:function(n,o){return(o==="*"&&n.nodeType===1)||n.nodeName===o},CLASS:function(n,o){return o.test(n.className)},ATTR:function(o,q){var s=k.attrHandle[q[1]]?k.attrHandle[q[1]](o):o[q[1]]||o.getAttribute(q[1]),n=s+"",p=q[2],r=q[4];return s==null?false:p==="="?n===r:p==="*="?n.indexOf(r)>=0:p==="~="?(" "+n+" ").indexOf(r)>=0:!q[4]?s:p==="!="?n!=r:p==="^="?n.indexOf(r)===0:p==="$="?n.substr(n.length-r.length)===r:p==="|="?n===r||n.substr(0,r.length+1)===r+"-":false},POS:function(o,r,q,n){var s=r[2],p=k.setFilters[s];if(p){return p(o,q,r,n)}}}};for(var f in k.match){k.match[f]=RegExp(k.match[f].source+/(?![^\[]*\])(?![^\(]*\))/.source)}var a=function(n,o){n=Array.prototype.slice.call(n);if(o){o.push.apply(o,n);return o}return n};try{Array.prototype.slice.call(document.documentElement.childNodes)}catch(g){a=function(n,o){var q=o||[];if(l.call(n)==="[object Array]"){Array.prototype.push.apply(q,n)}else{if(typeof n.length==="number"){for(var p=0,r=n.length;p<r;p++){q.push(n[p])}}else{for(var p=0;n[p];p++){q.push(n[p])}}}return q}}(function(){var o=document.createElement("form"),n="script"+(new Date).getTime();o.innerHTML="<input name='"+n+"'/>";var p=document.documentElement;p.insertBefore(o,p.firstChild);if(!!document.getElementById(n)){k.find.ID=function(r,q){if(q.getElementById){var s=q.getElementById(r[1]);return s?s.id===r[1]||s.getAttributeNode&&s.getAttributeNode("id").nodeValue===r[1]?[s]:Z:[]}};k.filter.ID=function(q,s){var r=q.getAttributeNode&&q.getAttributeNode("id");return q.nodeType===1&&r&&r.nodeValue===s}}p.removeChild(o)})();(function(){var n=document.createElement("div");n.appendChild(document.createComment(""));if(n.getElementsByTagName("*").length>0){k.find.TAG=function(s,o){var p=o.getElementsByTagName(s[1]);if(s[1]==="*"){var q=[];for(var r=0;p[r];r++){if(p[r].nodeType===1){q.push(p[r])}}p=q}return p}}n.innerHTML="<a href='#'></a>";if(n.firstChild.getAttribute("href")!=="#"){k.attrHandle.href=function(o){return o.getAttribute("href",2)}}})();if(document.querySelectorAll){(function(){var n=m;m=function(p,q,s,r){q=q||document;if(!r&&q.nodeType===9){try{return a(q.querySelectorAll(p),s)}catch(o){}}return n(p,q,s,r)};m.find=n.find;m.filter=n.filter;m.selectors=n.selectors;m.matches=n.matches})()}if(document.documentElement.getElementsByClassName){k.order.splice(1,0,"CLASS");k.find.CLASS=function(o,n){return n.getElementsByClassName(o[1])}}function e(w,q,r,n,p,o){for(var t=0,v=n.length;t<v;t++){var x=n[t];if(x){x=x[w];var s=false;while(x&&x.nodeType){var u=x[r];if(u){s=n[u];break}if(x.nodeType===1&&!o){x[r]=t}if(x.nodeName===q){s=x;break}x=x[w]}n[t]=s}}}function b(v,q,r,n,p,o){for(var t=0,u=n.length;t<u;t++){var w=n[t];if(w){w=w[v];var s=false;while(w&&w.nodeType){if(w[r]){s=n[w[r]];break}if(w.nodeType===1){if(!o){w[r]=t}if(typeof q!=="string"){if(w===q){s=true;break}}else{if(m.filter(q,[w]).length>0){s=w;break}}}w=w[v]}n[t]=s}}}var j=document.compareDocumentPosition?function(n,o){return n.compareDocumentPosition(o)&16}:function(n,o){return n!==o&&(n.contains?n.contains(o):true)};var d=function(n){return n.documentElement&&!n.body||n.tagName&&n.ownerDocument&&!n.ownerDocument.body};S.find=m;S.filter=m.filter;S.expr=m.selectors;S.expr[":"]=S.expr.filters;m.selectors.filters.hidden=function(n){return"hidden"===n.type||S.css(n,"display")==="none"||S.css(n,"visibility")==="hidden"};m.selectors.filters.visible=function(n){return"hidden"!==n.type&&S.css(n,"display")!=="none"&&S.css(n,"visibility")!=="hidden"};m.selectors.filters.animated=function(n){return S.grep(S.timers,function(o){return n===o.elem}).length};S.multiFilter=function(n,p,o){if(o){n=":not("+n+")"}return m.matches(n,p)};S.dir=function(o,p){var q=[],n=o[p];while(n&&n!=document){if(n.nodeType==1){q.push(n)}n=n[p]}return q};S.nth=function(n,r,p,o){r=r||1;var q=0;for(;n;n=n[p]){if(n.nodeType==1&&++q==r){break}}return n};S.sibling=function(n,o){var p=[];for(;n;n=n.nextSibling){if(n.nodeType==1&&n!=o){p.push(n)}}return p};return;U.Sizzle=m})();S.event={add:function(c,f,d,a){if(c.nodeType==3||c.nodeType==8){return}if(c.setInterval&&c!=U){c=U}if(!d.guid){d.guid=this.guid++}if(a!==Z){var e=d;d=this.proxy(e);d.data=a}var g=S.data(c,"events")||S.data(c,"events",{}),b=S.data(c,"handle")||S.data(c,"handle",function(){return typeof S!=="undefined"&&!S.event.triggered?S.event.handle.apply(arguments.callee.elem,arguments):Z});b.elem=c;S.each(f.split(/\s+/),function(h,l){var k=l.split(".");l=k.shift();d.type=k.slice().sort().join(".");var j=g[l];if(S.event.specialAll[l]){S.event.specialAll[l].setup.call(c,a,k)}if(!j){j=g[l]={};if(!S.event.special[l]||S.event.special[l].setup.call(c,a,k)===false){if(c.addEventListener){c.addEventListener(l,b,false)}else{if(c.attachEvent){c.attachEvent("on"+l,b)}}}}j[d.guid]=d;S.event.global[l]=true});c=null},guid:1,global:{},remove:function(b,e,c){if(b.nodeType==3||b.nodeType==8){return}var f=S.data(b,"events"),g,h;if(f){if(e===Z||(typeof e==="string"&&e.charAt(0)==".")){for(var d in f){this.remove(b,d+(e||""))}}else{if(e.type){c=e.handler;e=e.type}S.each(e.split(/\s+/),function(j,m){var k=m.split(".");m=k.shift();var n=RegExp("(^|\\.)"+k.slice().sort().join(".*\\.")+"(\\.|$)");if(f[m]){if(c){delete f[m][c.guid]}else{for(var l in f[m]){if(n.test(f[m][l].type)){delete f[m][l]}}}if(S.event.specialAll[m]){S.event.specialAll[m].teardown.call(b,k)}for(g in f[m]){break}if(!g){if(!S.event.special[m]||S.event.special[m].teardown.call(b,k)===false){if(b.removeEventListener){b.removeEventListener(m,S.data(b,"handle"),false)}else{if(b.detachEvent){b.detachEvent("on"+m,S.data(b,"handle"))}}}g=null;delete f[m]}}})}for(g in f){break}if(!g){var a=S.data(b,"handle");if(a){a.elem=null}S.removeData(b,"events");S.removeData(b,"handle")}}},trigger:function(d,b,e,h){var f=d.type||d;if(!h){d=typeof d==="object"?d[Y]?d:S.extend(S.Event(f),d):S.Event(f);if(f.indexOf("!")>=0){d.type=f=f.slice(0,-1);d.exclusive=true}if(!e){d.stopPropagation();if(this.global[f]){S.each(S.cache,function(){if(this.events&&this.events[f]){S.event.trigger(d,b,this.handle.elem)}})}}if(!e||e.nodeType==3||e.nodeType==8){return Z}d.result=Z;d.target=e;b=S.makeArray(b);b.unshift(d)}d.currentTarget=e;var c=S.data(e,"handle");if(c){c.apply(e,b)}if((!e[f]||(S.nodeName(e,"a")&&f=="click"))&&e["on"+f]&&e["on"+f].apply(e,b)===false){d.result=false}if(!h&&e[f]&&!d.isDefaultPrevented()&&!(S.nodeName(e,"a")&&f=="click")){this.triggered=true;try{e[f]()}catch(a){}}this.triggered=false;if(!d.isPropagationStopped()){var g=e.parentNode||e.ownerDocument;if(g){S.event.trigger(d,b,g,true)}}},handle:function(b){var c,h;b=arguments[0]=S.event.fix(b||U.event);var a=b.type.split(".");b.type=a.shift();c=!a.length&&!b.exclusive;var d=RegExp("(^|\\.)"+a.slice().sort().join(".*\\.")+"(\\.|$)");h=(S.data(this,"events")||{})[b.type];for(var f in h){var e=h[f];if(c||d.test(e.type)){b.handler=e;b.data=e.data;var g=e.apply(this,arguments);if(g!==Z){b.result=g;if(g===false){b.preventDefault();b.stopPropagation()}}if(b.isImmediatePropagationStopped()){break}}}},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode metaKey newValue originalTarget pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),fix:function(c){if(c[Y]){return c}var e=c;c=S.Event(e);for(var d=this.props.length,a;d;){a=this.props[--d];c[a]=e[a]}if(!c.target){c.target=c.srcElement||document}if(c.target.nodeType==3){c.target=c.target.parentNode}if(!c.relatedTarget&&c.fromElement){c.relatedTarget=c.fromElement==c.target?c.toElement:c.fromElement}if(c.pageX==null&&c.clientX!=null){var b=document.documentElement,f=document.body;c.pageX=c.clientX+(b&&b.scrollLeft||f&&f.scrollLeft||0)-(b.clientLeft||0);c.pageY=c.clientY+(b&&b.scrollTop||f&&f.scrollTop||0)-(b.clientTop||0)}if(!c.which&&((c.charCode||c.charCode===0)?c.charCode:c.keyCode)){c.which=c.charCode||c.keyCode}if(!c.metaKey&&c.ctrlKey){c.metaKey=c.ctrlKey}if(!c.which&&c.button){c.which=(c.button&1?1:(c.button&2?3:(c.button&4?2:0)))}return c},proxy:function(a,b){b=b||function(){return a.apply(this,arguments)};b.guid=a.guid=a.guid||b.guid||this.guid++;return b},special:{ready:{setup:P,teardown:function(){}}},specialAll:{live:{setup:function(b,a){S.event.add(this,a[0],ad)},teardown:function(a){if(a.length){var c=0,b=RegExp("(^|\\.)"+a[0]+"(\\.|$)");S.each((S.data(this,"events").live||{}),function(){if(b.test(this.type)){c++}});if(c<1){S.event.remove(this,a[0],ad)}}}}}};S.Event=function(a){if(!this.preventDefault){return new S.Event(a)}if(a&&a.type){this.originalEvent=a;this.type=a.type;this.timeStamp=a.timeStamp}else{this.type=a}if(!this.timeStamp){this.timeStamp=ab()}this[Y]=true};function V(){return false}function J(){return true}S.Event.prototype={preventDefault:function(){this.isDefaultPrevented=J;var a=this.originalEvent;if(!a){return}if(a.preventDefault){a.preventDefault()}a.returnValue=false},stopPropagation:function(){this.isPropagationStopped=J;var a=this.originalEvent;if(!a){return}if(a.stopPropagation){a.stopPropagation()}a.cancelBubble=true},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=J;this.stopPropagation()},isDefaultPrevented:V,isPropagationStopped:V,isImmediatePropagationStopped:V};var af=function(b){var c=b.relatedTarget;while(c&&c!=this){try{c=c.parentNode}catch(a){c=this}}if(c!=this){b.type=b.data;S.event.handle.apply(this,arguments)}};S.each({mouseover:"mouseenter",mouseout:"mouseleave"},function(a,b){S.event.special[b]={setup:function(){S.event.add(this,a,af,b)},teardown:function(){S.event.remove(this,a,af)}}});S.fn.extend({bind:function(b,a,c){return b=="unload"?this.one(b,a,c):this.each(function(){S.event.add(this,b,c||a,c&&a)})},one:function(b,a,c){var d=S.event.proxy(c||a,function(e){S(this).unbind(e,d);return(c||a).apply(this,arguments)});return this.each(function(){S.event.add(this,b,d,c&&a)})},unbind:function(a,b){return this.each(function(){S.event.remove(this,a,b)})},trigger:function(b,a){return this.each(function(){S.event.trigger(b,a,this)})},triggerHandler:function(c,a){if(this[0]){var b=S.Event(c);b.preventDefault();b.stopPropagation();S.event.trigger(b,a,this[0]);return b.result}},toggle:function(a){var c=arguments,b=1;while(b<c.length){S.event.proxy(a,c[b++])}return this.click(S.event.proxy(a,function(d){this.lastToggle=(this.lastToggle||0)%b;d.preventDefault();return c[this.lastToggle++].apply(this,arguments)||false}))},hover:function(b,a){return this.mouseenter(b).mouseleave(a)},ready:function(a){P();if(S.isReady){a.call(document,S)}else{S.readyList.push(a)}return this},live:function(a,b){var c=S.event.proxy(b);c.guid+=this.selector+a;S(document).bind(X(a,this.selector),this.selector,c);return this},die:function(a,b){S(document).unbind(X(a,this.selector),b?{guid:b.guid+this.selector+a}:null);return this}});function ad(a){var d=RegExp("(^|\\.)"+a.type+"(\\.|$)"),b=true,c=[];S.each(S.data(this,"events").live||[],function(g,f){if(d.test(f.type)){var e=S(a.target).closest(f.data)[0];if(e){c.push({elem:e,fn:f})}}});S.each(c,function(){if(!a.isImmediatePropagationStopped()&&this.fn.call(this.elem,a,this.fn.data)===false){b=false}});return b}function X(a,b){return["live",a,b.replace(/\./g,"`").replace(/ /g,"|")].join(".")}S.extend({isReady:false,readyList:[],ready:function(){if(!S.isReady){S.isReady=true;if(S.readyList){S.each(S.readyList,function(){this.call(document,S)});S.readyList=null}S(document).triggerHandler("ready")}}});var G=false;function P(){if(G){return}G=true;if(document.addEventListener){document.addEventListener("DOMContentLoaded",function(){document.removeEventListener("DOMContentLoaded",arguments.callee,false);S.ready()},false)}else{if(document.attachEvent){document.attachEvent("onreadystatechange",function(){if(document.readyState==="complete"){document.detachEvent("onreadystatechange",arguments.callee);S.ready()}});if(document.documentElement.doScroll&&!U.frameElement){(function(){if(S.isReady){return}try{document.documentElement.doScroll("left")}catch(a){setTimeout(arguments.callee,0);return}S.ready()})()}}}S.event.add(U,"load",S.ready)}S.each(("blur,focus,load,resize,scroll,unload,click,dblclick,mousedown,mouseup,mousemove,mouseover,mouseout,mouseenter,mouseleave,change,select,submit,keydown,keypress,keyup,error").split(","),function(a,b){S.fn[b]=function(c){return c?this.bind(b,c):this.trigger(b)}});S(U).bind("unload",function(){for(var a in S.cache){if(a!=1&&S.cache[a].handle){S.event.remove(S.cache[a].handle.elem)}}});(function(){S.support={};var f=document.documentElement,e=document.createElement("script"),a=document.createElement("div"),b="script"+(new Date).getTime();a.style.display="none";a.innerHTML='   <link/><table></table><a href="/a" style="color:red;float:left;opacity:.5;">a</a><select><option>text</option></select><object><param/></object>';var d=a.getElementsByTagName("*"),g=a.getElementsByTagName("a")[0];if(!d||!d.length||!g){return}S.support={leadingWhitespace:a.firstChild.nodeType==3,tbody:!a.getElementsByTagName("tbody").length,objectAll:!!a.getElementsByTagName("object")[0].getElementsByTagName("*").length,htmlSerialize:!!a.getElementsByTagName("link").length,style:/red/.test(g.getAttribute("style")),hrefNormalized:g.getAttribute("href")==="/a",opacity:g.style.opacity==="0.5",cssFloat:!!g.style.cssFloat,scriptEval:false,noCloneEvent:true,boxModel:null};e.type="text/javascript";try{e.appendChild(document.createTextNode("window."+b+"=1;"))}catch(c){}f.insertBefore(e,f.firstChild);if(U[b]){S.support.scriptEval=true;delete U[b]}f.removeChild(e);if(a.attachEvent&&a.fireEvent){a.attachEvent("onclick",function(){S.support.noCloneEvent=false;a.detachEvent("onclick",arguments.callee)});a.cloneNode(true).fireEvent("onclick")}S(function(){var h=document.createElement("div");h.style.width="1px";h.style.paddingLeft="1px";document.body.appendChild(h);S.boxModel=S.support.boxModel=h.offsetWidth===2;document.body.removeChild(h)})})();var H=S.support.cssFloat?"cssFloat":"styleFloat";S.props={"for":"htmlFor","class":"className","float":H,cssFloat:H,styleFloat:H,readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",tabindex:"tabIndex"};S.fn.extend({_load:S.fn.load,load:function(e,b,a){if(typeof e!=="string"){return this._load(e)}var c=e.indexOf(" ");if(c>=0){var g=e.slice(c,e.length);e=e.slice(0,c)}var d="GET";if(b){if(S.isFunction(b)){a=b;b=null}else{if(typeof b==="object"){b=S.param(b);d="POST"}}}var f=this;S.ajax({url:e,type:d,dataType:"html",data:b,complete:function(h,j){if(j=="success"||j=="notmodified"){f.html(g?S("<div/>").append(h.responseText.replace(/<script(.|\s)*?\/script>/g,"")).find(g):h.responseText)}if(a){f.each(a,[h.responseText,j,h])}}});return this},serialize:function(){return S.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?S.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||/select|textarea/i.test(this.nodeName)||/text|hidden|password/i.test(this.type))}).map(function(c,b){var a=S(this).val();return a==null?null:S.isArray(a)?S.map(a,function(d,e){return{name:b.name,value:d}}):{name:b.name,value:a}}).get()}});S.each("ajaxStart,ajaxStop,ajaxComplete,ajaxError,ajaxSuccess,ajaxSend".split(","),function(b,a){S.fn[a]=function(c){return this.bind(a,c)}});var N=ab();S.extend({get:function(d,b,a,c){if(S.isFunction(b)){a=b;b=null}return S.ajax({type:"GET",url:d,data:b,success:a,dataType:c})},getScript:function(b,a){return S.get(b,null,a,"script")},getJSON:function(c,b,a){return S.get(c,b,a,"json")},post:function(d,b,a,c){if(S.isFunction(b)){a=b;b={}}return S.ajax({type:"POST",url:d,data:b,success:a,dataType:c})},ajaxSetup:function(a){S.extend(S.ajaxSettings,a)},ajaxSettings:{url:location.href,global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:function(){return U.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(l){l=S.extend(true,l,S.extend(true,{},S.ajaxSettings,l));var a,s=/=\?(&|$)/g,f,b,r=l.type.toUpperCase();if(l.data&&l.processData&&typeof l.data!=="string"){l.data=S.param(l.data)}if(l.dataType=="jsonp"){if(r=="GET"){if(!l.url.match(s)){l.url+=(l.url.match(/\?/)?"&":"?")+(l.jsonp||"callback")+"=?"}}else{if(!l.data||!l.data.match(s)){l.data=(l.data?l.data+"&":"")+(l.jsonp||"callback")+"=?"}}l.dataType="json"}if(l.dataType=="json"&&(l.data&&l.data.match(s)||l.url.match(s))){a="jsonp"+N++;if(l.data){l.data=(l.data+"").replace(s,"="+a+"$1")}l.url=l.url.replace(s,"="+a+"$1");l.dataType="script";U[a]=function(u){b=u;p();m();U[a]=Z;try{delete U[a]}catch(v){}if(q){q.removeChild(d)}}}if(l.dataType=="script"&&l.cache==null){l.cache=false}if(l.cache===false&&r=="GET"){var t=ab();var c=l.url.replace(/(\?|&)_=.*?(&|$)/,"$1_="+t+"$2");l.url=c+((c==l.url)?(l.url.match(/\?/)?"&":"?")+"_="+t:"")}if(l.data&&r=="GET"){l.url+=(l.url.match(/\?/)?"&":"?")+l.data;l.data=null}if(l.global&&!S.active++){S.event.trigger("ajaxStart")}var g=/^(\w+:)?\/\/([^\/?#]+)/.exec(l.url);if(l.dataType=="script"&&r=="GET"&&g&&(g[1]&&g[1]!=location.protocol||g[2]!=location.host)){var q=document.getElementsByTagName("head")[0];var d=document.createElement("script");d.src=l.url;if(l.scriptCharset){d.charset=l.scriptCharset}if(!a){var j=false;d.onload=d.onreadystatechange=function(){if(!j&&(!this.readyState||this.readyState=="loaded"||this.readyState=="complete")){j=true;p();m();q.removeChild(d)}}}q.appendChild(d);return Z}var n=false;var o=l.xhr();if(l.username){o.open(r,l.url,l.async,l.username,l.password)}else{o.open(r,l.url,l.async)}try{if(l.data){o.setRequestHeader("Content-Type",l.contentType)}if(l.ifModified){o.setRequestHeader("If-Modified-Since",S.lastModified[l.url]||"Thu, 01 Jan 1970 00:00:00 GMT")}o.setRequestHeader("X-Requested-With","XMLHttpRequest");o.setRequestHeader("Accept",l.dataType&&l.accepts[l.dataType]?l.accepts[l.dataType]+", */*":l.accepts._default)}catch(e){}if(l.beforeSend&&l.beforeSend(o,l)===false){if(l.global&&!--S.active){S.event.trigger("ajaxStop")}o.abort();return false}if(l.global){S.event.trigger("ajaxSend",[o,l])}var k=function(u){if(o.readyState==0){if(h){clearInterval(h);h=null;if(l.global&&!--S.active){S.event.trigger("ajaxStop")}}}else{if(!n&&o&&(o.readyState==4||u=="timeout")){n=true;if(h){clearInterval(h);h=null}f=u=="timeout"?"timeout":!S.httpSuccess(o)?"error":l.ifModified&&S.httpNotModified(o,l.url)?"notmodified":"success";if(f=="success"){try{b=S.httpData(o,l.dataType,l)}catch(v){f="parsererror"}}if(f=="success"){var w;try{w=o.getResponseHeader("Last-Modified")}catch(v){}if(l.ifModified&&w){S.lastModified[l.url]=w}if(!a){p()}}else{S.handleError(l,o,f)}m();if(l.async){o=null}}}};if(l.async){var h=setInterval(k,13);if(l.timeout>0){setTimeout(function(){if(o){if(!n){k("timeout")}if(o){o.abort()}}},l.timeout)}}try{o.send(l.data)}catch(e){S.handleError(l,o,null,e)}if(!l.async){k()}function p(){if(l.success){l.success(b,f)}if(l.global){S.event.trigger("ajaxSuccess",[o,l])}}function m(){if(l.complete){l.complete(o,f)}if(l.global){S.event.trigger("ajaxComplete",[o,l])}if(l.global&&!--S.active){S.event.trigger("ajaxStop")}}return o},handleError:function(c,a,d,b){if(c.error){c.error(a,d,b)}if(c.global){S.event.trigger("ajaxError",[a,c,b])}},active:0,httpSuccess:function(a){try{return !a.status&&location.protocol=="file:"||(a.status>=200&&a.status<300)||a.status==304||a.status==1223}catch(b){}return false},httpNotModified:function(b,d){try{var a=b.getResponseHeader("Last-Modified");return b.status==304||a==S.lastModified[d]}catch(c){}return false},httpData:function(a,c,d){var e=a.getResponseHeader("content-type"),f=c=="xml"||!c&&e&&e.indexOf("xml")>=0,b=f?a.responseXML:a.responseText;if(f&&b.documentElement.tagName=="parsererror"){throw"parsererror"}if(d&&d.dataFilter){b=d.dataFilter(b,c)}if(typeof b==="string"){if(c=="script"){S.globalEval(b)}if(c=="json"){b=U["eval"]("("+b+")")}}return b},param:function(d){var b=[];function a(f,e){b[b.length]=encodeURIComponent(f)+"="+encodeURIComponent(e)}if(S.isArray(d)||d.jquery){S.each(d,function(){a(this.name,this.value)})}else{for(var c in d){if(S.isArray(d[c])){S.each(d[c],function(){a(c,this)})}else{a(c,S.isFunction(d[c])?d[c]():d[c])}}}return b.join("&").replace(/%20/g,"+")}});var T={},ac=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];function K(b,c){var a={};S.each(ac.concat.apply([],ac.slice(0,c)),function(){a[this]=b});return a}S.fn.extend({show:function(c,a){if(c){return this.animate(K("show",3),c,a)}else{for(var e=0,g=this.length;e<g;e++){var h=S.data(this[e],"olddisplay");this[e].style.display=h||"";if(S.css(this[e],"display")==="none"){var f=this[e].tagName,b;if(T[f]){b=T[f]}else{var d=S("<"+f+" />").appendTo("body");b=d.css("display");if(b==="none"){b="block"}d.remove();T[f]=b}this[e].style.display=S.data(this[e],"olddisplay",b)}}return this}},hide:function(b,a){if(b){return this.animate(K("hide",3),b,a)}else{for(var c=0,d=this.length;c<d;c++){var e=S.data(this[c],"olddisplay");if(!e&&e!=="none"){S.data(this[c],"olddisplay",S.css(this[c],"display"))}this[c].style.display="none"}return this}},_toggle:S.fn.toggle,toggle:function(a,b){var c=typeof a==="boolean";return S.isFunction(a)&&S.isFunction(b)?this._toggle.apply(this,arguments):a==null||c?this.each(function(){var d=c?a:S(this).is(":hidden");S(this)[d?"show":"hide"]()}):this.animate(K("toggle",3),a,b)},fadeTo:function(c,a,b){return this.animate({opacity:a},c,b)},animate:function(a,d,b,c){var e=S.speed(d,b,c);return this[e.queue===false?"each":"queue"](function(){var h=S.extend({},e),f,g=this.nodeType==1&&S(this).is(":hidden"),j=this;for(f in a){if(a[f]=="hide"&&g||a[f]=="show"&&!g){return h.complete.call(this)}if((f=="height"||f=="width")&&this.style){h.display=S.css(this,"display");h.overflow=this.style.overflow}}if(h.overflow!=null){this.style.overflow="hidden"}h.curAnim=S.extend({},a);S.each(a,function(p,l){var m=new S.fx(j,h,p);if(/toggle|show|hide/.test(l)){m[l=="toggle"?g?"show":"hide":l](a)}else{var n=l.toString().match(/^([+-]=)?([\d+-.]+)(.*)$/),k=m.cur(true)||0;if(n){var q=parseFloat(n[2]),o=n[3]||"px";if(o!="px"){j.style[p]=(q||1)+o;k=((q||1)/m.cur(true))*k;j.style[p]=k+o}if(n[1]){q=((n[1]=="-="?-1:1)*q)+k}m.custom(k,q,o)}else{m.custom(k,l,"")}}});return true})},stop:function(b,c){var a=S.timers;if(b){this.queue([])}this.each(function(){for(var d=a.length-1;d>=0;d--){if(a[d].elem==this){if(c){a[d](true)}a.splice(d,1)}}});if(!c){this.dequeue()}return this}});S.each({slideDown:K("show",1),slideUp:K("hide",1),slideToggle:K("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(b,a){S.fn[b]=function(d,c){return this.animate(a,d,c)}});S.extend({speed:function(b,a,c){var d=typeof b==="object"?b:{complete:c||!c&&a||S.isFunction(b)&&b,duration:b,easing:c&&a||a&&!S.isFunction(a)&&a};d.duration=S.fx.off?0:typeof d.duration==="number"?d.duration:S.fx.speeds[d.duration]||S.fx.speeds._default;d.old=d.complete;d.complete=function(){if(d.queue!==false){S(this).dequeue()}if(S.isFunction(d.old)){d.old.call(this)}};return d},easing:{linear:function(b,a,d,c){return d+c*b},swing:function(b,a,d,c){return((-Math.cos(b*Math.PI)/2)+0.5)*c+d}},timers:[],timerId:null,fx:function(b,c,a){this.options=c;this.elem=b;this.prop=a;if(!c.orig){c.orig={}}}});S.fx.prototype={update:function(){if(this.options.step){this.options.step.call(this.elem,this.now,this)}(S.fx.step[this.prop]||S.fx.step._default)(this);if((this.prop=="height"||this.prop=="width")&&this.elem.style){this.elem.style.display="block"}},cur:function(a){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null)){return this.elem[this.prop]}var b=parseFloat(S.css(this.elem,this.prop,a));return b&&b>-10000?b:parseFloat(S.curCSS(this.elem,this.prop))||0},custom:function(a,b,c){this.startTime=ab();this.start=a;this.end=b;this.unit=c||this.unit||"px";this.now=this.start;this.pos=this.state=0;var e=this;function d(f){return e.step(f)}d.elem=this.elem;S.timers.push(d);if(d()&&S.timerId==null){S.timerId=setInterval(function(){var f=S.timers;for(var g=0;g<f.length;g++){if(!f[g]()){f.splice(g--,1)}}if(!f.length){clearInterval(S.timerId);S.timerId=null}},13)}},show:function(){this.options.orig[this.prop]=S.attr(this.elem.style,this.prop);this.options.show=true;this.custom(this.prop=="width"||this.prop=="height"?1:0,this.cur());S(this.elem).show()},hide:function(){this.options.orig[this.prop]=S.attr(this.elem.style,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(c){var d=ab();if(c||d>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;var f=true;for(var e in this.options.curAnim){if(this.options.curAnim[e]!==true){f=false}}if(f){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;this.elem.style.display=this.options.display;if(S.css(this.elem,"display")=="none"){this.elem.style.display="block"}}if(this.options.hide){S(this.elem).hide()}if(this.options.hide||this.options.show){for(var b in this.options.curAnim){S.attr(this.elem.style,b,this.options.orig[b])}}}if(f){this.options.complete.call(this.elem)}return false}else{var a=d-this.startTime;this.state=a/this.options.duration;this.pos=S.easing[this.options.easing||(S.easing.swing?"swing":"linear")](this.state,a,0,1,this.options.duration);this.now=this.start+((this.end-this.start)*this.pos);this.update()}return true}};S.extend(S.fx,{speeds:{slow:600,fast:200,_default:400},step:{opacity:function(a){S.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){S.fn.offset=function(){if(!this[0]){return{top:0,left:0}}if(this[0]===this[0].ownerDocument.body){return S.offset.bodyOffset(this[0])}var f=this[0].getBoundingClientRect(),c=this[0].ownerDocument,g=c.body,h=c.documentElement,a=h.clientTop||g.clientTop||0,b=h.clientLeft||g.clientLeft||0,d=f.top+(self.pageYOffset||S.boxModel&&h.scrollTop||g.scrollTop)-a,e=f.left+(self.pageXOffset||S.boxModel&&h.scrollLeft||g.scrollLeft)-b;return{top:d,left:e}}}else{S.fn.offset=function(){if(!this[0]){return{top:0,left:0}}if(this[0]===this[0].ownerDocument.body){return S.offset.bodyOffset(this[0])}S.offset.initialized||S.offset.initialize();var g=this[0],k=g.offsetParent,l=g,b=g.ownerDocument,d,j=b.documentElement,f=b.body,e=b.defaultView,a=e.getComputedStyle(g,null),c=g.offsetTop,h=g.offsetLeft;while((g=g.parentNode)&&g!==f&&g!==j){d=e.getComputedStyle(g,null);c-=g.scrollTop,h-=g.scrollLeft;if(g===k){c+=g.offsetTop,h+=g.offsetLeft;if(S.offset.doesNotAddBorder&&!(S.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(g.tagName))){c+=parseInt(d.borderTopWidth,10)||0,h+=parseInt(d.borderLeftWidth,10)||0}l=k,k=g.offsetParent}if(S.offset.subtractsBorderForOverflowNotVisible&&d.overflow!=="visible"){c+=parseInt(d.borderTopWidth,10)||0,h+=parseInt(d.borderLeftWidth,10)||0}a=d}if(a.position==="relative"||a.position==="static"){c+=f.offsetTop,h+=f.offsetLeft}if(a.position==="fixed"){c+=Math.max(j.scrollTop,f.scrollTop),h+=Math.max(j.scrollLeft,f.scrollLeft)}return{top:c,left:h}}}S.offset={initialize:function(){if(this.initialized){return}var d=document.body,k=document.createElement("div"),h,j,b,g,c,a,f=d.style.marginTop,e='<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>';c={position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"};for(a in c){k.style[a]=c[a]}k.innerHTML=e;d.insertBefore(k,d.firstChild);h=k.firstChild,j=h.firstChild,g=h.nextSibling.firstChild.firstChild;this.doesNotAddBorder=(j.offsetTop!==5);this.doesAddBorderForTableAndCells=(g.offsetTop===5);h.style.overflow="hidden",h.style.position="relative";this.subtractsBorderForOverflowNotVisible=(j.offsetTop===-5);d.style.marginTop="1px";this.doesNotIncludeMarginInBodyOffset=(d.offsetTop===0);d.style.marginTop=f;d.removeChild(k);this.initialized=true},bodyOffset:function(c){S.offset.initialized||S.offset.initialize();var a=c.offsetTop,b=c.offsetLeft;if(S.offset.doesNotIncludeMarginInBodyOffset){a+=parseInt(S.curCSS(c,"marginTop",true),10)||0,b+=parseInt(S.curCSS(c,"marginLeft",true),10)||0}return{top:a,left:b}}};S.fn.extend({position:function(){var b=0,c=0,e;if(this[0]){var d=this.offsetParent(),a=this.offset(),f=/^body|html$/i.test(d[0].tagName)?{top:0,left:0}:d.offset();a.top-=W(this,"marginTop");a.left-=W(this,"marginLeft");f.top+=W(d,"borderTopWidth");f.left+=W(d,"borderLeftWidth");e={top:a.top-f.top,left:a.left-f.left}}return e},offsetParent:function(){var a=this[0].offsetParent||document.body;while(a&&(!/^body|html$/i.test(a.tagName)&&S.css(a,"position")=="static")){a=a.offsetParent}return S(a)}});S.each(["Left","Top"],function(b,c){var a="scroll"+c;S.fn[a]=function(d){if(!this[0]){return null}return d!==Z?this.each(function(){this==U||this==document?U.scrollTo(!b?d:S(U).scrollLeft(),b?d:S(U).scrollTop()):this[a]=d}):this[0]==U||this[0]==document?self[b?"pageYOffset":"pageXOffset"]||S.boxModel&&document.documentElement[a]||document.body[a]:this[0][a]}});S.each(["Height","Width"],function(b,d){var e=b?"Left":"Top",c=b?"Right":"Bottom";S.fn["inner"+d]=function(){return this[d.toLowerCase()]()+W(this,"padding"+e)+W(this,"padding"+c)};S.fn["outer"+d]=function(f){return this["inner"+d]()+W(this,"border"+e+"Width")+W(this,"border"+c+"Width")+(f?W(this,"margin"+e)+W(this,"margin"+c):0)};var a=d.toLowerCase();S.fn[a]=function(f){return this[0]==U?document.compatMode=="CSS1Compat"&&document.documentElement["client"+d]||document.body["client"+d]:this[0]==document?Math.max(document.documentElement["client"+d],document.body["scroll"+d],document.documentElement["scroll"+d],document.body["offset"+d],document.documentElement["offset"+d]):f===Z?(this.length?S.css(this[0],a):null):this.css(a,typeof f==="string"?f:f+"px")}})})();(function(d){d.each(["backgroundColor","borderBottomColor","borderLeftColor","borderRightColor","borderTopColor","color","outlineColor"],function(f,e){d.fx.step[e]=function(g){if(g.state==0){g.start=c(g.elem,e);g.end=b(g.end)}g.elem.style[e]="rgb("+[Math.max(Math.min(parseInt((g.pos*(g.end[0]-g.start[0]))+g.start[0]),255),0),Math.max(Math.min(parseInt((g.pos*(g.end[1]-g.start[1]))+g.start[1]),255),0),Math.max(Math.min(parseInt((g.pos*(g.end[2]-g.start[2]))+g.start[2]),255),0)].join(",")+")"}});function b(f){var e;if(f&&f.constructor==Array&&f.length==3){return f}if(e=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(f)){return[parseInt(e[1]),parseInt(e[2]),parseInt(e[3])]}if(e=/rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(f)){return[parseFloat(e[1])*2.55,parseFloat(e[2])*2.55,parseFloat(e[3])*2.55]}if(e=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(f)){return[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]}if(e=/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(f)){return[parseInt(e[1]+e[1],16),parseInt(e[2]+e[2],16),parseInt(e[3]+e[3],16)]}return a[d.trim(f).toLowerCase()]}function c(g,e){var f;do{f=d.curCSS(g,e);if(f!=""&&f!="transparent"||d.nodeName(g,"body")){break}e="backgroundColor"}while(g=g.parentNode);return b(f)}var a={aqua:[0,255,255],azure:[240,255,255],beige:[245,245,220],black:[0,0,0],blue:[0,0,255],brown:[165,42,42],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgrey:[169,169,169],darkgreen:[0,100,0],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkviolet:[148,0,211],fuchsia:[255,0,255],gold:[255,215,0],green:[0,128,0],indigo:[75,0,130],khaki:[240,230,140],lightblue:[173,216,230],lightcyan:[224,255,255],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightyellow:[255,255,224],lime:[0,255,0],magenta:[255,0,255],maroon:[128,0,0],navy:[0,0,128],olive:[128,128,0],orange:[255,165,0],pink:[255,192,203],purple:[128,0,128],violet:[128,0,128],red:[255,0,0],silver:[192,192,192],white:[255,255,255],yellow:[255,255,0]}})(jQuery);(function(b){b.ifixpng=function(c){b.ifixpng.pixel=c};b.ifixpng.regexp={bg:/^url\(["']?(.*\.png([?].*)?)["']?\)$/i,img:/.*\.png([?].*)?$/i},b.ifixpng.getPixel=function(){return b.ifixpng.pixel||"/sites/all/themes/cepic/_lib/images/pixel.gif"};var a={base:b("base").attr("href"),ltie7:b.browser.msie&&b.browser.version<7,filter:function(c){return"progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true,sizingMethod=crop,src='"+c+"')"}};b.fn.ifixpng=a.ltie7?function(){function c(h,g,e,d,f){h.css({filter:a.filter(g),width:e,height:d}).attr({src:b.ifixpng.getPixel()}).positionFix()}return this.each(function(){var f=b(this);if(f.is("img")||f.is("input")){var h,e;if(this.src&&this.src.match(b.ifixpng.regexp.img)){h=(a.base&&this.src.substring(0,1)!="/"&&this.src.indexOf(a.base)===-1)?a.base+this.src:this.src;if(!this.width||!this.height){b(new Image()).one("load",function(){c(f,h,this.width,this.height);b(this).remove()}).attr("src",h)}else{c(f,h,this.width,this.height)}}}else{if(this.style){var j=f.css("backgroundImage");if(j&&j.match(b.ifixpng.regexp.bg)&&this.currentStyle.backgroundRepeat=="no-repeat"){j=RegExp.$1;var d=this.currentStyle.backgroundPositionX||0,k=this.currentStyle.backgroundPositionY||0;if(d||k){var g={},e;if(typeof d!="undefined"){if(d=="left"){g.left=0}else{if(d=="right"){g.right=f.width()%2===1?-1:0}else{g.left=d}}}if(typeof k!="undefined"){if(k=="bottom"){g.bottom=f.height()%2===1?-1:0}else{if(k=="top"){g.top=0}else{g.top=k}}}e=new Image();b(e).one("load",function(){var l,p,n={},o;if(/center|%/.test(g.top)){n.top="(this.parentNode.offsetHeight - this.offsetHeight) * "+(g.top=="center"?0.5:(parseInt(g.top)/100));delete g.top}if(/center|%/.test(g.left)){n.left="(this.parentNode.offsetWidth - this.offsetWidth) * "+(g.left=="center"?0.5:(parseInt(g.left)/100));delete g.left}f.positionFix().css({backgroundImage:"none"}).prepend(b("<div></div>").css(g).css({width:this.width,height:this.height,position:"absolute",filter:a.filter(j)}));if(n.top||n.left){var m=f.children(":first")[0];for(o in n){m.style.setExpression(o,n[o],"JavaScript")}}b(this).remove()});e.src=j}else{f.css({backgroundImage:"none",filter:a.filter(j)})}}}}})}:function(){return this};b.fn.positionFix=function(){return this.each(function(){var c=b(this);if(c.css("position")!="absolute"){c.css({position:"relative"})}})}})(jQuery);jQuery(document).ready(function(){jQuery("img").ifixpng()});(function(g){g.tools=g.tools||{};g.tools.tabs={version:"1.0.4",conf:{tabs:"a",current:"current",onBeforeClick:null,onClick:null,effect:"default",initialIndex:0,event:"click",api:false,rotate:false},addEffect:function(b,a){h[b]=a}};var h={"default":function(a,b){this.getPanes().hide().eq(a).show();b.call()},fade:function(c,k){var d=this.getConf(),a=d.fadeOutSpeed,b=this.getPanes();if(a){b.fadeOut(a)}else{b.hide()}b.eq(c).fadeIn(d.fadeInSpeed,k)},slide:function(a,b){this.getPanes().slideUp(200);this.getPanes().eq(a).slideDown(400,b)},ajax:function(a,b){this.getPanes().eq(0).load(this.getTabs().eq(a).attr("href"),b)}};var e;g.tools.tabs.addEffect("horizontal",function(a,b){if(!e){e=this.getPanes().eq(0).width()}this.getCurrentPane().animate({width:0},function(){g(this).hide()});this.getPanes().eq(a).animate({width:e},function(){g(this).show();b.call()})});function f(d,c,k){var l=this,a=g(this),b;g.each(k,function(m,j){if(g.isFunction(j)){a.bind(m,j)}});g.extend(this,{click:function(q,s){var r=l.getCurrentPane();var p=d.eq(q);if(typeof q=="string"&&q.replace("#","")){p=d.filter("[href*="+q.replace("#","")+"]");q=Math.max(d.index(p),0)}if(k.rotate){var j=d.length-1;if(q<0){return l.click(j,s)}if(q>j){return l.click(0,s)}}if(!p.length){if(b>=0){return l}q=k.initialIndex;p=d.eq(q)}if(q===b){return l}s=s||g.Event();s.type="onBeforeClick";a.trigger(s,[q]);if(s.isDefaultPrevented()){return}h[k.effect].call(l,q,function(){s.type="onClick";a.trigger(s,[q])});s.type="onStart";a.trigger(s,[q]);if(s.isDefaultPrevented()){return}b=q;d.removeClass(k.current);p.addClass(k.current);return l},getConf:function(){return k},getTabs:function(){return d},getPanes:function(){return c},getCurrentPane:function(){return c.eq(b)},getCurrentTab:function(){return d.eq(b)},getIndex:function(){return b},next:function(){return l.click(b+1)},prev:function(){return l.click(b-1)},bind:function(m,j){a.bind(m,j);return l},onBeforeClick:function(j){return this.bind("onBeforeClick",j)},onClick:function(j){return this.bind("onClick",j)},unbind:function(j){a.unbind(j);return l}});d.each(function(j){g(this).bind(k.event,function(m){l.click(j,m);return false})});if(location.hash){l.click(location.hash)}else{if(k.initialIndex===0||k.initialIndex>0){l.click(k.initialIndex)}}c.find("a[href^=#]").click(function(j){l.click(g(this).attr("href"),j)})}g.fn.tabs=function(a,d){var c=this.eq(typeof d=="number"?d:0).data("tabs");if(c){return c}if(g.isFunction(d)){d={onBeforeClick:d}}var b=g.extend({},g.tools.tabs.conf),j=this.length;d=g.extend(b,d);this.each(function(o){var q=g(this);var p=q.find(d.tabs);if(!p.length){p=q.children()}var n=a.jquery?a:q.children(a);if(!n.length){n=j==1?g(a):q.parent().find(a)}c=new f(p,n,d);q.data("tabs",c)});return d.api?c:this}})(jQuery);(function(c){var d=c.tools.tabs;d.plugins=d.plugins||{};d.plugins.slideshow={version:"1.0.2",conf:{next:".forward",prev:".backward",disabledClass:"disabled",autoplay:false,autopause:true,interval:3000,clickable:true,api:false}};c.prototype.slideshow=function(b){var a=c.extend({},d.plugins.slideshow.conf),h=this.length,g;b=c.extend(a,b);this.each(function(){var t=c(this),w=t.tabs(),A=c(w),u=w;c.each(b,function(k,j){if(c.isFunction(j)){w.bind(k,j)}});function v(j){return h==1?c(j):t.parent().find(j)}var D=v(b.next).click(function(){w.next()});var f=v(b.prev).click(function(){w.prev()});var B,z,x,C=false;c.extend(w,{play:function(){if(B){return}var j=c.Event("onBeforePlay");A.trigger(j);if(j.isDefaultPrevented()){return w}C=false;B=setInterval(w.next,b.interval);A.trigger("onPlay");w.next()},pause:function(){if(!B){return w}var j=c.Event("onBeforePause");A.trigger(j);if(j.isDefaultPrevented()){return w}B=clearInterval(B);x=clearInterval(x);A.trigger("onPause")},stop:function(){w.pause();C=true},onBeforePlay:function(j){return w.bind("onBeforePlay",j)},onPlay:function(j){return w.bind("onPlay",j)},onBeforePause:function(j){return w.bind("onBeforePause",j)},onPause:function(j){return w.bind("onPause",j)}});if(b.autopause){var y=w.getTabs().add(D).add(f).add(w.getPanes());y.hover(function(){w.pause();z=clearInterval(z)},function(){if(!C){z=setTimeout(w.play,b.interval)}})}if(b.autoplay){x=setTimeout(w.play,b.interval)}else{w.stop()}if(b.clickable){w.getPanes().click(function(){w.next()})}if(!w.getConf().rotate){var e=b.disabledClass;if(!w.getIndex()){f.addClass(e)}w.onBeforeClick(function(j,k){if(!k){f.addClass(e)}else{f.removeClass(e);if(k==w.getTabs().length-1){D.addClass(e)}else{D.removeClass(e)}}})}});return b.api?g:this}})(jQuery);(function(j){var g=j.tools.tabs;g.plugins=g.plugins||{};g.plugins.history={version:"1.0.2",conf:{api:false}};var h,f;function k(b){if(b){var a=f.contentWindow.document;a.open().close();a.location.hash=b}}j.fn.onHash=function(a){var b=this;if(j.browser.msie&&j.browser.version<"8"){if(!f){f=j("<iframe/>").attr("src","javascript:false;").hide().get(0);j("body").append(f);setInterval(function(){var d=f.contentWindow.document,c=d.location.hash;if(h!==c){j.event.trigger("hash",c);h=c}},100);k(location.hash||"#")}b.bind("click.hash",function(c){k(j(this).attr("href"))})}else{setInterval(function(){var c=location.hash;var d=b.filter("[href$="+c+"]");if(!d.length){c=c.replace("#","");d=b.filter("[href$="+c+"]")}if(d.length&&c!==h){h=c;j.event.trigger("hash",c)}},100)}j(window).bind("hash",a);return this};j.fn.history=function(b){var a=j.extend({},g.plugins.history.conf),c;b=j.extend(a,b);this.each(function(){var d=j(this).tabs(),e=d.getTabs();if(d){c=d}e.onHash(function(n,m){if(!m||m=="#"){m=d.getConf().initialIndex}d.click(m)});e.click(function(l){location.hash=j(this).attr("href").replace("#","")})});return b.api?c:this}})(jQuery);(function(h){var g=[];h.tools=h.tools||{};h.tools.tooltip={version:"1.1.2",conf:{effect:"toggle",fadeOutSpeed:"fast",tip:null,predelay:0,delay:30,opacity:1,lazy:undefined,position:["top","center"],offset:[0,0],cancelDefault:true,relative:false,oneInstance:true,events:{def:"mouseover,mouseout",input:"focus,blur",widget:"focus mouseover,blur mouseout",tooltip:"mouseover,mouseout"},api:false},addEffect:function(c,a,b){e[c]=[a,b]}};var e={toggle:[function(d){var c=this.getConf(),b=this.getTip(),a=c.opacity;if(a<1){b.css({opacity:a})}b.show();d.call()},function(a){this.getTip().hide();a.call()}],fade:[function(a){this.getTip().fadeIn(this.getConf().fadeInSpeed,a)},function(a){this.getTip().fadeOut(this.getConf().fadeOutSpeed,a)}]};function f(w,v){var a=this,r=h(this);w.data("tooltip",a);var q=w.next();if(v.tip){q=h(v.tip);if(q.length>1){q=w.nextAll(v.tip).eq(0);if(!q.length){q=w.parent().nextAll(v.tip).eq(0)}}}function b(k){var l=v.relative?w.position().top:w.offset().top,m=v.relative?w.position().left:w.offset().left,j=v.position[0];l-=q.outerHeight()-v.offset[0];m+=w.outerWidth()+v.offset[1];var o=q.outerHeight()+w.outerHeight();if(j=="center"){l+=o/2}if(j=="bottom"){l+=o}j=v.position[1];var n=q.outerWidth()+w.outerWidth();if(j=="center"){m-=n/2}if(j=="left"){m-=n}return{top:l,left:m}}var t=w.is(":input"),x=t&&w.is(":checkbox, :radio, select, :button"),u=w.attr("type"),c=v.events[u]||v.events[t?(x?"widget":"input"):"def"];c=c.split(/,\s*/);if(c.length!=2){throw"Tooltip: bad events configuration for "+u}w.bind(c[0],function(j){if(v.oneInstance){h.each(g,function(){this.hide()})}var k=q.data("trigger");if(k&&k[0]!=this){q.hide().stop(true,true)}j.target=this;a.show(j);c=v.events.tooltip.split(/,\s*/);q.bind(c[0],function(){a.show(j)});if(c[1]){q.bind(c[1],function(){a.hide(j)})}});w.bind(c[1],function(j){a.hide(j)});if(!h.browser.msie&&!t&&!v.predelay){w.mousemove(function(){if(!a.isShown()){w.triggerHandler("mouseover")}})}if(v.opacity<1){q.css("opacity",v.opacity)}var d=0,s=w.attr("title");if(s&&v.cancelDefault){w.removeAttr("title");w.data("title",s)}h.extend(a,{show:function(j){if(j){w=h(j.target)}clearTimeout(q.data("timer"));if(q.is(":animated")||q.is(":visible")){return a}function k(){q.data("trigger",w);var l=b(j);if(v.tip&&s){q.html(w.data("title"))}j=j||h.Event();j.type="onBeforeShow";r.trigger(j,[l]);if(j.isDefaultPrevented()){return a}l=b(j);q.css({position:"absolute",top:l.top,left:l.left});var m=e[v.effect];if(!m){throw'Nonexistent effect "'+v.effect+'"'}m[0].call(a,function(){j.type="onShow";r.trigger(j)})}if(v.predelay){clearTimeout(d);d=setTimeout(k,v.predelay)}else{k()}return a},hide:function(j){clearTimeout(q.data("timer"));clearTimeout(d);if(!q.is(":visible")){return}function k(){j=j||h.Event();j.type="onBeforeHide";r.trigger(j);if(j.isDefaultPrevented()){return}e[v.effect][1].call(a,function(){j.type="onHide";r.trigger(j)})}if(v.delay&&j){q.data("timer",setTimeout(k,v.delay))}else{k()}return a},isShown:function(){return q.is(":visible, :animated")},getConf:function(){return v},getTip:function(){return q},getTrigger:function(){return w},bind:function(k,j){r.bind(k,j);return a},onHide:function(j){return this.bind("onHide",j)},onBeforeShow:function(j){return this.bind("onBeforeShow",j)},onShow:function(j){return this.bind("onShow",j)},onBeforeHide:function(j){return this.bind("onBeforeHide",j)},unbind:function(j){r.unbind(j);return a}});h.each(v,function(k,j){if(h.isFunction(j)){a.bind(k,j)}})}h.prototype.tooltip=function(c){var b=this.eq(typeof c=="number"?c:0).data("tooltip");if(b){return b}var a=h.extend(true,{},h.tools.tooltip.conf);if(h.isFunction(c)){c={onBeforeShow:c}}else{if(typeof c=="string"){c={tip:c}}}c=h.extend(true,a,c);if(typeof c.position=="string"){c.position=c.position.split(/,?\s/)}if(c.lazy!==false&&(c.lazy===true||this.length>20)){this.one("mouseover",function(d){b=new f(h(this),c);b.show(d);g.push(b)})}else{this.each(function(){b=new f(h(this),c);g.push(b)})}return c.api?b:this}})(jQuery);(function(d){var e=d.tools.tooltip;e.effects=e.effects||{};e.effects.slide={version:"1.0.0"};d.extend(e.conf,{direction:"up",bounce:false,slideOffset:10,slideInSpeed:200,slideOutSpeed:200,slideFade:!d.browser.msie});var f={up:["-","top"],down:["+","top"],left:["-","left"],right:["+","left"]};d.tools.tooltip.addEffect("slide",function(k){var c=this.getConf(),b=this.getTip(),a=c.slideFade?{opacity:c.opacity}:{},j=f[c.direction]||f.up;a[j[1]]=j[0]+"="+c.slideOffset;if(c.slideFade){b.css({opacity:0})}b.show().animate(a,c.slideInSpeed,k)},function(k){var c=this.getConf(),a=c.slideOffset,b=c.slideFade?{opacity:0}:{},j=f[c.direction]||f.up;var l=""+j[0];if(c.bounce){l=l=="+"?"-":"+"}b[j[1]]=l+"="+a;this.getTip().animate(b,c.slideOutSpeed,function(){d(this).hide();k.call()})})})(jQuery);(function(g){var h=g.tools.tooltip;h.plugins=h.plugins||{};h.plugins.dynamic={version:"1.0.1",conf:{api:false,classNames:"top right bottom left"}};function e(a){var d=g(window);var b=d.width()+d.scrollLeft();var c=d.height()+d.scrollTop();return[a.offset().top<=d.scrollTop(),b<=a.offset().left+a.width(),c<=a.offset().top+a.height(),d.scrollLeft()>=a.offset().left]}function f(a){var b=a.length;while(b--){if(a[b]){return false}}return true}g.fn.dynamic=function(c){var b=g.extend({},h.plugins.dynamic.conf),d;if(typeof c=="number"){c={speed:c}}c=g.extend(b,c);var j=c.classNames.split(/\s/),a;this.each(function(){if(g(this).tooltip().jquery){throw"Lazy feature not supported by dynamic plugin. set lazy: false for tooltip"}var k=g(this).tooltip().onBeforeShow(function(t,s){var p=this.getTip(),q=this.getConf();if(!a){a=[q.position[0],q.position[1],q.offset[0],q.offset[1],g.extend({},q)]}g.extend(q,a[4]);q.position=[a[0],a[1]];q.offset=[a[2],a[3]];p.css({visibility:"hidden",position:"absolute",top:s.top,left:s.left}).show();var r=e(p);if(!f(r)){if(r[2]){g.extend(q,c.top);q.position[0]="top";p.addClass(j[0])}if(r[3]){g.extend(q,c.right);q.position[1]="right";p.addClass(j[1])}if(r[0]){g.extend(q,c.bottom);q.position[0]="bottom";p.addClass(j[2])}if(r[1]){g.extend(q,c.left);q.position[1]="left";p.addClass(j[3])}if(r[0]||r[2]){q.offset[0]*=-1}if(r[1]||r[3]){q.offset[1]*=-1}}p.css({visibility:"visible"}).hide()});k.onShow(function(){var m=this.getConf(),n=this.getTip();m.position=[a[0],a[1]];m.offset=[a[2],a[3]]});k.onHide(function(){var l=this.getTip();l.removeClass(c.classNames)});d=k});return c.api?d:this}})(jQuery);(function(d){d.tools=d.tools||{};d.tools.scrollable={version:"1.1.2",conf:{size:5,vertical:false,speed:400,keyboard:true,keyboardSteps:null,disabledClass:"disabled",hoverClass:null,clickable:true,activeClass:"active",easing:"swing",loop:false,items:".items",item:null,prev:".prev",next:".next",prevPage:".prevPage",nextPage:".nextPage",api:false}};var f;function e(s,u){var a=this,c=d(this),D=!u.vertical,C=s.children(),w=0,y;if(!f){f=a}d.each(u,function(h,g){if(d.isFunction(g)){c.bind(h,g)}});if(C.length>1){C=d(u.items,s)}function v(g){var h=d(g);return u.globalNav?h:s.parent().find(g)}s.data("finder",v);var B=v(u.prev),z=v(u.next),A=v(u.prevPage),t=v(u.nextPage);d.extend(a,{getIndex:function(){return w},getClickIndex:function(){var g=a.getItems();return g.index(g.filter("."+u.activeClass))},getConf:function(){return u},getSize:function(){return a.getItems().size()},getPageAmount:function(){return Math.ceil(this.getSize()/u.size)},getPageIndex:function(){return Math.ceil(w/u.size)},getNaviButtons:function(){return B.add(z).add(A).add(t)},getRoot:function(){return s},getItemWrap:function(){return C},getItems:function(){return C.children(u.item)},getVisibleItems:function(){return a.getItems().slice(w,w+u.size)},seekTo:function(m,h,l){if(m<0){m=0}if(w===m){return a}if(d.isFunction(h)){l=h}if(m>a.getSize()-u.size){return u.loop?a.begin():this.end()}var k=a.getItems().eq(m);if(!k.length){return a}var j=d.Event("onBeforeSeek");c.trigger(j,[m]);if(j.isDefaultPrevented()){return a}if(h===undefined||d.isFunction(h)){h=u.speed}function g(){if(l){l.call(a,m)}c.trigger("onSeek",[m])}if(D){C.animate({left:-k.position().left},h,u.easing,g)}else{C.animate({top:-k.position().top},h,u.easing,g)}f=a;w=m;j=d.Event("onStart");c.trigger(j,[m]);if(j.isDefaultPrevented()){return a}B.add(A).toggleClass(u.disabledClass,m===0);z.add(t).toggleClass(u.disabledClass,m>=a.getSize()-u.size);return a},move:function(g,h,j){y=g>0;return this.seekTo(w+g,h,j)},next:function(g,h){return this.move(1,g,h)},prev:function(g,h){return this.move(-1,g,h)},movePage:function(g,h,j){y=g>0;var l=u.size*g;var k=w%u.size;if(k>0){l+=(g>0?-k:u.size-k)}return this.move(l,h,j)},prevPage:function(g,h){return this.movePage(-1,g,h)},nextPage:function(g,h){return this.movePage(1,g,h)},setPage:function(h,g,j){return this.seekTo(h*u.size,g,j)},begin:function(g,h){y=false;return this.seekTo(0,g,h)},end:function(h,j){y=true;var g=this.getSize()-u.size;return g>0?this.seekTo(g,h,j):a},reload:function(){c.trigger("onReload");return a},focus:function(){f=a;return a},click:function(k){var j=a.getItems().eq(k),m=u.activeClass,l=u.size;if(k<0||k>=a.getSize()){return a}if(l==1){if(u.loop){return a.next()}if(k===0||k==a.getSize()-1){y=(y===undefined)?true:!y}return y===false?a.prev():a.next()}if(l==2){if(k==w){k--}a.getItems().removeClass(m);j.addClass(m);return a.seekTo(k,time,fn)}if(!j.hasClass(m)){a.getItems().removeClass(m);j.addClass(m);var g=Math.floor(l/2);var h=k-g;if(h>a.getSize()-l){h=a.getSize()-l}if(h!==k){return a.seekTo(h)}}return a},bind:function(h,g){c.bind(h,g);return a},unbind:function(g){c.unbind(g);return a}});d.each("onBeforeSeek,onStart,onSeek,onReload".split(","),function(h,g){a[g]=function(j){return a.bind(g,j)}});B.addClass(u.disabledClass).click(function(){a.prev()});z.click(function(){a.next()});t.click(function(){a.nextPage()});if(a.getSize()<u.size){z.add(t).addClass(u.disabledClass)}A.addClass(u.disabledClass).click(function(){a.prevPage()});var x=u.hoverClass,b="keydown."+Math.random().toString().substring(10);a.onReload(function(){if(x){a.getItems().hover(function(){d(this).addClass(x)},function(){d(this).removeClass(x)})}if(u.clickable){a.getItems().each(function(g){d(this).unbind("click.scrollable").bind("click.scrollable",function(h){if(d(h.target).is("a")){return}return a.click(g)})})}if(u.keyboard){d(document).unbind(b).bind(b,function(h){if(h.altKey||h.ctrlKey){return}if(u.keyboard!="static"&&f!=a){return}var g=u.keyboardSteps;if(D&&(h.keyCode==37||h.keyCode==39)){a.move(h.keyCode==37?-g:g);return h.preventDefault()}if(!D&&(h.keyCode==38||h.keyCode==40)){a.move(h.keyCode==38?-g:g);return h.preventDefault()}return true})}else{d(document).unbind(b)}});a.reload()}d.fn.scrollable=function(c){var b=this.eq(typeof c=="number"?c:0).data("scrollable");if(b){return b}var a=d.extend({},d.tools.scrollable.conf);c=d.extend(a,c);c.keyboardSteps=c.keyboardSteps||c.size;this.each(function(){b=new e(d(this),c);d(this).data("scrollable",b)});return c.api?b:this}})(jQuery);(function(c){var d=c.tools.scrollable;d.plugins=d.plugins||{};d.plugins.circular={version:"0.5.1",conf:{api:false,clonedClass:"cloned"}};c.fn.circular=function(a){var b=c.extend({},d.plugins.circular.conf),f;c.extend(b,a);this.each(function(){var s=c(this).scrollable(),e=s.getItems(),q=s.getConf(),v=s.getItemWrap(),r=0;if(s){f=s}if(e.length<q.size){return false}e.slice(0,q.size).each(function(g){c(this).clone().appendTo(v).click(function(){s.click(e.length+g)}).addClass(b.clonedClass)});var p=c.makeArray(e.slice(-q.size)).reverse();c(p).each(function(g){c(this).clone().prependTo(v).click(function(){s.click(-g-1)}).addClass(b.clonedClass)});var o=v.children(q.item);var t=q.hoverClass;if(t){o.hover(function(){c(this).addClass(t)},function(){c(this).removeClass(t)})}function u(h){var g=o.eq(h);if(q.vertical){v.css({top:-g.position().top})}else{v.css({left:-g.position().left})}}u(q.size);c.extend(s,{move:function(j,k,m,l){var g=r+j+q.size;var h=g>s.getSize()-q.size;if(g<=0||h){var n=r+q.size+(h?-e.length:e.length);u(n);g=n+j}if(l){o.removeClass(q.activeClass).eq(g+Math.floor(q.size/2)).addClass(q.activeClass)}if(g===r+q.size){return self}return s.seekTo(g,k,m)},begin:function(g,h){return this.seekTo(q.size,g,h)},end:function(g,h){return this.seekTo(e.length,g,h)},click:function(k,h,j){if(!q.clickable){return self}if(q.size==1){return this.next()}var g=k-r,l=q.activeClass;g-=Math.floor(q.size/2);return this.move(g,h,j,true)},getIndex:function(){return r},setPage:function(h,g,j){return this.seekTo(h*q.size+q.size,g,j)},getPageAmount:function(){return Math.ceil(e.length/q.size)},getPageIndex:function(){if(r<0){return this.getPageAmount()-1}if(r>=e.length){return 0}var g=(r+q.size)/q.size-1;return g},getVisibleItems:function(){var g=r+q.size;return o.slice(g,g+q.size)}});s.onStart(function(g,h){r=h-q.size;return false});s.getNaviButtons().removeClass(q.disabledClass)});return b.api?f:this}})(jQuery);(function(c){var d=c.tools.scrollable;d.plugins=d.plugins||{};d.plugins.autoscroll={version:"1.0.1",conf:{autoplay:true,interval:3000,autopause:true,steps:1,api:false}};c.fn.autoscroll=function(b){if(typeof b=="number"){b={interval:b}}var a=c.extend({},d.plugins.autoscroll.conf),f;c.extend(a,b);this.each(function(){var k=c(this).scrollable();if(k){f=k}var e,l,j=true;k.play=function(){if(e){return}j=false;e=setInterval(function(){k.move(a.steps)},a.interval);k.move(a.steps)};k.pause=function(){e=clearInterval(e)};k.stop=function(){k.pause();j=true};if(a.autopause){k.getRoot().add(k.getNaviButtons()).hover(function(){k.pause();clearInterval(l)},function(){if(!j){l=setTimeout(k.play,a.interval)}})}if(a.autoplay){setTimeout(k.play,a.interval)}});return a.api?f:this}})(jQuery);(function(c){var d=c.tools.scrollable;d.plugins=d.plugins||{};d.plugins.navigator={version:"1.0.2",conf:{navi:".navi",naviItem:null,activeClass:"active",indexed:false,api:false,idPrefix:null}};c.fn.navigator=function(b){var a=c.extend({},d.plugins.navigator.conf),f;if(typeof b=="string"){b={navi:b}}b=c.extend(a,b);this.each(function(){var o=c(this).scrollable(),r=o.getRoot(),e=r.data("finder").call(null,b.navi),q=null,m=o.getNaviButtons();if(o){f=o}o.getNaviButtons=function(){return m.add(e)};function n(){if(!e.children().length||e.data("navi")==o){e.empty();e.data("navi",o);for(var g=0;g<o.getPageAmount();g++){e.append(c("<"+(b.naviItem||"a")+"/>"))}q=e.children().each(function(j){var h=c(this);h.click(function(k){o.setPage(j);return k.preventDefault()});if(b.indexed){h.text(j)}if(b.idPrefix){h.attr("id",b.idPrefix+j)}})}else{q=b.naviItem?e.find(b.naviItem):e.children();q.each(function(j){var h=c(this);h.click(function(k){o.setPage(j);return k.preventDefault()})})}q.eq(0).addClass(b.activeClass)}o.onStart(function(h,j){var g=b.activeClass;q.removeClass(g).eq(o.getPageIndex()).addClass(g)});o.onReload(function(){n()});n();var p=q.filter("[href="+location.hash+"]");if(p.length){o.move(q.index(p))}});return b.api?f:this}})(jQuery);(function(e){e.fn.wheel=function(a){return this[a?"bind":"trigger"]("wheel",a)};e.event.special.wheel={setup:function(){e.event.add(this,g,h,{})},teardown:function(){e.event.remove(this,g,h)}};var g=!e.browser.mozilla?"mousewheel":"DOMMouseScroll"+(e.browser.version<"1.9"?" mousemove":"");function h(a){switch(a.type){case"mousemove":return e.extend(a.data,{clientX:a.clientX,clientY:a.clientY,pageX:a.pageX,pageY:a.pageY});case"DOMMouseScroll":e.extend(a,a.data);a.delta=-a.detail/3;break;case"mousewheel":a.delta=a.wheelDelta/120;break}a.type="wheel";return e.event.handle.call(this,a,a.delta)}var f=e.tools.scrollable;f.plugins=f.plugins||{};f.plugins.mousewheel={version:"1.0.1",conf:{api:false,speed:50}};e.fn.mousewheel=function(b){var a=e.extend({},f.plugins.mousewheel.conf),c;if(typeof b=="number"){b={speed:b}}b=e.extend(a,b);this.each(function(){var d=e(this).scrollable();if(d){c=d}d.getRoot().wheel(function(l,k){d.move(k<0?1:-1,b.speed||50);return false})});return b.api?c:this}})(jQuery);(function(h){h.tools=h.tools||{};h.tools.overlay={version:"1.1.2",addEffect:function(c,b,a){e[c]=[b,a]},conf:{top:"10%",left:"center",absolute:false,speed:"normal",closeSpeed:"fast",effect:"default",close:null,oneInstance:true,closeOnClick:true,closeOnEsc:true,api:false,expose:null,target:null}};var e={};h.tools.overlay.addEffect("default",function(a){this.getOverlay().fadeIn(this.getConf().speed,a)},function(a){this.getOverlay().fadeOut(this.getConf().closeSpeed,a)});var g=[];function f(t,p){var a=this,c=h(this),b=h(window),q,r,s,v=p.expose&&h.tools.expose.version;var u=p.target||t.attr("rel");r=u?h(u):null||t;if(!r.length){throw"Could not find Overlay: "+u}if(t&&t.index(r)==-1){t.click(function(j){a.load(j);return j.preventDefault()})}h.each(p,function(k,j){if(h.isFunction(j)){c.bind(k,j)}});h.extend(a,{load:function(j){if(a.isOpened()){return a}var m=e[p.effect];if(!m){throw'Overlay: cannot find effect : "'+p.effect+'"'}if(p.oneInstance){h.each(g,function(){this.close(j)})}j=j||h.Event();j.type="onBeforeLoad";c.trigger(j);if(j.isDefaultPrevented()){return a}s=true;if(v){r.expose().load(j)}var k=p.top;var l=p.left;var o=r.outerWidth({margin:true});var n=r.outerHeight({margin:true});if(typeof k=="string"){k=k=="center"?Math.max((b.height()-n)/2,0):parseInt(k,10)/100*b.height()}if(l=="center"){l=Math.max((b.width()-o)/2,0)}if(!p.absolute){k+=b.scrollTop();l+=b.scrollLeft()}r.css({top:k,left:l,position:"absolute"});j.type="onStart";c.trigger(j);m[0].call(a,function(){if(s){j.type="onLoad";c.trigger(j)}});if(p.closeOnClick){h(document).bind("click.overlay",function(x){if(!a.isOpened()){return}var y=h(x.target);if(y.parents(r).length>1){return}h.each(g,function(){this.close(x)})})}if(p.closeOnEsc){h(document).unbind("keydown.overlay").bind("keydown.overlay",function(w){if(w.keyCode==27){h.each(g,function(){this.close(w)})}})}return a},close:function(j){if(!a.isOpened()){return a}j=j||h.Event();j.type="onBeforeClose";c.trigger(j);if(j.isDefaultPrevented()){return}s=false;e[p.effect][1].call(a,function(){j.type="onClose";c.trigger(j)});var k=true;h.each(g,function(){if(this.isOpened()){k=false}});if(k){h(document).unbind("click.overlay").unbind("keydown.overlay")}return a},getContent:function(){return r},getOverlay:function(){return r},getTrigger:function(){return t},getClosers:function(){return q},isOpened:function(){return s},getConf:function(){return p},bind:function(k,j){c.bind(k,j);return a},unbind:function(j){c.unbind(j);return a}});h.each("onBeforeLoad,onStart,onLoad,onBeforeClose,onClose".split(","),function(k,j){a[j]=function(l){return a.bind(j,l)}});if(v){if(typeof p.expose=="string"){p.expose={color:p.expose}}h.extend(p.expose,{api:true,closeOnClick:p.closeOnClick,closeOnEsc:false});var d=r.expose(p.expose);d.onBeforeClose(function(j){a.close(j)});a.onClose(function(j){d.close(j)})}q=r.find(p.close||".close");if(!q.length&&!p.close){q=h('<div class="close"></div>');r.prepend(q)}q.click(function(j){a.close(j)})}h.fn.overlay=function(c){var b=this.eq(typeof c=="number"?c:0).data("overlay");if(b){return b}if(h.isFunction(c)){c={onBeforeLoad:c}}var a=h.extend({},h.tools.overlay.conf);c=h.extend(true,a,c);this.each(function(){b=new f(h(this),c);g.push(b);h(this).data("overlay",b)});return c.api?b:this}})(jQuery);(function(c){var d=c.tools.overlay;d.plugins=d.plugins||{};d.plugins.gallery={version:"1.0.0",conf:{imgId:"img",next:".next",prev:".prev",info:".info",progress:".progress",disabledClass:"disabled",activeClass:"active",opacity:0.8,speed:"slow",template:"<strong>${title}</strong> <span>Image ${index} of ${total}</span>",autohide:true,preload:true,api:false}};c.fn.gallery=function(E){var u=c.extend({},d.plugins.gallery.conf),w;c.extend(u,E);w=this.overlay();var a=this,z=w.getOverlay(),y=z.find(u.next),B=z.find(u.prev),D=z.find(u.info),F=z.find(u.progress),A=B.add(y).add(D).css({opacity:u.opacity}),G=w.getClosers(),x;function t(f){F.fadeIn();A.hide();G.hide();var g=f.attr("href");var e=new Image();e.onload=function(){F.fadeOut();var n=c("#"+u.imgId,z);if(!n.length){n=c("<img/>").attr("id",u.imgId).css("visibility","hidden");z.prepend(n)}n.attr("src",g).css("visibility","hidden");var l=e.width;var j=(c(window).width()-l)/2;x=a.index(a.filter("[href="+g+"]"));a.removeClass(u.activeClass).eq(x).addClass(u.activeClass);var k=u.disabledClass;A.removeClass(k);if(x===0){B.addClass(k)}if(x==a.length-1){y.addClass(k)}var m=u.template.replace("${title}",f.attr("title")||f.data("title")).replace("${index}",x+1).replace("${total}",a.length);var h=parseInt(D.css("paddingLeft"),10)+parseInt(D.css("paddingRight"),10);D.html(m).css({width:l-h});z.animate({width:l,height:e.height,left:j},u.speed,function(){n.hide().css("visibility","visible").fadeIn(function(){if(!u.autohide){A.fadeIn();G.show()}})})};e.onerror=function(){z.fadeIn().html("Cannot find image "+g)};e.src=g;if(u.preload){a.filter(":eq("+(x-1)+"), :eq("+(x+1)+")").each(function(){var h=new Image();h.src=c(this).attr("href")})}}function C(f,e){f.click(function(){if(f.hasClass(u.disabledClass)){return}var g=a.eq(i=x+(e?1:-1));if(g.length){t(g)}})}C(y,true);C(B);c(document).keydown(function(f){if(!z.is(":visible")||f.altKey||f.ctrlKey){return}if(f.keyCode==37||f.keyCode==39){var e=f.keyCode==37?B:y;e.click();return f.preventDefault()}return true});function b(){if(!z.is(":animated")){A.show();G.show()}}if(u.autohide){z.hover(b,function(){A.fadeOut();G.hide()}).mousemove(b)}var v;this.each(function(){var e=c(this),f=c(this).overlay(),g=f;f.onBeforeLoad(function(){t(e)});f.onClose(function(){a.removeClass(u.activeClass)})});return u.api?v:this}})(jQuery);(function(j){var f=j.tools.overlay;f.effects=f.effects||{};f.effects.apple={version:"1.0.1"};j.extend(f.conf,{start:{absolute:true,top:null,left:null},fadeInSpeed:"fast",zIndex:9999});function k(b){var a=b.offset();return[a.top+b.height()/2,a.left+b.width()/2]}var h=function(d){var s=this.getOverlay(),x=this.getConf(),u=this.getTrigger(),b=this,a=s.outerWidth({margin:true}),e=s.data("img");if(!e){var p=s.css("backgroundImage");if(!p){throw"background-image CSS property not set for overlay"}p=p.substring(p.indexOf("(")+1,p.indexOf(")")).replace(/\"/g,"");s.css("backgroundImage","none");e=j('<img src="'+p+'"/>');e.css({border:0,position:"absolute",display:"none"}).width(a);j("body").append(e);s.data("img",e)}var c=j(window),t=x.start.top||Math.round(c.height()/2),v=x.start.left||Math.round(c.width()/2);if(u){var w=k(u);t=w[0];v=w[1]}if(!x.start.absolute){t+=c.scrollTop();v+=c.scrollLeft()}e.css({top:t,left:v,width:0,zIndex:x.zIndex}).show();e.animate({top:s.css("top"),left:s.css("left"),width:a},x.speed,function(){s.css("zIndex",x.zIndex+1).fadeIn(x.fadeInSpeed,function(){if(b.isOpened()&&!j(this).index(s)){d.call()}else{s.hide()}})})};var g=function(n){var e=this.getOverlay(),d=this.getConf(),m=this.getTrigger(),a=d.start.top,b=d.start.left;e.hide();if(m){var c=k(m);a=c[0];b=c[1]}e.data("img").animate({top:a,left:b,width:0},d.closeSpeed,n)};f.addEffect("apple",h,g)})(jQuery);(function(d){d.tools=d.tools||{};d.tools.expose={version:"1.0.5",conf:{maskId:null,loadSpeed:"slow",closeSpeed:"fast",closeOnClick:true,closeOnEsc:true,zIndex:9998,opacity:0.8,color:"#456",api:false}};function e(){if(d.browser.msie){var a=d(document).height(),b=d(window).height();return[window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,a-b<20?b:a]}return[d(window).width(),d(document).height()]}function f(c,k){var m=this,a=d(this),n=null,l=false,b=0;d.each(k,function(h,g){if(d.isFunction(g)){a.bind(h,g)}});d(window).resize(function(){m.fit()});d.extend(this,{getMask:function(){return n},getExposed:function(){return c},getConf:function(){return k},isLoaded:function(){return l},load:function(o){if(l){return m}b=c.eq(0).css("zIndex");if(k.maskId){n=d("#"+k.maskId)}if(!n||!n.length){var h=e();n=d("<div/>").css({position:"absolute",top:0,left:0,width:h[0],height:h[1],display:"none",opacity:0,zIndex:k.zIndex});if(k.maskId){n.attr("id",k.maskId)}d("body").append(n);var j=n.css("backgroundColor");if(!j||j=="transparent"||j=="rgba(0, 0, 0, 0)"){n.css("backgroundColor",k.color)}if(k.closeOnEsc){d(document).bind("keydown.unexpose",function(p){if(p.keyCode==27){m.close()}})}if(k.closeOnClick){n.bind("click.unexpose",function(p){m.close(p)})}}o=o||d.Event();o.type="onBeforeLoad";a.trigger(o);if(o.isDefaultPrevented()){return m}d.each(c,function(){var p=d(this);if(!/relative|absolute|fixed/i.test(p.css("position"))){p.css("position","relative")}});c.css({zIndex:Math.max(k.zIndex+1,b=="auto"?0:b)});var g=n.height();if(!this.isLoaded()){n.css({opacity:0,display:"block"}).fadeTo(k.loadSpeed,k.opacity,function(){if(n.height()!=g){n.css("height",g)}o.type="onLoad";a.trigger(o)})}l=true;return m},close:function(g){if(!l){return m}g=g||d.Event();g.type="onBeforeClose";a.trigger(g);if(g.isDefaultPrevented()){return m}n.fadeOut(k.closeSpeed,function(){g.type="onClose";a.trigger(g);c.css({zIndex:d.browser.msie?b:null})});l=false;return m},fit:function(){if(n){var g=e();n.css({width:g[0],height:g[1]})}},bind:function(h,g){a.bind(h,g);return m},unbind:function(g){a.unbind(g);return m}});d.each("onBeforeLoad,onLoad,onBeforeClose,onClose".split(","),function(h,g){m[g]=function(j){return m.bind(g,j)}})}d.fn.expose=function(c){var b=this.eq(typeof c=="number"?c:0).data("expose");if(b){return b}if(typeof c=="string"){c={color:c}}var a=d.extend({},d.tools.expose.conf);c=d.extend(a,c);this.each(function(){b=new f(d(this),c);d(this).data("expose",b)});return c.api?b:this}})(jQuery);(function(){var p=typeof jQuery=="function";var l={width:"100%",height:"100%",allowfullscreen:true,allowscriptaccess:"always",quality:"high",version:null,onFail:null,expressInstall:null,w3c:false,cachebusting:false};if(p){jQuery.tools=jQuery.tools||{};jQuery.tools.flashembed={version:"1.0.4",conf:l}}function k(){if(r.done){return false}var a=document;if(a&&a.getElementsByTagName&&a.getElementById&&a.body){clearInterval(r.timer);r.timer=null;for(var b=0;b<r.ready.length;b++){r.ready[b].call()}r.ready=null;r.done=true}}var r=p?jQuery:function(a){if(r.done){return a()}if(r.timer){r.ready.push(a)}else{r.ready=[a];r.timer=setInterval(k,13)}};function o(a,b){if(b){for(key in b){if(b.hasOwnProperty(key)){a[key]=b[key]}}}return a}function n(c){switch(m(c)){case"string":c=c.replace(new RegExp('(["\\\\])',"g"),"\\$1");c=c.replace(/^\s?(\d+)%/,"$1pct");return'"'+c+'"';case"array":return"["+s(c,function(d){return n(d)}).join(",")+"]";case"function":return'"function()"';case"object":var b=[];for(var a in c){if(c.hasOwnProperty(a)){b.push('"'+a+'":'+n(c[a]))}}return"{"+b.join(",")+"}"}return String(c).replace(/\s/g," ").replace(/\'/g,'"')}function m(a){if(a===null||a===undefined){return false}var b=typeof a;return(b=="object"&&a.push)?"array":b}if(window.attachEvent){window.attachEvent("onbeforeunload",function(){__flash_unloadHandler=function(){};__flash_savedUnloadHandler=function(){}})}function s(c,d){var a=[];for(var b in c){if(c.hasOwnProperty(b)){a[b]=d(c[b])}}return a}function t(e,c){var f=o({},e);var d=document.all;var h='<object width="'+f.width+'" height="'+f.height+'"';if(d&&!f.id){f.id="_"+(""+Math.random()).substring(9)}if(f.id){h+=' id="'+f.id+'"'}if(f.cachebusting){f.src+=((f.src.indexOf("?")!=-1?"&":"?")+Math.random())}if(f.w3c||!d){h+=' data="'+f.src+'" type="application/x-shockwave-flash"'}else{h+=' classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'}h+=">";if(f.w3c||d){h+='<param name="movie" value="'+f.src+'" />'}f.width=f.height=f.id=f.w3c=f.src=null;for(var b in f){if(f[b]!==null){h+='<param name="'+b+'" value="'+f[b]+'" />'}}var g="";if(c){for(var a in c){if(c[a]!==null){g+=a+"="+(typeof c[a]=="object"?n(c[a]):c[a])+"&"}}g=g.substring(0,g.length-1);h+='<param name="flashvars" value=\''+g+"' />"}h+="</object>";return h}function q(a,f,b){var c=flashembed.getVersion();o(this,{getContainer:function(){return a},getConf:function(){return f},getVersion:function(){return c},getFlashvars:function(){return b},getApi:function(){return a.firstChild},getHTML:function(){return t(f,b)}});var e=f.version;var d=f.expressInstall;var g=!e||flashembed.isSupported(e);if(g){f.onFail=f.version=f.expressInstall=null;a.innerHTML=t(f,b)}else{if(e&&d&&flashembed.isSupported([6,65])){o(f,{src:d});b={MMredirectURL:location.href,MMplayerType:"PlugIn",MMdoctitle:document.title};a.innerHTML=t(f,b)}else{if(a.innerHTML.replace(/\s/g,"")!==""){}else{a.innerHTML="<h2>Flash version "+e+" or greater is required</h2><h3>"+(c[0]>0?"Your version is "+c:"You have no flash plugin installed")+"</h3>"+(a.tagName=="A"?"<p>Click here to download latest version</p>":"<p>Download latest version from <a href='http://www.adobe.com/go/getflashplayer'>here</a></p>");if(a.tagName=="A"){a.onclick=function(){location.href="http://www.adobe.com/go/getflashplayer"}}}}}if(!g&&f.onFail){var h=f.onFail.call(this);if(typeof h=="string"){a.innerHTML=h}}if(document.all){window[f.id]=document.getElementById(f.id)}}window.flashembed=function(b,a,c){if(typeof b=="string"){var e=document.getElementById(b);if(e){b=e}else{r(function(){flashembed(b,a,c)});return}}if(!b){return}if(typeof a=="string"){a={src:a}}var d=o({},l);o(d,a);return new q(b,d,c)};o(window.flashembed,{getVersion:function(){var a=[0,0];if(navigator.plugins&&typeof navigator.plugins["Shockwave Flash"]=="object"){var b=navigator.plugins["Shockwave Flash"].description;if(typeof b!="undefined"){b=b.replace(/^.*\s+(\S+\s+\S+$)/,"$1");var h=parseInt(b.replace(/^(.*)\..*$/,"$1"),10);var d=/r/.test(b)?parseInt(b.replace(/^.*r(.*)$/,"$1"),10):0;a=[h,d]}}else{if(window.ActiveXObject){try{var f=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7")}catch(e){try{f=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");a=[6,0];f.AllowScriptAccess="always"}catch(c){if(a[0]==6){return a}}try{f=new ActiveXObject("ShockwaveFlash.ShockwaveFlash")}catch(g){}}if(typeof f=="object"){b=f.GetVariable("$version");if(typeof b!="undefined"){b=b.replace(/^\S+\s+(.*)$/,"$1").split(",");a=[parseInt(b[0],10),parseInt(b[2],10)]}}}}return a},isSupported:function(c){var a=flashembed.getVersion();var b=(a[0]>c[0])||(a[0]==c[0]&&a[1]>=c[1]);return b},domReady:r,asString:n,getHTML:t});if(p){jQuery.fn.flashembed=function(b,c){var a=null;this.each(function(){a=flashembed(this,b,c)});return b.api===false?this:a}}})();jQuery(document).ready(function(){jQuery("ul.accordion.latest").tabs("ul.accordion.latest li p",{tabs:"h4",effect:"slide",initialIndex:null});jQuery("ul.accordion.cepic").tabs("ul.accordion.cepic li p",{tabs:"h4",effect:"slide",initialIndex:null});jQuery("ul.accordion.industry").tabs("ul.accordion.industry li p",{tabs:"h4",effect:"slide",initialIndex:null});jQuery("ul.accordion.copyright").tabs("ul.accordion.copyright li p",{tabs:"h4",effect:"slide",initialIndex:null});jQuery("ul.accordion.metadata").tabs("ul.accordion.metadata li p",{tabs:"h4",effect:"slide",initialIndex:null});jQuery("ul.accordion.keywording").tabs("ul.accordion.keywording li p",{tabs:"h4",effect:"slide",initialIndex:null});jQuery("ul.accordion.european").tabs("ul.accordion.european li p",{tabs:"h4",effect:"slide",initialIndex:null});jQuery("ul.accordion.picture").tabs("ul.accordion.picture li p",{tabs:"h4",effect:"slide",initialIndex:null});jQuery("ul.accordion.photography").tabs("ul.accordion.photography li p",{tabs:"h4",effect:"slide",initialIndex:null});jQuery("ul.accordion.more").tabs("ul.accordion.more li p",{tabs:"h4",effect:"slide",initialIndex:null})});jQuery.tools.tabs.addEffect("slide",function(b,a){this.getPanes().slideUp().css({backgroundColor:"#f2f2f2"});this.getPanes().eq(b).slideDown(function(){jQuery("#container.news li p, #container.home li p").css({backgroundColor:"#eefbfe"});jQuery("#container.issues ul.accordion li p").css({backgroundColor:"#ddeed4"});a.call()})});jQuery(document).ready(function(){jQuery("#content.wide #left h3.attachment a[title]").tooltip({tip:"#tip",effect:"bouncy"});jQuery("#content.wide #left h3.comments a[title]").tooltip({tip:"#tip",effect:"bouncy"})});jQuery.easing.bouncy=function(e,f,a,j,h){var g=1.70158;if((f/=h/2)<1){return j/2*(f*f*(((g*=(1.525))+1)*f-g))+a}return j/2*((f-=2)*f*(((g*=(1.525))+1)*f+g)+2)+a};jQuery.tools.tooltip.addEffect("bouncy",function(a){this.getTip().animate({top:"+=15"},500,"bouncy",a).show()},function(a){this.getTip().animate({top:"-=15"},500,"bouncy",function(){jQuery(this).hide();a.call()})});(function(d){var a="Lite-1.0";d.fn.cycle=function(e){return this.each(function(){e=e||{};if(this.cycleTimeout){clearTimeout(this.cycleTimeout)}this.cycleTimeout=0;this.cyclePause=0;var j=d(this);var k=e.slideExpr?d(e.slideExpr,this):j.children();var g=k.get();if(g.length<2){if(window.console&&window.console.log){window.console.log("terminating; too few slides: "+g.length)}return}var h=d.extend({},d.fn.cycle.defaults,e||{},d.metadata?j.metadata():d.meta?j.data():{});h.before=h.before?[h.before]:[];h.after=h.after?[h.after]:[];h.after.unshift(function(){h.busy=0});var f=this.className;h.width=parseInt((f.match(/w:(\d+)/)||[])[1])||h.width;h.height=parseInt((f.match(/h:(\d+)/)||[])[1])||h.height;h.timeout=parseInt((f.match(/t:(\d+)/)||[])[1])||h.timeout;if(j.css("position")=="static"){j.css("position","relative")}if(h.width){j.width(h.width)}if(h.height&&h.height!="auto"){j.height(h.height)}var l=0;k.css({position:"absolute",top:0,left:0}).hide().each(function(n){d(this).css("z-index",g.length-n)});d(g[l]).css("opacity",1).show();if(d.browser.msie){g[l].style.removeAttribute("filter")}if(h.fit&&h.width){k.width(h.width)}if(h.fit&&h.height&&h.height!="auto"){k.height(h.height)}if(h.pause){j.hover(function(){this.cyclePause=1},function(){this.cyclePause=0})}d.fn.cycle.transitions.fade(j,k,h);k.each(function(){var n=d(this);this.cycleH=(h.fit&&h.height)?h.height:n.height();this.cycleW=(h.fit&&h.width)?h.width:n.width()});k.not(":eq("+l+")").css({opacity:0});if(h.cssFirst){d(k[l]).css(h.cssFirst)}if(h.timeout){if(h.speed.constructor==String){h.speed={slow:600,fast:200}[h.speed]||400}if(!h.sync){h.speed=h.speed/2}while((h.timeout-h.speed)<250){h.timeout+=h.speed}}h.speedIn=h.speed;h.speedOut=h.speed;h.slideCount=g.length;h.currSlide=l;h.nextSlide=1;var m=k[l];if(h.before.length){h.before[0].apply(m,[m,m,h,true])}if(h.after.length>1){h.after[1].apply(m,[m,m,h,true])}if(h.click&&!h.next){h.next=h.click}if(h.next){d(h.next).bind("click",function(){return c(g,h,h.rev?-1:1)})}if(h.prev){d(h.prev).bind("click",function(){return c(g,h,h.rev?1:-1)})}if(h.timeout){this.cycleTimeout=setTimeout(function(){b(g,h,0,!h.rev)},h.timeout+(h.delay||0))}})};function b(k,e,j,l){if(e.busy){return}var h=k[0].parentNode,n=k[e.currSlide],m=k[e.nextSlide];if(h.cycleTimeout===0&&!j){return}if(j||!h.cyclePause){if(e.before.length){d.each(e.before,function(p,q){q.apply(m,[n,m,e,l])})}var f=function(){if(d.browser.msie){this.style.removeAttribute("filter")}d.each(e.after,function(p,q){q.apply(m,[n,m,e,l])})};if(e.nextSlide!=e.currSlide){e.busy=1;d.fn.cycle.custom(n,m,e,f)}var g=(e.nextSlide+1)==k.length;e.nextSlide=g?0:e.nextSlide+1;e.currSlide=g?k.length-1:e.nextSlide-1}if(e.timeout){h.cycleTimeout=setTimeout(function(){b(k,e,0,!e.rev)},e.timeout)}}function c(e,f,j){var h=e[0].parentNode,g=h.cycleTimeout;if(g){clearTimeout(g);h.cycleTimeout=0}f.nextSlide=f.currSlide+j;if(f.nextSlide<0){f.nextSlide=e.length-1}else{if(f.nextSlide>=e.length){f.nextSlide=0}}b(e,f,1,j>=0);return false}d.fn.cycle.custom=function(l,h,j,e){var k=d(l),g=d(h);g.css({opacity:0});var f=function(){g.animate({opacity:1},j.speedIn,j.easeIn,e)};k.animate({opacity:0},j.speedOut,j.easeOut,function(){k.css({display:"none"});if(!j.sync){f()}});if(j.sync){f()}};d.fn.cycle.transitions={fade:function(f,g,e){g.not(":eq(0)").css("opacity",0);e.before.push(function(){d(this).show()})}};d.fn.cycle.ver=function(){return a};d.fn.cycle.defaults={timeout:4000,speed:2000,next:null,prev:null,before:null,after:null,height:"auto",sync:1,fit:0,pause:0,delay:0,slideExpr:null}})(jQuery);jQuery(document).ready(function(){jQuery("#intro div.mainteaser.slide").cycle({fx:"fade"})});jQuery(document).ready(function(){jQuery("ul#navigation a, .navigation a").mouseover(function(){jQuery(this).animate({opacity:"0.6"},1100);return false});jQuery("ul#navigation a, .navigation a").mouseout(function(){jQuery(this).animate({opacity:"1"},800);return false});jQuery("input.text, input#edit-name").each(function(){var b=this.value;jQuery(this).focus(function(){if(this.value==b){this.value=""}});jQuery(this).blur(function(){if(this.value==""){this.value=b}})});jQuery("table tbody tr").mouseover(function(){jQuery(this).addClass("selected");return false});jQuery("table tbody tr").mouseout(function(){jQuery(this).removeClass("selected");return false});jQuery("table#attachments tbody tr").mouseover(function(){jQuery(this).removeClass("selected");return false});jQuery("ul.accordion li:first-child").addClass("first");jQuery("ul.accordion h4").mouseover(function(){jQuery(this).animate({backgroundColor:"#d8d8d8"},400);return false});jQuery("ul.accordion h4").mouseout(function(){jQuery(this).animate({backgroundColor:"#ececec"},400);return false});jQuery("ul.accordion h4").click(function(){jQuery(this).parents("li").removeClass("first");return false});jQuery("table tbody tr td:first-child").addClass("first");jQuery("ul.accordion a").ready(function(){jQuery("ul.accordion a").addClass("more");return false});jQuery("ul.articles a").ready(function(){jQuery("ul.articles a").addClass("more");return false});jQuery("div#more li:last-child").addClass("last");jQuery("form#comment-form").attr("Name","commentform");jQuery("form#comment-form").attr("onsubmit","return checkForm()");jQuery("div#container.news div.comment.comment-published.clear-block:first").addClass("first");jQuery("<p>All posts will be sent to CEPIC for review and will be published only after approval. CEPIC reserves the right to remove any comment at any time for any reason. Please keep your responses appropriate, polite and on topic.</p>").insertAfter("#edit-submit");jQuery("<div id='edit-username-wrapper' class='form-item'><label for='edit-username'>Email:</label><input type='text' size='20' name='username' id='edit-username' class='form-text'></div>").insertAfter("div.description");jQuery("div#edit-password-wrapper label").remove();jQuery("div#edit-password-wrapper").prepend("<label for='edit-password'>Password:</label>");var a=document.location.toString();jQuery("#container.congress dl.navigation ul.congress li.current").removeClass("current");jQuery("#container.congress dl.navigation ul.congress li a").each(function(){if(a.indexOf(this.href)!=-1){jQuery(this).closest("div").addClass("current")}})});function openLink(b){var a=b.getElementsByTagName("a")[b.getElementsByTagName("a").length-1];if(!a.onclick){location.href=a.href}}function checkForm(){if(document.commentform.name.value==" "){alert("Please provide your Name!");document.commentform.name.focus();return false}if(document.commentform.mail.value==""){alert("Please provide your E-mail Address!");document.commentform.mail.focus();return false}if(document.commentform.mail.value.indexOf("@")==-1){alert("Please provide a valid E-mail Address!");document.commentform.email.focus();return false}if(document.commentform.comment.value==""){alert("Don't forget your comment!");document.commentform.comment.focus();return false}};
