/*
 * jQuery 1.2.6 - New Wave Javascript
 *
 * Copyright (c) 2008 John Resig (jquery.com)
 * Dual licensed under the MIT (MIT-LICENSE.txt)
 * and GPL (GPL-LICENSE.txt) licenses.
 *
 * $Date: 2008-05-24 14:22:17 -0400 (Sat, 24 May 2008) $
 * $Rev: 5685 $
 */
(function(){var _jQuery=window.jQuery,_$=window.$;var jQuery=window.jQuery=window.$=function(selector,context){return new jQuery.fn.init(selector,context);};var quickExpr=/^[^<]*(<(.|\s)+>)[^>]*$|^#(\w+)$/,isSimple=/^.[^:#\[\.]*$/,undefined;jQuery.fn=jQuery.prototype={init:function(selector,context){selector=selector||document;if(selector.nodeType){this[0]=selector;this.length=1;return this;}if(typeof selector=="string"){var match=quickExpr.exec(selector);if(match&&(match[1]||!context)){if(match[1])selector=jQuery.clean([match[1]],context);else{var elem=document.getElementById(match[3]);if(elem){if(elem.id!=match[3])return jQuery().find(selector);return jQuery(elem);}selector=[];}}else
return jQuery(context).find(selector);}else if(jQuery.isFunction(selector))return jQuery(document)[jQuery.fn.ready?"ready":"load"](selector);return this.setArray(jQuery.makeArray(selector));},jquery:"1.2.6",size:function(){return this.length;},length:0,get:function(num){return num==undefined?jQuery.makeArray(this):this[num];},pushStack:function(elems){var ret=jQuery(elems);ret.prevObject=this;return ret;},setArray:function(elems){this.length=0;Array.prototype.push.apply(this,elems);return this;},each:function(callback,args){return jQuery.each(this,callback,args);},index:function(elem){var ret=-1;return jQuery.inArray(elem&&elem.jquery?elem[0]:elem,this);},attr:function(name,value,type){var options=name;if(name.constructor==String)if(value===undefined)return this[0]&&jQuery[type||"attr"](this[0],name);else{options={};options[name]=value;}return this.each(function(i){for(name in options)jQuery.attr(type?this.style:this,name,jQuery.prop(this,options[name],type,i,name));});},css:function(key,value){if((key=='width'||key=='height')&&parseFloat(value)<0)value=undefined;return this.attr(key,value,"curCSS");},text:function(text){if(typeof text!="object"&&text!=null)return this.empty().append((this[0]&&this[0].ownerDocument||document).createTextNode(text));var ret="";jQuery.each(text||this,function(){jQuery.each(this.childNodes,function(){if(this.nodeType!=8)ret+=this.nodeType!=1?this.nodeValue:jQuery.fn.text([this]);});});return ret;},wrapAll:function(html){if(this[0])jQuery(html,this[0].ownerDocument).clone().insertBefore(this[0]).map(function(){var elem=this;while(elem.firstChild)elem=elem.firstChild;return elem;}).append(this);return this;},wrapInner:function(html){return this.each(function(){jQuery(this).contents().wrapAll(html);});},wrap:function(html){return this.each(function(){jQuery(this).wrapAll(html);});},append:function(){return this.domManip(arguments,true,false,function(elem){if(this.nodeType==1)this.appendChild(elem);});},prepend:function(){return this.domManip(arguments,true,true,function(elem){if(this.nodeType==1)this.insertBefore(elem,this.firstChild);});},before:function(){return this.domManip(arguments,false,false,function(elem){this.parentNode.insertBefore(elem,this);});},after:function(){return this.domManip(arguments,false,true,function(elem){this.parentNode.insertBefore(elem,this.nextSibling);});},end:function(){return this.prevObject||jQuery([]);},find:function(selector){var elems=jQuery.map(this,function(elem){return jQuery.find(selector,elem);});return this.pushStack(/[^+>] [^+>]/.test(selector)||selector.indexOf("..")>-1?jQuery.unique(elems):elems);},clone:function(events){var ret=this.map(function(){if(jQuery.browser.msie&&!jQuery.isXMLDoc(this)){var clone=this.cloneNode(true),container=document.createElement("div");container.appendChild(clone);return jQuery.clean([container.innerHTML])[0];}else
return this.cloneNode(true);});var clone=ret.find("*").andSelf().each(function(){if(this[expando]!=undefined)this[expando]=null;});if(events===true)this.find("*").andSelf().each(function(i){if(this.nodeType==3)return;var events=jQuery.data(this,"events");for(var type in events)for(var handler in events[type])jQuery.event.add(clone[i],type,events[type][handler],events[type][handler].data);});return ret;},filter:function(selector){return this.pushStack(jQuery.isFunction(selector)&&jQuery.grep(this,function(elem,i){return selector.call(elem,i);})||jQuery.multiFilter(selector,this));},not:function(selector){if(selector.constructor==String)if(isSimple.test(selector))return this.pushStack(jQuery.multiFilter(selector,this,true));else
selector=jQuery.multiFilter(selector,this);var isArrayLike=selector.length&&selector[selector.length-1]!==undefined&&!selector.nodeType;return this.filter(function(){return isArrayLike?jQuery.inArray(this,selector)<0:this!=selector;});},add:function(selector){return this.pushStack(jQuery.unique(jQuery.merge(this.get(),typeof selector=='string'?jQuery(selector):jQuery.makeArray(selector))));},is:function(selector){return!!selector&&jQuery.multiFilter(selector,this).length>0;},hasClass:function(selector){return this.is("."+selector);},val:function(value){if(value==undefined){if(this.length){var elem=this[0];if(jQuery.nodeName(elem,"select")){var index=elem.selectedIndex,values=[],options=elem.options,one=elem.type=="select-one";if(index<0)return null;for(var i=one?index:0,max=one?index+1:options.length;i<max;i++){var option=options[i];if(option.selected){value=jQuery.browser.msie&&!option.attributes.value.specified?option.text:option.value;if(one)return value;values.push(value);}}return values;}else
return(this[0].value||"").replace(/\r/g,"");}return undefined;}if(value.constructor==Number)value+='';return this.each(function(){if(this.nodeType!=1)return;if(value.constructor==Array&&/radio|checkbox/.test(this.type))this.checked=(jQuery.inArray(this.value,value)>=0||jQuery.inArray(this.name,value)>=0);else if(jQuery.nodeName(this,"select")){var values=jQuery.makeArray(value);jQuery("option",this).each(function(){this.selected=(jQuery.inArray(this.value,values)>=0||jQuery.inArray(this.text,values)>=0);});if(!values.length)this.selectedIndex=-1;}else
this.value=value;});},html:function(value){return value==undefined?(this[0]?this[0].innerHTML:null):this.empty().append(value);},replaceWith:function(value){return this.after(value).remove();},eq:function(i){return this.slice(i,i+1);},slice:function(){return this.pushStack(Array.prototype.slice.apply(this,arguments));},map:function(callback){return this.pushStack(jQuery.map(this,function(elem,i){return callback.call(elem,i,elem);}));},andSelf:function(){return this.add(this.prevObject);},data:function(key,value){var parts=key.split(".");parts[1]=parts[1]?"."+parts[1]:"";if(value===undefined){var data=this.triggerHandler("getData"+parts[1]+"!",[parts[0]]);if(data===undefined&&this.length)data=jQuery.data(this[0],key);return data===undefined&&parts[1]?this.data(parts[0]):data;}else
return this.trigger("setData"+parts[1]+"!",[parts[0],value]).each(function(){jQuery.data(this,key,value);});},removeData:function(key){return this.each(function(){jQuery.removeData(this,key);});},domManip:function(args,table,reverse,callback){var clone=this.length>1,elems;return this.each(function(){if(!elems){elems=jQuery.clean(args,this.ownerDocument);if(reverse)elems.reverse();}var obj=this;if(table&&jQuery.nodeName(this,"table")&&jQuery.nodeName(elems[0],"tr"))obj=this.getElementsByTagName("tbody")[0]||this.appendChild(this.ownerDocument.createElement("tbody"));var scripts=jQuery([]);jQuery.each(elems,function(){var elem=clone?jQuery(this).clone(true)[0]:this;if(jQuery.nodeName(elem,"script"))scripts=scripts.add(elem);else{if(elem.nodeType==1)scripts=scripts.add(jQuery("script",elem).remove());callback.call(obj,elem);}});scripts.each(evalScript);});}};jQuery.fn.init.prototype=jQuery.fn;function evalScript(i,elem){if(elem.src)jQuery.ajax({url:elem.src,async:false,dataType:"script"});else
jQuery.globalEval(elem.text||elem.textContent||elem.innerHTML||"");if(elem.parentNode)elem.parentNode.removeChild(elem);}function now(){return+new Date;}jQuery.extend=jQuery.fn.extend=function(){var target=arguments[0]||{},i=1,length=arguments.length,deep=false,options;if(target.constructor==Boolean){deep=target;target=arguments[1]||{};i=2;}if(typeof target!="object"&&typeof target!="function")target={};if(length==i){target=this;--i;}for(;i<length;i++)if((options=arguments[i])!=null)for(var name in options){var src=target[name],copy=options[name];if(target===copy)continue;if(deep&&copy&&typeof copy=="object"&&!copy.nodeType)target[name]=jQuery.extend(deep,src||(copy.length!=null?[]:{}),copy);else if(copy!==undefined)target[name]=copy;}return target;};var expando="jQuery"+now(),uuid=0,windowData={},exclude=/z-?index|font-?weight|opacity|zoom|line-?height/i,defaultView=document.defaultView||{};jQuery.extend({noConflict:function(deep){window.$=_$;if(deep)window.jQuery=_jQuery;return jQuery;},isFunction:function(fn){return!!fn&&typeof fn!="string"&&!fn.nodeName&&fn.constructor!=Array&&/^[\s[]?function/.test(fn+"");},isXMLDoc:function(elem){return elem.documentElement&&!elem.body||elem.tagName&&elem.ownerDocument&&!elem.ownerDocument.body;},globalEval:function(data){data=jQuery.trim(data);if(data){var head=document.getElementsByTagName("head")[0]||document.documentElement,script=document.createElement("script");script.type="text/javascript";if(jQuery.browser.msie)script.text=data;else
script.appendChild(document.createTextNode(data));head.insertBefore(script,head.firstChild);head.removeChild(script);}},nodeName:function(elem,name){return elem.nodeName&&elem.nodeName.toUpperCase()==name.toUpperCase();},cache:{},data:function(elem,name,data){elem=elem==window?windowData:elem;var id=elem[expando];if(!id)id=elem[expando]=++uuid;if(name&&!jQuery.cache[id])jQuery.cache[id]={};if(data!==undefined)jQuery.cache[id][name]=data;return name?jQuery.cache[id][name]:id;},removeData:function(elem,name){elem=elem==window?windowData:elem;var id=elem[expando];if(name){if(jQuery.cache[id]){delete jQuery.cache[id][name];name="";for(name in jQuery.cache[id])break;if(!name)jQuery.removeData(elem);}}else{try{delete elem[expando];}catch(e){if(elem.removeAttribute)elem.removeAttribute(expando);}delete jQuery.cache[id];}},each:function(object,callback,args){var name,i=0,length=object.length;if(args){if(length==undefined){for(name in object)if(callback.apply(object[name],args)===false)break;}else
for(;i<length;)if(callback.apply(object[i++],args)===false)break;}else{if(length==undefined){for(name in object)if(callback.call(object[name],name,object[name])===false)break;}else
for(var value=object[0];i<length&&callback.call(value,i,value)!==false;value=object[++i]){}}return object;},prop:function(elem,value,type,i,name){if(jQuery.isFunction(value))value=value.call(elem,i);return value&&value.constructor==Number&&type=="curCSS"&&!exclude.test(name)?value+"px":value;},className:{add:function(elem,classNames){jQuery.each((classNames||"").split(/\s+/),function(i,className){if(elem.nodeType==1&&!jQuery.className.has(elem.className,className))elem.className+=(elem.className?" ":"")+className;});},remove:function(elem,classNames){if(elem.nodeType==1)elem.className=classNames!=undefined?jQuery.grep(elem.className.split(/\s+/),function(className){return!jQuery.className.has(classNames,className);}).join(" "):"";},has:function(elem,className){return jQuery.inArray(className,(elem.className||elem).toString().split(/\s+/))>-1;}},swap:function(elem,options,callback){var old={};for(var name in options){old[name]=elem.style[name];elem.style[name]=options[name];}callback.call(elem);for(var name in options)elem.style[name]=old[name];},css:function(elem,name,force){if(name=="width"||name=="height"){var val,props={position:"absolute",visibility:"hidden",display:"block"},which=name=="width"?["Left","Right"]:["Top","Bottom"];function getWH(){val=name=="width"?elem.offsetWidth:elem.offsetHeight;var padding=0,border=0;jQuery.each(which,function(){padding+=parseFloat(jQuery.curCSS(elem,"padding"+this,true))||0;border+=parseFloat(jQuery.curCSS(elem,"border"+this+"Width",true))||0;});val-=Math.round(padding+border);}if(jQuery(elem).is(":visible"))getWH();else
jQuery.swap(elem,props,getWH);return Math.max(0,val);}return jQuery.curCSS(elem,name,force);},curCSS:function(elem,name,force){var ret,style=elem.style;function color(elem){if(!jQuery.browser.safari)return false;var ret=defaultView.getComputedStyle(elem,null);return!ret||ret.getPropertyValue("color")=="";}if(name=="opacity"&&jQuery.browser.msie){ret=jQuery.attr(style,"opacity");return ret==""?"1":ret;}if(jQuery.browser.opera&&name=="display"){var save=style.outline;style.outline="0 solid black";style.outline=save;}if(name.match(/float/i))name=styleFloat;if(!force&&style&&style[name])ret=style[name];else if(defaultView.getComputedStyle){if(name.match(/float/i))name="float";name=name.replace(/([A-Z])/g,"-$1").toLowerCase();var computedStyle=defaultView.getComputedStyle(elem,null);if(computedStyle&&!color(elem))ret=computedStyle.getPropertyValue(name);else{var swap=[],stack=[],a=elem,i=0;for(;a&&color(a);a=a.parentNode)stack.unshift(a);for(;i<stack.length;i++)if(color(stack[i])){swap[i]=stack[i].style.display;stack[i].style.display="block";}ret=name=="display"&&swap[stack.length-1]!=null?"none":(computedStyle&&computedStyle.getPropertyValue(name))||"";for(i=0;i<swap.length;i++)if(swap[i]!=null)stack[i].style.display=swap[i];}if(name=="opacity"&&ret=="")ret="1";}else if(elem.currentStyle){var camelCase=name.replace(/\-(\w)/g,function(all,letter){return letter.toUpperCase();});ret=elem.currentStyle[name]||elem.currentStyle[camelCase];if(!/^\d+(px)?$/i.test(ret)&&/^\d/.test(ret)){var left=style.left,rsLeft=elem.runtimeStyle.left;elem.runtimeStyle.left=elem.currentStyle.left;style.left=ret||0;ret=style.pixelLeft+"px";style.left=left;elem.runtimeStyle.left=rsLeft;}}return ret;},clean:function(elems,context){var ret=[];context=context||document;if(typeof context.createElement=='undefined')context=context.ownerDocument||context[0]&&context[0].ownerDocument||document;jQuery.each(elems,function(i,elem){if(!elem)return;if(elem.constructor==Number)elem+='';if(typeof elem=="string"){elem=elem.replace(/(<(\w+)[^>]*?)\/>/g,function(all,front,tag){return tag.match(/^(abbr|br|col|img|input|link|meta|param|hr|area|embed)$/i)?all:front+"></"+tag+">";});var tags=jQuery.trim(elem).toLowerCase(),div=context.createElement("div");var wrap=!tags.indexOf("<opt")&&[1,"<select multiple='multiple'>","</select>"]||!tags.indexOf("<leg")&&[1,"<fieldset>","</fieldset>"]||tags.match(/^<(thead|tbody|tfoot|colg|cap)/)&&[1,"<table>","</table>"]||!tags.indexOf("<tr")&&[2,"<table><tbody>","</tbody></table>"]||(!tags.indexOf("<td")||!tags.indexOf("<th"))&&[3,"<table><tbody><tr>","</tr></tbody></table>"]||!tags.indexOf("<col")&&[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"]||jQuery.browser.msie&&[1,"div<div>","</div>"]||[0,"",""];div.innerHTML=wrap[1]+elem+wrap[2];while(wrap[0]--)div=div.lastChild;if(jQuery.browser.msie){var tbody=!tags.indexOf("<table")&&tags.indexOf("<tbody")<0?div.firstChild&&div.firstChild.childNodes:wrap[1]=="<table>"&&tags.indexOf("<tbody")<0?div.childNodes:[];for(var j=tbody.length-1;j>=0;--j)if(jQuery.nodeName(tbody[j],"tbody")&&!tbody[j].childNodes.length)tbody[j].parentNode.removeChild(tbody[j]);if(/^\s/.test(elem))div.insertBefore(context.createTextNode(elem.match(/^\s*/)[0]),div.firstChild);}elem=jQuery.makeArray(div.childNodes);}if(elem.length===0&&(!jQuery.nodeName(elem,"form")&&!jQuery.nodeName(elem,"select")))return;if(elem[0]==undefined||jQuery.nodeName(elem,"form")||elem.options)ret.push(elem);else
ret=jQuery.merge(ret,elem);});return ret;},attr:function(elem,name,value){if(!elem||elem.nodeType==3||elem.nodeType==8)return undefined;var notxml=!jQuery.isXMLDoc(elem),set=value!==undefined,msie=jQuery.browser.msie;name=notxml&&jQuery.props[name]||name;if(elem.tagName){var special=/href|src|style/.test(name);if(name=="selected"&&jQuery.browser.safari)elem.parentNode.selectedIndex;if(name in elem&&notxml&&!special){if(set){if(name=="type"&&jQuery.nodeName(elem,"input")&&elem.parentNode)throw"type property can't be changed";elem[name]=value;}if(jQuery.nodeName(elem,"form")&&elem.getAttributeNode(name))return elem.getAttributeNode(name).nodeValue;return elem[name];}if(msie&&notxml&&name=="style")return jQuery.attr(elem.style,"cssText",value);if(set)elem.setAttribute(name,""+value);var attr=msie&&notxml&&special?elem.getAttribute(name,2):elem.getAttribute(name);return attr===null?undefined:attr;}if(msie&&name=="opacity"){if(set){elem.zoom=1;elem.filter=(elem.filter||"").replace(/alpha\([^)]*\)/,"")+(parseInt(value)+''=="NaN"?"":"alpha(opacity="+value*100+")");}return elem.filter&&elem.filter.indexOf("opacity=")>=0?(parseFloat(elem.filter.match(/opacity=([^)]*)/)[1])/100)+'':"";}name=name.replace(/-([a-z])/ig,function(all,letter){return letter.toUpperCase();});if(set)elem[name]=value;return elem[name];},trim:function(text){return(text||"").replace(/^\s+|\s+$/g,"");},makeArray:function(array){var ret=[];if(array!=null){var i=array.length;if(i==null||array.split||array.setInterval||array.call)ret[0]=array;else
while(i)ret[--i]=array[i];}return ret;},inArray:function(elem,array){for(var i=0,length=array.length;i<length;i++)if(array[i]===elem)return i;return-1;},merge:function(first,second){var i=0,elem,pos=first.length;if(jQuery.browser.msie){while(elem=second[i++])if(elem.nodeType!=8)first[pos++]=elem;}else
while(elem=second[i++])first[pos++]=elem;return first;},unique:function(array){var ret=[],done={};try{for(var i=0,length=array.length;i<length;i++){var id=jQuery.data(array[i]);if(!done[id]){done[id]=true;ret.push(array[i]);}}}catch(e){ret=array;}return ret;},grep:function(elems,callback,inv){var ret=[];for(var i=0,length=elems.length;i<length;i++)if(!inv!=!callback(elems[i],i))ret.push(elems[i]);return ret;},map:function(elems,callback){var ret=[];for(var i=0,length=elems.length;i<length;i++){var value=callback(elems[i],i);if(value!=null)ret[ret.length]=value;}return ret.concat.apply([],ret);}});var userAgent=navigator.userAgent.toLowerCase();jQuery.browser={version:(userAgent.match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||[])[1],safari:/webkit/.test(userAgent),opera:/opera/.test(userAgent),msie:/msie/.test(userAgent)&&!/opera/.test(userAgent),mozilla:/mozilla/.test(userAgent)&&!/(compatible|webkit)/.test(userAgent)};var styleFloat=jQuery.browser.msie?"styleFloat":"cssFloat";jQuery.extend({boxModel:!jQuery.browser.msie||document.compatMode=="CSS1Compat",props:{"for":"htmlFor","class":"className","float":styleFloat,cssFloat:styleFloat,styleFloat:styleFloat,readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing"}});jQuery.each({parent:function(elem){return elem.parentNode;},parents:function(elem){return jQuery.dir(elem,"parentNode");},next:function(elem){return jQuery.nth(elem,2,"nextSibling");},prev:function(elem){return jQuery.nth(elem,2,"previousSibling");},nextAll:function(elem){return jQuery.dir(elem,"nextSibling");},prevAll:function(elem){return jQuery.dir(elem,"previousSibling");},siblings:function(elem){return jQuery.sibling(elem.parentNode.firstChild,elem);},children:function(elem){return jQuery.sibling(elem.firstChild);},contents:function(elem){return jQuery.nodeName(elem,"iframe")?elem.contentDocument||elem.contentWindow.document:jQuery.makeArray(elem.childNodes);}},function(name,fn){jQuery.fn[name]=function(selector){var ret=jQuery.map(this,fn);if(selector&&typeof selector=="string")ret=jQuery.multiFilter(selector,ret);return this.pushStack(jQuery.unique(ret));};});jQuery.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(name,original){jQuery.fn[name]=function(){var args=arguments;return this.each(function(){for(var i=0,length=args.length;i<length;i++)jQuery(args[i])[original](this);});};});jQuery.each({removeAttr:function(name){jQuery.attr(this,name,"");if(this.nodeType==1)this.removeAttribute(name);},addClass:function(classNames){jQuery.className.add(this,classNames);},removeClass:function(classNames){jQuery.className.remove(this,classNames);},toggleClass:function(classNames){jQuery.className[jQuery.className.has(this,classNames)?"remove":"add"](this,classNames);},remove:function(selector){if(!selector||jQuery.filter(selector,[this]).r.length){jQuery("*",this).add(this).each(function(){jQuery.event.remove(this);jQuery.removeData(this);});if(this.parentNode)this.parentNode.removeChild(this);}},empty:function(){jQuery(">*",this).remove();while(this.firstChild)this.removeChild(this.firstChild);}},function(name,fn){jQuery.fn[name]=function(){return this.each(fn,arguments);};});jQuery.each(["Height","Width"],function(i,name){var type=name.toLowerCase();jQuery.fn[type]=function(size){return this[0]==window?jQuery.browser.opera&&document.body["client"+name]||jQuery.browser.safari&&window["inner"+name]||document.compatMode=="CSS1Compat"&&document.documentElement["client"+name]||document.body["client"+name]:this[0]==document?Math.max(Math.max(document.body["scroll"+name],document.documentElement["scroll"+name]),Math.max(document.body["offset"+name],document.documentElement["offset"+name])):size==undefined?(this.length?jQuery.css(this[0],type):null):this.css(type,size.constructor==String?size:size+"px");};});function num(elem,prop){return elem[0]&&parseInt(jQuery.curCSS(elem[0],prop,true),10)||0;}var chars=jQuery.browser.safari&&parseInt(jQuery.browser.version)<417?"(?:[\\w*_-]|\\\\.)":"(?:[\\w\u0128-\uFFFF*_-]|\\\\.)",quickChild=new RegExp("^>\\s*("+chars+"+)"),quickID=new RegExp("^("+chars+"+)(#)("+chars+"+)"),quickClass=new RegExp("^([#.]?)("+chars+"*)");jQuery.extend({expr:{"":function(a,i,m){return m[2]=="*"||jQuery.nodeName(a,m[2]);},"#":function(a,i,m){return a.getAttribute("id")==m[2];},":":{lt:function(a,i,m){return i<m[3]-0;},gt:function(a,i,m){return i>m[3]-0;},nth:function(a,i,m){return m[3]-0==i;},eq:function(a,i,m){return m[3]-0==i;},first:function(a,i){return i==0;},last:function(a,i,m,r){return i==r.length-1;},even:function(a,i){return i%2==0;},odd:function(a,i){return i%2;},"first-child":function(a){return a.parentNode.getElementsByTagName("*")[0]==a;},"last-child":function(a){return jQuery.nth(a.parentNode.lastChild,1,"previousSibling")==a;},"only-child":function(a){return!jQuery.nth(a.parentNode.lastChild,2,"previousSibling");},parent:function(a){return a.firstChild;},empty:function(a){return!a.firstChild;},contains:function(a,i,m){return(a.textContent||a.innerText||jQuery(a).text()||"").indexOf(m[3])>=0;},visible:function(a){return"hidden"!=a.type&&jQuery.css(a,"display")!="none"&&jQuery.css(a,"visibility")!="hidden";},hidden:function(a){return"hidden"==a.type||jQuery.css(a,"display")=="none"||jQuery.css(a,"visibility")=="hidden";},enabled:function(a){return!a.disabled;},disabled:function(a){return a.disabled;},checked:function(a){return a.checked;},selected:function(a){return a.selected||jQuery.attr(a,"selected");},text:function(a){return"text"==a.type;},radio:function(a){return"radio"==a.type;},checkbox:function(a){return"checkbox"==a.type;},file:function(a){return"file"==a.type;},password:function(a){return"password"==a.type;},submit:function(a){return"submit"==a.type;},image:function(a){return"image"==a.type;},reset:function(a){return"reset"==a.type;},button:function(a){return"button"==a.type||jQuery.nodeName(a,"button");},input:function(a){return/input|select|textarea|button/i.test(a.nodeName);},has:function(a,i,m){return jQuery.find(m[3],a).length;},header:function(a){return/h\d/i.test(a.nodeName);},animated:function(a){return jQuery.grep(jQuery.timers,function(fn){return a==fn.elem;}).length;}}},parse:[/^(\[) *@?([\w-]+) *([!*$^~=]*) *('?"?)(.*?)\4 *\]/,/^(:)([\w-]+)\("?'?(.*?(\(.*?\))?[^(]*?)"?'?\)/,new RegExp("^([:.#]*)("+chars+"+)")],multiFilter:function(expr,elems,not){var old,cur=[];while(expr&&expr!=old){old=expr;var f=jQuery.filter(expr,elems,not);expr=f.t.replace(/^\s*,\s*/,"");cur=not?elems=f.r:jQuery.merge(cur,f.r);}return cur;},find:function(t,context){if(typeof t!="string")return[t];if(context&&context.nodeType!=1&&context.nodeType!=9)return[];context=context||document;var ret=[context],done=[],last,nodeName;while(t&&last!=t){var r=[];last=t;t=jQuery.trim(t);var foundToken=false,re=quickChild,m=re.exec(t);if(m){nodeName=m[1].toUpperCase();for(var i=0;ret[i];i++)for(var c=ret[i].firstChild;c;c=c.nextSibling)if(c.nodeType==1&&(nodeName=="*"||c.nodeName.toUpperCase()==nodeName))r.push(c);ret=r;t=t.replace(re,"");if(t.indexOf(" ")==0)continue;foundToken=true;}else{re=/^([>+~])\s*(\w*)/i;if((m=re.exec(t))!=null){r=[];var merge={};nodeName=m[2].toUpperCase();m=m[1];for(var j=0,rl=ret.length;j<rl;j++){var n=m=="~"||m=="+"?ret[j].nextSibling:ret[j].firstChild;for(;n;n=n.nextSibling)if(n.nodeType==1){var id=jQuery.data(n);if(m=="~"&&merge[id])break;if(!nodeName||n.nodeName.toUpperCase()==nodeName){if(m=="~")merge[id]=true;r.push(n);}if(m=="+")break;}}ret=r;t=jQuery.trim(t.replace(re,""));foundToken=true;}}if(t&&!foundToken){if(!t.indexOf(",")){if(context==ret[0])ret.shift();done=jQuery.merge(done,ret);r=ret=[context];t=" "+t.substr(1,t.length);}else{var re2=quickID;var m=re2.exec(t);if(m){m=[0,m[2],m[3],m[1]];}else{re2=quickClass;m=re2.exec(t);}m[2]=m[2].replace(/\\/g,"");var elem=ret[ret.length-1];if(m[1]=="#"&&elem&&elem.getElementById&&!jQuery.isXMLDoc(elem)){var oid=elem.getElementById(m[2]);if((jQuery.browser.msie||jQuery.browser.opera)&&oid&&typeof oid.id=="string"&&oid.id!=m[2])oid=jQuery('[@id="'+m[2]+'"]',elem)[0];ret=r=oid&&(!m[3]||jQuery.nodeName(oid,m[3]))?[oid]:[];}else{for(var i=0;ret[i];i++){var tag=m[1]=="#"&&m[3]?m[3]:m[1]!=""||m[0]==""?"*":m[2];if(tag=="*"&&ret[i].nodeName.toLowerCase()=="object")tag="param";r=jQuery.merge(r,ret[i].getElementsByTagName(tag));}if(m[1]==".")r=jQuery.classFilter(r,m[2]);if(m[1]=="#"){var tmp=[];for(var i=0;r[i];i++)if(r[i].getAttribute("id")==m[2]){tmp=[r[i]];break;}r=tmp;}ret=r;}t=t.replace(re2,"");}}if(t){var val=jQuery.filter(t,r);ret=r=val.r;t=jQuery.trim(val.t);}}if(t)ret=[];if(ret&&context==ret[0])ret.shift();done=jQuery.merge(done,ret);return done;},classFilter:function(r,m,not){m=" "+m+" ";var tmp=[];for(var i=0;r[i];i++){var pass=(" "+r[i].className+" ").indexOf(m)>=0;if(!not&&pass||not&&!pass)tmp.push(r[i]);}return tmp;},filter:function(t,r,not){var last;while(t&&t!=last){last=t;var p=jQuery.parse,m;for(var i=0;p[i];i++){m=p[i].exec(t);if(m){t=t.substring(m[0].length);m[2]=m[2].replace(/\\/g,"");break;}}if(!m)break;if(m[1]==":"&&m[2]=="not")r=isSimple.test(m[3])?jQuery.filter(m[3],r,true).r:jQuery(r).not(m[3]);else if(m[1]==".")r=jQuery.classFilter(r,m[2],not);else if(m[1]=="["){var tmp=[],type=m[3];for(var i=0,rl=r.length;i<rl;i++){var a=r[i],z=a[jQuery.props[m[2]]||m[2]];if(z==null||/href|src|selected/.test(m[2]))z=jQuery.attr(a,m[2])||'';if((type==""&&!!z||type=="="&&z==m[5]||type=="!="&&z!=m[5]||type=="^="&&z&&!z.indexOf(m[5])||type=="$="&&z.substr(z.length-m[5].length)==m[5]||(type=="*="||type=="~=")&&z.indexOf(m[5])>=0)^not)tmp.push(a);}r=tmp;}else if(m[1]==":"&&m[2]=="nth-child"){var merge={},tmp=[],test=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(m[3]=="even"&&"2n"||m[3]=="odd"&&"2n+1"||!/\D/.test(m[3])&&"0n+"+m[3]||m[3]),first=(test[1]+(test[2]||1))-0,last=test[3]-0;for(var i=0,rl=r.length;i<rl;i++){var node=r[i],parentNode=node.parentNode,id=jQuery.data(parentNode);if(!merge[id]){var c=1;for(var n=parentNode.firstChild;n;n=n.nextSibling)if(n.nodeType==1)n.nodeIndex=c++;merge[id]=true;}var add=false;if(first==0){if(node.nodeIndex==last)add=true;}else if((node.nodeIndex-last)%first==0&&(node.nodeIndex-last)/first>=0)add=true;if(add^not)tmp.push(node);}r=tmp;}else{var fn=jQuery.expr[m[1]];if(typeof fn=="object")fn=fn[m[2]];if(typeof fn=="string")fn=eval("false||function(a,i){return "+fn+";}");r=jQuery.grep(r,function(elem,i){return fn(elem,i,m,r);},not);}}return{r:r,t:t};},dir:function(elem,dir){var matched=[],cur=elem[dir];while(cur&&cur!=document){if(cur.nodeType==1)matched.push(cur);cur=cur[dir];}return matched;},nth:function(cur,result,dir,elem){result=result||1;var num=0;for(;cur;cur=cur[dir])if(cur.nodeType==1&&++num==result)break;return cur;},sibling:function(n,elem){var r=[];for(;n;n=n.nextSibling){if(n.nodeType==1&&n!=elem)r.push(n);}return r;}});jQuery.event={add:function(elem,types,handler,data){if(elem.nodeType==3||elem.nodeType==8)return;if(jQuery.browser.msie&&elem.setInterval)elem=window;if(!handler.guid)handler.guid=this.guid++;if(data!=undefined){var fn=handler;handler=this.proxy(fn,function(){return fn.apply(this,arguments);});handler.data=data;}var events=jQuery.data(elem,"events")||jQuery.data(elem,"events",{}),handle=jQuery.data(elem,"handle")||jQuery.data(elem,"handle",function(){if(typeof jQuery!="undefined"&&!jQuery.event.triggered)return jQuery.event.handle.apply(arguments.callee.elem,arguments);});handle.elem=elem;jQuery.each(types.split(/\s+/),function(index,type){var parts=type.split(".");type=parts[0];handler.type=parts[1];var handlers=events[type];if(!handlers){handlers=events[type]={};if(!jQuery.event.special[type]||jQuery.event.special[type].setup.call(elem)===false){if(elem.addEventListener)elem.addEventListener(type,handle,false);else if(elem.attachEvent)elem.attachEvent("on"+type,handle);}}handlers[handler.guid]=handler;jQuery.event.global[type]=true;});elem=null;},guid:1,global:{},remove:function(elem,types,handler){if(elem.nodeType==3||elem.nodeType==8)return;var events=jQuery.data(elem,"events"),ret,index;if(events){if(types==undefined||(typeof types=="string"&&types.charAt(0)=="."))for(var type in events)this.remove(elem,type+(types||""));else{if(types.type){handler=types.handler;types=types.type;}jQuery.each(types.split(/\s+/),function(index,type){var parts=type.split(".");type=parts[0];if(events[type]){if(handler)delete events[type][handler.guid];else
for(handler in events[type])if(!parts[1]||events[type][handler].type==parts[1])delete events[type][handler];for(ret in events[type])break;if(!ret){if(!jQuery.event.special[type]||jQuery.event.special[type].teardown.call(elem)===false){if(elem.removeEventListener)elem.removeEventListener(type,jQuery.data(elem,"handle"),false);else if(elem.detachEvent)elem.detachEvent("on"+type,jQuery.data(elem,"handle"));}ret=null;delete events[type];}}});}for(ret in events)break;if(!ret){var handle=jQuery.data(elem,"handle");if(handle)handle.elem=null;jQuery.removeData(elem,"events");jQuery.removeData(elem,"handle");}}},trigger:function(type,data,elem,donative,extra){data=jQuery.makeArray(data);if(type.indexOf("!")>=0){type=type.slice(0,-1);var exclusive=true;}if(!elem){if(this.global[type])jQuery("*").add([window,document]).trigger(type,data);}else{if(elem.nodeType==3||elem.nodeType==8)return undefined;var val,ret,fn=jQuery.isFunction(elem[type]||null),event=!data[0]||!data[0].preventDefault;if(event){data.unshift({type:type,target:elem,preventDefault:function(){},stopPropagation:function(){},timeStamp:now()});data[0][expando]=true;}data[0].type=type;if(exclusive)data[0].exclusive=true;var handle=jQuery.data(elem,"handle");if(handle)val=handle.apply(elem,data);if((!fn||(jQuery.nodeName(elem,'a')&&type=="click"))&&elem["on"+type]&&elem["on"+type].apply(elem,data)===false)val=false;if(event)data.shift();if(extra&&jQuery.isFunction(extra)){ret=extra.apply(elem,val==null?data:data.concat(val));if(ret!==undefined)val=ret;}if(fn&&donative!==false&&val!==false&&!(jQuery.nodeName(elem,'a')&&type=="click")){this.triggered=true;try{elem[type]();}catch(e){}}this.triggered=false;}return val;},handle:function(event){var val,ret,namespace,all,handlers;event=arguments[0]=jQuery.event.fix(event||window.event);namespace=event.type.split(".");event.type=namespace[0];namespace=namespace[1];all=!namespace&&!event.exclusive;handlers=(jQuery.data(this,"events")||{})[event.type];for(var j in handlers){var handler=handlers[j];if(all||handler.type==namespace){event.handler=handler;event.data=handler.data;ret=handler.apply(this,arguments);if(val!==false)val=ret;if(ret===false){event.preventDefault();event.stopPropagation();}}}return val;},fix:function(event){if(event[expando]==true)return event;var originalEvent=event;event={originalEvent:originalEvent};var 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 timeStamp toElement type view wheelDelta which".split(" ");for(var i=props.length;i;i--)event[props[i]]=originalEvent[props[i]];event[expando]=true;event.preventDefault=function(){if(originalEvent.preventDefault)originalEvent.preventDefault();originalEvent.returnValue=false;};event.stopPropagation=function(){if(originalEvent.stopPropagation)originalEvent.stopPropagation();originalEvent.cancelBubble=true;};event.timeStamp=event.timeStamp||now();if(!event.target)event.target=event.srcElement||document;if(event.target.nodeType==3)event.target=event.target.parentNode;if(!event.relatedTarget&&event.fromElement)event.relatedTarget=event.fromElement==event.target?event.toElement:event.fromElement;if(event.pageX==null&&event.clientX!=null){var doc=document.documentElement,body=document.body;event.pageX=event.clientX+(doc&&doc.scrollLeft||body&&body.scrollLeft||0)-(doc.clientLeft||0);event.pageY=event.clientY+(doc&&doc.scrollTop||body&&body.scrollTop||0)-(doc.clientTop||0);}if(!event.which&&((event.charCode||event.charCode===0)?event.charCode:event.keyCode))event.which=event.charCode||event.keyCode;if(!event.metaKey&&event.ctrlKey)event.metaKey=event.ctrlKey;if(!event.which&&event.button)event.which=(event.button&1?1:(event.button&2?3:(event.button&4?2:0)));return event;},proxy:function(fn,proxy){proxy.guid=fn.guid=fn.guid||proxy.guid||this.guid++;return proxy;},special:{ready:{setup:function(){bindReady();return;},teardown:function(){return;}},mouseenter:{setup:function(){if(jQuery.browser.msie)return false;jQuery(this).bind("mouseover",jQuery.event.special.mouseenter.handler);return true;},teardown:function(){if(jQuery.browser.msie)return false;jQuery(this).unbind("mouseover",jQuery.event.special.mouseenter.handler);return true;},handler:function(event){if(withinElement(event,this))return true;event.type="mouseenter";return jQuery.event.handle.apply(this,arguments);}},mouseleave:{setup:function(){if(jQuery.browser.msie)return false;jQuery(this).bind("mouseout",jQuery.event.special.mouseleave.handler);return true;},teardown:function(){if(jQuery.browser.msie)return false;jQuery(this).unbind("mouseout",jQuery.event.special.mouseleave.handler);return true;},handler:function(event){if(withinElement(event,this))return true;event.type="mouseleave";return jQuery.event.handle.apply(this,arguments);}}}};jQuery.fn.extend({bind:function(type,data,fn){return type=="unload"?this.one(type,data,fn):this.each(function(){jQuery.event.add(this,type,fn||data,fn&&data);});},one:function(type,data,fn){var one=jQuery.event.proxy(fn||data,function(event){jQuery(this).unbind(event,one);return(fn||data).apply(this,arguments);});return this.each(function(){jQuery.event.add(this,type,one,fn&&data);});},unbind:function(type,fn){return this.each(function(){jQuery.event.remove(this,type,fn);});},trigger:function(type,data,fn){return this.each(function(){jQuery.event.trigger(type,data,this,true,fn);});},triggerHandler:function(type,data,fn){return this[0]&&jQuery.event.trigger(type,data,this[0],false,fn);},toggle:function(fn){var args=arguments,i=1;while(i<args.length)jQuery.event.proxy(fn,args[i++]);return this.click(jQuery.event.proxy(fn,function(event){this.lastToggle=(this.lastToggle||0)%i;event.preventDefault();return args[this.lastToggle++].apply(this,arguments)||false;}));},hover:function(fnOver,fnOut){return this.bind('mouseenter',fnOver).bind('mouseleave',fnOut);},ready:function(fn){bindReady();if(jQuery.isReady)fn.call(document,jQuery);else
jQuery.readyList.push(function(){return fn.call(this,jQuery);});return this;}});jQuery.extend({isReady:false,readyList:[],ready:function(){if(!jQuery.isReady){jQuery.isReady=true;if(jQuery.readyList){jQuery.each(jQuery.readyList,function(){this.call(document);});jQuery.readyList=null;}jQuery(document).triggerHandler("ready");}}});var readyBound=false;function bindReady(){if(readyBound)return;readyBound=true;if(document.addEventListener&&!jQuery.browser.opera)document.addEventListener("DOMContentLoaded",jQuery.ready,false);if(jQuery.browser.msie&&window==top)(function(){if(jQuery.isReady)return;try{document.documentElement.doScroll("left");}catch(error){setTimeout(arguments.callee,0);return;}jQuery.ready();})();if(jQuery.browser.opera)document.addEventListener("DOMContentLoaded",function(){if(jQuery.isReady)return;for(var i=0;i<document.styleSheets.length;i++)if(document.styleSheets[i].disabled){setTimeout(arguments.callee,0);return;}jQuery.ready();},false);if(jQuery.browser.safari){var numStyles;(function(){if(jQuery.isReady)return;if(document.readyState!="loaded"&&document.readyState!="complete"){setTimeout(arguments.callee,0);return;}if(numStyles===undefined)numStyles=jQuery("style, link[rel=stylesheet]").length;if(document.styleSheets.length!=numStyles){setTimeout(arguments.callee,0);return;}jQuery.ready();})();}jQuery.event.add(window,"load",jQuery.ready);}jQuery.each(("blur,focus,load,resize,scroll,unload,click,dblclick,"+"mousedown,mouseup,mousemove,mouseover,mouseout,change,select,"+"submit,keydown,keypress,keyup,error").split(","),function(i,name){jQuery.fn[name]=function(fn){return fn?this.bind(name,fn):this.trigger(name);};});var withinElement=function(event,elem){var parent=event.relatedTarget;while(parent&&parent!=elem)try{parent=parent.parentNode;}catch(error){parent=elem;}return parent==elem;};jQuery(window).bind("unload",function(){jQuery("*").add(document).unbind();});jQuery.fn.extend({_load:jQuery.fn.load,load:function(url,params,callback){if(typeof url!='string')return this._load(url);var off=url.indexOf(" ");if(off>=0){var selector=url.slice(off,url.length);url=url.slice(0,off);}callback=callback||function(){};var type="GET";if(params)if(jQuery.isFunction(params)){callback=params;params=null;}else{params=jQuery.param(params);type="POST";}var self=this;jQuery.ajax({url:url,type:type,dataType:"html",data:params,complete:function(res,status){if(status=="success"||status=="notmodified")self.html(selector?jQuery("<div/>").append(res.responseText.replace(/<script(.|\s)*?\/script>/g,"")).find(selector):res.responseText);self.each(callback,[res.responseText,status,res]);}});return this;},serialize:function(){return jQuery.param(this.serializeArray());},serializeArray:function(){return this.map(function(){return jQuery.nodeName(this,"form")?jQuery.makeArray(this.elements):this;}).filter(function(){return this.name&&!this.disabled&&(this.checked||/select|textarea/i.test(this.nodeName)||/text|hidden|password/i.test(this.type));}).map(function(i,elem){var val=jQuery(this).val();return val==null?null:val.constructor==Array?jQuery.map(val,function(val,i){return{name:elem.name,value:val};}):{name:elem.name,value:val};}).get();}});jQuery.each("ajaxStart,ajaxStop,ajaxComplete,ajaxError,ajaxSuccess,ajaxSend".split(","),function(i,o){jQuery.fn[o]=function(f){return this.bind(o,f);};});var jsc=now();jQuery.extend({get:function(url,data,callback,type){if(jQuery.isFunction(data)){callback=data;data=null;}return jQuery.ajax({type:"GET",url:url,data:data,success:callback,dataType:type});},getScript:function(url,callback){return jQuery.get(url,null,callback,"script");},getJSON:function(url,data,callback){return jQuery.get(url,data,callback,"json");},post:function(url,data,callback,type){if(jQuery.isFunction(data)){callback=data;data={};}return jQuery.ajax({type:"POST",url:url,data:data,success:callback,dataType:type});},ajaxSetup:function(settings){jQuery.extend(jQuery.ajaxSettings,settings);},ajaxSettings:{url:location.href,global:true,type:"GET",timeout:0,contentType:"application/x-www-form-urlencoded",processData:true,async:true,data:null,username:null,password:null,accepts:{xml:"application/xml, text/xml",html:"text/html",script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},lastModified:{},ajax:function(s){s=jQuery.extend(true,s,jQuery.extend(true,{},jQuery.ajaxSettings,s));var jsonp,jsre=/=\?(&|$)/g,status,data,type=s.type.toUpperCase();if(s.data&&s.processData&&typeof s.data!="string")s.data=jQuery.param(s.data);if(s.dataType=="jsonp"){if(type=="GET"){if(!s.url.match(jsre))s.url+=(s.url.match(/\?/)?"&":"?")+(s.jsonp||"callback")+"=?";}else if(!s.data||!s.data.match(jsre))s.data=(s.data?s.data+"&":"")+(s.jsonp||"callback")+"=?";s.dataType="json";}if(s.dataType=="json"&&(s.data&&s.data.match(jsre)||s.url.match(jsre))){jsonp="jsonp"+jsc++;if(s.data)s.data=(s.data+"").replace(jsre,"="+jsonp+"$1");s.url=s.url.replace(jsre,"="+jsonp+"$1");s.dataType="script";window[jsonp]=function(tmp){data=tmp;success();complete();window[jsonp]=undefined;try{delete window[jsonp];}catch(e){}if(head)head.removeChild(script);};}if(s.dataType=="script"&&s.cache==null)s.cache=false;if(s.cache===false&&type=="GET"){var ts=now();var ret=s.url.replace(/(\?|&)_=.*?(&|$)/,"$1_="+ts+"$2");s.url=ret+((ret==s.url)?(s.url.match(/\?/)?"&":"?")+"_="+ts:"");}if(s.data&&type=="GET"){s.url+=(s.url.match(/\?/)?"&":"?")+s.data;s.data=null;}if(s.global&&!jQuery.active++)jQuery.event.trigger("ajaxStart");var remote=/^(?:\w+:)?\/\/([^\/?#]+)/;if(s.dataType=="script"&&type=="GET"&&remote.test(s.url)&&remote.exec(s.url)[1]!=location.host){var head=document.getElementsByTagName("head")[0];var script=document.createElement("script");script.src=s.url;if(s.scriptCharset)script.charset=s.scriptCharset;if(!jsonp){var done=false;script.onload=script.onreadystatechange=function(){if(!done&&(!this.readyState||this.readyState=="loaded"||this.readyState=="complete")){done=true;success();complete();head.removeChild(script);}};}head.appendChild(script);return undefined;}var requestDone=false;var xhr=window.ActiveXObject?new ActiveXObject("Microsoft.XMLHTTP"):new XMLHttpRequest();if(s.username)xhr.open(type,s.url,s.async,s.username,s.password);else
xhr.open(type,s.url,s.async);try{if(s.data)xhr.setRequestHeader("Content-Type",s.contentType);if(s.ifModified)xhr.setRequestHeader("If-Modified-Since",jQuery.lastModified[s.url]||"Thu, 01 Jan 1970 00:00:00 GMT");xhr.setRequestHeader("X-Requested-With","XMLHttpRequest");xhr.setRequestHeader("Accept",s.dataType&&s.accepts[s.dataType]?s.accepts[s.dataType]+", */*":s.accepts._default);}catch(e){}if(s.beforeSend&&s.beforeSend(xhr,s)===false){s.global&&jQuery.active--;xhr.abort();return false;}if(s.global)jQuery.event.trigger("ajaxSend",[xhr,s]);var onreadystatechange=function(isTimeout){if(!requestDone&&xhr&&(xhr.readyState==4||isTimeout=="timeout")){requestDone=true;if(ival){clearInterval(ival);ival=null;}status=isTimeout=="timeout"&&"timeout"||!jQuery.httpSuccess(xhr)&&"error"||s.ifModified&&jQuery.httpNotModified(xhr,s.url)&&"notmodified"||"success";if(status=="success"){try{data=jQuery.httpData(xhr,s.dataType,s.dataFilter);}catch(e){status="parsererror";}}if(status=="success"){var modRes;try{modRes=xhr.getResponseHeader("Last-Modified");}catch(e){}if(s.ifModified&&modRes)jQuery.lastModified[s.url]=modRes;if(!jsonp)success();}else
jQuery.handleError(s,xhr,status);complete();if(s.async)xhr=null;}};if(s.async){var ival=setInterval(onreadystatechange,13);if(s.timeout>0)setTimeout(function(){if(xhr){xhr.abort();if(!requestDone)onreadystatechange("timeout");}},s.timeout);}try{xhr.send(s.data);}catch(e){jQuery.handleError(s,xhr,null,e);}if(!s.async)onreadystatechange();function success(){if(s.success)s.success(data,status);if(s.global)jQuery.event.trigger("ajaxSuccess",[xhr,s]);}function complete(){if(s.complete)s.complete(xhr,status);if(s.global)jQuery.event.trigger("ajaxComplete",[xhr,s]);if(s.global&&!--jQuery.active)jQuery.event.trigger("ajaxStop");}return xhr;},handleError:function(s,xhr,status,e){if(s.error)s.error(xhr,status,e);if(s.global)jQuery.event.trigger("ajaxError",[xhr,s,e]);},active:0,httpSuccess:function(xhr){try{return!xhr.status&&location.protocol=="file:"||(xhr.status>=200&&xhr.status<300)||xhr.status==304||xhr.status==1223||jQuery.browser.safari&&xhr.status==undefined;}catch(e){}return false;},httpNotModified:function(xhr,url){try{var xhrRes=xhr.getResponseHeader("Last-Modified");return xhr.status==304||xhrRes==jQuery.lastModified[url]||jQuery.browser.safari&&xhr.status==undefined;}catch(e){}return false;},httpData:function(xhr,type,filter){var ct=xhr.getResponseHeader("content-type"),xml=type=="xml"||!type&&ct&&ct.indexOf("xml")>=0,data=xml?xhr.responseXML:xhr.responseText;if(xml&&data.documentElement.tagName=="parsererror")throw"parsererror";if(filter)data=filter(data,type);if(type=="script")jQuery.globalEval(data);if(type=="json")data=eval("("+data+")");return data;},param:function(a){var s=[];if(a.constructor==Array||a.jquery)jQuery.each(a,function(){s.push(encodeURIComponent(this.name)+"="+encodeURIComponent(this.value));});else
for(var j in a)if(a[j]&&a[j].constructor==Array)jQuery.each(a[j],function(){s.push(encodeURIComponent(j)+"="+encodeURIComponent(this));});else
s.push(encodeURIComponent(j)+"="+encodeURIComponent(jQuery.isFunction(a[j])?a[j]():a[j]));return s.join("&").replace(/%20/g,"+");}});jQuery.fn.extend({show:function(speed,callback){return speed?this.animate({height:"show",width:"show",opacity:"show"},speed,callback):this.filter(":hidden").each(function(){this.style.display=this.oldblock||"";if(jQuery.css(this,"display")=="none"){var elem=jQuery("<"+this.tagName+" />").appendTo("body");this.style.display=elem.css("display");if(this.style.display=="none")this.style.display="block";elem.remove();}}).end();},hide:function(speed,callback){return speed?this.animate({height:"hide",width:"hide",opacity:"hide"},speed,callback):this.filter(":visible").each(function(){this.oldblock=this.oldblock||jQuery.css(this,"display");this.style.display="none";}).end();},_toggle:jQuery.fn.toggle,toggle:function(fn,fn2){return jQuery.isFunction(fn)&&jQuery.isFunction(fn2)?this._toggle.apply(this,arguments):fn?this.animate({height:"toggle",width:"toggle",opacity:"toggle"},fn,fn2):this.each(function(){jQuery(this)[jQuery(this).is(":hidden")?"show":"hide"]();});},slideDown:function(speed,callback){return this.animate({height:"show"},speed,callback);},slideUp:function(speed,callback){return this.animate({height:"hide"},speed,callback);},slideToggle:function(speed,callback){return this.animate({height:"toggle"},speed,callback);},fadeIn:function(speed,callback){return this.animate({opacity:"show"},speed,callback);},fadeOut:function(speed,callback){return this.animate({opacity:"hide"},speed,callback);},fadeTo:function(speed,to,callback){return this.animate({opacity:to},speed,callback);},animate:function(prop,speed,easing,callback){var optall=jQuery.speed(speed,easing,callback);return this[optall.queue===false?"each":"queue"](function(){if(this.nodeType!=1)return false;var opt=jQuery.extend({},optall),p,hidden=jQuery(this).is(":hidden"),self=this;for(p in prop){if(prop[p]=="hide"&&hidden||prop[p]=="show"&&!hidden)return opt.complete.call(this);if(p=="height"||p=="width"){opt.display=jQuery.css(this,"display");opt.overflow=this.style.overflow;}}if(opt.overflow!=null)this.style.overflow="hidden";opt.curAnim=jQuery.extend({},prop);jQuery.each(prop,function(name,val){var e=new jQuery.fx(self,opt,name);if(/toggle|show|hide/.test(val))e[val=="toggle"?hidden?"show":"hide":val](prop);else{var parts=val.toString().match(/^([+-]=)?([\d+-.]+)(.*)$/),start=e.cur(true)||0;if(parts){var end=parseFloat(parts[2]),unit=parts[3]||"px";if(unit!="px"){self.style[name]=(end||1)+unit;start=((end||1)/e.cur(true))*start;self.style[name]=start+unit;}if(parts[1])end=((parts[1]=="-="?-1:1)*end)+start;e.custom(start,end,unit);}else
e.custom(start,val,"");}});return true;});},queue:function(type,fn){if(jQuery.isFunction(type)||(type&&type.constructor==Array)){fn=type;type="fx";}if(!type||(typeof type=="string"&&!fn))return queue(this[0],type);return this.each(function(){if(fn.constructor==Array)queue(this,type,fn);else{queue(this,type).push(fn);if(queue(this,type).length==1)fn.call(this);}});},stop:function(clearQueue,gotoEnd){var timers=jQuery.timers;if(clearQueue)this.queue([]);this.each(function(){for(var i=timers.length-1;i>=0;i--)if(timers[i].elem==this){if(gotoEnd)timers[i](true);timers.splice(i,1);}});if(!gotoEnd)this.dequeue();return this;}});var queue=function(elem,type,array){if(elem){type=type||"fx";var q=jQuery.data(elem,type+"queue");if(!q||array)q=jQuery.data(elem,type+"queue",jQuery.makeArray(array));}return q;};jQuery.fn.dequeue=function(type){type=type||"fx";return this.each(function(){var q=queue(this,type);q.shift();if(q.length)q[0].call(this);});};jQuery.extend({speed:function(speed,easing,fn){var opt=speed&&speed.constructor==Object?speed:{complete:fn||!fn&&easing||jQuery.isFunction(speed)&&speed,duration:speed,easing:fn&&easing||easing&&easing.constructor!=Function&&easing};opt.duration=(opt.duration&&opt.duration.constructor==Number?opt.duration:jQuery.fx.speeds[opt.duration])||jQuery.fx.speeds.def;opt.old=opt.complete;opt.complete=function(){if(opt.queue!==false)jQuery(this).dequeue();if(jQuery.isFunction(opt.old))opt.old.call(this);};return opt;},easing:{linear:function(p,n,firstNum,diff){return firstNum+diff*p;},swing:function(p,n,firstNum,diff){return((-Math.cos(p*Math.PI)/2)+0.5)*diff+firstNum;}},timers:[],timerId:null,fx:function(elem,options,prop){this.options=options;this.elem=elem;this.prop=prop;if(!options.orig)options.orig={};}});jQuery.fx.prototype={update:function(){if(this.options.step)this.options.step.call(this.elem,this.now,this);(jQuery.fx.step[this.prop]||jQuery.fx.step._default)(this);if(this.prop=="height"||this.prop=="width")this.elem.style.display="block";},cur:function(force){if(this.elem[this.prop]!=null&&this.elem.style[this.prop]==null)return this.elem[this.prop];var r=parseFloat(jQuery.css(this.elem,this.prop,force));return r&&r>-10000?r:parseFloat(jQuery.curCSS(this.elem,this.prop))||0;},custom:function(from,to,unit){this.startTime=now();this.start=from;this.end=to;this.unit=unit||this.unit||"px";this.now=this.start;this.pos=this.state=0;this.update();var self=this;function t(gotoEnd){return self.step(gotoEnd);}t.elem=this.elem;jQuery.timers.push(t);if(jQuery.timerId==null){jQuery.timerId=setInterval(function(){var timers=jQuery.timers;for(var i=0;i<timers.length;i++)if(!timers[i]())timers.splice(i--,1);if(!timers.length){clearInterval(jQuery.timerId);jQuery.timerId=null;}},13);}},show:function(){this.options.orig[this.prop]=jQuery.attr(this.elem.style,this.prop);this.options.show=true;this.custom(0,this.cur());if(this.prop=="width"||this.prop=="height")this.elem.style[this.prop]="1px";jQuery(this.elem).show();},hide:function(){this.options.orig[this.prop]=jQuery.attr(this.elem.style,this.prop);this.options.hide=true;this.custom(this.cur(),0);},step:function(gotoEnd){var t=now();if(gotoEnd||t>this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;var done=true;for(var i in this.options.curAnim)if(this.options.curAnim[i]!==true)done=false;if(done){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;this.elem.style.display=this.options.display;if(jQuery.css(this.elem,"display")=="none")this.elem.style.display="block";}if(this.options.hide)this.elem.style.display="none";if(this.options.hide||this.options.show)for(var p in this.options.curAnim)jQuery.attr(this.elem.style,p,this.options.orig[p]);}if(done)this.options.complete.call(this.elem);return false;}else{var n=t-this.startTime;this.state=n/this.options.duration;this.pos=jQuery.easing[this.options.easing||(jQuery.easing.swing?"swing":"linear")](this.state,n,0,1,this.options.duration);this.now=this.start+((this.end-this.start)*this.pos);this.update();}return true;}};jQuery.extend(jQuery.fx,{speeds:{slow:600,fast:200,def:400},step:{scrollLeft:function(fx){fx.elem.scrollLeft=fx.now;},scrollTop:function(fx){fx.elem.scrollTop=fx.now;},opacity:function(fx){jQuery.attr(fx.elem.style,"opacity",fx.now);},_default:function(fx){fx.elem.style[fx.prop]=fx.now+fx.unit;}}});jQuery.fn.offset=function(){var left=0,top=0,elem=this[0],results;if(elem)with(jQuery.browser){var parent=elem.parentNode,offsetChild=elem,offsetParent=elem.offsetParent,doc=elem.ownerDocument,safari2=safari&&parseInt(version)<522&&!/adobeair/i.test(userAgent),css=jQuery.curCSS,fixed=css(elem,"position")=="fixed";if(elem.getBoundingClientRect){var box=elem.getBoundingClientRect();add(box.left+Math.max(doc.documentElement.scrollLeft,doc.body.scrollLeft),box.top+Math.max(doc.documentElement.scrollTop,doc.body.scrollTop));add(-doc.documentElement.clientLeft,-doc.documentElement.clientTop);}else{add(elem.offsetLeft,elem.offsetTop);while(offsetParent){add(offsetParent.offsetLeft,offsetParent.offsetTop);if(mozilla&&!/^t(able|d|h)$/i.test(offsetParent.tagName)||safari&&!safari2)border(offsetParent);if(!fixed&&css(offsetParent,"position")=="fixed")fixed=true;offsetChild=/^body$/i.test(offsetParent.tagName)?offsetChild:offsetParent;offsetParent=offsetParent.offsetParent;}while(parent&&parent.tagName&&!/^body|html$/i.test(parent.tagName)){if(!/^inline|table.*$/i.test(css(parent,"display")))add(-parent.scrollLeft,-parent.scrollTop);if(mozilla&&css(parent,"overflow")!="visible")border(parent);parent=parent.parentNode;}if((safari2&&(fixed||css(offsetChild,"position")=="absolute"))||(mozilla&&css(offsetChild,"position")!="absolute"))add(-doc.body.offsetLeft,-doc.body.offsetTop);if(fixed)add(Math.max(doc.documentElement.scrollLeft,doc.body.scrollLeft),Math.max(doc.documentElement.scrollTop,doc.body.scrollTop));}results={top:top,left:left};}function border(elem){add(jQuery.curCSS(elem,"borderLeftWidth",true),jQuery.curCSS(elem,"borderTopWidth",true));}function add(l,t){left+=parseInt(l,10)||0;top+=parseInt(t,10)||0;}return results;};jQuery.fn.extend({position:function(){var left=0,top=0,results;if(this[0]){var offsetParent=this.offsetParent(),offset=this.offset(),parentOffset=/^body|html$/i.test(offsetParent[0].tagName)?{top:0,left:0}:offsetParent.offset();offset.top-=num(this,'marginTop');offset.left-=num(this,'marginLeft');parentOffset.top+=num(offsetParent,'borderTopWidth');parentOffset.left+=num(offsetParent,'borderLeftWidth');results={top:offset.top-parentOffset.top,left:offset.left-parentOffset.left};}return results;},offsetParent:function(){var offsetParent=this[0].offsetParent;while(offsetParent&&(!/^body|html$/i.test(offsetParent.tagName)&&jQuery.css(offsetParent,'position')=='static'))offsetParent=offsetParent.offsetParent;return jQuery(offsetParent);}});jQuery.each(['Left','Top'],function(i,name){var method='scroll'+name;jQuery.fn[method]=function(val){if(!this[0])return;return val!=undefined?this.each(function(){this==window||this==document?window.scrollTo(!i?val:jQuery(window).scrollLeft(),i?val:jQuery(window).scrollTop()):this[method]=val;}):this[0]==window||this[0]==document?self[i?'pageYOffset':'pageXOffset']||jQuery.boxModel&&document.documentElement[method]||document.body[method]:this[0][method];};});jQuery.each(["Height","Width"],function(i,name){var tl=i?"Left":"Top",br=i?"Right":"Bottom";jQuery.fn["inner"+name]=function(){return this[name.toLowerCase()]()+num(this,"padding"+tl)+num(this,"padding"+br);};jQuery.fn["outer"+name]=function(margin){return this["inner"+name]()+num(this,"border"+tl+"Width")+num(this,"border"+br+"Width")+(margin?num(this,"margin"+tl)+num(this,"margin"+br):0);};});})();eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('(b(C){C.d={1j:{1y:b(E,F,H){a G=C.d[E].3T;1G(a D 57 H){G.2O[D]=G.2O[D]||[];G.2O[D].2I([F,H[D]])}},1e:b(D,F,E){a H=D.2O[F];5(!H){l}1G(a G=0;G<H.1k;G++){5(D.c[H[G][0]]){H[G][1].1W(D.g,E)}}}},3H:{},f:b(D){5(C.d.3H[D]){l C.d.3H[D]}a E=C(\'<2h 4M="d-7r">\').1F(D).f({o:"1i",8:"-6g",6:"-6g",3q:"4i"}).2e("1q");C.d.3H[D]=!!((!(/26|60/).12(E.f("1f"))||(/^[1-9]/).12(E.f("j"))||(/^[1-9]/).12(E.f("h"))||!(/3P/).12(E.f("7A"))||!(/4l|7y\\(0, 0, 0, 0\\)/).12(E.f("7x"))));7v{C("1q").2j(0).5j(E.2j(0))}7w(F){}l C.d.3H[D]},3j:b(D){C(D).3e("3X","5T").f("6b","3P")},7m:b(D){C(D).3e("3X","7l").f("6b","")},3S:b(G,E){a D=/8/.12(E||"8")?"1c":"1d",F=u;5(G[D]>0){l 15}G[D]=1;F=G[D]>0?15:u;G[D]=0;l F}};a B=C.4R.1Z;C.4R.1Z=b(){C("*",4).1y(4).2k("1Z");l B.1W(4,3v)};b A(E,F,G){a D=C[E][F].65||[];D=(2J D=="4n"?D.4F(/,?\\s+/):D);l(C.7j(G,D)!=-1)}C.2H=b(E,D){a F=E.4F(".")[0];E=E.4F(".")[1];C.4R[E]=b(J){a H=(2J J=="4n"),I=7T.3T.7Q.1e(3v,1);5(H&&A(F,E,J)){a G=C.19(4[0],E);l(G?G[J].1W(G,I):2F)}l 4.1x(b(){a K=C.19(4,E);5(H&&K&&C.3x(K[J])){K[J].1W(K,I)}1r{5(!H){C.19(4,E,7R C[F][E](4,J))}}})};C[F][E]=b(I,H){a G=4;4.2R=E;4.5I=F+"-"+E;4.c=C.1E({},C.2H.2P,C[F][E].2P,H);4.g=C(I).3f("3W."+E,b(L,J,K){l G.3W(J,K)}).3f("4Q."+E,b(K,J){l G.4Q(J)}).3f("1Z",b(){l G.3i()});4.3z()};C[F][E].3T=C.1E({},C.2H.3T,D)};C.2H.3T={3z:b(){},3i:b(){4.g.37(4.2R)},4Q:b(D){l 4.c[D]},3W:b(D,E){4.c[D]=E;5(D=="1K"){4.g[E?"1F":"2t"](4.5I+"-1K")}},7P:b(){4.3W("1K",u)},7H:b(){4.3W("1K",15)}};C.2H.2P={1K:u};C.d.3F={4e:b(){a D=4;4.g.3f("7M."+4.2R,b(E){l D.5G(E)});5(C.1U.32){4.5V=4.g.3e("3X");4.g.3e("3X","5T")}4.7F=u},4L:b(){4.g.38("."+4.2R);(C.1U.32&&4.g.3e("3X",4.5V))},5G:b(F){(4.2L&&4.48(F));4.4H=F;a E=4,G=(F.6C==1),D=(2J 4.c.3t=="4n"?C(F.2y).49().1y(F.2y).71(4.c.3t).1k:u);5(!G||D||!4.4G(F)){l 15}4.4t=!4.c.3s;5(!4.4t){4.6x=5H(b(){E.4t=15},4.c.3s)}5(4.4Y(F)&&4.4S(F)){4.2L=(4.3a(F)!==u);5(!4.2L){F.5d();l 15}}4.4P=b(H){l E.6i(H)};4.4U=b(H){l E.48(H)};C(p).3f("6h."+4.2R,4.4P).3f("6k."+4.2R,4.4U);l u},6i:b(D){5(C.1U.32&&!D.52){l 4.48(D)}5(4.2L){4.2D(D);l u}5(4.4Y(D)&&4.4S(D)){4.2L=(4.3a(4.4H,D)!==u);(4.2L?4.2D(D):4.48(D))}l!4.2L},48:b(D){C(p).38("6h."+4.2R,4.4P).38("6k."+4.2R,4.4U);5(4.2L){4.2L=u;4.31(D)}l u},4Y:b(D){l(1z.3U(1z.2l(4.4H.1Q-D.1Q),1z.2l(4.4H.1P-D.1P))>=4.c.4c)},4S:b(D){l 4.4t},3a:b(D){},2D:b(D){},31:b(D){},4G:b(D){l 15}};C.d.3F.2P={3t:1s,4c:1,3s:0}})(3O);(b(A){A.2H("d.1h",A.1E({},A.d.3F,{3z:b(){a B=4.c;5(B.m=="4Z"&&!(/(1a|1i|2u)/).12(4.g.f("o"))){4.g.f("o","1a")}4.g.1F("d-1h");(B.1K&&4.g.1F("d-1h-1K"));4.4e()},3a:b(F){a H=4.c;5(4.m||H.1K||A(F.2y).3J(".d-q-1I")){l u}a C=!4.c.1I||!A(4.c.1I,4.g).1k?15:u;A(4.c.1I,4.g).4u("*").62().1x(b(){5(4==F.2y){C=15}});5(!C){l u}5(A.d.1l){A.d.1l.2W=4}4.m=A.3x(H.m)?A(H.m.1W(4.g[0],[F])):(H.m=="2M"?4.g.2M():4.g);5(!4.m.49("1q").1k){4.m.2e((H.2e=="t"?4.g[0].21:H.2e))}5(4.m[0]!=4.g[0]&&!(/(2u|1i)/).12(4.m.f("o"))){4.m.f("o","1i")}4.1w={6:(v(4.g.f("4b"),10)||0),8:(v(4.g.f("4a"),10)||0)};4.28=4.m.f("o");4.k=4.g.k();4.k={8:4.k.8-4.1w.8,6:4.k.6-4.1w.6};4.k.14={6:F.1Q-4.k.6,8:F.1P-4.k.8};4.1b=4.m.1b();a B=4.1b.k();5(4.1b[0]==p.1q&&A.1U.6A){B={8:0,6:0}}4.k.t={8:B.8+(v(4.1b.f("3c"),10)||0),6:B.6+(v(4.1b.f("36"),10)||0)};a E=4.g.o();4.k.1a=4.28=="1a"?{8:E.8-(v(4.m.f("8"),10)||0)+4.1b[0].1c,6:E.6-(v(4.m.f("6"),10)||0)+4.1b[0].1d}:{8:0,6:0};4.1o=4.3C(F);4.13={h:4.m.22(),j:4.m.27()};5(H.1M){5(H.1M.6!=2F){4.k.14.6=H.1M.6+4.1w.6}5(H.1M.29!=2F){4.k.14.6=4.13.h-H.1M.29+4.1w.6}5(H.1M.8!=2F){4.k.14.8=H.1M.8+4.1w.8}5(H.1M.2g!=2F){4.k.14.8=4.13.j-H.1M.2g+4.1w.8}}5(H.r){5(H.r=="t"){H.r=4.m[0].21}5(H.r=="p"||H.r=="2a"){4.r=[0-4.k.1a.6-4.k.t.6,0-4.k.1a.8-4.k.t.8,A(H.r=="p"?p:2a).h()-4.k.1a.6-4.k.t.6-4.13.h-4.1w.6-(v(4.g.f("35"),10)||0),(A(H.r=="p"?p:2a).j()||p.1q.21.3D)-4.k.1a.8-4.k.t.8-4.13.j-4.1w.8-(v(4.g.f("33"),10)||0)]}5(!(/^(p|2a|t)$/).12(H.r)){a D=A(H.r)[0];a G=A(H.r).k();4.r=[G.6+(v(A(D).f("36"),10)||0)-4.k.1a.6-4.k.t.6,G.8+(v(A(D).f("3c"),10)||0)-4.k.1a.8-4.k.t.8,G.6+1z.3U(D.5y,D.2Y)-(v(A(D).f("36"),10)||0)-4.k.1a.6-4.k.t.6-4.13.h-4.1w.6-(v(4.g.f("35"),10)||0),G.8+1z.3U(D.3D,D.2Q)-(v(A(D).f("3c"),10)||0)-4.k.1a.8-4.k.t.8-4.13.j-4.1w.8-(v(4.g.f("33"),10)||0)]}}4.1g("1J",F);4.13={h:4.m.22(),j:4.m.27()};5(A.d.1l&&!H.4y){A.d.1l.4r(4,F)}4.m.1F("d-1h-43");4.2D(F);l 15},24:b(C,D){5(!D){D=4.o}a B=C=="1i"?1:-1;l{8:(D.8+4.k.1a.8*B+4.k.t.8*B-(4.28=="2u"||(4.28=="1i"&&4.1b[0]==p.1q)?0:4.1b[0].1c)*B+(4.28=="2u"?A(p).1c():0)*B+4.1w.8*B),6:(D.6+4.k.1a.6*B+4.k.t.6*B-(4.28=="2u"||(4.28=="1i"&&4.1b[0]==p.1q)?0:4.1b[0].1d)*B+(4.28=="2u"?A(p).1d():0)*B+4.1w.6*B)}},3C:b(E){a F=4.c;a B={8:(E.1P-4.k.14.8-4.k.1a.8-4.k.t.8+(4.28=="2u"||(4.28=="1i"&&4.1b[0]==p.1q)?0:4.1b[0].1c)-(4.28=="2u"?A(p).1c():0)),6:(E.1Q-4.k.14.6-4.k.1a.6-4.k.t.6+(4.28=="2u"||(4.28=="1i"&&4.1b[0]==p.1q)?0:4.1b[0].1d)-(4.28=="2u"?A(p).1d():0))};5(!4.1o){l B}5(4.r){5(B.6<4.r[0]){B.6=4.r[0]}5(B.8<4.r[1]){B.8=4.r[1]}5(B.6>4.r[2]){B.6=4.r[2]}5(B.8>4.r[3]){B.8=4.r[3]}}5(F.1m){a D=4.1o.8+1z.3w((B.8-4.1o.8)/F.1m[1])*F.1m[1];B.8=4.r?(!(D<4.r[1]||D>4.r[3])?D:(!(D<4.r[1])?D-F.1m[1]:D+F.1m[1])):D;a C=4.1o.6+1z.3w((B.6-4.1o.6)/F.1m[0])*F.1m[0];B.6=4.r?(!(C<4.r[0]||C>4.r[2])?C:(!(C<4.r[0])?C-F.1m[0]:C+F.1m[0])):C}l B},2D:b(B){4.o=4.3C(B);4.1D=4.24("1i");4.o=4.1g("2x",B)||4.o;5(!4.c.1Y||4.c.1Y!="y"){4.m[0].2A.6=4.o.6+"23"}5(!4.c.1Y||4.c.1Y!="x"){4.m[0].2A.8=4.o.8+"23"}5(A.d.1l){A.d.1l.2x(4,B)}l u},31:b(C){a D=u;5(A.d.1l&&!4.c.4y){a D=A.d.1l.2v(4,C)}5((4.c.2w=="75"&&!D)||(4.c.2w=="6K"&&D)||4.c.2w===15){a B=4;A(4.m).2n(4.1o,v(4.c.2w,10)||5n,b(){B.1g("1O",C);B.3b()})}1r{4.1g("1O",C);4.3b()}l u},3b:b(){4.m.2t("d-1h-43");5(4.c.m!="4Z"&&!4.3l){4.m.1Z()}4.m=1s;4.3l=u},2O:{},4V:b(B){l{m:4.m,o:4.o,3N:4.1D,c:4.c}},1g:b(C,B){A.d.1j.1e(4,C,[B,4.4V()]);5(C=="2x"){4.1D=4.24("1i")}l 4.g.2k(C=="2x"?C:"2x"+C,[B,4.4V()],4.c[C])},3i:b(){5(!4.g.19("1h")){l}4.g.37("1h").38(".1h").2t("d-1h");4.4L()}}));A.1E(A.d.1h,{2P:{2e:"t",1Y:u,3t:":3R",3s:0,4c:1,m:"4Z"}});A.d.1j.1y("1h","1f",{1J:b(D,C){a B=A("1q");5(B.f("1f")){C.c.3n=B.f("1f")}B.f("1f",C.c.1f)},1O:b(C,B){5(B.c.3n){A("1q").f("1f",B.c.3n)}}});A.d.1j.1y("1h","1u",{1J:b(D,C){a B=A(C.m);5(B.f("1u")){C.c.3p=B.f("1u")}B.f("1u",C.c.1u)},1O:b(C,B){5(B.c.3p){A(B.m).f("1u",B.c.3p)}}});A.d.1j.1y("1h","1T",{1J:b(D,C){a B=A(C.m);5(B.f("1T")){C.c.3B=B.f("1T")}B.f("1T",C.c.1T)},1O:b(C,B){5(B.c.3B){A(B.m).f("1T",B.c.3B)}}});A.d.1j.1y("1h","4q",{1J:b(C,B){A(B.c.4q===15?"70":B.c.4q).1x(b(){A(\'<2h 4M="d-1h-4q" 2A="5a: #74;"></2h>\').f({h:4.2Y+"23",j:4.2Q+"23",o:"1i",1T:"0.6U",1u:5u}).f(A(4).k()).2e("1q")})},1O:b(C,B){A("2h.6O").1x(b(){4.21.5j(4)})}});A.d.1j.1y("1h","2s",{1J:b(D,C){a E=C.c;a B=A(4).19("1h");E.1L=E.1L||20;E.1H=E.1H||20;B.1B=b(F){4I{5(/26|2s/.12(F.f("2r"))||(/26|2s/).12(F.f("2r-y"))){l F}F=F.t()}47(F[0].21);l A(p)}(4);B.1C=b(F){4I{5(/26|2s/.12(F.f("2r"))||(/26|2s/).12(F.f("2r-x"))){l F}F=F.t()}47(F[0].21);l A(p)}(4);5(B.1B[0]!=p&&B.1B[0].2Z!="2S"){B.3A=B.1B.k()}5(B.1C[0]!=p&&B.1C[0].2Z!="2S"){B.3g=B.1C.k()}},2x:b(D,C){a E=C.c;a B=A(4).19("1h");5(B.1B[0]!=p&&B.1B[0].2Z!="2S"){5((B.3A.8+B.1B[0].2Q)-D.1P<E.1L){B.1B[0].1c=B.1B[0].1c+E.1H}5(D.1P-B.3A.8<E.1L){B.1B[0].1c=B.1B[0].1c-E.1H}}1r{5(D.1P-A(p).1c()<E.1L){A(p).1c(A(p).1c()-E.1H)}5(A(2a).j()-(D.1P-A(p).1c())<E.1L){A(p).1c(A(p).1c()+E.1H)}}5(B.1C[0]!=p&&B.1C[0].2Z!="2S"){5((B.3g.6+B.1C[0].2Y)-D.1Q<E.1L){B.1C[0].1d=B.1C[0].1d+E.1H}5(D.1Q-B.3g.6<E.1L){B.1C[0].1d=B.1C[0].1d-E.1H}}1r{5(D.1Q-A(p).1d()<E.1L){A(p).1d(A(p).1d()-E.1H)}5(A(2a).h()-(D.1Q-A(p).1d())<E.1L){A(p).1d(A(p).1d()+E.1H)}}}});A.d.1j.1y("1h","4W",{1J:b(D,C){a B=A(4).19("1h");B.39=[];A(C.c.4W===15?".d-1h":C.c.4W).1x(b(){a F=A(4);a E=F.k();5(4!=B.g[0]){B.39.2I({1A:4,h:F.22(),j:F.27(),8:E.8,6:E.6})}})},2x:b(J,N){a I=A(4).19("1h");a L=N.c.6N||20;a D=N.3N.6,C=D+I.13.h,P=N.3N.8,O=P+I.13.j;1G(a H=I.39.1k-1;H>=0;H--){a E=I.39[H].6,B=E+I.39[H].h,R=I.39[H].8,M=R+I.39[H].j;5(!((E-L<D&&D<B+L&&R-L<P&&P<M+L)||(E-L<D&&D<B+L&&R-L<O&&O<M+L)||(E-L<C&&C<B+L&&R-L<P&&P<M+L)||(E-L<C&&C<B+L&&R-L<O&&O<M+L))){2N}5(N.c.6t!="6V"){a K=1z.2l(R-O)<=20;a Q=1z.2l(M-P)<=20;a G=1z.2l(E-C)<=20;a F=1z.2l(B-D)<=20;5(K){N.o.8=I.24("1a",{8:R-I.13.j,6:0}).8}5(Q){N.o.8=I.24("1a",{8:M,6:0}).8}5(G){N.o.6=I.24("1a",{8:0,6:E-I.13.h}).6}5(F){N.o.6=I.24("1a",{8:0,6:B}).6}}5(N.c.6t!="73"){a K=1z.2l(R-P)<=20;a Q=1z.2l(M-O)<=20;a G=1z.2l(E-D)<=20;a F=1z.2l(B-C)<=20;5(K){N.o.8=I.24("1a",{8:R,6:0}).8}5(Q){N.o.8=I.24("1a",{8:M-I.13.j,6:0}).8}5(G){N.o.6=I.24("1a",{8:0,6:E}).6}5(F){N.o.6=I.24("1a",{8:0,6:B-I.13.h}).6}}}}});A.d.1j.1y("1h","6r",{1J:b(D,C){a B=A(4).19("1h");B.4v=[];A(C.c.6r).1x(b(){5(A.19(4,"1p")){a E=A.19(4,"1p");B.4v.2I({11:E,6p:E.c.2w});E.4E();E.1g("34",D,B)}})},1O:b(D,C){a B=A(4).19("1h");A.1x(B.4v,b(){5(4.11.3k){4.11.3k=0;B.3l=15;4.11.3l=u;5(4.6p){4.11.c.2w=15}4.11.31(D);4.11.g.2k("6E",[D,A.1E(4.11.d(),{5Z:B.g})],4.11.c.69);4.11.c.m=4.11.c.5h}1r{4.11.1g("3d",D,B)}})},2x:b(F,E){a D=A(4).19("1h"),B=4;a C=b(K){a H=K.6,J=H+K.h,I=K.8,G=I+K.j;l(H<(4.1D.6+4.k.14.6)&&(4.1D.6+4.k.14.6)<J&&I<(4.1D.8+4.k.14.8)&&(4.1D.8+4.k.14.8)<G)};A.1x(D.4v,b(G){5(C.1e(D,4.11.2c)){5(!4.11.3k){4.11.3k=1;4.11.Z=A(B).2M().2e(4.11.g).19("1p-1A",15);4.11.c.5h=4.11.c.m;4.11.c.m=b(){l E.m[0]};F.2y=4.11.Z[0];4.11.4G(F,15);4.11.3a(F,15,15);4.11.k.14.8=D.k.14.8;4.11.k.14.6=D.k.14.6;4.11.k.t.6-=D.k.t.6-4.11.k.t.6;4.11.k.t.8-=D.k.t.8-4.11.k.t.8;D.1g("6I",F)}5(4.11.Z){4.11.2D(F)}}1r{5(4.11.3k){4.11.3k=0;4.11.3l=15;4.11.c.2w=u;4.11.31(F,15);4.11.c.m=4.11.c.5h;4.11.Z.1Z();5(4.11.1v){4.11.1v.1Z()}D.1g("6z",F)}}})}});A.d.1j.1y("1h","3y",{1J:b(D,B){a C=A.6Y(A(B.c.3y.6X)).2U(b(F,E){l(v(A(F).f("1u"),10)||B.c.3y.4A)-(v(A(E).f("1u"),10)||B.c.3y.4A)});A(C).1x(b(E){4.2A.1u=B.c.3y.4A+E});4[0].2A.1u=B.c.3y.4A+C.1k}})})(3O);(b(A){A.2H("d.2d",{3z:b(){4.g.1F("d-2d");4.2q=0;4.30=1;a C=4.c,B=C.2B;C=A.1E(C,{2B:C.2B&&C.2B.4N==6Z?C.2B:b(D){l A(D).3J(B)}});4.4C={h:4.g[0].2Y,j:4.g[0].2Q};A.d.1l.3h.2I(4)},2O:{},d:b(B){l{1h:(B.Z||B.g),m:B.m,o:B.o,3N:B.1D,c:4.c,g:4.g}},3i:b(){a B=A.d.1l.3h;1G(a C=0;C<B.1k;C++){5(B[C]==4){B.6R(C,1)}}4.g.2t("d-2d d-2d-1K").37("2d").38(".2d")},2f:b(C){a B=A.d.1l.2W;5(!B||(B.Z||B.g)[0]==4.g[0]){l}5(4.c.2B.1e(4.g,(B.Z||B.g))){A.d.1j.1e(4,"2f",[C,4.d(B)]);4.g.2k("6S",[C,4.d(B)],4.c.2f)}},2X:b(C){a B=A.d.1l.2W;5(!B||(B.Z||B.g)[0]==4.g[0]){l}5(4.c.2B.1e(4.g,(B.Z||B.g))){A.d.1j.1e(4,"2X",[C,4.d(B)]);4.g.2k("6T",[C,4.d(B)],4.c.2X)}},2v:b(D,C){a B=C||A.d.1l.2W;5(!B||(B.Z||B.g)[0]==4.g[0]){l u}a E=u;4.g.4u(".d-2d").4z(".d-1h-43").1x(b(){a F=A.19(4,"2d");5(F.c.5O&&A.d.3m(B,A.1E(F,{k:F.g.k()}),F.c.2E)){E=15;l u}});5(E){l u}5(4.c.2B.1e(4.g,(B.Z||B.g))){A.d.1j.1e(4,"2v",[D,4.d(B)]);4.g.2k("2v",[D,4.d(B)],4.c.2v);l 15}l u},34:b(C){a B=A.d.1l.2W;A.d.1j.1e(4,"34",[C,4.d(B)]);5(B){4.g.2k("6Q",[C,4.d(B)],4.c.34)}},3d:b(C){a B=A.d.1l.2W;A.d.1j.1e(4,"3d",[C,4.d(B)]);5(B){4.g.2k("6P",[C,4.d(B)],4.c.3d)}}});A.1E(A.d.2d,{2P:{1K:u,2E:"3m"}});A.d.3m=b(L,F,J){5(!F.k){l u}a D=(L.1D||L.o.1i).6,C=D+L.13.h,I=(L.1D||L.o.1i).8,H=I+L.13.j;a E=F.k.6,B=E+F.4C.h,K=F.k.8,G=K+F.4C.j;6L(J){4D"6M":l(E<D&&C<B&&K<I&&H<G);3o;4D"3m":l(E<D+(L.13.h/2)&&C-(L.13.h/2)<B&&K<I+(L.13.j/2)&&H-(L.13.j/2)<G);3o;4D"5s":l(E<((L.1D||L.o.1i).6+(L.4B||L.k.14).6)&&((L.1D||L.o.1i).6+(L.4B||L.k.14).6)<B&&K<((L.1D||L.o.1i).8+(L.4B||L.k.14).8)&&((L.1D||L.o.1i).8+(L.4B||L.k.14).8)<G);3o;4D"6W":l((I>=K&&I<=G)||(H>=K&&H<=G)||(I<K&&H>G))&&((D>=E&&D<=B)||(C>=E&&C<=B)||(D<E&&C>B));3o;60:l u;3o}};A.d.1l={2W:1s,3h:[],4r:b(D,F){a B=A.d.1l.3h;a E=F?F.5w:1s;1G(a C=0;C<B.1k;C++){5(B[C].c.1K||(D&&!B[C].c.2B.1e(B[C].g,(D.Z||D.g)))){2N}B[C].46=B[C].g.f("3q")!="3P";5(!B[C].46){2N}B[C].k=B[C].g.k();B[C].4C={h:B[C].g[0].2Y,j:B[C].g[0].2Q};5(E=="6w"||E=="6y"){B[C].34.1e(B[C],F)}}},2v:b(B,C){a D=u;A.1x(A.d.1l.3h,b(){5(!4.c){l}5(!4.c.1K&&4.46&&A.d.3m(B,4,4.c.2E)){D=4.2v.1e(4,C)}5(!4.c.1K&&4.46&&4.c.2B.1e(4.g,(B.Z||B.g))){4.30=1;4.2q=0;4.3d.1e(4,C)}});l D},2x:b(B,C){5(B.c.3Z){A.d.1l.4r(B,C)}A.1x(A.d.1l.3h,b(){5(4.c.1K||4.5R||!4.46){l}a E=A.d.3m(B,4,4.c.2E);a G=!E&&4.2q==1?"30":(E&&4.2q==0?"2q":1s);5(!G){l}a F;5(4.c.5O){a D=4.g.49(".d-2d:6B(0)");5(D.1k){F=A.19(D[0],"2d");F.5R=(G=="2q"?1:0)}}5(F&&G=="2q"){F.2q=0;F.30=1;F.2X.1e(F,C)}4[G]=1;4[G=="30"?"2q":"30"]=0;4[G=="2q"?"2f":"2X"].1e(4,C);5(F&&G=="30"){F.30=0;F.2q=1;F.2f.1e(F,C)}})}};A.d.1j.1y("2d","4p",{34:b(C,B){A(4).1F(B.c.4p)},3d:b(C,B){A(4).2t(B.c.4p)},2v:b(C,B){A(4).2t(B.c.4p)}});A.d.1j.1y("2d","4w",{2f:b(C,B){A(4).1F(B.c.4w)},2X:b(C,B){A(4).2t(B.c.4w)},2v:b(C,B){A(4).2t(B.c.4w)}})})(3O);(b(A){A.2H("d.q",A.1E({},A.d.3F,{3z:b(){a M=4,N=4.c;a Q=4.g.f("o");4.56=4.g;4.g.1F("d-q").f({o:/3G/.12(Q)?"1a":Q});A.1E(N,{42:!!(N.2p),m:N.m||N.2b||N.2n?N.m||"7B":1s,2G:N.2G===15?"d-q-3L-1I":N.2G});a H="59 5N #7V";N.5X={"d-q":{3q:"4i"},"d-q-1I":{o:"1i",5a:"#5Q",7Y:"0.59"},"d-q-n":{1f:"n-1n",j:"2m",6:"1t",29:"1t",5g:H},"d-q-s":{1f:"s-1n",j:"2m",6:"1t",29:"1t",5c:H},"d-q-e":{1f:"e-1n",h:"2m",8:"1t",2g:"1t",51:H},"d-q-w":{1f:"w-1n",h:"2m",8:"1t",2g:"1t",5e:H},"d-q-1S":{1f:"1S-1n",h:"2m",j:"2m",51:H,5c:H},"d-q-1V":{1f:"1V-1n",h:"2m",j:"2m",5c:H,5e:H},"d-q-1X":{1f:"1X-1n",h:"2m",j:"2m",51:H,5g:H},"d-q-1R":{1f:"1R-1n",h:"2m",j:"2m",5e:H,5g:H}};N.54={"d-q-1I":{5a:"#5Q",7O:"59 5N #7K",j:"5P",h:"5P"},"d-q-n":{1f:"n-1n",8:"1t",6:"45%"},"d-q-s":{1f:"s-1n",2g:"1t",6:"45%"},"d-q-e":{1f:"e-1n",29:"1t",8:"45%"},"d-q-w":{1f:"w-1n",6:"1t",8:"45%"},"d-q-1S":{1f:"1S-1n",29:"1t",2g:"1t"},"d-q-1V":{1f:"1V-1n",6:"1t",2g:"1t"},"d-q-1R":{1f:"1R-1n",6:"1t",8:"1t"},"d-q-1X":{1f:"1X-1n",29:"1t",8:"1t"}};N.53=4.g[0].5v;5(N.53.4K(/7L|4m|3R|5B|52|7N/i)){a B=4.g;5(/1a/.12(B.f("o"))&&A.1U.6a){B.f({o:"1a",8:"26",6:"26"})}B.7J(A(\'<2h 4M="d-58"	2A="2r: 4s;"></2h>\').f({o:B.f("o"),h:B.22(),j:B.27(),8:B.f("8"),6:B.f("6")}));a J=4.g;4.g=4.g.t();4.g.19("q",4);4.g.f({4b:J.f("4b"),4a:J.f("4a"),35:J.f("35"),33:J.f("33")});J.f({4b:0,4a:0,35:0,33:0});5(A.1U.6n&&N.5d){J.f("1n","3P")}N.2C=J.f({o:"3G",7I:1,3q:"4i"});4.g.f({5k:J.f("5k")});4.3M()}5(!N.1N){N.1N=!A(".d-q-1I",4.g).1k?"e,s,1S":{n:".d-q-n",e:".d-q-e",s:".d-q-s",w:".d-q-w",1S:".d-q-1S",1V:".d-q-1V",1X:".d-q-1X",1R:".d-q-1R"}}5(N.1N.4N==5r){N.1u=N.1u||5u;5(N.1N=="7E"){N.1N="n,e,s,w,1S,1V,1X,1R"}a O=N.1N.4F(",");N.1N={};a G={1I:"o: 1i; 3q: 3P; 2r:4s;",n:"8: 2T; h:4O%;",e:"29: 2T; j:4O%;",s:"2g: 2T; h:4O%;",w:"6: 2T; j:4O%;",1S:"2g: 2T; 29: 1t;",1V:"2g: 2T; 6: 1t;",1X:"8: 2T; 29: 1t;",1R:"8: 2T; 6: 1t;"};1G(a R=0;R<O.1k;R++){a S=A.7G(O[R]),L=N.5X,F="d-q-"+S,C=!A.d.f(F)&&!N.2G,P=A.d.f("d-q-3L-1I"),T=A.1E(L[F],L["d-q-1I"]),D=A.1E(N.54[F],!P?N.54["d-q-1I"]:{});a K=/1V|1S|1X|1R/.12(S)?{1u:++N.1u}:{};a I=(C?G[S]:""),E=A([\'<2h 4M="d-q-1I \',F,\'" 2A="\',I,G.1I,\'"></2h>\'].4J("")).f(K);N.1N[S]=".d-q-"+S;4.g.5K(E.f(C?T:{}).f(N.2G?D:{}).1F(N.2G?"d-q-3L-1I":"").1F(N.2G))}5(N.2G){4.g.1F("d-q-3L").f(!A.d.f("d-q-3L")?{}:{})}}4.5J=b(Y){Y=Y||4.g;1G(a V 57 N.1N){5(N.1N[V].4N==5r){N.1N[V]=A(N.1N[V],4.g).5D()}5(N.4l){N.1N[V].f({1T:0})}5(4.g.3J(".d-58")&&N.53.4K(/4m|3R|5B|52/i)){a W=A(N.1N[V],4.g),X=0;X=/1V|1X|1R|1S|n|s/.12(V)?W.27():W.22();a U=["81",/1X|1R|n/.12(V)?"7X":/1S|1V|s/.12(V)?"7Z":/^e$/.12(V)?"80":"7W"].4J("");5(!N.4l){Y.f(U,X)}4.3M()}5(!A(N.1N[V]).1k){2N}}};4.5J(4.g);N.3u=A(".d-q-1I",M.g);5(N.3j){N.3u.1x(b(U,V){A.d.3j(V)})}N.3u.7S(b(){5(!N.4o){5(4.5L){a U=4.5L.4K(/d-q-(1S|1V|1X|1R|n|e|s|w)/i)}M.1Y=N.1Y=U&&U[1]?U[1]:"1S"}});5(N.66){N.3u.5z();A(M.g).1F("d-q-55").7U(b(){A(4).2t("d-q-55");N.3u.5D()},b(){5(!N.4o){A(4).1F("d-q-55");N.3u.5z()}})}4.4e()},2O:{},d:b(){l{56:4.56,g:4.g,m:4.m,o:4.o,z:4.z,c:4.c,2i:4.2i,1o:4.1o}},1g:b(C,B){A.d.1j.1e(4,C,[B,4.d()]);5(C!="1n"){4.g.2k(["1n",C].4J(""),[B,4.d()],4.c[C])}},3i:b(){a D=4.g,C=D.7g(".d-q").2j(0);4.4L();a B=b(E){A(E).2t("d-q d-q-1K").37("q").38(".q").4u(".d-q-1I").1Z()};B(D);5(D.3J(".d-58")&&C){D.t().5K(A(C).f({o:D.f("o"),h:D.22(),j:D.27(),8:D.f("8"),6:D.f("6")})).7f().1Z();B(C)}},3a:b(K){5(4.c.1K){l u}a J=u;1G(a H 57 4.c.1N){5(A(4.c.1N[H])[0]==K.2y){J=15}}5(!J){l u}a C=4.c,B=4.g.o(),D=4.g,I=b(O){l v(O,10)||0},G=A.1U.32&&A.1U.4h<7;C.4o=15;C.5b={8:A(p).1c(),6:A(p).1d()};5(D.3J(".d-1h")||(/1i/).12(D.f("o"))){a M=A.1U.32&&!C.r&&(/1i/).12(D.f("o"))&&!(/1a/).12(D.t().f("o"));a L=M?C.5b.8:0,F=M?C.5b.6:0;D.f({o:"1i",8:(B.8+L),6:(B.6+F)})}5(A.1U.6a&&/1a/.12(D.f("o"))){D.f({o:"1a",8:"26",6:"26"})}4.6m();a N=I(4.m.f("6")),E=I(4.m.f("8"));5(C.r){N+=A(C.r).1d()||0;E+=A(C.r).1c()||0}4.k=4.m.k();4.o={6:N,8:E};4.z=C.m||G?{h:D.22(),j:D.27()}:{h:D.h(),j:D.j()};4.2i=C.m||G?{h:D.22(),j:D.27()}:{h:D.h(),j:D.j()};4.1o={6:N,8:E};4.2V={h:D.22()-D.h(),j:D.27()-D.j()};4.6u={6:K.1Q,8:K.1P};C.2p=(2J C.2p=="6f")?C.2p:((4.2i.j/4.2i.h)||1);5(C.4X){A("1q").f("1f",4.1Y+"-1n")}4.1g("1J",K);l 15},2D:b(I){a D=4.m,C=4.c,J={},M=4,F=4.6u,K=4.1Y;a N=(I.1Q-F.6)||0,L=(I.1P-F.8)||0;a E=4.2z[K];5(!E){l u}a H=E.1W(4,[I,N,L]),G=A.1U.32&&A.1U.4h<7,B=4.2V;5(C.42||I.4d){H=4.6q(H,I)}H=4.6s(H,I);4.1g("1n",I);D.f({8:4.o.8+"23",6:4.o.6+"23",h:4.z.h+"23",j:4.z.j+"23"});5(!C.m&&C.2C){4.3M()}4.5l(H);4.g.2k("1n",[I,4.d()],4.c.1n);l u},31:b(I){4.c.4o=u;a E=4.c,H=b(M){l v(M,10)||0},K=4;5(E.m){a D=E.2C,B=D&&(/4m/i).12(D.2j(0).5v),C=B&&A.d.3S(D.2j(0),"6")?0:K.2V.j,G=B?0:K.2V.h;a L={h:(K.z.h-G),j:(K.z.j-C)},F=(v(K.g.f("6"),10)+(K.o.6-K.1o.6))||1s,J=(v(K.g.f("8"),10)+(K.o.8-K.1o.8))||1s;5(!E.2n){4.g.f(A.1E(L,{8:J,6:F}))}5(E.m&&!E.2n){4.3M()}}5(E.4X){A("1q").f("1f","26")}4.1g("1O",I);5(E.m){4.m.1Z()}l u},5l:b(B){a C=4.c;4.k=4.m.k();5(B.6){4.o.6=B.6}5(B.8){4.o.8=B.8}5(B.j){4.z.j=B.j}5(B.h){4.z.h=B.h}},6q:b(D,E){a F=4.c,G=4.o,C=4.z,B=4.1Y;5(D.j){D.h=(C.j/F.2p)}1r{5(D.h){D.j=(C.h*F.2p)}}5(B=="1V"){D.6=G.6+(C.h-D.h);D.8=1s}5(B=="1R"){D.8=G.8+(C.j-D.j);D.6=G.6+(C.h-D.h)}l D},6s:b(H,I){a F=4.m,E=4.c,N=E.42||I.4d,M=4.1Y,P=H.h&&E.4f&&E.4f<H.h,J=H.j&&E.4k&&E.4k<H.j,D=H.h&&E.40&&E.40>H.h,O=H.j&&E.3V&&E.3V>H.j;5(D){H.h=E.40}5(O){H.j=E.3V}5(P){H.h=E.4f}5(J){H.j=E.4k}a C=4.1o.6+4.2i.h,L=4.o.8+4.z.j;a G=/1V|1R|w/.12(M),B=/1R|1X|n/.12(M);5(D&&G){H.6=C-E.40}5(P&&G){H.6=C-E.4f}5(O&&B){H.8=L-E.3V}5(J&&B){H.8=L-E.4k}a K=!H.h&&!H.j;5(K&&!H.6&&H.8){H.8=1s}1r{5(K&&!H.8&&H.6){H.6=1s}}l H},3M:b(){a F=4.c;5(!F.2C){l}a D=F.2C,C=4.m||4.g;5(!F.3r){a B=[D.f("3c"),D.f("7e"),D.f("7d"),D.f("36")],E=[D.f("78"),D.f("77"),D.f("79"),D.f("7a")];F.3r=A.7c(B,b(G,I){a H=v(G,10)||0,J=v(E[I],10)||0;l H+J})}D.f({j:(C.j()-F.3r[0]-F.3r[2])+"23",h:(C.h()-F.3r[1]-F.3r[3])+"23"})},6m:b(){a C=4.g,F=4.c;4.5f=C.k();5(F.m){4.m=4.m||A(\'<2h 2A="2r:4s;"></2h>\');a B=A.1U.32&&A.1U.4h<7,D=(B?1:0),E=(B?2:-1);4.m.1F(F.m).f({h:C.22()+E,j:C.27()+E,o:"1i",6:4.5f.6-D+"23",8:4.5f.8-D+"23",1u:++F.1u});4.m.2e("1q");5(F.3j){A.d.3j(4.m.2j(0))}}1r{4.m=C}},2z:{e:b(D,C,B){l{h:4.2i.h+C}},w:b(F,C,B){a G=4.c,D=4.2i,E=4.1o;l{6:E.6+C,h:D.h-C}},n:b(F,C,B){a G=4.c,D=4.2i,E=4.1o;l{8:E.8+B,j:D.j-B}},s:b(D,C,B){l{j:4.2i.j+B}},1S:b(D,C,B){l A.1E(4.2z.s.1W(4,3v),4.2z.e.1W(4,[D,C,B]))},1V:b(D,C,B){l A.1E(4.2z.s.1W(4,3v),4.2z.w.1W(4,[D,C,B]))},1X:b(D,C,B){l A.1E(4.2z.n.1W(4,3v),4.2z.e.1W(4,[D,C,B]))},1R:b(D,C,B){l A.1E(4.2z.n.1W(4,3v),4.2z.w.1W(4,[D,C,B]))}}}));A.1E(A.d.q,{2P:{3t:":3R",4c:1,3s:0,5d:15,4l:u,40:10,3V:10,2p:u,3j:15,4X:15,66:u,2G:u}});A.d.1j.1y("q","r",{1J:b(I,K){a E=K.c,M=A(4).19("q"),G=M.g;a C=E.r,F=(C 7z A)?C.2j(0):(/t/.12(C))?G.t().2j(0):C;5(!F){l}M.4T=A(F);5(/p/.12(C)||C==p){M.3Q={6:0,8:0};M.4g={6:0,8:0};M.3E={g:A(p),6:0,8:0,h:A(p).h(),j:A(p).j()||p.1q.21.3D}}1r{M.3Q=A(F).k();M.4g=A(F).o();M.4j={j:A(F).6j(),h:A(F).6l()};a J=M.3Q,B=M.4j.j,H=M.4j.h,D=(A.d.3S(F,"6")?F.5y:H),L=(A.d.3S(F)?F.3D:B);M.3E={g:F,6:J.6,8:J.8,h:D,j:L}}},1n:b(H,K){a E=K.c,N=A(4).19("q"),C=N.4j,J=N.3Q,G=N.z,I=N.o,L=E.42||H.4d,B={8:0,6:0},D=N.4T;5(D[0]!=p&&/3G/.12(D.f("o"))){B=N.4g}5(I.6<(E.m?J.6:B.6)){N.z.h=N.z.h+(E.m?(N.o.6-J.6):(N.o.6-B.6));5(L){N.z.j=N.z.h*E.2p}N.o.6=E.m?J.6:B.6}5(I.8<(E.m?J.8:0)){N.z.j=N.z.j+(E.m?(N.o.8-J.8):N.o.8);5(L){N.z.h=N.z.j/E.2p}N.o.8=E.m?J.8:0}a F=(E.m?N.k.6-J.6:(N.o.6-B.6))+N.2V.h,M=(E.m?N.k.8-J.8:N.o.8)+N.2V.j;5(F+N.z.h>=N.3E.h){N.z.h=N.3E.h-F;5(L){N.z.j=N.z.h*E.2p}}5(M+N.z.j>=N.3E.j){N.z.j=N.3E.j-M;5(L){N.z.h=N.z.j/E.2p}}},1O:b(G,J){a C=J.c,L=A(4).19("q"),H=L.o,I=L.3Q,B=L.4g,D=L.4T;a E=A(L.m),M=E.k(),K=E.6l(),F=E.6j();5(C.m&&!C.2n&&/1a/.12(D.f("o"))){A(4).f({6:(M.6-I.6),8:(M.8-I.8),h:K,j:F})}5(C.m&&!C.2n&&/3G/.12(D.f("o"))){A(4).f({6:B.6+(M.6-I.6),8:B.8+(M.8-I.8),h:K,j:F})}}});A.d.1j.1y("q","1m",{1n:b(H,J){a D=J.c,L=A(4).19("q"),G=L.z,E=L.2i,F=L.1o,K=L.1Y,I=D.42||H.4d;D.1m=2J D.1m=="6f"?[D.1m,D.1m]:D.1m;a C=1z.3w((G.h-E.h)/(D.1m[0]||1))*(D.1m[0]||1),B=1z.3w((G.j-E.j)/(D.1m[1]||1))*(D.1m[1]||1);5(/^(1S|s|e)$/.12(K)){L.z.h=E.h+C;L.z.j=E.j+B}1r{5(/^(1X)$/.12(K)){L.z.h=E.h+C;L.z.j=E.j+B;L.o.8=F.8-B}1r{5(/^(1V)$/.12(K)){L.z.h=E.h+C;L.z.j=E.j+B;L.o.6=F.6-C}1r{L.z.h=E.h+C;L.z.j=E.j+B;L.o.8=F.8-B;L.o.6=F.6-C}}}}});A.d.1j.1y("q","2n",{1O:b(I,K){a F=K.c,L=A(4).19("q");a E=F.2C,B=E&&(/4m/i).12(E.2j(0).5v),C=B&&A.d.3S(E.2j(0),"6")?0:L.2V.j,H=B?0:L.2V.h;a D={h:(L.z.h-H),j:(L.z.j-C)},G=(v(L.g.f("6"),10)+(L.o.6-L.1o.6))||1s,J=(v(L.g.f("8"),10)+(L.o.8-L.1o.8))||1s;L.g.2n(A.1E(D,J&&G?{8:J,6:G}:{}),{7s:F.7q||"7p",7n:F.7o||"7t",7u:b(){a M={h:v(L.g.f("h"),10),j:v(L.g.f("j"),10),8:v(L.g.f("8"),10),6:v(L.g.f("6"),10)};5(E){E.f({h:M.h,j:M.j})}L.5l(M);L.1g("2n",I)}})}});A.d.1j.1y("q","2b",{1J:b(E,D){a F=D.c,B=A(4).19("q"),G=F.2C,C=B.z;5(!G){B.2b=B.g.2M()}1r{B.2b=G.2M()}B.2b.f({1T:0.25,3q:"4i",o:"1a",j:C.j,h:C.h,5k:0,6:0,8:0}).1F("d-q-2b").1F(2J F.2b=="4n"?F.2b:"");B.2b.2e(B.m)},1n:b(D,C){a E=C.c,B=A(4).19("q"),F=E.2C;5(B.2b){B.2b.f({o:"1a",j:B.z.j,h:B.z.h})}},1O:b(D,C){a E=C.c,B=A(4).19("q"),F=E.2C;5(B.2b&&B.m){B.m.2j(0).5j(B.2b.2j(0))}}});A.d.1j.1y("q","2o",{1J:b(E,C){a F=C.c,B=A(4).19("q"),D=b(G){A(G).1x(b(){A(4).19("q-5i",{h:v(A(4).h(),10),j:v(A(4).j(),10),6:v(A(4).f("6"),10),8:v(A(4).f("8"),10)})})};5(2J(F.2o)=="6c"){5(F.2o.1k){F.2o=F.2o[0];D(F.2o)}1r{A.1x(F.2o,b(G,H){D(G)})}}1r{D(F.2o)}},1n:b(F,E){a G=E.c,C=A(4).19("q"),D=C.2i,I=C.1o;a H={j:(C.z.j-D.j)||0,h:(C.z.h-D.h)||0,8:(C.o.8-I.8)||0,6:(C.o.6-I.6)||0},B=b(J,K){A(J).1x(b(){a N=A(4).19("q-5i"),M={},L=K&&K.1k?K:["h","j","8","6"];A.1x(L||["h","j","8","6"],b(O,Q){a P=(N[Q]||0)+(H[Q]||0);5(P&&P>=0){M[Q]=P||1s}});A(4).f(M)})};5(2J(G.2o)=="6c"){A.1x(G.2o,b(J,K){B(J,K)})}1r{B(G.2o)}},1O:b(C,B){A(4).37("q-5i-1J")}})})(3O);(b(B){b A(E,D){a C=B.1U.6n&&B.1U.4h<7b;5(E.6v&&!C){l E.6v(D)}5(E.6o){l!!(E.6o(D)&16)}47(D=D.21){5(D==E){l 15}}l u}B.2H("d.1p",B.1E({},B.d.3F,{3z:b(){a C=4.c;4.2c={};4.g.1F("d-1p");4.5F();4.2K=4.17.1k?(/6|29/).12(4.17[0].1A.f("7k")):u;5(!(/(1a|1i|2u)/).12(4.g.f("o"))){4.g.f("o","1a")}4.k=4.g.k();4.4e()},2O:{},d:b(C){l{m:(C||4)["m"],1v:(C||4)["1v"]||B([]),o:(C||4)["o"],3N:(C||4)["1D"],c:4.c,g:4.g,1A:(C||4)["Z"],5Z:C?C.g:1s}},1g:b(F,E,C,D){B.d.1j.1e(4,F,[E,4.d(C)]);5(!D){4.g.2k(F=="2U"?F:"2U"+F,[E,4.d(C)],4.c[F])}},67:b(E){a C=(B.3x(4.c.17)?4.c.17.1e(4.g):B(4.c.17,4.g)).4z(".d-1p-m");a D=[];E=E||{};C.1x(b(){a F=(B(4).3e(E.7i||"64")||"").4K(E.5A||(/(.+)[-=7h](.+)/));5(F){D.2I((E.5E||F[1])+"[]="+(E.5E&&E.5A?F[1]:F[2]))}});l D.4J("&")},6d:b(C){a D=(B.3x(4.c.17)?4.c.17.1e(4.g):B(4.c.17,4.g)).4z(".d-1p-m");a E=[];D.1x(b(){E.2I(B(4).3e(C||"64"))});l E},5M:b(J){a E=4.1D.6,D=E+4.13.h,I=4.1D.8,H=I+4.13.j;a F=J.6,C=F+J.h,K=J.8,G=K+J.j;5(4.c.2E=="5s"||4.c.7C||(4.c.2E=="5m"&&4.13[4.2K?"h":"j"]>J[4.2K?"h":"j"])){l(I+4.k.14.8>K&&I+4.k.14.8<G&&E+4.k.14.6>F&&E+4.k.14.6<C)}1r{l(F<E+(4.13.h/2)&&D-(4.13.h/2)<C&&K<I+(4.13.j/2)&&H-(4.13.j/2)<G)}},5S:b(J){a E=4.1D.6,D=E+4.13.h,I=4.1D.8,H=I+4.13.j;a F=J.6,C=F+J.h,K=J.8,G=K+J.j;5(4.c.2E=="5s"||(4.c.2E=="5m"&&4.13[4.2K?"h":"j"]>J[4.2K?"h":"j"])){5(!(I+4.k.14.8>K&&I+4.k.14.8<G&&E+4.k.14.6>F&&E+4.k.14.6<C)){l u}5(4.2K){5(E+4.k.14.6>F&&E+4.k.14.6<F+J.h/2){l 2}5(E+4.k.14.6>F+J.h/2&&E+4.k.14.6<C){l 1}}1r{5(I+4.k.14.8>K&&I+4.k.14.8<K+J.j/2){l 2}5(I+4.k.14.8>K+J.j/2&&I+4.k.14.8<G){l 1}}}1r{5(!(F<E+(4.13.h/2)&&D-(4.13.h/2)<C&&K<I+(4.13.j/2)&&H-(4.13.j/2)<G)){l u}5(4.2K){5(D>F&&E<F){l 2}5(E<C&&D>C){l 1}}1r{5(H>K&&I<K){l 1}5(I<G&&H>G){l 2}}}l u},5F:b(){4.4E();4.3Z()},4E:b(){4.17=[];4.18=[4];a D=4.17;a C=4;a F=[[B.3x(4.c.17)?4.c.17.1e(4.g,1s,{c:4.c,1A:4.Z}):B(4.c.17,4.g),4]];5(4.c.5q){1G(a G=4.c.5q.1k-1;G>=0;G--){a I=B(4.c.5q[G]);1G(a E=I.1k-1;E>=0;E--){a H=B.19(I[E],"1p");5(H&&!H.c.1K){F.2I([B.3x(H.c.17)?H.c.17.1e(H.g):B(H.c.17,H.g),H]);4.18.2I(H)}}}}1G(a G=F.1k-1;G>=0;G--){F[G][0].1x(b(){B.19(4,"1p-1A",F[G][1]);D.2I({1A:B(4),11:F[G][1],h:0,j:0,6:0,8:0})})}},3Z:b(D){5(4.1b){a C=4.1b.k();4.k.t={8:C.8+4.41.8,6:C.6+4.41.6}}1G(a F=4.17.1k-1;F>=0;F--){5(4.17[F].11!=4.44&&4.44&&4.17[F].1A[0]!=4.Z[0]){2N}a E=4.c.5C?B(4.c.5C,4.17[F].1A):4.17[F].1A;5(!D){4.17[F].h=E[0].2Y;4.17[F].j=E[0].2Q}a G=E.k();4.17[F].6=G.6;4.17[F].8=G.8}5(4.c.5p&&4.c.5p.5Y){4.c.5p.5Y.1e(4)}1r{1G(a F=4.18.1k-1;F>=0;F--){a G=4.18[F].g.k();4.18[F].2c.6=G.6;4.18[F].2c.8=G.8;4.18[F].2c.h=4.18[F].g.22();4.18[F].2c.j=4.18[F].g.27()}}},3i:b(){4.g.2t("d-1p d-1p-1K").37("1p").38(".1p");4.4L();1G(a C=4.17.1k-1;C>=0;C--){4.17[C].1A.37("1p-1A")}},5x:b(E){a C=E||4,F=C.c;5(F.1v.4N==5r){a D=F.1v;F.1v={g:b(){l B("<2h></2h>").1F(D)[0]},3K:b(G,H){H.f(G.k()).f({h:G.22(),j:G.27()})}}}C.1v=B(F.1v.g.1e(C.g,C.Z)).2e("1q").f({o:"1i"});F.1v.3K.1e(C.g,C.Z,C.1v)},5U:b(F){1G(a D=4.18.1k-1;D>=0;D--){5(4.5M(4.18[D].2c)){5(!4.18[D].2c.2f){5(4.44!=4.18[D]){a I=76;a H=1s;a E=4.1D[4.18[D].2K?"6":"8"];1G(a C=4.17.1k-1;C>=0;C--){5(!A(4.18[D].g[0],4.17[C].1A[0])){2N}a G=4.17[C][4.18[D].2K?"6":"8"];5(1z.2l(G-E)<I){I=1z.2l(G-E);H=4.17[C]}}5(!H&&!4.c.6e){2N}5(4.1v){4.1v.1Z()}5(4.18[D].c.1v){4.18[D].5x(4)}1r{4.1v=1s}4.44=4.18[D];H?4.4x(F,H,1s,15):4.4x(F,1s,4.18[D].g,15);4.1g("5t",F);4.18[D].1g("5t",F,4)}4.18[D].1g("2f",F,4);4.18[D].2c.2f=1}}1r{5(4.18[D].2c.2f){4.18[D].1g("2X",F,4);4.18[D].2c.2f=0}}}},4G:b(G,F){5(4.c.1K||4.c.5w=="3G"){l u}4.4E();a E=1s,D=4,C=B(G.2y).49().1x(b(){5(B.19(4,"1p-1A")==D){E=B(4);l u}});5(B.19(G.2y,"1p-1A")==D){E=B(G.2y)}5(!E){l u}5(4.c.1I&&!F){a H=u;B(4.c.1I,E).4u("*").62().1x(b(){5(4==G.2y){H=15}});5(!H){l u}}4.Z=E;l 15},3a:b(H,F,C){a J=4.c;4.44=4;4.3Z();4.m=2J J.m=="b"?B(J.m.1W(4.g[0],[H,4.Z])):4.Z.2M();5(!4.m.49("1q").1k){B(J.2e!="t"?J.2e:4.Z[0].21)[0].61(4.m[0])}4.m.f({o:"1i",3b:"7D"}).1F("d-1p-m");4.1w={6:(v(4.Z.f("4b"),10)||0),8:(v(4.Z.f("4a"),10)||0)};4.k=4.Z.k();4.k={8:4.k.8-4.1w.8,6:4.k.6-4.1w.6};4.k.14={6:H.1Q-4.k.6,8:H.1P-4.k.8};4.1b=4.m.1b();a D=4.1b.k();4.41={8:(v(4.1b.f("3c"),10)||0),6:(v(4.1b.f("36"),10)||0)};4.k.t={8:D.8+4.41.8,6:D.6+4.41.6};4.1o=4.3C(H);4.5o={3I:4.Z.3I()[0],t:4.Z.t()[0]};4.13={h:4.m.22(),j:4.m.27()};5(J.1v){4.5x()}4.1g("1J",H);4.13={h:4.m.22(),j:4.m.27()};5(J.1M){5(J.1M.6!=2F){4.k.14.6=J.1M.6}5(J.1M.29!=2F){4.k.14.6=4.13.h-J.1M.29}5(J.1M.8!=2F){4.k.14.8=J.1M.8}5(J.1M.2g!=2F){4.k.14.8=4.13.j-J.1M.2g}}5(J.r){5(J.r=="t"){J.r=4.m[0].21}5(J.r=="p"||J.r=="2a"){4.r=[0-4.k.t.6,0-4.k.t.8,B(J.r=="p"?p:2a).h()-4.k.t.6-4.13.h-4.1w.6-(v(4.g.f("35"),10)||0),(B(J.r=="p"?p:2a).j()||p.1q.21.3D)-4.k.t.8-4.13.j-4.1w.8-(v(4.g.f("33"),10)||0)]}5(!(/^(p|2a|t)$/).12(J.r)){a G=B(J.r)[0];a I=B(J.r).k();4.r=[I.6+(v(B(G).f("36"),10)||0)-4.k.t.6,I.8+(v(B(G).f("3c"),10)||0)-4.k.t.8,I.6+1z.3U(G.5y,G.2Y)-(v(B(G).f("36"),10)||0)-4.k.t.6-4.13.h-4.1w.6-(v(4.Z.f("35"),10)||0),I.8+1z.3U(G.3D,G.2Q)-(v(B(G).f("3c"),10)||0)-4.k.t.8-4.13.j-4.1w.8-(v(4.Z.f("33"),10)||0)]}}5(4.c.1v!="2M"){4.Z.f("68","4s")}5(!C){1G(a E=4.18.1k-1;E>=0;E--){4.18[E].1g("34",H,4)}}5(B.d.1l){B.d.1l.2W=4}5(B.d.1l&&!J.4y){B.d.1l.4r(4,H)}4.43=15;4.2D(H);l 15},24:b(D,E){5(!E){E=4.o}a C=D=="1i"?1:-1;l{8:(E.8+4.k.t.8*C-(4.1b[0]==p.1q?0:4.1b[0].1c)*C+4.1w.8*C),6:(E.6+4.k.t.6*C-(4.1b[0]==p.1q?0:4.1b[0].1d)*C+4.1w.6*C)}},3C:b(F){a G=4.c;a C={8:(F.1P-4.k.14.8-4.k.t.8+(4.1b[0]==p.1q?0:4.1b[0].1c)),6:(F.1Q-4.k.14.6-4.k.t.6+(4.1b[0]==p.1q?0:4.1b[0].1d))};5(!4.1o){l C}5(4.r){5(C.6<4.r[0]){C.6=4.r[0]}5(C.8<4.r[1]){C.8=4.r[1]}5(C.6>4.r[2]){C.6=4.r[2]}5(C.8>4.r[3]){C.8=4.r[3]}}5(G.1m){a E=4.1o.8+1z.3w((C.8-4.1o.8)/G.1m[1])*G.1m[1];C.8=4.r?(!(E<4.r[1]||E>4.r[3])?E:(!(E<4.r[1])?E-G.1m[1]:E+G.1m[1])):E;a D=4.1o.6+1z.3w((C.6-4.1o.6)/G.1m[0])*G.1m[0];C.6=4.r?(!(D<4.r[0]||D>4.r[2])?D:(!(D<4.r[0])?D-G.1m[0]:D+G.1m[0])):D}l C},2D:b(D){4.o=4.3C(D);4.1D=4.24("1i");B.d.1j.1e(4,"2U",[D,4.d()]);4.1D=4.24("1i");4.m[0].2A.6=4.o.6+"23";4.m[0].2A.8=4.o.8+"23";1G(a C=4.17.1k-1;C>=0;C--){a E=4.5S(4.17[C]);5(!E){2N}5(4.17[C].1A[0]!=4.Z[0]&&4.Z[E==1?"6J":"3I"]()[0]!=4.17[C].1A[0]&&!A(4.Z[0],4.17[C].1A[0])&&(4.c.5w=="6D-6F"?!A(4.g[0],4.17[C].1A[0]):15)){4.5W=E==1?"63":"6G";4.4x(D,4.17[C]);4.1g("5t",D);3o}}4.5U(D);5(B.d.1l){B.d.1l.2x(4,D)}4.g.2k("2U",[D,4.d()],4.c.2U);l u},4x:b(H,G,D,F){D?D[0].61(4.Z[0]):G.1A[0].21.6H(4.Z[0],(4.5W=="63"?G.1A[0]:G.1A[0].72));4.3Y=4.3Y?++4.3Y:1;a E=4,C=4.3Y;2a.5H(b(){5(C==E.3Y){E.3Z(!F)}},0);5(4.c.1v){4.c.1v.3K.1e(4.g,4.Z,4.1v)}},31:b(E,D){5(B.d.1l&&!4.c.4y){B.d.1l.2v(4,E)}5(4.c.2w){a C=4;a F=C.Z.k();5(C.1v){C.1v.2n({1T:"5z"},(v(4.c.2w,10)||5n)-50)}B(4.m).2n({6:F.6-4.k.t.6-C.1w.6+(4.1b[0]==p.1q?0:4.1b[0].1d),8:F.8-4.k.t.8-C.1w.8+(4.1b[0]==p.1q?0:4.1b[0].1c)},v(4.c.2w,10)||5n,b(){C.3b(E)})}1r{4.3b(E,D)}l u},3b:b(E,D){5(4.5o.3I!=4.Z.3I().4z(".d-1p-m")[0]||4.5o.t!=4.Z.t()[0]){4.1g("3K",E,1s,D)}5(!A(4.g[0],4.Z[0])){4.1g("1Z",E,1s,D);1G(a C=4.18.1k-1;C>=0;C--){5(A(4.18[C].g[0],4.Z[0])){4.18[C].1g("3K",E,4,D);4.18[C].1g("69",E,4,D)}}}1G(a C=4.18.1k-1;C>=0;C--){4.18[C].1g("3d",E,4,D);5(4.18[C].2c.2f){4.18[C].1g("2X",E,4);4.18[C].2c.2f=0}}4.43=u;5(4.3l){4.1g("1O",E,1s,D);l u}B(4.Z).f("68","");5(4.1v){4.1v.1Z()}4.m.1Z();4.m=1s;4.1g("1O",E,1s,D);l 15}}));B.1E(B.d.1p,{65:"67 6d",2P:{m:"2M",2E:"5m",4c:1,3s:0,2s:15,1L:20,1H:20,3t:":3R",17:"> *",1u:5u,6e:15,2e:"t"}});B.d.1j.1y("1p","1f",{1J:b(E,D){a C=B("1q");5(C.f("1f")){D.c.3n=C.f("1f")}C.f("1f",D.c.1f)},1O:b(D,C){5(C.c.3n){B("1q").f("1f",C.c.3n)}}});B.d.1j.1y("1p","1u",{1J:b(E,D){a C=D.m;5(C.f("1u")){D.c.3p=C.f("1u")}C.f("1u",D.c.1u)},1O:b(D,C){5(C.c.3p){B(C.m).f("1u",C.c.3p)}}});B.d.1j.1y("1p","1T",{1J:b(E,D){a C=D.m;5(C.f("1T")){D.c.3B=C.f("1T")}C.f("1T",D.c.1T)},1O:b(D,C){5(C.c.3B){B(C.m).f("1T",C.c.3B)}}});B.d.1j.1y("1p","2s",{1J:b(E,D){a F=D.c;a C=B(4).19("1p");C.1B=b(G){4I{5(/26|2s/.12(G.f("2r"))||(/26|2s/).12(G.f("2r-y"))){l G}G=G.t()}47(G[0].21);l B(p)}(C.Z);C.1C=b(G){4I{5(/26|2s/.12(G.f("2r"))||(/26|2s/).12(G.f("2r-x"))){l G}G=G.t()}47(G[0].21);l B(p)}(C.Z);5(C.1B[0]!=p&&C.1B[0].2Z!="2S"){C.3A=C.1B.k()}5(C.1C[0]!=p&&C.1C[0].2Z!="2S"){C.3g=C.1C.k()}},2U:b(E,D){a F=D.c;a C=B(4).19("1p");5(C.1B[0]!=p&&C.1B[0].2Z!="2S"){5((C.3A.8+C.1B[0].2Q)-E.1P<F.1L){C.1B[0].1c=C.1B[0].1c+F.1H}5(E.1P-C.3A.8<F.1L){C.1B[0].1c=C.1B[0].1c-F.1H}}1r{5(E.1P-B(p).1c()<F.1L){B(p).1c(B(p).1c()-F.1H)}5(B(2a).j()-(E.1P-B(p).1c())<F.1L){B(p).1c(B(p).1c()+F.1H)}}5(C.1C[0]!=p&&C.1C[0].2Z!="2S"){5((C.3g.6+C.1C[0].2Y)-E.1Q<F.1L){C.1C[0].1d=C.1C[0].1d+F.1H}5(E.1Q-C.3g.6<F.1L){C.1C[0].1d=C.1C[0].1d-F.1H}}1r{5(E.1Q-B(p).1d()<F.1L){B(p).1d(B(p).1d()-F.1H)}5(B(2a).h()-(E.1Q-B(p).1d())<F.1L){B(p).1d(B(p).1d()+F.1H)}}}});B.d.1j.1y("1p","1Y",{2U:b(E,D){a C=B(4).19("1p");5(D.c.1Y=="y"){C.o.6=C.1o.6}5(D.c.1Y=="x"){C.o.8=C.1o.8}}})})(3O);',62,498,'||||this|if|left||top||var|function|options|ui||css|element|width||height|offset|return|helper||position|document|resizable|containment||parent|false|parseInt||||size||||||||||||||||||||||||||currentItem||instance|test|helperProportions|click|true||items|containers|data|relative|offsetParent|scrollTop|scrollLeft|call|cursor|propagate|draggable|absolute|plugin|length|ddmanager|grid|resize|originalPosition|sortable|body|else|null|0px|zIndex|placeholder|margins|each|add|Math|item|overflowY|overflowX|positionAbs|extend|addClass|for|scrollSpeed|handle|start|disabled|scrollSensitivity|cursorAt|handles|stop|pageY|pageX|nw|se|opacity|browser|sw|apply|ne|axis|remove||parentNode|outerWidth|px|convertPositionTo||auto|outerHeight|cssPosition|right|window|ghost|containerCache|droppable|appendTo|over|bottom|div|originalSize|get|triggerHandler|abs|4px|animate|alsoResize|aspectRatio|isover|overflow|scroll|removeClass|fixed|drop|revert|drag|target|_change|style|accept|proportionallyResize|mouseDrag|tolerance|undefined|knobHandles|widget|push|typeof|floating|_mouseStarted|clone|continue|plugins|defaults|offsetHeight|widgetName|HTML|0pt|sort|sizeDiff|current|out|offsetWidth|tagName|isout|mouseStop|msie|marginBottom|activate|marginRight|borderLeftWidth|removeData|unbind|snapElements|mouseStart|clear|borderTopWidth|deactivate|attr|bind|overflowXOffset|droppables|destroy|disableSelection|isOver|cancelHelperRemoval|intersect|_cursor|break|_zIndex|display|borderDif|delay|cancel|_handles|arguments|round|isFunction|stack|init|overflowYOffset|_opacity|generatePosition|scrollHeight|parentData|mouse|static|cssCache|prev|is|update|knob|_proportionallyResize|absolutePosition|jQuery|none|containerOffset|input|hasScroll|prototype|max|minHeight|setData|unselectable|counter|refreshPositions|minWidth|offsetParentBorders|_aspectRatio|dragging|currentContainer||visible|while|mouseUp|parents|marginTop|marginLeft|distance|shiftKey|mouseInit|maxWidth|containerPosition|version|block|containerSize|maxHeight|transparent|textarea|string|resizing|activeClass|iframeFix|prepareOffsets|hidden|_mouseDelayMet|find|sortables|hoverClass|rearrange|dropBehaviour|not|min|clickOffset|proportions|case|refreshItems|split|mouseCapture|_mouseDownEvent|do|join|match|mouseDestroy|class|constructor|100|_mouseMoveDelegate|getData|fn|mouseDelayMet|containerElement|_mouseUpDelegate|uiHash|snap|preserveCursor|mouseDistanceMet|original||borderRight|button|_nodeName|knobTheme|autohide|originalElement|in|wrapper|1px|background|documentScroll|borderBottom|preventDefault|borderLeft|elementOffset|borderTop|_helper|alsoresize|removeChild|margin|_updateCache|guess|500|domPosition|custom|connectWith|String|pointer|change|1000|nodeName|type|createPlaceholder|scrollWidth|hide|expression|select|toleranceElement|show|key|refresh|mouseDown|setTimeout|widgetBaseClass|_renderAxis|append|className|intersectsWith|solid|greedy|8px|F2F2F2|greedyChild|intersectsWithEdge|on|contactContainers|_mouseUnselectable|direction|defaultTheme|refreshContainers|sender|default|appendChild|andSelf|down|id|getter|autoHide|serialize|visibility|receive|opera|MozUserSelect|object|toArray|dropOnEmpty|number|5000px|mousemove|mouseMove|innerHeight|mouseup|innerWidth|_renderProxy|safari|compareDocumentPosition|shouldRevert|_updateRatio|connectToSortable|_respectSize|snapMode|originalMousePosition|contains|dragstart|_mouseDelayTimer|sortactivate|fromSortable|mozilla|eq|which|semi|sortreceive|dynamic|up|insertBefore|toSortable|next|valid|switch|fit|snapTolerance|DragDropIframeFix|dropdeactivate|dropactivate|splice|dropover|dropout|001|inner|touch|group|makeArray|Function|iframe|filter|nextSibling|outer|fff|invalid|10000|paddingRight|paddingTop|paddingBottom|paddingLeft|522|map|borderBottomWidth|borderRightWidth|end|children|_|attribute|inArray|float|off|enableSelection|easing|animateEasing|slow|animateDuration|gen|duration|swing|step|try|catch|backgroundColor|rgba|instanceof|backgroundImage|proxy|forcePointerForContainers|both|all|started|trim|disable|zoom|wrap|808080|canvas|mousedown|img|border|enable|slice|new|mouseover|Array|hover|DEDEDE|Left|Top|fontSize|Bottom|Right|padding'.split('|'),0,{}))
/*
 * Thickbox 3 - One Box To Rule Them All.
 * By Cody Lindley (http://www.codylindley.com)
 * Copyright (c) 2007 cody lindley
 * Licensed under the MIT License: http://www.opensource.org/licenses/mit-license.php
*/

