window.uhash="";window.app_hash="84ba4da086868187823532937a383bc7";/* * jQuery JavaScript Library v1.4.3 * http://jquery.com/ * * Copyright 2010, John Resig * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * Includes Sizzle.js * http://sizzlejs.com/ * Copyright 2010, The Dojo Foundation * Released under the MIT, BSD, and GPL Licenses. * * Date: Thu Oct 14 23:10:06 2010 -0400 */ (function(au,ay){function ai(){return false}function am(){return true}function s(u,c,E){E[0].type=u;return M.event.handle.apply(c,E)}function aW(Y){var X,W,V=[],U=[],T,S,O,E,ab,aa,u,c;S=M.data(this,this.nodeType?"events":"__events__");if(typeof S==="function"){S=S.events}if(!(Y.liveFired===this||!S||!S.live||Y.button&&Y.type==="click")){if(Y.namespace){c=RegExp("(^|\\.)"+Y.namespace.split(".").join("\\.(?:.*\\.)?")+"(\\.|$)")}Y.liveFired=this;var Z=S.live.slice(0);for(E=0;EW){break}Y.currentTarget=U.elem;Y.data=U.handleObj.data;Y.handleObj=U.handleObj;c=U.handleObj.origHandler.apply(U.elem,arguments);if(c===false||Y.isPropagationStopped()){W=U.level;if(c===false){X=false}}}return X}}function ae(u,c){return(u&&u!=="*"?u+".":"")+c.replace(aK,"`").replace(av,"&")}function h(u,c,O){if(M.isFunction(c)){return M.grep(u,function(T,S){return !!c.call(T,S,T)===O})}else{if(c.nodeType){return M.grep(u,function(S){return S===c===O})}else{if(typeof c==="string"){var E=M.grep(u,function(S){return S.nodeType===1});if(N.test(c)){return M.filter(c,E,!O)}else{c=M.filter(c,E)}}}}return M.grep(u,function(S){return M.inArray(S,c)>=0===O})}function aV(u,c){var E=0;c.each(function(){if(this.nodeName===(u[E]&&u[E].nodeName)){var U=M.data(u[E++]),T=M.data(this,U);if(U=U&&U.events){delete T.handle;T.events={};for(var S in U){for(var O in U[S]){M.event.add(this,S,U[S][O],U[S][O].data)}}}}})}function x(u,c){c.src?M.ajax({url:c.src,async:false,dataType:"script"}):M.globalEval(c.text||c.textContent||c.innerHTML||"");c.parentNode&&c.parentNode.removeChild(c)}function aJ(u,c,O){var E=c==="width"?u.offsetWidth:u.offsetHeight;if(O==="border"){return E}M.each(c==="width"?l:aZ,function(){O||(E-=parseFloat(M.css(u,"padding"+this))||0);if(O==="margin"){E+=parseFloat(M.css(u,"margin"+this))||0}else{E-=parseFloat(M.css(u,"border"+this+"Width"))||0}});return E}function G(u,c,O,E){if(M.isArray(c)&&c.length){M.each(c,function(T,S){O||aO.test(u)?E(u,S):G(u+"["+(typeof S==="object"||M.isArray(S)?T:"")+"]",S,O,E)})}else{if(!O&&c!=null&&typeof c==="object"){M.isEmptyObject(c)?E(u,""):M.each(c,function(T,S){G(u+"["+T+"]",S,O,E)})}else{E(u,c)}}}function ak(u,c){var E={};M.each(at.concat.apply([],at.slice(0,c)),function(){E[this]=u});return E}function L(u){if(!q[u]){var c=M("<"+u+">").appendTo("body"),E=c.css("display");c.remove();if(E==="none"||E===""){E="block"}q[u]=E}return q[u]}function f(c){return M.isWindow(c)?c:c.nodeType===9?c.defaultView||c.parentWindow:false}var D=au.document,M=function(){function bg(){if(!bf.isReady){try{D.documentElement.doScroll("left")}catch(bh){setTimeout(bg,1);return}bf.ready()}}var bf=function(bh,bi){return new bf.fn.init(bh,bi)},be=au.jQuery,bd=au.$,bc,ba=/^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w\-]+)$)/,a8=/\S/,a7=/^\s+/,a5=/\s+$/,aa=/\W/,Y=/\d/,a2=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,ab=/^[\],:{}\s]*$/,V=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,W=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,X=/(?:^|:|,)(?:\s*\[)+/g,S=/(webkit)[ \/]([\w.]+)/,bb=/(opera)(?:.*version)?[ \/]([\w.]+)/,a9=/(msie) ([\w.]+)/,a4=/(mozilla)(?:.*? rv:([\w.]+))?/,a6=navigator.userAgent,a3=false,a1=[],Z,U=Object.prototype.toString,a0=Object.prototype.hasOwnProperty,E=Array.prototype.push,O=Array.prototype.slice,c=String.prototype.trim,u=Array.prototype.indexOf,T={};bf.fn=bf.prototype={init:function(bh,bj){var bl,bk,bi;if(!bh){return this}if(bh.nodeType){this.context=this[0]=bh;this.length=1;return this}if(bh==="body"&&!bj&&D.body){this.context=D;this[0]=D.body;this.selector="body";this.length=1;return this}if(typeof bh==="string"){if((bl=ba.exec(bh))&&(bl[1]||!bj)){if(bl[1]){bi=bj?bj.ownerDocument||bj:D;if(bk=a2.exec(bh)){if(bf.isPlainObject(bj)){bh=[D.createElement(bk[1])];bf.fn.attr.call(bh,bj,true)}else{bh=[bi.createElement(bk[1])]}}else{bk=bf.buildFragment([bl[1]],[bi]);bh=(bk.cacheable?bk.fragment.cloneNode(true):bk.fragment).childNodes}return bf.merge(this,bh)}else{if((bk=D.getElementById(bl[2]))&&bk.parentNode){if(bk.id!==bl[2]){return bc.find(bh)}this.length=1;this[0]=bk}this.context=D;this.selector=bh;return this}}else{if(!bj&&!aa.test(bh)){this.selector=bh;this.context=D;bh=D.getElementsByTagName(bh);return bf.merge(this,bh)}else{return !bj||bj.jquery?(bj||bc).find(bh):bf(bj).find(bh)}}}else{if(bf.isFunction(bh)){return bc.ready(bh)}}if(bh.selector!==ay){this.selector=bh.selector;this.context=bh.context}return bf.makeArray(bh,this)},selector:"",jquery:"1.4.3",length:0,size:function(){return this.length},toArray:function(){return O.call(this,0)},get:function(bh){return bh==null?this.toArray():bh<0?this.slice(bh)[0]:this[bh]},pushStack:function(bh,bi,bk){var bj=bf();bf.isArray(bh)?E.apply(bj,bh):bf.merge(bj,bh);bj.prevObject=this;bj.context=this.context;if(bi==="find"){bj.selector=this.selector+(this.selector?" ":"")+bk}else{if(bi){bj.selector=this.selector+"."+bi+"("+bk+")"}}return bj},each:function(bh,bi){return bf.each(this,bh,bi)},ready:function(bh){bf.bindReady();if(bf.isReady){bh.call(D,bf)}else{a1&&a1.push(bh)}return this},eq:function(bh){return bh===-1?this.slice(bh):this.slice(bh,+bh+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(O.apply(this,arguments),"slice",O.call(arguments).join(","))},map:function(bh){return this.pushStack(bf.map(this,function(bi,bj){return bh.call(bi,bj,bi)}))},end:function(){return this.prevObject||bf(null)},push:E,sort:[].sort,splice:[].splice};bf.fn.init.prototype=bf.fn;bf.extend=bf.fn.extend=function(){var bj=arguments[0]||{},bh=1,bl=arguments.length,bk=false,bp,bo,bm,bn,bi;if(typeof bj==="boolean"){bk=bj;bj=arguments[1]||{};bh=2}if(typeof bj!=="object"&&!bf.isFunction(bj)){bj={}}if(bl===bh){bj=this;--bh}for(;bh0)){if(a1){for(var bi=0;bh=a1[bi++];){bh.call(D,bf)}a1=null}bf.fn.triggerHandler&&bf(D).triggerHandler("ready")}}},bindReady:function(){if(!a3){a3=true;if(D.readyState==="complete"){return setTimeout(bf.ready,1)}if(D.addEventListener){D.addEventListener("DOMContentLoaded",Z,false);au.addEventListener("load",bf.ready,false)}else{if(D.attachEvent){D.attachEvent("onreadystatechange",Z);au.attachEvent("onload",bf.ready);var bh=false;try{bh=au.frameElement==null}catch(bi){}D.documentElement.doScroll&&bh&&bg()}}}},isFunction:function(bh){return bf.type(bh)==="function"},isArray:Array.isArray||function(bh){return bf.type(bh)==="array"},isWindow:function(bh){return bh&&typeof bh==="object"&&"setInterval" in bh},isNaN:function(bh){return bh==null||!Y.test(bh)||isNaN(bh)},type:function(bh){return bh==null?String(bh):T[U.call(bh)]||"object"},isPlainObject:function(bh){if(!bh||bf.type(bh)!=="object"||bh.nodeType||bf.isWindow(bh)){return false}if(bh.constructor&&!a0.call(bh,"constructor")&&!a0.call(bh.constructor.prototype,"isPrototypeOf")){return false}for(var bi in bh){}return bi===ay||a0.call(bh,bi)},isEmptyObject:function(bh){for(var bi in bh){return false}return true},error:function(bh){throw bh},parseJSON:function(bh){if(typeof bh!=="string"||!bh){return null}bh=bf.trim(bh);if(ab.test(bh.replace(V,"@").replace(W,"]").replace(X,""))){return au.JSON&&au.JSON.parse?au.JSON.parse(bh):(new Function("return "+bh))()}else{bf.error("Invalid JSON: "+bh)}},noop:function(){},globalEval:function(bh){if(bh&&a8.test(bh)){var bi=D.getElementsByTagName("head")[0]||D.documentElement,bj=D.createElement("script");bj.type="text/javascript";if(bf.support.scriptEval){bj.appendChild(D.createTextNode(bh))}else{bj.text=bh}bi.insertBefore(bj,bi.firstChild);bi.removeChild(bj)}},nodeName:function(bh,bi){return bh.nodeName&&bh.nodeName.toUpperCase()===bi.toUpperCase()},each:function(bj,bl,bn){var bm,bk=0,bi=bj.length,bh=bi===ay||bf.isFunction(bj);if(bn){if(bh){for(bm in bj){if(bl.apply(bj[bm],bn)===false){break}}}else{for(;bk
a";var S=U.getElementsByTagName("*"),O=U.getElementsByTagName("a")[0],E=D.createElement("select"),u=E.appendChild(D.createElement("option"));if(!(!S||!S.length||!O)){M.support={leadingWhitespace:U.firstChild.nodeType===3,tbody:!U.getElementsByTagName("tbody").length,htmlSerialize:!!U.getElementsByTagName("link").length,style:/red/.test(O.getAttribute("style")),hrefNormalized:O.getAttribute("href")==="/a",opacity:/^0.55$/.test(O.style.opacity),cssFloat:!!O.style.cssFloat,checkOn:U.getElementsByTagName("input")[0].value==="on",optSelected:u.selected,optDisabled:false,checkClone:false,scriptEval:false,noCloneEvent:true,boxModel:null,inlineBlockNeedsLayout:false,shrinkWrapBlocks:false,reliableHiddenOffsets:true};E.disabled=true;M.support.optDisabled=!u.disabled;V.type="text/javascript";try{V.appendChild(D.createTextNode("window."+T+"=1;"))}catch(c){}W.insertBefore(V,W.firstChild);if(au[T]){M.support.scriptEval=true;delete au[T]}W.removeChild(V);if(U.attachEvent&&U.fireEvent){U.attachEvent("onclick",function X(){M.support.noCloneEvent=false;U.detachEvent("onclick",X)});U.cloneNode(true).fireEvent("onclick")}U=D.createElement("div");U.innerHTML="";W=D.createDocumentFragment();W.appendChild(U.firstChild);M.support.checkClone=W.cloneNode(true).cloneNode(true).lastChild.checked;M(function(){var Z=D.createElement("div");Z.style.width=Z.style.paddingLeft="1px";D.body.appendChild(Z);M.boxModel=M.support.boxModel=Z.offsetWidth===2;if("zoom" in Z.style){Z.style.display="inline";Z.style.zoom=1;M.support.inlineBlockNeedsLayout=Z.offsetWidth===2;Z.style.display="";Z.innerHTML="
";M.support.shrinkWrapBlocks=Z.offsetWidth!==2}Z.innerHTML="
t
";var Y=Z.getElementsByTagName("td");M.support.reliableHiddenOffsets=Y[0].offsetHeight===0;Y[0].style.display="";Y[1].style.display="none";M.support.reliableHiddenOffsets=M.support.reliableHiddenOffsets&&Y[0].offsetHeight===0;Z.innerHTML="";D.body.removeChild(Z).style.display="none"});W=function(Z){var Y=D.createElement("div");Z="on"+Z;var aa=Z in Y;if(!aa){Y.setAttribute(Z,"return;");aa=typeof Y[Z]==="function"}return aa};M.support.submitBubbles=W("submit");M.support.changeBubbles=W("change");W=V=U=S=O=null}})();M.props={"for":"htmlFor","class":"className",readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",colspan:"colSpan",tabindex:"tabIndex",usemap:"useMap",frameborder:"frameBorder"};var w={},aA=/^(?:\{.*\}|\[.*\])$/;M.extend({cache:{},uuid:0,expando:"jQuery"+M.now(),noData:{embed:true,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:true},data:function(u,c,T){if(M.acceptData(u)){u=u==au?w:u;var S=u.nodeType,O=S?u[M.expando]:null,E=M.cache;if(!(S&&!O&&typeof c==="string"&&T===ay)){if(S){O||(u[M.expando]=O=++M.uuid)}else{E=u}if(typeof c==="object"){if(S){E[O]=M.extend(E[O],c)}else{M.extend(E,c)}}else{if(S&&!E[O]){E[O]={}}}u=S?E[O]:E;if(T!==ay){u[c]=T}return typeof c==="string"?u[c]:u}}},removeData:function(u,c){if(M.acceptData(u)){u=u==au?w:u;var U=u.nodeType,T=U?u[M.expando]:u,S=M.cache,O=U?S[T]:T;if(c){if(O){delete O[c];U&&M.isEmptyObject(O)&&M.removeData(u)}}else{if(U&&M.support.deleteExpando){delete u[M.expando]}else{if(u.removeAttribute){u.removeAttribute(M.expando)}else{if(U){delete S[T]}else{for(var E in u){delete u[E]}}}}}}},acceptData:function(u){if(u.nodeName){var c=M.noData[u.nodeName.toLowerCase()];if(c){return !(c===true||u.getAttribute("classid")!==c)}}return true}});M.fn.extend({data:function(u,c){if(typeof u==="undefined"){return this.length?M.data(this[0]):null}else{if(typeof u==="object"){return this.each(function(){M.data(this,u)})}}var S=u.split(".");S[1]=S[1]?"."+S[1]:"";if(c===ay){var O=this.triggerHandler("getData"+S[1]+"!",[S[0]]);if(O===ay&&this.length){O=M.data(this[0],u);if(O===ay&&this[0].nodeType===1){O=this[0].getAttribute("data-"+u);if(typeof O==="string"){try{O=O==="true"?true:O==="false"?false:O==="null"?null:!M.isNaN(O)?parseFloat(O):aA.test(O)?M.parseJSON(O):O}catch(E){}}else{O=ay}}}return O===ay&&S[1]?this.data(S[0]):O}else{return this.each(function(){var U=M(this),T=[S[0],c];U.triggerHandler("setData"+S[1]+"!",T);M.data(this,u,c);U.triggerHandler("changeData"+S[1]+"!",T)})}},removeData:function(c){return this.each(function(){M.removeData(this,c)})}});M.extend({queue:function(u,c,O){if(u){c=(c||"fx")+"queue";var E=M.data(u,c);if(!O){return E||[]}if(!E||M.isArray(O)){E=M.data(u,c,M.makeArray(O))}else{E.push(O)}return E}},dequeue:function(u,c){c=c||"fx";var O=M.queue(u,c),E=O.shift();if(E==="inprogress"){E=O.shift()}if(E){c==="fx"&&O.unshift("inprogress");E.call(u,function(){M.dequeue(u,c)})}}});M.fn.extend({queue:function(u,c){if(typeof u!=="string"){c=u;u="fx"}if(c===ay){return M.queue(this[0],u)}return this.each(function(){var E=M.queue(this,u,c);u==="fx"&&E[0]!=="inprogress"&&M.dequeue(this,u)})},dequeue:function(c){return this.each(function(){M.dequeue(this,c)})},delay:function(u,c){u=M.fx?M.fx.speeds[u]||u:u;c=c||"fx";return this.queue(c,function(){var E=this;setTimeout(function(){M.dequeue(E,c)},u)})},clearQueue:function(c){return this.queue(c||"fx",[])}});var k=/[\n\t]/g,aG=/\s+/,R=/\r/g,B=/^(?:href|src|style)$/,n=/^(?:button|input)$/i,b=/^(?:button|input|object|select|textarea)$/i,aQ=/^a(?:rea)?$/i,aY=/^(?:radio|checkbox)$/i;M.fn.extend({attr:function(u,c){return M.access(this,u,c,true,M.attr)},removeAttr:function(c){return this.each(function(){M.attr(this,c,"");this.nodeType===1&&this.removeAttribute(c)})},addClass:function(W){if(M.isFunction(W)){return this.each(function(Y){var X=M(this);X.addClass(W.call(this,Y,X.attr("class")))})}if(W&&typeof W==="string"){for(var V=(W||"").split(aG),U=0,T=this.length;U-1){return true}}return false},val:function(E){if(!arguments.length){var c=this[0];if(c){if(M.nodeName(c,"option")){var V=c.attributes.value;return !V||V.specified?c.value:c.text}if(M.nodeName(c,"select")){var U=c.selectedIndex;V=[];var T=c.options;c=c.type==="select-one";if(U<0){return null}var S=c?U:0;for(U=c?U+1:T.length;S=0}else{if(M.nodeName(this,"select")){var Y=M.makeArray(W);M("option",this).each(function(){this.selected=M.inArray(M(this).val(),Y)>=0});if(!Y.length){this.selectedIndex=-1}}else{this.value=W}}}})}});M.extend({attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attr:function(u,c,T,S){if(!u||u.nodeType===3||u.nodeType===8){return ay}if(S&&c in M.attrFn){return M(u)[c](T)}S=u.nodeType!==1||!M.isXMLDoc(u);var O=T!==ay;c=S&&M.props[c]||c;if(u.nodeType===1){var E=B.test(c);if((c in u||u[c]!==ay)&&S&&!E){if(O){c==="type"&&n.test(u.nodeName)&&u.parentNode&&M.error("type property can't be changed");if(T===null){u.nodeType===1&&u.removeAttribute(c)}else{u[c]=T}}if(M.nodeName(u,"form")&&u.getAttributeNode(c)){return u.getAttributeNode(c).nodeValue}if(c==="tabIndex"){return(c=u.getAttributeNode("tabIndex"))&&c.specified?c.value:b.test(u.nodeName)||aQ.test(u.nodeName)&&u.href?0:ay}return u[c]}if(!M.support.style&&S&&c==="style"){if(O){u.style.cssText=""+T}return u.style.cssText}O&&u.setAttribute(c,""+T);if(!u.attributes[c]&&u.hasAttribute&&!u.hasAttribute(c)){return ay}u=!M.support.hrefNormalized&&S&&E?u.getAttribute(c,2):u.getAttribute(c);return u===null?ay:u}}});var af=/\.(.*)$/,ap=/^(?:textarea|input|select)$/i,aK=/\./g,av=/ /g,aC=/[^\w\s.|`]/g,ad=function(c){return c.replace(aC,"\\$&")},aN={focusin:0,focusout:0};M.event={add:function(Y,X,W,V){if(!(Y.nodeType===3||Y.nodeType===8)){if(M.isWindow(Y)&&Y!==au&&!Y.frameElement){Y=au}if(W===false){W=ai}var U,T;if(W.handler){U=W;W=U.handler}if(!W.guid){W.guid=M.guid++}if(T=M.data(Y)){var S=Y.nodeType?"events":"__events__",O=T[S],E=T.handle;if(typeof O==="function"){E=O.handle;O=O.events}else{if(!O){Y.nodeType||(T[S]=T=function(){});T.events=O={}}}if(!E){T.handle=E=function(){return typeof M!=="undefined"&&!M.event.triggered?M.event.handle.apply(E.elem,arguments):ay}}E.elem=Y;X=X.split(" ");for(var aa=0,Z;S=X[aa++];){T=U?M.extend({},U):{handler:W,data:V};if(S.indexOf(".")>-1){Z=S.split(".");S=Z.shift();T.namespace=Z.slice(0).sort().join(".")}else{Z=[];T.namespace=""}T.type=S;if(!T.guid){T.guid=W.guid}var u=O[S],c=M.event.special[S]||{};if(!u){u=O[S]=[];if(!c.setup||c.setup.call(Y,V,Z,E)===false){if(Y.addEventListener){Y.addEventListener(S,E,false)}else{Y.attachEvent&&Y.attachEvent("on"+S,E)}}}if(c.add){c.add.call(Y,T);if(!T.handler.guid){T.handler.guid=W.guid}}u.push(T);M.event.global[S]=true}Y=null}}},global:{},remove:function(Y,X,W,V){if(!(Y.nodeType===3||Y.nodeType===8)){if(W===false){W=ai}var U,T,S=0,O,E,a1,ab,u,c,aa=Y.nodeType?"events":"__events__",Z=M.data(Y),a0=Z&&Z[aa];if(Z&&a0){if(typeof a0==="function"){Z=a0;a0=a0.events}if(X&&X.type){W=X.handler;X=X.type}if(!X||typeof X==="string"&&X.charAt(0)==="."){X=X||"";for(U in a0){M.event.remove(Y,U+X)}}else{for(X=X.split(" ");U=X[S++];){ab=U;O=U.indexOf(".")<0;E=[];if(!O){E=U.split(".");U=E.shift();a1=RegExp("(^|\\.)"+M.map(E.slice(0).sort(),ad).join("\\.(?:.*\\.)?")+"(\\.|$)")}if(u=a0[U]){if(W){ab=M.event.special[U]||{};for(T=V||0;T=0){W.type=S=S.slice(0,-1);W.exclusive=true}if(!U){W.stopPropagation();M.event.global[S]&&M.each(M.cache,function(){this.events&&this.events[S]&&M.event.trigger(W,V,this.handle.elem)})}if(!U||U.nodeType===3||U.nodeType===8){return ay}W.result=ay;W.target=U;V=M.makeArray(V);V.unshift(W)}W.currentTarget=U;(T=U.nodeType?M.data(U,"handle"):(M.data(U,"__events__")||{}).handle)&&T.apply(U,V);T=U.parentNode||U.ownerDocument;try{if(!(U&&U.nodeName&&M.noData[U.nodeName.toLowerCase()])){if(U["on"+S]&&U["on"+S].apply(U,V)===false){W.result=false;W.preventDefault()}}}catch(O){}if(!W.isPropagationStopped()&&T){M.event.trigger(W,V,T,true)}else{if(!W.isDefaultPrevented()){T=W.target;var E,u=S.replace(af,""),c=M.nodeName(T,"a")&&u==="click",Y=M.event.special[u]||{};if((!Y._default||Y._default.call(U,W)===false)&&!c&&!(T&&T.nodeName&&M.noData[T.nodeName.toLowerCase()])){try{if(T[u]){if(E=T["on"+u]){T["on"+u]=null}M.event.triggered=true;T[u]()}}catch(X){}if(E){T["on"+u]=E}M.event.triggered=false}}}},handle:function(E){var c,V,U;V=[];var T,S=M.makeArray(arguments);E=S[0]=M.event.fix(E||au.event);E.currentTarget=this;c=E.type.indexOf(".")<0&&!E.exclusive;if(!c){U=E.type.split(".");E.type=U.shift();V=U.slice(0).sort();U=RegExp("(^|\\.)"+V.join("\\.(?:.*\\.)?")+"(\\.|$)")}E.namespace=E.namespace||V.join(".");T=M.data(this,this.nodeType?"events":"__events__");if(typeof T==="function"){T=T.events}V=(T||{})[E.type];if(T&&V){V=V.slice(0);T=0;for(var O=V.length;T-1?M.map(u.options,function(O){return O.selected}).join("-"):""}else{if(u.nodeName.toLowerCase()==="select"){E=u.selectedIndex}}}return E},ac=function(u,c){var S=u.target,O,E;if(!(!ap.test(S.nodeName)||S.readOnly)){O=M.data(S,"_change_data");E=z(S);if(u.type!=="focusout"||S.type!=="radio"){M.data(S,"_change_data",E)}if(!(O===ay||E===O)){if(O!=null||E){u.type="change";u.liveFired=ay;return M.event.trigger(u,c,S)}}}};M.event.special.change={filters:{focusout:ac,beforedeactivate:ac,click:function(u){var c=u.target,E=c.type;if(E==="radio"||E==="checkbox"||c.nodeName.toLowerCase()==="select"){return ac.call(this,u)}},keydown:function(u){var c=u.target,E=c.type;if(u.keyCode===13&&c.nodeName.toLowerCase()!=="textarea"||u.keyCode===32&&(E==="checkbox"||E==="radio")||E==="select-multiple"){return ac.call(this,u)}},beforeactivate:function(c){c=c.target;M.data(c,"_change_data",z(c))}},setup:function(){if(this.type==="file"){return false}for(var c in ah){M.event.add(this,c+".specialChange",ah[c])}return ap.test(this.nodeName)},teardown:function(){M.event.remove(this,".specialChange");return ap.test(this.nodeName)}};ah=M.event.special.change.filters;ah.focus=ah.beforeactivate}D.addEventListener&&M.each({focus:"focusin",blur:"focusout"},function(u,c){function E(O){O=M.event.fix(O);O.type=c;return M.event.trigger(O,null,O.target)}M.event.special[c]={setup:function(){aN[c]++===0&&D.addEventListener(u,E,true)},teardown:function(){--aN[c]===0&&D.removeEventListener(u,E,true)}}});M.each(["bind","one"],function(u,c){M.fn[c]=function(V,U,T){if(typeof V==="object"){for(var S in V){this[c](S,U,V[S],T)}return this}if(M.isFunction(U)||U===false){T=U;U=ay}var O=c==="one"?M.proxy(T,function(W){M(this).unbind(W,O);return T.apply(this,arguments)}):T;if(V==="unload"&&c!=="one"){this.one(V,U,T)}else{S=0;for(var E=this.length;S0?this.bind(c,O,E):this.trigger(c)};if(M.attrFn){M.attrFn[c]=true}});au.attachEvent&&!au.addEventListener&&M(au).bind("unload",function(){for(var u in M.cache){if(M.cache[u].handle){try{M.event.remove(M.cache[u].handle.elem)}catch(c){}}}});(function(){function Z(a9,a8,a6,a7,a5,a4){a5=0;for(var bb=a7.length;a50){a3=ba;break}}}ba=ba[a9]}a7[a5]=a3}}}var X=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,V=0,U=Object.prototype.toString,T=false,S=true;[0,0].sort(function(){S=false;return 0});var O=function(bc,a8,a6,a7){a6=a6||[];var a5=a8=a8||D;if(a8.nodeType!==1&&a8.nodeType!==9){return[]}if(!bc||typeof bc!=="string"){return a6}var a4=[],bg,bf,a3,bb,bd=true,a9=O.isXML(a8),ba=bc,be;do{X.exec("");if(bg=X.exec(ba)){ba=bg[3];a4.push(bg[1]);if(bg[2]){bb=bg[3];break}}}while(bg);if(a4.length>1&&a2.exec(bc)){if(a4.length===2&&E.relative[a4[0]]){bf=W(a4[0]+a4[1],a8)}else{for(bf=E.relative[a4[0]]?[a8]:O(a4.shift(),a8);a4.length;){bc=a4.shift();if(E.relative[bc]){bc+=a4.shift()}bf=W(bc,bf)}}}else{if(!a7&&a4.length>1&&a8.nodeType===9&&!a9&&E.match.ID.test(a4[0])&&!E.match.ID.test(a4[a4.length-1])){bg=O.find(a4.shift(),a8,a9);a8=bg.expr?O.filter(bg.expr,bg.set)[0]:bg.set[0]}if(a8){bg=a7?{expr:a4.pop(),set:c(a7)}:O.find(a4.pop(),a4.length===1&&(a4[0]==="~"||a4[0]==="+")&&a8.parentNode?a8.parentNode:a8,a9);bf=bg.expr?O.filter(bg.expr,bg.set):bg.set;if(a4.length>0){a3=c(bf)}else{bd=false}for(;a4.length;){bg=be=a4.pop();if(E.relative[be]){bg=a4.pop()}else{be=""}if(bg==null){bg=a8}E.relative[be](a3,bg,a9)}}else{a3=[]}}a3||(a3=bf);a3||O.error(be||bc);if(U.call(a3)==="[object Array]"){if(bd){if(a8&&a8.nodeType===1){for(bc=0;a3[bc]!=null;bc++){if(a3[bc]&&(a3[bc]===true||a3[bc].nodeType===1&&O.contains(a8,a3[bc]))){a6.push(bf[bc])}}}else{for(bc=0;a3[bc]!=null;bc++){a3[bc]&&a3[bc].nodeType===1&&a6.push(bf[bc])}}}else{a6.push.apply(a6,a3)}}else{c(a3,a6)}if(bb){O(bb,a5,a6,a7);O.uniqueSort(a6)}return a6};O.uniqueSort=function(a4){if(aa){T=S;a4.sort(aa);if(T){for(var a3=1;a30};O.find=function(a9,a8,a6){var a7;if(!a9){return[]}for(var a5=0,a4=E.order.length;a5":function(a5,a4){var a8=typeof a4==="string",a3,a7=0,a6=a5.length;if(a8&&!/\W/.test(a4)){for(a4=a4.toLowerCase();a7=0)){a9||a3.push(a5)}else{if(a9){a4[a7]=false}}}}return false},ID:function(a3){return a3[1].replace(/\\/g,"")},TAG:function(a3){return a3[1].toLowerCase()},CHILD:function(a4){if(a4[1]==="nth"){var a3=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(a4[2]==="even"&&"2n"||a4[2]==="odd"&&"2n+1"||!/\D/.test(a4[2])&&"0n+"+a4[2]||a4[2]);a4[2]=a3[1]+(a3[2]||1)-0;a4[3]=a3[3]-0}a4[0]=V++;return a4},ATTR:function(a5,a4,a8,a3,a7,a6){a4=a5[1].replace(/\\/g,"");if(!a6&&E.attrMap[a4]){a5[1]=E.attrMap[a4]}if(a5[2]==="~="){a5[4]=" "+a5[4]+" "}return a5},PSEUDO:function(a5,a4,a7,a3,a6){if(a5[1]==="not"){if((X.exec(a5[3])||"").length>1||/^\w/.test(a5[3])){a5[3]=O(a5[3],null,null,a4)}else{a5=O.filter(a5[3],a4,a7,true^a6);a7||a3.push.apply(a3,a5);return false}}else{if(E.match.POS.test(a5[0])||E.match.CHILD.test(a5[0])){return true}}return a5},POS:function(a3){a3.unshift(true);return a3}},filters:{enabled:function(a3){return a3.disabled===false&&a3.type!=="hidden"},disabled:function(a3){return a3.disabled===true},checked:function(a3){return a3.checked===true},selected:function(a3){return a3.selected===true},parent:function(a3){return !!a3.firstChild},empty:function(a3){return !a3.firstChild},has:function(a4,a3,a5){return !!O(a5[3],a4).length},header:function(a3){return/h\d/i.test(a3.nodeName)},text:function(a3){return"text"===a3.type},radio:function(a3){return"radio"===a3.type},checkbox:function(a3){return"checkbox"===a3.type},file:function(a3){return"file"===a3.type},password:function(a3){return"password"===a3.type},submit:function(a3){return"submit"===a3.type},image:function(a3){return"image"===a3.type},reset:function(a3){return"reset"===a3.type},button:function(a3){return"button"===a3.type||a3.nodeName.toLowerCase()==="button"},input:function(a3){return/input|select|textarea|button/i.test(a3.nodeName)}},setFilters:{first:function(a4,a3){return a3===0},last:function(a5,a4,a6,a3){return a4===a3.length-1},even:function(a4,a3){return a3%2===0},odd:function(a4,a3){return a3%2===1},lt:function(a4,a3,a5){return a3a5[3]-0},nth:function(a4,a3,a5){return a5[3]-0===a3},eq:function(a4,a3,a5){return a5[3]-0===a3}},filter:{PSEUDO:function(a5,a4,a8,a3){var a7=a4[1],a6=E.filters[a7];if(a6){return a6(a5,a8,a4,a3)}else{if(a7==="contains"){return(a5.textContent||a5.innerText||O.getText([a5])||"").indexOf(a4[3])>=0}else{if(a7==="not"){a4=a4[3];a8=0;for(a3=a4.length;a8=0}},ID:function(a4,a3){return a4.nodeType===1&&a4.getAttribute("id")===a3},TAG:function(a4,a3){return a3==="*"&&a4.nodeType===1||a4.nodeName.toLowerCase()===a3},CLASS:function(a4,a3){return(" "+(a4.className||a4.getAttribute("class"))+" ").indexOf(a3)>-1},ATTR:function(a5,a4){var a8=a4[1];a8=E.attrHandle[a8]?E.attrHandle[a8](a5):a5[a8]!=null?a5[a8]:a5.getAttribute(a8);var a3=a8+"",a7=a4[2],a6=a4[4];return a8==null?a7==="!=":a7==="="?a3===a6:a7==="*="?a3.indexOf(a6)>=0:a7==="~="?(" "+a3+" ").indexOf(a6)>=0:!a6?a3&&a8!==false:a7==="!="?a3!==a6:a7==="^="?a3.indexOf(a6)===0:a7==="$="?a3.substr(a3.length-a6.length)===a6:a7==="|="?a3===a6||a3.substr(0,a6.length+1)===a6+"-":false},POS:function(a5,a4,a7,a3){var a6=E.setFilters[a4[2]];if(a6){return a6(a5,a7,a4,a3)}}}},a2=E.match.POS,a0=function(a4,a3){return"\\"+(a3-0+1)},u;for(u in E.match){E.match[u]=RegExp(E.match[u].source+/(?![^\[]*\])(?![^\(]*\))/.source);E.leftMatch[u]=RegExp(/(^(?:.|\r|\n)*?)/.source+E.match[u].source.replace(/\\(\d+)/g,a0))}var c=function(a4,a3){a4=Array.prototype.slice.call(a4,0);if(a3){a3.push.apply(a3,a4);return a3}return a4};try{Array.prototype.slice.call(D.documentElement.childNodes,0)}catch(ab){c=function(a5,a4){var a7=a4||[],a3=0;if(U.call(a5)==="[object Array]"){Array.prototype.push.apply(a7,a5)}else{if(typeof a5.length==="number"){for(var a6=a5.length;a3";var a5=D.documentElement;a5.insertBefore(a4,a5.firstChild);if(D.getElementById(a3)){E.find.ID=function(a6,a8,a7){if(typeof a8.getElementById!=="undefined"&&!a7){return(a8=a8.getElementById(a6[1]))?a8.id===a6[1]||typeof a8.getAttributeNode!=="undefined"&&a8.getAttributeNode("id").nodeValue===a6[1]?[a8]:ay:[]}};E.filter.ID=function(a6,a8){var a7=typeof a6.getAttributeNode!=="undefined"&&a6.getAttributeNode("id");return a6.nodeType===1&&a7&&a7.nodeValue===a8}}a5.removeChild(a4);a5=a4=null})();(function(){var a3=D.createElement("div");a3.appendChild(D.createComment(""));if(a3.getElementsByTagName("*").length>0){E.find.TAG=function(a5,a8){var a4=a8.getElementsByTagName(a5[1]);if(a5[1]==="*"){for(var a7=[],a6=0;a4[a6];a6++){a4[a6].nodeType===1&&a7.push(a4[a6])}a4=a7}return a4}}a3.innerHTML="";if(a3.firstChild&&typeof a3.firstChild.getAttribute!=="undefined"&&a3.firstChild.getAttribute("href")!=="#"){E.attrHandle.href=function(a4){return a4.getAttribute("href",2)}}a3=null})();D.querySelectorAll&&function(){var a4=O,a3=D.createElement("div");a3.innerHTML="

";if(!(a3.querySelectorAll&&a3.querySelectorAll(".TEST").length===0)){O=function(a7,bb,ba,a8){bb=bb||D;if(!a8&&!O.isXML(bb)){if(bb.nodeType===9){try{return c(bb.querySelectorAll(a7),ba)}catch(a6){}}else{if(bb.nodeType===1&&bb.nodeName.toLowerCase()!=="object"){var bd=bb.id,a9=bb.id="__sizzle__";try{return c(bb.querySelectorAll("#"+a9+" "+a7),ba)}catch(bc){}finally{if(bd){bb.id=bd}else{bb.removeAttribute("id")}}}}}return a4(a7,bb,ba,a8)};for(var a5 in a4){O[a5]=a4[a5]}a3=null}}();(function(){var a5=D.documentElement,a4=a5.matchesSelector||a5.mozMatchesSelector||a5.webkitMatchesSelector||a5.msMatchesSelector,a6=false;try{a4.call(D.documentElement,":sizzle")}catch(a3){a6=true}if(a4){O.matchesSelector=function(a9,a8){try{if(a6||!E.match.PSEUDO.test(a8)){return a4.call(a9,a8)}}catch(a7){}return O(a8,null,null,[a9]).length>0}}})();(function(){var a3=D.createElement("div");a3.innerHTML="
";if(!(!a3.getElementsByClassName||a3.getElementsByClassName("e").length===0)){a3.lastChild.className="e";if(a3.getElementsByClassName("e").length!==1){E.order.splice(1,0,"CLASS");E.find.CLASS=function(a5,a6,a4){if(typeof a6.getElementsByClassName!=="undefined"&&!a4){return a6.getElementsByClassName(a5[1])}};a3=null}}})();O.contains=D.documentElement.contains?function(a4,a3){return a4!==a3&&(a4.contains?a4.contains(a3):true)}:function(a4,a3){return !!(a4.compareDocumentPosition(a3)&16)};O.isXML=function(a3){return(a3=(a3?a3.ownerDocument||a3:0).documentElement)?a3.nodeName!=="HTML":false};var W=function(a6,a4){for(var a9=[],a3="",a8,a7=a4.nodeType?[a4]:a4;a8=E.match.PSEUDO.exec(a6);){a3+=a8[0];a6=a6.replace(E.match.PSEUDO,"")}a6=E.relative[a6]?a6+"*":a6;a8=0;for(var a5=a7.length;a80){for(var O=U;O0},closest:function(W,V){var U=[],T,S,O=this[0];if(M.isArray(W)){var E={},u,c=1;if(O&&W.length){T=0;for(S=W.length;T-1:M(O).is(T)){U.push({selector:u,elem:O,level:c})}}O=O.parentNode;c++}}return U}E=aw.test(W)?M(W,V||this.context):null;T=0;for(S=this.length;T-1:M.find.matchesSelector(O,W)){U.push(O);break}else{O=O.parentNode;if(!O||!O.ownerDocument||O===V){break}}}}U=U.length>1?M.unique(U):U;return this.pushStack(U,"closest",W)},index:function(c){if(!c||typeof c==="string"){return M.inArray(this[0],c?M(c):this.parent().children())}return M.inArray(c.jquery?c[0]:c,this)},add:function(u,c){var O=typeof u==="string"?M(u,c||this.context):M.makeArray(u),E=M.merge(this.get(),O);return this.pushStack(!O[0]||!O[0].parentNode||O[0].parentNode.nodeType===11||!E[0]||!E[0].parentNode||E[0].parentNode.nodeType===11?E:M.unique(E))},andSelf:function(){return this.add(this.prevObject)}});M.each({parent:function(c){return(c=c.parentNode)&&c.nodeType!==11?c:null},parents:function(c){return M.dir(c,"parentNode")},parentsUntil:function(u,c,E){return M.dir(u,"parentNode",E)},next:function(c){return M.nth(c,2,"nextSibling")},prev:function(c){return M.nth(c,2,"previousSibling")},nextAll:function(c){return M.dir(c,"nextSibling")},prevAll:function(c){return M.dir(c,"previousSibling")},nextUntil:function(u,c,E){return M.dir(u,"nextSibling",E)},prevUntil:function(u,c,E){return M.dir(u,"previousSibling",E)},siblings:function(c){return M.sibling(c.parentNode.firstChild,c)},children:function(c){return M.sibling(c.firstChild)},contents:function(c){return M.nodeName(c,"iframe")?c.contentDocument||c.contentWindow.document:M.makeArray(c.childNodes)}},function(u,c){M.fn[u]=function(S,O){var E=M.map(this,c,S);C.test(u)||(O=S);if(O&&typeof O==="string"){E=M.filter(O,E)}E=this.length>1?M.unique(E):E;if((this.length>1||d.test(O))&&o.test(u)){E=E.reverse()}return this.pushStack(E,u,aR.call(arguments).join(","))}});M.extend({filter:function(u,c,E){if(E){u=":not("+u+")"}return c.length===1?M.find.matchesSelector(c[0],u)?[c[0]]:[]:M.find.matches(u,c)},dir:function(u,c,O){var E=[];for(u=u[c];u&&u.nodeType!==9&&(O===ay||u.nodeType!==1||!M(u).is(O));){u.nodeType===1&&E.push(u);u=u[c]}return E},nth:function(u,c,O){c=c||1;for(var E=0;u;u=u[O]){if(u.nodeType===1&&++E===c){break}}return u},sibling:function(u,c){for(var E=[];u;u=u.nextSibling){u.nodeType===1&&u!==c&&E.push(u)}return E}});var a=/ jQuery\d+="(?:\d+|null)"/g,aL=/^\s+/,aP=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,aB=/<([\w:]+)/,aD=/\s]+\/)>/g,an={option:[1,""],legend:[1,"
","
"],thead:[1,"","
"],tr:[2,"","
"],td:[3,"","
"],col:[2,"","
"],area:[1,"",""],_default:[0,"",""]};an.optgroup=an.option;an.tbody=an.tfoot=an.colgroup=an.caption=an.thead;an.th=an.td;if(!M.support.htmlSerialize){an._default=[1,"div
","
"]}M.fn.extend({text:function(c){if(M.isFunction(c)){return this.each(function(u){var E=M(this);E.text(c.call(this,u,E.text()))})}if(typeof c!=="object"&&c!==ay){return this.empty().append((this[0]&&this[0].ownerDocument||D).createTextNode(c))}return M.text(this)},wrapAll:function(u){if(M.isFunction(u)){return this.each(function(E){M(this).wrapAll(u.call(this,E))})}if(this[0]){var c=M(u,this[0].ownerDocument).eq(0).clone(true);this[0].parentNode&&c.insertBefore(this[0]);c.map(function(){for(var E=this;E.firstChild&&E.firstChild.nodeType===1;){E=E.firstChild}return E}).append(this)}return this},wrapInner:function(c){if(M.isFunction(c)){return this.each(function(u){M(this).wrapInner(c.call(this,u))})}return this.each(function(){var u=M(this),E=u.contents();E.length?E.wrapAll(c):u.append(c)})},wrap:function(c){return this.each(function(){M(this).wrapAll(c)})},unwrap:function(){return this.parent().each(function(){M.nodeName(this,"body")||M(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,true,function(c){this.nodeType===1&&this.appendChild(c)})},prepend:function(){return this.domManip(arguments,true,function(c){this.nodeType===1&&this.insertBefore(c,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,false,function(u){this.parentNode.insertBefore(u,this)})}else{if(arguments.length){var c=M(arguments[0]);c.push.apply(c,this.toArray());return this.pushStack(c,"before",arguments)}}},after:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,false,function(u){this.parentNode.insertBefore(u,this.nextSibling)})}else{if(arguments.length){var c=this.pushStack(this,"after",arguments);c.push.apply(c,M(arguments[0]).toArray());return c}}},remove:function(u,c){for(var O=0,E;(E=this[O])!=null;O++){if(!u||M.filter(u,[E]).length){if(!c&&E.nodeType===1){M.cleanData(E.getElementsByTagName("*"));M.cleanData([E])}E.parentNode&&E.parentNode.removeChild(E)}}return this},empty:function(){for(var u=0,c;(c=this[u])!=null;u++){for(c.nodeType===1&&M.cleanData(c.getElementsByTagName("*"));c.firstChild;){c.removeChild(c.firstChild)}}return this},clone:function(u){var c=this.map(function(){if(!M.support.noCloneEvent&&!M.isXMLDoc(this)){var O=this.outerHTML,E=this.ownerDocument;if(!O){O=E.createElement("div");O.appendChild(this.cloneNode(true));O=O.innerHTML}return M.clean([O.replace(a,"").replace(F,'="$1">').replace(aL,"")],E)[0]}else{return this.cloneNode(true)}});if(u===true){aV(this,c);aV(this.find("*"),c.find("*"))}return c},html:function(u){if(u===ay){return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(a,""):null}else{if(typeof u==="string"&&!aT.test(u)&&(M.support.leadingWhitespace||!aL.test(u))&&!an[(aB.exec(u)||["",""])[1].toLowerCase()]){u=u.replace(aP,"<$1>");try{for(var c=0,O=this.length;c0||T.cacheable||this.length>1?u.cloneNode(true):u)}}E.length&&M.each(E,x)}return this}});M.buildFragment=function(u,c,T){var S,O,E;c=c&&c[0]?c[0].ownerDocument||c[0]:D;if(u.length===1&&typeof u[0]==="string"&&u[0].length<512&&c===D&&!aT.test(u[0])&&(M.support.checkClone||!aH.test(u[0]))){O=true;if(E=M.fragments[u[0]]){if(E!==1){S=E}}}if(!S){S=c.createDocumentFragment();M.clean(u,c,S,T)}if(O){M.fragments[u[0]]=E?S:1}return{fragment:S,cacheable:O}};M.fragments={};M.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(u,c){M.fn[u]=function(U){var T=[];U=M(U);var S=this.length===1&&this[0].parentNode;if(S&&S.nodeType===11&&S.childNodes.length===1&&U.length===1){U[c](this[0]);return this}else{S=0;for(var O=U.length;S0?this.clone(true):this).get();M(U[S])[c](E);T=T.concat(E)}return this.pushStack(T,u,U.selector)}}});M.extend({clean:function(W,V,U,T){V=V||D;if(typeof V.createElement==="undefined"){V=V.ownerDocument||V[0]&&V[0].ownerDocument||D}for(var S=[],O=0,E;(E=W[O])!=null;O++){if(typeof E==="number"){E+=""}if(E){if(typeof E==="string"&&!al.test(E)){E=V.createTextNode(E)}else{if(typeof E==="string"){E=E.replace(aP,"<$1>");var u=(aB.exec(E)||["",""])[1].toLowerCase(),c=an[u]||an._default,Y=c[0],X=V.createElement("div");for(X.innerHTML=c[1]+E+c[2];Y--;){X=X.lastChild}if(!M.support.tbody){Y=aD.test(E);u=u==="table"&&!Y?X.firstChild&&X.firstChild.childNodes:c[1]===""&&!Y?X.childNodes:[];for(c=u.length-1;c>=0;--c){M.nodeName(u[c],"tbody")&&!u[c].childNodes.length&&u[c].parentNode.removeChild(u[c])}}!M.support.leadingWhitespace&&aL.test(E)&&X.insertBefore(V.createTextNode(aL.exec(E)[0]),X.firstChild);E=X.childNodes}}if(E.nodeType){S.push(E)}else{S=M.merge(S,E)}}}if(U){for(O=0;S[O];O++){if(T&&M.nodeName(S[O],"script")&&(!S[O].type||S[O].type.toLowerCase()==="text/javascript")){T.push(S[O].parentNode?S[O].parentNode.removeChild(S[O]):S[O])}else{S[O].nodeType===1&&S.splice.apply(S,[O+1,0].concat(M.makeArray(S[O].getElementsByTagName("script"))));U.appendChild(S[O])}}}return S},cleanData:function(W){for(var V,U,T=M.cache,S=M.event.special,O=M.support.deleteExpando,E=0,u;(u=W[E])!=null;E++){if(!(u.nodeName&&M.noData[u.nodeName.toLowerCase()])){if(U=u[M.expando]){if((V=T[U])&&V.events){for(var c in V.events){S[c]?M.event.remove(u,c):M.removeEvent(u,c,V.handle)}}if(O){delete u[M.expando]}else{u.removeAttribute&&u.removeAttribute(M.expando)}delete T[U]}}}}});var aq=/alpha\([^)]*\)/i,p=/opacity=([^)]*)/,e=/-([a-z])/ig,aS=/([A-Z])/g,J=/^-?\d+(?:px)?$/i,aF=/^-?\d/,ao={position:"absolute",visibility:"hidden",display:"block"},l=["Left","Right"],aZ=["Top","Bottom"],ag,H=D.defaultView&&D.defaultView.getComputedStyle,r=function(u,c){return c.toUpperCase()};M.fn.css=function(u,c){if(arguments.length===2&&c===ay){return this}return M.access(this,u,c,true,function(S,O,E){return E!==ay?M.style(S,O,E):M.css(S,O)})};M.extend({cssHooks:{opacity:{get:function(u,c){if(c){var E=ag(u,"opacity","opacity");return E===""?"1":E}else{return u.style.opacity}}}},cssNumber:{zIndex:true,fontWeight:true,opacity:true,zoom:true,lineHeight:true},cssProps:{"float":M.support.cssFloat?"cssFloat":"styleFloat"},style:function(W,V,U,T){if(!(!W||W.nodeType===3||W.nodeType===8||!W.style)){var S,O=M.camelCase(V),E=W.style,u=M.cssHooks[O];V=M.cssProps[O]||O;if(U!==ay){if(!(typeof U==="number"&&isNaN(U)||U==null)){if(typeof U==="number"&&!M.cssNumber[O]){U+="px"}if(!u||!("set" in u)||(U=u.set(W,U))!==ay){try{E[V]=U}catch(c){}}}}else{if(u&&"get" in u&&(S=u.get(W,false,T))!==ay){return S}return E[V]}}},css:function(u,c,T){var S,O=M.camelCase(c),E=M.cssHooks[O];c=M.cssProps[O]||O;if(E&&"get" in E&&(S=E.get(u,true,T))!==ay){return S}else{if(ag){return ag(u,c,O)}}},swap:function(u,c,S){var O={},E;for(E in c){O[E]=u.style[E];u.style[E]=c[E]}S.call(u);for(E in c){u.style[E]=O[E]}},camelCase:function(c){return c.replace(e,r)}});M.curCSS=M.css;M.each(["height","width"],function(u,c){M.cssHooks[c]={get:function(T,S,O){var E;if(S){if(T.offsetWidth!==0){E=aJ(T,c,O)}else{M.swap(T,ao,function(){E=aJ(T,c,O)})}return E+"px"}},set:function(O,E){if(J.test(E)){E=parseFloat(E);if(E>=0){return E+"px"}}else{return E}}}});if(!M.support.opacity){M.cssHooks.opacity={get:function(u,c){return p.test((c&&u.currentStyle?u.currentStyle.filter:u.style.filter)||"")?parseFloat(RegExp.$1)/100+"":c?"1":""},set:function(u,c){var S=u.style;S.zoom=1;var O=M.isNaN(c)?"":"alpha(opacity="+c*100+")",E=S.filter||"";S.filter=aq.test(E)?E.replace(aq,O):S.filter+" "+O}}}if(H){ag=function(u,c,O){var E;O=O.replace(aS,"-$1").toLowerCase();if(!(c=u.ownerDocument.defaultView)){return ay}if(c=c.getComputedStyle(u,null)){E=c.getPropertyValue(O);if(E===""&&!M.contains(u.ownerDocument.documentElement,u)){E=M.style(u,O)}}return E}}else{if(D.documentElement.currentStyle){ag=function(u,c){var T,S,O=u.currentStyle&&u.currentStyle[c],E=u.style;if(!J.test(O)&&aF.test(O)){T=E.left;S=u.runtimeStyle.left;u.runtimeStyle.left=u.currentStyle.left;E.left=c==="fontSize"?"1em":O||0;O=E.pixelLeft+"px";E.left=T;u.runtimeStyle.left=S}return O}}}if(M.expr&&M.expr.filters){M.expr.filters.hidden=function(u){var c=u.offsetHeight;return u.offsetWidth===0&&c===0||!M.support.reliableHiddenOffsets&&(u.style.display||M.css(u,"display"))==="none"};M.expr.filters.visible=function(c){return !M.expr.filters.hidden(c)}}var g=M.now(),aU=/)<[^<]*)*<\/script>/gi,aI=/^(?:select|textarea)/i,ar=/^(?:color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,K=/^(?:GET|HEAD|DELETE)$/,aO=/\[\]$/,aj=/\=\?(&|$)/,I=/\?/,v=/([?&])_=[^&]*/,j=/^(\w+:)?\/\/([^\/?#]+)/,aX=/%20/g,aM=/#.*$/,t=M.fn.load;M.fn.extend({load:function(u,c,T){if(typeof u!=="string"&&t){return t.apply(this,arguments)}else{if(!this.length){return this}}var S=u.indexOf(" ");if(S>=0){var O=u.slice(S,u.length);u=u.slice(0,S)}S="GET";if(c){if(M.isFunction(c)){T=c;c=null}else{if(typeof c==="object"){c=M.param(c,M.ajaxSettings.traditional);S="POST"}}}var E=this;M.ajax({url:u,type:S,dataType:"html",data:c,complete:function(V,U){if(U==="success"||U==="notmodified"){E.html(O?M("
").append(V.responseText.replace(aU,"")).find(O):V.responseText)}T&&E.each(T,[V.responseText,U,V])}});return this},serialize:function(){return M.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?M.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||aI.test(this.nodeName)||ar.test(this.type))}).map(function(u,c){var E=M(this).val();return E==null?null:M.isArray(E)?M.map(E,function(O){return{name:c.name,value:O}}):{name:c.name,value:E}}).get()}});M.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(u,c){M.fn[c]=function(E){return this.bind(c,E)}});M.extend({get:function(u,c,O,E){if(M.isFunction(c)){E=E||O;O=c;c=null}return M.ajax({type:"GET",url:u,data:c,success:O,dataType:E})},getScript:function(u,c){return M.get(u,null,c,"script")},getJSON:function(u,c,E){return M.get(u,c,E,"json")},post:function(u,c,O,E){if(M.isFunction(c)){E=E||O;O=c;c={}}return M.ajax({type:"POST",url:u,data:c,success:O,dataType:E})},ajaxSetup:function(c){M.extend(M.ajaxSettings,c)},ajaxSettings:{url:location.href,global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:function(){return new au.XMLHttpRequest},accepts:{xml:"application/xml, text/xml",html:"text/html",script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},ajax:function(a5){var a4=M.extend(true,{},M.ajaxSettings,a5),a3,a2,a1,ab=a4.type.toUpperCase(),Z=K.test(ab);a4.url=a4.url.replace(aM,"");a4.context=a5&&a5.context!=null?a5.context:a4;if(a4.data&&a4.processData&&typeof a4.data!=="string"){a4.data=M.param(a4.data,a4.traditional)}if(a4.dataType==="jsonp"){if(ab==="GET"){aj.test(a4.url)||(a4.url+=(I.test(a4.url)?"&":"?")+(a4.jsonp||"callback")+"=?")}else{if(!a4.data||!aj.test(a4.data)){a4.data=(a4.data?a4.data+"&":"")+(a4.jsonp||"callback")+"=?"}}a4.dataType="json"}if(a4.dataType==="json"&&(a4.data&&aj.test(a4.data)||aj.test(a4.url))){a3=a4.jsonpCallback||"jsonp"+g++;if(a4.data){a4.data=(a4.data+"").replace(aj,"="+a3+"$1")}a4.url=a4.url.replace(aj,"="+a3+"$1");a4.dataType="script";var Y=au[a3];au[a3]=function(a6){a1=a6;M.handleSuccess(a4,E,a2,a1);M.handleComplete(a4,E,a2,a1);if(M.isFunction(Y)){Y(a6)}else{au[a3]=ay;try{delete au[a3]}catch(a7){}}S&&S.removeChild(V)}}if(a4.dataType==="script"&&a4.cache===null){a4.cache=false}if(a4.cache===false&&ab==="GET"){var X=M.now(),T=a4.url.replace(v,"$1_="+X);a4.url=T+(T===a4.url?(I.test(a4.url)?"&":"?")+"_="+X:"")}if(a4.data&&ab==="GET"){a4.url+=(I.test(a4.url)?"&":"?")+a4.data}a4.global&&M.active++===0&&M.event.trigger("ajaxStart");X=(X=j.exec(a4.url))&&(X[1]&&X[1]!==location.protocol||X[2]!==location.host);if(a4.dataType==="script"&&ab==="GET"&&X){var S=D.getElementsByTagName("head")[0]||D.documentElement,V=D.createElement("script");if(a4.scriptCharset){V.charset=a4.scriptCharset}V.src=a4.url;if(!a3){var U=false;V.onload=V.onreadystatechange=function(){if(!U&&(!this.readyState||this.readyState==="loaded"||this.readyState==="complete")){U=true;M.handleSuccess(a4,E,a2,a1);M.handleComplete(a4,E,a2,a1);V.onload=V.onreadystatechange=null;S&&V.parentNode&&S.removeChild(V)}}}S.insertBefore(V,S.firstChild);return ay}var u=false,E=a4.xhr();if(E){a4.username?E.open(ab,a4.url,a4.async,a4.username,a4.password):E.open(ab,a4.url,a4.async);try{if(a4.data!=null&&!Z||a5&&a5.contentType){E.setRequestHeader("Content-Type",a4.contentType)}if(a4.ifModified){M.lastModified[a4.url]&&E.setRequestHeader("If-Modified-Since",M.lastModified[a4.url]);M.etag[a4.url]&&E.setRequestHeader("If-None-Match",M.etag[a4.url])}X||E.setRequestHeader("X-Requested-With","XMLHttpRequest");E.setRequestHeader("Accept",a4.dataType&&a4.accepts[a4.dataType]?a4.accepts[a4.dataType]+", */*; q=0.01":a4.accepts._default)}catch(O){}if(a4.beforeSend&&a4.beforeSend.call(a4.context,E,a4)===false){a4.global&&M.active--===1&&M.event.trigger("ajaxStop");E.abort();return false}a4.global&&M.triggerGlobal(a4,"ajaxSend",[E,a4]);var c=E.onreadystatechange=function(a6){if(!E||E.readyState===0||a6==="abort"){u||M.handleComplete(a4,E,a2,a1);u=true;if(E){E.onreadystatechange=M.noop}}else{if(!u&&E&&(E.readyState===4||a6==="timeout")){u=true;E.onreadystatechange=M.noop;a2=a6==="timeout"?"timeout":!M.httpSuccess(E)?"error":a4.ifModified&&M.httpNotModified(E,a4.url)?"notmodified":"success";var a8;if(a2==="success"){try{a1=M.httpData(E,a4.dataType,a4)}catch(a7){a2="parsererror";a8=a7}}if(a2==="success"||a2==="notmodified"){a3||M.handleSuccess(a4,E,a2,a1)}else{M.handleError(a4,E,a2,a8)}a3||M.handleComplete(a4,E,a2,a1);a6==="timeout"&&E.abort();if(a4.async){E=null}}}};try{var a0=E.abort;E.abort=function(){E&&a0.call&&a0.call(E);c("abort")}}catch(aa){}a4.async&&a4.timeout>0&&setTimeout(function(){E&&!u&&c("timeout")},a4.timeout);try{E.send(Z||a4.data==null?null:a4.data)}catch(W){M.handleError(a4,E,null,W);M.handleComplete(a4,E,a2,a1)}a4.async||c();return E}},param:function(u,c){var S=[],O=function(U,T){T=M.isFunction(T)?T():T;S[S.length]=encodeURIComponent(U)+"="+encodeURIComponent(T)};if(c===ay){c=M.ajaxSettings.traditional}if(M.isArray(u)||u.jquery){M.each(u,function(){O(this.name,this.value)})}else{for(var E in u){G(E,u[E],c,O)}}return S.join("&").replace(aX,"+")}});M.extend({active:0,lastModified:{},etag:{},handleError:function(u,c,O,E){u.error&&u.error.call(u.context,c,O,E);u.global&&M.triggerGlobal(u,"ajaxError",[c,u,E])},handleSuccess:function(u,c,O,E){u.success&&u.success.call(u.context,E,O,c);u.global&&M.triggerGlobal(u,"ajaxSuccess",[c,u])},handleComplete:function(u,c,E){u.complete&&u.complete.call(u.context,c,E);u.global&&M.triggerGlobal(u,"ajaxComplete",[c,u]);u.global&&M.active--===1&&M.event.trigger("ajaxStop")},triggerGlobal:function(u,c,E){(u.context&&u.context.url==null?M(u.context):M.event).trigger(c,E)},httpSuccess:function(u){try{return !u.status&&location.protocol==="file:"||u.status>=200&&u.status<300||u.status===304||u.status===1223}catch(c){}return false},httpNotModified:function(u,c){var O=u.getResponseHeader("Last-Modified"),E=u.getResponseHeader("Etag");if(O){M.lastModified[c]=O}if(E){M.etag[c]=E}return u.status===304},httpData:function(u,c,S){var O=u.getResponseHeader("content-type")||"",E=c==="xml"||!c&&O.indexOf("xml")>=0;u=E?u.responseXML:u.responseText;E&&u.documentElement.nodeName==="parsererror"&&M.error("parsererror");if(S&&S.dataFilter){u=S.dataFilter(u,c)}if(typeof u==="string"){if(c==="json"||!c&&O.indexOf("json")>=0){u=M.parseJSON(u)}else{if(c==="script"||!c&&O.indexOf("javascript")>=0){M.globalEval(u)}}}return u}});if(au.ActiveXObject){M.ajaxSettings.xhr=function(){if(au.location.protocol!=="file:"){try{return new au.XMLHttpRequest}catch(u){}}try{return new au.ActiveXObject("Microsoft.XMLHTTP")}catch(c){}}}M.support.ajax=!!M.ajaxSettings.xhr();var q={},ax=/^(?:toggle|show|hide)$/,P=/^([+\-]=)?([\d+.\-]+)(.*)$/,aE,at=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];M.fn.extend({show:function(u,c,E){if(u||u===0){return this.animate(ak("show",3),u,c,E)}else{u=0;for(c=this.length;u=0;O--){if(E[O].elem===this){c&&E[O](true);E.splice(O,1)}}});c||this.dequeue();return this}});M.each({slideDown:ak("show",1),slideUp:ak("hide",1),slideToggle:ak("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(u,c){M.fn[u]=function(S,O,E){return this.animate(c,S,O,E)}});M.extend({speed:function(u,c,O){var E=u&&typeof u==="object"?M.extend({},u):{complete:O||!O&&c||M.isFunction(u)&&u,duration:u,easing:O&&c||c&&!M.isFunction(c)&&c};E.duration=M.fx.off?0:typeof E.duration==="number"?E.duration:E.duration in M.fx.speeds?M.fx.speeds[E.duration]:M.fx.speeds._default;E.old=E.complete;E.complete=function(){E.queue!==false&&M(this).dequeue();M.isFunction(E.old)&&E.old.call(this)};return E},easing:{linear:function(u,c,O,E){return O+E*u},swing:function(u,c,O,E){return(-Math.cos(u*Math.PI)/2+0.5)*E+O}},timers:[],fx:function(u,c,E){this.options=c;this.elem=u;this.prop=E;if(!c.orig){c.orig={}}}});M.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this);(M.fx.step[this.prop]||M.fx.step._default)(this)},cur:function(){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null)){return this.elem[this.prop]}var c=parseFloat(M.css(this.elem,this.prop));return c&&c>-10000?c:0},custom:function(u,c,S){function O(T){return E.step(T)}this.startTime=M.now();this.start=u;this.end=c;this.unit=S||this.unit||"px";this.now=this.start;this.pos=this.state=0;var E=this;u=M.fx;O.elem=this.elem;if(O()&&M.timers.push(O)&&!aE){aE=setInterval(u.tick,u.interval)}},show:function(){this.options.orig[this.prop]=M.style(this.elem,this.prop);this.options.show=true;this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur());M(this.elem).show()},hide:function(){this.options.orig[this.prop]=M.style(this.elem,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(u){var c=M.now(),U=true;if(u||c>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;for(var T in this.options.curAnim){if(this.options.curAnim[T]!==true){U=false}}if(U){if(this.options.overflow!=null&&!M.support.shrinkWrapBlocks){var S=this.elem,O=this.options;M.each(["","X","Y"],function(V,W){S.style["overflow"+W]=O.overflow[V]})}this.options.hide&&M(this.elem).hide();if(this.options.hide||this.options.show){for(var E in this.options.curAnim){M.style(this.elem,E,this.options.orig[E])}}this.options.complete.call(this.elem)}return false}else{u=c-this.startTime;this.state=u/this.options.duration;c=this.options.easing||(M.easing.swing?"swing":"linear");this.pos=M.easing[this.options.specialEasing&&this.options.specialEasing[this.prop]||c](this.state,u,0,1,this.options.duration);this.now=this.start+(this.end-this.start)*this.pos;this.update()}return true}};M.extend(M.fx,{tick:function(){for(var u=M.timers,c=0;c
";u.insertBefore(c,u.firstChild);T=c.firstChild;S=T.firstChild;O=T.nextSibling.firstChild.firstChild;this.doesNotAddBorder=S.offsetTop!==5;this.doesAddBorderForTableAndCells=O.offsetTop===5;S.style.position="fixed";S.style.top="20px";this.supportsFixedPosition=S.offsetTop===20||S.offsetTop===15;S.style.position=S.style.top="";T.style.overflow="hidden";T.style.position="relative";this.subtractsBorderForOverflowNotVisible=S.offsetTop===-5;this.doesNotIncludeMarginInBodyOffset=u.offsetTop!==E;u.removeChild(c);M.offset.initialize=M.noop},bodyOffset:function(u){var c=u.offsetTop,E=u.offsetLeft;M.offset.initialize();if(M.offset.doesNotIncludeMarginInBodyOffset){c+=parseFloat(M.css(u,"marginTop"))||0;E+=parseFloat(M.css(u,"marginLeft"))||0}return{top:c,left:E}},setOffset:function(W,V,U){var T=M.css(W,"position");if(T==="static"){W.style.position="relative"}var S=M(W),O=S.offset(),E=M.css(W,"top"),u=M.css(W,"left"),c=T==="absolute"&&M.inArray("auto",[E,u])>-1;T={};var X={};if(c){X=S.position()}E=c?X.top:parseInt(E,10)||0;u=c?X.left:parseInt(u,10)||0;if(M.isFunction(V)){V=V.call(W,U,O)}if(V.top!=null){T.top=V.top-O.top+E}if(V.left!=null){T.left=V.left-O.left+u}"using" in V?V.using.call(W,T):S.css(T)}};M.fn.extend({position:function(){if(!this[0]){return null}var u=this[0],c=this.offsetParent(),O=this.offset(),E=i.test(c[0].nodeName)?{top:0,left:0}:c.offset();O.top-=parseFloat(M.css(u,"marginTop"))||0;O.left-=parseFloat(M.css(u,"marginLeft"))||0;E.top+=parseFloat(M.css(c[0],"borderTopWidth"))||0;E.left+=parseFloat(M.css(c[0],"borderLeftWidth"))||0;return{top:O.top-E.top,left:O.left-E.left}},offsetParent:function(){return this.map(function(){for(var c=this.offsetParent||D.body;c&&!i.test(c.nodeName)&&M.css(c,"position")==="static";){c=c.offsetParent}return c})}});M.each(["Left","Top"],function(u,c){var E="scroll"+c;M.fn[E]=function(T){var S=this[0],O;if(!S){return null}if(T!==ay){return this.each(function(){if(O=f(this)){O.scrollTo(!u?T:M(O).scrollLeft(),u?T:M(O).scrollTop())}else{this[E]=T}})}else{return(O=f(S))?"pageXOffset" in O?O[u?"pageYOffset":"pageXOffset"]:M.support.boxModel&&O.document.documentElement[E]||O.document.body[E]:S[E]}}});M.each(["Height","Width"],function(u,c){var E=c.toLowerCase();M.fn["inner"+c]=function(){return this[0]?parseFloat(M.css(this[0],E,"padding")):null};M.fn["outer"+c]=function(O){return this[0]?parseFloat(M.css(this[0],E,O?"margin":"border")):null};M.fn[E]=function(S){var O=this[0];if(!O){return S==null?null:this}if(M.isFunction(S)){return this.each(function(U){var T=M(this);T[E](S.call(this,U,T[E]()))})}return M.isWindow(O)?O.document.compatMode==="CSS1Compat"&&O.document.documentElement["client"+c]||O.document.body["client"+c]:O.nodeType===9?Math.max(O.documentElement["client"+c],O.body["scroll"+c],O.documentElement["scroll"+c],O.body["offset"+c],O.documentElement["offset"+c]):S===ay?parseFloat(M.css(O,E)):this.css(E,typeof S==="string"?S:S+"px")}})})(window);jQuery.noConflict();jQuery(document).ready(function($){(function(){var ExtensionConfig={domainURL:"yousticker.com",debugOn:true,showFirebug:false,getImagePath:function(path){return"http://"+ExtensionConfig.domainURL+"/design/prototype/"+path},openPopupOnLoad:true,loadToolbarHash:"stickr_load_toolbar=true"};var hexcase=0;var b64pad="";function hex_md5(s){return rstr2hex(rstr_md5(str2rstr_utf8(s)))}function b64_md5(s){return rstr2b64(rstr_md5(str2rstr_utf8(s)))}function any_md5(s,e){return rstr2any(rstr_md5(str2rstr_utf8(s)),e)}function hex_hmac_md5(k,d){return rstr2hex(rstr_hmac_md5(str2rstr_utf8(k),str2rstr_utf8(d)))}function b64_hmac_md5(k,d){return rstr2b64(rstr_hmac_md5(str2rstr_utf8(k),str2rstr_utf8(d)))}function any_hmac_md5(k,d,e){return rstr2any(rstr_hmac_md5(str2rstr_utf8(k),str2rstr_utf8(d)),e)}function md5_vm_test(){return hex_md5("abc").toLowerCase()=="900150983cd24fb0d6963f7d28e17f72"}function rstr_md5(s){return binl2rstr(binl_md5(rstr2binl(s),s.length*8))}function rstr_hmac_md5(key,data){var bkey=rstr2binl(key);if(bkey.length>16){bkey=binl_md5(bkey,key.length*8)}var ipad=Array(16),opad=Array(16);for(var i=0;i<16;i++){ipad[i]=bkey[i]^909522486;opad[i]=bkey[i]^1549556828}var hash=binl_md5(ipad.concat(rstr2binl(data)),512+data.length*8);return binl2rstr(binl_md5(opad.concat(hash),512+128))}function rstr2hex(input){try{hexcase}catch(e){hexcase=0}var hex_tab=hexcase?"0123456789ABCDEF":"0123456789abcdef";var output="";var x;for(var i=0;i>>4)&15)+hex_tab.charAt(x&15)}return output}function rstr2b64(input){try{b64pad}catch(e){b64pad=""}var tab="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";var output="";var len=input.length;for(var i=0;iinput.length*8){output+=b64pad}else{output+=tab.charAt((triplet>>>6*(3-j))&63)}}}return output}function rstr2any(input,encoding){var divisor=encoding.length;var i,j,q,x,quotient;var dividend=Array(Math.ceil(input.length/2));for(i=0;i0||q>0){quotient[quotient.length]=q}}remainders[j]=x;dividend=quotient}var output="";for(i=remainders.length-1;i>=0;i--){output+=encoding.charAt(remainders[i])}return output}function str2rstr_utf8(input){var output="";var i=-1;var x,y;while(++i>>6)&31),128|(x&63))}else{if(x<=65535){output+=String.fromCharCode(224|((x>>>12)&15),128|((x>>>6)&63),128|(x&63))}else{if(x<=2097151){output+=String.fromCharCode(240|((x>>>18)&7),128|((x>>>12)&63),128|((x>>>6)&63),128|(x&63))}}}}}return output}function str2rstr_utf16le(input){var output="";for(var i=0;i>>8)&255)}return output}function str2rstr_utf16be(input){var output="";for(var i=0;i>>8)&255,input.charCodeAt(i)&255)}return output}function rstr2binl(input){var output=Array(input.length>>2);for(var i=0;i>5]|=(input.charCodeAt(i/8)&255)<<(i%32)}return output}function binl2rstr(input){var output="";for(var i=0;i>5]>>>(i%32))&255)}return output}function binl_md5(x,len){x[len>>5]|=128<<((len)%32);x[(((len+64)>>>9)<<4)+14]=len;var a=1732584193;var b=-271733879;var c=-1732584194;var d=271733878;for(var i=0;i>16)+(y>>16)+(lsw>>16);return(msw<<16)|(lsw&65535)}function bit_rol(num,cnt){return(num<>>(32-cnt))} /* * jQuery UI 1.8.7 * * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * http://docs.jquery.com/UI */ (function(c,j){function k(a){return !c(a).parents().andSelf().filter(function(){return c.curCSS(this,"visibility")==="hidden"||c.expr.filters.hidden(this)}).length}c.ui=c.ui||{};if(!c.ui.version){c.extend(c.ui,{version:"1.8.7",keyCode:{ALT:18,BACKSPACE:8,CAPS_LOCK:20,COMMA:188,COMMAND:91,COMMAND_LEFT:91,COMMAND_RIGHT:93,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,MENU:93,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,WINDOWS:91}});c.fn.extend({_focus:c.fn.focus,focus:function(a,b){return typeof a==="number"?this.each(function(){var d=this;setTimeout(function(){c(d).focus();b&&b.call(d)},a)}):this._focus.apply(this,arguments)},scrollParent:function(){var a;a=c.browser.msie&&/(static|relative)/.test(this.css("position"))||/absolute/.test(this.css("position"))?this.parents().filter(function(){return/(relative|absolute|fixed)/.test(c.curCSS(this,"position",1))&&/(auto|scroll)/.test(c.curCSS(this,"overflow",1)+c.curCSS(this,"overflow-y",1)+c.curCSS(this,"overflow-x",1))}).eq(0):this.parents().filter(function(){return/(auto|scroll)/.test(c.curCSS(this,"overflow",1)+c.curCSS(this,"overflow-y",1)+c.curCSS(this,"overflow-x",1))}).eq(0);return/fixed/.test(this.css("position"))||!a.length?c(document):a},zIndex:function(a){if(a!==j){return this.css("zIndex",a)}if(this.length){a=c(this[0]);for(var b;a.length&&a[0]!==document;){b=a.css("position");if(b==="absolute"||b==="relative"||b==="fixed"){b=parseInt(a.css("zIndex"),10);if(!isNaN(b)&&b!==0){return b}}a=a.parent()}}return 0},disableSelection:function(){return this.bind((c.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function(a){a.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}});c.each(["Width","Height"],function(a,b){function d(f,g,l,m){c.each(e,function(){g-=parseFloat(c.curCSS(f,"padding"+this,true))||0;if(l){g-=parseFloat(c.curCSS(f,"border"+this+"Width",true))||0}if(m){g-=parseFloat(c.curCSS(f,"margin"+this,true))||0}});return g}var e=b==="Width"?["Left","Right"]:["Top","Bottom"],h=b.toLowerCase(),i={innerWidth:c.fn.innerWidth,innerHeight:c.fn.innerHeight,outerWidth:c.fn.outerWidth,outerHeight:c.fn.outerHeight};c.fn["inner"+b]=function(f){if(f===j){return i["inner"+b].call(this)}return this.each(function(){c(this).css(h,d(this,f)+"px")})};c.fn["outer"+b]=function(f,g){if(typeof f!=="number"){return i["outer"+b].call(this,f)}return this.each(function(){c(this).css(h,d(this,f,true,g)+"px")})}});c.extend(c.expr[":"],{data:function(a,b,d){return !!c.data(a,d[3])},focusable:function(a){var b=a.nodeName.toLowerCase(),d=c.attr(a,"tabindex");if("area"===b){b=a.parentNode;d=b.name;if(!a.href||!d||b.nodeName.toLowerCase()!=="map"){return false}a=c("img[usemap=#"+d+"]")[0];return !!a&&k(a)}return(/input|select|textarea|button|object/.test(b)?!a.disabled:"a"==b?a.href||!isNaN(d):!isNaN(d))&&k(a)},tabbable:function(a){var b=c.attr(a,"tabindex");return(isNaN(b)||b>=0)&&c(a).is(":focusable")}});c(function(){var a=document.body,b=a.appendChild(b=document.createElement("div"));c.extend(b.style,{minHeight:"100px",height:"auto",padding:0,borderWidth:0});c.support.minHeight=b.offsetHeight===100;c.support.selectstart="onselectstart" in b;a.removeChild(b).style.display="none"});c.extend(c.ui,{plugin:{add:function(a,b,d){a=c.ui[a].prototype;for(var e in d){a.plugins[e]=a.plugins[e]||[];a.plugins[e].push([b,d[e]])}},call:function(a,b,d){if((b=a.plugins[b])&&a.element[0].parentNode){for(var e=0;e0){return true}a[b]=1;d=a[b]>0;a[b]=0;return d},isOverAxis:function(a,b,d){return a>b&&a=9)&&!a.button){return this._mouseUp(a)}if(this._mouseStarted){this._mouseDrag(a);return a.preventDefault()}if(this._mouseDistanceMet(a)&&this._mouseDelayMet(a)){(this._mouseStarted=this._mouseStart(this._mouseDownEvent,a)!==false)?this._mouseDrag(a):this._mouseUp(a)}return !this._mouseStarted},_mouseUp:function(a){c(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate);if(this._mouseStarted){this._mouseStarted=false;a.target==this._mouseDownEvent.target&&c.data(a.target,this.widgetName+".preventClickEvent",true);this._mouseStop(a)}return false},_mouseDistanceMet:function(a){return Math.max(Math.abs(this._mouseDownEvent.pageX-a.pageX),Math.abs(this._mouseDownEvent.pageY-a.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return true}})})(jQuery);(function(c){c.ui=c.ui||{};var n=/left|center|right/,o=/top|center|bottom/,t=c.fn.position,u=c.fn.offset;c.fn.position=function(b){if(!b||!b.of){return t.apply(this,arguments)}b=c.extend({},b);var a=c(b.of),d=a[0],g=(b.collision||"flip").split(" "),e=b.offset?b.offset.split(" "):[0,0],h,k,j;if(d.nodeType===9){h=a.width();k=a.height();j={top:0,left:0}}else{if(d.setTimeout){h=a.width();k=a.height();j={top:a.scrollTop(),left:a.scrollLeft()}}else{if(d.preventDefault){b.at="left top";h=k=0;j={top:b.of.pageY,left:b.of.pageX}}else{h=a.outerWidth();k=a.outerHeight();j=a.offset()}}}c.each(["my","at"],function(){var f=(b[this]||"").split(" ");if(f.length===1){f=n.test(f[0])?f.concat(["center"]):o.test(f[0])?["center"].concat(f):["center","center"]}f[0]=n.test(f[0])?f[0]:"center";f[1]=o.test(f[1])?f[1]:"center";b[this]=f});if(g.length===1){g[1]=g[0]}e[0]=parseInt(e[0],10)||0;if(e.length===1){e[1]=e[0]}e[1]=parseInt(e[1],10)||0;if(b.at[0]==="right"){j.left+=h}else{if(b.at[0]==="center"){j.left+=h/2}}if(b.at[1]==="bottom"){j.top+=k}else{if(b.at[1]==="center"){j.top+=k/2}}j.left+=e[0];j.top+=e[1];return this.each(function(){var f=c(this),l=f.outerWidth(),m=f.outerHeight(),p=parseInt(c.curCSS(this,"marginLeft",true))||0,q=parseInt(c.curCSS(this,"marginTop",true))||0,v=l+p+parseInt(c.curCSS(this,"marginRight",true))||0,w=m+q+parseInt(c.curCSS(this,"marginBottom",true))||0,i=c.extend({},j),r;if(b.my[0]==="right"){i.left-=l}else{if(b.my[0]==="center"){i.left-=l/2}}if(b.my[1]==="bottom"){i.top-=m}else{if(b.my[1]==="center"){i.top-=m/2}}i.left=Math.round(i.left);i.top=Math.round(i.top);r={left:i.left-p,top:i.top-q};c.each(["left","top"],function(s,x){c.ui.position[g[s]]&&c.ui.position[g[s]][x](i,{targetWidth:h,targetHeight:k,elemWidth:l,elemHeight:m,collisionPosition:r,collisionWidth:v,collisionHeight:w,offset:e,my:b.my,at:b.at})});c.fn.bgiframe&&f.bgiframe();f.offset(c.extend(i,{using:b.using}))})};c.ui.position={fit:{left:function(b,a){var d=c(window);d=a.collisionPosition.left+a.collisionWidth-d.width()-d.scrollLeft();b.left=d>0?b.left-d:Math.max(b.left-a.collisionPosition.left,b.left)},top:function(b,a){var d=c(window);d=a.collisionPosition.top+a.collisionHeight-d.height()-d.scrollTop();b.top=d>0?b.top-d:Math.max(b.top-a.collisionPosition.top,b.top)}},flip:{left:function(b,a){if(a.at[0]!=="center"){var d=c(window);d=a.collisionPosition.left+a.collisionWidth-d.width()-d.scrollLeft();var g=a.my[0]==="left"?-a.elemWidth:a.my[0]==="right"?a.elemWidth:0,e=a.at[0]==="left"?a.targetWidth:-a.targetWidth,h=-2*a.offset[0];b.left+=a.collisionPosition.left<0?g+e+h:d>0?g+e+h:0}},top:function(b,a){if(a.at[1]!=="center"){var d=c(window);d=a.collisionPosition.top+a.collisionHeight-d.height()-d.scrollTop();var g=a.my[1]==="top"?-a.elemHeight:a.my[1]==="bottom"?a.elemHeight:0,e=a.at[1]==="top"?a.targetHeight:-a.targetHeight,h=-2*a.offset[1];b.top+=a.collisionPosition.top<0?g+e+h:d>0?g+e+h:0}}}};if(!c.offset.setOffset){c.offset.setOffset=function(b,a){if(/static/.test(c.curCSS(b,"position"))){b.style.position="relative"}var d=c(b),g=d.offset(),e=parseInt(c.curCSS(b,"top",true),10)||0,h=parseInt(c.curCSS(b,"left",true),10)||0;g={top:a.top-g.top+e,left:a.left-g.left+h};"using" in a?a.using.call(b,g):d.css(g)};c.fn.offset=function(b){var a=this[0];if(!a||!a.ownerDocument){return null}if(b){return this.each(function(){c.offset.setOffset(this,b)})}return u.call(this)}}})(jQuery);(function(d){d.widget("ui.draggable",d.ui.mouse,{widgetEventPrefix:"drag",options:{addClasses:true,appendTo:"parent",axis:false,connectToSortable:false,containment:false,cursor:"auto",cursorAt:false,grid:false,handle:false,helper:"original",iframeFix:false,opacity:false,refreshPositions:false,revert:false,revertDuration:500,scope:"default",scroll:true,scrollSensitivity:20,scrollSpeed:20,snap:false,snapMode:"both",snapTolerance:20,stack:false,zIndex:false},_create:function(){if(this.options.helper=="original"&&!/^(?:r|a|f)/.test(this.element.css("position"))){this.element[0].style.position="relative"}this.options.addClasses&&this.element.addClass("ui-draggable");this.options.disabled&&this.element.addClass("ui-draggable-disabled");this._mouseInit()},destroy:function(){if(this.element.data("draggable")){this.element.removeData("draggable").unbind(".draggable").removeClass("ui-draggable ui-draggable-dragging ui-draggable-disabled");this._mouseDestroy();return this}},_mouseCapture:function(a){var b=this.options;if(this.helper||b.disabled||d(a.target).is(".ui-resizable-handle")){return false}this.handle=this._getHandle(a);if(!this.handle){return false}return true},_mouseStart:function(a){var b=this.options;this.helper=this._createHelper(a);this._cacheHelperProportions();if(d.ui.ddmanager){d.ui.ddmanager.current=this}this._cacheMargins();this.cssPosition=this.helper.css("position");this.scrollParent=this.helper.scrollParent();this.offset=this.positionAbs=this.element.offset();this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left};d.extend(this.offset,{click:{left:a.pageX-this.offset.left,top:a.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()});this.originalPosition=this.position=this._generatePosition(a);this.originalPageX=a.pageX;this.originalPageY=a.pageY;b.cursorAt&&this._adjustOffsetFromHelper(b.cursorAt);b.containment&&this._setContainment();if(this._trigger("start",a)===false){this._clear();return false}this._cacheHelperProportions();d.ui.ddmanager&&!b.dropBehaviour&&d.ui.ddmanager.prepareOffsets(this,a);this.helper.addClass("ui-draggable-dragging");this._mouseDrag(a,true);return true},_mouseDrag:function(a,b){this.position=this._generatePosition(a);this.positionAbs=this._convertPositionTo("absolute");if(!b){b=this._uiHash();if(this._trigger("drag",a,b)===false){this._mouseUp({});return false}this.position=b.position}if(!this.options.axis||this.options.axis!="y"){this.helper[0].style.left=this.position.left+"px"}if(!this.options.axis||this.options.axis!="x"){this.helper[0].style.top=this.position.top+"px"}d.ui.ddmanager&&d.ui.ddmanager.drag(this,a);return false},_mouseStop:function(a){var b=false;if(d.ui.ddmanager&&!this.options.dropBehaviour){b=d.ui.ddmanager.drop(this,a)}if(this.dropped){b=this.dropped;this.dropped=false}if(!this.element[0]||!this.element[0].parentNode){return false}if(this.options.revert=="invalid"&&!b||this.options.revert=="valid"&&b||this.options.revert===true||d.isFunction(this.options.revert)&&this.options.revert.call(this.element,b)){var c=this;d(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),function(){c._trigger("stop",a)!==false&&c._clear()})}else{this._trigger("stop",a)!==false&&this._clear()}return false},cancel:function(){this.helper.is(".ui-draggable-dragging")?this._mouseUp({}):this._clear();return this},_getHandle:function(a){var b=!this.options.handle||!d(this.options.handle,this.element).length?true:false;d(this.options.handle,this.element).find("*").andSelf().each(function(){if(this==a.target){b=true}});return b},_createHelper:function(a){var b=this.options;a=d.isFunction(b.helper)?d(b.helper.apply(this.element[0],[a])):b.helper=="clone"?this.element.clone():this.element;a.parents("body").length||a.appendTo(b.appendTo=="parent"?this.element[0].parentNode:b.appendTo);a[0]!=this.element[0]&&!/(fixed|absolute)/.test(a.css("position"))&&a.css("position","absolute");return a},_adjustOffsetFromHelper:function(a){if(typeof a=="string"){a=a.split(" ")}if(d.isArray(a)){a={left:+a[0],top:+a[1]||0}}if("left" in a){this.offset.click.left=a.left+this.margins.left}if("right" in a){this.offset.click.left=this.helperProportions.width-a.right+this.margins.left}if("top" in a){this.offset.click.top=a.top+this.margins.top}if("bottom" in a){this.offset.click.top=this.helperProportions.height-a.bottom+this.margins.top}},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var a=this.offsetParent.offset();if(this.cssPosition=="absolute"&&this.scrollParent[0]!=document&&d.ui.contains(this.scrollParent[0],this.offsetParent[0])){a.left+=this.scrollParent.scrollLeft();a.top+=this.scrollParent.scrollTop()}if(this.offsetParent[0]==document.body||this.offsetParent[0].tagName&&this.offsetParent[0].tagName.toLowerCase()=="html"&&d.browser.msie){a={top:0,left:0}}return{top:a.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:a.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if(this.cssPosition=="relative"){var a=this.element.position();return{top:a.top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:a.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}}else{return{top:0,left:0}}},_cacheMargins:function(){this.margins={left:parseInt(this.element.css("marginLeft"),10)||0,top:parseInt(this.element.css("marginTop"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var a=this.options;if(a.containment=="parent"){a.containment=this.helper[0].parentNode}if(a.containment=="document"||a.containment=="window"){this.containment=[(a.containment=="document"?0:d(window).scrollLeft())-this.offset.relative.left-this.offset.parent.left,(a.containment=="document"?0:d(window).scrollTop())-this.offset.relative.top-this.offset.parent.top,(a.containment=="document"?0:d(window).scrollLeft())+d(a.containment=="document"?document:window).width()-this.helperProportions.width-this.margins.left,(a.containment=="document"?0:d(window).scrollTop())+(d(a.containment=="document"?document:window).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]}if(!/^(document|window|parent)$/.test(a.containment)&&a.containment.constructor!=Array){var b=d(a.containment)[0];if(b){a=d(a.containment).offset();var c=d(b).css("overflow")!="hidden";this.containment=[a.left+(parseInt(d(b).css("borderLeftWidth"),10)||0)+(parseInt(d(b).css("paddingLeft"),10)||0)-this.margins.left,a.top+(parseInt(d(b).css("borderTopWidth"),10)||0)+(parseInt(d(b).css("paddingTop"),10)||0)-this.margins.top,a.left+(c?Math.max(b.scrollWidth,b.offsetWidth):b.offsetWidth)-(parseInt(d(b).css("borderLeftWidth"),10)||0)-(parseInt(d(b).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left,a.top+(c?Math.max(b.scrollHeight,b.offsetHeight):b.offsetHeight)-(parseInt(d(b).css("borderTopWidth"),10)||0)-(parseInt(d(b).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top]}}else{if(a.containment.constructor==Array){this.containment=a.containment}}},_convertPositionTo:function(a,b){if(!b){b=this.position}a=a=="absolute"?1:-1;var c=this.cssPosition=="absolute"&&!(this.scrollParent[0]!=document&&d.ui.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent,f=/(html|body)/i.test(c[0].tagName);return{top:b.top+this.offset.relative.top*a+this.offset.parent.top*a-(d.browser.safari&&d.browser.version<526&&this.cssPosition=="fixed"?0:(this.cssPosition=="fixed"?-this.scrollParent.scrollTop():f?0:c.scrollTop())*a),left:b.left+this.offset.relative.left*a+this.offset.parent.left*a-(d.browser.safari&&d.browser.version<526&&this.cssPosition=="fixed"?0:(this.cssPosition=="fixed"?-this.scrollParent.scrollLeft():f?0:c.scrollLeft())*a)}},_generatePosition:function(a){var b=this.options,c=this.cssPosition=="absolute"&&!(this.scrollParent[0]!=document&&d.ui.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent,f=/(html|body)/i.test(c[0].tagName),e=a.pageX,g=a.pageY;if(this.originalPosition){if(this.containment){if(a.pageX-this.offset.click.leftthis.containment[2]){e=this.containment[2]+this.offset.click.left}if(a.pageY-this.offset.click.top>this.containment[3]){g=this.containment[3]+this.offset.click.top}}if(b.grid){g=this.originalPageY+Math.round((g-this.originalPageY)/b.grid[1])*b.grid[1];g=this.containment?!(g-this.offset.click.topthis.containment[3])?g:!(g-this.offset.click.topthis.containment[2])?e:!(e-this.offset.click.left').css({width:this.offsetWidth+"px",height:this.offsetHeight+"px",position:"absolute",opacity:"0.001",zIndex:1000}).css(d(this).offset()).appendTo("body")})},stop:function(){d("div.ui-draggable-iframeFix").each(function(){this.parentNode.removeChild(this)})}});d.ui.plugin.add("draggable","opacity",{start:function(a,b){a=d(b.helper);b=d(this).data("draggable").options;if(a.css("opacity")){b._opacity=a.css("opacity")}a.css("opacity",b.opacity)},stop:function(a,b){a=d(this).data("draggable").options;a._opacity&&d(b.helper).css("opacity",a._opacity)}});d.ui.plugin.add("draggable","scroll",{start:function(){var a=d(this).data("draggable");if(a.scrollParent[0]!=document&&a.scrollParent[0].tagName!="HTML"){a.overflowOffset=a.scrollParent.offset()}},drag:function(a){var b=d(this).data("draggable"),c=b.options,f=false;if(b.scrollParent[0]!=document&&b.scrollParent[0].tagName!="HTML"){if(!c.axis||c.axis!="x"){if(b.overflowOffset.top+b.scrollParent[0].offsetHeight-a.pageY=0;h--){var i=c.snapElements[h].left,k=i+c.snapElements[h].width,j=c.snapElements[h].top,l=j+c.snapElements[h].height;if(i-e').css({position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")}));this.element=this.element.parent().data("resizable",this.element.data("resizable"));this.elementIsWrapper=true;this.element.css({marginLeft:this.originalElement.css("marginLeft"),marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom")});this.originalElement.css({marginLeft:0,marginTop:0,marginRight:0,marginBottom:0});this.originalResizeStyle=this.originalElement.css("resize");this.originalElement.css("resize","none");this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"}));this.originalElement.css({margin:this.originalElement.css("margin")});this._proportionallyResize()}this.handles=a.handles||(!e(".ui-resizable-handle",this.element).length?"e,s,se":{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"});if(this.handles.constructor==String){if(this.handles=="all"){this.handles="n,e,s,w,se,sw,ne,nw"}var c=this.handles.split(",");this.handles={};for(var d=0;d');/sw|se|ne|nw/.test(f)&&g.css({zIndex:++a.zIndex});"se"==f&&g.addClass("ui-icon ui-icon-gripsmall-diagonal-se");this.handles[f]=".ui-resizable-"+f;this.element.append(g)}}this._renderAxis=function(h){h=h||this.element;for(var i in this.handles){if(this.handles[i].constructor==String){this.handles[i]=e(this.handles[i],this.element).show()}if(this.elementIsWrapper&&this.originalElement[0].nodeName.match(/textarea|input|select|button/i)){var j=e(this.handles[i],this.element),k=0;k=/sw|ne|nw|se|n|s/.test(i)?j.outerHeight():j.outerWidth();j=["padding",/ne|nw|n/.test(i)?"Top":/se|sw|s/.test(i)?"Bottom":/^e$/.test(i)?"Right":"Left"].join("");h.css(j,k);this._proportionallyResize()}e(this.handles[i])}};this._renderAxis(this.element);this._handles=e(".ui-resizable-handle",this.element).disableSelection();this._handles.mouseover(function(){if(!b.resizing){if(this.className){var h=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)}b.axis=h&&h[1]?h[1]:"se"}});if(a.autoHide){this._handles.hide();e(this.element).addClass("ui-resizable-autohide").hover(function(){e(this).removeClass("ui-resizable-autohide");b._handles.show()},function(){if(!b.resizing){e(this).addClass("ui-resizable-autohide");b._handles.hide()}})}this._mouseInit()},destroy:function(){this._mouseDestroy();var b=function(c){e(c).removeClass("ui-resizable ui-resizable-disabled ui-resizable-resizing").removeData("resizable").unbind(".resizable").find(".ui-resizable-handle").remove()};if(this.elementIsWrapper){b(this.element);var a=this.element;a.after(this.originalElement.css({position:a.css("position"),width:a.outerWidth(),height:a.outerHeight(),top:a.css("top"),left:a.css("left")})).remove()}this.originalElement.css("resize",this.originalResizeStyle);b(this.originalElement);return this},_mouseCapture:function(b){var a=false;for(var c in this.handles){if(e(this.handles[c])[0]==b.target){a=true}}return !this.options.disabled&&a},_mouseStart:function(b){var a=this.options,c=this.element.position(),d=this.element;this.resizing=true;this.documentScroll={top:e(document).scrollTop(),left:e(document).scrollLeft()};if(d.is(".ui-draggable")||/absolute/.test(d.css("position"))){d.css({position:"absolute",top:c.top,left:c.left})}e.browser.opera&&/relative/.test(d.css("position"))&&d.css({position:"relative",top:"auto",left:"auto"});this._renderProxy();c=m(this.helper.css("left"));var f=m(this.helper.css("top"));if(a.containment){c+=e(a.containment).scrollLeft()||0;f+=e(a.containment).scrollTop()||0}this.offset=this.helper.offset();this.position={left:c,top:f};this.size=this._helper?{width:d.outerWidth(),height:d.outerHeight()}:{width:d.width(),height:d.height()};this.originalSize=this._helper?{width:d.outerWidth(),height:d.outerHeight()}:{width:d.width(),height:d.height()};this.originalPosition={left:c,top:f};this.sizeDiff={width:d.outerWidth()-d.width(),height:d.outerHeight()-d.height()};this.originalMousePosition={left:b.pageX,top:b.pageY};this.aspectRatio=typeof a.aspectRatio=="number"?a.aspectRatio:this.originalSize.width/this.originalSize.height||1;a=e(".ui-resizable-"+this.axis).css("cursor");e("body").css("cursor",a=="auto"?this.axis+"-resize":a);d.addClass("ui-resizable-resizing");this._propagate("start",b);return true},_mouseDrag:function(b){var a=this.helper,c=this.originalMousePosition,d=this._change[this.axis];if(!d){return false}c=d.apply(this,[b,b.pageX-c.left||0,b.pageY-c.top||0]);if(this._aspectRatio||b.shiftKey){c=this._updateRatio(c,b)}c=this._respectSize(c,b);this._propagate("resize",b);a.css({top:this.position.top+"px",left:this.position.left+"px",width:this.size.width+"px",height:this.size.height+"px"});!this._helper&&this._proportionallyResizeElements.length&&this._proportionallyResize();this._updateCache(c);this._trigger("resize",b,this.ui());return false},_mouseStop:function(b){this.resizing=false;var a=this.options,c=this;if(this._helper){var d=this._proportionallyResizeElements,f=d.length&&/textarea/i.test(d[0].nodeName);d=f&&e.ui.hasScroll(d[0],"left")?0:c.sizeDiff.height;f={width:c.size.width-(f?0:c.sizeDiff.width),height:c.size.height-d};d=parseInt(c.element.css("left"),10)+(c.position.left-c.originalPosition.left)||null;var g=parseInt(c.element.css("top"),10)+(c.position.top-c.originalPosition.top)||null;a.animate||this.element.css(e.extend(f,{top:g,left:d}));c.helper.height(c.size.height);c.helper.width(c.size.width);this._helper&&!a.animate&&this._proportionallyResize()}e("body").css("cursor","auto");this.element.removeClass("ui-resizable-resizing");this._propagate("stop",b);this._helper&&this.helper.remove();return false},_updateCache:function(b){this.offset=this.helper.offset();if(l(b.left)){this.position.left=b.left}if(l(b.top)){this.position.top=b.top}if(l(b.height)){this.size.height=b.height}if(l(b.width)){this.size.width=b.width}},_updateRatio:function(b){var a=this.position,c=this.size,d=this.axis;if(b.height){b.width=c.height*this.aspectRatio}else{if(b.width){b.height=c.width/this.aspectRatio}}if(d=="sw"){b.left=a.left+(c.width-b.width);b.top=null}if(d=="nw"){b.top=a.top+(c.height-b.height);b.left=a.left+(c.width-b.width)}return b},_respectSize:function(b){var a=this.options,c=this.axis,d=l(b.width)&&a.maxWidth&&a.maxWidthb.width,h=l(b.height)&&a.minHeight&&a.minHeight>b.height;if(g){b.width=a.minWidth}if(h){b.height=a.minHeight}if(d){b.width=a.maxWidth}if(f){b.height=a.maxHeight}var i=this.originalPosition.left+this.originalSize.width,j=this.position.top+this.size.height,k=/sw|nw|w/.test(c);c=/nw|ne|n/.test(c);if(g&&k){b.left=i-a.minWidth}if(d&&k){b.left=i-a.maxWidth}if(h&&c){b.top=j-a.minHeight}if(f&&c){b.top=j-a.maxHeight}if((a=!b.width&&!b.height)&&!b.left&&b.top){b.top=null}else{if(a&&!b.top&&b.left){b.left=null}}return b},_proportionallyResize:function(){if(this._proportionallyResizeElements.length){for(var b=this.helper||this.element,a=0;a');var a=e.browser.msie&&e.browser.version<7,c=a?1:0;a=a?2:-1;this.helper.addClass(this._helper).css({width:this.element.outerWidth()+a,height:this.element.outerHeight()+a,position:"absolute",left:this.elementOffset.left-c+"px",top:this.elementOffset.top-c+"px",zIndex:++b.zIndex});this.helper.appendTo("body").disableSelection()}else{this.helper=this.element}},_change:{e:function(b,a){return{width:this.originalSize.width+a}},w:function(b,a){return{left:this.originalPosition.left+a,width:this.originalSize.width-a}},n:function(b,a,c){return{top:this.originalPosition.top+c,height:this.originalSize.height-c}},s:function(b,a,c){return{height:this.originalSize.height+c}},se:function(b,a,c){return e.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[b,a,c]))},sw:function(b,a,c){return e.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[b,a,c]))},ne:function(b,a,c){return e.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[b,a,c]))},nw:function(b,a,c){return e.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[b,a,c]))}},_propagate:function(b,a){e.ui.plugin.call(this,b,[a,this.ui()]);b!="resize"&&this._trigger(b,a,this.ui())},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}});e.extend(e.ui.resizable,{version:"1.8.7"});e.ui.plugin.add("resizable","alsoResize",{start:function(){var b=e(this).data("resizable").options,a=function(c){e(c).each(function(){var d=e(this);d.data("resizable-alsoresize",{width:parseInt(d.width(),10),height:parseInt(d.height(),10),left:parseInt(d.css("left"),10),top:parseInt(d.css("top"),10),position:d.css("position")})})};if(typeof b.alsoResize=="object"&&!b.alsoResize.parentNode){if(b.alsoResize.length){b.alsoResize=b.alsoResize[0];a(b.alsoResize)}else{e.each(b.alsoResize,function(c){a(c)})}}else{a(b.alsoResize)}},resize:function(b,a){var c=e(this).data("resizable");b=c.options;var d=c.originalSize,f=c.originalPosition,g={height:c.size.height-d.height||0,width:c.size.width-d.width||0,top:c.position.top-f.top||0,left:c.position.left-f.left||0},h=function(i,j){e(i).each(function(){var k=e(this),q=e(this).data("resizable-alsoresize"),p={},r=j&&j.length?j:k.parents(a.originalElement[0]).length?["width","height"]:["width","height","top","left"];e.each(r,function(n,o){if((n=(q[o]||0)+(g[o]||0))&&n>=0){p[o]=n||null}});if(e.browser.opera&&/relative/.test(k.css("position"))){c._revertToRelativePosition=true;k.css({position:"absolute",top:"auto",left:"auto"})}k.css(p)})};typeof b.alsoResize=="object"&&!b.alsoResize.nodeType?e.each(b.alsoResize,function(i,j){h(i,j)}):h(b.alsoResize)},stop:function(){var b=e(this).data("resizable"),a=b.options,c=function(d){e(d).each(function(){var f=e(this);f.css({position:f.data("resizable-alsoresize").position})})};if(b._revertToRelativePosition){b._revertToRelativePosition=false;typeof a.alsoResize=="object"&&!a.alsoResize.nodeType?e.each(a.alsoResize,function(d){c(d)}):c(a.alsoResize)}e(this).removeData("resizable-alsoresize")}});e.ui.plugin.add("resizable","animate",{stop:function(b){var a=e(this).data("resizable"),c=a.options,d=a._proportionallyResizeElements,f=d.length&&/textarea/i.test(d[0].nodeName),g=f&&e.ui.hasScroll(d[0],"left")?0:a.sizeDiff.height;f={width:a.size.width-(f?0:a.sizeDiff.width),height:a.size.height-g};g=parseInt(a.element.css("left"),10)+(a.position.left-a.originalPosition.left)||null;var h=parseInt(a.element.css("top"),10)+(a.position.top-a.originalPosition.top)||null;a.element.animate(e.extend(f,h&&g?{top:h,left:g}:{}),{duration:c.animateDuration,easing:c.animateEasing,step:function(){var i={width:parseInt(a.element.css("width"),10),height:parseInt(a.element.css("height"),10),top:parseInt(a.element.css("top"),10),left:parseInt(a.element.css("left"),10)};d&&d.length&&e(d[0]).css({width:i.width,height:i.height});a._updateCache(i);a._propagate("resize",b)}})}});e.ui.plugin.add("resizable","containment",{start:function(){var b=e(this).data("resizable"),a=b.element,c=b.options.containment;if(a=c instanceof e?c.get(0):/parent/.test(c)?a.parent().get(0):c){b.containerElement=e(a);if(/document/.test(c)||c==document){b.containerOffset={left:0,top:0};b.containerPosition={left:0,top:0};b.parentData={element:e(document),left:0,top:0,width:e(document).width(),height:e(document).height()||document.body.parentNode.scrollHeight}}else{var d=e(a),f=[];e(["Top","Right","Left","Bottom"]).each(function(i,j){f[i]=m(d.css("padding"+j))});b.containerOffset=d.offset();b.containerPosition=d.position();b.containerSize={height:d.innerHeight()-f[3],width:d.innerWidth()-f[1]};c=b.containerOffset;var g=b.containerSize.height,h=b.containerSize.width;h=e.ui.hasScroll(a,"left")?a.scrollWidth:h;g=e.ui.hasScroll(a)?a.scrollHeight:g;b.parentData={element:a,left:c.left,top:c.top,width:h,height:g}}}},resize:function(b){var a=e(this).data("resizable"),c=a.options,d=a.containerOffset,f=a.position;b=a._aspectRatio||b.shiftKey;var g={top:0,left:0},h=a.containerElement;if(h[0]!=document&&/static/.test(h.css("position"))){g=d}if(f.left<(a._helper?d.left:0)){a.size.width+=a._helper?a.position.left-d.left:a.position.left-g.left;if(b){a.size.height=a.size.width/c.aspectRatio}a.position.left=c.helper?d.left:0}if(f.top<(a._helper?d.top:0)){a.size.height+=a._helper?a.position.top-d.top:a.position.top;if(b){a.size.width=a.size.height*c.aspectRatio}a.position.top=a._helper?d.top:0}a.offset.left=a.parentData.left+a.position.left;a.offset.top=a.parentData.top+a.position.top;c=Math.abs((a._helper?a.offset.left-g.left:a.offset.left-g.left)+a.sizeDiff.width);d=Math.abs((a._helper?a.offset.top-g.top:a.offset.top-d.top)+a.sizeDiff.height);f=a.containerElement.get(0)==a.element.parent().get(0);g=/relative|absolute/.test(a.containerElement.css("position"));if(f&&g){c-=a.parentData.left}if(c+a.size.width>=a.parentData.width){a.size.width=a.parentData.width-c;if(b){a.size.height=a.size.width/a.aspectRatio}}if(d+a.size.height>=a.parentData.height){a.size.height=a.parentData.height-d;if(b){a.size.width=a.size.height*a.aspectRatio}}},stop:function(){var b=e(this).data("resizable"),a=b.options,c=b.containerOffset,d=b.containerPosition,f=b.containerElement,g=e(b.helper),h=g.offset(),i=g.outerWidth()-b.sizeDiff.width;g=g.outerHeight()-b.sizeDiff.height;b._helper&&!a.animate&&/relative/.test(f.css("position"))&&e(this).css({left:h.left-d.left-c.left,width:i,height:g});b._helper&&!a.animate&&/static/.test(f.css("position"))&&e(this).css({left:h.left-d.left-c.left,width:i,height:g})}});e.ui.plugin.add("resizable","ghost",{start:function(){var b=e(this).data("resizable"),a=b.options,c=b.size;b.ghost=b.originalElement.clone();b.ghost.css({opacity:0.25,display:"block",position:"relative",height:c.height,width:c.width,margin:0,left:0,top:0}).addClass("ui-resizable-ghost").addClass(typeof a.ghost=="string"?a.ghost:"");b.ghost.appendTo(b.helper)},resize:function(){var b=e(this).data("resizable");b.ghost&&b.ghost.css({position:"relative",height:b.size.height,width:b.size.width})},stop:function(){var b=e(this).data("resizable");b.ghost&&b.helper&&b.helper.get(0).removeChild(b.ghost.get(0))}});e.ui.plugin.add("resizable","grid",{resize:function(){var b=e(this).data("resizable"),a=b.options,c=b.size,d=b.originalSize,f=b.originalPosition,g=b.axis;a.grid=typeof a.grid=="number"?[a.grid,a.grid]:a.grid;var h=Math.round((c.width-d.width)/(a.grid[0]||1))*(a.grid[0]||1);a=Math.round((c.height-d.height)/(a.grid[1]||1))*(a.grid[1]||1);if(/^(se|s|e)$/.test(g)){b.size.width=d.width+h;b.size.height=d.height+a}else{if(/^(ne)$/.test(g)){b.size.width=d.width+h;b.size.height=d.height+a;b.position.top=f.top-a}else{if(/^(sw)$/.test(g)){b.size.width=d.width+h;b.size.height=d.height+a}else{b.size.width=d.width+h;b.size.height=d.height+a;b.position.top=f.top-a}b.position.left=f.left-h}}}});var m=function(b){return parseInt(b,10)||0},l=function(b){return !isNaN(parseInt(b,10))}})(jQuery);(function($){var reEscape=new RegExp("(\\"+["/",".","*","+","?","|","(",")","[","]","{","}","\\"].join("|\\")+")","g");function fnFormatResult(value,data,currentValue){var pattern="("+currentValue.replace(reEscape,"\\$1")+")";return value.replace(new RegExp(pattern,"gi"),"$1")}function Autocomplete(el,options){this.el=$(el);this.el.attr("autocomplete","off");this.suggestions=[];this.data=[];this.badQueries=[];this.selectedIndex=-1;this.currentValue=this.el.val();this.intervalId=0;this.cachedResponse=[];this.onChangeInterval=null;this.ignoreValueChange=false;this.serviceUrl=options.serviceUrl;this.isLocal=false;this.options={autoSubmit:false,minChars:1,maxHeight:300,deferRequestBy:0,width:0,highlight:true,params:{},fnFormatResult:fnFormatResult,delimiter:null,zIndex:9999,id:"stickr_tags_autocomplete"};if(options.id!=undefined){this.options.id=options.id}this.initialize();this.setOptions(options)}$.fn.autocomplete=function(options){return new Autocomplete(this.get(0)||$(""),options)};Autocomplete.prototype={killerFn:null,initialize:function(){var me,uid,autocompleteElId;me=this;uid=Math.floor(Math.random()*1048576).toString(16);autocompleteElId="Autocomplete_"+uid;this.killerFn=function(e){if($(e.target).parents(".autocomplete").size()===0){me.killSuggestions();me.disableKillerFn()}};if(!this.options.width){this.options.width=this.el.width()}this.mainContainerId=this.options.id;$("#"+this.mainContainerId).html('');this.container=$("#"+autocompleteElId);this.fixPosition();if(window.opera){this.el.keypress(function(e){me.onKeyPress(e)})}else{this.el.keydown(function(e){me.onKeyPress(e)})}this.el.keyup(function(e){me.onKeyUp(e)});this.el.blur(function(){me.enableKillerFn()});this.el.focus(function(){me.fixPosition()})},setOptions:function(options){var o=this.options;$.extend(o,options);if(o.lookup){this.isLocal=true;if($.isArray(o.lookup)){o.lookup={suggestions:o.lookup,data:[]}}}$("#"+this.mainContainerId).css({zIndex:o.zIndex})},clearCache:function(){this.cachedResponse=[];this.badQueries=[]},disable:function(){this.disabled=true},enable:function(){this.disabled=false},fixPosition:function(){return false;var offset=this.el.offset();$("#"+this.mainContainerId).css({top:(offset.top+this.el.innerHeight())+"px",left:offset.left+"px"})},enableKillerFn:function(){var me=this;$(document).bind("click",me.killerFn)},disableKillerFn:function(){var me=this;$(document).unbind("click",me.killerFn)},killSuggestions:function(){var me=this;this.stopKillSuggestions();this.intervalId=window.setInterval(function(){me.hide();me.stopKillSuggestions()},300)},stopKillSuggestions:function(){window.clearInterval(this.intervalId)},onKeyPress:function(e){if(this.disabled||!this.enabled){return}switch(e.keyCode){case 27:this.el.val(this.currentValue);this.hide();break;case 9:case 13:if(this.selectedIndex===-1){this.hide();return}this.select(this.selectedIndex);if(e.keyCode===9){return}break;case 38:this.moveUp();break;case 40:this.moveDown();break;default:return}e.stopImmediatePropagation();e.preventDefault()},onKeyUp:function(e){if(this.disabled){return}switch(e.keyCode){case 38:case 40:return}clearInterval(this.onChangeInterval);if(this.currentValue!==this.el.val()){if(this.options.deferRequestBy>0){var me=this;this.onChangeInterval=setInterval(function(){me.onValueChange()},this.options.deferRequestBy)}else{this.onValueChange()}}},onValueChange:function(){clearInterval(this.onChangeInterval);this.currentValue=this.el.val();var q=this.getQuery(this.currentValue);this.selectedIndex=-1;if(this.ignoreValueChange){this.ignoreValueChange=false;return}if(q===""||q.length'+f(s,this.data[i],v)+"");div.mouseover(mOver(i));div.click(mClick(i));this.container.append(div)}this.enabled=true;this.container.show();this.container.parent().show()},processResponse:function(text){var response;try{response=eval("("+text+")")}catch(err){return}if(!$.isArray(response.data)){response.data=[]}if(!this.options.noCache){this.cachedResponse[response.query]=response;if(response.suggestions.length===0){this.badQueries.push(response.query)}}if(response.query===this.getQuery(this.currentValue)){this.suggestions=response.suggestions;this.data=response.data;this.suggest()}},activate:function(index){var divs,activeItem;divs=this.container.children();if(this.selectedIndex!==-1&&divs.length>this.selectedIndex){$(divs.get(this.selectedIndex)).removeClass()}this.selectedIndex=index;if(this.selectedIndex!==-1&&divs.length>this.selectedIndex){activeItem=divs.get(this.selectedIndex);$(activeItem).addClass("selected")}return activeItem},deactivate:function(div,index){div.className="";if(this.selectedIndex===index){this.selectedIndex=-1}},select:function(i){var selectedValue,f;selectedValue=this.suggestions[i];if(selectedValue){this.el.val(selectedValue);if(this.options.autoSubmit){f=this.el.parents("form");if(f.length>0){f.get(0).submit()}}this.ignoreValueChange=true;this.hide();this.onSelect(i)}},moveUp:function(){if(this.selectedIndex===-1){return}if(this.selectedIndex===0){this.container.children().get(0).className="";this.selectedIndex=-1;this.el.val(this.currentValue);return}this.adjustScroll(this.selectedIndex-1)},moveDown:function(){if(this.selectedIndex===(this.suggestions.length-1)){return}this.adjustScroll(this.selectedIndex+1)},adjustScroll:function(i){var activeItem,offsetTop,upperBound,lowerBound;activeItem=this.activate(i);offsetTop=activeItem.offsetTop;upperBound=$(this.container[0].parentNode).scrollTop();lowerBound=upperBound+$(this.container[0].parentNode).height()-25;if(offsetToplowerBound){$(this.container[0].parentNode).scrollTop(offsetTop-$(this.container[0].parentNode).height()+25)}}this.el.val(this.getValue(this.suggestions[i]))},onSelect:function(i){var me,fn,s,d;me=this;fn=me.options.onSelect;s=me.suggestions[i];d=me.data[i];me.el.val(me.getValue(s));if($.isFunction(fn)){fn(s,d,me.el)}},getValue:function(value){var del,currVal,arr,me;me=this;del=me.options.delimiter;if(!del){return value}currVal=me.currentValue;arr=currVal.split(del);if(arr.length===1){return value}return currVal.substr(0,currVal.length-arr[arr.length-1].length)+value}}}(jQuery));(function($){$.fn.editable=function(options){var defaults={onEdit:null,onSubmit:null,onCancel:null,editClass:null,submit:null,cancel:null,type:"text",submitBy:"blur",editBy:"click",options:null};if(options=="disable"){return this.unbind(this.data("editable.options").editBy,this.data("editable.options").toEditable)}if(options=="enable"){return this.bind(this.data("editable.options").editBy,this.data("editable.options").toEditable)}if(options=="destroy"){return this.unbind(this.data("editable.options").editBy,this.data("editable.options").toEditable).data("editable.previous",null).data("editable.current",null).data("editable.options",null)}var options=$.extend(defaults,options);options.toEditable=function(){$this=$(this);$this.data("editable.current",$this.html());opts=$this.data("editable.options");$.editableFactory[opts.type].toEditable($this.empty(),opts);$this.data("editable.previous",$this.data("editable.current")).children().focus().addClass(opts.editClass);if(opts.submit){$("