/*
 * jQuery JavaScript Library v1.3.2
 * http://jquery.com/
 *
 * Copyright (c) 2009 John Resig
 * Dual licensed under the MIT and GPL licenses.
 * http://docs.jquery.com/License
 *
 * Date: 2009-02-19 17:34:21 -0500 (Thu, 19 Feb 2009)
 * Revision: 6246
 */
(function(){var n=this,g,E=n.jQuery,s=n.$,r=n.jQuery=n.$=function(K,L){return new r.fn.init(K,L)},J=/^[^<]*(<(.|\s)+>)[^>]*$|^#([\w-]+)$/,f=/^.[^:#\[\.,]*$/;r.fn=r.prototype={init:function(K,N){K=K||document;if(K.nodeType){this[0]=K;this.length=1;this.context=K;return this}if(typeof K==="string"){var M=J.exec(K);if(M&&(M[1]||!N)){if(M[1]){K=r.clean([M[1]],N)}else{var O=document.getElementById(M[3]);if(O&&O.id!=M[3]){return r().find(K)}var L=r(O||[]);L.context=document;L.selector=K;return L}}else{return r(N).find(K)}}else{if(r.isFunction(K)){return r(document).ready(K)}}if(K.selector&&K.context){this.selector=K.selector;this.context=K.context}return this.setArray(r.isArray(K)?K:r.makeArray(K))},selector:"",jquery:"1.3.2",size:function(){return this.length},get:function(K){return K===g?Array.prototype.slice.call(this):this[K]},pushStack:function(L,N,K){var M=r(L);M.prevObject=this;M.context=this.context;if(N==="find"){M.selector=this.selector+(this.selector?" ":"")+K}else{if(N){M.selector=this.selector+"."+N+"("+K+")"}}return M},setArray:function(K){this.length=0;Array.prototype.push.apply(this,K);return this},each:function(L,K){return r.each(this,L,K)},index:function(K){return r.inArray(K&&K.jquery?K[0]:K,this)},attr:function(L,N,M){var K=L;if(typeof L==="string"){if(N===g){return this[0]&&r[M||"attr"](this[0],L)}else{K={};K[L]=N}}return this.each(function(O){for(L in K){r.attr(M?this.style:this,L,r.prop(this,K[L],M,O,L))}})},css:function(K,L){if((K=="width"||K=="height")&&parseFloat(L)<0){L=g}return this.attr(K,L,"curCSS")},text:function(L){if(typeof L!=="object"&&L!=null){return this.empty().append((this[0]&&this[0].ownerDocument||document).createTextNode(L))}var K="";r.each(L||this,function(){r.each(this.childNodes,function(){if(this.nodeType!=8){K+=this.nodeType!=1?this.nodeValue:r.fn.text([this])}})});return K},wrapAll:function(K){if(this[0]){var L=r(K,this[0].ownerDocument).clone();if(this[0].parentNode){L.insertBefore(this[0])}L.map(function(){var M=this;while(M.firstChild){M=M.firstChild}return M}).append(this)}return this},wrapInner:function(K){return this.each(function(){r(this).contents().wrapAll(K)})},wrap:function(K){return this.each(function(){r(this).wrapAll(K)})},append:function(){return this.domManip(arguments,true,function(K){if(this.nodeType==1){this.appendChild(K)}})},prepend:function(){return this.domManip(arguments,true,function(K){if(this.nodeType==1){this.insertBefore(K,this.firstChild)}})},before:function(){return this.domManip(arguments,false,function(K){this.parentNode.insertBefore(K,this)})},after:function(){return this.domManip(arguments,false,function(K){this.parentNode.insertBefore(K,this.nextSibling)})},end:function(){return this.prevObject||r([])},push:[].push,sort:[].sort,splice:[].splice,find:function(K){if(this.length===1){var L=this.pushStack([],"find",K);L.length=0;r.find(K,this[0],L);return L}else{return this.pushStack(r.unique(r.map(this,function(M){return r.find(K,M)})),"find",K)}},clone:function(M){var K=this.map(function(){if(!r.support.noCloneEvent&&!r.isXMLDoc(this)){var O=this.outerHTML;if(!O){var P=this.ownerDocument.createElement("div");P.appendChild(this.cloneNode(true));O=P.innerHTML}return r.clean([O.replace(/ jQuery\d+="(?:\d+|null)"/g,"").replace(/^\s*/,"")])[0]}else{return this.cloneNode(true)}});if(M===true){var N=this.find("*").andSelf(),L=0;K.find("*").andSelf().each(function(){if(this.nodeName!==N[L].nodeName){return}var O=r.data(N[L],"events");for(var Q in O){for(var P in O[Q]){r.event.add(this,Q,O[Q][P],O[Q][P].data)}}L++})}return K},filter:function(K){return this.pushStack(r.isFunction(K)&&r.grep(this,function(M,L){return K.call(M,L)})||r.multiFilter(K,r.grep(this,function(L){return L.nodeType===1})),"filter",K)},closest:function(K){var M=r.expr.match.POS.test(K)?r(K):null,L=0;return this.map(function(){var N=this;while(N&&N.ownerDocument){if(M?M.index(N)>-1:r(N).is(K)){r.data(N,"closest",L);return N}N=N.parentNode;L++}})},not:function(K){if(typeof K==="string"){if(f.test(K)){return this.pushStack(r.multiFilter(K,this,true),"not",K)}else{K=r.multiFilter(K,this)}}var L=K.length&&K[K.length-1]!==g&&!K.nodeType;return this.filter(function(){return L?r.inArray(this,K)<0:this!=K})},add:function(K){return this.pushStack(r.unique(r.merge(this.get(),typeof K==="string"?r(K):r.makeArray(K))))},is:function(K){return !!K&&r.multiFilter(K,this).length>0},hasClass:function(K){return !!K&&this.is("."+K)},val:function(Q){if(Q===g){var K=this[0];if(K){if(r.nodeName(K,"option")){return(K.attributes.value||{}).specified?K.value:K.text}if(r.nodeName(K,"select")){var O=K.selectedIndex,R=[],S=K.options,N=K.type=="select-one";if(O<0){return null}for(var L=N?O:0,P=N?O+1:S.length;L<P;L++){var M=S[L];if(M.selected){Q=r(M).val();if(N){return Q}R.push(Q)}}return R}return(K.value||"").replace(/\r/g,"")}return g}if(typeof Q==="number"){Q+=""}return this.each(function(){if(this.nodeType!=1){return}if(r.isArray(Q)&&/radio|checkbox/.test(this.type)){this.checked=(r.inArray(this.value,Q)>=0||r.inArray(this.name,Q)>=0)}else{if(r.nodeName(this,"select")){var T=r.makeArray(Q);r("option",this).each(function(){this.selected=(r.inArray(this.value,T)>=0||r.inArray(this.text,T)>=0)});if(!T.length){this.selectedIndex=-1}}else{this.value=Q}}})},html:function(K){return K===g?(this[0]?this[0].innerHTML.replace(/ jQuery\d+="(?:\d+|null)"/g,""):null):this.empty().append(K)},replaceWith:function(K){return this.after(K).remove()},eq:function(K){return this.slice(K,+K+1)},slice:function(){return this.pushStack(Array.prototype.slice.apply(this,arguments),"slice",Array.prototype.slice.call(arguments).join(","))},map:function(K){return this.pushStack(r.map(this,function(M,L){return K.call(M,L,M)}))},andSelf:function(){return this.add(this.prevObject)},domManip:function(P,S,R){if(this[0]){var O=(this[0].ownerDocument||this[0]).createDocumentFragment(),L=r.clean(P,(this[0].ownerDocument||this[0]),O),N=O.firstChild;if(N){for(var M=0,K=this.length;M<K;M++){R.call(Q(this[M],N),this.length>1||M>0?O.cloneNode(true):O)}}if(L){r.each(L,F)}}return this;function Q(T,U){return S&&r.nodeName(T,"table")&&r.nodeName(U,"tr")?(T.getElementsByTagName("tbody")[0]||T.appendChild(T.ownerDocument.createElement("tbody"))):T}}};r.fn.init.prototype=r.fn;function F(K,L){if(L.src){r.ajax({url:L.src,async:false,dataType:"script"})}else{r.globalEval(L.text||L.textContent||L.innerHTML||"")}if(L.parentNode){L.parentNode.removeChild(L)}}function e(){return +new Date}r.extend=r.fn.extend=function(){var P=arguments[0]||{},N=1,O=arguments.length,K=false,M;if(typeof P==="boolean"){K=P;P=arguments[1]||{};N=2}if(typeof P!=="object"&&!r.isFunction(P)){P={}}if(O==N){P=this;--N}for(;N<O;N++){if((M=arguments[N])!=null){for(var L in M){var Q=P[L],R=M[L];if(P===R){continue}if(K&&R&&typeof R==="object"&&!R.nodeType){P[L]=r.extend(K,Q||(R.length!=null?[]:{}),R)}else{if(R!==g){P[L]=R}}}}}return P};var b=/z-?index|font-?weight|opacity|zoom|line-?height/i,t=document.defaultView||{},x=Object.prototype.toString;r.extend({noConflict:function(K){n.$=s;if(K){n.jQuery=E}return r},isFunction:function(K){return x.call(K)==="[object Function]"},isArray:function(K){return x.call(K)==="[object Array]"},isXMLDoc:function(K){return K.nodeType===9&&K.documentElement.nodeName!=="HTML"||!!K.ownerDocument&&r.isXMLDoc(K.ownerDocument)},globalEval:function(M){if(M&&/\S/.test(M)){var L=document.getElementsByTagName("head")[0]||document.documentElement,K=document.createElement("script");K.type="text/javascript";if(r.support.scriptEval){K.appendChild(document.createTextNode(M))}else{K.text=M}L.insertBefore(K,L.firstChild);L.removeChild(K)}},nodeName:function(L,K){return L.nodeName&&L.nodeName.toUpperCase()==K.toUpperCase()},each:function(M,Q,L){var K,N=0,O=M.length;if(L){if(O===g){for(K in M){if(Q.apply(M[K],L)===false){break}}}else{for(;N<O;){if(Q.apply(M[N++],L)===false){break}}}}else{if(O===g){for(K in M){if(Q.call(M[K],K,M[K])===false){break}}}else{for(var P=M[0];N<O&&Q.call(P,N,P)!==false;P=M[++N]){}}}return M},prop:function(N,O,M,L,K){if(r.isFunction(O)){O=O.call(N,L)}return typeof O==="number"&&M=="curCSS"&&!b.test(K)?O+"px":O},className:{add:function(K,L){r.each((L||"").split(/\s+/),function(M,N){if(K.nodeType==1&&!r.className.has(K.className,N)){K.className+=(K.className?" ":"")+N}})},remove:function(K,L){if(K.nodeType==1){K.className=L!==g?r.grep(K.className.split(/\s+/),function(M){return !r.className.has(L,M)}).join(" "):""}},has:function(L,K){return L&&r.inArray(K,(L.className||L).toString().split(/\s+/))>-1}},swap:function(N,M,O){var K={};for(var L in M){K[L]=N.style[L];N.style[L]=M[L]}O.call(N);for(var L in M){N.style[L]=K[L]}},css:function(N,L,P,K){if(L=="width"||L=="height"){var R,M={position:"absolute",visibility:"hidden",display:"block"},Q=L=="width"?["Left","Right"]:["Top","Bottom"];function O(){R=L=="width"?N.offsetWidth:N.offsetHeight;if(K==="border"){return}r.each(Q,function(){if(!K){R-=parseFloat(r.curCSS(N,"padding"+this,true))||0}if(K==="margin"){R+=parseFloat(r.curCSS(N,"margin"+this,true))||0}else{R-=parseFloat(r.curCSS(N,"border"+this+"Width",true))||0}})}if(N.offsetWidth!==0){O()}else{r.swap(N,M,O)}return Math.max(0,Math.round(R))}return r.curCSS(N,L,P)},curCSS:function(O,L,M){var R,K=O.style;if(L=="opacity"&&!r.support.opacity){R=r.attr(K,"opacity");return R==""?"1":R}if(L.match(/float/i)){L=C}if(!M&&K&&K[L]){R=K[L]}else{if(t.getComputedStyle){if(L.match(/float/i)){L="float"}L=L.replace(/([A-Z])/g,"-$1").toLowerCase();var S=t.getComputedStyle(O,null);if(S){R=S.getPropertyValue(L)}if(L=="opacity"&&R==""){R="1"}}else{if(O.currentStyle){var P=L.replace(/\-(\w)/g,function(T,U){return U.toUpperCase()});R=O.currentStyle[L]||O.currentStyle[P];if(!/^\d+(px)?$/i.test(R)&&/^\d/.test(R)){var N=K.left,Q=O.runtimeStyle.left;O.runtimeStyle.left=O.currentStyle.left;K.left=R||0;R=K.pixelLeft+"px";K.left=N;O.runtimeStyle.left=Q}}}}return R},clean:function(L,Q,O){Q=Q||document;if(typeof Q.createElement==="undefined"){Q=Q.ownerDocument||Q[0]&&Q[0].ownerDocument||document}if(!O&&L.length===1&&typeof L[0]==="string"){var N=/^<(\w+)\s*\/?>$/.exec(L[0]);if(N){return[Q.createElement(N[1])]}}var M=[],K=[],R=Q.createElement("div");r.each(L,function(V,Y){if(typeof Y==="number"){Y+=""}if(!Y){return}if(typeof Y==="string"){Y=Y.replace(/(<(\w+)[^>]*?)\/>/g,function(aa,ab,Z){return Z.match(/^(abbr|br|col|img|input|link|meta|param|hr|area|embed)$/i)?aa:ab+"></"+Z+">"});var U=Y.replace(/^\s+/,"").substring(0,10).toLowerCase();var W=!U.indexOf("<opt")&&[1,"<select multiple='multiple'>","</select>"]||!U.indexOf("<leg")&&[1,"<fieldset>","</fieldset>"]||U.match(/^<(thead|tbody|tfoot|colg|cap)/)&&[1,"<table>","</table>"]||!U.indexOf("<tr")&&[2,"<table><tbody>","</tbody></table>"]||(!U.indexOf("<td")||!U.indexOf("<th"))&&[3,"<table><tbody><tr>","</tr></tbody></table>"]||!U.indexOf("<col")&&[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"]||!r.support.htmlSerialize&&[1,"div<div>","</div>"]||[0,"",""];R.innerHTML=W[1]+Y+W[2];while(W[0]--){R=R.lastChild}if(!r.support.tbody){var X=/<tbody/i.test(Y),T=!U.indexOf("<table")&&!X?R.firstChild&&R.firstChild.childNodes:W[1]=="<table>"&&!X?R.childNodes:[];for(var S=T.length-1;S>=0;--S){if(r.nodeName(T[S],"tbody")&&!T[S].childNodes.length){T[S].parentNode.removeChild(T[S])}}}if(!r.support.leadingWhitespace&&/^\s/.test(Y)){R.insertBefore(Q.createTextNode(Y.match(/^\s*/)[0]),R.firstChild)}Y=r.makeArray(R.childNodes)}if(Y.nodeType){M.push(Y)}else{M=r.merge(M,Y)}});if(O){for(var P=0;M[P];P++){if(r.nodeName(M[P],"script")&&(!M[P].type||M[P].type.toLowerCase()==="text/javascript")){K.push(M[P].parentNode?M[P].parentNode.removeChild(M[P]):M[P])}else{if(M[P].nodeType===1){M.splice.apply(M,[P+1,0].concat(r.makeArray(M[P].getElementsByTagName("script"))))}O.appendChild(M[P])}}return K}return M},attr:function(P,M,Q){if(!P||P.nodeType==3||P.nodeType==8){return g}var N=!r.isXMLDoc(P),R=Q!==g;M=N&&r.props[M]||M;if(P.tagName){var L=/href|src|style/.test(M);if(M=="selected"&&P.parentNode){P.parentNode.selectedIndex}if(M in P&&N&&!L){if(R){if(M=="type"&&r.nodeName(P,"input")&&P.parentNode){throw"type property can't be changed"}P[M]=Q}if(r.nodeName(P,"form")&&P.getAttributeNode(M)){return P.getAttributeNode(M).nodeValue}if(M=="tabIndex"){var O=P.getAttributeNode("tabIndex");return O&&O.specified?O.value:P.nodeName.match(/(button|input|object|select|textarea)/i)?0:P.nodeName.match(/^(a|area)$/i)&&P.href?0:g}return P[M]}if(!r.support.style&&N&&M=="style"){return r.attr(P.style,"cssText",Q)}if(R){P.setAttribute(M,""+Q)}var K=!r.support.hrefNormalized&&N&&L?P.getAttribute(M,2):P.getAttribute(M);return K===null?g:K}if(!r.support.opacity&&M=="opacity"){if(R){P.zoom=1;P.filter=(P.filter||"").replace(/alpha\([^)]*\)/,"")+(parseInt(Q)+""=="NaN"?"":"alpha(opacity="+Q*100+")")}return P.filter&&P.filter.indexOf("opacity=")>=0?(parseFloat(P.filter.match(/opacity=([^)]*)/)[1])/100)+"":""}M=M.replace(/-([a-z])/ig,function(S,T){return T.toUpperCase()});if(R){P[M]=Q}return P[M]},trim:function(K){return(K||"").replace(/^\s+|\s+$/g,"")},makeArray:function(M){var K=[];if(M!=null){var L=M.length;if(L==null||typeof M==="string"||r.isFunction(M)||M.setInterval){K[0]=M}else{while(L){K[--L]=M[L]}}}return K},inArray:function(M,N){for(var K=0,L=N.length;K<L;K++){if(N[K]===M){return K}}return -1},merge:function(N,K){var L=0,M,O=N.length;if(!r.support.getAll){while((M=K[L++])!=null){if(M.nodeType!=8){N[O++]=M}}}else{while((M=K[L++])!=null){N[O++]=M}}return N},unique:function(Q){var L=[],K={};try{for(var M=0,N=Q.length;M<N;M++){var P=r.data(Q[M]);if(!K[P]){K[P]=true;L.push(Q[M])}}}catch(O){L=Q}return L},grep:function(L,P,K){var M=[];for(var N=0,O=L.length;N<O;N++){if(!K!=!P(L[N],N)){M.push(L[N])}}return M},map:function(K,P){var L=[];for(var M=0,N=K.length;M<N;M++){var O=P(K[M],M);if(O!=null){L[L.length]=O}}return L.concat.apply([],L)}});var I=navigator.userAgent.toLowerCase();r.browser={version:(I.match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||[0,"0"])[1],safari:/webkit/.test(I),opera:/opera/.test(I),msie:/msie/.test(I)&&!/opera/.test(I),mozilla:/mozilla/.test(I)&&!/(compatible|webkit)/.test(I)};r.each({parent:function(K){return K.parentNode},parents:function(K){return r.dir(K,"parentNode")},next:function(K){return r.nth(K,2,"nextSibling")},prev:function(K){return r.nth(K,2,"previousSibling")},nextAll:function(K){return r.dir(K,"nextSibling")},prevAll:function(K){return r.dir(K,"previousSibling")},siblings:function(K){return r.sibling(K.parentNode.firstChild,K)},children:function(K){return r.sibling(K.firstChild)},contents:function(K){return r.nodeName(K,"iframe")?K.contentDocument||K.contentWindow.document:r.makeArray(K.childNodes)}},function(K,L){r.fn[K]=function(M){var N=r.map(this,L);if(M&&typeof M=="string"){N=r.multiFilter(M,N)}return this.pushStack(r.unique(N),K,M)}});r.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(K,L){r.fn[K]=function(M){var P=[],R=r(M);for(var Q=0,N=R.length;Q<N;Q++){var O=(Q>0?this.clone(true):this).get();r.fn[L].apply(r(R[Q]),O);P=P.concat(O)}return this.pushStack(P,K,M)}});r.each({removeAttr:function(K){r.attr(this,K,"");if(this.nodeType==1){this.removeAttribute(K)}},addClass:function(K){r.className.add(this,K)},removeClass:function(K){r.className.remove(this,K)},toggleClass:function(L,K){if(typeof K!=="boolean"){K=!r.className.has(this,L)}r.className[K?"add":"remove"](this,L)},remove:function(K){if(!K||r.filter(K,[this]).length){r("*",this).add([this]).each(function(){r.event.remove(this);r.removeData(this)});if(this.parentNode){this.parentNode.removeChild(this)}}},empty:function(){r(this).children().remove();while(this.firstChild){this.removeChild(this.firstChild)}}},function(K,L){r.fn[K]=function(){return this.each(L,arguments)}});function l(K,L){return K[0]&&parseInt(r.curCSS(K[0],L,true),10)||0}var j="jQuery"+e(),B=0,G={};r.extend({cache:{},data:function(L,K,M){L=L==n?G:L;var N=L[j];if(!N){N=L[j]=++B}if(K&&!r.cache[N]){r.cache[N]={}}if(M!==g){r.cache[N][K]=M}return K?r.cache[N][K]:N},removeData:function(L,K){L=L==n?G:L;var N=L[j];if(K){if(r.cache[N]){delete r.cache[N][K];K="";for(K in r.cache[N]){break}if(!K){r.removeData(L)}}}else{try{delete L[j]}catch(M){if(L.removeAttribute){L.removeAttribute(j)}}delete r.cache[N]}},queue:function(L,K,N){if(L){K=(K||"fx")+"queue";var M=r.data(L,K);if(!M||r.isArray(N)){M=r.data(L,K,r.makeArray(N))}else{if(N){M.push(N)}}}return M},dequeue:function(N,M){var K=r.queue(N,M),L=K.shift();if(!M||M==="fx"){L=K[0]}if(L!==g){L.call(N)}}});r.fn.extend({data:function(K,M){var N=K.split(".");N[1]=N[1]?"."+N[1]:"";if(M===g){var L=this.triggerHandler("getData"+N[1]+"!",[N[0]]);if(L===g&&this.length){L=r.data(this[0],K)}return L===g&&N[1]?this.data(N[0]):L}else{return this.trigger("setData"+N[1]+"!",[N[0],M]).each(function(){r.data(this,K,M)})}},removeData:function(K){return this.each(function(){r.removeData(this,K)})},queue:function(K,L){if(typeof K!=="string"){L=K;K="fx"}if(L===g){return r.queue(this[0],K)}return this.each(function(){var M=r.queue(this,K,L);if(K=="fx"&&M.length==1){M[0].call(this)}})},dequeue:function(K){return this.each(function(){r.dequeue(this,K)})}});
/*
 * Sizzle CSS Selector Engine - v0.9.3
 *  Copyright 2009, The Dojo Foundation
 *  Released under the MIT, BSD, and GPL Licenses.
 *  More information: http://sizzlejs.com/
 */
(function(){var X=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?/g,R=0,N=Object.prototype.toString;var L=function(ae,aa,ah,ai){ah=ah||[];aa=aa||document;if(aa.nodeType!==1&&aa.nodeType!==9){return[]}if(!ae||typeof ae!=="string"){return ah}var af=[],ac,al,ao,Z,aj,ab,ad=true;X.lastIndex=0;while((ac=X.exec(ae))!==null){af.push(ac[1]);if(ac[2]){ab=RegExp.rightContext;break}}if(af.length>1&&S.exec(ae)){if(af.length===2&&O.relative[af[0]]){al=P(af[0]+af[1],aa)}else{al=O.relative[af[0]]?[aa]:L(af.shift(),aa);while(af.length){ae=af.shift();if(O.relative[ae]){ae+=af.shift()}al=P(ae,al)}}}else{var ak=ai?{expr:af.pop(),set:K(ai)}:L.find(af.pop(),af.length===1&&aa.parentNode?aa.parentNode:aa,W(aa));al=L.filter(ak.expr,ak.set);if(af.length>0){ao=K(al)}else{ad=false}while(af.length){var an=af.pop(),am=an;if(!O.relative[an]){an=""}else{am=af.pop()}if(am==null){am=aa}O.relative[an](ao,am,W(aa))}}if(!ao){ao=al}if(!ao){throw"Syntax error, unrecognized expression: "+(an||ae)}if(N.call(ao)==="[object Array]"){if(!ad){ah.push.apply(ah,ao)}else{if(aa.nodeType===1){for(var ag=0;ao[ag]!=null;ag++){if(ao[ag]&&(ao[ag]===true||ao[ag].nodeType===1&&Q(aa,ao[ag]))){ah.push(al[ag])}}}else{for(var ag=0;ao[ag]!=null;ag++){if(ao[ag]&&ao[ag].nodeType===1){ah.push(al[ag])}}}}}else{K(ao,ah)}if(ab){L(ab,aa,ah,ai);if(M){hasDuplicate=false;ah.sort(M);if(hasDuplicate){for(var ag=1;ag<ah.length;ag++){if(ah[ag]===ah[ag-1]){ah.splice(ag--,1)}}}}}return ah};L.matches=function(Z,aa){return L(Z,null,null,aa)};L.find=function(ag,Z,ah){var af,ad;if(!ag){return[]}for(var ac=0,ab=O.order.length;ac<ab;ac++){var ae=O.order[ac],ad;if((ad=O.match[ae].exec(ag))){var aa=RegExp.leftContext;if(aa.substr(aa.length-1)!=="\\"){ad[1]=(ad[1]||"").replace(/\\/g,"");af=O.find[ae](ad,Z,ah);if(af!=null){ag=ag.replace(O.match[ae],"");break}}}}if(!af){af=Z.getElementsByTagName("*")}return{set:af,expr:ag}};L.filter=function(aj,ai,am,ac){var ab=aj,ao=[],ag=ai,ae,Z,af=ai&&ai[0]&&W(ai[0]);while(aj&&ai.length){for(var ah in O.filter){if((ae=O.match[ah].exec(aj))!=null){var aa=O.filter[ah],an,al;Z=false;if(ag==ao){ao=[]}if(O.preFilter[ah]){ae=O.preFilter[ah](ae,ag,am,ao,ac,af);if(!ae){Z=an=true}else{if(ae===true){continue}}}if(ae){for(var ad=0;(al=ag[ad])!=null;ad++){if(al){an=aa(al,ae,ad,ag);var ak=ac^!!an;if(am&&an!=null){if(ak){Z=true}else{ag[ad]=false}}else{if(ak){ao.push(al);Z=true}}}}}if(an!==g){if(!am){ag=ao}aj=aj.replace(O.match[ah],"");if(!Z){return[]}break}}}if(aj==ab){if(Z==null){throw"Syntax error, unrecognized expression: "+aj}else{break}}ab=aj}return ag};var O=L.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF_-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF_-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF_-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF_-]|\\.)+)\s*(?:(\S?=)\s*(['"]*)(.*?)\3|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*_-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\((even|odd|[\dn+-]*)\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF_-]|\\.)+)(?:\((['"]*)((?:\([^\)]+\)|[^\2\(\)]*)+)\2\))?/},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(Z){return Z.getAttribute("href")}},relative:{"+":function(ag,Z,af){var ad=typeof Z==="string",ah=ad&&!/\W/.test(Z),ae=ad&&!ah;if(ah&&!af){Z=Z.toUpperCase()}for(var ac=0,ab=ag.length,aa;ac<ab;ac++){if((aa=ag[ac])){while((aa=aa.previousSibling)&&aa.nodeType!==1){}ag[ac]=ae||aa&&aa.nodeName===Z?aa||false:aa===Z}}if(ae){L.filter(Z,ag,true)}},">":function(af,aa,ag){var ad=typeof aa==="string";if(ad&&!/\W/.test(aa)){aa=ag?aa:aa.toUpperCase();for(var ab=0,Z=af.length;ab<Z;ab++){var ae=af[ab];if(ae){var ac=ae.parentNode;af[ab]=ac.nodeName===aa?ac:false}}}else{for(var ab=0,Z=af.length;ab<Z;ab++){var ae=af[ab];if(ae){af[ab]=ad?ae.parentNode:ae.parentNode===aa}}if(ad){L.filter(aa,af,true)}}},"":function(ac,aa,ae){var ab=R++,Z=Y;if(!aa.match(/\W/)){var ad=aa=ae?aa:aa.toUpperCase();Z=V}Z("parentNode",aa,ab,ac,ad,ae)},"~":function(ac,aa,ae){var ab=R++,Z=Y;if(typeof aa==="string"&&!aa.match(/\W/)){var ad=aa=ae?aa:aa.toUpperCase();Z=V}Z("previousSibling",aa,ab,ac,ad,ae)}},find:{ID:function(aa,ab,ac){if(typeof ab.getElementById!=="undefined"&&!ac){var Z=ab.getElementById(aa[1]);return Z?[Z]:[]}},NAME:function(ab,ae,af){if(typeof ae.getElementsByName!=="undefined"){var aa=[],ad=ae.getElementsByName(ab[1]);for(var ac=0,Z=ad.length;ac<Z;ac++){if(ad[ac].getAttribute("name")===ab[1]){aa.push(ad[ac])}}return aa.length===0?null:aa}},TAG:function(Z,aa){return aa.getElementsByTagName(Z[1])}},preFilter:{CLASS:function(ac,aa,ab,Z,af,ag){ac=" "+ac[1].replace(/\\/g,"")+" ";if(ag){return ac}for(var ad=0,ae;(ae=aa[ad])!=null;ad++){if(ae){if(af^(ae.className&&(" "+ae.className+" ").indexOf(ac)>=0)){if(!ab){Z.push(ae)}}else{if(ab){aa[ad]=false}}}}return false},ID:function(Z){return Z[1].replace(/\\/g,"")},TAG:function(aa,Z){for(var ab=0;Z[ab]===false;ab++){}return Z[ab]&&W(Z[ab])?aa[1]:aa[1].toUpperCase()},CHILD:function(Z){if(Z[1]=="nth"){var aa=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(Z[2]=="even"&&"2n"||Z[2]=="odd"&&"2n+1"||!/\D/.test(Z[2])&&"0n+"+Z[2]||Z[2]);Z[2]=(aa[1]+(aa[2]||1))-0;Z[3]=aa[3]-0}Z[0]=R++;return Z},ATTR:function(ad,aa,ab,Z,ae,af){var ac=ad[1].replace(/\\/g,"");if(!af&&O.attrMap[ac]){ad[1]=O.attrMap[ac]}if(ad[2]==="~="){ad[4]=" "+ad[4]+" "}return ad},PSEUDO:function(ad,aa,ab,Z,ae){if(ad[1]==="not"){if(ad[3].match(X).length>1||/^\w/.test(ad[3])){ad[3]=L(ad[3],null,null,aa)}else{var ac=L.filter(ad[3],aa,ab,true^ae);if(!ab){Z.push.apply(Z,ac)}return false}}else{if(O.match.POS.test(ad[0])||O.match.CHILD.test(ad[0])){return true}}return ad},POS:function(Z){Z.unshift(true);return Z}},filters:{enabled:function(Z){return Z.disabled===false&&Z.type!=="hidden"},disabled:function(Z){return Z.disabled===true},checked:function(Z){return Z.checked===true},selected:function(Z){Z.parentNode.selectedIndex;return Z.selected===true},parent:function(Z){return !!Z.firstChild},empty:function(Z){return !Z.firstChild},has:function(ab,aa,Z){return !!L(Z[3],ab).length},header:function(Z){return/h\d/i.test(Z.nodeName)},text:function(Z){return"text"===Z.type},radio:function(Z){return"radio"===Z.type},checkbox:function(Z){return"checkbox"===Z.type},file:function(Z){return"file"===Z.type},password:function(Z){return"password"===Z.type},submit:function(Z){return"submit"===Z.type},image:function(Z){return"image"===Z.type},reset:function(Z){return"reset"===Z.type},button:function(Z){return"button"===Z.type||Z.nodeName.toUpperCase()==="BUTTON"},input:function(Z){return/input|select|textarea|button/i.test(Z.nodeName)}},setFilters:{first:function(aa,Z){return Z===0},last:function(ab,aa,Z,ac){return aa===ac.length-1},even:function(aa,Z){return Z%2===0},odd:function(aa,Z){return Z%2===1},lt:function(ab,aa,Z){return aa<Z[3]-0},gt:function(ab,aa,Z){return aa>Z[3]-0},nth:function(ab,aa,Z){return Z[3]-0==aa},eq:function(ab,aa,Z){return Z[3]-0==aa}},filter:{PSEUDO:function(af,ab,ac,ag){var aa=ab[1],ad=O.filters[aa];if(ad){return ad(af,ac,ab,ag)}else{if(aa==="contains"){return(af.textContent||af.innerText||"").indexOf(ab[3])>=0}else{if(aa==="not"){var ae=ab[3];for(var ac=0,Z=ae.length;ac<Z;ac++){if(ae[ac]===af){return false}}return true}}}},CHILD:function(Z,ac){var af=ac[1],aa=Z;switch(af){case"only":case"first":while(aa=aa.previousSibling){if(aa.nodeType===1){return false}}if(af=="first"){return true}aa=Z;case"last":while(aa=aa.nextSibling){if(aa.nodeType===1){return false}}return true;case"nth":var ab=ac[2],ai=ac[3];if(ab==1&&ai==0){return true}var ae=ac[0],ah=Z.parentNode;if(ah&&(ah.sizcache!==ae||!Z.nodeIndex)){var ad=0;for(aa=ah.firstChild;aa;aa=aa.nextSibling){if(aa.nodeType===1){aa.nodeIndex=++ad}}ah.sizcache=ae}var ag=Z.nodeIndex-ai;if(ab==0){return ag==0}else{return(ag%ab==0&&ag/ab>=0)}}},ID:function(aa,Z){return aa.nodeType===1&&aa.getAttribute("id")===Z},TAG:function(aa,Z){return(Z==="*"&&aa.nodeType===1)||aa.nodeName===Z},CLASS:function(aa,Z){return(" "+(aa.className||aa.getAttribute("class"))+" ").indexOf(Z)>-1},ATTR:function(ae,ac){var ab=ac[1],Z=O.attrHandle[ab]?O.attrHandle[ab](ae):ae[ab]!=null?ae[ab]:ae.getAttribute(ab),af=Z+"",ad=ac[2],aa=ac[4];return Z==null?ad==="!=":ad==="="?af===aa:ad==="*="?af.indexOf(aa)>=0:ad==="~="?(" "+af+" ").indexOf(aa)>=0:!aa?af&&Z!==false:ad==="!="?af!=aa:ad==="^="?af.indexOf(aa)===0:ad==="$="?af.substr(af.length-aa.length)===aa:ad==="|="?af===aa||af.substr(0,aa.length+1)===aa+"-":false},POS:function(ad,aa,ab,ae){var Z=aa[2],ac=O.setFilters[Z];if(ac){return ac(ad,ab,aa,ae)}}}};var S=O.match.POS;for(var U in O.match){O.match[U]=RegExp(O.match[U].source+/(?![^\[]*\])(?![^\(]*\))/.source)}var K=function(aa,Z){aa=Array.prototype.slice.call(aa);if(Z){Z.push.apply(Z,aa);return Z}return aa};try{Array.prototype.slice.call(document.documentElement.childNodes)}catch(T){K=function(ad,ac){var aa=ac||[];if(N.call(ad)==="[object Array]"){Array.prototype.push.apply(aa,ad)}else{if(typeof ad.length==="number"){for(var ab=0,Z=ad.length;ab<Z;ab++){aa.push(ad[ab])}}else{for(var ab=0;ad[ab];ab++){aa.push(ad[ab])}}}return aa}}var M;if(document.documentElement.compareDocumentPosition){M=function(aa,Z){var ab=aa.compareDocumentPosition(Z)&4?-1:aa===Z?0:1;if(ab===0){hasDuplicate=true}return ab}}else{if("sourceIndex" in document.documentElement){M=function(aa,Z){var ab=aa.sourceIndex-Z.sourceIndex;if(ab===0){hasDuplicate=true}return ab}}else{if(document.createRange){M=function(ac,aa){var ab=ac.ownerDocument.createRange(),Z=aa.ownerDocument.createRange();ab.selectNode(ac);ab.collapse(true);Z.selectNode(aa);Z.collapse(true);var ad=ab.compareBoundaryPoints(Range.START_TO_END,Z);if(ad===0){hasDuplicate=true}return ad}}}}(function(){var aa=document.createElement("form"),ab="script"+(new Date).getTime();aa.innerHTML="<input name='"+ab+"'/>";var Z=document.documentElement;Z.insertBefore(aa,Z.firstChild);if(!!document.getElementById(ab)){O.find.ID=function(ad,ae,af){if(typeof ae.getElementById!=="undefined"&&!af){var ac=ae.getElementById(ad[1]);return ac?ac.id===ad[1]||typeof ac.getAttributeNode!=="undefined"&&ac.getAttributeNode("id").nodeValue===ad[1]?[ac]:g:[]}};O.filter.ID=function(ae,ac){var ad=typeof ae.getAttributeNode!=="undefined"&&ae.getAttributeNode("id");return ae.nodeType===1&&ad&&ad.nodeValue===ac}}Z.removeChild(aa)})();(function(){var Z=document.createElement("div");Z.appendChild(document.createComment(""));if(Z.getElementsByTagName("*").length>0){O.find.TAG=function(aa,ae){var ad=ae.getElementsByTagName(aa[1]);if(aa[1]==="*"){var ac=[];for(var ab=0;ad[ab];ab++){if(ad[ab].nodeType===1){ac.push(ad[ab])}}ad=ac}return ad}}Z.innerHTML="<a href='#'></a>";if(Z.firstChild&&typeof Z.firstChild.getAttribute!=="undefined"&&Z.firstChild.getAttribute("href")!=="#"){O.attrHandle.href=function(aa){return aa.getAttribute("href",2)}}})();if(document.querySelectorAll){(function(){var Z=L,aa=document.createElement("div");aa.innerHTML="<p class='TEST'></p>";if(aa.querySelectorAll&&aa.querySelectorAll(".TEST").length===0){return}L=function(ae,ad,ab,ac){ad=ad||document;if(!ac&&ad.nodeType===9&&!W(ad)){try{return K(ad.querySelectorAll(ae),ab)}catch(af){}}return Z(ae,ad,ab,ac)};L.find=Z.find;L.filter=Z.filter;L.selectors=Z.selectors;L.matches=Z.matches})()}if(document.getElementsByClassName&&document.documentElement.getElementsByClassName){(function(){var Z=document.createElement("div");Z.innerHTML="<div class='test e'></div><div class='test'></div>";if(Z.getElementsByClassName("e").length===0){return}Z.lastChild.className="e";if(Z.getElementsByClassName("e").length===1){return}O.order.splice(1,0,"CLASS");O.find.CLASS=function(aa,ab,ac){if(typeof ab.getElementsByClassName!=="undefined"&&!ac){return ab.getElementsByClassName(aa[1])}}})()}function V(aa,af,ae,aj,ag,ai){var ah=aa=="previousSibling"&&!ai;for(var ac=0,ab=aj.length;ac<ab;ac++){var Z=aj[ac];if(Z){if(ah&&Z.nodeType===1){Z.sizcache=ae;Z.sizset=ac}Z=Z[aa];var ad=false;while(Z){if(Z.sizcache===ae){ad=aj[Z.sizset];break}if(Z.nodeType===1&&!ai){Z.sizcache=ae;Z.sizset=ac}if(Z.nodeName===af){ad=Z;break}Z=Z[aa]}aj[ac]=ad}}}function Y(aa,af,ae,aj,ag,ai){var ah=aa=="previousSibling"&&!ai;for(var ac=0,ab=aj.length;ac<ab;ac++){var Z=aj[ac];if(Z){if(ah&&Z.nodeType===1){Z.sizcache=ae;Z.sizset=ac}Z=Z[aa];var ad=false;while(Z){if(Z.sizcache===ae){ad=aj[Z.sizset];break}if(Z.nodeType===1){if(!ai){Z.sizcache=ae;Z.sizset=ac}if(typeof af!=="string"){if(Z===af){ad=true;break}}else{if(L.filter(af,[Z]).length>0){ad=Z;break}}}Z=Z[aa]}aj[ac]=ad}}}var Q=document.compareDocumentPosition?function(aa,Z){return aa.compareDocumentPosition(Z)&16}:function(aa,Z){return aa!==Z&&(aa.contains?aa.contains(Z):true)};var W=function(Z){return Z.nodeType===9&&Z.documentElement.nodeName!=="HTML"||!!Z.ownerDocument&&W(Z.ownerDocument)};var P=function(Z,ag){var ac=[],ad="",ae,ab=ag.nodeType?[ag]:ag;while((ae=O.match.PSEUDO.exec(Z))){ad+=ae[0];Z=Z.replace(O.match.PSEUDO,"")}Z=O.relative[Z]?Z+"*":Z;for(var af=0,aa=ab.length;af<aa;af++){L(Z,ab[af],ac)}return L.filter(ad,ac)};r.find=L;r.filter=L.filter;r.expr=L.selectors;r.expr[":"]=r.expr.filters;L.selectors.filters.hidden=function(Z){return Z.offsetWidth===0||Z.offsetHeight===0};L.selectors.filters.visible=function(Z){return Z.offsetWidth>0||Z.offsetHeight>0};L.selectors.filters.animated=function(Z){return r.grep(r.timers,function(aa){return Z===aa.elem}).length};r.multiFilter=function(ab,Z,aa){if(aa){ab=":not("+ab+")"}return L.matches(ab,Z)};r.dir=function(ab,aa){var Z=[],ac=ab[aa];while(ac&&ac!=document){if(ac.nodeType==1){Z.push(ac)}ac=ac[aa]}return Z};r.nth=function(ad,Z,ab,ac){Z=Z||1;var aa=0;for(;ad;ad=ad[ab]){if(ad.nodeType==1&&++aa==Z){break}}return ad};r.sibling=function(ab,aa){var Z=[];for(;ab;ab=ab.nextSibling){if(ab.nodeType==1&&ab!=aa){Z.push(ab)}}return Z};return;n.Sizzle=L})();r.event={add:function(O,L,N,Q){if(O.nodeType==3||O.nodeType==8){return}if(O.setInterval&&O!=n){O=n}if(!N.guid){N.guid=this.guid++}if(Q!==g){var M=N;N=this.proxy(M);N.data=Q}var K=r.data(O,"events")||r.data(O,"events",{}),P=r.data(O,"handle")||r.data(O,"handle",function(){return typeof r!=="undefined"&&!r.event.triggered?r.event.handle.apply(arguments.callee.elem,arguments):g});P.elem=O;r.each(L.split(/\s+/),function(S,T){var U=T.split(".");T=U.shift();N.type=U.slice().sort().join(".");var R=K[T];if(r.event.specialAll[T]){r.event.specialAll[T].setup.call(O,Q,U)}if(!R){R=K[T]={};if(!r.event.special[T]||r.event.special[T].setup.call(O,Q,U)===false){if(O.addEventListener){O.addEventListener(T,P,false)}else{if(O.attachEvent){O.attachEvent("on"+T,P)}}}}R[N.guid]=N;r.event.global[T]=true});O=null},guid:1,global:{},remove:function(Q,N,P){if(Q.nodeType==3||Q.nodeType==8){return}var M=r.data(Q,"events"),L,K;if(M){if(N===g||(typeof N==="string"&&N.charAt(0)==".")){for(var O in M){this.remove(Q,O+(N||""))}}else{if(N.type){P=N.handler;N=N.type}r.each(N.split(/\s+/),function(S,U){var W=U.split(".");U=W.shift();var T=RegExp("(^|\\.)"+W.slice().sort().join(".*\\.")+"(\\.|$)");if(M[U]){if(P){delete M[U][P.guid]}else{for(var V in M[U]){if(T.test(M[U][V].type)){delete M[U][V]}}}if(r.event.specialAll[U]){r.event.specialAll[U].teardown.call(Q,W)}for(L in M[U]){break}if(!L){if(!r.event.special[U]||r.event.special[U].teardown.call(Q,W)===false){if(Q.removeEventListener){Q.removeEventListener(U,r.data(Q,"handle"),false)}else{if(Q.detachEvent){Q.detachEvent("on"+U,r.data(Q,"handle"))}}}L=null;delete M[U]}}})}for(L in M){break}if(!L){var R=r.data(Q,"handle");if(R){R.elem=null}r.removeData(Q,"events");r.removeData(Q,"handle")}}},trigger:function(O,Q,N,K){var M=O.type||O;if(!K){O=typeof O==="object"?O[j]?O:r.extend(r.Event(M),O):r.Event(M);if(M.indexOf("!")>=0){O.type=M=M.slice(0,-1);O.exclusive=true}if(!N){O.stopPropagation();if(this.global[M]){r.each(r.cache,function(){if(this.events&&this.events[M]){r.event.trigger(O,Q,this.handle.elem)}})}}if(!N||N.nodeType==3||N.nodeType==8){return g}O.result=g;O.target=N;Q=r.makeArray(Q);Q.unshift(O)}O.currentTarget=N;var P=r.data(N,"handle");if(P){P.apply(N,Q)}if((!N[M]||(r.nodeName(N,"a")&&M=="click"))&&N["on"+M]&&N["on"+M].apply(N,Q)===false){O.result=false}if(!K&&N[M]&&!O.isDefaultPrevented()&&!(r.nodeName(N,"a")&&M=="click")){this.triggered=true;try{N[M]()}catch(R){}}this.triggered=false;if(!O.isPropagationStopped()){var L=N.parentNode||N.ownerDocument;if(L){r.event.trigger(O,Q,L,true)}}},handle:function(Q){var P,K;Q=arguments[0]=r.event.fix(Q||n.event);Q.currentTarget=this;var R=Q.type.split(".");Q.type=R.shift();P=!R.length&&!Q.exclusive;var O=RegExp("(^|\\.)"+R.slice().sort().join(".*\\.")+"(\\.|$)");K=(r.data(this,"events")||{})[Q.type];for(var M in K){var N=K[M];if(P||O.test(N.type)){Q.handler=N;Q.data=N.data;var L=N.apply(this,arguments);if(L!==g){Q.result=L;if(L===false){Q.preventDefault();Q.stopPropagation()}}if(Q.isImmediatePropagationStopped()){break}}}},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode metaKey newValue originalTarget pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),fix:function(N){if(N[j]){return N}var L=N;N=r.Event(L);for(var M=this.props.length,P;M;){P=this.props[--M];N[P]=L[P]}if(!N.target){N.target=N.srcElement||document}if(N.target.nodeType==3){N.target=N.target.parentNode}if(!N.relatedTarget&&N.fromElement){N.relatedTarget=N.fromElement==N.target?N.toElement:N.fromElement}if(N.pageX==null&&N.clientX!=null){var O=document.documentElement,K=document.body;N.pageX=N.clientX+(O&&O.scrollLeft||K&&K.scrollLeft||0)-(O.clientLeft||0);N.pageY=N.clientY+(O&&O.scrollTop||K&&K.scrollTop||0)-(O.clientTop||0)}if(!N.which&&((N.charCode||N.charCode===0)?N.charCode:N.keyCode)){N.which=N.charCode||N.keyCode}if(!N.metaKey&&N.ctrlKey){N.metaKey=N.ctrlKey}if(!N.which&&N.button){N.which=(N.button&1?1:(N.button&2?3:(N.button&4?2:0)))}return N},proxy:function(L,K){K=K||function(){return L.apply(this,arguments)};K.guid=L.guid=L.guid||K.guid||this.guid++;return K},special:{ready:{setup:H,teardown:function(){}}},specialAll:{live:{setup:function(K,L){r.event.add(this,L[0],c)},teardown:function(M){if(M.length){var K=0,L=RegExp("(^|\\.)"+M[0]+"(\\.|$)");r.each((r.data(this,"events").live||{}),function(){if(L.test(this.type)){K++}});if(K<1){r.event.remove(this,M[0],c)}}}}}};r.Event=function(K){if(!this.preventDefault){return new r.Event(K)}if(K&&K.type){this.originalEvent=K;this.type=K.type}else{this.type=K}this.timeStamp=e();this[j]=true};function m(){return false}function A(){return true}r.Event.prototype={preventDefault:function(){this.isDefaultPrevented=A;var K=this.originalEvent;if(!K){return}if(K.preventDefault){K.preventDefault()}K.returnValue=false},stopPropagation:function(){this.isPropagationStopped=A;var K=this.originalEvent;if(!K){return}if(K.stopPropagation){K.stopPropagation()}K.cancelBubble=true},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=A;this.stopPropagation()},isDefaultPrevented:m,isPropagationStopped:m,isImmediatePropagationStopped:m};var a=function(L){var K=L.relatedTarget;while(K&&K!=this){try{K=K.parentNode}catch(M){K=this}}if(K!=this){L.type=L.data;r.event.handle.apply(this,arguments)}};r.each({mouseover:"mouseenter",mouseout:"mouseleave"},function(L,K){r.event.special[K]={setup:function(){r.event.add(this,L,a,K)},teardown:function(){r.event.remove(this,L,a)}}});r.fn.extend({bind:function(L,M,K){return L=="unload"?this.one(L,M,K):this.each(function(){r.event.add(this,L,K||M,K&&M)})},one:function(M,N,L){var K=r.event.proxy(L||N,function(O){r(this).unbind(O,K);return(L||N).apply(this,arguments)});return this.each(function(){r.event.add(this,M,K,L&&N)})},unbind:function(L,K){return this.each(function(){r.event.remove(this,L,K)})},trigger:function(K,L){return this.each(function(){r.event.trigger(K,L,this)})},triggerHandler:function(K,M){if(this[0]){var L=r.Event(K);L.preventDefault();L.stopPropagation();r.event.trigger(L,M,this[0]);return L.result}},toggle:function(M){var K=arguments,L=1;while(L<K.length){r.event.proxy(M,K[L++])}return this.click(r.event.proxy(M,function(N){this.lastToggle=(this.lastToggle||0)%L;N.preventDefault();return K[this.lastToggle++].apply(this,arguments)||false}))},hover:function(K,L){return this.mouseenter(K).mouseleave(L)},ready:function(K){H();if(r.isReady){K.call(document,r)}else{r.readyList.push(K)}return this},live:function(M,L){var K=r.event.proxy(L);K.guid+=this.selector+M;r(document).bind(k(M,this.selector),this.selector,K);return this},die:function(L,K){r(document).unbind(k(L,this.selector),K?{guid:K.guid+this.selector+L}:null);return this}});function c(N){var K=RegExp("(^|\\.)"+N.type+"(\\.|$)"),M=true,L=[];r.each(r.data(this,"events").live||[],function(O,P){if(K.test(P.type)){var Q=r(N.target).closest(P.data)[0];if(Q){L.push({elem:Q,fn:P})}}});L.sort(function(P,O){return r.data(P.elem,"closest")-r.data(O.elem,"closest")});r.each(L,function(){if(this.fn.call(this.elem,N,this.fn.data)===false){return(M=false)}});return M}function k(L,K){return["live",L,K.replace(/\./g,"`").replace(/ /g,"|")].join(".")}r.extend({isReady:false,readyList:[],ready:function(){if(!r.isReady){r.isReady=true;if(r.readyList){r.each(r.readyList,function(){this.call(document,r)});r.readyList=null}r(document).triggerHandler("ready")}}});var D=false;function H(){if(D){return}D=true;if(document.addEventListener){document.addEventListener("DOMContentLoaded",function(){document.removeEventListener("DOMContentLoaded",arguments.callee,false);r.ready()},false)}else{if(document.attachEvent){document.attachEvent("onreadystatechange",function(){if(document.readyState==="complete"){document.detachEvent("onreadystatechange",arguments.callee);r.ready()}});if(document.documentElement.doScroll&&n==n.top){(function(){if(r.isReady){return}try{document.documentElement.doScroll("left")}catch(K){setTimeout(arguments.callee,0);return}r.ready()})()}}}r.event.add(n,"load",r.ready)}r.each(("blur,focus,load,resize,scroll,unload,click,dblclick,mousedown,mouseup,mousemove,mouseover,mouseout,mouseenter,mouseleave,change,select,submit,keydown,keypress,keyup,error").split(","),function(L,K){r.fn[K]=function(M){return M?this.bind(K,M):this.trigger(K)}});r(n).bind("unload",function(){for(var K in r.cache){if(K!=1&&r.cache[K].handle){r.event.remove(r.cache[K].handle.elem)}}});(function(){r.support={};var L=document.documentElement,M=document.createElement("script"),Q=document.createElement("div"),P="script"+(new Date).getTime();Q.style.display="none";Q.innerHTML='   <link/><table></table><a href="/a" style="color:red;float:left;opacity:.5;">a</a><select><option>text</option></select><object><param/></object>';var N=Q.getElementsByTagName("*"),K=Q.getElementsByTagName("a")[0];if(!N||!N.length||!K){return}r.support={leadingWhitespace:Q.firstChild.nodeType==3,tbody:!Q.getElementsByTagName("tbody").length,objectAll:!!Q.getElementsByTagName("object")[0].getElementsByTagName("*").length,htmlSerialize:!!Q.getElementsByTagName("link").length,style:/red/.test(K.getAttribute("style")),hrefNormalized:K.getAttribute("href")==="/a",opacity:K.style.opacity==="0.5",cssFloat:!!K.style.cssFloat,scriptEval:false,noCloneEvent:true,boxModel:null};M.type="text/javascript";try{M.appendChild(document.createTextNode("window."+P+"=1;"))}catch(O){}L.insertBefore(M,L.firstChild);if(n[P]){r.support.scriptEval=true;delete n[P]}L.removeChild(M);if(Q.attachEvent&&Q.fireEvent){Q.attachEvent("onclick",function(){r.support.noCloneEvent=false;Q.detachEvent("onclick",arguments.callee)});Q.cloneNode(true).fireEvent("onclick")}r(function(){var R=document.createElement("div");R.style.width=R.style.paddingLeft="1px";document.body.appendChild(R);r.boxModel=r.support.boxModel=R.offsetWidth===2;document.body.removeChild(R).style.display="none"})})();var C=r.support.cssFloat?"cssFloat":"styleFloat";r.props={"for":"htmlFor","class":"className","float":C,cssFloat:C,styleFloat:C,readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",tabindex:"tabIndex"};r.fn.extend({_load:r.fn.load,load:function(M,P,Q){if(typeof M!=="string"){return this._load(M)}var O=M.indexOf(" ");if(O>=0){var K=M.slice(O,M.length);M=M.slice(0,O)}var N="GET";if(P){if(r.isFunction(P)){Q=P;P=null}else{if(typeof P==="object"){P=r.param(P);N="POST"}}}var L=this;r.ajax({url:M,type:N,dataType:"html",data:P,complete:function(S,R){if(R=="success"||R=="notmodified"){L.html(K?r("<div/>").append(S.responseText.replace(/<script(.|\s)*?\/script>/g,"")).find(K):S.responseText)}if(Q){L.each(Q,[S.responseText,R,S])}}});return this},serialize:function(){return r.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?r.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||/select|textarea/i.test(this.nodeName)||/text|hidden|password|search/i.test(this.type))}).map(function(K,L){var M=r(this).val();return M==null?null:r.isArray(M)?r.map(M,function(O,N){return{name:L.name,value:O}}):{name:L.name,value:M}}).get()}});r.each("ajaxStart,ajaxStop,ajaxComplete,ajaxError,ajaxSuccess,ajaxSend".split(","),function(K,L){r.fn[L]=function(M){return this.bind(L,M)}});var u=e();r.extend({get:function(K,M,N,L){if(r.isFunction(M)){N=M;M=null}return r.ajax({type:"GET",url:K,data:M,success:N,dataType:L})},getScript:function(K,L){return r.get(K,null,L,"script")},getJSON:function(K,L,M){return r.get(K,L,M,"json")},post:function(K,M,N,L){if(r.isFunction(M)){N=M;M={}}return r.ajax({type:"POST",url:K,data:M,success:N,dataType:L})},ajaxSetup:function(K){r.extend(r.ajaxSettings,K)},ajaxSettings:{url:location.href,global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:function(){return n.ActiveXObject?new ActiveXObject("Microsoft.XMLHTTP"):new XMLHttpRequest()},accepts:{xml:"application/xml, text/xml",html:"text/html",script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},lastModified:{},ajax:function(S){S=r.extend(true,S,r.extend(true,{},r.ajaxSettings,S));var ac,L=/=\?(&|$)/g,X,ab,M=S.type.toUpperCase();if(S.data&&S.processData&&typeof S.data!=="string"){S.data=r.param(S.data)}if(S.dataType=="jsonp"){if(M=="GET"){if(!S.url.match(L)){S.url+=(S.url.match(/\?/)?"&":"?")+(S.jsonp||"callback")+"=?"}}else{if(!S.data||!S.data.match(L)){S.data=(S.data?S.data+"&":"")+(S.jsonp||"callback")+"=?"}}S.dataType="json"}if(S.dataType=="json"&&(S.data&&S.data.match(L)||S.url.match(L))){ac="jsonp"+u++;if(S.data){S.data=(S.data+"").replace(L,"="+ac+"$1")}S.url=S.url.replace(L,"="+ac+"$1");S.dataType="script";n[ac]=function(ad){ab=ad;O();R();n[ac]=g;try{delete n[ac]}catch(ae){}if(N){N.removeChild(Z)}}}if(S.dataType=="script"&&S.cache==null){S.cache=false}if(S.cache===false&&M=="GET"){var K=e();var aa=S.url.replace(/(\?|&)_=.*?(&|$)/,"$1_="+K+"$2");S.url=aa+((aa==S.url)?(S.url.match(/\?/)?"&":"?")+"_="+K:"")}if(S.data&&M=="GET"){S.url+=(S.url.match(/\?/)?"&":"?")+S.data;S.data=null}if(S.global&&!r.active++){r.event.trigger("ajaxStart")}var W=/^(\w+:)?\/\/([^\/?#]+)/.exec(S.url);if(S.dataType=="script"&&M=="GET"&&W&&(W[1]&&W[1]!=location.protocol||W[2]!=location.host)){var N=document.getElementsByTagName("head")[0];var Z=document.createElement("script");Z.src=S.url;if(S.scriptCharset){Z.charset=S.scriptCharset}if(!ac){var U=false;Z.onload=Z.onreadystatechange=function(){if(!U&&(!this.readyState||this.readyState=="loaded"||this.readyState=="complete")){U=true;O();R();Z.onload=Z.onreadystatechange=null;N.removeChild(Z)}}}N.appendChild(Z);return g}var Q=false;var P=S.xhr();if(S.username){P.open(M,S.url,S.async,S.username,S.password)}else{P.open(M,S.url,S.async)}try{if(S.data){P.setRequestHeader("Content-Type",S.contentType)}if(S.ifModified){P.setRequestHeader("If-Modified-Since",r.lastModified[S.url]||"Thu, 01 Jan 1970 00:00:00 GMT")}P.setRequestHeader("X-Requested-With","XMLHttpRequest");P.setRequestHeader("Accept",S.dataType&&S.accepts[S.dataType]?S.accepts[S.dataType]+", */*":S.accepts._default)}catch(Y){}if(S.beforeSend&&S.beforeSend(P,S)===false){if(S.global&&!--r.active){r.event.trigger("ajaxStop")}P.abort();return false}if(S.global){r.event.trigger("ajaxSend",[P,S])}var T=function(ad){if(P.readyState==0){if(V){clearInterval(V);V=null;if(S.global&&!--r.active){r.event.trigger("ajaxStop")}}}else{if(!Q&&P&&(P.readyState==4||ad=="timeout")){Q=true;if(V){clearInterval(V);V=null}X=ad=="timeout"?"timeout":!r.httpSuccess(P)?"error":S.ifModified&&r.httpNotModified(P,S.url)?"notmodified":"success";if(X=="success"){try{ab=r.httpData(P,S.dataType,S)}catch(af){X="parsererror"}}if(X=="success"){var ae;try{ae=P.getResponseHeader("Last-Modified")}catch(af){}if(S.ifModified&&ae){r.lastModified[S.url]=ae}if(!ac){O()}}else{r.handleError(S,P,X)}R();if(ad){P.abort()}if(S.async){P=null}}}};if(S.async){var V=setInterval(T,13);if(S.timeout>0){setTimeout(function(){if(P&&!Q){T("timeout")}},S.timeout)}}try{P.send(S.data)}catch(Y){r.handleError(S,P,null,Y)}if(!S.async){T()}function O(){if(S.success){S.success(ab,X)}if(S.global){r.event.trigger("ajaxSuccess",[P,S])}}function R(){if(S.complete){S.complete(P,X)}if(S.global){r.event.trigger("ajaxComplete",[P,S])}if(S.global&&!--r.active){r.event.trigger("ajaxStop")}}return P},handleError:function(L,N,K,M){if(L.error){L.error(N,K,M)}if(L.global){r.event.trigger("ajaxError",[N,L,M])}},active:0,httpSuccess:function(L){try{return !L.status&&location.protocol=="file:"||(L.status>=200&&L.status<300)||L.status==304||L.status==1223}catch(K){}return false},httpNotModified:function(M,K){try{var N=M.getResponseHeader("Last-Modified");return M.status==304||N==r.lastModified[K]}catch(L){}return false},httpData:function(P,N,M){var L=P.getResponseHeader("content-type"),K=N=="xml"||!N&&L&&L.indexOf("xml")>=0,O=K?P.responseXML:P.responseText;if(K&&O.documentElement.tagName=="parsererror"){throw"parsererror"}if(M&&M.dataFilter){O=M.dataFilter(O,N)}if(typeof O==="string"){if(N=="script"){r.globalEval(O)}if(N=="json"){O=n["eval"]("("+O+")")}}return O},param:function(K){var M=[];function N(O,P){M[M.length]=encodeURIComponent(O)+"="+encodeURIComponent(P)}if(r.isArray(K)||K.jquery){r.each(K,function(){N(this.name,this.value)})}else{for(var L in K){if(r.isArray(K[L])){r.each(K[L],function(){N(L,this)})}else{N(L,r.isFunction(K[L])?K[L]():K[L])}}}return M.join("&").replace(/%20/g,"+")}});var o={},q,d=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];function y(L,K){var M={};r.each(d.concat.apply([],d.slice(0,K)),function(){M[this]=L});return M}r.fn.extend({show:function(P,R){if(P){return this.animate(y("show",3),P,R)}else{for(var N=0,L=this.length;N<L;N++){var K=r.data(this[N],"olddisplay");this[N].style.display=K||"";if(r.css(this[N],"display")==="none"){var M=this[N].tagName,Q;if(o[M]){Q=o[M]}else{var O=r("<"+M+" />").appendTo("body");Q=O.css("display");if(Q==="none"){Q="block"}O.remove();o[M]=Q}r.data(this[N],"olddisplay",Q)}}for(var N=0,L=this.length;N<L;N++){this[N].style.display=r.data(this[N],"olddisplay")||""}return this}},hide:function(N,O){if(N){return this.animate(y("hide",3),N,O)}else{for(var M=0,L=this.length;M<L;M++){var K=r.data(this[M],"olddisplay");if(!K&&K!=="none"){r.data(this[M],"olddisplay",r.css(this[M],"display"))}}for(var M=0,L=this.length;M<L;M++){this[M].style.display="none"}return this}},_toggle:r.fn.toggle,toggle:function(M,L){var K=typeof M==="boolean";return r.isFunction(M)&&r.isFunction(L)?this._toggle.apply(this,arguments):M==null||K?this.each(function(){var N=K?M:r(this).is(":hidden");r(this)[N?"show":"hide"]()}):this.animate(y("toggle",3),M,L)},fadeTo:function(K,M,L){return this.animate({opacity:M},K,L)},animate:function(O,L,N,M){var K=r.speed(L,N,M);return this[K.queue===false?"each":"queue"](function(){var Q=r.extend({},K),S,R=this.nodeType==1&&r(this).is(":hidden"),P=this;for(S in O){if(O[S]=="hide"&&R||O[S]=="show"&&!R){return Q.complete.call(this)}if((S=="height"||S=="width")&&this.style){Q.display=r.css(this,"display");Q.overflow=this.style.overflow}}if(Q.overflow!=null){this.style.overflow="hidden"}Q.curAnim=r.extend({},O);r.each(O,function(U,Y){var X=new r.fx(P,Q,U);if(/toggle|show|hide/.test(Y)){X[Y=="toggle"?R?"show":"hide":Y](O)}else{var W=Y.toString().match(/^([+-]=)?([\d+-.]+)(.*)$/),Z=X.cur(true)||0;if(W){var T=parseFloat(W[2]),V=W[3]||"px";if(V!="px"){P.style[U]=(T||1)+V;Z=((T||1)/X.cur(true))*Z;P.style[U]=Z+V}if(W[1]){T=((W[1]=="-="?-1:1)*T)+Z}X.custom(Z,T,V)}else{X.custom(Z,Y,"")}}});return true})},stop:function(L,K){var M=r.timers;if(L){this.queue([])}this.each(function(){for(var N=M.length-1;N>=0;N--){if(M[N].elem==this){if(K){M[N](true)}M.splice(N,1)}}});if(!K){this.dequeue()}return this}});r.each({slideDown:y("show",1),slideUp:y("hide",1),slideToggle:y("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(K,L){r.fn[K]=function(M,N){return this.animate(L,M,N)}});r.extend({speed:function(M,N,L){var K=typeof M==="object"?M:{complete:L||!L&&N||r.isFunction(M)&&M,duration:M,easing:L&&N||N&&!r.isFunction(N)&&N};K.duration=r.fx.off?0:typeof K.duration==="number"?K.duration:r.fx.speeds[K.duration]||r.fx.speeds._default;K.old=K.complete;K.complete=function(){if(K.queue!==false){r(this).dequeue()}if(r.isFunction(K.old)){K.old.call(this)}};return K},easing:{linear:function(M,N,K,L){return K+L*M},swing:function(M,N,K,L){return((-Math.cos(M*Math.PI)/2)+0.5)*L+K}},timers:[],fx:function(L,K,M){this.options=K;this.elem=L;this.prop=M;if(!K.orig){K.orig={}}}});r.fx.prototype={update:function(){if(this.options.step){this.options.step.call(this.elem,this.now,this)}(r.fx.step[this.prop]||r.fx.step._default)(this);if((this.prop=="height"||this.prop=="width")&&this.elem.style){this.elem.style.display="block"}},cur:function(L){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null)){return this.elem[this.prop]}var K=parseFloat(r.css(this.elem,this.prop,L));return K&&K>-10000?K:parseFloat(r.curCSS(this.elem,this.prop))||0},custom:function(O,N,M){this.startTime=e();this.start=O;this.end=N;this.unit=M||this.unit||"px";this.now=this.start;this.pos=this.state=0;var K=this;function L(P){return K.step(P)}L.elem=this.elem;if(L()&&r.timers.push(L)&&!q){q=setInterval(function(){var Q=r.timers;for(var P=0;P<Q.length;P++){if(!Q[P]()){Q.splice(P--,1)}}if(!Q.length){clearInterval(q);q=g}},13)}},show:function(){this.options.orig[this.prop]=r.attr(this.elem.style,this.prop);this.options.show=true;this.custom(this.prop=="width"||this.prop=="height"?1:0,this.cur());r(this.elem).show()},hide:function(){this.options.orig[this.prop]=r.attr(this.elem.style,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(N){var M=e();if(N||M>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;var K=true;for(var L in this.options.curAnim){if(this.options.curAnim[L]!==true){K=false}}if(K){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;this.elem.style.display=this.options.display;if(r.css(this.elem,"display")=="none"){this.elem.style.display="block"}}if(this.options.hide){r(this.elem).hide()}if(this.options.hide||this.options.show){for(var O in this.options.curAnim){r.attr(this.elem.style,O,this.options.orig[O])}}this.options.complete.call(this.elem)}return false}else{var P=M-this.startTime;this.state=P/this.options.duration;this.pos=r.easing[this.options.easing||(r.easing.swing?"swing":"linear")](this.state,P,0,1,this.options.duration);this.now=this.start+((this.end-this.start)*this.pos);this.update()}return true}};r.extend(r.fx,{speeds:{slow:600,fast:200,_default:400},step:{opacity:function(K){r.attr(K.elem.style,"opacity",K.now)},_default:function(K){if(K.elem.style&&K.elem.style[K.prop]!=null){K.elem.style[K.prop]=K.now+K.unit}else{K.elem[K.prop]=K.now}}}});if(document.documentElement.getBoundingClientRect){r.fn.offset=function(){if(!this[0]){return{top:0,left:0}}if(this[0]===this[0].ownerDocument.body){return r.offset.bodyOffset(this[0])}var M=this[0].getBoundingClientRect(),P=this[0].ownerDocument,L=P.body,K=P.documentElement,R=K.clientTop||L.clientTop||0,Q=K.clientLeft||L.clientLeft||0,O=M.top+(self.pageYOffset||r.boxModel&&K.scrollTop||L.scrollTop)-R,N=M.left+(self.pageXOffset||r.boxModel&&K.scrollLeft||L.scrollLeft)-Q;return{top:O,left:N}}}else{r.fn.offset=function(){if(!this[0]){return{top:0,left:0}}if(this[0]===this[0].ownerDocument.body){return r.offset.bodyOffset(this[0])}r.offset.initialized||r.offset.initialize();var P=this[0],M=P.offsetParent,L=P,U=P.ownerDocument,S,N=U.documentElement,Q=U.body,R=U.defaultView,K=R.getComputedStyle(P,null),T=P.offsetTop,O=P.offsetLeft;while((P=P.parentNode)&&P!==Q&&P!==N){S=R.getComputedStyle(P,null);T-=P.scrollTop,O-=P.scrollLeft;if(P===M){T+=P.offsetTop,O+=P.offsetLeft;if(r.offset.doesNotAddBorder&&!(r.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(P.tagName))){T+=parseInt(S.borderTopWidth,10)||0,O+=parseInt(S.borderLeftWidth,10)||0}L=M,M=P.offsetParent}if(r.offset.subtractsBorderForOverflowNotVisible&&S.overflow!=="visible"){T+=parseInt(S.borderTopWidth,10)||0,O+=parseInt(S.borderLeftWidth,10)||0}K=S}if(K.position==="relative"||K.position==="static"){T+=Q.offsetTop,O+=Q.offsetLeft}if(K.position==="fixed"){T+=Math.max(N.scrollTop,Q.scrollTop),O+=Math.max(N.scrollLeft,Q.scrollLeft)}return{top:T,left:O}}}r.offset={initialize:function(){if(this.initialized){return}var R=document.body,L=document.createElement("div"),N,M,T,O,S,K,P=R.style.marginTop,Q='<div style="position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;"><div></div></div><table style="position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;" cellpadding="0" cellspacing="0"><tr><td></td></tr></table>';S={position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"};for(K in S){L.style[K]=S[K]}L.innerHTML=Q;R.insertBefore(L,R.firstChild);N=L.firstChild,M=N.firstChild,O=N.nextSibling.firstChild.firstChild;this.doesNotAddBorder=(M.offsetTop!==5);this.doesAddBorderForTableAndCells=(O.offsetTop===5);N.style.overflow="hidden",N.style.position="relative";this.subtractsBorderForOverflowNotVisible=(M.offsetTop===-5);R.style.marginTop="1px";this.doesNotIncludeMarginInBodyOffset=(R.offsetTop===0);R.style.marginTop=P;R.removeChild(L);this.initialized=true},bodyOffset:function(K){r.offset.initialized||r.offset.initialize();var M=K.offsetTop,L=K.offsetLeft;if(r.offset.doesNotIncludeMarginInBodyOffset){M+=parseInt(r.curCSS(K,"marginTop",true),10)||0,L+=parseInt(r.curCSS(K,"marginLeft",true),10)||0}return{top:M,left:L}}};r.fn.extend({position:function(){var O=0,N=0,L;if(this[0]){var M=this.offsetParent(),P=this.offset(),K=/^body|html$/i.test(M[0].tagName)?{top:0,left:0}:M.offset();P.top-=l(this,"marginTop");P.left-=l(this,"marginLeft");K.top+=l(M,"borderTopWidth");K.left+=l(M,"borderLeftWidth");L={top:P.top-K.top,left:P.left-K.left}}return L},offsetParent:function(){var K=this[0].offsetParent||document.body;while(K&&(!/^body|html$/i.test(K.tagName)&&r.css(K,"position")=="static")){K=K.offsetParent}return r(K)}});r.each(["Left","Top"],function(L,K){var M="scroll"+K;r.fn[M]=function(N){if(!this[0]){return null}return N!==g?this.each(function(){this==n||this==document?n.scrollTo(!L?N:r(n).scrollLeft(),L?N:r(n).scrollTop()):this[M]=N}):this[0]==n||this[0]==document?self[L?"pageYOffset":"pageXOffset"]||r.boxModel&&document.documentElement[M]||document.body[M]:this[0][M]}});r.each(["Height","Width"],function(O,M){var K=O?"Left":"Top",N=O?"Right":"Bottom",L=M.toLowerCase();r.fn["inner"+M]=function(){return this[0]?r.css(this[0],L,false,"padding"):null};r.fn["outer"+M]=function(Q){return this[0]?r.css(this[0],L,false,Q?"margin":"border"):null};var P=M.toLowerCase();r.fn[P]=function(Q){return this[0]==n?document.compatMode=="CSS1Compat"&&document.documentElement["client"+M]||document.body["client"+M]:this[0]==document?Math.max(document.documentElement["client"+M],document.body["scroll"+M],document.documentElement["scroll"+M],document.body["offset"+M],document.documentElement["offset"+M]):Q===g?(this.length?r.css(this[0],P):null):this.css(P,typeof Q==="string"?Q:Q+"px")}})})();(function(a){a.Jcrop=function(d,D){var d=d,D=D;if(typeof(d)!=="object"){d=a(d)[0]}if(typeof(D)!=="object"){D={}}if(!("trackDocument" in D)){D.trackDocument=a.browser.msie?false:true;if(a.browser.msie&&a.browser.version.split(".")[0]=="8"){D.trackDocument=true}}if(!("keySupport" in D)){D.keySupport=a.browser.msie?false:true}var X={trackDocument:false,baseClass:"jcrop",addClass:null,bgColor:"black",bgOpacity:0.6,borderOpacity:0.4,handleOpacity:0.5,handlePad:5,handleSize:9,handleOffset:5,edgeMargin:14,aspectRatio:0,keySupport:true,cornerHandles:true,sideHandles:true,drawBorders:true,dragEdges:true,boxWidth:0,boxHeight:0,boundary:8,animationDelay:20,swingSpeed:3,allowSelect:true,allowMove:true,allowResize:true,minSelect:[0,0],maxSize:[0,0],minSize:[0,0],onChange:function(){},onSelect:function(){}};var K=X;C(D);var Z=a(d);var ao=Z.clone().removeAttr("id").css({position:"absolute"});ao.width(Z.width());ao.height(Z.height());Z.after(ao).hide();W(ao,K.boxWidth,K.boxHeight);var T=ao.width(),R=ao.height(),ac=a("<div />").width(T).height(R).addClass(F("holder")).css({position:"relative",backgroundColor:K.bgColor}).insertAfter(Z).append(ao);if(K.addClass){ac.addClass(K.addClass)}var L=a("<img />").attr("src",ao.attr("src")).css("position","absolute").width(T).height(R);var k=a("<div />").width(N(100)).height(N(100)).css({zIndex:310,position:"absolute",overflow:"hidden"}).append(L);var O=a("<div />").width(N(100)).height(N(100)).css("zIndex",320);var B=a("<div />").css({position:"absolute",zIndex:300}).insertBefore(ao).append(k,O);var u=K.boundary;var b=ah().width(T+(u*2)).height(R+(u*2)).css({position:"absolute",top:l(-u),left:l(-u),zIndex:290}).mousedown(af);var A,ak,q,V;var P,e,n=true;var ag=G(ao),s,aq,ap,E,ae;var ad=function(){var au=0,aF=0,at=0,aE=0,ax,av;function az(aI){var aI=aw(aI);at=au=aI[0];aE=aF=aI[1]}function ay(aI){var aI=aw(aI);ax=aI[0]-at;av=aI[1]-aE;at=aI[0];aE=aI[1]}function aH(){return[ax,av]}function ar(aK){var aJ=aK[0],aI=aK[1];if(0>au+aJ){aJ-=aJ+au}if(0>aF+aI){aI-=aI+aF}if(R<aE+aI){aI+=R-(aE+aI)}if(T<at+aJ){aJ+=T-(at+aJ)}au+=aJ;at+=aJ;aF+=aI;aE+=aI}function aA(aI){var aJ=aG();switch(aI){case"ne":return[aJ.x2,aJ.y];case"nw":return[aJ.x,aJ.y];case"se":return[aJ.x2,aJ.y2];case"sw":return[aJ.x,aJ.y2]}}function aG(){if(!K.aspectRatio){return aD()}var aK=K.aspectRatio,aR=K.minSize[0]/P,aQ=K.minSize[1]/e,aJ=K.maxSize[0]/P,aT=K.maxSize[1]/e,aL=at-au,aS=aE-aF,aM=Math.abs(aL),aN=Math.abs(aS),aO=aM/aN,aI,aP;if(aJ==0){aJ=T*10}if(aT==0){aT=R*10}if(aO<aK){aP=aE;w=aN*aK;aI=aL<0?au-w:w+au;if(aI<0){aI=0;h=Math.abs((aI-au)/aK);aP=aS<0?aF-h:h+aF}else{if(aI>T){aI=T;h=Math.abs((aI-au)/aK);aP=aS<0?aF-h:h+aF}}}else{aI=at;h=aM/aK;aP=aS<0?aF-h:aF+h;if(aP<0){aP=0;w=Math.abs((aP-aF)*aK);aI=aL<0?au-w:w+au}else{if(aP>R){aP=R;w=Math.abs(aP-aF)*aK;aI=aL<0?au-w:w+au}}}if(aI>au){if(aI-au<aR){aI=au+aR}else{if(aI-au>aJ){aI=au+aJ}}if(aP>aF){aP=aF+(aI-au)/aK}else{aP=aF-(aI-au)/aK}}else{if(aI<au){if(au-aI<aR){aI=au-aR}else{if(au-aI>aJ){aI=au-aJ}}if(aP>aF){aP=aF+(au-aI)/aK}else{aP=aF-(au-aI)/aK}}}if(aI<0){au-=aI;aI=0}else{if(aI>T){au-=aI-T;aI=T}}if(aP<0){aF-=aP;aP=0}else{if(aP>R){aF-=aP-R;aP=R}}return last=aC(aB(au,aF,aI,aP))}function aw(aI){if(aI[0]<0){aI[0]=0}if(aI[1]<0){aI[1]=0}if(aI[0]>T){aI[0]=T}if(aI[1]>R){aI[1]=R}return[aI[0],aI[1]]}function aB(aL,aN,aK,aM){var aP=aL,aO=aK,aJ=aN,aI=aM;if(aK<aL){aP=aK;aO=aL}if(aM<aN){aJ=aM;aI=aN}return[Math.round(aP),Math.round(aJ),Math.round(aO),Math.round(aI)]}function aD(){var aJ=at-au;var aI=aE-aF;if(A&&(Math.abs(aJ)>A)){at=(aJ>0)?(au+A):(au-A)}if(ak&&(Math.abs(aI)>ak)){aE=(aI>0)?(aF+ak):(aF-ak)}if(V&&(Math.abs(aI)<V)){aE=(aI>0)?(aF+V):(aF-V)}if(q&&(Math.abs(aJ)<q)){at=(aJ>0)?(au+q):(au-q)}if(au<0){at-=au;au-=au}if(aF<0){aE-=aF;aF-=aF}if(at<0){au-=at;at-=at}if(aE<0){aF-=aE;aE-=aE}if(at>T){var aK=at-T;au-=aK;at-=aK}if(aE>R){var aK=aE-R;aF-=aK;aE-=aK}if(au>T){var aK=au-R;aE-=aK;aF-=aK}if(aF>R){var aK=aF-R;aE-=aK;aF-=aK}return aC(aB(au,aF,at,aE))}function aC(aI){return{x:aI[0],y:aI[1],x2:aI[2],y2:aI[3],w:aI[2]-aI[0],h:aI[3]-aI[1]}}return{flipCoords:aB,setPressed:az,setCurrent:ay,getOffset:aH,moveOffset:ar,getCorner:aA,getFixed:aG}}();var aa=function(){var az,av,aF,aE,aN=370;var ay={};var aR={};var au=false;var aD=K.handleOffset;if(K.drawBorders){ay={top:aA("hline").css("top",a.browser.msie?l(-1):l(0)),bottom:aA("hline"),left:aA("vline"),right:aA("vline")}}if(K.dragEdges){aR.t=aM("n");aR.b=aM("s");aR.r=aM("e");aR.l=aM("w")}K.sideHandles&&aI(["n","s","e","w"]);K.cornerHandles&&aI(["sw","nw","ne","se"]);function aA(aU){var aV=a("<div />").css({position:"absolute",opacity:K.borderOpacity}).addClass(F(aU));k.append(aV);return aV}function at(aU,aV){var aW=a("<div />").mousedown(c(aU)).css({cursor:aU+"-resize",position:"absolute",zIndex:aV});O.append(aW);return aW}function aG(aU){return at(aU,aN++).css({top:l(-aD+1),left:l(-aD+1),opacity:K.handleOpacity}).addClass(F("handle"))}function aM(aW){var aZ=K.handleSize,a0=aD,aY=aZ,aV=aZ,aX=a0,aU=a0;switch(aW){case"n":case"s":aV=N(100);break;case"e":case"w":aY=N(100);break}return at(aW,aN++).width(aV).height(aY).css({top:l(-aX+1),left:l(-aU+1)})}function aI(aU){for(i in aU){aR[aU[i]]=aG(aU[i])}}function aK(a1){var aW=Math.round((a1.h/2)-aD),aV=Math.round((a1.w/2)-aD),aZ=west=-aD+1,aY=a1.w-aD,aX=a1.h-aD,aU,a0;"e" in aR&&aR.e.css({top:l(aW),left:l(aY)})&&aR.w.css({top:l(aW)})&&aR.s.css({top:l(aX),left:l(aV)})&&aR.n.css({left:l(aV)});"ne" in aR&&aR.ne.css({left:l(aY)})&&aR.se.css({top:l(aX),left:l(aY)})&&aR.sw.css({top:l(aX)});"b" in aR&&aR.b.css({top:l(aX)})&&aR.r.css({left:l(aY)})}function aC(aU,aV){L.css({top:l(-aV),left:l(-aU)});B.css({top:l(aV),left:l(aU)})}function aT(aU,aV){B.width(aU).height(aV)}function aw(){var aU=ad.getFixed();ad.setPressed([aU.x,aU.y]);ad.setCurrent([aU.x2,aU.y2]);aQ()}function aQ(){if(aE){return aB()}}function aB(){var aU=ad.getFixed();aT(aU.w,aU.h);aC(aU.x,aU.y);K.drawBorders&&ay.right.css({left:l(aU.w-1)})&&ay.bottom.css({top:l(aU.h-1)});au&&aK(aU);aE||aS();K.onChange(ab(aU))}function aS(){B.show();ao.css("opacity",K.bgOpacity);aE=true}function aO(){aP();B.hide();ao.css("opacity",1);aE=false}function ar(){if(au){aK(ad.getFixed());O.show()}}function aJ(){au=true;if(K.allowResize){aK(ad.getFixed());O.show();return true}}function aP(){au=false;O.hide()}function aL(aU){(E=aU)?aP():aJ()}function aH(){aL(false);aw()}var ax=ah().mousedown(c("move")).css({cursor:"move",position:"absolute",zIndex:360});k.append(ax);aP();return{updateVisible:aQ,update:aB,release:aO,refresh:aw,setCursor:function(aU){ax.css("cursor",aU)},enableHandles:aJ,enableOnly:function(){au=true},showHandles:ar,disableHandles:aP,animMode:aL,done:aH}}();var S=function(){var at=function(){},av=function(){},au=K.trackDocument;if(!au){b.mousemove(ar).mouseup(aw).mouseout(aw)}function aA(){b.css({zIndex:450});if(au){a(document).mousemove(ar).mouseup(aw)}}function az(){b.css({zIndex:290});if(au){a(document).unbind("mousemove",ar).unbind("mouseup",aw)}}function ar(aB){at(I(aB))}function aw(aB){aB.preventDefault();aB.stopPropagation();if(s){s=false;av(I(aB));K.onSelect(ab(ad.getFixed()));az();at=function(){};av=function(){}}return false}function ax(aC,aB){s=true;at=aC;av=aB;aA();return false}function ay(aB){b.css("cursor",aB)}ao.before(b);return{activateHandlers:ax,setCursor:ay}}();var an=function(){var av=a('<input type="radio" />').css({position:"absolute",left:"-30px"}).keypress(ar).blur(aw),ax=a("<div />").css({position:"absolute",overflow:"hidden"}).append(av);function at(){if(K.keySupport){av.show();av.focus()}}function aw(ay){av.hide()}function au(az,ay,aA){if(K.allowMove){ad.moveOffset([ay,aA]);aa.updateVisible()}az.preventDefault();az.stopPropagation()}function ar(az){if(az.ctrlKey){return true}ae=az.shiftKey?true:false;var ay=ae?10:1;switch(az.keyCode){case 37:au(az,-ay,0);break;case 39:au(az,ay,0);break;case 38:au(az,0,-ay);break;case 40:au(az,0,ay);break;case 27:aa.release();break;case 9:return true}return nothing(az)}if(K.keySupport){ax.insertBefore(ao)}return{watchKeys:at}}();function l(ar){return""+parseInt(ar)+"px"}function N(ar){return""+parseInt(ar)+"%"}function F(ar){return K.baseClass+"-"+ar}function G(ar){var at=a(ar).offset();return[at.left,at.top]}function I(ar){return[(ar.pageX-ag[0]),(ar.pageY-ag[1])]}function H(ar){if(ar!=aq){S.setCursor(ar);aq=ar}}function f(au,aw){ag=G(ao);S.setCursor(au=="move"?au:au+"-resize");if(au=="move"){return S.activateHandlers(U(aw),o)}var ar=ad.getFixed();var at=r(au);var av=ad.getCorner(r(at));ad.setPressed(ad.getCorner(at));ad.setCurrent(av);S.activateHandlers(J(au,ar),o)}function J(at,ar){return function(au){if(!K.aspectRatio){switch(at){case"e":au[1]=ar.y2;break;case"w":au[1]=ar.y2;break;case"n":au[0]=ar.x2;break;case"s":au[0]=ar.x2;break}}else{switch(at){case"e":au[1]=ar.y+1;break;case"w":au[1]=ar.y+1;break;case"n":au[0]=ar.x+1;break;case"s":au[0]=ar.x+1;break}}ad.setCurrent(au);aa.update()}}function U(at){var ar=at;an.watchKeys();return function(au){ad.moveOffset([au[0]-ar[0],au[1]-ar[1]]);ar=au;aa.update()}}function r(ar){switch(ar){case"n":return"sw";case"s":return"nw";case"e":return"nw";case"w":return"ne";case"ne":return"sw";case"nw":return"se";case"se":return"nw";case"sw":return"ne"}}function c(ar){return function(at){if(K.disabled){return false}if((ar=="move")&&!K.allowMove){return false}s=true;f(ar,I(at));at.stopPropagation();at.preventDefault();return false}}function W(aw,at,av){var ar=aw.width(),au=aw.height();if((ar>at)&&at>0){ar=at;au=(at/aw.width())*aw.height()}if((au>av)&&av>0){au=av;ar=(av/aw.height())*aw.width()}P=aw.width()/ar;e=aw.height()/au;aw.width(ar).height(au)}function ab(ar){return{x:parseInt(ar.x*P),y:parseInt(ar.y*e),x2:parseInt(ar.x2*P),y2:parseInt(ar.y2*e),w:parseInt(ar.w*P),h:parseInt(ar.h*e)}}function o(at){var ar=ad.getFixed();if(ar.w>K.minSelect[0]&&ar.h>K.minSelect[1]){aa.enableHandles();aa.done()}else{aa.release()}S.setCursor(K.allowSelect?"crosshair":"default")}function af(ar){if(K.disabled){return false}if(!K.allowSelect){return false}s=true;ag=G(ao);aa.disableHandles();H("crosshair");var at=I(ar);ad.setPressed(at);S.activateHandlers(am,o);an.watchKeys();aa.update();ar.stopPropagation();ar.preventDefault();return false}function am(ar){ad.setCurrent(ar);aa.update()}function ah(){var ar=a("<div></div>").addClass(F("tracker"));a.browser.msie&&ar.css({opacity:0,backgroundColor:"white"});return ar}function t(aJ){var aE=aJ[0]/P,at=aJ[1]/e,aD=aJ[2]/P,ar=aJ[3]/e;if(E){return}var aC=ad.flipCoords(aE,at,aD,ar);var aH=ad.getFixed();var av=initcr=[aH.x,aH.y,aH.x2,aH.y2];var au=K.animationDelay;var aA=av[0];var az=av[1];var aD=av[2];var ar=av[3];var aG=aC[0]-initcr[0];var ax=aC[1]-initcr[1];var aF=aC[2]-initcr[2];var aw=aC[3]-initcr[3];var aB=0;var ay=K.swingSpeed;aa.animMode(true);var aI=function(){return function(){aB+=(100-aB)/ay;av[0]=aA+((aB/100)*aG);av[1]=az+((aB/100)*ax);av[2]=aD+((aB/100)*aF);av[3]=ar+((aB/100)*aw);if(aB<100){aK()}else{aa.done()}if(aB>=99.8){aB=100}al(av)}}();function aK(){window.setTimeout(aI,au)}aK()}function M(ar){al([ar[0]/P,ar[1]/e,ar[2]/P,ar[3]/e])}function al(ar){ad.setPressed([ar[0],ar[1]]);ad.setCurrent([ar[2],ar[3]]);aa.update()}function C(ar){if(typeof(ar)!="object"){ar={}}K=a.extend(K,ar);if(typeof(K.onChange)!=="function"){K.onChange=function(){}}if(typeof(K.onSelect)!=="function"){K.onSelect=function(){}}}function j(){return ab(ad.getFixed())}function aj(){return ad.getFixed()}function x(ar){C(ar);Q()}function y(){K.disabled=true;aa.disableHandles();aa.setCursor("default");S.setCursor("default")}function Y(){K.disabled=false;Q()}function m(){aa.done();S.activateHandlers(null,null)}function ai(){ac.remove();Z.show()}function Q(ar){K.allowResize?ar?aa.enableOnly():aa.enableHandles():aa.disableHandles();S.setCursor(K.allowSelect?"crosshair":"default");aa.setCursor(K.allowMove?"move":"default");ac.css("backgroundColor",K.bgColor);if("setSelect" in K){M(D.setSelect);aa.done();delete (K.setSelect)}if("trueSize" in K){P=K.trueSize[0]/T;e=K.trueSize[1]/R}A=K.maxSize[0]||0;ak=K.maxSize[1]||0;q=K.minSize[0]||0;V=K.minSize[1]||0;if("outerImage" in K){ao.attr("src",K.outerImage);delete (K.outerImage)}aa.refresh()}O.hide();Q(true);var g={animateTo:t,setSelect:M,setOptions:x,tellSelect:j,tellScaled:aj,disable:y,enable:Y,cancel:m,focus:an.watchKeys,getBounds:function(){return[T*P,R*e]},getWidgetSize:function(){return[T,R]},release:aa.release,destroy:ai};Z.data("Jcrop",g);return g};a.fn.Jcrop=function(c){function b(f){var e=c.useImg||f.src;var d=new Image();d.onload=function(){a.Jcrop(f,c)};d.src=e}if(typeof(c)!=="object"){c={}}this.each(function(){if(a(this).data("Jcrop")){if(c=="api"){return a(this).data("Jcrop")}else{a(this).data("Jcrop").setOptions(c)}}else{b(this)}});return this}})(jQuery);(function(f){f.facebox=function(o,n){f.facebox.loading();if(o.ajax){g(o.ajax)}else{if(o.image){c(o.image)}else{if(o.div){l(o.div)}else{if(f.isFunction(o)){o.call(f)}else{f.facebox.reveal(o,n)}}}}};f.extend(f.facebox,{settings:{opacity:0,overlay:true,loadingImage:"/images/loading.gif",closeImage:"/images/closelabel.gif",imageTypes:["png","jpg","jpeg","gif"],faceboxHtml:'    <div id="facebox" style="display:none;">       <div class="popup">         <table>           <tbody>             <tr>               <td class="tl"/><td class="b"/><td class="tr"/>             </tr>             <tr>               <td class="b"/>               <td class="body">                 <div class="content">                 </div>                 <div class="footer">                   <a href="#" class="close">                     <img src="/images/closelabel.gif" title="close" class="close_image" />                   </a>                 </div>               </td>               <td class="b"/>             </tr>             <tr>               <td class="bl"/><td class="b"/><td class="br"/>             </tr>           </tbody>         </table>       </div>     </div>'},loading:function(){m();if(f("#facebox .loading").length==1){return true}e();f("#facebox .content").empty();f("#facebox .body").children().hide().end().append('<div class="loading"><img src="'+f.facebox.settings.loadingImage+'"/></div>');f("#facebox").css({top:j()[1]+(k()/10),left:385.5,zIndex:500}).show();f(document).bind("keydown.facebox",function(n){if(n.keyCode==27){f.facebox.close()}return true});f(document).trigger("loading.facebox")},reveal:function(o,n){f(document).trigger("beforeReveal.facebox");if(n){f("#facebox .content").addClass(n)}f("#facebox .content").append(o);f("#facebox .loading").remove();f("#facebox .body").children().fadeIn("normal");f("#facebox").css("left",f(window).width()/2-(f("#facebox table").width()/2));f(document).trigger("reveal.facebox").trigger("afterReveal.facebox")},close:function(){f(document).trigger("close.facebox");return false}});f.fn.facebox=function(n){m(n);function o(){f.facebox.loading(true);var q=this.rel.match(/facebox\[?\.(\w+)\]?/);if(q){q=q[1]}l(this.href,q);return false}return this.click(o)};function m(q){if(f.facebox.settings.inited){return true}else{f.facebox.settings.inited=true}f(document).trigger("init.facebox");d();var n=f.facebox.settings.imageTypes.join("|");f.facebox.settings.imageTypesRegexp=new RegExp("."+n+"$","i");if(q){f.extend(f.facebox.settings,q)}f("body").append(f.facebox.settings.faceboxHtml);var o=[new Image(),new Image()];o[0].src=f.facebox.settings.closeImage;o[1].src=f.facebox.settings.loadingImage;f("#facebox").find(".b:first, .bl, .br, .tl, .tr").each(function(){o.push(new Image());o.slice(-1).src=f(this).css("background-image").replace(/url\((.+)\)/,"$1")});f("#facebox .close").click(f.facebox.close);f("#facebox .close_image").attr("src",f.facebox.settings.closeImage)}function j(){var o,n;if(self.pageYOffset){n=self.pageYOffset;o=self.pageXOffset}else{if(document.documentElement&&document.documentElement.scrollTop){n=document.documentElement.scrollTop;o=document.documentElement.scrollLeft}else{if(document.body){n=document.body.scrollTop;o=document.body.scrollLeft}}}return new Array(o,n)}function k(){var n;if(self.innerHeight){n=self.innerHeight}else{if(document.documentElement&&document.documentElement.clientHeight){n=document.documentElement.clientHeight}else{if(document.body){n=document.body.clientHeight}}}return n}function d(){var n=f.facebox.settings;n.loadingImage=n.loading_image||n.loadingImage;n.closeImage=n.close_image||n.closeImage;n.imageTypes=n.image_types||n.imageTypes;n.faceboxHtml=n.facebox_html||n.faceboxHtml}function l(o,n){if(o.match(/#/)){var q=window.location.href.split("#")[0];var r=o.replace(q,"");f.facebox.reveal(f(r).clone().show(),n)}else{if(o.match(f.facebox.settings.imageTypesRegexp)){c(o,n)}else{g(o,n)}}}function c(o,n){var q=new Image();q.onload=function(){f.facebox.reveal('<div class="image"><img src="'+q.src+'" /></div>',n)};q.src=o}function g(o,n){f.get(o,function(q){f.facebox.reveal(q,n)})}function b(){return f.facebox.settings.overlay==false||f.facebox.settings.opacity===null}function e(){if(b()){return}if(f("facebox_overlay").length==0){f("body").append('<div id="facebox_overlay" class="facebox_hide"></div>')}f("#facebox_overlay").hide().addClass("facebox_overlayBG").css("opacity",f.facebox.settings.opacity).fadeIn(200);return false}function a(){if(b()){return}f("#facebox_overlay").fadeOut(200,function(){f("#facebox_overlay").removeClass("facebox_overlayBG");f("#facebox_overlay").addClass("facebox_hide");f("#facebox_overlay").remove()});return false}f(document).bind("close.facebox",function(){f(document).unbind("keydown.facebox");f("#facebox").fadeOut(function(){f("#facebox .content").removeClass().addClass("content");a();f("#facebox .loading").remove()})})})(jQuery);(function(b){function a(e,d){var c=this;e=jQuery(e);var f=jQuery(document.createElement("div")).addClass(d.baseClass).addClass((d.fixed)?d.fixedClass:"").addClass((d.persistent)?d.persistentClass:"").html(d.content).appendTo(e);if(!d.hidden){f.show()}else{f.hide()}if(!d.persistent){e.hover(function(g){c.show(g)},function(){c.hide()});if(!d.fixed){e.mousemove(function(g){if(f.css("display")!=="none"){c.updatePos(g)}})}}else{e.click(function(g){if(g.target===e.get(0)){if(f.css("display")!=="none"){c.hide()}else{c.show()}}});jQuery(window).mousedown(function(j){if(f.css("display")!=="none"){var g=(d.focus)?jQuery(j.target).parents(".tooltip").andSelf().filter(function(){return this===f.get(0)}).length:0;if(g===0){c.hide()}}})}jQuery.extend(c,{getVersion:function(){return[1,2,0]},getParent:function(){return e},getTooltip:function(){return f},getPos:function(){return f.offset()},setPos:function(k,j){var g=e.offset();if(typeof k=="string"){k=parseInt(k)+g.left}if(typeof j=="string"){j=parseInt(j)+g.top}f.css({left:k,top:j});return c},show:function(g){d.onBeforeShow.call(c);c.updatePos((d.fixed)?null:g);switch(d.showEffect){case"fade":f.fadeIn(d.showTime);break;case"slide":f.slideDown(d.showTime,c.updatePos);break;case"custom":d.showCustom.call(f,d.showTime);break;default:case"none":f.show();break}f.addClass(d.activeClass);d.onShow.call(c);return c},hide:function(){d.onBeforeHide.call(c);switch(d.hideEffect){case"fade":f.fadeOut(d.hideTime);break;case"slide":f.slideUp(d.hideTime);break;case"custom":d.hideCustom.call(f,d.hideTime);break;default:case"none":f.hide();break}f.removeClass(d.activeClass);d.onHide.call(c);return c},update:function(g){f.html(g);d.content=g;return c},load:function(g,j){d.beforeContentLoad.call(c);f.load(g,j,function(){d.onContentLoad.call(c)});return c},boundryCheck:function(n,l){var k=n+f.outerWidth();var j=l+f.outerHeight();var g=jQuery(window).width()+jQuery(window).scrollLeft();var m=jQuery(window).height()+jQuery(window).scrollTop();return[(k>=g),(j>=m)]},updatePos:function(k){var q=f.outerWidth();var s=f.outerHeight();if(!k&&d.fixed){if(d.position.constructor==Array){j=parseInt(d.position[0]);g=parseInt(d.position[1])}else{if(jQuery(d.position).attr("nodeType")===1){var o=jQuery(d.position).offset();j=o.left;g=o.top}else{var r=e.offset();var n=e.outerWidth();var l=e.outerHeight();switch(d.position){case"top":var j=r.left-(q/2)+(n/2);var g=r.top-s;break;case"bottom":var j=r.left-(q/2)+(n/2);var g=r.top+l;break;case"left":var j=r.left-q;var g=r.top-(s/2)+(l/2);break;case"right":var j=r.left+n;var g=r.top-(s/2)+(l/2);break;default:case"default":var j=(n/2)+r.left+20;var g=r.top;break}}}}else{var j=k.pageX;var g=k.pageY}if(typeof d.position!="object"){j=j+d.offset[0];g=g+d.offset[1];if(d.boundryCheck){var m=c.boundryCheck(j,g);if(m[0]){j=j-(q/2)-(2*d.offset[0])}if(m[1]){g=g-(s/2)-(2*d.offset[1])}}}else{if(typeof d.position[0]=="string"){j=String(j)}if(typeof d.position[1]=="string"){g=String(g)}}c.setPos(j,g);return c}})}jQuery.fn.simpletip=function(c){var d=jQuery(this).eq(typeof c=="number"?c:0).data("simpletip");if(d){return d}var e={content:"A simple tooltip",persistent:false,focus:false,hidden:true,position:"default",offset:[0,0],boundryCheck:true,fixed:true,showEffect:"fade",showTime:150,showCustom:null,hideEffect:"fade",hideTime:150,hideCustom:null,baseClass:"tooltip",activeClass:"active",fixedClass:"fixed",persistentClass:"persistent",focusClass:"focus",onBeforeShow:function(){},onShow:function(){},onBeforeHide:function(){},onHide:function(){},beforeContentLoad:function(){},onContentLoad:function(){}};jQuery.extend(e,c);this.each(function(){var f=new a(jQuery(this),e);jQuery(this).data("simpletip",f)});return this}})();(function($){$.extend({tablesorter:new function(){var parsers=[],widgets=[];this.defaults={cssHeader:"header",cssAsc:"headerSortUp",cssDesc:"headerSortDown",sortInitialOrder:"asc",sortMultiSortKey:"shiftKey",sortForce:null,sortAppend:null,textExtraction:"simple",parsers:{},widgets:[],widgetZebra:{css:["even","odd"]},headers:{},widthFixed:false,cancelSelection:true,sortList:[],headerList:[],dateFormat:"us",decimal:".",debug:false};function benchmark(s,d){log(s+","+(new Date().getTime()-d.getTime())+"ms")}this.benchmark=benchmark;function log(s){if(typeof console!="undefined"&&typeof console.debug!="undefined"){console.log(s)}else{alert(s)}}function buildParserCache(table,$headers){if(table.config.debug){var parsersDebug=""}var rows=table.tBodies[0].rows;if(table.tBodies[0].rows[0]){var list=[],cells=rows[0].cells,l=cells.length;for(var i=0;i<l;i++){var p=false;if($.metadata&&($($headers[i]).metadata()&&$($headers[i]).metadata().sorter)){p=getParserById($($headers[i]).metadata().sorter)}else{if((table.config.headers[i]&&table.config.headers[i].sorter)){p=getParserById(table.config.headers[i].sorter)}}if(!p){p=detectParserForColumn(table,cells[i])}if(table.config.debug){parsersDebug+="column:"+i+" parser:"+p.id+"\n"}list.push(p)}}if(table.config.debug){log(parsersDebug)}return list}function detectParserForColumn(table,node){var l=parsers.length;for(var i=1;i<l;i++){if(parsers[i].is($.trim(getElementText(table.config,node)),table,node)){return parsers[i]}}return parsers[0]}function getParserById(name){var l=parsers.length;for(var i=0;i<l;i++){if(parsers[i].id.toLowerCase()==name.toLowerCase()){return parsers[i]}}return false}function buildCache(table){if(table.config.debug){var cacheTime=new Date()}var totalRows=(table.tBodies[0]&&table.tBodies[0].rows.length)||0,totalCells=(table.tBodies[0].rows[0]&&table.tBodies[0].rows[0].cells.length)||0,parsers=table.config.parsers,cache={row:[],normalized:[]};for(var i=0;i<totalRows;++i){var c=table.tBodies[0].rows[i],cols=[];cache.row.push($(c));for(var j=0;j<totalCells;++j){cols.push(parsers[j].format(getElementText(table.config,c.cells[j]),table,c.cells[j]))}cols.push(i);cache.normalized.push(cols);cols=null}if(table.config.debug){benchmark("Building cache for "+totalRows+" rows:",cacheTime)}return cache}function getElementText(config,node){if(!node){return""}var t="";if(config.textExtraction=="simple"){if(node.childNodes[0]&&node.childNodes[0].hasChildNodes()){t=node.childNodes[0].innerHTML}else{t=node.innerHTML}}else{if(typeof(config.textExtraction)=="function"){t=config.textExtraction(node)}else{t=$(node).text()}}return t}function appendToTable(table,cache){if(table.config.debug){var appendTime=new Date()}var c=cache,r=c.row,n=c.normalized,totalRows=n.length,checkCell=(n[0].length-1),tableBody=$(table.tBodies[0]),rows=[];for(var i=0;i<totalRows;i++){rows.push(r[n[i][checkCell]]);if(!table.config.appender){var o=r[n[i][checkCell]];var l=o.length;for(var j=0;j<l;j++){tableBody[0].appendChild(o[j])}}}if(table.config.appender){table.config.appender(table,rows)}rows=null;if(table.config.debug){benchmark("Rebuilt table:",appendTime)}applyWidget(table);setTimeout(function(){$(table).trigger("sortEnd")},0)}function buildHeaders(table){if(table.config.debug){var time=new Date()}var meta=($.metadata)?true:false,tableHeadersRows=[];for(var i=0;i<table.tHead.rows.length;i++){tableHeadersRows[i]=0}$tableHeaders=$("thead th",table);$tableHeaders.each(function(index){this.count=0;this.column=index;this.order=formatSortingOrder(table.config.sortInitialOrder);if(checkHeaderMetadata(this)||checkHeaderOptions(table,index)){this.sortDisabled=true}if(!this.sortDisabled){$(this).addClass(table.config.cssHeader)}table.config.headerList[index]=this});if(table.config.debug){benchmark("Built headers:",time);log($tableHeaders)}return $tableHeaders}function checkCellColSpan(table,rows,row){var arr=[],r=table.tHead.rows,c=r[row].cells;for(var i=0;i<c.length;i++){var cell=c[i];if(cell.colSpan>1){arr=arr.concat(checkCellColSpan(table,headerArr,row++))}else{if(table.tHead.length==1||(cell.rowSpan>1||!r[row+1])){arr.push(cell)}}}return arr}function checkHeaderMetadata(cell){if(($.metadata)&&($(cell).metadata().sorter===false)){return true}return false}function checkHeaderOptions(table,i){if((table.config.headers[i])&&(table.config.headers[i].sorter===false)){return true}return false}function applyWidget(table){var c=table.config.widgets;var l=c.length;for(var i=0;i<l;i++){getWidgetById(c[i]).format(table)}}function getWidgetById(name){var l=widgets.length;for(var i=0;i<l;i++){if(widgets[i].id.toLowerCase()==name.toLowerCase()){return widgets[i]}}}function formatSortingOrder(v){if(typeof(v)!="Number"){i=(v.toLowerCase()=="desc")?1:0}else{i=(v==(0||1))?v:0}return i}function isValueInArray(v,a){var l=a.length;for(var i=0;i<l;i++){if(a[i][0]==v){return true}}return false}function setHeadersCss(table,$headers,list,css){$headers.removeClass(css[0]).removeClass(css[1]);var h=[];$headers.each(function(offset){if(!this.sortDisabled){h[this.column]=$(this)}});var l=list.length;for(var i=0;i<l;i++){h[list[i][0]].addClass(css[list[i][1]])}}function fixColumnWidth(table,$headers){var c=table.config;if(c.widthFixed){var colgroup=$("<colgroup>");$("tr:first td",table.tBodies[0]).each(function(){colgroup.append($("<col>").css("width",$(this).width()))});$(table).prepend(colgroup)}}function updateHeaderSortCount(table,sortList){var c=table.config,l=sortList.length;for(var i=0;i<l;i++){var s=sortList[i],o=c.headerList[s[0]];o.count=s[1];o.count++}}function multisort(table,sortList,cache){if(table.config.debug){var sortTime=new Date()}var dynamicExp="var sortWrapper = function(a,b) {",l=sortList.length;for(var i=0;i<l;i++){var c=sortList[i][0];var order=sortList[i][1];var s=(getCachedSortType(table.config.parsers,c)=="text")?((order==0)?"sortText":"sortTextDesc"):((order==0)?"sortNumeric":"sortNumericDesc");var e="e"+i;dynamicExp+="var "+e+" = "+s+"(a["+c+"],b["+c+"]); ";dynamicExp+="if("+e+") { return "+e+"; } ";dynamicExp+="else { "}var orgOrderCol=cache.normalized[0].length-1;dynamicExp+="return a["+orgOrderCol+"]-b["+orgOrderCol+"];";for(var i=0;i<l;i++){dynamicExp+="}; "}dynamicExp+="return 0; ";dynamicExp+="}; ";eval(dynamicExp);cache.normalized.sort(sortWrapper);if(table.config.debug){benchmark("Sorting on "+sortList.toString()+" and dir "+order+" time:",sortTime)}return cache}function sortText(a,b){return((a<b)?-1:((a>b)?1:0))}function sortTextDesc(a,b){return((b<a)?-1:((b>a)?1:0))}function sortNumeric(a,b){return a-b}function sortNumericDesc(a,b){return b-a}function getCachedSortType(parsers,i){return parsers[i].type}this.construct=function(settings){return this.each(function(){if(!this.tHead||!this.tBodies){return}var $this,$document,$headers,cache,config,shiftDown=0,sortOrder;this.config={};config=$.extend(this.config,$.tablesorter.defaults,settings);$this=$(this);$headers=buildHeaders(this);this.config.parsers=buildParserCache(this,$headers);cache=buildCache(this);var sortCSS=[config.cssDesc,config.cssAsc];fixColumnWidth(this);$headers.click(function(e){$this.trigger("sortStart");var totalRows=($this[0].tBodies[0]&&$this[0].tBodies[0].rows.length)||0;if(!this.sortDisabled&&totalRows>0){var $cell=$(this);var i=this.column;this.order=this.count++%2;if(!e[config.sortMultiSortKey]){config.sortList=[];if(config.sortForce!=null){var a=config.sortForce;for(var j=0;j<a.length;j++){if(a[j][0]!=i){config.sortList.push(a[j])}}}config.sortList.push([i,this.order])}else{if(isValueInArray(i,config.sortList)){for(var j=0;j<config.sortList.length;j++){var s=config.sortList[j],o=config.headerList[s[0]];if(s[0]==i){o.count=s[1];o.count++;s[1]=o.count%2}}}else{config.sortList.push([i,this.order])}}setTimeout(function(){setHeadersCss($this[0],$headers,config.sortList,sortCSS);appendToTable($this[0],multisort($this[0],config.sortList,cache))},1);return false}}).mousedown(function(){if(config.cancelSelection){this.onselectstart=function(){return false};return false}});$this.bind("update",function(){this.config.parsers=buildParserCache(this,$headers);cache=buildCache(this)}).bind("sorton",function(e,list){$(this).trigger("sortStart");config.sortList=list;var sortList=config.sortList;updateHeaderSortCount(this,sortList);setHeadersCss(this,$headers,sortList,sortCSS);appendToTable(this,multisort(this,sortList,cache))}).bind("appendCache",function(){appendToTable(this,cache)}).bind("applyWidgetId",function(e,id){getWidgetById(id).format(this)}).bind("applyWidgets",function(){applyWidget(this)});if($.metadata&&($(this).metadata()&&$(this).metadata().sortlist)){config.sortList=$(this).metadata().sortlist}if(config.sortList.length>0){$this.trigger("sorton",[config.sortList])}applyWidget(this)})};this.addParser=function(parser){var l=parsers.length,a=true;for(var i=0;i<l;i++){if(parsers[i].id.toLowerCase()==parser.id.toLowerCase()){a=false}}if(a){parsers.push(parser)}};this.addWidget=function(widget){widgets.push(widget)};this.formatFloat=function(s){var i=parseFloat(s);return(isNaN(i))?0:i};this.formatInt=function(s){var i=parseInt(s);return(isNaN(i))?0:i};this.isDigit=function(s,config){var DECIMAL="\\"+config.decimal;var exp="/(^[+]?0("+DECIMAL+"0+)?$)|(^([-+]?[1-9][0-9]*)$)|(^([-+]?((0?|[1-9][0-9]*)"+DECIMAL+"(0*[1-9][0-9]*)))$)|(^[-+]?[1-9]+[0-9]*"+DECIMAL+"0+$)/";return RegExp(exp).test($.trim(s))};this.clearTableBody=function(table){if($.browser.msie){function empty(){while(this.firstChild){this.removeChild(this.firstChild)}}empty.apply(table.tBodies[0])}else{table.tBodies[0].innerHTML=""}}}});$.fn.extend({tablesorter:$.tablesorter.construct});var ts=$.tablesorter;ts.addParser({id:"text",is:function(s){return true},format:function(s){return $.trim(s.toLowerCase())},type:"text"});ts.addParser({id:"digit",is:function(s,table){var c=table.config;return $.tablesorter.isDigit(s,c)},format:function(s){return $.tablesorter.formatFloat(s)},type:"numeric"});ts.addParser({id:"currency",is:function(s){return/^[£$€?.]/.test(s)},format:function(s){return $.tablesorter.formatFloat(s.replace(new RegExp(/[^0-9.]/g),""))},type:"numeric"});ts.addParser({id:"ipAddress",is:function(s){return/^\d{2,3}[\.]\d{2,3}[\.]\d{2,3}[\.]\d{2,3}$/.test(s)},format:function(s){var a=s.split("."),r="",l=a.length;for(var i=0;i<l;i++){var item=a[i];if(item.length==2){r+="0"+item}else{r+=item}}return $.tablesorter.formatFloat(r)},type:"numeric"});ts.addParser({id:"url",is:function(s){return/^(https?|ftp|file):\/\/$/.test(s)},format:function(s){return jQuery.trim(s.replace(new RegExp(/(https?|ftp|file):\/\//),""))},type:"text"});ts.addParser({id:"isoDate",is:function(s){return/^\d{4}[\/-]\d{1,2}[\/-]\d{1,2}$/.test(s)},format:function(s){return $.tablesorter.formatFloat((s!="")?new Date(s.replace(new RegExp(/-/g),"/")).getTime():"0")},type:"numeric"});ts.addParser({id:"percent",is:function(s){return/\%$/.test($.trim(s))},format:function(s){return $.tablesorter.formatFloat(s.replace(new RegExp(/%/g),""))},type:"numeric"});ts.addParser({id:"usLongDate",is:function(s){return s.match(new RegExp(/^[A-Za-z]{3,10}\.? [0-9]{1,2}, ([0-9]{4}|'?[0-9]{2}) (([0-2]?[0-9]:[0-5][0-9])|([0-1]?[0-9]:[0-5][0-9]\s(AM|PM)))$/))},format:function(s){return $.tablesorter.formatFloat(new Date(s).getTime())},type:"numeric"});ts.addParser({id:"shortDate",is:function(s){return/\d{1,2}[\/\-]\d{1,2}[\/\-]\d{2,4}/.test(s)},format:function(s,table){var c=table.config;s=s.replace(/\-/g,"/");if(c.dateFormat=="us"){s=s.replace(/(\d{1,2})[\/\-](\d{1,2})[\/\-](\d{4})/,"$3/$1/$2")}else{if(c.dateFormat=="uk"){s=s.replace(/(\d{1,2})[\/\-](\d{1,2})[\/\-](\d{4})/,"$3/$2/$1")}else{if(c.dateFormat=="dd/mm/yy"||c.dateFormat=="dd-mm-yy"){s=s.replace(/(\d{1,2})[\/\-](\d{1,2})[\/\-](\d{2})/,"$1/$2/$3")}}}return $.tablesorter.formatFloat(new Date(s).getTime())},type:"numeric"});ts.addParser({id:"time",is:function(s){return/^(([0-2]?[0-9]:[0-5][0-9])|([0-1]?[0-9]:[0-5][0-9]\s(am|pm)))$/.test(s)},format:function(s){return $.tablesorter.formatFloat(new Date("2000/01/01 "+s).getTime())},type:"numeric"});ts.addParser({id:"metadata",is:function(s){return false},format:function(s,table,cell){var c=table.config,p=(!c.parserMetadataName)?"sortValue":c.parserMetadataName;return $(cell).metadata()[p]},type:"numeric"});ts.addWidget({id:"zebra",format:function(table){if(table.config.debug){var time=new Date()}$("tr:visible",table.tBodies[0]).filter(":even").removeClass(table.config.widgetZebra.css[1]).addClass(table.config.widgetZebra.css[0]).end().filter(":odd").removeClass(table.config.widgetZebra.css[0]).addClass(table.config.widgetZebra.css[1]);if(table.config.debug){$.tablesorter.benchmark("Applying Zebra widget",time)}}})})(jQuery);(function(G){G.fn.qtip=function(a,j){var d,k,b,l,e,f,g,c;if(typeof a=="string"){if(typeof G(this).data("qtip")!=="object"){G.fn.qtip.log.error.call(self,1,G.fn.qtip.constants.NO_TOOLTIP_PRESENT,false)}if(a=="api"){return G(this).data("qtip").interfaces[G(this).data("qtip").current]}else{if(a=="interfaces"){return G(this).data("qtip").interfaces}}}else{if(!a){a={}}if(typeof a.content!=="object"||(a.content.jquery&&a.content.length>0)){a.content={text:a.content}}if(typeof a.content.title!=="object"){a.content.title={text:a.content.title}}if(typeof a.position!=="object"){a.position={corner:a.position}}if(typeof a.position.corner!=="object"){a.position.corner={target:a.position.corner,tooltip:a.position.corner}}if(typeof a.show!=="object"){a.show={when:a.show}}if(typeof a.show.when!=="object"){a.show.when={event:a.show.when}}if(typeof a.show.effect!=="object"){a.show.effect={type:a.show.effect}}if(typeof a.hide!=="object"){a.hide={when:a.hide}}if(typeof a.hide.when!=="object"){a.hide.when={event:a.hide.when}}if(typeof a.hide.effect!=="object"){a.hide.effect={type:a.hide.effect}}if(typeof a.style!=="object"){a.style={name:a.style}}a.style=J(a.style);l=G.extend(true,{},G.fn.qtip.defaults,a);l.style=L.call({options:l},l.style);l.user=G.extend(true,{},a)}return G(this).each(function(){if(typeof a=="string"){f=a.toLowerCase();b=G(this).qtip("interfaces");if(typeof b=="object"){if(j===true&&f=="destroy"){while(b.length>0){b[b.length-1].destroy()}}else{if(j!==true){b=[G(this).qtip("api")]}for(d=0;d<b.length;d++){if(f=="destroy"){b[d].destroy()}else{if(b[d].status.rendered===true){if(f=="show"){b[d].show()}else{if(f=="hide"){b[d].hide()}else{if(f=="focus"){b[d].focus()}else{if(f=="disable"){b[d].disable(true)}else{if(f=="enable"){b[d].disable(false)}}}}}}}}}}}else{g=G.extend(true,{},l);g.hide.effect.length=l.hide.effect.length;g.show.effect.length=l.show.effect.length;if(g.position.container===false){g.position.container=G(document.body)}if(g.position.target===false){g.position.target=G(this)}if(g.show.when.target===false){g.show.when.target=G(this)}if(g.hide.when.target===false){g.hide.when.target=G(this)}k=G.fn.qtip.interfaces.length;for(d=0;d<k;d++){if(typeof G.fn.qtip.interfaces[d]=="undefined"){k=d;break}}e=new I(G(this),g,k);G.fn.qtip.interfaces[k]=e;if(typeof G(this).data("qtip")=="object"){if(typeof G(this).attr("qtip")==="undefined"){G(this).data("qtip").current=G(this).data("qtip").interfaces.length}G(this).data("qtip").interfaces.push(e)}else{G(this).data("qtip",{current:0,interfaces:[e]})}if(g.content.prerender===false&&g.show.when.event!==false&&g.show.ready!==true){g.show.when.target.bind(g.show.when.event+".qtip-"+k+"-create",{qtip:k},function(m){c=G.fn.qtip.interfaces[m.data.qtip];c.options.show.when.target.unbind(c.options.show.when.event+".qtip-"+m.data.qtip+"-create");c.cache.mouse={x:m.pageX,y:m.pageY};u.call(c);c.options.show.when.target.trigger(c.options.show.when.event)})}else{e.cache.mouse={x:g.show.when.target.offset().left,y:g.show.when.target.offset().top};u.call(e)}}})};function I(b,c,a){var d=this;d.id=a;d.options=c;d.status={animated:false,rendered:false,disabled:false,focused:false};d.elements={target:b.addClass(d.options.style.classes.target),tooltip:null,wrapper:null,content:null,contentWrapper:null,title:null,button:null,tip:null,bgiframe:null};d.cache={mouse:{},position:{},toggle:0};d.timers={};G.extend(d,d.options.api,{show:function(j){var e,g;if(!d.status.rendered){return G.fn.qtip.log.error.call(d,2,G.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"show")}if(d.elements.tooltip.css("display")!=="none"){return d}d.elements.tooltip.stop(true,false);e=d.beforeShow.call(d,j);if(e===false){return d}function f(){if(d.options.position.type!=="static"){d.focus()}d.onShow.call(d,j);if(G.browser.msie){d.elements.tooltip.get(0).style.removeAttribute("filter")}}d.cache.toggle=1;if(d.options.position.type!=="static"){d.updatePosition(j,(d.options.show.effect.length>0))}if(typeof d.options.show.solo=="object"){g=G(d.options.show.solo)}else{if(d.options.show.solo===true){g=G("div.qtip").not(d.elements.tooltip)}}if(g){g.each(function(){if(G(this).qtip("api").status.rendered===true){G(this).qtip("api").hide()}})}if(typeof d.options.show.effect.type=="function"){d.options.show.effect.type.call(d.elements.tooltip,d.options.show.effect.length);d.elements.tooltip.queue(function(){f();G(this).dequeue()})}else{switch(d.options.show.effect.type.toLowerCase()){case"fade":d.elements.tooltip.fadeIn(d.options.show.effect.length,f);break;case"slide":d.elements.tooltip.slideDown(d.options.show.effect.length,function(){f();if(d.options.position.type!=="static"){d.updatePosition(j,true)}});break;case"grow":d.elements.tooltip.show(d.options.show.effect.length,f);break;default:d.elements.tooltip.show(null,f);break}d.elements.tooltip.addClass(d.options.style.classes.active)}return G.fn.qtip.log.error.call(d,1,G.fn.qtip.constants.EVENT_SHOWN,"show")},hide:function(g){var e;if(!d.status.rendered){return G.fn.qtip.log.error.call(d,2,G.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"hide")}else{if(d.elements.tooltip.css("display")==="none"){return d}}clearTimeout(d.timers.show);d.elements.tooltip.stop(true,false);e=d.beforeHide.call(d,g);if(e===false){return d}function f(){d.onHide.call(d,g)}d.cache.toggle=0;if(typeof d.options.hide.effect.type=="function"){d.options.hide.effect.type.call(d.elements.tooltip,d.options.hide.effect.length);d.elements.tooltip.queue(function(){f();G(this).dequeue()})}else{switch(d.options.hide.effect.type.toLowerCase()){case"fade":d.elements.tooltip.fadeOut(d.options.hide.effect.length,f);break;case"slide":d.elements.tooltip.slideUp(d.options.hide.effect.length,f);break;case"grow":d.elements.tooltip.hide(d.options.hide.effect.length,f);break;default:d.elements.tooltip.hide(null,f);break}d.elements.tooltip.removeClass(d.options.style.classes.active)}return G.fn.qtip.log.error.call(d,1,G.fn.qtip.constants.EVENT_HIDDEN,"hide")},updatePosition:function(M,q){var f,O,l,o,N,Q,n,r,g,e,m,j,P,k;if(!d.status.rendered){return G.fn.qtip.log.error.call(d,2,G.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"updatePosition")}else{if(d.options.position.type=="static"){return G.fn.qtip.log.error.call(d,1,G.fn.qtip.constants.CANNOT_POSITION_STATIC,"updatePosition")}}O={position:{left:0,top:0},dimensions:{height:0,width:0},corner:d.options.position.corner.target};l={position:d.getPosition(),dimensions:d.getDimensions(),corner:d.options.position.corner.tooltip};if(d.options.position.target!=="mouse"){if(d.options.position.target.get(0).nodeName.toLowerCase()=="area"){o=d.options.position.target.attr("coords").split(",");for(f=0;f<o.length;f++){o[f]=parseInt(o[f])}N=d.options.position.target.parent("map").attr("name");Q=G('img[usemap="#'+N+'"]:first').offset();O.position={left:Math.floor(Q.left+o[0]),top:Math.floor(Q.top+o[1])};switch(d.options.position.target.attr("shape").toLowerCase()){case"rect":O.dimensions={width:Math.ceil(Math.abs(o[2]-o[0])),height:Math.ceil(Math.abs(o[3]-o[1]))};break;case"circle":O.dimensions={width:o[2]+1,height:o[2]+1};break;case"poly":O.dimensions={width:o[0],height:o[1]};for(f=0;f<o.length;f++){if(f%2==0){if(o[f]>O.dimensions.width){O.dimensions.width=o[f]}if(o[f]<o[0]){O.position.left=Math.floor(Q.left+o[f])}}else{if(o[f]>O.dimensions.height){O.dimensions.height=o[f]}if(o[f]<o[1]){O.position.top=Math.floor(Q.top+o[f])}}}O.dimensions.width=O.dimensions.width-(O.position.left-Q.left);O.dimensions.height=O.dimensions.height-(O.position.top-Q.top);break;default:return G.fn.qtip.log.error.call(d,4,G.fn.qtip.constants.INVALID_AREA_SHAPE,"updatePosition");break}O.dimensions.width-=2;O.dimensions.height-=2}else{if(d.options.position.target.add(document.body).length===1){O.position={left:G(document).scrollLeft(),top:G(document).scrollTop()};O.dimensions={height:G(window).height(),width:G(window).width()}}else{if(typeof d.options.position.target.attr("qtip")!=="undefined"){O.position=d.options.position.target.qtip("api").cache.position}else{O.position=d.options.position.target.offset()}O.dimensions={height:d.options.position.target.outerHeight(),width:d.options.position.target.outerWidth()}}}n=G.extend({},O.position);if(O.corner.search(/right/i)!==-1){n.left+=O.dimensions.width}if(O.corner.search(/bottom/i)!==-1){n.top+=O.dimensions.height}if(O.corner.search(/((top|bottom)Middle)|center/)!==-1){n.left+=(O.dimensions.width/2)}if(O.corner.search(/((left|right)Middle)|center/)!==-1){n.top+=(O.dimensions.height/2)}}else{O.position=n={left:d.cache.mouse.x,top:d.cache.mouse.y};O.dimensions={height:1,width:1}}if(l.corner.search(/right/i)!==-1){n.left-=l.dimensions.width}if(l.corner.search(/bottom/i)!==-1){n.top-=l.dimensions.height}if(l.corner.search(/((top|bottom)Middle)|center/)!==-1){n.left-=(l.dimensions.width/2)}if(l.corner.search(/((left|right)Middle)|center/)!==-1){n.top-=(l.dimensions.height/2)}r=(G.browser.msie)?1:0;g=(G.browser.msie&&parseInt(G.browser.version.charAt(0))===6)?1:0;if(d.options.style.border.radius>0){if(l.corner.search(/Left/)!==-1){n.left-=d.options.style.border.radius}else{if(l.corner.search(/Right/)!==-1){n.left+=d.options.style.border.radius}}if(l.corner.search(/Top/)!==-1){n.top-=d.options.style.border.radius}else{if(l.corner.search(/Bottom/)!==-1){n.top+=d.options.style.border.radius}}}if(r){if(l.corner.search(/top/)!==-1){n.top-=r}else{if(l.corner.search(/bottom/)!==-1){n.top+=r}}if(l.corner.search(/left/)!==-1){n.left-=r}else{if(l.corner.search(/right/)!==-1){n.left+=r}}if(l.corner.search(/leftMiddle|rightMiddle/)!==-1){n.top-=1}}if(d.options.position.adjust.screen===true){n=x.call(d,n,O,l)}if(d.options.position.target==="mouse"&&d.options.position.adjust.mouse===true){if(d.options.position.adjust.screen===true&&d.elements.tip){m=d.elements.tip.attr("rel")}else{m=d.options.position.corner.tooltip}n.left+=(m.search(/right/i)!==-1)?-6:6;n.top+=(m.search(/bottom/i)!==-1)?-6:6}if(!d.elements.bgiframe&&G.browser.msie&&parseInt(G.browser.version.charAt(0))==6){G("select, object").each(function(){j=G(this).offset();j.bottom=j.top+G(this).height();j.right=j.left+G(this).width();if(n.top+l.dimensions.height>=j.top&&n.left+l.dimensions.width>=j.left){C.call(d)}})}n.left+=d.options.position.adjust.x;n.top+=d.options.position.adjust.y;P=d.getPosition();if(n.left!=P.left||n.top!=P.top){k=d.beforePositionUpdate.call(d,M);if(k===false){return d}d.cache.position=n;if(q===true){d.status.animated=true;d.elements.tooltip.animate(n,200,"swing",function(){d.status.animated=false})}else{d.elements.tooltip.css(n)}d.onPositionUpdate.call(d,M);if(typeof M!=="undefined"&&M.type&&M.type!=="mousemove"){G.fn.qtip.log.error.call(d,1,G.fn.qtip.constants.EVENT_POSITION_UPDATED,"updatePosition")}}return d},updateWidth:function(f){var e;if(!d.status.rendered){return G.fn.qtip.log.error.call(d,2,G.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"updateWidth")}else{if(f&&typeof f!=="number"){return G.fn.qtip.log.error.call(d,2,"newWidth must be of type number","updateWidth")}}e=d.elements.contentWrapper.siblings().add(d.elements.tip).add(d.elements.button);if(!f){if(typeof d.options.style.width.value=="number"){f=d.options.style.width.value}else{d.elements.tooltip.css({width:"auto"});e.hide();if(G.browser.msie){d.elements.wrapper.add(d.elements.contentWrapper.children()).css({zoom:"normal"})}f=d.getDimensions().width+1;if(!d.options.style.width.value){if(f>d.options.style.width.max){f=d.options.style.width.max}if(f<d.options.style.width.min){f=d.options.style.width.min}}}}if(f%2!==0){f-=1}d.elements.tooltip.width(f);e.show();if(d.options.style.border.radius){d.elements.tooltip.find(".qtip-betweenCorners").each(function(g){G(this).width(f-(d.options.style.border.radius*2))})}if(G.browser.msie){d.elements.wrapper.add(d.elements.contentWrapper.children()).css({zoom:"1"});d.elements.wrapper.width(f);if(d.elements.bgiframe){d.elements.bgiframe.width(f).height(d.getDimensions.height)}}return G.fn.qtip.log.error.call(d,1,G.fn.qtip.constants.EVENT_WIDTH_UPDATED,"updateWidth")},updateStyle:function(g){var j,f,e,l,k;if(!d.status.rendered){return G.fn.qtip.log.error.call(d,2,G.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"updateStyle")}else{if(typeof g!=="string"||!G.fn.qtip.styles[g]){return G.fn.qtip.log.error.call(d,2,G.fn.qtip.constants.STYLE_NOT_DEFINED,"updateStyle")}}d.options.style=L.call(d,G.fn.qtip.styles[g],d.options.user.style);d.elements.content.css(t(d.options.style));if(d.options.content.title.text!==false){d.elements.title.css(t(d.options.style.title,true))}d.elements.contentWrapper.css({borderColor:d.options.style.border.color});if(d.options.style.tip.corner!==false){if(G("<canvas>").get(0).getContext){j=d.elements.tooltip.find(".qtip-tip canvas:first");e=j.get(0).getContext("2d");e.clearRect(0,0,300,300);l=j.parent("div[rel]:first").attr("rel");k=K(l,d.options.style.tip.size.width,d.options.style.tip.size.height);E.call(d,j,k,d.options.style.tip.color||d.options.style.border.color)}else{if(G.browser.msie){j=d.elements.tooltip.find('.qtip-tip [nodeName="shape"]');j.attr("fillcolor",d.options.style.tip.color||d.options.style.border.color)}}}if(d.options.style.border.radius>0){d.elements.tooltip.find(".qtip-betweenCorners").css({backgroundColor:d.options.style.border.color});if(G("<canvas>").get(0).getContext){f=F(d.options.style.border.radius);d.elements.tooltip.find(".qtip-wrapper canvas").each(function(){e=G(this).get(0).getContext("2d");e.clearRect(0,0,300,300);l=G(this).parent("div[rel]:first").attr("rel");s.call(d,G(this),f[l],d.options.style.border.radius,d.options.style.border.color)})}else{if(G.browser.msie){d.elements.tooltip.find('.qtip-wrapper [nodeName="arc"]').each(function(){G(this).attr("fillcolor",d.options.style.border.color)})}}}return G.fn.qtip.log.error.call(d,1,G.fn.qtip.constants.EVENT_STYLE_UPDATED,"updateStyle")},updateContent:function(f,l){var j,e,g;if(!d.status.rendered){return G.fn.qtip.log.error.call(d,2,G.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"updateContent")}else{if(!f){return G.fn.qtip.log.error.call(d,2,G.fn.qtip.constants.NO_CONTENT_PROVIDED,"updateContent")}}j=d.beforeContentUpdate.call(d,f);if(typeof j=="string"){f=j}else{if(j===false){return}}if(G.browser.msie){d.elements.contentWrapper.children().css({zoom:"normal"})}if(f.jquery&&f.length>0){f.clone(true).appendTo(d.elements.content).show()}else{d.elements.content.html(f)}e=d.elements.content.find("img[complete=false]");if(e.length>0){g=0;e.each(function(m){G('<img src="'+G(this).attr("src")+'" />').load(function(){if(++g==e.length){k()}})})}else{k()}function k(){d.updateWidth();if(l!==false){if(d.options.position.type!=="static"){d.updatePosition(d.elements.tooltip.is(":visible"),true)}if(d.options.style.tip.corner!==false){y.call(d)}}}d.onContentUpdate.call(d);return G.fn.qtip.log.error.call(d,1,G.fn.qtip.constants.EVENT_CONTENT_UPDATED,"loadContent")},loadContent:function(g,j,f){var k;if(!d.status.rendered){return G.fn.qtip.log.error.call(d,2,G.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"loadContent")}k=d.beforeContentLoad.call(d);if(k===false){return d}if(f=="post"){G.post(g,j,e)}else{G.get(g,j,e)}function e(l){d.onContentLoad.call(d);G.fn.qtip.log.error.call(d,1,G.fn.qtip.constants.EVENT_CONTENT_LOADED,"loadContent");d.updateContent(l)}return d},updateTitle:function(e){if(!d.status.rendered){return G.fn.qtip.log.error.call(d,2,G.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"updateTitle")}else{if(!e){return G.fn.qtip.log.error.call(d,2,G.fn.qtip.constants.NO_CONTENT_PROVIDED,"updateTitle")}}returned=d.beforeTitleUpdate.call(d);if(returned===false){return d}if(d.elements.button){d.elements.button=d.elements.button.clone(true)}d.elements.title.html(e);if(d.elements.button){d.elements.title.prepend(d.elements.button)}d.onTitleUpdate.call(d);return G.fn.qtip.log.error.call(d,1,G.fn.qtip.constants.EVENT_TITLE_UPDATED,"updateTitle")},focus:function(f){var k,e,g,j;if(!d.status.rendered){return G.fn.qtip.log.error.call(d,2,G.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"focus")}else{if(d.options.position.type=="static"){return G.fn.qtip.log.error.call(d,1,G.fn.qtip.constants.CANNOT_FOCUS_STATIC,"focus")}}k=parseInt(d.elements.tooltip.css("z-index"));e=6000+G("div.qtip[qtip]").length-1;if(!d.status.focused&&k!==e){j=d.beforeFocus.call(d,f);if(j===false){return d}G("div.qtip[qtip]").not(d.elements.tooltip).each(function(){if(G(this).qtip("api").status.rendered===true){g=parseInt(G(this).css("z-index"));if(typeof g=="number"&&g>-1){G(this).css({zIndex:parseInt(G(this).css("z-index"))-1})}G(this).qtip("api").status.focused=false}});d.elements.tooltip.css({zIndex:e});d.status.focused=true;d.onFocus.call(d,f);G.fn.qtip.log.error.call(d,1,G.fn.qtip.constants.EVENT_FOCUSED,"focus")}return d},disable:function(e){if(!d.status.rendered){return G.fn.qtip.log.error.call(d,2,G.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"disable")}if(e){if(!d.status.disabled){d.status.disabled=true;G.fn.qtip.log.error.call(d,1,G.fn.qtip.constants.EVENT_DISABLED,"disable")}else{G.fn.qtip.log.error.call(d,1,G.fn.qtip.constants.TOOLTIP_ALREADY_DISABLED,"disable")}}else{if(d.status.disabled){d.status.disabled=false;G.fn.qtip.log.error.call(d,1,G.fn.qtip.constants.EVENT_ENABLED,"disable")}else{G.fn.qtip.log.error.call(d,1,G.fn.qtip.constants.TOOLTIP_ALREADY_ENABLED,"disable")}}return d},destroy:function(){var f,e,g;e=d.beforeDestroy.call(d);if(e===false){return d}if(d.status.rendered){d.options.show.when.target.unbind("mousemove.qtip",d.updatePosition);d.options.show.when.target.unbind("mouseout.qtip",d.hide);d.options.show.when.target.unbind(d.options.show.when.event+".qtip");d.options.hide.when.target.unbind(d.options.hide.when.event+".qtip");d.elements.tooltip.unbind(d.options.hide.when.event+".qtip");d.elements.tooltip.unbind("mouseover.qtip",d.focus);d.elements.tooltip.remove()}else{d.options.show.when.target.unbind(d.options.show.when.event+".qtip-create")}if(typeof d.elements.target.data("qtip")=="object"){g=d.elements.target.data("qtip").interfaces;if(typeof g=="object"&&g.length>0){for(f=0;f<g.length-1;f++){if(g[f].id==d.id){g.splice(f,1)}}}}delete G.fn.qtip.interfaces[d.id];if(typeof g=="object"&&g.length>0){d.elements.target.data("qtip").current=g.length-1}else{d.elements.target.removeData("qtip")}d.onDestroy.call(d);G.fn.qtip.log.error.call(d,1,G.fn.qtip.constants.EVENT_DESTROYED,"destroy");return d.elements.target},getPosition:function(){var f,e;if(!d.status.rendered){return G.fn.qtip.log.error.call(d,2,G.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"getPosition")}f=(d.elements.tooltip.css("display")!=="none")?false:true;if(f){d.elements.tooltip.css({visiblity:"hidden"}).show()}e=d.elements.tooltip.offset();if(f){d.elements.tooltip.css({visiblity:"visible"}).hide()}return e},getDimensions:function(){var f,e;if(!d.status.rendered){return G.fn.qtip.log.error.call(d,2,G.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"getDimensions")}f=(!d.elements.tooltip.is(":visible"))?true:false;if(f){d.elements.tooltip.css({visiblity:"hidden"}).show()}e={height:d.elements.tooltip.outerHeight(),width:d.elements.tooltip.outerWidth()};if(f){d.elements.tooltip.css({visiblity:"visible"}).hide()}return e}})}function u(){var f,b,d,e,c,g,a;f=this;f.beforeRender.call(f);f.status.rendered=true;f.elements.tooltip='<div qtip="'+f.id+'" class="qtip '+(f.options.style.classes.tooltip||f.options.style)+'"style="display:none; -moz-border-radius:0; -webkit-border-radius:0; border-radius:0;position:'+f.options.position.type+';">  <div class="qtip-wrapper" style="position:relative; overflow:hidden; text-align:left;">    <div class="qtip-contentWrapper" style="overflow:hidden;">       <div class="qtip-content '+f.options.style.classes.content+'"></div></div></div></div>';f.elements.tooltip=G(f.elements.tooltip);f.elements.tooltip.appendTo(f.options.position.container);f.elements.tooltip.data("qtip",{current:0,interfaces:[f]});f.elements.wrapper=f.elements.tooltip.children("div:first");f.elements.contentWrapper=f.elements.wrapper.children("div:first").css({background:f.options.style.background});f.elements.content=f.elements.contentWrapper.children("div:first").css(t(f.options.style));if(G.browser.msie){f.elements.wrapper.add(f.elements.content).css({zoom:1})}if(f.options.hide.when.event=="unfocus"){f.elements.tooltip.attr("unfocus",true)}if(typeof f.options.style.width.value=="number"){f.updateWidth()}if(G("<canvas>").get(0).getContext||G.browser.msie){if(f.options.style.border.radius>0){A.call(f)}else{f.elements.contentWrapper.css({border:f.options.style.border.width+"px solid "+f.options.style.border.color})}if(f.options.style.tip.corner!==false){H.call(f)}}else{f.elements.contentWrapper.css({border:f.options.style.border.width+"px solid "+f.options.style.border.color});f.options.style.border.radius=0;f.options.style.tip.corner=false;G.fn.qtip.log.error.call(f,2,G.fn.qtip.constants.CANVAS_VML_NOT_SUPPORTED,"render")}if((typeof f.options.content.text=="string"&&f.options.content.text.length>0)||(f.options.content.text.jquery&&f.options.content.text.length>0)){d=f.options.content.text}else{if(typeof f.elements.target.attr("title")=="string"&&f.elements.target.attr("title").length>0){d=f.elements.target.attr("title").replace("\\n","<br />");f.elements.target.attr("title","")}else{if(typeof f.elements.target.attr("alt")=="string"&&f.elements.target.attr("alt").length>0){d=f.elements.target.attr("alt").replace("\\n","<br />");f.elements.target.attr("alt","")}else{d=" ";G.fn.qtip.log.error.call(f,1,G.fn.qtip.constants.NO_VALID_CONTENT,"render")}}}if(f.options.content.title.text!==false){D.call(f)}f.updateContent(d);B.call(f);if(f.options.show.ready===true){f.show()}if(f.options.content.url!==false){e=f.options.content.url;c=f.options.content.data;g=f.options.content.method||"get";f.loadContent(e,c,g)}f.onRender.call(f);G.fn.qtip.log.error.call(f,1,G.fn.qtip.constants.EVENT_RENDERED,"render")}function A(){var n,e,o,c,g,r,m,l,a,f,j,b,d,q,k;n=this;n.elements.wrapper.find(".qtip-borderBottom, .qtip-borderTop").remove();o=n.options.style.border.width;c=n.options.style.border.radius;g=n.options.style.border.color||n.options.style.tip.color;r=F(c);m={};for(e in r){m[e]='<div rel="'+e+'" style="'+((e.search(/Left/)!==-1)?"left":"right")+":0; position:absolute; height:"+c+"px; width:"+c+'px; overflow:hidden; line-height:0.1px; font-size:1px">';if(G("<canvas>").get(0).getContext){m[e]+='<canvas height="'+c+'" width="'+c+'" style="vertical-align: top"></canvas>'}else{if(G.browser.msie){l=c*2+3;m[e]+='<v:arc stroked="false" fillcolor="'+g+'" startangle="'+r[e][0]+'" endangle="'+r[e][1]+'" style="width:'+l+"px; height:"+l+"px; margin-top:"+((e.search(/bottom/)!==-1)?-2:-1)+"px; margin-left:"+((e.search(/Right/)!==-1)?r[e][2]-3.5:-1)+'px; vertical-align:top; display:inline-block; behavior:url(#default#VML)"></v:arc>'}}m[e]+="</div>"}a=n.getDimensions().width-(Math.max(o,c)*2);f='<div class="qtip-betweenCorners" style="height:'+c+"px; width:"+a+"px; overflow:hidden; background-color:"+g+'; line-height:0.1px; font-size:1px;">';j='<div class="qtip-borderTop" dir="ltr" style="height:'+c+"px; margin-left:"+c+'px; line-height:0.1px; font-size:1px; padding:0;">'+m.topLeft+m.topRight+f;n.elements.wrapper.prepend(j);b='<div class="qtip-borderBottom" dir="ltr" style="height:'+c+"px; margin-left:"+c+'px; line-height:0.1px; font-size:1px; padding:0;">'+m.bottomLeft+m.bottomRight+f;n.elements.wrapper.append(b);if(G("<canvas>").get(0).getContext){n.elements.wrapper.find("canvas").each(function(){d=r[G(this).parent("[rel]:first").attr("rel")];s.call(n,G(this),d,c,g)})}else{if(G.browser.msie){n.elements.tooltip.append('<v:image style="behavior:url(#default#VML);"></v:image>')}}q=Math.max(c,(c+(o-c)));k=Math.max(o-c,0);n.elements.contentWrapper.css({border:"0px solid "+g,borderWidth:k+"px "+q+"px"})}function s(c,a,e,d){var b=c.get(0).getContext("2d");b.fillStyle=d;b.beginPath();b.arc(a[0],a[1],e,0,Math.PI*2,false);b.fill()}function H(c){var e,f,a,d,b;e=this;if(e.elements.tip!==null){e.elements.tip.remove()}f=e.options.style.tip.color||e.options.style.border.color;if(e.options.style.tip.corner===false){return}else{if(!c){c=e.options.style.tip.corner}}a=K(c,e.options.style.tip.size.width,e.options.style.tip.size.height);e.elements.tip='<div class="'+e.options.style.classes.tip+'" dir="ltr" rel="'+c+'" style="position:absolute; height:'+e.options.style.tip.size.height+"px; width:"+e.options.style.tip.size.width+'px; margin:0 auto; line-height:0.1px; font-size:1px;">';if(G("<canvas>").get(0).getContext){e.elements.tip+='<canvas height="'+e.options.style.tip.size.height+'" width="'+e.options.style.tip.size.width+'"></canvas>'}else{if(G.browser.msie){d=e.options.style.tip.size.width+","+e.options.style.tip.size.height;b="m"+a[0][0]+","+a[0][1];b+=" l"+a[1][0]+","+a[1][1];b+=" "+a[2][0]+","+a[2][1];b+=" xe";e.elements.tip+='<v:shape fillcolor="'+f+'" stroked="false" filled="true" path="'+b+'" coordsize="'+d+'" style="width:'+e.options.style.tip.size.width+"px; height:"+e.options.style.tip.size.height+"px; line-height:0.1px; display:inline-block; behavior:url(#default#VML); vertical-align:"+((c.search(/top/)!==-1)?"bottom":"top")+'"></v:shape>';e.elements.tip+='<v:image style="behavior:url(#default#VML);"></v:image>';e.elements.contentWrapper.css("position","relative")}}e.elements.tooltip.prepend(e.elements.tip+"</div>");e.elements.tip=e.elements.tooltip.find("."+e.options.style.classes.tip).eq(0);if(G("<canvas>").get(0).getContext){E.call(e,e.elements.tip.find("canvas:first"),a,f)}if(c.search(/top/)!==-1&&G.browser.msie&&parseInt(G.browser.version.charAt(0))===6){e.elements.tip.css({marginTop:-4})}y.call(e,c)}function E(c,a,d){var b=c.get(0).getContext("2d");b.fillStyle=d;b.beginPath();b.moveTo(a[0][0],a[0][1]);b.lineTo(a[1][0],a[1][1]);b.lineTo(a[2][0],a[2][1]);b.fill()}function y(d){var e,b,f,a,c;e=this;if(e.options.style.tip.corner===false||!e.elements.tip){return}if(!d){d=e.elements.tip.attr("rel")}b=positionAdjust=(G.browser.msie)?1:0;e.elements.tip.css(d.match(/left|right|top|bottom/)[0],0);if(d.search(/top|bottom/)!==-1){if(G.browser.msie){if(parseInt(G.browser.version.charAt(0))===6){positionAdjust=(d.search(/top/)!==-1)?-3:1}else{positionAdjust=(d.search(/top/)!==-1)?1:2}}if(d.search(/Middle/)!==-1){e.elements.tip.css({left:"50%",marginLeft:-(e.options.style.tip.size.width/2)})}else{if(d.search(/Left/)!==-1){e.elements.tip.css({left:e.options.style.border.radius-b})}else{if(d.search(/Right/)!==-1){e.elements.tip.css({right:e.options.style.border.radius+b})}}}if(d.search(/top/)!==-1){e.elements.tip.css({top:-positionAdjust})}else{e.elements.tip.css({bottom:positionAdjust})}}else{if(d.search(/left|right/)!==-1){if(G.browser.msie){positionAdjust=(parseInt(G.browser.version.charAt(0))===6)?1:((d.search(/left/)!==-1)?1:2)}if(d.search(/Middle/)!==-1){e.elements.tip.css({top:"50%",marginTop:-(e.options.style.tip.size.height/2)})}else{if(d.search(/Top/)!==-1){e.elements.tip.css({top:e.options.style.border.radius-b})}else{if(d.search(/Bottom/)!==-1){e.elements.tip.css({bottom:e.options.style.border.radius+b})}}}if(d.search(/left/)!==-1){e.elements.tip.css({left:-positionAdjust})}else{e.elements.tip.css({right:positionAdjust})}}}f="padding-"+d.match(/left|right|top|bottom/)[0];a=e.options.style.tip.size[(f.search(/left|right/)!==-1)?"width":"height"];e.elements.tooltip.css("padding",0);e.elements.tooltip.css(f,a);if(G.browser.msie&&parseInt(G.browser.version.charAt(0))==6){c=parseInt(e.elements.tip.css("margin-top"))||0;c+=parseInt(e.elements.content.css("margin-top"))||0;e.elements.tip.css({marginTop:c})}}function D(){var a=this;if(a.elements.title!==null){a.elements.title.remove()}a.elements.title=G('<div class="'+a.options.style.classes.title+'">').css(t(a.options.style.title,true)).css({zoom:(G.browser.msie)?1:0}).prependTo(a.elements.contentWrapper);if(a.options.content.title.text){a.updateTitle.call(a,a.options.content.title.text)}if(a.options.content.title.button!==false&&typeof a.options.content.title.button=="string"){a.elements.button=G('<a class="'+a.options.style.classes.button+'" style="float:right; position: relative"></a>').css(t(a.options.style.button,true)).html(a.options.content.title.button).prependTo(a.elements.title).click(function(b){if(!a.status.disabled){a.hide(b)}})}}function B(){var e,c,d,f;e=this;c=e.options.show.when.target;d=e.options.hide.when.target;if(e.options.hide.fixed){d=d.add(e.elements.tooltip)}if(e.options.hide.when.event=="inactive"){f=["click","dblclick","mousedown","mouseup","mousemove","mouseout","mouseenter","mouseleave","mouseover"];function g(j){if(e.status.disabled===true){return}clearTimeout(e.timers.inactive);e.timers.inactive=setTimeout(function(){G(f).each(function(){d.unbind(this+".qtip-inactive");e.elements.content.unbind(this+".qtip-inactive")});e.hide(j)},e.options.hide.delay)}}else{if(e.options.hide.fixed===true){e.elements.tooltip.bind("mouseover.qtip",function(){if(e.status.disabled===true){return}clearTimeout(e.timers.hide)})}}function a(j){if(e.status.disabled===true){return}if(e.options.hide.when.event=="inactive"){G(f).each(function(){d.bind(this+".qtip-inactive",g);e.elements.content.bind(this+".qtip-inactive",g)});g()}clearTimeout(e.timers.show);clearTimeout(e.timers.hide);e.timers.show=setTimeout(function(){e.show(j)},e.options.show.delay)}function b(j){if(e.status.disabled===true){return}if(e.options.hide.fixed===true&&e.options.hide.when.event.search(/mouse(out|leave)/i)!==-1&&G(j.relatedTarget).parents("div.qtip[qtip]").length>0){j.stopPropagation();j.preventDefault();clearTimeout(e.timers.hide);return false}clearTimeout(e.timers.show);clearTimeout(e.timers.hide);e.elements.tooltip.stop(true,true);e.timers.hide=setTimeout(function(){e.hide(j)},e.options.hide.delay)}if((e.options.show.when.target.add(e.options.hide.when.target).length===1&&e.options.show.when.event==e.options.hide.when.event&&e.options.hide.when.event!=="inactive")||e.options.hide.when.event=="unfocus"){e.cache.toggle=0;c.bind(e.options.show.when.event+".qtip",function(j){if(e.cache.toggle==0){a(j)}else{b(j)}})}else{c.bind(e.options.show.when.event+".qtip",a);if(e.options.hide.when.event!=="inactive"){d.bind(e.options.hide.when.event+".qtip",b)}}if(e.options.position.type.search(/(fixed|absolute)/)!==-1){e.elements.tooltip.bind("mouseover.qtip",e.focus)}if(e.options.position.target==="mouse"&&e.options.position.type!=="static"){c.bind("mousemove.qtip",function(j){e.cache.mouse={x:j.pageX,y:j.pageY};if(e.status.disabled===false&&e.options.position.adjust.mouse===true&&e.options.position.type!=="static"&&e.elements.tooltip.css("display")!=="none"){e.updatePosition(j)}})}}function x(g,f,a){var b,k,d,c,j,e;b=this;if(a.corner=="center"){return f.position}k=G.extend({},g);c={x:false,y:false};j={left:(k.left<G.fn.qtip.cache.screen.scroll.left),right:(k.left+a.dimensions.width+2>=G.fn.qtip.cache.screen.width+G.fn.qtip.cache.screen.scroll.left),top:(k.top<G.fn.qtip.cache.screen.scroll.top),bottom:(k.top+a.dimensions.height+2>=G.fn.qtip.cache.screen.height+G.fn.qtip.cache.screen.scroll.top)};d={left:(j.left&&(a.corner.search(/right/i)!=-1||(a.corner.search(/right/i)==-1&&!j.right))),right:(j.right&&(a.corner.search(/left/i)!=-1||(a.corner.search(/left/i)==-1&&!j.left))),top:(j.top&&a.corner.search(/top/i)==-1),bottom:(j.bottom&&a.corner.search(/bottom/i)==-1)};if(d.left){if(b.options.position.target!=="mouse"){k.left=f.position.left+f.dimensions.width}else{k.left=b.cache.mouse.x}c.x="Left"}else{if(d.right){if(b.options.position.target!=="mouse"){k.left=f.position.left-a.dimensions.width}else{k.left=b.cache.mouse.x-a.dimensions.width}c.x="Right"}}if(d.top){if(b.options.position.target!=="mouse"){k.top=f.position.top+f.dimensions.height}else{k.top=b.cache.mouse.y}c.y="top"}else{if(d.bottom){if(b.options.position.target!=="mouse"){k.top=f.position.top-a.dimensions.height}else{k.top=b.cache.mouse.y-a.dimensions.height}c.y="bottom"}}if(k.left<0){k.left=g.left;c.x=false}if(k.top<0){k.top=g.top;c.y=false}if(b.options.style.tip.corner!==false){k.corner=new String(a.corner);if(c.x!==false){k.corner=k.corner.replace(/Left|Right|Middle/,c.x)}if(c.y!==false){k.corner=k.corner.replace(/top|bottom/,c.y)}if(k.corner!==b.elements.tip.attr("rel")){H.call(b,k.corner)}}return k}function t(b,c){var a,d;a=G.extend(true,{},b);for(d in a){if(c===true&&d.search(/(tip|classes)/i)!==-1){delete a[d]}else{if(!c&&d.search(/(width|border|tip|title|classes|user)/i)!==-1){delete a[d]}}}return a}function J(a){if(typeof a.tip!=="object"){a.tip={corner:a.tip}}if(typeof a.tip.size!=="object"){a.tip.size={width:a.tip.size,height:a.tip.size}}if(typeof a.border!=="object"){a.border={width:a.border}}if(typeof a.width!=="object"){a.width={value:a.width}}if(typeof a.width.max=="string"){a.width.max=parseInt(a.width.max.replace(/([0-9]+)/i,"$1"))}if(typeof a.width.min=="string"){a.width.min=parseInt(a.width.min.replace(/([0-9]+)/i,"$1"))}if(typeof a.tip.size.x=="number"){a.tip.size.width=a.tip.size.x;delete a.tip.size.x}if(typeof a.tip.size.y=="number"){a.tip.size.height=a.tip.size.y;delete a.tip.size.y}return a}function L(){var f,e,d,a,c,b;f=this;d=[true,{}];for(e=0;e<arguments.length;e++){d.push(arguments[e])}a=[G.extend.apply(G,d)];while(typeof a[0].name=="string"){a.unshift(J(G.fn.qtip.styles[a[0].name]))}a.unshift(true,{classes:{tooltip:"qtip-"+(arguments[0].name||"defaults")}},G.fn.qtip.styles.defaults);c=G.extend.apply(G,a);b=(G.browser.msie)?1:0;c.tip.size.width+=b;c.tip.size.height+=b;if(c.tip.size.width%2>0){c.tip.size.width+=1}if(c.tip.size.height%2>0){c.tip.size.height+=1}if(c.tip.corner===true){c.tip.corner=(f.options.position.corner.tooltip==="center")?false:f.options.position.corner.tooltip}return c}function K(a,b,c){var d={bottomRight:[[0,0],[b,c],[b,0]],bottomLeft:[[0,0],[b,0],[0,c]],topRight:[[0,c],[b,0],[b,c]],topLeft:[[0,0],[0,c],[b,c]],topMiddle:[[0,c],[b/2,0],[b,c]],bottomMiddle:[[0,0],[b,0],[b/2,c]],rightMiddle:[[0,0],[b,c/2],[0,c]],leftMiddle:[[b,0],[b,c],[0,c/2]]};d.leftTop=d.bottomRight;d.rightTop=d.bottomLeft;d.leftBottom=d.topRight;d.rightBottom=d.topLeft;return d[a]}function F(b){var a;if(G("<canvas>").get(0).getContext){a={topLeft:[b,b],topRight:[0,b],bottomLeft:[b,0],bottomRight:[0,0]}}else{if(G.browser.msie){a={topLeft:[-90,90,0],topRight:[-90,90,-b],bottomLeft:[90,270,0],bottomRight:[90,270,-b]}}}return a}function C(){var c,b,a;c=this;a=c.getDimensions();b='<iframe class="qtip-bgiframe" frameborder="0" tabindex="-1" src="javascript:false" style="display:block; position:absolute; z-index:-1; filter:alpha(opacity=\'0\'); border: 1px solid red; height:'+a.height+"px; width:"+a.width+'px" />';c.elements.bgiframe=c.elements.wrapper.prepend(b).children(".qtip-bgiframe:first")}G(document).ready(function(){G.fn.qtip.cache={screen:{scroll:{left:G(window).scrollLeft(),top:G(window).scrollTop()},width:G(window).width(),height:G(window).height()}};var a;G(window).bind("resize scroll",function(b){clearTimeout(a);a=setTimeout(function(){if(b.type==="scroll"){G.fn.qtip.cache.screen.scroll={left:G(window).scrollLeft(),top:G(window).scrollTop()}}else{G.fn.qtip.cache.screen.width=G(window).width();G.fn.qtip.cache.screen.height=G(window).height()}for(i=0;i<G.fn.qtip.interfaces.length;i++){var c=G.fn.qtip.interfaces[i];if(c.status.rendered===true&&(c.options.position.type!=="static"||c.options.position.adjust.scroll&&b.type==="scroll"||c.options.position.adjust.resize&&b.type==="resize")){c.updatePosition(b,true)}}},100)});G(document).bind("mousedown.qtip",function(b){if(G(b.target).parents("div.qtip").length===0){G(".qtip[unfocus]").each(function(){var c=G(this).qtip("api");if(G(this).is(":visible")&&!c.status.disabled&&G(b.target).add(c.elements.target).length>1){c.hide(b)}})}})});G.fn.qtip.interfaces=[];G.fn.qtip.log={error:function(){return this}};G.fn.qtip.constants={};G.fn.qtip.defaults={content:{prerender:false,text:false,url:false,data:null,title:{text:false,button:false}},position:{target:false,corner:{target:"bottomRight",tooltip:"topLeft"},adjust:{x:0,y:0,mouse:true,screen:false,scroll:true,resize:true},type:"absolute",container:false},show:{when:{target:false,event:"mouseover"},effect:{type:"fade",length:100},delay:140,solo:false,ready:false},hide:{when:{target:false,event:"mouseout"},effect:{type:"fade",length:100},delay:0,fixed:false},api:{beforeRender:function(){},onRender:function(){},beforePositionUpdate:function(){},onPositionUpdate:function(){},beforeShow:function(){},onShow:function(){},beforeHide:function(){},onHide:function(){},beforeContentUpdate:function(){},onContentUpdate:function(){},beforeContentLoad:function(){},onContentLoad:function(){},beforeTitleUpdate:function(){},onTitleUpdate:function(){},beforeDestroy:function(){},onDestroy:function(){},beforeFocus:function(){},onFocus:function(){}}};G.fn.qtip.styles={defaults:{background:"white",color:"#111",overflow:"hidden",textAlign:"left",width:{min:0,max:250},padding:"5px 9px",border:{width:1,radius:0,color:"#d3d3d3"},tip:{corner:false,color:false,size:{width:13,height:13},opacity:1},title:{background:"#e1e1e1",fontWeight:"bold",padding:"7px 12px"},button:{cursor:"pointer"},classes:{target:"",tip:"qtip-tip",title:"qtip-title",button:"qtip-button",content:"qtip-content",active:"qtip-active"}},cream:{border:{width:3,radius:0,color:"#F9E98E"},title:{background:"#F0DE7D",color:"#A27D35"},background:"#FBF7AA",color:"#A27D35",classes:{tooltip:"qtip-cream"}},light:{border:{width:3,radius:0,color:"#E2E2E2"},title:{background:"#f1f1f1",color:"#454545"},background:"white",color:"#454545",classes:{tooltip:"qtip-light"}},dark:{border:{width:3,radius:0,color:"#303030"},title:{background:"#404040",color:"#f3f3f3"},background:"#505050",color:"#f3f3f3",classes:{tooltip:"qtip-dark"}},red:{border:{width:3,radius:0,color:"#CE6F6F"},title:{background:"#f28279",color:"#9C2F2F"},background:"#F79992",color:"#9C2F2F",classes:{tooltip:"qtip-red"}},green:{border:{width:3,radius:0,color:"#A9DB66"},title:{background:"#b9db8c",color:"#58792E"},background:"#CDE6AC",color:"#58792E",classes:{tooltip:"qtip-green"}},blue:{border:{width:3,radius:0,color:"#ADD9ED"},title:{background:"#D0E9F5",color:"#5E99BD"},background:"#E5F6FE",color:"#4D9FBF",classes:{tooltip:"qtip-blue"}}}})(jQuery);(function(a){a.extend(a.fn,{validate:function(b){if(!this.length){b&&b.debug&&window.console&&console.warn("nothing selected, can't validate, returning nothing");return}var c=a.data(this[0],"validator");if(c){return c}c=new a.validator(b,this[0]);a.data(this[0],"validator",c);if(c.settings.onsubmit){this.find("input, button").filter(".cancel").click(function(){c.cancelSubmit=true});if(c.settings.submitHandler){this.find("input, button").filter(":submit").click(function(){c.submitButton=this})}this.submit(function(d){if(c.settings.debug){d.preventDefault()}function e(){if(c.settings.submitHandler){if(c.submitButton){var f=a("<input type='hidden'/>").attr("name",c.submitButton.name).val(c.submitButton.value).appendTo(c.currentForm)}c.settings.submitHandler.call(c,c.currentForm);if(c.submitButton){f.remove()}return false}return true}if(c.cancelSubmit){c.cancelSubmit=false;return e()}if(c.form()){if(c.pendingRequest){c.formSubmitted=true;return false}return e()}else{c.focusInvalid();return false}})}return c},valid:function(){if(a(this[0]).is("form")){return this.validate().form()}else{var c=true;var b=a(this[0].form).validate();this.each(function(){c&=b.element(this)});return c}},removeAttrs:function(d){var b={},c=this;a.each(d.split(/\s/),function(e,f){b[f]=c.attr(f);c.removeAttr(f)});return b},rules:function(e,b){var g=this[0];if(e){var d=a.data(g.form,"validator").settings;var k=d.rules;var l=a.validator.staticRules(g);switch(e){case"add":a.extend(l,a.validator.normalizeRule(b));k[g.name]=l;if(b.messages){d.messages[g.name]=a.extend(d.messages[g.name],b.messages)}break;case"remove":if(!b){delete k[g.name];return l}var j={};a.each(b.split(/\s/),function(m,n){j[n]=l[n];delete l[n]});return j}}var f=a.validator.normalizeRules(a.extend({},a.validator.metadataRules(g),a.validator.classRules(g),a.validator.attributeRules(g),a.validator.staticRules(g)),g);if(f.required){var c=f.required;delete f.required;f=a.extend({required:c},f)}return f}});a.extend(a.expr[":"],{blank:function(b){return !a.trim(""+b.value)},filled:function(b){return !!a.trim(""+b.value)},unchecked:function(b){return !b.checked}});a.validator=function(b,c){this.settings=a.extend({},a.validator.defaults,b);this.currentForm=c;this.init()};a.validator.format=function(b,c){if(arguments.length==1){return function(){var d=a.makeArray(arguments);d.unshift(b);return a.validator.format.apply(this,d)}}if(arguments.length>2&&c.constructor!=Array){c=a.makeArray(arguments).slice(1)}if(c.constructor!=Array){c=[c]}a.each(c,function(d,e){b=b.replace(new RegExp("\\{"+d+"\\}","g"),e)});return b};a.extend(a.validator,{defaults:{messages:{},groups:{},rules:{},errorClass:"error",validClass:"valid",errorElement:"label",focusInvalid:true,errorContainer:a([]),errorLabelContainer:a([]),onsubmit:true,ignore:[],ignoreTitle:false,onfocusin:function(b){this.lastActive=b;if(this.settings.focusCleanup&&!this.blockFocusCleanup){this.settings.unhighlight&&this.settings.unhighlight.call(this,b,this.settings.errorClass,this.settings.validClass);this.errorsFor(b).hide()}},onfocusout:function(b){if(!this.checkable(b)&&(b.name in this.submitted||!this.optional(b))){this.element(b)}},onkeyup:function(b){if(b.name in this.submitted||b==this.lastElement){this.element(b)}},onclick:function(b){if(b.name in this.submitted){this.element(b)}else{if(b.parentNode.name in this.submitted){this.element(b.parentNode)}}},highlight:function(d,b,c){a(d).addClass(b).removeClass(c)},unhighlight:function(d,b,c){a(d).removeClass(b).addClass(c)}},setDefaults:function(b){a.extend(a.validator.defaults,b)},messages:{required:"This field is required.",remote:"Please fix this field.",email:"Please enter a valid email address.",url:"Please enter a valid URL.",date:"Please enter a valid date.",dateISO:"Please enter a valid date (ISO).",number:"Please enter a valid number.",digits:"Please enter only digits.",creditcard:"Please enter a valid credit card number.",equalTo:"Please enter the same value again.",accept:"Please enter a value with a valid extension.",maxlength:a.validator.format("Please enter no more than {0} characters."),minlength:a.validator.format("Please enter at least {0} characters."),rangelength:a.validator.format("Please enter a value between {0} and {1} characters long."),range:a.validator.format("Please enter a value between {0} and {1}."),max:a.validator.format("Please enter a value less than or equal to {0}."),min:a.validator.format("Please enter a value greater than or equal to {0}.")},autoCreateRanges:false,prototype:{init:function(){this.labelContainer=a(this.settings.errorLabelContainer);this.errorContext=this.labelContainer.length&&this.labelContainer||a(this.currentForm);this.containers=a(this.settings.errorContainer).add(this.settings.errorLabelContainer);this.submitted={};this.valueCache={};this.pendingRequest=0;this.pending={};this.invalid={};this.reset();var b=(this.groups={});a.each(this.settings.groups,function(e,f){a.each(f.split(/\s/),function(j,g){b[g]=e})});var d=this.settings.rules;a.each(d,function(e,f){d[e]=a.validator.normalizeRule(f)});function c(f){var e=a.data(this[0].form,"validator");e.settings["on"+f.type]&&e.settings["on"+f.type].call(e,this[0])}a(this.currentForm).delegate("focusin focusout keyup",":text, :password, :file, select, textarea",c).delegate("click",":radio, :checkbox, select, option",c);if(this.settings.invalidHandler){a(this.currentForm).bind("invalid-form.validate",this.settings.invalidHandler)}},form:function(){this.checkForm();a.extend(this.submitted,this.errorMap);this.invalid=a.extend({},this.errorMap);if(!this.valid()){a(this.currentForm).triggerHandler("invalid-form",[this])}this.showErrors();return this.valid()},checkForm:function(){this.prepareForm();for(var b=0,c=(this.currentElements=this.elements());c[b];b++){this.check(c[b])}return this.valid()},element:function(c){c=this.clean(c);this.lastElement=c;this.prepareElement(c);this.currentElements=a(c);var b=this.check(c);if(b){delete this.invalid[c.name]}else{this.invalid[c.name]=true}if(!this.numberOfInvalids()){this.toHide=this.toHide.add(this.containers)}this.showErrors();return b},showErrors:function(c){if(c){a.extend(this.errorMap,c);this.errorList=[];for(var b in c){this.errorList.push({message:c[b],element:this.findByName(b)[0]})}this.successList=a.grep(this.successList,function(d){return !(d.name in c)})}this.settings.showErrors?this.settings.showErrors.call(this,this.errorMap,this.errorList):this.defaultShowErrors()},resetForm:function(){if(a.fn.resetForm){a(this.currentForm).resetForm()}this.submitted={};this.prepareForm();this.hideErrors();this.elements().removeClass(this.settings.errorClass)},numberOfInvalids:function(){return this.objectLength(this.invalid)},objectLength:function(d){var c=0;for(var b in d){c++}return c},hideErrors:function(){this.addWrapper(this.toHide).hide()},valid:function(){return this.size()==0},size:function(){return this.errorList.length},focusInvalid:function(){if(this.settings.focusInvalid){try{a(this.findLastActive()||this.errorList.length&&this.errorList[0].element||[]).filter(":visible").focus()}catch(b){}}},findLastActive:function(){var b=this.lastActive;return b&&a.grep(this.errorList,function(c){return c.element.name==b.name}).length==1&&b},elements:function(){var c=this,b={};return a([]).add(this.currentForm.elements).filter(":input").not(":submit, :reset, :image, [disabled]").not(this.settings.ignore).filter(function(){!this.name&&c.settings.debug&&window.console&&console.error("%o has no name assigned",this);if(this.name in b||!c.objectLength(a(this).rules())){return false}b[this.name]=true;return true})},clean:function(b){return a(b)[0]},errors:function(){return a(this.settings.errorElement+"."+this.settings.errorClass,this.errorContext)},reset:function(){this.successList=[];this.errorList=[];this.errorMap={};this.toShow=a([]);this.toHide=a([]);this.currentElements=a([])},prepareForm:function(){this.reset();this.toHide=this.errors().add(this.containers)},prepareElement:function(b){this.reset();this.toHide=this.errorsFor(b)},check:function(c){c=this.clean(c);if(this.checkable(c)){c=this.findByName(c.name)[0]}var j=a(c).rules();var d=false;for(method in j){var g={method:method,parameters:j[method]};try{var b=a.validator.methods[method].call(this,c.value.replace(/\r/g,""),c,g.parameters);if(b=="dependency-mismatch"){d=true;continue}d=false;if(b=="pending"){this.toHide=this.toHide.not(this.errorsFor(c));return}if(!b){this.formatAndAdd(c,g);return false}}catch(f){this.settings.debug&&window.console&&console.log("exception occured when checking element "+c.id+", check the '"+g.method+"' method",f);throw f}}if(d){return}if(this.objectLength(j)){this.successList.push(c)}return true},customMetaMessage:function(b,d){if(!a.metadata){return}var c=this.settings.meta?a(b).metadata()[this.settings.meta]:a(b).metadata();return c&&c.messages&&c.messages[d]},customMessage:function(c,d){var b=this.settings.messages[c];return b&&(b.constructor==String?b:b[d])},findDefined:function(){for(var b=0;b<arguments.length;b++){if(arguments[b]!==undefined){return arguments[b]}}return undefined},defaultMessage:function(b,c){return this.findDefined(this.customMessage(b.name,c),this.customMetaMessage(b,c),!this.settings.ignoreTitle&&b.title||undefined,a.validator.messages[c],"<strong>Warning: No message defined for "+b.name+"</strong>")},formatAndAdd:function(c,e){var d=this.defaultMessage(c,e.method),b=/\$?\{(\d+)\}/g;if(typeof d=="function"){d=d.call(this,e.parameters,c)}else{if(b.test(d)){d=jQuery.format(d.replace(b,"{$1}"),e.parameters)}}this.errorList.push({message:d,element:c});this.errorMap[c.name]=d;this.submitted[c.name]=d},addWrapper:function(b){if(this.settings.wrapper){b=b.add(b.parent(this.settings.wrapper))}return b},defaultShowErrors:function(){for(var c=0;this.errorList[c];c++){var b=this.errorList[c];this.settings.highlight&&this.settings.highlight.call(this,b.element,this.settings.errorClass,this.settings.validClass);this.showLabel(b.element,b.message)}if(this.errorList.length){this.toShow=this.toShow.add(this.containers)}if(this.settings.success){for(var c=0;this.successList[c];c++){this.showLabel(this.successList[c])}}if(this.settings.unhighlight){for(var c=0,d=this.validElements();d[c];c++){this.settings.unhighlight.call(this,d[c],this.settings.errorClass,this.settings.validClass)}}this.toHide=this.toHide.not(this.toShow);this.hideErrors();this.addWrapper(this.toShow).show()},validElements:function(){return this.currentElements.not(this.invalidElements())},invalidElements:function(){return a(this.errorList).map(function(){return this.element})},showLabel:function(c,d){var b=this.errorsFor(c);if(b.length){b.removeClass().addClass(this.settings.errorClass);b.attr("generated")&&b.html(d)}else{b=a("<"+this.settings.errorElement+"/>").attr({"for":this.idOrName(c),generated:true}).addClass(this.settings.errorClass).html(d||"");if(this.settings.wrapper){b=b.hide().show().wrap("<"+this.settings.wrapper+"/>").parent()}if(!this.labelContainer.append(b).length){this.settings.errorPlacement?this.settings.errorPlacement(b,a(c)):b.insertAfter(c)}}if(!d&&this.settings.success){b.text("");typeof this.settings.success=="string"?b.addClass(this.settings.success):this.settings.success(b)}this.toShow=this.toShow.add(b)},errorsFor:function(c){var b=this.idOrName(c);return this.errors().filter(function(){return a(this).attr("for")==b})},idOrName:function(b){return this.groups[b.name]||(this.checkable(b)?b.name:b.id||b.name)},checkable:function(b){return/radio|checkbox/i.test(b.type)},findByName:function(b){var c=this.currentForm;return a(document.getElementsByName(b)).map(function(d,e){return e.form==c&&e.name==b&&e||null})},getLength:function(c,b){switch(b.nodeName.toLowerCase()){case"select":return a("option:selected",b).length;case"input":if(this.checkable(b)){return this.findByName(b.name).filter(":checked").length}}return c.length},depend:function(c,b){return this.dependTypes[typeof c]?this.dependTypes[typeof c](c,b):true},dependTypes:{"boolean":function(c,b){return c},string:function(c,b){return !!a(c,b.form).length},"function":function(c,b){return c(b)}},optional:function(b){return !a.validator.methods.required.call(this,a.trim(b.value),b)&&"dependency-mismatch"},startRequest:function(b){if(!this.pending[b.name]){this.pendingRequest++;this.pending[b.name]=true}},stopRequest:function(b,c){this.pendingRequest--;if(this.pendingRequest<0){this.pendingRequest=0}delete this.pending[b.name];if(c&&this.pendingRequest==0&&this.formSubmitted&&this.form()){a(this.currentForm).submit();this.formSubmitted=false}else{if(!c&&this.pendingRequest==0&&this.formSubmitted){a(this.currentForm).triggerHandler("invalid-form",[this]);this.formSubmitted=false}}},previousValue:function(b){return a.data(b,"previousValue")||a.data(b,"previousValue",{old:null,valid:true,message:this.defaultMessage(b,"remote")})}},classRuleSettings:{required:{required:true},email:{email:true},url:{url:true},date:{date:true},dateISO:{dateISO:true},dateDE:{dateDE:true},number:{number:true},numberDE:{numberDE:true},digits:{digits:true},creditcard:{creditcard:true}},addClassRules:function(b,c){b.constructor==String?this.classRuleSettings[b]=c:a.extend(this.classRuleSettings,b)},classRules:function(c){var d={};var b=a(c).attr("class");b&&a.each(b.split(" "),function(){if(this in a.validator.classRuleSettings){a.extend(d,a.validator.classRuleSettings[this])}});return d},attributeRules:function(c){var e={};var b=a(c);for(method in a.validator.methods){var d=b.attr(method);if(d){e[method]=d}}if(e.maxlength&&/-1|2147483647|524288/.test(e.maxlength)){delete e.maxlength}return e},metadataRules:function(b){if(!a.metadata){return{}}var c=a.data(b.form,"validator").settings.meta;return c?a(b).metadata()[c]:a(b).metadata()},staticRules:function(c){var d={};var b=a.data(c.form,"validator");if(b.settings.rules){d=a.validator.normalizeRule(b.settings.rules[c.name])||{}}return d},normalizeRules:function(c,b){a.each(c,function(f,e){if(e===false){delete c[f];return}if(e.param||e.depends){var d=true;switch(typeof e.depends){case"string":d=!!a(e.depends,b.form).length;break;case"function":d=e.depends.call(b,b);break}if(d){c[f]=e.param!==undefined?e.param:true}else{delete c[f]}}});a.each(c,function(d,e){c[d]=a.isFunction(e)?e(b):e});a.each(["minlength","maxlength","min","max"],function(){if(c[this]){c[this]=Number(c[this])}});a.each(["rangelength","range"],function(){if(c[this]){c[this]=[Number(c[this][0]),Number(c[this][1])]}});if(a.validator.autoCreateRanges){if(c.min&&c.max){c.range=[c.min,c.max];delete c.min;delete c.max}if(c.minlength&&c.maxlength){c.rangelength=[c.minlength,c.maxlength];delete c.minlength;delete c.maxlength}}if(c.messages){delete c.messages}return c},normalizeRule:function(c){if(typeof c=="string"){var b={};a.each(c.split(/\s/),function(){b[this]=true});c=b}return c},addMethod:function(b,d,c){a.validator.methods[b]=d;a.validator.messages[b]=c!=undefined?c:a.validator.messages[b];if(d.length<3){a.validator.addClassRules(b,a.validator.normalizeRule(b))}},methods:{required:function(c,b,e){if(!this.depend(e,b)){return"dependency-mismatch"}switch(b.nodeName.toLowerCase()){case"select":var d=a(b).val();return d&&d.length>0;case"input":if(this.checkable(b)){return this.getLength(c,b)>0}default:return a.trim(c).length>0}},remote:function(f,c,g){if(this.optional(c)){return"dependency-mismatch"}var d=this.previousValue(c);if(!this.settings.messages[c.name]){this.settings.messages[c.name]={}}d.originalMessage=this.settings.messages[c.name].remote;this.settings.messages[c.name].remote=d.message;g=typeof g=="string"&&{url:g}||g;if(d.old!==f){d.old=f;var b=this;this.startRequest(c);var e={};e[c.name]=f;a.ajax(a.extend(true,{url:g,mode:"abort",port:"validate"+c.name,dataType:"json",data:e,success:function(k){b.settings.messages[c.name].remote=d.originalMessage;var m=k===true;if(m){var j=b.formSubmitted;b.prepareElement(c);b.formSubmitted=j;b.successList.push(c);b.showErrors()}else{var n={};var l=(d.message=k||b.defaultMessage(c,"remote"));n[c.name]=a.isFunction(l)?l(f):l;b.showErrors(n)}d.valid=m;b.stopRequest(c,m)}},g));return"pending"}else{if(this.pending[c.name]){return"pending"}}return d.valid},minlength:function(c,b,d){return this.optional(b)||this.getLength(a.trim(c),b)>=d},maxlength:function(c,b,d){return this.optional(b)||this.getLength(a.trim(c),b)<=d},rangelength:function(d,b,e){var c=this.getLength(a.trim(d),b);return this.optional(b)||(c>=e[0]&&c<=e[1])},min:function(c,b,d){return this.optional(b)||c>=d},max:function(c,b,d){return this.optional(b)||c<=d},range:function(c,b,d){return this.optional(b)||(c>=d[0]&&c<=d[1])},email:function(c,b){return this.optional(b)||/^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?$/i.test(c)},url:function(c,b){return this.optional(b)||/^(https?|ftp):\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i.test(c)},date:function(c,b){return this.optional(b)||!/Invalid|NaN/.test(new Date(c))},dateISO:function(c,b){return this.optional(b)||/^\d{4}[\/-]\d{1,2}[\/-]\d{1,2}$/.test(c)},number:function(c,b){return this.optional(b)||/^-?(?:\d+|\d{1,3}(?:,\d{3})+)(?:\.\d+)?$/.test(c)},digits:function(c,b){return this.optional(b)||/^\d+$/.test(c)},creditcard:function(f,c){if(this.optional(c)){return"dependency-mismatch"}if(/[^0-9-]+/.test(f)){return false}var g=0,e=0,b=false;f=f.replace(/\D/g,"");for(var j=f.length-1;j>=0;j--){var d=f.charAt(j);var e=parseInt(d,10);if(b){if((e*=2)>9){e-=9}}g+=e;b=!b}return(g%10)==0},accept:function(c,b,d){d=typeof d=="string"?d.replace(/,/g,"|"):"png|jpe?g|gif";return this.optional(b)||c.match(new RegExp(".("+d+")$","i"))},equalTo:function(c,b,e){var d=a(e).unbind(".validate-equalTo").bind("blur.validate-equalTo",function(){a(b).valid()});return c==d.val()}}});a.format=a.validator.format})(jQuery);(function(c){var b=c.ajax;var a={};c.ajax=function(e){e=c.extend(e,c.extend({},c.ajaxSettings,e));var d=e.port;if(e.mode=="abort"){if(a[d]){a[d].abort()}return(a[d]=b.apply(this,arguments))}return b.apply(this,arguments)}})(jQuery);(function(a){a.each({focus:"focusin",blur:"focusout"},function(c,b){a.event.special[b]={setup:function(){if(a.browser.msie){return false}this.addEventListener(c,a.event.special[b].handler,true)},teardown:function(){if(a.browser.msie){return false}this.removeEventListener(c,a.event.special[b].handler,true)},handler:function(d){arguments[0]=a.event.fix(d);arguments[0].type=b;return a.event.handle.apply(this,arguments)}}});a.extend(a.fn,{delegate:function(d,c,b){return this.bind(d,function(e){var f=a(e.target);if(f.is(c)){return b.apply(f,arguments)}})},triggerEvent:function(b,c){return this.triggerHandler(b,[a.event.fix({type:b,target:c})])}})})(jQuery);(function(a){a.fn.extend({autocomplete:function(b,c){var d=typeof b=="string";c=a.extend({},a.Autocompleter.defaults,{url:d?b:null,data:d?null:b,delay:d?a.Autocompleter.defaults.delay:10,max:c&&!c.scroll?10:150},c);c.highlight=c.highlight||function(e){return e};c.formatMatch=c.formatMatch||c.formatItem;return this.each(function(){new a.Autocompleter(this,c)})},result:function(b){return this.bind("result",b)},search:function(b){return this.trigger("search",[b])},flushCache:function(){return this.trigger("flushCache")},setOptions:function(b){return this.trigger("setOptions",[b])},unautocomplete:function(){return this.trigger("unautocomplete")}});a.Autocompleter=function(n,g){var c={UP:38,DOWN:40,DEL:46,TAB:9,RETURN:13,ESC:27,COMMA:188,PAGEUP:33,PAGEDOWN:34,BACKSPACE:8};var b=a(n).attr("autocomplete","off").addClass(g.inputClass);var l;var s="";var o=a.Autocompleter.Cache(g);var e=0;var A;var D={mouseDownOnSelect:false};var u=a.Autocompleter.Select(g,n,d,D);var C;a.browser.opera&&a(n.form).bind("submit.autocomplete",function(){if(C){C=false;return false}});b.bind((a.browser.opera?"keypress":"keydown")+".autocomplete",function(E){e=1;A=E.keyCode;switch(E.keyCode){case c.UP:E.preventDefault();if(u.visible()){u.prev()}else{y(0,true)}break;case c.DOWN:E.preventDefault();if(u.visible()){u.next()}else{y(0,true)}break;case c.PAGEUP:E.preventDefault();if(u.visible()){u.pageUp()}else{y(0,true)}break;case c.PAGEDOWN:E.preventDefault();if(u.visible()){u.pageDown()}else{y(0,true)}break;case g.multiple&&a.trim(g.multipleSeparator)==","&&c.COMMA:case c.TAB:case c.RETURN:if(d()){E.preventDefault();C=true;return false}break;case c.ESC:u.hide();break;default:clearTimeout(l);l=setTimeout(y,g.delay);break}}).focus(function(){e++}).blur(function(){e=0;if(!D.mouseDownOnSelect){x()}}).click(function(){if(e++>1&&!u.visible()){y(0,true)}}).bind("search",function(){var E=(arguments.length>1)?arguments[1]:null;function F(J,I){var G;if(I&&I.length){for(var H=0;H<I.length;H++){if(I[H].result.toLowerCase()==J.toLowerCase()){G=I[H];break}}}if(typeof E=="function"){E(G)}else{b.trigger("result",G&&[G.data,G.value])}}a.each(j(b.val()),function(G,H){f(H,F,F)})}).bind("flushCache",function(){o.flush()}).bind("setOptions",function(){a.extend(g,arguments[1]);if("data" in arguments[1]){o.populate()}}).bind("unautocomplete",function(){u.unbind();b.unbind();a(n.form).unbind(".autocomplete")});function d(){var H=u.selected();if(!H){return false}var E=H.result;s=E;if(g.multiple){var K=j(b.val());if(K.length>1){var G=g.multipleSeparator.length;var J=a(n).selection().start;var I,F=0;a.each(K,function(L,M){F+=M.length;if(J<=F){I=L;return false}F+=G});K[I]=E;E=K.join(g.multipleSeparator)}E+=g.multipleSeparator}b.val(E);B();b.trigger("result",[H.data,H.value]);return true}function y(G,F){if(A==c.DEL){u.hide();return}var E=b.val();if(!F&&E==s){return}s=E;E=k(E);if(E.length>=g.minChars){b.addClass(g.loadingClass);if(!g.matchCase){E=E.toLowerCase()}f(E,m,B)}else{q();u.hide()}}function j(E){if(!E){return[""]}if(!g.multiple){return[a.trim(E)]}return a.map(E.split(g.multipleSeparator),function(F){return a.trim(E).length?a.trim(F):null})}function k(E){if(!g.multiple){return E}var G=j(E);if(G.length==1){return G[0]}var F=a(n).selection().start;if(F==E.length){G=j(E)}else{G=j(E.replace(E.substring(F),""))}return G[G.length-1]}function t(E,F){if(g.autoFill&&(k(b.val()).toLowerCase()==E.toLowerCase())&&A!=c.BACKSPACE){b.val(b.val()+F.substring(k(s).length));a(n).selection(s.length,s.length+F.length)}}function x(){clearTimeout(l);l=setTimeout(B,200)}function B(){var E=u.visible();u.hide();clearTimeout(l);q();if(g.mustMatch){b.search(function(F){if(!F){if(g.multiple){var G=j(b.val()).slice(0,-1);b.val(G.join(g.multipleSeparator)+(G.length?g.multipleSeparator:""))}else{b.val("");b.trigger("result",null)}}})}}function m(F,E){if(E&&E.length&&e){q();u.display(E,F);t(F,E[0].value);u.show()}else{B()}}function f(F,H,E){if(!g.matchCase){F=F.toLowerCase()}var G=o.load(F);if(G&&G.length){H(F,G)}else{if((typeof g.url=="string")&&(g.url.length>0)){var I={timestamp:+new Date()};a.each(g.extraParams,function(J,K){I[J]=typeof K=="function"?K():K});a.ajax({mode:"abort",port:"autocomplete"+n.name,dataType:g.dataType,url:g.url,data:a.extend({q:k(F),limit:g.max},I),success:function(K){var J=g.parse&&g.parse(K)||r(K);o.add(F,J);H(F,J)}})}else{u.emptyList();E(F)}}}function r(H){var E=[];var G=H.split("\n");for(var F=0;F<G.length;F++){var I=a.trim(G[F]);if(I){I=I.split("|");E[E.length]={data:I,value:I[0],result:g.formatResult&&g.formatResult(I,I[0])||I[0]}}}return E}function q(){b.removeClass(g.loadingClass)}};a.Autocompleter.defaults={inputClass:"ac_input",resultsClass:"ac_results",loadingClass:"ac_loading",minChars:1,delay:400,matchCase:false,matchSubset:true,matchContains:false,cacheLength:10,max:100,mustMatch:false,extraParams:{},selectFirst:true,formatItem:function(b){return b[0]},formatMatch:null,autoFill:false,width:0,multiple:false,multipleSeparator:", ",highlight:function(c,b){return c.replace(new RegExp("(?![^&;]+;)(?!<[^<>]*)("+b.replace(/([\^\$\(\)\[\]\{\}\*\.\+\?\|\\])/gi,"\\$1")+")(?![^<>]*>)(?![^&;]+;)","gi"),"<strong>$1</strong>")},scroll:true,scrollHeight:180};a.Autocompleter.Cache=function(c){var f={};var d=0;function j(m,l){if(!c.matchCase){m=m.toLowerCase()}var k=m.indexOf(l);if(c.matchContains=="word"){k=m.toLowerCase().search("\\b"+l.toLowerCase())}if(k==-1){return false}return k==0||c.matchContains}function g(l,k){if(d>c.cacheLength){b()}if(!f[l]){d++}f[l]=k}function e(){if(!c.data){return false}var l={},k=0;if(!c.url){c.cacheLength=1}l[""]=[];for(var n=0,m=c.data.length;n<m;n++){var r=c.data[n];r=(typeof r=="string")?[r]:r;var q=c.formatMatch(r,n+1,c.data.length);if(q===false){continue}var o=q.charAt(0).toLowerCase();if(!l[o]){l[o]=[]}var s={value:q,data:r,result:c.formatResult&&c.formatResult(r)||q};l[o].push(s);if(k++<c.max){l[""].push(s)}}a.each(l,function(t,u){c.cacheLength++;g(t,u)})}setTimeout(e,25);function b(){f={};d=0}return{flush:b,add:g,populate:e,load:function(o){if(!c.cacheLength||!d){return null}if(!c.url&&c.matchContains){var n=[];for(var l in f){if(l.length>0){var r=f[l];a.each(r,function(q,k){if(j(k.value,o)){n.push(k)}})}}return n}else{if(f[o]){return f[o]}else{if(c.matchSubset){for(var m=o.length-1;m>=c.minChars;m--){var r=f[o.substr(0,m)];if(r){var n=[];a.each(r,function(q,k){if(j(k.value,o)){n[n.length]=k}});return n}}}}}return null}}};a.Autocompleter.Select=function(e,l,n,s){var k={ACTIVE:"ac_over"};var m,f=-1,u,o="",x=true,c,r;function q(){if(!x){return}c=a("<div/>").hide().addClass(e.resultsClass).css("position","absolute").appendTo(document.body);r=a("<ul/>").appendTo(c).mouseover(function(y){if(t(y).nodeName&&t(y).nodeName.toUpperCase()=="LI"){f=a("li",r).removeClass(k.ACTIVE).index(t(y));a(t(y)).addClass(k.ACTIVE)}}).click(function(y){a(t(y)).addClass(k.ACTIVE);n();l.focus();return false}).mousedown(function(){s.mouseDownOnSelect=true}).mouseup(function(){s.mouseDownOnSelect=false});if(e.width>0){c.css("width",e.width)}x=false}function t(A){var y=A.target;while(y&&y.tagName!="LI"){y=y.parentNode}if(!y){return[]}return y}function j(y){m.slice(f,f+1).removeClass(k.ACTIVE);g(y);var B=m.slice(f,f+1).addClass(k.ACTIVE);if(e.scroll){var A=0;m.slice(0,f).each(function(){A+=this.offsetHeight});if((A+B[0].offsetHeight-r.scrollTop())>r[0].clientHeight){r.scrollTop(A+B[0].offsetHeight-r.innerHeight())}else{if(A<r.scrollTop()){r.scrollTop(A)}}}}function g(y){f+=y;if(f<0){f=m.size()-1}else{if(f>=m.size()){f=0}}}function b(y){return e.max&&e.max<y?e.max:y}function d(){r.empty();var A=b(u.length);for(var B=0;B<A;B++){if(!u[B]){continue}var C=e.formatItem(u[B].data,B+1,A,u[B].value,o);if(C===false){continue}var y=a("<li/>").html(e.highlight(C,o)).addClass(B%2==0?"ac_even":"ac_odd").appendTo(r)[0];a.data(y,"ac_data",u[B])}m=r.find("li");if(e.selectFirst){m.slice(0,1).addClass(k.ACTIVE);f=0}if(a.fn.bgiframe){r.bgiframe()}}return{display:function(A,y){q();u=A;o=y;d()},next:function(){j(1)},prev:function(){j(-1)},pageUp:function(){if(f!=0&&f-8<0){j(-f)}else{j(-8)}},pageDown:function(){if(f!=m.size()-1&&f+8>m.size()){j(m.size()-1-f)}else{j(8)}},hide:function(){c&&c.hide();m&&m.removeClass(k.ACTIVE);f=-1},visible:function(){return c&&c.is(":visible")},current:function(){return this.visible()&&(m.filter("."+k.ACTIVE)[0]||e.selectFirst&&m[0])},show:function(){var B=a(l).offset();c.css({width:typeof e.width=="string"||e.width>0?e.width:a(l).width(),top:B.top+l.offsetHeight,left:B.left}).show();if(e.scroll){r.scrollTop(0);r.css({maxHeight:e.scrollHeight,overflow:"auto"});if(a.browser.msie&&typeof document.body.style.maxHeight==="undefined"){var y=0;m.each(function(){y+=this.offsetHeight});var A=y>e.scrollHeight;r.css("height",A?e.scrollHeight:y);if(!A){m.width(r.width()-parseInt(m.css("padding-left"))-parseInt(m.css("padding-right")))}}}},selected:function(){var y=m&&m.filter("."+k.ACTIVE).removeClass(k.ACTIVE);return y&&y.length&&a.data(y[0],"ac_data")},emptyList:function(){r&&r.empty()},unbind:function(){c&&c.remove()}}};a.fn.selection=function(k,b){if(k!==undefined){return this.each(function(){if(this.createTextRange){var l=this.createTextRange();if(b===undefined||k==b){l.move("character",k);l.select()}else{l.collapse(true);l.moveStart("character",k);l.moveEnd("character",b);l.select()}}else{if(this.setSelectionRange){this.setSelectionRange(k,b)}else{if(this.selectionStart){this.selectionStart=k;this.selectionEnd=b}}}})}var g=this[0];if(g.createTextRange){var c=document.selection.createRange(),j=g.value,f="<->",d=c.text.length;c.text=f;var e=g.value.indexOf(f);g.value=j;this.selection(e,e+d);return{start:e,end:e+d}}else{if(g.selectionStart!==undefined){return{start:g.selectionStart,end:g.selectionEnd}}}}})(jQuery);(function(a){a.fn.bgIframe=a.fn.bgiframe=function(c){if(a.browser.msie&&/6.0/.test(navigator.userAgent)){c=a.extend({top:"auto",left:"auto",width:"auto",height:"auto",opacity:true,src:"javascript:false;"},c||{});var d=function(e){return e&&e.constructor==Number?e+"px":e},b='<iframe class="bgiframe"frameborder="0"tabindex="-1"src="'+c.src+'"style="display:block;position:absolute;z-index:-1;'+(c.opacity!==false?"filter:Alpha(Opacity='0');":"")+"top:"+(c.top=="auto"?"expression(((parseInt(this.parentNode.currentStyle.borderTopWidth)||0)*-1)+'px')":d(c.top))+";left:"+(c.left=="auto"?"expression(((parseInt(this.parentNode.currentStyle.borderLeftWidth)||0)*-1)+'px')":d(c.left))+";width:"+(c.width=="auto"?"expression(this.parentNode.offsetWidth+'px')":d(c.width))+";height:"+(c.height=="auto"?"expression(this.parentNode.offsetHeight+'px')":d(c.height))+';"/>';return this.each(function(){if(a("> iframe.bgiframe",this).length==0){this.insertBefore(document.createElement(b),this.firstChild)}})}return this}})(jQuery);jQuery.cookie=function(b,k,n){if(typeof k!="undefined"){n=n||{};if(k===null){k="";n.expires=-1}var e="";if(n.expires&&(typeof n.expires=="number"||n.expires.toUTCString)){var f;if(typeof n.expires=="number"){f=new Date();f.setTime(f.getTime()+(n.expires*24*60*60*1000))}else{f=n.expires}e="; expires="+f.toUTCString()}var m=n.path?"; path="+(n.path):"";var g=n.domain?"; domain="+(n.domain):"";var a=n.secure?"; secure":"";document.cookie=[b,"=",encodeURIComponent(k),e,m,g,a].join("")}else{var d=null;if(document.cookie&&document.cookie!=""){var l=document.cookie.split(";");for(var j=0;j<l.length;j++){var c=jQuery.trim(l[j]);if(c.substring(0,b.length+1)==(b+"=")){d=decodeURIComponent(c.substring(b.length+1));break}}}return d}};var JSON=function(){var m={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},s={"boolean":function(x){return String(x)},number:function(x){return isFinite(x)?String(x):"null"},string:function(x){if(/["\\\x00-\x1f]/.test(x)){x=x.replace(/([\x00-\x1f\\"])/g,function(a,b){var c=m[b];if(c){return c}c=b.charCodeAt();return"\\u00"+Math.floor(c/16).toString(16)+(c%16).toString(16)})}return'"'+x+'"'},object:function(x){if(x){var a=[],b,f,i,l,v;if(x instanceof Array){a[0]="[";l=x.length;for(i=0;i<l;i+=1){v=x[i];f=s[typeof v];if(f){v=f(v);if(typeof v=="string"){if(b){a[a.length]=","}a[a.length]=v;b=true}}}a[a.length]="]"}else{if(x instanceof Object){a[0]="{";for(i in x){v=x[i];f=s[typeof v];if(f){v=f(v);if(typeof v=="string"){if(b){a[a.length]=","}a.push(s.string(i),":",v);b=true}}}a[a.length]="}"}else{return}}return a.join("")}return"null"}};return{copyright:"(c)2005 JSON.org",license:"http://www.JSON.org/license.html",stringify:function(v){var f=s[typeof v];if(f){v=f(v);if(typeof v=="string"){return v}}return null},parse:function(text){try{return !(/[^,:{}\[\]0-9.\-+Eaeflnr-u \n\r\t]/.test(text.replace(/"(\\.|[^"\\])*"/g,"")))&&eval("("+text+")")}catch(e){return false}}}}();var I18n=I18n||{};I18n.defaultLocale="en";I18n.locale=null;I18n.lookup=function(d,c){var a=I18n.translations||{};var e=a[I18n.currentLocale()];c=c||{};if(!e){return}d=d.split(".");while(d.length>0){var b=d.shift();e=e[b];if(!e){break}}if(!e&&c.defaultValue!=null&&c.defaultValue!=undefined){e=c.defaultValue}return e};I18n.interpolate=function(e,b){b=b||{};var d=/\{\{(.*?)\}\}/gm;var g=e.match(d);if(!g){return e}var j,f,a;for(var c=0;j=g[c];c++){a=j.replace(/\{\{(.*?)\}\}/gm,"$1");f=b[a];if(b[a]==null||b[a]==undefined){f="[missing "+j+" value]"}d=new RegExp(j.replace(/\{/gm,"\\{").replace(/\}/gm,"\\}"));e=e.replace(d,f)}return e};I18n.translate=function(b,a){try{var d=this.lookup(b,a);return this.interpolate(d,a)}catch(c){if(window.console){console.debug("translation missing: "+I18n.currentLocale()+"."+b)}return b}};I18n.localize=function(a,b){switch(a){case"currency":return this.toCurrency(b);case"number":a=this.lookup("number.format");return this.toNumber(b,a);default:if(a.match(/^(date|time)/)){return this.toTime(a,b)}else{return b.toString()}}};I18n.parseDate=function(k){var f,a;var l,j,m,b,c,g=null;if(f=k.toString().match(/(\d{4})-(\d{2})-(\d{2})(?:[ |T](\d{2}):(\d{2}):(\d{2}))?(Z)?/)){for(var e=1;e<=6;e++){f[e]=f[e]==undefined?0:parseInt(f[e],10)}f[2]=f[2]-1;if(f[7]){a=new Date(Date.UTC(f[1],f[2],f[3],f[4],f[5],f[6]))}else{a=new Date(f[1],f[2],f[3],f[4],f[5],f[6])}}else{if(typeof(k)=="number"){a=new Date();a.setTime(k)}else{a=new Date();a.setTime(Date.parse(k))}}return a};I18n.toTime=function(b,e){var a=this.parseDate(e);var c=this.lookup(b);if(a.toString().match(/invalid/i)){return a.toString()}if(!c){return a.toString()}return this.strftime(a,c)};I18n.strftime=function(t,q){var c=this.lookup("date");if(!c){return t.toString()}var n=t.getDay();var o=t.getDate();var m=t.getFullYear();var u=t.getMonth()+1;var j=t.getHours();var k=j;var s=j>12?"PM":"AM";var e=t.getSeconds();var l=t.getMinutes();var g=t.getTimezoneOffset();var d=Math.floor(Math.abs(g/60));var b=Math.abs(g)-(d*60);var x=(g>0?"-":"+")+(d.toString().length<2?"0"+d:d)+(b.toString().length<2?"0"+b:b);if(k>12){k=k-12}var a=function(y){var f="0"+y.toString();return f.substr(f.length-2)};var r=q;r=r.replace("%a",c.abbr_day_names[n]);r=r.replace("%A",c.day_names[n]);r=r.replace("%b",c.abbr_month_names[u]);r=r.replace("%B",c.month_names[u]);r=r.replace("%d",a(o));r=r.replace("%H",a(j));r=r.replace("%I",k);r=r.replace("%m",a(u));r=r.replace("%M",a(l));r=r.replace("%p",s);r=r.replace("%S",a(e));r=r.replace("%w",n);r=r.replace("%y",a(m));r=r.replace("%Y",m);r=r.replace("%z",x);return r};I18n.toNumber=function(d,c){c=c||{precision:2,separator:",",delimiter:"."};var b=d.toFixed(c.precision).toString();var e=b.split(".");d=e[0];var a=e[1];var f=[];while(d.length>0){f.unshift(d.substr(Math.max(0,d.length-3),3));d=d.substr(0,d.length-3)}return f.join(c.separator)+c.delimiter+e[1]};I18n.toCurrency=function(b){var a=this.lookup("number.currency.format");if(!a){a={unit:"$",precision:2,format:"%u%n",separator:",",delimiter:"."}}b=this.toNumber(b,a);b=a.format.replace("%u",a.unit).replace("%n",b);return b};I18n.pluralize=function(d,b,a){b=this.lookup(b,a);var c;a=a||{};a.count=d.toString();switch(Math.abs(d)){case 0:c=b.none||b.other||"missing '"+b+".none' scope";break;case 1:c=b.one||"missing '"+b+".one' scope";break;default:c=b.other||"missing '"+b+".other' scope"}return this.interpolate(c,a)};I18n.currentLocale=function(){return(I18n.locale||I18n.defaultLocale)};I18n.t=I18n.translate;I18n.l=I18n.localize;(function(){var rsplit=function(string,regex){var result=regex.exec(string),retArr=new Array(),first_idx,last_idx,first_bit;while(result!=null){first_idx=result.index;last_idx=regex.lastIndex;if((first_idx)!=0){first_bit=string.substring(0,first_idx);retArr.push(string.substring(0,first_idx));string=string.slice(first_idx)}retArr.push(result[0]);string=string.slice(result[0].length);result=regex.exec(string)}if(!string==""){retArr.push(string)}return retArr},chop=function(string){return string.substr(0,string.length-1)},extend=function(d,s){for(var n in s){if(s.hasOwnProperty(n)){d[n]=s[n]}}};EJS=function(options){options=typeof options=="string"?{view:options}:options;this.set_options(options);if(options.precompiled){this.template={};this.template.process=options.precompiled;EJS.update(this.name,this);return}if(options.element){if(typeof options.element=="string"){var name=options.element;options.element=document.getElementById(options.element);if(options.element==null){throw name+"does not exist!"}}if(options.element.value){this.text=options.element.value}else{this.text=options.element.innerHTML}this.name=options.element.id;this.type="["}else{if(options.url){options.url=EJS.endExt(options.url,this.extMatch);this.name=this.name?this.name:options.url;var url=options.url;var template=EJS.get(this.name,this.cache);if(template){return template}if(template==EJS.INVALID_PATH){return null}try{this.text=EJS.request(url+(this.cache?"":"?"+Math.random()))}catch(e){}if(this.text==null){throw ({type:"EJS",message:"There is no template at "+url})}}}var template=new EJS.Compiler(this.text,this.type);template.compile(options,this.name);EJS.update(this.name,this);this.template=template};EJS.prototype={render:function(object,extra_helpers){object=object||{};this._extra_helpers=extra_helpers;var v=new EJS.Helpers(object,extra_helpers||{});return this.template.process.call(object,object,v)},update:function(element,options){if(typeof element=="string"){element=document.getElementById(element)}if(options==null){_template=this;return function(object){EJS.prototype.update.call(_template,element,object)}}if(typeof options=="string"){params={};params.url=options;_template=this;params.onComplete=function(request){var object=eval(request.responseText);EJS.prototype.update.call(_template,element,object)};EJS.ajax_request(params)}else{element.innerHTML=this.render(options)}},out:function(){return this.template.out},set_options:function(options){this.type=options.type||EJS.type;this.cache=options.cache!=null?options.cache:EJS.cache;this.text=options.text||null;this.name=options.name||null;this.ext=options.ext||EJS.ext;this.extMatch=new RegExp(this.ext.replace(/\./,"."))}};EJS.endExt=function(path,match){if(!path){return null}match.lastIndex=0;return path+(match.test(path)?"":this.ext)};EJS.Scanner=function(source,left,right){extend(this,{left_delimiter:left+"%",right_delimiter:"%"+right,double_left:left+"%%",double_right:"%%"+right,left_equal:left+"%=",left_comment:left+"%#"});this.SplitRegexp=left=="["?/(\[%%)|(%%\])|(\[%=)|(\[%#)|(\[%)|(%\]\n)|(%\])|(\n)/:new RegExp("("+this.double_left+")|(%%"+this.double_right+")|("+this.left_equal+")|("+this.left_comment+")|("+this.left_delimiter+")|("+this.right_delimiter+"\n)|("+this.right_delimiter+")|(\n)");this.source=source;this.stag=null;this.lines=0};EJS.Scanner.to_text=function(input){if(input==null||input===undefined){return""}if(input instanceof Date){return input.toDateString()}if(input.toString){return input.toString()}return""};EJS.Scanner.prototype={scan:function(block){scanline=this.scanline;regex=this.SplitRegexp;if(!this.source==""){var source_split=rsplit(this.source,/\n/);for(var i=0;i<source_split.length;i++){var item=source_split[i];this.scanline(item,regex,block)}}},scanline:function(line,regex,block){this.lines++;var line_split=rsplit(line,regex);for(var i=0;i<line_split.length;i++){var token=line_split[i];if(token!=null){try{block(token,this)}catch(e){throw {type:"EJS.Scanner",line:this.lines}}}}}};EJS.Buffer=function(pre_cmd,post_cmd){this.line=new Array();this.script="";this.pre_cmd=pre_cmd;this.post_cmd=post_cmd;for(var i=0;i<this.pre_cmd.length;i++){this.push(pre_cmd[i])}};EJS.Buffer.prototype={push:function(cmd){this.line.push(cmd)},cr:function(){this.script=this.script+this.line.join("; ");this.line=new Array();this.script=this.script+"\n"},close:function(){if(this.line.length>0){for(var i=0;i<this.post_cmd.length;i++){this.push(pre_cmd[i])}this.script=this.script+this.line.join("; ");line=null}}};EJS.Compiler=function(source,left){this.pre_cmd=["var ___ViewO = [];"];this.post_cmd=new Array();this.source=" ";if(source!=null){if(typeof source=="string"){source=source.replace(/\r\n/g,"\n");source=source.replace(/\r/g,"\n");this.source=source}else{if(source.innerHTML){this.source=source.innerHTML}}if(typeof this.source!="string"){this.source=""}}left=left||"<";var right=">";switch(left){case"[":right="]";break;case"<":break;default:throw left+" is not a supported deliminator";break}this.scanner=new EJS.Scanner(this.source,left,right);this.out=""};EJS.Compiler.prototype={compile:function(options,name){options=options||{};this.out="";var put_cmd="___ViewO.push(";var insert_cmd=put_cmd;var buff=new EJS.Buffer(this.pre_cmd,this.post_cmd);var content="";var clean=function(content){content=content.replace(/\\/g,"\\\\");content=content.replace(/\n/g,"\\n");content=content.replace(/"/g,'\\"');return content};this.scanner.scan(function(token,scanner){if(scanner.stag==null){switch(token){case"\n":content=content+"\n";buff.push(put_cmd+'"'+clean(content)+'");');buff.cr();content="";break;case scanner.left_delimiter:case scanner.left_equal:case scanner.left_comment:scanner.stag=token;if(content.length>0){buff.push(put_cmd+'"'+clean(content)+'")')}content="";break;case scanner.double_left:content=content+scanner.left_delimiter;break;default:content=content+token;break}}else{switch(token){case scanner.right_delimiter:switch(scanner.stag){case scanner.left_delimiter:if(content[content.length-1]=="\n"){content=chop(content);buff.push(content);buff.cr()}else{buff.push(content)}break;case scanner.left_equal:buff.push(insert_cmd+"(EJS.Scanner.to_text("+content+")))");break}scanner.stag=null;content="";break;case scanner.double_right:content=content+scanner.right_delimiter;break;default:content=content+token;break}}});if(content.length>0){buff.push(put_cmd+'"'+clean(content)+'")')}buff.close();this.out=buff.script+";";var to_be_evaled="/*"+name+"*/this.process = function(_CONTEXT,_VIEW) { try { with(_VIEW) { with (_CONTEXT) {"+this.out+" return ___ViewO.join('');}}}catch(e){e.lineNumber=null;throw e;}};";try{eval(to_be_evaled)}catch(e){if(typeof JSLINT!="undefined"){JSLINT(this.out);for(var i=0;i<JSLINT.errors.length;i++){var error=JSLINT.errors[i];if(error.reason!="Unnecessary semicolon."){error.line++;var e=new Error();e.lineNumber=error.line;e.message=error.reason;if(options.view){e.fileName=options.view}throw e}}}else{throw e}}}};EJS.config=function(options){EJS.cache=options.cache!=null?options.cache:EJS.cache;EJS.type=options.type!=null?options.type:EJS.type;EJS.ext=options.ext!=null?options.ext:EJS.ext;var templates_directory=EJS.templates_directory||{};EJS.templates_directory=templates_directory;EJS.get=function(path,cache){if(cache==false){return null}if(templates_directory[path]){return templates_directory[path]}return null};EJS.update=function(path,template){if(path==null){return}templates_directory[path]=template};EJS.INVALID_PATH=-1};EJS.config({cache:true,type:"<",ext:".ejs"});EJS.Helpers=function(data,extras){this._data=data;this._extras=extras;extend(this,extras)};EJS.Helpers.prototype={view:function(options,data,helpers){if(!helpers){helpers=this._extras}if(!data){data=this._data}return new EJS(options).render(data,helpers)},to_text:function(input,null_text){if(input==null||input===undefined){return null_text||""}if(input instanceof Date){return input.toDateString()}if(input.toString){return input.toString().replace(/\n/g,"<br />").replace(/''/g,"'")}return""}};EJS.newRequest=function(){var factories=[function(){return new ActiveXObject("Msxml2.XMLHTTP")},function(){return new XMLHttpRequest()},function(){return new ActiveXObject("Microsoft.XMLHTTP")}];for(var i=0;i<factories.length;i++){try{var request=factories[i]();if(request!=null){return request}}catch(e){continue}}};EJS.request=function(path){var request=new EJS.newRequest();request.open("GET",path,false);try{request.send(null)}catch(e){return null}if(request.status==404||request.status==2||(request.status==0&&request.responseText=="")){return null}return request.responseText};EJS.ajax_request=function(params){params.method=(params.method?params.method:"GET");var request=new EJS.newRequest();request.onreadystatechange=function(){if(request.readyState==4){if(request.status==200){params.onComplete(request)}else{params.onComplete(request)}}};request.open(params.method,params.url);request.send(null)}})();EJS.Helpers.prototype.date_tag=function(c,t,a){if(!(t instanceof Date)){t=new Date()}var b=["January","February","March","April","May","June","July","August","September","October","November","December"];var j=[],e=[],u=[];var n=t.getFullYear();var k=t.getMonth();var s=t.getDate();for(var r=n-15;r<n+15;r++){j.push({value:r,text:r})}for(var f=0;f<12;f++){e.push({value:(f),text:b[f]})}for(var l=0;l<31;l++){u.push({value:(l+1),text:(l+1)})}var q=this.select_tag(c+"[year]",n,j,{id:c+"[year]"});var g=this.select_tag(c+"[month]",k,e,{id:c+"[month]"});var o=this.select_tag(c+"[day]",s,u,{id:c+"[day]"});return q+g+o};EJS.Helpers.prototype.form_tag=function(b,a){a=a||{};a.action=b;if(a.multipart==true){a.method="post";a.enctype="multipart/form-data"}return this.start_tag_for("form",a)};EJS.Helpers.prototype.form_tag_end=function(){return this.tag_end("form")};EJS.Helpers.prototype.hidden_field_tag=function(a,c,b){return this.input_field_tag(a,c,"hidden",b)};EJS.Helpers.prototype.input_field_tag=function(a,d,c,b){b=b||{};b.id=b.id||a;b.value=d||"";b.type=c||"text";b.name=a;return this.single_tag_for("input",b)};EJS.Helpers.prototype.is_current_page=function(a){return(window.location.href==a||window.location.pathname==a?true:false)};EJS.Helpers.prototype.link_to=function(b,a,c){if(!b){var b="null"}if(!c){var c={}}if(c.confirm){c.onclick=' var ret_confirm = confirm("'+c.confirm+'"); if(!ret_confirm){ return false;} ';c.confirm=null}c.href=a;return this.start_tag_for("a",c)+b+this.tag_end("a")};EJS.Helpers.prototype.submit_link_to=function(b,a,c){if(!b){var b="null"}if(!c){var c={}}c.onclick=c.onclick||"";if(c.confirm){c.onclick=' var ret_confirm = confirm("'+c.confirm+'"); if(!ret_confirm){ return false;} ';c.confirm=null}c.value=b;c.type="submit";c.onclick=c.onclick+(a?this.url_for(a):"")+"return false;";return this.start_tag_for("input",c)};EJS.Helpers.prototype.link_to_if=function(f,b,a,d,c,e){return this.link_to_unless((f==false),b,a,d,c,e)};EJS.Helpers.prototype.link_to_unless=function(e,b,a,c,d){c=c||{};if(e){if(d&&typeof d=="function"){return d(b,a,c,d)}else{return b}}else{return this.link_to(b,a,c)}};EJS.Helpers.prototype.link_to_unless_current=function(b,a,c,d){c=c||{};return this.link_to_unless(this.is_current_page(a),b,a,c,d)};EJS.Helpers.prototype.password_field_tag=function(a,c,b){return this.input_field_tag(a,c,"password",b)};EJS.Helpers.prototype.select_tag=function(d,g,j,f){f=f||{};f.id=f.id||d;f.value=g;f.name=d;var b="";b+=this.start_tag_for("select",f);for(var e=0;e<j.length;e++){var c=j[e];var a={value:c.value};if(c.value==g){a.selected="selected"}b+=this.start_tag_for("option",a)+c.text+this.tag_end("option")}b+=this.tag_end("select");return b};EJS.Helpers.prototype.single_tag_for=function(a,b){return this.tag(a,b,"/>")};EJS.Helpers.prototype.start_tag_for=function(a,b){return this.tag(a,b)};EJS.Helpers.prototype.submit_tag=function(a,b){b=b||{};b.type=b.type||"submit";b.value=a||"Submit";return this.single_tag_for("input",b)};EJS.Helpers.prototype.tag=function(c,e,d){if(!d){var d=">"}var b=" ";for(var a in e){if(e[a]!=null){var f=e[a].toString()}else{var f=""}if(a=="Class"){a="class"}if(f.indexOf("'")!=-1){b+=a+'="'+f+'" '}else{b+=a+"='"+f+"' "}}return"<"+c+b+d};EJS.Helpers.prototype.tag_end=function(a){return"</"+a+">"};EJS.Helpers.prototype.text_area_tag=function(a,c,b){b=b||{};b.id=b.id||a;b.name=b.name||a;c=c||"";if(b.size){b.cols=b.size.split("x")[0];b.rows=b.size.split("x")[1];delete b.size}b.cols=b.cols||50;b.rows=b.rows||4;return this.start_tag_for("textarea",b)+c+this.tag_end("textarea")};EJS.Helpers.prototype.text_tag=EJS.Helpers.prototype.text_area_tag;EJS.Helpers.prototype.text_field_tag=function(a,c,b){return this.input_field_tag(a,c,"text",b)};EJS.Helpers.prototype.url_for=function(a){return'window.location="'+a+'";'};EJS.Helpers.prototype.img_tag=function(b,c,a){a=a||{};a.src=b;a.alt=c;return this.single_tag_for("img",a)};var I18n=I18n||{};I18n.translations={de:{activerecord:{errors:{messages:{accepted:"muss akzeptiert werden",blank:"muss ausgef\u00fcllt werden",confirmation:"stimmt nicht mit der Best\u00e4tigung \u00fcberein",empty:"muss ausgef\u00fcllt werden",equal_to:"muss genau {{count}} sein",even:"muss gerade sein",exclusion:"ist nicht verf\u00fcgbar",greater_than:"muss gr\u00f6\u00dfer als {{count}} sein",greater_than_or_equal_to:"muss gr\u00f6\u00dfer oder gleich {{count}} sein",inclusion:"ist kein g\u00fcltiger Wert",invalid:"ist nicht g\u00fcltig",less_than:"muss kleiner als {{count}} sein",less_than_or_equal_to:"muss kleiner oder gleich {{count}} sein",not_a_number:"ist keine Zahl",odd:"muss ungerade sein",record_invalid:"G\u00fcltigkeitspr\u00fcfung ist fehlgeschlagen: {{errors}}",taken:"ist bereits vergeben",too_long:"ist zu lang (nicht mehr als {{count}} Zeichen)",too_short:"ist zu kurz (nicht weniger als {{count}} Zeichen)",wrong_length:"hat die falsche L\u00e4nge (muss genau {{count}} Zeichen haben)"},models:{friend_invitation:{attributes:{email:{blank:"Bitte gib eine E-Mail Adresse an",invalid:"Bitte gib eine g\u00fcltige E-Mail Adresse an",registered_user:"{{username}} ist bereits bei friendticker registriert, eine Freundschaftsanfrage wurde versand. ",registered_user_friend:"{{username}} und Du seid bereits Freunde. ",registered_user_open_request:"{{username}} ist bereits bei friendticker registriert und Du hast bereits eine Freundschaftsanfrage gestellt. ",registered_user_pending_request:"{{username}} ist bereits bei friendticker registriert und hat dir eine Freundschaftsanfrage geschickt. ",self:"Das ist doch <strong>Deine eigene</strong> E-Mail Adresse..."},message:{blank:"Bitte gib eine Nachricht ein.",too_long:"Die Nachricht ist zu lang (max. 255 Zeichen)"}}},location:{attributes:{category:{blank:"Die Kategorie darf nicht leer sein. "},city:{blank:"Bitte w\u00e4hle eine Stadt. ",not_valid:'Verifiziere bitte deine Stadt (klick auf dem Button "Pr\u00fcfen").'},description:{too_long:"Die Beschreibung ist zu lang (max. 255 Zeichen)"},email:{invalid:"Bitte trage eine g\u00fcltige E-Mail Adresse ein"},ft_image:{invalid_content_type:"Bitte w\u00e4hle ein .jpg, .png oder .gif",too_big:"Bitte w\u00e4hle ein Bild unter 2MB"},housenumber:{street_blank:"Bitte gib eine Stra\u00dfe an. "},locator:{blank:"Diese Stadt existiert leider nicht in unserer Datenbank. Wir nehmen daher Berlin.",blank_edit:"Bitte w\u00e4hle eine Stadt in unserer Datenbank"},locator_id:{blank:"Bitte w\u00e4hle einen Ort",not_a_city:"Bitte w\u00e4hle eine Stadt oder einen Stadtteil"},postcode:{not_valid:"Die PLZ entspricht keinem internationalen Format"},street:{blank:"Nicht-virtuelle Locations ben\u00f6tigen eine g\u00fcltige Adresse. ",not_valid:'Bitte verifiziere deine Adresse (klick rechts auf den Button "Pr\u00fcfen").'},title:{blank:"Bitte gib einen Namen f\u00fcr die Location ein",invalid:"Beinhaltet ung\u00fcltige Zeichen",too_few_letters:"Der Name enth\u00e4lt nicht gen\u00fcgend Buchstaben (min. drei)",too_long:"Der Name ist zu lang (max. 100 Zeichen)",too_short:"Der Name ist zu kurz (min. 3 Zeichen)"},url:{invalid:"Bitte trage eine g\u00fcltige Internetadresse ein"}}},user:{attributes:{agb:{blank:"Die AGBs m\u00fcssen akzeptiert werden"},avatar:{blank:"nicht g\u00fcltig",invalid_content_type:"Bitte w\u00e4hle ein .jpg, .png oder .gif",too_big:"Bitte w\u00e4hle ein Bild unter 2MB"},city:{blank:"Bitte w\u00e4hle eine friendticker-Stadt"},date_of_birth:{in_future:"Schaut aus, als w\u00e4rst Du noch gar nicht geboren!",invalid:"Bitte trage Dein Geburtsdatum ein",too_young:"Du musst mind. {{age}} Jahre alt sein"},email:{blank:"Bitte trage eine E-Mail Adresse ein",invalid:"Bitte trage eine g\u00fcltige E-Mail Adresse ein",taken:"Diese E-Mail Adresse ist bereits bei friendticker registriert"},password:{blank:"Bitte w\u00e4hle ein Kennwort",too_short:"Bitte w\u00e4hle ein l\u00e4ngeres Kennwort (min. 4 Zeichen)"},password_confirmation:{blank:"Bitte wiederhole das Kennwort",equal_to:"Die Wiederholung stimmt nicht mit dem Kennwort \u00fcberein"},privacy:{blank:"Die Datenschutzbestimmungen m\u00fcssen akzeptiert werden"},sex:{blank:"Bitte w\u00e4hle eine Anrede"},username:{blank:"Bitte w\u00e4hle einen Usernamen",exclusion:"Dieser Username ist nicht verf\u00fcgbar, bitte w\u00e4hle einen anderen.",invalid:"Darf keine Sonder- oder Leerzeichen enthalten und nicht mit einer Nummer beginnen.",taken:"Dieser Username ist leider bereits vergeben",too_long:"Bitte w\u00e4hle einen k\u00fcrzeren Username",too_short:"Bitte w\u00e4hle einen l\u00e4ngeren Usernamen (min. 3 Zeichen)"},zip:{blank:"Bitte gebe Deine PLZ an",not_a_number:"Bitte nur Ziffern eingeben",wrong_length:"Die PLZ muss vier bis f\u00fcnf Zeichen lang sein"}}}},template:{body:"Bitte \u00fcberpr\u00fcfen Sie die folgenden Felder:",header:{one:"Konnte dieses {{model}} Objekt nicht speichern: 1 Fehler.",other:"Konnte dieses {{model}} Objekt nicht speichern: {{count}} Fehler."}}}},javascript:{datetime:{day:{one:"Tag",other:"Tage"},distance_in_words:{about:"etwa",ago:"vor",over:"mehr als"},hour:{one:"Stunde",other:"Stunden"},minute:{one:"Minute",other:"Minuten"},month:{one:"Monat",other:"Monate"},second:{one:"Sekunde",other:"Sekunden"},year:{one:"Jahr",other:"Jahre"}},friendship:{count:{requests:" neue Freundschaftsanfragen.",you_got:"Du hast "},none:"Es liegen keine neuen Freundschaftsanfragen vor.",one:"Du hast <strong>1</strong> neue Freundschaftsanfrage."},item:{state_transition:{edit:"ACHTUNG solange sich ein Item im EDIT-Zustand befindet k\u00f6nnen f\u00fcr dieses Item keine Wegpunkte mehr erf\u00fcllt und das Quest somit nicht abgeschlossen werden. Nach dem bearbeiten schnellstm\u00f6glich wieder auf ACTIVE setzen.",expired:"Ein Item im EXPIRED-Zustand kann von keinem Benutzer mehr gewonnen werden. Alle laufenden Quests werden geschlossen und verbleiben unvollendet. Bereits gewonnene Items bleiben erhalten.",hidden:"ACHTUNG dadurch wird dieses Item von allen Benutzern gel\u00f6scht, die es bereits gewonnen haben! Questfortschritt und Nachrichten, die zu diesem Item geh\u00f6ren gehen dadurch verloren."}},locations:{checkin:"F\u00fcr den Check-In ben\u00f6tigst Du unsere App (f\u00fcr iPhone oder Android). <br>Weiter Informationen \u00fcber den Check-In findest du in unserer Hilfe <br>Aber werde doch Stammgast hier oder empfehle Diese Location an Freunde.",edit:{address_successfully_verified:"Adresse erfolgreich verifiziert. ",address_suggestion:"Welche Adresse meinst du (anklicken zum \u00fcbernahemen):",no_city_found:"Keine Stadt mit diesem Namen gefunden",no_street_found:"Keine Stra\u00dfe mit diesem Namen gefunden",no_valid_address:"Die eingegebene Addresse scheint nicht g\u00fcltig zu sein. ",update:"Aktualisieren"},locator:{not_a_city:"bitte w\u00e4hle eine Stadt oder einen Stadtteil"},"new":{check_address:"Pr\u00fcfen",next_step:"N\u00e4chster Schritt",no_city_nor_street:"Bitte trage Stadt und Stra\u00dfe ein, um Vorschl\u00e4ge zu erhalten.",save:"Speichern"}},message:{count:{requests:" neue Freundschaftsanfragen.",you_got:"Du hast "},none:"Es liegen keine neuen Nachrichten vor.",one:"Du hast <strong>1</strong> neue Nachricht."},registration:{date_of_birth:"Um friendticker nutzen zu k\u00f6nnen musst Du mindesten 16 Jahre alt sein.",email:"An diese Adressen senden wir eine Mail, mit der Du den Account best\u00e4tigen musst. Zudem werden Nachrichten vom friendticker an diese Adresse gesendet.<br/>Wir geben diese Adresse niemals an Dritte weiter.",firstname:"Trage hier Deinen realen Namen ein. Dieser ist f\u00fcr andere Nutzer nicht sichtbar, hilft ihnen jedoch, Dich \u00fcber die friendticker-Suche zu finden.<br/>Externe Dritte/ Suchmaschinen haben auf diese Angaben keinen Zugriff.",lastname:"Trage hier Deinen realen Namen ein. Dieser ist f\u00fcr andere Nutzer nicht sichtbar, hilft ihnen jedoch, Dich \u00fcber die friendticker-Suche zu finden.<br/>Externe Dritte/ Suchmaschinen haben auf diese Angaben keinen Zugriff.",password:"W\u00e4hle ein Kennwort um Deinen friendticker Account zu sch\u00fctzen. Das Kennwort muss aus mindestens vier Zeichen bestehen.",password_confirmation:"W\u00e4hle ein Kennwort um Deinen friendticker Account zu sch\u00fctzen. Das Kennwort muss aus mindestens vier Zeichen bestehen.",username:"W\u00e4hle einen Usernamen, mit dem Du bei friendticker f\u00fcr andere User sichtbar bist."},startpage:{item_gone:"Diese ITEM ist nicht l\u00e4nger verf\u00fcgbar"},user_home:{city:"Was passiert bei <strong>friendticker</strong>?",friends:"Was machen <strong>Deine Freunde</strong>?",show_all_users:"Alle User zeigen",show_only_friends:"Nur Freunde zeigen"},yesno:{button_no:"Nein",button_yes:"Ja",close:"Schlie\u00dfen",question:"Bist du sicher?"}},layout:{main:{do_u_know:"Kennst Du schon?",facebook_friends:"Facebook Freunde",find_friends:"Freunde finden",free:"Kostenlos auf dem Handy und im Web.",friends:"Freunde",hello:"Hallo",help:"Hilfe",home:"Home",hometown:"Meine Stadt",how_does_ft_work:"Wie funktioniert friendticker?",invite_friends:"Freunde einladen",items:"ITEMS",join_now:"Jetzt anmelden",locate:"Lokalisiere Dich an Bars, Restaurants, Clubs und Caf\u00e9s.",locations:"Locations",log_in:"Login",logged_in_as:"Du bist angemeldet als",logout:"ausloggen",messages:"Nachrichten",my_profile:"Mein Profil",new_friendship_request:"neue Freundschaftsanfrage.",new_friendship_requests:"neue Freundschaftsanfragen.",new_message:"neue Nachricht.",new_messages:"neue Nachrichten.",no_new_friendship_requests:"Es liegen keine neuen Freundschaftsanfragen vor.",register:"Registrieren",ticker:"Schreibe im Ticker \u00fcber Deine Aktivit\u00e4ten.",users:"User",you_got:"Du hast"}}}};function less_json_eval(json){return eval("("+json+")")}function jq_defined(){return typeof(jQuery)!="undefined"}function less_get_params(b){if(jq_defined()){return b}if(b==null){return""}var a=[];for(prop in b){a.push(prop+"="+b[prop])}return a.join("&")+""}function less_merge_objects(d,c){if(c==null){return d}z=new Object;for(prop in d){z[prop]=d[prop]}for(prop in c){z[prop]=c[prop]}return z}function less_ajax(b,e,d,a){if(e==undefined){e="get"}var c;if(jq_defined()){v=e.toLowerCase()=="get"?"GET":"POST";if(e.toLowerCase()=="get"||e.toLowerCase()=="post"){p=less_get_params(d)}else{p=less_get_params(less_merge_objects({_method:e.toLowerCase()},d))}c=jQuery.ajax(less_merge_objects({async:false,url:b,type:v,data:p},a)).responseText}else{new Ajax.Request(b,less_merge_objects({asynchronous:false,method:e,parameters:less_get_params(d),onComplete:function(f){c=f.responseText}},a))}if(b.indexOf(".json")==b.length-5){return less_json_eval(c)}else{return c}}function less_ajaxx(url,verb,params,options){if(verb==undefined){verb="get"}if(jq_defined()){v=verb.toLowerCase()=="get"?"GET":"POST";if(verb.toLowerCase()=="get"||verb.toLowerCase()=="post"){p=less_get_params(params)}else{p=less_get_params(less_merge_objects({_method:verb.toLowerCase()},params))}jQuery.ajax(less_merge_objects({url:url,type:v,data:p,complete:function(r){eval(r.responseText)}},options))}else{new Ajax.Request(url,less_merge_objects({method:verb,parameters:less_get_params(params),onComplete:function(r){eval(r.responseText)}},options))}}function less_check_parameter(a){if(a===undefined){a=""}return a}function less_check_format(a){if(a===undefined){a=""}else{a="."+a}return a}function oauth_clients_path(a,b){a=less_check_format(a);return"/oauth_clients"+a+""}function oauth_clients_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/oauth_clients"+b+"",d,c,a)}function oauth_clients_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/oauth_clients"+b+"",d,c,a)}function new_oauth_client_path(a,b){a=less_check_format(a);return"/oauth_clients/new"+a+""}function new_oauth_client_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/oauth_clients/new"+b+"",d,c,a)}function new_oauth_client_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/oauth_clients/new"+b+"",d,c,a)}function edit_oauth_client_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/oauth_clients/"+c+"/edit"+a+""}function edit_oauth_client_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/oauth_clients/"+e+"/edit"+b+"",d,c,a)}function edit_oauth_client_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/oauth_clients/"+e+"/edit"+b+"",d,c,a)}function oauth_client_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/oauth_clients/"+c+""+a+""}function oauth_client_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/oauth_clients/"+e+""+b+"",d,c,a)}function oauth_client_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/oauth_clients/"+e+""+b+"",d,c,a)}function test_request_path(a){return"/oauth/test_request"}function test_request_ajax(c,b,a){return less_ajax("/oauth/test_request",c,b,a)}function test_request_ajaxx(c,b,a){return less_ajaxx("/oauth/test_request",c,b,a)}function access_token_path(a){return"/oauth/access_token"}function access_token_ajax(c,b,a){return less_ajax("/oauth/access_token",c,b,a)}function access_token_ajaxx(c,b,a){return less_ajaxx("/oauth/access_token",c,b,a)}function request_token_path(a){return"/oauth/request_token"}function request_token_ajax(c,b,a){return less_ajax("/oauth/request_token",c,b,a)}function request_token_ajaxx(c,b,a){return less_ajaxx("/oauth/request_token",c,b,a)}function authorize_path(a){return"/oauth/authorize"}function authorize_ajax(c,b,a){return less_ajax("/oauth/authorize",c,b,a)}function authorize_ajaxx(c,b,a){return less_ajaxx("/oauth/authorize",c,b,a)}function oauth_path(a){return"/oauth"}function oauth_ajax(c,b,a){return less_ajax("/oauth",c,b,a)}function oauth_ajaxx(c,b,a){return less_ajaxx("/oauth",c,b,a)}function oauth_revoke_path(a){return"/oauth"}function oauth_revoke_ajax(c,b,a){return less_ajax("/oauth",c,b,a)}function oauth_revoke_ajaxx(c,b,a){return less_ajaxx("/oauth",c,b,a)}function exceptions_path(a,c,b){a=less_check_parameter(a);c=less_check_parameter(c);return"/logged_exceptions/"+a+"/"+c+""}function exceptions_ajax(b,e,d,c,a){b=less_check_parameter(b);e=less_check_parameter(e);return less_ajax("/logged_exceptions/"+b+"/"+e+"",d,c,a)}function exceptions_ajaxx(b,e,d,c,a){b=less_check_parameter(b);e=less_check_parameter(e);return less_ajaxx("/logged_exceptions/"+b+"/"+e+"",d,c,a)}function new_search_path(a,b){a=less_check_format(a);return"/search/new"+a+""}function new_search_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/search/new"+b+"",d,c,a)}function new_search_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/search/new"+b+"",d,c,a)}function edit_search_path(a,b){a=less_check_format(a);return"/search/edit"+a+""}function edit_search_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/search/edit"+b+"",d,c,a)}function edit_search_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/search/edit"+b+"",d,c,a)}function location_search_search_path(a,b){a=less_check_format(a);return"/search/location_search"+a+""}function location_search_search_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/search/location_search"+b+"",d,c,a)}function location_search_search_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/search/location_search"+b+"",d,c,a)}function user_search_search_path(a,b){a=less_check_format(a);return"/search/user_search"+a+""}function user_search_search_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/search/user_search"+b+"",d,c,a)}function user_search_search_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/search/user_search"+b+"",d,c,a)}function search_search_path(a,b){a=less_check_format(a);return"/search/search"+a+""}function search_search_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/search/search"+b+"",d,c,a)}function search_search_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/search/search"+b+"",d,c,a)}function search_path(a,b){a=less_check_format(a);return"/search"+a+""}function search_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/search"+b+"",d,c,a)}function search_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/search"+b+"",d,c,a)}function create_location_activity_api_v1_activities_path(a,b){a=less_check_format(a);return"/api/v1/activities/create_location_activity"+a+""}function create_location_activity_api_v1_activities_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/api/v1/activities/create_location_activity"+b+"",d,c,a)}function create_location_activity_api_v1_activities_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/api/v1/activities/create_location_activity"+b+"",d,c,a)}function create_text_activity_api_v1_activities_path(a,b){a=less_check_format(a);return"/api/v1/activities/create_text_activity"+a+""}function create_text_activity_api_v1_activities_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/api/v1/activities/create_text_activity"+b+"",d,c,a)}function create_text_activity_api_v1_activities_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/api/v1/activities/create_text_activity"+b+"",d,c,a)}function favorite_locations_api_v1_users_path(a,b){a=less_check_format(a);return"/api/v1/users/favorite_locations"+a+""}function favorite_locations_api_v1_users_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/api/v1/users/favorite_locations"+b+"",d,c,a)}function favorite_locations_api_v1_users_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/api/v1/users/favorite_locations"+b+"",d,c,a)}function my_items_api_v1_users_path(a,b){a=less_check_format(a);return"/api/v1/users/my_items"+a+""}function my_items_api_v1_users_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/api/v1/users/my_items"+b+"",d,c,a)}function my_items_api_v1_users_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/api/v1/users/my_items"+b+"",d,c,a)}function update_settings_api_v1_users_path(a,b){a=less_check_format(a);return"/api/v1/users/update_settings"+a+""}function update_settings_api_v1_users_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/api/v1/users/update_settings"+b+"",d,c,a)}function update_settings_api_v1_users_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/api/v1/users/update_settings"+b+"",d,c,a)}function locations_around_api_v1_users_path(a,b){a=less_check_format(a);return"/api/v1/users/locations_around"+a+""}function locations_around_api_v1_users_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/api/v1/users/locations_around"+b+"",d,c,a)}function locations_around_api_v1_users_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/api/v1/users/locations_around"+b+"",d,c,a)}function home_api_v1_users_path(a,b){a=less_check_format(a);return"/api/v1/users/home"+a+""}function home_api_v1_users_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/api/v1/users/home"+b+"",d,c,a)}function home_api_v1_users_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/api/v1/users/home"+b+"",d,c,a)}function search_api_v1_users_path(a,b){a=less_check_format(a);return"/api/v1/users/search"+a+""}function search_api_v1_users_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/api/v1/users/search"+b+"",d,c,a)}function search_api_v1_users_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/api/v1/users/search"+b+"",d,c,a)}function login_api_v1_users_path(a,b){a=less_check_format(a);return"/api/v1/users/login"+a+""}function login_api_v1_users_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/api/v1/users/login"+b+"",d,c,a)}function login_api_v1_users_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/api/v1/users/login"+b+"",d,c,a)}function compare_api_v1_users_path(a,b){a=less_check_format(a);return"/api/v1/users/compare"+a+""}function compare_api_v1_users_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/api/v1/users/compare"+b+"",d,c,a)}function compare_api_v1_users_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/api/v1/users/compare"+b+"",d,c,a)}function api_v1_users_path(a,b){a=less_check_format(a);return"/api/v1/users"+a+""}function api_v1_users_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/api/v1/users"+b+"",d,c,a)}function api_v1_users_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/api/v1/users"+b+"",d,c,a)}function new_api_v1_user_path(a,b){a=less_check_format(a);return"/api/v1/users/new"+a+""}function new_api_v1_user_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/api/v1/users/new"+b+"",d,c,a)}function new_api_v1_user_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/api/v1/users/new"+b+"",d,c,a)}function friends_api_v1_user_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/api/v1/users/"+c+"/friends"+a+""}function friends_api_v1_user_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/api/v1/users/"+e+"/friends"+b+"",d,c,a)}function friends_api_v1_user_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/api/v1/users/"+e+"/friends"+b+"",d,c,a)}function show_api_v1_user_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/api/v1/users/"+c+"/show"+a+""}function show_api_v1_user_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/api/v1/users/"+e+"/show"+b+"",d,c,a)}function show_api_v1_user_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/api/v1/users/"+e+"/show"+b+"",d,c,a)}function api_v1_user_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/api/v1/users/"+c+""+a+""}function api_v1_user_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/api/v1/users/"+e+""+b+"",d,c,a)}function api_v1_user_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/api/v1/users/"+e+""+b+"",d,c,a)}function search_api_v1_locations_path(a,b){a=less_check_format(a);return"/api/v1/locations/search"+a+""}function search_api_v1_locations_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/api/v1/locations/search"+b+"",d,c,a)}function search_api_v1_locations_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/api/v1/locations/search"+b+"",d,c,a)}function check_in_api_v1_location_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/api/v1/locations/"+c+"/check_in"+a+""}function check_in_api_v1_location_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/api/v1/locations/"+e+"/check_in"+b+"",d,c,a)}function check_in_api_v1_location_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/api/v1/locations/"+e+"/check_in"+b+"",d,c,a)}function check_out_api_v1_location_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/api/v1/locations/"+c+"/check_out"+a+""}function check_out_api_v1_location_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/api/v1/locations/"+e+"/check_out"+b+"",d,c,a)}function check_out_api_v1_location_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/api/v1/locations/"+e+"/check_out"+b+"",d,c,a)}function activities_api_v1_location_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/api/v1/locations/"+c+"/activities"+a+""}function activities_api_v1_location_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/api/v1/locations/"+e+"/activities"+b+"",d,c,a)}function activities_api_v1_location_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/api/v1/locations/"+e+"/activities"+b+"",d,c,a)}function api_v1_location_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/api/v1/locations/"+c+""+a+""}function api_v1_location_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/api/v1/locations/"+e+""+b+"",d,c,a)}function api_v1_location_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/api/v1/locations/"+e+""+b+"",d,c,a)}function send_virtual_good_api_v1_messages_path(a,b){a=less_check_format(a);return"/api/v1/messages/send_virtual_good"+a+""}function send_virtual_good_api_v1_messages_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/api/v1/messages/send_virtual_good"+b+"",d,c,a)}function send_virtual_good_api_v1_messages_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/api/v1/messages/send_virtual_good"+b+"",d,c,a)}function list_api_v1_messages_path(a,b){a=less_check_format(a);return"/api/v1/messages/list"+a+""}function list_api_v1_messages_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/api/v1/messages/list"+b+"",d,c,a)}function list_api_v1_messages_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/api/v1/messages/list"+b+"",d,c,a)}function received_gifts_api_v1_messages_path(a,b){a=less_check_format(a);return"/api/v1/messages/received_gifts"+a+""}function received_gifts_api_v1_messages_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/api/v1/messages/received_gifts"+b+"",d,c,a)}function received_gifts_api_v1_messages_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/api/v1/messages/received_gifts"+b+"",d,c,a)}function api_v1_badge_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/api/v1/badges/"+c+""+a+""}function api_v1_badge_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/api/v1/badges/"+e+""+b+"",d,c,a)}function api_v1_badge_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/api/v1/badges/"+e+""+b+"",d,c,a)}function create_location_activity_api_v2_activities_path(a,b){a=less_check_format(a);return"/api/v2/activities/create_location_activity"+a+""}function create_location_activity_api_v2_activities_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/api/v2/activities/create_location_activity"+b+"",d,c,a)}function create_location_activity_api_v2_activities_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/api/v2/activities/create_location_activity"+b+"",d,c,a)}function create_text_activity_api_v2_activities_path(a,b){a=less_check_format(a);return"/api/v2/activities/create_text_activity"+a+""}function create_text_activity_api_v2_activities_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/api/v2/activities/create_text_activity"+b+"",d,c,a)}function create_text_activity_api_v2_activities_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/api/v2/activities/create_text_activity"+b+"",d,c,a)}function favorite_locations_api_v2_users_path(a,b){a=less_check_format(a);return"/api/v2/users/favorite_locations"+a+""}function favorite_locations_api_v2_users_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/api/v2/users/favorite_locations"+b+"",d,c,a)}function favorite_locations_api_v2_users_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/api/v2/users/favorite_locations"+b+"",d,c,a)}function my_items_api_v2_users_path(a,b){a=less_check_format(a);return"/api/v2/users/my_items"+a+""}function my_items_api_v2_users_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/api/v2/users/my_items"+b+"",d,c,a)}function my_items_api_v2_users_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/api/v2/users/my_items"+b+"",d,c,a)}function update_settings_api_v2_users_path(a,b){a=less_check_format(a);return"/api/v2/users/update_settings"+a+""}function update_settings_api_v2_users_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/api/v2/users/update_settings"+b+"",d,c,a)}function update_settings_api_v2_users_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/api/v2/users/update_settings"+b+"",d,c,a)}function locations_around_api_v2_users_path(a,b){a=less_check_format(a);return"/api/v2/users/locations_around"+a+""}function locations_around_api_v2_users_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/api/v2/users/locations_around"+b+"",d,c,a)}function locations_around_api_v2_users_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/api/v2/users/locations_around"+b+"",d,c,a)}function home_api_v2_users_path(a,b){a=less_check_format(a);return"/api/v2/users/home"+a+""}function home_api_v2_users_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/api/v2/users/home"+b+"",d,c,a)}function home_api_v2_users_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/api/v2/users/home"+b+"",d,c,a)}function search_api_v2_users_path(a,b){a=less_check_format(a);return"/api/v2/users/search"+a+""}function search_api_v2_users_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/api/v2/users/search"+b+"",d,c,a)}function search_api_v2_users_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/api/v2/users/search"+b+"",d,c,a)}function check_availability_api_v2_users_path(a,b){a=less_check_format(a);return"/api/v2/users/check_availability"+a+""}function check_availability_api_v2_users_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/api/v2/users/check_availability"+b+"",d,c,a)}function check_availability_api_v2_users_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/api/v2/users/check_availability"+b+"",d,c,a)}function login_api_v2_users_path(a,b){a=less_check_format(a);return"/api/v2/users/login"+a+""}function login_api_v2_users_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/api/v2/users/login"+b+"",d,c,a)}function login_api_v2_users_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/api/v2/users/login"+b+"",d,c,a)}function compare_api_v2_users_path(a,b){a=less_check_format(a);return"/api/v2/users/compare"+a+""}function compare_api_v2_users_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/api/v2/users/compare"+b+"",d,c,a)}function compare_api_v2_users_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/api/v2/users/compare"+b+"",d,c,a)}function api_v2_users_path(a,b){a=less_check_format(a);return"/api/v2/users"+a+""}function api_v2_users_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/api/v2/users"+b+"",d,c,a)}function api_v2_users_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/api/v2/users"+b+"",d,c,a)}function new_api_v2_user_path(a,b){a=less_check_format(a);return"/api/v2/users/new"+a+""}function new_api_v2_user_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/api/v2/users/new"+b+"",d,c,a)}function new_api_v2_user_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/api/v2/users/new"+b+"",d,c,a)}function remove_friend_api_v2_user_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/api/v2/users/"+c+"/remove_friend"+a+""}function remove_friend_api_v2_user_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/api/v2/users/"+e+"/remove_friend"+b+"",d,c,a)}function remove_friend_api_v2_user_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/api/v2/users/"+e+"/remove_friend"+b+"",d,c,a)}function cancel_request_api_v2_user_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/api/v2/users/"+c+"/cancel_request"+a+""}function cancel_request_api_v2_user_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/api/v2/users/"+e+"/cancel_request"+b+"",d,c,a)}function cancel_request_api_v2_user_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/api/v2/users/"+e+"/cancel_request"+b+"",d,c,a)}function friends_api_v2_user_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/api/v2/users/"+c+"/friends"+a+""}function friends_api_v2_user_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/api/v2/users/"+e+"/friends"+b+"",d,c,a)}function friends_api_v2_user_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/api/v2/users/"+e+"/friends"+b+"",d,c,a)}function show_api_v2_user_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/api/v2/users/"+c+"/show"+a+""}function show_api_v2_user_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/api/v2/users/"+e+"/show"+b+"",d,c,a)}function show_api_v2_user_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/api/v2/users/"+e+"/show"+b+"",d,c,a)}function decline_request_api_v2_user_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/api/v2/users/"+c+"/decline_request"+a+""}function decline_request_api_v2_user_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/api/v2/users/"+e+"/decline_request"+b+"",d,c,a)}function decline_request_api_v2_user_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/api/v2/users/"+e+"/decline_request"+b+"",d,c,a)}function request_friend_api_v2_user_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/api/v2/users/"+c+"/request_friend"+a+""}function request_friend_api_v2_user_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/api/v2/users/"+e+"/request_friend"+b+"",d,c,a)}function request_friend_api_v2_user_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/api/v2/users/"+e+"/request_friend"+b+"",d,c,a)}function add_friend_api_v2_user_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/api/v2/users/"+c+"/add_friend"+a+""}function add_friend_api_v2_user_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/api/v2/users/"+e+"/add_friend"+b+"",d,c,a)}function add_friend_api_v2_user_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/api/v2/users/"+e+"/add_friend"+b+"",d,c,a)}function api_v2_user_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/api/v2/users/"+c+""+a+""}function api_v2_user_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/api/v2/users/"+e+""+b+"",d,c,a)}function api_v2_user_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/api/v2/users/"+e+""+b+"",d,c,a)}function search_api_v2_locations_path(a,b){a=less_check_format(a);return"/api/v2/locations/search"+a+""}function search_api_v2_locations_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/api/v2/locations/search"+b+"",d,c,a)}function search_api_v2_locations_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/api/v2/locations/search"+b+"",d,c,a)}function search2_api_v2_locations_path(a,b){a=less_check_format(a);return"/api/v2/locations/search2"+a+""}function search2_api_v2_locations_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/api/v2/locations/search2"+b+"",d,c,a)}function search2_api_v2_locations_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/api/v2/locations/search2"+b+"",d,c,a)}function check_duplicates_api_v2_locations_path(a,b){a=less_check_format(a);return"/api/v2/locations/check_duplicates"+a+""}function check_duplicates_api_v2_locations_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/api/v2/locations/check_duplicates"+b+"",d,c,a)}function check_duplicates_api_v2_locations_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/api/v2/locations/check_duplicates"+b+"",d,c,a)}function api_v2_locations_path(a,b){a=less_check_format(a);return"/api/v2/locations"+a+""}function api_v2_locations_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/api/v2/locations"+b+"",d,c,a)}function api_v2_locations_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/api/v2/locations"+b+"",d,c,a)}function new_api_v2_location_path(a,b){a=less_check_format(a);return"/api/v2/locations/new"+a+""}function new_api_v2_location_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/api/v2/locations/new"+b+"",d,c,a)}function new_api_v2_location_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/api/v2/locations/new"+b+"",d,c,a)}function check_in_api_v2_location_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/api/v2/locations/"+c+"/check_in"+a+""}function check_in_api_v2_location_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/api/v2/locations/"+e+"/check_in"+b+"",d,c,a)}function check_in_api_v2_location_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/api/v2/locations/"+e+"/check_in"+b+"",d,c,a)}function check_out_api_v2_location_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/api/v2/locations/"+c+"/check_out"+a+""}function check_out_api_v2_location_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/api/v2/locations/"+e+"/check_out"+b+"",d,c,a)}function check_out_api_v2_location_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/api/v2/locations/"+e+"/check_out"+b+"",d,c,a)}function activities_api_v2_location_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/api/v2/locations/"+c+"/activities"+a+""}function activities_api_v2_location_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/api/v2/locations/"+e+"/activities"+b+"",d,c,a)}function activities_api_v2_location_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/api/v2/locations/"+e+"/activities"+b+"",d,c,a)}function api_v2_location_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/api/v2/locations/"+c+""+a+""}function api_v2_location_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/api/v2/locations/"+e+""+b+"",d,c,a)}function api_v2_location_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/api/v2/locations/"+e+""+b+"",d,c,a)}function send_virtual_good_api_v2_messages_path(a,b){a=less_check_format(a);return"/api/v2/messages/send_virtual_good"+a+""}function send_virtual_good_api_v2_messages_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/api/v2/messages/send_virtual_good"+b+"",d,c,a)}function send_virtual_good_api_v2_messages_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/api/v2/messages/send_virtual_good"+b+"",d,c,a)}function list_api_v2_messages_path(a,b){a=less_check_format(a);return"/api/v2/messages/list"+a+""}function list_api_v2_messages_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/api/v2/messages/list"+b+"",d,c,a)}function list_api_v2_messages_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/api/v2/messages/list"+b+"",d,c,a)}function received_gifts_api_v2_messages_path(a,b){a=less_check_format(a);return"/api/v2/messages/received_gifts"+a+""}function received_gifts_api_v2_messages_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/api/v2/messages/received_gifts"+b+"",d,c,a)}function received_gifts_api_v2_messages_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/api/v2/messages/received_gifts"+b+"",d,c,a)}function api_v2_item_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/api/v2/items/"+c+""+a+""}function api_v2_item_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/api/v2/items/"+e+""+b+"",d,c,a)}function api_v2_item_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/api/v2/items/"+e+""+b+"",d,c,a)}function create_location_activity_api_v3_activities_path(a,b){a=less_check_format(a);return"/api/v3/activities/create_location_activity"+a+""}function create_location_activity_api_v3_activities_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/api/v3/activities/create_location_activity"+b+"",d,c,a)}function create_location_activity_api_v3_activities_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/api/v3/activities/create_location_activity"+b+"",d,c,a)}function favorite_locations_api_v3_users_path(a,b){a=less_check_format(a);return"/api/v3/users/favorite_locations"+a+""}function favorite_locations_api_v3_users_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/api/v3/users/favorite_locations"+b+"",d,c,a)}function favorite_locations_api_v3_users_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/api/v3/users/favorite_locations"+b+"",d,c,a)}function connect_facebook_api_v3_users_path(a,b){a=less_check_format(a);return"/api/v3/users/connect_facebook"+a+""}function connect_facebook_api_v3_users_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/api/v3/users/connect_facebook"+b+"",d,c,a)}function connect_facebook_api_v3_users_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/api/v3/users/connect_facebook"+b+"",d,c,a)}function my_items_api_v3_users_path(a,b){a=less_check_format(a);return"/api/v3/users/my_items"+a+""}function my_items_api_v3_users_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/api/v3/users/my_items"+b+"",d,c,a)}function my_items_api_v3_users_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/api/v3/users/my_items"+b+"",d,c,a)}function disconnect_facebook_api_v3_users_path(a,b){a=less_check_format(a);return"/api/v3/users/disconnect_facebook"+a+""}function disconnect_facebook_api_v3_users_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/api/v3/users/disconnect_facebook"+b+"",d,c,a)}function disconnect_facebook_api_v3_users_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/api/v3/users/disconnect_facebook"+b+"",d,c,a)}function facebook_friends_api_v3_users_path(a,b){a=less_check_format(a);return"/api/v3/users/facebook_friends"+a+""}function facebook_friends_api_v3_users_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/api/v3/users/facebook_friends"+b+"",d,c,a)}function facebook_friends_api_v3_users_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/api/v3/users/facebook_friends"+b+"",d,c,a)}function update_settings_api_v3_users_path(a,b){a=less_check_format(a);return"/api/v3/users/update_settings"+a+""}function update_settings_api_v3_users_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/api/v3/users/update_settings"+b+"",d,c,a)}function update_settings_api_v3_users_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/api/v3/users/update_settings"+b+"",d,c,a)}function facebook_connect_status_api_v3_users_path(a,b){a=less_check_format(a);return"/api/v3/users/facebook_connect_status"+a+""}function facebook_connect_status_api_v3_users_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/api/v3/users/facebook_connect_status"+b+"",d,c,a)}function facebook_connect_status_api_v3_users_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/api/v3/users/facebook_connect_status"+b+"",d,c,a)}function home_api_v3_users_path(a,b){a=less_check_format(a);return"/api/v3/users/home"+a+""}function home_api_v3_users_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/api/v3/users/home"+b+"",d,c,a)}function home_api_v3_users_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/api/v3/users/home"+b+"",d,c,a)}function search_api_v3_users_path(a,b){a=less_check_format(a);return"/api/v3/users/search"+a+""}function search_api_v3_users_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/api/v3/users/search"+b+"",d,c,a)}function search_api_v3_users_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/api/v3/users/search"+b+"",d,c,a)}function check_availability_api_v3_users_path(a,b){a=less_check_format(a);return"/api/v3/users/check_availability"+a+""}function check_availability_api_v3_users_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/api/v3/users/check_availability"+b+"",d,c,a)}function check_availability_api_v3_users_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/api/v3/users/check_availability"+b+"",d,c,a)}function register_apn_device_api_v3_users_path(a,b){a=less_check_format(a);return"/api/v3/users/register_apn_device"+a+""}function register_apn_device_api_v3_users_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/api/v3/users/register_apn_device"+b+"",d,c,a)}function register_apn_device_api_v3_users_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/api/v3/users/register_apn_device"+b+"",d,c,a)}function login_api_v3_users_path(a,b){a=less_check_format(a);return"/api/v3/users/login"+a+""}function login_api_v3_users_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/api/v3/users/login"+b+"",d,c,a)}function login_api_v3_users_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/api/v3/users/login"+b+"",d,c,a)}function login_guest_api_v3_users_path(a,b){a=less_check_format(a);return"/api/v3/users/login_guest"+a+""}function login_guest_api_v3_users_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/api/v3/users/login_guest"+b+"",d,c,a)}function login_guest_api_v3_users_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/api/v3/users/login_guest"+b+"",d,c,a)}function api_v3_users_path(a,b){a=less_check_format(a);return"/api/v3/users"+a+""}function api_v3_users_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/api/v3/users"+b+"",d,c,a)}function api_v3_users_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/api/v3/users"+b+"",d,c,a)}function new_api_v3_user_path(a,b){a=less_check_format(a);return"/api/v3/users/new"+a+""}function new_api_v3_user_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/api/v3/users/new"+b+"",d,c,a)}function new_api_v3_user_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/api/v3/users/new"+b+"",d,c,a)}function update_profile_api_v3_user_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/api/v3/users/"+c+"/update_profile"+a+""}function update_profile_api_v3_user_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/api/v3/users/"+e+"/update_profile"+b+"",d,c,a)}function update_profile_api_v3_user_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/api/v3/users/"+e+"/update_profile"+b+"",d,c,a)}function update_password_api_v3_user_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/api/v3/users/"+c+"/update_password"+a+""}function update_password_api_v3_user_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/api/v3/users/"+e+"/update_password"+b+"",d,c,a)}function update_password_api_v3_user_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/api/v3/users/"+e+"/update_password"+b+"",d,c,a)}function edit_api_v3_user_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/api/v3/users/"+c+"/edit"+a+""}function edit_api_v3_user_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/api/v3/users/"+e+"/edit"+b+"",d,c,a)}function edit_api_v3_user_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/api/v3/users/"+e+"/edit"+b+"",d,c,a)}function remove_friend_api_v3_user_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/api/v3/users/"+c+"/remove_friend"+a+""}function remove_friend_api_v3_user_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/api/v3/users/"+e+"/remove_friend"+b+"",d,c,a)}function remove_friend_api_v3_user_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/api/v3/users/"+e+"/remove_friend"+b+"",d,c,a)}function cancel_request_api_v3_user_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/api/v3/users/"+c+"/cancel_request"+a+""}function cancel_request_api_v3_user_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/api/v3/users/"+e+"/cancel_request"+b+"",d,c,a)}function cancel_request_api_v3_user_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/api/v3/users/"+e+"/cancel_request"+b+"",d,c,a)}function friends_api_v3_user_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/api/v3/users/"+c+"/friends"+a+""}function friends_api_v3_user_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/api/v3/users/"+e+"/friends"+b+"",d,c,a)}function friends_api_v3_user_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/api/v3/users/"+e+"/friends"+b+"",d,c,a)}function show_api_v3_user_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/api/v3/users/"+c+"/show"+a+""}function show_api_v3_user_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/api/v3/users/"+e+"/show"+b+"",d,c,a)}function show_api_v3_user_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/api/v3/users/"+e+"/show"+b+"",d,c,a)}function decline_request_api_v3_user_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/api/v3/users/"+c+"/decline_request"+a+""}function decline_request_api_v3_user_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/api/v3/users/"+e+"/decline_request"+b+"",d,c,a)}function decline_request_api_v3_user_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/api/v3/users/"+e+"/decline_request"+b+"",d,c,a)}function request_friend_api_v3_user_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/api/v3/users/"+c+"/request_friend"+a+""}function request_friend_api_v3_user_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/api/v3/users/"+e+"/request_friend"+b+"",d,c,a)}function request_friend_api_v3_user_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/api/v3/users/"+e+"/request_friend"+b+"",d,c,a)}function add_friend_api_v3_user_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/api/v3/users/"+c+"/add_friend"+a+""}function add_friend_api_v3_user_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/api/v3/users/"+e+"/add_friend"+b+"",d,c,a)}function add_friend_api_v3_user_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/api/v3/users/"+e+"/add_friend"+b+"",d,c,a)}function api_v3_user_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/api/v3/users/"+c+""+a+""}function api_v3_user_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/api/v3/users/"+e+""+b+"",d,c,a)}function api_v3_user_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/api/v3/users/"+e+""+b+"",d,c,a)}function validate_address_api_v3_locations_path(a,b){a=less_check_format(a);return"/api/v3/locations/validate_address"+a+""}function validate_address_api_v3_locations_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/api/v3/locations/validate_address"+b+"",d,c,a)}function validate_address_api_v3_locations_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/api/v3/locations/validate_address"+b+"",d,c,a)}function search_api_v3_locations_path(a,b){a=less_check_format(a);return"/api/v3/locations/search"+a+""}function search_api_v3_locations_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/api/v3/locations/search"+b+"",d,c,a)}function search_api_v3_locations_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/api/v3/locations/search"+b+"",d,c,a)}function search2_api_v3_locations_path(a,b){a=less_check_format(a);return"/api/v3/locations/search2"+a+""}function search2_api_v3_locations_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/api/v3/locations/search2"+b+"",d,c,a)}function search2_api_v3_locations_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/api/v3/locations/search2"+b+"",d,c,a)}function hotspots_api_v3_locations_path(a,b){a=less_check_format(a);return"/api/v3/locations/hotspots"+a+""}function hotspots_api_v3_locations_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/api/v3/locations/hotspots"+b+"",d,c,a)}function hotspots_api_v3_locations_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/api/v3/locations/hotspots"+b+"",d,c,a)}function check_duplicates_api_v3_locations_path(a,b){a=less_check_format(a);return"/api/v3/locations/check_duplicates"+a+""}function check_duplicates_api_v3_locations_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/api/v3/locations/check_duplicates"+b+"",d,c,a)}function check_duplicates_api_v3_locations_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/api/v3/locations/check_duplicates"+b+"",d,c,a)}function api_v3_locations_path(a,b){a=less_check_format(a);return"/api/v3/locations"+a+""}function api_v3_locations_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/api/v3/locations"+b+"",d,c,a)}function api_v3_locations_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/api/v3/locations"+b+"",d,c,a)}function new_api_v3_location_path(a,b){a=less_check_format(a);return"/api/v3/locations/new"+a+""}function new_api_v3_location_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/api/v3/locations/new"+b+"",d,c,a)}function new_api_v3_location_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/api/v3/locations/new"+b+"",d,c,a)}function check_in_api_v3_location_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/api/v3/locations/"+c+"/check_in"+a+""}function check_in_api_v3_location_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/api/v3/locations/"+e+"/check_in"+b+"",d,c,a)}function check_in_api_v3_location_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/api/v3/locations/"+e+"/check_in"+b+"",d,c,a)}function check_out_api_v3_location_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/api/v3/locations/"+c+"/check_out"+a+""}function check_out_api_v3_location_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/api/v3/locations/"+e+"/check_out"+b+"",d,c,a)}function check_out_api_v3_location_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/api/v3/locations/"+e+"/check_out"+b+"",d,c,a)}function api_v3_location_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/api/v3/locations/"+c+""+a+""}function api_v3_location_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/api/v3/locations/"+e+""+b+"",d,c,a)}function api_v3_location_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/api/v3/locations/"+e+""+b+"",d,c,a)}function send_virtual_good_api_v3_messages_path(a,b){a=less_check_format(a);return"/api/v3/messages/send_virtual_good"+a+""}function send_virtual_good_api_v3_messages_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/api/v3/messages/send_virtual_good"+b+"",d,c,a)}function send_virtual_good_api_v3_messages_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/api/v3/messages/send_virtual_good"+b+"",d,c,a)}function list_api_v3_messages_path(a,b){a=less_check_format(a);return"/api/v3/messages/list"+a+""}function list_api_v3_messages_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/api/v3/messages/list"+b+"",d,c,a)}function list_api_v3_messages_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/api/v3/messages/list"+b+"",d,c,a)}function delete_api_v3_messages_path(a,b){a=less_check_format(a);return"/api/v3/messages/delete"+a+""}function delete_api_v3_messages_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/api/v3/messages/delete"+b+"",d,c,a)}function delete_api_v3_messages_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/api/v3/messages/delete"+b+"",d,c,a)}function new_api_v3_message_path(a,b){a=less_check_format(a);return"/api/v3/messages/new"+a+""}function new_api_v3_message_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/api/v3/messages/new"+b+"",d,c,a)}function new_api_v3_message_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/api/v3/messages/new"+b+"",d,c,a)}function api_v3_message_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/api/v3/messages/"+c+""+a+""}function api_v3_message_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/api/v3/messages/"+e+""+b+"",d,c,a)}function api_v3_message_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/api/v3/messages/"+e+""+b+"",d,c,a)}function api_v3_item_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/api/v3/items/"+c+""+a+""}function api_v3_item_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/api/v3/items/"+e+""+b+"",d,c,a)}function api_v3_item_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/api/v3/items/"+e+""+b+"",d,c,a)}function api_error_path(a,b){a=less_check_parameter(a);return"/api/"+a+""}function api_error_ajax(b,d,c,a){b=less_check_parameter(b);return less_ajax("/api/"+b+"",d,c,a)}function api_error_ajaxx(b,d,c,a){b=less_check_parameter(b);return less_ajaxx("/api/"+b+"",d,c,a)}function pre_export_admin_statistics_locations_path(a,b){a=less_check_format(a);return"/admin/statistics/locations/pre_export"+a+""}function pre_export_admin_statistics_locations_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/admin/statistics/locations/pre_export"+b+"",d,c,a)}function pre_export_admin_statistics_locations_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/admin/statistics/locations/pre_export"+b+"",d,c,a)}function admin_statistics_locations_path(a,b){a=less_check_format(a);return"/admin/statistics/locations"+a+""}function admin_statistics_locations_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/admin/statistics/locations"+b+"",d,c,a)}function admin_statistics_locations_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/admin/statistics/locations"+b+"",d,c,a)}function new_admin_statistics_location_path(a,b){a=less_check_format(a);return"/admin/statistics/locations/new"+a+""}function new_admin_statistics_location_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/admin/statistics/locations/new"+b+"",d,c,a)}function new_admin_statistics_location_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/admin/statistics/locations/new"+b+"",d,c,a)}function edit_admin_statistics_location_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/admin/statistics/locations/"+c+"/edit"+a+""}function edit_admin_statistics_location_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/admin/statistics/locations/"+e+"/edit"+b+"",d,c,a)}function edit_admin_statistics_location_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/admin/statistics/locations/"+e+"/edit"+b+"",d,c,a)}function admin_statistics_location_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/admin/statistics/locations/"+c+""+a+""}function admin_statistics_location_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/admin/statistics/locations/"+e+""+b+"",d,c,a)}function admin_statistics_location_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/admin/statistics/locations/"+e+""+b+"",d,c,a)}function admin_statistics_locator_users_stat_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/admin/statistics/locator_users_stats/"+c+""+a+""}function admin_statistics_locator_users_stat_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/admin/statistics/locator_users_stats/"+e+""+b+"",d,c,a)}function admin_statistics_locator_users_stat_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/admin/statistics/locator_users_stats/"+e+""+b+"",d,c,a)}function admin_statistics_heats_path(a,b){a=less_check_format(a);return"/admin/statistics/heats"+a+""}function admin_statistics_heats_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/admin/statistics/heats"+b+"",d,c,a)}function admin_statistics_heats_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/admin/statistics/heats"+b+"",d,c,a)}function admin_statistics_item_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/admin/statistics/items/"+c+""+a+""}function admin_statistics_item_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/admin/statistics/items/"+e+""+b+"",d,c,a)}function admin_statistics_item_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/admin/statistics/items/"+e+""+b+"",d,c,a)}function kpis_admin_statistics_generals_path(a,b){a=less_check_format(a);return"/admin/statistics/generals/kpis"+a+""}function kpis_admin_statistics_generals_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/admin/statistics/generals/kpis"+b+"",d,c,a)}function kpis_admin_statistics_generals_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/admin/statistics/generals/kpis"+b+"",d,c,a)}function tooltips_admin_statistics_generals_path(a,b){a=less_check_format(a);return"/admin/statistics/generals/tooltips"+a+""}function tooltips_admin_statistics_generals_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/admin/statistics/generals/tooltips"+b+"",d,c,a)}function tooltips_admin_statistics_generals_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/admin/statistics/generals/tooltips"+b+"",d,c,a)}function conversion_funnel_admin_statistics_generals_path(a,b){a=less_check_format(a);return"/admin/statistics/generals/conversion_funnel"+a+""}function conversion_funnel_admin_statistics_generals_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/admin/statistics/generals/conversion_funnel"+b+"",d,c,a)}function conversion_funnel_admin_statistics_generals_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/admin/statistics/generals/conversion_funnel"+b+"",d,c,a)}function conversion_funnel_create_picture_admin_statistics_generals_path(a,b){a=less_check_format(a);return"/admin/statistics/generals/conversion_funnel_create_picture"+a+""}function conversion_funnel_create_picture_admin_statistics_generals_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/admin/statistics/generals/conversion_funnel_create_picture"+b+"",d,c,a)}function conversion_funnel_create_picture_admin_statistics_generals_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/admin/statistics/generals/conversion_funnel_create_picture"+b+"",d,c,a)}function admin_statistics_generals_path(a,b){a=less_check_format(a);return"/admin/statistics/generals"+a+""}function admin_statistics_generals_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/admin/statistics/generals"+b+"",d,c,a)}function admin_statistics_generals_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/admin/statistics/generals"+b+"",d,c,a)}function admin_root_path(a){return"/admin"}function admin_root_ajax(c,b,a){return less_ajax("/admin",c,b,a)}function admin_root_ajaxx(c,b,a){return less_ajaxx("/admin",c,b,a)}function admin_delayed_jobs_path(a,b){a=less_check_format(a);return"/admin/delayed_jobs"+a+""}function admin_delayed_jobs_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/admin/delayed_jobs"+b+"",d,c,a)}function admin_delayed_jobs_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/admin/delayed_jobs"+b+"",d,c,a)}function new_admin_delayed_job_path(a,b){a=less_check_format(a);return"/admin/delayed_jobs/new"+a+""}function new_admin_delayed_job_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/admin/delayed_jobs/new"+b+"",d,c,a)}function new_admin_delayed_job_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/admin/delayed_jobs/new"+b+"",d,c,a)}function edit_admin_delayed_job_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/admin/delayed_jobs/"+c+"/edit"+a+""}function edit_admin_delayed_job_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/admin/delayed_jobs/"+e+"/edit"+b+"",d,c,a)}function edit_admin_delayed_job_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/admin/delayed_jobs/"+e+"/edit"+b+"",d,c,a)}function admin_delayed_job_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/admin/delayed_jobs/"+c+""+a+""}function admin_delayed_job_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/admin/delayed_jobs/"+e+""+b+"",d,c,a)}function admin_delayed_job_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/admin/delayed_jobs/"+e+""+b+"",d,c,a)}function admin_search_requests_path(a,b){a=less_check_format(a);return"/admin/search_requests"+a+""}function admin_search_requests_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/admin/search_requests"+b+"",d,c,a)}function admin_search_requests_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/admin/search_requests"+b+"",d,c,a)}function getrandomlocationbycategory_admin_locations_path(a,b){a=less_check_format(a);return"/admin/locations/getrandomlocationbycategory"+a+""}function getrandomlocationbycategory_admin_locations_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/admin/locations/getrandomlocationbycategory"+b+"",d,c,a)}function getrandomlocationbycategory_admin_locations_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/admin/locations/getrandomlocationbycategory"+b+"",d,c,a)}function getrandomlocationbytiles_admin_locations_path(a,b){a=less_check_format(a);return"/admin/locations/getrandomlocationbytiles"+a+""}function getrandomlocationbytiles_admin_locations_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/admin/locations/getrandomlocationbytiles"+b+"",d,c,a)}function getrandomlocationbytiles_admin_locations_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/admin/locations/getrandomlocationbytiles"+b+"",d,c,a)}function duplicate_copies_admin_locations_path(a,b){a=less_check_format(a);return"/admin/locations/duplicate_copies"+a+""}function duplicate_copies_admin_locations_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/admin/locations/duplicate_copies"+b+"",d,c,a)}function duplicate_copies_admin_locations_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/admin/locations/duplicate_copies"+b+"",d,c,a)}function json_autocomplete_admin_locations_path(a,b){a=less_check_format(a);return"/admin/locations/json_autocomplete"+a+""}function json_autocomplete_admin_locations_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/admin/locations/json_autocomplete"+b+"",d,c,a)}function json_autocomplete_admin_locations_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/admin/locations/json_autocomplete"+b+"",d,c,a)}function index_benefits_admin_locations_path(a,b){a=less_check_format(a);return"/admin/locations/index_benefits"+a+""}function index_benefits_admin_locations_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/admin/locations/index_benefits"+b+"",d,c,a)}function index_benefits_admin_locations_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/admin/locations/index_benefits"+b+"",d,c,a)}function import_admin_locations_path(a,b){a=less_check_format(a);return"/admin/locations/import"+a+""}function import_admin_locations_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/admin/locations/import"+b+"",d,c,a)}function import_admin_locations_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/admin/locations/import"+b+"",d,c,a)}function admin_locations_path(a,b){a=less_check_format(a);return"/admin/locations"+a+""}function admin_locations_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/admin/locations"+b+"",d,c,a)}function admin_locations_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/admin/locations"+b+"",d,c,a)}function save_benefits_admin_location_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/admin/locations/"+c+"/save_benefits"+a+""}function save_benefits_admin_location_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/admin/locations/"+e+"/save_benefits"+b+"",d,c,a)}function save_benefits_admin_location_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/admin/locations/"+e+"/save_benefits"+b+"",d,c,a)}function edit_benefits_admin_location_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/admin/locations/"+c+"/edit_benefits"+a+""}function edit_benefits_admin_location_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/admin/locations/"+e+"/edit_benefits"+b+"",d,c,a)}function edit_benefits_admin_location_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/admin/locations/"+e+"/edit_benefits"+b+"",d,c,a)}function clear_benefits_admin_location_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/admin/locations/"+c+"/clear_benefits"+a+""}function clear_benefits_admin_location_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/admin/locations/"+e+"/clear_benefits"+b+"",d,c,a)}function clear_benefits_admin_location_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/admin/locations/"+e+"/clear_benefits"+b+"",d,c,a)}function remove_category_admin_location_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/admin/locations/"+c+"/remove_category"+a+""}function remove_category_admin_location_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/admin/locations/"+e+"/remove_category"+b+"",d,c,a)}function remove_category_admin_location_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/admin/locations/"+e+"/remove_category"+b+"",d,c,a)}function add_category_admin_location_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/admin/locations/"+c+"/add_category"+a+""}function add_category_admin_location_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/admin/locations/"+e+"/add_category"+b+"",d,c,a)}function add_category_admin_location_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/admin/locations/"+e+"/add_category"+b+"",d,c,a)}function edit_categories_admin_location_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/admin/locations/"+c+"/edit_categories"+a+""}function edit_categories_admin_location_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/admin/locations/"+e+"/edit_categories"+b+"",d,c,a)}function edit_categories_admin_location_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/admin/locations/"+e+"/edit_categories"+b+"",d,c,a)}function admin_location_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/admin/locations/"+c+""+a+""}function admin_location_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/admin/locations/"+e+""+b+"",d,c,a)}function admin_location_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/admin/locations/"+e+""+b+"",d,c,a)}function admin_abingo_dashboard_index_path(a,b){a=less_check_format(a);return"/admin/abingo_dashboard"+a+""}function admin_abingo_dashboard_index_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/admin/abingo_dashboard"+b+"",d,c,a)}function admin_abingo_dashboard_index_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/admin/abingo_dashboard"+b+"",d,c,a)}function end_experiment_admin_abingo_dashboard_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/admin/abingo_dashboard/"+c+"/end_experiment"+a+""}function end_experiment_admin_abingo_dashboard_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/admin/abingo_dashboard/"+e+"/end_experiment"+b+"",d,c,a)}function end_experiment_admin_abingo_dashboard_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/admin/abingo_dashboard/"+e+"/end_experiment"+b+"",d,c,a)}function admin_category_locations_path(a,b,c){a=less_check_parameter(a);b=less_check_format(b);return"/admin/categories/"+a+"/locations"+b+""}function admin_category_locations_ajax(b,c,e,d,a){b=less_check_parameter(b);c=less_check_format(c);return less_ajax("/admin/categories/"+b+"/locations"+c+"",e,d,a)}function admin_category_locations_ajaxx(b,c,e,d,a){b=less_check_parameter(b);c=less_check_format(c);return less_ajaxx("/admin/categories/"+b+"/locations"+c+"",e,d,a)}function make_visible_admin_categories_path(a,b){a=less_check_format(a);return"/admin/categories/make_visible"+a+""}function make_visible_admin_categories_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/admin/categories/make_visible"+b+"",d,c,a)}function make_visible_admin_categories_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/admin/categories/make_visible"+b+"",d,c,a)}function make_invisible_admin_categories_path(a,b){a=less_check_format(a);return"/admin/categories/make_invisible"+a+""}function make_invisible_admin_categories_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/admin/categories/make_invisible"+b+"",d,c,a)}function make_invisible_admin_categories_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/admin/categories/make_invisible"+b+"",d,c,a)}function visibility_admin_categories_path(a,b){a=less_check_format(a);return"/admin/categories/visibility"+a+""}function visibility_admin_categories_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/admin/categories/visibility"+b+"",d,c,a)}function visibility_admin_categories_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/admin/categories/visibility"+b+"",d,c,a)}function json_autocomplete_admin_categories_path(a,b){a=less_check_format(a);return"/admin/categories/json_autocomplete"+a+""}function json_autocomplete_admin_categories_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/admin/categories/json_autocomplete"+b+"",d,c,a)}function json_autocomplete_admin_categories_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/admin/categories/json_autocomplete"+b+"",d,c,a)}function import_admin_categories_path(a,b){a=less_check_format(a);return"/admin/categories/import"+a+""}function import_admin_categories_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/admin/categories/import"+b+"",d,c,a)}function import_admin_categories_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/admin/categories/import"+b+"",d,c,a)}function admin_categories_path(a,b){a=less_check_format(a);return"/admin/categories"+a+""}function admin_categories_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/admin/categories"+b+"",d,c,a)}function admin_categories_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/admin/categories"+b+"",d,c,a)}function new_admin_category_path(a,b){a=less_check_format(a);return"/admin/categories/new"+a+""}function new_admin_category_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/admin/categories/new"+b+"",d,c,a)}function new_admin_category_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/admin/categories/new"+b+"",d,c,a)}function edit_admin_category_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/admin/categories/"+c+"/edit"+a+""}function edit_admin_category_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/admin/categories/"+e+"/edit"+b+"",d,c,a)}function edit_admin_category_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/admin/categories/"+e+"/edit"+b+"",d,c,a)}function move_to_child_of_admin_category_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/admin/categories/"+c+"/move_to_child_of"+a+""}function move_to_child_of_admin_category_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/admin/categories/"+e+"/move_to_child_of"+b+"",d,c,a)}function move_to_child_of_admin_category_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/admin/categories/"+e+"/move_to_child_of"+b+"",d,c,a)}function children_admin_category_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/admin/categories/"+c+"/children"+a+""}function children_admin_category_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/admin/categories/"+e+"/children"+b+"",d,c,a)}function children_admin_category_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/admin/categories/"+e+"/children"+b+"",d,c,a)}function admin_category_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/admin/categories/"+c+""+a+""}function admin_category_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/admin/categories/"+e+""+b+"",d,c,a)}function admin_category_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/admin/categories/"+e+""+b+"",d,c,a)}function admin_locator_locations_path(a,b,c){a=less_check_parameter(a);b=less_check_format(b);return"/admin/locators/"+a+"/locations"+b+""}function admin_locator_locations_ajax(a,c,e,d,b){a=less_check_parameter(a);c=less_check_format(c);return less_ajax("/admin/locators/"+a+"/locations"+c+"",e,d,b)}function admin_locator_locations_ajaxx(a,c,e,d,b){a=less_check_parameter(a);c=less_check_format(c);return less_ajaxx("/admin/locators/"+a+"/locations"+c+"",e,d,b)}function make_visible_admin_locators_path(a,b){a=less_check_format(a);return"/admin/locators/make_visible"+a+""}function make_visible_admin_locators_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/admin/locators/make_visible"+b+"",d,c,a)}function make_visible_admin_locators_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/admin/locators/make_visible"+b+"",d,c,a)}function make_invisible_admin_locators_path(a,b){a=less_check_format(a);return"/admin/locators/make_invisible"+a+""}function make_invisible_admin_locators_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/admin/locators/make_invisible"+b+"",d,c,a)}function make_invisible_admin_locators_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/admin/locators/make_invisible"+b+"",d,c,a)}function visibility_admin_locators_path(a,b){a=less_check_format(a);return"/admin/locators/visibility"+a+""}function visibility_admin_locators_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/admin/locators/visibility"+b+"",d,c,a)}function visibility_admin_locators_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/admin/locators/visibility"+b+"",d,c,a)}function json_autocomplete_admin_locators_path(a,b){a=less_check_format(a);return"/admin/locators/json_autocomplete"+a+""}function json_autocomplete_admin_locators_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/admin/locators/json_autocomplete"+b+"",d,c,a)}function json_autocomplete_admin_locators_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/admin/locators/json_autocomplete"+b+"",d,c,a)}function admin_locators_path(a,b){a=less_check_format(a);return"/admin/locators"+a+""}function admin_locators_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/admin/locators"+b+"",d,c,a)}function admin_locators_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/admin/locators"+b+"",d,c,a)}function new_admin_locator_path(a,b){a=less_check_format(a);return"/admin/locators/new"+a+""}function new_admin_locator_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/admin/locators/new"+b+"",d,c,a)}function new_admin_locator_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/admin/locators/new"+b+"",d,c,a)}function edit_admin_locator_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/admin/locators/"+c+"/edit"+a+""}function edit_admin_locator_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/admin/locators/"+e+"/edit"+b+"",d,c,a)}function edit_admin_locator_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/admin/locators/"+e+"/edit"+b+"",d,c,a)}function top_qype_locations_csv_export_admin_locator_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/admin/locators/"+c+"/top_qype_locations_csv_export"+a+""}function top_qype_locations_csv_export_admin_locator_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/admin/locators/"+e+"/top_qype_locations_csv_export"+b+"",d,c,a)}function top_qype_locations_csv_export_admin_locator_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/admin/locators/"+e+"/top_qype_locations_csv_export"+b+"",d,c,a)}function admin_locator_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/admin/locators/"+c+""+a+""}function admin_locator_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/admin/locators/"+e+""+b+"",d,c,a)}function admin_locator_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/admin/locators/"+e+""+b+"",d,c,a)}function admin_ft_source_locations_path(a,b,c){a=less_check_parameter(a);b=less_check_format(b);return"/admin/ft_sources/"+a+"/locations"+b+""}function admin_ft_source_locations_ajax(a,c,e,d,b){a=less_check_parameter(a);c=less_check_format(c);return less_ajax("/admin/ft_sources/"+a+"/locations"+c+"",e,d,b)}function admin_ft_source_locations_ajaxx(a,c,e,d,b){a=less_check_parameter(a);c=less_check_format(c);return less_ajaxx("/admin/ft_sources/"+a+"/locations"+c+"",e,d,b)}function admin_ft_source_location_path(a,d,b,c){a=less_check_parameter(a);d=less_check_parameter(d);b=less_check_format(b);return"/admin/ft_sources/"+a+"/locations/"+d+""+b+""}function admin_ft_source_location_ajax(a,f,c,e,d,b){a=less_check_parameter(a);f=less_check_parameter(f);c=less_check_format(c);return less_ajax("/admin/ft_sources/"+a+"/locations/"+f+""+c+"",e,d,b)}function admin_ft_source_location_ajaxx(a,f,c,e,d,b){a=less_check_parameter(a);f=less_check_parameter(f);c=less_check_format(c);return less_ajaxx("/admin/ft_sources/"+a+"/locations/"+f+""+c+"",e,d,b)}function admin_ft_sources_path(a,b){a=less_check_format(a);return"/admin/ft_sources"+a+""}function admin_ft_sources_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/admin/ft_sources"+b+"",d,c,a)}function admin_ft_sources_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/admin/ft_sources"+b+"",d,c,a)}function new_admin_ft_source_path(a,b){a=less_check_format(a);return"/admin/ft_sources/new"+a+""}function new_admin_ft_source_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/admin/ft_sources/new"+b+"",d,c,a)}function new_admin_ft_source_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/admin/ft_sources/new"+b+"",d,c,a)}function edit_admin_ft_source_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/admin/ft_sources/"+c+"/edit"+a+""}function edit_admin_ft_source_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/admin/ft_sources/"+e+"/edit"+b+"",d,c,a)}function edit_admin_ft_source_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/admin/ft_sources/"+e+"/edit"+b+"",d,c,a)}function admin_ft_source_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/admin/ft_sources/"+c+""+a+""}function admin_ft_source_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/admin/ft_sources/"+e+""+b+"",d,c,a)}function admin_ft_source_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/admin/ft_sources/"+e+""+b+"",d,c,a)}function import_admin_item_item_codes_path(a,b,c){a=less_check_parameter(a);b=less_check_format(b);return"/admin/items/"+a+"/item_codes/import"+b+""}function import_admin_item_item_codes_ajax(b,c,e,d,a){b=less_check_parameter(b);c=less_check_format(c);return less_ajax("/admin/items/"+b+"/item_codes/import"+c+"",e,d,a)}function import_admin_item_item_codes_ajaxx(b,c,e,d,a){b=less_check_parameter(b);c=less_check_format(c);return less_ajaxx("/admin/items/"+b+"/item_codes/import"+c+"",e,d,a)}function generate_admin_item_item_codes_path(a,b,c){a=less_check_parameter(a);b=less_check_format(b);return"/admin/items/"+a+"/item_codes/generate"+b+""}function generate_admin_item_item_codes_ajax(b,c,e,d,a){b=less_check_parameter(b);c=less_check_format(c);return less_ajax("/admin/items/"+b+"/item_codes/generate"+c+"",e,d,a)}function generate_admin_item_item_codes_ajaxx(b,c,e,d,a){b=less_check_parameter(b);c=less_check_format(c);return less_ajaxx("/admin/items/"+b+"/item_codes/generate"+c+"",e,d,a)}function export_free_admin_item_item_codes_path(a,b,c){a=less_check_parameter(a);b=less_check_format(b);return"/admin/items/"+a+"/item_codes/export_free"+b+""}function export_free_admin_item_item_codes_ajax(b,c,e,d,a){b=less_check_parameter(b);c=less_check_format(c);return less_ajax("/admin/items/"+b+"/item_codes/export_free"+c+"",e,d,a)}function export_free_admin_item_item_codes_ajaxx(b,c,e,d,a){b=less_check_parameter(b);c=less_check_format(c);return less_ajaxx("/admin/items/"+b+"/item_codes/export_free"+c+"",e,d,a)}function export_taken_admin_item_item_codes_path(a,b,c){a=less_check_parameter(a);b=less_check_format(b);return"/admin/items/"+a+"/item_codes/export_taken"+b+""}function export_taken_admin_item_item_codes_ajax(b,c,e,d,a){b=less_check_parameter(b);c=less_check_format(c);return less_ajax("/admin/items/"+b+"/item_codes/export_taken"+c+"",e,d,a)}function export_taken_admin_item_item_codes_ajaxx(b,c,e,d,a){b=less_check_parameter(b);c=less_check_format(c);return less_ajaxx("/admin/items/"+b+"/item_codes/export_taken"+c+"",e,d,a)}function admin_item_item_codes_path(a,b,c){a=less_check_parameter(a);b=less_check_format(b);return"/admin/items/"+a+"/item_codes"+b+""}function admin_item_item_codes_ajax(b,c,e,d,a){b=less_check_parameter(b);c=less_check_format(c);return less_ajax("/admin/items/"+b+"/item_codes"+c+"",e,d,a)}function admin_item_item_codes_ajaxx(b,c,e,d,a){b=less_check_parameter(b);c=less_check_format(c);return less_ajaxx("/admin/items/"+b+"/item_codes"+c+"",e,d,a)}function new_admin_item_item_code_path(a,b,c){a=less_check_parameter(a);b=less_check_format(b);return"/admin/items/"+a+"/item_codes/new"+b+""}function new_admin_item_item_code_ajax(b,c,e,d,a){b=less_check_parameter(b);c=less_check_format(c);return less_ajax("/admin/items/"+b+"/item_codes/new"+c+"",e,d,a)}function new_admin_item_item_code_ajaxx(b,c,e,d,a){b=less_check_parameter(b);c=less_check_format(c);return less_ajaxx("/admin/items/"+b+"/item_codes/new"+c+"",e,d,a)}function admin_item_item_code_path(a,d,b,c){a=less_check_parameter(a);d=less_check_parameter(d);b=less_check_format(b);return"/admin/items/"+a+"/item_codes/"+d+""+b+""}function admin_item_item_code_ajax(b,f,c,e,d,a){b=less_check_parameter(b);f=less_check_parameter(f);c=less_check_format(c);return less_ajax("/admin/items/"+b+"/item_codes/"+f+""+c+"",e,d,a)}function admin_item_item_code_ajaxx(b,f,c,e,d,a){b=less_check_parameter(b);f=less_check_parameter(f);c=less_check_format(c);return less_ajaxx("/admin/items/"+b+"/item_codes/"+f+""+c+"",e,d,a)}function change_quest_type_admin_item_item_quests_path(a,b,c){a=less_check_parameter(a);b=less_check_format(b);return"/admin/items/"+a+"/item_quests/change_quest_type"+b+""}function change_quest_type_admin_item_item_quests_ajax(b,c,e,d,a){b=less_check_parameter(b);c=less_check_format(c);return less_ajax("/admin/items/"+b+"/item_quests/change_quest_type"+c+"",e,d,a)}function change_quest_type_admin_item_item_quests_ajaxx(b,c,e,d,a){b=less_check_parameter(b);c=less_check_format(c);return less_ajaxx("/admin/items/"+b+"/item_quests/change_quest_type"+c+"",e,d,a)}function edit_quest_admin_item_item_quests_path(a,b,c){a=less_check_parameter(a);b=less_check_format(b);return"/admin/items/"+a+"/item_quests/edit_quest"+b+""}function edit_quest_admin_item_item_quests_ajax(b,c,e,d,a){b=less_check_parameter(b);c=less_check_format(c);return less_ajax("/admin/items/"+b+"/item_quests/edit_quest"+c+"",e,d,a)}function edit_quest_admin_item_item_quests_ajaxx(b,c,e,d,a){b=less_check_parameter(b);c=less_check_format(c);return less_ajaxx("/admin/items/"+b+"/item_quests/edit_quest"+c+"",e,d,a)}function admin_item_waypoint_templates_path(a,b,c){a=less_check_parameter(a);b=less_check_format(b);return"/admin/items/"+a+"/waypoint_templates"+b+""}function admin_item_waypoint_templates_ajax(b,c,e,d,a){b=less_check_parameter(b);c=less_check_format(c);return less_ajax("/admin/items/"+b+"/waypoint_templates"+c+"",e,d,a)}function admin_item_waypoint_templates_ajaxx(b,c,e,d,a){b=less_check_parameter(b);c=less_check_format(c);return less_ajaxx("/admin/items/"+b+"/waypoint_templates"+c+"",e,d,a)}function new_admin_item_waypoint_template_path(a,b,c){a=less_check_parameter(a);b=less_check_format(b);return"/admin/items/"+a+"/waypoint_templates/new"+b+""}function new_admin_item_waypoint_template_ajax(b,c,e,d,a){b=less_check_parameter(b);c=less_check_format(c);return less_ajax("/admin/items/"+b+"/waypoint_templates/new"+c+"",e,d,a)}function new_admin_item_waypoint_template_ajaxx(b,c,e,d,a){b=less_check_parameter(b);c=less_check_format(c);return less_ajaxx("/admin/items/"+b+"/waypoint_templates/new"+c+"",e,d,a)}function edit_admin_item_waypoint_template_path(a,d,b,c){a=less_check_parameter(a);d=less_check_parameter(d);b=less_check_format(b);return"/admin/items/"+a+"/waypoint_templates/"+d+"/edit"+b+""}function edit_admin_item_waypoint_template_ajax(b,f,c,e,d,a){b=less_check_parameter(b);f=less_check_parameter(f);c=less_check_format(c);return less_ajax("/admin/items/"+b+"/waypoint_templates/"+f+"/edit"+c+"",e,d,a)}function edit_admin_item_waypoint_template_ajaxx(b,f,c,e,d,a){b=less_check_parameter(b);f=less_check_parameter(f);c=less_check_format(c);return less_ajaxx("/admin/items/"+b+"/waypoint_templates/"+f+"/edit"+c+"",e,d,a)}function delete_admin_item_waypoint_template_path(a,d,b,c){a=less_check_parameter(a);d=less_check_parameter(d);b=less_check_format(b);return"/admin/items/"+a+"/waypoint_templates/"+d+"/delete"+b+""}function delete_admin_item_waypoint_template_ajax(b,f,c,e,d,a){b=less_check_parameter(b);f=less_check_parameter(f);c=less_check_format(c);return less_ajax("/admin/items/"+b+"/waypoint_templates/"+f+"/delete"+c+"",e,d,a)}function delete_admin_item_waypoint_template_ajaxx(b,f,c,e,d,a){b=less_check_parameter(b);f=less_check_parameter(f);c=less_check_format(c);return less_ajaxx("/admin/items/"+b+"/waypoint_templates/"+f+"/delete"+c+"",e,d,a)}function admin_item_waypoint_template_path(a,d,b,c){a=less_check_parameter(a);d=less_check_parameter(d);b=less_check_format(b);return"/admin/items/"+a+"/waypoint_templates/"+d+""+b+""}function admin_item_waypoint_template_ajax(b,f,c,e,d,a){b=less_check_parameter(b);f=less_check_parameter(f);c=less_check_format(c);return less_ajax("/admin/items/"+b+"/waypoint_templates/"+f+""+c+"",e,d,a)}function admin_item_waypoint_template_ajaxx(b,f,c,e,d,a){b=less_check_parameter(b);f=less_check_parameter(f);c=less_check_format(c);return less_ajaxx("/admin/items/"+b+"/waypoint_templates/"+f+""+c+"",e,d,a)}function make_visible_on_startpage_admin_items_path(a,b){a=less_check_format(a);return"/admin/items/make_visible_on_startpage"+a+""}function make_visible_on_startpage_admin_items_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/admin/items/make_visible_on_startpage"+b+"",d,c,a)}function make_visible_on_startpage_admin_items_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/admin/items/make_visible_on_startpage"+b+"",d,c,a)}function featured_admin_items_path(a,b){a=less_check_format(a);return"/admin/items/featured"+a+""}function featured_admin_items_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/admin/items/featured"+b+"",d,c,a)}function featured_admin_items_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/admin/items/featured"+b+"",d,c,a)}function featured_visibility_admin_items_path(a,b){a=less_check_format(a);return"/admin/items/featured_visibility"+a+""}function featured_visibility_admin_items_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/admin/items/featured_visibility"+b+"",d,c,a)}function featured_visibility_admin_items_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/admin/items/featured_visibility"+b+"",d,c,a)}function json_autocomplete_admin_items_path(a,b){a=less_check_format(a);return"/admin/items/json_autocomplete"+a+""}function json_autocomplete_admin_items_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/admin/items/json_autocomplete"+b+"",d,c,a)}function json_autocomplete_admin_items_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/admin/items/json_autocomplete"+b+"",d,c,a)}function admin_items_path(a,b){a=less_check_format(a);return"/admin/items"+a+""}function admin_items_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/admin/items"+b+"",d,c,a)}function admin_items_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/admin/items"+b+"",d,c,a)}function new_admin_item_path(a,b){a=less_check_format(a);return"/admin/items/new"+a+""}function new_admin_item_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/admin/items/new"+b+"",d,c,a)}function new_admin_item_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/admin/items/new"+b+"",d,c,a)}function change_state_admin_item_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/admin/items/"+c+"/change_state"+a+""}function change_state_admin_item_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/admin/items/"+e+"/change_state"+b+"",d,c,a)}function change_state_admin_item_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/admin/items/"+e+"/change_state"+b+"",d,c,a)}function update_featured_startpage_image_admin_item_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/admin/items/"+c+"/update_featured_startpage_image"+a+""}function update_featured_startpage_image_admin_item_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/admin/items/"+e+"/update_featured_startpage_image"+b+"",d,c,a)}function update_featured_startpage_image_admin_item_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/admin/items/"+e+"/update_featured_startpage_image"+b+"",d,c,a)}function edit_admin_item_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/admin/items/"+c+"/edit"+a+""}function edit_admin_item_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/admin/items/"+e+"/edit"+b+"",d,c,a)}function edit_admin_item_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/admin/items/"+e+"/edit"+b+"",d,c,a)}function upload_featured_startpage_image_page_admin_item_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/admin/items/"+c+"/upload_featured_startpage_image_page"+a+""}function upload_featured_startpage_image_page_admin_item_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/admin/items/"+e+"/upload_featured_startpage_image_page"+b+"",d,c,a)}function upload_featured_startpage_image_page_admin_item_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/admin/items/"+e+"/upload_featured_startpage_image_page"+b+"",d,c,a)}function waypoint_templates_admin_item_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/admin/items/"+c+"/waypoint_templates"+a+""}function waypoint_templates_admin_item_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/admin/items/"+e+"/waypoint_templates"+b+"",d,c,a)}function waypoint_templates_admin_item_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/admin/items/"+e+"/waypoint_templates"+b+"",d,c,a)}function admin_item_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/admin/items/"+c+""+a+""}function admin_item_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/admin/items/"+e+""+b+"",d,c,a)}function admin_item_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/admin/items/"+e+""+b+"",d,c,a)}function send_news_admin_newsletters_path(a,b){a=less_check_format(a);return"/admin/newsletters/send_news"+a+""}function send_news_admin_newsletters_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/admin/newsletters/send_news"+b+"",d,c,a)}function send_news_admin_newsletters_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/admin/newsletters/send_news"+b+"",d,c,a)}function export_data_admin_newsletters_path(a,b){a=less_check_format(a);return"/admin/newsletters/export_data"+a+""}function export_data_admin_newsletters_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/admin/newsletters/export_data"+b+"",d,c,a)}function export_data_admin_newsletters_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/admin/newsletters/export_data"+b+"",d,c,a)}function pre_export_data_admin_newsletters_path(a,b){a=less_check_format(a);return"/admin/newsletters/pre_export_data"+a+""}function pre_export_data_admin_newsletters_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/admin/newsletters/pre_export_data"+b+"",d,c,a)}function pre_export_data_admin_newsletters_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/admin/newsletters/pre_export_data"+b+"",d,c,a)}function admin_newsletters_path(a,b){a=less_check_format(a);return"/admin/newsletters"+a+""}function admin_newsletters_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/admin/newsletters"+b+"",d,c,a)}function admin_newsletters_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/admin/newsletters"+b+"",d,c,a)}function new_admin_newsletter_path(a,b){a=less_check_format(a);return"/admin/newsletters/new"+a+""}function new_admin_newsletter_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/admin/newsletters/new"+b+"",d,c,a)}function new_admin_newsletter_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/admin/newsletters/new"+b+"",d,c,a)}function edit_admin_newsletter_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/admin/newsletters/"+c+"/edit"+a+""}function edit_admin_newsletter_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/admin/newsletters/"+e+"/edit"+b+"",d,c,a)}function edit_admin_newsletter_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/admin/newsletters/"+e+"/edit"+b+"",d,c,a)}function admin_newsletter_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/admin/newsletters/"+c+""+a+""}function admin_newsletter_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/admin/newsletters/"+e+""+b+"",d,c,a)}function admin_newsletter_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/admin/newsletters/"+e+""+b+"",d,c,a)}function admin_notifications_path(a,b){a=less_check_format(a);return"/admin/notifications"+a+""}function admin_notifications_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/admin/notifications"+b+"",d,c,a)}function admin_notifications_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/admin/notifications"+b+"",d,c,a)}function new_admin_notification_path(a,b){a=less_check_format(a);return"/admin/notifications/new"+a+""}function new_admin_notification_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/admin/notifications/new"+b+"",d,c,a)}function new_admin_notification_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/admin/notifications/new"+b+"",d,c,a)}function edit_admin_notification_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/admin/notifications/"+c+"/edit"+a+""}function edit_admin_notification_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/admin/notifications/"+e+"/edit"+b+"",d,c,a)}function edit_admin_notification_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/admin/notifications/"+e+"/edit"+b+"",d,c,a)}function admin_notification_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/admin/notifications/"+c+""+a+""}function admin_notification_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/admin/notifications/"+e+""+b+"",d,c,a)}function admin_notification_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/admin/notifications/"+e+""+b+"",d,c,a)}function make_visible_admin_virtual_goods_path(a,b){a=less_check_format(a);return"/admin/virtual_goods/make_visible"+a+""}function make_visible_admin_virtual_goods_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/admin/virtual_goods/make_visible"+b+"",d,c,a)}function make_visible_admin_virtual_goods_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/admin/virtual_goods/make_visible"+b+"",d,c,a)}function make_invisible_admin_virtual_goods_path(a,b){a=less_check_format(a);return"/admin/virtual_goods/make_invisible"+a+""}function make_invisible_admin_virtual_goods_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/admin/virtual_goods/make_invisible"+b+"",d,c,a)}function make_invisible_admin_virtual_goods_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/admin/virtual_goods/make_invisible"+b+"",d,c,a)}function visibility_admin_virtual_goods_path(a,b){a=less_check_format(a);return"/admin/virtual_goods/visibility"+a+""}function visibility_admin_virtual_goods_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/admin/virtual_goods/visibility"+b+"",d,c,a)}function visibility_admin_virtual_goods_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/admin/virtual_goods/visibility"+b+"",d,c,a)}function admin_virtual_goods_path(a,b){a=less_check_format(a);return"/admin/virtual_goods"+a+""}function admin_virtual_goods_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/admin/virtual_goods"+b+"",d,c,a)}function admin_virtual_goods_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/admin/virtual_goods"+b+"",d,c,a)}function new_admin_virtual_good_path(a,b){a=less_check_format(a);return"/admin/virtual_goods/new"+a+""}function new_admin_virtual_good_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/admin/virtual_goods/new"+b+"",d,c,a)}function new_admin_virtual_good_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/admin/virtual_goods/new"+b+"",d,c,a)}function edit_admin_virtual_good_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/admin/virtual_goods/"+c+"/edit"+a+""}function edit_admin_virtual_good_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/admin/virtual_goods/"+e+"/edit"+b+"",d,c,a)}function edit_admin_virtual_good_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/admin/virtual_goods/"+e+"/edit"+b+"",d,c,a)}function admin_virtual_good_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/admin/virtual_goods/"+c+""+a+""}function admin_virtual_good_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/admin/virtual_goods/"+e+""+b+"",d,c,a)}function admin_virtual_good_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/admin/virtual_goods/"+e+""+b+"",d,c,a)}function search_admin_users_path(a,b){a=less_check_format(a);return"/admin/users/search"+a+""}function search_admin_users_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/admin/users/search"+b+"",d,c,a)}function search_admin_users_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/admin/users/search"+b+"",d,c,a)}function user_pics_admin_users_path(a,b){a=less_check_format(a);return"/admin/users/user_pics"+a+""}function user_pics_admin_users_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/admin/users/user_pics"+b+"",d,c,a)}function user_pics_admin_users_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/admin/users/user_pics"+b+"",d,c,a)}function admin_users_path(a,b){a=less_check_format(a);return"/admin/users"+a+""}function admin_users_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/admin/users"+b+"",d,c,a)}function admin_users_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/admin/users"+b+"",d,c,a)}function change_state_admin_user_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/admin/users/"+c+"/change_state"+a+""}function change_state_admin_user_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/admin/users/"+e+"/change_state"+b+"",d,c,a)}function change_state_admin_user_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/admin/users/"+e+"/change_state"+b+"",d,c,a)}function messages_admin_user_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/admin/users/"+c+"/messages"+a+""}function messages_admin_user_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/admin/users/"+e+"/messages"+b+"",d,c,a)}function messages_admin_user_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/admin/users/"+e+"/messages"+b+"",d,c,a)}function admin_user_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/admin/users/"+c+""+a+""}function admin_user_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/admin/users/"+e+""+b+"",d,c,a)}function admin_user_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/admin/users/"+e+""+b+"",d,c,a)}function admin_messages_path(a,b){a=less_check_format(a);return"/admin/messages"+a+""}function admin_messages_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/admin/messages"+b+"",d,c,a)}function admin_messages_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/admin/messages"+b+"",d,c,a)}function new_admin_message_path(a,b){a=less_check_format(a);return"/admin/messages/new"+a+""}function new_admin_message_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/admin/messages/new"+b+"",d,c,a)}function new_admin_message_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/admin/messages/new"+b+"",d,c,a)}function admin_message_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/admin/messages/"+c+""+a+""}function admin_message_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/admin/messages/"+e+""+b+"",d,c,a)}function admin_message_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/admin/messages/"+e+""+b+"",d,c,a)}function index_admin_reports_path(a,b){a=less_check_format(a);return"/admin/reports/index"+a+""}function index_admin_reports_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/admin/reports/index"+b+"",d,c,a)}function index_admin_reports_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/admin/reports/index"+b+"",d,c,a)}function admin_reports_path(a,b){a=less_check_format(a);return"/admin/reports"+a+""}function admin_reports_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/admin/reports"+b+"",d,c,a)}function admin_reports_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/admin/reports"+b+"",d,c,a)}function new_admin_report_path(a,b){a=less_check_format(a);return"/admin/reports/new"+a+""}function new_admin_report_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/admin/reports/new"+b+"",d,c,a)}function new_admin_report_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/admin/reports/new"+b+"",d,c,a)}function edit_admin_report_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/admin/reports/"+c+"/edit"+a+""}function edit_admin_report_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/admin/reports/"+e+"/edit"+b+"",d,c,a)}function edit_admin_report_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/admin/reports/"+e+"/edit"+b+"",d,c,a)}function admin_report_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/admin/reports/"+c+""+a+""}function admin_report_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/admin/reports/"+e+""+b+"",d,c,a)}function admin_report_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/admin/reports/"+e+""+b+"",d,c,a)}function admin_user_home_queries_path(a,b){a=less_check_format(a);return"/admin/user_home_queries"+a+""}function admin_user_home_queries_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/admin/user_home_queries"+b+"",d,c,a)}function admin_user_home_queries_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/admin/user_home_queries"+b+"",d,c,a)}function admin_user_home_query_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/admin/user_home_queries/"+c+""+a+""}function admin_user_home_query_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/admin/user_home_queries/"+e+""+b+"",d,c,a)}function admin_user_home_query_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/admin/user_home_queries/"+e+""+b+"",d,c,a)}function root_path(a){return""}function root_ajax(c,b,a){return less_ajax("",c,b,a)}function root_ajaxx(c,b,a){return less_ajaxx("",c,b,a)}function show_imprint_home_page_path(a,b){a=less_check_format(a);return"/home_page/show_imprint"+a+""}function show_imprint_home_page_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/home_page/show_imprint"+b+"",d,c,a)}function show_imprint_home_page_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/home_page/show_imprint"+b+"",d,c,a)}function show_agb_home_page_path(a,b){a=less_check_format(a);return"/home_page/show_agb"+a+""}function show_agb_home_page_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/home_page/show_agb"+b+"",d,c,a)}function show_agb_home_page_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/home_page/show_agb"+b+"",d,c,a)}function show_about_friendticker_home_page_path(a,b){a=less_check_format(a);return"/home_page/show_about_friendticker"+a+""}function show_about_friendticker_home_page_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/home_page/show_about_friendticker"+b+"",d,c,a)}function show_about_friendticker_home_page_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/home_page/show_about_friendticker"+b+"",d,c,a)}function show_contact_home_page_path(a,b){a=less_check_format(a);return"/home_page/show_contact"+a+""}function show_contact_home_page_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/home_page/show_contact"+b+"",d,c,a)}function show_contact_home_page_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/home_page/show_contact"+b+"",d,c,a)}function show_faq_detail_home_page_path(a,b){a=less_check_format(a);return"/home_page/show_faq_detail"+a+""}function show_faq_detail_home_page_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/home_page/show_faq_detail"+b+"",d,c,a)}function show_faq_detail_home_page_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/home_page/show_faq_detail"+b+"",d,c,a)}function show_faq_home_page_path(a,b){a=less_check_format(a);return"/home_page/show_faq"+a+""}function show_faq_home_page_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/home_page/show_faq"+b+"",d,c,a)}function show_faq_home_page_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/home_page/show_faq"+b+"",d,c,a)}function show_downloads_home_page_path(a,b){a=less_check_format(a);return"/home_page/show_downloads"+a+""}function show_downloads_home_page_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/home_page/show_downloads"+b+"",d,c,a)}function show_downloads_home_page_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/home_page/show_downloads"+b+"",d,c,a)}function home_page_index_path(a,b){a=less_check_format(a);return"/home_page"+a+""}function home_page_index_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/home_page"+b+"",d,c,a)}function home_page_index_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/home_page"+b+"",d,c,a)}function show_agb_privacy_text_mobiles_path(a,b){a=less_check_format(a);return"/mobiles/show_agb_privacy_text"+a+""}function show_agb_privacy_text_mobiles_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/mobiles/show_agb_privacy_text"+b+"",d,c,a)}function show_agb_privacy_text_mobiles_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/mobiles/show_agb_privacy_text"+b+"",d,c,a)}function tooltip_location_user_path(c,d,a,b){c=less_check_parameter(c);d=less_check_parameter(d);a=less_check_format(a);return"/locations/"+c+"/users/"+d+"/tooltip"+a+""}function tooltip_location_user_ajax(e,f,b,d,c,a){e=less_check_parameter(e);f=less_check_parameter(f);b=less_check_format(b);return less_ajax("/locations/"+e+"/users/"+f+"/tooltip"+b+"",d,c,a)}function tooltip_location_user_ajaxx(e,f,b,d,c,a){e=less_check_parameter(e);f=less_check_parameter(f);b=less_check_format(b);return less_ajaxx("/locations/"+e+"/users/"+f+"/tooltip"+b+"",d,c,a)}function location_user_path(c,d,a,b){c=less_check_parameter(c);d=less_check_parameter(d);a=less_check_format(a);return"/locations/"+c+"/users/"+d+""+a+""}function location_user_ajax(e,f,b,d,c,a){e=less_check_parameter(e);f=less_check_parameter(f);b=less_check_format(b);return less_ajax("/locations/"+e+"/users/"+f+""+b+"",d,c,a)}function location_user_ajaxx(e,f,b,d,c,a){e=less_check_parameter(e);f=less_check_parameter(f);b=less_check_format(b);return less_ajaxx("/locations/"+e+"/users/"+f+""+b+"",d,c,a)}function check_duplicates_by_title_locations_path(a,b){a=less_check_format(a);return"/locations/check_duplicates_by_title"+a+""}function check_duplicates_by_title_locations_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/locations/check_duplicates_by_title"+b+"",d,c,a)}function check_duplicates_by_title_locations_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/locations/check_duplicates_by_title"+b+"",d,c,a)}function no_duplicates_by_title_and_address_locations_path(a,b){a=less_check_format(a);return"/locations/no_duplicates_by_title_and_address"+a+""}function no_duplicates_by_title_and_address_locations_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/locations/no_duplicates_by_title_and_address"+b+"",d,c,a)}function no_duplicates_by_title_and_address_locations_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/locations/no_duplicates_by_title_and_address"+b+"",d,c,a)}function no_duplicates_by_title_locations_path(a,b){a=less_check_format(a);return"/locations/no_duplicates_by_title"+a+""}function no_duplicates_by_title_locations_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/locations/no_duplicates_by_title"+b+"",d,c,a)}function no_duplicates_by_title_locations_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/locations/no_duplicates_by_title"+b+"",d,c,a)}function preview_ft_image_locations_path(a,b){a=less_check_format(a);return"/locations/preview_ft_image"+a+""}function preview_ft_image_locations_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/locations/preview_ft_image"+b+"",d,c,a)}function preview_ft_image_locations_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/locations/preview_ft_image"+b+"",d,c,a)}function auto_complete_for_location_city_locations_path(a,b){a=less_check_format(a);return"/locations/auto_complete_for_location_city"+a+""}function auto_complete_for_location_city_locations_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/locations/auto_complete_for_location_city"+b+"",d,c,a)}function auto_complete_for_location_city_locations_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/locations/auto_complete_for_location_city"+b+"",d,c,a)}function get_city_by_postcode_locations_path(a,b){a=less_check_format(a);return"/locations/get_city_by_postcode"+a+""}function get_city_by_postcode_locations_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/locations/get_city_by_postcode"+b+"",d,c,a)}function get_city_by_postcode_locations_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/locations/get_city_by_postcode"+b+"",d,c,a)}function update_locator_locations_path(a,b){a=less_check_format(a);return"/locations/update_locator"+a+""}function update_locator_locations_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/locations/update_locator"+b+"",d,c,a)}function update_locator_locations_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/locations/update_locator"+b+"",d,c,a)}function rightside_stream_latest_locations_locations_path(a,b){a=less_check_format(a);return"/locations/rightside_stream_latest_locations"+a+""}function rightside_stream_latest_locations_locations_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/locations/rightside_stream_latest_locations"+b+"",d,c,a)}function rightside_stream_latest_locations_locations_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/locations/rightside_stream_latest_locations"+b+"",d,c,a)}function index_stream_locations_path(a,b){a=less_check_format(a);return"/locations/index_stream"+a+""}function index_stream_locations_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/locations/index_stream"+b+"",d,c,a)}function index_stream_locations_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/locations/index_stream"+b+"",d,c,a)}function auto_complete_for_location_street_locations_path(a,b){a=less_check_format(a);return"/locations/auto_complete_for_location_street"+a+""}function auto_complete_for_location_street_locations_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/locations/auto_complete_for_location_street"+b+"",d,c,a)}function auto_complete_for_location_street_locations_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/locations/auto_complete_for_location_street"+b+"",d,c,a)}function locations_path(a,b){a=less_check_format(a);return"/locations"+a+""}function locations_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/locations"+b+"",d,c,a)}function locations_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/locations"+b+"",d,c,a)}function new_location_path(a,b){a=less_check_format(a);return"/locations/new"+a+""}function new_location_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/locations/new"+b+"",d,c,a)}function new_location_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/locations/new"+b+"",d,c,a)}function edit_location_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/locations/"+c+"/edit"+a+""}function edit_location_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/locations/"+e+"/edit"+b+"",d,c,a)}function edit_location_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/locations/"+e+"/edit"+b+"",d,c,a)}function check_in_location_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/locations/"+c+"/check_in"+a+""}function check_in_location_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/locations/"+e+"/check_in"+b+"",d,c,a)}function check_in_location_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/locations/"+e+"/check_in"+b+"",d,c,a)}function visitors_location_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/locations/"+c+"/visitors"+a+""}function visitors_location_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/locations/"+e+"/visitors"+b+"",d,c,a)}function visitors_location_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/locations/"+e+"/visitors"+b+"",d,c,a)}function remove_frequenter_location_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/locations/"+c+"/remove_frequenter"+a+""}function remove_frequenter_location_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/locations/"+e+"/remove_frequenter"+b+"",d,c,a)}function remove_frequenter_location_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/locations/"+e+"/remove_frequenter"+b+"",d,c,a)}function tooltip_location_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/locations/"+c+"/tooltip"+a+""}function tooltip_location_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/locations/"+e+"/tooltip"+b+"",d,c,a)}function tooltip_location_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/locations/"+e+"/tooltip"+b+"",d,c,a)}function check_out_location_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/locations/"+c+"/check_out"+a+""}function check_out_location_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/locations/"+e+"/check_out"+b+"",d,c,a)}function check_out_location_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/locations/"+e+"/check_out"+b+"",d,c,a)}function report_box_location_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/locations/"+c+"/report_box"+a+""}function report_box_location_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/locations/"+e+"/report_box"+b+"",d,c,a)}function report_box_location_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/locations/"+e+"/report_box"+b+"",d,c,a)}function check_duplicates_by_title_and_address_location_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/locations/"+c+"/check_duplicates_by_title_and_address"+a+""}function check_duplicates_by_title_and_address_location_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/locations/"+e+"/check_duplicates_by_title_and_address"+b+"",d,c,a)}function check_duplicates_by_title_and_address_location_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/locations/"+e+"/check_duplicates_by_title_and_address"+b+"",d,c,a)}function recommend_location_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/locations/"+c+"/recommend"+a+""}function recommend_location_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/locations/"+e+"/recommend"+b+"",d,c,a)}function recommend_location_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/locations/"+e+"/recommend"+b+"",d,c,a)}function add_frequenter_location_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/locations/"+c+"/add_frequenter"+a+""}function add_frequenter_location_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/locations/"+e+"/add_frequenter"+b+"",d,c,a)}function add_frequenter_location_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/locations/"+e+"/add_frequenter"+b+"",d,c,a)}function user_info_location_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/locations/"+c+"/user_info"+a+""}function user_info_location_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/locations/"+e+"/user_info"+b+"",d,c,a)}function user_info_location_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/locations/"+e+"/user_info"+b+"",d,c,a)}function location_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/locations/"+c+""+a+""}function location_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/locations/"+e+""+b+"",d,c,a)}function location_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/locations/"+e+""+b+"",d,c,a)}function password_resets_path(a,b){a=less_check_format(a);return"/password_resets"+a+""}function password_resets_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/password_resets"+b+"",d,c,a)}function password_resets_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/password_resets"+b+"",d,c,a)}function new_password_reset_path(a,b){a=less_check_format(a);return"/password_resets/new"+a+""}function new_password_reset_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/password_resets/new"+b+"",d,c,a)}function new_password_reset_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/password_resets/new"+b+"",d,c,a)}function edit_password_reset_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/password_resets/"+c+"/edit"+a+""}function edit_password_reset_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/password_resets/"+e+"/edit"+b+"",d,c,a)}function edit_password_reset_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/password_resets/"+e+"/edit"+b+"",d,c,a)}function password_reset_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/password_resets/"+c+""+a+""}function password_reset_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/password_resets/"+e+""+b+"",d,c,a)}function password_reset_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/password_resets/"+e+""+b+"",d,c,a)}function new_user_sessions_path(a,b){a=less_check_format(a);return"/user_sessions/new"+a+""}function new_user_sessions_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/user_sessions/new"+b+"",d,c,a)}function new_user_sessions_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/user_sessions/new"+b+"",d,c,a)}function edit_user_sessions_path(a,b){a=less_check_format(a);return"/user_sessions/edit"+a+""}function edit_user_sessions_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/user_sessions/edit"+b+"",d,c,a)}function edit_user_sessions_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/user_sessions/edit"+b+"",d,c,a)}function login_or_register_user_sessions_path(a,b){a=less_check_format(a);return"/user_sessions/login_or_register"+a+""}function login_or_register_user_sessions_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/user_sessions/login_or_register"+b+"",d,c,a)}function login_or_register_user_sessions_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/user_sessions/login_or_register"+b+"",d,c,a)}function user_sessions_path(a,b){a=less_check_format(a);return"/user_sessions"+a+""}function user_sessions_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/user_sessions"+b+"",d,c,a)}function user_sessions_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/user_sessions"+b+"",d,c,a)}function items_path(a,b){a=less_check_format(a);return"/items"+a+""}function items_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/items"+b+"",d,c,a)}function items_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/items"+b+"",d,c,a)}function tooltip_item_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/items/"+c+"/tooltip"+a+""}function tooltip_item_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/items/"+e+"/tooltip"+b+"",d,c,a)}function tooltip_item_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/items/"+e+"/tooltip"+b+"",d,c,a)}function toggle_show_in_watchlist_item_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/items/"+c+"/toggle_show_in_watchlist"+a+""}function toggle_show_in_watchlist_item_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/items/"+e+"/toggle_show_in_watchlist"+b+"",d,c,a)}function toggle_show_in_watchlist_item_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/items/"+e+"/toggle_show_in_watchlist"+b+"",d,c,a)}function requirements_item_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/items/"+c+"/requirements"+a+""}function requirements_item_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/items/"+e+"/requirements"+b+"",d,c,a)}function requirements_item_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/items/"+e+"/requirements"+b+"",d,c,a)}function stop_quest_item_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/items/"+c+"/stop_quest"+a+""}function stop_quest_item_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/items/"+e+"/stop_quest"+b+"",d,c,a)}function stop_quest_item_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/items/"+e+"/stop_quest"+b+"",d,c,a)}function start_quest_item_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/items/"+c+"/start_quest"+a+""}function start_quest_item_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/items/"+e+"/start_quest"+b+"",d,c,a)}function start_quest_item_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/items/"+e+"/start_quest"+b+"",d,c,a)}function user_info_item_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/items/"+c+"/user_info"+a+""}function user_info_item_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/items/"+e+"/user_info"+b+"",d,c,a)}function user_info_item_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/items/"+e+"/user_info"+b+"",d,c,a)}function item_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/items/"+c+""+a+""}function item_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/items/"+e+""+b+"",d,c,a)}function item_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/items/"+e+""+b+"",d,c,a)}function link_user_facebook_path(a,b,c){a=less_check_parameter(a);b=less_check_format(b);return"/users/"+a+"/facebook/link"+b+""}function link_user_facebook_ajax(a,c,e,d,b){a=less_check_parameter(a);c=less_check_format(c);return less_ajax("/users/"+a+"/facebook/link"+c+"",e,d,b)}function link_user_facebook_ajaxx(a,c,e,d,b){a=less_check_parameter(a);c=less_check_format(c);return less_ajaxx("/users/"+a+"/facebook/link"+c+"",e,d,b)}function connect_user_facebook_path(a,b,c){a=less_check_parameter(a);b=less_check_format(b);return"/users/"+a+"/facebook/connect"+b+""}function connect_user_facebook_ajax(a,c,e,d,b){a=less_check_parameter(a);c=less_check_format(c);return less_ajax("/users/"+a+"/facebook/connect"+c+"",e,d,b)}function connect_user_facebook_ajaxx(a,c,e,d,b){a=less_check_parameter(a);c=less_check_format(c);return less_ajaxx("/users/"+a+"/facebook/connect"+c+"",e,d,b)}function fb_connect_reminder_test_user_facebook_path(a,b,c){a=less_check_parameter(a);b=less_check_format(b);return"/users/"+a+"/facebook/fb_connect_reminder_test"+b+""}function fb_connect_reminder_test_user_facebook_ajax(a,c,e,d,b){a=less_check_parameter(a);c=less_check_format(c);return less_ajax("/users/"+a+"/facebook/fb_connect_reminder_test"+c+"",e,d,b)}function fb_connect_reminder_test_user_facebook_ajaxx(a,c,e,d,b){a=less_check_parameter(a);c=less_check_format(c);return less_ajaxx("/users/"+a+"/facebook/fb_connect_reminder_test"+c+"",e,d,b)}function enable_push_to_facebook_user_facebook_path(a,b,c){a=less_check_parameter(a);b=less_check_format(b);return"/users/"+a+"/facebook/enable_push_to_facebook"+b+""}function enable_push_to_facebook_user_facebook_ajax(a,c,e,d,b){a=less_check_parameter(a);c=less_check_format(c);return less_ajax("/users/"+a+"/facebook/enable_push_to_facebook"+c+"",e,d,b)}function enable_push_to_facebook_user_facebook_ajaxx(a,c,e,d,b){a=less_check_parameter(a);c=less_check_format(c);return less_ajaxx("/users/"+a+"/facebook/enable_push_to_facebook"+c+"",e,d,b)}function friends_user_facebook_path(a,b,c){a=less_check_parameter(a);b=less_check_format(b);return"/users/"+a+"/facebook/friends"+b+""}function friends_user_facebook_ajax(a,c,e,d,b){a=less_check_parameter(a);c=less_check_format(c);return less_ajax("/users/"+a+"/facebook/friends"+c+"",e,d,b)}function friends_user_facebook_ajaxx(a,c,e,d,b){a=less_check_parameter(a);c=less_check_format(c);return less_ajaxx("/users/"+a+"/facebook/friends"+c+"",e,d,b)}function unlink_user_facebook_path(a,b,c){a=less_check_parameter(a);b=less_check_format(b);return"/users/"+a+"/facebook/unlink"+b+""}function unlink_user_facebook_ajax(a,c,e,d,b){a=less_check_parameter(a);c=less_check_format(c);return less_ajax("/users/"+a+"/facebook/unlink"+c+"",e,d,b)}function unlink_user_facebook_ajaxx(a,c,e,d,b){a=less_check_parameter(a);c=less_check_format(c);return less_ajaxx("/users/"+a+"/facebook/unlink"+c+"",e,d,b)}function disable_push_to_facebook_user_facebook_path(a,b,c){a=less_check_parameter(a);b=less_check_format(b);return"/users/"+a+"/facebook/disable_push_to_facebook"+b+""}function disable_push_to_facebook_user_facebook_ajax(a,c,e,d,b){a=less_check_parameter(a);c=less_check_format(c);return less_ajax("/users/"+a+"/facebook/disable_push_to_facebook"+c+"",e,d,b)}function disable_push_to_facebook_user_facebook_ajaxx(a,c,e,d,b){a=less_check_parameter(a);c=less_check_format(c);return less_ajaxx("/users/"+a+"/facebook/disable_push_to_facebook"+c+"",e,d,b)}function connect_user_twitter_path(a,b,c){a=less_check_parameter(a);b=less_check_format(b);return"/users/"+a+"/twitter/connect"+b+""}function connect_user_twitter_ajax(a,c,e,d,b){a=less_check_parameter(a);c=less_check_format(c);return less_ajax("/users/"+a+"/twitter/connect"+c+"",e,d,b)}function connect_user_twitter_ajaxx(a,c,e,d,b){a=less_check_parameter(a);c=less_check_format(c);return less_ajaxx("/users/"+a+"/twitter/connect"+c+"",e,d,b)}function home_user_twitter_path(a,b,c){a=less_check_parameter(a);b=less_check_format(b);return"/users/"+a+"/twitter/home"+b+""}function home_user_twitter_ajax(a,c,e,d,b){a=less_check_parameter(a);c=less_check_format(c);return less_ajax("/users/"+a+"/twitter/home"+c+"",e,d,b)}function home_user_twitter_ajaxx(a,c,e,d,b){a=less_check_parameter(a);c=less_check_format(c);return less_ajaxx("/users/"+a+"/twitter/home"+c+"",e,d,b)}function disconnect_user_twitter_path(a,b,c){a=less_check_parameter(a);b=less_check_format(b);return"/users/"+a+"/twitter/disconnect"+b+""}function disconnect_user_twitter_ajax(a,c,e,d,b){a=less_check_parameter(a);c=less_check_format(c);return less_ajax("/users/"+a+"/twitter/disconnect"+c+"",e,d,b)}function disconnect_user_twitter_ajaxx(a,c,e,d,b){a=less_check_parameter(a);c=less_check_format(c);return less_ajaxx("/users/"+a+"/twitter/disconnect"+c+"",e,d,b)}function oauth_callback_user_twitter_path(a,b,c){a=less_check_parameter(a);b=less_check_format(b);return"/users/"+a+"/twitter/oauth_callback"+b+""}function oauth_callback_user_twitter_ajax(a,c,e,d,b){a=less_check_parameter(a);c=less_check_format(c);return less_ajax("/users/"+a+"/twitter/oauth_callback"+c+"",e,d,b)}function oauth_callback_user_twitter_ajaxx(a,c,e,d,b){a=less_check_parameter(a);c=less_check_format(c);return less_ajaxx("/users/"+a+"/twitter/oauth_callback"+c+"",e,d,b)}function resend_activation_email_users_path(a,b){a=less_check_format(a);return"/users/resend_activation_email"+a+""}function resend_activation_email_users_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/users/resend_activation_email"+b+"",d,c,a)}function resend_activation_email_users_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/users/resend_activation_email"+b+"",d,c,a)}function update_users_path(a,b){a=less_check_format(a);return"/users/update"+a+""}function update_users_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/users/update"+b+"",d,c,a)}function update_users_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/users/update"+b+"",d,c,a)}function update_city_users_path(a,b){a=less_check_format(a);return"/users/update_city"+a+""}function update_city_users_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/users/update_city"+b+"",d,c,a)}function update_city_users_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/users/update_city"+b+"",d,c,a)}function preview_avatar_users_path(a,b){a=less_check_format(a);return"/users/preview_avatar"+a+""}function preview_avatar_users_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/users/preview_avatar"+b+"",d,c,a)}function preview_avatar_users_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/users/preview_avatar"+b+"",d,c,a)}function auto_complete_for_user_city_users_path(a,b){a=less_check_format(a);return"/users/auto_complete_for_user_city"+a+""}function auto_complete_for_user_city_users_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/users/auto_complete_for_user_city"+b+"",d,c,a)}function auto_complete_for_user_city_users_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/users/auto_complete_for_user_city"+b+"",d,c,a)}function deactivate_users_path(a,b){a=less_check_format(a);return"/users/deactivate"+a+""}function deactivate_users_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/users/deactivate"+b+"",d,c,a)}function deactivate_users_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/users/deactivate"+b+"",d,c,a)}function new_activation_email_users_path(a,b){a=less_check_format(a);return"/users/new_activation_email"+a+""}function new_activation_email_users_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/users/new_activation_email"+b+"",d,c,a)}function new_activation_email_users_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/users/new_activation_email"+b+"",d,c,a)}function check_availability_users_path(a,b){a=less_check_format(a);return"/users/check_availability"+a+""}function check_availability_users_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/users/check_availability"+b+"",d,c,a)}function check_availability_users_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/users/check_availability"+b+"",d,c,a)}function new_via_facebook_users_path(a,b){a=less_check_format(a);return"/users/new_via_facebook"+a+""}function new_via_facebook_users_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/users/new_via_facebook"+b+"",d,c,a)}function new_via_facebook_users_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/users/new_via_facebook"+b+"",d,c,a)}function users_path(a,b){a=less_check_format(a);return"/users"+a+""}function users_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/users"+b+"",d,c,a)}function users_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/users"+b+"",d,c,a)}function new_user_path(a,b){a=less_check_format(a);return"/users/new"+a+""}function new_user_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/users/new"+b+"",d,c,a)}function new_user_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/users/new"+b+"",d,c,a)}function update_notifications_user_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/users/"+c+"/update_notifications"+a+""}function update_notifications_user_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/users/"+e+"/update_notifications"+b+"",d,c,a)}function update_notifications_user_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/users/"+e+"/update_notifications"+b+"",d,c,a)}function update_privacy_user_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/users/"+c+"/update_privacy"+a+""}function update_privacy_user_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/users/"+e+"/update_privacy"+b+"",d,c,a)}function update_privacy_user_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/users/"+e+"/update_privacy"+b+"",d,c,a)}function send_invitation_email_user_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/users/"+c+"/send_invitation_email"+a+""}function send_invitation_email_user_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/users/"+e+"/send_invitation_email"+b+"",d,c,a)}function send_invitation_email_user_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/users/"+e+"/send_invitation_email"+b+"",d,c,a)}function twitter_data_save_user_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/users/"+c+"/twitter_data_save"+a+""}function twitter_data_save_user_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/users/"+e+"/twitter_data_save"+b+"",d,c,a)}function twitter_data_save_user_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/users/"+e+"/twitter_data_save"+b+"",d,c,a)}function update_password_user_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/users/"+c+"/update_password"+a+""}function update_password_user_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/users/"+e+"/update_password"+b+"",d,c,a)}function update_password_user_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/users/"+e+"/update_password"+b+"",d,c,a)}function new_deactivation_email_user_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/users/"+c+"/new_deactivation_email"+a+""}function new_deactivation_email_user_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/users/"+e+"/new_deactivation_email"+b+"",d,c,a)}function new_deactivation_email_user_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/users/"+e+"/new_deactivation_email"+b+"",d,c,a)}function edit_user_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/users/"+c+"/edit"+a+""}function edit_user_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/users/"+e+"/edit"+b+"",d,c,a)}function edit_user_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/users/"+e+"/edit"+b+"",d,c,a)}function edit_city_user_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/users/"+c+"/edit_city"+a+""}function edit_city_user_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/users/"+e+"/edit_city"+b+"",d,c,a)}function edit_city_user_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/users/"+e+"/edit_city"+b+"",d,c,a)}function created_locations_user_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/users/"+c+"/created_locations"+a+""}function created_locations_user_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/users/"+e+"/created_locations"+b+"",d,c,a)}function created_locations_user_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/users/"+e+"/created_locations"+b+"",d,c,a)}function twitter_data_edit_user_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/users/"+c+"/twitter_data_edit"+a+""}function twitter_data_edit_user_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/users/"+e+"/twitter_data_edit"+b+"",d,c,a)}function twitter_data_edit_user_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/users/"+e+"/twitter_data_edit"+b+"",d,c,a)}function do_u_know_user_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/users/"+c+"/do_u_know"+a+""}function do_u_know_user_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/users/"+e+"/do_u_know"+b+"",d,c,a)}function do_u_know_user_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/users/"+e+"/do_u_know"+b+"",d,c,a)}function credits_user_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/users/"+c+"/credits"+a+""}function credits_user_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/users/"+e+"/credits"+b+"",d,c,a)}function credits_user_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/users/"+e+"/credits"+b+"",d,c,a)}function remove_friend_user_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/users/"+c+"/remove_friend"+a+""}function remove_friend_user_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/users/"+e+"/remove_friend"+b+"",d,c,a)}function remove_friend_user_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/users/"+e+"/remove_friend"+b+"",d,c,a)}function visited_locations_user_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/users/"+c+"/visited_locations"+a+""}function visited_locations_user_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/users/"+e+"/visited_locations"+b+"",d,c,a)}function visited_locations_user_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/users/"+e+"/visited_locations"+b+"",d,c,a)}function tooltip_user_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/users/"+c+"/tooltip"+a+""}function tooltip_user_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/users/"+e+"/tooltip"+b+"",d,c,a)}function tooltip_user_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/users/"+e+"/tooltip"+b+"",d,c,a)}function cancel_request_user_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/users/"+c+"/cancel_request"+a+""}function cancel_request_user_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/users/"+e+"/cancel_request"+b+"",d,c,a)}function cancel_request_user_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/users/"+e+"/cancel_request"+b+"",d,c,a)}function deactivation_user_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/users/"+c+"/deactivation"+a+""}function deactivation_user_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/users/"+e+"/deactivation"+b+"",d,c,a)}function deactivation_user_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/users/"+e+"/deactivation"+b+"",d,c,a)}function twitter_data_delete_user_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/users/"+c+"/twitter_data_delete"+a+""}function twitter_data_delete_user_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/users/"+e+"/twitter_data_delete"+b+"",d,c,a)}function twitter_data_delete_user_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/users/"+e+"/twitter_data_delete"+b+"",d,c,a)}function city_rating_user_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/users/"+c+"/city_rating"+a+""}function city_rating_user_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/users/"+e+"/city_rating"+b+"",d,c,a)}function city_rating_user_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/users/"+e+"/city_rating"+b+"",d,c,a)}function edit_city_loged_in_user_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/users/"+c+"/edit_city_loged_in"+a+""}function edit_city_loged_in_user_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/users/"+e+"/edit_city_loged_in"+b+"",d,c,a)}function edit_city_loged_in_user_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/users/"+e+"/edit_city_loged_in"+b+"",d,c,a)}function edit_password_user_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/users/"+c+"/edit_password"+a+""}function edit_password_user_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/users/"+e+"/edit_password"+b+"",d,c,a)}function edit_password_user_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/users/"+e+"/edit_password"+b+"",d,c,a)}function friends_user_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/users/"+c+"/friends"+a+""}function friends_user_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/users/"+e+"/friends"+b+"",d,c,a)}function friends_user_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/users/"+e+"/friends"+b+"",d,c,a)}function gift_user_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/users/"+c+"/gift"+a+""}function gift_user_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/users/"+e+"/gift"+b+"",d,c,a)}function gift_user_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/users/"+e+"/gift"+b+"",d,c,a)}function hide_guided_tour_user_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/users/"+c+"/hide_guided_tour"+a+""}function hide_guided_tour_user_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/users/"+e+"/hide_guided_tour"+b+"",d,c,a)}function hide_guided_tour_user_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/users/"+e+"/hide_guided_tour"+b+"",d,c,a)}function home_user_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/users/"+c+"/home"+a+""}function home_user_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/users/"+e+"/home"+b+"",d,c,a)}function home_user_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/users/"+e+"/home"+b+"",d,c,a)}function friend_requests_user_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/users/"+c+"/friend_requests"+a+""}function friend_requests_user_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/users/"+e+"/friend_requests"+b+"",d,c,a)}function friend_requests_user_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/users/"+e+"/friend_requests"+b+"",d,c,a)}function decline_request_user_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/users/"+c+"/decline_request"+a+""}function decline_request_user_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/users/"+e+"/decline_request"+b+"",d,c,a)}function decline_request_user_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/users/"+e+"/decline_request"+b+"",d,c,a)}function request_friend_user_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/users/"+c+"/request_friend"+a+""}function request_friend_user_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/users/"+e+"/request_friend"+b+"",d,c,a)}function request_friend_user_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/users/"+e+"/request_friend"+b+"",d,c,a)}function activate_user_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/users/"+c+"/activate"+a+""}function activate_user_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/users/"+e+"/activate"+b+"",d,c,a)}function activate_user_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/users/"+e+"/activate"+b+"",d,c,a)}function add_friend_user_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/users/"+c+"/add_friend"+a+""}function add_friend_user_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/users/"+e+"/add_friend"+b+"",d,c,a)}function add_friend_user_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/users/"+e+"/add_friend"+b+"",d,c,a)}function friend_confirm_user_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/users/"+c+"/friend_confirm"+a+""}function friend_confirm_user_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/users/"+e+"/friend_confirm"+b+"",d,c,a)}function friend_confirm_user_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/users/"+e+"/friend_confirm"+b+"",d,c,a)}function items_user_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/users/"+c+"/items"+a+""}function items_user_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/users/"+e+"/items"+b+"",d,c,a)}function items_user_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/users/"+e+"/items"+b+"",d,c,a)}function user_info_user_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/users/"+c+"/user_info"+a+""}function user_info_user_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/users/"+e+"/user_info"+b+"",d,c,a)}function user_info_user_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/users/"+e+"/user_info"+b+"",d,c,a)}function friend_invitation_user_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/users/"+c+"/friend_invitation"+a+""}function friend_invitation_user_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/users/"+e+"/friend_invitation"+b+"",d,c,a)}function friend_invitation_user_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/users/"+e+"/friend_invitation"+b+"",d,c,a)}function privacy_user_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/users/"+c+"/privacy"+a+""}function privacy_user_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/users/"+e+"/privacy"+b+"",d,c,a)}function privacy_user_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/users/"+e+"/privacy"+b+"",d,c,a)}function notifications_user_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/users/"+c+"/notifications"+a+""}function notifications_user_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/users/"+e+"/notifications"+b+"",d,c,a)}function notifications_user_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/users/"+e+"/notifications"+b+"",d,c,a)}function compare_users_user_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/users/"+c+"/compare_users"+a+""}function compare_users_user_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/users/"+e+"/compare_users"+b+"",d,c,a)}function compare_users_user_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/users/"+e+"/compare_users"+b+"",d,c,a)}function user_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/users/"+c+""+a+""}function user_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/users/"+e+""+b+"",d,c,a)}function user_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/users/"+e+""+b+"",d,c,a)}function activities_path(a,b){a=less_check_format(a);return"/activities"+a+""}function activities_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/activities"+b+"",d,c,a)}function activities_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/activities"+b+"",d,c,a)}function delete_activity_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/activities/"+c+"/delete"+a+""}function delete_activity_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/activities/"+e+"/delete"+b+"",d,c,a)}function delete_activity_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/activities/"+e+"/delete"+b+"",d,c,a)}function undo_activity_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/activities/"+c+"/undo"+a+""}function undo_activity_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/activities/"+e+"/undo"+b+"",d,c,a)}function undo_activity_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/activities/"+e+"/undo"+b+"",d,c,a)}function invite_friends_reminders_path(a,b){a=less_check_format(a);return"/reminders/invite_friends"+a+""}function invite_friends_reminders_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/reminders/invite_friends"+b+"",d,c,a)}function invite_friends_reminders_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/reminders/invite_friends"+b+"",d,c,a)}function twitter_connect_reminders_path(a,b){a=less_check_format(a);return"/reminders/twitter_connect"+a+""}function twitter_connect_reminders_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/reminders/twitter_connect"+b+"",d,c,a)}function twitter_connect_reminders_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/reminders/twitter_connect"+b+"",d,c,a)}function short_url_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/su/"+c+""+a+""}function short_url_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/su/"+e+""+b+"",d,c,a)}function short_url_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/su/"+e+""+b+"",d,c,a)}function send_virtual_good_messages_path(a,b){a=less_check_format(a);return"/messages/send_virtual_good"+a+""}function send_virtual_good_messages_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/messages/send_virtual_good"+b+"",d,c,a)}function send_virtual_good_messages_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/messages/send_virtual_good"+b+"",d,c,a)}function recommend_location_messages_path(a,b){a=less_check_format(a);return"/messages/recommend_location"+a+""}function recommend_location_messages_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/messages/recommend_location"+b+"",d,c,a)}function recommend_location_messages_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/messages/recommend_location"+b+"",d,c,a)}function messages_path(a,b){a=less_check_format(a);return"/messages"+a+""}function messages_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/messages"+b+"",d,c,a)}function messages_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/messages"+b+"",d,c,a)}function delete_message_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/messages/"+c+"/delete"+a+""}function delete_message_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/messages/"+e+"/delete"+b+"",d,c,a)}function delete_message_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/messages/"+e+"/delete"+b+"",d,c,a)}function undo_message_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/messages/"+c+"/undo"+a+""}function undo_message_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/messages/"+e+"/undo"+b+"",d,c,a)}function undo_message_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/messages/"+e+"/undo"+b+"",d,c,a)}function report_user_reports_path(a,b){a=less_check_format(a);return"/reports/report_user"+a+""}function report_user_reports_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/reports/report_user"+b+"",d,c,a)}function report_user_reports_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/reports/report_user"+b+"",d,c,a)}function report_location_reports_path(a,b){a=less_check_format(a);return"/reports/report_location"+a+""}function report_location_reports_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/reports/report_location"+b+"",d,c,a)}function report_location_reports_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/reports/report_location"+b+"",d,c,a)}function index_user_delta_sphinx_path(a,b){a=less_check_format(a);return"/sphinx/index_user_delta"+a+""}function index_user_delta_sphinx_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/sphinx/index_user_delta"+b+"",d,c,a)}function index_user_delta_sphinx_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/sphinx/index_user_delta"+b+"",d,c,a)}function index_location_delta_sphinx_path(a,b){a=less_check_format(a);return"/sphinx/index_location_delta"+a+""}function index_location_delta_sphinx_ajax(b,d,c,a){b=less_check_format(b);return less_ajax("/sphinx/index_location_delta"+b+"",d,c,a)}function index_location_delta_sphinx_ajaxx(b,d,c,a){b=less_check_format(b);return less_ajaxx("/sphinx/index_location_delta"+b+"",d,c,a)}function statistics_user_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/statistics/users/"+c+""+a+""}function statistics_user_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/statistics/users/"+e+""+b+"",d,c,a)}function statistics_user_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/statistics/users/"+e+""+b+"",d,c,a)}function statistics_location_path(c,a,b){c=less_check_parameter(c);a=less_check_format(a);return"/statistics/locations/"+c+""+a+""}function statistics_location_ajax(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajax("/statistics/locations/"+e+""+b+"",d,c,a)}function statistics_location_ajaxx(e,b,d,c,a){e=less_check_parameter(e);b=less_check_format(b);return less_ajaxx("/statistics/locations/"+e+""+b+"",d,c,a)}function locator_path(b,a){b=less_check_parameter(b);return"/locator/"+b+""}function locator_ajax(d,c,b,a){d=less_check_parameter(d);return less_ajax("/locator/"+d+"",c,b,a)}function locator_ajaxx(d,c,b,a){d=less_check_parameter(d);return less_ajaxx("/locator/"+d+"",c,b,a)}jQuery.ajaxSetup({beforeSend:function(a){a.setRequestHeader("Accept","text/javascript")}});$(function(){I18n.locale=$("html").attr("lang")});function admin_toggle_item_shortview(a){$("#item_index_overview_"+a).slideToggle("slow");$("#item_shortview_button_"+a).toggleClass("item_shortview_active")}function toggle_next_element(a){$(a).next().slideToggle("fast")}function check_item_status(){$("input[type=checkbox]:not(:checked)").each(function(){$("."+this.value).each(function(){$(this).addClass("hide_row");$(this).removeClass("show_row")})});$("input[type=checkbox]:checked").each(function(){$("."+this.value).each(function(){$(this).addClass("show_row");$(this).removeClass("hide_row")})})}function checkLength(b,a){var c=b.value;if(c.length>=a){b.value=c.substring(0,a)}}function getCookieJSON(a,c){var b=JSON.parse(unescape($.cookie(a)).replace(/\+/g," "));if(b){$.each(b,function(d,e){if(d.match(/_/)){b[d.camelize()]=e;b[d]=null}})}if(c){$.cookie(a,null,{path:"/"});setTimeout(function(){$.cookie(a,null,{path:"/"})});$.cookie(a,null);setTimeout(function(){$.cookie(a,null)})}return b}function countFor(a,b){return'<span class="count_for_'+a+'">'+b+"</span>"}String.prototype.camelize=function(){return this.replace(/[\-_]+(.)?/g,function(a,b){return(b||"").toUpperCase()})};$.timeAgoInWords=function(a){return $.distanceOfTimeInWords(new Date().getTime(),a)};$.distanceOfTimeInWords=function(b,a){seconds_ago=((b-a)/1000);minutes_ago=Math.floor(seconds_ago/60);if(seconds_ago<1){return"1 "+I18n.t("javascript.datetime.second.one")}if(minutes_ago==0){return Math.floor(seconds_ago)+" "+I18n.t("javascript.datetime.second.other")}if(minutes_ago==1){return"1 "+I18n.t("javascript.datetime.minute.one")}if(minutes_ago<45){return minutes_ago+" "+I18n.t("javascript.datetime.minute.other")}if(minutes_ago<90){return I18n.t("javascript.datetime.distance_in_words.about")+" 1 "+I18n.t("javascript.datetime.hour.one")}hours_ago=Math.round(minutes_ago/60);if(minutes_ago<1440){return I18n.t("javascript.datetime.distance_in_words.about")+" "+hours_ago+" "+I18n.t("javascript.datetime.hour.other")}if(minutes_ago<2880){return"1 "+I18n.t("javascript.datetime.day.one")}days_ago=Math.round(minutes_ago/1440);if(minutes_ago<43200){return days_ago+" "+I18n.t("javascript.datetime.day.other")}if(minutes_ago<86400){return I18n.t("javascript.datetime.distance_in_words.about")+" 1 "+I18n.t("javascript.datetime.month.one")}months_ago=Math.round(minutes_ago/43200);if(minutes_ago<525960){return months_ago+" "+I18n.t("javascript.datetime.month.other")}if(minutes_ago<1051920){return I18n.t("javascript.datetime.distance_in_words.about")+" 1 "+I18n.t("javascript.datetime.year.one")}years_ago=Math.round(minutes_ago/525960);return I18n.t("javascript.datetime.distance_in_words.over")+" "+years_ago+" "+I18n.t("javascript.datetime.year.other")};ftCrop={onSuccess:function(){var a=$("#image");ftCrop.makeCropper(a)},makeCropper:function(a){a.addClass("preview-image");coords=ftCrop.initCoords(a);try{jcrop=$.Jcrop(a,{boxWidth:185,aspectRatio:1/1,onChange:ftCrop.showCoords,setSelect:coords,bgColor:"black",bgOpacity:0.5})}catch(b){}},initCoords:function(c){var g=180;var a=180;var d=(c.width()-g)/2;var f=(c.height()-a)/2;var b=d+g;var e=f+a;ftCrop.setValues(d,f,g,a,c.width(),c.height());return[d,f,b,e]},showCoords:function(a){ftCrop.setValues(a.x,a.y,a.x2-a.x,a.y2-a.y)},setValues:function(c,f,b,d,e,a){$("#x1").val(c);$("#y1").val(f);$("#width").val(b);$("#height").val(d);if(e&&a){$("#resize_width").val(e);$("#resize_height").val(a)}}};$(function(){if($("#preview_image_iframe").length){var c;var b=function(){$(".jcrop-holder").remove();if(c){c.destroy()}var e=$("#location_form,#user_form");var d=e.attr("action");e.attr("action",$("#preview_ft_image_locations_path,#preview_avatar_users_path").val());e.attr("target","preview_image_iframe");e[0].submit();e.attr("action",d);e.attr("target","_self")};var a=document.createElement("img");a.style.visibility="hidden";a.onload=ftCrop.onSuccess;a.id="image";$("#preview_image").append(a);$("#location_ft_image,#user_avatar").change(b)}});(function(a){a.fn.slideBox=function(){this.each(function(){var e=a(this);var d=e.find("li").length;if(d==0){return}e.append('<a href="#" class="slide_box_left deactivated"></a>');e.append('<a href="#" class="slide_box_right'+(d<8?" deactivated":"")+'"></a>');var f=e.find(".slide_box_left");var c=e.find(".slide_box_right");var g=0;var b=function(){e.find("ul").animate({left:g*-74+"px"})};f.click(function(){if(g==0){return false}g-=6;if(g<6){f.addClass("deactivated")}c.removeClass("deactivated");b();return false});c.click(function(){if(g+8>d||d<8){return false}g+=6;if(g+8>d){c.addClass("deactivated")}f.removeClass("deactivated");b();return false})});return this}})(jQuery);(function(a){a.fn.verticalSlideBox=function(){this.each(function(){var e=a(this);var d=e.find("li").length;if(d==0){return}e.append('<a href="#" class="vertical_slide_box_top deactivated"></a>');e.append('<a href="#" class="vertical_slide_box_bottom'+(d<29?"deactivated":"")+'"></a>');var f=e.find(".vertical_slide_box_top");var c=e.find(".vertical_slide_box_bottom");var g=0;var b=function(){e.find("ul").animate({top:g*-60+"px"})};f.click(function(){if(g==0){return false}g-=3;if(g<1){f.addClass("deactivated")}c.removeClass("deactivated");b();return false});c.click(function(){if(g+1>Math.ceil(d/7)-4||d<8){return false}g+=3;if(g+1>Math.ceil(d/7)-4){c.addClass("deactivated")}f.removeClass("deactivated");b();return false})});return this}})(jQuery);$(function(){$(".slide_box").slideBox();$(".vertical_slide_box").verticalSlideBox()});$(function(){var b=function(){var c=$(this).next(".sublocator");var d=$(this).val();c.load(locator_path(d),{},function(){a(c);var g=false;for(var e=0;e<15;e++){var f=$("#locator_"+e).val();if(f>0){$("#locator_id").val(f);if(e>0){g=true}}}if(g){$("#user_city_id_error, #location_city_id_error").hide()}else{$("#user_city_id_error, #location_city_id_error").html("<li>"+I18n.t("javascript.locations.locator.not_a_city")+"</li>");$("#user_city_id_error, #location_city_id_error").show()}});if(!d){d=$(this).parent(".sublocator").prev(".locator").val()}$("#locator_id").val(d)};var a=function(c){$(".locator",c).change(b)};a()});$(function(){var a=function(){var c=$(this);if(c.val()==c.attr("title")){c.val("");c.removeClass("quickinfo_hint")}};var b=function(){var c=$(this);if(c.val()==""){c.addClass("quickinfo_hint");c.val(c.attr("title"))}};$(".quickinfo").focus(a).blur(b).each(b)});$(function(){$("#fire_query").click(function(){var a=$("#query");if(a.val()==a.attr("title")){a.focus();return false}})});$(document).ready(function(){$("#user_city_id_change").change(function(){$("#change_city_form").submit()})});$(document).ready(function(){if($("#location_description").length>0){$("[for=location_description]").append('<span id="location_description_char_counter"></span>');var a=function(){$("#location_description_char_counter").text(" ("+(255-$("#location_description").val().length)+")");if($("#location_description").val().length>255){$("#location_description_char_counter").addClass("errors")}else{$("#location_description_char_counter").removeClass("errors")}};$("#location_description").keyup(a);$("#location_description").change(a);a()}});var hideFlash=function(){$("#error, #notice, #warning, #activity, #recaptcha_error").slideUp(function(){$("#flash_view_wrap").remove();containerStatus=false;$.cookie("flash",null,{path:"/"})})};var checkForContainer=function(){if(!containerStatus){var a='<div id="flash_view_wrap" onClick="hideFlash();"><div id="flash_view"><div id="flash_message"></div></div></div>';$("#flash_view_container").prepend(a);containerStatus=true}};var hideFlashLater=function(){setInterval(hideFlash,10000)};var flash=function(b,c,a){if(!c){return}checkForContainer(containerStatus);if(!b){b="notice"}if(typeof(c)=="object"){c='<a href="'+c[1]+'">'+c[0]+"</a>"}var d='<div id="'+b+'" style="display: none">'+c+"</div>";$("#flash_message").prepend(d);$("#"+b).slideDown()};var flashDone=false;var containerStatus=false;$(function(){var a=getCookieJSON("flash",true);if(a){$.each(a,flash,containerStatus)}hideFlashLater();$.cookie("flash",null,{path:"/"});flashDone=true;window.setTimeout(function(){$.cookie("flash",null,{path:"/"})},500)});$(function(){$.yesNo=function(b,d,c){var a='<div class="facebox_yesno">';if(b.match(/</)){a+=b}else{a+='<p class="text">'+b+"</p>"}a+='<p class="footer"><button id="yes">'+I18n.t("javascript.yesno.button_yes")+"</button>";a+='<button id="no">'+I18n.t("javascript.yesno.button_no")+"</button></p>";a+="</div>";$.facebox(a);$("#facebox div.footer").hide();$("#yes").click(function(){if(d){d()}$.facebox.close()});$("#no").click(function(){if(c){c()}$.facebox.close()})};$.showText=function(d,b,c){var a='<div class="facebox_yesno">';a+="<h2>"+d+"</h2>";a+='<p class="text">'+b+"</p>";a+='<p class="footer"><button id="close">'+I18n.t("javascript.yesno.close")+"</button></p>";a+="</div>";$.facebox(a);$("#facebox div.footer").hide();$("#close").click(function(){if(c){c()}$.facebox.close()})}});var ajaxify=function(){var a;if(this.attr){a=this}else{a=null}$("a[rel*=ask]",a).click(function(){var b=$(this);$.yesNo(I18n.t("javascript.yesno.question"),function(){$.getScript(b.attr("href"))});return false});$("a[rel*=ajax]",a).click(function(){var b=$(this);$.getScript(b.attr("href"));return false})};$.fn.extend({ajaxify:ajaxify});$(function(){ajaxify()});var showAGB=function(c,b){var a=this;$.showText(c,b,function(){$.getScript($(a).attr("href"))});return false};$(function(a){a.fn.animateModification=function(c,b,d,e){return this.each(function(){var j=a(this);var f={width:this.style.width,height:this.style.height};var k={width:j.width()+"px",height:j.height()+"px"};if(b){j.append(c)}else{j.html(c)}var g={width:j.width()+"px",height:j.height()+"px"};j.css(k).animate(g,d,function(){j.css(f);if(a.isFunction(e)){e()}})})}});function switch_short_long_text(e,d,b,a){var c=true;$("#message_short_button_"+a).hide();if(b=="content_div"){e.click(function(){if($("#message_div_"+a).hasClass("long")){switch_version(e,d.shortText);$("#message_short_button_"+a).hide();$("#message_long_button_"+a).show();$("#message_div_"+a).toggleClass("long");c=true}else{switch_version(e,d.longText);$("#message_long_button_"+a).hide();$("#message_short_button_"+a).show();$("#message_div_"+a).toggleClass("long");c=false}})}else{$("#message_long_button_"+a).click(function(){switch_version(e,d.longText);$("#message_long_button_"+a).hide();$("#message_short_button_"+a).show();$("#message_div_"+a).toggleClass("long");c=false});$("#message_short_button_"+a).click(function(){switch_version(e,d.shortText);$("#message_short_button_"+a).hide();$("#message_long_button_"+a).show();$("#message_div_"+a).toggleClass("long");c=true})}}function switch_faq(a){$(a).parent().next().slideToggle("fast");$(a).toggleClass("faq_active")}function switch_faq_header(a){$(a).next(".faq_list").slideToggle("slow");$(a).toggleClass("faq_header_active")}function switch_version(b,a){b.animateModification(a)}function open_stat(a){a=$(a);a.siblings().css({color:a.css("color"),backgroundColor:a.css("backgroundColor"),borderColor:a.css("borderColor")});a.css({color:"gray",backgroundColor:"white",borderColor:"gray"});$(".active_stat").css("display","none");$(".active_stat").removeClass("active_stat").addClass("hidden_stat");className=$(a).attr("class");$("#"+className).removeClass("hidden_stat").addClass("active_stat");$("#"+className).css("display","block")}function open_stat_minor(a){a=$(a);a.siblings().css({color:a.css("color"),backgroundColor:a.css("backgroundColor"),borderColor:a.css("borderColor")});a.css({color:"gray",backgroundColor:"white",borderColor:"gray"});$(".active_stat2").css("display","none");$(".active_stat2").removeClass("active_stat2").addClass("hidden_stat2");className=$(a).attr("class");$("#"+className).removeClass("hidden_stat2").addClass("active_stat2");$("#"+className).css("display","block")}function open_stat_main(a){$(".active_stat1").css("display","none");$(".active_stat1").removeClass("active_stat1").addClass("hidden_stat1");className=$(a).attr("class");$("#"+className).removeClass("hidden_stat1").addClass("active_stat1");$("#"+className).css("display","block")}function stat_tile_hover(a){$(a).css("border","1px solid red")}var updateCountFor=function(a,b){$(".count_for_"+a).html(b)};var updateCountForMessages=function(a,b){if(b===0){$("#top_right_friendship").remove()}if(b==1){$("#top_left_friendship_requests_for_update").html(I18n.t("javascript.message.one"))}updateCountFor(a,b)};function init_js_on_more_button_click(){init_tooltips();init_ft_facebox();ajaxify()}function init_more_button(a,d,k,c,f,b,g,j){var e=1;$("#"+d).click(function(){c.page=++e;c.per_page=f;if(moreButton.no_request_pending){if(j){more_button_table_execute(a,d,k,c,b,g)}else{more_button_list_execute(a,d,k,c,b,g)}}return false})}function more_button_list_execute(b,c,d,f,a,e){if(moreButton.no_request_pending){moreButton.no_request_pending=false;$.get(d,f,function(m){var j=$("."+e).length;var l=$("."+a);var g;if(c=="user_home_city_button button"){g=$(".user_home_city_button").offset().top-70*2}else{if(c=="user_home_friend_button button"){g=$(".user_home_friend_button button").offset().top-70*2}else{g=$("#"+c).offset().top-70*2}}l.animateModification(m,true);var k=$("."+e).length;if(k-j<f.per_page){$("#"+c).remove();$("."+c).remove()}$("html, body").animate({scrollTop:g},"slow",null,function(){moreButton.no_request_pending=true});init_js_on_more_button_click()})}}function more_button_table_execute(a,b,d,f,c,e){if(moreButton.no_request_pending){moreButton.no_request_pending=false;$.get(d,f,function(m){var j=$("."+e).length;var l=$("#"+c+" > tbody:last");var g;if(b=="user_home_city_button button"){g=$(".user_home_city_button").offset().top-70*2}else{if(b=="user_home_friend_button button"){g=$(".user_home_friend_button button").offset().top-70*2}else{g=$("#"+b).offset().top-70*2}}l.append("<tr>"+m+"</tr>");var k=$("."+e).length;if(k-j<f.per_page){$("#"+b).remove()}$("html, body").animate({scrollTop:g},"slow",null,function(){moreButton.no_request_pending=true});init_js_on_more_button_click()})}}moreButton={friend_page:1,city_page:1,no_request_pending:true};$(function(){if(moreButton.no_request_pending){$(".user_home_friend_button button").click(moreButton.friend_click);moreButton.friend_page=1;var a=5;moreButton.friend_click=function(){var b={page:++moreButton.friend_page,per_page:a,display:"mini",home:"true"};more_button_list_execute($(this),"user_home_friend_button button",activities_path(),b,"user_home_stream","ticker_list_element");return false}}});$(function(){if(moreButton.no_request_pending){$(".user_home_city_button button").click(moreButton.city_click);moreButton.city_page=1;var a=5;moreButton.city_click=function(){var b={page:++moreButton.city_page,per_page:a,display:"mini"};more_button_list_execute($(this),"user_home_city_button button",activities_path(),b,"user_home_stream","ticker_list_element");return false}}});$().ready(function(){var parseJSON=function(row){var loc;eval("loc = "+row+".location");return loc};var parseJsonCat=function(row){var cat;eval("cat = "+row+".category");return cat};var parseJsonItem=function(row){var item;eval("item = "+row+".item");return item};var formatLocation=function(row){var loc=parseJSON(row);return(loc.image_medium?'<img src="'+loc.qype_image_url+"small"+loc.qype_image_content_type+'" alt="'+loc.title+'" style="float:left;"></img>':"")+"<div><b>"+loc.id+": "+loc.title+"</b><br />"+(loc.url?loc.url+"<br />":"")+(loc.street?loc.street+" "+loc.housenumber+"<br />":"")+(loc.locators_names?loc.locators_names+"<br />":"")+(loc.categories_names?loc.categories_names+"<br />":"")+"</div>"};var formatLocator=function(row){var loc=parseJSON(row);return"<div><b>"+loc.id+": "+loc.title+"</b><br />"+loc.unique_title+"<br />qype: "+loc.qype_id+"</div>"};var formatCategory=function(row){var cat=parseJsonCat(row);return"<div><b>"+cat.id+": "+cat.title+"</b><br />"+cat.unique_title+"</div>"};var formatItem=function(row){var item=parseJsonItem(row);return"<div><b>"+item.id+": "+item.title+"</b><br />"+item.unique_title+"</div>"};var formatResult=function(row){var loc=parseJSON(row);return loc.id};var formatCatResult=function(row){var cat=parseJsonCat(row);return cat.id};var formatItemResult=function(row){var item=parseJsonItem(row);return item.id};$("#item_locations").autocomplete("/admin/locations/json_autocomplete",{multiple:true,mustMatch:true,autoFill:false,width:500,max:20,formatItem:formatLocation,formatResult:formatResult});$("#item_locators").autocomplete("/admin/locators/json_autocomplete",{multiple:true,mustMatch:true,autoFill:false,width:500,max:20,formatItem:formatLocator,formatResult:formatResult});$("#waypoint_template_locations").autocomplete("/admin/locations/json_autocomplete",{multiple:true,mustMatch:true,autoFill:false,width:500,max:20,formatItem:formatLocation,formatResult:formatResult});$("#waypoint_template_locators").autocomplete("/admin/locators/json_autocomplete",{multiple:true,mustMatch:true,autoFill:false,width:500,max:20,formatItem:formatLocator,formatResult:formatResult});$("#waypoint_template_categories").autocomplete("/admin/categories/json_autocomplete",{multiple:true,mustMatch:true,autoFill:false,width:500,max:20,formatItem:formatCategory,formatResult:formatCatResult});$("#location_category").autocomplete("/admin/categories/json_autocomplete",{multiple:true,mustMatch:true,autoFill:false,width:500,max:20,formatItem:formatCategory,formatResult:formatCatResult});$("#item_quest_next_item").autocomplete(json_autocomplete_admin_items_path(),{multiple:false,mustMatch:true,autoFill:false,width:500,max:20,formatItem:formatItem,formatResult:formatItemResult})});var autocompleteUserCityTitle=function(){$("#user_city_title").autocomplete(root_path()+"/users/auto_complete_for_user_city",{lineSeparator:"\\n",minChars:1,cacheLength:20,selectFirst:true,max:10,scroll:false,highlight:false}).result(function(a,c,b){$("#result").html(c?"":document.getElementById("user_city_title").value=lastCity)}).blur(function(){$(this).search()})};var autocompleteUserCity=function(){$("#user_city").autocomplete(root_path()+"/users/auto_complete_for_user_city",{lineSeparator:"\\n",minChars:1,cacheLength:20,autoFill:true,selectFirst:true,max:10,scroll:false,highlight:false})};var checkCityOnly=$("#location_virtual").checked;var autocompleteLocationAddress=function(){if(document.getElementById("location_city").value!=""&&(document.getElementById("location_street").value!=""||document.getElementById("location_virtual").checked)){if(document.getElementById("location_virtual").checked){checkCityOnly=true}else{checkCityOnly=false}replaceCheckButtonWithImg();var xmlhttp=null;if(window.XMLHttpRequest){xmlhttp=new XMLHttpRequest()}else{if(window.ActiveXObject){xmlhttp=new ActiveXObject("Microsoft.XMLHTTP")}}xmlhttp.open("GET","/locations/auto_complete_for_location_street?q="+document.getElementById("location_street").value+"&city="+document.getElementById("location_city").value+"&housenumber="+document.getElementById("location_housenumber").value+"&postcode="+document.getElementById("location_postcode").value+"&country="+document.getElementById("location_country_id").value+"&no_street="+(checkCityOnly==true)+"",true);xmlhttp.onreadystatechange=function(){if(xmlhttp.readyState==4&&xmlhttp.status==200){data=xmlhttp.responseText;if(data==""){data="<li>"+I18n.t("javascript.locations.edit.no_valid_address")+"</li>";$("#location_address_verification").html(new EJS({text:data}).render());replaceImgWithCheckButton()}else{if(data.replace(/<li>/,"").match(/<li>/)==null){eval(data.replace("<li>- <a href='","").replace(/;\'>.*<\/a><\/li>/,""))}else{data="<li>"+I18n.t("javascript.locations.edit.address_suggestion")+"</li><li>&nbsp;</li>"+data+"<li>&nbsp;</li>";$("#location_address_verification").html(new EJS({text:data}).render());replaceImgWithCheckButton()}}}};xmlhttp.send(null)}else{if(!document.getElementById("location_virtual").checked){$("#location_address_verification").html(new EJS({text:I18n.t("javascript.locations.new.no_city_nor_street")}).render())}else{if(document.getElementById("location_street").value==""&&document.getElementById("location_postcode").value==""){validAddress=true;if(document.getElementById("location_city").value==""){validCity=true}}}}};var replaceCheckButtonWithImg=function(){document.getElementById("location_city").setAttribute("disabled","disabled");document.getElementById("location_postcode").setAttribute("disabled","disabled");document.getElementById("location_street").setAttribute("disabled","disabled");document.getElementById("location_housenumber").setAttribute("disabled","disabled");img=document.createElement("img");img.setAttribute("src","/images/loading_small.gif");if(document.getElementById("approve_button").firstChild==null){document.getElementById("approve_button").appendChild(img)}else{button=document.getElementById("approve_button").firstChild;document.getElementById("approve_button").replaceChild(img,button)}};var replaceImgWithCheckButton=function(){document.getElementById("location_city").removeAttribute("disabled");document.getElementById("location_postcode").removeAttribute("disabled");document.getElementById("location_street").removeAttribute("disabled");document.getElementById("location_housenumber").removeAttribute("disabled");img=document.getElementById("approve_button").firstChild;button=document.createElement("input");button.setAttribute("onclick","javascript:autocompleteLocationAddress();");button.setAttribute("type","button");button.setAttribute("value",I18n.t("javascript.locations.new.check_address"));document.getElementById("approve_button").replaceChild(button,img)};var replaceCheckButtonWithNothing=function(){document.getElementById("location_city").removeAttribute("disabled");document.getElementById("location_postcode").removeAttribute("disabled");document.getElementById("location_street").removeAttribute("disabled");document.getElementById("location_housenumber").removeAttribute("disabled");if(document.getElementById("approve_button").firstChild){button=document.getElementById("approve_button").firstChild;document.getElementById("approve_button").removeChild(button)}};var enableSubmitButton=function(){document.getElementById("location_submit").removeAttribute("disabled")};var removeSubmitButton=function(){document.getElementById("location_submit").setAttribute("disabled","disabled")};var createCheckButton=function(){button=document.createElement("input");button.setAttribute("onclick","javascript:autocompleteLocationAddress();");button.setAttribute("type","button");button.setAttribute("value",I18n.t("javascript.locations.new.check_address"));document.getElementById("approve_button").appendChild(button)};var removeAddressVerification=function(){list=document.createElement("ul");list.setAttribute("id","location_address_verification");$("#location_address_verification").replaceWith(list)};var autofillLocationAddress=function(f,b,j,g,e,d,a){validAddress=true;validCity=true;replaceCheckButtonWithImg();var c=null;if(window.XMLHttpRequest){c=new XMLHttpRequest()}else{if(window.ActiveXObject){c=new ActiveXObject("Microsoft.XMLHTTP")}}c.open("GET","/locations/auto_complete_for_location_city?latitude="+d+"&longitude="+a+"&country="+e+"&city="+f,true);c.onreadystatechange=function(){if(c.readyState==4&&c.status==200){document.getElementById("location_city_id").value=c.responseText;replaceCheckButtonWithNothing();document.getElementById("location_city").value=(f);document.getElementById("location_postcode").value=(b);if(document.getElementById("location_postcode_hidden")!=null){document.getElementById("location_postcode_hidden").value=(b)}document.getElementById("location_street").value=(j);document.getElementById("location_housenumber").value=(g);list=document.createElement("ul");list.setAttribute("id","location_address_verification");successMessage=document.createElement("li");successMessage.appendChild(document.createTextNode(I18n.t("javascript.locations.edit.address_successfully_verified")));list.appendChild(successMessage);$("#location_address_verification").replaceWith(list);releaseForm()}};c.send(null)};var appendEventHandlerResetLocationAddress=function(b,a){document.getElementById(b).setAttribute("onkeydown",'resetLocationAddress(event,"'+a+'",false);');document.getElementById(b).setAttribute("onblur",'resetLocationAddress(event,"'+a+'",false);removeEventHanlder("'+b+'","keydown");')};var resetLocationAddress=function(a,c,b){if(a.keyCode!=9){if(b){document.getElementById("location_city").value="";document.getElementById("location_postcode").value="";document.getElementById("location_country_id").value=document.getElementById("location_country_id_visible").value}document.getElementById("location_street").value="";document.getElementById("location_housenumber").value="";if(document.getElementById("approve_button").firstChild==null){createCheckButton()}validAddress=(document.getElementById("location_virtual").checked&&$("#location_street").val().replace(/\s*/,"").length==0);validCity=(document.getElementById("location_city").value==""||document.getElementById("location_city").value==c);if(document.getElementById("location_virtual").checked&&document.getElementById("location_city").value==""){document.getElementById("location_city_id").value=""}releaseForm()}};var changeValidAddress=function(){validAddress=validAddress||(document.getElementById("location_virtual").checked&&$("#location_street").val().replace(/\s*/,"").length==0);$("#"+formId).validate().element(document.getElementById("location_street"))&&$("#"+formId).validate().element(document.getElementById("location_city"));removeAddressVerification();if(document.getElementById("location_virtual").checked){checkCityOnly=true;if(document.getElementById("location_street").value==""&&document.getElementById("location_postcode").value==""){validAddress=true;if(document.getElementById("location_city").value==""){validCity=true}}}if(document.getElementById("location_city").value==""){document.getElementById("location_city_id").value=""}releaseForm()};var removeEventHanlder=function(b,a){document.getElementById(b).removeAttribute("on"+a)};var appendEventHandlerChangeStreetAgain=function(a){document.getElementById(a).setAttribute("onblur",'removeEventHanlder("'+a+'","onkeydown");autocompleteLocationAddress();');document.getElementById(a).setAttribute("onkeydown","changeStreetAgain();document.getElementById('"+a+"').setAttribute('onkeydown','');")};var changeStreetAgain=function(){validAddress=(document.getElementById("location_virtual").checked&&$("#location_street").val().replace(/\s*/,"").length==0);$("#"+formId).validate().element(document.getElementById("location_street"))&&$("#"+formId).validate().element(document.getElementById("location_city"));removeSubmitButton();if(document.getElementById("approve_button").firstChild==null){createCheckButton()}removeAddressVerification()};var releaseForm=function(){if(document.getElementById("location_virtual").ckecked){validAddress=true}if($("#"+formId).validate().element(document.getElementById("location_street"))&&$("#"+formId).validate().element(document.getElementById("location_city"))){if(document.getElementById("location_category_id")!=undefined){if(document.getElementById("location_category_id").selectedIndex!=0){enableSubmitButton()}else{removeSubmitButton()}}else{enableSubmitButton()}}else{if(!$("#"+formId).validate().element(document.getElementById("location_street"))||!$("#"+formId).validate().element(document.getElementById("location_city"))){removeSubmitButton()}}};var setLocationTitle=function(){document.getElementById("location_title").value=document.getElementById("location_title_visible").value};var getCityByPostcode=function(){postcode=document.getElementById("location_postcode").value;country_id=document.getElementById("location_country_id").value;if(postcode!=""){replaceCheckButtonWithImg();var a=null;if(window.XMLHttpRequest){a=new XMLHttpRequest()}else{if(window.ActiveXObject){a=new ActiveXObject("Microsoft.XMLHTTP")}}a.open("GET","/locations/get_city_by_postcode?postcode="+postcode+"&country_id="+country_id,true);a.onreadystatechange=function(){if(a.readyState==4&&a.status==200){replaceImgWithCheckButton();data=a.responseText.replace(/;.*$/,"");lat=a.responseText.replace(/^.*;/,"").replace(/,.*$/,"");lng=a.responseText.replace(/^.*,/,"");if(data==""){document.getElementById("location_postcode").value="";if(document.getElementById("location_postcode_hidden")!=null){document.getElementById("location_postcode_hidden").value=""}validCity=false}else{validCity=true;autofillLocationAddress(data,postcode,"","",country_id,lat,lng)}removeAddressVerification();$("#"+formId).validate().element(document.getElementById("location_city"));$("#"+formId).validate().element(document.getElementById("location_street"));releaseForm()}};a.send(null)}};var getAnswerToDeactivationReason=function(a){if(a.checked){a.setAttribute("onclick","removeAnswerToDeactivationReason(this);");document.getElementById(a.id+"_answer").setAttribute("style","display:block")}else{removeAnswerToDeactivationReason(a)}};var removeAnswerToDeactivationReason=function(a){if(!a.checked){a.setAttribute("onclick","getAnswerToDeactivationReason(this);");document.getElementById(a.id+"_answer").setAttribute("style","display:none")}else{getAnswerToDeactivationReason(a)}};var makeOtherTextVisible=function(){document.getElementById("other").setAttribute("onclick","makeOtherTextInvisible();");document.getElementById("other_text").removeAttribute("disabled")};var makeOtherTextInvisible=function(){document.getElementById("other").setAttribute("onclick","makeOtherTextVisible();");document.getElementById("other_text").setAttribute("disabled","disabled")};var friendsActivities=function(){if(moreButton.no_request_pending){moreButton.no_request_pending=false;$("#user_city_ticker_header").css({display:"none"});$("#user_friends_ticker_header").css({display:"block"});$("#user_friends_ticker_header small").css({cursor:"pointer",color:"#FF683D"});$("div.user_home_more_button").replaceWith("<div class='user_home_friend_button'><button></button></div>");$("div.user_home_city_button").replaceWith("<div class='user_home_friend_button'><button></button></div>");moreButton.friend_page=1;$(".user_home_friend_button button").click(moreButton.friend_click);var b=1,a=5;var c={page:b,per_page:a,display:"mini",home:true};jQuery.get(activities_path(),c,function(e){var d=$(".user_home_stream");d.html(e);init_js_on_more_button_click()})}moreButton.no_request_pending=true};var cityActivities=function(){if(moreButton.no_request_pending){moreButton.no_request_pending=false;$("#user_friends_ticker_header").css({display:"none"});$("#user_city_ticker_header").css({display:"block"});$("#user_city_ticker_header small").css({cursor:"pointer",color:"#FF683D"});$("div.user_home_more_button").replaceWith("<div class='user_home_city_button'><button></button></div>");$("div.user_home_friend_button").replaceWith("<div class='user_home_city_button'><button></button></div>");moreButton.city_page=1;$(".user_home_city_button button").click(moreButton.city_click);var b=1,a=5;var c={page:b,per_page:a,display:"mini"};jQuery.get(activities_path(),c,function(e){var d=$(".user_home_stream");d.html(e);init_js_on_more_button_click()})}moreButton.no_request_pending=true};var city_or_friend_activities=function(){if(($(".count_for_friends").html()*1)<5){cityActivities()}else{friendsActivities()}};$(function(){$("#user_friends_ticker_header small").click(function(){cityActivities()});$("#user_city_ticker_header small").click(function(){friendsActivities()})});var tickerFunction=function(){var j=10,d=j,c=10,a=72,e=5000;var g=$(".ticking");var b=function(){var k=0;g.find("li:eq("+(d+c)+")").animate({top:c*a+"px",opacity:0});g.find("li:gt("+d+"):lt("+(d+c)+")").each(function(){$(this).animate({top:++k*a+"px"})});g.find("li:eq("+d+")").css({position:"absolute",top:-a+"px",opacity:0,display:"block"}).animate({top:0,opacity:1});g.find("li:eq("+(d+c)+")").hide(1);if(d==0){g.prepend(g.find("li:last"))}else{d--}setTimeout(b,e)};var f=function(){var k=0;g.css({position:"relative",height:c*a+20+"px"});g.find("li:lt("+(j+1)+")").hide();g.find("li:gt("+(j+c)+")").hide();g.find("li:gt("+j+")").each(function(){$(this).css({position:"absolute",top:k++*a+"px"})})};f();setTimeout(b,e)};$(tickerFunction);var currentUser=getCookieJSON("current_user");var cacheDone=false;var userInfoLoaded=false;$(function(){if(typeof(username)=="undefined"){username=false}if((currentUser&&currentUser.username)||username){$("#top").removeClass("header_logged_out").addClass("header_logged_in");$("#login_info").html(new EJS({text:'        <%= I18n.t("layout.main.logged_in_as") %>         <%= link_to(currentUser.username || username, user_path(currentUser.username || username)) %>        (<%= link_to(I18n.t("layout.main.logout"), user_sessions_path(),                      { id: "logout_navigation_link", onclick: "return logout()" }) %>)      '}).render());$("#top_left_teaser").remove();$("#top_right_friendship").html(new EJS({text:'         <% if (currentUser.messages > 0) { %>          <div id="top_left_friendship">          <div id="top_left_friendship_face"></div>          <div id="top_left_friendship_requests">            <%= I18n.t("layout.main.hello") %>            <strong><%= currentUser.username || username %></strong>!<br />            <div id="top_left_friendship_requests_for_update">              <% if (currentUser.messages > 1) { %>                <%= link_to(I18n.t("layout.main.you_got") +                            " " + countFor("messages", currentUser.messages) + " " +                            I18n.t("layout.main.new_messages"),                            messages_path()) %>              <% } else { %>                <%= link_to(I18n.t("layout.main.you_got") +                            " " + countFor("messages", currentUser.messages) + " " +                            I18n.t("layout.main.new_message"),                            messages_path()) %>              <% } %>            </div>          </div>        </div>        <% } %>      '}).render());$("a[rel=home]").attr("href",home_user_path(currentUser.username||username));$("#flash_view_container").attr("id","flash_view_container_logged_in");$("#link_to_or_modal").attr("rel",null);$(".top_navigation_empty_link").remove();$("#top_navigation ul").append(new EJS({text:'        <li id="top_navigation_friends"><%= link_to(I18n.t("layout.main.friends"),                        friends_user_path(currentUser.username || username),                        { id: "my_friends_navigation_link", "class": "navigation_link" }) %><div id="navi_arrow_friends"></div></li>        <li id="top_navigation_locations"><%= link_to(I18n.t("layout.main.locations"),                        locations_path(),                        { id: "locations_navigation_link", "class": "navigation_link" }) %><div id="navi_arrow_locations"></div></li>        <li id="top_navigation_items"><%= link_to(I18n.t("layout.main.items"),                        items_user_path(currentUser.username || username),                        { id: "items_navigation_link", "class": "navigation_link" }) %><div id="navi_arrow_items"></div></li>        <li id="top_navigation_profile"><%= link_to(I18n.t("layout.main.my_profile"),                        user_path(currentUser.username || username),                        { id: "my_profile_navigation_link", "class": "navigation_link" }) %><div id="navi_arrow_profile"></div></li>        <li id="top_navigation_messages"><%= link_to(I18n.t("layout.main.messages"),                        messages_path(),                        { id: "messages_navigation_link", "class": "navigation_link" }) %><div id="navi_arrow_messages"></div></li>        <li id="top_navigation_help" class="top_navigation_last_link"><%= link_to("?",                        show_faq_home_page_path(),                        { id: "help_navigation_link" }) %><div id="navi_arrow_help"></div></li>      '}).render())}cacheDone=true});var logout=function(){var b=document.createElement("form");b.style.display="none";document.getElementsByTagName("body")[0].parentNode.appendChild(b);b.method="POST";b.action=user_sessions_path();var a=document.createElement("input");a.setAttribute("type","hidden");a.setAttribute("name","_method");a.setAttribute("value","delete");b.appendChild(a);b.submit();return false};var cacheDone=false;$(function(){if(!currentUser||!currentUser.username){$("#join_now_wrapper a").html(new EJS({text:'        <div id="top_left_join_btn"><%= I18n.t("layout.main.join_now") %></div>'}).render());$(".top_navigation_empty_link").remove();$("#top_navigation ul").append(new EJS({text:'        <li id="top_navigation_user"><%= link_to(I18n.t("layout.main.users"),                        "/topuser/" + lastCity,                        { id: "my_friends_navigation_link", "class": "navigation_link" }) %><div id="navi_arrow_friends"></div></li>        <li id="top_navigation_locations"><%= link_to(I18n.t("layout.main.locations"),                        "/toplocations/" + lastCity,                        { id: "locations_navigation_link", "class": "navigation_link" }) %><div id="navi_arrow_locations"></div></li>        <li id="top_navigation_items"><%= link_to(I18n.t("layout.main.items"),                        items_path(),                        { id: "items_navigation_link", "class": "navigation_link" }) %><div id="navi_arrow_items"></div></li>        <li id="top_last_logged_out" class="top_navigation_last_element">&nbsp;</div></li>        <li id="top_navigation_help" class="top_navigation_last_link"><%= link_to("?",                        show_faq_home_page_path(),                        { id: "help_navigation_link" }) %><div id="navi_arrow_help"></div></li>      '}).render())}cacheDone=true});$(document).ready(function(a){init_ft_facebox()});function init_ft_facebox(){$("a[rel*=facebox]").facebox().attr("rel",null)}var updateDigit=function(b,a){$("#"+b).html(a)};var timeNotNull=true;var savingsNotReached=true;var step=0;var updateClock=function(){if(timeNotNull){if((document.getElementById("sec_1").innerHTML*1)==0){if((document.getElementById("sec_10").innerHTML*1)==0){if((document.getElementById("min_1").innerHTML*1)==0){if((document.getElementById("min_10").innerHTML*1)==0){if((document.getElementById("hour_1").innerHTML*1)==0){if((document.getElementById("hour_10").innerHTML*1)==0){if((document.getElementById("day_1").innerHTML*1)==0){timeNotNull=false;$("div.item_ending_soon").replaceWith("<div class='item_ending_soon'><h2>"+I18n.t("javascript.startpage.item_gone")+"</h2></div>")}updateDigit("hour_10",3);updateDigit("hour_1",4);updateDigit("day_1",(document.getElementById("day_1").innerHTML-1)%10)}else{updateDigit("hour_1",10)}updateDigit("hour_10",(document.getElementById("hour_10").innerHTML-1)%10)}updateDigit("min_10",6);updateDigit("hour_1",(document.getElementById("hour_1").innerHTML-1)%10)}updateDigit("min_1",10);updateDigit("min_10",(document.getElementById("min_10").innerHTML-1)%10)}updateDigit("sec_10",6);updateDigit("min_1",(document.getElementById("min_1").innerHTML-1)%10)}updateDigit("sec_1",10);updateDigit("sec_10",(document.getElementById("sec_10").innerHTML-1)%10)}updateDigit("sec_1",(document.getElementById("sec_1").innerHTML-1)%10)}};var updateDigits=function(a){updateDigit("distributed_digit_5",parseInt(a/10000)%10);updateDigit("distributed_digit_4",parseInt(a/1000)%10);updateDigit("distributed_digit_3",parseInt(a/100)%10);updateDigit("distributed_digit_2",parseInt(a/10)%10);updateDigit("distributed_digit_1",parseInt(a)%10)};var updateSavings=function(a,c,b,d){if(savingsNotReached){step=step+b+Math.floor(Math.random()*13);c=c+step;if(c>=d){savingsNotReached=false;c=d}sav=c;setTimeout("updateDigits(sav)",Math.floor(Math.random()*5001))}};$(function(){init_tooltips()});function init_tooltips(){var b=function(){var d=this;var e=d.getTooltip()[0];$(".tooltip").each(function(f,g){if(g!==e){$(g).hide()}});d.reposition=function(){d.getTooltip().appendTo("body");var f={};f.top=this.getPos().top;f.bottom=this.getPos().top+this.getTooltip().height();f.left=this.getPos().left;f.right=this.getPos().left+this.getTooltip().width();var g={};g.top=$(window).scrollTop();g.bottom=$(window).scrollTop()+$(window).height();g.left=$(window).scrollLeft();g.right=$(window).scrollLeft()+$(window).width();if(f.top<g.top){f.top=g.top}else{if(f.bottom>g.bottom){f.top-=(f.bottom-g.bottom)}}if(f.left<g.left){f.left=g.left}else{if(f.right>g.right){f.left-=(f.right-g.right)}}};if(d.content){d.getTooltip().html("")}d.doLoadContent=true;setTimeout(function(){preload=d.getParent().next("div.tooltip_preload");if(preload.length>0){if(d.doLoadContent){d.content=preload.eq(0).html();d.update(preload.eq(0).html());preload.remove()}}else{if(d.content){if(d.doLoadContent){d.update(d.content);d.reposition()}}else{d.update(d.getParent().children("div div").eq(0).html());jQuery.get(d.getParent().attr("href")+"/tooltip",{},function(f){d.content=f;if(d.doLoadContent){d.update(f);d.reposition()}})}}},250)};var c=function(){var d=this};var a=function(){var d=this;d.doLoadContent=false};$("a[rel=avatar_tooltip]").simpletip({fixed:true,content:"",position:["-95","-140"],onBeforeShow:b,onShow:c,onHide:a,showEffect:"fade",showTime:50});$("a[rel=avatar_big_tooltip]").simpletip({fixed:true,content:"",position:["-80","-220"],onBeforeShow:b,onShow:c,onHide:a,showEffect:"fade",showTime:50});$("a[rel=item_tooltip]").simpletip({fixed:true,content:"",position:["-95","-140"],onBeforeShow:b,onShow:c,onHide:a,showEffect:"fade",showTime:50});$("a[rel=location_tooltip]").simpletip({fixed:true,content:"",position:["-95","-140"],onBeforeShow:b,onShow:c,onHide:a,showEffect:"fade",showTime:50});$("div #tooltip_checkin").qtip({fixed:true,position:{corner:{target:"topLeft",tooltip:"bottomLeft"},adjust:{x:12,y:-6}},content:"<img src='/images/buttons/location_action_icons_checkin.png' alt='Check-In'/> "+I18n.t("javascript.locations.checkin"),show:"mouseover",hide:"mouseout",showEffect:"fade",showTime:50,style:{name:"light",background:"#B7008D",color:"white",tip:{corner:"bottomLeft",size:{x:20,y:8}},border:{color:"#F3F3F3"}}});$("div #fb_reminder").qtip({hide:{fixed:true},position:"rightMiddle",adjust:{y:100},content:">",show:"mouseover",showEffect:"fade",showTime:30,style:{border:{width:2},name:"light",background:"#3b5997",color:"white"}});$("div #invite_friends_reminder").qtip({hide:{fixed:true},position:"rightMiddle",adjust:{y:100},content:"<img src='/images/reminders/mail2.jpg' alt='FT'/>",show:"mouseover",showEffect:"fade",showTime:30,style:{border:{width:1},name:"light",background:"white",color:"white"}});$("div.open_tooltip").each(function(){$(this).qtip({position:{corner:{target:"bottomMiddle",tooltip:"topRight"}},content:{url:"/admin/statistics/generals/tooltips",data:{kpi:$(this).parent().attr("id")},method:"get"},show:{delay:50,when:{event:"click"},effect:{type:"slide",length:500}},hide:{delay:100,when:{event:"unfocus"},effect:{type:"slide",length:500},fixed:true},style:{width:917,border:{width:2},name:"dark",tip:true}})})}var add_help=function(a){$("#register_help_"+a).html(new EJS({text:I18n.t("javascript.registration."+a)}).render())};var remove_help=function(a){$("#register_help_"+a).html(new EJS({text:""}).render())};function show_reg_help(a){var b=$(a).closest("td").offset();var c=$(a).closest("td").next().children().height()+5;$(a).addClass("forms_input_medium_active");$(a).closest("td").next().children().css("top",b.top-c+2);$(a).closest("td").next().children().css("left",b.left+175);$(a).closest("td").next().children().addClass("show_reg_help")}function hide_reg_help(a){$(a).removeClass("forms_input_medium_active");$(a).closest("td").next().children().removeClass("show_reg_help")}var init_registration_help=function(){document.getElementById("user_date_of_birth_1i").setAttribute("onfocus",'add_help("date_of_birth");show_reg_help(this);');document.getElementById("user_date_of_birth_1i").setAttribute("onfocus",'add_help("date_of_birth");show_reg_help(this);');document.getElementById("user_date_of_birth_2i").setAttribute("onfocus",'add_help("date_of_birth");show_reg_help(this);');document.getElementById("user_date_of_birth_3i").setAttribute("onfocus",'add_help("date_of_birth");show_reg_help(this);');document.getElementById("user_date_of_birth_1i").setAttribute("onblur",'remove_help("date_of_birth");hide_reg_help(this);');document.getElementById("user_date_of_birth_2i").setAttribute("onblur",'remove_help("date_of_birth");hide_reg_help(this);');document.getElementById("user_date_of_birth_3i").setAttribute("onblur",'remove_help("date_of_birth");hide_reg_help(this);');document.getElementById("user_form_username").setAttribute("onfocus",'add_help("username");show_reg_help(this);');document.getElementById("user_form_username").setAttribute("onblur",'remove_help("username");hide_reg_help(this);');document.getElementById("user_password").setAttribute("onfocus",'add_help("password");show_reg_help(this);');document.getElementById("user_password").setAttribute("onblur",'remove_help("password");hide_reg_help(this);');document.getElementById("user_password_confirmation").setAttribute("onfocus",'add_help("password_confirmation");show_reg_help(this);');document.getElementById("user_password_confirmation").setAttribute("onblur",'remove_help("password_confirmation");hide_reg_help(this);');document.getElementById("user_form_email").setAttribute("onfocus",'add_help("email");show_reg_help(this);');document.getElementById("user_form_email").setAttribute("onblur",'remove_help("email");hide_reg_help(this);');document.getElementById("user_form_firstname").setAttribute("onfocus",'add_help("firstname");show_reg_help(this);');document.getElementById("user_form_firstname").setAttribute("onblur",'remove_help("firstname");hide_reg_help(this);');document.getElementById("user_form_lastname").setAttribute("onfocus",'add_help("lastname");show_reg_help(this);');document.getElementById("user_form_lastname").setAttribute("onblur",'remove_help("lastname");hide_reg_help(this);')};