var tb_pathToImage = "/images/loadingAnimation.gif";

eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('$(o).2S(9(){1u(\'a.18, 3n.18, 3i.18\');1w=1p 1t();1w.L=2H});9 1u(b){$(b).s(9(){6 t=X.Q||X.1v||M;6 a=X.u||X.23;6 g=X.1N||P;19(t,a,g);X.2E();H P})}9 19(d,f,g){3m{3(2t o.v.J.2i==="2g"){$("v","11").r({A:"28%",z:"28%"});$("11").r("22","2Z");3(o.1Y("1F")===M){$("v").q("<U 5=\'1F\'></U><4 5=\'B\'></4><4 5=\'8\'></4>");$("#B").s(G)}}n{3(o.1Y("B")===M){$("v").q("<4 5=\'B\'></4><4 5=\'8\'></4>");$("#B").s(G)}}3(1K()){$("#B").1J("2B")}n{$("#B").1J("2z")}3(d===M){d=""}$("v").q("<4 5=\'K\'><1I L=\'"+1w.L+"\' /></4>");$(\'#K\').2y();6 h;3(f.O("?")!==-1){h=f.3l(0,f.O("?"))}n{h=f}6 i=/\\.2s$|\\.2q$|\\.2m$|\\.2l$|\\.2k$/;6 j=h.1C().2h(i);3(j==\'.2s\'||j==\'.2q\'||j==\'.2m\'||j==\'.2l\'||j==\'.2k\'){1D="";1G="";14="";1z="";1x="";R="";1n="";1r=P;3(g){E=$("a[@1N="+g+"]").36();25(D=0;((D<E.1c)&&(R===""));D++){6 k=E[D].u.1C().2h(i);3(!(E[D].u==f)){3(1r){1z=E[D].Q;1x=E[D].u;R="<1e 5=\'1X\'>&1d;&1d;<a u=\'#\'>2T &2R;</a></1e>"}n{1D=E[D].Q;1G=E[D].u;14="<1e 5=\'1U\'>&1d;&1d;<a u=\'#\'>&2O; 2N</a></1e>"}}n{1r=1b;1n="1t "+(D+1)+" 2L "+(E.1c)}}}S=1p 1t();S.1g=9(){S.1g=M;6 a=2x();6 x=a[0]-1M;6 y=a[1]-1M;6 b=S.z;6 c=S.A;3(b>x){c=c*(x/b);b=x;3(c>y){b=b*(y/c);c=y}}n 3(c>y){b=b*(y/c);c=y;3(b>x){c=c*(x/b);b=x}}13=b+30;1a=c+2G;$("#8").q("<a u=\'\' 5=\'1L\' Q=\'1o\'><1I 5=\'2F\' L=\'"+f+"\' z=\'"+b+"\' A=\'"+c+"\' 23=\'"+d+"\'/></a>"+"<4 5=\'2D\'>"+d+"<4 5=\'2C\'>"+1n+14+R+"</4></4><4 5=\'2A\'><a u=\'#\' 5=\'Z\' Q=\'1o\'>1l</a> 1k 1j 1s</4>");$("#Z").s(G);3(!(14==="")){9 12(){3($(o).N("s",12)){$(o).N("s",12)}$("#8").C();$("v").q("<4 5=\'8\'></4>");19(1D,1G,g);H P}$("#1U").s(12)}3(!(R==="")){9 1i(){$("#8").C();$("v").q("<4 5=\'8\'></4>");19(1z,1x,g);H P}$("#1X").s(1i)}o.1h=9(e){3(e==M){I=2w.2v}n{I=e.2u}3(I==27){G()}n 3(I==3k){3(!(R=="")){o.1h="";1i()}}n 3(I==3j){3(!(14=="")){o.1h="";12()}}};16();$("#K").C();$("#1L").s(G);$("#8").r({Y:"T"})};S.L=f}n{6 l=f.2r(/^[^\\?]+\\??/,\'\');6 m=2p(l);13=(m[\'z\']*1)+30||3h;1a=(m[\'A\']*1)+3g||3f;W=13-30;V=1a-3e;3(f.O(\'2j\')!=-1){1E=f.1B(\'3d\');$("#15").C();3(m[\'1A\']!="1b"){$("#8").q("<4 5=\'2f\'><4 5=\'1H\'>"+d+"</4><4 5=\'2e\'><a u=\'#\' 5=\'Z\' Q=\'1o\'>1l</a> 1k 1j 1s</4></4><U 1W=\'0\' 2d=\'0\' L=\'"+1E[0]+"\' 5=\'15\' 1v=\'15"+1f.2c(1f.1y()*2b)+"\' 1g=\'1m()\' J=\'z:"+(W+29)+"p;A:"+(V+17)+"p;\' > </U>")}n{$("#B").N();$("#8").q("<U 1W=\'0\' 2d=\'0\' L=\'"+1E[0]+"\' 5=\'15\' 1v=\'15"+1f.2c(1f.1y()*2b)+"\' 1g=\'1m()\' J=\'z:"+(W+29)+"p;A:"+(V+17)+"p;\'> </U>")}}n{3($("#8").r("Y")!="T"){3(m[\'1A\']!="1b"){$("#8").q("<4 5=\'2f\'><4 5=\'1H\'>"+d+"</4><4 5=\'2e\'><a u=\'#\' 5=\'Z\'>1l</a> 1k 1j 1s</4></4><4 5=\'F\' J=\'z:"+W+"p;A:"+V+"p\'></4>")}n{$("#B").N();$("#8").q("<4 5=\'F\' 3c=\'3b\' J=\'z:"+W+"p;A:"+V+"p;\'></4>")}}n{$("#F")[0].J.z=W+"p";$("#F")[0].J.A=V+"p";$("#F")[0].3a=0;$("#1H").11(d)}}$("#Z").s(G);3(f.O(\'37\')!=-1){$("#F").q($(\'#\'+m[\'26\']).1T());$("#8").24(9(){$(\'#\'+m[\'26\']).q($("#F").1T())});16();$("#K").C();$("#8").r({Y:"T"})}n 3(f.O(\'2j\')!=-1){16();3($.1q.35){$("#K").C();$("#8").r({Y:"T"})}}n{$("#F").34(f+="&1y="+(1p 33().32()),9(){16();$("#K").C();1u("#F a.18");$("#8").r({Y:"T"})})}}3(!m[\'1A\']){o.21=9(e){3(e==M){I=2w.2v}n{I=e.2u}3(I==27){G()}}}}31(e){}}9 1m(){$("#K").C();$("#8").r({Y:"T"})}9 G(){$("#2Y").N("s");$("#Z").N("s");$("#8").2X("2W",9(){$(\'#8,#B,#1F\').2V("24").N().C()});$("#K").C();3(2t o.v.J.2i=="2g"){$("v","11").r({A:"1Z",z:"1Z"});$("11").r("22","")}o.1h="";o.21="";H P}9 16(){$("#8").r({2U:\'-\'+20((13/2),10)+\'p\',z:13+\'p\'});3(!(1V.1q.2Q&&1V.1q.2P<7)){$("#8").r({38:\'-\'+20((1a/2),10)+\'p\'})}}9 2p(a){6 b={};3(!a){H b}6 c=a.1B(/[;&]/);25(6 i=0;i<c.1c;i++){6 d=c[i].1B(\'=\');3(!d||d.1c!=2){39}6 e=2a(d[0]);6 f=2a(d[1]);f=f.2r(/\\+/g,\' \');b[e]=f}H b}9 2x(){6 a=o.2M;6 w=1S.2o||1R.2o||(a&&a.1Q)||o.v.1Q;6 h=1S.1P||1R.1P||(a&&a.2n)||o.v.2n;1O=[w,h];H 1O}9 1K(){6 a=2K.2J.1C();3(a.O(\'2I\')!=-1&&a.O(\'3o\')!=-1){H 1b}}',62,211,'|||if|div|id|var||TB_window|function||||||||||||||else|document|px|append|css|click||href|body||||width|height|TB_overlay|remove|TB_Counter|TB_TempArray|TB_ajaxContent|tb_remove|return|keycode|style|TB_load|src|null|unbind|indexOf|false|title|TB_NextHTML|imgPreloader|block|iframe|ajaxContentH|ajaxContentW|this|display|TB_closeWindowButton||html|goPrev|TB_WIDTH|TB_PrevHTML|TB_iframeContent|tb_position||thickbox|tb_show|TB_HEIGHT|true|length|nbsp|span|Math|onload|onkeydown|goNext|Esc|oder|schließen|tb_showIframe|TB_imageCount|Close|new|browser|TB_FoundURL|Key|Image|tb_init|name|imgLoader|TB_NextURL|random|TB_NextCaption|modal|split|toLowerCase|TB_PrevCaption|urlNoQuery|TB_HideSelect|TB_PrevURL|TB_ajaxWindowTitle|img|addClass|tb_detectMacXFF|TB_ImageOff|150|rel|arrayPageSize|innerHeight|clientWidth|self|window|children|TB_prev|jQuery|frameborder|TB_next|getElementById|auto|parseInt|onkeyup|overflow|alt|unload|for|inlineId||100||unescape|1000|round|hspace|TB_closeAjaxWindow|TB_title|undefined|match|maxHeight|TB_iframe|bmp|gif|png|clientHeight|innerWidth|tb_parseQuery|jpeg|replace|jpg|typeof|which|keyCode|event|tb_getPageSize|show|TB_overlayBG|TB_closeWindow|TB_overlayMacFFBGHack|TB_secondLine|TB_caption|blur|TB_Image|60|tb_pathToImage|mac|userAgent|navigator|of|documentElement|Prev|lt|version|msie|gt|ready|Next|marginLeft|trigger|fast|fadeOut|TB_imageOff|hidden||catch|getTime|Date|load|safari|get|TB_inline|marginTop|continue|scrollTop|TB_modal|class|TB_|45|440|40|630|input|188|190|substr|try|area|firefox'.split('|'),0,{}))/**
 * Cookie plugin
 *
 * Copyright (c) 2006 Klaus Hartl (stilbuero.de)
 * Dual licensed under the MIT and GPL licenses:
 * http://www.opensource.org/licenses/mit-license.php
 * http://www.gnu.org/licenses/gpl.html
 *
 */

