/*
 ---- 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 #050311.24

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

