(function(){var W=this,AB,F=W.jQuery,S=W.$,T=W.jQuery=W.$=function(B,A){return new T.fn.init(B,A)},M=/^[^<]*(<(.|\s)+>)[^>]*$|^#([\w-]+)$/,AC=/^.[^:#\[\.,]*$/;T.fn=T.prototype={init:function(a,B){a=a||document;if(a.nodeType){this[0]=a;this.length=1;this.context=a;return this}if(typeof a==="string"){var C=M.exec(a);if(C&&(C[1]||!B)){if(C[1]){a=T.clean([C[1]],B)}else{var A=document.getElementById(C[3]);if(A&&A.id!=C[3]){return T().find(a)}var D=T(A||[]);D.context=document;D.selector=a;return D}}else{return T(B).find(a)}}else{if(T.isFunction(a)){return T(document).ready(a)}}if(a.selector&&a.context){this.selector=a.selector;this.context=a.context}return this.setArray(T.isArray(a)?a:T.makeArray(a))},selector:"",jquery:"1.3.2",size:function(){return this.length},get:function(A){return A===AB?Array.prototype.slice.call(this):this[A]},pushStack:function(C,A,D){var B=T(C);B.prevObject=this;B.context=this.context;if(A==="find"){B.selector=this.selector+(this.selector?" ":"")+D}else{if(A){B.selector=this.selector+"."+A+"("+D+")"}}return B},setArray:function(A){this.length=0;Array.prototype.push.apply(this,A);return this},each:function(A,B){return T.each(this,A,B)},index:function(A){return T.inArray(A&&A.jquery?A[0]:A,this)},attr:function(C,A,B){var D=C;if(typeof C==="string"){if(A===AB){return this[0]&&T[B||"attr"](this[0],C)}else{D={};D[C]=A}}return this.each(function(a){for(C in D){T.attr(B?this.style:this,C,T.prop(this,D[C],B,a,C))}})},css:function(B,A){if((B=="width"||B=="height")&&parseFloat(A)<0){A=AB}return this.attr(B,A,"curCSS")},text:function(A){if(typeof A!=="object"&&A!=null){return this.empty().append((this[0]&&this[0].ownerDocument||document).createTextNode(A))}var B="";T.each(A||this,function(){T.each(this.childNodes,function(){if(this.nodeType!=8){B+=this.nodeType!=1?this.nodeValue:T.fn.text([this])}})});return B},wrapAll:function(B){if(this[0]){var A=T(B,this[0].ownerDocument).clone();if(this[0].parentNode){A.insertBefore(this[0])}A.map(function(){var C=this;while(C.firstChild){C=C.firstChild}return C}).append(this)}return this},wrapInner:function(A){return this.each(function(){T(this).contents().wrapAll(A)})},wrap:function(A){return this.each(function(){T(this).wrapAll(A)})},append:function(){return this.domManip(arguments,true,function(A){if(this.nodeType==1){this.appendChild(A)}})},prepend:function(){return this.domManip(arguments,true,function(A){if(this.nodeType==1){this.insertBefore(A,this.firstChild)}})},before:function(){return this.domManip(arguments,false,function(A){this.parentNode.insertBefore(A,this)})},after:function(){return this.domManip(arguments,false,function(A){this.parentNode.insertBefore(A,this.nextSibling)})},end:function(){return this.prevObject||T([])},push:[].push,sort:[].sort,splice:[].splice,find:function(B){if(this.length===1){var A=this.pushStack([],"find",B);A.length=0;T.find(B,this[0],A);return A}else{return this.pushStack(T.unique(T.map(this,function(C){return T.find(B,C)})),"find",B)}},clone:function(B){var D=this.map(function(){if(!T.support.noCloneEvent&&!T.isXMLDoc(this)){var b=this.outerHTML;if(!b){var a=this.ownerDocument.createElement("div");a.appendChild(this.cloneNode(true));b=a.innerHTML}return T.clean([b.replace(/ jQuery\d+="(?:\d+|null)"/g,"").replace(/^\s*/,"")])[0]}else{return this.cloneNode(true)}});if(B===true){var A=this.find("*").andSelf(),C=0;D.find("*").andSelf().each(function(){if(this.nodeName!==A[C].nodeName){return }var c=T.data(A[C],"events");for(var a in c){for(var b in c[a]){T.event.add(this,a,c[a][b],c[a][b].data)}}C++})}return D},filter:function(A){return this.pushStack(T.isFunction(A)&&T.grep(this,function(B,C){return A.call(B,C)})||T.multiFilter(A,T.grep(this,function(B){return B.nodeType===1})),"filter",A)},closest:function(C){var A=T.expr.match.POS.test(C)?T(C):null,B=0;return this.map(function(){var D=this;while(D&&D.ownerDocument){if(A?A.index(D)>-1:T(D).is(C)){T.data(D,"closest",B);return D}D=D.parentNode;B++}})},not:function(B){if(typeof B==="string"){if(AC.test(B)){return this.pushStack(T.multiFilter(B,this,true),"not",B)}else{B=T.multiFilter(B,this)}}var A=B.length&&B[B.length-1]!==AB&&!B.nodeType;return this.filter(function(){return A?T.inArray(this,B)<0:this!=B})},add:function(A){return this.pushStack(T.unique(T.merge(this.get(),typeof A==="string"?T(A):T.makeArray(A))))},is:function(A){return !!A&&T.multiFilter(A,this).length>0},hasClass:function(A){return !!A&&this.is("."+A)},val:function(C){if(C===AB){var e=this[0];if(e){if(T.nodeName(e,"option")){return(e.attributes.value||{}).specified?e.value:e.text}if(T.nodeName(e,"select")){var a=e.selectedIndex,B=[],A=e.options,b=e.type=="select-one";if(a<0){return null}for(var d=b?a:0,D=b?a+1:A.length;d<D;d++){var c=A[d];if(c.selected){C=T(c).val();if(b){return C}B.push(C)}}return B}return(e.value||"").replace(/\r/g,"")}return AB}if(typeof C==="number"){C+=""}return this.each(function(){if(this.nodeType!=1){return }if(T.isArray(C)&&/radio|checkbox/.test(this.type)){this.checked=(T.inArray(this.value,C)>=0||T.inArray(this.name,C)>=0)}else{if(T.nodeName(this,"select")){var f=T.makeArray(C);T("option",this).each(function(){this.selected=(T.inArray(this.value,f)>=0||T.inArray(this.text,f)>=0)});if(!f.length){this.selectedIndex=-1}}else{this.value=C}}})},html:function(A){return A===AB?(this[0]?this[0].innerHTML.replace(/ jQuery\d+="(?:\d+|null)"/g,""):null):this.empty().append(A)},replaceWith:function(A){return this.after(A).remove()},eq:function(A){return this.slice(A,+A+1)},slice:function(){return this.pushStack(Array.prototype.slice.apply(this,arguments),"slice",Array.prototype.slice.call(arguments).join(","))},map:function(A){return this.pushStack(T.map(this,function(B,C){return A.call(B,C,B)}))},andSelf:function(){return this.add(this.prevObject)},domManip:function(D,A,B){if(this[0]){var a=(this[0].ownerDocument||this[0]).createDocumentFragment(),d=T.clean(D,(this[0].ownerDocument||this[0]),a),b=a.firstChild;if(b){for(var c=0,e=this.length;c<e;c++){B.call(C(this[c],b),this.length>1||c>0?a.cloneNode(true):a)}}if(d){T.each(d,E)}}return this;function C(g,f){return A&&T.nodeName(g,"table")&&T.nodeName(f,"tr")?(g.getElementsByTagName("tbody")[0]||g.appendChild(g.ownerDocument.createElement("tbody"))):g}}};T.fn.init.prototype=T.fn;function E(B,A){if(A.src){T.ajax({url:A.src,async:false,dataType:"script"})}else{T.globalEval(A.text||A.textContent||A.innerHTML||"")}if(A.parentNode){A.parentNode.removeChild(A)}}function AD(){return +new Date}T.extend=T.fn.extend=function(){var C=arguments[0]||{},a=1,D=arguments.length,d=false,b;if(typeof C==="boolean"){d=C;C=arguments[1]||{};a=2}if(typeof C!=="object"&&!T.isFunction(C)){C={}}if(D==a){C=this;--a}for(;a<D;a++){if((b=arguments[a])!=null){for(var c in b){var B=C[c],A=b[c];if(C===A){continue}if(d&&A&&typeof A==="object"&&!A.nodeType){C[c]=T.extend(d,B||(A.length!=null?[]:{}),A)}else{if(A!==AB){C[c]=A}}}}}return C};var AG=/z-?index|font-?weight|opacity|zoom|line-?height/i,Q=document.defaultView||{},L=Object.prototype.toString;T.extend({noConflict:function(A){W.$=S;if(A){W.jQuery=F}return T},isFunction:function(A){return L.call(A)==="[object Function]"},isArray:function(A){return L.call(A)==="[object Array]"},isXMLDoc:function(A){return A.nodeType===9&&A.documentElement.nodeName!=="HTML"||!!A.ownerDocument&&T.isXMLDoc(A.ownerDocument)},globalEval:function(A){if(A&&/\S/.test(A)){var B=document.getElementsByTagName("head")[0]||document.documentElement,C=document.createElement("script");C.type="text/javascript";if(T.support.scriptEval){C.appendChild(document.createTextNode(A))}else{C.text=A}B.insertBefore(C,B.firstChild);B.removeChild(C)}},nodeName:function(A,B){return A.nodeName&&A.nodeName.toUpperCase()==B.toUpperCase()},each:function(a,A,b){var c,D=0,C=a.length;if(b){if(C===AB){for(c in a){if(A.apply(a[c],b)===false){break}}}else{for(;D<C;){if(A.apply(a[D++],b)===false){break}}}}else{if(C===AB){for(c in a){if(A.call(a[c],c,a[c])===false){break}}}else{for(var B=a[0];D<C&&A.call(B,D,B)!==false;B=a[++D]){}}}return a},prop:function(B,A,C,D,a){if(T.isFunction(A)){A=A.call(B,D)}return typeof A==="number"&&C=="curCSS"&&!AG.test(a)?A+"px":A},className:{add:function(B,A){T.each((A||"").split(/\s+/),function(D,C){if(B.nodeType==1&&!T.className.has(B.className,C)){B.className+=(B.className?" ":"")+C}})},remove:function(B,A){if(B.nodeType==1){B.className=A!==AB?T.grep(B.className.split(/\s+/),function(C){return !T.className.has(A,C)}).join(" "):""}},has:function(A,B){return A&&T.inArray(B,(A.className||A).toString().split(/\s+/))>-1}},swap:function(B,C,A){var a={};for(var D in C){a[D]=B.style[D];B.style[D]=C[D]}A.call(B);for(var D in C){B.style[D]=a[D]}},css:function(a,c,C,d){if(c=="width"||c=="height"){var A,b={position:"absolute",visibility:"hidden",display:"block"},B=c=="width"?["Left","Right"]:["Top","Bottom"];function D(){A=c=="width"?a.offsetWidth:a.offsetHeight;if(d==="border"){return }T.each(B,function(){if(!d){A-=parseFloat(T.curCSS(a,"padding"+this,true))||0}if(d==="margin"){A+=parseFloat(T.curCSS(a,"margin"+this,true))||0}else{A-=parseFloat(T.curCSS(a,"border"+this+"Width",true))||0}})}if(a.offsetWidth!==0){D()}else{T.swap(a,b,D)}return Math.max(0,Math.round(A))}return T.curCSS(a,c,C)},curCSS:function(a,d,c){var B,e=a.style;if(d=="opacity"&&!T.support.opacity){B=T.attr(e,"opacity");return B==""?"1":B}if(d.match(/float/i)){d=H}if(!c&&e&&e[d]){B=e[d]}else{if(Q.getComputedStyle){if(d.match(/float/i)){d="float"}d=d.replace(/([A-Z])/g,"-$1").toLowerCase();var A=Q.getComputedStyle(a,null);if(A){B=A.getPropertyValue(d)}if(d=="opacity"&&B==""){B="1"}}else{if(a.currentStyle){var D=d.replace(/\-(\w)/g,function(g,f){return f.toUpperCase()});B=a.currentStyle[d]||a.currentStyle[D];if(!/^\d+(px)?$/i.test(B)&&/^\d/.test(B)){var b=e.left,C=a.runtimeStyle.left;a.runtimeStyle.left=a.currentStyle.left;e.left=B||0;B=e.pixelLeft+"px";e.left=b;a.runtimeStyle.left=C}}}}return B},clean:function(c,B,D){B=B||document;if(typeof B.createElement==="undefined"){B=B.ownerDocument||B[0]&&B[0].ownerDocument||document}if(!D&&c.length===1&&typeof c[0]==="string"){var a=/^<(\w+)\s*\/?>$/.exec(c[0]);if(a){return[B.createElement(a[1])]}}var b=[],d=[],A=B.createElement("div");T.each(c,function(h,e){if(typeof e==="number"){e+=""}if(!e){return }if(typeof e==="string"){e=e.replace(/(<(\w+)[^>]*?)\/>/g,function(m,l,n){return n.match(/^(abbr|br|col|img|input|link|meta|param|hr|area|embed)$/i)?m:l+"></"+n+">"});var i=e.replace(/^\s+/,"").substring(0,10).toLowerCase();var g=!i.indexOf("<opt")&&[1,"<select multiple='multiple'>","</select>"]||!i.indexOf("<leg")&&[1,"<fieldset>","</fieldset>"]||i.match(/^<(thead|tbody|tfoot|colg|cap)/)&&[1,"<table>","</table>"]||!i.indexOf("<tr")&&[2,"<table><tbody>","</tbody></table>"]||(!i.indexOf("<td")||!i.indexOf("<th"))&&[3,"<table><tbody><tr>","</tr></tbody></table>"]||!i.indexOf("<col")&&[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"]||!T.support.htmlSerialize&&[1,"div<div>","</div>"]||[0,"",""];A.innerHTML=g[1]+e+g[2];while(g[0]--){A=A.lastChild}if(!T.support.tbody){var f=/<tbody/i.test(e),j=!i.indexOf("<table")&&!f?A.firstChild&&A.firstChild.childNodes:g[1]=="<table>"&&!f?A.childNodes:[];for(var k=j.length-1;k>=0;--k){if(T.nodeName(j[k],"tbody")&&!j[k].childNodes.length){j[k].parentNode.removeChild(j[k])}}}if(!T.support.leadingWhitespace&&/^\s/.test(e)){A.insertBefore(B.createTextNode(e.match(/^\s*/)[0]),A.firstChild)}e=T.makeArray(A.childNodes)}if(e.nodeType){b.push(e)}else{b=T.merge(b,e)}});if(D){for(var C=0;b[C];C++){if(T.nodeName(b[C],"script")&&(!b[C].type||b[C].type.toLowerCase()==="text/javascript")){d.push(b[C].parentNode?b[C].parentNode.removeChild(b[C]):b[C])}else{if(b[C].nodeType===1){b.splice.apply(b,[C+1,0].concat(T.makeArray(b[C].getElementsByTagName("script"))))}D.appendChild(b[C])}}return d}return b},attr:function(C,b,B){if(!C||C.nodeType==3||C.nodeType==8){return AB}var a=!T.isXMLDoc(C),A=B!==AB;b=a&&T.props[b]||b;if(C.tagName){var c=/href|src|style/.test(b);if(b=="selected"&&C.parentNode){C.parentNode.selectedIndex}if(b in C&&a&&!c){if(A){if(b=="type"&&T.nodeName(C,"input")&&C.parentNode){throw"type property can't be changed"}C[b]=B}if(T.nodeName(C,"form")&&C.getAttributeNode(b)){return C.getAttributeNode(b).nodeValue}if(b=="tabIndex"){var D=C.getAttributeNode("tabIndex");return D&&D.specified?D.value:C.nodeName.match(/(button|input|object|select|textarea)/i)?0:C.nodeName.match(/^(a|area)$/i)&&C.href?0:AB}return C[b]}if(!T.support.style&&a&&b=="style"){return T.attr(C.style,"cssText",B)}if(A){C.setAttribute(b,""+B)}var d=!T.support.hrefNormalized&&a&&c?C.getAttribute(b,2):C.getAttribute(b);return d===null?AB:d}if(!T.support.opacity&&b=="opacity"){if(A){C.zoom=1;C.filter=(C.filter||"").replace(/alpha\([^)]*\)/,"")+(parseInt(B)+""=="NaN"?"":"alpha(opacity="+B*100+")")}return C.filter&&C.filter.indexOf("opacity=")>=0?(parseFloat(C.filter.match(/opacity=([^)]*)/)[1])/100)+"":""}b=b.replace(/-([a-z])/ig,function(f,e){return e.toUpperCase()});if(A){C[b]=B}return C[b]},trim:function(A){return(A||"").replace(/^\s+|\s+$/g,"")},makeArray:function(A){var C=[];if(A!=null){var B=A.length;if(B==null||typeof A==="string"||T.isFunction(A)||A.setInterval){C[0]=A}else{while(B){C[--B]=A[B]}}}return C},inArray:function(B,A){for(var D=0,C=A.length;D<C;D++){if(A[D]===B){return D}}return -1},merge:function(B,a){var D=0,C,A=B.length;if(!T.support.getAll){while((C=a[D++])!=null){if(C.nodeType!=8){B[A++]=C}}}else{while((C=a[D++])!=null){B[A++]=C}}return B},unique:function(A){var b=[],c={};try{for(var a=0,D=A.length;a<D;a++){var B=T.data(A[a]);if(!c[B]){c[B]=true;b.push(A[a])}}}catch(C){b=A}return b},grep:function(a,A,b){var D=[];for(var C=0,B=a.length;C<B;C++){if(!b!=!A(a[C],C)){D.push(a[C])}}return D},map:function(b,A){var a=[];for(var D=0,C=b.length;D<C;D++){var B=A(b[D],D);if(B!=null){a[a.length]=B}}return a.concat.apply([],a)}});var O=navigator.userAgent.toLowerCase();T.browser={version:(O.match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||[0,"0"])[1],safari:/webkit/.test(O),opera:/opera/.test(O),msie:/msie/.test(O)&&!/opera/.test(O),mozilla:/mozilla/.test(O)&&!/(compatible|webkit)/.test(O)};T.each({parent:function(A){return A.parentNode},parents:function(A){return T.dir(A,"parentNode")},next:function(A){return T.nth(A,2,"nextSibling")},prev:function(A){return T.nth(A,2,"previousSibling")},nextAll:function(A){return T.dir(A,"nextSibling")},prevAll:function(A){return T.dir(A,"previousSibling")},siblings:function(A){return T.sibling(A.parentNode.firstChild,A)},children:function(A){return T.sibling(A.firstChild)},contents:function(A){return T.nodeName(A,"iframe")?A.contentDocument||A.contentWindow.document:T.makeArray(A.childNodes)}},function(B,A){T.fn[B]=function(D){var C=T.map(this,A);if(D&&typeof D=="string"){C=T.multiFilter(D,C)}return this.pushStack(T.unique(C),B,D)}});T.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(B,A){T.fn[B]=function(d){var a=[],C=T(d);for(var D=0,c=C.length;D<c;D++){var b=(D>0?this.clone(true):this).get();T.fn[A].apply(T(C[D]),b);a=a.concat(b)}return this.pushStack(a,B,d)}});T.each({removeAttr:function(A){T.attr(this,A,"");if(this.nodeType==1){this.removeAttribute(A)}},addClass:function(A){T.className.add(this,A)},removeClass:function(A){T.className.remove(this,A)},toggleClass:function(A,B){if(typeof B!=="boolean"){B=!T.className.has(this,A)}T.className[B?"add":"remove"](this,A)},remove:function(A){if(!A||T.filter(A,[this]).length){T("*",this).add([this]).each(function(){T.event.remove(this);T.removeData(this)});if(this.parentNode){this.parentNode.removeChild(this)}}},empty:function(){T(this).children().remove();while(this.firstChild){this.removeChild(this.firstChild)}}},function(B,A){T.fn[B]=function(){return this.each(A,arguments)}});function Y(B,A){return B[0]&&parseInt(T.curCSS(B[0],A,true),10)||0}var AA="jQuery"+AD(),I=0,R={};T.extend({cache:{},data:function(C,D,B){C=C==W?R:C;var A=C[AA];if(!A){A=C[AA]=++I}if(D&&!T.cache[A]){T.cache[A]={}}if(B!==AB){T.cache[A][D]=B}return D?T.cache[A][D]:A},removeData:function(C,D){C=C==W?R:C;var A=C[AA];if(D){if(T.cache[A]){delete T.cache[A][D];D="";for(D in T.cache[A]){break}if(!D){T.removeData(C)}}}else{try{delete C[AA]}catch(B){if(C.removeAttribute){C.removeAttribute(AA)}}delete T.cache[A]}},queue:function(C,D,A){if(C){D=(D||"fx")+"queue";var B=T.data(C,D);if(!B||T.isArray(A)){B=T.data(C,D,T.makeArray(A))}else{if(A){B.push(A)}}}return B},dequeue:function(A,B){var D=T.queue(A,B),C=D.shift();if(!B||B==="fx"){C=D[0]}if(C!==AB){C.call(A)}}});T.fn.extend({data:function(D,B){var A=D.split(".");A[1]=A[1]?"."+A[1]:"";if(B===AB){var C=this.triggerHandler("getData"+A[1]+"!",[A[0]]);if(C===AB&&this.length){C=T.data(this[0],D)}return C===AB&&A[1]?this.data(A[0]):C}else{return this.trigger("setData"+A[1]+"!",[A[0],B]).each(function(){T.data(this,D,B)})}},removeData:function(A){return this.each(function(){T.removeData(this,A)})},queue:function(B,A){if(typeof B!=="string"){A=B;B="fx"}if(A===AB){return T.queue(this[0],B)}return this.each(function(){var C=T.queue(this,B,A);if(B=="fx"&&C.length==1){C[0].call(this)}})},dequeue:function(A){return this.each(function(){T.dequeue(this,A)})}});(function(){var B=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?/g,d=0,h=Object.prototype.toString;var j=function(n,r,AJ,AI){AJ=AJ||[];r=r||document;if(r.nodeType!==1&&r.nodeType!==9){return[]}if(!n||typeof n!=="string"){return AJ}var m=[],p,x,u,t,z,q,o=true;B.lastIndex=0;while((p=B.exec(n))!==null){m.push(p[1]);if(p[2]){q=RegExp.rightContext;break}}if(m.length>1&&c.exec(n)){if(m.length===2&&g.relative[m[0]]){x=f(m[0]+m[1],r)}else{x=g.relative[m[0]]?[r]:j(m.shift(),r);while(m.length){n=m.shift();if(g.relative[n]){n+=m.shift()}x=f(n,x)}}}else{var y=AI?{expr:m.pop(),set:k(AI)}:j.find(m.pop(),m.length===1&&r.parentNode?r.parentNode:r,C(r));x=j.filter(y.expr,y.set);if(m.length>0){u=k(x)}else{o=false}while(m.length){var v=m.pop(),w=v;if(!g.relative[v]){v=""}else{w=m.pop()}if(w==null){w=r}g.relative[v](u,w,C(r))}}if(!u){u=x}if(!u){throw"Syntax error, unrecognized expression: "+(v||n)}if(h.call(u)==="[object Array]"){if(!o){AJ.push.apply(AJ,u)}else{if(r.nodeType===1){for(var l=0;u[l]!=null;l++){if(u[l]&&(u[l]===true||u[l].nodeType===1&&e(r,u[l]))){AJ.push(x[l])}}}else{for(var l=0;u[l]!=null;l++){if(u[l]&&u[l].nodeType===1){AJ.push(x[l])}}}}}else{k(u,AJ)}if(q){j(q,r,AJ,AI);if(i){hasDuplicate=false;AJ.sort(i);if(hasDuplicate){for(var l=1;l<AJ.length;l++){if(AJ[l]===AJ[l-1]){AJ.splice(l--,1)}}}}}return AJ};j.matches=function(m,l){return j(m,null,null,l)};j.find=function(l,t,u){var m,o;if(!l){return[]}for(var p=0,q=g.order.length;p<q;p++){var n=g.order[p],o;if((o=g.match[n].exec(l))){var r=RegExp.leftContext;if(r.substr(r.length-1)!=="\\"){o[1]=(o[1]||"").replace(/\\/g,"");m=g.find[n](o,t,u);if(m!=null){l=l.replace(g.match[n],"");break}}}}if(!m){m=t.getElementsByTagName("*")}return{set:m,expr:l}};j.filter=function(z,AI,w,p){var q=z,u=[],l=AI,n,t,m=AI&&AI[0]&&C(AI[0]);while(z&&AI.length){for(var AJ in g.filter){if((n=g.match[AJ].exec(z))!=null){var r=g.filter[AJ],v,x;t=false;if(l==u){u=[]}if(g.preFilter[AJ]){n=g.preFilter[AJ](n,l,w,u,p,m);if(!n){t=v=true}else{if(n===true){continue}}}if(n){for(var o=0;(x=l[o])!=null;o++){if(x){v=r(x,n,o,l);var y=p^!!v;if(w&&v!=null){if(y){t=true}else{l[o]=false}}else{if(y){u.push(x);t=true}}}}}if(v!==AB){if(!w){l=u}z=z.replace(g.match[AJ],"");if(!t){return[]}break}}}if(z==q){if(t==null){throw"Syntax error, unrecognized expression: "+z}else{break}}q=z}return l};var g=j.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(l){return l.getAttribute("href")}},relative:{"+":function(l,t,m){var o=typeof t==="string",u=o&&!/\W/.test(t),n=o&&!u;if(u&&!m){t=t.toUpperCase()}for(var p=0,q=l.length,r;p<q;p++){if((r=l[p])){while((r=r.previousSibling)&&r.nodeType!==1){}l[p]=n||r&&r.nodeName===t?r||false:r===t}}if(n){j.filter(t,l,true)}},">":function(q,n,p){var t=typeof n==="string";if(t&&!/\W/.test(n)){n=p?n:n.toUpperCase();for(var m=0,o=q.length;m<o;m++){var r=q[m];if(r){var l=r.parentNode;q[m]=l.nodeName===n?l:false}}}else{for(var m=0,o=q.length;m<o;m++){var r=q[m];if(r){q[m]=t?r.parentNode:r.parentNode===n}}if(t){j.filter(n,q,true)}}},"":function(l,n,p){var m=d++,o=A;if(!n.match(/\W/)){var q=n=p?n:n.toUpperCase();o=D}o("parentNode",n,m,l,q,p)},"~":function(l,n,p){var m=d++,o=A;if(typeof n==="string"&&!n.match(/\W/)){var q=n=p?n:n.toUpperCase();o=D}o("previousSibling",n,m,l,q,p)}},find:{ID:function(n,m,l){if(typeof m.getElementById!=="undefined"&&!l){var o=m.getElementById(n[1]);return o?[o]:[]}},NAME:function(m,q,p){if(typeof q.getElementsByName!=="undefined"){var n=[],r=q.getElementsByName(m[1]);for(var l=0,o=r.length;l<o;l++){if(r[l].getAttribute("name")===m[1]){n.push(r[l])}}return n.length===0?null:n}},TAG:function(m,l){return l.getElementsByTagName(m[1])}},preFilter:{CLASS:function(l,n,m,o,q,p){l=" "+l[1].replace(/\\/g,"")+" ";if(p){return l}for(var t=0,r;(r=n[t])!=null;t++){if(r){if(q^(r.className&&(" "+r.className+" ").indexOf(l)>=0)){if(!m){o.push(r)}}else{if(m){n[t]=false}}}}return false},ID:function(l){return l[1].replace(/\\/g,"")},TAG:function(m,n){for(var l=0;n[l]===false;l++){}return n[l]&&C(n[l])?m[1]:m[1].toUpperCase()},CHILD:function(m){if(m[1]=="nth"){var l=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(m[2]=="even"&&"2n"||m[2]=="odd"&&"2n+1"||!/\D/.test(m[2])&&"0n+"+m[2]||m[2]);m[2]=(l[1]+(l[2]||1))-0;m[3]=l[3]-0}m[0]=d++;return m},ATTR:function(r,n,m,o,q,p){var l=r[1].replace(/\\/g,"");if(!p&&g.attrMap[l]){r[1]=g.attrMap[l]}if(r[2]==="~="){r[4]=" "+r[4]+" "}return r},PSEUDO:function(q,n,m,o,p){if(q[1]==="not"){if(q[3].match(B).length>1||/^\w/.test(q[3])){q[3]=j(q[3],null,null,n)}else{var l=j.filter(q[3],n,m,true^p);if(!m){o.push.apply(o,l)}return false}}else{if(g.match.POS.test(q[0])||g.match.CHILD.test(q[0])){return true}}return q},POS:function(l){l.unshift(true);return l}},filters:{enabled:function(l){return l.disabled===false&&l.type!=="hidden"},disabled:function(l){return l.disabled===true},checked:function(l){return l.checked===true},selected:function(l){l.parentNode.selectedIndex;return l.selected===true},parent:function(l){return !!l.firstChild},empty:function(l){return !l.firstChild},has:function(l,m,n){return !!j(n[3],l).length},header:function(l){return/h\d/i.test(l.nodeName)},text:function(l){return"text"===l.type},radio:function(l){return"radio"===l.type},checkbox:function(l){return"checkbox"===l.type},file:function(l){return"file"===l.type},password:function(l){return"password"===l.type},submit:function(l){return"submit"===l.type},image:function(l){return"image"===l.type},reset:function(l){return"reset"===l.type},button:function(l){return"button"===l.type||l.nodeName.toUpperCase()==="BUTTON"},input:function(l){return/input|select|textarea|button/i.test(l.nodeName)}},setFilters:{first:function(l,m){return m===0},last:function(m,n,o,l){return n===l.length-1},even:function(l,m){return m%2===0},odd:function(l,m){return m%2===1},lt:function(l,m,n){return m<n[3]-0},gt:function(l,m,n){return m>n[3]-0},nth:function(l,m,n){return n[3]-0==m},eq:function(l,m,n){return n[3]-0==m}},filter:{PSEUDO:function(q,m,l,p){var n=m[1],t=g.filters[n];if(t){return t(q,l,m,p)}else{if(n==="contains"){return(q.textContent||q.innerText||"").indexOf(m[3])>=0}else{if(n==="not"){var r=m[3];for(var l=0,o=r.length;l<o;l++){if(r[l]===q){return false}}return true}}}},CHILD:function(t,p){var m=p[1],r=t;switch(m){case"only":case"first":while(r=r.previousSibling){if(r.nodeType===1){return false}}if(m=="first"){return true}r=t;case"last":while(r=r.nextSibling){if(r.nodeType===1){return false}}return true;case"nth":var q=p[2],u=p[3];if(q==1&&u==0){return true}var n=p[0],v=t.parentNode;if(v&&(v.sizcache!==n||!t.nodeIndex)){var o=0;for(r=v.firstChild;r;r=r.nextSibling){if(r.nodeType===1){r.nodeIndex=++o}}v.sizcache=n}var l=t.nodeIndex-u;if(q==0){return l==0}else{return(l%q==0&&l/q>=0)}}},ID:function(l,m){return l.nodeType===1&&l.getAttribute("id")===m},TAG:function(l,m){return(m==="*"&&l.nodeType===1)||l.nodeName===m},CLASS:function(l,m){return(" "+(l.className||l.getAttribute("class"))+" ").indexOf(m)>-1},ATTR:function(q,l){var m=l[1],o=g.attrHandle[m]?g.attrHandle[m](q):q[m]!=null?q[m]:q.getAttribute(m),p=o+"",r=l[2],n=l[4];return o==null?r==="!=":r==="="?p===n:r==="*="?p.indexOf(n)>=0:r==="~="?(" "+p+" ").indexOf(n)>=0:!n?p&&o!==false:r==="!="?p!=n:r==="^="?p.indexOf(n)===0:r==="$="?p.substr(p.length-n.length)===n:r==="|="?p===n||p.substr(0,n.length+1)===n+"-":false},POS:function(q,n,m,p){var o=n[2],l=g.setFilters[o];if(l){return l(q,m,n,p)}}}};var c=g.match.POS;for(var a in g.match){g.match[a]=RegExp(g.match[a].source+/(?![^\[]*\])(?![^\(]*\))/.source)}var k=function(l,m){l=Array.prototype.slice.call(l);if(m){m.push.apply(m,l);return m}return l};try{Array.prototype.slice.call(document.documentElement.childNodes)}catch(b){k=function(p,l){var n=l||[];if(h.call(p)==="[object Array]"){Array.prototype.push.apply(n,p)}else{if(typeof p.length==="number"){for(var m=0,o=p.length;m<o;m++){n.push(p[m])}}else{for(var m=0;p[m];m++){n.push(p[m])}}}return n}}var i;if(document.documentElement.compareDocumentPosition){i=function(m,n){var l=m.compareDocumentPosition(n)&4?-1:m===n?0:1;if(l===0){hasDuplicate=true}return l}}else{if("sourceIndex" in document.documentElement){i=function(m,n){var l=m.sourceIndex-n.sourceIndex;if(l===0){hasDuplicate=true}return l}}else{if(document.createRange){i=function(l,n){var m=l.ownerDocument.createRange(),o=n.ownerDocument.createRange();m.selectNode(l);m.collapse(true);o.selectNode(n);o.collapse(true);var p=m.compareBoundaryPoints(Range.START_TO_END,o);if(p===0){hasDuplicate=true}return p}}}}(function(){var m=document.createElement("form"),l="script"+(new Date).getTime();m.innerHTML="<input name='"+l+"'/>";var n=document.documentElement;n.insertBefore(m,n.firstChild);if(!!document.getElementById(l)){g.find.ID=function(r,q,p){if(typeof q.getElementById!=="undefined"&&!p){var o=q.getElementById(r[1]);return o?o.id===r[1]||typeof o.getAttributeNode!=="undefined"&&o.getAttributeNode("id").nodeValue===r[1]?[o]:AB:[]}};g.filter.ID=function(p,o){var q=typeof p.getAttributeNode!=="undefined"&&p.getAttributeNode("id");return p.nodeType===1&&q&&q.nodeValue===o}}n.removeChild(m)})();(function(){var l=document.createElement("div");l.appendChild(document.createComment(""));if(l.getElementsByTagName("*").length>0){g.find.TAG=function(o,p){var q=p.getElementsByTagName(o[1]);if(o[1]==="*"){var m=[];for(var n=0;q[n];n++){if(q[n].nodeType===1){m.push(q[n])}}q=m}return q}}l.innerHTML="<a href='#'></a>";if(l.firstChild&&typeof l.firstChild.getAttribute!=="undefined"&&l.firstChild.getAttribute("href")!=="#"){g.attrHandle.href=function(m){return m.getAttribute("href",2)}}})();if(document.querySelectorAll){(function(){var m=j,l=document.createElement("div");l.innerHTML="<p class='TEST'></p>";if(l.querySelectorAll&&l.querySelectorAll(".TEST").length===0){return }j=function(q,r,o,n){r=r||document;if(!n&&r.nodeType===9&&!C(r)){try{return k(r.querySelectorAll(q),o)}catch(p){}}return m(q,r,o,n)};j.find=m.find;j.filter=m.filter;j.selectors=m.selectors;j.matches=m.matches})()}if(document.getElementsByClassName&&document.documentElement.getElementsByClassName){(function(){var l=document.createElement("div");l.innerHTML="<div class='test e'></div><div class='test'></div>";if(l.getElementsByClassName("e").length===0){return }l.lastChild.className="e";if(l.getElementsByClassName("e").length===1){return }g.order.splice(1,0,"CLASS");g.find.CLASS=function(o,n,m){if(typeof n.getElementsByClassName!=="undefined"&&!m){return n.getElementsByClassName(o[1])}}})()}function D(r,m,n,u,l,v){var w=r=="previousSibling"&&!v;for(var p=0,q=u.length;p<q;p++){var t=u[p];if(t){if(w&&t.nodeType===1){t.sizcache=n;t.sizset=p}t=t[r];var o=false;while(t){if(t.sizcache===n){o=u[t.sizset];break}if(t.nodeType===1&&!v){t.sizcache=n;t.sizset=p}if(t.nodeName===m){o=t;break}t=t[r]}u[p]=o}}}function A(r,m,n,u,l,v){var w=r=="previousSibling"&&!v;for(var p=0,q=u.length;p<q;p++){var t=u[p];if(t){if(w&&t.nodeType===1){t.sizcache=n;t.sizset=p}t=t[r];var o=false;while(t){if(t.sizcache===n){o=u[t.sizset];break}if(t.nodeType===1){if(!v){t.sizcache=n;t.sizset=p}if(typeof m!=="string"){if(t===m){o=true;break}}else{if(j.filter(m,[t]).length>0){o=t;break}}}t=t[r]}u[p]=o}}}var e=document.compareDocumentPosition?function(l,m){return l.compareDocumentPosition(m)&16}:function(l,m){return l!==m&&(l.contains?l.contains(m):true)};var C=function(l){return l.nodeType===9&&l.documentElement.nodeName!=="HTML"||!!l.ownerDocument&&C(l.ownerDocument)};var f=function(o,q){var l=[],t="",r,m=q.nodeType?[q]:q;while((r=g.match.PSEUDO.exec(o))){t+=r[0];o=o.replace(g.match.PSEUDO,"")}o=g.relative[o]?o+"*":o;for(var p=0,n=m.length;p<n;p++){j(o,m[p],l)}return j.filter(t,l)};T.find=j;T.filter=j.filter;T.expr=j.selectors;T.expr[":"]=T.expr.filters;j.selectors.filters.hidden=function(l){return l.offsetWidth===0||l.offsetHeight===0};j.selectors.filters.visible=function(l){return l.offsetWidth>0||l.offsetHeight>0};j.selectors.filters.animated=function(l){return T.grep(T.timers,function(m){return l===m.elem}).length};T.multiFilter=function(l,n,m){if(m){l=":not("+l+")"}return j.matches(l,n)};T.dir=function(m,n){var o=[],l=m[n];while(l&&l!=document){if(l.nodeType==1){o.push(l)}l=l[n]}return o};T.nth=function(p,o,m,l){o=o||1;var n=0;for(;p;p=p[m]){if(p.nodeType==1&&++n==o){break}}return p};T.sibling=function(l,m){var n=[];for(;l;l=l.nextSibling){if(l.nodeType==1&&l!=m){n.push(l)}}return n};return ;W.Sizzle=j})();T.event={add:function(C,b,D,A){if(C.nodeType==3||C.nodeType==8){return }if(C.setInterval&&C!=W){C=W}if(!D.guid){D.guid=this.guid++}if(A!==AB){var a=D;D=this.proxy(a);D.data=A}var c=T.data(C,"events")||T.data(C,"events",{}),B=T.data(C,"handle")||T.data(C,"handle",function(){return typeof T!=="undefined"&&!T.event.triggered?T.event.handle.apply(arguments.callee.elem,arguments):AB});B.elem=C;T.each(b.split(/\s+/),function(g,f){var e=f.split(".");f=e.shift();D.type=e.slice().sort().join(".");var d=c[f];if(T.event.specialAll[f]){T.event.specialAll[f].setup.call(C,A,e)}if(!d){d=c[f]={};if(!T.event.special[f]||T.event.special[f].setup.call(C,A,e)===false){if(C.addEventListener){C.addEventListener(f,B,false)}else{if(C.attachEvent){C.attachEvent("on"+f,B)}}}}d[D.guid]=D;T.event.global[f]=true});C=null},guid:1,global:{},remove:function(B,a,C){if(B.nodeType==3||B.nodeType==8){return }var b=T.data(B,"events"),c,d;if(b){if(a===AB||(typeof a==="string"&&a.charAt(0)==".")){for(var D in b){this.remove(B,D+(a||""))}}else{if(a.type){C=a.handler;a=a.type}T.each(a.split(/\s+/),function(i,g){var e=g.split(".");g=e.shift();var h=RegExp("(^|\\.)"+e.slice().sort().join(".*\\.")+"(\\.|$)");if(b[g]){if(C){delete b[g][C.guid]}else{for(var f in b[g]){if(h.test(b[g][f].type)){delete b[g][f]}}}if(T.event.specialAll[g]){T.event.specialAll[g].teardown.call(B,e)}for(c in b[g]){break}if(!c){if(!T.event.special[g]||T.event.special[g].teardown.call(B,e)===false){if(B.removeEventListener){B.removeEventListener(g,T.data(B,"handle"),false)}else{if(B.detachEvent){B.detachEvent("on"+g,T.data(B,"handle"))}}}c=null;delete b[g]}}})}for(c in b){break}if(!c){var A=T.data(B,"handle");if(A){A.elem=null}T.removeData(B,"events");T.removeData(B,"handle")}}},trigger:function(D,B,a,d){var b=D.type||D;if(!d){D=typeof D==="object"?D[AA]?D:T.extend(T.Event(b),D):T.Event(b);if(b.indexOf("!")>=0){D.type=b=b.slice(0,-1);D.exclusive=true}if(!a){D.stopPropagation();if(this.global[b]){T.each(T.cache,function(){if(this.events&&this.events[b]){T.event.trigger(D,B,this.handle.elem)}})}}if(!a||a.nodeType==3||a.nodeType==8){return AB}D.result=AB;D.target=a;B=T.makeArray(B);B.unshift(D)}D.currentTarget=a;var C=T.data(a,"handle");if(C){C.apply(a,B)}if((!a[b]||(T.nodeName(a,"a")&&b=="click"))&&a["on"+b]&&a["on"+b].apply(a,B)===false){D.result=false}if(!d&&a[b]&&!D.isDefaultPrevented()&&!(T.nodeName(a,"a")&&b=="click")){this.triggered=true;try{a[b]()}catch(A){}}this.triggered=false;if(!D.isPropagationStopped()){var c=a.parentNode||a.ownerDocument;if(c){T.event.trigger(D,B,c,true)}}},handle:function(B){var C,d;B=arguments[0]=T.event.fix(B||W.event);B.currentTarget=this;var A=B.type.split(".");B.type=A.shift();C=!A.length&&!B.exclusive;var D=RegExp("(^|\\.)"+A.slice().sort().join(".*\\.")+"(\\.|$)");d=(T.data(this,"events")||{})[B.type];for(var b in d){var a=d[b];if(C||D.test(a.type)){B.handler=a;B.data=a.data;var c=a.apply(this,arguments);if(c!==AB){B.result=c;if(c===false){B.preventDefault();B.stopPropagation()}}if(B.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(C){if(C[AA]){return C}var a=C;C=T.Event(a);for(var D=this.props.length,A;D;){A=this.props[--D];C[A]=a[A]}if(!C.target){C.target=C.srcElement||document}if(C.target.nodeType==3){C.target=C.target.parentNode}if(!C.relatedTarget&&C.fromElement){C.relatedTarget=C.fromElement==C.target?C.toElement:C.fromElement}if(C.pageX==null&&C.clientX!=null){var B=document.documentElement,b=document.body;C.pageX=C.clientX+(B&&B.scrollLeft||b&&b.scrollLeft||0)-(B.clientLeft||0);C.pageY=C.clientY+(B&&B.scrollTop||b&&b.scrollTop||0)-(B.clientTop||0)}if(!C.which&&((C.charCode||C.charCode===0)?C.charCode:C.keyCode)){C.which=C.charCode||C.keyCode}if(!C.metaKey&&C.ctrlKey){C.metaKey=C.ctrlKey}if(!C.which&&C.button){C.which=(C.button&1?1:(C.button&2?3:(C.button&4?2:0)))}return C},proxy:function(A,B){B=B||function(){return A.apply(this,arguments)};B.guid=A.guid=A.guid||B.guid||this.guid++;return B},special:{ready:{setup:P,teardown:function(){}}},specialAll:{live:{setup:function(B,A){T.event.add(this,A[0],AF)},teardown:function(A){if(A.length){var C=0,B=RegExp("(^|\\.)"+A[0]+"(\\.|$)");T.each((T.data(this,"events").live||{}),function(){if(B.test(this.type)){C++}});if(C<1){T.event.remove(this,A[0],AF)}}}}}};T.Event=function(A){if(!this.preventDefault){return new T.Event(A)}if(A&&A.type){this.originalEvent=A;this.type=A.type}else{this.type=A}this.timeStamp=AD();this[AA]=true};function X(){return false}function J(){return true}T.Event.prototype={preventDefault:function(){this.isDefaultPrevented=J;var A=this.originalEvent;if(!A){return }if(A.preventDefault){A.preventDefault()}A.returnValue=false},stopPropagation:function(){this.isPropagationStopped=J;var A=this.originalEvent;if(!A){return }if(A.stopPropagation){A.stopPropagation()}A.cancelBubble=true},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=J;this.stopPropagation()},isDefaultPrevented:X,isPropagationStopped:X,isImmediatePropagationStopped:X};var AH=function(B){var C=B.relatedTarget;while(C&&C!=this){try{C=C.parentNode}catch(A){C=this}}if(C!=this){B.type=B.data;T.event.handle.apply(this,arguments)}};T.each({mouseover:"mouseenter",mouseout:"mouseleave"},function(A,B){T.event.special[B]={setup:function(){T.event.add(this,A,AH,B)},teardown:function(){T.event.remove(this,A,AH)}}});T.fn.extend({bind:function(B,A,C){return B=="unload"?this.one(B,A,C):this.each(function(){T.event.add(this,B,C||A,C&&A)})},one:function(B,A,C){var D=T.event.proxy(C||A,function(a){T(this).unbind(a,D);return(C||A).apply(this,arguments)});return this.each(function(){T.event.add(this,B,D,C&&A)})},unbind:function(A,B){return this.each(function(){T.event.remove(this,A,B)})},trigger:function(B,A){return this.each(function(){T.event.trigger(B,A,this)})},triggerHandler:function(C,A){if(this[0]){var B=T.Event(C);B.preventDefault();B.stopPropagation();T.event.trigger(B,A,this[0]);return B.result}},toggle:function(A){var C=arguments,B=1;while(B<C.length){T.event.proxy(A,C[B++])}return this.click(T.event.proxy(A,function(D){this.lastToggle=(this.lastToggle||0)%B;D.preventDefault();return C[this.lastToggle++].apply(this,arguments)||false}))},hover:function(B,A){return this.mouseenter(B).mouseleave(A)},ready:function(A){P();if(T.isReady){A.call(document,T)}else{T.readyList.push(A)}return this},live:function(A,B){var C=T.event.proxy(B);C.guid+=this.selector+A;T(document).bind(Z(A,this.selector),this.selector,C);return this},die:function(A,B){T(document).unbind(Z(A,this.selector),B?{guid:B.guid+this.selector+A}:null);return this}});function AF(A){var D=RegExp("(^|\\.)"+A.type+"(\\.|$)"),B=true,C=[];T.each(T.data(this,"events").live||[],function(c,b){if(D.test(b.type)){var a=T(A.target).closest(b.data)[0];if(a){C.push({elem:a,fn:b})}}});C.sort(function(a,b){return T.data(a.elem,"closest")-T.data(b.elem,"closest")});T.each(C,function(){if(this.fn.call(this.elem,A,this.fn.data)===false){return(B=false)}});return B}function Z(A,B){return["live",A,B.replace(/\./g,"`").replace(/ /g,"|")].join(".")}T.extend({isReady:false,readyList:[],ready:function(){if(!T.isReady){T.isReady=true;if(T.readyList){T.each(T.readyList,function(){this.call(document,T)});T.readyList=null}T(document).triggerHandler("ready")}}});var G=false;function P(){if(G){return }G=true;if(document.addEventListener){document.addEventListener("DOMContentLoaded",function(){document.removeEventListener("DOMContentLoaded",arguments.callee,false);T.ready()},false)}else{if(document.attachEvent){document.attachEvent("onreadystatechange",function(){if(document.readyState==="complete"){document.detachEvent("onreadystatechange",arguments.callee);T.ready()}});if(document.documentElement.doScroll&&W==W.top){(function(){if(T.isReady){return }try{document.documentElement.doScroll("left")}catch(A){setTimeout(arguments.callee,0);return }T.ready()})()}}}T.event.add(W,"load",T.ready)}T.each(("blur,focus,load,resize,scroll,unload,click,dblclick,mousedown,mouseup,mousemove,mouseover,mouseout,mouseenter,mouseleave,change,select,submit,keydown,keypress,keyup,error").split(","),function(A,B){T.fn[B]=function(C){return C?this.bind(B,C):this.trigger(B)}});T(W).bind("unload",function(){for(var A in T.cache){if(A!=1&&T.cache[A].handle){T.event.remove(T.cache[A].handle.elem)}}});(function(){T.support={};var b=document.documentElement,a=document.createElement("script"),A=document.createElement("div"),B="script"+(new Date).getTime();A.style.display="none";A.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 D=A.getElementsByTagName("*"),c=A.getElementsByTagName("a")[0];if(!D||!D.length||!c){return }T.support={leadingWhitespace:A.firstChild.nodeType==3,tbody:!A.getElementsByTagName("tbody").length,objectAll:!!A.getElementsByTagName("object")[0].getElementsByTagName("*").length,htmlSerialize:!!A.getElementsByTagName("link").length,style:/red/.test(c.getAttribute("style")),hrefNormalized:c.getAttribute("href")==="/a",opacity:c.style.opacity==="0.5",cssFloat:!!c.style.cssFloat,scriptEval:false,noCloneEvent:true,boxModel:null};a.type="text/javascript";try{a.appendChild(document.createTextNode("window."+B+"=1;"))}catch(C){}b.insertBefore(a,b.firstChild);if(W[B]){T.support.scriptEval=true;delete W[B]}b.removeChild(a);if(A.attachEvent&&A.fireEvent){A.attachEvent("onclick",function(){T.support.noCloneEvent=false;A.detachEvent("onclick",arguments.callee)});A.cloneNode(true).fireEvent("onclick")}T(function(){var d=document.createElement("div");d.style.width=d.style.paddingLeft="1px";document.body.appendChild(d);T.boxModel=T.support.boxModel=d.offsetWidth===2;document.body.removeChild(d).style.display="none"})})();var H=T.support.cssFloat?"cssFloat":"styleFloat";T.props={"for":"htmlFor","class":"className","float":H,cssFloat:H,styleFloat:H,readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",tabindex:"tabIndex"};T.fn.extend({_load:T.fn.load,load:function(a,B,A){if(typeof a!=="string"){return this._load(a)}var C=a.indexOf(" ");if(C>=0){var c=a.slice(C,a.length);a=a.slice(0,C)}var D="GET";if(B){if(T.isFunction(B)){A=B;B=null}else{if(typeof B==="object"){B=T.param(B);D="POST"}}}var b=this;T.ajax({url:a,type:D,dataType:"html",data:B,complete:function(e,d){if(d=="success"||d=="notmodified"){b.html(c?T("<div/>").append(e.responseText.replace(/<script(.|\s)*?\/script>/g,"")).find(c):e.responseText)}if(A){b.each(A,[e.responseText,d,e])}}});return this},serialize:function(){return T.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?T.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(C,B){var A=T(this).val();return A==null?null:T.isArray(A)?T.map(A,function(D,a){return{name:B.name,value:D}}):{name:B.name,value:A}}).get()}});T.each("ajaxStart,ajaxStop,ajaxComplete,ajaxError,ajaxSuccess,ajaxSend".split(","),function(B,A){T.fn[A]=function(C){return this.bind(A,C)}});var N=AD();T.extend({get:function(D,B,A,C){if(T.isFunction(B)){A=B;B=null}return T.ajax({type:"GET",url:D,data:B,success:A,dataType:C})},getScript:function(B,A){return T.get(B,null,A,"script")},getJSON:function(C,B,A){return T.get(C,B,A,"json")},post:function(D,B,A,C){if(T.isFunction(B)){A=B;B={}}return T.ajax({type:"POST",url:D,data:B,success:A,dataType:C})},ajaxSetup:function(A){T.extend(T.ajaxSettings,A)},ajaxSettings:{url:location.href,global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:function(){return W.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(g){g=T.extend(true,g,T.extend(true,{},T.ajaxSettings,g));var A,n=/=\?(&|$)/g,b,B,m=g.type.toUpperCase();if(g.data&&g.processData&&typeof g.data!=="string"){g.data=T.param(g.data)}if(g.dataType=="jsonp"){if(m=="GET"){if(!g.url.match(n)){g.url+=(g.url.match(/\?/)?"&":"?")+(g.jsonp||"callback")+"=?"}}else{if(!g.data||!g.data.match(n)){g.data=(g.data?g.data+"&":"")+(g.jsonp||"callback")+"=?"}}g.dataType="json"}if(g.dataType=="json"&&(g.data&&g.data.match(n)||g.url.match(n))){A="jsonp"+N++;if(g.data){g.data=(g.data+"").replace(n,"="+A+"$1")}g.url=g.url.replace(n,"="+A+"$1");g.dataType="script";W[A]=function(q){B=q;k();h();W[A]=AB;try{delete W[A]}catch(p){}if(l){l.removeChild(D)}}}if(g.dataType=="script"&&g.cache==null){g.cache=false}if(g.cache===false&&m=="GET"){var o=AD();var C=g.url.replace(/(\?|&)_=.*?(&|$)/,"$1_="+o+"$2");g.url=C+((C==g.url)?(g.url.match(/\?/)?"&":"?")+"_="+o:"")}if(g.data&&m=="GET"){g.url+=(g.url.match(/\?/)?"&":"?")+g.data;g.data=null}if(g.global&&!T.active++){T.event.trigger("ajaxStart")}var c=/^(\w+:)?\/\/([^\/?#]+)/.exec(g.url);if(g.dataType=="script"&&m=="GET"&&c&&(c[1]&&c[1]!=location.protocol||c[2]!=location.host)){var l=document.getElementsByTagName("head")[0];var D=document.createElement("script");D.src=g.url;if(g.scriptCharset){D.charset=g.scriptCharset}if(!A){var e=false;D.onload=D.onreadystatechange=function(){if(!e&&(!this.readyState||this.readyState=="loaded"||this.readyState=="complete")){e=true;k();h();D.onload=D.onreadystatechange=null;l.removeChild(D)}}}l.appendChild(D);return AB}var i=false;var j=g.xhr();if(g.username){j.open(m,g.url,g.async,g.username,g.password)}else{j.open(m,g.url,g.async)}try{if(g.data){j.setRequestHeader("Content-Type",g.contentType)}if(g.ifModified){j.setRequestHeader("If-Modified-Since",T.lastModified[g.url]||"Thu, 01 Jan 1970 00:00:00 GMT")}j.setRequestHeader("X-Requested-With","XMLHttpRequest");j.setRequestHeader("Accept",g.dataType&&g.accepts[g.dataType]?g.accepts[g.dataType]+", */*":g.accepts._default)}catch(a){}if(g.beforeSend&&g.beforeSend(j,g)===false){if(g.global&&!--T.active){T.event.trigger("ajaxStop")}j.abort();return false}if(g.global){T.event.trigger("ajaxSend",[j,g])}var f=function(r){if(j.readyState==0){if(d){clearInterval(d);d=null;if(g.global&&!--T.active){T.event.trigger("ajaxStop")}}}else{if(!i&&j&&(j.readyState==4||r=="timeout")){i=true;if(d){clearInterval(d);d=null}b=r=="timeout"?"timeout":!T.httpSuccess(j)?"error":g.ifModified&&T.httpNotModified(j,g.url)?"notmodified":"success";if(b=="success"){try{B=T.httpData(j,g.dataType,g)}catch(p){b="parsererror"}}if(b=="success"){var q;try{q=j.getResponseHeader("Last-Modified")}catch(p){}if(g.ifModified&&q){T.lastModified[g.url]=q}if(!A){k()}}else{T.handleError(g,j,b)}h();if(r){j.abort()}if(g.async){j=null}}}};if(g.async){var d=setInterval(f,13);if(g.timeout>0){setTimeout(function(){if(j&&!i){f("timeout")}},g.timeout)}}try{j.send(g.data)}catch(a){T.handleError(g,j,null,a)}if(!g.async){f()}function k(){if(g.success){g.success(B,b)}if(g.global){T.event.trigger("ajaxSuccess",[j,g])}}function h(){if(g.complete){g.complete(j,b)}if(g.global){T.event.trigger("ajaxComplete",[j,g])}if(g.global&&!--T.active){T.event.trigger("ajaxStop")}}return j},handleError:function(C,A,D,B){if(C.error){C.error(A,D,B)}if(C.global){T.event.trigger("ajaxError",[A,C,B])}},active:0,httpSuccess:function(A){try{return !A.status&&location.protocol=="file:"||(A.status>=200&&A.status<300)||A.status==304||A.status==1223}catch(B){}return false},httpNotModified:function(B,D){try{var A=B.getResponseHeader("Last-Modified");return B.status==304||A==T.lastModified[D]}catch(C){}return false},httpData:function(A,C,D){var a=A.getResponseHeader("content-type"),b=C=="xml"||!C&&a&&a.indexOf("xml")>=0,B=b?A.responseXML:A.responseText;if(b&&B.documentElement.tagName=="parsererror"){throw"parsererror"}if(D&&D.dataFilter){B=D.dataFilter(B,C)}if(typeof B==="string"){if(C=="script"){T.globalEval(B)}if(C=="json"){B=W["eval"]("("+B+")")}}return B},param:function(D){var B=[];function A(b,a){B[B.length]=encodeURIComponent(b)+"="+encodeURIComponent(a)}if(T.isArray(D)||D.jquery){T.each(D,function(){A(this.name,this.value)})}else{for(var C in D){if(T.isArray(D[C])){T.each(D[C],function(){A(C,this)})}else{A(C,T.isFunction(D[C])?D[C]():D[C])}}}return B.join("&").replace(/%20/g,"+")}});var V={},U,AE=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];function K(B,C){var A={};T.each(AE.concat.apply([],AE.slice(0,C)),function(){A[this]=B});return A}T.fn.extend({show:function(C,A){if(C){return this.animate(K("show",3),C,A)}else{for(var a=0,c=this.length;a<c;a++){var d=T.data(this[a],"olddisplay");this[a].style.display=d||"";if(T.css(this[a],"display")==="none"){var b=this[a].tagName,B;if(V[b]){B=V[b]}else{var D=T("<"+b+" />").appendTo("body");B=D.css("display");if(B==="none"){B="block"}D.remove();V[b]=B}T.data(this[a],"olddisplay",B)}}for(var a=0,c=this.length;a<c;a++){this[a].style.display=T.data(this[a],"olddisplay")||""}return this}},hide:function(B,A){if(B){return this.animate(K("hide",3),B,A)}else{for(var C=0,D=this.length;C<D;C++){var a=T.data(this[C],"olddisplay");if(!a&&a!=="none"){T.data(this[C],"olddisplay",T.css(this[C],"display"))}}for(var C=0,D=this.length;C<D;C++){this[C].style.display="none"}return this}},_toggle:T.fn.toggle,toggle:function(A,B){var C=typeof A==="boolean";return T.isFunction(A)&&T.isFunction(B)?this._toggle.apply(this,arguments):A==null||C?this.each(function(){var D=C?A:T(this).is(":hidden");T(this)[D?"show":"hide"]()}):this.animate(K("toggle",3),A,B)},fadeTo:function(C,A,B){return this.animate({opacity:A},C,B)},animate:function(A,D,B,C){var a=T.speed(D,B,C);return this[a.queue===false?"each":"queue"](function(){var c=T.extend({},a),e,b=this.nodeType==1&&T(this).is(":hidden"),d=this;for(e in A){if(A[e]=="hide"&&b||A[e]=="show"&&!b){return c.complete.call(this)}if((e=="height"||e=="width")&&this.style){c.display=T.css(this,"display");c.overflow=this.style.overflow}}if(c.overflow!=null){this.style.overflow="hidden"}c.curAnim=T.extend({},A);T.each(A,function(k,g){var h=new T.fx(d,c,k);if(/toggle|show|hide/.test(g)){h[g=="toggle"?b?"show":"hide":g](A)}else{var i=g.toString().match(/^([+-]=)?([\d+-.]+)(.*)$/),f=h.cur(true)||0;if(i){var l=parseFloat(i[2]),j=i[3]||"px";if(j!="px"){d.style[k]=(l||1)+j;f=((l||1)/h.cur(true))*f;d.style[k]=f+j}if(i[1]){l=((i[1]=="-="?-1:1)*l)+f}h.custom(f,l,j)}else{h.custom(f,g,"")}}});return true})},stop:function(B,C){var A=T.timers;if(B){this.queue([])}this.each(function(){for(var D=A.length-1;D>=0;D--){if(A[D].elem==this){if(C){A[D](true)}A.splice(D,1)}}});if(!C){this.dequeue()}return this}});T.each({slideDown:K("show",1),slideUp:K("hide",1),slideToggle:K("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(B,A){T.fn[B]=function(D,C){return this.animate(A,D,C)}});T.extend({speed:function(B,A,C){var D=typeof B==="object"?B:{complete:C||!C&&A||T.isFunction(B)&&B,duration:B,easing:C&&A||A&&!T.isFunction(A)&&A};D.duration=T.fx.off?0:typeof D.duration==="number"?D.duration:T.fx.speeds[D.duration]||T.fx.speeds._default;D.old=D.complete;D.complete=function(){if(D.queue!==false){T(this).dequeue()}if(T.isFunction(D.old)){D.old.call(this)}};return D},easing:{linear:function(B,A,D,C){return D+C*B},swing:function(B,A,D,C){return((-Math.cos(B*Math.PI)/2)+0.5)*C+D}},timers:[],fx:function(B,C,A){this.options=C;this.elem=B;this.prop=A;if(!C.orig){C.orig={}}}});T.fx.prototype={update:function(){if(this.options.step){this.options.step.call(this.elem,this.now,this)}(T.fx.step[this.prop]||T.fx.step._default)(this);if((this.prop=="height"||this.prop=="width")&&this.elem.style){this.elem.style.display="block"}},cur:function(A){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null)){return this.elem[this.prop]}var B=parseFloat(T.css(this.elem,this.prop,A));return B&&B>-10000?B:parseFloat(T.curCSS(this.elem,this.prop))||0},custom:function(A,B,C){this.startTime=AD();this.start=A;this.end=B;this.unit=C||this.unit||"px";this.now=this.start;this.pos=this.state=0;var a=this;function D(b){return a.step(b)}D.elem=this.elem;if(D()&&T.timers.push(D)&&!U){U=setInterval(function(){var b=T.timers;for(var c=0;c<b.length;c++){if(!b[c]()){b.splice(c--,1)}}if(!b.length){clearInterval(U);U=AB}},13)}},show:function(){this.options.orig[this.prop]=T.attr(this.elem.style,this.prop);this.options.show=true;this.custom(this.prop=="width"||this.prop=="height"?1:0,this.cur());T(this.elem).show()},hide:function(){this.options.orig[this.prop]=T.attr(this.elem.style,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(C){var D=AD();if(C||D>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;var b=true;for(var a in this.options.curAnim){if(this.options.curAnim[a]!==true){b=false}}if(b){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;this.elem.style.display=this.options.display;if(T.css(this.elem,"display")=="none"){this.elem.style.display="block"}}if(this.options.hide){T(this.elem).hide()}if(this.options.hide||this.options.show){for(var B in this.options.curAnim){T.attr(this.elem.style,B,this.options.orig[B])}}this.options.complete.call(this.elem)}return false}else{var A=D-this.startTime;this.state=A/this.options.duration;this.pos=T.easing[this.options.easing||(T.easing.swing?"swing":"linear")](this.state,A,0,1,this.options.duration);this.now=this.start+((this.end-this.start)*this.pos);this.update()}return true}};T.extend(T.fx,{speeds:{slow:600,fast:200,_default:400},step:{opacity:function(A){T.attr(A.elem.style,"opacity",A.now)},_default:function(A){if(A.elem.style&&A.elem.style[A.prop]!=null){A.elem.style[A.prop]=A.now+A.unit}else{A.elem[A.prop]=A.now}}}});if(document.documentElement.getBoundingClientRect){T.fn.offset=function(){if(!this[0]){return{top:0,left:0}}if(this[0]===this[0].ownerDocument.body){return T.offset.bodyOffset(this[0])}var b=this[0].getBoundingClientRect(),C=this[0].ownerDocument,c=C.body,d=C.documentElement,A=d.clientTop||c.clientTop||0,B=d.clientLeft||c.clientLeft||0,D=b.top+(self.pageYOffset||T.boxModel&&d.scrollTop||c.scrollTop)-A,a=b.left+(self.pageXOffset||T.boxModel&&d.scrollLeft||c.scrollLeft)-B;return{top:D,left:a}}}else{T.fn.offset=function(){if(!this[0]){return{top:0,left:0}}if(this[0]===this[0].ownerDocument.body){return T.offset.bodyOffset(this[0])}T.offset.initialized||T.offset.initialize();var b=this[0],e=b.offsetParent,f=b,A=b.ownerDocument,C,d=A.documentElement,a=A.body,D=A.defaultView,g=D.getComputedStyle(b,null),B=b.offsetTop,c=b.offsetLeft;while((b=b.parentNode)&&b!==a&&b!==d){C=D.getComputedStyle(b,null);B-=b.scrollTop,c-=b.scrollLeft;if(b===e){B+=b.offsetTop,c+=b.offsetLeft;if(T.offset.doesNotAddBorder&&!(T.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(b.tagName))){B+=parseInt(C.borderTopWidth,10)||0,c+=parseInt(C.borderLeftWidth,10)||0}f=e,e=b.offsetParent}if(T.offset.subtractsBorderForOverflowNotVisible&&C.overflow!=="visible"){B+=parseInt(C.borderTopWidth,10)||0,c+=parseInt(C.borderLeftWidth,10)||0}g=C}if(g.position==="relative"||g.position==="static"){B+=a.offsetTop,c+=a.offsetLeft}if(g.position==="fixed"){B+=Math.max(d.scrollTop,a.scrollTop),c+=Math.max(d.scrollLeft,a.scrollLeft)}return{top:B,left:c}}}T.offset={initialize:function(){if(this.initialized){return }var C=document.body,e=document.createElement("div"),c,d,A,b,B,f,a=C.style.marginTop,D='<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>';B={position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"};for(f in B){e.style[f]=B[f]}e.innerHTML=D;C.insertBefore(e,C.firstChild);c=e.firstChild,d=c.firstChild,b=c.nextSibling.firstChild.firstChild;this.doesNotAddBorder=(d.offsetTop!==5);this.doesAddBorderForTableAndCells=(b.offsetTop===5);c.style.overflow="hidden",c.style.position="relative";this.subtractsBorderForOverflowNotVisible=(d.offsetTop===-5);C.style.marginTop="1px";this.doesNotIncludeMarginInBodyOffset=(C.offsetTop===0);C.style.marginTop=a;C.removeChild(e);this.initialized=true},bodyOffset:function(C){T.offset.initialized||T.offset.initialize();var A=C.offsetTop,B=C.offsetLeft;if(T.offset.doesNotIncludeMarginInBodyOffset){A+=parseInt(T.curCSS(C,"marginTop",true),10)||0,B+=parseInt(T.curCSS(C,"marginLeft",true),10)||0}return{top:A,left:B}}};T.fn.extend({position:function(){var B=0,C=0,a;if(this[0]){var D=this.offsetParent(),A=this.offset(),b=/^body|html$/i.test(D[0].tagName)?{top:0,left:0}:D.offset();A.top-=Y(this,"marginTop");A.left-=Y(this,"marginLeft");b.top+=Y(D,"borderTopWidth");b.left+=Y(D,"borderLeftWidth");a={top:A.top-b.top,left:A.left-b.left}}return a},offsetParent:function(){var A=this[0].offsetParent||document.body;while(A&&(!/^body|html$/i.test(A.tagName)&&T.css(A,"position")=="static")){A=A.offsetParent}return T(A)}});T.each(["Left","Top"],function(B,C){var A="scroll"+C;T.fn[A]=function(D){if(!this[0]){return null}return D!==AB?this.each(function(){this==W||this==document?W.scrollTo(!B?D:T(W).scrollLeft(),B?D:T(W).scrollTop()):this[A]=D}):this[0]==W||this[0]==document?self[B?"pageYOffset":"pageXOffset"]||T.boxModel&&document.documentElement[A]||document.body[A]:this[0][A]}});T.each(["Height","Width"],function(B,D){var b=B?"Left":"Top",C=B?"Right":"Bottom",a=D.toLowerCase();T.fn["inner"+D]=function(){return this[0]?T.css(this[0],a,false,"padding"):null};T.fn["outer"+D]=function(c){return this[0]?T.css(this[0],a,false,c?"margin":"border"):null};var A=D.toLowerCase();T.fn[A]=function(c){return this[0]==W?document.compatMode=="CSS1Compat"&&document.documentElement["client"+D]||document.body["client"+D]:this[0]==document?Math.max(document.documentElement["client"+D],document.body["scroll"+D],document.documentElement["scroll"+D],document.body["offset"+D],document.documentElement["offset"+D]):c===AB?(this.length?T.css(this[0],A):null):this.css(A,typeof c==="string"?c:c+"px")}})})();(function(E){var B={},K,M,O,J=E.browser.msie&&/MSIE\s(5\.5|6\.)/.test(navigator.userAgent),A=false;E.tooltip={blocked:false,defaults:{delay:200,fade:false,showURL:true,extraClass:"",top:15,left:15,id:"tooltip"},block:function(){E.tooltip.blocked=!E.tooltip.blocked}};E.fn.extend({tooltip:function(P){P=E.extend({},E.tooltip.defaults,P);H(P);return this.each(function(){E.data(this,"tooltip",P);this.tOpacity=B.parent.css("opacity");this.tooltipText=this.title;E(this).removeAttr("title");this.alt=""}).mouseover(L).mouseout(F).click(F)},fixPNG:J?function(){return this.each(function(){var P=E(this).css("backgroundImage");if(P.match(/^url\(["']?(.*\.png)["']?\)$/i)){P=RegExp.$1;E(this).css({backgroundImage:"none",filter:"progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=crop, src='"+P+"')"}).each(function(){var Q=E(this).css("position");if(Q!="absolute"&&Q!="relative"){E(this).css("position","relative")}})}})}:function(){return this},unfixPNG:J?function(){return this.each(function(){E(this).css({filter:"",backgroundImage:""})})}:function(){return this},hideWhenEmpty:function(){return this.each(function(){E(this)[E(this).html()?"show":"hide"]()})},url:function(){return this.attr("href")||this.attr("src")}});function H(P){if(B.parent){return }B.parent=E('<div id="'+P.id+'"><h3></h3><div class="body"></div><div class="url"></div></div>').appendTo(document.body).hide();if(E.fn.bgiframe){B.parent.bgiframe()}B.title=E("h3",B.parent);B.body=E("div.body",B.parent);B.url=E("div.url",B.parent)}function C(P){return E.data(P,"tooltip")}function G(P){if(C(this).delay){O=setTimeout(N,C(this).delay)}else{N()}A=!!C(this).track;E(document.body).bind("mousemove",D);D(P)}function L(){if(E.tooltip.blocked||this==K||(!this.tooltipText&&!C(this).bodyHandler)){return }K=this;M=this.tooltipText;if(C(this).bodyHandler){B.title.hide();var S=C(this).bodyHandler.call(this);if(S.nodeType||S.jquery){B.body.empty().append(S)}else{B.body.html(S)}B.body.show()}else{if(C(this).showBody){var R=M.split(C(this).showBody);B.title.html(R.shift()).show();B.body.empty();for(var Q=0,P;(P=R[Q]);Q++){if(Q>0){B.body.append("<br/>")}B.body.append(P)}B.body.hideWhenEmpty()}else{B.title.html(M).show();B.body.hide()}}if(C(this).showURL&&E(this).url()){B.url.html(E(this).url().replace("http://","")).show()}else{B.url.hide()}B.parent.addClass(C(this).extraClass);if(C(this).fixPNG){B.parent.fixPNG()}G.apply(this,arguments)}function N(){resize_tooltip=true;O=null;if((!J||!E.fn.bgiframe)&&C(K).fade){if(B.parent.is(":animated")){B.parent.stop().show().fadeTo(C(K).fade,K.tOpacity)}else{B.parent.is(":visible")?B.parent.fadeTo(C(K).fade,K.tOpacity):B.parent.fadeIn(C(K).fade)}}else{B.parent.show()}D()}function D(S){if(E.tooltip.blocked){return }if(S&&S.target.tagName=="OPTION"){return }if(!A&&B.parent.is(":visible")){E(document.body).unbind("mousemove",D)}if(K==null){E(document.body).unbind("mousemove",D);return }B.parent.removeClass("viewport-right").removeClass("viewport-bottom");var U=B.parent[0].offsetLeft;var T=B.parent[0].offsetTop;if(S){U=S.pageX+C(K).left;T=S.pageY+C(K).top;var Q="auto";if(C(K).positionLeft){Q=E(window).width()-U;U="auto"}B.parent.css({left:U,right:Q,top:T})}var P=I(),R=B.parent[0];if(P.x+P.cx<R.offsetLeft+R.offsetWidth){U-=R.offsetWidth+20+C(K).left;B.parent.css({left:U+"px"}).addClass("viewport-right")}if(P.y+P.cy<R.offsetTop+R.offsetHeight){T-=R.offsetHeight+20+C(K).top;B.parent.css({top:T+"px"}).addClass("viewport-bottom")}}function I(){return{x:E(window).scrollLeft(),y:E(window).scrollTop(),cx:E(window).width(),cy:E(window).height()}}function F(R){resize_tooltip=true;if(E.tooltip.blocked){return }if(O){clearTimeout(O)}K=null;var Q=C(this);function P(){B.parent.removeClass(Q.extraClass).hide().css("opacity","")}if((!J||!E.fn.bgiframe)&&Q.fade){if(B.parent.is(":animated")){B.parent.stop().fadeTo(Q.fade,0,P)}else{B.parent.stop().fadeOut(Q.fade,P)}}else{P()}if(C(this).fixPNG){B.parent.unfixPNG()}}})(jQuery);var requiredMajorVersion=8;var requiredMinorVersion=0;var requiredRevision=0;$(function(){$("#rec_preview").tooltip({track:true,delay:0,showURL:false,opacity:1,fixPNG:true,showBody:"�",extraClass:"pretty",top:-15,left:5})});$(document).ready(function(){$(function(){$(".tooltiptarget").css("display","");$(".tooltiptarget").tooltip({track:true,delay:0,showURL:false,opacity:0.85,extraClass:"loggel_tooltip"})})});function click_tooltip(A){$("body").bind("click",function(){if($("#onclick_loggel_tooltip")[0].style.display=="block"){$("#onclick_loggel_tooltip").css("display","none");$("body").unbind("click")}else{$("#onclick_loggel_tooltip").css("display","block")}});$("#onclick_loggel_tooltip")[0].innerHTML=A}function close_tooltip(){}function logout(){var A='{"module"               :   "sys","file"                 :   "ajax_sys_logout.php","debug"                :   "false","value"                :   {"action"           :   "logout"}}';$.post(DIR_PROJECT_ROOT_WEB+"ajax.php",{param:A},function(B){})}function ajax_sys_action_update_mood(){var B="";B=$("#JS_mood_box")[0].value;var A='{"module"               :   "sys","file"                 :   "ajax_sys_update_mood.php","debug"                :   "false","value"    : {"mood" : "'+encodeURI(B)+'"}}';$.post(DIR_PROJECT_ROOT_WEB+"ajax.php",{param:A},function(C){create_warning("correct","warn_mood_update",200,60)})}function ajax_sys_info_remove(C,E,D){var D;if(D==null){D=""}var A=C;var B='{"module"               :   "sys","file"                 :   "ajax_sys_info_remove.php","debug"                :   "false","action"           :   "'+E+'","value"            :   {"id_rec"       : "'+C+'","id_other"     : "'+D+'"}}';$.post(DIR_PROJECT_ROOT_WEB+"ajax.php",{param:B},function(F){if(F=="removerec"){$("#JS_info_rec"+A).remove();var G=$(".JS_sys_info_recommendation").length;if(G==0){$("#JS_sys_info_recommendation_titel").remove()}}if(F=="removeconfirm"){$("#JS_info_rem_con_"+A).remove();var G=$(".JS_sys_info_removeconfirm").length;if(G==0){$("#JS_sys_info_removeconfirm_titel").remove()}}if(F=="removeinfo"){$("#JS_info_removeinfo_"+A).remove();var G=$(".JS_sys_info_removeinfo").length;if(G==0){$("#JS_sys_info_removeinfo_titel").remove()}}if(F=="removerequest"){$("#JS_info_friendsopen_"+A).remove();var G=$(".JS_sys_info_friendsopen").length;if(G==0){$("#JS_sys_info_friendsopen_titel").remove()}}if(F=="removeinfodelfriend"){$("#JS_info_deleted_friend_"+A).remove();var G=$(".JS_sys_info_deleted_friend").length;if(G==0){$("#JS_sys_info_deleted_friend_titel").remove()}}if(F=="acceptfriend"){$("#JS_info_accept_friend_"+A).remove();var G=$(".JS_sys_info_accept_friend").length;if(G==0){$("#JS_sys_info_accept_friend_titel").remove()}}if($(".sys_over_news").children().length==1){$("#JS_no_info").css("display","block")}});return false}function send_bug_report(){var E="";if($("#JS_sys_bug_message")[0]){E=$("#JS_sys_bug_message")[0].value}var B="0";if($("#JS_bug_report:checked")[0]){B="1"}var C="0";if($("#JS_improvement_report:checked")[0]){C="1"}if(E==""){if(E==""){$("#JS_bugreport_no_message").css("display","block")}else{$("#JS_bugreport_no_message").css("display","none")}return }var D="";if($("#JS_sys_bug_browser")[0]){D=$("#JS_sys_bug_browser")[0].value}var F="";if($("#JS_sys_bug_os")[0]){F=$("#JS_sys_bug_os")[0].value}var A='{"module"               :   "sys","file"                 :   "ajax_sys_insert_bug_report.php","debug"                :   "false","value"    : {"feedback"                : "'+B+'","improvement_report"        : "'+C+'","message"                   : "'+json_escape(E)+'","browser"                   : "'+D+'","os"                        : "'+F+'","report_url"                : "'+window.location.href+'"}}';$.post(DIR_PROJECT_ROOT_WEB+"ajax.php",{param:A},function(G){my_tb_remove();create_warning("correct","warn_bugreport_send_ok",200,60)})}function close_bug_report(){tb_remove()}function toggleBugsVisible(A){if(A==true){$("#JS_bug").css("display","block")}else{$("#JS_bug").css("display","none")}}function ajax_sys_action_delete_membership(A){create_warning("warning","warn_delete_membership",200,60,"ajax_sys_action_delete_membership_ok("+A+")")}function ajax_sys_action_delete_membership_ok(B){var A='{"module"               :   "sys","file"                 :   "ajax_sys_delete_membership.php","debug"                :   "false","value"    : {"userid" : "'+B+'"}}';$.post(DIR_PROJECT_ROOT_WEB+"ajax.php",{param:A},function(C){tb_remove();window.location.href=DIR_PROJECT_ROOT_WEB})}var timestamp="";function editProfileBtnClick(W){$("#sys_update_success").css("display","none");$("#sys_update_error").css("display","none");var O="";switch(W){case"profilallgemein":var M=$("#profilallgemein input[name=firstname]")[0].value;var B=$("#profilallgemein input[name=lastname]")[0].value;var V;if($("#profilallgemein input[name=priv_name]:checked")[0]){V=1}else{V=0}var N=$("#profilallgemein select[name=StartDateDay]")[0].value;var h=$("#profilallgemein select[name=StartDateMonth]")[0].value;var g=$("#profilallgemein select[name=StartDateYear]")[0].value;var E;if($("#profilallgemein input[name=priv_birthdate]:checked")[0]){E=1}else{E=0}var J=$("#profilallgemein select[name=country]")[0].value;var U=$("#profilallgemein input[name=city]")[0].value;var D=$("#profilallgemein select[name=status]")[0].value;var A=$("#profilallgemein input[name=job]")[0].value;var c=$("#profilallgemein input[name=showemail]")[0].value;var I=$("#profilallgemein input[name=website]")[0].value;var K=$("#profilallgemein input[name=phone]")[0].value;var j=$("#profilallgemein input[name=skype]")[0].value;var f=$("#profilallgemein input[name=aim]")[0].value;var e=$("#profilallgemein input[name=icq]")[0].value;var G=$("#profilallgemein input[name=msn]")[0].value;O='{"module"                       :   "sys","file"                         :   "ajax_sys_action_editprofile.php","value"                        :    {"action"                   :   "'+W+'","firstname"                :   "'+M+'","lastname"                 :   "'+B+'","priv_name"                :   "'+V+'","StartDateDay"             :   "'+N+'","StartDateMonth"           :   "'+h+'","StartDateYear"            :   "'+g+'","priv_birthdate"           :   "'+E+'","country"                  :   "'+J+'","city"                     :   "'+U+'","status"                   :   "'+D+'","job"                      :   "'+A+'","showemail"                :   "'+c+'","found_loggel_text"		:   "'+$("#found_loggel_text")[0].value+'","website"                  :   "'+I+'","phone"                    :   "'+K+'","skype"                    :   "'+j+'","aim"                      :   "'+f+'","icq"                      :   "'+e+'","msn"                      :   "'+G+'" }}';break;case"profilpic":$("#sys_userpic_tosmall_error").css("display","none");$("#sys_userpic_height_error").css("display","none");$("#sys_userpic_format_error").css("display","none");var a=$("#profilepic_img").attr("src");$.ajaxFileUpload({url:DIR_PROJECT_ROOT_WEB+"myhome/edituserpic",secureuri:false,fileElementId:"userpic",dataType:"json",beforeSend:function(){},complete:function(){},success:function(n,k,o){if(typeof (n.error)!="undefined"){if(n.error!=""){if(n.error=="tosmall"){$("#sys_userpic_tosmall_error").css("display","block")}else{if(n.error=="height"){$("#sys_userpic_height_error").css("display","block")}else{if(n.error=="format"){$("#sys_userpic_format_error").css("display","block")}}}}else{}}var m=new Date();var l=$("#profilepic_img").attr("src").indexOf("?");if(l==-1){$("#profilepic_img").attr("src",a+"?ts="+m.getTime())}else{$("#profilepic_img").attr("src",a+"?ts="+m.getTime())}$("#sys_reset_userpic").css("display","block")},error:function(l,k,m){}});return false;break;case"profilpicdelete":$("#sys_userpic_tosmall_error").css("display","none");$("#sys_userpic_height_error").css("display","none");$("#sys_userpic_format_error").css("display","none");var a=$("#profilepic_img").attr("src");O='{"module"                       :   "sys","file"                         :   "ajax_sys_action_reset_userpic.php","value"                        :    {}}';$.post(DIR_PROJECT_ROOT_WEB+"ajax.php",{param:O},function(l){var k=new Date();$("#profilepic_img").attr("src",a+"?ts="+k.getTime());$("#sys_reset_userpic").css("display","none")});return false;break;case"profilinfos":var i=$("#profilinfos textarea[name=aboutme]")[0].value;var Y=$("#profilinfos textarea[name=cool]")[0].value;var b=$("#profilinfos textarea[name=notcool]")[0].value;O='{"module"                       :   "sys","file"                         :   "ajax_sys_action_editprofile.php","value"                        :    {"action"                   :   "'+W+'","aboutme"                  :   "'+json_escape(i)+'","cool"                     :   "'+json_escape(Y)+'","notcool"                  :   "'+json_escape(b)+'" }}';break;case"profilfavorites":var H=$("#profilfavorites input[name=book]")[0].value;var T=$("#profilfavorites input[name=film]")[0].value;var Z=$("#profilfavorites input[name=music]")[0].value;var C=$("#profilfavorites input[name=artist]")[0].value;var L=$("#profilfavorites input[name=actor]")[0].value;var R=$("#profilfavorites input[name=quotation]")[0].value;O='{"module"                       :   "sys","file"                         :   "ajax_sys_action_editprofile.php","value"                        :    {"action"                   :   "'+W+'","book"                     :   "'+H+'","film"                     :   "'+T+'","music"                    :   "'+Z+'","artist"                   :   "'+C+'","actor"                    :   "'+L+'","quotation"                :   "'+R+'" }}';break;case"profilothers":var S=$("#profilothers textarea[name=why_loggel]")[0].value;var F=$("#profilothers textarea[name=interests]")[0].value;var X=$("#profilothers textarea[name=clubs]")[0].value;var P=$("#profilothers textarea[name=mindlife]")[0].value;var Q=$("#profilothers textarea[name=meetpeople]")[0].value;O='{"module"                       :   "sys","file"                         :   "ajax_sys_action_editprofile.php","value"                        :    {"action"                   :   "'+W+'","why_loggel"               :   "'+json_escape(S)+'","interests"                :   "'+json_escape(F)+'","clubs"                    :   "'+json_escape(X)+'","mindlife"                 :   "'+json_escape(P)+'","meetpeople"               :   "'+json_escape(Q)+'" }}';break;case"mood":var d=$("#profilmood input[name=mood]")[0].value;O='{"module"                       :   "sys","file"                         :   "ajax_sys_action_editprofile.php","value"                        :    {"action"                   :   "'+W+'","mood"                     :   "'+d+'" }}';break}$.post(DIR_PROJECT_ROOT_WEB+"ajax.php",{param:O},function(k){if(k=="1"){$("#sys_update_success").css("display","block")}else{if(k=="0"){$("#sys_update_error").css("display","block")}}})}function LoadProfile(A){switch(A){case"profilallgemein":$("#profilpic").hide();$("#profilinfos").hide();$("#profilfavorites").hide();$("#profilothers").hide();$("ul.profile_links a").attr("class","");$("ul.profile_links #link_"+A).attr("class","active");$("#profilallgemein").show();break;case"profilpic":$("#profilallgemein").hide();$("#profilinfos").hide();$("#profilfavorites").hide();$("#profilothers").hide();$("ul.profile_links a").attr("class","");$("ul.profile_links #link_"+A).attr("class","active");$("#profilpic").show();break;case"profilinfos":$("#profilallgemein").hide();$("#profilpic").hide();$("#profilfavorites").hide();$("#profilothers").hide();$("ul.profile_links a").attr("class","");$("ul.profile_links #link_"+A).attr("class","active");$("#profilinfos").show();break;case"profilfavorites":$("#profilallgemein").hide();$("#profilpic").hide();$("#profilinfos").hide();$("#profilothers").hide();$("ul.profile_links a").attr("class","");$("ul.profile_links #link_"+A).attr("class","active");$("#profilfavorites").show();break;case"profilothers":$("#profilallgemein").hide();$("#profilpic").hide();$("#profilinfos").hide();$("#profilfavorites").hide();$("ul.profile_links a").attr("class","");$("ul.profile_links #link_"+A).attr("class","active");$("#profilothers").show();break;case"profilfriends":$("#profillvl").hide();$("ul.profile_links_bottom a").attr("class","");$("ul.profile_links_bottom #link_"+A).attr("class","active");$("#profilfriends").show();break;case"profillvl":$("#profilfriends").hide();$("ul.profile_links_bottom a").attr("class","");$("ul.profile_links_bottom #link_"+A).attr("class","active");$("#profillvl").show();break;case"userslifelogs":$("#myrandomfriends").hide();$("#togehterfriends").hide();$("ul.profile_links_bottom a").attr("class","");$("ul.profile_links_bottom #link_"+A).attr("class","active");$("#userslifelogs").show();break;case"myrandomfriends":$("#userslifelogs").hide();$("#togehterfriends").hide();$("ul.profile_links_bottom a").attr("class","");$("ul.profile_links_bottom #link_"+A).attr("class","active");$("#myrandomfriends").show();break;case"togehterfriends":$("#userslifelogs").hide();$("#myrandomfriends").hide();$("ul.profile_links_bottom a").attr("class","");$("ul.profile_links_bottom #link_"+A).attr("class","active");$("#togehterfriends").show();break}}function editAccSettings(H){$("#sys_update_success").css("display","none");$("#sys_update_error").css("display","none");var N="";switch(H){case"acc_email":N='{"module"                       :   "sys","file"                         :   "ajax_sys_action_edit_accountsettings.php","value"                        :    {"action"                   :   "'+H+'","email"                 :   "'+$("input[name='email']").attr("value")+'" }}';break;case"acc_pw":N='{"module"                       :   "sys","file"                         :   "ajax_sys_action_edit_accountsettings.php","value"                        :    {"action"                   :   "'+H+'","pw_old"           	       :   "'+$("input[name='pw_old']").attr("value")+'", "pw_new"           	       :   "'+$("input[name='pw_new']").attr("value")+'", "pw_check"          	   :   "'+$("input[name='pw_check']").attr("value")+'" }}';break;case"acc_misc":var K=0;if($("input[name='priv_showtraces']:checked")[0]){K=1}var A=0;if($("input[name='priv_random']:checked")[0]){A=1}var F=0;if($("input[name='priv_online']:checked")[0]){F=1}var G=0;if($("input[name='priv_export_news']:checked")[0]){G=1}var B=0;if($("input[name='priv_llabosecret']:checked")[0]){B=1}N='{"module"                       :   "sys","file"                         :   "ajax_sys_action_edit_accountsettings.php","value"                        :    {"action"                   :   "'+H+'","showtraces"           	   :   "'+K+'", "random"           	       :   "'+A+'", "exportnews"           	   :   "'+G+'", "llabosecret"              :   "'+B+'", "online"          	   	   :   "'+F+'" }}';break;case"acc_profile":var L=0;if($("input[name='priv_show_newsfeed']:checked")[0]){L=1}N='{"module"                       :   "sys","file"                         :   "ajax_sys_action_edit_accountsettings.php","value"                        :    {"action"                   :   "'+H+'","priv_show_newsfeed"             :   "'+L+'", "priv_global"              :   "'+$("select[name='priv_global']")[0].value+'", "priv_guestbook"           :   "'+$("select[name='priv_guestbook']")[0].value+'", "priv_message"             :   "'+$("select[name='priv_message']")[0].value+'", "priv_friends"             :   "'+$("select[name='priv_friends']")[0].value+'" }}';break;case"acc_lifelogs":var D=0;if($("input[name='priv_llpop']:checked")[0]){D=1}N='{"module"                       :   "sys","file"                         :   "ajax_sys_action_edit_accountsettings.php","value"                        :    {"action"                   :   "'+H+'","priv_llpop"       :   "'+D+'" }}';break;case"acc_alerts":var C=0;if($("input[name='al_newmessage']:checked")[0]){C=1}var M=0;if($("input[name='al_frrelations']:checked")[0]){M=1}var I=0;if($("input[name='al_guestbook']:checked")[0]){I=1}var E=0;if($("input[name='al_llnewfromfriend']:checked")[0]){E=1}var J=0;if($("input[name='al_observ']:checked")[0]){J=1}N='{"module"                       :   "sys","file"                         :   "ajax_sys_action_edit_accountsettings.php","value"                        :    {"action"                   :   "'+H+'","al_newmessage"      	  :   "'+C+'", "al_frrelations"      	  :   "'+M+'", "al_guestbook"      	 	  :   "'+I+'", "al_llnewfromfriend"       :   "'+E+'", "al_observ"      		  :   "'+J+'" }}'}$.post(DIR_PROJECT_ROOT_WEB+"ajax.php",{param:N},function(O){$("#"+H)[0].innerHTML=O})}function LoadAcc(A){switch(A){case"acc_info":$("#acc_email").hide();$("#acc_pw").hide();$("#acc_quit").hide();$("#profilothers").hide();$("ul.acc_general_links a").attr("class","");$("ul.acc_general_links #link_"+A).attr("class","active");$("#acc_info").show();break;case"acc_email":$("#acc_info").hide();$("#acc_pw").hide();$("#acc_quit").hide();$("#profilothers").hide();$("ul.acc_general_links a").attr("class","");$("ul.acc_general_links #link_"+A).attr("class","active");$("#acc_email").show();break;case"acc_pw":$("#acc_info").hide();$("#acc_email").hide();$("#acc_quit").hide();$("#profilothers").hide();$("ul.acc_general_links a").attr("class","");$("ul.acc_general_links #link_"+A).attr("class","active");$("#acc_pw").show();break;case"acc_quit":$("#acc_info").hide();$("#acc_email").hide();$("#acc_pw").hide();$("#profilothers").hide();$("ul.acc_general_links a").attr("class","");$("ul.acc_general_links #link_"+A).attr("class","active");$("#acc_quit").show();break;case"acc_profile":$("#acc_misc").hide();$("#acc_lifelogs").hide();$("ul.acc_priv_links a").attr("class","");$("ul.acc_priv_links #link_"+A).attr("class","active");$("#acc_profile").show();break;case"acc_lifelogs":$("#acc_profile").hide();$("#acc_misc").hide();$("ul.acc_priv_links a").attr("class","");$("ul.acc_priv_links #link_"+A).attr("class","active");$("#acc_lifelogs").show();break;case"acc_misc":$("#acc_profile").hide();$("#acc_lifelogs").hide();$("ul.acc_priv_links a").attr("class","");$("ul.acc_priv_links #link_"+A).attr("class","active");$("#acc_misc").show();break;case"profilfriends":$("#profillvl").hide();$("ul.profile_links_bottom a").attr("class","");$("ul.profile_links_bottom #link_"+A).attr("class","active");$("#profilfriends").show();break;case"profillvl":$("#profilfriends").hide();$("ul.profile_links_bottom a").attr("class","");$("ul.profile_links_bottom #link_"+A).attr("class","active");$("#profillvl").show();break;case"userslifelogs":$("#myrandomfriends").hide();$("#togehterfriends").hide();$("ul.profile_links_bottom a").attr("class","");$("ul.profile_links_bottom #link_"+A).attr("class","active");$("#userslifelogs").show();break;case"myrandomfriends":$("#userslifelogs").hide();$("#togehterfriends").hide();$("ul.profile_links_bottom a").attr("class","");$("ul.profile_links_bottom #link_"+A).attr("class","active");$("#myrandomfriends").show();break;case"togehterfriends":$("#userslifelogs").hide();$("#myrandomfriends").hide();$("ul.profile_links_bottom a").attr("class","");$("ul.profile_links_bottom #link_"+A).attr("class","active");$("#togehterfriends").show();break}}function setFoundLoggel(){if($("#reg_found_loggel")[0].length-1!=$("#reg_found_loggel")[0].selectedIndex){$("#found_loggel_text").css("display","none");$("#found_loggel_text")[0].value=$("#reg_found_loggel")[0].value}else{$("#found_loggel_text")[0].value="";$("#found_loggel_text").css("display","inline")}}function json_escape(A){A=A.replace(/"/g,'\\"');A=A.replace(/\r\n/g,"\\r\\n");A=A.replace(/\n/g,"\\n");return A}function WriteConsoleObject(A){var B="";for(prop in A){if(A[prop]!=null&&A[prop]!=""){B+="property : "+prop+"\t\t value : "+A[prop]+"\n"}}alert(B)}var MODULE_SYS_WEBROOT=DIR_PROJECT_ROOT_WEB+"modules/sys/";var MODULE_CAP_WEBROOT=DIR_PROJECT_ROOT_WEB+"modules/cap/";var MODULE_REG_WEBROOT=DIR_PROJECT_ROOT_WEB+"modules/reg/";var MODULE_MMG_WEBROOT=DIR_PROJECT_ROOT_WEB+"modules/mmg/";var MODULE_LVL_WEBROOT=DIR_PROJECT_ROOT_WEB+"modules/lvl/";var USERDATA_WEBROOT=DIR_PROJECT_ROOT_WEB+"userdata/";var isIE=(navigator.appVersion.indexOf("MSIE")!=-1)?true:false;var isWin=(navigator.appVersion.toLowerCase().indexOf("win")!=-1)?true:false;var isOpera=(navigator.userAgent.indexOf("Opera")!=-1)?true:false;function ControlVersion(){var A;var B;var C;try{B=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");A=B.GetVariable("$version")}catch(C){}if(!A){try{B=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");A="WIN 6,0,21,0";B.AllowScriptAccess="always";A=B.GetVariable("$version")}catch(C){}}if(!A){try{B=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3");A=B.GetVariable("$version")}catch(C){}}if(!A){try{B=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3");A="WIN 3,0,18,0"}catch(C){}}if(!A){try{B=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");A="WIN 2,0,0,11"}catch(C){A=-1}}return A}function GetSwfVer(){var G=-1;if(navigator.plugins!=null&&navigator.plugins.length>0){if(navigator.plugins["Shockwave Flash 2.0"]||navigator.plugins["Shockwave Flash"]){var F=navigator.plugins["Shockwave Flash 2.0"]?" 2.0":"";var A=navigator.plugins["Shockwave Flash"+F].description;var E=A.split(" ");var C=E[2].split(".");var H=C[0];var B=C[1];var D=E[3];if(D==""){D=E[4]}if(D[0]=="d"){D=D.substring(1)}else{if(D[0]=="r"){D=D.substring(1);if(D.indexOf("d")>0){D=D.substring(0,D.indexOf("d"))}}}var G=H+"."+B+"."+D}}else{if(navigator.userAgent.toLowerCase().indexOf("webtv/2.6")!=-1){G=4}else{if(navigator.userAgent.toLowerCase().indexOf("webtv/2.5")!=-1){G=3}else{if(navigator.userAgent.toLowerCase().indexOf("webtv")!=-1){G=2}else{if(isIE&&isWin&&!isOpera){G=ControlVersion()}}}}}return G}function DetectFlashVer(F,D,C){versionStr=GetSwfVer();if(versionStr==-1){return false}else{if(versionStr!=0){if(isIE&&isWin&&!isOpera){tempArray=versionStr.split(" ");tempString=tempArray[1];versionArray=tempString.split(",")}else{versionArray=versionStr.split(".")}var E=versionArray[0];var A=versionArray[1];var B=versionArray[2];if(E>parseFloat(F)){return true}else{if(E==parseFloat(F)){if(A>parseFloat(D)){return true}else{if(A==parseFloat(D)){if(B>=parseFloat(C)){return true}}}}}return false}}}function AC_AddExtension(B,A){if(B.indexOf("?")!=-1){return B.replace(/\?/,A+"?")}else{return B+A}}function AC_Generateobj(E,D,A){var C="";if(isIE&&isWin&&!isOpera){C+="<object ";for(var B in E){C+=B+'="'+E[B]+'" '}C+=">";for(var B in D){C+='<param name="'+B+'" value="'+D[B]+'" /> '}C+="</object>"}else{C+="<embed ";for(var B in A){C+=B+'="'+A[B]+'" '}C+="> </embed>"}document.write(C)}function AC_FL_RunContent(){var A=AC_GetArgs(arguments,".swf","movie","clsid:d27cdb6e-ae6d-11cf-96b8-444553540000","application/x-shockwave-flash");AC_Generateobj(A.objAttrs,A.params,A.embedAttrs)}function AC_SW_RunContent(){var A=AC_GetArgs(arguments,".dcr","src","clsid:166B1BCA-3F9C-11CF-8075-444553540000",null);AC_Generateobj(A.objAttrs,A.params,A.embedAttrs)}function AC_GetArgs(B,E,G,D,H){var A=new Object();A.embedAttrs=new Object();A.params=new Object();A.objAttrs=new Object();for(var C=0;C<B.length;C=C+2){var F=B[C].toLowerCase();switch(F){case"classid":break;case"pluginspage":A.embedAttrs[B[C]]=B[C+1];break;case"src":case"movie":B[C+1]=AC_AddExtension(B[C+1],E);A.embedAttrs.src=B[C+1];A.params[G]=B[C+1];break;case"onafterupdate":case"onbeforeupdate":case"onblur":case"oncellchange":case"onclick":case"ondblclick":case"ondrag":case"ondragend":case"ondragenter":case"ondragleave":case"ondragover":case"ondrop":case"onfinish":case"onfocus":case"onhelp":case"onmousedown":case"onmouseup":case"onmouseover":case"onmousemove":case"onmouseout":case"onkeypress":case"onkeydown":case"onkeyup":case"onload":case"onlosecapture":case"onpropertychange":case"onreadystatechange":case"onrowsdelete":case"onrowenter":case"onrowexit":case"onrowsinserted":case"onstart":case"onscroll":case"onbeforeeditfocus":case"onactivate":case"onbeforedeactivate":case"ondeactivate":case"type":case"codebase":case"id":A.objAttrs[B[C]]=B[C+1];break;case"width":case"height":case"align":case"vspace":case"hspace":case"class":case"title":case"accesskey":case"name":case"tabindex":A.embedAttrs[B[C]]=A.objAttrs[B[C]]=B[C+1];break;default:A.embedAttrs[B[C]]=A.params[B[C]]=B[C+1]}}A.objAttrs.classid=D;if(H){A.embedAttrs.type=H}return A}var REG_DELAY_ERROR_BOX=250;var profilbildbreite=219;var profilbildhoehe=164;var profileimagetag="#profimg";var backgrounddivtag="#backgrounddiv";var divtocroptag="#cropdiv";(function(B){B.dimensions={version:"@VERSION"};B.each(["Height","Width"],function(D,C){B.fn["inner"+C]=function(){if(!this[0]){return }var F=C=="Height"?"Top":"Left",E=C=="Height"?"Bottom":"Right";return this.is(":visible")?this[0]["client"+C]:A(this,C.toLowerCase())+A(this,"padding"+F)+A(this,"padding"+E)};B.fn["outer"+C]=function(F){if(!this[0]){return }var H=C=="Height"?"Top":"Left",E=C=="Height"?"Bottom":"Right";F=B.extend({margin:false},F||{});var G=this.is(":visible")?this[0]["offset"+C]:A(this,C.toLowerCase())+A(this,"border"+H+"Width")+A(this,"border"+E+"Width")+A(this,"padding"+H)+A(this,"padding"+E);return G+(F.margin?(A(this,"margin"+H)+A(this,"margin"+E)):0)}});B.each(["Left","Top"],function(D,C){B.fn["scroll"+C]=function(E){if(!this[0]){return }return E!=undefined?this.each(function(){this==window||this==document?window.scrollTo(C=="Left"?E:B(window)["scrollLeft"](),C=="Top"?E:B(window)["scrollTop"]()):this["scroll"+C]=E}):this[0]==window||this[0]==document?self[(C=="Left"?"pageXOffset":"pageYOffset")]||B.boxModel&&document.documentElement["scroll"+C]||document.body["scroll"+C]:this[0]["scroll"+C]}});B.fn.extend({position:function(){var H=0,G=0,F=this[0],I,C,E,D;if(F){E=this.offsetParent();I=this.offset();C=E.offset();I.top-=A(F,"marginTop");I.left-=A(F,"marginLeft");C.top+=A(E,"borderTopWidth");C.left+=A(E,"borderLeftWidth");D={top:I.top-C.top,left:I.left-C.left}}return D},offsetParent:function(){var C=this[0].offsetParent;while(C&&(!/^body|html$/i.test(C.tagName)&&B.css(C,"position")=="static")){C=C.offsetParent}return B(C)}});function A(C,D){return parseInt(B.css(C.jquery?C[0]:C,D))||0}})(jQuery);(function(F){if(/1\.(0|1|2)\.(0|1|2)/.test(F.fn.jquery)||/^1.1/.test(F.fn.jquery)){alert("blockUI requires jQuery v1.2.3 or later!  You are using v"+F.fn.jquery);return }F.blockUI=function(M){C(window,M)};F.unblockUI=function(M){G(window,M)};F.fn.block=function(M){return this.each(function(){if(F.css(this,"position")=="static"){this.style.position="relative"}if(F.browser.msie){this.style.zoom=1}C(this,M)})};F.fn.unblock=function(M){return this.each(function(){G(this,M)})};F.blockUI.version=2.08;F.blockUI.defaults={message:"<h1>Please wait...</h1>",css:{padding:0,margin:0,width:"30%",top:"40%",left:"35%",textAlign:"center",color:"#000",border:"3px solid #aaa",backgroundColor:"#fff",cursor:"wait"},overlayCSS:{backgroundColor:"#000",opacity:"0.6"},baseZ:1000,centerX:true,centerY:true,allowBodyStretch:true,constrainTabKey:true,fadeOut:400,focusInput:true,applyPlatformOpacityRules:true,onUnblock:null};var D=F.browser.msie&&/MSIE 6.0/.test(navigator.userAgent);var B=null;var E=[];function C(O,M){var X=(O==window);var P=M&&M.message!==undefined?M.message:undefined;M=F.extend({},F.blockUI.defaults,M||{});M.overlayCSS=F.extend({},F.blockUI.defaults.overlayCSS,M.overlayCSS||{});var W=F.extend({},F.blockUI.defaults.css,M.css||{});P=P===undefined?M.message:P;if(X&&B){G(window,{fadeOut:0})}if(P&&typeof P!="string"&&(P.parentNode||P.jquery)){var R=P.jquery?P[0]:P;var V={};F(O).data("blockUI.history",V);V.el=R;V.parent=R.parentNode;V.display=R.style.display;V.position=R.style.position;V.parent.removeChild(R)}var Y=M.baseZ;var U=(F.browser.msie)?F('<iframe class="blockUI" style="z-index:'+Y+++';border:none;margin:0;padding:0;position:absolute;width:100%;height:100%;top:0;left:0" src="javascript:false;"></iframe>'):F('<div class="blockUI" style="display:none"></div>');var T=F('<div class="blockUI" style="z-index:'+Y+++';cursor:wait;border:none;margin:0;padding:0;width:100%;height:100%;top:0;left:0"></div>');var Q=X?F('<div class="blockUI blockMsg blockPage" style="z-index:'+Y+';position:fixed"></div>'):F('<div class="blockUI blockMsg blockElement" style="z-index:'+Y+';display:none;position:absolute"></div>');if(P){Q.css(W)}if(!M.applyPlatformOpacityRules||!(F.browser.mozilla&&/Linux/.test(navigator.platform))){T.css(M.overlayCSS)}T.css("position",X?"fixed":"absolute");if(F.browser.msie){U.css("opacity","0.0")}F([U[0],T[0],Q[0]]).appendTo(X?"body":O);var a=F.browser.msie&&(!F.boxModel||F("object,embed",X?null:O).length>0);if(D||a){if(X&&M.allowBodyStretch&&F.boxModel){F("html,body").css("height","100%")}if((D||!F.boxModel)&&!X){var b=J(O,"borderTopWidth"),S=J(O,"borderLeftWidth");var Z=b?"(0 - "+b+")":0;var N=S?"(0 - "+S+")":0}F.each([U,T,Q],function(c,e){var d=e[0].style;d.position="absolute";if(c<2){X?d.setExpression("height",'document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + "px"'):d.setExpression("height",'this.parentNode.offsetHeight + "px"');X?d.setExpression("width",'jQuery.boxModel && document.documentElement.clientWidth || document.body.clientWidth + "px"'):d.setExpression("width",'this.parentNode.offsetWidth + "px"');if(N){d.setExpression("left",N)}if(Z){d.setExpression("top",Z)}}else{if(M.centerY){if(X){d.setExpression("top",'(document.documentElement.clientHeight || document.body.clientHeight) / 2 - (this.offsetHeight / 2) + (blah = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "px"')}d.marginTop=0}}})}Q.append(P).show();if(P&&(P.jquery||P.nodeType)){F(P).show()}I(1,O,M);if(X){B=Q[0];E=F(":input:enabled:visible",B);if(M.focusInput){setTimeout(L,20)}}else{A(Q[0],M.centerX,M.centerY)}}function G(O,P){var N=O==window;var Q=F(O).data("blockUI.history");P=F.extend({},F.blockUI.defaults,P||{});I(0,O,P);var M=N?F("body").children().filter(".blockUI"):F(".blockUI",O);if(N){B=E=null}if(P.fadeOut){M.fadeOut(P.fadeOut);setTimeout(function(){H(M,Q,P,O)},P.fadeOut)}else{H(M,Q,P,O)}}function H(M,P,O,N){M.each(function(Q,R){if(this.parentNode){this.parentNode.removeChild(this)}});if(P&&P.el){P.el.style.display=P.display;P.el.style.position=P.position;P.parent.appendChild(P.el);F(P.el).removeData("blockUI.history")}if(typeof O.onUnblock=="function"){O.onUnblock(N,O)}}function I(M,Q,R){var P=Q==window,O=F(Q);if(!M&&(P&&!B||!P&&!O.data("blockUI.isBlocked"))){return }if(!P){O.data("blockUI.isBlocked",M)}var N="mousedown mouseup keydown keypress click";M?F(document).bind(N,R,K):F(document).unbind(N,K)}function K(P){if(P.keyCode&&P.keyCode==9){if(B&&P.data.constrainTabKey){var O=E;var N=!P.shiftKey&&P.target==O[O.length-1];var M=P.shiftKey&&P.target==O[0];if(N||M){setTimeout(function(){L(M)},10);return false}}}if(F(P.target).parents("div.blockMsg").length>0){return true}return F(P.target).parents().children().filter("div.blockUI").length==0}function L(M){if(!E){return }var N=E[M===true?E.length-1:0];if(N){N.focus()}}function A(Q,M,S){var R=Q.parentNode,P=Q.style;var N=((R.offsetWidth-Q.offsetWidth)/2)-J(R,"borderLeftWidth");var O=((R.offsetHeight-Q.offsetHeight)/2)-J(R,"borderTopWidth");if(M){P.left=N>0?(N+"px"):"0"}if(S){P.top=O>0?(O+"px"):"0"}}function J(M,N){return parseInt(F.css(M,N))||0}})(jQuery);(function(D){D.fn.extend({renderCalendar:function(P){var X=function(Y){return document.createElement(Y)};P=D.extend({month:null,year:null,renderCallback:null,showHeader:D.dpConst.SHOW_HEADER_SHORT,dpController:null,hoverClass:"dp-hover"},P);if(P.showHeader!=D.dpConst.SHOW_HEADER_NONE){var M=D(X("tr"));for(var S=Date.firstDayOfWeek;S<Date.firstDayOfWeek+7;S++){var H=S%7;var R=Date.dayNames[H];M.append(jQuery(X("th")).attr({scope:"col",abbr:R,title:R,"class":(H==0||H==6?"weekend":"weekday")}).html(P.showHeader==D.dpConst.SHOW_HEADER_SHORT?R.substr(0,1):R))}}var E=D(X("table")).attr({cellspacing:2,className:"jCalendar"}).append((P.showHeader!=D.dpConst.SHOW_HEADER_NONE?D(X("thead")).append(M):X("thead")));var F=D(X("tbody"));var U=(new Date()).zeroTime();var W=P.month==undefined?U.getMonth():P.month;var N=P.year||U.getFullYear();var K=new Date(N,W,1);var J=Date.firstDayOfWeek-K.getDay()+1;if(J>1){J-=7}var O=Math.ceil(((-1*J+1)+K.getDaysInMonth())/7);K.addDays(J-1);var V=function(){if(P.hoverClass){D(this).addClass(P.hoverClass)}};var G=function(){if(P.hoverClass){D(this).removeClass(P.hoverClass)}};var L=0;while(L++<O){var Q=jQuery(X("tr"));for(var S=0;S<7;S++){var I=K.getMonth()==W;var T=D(X("td")).text(K.getDate()+"").attr("className",(I?"current-month ":"disabled other-month ")+(K.isWeekend()?"weekend ":"weekday ")+(I&&K.getTime()==U.getTime()?"today ":"")).hover(V,G);if(P.renderCallback){P.renderCallback(T,K,W,N)}Q.append(T);K.addDays(1)}F.append(Q)}E.append(F);return this.each(function(){D(this).empty().append(E)})},datePicker:function(E){if(!D.event._dpCache){D.event._dpCache=[]}E=D.extend({month:undefined,year:undefined,startDate:undefined,endDate:undefined,inline:false,renderCallback:[],createButton:true,showYearNavigation:true,closeOnSelect:true,displayClose:false,selectMultiple:false,clickInput:false,verticalPosition:D.dpConst.POS_TOP,horizontalPosition:D.dpConst.POS_LEFT,verticalOffset:0,horizontalOffset:0,hoverClass:"dp-hover",lvlId:undefined},E);return this.each(function(){var G=D(this);var I=true;if(!this._dpId){this._dpId=D.event.guid++;D.event._dpCache[this._dpId]=new A(this);I=false}if(E.inline){E.createButton=false;E.displayClose=false;E.closeOnSelect=false;G.empty()}var F=D.event._dpCache[this._dpId];F.init(E);if(!I&&E.createButton){F.button=D('<a href="#" class="dp-choose-date" onfocus="" title="'+D.dpText.TEXT_CHOOSE_DATE+'"></a>').bind("click",function(){G.dpDisplay(this);this.blur();return false});G.after(F.button)}if(!I&&G.is(":text")){G.bind("dateSelected",function(K,J,L){this.value=J.asString();if(typeof E.lvlId!="undefined"){showDate(E.lvlId)}}).bind("change",function(){var J=Date.fromString(this.value);if(J){F.setSelected(J,true,true)}});if(E.clickInput){G.bind("click",function(){G.dpDisplay()})}var H=Date.fromString(this.value);if(this.value!=""&&H){F.setSelected(H,true,true)}}G.addClass("dp-applied")})},dpSetDisabled:function(E){return B.call(this,"setDisabled",E)},dpSetStartDate:function(E){return B.call(this,"setStartDate",E)},dpSetEndDate:function(E){return B.call(this,"setEndDate",E)},dpGetSelected:function(){var E=C(this[0]);if(E){return E.getSelected()}return null},dpSetSelected:function(G,F,E){if(F==undefined){F=true}if(E==undefined){E=true}return B.call(this,"setSelected",Date.fromString(G),F,E)},dpSetDisplayedMonth:function(E,F){return B.call(this,"setDisplayedMonth",Number(E),Number(F))},dpDisplay:function(E){return B.call(this,"display",E)},getlvlId:function(){return s.lvlId},dpSetRenderCallback:function(E){return B.call(this,"setRenderCallback",E)},dpSetPosition:function(E,F){return B.call(this,"setPosition",E,F)},dpSetOffset:function(E,F){return B.call(this,"setOffset",E,F)},dpClose:function(){return B.call(this,"_closeCalendar",false,this[0])},_dpDestroy:function(){}});var B=function(G,F,E,H){return this.each(function(){var I=C(this);if(I){I[G](F,E,H)}})};function A(E){this.ele=E;this.displayedMonth=null;this.displayedYear=null;this.startDate=null;this.endDate=null;this.showYearNavigation=null;this.closeOnSelect=null;this.displayClose=null;this.selectMultiple=null;this.verticalPosition=null;this.horizontalPosition=null;this.verticalOffset=null;this.horizontalOffset=null;this.button=null;this.renderCallback=[];this.selectedDates={};this.inline=null;this.lvlId=null;this.context="#dp-popup"}D.extend(A.prototype,{init:function(E){this.setStartDate(E.startDate);this.setEndDate(E.endDate);this.setDisplayedMonth(Number(E.month),Number(E.year));this.setRenderCallback(E.renderCallback);this.showYearNavigation=E.showYearNavigation;this.closeOnSelect=E.closeOnSelect;this.displayClose=E.displayClose;this.selectMultiple=E.selectMultiple;this.lvlId=E.lvlId;this.verticalPosition=E.verticalPosition;this.horizontalPosition=E.horizontalPosition;this.hoverClass=E.hoverClass;this.setOffset(E.verticalOffset,E.horizontalOffset);this.inline=E.inline;if(this.inline){this.context=this.ele;this.display()}},setStartDate:function(E){if(E){this.startDate=Date.fromString(E)}if(!this.startDate){this.startDate=(new Date()).zeroTime()}this.setDisplayedMonth(this.displayedMonth,this.displayedYear)},setEndDate:function(E){if(E){this.endDate=Date.fromString(E)}if(!this.endDate){this.endDate=(new Date("12/31/2999"))}if(this.endDate.getTime()<this.startDate.getTime()){this.endDate=this.startDate}this.setDisplayedMonth(this.displayedMonth,this.displayedYear)},setPosition:function(E,F){this.verticalPosition=E;this.horizontalPosition=F},setOffset:function(E,F){this.verticalOffset=parseInt(E)||0;this.horizontalOffset=parseInt(F)||0},setDisabled:function(E){$e=D(this.ele);$e[E?"addClass":"removeClass"]("dp-disabled");if(this.button){$but=D(this.button);$but[E?"addClass":"removeClass"]("dp-disabled");$but.attr("title",E?"":D.dpText.TEXT_CHOOSE_DATE)}if($e.is(":text")){$e.attr("disabled",E?"disabled":"")}},setDisplayedMonth:function(E,I){if(this.startDate==undefined||this.endDate==undefined){return }var G=new Date(this.startDate.getTime());G.setDate(1);var H=new Date(this.endDate.getTime());H.setDate(1);var F;if((!E&&!I)||(isNaN(E)&&isNaN(I))){F=new Date().zeroTime();F.setDate(1)}else{if(isNaN(E)){F=new Date(I,this.displayedMonth,1)}else{if(isNaN(I)){F=new Date(this.displayedYear,E,1)}else{F=new Date(I,E,1)}}}if(F.getTime()<G.getTime()){F=G}else{if(F.getTime()>H.getTime()){F=H}}this.displayedMonth=F.getMonth();this.displayedYear=F.getFullYear()},setSelected:function(G,E,F){if(this.selectMultiple==false){this.selectedDates={};D("td.selected",this.context).removeClass("selected")}if(F){this.setDisplayedMonth(G.getMonth(),G.getFullYear())}this.selectedDates[G.toString()]=E},isSelected:function(E){return this.selectedDates[E.toString()]},getSelected:function(){var E=[];for(s in this.selectedDates){if(this.selectedDates[s]==true){E.push(Date.parse(s))}}return E},display:function(E){if(D(this.ele).is(".dp-disabled")){return }E=E||this.ele;var L=this;var H=D(E);var K=H.offset();var M;var N;var G;var I;if(L.inline){M=D(this.ele);N={id:"calendar-"+this.ele._dpId,className:"dp-popup dp-popup-inline"};I={}}else{M=D("body");N={id:"dp-popup",className:"dp-popup"};I={top:K.top+L.verticalOffset+10,left:K.left+L.horizontalOffset-80};var J=function(Q){var O=Q.target;var P=D("#dp-popup")[0];while(true){if(O==P){return true}else{if(O==document){L._closeCalendar();return false}else{O=D(O).parent()[0]}}}};this._checkMouse=J;this._closeCalendar(true)}M.append(D("<div></div>").attr(N).css(I).append(D('<div class="dp-nav-prev"></div>').append(D('<a class="dp-nav-prev-10years" href="#" title="'+D.dpText.TEXT_PREV_10YEARS+'">&lt;&lt;&nbsp;</a>').bind("click",function(){return L._displayNewMonth.call(L,this,0,-10)}),D('<a class="dp-nav-prev-year" href="#" title="'+D.dpText.TEXT_PREV_YEAR+'">&lt;</a>').bind("click",function(){return L._displayNewMonth.call(L,this,0,-1)}),D('<a style="display:block; margin-top:2px;" class="dp-nav-prev-month" href="#" title="'+D.dpText.TEXT_PREV_MONTH+'">&lt;</a>').bind("click",function(){return L._displayNewMonth.call(L,this,-1,0)})),D('<div style="float:left; margin-bottom:3px; margin-top:3px;"><div class="dp-year"></div><div class="dp-month"></div></div>'),D('<div class="dp-nav-next"></div>').append(D('<a class="dp-nav-next-year" href="#" title="'+D.dpText.TEXT_NEXT_YEAR+'">&gt;&nbsp;</a>').bind("click",function(){return L._displayNewMonth.call(L,this,0,1)}),D('<a class="dp-nav-next-10years" href="#" title="'+D.dpText.TEXT_NEXT_10YEARS+'">&gt;&gt;</a>').bind("click",function(){return L._displayNewMonth.call(L,this,0,10)}),D('<a style="display:block; margin-top:2px;" class="dp-nav-next-month" href="#" title="'+D.dpText.TEXT_NEXT_MONTH+'">&gt;</a>').bind("click",function(){return L._displayNewMonth.call(L,this,1,0)})),D("<div></div>").attr("className","dp-calendar")).bgIframe());var F=this.inline?D(".dp-popup",this.context):D("#dp-popup");if(this.showYearNavigation==false){D(".dp-nav-prev-year, .dp-nav-next-year",L.context).css("display","none")}if(this.displayClose){F.append(D('<a href="#" id="dp-close">'+D.dpText.TEXT_CLOSE+"</a>").bind("click",function(){L._closeCalendar();return false}))}L._renderCalendar();D(this.ele).trigger("dpDisplayed",F);if(!L.inline){if(this.verticalPosition==D.dpConst.POS_BOTTOM){F.css("top",K.top+H.height()-F.height()+L.verticalOffset)}if(this.horizontalPosition==D.dpConst.POS_RIGHT){F.css("left",K.left+H.width()-F.width()+L.horizontalOffset)}D(document).bind("mousedown",this._checkMouse)}},setRenderCallback:function(E){if(E&&typeof (E)=="function"){E=[E]}this.renderCallback=this.renderCallback.concat(E)},cellRender:function(J,E,H,G){var K=this.dpController;var I=new Date(E.getTime());J.bind("click",function(){var M=D(this);if(!M.is(".disabled")){K.setSelected(I,!M.is(".selected")||!K.selectMultiple);var L=K.isSelected(I);D(K.ele).trigger("dateSelected",[I,J,L]);D(K.ele).trigger("change");if(K.closeOnSelect){K._closeCalendar()}else{M[L?"addClass":"removeClass"]("selected")}}});if(K.isSelected(I)){J.addClass("selected")}for(var F=0;F<K.renderCallback.length;F++){K.renderCallback[F].apply(this,arguments)}},_displayNewMonth:function(F,E,G){if(!D(F).is(".disabled")){this.setDisplayedMonth(this.displayedMonth+E,this.displayedYear+G);this._clearCalendar();this._renderCalendar();D(this.ele).trigger("dpMonthChanged",[this.displayedMonth,this.displayedYear])}F.blur();return false},_renderCalendar:function(){D(".dp-year",this.context).html(this.displayedYear);D(".dp-month",this.context).html(Date.monthNames[this.displayedMonth]);D(".dp-calendar",this.context).renderCalendar({month:this.displayedMonth,year:this.displayedYear,renderCallback:this.cellRender,dpController:this,hoverClass:this.hoverClass});if(this.displayedYear==this.startDate.getFullYear()&&this.displayedMonth==this.startDate.getMonth()){D(".dp-nav-prev-year",this.context).addClass("disabled");D(".dp-nav-prev-month",this.context).addClass("disabled");D(".dp-calendar td.other-month",this.context).each(function(){var H=D(this);if(Number(H.text())>20){H.addClass("disabled")}});var G=this.startDate.getDate();D(".dp-calendar td.current-month",this.context).each(function(){var H=D(this);if(Number(H.text())<G){H.addClass("disabled")}})}else{D(".dp-nav-prev-year",this.context).removeClass("disabled");D(".dp-nav-prev-month",this.context).removeClass("disabled");var G=this.startDate.getDate();if(G>20){var F=new Date(this.startDate.getTime());F.addMonths(1);if(this.displayedYear==F.getFullYear()&&this.displayedMonth==F.getMonth()){D("dp-calendar td.other-month",this.context).each(function(){var H=D(this);if(Number(H.text())<G){H.addClass("disabled")}})}}}if(this.displayedYear==this.endDate.getFullYear()&&this.displayedMonth==this.endDate.getMonth()){D(".dp-nav-next-year",this.context).addClass("disabled");D(".dp-nav-next-month",this.context).addClass("disabled");D(".dp-calendar td.other-month",this.context).each(function(){var H=D(this);if(Number(H.text())<14){H.addClass("disabled")}});var G=this.endDate.getDate();D(".dp-calendar td.current-month",this.context).each(function(){var H=D(this);if(Number(H.text())>G){H.addClass("disabled")}})}else{D(".dp-nav-next-year",this.context).removeClass("disabled");D(".dp-nav-next-month",this.context).removeClass("disabled");var G=this.endDate.getDate();if(G<13){var E=new Date(this.endDate.getTime());E.addMonths(-1);if(this.displayedYear==E.getFullYear()&&this.displayedMonth==E.getMonth()){D(".dp-calendar td.other-month",this.context).each(function(){var H=D(this);if(Number(H.text())>G){H.addClass("disabled")}})}}}},_closeCalendar:function(E,F){if(!F||F==this.ele){D(document).unbind("mousedown",this._checkMouse);this._clearCalendar();D("#dp-popup a").unbind();D("#dp-popup").empty().remove();if(!E){D(this.ele).trigger("dpClosed",[this.getSelected()])}}},_clearCalendar:function(){D(".dp-calendar td",this.context).unbind();D(".dp-calendar",this.context).empty()}});D.dpConst={SHOW_HEADER_NONE:0,SHOW_HEADER_SHORT:1,SHOW_HEADER_LONG:2,POS_TOP:0,POS_BOTTOM:1,POS_LEFT:0,POS_RIGHT:1};D.dpText={TEXT_PREV_YEAR:"Previous year",TEXT_PREV_10YEARS:"10 years back",TEXT_PREV_MONTH:"Previous month",TEXT_NEXT_YEAR:"Next year",TEXT_NEXT_10YEARS:"10 years forward",TEXT_NEXT_MONTH:"Next month",TEXT_CLOSE:"Close",TEXT_CHOOSE_DATE:"Choose date"};D.dpVersion="$Id: jquery.datePicker.js 3739 2007-10-25 13:55:30Z kelvin.luck $";function C(E){if(E._dpId){return D.event._dpCache[E._dpId]}return false}if(D.fn.bgIframe==undefined){D.fn.bgIframe=function(){return this}}D(window).bind("unload",function(){var F=D.event._dpCache||[];for(var E in F){D(F[E].ele)._dpDestroy()}})})(jQuery);$(function(){$(".date-pick").datePicker({createButton:false,renderCallback:function(D,A,C,B){if(A.isWeekend()){D.addClass("weekend");D.addClass("disabled")}}}).bind("click",function(){$(this).dpDisplay();this.blur();return false}).bind("dateSelected",function(B,A,C){console.log("You selected "+A)})});var tb_pathToImage=DIR_PROJECT_ROOT_WEB+"modules/sys/img/loadingAnimation.gif";var original_tb_width=parseInt(0);
/*!!!!!!!!!!!!!!!! edit below this line at your own risk !!!!!!!!!!!!!!!!!!!!!!!*/
$(document).ready(function(){tb_init("a.thickbox, area.thickbox, input.thickbox");imgLoader=new Image();imgLoader.src=tb_pathToImage});function tb_init(A){$(A).click(function(){var C=this.title||this.name||null;var B=this.href||this.alt;var D=this.rel||false;tb_show(C,B,D);this.blur();return false})}function tb_show(I,B,G){try{if(typeof document.body.style.maxHeight==="undefined"){$("body","html").css({height:"100%",width:"100%"});$("html").css("overflow","hidden");if(document.getElementById("TB_HideSelect")===null){$("body").append("<iframe id='TB_HideSelect'>lalalala</iframe><div id='TB_overlay'></div><div id='TB_window'></div>");$("#TB_overlay").click(tb_remove)}}else{if(document.getElementById("TB_overlay")===null){$("body").append("<div id='TB_overlay'></div><div id='TB_window'></div>");$("#TB_overlay").click(tb_remove)}}if(tb_detectMacXFF()){$("#TB_overlay").addClass("TB_overlayMacFFBGHack")}else{$("#TB_overlay").addClass("TB_overlayBG")}if(I===null){I=""}$("body").append("<div id='TB_load'><img src='"+imgLoader.src+"' /></div>");$("#TB_load").show();var C;if(B.indexOf("?")!==-1){C=B.substr(0,B.indexOf("?"))}else{C=B}var E=/\.jpg$|\.jpeg$|\.png$|\.gif$|\.bmp$/;var J=C.toLowerCase().match(E);if(J==".jpg"||J==".jpeg"||J==".png"||J==".gif"||J==".bmp"){TB_PrevCaption="";TB_PrevURL="";TB_PrevHTML="";TB_NextCaption="";TB_NextURL="";TB_NextHTML="";TB_imageCount="";TB_FoundURL=false;if(G){TB_TempArray=$("a[@rel="+G+"]").get();for(TB_Counter=0;((TB_Counter<TB_TempArray.length)&&(TB_NextHTML===""));TB_Counter++){var F=TB_TempArray[TB_Counter].href.toLowerCase().match(E);if(!(TB_TempArray[TB_Counter].href==B)){if(TB_FoundURL){TB_NextCaption=TB_TempArray[TB_Counter].title;TB_NextURL=TB_TempArray[TB_Counter].href;TB_NextHTML="<span id='TB_next'>&nbsp;&nbsp;<a href='#'>"+loggel_lang_next+" &gt;</a></span>"}else{TB_PrevCaption=TB_TempArray[TB_Counter].title;TB_PrevURL=TB_TempArray[TB_Counter].href;TB_PrevHTML="<span id='TB_prev'>&nbsp;&nbsp;<a href='#'>&lt; "+loggel_lang_preview+"</a></span>"}}else{TB_FoundURL=true;TB_imageCount=loggel_lang_image+" "+(TB_Counter+1)+" "+loggel_lang_of+" "+(TB_TempArray.length)}}}imgPreloader=new Image();imgPreloader.onload=function(){imgPreloader.onload=null;var N=tb_getPageSize();var L=N[0]-150;var Q=N[1]-150;var M=imgPreloader.width;var K=imgPreloader.height;if(M>L){K=K*(L/M);M=L;if(K>Q){M=M*(Q/K);K=Q}}else{if(K>Q){M=M*(Q/K);K=Q;if(M>L){K=K*(L/M);M=L}}}TB_WIDTH=M+30;TB_HEIGHT=K+60;$("#TB_window").append("<a href='' id='TB_ImageOff' title='Close'><img id='TB_Image' src='"+B+"' width='"+M+"' height='"+K+"' alt='"+I+"'/></a><div id='TB_caption'>"+I+"<div id='TB_secondLine'>"+TB_imageCount+TB_PrevHTML+TB_NextHTML+"</div></div><div id='TB_closeWindow'><a href='#' id='TB_closeWindowButton' title='Close'>"+loggel_lang_close+"</a> "+loggel_lang_esckey+"</div>");$("#TB_closeWindowButton").click(tb_remove);if(!(TB_PrevHTML==="")){function P(){if($(document).unbind("click",P)){$(document).unbind("click",P)}$("#TB_window").remove();$("body").append("<div id='TB_window'></div>");tb_show(TB_PrevCaption,TB_PrevURL,G);return false}$("#TB_prev").click(P)}if(!(TB_NextHTML==="")){function O(){$("#TB_window").remove();$("body").append("<div id='TB_window'></div>");tb_show(TB_NextCaption,TB_NextURL,G);return false}$("#TB_next").click(O)}document.onkeydown=function(R){if(R==null){keycode=event.keyCode}else{keycode=R.which}if(keycode==27){tb_remove()}else{if(keycode==190){if(!(TB_NextHTML=="")){document.onkeydown="";O()}}else{if(keycode==188){if(!(TB_PrevHTML=="")){document.onkeydown="";P()}}}}};tb_position();$("#TB_load").remove();$("#TB_ImageOff").click(tb_remove);$("#TB_window").css({display:"block"})};imgPreloader.src=B}else{var A=B.replace(/^[^\?]+\??/,"");var D=tb_parseQuery(A);TB_WIDTH=(D.width*1)+30||630;TB_HEIGHT=(D.height*1)+40||440;try{if(fullentry_active==true){if(!fullentry_description==true){TB_WIDTH=955;TB_HEIGHT=570}else{TB_WIDTH=809;TB_HEIGHT=435}D.modal=true;ajaxContentW=TB_WIDTH;ajaxContentH=TB_HEIGHT;if($("#TB_window.TB_fullentry_window").css("display")!="block"){$("#TB_overlay").click(tb_remove);$("#TB_window").addClass("TB_fullentry_window");$("#TB_window").append("<div id='TB_ajaxContent' class='TB_modal TB_fullentry_ajaxcontent' style='width:"+ajaxContentW+"px;height:"+ajaxContentH+"px;'></div>")}else{$("#TB_ajaxContent")[0].style.width=ajaxContentW+"px";$("#TB_ajaxContent")[0].style.height=ajaxContentH+"px";$("#TB_ajaxContent")[0].scrollTop=0;$("#TB_ajaxWindowTitle").html(I)}}else{throw"Error"}}catch(H){ajaxContentW=TB_WIDTH-30;ajaxContentH=TB_HEIGHT-45;if(B.indexOf("TB_iframe")!=-1){urlNoQuery=B.split("TB_");$("#TB_iframeContent").remove();if(D.modal!="true"){$("#TB_window").append("<div id='TB_title'><div id='TB_ajaxWindowTitle'>"+I+"</div><div id='TB_closeAjaxWindow'><a href='#' id='TB_closeWindowButton' title='Close'>close</a> or Esc Key</div></div><iframe frameborder='0' hspace='0' src='"+urlNoQuery[0]+"' id='TB_iframeContent' name='TB_iframeContent"+Math.round(Math.random()*1000)+"' onload='tb_showIframe()' style='width:"+(ajaxContentW+29)+"px;height:"+(ajaxContentH+17)+"px;' > </iframe>")}else{$("#TB_overlay").unbind();$("#TB_window").append("<iframe frameborder='0' hspace='0' src='"+urlNoQuery[0]+"' id='TB_iframeContent' name='TB_iframeContent"+Math.round(Math.random()*1000)+"' onload='tb_showIframe()' style='width:"+(ajaxContentW+29)+"px;height:"+(ajaxContentH+17)+"px;'> </iframe>")}}else{if($("#TB_window").css("display")!="block"){if(D.modal!="true"){$("#TB_window").append("<div id='TB_title'><div id='TB_ajaxWindowTitle'>"+I+"</div><div id='TB_closeAjaxWindow'><a href='#' id='TB_closeWindowButton'>"+loggel_lang_close+"</a> "+loggel_lang_esckey+"</div></div><div id='TB_ajaxContent' style='width:"+ajaxContentW+"px;height:"+ajaxContentH+"px'></div>")}else{$("#TB_overlay").click(tb_remove);$("#TB_window").append("<div id='TB_ajaxContent' class='TB_modal' style='width:"+ajaxContentW+"px;height:"+ajaxContentH+"px;'></div>")}}else{$("#TB_ajaxContent")[0].style.width=ajaxContentW+"px";$("#TB_ajaxContent")[0].style.height=ajaxContentH+"px";$("#TB_ajaxContent")[0].scrollTop=0;$("#TB_ajaxWindowTitle").html(I)}}}$("#TB_closeWindowButton").click(tb_remove);if(B.indexOf("TB_inline")!=-1){$("#TB_ajaxContent").append($("#"+D.inlineId).children());$("#TB_window").unload(function(){$("#"+D.inlineId).append($("#TB_ajaxContent").children())});tb_position();$("#TB_load").remove();$("#TB_window").css({display:"block"})}else{if(B.indexOf("TB_iframe")!=-1){tb_position();if($.browser.safari){$("#TB_load").remove();$("#TB_window").css({display:"block"})}}else{$("#TB_ajaxContent").load(B+="&random="+(new Date().getTime()),function(){tb_position();$("#TB_load").remove();tb_init("#TB_ajaxContent a.thickbox");$("#TB_window").css({display:"block"});try{if(fullentry_active==true){if(fullentry_description==true){description_init()}else{fullentry_init()}}}catch(K){}})}}}if(!D.modal){document.onkeyup=function(K){if(K==null){keycode=event.keyCode}else{keycode=K.which}if(keycode==27){tb_remove()}}}}catch(H){}}function tb_showIframe(){$("#TB_load").remove();$("#TB_window").css({display:"block"})}function tb_remove(){$("#TB_imageOff").unbind("click");$("#TB_closeWindowButton").unbind("click");$("#TB_window").fadeOut("fast",function(){$("#TB_window,#TB_overlay,#TB_HideSelect").trigger("unload").unbind().remove()});$("#TB_load").remove();if(typeof document.body.style.maxHeight=="undefined"){$("body","html").css({height:"auto",width:"auto"});$("html").css("overflow","")}try{fullentry_active=false;fullentry_description=false}catch(A){}document.onkeydown="";document.onkeyup="";return false}function my_tb_remove(){$("#TB_imageOff").unbind("click");$("#TB_closeWindowButton").unbind("click");$("#TB_window,#TB_overlay,#TB_HideSelect").remove();$("#TB_window").remove();$("#TB_load").remove();if(typeof document.body.style.maxHeight=="undefined"){$("body","html").css({height:"auto",width:"auto"});$("html").css("overflow","")}document.onkeydown="";document.onkeyup="";return false}function tb_position(){$("#TB_window").css({marginLeft:"-"+parseInt((TB_WIDTH/2),10)+"px",width:TB_WIDTH+"px"});if(!(jQuery.browser.msie&&jQuery.browser.version<7)){$("#TB_window").css({marginTop:"-"+parseInt((TB_HEIGHT/2),10)+"px"})}}function tb_parseQuery(D){var E={};if(!D){return E}var A=D.split(/[;&]/);for(var C=0;C<A.length;C++){var G=A[C].split("=");if(!G||G.length!=2){continue}var B=unescape(G[0]);var F=unescape(G[1]);F=F.replace(/\+/g," ");E[B]=F}return E}function tb_getPageSize(){var C=document.documentElement;var A=window.innerWidth||self.innerWidth||(C&&C.clientWidth)||document.body.clientWidth;var B=window.innerHeight||self.innerHeight||(C&&C.clientHeight)||document.body.clientHeight;arrayPageSize=[A,B];return arrayPageSize}function tb_detectMacXFF(){var A=navigator.userAgent.toLowerCase();if(A.indexOf("mac")!=-1&&A.indexOf("firefox")!=-1){return true}}function ajax_sys_openidswitch(){var A='{"module"		                :	"sys","file"			                :	"ajax_sys_action_start_default.php","value"		                :	 {"action"	                :  	"openid_switch"}}';$.post(DIR_PROJECT_ROOT_WEB+"ajax.php",{param:A},function(B){$("* > #JS_sys_loginbox")[0].innerHTML=B})}function ajax_sys_convenswitch(){var A='{"module"		                :	"sys","file"			                :	"ajax_sys_action_start_default.php","value"		                :	 {"action"	                :  	"conven_switch"}}';$.post(DIR_PROJECT_ROOT_WEB+"ajax.php",{param:A},function(B){$("* > #JS_sys_loginbox")[0].innerHTML=B})}function ajax_sys_action_default_getRandomContent(B,C){if(C==undefined){var C=0}else{var C=C}$("#sys_start_randombox > .sys_start_box_right > .pic > a > img")[0].src=DIR_PROJECT_ROOT_WEB+"modules/lvl/img/loading-animation5.gif";$("#sys_start_randombox > .sys_start_box_right > .pic > a > img")[0].width="62";$("#sys_start_randombox > .sys_start_box_right > .pic > a > img")[0].height="55";$("#sys_start_randombox > .sys_start_box_right > .pic > a > img").css("margin-left","50px");$("#sys_start_randombox > .sys_start_box_right > .pic > a > img").css("margin-top","20px");$("#sys_start_randombox > .sys_start_box_right > .content").remove();var A='{"module"				:	"sys","file"					:	"ajax_sys_action_start_default.php","debug"				:	"false","value"				:	{"action"			:	"'+B+'","first"			:	"'+C+'"}}';$.post(DIR_PROJECT_ROOT_WEB+"ajax.php",{param:A},function(D){if(D.length==0){return false}$("#sys_start_randombox > .sys_start_box_right > .content").remove();$("#sys_start_randombox > .sys_start_box_right > .links").remove();$("#sys_start_randombox")[0].innerHTML=D;$("#lifelog").attr("class","sys_start_com_insight_tabs_off");$("#entry").attr("class","sys_start_com_insight_tabs_off");$("#user").attr("class","sys_start_com_insight_tabs_off");$("#"+B).attr("class","sys_start_com_insight_tabs_on")})}function ajax_sys_default_rec(){var C=$("#sys_rec_email")[0].value;var B=$("#sys_rec_from")[0].value;if(C.length==0||C=="E-Mail Adresse"&&B.length==0||B=="Absender"){create_warning("warning","warn_recommend_no_email_no_from",200,60)}else{if(C.length==0||C=="E-Mail Adresse"){create_warning("warning","warn_recommend_no_email",200,60)}else{if(B.length==0||B=="Absender"){create_warning("warning","warn_recommend_no_from",200,60)}else{var A='{"module"				:	"sys","file"					:	"ajax_sys_widget_rec.php","debug"				:	"false","value"		                :	 {"action"	                :  	"rec","main"	                    :  	"none","sys_w_rec_email"			:  	"'+$("#sys_rec_email")[0].value+'","sys_w_rec_message"		:  	"","sys_w_rec_user"			:  	"undefined","sys_w_rec_valide_email"	:  	"'+$("#sys_rec_email_validate")[0].value+'","sys_w_rec_user_external"  :  	"'+$("#sys_rec_from")[0].value+'"}}';$.post(DIR_PROJECT_ROOT_WEB+"ajax.php",{param:A},function(D){if(D=="1"){create_warning("correct","warn_recommend_input_correct",200,60);$("#sys_rec_email")[0].value="E-Mail Adresse";$("#sys_rec_from")[0].value="Absender"}else{if(D=="20"){create_warning("warning","warn_recommend_wrong_email",200,60)}else{create_warning("error","warn_no_smtp_connection",200,60)}}})}}}}function create_warning(C,E,B,A,D){if(D==null){D=false}if(B==null){B=200}if(A==null){A=60}tb_show("",DIR_PROJECT_ROOT_WEB+"home/warning&action="+E+"&typ="+C+"&function_name="+D+"?height="+A+"&width="+B+"&modal=true",false);switch(C){case"warning":$("#TB_window").css("border","6px solid #E8D74B");$("#TB_ajaxContent").css("background","url("+DIR_PROJECT_ROOT_WEB+"modules/sys/img/warn-icon2.gif) no-repeat 95% 10px");break;case"error":$("#TB_window").css("border","6px solid #E83536");$("#TB_ajaxContent").css("background","url("+DIR_PROJECT_ROOT_WEB+"modules/sys/img/error-icon.gif) no-repeat 95% 10px");break;case"correct":$("#TB_window").css("border","6px solid #A2C328");$("#TB_ajaxContent").css("background","url("+DIR_PROJECT_ROOT_WEB+"modules/sys/img/ok-icon.gif) no-repeat 95% 10px");break;default:}}function checkStandardValue(B,A,C){if(C=="focus"){if($(B)[0].value==A){$(B)[0].value=""}}else{if(C=="blur"){if($(B)[0].value==""){$(B)[0].value=A}}}}function ajax_sys_action_lonely_info(B){var A='{"module"               :   "sys","file"                 :   "ajax_sys_update_lonely_info.php","debug"                :   "false","value"                :   {"action"       :       "'+B+'"}}';$.post(DIR_PROJECT_ROOT_WEB+"ajax.php",{param:A},function(C){if(B=="hide"){$("#JS_lonely_tool").css("display","none");$("#JS_lonely_enable").css("display","block")}if(B=="show"){$("#JS_lonely_tool")[0].innerHTML=C;$("#JS_lonely_tool").css("display","block");$("#JS_lonely_enable").css("display","none");$(".tooltiptarget").not("[tooltipText]").tooltip({track:true,delay:0,showURL:false,opacity:0.85,extraClass:"loggel_tooltip"})}})}$(function(){if($("#sys_start_input_username")[0]!=null){$("#sys_start_input_username").focus()}});(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);(function(D){D.each(["backgroundColor","borderBottomColor","borderLeftColor","borderRightColor","borderTopColor","color","outlineColor"],function(F,E){D.fx.step[E]=function(G){if(G.state==0){G.start=C(G.elem,E);G.end=B(G.end)}if(G.start!=undefined){G.elem.style[E]="rgb("+[Math.max(Math.min(parseInt((G.pos*(G.end[0]-G.start[0]))+G.start[0]),255),0),Math.max(Math.min(parseInt((G.pos*(G.end[1]-G.start[1]))+G.start[1]),255),0),Math.max(Math.min(parseInt((G.pos*(G.end[2]-G.start[2]))+G.start[2]),255),0)].join(",")+")"}}});function B(F){var E;if(F&&F.constructor==Array&&F.length==3){return F}if(E=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(F)){return[parseInt(E[1]),parseInt(E[2]),parseInt(E[3])]}if(E=/rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(F)){return[parseFloat(E[1])*2.55,parseFloat(E[2])*2.55,parseFloat(E[3])*2.55]}if(E=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(F)){return[parseInt(E[1],16),parseInt(E[2],16),parseInt(E[3],16)]}if(E=/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(F)){return[parseInt(E[1]+E[1],16),parseInt(E[2]+E[2],16),parseInt(E[3]+E[3],16)]}return A[D.trim(F).toLowerCase()]}function C(G,E){var F;do{F=D.curCSS(G,E);if(F!=""&&F!="transparent"||D.nodeName(G,"body")){break}E="backgroundColor"}while(G=G.parentNode);return B(F)}var A={aqua:[0,255,255],azure:[240,255,255],beige:[245,245,220],black:[0,0,0],blue:[0,0,255],brown:[165,42,42],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgrey:[169,169,169],darkgreen:[0,100,0],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkviolet:[148,0,211],fuchsia:[255,0,255],gold:[255,215,0],green:[0,128,0],indigo:[75,0,130],khaki:[240,230,140],lightblue:[173,216,230],lightcyan:[224,255,255],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightyellow:[255,255,224],lime:[0,255,0],magenta:[255,0,255],maroon:[128,0,0],navy:[0,0,128],olive:[128,128,0],orange:[255,165,0],pink:[255,192,203],purple:[128,0,128],violet:[128,0,128],red:[255,0,0],silver:[192,192,192],white:[255,255,255],yellow:[255,255,0]}})(jQuery);Date.dayNames=[loggel_sun,loggel_mon,loggel_tue,loggel_wed,loggel_thu,loggel_fri,loggel_sat];Date.abbrDayNames=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"];Date.monthNames=[loggel_jan,loggel_feb,loggel_mar,loggel_apr,loggel_may,loggel_jun,loggel_jul,loggel_aug,loggel_sep,loggel_oct,loggel_nov,loggel_dec];Date.abbrMonthNames=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];Date.firstDayOfWeek=1;Date.format="dd/mm/yyyy";Date.format="dd.mm.yyyy";Date.fullYearStart="20";(function(){function B(C,D){if(!Date.prototype[C]){Date.prototype[C]=D}}B("isLeapYear",function(){var C=this.getFullYear();return(C%4==0&&C%100!=0)||C%400==0});B("isWeekend",function(){return this.getDay()==0||this.getDay()==6});B("isWeekDay",function(){return !this.isWeekend()});B("getDaysInMonth",function(){return[31,(this.isLeapYear()?29:28),31,30,31,30,31,31,30,31,30,31][this.getMonth()]});B("getDayName",function(C){return C?Date.abbrDayNames[this.getDay()]:Date.dayNames[this.getDay()]});B("getMonthName",function(C){return C?Date.abbrMonthNames[this.getMonth()]:Date.monthNames[this.getMonth()]});B("getDayOfYear",function(){var C=new Date("1/1/"+this.getFullYear());return Math.floor((this.getTime()-C.getTime())/86400000)});B("getWeekOfYear",function(){return Math.ceil(this.getDayOfYear()/7)});B("setDayOfYear",function(C){this.setMonth(0);this.setDate(C);return this});B("addYears",function(C){this.setFullYear(this.getFullYear()+C);return this});B("addMonths",function(D){var C=this.getDate();this.setMonth(this.getMonth()+D);if(C>this.getDate()){this.addDays(-this.getDate())}return this});B("addDays",function(C){this.setDate(this.getDate()+C);return this});B("addHours",function(C){this.setHours(this.getHours()+C);return this});B("addMinutes",function(C){this.setMinutes(this.getMinutes()+C);return this});B("addSeconds",function(C){this.setSeconds(this.getSeconds()+C);return this});B("zeroTime",function(){this.setMilliseconds(0);this.setSeconds(0);this.setMinutes(0);this.setHours(0);return this});B("asString",function(){var C=Date.format;return C.split("yyyy").join(this.getFullYear()).split("yy").join((this.getFullYear()+"").substring(2)).split("mmm").join(this.getMonthName(true)).split("mm").join(A(this.getMonth()+1)).split("dd").join(A(this.getDate()))});Date.fromString=function(E){var F=Date.format;var H=new Date("01/01/1977");var I=F.indexOf("yyyy");if(I>-1){H.setFullYear(Number(E.substr(I,4)))}else{H.setFullYear(Number(Date.fullYearStart+E.substr(F.indexOf("yy"),2)))}var C=F.indexOf("mmm");if(C>-1){var G=E.substr(C,3);for(var D=0;D<Date.abbrMonthNames.length;D++){if(Date.abbrMonthNames[D]==G){break}}H.setMonth(D)}else{H.setMonth(Number(E.substr(F.indexOf("mm"),2))-1)}H.setDate(Number(E.substr(F.indexOf("dd"),2)));if(isNaN(H.getTime())){return false}return H};var A=function(C){var D="0"+C;return D.substring(D.length-2)}})();function ajax_sys_widget_rec(C,A){if(C=="#sys_w_frame"){var B='{"module"		                :	"sys","file"			                :	"ajax_sys_widget_rec.php","value"		                :	 {"action"	                :  	"rec","main"	                    :  	"'+A+'","sys_w_rec_email"			:  	"'+checkInput("sys_w_rec_email")+'","sys_w_rec_message"		:  	"'+json_escape($("#sys_w_rec_message")[0].value)+'","sys_w_rec_user"			:  	"'+checkInput("sys_w_rec_user")+'","sys_w_rec_user_external"  :  	"'+checkInput("sys_w_rec_user_external")+'" }}'}else{var B='{"module"		                :	"sys","file"			                :	"ajax_sys_widget_rec.php","value"		                :	 {"action"	                :  	"rec","main"	                    :  	"'+A+'","sys_w_rec_email"			:  	"'+checkInput("sys_rec_email")+'","sys_w_rec_message"		:  	"'+json_escape($("#sys_rec_message")[0].value)+'","sys_w_rec_user"			:  	"'+checkInput("sys_rec_user")+'","sys_w_rec_user_external"  :  	"'+checkInput("sys_rec_user_external")+'" }}'}$.post(DIR_PROJECT_ROOT_WEB+"ajax.php",{param:B},function(D){$("* > "+C)[0].innerHTML=D;$("#sys_w_errors").css("display","none");$("#sys_w_errors").slideDown("fast")})}function ajax_sys_widget_rec_new(C,A){var B='{"module"		:	"sys","file"			:	"ajax_sys_widget_rec.php","value"		:	{"action"	:  	"new","main"	    :  	"'+A+'" }}';$.post(DIR_PROJECT_ROOT_WEB+"ajax.php",{param:B},function(D){$("* > "+C)[0].innerHTML=D})}function check_radio(B){A="";if($("."+B+":checked")[0]!=undefined){var A=$("."+B+":checked")[0].value}return A}function check_radio_dom(B){A="";if($(B+":checked")[0]!=undefined){var A=$(B+":checked")[0].value}return A}function checkInput(A){output=$("#"+A)[0];if(output==undefined){return"undefined"}else{return output.value}}jQuery.extend({createUploadIframe:function(D,B){var A="jUploadFrame"+D;if(window.ActiveXObject){var C=document.createElement('<iframe id="'+A+'" name="'+A+'" />');if(typeof B=="boolean"){C.src="javascript:false"}else{if(typeof B=="string"){C.src=B}}}else{var C=document.createElement("iframe");C.id=A;C.name=A}C.style.position="absolute";C.style.top="-1000px";C.style.left="-1000px";document.body.appendChild(C);return C},createUploadForm:function(G,B){var E="jUploadForm"+G;var A="jUploadFile"+G;var D=jQuery('<form  action="" method="POST" name="'+E+'" id="'+E+'" enctype="multipart/form-data"></form>');var C=jQuery("#"+B);var F=jQuery(C).clone();jQuery(C).attr("id",A);jQuery(C).before(F);jQuery(C).appendTo(D);jQuery(D).css("position","absolute");jQuery(D).css("top","-1200px");jQuery(D).css("left","-1200px");jQuery(D).appendTo("body");return D},ajaxFileUpload:function(J){J=jQuery.extend({},jQuery.ajaxSettings,J);var A=new Date().getTime();var B=jQuery.createUploadForm(A,J.fileElementId);var H=jQuery.createUploadIframe(A,J.secureuri);var G="jUploadFrame"+A;var I="jUploadForm"+A;if(J.global&&!jQuery.active++){jQuery.event.trigger("ajaxStart")}var C=false;var E={};if(J.global){jQuery.event.trigger("ajaxSend",[E,J])}var D=function(K){var O=document.getElementById(G);try{if(O.contentWindow){E.responseText=O.contentWindow.document.body?O.contentWindow.document.body.innerHTML:null;E.responseXML=O.contentWindow.document.XMLDocument?O.contentWindow.document.XMLDocument:O.contentWindow.document}else{if(O.contentDocument){E.responseText=O.contentDocument.document.body?O.contentDocument.document.body.innerHTML:null;E.responseXML=O.contentDocument.document.XMLDocument?O.contentDocument.document.XMLDocument:O.contentDocument.document}}}catch(N){jQuery.handleError(J,E,null,N)}if(E||K=="timeout"){C=true;var L;try{L=K!="timeout"?"success":"error";if(L!="error"){var M=jQuery.uploadHttpData(E,J.dataType);if(J.success){J.success(M,L)}if(J.global){jQuery.event.trigger("ajaxSuccess",[E,J])}}else{jQuery.handleError(J,E,L)}}catch(N){L="error";jQuery.handleError(J,E,L,N)}if(J.global){jQuery.event.trigger("ajaxComplete",[E,J])}if(J.global&&!--jQuery.active){jQuery.event.trigger("ajaxStop")}if(J.complete){J.complete(E,L)}jQuery(O).unbind();setTimeout(function(){try{jQuery(O).remove();jQuery(B).remove();jQuery("#"+J.fileElementId).val("")}catch(P){jQuery.handleError(J,E,null,P)}},100);E=null}};if(J.timeout>0){setTimeout(function(){if(!C){D("timeout")}},J.timeout)}try{var B=jQuery("#"+I);jQuery(B).attr("action",J.url);jQuery(B).attr("method","POST");jQuery(B).attr("target",G);if(B.encoding){B.encoding="multipart/form-data"}else{B.enctype="multipart/form-data"}jQuery(B).submit()}catch(F){jQuery.handleError(J,E,null,F)}if(window.attachEvent){document.getElementById(G).attachEvent("onload",D)}else{document.getElementById(G).addEventListener("load",D,false)}return{abort:function(){}}},uploadHttpData:function(r,type){var data=!type;data=type=="xml"||data?r.responseXML:r.responseText;if(type=="script"){jQuery.globalEval(data)}if(type=="json"){eval("data = "+data)}if(type=="html"){jQuery("<div>").html(data).evalScripts()}return data}});function deleteNewsfeedInfo(B){var A='{"module"                       :   "sys","file"                         :   "ajax_sys_action_newsfeed.php","value"                        :    {"action"                   :   "delete","newsfeed"                 :   "'+B+'"}}';$.post(DIR_PROJECT_ROOT_WEB+"ajax.php",{param:A},function(E){var D=E;var C=$("#sys_noNewsfeedInfo")[0].innerHTML;if(("div.sys_over_friends")){$("div.sys_over_friends > *").remove();$("div.sys_over_friends")[0].innerHTML=C}if(("#deleteNewsfeedInfo")){$("#deleteNewsfeedInfo").css("display","none");$("#sys_noNewsfeedInfo").css("display","block")}})}$(document).ready(function(){$("#gue_new_entryform").css("display","none")});function toggleNewPostform(){if($("#gue_new_entryform").css("display")=="block"){$("#gue_new_entryform").css("display","none")}else{$("#gue_new_entryform").css("display","block")}$("#gue_new_entryform > fieldset > textarea").focus()}function readmore(A){if($("#readmore_"+A).css("display")=="none"){$("#readmore_"+A).show();$("#teaser_"+A).css("display","none");$("#gue_readmore_link_"+A).css("display","none");$("#gue_readless_link_"+A).css("display","");$("#gue_readless_link_"+A).removeAttr("class")}else{$("#readmore_"+A).hide();$("#teaser_"+A).css("display","");$("#gue_readmore_link_"+A).css("display","");$("#gue_readless_link_"+A).css("display","none")}}var bAddPost=false;function addPost(C,B,D){var A='{"module"			:	"gue","file"				:	"ajax_gue_action_default.php","value"			:	{"text"			:	"'+json_escape(jQuery.trim($("#gue_new_entryform > fieldset > textarea")[0].value))+'","gb"			:	"'+C+'","type"			:	"'+B+'","username"		:	"'+D+'","page"			:	"1","action"		:	"add"}}';if(jQuery.trim($("#gue_new_entryform > fieldset > textarea").val()).length>0){if(bAddPost==false){bAddPost=true;$.post(DIR_PROJECT_ROOT_WEB+"ajax.php",{param:A},function(F){if(B=="default"){$("#sys_content_main")[0].innerHTML=F}else{if(B=="widget"){var E=$(".gue_widget").parent().attr("id");$("#"+E)[0].innerHTML=F}}bAddPost=false})}}else{create_warning("warning","warn_gue_no_text",200,60);bAddPost=false}}function delPost(D,B,C){var A='{"module"			:	"gue","file"				:	"ajax_gue_action_default.php","value"			:	{"gb"			:	"'+D+'","postid"		:	"'+B+'","page"			:	"'+C+'","action"		:	"del"}}';$.post(DIR_PROJECT_ROOT_WEB+"ajax.php",{param:A},function(E){$("#sys_content_main")[0].innerHTML=E})}function delPostWidget(C,B){var A='{"module"			:	"gue","file"				:	"ajax_gue_action_default.php","value"			:	{"type"			:	"widget","gb"			:	"'+C+'","postid"		:	"'+B+'","action"		:	"del"}}';$.post(DIR_PROJECT_ROOT_WEB+"ajax.php",{param:A},function(E){var D=$(".gue_widget").parent().attr("id");$("#"+D)[0].innerHTML=E})};