/**
 * Create a cookie with the given name and value and other optional parameters.
 *
 * @example $.cookie('the_cookie', 'the_value');
 * @desc Set the value of a cookie.
 * @example $.cookie('the_cookie', 'the_value', { expires: 7, path: '/', domain: 'jquery.com', secure: true });
 * @desc Create a cookie with all available options.
 * @example $.cookie('the_cookie', 'the_value');
 * @desc Create a session cookie.
 * @example $.cookie('the_cookie', null);
 * @desc Delete a cookie by passing null as value. Keep in mind that you have to use the same path and domain
 *       used when the cookie was set.
 *
 * @param String name The name of the cookie.
 * @param String value The value of the cookie.
 * @param Object options An object literal containing key/value pairs to provide optional cookie attributes.
 * @option Number|Date expires Either an integer specifying the expiration date from now on in days or a Date object.
 *                             If a negative value is specified (e.g. a date in the past), the cookie will be deleted.
 *                             If set to null or omitted, the cookie will be a session cookie and will not be retained
 *                             when the the browser exits.
 * @option String path The value of the path atribute of the cookie (default: path of page that created the cookie).
 * @option String domain The value of the domain attribute of the cookie (default: domain of page that created the cookie).
 * @option Boolean secure If true, the secure attribute of the cookie will be set and the cookie transmission will
 *                        require a secure protocol (like HTTPS).
 * @type undefined
 *
 * @name $.cookie
 * @cat Plugins/Cookie
 * @author Klaus Hartl/klaus.hartl@stilbuero.de
 */

