var AudioPlayer=function(){function c(n){return document.all?window[n]:document[n]}var d=[],h,f="",g={},o=-1;return{setup:function(n,z){f=n;g=z},getPlayer:function(n){return c(n)},embed:function(n,z){var r={},A,v={},C={},p={};for(A in g)r[A]=g[A];for(A in z)r[A]=z[A];if(r.transparentpagebg=="yes"){v.bgcolor="#FFFFFF";v.wmode="transparent"}else{if(r.pagebg)v.bgcolor="#"+r.pagebg;v.wmode="opaque"}v.menu="false";for(A in r)A=="pagebg"||A=="width"||A=="transparentpagebg"||(C[A]=r[A]);p.name=n;p.style=
"outline: none";C.playerID=n;audioplayer_swfobject.embedSWF(f,n,r.width.toString(),"24","9",false,C,v,p);d.push(n)},syncVolumes:function(n,z){o=z;for(z=0;z<d.length;z++)d[z]!=n&&c(d[z]).setVolume(o)},activate:function(n){h&&h!=n&&c(h).close();h=n},load:function(n,z,r,A){c(n).load(z,r,A)},close:function(n){c(n).close();if(n==h)h=null},open:function(n){c(n).open()},getVolume:function(){return o}}}(),audioplayer_swfobject=function(){function c(){if(e.readyState=="complete"){e.parentNode.removeChild(e);
d()}}function d(){if(!B){if(D.ie&&D.win){var t=M("span");try{var y=S.getElementsByTagName("body")[0].appendChild(t);y.parentNode.removeChild(y)}catch(G){return}}B=true;if(i){clearInterval(i);i=null}t=ea.length;for(y=0;y<t;y++)ea[y]()}}function h(t){if(B)t();else ea[ea.length]=t}function f(t){if(typeof aa.addEventListener!=Q)aa.addEventListener("load",t,false);else if(typeof S.addEventListener!=Q)S.addEventListener("load",t,false);else if(typeof aa.attachEvent!=Q)T(aa,"onload",t);else if(typeof aa.onload==
"function"){var y=aa.onload;aa.onload=function(){y();t()}}else aa.onload=t}function g(){for(var t=Z.length,y=0;y<t;y++){var G=Z[y].id;if(D.pv[0]>0){var I=b(G);if(I){Z[y].width=I.getAttribute("width")?I.getAttribute("width"):"0";Z[y].height=I.getAttribute("height")?I.getAttribute("height"):"0";if(W(Z[y].swfVersion)){D.webkit&&D.webkit<312&&o(I);K(G,true)}else Z[y].expressInstall&&!F&&W("6.0.65")&&(D.win||D.mac)?n(Z[y]):z(I)}}else K(G,true)}}function o(t){var y=t.getElementsByTagName(Y)[0];if(y){var G=
M("embed"),I=y.attributes;if(I)for(var O=I.length,L=0;L<O;L++)I[L].nodeName=="DATA"?G.setAttribute("src",I[L].nodeValue):G.setAttribute(I[L].nodeName,I[L].nodeValue);if(y=y.childNodes){I=y.length;for(O=0;O<I;O++)y[O].nodeType==1&&y[O].nodeName=="PARAM"&&G.setAttribute(y[O].getAttribute("name"),y[O].getAttribute("value"))}t.parentNode.replaceChild(G,t)}}function n(t){F=true;var y=b(t.id);if(y){if(t.altContentId){var G=b(t.altContentId);if(G){m=G;u=t.altContentId}}else m=r(y);if(!/%$/.test(t.width)&&
parseInt(t.width,10)<310)t.width="310";if(!/%$/.test(t.height)&&parseInt(t.height,10)<137)t.height="137";S.title=S.title.slice(0,47)+" - Flash Player Installation";G="MMredirectURL="+aa.location+"&MMplayerType="+(D.ie&&D.win?"ActiveX":"PlugIn")+"&MMdoctitle="+S.title;var I=t.id;if(D.ie&&D.win&&y.readyState!=4){var O=M("div");I+="SWFObjectNew";O.setAttribute("id",I);y.parentNode.insertBefore(O,y);y.style.display="none";T(aa,"onload",function(){y.parentNode.removeChild(y)})}A({data:t.expressInstall,
id:ga,width:t.width,height:t.height},{flashvars:G},I)}}function z(t){if(D.ie&&D.win&&t.readyState!=4){var y=M("div");t.parentNode.insertBefore(y,t);y.parentNode.replaceChild(r(t),y);t.style.display="none";T(aa,"onload",function(){t.parentNode.removeChild(t)})}else t.parentNode.replaceChild(r(t),t)}function r(t){var y=M("div");if(D.win&&D.ie)y.innerHTML=t.innerHTML;else if(t=t.getElementsByTagName(Y)[0])if(t=t.childNodes)for(var G=t.length,I=0;I<G;I++)!(t[I].nodeType==1&&t[I].nodeName=="PARAM")&&t[I].nodeType!=
8&&y.appendChild(t[I].cloneNode(true));return y}function A(t,y,G){var I,O=b(G);if(O){if(typeof t.id==Q)t.id=G;if(D.ie&&D.win){var L="";for(var U in t)if(t[U]!=Object.prototype[U])if(U.toLowerCase()=="data")y.movie=t[U];else if(U.toLowerCase()=="styleclass")L+=' class="'+t[U]+'"';else if(U.toLowerCase()!="classid")L+=" "+U+'="'+t[U]+'"';U="";for(var j in y)if(y[j]!=Object.prototype[j])U+='<param name="'+j+'" value="'+y[j]+'" />';O.outerHTML='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'+
L+">"+U+"</object>";$[$.length]=t.id;I=b(t.id)}else if(D.webkit&&D.webkit<312){j=M("embed");j.setAttribute("type",da);for(L in t)if(t[L]!=Object.prototype[L])if(L.toLowerCase()=="data")j.setAttribute("src",t[L]);else if(L.toLowerCase()=="styleclass")j.setAttribute("class",t[L]);else L.toLowerCase()!="classid"&&j.setAttribute(L,t[L]);for(var q in y)y[q]!=Object.prototype[q]&&q.toLowerCase()!="movie"&&j.setAttribute(q,y[q]);O.parentNode.replaceChild(j,O);I=j}else{j=M(Y);j.setAttribute("type",da);for(var w in t)if(t[w]!=
Object.prototype[w])if(w.toLowerCase()=="styleclass")j.setAttribute("class",t[w]);else w.toLowerCase()!="classid"&&j.setAttribute(w,t[w]);for(var E in y)y[E]!=Object.prototype[E]&&E.toLowerCase()!="movie"&&v(j,E,y[E]);O.parentNode.replaceChild(j,O);I=j}}return I}function v(t,y,G){var I=M("param");I.setAttribute("name",y);I.setAttribute("value",G);t.appendChild(I)}function C(t){var y=b(t);if(y&&(y.nodeName=="OBJECT"||y.nodeName=="EMBED"))if(D.ie&&D.win)y.readyState==4?p(t):aa.attachEvent("onload",
function(){p(t)});else y.parentNode.removeChild(y)}function p(t){if(t=b(t)){for(var y in t)if(typeof t[y]=="function")t[y]=null;t.parentNode.removeChild(t)}}function b(t){var y=null;try{y=S.getElementById(t)}catch(G){}return y}function M(t){return S.createElement(t)}function T(t,y,G){t.attachEvent(y,G);a[a.length]=[t,y,G]}function W(t){var y=D.pv;t=t.split(".");t[0]=parseInt(t[0],10);t[1]=parseInt(t[1],10)||0;t[2]=parseInt(t[2],10)||0;return y[0]>t[0]||y[0]==t[0]&&y[1]>t[1]||y[0]==t[0]&&y[1]==t[1]&&
y[2]>=t[2]?true:false}function V(t,y){if(!(D.ie&&D.mac)){var G=S.getElementsByTagName("head")[0],I=M("style");I.setAttribute("type","text/css");I.setAttribute("media","screen");!(D.ie&&D.win)&&typeof S.createTextNode!=Q&&I.appendChild(S.createTextNode(t+" {"+y+"}"));G.appendChild(I);if(D.ie&&D.win&&typeof S.styleSheets!=Q&&S.styleSheets.length>0){G=S.styleSheets[S.styleSheets.length-1];typeof G.addRule==Y&&G.addRule(t,y)}}}function K(t,y){y=y?"visible":"hidden";if(B&&b(t))b(t).style.visibility=y;
else V("#"+t,"visibility:"+y)}function P(t){return/[\\\"<>\.;]/.exec(t)!=null?encodeURIComponent(t):t}var Q="undefined",Y="object",da="application/x-shockwave-flash",ga="SWFObjectExprInst",aa=window,S=document,ca=navigator,ea=[],Z=[],$=[],a=[],e,i=null,m=null,u=null,B=false,F=false,D=function(){var t=typeof S.getElementById!=Q&&typeof S.getElementsByTagName!=Q&&typeof S.createElement!=Q,y=[0,0,0],G=null;if(typeof ca.plugins!=Q&&typeof ca.plugins["Shockwave Flash"]==Y){if((G=ca.plugins["Shockwave Flash"].description)&&
!(typeof ca.mimeTypes!=Q&&ca.mimeTypes[da]&&!ca.mimeTypes[da].enabledPlugin)){G=G.replace(/^.*\s+(\S+\s+\S+$)/,"$1");y[0]=parseInt(G.replace(/^(.*)\..*$/,"$1"),10);y[1]=parseInt(G.replace(/^.*\.(.*)\s.*$/,"$1"),10);y[2]=/r/.test(G)?parseInt(G.replace(/^.*r(.*)$/,"$1"),10):0}}else if(typeof aa.ActiveXObject!=Q){var I=null,O=false;try{I=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7")}catch(L){try{I=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");y=[6,0,21];I.AllowScriptAccess="always"}catch(U){if(y[0]==
6)O=true}if(!O)try{I=new ActiveXObject("ShockwaveFlash.ShockwaveFlash")}catch(j){}}if(!O&&I)try{if(G=I.GetVariable("$version")){G=G.split(" ")[1].split(",");y=[parseInt(G[0],10),parseInt(G[1],10),parseInt(G[2],10)]}}catch(q){}}O=ca.userAgent.toLowerCase();var w=ca.platform.toLowerCase();G=/webkit/.test(O)?parseFloat(O.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")):false;I=w?/win/.test(w):/win/.test(O);O=w?/mac/.test(w):/mac/.test(O);return{w3cdom:t,pv:y,webkit:G,ie:false,win:I,mac:O}}();(function(){if(D.w3cdom){h(g);
if(D.ie&&D.win)try{S.write("<script id=__ie_ondomload defer=true src=//:><\/script>");(e=b("__ie_ondomload"))&&T(e,"onreadystatechange",c)}catch(t){}if(D.webkit&&typeof S.readyState!=Q)i=setInterval(function(){/loaded|complete/.test(S.readyState)&&d()},10);typeof S.addEventListener!=Q&&S.addEventListener("DOMContentLoaded",d,null);f(d)}})();(function(){D.ie&&D.win&&window.attachEvent("onunload",function(){for(var t=a.length,y=0;y<t;y++)a[y][0].detachEvent(a[y][1],a[y][2]);t=$.length;for(y=0;y<t;y++)C($[y]);
for(var G in D)D[G]=null;D=null;for(var I in audioplayer_swfobject)audioplayer_swfobject[I]=null;audioplayer_swfobject=null})})();return{registerObject:function(t,y,G){if(!(!D.w3cdom||!t||!y)){var I={};I.id=t;I.swfVersion=y;I.expressInstall=G?G:false;Z[Z.length]=I;K(t,false)}},getObjectById:function(t){var y=null;if(D.w3cdom)if(t=b(t)){var G=t.getElementsByTagName(Y)[0];if(!G||G&&typeof t.SetVariable!=Q)y=t;else if(typeof G.SetVariable!=Q)y=G}return y},embedSWF:function(t,y,G,I,O,L,U,j,q){if(!(!D.w3cdom||
!t||!y||!G||!I||!O)){G+="";I+="";if(W(O)){K(y,false);var w={};if(q&&typeof q===Y)for(var E in q)if(q[E]!=Object.prototype[E])w[E]=q[E];w.data=t;w.width=G;w.height=I;var H={};if(j&&typeof j===Y)for(var J in j)if(j[J]!=Object.prototype[J])H[J]=j[J];if(U&&typeof U===Y)for(var N in U)if(U[N]!=Object.prototype[N])if(typeof H.flashvars!=Q)H.flashvars+="&"+N+"="+U[N];else H.flashvars=N+"="+U[N];h(function(){A(w,H,y);w.id==y&&K(y,true)})}else if(L&&!F&&W("6.0.65")&&(D.win||D.mac)){F=true;K(y,false);h(function(){var X=
{};X.id=X.altContentId=y;X.width=G;X.height=I;X.expressInstall=L;n(X)})}}},getFlashPlayerVersion:function(){return{major:D.pv[0],minor:D.pv[1],release:D.pv[2]}},hasFlashPlayerVersion:W,createSWF:function(t,y,G){if(D.w3cdom)return A(t,y,G)},removeSWF:function(t){D.w3cdom&&C(t)},createCSS:function(t,y){D.w3cdom&&V(t,y)},addDomLoadEvent:h,addLoadEvent:f,getQueryParamValue:function(t){var y=S.location.search||S.location.hash;if(t==null)return P(y);if(y){y=y.substring(1).split("&");for(var G=0;G<y.length;G++)if(y[G].substring(0,
y[G].indexOf("="))==t)return P(y[G].substring(y[G].indexOf("=")+1))}return""},expressInstallCallback:function(){if(F&&m){var t=b(ga);if(t){t.parentNode.replaceChild(m,t);if(u){K(u,true);if(D.ie&&D.win)m.style.display="block"}u=m=null;F=false}}}}}();(function(){function c(a,e){e.src?b.ajax({url:e.src,async:false,dataType:"script"}):b.globalEval(e.text||e.textContent||e.innerHTML||"");e.parentNode&&e.parentNode.removeChild(e)}function d(){return+new Date}function h(a,e){return a[0]&&parseInt(b.curCSS(a[0],e,true),10)||0}function f(){return false}function g(){return true}function o(a){var e=RegExp("(^|\\.)"+a.type+"(\\.|$)"),i=true,m=[];b.each(b.data(this,"events").live||[],function(u,B){if(e.test(B.type))(u=b(a.target).closest(B.data)[0])&&m.push({elem:u,
fn:B})});m.sort(function(u,B){return b.data(u.elem,"closest")-b.data(B.elem,"closest")});b.each(m,function(){if(this.fn.call(this.elem,a,this.fn.data)===false)return i=false});return i}function n(a,e){return["live",a,e.replace(/\./g,"`").replace(/ /g,"|")].join(".")}function z(){if(!aa){aa=true;if(document.addEventListener)document.addEventListener("DOMContentLoaded",function(){document.removeEventListener("DOMContentLoaded",arguments.callee,false);b.ready()},false);else if(document.attachEvent){document.attachEvent("onreadystatechange",
function(){if(document.readyState==="complete"){document.detachEvent("onreadystatechange",arguments.callee);b.ready()}});document.documentElement.doScroll&&A==A.top&&function(){if(!b.isReady){try{document.documentElement.doScroll("left")}catch(a){setTimeout(arguments.callee,0);return}b.ready()}}()}b.event.add(A,"load",b.ready)}}function r(a,e){var i={};b.each($.concat.apply([],$.slice(0,e)),function(){i[this]=a});return i}var A=this,v,C=A.jQuery,p=A.$,b=A.jQuery=A.$=function(a,e){return new b.fn.init(a,
e)},M=/^[^<]*(<(.|\s)+>)[^>]*$|^#([\w-]+)$/,T=/^.[^:#\[\.,]*$/;b.fn=b.prototype={init:function(a,e){a=a||document;if(a.nodeType){this[0]=a;this.length=1;this.context=a;return this}if(typeof a==="string"){var i=M.exec(a);if(i&&(i[1]||!e))if(i[1])a=b.clean([i[1]],e);else{if((e=document.getElementById(i[3]))&&e.id!=i[3])return b().find(a);i=b(e||[]);i.context=document;i.selector=a;return i}else return b(e).find(a)}else if(b.isFunction(a))return b(document).ready(a);if(a.selector&&a.context){this.selector=
a.selector;this.context=a.context}return this.setArray(b.isArray(a)?a:b.makeArray(a))},selector:"",jquery:"1.3.2",size:function(){return this.length},get:function(a){return a===v?Array.prototype.slice.call(this):this[a]},pushStack:function(a,e,i){a=b(a);a.prevObject=this;a.context=this.context;if(e==="find")a.selector=this.selector+(this.selector?" ":"")+i;else if(e)a.selector=this.selector+"."+e+"("+i+")";return a},setArray:function(a){this.length=0;Array.prototype.push.apply(this,a);return this},
each:function(a,e){return b.each(this,a,e)},index:function(a){return b.inArray(a&&a.jquery?a[0]:a,this)},attr:function(a,e,i){var m=a;if(typeof a==="string")if(e===v)return this[0]&&b[i||"attr"](this[0],a);else{m={};m[a]=e}return this.each(function(u){for(a in m)b.attr(i?this.style:this,a,b.prop(this,m[a],i,u,a))})},css:function(a,e){if((a=="width"||a=="height")&&parseFloat(e)<0)e=v;return this.attr(a,e,"curCSS")},text:function(a){if(typeof a!=="object"&&a!=null)return this.empty().append((this[0]&&
this[0].ownerDocument||document).createTextNode(a));var e="";b.each(a||this,function(){b.each(this.childNodes,function(){if(this.nodeType!=8)e+=this.nodeType!=1?this.nodeValue:b.fn.text([this])})});return e},wrapAll:function(a){if(this[0]){a=b(a,this[0].ownerDocument).clone();this[0].parentNode&&a.insertBefore(this[0]);a.map(function(){for(var e=this;e.firstChild;)e=e.firstChild;return e}).append(this)}return this},wrapInner:function(a){return this.each(function(){b(this).contents().wrapAll(a)})},
wrap:function(a){return this.each(function(){b(this).wrapAll(a)})},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(){return this.domManip(arguments,false,function(a){this.parentNode.insertBefore(a,this)})},after:function(){return this.domManip(arguments,false,function(a){this.parentNode.insertBefore(a,
this.nextSibling)})},end:function(){return this.prevObject||b([])},push:[].push,sort:[].sort,splice:[].splice,find:function(a){if(this.length===1){var e=this.pushStack([],"find",a);e.length=0;b.find(a,this[0],e);return e}else return this.pushStack(b.unique(b.map(this,function(i){return b.find(a,i)})),"find",a)},clone:function(a){var e=this.map(function(){if(!b.support.noCloneEvent&&!b.isXMLDoc(this)){var u=this.outerHTML;if(!u){u=this.ownerDocument.createElement("div");u.appendChild(this.cloneNode(true));
u=u.innerHTML}return b.clean([u.replace(/ jQuery\d+="(?:\d+|null)"/g,"").replace(/^\s*/,"")])[0]}else return this.cloneNode(true)});if(a===true){var i=this.find("*").andSelf(),m=0;e.find("*").andSelf().each(function(){if(this.nodeName===i[m].nodeName){var u=b.data(i[m],"events");for(var B in u)for(var F in u[B])b.event.add(this,B,u[B][F],u[B][F].data);m++}})}return e},filter:function(a){return this.pushStack(b.isFunction(a)&&b.grep(this,function(e,i){return a.call(e,i)})||b.multiFilter(a,b.grep(this,
function(e){return e.nodeType===1})),"filter",a)},closest:function(a){var e=b.expr.match.POS.test(a)?b(a):null,i=0;return this.map(function(){for(var m=this;m&&m.ownerDocument;){if(e?e.index(m)>-1:b(m).is(a)){b.data(m,"closest",i);return m}m=m.parentNode;i++}})},not:function(a){if(typeof a==="string")if(T.test(a))return this.pushStack(b.multiFilter(a,this,true),"not",a);else a=b.multiFilter(a,this);var e=a.length&&a[a.length-1]!==v&&!a.nodeType;return this.filter(function(){return e?b.inArray(this,
a)<0:this!=a})},add:function(a){return this.pushStack(b.unique(b.merge(this.get(),typeof a==="string"?b(a):b.makeArray(a))))},is:function(a){return!!a&&b.multiFilter(a,this).length>0},hasClass:function(a){return!!a&&this.is("."+a)},val:function(a){if(a===v){var e=this[0];if(e){if(b.nodeName(e,"option"))return(e.attributes.value||{}).specified?e.value:e.text;if(b.nodeName(e,"select")){var i=e.selectedIndex,m=[],u=e.options;e=e.type=="select-one";if(i<0)return null;var B=e?i:0;for(i=e?i+1:u.length;B<
i;B++){var F=u[B];if(F.selected){a=b(F).val();if(e)return a;m.push(a)}}return m}return(e.value||"").replace(/\r/g,"")}return v}if(typeof a==="number")a+="";return this.each(function(){if(this.nodeType==1)if(b.isArray(a)&&/radio|checkbox/.test(this.type))this.checked=b.inArray(this.value,a)>=0||b.inArray(this.name,a)>=0;else if(b.nodeName(this,"select")){var D=b.makeArray(a);b("option",this).each(function(){this.selected=b.inArray(this.value,D)>=0||b.inArray(this.text,D)>=0});if(!D.length)this.selectedIndex=
-1}else this.value=a})},html:function(a){return a===v?this[0]?this[0].innerHTML.replace(/ jQuery\d+="(?:\d+|null)"/g,""):null:this.empty().append(a)},replaceWith:function(a){return this.after(a).remove()},eq:function(a){return this.slice(a,+a+1)},slice:function(){return this.pushStack(Array.prototype.slice.apply(this,arguments),"slice",Array.prototype.slice.call(arguments).join(","))},map:function(a){return this.pushStack(b.map(this,function(e,i){return a.call(e,i,e)}))},andSelf:function(){return this.add(this.prevObject)},
domManip:function(a,e,i){function m(t,y){return e&&b.nodeName(t,"table")&&b.nodeName(y,"tr")?t.getElementsByTagName("tbody")[0]||t.appendChild(t.ownerDocument.createElement("tbody")):t}if(this[0]){var u=(this[0].ownerDocument||this[0]).createDocumentFragment();a=b.clean(a,this[0].ownerDocument||this[0],u);var B=u.firstChild;if(B)for(var F=0,D=this.length;F<D;F++)i.call(m(this[F],B),this.length>1||F>0?u.cloneNode(true):u);a&&b.each(a,c)}return this}};b.fn.init.prototype=b.fn;b.extend=b.fn.extend=function(){var a=
arguments[0]||{},e=1,i=arguments.length,m=false,u;if(typeof a==="boolean"){m=a;a=arguments[1]||{};e=2}if(typeof a!=="object"&&!b.isFunction(a))a={};if(i==e){a=this;--e}for(;e<i;e++)if((u=arguments[e])!=null)for(var B in u){var F=a[B],D=u[B];if(a!==D)if(m&&D&&typeof D==="object"&&!D.nodeType)a[B]=b.extend(m,F||(D.length!=null?[]:{}),D);else if(D!==v)a[B]=D}return a};var W=/z-?index|font-?weight|opacity|zoom|line-?height/i,V=document.defaultView||{},K=Object.prototype.toString;b.extend({noConflict:function(a){A.$=
p;if(a)A.jQuery=C;return b},isFunction:function(a){return K.call(a)==="[object Function]"},isArray:function(a){return K.call(a)==="[object Array]"},isXMLDoc:function(a){return a.nodeType===9&&a.documentElement.nodeName!=="HTML"||!!a.ownerDocument&&b.isXMLDoc(a.ownerDocument)},globalEval:function(a){if(a&&/\S/.test(a)){var e=document.getElementsByTagName("head")[0]||document.documentElement,i=document.createElement("script");i.type="text/javascript";if(b.support.scriptEval)i.appendChild(document.createTextNode(a));
else i.text=a;e.insertBefore(i,e.firstChild);e.removeChild(i)}},nodeName:function(a,e){return a.nodeName&&a.nodeName.toUpperCase()==e.toUpperCase()},each:function(a,e,i){var m,u=0,B=a.length;if(i)if(B===v)for(m in a){if(e.apply(a[m],i)===false)break}else for(;u<B;){if(e.apply(a[u++],i)===false)break}else if(B===v)for(m in a){if(e.call(a[m],m,a[m])===false)break}else for(i=a[0];u<B&&e.call(i,u,i)!==false;i=a[++u]);return a},prop:function(a,e,i,m,u){if(b.isFunction(e))e=e.call(a,m);return typeof e===
"number"&&i=="curCSS"&&!W.test(u)?e+"px":e},className:{add:function(a,e){b.each((e||"").split(/\s+/),function(i,m){if(a.nodeType==1&&!b.className.has(a.className,m))a.className+=(a.className?" ":"")+m})},remove:function(a,e){if(a.nodeType==1)a.className=e!==v?b.grep(a.className.split(/\s+/),function(i){return!b.className.has(e,i)}).join(" "):""},has:function(a,e){return a&&b.inArray(e,(a.className||a).toString().split(/\s+/))>-1}},swap:function(a,e,i){var m={};for(var u in e){m[u]=a.style[u];a.style[u]=
e[u]}i.call(a);for(u in e)a.style[u]=m[u]},css:function(a,e,i,m){if(e=="width"||e=="height"){var u;i={position:"absolute",visibility:"hidden",display:"block"};var B=e=="width"?["Left","Right"]:["Top","Bottom"];function F(){u=e=="width"?a.offsetWidth:a.offsetHeight;m!=="border"&&b.each(B,function(){m||(u-=parseFloat(b.curCSS(a,"padding"+this,true))||0);if(m==="margin")u+=parseFloat(b.curCSS(a,"margin"+this,true))||0;else u-=parseFloat(b.curCSS(a,"border"+this+"Width",true))||0})}a.offsetWidth!==0?
F():b.swap(a,i,F);return Math.max(0,Math.round(u))}return b.curCSS(a,e,i)},curCSS:function(a,e,i){var m,u=a.style;if(e=="opacity"&&!b.support.opacity){m=b.attr(u,"opacity");return m==""?"1":m}if(e.match(/float/i))e=S;if(!i&&u&&u[e])m=u[e];else if(V.getComputedStyle){if(e.match(/float/i))e="float";e=e.replace(/([A-Z])/g,"-$1").toLowerCase();if(a=V.getComputedStyle(a,null))m=a.getPropertyValue(e);if(e=="opacity"&&m=="")m="1"}else if(a.currentStyle){m=e.replace(/\-(\w)/g,function(B,F){return F.toUpperCase()});
m=a.currentStyle[e]||a.currentStyle[m];if(!/^\d+(px)?$/i.test(m)&&/^\d/.test(m)){e=u.left;i=a.runtimeStyle.left;a.runtimeStyle.left=a.currentStyle.left;u.left=m||0;m=u.pixelLeft+"px";u.left=e;a.runtimeStyle.left=i}}return m},clean:function(a,e,i){e=e||document;if(typeof e.createElement==="undefined")e=e.ownerDocument||e[0]&&e[0].ownerDocument||document;if(!i&&a.length===1&&typeof a[0]==="string"){var m=/^<(\w+)\s*\/?>$/.exec(a[0]);if(m)return[e.createElement(m[1])]}var u=[];m=[];var B=e.createElement("div");
b.each(a,function(F,D){if(typeof D==="number")D+="";if(D){if(typeof D==="string"){D=D.replace(/(<(\w+)[^>]*?)\/>/g,function(G,I,O){return O.match(/^(abbr|br|col|img|input|link|meta|param|hr|area|embed)$/i)?G:I+"></"+O+">"});F=D.replace(/^\s+/,"").substring(0,10).toLowerCase();var t=!F.indexOf("<opt")&&[1,"<select multiple='multiple'>","</select>"]||!F.indexOf("<leg")&&[1,"<fieldset>","</fieldset>"]||F.match(/^<(thead|tbody|tfoot|colg|cap)/)&&[1,"<table>","</table>"]||!F.indexOf("<tr")&&[2,"<table><tbody>",
"</tbody></table>"]||(!F.indexOf("<td")||!F.indexOf("<th"))&&[3,"<table><tbody><tr>","</tr></tbody></table>"]||!F.indexOf("<col")&&[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"]||!b.support.htmlSerialize&&[1,"div<div>","</div>"]||[0,"",""];for(B.innerHTML=t[1]+D+t[2];t[0]--;)B=B.lastChild;if(!b.support.tbody){var y=/<tbody/i.test(D);F=!F.indexOf("<table")&&!y?B.firstChild&&B.firstChild.childNodes:t[1]=="<table>"&&!y?B.childNodes:[];for(t=F.length-1;t>=0;--t)b.nodeName(F[t],"tbody")&&
!F[t].childNodes.length&&F[t].parentNode.removeChild(F[t])}!b.support.leadingWhitespace&&/^\s/.test(D)&&B.insertBefore(e.createTextNode(D.match(/^\s*/)[0]),B.firstChild);D=b.makeArray(B.childNodes)}if(D.nodeType)u.push(D);else u=b.merge(u,D)}});if(i){for(a=0;u[a];a++)if(b.nodeName(u[a],"script")&&(!u[a].type||u[a].type.toLowerCase()==="text/javascript"))m.push(u[a].parentNode?u[a].parentNode.removeChild(u[a]):u[a]);else{u[a].nodeType===1&&u.splice.apply(u,[a+1,0].concat(b.makeArray(u[a].getElementsByTagName("script"))));
i.appendChild(u[a])}return m}return u},attr:function(a,e,i){if(!a||a.nodeType==3||a.nodeType==8)return v;var m=!b.isXMLDoc(a),u=i!==v;e=m&&b.props[e]||e;if(a.tagName){var B=/href|src|style/.test(e);if(e in a&&m&&!B){if(u){if(e=="type"&&b.nodeName(a,"input")&&a.parentNode)throw"type property can't be changed";a[e]=i}if(b.nodeName(a,"form")&&a.getAttributeNode(e))return a.getAttributeNode(e).nodeValue;if(e=="tabIndex")return(e=a.getAttributeNode("tabIndex"))&&e.specified?e.value:a.nodeName.match(/(button|input|object|select|textarea)/i)?
0:a.nodeName.match(/^(a|area)$/i)&&a.href?0:v;return a[e]}if(!b.support.style&&m&&e=="style")return b.attr(a.style,"cssText",i);u&&a.setAttribute(e,""+i);a=!b.support.hrefNormalized&&m&&B?a.getAttribute(e,2):a.getAttribute(e);return a===null?v:a}if(!b.support.opacity&&e=="opacity"){if(u){a.zoom=1;a.filter=(a.filter||"").replace(/alpha\([^)]*\)/,"")+(parseInt(i)+""=="NaN"?"":"alpha(opacity="+i*100+")")}return a.filter&&a.filter.indexOf("opacity=")>=0?parseFloat(a.filter.match(/opacity=([^)]*)/)[1])/
100+"":""}e=e.replace(/-([a-z])/ig,function(F,D){return D.toUpperCase()});if(u)a[e]=i;return a[e]},trim:function(a){return(a||"").replace(/^\s+|\s+$/g,"")},makeArray:function(a){var e=[];if(a!=null){var i=a.length;if(i==null||typeof a==="string"||b.isFunction(a)||a.setInterval)e[0]=a;else for(;i;)e[--i]=a[i]}return e},inArray:function(a,e){for(var i=0,m=e.length;i<m;i++)if(e[i]===a)return i;return-1},merge:function(a,e){var i=0,m,u=a.length;if(b.support.getAll)for(;(m=e[i++])!=null;)a[u++]=m;else for(;(m=
e[i++])!=null;)if(m.nodeType!=8)a[u++]=m;return a},unique:function(a){var e=[],i={};try{for(var m=0,u=a.length;m<u;m++){var B=b.data(a[m]);if(!i[B]){i[B]=true;e.push(a[m])}}}catch(F){e=a}return e},grep:function(a,e,i){for(var m=[],u=0,B=a.length;u<B;u++)!i!=!e(a[u],u)&&m.push(a[u]);return m},map:function(a,e){for(var i=[],m=0,u=a.length;m<u;m++){var B=e(a[m],m);if(B!=null)i[i.length]=B}return i.concat.apply([],i)}});var P=navigator.userAgent.toLowerCase();b.browser={version:(P.match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||
[0,"0"])[1],safari:/webkit/.test(P),opera:/opera/.test(P),msie:/msie/.test(P)&&!/opera/.test(P),mozilla:/mozilla/.test(P)&&!/(compatible|webkit)/.test(P)};b.each({parent:function(a){return a.parentNode},parents:function(a){return b.dir(a,"parentNode")},next:function(a){return b.nth(a,2,"nextSibling")},prev:function(a){return b.nth(a,2,"previousSibling")},nextAll:function(a){return b.dir(a,"nextSibling")},prevAll:function(a){return b.dir(a,"previousSibling")},siblings:function(a){return b.sibling(a.parentNode.firstChild,
a)},children:function(a){return b.sibling(a.firstChild)},contents:function(a){return b.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:b.makeArray(a.childNodes)}},function(a,e){b.fn[a]=function(i){var m=b.map(this,e);if(i&&typeof i=="string")m=b.multiFilter(i,m);return this.pushStack(b.unique(m),a,i)}});b.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,e){b.fn[a]=function(i){for(var m=[],u=b(i),B=0,F=u.length;B<
F;B++){var D=(B>0?this.clone(true):this).get();b.fn[e].apply(b(u[B]),D);m=m.concat(D)}return this.pushStack(m,a,i)}});b.each({removeAttr:function(a){b.attr(this,a,"");this.nodeType==1&&this.removeAttribute(a)},addClass:function(a){b.className.add(this,a)},removeClass:function(a){b.className.remove(this,a)},toggleClass:function(a,e){if(typeof e!=="boolean")e=!b.className.has(this,a);b.className[e?"add":"remove"](this,a)},remove:function(a){if(!a||b.filter(a,[this]).length){b("*",this).add([this]).each(function(){b.event.remove(this);
b.removeData(this)});this.parentNode&&this.parentNode.removeChild(this)}},empty:function(){for(b(this).children().remove();this.firstChild;)this.removeChild(this.firstChild)}},function(a,e){b.fn[a]=function(){return this.each(e,arguments)}});var Q="jQuery"+d(),Y=0,da={};b.extend({cache:{},data:function(a,e,i){a=a==A?da:a;var m=a[Q];m||(m=a[Q]=++Y);if(e&&!b.cache[m])b.cache[m]={};if(i!==v)b.cache[m][e]=i;return e?b.cache[m][e]:m},removeData:function(a,e){a=a==A?da:a;var i=a[Q];if(e){if(b.cache[i]){delete b.cache[i][e];
e="";for(e in b.cache[i])break;e||b.removeData(a)}}else{try{delete a[Q]}catch(m){a.removeAttribute&&a.removeAttribute(Q)}delete b.cache[i]}},queue:function(a,e,i){if(a){e=(e||"fx")+"queue";var m=b.data(a,e);if(!m||b.isArray(i))m=b.data(a,e,b.makeArray(i));else i&&m.push(i)}return m},dequeue:function(a,e){var i=b.queue(a,e),m=i.shift();if(!e||e==="fx")m=i[0];m!==v&&m.call(a)}});b.fn.extend({data:function(a,e){var i=a.split(".");i[1]=i[1]?"."+i[1]:"";if(e===v){var m=this.triggerHandler("getData"+i[1]+
"!",[i[0]]);if(m===v&&this.length)m=b.data(this[0],a);return m===v&&i[1]?this.data(i[0]):m}else return this.trigger("setData"+i[1]+"!",[i[0],e]).each(function(){b.data(this,a,e)})},removeData:function(a){return this.each(function(){b.removeData(this,a)})},queue:function(a,e){if(typeof a!=="string"){e=a;a="fx"}if(e===v)return b.queue(this[0],a);return this.each(function(){var i=b.queue(this,a,e);a=="fx"&&i.length==1&&i[0].call(this)})},dequeue:function(a){return this.each(function(){b.dequeue(this,
a)})}});(function(){function a(j,q,w,E,H,J){H=j=="previousSibling"&&!J;for(var N=0,X=E.length;N<X;N++){var R=E[N];if(R){if(H&&R.nodeType===1){R.sizcache=w;R.sizset=N}R=R[j];for(var ba=false;R;){if(R.sizcache===w){ba=E[R.sizset];break}if(R.nodeType===1&&!J){R.sizcache=w;R.sizset=N}if(R.nodeName===q){ba=R;break}R=R[j]}E[N]=ba}}}function e(j,q,w,E,H,J){H=j=="previousSibling"&&!J;for(var N=0,X=E.length;N<X;N++){var R=E[N];if(R){if(H&&R.nodeType===1){R.sizcache=w;R.sizset=N}R=R[j];for(var ba=false;R;){if(R.sizcache===
w){ba=E[R.sizset];break}if(R.nodeType===1){if(!J){R.sizcache=w;R.sizset=N}if(typeof q!=="string"){if(R===q){ba=true;break}}else if(B.filter(q,[R]).length>0){ba=R;break}}R=R[j]}E[N]=ba}}}var i=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?/g,m=0,u=Object.prototype.toString,B=function(j,q,w,E){w=w||[];q=q||document;if(q.nodeType!==1&&q.nodeType!==9)return[];if(!j||typeof j!=="string")return w;var H=[],J,N,X,R=true;for(i.lastIndex=
0;(J=i.exec(j))!==null;){H.push(J[1]);if(J[2]){X=RegExp.rightContext;break}}if(H.length>1&&D.exec(j))if(H.length===2&&F.relative[H[0]])J=U(H[0]+H[1],q);else for(J=F.relative[H[0]]?[q]:B(H.shift(),q);H.length;){j=H.shift();if(F.relative[j])j+=H.shift();J=U(j,J)}else{J=E?{expr:H.pop(),set:y(E)}:B.find(H.pop(),H.length===1&&q.parentNode?q.parentNode:q,L(q));J=B.filter(J.expr,J.set);if(H.length>0)N=y(J);else R=false;for(;H.length;){var ba=H.pop(),fa=ba;if(F.relative[ba])fa=H.pop();else ba="";if(fa==null)fa=
q;F.relative[ba](N,fa,L(q))}}N||(N=J);if(!N)throw"Syntax error, unrecognized expression: "+(ba||j);if(u.call(N)==="[object Array]")if(R)if(q.nodeType===1)for(j=0;N[j]!=null;j++){if(N[j]&&(N[j]===true||N[j].nodeType===1&&O(q,N[j])))w.push(J[j])}else for(j=0;N[j]!=null;j++)N[j]&&N[j].nodeType===1&&w.push(J[j]);else w.push.apply(w,N);else y(N,w);if(X){B(X,q,w,E);if(I){hasDuplicate=false;w.sort(I);if(hasDuplicate)for(j=1;j<w.length;j++)w[j]===w[j-1]&&w.splice(j--,1)}}return w};B.matches=function(j,q){return B(j,
null,null,q)};B.find=function(j,q,w){var E,H;if(!j)return[];for(var J=0,N=F.order.length;J<N;J++){var X=F.order[J];if(H=F.match[X].exec(j)){var R=RegExp.leftContext;if(R.substr(R.length-1)!=="\\"){H[1]=(H[1]||"").replace(/\\/g,"");E=F.find[X](H,q,w);if(E!=null){j=j.replace(F.match[X],"");break}}}}E||(E=q.getElementsByTagName("*"));return{set:E,expr:j}};B.filter=function(j,q,w,E){for(var H=j,J=[],N=q,X,R,ba=q&&q[0]&&L(q[0]);j&&q.length;){for(var fa in F.filter)if((X=F.match[fa].exec(j))!=null){var la=
F.filter[fa],ha,ia;R=false;if(N==J)J=[];if(F.preFilter[fa])if(X=F.preFilter[fa](X,N,w,J,E,ba)){if(X===true)continue}else R=ha=true;if(X)for(var ja=0;(ia=N[ja])!=null;ja++)if(ia){ha=la(ia,X,ja,N);var ka=E^!!ha;if(w&&ha!=null)if(ka)R=true;else N[ja]=false;else if(ka){J.push(ia);R=true}}if(ha!==v){w||(N=J);j=j.replace(F.match[fa],"");if(!R)return[];break}}if(j==H)if(R==null)throw"Syntax error, unrecognized expression: "+j;else break;H=j}return N};var F=B.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF_-]|\\.)+)/,
CLASS:/\.((?:[\w\u00c0-\uFFFF_-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF_-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF_-]|\\.)+)\s*(?:(\S?=)\s*(['"]*)(.*?)\3|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*_-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\((even|odd|[\dn+-]*)\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF_-]|\\.)+)(?:\((['"]*)((?:\([^\)]+\)|[^\2\(\)]*)+)\2\))?/},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(j){return j.getAttribute("href")}},
relative:{"+":function(j,q,w){var E=typeof q==="string",H=E&&!/\W/.test(q);E=E&&!H;if(H&&!w)q=q.toUpperCase();w=0;H=j.length;for(var J;w<H;w++)if(J=j[w]){for(;(J=J.previousSibling)&&J.nodeType!==1;);j[w]=E||J&&J.nodeName===q?J||false:J===q}E&&B.filter(q,j,true)},">":function(j,q,w){var E=typeof q==="string";if(E&&!/\W/.test(q)){q=w?q:q.toUpperCase();w=0;for(var H=j.length;w<H;w++){var J=j[w];if(J){E=J.parentNode;j[w]=E.nodeName===q?E:false}}}else{w=0;for(H=j.length;w<H;w++)if(J=j[w])j[w]=E?J.parentNode:
J.parentNode===q;E&&B.filter(q,j,true)}},"":function(j,q,w){var E=m++,H=e;if(!q.match(/\W/)){var J=q=w?q:q.toUpperCase();H=a}H("parentNode",q,E,j,J,w)},"~":function(j,q,w){var E=m++,H=e;if(typeof q==="string"&&!q.match(/\W/)){var J=q=w?q:q.toUpperCase();H=a}H("previousSibling",q,E,j,J,w)}},find:{ID:function(j,q,w){if(typeof q.getElementById!=="undefined"&&!w)return(j=q.getElementById(j[1]))?[j]:[]},NAME:function(j,q){if(typeof q.getElementsByName!=="undefined"){var w=[];q=q.getElementsByName(j[1]);
for(var E=0,H=q.length;E<H;E++)q[E].getAttribute("name")===j[1]&&w.push(q[E]);return w.length===0?null:w}},TAG:function(j,q){return q.getElementsByTagName(j[1])}},preFilter:{CLASS:function(j,q,w,E,H,J){j=" "+j[1].replace(/\\/g,"")+" ";if(J)return j;J=0;for(var N;(N=q[J])!=null;J++)if(N)if(H^(N.className&&(" "+N.className+" ").indexOf(j)>=0))w||E.push(N);else if(w)q[J]=false;return false},ID:function(j){return j[1].replace(/\\/g,"")},TAG:function(j,q){for(var w=0;q[w]===false;w++);return q[w]&&L(q[w])?
j[1]:j[1].toUpperCase()},CHILD:function(j){if(j[1]=="nth"){var q=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(j[2]=="even"&&"2n"||j[2]=="odd"&&"2n+1"||!/\D/.test(j[2])&&"0n+"+j[2]||j[2]);j[2]=q[1]+(q[2]||1)-0;j[3]=q[3]-0}j[0]=m++;return j},ATTR:function(j,q,w,E,H,J){q=j[1].replace(/\\/g,"");if(!J&&F.attrMap[q])j[1]=F.attrMap[q];if(j[2]==="~=")j[4]=" "+j[4]+" ";return j},PSEUDO:function(j,q,w,E,H){if(j[1]==="not")if(j[3].match(i).length>1||/^\w/.test(j[3]))j[3]=B(j[3],null,null,q);else{j=B.filter(j[3],q,w,true^
H);w||E.push.apply(E,j);return false}else if(F.match.POS.test(j[0])||F.match.CHILD.test(j[0]))return true;return j},POS:function(j){j.unshift(true);return j}},filters:{enabled:function(j){return j.disabled===false&&j.type!=="hidden"},disabled:function(j){return j.disabled===true},checked:function(j){return j.checked===true},selected:function(j){return j.selected===true},parent:function(j){return!!j.firstChild},empty:function(j){return!j.firstChild},has:function(j,q,w){return!!B(w[3],j).length},header:function(j){return/h\d/i.test(j.nodeName)},
text:function(j){return"text"===j.type},radio:function(j){return"radio"===j.type},checkbox:function(j){return"checkbox"===j.type},file:function(j){return"file"===j.type},password:function(j){return"password"===j.type},submit:function(j){return"submit"===j.type},image:function(j){return"image"===j.type},reset:function(j){return"reset"===j.type},button:function(j){return"button"===j.type||j.nodeName.toUpperCase()==="BUTTON"},input:function(j){return/input|select|textarea|button/i.test(j.nodeName)}},
setFilters:{first:function(j,q){return q===0},last:function(j,q,w,E){return q===E.length-1},even:function(j,q){return q%2===0},odd:function(j,q){return q%2===1},lt:function(j,q,w){return q<w[3]-0},gt:function(j,q,w){return q>w[3]-0},nth:function(j,q,w){return w[3]-0==q},eq:function(j,q,w){return w[3]-0==q}},filter:{PSEUDO:function(j,q,w,E){var H=q[1],J=F.filters[H];if(J)return J(j,w,q,E);else if(H==="contains")return(j.textContent||j.innerText||"").indexOf(q[3])>=0;else if(H==="not"){q=q[3];w=0;for(E=
q.length;w<E;w++)if(q[w]===j)return false;return true}},CHILD:function(j,q){var w=q[1],E=j;switch(w){case "only":case "first":for(;E=E.previousSibling;)if(E.nodeType===1)return false;if(w=="first")return true;E=j;case "last":for(;E=E.nextSibling;)if(E.nodeType===1)return false;return true;case "nth":w=q[2];var H=q[3];if(w==1&&H==0)return true;q=q[0];var J=j.parentNode;if(J&&(J.sizcache!==q||!j.nodeIndex)){var N=0;for(E=J.firstChild;E;E=E.nextSibling)if(E.nodeType===1)E.nodeIndex=++N;J.sizcache=q}j=
j.nodeIndex-H;return w==0?j==0:j%w==0&&j/w>=0}},ID:function(j,q){return j.nodeType===1&&j.getAttribute("id")===q},TAG:function(j,q){return q==="*"&&j.nodeType===1||j.nodeName===q},CLASS:function(j,q){return(" "+(j.className||j.getAttribute("class"))+" ").indexOf(q)>-1},ATTR:function(j,q){var w=q[1];j=F.attrHandle[w]?F.attrHandle[w](j):j[w]!=null?j[w]:j.getAttribute(w);w=j+"";var E=q[2];q=q[4];return j==null?E==="!=":E==="="?w===q:E==="*="?w.indexOf(q)>=0:E==="~="?(" "+w+" ").indexOf(q)>=0:!q?w&&j!==
false:E==="!="?w!=q:E==="^="?w.indexOf(q)===0:E==="$="?w.substr(w.length-q.length)===q:E==="|="?w===q||w.substr(0,q.length+1)===q+"-":false},POS:function(j,q,w,E){var H=F.setFilters[q[2]];if(H)return H(j,w,q,E)}}},D=F.match.POS;for(var t in F.match)F.match[t]=RegExp(F.match[t].source+/(?![^\[]*\])(?![^\(]*\))/.source);var y=function(j,q){j=Array.prototype.slice.call(j);if(q){q.push.apply(q,j);return q}return j};try{Array.prototype.slice.call(document.documentElement.childNodes)}catch(G){y=function(j,
q){q=q||[];if(u.call(j)==="[object Array]")Array.prototype.push.apply(q,j);else if(typeof j.length==="number")for(var w=0,E=j.length;w<E;w++)q.push(j[w]);else for(w=0;j[w];w++)q.push(j[w]);return q}}var I;if(document.documentElement.compareDocumentPosition)I=function(j,q){j=j.compareDocumentPosition(q)&4?-1:j===q?0:1;if(j===0)hasDuplicate=true;return j};else if("sourceIndex"in document.documentElement)I=function(j,q){j=j.sourceIndex-q.sourceIndex;if(j===0)hasDuplicate=true;return j};else if(document.createRange)I=
function(j,q){var w=j.ownerDocument.createRange(),E=q.ownerDocument.createRange();w.selectNode(j);w.collapse(true);E.selectNode(q);E.collapse(true);j=w.compareBoundaryPoints(Range.START_TO_END,E);if(j===0)hasDuplicate=true;return j};(function(){var j=document.createElement("form"),q="script"+(new Date).getTime();j.innerHTML="<input name='"+q+"'/>";var w=document.documentElement;w.insertBefore(j,w.firstChild);if(document.getElementById(q)){F.find.ID=function(E,H,J){if(typeof H.getElementById!=="undefined"&&
!J)return(H=H.getElementById(E[1]))?H.id===E[1]||typeof H.getAttributeNode!=="undefined"&&H.getAttributeNode("id").nodeValue===E[1]?[H]:v:[]};F.filter.ID=function(E,H){var J=typeof E.getAttributeNode!=="undefined"&&E.getAttributeNode("id");return E.nodeType===1&&J&&J.nodeValue===H}}w.removeChild(j)})();(function(){var j=document.createElement("div");j.appendChild(document.createComment(""));if(j.getElementsByTagName("*").length>0)F.find.TAG=function(q,w){w=w.getElementsByTagName(q[1]);if(q[1]==="*"){q=
[];for(var E=0;w[E];E++)w[E].nodeType===1&&q.push(w[E]);w=q}return w};j.innerHTML="<a href='#'></a>";if(j.firstChild&&typeof j.firstChild.getAttribute!=="undefined"&&j.firstChild.getAttribute("href")!=="#")F.attrHandle.href=function(q){return q.getAttribute("href",2)}})();document.querySelectorAll&&function(){var j=B,q=document.createElement("div");q.innerHTML="<p class='TEST'></p>";if(!(q.querySelectorAll&&q.querySelectorAll(".TEST").length===0)){B=function(w,E,H,J){E=E||document;if(!J&&E.nodeType===
9&&!L(E))try{return y(E.querySelectorAll(w),H)}catch(N){}return j(w,E,H,J)};B.find=j.find;B.filter=j.filter;B.selectors=j.selectors;B.matches=j.matches}}();document.getElementsByClassName&&document.documentElement.getElementsByClassName&&function(){var j=document.createElement("div");j.innerHTML="<div class='test e'></div><div class='test'></div>";if(j.getElementsByClassName("e").length!==0){j.lastChild.className="e";if(j.getElementsByClassName("e").length!==1){F.order.splice(1,0,"CLASS");F.find.CLASS=
function(q,w,E){if(typeof w.getElementsByClassName!=="undefined"&&!E)return w.getElementsByClassName(q[1])}}}}();var O=document.compareDocumentPosition?function(j,q){return j.compareDocumentPosition(q)&16}:function(j,q){return j!==q&&(j.contains?j.contains(q):true)},L=function(j){return j.nodeType===9&&j.documentElement.nodeName!=="HTML"||!!j.ownerDocument&&L(j.ownerDocument)},U=function(j,q){var w=[],E="",H;for(q=q.nodeType?[q]:q;H=F.match.PSEUDO.exec(j);){E+=H[0];j=j.replace(F.match.PSEUDO,"")}j=
F.relative[j]?j+"*":j;H=0;for(var J=q.length;H<J;H++)B(j,q[H],w);return B.filter(E,w)};b.find=B;b.filter=B.filter;b.expr=B.selectors;b.expr[":"]=b.expr.filters;B.selectors.filters.hidden=function(j){return j.offsetWidth===0||j.offsetHeight===0};B.selectors.filters.visible=function(j){return j.offsetWidth>0||j.offsetHeight>0};B.selectors.filters.animated=function(j){return b.grep(b.timers,function(q){return j===q.elem}).length};b.multiFilter=function(j,q,w){if(w)j=":not("+j+")";return B.matches(j,
q)};b.dir=function(j,q){var w=[];for(j=j[q];j&&j!=document;){j.nodeType==1&&w.push(j);j=j[q]}return w};b.nth=function(j,q,w){q=q||1;for(var E=0;j;j=j[w])if(j.nodeType==1&&++E==q)break;return j};b.sibling=function(j,q){for(var w=[];j;j=j.nextSibling)j.nodeType==1&&j!=q&&w.push(j);return w}})();b.event={add:function(a,e,i,m){if(!(a.nodeType==3||a.nodeType==8)){if(a.setInterval&&a!=A)a=A;if(!i.guid)i.guid=this.guid++;if(m!==v){i=this.proxy(i);i.data=m}var u=b.data(a,"events")||b.data(a,"events",{}),
B=b.data(a,"handle")||b.data(a,"handle",function(){return typeof b!=="undefined"&&!b.event.triggered?b.event.handle.apply(arguments.callee.elem,arguments):v});B.elem=a;b.each(e.split(/\s+/),function(F,D){F=D.split(".");D=F.shift();i.type=F.slice().sort().join(".");var t=u[D];b.event.specialAll[D]&&b.event.specialAll[D].setup.call(a,m,F);if(!t){t=u[D]={};if(!b.event.special[D]||b.event.special[D].setup.call(a,m,F)===false)if(a.addEventListener)a.addEventListener(D,B,false);else a.attachEvent&&a.attachEvent("on"+
D,B)}t[i.guid]=i;b.event.global[D]=true});a=null}},guid:1,global:{},remove:function(a,e,i){if(!(a.nodeType==3||a.nodeType==8)){var m=b.data(a,"events"),u;if(m){if(e===v||typeof e==="string"&&e.charAt(0)==".")for(var B in m)this.remove(a,B+(e||""));else{if(e.type){i=e.handler;e=e.type}b.each(e.split(/\s+/),function(F,D){F=D.split(".");D=F.shift();var t=RegExp("(^|\\.)"+F.slice().sort().join(".*\\.")+"(\\.|$)");if(m[D]){if(i)delete m[D][i.guid];else for(var y in m[D])t.test(m[D][y].type)&&delete m[D][y];
b.event.specialAll[D]&&b.event.specialAll[D].teardown.call(a,F);for(u in m[D])break;if(!u){if(!b.event.special[D]||b.event.special[D].teardown.call(a,F)===false)if(a.removeEventListener)a.removeEventListener(D,b.data(a,"handle"),false);else a.detachEvent&&a.detachEvent("on"+D,b.data(a,"handle"));u=null;delete m[D]}}})}for(u in m)break;if(!u){if(e=b.data(a,"handle"))e.elem=null;b.removeData(a,"events");b.removeData(a,"handle")}}}},trigger:function(a,e,i,m){var u=a.type||a;if(!m){a=typeof a==="object"?
a[Q]?a:b.extend(b.Event(u),a):b.Event(u);if(u.indexOf("!")>=0){a.type=u=u.slice(0,-1);a.exclusive=true}if(!i){a.stopPropagation();this.global[u]&&b.each(b.cache,function(){this.events&&this.events[u]&&b.event.trigger(a,e,this.handle.elem)})}if(!i||i.nodeType==3||i.nodeType==8)return v;a.result=v;a.target=i;e=b.makeArray(e);e.unshift(a)}a.currentTarget=i;var B=b.data(i,"handle");B&&B.apply(i,e);if((!i[u]||b.nodeName(i,"a")&&u=="click")&&i["on"+u]&&i["on"+u].apply(i,e)===false)a.result=false;if(!m&&
i[u]&&!a.isDefaultPrevented()&&!(b.nodeName(i,"a")&&u=="click")){this.triggered=true;try{i[u]()}catch(F){}}this.triggered=false;if(!a.isPropagationStopped())(i=i.parentNode||i.ownerDocument)&&b.event.trigger(a,e,i,true)},handle:function(a){var e,i;a=arguments[0]=b.event.fix(a||A.event);a.currentTarget=this;i=a.type.split(".");a.type=i.shift();e=!i.length&&!a.exclusive;var m=RegExp("(^|\\.)"+i.slice().sort().join(".*\\.")+"(\\.|$)");i=(b.data(this,"events")||{})[a.type];for(var u in i){var B=i[u];
if(e||m.test(B.type)){a.handler=B;a.data=B.data;B=B.apply(this,arguments);if(B!==v){a.result=B;if(B===false){a.preventDefault();a.stopPropagation()}}if(a.isImmediatePropagationStopped())break}}},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode metaKey newValue originalTarget pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),
fix:function(a){if(a[Q])return a;var e=a;a=b.Event(e);for(var i=this.props.length,m;i;){m=this.props[--i];a[m]=e[m]}if(!a.target)a.target=a.srcElement||document;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){e=document.documentElement;i=document.body;a.pageX=a.clientX+(e&&e.scrollLeft||i&&i.scrollLeft||0)-(e.clientLeft||0);a.pageY=a.clientY+(e&&e.scrollTop||
i&&i.scrollTop||0)-(e.clientTop||0)}if(!a.which&&(a.charCode||a.charCode===0?a.charCode:a.keyCode))a.which=a.charCode||a.keyCode;if(!a.metaKey&&a.ctrlKey)a.metaKey=a.ctrlKey;if(!a.which&&a.button)a.which=a.button&1?1:a.button&2?3:a.button&4?2:0;return a},proxy:function(a,e){e=e||function(){return a.apply(this,arguments)};e.guid=a.guid=a.guid||e.guid||this.guid++;return e},special:{ready:{setup:z,teardown:function(){}}},specialAll:{live:{setup:function(a,e){b.event.add(this,e[0],o)},teardown:function(a){if(a.length){var e=
0,i=RegExp("(^|\\.)"+a[0]+"(\\.|$)");b.each(b.data(this,"events").live||{},function(){i.test(this.type)&&e++});e<1&&b.event.remove(this,a[0],o)}}}}};b.Event=function(a){if(!this.preventDefault)return new b.Event(a);if(a&&a.type){this.originalEvent=a;this.type=a.type}else this.type=a;this.timeStamp=d();this[Q]=true};b.Event.prototype={preventDefault:function(){this.isDefaultPrevented=g;var a=this.originalEvent;if(a){a.preventDefault&&a.preventDefault();a.returnValue=false}},stopPropagation:function(){this.isPropagationStopped=
g;var a=this.originalEvent;if(a){a.stopPropagation&&a.stopPropagation();a.cancelBubble=true}},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=g;this.stopPropagation()},isDefaultPrevented:f,isPropagationStopped:f,isImmediatePropagationStopped:f};var ga=function(a){for(var e=a.relatedTarget;e&&e!=this;)try{e=e.parentNode}catch(i){e=this}if(e!=this){a.type=a.data;b.event.handle.apply(this,arguments)}};b.each({mouseover:"mouseenter",mouseout:"mouseleave"},function(a,e){b.event.special[e]=
{setup:function(){b.event.add(this,a,ga,e)},teardown:function(){b.event.remove(this,a,ga)}}});b.fn.extend({bind:function(a,e,i){return a=="unload"?this.one(a,e,i):this.each(function(){b.event.add(this,a,i||e,i&&e)})},one:function(a,e,i){var m=b.event.proxy(i||e,function(u){b(this).unbind(u,m);return(i||e).apply(this,arguments)});return this.each(function(){b.event.add(this,a,m,i&&e)})},unbind:function(a,e){return this.each(function(){b.event.remove(this,a,e)})},trigger:function(a,e){return this.each(function(){b.event.trigger(a,
e,this)})},triggerHandler:function(a,e){if(this[0]){a=b.Event(a);a.preventDefault();a.stopPropagation();b.event.trigger(a,e,this[0]);return a.result}},toggle:function(a){for(var e=arguments,i=1;i<e.length;)b.event.proxy(a,e[i++]);return this.click(b.event.proxy(a,function(m){this.lastToggle=(this.lastToggle||0)%i;m.preventDefault();return e[this.lastToggle++].apply(this,arguments)||false}))},hover:function(a,e){return this.mouseenter(a).mouseleave(e)},ready:function(a){z();b.isReady?a.call(document,
b):b.readyList.push(a);return this},live:function(a,e){e=b.event.proxy(e);e.guid+=this.selector+a;b(document).bind(n(a,this.selector),this.selector,e);return this},die:function(a,e){b(document).unbind(n(a,this.selector),e?{guid:e.guid+this.selector+a}:null);return this}});b.extend({isReady:false,readyList:[],ready:function(){if(!b.isReady){b.isReady=true;if(b.readyList){b.each(b.readyList,function(){this.call(document,b)});b.readyList=null}b(document).triggerHandler("ready")}}});var aa=false;b.each("blur,focus,load,resize,scroll,unload,click,dblclick,mousedown,mouseup,mousemove,mouseover,mouseout,mouseenter,mouseleave,change,select,submit,keydown,keypress,keyup,error".split(","),
function(a,e){b.fn[e]=function(i){return i?this.bind(e,i):this.trigger(e)}});b(A).bind("unload",function(){for(var a in b.cache)a!=1&&b.cache[a].handle&&b.event.remove(b.cache[a].handle.elem)});(function(){b.support={};var a=document.documentElement,e=document.createElement("script"),i=document.createElement("div"),m="script"+(new Date).getTime();i.style.display="none";i.innerHTML='   <link/><table></table><a href="/a" style="color:red;float:left;opacity:.5;">a</a><select><option>text</option></select><object><param/></object>';
var u=i.getElementsByTagName("*"),B=i.getElementsByTagName("a")[0];if(!(!u||!u.length||!B)){b.support={leadingWhitespace:i.firstChild.nodeType==3,tbody:!i.getElementsByTagName("tbody").length,objectAll:!!i.getElementsByTagName("object")[0].getElementsByTagName("*").length,htmlSerialize:!!i.getElementsByTagName("link").length,style:/red/.test(B.getAttribute("style")),hrefNormalized:B.getAttribute("href")==="/a",opacity:B.style.opacity==="0.5",cssFloat:!!B.style.cssFloat,scriptEval:false,noCloneEvent:true,
boxModel:null};e.type="text/javascript";try{e.appendChild(document.createTextNode("window."+m+"=1;"))}catch(F){}a.insertBefore(e,a.firstChild);if(A[m]){b.support.scriptEval=true;delete A[m]}a.removeChild(e);if(i.attachEvent&&i.fireEvent){i.attachEvent("onclick",function(){b.support.noCloneEvent=false;i.detachEvent("onclick",arguments.callee)});i.cloneNode(true).fireEvent("onclick")}b(function(){var D=document.createElement("div");D.style.width=D.style.paddingLeft="1px";document.body.appendChild(D);
b.boxModel=b.support.boxModel=D.offsetWidth===2;document.body.removeChild(D).style.display="none"})}})();var S=b.support.cssFloat?"cssFloat":"styleFloat";b.props={"for":"htmlFor","class":"className","float":S,cssFloat:S,styleFloat:S,readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",tabindex:"tabIndex"};b.fn.extend({_load:b.fn.load,load:function(a,e,i){if(typeof a!=="string")return this._load(a);var m=a.indexOf(" ");if(m>=0){var u=a.slice(m,a.length);a=a.slice(0,
m)}m="GET";if(e)if(b.isFunction(e)){i=e;e=null}else if(typeof e==="object"){e=b.param(e);m="POST"}var B=this;b.ajax({url:a,type:m,dataType:"html",data:e,complete:function(F,D){if(D=="success"||D=="notmodified")B.html(u?b("<div/>").append(F.responseText.replace(/<script(.|\s)*?\/script>/g,"")).find(u):F.responseText);i&&B.each(i,[F.responseText,D,F])}});return this},serialize:function(){return b.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?
b.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||/select|textarea/i.test(this.nodeName)||/text|hidden|password|search/i.test(this.type))}).map(function(a,e){a=b(this).val();return a==null?null:b.isArray(a)?b.map(a,function(i){return{name:e.name,value:i}}):{name:e.name,value:a}}).get()}});b.each("ajaxStart,ajaxStop,ajaxComplete,ajaxError,ajaxSuccess,ajaxSend".split(","),function(a,e){b.fn[e]=function(i){return this.bind(e,i)}});var ca=d();b.extend({get:function(a,
e,i,m){if(b.isFunction(e)){i=e;e=null}return b.ajax({type:"GET",url:a,data:e,success:i,dataType:m})},getScript:function(a,e){return b.get(a,null,e,"script")},getJSON:function(a,e,i){return b.get(a,e,i,"json")},post:function(a,e,i,m){if(b.isFunction(e)){i=e;e={}}return b.ajax({type:"POST",url:a,data:e,success:i,dataType:m})},ajaxSetup:function(a){b.extend(b.ajaxSettings,a)},ajaxSettings:{url:location.href,global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,
xhr:function(){return A.ActiveXObject?new ActiveXObject("Microsoft.XMLHTTP"):new XMLHttpRequest},accepts:{xml:"application/xml, text/xml",html:"text/html",script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},lastModified:{},ajax:function(a){function e(){a.success&&a.success(F,B);a.global&&b.event.trigger("ajaxSuccess",[L,a])}function i(){a.complete&&a.complete(L,B);a.global&&b.event.trigger("ajaxComplete",[L,a]);a.global&&!--b.active&&
b.event.trigger("ajaxStop")}a=b.extend(true,a,b.extend(true,{},b.ajaxSettings,a));var m,u=/=\?(&|$)/g,B,F,D=a.type.toUpperCase();if(a.data&&a.processData&&typeof a.data!=="string")a.data=b.param(a.data);if(a.dataType=="jsonp"){if(D=="GET")a.url.match(u)||(a.url+=(a.url.match(/\?/)?"&":"?")+(a.jsonp||"callback")+"=?");else if(!a.data||!a.data.match(u))a.data=(a.data?a.data+"&":"")+(a.jsonp||"callback")+"=?";a.dataType="json"}if(a.dataType=="json"&&(a.data&&a.data.match(u)||a.url.match(u))){m="jsonp"+
ca++;if(a.data)a.data=(a.data+"").replace(u,"="+m+"$1");a.url=a.url.replace(u,"="+m+"$1");a.dataType="script";A[m]=function(E){F=E;e();i();A[m]=v;try{delete A[m]}catch(H){}y&&y.removeChild(G)}}if(a.dataType=="script"&&a.cache==null)a.cache=false;if(a.cache===false&&D=="GET"){u=d();var t=a.url.replace(/(\?|&)_=.*?(&|$)/,"$1_="+u+"$2");a.url=t+(t==a.url?(a.url.match(/\?/)?"&":"?")+"_="+u:"")}if(a.data&&D=="GET"){a.url+=(a.url.match(/\?/)?"&":"?")+a.data;a.data=null}a.global&&!b.active++&&b.event.trigger("ajaxStart");
u=/^(\w+:)?\/\/([^\/?#]+)/.exec(a.url);if(a.dataType=="script"&&D=="GET"&&u&&(u[1]&&u[1]!=location.protocol||u[2]!=location.host)){var y=document.getElementsByTagName("head")[0],G=document.createElement("script");G.src=a.url;if(a.scriptCharset)G.charset=a.scriptCharset;if(!m){var I=false;G.onload=G.onreadystatechange=function(){if(!I&&(!this.readyState||this.readyState=="loaded"||this.readyState=="complete")){I=true;e();i();G.onload=G.onreadystatechange=null;y.removeChild(G)}}}y.appendChild(G);return v}var O=
false,L=a.xhr();a.username?L.open(D,a.url,a.async,a.username,a.password):L.open(D,a.url,a.async);try{a.data&&L.setRequestHeader("Content-Type",a.contentType);if(a.ifModified)L.setRequestHeader("If-Modified-Since",b.lastModified[a.url]||"Thu, 01 Jan 1970 00:00:00 GMT");L.setRequestHeader("X-Requested-With","XMLHttpRequest");L.setRequestHeader("Accept",a.dataType&&a.accepts[a.dataType]?a.accepts[a.dataType]+", */*":a.accepts._default)}catch(U){}if(a.beforeSend&&a.beforeSend(L,a)===false){a.global&&
!--b.active&&b.event.trigger("ajaxStop");L.abort();return false}a.global&&b.event.trigger("ajaxSend",[L,a]);var j=function(E){if(L.readyState==0){if(q){clearInterval(q);q=null;a.global&&!--b.active&&b.event.trigger("ajaxStop")}}else if(!O&&L&&(L.readyState==4||E=="timeout")){O=true;if(q){clearInterval(q);q=null}B=E=="timeout"?"timeout":!b.httpSuccess(L)?"error":a.ifModified&&b.httpNotModified(L,a.url)?"notmodified":"success";if(B=="success")try{F=b.httpData(L,a.dataType,a)}catch(H){B="parsererror"}if(B==
"success"){var J;try{J=L.getResponseHeader("Last-Modified")}catch(N){}if(a.ifModified&&J)b.lastModified[a.url]=J;m||e()}else b.handleError(a,L,B);i();E&&L.abort();if(a.async)L=null}};if(a.async){var q=setInterval(j,13);a.timeout>0&&setTimeout(function(){L&&!O&&j("timeout")},a.timeout)}try{L.send(a.data)}catch(w){b.handleError(a,L,null,w)}a.async||j();return L},handleError:function(a,e,i,m){a.error&&a.error(e,i,m);a.global&&b.event.trigger("ajaxError",[e,a,m])},active:0,httpSuccess:function(a){try{return!a.status&&
location.protocol=="file:"||a.status>=200&&a.status<300||a.status==304||a.status==1223}catch(e){}return false},httpNotModified:function(a,e){try{var i=a.getResponseHeader("Last-Modified");return a.status==304||i==b.lastModified[e]}catch(m){}return false},httpData:function(a,e,i){var m=a.getResponseHeader("content-type");a=(m=e=="xml"||!e&&m&&m.indexOf("xml")>=0)?a.responseXML:a.responseText;if(m&&a.documentElement.tagName=="parsererror")throw"parsererror";if(i&&i.dataFilter)a=i.dataFilter(a,e);if(typeof a===
"string"){e=="script"&&b.globalEval(a);if(e=="json")a=A.eval("("+a+")")}return a},param:function(a){function e(u,B){i[i.length]=encodeURIComponent(u)+"="+encodeURIComponent(B)}var i=[];if(b.isArray(a)||a.jquery)b.each(a,function(){e(this.name,this.value)});else for(var m in a)b.isArray(a[m])?b.each(a[m],function(){e(m,this)}):e(m,b.isFunction(a[m])?a[m]():a[m]);return i.join("&").replace(/%20/g,"+")}});var ea={},Z,$=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft",
"marginRight","paddingLeft","paddingRight"],["opacity"]];b.fn.extend({show:function(a,e){if(a)return this.animate(r("show",3),a,e);else{a=0;for(e=this.length;a<e;a++){var i=b.data(this[a],"olddisplay");this[a].style.display=i||"";if(b.css(this[a],"display")==="none"){i=this[a].tagName;var m;if(ea[i])m=ea[i];else{var u=b("<"+i+" />").appendTo("body");m=u.css("display");if(m==="none")m="block";u.remove();ea[i]=m}b.data(this[a],"olddisplay",m)}}a=0;for(e=this.length;a<e;a++)this[a].style.display=b.data(this[a],
"olddisplay")||"";return this}},hide:function(a,e){if(a)return this.animate(r("hide",3),a,e);else{a=0;for(e=this.length;a<e;a++){var i=b.data(this[a],"olddisplay");!i&&i!=="none"&&b.data(this[a],"olddisplay",b.css(this[a],"display"))}a=0;for(e=this.length;a<e;a++)this[a].style.display="none";return this}},_toggle:b.fn.toggle,toggle:function(a,e){var i=typeof a==="boolean";return b.isFunction(a)&&b.isFunction(e)?this._toggle.apply(this,arguments):a==null||i?this.each(function(){var m=i?a:b(this).is(":hidden");
b(this)[m?"show":"hide"]()}):this.animate(r("toggle",3),a,e)},fadeTo:function(a,e,i){return this.animate({opacity:e},a,i)},animate:function(a,e,i,m){var u=b.speed(e,i,m);return this[u.queue===false?"each":"queue"](function(){var B=b.extend({},u),F,D=this.nodeType==1&&b(this).is(":hidden"),t=this;for(F in a){if(a[F]=="hide"&&D||a[F]=="show"&&!D)return B.complete.call(this);if((F=="height"||F=="width")&&this.style){B.display=b.css(this,"display");B.overflow=this.style.overflow}}if(B.overflow!=null)this.style.overflow=
"hidden";B.curAnim=b.extend({},a);b.each(a,function(y,G){var I=new b.fx(t,B,y);if(/toggle|show|hide/.test(G))I[G=="toggle"?D?"show":"hide":G](a);else{var O=G.toString().match(/^([+-]=)?([\d+-.]+)(.*)$/),L=I.cur(true)||0;if(O){G=parseFloat(O[2]);var U=O[3]||"px";if(U!="px"){t.style[y]=(G||1)+U;L=(G||1)/I.cur(true)*L;t.style[y]=L+U}if(O[1])G=(O[1]=="-="?-1:1)*G+L;I.custom(L,G,U)}else I.custom(L,G,"")}});return true})},stop:function(a,e){var i=b.timers;a&&this.queue([]);this.each(function(){for(var m=
i.length-1;m>=0;m--)if(i[m].elem==this){e&&i[m](true);i.splice(m,1)}});e||this.dequeue();return this}});b.each({slideDown:r("show",1),slideUp:r("hide",1),slideToggle:r("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(a,e){b.fn[a]=function(i,m){return this.animate(e,i,m)}});b.extend({speed:function(a,e,i){var m=typeof a==="object"?a:{complete:i||!i&&e||b.isFunction(a)&&a,duration:a,easing:i&&e||e&&!b.isFunction(e)&&e};m.duration=b.fx.off?0:typeof m.duration==="number"?m.duration:
b.fx.speeds[m.duration]||b.fx.speeds._default;m.old=m.complete;m.complete=function(){m.queue!==false&&b(this).dequeue();b.isFunction(m.old)&&m.old.call(this)};return m},easing:{linear:function(a,e,i,m){return i+m*a},swing:function(a,e,i,m){return(-Math.cos(a*Math.PI)/2+0.5)*m+i}},timers:[],fx:function(a,e,i){this.options=e;this.elem=a;this.prop=i;if(!e.orig)e.orig={}}});b.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this);(b.fx.step[this.prop]||b.fx.step._default)(this);
if((this.prop=="height"||this.prop=="width")&&this.elem.style)this.elem.style.display="block"},cur:function(a){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null))return this.elem[this.prop];return(a=parseFloat(b.css(this.elem,this.prop,a)))&&a>-10000?a:parseFloat(b.curCSS(this.elem,this.prop))||0},custom:function(a,e,i){function m(B){return u.step(B)}this.startTime=d();this.start=a;this.end=e;this.unit=i||this.unit||"px";this.now=this.start;this.pos=this.state=0;var u=
this;m.elem=this.elem;if(m()&&b.timers.push(m)&&!Z)Z=setInterval(function(){for(var B=b.timers,F=0;F<B.length;F++)B[F]()||B.splice(F--,1);if(!B.length){clearInterval(Z);Z=v}},13)},show:function(){this.options.orig[this.prop]=b.attr(this.elem.style,this.prop);this.options.show=true;this.custom(this.prop=="width"||this.prop=="height"?1:0,this.cur());b(this.elem).show()},hide:function(){this.options.orig[this.prop]=b.attr(this.elem.style,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(a){var e=
d();if(a||e>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();a=this.options.curAnim[this.prop]=true;for(var i in this.options.curAnim)if(this.options.curAnim[i]!==true)a=false;if(a){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;this.elem.style.display=this.options.display;if(b.css(this.elem,"display")=="none")this.elem.style.display="block"}this.options.hide&&b(this.elem).hide();if(this.options.hide||this.options.show)for(var m in this.options.curAnim)b.attr(this.elem.style,
m,this.options.orig[m]);this.options.complete.call(this.elem)}return false}else{i=e-this.startTime;this.state=i/this.options.duration;this.pos=b.easing[this.options.easing||(b.easing.swing?"swing":"linear")](this.state,i,0,1,this.options.duration);this.now=this.start+(this.end-this.start)*this.pos;this.update()}return true}};b.extend(b.fx,{speeds:{slow:600,fast:200,_default:400},step:{opacity:function(a){b.attr(a.elem.style,"opacity",a.now)},_default:function(a){if(a.elem.style&&a.elem.style[a.prop]!=
null)a.elem.style[a.prop]=a.now+a.unit;else a.elem[a.prop]=a.now}}});b.fn.offset=document.documentElement.getBoundingClientRect?function(){if(!this[0])return{top:0,left:0};if(this[0]===this[0].ownerDocument.body)return b.offset.bodyOffset(this[0]);var a=this[0].getBoundingClientRect(),e=this[0].ownerDocument,i=e.body;e=e.documentElement;return{top:a.top+(self.pageYOffset||b.boxModel&&e.scrollTop||i.scrollTop)-(e.clientTop||i.clientTop||0),left:a.left+(self.pageXOffset||b.boxModel&&e.scrollLeft||i.scrollLeft)-
(e.clientLeft||i.clientLeft||0)}}:function(){if(!this[0])return{top:0,left:0};if(this[0]===this[0].ownerDocument.body)return b.offset.bodyOffset(this[0]);b.offset.initialized||b.offset.initialize();var a=this[0],e=a.offsetParent,i=a.ownerDocument,m,u=i.documentElement,B=i.body;i=i.defaultView;m=i.getComputedStyle(a,null);for(var F=a.offsetTop,D=a.offsetLeft;(a=a.parentNode)&&a!==B&&a!==u;){m=i.getComputedStyle(a,null);F-=a.scrollTop;D-=a.scrollLeft;if(a===e){F+=a.offsetTop;D+=a.offsetLeft;if(b.offset.doesNotAddBorder&&
!(b.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(a.tagName))){F+=parseInt(m.borderTopWidth,10)||0;D+=parseInt(m.borderLeftWidth,10)||0}e=a.offsetParent}if(b.offset.subtractsBorderForOverflowNotVisible&&m.overflow!=="visible"){F+=parseInt(m.borderTopWidth,10)||0;D+=parseInt(m.borderLeftWidth,10)||0}m=m}if(m.position==="relative"||m.position==="static"){F+=B.offsetTop;D+=B.offsetLeft}if(m.position==="fixed"){F+=Math.max(u.scrollTop,B.scrollTop);D+=Math.max(u.scrollLeft,B.scrollLeft)}return{top:F,
left:D}};b.offset={initialize:function(){if(!this.initialized){var a=document.body,e=document.createElement("div"),i,m,u,B=a.style.marginTop;i={position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"};for(m in i)e.style[m]=i[m];e.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(e,a.firstChild);i=e.firstChild;m=i.firstChild;u=i.nextSibling.firstChild.firstChild;this.doesNotAddBorder=m.offsetTop!==5;this.doesAddBorderForTableAndCells=u.offsetTop===5;i.style.overflow="hidden";i.style.position="relative";this.subtractsBorderForOverflowNotVisible=m.offsetTop===-5;a.style.marginTop="1px";this.doesNotIncludeMarginInBodyOffset=a.offsetTop===0;a.style.marginTop=B;a.removeChild(e);this.initialized=true}},bodyOffset:function(a){b.offset.initialized||b.offset.initialize();
var e=a.offsetTop,i=a.offsetLeft;if(b.offset.doesNotIncludeMarginInBodyOffset){e+=parseInt(b.curCSS(a,"marginTop",true),10)||0;i+=parseInt(b.curCSS(a,"marginLeft",true),10)||0}return{top:e,left:i}}};b.fn.extend({position:function(){var a;if(this[0]){a=this.offsetParent();var e=this.offset(),i=/^body|html$/i.test(a[0].tagName)?{top:0,left:0}:a.offset();e.top-=h(this,"marginTop");e.left-=h(this,"marginLeft");i.top+=h(a,"borderTopWidth");i.left+=h(a,"borderLeftWidth");a={top:e.top-i.top,left:e.left-
i.left}}return a},offsetParent:function(){for(var a=this[0].offsetParent||document.body;a&&!/^body|html$/i.test(a.tagName)&&b.css(a,"position")=="static";)a=a.offsetParent;return b(a)}});b.each(["Left","Top"],function(a,e){var i="scroll"+e;b.fn[i]=function(m){if(!this[0])return null;return m!==v?this.each(function(){this==A||this==document?A.scrollTo(!a?m:b(A).scrollLeft(),a?m:b(A).scrollTop()):(this[i]=m)}):this[0]==A||this[0]==document?self[a?"pageYOffset":"pageXOffset"]||b.boxModel&&document.documentElement[i]||
document.body[i]:this[0][i]}});b.each(["Height","Width"],function(a,e){var i=e.toLowerCase();b.fn["inner"+e]=function(){return this[0]?b.css(this[0],i,false,"padding"):null};b.fn["outer"+e]=function(u){return this[0]?b.css(this[0],i,false,u?"margin":"border"):null};var m=e.toLowerCase();b.fn[m]=function(u){return this[0]==A?document.compatMode=="CSS1Compat"&&document.documentElement["client"+e]||document.body["client"+e]:this[0]==document?Math.max(document.documentElement["client"+e],document.body["scroll"+
e],document.documentElement["scroll"+e],document.body["offset"+e],document.documentElement["offset"+e]):u===v?this.length?b.css(this[0],m):null:this.css(m,typeof u==="string"?u:u+"px")}})})();(function(c){c.extend(c.expr[":"],{icontains:function(d,h,f){return(d.textContent||d.innerText||jQuery(d).text()||"").toLowerCase().indexOf(f[3].toLowerCase())>=0}});c.iterators={getText:function(){return c(this).text()},parseInt:function(d){return parseInt(d,10)}};c.extend({range:function(){if(!arguments.length)return[];var d,h,f;if(arguments.length==1){d=0;h=arguments[0]-1;f=1}else{d=arguments[0];h=arguments[1]-1;f=arguments[2]||1}if(f<0&&d>=h){f*=-1;var g=d;d=h;h=g;d+=(h-d)%f}g=[];for(d=d;d<=h;d+=
f)g.push(d);return g},keyCode:{BACKSPACE:8,CAPS_LOCK:20,COMMA:188,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38},keyIs:function(d,h){return parseInt(c.keyCode[d.toUpperCase()],10)==parseInt(typeof h=="number"?h:h.keyCode,10)},keys:function(d){var h=[];for(k in d)h.push(k);return h},
redirect:function(d){return window.location.href=d},stop:function(d,h,f){h&&d.preventDefault();f&&d.stopPropagation();return h&&false||true},basename:function(d){d=d.split("/");return d[d.length]===""&&s||d.slice(0,d.length).join("/")},filename:function(d){return d.split("/").pop()},filesizeformat:function(d,h){d=parseInt(d,10);h=h||["byte","bytes","KB","MB","GB"];if(isNaN(d)||d===0)return"0 "+h[0];if(d==1)return"1 "+h[0];if(d<1024)return d.toFixed(2)+" "+h[1];if(d<1048576)return(d/1024).toFixed(2)+
" "+h[2];return d<1073741824?(d/1048576).toFixed(2)+" "+h[3]:(d/1073741824).toFixed(2)+" "+h[4]},fileExtension:function(d){d=d.split(".");return d[d.length-1]||false},isString:function(d){return typeof d=="string"&&true||false},isRegExp:function(d){return d&&d.constructor.toString().indexOf("RegExp()")!=-1||false},isObject:function(d){return typeof d=="object"},toCurrency:function(d){d=parseFloat(d,10).toFixed(2);return d=="NaN"?"0.00":d},pxToEm:function(d,h){h=jQuery.extend({scope:"body",reverse:false},
h);d=d===""?0:parseFloat(d);var f,g=function(){var o=document.documentElement;return self.innerWidth||o&&o.clientWidth||document.body.clientWidth};f=h.scope=="body"&&c.browser.msie&&(parseFloat(c("body").css("font-size"))/g()).toFixed(1)>0?function(){return(parseFloat(c("body").css("font-size"))/g()).toFixed(3)*16}():parseFloat(jQuery(h.scope).css("font-size"));return h.reverse===true?(d*f).toFixed(2)+"px":(d/f).toFixed(2)+"em"}});c.extend(c.fn,{type:function(){try{return c(this).get(0).nodeName.toLowerCase()}catch(d){return false}},
selectRange:function(d,h){if(c(this).get(0).createTextRange){var f=c(this).get(0).createTextRange();f.collapse(true);f.moveEnd("character",h);f.moveStart("character",d);f.select()}else c(this).get(0).setSelectionRange&&c(this).bind("focus",function(g){g.preventDefault()}).get(0).setSelectionRange(d,h);return c(this)},equalHeights:function(d){c(this).each(function(){var h=0;c(this).children().each(function(){if(c(this).height()>h)h=c(this).height()});if(!d||!c.pxToEm)h=c.pxToEm(h);c.browser.msie&&
c.browser.version==6&&c(this).children().css({height:h});c(this).children().css({"min-height":h})});return this},delay:function(d,h){jQuery.fx.step.delay=function(){};return this.animate({delay:1},d,h)}})})(jQuery);
(function(c){var d={strConversion:{__repr:function(g){switch(this.__getType(g)){case "array":case "date":case "number":return g.toString();case "object":var o=[];for(x=0;x<g.length;g++)o.push(g+": "+this.__repr(g[x]));return o.join(", ");case "string":return g;default:return g}},__getType:function(g){if(!g||!g.constructor)return typeof g;var o=g.constructor.toString().match(/Array|Number|String|Object|Date/);return o&&o[0].toLowerCase()||typeof g},__pad:function(g,o,n,z){n=n||" ";var r=g;if(o-g.length>
0)r=(new Array(Math.ceil(o/n.length))).join(n).substr(0,z=!z?o:z==1?0:Math.ceil(o/2))+g+n.substr(0,o-z);return r},__getInput:function(g,o){var n=g.getKey();switch(this.__getType(o)){case "object":var z=n.split(".");o=o;for(var r=0;r<z.length;r++)o=o[z[r]];if(typeof o!="undefined"){if(d.strConversion.__getType(o)=="array")return g.getFormat().match(/\.\*/)&&o[1]||o;return o}break;case "array":n=parseInt(n,10);return g.getFormat().match(/\.\*/)&&typeof o[n+1]!="undefined"?o[n+1]:typeof o[n]!="undefined"?
o[n]:n}return"{"+n+"}"},__formatToken:function(g,o){g=new h(g,o);return d.strConversion[g.getFormat().slice(-1)](this.__getInput(g,o),g)},d:function(g,o){g=parseInt(g,10);var n=o.getPaddingLength();return n?this.__pad(g.toString(),n,o.getPaddingString(),0):g},i:function(g,o){return this.d(g,o)},o:function(g,o){g=g.toString(8);if(o.isAlternate())g=this.__pad(g,g.length+1,"0",0);return this.__pad(g,o.getPaddingLength(),o.getPaddingString(),0)},u:function(g,o){return Math.abs(this.d(g,o))},x:function(g,
o){g=parseInt(g,10).toString(16);g=this.__pad(g,o.getPaddingLength(),o.getPaddingString(),0);return o.isAlternate()?"0x"+g:g},X:function(g,o){return this.x(g,o).toUpperCase()},e:function(g,o){return parseFloat(g,10).toExponential(o.getPrecision())},E:function(g,o){return this.e(g,o).toUpperCase()},f:function(g,o){return this.__pad(parseFloat(g,10).toFixed(o.getPrecision()),o.getPaddingLength(),o.getPaddingString(),0)},F:function(g,o){return this.f(g,o)},g:function(g,o){g=parseFloat(g,10);return g.toString().length>
6?Math.round(g.toExponential(o.getPrecision())):g},G:function(g,o){return this.g(g,o)},c:function(g){return(g=g.match(/\w|\d/))&&g[0]||""},r:function(g){return this.__repr(g)},s:function(g){return g.toString&&g.toString()||""+g}},format:function(g,o){var n=0,z=0,r=[],A="",v=(g||"").split("");for(z=0;z<v.length;z++)if(v[z]=="{"&&v[z+1]!="{"){n=g.indexOf("}",z);A=v.slice(z+1,n).join("");if(v[z-1]!="{"&&v[n+1]!="}"){var C=typeof arguments[1]!="object"?f(arguments,2):o||[];r.push(d.strConversion.__formatToken(A,
C))}else r.push(A)}else if(z>n||r.length<1)r.push(v[z]);return r.length>1?r.join(""):r[0]},calc:function(g,o){return eval(format(g,o))},repeat:function(g,o){return(new Array(o+1)).join(g)},UTF8encode:function(g){return unescape(encodeURIComponent(g))},UTF8decode:function(g){return decodeURIComponent(escape(g))},tpl:function(){if(arguments.length==2&&c.isArray(arguments[1])){this[arguments[0]]=arguments[1].join("");return c(this[arguments[0]])}if(arguments.length==2&&c.isString(arguments[1])){this[arguments[0]]=
arguments[1];return c(this[arguments[0]])}if(arguments.length==1)return c(this[arguments[0]]);if(arguments.length==2&&arguments[1]==false)return this[arguments[0]];if(arguments.length==2&&c.isObject(arguments[1]))return c(c.format(this[arguments[0]],arguments[1]));if(arguments.length==3&&c.isObject(arguments[1]))return arguments[2]==true?c.format(this[arguments[0]],arguments[1]):c(c.format(this[arguments[0]],arguments[1]))}},h=function(g,o){this.__arg=g;this.__args=o;this.__max_precision=parseFloat("1."+
(new Array(32)).join("1"),10).toString().length-3;this.__def_precision=6;this.getString=function(){return this.__arg};this.getKey=function(){return this.__arg.split(":")[0]};this.getFormat=function(){var n=this.getString().split(":");return n&&n[1]?n[1]:"s"};this.getPrecision=function(){var n=this.getFormat().match(/\.(\d+|\*)/g);if(n){n=n[0].slice(1);return n!="*"?parseInt(n,10):d.strConversion.__getType(this.__args)=="array"?this.__args[1]&&this.__args[0]||this.__def_precision:d.strConversion.__getType(this.__args)==
"object"?this.__args[this.getKey()]&&this.__args[this.getKey()][0]||this.__def_precision:this.__def_precision}else return this.__def_precision};this.getPaddingLength=function(){var n=false;if(this.isAlternate())if((n=this.getString().match(/0?#0?(\d+)/))&&n[1])return parseInt(n[1],10);return(n=this.getString().match(/(0|\.)(\d+|\*)/g))&&parseInt(n[0].slice(1),10)||0};this.getPaddingString=function(){var n="";if(this.isAlternate())n=" ";if(this.getFormat().match(/#0|0#|^0|\.\d+/))n="0";return n};this.getFlags=
function(){var n=this.getString().matc(/^(0|\#|\-|\+|\s)+/);return n&&n[0].split("")||[]};this.isAlternate=function(){return!!this.getFormat().match(/^0?#/)}},f=function(g,o){var n=[];l=g.length;for(x=(o||0)-1;x<l;x++)n.push(g[x]);return n};c.extend(d)})(jQuery);
(function(c){var d=window.location.hash,h=[];c.extend({anchorHandler:{apply:function(){c.map(h,function(f){var g=d.match(f.r)&&d.match(f.r)[0]||false;if(g)f.cb.apply(c("a[href*="+g+"]").get(0),[f.r,d||""])});return c.anchorHandler},add:function(f,g,o){var n=c.extend({handleClick:true,preserveHash:true},o);n.handleClick&&c("a[href*=#]").each(function(z,r){r.href.match(f)&&c(r).bind("click.anchorHandler",function(){if(n.preserveHash)window.location.hash=r.hash;return g.apply(this,[f,r.href])})});h.push({r:f,
cb:g});c(c.anchorHandler.apply);return c.anchorHandler}}})})(jQuery);
jQuery.cookie=function(c,d,h){if(typeof d!="undefined"){h=h||{};if(d===null){d="";h.expires=-1}var f="";if(h.expires&&(typeof h.expires=="number"||h.expires.toUTCString)){if(typeof h.expires=="number"){f=new Date;f.setTime(f.getTime()+h.expires*24*60*60*1E3)}else f=h.expires;f="; expires="+f.toUTCString()}var g=h.path?"; path="+h.path:"",o=h.domain?"; domain="+h.domain:"";h=h.secure?"; secure":"";document.cookie=[c,"=",encodeURIComponent(d),f,g,o,h].join("")}else{d=null;if(document.cookie&&document.cookie!=
""){h=document.cookie.split(";");for(f=0;f<h.length;f++){g=jQuery.trim(h[f]);if(g.substring(0,c.length+1)==c+"="){d=decodeURIComponent(g.substring(c.length+1));break}}}return d}};
(function(c){function d(h,f){var g=function(v,C){C=C||new Date;if(C>=v)return true;var p={};v=Math.floor((v.getTime()-C.getTime())/1E3);p.days=Math.floor(v/86400);v%=86400;p.hours=Math.floor(v/3600);v%=3600;p.minutes=Math.floor(v/60);v%=60;p.seconds=v;p.years=Math.floor(p.days/365);p.months=Math.floor(p.days/30);p.weeks=Math.floor(p.days/7);return p};f=c.extend({date:new Date,modifiers:[],interval:1E3,msgFormat:"%d [day|days] %hh %mm %ss",msgNow:"Now !"},f);var o={y:new RegExp("\\%y(.+?)\\[(\\w+)\\|(\\w+)\\]",
"g"),M:new RegExp("\\%M(.+?)\\[(\\w+)\\|(\\w+)\\]","g"),w:new RegExp("\\%w(.+?)\\[(\\w+)\\|(\\w+)\\]","g"),d:new RegExp("\\%d(.+?)\\[(\\w+)\\|(\\w+)\\]","g"),h:new RegExp("\\%h(.+?)\\[(\\w+)\\|(\\w+)\\]","g"),m:new RegExp("\\%m(.+?)\\[(\\w+)\\|(\\w+)\\]","g"),s:new RegExp("\\%s(.+?)\\[(\\w+)\\|(\\w+)\\]","g")},n=function(v,C,p){return!o[C]?"":v.match(/\[|\]/g)&&(v.replace(o[C],p+"$1"+(parseInt(p,10)<2?"$2":"$3"))||"")||v.replace("%"+C,p)},z=function(v,C){v=v;v=n(v,"y",C.years);v=n(v,"M",C.months);
v=n(v,"w",C.weeks);v=n(v,"d",C.days);v=n(v,"h",C.hours);v=n(v,"m",C.minutes);return v=n(v,"s",C.seconds)},r=function(){var v=g(A.date);if(v===true){A.stop();clearInterval(A.id);c(A.el).html(f.msgNow);return true}else c(A.el).text(z(f.msgFormat,v))},A={id:setInterval(r,f.interval),el:h,start:function(){return new d(c(this.el),f)},stop:function(){return clearInterval(this.id)},date:function(v,C){if(v.length===0)return C;for(var p=/^([+-]\d+)([yMdhms])$/,b={s:1E3,m:6E4,h:36E5,d:864E5,M:2592E6,y:31536E6},
M=0,T=0,W=v.length;T<W;++T){var V=v[T].match(p);if(V!==null)M+=parseInt(V[1],10)*b[V[2]]}return new Date(C.getTime()+M)}(f.modifiers,f.date)};c(h).data("countdown",A);r();return c(h).data("countdown")}c.fn.countdown=function(h){if(this.get(0))return new d(this.get(0),h)}})(jQuery);
(function(c){function d(){window.console&&window.console.log&&window.console.log("[cycle] "+Array.prototype.join.call(arguments,""))}function h(z,r,A,v){if(!r.busy){var C=r.container,p=z[r.currSlide],b=z[r.nextSlide];if(!(C.cycleTimeout===0&&!A))if(!A&&!C.cyclePause&&(r.autostop&&--r.countdown<=0||r.nowrap&&!r.random&&r.nextSlide<r.currSlide))r.end&&r.end(r);else{if(A||!C.cyclePause){r.before.length&&c.each(r.before,function(M,T){T.apply(b,[p,b,r,v])});A=function(){c.browser.msie&&r.cleartype&&this.style.removeAttribute("filter");
c.each(r.after,function(M,T){T.apply(b,[p,b,r,v])})};if(r.nextSlide!=r.currSlide){r.busy=1;if(r.fxFn)r.fxFn(p,b,r,A,v);else c.isFunction(c.fn.cycle[r.fx])?c.fn.cycle[r.fx](p,b,r,A):c.fn.cycle.custom(p,b,r,A)}if(r.random){r.currSlide=r.nextSlide;if(++r.randomIndex==z.length)r.randomIndex=0;r.nextSlide=r.randomMap[r.randomIndex]}else{A=r.nextSlide+1==z.length;r.nextSlide=A?0:r.nextSlide+1;r.currSlide=A?z.length-1:r.nextSlide-1}r.pager&&c.fn.cycle.updateActivePagerLink(r.pager,r.currSlide)}if(r.timeout&&
!r.continuous)C.cycleTimeout=setTimeout(function(){h(z,r,0,!r.rev)},r.timeout);else if(r.continuous&&C.cyclePause)C.cycleTimeout=setTimeout(function(){h(z,r,0,!r.rev)},10)}}}function f(z,r,A){var v=r.container,C=v.cycleTimeout;if(C){clearTimeout(C);v.cycleTimeout=0}if(r.random&&A<0){r.randomIndex--;if(--r.randomIndex==-2)r.randomIndex=z.length-2;else if(r.randomIndex==-1)r.randomIndex=z.length-1;r.nextSlide=r.randomMap[r.randomIndex]}else if(r.random){if(++r.randomIndex==z.length)r.randomIndex=0;
r.nextSlide=r.randomMap[r.randomIndex]}else{r.nextSlide=r.currSlide+A;if(r.nextSlide<0){if(r.nowrap)return false;r.nextSlide=z.length-1}else if(r.nextSlide>=z.length){if(r.nowrap)return false;r.nextSlide=0}}d("nextSlide: "+r.nextSlide+"; randomIndex: "+r.randomIndex);r.prevNextClick&&typeof r.prevNextClick=="function"&&r.prevNextClick(A>0,r.nextSlide,z[r.nextSlide]);h(z,r,1,A>=0);return false}function g(z,r){var A=c(r.pager);c.each(z,function(v,C){c.fn.cycle.createPagerAnchor(v,C,A,z,r)});c.fn.cycle.updateActivePagerLink(r.pager,
r.startingSlide)}function o(z){function r(v){v=parseInt(v).toString(16);return v.length<2?"0"+v:v}function A(v){for(;v&&v.nodeName.toLowerCase()!="html";v=v.parentNode){var C=c.css(v,"background-color");if(C.indexOf("rgb")>=0){v=C.match(/\d+/g);return"#"+r(v[0])+r(v[1])+r(v[2])}if(C&&C!="transparent")return C}return"#ffffff"}z.each(function(){c(this).css("background-color",A(this))})}var n=c.browser.msie&&/MSIE 6.0/.test(navigator.userAgent);c.fn.cycle=function(z){return this.each(function(){if(z===
undefined||z===null)z={};if(z.constructor==String)switch(z){case "stop":this.cycleTimeout&&clearTimeout(this.cycleTimeout);this.cycleTimeout=0;c(this).data("cycle.opts","");return;case "pause":this.cyclePause=1;return;case "resume":this.cyclePause=0;return;default:z={fx:z}}else if(z.constructor==Number){var r=z;z=c(this).data("cycle.opts");if(!z){d("options not found, can not advance slide");return}if(r<0||r>=z.elements.length){d("invalid slide index: "+r);return}z.nextSlide=r;if(this.cycleTimeout){clearTimeout(this.cycleTimeout);
this.cycleTimeout=0}h(z.elements,z,1,1);return}this.cycleTimeout&&clearTimeout(this.cycleTimeout);this.cyclePause=this.cycleTimeout=0;var A=c(this),v=z.slideExpr?c(z.slideExpr,this):A.children(),C=v.get();if(C.length<2)d("terminating; too few slides: "+C.length);else{var p=c.extend({},c.fn.cycle.defaults,z||{},c.metadata?A.metadata():c.meta?A.data():{});if(p.autostop)p.countdown=p.autostopCount||C.length;A.data("cycle.opts",p);p.container=this;p.elements=C;p.before=p.before?[p.before]:[];p.after=
p.after?[p.after]:[];p.after.unshift(function(){p.busy=0});p.continuous&&p.after.push(function(){h(C,p,0,!p.rev)});n&&p.cleartype&&!p.cleartypeNoBg&&o(v);r=this.className;p.width=parseInt((r.match(/w:(\d+)/)||[])[1])||p.width;p.height=parseInt((r.match(/h:(\d+)/)||[])[1])||p.height;p.timeout=parseInt((r.match(/t:(\d+)/)||[])[1])||p.timeout;A.css("position")=="static"&&A.css("position","relative");p.width&&A.width(p.width);p.height&&p.height!="auto"&&A.height(p.height);if(p.random){p.randomMap=[];
for(r=0;r<C.length;r++)p.randomMap.push(r);p.randomMap.sort(function(){return Math.random()-0.5});p.randomIndex=0;p.startingSlide=p.randomMap[0]}else if(p.startingSlide>=C.length)p.startingSlide=0;var b=p.startingSlide||0;v.css({position:"absolute",top:0,left:0}).hide().each(function(M){M=b?M>=b?C.length-(M-b):b-M:C.length-M;c(this).css("z-index",M)});c(C[b]).css("opacity",1).show();c.browser.msie&&C[b].style.removeAttribute("filter");p.fit&&p.width&&v.width(p.width);p.fit&&p.height&&p.height!="auto"&&
v.height(p.height);p.pause&&A.hover(function(){this.cyclePause=1},function(){this.cyclePause=0});r=c.fn.cycle.transitions[p.fx];if(c.isFunction(r))r(A,v,p);else p.fx!="custom"&&d("unknown transition: "+p.fx);v.each(function(){var M=c(this);this.cycleH=p.fit&&p.height?p.height:M.height();this.cycleW=p.fit&&p.width?p.width:M.width()});p.cssBefore=p.cssBefore||{};p.animIn=p.animIn||{};p.animOut=p.animOut||{};v.not(":eq("+b+")").css(p.cssBefore);p.cssFirst&&c(v[b]).css(p.cssFirst);if(p.timeout){if(p.speed.constructor==
String)p.speed={slow:600,fast:200}[p.speed]||400;for(p.sync||(p.speed/=2);p.timeout-p.speed<250;)p.timeout+=p.speed}if(p.easing)p.easeIn=p.easeOut=p.easing;if(!p.speedIn)p.speedIn=p.speed;if(!p.speedOut)p.speedOut=p.speed;p.slideCount=C.length;p.currSlide=b;if(p.random){p.nextSlide=p.currSlide;if(++p.randomIndex==C.length)p.randomIndex=0;p.nextSlide=p.randomMap[p.randomIndex]}else p.nextSlide=p.startingSlide>=C.length-1?0:p.startingSlide+1;r=v[b];p.before.length&&p.before[0].apply(r,[r,r,p,true]);
p.after.length>1&&p.after[1].apply(r,[r,r,p,true]);if(p.click&&!p.next)p.next=p.click;p.next&&c(p.next).bind("click",function(){return f(C,p,p.rev?-1:1)});p.prev&&c(p.prev).bind("click",function(){return f(C,p,p.rev?1:-1)});p.pager&&g(C,p);p.addSlide=function(M){M=c(M);var T=M[0];p.autostopCount||p.countdown++;C.push(T);p.els&&p.els.push(T);p.slideCount=C.length;M.css("position","absolute").appendTo(A);n&&p.cleartype&&!p.cleartypeNoBg&&o(M);p.fit&&p.width&&M.width(p.width);p.fit&&p.height&&p.height!=
"auto"&&v.height(p.height);T.cycleH=p.fit&&p.height?p.height:M.height();T.cycleW=p.fit&&p.width?p.width:M.width();M.css(p.cssBefore);p.pager&&c.fn.cycle.createPagerAnchor(C.length-1,T,c(p.pager),C,p);typeof p.onAddSlide=="function"&&p.onAddSlide(M)};if(p.timeout||p.continuous)this.cycleTimeout=setTimeout(function(){h(C,p,0,!p.rev)},p.continuous?10:p.timeout+(p.delay||0))}})};c.fn.cycle.updateActivePagerLink=function(z,r){c(z).find("a").removeClass("activeSlide").filter("a:eq("+r+")").addClass("activeSlide")};
c.fn.cycle.createPagerAnchor=function(z,r,A,v,C){r=typeof C.pagerAnchorBuilder=="function"?c(C.pagerAnchorBuilder(z,r)):c('<a href="#">'+(z+1)+"</a>");r.parents("body").length==0&&r.appendTo(A);r.bind(C.pagerEvent,function(){C.nextSlide=z;var p=C.container,b=p.cycleTimeout;if(b){clearTimeout(b);p.cycleTimeout=0}typeof C.pagerClick=="function"&&C.pagerClick(C.nextSlide,v[C.nextSlide]);h(v,C,1,C.currSlide<z);return false})};c.fn.cycle.custom=function(z,r,A,v){var C=c(z),p=c(r);p.css(A.cssBefore);var b=
function(){p.animate(A.animIn,A.speedIn,A.easeIn,v)};C.animate(A.animOut,A.speedOut,A.easeOut,function(){A.cssAfter&&C.css(A.cssAfter);A.sync||b()});A.sync&&b()};c.fn.cycle.transitions={fade:function(z,r,A){r.not(":eq("+A.startingSlide+")").css("opacity",0);A.before.push(function(){c(this).show()});A.animIn={opacity:1};A.animOut={opacity:0};A.cssBefore={opacity:0};A.cssAfter={display:"none"}}};c.fn.cycle.ver=function(){return"2.24"};c.fn.cycle.defaults={fx:"fade",timeout:4E3,continuous:0,speed:1E3,
speedIn:null,speedOut:null,next:null,prev:null,prevNextClick:null,pager:null,pagerClick:null,pagerEvent:"click",pagerAnchorBuilder:null,before:null,after:null,end:null,easing:null,easeIn:null,easeOut:null,shuffle:null,animIn:null,animOut:null,cssBefore:null,cssAfter:null,fxFn:null,height:"auto",startingSlide:0,sync:1,random:0,fit:0,pause:0,autostop:0,autostopCount:0,delay:0,slideExpr:null,cleartype:0,nowrap:0}})(jQuery);
(function(c){c.fn.cycle.transitions.scrollUp=function(d,h,f){d.css("overflow","hidden");f.before.push(function(g,o,n){c(this).show();n.cssBefore.top=o.offsetHeight;n.animOut.top=0-g.offsetHeight});f.cssFirst={top:0};f.animIn={top:0};f.cssAfter={display:"none"}};c.fn.cycle.transitions.scrollDown=function(d,h,f){d.css("overflow","hidden");f.before.push(function(g,o,n){c(this).show();n.cssBefore.top=0-o.offsetHeight;n.animOut.top=g.offsetHeight});f.cssFirst={top:0};f.animIn={top:0};f.cssAfter={display:"none"}};
c.fn.cycle.transitions.scrollLeft=function(d,h,f){d.css("overflow","hidden");f.before.push(function(g,o,n){c(this).show();n.cssBefore.left=o.offsetWidth;n.animOut.left=0-g.offsetWidth});f.cssFirst={left:0};f.animIn={left:0}};c.fn.cycle.transitions.scrollRight=function(d,h,f){d.css("overflow","hidden");f.before.push(function(g,o,n){c(this).show();n.cssBefore.left=0-o.offsetWidth;n.animOut.left=g.offsetWidth});f.cssFirst={left:0};f.animIn={left:0}};c.fn.cycle.transitions.scrollHorz=function(d,h,f){d.css("overflow",
"hidden").width();f.before.push(function(g,o,n,z){c(this).show();var r=g.offsetWidth;o=o.offsetWidth;n.cssBefore=z?{left:o}:{left:-o};n.animIn.left=0;n.animOut.left=z?-r:r;h.not(g).css(n.cssBefore)});f.cssFirst={left:0};f.cssAfter={display:"none"}};c.fn.cycle.transitions.scrollVert=function(d,h,f){d.css("overflow","hidden");f.before.push(function(g,o,n,z){c(this).show();var r=g.offsetHeight;o=o.offsetHeight;n.cssBefore=z?{top:-o}:{top:o};n.animIn.top=0;n.animOut.top=z?r:-r;h.not(g).css(n.cssBefore)});
f.cssFirst={top:0};f.cssAfter={display:"none"}};c.fn.cycle.transitions.slideX=function(d,h,f){f.before.push(function(g){c(g).css("zIndex",1)});f.onAddSlide=function(g){g.hide()};f.cssBefore={zIndex:2};f.animIn={width:"show"};f.animOut={width:"hide"}};c.fn.cycle.transitions.slideY=function(d,h,f){f.before.push(function(g){c(g).css("zIndex",1)});f.onAddSlide=function(g){g.hide()};f.cssBefore={zIndex:2};f.animIn={height:"show"};f.animOut={height:"hide"}};c.fn.cycle.transitions.shuffle=function(d,h,f){d=
d.css("overflow","visible").width();h.css({left:0,top:0});f.before.push(function(){c(this).show()});f.speed/=2;f.random=0;f.shuffle=f.shuffle||{left:-d,top:15};f.els=[];for(d=0;d<h.length;d++)f.els.push(h[d]);for(d=0;d<f.startingSlide;d++)f.els.push(f.els.shift());f.fxFn=function(g,o,n,z,r){var A=r?c(g):c(o);A.animate(n.shuffle,n.speedIn,n.easeIn,function(){r?n.els.push(n.els.shift()):n.els.unshift(n.els.pop());if(r)for(var v=0,C=n.els.length;v<C;v++)c(n.els[v]).css("z-index",C-v);else{v=c(g).css("z-index");
A.css("z-index",parseInt(v)+1)}A.animate({left:0,top:0},n.speedOut,n.easeOut,function(){c(r?this:g).hide();z&&z()})})};f.onAddSlide=function(g){g.hide()}};c.fn.cycle.transitions.turnUp=function(d,h,f){f.before.push(function(g,o,n){c(this).show();n.cssBefore.top=o.cycleH;n.animIn.height=o.cycleH});f.onAddSlide=function(g){g.hide()};f.cssFirst={top:0};f.cssBefore={height:0};f.animIn={top:0};f.animOut={height:0};f.cssAfter={display:"none"}};c.fn.cycle.transitions.turnDown=function(d,h,f){f.before.push(function(g,
o,n){c(this).show();n.animIn.height=o.cycleH;n.animOut.top=g.cycleH});f.onAddSlide=function(g){g.hide()};f.cssFirst={top:0};f.cssBefore={top:0,height:0};f.animOut={height:0};f.cssAfter={display:"none"}};c.fn.cycle.transitions.turnLeft=function(d,h,f){f.before.push(function(g,o,n){c(this).show();n.cssBefore.left=o.cycleW;n.animIn.width=o.cycleW});f.onAddSlide=function(g){g.hide()};f.cssBefore={width:0};f.animIn={left:0};f.animOut={width:0};f.cssAfter={display:"none"}};c.fn.cycle.transitions.turnRight=
function(d,h,f){f.before.push(function(g,o,n){c(this).show();n.animIn.width=o.cycleW;n.animOut.left=g.cycleW});f.onAddSlide=function(g){g.hide()};f.cssBefore={left:0,width:0};f.animIn={left:0};f.animOut={width:0};f.cssAfter={display:"none"}};c.fn.cycle.transitions.zoom=function(d,h,f){f.cssFirst={top:0,left:0};f.cssAfter={display:"none"};f.before.push(function(g,o,n){c(this).show();n.cssBefore={width:0,height:0,top:o.cycleH/2,left:o.cycleW/2};n.cssAfter={display:"none"};n.animIn={top:0,left:0,width:o.cycleW,
height:o.cycleH};n.animOut={width:0,height:0,top:g.cycleH/2,left:g.cycleW/2};c(g).css("zIndex",2);c(o).css("zIndex",1)});f.onAddSlide=function(g){g.hide()}};c.fn.cycle.transitions.fadeZoom=function(d,h,f){f.before.push(function(g,o,n){n.cssBefore={width:0,height:0,opacity:1,left:o.cycleW/2,top:o.cycleH/2,zIndex:1};n.animIn={top:0,left:0,width:o.cycleW,height:o.cycleH}});f.animOut={opacity:0};f.cssAfter={zIndex:0}};c.fn.cycle.transitions.blindX=function(d,h,f){d=d.css("overflow","hidden").width();
h.show();f.before.push(function(g){c(g).css("zIndex",1)});f.cssBefore={left:d,zIndex:2};f.cssAfter={zIndex:1};f.animIn={left:0};f.animOut={left:d}};c.fn.cycle.transitions.blindY=function(d,h,f){d=d.css("overflow","hidden").height();h.show();f.before.push(function(g){c(g).css("zIndex",1)});f.cssBefore={top:d,zIndex:2};f.cssAfter={zIndex:1};f.animIn={top:0};f.animOut={top:d}};c.fn.cycle.transitions.blindZ=function(d,h,f){var g=d.css("overflow","hidden").height();d=d.width();h.show();f.before.push(function(o){c(o).css("zIndex",
1)});f.cssBefore={top:g,left:d,zIndex:2};f.cssAfter={zIndex:1};f.animIn={top:0,left:0};f.animOut={top:g,left:d}};c.fn.cycle.transitions.growX=function(d,h,f){f.before.push(function(g,o,n){n.cssBefore={left:this.cycleW/2,width:0,zIndex:2};n.animIn={left:0,width:this.cycleW};n.animOut={left:0};c(g).css("zIndex",1)});f.onAddSlide=function(g){g.hide().css("zIndex",1)}};c.fn.cycle.transitions.growY=function(d,h,f){f.before.push(function(g,o,n){n.cssBefore={top:this.cycleH/2,height:0,zIndex:2};n.animIn=
{top:0,height:this.cycleH};n.animOut={top:0};c(g).css("zIndex",1)});f.onAddSlide=function(g){g.hide().css("zIndex",1)}};c.fn.cycle.transitions.curtainX=function(d,h,f){f.before.push(function(g,o,n){n.cssBefore={left:o.cycleW/2,width:0,zIndex:1,display:"block"};n.animIn={left:0,width:this.cycleW};n.animOut={left:g.cycleW/2,width:0};c(g).css("zIndex",2)});f.onAddSlide=function(g){g.hide()};f.cssAfter={zIndex:1,display:"none"}};c.fn.cycle.transitions.curtainY=function(d,h,f){f.before.push(function(g,
o,n){n.cssBefore={top:o.cycleH/2,height:0,zIndex:1,display:"block"};n.animIn={top:0,height:this.cycleH};n.animOut={top:g.cycleH/2,height:0};c(g).css("zIndex",2)});f.onAddSlide=function(g){g.hide()};f.cssAfter={zIndex:1,display:"none"}};c.fn.cycle.transitions.cover=function(d,h,f){var g=f.direction||"left",o=d.css("overflow","hidden").width(),n=d.height();f.before.push(function(z,r,A){A.cssBefore=A.cssBefore||{};A.cssBefore.zIndex=2;A.cssBefore.display="block";if(g=="right")A.cssBefore.left=-o;else if(g==
"up")A.cssBefore.top=n;else if(g=="down")A.cssBefore.top=-n;else A.cssBefore.left=o;c(z).css("zIndex",1)});if(!f.animIn)f.animIn={left:0,top:0};if(!f.animOut)f.animOut={left:0,top:0};f.cssAfter=f.cssAfter||{};f.cssAfter.zIndex=2;f.cssAfter.display="none"};c.fn.cycle.transitions.uncover=function(d,h,f){var g=f.direction||"left",o=d.css("overflow","hidden").width(),n=d.height();f.before.push(function(z,r,A){A.cssBefore.display="block";if(g=="right")A.animOut.left=o;else if(g=="up")A.animOut.top=-n;
else if(g=="down")A.animOut.top=n;else A.animOut.left=-o;c(z).css("zIndex",2);c(r).css("zIndex",1)});f.onAddSlide=function(z){z.hide()};if(!f.animIn)f.animIn={left:0,top:0};f.cssBefore=f.cssBefore||{};f.cssBefore.top=0;f.cssBefore.left=0;f.cssAfter=f.cssAfter||{};f.cssAfter.zIndex=1;f.cssAfter.display="none"};c.fn.cycle.transitions.toss=function(d,h,f){var g=d.css("overflow","visible").width(),o=d.height();f.before.push(function(n,z,r){c(n).css("zIndex",2);r.cssBefore.display="block";if(!r.animOut.left&&
!r.animOut.top)r.animOut={left:g*2,top:-o/2,opacity:0};else r.animOut.opacity=0});f.onAddSlide=function(n){n.hide()};f.cssBefore={left:0,top:0,zIndex:1,opacity:1};f.animIn={left:0};f.cssAfter={zIndex:2,display:"none"}};c.fn.cycle.transitions.wipe=function(d,h,f){var g=d.css("overflow","hidden").width(),o=d.height();f.cssBefore=f.cssBefore||{};var n;if(f.clip)if(/l2r/.test(f.clip))n="rect(0px 0px "+o+"px 0px)";else if(/r2l/.test(f.clip))n="rect(0px "+g+"px "+o+"px "+g+"px)";else if(/t2b/.test(f.clip))n=
"rect(0px "+g+"px 0px 0px)";else if(/b2t/.test(f.clip))n="rect("+o+"px "+g+"px "+o+"px 0px)";else if(/zoom/.test(f.clip)){var z=parseInt(o/2),r=parseInt(g/2);n="rect("+z+"px "+r+"px "+z+"px "+r+"px)"}f.cssBefore.clip=f.cssBefore.clip||n||"rect(0px 0px 0px 0px)";d=f.cssBefore.clip.match(/(\d+)/g);z=parseInt(d[0]);var A=parseInt(d[1]),v=parseInt(d[2]);r=parseInt(d[3]);f.before.push(function(C,p,b){function M(){var P=z?z-parseInt(V*(z/K)):0,Q=r?r-parseInt(V*(r/K)):0,Y=v<o?v+parseInt(V*((o-v)/K||1)):
o,da=A<g?A+parseInt(V*((g-A)/K||1)):g;W.css({clip:"rect("+P+"px "+da+"px "+Y+"px "+Q+"px)"});V++<=K?setTimeout(M,13):T.css("display","none")}if(C!=p){var T=c(C).css("zIndex",2),W=c(p).css({zIndex:3,display:"block"}),V=1,K=parseInt(b.speedIn/13)-1;M()}});f.cssAfter={};f.animIn={left:0};f.animOut={left:0}}})(jQuery);
(function(c){c.extend(c.fn,{delayedObserver:function(d,h,f){return this.each(function(){var g=c(this),o=f||{};g.data("oldval",g.val()).data("delay",h||0.5).data("condition",o.condition||function(){return c(this).data("oldval")==c(this).val()}).data("callback",d)[o.event||"keyup"](function(){if(!g.data("condition").apply(g)){g.data("timer")&&clearTimeout(g.data("timer"));g.data("timer",setTimeout(function(){g.data("callback").apply(g)},g.data("delay")*1E3));g.data("oldval",g.val())}})})}})})(jQuery);
(function(){function c(){var f="";for(var g in this)if(typeof this[g]!="function")f+=g+'="'+this[g]+'" ';return f}function d(){var f="";for(var g in this)if(typeof this[g]!="function")f+=g+"="+encodeURIComponent(this[g])+"&";return f.replace(/&$/,"")}var h;h=jQuery.fn.flash=function(f,g,o,n){var z=o||h.replace;g=h.copy(h.pluginOptions,g);if(!h.hasFlash(g.version))if(g.expressInstall&&h.hasFlash(6,0,65))var r={flashvars:{MMredirectURL:location,MMplayerType:"PlugIn",MMdoctitle:jQuery("title").text()}};
else if(g.update)z=n||h.update;else return this;f=h.copy(h.htmlOptions,r,f);return this.each(function(){z.call(this,h.copy(f))})};h.copy=function(){for(var f={},g={},o=0;o<arguments.length;o++){var n=arguments[o];if(n!=undefined){jQuery.extend(f,n);n.flashvars!=undefined&&jQuery.extend(g,n.flashvars)}}f.flashvars=g;return f};h.hasFlash=function(f,g,o){if(/hasFlash\=true/.test(location))return true;if(/hasFlash\=false/.test(location))return false;var n=h.hasFlash.playerVersion().match(/\d+/g);f=String([f,
g,o]).match(/\d+/g)||String(h.pluginOptions.version).match(/\d+/g);for(g=0;g<3;g++){n[g]=parseInt(n[g]||0);f[g]=parseInt(f[g]||0);if(n[g]<f[g])return false;if(n[g]>f[g])return true}return true};h.hasFlash.playerVersion=function(){try{try{var f=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");try{f.AllowScriptAccess="always"}catch(g){return"6,0,0"}}catch(o){}return(new ActiveXObject("ShockwaveFlash.ShockwaveFlash")).GetVariable("$version").replace(/\D+/g,",").match(/^,?(.+),?$/)[1]}catch(n){try{if(navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin)return(navigator.plugins["Shockwave Flash 2.0"]||
navigator.plugins["Shockwave Flash"]).description.replace(/\D+/g,",").match(/^,?(.+),?$/)[1]}catch(z){}}return"0,0,0"};h.htmlOptions={height:240,flashvars:{},pluginspage:"http://www.adobe.com/go/getflashplayer",src:"#",type:"application/x-shockwave-flash",width:320};h.pluginOptions={expressInstall:false,update:true,version:"6.0.65"};h.replace=function(f){this.innerHTML='<div class="alt">'+this.innerHTML+"</div>";jQuery(this).addClass("flash-replaced").prepend(h.transform(f))};h.update=function(){var f=
String(location).split("?");f.splice(1,0,"?hasFlash=true&");f=f.join("");f='<p>This content requires the Flash Player. <a href="http://www.adobe.com/go/getflashplayer">Download Flash Player</a>. Already have Flash Player? <a href="'+f+'">Click here.</a></p>';this.innerHTML='<span class="alt">'+this.innerHTML+"</span>";jQuery(this).addClass("flash-update").prepend(f)};h.transform=function(f){f.toString=c;if(f.flashvars)f.flashvars.toString=d;return"<embed "+String(f)+"/>"};window.attachEvent&&window.attachEvent("onbeforeunload",
function(){__flash_unloadHandler=function(){};__flash_savedUnloadHandler=function(){}})})();
(function(c){c._i18n={trans:{},"default":"en",language:"en"};c.i18n=function(){var d=function(f,g){var o=false;if(c._i18n.trans[c._i18n.language]&&c._i18n.trans[c._i18n.language][f]&&c._i18n.trans[c._i18n.language][f][g])o=c._i18n.trans[c._i18n.language][f][g];else if(c._i18n.trans[c._i18n["default"]]&&c._i18n.trans[c._i18n["default"]][f]&&c._i18n.trans[c._i18n["default"]][f][g])o=c._i18n.trans[c._i18n["default"]][f][g];return o||g};if(arguments.length<2){c._i18n.language=arguments[0];return c._i18n.language}else if(typeof arguments[1]==
"string"){d=d(arguments[0],arguments[1]);return arguments[2]&&typeof arguments[2]=="object"?c.format(d,arguments[2]):d}else{var h=arguments[0].split(".");d=h[0];h=h[1]||"jQuery";if(c._i18n.trans[d])c.extend(c._i18n.trans[d][h],arguments[1]);else{c._i18n.trans[d]={};c._i18n.trans[d][h]=arguments[1]}}}})(jQuery);
(function(c){c.fn.caret=function(h,f){if(this.length!=0)if(typeof h=="number"){f=typeof f=="number"?f:h;return this.each(function(){if(this.setSelectionRange){this.focus();this.setSelectionRange(h,f)}else if(this.createTextRange){var o=this.createTextRange();o.collapse(true);o.moveEnd("character",f);o.moveStart("character",h);o.select()}})}else{if(this[0].setSelectionRange){h=this[0].selectionStart;f=this[0].selectionEnd}else if(document.selection&&document.selection.createRange){var g=document.selection.createRange();
h=0-g.duplicate().moveStart("character",-100000);f=h+g.text.length}return{begin:h,end:f}}};var d={"9":"[0-9]",a:"[A-Za-z]","*":"[A-Za-z0-9]"};c.mask={addPlaceholder:function(h,f){d[h]=f}};c.fn.unmask=function(){return this.trigger("unmask")};c.fn.mask=function(h,f){f=c.extend({placeholder:"_",completed:null},f);var g=new RegExp("^"+c.map(h.split(""),function(o){return d[o]||(/[A-Za-z0-9]/.test(o)?"":"\\")+o}).join("")+"$");return this.each(function(){function o(){v();A();setTimeout(function(){c(p[0]).caret(T?
h.length:V)},0)}function n(K){var P=c(this).caret();K=K.keyCode;W=K<16||K>16&&K<32||K>32&&K<41;if(P.begin-P.end!=0&&(!W||K==8||K==46))r(P.begin,P.end);if(K==8)for(;P.begin-- >=0;){if(!M[P.begin]){b[P.begin]=f.placeholder;if(c.browser.opera){s=A();p.val(s.substring(0,P.begin)+" "+s.substring(P.begin));c(this).caret(P.begin+1)}else{A();c(this).caret(Math.max(V,P.begin))}return false}}else if(K==46){r(P.begin,P.begin+1);A();c(this).caret(Math.max(V,P.begin));return false}else if(K==27){r(0,h.length);
A();c(this).caret(V);return false}}function z(K){if(W){W=false;return K.keyCode==8?false:null}K=K||window.event;var P=K.charCode||K.keyCode||K.which,Q=c(this).caret();if(K.ctrlKey||K.altKey)return true;else if(P>=41&&P<=122||P==32||P>186){K=C(Q.begin-1);if(K<h.length)if((new RegExp(d[h.charAt(K)])).test(String.fromCharCode(P))){b[K]=String.fromCharCode(P);A();P=C(K);c(this).caret(P);f.completed&&P==h.length&&f.completed.call(p)}}return false}function r(K,P){for(K=K;K<P&&K<h.length;K++)if(!M[K])b[K]=
f.placeholder}function A(){return p.val(b.join("")).val()}function v(){for(var K=p.val(),P=0,Q=0;Q<h.length;Q++)if(!M[Q])for(b[Q]=f.placeholder;P++<K.length;){var Y=new RegExp(d[h.charAt(Q)]);if(K.charAt(P-1).match(Y)){b[Q]=K.charAt(P-1);break}}if(A().match(g))T=true;else{p.val("");r(0,h.length);T=false}}function C(K){for(;++K<h.length;)if(!M[K])return K;return h.length}var p=c(this),b=new Array(h.length),M=new Array(h.length),T=false,W=false,V=null;c.each(h.split(""),function(K,P){M[K]=d[P]==null;
b[K]=M[K]?P:f.placeholder;if(!M[K]&&V==null)V=K});p.one("unmask",function(){p.unbind("focus",o);p.unbind("blur",v);p.unbind("keydown",n);p.unbind("keypress",z);if(c.browser.msie)this.onpaste=null;else c.browser.mozilla&&this.removeEventListener("input",v,false)});p.bind("focus",o);p.bind("blur",v);p.bind("keydown",n);p.bind("keypress",z);if(c.browser.msie)this.onpaste=function(){setTimeout(v,0)};else c.browser.mozilla&&this.addEventListener("input",v,false);v()})}})(jQuery);
(function(c){c.event.special.mousewheel={setup:function(){var d=c.event.special.mousewheel.handler;c.browser.mozilla&&c(this).bind("mousemove.mousewheel",function(h){c.data(this,"mwcursorposdata",{pageX:h.pageX,pageY:h.pageY,clientX:h.clientX,clientY:h.clientY})});if(this.addEventListener)this.addEventListener(c.browser.mozilla?"DOMMouseScroll":"mousewheel",d,false);else this.onmousewheel=d},teardown:function(){var d=c.event.special.mousewheel.handler;c(this).unbind("mousemove.mousewheel");if(this.removeEventListener)this.removeEventListener(c.browser.mozilla?
"DOMMouseScroll":"mousewheel",d,false);else this.onmousewheel=function(){};c.removeData(this,"mwcursorposdata")},handler:function(d){var h=Array.prototype.slice.call(arguments,1);d=c.event.fix(d||window.event);c.extend(d,c.data(this,"mwcursorposdata")||{});var f=0;if(d.wheelDelta)f=d.wheelDelta/120;if(d.detail)f=-d.detail/3;if(c.browser.opera)f=-d.wheelDelta;d.data=d.data||{};d.type="mousewheel";h.unshift(f);h.unshift(d);return c.event.handle.apply(this,h)}};c.fn.extend({mousewheel:function(d){return d?
this.bind("mousewheel",d):this.trigger("mousewheel")},unmousewheel:function(d){return this.unbind("mousewheel",d)}})})(jQuery);
(function(c){function d(){var t=C.scrollLeft(),y=ga?aa.clientWidth:C.width();c([$,u]).css("left",t+y/2);K&&c(Z).css({left:t,top:C.scrollTop(),width:y,height:C.height()})}function h(t){c("object").add(da?"select":"embed").each(function(G,I){t&&c.data(I,"slimbox",I.style.visibility);I.style.visibility=t?"hidden":c.data(I,"slimbox")});var y=t?"bind":"unbind";C[y]("scroll resize",d);c(document)[y]("keydown",f)}function f(t){t=t.keyCode;var y=c.inArray;return y(t,p.closeKeys)>=0?v():y(t,p.nextKeys)>=0?
o():y(t,p.previousKeys)>=0?g():false}function g(){return n(W)}function o(){return n(V)}function n(t){if(t>=0){M=t;T=b[M][0];W=(M||(p.loop?b.length:0))-1;V=(M+1)%b.length||(p.loop?0:-1);A();$.className="lbLoading";S=new Image;S.onload=z;S.src=T}return false}function z(){$.className="";c(a).css({backgroundImage:"url("+T+")",visibility:"hidden",display:""});c(e).width(S.width);c([e,i,m]).height(S.height);c(F).html(b[M][1]||"");c(D).html((b.length>1&&p.counterText||"").replace(/{x}/,M+1).replace(/{y}/,
b.length));if(W>=0)ca.src=b[W][0];if(V>=0)ea.src=b[V][0];Q=a.offsetWidth;Y=a.offsetHeight;var t=Math.max(0,P-Y/2);$.offsetHeight!=Y&&c($).animate({height:Y,top:t},p.resizeDuration,p.resizeEasing);$.offsetWidth!=Q&&c($).animate({width:Q,marginLeft:-Q/2},p.resizeDuration,p.resizeEasing);c($).queue(function(){c(u).css({width:Q,top:t+Y,marginLeft:-Q/2,visibility:"hidden",display:""});c(a).css({display:"none",visibility:"",opacity:""}).fadeIn(p.imageFadeDuration,r)})}function r(){W>=0&&c(i).show();V>=
0&&c(m).show();c(B).css("marginTop",-B.offsetHeight).animate({marginTop:0},p.captionAnimationDuration);u.style.visibility=""}function A(){S.onload=null;S.src=ca.src=ea.src=T;c([$,a,B]).stop(true);c([i,m,a,u]).hide()}function v(){if(M>=0){A();M=W=V=-1;c($).hide();c(Z).stop().fadeOut(p.overlayFadeDuration,h)}return false}var C=c(window),p,b,M=-1,T,W,V,K,P,Q,Y,da=!window.XMLHttpRequest,ga=window.opera&&document.compatMode=="CSS1Compat"&&c.browser.version>=9.3,aa=document.documentElement,S={},ca=new Image,
ea=new Image,Z,$,a,e,i,m,u,B,F,D;c(function(){c("body").append(c([Z=c('<div id="lbOverlay" />')[0],$=c('<div id="lbCenter" />')[0],u=c('<div id="lbBottomContainer" />')[0]]).css("display","none"));a=c('<div id="lbImage" />').appendTo($).append(e=c('<div style="position: relative;" />').append([i=c('<a id="lbPrevLink" href="#" />').click(g)[0],m=c('<a id="lbNextLink" href="#" />').click(o)[0]])[0])[0];B=c('<div id="lbBottom" />').appendTo(u).append([c('<a id="lbCloseLink" href="#" />').add(Z).click(v)[0],
F=c('<div id="lbCaption" />')[0],D=c('<div id="lbNumber" />')[0],c('<div style="clear: both;" />')[0]])[0]});c.slimbox=function(t,y,G){p=c.extend({loop:false,overlayOpacity:0.8,overlayFadeDuration:400,resizeDuration:400,resizeEasing:"swing",initialWidth:250,initialHeight:250,imageFadeDuration:400,captionAnimationDuration:400,counterText:"Image {x} of {y}",closeKeys:[27,88,67],previousKeys:[37,80],nextKeys:[39,78]},G);if(typeof t=="string"){t=[[t,y]];y=0}P=C.scrollTop()+(ga?aa.clientHeight:C.height())/
2;Q=p.initialWidth;Y=p.initialHeight;c($).css({top:Math.max(0,P-Y/2),width:Q,height:Y,marginLeft:-Q/2}).show();if(K=da||Z.currentStyle&&Z.currentStyle.position!="fixed")Z.style.position="absolute";c(Z).css("opacity",p.overlayOpacity).fadeIn(p.overlayFadeDuration);d();h(1);b=t;p.loop=p.loop&&b.length>1;return n(y)};c.fn.slimbox=function(t,y,G){y=y||function(O){return[O.href,O.title]};G=G||function(){return true};var I=this;return I.unbind("click").click(function(){var O=this,L=0,U,j=0,q;U=c.grep(I,
function(w,E){return G.call(O,w,E)});for(q=U.length;j<q;++j){if(U[j]==O)L=j;U[j]=y(U[j],j)}return c.slimbox(U,L,t)})}})(jQuery);
(function(c){function d(){var n=o.parse(this.title);isNaN(n)||c(this).text(h(n));return this}function h(n){return o.inWords(f(n))}function f(n){return(new Date).getTime()-n.getTime()}function g(n,z){return n.replace(/%d/i,z)}c.timeago=function(n){return n instanceof Date?h(n):typeof n=="string"?h(c.timeago.parse(n)):h(c.timeago.parse(c(n).attr("title")))};var o=c.timeago;c.extend(c.timeago,{settings:{refreshMillis:6E4,allowFuture:false,strings:{ago:"ago",fromNow:"from now",seconds:"less than a minute",
minute:"about a minute",minutes:"%d minutes",hour:"about an hour",hours:"about %d hours",day:"a day",days:"%d days",month:"about a month",months:"%d months",year:"about a year",years:"%d years"}},inWords:function(n){var z=this.settings.strings,r=z.ago;if(this.settings.allowFuture){if(n<0)r=z.fromNow;n=Math.abs(n)}n=n/1E3;var A=n/60,v=A/60,C=v/24,p=C/365;return(n<45&&g(z.seconds,Math.round(n))||n<90&&z.minute||A<45&&g(z.minutes,Math.round(A))||A<90&&z.hour||v<24&&g(z.hours,Math.round(v))||v<48&&z.day||
C<30&&g(z.days,Math.floor(C))||C<60&&z.month||C<365&&g(z.months,Math.floor(C/30))||p<2&&z.year||g(z.years,Math.floor(p)))+" "+r},parse:function(n){n=c.trim(n);n=n.replace(/-/,"/").replace(/-/,"/");n=n.replace(/T/," ").replace(/Z/," UTC");n=n.replace(/([\+-]\d\d)\:?(\d\d)/," $1$2");return new Date(n)}});c.fn.timeago=function(){var n=this;n.each(d);var z=o.settings;z.refreshMillis>0&&setInterval(function(){n.each(d)},z.refreshMillis);return n};c.browser.msie&&c.browser.version<7&&document.createElement("abbr")})(jQuery);jQuery.easing.jswing=jQuery.easing.swing;
jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(c,d,h,f,g){return jQuery.easing[jQuery.easing.def](c,d,h,f,g)},easeInQuad:function(c,d,h,f,g){return f*(d/=g)*d+h},easeOutQuad:function(c,d,h,f,g){return-f*(d/=g)*(d-2)+h},easeInOutQuad:function(c,d,h,f,g){if((d/=g/2)<1)return f/2*d*d+h;return-f/2*(--d*(d-2)-1)+h},easeInCubic:function(c,d,h,f,g){return f*(d/=g)*d*d+h},easeOutCubic:function(c,d,h,f,g){return f*((d=d/g-1)*d*d+1)+h},easeInOutCubic:function(c,d,h,f,g){if((d/=g/2)<1)return f/
2*d*d*d+h;return f/2*((d-=2)*d*d+2)+h},easeInQuart:function(c,d,h,f,g){return f*(d/=g)*d*d*d+h},easeOutQuart:function(c,d,h,f,g){return-f*((d=d/g-1)*d*d*d-1)+h},easeInOutQuart:function(c,d,h,f,g){if((d/=g/2)<1)return f/2*d*d*d*d+h;return-f/2*((d-=2)*d*d*d-2)+h},easeInQuint:function(c,d,h,f,g){return f*(d/=g)*d*d*d*d+h},easeOutQuint:function(c,d,h,f,g){return f*((d=d/g-1)*d*d*d*d+1)+h},easeInOutQuint:function(c,d,h,f,g){if((d/=g/2)<1)return f/2*d*d*d*d*d+h;return f/2*((d-=2)*d*d*d*d+2)+h},easeInSine:function(c,
d,h,f,g){return-f*Math.cos(d/g*(Math.PI/2))+f+h},easeOutSine:function(c,d,h,f,g){return f*Math.sin(d/g*(Math.PI/2))+h},easeInOutSine:function(c,d,h,f,g){return-f/2*(Math.cos(Math.PI*d/g)-1)+h},easeInExpo:function(c,d,h,f,g){return d==0?h:f*Math.pow(2,10*(d/g-1))+h},easeOutExpo:function(c,d,h,f,g){return d==g?h+f:f*(-Math.pow(2,-10*d/g)+1)+h},easeInOutExpo:function(c,d,h,f,g){if(d==0)return h;if(d==g)return h+f;if((d/=g/2)<1)return f/2*Math.pow(2,10*(d-1))+h;return f/2*(-Math.pow(2,-10*--d)+2)+h},
easeInCirc:function(c,d,h,f,g){return-f*(Math.sqrt(1-(d/=g)*d)-1)+h},easeOutCirc:function(c,d,h,f,g){return f*Math.sqrt(1-(d=d/g-1)*d)+h},easeInOutCirc:function(c,d,h,f,g){if((d/=g/2)<1)return-f/2*(Math.sqrt(1-d*d)-1)+h;return f/2*(Math.sqrt(1-(d-=2)*d)+1)+h},easeInElastic:function(c,d,h,f,g){var o=0,n=f;if(d==0)return h;if((d/=g)==1)return h+f;o||(o=g*0.3);if(n<Math.abs(f)){n=f;c=o/4}else c=o/(2*Math.PI)*Math.asin(f/n);return-(n*Math.pow(2,10*(d-=1))*Math.sin((d*g-c)*2*Math.PI/o))+h},easeOutElastic:function(c,
d,h,f,g){var o=0,n=f;if(d==0)return h;if((d/=g)==1)return h+f;o||(o=g*0.3);if(n<Math.abs(f)){n=f;c=o/4}else c=o/(2*Math.PI)*Math.asin(f/n);return n*Math.pow(2,-10*d)*Math.sin((d*g-c)*2*Math.PI/o)+f+h},easeInOutElastic:function(c,d,h,f,g){var o=0,n=f;if(d==0)return h;if((d/=g/2)==2)return h+f;o||(o=g*0.3*1.5);if(n<Math.abs(f)){n=f;c=o/4}else c=o/(2*Math.PI)*Math.asin(f/n);if(d<1)return-0.5*n*Math.pow(2,10*(d-=1))*Math.sin((d*g-c)*2*Math.PI/o)+h;return n*Math.pow(2,-10*(d-=1))*Math.sin((d*g-c)*2*Math.PI/
o)*0.5+f+h},easeInBack:function(c,d,h,f,g,o){if(o==undefined)o=1.70158;return f*(d/=g)*d*((o+1)*d-o)+h},easeOutBack:function(c,d,h,f,g,o){if(o==undefined)o=1.70158;return f*((d=d/g-1)*d*((o+1)*d+o)+1)+h},easeInOutBack:function(c,d,h,f,g,o){if(o==undefined)o=1.70158;if((d/=g/2)<1)return f/2*d*d*(((o*=1.525)+1)*d-o)+h;return f/2*((d-=2)*d*(((o*=1.525)+1)*d+o)+2)+h},easeInBounce:function(c,d,h,f,g){return f-jQuery.easing.easeOutBounce(c,g-d,0,f,g)+h},easeOutBounce:function(c,d,h,f,g){return(d/=g)<1/
2.75?f*7.5625*d*d+h:d<2/2.75?f*(7.5625*(d-=1.5/2.75)*d+0.75)+h:d<2.5/2.75?f*(7.5625*(d-=2.25/2.75)*d+0.9375)+h:f*(7.5625*(d-=2.625/2.75)*d+0.984375)+h},easeInOutBounce:function(c,d,h,f,g){if(d<g/2)return jQuery.easing.easeInBounce(c,d*2,0,f,g)*0.5+h;return jQuery.easing.easeOutBounce(c,d*2-g,0,f,g)*0.5+f*0.5+h}});if(!window.chattarati){window.chattarati={};var chattarati=window.chattarati}
(function(c){protos={a:c("<a />"),img:c("<img />"),li:c("<li />"),span:c("<span />")};c(document).ready(function(){c("body").addClass("scripted");chattarati.isMobile=c("body").is(".mobile");chattarati.login();if(chattarati.isMobile)chattarati.mobile();else{chattarati.nav();chattarati.equalHeights();chattarati.selectors();chattarati.audio();chattarati.lightbox()}chattarati.ajaxComments();chattarati.tweet();c("a[rel*=external]").attr({target:"_blank"});c.browser.msie&&c.browser.version<7&&chattarati.IE6()});
c(window).load(function(){chattarati.slideshow();chattarati.isMobile?setTimeout(function(){c(window).scrollTop()==0&&window.scrollTo(0,0)},10):chattarati.equalHeights()});chattarati.nav=function(){var d=c("#nav > ul > li > a").filter(":not(.selected)").filter(":not(.ancestor)");c("#sub-nav li[rel]").each(function(){var h=c(this),f=d.filter("[rel="+h.attr("rel")+"]");f.parent("li").append(h.children("ul").clone().addClass(f.attr("rel")))})};chattarati.equalHeights=function(){if(!(jQuery.browser.msie&&
jQuery.browser.version<7)){var d=c("section:has(.articles), section:has(article):not(.top-story), .metablog #main section");if(c("body").is(".metablog")){d=c(".metablog #main section:first-child,.metablog #main section:nth-child(3n+1)").filter(":not(.top-story)");d.each(function(){var f=0;c(this).add(c(this).next("section")).add(c(this).next("section").next("section")).each(function(){f=c(this).height()>f?c(this).height():f}).each(function(){var g=c(this).children("footer:has(a.more)");g.css({"padding-top":f-
c(this).height()+parseInt(g.css("padding-top"),10)+"px"})})})}else d.each(function(){c(this).find("article:first-child,article:nth-child(3n+1)").each(function(){var f=0;c(this).add(c(this).next("article")).add(c(this).next("article").next("article")).each(function(){f=c(this).height()>f?c(this).height():f}).each(function(){var g=c(this).children("footer:has(a.more)");g.css({"padding-top":f-c(this).height()+parseInt(g.css("padding-top"),10)+"px"})})})});var h=0;c(".author").each(function(){h=c(this).height()>
h?c(this).height():h}).each(function(){c(this).height(h)});c(".two-up section:nth-child(odd)").each(function(){c(this).height()<c(this).next("section").height()?c(this).height(c(this).next("section").height()):c(this).next("section").height(c(this).height())})}};chattarati.tools=function(){var d=c("ul.tools"),h=d.find("a.share"),f=h.siblings("ul");d.width(d.width());f.hide();h.click(function(g){g.preventDefault();f.slideToggle(500)})};chattarati.weather=function(){c("body").is("#home")&&c.ajax({url:"http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20weather.forecast%20where%20location%3D37415&format=json&callback=?",
type:"GET",dataType:"json",success:function(d){d=d.query.results.channel.item.condition;var h=protos.li.clone();h.addClass("weather");h.append(protos.span.clone().addClass("title").text("Current Weather:")).append(protos.span.clone().addClass("image").append(protos.img.clone().attr({src:"http://l.yimg.com/a/i/us/we/52/"+d.code+".gif",alt:d.text,title:d.text}))).append(protos.span.clone().addClass("conditions").html(d.temp+"&deg; and "+d.text)).append(protos.span.clone().addClass("powered-by").append(protos.a.clone().attr({href:"http://weather.yahoo.com"}).text("Powered by Yahoo!")));
h.prependTo(c("#sub-nav li[rel=home] ul"))}})};chattarati.selectors=function(){c("#main section article:first-child, #main section article:nth-child(3n+1), .metablog #main section:first-child, .metablog #main section:nth-child(3n+1), #main .articles article:first-child, #main .articles article:nth-child(3n+1)").addClass("first-of-row")};chattarati.login=function(){if(c("body").is("#login")){var d={login:c("label[for=id_action_0]"),register:c("label[for=id_action_1]")};c("form#login").addClass("scripted");
var h=c("form#login button span"),f=c("form#login li.email");if(d.register.find("input").is(":checked")){d.register.addClass("on");h.text("Register")}else{f.hide();d.login.addClass("on");h.text("Log In")}d.login.click(function(){d.login.addClass("on");f.hide();d.register.removeClass("on");h.text("Log In")});d.register.click(function(){d.login.removeClass("on");f.show();d.register.addClass("on");h.text("Register")})}};chattarati.slideshow=function(){var d=c("article .photos .figure");if(!(d.size()<
2)){var h="WebkitTransition"in document.documentElement.style||"MozTransition"in document.documentElement.style,f=c('<a href="#prev" class="prev">&laquo; Previous</a>'),g=c('<a href="#next" class="next">Next &raquo;</a>'),o=c('<a href="#pause" class="play-pause pause">Pause</a>'),n=c('<a href="#view-larger" class="view-larger" title="View larger version">View Larger</a>'),z=d.parent(".photos");z.append(f).append(o).append(g).prepend(n);z.addClass("scripted");var r=0;d.each(function(){r=c(this).height()>
r?c(this).height():r});z.height(r);if(h){d.hide().css({opacity:0}).eq(0).show().css({opacity:1}).attr({current:"current"});setTimeout(function(){d.show()},1E3)}else d.hide().eq(0).show().attr({current:"current"});var A=function(v){if(typeof v=="undefined")v=false;if(v){v=d.filter("[current]");var C=v.next(".figure").size()?v.next(".figure"):d.eq(0);if(h){v.css({opacity:0,"z-index":1}).removeAttr("current");C.css({opacity:1,"z-index":2}).attr({current:"current"})}else{v.fadeOut(1E3).removeAttr("current");
C.fadeIn(1E3).attr({current:"current"})}}chattarati.slideshow.interval=setInterval(function(){var p=d.filter("[current]"),b=p.next(".figure").size()?p.next(".figure"):d.eq(0);if(h){p.css({opacity:0,"z-index":1}).removeAttr("current");b.css({opacity:1,"z-index":2}).attr({current:"current"})}else{p.fadeOut(1E3).removeAttr("current");b.fadeIn(1E3).attr({current:"current"})}},6E3)};o.swap=function(){o.is(".play")?o.removeClass("play").addClass("pause").text("Pause").attr({href:"#pause"}):o.addClass("play").removeClass("pause").text("Play").attr({href:"#play"})};
f.add(g).click(function(v){v.preventDefault();clearInterval(chattarati.slideshow.interval);o.addClass("play").removeClass("pause").text("Play").attr({href:"#play"});v=d.filter("[current]");var C=c(this).is(".prev")?v.prev(".figure").size()?v.prev(".figure"):d.eq(d.size()-1):v.next(".figure").size()?v.next(".figure"):d.eq(0);if(h){v.css({opacity:0,"z-index":1}).removeAttr("current");C.css({opacity:1,"z-index":2}).attr({current:"current"})}else{v.fadeOut(1E3).removeAttr("current");C.fadeIn(1E3).attr({current:"current"})}});
o.click(function(v){v.preventDefault();o.is(".play")?A(true):clearInterval(chattarati.slideshow.interval);o.swap()});n.click(function(v){v.preventDefault();o.is(".pause")&&o.click();d.filter("[current]").find("a[rel=lightbox]").click()});A()}};chattarati.audio=function(){try{var d=c(".audio .playlist"),h=c(".singles audio");c("<div />");AudioPlayer.setup("http://media.chattarati.com/media/player.swf",{width:"100%",transparentpagebg:"yes",leftbg:"000000",lefticon:"ffffff",rightbg:"000000",rightbghover:"333333",
righticon:"ffffff",bg:"000000",voltrack:"000000",volslider:"ffffff",loader:"666666",text:"ffffff",track:"000000",border:"000000",tracker:"333333",skip:"ffffff",animation:"no"});h.each(function(g){var o=c(this);o.siblings(".name").remove();o.attr({id:"audio-"+g}).prependTo(o.parent());AudioPlayer.embed("audio-"+g,{soundFile:o.attr("src"),titles:o.attr("title")})});d.each(function(g){var o=c(this),n="",z="";o.find("audio").each(function(){n+=c(this).attr("src")+",";z+=c(this).attr("title")+","});n=
n.replace(/,$/,"");z=z.replace(/,$/,"");o.attr({id:"playlist-"+g});AudioPlayer.embed("playlist-"+g,{soundFile:n,titles:z})})}catch(f){}};chattarati.ajaxComments=function(){var d=c("#comments"),h=d.find("form"),f=c('<p class="loading">Your comment is being submitted.</p>'),g=c('<p class="error">There was an error submitting your comment.</p>'),o=c('<ul class="errorlist"><li>Comment is a required field.</li></ul>'),n=h.find("textarea[name=comment]");h.submit(function(z){z.preventDefault();n.val()?c.ajax({beforeSend:function(){g.remove();
o.remove();h.before(f);h.find(":input").attr({disabled:"disabled"})},cache:false,complete:function(){f.remove();h.find(":input").removeAttr("disabled");n.val("")},data:h.serialize(),error:function(){h.before(g)},success:function(r){g.remove();if(c(r).find("#comments ol.comment-list").size()){d.find("ol.comment-list").replaceWith(c(r).find("#comments ol.comment-list"));window.location.hash=d.find("ol.comment-list li:last-child").attr("id")}try{onlocation.live.updater.comments()}catch(A){}},type:"POST",
url:h.attr("action")}):h.prepend(o)})};chattarati.tweet=function(){var d=c(".tools a.twitter");if(d.size())d.attr("href").indexOf("twitter.com")>-1||d.click(function(h){h.preventDefault();try{c.ajax({beforeSend:function(){d.addClass("loading")},cache:false,complete:function(){d.removeClass("loading")},data:d.attr("href").split("?")[1]+"&next="+window.location,success:function(g){c(g).find("ul.messages").size()&&c("#bd").prepend(c(g).find("ul.messages"))},type:"POST",url:d.attr("href").split("?")[0]})}catch(f){window.location=
d.attr("href")}})};chattarati.lightbox=function(){var d=c("a[rel^=lightbox]"),h=c('<div id="overlay" style="display: none"></div>'),f=c('<div id="lightbox" style="display: none"></div>'),g=c('<a href="#close" class="close">&times; Close</a>'),o=c('<div class="target"></div>'),n=c('<a href="#prev" class="prev">&laquo; Previous</a>'),z=c('<a href="#next" class="next">Next &raquo;</a>'),r=c("<label />");chattarati.lightbox.links=d;chattarati.lightbox.overlay=h;chattarati.lightbox.container=f;chattarati.lightbox.close=
g;chattarati.lightbox.target=o;chattarati.lightbox.prev=n;chattarati.lightbox.next=z;chattarati.lightbox.title=r;h.click(function(){g.click()});f.click(function(C){C.stopPropagation()});c("body").append(h).append(f);f.append(g).append(o).append(n).append(z).append(r);f.show().css({top:Math.round(((c(window).height()>window.innerHeight?window.innerHeight:c(window).height())-f.outerHeight())/2)+"px",left:Math.round((c(window).width()-f.outerWidth())/2)+"px","margin-top":0,"margin-left":0}).hide();g.click(function(C){C.preventDefault();
h.add(f).fadeOut("normal")});n.add(z).click(function(C){C.preventDefault();C=parseInt(d.filter(".selected").attr("lb-position"),10);C=c(this).is(".prev")?d.eq(C-1):d.eq(C+1);C.size()||(C=c(this).is(".prev")?d.eq(d.size()-1):d.eq(0));C.size()&&C.click()});d.each(function(C){var p=c(this);p.click(function(b){b.preventDefault();A(p.attr("href"),p.siblings(".legend").text());d.filter(".selected").removeClass("selected");p.addClass("selected")});p.attr({"lb-position":C})});var A=function(C,p){if(f.is(":visible"))o.children().add(r).fadeOut("normal",
function(){o.children().remove();v(C,p)});else{o.children().remove();r.hide();h.add(f).fadeIn("normal",function(){v(C,p)})}},v=function(C,p){if(!f.is(".loading")){f.addClass("loading");var b=new Image;b.onload=function(){b.style.display="none";var M=c(window).width()-parseInt(f.css("padding-left"),10)-parseInt(f.css("padding-right"),10)-100,T=(c(window).height()>window.innerHeight?window.innerHeight:c(window).height())-parseInt(f.css("padding-top"),10)-parseInt(f.css("padding-bottom"),10)-100;if(b.width>
M||b.height>T){var W=b.width/b.height;if(b.height>=T){b.height=T;b.width=T*W}else{b.width=M;b.height=M*W}}r.text(p);f.animate({width:b.width,height:b.height,top:Math.round(((c(window).height()>window.innerHeight?window.innerHeight:c(window).height())-b.height-parseInt(f.css("padding-top"),10)-parseInt(f.css("padding-bottom"),10))/2)+"px",left:Math.round((c(window).width()-b.width-parseInt(f.css("padding-left"),10)-parseInt(f.css("padding-right"),10))/2)+"px"},"normal",function(){o.append(b);c(b).add(r).fadeIn("normal",
function(){f.removeClass("loading")})});c(b).click(function(){var V=d.filter("[href="+c(b).attr("src")+"]");(d.size()>d.index(V)+2?d.eq(d.index(V)+1):d.eq(0)).click()})};b.src=C}}};chattarati.mobile=function(){var d=c("body"),h=c("#nav");c(".ipad #sb").children(":first-child, :nth-child(3n+1)").each(function(){var C=0,p=c(this);p.add(p.next()).add(p.next().next()).each(function(){C=c(this).outerHeight()>C?c(this).outerHeight():C});p.add(p.next()).add(p.next().next()).attr({"data-equal-height":C})});
var f=function(){switch(window.orientation){case 90:case -90:d.addClass("landscape").removeClass("portrait");c("#sb *[data-equal-height]").height("");break;default:d.removeClass("landscape").addClass("portrait");c("#sb *[data-equal-height]").each(function(){c(this).height(parseInt(c(this).attr("data-equal-height"),10))});break}};document.getElementsByTagName("body")[0].onorientationchange=f;f();if(d.is(".ipad")){var g=protos.a.clone().attr({title:"Close",href:"#hide-nav"}).addClass("close").html(h.is(".do-close")?
"&raquo;":"&laquo;"),o=c("#bd-wrapper");h.prepend(g);h.addClass("opened");var n=h.width()+parseInt(h.css("padding-left"),10)+parseInt(h.css("padding-right"),10);h.children().each(function(){c(this).width(c(this).width())});g.click(function(C){C.preventDefault();if(h.is(".opened")){h.animate({"margin-left":0-n+"px"},500,function(){g.html("&raquo;")}).removeClass("opened").addClass("closed");o.animate({"margin-left":0},500);c.cookie("close_nav","true")}else{h.animate({"margin-left":"0px"},500,function(){g.html("&laquo;")}).addClass("opened").removeClass("closed");
o.animate({"margin-left":"200px"},500);c.cookie("close_nav","false")}});if(c.cookie("close_nav")=="true"||h.is(".do-close")){g.click();setTimeout(function(){h.removeClass(".do-close")},550)}}else{var z=h.find("ul.nav");z.hide();var r=h.find("ul.tabs");f=r.find(".list a");r=r.find(".search a");var A=c("form#search-form");A.appendTo(h).hide();var v=protos.a.clone().attr({href:"#close"}).addClass("close").text("Close Navigation");v.wrap(protos.li.clone()).parent("li").addClass("metablog close").appendTo(z);
f.click(function(C){C.preventDefault();A.is(":visible")&&A.hide();z.slideToggle(500)});r.click(function(C){C.preventDefault();z.is(":visible")&&z.hide();A.slideToggle(500,function(){setTimeout(function(){A.is(":visible")&&A.find("input").focus()},10)})});v.click(function(C){C.preventDefault();z.slideUp(500);window.scrollTo(0,0)})}!d.is(".home")&&!d.is(".metablog")&&!d.is(".blog")||d.is(".ipad")||c("#main section:not(.top-story) article, .blog #main article").each(function(){var C=c(this),p=C.children(":not(header,footer)");
p.hide();C.find("header a").click(function(b){b.preventDefault();p.slideToggle()})})};chattarati.IE6=function(){var d=c('<div class="breaking stop-ie6">Some features of Chattarati will not work properly in Internet Explorer 6.<br />Please consider using <a href="http://www.google.com/chrome" title="Google Chrome">Chrome</a>, <a href="http://getfirefox.com" title="Mozilla Firefox">Firefox</a>, <a href="http://www.apple.com/safari/">Safari</a> or upgrading <a href="http://www.microsoft.com/windows/internet-explorer/" title="Microsoft Internet Explorer">Internet Explorer</a>.</div>');
c("#bd").prepend(d)}})(jQuery);

