/*
 ---- INCLUDED BELOW IS ----
 jQuery JavaScript Library v1.4.4
 http://jquery.com/

 Copyright 2010, John Resig
 Dual licensed under the MIT or GPL Version 2 licenses.
 http://jquery.org/license

 Includes Sizzle.js
 http://sizzlejs.com/
 Copyright 2010, The Dojo Foundation
 Released under the MIT, BSD, and GPL Licenses.

 Date: Thu Nov 11 19:04:53 2010 -0500

 ---- INCLUDED BELOW IS ----
 SWFObject v2.2 <http://code.google.com/p/swfobject/> is released under the MIT License <http://www.opensource.org/licenses/mit-license.php>
 [Used for video display]

 ---- INCLUDED BELOW IS ----
 jQuery Context Menu Plugin 
 Version 1.01
 Cory S.N. LaViska
 More info: http://abeautifulsite.net/2008/09/jquery-context-menu-plugin/ 
 Plugin is dual-licensed under the GNU General Public License and the MIT License and is copyright A Beautiful Site, LLC 

 ---- INCLUDED BELOW IS ----
 jQuery Mousewheel Plugin (jquery.mousewheel.js) 
 Copyright (c) 2010 Brandon Aaron (http://brandonaaron.net)
 Licensed under the MIT License.
 Version: 3.0.4
 More info: http://brandonaaron.net/code/mousewheel/docs

 ---- INCLUDED BELOW IS (MODIFIED) ----
 jSwipe - jQuery Plugin
 More info: http://plugins.jquery.com/project/swipe ~~ http://www.ryanscherf.com/demos/swipe/
 Copyright (c) 2009 Ryan Scherf (www.ryanscherf.com)
 Licensed under the MIT license
 Version: 0.1.2

 ---- INCLUDED BELOW IS (MODIFIED) ----
 WP Audio Player 
 More info: http://wpaudioplayer.com/
 Copyright (c) 2008 Martin Laine
 Licensed under the MIT license - http://wpaudioplayer.com/license/

 ---- OVERALL SCRIPT IS ----
 DWUser.com EasyRotator script
 (c) Copyright 2010-2012 DWUser.com, All Rights Reserved
 More info: http://www.dwuser.com/easyrotator/
 Update #011712.38

*/
var er_jQueryOrig=window.jQuery;
(function(i,F){function Pa(a,b,d){if(d===F&&a.nodeType===1){d=a.getAttribute("data-"+b);if(typeof d==="string"){try{d=d==="true"?true:d==="false"?false:d==="null"?null:!c.isNaN(d)?parseFloat(d):Xa.test(d)?c.parseJSON(d):d}catch(e){}c.data(a,b,d)}else d=F}return d}function $a(){return false}function nb(){return true}function sb(a,b,d){d[0].type=a;return c.event.handle.apply(b,d)}function r(a){var b,d,e,f,h,p,o,u,ba,H,ia,ya=[];f=[];h=c.data(this,this.nodeType?"events":"__events__");if(typeof h==="function")h=
h.events;if(!(a.liveFired===this||!h||!h.live||a.button&&a.type==="click")){if(a.namespace)ia=RegExp("(^|\\.)"+a.namespace.split(".").join("\\.(?:.*\\.)?")+"(\\.|$)");a.liveFired=this;var Ra=h.live.slice(0);for(o=0;o<Ra.length;o++){h=Ra[o];h.origType.replace(cb,"")===a.type?f.push(h.selector):Ra.splice(o--,1)}f=c(a.target).closest(f,a.currentTarget);u=0;for(ba=f.length;u<ba;u++){H=f[u];for(o=0;o<Ra.length;o++){h=Ra[o];if(H.selector===h.selector&&(!ia||ia.test(h.namespace))){p=H.elem;e=null;if(h.preType===
"mouseenter"||h.preType==="mouseleave"){a.type=h.preType;e=c(a.relatedTarget).closest(h.selector)[0]}if(!e||e!==p)ya.push({elem:p,handleObj:h,level:H.level})}}}u=0;for(ba=ya.length;u<ba;u++){f=ya[u];if(d&&f.level>d)break;a.currentTarget=f.elem;a.data=f.handleObj.data;a.handleObj=f.handleObj;ia=f.handleObj.origHandler.apply(f.elem,arguments);if(ia===false||a.isPropagationStopped()){d=f.level;if(ia===false)b=false;if(a.isImmediatePropagationStopped())break}}return b}}function Q(a,b){return(a&&a!=="*"?
a+".":"")+b.replace(qb,"`").replace(tb,"&")}function Z(a,b,d){if(c.isFunction(b))return c.grep(a,function(f,h){return!!b.call(f,h,f)===d});else if(b.nodeType)return c.grep(a,function(f){return f===b===d});else if(typeof b==="string"){var e=c.grep(a,function(f){return f.nodeType===1});if(D.test(b))return c.filter(b,e,!d);else b=c.filter(b,e)}return c.grep(a,function(f){return c.inArray(f,b)>=0===d})}function na(a,b){var d=0;b.each(function(){if(this.nodeName===(a[d]&&a[d].nodeName)){var e=c.data(a[d++]),
f=c.data(this,e);if(e=e&&e.events){delete f.handle;f.events={};for(var h in e)for(var p in e[h])c.event.add(this,h,e[h][p],e[h][p].data)}}})}function ua(a,b){b.src?c.ajax({url:b.src,async:false,dataType:"script"}):c.globalEval(b.text||b.textContent||b.innerHTML||"");b.parentNode&&b.parentNode.removeChild(b)}function Ha(a,b,d){var e=b==="width"?a.offsetWidth:a.offsetHeight;if(d==="border")return e;c.each(b==="width"?sa:La,function(){d||(e-=parseFloat(c.css(a,"padding"+this))||0);if(d==="margin")e+=
parseFloat(c.css(a,"margin"+this))||0;else e-=parseFloat(c.css(a,"border"+this+"Width"))||0});return e}function ja(a,b,d,e){if(c.isArray(b)&&b.length)c.each(b,function(f,h){d||v.test(a)?e(a,h):ja(a+"["+(typeof h==="object"||c.isArray(h)?f:"")+"]",h,d,e)});else if(!d&&b!=null&&typeof b==="object")c.isEmptyObject(b)?e(a,""):c.each(b,function(f,h){ja(a+"["+f+"]",h,d,e)});else e(a,b)}function x(a,b){var d={};c.each(ma.concat.apply([],ma.slice(0,b)),function(){d[this]=a});return d}function ka(a){if(!P[a]){var b=
c("<"+a+">").appendTo("body"),d=b.css("display");b.remove();if(d==="none"||d==="")d="block";P[a]=d}return P[a]}function Ga(a){return c.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:false}var A=i.document,c=function(){function a(){if(!b.isReady){try{A.documentElement.doScroll("left")}catch(m){setTimeout(a,1);return}b.ready()}}var b=function(m,I){return new b.fn.init(m,I)},d=i.jQuery,e=i.$,f,h=/^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w\-]+)$)/,p=/\S/,o=/^\s+/,u=/\s+$/,ba=/\W/,H=/\d/,ia=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,
ya=/^[\],:{}\s]*$/,Ra=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,V=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,Qa=/(?:^|:|,)(?:\s*\[)+/g,fb=/(webkit)[ \/]([\w.]+)/,g=/(opera)(?:.*version)?[ \/]([\w.]+)/,l=/(msie) ([\w.]+)/,t=/(mozilla)(?:.*? rv:([\w.]+))?/,s=navigator.userAgent,z=false,B=[],R,ca=Object.prototype.toString,Ja=Object.prototype.hasOwnProperty,gb=Array.prototype.push,ib=Array.prototype.slice,jb=String.prototype.trim,Da=Array.prototype.indexOf,ub={};b.fn=b.prototype={init:function(m,
I){var S,fa,Oa;if(!m)return this;if(m.nodeType){this.context=this[0]=m;this.length=1;return this}if(m==="body"&&!I&&A.body){this.context=A;this[0]=A.body;this.selector="body";this.length=1;return this}if(typeof m==="string")if((S=h.exec(m))&&(S[1]||!I))if(S[1]){Oa=I?I.ownerDocument||I:A;if(fa=ia.exec(m))if(b.isPlainObject(I)){m=[A.createElement(fa[1])];b.fn.attr.call(m,I,true)}else m=[Oa.createElement(fa[1])];else{fa=b.buildFragment([S[1]],[Oa]);m=(fa.cacheable?fa.fragment.cloneNode(true):fa.fragment).childNodes}return b.merge(this,
m)}else{if((fa=A.getElementById(S[2]))&&fa.parentNode){if(fa.id!==S[2])return f.find(m);this.length=1;this[0]=fa}this.context=A;this.selector=m;return this}else if(!I&&!ba.test(m)){this.selector=m;this.context=A;m=A.getElementsByTagName(m);return b.merge(this,m)}else return!I||I.jquery?(I||f).find(m):b(I).find(m);else if(b.isFunction(m))return f.ready(m);if(m.selector!==F){this.selector=m.selector;this.context=m.context}return b.makeArray(m,this)},selector:"",jquery:"1.4.4",length:0,size:function(){return this.length},
toArray:function(){return ib.call(this,0)},get:function(m){return m==null?this.toArray():m<0?this.slice(m)[0]:this[m]},pushStack:function(m,I,S){var fa=b();b.isArray(m)?gb.apply(fa,m):b.merge(fa,m);fa.prevObject=this;fa.context=this.context;if(I==="find")fa.selector=this.selector+(this.selector?" ":"")+S;else if(I)fa.selector=this.selector+"."+I+"("+S+")";return fa},each:function(m,I){return b.each(this,m,I)},ready:function(m){b.bindReady();if(b.isReady)m.call(A,b);else B&&B.push(m);return this},
eq:function(m){return m===-1?this.slice(m):this.slice(m,+m+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(ib.apply(this,arguments),"slice",ib.call(arguments).join(","))},map:function(m){return this.pushStack(b.map(this,function(I,S){return m.call(I,S,I)}))},end:function(){return this.prevObject||b(null)},push:gb,sort:[].sort,splice:[].splice};b.fn.init.prototype=b.fn;b.extend=b.fn.extend=function(){var m,I,S,fa,Oa,Ka=arguments[0]||
{},ab=1,kb=arguments.length,xb=false;if(typeof Ka==="boolean"){xb=Ka;Ka=arguments[1]||{};ab=2}if(typeof Ka!=="object"&&!b.isFunction(Ka))Ka={};if(kb===ab){Ka=this;--ab}for(;ab<kb;ab++)if((m=arguments[ab])!=null)for(I in m){S=Ka[I];fa=m[I];if(Ka!==fa)if(xb&&fa&&(b.isPlainObject(fa)||(Oa=b.isArray(fa)))){if(Oa){Oa=false;S=S&&b.isArray(S)?S:[]}else S=S&&b.isPlainObject(S)?S:{};Ka[I]=b.extend(xb,S,fa)}else if(fa!==F)Ka[I]=fa}return Ka};b.extend({noConflict:function(m){i.$=e;if(m)i.jQuery=d;return b},
isReady:false,readyWait:1,ready:function(m){m===true&&b.readyWait--;if(!b.readyWait||m!==true&&!b.isReady){if(!A.body)return setTimeout(b.ready,1);b.isReady=true;if(!(m!==true&&--b.readyWait>0))if(B){var I=0,S=B;for(B=null;m=S[I++];)m.call(A,b);b.fn.trigger&&b(A).trigger("ready").unbind("ready")}}},bindReady:function(){if(!z){z=true;if(A.readyState==="complete")return setTimeout(b.ready,1);if(A.addEventListener){A.addEventListener("DOMContentLoaded",R,false);i.addEventListener("load",b.ready,false)}else if(A.attachEvent){A.attachEvent("onreadystatechange",
R);i.attachEvent("onload",b.ready);var m=false;try{m=i.frameElement==null}catch(I){}A.documentElement.doScroll&&m&&a()}}},isFunction:function(m){return b.type(m)==="function"},isArray:Array.isArray||function(m){return b.type(m)==="array"},isWindow:function(m){return m&&typeof m==="object"&&"setInterval"in m},isNaN:function(m){return m==null||!H.test(m)||isNaN(m)},type:function(m){return m==null?String(m):ub[ca.call(m)]||"object"},isPlainObject:function(m){if(!m||b.type(m)!=="object"||m.nodeType||
b.isWindow(m))return false;if(m.constructor&&!Ja.call(m,"constructor")&&!Ja.call(m.constructor.prototype,"isPrototypeOf"))return false;for(var I in m);return I===F||Ja.call(m,I)},isEmptyObject:function(m){for(var I in m)return false;return true},error:function(m){throw m;},parseJSON:function(m){if(typeof m!=="string"||!m)return null;m=b.trim(m);if(ya.test(m.replace(Ra,"@").replace(V,"]").replace(Qa,"")))return i.JSON&&i.JSON.parse?i.JSON.parse(m):(new Function("return "+m))();else b.error("Invalid JSON: "+
m)},noop:function(){},globalEval:function(m){if(m&&p.test(m)){var I=A.getElementsByTagName("head")[0]||A.documentElement,S=A.createElement("script");S.type="text/javascript";if(b.support.scriptEval)S.appendChild(A.createTextNode(m));else S.text=m;I.insertBefore(S,I.firstChild);I.removeChild(S)}},nodeName:function(m,I){return m.nodeName&&m.nodeName.toUpperCase()===I.toUpperCase()},each:function(m,I,S){var fa,Oa=0,Ka=m.length,ab=Ka===F||b.isFunction(m);if(S)if(ab)for(fa in m){if(I.apply(m[fa],S)===
false)break}else for(;Oa<Ka;){if(I.apply(m[Oa++],S)===false)break}else if(ab)for(fa in m){if(I.call(m[fa],fa,m[fa])===false)break}else for(S=m[0];Oa<Ka&&I.call(S,Oa,S)!==false;S=m[++Oa]);return m},trim:jb?function(m){return m==null?"":jb.call(m)}:function(m){return m==null?"":m.toString().replace(o,"").replace(u,"")},makeArray:function(m,I){var S=I||[];if(m!=null){var fa=b.type(m);m.length==null||fa==="string"||fa==="function"||fa==="regexp"||b.isWindow(m)?gb.call(S,m):b.merge(S,m)}return S},inArray:function(m,
I){if(I.indexOf)return I.indexOf(m);for(var S=0,fa=I.length;S<fa;S++)if(I[S]===m)return S;return-1},merge:function(m,I){var S=m.length,fa=0;if(typeof I.length==="number")for(var Oa=I.length;fa<Oa;fa++)m[S++]=I[fa];else for(;I[fa]!==F;)m[S++]=I[fa++];m.length=S;return m},grep:function(m,I,S){var fa=[],Oa;S=!!S;for(var Ka=0,ab=m.length;Ka<ab;Ka++){Oa=!!I(m[Ka],Ka);S!==Oa&&fa.push(m[Ka])}return fa},map:function(m,I,S){for(var fa=[],Oa,Ka=0,ab=m.length;Ka<ab;Ka++){Oa=I(m[Ka],Ka,S);if(Oa!=null)fa[fa.length]=
Oa}return fa.concat.apply([],fa)},guid:1,proxy:function(m,I,S){if(arguments.length===2)if(typeof I==="string"){S=m;m=S[I];I=F}else if(I&&!b.isFunction(I)){S=I;I=F}if(!I&&m)I=function(){return m.apply(S||this,arguments)};if(m)I.guid=m.guid=m.guid||I.guid||b.guid++;return I},access:function(m,I,S,fa,Oa,Ka){var ab=m.length;if(typeof I==="object"){for(var kb in I)b.access(m,kb,I[kb],fa,Oa,S);return m}if(S!==F){fa=!Ka&&fa&&b.isFunction(S);for(kb=0;kb<ab;kb++)Oa(m[kb],I,fa?S.call(m[kb],kb,Oa(m[kb],I)):
S,Ka);return m}return ab?Oa(m[0],I):F},now:function(){return(new Date).getTime()},uaMatch:function(m){m=m.toLowerCase();m=fb.exec(m)||g.exec(m)||l.exec(m)||m.indexOf("compatible")<0&&t.exec(m)||[];return{browser:m[1]||"",version:m[2]||"0"}},browser:{}});b.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(m,I){ub["[object "+I+"]"]=I.toLowerCase()});s=b.uaMatch(s);if(s.browser){b.browser[s.browser]=true;b.browser.version=s.version}if(b.browser.webkit)b.browser.safari=
true;if(Da)b.inArray=function(m,I){return Da.call(I,m)};if(!/\s/.test("\u00a0")){o=/^[\s\xA0]+/;u=/[\s\xA0]+$/}f=b(A);if(A.addEventListener)R=function(){A.removeEventListener("DOMContentLoaded",R,false);b.ready()};else if(A.attachEvent)R=function(){if(A.readyState==="complete"){A.detachEvent("onreadystatechange",R);b.ready()}};return i.jQuery=i.$=b}();(function(){c.support={};var a=A.documentElement,b=A.createElement("script"),d=A.createElement("div"),e="script"+c.now();d.style.display="none";d.innerHTML=
"   <link/><table></table><a href='/a' style='color:red;float:left;opacity:.55;'>a</a><input type='checkbox'/>";var f=d.getElementsByTagName("*"),h=d.getElementsByTagName("a")[0],p=A.createElement("select"),o=p.appendChild(A.createElement("option"));if(!(!f||!f.length||!h)){c.support={leadingWhitespace:d.firstChild.nodeType===3,tbody:!d.getElementsByTagName("tbody").length,htmlSerialize:!!d.getElementsByTagName("link").length,style:/red/.test(h.getAttribute("style")),hrefNormalized:h.getAttribute("href")===
"/a",opacity:/^0.55$/.test(h.style.opacity),cssFloat:!!h.style.cssFloat,checkOn:d.getElementsByTagName("input")[0].value==="on",optSelected:o.selected,deleteExpando:true,optDisabled:false,checkClone:false,scriptEval:false,noCloneEvent:true,boxModel:null,inlineBlockNeedsLayout:false,shrinkWrapBlocks:false,reliableHiddenOffsets:true};p.disabled=true;c.support.optDisabled=!o.disabled;b.type="text/javascript";try{b.appendChild(A.createTextNode("window."+e+"=1;"))}catch(u){}a.insertBefore(b,a.firstChild);
if(i[e]){c.support.scriptEval=true;delete i[e]}try{delete b.test}catch(ba){c.support.deleteExpando=false}a.removeChild(b);if(d.attachEvent&&d.fireEvent){d.attachEvent("onclick",function H(){c.support.noCloneEvent=false;d.detachEvent("onclick",H)});d.cloneNode(true).fireEvent("onclick")}d=A.createElement("div");d.innerHTML="<input type='radio' name='radiotest' checked='checked'/>";a=A.createDocumentFragment();a.appendChild(d.firstChild);c.support.checkClone=a.cloneNode(true).cloneNode(true).lastChild.checked;
c(function(){var H=A.createElement("div");H.style.width=H.style.paddingLeft="1px";A.body.appendChild(H);c.boxModel=c.support.boxModel=H.offsetWidth===2;if("zoom"in H.style){H.style.display="inline";H.style.zoom=1;c.support.inlineBlockNeedsLayout=H.offsetWidth===2;H.style.display="";H.innerHTML="<div style='width:4px;'></div>";c.support.shrinkWrapBlocks=H.offsetWidth!==2}H.innerHTML="<table><tr><td style='padding:0;display:none'></td><td>t</td></tr></table>";var ia=H.getElementsByTagName("td");c.support.reliableHiddenOffsets=
ia[0].offsetHeight===0;ia[0].style.display="";ia[1].style.display="none";c.support.reliableHiddenOffsets=c.support.reliableHiddenOffsets&&ia[0].offsetHeight===0;H.innerHTML="";A.body.removeChild(H).style.display="none"});a=function(H){var ia=A.createElement("div");H="on"+H;var ya=H in ia;if(!ya){ia.setAttribute(H,"return;");ya=typeof ia[H]==="function"}return ya};c.support.submitBubbles=a("submit");c.support.changeBubbles=a("change");a=b=d=f=h=null}})();var ga={},Xa=/^(?:\{.*\}|\[.*\])$/;c.extend({cache:{},
uuid:0,expando:"jQuery"+c.now(),noData:{embed:true,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:true},data:function(a,b,d){if(c.acceptData(a)){a=a==i?ga:a;var e=a.nodeType,f=e?a[c.expando]:null,h=c.cache;if(!(e&&!f&&typeof b==="string"&&d===F)){if(e)f||(a[c.expando]=f=++c.uuid);else h=a;if(typeof b==="object")if(e)h[f]=c.extend(h[f],b);else c.extend(h,b);else if(e&&!h[f])h[f]={};a=e?h[f]:h;if(d!==F)a[b]=d;return typeof b==="string"?a[b]:a}}},removeData:function(a,b){if(c.acceptData(a)){a=
a==i?ga:a;var d=a.nodeType,e=d?a[c.expando]:a,f=c.cache,h=d?f[e]:e;if(b){if(h){delete h[b];d&&c.isEmptyObject(h)&&c.removeData(a)}}else if(d&&c.support.deleteExpando)delete a[c.expando];else if(a.removeAttribute)a.removeAttribute(c.expando);else if(d)delete f[e];else for(var p in a)delete a[p]}},acceptData:function(a){if(a.nodeName){var b=c.noData[a.nodeName.toLowerCase()];if(b)return!(b===true||a.getAttribute("classid")!==b)}return true}});c.fn.extend({data:function(a,b){var d=null;if(typeof a===
"undefined"){if(this.length){var e=this[0].attributes,f;d=c.data(this[0]);for(var h=0,p=e.length;h<p;h++){f=e[h].name;if(f.indexOf("data-")===0){f=f.substr(5);Pa(this[0],f,d[f])}}}return d}else if(typeof a==="object")return this.each(function(){c.data(this,a)});var o=a.split(".");o[1]=o[1]?"."+o[1]:"";if(b===F){d=this.triggerHandler("getData"+o[1]+"!",[o[0]]);if(d===F&&this.length){d=c.data(this[0],a);d=Pa(this[0],a,d)}return d===F&&o[1]?this.data(o[0]):d}else return this.each(function(){var u=c(this),
ba=[o[0],b];u.triggerHandler("setData"+o[1]+"!",ba);c.data(this,a,b);u.triggerHandler("changeData"+o[1]+"!",ba)})},removeData:function(a){return this.each(function(){c.removeData(this,a)})}});c.extend({queue:function(a,b,d){if(a){b=(b||"fx")+"queue";var e=c.data(a,b);if(!d)return e||[];if(!e||c.isArray(d))e=c.data(a,b,c.makeArray(d));else e.push(d);return e}},dequeue:function(a,b){b=b||"fx";var d=c.queue(a,b),e=d.shift();if(e==="inprogress")e=d.shift();if(e){b==="fx"&&d.unshift("inprogress");e.call(a,
function(){c.dequeue(a,b)})}}});c.fn.extend({queue:function(a,b){if(typeof a!=="string"){b=a;a="fx"}if(b===F)return c.queue(this[0],a);return this.each(function(){var d=c.queue(this,a,b);a==="fx"&&d[0]!=="inprogress"&&c.dequeue(this,a)})},dequeue:function(a){return this.each(function(){c.dequeue(this,a)})},delay:function(a,b){a=c.fx?c.fx.speeds[a]||a:a;b=b||"fx";return this.queue(b,function(){var d=this;setTimeout(function(){c.dequeue(d,b)},a)})},clearQueue:function(a){return this.queue(a||"fx",[])}});
var bb=/[\n\t]/g,rb=/\s+/,Za=/\r/g,da=/^(?:href|src|style)$/,Sa=/^(?:button|input)$/i,ob=/^(?:button|input|object|select|textarea)$/i,pb=/^a(?:rea)?$/i,Wa=/^(?:radio|checkbox)$/i;c.props={"for":"htmlFor","class":"className",readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",colspan:"colSpan",tabindex:"tabIndex",usemap:"useMap",frameborder:"frameBorder"};c.fn.extend({attr:function(a,b){return c.access(this,a,b,true,c.attr)},removeAttr:function(a){return this.each(function(){c.attr(this,
a,"");this.nodeType===1&&this.removeAttribute(a)})},addClass:function(a){if(c.isFunction(a))return this.each(function(ba){var H=c(this);H.addClass(a.call(this,ba,H.attr("class")))});if(a&&typeof a==="string")for(var b=(a||"").split(rb),d=0,e=this.length;d<e;d++){var f=this[d];if(f.nodeType===1)if(f.className){for(var h=" "+f.className+" ",p=f.className,o=0,u=b.length;o<u;o++)if(h.indexOf(" "+b[o]+" ")<0)p+=" "+b[o];f.className=c.trim(p)}else f.className=a}return this},removeClass:function(a){if(c.isFunction(a))return this.each(function(u){var ba=
c(this);ba.removeClass(a.call(this,u,ba.attr("class")))});if(a&&typeof a==="string"||a===F)for(var b=(a||"").split(rb),d=0,e=this.length;d<e;d++){var f=this[d];if(f.nodeType===1&&f.className)if(a){for(var h=(" "+f.className+" ").replace(bb," "),p=0,o=b.length;p<o;p++)h=h.replace(" "+b[p]+" "," ");f.className=c.trim(h)}else f.className=""}return this},toggleClass:function(a,b){var d=typeof a,e=typeof b==="boolean";if(c.isFunction(a))return this.each(function(f){var h=c(this);h.toggleClass(a.call(this,
f,h.attr("class"),b),b)});return this.each(function(){if(d==="string")for(var f,h=0,p=c(this),o=b,u=a.split(rb);f=u[h++];){o=e?o:!p.hasClass(f);p[o?"addClass":"removeClass"](f)}else if(d==="undefined"||d==="boolean"){this.className&&c.data(this,"__className__",this.className);this.className=this.className||a===false?"":c.data(this,"__className__")||""}})},hasClass:function(a){a=" "+a+" ";for(var b=0,d=this.length;b<d;b++)if((" "+this[b].className+" ").replace(bb," ").indexOf(a)>-1)return true;return false},
val:function(a){if(!arguments.length){var b=this[0];if(b){if(c.nodeName(b,"option")){var d=b.attributes.value;return!d||d.specified?b.value:b.text}if(c.nodeName(b,"select")){var e=b.selectedIndex;d=[];var f=b.options;b=b.type==="select-one";if(e<0)return null;var h=b?e:0;for(e=b?e+1:f.length;h<e;h++){var p=f[h];if(p.selected&&(c.support.optDisabled?!p.disabled:p.getAttribute("disabled")===null)&&(!p.parentNode.disabled||!c.nodeName(p.parentNode,"optgroup"))){a=c(p).val();if(b)return a;d.push(a)}}return d}if(Wa.test(b.type)&&
!c.support.checkOn)return b.getAttribute("value")===null?"on":b.value;return(b.value||"").replace(Za,"")}return F}var o=c.isFunction(a);return this.each(function(u){var ba=c(this),H=a;if(this.nodeType===1){if(o)H=a.call(this,u,ba.val());if(H==null)H="";else if(typeof H==="number")H+="";else if(c.isArray(H))H=c.map(H,function(ya){return ya==null?"":ya+""});if(c.isArray(H)&&Wa.test(this.type))this.checked=c.inArray(ba.val(),H)>=0;else if(c.nodeName(this,"select")){var ia=c.makeArray(H);c("option",this).each(function(){this.selected=
c.inArray(c(this).val(),ia)>=0});if(!ia.length)this.selectedIndex=-1}else this.value=H}})}});c.extend({attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attr:function(a,b,d,e){if(!a||a.nodeType===3||a.nodeType===8)return F;if(e&&b in c.attrFn)return c(a)[b](d);e=a.nodeType!==1||!c.isXMLDoc(a);var f=d!==F;b=e&&c.props[b]||b;var h=da.test(b);if((b in a||a[b]!==F)&&e&&!h){if(f){b==="type"&&Sa.test(a.nodeName)&&a.parentNode&&c.error("type property can't be changed");
if(d===null)a.nodeType===1&&a.removeAttribute(b);else a[b]=d}if(c.nodeName(a,"form")&&a.getAttributeNode(b))return a.getAttributeNode(b).nodeValue;if(b==="tabIndex")return(b=a.getAttributeNode("tabIndex"))&&b.specified?b.value:ob.test(a.nodeName)||pb.test(a.nodeName)&&a.href?0:F;return a[b]}if(!c.support.style&&e&&b==="style"){if(f)a.style.cssText=""+d;return a.style.cssText}f&&a.setAttribute(b,""+d);if(!a.attributes[b]&&a.hasAttribute&&!a.hasAttribute(b))return F;a=!c.support.hrefNormalized&&e&&
h?a.getAttribute(b,2):a.getAttribute(b);return a===null?F:a}});var cb=/\.(.*)$/,Ya=/^(?:textarea|input|select)$/i,qb=/\./g,tb=/ /g,vb=/[^\w\s.|`]/g,wb=function(a){return a.replace(vb,"\\$&")},lb={focusin:0,focusout:0};c.event={add:function(a,b,d,e){if(!(a.nodeType===3||a.nodeType===8)){if(c.isWindow(a)&&a!==i&&!a.frameElement)a=i;if(d===false)d=$a;else if(!d)return;var f,h;if(d.handler){f=d;d=f.handler}if(!d.guid)d.guid=c.guid++;if(h=c.data(a)){var p=a.nodeType?"events":"__events__",o=h[p],u=h.handle;
if(typeof o==="function"){u=o.handle;o=o.events}else if(!o){a.nodeType||(h[p]=h=function(){});h.events=o={}}if(!u)h.handle=u=function(){return typeof c!=="undefined"&&!c.event.triggered?c.event.handle.apply(u.elem,arguments):F};u.elem=a;b=b.split(" ");for(var ba=0,H;p=b[ba++];){h=f?c.extend({},f):{handler:d,data:e};if(p.indexOf(".")>-1){H=p.split(".");p=H.shift();h.namespace=H.slice(0).sort().join(".")}else{H=[];h.namespace=""}h.type=p;if(!h.guid)h.guid=d.guid;var ia=o[p],ya=c.event.special[p]||{};
if(!ia){ia=o[p]=[];if(!ya.setup||ya.setup.call(a,e,H,u)===false)if(a.addEventListener)a.addEventListener(p,u,false);else a.attachEvent&&a.attachEvent("on"+p,u)}if(ya.add){ya.add.call(a,h);if(!h.handler.guid)h.handler.guid=d.guid}ia.push(h);c.event.global[p]=true}a=null}}},global:{},remove:function(a,b,d,e){if(!(a.nodeType===3||a.nodeType===8)){if(d===false)d=$a;var f,h,p=0,o,u,ba,H,ia,ya,Ra=a.nodeType?"events":"__events__",V=c.data(a),Qa=V&&V[Ra];if(V&&Qa){if(typeof Qa==="function"){V=Qa;Qa=Qa.events}if(b&&
b.type){d=b.handler;b=b.type}if(!b||typeof b==="string"&&b.charAt(0)==="."){b=b||"";for(f in Qa)c.event.remove(a,f+b)}else{for(b=b.split(" ");f=b[p++];){H=f;o=f.indexOf(".")<0;u=[];if(!o){u=f.split(".");f=u.shift();ba=RegExp("(^|\\.)"+c.map(u.slice(0).sort(),wb).join("\\.(?:.*\\.)?")+"(\\.|$)")}if(ia=Qa[f])if(d){H=c.event.special[f]||{};for(h=e||0;h<ia.length;h++){ya=ia[h];if(d.guid===ya.guid){if(o||ba.test(ya.namespace)){e==null&&ia.splice(h--,1);H.remove&&H.remove.call(a,ya)}if(e!=null)break}}if(ia.length===
0||e!=null&&ia.length===1){if(!H.teardown||H.teardown.call(a,u)===false)c.removeEvent(a,f,V.handle);delete Qa[f]}}else for(h=0;h<ia.length;h++){ya=ia[h];if(o||ba.test(ya.namespace)){c.event.remove(a,H,ya.handler,h);ia.splice(h--,1)}}}if(c.isEmptyObject(Qa)){if(b=V.handle)b.elem=null;delete V.events;delete V.handle;if(typeof V==="function")c.removeData(a,Ra);else c.isEmptyObject(V)&&c.removeData(a)}}}}},trigger:function(a,b,d,e){var f=a.type||a;if(!e){a=typeof a==="object"?a[c.expando]?a:c.extend(c.Event(f),
a):c.Event(f);if(f.indexOf("!")>=0){a.type=f=f.slice(0,-1);a.exclusive=true}if(!d){a.stopPropagation();c.event.global[f]&&c.each(c.cache,function(){this.events&&this.events[f]&&c.event.trigger(a,b,this.handle.elem)})}if(!d||d.nodeType===3||d.nodeType===8)return F;a.result=F;a.target=d;b=c.makeArray(b);b.unshift(a)}a.currentTarget=d;(e=d.nodeType?c.data(d,"handle"):(c.data(d,"__events__")||{}).handle)&&e.apply(d,b);e=d.parentNode||d.ownerDocument;try{if(!(d&&d.nodeName&&c.noData[d.nodeName.toLowerCase()]))if(d["on"+
f]&&d["on"+f].apply(d,b)===false){a.result=false;a.preventDefault()}}catch(h){}if(!a.isPropagationStopped()&&e)c.event.trigger(a,b,e,true);else if(!a.isDefaultPrevented()){var p;e=a.target;var o=f.replace(cb,""),u=c.nodeName(e,"a")&&o==="click",ba=c.event.special[o]||{};if((!ba._default||ba._default.call(d,a)===false)&&!u&&!(e&&e.nodeName&&c.noData[e.nodeName.toLowerCase()])){try{if(e[o]){if(p=e["on"+o])e["on"+o]=null;c.event.triggered=true;e[o]()}}catch(H){}if(p)e["on"+o]=p;c.event.triggered=false}}},
handle:function(a){var b,d,e,f;d=[];var h=c.makeArray(arguments);a=h[0]=c.event.fix(a||i.event);a.currentTarget=this;b=a.type.indexOf(".")<0&&!a.exclusive;if(!b){e=a.type.split(".");a.type=e.shift();d=e.slice(0).sort();e=RegExp("(^|\\.)"+d.join("\\.(?:.*\\.)?")+"(\\.|$)")}a.namespace=a.namespace||d.join(".");f=c.data(this,this.nodeType?"events":"__events__");if(typeof f==="function")f=f.events;d=(f||{})[a.type];if(f&&d){d=d.slice(0);f=0;for(var p=d.length;f<p;f++){var o=d[f];if(b||e.test(o.namespace)){a.handler=
o.handler;a.data=o.data;a.handleObj=o;o=o.handler.apply(this,h);if(o!==F){a.result=o;if(o===false){a.preventDefault();a.stopPropagation()}}if(a.isImmediatePropagationStopped())break}}}return a.result},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode layerX layerY metaKey newValue offsetX offsetY pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),
fix:function(a){if(a[c.expando])return a;var b=a;a=c.Event(b);for(var d=this.props.length,e;d;){e=this.props[--d];a[e]=b[e]}if(!a.target)a.target=a.srcElement||A;if(a.target.nodeType===3)a.target=a.target.parentNode;if(!a.relatedTarget&&a.fromElement)a.relatedTarget=a.fromElement===a.target?a.toElement:a.fromElement;if(a.pageX==null&&a.clientX!=null){b=A.documentElement;d=A.body;a.pageX=a.clientX+(b&&b.scrollLeft||d&&d.scrollLeft||0)-(b&&b.clientLeft||d&&d.clientLeft||0);a.pageY=a.clientY+(b&&b.scrollTop||
d&&d.scrollTop||0)-(b&&b.clientTop||d&&d.clientTop||0)}if(a.which==null&&(a.charCode!=null||a.keyCode!=null))a.which=a.charCode!=null?a.charCode:a.keyCode;if(!a.metaKey&&a.ctrlKey)a.metaKey=a.ctrlKey;if(!a.which&&a.button!==F)a.which=a.button&1?1:a.button&2?3:a.button&4?2:0;return a},guid:1E8,proxy:c.proxy,special:{ready:{setup:c.bindReady,teardown:c.noop},live:{add:function(a){c.event.add(this,Q(a.origType,a.selector),c.extend({},a,{handler:r,guid:a.handler.guid}))},remove:function(a){c.event.remove(this,
Q(a.origType,a.selector),a)}},beforeunload:{setup:function(a,b,d){if(c.isWindow(this))this.onbeforeunload=d},teardown:function(a,b){if(this.onbeforeunload===b)this.onbeforeunload=null}}}};c.removeEvent=A.removeEventListener?function(a,b,d){a.removeEventListener&&a.removeEventListener(b,d,false)}:function(a,b,d){a.detachEvent&&a.detachEvent("on"+b,d)};c.Event=function(a){if(!this.preventDefault)return new c.Event(a);if(a&&a.type){this.originalEvent=a;this.type=a.type}else this.type=a;this.timeStamp=
c.now();this[c.expando]=true};c.Event.prototype={preventDefault:function(){this.isDefaultPrevented=nb;var a=this.originalEvent;if(a)if(a.preventDefault)a.preventDefault();else a.returnValue=false},stopPropagation:function(){this.isPropagationStopped=nb;var a=this.originalEvent;if(a){a.stopPropagation&&a.stopPropagation();a.cancelBubble=true}},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=nb;this.stopPropagation()},isDefaultPrevented:$a,isPropagationStopped:$a,isImmediatePropagationStopped:$a};
var mb=function(a){var b=a.relatedTarget;try{for(;b&&b!==this;)b=b.parentNode;if(b!==this){a.type=a.data;c.event.handle.apply(this,arguments)}}catch(d){}},db=function(a){a.type=a.data;c.event.handle.apply(this,arguments)};c.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(a,b){c.event.special[a]={setup:function(d){c.event.add(this,b,d&&d.selector?db:mb,a)},teardown:function(d){c.event.remove(this,b,d&&d.selector?db:mb)}}});if(!c.support.submitBubbles)c.event.special.submit={setup:function(){if(this.nodeName.toLowerCase()!==
"form"){c.event.add(this,"click.specialSubmit",function(a){var b=a.target,d=b.type;if((d==="submit"||d==="image")&&c(b).closest("form").length){a.liveFired=F;return sb("submit",this,arguments)}});c.event.add(this,"keypress.specialSubmit",function(a){var b=a.target,d=b.type;if((d==="text"||d==="password")&&c(b).closest("form").length&&a.keyCode===13){a.liveFired=F;return sb("submit",this,arguments)}})}else return false},teardown:function(){c.event.remove(this,".specialSubmit")}};if(!c.support.changeBubbles){var hb,
n=function(a){var b=a.type,d=a.value;if(b==="radio"||b==="checkbox")d=a.checked;else if(b==="select-multiple")d=a.selectedIndex>-1?c.map(a.options,function(e){return e.selected}).join("-"):"";else if(a.nodeName.toLowerCase()==="select")d=a.selectedIndex;return d},k=function(a,b){var d=a.target,e,f;if(!(!Ya.test(d.nodeName)||d.readOnly)){e=c.data(d,"_change_data");f=n(d);if(a.type!=="focusout"||d.type!=="radio")c.data(d,"_change_data",f);if(!(e===F||f===e))if(e!=null||f){a.type="change";a.liveFired=
F;return c.event.trigger(a,b,d)}}};c.event.special.change={filters:{focusout:k,beforedeactivate:k,click:function(a){var b=a.target,d=b.type;if(d==="radio"||d==="checkbox"||b.nodeName.toLowerCase()==="select")return k.call(this,a)},keydown:function(a){var b=a.target,d=b.type;if(a.keyCode===13&&b.nodeName.toLowerCase()!=="textarea"||a.keyCode===32&&(d==="checkbox"||d==="radio")||d==="select-multiple")return k.call(this,a)},beforeactivate:function(a){a=a.target;c.data(a,"_change_data",n(a))}},setup:function(){if(this.type===
"file")return false;for(var a in hb)c.event.add(this,a+".specialChange",hb[a]);return Ya.test(this.nodeName)},teardown:function(){c.event.remove(this,".specialChange");return Ya.test(this.nodeName)}};hb=c.event.special.change.filters;hb.focus=hb.beforeactivate}A.addEventListener&&c.each({focus:"focusin",blur:"focusout"},function(a,b){function d(e){e=c.event.fix(e);e.type=b;return c.event.trigger(e,null,e.target)}c.event.special[b]={setup:function(){lb[b]++===0&&A.addEventListener(a,d,true)},teardown:function(){--lb[b]===
0&&A.removeEventListener(a,d,true)}}});c.each(["bind","one"],function(a,b){c.fn[b]=function(d,e,f){if(typeof d==="object"){for(var h in d)this[b](h,e,d[h],f);return this}if(c.isFunction(e)||e===false){f=e;e=F}var p=b==="one"?c.proxy(f,function(u){c(this).unbind(u,p);return f.apply(this,arguments)}):f;if(d==="unload"&&b!=="one")this.one(d,e,f);else{h=0;for(var o=this.length;h<o;h++)c.event.add(this[h],d,p,e)}return this}});c.fn.extend({unbind:function(a,b){if(typeof a==="object"&&!a.preventDefault)for(var d in a)this.unbind(d,
a[d]);else{d=0;for(var e=this.length;d<e;d++)c.event.remove(this[d],a,b)}return this},delegate:function(a,b,d,e){return this.live(b,d,e,a)},undelegate:function(a,b,d){return arguments.length===0?this.unbind("live"):this.die(b,null,d,a)},trigger:function(a,b){return this.each(function(){c.event.trigger(a,b,this)})},triggerHandler:function(a,b){if(this[0]){var d=c.Event(a);d.preventDefault();d.stopPropagation();c.event.trigger(d,b,this[0]);return d.result}},toggle:function(a){for(var b=arguments,d=
1;d<b.length;)c.proxy(a,b[d++]);return this.click(c.proxy(a,function(e){var f=(c.data(this,"lastToggle"+a.guid)||0)%d;c.data(this,"lastToggle"+a.guid,f+1);e.preventDefault();return b[f].apply(this,arguments)||false}))},hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}});var j={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};c.each(["live","die"],function(a,b){c.fn[b]=function(d,e,f,h){var p,o=0,u,ba,H=h||this.selector;h=h?this:c(this.context);if(typeof d===
"object"&&!d.preventDefault){for(p in d)h[b](p,e,d[p],H);return this}if(c.isFunction(e)){f=e;e=F}for(d=(d||"").split(" ");(p=d[o++])!=null;){u=cb.exec(p);ba="";if(u){ba=u[0];p=p.replace(cb,"")}if(p==="hover")d.push("mouseenter"+ba,"mouseleave"+ba);else{u=p;if(p==="focus"||p==="blur"){d.push(j[p]+ba);p+=ba}else p=(j[p]||p)+ba;if(b==="live"){ba=0;for(var ia=h.length;ba<ia;ba++)c.event.add(h[ba],"live."+Q(p,H),{data:e,selector:H,handler:f,origType:p,origHandler:f,preType:u})}else h.unbind("live."+Q(p,
H),f)}}return this}});c.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error".split(" "),function(a,b){c.fn[b]=function(d,e){if(e==null){e=d;d=null}return arguments.length>0?this.bind(b,d,e):this.trigger(b)};if(c.attrFn)c.attrFn[b]=true});i.attachEvent&&!i.addEventListener&&c(i).bind("unload",function(){for(var a in c.cache)if(c.cache[a].handle)try{c.event.remove(c.cache[a].handle.elem)}catch(b){}});
(function(){function a(g,l,t,s,z,B){z=0;for(var R=s.length;z<R;z++){var ca=s[z];if(ca){var Ja=false;for(ca=ca[g];ca;){if(ca.sizcache===t){Ja=s[ca.sizset];break}if(ca.nodeType===1&&!B){ca.sizcache=t;ca.sizset=z}if(ca.nodeName.toLowerCase()===l){Ja=ca;break}ca=ca[g]}s[z]=Ja}}}function b(g,l,t,s,z,B){z=0;for(var R=s.length;z<R;z++){var ca=s[z];if(ca){var Ja=false;for(ca=ca[g];ca;){if(ca.sizcache===t){Ja=s[ca.sizset];break}if(ca.nodeType===1){if(!B){ca.sizcache=t;ca.sizset=z}if(typeof l!=="string"){if(ca===
l){Ja=true;break}}else if(o.filter(l,[ca]).length>0){Ja=ca;break}}ca=ca[g]}s[z]=Ja}}}var d=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,e=0,f=Object.prototype.toString,h=false,p=true;[0,0].sort(function(){p=false;return 0});var o=function(g,l,t,s){t=t||[];var z=l=l||A;if(l.nodeType!==1&&l.nodeType!==9)return[];if(!g||typeof g!=="string")return t;var B,R,ca,Ja,gb,ib=true,jb=o.isXML(l),Da=[],ub=g;do{d.exec("");
if(B=d.exec(ub)){ub=B[3];Da.push(B[1]);if(B[2]){Ja=B[3];break}}}while(B);if(Da.length>1&&ba.exec(g))if(Da.length===2&&u.relative[Da[0]])R=fb(Da[0]+Da[1],l);else for(R=u.relative[Da[0]]?[l]:o(Da.shift(),l);Da.length;){g=Da.shift();if(u.relative[g])g+=Da.shift();R=fb(g,R)}else{if(!s&&Da.length>1&&l.nodeType===9&&!jb&&u.match.ID.test(Da[0])&&!u.match.ID.test(Da[Da.length-1])){B=o.find(Da.shift(),l,jb);l=B.expr?o.filter(B.expr,B.set)[0]:B.set[0]}if(l){B=s?{expr:Da.pop(),set:ya(s)}:o.find(Da.pop(),Da.length===
1&&(Da[0]==="~"||Da[0]==="+")&&l.parentNode?l.parentNode:l,jb);R=B.expr?o.filter(B.expr,B.set):B.set;if(Da.length>0)ca=ya(R);else ib=false;for(;Da.length;){B=gb=Da.pop();if(u.relative[gb])B=Da.pop();else gb="";if(B==null)B=l;u.relative[gb](ca,B,jb)}}else ca=[]}ca||(ca=R);ca||o.error(gb||g);if(f.call(ca)==="[object Array]")if(ib)if(l&&l.nodeType===1)for(g=0;ca[g]!=null;g++){if(ca[g]&&(ca[g]===true||ca[g].nodeType===1&&o.contains(l,ca[g])))t.push(R[g])}else for(g=0;ca[g]!=null;g++)ca[g]&&ca[g].nodeType===
1&&t.push(R[g]);else t.push.apply(t,ca);else ya(ca,t);if(Ja){o(Ja,z,t,s);o.uniqueSort(t)}return t};o.uniqueSort=function(g){if(V){h=p;g.sort(V);if(h)for(var l=1;l<g.length;l++)g[l]===g[l-1]&&g.splice(l--,1)}return g};o.matches=function(g,l){return o(g,null,null,l)};o.matchesSelector=function(g,l){return o(l,null,null,[g]).length>0};o.find=function(g,l,t){var s;if(!g)return[];for(var z=0,B=u.order.length;z<B;z++){var R,ca=u.order[z];if(R=u.leftMatch[ca].exec(g)){var Ja=R[1];R.splice(1,1);if(Ja.substr(Ja.length-
1)!=="\\"){R[1]=(R[1]||"").replace(/\\/g,"");s=u.find[ca](R,l,t);if(s!=null){g=g.replace(u.match[ca],"");break}}}}s||(s=l.getElementsByTagName("*"));return{set:s,expr:g}};o.filter=function(g,l,t,s){for(var z,B,R=g,ca=[],Ja=l,gb=l&&l[0]&&o.isXML(l[0]);g&&l.length;){for(var ib in u.filter)if((z=u.leftMatch[ib].exec(g))!=null&&z[2]){var jb,Da,ub=u.filter[ib];Da=z[1];B=false;z.splice(1,1);if(Da.substr(Da.length-1)!=="\\"){if(Ja===ca)ca=[];if(u.preFilter[ib])if(z=u.preFilter[ib](z,Ja,t,ca,s,gb)){if(z===
true)continue}else B=jb=true;if(z)for(var m=0;(Da=Ja[m])!=null;m++)if(Da){jb=ub(Da,z,m,Ja);var I=s^!!jb;if(t&&jb!=null)if(I)B=true;else Ja[m]=false;else if(I){ca.push(Da);B=true}}if(jb!==F){t||(Ja=ca);g=g.replace(u.match[ib],"");if(!B)return[];break}}}if(g===R)if(B==null)o.error(g);else break;R=g}return Ja};o.error=function(g){throw"Syntax error, unrecognized expression: "+g;};var u=o.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\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(g){return g.getAttribute("href")}},
relative:{"+":function(g,l){var t=typeof l==="string",s=t&&!/\W/.test(l);t=t&&!s;if(s)l=l.toLowerCase();s=0;for(var z=g.length,B;s<z;s++)if(B=g[s]){for(;(B=B.previousSibling)&&B.nodeType!==1;);g[s]=t||B&&B.nodeName.toLowerCase()===l?B||false:B===l}t&&o.filter(l,g,true)},">":function(g,l){var t,s=typeof l==="string",z=0,B=g.length;if(s&&!/\W/.test(l))for(l=l.toLowerCase();z<B;z++){if(t=g[z]){t=t.parentNode;g[z]=t.nodeName.toLowerCase()===l?t:false}}else{for(;z<B;z++)if(t=g[z])g[z]=s?t.parentNode:t.parentNode===
l;s&&o.filter(l,g,true)}},"":function(g,l,t){var s,z=e++,B=b;if(typeof l==="string"&&!/\W/.test(l)){s=l=l.toLowerCase();B=a}B("parentNode",l,z,g,s,t)},"~":function(g,l,t){var s,z=e++,B=b;if(typeof l==="string"&&!/\W/.test(l)){s=l=l.toLowerCase();B=a}B("previousSibling",l,z,g,s,t)}},find:{ID:function(g,l,t){if(typeof l.getElementById!=="undefined"&&!t)return(g=l.getElementById(g[1]))&&g.parentNode?[g]:[]},NAME:function(g,l){if(typeof l.getElementsByName!=="undefined"){for(var t=[],s=l.getElementsByName(g[1]),
z=0,B=s.length;z<B;z++)s[z].getAttribute("name")===g[1]&&t.push(s[z]);return t.length===0?null:t}},TAG:function(g,l){return l.getElementsByTagName(g[1])}},preFilter:{CLASS:function(g,l,t,s,z,B){g=" "+g[1].replace(/\\/g,"")+" ";if(B)return g;B=0;for(var R;(R=l[B])!=null;B++)if(R)if(z^(R.className&&(" "+R.className+" ").replace(/[\t\n]/g," ").indexOf(g)>=0))t||s.push(R);else if(t)l[B]=false;return false},ID:function(g){return g[1].replace(/\\/g,"")},TAG:function(g){return g[1].toLowerCase()},CHILD:function(g){if(g[1]===
"nth"){var l=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(g[2]==="even"&&"2n"||g[2]==="odd"&&"2n+1"||!/\D/.test(g[2])&&"0n+"+g[2]||g[2]);g[2]=l[1]+(l[2]||1)-0;g[3]=l[3]-0}g[0]=e++;return g},ATTR:function(g,l,t,s,z,B){l=g[1].replace(/\\/g,"");if(!B&&u.attrMap[l])g[1]=u.attrMap[l];if(g[2]==="~=")g[4]=" "+g[4]+" ";return g},PSEUDO:function(g,l,t,s,z){if(g[1]==="not")if((d.exec(g[3])||"").length>1||/^\w/.test(g[3]))g[3]=o(g[3],null,null,l);else{g=o.filter(g[3],l,t,true^z);t||s.push.apply(s,g);return false}else if(u.match.POS.test(g[0])||
u.match.CHILD.test(g[0]))return true;return g},POS:function(g){g.unshift(true);return g}},filters:{enabled:function(g){return g.disabled===false&&g.type!=="hidden"},disabled:function(g){return g.disabled===true},checked:function(g){return g.checked===true},selected:function(g){return g.selected===true},parent:function(g){return!!g.firstChild},empty:function(g){return!g.firstChild},has:function(g,l,t){return!!o(t[3],g).length},header:function(g){return/h\d/i.test(g.nodeName)},text:function(g){return"text"===
g.type},radio:function(g){return"radio"===g.type},checkbox:function(g){return"checkbox"===g.type},file:function(g){return"file"===g.type},password:function(g){return"password"===g.type},submit:function(g){return"submit"===g.type},image:function(g){return"image"===g.type},reset:function(g){return"reset"===g.type},button:function(g){return"button"===g.type||g.nodeName.toLowerCase()==="button"},input:function(g){return/input|select|textarea|button/i.test(g.nodeName)}},setFilters:{first:function(g,l){return l===
0},last:function(g,l,t,s){return l===s.length-1},even:function(g,l){return l%2===0},odd:function(g,l){return l%2===1},lt:function(g,l,t){return l<t[3]-0},gt:function(g,l,t){return l>t[3]-0},nth:function(g,l,t){return t[3]-0===l},eq:function(g,l,t){return t[3]-0===l}},filter:{PSEUDO:function(g,l,t,s){var z=l[1],B=u.filters[z];if(B)return B(g,t,l,s);else if(z==="contains")return(g.textContent||g.innerText||o.getText([g])||"").indexOf(l[3])>=0;else if(z==="not"){l=l[3];t=0;for(s=l.length;t<s;t++)if(l[t]===
g)return false;return true}else o.error("Syntax error, unrecognized expression: "+z)},CHILD:function(g,l){var t=l[1],s=g;switch(t){case "only":case "first":for(;s=s.previousSibling;)if(s.nodeType===1)return false;if(t==="first")return true;s=g;case "last":for(;s=s.nextSibling;)if(s.nodeType===1)return false;return true;case "nth":t=l[2];var z=l[3];if(t===1&&z===0)return true;var B=l[0],R=g.parentNode;if(R&&(R.sizcache!==B||!g.nodeIndex)){var ca=0;for(s=R.firstChild;s;s=s.nextSibling)if(s.nodeType===
1)s.nodeIndex=++ca;R.sizcache=B}s=g.nodeIndex-z;return t===0?s===0:s%t===0&&s/t>=0}},ID:function(g,l){return g.nodeType===1&&g.getAttribute("id")===l},TAG:function(g,l){return l==="*"&&g.nodeType===1||g.nodeName.toLowerCase()===l},CLASS:function(g,l){return(" "+(g.className||g.getAttribute("class"))+" ").indexOf(l)>-1},ATTR:function(g,l){var t=l[1];t=u.attrHandle[t]?u.attrHandle[t](g):g[t]!=null?g[t]:g.getAttribute(t);var s=t+"",z=l[2],B=l[4];return t==null?z==="!=":z==="="?s===B:z==="*="?s.indexOf(B)>=
0:z==="~="?(" "+s+" ").indexOf(B)>=0:!B?s&&t!==false:z==="!="?s!==B:z==="^="?s.indexOf(B)===0:z==="$="?s.substr(s.length-B.length)===B:z==="|="?s===B||s.substr(0,B.length+1)===B+"-":false},POS:function(g,l,t,s){var z=u.setFilters[l[2]];if(z)return z(g,t,l,s)}}},ba=u.match.POS,H=function(g,l){return"\\"+(l-0+1)},ia;for(ia in u.match){u.match[ia]=RegExp(u.match[ia].source+/(?![^\[]*\])(?![^\(]*\))/.source);u.leftMatch[ia]=RegExp(/(^(?:.|\r|\n)*?)/.source+u.match[ia].source.replace(/\\(\d+)/g,H))}var ya=
function(g,l){g=Array.prototype.slice.call(g,0);if(l){l.push.apply(l,g);return l}return g};try{Array.prototype.slice.call(A.documentElement.childNodes,0)}catch(Ra){ya=function(g,l){var t=0,s=l||[];if(f.call(g)==="[object Array]")Array.prototype.push.apply(s,g);else if(typeof g.length==="number")for(var z=g.length;t<z;t++)s.push(g[t]);else for(;g[t];t++)s.push(g[t]);return s}}var V,Qa;if(A.documentElement.compareDocumentPosition)V=function(g,l){if(g===l){h=true;return 0}if(!g.compareDocumentPosition||
!l.compareDocumentPosition)return g.compareDocumentPosition?-1:1;return g.compareDocumentPosition(l)&4?-1:1};else{V=function(g,l){var t,s,z=[],B=[];t=g.parentNode;s=l.parentNode;var R=t;if(g===l){h=true;return 0}else if(t===s)return Qa(g,l);else if(t){if(!s)return 1}else return-1;for(;R;){z.unshift(R);R=R.parentNode}for(R=s;R;){B.unshift(R);R=R.parentNode}t=z.length;s=B.length;for(R=0;R<t&&R<s;R++)if(z[R]!==B[R])return Qa(z[R],B[R]);return R===t?Qa(g,B[R],-1):Qa(z[R],l,1)};Qa=function(g,l,t){if(g===
l)return t;for(g=g.nextSibling;g;){if(g===l)return-1;g=g.nextSibling}return 1}}o.getText=function(g){for(var l="",t,s=0;g[s];s++){t=g[s];if(t.nodeType===3||t.nodeType===4)l+=t.nodeValue;else if(t.nodeType!==8)l+=o.getText(t.childNodes)}return l};(function(){var g=A.createElement("div"),l="script"+(new Date).getTime(),t=A.documentElement;g.innerHTML="<a name='"+l+"'/>";t.insertBefore(g,t.firstChild);if(A.getElementById(l)){u.find.ID=function(s,z,B){if(typeof z.getElementById!=="undefined"&&!B)return(z=
z.getElementById(s[1]))?z.id===s[1]||typeof z.getAttributeNode!=="undefined"&&z.getAttributeNode("id").nodeValue===s[1]?[z]:F:[]};u.filter.ID=function(s,z){var B=typeof s.getAttributeNode!=="undefined"&&s.getAttributeNode("id");return s.nodeType===1&&B&&B.nodeValue===z}}t.removeChild(g);t=g=null})();(function(){var g=A.createElement("div");g.appendChild(A.createComment(""));if(g.getElementsByTagName("*").length>0)u.find.TAG=function(l,t){var s=t.getElementsByTagName(l[1]);if(l[1]==="*"){for(var z=
[],B=0;s[B];B++)s[B].nodeType===1&&z.push(s[B]);s=z}return s};g.innerHTML="<a href='#'></a>";if(g.firstChild&&typeof g.firstChild.getAttribute!=="undefined"&&g.firstChild.getAttribute("href")!=="#")u.attrHandle.href=function(l){return l.getAttribute("href",2)};g=null})();A.querySelectorAll&&function(){var g=o,l=A.createElement("div");l.innerHTML="<p class='TEST'></p>";if(!(l.querySelectorAll&&l.querySelectorAll(".TEST").length===0)){o=function(s,z,B,R){z=z||A;s=s.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");
if(!R&&!o.isXML(z))if(z.nodeType===9)try{return ya(z.querySelectorAll(s),B)}catch(ca){}else if(z.nodeType===1&&z.nodeName.toLowerCase()!=="object"){var Ja=z.getAttribute("id"),gb=Ja||"__sizzle__";Ja||z.setAttribute("id",gb);try{return ya(z.querySelectorAll("#"+gb+" "+s),B)}catch(ib){}finally{Ja||z.removeAttribute("id")}}return g(s,z,B,R)};for(var t in g)o[t]=g[t];l=null}}();(function(){var g=A.documentElement,l=g.matchesSelector||g.mozMatchesSelector||g.webkitMatchesSelector||g.msMatchesSelector,
t=false;try{l.call(A.documentElement,"[test!='']:sizzle")}catch(s){t=true}if(l)o.matchesSelector=function(z,B){B=B.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!o.isXML(z))try{if(t||!u.match.PSEUDO.test(B)&&!/!=/.test(B))return l.call(z,B)}catch(R){}return o(B,null,null,[z]).length>0}})();(function(){var g=A.createElement("div");g.innerHTML="<div class='test e'></div><div class='test'></div>";if(!(!g.getElementsByClassName||g.getElementsByClassName("e").length===0)){g.lastChild.className="e";if(g.getElementsByClassName("e").length!==
1){u.order.splice(1,0,"CLASS");u.find.CLASS=function(l,t,s){if(typeof t.getElementsByClassName!=="undefined"&&!s)return t.getElementsByClassName(l[1])};g=null}}})();o.contains=A.documentElement.contains?function(g,l){return g!==l&&(g.contains?g.contains(l):true)}:A.documentElement.compareDocumentPosition?function(g,l){return!!(g.compareDocumentPosition(l)&16)}:function(){return false};o.isXML=function(g){return(g=(g?g.ownerDocument||g:0).documentElement)?g.nodeName!=="HTML":false};var fb=function(g,
l){for(var t,s=[],z="",B=l.nodeType?[l]:l;t=u.match.PSEUDO.exec(g);){z+=t[0];g=g.replace(u.match.PSEUDO,"")}g=u.relative[g]?g+"*":g;t=0;for(var R=B.length;t<R;t++)o(g,B[t],s);return o.filter(z,s)};c.find=o;c.expr=o.selectors;c.expr[":"]=c.expr.filters;c.unique=o.uniqueSort;c.text=o.getText;c.isXMLDoc=o.isXML;c.contains=o.contains})();var q=/Until$/,w=/^(?:parents|prevUntil|prevAll)/,y=/,/,D=/^.[^:#\[\.,]*$/,N=Array.prototype.slice,T=c.expr.match.POS;c.fn.extend({find:function(a){for(var b=this.pushStack("",
"find",a),d=0,e=0,f=this.length;e<f;e++){d=b.length;c.find(a,this[e],b);if(e>0)for(var h=d;h<b.length;h++)for(var p=0;p<d;p++)if(b[p]===b[h]){b.splice(h--,1);break}}return b},has:function(a){var b=c(a);return this.filter(function(){for(var d=0,e=b.length;d<e;d++)if(c.contains(this,b[d]))return true})},not:function(a){return this.pushStack(Z(this,a,false),"not",a)},filter:function(a){return this.pushStack(Z(this,a,true),"filter",a)},is:function(a){return!!a&&c.filter(a,this).length>0},closest:function(a,
b){var d=[],e,f,h=this[0];if(c.isArray(a)){var p,o={},u=1;if(h&&a.length){e=0;for(f=a.length;e<f;e++){p=a[e];o[p]||(o[p]=c.expr.match.POS.test(p)?c(p,b||this.context):p)}for(;h&&h.ownerDocument&&h!==b;){for(p in o){e=o[p];if(e.jquery?e.index(h)>-1:c(h).is(e))d.push({selector:p,elem:h,level:u})}h=h.parentNode;u++}}return d}p=T.test(a)?c(a,b||this.context):null;e=0;for(f=this.length;e<f;e++)for(h=this[e];h;)if(p?p.index(h)>-1:c.find.matchesSelector(h,a)){d.push(h);break}else{h=h.parentNode;if(!h||!h.ownerDocument||
h===b)break}d=d.length>1?c.unique(d):d;return this.pushStack(d,"closest",a)},index:function(a){if(!a||typeof a==="string")return c.inArray(this[0],a?c(a):this.parent().children());return c.inArray(a.jquery?a[0]:a,this)},add:function(a,b){var d=typeof a==="string"?c(a,b||this.context):c.makeArray(a),e=c.merge(this.get(),d);return this.pushStack(!d[0]||!d[0].parentNode||d[0].parentNode.nodeType===11||!e[0]||!e[0].parentNode||e[0].parentNode.nodeType===11?e:c.unique(e))},andSelf:function(){return this.add(this.prevObject)}});
c.each({parent:function(a){return(a=a.parentNode)&&a.nodeType!==11?a:null},parents:function(a){return c.dir(a,"parentNode")},parentsUntil:function(a,b,d){return c.dir(a,"parentNode",d)},next:function(a){return c.nth(a,2,"nextSibling")},prev:function(a){return c.nth(a,2,"previousSibling")},nextAll:function(a){return c.dir(a,"nextSibling")},prevAll:function(a){return c.dir(a,"previousSibling")},nextUntil:function(a,b,d){return c.dir(a,"nextSibling",d)},prevUntil:function(a,b,d){return c.dir(a,"previousSibling",
d)},siblings:function(a){return c.sibling(a.parentNode.firstChild,a)},children:function(a){return c.sibling(a.firstChild)},contents:function(a){return c.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:c.makeArray(a.childNodes)}},function(a,b){c.fn[a]=function(d,e){var f=c.map(this,b,d);q.test(a)||(e=d);if(e&&typeof e==="string")f=c.filter(e,f);f=this.length>1?c.unique(f):f;if((this.length>1||y.test(e))&&w.test(a))f=f.reverse();return this.pushStack(f,a,N.call(arguments).join(","))}});
c.extend({filter:function(a,b,d){if(d)a=":not("+a+")";return b.length===1?c.find.matchesSelector(b[0],a)?[b[0]]:[]:c.find.matches(a,b)},dir:function(a,b,d){var e=[];for(a=a[b];a&&a.nodeType!==9&&(d===F||a.nodeType!==1||!c(a).is(d));){a.nodeType===1&&e.push(a);a=a[b]}return e},nth:function(a,b,d){b=b||1;for(var e=0;a;a=a[d])if(a.nodeType===1&&++e===b)break;return a},sibling:function(a,b){for(var d=[];a;a=a.nextSibling)a.nodeType===1&&a!==b&&d.push(a);return d}});var pa=/ jQuery\d+="(?:\d+|null)"/g,
aa=/^\s+/,Aa=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,Ea=/<([\w:]+)/,Ia=/<tbody/i,va=/<|&#?\w+;/,Ma=/<(?:script|object|embed|option|style)/i,Ba=/checked\s*(?:[^=]|=\s*.checked.)/i,O=/\=([^="'>\s]+\/)>/g,J={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],
area:[1,"<map>","</map>"],_default:[0,"",""]};J.optgroup=J.option;J.tbody=J.tfoot=J.colgroup=J.caption=J.thead;J.th=J.td;if(!c.support.htmlSerialize)J._default=[1,"div<div>","</div>"];c.fn.extend({text:function(a){if(c.isFunction(a))return this.each(function(b){var d=c(this);d.text(a.call(this,b,d.text()))});if(typeof a!=="object"&&a!==F)return this.empty().append((this[0]&&this[0].ownerDocument||A).createTextNode(a));return c.text(this)},wrapAll:function(a){if(c.isFunction(a))return this.each(function(d){c(this).wrapAll(a.call(this,
d))});if(this[0]){var b=c(a,this[0].ownerDocument).eq(0).clone(true);this[0].parentNode&&b.insertBefore(this[0]);b.map(function(){for(var d=this;d.firstChild&&d.firstChild.nodeType===1;)d=d.firstChild;return d}).append(this)}return this},wrapInner:function(a){if(c.isFunction(a))return this.each(function(b){c(this).wrapInner(a.call(this,b))});return this.each(function(){var b=c(this),d=b.contents();d.length?d.wrapAll(a):b.append(a)})},wrap:function(a){return this.each(function(){c(this).wrapAll(a)})},
unwrap:function(){return this.parent().each(function(){c.nodeName(this,"body")||c(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(b){this.parentNode.insertBefore(b,this)});else if(arguments.length){var a=
c(arguments[0]);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(b){this.parentNode.insertBefore(b,this.nextSibling)});else if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,c(arguments[0]).toArray());return a}},remove:function(a,b){for(var d=0,e;(e=this[d])!=null;d++)if(!a||c.filter(a,[e]).length){if(!b&&e.nodeType===1){c.cleanData(e.getElementsByTagName("*"));
c.cleanData([e])}e.parentNode&&e.parentNode.removeChild(e)}return this},empty:function(){for(var a=0,b;(b=this[a])!=null;a++)for(b.nodeType===1&&c.cleanData(b.getElementsByTagName("*"));b.firstChild;)b.removeChild(b.firstChild);return this},clone:function(a){var b=this.map(function(){if(!c.support.noCloneEvent&&!c.isXMLDoc(this)){var d=this.outerHTML,e=this.ownerDocument;if(!d){d=e.createElement("div");d.appendChild(this.cloneNode(true));d=d.innerHTML}return c.clean([d.replace(pa,"").replace(O,'="$1">').replace(aa,
"")],e)[0]}else return this.cloneNode(true)});if(a===true){na(this,b);na(this.find("*"),b.find("*"))}return b},html:function(a){if(a===F)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(pa,""):null;else if(typeof a==="string"&&!Ma.test(a)&&(c.support.leadingWhitespace||!aa.test(a))&&!J[(Ea.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(Aa,"<$1></$2>");try{for(var b=0,d=this.length;b<d;b++)if(this[b].nodeType===1){c.cleanData(this[b].getElementsByTagName("*"));this[b].innerHTML=a}}catch(e){this.empty().append(a)}}else c.isFunction(a)?
this.each(function(f){var h=c(this);h.html(a.call(this,f,h.html()))}):this.empty().append(a);return this},replaceWith:function(a){if(this[0]&&this[0].parentNode){if(c.isFunction(a))return this.each(function(b){var d=c(this),e=d.html();d.replaceWith(a.call(this,b,e))});if(typeof a!=="string")a=c(a).detach();return this.each(function(){var b=this.nextSibling,d=this.parentNode;c(this).remove();b?c(b).before(a):c(d).append(a)})}else return this.pushStack(c(c.isFunction(a)?a():a),"replaceWith",a)},detach:function(a){return this.remove(a,
true)},domManip:function(a,b,d){var e,f,h,p=a[0],o=[];if(!c.support.checkClone&&arguments.length===3&&typeof p==="string"&&Ba.test(p))return this.each(function(){c(this).domManip(a,b,d,true)});if(c.isFunction(p))return this.each(function(ba){var H=c(this);a[0]=p.call(this,ba,b?H.html():F);H.domManip(a,b,d)});if(this[0]){e=p&&p.parentNode;e=c.support.parentNode&&e&&e.nodeType===11&&e.childNodes.length===this.length?{fragment:e}:c.buildFragment(a,this,o);h=e.fragment;if(f=h.childNodes.length===1?h=
h.firstChild:h.firstChild){b=b&&c.nodeName(f,"tr");f=0;for(var u=this.length;f<u;f++)d.call(b?c.nodeName(this[f],"table")?this[f].getElementsByTagName("tbody")[0]||this[f].appendChild(this[f].ownerDocument.createElement("tbody")):this[f]:this[f],f>0||e.cacheable||this.length>1?h.cloneNode(true):h)}o.length&&c.each(o,ua)}return this}});c.buildFragment=function(a,b,d){var e,f,h;b=b&&b[0]?b[0].ownerDocument||b[0]:A;if(a.length===1&&typeof a[0]==="string"&&a[0].length<512&&b===A&&!Ma.test(a[0])&&(c.support.checkClone||
!Ba.test(a[0]))){f=true;if(h=c.fragments[a[0]])if(h!==1)e=h}if(!e){e=b.createDocumentFragment();c.clean(a,b,e,d)}if(f)c.fragments[a[0]]=h?e:1;return{fragment:e,cacheable:f}};c.fragments={};c.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){c.fn[a]=function(d){var e=[];d=c(d);var f=this.length===1&&this[0].parentNode;if(f&&f.nodeType===11&&f.childNodes.length===1&&d.length===1){d[b](this[0]);return this}else{f=0;for(var h=
d.length;f<h;f++){var p=(f>0?this.clone(true):this).get();c(d[f])[b](p);e=e.concat(p)}return this.pushStack(e,a,d.selector)}}});c.extend({clean:function(a,b,d,e){b=b||A;if(typeof b.createElement==="undefined")b=b.ownerDocument||b[0]&&b[0].ownerDocument||A;for(var f=[],h=0,p;(p=a[h])!=null;h++){if(typeof p==="number")p+="";if(p){if(typeof p==="string"&&!va.test(p))p=b.createTextNode(p);else if(typeof p==="string"){p=p.replace(Aa,"<$1></$2>");var o=(Ea.exec(p)||["",""])[1].toLowerCase(),u=J[o]||J._default,
ba=u[0],H=b.createElement("div");for(H.innerHTML=u[1]+p+u[2];ba--;)H=H.lastChild;if(!c.support.tbody){ba=Ia.test(p);o=o==="table"&&!ba?H.firstChild&&H.firstChild.childNodes:u[1]==="<table>"&&!ba?H.childNodes:[];for(u=o.length-1;u>=0;--u)c.nodeName(o[u],"tbody")&&!o[u].childNodes.length&&o[u].parentNode.removeChild(o[u])}!c.support.leadingWhitespace&&aa.test(p)&&H.insertBefore(b.createTextNode(aa.exec(p)[0]),H.firstChild);p=H.childNodes}if(p.nodeType)f.push(p);else f=c.merge(f,p)}}if(d)for(h=0;f[h];h++)if(e&&
c.nodeName(f[h],"script")&&(!f[h].type||f[h].type.toLowerCase()==="text/javascript"))e.push(f[h].parentNode?f[h].parentNode.removeChild(f[h]):f[h]);else{f[h].nodeType===1&&f.splice.apply(f,[h+1,0].concat(c.makeArray(f[h].getElementsByTagName("script"))));d.appendChild(f[h])}return f},cleanData:function(a){for(var b,d,e=c.cache,f=c.event.special,h=c.support.deleteExpando,p=0,o;(o=a[p])!=null;p++)if(!(o.nodeName&&c.noData[o.nodeName.toLowerCase()]))if(d=o[c.expando]){if((b=e[d])&&b.events)for(var u in b.events)f[u]?
c.event.remove(o,u):c.removeEvent(o,u,b.handle);if(h)delete o[c.expando];else o.removeAttribute&&o.removeAttribute(c.expando);delete e[d]}}});var qa=/alpha\([^)]*\)/i,la=/opacity=([^)]*)/,oa=/-([a-z])/ig,$=/([A-Z])/g,ta=/^-?\d+(?:px)?$/i,za=/^-?\d/,wa={position:"absolute",visibility:"hidden",display:"block"},sa=["Left","Right"],La=["Top","Bottom"],Na,eb,Ua,Ta=function(a,b){return b.toUpperCase()};c.fn.css=function(a,b){if(arguments.length===2&&b===F)return this;return c.access(this,a,b,true,function(d,
e,f){return f!==F?c.style(d,e,f):c.css(d,e)})};c.extend({cssHooks:{opacity:{get:function(a,b){if(b){var d=Na(a,"opacity","opacity");return d===""?"1":d}else return a.style.opacity}}},cssNumber:{zIndex:true,fontWeight:true,opacity:true,zoom:true,lineHeight:true},cssProps:{"float":c.support.cssFloat?"cssFloat":"styleFloat"},style:function(a,b,d,e){if(!(!a||a.nodeType===3||a.nodeType===8||!a.style)){var f,h=c.camelCase(b),p=a.style,o=c.cssHooks[h];b=c.cssProps[h]||h;if(d!==F){if(!(typeof d==="number"&&
isNaN(d)||d==null)){if(typeof d==="number"&&!c.cssNumber[h])d+="px";if(!o||!("set"in o)||(d=o.set(a,d))!==F)try{p[b]=d}catch(u){}}}else{if(o&&"get"in o&&(f=o.get(a,false,e))!==F)return f;return p[b]}}},css:function(a,b,d){var e,f=c.camelCase(b),h=c.cssHooks[f];b=c.cssProps[f]||f;if(h&&"get"in h&&(e=h.get(a,true,d))!==F)return e;else if(Na)return Na(a,b,f)},swap:function(a,b,d){var e={},f;for(f in b){e[f]=a.style[f];a.style[f]=b[f]}d.call(a);for(f in b)a.style[f]=e[f]},camelCase:function(a){return a.replace(oa,
Ta)}});c.curCSS=c.css;c.each(["height","width"],function(a,b){c.cssHooks[b]={get:function(d,e,f){var h;if(e){if(d.offsetWidth!==0)h=Ha(d,b,f);else c.swap(d,wa,function(){h=Ha(d,b,f)});if(h<=0){h=Na(d,b,b);if(h==="0px"&&Ua)h=Ua(d,b,b);if(h!=null)return h===""||h==="auto"?"0px":h}if(h<0||h==null){h=d.style[b];return h===""||h==="auto"?"0px":h}return typeof h==="string"?h:h+"px"}},set:function(d,e){if(ta.test(e)){e=parseFloat(e);if(e>=0)return e+"px"}else return e}}});if(!c.support.opacity)c.cssHooks.opacity=
{get:function(a,b){return la.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":b?"1":""},set:function(a,b){var d=a.style;d.zoom=1;var e=c.isNaN(b)?"":"alpha(opacity="+b*100+")",f=d.filter||"";d.filter=qa.test(f)?f.replace(qa,e):d.filter+" "+e}};if(A.defaultView&&A.defaultView.getComputedStyle)eb=function(a,b,d){var e;d=d.replace($,"-$1").toLowerCase();if(!(b=a.ownerDocument.defaultView))return F;if(b=b.getComputedStyle(a,null)){e=b.getPropertyValue(d);
if(e===""&&!c.contains(a.ownerDocument.documentElement,a))e=c.style(a,d)}return e};if(A.documentElement.currentStyle)Ua=function(a,b){var d,e,f=a.currentStyle&&a.currentStyle[b],h=a.style;if(!ta.test(f)&&za.test(f)){d=h.left;e=a.runtimeStyle.left;a.runtimeStyle.left=a.currentStyle.left;h.left=b==="fontSize"?"1em":f||0;f=h.pixelLeft+"px";h.left=d;a.runtimeStyle.left=e}return f===""?"auto":f};Na=eb||Ua;if(c.expr&&c.expr.filters){c.expr.filters.hidden=function(a){var b=a.offsetHeight;return a.offsetWidth===
0&&b===0||!c.support.reliableHiddenOffsets&&(a.style.display||c.css(a,"display"))==="none"};c.expr.filters.visible=function(a){return!c.expr.filters.hidden(a)}}var Va=c.now(),U=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,ea=/^(?:select|textarea)/i,M=/^(?:color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,L=/^(?:GET|HEAD)$/,v=/\[\]$/,C=/\=\?(&|$)/,E=/\?/,K=/([?&])_=[^&]*/,G=/^(\w+:)?\/\/([^\/?#]+)/,W=/%20/g,X=/#.*$/,Y=c.fn.load;c.fn.extend({load:function(a,
b,d){if(typeof a!=="string"&&Y)return Y.apply(this,arguments);else if(!this.length)return this;var e=a.indexOf(" ");if(e>=0){var f=a.slice(e,a.length);a=a.slice(0,e)}e="GET";if(b)if(c.isFunction(b)){d=b;b=null}else if(typeof b==="object"){b=c.param(b,c.ajaxSettings.traditional);e="POST"}var h=this;c.ajax({url:a,type:e,dataType:"html",data:b,complete:function(p,o){if(o==="success"||o==="notmodified")h.html(f?c("<div>").append(p.responseText.replace(U,"")).find(f):p.responseText);d&&h.each(d,[p.responseText,
o,p])}});return this},serialize:function(){return c.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?c.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||ea.test(this.nodeName)||M.test(this.type))}).map(function(a,b){var d=c(this).val();return d==null?null:c.isArray(d)?c.map(d,function(e){return{name:b.name,value:e}}):{name:b.name,value:d}}).get()}});c.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),
function(a,b){c.fn[b]=function(d){return this.bind(b,d)}});c.extend({get:function(a,b,d,e){if(c.isFunction(b)){e=e||d;d=b;b=null}return c.ajax({type:"GET",url:a,data:b,success:d,dataType:e})},getScript:function(a,b){return c.get(a,null,b,"script")},getJSON:function(a,b,d){return c.get(a,b,d,"json")},post:function(a,b,d,e){if(c.isFunction(b)){e=e||d;d=b;b={}}return c.ajax({type:"POST",url:a,data:b,success:d,dataType:e})},ajaxSetup:function(a){c.extend(c.ajaxSettings,a)},ajaxSettings:{url:location.href,
global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:function(){return new i.XMLHttpRequest},accepts:{xml:"application/xml, text/xml",html:"text/html",script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},ajax:function(a){var b=c.extend(true,{},c.ajaxSettings,a),d,e,f,h=b.type.toUpperCase(),p=L.test(h);b.url=b.url.replace(X,"");b.context=a&&a.context!=null?a.context:b;if(b.data&&
b.processData&&typeof b.data!=="string")b.data=c.param(b.data,b.traditional);if(b.dataType==="jsonp"){if(h==="GET")C.test(b.url)||(b.url+=(E.test(b.url)?"&":"?")+(b.jsonp||"callback")+"=?");else if(!b.data||!C.test(b.data))b.data=(b.data?b.data+"&":"")+(b.jsonp||"callback")+"=?";b.dataType="json"}if(b.dataType==="json"&&(b.data&&C.test(b.data)||C.test(b.url))){d=b.jsonpCallback||"jsonp"+Va++;if(b.data)b.data=(b.data+"").replace(C,"="+d+"$1");b.url=b.url.replace(C,"="+d+"$1");b.dataType="script";var o=
i[d];i[d]=function(s){if(c.isFunction(o))o(s);else{i[d]=F;try{delete i[d]}catch(z){}}f=s;c.handleSuccess(b,V,e,f);c.handleComplete(b,V,e,f);H&&H.removeChild(ia)}}if(b.dataType==="script"&&b.cache===null)b.cache=false;if(b.cache===false&&p){var u=c.now(),ba=b.url.replace(K,"$1_="+u);b.url=ba+(ba===b.url?(E.test(b.url)?"&":"?")+"_="+u:"")}if(b.data&&p)b.url+=(E.test(b.url)?"&":"?")+b.data;b.global&&c.active++===0&&c.event.trigger("ajaxStart");u=(u=G.exec(b.url))&&(u[1]&&u[1].toLowerCase()!==location.protocol||
u[2].toLowerCase()!==location.host);if(b.dataType==="script"&&h==="GET"&&u){var H=A.getElementsByTagName("head")[0]||A.documentElement,ia=A.createElement("script");if(b.scriptCharset)ia.charset=b.scriptCharset;ia.src=b.url;if(!d){var ya=false;ia.onload=ia.onreadystatechange=function(){if(!ya&&(!this.readyState||this.readyState==="loaded"||this.readyState==="complete")){ya=true;c.handleSuccess(b,V,e,f);c.handleComplete(b,V,e,f);ia.onload=ia.onreadystatechange=null;H&&ia.parentNode&&H.removeChild(ia)}}}H.insertBefore(ia,
H.firstChild);return F}var Ra=false,V=b.xhr();if(V){b.username?V.open(h,b.url,b.async,b.username,b.password):V.open(h,b.url,b.async);try{if(b.data!=null&&!p||a&&a.contentType)V.setRequestHeader("Content-Type",b.contentType);if(b.ifModified){c.lastModified[b.url]&&V.setRequestHeader("If-Modified-Since",c.lastModified[b.url]);c.etag[b.url]&&V.setRequestHeader("If-None-Match",c.etag[b.url])}u||V.setRequestHeader("X-Requested-With","XMLHttpRequest");V.setRequestHeader("Accept",b.dataType&&b.accepts[b.dataType]?
b.accepts[b.dataType]+", */*; q=0.01":b.accepts._default)}catch(Qa){}if(b.beforeSend&&b.beforeSend.call(b.context,V,b)===false){b.global&&c.active--===1&&c.event.trigger("ajaxStop");V.abort();return false}b.global&&c.triggerGlobal(b,"ajaxSend",[V,b]);var fb=V.onreadystatechange=function(s){if(!V||V.readyState===0||s==="abort"){Ra||c.handleComplete(b,V,e,f);Ra=true;if(V)V.onreadystatechange=c.noop}else if(!Ra&&V&&(V.readyState===4||s==="timeout")){Ra=true;V.onreadystatechange=c.noop;e=s==="timeout"?
"timeout":!c.httpSuccess(V)?"error":b.ifModified&&c.httpNotModified(V,b.url)?"notmodified":"success";var z;if(e==="success")try{f=c.httpData(V,b.dataType,b)}catch(B){e="parsererror";z=B}if(e==="success"||e==="notmodified")d||c.handleSuccess(b,V,e,f);else c.handleError(b,V,e,z);d||c.handleComplete(b,V,e,f);s==="timeout"&&V.abort();if(b.async)V=null}};try{var g=V.abort;V.abort=function(){V&&Function.prototype.call.call(g,V);fb("abort")}}catch(l){}b.async&&b.timeout>0&&setTimeout(function(){V&&!Ra&&
fb("timeout")},b.timeout);try{V.send(p||b.data==null?null:b.data)}catch(t){c.handleError(b,V,null,t);c.handleComplete(b,V,e,f)}b.async||fb();return V}},param:function(a,b){var d=[],e=function(h,p){p=c.isFunction(p)?p():p;d[d.length]=encodeURIComponent(h)+"="+encodeURIComponent(p)};if(b===F)b=c.ajaxSettings.traditional;if(c.isArray(a)||a.jquery)c.each(a,function(){e(this.name,this.value)});else for(var f in a)ja(f,a[f],b,e);return d.join("&").replace(W,"+")}});c.extend({active:0,lastModified:{},etag:{},
handleError:function(a,b,d,e){a.error&&a.error.call(a.context,b,d,e);a.global&&c.triggerGlobal(a,"ajaxError",[b,a,e])},handleSuccess:function(a,b,d,e){a.success&&a.success.call(a.context,e,d,b);a.global&&c.triggerGlobal(a,"ajaxSuccess",[b,a])},handleComplete:function(a,b,d){a.complete&&a.complete.call(a.context,b,d);a.global&&c.triggerGlobal(a,"ajaxComplete",[b,a]);a.global&&c.active--===1&&c.event.trigger("ajaxStop")},triggerGlobal:function(a,b,d){(a.context&&a.context.url==null?c(a.context):c.event).trigger(b,
d)},httpSuccess:function(a){try{return!a.status&&location.protocol==="file:"||a.status>=200&&a.status<300||a.status===304||a.status===1223}catch(b){}return false},httpNotModified:function(a,b){var d=a.getResponseHeader("Last-Modified"),e=a.getResponseHeader("Etag");if(d)c.lastModified[b]=d;if(e)c.etag[b]=e;return a.status===304},httpData:function(a,b,d){var e=a.getResponseHeader("content-type")||"",f=b==="xml"||!b&&e.indexOf("xml")>=0;a=f?a.responseXML:a.responseText;f&&a.documentElement.nodeName===
"parsererror"&&c.error("parsererror");if(d&&d.dataFilter)a=d.dataFilter(a,b);if(typeof a==="string")if(b==="json"||!b&&e.indexOf("json")>=0)a=c.parseJSON(a);else if(b==="script"||!b&&e.indexOf("javascript")>=0)c.globalEval(a);return a}});if(i.ActiveXObject)c.ajaxSettings.xhr=function(){if(i.location.protocol!=="file:")try{return new i.XMLHttpRequest}catch(a){}try{return new i.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}};c.support.ajax=!!c.ajaxSettings.xhr();var P={},ha=/^(?:toggle|show|hide)$/,
Ca=/^([+\-]=)?([\d+.\-]+)(.*)$/,Fa,ma=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];c.fn.extend({show:function(a,b,d){if(a||a===0)return this.animate(x("show",3),a,b,d);else{d=0;for(var e=this.length;d<e;d++){a=this[d];b=a.style.display;if(!c.data(a,"olddisplay")&&b==="none")b=a.style.display="";b===""&&c.css(a,"display")==="none"&&c.data(a,"olddisplay",ka(a.nodeName))}for(d=0;d<e;d++){a=this[d];b=
a.style.display;if(b===""||b==="none")a.style.display=c.data(a,"olddisplay")||""}return this}},hide:function(a,b,d){if(a||a===0)return this.animate(x("hide",3),a,b,d);else{a=0;for(b=this.length;a<b;a++){d=c.css(this[a],"display");d!=="none"&&c.data(this[a],"olddisplay",d)}for(a=0;a<b;a++)this[a].style.display="none";return this}},_toggle:c.fn.toggle,toggle:function(a,b,d){var e=typeof a==="boolean";if(c.isFunction(a)&&c.isFunction(b))this._toggle.apply(this,arguments);else a==null||e?this.each(function(){var f=
e?a:c(this).is(":hidden");c(this)[f?"show":"hide"]()}):this.animate(x("toggle",3),a,b,d);return this},fadeTo:function(a,b,d,e){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:b},a,d,e)},animate:function(a,b,d,e){var f=c.speed(b,d,e);if(c.isEmptyObject(a))return this.each(f.complete);return this[f.queue===false?"each":"queue"](function(){var h=c.extend({},f),p,o=this.nodeType===1,u=o&&c(this).is(":hidden"),ba=this;for(p in a){var H=c.camelCase(p);if(p!==H){a[H]=a[p];delete a[p];
p=H}if(a[p]==="hide"&&u||a[p]==="show"&&!u)return h.complete.call(this);if(o&&(p==="height"||p==="width")){h.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY];if(c.css(this,"display")==="inline"&&c.css(this,"float")==="none")if(c.support.inlineBlockNeedsLayout)if(ka(this.nodeName)==="inline")this.style.display="inline-block";else{this.style.display="inline";this.style.zoom=1}else this.style.display="inline-block"}if(c.isArray(a[p])){(h.specialEasing=h.specialEasing||{})[p]=
a[p][1];a[p]=a[p][0]}}if(h.overflow!=null)this.style.overflow="hidden";h.curAnim=c.extend({},a);c.each(a,function(ia,ya){var Ra=new c.fx(ba,h,ia);if(ha.test(ya))Ra[ya==="toggle"?u?"show":"hide":ya](a);else{var V=Ca.exec(ya),Qa=Ra.cur()||0;if(V){var fb=parseFloat(V[2]),g=V[3]||"px";if(g!=="px"){c.style(ba,ia,(fb||1)+g);Qa*=(fb||1)/Ra.cur();c.style(ba,ia,Qa+g)}if(V[1])fb=(V[1]==="-="?-1:1)*fb+Qa;Ra.custom(Qa,fb,g)}else Ra.custom(Qa,ya,"")}});return true})},stop:function(a,b){var d=c.timers;a&&this.queue([]);
this.each(function(){for(var e=d.length-1;e>=0;e--)if(d[e].elem===this){b&&d[e](true);d.splice(e,1)}});b||this.dequeue();return this}});c.each({slideDown:x("show",1),slideUp:x("hide",1),slideToggle:x("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){c.fn[a]=function(d,e,f){return this.animate(b,d,e,f)}});c.extend({speed:function(a,b,d){var e=a&&typeof a==="object"?c.extend({},a):{complete:d||!d&&b||c.isFunction(a)&&a,duration:a,easing:d&&b||
b&&!c.isFunction(b)&&b};e.duration=c.fx.off?0:typeof e.duration==="number"?e.duration:e.duration in c.fx.speeds?c.fx.speeds[e.duration]:c.fx.speeds._default;e.old=e.complete;e.complete=function(){e.queue!==false&&c(this).dequeue();c.isFunction(e.old)&&e.old.call(this)};return e},easing:{linear:function(a,b,d,e){return d+e*a},swing:function(a,b,d,e){return(-Math.cos(a*Math.PI)/2+0.5)*e+d}},timers:[],fx:function(a,b,d){this.options=b;this.elem=a;this.prop=d;if(!b.orig)b.orig={}}});c.fx.prototype={update:function(){this.options.step&&
this.options.step.call(this.elem,this.now,this);(c.fx.step[this.prop]||c.fx.step._default)(this)},cur:function(){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null))return this.elem[this.prop];var a=parseFloat(c.css(this.elem,this.prop));return a&&a>-1E4?a:0},custom:function(a,b,d){function e(p){return f.step(p)}var f=this,h=c.fx;this.startTime=c.now();this.start=a;this.end=b;this.unit=d||this.unit||"px";this.now=this.start;this.pos=this.state=0;e.elem=this.elem;if(e()&&
c.timers.push(e)&&!Fa)Fa=setInterval(h.tick,h.interval)},show:function(){this.options.orig[this.prop]=c.style(this.elem,this.prop);this.options.show=true;this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur());c(this.elem).show()},hide:function(){this.options.orig[this.prop]=c.style(this.elem,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(a){var b=c.now(),d=true;if(a||b>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();
this.options.curAnim[this.prop]=true;for(var e in this.options.curAnim)if(this.options.curAnim[e]!==true)d=false;if(d){if(this.options.overflow!=null&&!c.support.shrinkWrapBlocks){var f=this.elem,h=this.options;c.each(["","X","Y"],function(o,u){f.style["overflow"+u]=h.overflow[o]})}this.options.hide&&c(this.elem).hide();if(this.options.hide||this.options.show)for(var p in this.options.curAnim)c.style(this.elem,p,this.options.orig[p]);this.options.complete.call(this.elem)}return false}else{a=b-this.startTime;
this.state=a/this.options.duration;b=this.options.easing||(c.easing.swing?"swing":"linear");this.pos=c.easing[this.options.specialEasing&&this.options.specialEasing[this.prop]||b](this.state,a,0,1,this.options.duration);this.now=this.start+(this.end-this.start)*this.pos;this.update()}return true}};c.extend(c.fx,{tick:function(){for(var a=c.timers,b=0;b<a.length;b++)a[b]()||a.splice(b--,1);a.length||c.fx.stop()},interval:13,stop:function(){clearInterval(Fa);Fa=null},speeds:{slow:600,fast:200,_default:400},
step:{opacity:function(a){c.style(a.elem,"opacity",a.now)},_default:function(a){if(a.elem.style&&a.elem.style[a.prop]!=null)a.elem.style[a.prop]=(a.prop==="width"||a.prop==="height"?Math.max(0,a.now):a.now)+a.unit;else a.elem[a.prop]=a.now}}});if(c.expr&&c.expr.filters)c.expr.filters.animated=function(a){return c.grep(c.timers,function(b){return a===b.elem}).length};var xa=/^t(?:able|d|h)$/i,ra=/^(?:body|html)$/i;c.fn.offset="getBoundingClientRect"in A.documentElement?function(a){var b=this[0],d;
if(a)return this.each(function(p){c.offset.setOffset(this,a,p)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return c.offset.bodyOffset(b);try{d=b.getBoundingClientRect()}catch(e){}var f=b.ownerDocument,h=f.documentElement;if(!d||!c.contains(h,b))return d||{top:0,left:0};b=f.body;f=Ga(f);return{top:d.top+(f.pageYOffset||c.support.boxModel&&h.scrollTop||b.scrollTop)-(h.clientTop||b.clientTop||0),left:d.left+(f.pageXOffset||c.support.boxModel&&h.scrollLeft||b.scrollLeft)-(h.clientLeft||
b.clientLeft||0)}}:function(a){var b=this[0];if(a)return this.each(function(ba){c.offset.setOffset(this,a,ba)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return c.offset.bodyOffset(b);c.offset.initialize();var d,e=b.offsetParent,f=b.ownerDocument,h=f.documentElement,p=f.body;d=(f=f.defaultView)?f.getComputedStyle(b,null):b.currentStyle;for(var o=b.offsetTop,u=b.offsetLeft;(b=b.parentNode)&&b!==p&&b!==h;){if(c.offset.supportsFixedPosition&&d.position==="fixed")break;d=f?f.getComputedStyle(b,
null):b.currentStyle;o-=b.scrollTop;u-=b.scrollLeft;if(b===e){o+=b.offsetTop;u+=b.offsetLeft;if(c.offset.doesNotAddBorder&&!(c.offset.doesAddBorderForTableAndCells&&xa.test(b.nodeName))){o+=parseFloat(d.borderTopWidth)||0;u+=parseFloat(d.borderLeftWidth)||0}e=b.offsetParent}if(c.offset.subtractsBorderForOverflowNotVisible&&d.overflow!=="visible"){o+=parseFloat(d.borderTopWidth)||0;u+=parseFloat(d.borderLeftWidth)||0}}if(d.position==="relative"||d.position==="static"){o+=p.offsetTop;u+=p.offsetLeft}if(c.offset.supportsFixedPosition&&
d.position==="fixed"){o+=Math.max(h.scrollTop,p.scrollTop);u+=Math.max(h.scrollLeft,p.scrollLeft)}return{top:o,left:u}};c.offset={initialize:function(){var a=A.body,b=A.createElement("div"),d,e,f,h=parseFloat(c.css(a,"marginTop"))||0;c.extend(b.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"});b.innerHTML="<div style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;'><div></div></div><table style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;' cellpadding='0' cellspacing='0'><tr><td></td></tr></table>";
a.insertBefore(b,a.firstChild);d=b.firstChild;e=d.firstChild;f=d.nextSibling.firstChild.firstChild;this.doesNotAddBorder=e.offsetTop!==5;this.doesAddBorderForTableAndCells=f.offsetTop===5;e.style.position="fixed";e.style.top="20px";this.supportsFixedPosition=e.offsetTop===20||e.offsetTop===15;e.style.position=e.style.top="";d.style.overflow="hidden";d.style.position="relative";this.subtractsBorderForOverflowNotVisible=e.offsetTop===-5;this.doesNotIncludeMarginInBodyOffset=a.offsetTop!==h;a.removeChild(b);
c.offset.initialize=c.noop},bodyOffset:function(a){var b=a.offsetTop,d=a.offsetLeft;c.offset.initialize();if(c.offset.doesNotIncludeMarginInBodyOffset){b+=parseFloat(c.css(a,"marginTop"))||0;d+=parseFloat(c.css(a,"marginLeft"))||0}return{top:b,left:d}},setOffset:function(a,b,d){var e=c.css(a,"position");if(e==="static")a.style.position="relative";var f=c(a),h=f.offset(),p=c.css(a,"top"),o=c.css(a,"left"),u=e==="absolute"&&c.inArray("auto",[p,o])>-1;e={};var ba={};if(u)ba=f.position();p=u?ba.top:parseInt(p,
10)||0;o=u?ba.left:parseInt(o,10)||0;if(c.isFunction(b))b=b.call(a,d,h);if(b.top!=null)e.top=b.top-h.top+p;if(b.left!=null)e.left=b.left-h.left+o;"using"in b?b.using.call(a,e):f.css(e)}};c.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),d=this.offset(),e=ra.test(b[0].nodeName)?{top:0,left:0}:b.offset();d.top-=parseFloat(c.css(a,"marginTop"))||0;d.left-=parseFloat(c.css(a,"marginLeft"))||0;e.top+=parseFloat(c.css(b[0],"borderTopWidth"))||0;e.left+=parseFloat(c.css(b[0],
"borderLeftWidth"))||0;return{top:d.top-e.top,left:d.left-e.left}},offsetParent:function(){return this.map(function(){for(var a=this.offsetParent||A.body;a&&!ra.test(a.nodeName)&&c.css(a,"position")==="static";)a=a.offsetParent;return a})}});c.each(["Left","Top"],function(a,b){var d="scroll"+b;c.fn[d]=function(e){var f=this[0],h;if(!f)return null;return e!==F?this.each(function(){if(h=Ga(this))h.scrollTo(!a?e:c(h).scrollLeft(),a?e:c(h).scrollTop());else this[d]=e}):(h=Ga(f))?"pageXOffset"in h?h[a?
"pageYOffset":"pageXOffset"]:c.support.boxModel&&h.document.documentElement[d]||h.document.body[d]:f[d]}});c.each(["Height","Width"],function(a,b){var d=b.toLowerCase();c.fn["inner"+b]=function(){return this[0]?parseFloat(c.css(this[0],d,"padding")):null};c.fn["outer"+b]=function(e){return this[0]?parseFloat(c.css(this[0],d,e?"margin":"border")):null};c.fn[d]=function(e){var f=this[0];if(!f)return e==null?null:this;if(c.isFunction(e))return this.each(function(p){var o=c(this);o[d](e.call(this,p,o[d]()))});
if(c.isWindow(f))return f.document.compatMode==="CSS1Compat"&&f.document.documentElement["client"+b]||f.document.body["client"+b];else if(f.nodeType===9)return Math.max(f.documentElement["client"+b],f.body["scroll"+b],f.documentElement["scroll"+b],f.body["offset"+b],f.documentElement["offset"+b]);else if(e===F){f=c.css(f,d);var h=parseFloat(f);return c.isNaN(h)?f:h}else return this.css(d,typeof e==="string"?e:e+"px")}})})(window);var er_$144=jQuery.noConflict();if(er_jQueryOrig)window.jQuery=er_jQueryOrig;
var er_swfobject22=function(){function i(){if(!lb){try{var j=da.getElementsByTagName("body")[0].appendChild(da.createElement("span"));j.parentNode.removeChild(j)}catch(q){return}lb=true;j=pb.length;for(var w=0;w<j;w++)pb[w]()}}function F(j){if(lb)j();else pb[pb.length]=j}function Pa(j){if(typeof Za.addEventListener!=ga)Za.addEventListener("load",j,false);else if(typeof da.addEventListener!=ga)da.addEventListener("load",j,false);else if(typeof Za.attachEvent!=ga)x(Za,"onload",j);else if(typeof Za.onload==
"function"){var q=Za.onload;Za.onload=function(){q();j()}}else Za.onload=j}function $a(){var j=da.getElementsByTagName("body")[0],q=da.createElement(Xa);q.setAttribute("type",bb);var w=j.appendChild(q);if(w){var y=0;(function(){if(typeof w.GetVariable!=ga){var D=w.GetVariable("$version");if(D){D=D.split(" ")[1].split(",");k.pv=[parseInt(D[0],10),parseInt(D[1],10),parseInt(D[2],10)]}}else if(y<10){y++;setTimeout(arguments.callee,10);return}j.removeChild(q);w=null;nb()})()}else nb()}function nb(){var j=
Wa.length;if(j>0)for(var q=0;q<j;q++){var w=Wa[q].id,y=Wa[q].callbackFn,D={success:false,id:w};if(k.pv[0]>0){var N=ja(w);if(N)if(ka(Wa[q].swfVersion)&&!(k.wk&&k.wk<312)){A(w,true);if(y){D.success=true;D.ref=sb(w);y(D)}}else if(Wa[q].expressInstall&&r()){D={};D.data=Wa[q].expressInstall;D.width=N.getAttribute("width")||"0";D.height=N.getAttribute("height")||"0";if(N.getAttribute("class"))D.styleclass=N.getAttribute("class");if(N.getAttribute("align"))D.align=N.getAttribute("align");var T={};N=N.getElementsByTagName("param");
for(var pa=N.length,aa=0;aa<pa;aa++)if(N[aa].getAttribute("name").toLowerCase()!="movie")T[N[aa].getAttribute("name")]=N[aa].getAttribute("value");Q(D,T,w,y)}else{Z(N);y&&y(D)}}else{A(w,true);if(y){if((w=sb(w))&&typeof w.SetVariable!=ga){D.success=true;D.ref=w}y(D)}}}}function sb(j){var q=null;if((j=ja(j))&&j.nodeName=="OBJECT")if(typeof j.SetVariable!=ga)q=j;else if(j=j.getElementsByTagName(Xa)[0])q=j;return q}function r(){return!mb&&ka("6.0.65")&&(k.win||k.mac)&&!(k.wk&&k.wk<312)}function Q(j,q,
w,y){mb=true;vb=y||null;wb={success:false,id:w};var D=ja(w);if(D){if(D.nodeName=="OBJECT"){qb=na(D);tb=null}else{qb=D;tb=w}j.id=rb;if(typeof j.width==ga||!/%$/.test(j.width)&&parseInt(j.width,10)<310)j.width="310";if(typeof j.height==ga||!/%$/.test(j.height)&&parseInt(j.height,10)<137)j.height="137";da.title=da.title.slice(0,47)+" - Flash Player Installation";y=k.ie&&k.win?"ActiveX":"PlugIn";y="MMredirectURL="+encodeURI(Za.location).toString().replace(/&/g,"%26")+"&MMplayerType="+y+"&MMdoctitle="+
da.title;if(typeof q.flashvars!=ga)q.flashvars+="&"+y;else q.flashvars=y;if(k.ie&&k.win&&D.readyState!=4){y=da.createElement("div");w+="SWFObjectNew";y.setAttribute("id",w);D.parentNode.insertBefore(y,D);D.style.display="none";(function(){D.readyState==4?D.parentNode.removeChild(D):setTimeout(arguments.callee,10)})()}ua(j,q,w)}}function Z(j){if(k.ie&&k.win&&j.readyState!=4){var q=da.createElement("div");j.parentNode.insertBefore(q,j);q.parentNode.replaceChild(na(j),q);j.style.display="none";(function(){j.readyState==
4?j.parentNode.removeChild(j):setTimeout(arguments.callee,10)})()}else j.parentNode.replaceChild(na(j),j)}function na(j){var q=da.createElement("div");if(k.win&&k.ie)q.innerHTML=j.innerHTML;else if(j=j.getElementsByTagName(Xa)[0])if(j=j.childNodes)for(var w=j.length,y=0;y<w;y++)!(j[y].nodeType==1&&j[y].nodeName=="PARAM")&&j[y].nodeType!=8&&q.appendChild(j[y].cloneNode(true));return q}function ua(j,q,w){var y,D=ja(w);if(k.wk&&k.wk<312)return y;if(D){if(typeof j.id==ga)j.id=w;if(k.ie&&k.win){var N=
"",T;for(T in j)if(j[T]!=Object.prototype[T])if(T.toLowerCase()=="data")q.movie=j[T];else if(T.toLowerCase()=="styleclass")N+=' class="'+j[T]+'"';else if(T.toLowerCase()!="classid")N+=" "+T+'="'+j[T]+'"';T="";for(var pa in q)if(q[pa]!=Object.prototype[pa])T+='<param name="'+pa+'" value="'+q[pa]+'" />';D.outerHTML='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'+N+">"+T+"</object>";cb[cb.length]=j.id;y=ja(j.id)}else{pa=da.createElement(Xa);pa.setAttribute("type",bb);for(var aa in j)if(j[aa]!=
Object.prototype[aa])if(aa.toLowerCase()=="styleclass")pa.setAttribute("class",j[aa]);else aa.toLowerCase()!="classid"&&pa.setAttribute(aa,j[aa]);for(N in q)if(q[N]!=Object.prototype[N]&&N.toLowerCase()!="movie"){j=pa;T=N;aa=q[N];w=da.createElement("param");w.setAttribute("name",T);w.setAttribute("value",aa);j.appendChild(w)}D.parentNode.replaceChild(pa,D);y=pa}}return y}function Ha(j){var q=ja(j);if(q&&q.nodeName=="OBJECT")if(k.ie&&k.win){q.style.display="none";(function(){if(q.readyState==4){var w=
ja(j);if(w){for(var y in w)if(typeof w[y]=="function")w[y]=null;w.parentNode.removeChild(w)}}else setTimeout(arguments.callee,10)})()}else q.parentNode.removeChild(q)}function ja(j){var q=null;try{q=da.getElementById(j)}catch(w){}return q}function x(j,q,w){j.attachEvent(q,w);Ya[Ya.length]=[j,q,w]}function ka(j){var q=k.pv;j=j.split(".");j[0]=parseInt(j[0],10);j[1]=parseInt(j[1],10)||0;j[2]=parseInt(j[2],10)||0;return q[0]>j[0]||q[0]==j[0]&&q[1]>j[1]||q[0]==j[0]&&q[1]==j[1]&&q[2]>=j[2]?true:false}
function Ga(j,q,w,y){if(!(k.ie&&k.mac)){var D=da.getElementsByTagName("head")[0];if(D){w=w&&typeof w=="string"?w:"screen";if(y)hb=db=null;if(!db||hb!=w){y=da.createElement("style");y.setAttribute("type","text/css");y.setAttribute("media",w);db=D.appendChild(y);if(k.ie&&k.win&&typeof da.styleSheets!=ga&&da.styleSheets.length>0)db=da.styleSheets[da.styleSheets.length-1];hb=w}if(k.ie&&k.win)db&&typeof db.addRule==Xa&&db.addRule(j,q);else db&&typeof da.createTextNode!=ga&&db.appendChild(da.createTextNode(j+
" {"+q+"}"))}}}function A(j,q){if(n){var w=q?"visible":"hidden";if(lb&&ja(j))ja(j).style.visibility=w;else Ga("#"+j,"visibility:"+w)}}function c(j){return/[\\\"<>\.;]/.exec(j)!=null&&typeof encodeURIComponent!=ga?encodeURIComponent(j):j}var ga="undefined",Xa="object",bb="application/x-shockwave-flash",rb="SWFObjectExprInst",Za=window,da=document,Sa=navigator,ob=false,pb=[function(){ob?$a():nb()}],Wa=[],cb=[],Ya=[],qb,tb,vb,wb,lb=false,mb=false,db,hb,n=true,k=function(){var j=typeof da.getElementById!=
ga&&typeof da.getElementsByTagName!=ga&&typeof da.createElement!=ga,q=Sa.userAgent.toLowerCase(),w=Sa.platform.toLowerCase(),y=w?/win/.test(w):/win/.test(q);w=w?/mac/.test(w):/mac/.test(q);q=/webkit/.test(q)?parseFloat(q.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")):false;var D=!+"\u000b1",N=[0,0,0],T=null;if(typeof Sa.plugins!=ga&&typeof Sa.plugins["Shockwave Flash"]==Xa){if((T=Sa.plugins["Shockwave Flash"].description)&&!(typeof Sa.mimeTypes!=ga&&Sa.mimeTypes[bb]&&!Sa.mimeTypes[bb].enabledPlugin)){ob=
true;D=false;T=T.replace(/^.*\s+(\S+\s+\S+$)/,"$1");N[0]=parseInt(T.replace(/^(.*)\..*$/,"$1"),10);N[1]=parseInt(T.replace(/^.*\.(.*)\s.*$/,"$1"),10);N[2]=/[a-zA-Z]/.test(T)?parseInt(T.replace(/^.*[a-zA-Z]+(.*)$/,"$1"),10):0}}else if(typeof Za.ActiveXObject!=ga)try{var pa=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");if(pa)if(T=pa.GetVariable("$version")){D=true;T=T.split(" ")[1].split(",");N=[parseInt(T[0],10),parseInt(T[1],10),parseInt(T[2],10)]}}catch(aa){}return{w3:j,pv:N,wk:q,ie:D,win:y,
mac:w}}();(function(){if(k.w3){if(typeof da.readyState!=ga&&da.readyState=="complete"||typeof da.readyState==ga&&(da.getElementsByTagName("body")[0]||da.body))i();if(!lb){typeof da.addEventListener!=ga&&da.addEventListener("DOMContentLoaded",i,false);if(k.ie&&k.win){da.attachEvent("onreadystatechange",function(){if(da.readyState=="complete"){da.detachEvent("onreadystatechange",arguments.callee);i()}});Za==top&&function(){if(!lb){try{da.documentElement.doScroll("left")}catch(j){setTimeout(arguments.callee,
0);return}i()}}()}k.wk&&function(){lb||(/loaded|complete/.test(da.readyState)?i():setTimeout(arguments.callee,0))}();Pa(i)}}})();(function(){k.ie&&k.win&&window.attachEvent("onunload",function(){for(var j=Ya.length,q=0;q<j;q++)Ya[q][0].detachEvent(Ya[q][1],Ya[q][2]);j=cb.length;for(q=0;q<j;q++)Ha(cb[q]);for(var w in k)k[w]=null;k=null;for(var y in er_swfobject22)er_swfobject22[y]=null;er_swfobject22=null})})();return{registerObject:function(j,q,w,y){if(k.w3&&j&&q){var D={};D.id=j;D.swfVersion=q;D.expressInstall=
w;D.callbackFn=y;Wa[Wa.length]=D;A(j,false)}else y&&y({success:false,id:j})},getObjectById:function(j){if(k.w3)return sb(j)},embedSWF:function(j,q,w,y,D,N,T,pa,aa,Aa){var Ea={success:false,id:q};if(k.w3&&!(k.wk&&k.wk<312)&&j&&q&&w&&y&&D){A(q,false);F(function(){w+="";y+="";var Ia={};if(aa&&typeof aa===Xa)for(var va in aa)Ia[va]=aa[va];Ia.data=j;Ia.width=w;Ia.height=y;va={};if(pa&&typeof pa===Xa)for(var Ma in pa)va[Ma]=pa[Ma];if(T&&typeof T===Xa)for(var Ba in T)if(typeof va.flashvars!=ga)va.flashvars+=
"&"+Ba+"="+T[Ba];else va.flashvars=Ba+"="+T[Ba];if(ka(D)){Ma=ua(Ia,va,q);Ia.id==q&&A(q,true);Ea.success=true;Ea.ref=Ma}else if(N&&r()){Ia.data=N;Q(Ia,va,q,Aa);return}else A(q,true);Aa&&Aa(Ea)})}else Aa&&Aa(Ea)},switchOffAutoHideShow:function(){n=false},ua:k,getFlashPlayerVersion:function(){return{major:k.pv[0],minor:k.pv[1],release:k.pv[2]}},hasFlashPlayerVersion:ka,createSWF:function(j,q,w){if(k.w3)return ua(j,q,w)},showExpressInstall:function(j,q,w,y){k.w3&&r()&&Q(j,q,w,y)},removeSWF:function(j){k.w3&&
Ha(j)},createCSS:function(j,q,w,y){k.w3&&Ga(j,q,w,y)},addDomLoadEvent:F,addLoadEvent:Pa,getQueryParamValue:function(j){var q=da.location.search||da.location.hash;if(q){if(/\?/.test(q))q=q.split("?")[1];if(j==null)return c(q);q=q.split("&");for(var w=0;w<q.length;w++)if(q[w].substring(0,q[w].indexOf("="))==j)return c(q[w].substring(q[w].indexOf("=")+1))}return""},expressInstallCallback:function(){if(mb){var j=ja(rb);if(j&&qb){j.parentNode.replaceChild(qb,j);if(tb){A(tb,true);if(k.ie&&k.win)qb.style.display=
"block"}vb&&vb(wb)}mb=false}}}}();
(function(i,F,Pa,$a){if(typeof Pa.erO1I==="undefined"){Pa.erO1I=1;i&&function(){i.extend(i.fn,{contextMenu:function(r,Q){if(r.menu==undefined)return false;if(r.inSpeed==undefined)r.inSpeed=150;if(r.outSpeed==undefined)r.outSpeed=75;if(r.inSpeed==0)r.inSpeed=-1;if(r.outSpeed==0)r.outSpeed=-1;i(this).each(function(){var Z=i(this),na=i(Z).offset();i("#"+r.menu).addClass("contextMenu");i(this).mousedown(function(ua){if(ua.button==2){ua.stopPropagation();i(this).mouseup(function(Ha){Ha.stopPropagation();var ja=
i(this);i(this).unbind(Ha);if(ua.button==2){i(".contextMenu").hide();var x=i("#"+r.menu);if(i(Z).hasClass("disabled"))return false;var ka={},Ga,A;if(self.innerHeight){ka.pageYOffset=self.pageYOffset;ka.pageXOffset=self.pageXOffset;ka.innerHeight=self.innerHeight;ka.innerWidth=self.innerWidth}else if(F.documentElement&&F.documentElement.clientHeight){ka.pageYOffset=F.documentElement.scrollTop;ka.pageXOffset=F.documentElement.scrollLeft;ka.innerHeight=F.documentElement.clientHeight;ka.innerWidth=F.documentElement.clientWidth}else if(F.body){ka.pageYOffset=
F.body.scrollTop;ka.pageXOffset=F.body.scrollLeft;ka.innerHeight=F.body.clientHeight;ka.innerWidth=F.body.clientWidth}Ha.pageX?Ga=Ha.pageX:Ga=Ha.clientX+ka.scrollLeft;Ha.pageY?A=Ha.pageY:A=Ha.clientY+ka.scrollTop;i(F).unbind("click");i(x).css({top:A,left:Ga}).fadeIn(r.inSpeed);i(x).find("A").mouseover(function(){i(x).find("LI.hover").removeClass("hover");i(this).parent().addClass("hover")}).mouseout(function(){i(x).find("LI.hover").removeClass("hover")});i(F).keypress(function(c){switch(c.keyCode){case 38:if(i(x).find("LI.hover").size()==
0)i(x).find("LI:last").addClass("hover");else{i(x).find("LI.hover").removeClass("hover").prevAll("LI:not(.disabled)").eq(0).addClass("hover");i(x).find("LI.hover").size()==0&&i(x).find("LI:last").addClass("hover")}break;case 40:if(i(x).find("LI.hover").size()==0)i(x).find("LI:first").addClass("hover");else{i(x).find("LI.hover").removeClass("hover").nextAll("LI:not(.disabled)").eq(0).addClass("hover");i(x).find("LI.hover").size()==0&&i(x).find("LI:first").addClass("hover")}break;case 13:i(x).find("LI.hover A").trigger("click");
break;case 27:i(F).trigger("click")}});i("#"+r.menu).find("A").unbind("click");i("#"+r.menu).find("LI:not(.disabled) A").click(function(){i(F).unbind("click").unbind("keypress");i(".contextMenu").hide();Q&&Q(i(this).attr("href").substr(1),i(ja),{x:Ga-na.left,y:A-na.top,docX:Ga,docY:A});return false});setTimeout(function(){i(F).click(function(){i(F).unbind("click").unbind("keypress");i(x).fadeOut(r.outSpeed);return false})},0)}})}});if(i.browser.mozilla)i("#"+r.menu).each(function(){i(this).css({MozUserSelect:"none"})});
else i.browser.msie?i("#"+r.menu).each(function(){i(this).bind("selectstart.disableTextSelect",function(){return false})}):i("#"+r.menu).each(function(){i(this).bind("mousedown.disableTextSelect",function(){return false})});i(Z).add(i("UL.contextMenu")).bind("contextmenu",function(){return false})});return i(this)},disableContextMenuItems:function(r){if(r==undefined){i(this).find("LI").addClass("disabled");return i(this)}i(this).each(function(){if(r!=undefined)for(var Q=r.split(","),Z=0;Z<Q.length;Z++)i(this).find('A[href="'+
Q[Z]+'"]').parent().addClass("disabled")});return i(this)},enableContextMenuItems:function(r){if(r==undefined){i(this).find("LI.disabled").removeClass("disabled");return i(this)}i(this).each(function(){if(r!=undefined)for(var Q=r.split(","),Z=0;Z<Q.length;Z++)i(this).find('A[href="'+Q[Z]+'"]').parent().removeClass("disabled")});return i(this)},disableContextMenu:function(){i(this).each(function(){i(this).addClass("disabled")});return i(this)},enableContextMenu:function(){i(this).each(function(){i(this).removeClass("disabled")});
return i(this)},destroyContextMenu:function(){i(this).each(function(){i(this).unbind("mousedown").unbind("mouseup")});return i(this)}})}(i);(function(r){function Q(na){var ua=na||Pa.event,Ha=[].slice.call(arguments,1),ja=0,x=0,ka=0;na=r.event.fix(ua);na.type="mousewheel";if(na.wheelDelta)ja=na.wheelDelta/120;if(na.detail)ja=-na.detail/3;ka=ja;if(ua.axis!==undefined&&ua.axis===ua.HORIZONTAL_AXIS){ka=0;x=-1*ja}if(ua.wheelDeltaY!==undefined)ka=ua.wheelDeltaY/120;if(ua.wheelDeltaX!==undefined)x=-1*ua.wheelDeltaX/
120;Ha.unshift(na,ja,x,ka);return r.event.handle.apply(this,Ha)}var Z=["DOMMouseScroll","mousewheel"];r.event.special.mousewheel={setup:function(){if(this.addEventListener)for(var na=Z.length;na;)this.addEventListener(Z[--na],Q,false);else this.onmousewheel=Q},teardown:function(){if(this.removeEventListener)for(var na=Z.length;na;)this.removeEventListener(Z[--na],Q,false);else this.onmousewheel=null}};r.fn.extend({mousewheel:function(na){return na?this.bind("mousewheel",na):this.trigger("mousewheel")},
unmousewheel:function(na){return this.unbind("mousewheel",na)}})})(i);(function(r){r.fn.iosSwipe=function(Q){var Z={dimension:"x",threshold:{x:30,tolerance:0.5},swipe:function(){}};Q=r.extend(Z,Q);if(!this)return false;return this.each(function(){function na(A){A.preventDefault();ka.x=A.targetTouches[0].pageX;ka.y=A.targetTouches[0].pageY}function ua(){var A=x.y-ka.y,c=x.x-ka.x,ga=Math.abs(c),Xa=Math.abs(A);if(Z.dimension=="x")ga>Z.threshold.x&&Xa<ga*Z.threshold.tolerance&&Z.swipe(c>0);else Xa>Z.threshold.x&&
ga<Xa*Z.threshold.tolerance&&Z.swipe(A>0)}function Ha(A){x.x=A.targetTouches[0].pageX;x.y=A.targetTouches[0].pageY;ka.x=x.x;ka.y=x.y}function ja(){}r(this);var x={x:0,y:0},ka={x:0,y:0};try{this.addEventListener("touchstart",Ha,false);this.addEventListener("touchmove",na,false);this.addEventListener("touchend",ua,false);this.addEventListener("touchcancel",ja,false)}catch(Ga){}})}})(i);var nb=function(){function r(ja){if(F.all&&!Pa[ja])for(var x=0;x<F.forms.length;x++)if(F.forms[x][ja])return F.forms[x][ja];
return F.all?Pa[ja]:F[ja]}var Q=[],Z,na="",ua={},Ha=-1;return{determineFlashSupport:function(){return $a.hasFlashPlayerVersion("9")},setup:function(ja,x){na=ja;ua=x;$a.hasFlashPlayerVersion("9")&&$a.createCSS("p.audioplayer_container span","visibility:hidden;height:24px;overflow:hidden;padding:0;border:none;")},getPlayer:function(ja){return r(ja)},addListener:function(ja,x,ka){r(ja).addListener(x,ka)},embed:function(ja,x){var ka={},Ga,A={},c={},ga={};for(Ga in ua)ka[Ga]=ua[Ga];for(Ga in x)ka[Ga]=
x[Ga];if(ka.transparentpagebg=="yes"){A.bgcolor="#FFFFFF";A.wmode="transparent"}else{if(ka.pagebg)A.bgcolor="#"+ka.pagebg;A.wmode="opaque"}A.menu="false";for(Ga in ka)Ga=="pagebg"||Ga=="width"||Ga=="transparentpagebg"||(c[Ga]=ka[Ga]);ga.name=ja;ga.style="outline: none";c.playerID=ja;$a.embedSWF(na,ja,ka.width.toString(),"24","9",x.expressInstall||false,c,A,ga);Q.push(ja)},syncVolumes:function(ja,x){Ha=x;for(var ka=0;ka<Q.length;ka++)Q[ka]!=ja&&r(Q[ka]).setVolume(Ha)},activate:function(ja){Z&&Z!=ja&&
r(Z).close();Z=ja},load:function(ja,x,ka,Ga){r(ja).load(x,ka,Ga)},close:function(ja){r(ja).close();if(ja==Z)Z=null},open:function(ja,x){if(x==undefined)x=1;r(ja).open(x==undefined?0:x-1)},getVolume:function(){return Ha}}}();i.extend(i.easing,{def:"easeOutQuad",swing:function(r,Q,Z,na,ua){return i.easing[i.easing.def](r,Q,Z,na,ua)},easeInQuad:function(r,Q,Z,na,ua){return na*(Q/=ua)*Q+Z},easeOutQuad:function(r,Q,Z,na,ua){return-na*(Q/=ua)*(Q-2)+Z},easeInOutQuad:function(r,Q,Z,na,ua){if((Q/=ua/2)<1)return na/
2*Q*Q+Z;return-na/2*(--Q*(Q-2)-1)+Z},easeInCubic:function(r,Q,Z,na,ua){return na*(Q/=ua)*Q*Q+Z},easeOutCubic:function(r,Q,Z,na,ua){return na*((Q=Q/ua-1)*Q*Q+1)+Z}});i.extend(i.fn,{er_cssValueObj:function(r){for(var Q={},Z=0;Z<r.length;Z++)Q[r[Z]]=this.css(r[Z]);return Q},er_cssPositionToNumber:function(r){r=i(this[0]).css(r);if(r==undefined||r==null)return 0;if(r=="auto")return 0;if(!isNaN(Number(r.split("px").join(""))))return Number(r.split("px").join(""));return 0},er_x:function(r){if(arguments.length<
1)return this.er_cssPositionToNumber("left");return this.css({left:r})},er_y:function(r){if(arguments.length<1)return this.er_cssPositionToNumber("top");return this.css({top:r})},er_cssWidth:function(r){if(arguments.length<1)return this.er_cssPositionToNumber("width");return this.css({width:r})},er_cssHeight:function(r){if(arguments.length<1)return this.er_cssPositionToNumber("height");return this.css({height:r})},er_alpha:function(r){if(arguments.length==1)return this.css({opacity:r});return this.css("opacity")},
er_randomize:function(r){return this.each(function(){var Q=i(this),Z=Q.children(r);Z.sort(function(){return Math.round(Math.random())-0.5});Q.children().remove(r);Q.append(Z)})}});i.fn.er_opacity=i.fn.er_alpha;var sb=function(){var r={smallCircleLeftUp:"images/rotator/btns/circle_small_left_up_export.png",smallCircleLeftOver:"images/rotator/btns/circle_small_left_over_export.png",smallCircleRightUp:"images/rotator/btns/circle_small_right_up_export.png",smallCircleRightOver:"images/rotator/btns/circle_small_right_over_export.png",
bigCircleLeftUp:"images/rotator/btns/circle_big_left_up_export.png",bigCircleLeftOver:"images/rotator/btns/circle_big_left_over_export.png",bigCircleRightUp:"images/rotator/btns/circle_big_right_up_export.png",bigCircleRightOver:"images/rotator/btns/circle_big_right_over_export.png",smallRectLeftUp:"images/rotator/btns/rect_small_left_up_export.png",smallRectLeftOver:"images/rotator/btns/rect_small_left_over_export.png",smallRectRightUp:"images/rotator/btns/rect_small_right_up_export.png",smallRectRightOver:"images/rotator/btns/rect_small_right_over_export.png",
cozyCircleLeftUp:"images/rotator/btns/circle_arrow2/left_up_export.png",cozyCircleLeftOver:"images/rotator/btns/circle_arrow2/left_over_export.png",cozyCircleRightUp:"images/rotator/btns/circle_arrow2/right_up_export.png",cozyCircleRightOver:"images/rotator/btns/circle_arrow2/right_over_export.png",medMoonLeftUp:"images/rotator/btns/moon_med_left_up_export.png",medMoonLeftOver:"images/rotator/btns/moon_med_left_over_export.png",medMoonRightUp:"images/rotator/btns/moon_med_right_up_export.png",medMoonRightOver:"images/rotator/btns/moon_med_right_over_export.png",
minArrowLeftUp:"images/rotator/btns/minimal_arrows/left_up_export.png",minArrowLeftOver:"images/rotator/btns/minimal_arrows/left_over_export.png",minArrowRightUp:"images/rotator/btns/minimal_arrows/right_up_export.png",minArrowRightOver:"images/rotator/btns/minimal_arrows/right_over_export.png",circlePunchLeftUp:"images/rotator/btns/circlepunch_small/left_up.png",circlePunchLeftOver:"images/rotator/btns/circlepunch_small/left_over.png",circlePunchRightUp:"images/rotator/btns/circlepunch_small/right_up.png",
circlePunchRightOver:"images/rotator/btns/circlepunch_small/right_over.png",dotBlack35:"images/rotator/dots/export/20_14_black_35.png",dotBlack65:"images/rotator/dots/export/20_14_black_65.png",dotWhite35:"images/rotator/dots/export/20_14_wite_35.png",dotWhite65:"images/rotator/dots/export/20_14_wite_65.png",vlbCloseUp:"images/rotator/video/x_up_export.png",vlbCloseOver:"images/rotator/video/x_over_export.png",videoPlayOverlay:"images/rotator/video/play_overlay.png"},Q={},Z="";try{Z="https:"==F.location.protocol?
"s":""}catch(na){}for(var ua in r){var Ha=r[ua];if(Ha.indexOf("images/")==0)Ha="i"+Ha.substr(6);Ha="http"+Z+"://easyrotator.s3.amazonaws.com/1/"+Ha;Q[ua]=Ha}r=Q;Q=".dwuserEasyRotator .erimgMain .erimgMain_slides .visibleWhenSelected {display:none;} .dwuserEasyRotator .erimgMain .erimgMain_slides .erimgMain_slide_selected .visibleWhenSelected {display:block;}";Q+=".dwuserEasyRotator .erthumbGrid .erimgMain_slides .visibleWhenSelected {display:none;} .dwuserEasyRotator .erthumbGrid .erimgMain_slides .erimgMain_slide_selected .visibleWhenSelected {display:block;}";
Q+=".dwuserEasyRotator .eraudio, .dwuserEasyRotator .ervideo {display:none;}";Q+=".dwuserEasyRotator img {max-width:none !important; max-height:none !important;}";i("head").append('<style type="text/css">'+Q+"</style>");var ja=[];Pa.er_resetPositions=function(){i(ja).each(function(){this.call()})};i(".dwuserEasyRotator").each(function(){var x=i(this);if(!x.hasClass("erACR")){x.addClass("erACR");var ka=/autoplaySpeed\:3500/.test(x.attr("data-erConfig")||"")&&i(".ebfnr").length>0||/autoplayDelta\:2500/.test(x.attr("data-erConfig")||
"");if(i.browser.msie&&parseInt(i.browser.version)<7)x.css({padding:30,backgroundColor:"#000",fontFamily:"Georgia,'Times New Roman',Times,_serif",fontSize:16,color:"#FFF",textAlign:"center"}).html('This content is not compatible with Internet Explorer 6 or earlier.<br />Please install the <a style="color: #FFF;" href="http://www.microsoft.com/windows/internet-explorer/" target="_blank">latest version of IE</a> or a modern browser like <a href="http://www.google.com/chrome/" style="color: #FFF;" target="_blank">Chrome</a> or <a style="color: #FFF;" href="http://www.getfirefox.com/" target="_blank">Firefox</a>.');
else if(!ka&&F.location.hostname!="translate.googleusercontent.com"&&!x.find("]kniltuobare#=^ferh[a tuobare. ,)]wollofon=*ler[(ton:]/moc.resuwd.www//:ptth=^ferh[a tuobare.".split("").reverse().join(""))[0])alert("EasyRotator code corruption. Contact support.");else{var Ga=x.find(".erabout").css({position:"absolute",left:10,top:10}).hide();Ga.find("a.erabout_ok").click(function(n){n.preventDefault();Ga.hide()});Ga.find("a[href^=#eraboutlink]").click(function(n){n.preventDefault();Pa.open("http://www.dwuser.com/easyrotator/")});
Ga.find("a").css({border:"none !important",fontWeight:"normal !important",textDecoration:"underline !important"});var A="er_"+(Math.random()+"").split(".").join("")+"_cm",c=i('<ul id="'+A+'" class="er_cm" style="display: none;"><li wasclass="separator"><a href="#about">About Rotator...</a></li></ul>');i("body").append(c);i("head").append('<style type="text/css">.er_cm{font-family:Verdana,_sans !important;font-size:11px;color:#555;position:absolute;width:170px;z-index:999999;border:solid 1px #CCC;background:#EEE;padding:0px !important;margin:0px !important;display:none;-moz-box-shadow:0 3px 5px #333;-webkit-box-shadow:0 3px 5px #333;-ms-box-shadow:0 3px 5px #333;-o-box-shadow:0 3px 5px #333;box-shadow:0 3px 5px #333;}.er_cm LI{list-style:none;padding:0px !important;margin:0px !important;}.er_cm A{color:#333 !important;font-family:Verdana,_sans !important;font-size:11px !important;text-decoration:none;display:block;line-height:20px !important;height:20px;background-position:6px center;background-repeat:no-repeat;outline:none;padding:0px 5px 2px 20px !important;border:none !important;font-weight:normal !important;}.er_cm A:hover{text-decoration:none;}.er_cm LI.hover A{color:#FFF !important;background-color:#39F}.er_cm LI.separator{border-top:1px solid #FFF}.er_cm LI.preSeparator{border-bottom:1px solid #CCC}</style>');
ka||x.contextMenu({menu:A},function(n){if(/about$/.test(n)){n=i(Pa);n=x.css("position")=="relative"?{top:20,left:20}:{top:n.scrollTop()+20,left:n.scrollLeft()+20};Ga.css(n).show()}});var ga=eval("("+(x.attr("data-erConfig")||"{}")+")");A=ga.randomize===true;var Xa=false,bb=function(){if(!Xa){Xa=true;var n,k=F.domain;try{k=top.window.document.domain}catch(j){n=true}if(k!=""&&k!="translate.google.com"&&k!="translate.googleusercontent.com"&&k!="cache.googleusercontent.com"&&k!="webcache.googleusercontent.com"){var q=
"http://";try{q="https:"==F.location.protocol?"https://":"http://"}catch(w){}k=q+(q=="http://"?"erpv.dwuser.com":"dwuser.com")+"/easyrotator/updates/pcisvc.php?d="+k+"&if="+(n?"y":"n")+"&l="+escape(location.host+location.pathname)+"&nocache="+(new Date).getTime()+"&jsoncallback=?";i.getJSON(k,function(y){if(y&&y.v==="n"){y=ka?"You have disabled the right-click menu (a Pro feature)":"You are using EasyRotator Pro features";y=n?"You are using EasyRotator Pro features, but EasyRotator Pro features cannot be used in cross-domain iframes.  View the rotator page directly, or contact support for more information.":
y+", but EasyRotator Pro hasn't been enabled for this domain ("+F.domain+').<br /><a style="color: #FFF; text-decoration: underline;" href="http://www.dwuser.com/easyrotator/pro-needed/?d='+F.domain+'" target="_blank">Learn More and Fix...</a>';x.css({padding:30,backgroundColor:"#000",fontFamily:"Georgia,'Times New Roman',Times,_serif",fontSize:16,color:"#FFF",textAlign:"center"}).html(y)}})}}};ka&&bb();var rb=[];x.is(":hidden")&&x.parents().each(function(){var n=i(this);if((n.css("display")||"unknown").toLowerCase()==
"none")rb.push(n.css("display",""))});var Za;(function(){var n={use101:false,src:"easyrotatorvideo.s3.amazonaws.com/1/StrobeMediaPlayback.swf",srcYT:"easyrotatorvideo.s3.amazonaws.com/1/StrobeMediaPlayback.swf",srcYTPlugin:"easyrotatorvideo.s3.amazonaws.com/1/YouTubePlugin.swf",srcEI:"easyrotatorvideo.s3.amazonaws.com/1/expressInstall.swf",restartAutoplay:false,ytShowPlayOverlay:true,showTransparentOverlay:true,ytShowTransparentOverlay:false},k;for(k in n)if(ga["video_"+k]!==undefined)n[k]=ga["video_"+
k];var j="http://";try{j="https:"==F.location.protocol?"https://":"http://"}catch(q){}for(k in n)if(/^src/.test(k))n[k]=j+n[k];if(F.domain==""&&ga.lpp){var w="";(function(){for(var O=ga.lpp.split("-"),J=0;J<O.length;J++)w+=String.fromCharCode(O[J])})();for(k in n)if(/^src/.test(k)){j=n[k];j=j.substr(j.lastIndexOf("/")+1);n[k]=w+j}}if(n.use101){n.src=n.src.replace(/\.swf$/,"_101.swf");n.srcYT=n.srcYT.replace(/\.swf$/,"_101.swf");n.srcYTPlugin=n.srcYTPlugin.replace(/\.swf$/,"_101.swf")}var y={},D=false,
N=function(O,J){J.html("");O.er_alpha(0);setTimeout(function(){O.css({display:"none"})},300)},T=function(O,J,qa,la){var oa=x.find("[data-ertype=vlb]"),$,ta;if(oa.length==0){$=String(0.3);oa=i('<div data-ertype="vlb" style="position:absolute;left:0;right:0;top:0;bottom:0;background:rgba(50,50,50,0.85);"></div>');oa.er_alpha(0).css({"-moz-transition":"opacity "+$+"s ease-out","-webkit-transition":"opacity "+$+"s ease-out","-o-transition":"opacity "+$+"s ease-out",transition:"opacity "+$+"s ease-out"});
oa.appendTo(x);$=i('<div class="erVLBoh" style="position:absolute;left:50%;top:50%;overflow:visible;background:#FFF;-webkit-box-shadow:0 2px 15px rgba(0,0,0,0.7);-moz-box-shadow:0 2px 15px rgba(0,0,0,0.7);box-shadow:0 2px 15px rgba(0,0,0,0.7);"></div>');ta=i('<div class="erVLBmh" style="position:absolute;left:12px;right:12px;top:12px;bottom:12px;background-color:#000;"></div>');$.append(ta).appendTo(oa);var za=r.vlbCloseUp,wa=r.vlbCloseOver;i('<div class="closeButton" style="position:absolute;top:-15px;right:-15px;"><img width="30" height="30" src="'+
za+'" ersrc-up="'+za+'" ersrc-over="'+wa+'" /></div>').appendTo($)}else{$=oa.find("div.erVLBoh");ta=oa.find("div.erVLBmh");oa.er_alpha(0).css({display:"block"})}if(!D){D=true;var sa=$.find(".closeButton"),La=sa.find("img");za=La.attr("ersrc-up");wa=La.attr("ersrc-over");sa.bind("mouseenter touchstart",function(){La[0].src=wa}).bind("mouseleave touchend touchcancel",function(){La[0].src=za}).click(function(){N(oa,oa.find("div.erVLBmh"))})}$.css({width:O+24,height:J+24,marginLeft:"-"+Math.round(12+
O/2)+"px",marginTop:"-"+Math.round(12+J/2)+"px"});ta.css({width:O,height:J});ta.hide();setTimeout(function(){oa.er_alpha(1)},1);setTimeout(function(){ta.show()},310);ta.html(qa);la(ta)},pa={},aa="ervBridgeCB"+(Math.random()+"").substr(2);Pa[aa]=function(O){if(!pa[O]){pa[O]=1;try{var J,qa=$a.getObjectById(O);J=aa+"_"+O+"_onMediaPlayerStateChange";Pa[J]=function(oa){oa=="playing"&&x.trigger("er_playPause",{v:false})};qa.addEventListener("mediaPlayerStateChange",J)}catch(la){Pa.console&&console.log(la)}}};
var Aa=0,Ea="erv"+(Math.random()+"").substr(2)+"p";Za=function(O,J,qa,la,oa){bb();O=J.poster||O;var $=J.autoplay===true,ta=J.src;if(!/^https?:/i.test(ta)){J=function(Va){var U=F.location.href,ea=U.indexOf("?");if(ea!=-1)U=U.substr(0,ea);U=U.substr(0,U.lastIndexOf("/")+1);ea=U.replace(/^[^:]+:\/+/,"");U=U.substr(0,U.length-ea.length);var M=ea.indexOf("/");if(/^\//.test(Va)&&M!=-1)ea=ea.substr(0,M);for(;Va.substr(0,3)=="../";){Va=Va.substr(3);ea=ea.replace(/\/[^\/]+\/$/,"/")}return U+ea+Va};var za=
ta;if(F.domain==""){/^file:/i.test(ta)||(za=J(ta));za=za.replace(/^file:\/+/i,"").replace(/^([^:]{0,9}):/,"$1|");za="../../../../../../../../../../../../../../../../../../../"+za}else/^file:/i.test(ta)||(za=J(ta));ta=za}var wa=Ea+Aa++,sa=i('<div id="'+wa+'" style="position:absolute;left:0;right:0;top:0;bottom:0;"></div>').appendTo(qa),La={},Na=false,eb;if(J=ta.match(/^https?:\/\/www.youtube.com\/watch\?v=([^&]+)/)){Na=true;eb=J[1]}var Ua=/iPod|iPhone|iPad|Android/.test(navigator.userAgent);J=Na?n.srcYT:
n.src;var Ta={};Ta.javascriptCallbackFunction=aa;Ta.src=ta;Ta.poster=O;Ta.autoPlay=$&&la==0&&oa==0?"true":"false";Ta.playButtonOverlay=Na?n.ytShowPlayOverlay?"true":"false":"true";Ta.playButtonOverlayBig=(Na?n.ytShowTransparentOverlay:n.showTransparentOverlay)?"true":"false";if(Na)Ta.plugin_YouTubePlugin=n.srcYTPlugin;O={allowFullScreen:"true",allowScriptAccess:"always",bgcolor:"#000000"};O.wmode="opaque";$a.embedSWF(J,wa,"100%","100%",n.use101?"10.1.0":"10.0.0",n.srcEI,Ta,O,{name:wa},function(Va){if(Va.success){Ta.autoPlay==
"true"&&x.trigger("er_playPause",{v:false});La={type:"inline",yt:Na,id:wa,autoplay:$,hasBeenAutoplayed:Ta.autoPlay=="true"}}else{sa.remove();var U;if(Na){Va=Ua?"0":"1";var ea=qa.height();if(Ua)ea-=24;U='<iframe type="text/html" width="'+qa.width()+'" height="'+ea+'" wasstyle="position:absolute; left:0;right:0;top:0;bottom:0;" src="http://www.youtube.com/embed/'+eb+"?autoplay="+Va+'" frameborder="0">'}else U='<video src="'+ta+'" width="100%" height="100%" autoplay controls="controls"></video>';Va=
i('<img width="100" height="100" src="'+r.videoPlayOverlay+'">').css({position:"absolute",cursor:"pointer",left:"50%",top:"50%",margin:"-50px 0 0 -50px"});Va.click(function(){x.trigger("er_playPause",{v:false});T(qa.width(),qa.height(),U,function(M){try{var L=M.find("video");if(L.length>0){L[0].load();L[0].play()}}catch(v){}})});Va.appendTo(qa);La={type:"lightbox",yt:Na,id:wa,autoplay:$}}y["r"+la]||(y["r"+la]={});y["r"+la]["c"+oa]||(y["r"+la]["c"+oa]=[]);y["r"+la]["c"+oa].push(La)})};var Ia=0,va=
0,Ma=function(){var O=y["r"+Ia];if(O&&O["c"+va]&&O["c"+va].length){O=O["c"+va];for(var J=0;J<O.length;J++){var qa=O[J];try{qa.type=="inline"&&$a.getObjectById(qa.id).pause()}catch(la){Pa.console&&console.log(la)}}}},Ba=function(O){Ma();va=O;if((O=y["r"+Ia])&&O["c"+va]&&O["c"+va].length){O=O["c"+va];for(var J=0;J<O.length;J++){var qa=O[J];try{if(qa.type=="inline"&&qa.autoplay&&(n.restartAutoplay||!qa.hasBeenAutoplayed)){qa.hasBeenAutoplayed=true;$a.getObjectById(qa.id).play2();x.trigger("er_playPause",
{v:false})}}catch(la){Pa.console&&console.log(la)}}}};x.bind("er_setRow",function(O,J){var qa=J.id;Ma();Ia=qa;Ba(0)}).bind("er_setCol",function(O,J){Ba(J.id)})})();if(F.compatMode=="BackCompat"&&i.browser.msie){var da='<a style="color:#FFF;" href="http://www.dwuser.com/easyrotator/doctype/" target="_blank">Error: This page doesn\'t have a valid DocType definition, which makes the rotator fail in IE.  For instructions on how to fix this, click here</a>.';x.css({padding:30,backgroundColor:"#000",fontFamily:"Georgia,'Times New Roman',Times,_serif",
fontSize:16,color:"#FFF",textAlign:"center"}).html(da)}else{var Sa=[],ob=",";da=x.find("[data-ertype=content] ul").css({position:"absolute",display:"none",left:0,top:0,width:0,height:0});da=x.find("[data-ertype=content] ul");if(da.length==0||da.children("li").length==0)alert("No content specified.  Exiting.");else{A&&da.er_randomize();var pb=/AdobeAIR/i.test(navigator.userAgent);x.find("[data-ertype=layout]").find(".erimgMain").each(function(){var n=i(this),k=eval("("+(n.attr("data-erConfig")||"{}")+
")"),j=Number(k.numTiles!==undefined?k.numTiles:1);if(j==-1)j=da.first().children().length;var q=Math.min(j,Math.max(1,Number(k.scrollSize!==undefined?k.scrollSize:j-1))),w=k.scaleMode||"fillArea",y=k.imgType||"main",D=k.treatAsThumbs===true,N=Number(k.duration!==undefined?k.duration:600);if(isNaN(N))N=600;var T=Number(k.durationVertical!==undefined?k.durationVertical:y=="main"?N:300);if(isNaN(T))T=600;var pa=k.easing!==undefined?k.easing:"easeOutQuad",aa=k.alwaysPreviousButton===true,Aa=k.loopNextButton!==
false,Ea=k.arrowButtonMode;/always|rollover/.test(Ea)||(Ea="always");var Ia=k.addMainSlideLinks!==false,va=k.slideLinkEvent=="rollover"&&!("ontouchstart"in Pa)?"mouseenter":"click",Ma=k.infiniteLoop!==undefined?k.infiniteLoop!==false:ga.pro_infiniteLoop===true,Ba=k.mouseWheel!==undefined?k.mouseWheel!==false:ga.pro_mouseWheelAndSwipeEnabled===true,O=k.swipeEnabled!==undefined?k.swipeEnabled===true:ga.pro_mouseWheelAndSwipeEnabled&&/iPod|iPad|iPhone|Android/i.test(navigator.userAgent);if(Ma||Ba||O)bb();
var J=n.find(".erimgMain_slides").first();J.css({overflow:"hidden"});var qa=J.find(".erimgMain_slide").remove(),la=Math.ceil(J.outerWidth()/j),oa=Math.ceil(J.outerHeight()),$=[],ta=[];if(ob.indexOf(","+y)!=-1)alert("EasyRotator: Layout error. Requested image type ["+y+"] already used.  Display will be ignored.");else{ob+=","+y;Sa=[];da.each(function(U){var ea=i(this),M=i('<div style="position: absolute; overflow: hidden; top:'+oa*U+'px; left:0;" er_row="'+U+'"></div>').appendTo(J);ta=ta.length==0?
M:ta.add(M);var L=i('<div style="position: absolute; overflow: visible; top:'+oa*U+'px; left:0;" er_row="'+U+'"></div>').appendTo(J);$=$.length==0?L:$.add(L);var v=ea.children("li");if(v.length==0)alert("Empty category being skipped - this may cause problems!");else{Sa.push(v.length);var C=function(E,K,G){var W=eval("("+(K.find("span.ervideo").attr("data-erConfig")||"{}")+")");if(W.src&&y=="main"){var X=G.find(".erimgMain_video").first();if(X.length==0){X=G.find(".erimgMain_img").first();X=X.clone().removeClass("erimgMain_img").addClass("erimgMain_video").insertAfter(X)}var Y=
K.find("img."+y).attr("src");Za(Y,W,X,U,E)}G.find(".erimgMain_img").css({overflow:"hidden"}).each(function(){var P=i(this),ha=P.width(),Ca=P.height(),Fa=K.find("img."+y).first().removeAttr("alt");Fa.attr("ersrc",Fa.attr("src"));Fa.attr("src","");Fa.css({display:"none",position:"absolute"}).attr("border",0).appendTo(P).data("erProcessCount",0).load(function(){var ma=i(this);if(!(ma.data("erProcessCount")>0||ma.attr("src")=="")){ma.data("erProcessCount",ma.data("erProcessCount")+1);var xa=this.naturalWidth,
ra=this.naturalHeight,a=ma.width(),b=ma.height();if(a==0&&b==0&&!isNaN(xa)&&!isNaN(ra)&&xa>0&&ra>0){a=xa;b=ra}xa=a/b;ra=ha/Ca;var d=1;if(w=="scaleDown"&&(xa>=ra&&a>ha||xa<=ra&&b>Ca)||w=="scaleUpAndDown"||w=="fillArea"){d=w!="fillArea"&&xa>=ra||w=="fillArea"&&xa<=ra?ha/a:Ca/b;a*=d;b*=d}pb?ma.css({left:Math.round((ha-a)/2),top:Math.round((Ca-b)/2),webkitTransform:"scale("+d+")",webkitTransformOrigin:"0 0"}).show():ma.css({left:Math.round((ha-a)/2),top:Math.round((Ca-b)/2),width:a,height:b}).show()}});
(y!="main"||D)&&Ia||P.wrapInner(K.find("a."+y+"Link").click(function(){x.trigger("er_playPause",{v:false})}));Fa.addClass("erImgLoadMomentarily")});G.find(".erimgMain_title").each(function(){i(this).html((K.find("span.title").html()||"").split("ul-fake").join("ul").split("li-fake").join("li"))});G.find(".erimgMain_desc").each(function(){i(this).html((K.find("span.desc").html()||"").split("ul-fake").join("ul").split("li-fake").join("li"))});G.find(".erimgMain_customField").each(function(){var P=i(this),
ha=P.attr("data-erfield");P.html(K.find("span.customField[data-erfield="+ha+"]").html()||"")});if((D||y!="main")&&Ia)G.bind(va,function(){var P=i(this);x.trigger("er_setCol",{id:Number(P.closest("[er_col]").attr("er_col"))})})};v.each(function(E){var K=i(this),G=qa.clone().appendTo(L).attr("er_col",E).css({left:la*E,top:0,position:"absolute",width:la,height:oa,overflow:"hidden"});C(E,K,G)});L.er_cssWidth(la*v.length).er_cssHeight(oa).er_x(la*v.length);M.er_cssWidth(la*v.length*3).er_cssHeight(1).er_x(0);
(function(){if(Ma)for(var E=v.length,K=0;K<j&&K<E;K++){L.children("[er_col="+(E-1-K)+"]").first().clone(true).appendTo(L).css({left:la*(-K-1)});L.children("[er_col="+K+"]").first().clone(true).appendTo(L).css({left:la*(E+K)})}})();setTimeout(function(){L.find("img.erImgLoadMomentarily").each(function(){var E=i(this);if(E.data("erImgLoadMomentarily_done")!==true){E.attr("src",E.attr("ersrc"));E.data("erImgLoadMomentarily_done",true)}})},1)}});var za=0,wa=$.first(),sa=0,La=0,Na=0,eb=function(){var U=
wa.er_x(),ea=Math.max(0,wa.er_cssWidth()-la*j)+U;n.trigger("at0",{v:Math.abs(La-U)>9||aa});n.trigger("at1",{v:La-ea<-9||Aa})},Ua=function(U,ea,M){var L=La;var v=La=U,C=wa.er_cssWidth(),E=C/la;if(Ma&&E>j){var K=(U-wa.er_x())/la,G=v;if(K<j&&M!="l"&&(j>1||E>2||M!==undefined))G=U+C;else if(K>=E-j&&M!="r"&&(j>1||E>2||M!==undefined))G=U-C;if(Math.abs(G-L)<=Math.abs(v-L)||M=="r"&&Math.abs(L-wa.er_x()-(E-j)*la)<10||M=="l"&&Math.abs(L-wa.er_x())<10)v=G}ea?J.stop().scrollLeft(U):J.stop().animate({scrollLeft:v},
N,pa,function(){setTimeout(function(){J.stop().scrollLeft(U)},0)});setTimeout(function(){eb()},10)},Ta=function(U,ea){Na=U;ea?J.stop().scrollTop(U):J.stop().animate({scrollTop:U},T,pa);setTimeout(function(){eb()},10)};setTimeout(function(){Ua(wa.er_x(),true);Ta(0,true)},1);var Va=function(){setTimeout(function(){Ua(La,true);Ta(Na,true)},0)};ja.push(function(){Va()});x.bind("er_setRow",function(U,ea){var M=ea.id;if(M!=za){$.filter("[er_row!="+za+"]").er_x(La);ta.filter("[er_row!="+za+"]").each(function(){var C=
i(this);C.er_x(La-C.er_cssWidth())});var L=wa,v=$.filter("[er_row="+M+"]");Ta(v.er_y());za=M;wa=v;sa=0;L.find(".erimgMain_slide_selected").removeClass("erimgMain_slide_selected");v.find("[er_col=0]").addClass("erimgMain_slide_selected erimgMain_slide_visited")}}).bind("er_setCol",function(U,ea){var M=ea.id;if(M!=sa){var L=wa.children("[er_col="+M+"]").first(),v;if(q==1){var C=L.er_x(),E=0;v=Math.max(0,Math.round(wa.er_cssWidth()/la)-j)*la;C=Math.min(v,Math.max(E,C));v=wa.er_x()+C}else{E=0;v=Math.max(0,
Math.round(wa.er_cssWidth()/la)-j);var K=Math.round((La-wa.er_x())/la);C=Number(L.attr("er_col"));if(C>=K&&C<K+j)v=La;else{for(;C>=E+j;)E+=q;E=Math.min(v,E);v=E*la+wa.er_x()}}Ua(v,undefined,ea.leftOrRight);sa=M;wa.find(".erimgMain_slide_selected").removeClass("erimgMain_slide_selected");L.addClass("erimgMain_slide_selected erimgMain_slide_visited")}});wa.children("[er_col=0]").addClass("erimgMain_slide_selected erimgMain_slide_visited");n.bind("ac0 ac1",function(U){U=U.type=="ac0";if(y=="main"&&!D)x.trigger(U?
"er_prev":"er_next");else{var ea=Math.max(0,Math.round(wa.er_cssWidth()/la)-j),M=Math.round((La-wa.er_x())/la);Ua((U?M==0?ea:Math.max(0,M-q):M==ea?0:Math.min(ea,M+q))*la+wa.er_x(),false,U?"l":"r");x.trigger("er_playPause",{v:false})}});n.find(".erimgMain_arrowLeft, .erimgMain_arrowRight").each(function(){var U=i(this),ea=U.hasClass("erimgMain_arrowLeft"),M=eval("("+(U.attr("data-erConfig")||"{}")+")"),L=M&&M.image||"circleSmall",v=M&&M.image2||"circleSmall",C=i.browser.msie&&parseInt(i.browser.version)<
9;n.bind("at"+(ea?0:1),function(G,W){U.stop(false,true);var X=W.v;if(C)U.css({display:W.v?"block":"none"});else{X&&U.show();U.fadeTo(300,X?1:0,function(){X||i(this).hide()})}});C?U.css({display:"none"}):U.css({zoom:"1"}).er_alpha(0).hide();if(L=="circleSmall")L=ea?r.smallCircleLeftUp:r.smallCircleRightUp;if(v=="circleSmall")v=ea?r.smallCircleLeftOver:r.smallCircleRightOver;if(L=="circleBig")L=ea?r.bigCircleLeftUp:r.bigCircleRightUp;if(v=="circleBig")v=ea?r.bigCircleLeftOver:r.bigCircleRightOver;if(L==
"rectSmall")L=ea?r.smallRectLeftUp:r.smallRectRightUp;if(v=="rectSmall")v=ea?r.smallRectLeftOver:r.smallRectRightOver;if(L=="moonMed")L=ea?r.medMoonLeftUp:r.medMoonRightUp;if(v=="moonMed")v=ea?r.medMoonLeftOver:r.medMoonRightOver;if(L=="circleCozy")L=ea?r.cozyCircleLeftUp:r.cozyCircleRightUp;if(v=="circleCozy")v=ea?r.cozyCircleLeftOver:r.cozyCircleRightOver;if(L=="arrowMin")L=ea?r.minArrowLeftUp:r.minArrowRightUp;if(v=="arrowMin")v=ea?r.minArrowLeftOver:r.minArrowRightOver;if(L=="circlePunchSmall")L=
ea?r.circlePunchLeftUp:r.circlePunchRightUp;if(v=="circlePunchSmall")v=ea?r.circlePunchLeftOver:r.circlePunchRightOver;(new Image).src=L;(new Image).src=v;var E=i("<img/>").attr("src",L).css({zoom:"1"}).appendTo(U);U.bind("mouseenter touchstart",function(){E.attr("src",v)}).bind("mouseleave touchend touchcancel",function(){E.attr("src",L)});U.click(function(){n.trigger("ac"+(ea?0:1))});if(Ea=="rollover"&&!("ontouchstart"in Pa)){var K=U.children();K.css({display:"none"});C||K.er_alpha(0);n.bind("mouseenter mouseleave",
function(G){K.stop(false,true);var W=G.type=="mouseenter";if(C)K.css({display:W?"inline":"none"});else{W&&K.css({display:"inline"});K.fadeTo(300,W?1:0,function(){W||i(this).css({display:"none"})})}})}});(function(){var U=false,ea=false;n.bind("at0 at1",function(W,X){if(W.type=="at0")U=X.v;else ea=X.v});O&&n.iosSwipe({swipe:function(W){U&&!W&&n.trigger("ac0");ea&&W&&n.trigger("ac1")},threshold:{x:50,tolerance:0.5}});if(Ba){var M=function(W){if(W>0&&U)n.trigger("ac0");else W<0&&ea&&n.trigger("ac1")},
L=false,v=0,C=false,E,K=false,G;n.bind("mousewheel",function(W,X,Y,P){X=Math.abs(Y);if(!(X>0&&Math.abs(P)>X)){Y=X>0?-Y:P;v+=Y;if(L){if(K&&!C){C=true;M(v)}}else{L=true;v=Y;C=false;clearTimeout(E);K=false;E=setTimeout(function(){K=true},50)}clearTimeout(G);G=setTimeout(function(){L=false},250);W.preventDefault();return false}})}})()}});x.find("[data-ertype=layout]").find(".erthumbGrid").each(function(){var n=i(this),k=eval("("+(n.attr("data-erConfig")||"{}")+")"),j=k.direction||"horizontal",q=Number(k.spacing!==
undefined?k.spacing:10),w=k.scaleMode||"fillArea",y=Number(k.duration!==undefined?k.duration:600);if(isNaN(y))y=600;var D=Number(k.durationVertical!==undefined?k.durationVertical:ta=="main"?y:300);if(isNaN(D))D=600;var N=k.easing!==undefined?k.easing:"easeOutQuad",T=k.alwaysPreviousButton===true,pa=k.loopNextButton!==false,aa=k.arrowButtonMode;/always|rollover/.test(aa)||(aa="always");var Aa=k.slideLinkEvent=="rollover"&&!("ontouchstart"in Pa)?"mouseenter":"click",Ea=k.mouseWheel!==undefined?k.mouseWheel!==
false:ga.pro_mouseWheelAndSwipeEnabled===true,Ia=k.swipeEnabled!==undefined?k.swipeEnabled===true:ga.pro_mouseWheelAndSwipeEnabled&&/iPod|iPad|iPhone|Android/i.test(navigator.userAgent);if(Ea||Ia)bb();var va=n.find(".erimgMain_slides").first();va.css({overflow:"hidden"});var Ma=va.find(".erimgMain_slide").css({position:"absolute"}).remove(),Ba=va.width(),O=va.height(),J=Ma.width()==0?40:Ma.outerWidth(),qa=Ma.height()==0?40:Ma.outerHeight(),la=Math.max(1,Math.floor((Ba+q)/(J+q))),oa=Math.max(1,Math.floor((O+
q)/(qa+q))),$=[],ta="thumb";if(ob.indexOf(","+ta)!=-1)alert("EasyRotator: Layout error (thumbGrid). Requested image type ["+ta+"] already used.  Display will be ignored.");else{ob+=","+ta;Sa=[];da.each(function(v){var C=i(this),E=i('<div style="position: absolute; overflow: visible;" er_row="'+v+'"></div>').appendTo(va);j=="horizontal"?E.css({top:O*v,left:0}):E.css({left:Ba*v,top:0});$=$.length==0?E:$.add(E);v=C.children("li");if(v.length==0)alert("Empty category being skipped - this may cause problems!");
else{Sa.push(v.length);var K=function(G,W,X){X.find(".erimgMain_img").css({overflow:"hidden"}).each(function(){var Y=i(this),P=Y.width(),ha=Y.height(),Ca=W.find("img."+ta).first().removeAttr("alt");Ca.attr("ersrc",Ca.attr("src"));Ca.attr("src","");Ca.css({display:"none",position:"absolute"}).attr("border",0).appendTo(Y).data("erProcessCount",0).load(function(){var Fa=i(this);if(!(Fa.data("erProcessCount")>0||Fa.attr("src")=="")){Fa.data("erProcessCount",Fa.data("erProcessCount")+1);var ma=this.naturalWidth,
xa=this.naturalHeight,ra=Fa.width(),a=Fa.height();if(ra==0&&a==0&&!isNaN(ma)&&!isNaN(xa)&&ma>0&&xa>0){ra=ma;a=xa}ma=ra/a;xa=P/ha;var b=1;if(w=="scaleDown"&&(ma>=xa&&ra>P||ma<=xa&&a>ha)||w=="scaleUpAndDown"||w=="fillArea"){b=w!="fillArea"&&ma>=xa||w=="fillArea"&&ma<=xa?P/ra:ha/a;ra*=b;a*=b}pb?Fa.css({left:Math.round((P-ra)/2),top:Math.round((ha-a)/2),webkitTransform:"scale("+b+")",webkitTransformOrigin:"0 0"}).show():Fa.css({left:Math.round((P-ra)/2),top:Math.round((ha-a)/2),width:ra,height:a}).show()}});
Ca.addClass("erImgLoadMomentarily")});X.find(".erimgMain_title").each(function(){i(this).html((W.find("span.title").html()||"").split("ul-fake").join("ul").split("li-fake").join("li"))});X.find(".erimgMain_desc").each(function(){i(this).html((W.find("span.desc").html()||"").split("ul-fake").join("ul").split("li-fake").join("li"))});X.find(".erimgMain_customField").each(function(){var Y=i(this),P=Y.attr("data-erfield");Y.html(W.find("span.customField[data-erfield="+P+"]").html()||"")});X.bind(Aa,function(){var Y=
i(this);x.trigger("er_setCol",{id:Number(Y.closest("[er_col]").attr("er_col"))})})};v.each(function(G){var W=i(this),X=Ma.clone().appendTo(E).attr("er_col",G).css({position:"absolute",width:J,height:qa,overflow:"hidden"}),Y,P,ha;P=G%(la*oa);if(j=="horizontal"){ha=G%oa;Y=Math.floor(P/oa);P=Math.floor(G/oa);P=Math.floor(P/la);Y=P*Ba+Y*(J+q);ha*=qa+q}else{Y=G%la;ha=Math.floor(P/la);P=Math.floor(G/la);P=Math.floor(P/oa);Y*=J+q;ha=P*O+ha*(qa+q)}X.css({left:Y,top:ha});K(G,W,X)});v=Math.ceil(v.length/(la*
oa));j=="horizontal"?E.er_cssWidth(v*Ba).er_cssHeight(O):E.er_cssWidth(Ba).er_cssHeight(v*O);setTimeout(function(){E.find("img.erImgLoadMomentarily").each(function(){var G=i(this);if(G.data("erImgLoadMomentarily_done")!==true){G.attr("src",G.attr("ersrc"));G.data("erImgLoadMomentarily_done",true)}})},1)}});var za=j=="horizontal",wa=0,sa=$.first(),La=0,Na=0,eb=0,Ua=false,Ta,Va=function(){Ua=true;clearTimeout(Ta);Ta=setTimeout(function(){Ua=false},6E3)},U=function(){var v=za?sa.er_x():sa.er_y(),C=za?
Math.max(0,sa.er_cssWidth()-Ba)+v:Math.max(0,sa.er_cssHeight()-O)+v;n.trigger("at0",{v:Math.abs(Na-v)>9||T});n.trigger("at1",{v:Na-C<-9||pa&&C!=0})},ea=function(v,C){Na=v;if(C)za?va.stop().scrollLeft(v):va.stop().scrollTop(v);else za?va.stop().animate({scrollLeft:v},y,N):va.stop().animate({scrollTop:v},y,N);setTimeout(function(){U()},10)},M=function(v,C){eb=v;if(C)za?va.stop().scrollTop(v):va.stop().scrollLeft(v);else za?va.stop().animate({scrollTop:v},D,N):va.stop().animate({scrollLeft:v},D,N);setTimeout(function(){U()},
10)};setTimeout(function(){var v=za?sa.er_x():sa.er_y();ea(v,true);M(0,true)},1);var L=function(){setTimeout(function(){ea(Na,true);M(eb,true)},0)};ja.push(function(){L()});x.bind("er_setRow",function(v,C){var E=C.id;if(E!=wa){$.filter("[er_row!="+wa+"]")[za?"er_x":"er_y"](Na);var K=sa,G=$.filter("[er_row="+E+"]");M(G[za?"er_y":"er_x"]());wa=E;sa=G;La=0;K.find(".erimgMain_slide_selected").removeClass("erimgMain_slide_selected");G.find("[er_col=0]").addClass("erimgMain_slide_selected erimgMain_slide_visited")}}).bind("er_setCol",
function(v,C){var E=C.id;if(E!=La){var K=sa.children("[er_col="+E+"]").first();if(!Ua){var G;G=Number(K.attr("er_col"));G=Math.floor(G/(la*oa));G=za?sa.er_x()+G*Ba:sa.er_y()+G*O;ea(G,undefined,C.leftOrRight)}La=E;sa.find(".erimgMain_slide_selected").removeClass("erimgMain_slide_selected");K.addClass("erimgMain_slide_selected erimgMain_slide_visited")}});sa.children("[er_col=0]").addClass("erimgMain_slide_selected erimgMain_slide_visited");n.bind("ac0 ac1",function(v){v=v.type=="ac0";var C=Math.round(za?
sa.er_cssWidth()/Ba:sa.er_cssHeight()/O)-1,E=Math.round(za?(Na-sa.er_x())/Ba:(Na-sa.er_y())/O);C=v?E==0?C:Math.max(0,E-1):E==C?0:Math.min(C,E+1);C=za?C*Ba+sa.er_x():C*O+sa.er_y();ea(C,false,v?"l":"r");Va()});n.find(".erimgMain_arrowLeft, .erimgMain_arrowRight").each(function(){var v=i(this),C=v.hasClass("erimgMain_arrowLeft"),E=eval("("+(v.attr("data-erConfig")||"{}")+")"),K=E&&E.image||"circleSmall",G=E&&E.image2||"circleSmall",W=i.browser.msie&&parseInt(i.browser.version)<9;n.bind("at"+(C?0:1),
function(P,ha){v.stop(false,true);var Ca=ha.v;if(W)v.css({display:ha.v?"block":"none"});else{Ca&&v.show();v.fadeTo(300,Ca?1:0,function(){Ca||i(this).hide()})}});W?v.css({display:"none"}):v.css({zoom:"1"}).er_alpha(0).hide();if(K=="circleSmall")K=C?r.smallCircleLeftUp:r.smallCircleRightUp;if(G=="circleSmall")G=C?r.smallCircleLeftOver:r.smallCircleRightOver;if(K=="circleBig")K=C?r.bigCircleLeftUp:r.bigCircleRightUp;if(G=="circleBig")G=C?r.bigCircleLeftOver:r.bigCircleRightOver;if(K=="rectSmall")K=C?
r.smallRectLeftUp:r.smallRectRightUp;if(G=="rectSmall")G=C?r.smallRectLeftOver:r.smallRectRightOver;if(K=="moonMed")K=C?r.medMoonLeftUp:r.medMoonRightUp;if(G=="moonMed")G=C?r.medMoonLeftOver:r.medMoonRightOver;if(K=="circleCozy")K=C?r.cozyCircleLeftUp:r.cozyCircleRightUp;if(G=="circleCozy")G=C?r.cozyCircleLeftOver:r.cozyCircleRightOver;if(K=="arrowMin")K=C?r.minArrowLeftUp:r.minArrowRightUp;if(G=="arrowMin")G=C?r.minArrowLeftOver:r.minArrowRightOver;if(K=="circlePunchSmall")K=C?r.circlePunchLeftUp:
r.circlePunchRightUp;if(G=="circlePunchSmall")G=C?r.circlePunchLeftOver:r.circlePunchRightOver;(new Image).src=K;(new Image).src=G;var X=i("<img/>").attr("src",K).css({zoom:"1"}).appendTo(v);v.bind("mouseenter touchstart",function(){X.attr("src",G)}).bind("mouseleave touchend touchcancel",function(){X.attr("src",K)});v.click(function(){n.trigger("ac"+(C?0:1))});if(aa=="rollover"&&!("ontouchstart"in Pa)){var Y=v.children();Y.css({display:"none"});W||Y.er_alpha(0);n.bind("mouseenter mouseleave",function(P){Y.stop(false,
true);var ha=P.type=="mouseenter";if(W)Y.css({display:ha?"inline":"none"});else{ha&&Y.css({display:"inline"});Y.fadeTo(300,ha?1:0,function(){ha||i(this).css({display:"none"})})}})}});(function(){var v=false,C=false;n.bind("at0 at1",function(ha,Ca){if(ha.type=="at0")v=Ca.v;else C=Ca.v});if(Ia)n.iosSwipe({dimension:za?"x":"y",swipe:function(ha){v&&!ha&&n.trigger("ac0");C&&ha&&n.trigger("ac1")},threshold:{x:50,tolerance:0.5}});if(Ea){var E=function(ha){if(ha>0&&v)n.trigger("ac0");else ha<0&&C&&n.trigger("ac1")},
K=false,G=0,W=false,X,Y=false,P;n.bind("mousewheel",function(ha,Ca,Fa,ma){Ca=Math.abs(Fa);if(!(za&&Ca>0&&Math.abs(ma)>Ca)){Fa=za?Ca>0?-Fa:ma:ma;G+=Fa;if(K){if(Y&&!W){W=true;E(G)}}else{K=true;G=Fa;W=false;clearTimeout(X);Y=false;X=setTimeout(function(){Y=true},50)}clearTimeout(P);P=setTimeout(function(){K=false},250);ha.preventDefault();return false}})}})()}});x.find("[data-ertype=layout]").find(".erimgMainOneUp").each(function(){var n=i(this);bb();var k=eval("("+(n.attr("data-erConfig")||"{}")+")"),
j=Number(k.numTiles!==undefined?k.numTiles:1);if(j==-1)j=da.first().children().length;var q=k.scaleMode||"fillArea",w=k.imgType||"main",y=Number(k.duration!==undefined?k.duration:600);if(isNaN(y))y=600;var D=Number(k.durationVertical!==undefined?k.durationVertical:w=="main"?y:300);if(isNaN(D))D=600;var N=k.alwaysPreviousButton===true,T=k.loopNextButton!==false,pa=k.arrowButtonMode;/always|rollover/.test(pa)||(pa="always");var aa=k.addMainSlideLinks!==false,Aa=k.slideLinkEvent=="rollover"&&!("ontouchstart"in
Pa)?"mouseenter":"click",Ea=k.transition||"fade",Ia=k.mouseWheel!==undefined?k.mouseWheel!==false:ga.pro_mouseWheelAndSwipeEnabled,va=k.swipeEnabled!==undefined?k.swipeEnabled===true:ga.pro_mouseWheelAndSwipeEnabled&&/iPod|iPad|iPhone|Android/i.test(navigator.userAgent),Ma=k.fadeOutOldSlide!==undefined?k.fadeOutOldSlide!==false:q!="fillArea";if(Ia||va)bb();var Ba=n.find(".erimgMain_slides").first();Ba.css({overflow:"hidden"});var O,J;(function(){var M=n.find(".erimgMainOneUp_video");if(M.length==
0)M=n.find(".erimgMainOneUp_img");O=M.outerWidth();J=M.outerHeight()})();var qa=n.find(".erimgMainOneUp_img").remove(),la=n.find(".erimgMainOneUp_video").remove();if(la.length==0)la=qa.clone().removeClass("erimgMainOneUp_img").addClass("erimgMainOneUp_video");la.css({right:"",bottom:"",width:O,height:J});var oa=Math.ceil(Ba.outerWidth()/j),$=Math.ceil(Ba.outerHeight()),ta=[];if(ob.indexOf(","+w)!=-1)alert("EasyRotator: Layout error. Requested image type ["+w+"] already used.  Display will be ignored.");
else{ob+=","+w;Sa=[];da.each(function(M){var L=i(this).children("li");if(L.length==0)alert("Empty category being skipped - this may cause problems!");else{Sa.push(L.length);var v=function(E,K,G){var W=eval("("+(K.find("span.ervideo").attr("data-erConfig")||"{}")+")"),X;if(W.src&&w=="main"){X=la.clone().appendTo(Ba).er_x(oa+10);G.data("erImgAVD",X);var Y=K.find("img."+w).attr("src");Za(Y,W,X,M,E)}G.css({overflow:"hidden"}).each(function(){var P=i(this),ha=P.width(),Ca=P.height(),Fa=K.find("img."+w).first().removeAttr("alt");
Fa.attr("ersrc",Fa.attr("src"));Fa.attr("src","");Fa.css({display:"none",position:"absolute"}).attr("border",0).appendTo(P).data("erProcessCount",0).load(function(){var ma=i(this);if(!(ma.data("erProcessCount")>0||ma.attr("src")=="")){ma.data("erProcessCount",ma.data("erProcessCount")+1);var xa=false;if(G.css("display")=="none"){xa=true;G.show()}var ra=this.naturalWidth,a=this.naturalHeight,b=ma.width(),d=ma.height();if(b==0&&d==0&&!isNaN(ra)&&!isNaN(a)&&ra>0&&a>0){b=ra;d=a}ra=b/d;a=ha/Ca;xa&&G.hide();
xa=1;if(q=="scaleDown"&&(ra>=a&&b>ha||ra<=a&&d>Ca)||q=="scaleUpAndDown"||q=="fillArea"){xa=q!="fillArea"&&ra>=a||q=="fillArea"&&ra<=a?ha/b:Ca/d;b*=xa;d*=xa}pb?ma.css({left:Math.round((ha-b)/2),top:Math.round((Ca-d)/2),webkitTransform:"scale("+xa+")",webkitTransformOrigin:"0 0"}).show():ma.css({left:Math.round((ha-b)/2),top:Math.round((Ca-d)/2),width:b,height:d}).show();G.data("erImgLoaded",true);G.trigger("erImgLoaded",{v:true})}});w!="main"&&aa||P.wrapInner(K.find("a."+w+"Link").click(function(){x.trigger("er_playPause",
{v:false})}));Fa.addClass("erImgLoadMomentarily")});w!="main"&&aa&&G.bind(Aa,function(){var P=i(this);x.trigger("er_setCol",{id:Number(P.closest("[er_col]").attr("er_col"))})})},C=[];L.each(function(E){var K=i(this),G=qa.clone().attr({er_row:M,er_col:E}).css({left:0,top:0,position:"absolute",width:oa,height:$,overflow:"hidden"}),W=Ba.find("div.erimgMainOneUp_video");W.length>0?G.insertBefore(W[0]):G.appendTo(Ba);v(E,K,G);C.push(G.hide())});ta.push(C);setTimeout(function(){Ba.find("img.erImgLoadMomentarily").each(function(){var E=
i(this);if(E.data("erImgLoadMomentarily_done")!==true){E.attr("src",E.attr("ersrc"));E.data("erImgLoadMomentarily_done",true)}})},1)}});var za=0,wa=0,sa,La=ta[ta.length-1][ta[ta.length-1].length-1];(Math.random()+"num").substr(2);k=i.browser;D=i.browser.version;j=parseInt(D);D=parseInt(D.substr(D.indexOf(".")+1));var Na=k.msie&&j>8||k.mozilla&&j+D*0.1>3.5||k.opera&&j>9||k.webkit&&j>521;if(/AdobeAIR/.test(navigator.userAgent))Na=false;var eb=k.msie&&j==8,Ua=[],Ta,Va=function(){i(Ua).each(function(){this.stop(true,
true)});Ta&&Ta.stop(true,true);var M=sa;Ta=M;sa=ta[za][wa];sa.insertAfter(La);La=sa;Ba.find("div.erimgMainOneUp_slide_selected").removeClass("erimgMainOneUp_slide_selected");sa.addClass("erimgMainOneUp_slide_selected erimgMainOneUp_slide_visited");Ea=="fadexx"?function(L){L.er_alpha(0).show();eb&&L.find("*").css({filter:"inherit"});L.animate({opacity:1},y,function(){M&&M.hide()})}(sa):setTimeout(function(){var L=function(){setTimeout(function(){if(M){if(Ma){eb&&M.find("*").css({filter:"inherit"});
M.fadeOut()}else M.hide();var X=M.data("erImgAVD");X&&X.er_x(oa+10)}(X=sa.data("erImgAVD"))&&X.er_x(0);sa.show();i(Ua).each(function(){this.hide()})},10)},v={};v.sliceDownLeft={init:{width:"stripW",height:0,opacity:0},end:{height:$,opacity:1},timeDur:y/3,timeOffset:30,numStrips:12};v.sliceDownRight={init:{width:"stripW",height:0,opacity:0},end:{height:$,opacity:1},timeDur:y/3,timeOffset:-30,numStrips:12};v.sliceUpLeft={init:{width:"stripW",height:$,top:$,opacity:0},end:{top:0,opacity:1},timeDur:y/
3,timeOffset:30,numStrips:12};v.sliceUpRight={init:{width:"stripW",height:$,top:$,opacity:0},end:{top:0,opacity:1},timeDur:y/3,timeOffset:-30,numStrips:12};v.sliceUpDownLeft={init:{width:"stripW",height:$,top:$,opacity:0},init2:{width:"stripW",height:$,top:-$,opacity:0},end:{top:0,opacity:1},timeDur:y/3,timeOffset:30,numStrips:12};v.sliceUpDownRight={init:{width:"stripW",height:$,top:$,opacity:0},init2:{width:"stripW",height:$,top:-$,opacity:0},end:{top:0,opacity:1},timeDur:y/3,timeOffset:-30,numStrips:12};
v.blinds={init:{width:0,height:$,opacity:0},end:{width:"stripW",opacity:1},timeDur:y,timeOffset:1,numStrips:12};v.slideInLeft={init:{left:oa,width:oa,height:$},end:{left:0},timeDur:y,timeOffset:1,numStrips:1};v.wipeRight={init:{left:0,width:0,height:$},end:{width:oa},timeDur:y,timeOffset:1,numStrips:1};v.fade2={init:{width:oa,height:$,opacity:0},end:{opacity:1},timeDur:y,timeOffset:1,numStrips:1};var C=v[Ea]||v.fade2;if(Ea=="random"){var E="fade,sliceDownLeft,sliceDownRight,sliceUpLeft,sliceUpRight,sliceUpDownLeft,sliceUpDownRight,blinds,slideInLeft,wipeRight".split(",");
C=v[E[Math.round(Math.random()*(E.length-1))]]||v.fade2}var K=C.numStrips,G=Math.ceil(oa/K);v=function(X){for(var Y in X)if(isNaN(X[Y]))X[Y]=Number(eval(X[Y].split("stripW").join(G).split("slideW").join(oa).split("slideH").join($)))};v(C.init);v(C.init2);v(C.end);sa.show();for(var W=0;W<K;W++)(function(){var X=G*W;if(C.init!==undefined&&!isNaN(C.init))X=C.left;var Y=false,P=Ua[W];if(!P){P=i('<div style="position:absolute; left:'+X+'px; overflow:hidden;">').appendTo(Ba);Y=true}var ha=C.init2&&W%2==
1?C.init2:C.init;P.show().css(ha);if(q=="showAvailable"||Na){ha=sa.find("img");var Ca=function(ma,xa,ra){P.css({backgroundImage:"url('"+ma.attr("src")+"')",backgroundRepeat:"no-repeat",backgroundPosition:ma.er_x()+xa+"px "+(ma.er_y()+ra)+"px",backgroundSize:ma.er_cssWidth()+"px "+ma.er_cssHeight()+"px"})};ha.data("erProcessCount")>0?Ca(ha,-G*W,0):function(ma,xa,ra){sa.bind("erImgLoaded",function(){Ca(ma,xa,ra)})}(ha,-X,0)}else{Y||P.children().remove();var Fa=sa.clone().show().appendTo(P).css({left:-X,
opacity:1});Fa.find("div.erimgMainOneUp_video").remove();Fa.find("img").data("erImgLoadMomentarily_done",false).load(function(){var ma=i(this);if(!(ma.data("erProcessCount")>0||ma.attr("src")=="")){ma.data("erProcessCount",ma.data("erProcessCount")+1);Fa.data("erImgLoaded",true);Fa.trigger("erImgLoaded",{v:true});var xa=this.naturalWidth,ra=this.naturalHeight,a=ma.width(),b=ma.height();if(a==0&&b==0&&!isNaN(xa)&&!isNaN(ra)&&xa>0&&ra>0){a=xa;b=ra}xa=a/b;ra=oa/$;var d=1;if(q=="scaleDown"&&(xa>=ra&&
a>oa||xa<=ra&&b>$)||q=="scaleUpAndDown"||q=="fillArea"){d=q!="fillArea"&&xa>=ra||q=="fillArea"&&xa<=ra?oa/a:$/b;a*=d;b*=d}pb?ma.css({left:Math.round((oa-a)/2),top:Math.round(($-b)/2),webkitTransform:"scale("+d+")",webkitTransformOrigin:"0 0"}).show():ma.css({left:Math.round((oa-a)/2),top:Math.round(($-b)/2),width:a,height:b}).show()}})}Y&&Ua.push(P);eb&&P.find("div, img, *").attr("contenteditable","true").css({filter:"inherit",zoom:1});(function(ma,xa,ra,a){var b=C.timeOffset;if(b<0)b=Math.abs(b)*
ra;else b*=a-ra;setTimeout(function(){if(ma){ma.show();setTimeout(function(){ma.animate(C.end,C.timeDur,xa)},1)}},b)})(P,W==K-1&&C.timeOffset<0||W==0&&C.timeOffset>0?L:undefined,W,K)})();sa.hide();setTimeout(function(){Ba.find("img.erImgLoadMomentarily").each(function(){var X=i(this);if(X.data("erImgLoadMomentarily_done")!==true){X.attr("src",X.attr("ersrc"));X.data("erImgLoadMomentarily_done",true)}})},1)},1)},U=function(){var M=wa==ta[za].length-1;n.trigger("at0",{v:wa!=0||N});n.trigger("at1",{v:!M||
T})},ea=function(M){wa=M;Va();setTimeout(function(){U()},10)};x.bind("er_setRow",function(M,L){var v=L.id;if(v!=za){za=v;ea(0)}}).bind("er_setCol",function(M,L){var v=L.id;v!=wa&&ea(v)});Va();setTimeout(function(){U()},10);n.bind("ac0 ac1",function(M){x.trigger(M.type=="ac0"?"er_prev":"er_next")});n.find(".erimgMain_arrowLeft, .erimgMain_arrowRight").each(function(){var M=i(this),L=M.hasClass("erimgMain_arrowLeft"),v=eval("("+(M.attr("data-erConfig")||"{}")+")"),C=v&&v.image||"circleSmall",E=v&&v.image2||
"circleSmall",K=i.browser.msie&&parseInt(i.browser.version)<9;n.bind("at"+(L?0:1),function(X,Y){M.stop(false,true);var P=Y.v;if(K)M.css({display:Y.v?"block":"none"});else{P&&M.show();M.fadeTo(300,P?1:0,function(){P||i(this).hide()})}});K?M.css({display:"none"}):M.css({zoom:"1"}).er_alpha(0).hide();if(C=="circleSmall")C=L?r.smallCircleLeftUp:r.smallCircleRightUp;if(E=="circleSmall")E=L?r.smallCircleLeftOver:r.smallCircleRightOver;if(C=="circleBig")C=L?r.bigCircleLeftUp:r.bigCircleRightUp;if(E=="circleBig")E=
L?r.bigCircleLeftOver:r.bigCircleRightOver;if(C=="rectSmall")C=L?r.smallRectLeftUp:r.smallRectRightUp;if(E=="rectSmall")E=L?r.smallRectLeftOver:r.smallRectRightOver;if(C=="moonMed")C=L?r.medMoonLeftUp:r.medMoonRightUp;if(E=="moonMed")E=L?r.medMoonLeftOver:r.medMoonRightOver;if(C=="circleCozy")C=L?r.cozyCircleLeftUp:r.cozyCircleRightUp;if(E=="circleCozy")E=L?r.cozyCircleLeftOver:r.cozyCircleRightOver;if(C=="arrowMin")C=L?r.minArrowLeftUp:r.minArrowRightUp;if(E=="arrowMin")E=L?r.minArrowLeftOver:r.minArrowRightOver;
if(C=="circlePunchSmall")C=L?r.circlePunchLeftUp:r.circlePunchRightUp;if(E=="circlePunchSmall")E=L?r.circlePunchLeftOver:r.circlePunchRightOver;(new Image).src=C;(new Image).src=E;var G=i("<img/>").attr("src",C).css({zoom:"1"}).appendTo(M);M.bind("mouseenter touchstart",function(){G.attr("src",E)}).bind("mouseleave touchend touchcancel",function(){G.attr("src",C)});M.click(function(){n.trigger("ac"+(L?0:1))});if(pa=="rollover"&&!("ontouchstart"in Pa)){var W=M.children();W.css({display:"none"});K||
W.er_alpha(0);n.bind("mouseenter mouseleave",function(X){W.stop(false,true);var Y=X.type=="mouseenter";if(K)W.css({display:Y?"inline":"none"});else{Y&&W.css({display:"inline"});W.fadeTo(300,Y?1:0,function(){Y||i(this).css({display:"none"})})}})}});(function(){var M=false,L=false;n.bind("at0 at1",function(Y,P){if(Y.type=="at0")M=P.v;else L=P.v});va&&n.iosSwipe({swipe:function(Y){M&&!Y&&n.trigger("ac0");L&&Y&&n.trigger("ac1")},threshold:{x:50,tolerance:0.5}});if(Ia){var v=function(Y){if(Y>0&&M)n.trigger("ac0");
else Y<0&&L&&n.trigger("ac1")},C=false,E=0,K=false,G,W=false,X;n.bind("mousewheel",function(Y,P,ha,Ca){P=Math.abs(ha);if(!(P>0&&Math.abs(Ca)>P)){ha=P>0?-ha:Ca;E+=ha;if(C){if(W&&!K){K=true;v(E)}}else{C=true;E=ha;K=false;clearTimeout(G);W=false;G=setTimeout(function(){W=true},50)}clearTimeout(X);X=setTimeout(function(){C=false},250);Y.preventDefault();return false}})}})()}});x.find("[data-ertype=layout]").find(".erdynamicText").each(function(){var n=i(this),k=n.attr("data-erfield")||"title",j=n.html(),
q=eval("("+(n.attr("data-erConfig")||"{}")+")"),w=i.browser.msie&&parseInt(i.browser.version)<9?"0":"600";if(q.fadeDur===0)q.fadeDur="0";q.fadeDur=Number(q.fadeDur||w);var y=q.hideWhenEmpty===true,D=function(T,pa){var aa=da.eq(T).children("li:eq("+pa+")"),Aa="span."+(/title|desc/.test(k)?k:"customField[data-erfield="+k+"]"),Ea=j;if(k!="none")Ea=aa.find(Aa).html()||"";Ea=Ea.split("{image.index}").join(pa+1).split("{image.total}").join(da.eq(T).children("li").length);if(q.fadeDur==0){n.html(Ea);y&&
Ea==""?n.hide():n.show()}else n.stop(true,true).fadeOut(q.fadeDur/2,function(){n.html(Ea);if(!y||Ea!="")n.fadeIn(q.fadeDur/2)})},N=0;x.bind("er_setRow er_setCol",function(T,pa){var aa=0;if(T.type=="er_setRow")N=pa.id;else aa=pa.id;D(N,aa)});D(0,0)});x.find("[data-ertype=layout]").find(".erFixCSS3").each(function(){var n=i(this),k=["border-radius","box-shadow","text-shadow"],j=["-moz-","-webkit-","-ms-","-o-"],q=(n.attr("style_real")||"").split(";"),w={},y=/\s*([A-Za-z0-9-+_-]+)\:\s*(.*)\s*$/,D;for(D=
0;D<q.length;D++){var N=q[D].match(y);if(N&&N.length==3)w[N[1].toLowerCase()]=N[2]}for(D=0;D<k.length;D++){q=k[D];if(y=w[q])for(N=0;N<j.length;N++)w[j[N]+q]=y}n.css(w)});x.find("[data-ertype=layout]").find(".ercats").each(function(){var n=i(this),k=n.find(".ercats_btn_selected").first(),j=n.find(".ercats_btn_normal").first(),q=k.prev(),w=k.parent();k.remove().addClass("ercats_btn_internal");j.remove().addClass("ercats_btn_internal");da.each(function(D){var N=i(this).attr("data-erlabel")||"Category "+
(D+1);D=j.clone().attr("erbtnid",D).html(N);q.length==1?D.insertAfter(q):D.prependTo(w);q=D});var y=function(D){n.find(".ercats_btn_selected").each(function(){var N=i(this),T=j.clone().attr("erbtnid",N.attr("erbtnid")).html(N.html());N.replaceWith(T)});n.find(".ercats_btn_internal[erbtnid="+D+"]").each(function(){var N=i(this),T=k.clone().attr("erbtnid",N.attr("erbtnid")).html(N.html());N.replaceWith(T)})};y(0);x.bind("er_setRow",function(D,N){y(Number(N.id))});n.find(".ercats_btn_internal").live("click",
function(){var D=Number(i(this).attr("erbtnid"));x.trigger("er_setRow",{id:D})})});x.find("[data-ertype=layout]").find(".erdots").each(function(){var n=i(this),k=0,j=eval("("+(n.attr("data-erConfig")||"{}")+")");j.showText=j.showText===true;var q=n.find(".erdots_btn_normal").attr("dotType","0"),w=n.find(".erdots_btn_hover").attr("dotType","1").remove(),y=n.find(".erdots_btn_selected").attr("dotType","2").remove(),D=q.parent();q.remove();var N=function(aa){var Aa=i(this);aa=aa.type;aa=="click"?x.trigger("er_setCol",
{id:Aa.index()}):T(Aa,aa=="mouseenter"?Aa.index()==k?2:1:Aa.index()==k?2:0)},T=function(aa,Aa){var Ea=[q,w,y],Ia=!isNaN(Number(aa))?D.children().eq(aa):aa;Ia.attr({"class":Ea[Aa].attr("class"),style:Ea[Aa].attr("style")});return Ia},pa=function(aa){D.children(".erdots_btn_selected, .erdots_btn_hover").each(function(){var Ea=i(this);T(Ea,0)});aa=Sa[aa];for(var Aa=D.children().length;Aa>aa;){D.children().last().unbind("mouseenter mouseleave click",N).remove();Aa--}for(;Aa<aa;){Aa++;D.append(q.clone().text(j.showText?
Aa:"").bind("mouseenter mouseleave click",N))}D.css({width:"",position:"absolute"});D.css({width:D.innerWidth(),position:"static"});T(0,2)};x.bind("er_setRow",function(aa,Aa){k=0;pa(Aa.id)});pa(0);x.bind("er_setCol",function(aa,Aa){k=Aa.id;D.children(".erdots_btn_selected").each(function(){T(i(this),0)});T(Aa.id,2)})});x.find("[data-ertype=layout]").find(".erplayPause").each(function(){var n=i(this);x.bind("er_playPause",function(k,j){var q=j.v;n.find(".erplayPause_btn_play")[q?"hide":"show"]();n.find(".erplayPause_btn_pause")[q?
"show":"hide"]()});n.find("a").click(function(k){x.trigger("er_playPauseToggle");k.preventDefault()})});x.find(".erpt").length>0&&bb();(function(){var n={src:"easyrotatorvideo.s3.amazonaws.com/audio/player.swf",srcEI:"easyrotatorvideo.s3.amazonaws.com/1/expressInstall.swf",showController:true,controllerLocation:"tc",controllerPadding:20,controllerWidth:290,restartAutoplay:false},k;for(k in n)if(ga["audio_"+k]!==undefined)n[k]=ga["audio_"+k];n.controllerPadding=Number(n.controllerPadding||"20");n.controllerWidth=
Number(n.controllerWidth||"290");var j="http://";try{j="https:"==F.location.protocol?"https://":"http://"}catch(q){}for(k in n)if(/^src/.test(k))n[k]=j+n[k];if(F.domain==""&&ga.lpp){var w="";(function(){for(var O=ga.lpp.split("-"),J=0;J<O.length;J++)w+=String.fromCharCode(O[J])})();for(k in n)if(/^src/.test(k)){j=n[k];j=j.substr(j.lastIndexOf("/")+1);n[k]=w+j}}j={width:n.controllerWidth,loader:"3E9AF9",animation:"no",expressInstall:false,transparentpagebg:"yes"};for(k in ga)if(k.indexOf("audio_player_")==
0)j[k.substr(13)]=ga[k];nb.setup(n.src,j);var y=x.find("[data-ertype=layout]").find(".eraudioController");if(y.length==0){k={position:"absolute",width:n.showController?n.controllerWidth:1,height:n.showController?24:1,overflow:n.showController?"":"hidden"};k[!n.showController||/^t/i.test(n.controllerLocation)?"top":"bottom"]=n.showController?n.controllerPadding:-100;if(/c$/.test(n.controllerLocation)){k.left="50%";k.marginLeft=-Math.round(n.controllerWidth/2)}else k[/r$/.test(n.controllerLocation)?
"right":"left"]=n.controllerPadding;y=i("<div></div>").css(k).appendTo(x.find("[data-ertype=layout]"))}var D=/[\d\.]+/.test(y.css("top"))?"top":"bottom",N=y.css(D),T,pa=function(O,J){if(n.showController||J)if(O!==T){T=O;var qa={};qa[D]=O&&n.showController?N:-50;y.stop(true,true).animate(qa,300)}};n.showController||pa(false,true);var aa="erAP_"+(Math.random()+"").substr(2)+"_",Aa=0,Ea=function(O,J,qa,la){if(O){bb();var oa=aa+Aa++,$="";if(qa)$+=' autoplay="autoplay"';if(la)$+=' loop="loop"';$='<audio id="'+
oa+'a" width="'+n.controllerWidth+'" src="'+O+'" width="'+n.controllerWidth+'" controls="controls"'+$+">No audio support.</audio>";var ta=nb.determineFlashSupport();y.html('<p id="'+oa+'">'+(ta?"":$)+"</p>");nb.embed(oa,{soundFile:O,titles:J,autostart:qa?"yes":"no",loop:la})}else y.html("")},Ia=-1,va=-1,Ma,Ba=function(O,J,qa,la){if(!(O==Ia&&J==va)){Ia=O;va=J;O=false;if(J=da.eq(Ia).children("li:eq("+va+")").find("span.eraudio").attr("data-erConfig"))Ma="i";else if(qa&&(J=da.eq(Ia).attr("data-erAudioConfig")))Ma=
"g";else if(la&&(J=x.attr("data-erAudioConfig")))Ma="b";else if(Ma=="i"||Ma=="g"&&qa||la)O=true;qa=eval("("+(J||"{}")+")");if(qa.src){pa(true);Ea(qa.src,qa.label||"",qa.autoplay!==false,qa.loop===true)}else if(O){Ea(null);pa(false)}}};x.bind("er_setRow",function(O,J){Ba(J.id,0,true)}).bind("er_setCol",function(O,J){Ba(Ia,J.id)});Ba(0,0,true,true);!x.attr("data-erAudioConfig")&&!da.attr("data-erAudioConfig")&&da.find("span.eraudio").length==0&&y.remove()})();(function(){var n="",k=0;x.find("[data-ertype=layout]").find("[style_erinjection]").each(function(){var j=
i(this),q="style_erinjection_uid"+k++;j.addClass(q);var w=j.attr("style_erinjection").split(";").join(" !important;");if(w.indexOf("THIS:hover")!=-1){w=w.split("THIS:hover").join("."+q+"_hover");j.bind("mouseenter",function(){j.addClass(q+"_hover")}).bind("mouseleave",function(){j.removeClass(q+"_hover")})}w=w.split("THIS").join("."+q);n+=w});i("head").append('<style type="text/css">'+n+"</style>")})();var Wa=0,cb=0;x.bind("er_next",function(){var n=cb+1;if(Sa[Wa]<=n)n=0;x.trigger("er_setCol",{id:n,
leftOrRight:"r"})}).bind("er_prev",function(){var n=cb-1;if(n<0)n=Sa[Wa]-1;x.trigger("er_setCol",{id:n,leftOrRight:"l"})}).bind("er_setRow",function(n,k){if(k.id!=Wa){Wa=k.id;cb=0}}).bind("er_setCol",function(n,k){cb=k.id});var Ya=ga.autoplayEnabled===true,qb=Number(ga.autoplayDelay||"5000"),tb=ga.autoplayStopOnInteraction!==false,vb=ga.autoplayGalleryLoop===true,wb=ga.autoplayFullLoop!==false;A=ga.autoplayPauseOnHover!==false;var lb=Number(ga.autoplayLoopOffset||"0"),mb,db=function(){var n=cb+1;
if(Sa[Wa]-lb<=n)if(vb)x.trigger("er_setCol",{id:0,source:"autoplay",leftOrRight:"r"});else if(Wa<Sa.length-1)x.trigger("er_setRow",{id:Wa+1,source:"autoplay"});else{if(wb)x.trigger("er_set"+(Sa.length>1?"Row":"Col"),{id:0,source:"autoplay",leftOrRight:"r"})}else x.trigger("er_setCol",{id:n,source:"autoplay",leftOrRight:"r"})};x.bind("er_playPause",function(n,k){Ya=k.v;clearTimeout(mb);if(Ya)mb=setTimeout(db,qb)}).bind("er_playPauseToggle",function(){x.trigger("er_playPause",{v:!Ya})});x.bind("er_setRow er_setCol",
function(n,k){tb&&k.source!="autoplay"&&Ya&&x.trigger("er_playPause",{v:false});clearTimeout(mb);if(Ya)mb=setTimeout(db,qb)});if(A){var hb=false;x.bind("er_playPause er_setRow er_setCol mouseenter mouseleave",function(n){if(/er_playPause|er_setRow|er_setCol/.test(n.type)){if(tb)hb=false}else if(n.type=="mouseenter"){hb=false;if(Ya){x.trigger("er_playPause",{v:false});hb=true}}else n.type=="mouseleave"&&hb&&x.trigger("er_playPause",{v:true})})}x.trigger("er_playPause",{v:Ya});(function(){for(var n=
0;n<rb.length;n++)rb[n].css("display","none")})()}}}}})};i(function(){var r=0,Q=0;i("div.erAjaxLoad").each(function(){var Z=i(this),na=Z.attr("data-erajaxsource");if(na){na+="?&nocache="+(new Date).getTime();r++;i.get(na,function(ua,Ha){ua&&Ha=="success"?Z.replaceWith(ua):alert("EasyRotator ajax loading error: "+Ha);Q++;Q==r&&sb()},"html")}});r==0&&sb()})}})(er_$144,document,window,er_swfobject22);