/**
 * Get the value of a cookie with the given name.
 *
 * @example $.cookie('the_cookie');
 * @desc Get the value of a cookie.
 *
 * @param String name The name of the cookie.
 * @return The value of the cookie.
 * @type String
 *
 * @name $.cookie
 * @cat Plugins/Cookie
 * @author Klaus Hartl/klaus.hartl@stilbuero.de
 */
jQuery.cookie = function(name, value, options) {
    if (typeof value != 'undefined') { // name and value given, set cookie
        options = options || {};
        if (value === null) {
            value = '';
            options.expires = -1;
        }
        var expires = '';
        if (options.expires && (typeof options.expires == 'number' || options.expires.toUTCString)) {
            var date;
            if (typeof options.expires == 'number') {
                date = new Date();
                date.setTime(date.getTime() + (options.expires * 24 * 60 * 60 * 1000));
            } else {
                date = options.expires;
            }
            expires = '; expires=' + date.toUTCString(); // use expires attribute, max-age is not supported by IE
        }
        // CAUTION: Needed to parenthesize options.path and options.domain
        // in the following expressions, otherwise they evaluate to undefined
        // in the packed version for some reason...
        var path = options.path ? '; path=' + (options.path) : '';
        var domain = options.domain ? '; domain=' + (options.domain) : '';
        var secure = options.secure ? '; secure' : '';
        document.cookie = [name, '=', encodeURIComponent(value), expires, path, domain, secure].join('');
    } else { // only name given, get cookie
        var cookieValue = null;
        if (document.cookie && document.cookie != '') {
            var cookies = document.cookie.split(';');
            for (var i = 0; i < cookies.length; i++) {
                var cookie = jQuery.trim(cookies[i]);
                // Does this cookie string begin with the name we want?
                if (cookie.substring(0, name.length + 1) == (name + '=')) {
                    cookieValue = decodeURIComponent(cookie.substring(name.length + 1));
                    break;
                }
            }
        }
        return cookieValue;
    }
};/*
 * jQuery corner plugin
 *
 * version 1.7 (1/26/2007)
 *
 * Dual licensed under the MIT and GPL licenses:
 *   http://www.opensource.org/licenses/mit-license.php
 *   http://www.gnu.org/licenses/gpl.html
 */

