/*
 ---- 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-2011 DWUser.com, All Rights Reserved
 More info: http://www.dwuser.com/easyrotator/
 Update #051811.26

*/
var er_jQueryOrig=window.jQuery;
(function(i,G){function Qa(a,b,d){if(d===G&&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):Ya.test(d)?c.parseJSON(d):d}catch(e){}c.data(a,b,d)}else d=G}return d}function bb(){return false}function ob(){return true}function rb(a,b,d){d[0].type=a;return c.event.handle.apply(b,d)}function q(a){var b,d,e,f,h,o,n,v,ca,H,ka,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)ka=RegExp("(^|\\.)"+a.namespace.split(".").join("\\.(?:.*\\.)?")+"(\\.|$)");a.liveFired=this;var Va=h.live.slice(0);for(n=0;n<Va.length;n++){h=Va[n];h.origType.replace(Za,"")===a.type?f.push(h.selector):Va.splice(n--,1)}f=c(a.target).closest(f,a.currentTarget);v=0;for(ca=f.length;v<ca;v++){H=f[v];for(n=0;n<Va.length;n++){h=Va[n];if(H.selector===h.selector&&(!ka||ka.test(h.namespace))){o=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!==o)ya.push({elem:o,handleObj:h,level:H.level})}}}v=0;for(ca=ya.length;v<ca;v++){f=ya[v];if(d&&f.level>d)break;a.currentTarget=f.elem;a.data=f.handleObj.data;a.handleObj=f.handleObj;ka=f.handleObj.origHandler.apply(f.elem,arguments);if(ka===false||a.isPropagationStopped()){d=f.level;if(ka===false)b=false;if(a.isImmediatePropagationStopped())break}}return b}}function R(a,b){return(a&&a!=="*"?
a+".":"")+b.replace(sb,"`").replace(ub,"&")}function $(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(L.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 pa(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 o in e[h])c.event.add(this,h,e[h][o],e[h][o].data)}}})}function va(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 Fa(a,b,d){var e=b==="width"?a.offsetWidth:a.offsetHeight;if(d==="border")return e;c.each(b==="width"?Ra:eb,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 la(a,b,d,e){if(c.isArray(b)&&b.length)c.each(b,function(f,h){d||E.test(a)?e(a,h):la(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){la(a+"["+f+"]",h,d,e)});else e(a,b)}function x(a,b){var d={};c.each(Ea.concat.apply([],Ea.slice(0,b)),function(){d[this]=a});return d}function ja(a){if(!Ca[a]){var b=
c("<"+a+">").appendTo("body"),d=b.css("display");b.remove();if(d==="none"||d==="")d="block";Ca[a]=d}return Ca[a]}function Ga(a){return c.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:false}var B=i.document,c=function(){function a(){if(!b.isReady){try{B.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\-]+)$)/,o=/\S/,n=/^\s+/,v=/\s+$/,ca=/\W/,H=/\d/,ka=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,
ya=/^[\],:{}\s]*$/,Va=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,W=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,Sa=/(?:^|:|,)(?:\s*\[)+/g,fb=/(webkit)[ \/]([\w.]+)/,g=/(opera)(?:.*version)?[ \/]([\w.]+)/,k=/(msie) ([\w.]+)/,u=/(mozilla)(?:.*? rv:([\w.]+))?/,t=navigator.userAgent,z=false,A=[],S,da=Object.prototype.toString,Ia=Object.prototype.hasOwnProperty,gb=Array.prototype.push,ib=Array.prototype.slice,jb=String.prototype.trim,Da=Array.prototype.indexOf,vb={};b.fn=b.prototype={init:function(m,
I){var T,fa,Na;if(!m)return this;if(m.nodeType){this.context=this[0]=m;this.length=1;return this}if(m==="body"&&!I&&B.body){this.context=B;this[0]=B.body;this.selector="body";this.length=1;return this}if(typeof m==="string")if((T=h.exec(m))&&(T[1]||!I))if(T[1]){Na=I?I.ownerDocument||I:B;if(fa=ka.exec(m))if(b.isPlainObject(I)){m=[B.createElement(fa[1])];b.fn.attr.call(m,I,true)}else m=[Na.createElement(fa[1])];else{fa=b.buildFragment([T[1]],[Na]);m=(fa.cacheable?fa.fragment.cloneNode(true):fa.fragment).childNodes}return b.merge(this,
m)}else{if((fa=B.getElementById(T[2]))&&fa.parentNode){if(fa.id!==T[2])return f.find(m);this.length=1;this[0]=fa}this.context=B;this.selector=m;return this}else if(!I&&!ca.test(m)){this.selector=m;this.context=B;m=B.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!==G){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,T){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?" ":"")+T;else if(I)fa.selector=this.selector+"."+I+"("+T+")";return fa},each:function(m,I){return b.each(this,m,I)},ready:function(m){b.bindReady();if(b.isReady)m.call(B,b);else A&&A.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,T){return m.call(I,T,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,T,fa,Na,Ka=arguments[0]||
{},cb=1,mb=arguments.length,xb=false;if(typeof Ka==="boolean"){xb=Ka;Ka=arguments[1]||{};cb=2}if(typeof Ka!=="object"&&!b.isFunction(Ka))Ka={};if(mb===cb){Ka=this;--cb}for(;cb<mb;cb++)if((m=arguments[cb])!=null)for(I in m){T=Ka[I];fa=m[I];if(Ka!==fa)if(xb&&fa&&(b.isPlainObject(fa)||(Na=b.isArray(fa)))){if(Na){Na=false;T=T&&b.isArray(T)?T:[]}else T=T&&b.isPlainObject(T)?T:{};Ka[I]=b.extend(xb,T,fa)}else if(fa!==G)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(!B.body)return setTimeout(b.ready,1);b.isReady=true;if(!(m!==true&&--b.readyWait>0))if(A){var I=0,T=A;for(A=null;m=T[I++];)m.call(B,b);b.fn.trigger&&b(B).trigger("ready").unbind("ready")}}},bindReady:function(){if(!z){z=true;if(B.readyState==="complete")return setTimeout(b.ready,1);if(B.addEventListener){B.addEventListener("DOMContentLoaded",S,false);i.addEventListener("load",b.ready,false)}else if(B.attachEvent){B.attachEvent("onreadystatechange",
S);i.attachEvent("onload",b.ready);var m=false;try{m=i.frameElement==null}catch(I){}B.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):vb[da.call(m)]||"object"},isPlainObject:function(m){if(!m||b.type(m)!=="object"||m.nodeType||
b.isWindow(m))return false;if(m.constructor&&!Ia.call(m,"constructor")&&!Ia.call(m.constructor.prototype,"isPrototypeOf"))return false;for(var I in m);return I===G||Ia.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(Va,"@").replace(W,"]").replace(Sa,"")))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&&o.test(m)){var I=B.getElementsByTagName("head")[0]||B.documentElement,T=B.createElement("script");T.type="text/javascript";if(b.support.scriptEval)T.appendChild(B.createTextNode(m));else T.text=m;I.insertBefore(T,I.firstChild);I.removeChild(T)}},nodeName:function(m,I){return m.nodeName&&m.nodeName.toUpperCase()===I.toUpperCase()},each:function(m,I,T){var fa,Na=0,Ka=m.length,cb=Ka===G||b.isFunction(m);if(T)if(cb)for(fa in m){if(I.apply(m[fa],T)===
false)break}else for(;Na<Ka;){if(I.apply(m[Na++],T)===false)break}else if(cb)for(fa in m){if(I.call(m[fa],fa,m[fa])===false)break}else for(T=m[0];Na<Ka&&I.call(T,Na,T)!==false;T=m[++Na]);return m},trim:jb?function(m){return m==null?"":jb.call(m)}:function(m){return m==null?"":m.toString().replace(n,"").replace(v,"")},makeArray:function(m,I){var T=I||[];if(m!=null){var fa=b.type(m);m.length==null||fa==="string"||fa==="function"||fa==="regexp"||b.isWindow(m)?gb.call(T,m):b.merge(T,m)}return T},inArray:function(m,
I){if(I.indexOf)return I.indexOf(m);for(var T=0,fa=I.length;T<fa;T++)if(I[T]===m)return T;return-1},merge:function(m,I){var T=m.length,fa=0;if(typeof I.length==="number")for(var Na=I.length;fa<Na;fa++)m[T++]=I[fa];else for(;I[fa]!==G;)m[T++]=I[fa++];m.length=T;return m},grep:function(m,I,T){var fa=[],Na;T=!!T;for(var Ka=0,cb=m.length;Ka<cb;Ka++){Na=!!I(m[Ka],Ka);T!==Na&&fa.push(m[Ka])}return fa},map:function(m,I,T){for(var fa=[],Na,Ka=0,cb=m.length;Ka<cb;Ka++){Na=I(m[Ka],Ka,T);if(Na!=null)fa[fa.length]=
Na}return fa.concat.apply([],fa)},guid:1,proxy:function(m,I,T){if(arguments.length===2)if(typeof I==="string"){T=m;m=T[I];I=G}else if(I&&!b.isFunction(I)){T=I;I=G}if(!I&&m)I=function(){return m.apply(T||this,arguments)};if(m)I.guid=m.guid=m.guid||I.guid||b.guid++;return I},access:function(m,I,T,fa,Na,Ka){var cb=m.length;if(typeof I==="object"){for(var mb in I)b.access(m,mb,I[mb],fa,Na,T);return m}if(T!==G){fa=!Ka&&fa&&b.isFunction(T);for(mb=0;mb<cb;mb++)Na(m[mb],I,fa?T.call(m[mb],mb,Na(m[mb],I)):
T,Ka);return m}return cb?Na(m[0],I):G},now:function(){return(new Date).getTime()},uaMatch:function(m){m=m.toLowerCase();m=fb.exec(m)||g.exec(m)||k.exec(m)||m.indexOf("compatible")<0&&u.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){vb["[object "+I+"]"]=I.toLowerCase()});t=b.uaMatch(t);if(t.browser){b.browser[t.browser]=true;b.browser.version=t.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")){n=/^[\s\xA0]+/;v=/[\s\xA0]+$/}f=b(B);if(B.addEventListener)S=function(){B.removeEventListener("DOMContentLoaded",S,false);b.ready()};else if(B.attachEvent)S=function(){if(B.readyState==="complete"){B.detachEvent("onreadystatechange",S);b.ready()}};return i.jQuery=i.$=b}();(function(){c.support={};var a=B.documentElement,b=B.createElement("script"),d=B.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],o=B.createElement("select"),n=o.appendChild(B.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:n.selected,deleteExpando:true,optDisabled:false,checkClone:false,scriptEval:false,noCloneEvent:true,boxModel:null,inlineBlockNeedsLayout:false,shrinkWrapBlocks:false,reliableHiddenOffsets:true};o.disabled=true;c.support.optDisabled=!n.disabled;b.type="text/javascript";try{b.appendChild(B.createTextNode("window."+e+"=1;"))}catch(v){}a.insertBefore(b,a.firstChild);
if(i[e]){c.support.scriptEval=true;delete i[e]}try{delete b.test}catch(ca){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=B.createElement("div");d.innerHTML="<input type='radio' name='radiotest' checked='checked'/>";a=B.createDocumentFragment();a.appendChild(d.firstChild);c.support.checkClone=a.cloneNode(true).cloneNode(true).lastChild.checked;
c(function(){var H=B.createElement("div");H.style.width=H.style.paddingLeft="1px";B.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 ka=H.getElementsByTagName("td");c.support.reliableHiddenOffsets=
ka[0].offsetHeight===0;ka[0].style.display="";ka[1].style.display="none";c.support.reliableHiddenOffsets=c.support.reliableHiddenOffsets&&ka[0].offsetHeight===0;H.innerHTML="";B.body.removeChild(H).style.display="none"});a=function(H){var ka=B.createElement("div");H="on"+H;var ya=H in ka;if(!ya){ka.setAttribute(H,"return;");ya=typeof ka[H]==="function"}return ya};c.support.submitBubbles=a("submit");c.support.changeBubbles=a("change");a=b=d=f=h=null}})();var ha={},Ya=/^(?:\{.*\}|\[.*\])$/;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?ha:a;var e=a.nodeType,f=e?a[c.expando]:null,h=c.cache;if(!(e&&!f&&typeof b==="string"&&d===G)){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!==G)a[b]=d;return typeof b==="string"?a[b]:a}}},removeData:function(a,b){if(c.acceptData(a)){a=
a==i?ha: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 o in a)delete a[o]}},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,o=e.length;h<o;h++){f=e[h].name;if(f.indexOf("data-")===0){f=f.substr(5);Qa(this[0],f,d[f])}}}return d}else if(typeof a==="object")return this.each(function(){c.data(this,a)});var n=a.split(".");n[1]=n[1]?"."+n[1]:"";if(b===G){d=this.triggerHandler("getData"+n[1]+"!",[n[0]]);if(d===G&&this.length){d=c.data(this[0],a);d=Qa(this[0],a,d)}return d===G&&n[1]?this.data(n[0]):d}else return this.each(function(){var v=c(this),
ca=[n[0],b];v.triggerHandler("setData"+n[1]+"!",ca);c.data(this,a,b);v.triggerHandler("changeData"+n[1]+"!",ca)})},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===G)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 db=/[\n\t]/g,qb=/\s+/,$a=/\r/g,ia=/^(?:href|src|style)$/,Wa=/^(?:button|input)$/i,pb=/^(?:button|input|object|select|textarea)$/i,hb=/^a(?:rea)?$/i,ab=/^(?: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(ca){var H=c(this);H.addClass(a.call(this,ca,H.attr("class")))});if(a&&typeof a==="string")for(var b=(a||"").split(qb),d=0,e=this.length;d<e;d++){var f=this[d];if(f.nodeType===1)if(f.className){for(var h=" "+f.className+" ",o=f.className,n=0,v=b.length;n<v;n++)if(h.indexOf(" "+b[n]+" ")<0)o+=" "+b[n];f.className=c.trim(o)}else f.className=a}return this},removeClass:function(a){if(c.isFunction(a))return this.each(function(v){var ca=
c(this);ca.removeClass(a.call(this,v,ca.attr("class")))});if(a&&typeof a==="string"||a===G)for(var b=(a||"").split(qb),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(db," "),o=0,n=b.length;o<n;o++)h=h.replace(" "+b[o]+" "," ");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,o=c(this),n=b,v=a.split(qb);f=v[h++];){n=e?n:!o.hasClass(f);o[n?"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(db," ").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 o=f[h];if(o.selected&&(c.support.optDisabled?!o.disabled:o.getAttribute("disabled")===null)&&(!o.parentNode.disabled||!c.nodeName(o.parentNode,"optgroup"))){a=c(o).val();if(b)return a;d.push(a)}}return d}if(ab.test(b.type)&&
!c.support.checkOn)return b.getAttribute("value")===null?"on":b.value;return(b.value||"").replace($a,"")}return G}var n=c.isFunction(a);return this.each(function(v){var ca=c(this),H=a;if(this.nodeType===1){if(n)H=a.call(this,v,ca.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)&&ab.test(this.type))this.checked=c.inArray(ca.val(),H)>=0;else if(c.nodeName(this,"select")){var ka=c.makeArray(H);c("option",this).each(function(){this.selected=
c.inArray(c(this).val(),ka)>=0});if(!ka.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 G;if(e&&b in c.attrFn)return c(a)[b](d);e=a.nodeType!==1||!c.isXMLDoc(a);var f=d!==G;b=e&&c.props[b]||b;var h=ia.test(b);if((b in a||a[b]!==G)&&e&&!h){if(f){b==="type"&&Wa.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:pb.test(a.nodeName)||hb.test(a.nodeName)&&a.href?0:G;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 G;a=!c.support.hrefNormalized&&e&&
h?a.getAttribute(b,2):a.getAttribute(b);return a===null?G:a}});var Za=/\.(.*)$/,kb=/^(?:textarea|input|select)$/i,sb=/\./g,ub=/ /g,wb=/[^\w\s.|`]/g,tb=function(a){return a.replace(wb,"\\$&")},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=bb;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 o=a.nodeType?"events":"__events__",n=h[o],v=h.handle;
if(typeof n==="function"){v=n.handle;n=n.events}else if(!n){a.nodeType||(h[o]=h=function(){});h.events=n={}}if(!v)h.handle=v=function(){return typeof c!=="undefined"&&!c.event.triggered?c.event.handle.apply(v.elem,arguments):G};v.elem=a;b=b.split(" ");for(var ca=0,H;o=b[ca++];){h=f?c.extend({},f):{handler:d,data:e};if(o.indexOf(".")>-1){H=o.split(".");o=H.shift();h.namespace=H.slice(0).sort().join(".")}else{H=[];h.namespace=""}h.type=o;if(!h.guid)h.guid=d.guid;var ka=n[o],ya=c.event.special[o]||{};
if(!ka){ka=n[o]=[];if(!ya.setup||ya.setup.call(a,e,H,v)===false)if(a.addEventListener)a.addEventListener(o,v,false);else a.attachEvent&&a.attachEvent("on"+o,v)}if(ya.add){ya.add.call(a,h);if(!h.handler.guid)h.handler.guid=d.guid}ka.push(h);c.event.global[o]=true}a=null}}},global:{},remove:function(a,b,d,e){if(!(a.nodeType===3||a.nodeType===8)){if(d===false)d=bb;var f,h,o=0,n,v,ca,H,ka,ya,Va=a.nodeType?"events":"__events__",W=c.data(a),Sa=W&&W[Va];if(W&&Sa){if(typeof Sa==="function"){W=Sa;Sa=Sa.events}if(b&&
b.type){d=b.handler;b=b.type}if(!b||typeof b==="string"&&b.charAt(0)==="."){b=b||"";for(f in Sa)c.event.remove(a,f+b)}else{for(b=b.split(" ");f=b[o++];){H=f;n=f.indexOf(".")<0;v=[];if(!n){v=f.split(".");f=v.shift();ca=RegExp("(^|\\.)"+c.map(v.slice(0).sort(),tb).join("\\.(?:.*\\.)?")+"(\\.|$)")}if(ka=Sa[f])if(d){H=c.event.special[f]||{};for(h=e||0;h<ka.length;h++){ya=ka[h];if(d.guid===ya.guid){if(n||ca.test(ya.namespace)){e==null&&ka.splice(h--,1);H.remove&&H.remove.call(a,ya)}if(e!=null)break}}if(ka.length===
0||e!=null&&ka.length===1){if(!H.teardown||H.teardown.call(a,v)===false)c.removeEvent(a,f,W.handle);delete Sa[f]}}else for(h=0;h<ka.length;h++){ya=ka[h];if(n||ca.test(ya.namespace)){c.event.remove(a,H,ya.handler,h);ka.splice(h--,1)}}}if(c.isEmptyObject(Sa)){if(b=W.handle)b.elem=null;delete W.events;delete W.handle;if(typeof W==="function")c.removeData(a,Va);else c.isEmptyObject(W)&&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 G;a.result=G;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 o;e=a.target;var n=f.replace(Za,""),v=c.nodeName(e,"a")&&n==="click",ca=c.event.special[n]||{};if((!ca._default||ca._default.call(d,a)===false)&&!v&&!(e&&e.nodeName&&c.noData[e.nodeName.toLowerCase()])){try{if(e[n]){if(o=e["on"+n])e["on"+n]=null;c.event.triggered=true;e[n]()}}catch(H){}if(o)e["on"+n]=o;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 o=d.length;f<o;f++){var n=d[f];if(b||e.test(n.namespace)){a.handler=
n.handler;a.data=n.data;a.handleObj=n;n=n.handler.apply(this,h);if(n!==G){a.result=n;if(n===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||B;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=B.documentElement;d=B.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!==G)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,R(a.origType,a.selector),c.extend({},a,{handler:q,guid:a.handler.guid}))},remove:function(a){c.event.remove(this,
R(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=B.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=ob;var a=this.originalEvent;if(a)if(a.preventDefault)a.preventDefault();else a.returnValue=false},stopPropagation:function(){this.isPropagationStopped=ob;var a=this.originalEvent;if(a){a.stopPropagation&&a.stopPropagation();a.cancelBubble=true}},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=ob;this.stopPropagation()},isDefaultPrevented:bb,isPropagationStopped:bb,isImmediatePropagationStopped:bb};
var nb=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){}},l=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?l:nb,a)},teardown:function(d){c.event.remove(this,b,d&&d.selector?l:nb)}}});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=G;return rb("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=G;return rb("submit",this,arguments)}})}else return false},teardown:function(){c.event.remove(this,".specialSubmit")}};if(!c.support.changeBubbles){var r,
P=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},y=function(a,b){var d=a.target,e,f;if(!(!kb.test(d.nodeName)||d.readOnly)){e=c.data(d,"_change_data");f=P(d);if(a.type!=="focusout"||d.type!=="radio")c.data(d,"_change_data",f);if(!(e===G||f===e))if(e!=null||f){a.type="change";a.liveFired=
G;return c.event.trigger(a,b,d)}}};c.event.special.change={filters:{focusout:y,beforedeactivate:y,click:function(a){var b=a.target,d=b.type;if(d==="radio"||d==="checkbox"||b.nodeName.toLowerCase()==="select")return y.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 y.call(this,a)},beforeactivate:function(a){a=a.target;c.data(a,"_change_data",P(a))}},setup:function(){if(this.type===
"file")return false;for(var a in r)c.event.add(this,a+".specialChange",r[a]);return kb.test(this.nodeName)},teardown:function(){c.event.remove(this,".specialChange");return kb.test(this.nodeName)}};r=c.event.special.change.filters;r.focus=r.beforeactivate}B.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&&B.addEventListener(a,d,true)},teardown:function(){--lb[b]===
0&&B.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=G}var o=b==="one"?c.proxy(f,function(v){c(this).unbind(v,o);return f.apply(this,arguments)}):f;if(d==="unload"&&b!=="one")this.one(d,e,f);else{h=0;for(var n=this.length;h<n;h++)c.event.add(this[h],d,o,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 o,n=0,v,ca,H=h||this.selector;h=h?this:c(this.context);if(typeof d===
"object"&&!d.preventDefault){for(o in d)h[b](o,e,d[o],H);return this}if(c.isFunction(e)){f=e;e=G}for(d=(d||"").split(" ");(o=d[n++])!=null;){v=Za.exec(o);ca="";if(v){ca=v[0];o=o.replace(Za,"")}if(o==="hover")d.push("mouseenter"+ca,"mouseleave"+ca);else{v=o;if(o==="focus"||o==="blur"){d.push(j[o]+ca);o+=ca}else o=(j[o]||o)+ca;if(b==="live"){ca=0;for(var ka=h.length;ca<ka;ca++)c.event.add(h[ca],"live."+R(o,H),{data:e,selector:H,handler:f,origType:o,origHandler:f,preType:v})}else h.unbind("live."+R(o,
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,k,u,t,z,A){z=0;for(var S=t.length;z<S;z++){var da=t[z];if(da){var Ia=false;for(da=da[g];da;){if(da.sizcache===u){Ia=t[da.sizset];break}if(da.nodeType===1&&!A){da.sizcache=u;da.sizset=z}if(da.nodeName.toLowerCase()===k){Ia=da;break}da=da[g]}t[z]=Ia}}}function b(g,k,u,t,z,A){z=0;for(var S=t.length;z<S;z++){var da=t[z];if(da){var Ia=false;for(da=da[g];da;){if(da.sizcache===u){Ia=t[da.sizset];break}if(da.nodeType===1){if(!A){da.sizcache=u;da.sizset=z}if(typeof k!=="string"){if(da===
k){Ia=true;break}}else if(n.filter(k,[da]).length>0){Ia=da;break}}da=da[g]}t[z]=Ia}}}var d=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,e=0,f=Object.prototype.toString,h=false,o=true;[0,0].sort(function(){o=false;return 0});var n=function(g,k,u,t){u=u||[];var z=k=k||B;if(k.nodeType!==1&&k.nodeType!==9)return[];if(!g||typeof g!=="string")return u;var A,S,da,Ia,gb,ib=true,jb=n.isXML(k),Da=[],vb=g;do{d.exec("");
if(A=d.exec(vb)){vb=A[3];Da.push(A[1]);if(A[2]){Ia=A[3];break}}}while(A);if(Da.length>1&&ca.exec(g))if(Da.length===2&&v.relative[Da[0]])S=fb(Da[0]+Da[1],k);else for(S=v.relative[Da[0]]?[k]:n(Da.shift(),k);Da.length;){g=Da.shift();if(v.relative[g])g+=Da.shift();S=fb(g,S)}else{if(!t&&Da.length>1&&k.nodeType===9&&!jb&&v.match.ID.test(Da[0])&&!v.match.ID.test(Da[Da.length-1])){A=n.find(Da.shift(),k,jb);k=A.expr?n.filter(A.expr,A.set)[0]:A.set[0]}if(k){A=t?{expr:Da.pop(),set:ya(t)}:n.find(Da.pop(),Da.length===
1&&(Da[0]==="~"||Da[0]==="+")&&k.parentNode?k.parentNode:k,jb);S=A.expr?n.filter(A.expr,A.set):A.set;if(Da.length>0)da=ya(S);else ib=false;for(;Da.length;){A=gb=Da.pop();if(v.relative[gb])A=Da.pop();else gb="";if(A==null)A=k;v.relative[gb](da,A,jb)}}else da=[]}da||(da=S);da||n.error(gb||g);if(f.call(da)==="[object Array]")if(ib)if(k&&k.nodeType===1)for(g=0;da[g]!=null;g++){if(da[g]&&(da[g]===true||da[g].nodeType===1&&n.contains(k,da[g])))u.push(S[g])}else for(g=0;da[g]!=null;g++)da[g]&&da[g].nodeType===
1&&u.push(S[g]);else u.push.apply(u,da);else ya(da,u);if(Ia){n(Ia,z,u,t);n.uniqueSort(u)}return u};n.uniqueSort=function(g){if(W){h=o;g.sort(W);if(h)for(var k=1;k<g.length;k++)g[k]===g[k-1]&&g.splice(k--,1)}return g};n.matches=function(g,k){return n(g,null,null,k)};n.matchesSelector=function(g,k){return n(k,null,null,[g]).length>0};n.find=function(g,k,u){var t;if(!g)return[];for(var z=0,A=v.order.length;z<A;z++){var S,da=v.order[z];if(S=v.leftMatch[da].exec(g)){var Ia=S[1];S.splice(1,1);if(Ia.substr(Ia.length-
1)!=="\\"){S[1]=(S[1]||"").replace(/\\/g,"");t=v.find[da](S,k,u);if(t!=null){g=g.replace(v.match[da],"");break}}}}t||(t=k.getElementsByTagName("*"));return{set:t,expr:g}};n.filter=function(g,k,u,t){for(var z,A,S=g,da=[],Ia=k,gb=k&&k[0]&&n.isXML(k[0]);g&&k.length;){for(var ib in v.filter)if((z=v.leftMatch[ib].exec(g))!=null&&z[2]){var jb,Da,vb=v.filter[ib];Da=z[1];A=false;z.splice(1,1);if(Da.substr(Da.length-1)!=="\\"){if(Ia===da)da=[];if(v.preFilter[ib])if(z=v.preFilter[ib](z,Ia,u,da,t,gb)){if(z===
true)continue}else A=jb=true;if(z)for(var m=0;(Da=Ia[m])!=null;m++)if(Da){jb=vb(Da,z,m,Ia);var I=t^!!jb;if(u&&jb!=null)if(I)A=true;else Ia[m]=false;else if(I){da.push(Da);A=true}}if(jb!==G){u||(Ia=da);g=g.replace(v.match[ib],"");if(!A)return[];break}}}if(g===S)if(A==null)n.error(g);else break;S=g}return Ia};n.error=function(g){throw"Syntax error, unrecognized expression: "+g;};var v=n.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,k){var u=typeof k==="string",t=u&&!/\W/.test(k);u=u&&!t;if(t)k=k.toLowerCase();t=0;for(var z=g.length,A;t<z;t++)if(A=g[t]){for(;(A=A.previousSibling)&&A.nodeType!==1;);g[t]=u||A&&A.nodeName.toLowerCase()===k?A||false:A===k}u&&n.filter(k,g,true)},">":function(g,k){var u,t=typeof k==="string",z=0,A=g.length;if(t&&!/\W/.test(k))for(k=k.toLowerCase();z<A;z++){if(u=g[z]){u=u.parentNode;g[z]=u.nodeName.toLowerCase()===k?u:false}}else{for(;z<A;z++)if(u=g[z])g[z]=t?u.parentNode:u.parentNode===
k;t&&n.filter(k,g,true)}},"":function(g,k,u){var t,z=e++,A=b;if(typeof k==="string"&&!/\W/.test(k)){t=k=k.toLowerCase();A=a}A("parentNode",k,z,g,t,u)},"~":function(g,k,u){var t,z=e++,A=b;if(typeof k==="string"&&!/\W/.test(k)){t=k=k.toLowerCase();A=a}A("previousSibling",k,z,g,t,u)}},find:{ID:function(g,k,u){if(typeof k.getElementById!=="undefined"&&!u)return(g=k.getElementById(g[1]))&&g.parentNode?[g]:[]},NAME:function(g,k){if(typeof k.getElementsByName!=="undefined"){for(var u=[],t=k.getElementsByName(g[1]),
z=0,A=t.length;z<A;z++)t[z].getAttribute("name")===g[1]&&u.push(t[z]);return u.length===0?null:u}},TAG:function(g,k){return k.getElementsByTagName(g[1])}},preFilter:{CLASS:function(g,k,u,t,z,A){g=" "+g[1].replace(/\\/g,"")+" ";if(A)return g;A=0;for(var S;(S=k[A])!=null;A++)if(S)if(z^(S.className&&(" "+S.className+" ").replace(/[\t\n]/g," ").indexOf(g)>=0))u||t.push(S);else if(u)k[A]=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 k=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(g[2]==="even"&&"2n"||g[2]==="odd"&&"2n+1"||!/\D/.test(g[2])&&"0n+"+g[2]||g[2]);g[2]=k[1]+(k[2]||1)-0;g[3]=k[3]-0}g[0]=e++;return g},ATTR:function(g,k,u,t,z,A){k=g[1].replace(/\\/g,"");if(!A&&v.attrMap[k])g[1]=v.attrMap[k];if(g[2]==="~=")g[4]=" "+g[4]+" ";return g},PSEUDO:function(g,k,u,t,z){if(g[1]==="not")if((d.exec(g[3])||"").length>1||/^\w/.test(g[3]))g[3]=n(g[3],null,null,k);else{g=n.filter(g[3],k,u,true^z);u||t.push.apply(t,g);return false}else if(v.match.POS.test(g[0])||
v.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,k,u){return!!n(u[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,k){return k===
0},last:function(g,k,u,t){return k===t.length-1},even:function(g,k){return k%2===0},odd:function(g,k){return k%2===1},lt:function(g,k,u){return k<u[3]-0},gt:function(g,k,u){return k>u[3]-0},nth:function(g,k,u){return u[3]-0===k},eq:function(g,k,u){return u[3]-0===k}},filter:{PSEUDO:function(g,k,u,t){var z=k[1],A=v.filters[z];if(A)return A(g,u,k,t);else if(z==="contains")return(g.textContent||g.innerText||n.getText([g])||"").indexOf(k[3])>=0;else if(z==="not"){k=k[3];u=0;for(t=k.length;u<t;u++)if(k[u]===
g)return false;return true}else n.error("Syntax error, unrecognized expression: "+z)},CHILD:function(g,k){var u=k[1],t=g;switch(u){case "only":case "first":for(;t=t.previousSibling;)if(t.nodeType===1)return false;if(u==="first")return true;t=g;case "last":for(;t=t.nextSibling;)if(t.nodeType===1)return false;return true;case "nth":u=k[2];var z=k[3];if(u===1&&z===0)return true;var A=k[0],S=g.parentNode;if(S&&(S.sizcache!==A||!g.nodeIndex)){var da=0;for(t=S.firstChild;t;t=t.nextSibling)if(t.nodeType===
1)t.nodeIndex=++da;S.sizcache=A}t=g.nodeIndex-z;return u===0?t===0:t%u===0&&t/u>=0}},ID:function(g,k){return g.nodeType===1&&g.getAttribute("id")===k},TAG:function(g,k){return k==="*"&&g.nodeType===1||g.nodeName.toLowerCase()===k},CLASS:function(g,k){return(" "+(g.className||g.getAttribute("class"))+" ").indexOf(k)>-1},ATTR:function(g,k){var u=k[1];u=v.attrHandle[u]?v.attrHandle[u](g):g[u]!=null?g[u]:g.getAttribute(u);var t=u+"",z=k[2],A=k[4];return u==null?z==="!=":z==="="?t===A:z==="*="?t.indexOf(A)>=
0:z==="~="?(" "+t+" ").indexOf(A)>=0:!A?t&&u!==false:z==="!="?t!==A:z==="^="?t.indexOf(A)===0:z==="$="?t.substr(t.length-A.length)===A:z==="|="?t===A||t.substr(0,A.length+1)===A+"-":false},POS:function(g,k,u,t){var z=v.setFilters[k[2]];if(z)return z(g,u,k,t)}}},ca=v.match.POS,H=function(g,k){return"\\"+(k-0+1)},ka;for(ka in v.match){v.match[ka]=RegExp(v.match[ka].source+/(?![^\[]*\])(?![^\(]*\))/.source);v.leftMatch[ka]=RegExp(/(^(?:.|\r|\n)*?)/.source+v.match[ka].source.replace(/\\(\d+)/g,H))}var ya=
function(g,k){g=Array.prototype.slice.call(g,0);if(k){k.push.apply(k,g);return k}return g};try{Array.prototype.slice.call(B.documentElement.childNodes,0)}catch(Va){ya=function(g,k){var u=0,t=k||[];if(f.call(g)==="[object Array]")Array.prototype.push.apply(t,g);else if(typeof g.length==="number")for(var z=g.length;u<z;u++)t.push(g[u]);else for(;g[u];u++)t.push(g[u]);return t}}var W,Sa;if(B.documentElement.compareDocumentPosition)W=function(g,k){if(g===k){h=true;return 0}if(!g.compareDocumentPosition||
!k.compareDocumentPosition)return g.compareDocumentPosition?-1:1;return g.compareDocumentPosition(k)&4?-1:1};else{W=function(g,k){var u,t,z=[],A=[];u=g.parentNode;t=k.parentNode;var S=u;if(g===k){h=true;return 0}else if(u===t)return Sa(g,k);else if(u){if(!t)return 1}else return-1;for(;S;){z.unshift(S);S=S.parentNode}for(S=t;S;){A.unshift(S);S=S.parentNode}u=z.length;t=A.length;for(S=0;S<u&&S<t;S++)if(z[S]!==A[S])return Sa(z[S],A[S]);return S===u?Sa(g,A[S],-1):Sa(z[S],k,1)};Sa=function(g,k,u){if(g===
k)return u;for(g=g.nextSibling;g;){if(g===k)return-1;g=g.nextSibling}return 1}}n.getText=function(g){for(var k="",u,t=0;g[t];t++){u=g[t];if(u.nodeType===3||u.nodeType===4)k+=u.nodeValue;else if(u.nodeType!==8)k+=n.getText(u.childNodes)}return k};(function(){var g=B.createElement("div"),k="script"+(new Date).getTime(),u=B.documentElement;g.innerHTML="<a name='"+k+"'/>";u.insertBefore(g,u.firstChild);if(B.getElementById(k)){v.find.ID=function(t,z,A){if(typeof z.getElementById!=="undefined"&&!A)return(z=
z.getElementById(t[1]))?z.id===t[1]||typeof z.getAttributeNode!=="undefined"&&z.getAttributeNode("id").nodeValue===t[1]?[z]:G:[]};v.filter.ID=function(t,z){var A=typeof t.getAttributeNode!=="undefined"&&t.getAttributeNode("id");return t.nodeType===1&&A&&A.nodeValue===z}}u.removeChild(g);u=g=null})();(function(){var g=B.createElement("div");g.appendChild(B.createComment(""));if(g.getElementsByTagName("*").length>0)v.find.TAG=function(k,u){var t=u.getElementsByTagName(k[1]);if(k[1]==="*"){for(var z=
[],A=0;t[A];A++)t[A].nodeType===1&&z.push(t[A]);t=z}return t};g.innerHTML="<a href='#'></a>";if(g.firstChild&&typeof g.firstChild.getAttribute!=="undefined"&&g.firstChild.getAttribute("href")!=="#")v.attrHandle.href=function(k){return k.getAttribute("href",2)};g=null})();B.querySelectorAll&&function(){var g=n,k=B.createElement("div");k.innerHTML="<p class='TEST'></p>";if(!(k.querySelectorAll&&k.querySelectorAll(".TEST").length===0)){n=function(t,z,A,S){z=z||B;t=t.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");
if(!S&&!n.isXML(z))if(z.nodeType===9)try{return ya(z.querySelectorAll(t),A)}catch(da){}else if(z.nodeType===1&&z.nodeName.toLowerCase()!=="object"){var Ia=z.getAttribute("id"),gb=Ia||"__sizzle__";Ia||z.setAttribute("id",gb);try{return ya(z.querySelectorAll("#"+gb+" "+t),A)}catch(ib){}finally{Ia||z.removeAttribute("id")}}return g(t,z,A,S)};for(var u in g)n[u]=g[u];k=null}}();(function(){var g=B.documentElement,k=g.matchesSelector||g.mozMatchesSelector||g.webkitMatchesSelector||g.msMatchesSelector,
u=false;try{k.call(B.documentElement,"[test!='']:sizzle")}catch(t){u=true}if(k)n.matchesSelector=function(z,A){A=A.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!n.isXML(z))try{if(u||!v.match.PSEUDO.test(A)&&!/!=/.test(A))return k.call(z,A)}catch(S){}return n(A,null,null,[z]).length>0}})();(function(){var g=B.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){v.order.splice(1,0,"CLASS");v.find.CLASS=function(k,u,t){if(typeof u.getElementsByClassName!=="undefined"&&!t)return u.getElementsByClassName(k[1])};g=null}}})();n.contains=B.documentElement.contains?function(g,k){return g!==k&&(g.contains?g.contains(k):true)}:B.documentElement.compareDocumentPosition?function(g,k){return!!(g.compareDocumentPosition(k)&16)}:function(){return false};n.isXML=function(g){return(g=(g?g.ownerDocument||g:0).documentElement)?g.nodeName!=="HTML":false};var fb=function(g,
k){for(var u,t=[],z="",A=k.nodeType?[k]:k;u=v.match.PSEUDO.exec(g);){z+=u[0];g=g.replace(v.match.PSEUDO,"")}g=v.relative[g]?g+"*":g;u=0;for(var S=A.length;u<S;u++)n(g,A[u],t);return n.filter(z,t)};c.find=n;c.expr=n.selectors;c.expr[":"]=c.expr.filters;c.unique=n.uniqueSort;c.text=n.getText;c.isXMLDoc=n.isXML;c.contains=n.contains})();var p=/Until$/,s=/^(?:parents|prevUntil|prevAll)/,D=/,/,L=/^.[^:#\[\.,]*$/,ga=Array.prototype.slice,Q=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 o=0;o<d;o++)if(b[o]===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($(this,a,false),"not",a)},filter:function(a){return this.pushStack($(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 o,n={},v=1;if(h&&a.length){e=0;for(f=a.length;e<f;e++){o=a[e];n[o]||(n[o]=c.expr.match.POS.test(o)?c(o,b||this.context):o)}for(;h&&h.ownerDocument&&h!==b;){for(o in n){e=n[o];if(e.jquery?e.index(h)>-1:c(h).is(e))d.push({selector:o,elem:h,level:v})}h=h.parentNode;v++}}return d}o=Q.test(a)?c(a,b||this.context):null;e=0;for(f=this.length;e<f;e++)for(h=this[e];h;)if(o?o.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);p.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||D.test(e))&&s.test(a))f=f.reverse();return this.pushStack(f,a,ga.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===G||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 na=/ jQuery\d+="(?:\d+|null)"/g,
oa=/^\s+/,La=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,Aa=/<([\w:]+)/,Ja=/<tbody/i,ua=/<|&#?\w+;/,M=/<(?:script|object|embed|option|style)/i,N=/checked\s*(?:[^=]|=\s*.checked.)/i,ra=/\=([^="'>\s]+\/)>/g,X={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,"",""]};X.optgroup=X.option;X.tbody=X.tfoot=X.colgroup=X.caption=X.thead;X.th=X.td;if(!c.support.htmlSerialize)X._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!==G)return this.empty().append((this[0]&&this[0].ownerDocument||B).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(na,"").replace(ra,'="$1">').replace(oa,
"")],e)[0]}else return this.cloneNode(true)});if(a===true){pa(this,b);pa(this.find("*"),b.find("*"))}return b},html:function(a){if(a===G)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(na,""):null;else if(typeof a==="string"&&!M.test(a)&&(c.support.leadingWhitespace||!oa.test(a))&&!X[(Aa.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(La,"<$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,o=a[0],n=[];if(!c.support.checkClone&&arguments.length===3&&typeof o==="string"&&N.test(o))return this.each(function(){c(this).domManip(a,b,d,true)});if(c.isFunction(o))return this.each(function(ca){var H=c(this);a[0]=o.call(this,ca,b?H.html():G);H.domManip(a,b,d)});if(this[0]){e=o&&o.parentNode;e=c.support.parentNode&&e&&e.nodeType===11&&e.childNodes.length===this.length?{fragment:e}:c.buildFragment(a,this,n);h=e.fragment;if(f=h.childNodes.length===1?h=h.firstChild:
h.firstChild){b=b&&c.nodeName(f,"tr");f=0;for(var v=this.length;f<v;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)}n.length&&c.each(n,va)}return this}});c.buildFragment=function(a,b,d){var e,f,h;b=b&&b[0]?b[0].ownerDocument||b[0]:B;if(a.length===1&&typeof a[0]==="string"&&a[0].length<512&&b===B&&!M.test(a[0])&&(c.support.checkClone||
!N.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 o=(f>0?this.clone(true):this).get();c(d[f])[b](o);e=e.concat(o)}return this.pushStack(e,a,d.selector)}}});c.extend({clean:function(a,b,d,e){b=b||B;if(typeof b.createElement==="undefined")b=b.ownerDocument||b[0]&&b[0].ownerDocument||B;for(var f=[],h=0,o;(o=a[h])!=null;h++){if(typeof o==="number")o+="";if(o){if(typeof o==="string"&&!ua.test(o))o=b.createTextNode(o);else if(typeof o==="string"){o=o.replace(La,"<$1><$2>");var n=(Aa.exec(o)||["",""])[1].toLowerCase(),v=X[n]||X._default,
ca=v[0],H=b.createElement("div");for(H.innerHTML=v[1]+o+v[2];ca--;)H=H.lastChild;if(!c.support.tbody){ca=Ja.test(o);n=n==="table"&&!ca?H.firstChild&&H.firstChild.childNodes:v[1]==="<table>"&&!ca?H.childNodes:[];for(v=n.length-1;v>=0;--v)c.nodeName(n[v],"tbody")&&!n[v].childNodes.length&&n[v].parentNode.removeChild(n[v])}!c.support.leadingWhitespace&&oa.test(o)&&H.insertBefore(b.createTextNode(oa.exec(o)[0]),H.firstChild);o=H.childNodes}if(o.nodeType)f.push(o);else f=c.merge(f,o)}}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,o=0,n;(n=a[o])!=null;o++)if(!(n.nodeName&&c.noData[n.nodeName.toLowerCase()]))if(d=n[c.expando]){if((b=e[d])&&b.events)for(var v in b.events)f[v]?
c.event.remove(n,v):c.removeEvent(n,v,b.handle);if(h)delete n[c.expando];else n.removeAttribute&&n.removeAttribute(c.expando);delete e[d]}}});var qa=/alpha\([^)]*\)/i,ba=/opacity=([^)]*)/,wa=/-([a-z])/ig,za=/([A-Z])/g,xa=/^-?\d+(?:px)?$/i,ta=/^-?\d/,Ma={position:"absolute",visibility:"hidden",display:"block"},Ra=["Left","Right"],eb=["Top","Bottom"],Xa,Ta,Ua,U=function(a,b){return b.toUpperCase()};c.fn.css=function(a,b){if(arguments.length===2&&b===G)return this;return c.access(this,a,b,true,function(d,
e,f){return f!==G?c.style(d,e,f):c.css(d,e)})};c.extend({cssHooks:{opacity:{get:function(a,b){if(b){var d=Xa(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),o=a.style,n=c.cssHooks[h];b=c.cssProps[h]||h;if(d!==G){if(!(typeof d==="number"&&
isNaN(d)||d==null)){if(typeof d==="number"&&!c.cssNumber[h])d+="px";if(!n||!("set"in n)||(d=n.set(a,d))!==G)try{o[b]=d}catch(v){}}}else{if(n&&"get"in n&&(f=n.get(a,false,e))!==G)return f;return o[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))!==G)return e;else if(Xa)return Xa(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(wa,
U)}});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=Fa(d,b,f);else c.swap(d,Ma,function(){h=Fa(d,b,f)});if(h<=0){h=Xa(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(xa.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 ba.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(B.defaultView&&B.defaultView.getComputedStyle)Ta=function(a,b,d){var e;d=d.replace(za,"-$1").toLowerCase();if(!(b=a.ownerDocument.defaultView))return G;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(B.documentElement.currentStyle)Ua=function(a,b){var d,e,f=a.currentStyle&&a.currentStyle[b],h=a.style;if(!xa.test(f)&&ta.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};Xa=Ta||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 ea=c.now(),O=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,K=/^(?:select|textarea)/i,w=/^(?:color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,C=/^(?:GET|HEAD)$/,E=/\[\]$/,J=/\=\?(&|$)/,F=/\?/,Y=/([?&])_=[^&]*/,Z=/^(\w+:)?\/\/([^\/?#]+)/,aa=/%20/g,V=/#.*$/,ma=c.fn.load;c.fn.extend({load:function(a,
b,d){if(typeof a!=="string"&&ma)return ma.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(o,n){if(n==="success"||n==="notmodified")h.html(f?c("<div>").append(o.responseText.replace(O,"")).find(f):o.responseText);d&&h.each(d,[o.responseText,
n,o])}});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||K.test(this.nodeName)||w.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(),o=C.test(h);b.url=b.url.replace(V,"");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")J.test(b.url)||(b.url+=(F.test(b.url)?"&":"?")+(b.jsonp||"callback")+"=?");else if(!b.data||!J.test(b.data))b.data=(b.data?b.data+"&":"")+(b.jsonp||"callback")+"=?";b.dataType="json"}if(b.dataType==="json"&&(b.data&&J.test(b.data)||J.test(b.url))){d=b.jsonpCallback||"jsonp"+ea++;if(b.data)b.data=(b.data+"").replace(J,"="+d+"$1");b.url=b.url.replace(J,"="+d+"$1");b.dataType="script";var n=
i[d];i[d]=function(t){if(c.isFunction(n))n(t);else{i[d]=G;try{delete i[d]}catch(z){}}f=t;c.handleSuccess(b,W,e,f);c.handleComplete(b,W,e,f);H&&H.removeChild(ka)}}if(b.dataType==="script"&&b.cache===null)b.cache=false;if(b.cache===false&&o){var v=c.now(),ca=b.url.replace(Y,"$1_="+v);b.url=ca+(ca===b.url?(F.test(b.url)?"&":"?")+"_="+v:"")}if(b.data&&o)b.url+=(F.test(b.url)?"&":"?")+b.data;b.global&&c.active++===0&&c.event.trigger("ajaxStart");v=(v=Z.exec(b.url))&&(v[1]&&v[1].toLowerCase()!==location.protocol||
v[2].toLowerCase()!==location.host);if(b.dataType==="script"&&h==="GET"&&v){var H=B.getElementsByTagName("head")[0]||B.documentElement,ka=B.createElement("script");if(b.scriptCharset)ka.charset=b.scriptCharset;ka.src=b.url;if(!d){var ya=false;ka.onload=ka.onreadystatechange=function(){if(!ya&&(!this.readyState||this.readyState==="loaded"||this.readyState==="complete")){ya=true;c.handleSuccess(b,W,e,f);c.handleComplete(b,W,e,f);ka.onload=ka.onreadystatechange=null;H&&ka.parentNode&&H.removeChild(ka)}}}H.insertBefore(ka,
H.firstChild);return G}var Va=false,W=b.xhr();if(W){b.username?W.open(h,b.url,b.async,b.username,b.password):W.open(h,b.url,b.async);try{if(b.data!=null&&!o||a&&a.contentType)W.setRequestHeader("Content-Type",b.contentType);if(b.ifModified){c.lastModified[b.url]&&W.setRequestHeader("If-Modified-Since",c.lastModified[b.url]);c.etag[b.url]&&W.setRequestHeader("If-None-Match",c.etag[b.url])}v||W.setRequestHeader("X-Requested-With","XMLHttpRequest");W.setRequestHeader("Accept",b.dataType&&b.accepts[b.dataType]?
b.accepts[b.dataType]+", */*; q=0.01":b.accepts._default)}catch(Sa){}if(b.beforeSend&&b.beforeSend.call(b.context,W,b)===false){b.global&&c.active--===1&&c.event.trigger("ajaxStop");W.abort();return false}b.global&&c.triggerGlobal(b,"ajaxSend",[W,b]);var fb=W.onreadystatechange=function(t){if(!W||W.readyState===0||t==="abort"){Va||c.handleComplete(b,W,e,f);Va=true;if(W)W.onreadystatechange=c.noop}else if(!Va&&W&&(W.readyState===4||t==="timeout")){Va=true;W.onreadystatechange=c.noop;e=t==="timeout"?
"timeout":!c.httpSuccess(W)?"error":b.ifModified&&c.httpNotModified(W,b.url)?"notmodified":"success";var z;if(e==="success")try{f=c.httpData(W,b.dataType,b)}catch(A){e="parsererror";z=A}if(e==="success"||e==="notmodified")d||c.handleSuccess(b,W,e,f);else c.handleError(b,W,e,z);d||c.handleComplete(b,W,e,f);t==="timeout"&&W.abort();if(b.async)W=null}};try{var g=W.abort;W.abort=function(){W&&Function.prototype.call.call(g,W);fb("abort")}}catch(k){}b.async&&b.timeout>0&&setTimeout(function(){W&&!Va&&
fb("timeout")},b.timeout);try{W.send(o||b.data==null?null:b.data)}catch(u){c.handleError(b,W,null,u);c.handleComplete(b,W,e,f)}b.async||fb();return W}},param:function(a,b){var d=[],e=function(h,o){o=c.isFunction(o)?o():o;d[d.length]=encodeURIComponent(h)+"="+encodeURIComponent(o)};if(b===G)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)la(f,a[f],b,e);return d.join("&").replace(aa,"+")}});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 Ca={},Ha=/^(?:toggle|show|hide)$/,
sa=/^([+\-]=)?([\d+.\-]+)(.*)$/,Ba,Ea=[["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",ja(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),o,n=this.nodeType===1,v=n&&c(this).is(":hidden"),ca=this;for(o in a){var H=c.camelCase(o);if(o!==H){a[H]=a[o];delete a[o];
o=H}if(a[o]==="hide"&&v||a[o]==="show"&&!v)return h.complete.call(this);if(n&&(o==="height"||o==="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(ja(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[o])){(h.specialEasing=h.specialEasing||{})[o]=
a[o][1];a[o]=a[o][0]}}if(h.overflow!=null)this.style.overflow="hidden";h.curAnim=c.extend({},a);c.each(a,function(ka,ya){var Va=new c.fx(ca,h,ka);if(Ha.test(ya))Va[ya==="toggle"?v?"show":"hide":ya](a);else{var W=sa.exec(ya),Sa=Va.cur()||0;if(W){var fb=parseFloat(W[2]),g=W[3]||"px";if(g!=="px"){c.style(ca,ka,(fb||1)+g);Sa*=(fb||1)/Va.cur();c.style(ca,ka,Sa+g)}if(W[1])fb=(W[1]==="-="?-1:1)*fb+Sa;Va.custom(Sa,fb,g)}else Va.custom(Sa,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(o){return f.step(o)}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)&&!Ba)Ba=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(n,v){f.style["overflow"+v]=h.overflow[n]})}this.options.hide&&c(this.elem).hide();if(this.options.hide||this.options.show)for(var o in this.options.curAnim)c.style(this.elem,o,this.options.orig[o]);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(Ba);Ba=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 Pa=/^t(?:able|d|h)$/i,Oa=/^(?:body|html)$/i;c.fn.offset="getBoundingClientRect"in B.documentElement?function(a){var b=this[0],d;
if(a)return this.each(function(o){c.offset.setOffset(this,a,o)});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(ca){c.offset.setOffset(this,a,ca)});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,o=f.body;d=(f=f.defaultView)?f.getComputedStyle(b,null):b.currentStyle;for(var n=b.offsetTop,v=b.offsetLeft;(b=b.parentNode)&&b!==o&&b!==h;){if(c.offset.supportsFixedPosition&&d.position==="fixed")break;d=f?f.getComputedStyle(b,
null):b.currentStyle;n-=b.scrollTop;v-=b.scrollLeft;if(b===e){n+=b.offsetTop;v+=b.offsetLeft;if(c.offset.doesNotAddBorder&&!(c.offset.doesAddBorderForTableAndCells&&Pa.test(b.nodeName))){n+=parseFloat(d.borderTopWidth)||0;v+=parseFloat(d.borderLeftWidth)||0}e=b.offsetParent}if(c.offset.subtractsBorderForOverflowNotVisible&&d.overflow!=="visible"){n+=parseFloat(d.borderTopWidth)||0;v+=parseFloat(d.borderLeftWidth)||0}}if(d.position==="relative"||d.position==="static"){n+=o.offsetTop;v+=o.offsetLeft}if(c.offset.supportsFixedPosition&&
d.position==="fixed"){n+=Math.max(h.scrollTop,o.scrollTop);v+=Math.max(h.scrollLeft,o.scrollLeft)}return{top:n,left:v}};c.offset={initialize:function(){var a=B.body,b=B.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(),o=c.css(a,"top"),n=c.css(a,"left"),v=e==="absolute"&&c.inArray("auto",[o,n])>-1;e={};var ca={};if(v)ca=f.position();o=v?ca.top:parseInt(o,
10)||0;n=v?ca.left:parseInt(n,10)||0;if(c.isFunction(b))b=b.call(a,d,h);if(b.top!=null)e.top=b.top-h.top+o;if(b.left!=null)e.left=b.left-h.left+n;"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=Oa.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||B.body;a&&!Oa.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!==G?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(o){var n=c(this);n[d](e.call(this,o,n[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===G){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=ia.getElementsByTagName("body")[0].appendChild(ia.createElement("span"));j.parentNode.removeChild(j)}catch(p){return}lb=true;j=hb.length;for(var s=0;s<j;s++)hb[s]()}}function G(j){if(lb)j();else hb[hb.length]=j}function Qa(j){if(typeof $a.addEventListener!=ha)$a.addEventListener("load",j,false);else if(typeof ia.addEventListener!=ha)ia.addEventListener("load",j,false);else if(typeof $a.attachEvent!=ha)x($a,"onload",j);else if(typeof $a.onload==
"function"){var p=$a.onload;$a.onload=function(){p();j()}}else $a.onload=j}function bb(){var j=ia.getElementsByTagName("body")[0],p=ia.createElement(Ya);p.setAttribute("type",db);var s=j.appendChild(p);if(s){var D=0;(function(){if(typeof s.GetVariable!=ha){var L=s.GetVariable("$version");if(L){L=L.split(" ")[1].split(",");y.pv=[parseInt(L[0],10),parseInt(L[1],10),parseInt(L[2],10)]}}else if(D<10){D++;setTimeout(arguments.callee,10);return}j.removeChild(p);s=null;ob()})()}else ob()}function ob(){var j=
ab.length;if(j>0)for(var p=0;p<j;p++){var s=ab[p].id,D=ab[p].callbackFn,L={success:false,id:s};if(y.pv[0]>0){var ga=la(s);if(ga)if(ja(ab[p].swfVersion)&&!(y.wk&&y.wk<312)){B(s,true);if(D){L.success=true;L.ref=rb(s);D(L)}}else if(ab[p].expressInstall&&q()){L={};L.data=ab[p].expressInstall;L.width=ga.getAttribute("width")||"0";L.height=ga.getAttribute("height")||"0";if(ga.getAttribute("class"))L.styleclass=ga.getAttribute("class");if(ga.getAttribute("align"))L.align=ga.getAttribute("align");var Q={};
ga=ga.getElementsByTagName("param");for(var na=ga.length,oa=0;oa<na;oa++)if(ga[oa].getAttribute("name").toLowerCase()!="movie")Q[ga[oa].getAttribute("name")]=ga[oa].getAttribute("value");R(L,Q,s,D)}else{$(ga);D&&D(L)}}else{B(s,true);if(D){if((s=rb(s))&&typeof s.SetVariable!=ha){L.success=true;L.ref=s}D(L)}}}}function rb(j){var p=null;if((j=la(j))&&j.nodeName=="OBJECT")if(typeof j.SetVariable!=ha)p=j;else if(j=j.getElementsByTagName(Ya)[0])p=j;return p}function q(){return!nb&&ja("6.0.65")&&(y.win||
y.mac)&&!(y.wk&&y.wk<312)}function R(j,p,s,D){nb=true;wb=D||null;tb={success:false,id:s};var L=la(s);if(L){if(L.nodeName=="OBJECT"){sb=pa(L);ub=null}else{sb=L;ub=s}j.id=qb;if(typeof j.width==ha||!/%$/.test(j.width)&&parseInt(j.width,10)<310)j.width="310";if(typeof j.height==ha||!/%$/.test(j.height)&&parseInt(j.height,10)<137)j.height="137";ia.title=ia.title.slice(0,47)+" - Flash Player Installation";D=y.ie&&y.win?"ActiveX":"PlugIn";D="MMredirectURL="+encodeURI($a.location).toString().replace(/&/g,
"%26")+"&MMplayerType="+D+"&MMdoctitle="+ia.title;if(typeof p.flashvars!=ha)p.flashvars+="&"+D;else p.flashvars=D;if(y.ie&&y.win&&L.readyState!=4){D=ia.createElement("div");s+="SWFObjectNew";D.setAttribute("id",s);L.parentNode.insertBefore(D,L);L.style.display="none";(function(){L.readyState==4?L.parentNode.removeChild(L):setTimeout(arguments.callee,10)})()}va(j,p,s)}}function $(j){if(y.ie&&y.win&&j.readyState!=4){var p=ia.createElement("div");j.parentNode.insertBefore(p,j);p.parentNode.replaceChild(pa(j),
p);j.style.display="none";(function(){j.readyState==4?j.parentNode.removeChild(j):setTimeout(arguments.callee,10)})()}else j.parentNode.replaceChild(pa(j),j)}function pa(j){var p=ia.createElement("div");if(y.win&&y.ie)p.innerHTML=j.innerHTML;else if(j=j.getElementsByTagName(Ya)[0])if(j=j.childNodes)for(var s=j.length,D=0;D<s;D++)!(j[D].nodeType==1&&j[D].nodeName=="PARAM")&&j[D].nodeType!=8&&p.appendChild(j[D].cloneNode(true));return p}function va(j,p,s){var D,L=la(s);if(y.wk&&y.wk<312)return D;if(L){if(typeof j.id==
ha)j.id=s;if(y.ie&&y.win){var ga="",Q;for(Q in j)if(j[Q]!=Object.prototype[Q])if(Q.toLowerCase()=="data")p.movie=j[Q];else if(Q.toLowerCase()=="styleclass")ga+=' class="'+j[Q]+'"';else if(Q.toLowerCase()!="classid")ga+=" "+Q+'="'+j[Q]+'"';Q="";for(var na in p)if(p[na]!=Object.prototype[na])Q+='<param name="'+na+'" value="'+p[na]+'" />';L.outerHTML='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'+ga+">"+Q+"</object>";Za[Za.length]=j.id;D=la(j.id)}else{na=ia.createElement(Ya);na.setAttribute("type",
db);for(var oa in j)if(j[oa]!=Object.prototype[oa])if(oa.toLowerCase()=="styleclass")na.setAttribute("class",j[oa]);else oa.toLowerCase()!="classid"&&na.setAttribute(oa,j[oa]);for(ga in p)if(p[ga]!=Object.prototype[ga]&&ga.toLowerCase()!="movie"){j=na;Q=ga;oa=p[ga];s=ia.createElement("param");s.setAttribute("name",Q);s.setAttribute("value",oa);j.appendChild(s)}L.parentNode.replaceChild(na,L);D=na}}return D}function Fa(j){var p=la(j);if(p&&p.nodeName=="OBJECT")if(y.ie&&y.win){p.style.display="none";
(function(){if(p.readyState==4){var s=la(j);if(s){for(var D in s)if(typeof s[D]=="function")s[D]=null;s.parentNode.removeChild(s)}}else setTimeout(arguments.callee,10)})()}else p.parentNode.removeChild(p)}function la(j){var p=null;try{p=ia.getElementById(j)}catch(s){}return p}function x(j,p,s){j.attachEvent(p,s);kb[kb.length]=[j,p,s]}function ja(j){var p=y.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 p[0]>j[0]||p[0]==j[0]&&p[1]>j[1]||p[0]==j[0]&&
p[1]==j[1]&&p[2]>=j[2]?true:false}function Ga(j,p,s,D){if(!(y.ie&&y.mac)){var L=ia.getElementsByTagName("head")[0];if(L){s=s&&typeof s=="string"?s:"screen";if(D)r=l=null;if(!l||r!=s){D=ia.createElement("style");D.setAttribute("type","text/css");D.setAttribute("media",s);l=L.appendChild(D);if(y.ie&&y.win&&typeof ia.styleSheets!=ha&&ia.styleSheets.length>0)l=ia.styleSheets[ia.styleSheets.length-1];r=s}if(y.ie&&y.win)l&&typeof l.addRule==Ya&&l.addRule(j,p);else l&&typeof ia.createTextNode!=ha&&l.appendChild(ia.createTextNode(j+
" {"+p+"}"))}}}function B(j,p){if(P){var s=p?"visible":"hidden";if(lb&&la(j))la(j).style.visibility=s;else Ga("#"+j,"visibility:"+s)}}function c(j){return/[\\\"<>\.;]/.exec(j)!=null&&typeof encodeURIComponent!=ha?encodeURIComponent(j):j}var ha="undefined",Ya="object",db="application/x-shockwave-flash",qb="SWFObjectExprInst",$a=window,ia=document,Wa=navigator,pb=false,hb=[function(){pb?bb():ob()}],ab=[],Za=[],kb=[],sb,ub,wb,tb,lb=false,nb=false,l,r,P=true,y=function(){var j=typeof ia.getElementById!=
ha&&typeof ia.getElementsByTagName!=ha&&typeof ia.createElement!=ha,p=Wa.userAgent.toLowerCase(),s=Wa.platform.toLowerCase(),D=s?/win/.test(s):/win/.test(p);s=s?/mac/.test(s):/mac/.test(p);p=/webkit/.test(p)?parseFloat(p.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")):false;var L=!+"\u000b1",ga=[0,0,0],Q=null;if(typeof Wa.plugins!=ha&&typeof Wa.plugins["Shockwave Flash"]==Ya){if((Q=Wa.plugins["Shockwave Flash"].description)&&!(typeof Wa.mimeTypes!=ha&&Wa.mimeTypes[db]&&!Wa.mimeTypes[db].enabledPlugin)){pb=
true;L=false;Q=Q.replace(/^.*\s+(\S+\s+\S+$)/,"$1");ga[0]=parseInt(Q.replace(/^(.*)\..*$/,"$1"),10);ga[1]=parseInt(Q.replace(/^.*\.(.*)\s.*$/,"$1"),10);ga[2]=/[a-zA-Z]/.test(Q)?parseInt(Q.replace(/^.*[a-zA-Z]+(.*)$/,"$1"),10):0}}else if(typeof $a.ActiveXObject!=ha)try{var na=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");if(na)if(Q=na.GetVariable("$version")){L=true;Q=Q.split(" ")[1].split(",");ga=[parseInt(Q[0],10),parseInt(Q[1],10),parseInt(Q[2],10)]}}catch(oa){}return{w3:j,pv:ga,wk:p,ie:L,
win:D,mac:s}}();(function(){if(y.w3){if(typeof ia.readyState!=ha&&ia.readyState=="complete"||typeof ia.readyState==ha&&(ia.getElementsByTagName("body")[0]||ia.body))i();if(!lb){typeof ia.addEventListener!=ha&&ia.addEventListener("DOMContentLoaded",i,false);if(y.ie&&y.win){ia.attachEvent("onreadystatechange",function(){if(ia.readyState=="complete"){ia.detachEvent("onreadystatechange",arguments.callee);i()}});$a==top&&function(){if(!lb){try{ia.documentElement.doScroll("left")}catch(j){setTimeout(arguments.callee,
0);return}i()}}()}y.wk&&function(){lb||(/loaded|complete/.test(ia.readyState)?i():setTimeout(arguments.callee,0))}();Qa(i)}}})();(function(){y.ie&&y.win&&window.attachEvent("onunload",function(){for(var j=kb.length,p=0;p<j;p++)kb[p][0].detachEvent(kb[p][1],kb[p][2]);j=Za.length;for(p=0;p<j;p++)Fa(Za[p]);for(var s in y)y[s]=null;y=null;for(var D in er_swfobject22)er_swfobject22[D]=null;er_swfobject22=null})})();return{registerObject:function(j,p,s,D){if(y.w3&&j&&p){var L={};L.id=j;L.swfVersion=p;L.expressInstall=
s;L.callbackFn=D;ab[ab.length]=L;B(j,false)}else D&&D({success:false,id:j})},getObjectById:function(j){if(y.w3)return rb(j)},embedSWF:function(j,p,s,D,L,ga,Q,na,oa,La){var Aa={success:false,id:p};if(y.w3&&!(y.wk&&y.wk<312)&&j&&p&&s&&D&&L){B(p,false);G(function(){s+="";D+="";var Ja={};if(oa&&typeof oa===Ya)for(var ua in oa)Ja[ua]=oa[ua];Ja.data=j;Ja.width=s;Ja.height=D;ua={};if(na&&typeof na===Ya)for(var M in na)ua[M]=na[M];if(Q&&typeof Q===Ya)for(var N in Q)if(typeof ua.flashvars!=ha)ua.flashvars+=
"&"+N+"="+Q[N];else ua.flashvars=N+"="+Q[N];if(ja(L)){M=va(Ja,ua,p);Ja.id==p&&B(p,true);Aa.success=true;Aa.ref=M}else if(ga&&q()){Ja.data=ga;R(Ja,ua,p,La);return}else B(p,true);La&&La(Aa)})}else La&&La(Aa)},switchOffAutoHideShow:function(){P=false},ua:y,getFlashPlayerVersion:function(){return{major:y.pv[0],minor:y.pv[1],release:y.pv[2]}},hasFlashPlayerVersion:ja,createSWF:function(j,p,s){if(y.w3)return va(j,p,s)},showExpressInstall:function(j,p,s,D){y.w3&&q()&&R(j,p,s,D)},removeSWF:function(j){y.w3&&
Fa(j)},createCSS:function(j,p,s,D){y.w3&&Ga(j,p,s,D)},addDomLoadEvent:G,addLoadEvent:Qa,getQueryParamValue:function(j){var p=ia.location.search||ia.location.hash;if(p){if(/\?/.test(p))p=p.split("?")[1];if(j==null)return c(p);p=p.split("&");for(var s=0;s<p.length;s++)if(p[s].substring(0,p[s].indexOf("="))==j)return c(p[s].substring(p[s].indexOf("=")+1))}return""},expressInstallCallback:function(){if(nb){var j=la(qb);if(j&&sb){j.parentNode.replaceChild(sb,j);if(ub){B(ub,true);if(y.ie&&y.win)sb.style.display=
"block"}wb&&wb(tb)}nb=false}}}}();
(function(i,G,Qa,bb){if(typeof Qa.erO1I==="undefined"){Qa.erO1I=1;i&&function(){i.extend(i.fn,{contextMenu:function(q,R){if(q.menu==undefined)return false;if(q.inSpeed==undefined)q.inSpeed=150;if(q.outSpeed==undefined)q.outSpeed=75;if(q.inSpeed==0)q.inSpeed=-1;if(q.outSpeed==0)q.outSpeed=-1;i(this).each(function(){var $=i(this),pa=i($).offset();i("#"+q.menu).addClass("contextMenu");i(this).mousedown(function(va){if(va.button==2){va.stopPropagation();i(this).mouseup(function(Fa){Fa.stopPropagation();var la=
i(this);i(this).unbind(Fa);if(va.button==2){i(".contextMenu").hide();var x=i("#"+q.menu);if(i($).hasClass("disabled"))return false;var ja={},Ga,B;if(self.innerHeight){ja.pageYOffset=self.pageYOffset;ja.pageXOffset=self.pageXOffset;ja.innerHeight=self.innerHeight;ja.innerWidth=self.innerWidth}else if(G.documentElement&&G.documentElement.clientHeight){ja.pageYOffset=G.documentElement.scrollTop;ja.pageXOffset=G.documentElement.scrollLeft;ja.innerHeight=G.documentElement.clientHeight;ja.innerWidth=G.documentElement.clientWidth}else if(G.body){ja.pageYOffset=
G.body.scrollTop;ja.pageXOffset=G.body.scrollLeft;ja.innerHeight=G.body.clientHeight;ja.innerWidth=G.body.clientWidth}Fa.pageX?Ga=Fa.pageX:Ga=Fa.clientX+ja.scrollLeft;Fa.pageY?B=Fa.pageY:B=Fa.clientY+ja.scrollTop;i(G).unbind("click");i(x).css({top:B,left:Ga}).fadeIn(q.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(G).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(G).trigger("click")}});i("#"+q.menu).find("A").unbind("click");i("#"+q.menu).find("LI:not(.disabled) A").click(function(){i(G).unbind("click").unbind("keypress");i(".contextMenu").hide();R&&R(i(this).attr("href").substr(1),i(la),{x:Ga-pa.left,y:B-pa.top,docX:Ga,docY:B});return false});setTimeout(function(){i(G).click(function(){i(G).unbind("click").unbind("keypress");i(x).fadeOut(q.outSpeed);return false})},0)}})}});if(i.browser.mozilla)i("#"+q.menu).each(function(){i(this).css({MozUserSelect:"none"})});
else i.browser.msie?i("#"+q.menu).each(function(){i(this).bind("selectstart.disableTextSelect",function(){return false})}):i("#"+q.menu).each(function(){i(this).bind("mousedown.disableTextSelect",function(){return false})});i($).add(i("UL.contextMenu")).bind("contextmenu",function(){return false})});return i(this)},disableContextMenuItems:function(q){if(q==undefined){i(this).find("LI").addClass("disabled");return i(this)}i(this).each(function(){if(q!=undefined)for(var R=q.split(","),$=0;$<R.length;$++)i(this).find('A[href="'+
R[$]+'"]').parent().addClass("disabled")});return i(this)},enableContextMenuItems:function(q){if(q==undefined){i(this).find("LI.disabled").removeClass("disabled");return i(this)}i(this).each(function(){if(q!=undefined)for(var R=q.split(","),$=0;$<R.length;$++)i(this).find('A[href="'+R[$]+'"]').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(q){function R(pa){var va=pa||Qa.event,Fa=[].slice.call(arguments,1),la=0,x=0,ja=0;pa=q.event.fix(va);pa.type="mousewheel";if(pa.wheelDelta)la=pa.wheelDelta/120;if(pa.detail)la=-pa.detail/3;ja=la;if(va.axis!==undefined&&va.axis===va.HORIZONTAL_AXIS){ja=0;x=-1*la}if(va.wheelDeltaY!==undefined)ja=va.wheelDeltaY/120;if(va.wheelDeltaX!==undefined)x=-1*va.wheelDeltaX/
120;Fa.unshift(pa,la,x,ja);return q.event.handle.apply(this,Fa)}var $=["DOMMouseScroll","mousewheel"];q.event.special.mousewheel={setup:function(){if(this.addEventListener)for(var pa=$.length;pa;)this.addEventListener($[--pa],R,false);else this.onmousewheel=R},teardown:function(){if(this.removeEventListener)for(var pa=$.length;pa;)this.removeEventListener($[--pa],R,false);else this.onmousewheel=null}};q.fn.extend({mousewheel:function(pa){return pa?this.bind("mousewheel",pa):this.trigger("mousewheel")},
unmousewheel:function(pa){return this.unbind("mousewheel",pa)}})})(i);(function(q){q.fn.iosSwipe=function(R){var $={dimension:"x",threshold:{x:30,tolerance:0.5},swipe:function(){}};R=q.extend($,R);if(!this)return false;return this.each(function(){function pa(B){B.preventDefault();ja.x=B.targetTouches[0].pageX;ja.y=B.targetTouches[0].pageY}function va(){var B=x.y-ja.y,c=x.x-ja.x,ha=Math.abs(c),Ya=Math.abs(B);if($.dimension=="x")ha>$.threshold.x&&Ya<ha*$.threshold.tolerance&&$.swipe(c>0);else Ya>$.threshold.x&&
ha<Ya*$.threshold.tolerance&&$.swipe(B>0)}function Fa(B){x.x=B.targetTouches[0].pageX;x.y=B.targetTouches[0].pageY;ja.x=x.x;ja.y=x.y}function la(){}q(this);var x={x:0,y:0},ja={x:0,y:0};try{this.addEventListener("touchstart",Fa,false);this.addEventListener("touchmove",pa,false);this.addEventListener("touchend",va,false);this.addEventListener("touchcancel",la,false)}catch(Ga){}})}})(i);var ob=function(){function q(la){if(G.all&&!Qa[la])for(var x=0;x<G.forms.length;x++)if(G.forms[x][la])return G.forms[x][la];
return G.all?Qa[la]:G[la]}var R=[],$,pa="",va={},Fa=-1;return{determineFlashSupport:function(){return bb.hasFlashPlayerVersion("9")},setup:function(la,x){pa=la;va=x;bb.hasFlashPlayerVersion("9")&&bb.createCSS("p.audioplayer_container span","visibility:hidden;height:24px;overflow:hidden;padding:0;border:none;")},getPlayer:function(la){return q(la)},addListener:function(la,x,ja){q(la).addListener(x,ja)},embed:function(la,x){var ja={},Ga,B={},c={},ha={};for(Ga in va)ja[Ga]=va[Ga];for(Ga in x)ja[Ga]=
x[Ga];if(ja.transparentpagebg=="yes"){B.bgcolor="#FFFFFF";B.wmode="transparent"}else{if(ja.pagebg)B.bgcolor="#"+ja.pagebg;B.wmode="opaque"}B.menu="false";for(Ga in ja)Ga=="pagebg"||Ga=="width"||Ga=="transparentpagebg"||(c[Ga]=ja[Ga]);ha.name=la;ha.style="outline: none";c.playerID=la;bb.embedSWF(pa,la,ja.width.toString(),"24","9",x.expressInstall||false,c,B,ha);R.push(la)},syncVolumes:function(la,x){Fa=x;for(var ja=0;ja<R.length;ja++)R[ja]!=la&&q(R[ja]).setVolume(Fa)},activate:function(la){$&&$!=la&&
q($).close();$=la},load:function(la,x,ja,Ga){q(la).load(x,ja,Ga)},close:function(la){q(la).close();if(la==$)$=null},open:function(la,x){if(x==undefined)x=1;q(la).open(x==undefined?0:x-1)},getVolume:function(){return Fa}}}();i.extend(i.easing,{def:"easeOutQuad",swing:function(q,R,$,pa,va){return i.easing[i.easing.def](q,R,$,pa,va)},easeInQuad:function(q,R,$,pa,va){return pa*(R/=va)*R+$},easeOutQuad:function(q,R,$,pa,va){return-pa*(R/=va)*(R-2)+$},easeInOutQuad:function(q,R,$,pa,va){if((R/=va/2)<1)return pa/
2*R*R+$;return-pa/2*(--R*(R-2)-1)+$},easeInCubic:function(q,R,$,pa,va){return pa*(R/=va)*R*R+$},easeOutCubic:function(q,R,$,pa,va){return pa*((R=R/va-1)*R*R+1)+$}});i.extend(i.fn,{er_cssValueObj:function(q){for(var R={},$=0;$<q.length;$++)R[q[$]]=this.css(q[$]);return R},er_cssPositionToNumber:function(q){q=i(this[0]).css(q);if(q==undefined||q==null)return 0;if(q=="auto")return 0;if(!isNaN(Number(q.split("px").join(""))))return Number(q.split("px").join(""));return 0},er_x:function(q){if(arguments.length<
1)return this.er_cssPositionToNumber("left");return this.css({left:q})},er_y:function(q){if(arguments.length<1)return this.er_cssPositionToNumber("top");return this.css({top:q})},er_cssWidth:function(q){if(arguments.length<1)return this.er_cssPositionToNumber("width");return this.css({width:q})},er_cssHeight:function(q){if(arguments.length<1)return this.er_cssPositionToNumber("height");return this.css({height:q})},er_alpha:function(q){if(arguments.length==1)return this.css({opacity:q});return this.css("opacity")},
er_randomize:function(q){return this.each(function(){var R=i(this),$=R.children(q);$.sort(function(){return Math.round(Math.random())-0.5});R.children().remove(q);R.append($)})}});i.fn.er_opacity=i.fn.er_alpha;var rb=function(){var q={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"},R={},$="";try{$="https:"==G.location.protocol?
"s":""}catch(pa){}for(var va in q){var Fa=q[va];if(Fa.indexOf("images/")==0)Fa="i"+Fa.substr(6);Fa="http"+$+"://easyrotator.s3.amazonaws.com/1/"+Fa;R[va]=Fa}q=R;R=".dwuserEasyRotator .erimgMain .erimgMain_slides .visibleWhenSelected {display:none;} .dwuserEasyRotator .erimgMain .erimgMain_slides .erimgMain_slide_selected .visibleWhenSelected {display:block;}";R+=".dwuserEasyRotator .erthumbGrid .erimgMain_slides .visibleWhenSelected {display:none;} .dwuserEasyRotator .erthumbGrid .erimgMain_slides .erimgMain_slide_selected .visibleWhenSelected {display:block;}";
R+=".dwuserEasyRotator .eraudio, .dwuserEasyRotator .ervideo {display:none;}";i("head").append('<style type="text/css">'+R+"</style>");var la=[];Qa.er_resetPositions=function(){i(la).each(function(){this.call()})};i(".dwuserEasyRotator").each(function(){var x=i(this);if(!x.hasClass("erACR")){x.addClass("erACR");var ja=/autoplaySpeed\:3500/.test(x.attr("data-erConfig")||"")&&i(".ebfnr").length>0;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(!ja&&G.location.hostname!=
"translate.googleusercontent.com"&&!x.find("'.erabout a[href^=http://www.dwuser.com/]:not([rel*=nofollow])'")[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(l){l.preventDefault();Ga.hide()});Ga.find("a").css({border:"none !important",fontWeight:"normal !important",textDecoration:"underline !important"});var B="er_"+(Math.random()+"").split(".").join("")+"_cm",c=i('<ul id="'+
B+'" 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>');
ja||x.contextMenu({menu:B},function(l){if(/about$/.test(l)){l=i(Qa);l=x.css("position")=="relative"?{top:20,left:20}:{top:l.scrollTop()+20,left:l.scrollLeft()+20};Ga.css(l).show()}});var ha=eval("("+(x.attr("data-erConfig")||"{}")+")");B=ha.randomize===true;var Ya=false,db=function(){var l=function(p){p=p?"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.":"You are using EasyRotator Pro features, but EasyRotator Pro hasn't been enabled for this domain ("+
G.domain+').<br />You need to <a style="color: #FFF;" href="http://www.dwuser.com/myaccount/#credits" target="_blank">add it to your account</a>.';x.css({padding:30,backgroundColor:"#000",fontFamily:"Georgia,'Times New Roman',Times,_serif",fontSize:16,color:"#FFF",textAlign:"center"}).html(p)};if(!Ya){Ya=true;var r=G.domain;try{r=top.window.document.domain}catch(P){l(true);return}if(r!=""&&r!="translate.google.com"&&r!="translate.googleusercontent.com"&&r!="cache.googleusercontent.com"){var y="http://";
try{y="https:"==G.location.protocol?"https://":"http://"}catch(j){}r=y+(y=="http://"?"erpv.dwuser.com":"dwuser.com")+"/easyrotator/updates/pcisvc.php?d="+r+"&nocache="+(new Date).getTime()+"&jsoncallback=?";i.getJSON(r,function(p){p&&p.v==="n"&&l()})}}};ja&&db();var qb=[];x.is(":hidden")&&x.parents().each(function(){var l=i(this);l.css("display").toLowerCase()=="none"&&qb.push(l.css("display",""))});var $a;(function(){var l={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},r;for(r in l)if(ha["video_"+r]!==undefined)l[r]=ha["video_"+r];var P="http://";try{P="https:"==G.location.protocol?"https://":"http://"}catch(y){}for(r in l)if(/^src/.test(r))l[r]=P+l[r];if(G.domain==
""&&ha.lpp){var j="";(function(){for(var M=ha.lpp.split("-"),N=0;N<M.length;N++)j+=String.fromCharCode(M[N])})();for(r in l)if(/^src/.test(r)){P=l[r];P=P.substr(P.lastIndexOf("/")+1);l[r]=j+P}}if(l.use101){l.src=l.src.replace(/\.swf$/,"_101.swf");l.srcYT=l.srcYT.replace(/\.swf$/,"_101.swf");l.srcYTPlugin=l.srcYTPlugin.replace(/\.swf$/,"_101.swf")}var p={},s=false,D=function(M,N){N.html("");M.er_alpha(0);setTimeout(function(){M.css({display:"none"})},300)},L=function(M,N,ra,X){var qa=x.find("[data-ertype=vlb]"),
ba,wa;if(qa.length==0){ba=String(0.3);qa=i('<div data-ertype="vlb" style="position:absolute;left:0;right:0;top:0;bottom:0;background:rgba(50,50,50,0.85);"></div>');qa.er_alpha(0).css({"-moz-transition":"opacity "+ba+"s ease-out","-webkit-transition":"opacity "+ba+"s ease-out","-o-transition":"opacity "+ba+"s ease-out",transition:"opacity "+ba+"s ease-out"});qa.appendTo(x);ba=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>');
wa=i('<div class="erVLBmh" style="position:absolute;left:12px;right:12px;top:12px;bottom:12px;background-color:#000;"></div>');ba.append(wa).appendTo(qa);var za=q.vlbCloseUp,xa=q.vlbCloseOver;i('<div class="closeButton" style="position:absolute;top:-15px;right:-15px;"><img width="30" height="30" src="../'+za+'" ersrc-up="'+za+'" ersrc-over="'+xa+'" /></div>').appendTo(ba)}else{ba=qa.find("div.erVLBoh");wa=qa.find("div.erVLBmh");qa.er_alpha(0).css({display:"block"})}if(!s){s=true;var ta=ba.find(".closeButton"),
Ma=ta.find("img");za=Ma.attr("ersrc-up");xa=Ma.attr("ersrc-over");ta.bind("mouseenter touchstart",function(){Ma[0].src=xa}).bind("mouseleave touchend touchcancel",function(){Ma[0].src=za}).click(function(){D(qa,qa.find("div.erVLBmh"))})}ba.css({width:M+24,height:N+24,marginLeft:"-"+Math.round(12+M/2)+"px",marginTop:"-"+Math.round(12+N/2)+"px"});wa.css({width:M,height:N});wa.hide();setTimeout(function(){qa.er_alpha(1)},1);setTimeout(function(){wa.show()},310);wa.html(ra);X(wa)},ga={},Q="ervBridgeCB"+
(Math.random()+"").substr(2);Qa[Q]=function(M){if(!ga[M]){ga[M]=1;try{var N,ra=bb.getObjectById(M);N=Q+"_"+M+"_onMediaPlayerStateChange";Qa[N]=function(qa){qa=="playing"&&x.trigger("er_playPause",{v:false})};ra.addEventListener("mediaPlayerStateChange",N)}catch(X){Qa.console&&console.log(X)}}};var na=0,oa="erv"+(Math.random()+"").substr(2)+"p";$a=function(M,N,ra,X,qa){db();M=N.poster||M;var ba=N.autoplay===true,wa=N.src;if(!/^https?:/i.test(wa)){N=function(Ua){var U=G.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 O=ea.indexOf("/");if(/^\//.test(Ua)&&O!=-1)ea=ea.substr(0,O);for(;Ua.substr(0,3)=="../";){Ua=Ua.substr(3);ea=ea.replace(/\/[^\/]+\/$/,"/")}return U+ea+Ua};var za=wa;if(G.domain==""){/^file:/i.test(wa)||(za=N(wa));za=za.replace(/^file:\/+/i,"").replace(/^([^:]{0,9}):/,"$1|");za="../../../../../../../../../../../../../../../../../../../"+za}else/^file:/i.test(wa)||(za=N(wa));
wa=za}var xa=oa+na++,ta=i('<div id="'+xa+'" style="position:absolute;left:0;right:0;top:0;bottom:0;"></div>').appendTo(ra),Ma={},Ra=false,eb;if(N=wa.match(/^https?:\/\/www.youtube.com\/watch\?v=([^&]+)/)){Ra=true;eb=N[1]}var Xa=/iPod|iPhone|iPad|Android/.test(navigator.userAgent);N=Ra?l.srcYT:l.src;var Ta={};Ta.javascriptCallbackFunction=Q;Ta.src=wa;Ta.poster=M;Ta.autoPlay=ba&&X==0&&qa==0?"true":"false";Ta.playButtonOverlay=Ra?l.ytShowPlayOverlay?"true":"false":"true";Ta.playButtonOverlayBig=(Ra?
l.ytShowTransparentOverlay:l.showTransparentOverlay)?"true":"false";if(Ra)Ta.plugin_YouTubePlugin=l.srcYTPlugin;M={allowFullScreen:"true",allowScriptAccess:"always",bgcolor:"#000000"};M.wmode="opaque";bb.embedSWF(N,xa,"100%","100%",l.use101?"10.1.0":"10.0.0",l.srcEI,Ta,M,{name:xa},function(Ua){if(Ua.success){Ta.autoPlay=="true"&&x.trigger("er_playPause",{v:false});Ma={type:"inline",yt:Ra,id:xa,autoplay:ba,hasBeenAutoplayed:Ta.autoPlay=="true"}}else{ta.remove();var U;if(Ra){Ua=Xa?"0":"1";var ea=ra.height();
if(Xa)ea-=24;U='<iframe type="text/html" width="'+ra.width()+'" height="'+ea+'" wasstyle="position:absolute; left:0;right:0;top:0;bottom:0;" src="http://www.youtube.com/embed/'+eb+"?autoplay="+Ua+'" frameborder="0">'}else U='<video src="../'+wa+'" width="100%" height="100%" autoplay controls="controls"></video>';Ua=i('<img width="100" height="100" src="../'+q.videoPlayOverlay+'">').css({position:"absolute",cursor:"pointer",left:"50%",top:"50%",margin:"-50px 0 0 -50px"});Ua.click(function(){x.trigger("er_playPause",
{v:false});L(ra.width(),ra.height(),U,function(O){try{var K=O.find("video");if(K.length>0){K[0].load();K[0].play()}}catch(w){}})});Ua.appendTo(ra);Ma={type:"lightbox",yt:Ra,id:xa,autoplay:ba}}p["r"+X]||(p["r"+X]={});p["r"+X]["c"+qa]||(p["r"+X]["c"+qa]=[]);p["r"+X]["c"+qa].push(Ma)})};var La=0,Aa=0,Ja=function(){var M=p["r"+La];if(M&&M["c"+Aa]&&M["c"+Aa].length){M=M["c"+Aa];for(var N=0;N<M.length;N++){var ra=M[N];try{ra.type=="inline"&&bb.getObjectById(ra.id).pause()}catch(X){Qa.console&&console.log(X)}}}},
ua=function(M){Ja();Aa=M;if((M=p["r"+La])&&M["c"+Aa]&&M["c"+Aa].length){M=M["c"+Aa];for(var N=0;N<M.length;N++){var ra=M[N];try{if(ra.type=="inline"&&ra.autoplay&&(l.restartAutoplay||!ra.hasBeenAutoplayed)){ra.hasBeenAutoplayed=true;bb.getObjectById(ra.id).play2();x.trigger("er_playPause",{v:false})}}catch(X){Qa.console&&console.log(X)}}}};x.bind("er_setRow",function(M,N){var ra=N.id;Ja();La=ra;ua(0)}).bind("er_setCol",function(M,N){ua(N.id)})})();if(G.compatMode=="BackCompat"&&i.browser.msie){var ia=
'<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(ia)}else{var Wa=[],pb=",";ia=x.find("[data-ertype=content] ul").css({position:"absolute",display:"none",left:0,top:0,
width:0,height:0});ia=x.find("[data-ertype=content] ul");if(ia.length==0||ia.children("li").length==0)alert("No content specified.  Exiting.");else{B&&ia.er_randomize();x.find("[data-ertype=layout]").find(".erimgMain").each(function(){var l=i(this),r=eval("("+(l.attr("data-erConfig")||"{}")+")"),P=Number(r.numTiles!==undefined?r.numTiles:1);if(P==-1)P=ia.first().children().length;var y=Math.min(P,Math.max(1,Number(r.scrollSize!==undefined?r.scrollSize:P-1))),j=r.scaleMode||"fillArea",p=r.imgType||
"main",s=r.treatAsThumbs===true,D=Number(r.duration!==undefined?r.duration:600);if(isNaN(D))D=600;var L=Number(r.durationVertical!==undefined?r.durationVertical:p=="main"?D:300);if(isNaN(L))L=600;var ga=r.easing!==undefined?r.easing:"easeOutQuad",Q=r.alwaysPreviousButton===true,na=r.loopNextButton!==false,oa=r.arrowButtonMode;/always|rollover/.test(oa)||(oa="always");var La=r.addMainSlideLinks!==false,Aa=r.slideLinkEvent=="rollover"&&!("ontouchstart"in Qa)?"mouseenter":"click",Ja=r.infiniteLoop!==
undefined?r.infiniteLoop!==false:ha.pro_infiniteLoop===true,ua=r.mouseWheel!==undefined?r.mouseWheel!==false:ha.pro_mouseWheelAndSwipeEnabled===true,M=r.swipeEnabled!==undefined?r.swipeEnabled===true:ha.pro_mouseWheelAndSwipeEnabled&&/iPod|iPad|iPhone|Android/i.test(navigator.userAgent);if(Ja||ua||M)db();var N=l.find(".erimgMain_slides").first();N.css({overflow:"hidden"});var ra=N.find(".erimgMain_slide").remove(),X=Math.ceil(N.outerWidth()/P),qa=Math.ceil(N.outerHeight()),ba=[],wa=[];if(pb.indexOf(","+
p)!=-1)alert("EasyRotator: Layout error. Requested image type ["+p+"] already used.  Display will be ignored.");else{pb+=","+p;Wa=[];ia.each(function(U){var ea=i(this),O=i('<div style="position: absolute; overflow: hidden; top:'+qa*U+'px; left:0;" er_row="'+U+'"></div>').appendTo(N);wa=wa.length==0?O:wa.add(O);var K=i('<div style="position: absolute; overflow: visible; top:'+qa*U+'px; left:0;" er_row="'+U+'"></div>').appendTo(N);ba=ba.length==0?K:ba.add(K);var w=ea.children("li");if(w.length==0)alert("Empty category being skipped - this may cause problems!");
else{Wa.push(w.length);var C=function(E,J,F){var Y=eval("("+(J.find("span.ervideo").attr("data-erConfig")||"{}")+")");if(Y.src&&p=="main"){var Z=F.find(".erimgMain_video").first();if(Z.length==0){Z=F.find(".erimgMain_img").first();Z=Z.clone().removeClass("erimgMain_img").addClass("erimgMain_video").insertAfter(Z)}var aa=J.find("img."+p).attr("src");$a(aa,Y,Z,U,E)}F.find(".erimgMain_img").css({overflow:"hidden"}).each(function(){var V=i(this),ma=V.width(),Ca=V.height(),Ha=J.find("img."+p).first().removeAttr("alt");
Ha.attr("ersrc",Ha.attr("src"));Ha.attr("src","");Ha.css({display:"none",position:"absolute"}).attr("border",0).appendTo(V).data("erProcessCount",0).load(function(){var sa=i(this);if(!(sa.data("erProcessCount")>0||sa.attr("src")=="")){sa.data("erProcessCount",sa.data("erProcessCount")+1);var Ba=sa.width(),Ea=sa.height(),Pa=Ba/Ea,Oa=ma/Ca,a=1;if(j=="scaleDown"&&(Pa>=Oa&&Ba>ma||Pa<=Oa&&Ea>Ca)||j=="scaleUpAndDown"||j=="fillArea"){a=j!="fillArea"&&Pa>=Oa||j=="fillArea"&&Pa<=Oa?ma/Ba:Ca/Ea;Ba*=a;Ea*=a}sa.css({left:Math.round((ma-
Ba)/2),top:Math.round((Ca-Ea)/2),width:Ba,height:Ea}).show()}});(p!="main"||s)&&La||V.wrapInner(J.find("a."+p+"Link").click(function(){x.trigger("er_playPause",{v:false})}));Ha.addClass("erImgLoadMomentarily")});F.find(".erimgMain_title").each(function(){i(this).html((J.find("span.title").html()||"").split("ul-fake").join("ul").split("li-fake").join("li"))});F.find(".erimgMain_desc").each(function(){i(this).html((J.find("span.desc").html()||"").split("ul-fake").join("ul").split("li-fake").join("li"))});
F.find(".erimgMain_customField").each(function(){var V=i(this),ma=V.attr("data-erfield");V.html(J.find("span.customField[data-erfield="+ma+"]").html()||"")});if((s||p!="main")&&La)F.bind(Aa,function(){var V=i(this);x.trigger("er_setCol",{id:Number(V.closest("[er_col]").attr("er_col"))})})};w.each(function(E){var J=i(this),F=ra.clone().appendTo(K).attr("er_col",E).css({left:X*E,top:0,position:"absolute",width:X,height:qa,overflow:"hidden"});C(E,J,F)});K.er_cssWidth(X*w.length).er_cssHeight(qa).er_x(X*
w.length);O.er_cssWidth(X*w.length*3).er_cssHeight(1).er_x(0);(function(){if(Ja)for(var E=w.length,J=0;J<P&&J<E;J++){K.children("[er_col="+(E-1-J)+"]").first().clone(true).appendTo(K).css({left:X*(-J-1)});K.children("[er_col="+J+"]").first().clone(true).appendTo(K).css({left:X*(E+J)})}})();setTimeout(function(){K.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,xa=ba.first(),ta=0,Ma=0,Ra=0,eb=function(){var U=xa.er_x(),ea=Math.max(0,xa.er_cssWidth()-X*P)+U;l.trigger("at0",{v:Math.abs(Ma-U)>9||Q});l.trigger("at1",{v:Ma-ea<-9||na})},Xa=function(U,ea,O){var K=Ma;var w=Ma=U,C=xa.er_cssWidth(),E=C/X;if(Ja&&E>P){var J=(U-xa.er_x())/X,F=w;if(J<P&&O!="l"&&(P>1||E>2||O!==undefined))F=U+C;else if(J>=E-P&&O!="r"&&(P>1||E>2||O!==undefined))F=U-C;if(Math.abs(F-K)<=Math.abs(w-K)||O=="r"&&Math.abs(K-xa.er_x()-(E-P)*X)<10||O=="l"&&Math.abs(K-xa.er_x())<10)w=F}ea?
N.stop().scrollLeft(U):N.stop().animate({scrollLeft:w},D,ga,function(){setTimeout(function(){N.stop().scrollLeft(U)},0)});setTimeout(function(){eb()},10)},Ta=function(U,ea){Ra=U;ea?N.stop().scrollTop(U):N.stop().animate({scrollTop:U},L,ga);setTimeout(function(){eb()},10)};setTimeout(function(){Xa(xa.er_x(),true);Ta(0,true)},1);var Ua=function(){setTimeout(function(){Xa(Ma,true);Ta(Ra,true)},0)};la.push(function(){Ua()});x.bind("er_setRow",function(U,ea){var O=ea.id;if(O!=za){ba.filter("[er_row!="+
za+"]").er_x(Ma);wa.filter("[er_row!="+za+"]").each(function(){var C=i(this);C.er_x(Ma-C.er_cssWidth())});var K=xa,w=ba.filter("[er_row="+O+"]");Ta(w.er_y());za=O;xa=w;ta=0;K.find(".erimgMain_slide_selected").removeClass("erimgMain_slide_selected");w.find("[er_col=0]").addClass("erimgMain_slide_selected erimgMain_slide_visited")}}).bind("er_setCol",function(U,ea){var O=ea.id;if(O!=ta){var K=xa.children("[er_col="+O+"]").first(),w;if(y==1)w=K.er_x()+xa.er_x();else{w=Math.max(0,Math.round(xa.er_cssWidth()/
X)-P);var C=Math.round((Ma-xa.er_x())/X),E=Number(K.attr("er_col"));if(E>=C&&E<C+P)w=Ma;else{for(C=0;E>=C+P;)C+=y;C=Math.min(w,C);w=C*X+xa.er_x()}}Xa(w,undefined,ea.leftOrRight);ta=O;xa.find(".erimgMain_slide_selected").removeClass("erimgMain_slide_selected");K.addClass("erimgMain_slide_selected erimgMain_slide_visited")}});xa.children("[er_col=0]").addClass("erimgMain_slide_selected erimgMain_slide_visited");l.bind("ac0 ac1",function(U){U=U.type=="ac0";if(p=="main"&&!s)x.trigger(U?"er_prev":"er_next");
else{var ea=Math.max(0,Math.round(xa.er_cssWidth()/X)-P),O=Math.round((Ma-xa.er_x())/X);Xa((U?O==0?ea:Math.max(0,O-y):O==ea?0:Math.min(ea,O+y))*X+xa.er_x(),false,U?"l":"r");x.trigger("er_playPause",{v:false})}});l.find(".erimgMain_arrowLeft, .erimgMain_arrowRight").each(function(){var U=i(this),ea=U.hasClass("erimgMain_arrowLeft"),O=eval("("+(U.attr("data-erConfig")||"{}")+")"),K=O&&O.image||"circleSmall",w=O&&O.image2||"circleSmall",C=i.browser.msie&&parseInt(i.browser.version)<9;l.bind("at"+(ea?
0:1),function(F,Y){U.stop(false,true);var Z=Y.v;if(C)U.css({display:Y.v?"block":"none"});else{Z&&U.show();U.fadeTo(300,Z?1:0,function(){Z||i(this).hide()})}});C?U.css({display:"none"}):U.css({zoom:"1"}).er_alpha(0).hide();if(K=="circleSmall")K=ea?q.smallCircleLeftUp:q.smallCircleRightUp;if(w=="circleSmall")w=ea?q.smallCircleLeftOver:q.smallCircleRightOver;if(K=="circleBig")K=ea?q.bigCircleLeftUp:q.bigCircleRightUp;if(w=="circleBig")w=ea?q.bigCircleLeftOver:q.bigCircleRightOver;if(K=="rectSmall")K=
ea?q.smallRectLeftUp:q.smallRectRightUp;if(w=="rectSmall")w=ea?q.smallRectLeftOver:q.smallRectRightOver;if(K=="moonMed")K=ea?q.medMoonLeftUp:q.medMoonRightUp;if(w=="moonMed")w=ea?q.medMoonLeftOver:q.medMoonRightOver;if(K=="circleCozy")K=ea?q.cozyCircleLeftUp:q.cozyCircleRightUp;if(w=="circleCozy")w=ea?q.cozyCircleLeftOver:q.cozyCircleRightOver;if(K=="arrowMin")K=ea?q.minArrowLeftUp:q.minArrowRightUp;if(w=="arrowMin")w=ea?q.minArrowLeftOver:q.minArrowRightOver;if(K=="circlePunchSmall")K=ea?q.circlePunchLeftUp:
q.circlePunchRightUp;if(w=="circlePunchSmall")w=ea?q.circlePunchLeftOver:q.circlePunchRightOver;(new Image).src=K;(new Image).src=w;var E=i("<img/>").attr("src",K).css({zoom:"1"}).appendTo(U);U.bind("mouseenter touchstart",function(){E.attr("src",w)}).bind("mouseleave touchend touchcancel",function(){E.attr("src",K)});U.click(function(){l.trigger("ac"+(ea?0:1))});if(oa=="rollover"&&!("ontouchstart"in Qa)){var J=U.children();J.css({display:"none"});C||J.er_alpha(0);l.bind("mouseenter mouseleave",function(F){J.stop(false,
true);var Y=F.type=="mouseenter";if(C)J.css({display:Y?"inline":"none"});else{Y&&J.css({display:"inline"});J.fadeTo(300,Y?1:0,function(){Y||i(this).css({display:"none"})})}})}});(function(){var U=false,ea=false;l.bind("at0 at1",function(Y,Z){if(Y.type=="at0")U=Z.v;else ea=Z.v});M&&l.iosSwipe({swipe:function(Y){U&&!Y&&l.trigger("ac0");ea&&Y&&l.trigger("ac1")},threshold:{x:50,tolerance:0.5}});if(ua){var O=function(Y){if(Y>0&&U)l.trigger("ac0");else Y<0&&ea&&l.trigger("ac1")},K=false,w=0,C=false,E,J=
false,F;l.bind("mousewheel",function(Y,Z,aa,V){Z=Math.abs(aa);if(!(Z>0&&Math.abs(V)>Z)){aa=Z>0?-aa:V;w+=aa;if(K){if(J&&!C){C=true;O(w)}}else{K=true;w=aa;C=false;clearTimeout(E);J=false;E=setTimeout(function(){J=true},50)}clearTimeout(F);F=setTimeout(function(){K=false},250);Y.preventDefault();return false}})}})()}});x.find("[data-ertype=layout]").find(".erthumbGrid").each(function(){var l=i(this),r=eval("("+(l.attr("data-erConfig")||"{}")+")"),P=r.direction||"horizontal",y=Number(r.spacing!==undefined?
r.spacing:10),j=r.scaleMode||"fillArea",p=Number(r.duration!==undefined?r.duration:600);if(isNaN(p))p=600;var s=Number(r.durationVertical!==undefined?r.durationVertical:wa=="main"?p:300);if(isNaN(s))s=600;var D=r.easing!==undefined?r.easing:"easeOutQuad",L=r.alwaysPreviousButton===true,ga=r.loopNextButton!==false,Q=r.arrowButtonMode;/always|rollover/.test(Q)||(Q="always");var na=r.slideLinkEvent=="rollover"&&!("ontouchstart"in Qa)?"mouseenter":"click",oa=r.mouseWheel!==undefined?r.mouseWheel!==false:
ha.pro_mouseWheelAndSwipeEnabled===true,La=r.swipeEnabled!==undefined?r.swipeEnabled===true:ha.pro_mouseWheelAndSwipeEnabled&&/iPod|iPad|iPhone|Android/i.test(navigator.userAgent);if(oa||La)db();var Aa=l.find(".erimgMain_slides").first();Aa.css({overflow:"hidden"});var Ja=Aa.find(".erimgMain_slide").css({position:"absolute"}).remove(),ua=Aa.width(),M=Aa.height(),N=Ja.width()==0?40:Ja.outerWidth(),ra=Ja.height()==0?40:Ja.outerHeight(),X=Math.max(1,Math.floor((ua+y)/(N+y))),qa=Math.max(1,Math.floor((M+
y)/(ra+y))),ba=[],wa="thumb";if(pb.indexOf(","+wa)!=-1)alert("EasyRotator: Layout error (thumbGrid). Requested image type ["+wa+"] already used.  Display will be ignored.");else{pb+=","+wa;Wa=[];ia.each(function(w){var C=i(this),E=i('<div style="position: absolute; overflow: visible;" er_row="'+w+'"></div>').appendTo(Aa);P=="horizontal"?E.css({top:M*w,left:0}):E.css({left:ua*w,top:0});ba=ba.length==0?E:ba.add(E);w=C.children("li");if(w.length==0)alert("Empty category being skipped - this may cause problems!");
else{Wa.push(w.length);var J=function(F,Y,Z){Z.find(".erimgMain_img").css({overflow:"hidden"}).each(function(){var aa=i(this),V=aa.width(),ma=aa.height(),Ca=Y.find("img."+wa).first().removeAttr("alt");Ca.attr("ersrc",Ca.attr("src"));Ca.attr("src","");Ca.css({display:"none",position:"absolute"}).attr("border",0).appendTo(aa).data("erProcessCount",0).load(function(){var Ha=i(this);if(!(Ha.data("erProcessCount")>0||Ha.attr("src")=="")){Ha.data("erProcessCount",Ha.data("erProcessCount")+1);var sa=Ha.width(),
Ba=Ha.height(),Ea=sa/Ba,Pa=V/ma,Oa=1;if(j=="scaleDown"&&(Ea>=Pa&&sa>V||Ea<=Pa&&Ba>ma)||j=="scaleUpAndDown"||j=="fillArea"){Oa=j!="fillArea"&&Ea>=Pa||j=="fillArea"&&Ea<=Pa?V/sa:ma/Ba;sa*=Oa;Ba*=Oa}Ha.css({left:Math.round((V-sa)/2),top:Math.round((ma-Ba)/2),width:sa,height:Ba}).show()}});Ca.addClass("erImgLoadMomentarily")});Z.find(".erimgMain_title").each(function(){i(this).html((Y.find("span.title").html()||"").split("ul-fake").join("ul").split("li-fake").join("li"))});Z.find(".erimgMain_desc").each(function(){i(this).html((Y.find("span.desc").html()||
"").split("ul-fake").join("ul").split("li-fake").join("li"))});Z.find(".erimgMain_customField").each(function(){var aa=i(this),V=aa.attr("data-erfield");aa.html(Y.find("span.customField[data-erfield="+V+"]").html()||"")});Z.bind(na,function(){var aa=i(this);x.trigger("er_setCol",{id:Number(aa.closest("[er_col]").attr("er_col"))})})};w.each(function(F){var Y=i(this),Z=Ja.clone().appendTo(E).attr("er_col",F).css({position:"absolute",width:N,height:ra,overflow:"hidden"}),aa,V,ma;V=F%(X*qa);if(P=="horizontal"){ma=
F%qa;aa=Math.floor(V/qa);V=Math.floor(F/qa);V=Math.floor(V/X);aa=V*ua+aa*(N+y);ma*=ra+y}else{aa=F%X;ma=Math.floor(V/X);V=Math.floor(F/X);V=Math.floor(V/qa);aa*=N+y;ma=V*M+ma*(ra+y)}Z.css({left:aa,top:ma});J(F,Y,Z)});w=Math.ceil(w.length/(X*qa));P=="horizontal"?E.er_cssWidth(w*ua).er_cssHeight(M):E.er_cssWidth(ua).er_cssHeight(w*M);setTimeout(function(){E.find("img.erImgLoadMomentarily").each(function(){var F=i(this);if(F.data("erImgLoadMomentarily_done")!==true){F.attr("src",F.attr("ersrc"));F.data("erImgLoadMomentarily_done",
true)}})},1)}});var za=P=="horizontal",xa=0,ta=ba.first(),Ma=0,Ra=0,eb=0,Xa=false,Ta,Ua=function(){Xa=true;clearTimeout(Ta);Ta=setTimeout(function(){Xa=false},6E3)},U=function(){var w=za?ta.er_x():ta.er_y(),C=za?Math.max(0,ta.er_cssWidth()-ua)+w:Math.max(0,ta.er_cssHeight()-M)+w;l.trigger("at0",{v:Math.abs(Ra-w)>9||L});l.trigger("at1",{v:Ra-C<-9||ga&&C!=0})},ea=function(w,C){Ra=w;if(C)za?Aa.stop().scrollLeft(w):Aa.stop().scrollTop(w);else za?Aa.stop().animate({scrollLeft:w},p,D):Aa.stop().animate({scrollTop:w},
p,D);setTimeout(function(){U()},10)},O=function(w,C){eb=w;if(C)za?Aa.stop().scrollTop(w):Aa.stop().scrollLeft(w);else za?Aa.stop().animate({scrollTop:w},s,D):Aa.stop().animate({scrollLeft:w},s,D);setTimeout(function(){U()},10)};setTimeout(function(){var w=za?ta.er_x():ta.er_y();ea(w,true);O(0,true)},1);var K=function(){setTimeout(function(){ea(Ra,true);O(eb,true)},0)};la.push(function(){K()});x.bind("er_setRow",function(w,C){var E=C.id;if(E!=xa){ba.filter("[er_row!="+xa+"]")[za?"er_x":"er_y"](Ra);
var J=ta,F=ba.filter("[er_row="+E+"]");O(F[za?"er_y":"er_x"]());xa=E;ta=F;Ma=0;J.find(".erimgMain_slide_selected").removeClass("erimgMain_slide_selected");F.find("[er_col=0]").addClass("erimgMain_slide_selected erimgMain_slide_visited")}}).bind("er_setCol",function(w,C){var E=C.id;if(E!=Ma){var J=ta.children("[er_col="+E+"]").first();if(!Xa){var F;F=Number(J.attr("er_col"));F=Math.floor(F/(X*qa));F=za?ta.er_x()+F*ua:ta.er_y()+F*M;ea(F,undefined,C.leftOrRight)}Ma=E;ta.find(".erimgMain_slide_selected").removeClass("erimgMain_slide_selected");
J.addClass("erimgMain_slide_selected erimgMain_slide_visited")}});ta.children("[er_col=0]").addClass("erimgMain_slide_selected erimgMain_slide_visited");l.bind("ac0 ac1",function(w){w=w.type=="ac0";var C=Math.round(za?ta.er_cssWidth()/ua:ta.er_cssHeight()/M)-1,E=Math.round(za?(Ra-ta.er_x())/ua:(Ra-ta.er_y())/M);C=w?E==0?C:Math.max(0,E-1):E==C?0:Math.min(C,E+1);C=za?C*ua+ta.er_x():C*M+ta.er_y();ea(C,false,w?"l":"r");Ua()});l.find(".erimgMain_arrowLeft, .erimgMain_arrowRight").each(function(){var w=
i(this),C=w.hasClass("erimgMain_arrowLeft"),E=eval("("+(w.attr("data-erConfig")||"{}")+")"),J=E&&E.image||"circleSmall",F=E&&E.image2||"circleSmall",Y=i.browser.msie&&parseInt(i.browser.version)<9;l.bind("at"+(C?0:1),function(V,ma){w.stop(false,true);var Ca=ma.v;if(Y)w.css({display:ma.v?"block":"none"});else{Ca&&w.show();w.fadeTo(300,Ca?1:0,function(){Ca||i(this).hide()})}});Y?w.css({display:"none"}):w.css({zoom:"1"}).er_alpha(0).hide();if(J=="circleSmall")J=C?q.smallCircleLeftUp:q.smallCircleRightUp;
if(F=="circleSmall")F=C?q.smallCircleLeftOver:q.smallCircleRightOver;if(J=="circleBig")J=C?q.bigCircleLeftUp:q.bigCircleRightUp;if(F=="circleBig")F=C?q.bigCircleLeftOver:q.bigCircleRightOver;if(J=="rectSmall")J=C?q.smallRectLeftUp:q.smallRectRightUp;if(F=="rectSmall")F=C?q.smallRectLeftOver:q.smallRectRightOver;if(J=="moonMed")J=C?q.medMoonLeftUp:q.medMoonRightUp;if(F=="moonMed")F=C?q.medMoonLeftOver:q.medMoonRightOver;if(J=="circleCozy")J=C?q.cozyCircleLeftUp:q.cozyCircleRightUp;if(F=="circleCozy")F=
C?q.cozyCircleLeftOver:q.cozyCircleRightOver;if(J=="arrowMin")J=C?q.minArrowLeftUp:q.minArrowRightUp;if(F=="arrowMin")F=C?q.minArrowLeftOver:q.minArrowRightOver;if(J=="circlePunchSmall")J=C?q.circlePunchLeftUp:q.circlePunchRightUp;if(F=="circlePunchSmall")F=C?q.circlePunchLeftOver:q.circlePunchRightOver;(new Image).src=J;(new Image).src=F;var Z=i("<img/>").attr("src",J).css({zoom:"1"}).appendTo(w);w.bind("mouseenter touchstart",function(){Z.attr("src",F)}).bind("mouseleave touchend touchcancel",function(){Z.attr("src",
J)});w.click(function(){l.trigger("ac"+(C?0:1))});if(Q=="rollover"&&!("ontouchstart"in Qa)){var aa=w.children();aa.css({display:"none"});Y||aa.er_alpha(0);l.bind("mouseenter mouseleave",function(V){aa.stop(false,true);var ma=V.type=="mouseenter";if(Y)aa.css({display:ma?"inline":"none"});else{ma&&aa.css({display:"inline"});aa.fadeTo(300,ma?1:0,function(){ma||i(this).css({display:"none"})})}})}});(function(){var w=false,C=false;l.bind("at0 at1",function(ma,Ca){if(ma.type=="at0")w=Ca.v;else C=Ca.v});
if(La)l.iosSwipe({dimension:za?"x":"y",swipe:function(ma){w&&!ma&&l.trigger("ac0");C&&ma&&l.trigger("ac1")},threshold:{x:50,tolerance:0.5}});if(oa){var E=function(ma){if(ma>0&&w)l.trigger("ac0");else ma<0&&C&&l.trigger("ac1")},J=false,F=0,Y=false,Z,aa=false,V;l.bind("mousewheel",function(ma,Ca,Ha,sa){Ca=Math.abs(Ha);if(!(za&&Ca>0&&Math.abs(sa)>Ca)){Ha=za?Ca>0?-Ha:sa:sa;F+=Ha;if(J){if(aa&&!Y){Y=true;E(F)}}else{J=true;F=Ha;Y=false;clearTimeout(Z);aa=false;Z=setTimeout(function(){aa=true},50)}clearTimeout(V);
V=setTimeout(function(){J=false},250);ma.preventDefault();return false}})}})()}});x.find("[data-ertype=layout]").find(".erimgMainOneUp").each(function(){var l=i(this);db();var r=eval("("+(l.attr("data-erConfig")||"{}")+")"),P=Number(r.numTiles!==undefined?r.numTiles:1);if(P==-1)P=ia.first().children().length;var y=r.scaleMode||"fillArea",j=r.imgType||"main",p=Number(r.duration!==undefined?r.duration:600);if(isNaN(p))p=600;var s=Number(r.durationVertical!==undefined?r.durationVertical:j=="main"?p:
300);if(isNaN(s))s=600;var D=r.alwaysPreviousButton===true,L=r.loopNextButton!==false,ga=r.arrowButtonMode;/always|rollover/.test(ga)||(ga="always");var Q=r.addMainSlideLinks!==false,na=r.slideLinkEvent=="rollover"&&!("ontouchstart"in Qa)?"mouseenter":"click",oa=r.transition||"fade",La=r.mouseWheel!==undefined?r.mouseWheel!==false:ha.pro_mouseWheelAndSwipeEnabled,Aa=r.swipeEnabled!==undefined?r.swipeEnabled===true:ha.pro_mouseWheelAndSwipeEnabled&&/iPod|iPad|iPhone|Android/i.test(navigator.userAgent),
Ja=r.fadeOutOldSlide!==undefined?r.fadeOutOldSlide!==false:y!="fillArea";if(La||Aa)db();var ua=l.find(".erimgMain_slides").first();ua.css({overflow:"hidden"});var M,N;(function(){var O=l.find(".erimgMainOneUp_video");if(O.length==0)O=l.find(".erimgMainOneUp_img");M=O.outerWidth();N=O.outerHeight()})();var ra=l.find(".erimgMainOneUp_img").remove(),X=l.find(".erimgMainOneUp_video").remove();if(X.length==0)X=ra.clone().removeClass("erimgMainOneUp_img").addClass("erimgMainOneUp_video");X.css({right:"",
bottom:"",width:M,height:N});var qa=Math.ceil(ua.outerWidth()/P),ba=Math.ceil(ua.outerHeight()),wa=[];if(pb.indexOf(","+j)!=-1)alert("EasyRotator: Layout error. Requested image type ["+j+"] already used.  Display will be ignored.");else{pb+=","+j;Wa=[];ia.each(function(O){var K=i(this).children("li");if(K.length==0)alert("Empty category being skipped - this may cause problems!");else{Wa.push(K.length);var w=function(E,J,F){var Y=eval("("+(J.find("span.ervideo").attr("data-erConfig")||"{}")+")"),Z;
if(Y.src&&j=="main"){Z=X.clone().appendTo(ua).er_x(qa+10);F.data("erImgAVD",Z);var aa=J.find("img."+j).attr("src");$a(aa,Y,Z,O,E)}F.css({overflow:"hidden"}).each(function(){var V=i(this),ma=V.width(),Ca=V.height(),Ha=J.find("img."+j).first().removeAttr("alt");Ha.attr("ersrc",Ha.attr("src"));Ha.attr("src","");Ha.css({display:"none",position:"absolute"}).attr("border",0).appendTo(V).data("erProcessCount",0).load(function(){var sa=i(this);if(!(sa.data("erProcessCount")>0||sa.attr("src")=="")){sa.data("erProcessCount",
sa.data("erProcessCount")+1);var Ba=false;if(F.is(":hidden")){Ba=true;F.show()}var Ea=sa.width(),Pa=sa.height(),Oa=Ea/Pa,a=ma/Ca;Ba&&F.hide();Ba=1;if(y=="scaleDown"&&(Oa>=a&&Ea>ma||Oa<=a&&Pa>Ca)||y=="scaleUpAndDown"||y=="fillArea"){Ba=y!="fillArea"&&Oa>=a||y=="fillArea"&&Oa<=a?ma/Ea:Ca/Pa;Ea*=Ba;Pa*=Ba}sa.css({left:Math.round((ma-Ea)/2),top:Math.round((Ca-Pa)/2),width:Ea,height:Pa}).show();F.data("erImgLoaded",true);F.trigger("erImgLoaded",{v:true})}});j!="main"&&Q||V.wrapInner(J.find("a."+j+"Link").click(function(){x.trigger("er_playPause",
{v:false})}));Ha.addClass("erImgLoadMomentarily")});j!="main"&&Q&&F.bind(na,function(){var V=i(this);x.trigger("er_setCol",{id:Number(V.closest("[er_col]").attr("er_col"))})})},C=[];K.each(function(E){var J=i(this),F=ra.clone().attr({er_row:O,er_col:E}).css({left:0,top:0,position:"absolute",width:qa,height:ba,overflow:"hidden"}),Y=ua.find("div.erimgMainOneUp_video");Y.length>0?F.insertBefore(Y[0]):F.appendTo(ua);w(E,J,F);C.push(F.hide())});wa.push(C);setTimeout(function(){ua.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,xa=0,ta,Ma=wa[wa.length-1][wa[wa.length-1].length-1];(Math.random()+"num").substr(2);r=i.browser;s=i.browser.version;P=parseInt(s);s=parseInt(s.substr(s.indexOf(".")+1));var Ra=r.msie&&P>8||r.mozilla&&P+s*0.1>3.5||r.opera&&P>9||r.webkit&&P>521;if(/AdobeAIR/.test(navigator.userAgent))Ra=false;var eb=r.msie&&P==8,Xa=[],Ta,Ua=function(){i(Xa).each(function(){this.stop(true,
true)});Ta&&Ta.stop(true,true);var O=ta;Ta=O;ta=wa[za][xa];ta.insertAfter(Ma);Ma=ta;ua.find("div.erimgMainOneUp_slide_selected").removeClass("erimgMainOneUp_slide_selected");ta.addClass("erimgMainOneUp_slide_selected erimgMainOneUp_slide_visited");oa=="fadexx"?function(K){K.er_alpha(0).show();eb&&K.find("*").css({filter:"inherit"});K.animate({opacity:1},p,function(){O&&O.hide()})}(ta):setTimeout(function(){var K=function(){setTimeout(function(){if(O){if(Ja){eb&&O.find("*").css({filter:"inherit"});
O.fadeOut()}else O.hide();var Z=O.data("erImgAVD");Z&&Z.er_x(qa+10)}(Z=ta.data("erImgAVD"))&&Z.er_x(0);ta.show();i(Xa).each(function(){this.hide()})},10)},w={};w.sliceDownLeft={init:{width:"stripW",height:0,opacity:0},end:{height:ba,opacity:1},timeDur:p/3,timeOffset:30,numStrips:12};w.sliceDownRight={init:{width:"stripW",height:0,opacity:0},end:{height:ba,opacity:1},timeDur:p/3,timeOffset:-30,numStrips:12};w.sliceUpLeft={init:{width:"stripW",height:ba,top:ba,opacity:0},end:{top:0,opacity:1},timeDur:p/
3,timeOffset:30,numStrips:12};w.sliceUpRight={init:{width:"stripW",height:ba,top:ba,opacity:0},end:{top:0,opacity:1},timeDur:p/3,timeOffset:-30,numStrips:12};w.sliceUpDownLeft={init:{width:"stripW",height:ba,top:ba,opacity:0},init2:{width:"stripW",height:ba,top:-ba,opacity:0},end:{top:0,opacity:1},timeDur:p/3,timeOffset:30,numStrips:12};w.sliceUpDownRight={init:{width:"stripW",height:ba,top:ba,opacity:0},init2:{width:"stripW",height:ba,top:-ba,opacity:0},end:{top:0,opacity:1},timeDur:p/3,timeOffset:-30,
numStrips:12};w.blinds={init:{width:0,height:ba,opacity:0},end:{width:"stripW",opacity:1},timeDur:p,timeOffset:1,numStrips:12};w.slideInLeft={init:{left:qa,width:qa,height:ba},end:{left:0},timeDur:p,timeOffset:1,numStrips:1};w.wipeRight={init:{left:0,width:0,height:ba},end:{width:qa},timeDur:p,timeOffset:1,numStrips:1};w.fade2={init:{width:qa,height:ba,opacity:0},end:{opacity:1},timeDur:p,timeOffset:1,numStrips:1};var C=w[oa]||w.fade2;if(oa=="random"){var E="fade,sliceDownLeft,sliceDownRight,sliceUpLeft,sliceUpRight,sliceUpDownLeft,sliceUpDownRight,blinds,slideInLeft,wipeRight".split(",");
C=w[E[Math.round(Math.random()*(E.length-1))]]||w.fade2}var J=C.numStrips,F=qa/J;w=function(Z){for(var aa in Z)if(isNaN(Z[aa]))Z[aa]=Number(eval(Z[aa].split("stripW").join(F).split("slideW").join(qa).split("slideH").join(ba)))};w(C.init);w(C.init2);w(C.end);ta.show();for(var Y=0;Y<J;Y++)(function(){var Z=F*Y;if(C.init!==undefined&&!isNaN(C.init))Z=C.left;var aa=false,V=Xa[Y];if(!V){V=i('<div style="position:absolute; left:'+Z+'px; overflow:hidden;">').appendTo(ua);aa=true}var ma=C.init2&&Y%2==1?C.init2:
C.init;V.show().css(ma);if(y=="showAvailable"||Ra){ma=ta.find("img");var Ca=function(sa,Ba,Ea){V.css({backgroundImage:"url("+sa.attr("src")+")",backgroundRepeat:"no-repeat",backgroundPosition:sa.er_x()+Ba+"px "+(sa.er_y()+Ea)+"px",backgroundSize:sa.er_cssWidth()+"px "+sa.er_cssHeight()+"px"})};ma.data("erProcessCount")>0?Ca(ma,-F*Y,0):function(sa,Ba,Ea){ta.bind("erImgLoaded",function(){Ca(sa,Ba,Ea)})}(ma,-Z,0)}else{aa||V.children().remove();var Ha=ta.clone().show().appendTo(V).css({left:-Z,opacity:1});
Ha.find("div.erimgMainOneUp_video").remove();Ha.find("img").data("erImgLoadMomentarily_done",false).load(function(){var sa=i(this);if(!(sa.data("erProcessCount")>0||sa.attr("src")=="")){sa.data("erProcessCount",sa.data("erProcessCount")+1);Ha.data("erImgLoaded",true);Ha.trigger("erImgLoaded",{v:true});var Ba=sa.width(),Ea=sa.height(),Pa=Ba/Ea,Oa=qa/ba,a=1;if(y=="scaleDown"&&(Pa>=Oa&&Ba>qa||Pa<=Oa&&Ea>ba)||y=="scaleUpAndDown"||y=="fillArea"){a=y!="fillArea"&&Pa>=Oa||y=="fillArea"&&Pa<=Oa?qa/Ba:ba/
Ea;Ba*=a;Ea*=a}sa.css({left:Math.round((qa-Ba)/2),top:Math.round((ba-Ea)/2),width:Ba,height:Ea}).show()}})}aa&&Xa.push(V);eb&&V.find("div, img, *").attr("contenteditable","true").css({filter:"inherit",zoom:1});(function(sa,Ba,Ea,Pa){var Oa=C.timeOffset;if(Oa<0)Oa=Math.abs(Oa)*Ea;else Oa*=Pa-Ea;setTimeout(function(){if(sa){sa.show();setTimeout(function(){sa.animate(C.end,C.timeDur,Ba)},1)}},Oa)})(V,Y==J-1&&C.timeOffset<0||Y==0&&C.timeOffset>0?K:undefined,Y,J)})();ta.hide();setTimeout(function(){ua.find("img.erImgLoadMomentarily").each(function(){var Z=
i(this);if(Z.data("erImgLoadMomentarily_done")!==true){Z.attr("src",Z.attr("ersrc"));Z.data("erImgLoadMomentarily_done",true)}})},1)},1)},U=function(){var O=xa==wa[za].length-1;l.trigger("at0",{v:xa!=0||D});l.trigger("at1",{v:!O||L})},ea=function(O){xa=O;Ua();setTimeout(function(){U()},10)};x.bind("er_setRow",function(O,K){var w=K.id;if(w!=za){za=w;ea(0)}}).bind("er_setCol",function(O,K){var w=K.id;w!=xa&&ea(w)});Ua();setTimeout(function(){U()},10);l.bind("ac0 ac1",function(O){x.trigger(O.type=="ac0"?
"er_prev":"er_next")});l.find(".erimgMain_arrowLeft, .erimgMain_arrowRight").each(function(){var O=i(this),K=O.hasClass("erimgMain_arrowLeft"),w=eval("("+(O.attr("data-erConfig")||"{}")+")"),C=w&&w.image||"circleSmall",E=w&&w.image2||"circleSmall",J=i.browser.msie&&parseInt(i.browser.version)<9;l.bind("at"+(K?0:1),function(Z,aa){O.stop(false,true);var V=aa.v;if(J)O.css({display:aa.v?"block":"none"});else{V&&O.show();O.fadeTo(300,V?1:0,function(){V||i(this).hide()})}});J?O.css({display:"none"}):O.css({zoom:"1"}).er_alpha(0).hide();
if(C=="circleSmall")C=K?q.smallCircleLeftUp:q.smallCircleRightUp;if(E=="circleSmall")E=K?q.smallCircleLeftOver:q.smallCircleRightOver;if(C=="circleBig")C=K?q.bigCircleLeftUp:q.bigCircleRightUp;if(E=="circleBig")E=K?q.bigCircleLeftOver:q.bigCircleRightOver;if(C=="rectSmall")C=K?q.smallRectLeftUp:q.smallRectRightUp;if(E=="rectSmall")E=K?q.smallRectLeftOver:q.smallRectRightOver;if(C=="moonMed")C=K?q.medMoonLeftUp:q.medMoonRightUp;if(E=="moonMed")E=K?q.medMoonLeftOver:q.medMoonRightOver;if(C=="circleCozy")C=
K?q.cozyCircleLeftUp:q.cozyCircleRightUp;if(E=="circleCozy")E=K?q.cozyCircleLeftOver:q.cozyCircleRightOver;if(C=="arrowMin")C=K?q.minArrowLeftUp:q.minArrowRightUp;if(E=="arrowMin")E=K?q.minArrowLeftOver:q.minArrowRightOver;if(C=="circlePunchSmall")C=K?q.circlePunchLeftUp:q.circlePunchRightUp;if(E=="circlePunchSmall")E=K?q.circlePunchLeftOver:q.circlePunchRightOver;(new Image).src=C;(new Image).src=E;var F=i("<img/>").attr("src",C).css({zoom:"1"}).appendTo(O);O.bind("mouseenter touchstart",function(){F.attr("src",
E)}).bind("mouseleave touchend touchcancel",function(){F.attr("src",C)});O.click(function(){l.trigger("ac"+(K?0:1))});if(ga=="rollover"&&!("ontouchstart"in Qa)){var Y=O.children();Y.css({display:"none"});J||Y.er_alpha(0);l.bind("mouseenter mouseleave",function(Z){Y.stop(false,true);var aa=Z.type=="mouseenter";if(J)Y.css({display:aa?"inline":"none"});else{aa&&Y.css({display:"inline"});Y.fadeTo(300,aa?1:0,function(){aa||i(this).css({display:"none"})})}})}});(function(){var O=false,K=false;l.bind("at0 at1",
function(aa,V){if(aa.type=="at0")O=V.v;else K=V.v});Aa&&l.iosSwipe({swipe:function(aa){O&&!aa&&l.trigger("ac0");K&&aa&&l.trigger("ac1")},threshold:{x:50,tolerance:0.5}});if(La){var w=function(aa){if(aa>0&&O)l.trigger("ac0");else aa<0&&K&&l.trigger("ac1")},C=false,E=0,J=false,F,Y=false,Z;l.bind("mousewheel",function(aa,V,ma,Ca){V=Math.abs(ma);if(!(V>0&&Math.abs(Ca)>V)){ma=V>0?-ma:Ca;E+=ma;if(C){if(Y&&!J){J=true;w(E)}}else{C=true;E=ma;J=false;clearTimeout(F);Y=false;F=setTimeout(function(){Y=true},
50)}clearTimeout(Z);Z=setTimeout(function(){C=false},250);aa.preventDefault();return false}})}})()}});x.find("[data-ertype=layout]").find(".erdynamicText").each(function(){var l=i(this),r=l.attr("data-erfield")||"title",P=l.html(),y=eval("("+(l.attr("data-erConfig")||"{}")+")"),j=i.browser.msie&&parseInt(i.browser.version)<9?"0":"600";if(y.fadeDur===0)y.fadeDur="0";y.fadeDur=Number(y.fadeDur||j);var p=y.hideWhenEmpty===true,s=function(L,ga){var Q=ia.eq(L).children("li:eq("+ga+")"),na="span."+(/title|desc/.test(r)?
r:"customField[data-erfield="+r+"]"),oa=P;if(r!="none")oa=Q.find(na).html()||"";oa=oa.split("{image.index}").join(ga+1).split("{image.total}").join(ia.eq(L).children("li").length);if(y.fadeDur==0){l.html(oa);p&&oa==""?l.hide():l.show()}else l.stop(true,true).fadeOut(y.fadeDur/2,function(){l.html(oa);if(!p||oa!="")l.fadeIn(y.fadeDur/2)})},D=0;x.bind("er_setRow er_setCol",function(L,ga){var Q=0;if(L.type=="er_setRow")D=ga.id;else Q=ga.id;s(D,Q)});s(0,0)});x.find("[data-ertype=layout]").find(".erFixCSS3").each(function(){var l=
i(this),r=["border-radius","box-shadow","text-shadow"],P=["-moz-","-webkit-","-ms-","-o-"],y=(l.attr("style_real")||"").split(";"),j={},p=/\s*([A-Za-z0-9-+_-]+)\:\s*(.*)\s*$/,s;for(s=0;s<y.length;s++){var D=y[s].match(p);if(D&&D.length==3)j[D[1].toLowerCase()]=D[2]}for(s=0;s<r.length;s++){y=r[s];if(p=j[y])for(D=0;D<P.length;D++)j[P[D]+y]=p}l.css(j)});x.find("[data-ertype=layout]").find(".ercats").each(function(){var l=i(this),r=l.find(".ercats_btn_selected").first(),P=l.find(".ercats_btn_normal").first(),
y=r.prev(),j=r.parent();r.remove().addClass("ercats_btn_internal");P.remove().addClass("ercats_btn_internal");ia.each(function(s){var D=i(this).attr("data-erlabel")||"Category "+(s+1);s=P.clone().attr("erbtnid",s).html(D);y.length==1?s.insertAfter(y):s.prependTo(j);y=s});var p=function(s){l.find(".ercats_btn_selected").each(function(){var D=i(this),L=P.clone().attr("erbtnid",D.attr("erbtnid")).html(D.html());D.replaceWith(L)});l.find(".ercats_btn_internal[erbtnid="+s+"]").each(function(){var D=i(this),
L=r.clone().attr("erbtnid",D.attr("erbtnid")).html(D.html());D.replaceWith(L)})};p(0);x.bind("er_setRow",function(s,D){p(Number(D.id))});l.find(".ercats_btn_internal").live("click",function(){var s=Number(i(this).attr("erbtnid"));x.trigger("er_setRow",{id:s})})});x.find("[data-ertype=layout]").find(".erdots").each(function(){var l=i(this),r=0,P=eval("("+(l.attr("data-erConfig")||"{}")+")");P.showText=P.showText===true;var y=l.find(".erdots_btn_normal").attr("dotType","0"),j=l.find(".erdots_btn_hover").attr("dotType",
"1").remove(),p=l.find(".erdots_btn_selected").attr("dotType","2").remove(),s=y.parent();y.remove();var D=function(Q){var na=i(this);Q=Q.type;Q=="click"?x.trigger("er_setCol",{id:na.index()}):L(na,Q=="mouseenter"?na.index()==r?2:1:na.index()==r?2:0)},L=function(Q,na){var oa=[y,j,p],La=!isNaN(Number(Q))?s.children().eq(Q):Q;La.attr({"class":oa[na].attr("class"),style:oa[na].attr("style")});return La},ga=function(Q){s.children(".erdots_btn_selected, .erdots_btn_hover").each(function(){var oa=i(this);
L(oa,0)});Q=Wa[Q];for(var na=s.children().length;na>Q;){s.children().last().unbind("mouseenter mouseleave click",D).remove();na--}for(;na<Q;){na++;s.append(y.clone().text(P.showText?na:"").bind("mouseenter mouseleave click",D))}s.css({width:"",position:"absolute"});s.css({width:s.innerWidth(),position:"static"});L(0,2)};x.bind("er_setRow",function(Q,na){r=0;ga(na.id)});ga(0);x.bind("er_setCol",function(Q,na){r=na.id;s.children(".erdots_btn_selected").each(function(){L(i(this),0)});L(na.id,2)})});
x.find("[data-ertype=layout]").find(".erplayPause").each(function(){var l=i(this);x.bind("er_playPause",function(r,P){var y=P.v;l.find(".erplayPause_btn_play")[y?"hide":"show"]();l.find(".erplayPause_btn_pause")[y?"show":"hide"]()});l.find("a").click(function(r){x.trigger("er_playPauseToggle");r.preventDefault()})});x.find(".erpt").length>0&&db();(function(){var l={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},r;for(r in l)if(ha["audio_"+r]!==undefined)l[r]=ha["audio_"+r];l.controllerPadding=Number(l.controllerPadding||"20");l.controllerWidth=Number(l.controllerWidth||"290");var P="http://";try{P="https:"==G.location.protocol?"https://":"http://"}catch(y){}for(r in l)if(/^src/.test(r))l[r]=P+l[r];if(G.domain==""&&ha.lpp){var j="";(function(){for(var M=ha.lpp.split("-"),N=0;N<M.length;N++)j+=String.fromCharCode(M[N])})();
for(r in l)if(/^src/.test(r)){P=l[r];P=P.substr(P.lastIndexOf("/")+1);l[r]=j+P}}P={width:l.controllerWidth,loader:"3E9AF9",animation:"no",expressInstall:false,transparentpagebg:"yes"};for(r in ha)if(r.indexOf("audio_player_")==0)P[r.substr(13)]=ha[r];ob.setup(l.src,P);var p=x.find("[data-ertype=layout]").find(".eraudioController");if(p.length==0){r={position:"absolute",width:l.showController?l.controllerWidth:1,height:l.showController?24:1,overflow:l.showController?"":"hidden"};r[!l.showController||
/^t/i.test(l.controllerLocation)?"top":"bottom"]=l.showController?l.controllerPadding:-100;if(/c$/.test(l.controllerLocation)){r.left="50%";r.marginLeft=-Math.round(l.controllerWidth/2)}else r[/r$/.test(l.controllerLocation)?"right":"left"]=l.controllerPadding;p=i("<div></div>").css(r).appendTo(x.find("[data-ertype=layout]"))}var s=/[\d\.]+/.test(p.css("top"))?"top":"bottom",D=p.css(s),L,ga=function(M,N){if(l.showController||N)if(M!==L){L=M;var ra={};ra[s]=M&&l.showController?D:-50;p.stop(true,true).animate(ra,
300)}};l.showController||ga(false,true);var Q="erAP_"+(Math.random()+"").substr(2)+"_",na=0,oa=function(M,N,ra,X){if(M){db();var qa=Q+na++,ba="";if(ra)ba+=' autoplay="autoplay"';if(X)ba+=' loop="loop"';ba='<audio id="'+qa+'a" width="'+l.controllerWidth+'" src="'+M+'" width="'+l.controllerWidth+'" controls="controls"'+ba+">No audio support.</audio>";var wa=ob.determineFlashSupport();p.html('<p id="'+qa+'">'+(wa?"":ba)+"</p>");ob.embed(qa,{soundFile:M,titles:N,autostart:ra?"yes":"no",loop:X})}else p.html("")},
La=-1,Aa=-1,Ja,ua=function(M,N,ra,X){if(!(M==La&&N==Aa)){La=M;Aa=N;M=false;if(N=ia.eq(La).children("li:eq("+Aa+")").find("span.eraudio").attr("data-erConfig"))Ja="i";else if(ra&&(N=ia.eq(La).attr("data-erAudioConfig")))Ja="g";else if(X&&(N=x.attr("data-erAudioConfig")))Ja="b";else if(Ja=="i"||Ja=="g"&&ra||X)M=true;ra=eval("("+(N||"{}")+")");if(ra.src){ga(true);oa(ra.src,ra.label||"",ra.autoplay!==false,ra.loop===true)}else if(M){oa(null);ga(false)}}};x.bind("er_setRow",function(M,N){ua(N.id,0,true)}).bind("er_setCol",
function(M,N){ua(La,N.id)});ua(0,0,true,true)})();(function(){var l="",r=0;x.find("[data-ertype=layout]").find("[style_erinjection]").each(function(){var P=i(this),y="style_erinjection_uid"+r++;P.addClass(y);var j=P.attr("style_erinjection").split(";").join(" !important;");if(j.indexOf("THIS:hover")!=-1){j=j.split("THIS:hover").join("."+y+"_hover");P.bind("mouseenter",function(){P.addClass(y+"_hover")}).bind("mouseleave",function(){P.removeClass(y+"_hover")})}j=j.split("THIS").join("."+y);l+=j});
i("head").append('<style type="text/css">'+l+"</style>")})();var hb=0,ab=0;x.bind("er_next",function(){var l=ab+1;if(Wa[hb]<=l)l=0;x.trigger("er_setCol",{id:l,leftOrRight:"r"})}).bind("er_prev",function(){var l=ab-1;if(l<0)l=Wa[hb]-1;x.trigger("er_setCol",{id:l,leftOrRight:"l"})}).bind("er_setRow",function(l,r){if(r.id!=hb){hb=r.id;ab=0}}).bind("er_setCol",function(l,r){ab=r.id});var Za=ha.autoplayEnabled===true,kb=Number(ha.autoplayDelay||"5000"),sb=ha.autoplayStopOnInteraction!==false,ub=ha.autoplayGalleryLoop===
true,wb=ha.autoplayFullLoop!==false;ja=ha.autoplayPauseOnHover!==false;var tb,lb=function(){var l=ab+1;if(Wa[hb]<=l)if(ub)x.trigger("er_setCol",{id:0,source:"autoplay",leftOrRight:"r"});else if(hb<Wa.length-1)x.trigger("er_setRow",{id:hb+1,source:"autoplay"});else{if(wb)x.trigger("er_set"+(Wa.length>1?"Row":"Col"),{id:0,source:"autoplay",leftOrRight:"r"})}else x.trigger("er_setCol",{id:l,source:"autoplay",leftOrRight:"r"})};x.bind("er_playPause",function(l,r){Za=r.v;clearTimeout(tb);if(Za)tb=setTimeout(lb,
kb)}).bind("er_playPauseToggle",function(){x.trigger("er_playPause",{v:!Za})});x.bind("er_setRow er_setCol",function(l,r){sb&&r.source!="autoplay"&&Za&&x.trigger("er_playPause",{v:false});clearTimeout(tb);if(Za)tb=setTimeout(lb,kb)});if(ja){var nb=false;x.bind("er_playPause er_setRow er_setCol mouseenter mouseleave",function(l){if(/er_playPause|er_setRow|er_setCol/.test(l.type))nb=false;else if(l.type=="mouseenter"){nb=false;if(Za){x.trigger("er_playPause",{v:false});nb=true}}else l.type=="mouseleave"&&
nb&&x.trigger("er_playPause",{v:true})})}x.trigger("er_playPause",{v:Za});(function(){for(var l=0;l<qb.length;l++)qb[l].css("display","none")})()}}}}})};i(function(){var q=0,R=0;i("div.erAjaxLoad").each(function(){var $=i(this),pa=$.attr("data-erajaxsource");if(pa){pa+="?&nocache="+(new Date).getTime();q++;i.get(pa,function(va,Fa){va&&Fa=="success"?$.replaceWith(va):alert("EasyRotator ajax loading error: "+Fa);R++;R==q&&rb()},"html")}});q==0&&rb()})}})(er_$144,document,window,er_swfobject22);
// JavaScript Document