/**
 * The corner() method provides a simple way of styling DOM elements.  
 *
 * corner() takes a single string argument:  $().corner("effect corners width")
 *
 *   effect:  The name of the effect to apply, such as round or bevel. 
 *            If you don't specify an effect, rounding is used.
 *
 *   corners: The corners can be one or more of top, bottom, tr, tl, br, or bl. 
 *            By default, all four corners are adorned. 
 *
 *   width:   The width specifies the width of the effect; in the case of rounded corners this 
 *            will be the radius of the width. 
 *            Specify this value using the px suffix such as 10px, and yes it must be pixels.
 *
 * For more details see: http://methvin.com/jquery/jq-corner.html
 * For a full demo see:  http://malsup.com/jquery/corner/
 *
 *
 * @example $('.adorn').corner();
 * @desc Create round, 10px corners 
 *
 * @example $('.adorn').corner("25px");
 * @desc Create round, 25px corners 
 *
 * @example $('.adorn').corner("notch bottom");
 * @desc Create notched, 10px corners on bottom only
 *
 * @example $('.adorn').corner("tr dog 25px");
 * @desc Create dogeared, 25px corner on the top-right corner only
 *
 * @example $('.adorn').corner("round 8px").parent().css('padding', '4px').corner("round 10px");
 * @desc Create a rounded border effect by styling both the element and its parent
 * 
 * @name corner
 * @type jQuery
 * @param String options Options which control the corner style
 * @cat Plugins/Corner
 * @return jQuery
 * @author Dave Methvin (dave.methvin@gmail.com)
 * @author Mike Alsup (malsup@gmail.com)
 */
jQuery.fn.corner = function(o) {
    function hex2(s) {
        var s = parseInt(s).toString(16);
        return ( s.length < 2 ) ? '0'+s : s;
    };
    function gpc(node) {
        for ( ; node && node.nodeName.toLowerCase() != 'html'; node = node.parentNode  ) {
            var v = jQuery.css(node,'backgroundColor');
            if ( v.indexOf('rgb') >= 0 ) { 
                rgb = v.match(/\d+/g); 
                return '#'+ hex2(rgb[0]) + hex2(rgb[1]) + hex2(rgb[2]);
            }
            if ( v && v != 'transparent' )
                return v;
        }
        return '#ffffff';
    };
    function getW(i) {
        switch(fx) {
        case 'round':  return Math.round(width*(1-Math.cos(Math.asin(i/width))));
        case 'cool':   return Math.round(width*(1+Math.cos(Math.asin(i/width))));
        case 'sharp':  return Math.round(width*(1-Math.cos(Math.acos(i/width))));
        case 'bite':   return Math.round(width*(Math.cos(Math.asin((width-i-1)/width))));
        case 'slide':  return Math.round(width*(Math.atan2(i,width/i)));
        case 'jut':    return Math.round(width*(Math.atan2(width,(width-i-1))));
        case 'curl':   return Math.round(width*(Math.atan(i)));
        case 'tear':   return Math.round(width*(Math.cos(i)));
        case 'wicked': return Math.round(width*(Math.tan(i)));
        case 'long':   return Math.round(width*(Math.sqrt(i)));
        case 'sculpt': return Math.round(width*(Math.log((width-i-1),width)));
        case 'dog':    return (i&1) ? (i+1) : width;
        case 'dog2':   return (i&2) ? (i+1) : width;
        case 'dog3':   return (i&3) ? (i+1) : width;
        case 'fray':   return (i%2)*width;
        case 'notch':  return width; 
        case 'bevel':  return i+1;
        }
    };
    o = (o||"").toLowerCase();
    var keep = /keep/.test(o);                       // keep borders?
    var cc = ((o.match(/cc:(#[0-9a-f]+)/)||[])[1]);  // corner color
    var sc = ((o.match(/sc:(#[0-9a-f]+)/)||[])[1]);  // strip color
    var width = parseInt((o.match(/(\d+)px/)||[])[1]) || 10; // corner width
    var re = /round|bevel|notch|bite|cool|sharp|slide|jut|curl|tear|fray|wicked|sculpt|long|dog3|dog2|dog/;
    var fx = ((o.match(re)||['round'])[0]);
    var edges = { T:0, B:1 };
    var opts = {
        TL:  /top|tl/.test(o),       TR:  /top|tr/.test(o),
        BL:  /bottom|bl/.test(o),    BR:  /bottom|br/.test(o)
    };
    if ( !opts.TL && !opts.TR && !opts.BL && !opts.BR )
        opts = { TL:1, TR:1, BL:1, BR:1 };
    var strip = document.createElement('div');
    strip.style.overflow = 'hidden';
    strip.style.height = '1px';
    strip.style.backgroundColor = sc || 'transparent';
    strip.style.borderStyle = 'solid';
    return this.each(function(index){
        var pad = {
            T: parseInt(jQuery.css(this,'paddingTop'))||0,     R: parseInt(jQuery.css(this,'paddingRight'))||0,
            B: parseInt(jQuery.css(this,'paddingBottom'))||0,  L: parseInt(jQuery.css(this,'paddingLeft'))||0
        };

        if (jQuery.browser.msie) this.style.zoom = 1; // force 'hasLayout' in IE
        if (!keep) this.style.border = 'none';
        strip.style.borderColor = cc || gpc(this.parentNode);
        var cssHeight = jQuery.curCSS(this, 'height');

        for (var j in edges) {
            var bot = edges[j];
            strip.style.borderStyle = 'none '+(opts[j+'R']?'solid':'none')+' none '+(opts[j+'L']?'solid':'none');
            var d = document.createElement('div');
            var ds = d.style;

            bot ? this.appendChild(d) : this.insertBefore(d, this.firstChild);

            if (bot && cssHeight != 'auto') {
                if (jQuery.css(this,'position') == 'static')
                    this.style.position = 'relative';
                ds.position = 'absolute';
                ds.bottom = ds.left = ds.padding = ds.margin = '0';
                if (jQuery.browser.msie)
                    ds.setExpression('width', 'this.parentNode.offsetWidth');
                else
                    ds.width = '100%';
            }
            else {
                ds.margin = !bot ? '-'+pad.T+'px -'+pad.R+'px '+(pad.T-width)+'px -'+pad.L+'px' : 
                                    (pad.B-width)+'px -'+pad.R+'px -'+pad.B+'px -'+pad.L+'px';                
            }

            for (var i=0; i < width; i++) {
                var w = Math.max(0,getW(i));
                var e = strip.cloneNode(false);
                e.style.borderWidth = '0 '+(opts[j+'R']?w:0)+'px 0 '+(opts[j+'L']?w:0)+'px';
                bot ? d.appendChild(e) : d.insertBefore(e, d.firstChild);
            }
        }
    });
};
