function openWin(windowURL,windowName,windowFeatures){newWindow=window.open(windowURL,windowName,windowFeatures);if(newWindow!=undefined){newWindow.focus()}}var aktiv,letztes=null,letztesaufzu=null;function zu(welches){document.getElementById(welches).style.display='none';return false}function auf(welches){document.getElementById(welches).style.display='block';return false}function aufzu(welches){if(document.getElementById(welches).style.display=='block'){document.getElementById(welches).style.display='none'}else{document.getElementById(welches).style.display='none';document.getElementById(welches).style.display='block'}void(0)}function aufzuauto(welches){if(letztesaufzu!=null&&letztesaufzu!=welches){document.getElementById(letztesaufzu).style.display='none';letztesaufzu=null}if(document.getElementById(welches).style.display=='block'){document.getElementById(welches).style.display='none'}else{document.getElementById(welches).style.display='none';document.getElementById(welches).style.display='block';letztesaufzu=welches}void(0)}function nurzu(){if(letztes!=null){document.getElementById(letztes).style.display='none';clearTimeout(aktiv);letztes=null}return false}function nurauf(aktuelles){if(letztes!=null){clearTimeout(aktiv);document.getElementById(letztes).style.display='none'}document.getElementById(aktuelles).style.display='block';letztes=aktuelles;return false}function nurzutimer(){aktiv=setTimeout('verzoegern()',1000)}function verzoegern(){if(letztes!=null){document.getElementById(letztes).style.display='none';letztes=null}return false}function stop(){clearTimeout(aktiv)}function InsertBookmark(sUrl,sTitle){if(window.sidebar){window.sidebar.addPanel(sTitle,sUrl,"")}else if(window.external){window.external.AddFavorite(sUrl,sTitle)}}function CreateBookmarkLink(sUrl,sTitle,sLink,sClass){if(sClass==null){sClass=''}if(sClass!=''){sClass=' class="'+sClass+'"'}document.write('<a'+sClass+' href="javascript:InsertBookmark(\''+sUrl+'\',\''+sTitle+'\');">'+sLink+'</a>')}function CreateContactLink(sWo,sWer,sWem,sParameter,sImg,sText,sSub){var sClick='';if(sParameter!=''&&sParameter!=undefined){sParameter=' '+sParameter}else{sParameter=''}if(sSub!=''&&sSub!=undefined){sSub='?subject='+sSub}else{sSub=''}if(typeof(_gaq)!='undefined'){if(sParameter.indexOf('onclick')<0){if(typeof(aZTMultiCode)!='undefined'){var aCode=aZTMultiCode}if(typeof(aCode)=='undefined'){var aCode=['']}sClick=' onclick="';for(var lZTZahler=0;lZTZahler<aCode.length;lZTZahler++){sClick=sClick+'_gaq.push([\''+aCode[lZTZahler]+'_trackEvent\', \'Standard-Events\', \'E-Mail-Click\', \''+sWo+','+sWer+'#'+sWem+'\', ,true]);'}sClick=sClick+'"'}else{}}if(sImg!=''&&sImg!=undefined){document.write('<a'+sParameter+sClick+' href="mailto:'+sWem+'@'+sWer+'.'+sWo+sSub+'"><img src="'+sImg+'" alt="" /></a>')}else if(sText!=''&&sText!=undefined){document.write('<a'+sParameter+sClick+' href="mailto:'+sWem+'@'+sWer+'.'+sWo+sSub+'">'+sText+'</a>')}else{document.write('<a'+sParameter+sClick+' href="mailto:'+sWem+'@'+sWer+'.'+sWo+sSub+'">'+sWem+'@'+sWer+'.'+sWo+'</a>')}}function outgoingLinkTracking(){if(typeof(_gaq)!='undefined'){$$('a').each(function(o){if(o.readAttribute('onclick')===null&&o.href.indexOf(window.location.hostname)<0&&o.href.indexOf('media.bookingpilot.info')<0&&o.href.indexOf('http')>-1){o.onclick=function(){if(typeof(aZTMultiCode)!='undefined'){var aCode=aZTMultiCode}if(typeof(aCode)=='undefined'){var aCode=['']}for(var lZTZahler=0;lZTZahler<aCode.length;lZTZahler++){_gaq.push([aCode[lZTZahler]+'_trackEvent','Standard-Events','Outgoing-Click',o.href.substring(o.href.indexOf('://')+3,o.href.indexOf('/',o.href.indexOf('://')+3)),,true])}}}})}}window.onload=function(){if(typeof(Prototype)!='undefined'){outgoingLinkTracking()}};function loschen(oThis,sDeleteThis){var bSetParentClass;if(oThis.value==sDeleteThis)oThis.value='';if((oThis.parentNode.tagName.toLowerCase()=='span')&&(oThis.parentNode.className==oThis.className)){bSetParentClass=true}else{bSetParentClass=false}if(oThis.className.search(/fehler/)!=-1){oThis.className=oThis.className.replace(/fehler/,'aktiv')}else{if(oThis.className.search(/aktiv/)==-1){oThis.className=oThis.className+' aktiv'}}if(bSetParentClass){oThis.parentNode.className=oThis.className}return false}function IsEnter(oEvent,sFunction){if(oEvent.keyCode==13&&!oEvent.shiftKey){window.setTimeout(sFunction,1)}return false}function UrlEncode(string){if(string=='undefined'){return''}else{return escape(utf8_encode(string))}}function UrlDecode(string){string=string.replace(/\+/g,' ');if(string=='undefined'){return''}else{return utf8_decode(unescape(string))}}function utf8_encode(string){string=string.replace(/\r\n/g,"\n");var utftext="";for(var n=0;n<string.length;n++){var c=string.charCodeAt(n);if(c<128){utftext+=String.fromCharCode(c)}else if((c>127)&&(c<2048)){utftext+=String.fromCharCode((c>>6)|192);utftext+=String.fromCharCode((c&63)|128)}else{utftext+=String.fromCharCode((c>>12)|224);utftext+=String.fromCharCode(((c>>6)&63)|128);utftext+=String.fromCharCode((c&63)|128)}}return utftext}function utf8_decode(utftext){var string="";var i=0;var c=c1=c2=0;while(i<utftext.length){c=utftext.charCodeAt(i);if(c<128){string+=String.fromCharCode(c);i++}else if((c>191)&&(c<224)){c2=utftext.charCodeAt(i+1);string+=String.fromCharCode(((c&31)<<6)|(c2&63));i+=2}else{c2=utftext.charCodeAt(i+1);c3=utftext.charCodeAt(i+2);string+=String.fromCharCode(((c&15)<<12)|((c2&63)<<6)|(c3&63));i+=3}}return string}
(function(){var window=this,undefined,_jQuery=window.jQuery,_$=window.$,jQuery=window.jQuery=window.$=function(selector,context){return new jQuery.fn.init(selector,context)},quickExpr=/^[^<]*(<(.|\s)+>)[^>]*$|^#([\w-]+)$/,isSimple=/^.[^:#\[\.,]*$/;jQuery.fn=jQuery.prototype={init:function(selector,context){selector=selector||document;if(selector.nodeType){this[0]=selector;this.length=1;this.context=selector;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&&elem.id!=match[3])return jQuery().find(selector);var ret=jQuery(elem||[]);ret.context=document;ret.selector=selector;return ret}}else return jQuery(context).find(selector)}else if(jQuery.isFunction(selector))return jQuery(document).ready(selector);if(selector.selector&&selector.context){this.selector=selector.selector;this.context=selector.context}return this.setArray(jQuery.isArray(selector)?selector:jQuery.makeArray(selector))},selector:"",jquery:"1.3.2",size:function(){return this.length},get:function(num){return num===undefined?Array.prototype.slice.call(this):this[num]},pushStack:function(elems,name,selector){var ret=jQuery(elems);ret.prevObject=this;ret.context=this.context;if(name==="find")ret.selector=this.selector+(this.selector?" ":"")+selector;else if(name)ret.selector=this.selector+"."+name+"("+selector+")";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){return jQuery.inArray(elem&&elem.jquery?elem[0]:elem,this)},attr:function(name,value,type){var options=name;if(typeof name==="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]){var wrap=jQuery(html,this[0].ownerDocument).clone();if(this[0].parentNode)wrap.insertBefore(this[0]);wrap.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,function(elem){if(this.nodeType==1)this.appendChild(elem)})},prepend:function(){return this.domManip(arguments,true,function(elem){if(this.nodeType==1)this.insertBefore(elem,this.firstChild)})},before:function(){return this.domManip(arguments,false,function(elem){this.parentNode.insertBefore(elem,this)})},after:function(){return this.domManip(arguments,false,function(elem){this.parentNode.insertBefore(elem,this.nextSibling)})},end:function(){return this.prevObject||jQuery([])},push:[].push,sort:[].sort,splice:[].splice,find:function(selector){if(this.length===1){var ret=this.pushStack([],"find",selector);ret.length=0;jQuery.find(selector,this[0],ret);return ret}else{return this.pushStack(jQuery.unique(jQuery.map(this,function(elem){return jQuery.find(selector,elem)})),"find",selector)}},clone:function(events){var ret=this.map(function(){if(!jQuery.support.noCloneEvent&&!jQuery.isXMLDoc(this)){var html=this.outerHTML;if(!html){var div=this.ownerDocument.createElement("div");div.appendChild(this.cloneNode(true));html=div.innerHTML}return jQuery.clean([html.replace(/ jQuery\d+="(?:\d+|null)"/g,"").replace(/^\s*/,"")])[0]}else return this.cloneNode(true)});if(events===true){var orig=this.find("*").andSelf(),i=0;ret.find("*").andSelf().each(function(){if(this.nodeName!==orig[i].nodeName)return;var events=jQuery.data(orig[i],"events");for(var type in events){for(var handler in events[type]){jQuery.event.add(this,type,events[type][handler],events[type][handler].data)}}i++})}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,jQuery.grep(this,function(elem){return elem.nodeType===1})),"filter",selector)},closest:function(selector){var pos=jQuery.expr.match.POS.test(selector)?jQuery(selector):null,closer=0;return this.map(function(){var cur=this;while(cur&&cur.ownerDocument){if(pos?pos.index(cur)>-1:jQuery(cur).is(selector)){jQuery.data(cur,"closest",closer);return cur}cur=cur.parentNode;closer++}})},not:function(selector){if(typeof selector==="string")if(isSimple.test(selector))return this.pushStack(jQuery.multiFilter(selector,this,true),"not",selector);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!!selector&&this.is("."+selector)},val:function(value){if(value===undefined){var elem=this[0];if(elem){if(jQuery.nodeName(elem,'option'))return(elem.attributes.value||{}).specified?elem.value:elem.text;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(option).val();if(one)return value;values.push(value)}}return values}return(elem.value||"").replace(/\r/g,"")}return undefined}if(typeof value==="number")value+='';return this.each(function(){if(this.nodeType!=1)return;if(jQuery.isArray(value)&&/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.replace(/ jQuery\d+="(?:\d+|null)"/g,""):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),"slice",Array.prototype.slice.call(arguments).join(","))},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)},domManip:function(args,table,callback){if(this[0]){var fragment=(this[0].ownerDocument||this[0]).createDocumentFragment(),scripts=jQuery.clean(args,(this[0].ownerDocument||this[0]),fragment),first=fragment.firstChild;if(first)for(var i=0,l=this.length;i<l;i++)callback.call(root(this[i],first),this.length>1||i>0?fragment.cloneNode(true):fragment);if(scripts)jQuery.each(scripts,evalScript)}return this;function root(elem,cur){return table&&jQuery.nodeName(elem,"table")&&jQuery.nodeName(cur,"tr")?(elem.getElementsByTagName("tbody")[0]||elem.appendChild(elem.ownerDocument.createElement("tbody"))):elem}}};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(typeof target==="boolean"){deep=target;target=arguments[1]||{};i=2}if(typeof target!=="object"&&!jQuery.isFunction(target))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 exclude=/z-?index|font-?weight|opacity|zoom|line-?height/i,defaultView=document.defaultView||{},toString=Object.prototype.toString;jQuery.extend({noConflict:function(deep){window.$=_$;if(deep)window.jQuery=_jQuery;return jQuery},isFunction:function(obj){return toString.call(obj)==="[object Function]"},isArray:function(obj){return toString.call(obj)==="[object Array]"},isXMLDoc:function(elem){return elem.nodeType===9&&elem.documentElement.nodeName!=="HTML"||!!elem.ownerDocument&&jQuery.isXMLDoc(elem.ownerDocument)},globalEval:function(data){if(data&&/\S/.test(data)){var head=document.getElementsByTagName("head")[0]||document.documentElement,script=document.createElement("script");script.type="text/javascript";if(jQuery.support.scriptEval)script.appendChild(document.createTextNode(data));else script.text=data;head.insertBefore(script,head.firstChild);head.removeChild(script)}},nodeName:function(elem,name){return elem.nodeName&&elem.nodeName.toUpperCase()==name.toUpperCase()},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 typeof value==="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 elem&&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,extra){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;if(extra==="border")return;jQuery.each(which,function(){if(!extra)val-=parseFloat(jQuery.curCSS(elem,"padding"+this,true))||0;if(extra==="margin")val+=parseFloat(jQuery.curCSS(elem,"margin"+this,true))||0;else val-=parseFloat(jQuery.curCSS(elem,"border"+this+"Width",true))||0})}if(elem.offsetWidth!==0)getWH();else jQuery.swap(elem,props,getWH);return Math.max(0,Math.round(val))}return jQuery.curCSS(elem,name,force)},curCSS:function(elem,name,force){var ret,style=elem.style;if(name=="opacity"&&!jQuery.support.opacity){ret=jQuery.attr(style,"opacity");return ret==""?"1":ret}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)ret=computedStyle.getPropertyValue(name);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,fragment){context=context||document;if(typeof context.createElement==="undefined")context=context.ownerDocument||context[0]&&context[0].ownerDocument||document;if(!fragment&&elems.length===1&&typeof elems[0]==="string"){var match=/^<(\w+)\s*\/?>$/.exec(elems[0]);if(match)return[context.createElement(match[1])]}var ret=[],scripts=[],div=context.createElement("div");jQuery.each(elems,function(i,elem){if(typeof elem==="number")elem+='';if(!elem)return;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=elem.replace(/^\s+/,"").substring(0,10).toLowerCase();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.support.htmlSerialize&&[1,"div<div>","</div>"]||[0,"",""];div.innerHTML=wrap[1]+elem+wrap[2];while(wrap[0]--)div=div.lastChild;if(!jQuery.support.tbody){var hasBody=/<tbody/i.test(elem),tbody=!tags.indexOf("<table")&&!hasBody?div.firstChild&&div.firstChild.childNodes:wrap[1]=="<table>"&&!hasBody?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(!jQuery.support.leadingWhitespace&&/^\s/.test(elem))div.insertBefore(context.createTextNode(elem.match(/^\s*/)[0]),div.firstChild);elem=jQuery.makeArray(div.childNodes)}if(elem.nodeType)ret.push(elem);else ret=jQuery.merge(ret,elem)});if(fragment){for(var i=0;ret[i];i++){if(jQuery.nodeName(ret[i],"script")&&(!ret[i].type||ret[i].type.toLowerCase()==="text/javascript")){scripts.push(ret[i].parentNode?ret[i].parentNode.removeChild(ret[i]):ret[i])}else{if(ret[i].nodeType===1)ret.splice.apply(ret,[i+1,0].concat(jQuery.makeArray(ret[i].getElementsByTagName("script"))));fragment.appendChild(ret[i])}}return scripts}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;name=notxml&&jQuery.props[name]||name;if(elem.tagName){var special=/href|src|style/.test(name);if(name=="selected"&&elem.parentNode)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;if(name=="tabIndex"){var attributeNode=elem.getAttributeNode("tabIndex");return attributeNode&&attributeNode.specified?attributeNode.value:elem.nodeName.match(/(button|input|object|select|textarea)/i)?0:elem.nodeName.match(/^(a|area)$/i)&&elem.href?0:undefined}return elem[name]}if(!jQuery.support.style&&notxml&&name=="style")return jQuery.attr(elem.style,"cssText",value);if(set)elem.setAttribute(name,""+value);var attr=!jQuery.support.hrefNormalized&&notxml&&special?elem.getAttribute(name,2):elem.getAttribute(name);return attr===null?undefined:attr}if(!jQuery.support.opacity&&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||typeof array==="string"||jQuery.isFunction(array)||array.setInterval)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.support.getAll){while((elem=second[i++])!=null)if(elem.nodeType!=8)first[pos++]=elem}else while((elem=second[i++])!=null)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.]+)/)||[0,'0'])[1],safari:/webkit/.test(userAgent),opera:/opera/.test(userAgent),msie:/msie/.test(userAgent)&&!/opera/.test(userAgent),mozilla:/mozilla/.test(userAgent)&&!/(compatible|webkit)/.test(userAgent)};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),name,selector)}});jQuery.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(name,original){jQuery.fn[name]=function(selector){var ret=[],insert=jQuery(selector);for(var i=0,l=insert.length;i<l;i++){var elems=(i>0?this.clone(true):this).get();jQuery.fn[original].apply(jQuery(insert[i]),elems);ret=ret.concat(elems)}return this.pushStack(ret,name,selector)}});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,state){if(typeof state!=="boolean")state=!jQuery.className.has(this,classNames);jQuery.className[state?"add":"remove"](this,classNames)},remove:function(selector){if(!selector||jQuery.filter(selector,[this]).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).children().remove();while(this.firstChild)this.removeChild(this.firstChild)}},function(name,fn){jQuery.fn[name]=function(){return this.each(fn,arguments)}});function num(elem,prop){return elem[0]&&parseInt(jQuery.curCSS(elem[0],prop,true),10)||0}var expando="jQuery"+now(),uuid=0,windowData={};jQuery.extend({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]}},queue:function(elem,type,data){if(elem){type=(type||"fx")+"queue";var q=jQuery.data(elem,type);if(!q||jQuery.isArray(data))q=jQuery.data(elem,type,jQuery.makeArray(data));else if(data)q.push(data)}return q},dequeue:function(elem,type){var queue=jQuery.queue(elem,type),fn=queue.shift();if(!type||type==="fx")fn=queue[0];if(fn!==undefined)fn.call(elem)}});jQuery.fn.extend({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)})},queue:function(type,data){if(typeof type!=="string"){data=type;type="fx"}if(data===undefined)return jQuery.queue(this[0],type);return this.each(function(){var queue=jQuery.queue(this,type,data);if(type=="fx"&&queue.length==1)queue[0].call(this)})},dequeue:function(type){return this.each(function(){jQuery.dequeue(this,type)})}});(function(){var chunker=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?/g,done=0,toString=Object.prototype.toString;var Sizzle=function(selector,context,results,seed){results=results||[];context=context||document;if(context.nodeType!==1&&context.nodeType!==9)return[];if(!selector||typeof selector!=="string"){return results}var parts=[],m,set,checkSet,check,mode,extra,prune=true;chunker.lastIndex=0;while((m=chunker.exec(selector))!==null){parts.push(m[1]);if(m[2]){extra=RegExp.rightContext;break}}if(parts.length>1&&origPOS.exec(selector)){if(parts.length===2&&Expr.relative[parts[0]]){set=posProcess(parts[0]+parts[1],context)}else{set=Expr.relative[parts[0]]?[context]:Sizzle(parts.shift(),context);while(parts.length){selector=parts.shift();if(Expr.relative[selector])selector+=parts.shift();set=posProcess(selector,set)}}}else{var ret=seed?{expr:parts.pop(),set:makeArray(seed)}:Sizzle.find(parts.pop(),parts.length===1&&context.parentNode?context.parentNode:context,isXML(context));set=Sizzle.filter(ret.expr,ret.set);if(parts.length>0){checkSet=makeArray(set)}else{prune=false}while(parts.length){var cur=parts.pop(),pop=cur;if(!Expr.relative[cur]){cur=""}else{pop=parts.pop()}if(pop==null){pop=context}Expr.relative[cur](checkSet,pop,isXML(context))}}if(!checkSet){checkSet=set}if(!checkSet){throw"Syntax error, unrecognized expression: "+(cur||selector)}if(toString.call(checkSet)==="[object Array]"){if(!prune){results.push.apply(results,checkSet)}else if(context.nodeType===1){for(var i=0;checkSet[i]!=null;i++){if(checkSet[i]&&(checkSet[i]===true||checkSet[i].nodeType===1&&contains(context,checkSet[i]))){results.push(set[i])}}}else{for(var i=0;checkSet[i]!=null;i++){if(checkSet[i]&&checkSet[i].nodeType===1){results.push(set[i])}}}}else{makeArray(checkSet,results)}if(extra){Sizzle(extra,context,results,seed);if(sortOrder){hasDuplicate=false;results.sort(sortOrder);if(hasDuplicate){for(var i=1;i<results.length;i++){if(results[i]===results[i-1]){results.splice(i--,1)}}}}}return results};Sizzle.matches=function(expr,set){return Sizzle(expr,null,null,set)};Sizzle.find=function(expr,context,isXML){var set,match;if(!expr){return[]}for(var i=0,l=Expr.order.length;i<l;i++){var type=Expr.order[i],match;if((match=Expr.match[type].exec(expr))){var left=RegExp.leftContext;if(left.substr(left.length-1)!=="\\"){match[1]=(match[1]||"").replace(/\\/g,"");set=Expr.find[type](match,context,isXML);if(set!=null){expr=expr.replace(Expr.match[type],"");break}}}}if(!set){set=context.getElementsByTagName("*")}return{set:set,expr:expr}};Sizzle.filter=function(expr,set,inplace,not){var old=expr,result=[],curLoop=set,match,anyFound,isXMLFilter=set&&set[0]&&isXML(set[0]);while(expr&&set.length){for(var type in Expr.filter){if((match=Expr.match[type].exec(expr))!=null){var filter=Expr.filter[type],found,item;anyFound=false;if(curLoop==result){result=[]}if(Expr.preFilter[type]){match=Expr.preFilter[type](match,curLoop,inplace,result,not,isXMLFilter);if(!match){anyFound=found=true}else if(match===true){continue}}if(match){for(var i=0;(item=curLoop[i])!=null;i++){if(item){found=filter(item,match,i,curLoop);var pass=not^!!found;if(inplace&&found!=null){if(pass){anyFound=true}else{curLoop[i]=false}}else if(pass){result.push(item);anyFound=true}}}}if(found!==undefined){if(!inplace){curLoop=result}expr=expr.replace(Expr.match[type],"");if(!anyFound){return[]}break}}}if(expr==old){if(anyFound==null){throw"Syntax error, unrecognized expression: "+expr}else{break}}old=expr}return curLoop};var Expr=Sizzle.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF_-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF_-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF_-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF_-]|\\.)+)\s*(?:(\S?=)\s*(['"]*)(.*?)\3|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*_-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\((even|odd|[\dn+-]*)\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF_-]|\\.)+)(?:\((['"]*)((?:\([^\)]+\)|[^\2\(\)]*)+)\2\))?/},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(elem){return elem.getAttribute("href")}},relative:{"+":function(checkSet,part,isXML){var isPartStr=typeof part==="string",isTag=isPartStr&&!/\W/.test(part),isPartStrNotTag=isPartStr&&!isTag;if(isTag&&!isXML){part=part.toUpperCase()}for(var i=0,l=checkSet.length,elem;i<l;i++){if((elem=checkSet[i])){while((elem=elem.previousSibling)&&elem.nodeType!==1){}checkSet[i]=isPartStrNotTag||elem&&elem.nodeName===part?elem||false:elem===part}}if(isPartStrNotTag){Sizzle.filter(part,checkSet,true)}},">":function(checkSet,part,isXML){var isPartStr=typeof part==="string";if(isPartStr&&!/\W/.test(part)){part=isXML?part:part.toUpperCase();for(var i=0,l=checkSet.length;i<l;i++){var elem=checkSet[i];if(elem){var parent=elem.parentNode;checkSet[i]=parent.nodeName===part?parent:false}}}else{for(var i=0,l=checkSet.length;i<l;i++){var elem=checkSet[i];if(elem){checkSet[i]=isPartStr?elem.parentNode:elem.parentNode===part}}if(isPartStr){Sizzle.filter(part,checkSet,true)}}},"":function(checkSet,part,isXML){var doneName=done++,checkFn=dirCheck;if(!part.match(/\W/)){var nodeCheck=part=isXML?part:part.toUpperCase();checkFn=dirNodeCheck}checkFn("parentNode",part,doneName,checkSet,nodeCheck,isXML)},"~":function(checkSet,part,isXML){var doneName=done++,checkFn=dirCheck;if(typeof part==="string"&&!part.match(/\W/)){var nodeCheck=part=isXML?part:part.toUpperCase();checkFn=dirNodeCheck}checkFn("previousSibling",part,doneName,checkSet,nodeCheck,isXML)}},find:{ID:function(match,context,isXML){if(typeof context.getElementById!=="undefined"&&!isXML){var m=context.getElementById(match[1]);return m?[m]:[]}},NAME:function(match,context,isXML){if(typeof context.getElementsByName!=="undefined"){var ret=[],results=context.getElementsByName(match[1]);for(var i=0,l=results.length;i<l;i++){if(results[i].getAttribute("name")===match[1]){ret.push(results[i])}}return ret.length===0?null:ret}},TAG:function(match,context){return context.getElementsByTagName(match[1])}},preFilter:{CLASS:function(match,curLoop,inplace,result,not,isXML){match=" "+match[1].replace(/\\/g,"")+" ";if(isXML){return match}for(var i=0,elem;(elem=curLoop[i])!=null;i++){if(elem){if(not^(elem.className&&(" "+elem.className+" ").indexOf(match)>=0)){if(!inplace)result.push(elem)}else if(inplace){curLoop[i]=false}}}return false},ID:function(match){return match[1].replace(/\\/g,"")},TAG:function(match,curLoop){for(var i=0;curLoop[i]===false;i++){}return curLoop[i]&&isXML(curLoop[i])?match[1]:match[1].toUpperCase()},CHILD:function(match){if(match[1]=="nth"){var test=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(match[2]=="even"&&"2n"||match[2]=="odd"&&"2n+1"||!/\D/.test(match[2])&&"0n+"+match[2]||match[2]);match[2]=(test[1]+(test[2]||1))-0;match[3]=test[3]-0}match[0]=done++;return match},ATTR:function(match,curLoop,inplace,result,not,isXML){var name=match[1].replace(/\\/g,"");if(!isXML&&Expr.attrMap[name]){match[1]=Expr.attrMap[name]}if(match[2]==="~="){match[4]=" "+match[4]+" "}return match},PSEUDO:function(match,curLoop,inplace,result,not){if(match[1]==="not"){if(match[3].match(chunker).length>1||/^\w/.test(match[3])){match[3]=Sizzle(match[3],null,null,curLoop)}else{var ret=Sizzle.filter(match[3],curLoop,inplace,true^not);if(!inplace){result.push.apply(result,ret)}return false}}else if(Expr.match.POS.test(match[0])||Expr.match.CHILD.test(match[0])){return true}return match},POS:function(match){match.unshift(true);return match}},filters:{enabled:function(elem){return elem.disabled===false&&elem.type!=="hidden"},disabled:function(elem){return elem.disabled===true},checked:function(elem){return elem.checked===true},selected:function(elem){elem.parentNode.selectedIndex;return elem.selected===true},parent:function(elem){return!!elem.firstChild},empty:function(elem){return!elem.firstChild},has:function(elem,i,match){return!!Sizzle(match[3],elem).length},header:function(elem){return/h\d/i.test(elem.nodeName)},text:function(elem){return"text"===elem.type},radio:function(elem){return"radio"===elem.type},checkbox:function(elem){return"checkbox"===elem.type},file:function(elem){return"file"===elem.type},password:function(elem){return"password"===elem.type},submit:function(elem){return"submit"===elem.type},image:function(elem){return"image"===elem.type},reset:function(elem){return"reset"===elem.type},button:function(elem){return"button"===elem.type||elem.nodeName.toUpperCase()==="BUTTON"},input:function(elem){return/input|select|textarea|button/i.test(elem.nodeName)}},setFilters:{first:function(elem,i){return i===0},last:function(elem,i,match,array){return i===array.length-1},even:function(elem,i){return i%2===0},odd:function(elem,i){return i%2===1},lt:function(elem,i,match){return i<match[3]-0},gt:function(elem,i,match){return i>match[3]-0},nth:function(elem,i,match){return match[3]-0==i},eq:function(elem,i,match){return match[3]-0==i}},filter:{PSEUDO:function(elem,match,i,array){var name=match[1],filter=Expr.filters[name];if(filter){return filter(elem,i,match,array)}else if(name==="contains"){return(elem.textContent||elem.innerText||"").indexOf(match[3])>=0}else if(name==="not"){var not=match[3];for(var i=0,l=not.length;i<l;i++){if(not[i]===elem){return false}}return true}},CHILD:function(elem,match){var type=match[1],node=elem;switch(type){case'only':case'first':while(node=node.previousSibling){if(node.nodeType===1)return false}if(type=='first')return true;node=elem;case'last':while(node=node.nextSibling){if(node.nodeType===1)return false}return true;case'nth':var first=match[2],last=match[3];if(first==1&&last==0){return true}var doneName=match[0],parent=elem.parentNode;if(parent&&(parent.sizcache!==doneName||!elem.nodeIndex)){var count=0;for(node=parent.firstChild;node;node=node.nextSibling){if(node.nodeType===1){node.nodeIndex=++count}}parent.sizcache=doneName}var diff=elem.nodeIndex-last;if(first==0){return diff==0}else{return(diff%first==0&&diff/first>=0)}}},ID:function(elem,match){return elem.nodeType===1&&elem.getAttribute("id")===match},TAG:function(elem,match){return(match==="*"&&elem.nodeType===1)||elem.nodeName===match},CLASS:function(elem,match){return(" "+(elem.className||elem.getAttribute("class"))+" ").indexOf(match)>-1},ATTR:function(elem,match){var name=match[1],result=Expr.attrHandle[name]?Expr.attrHandle[name](elem):elem[name]!=null?elem[name]:elem.getAttribute(name),value=result+"",type=match[2],check=match[4];return result==null?type==="!=":type==="="?value===check:type==="*="?value.indexOf(check)>=0:type==="~="?(" "+value+" ").indexOf(check)>=0:!check?value&&result!==false:type==="!="?value!=check:type==="^="?value.indexOf(check)===0:type==="$="?value.substr(value.length-check.length)===check:type==="|="?value===check||value.substr(0,check.length+1)===check+"-":false},POS:function(elem,match,i,array){var name=match[2],filter=Expr.setFilters[name];if(filter){return filter(elem,i,match,array)}}}};var origPOS=Expr.match.POS;for(var type in Expr.match){Expr.match[type]=RegExp(Expr.match[type].source+/(?![^\[]*\])(?![^\(]*\))/.source)}var makeArray=function(array,results){array=Array.prototype.slice.call(array);if(results){results.push.apply(results,array);return results}return array};try{Array.prototype.slice.call(document.documentElement.childNodes)}catch(e){makeArray=function(array,results){var ret=results||[];if(toString.call(array)==="[object Array]"){Array.prototype.push.apply(ret,array)}else{if(typeof array.length==="number"){for(var i=0,l=array.length;i<l;i++){ret.push(array[i])}}else{for(var i=0;array[i];i++){ret.push(array[i])}}}return ret}}var sortOrder;if(document.documentElement.compareDocumentPosition){sortOrder=function(a,b){var ret=a.compareDocumentPosition(b)&4?-1:a===b?0:1;if(ret===0){hasDuplicate=true}return ret}}else if("sourceIndex"in document.documentElement){sortOrder=function(a,b){var ret=a.sourceIndex-b.sourceIndex;if(ret===0){hasDuplicate=true}return ret}}else if(document.createRange){sortOrder=function(a,b){var aRange=a.ownerDocument.createRange(),bRange=b.ownerDocument.createRange();aRange.selectNode(a);aRange.collapse(true);bRange.selectNode(b);bRange.collapse(true);var ret=aRange.compareBoundaryPoints(Range.START_TO_END,bRange);if(ret===0){hasDuplicate=true}return ret}}(function(){var form=document.createElement("form"),id="script"+(new Date).getTime();form.innerHTML="<input name='"+id+"'/>";var root=document.documentElement;root.insertBefore(form,root.firstChild);if(!!document.getElementById(id)){Expr.find.ID=function(match,context,isXML){if(typeof context.getElementById!=="undefined"&&!isXML){var m=context.getElementById(match[1]);return m?m.id===match[1]||typeof m.getAttributeNode!=="undefined"&&m.getAttributeNode("id").nodeValue===match[1]?[m]:undefined:[]}};Expr.filter.ID=function(elem,match){var node=typeof elem.getAttributeNode!=="undefined"&&elem.getAttributeNode("id");return elem.nodeType===1&&node&&node.nodeValue===match}}root.removeChild(form)})();(function(){var div=document.createElement("div");div.appendChild(document.createComment(""));if(div.getElementsByTagName("*").length>0){Expr.find.TAG=function(match,context){var results=context.getElementsByTagName(match[1]);if(match[1]==="*"){var tmp=[];for(var i=0;results[i];i++){if(results[i].nodeType===1){tmp.push(results[i])}}results=tmp}return results}}div.innerHTML="<a href='#'></a>";if(div.firstChild&&typeof div.firstChild.getAttribute!=="undefined"&&div.firstChild.getAttribute("href")!=="#"){Expr.attrHandle.href=function(elem){return elem.getAttribute("href",2)}}})();if(document.querySelectorAll)(function(){var oldSizzle=Sizzle,div=document.createElement("div");div.innerHTML="<p class='TEST'></p>";if(div.querySelectorAll&&div.querySelectorAll(".TEST").length===0){return}Sizzle=function(query,context,extra,seed){context=context||document;if(!seed&&context.nodeType===9&&!isXML(context)){try{return makeArray(context.querySelectorAll(query),extra)}catch(e){}}return oldSizzle(query,context,extra,seed)};Sizzle.find=oldSizzle.find;Sizzle.filter=oldSizzle.filter;Sizzle.selectors=oldSizzle.selectors;Sizzle.matches=oldSizzle.matches})();if(document.getElementsByClassName&&document.documentElement.getElementsByClassName)(function(){var div=document.createElement("div");div.innerHTML="<div class='test e'></div><div class='test'></div>";if(div.getElementsByClassName("e").length===0)return;div.lastChild.className="e";if(div.getElementsByClassName("e").length===1)return;Expr.order.splice(1,0,"CLASS");Expr.find.CLASS=function(match,context,isXML){if(typeof context.getElementsByClassName!=="undefined"&&!isXML){return context.getElementsByClassName(match[1])}}})();function dirNodeCheck(dir,cur,doneName,checkSet,nodeCheck,isXML){var sibDir=dir=="previousSibling"&&!isXML;for(var i=0,l=checkSet.length;i<l;i++){var elem=checkSet[i];if(elem){if(sibDir&&elem.nodeType===1){elem.sizcache=doneName;elem.sizset=i}elem=elem[dir];var match=false;while(elem){if(elem.sizcache===doneName){match=checkSet[elem.sizset];break}if(elem.nodeType===1&&!isXML){elem.sizcache=doneName;elem.sizset=i}if(elem.nodeName===cur){match=elem;break}elem=elem[dir]}checkSet[i]=match}}}function dirCheck(dir,cur,doneName,checkSet,nodeCheck,isXML){var sibDir=dir=="previousSibling"&&!isXML;for(var i=0,l=checkSet.length;i<l;i++){var elem=checkSet[i];if(elem){if(sibDir&&elem.nodeType===1){elem.sizcache=doneName;elem.sizset=i}elem=elem[dir];var match=false;while(elem){if(elem.sizcache===doneName){match=checkSet[elem.sizset];break}if(elem.nodeType===1){if(!isXML){elem.sizcache=doneName;elem.sizset=i}if(typeof cur!=="string"){if(elem===cur){match=true;break}}else if(Sizzle.filter(cur,[elem]).length>0){match=elem;break}}elem=elem[dir]}checkSet[i]=match}}}var contains=document.compareDocumentPosition?function(a,b){return a.compareDocumentPosition(b)&16}:function(a,b){return a!==b&&(a.contains?a.contains(b):true)};var isXML=function(elem){return elem.nodeType===9&&elem.documentElement.nodeName!=="HTML"||!!elem.ownerDocument&&isXML(elem.ownerDocument)};var posProcess=function(selector,context){var tmpSet=[],later="",match,root=context.nodeType?[context]:context;while((match=Expr.match.PSEUDO.exec(selector))){later+=match[0];selector=selector.replace(Expr.match.PSEUDO,"")}selector=Expr.relative[selector]?selector+"*":selector;for(var i=0,l=root.length;i<l;i++){Sizzle(selector,root[i],tmpSet)}return Sizzle.filter(later,tmpSet)};jQuery.find=Sizzle;jQuery.filter=Sizzle.filter;jQuery.expr=Sizzle.selectors;jQuery.expr[":"]=jQuery.expr.filters;Sizzle.selectors.filters.hidden=function(elem){return elem.offsetWidth===0||elem.offsetHeight===0};Sizzle.selectors.filters.visible=function(elem){return elem.offsetWidth>0||elem.offsetHeight>0};Sizzle.selectors.filters.animated=function(elem){return jQuery.grep(jQuery.timers,function(fn){return elem===fn.elem}).length};jQuery.multiFilter=function(expr,elems,not){if(not){expr=":not("+expr+")"}return Sizzle.matches(expr,elems)};jQuery.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};jQuery.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};jQuery.sibling=function(n,elem){var r=[];for(;n;n=n.nextSibling){if(n.nodeType==1&&n!=elem)r.push(n)}return r};return;window.Sizzle=Sizzle})();jQuery.event={add:function(elem,types,handler,data){if(elem.nodeType==3||elem.nodeType==8)return;if(elem.setInterval&&elem!=window)elem=window;if(!handler.guid)handler.guid=this.guid++;if(data!==undefined){var fn=handler;handler=this.proxy(fn);handler.data=data}var events=jQuery.data(elem,"events")||jQuery.data(elem,"events",{}),handle=jQuery.data(elem,"handle")||jQuery.data(elem,"handle",function(){return typeof jQuery!=="undefined"&&!jQuery.event.triggered?jQuery.event.handle.apply(arguments.callee.elem,arguments):undefined});handle.elem=elem;jQuery.each(types.split(/\s+/),function(index,type){var namespaces=type.split(".");type=namespaces.shift();handler.type=namespaces.slice().sort().join(".");var handlers=events[type];if(jQuery.event.specialAll[type])jQuery.event.specialAll[type].setup.call(elem,data,namespaces);if(!handlers){handlers=events[type]={};if(!jQuery.event.special[type]||jQuery.event.special[type].setup.call(elem,data,namespaces)===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 namespaces=type.split(".");type=namespaces.shift();var namespace=RegExp("(^|\\.)"+namespaces.slice().sort().join(".*\\.")+"(\\.|$)");if(events[type]){if(handler)delete events[type][handler.guid];else for(var handle in events[type])if(namespace.test(events[type][handle].type))delete events[type][handle];if(jQuery.event.specialAll[type])jQuery.event.specialAll[type].teardown.call(elem,namespaces);for(ret in events[type])break;if(!ret){if(!jQuery.event.special[type]||jQuery.event.special[type].teardown.call(elem,namespaces)===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(event,data,elem,bubbling){var type=event.type||event;if(!bubbling){event=typeof event==="object"?event[expando]?event:jQuery.extend(jQuery.Event(type),event):jQuery.Event(type);if(type.indexOf("!")>=0){event.type=type=type.slice(0,-1);event.exclusive=true}if(!elem){event.stopPropagation();if(this.global[type])jQuery.each(jQuery.cache,function(){if(this.events&&this.events[type])jQuery.event.trigger(event,data,this.handle.elem)})}if(!elem||elem.nodeType==3||elem.nodeType==8)return undefined;event.result=undefined;event.target=elem;data=jQuery.makeArray(data);data.unshift(event)}event.currentTarget=elem;var handle=jQuery.data(elem,"handle");if(handle)handle.apply(elem,data);if((!elem[type]||(jQuery.nodeName(elem,'a')&&type=="click"))&&elem["on"+type]&&elem["on"+type].apply(elem,data)===false)event.result=false;if(!bubbling&&elem[type]&&!event.isDefaultPrevented()&&!(jQuery.nodeName(elem,'a')&&type=="click")){this.triggered=true;try{elem[type]()}catch(e){}}this.triggered=false;if(!event.isPropagationStopped()){var parent=elem.parentNode||elem.ownerDocument;if(parent)jQuery.event.trigger(event,data,parent,true)}},handle:function(event){var all,handlers;event=arguments[0]=jQuery.event.fix(event||window.event);event.currentTarget=this;var namespaces=event.type.split(".");event.type=namespaces.shift();all=!namespaces.length&&!event.exclusive;var namespace=RegExp("(^|\\.)"+namespaces.slice().sort().join(".*\\.")+"(\\.|$)");handlers=(jQuery.data(this,"events")||{})[event.type];for(var j in handlers){var handler=handlers[j];if(all||namespace.test(handler.type)){event.handler=handler;event.data=handler.data;var ret=handler.apply(this,arguments);if(ret!==undefined){event.result=ret;if(ret===false){event.preventDefault();event.stopPropagation()}}if(event.isImmediatePropagationStopped())break}}},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode metaKey newValue originalTarget pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),fix:function(event){if(event[expando])return event;var originalEvent=event;event=jQuery.Event(originalEvent);for(var i=this.props.length,prop;i;){prop=this.props[--i];event[prop]=originalEvent[prop]}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=proxy||function(){return fn.apply(this,arguments)};proxy.guid=fn.guid=fn.guid||proxy.guid||this.guid++;return proxy},special:{ready:{setup:bindReady,teardown:function(){}}},specialAll:{live:{setup:function(selector,namespaces){jQuery.event.add(this,namespaces[0],liveHandler)},teardown:function(namespaces){if(namespaces.length){var remove=0,name=RegExp("(^|\\.)"+namespaces[0]+"(\\.|$)");jQuery.each((jQuery.data(this,"events").live||{}),function(){if(name.test(this.type))remove++});if(remove<1)jQuery.event.remove(this,namespaces[0],liveHandler)}}}}};jQuery.Event=function(src){if(!this.preventDefault)return new jQuery.Event(src);if(src&&src.type){this.originalEvent=src;this.type=src.type}else this.type=src;this.timeStamp=now();this[expando]=true};function returnFalse(){return false}function returnTrue(){return true}jQuery.Event.prototype={preventDefault:function(){this.isDefaultPrevented=returnTrue;var e=this.originalEvent;if(!e)return;if(e.preventDefault)e.preventDefault();e.returnValue=false},stopPropagation:function(){this.isPropagationStopped=returnTrue;var e=this.originalEvent;if(!e)return;if(e.stopPropagation)e.stopPropagation();e.cancelBubble=true},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=returnTrue;this.stopPropagation()},isDefaultPrevented:returnFalse,isPropagationStopped:returnFalse,isImmediatePropagationStopped:returnFalse};var withinElement=function(event){var parent=event.relatedTarget;while(parent&&parent!=this)try{parent=parent.parentNode}catch(e){parent=this}if(parent!=this){event.type=event.data;jQuery.event.handle.apply(this,arguments)}};jQuery.each({mouseover:'mouseenter',mouseout:'mouseleave'},function(orig,fix){jQuery.event.special[fix]={setup:function(){jQuery.event.add(this,orig,withinElement,fix)},teardown:function(){jQuery.event.remove(this,orig,withinElement)}}});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){return this.each(function(){jQuery.event.trigger(type,data,this)})},triggerHandler:function(type,data){if(this[0]){var event=jQuery.Event(type);event.preventDefault();event.stopPropagation();jQuery.event.trigger(event,data,this[0]);return event.result}},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.mouseenter(fnOver).mouseleave(fnOut)},ready:function(fn){bindReady();if(jQuery.isReady)fn.call(document,jQuery);else jQuery.readyList.push(fn);return this},live:function(type,fn){var proxy=jQuery.event.proxy(fn);proxy.guid+=this.selector+type;jQuery(document).bind(liveConvert(type,this.selector),this.selector,proxy);return this},die:function(type,fn){jQuery(document).unbind(liveConvert(type,this.selector),fn?{guid:fn.guid+this.selector+type}:null);return this}});function liveHandler(event){var check=RegExp("(^|\\.)"+event.type+"(\\.|$)"),stop=true,elems=[];jQuery.each(jQuery.data(this,"events").live||[],function(i,fn){if(check.test(fn.type)){var elem=jQuery(event.target).closest(fn.data)[0];if(elem)elems.push({elem:elem,fn:fn})}});elems.sort(function(a,b){return jQuery.data(a.elem,"closest")-jQuery.data(b.elem,"closest")});jQuery.each(elems,function(){if(this.fn.call(this.elem,event,this.fn.data)===false)return(stop=false)});return stop}function liveConvert(type,selector){return["live",type,selector.replace(/\./g,"`").replace(/ /g,"|")].join(".")}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)});jQuery.readyList=null}jQuery(document).triggerHandler("ready")}}});var readyBound=false;function bindReady(){if(readyBound)return;readyBound=true;if(document.addEventListener){document.addEventListener("DOMContentLoaded",function(){document.removeEventListener("DOMContentLoaded",arguments.callee,false);jQuery.ready()},false)}else if(document.attachEvent){document.attachEvent("onreadystatechange",function(){if(document.readyState==="complete"){document.detachEvent("onreadystatechange",arguments.callee);jQuery.ready()}});if(document.documentElement.doScroll&&window==window.top)(function(){if(jQuery.isReady)return;try{document.documentElement.doScroll("left")}catch(error){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,mouseenter,mouseleave,"+"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)}});jQuery(window).bind('unload',function(){for(var id in jQuery.cache)if(id!=1&&jQuery.cache[id].handle)jQuery.event.remove(jQuery.cache[id].handle.elem)});(function(){jQuery.support={};var root=document.documentElement,script=document.createElement("script"),div=document.createElement("div"),id="script"+(new Date).getTime();div.style.display="none";div.innerHTML='   <link/><table></table><a href="/a" style="color:red;float:left;opacity:.5;">a</a><select><option>text</option></select><object><param/></object>';var all=div.getElementsByTagName("*"),a=div.getElementsByTagName("a")[0];if(!all||!all.length||!a){return}jQuery.support={leadingWhitespace:div.firstChild.nodeType==3,tbody:!div.getElementsByTagName("tbody").length,objectAll:!!div.getElementsByTagName("object")[0].getElementsByTagName("*").length,htmlSerialize:!!div.getElementsByTagName("link").length,style:/red/.test(a.getAttribute("style")),hrefNormalized:a.getAttribute("href")==="/a",opacity:a.style.opacity==="0.5",cssFloat:!!a.style.cssFloat,scriptEval:false,noCloneEvent:true,boxModel:null};script.type="text/javascript";try{script.appendChild(document.createTextNode("window."+id+"=1;"))}catch(e){}root.insertBefore(script,root.firstChild);if(window[id]){jQuery.support.scriptEval=true;delete window[id]}root.removeChild(script);if(div.attachEvent&&div.fireEvent){div.attachEvent("onclick",function(){jQuery.support.noCloneEvent=false;div.detachEvent("onclick",arguments.callee)});div.cloneNode(true).fireEvent("onclick")}jQuery(function(){var div=document.createElement("div");div.style.width=div.style.paddingLeft="1px";document.body.appendChild(div);jQuery.boxModel=jQuery.support.boxModel=div.offsetWidth===2;document.body.removeChild(div).style.display='none'})})();var styleFloat=jQuery.support.cssFloat?"cssFloat":"styleFloat";jQuery.props={"for":"htmlFor","class":"className","float":styleFloat,cssFloat:styleFloat,styleFloat:styleFloat,readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",tabindex:"tabIndex"};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)}var type="GET";if(params)if(jQuery.isFunction(params)){callback=params;params=null}else if(typeof params==="object"){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);if(callback)self.each(callback,[res.responseText,status,res])}});return this},serialize:function(){return jQuery.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?jQuery.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||/select|textarea/i.test(this.nodeName)||/text|hidden|password|search/i.test(this.type))}).map(function(i,elem){var val=jQuery(this).val();return val==null?null:jQuery.isArray(val)?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",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:function(){return window.ActiveXObject?new ActiveXObject("Microsoft.XMLHTTP"):new XMLHttpRequest()},accepts:{xml:"application/xml, text/xml",html:"text/html",script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},lastModified:{},ajax:function(s){s=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 parts=/^(\w+:)?\/\/([^\/?#]+)/.exec(s.url);if(s.dataType=="script"&&type=="GET"&&parts&&(parts[1]&&parts[1]!=location.protocol||parts[2]!=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();script.onload=script.onreadystatechange=null;head.removeChild(script)}}}head.appendChild(script);return undefined}var requestDone=false;var xhr=s.xhr();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){if(s.global&&!--jQuery.active)jQuery.event.trigger("ajaxStop");xhr.abort();return false}if(s.global)jQuery.event.trigger("ajaxSend",[xhr,s]);var onreadystatechange=function(isTimeout){if(xhr.readyState==0){if(ival){clearInterval(ival);ival=null;if(s.global&&!--jQuery.active)jQuery.event.trigger("ajaxStop")}}else 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)}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(isTimeout)xhr.abort();if(s.async)xhr=null}};if(s.async){var ival=setInterval(onreadystatechange,13);if(s.timeout>0)setTimeout(function(){if(xhr&&!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}catch(e){}return false},httpNotModified:function(xhr,url){try{var xhrRes=xhr.getResponseHeader("Last-Modified");return xhr.status==304||xhrRes==jQuery.lastModified[url]}catch(e){}return false},httpData:function(xhr,type,s){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(s&&s.dataFilter)data=s.dataFilter(data,type);if(typeof data==="string"){if(type=="script")jQuery.globalEval(data);if(type=="json")data=window["eval"]("("+data+")")}return data},param:function(a){var s=[];function add(key,value){s[s.length]=encodeURIComponent(key)+'='+encodeURIComponent(value)};if(jQuery.isArray(a)||a.jquery)jQuery.each(a,function(){add(this.name,this.value)});else for(var j in a)if(jQuery.isArray(a[j]))jQuery.each(a[j],function(){add(j,this)});else add(j,jQuery.isFunction(a[j])?a[j]():a[j]);return s.join("&").replace(/%20/g,"+")}});var elemdisplay={},timerId,fxAttrs=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];function genFx(type,num){var obj={};jQuery.each(fxAttrs.concat.apply([],fxAttrs.slice(0,num)),function(){obj[this]=type});return obj}jQuery.fn.extend({show:function(speed,callback){if(speed){return this.animate(genFx("show",3),speed,callback)}else{for(var i=0,l=this.length;i<l;i++){var old=jQuery.data(this[i],"olddisplay");this[i].style.display=old||"";if(jQuery.css(this[i],"display")==="none"){var tagName=this[i].tagName,display;if(elemdisplay[tagName]){display=elemdisplay[tagName]}else{var elem=jQuery("<"+tagName+" />").appendTo("body");display=elem.css("display");if(display==="none")display="block";elem.remove();elemdisplay[tagName]=display}jQuery.data(this[i],"olddisplay",display)}}for(var i=0,l=this.length;i<l;i++){this[i].style.display=jQuery.data(this[i],"olddisplay")||""}return this}},hide:function(speed,callback){if(speed){return this.animate(genFx("hide",3),speed,callback)}else{for(var i=0,l=this.length;i<l;i++){var old=jQuery.data(this[i],"olddisplay");if(!old&&old!=="none")jQuery.data(this[i],"olddisplay",jQuery.css(this[i],"display"))}for(var i=0,l=this.length;i<l;i++){this[i].style.display="none"}return this}},_toggle:jQuery.fn.toggle,toggle:function(fn,fn2){var bool=typeof fn==="boolean";return jQuery.isFunction(fn)&&jQuery.isFunction(fn2)?this._toggle.apply(this,arguments):fn==null||bool?this.each(function(){var state=bool?fn:jQuery(this).is(":hidden");jQuery(this)[state?"show":"hide"]()}):this.animate(genFx("toggle",3),fn,fn2)},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(){var opt=jQuery.extend({},optall),p,hidden=this.nodeType==1&&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")&&this.style){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})},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}});jQuery.each({slideDown:genFx("show",1),slideUp:genFx("hide",1),slideToggle:genFx("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(name,props){jQuery.fn[name]=function(speed,callback){return this.animate(props,speed,callback)}});jQuery.extend({speed:function(speed,easing,fn){var opt=typeof speed==="object"?speed:{complete:fn||!fn&&easing||jQuery.isFunction(speed)&&speed,duration:speed,easing:fn&&easing||easing&&!jQuery.isFunction(easing)&&easing};opt.duration=jQuery.fx.off?0:typeof opt.duration==="number"?opt.duration:jQuery.fx.speeds[opt.duration]||jQuery.fx.speeds._default;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:[],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)this.elem.style.display="block"},cur:function(force){if(this.elem[this.prop]!=null&&(!this.elem.style||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;var self=this;function t(gotoEnd){return self.step(gotoEnd)}t.elem=this.elem;if(t()&&jQuery.timers.push(t)&&!timerId){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(timerId);timerId=undefined}},13)}},show:function(){this.options.orig[this.prop]=jQuery.attr(this.elem.style,this.prop);this.options.show=true;this.custom(this.prop=="width"||this.prop=="height"?1:0,this.cur());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)jQuery(this.elem).hide();if(this.options.hide||this.options.show)for(var p in this.options.curAnim)jQuery.attr(this.elem.style,p,this.options.orig[p]);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,_default:400},step:{opacity:function(fx){jQuery.attr(fx.elem.style,"opacity",fx.now)},_default:function(fx){if(fx.elem.style&&fx.elem.style[fx.prop]!=null)fx.elem.style[fx.prop]=fx.now+fx.unit;else fx.elem[fx.prop]=fx.now}}});if(document.documentElement["getBoundingClientRect"])jQuery.fn.offset=function(){if(!this[0])return{top:0,left:0};if(this[0]===this[0].ownerDocument.body)return jQuery.offset.bodyOffset(this[0]);var box=this[0].getBoundingClientRect(),doc=this[0].ownerDocument,body=doc.body,docElem=doc.documentElement,clientTop=docElem.clientTop||body.clientTop||0,clientLeft=docElem.clientLeft||body.clientLeft||0,top=box.top+(self.pageYOffset||jQuery.boxModel&&docElem.scrollTop||body.scrollTop)-clientTop,left=box.left+(self.pageXOffset||jQuery.boxModel&&docElem.scrollLeft||body.scrollLeft)-clientLeft;return{top:top,left:left}};else jQuery.fn.offset=function(){if(!this[0])return{top:0,left:0};if(this[0]===this[0].ownerDocument.body)return jQuery.offset.bodyOffset(this[0]);jQuery.offset.initialized||jQuery.offset.initialize();var elem=this[0],offsetParent=elem.offsetParent,prevOffsetParent=elem,doc=elem.ownerDocument,computedStyle,docElem=doc.documentElement,body=doc.body,defaultView=doc.defaultView,prevComputedStyle=defaultView.getComputedStyle(elem,null),top=elem.offsetTop,left=elem.offsetLeft;while((elem=elem.parentNode)&&elem!==body&&elem!==docElem){computedStyle=defaultView.getComputedStyle(elem,null);top-=elem.scrollTop,left-=elem.scrollLeft;if(elem===offsetParent){top+=elem.offsetTop,left+=elem.offsetLeft;if(jQuery.offset.doesNotAddBorder&&!(jQuery.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(elem.tagName)))top+=parseInt(computedStyle.borderTopWidth,10)||0,left+=parseInt(computedStyle.borderLeftWidth,10)||0;prevOffsetParent=offsetParent,offsetParent=elem.offsetParent}if(jQuery.offset.subtractsBorderForOverflowNotVisible&&computedStyle.overflow!=="visible")top+=parseInt(computedStyle.borderTopWidth,10)||0,left+=parseInt(computedStyle.borderLeftWidth,10)||0;prevComputedStyle=computedStyle}if(prevComputedStyle.position==="relative"||prevComputedStyle.position==="static")top+=body.offsetTop,left+=body.offsetLeft;if(prevComputedStyle.position==="fixed")top+=Math.max(docElem.scrollTop,body.scrollTop),left+=Math.max(docElem.scrollLeft,body.scrollLeft);return{top:top,left:left}};jQuery.offset={initialize:function(){if(this.initialized)return;var body=document.body,container=document.createElement('div'),innerDiv,checkDiv,table,td,rules,prop,bodyMarginTop=body.style.marginTop,html='<div style="position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;"><div></div></div><table style="position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;" cellpadding="0" cellspacing="0"><tr><td></td></tr></table>';rules={position:'absolute',top:0,left:0,margin:0,border:0,width:'1px',height:'1px',visibility:'hidden'};for(prop in rules)container.style[prop]=rules[prop];container.innerHTML=html;body.insertBefore(container,body.firstChild);innerDiv=container.firstChild,checkDiv=innerDiv.firstChild,td=innerDiv.nextSibling.firstChild.firstChild;this.doesNotAddBorder=(checkDiv.offsetTop!==5);this.doesAddBorderForTableAndCells=(td.offsetTop===5);innerDiv.style.overflow='hidden',innerDiv.style.position='relative';this.subtractsBorderForOverflowNotVisible=(checkDiv.offsetTop===-5);body.style.marginTop='1px';this.doesNotIncludeMarginInBodyOffset=(body.offsetTop===0);body.style.marginTop=bodyMarginTop;body.removeChild(container);this.initialized=true},bodyOffset:function(body){jQuery.offset.initialized||jQuery.offset.initialize();var top=body.offsetTop,left=body.offsetLeft;if(jQuery.offset.doesNotIncludeMarginInBodyOffset)top+=parseInt(jQuery.curCSS(body,'marginTop',true),10)||0,left+=parseInt(jQuery.curCSS(body,'marginLeft',true),10)||0;return{top:top,left:left}}};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||document.body;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 null;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",lower=name.toLowerCase();jQuery.fn["inner"+name]=function(){return this[0]?jQuery.css(this[0],lower,false,"padding"):null};jQuery.fn["outer"+name]=function(margin){return this[0]?jQuery.css(this[0],lower,false,margin?"margin":"border"):null};var type=name.toLowerCase();jQuery.fn[type]=function(size){return this[0]==window?document.compatMode=="CSS1Compat"&&document.documentElement["client"+name]||document.body["client"+name]:this[0]==document?Math.max(document.documentElement["client"+name],document.body["scroll"+name],document.documentElement["scroll"+name],document.body["offset"+name],document.documentElement["offset"+name]):size===undefined?(this.length?jQuery.css(this[0],type):null):this.css(type,typeof size==="string"?size:size+"px")}})})();jQuery.noConflict();
;jQuery.ui||(function($){var _remove=$.fn.remove,isFF2=$.browser.mozilla&&(parseFloat($.browser.version)<1.9);$.ui={version:"1.7.2",plugin:{add:function(module,option,set){var proto=$.ui[module].prototype;for(var i in set){proto.plugins[i]=proto.plugins[i]||[];proto.plugins[i].push([option,set[i]])}},call:function(instance,name,args){var set=instance.plugins[name];if(!set||!instance.element[0].parentNode){return}for(var i=0;i<set.length;i++){if(instance.options[set[i][0]]){set[i][1].apply(instance.element,args)}}}},contains:function(a,b){return document.compareDocumentPosition?a.compareDocumentPosition(b)&16:a!==b&&a.contains(b)},hasScroll:function(el,a){if($(el).css('overflow')=='hidden'){return false}var scroll=(a&&a=='left')?'scrollLeft':'scrollTop',has=false;if(el[scroll]>0){return true}el[scroll]=1;has=(el[scroll]>0);el[scroll]=0;return has},isOverAxis:function(x,reference,size){return(x>reference)&&(x<(reference+size))},isOver:function(y,x,top,left,height,width){return $.ui.isOverAxis(y,top,height)&&$.ui.isOverAxis(x,left,width)},keyCode:{BACKSPACE:8,CAPS_LOCK:20,COMMA:188,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38}};if(isFF2){var attr=$.attr,removeAttr=$.fn.removeAttr,ariaNS="http://www.w3.org/2005/07/aaa",ariaState=/^aria-/,ariaRole=/^wairole:/;$.attr=function(elem,name,value){var set=value!==undefined;return(name=='role'?(set?attr.call(this,elem,name,"wairole:"+value):(attr.apply(this,arguments)||"").replace(ariaRole,"")):(ariaState.test(name)?(set?elem.setAttributeNS(ariaNS,name.replace(ariaState,"aaa:"),value):attr.call(this,elem,name.replace(ariaState,"aaa:"))):attr.apply(this,arguments)))};$.fn.removeAttr=function(name){return(ariaState.test(name)?this.each(function(){this.removeAttributeNS(ariaNS,name.replace(ariaState,""))}):removeAttr.call(this,name))}}$.fn.extend({remove:function(){$("*",this).add(this).each(function(){$(this).triggerHandler("remove")});return _remove.apply(this,arguments)},enableSelection:function(){return this.attr('unselectable','off').css('MozUserSelect','').unbind('selectstart.ui')},disableSelection:function(){return this.attr('unselectable','on').css('MozUserSelect','none').bind('selectstart.ui',function(){return false})},scrollParent:function(){var scrollParent;if(($.browser.msie&&(/(static|relative)/).test(this.css('position')))||(/absolute/).test(this.css('position'))){scrollParent=this.parents().filter(function(){return(/(relative|absolute|fixed)/).test($.curCSS(this,'position',1))&&(/(auto|scroll)/).test($.curCSS(this,'overflow',1)+$.curCSS(this,'overflow-y',1)+$.curCSS(this,'overflow-x',1))}).eq(0)}else{scrollParent=this.parents().filter(function(){return(/(auto|scroll)/).test($.curCSS(this,'overflow',1)+$.curCSS(this,'overflow-y',1)+$.curCSS(this,'overflow-x',1))}).eq(0)}return(/fixed/).test(this.css('position'))||!scrollParent.length?$(document):scrollParent}});$.extend($.expr[':'],{data:function(elem,i,match){return!!$.data(elem,match[3])},focusable:function(element){var nodeName=element.nodeName.toLowerCase(),tabIndex=$.attr(element,'tabindex');return(/input|select|textarea|button|object/.test(nodeName)?!element.disabled:'a'==nodeName||'area'==nodeName?element.href||!isNaN(tabIndex):!isNaN(tabIndex))&&!$(element)['area'==nodeName?'parents':'closest'](':hidden').length},tabbable:function(element){var tabIndex=$.attr(element,'tabindex');return(isNaN(tabIndex)||tabIndex>=0)&&$(element).is(':focusable')}});function getter(namespace,plugin,method,args){function getMethods(type){var methods=$[namespace][plugin][type]||[];return(typeof methods=='string'?methods.split(/,?\s+/):methods)}var methods=getMethods('getter');if(args.length==1&&typeof args[0]=='string'){methods=methods.concat(getMethods('getterSetter'))}return($.inArray(method,methods)!=-1)}$.widget=function(name,prototype){var namespace=name.split(".")[0];name=name.split(".")[1];$.fn[name]=function(options){var isMethodCall=(typeof options=='string'),args=Array.prototype.slice.call(arguments,1);if(isMethodCall&&options.substring(0,1)=='_'){return this}if(isMethodCall&&getter(namespace,name,options,args)){var instance=$.data(this[0],name);return(instance?instance[options].apply(instance,args):undefined)}return this.each(function(){var instance=$.data(this,name);(!instance&&!isMethodCall&&$.data(this,name,new $[namespace][name](this,options))._init());(instance&&isMethodCall&&$.isFunction(instance[options])&&instance[options].apply(instance,args))})};$[namespace]=$[namespace]||{};$[namespace][name]=function(element,options){var self=this;this.namespace=namespace;this.widgetName=name;this.widgetEventPrefix=$[namespace][name].eventPrefix||name;this.widgetBaseClass=namespace+'-'+name;this.options=$.extend({},$.widget.defaults,$[namespace][name].defaults,$.metadata&&$.metadata.get(element)[name],options);this.element=$(element).bind('setData.'+name,function(event,key,value){if(event.target==element){return self._setData(key,value)}}).bind('getData.'+name,function(event,key){if(event.target==element){return self._getData(key)}}).bind('remove',function(){return self.destroy()})};$[namespace][name].prototype=$.extend({},$.widget.prototype,prototype);$[namespace][name].getterSetter='option'};$.widget.prototype={_init:function(){},destroy:function(){this.element.removeData(this.widgetName).removeClass(this.widgetBaseClass+'-disabled'+' '+this.namespace+'-state-disabled').removeAttr('aria-disabled')},option:function(key,value){var options=key,self=this;if(typeof key=="string"){if(value===undefined){return this._getData(key)}options={};options[key]=value}$.each(options,function(key,value){self._setData(key,value)})},_getData:function(key){return this.options[key]},_setData:function(key,value){this.options[key]=value;if(key=='disabled'){this.element[value?'addClass':'removeClass'](this.widgetBaseClass+'-disabled'+' '+this.namespace+'-state-disabled').attr("aria-disabled",value)}},enable:function(){this._setData('disabled',false)},disable:function(){this._setData('disabled',true)},_trigger:function(type,event,data){var callback=this.options[type],eventName=(type==this.widgetEventPrefix?type:this.widgetEventPrefix+type);event=$.Event(event);event.type=eventName;if(event.originalEvent){for(var i=$.event.props.length,prop;i;){prop=$.event.props[--i];event[prop]=event.originalEvent[prop]}}this.element.trigger(event,data);return!($.isFunction(callback)&&callback.call(this.element[0],event,data)===false||event.isDefaultPrevented())}};$.widget.defaults={disabled:false};$.ui.mouse={_mouseInit:function(){var self=this;this.element.bind('mousedown.'+this.widgetName,function(event){return self._mouseDown(event)}).bind('click.'+this.widgetName,function(event){if(self._preventClickEvent){self._preventClickEvent=false;event.stopImmediatePropagation();return false}});if($.browser.msie){this._mouseUnselectable=this.element.attr('unselectable');this.element.attr('unselectable','on')}this.started=false},_mouseDestroy:function(){this.element.unbind('.'+this.widgetName);($.browser.msie&&this.element.attr('unselectable',this._mouseUnselectable))},_mouseDown:function(event){event.originalEvent=event.originalEvent||{};if(event.originalEvent.mouseHandled){return}(this._mouseStarted&&this._mouseUp(event));this._mouseDownEvent=event;var self=this,btnIsLeft=(event.which==1),elIsCancel=(typeof this.options.cancel=="string"?$(event.target).parents().add(event.target).filter(this.options.cancel).length:false);if(!btnIsLeft||elIsCancel||!this._mouseCapture(event)){return true}this.mouseDelayMet=!this.options.delay;if(!this.mouseDelayMet){this._mouseDelayTimer=setTimeout(function(){self.mouseDelayMet=true},this.options.delay)}if(this._mouseDistanceMet(event)&&this._mouseDelayMet(event)){this._mouseStarted=(this._mouseStart(event)!==false);if(!this._mouseStarted){event.preventDefault();return true}}this._mouseMoveDelegate=function(event){return self._mouseMove(event)};this._mouseUpDelegate=function(event){return self._mouseUp(event)};$(document).bind('mousemove.'+this.widgetName,this._mouseMoveDelegate).bind('mouseup.'+this.widgetName,this._mouseUpDelegate);($.browser.safari||event.preventDefault());event.originalEvent.mouseHandled=true;return true},_mouseMove:function(event){if($.browser.msie&&!event.button){return this._mouseUp(event)}if(this._mouseStarted){this._mouseDrag(event);return event.preventDefault()}if(this._mouseDistanceMet(event)&&this._mouseDelayMet(event)){this._mouseStarted=(this._mouseStart(this._mouseDownEvent,event)!==false);(this._mouseStarted?this._mouseDrag(event):this._mouseUp(event))}return!this._mouseStarted},_mouseUp:function(event){$(document).unbind('mousemove.'+this.widgetName,this._mouseMoveDelegate).unbind('mouseup.'+this.widgetName,this._mouseUpDelegate);if(this._mouseStarted){this._mouseStarted=false;this._preventClickEvent=(event.target==this._mouseDownEvent.target);this._mouseStop(event)}return false},_mouseDistanceMet:function(event){return(Math.max(Math.abs(this._mouseDownEvent.pageX-event.pageX),Math.abs(this._mouseDownEvent.pageY-event.pageY))>=this.options.distance)},_mouseDelayMet:function(event){return this.mouseDelayMet},_mouseStart:function(event){},_mouseDrag:function(event){},_mouseStop:function(event){},_mouseCapture:function(event){return true}};$.ui.mouse.defaults={cancel:null,distance:1,delay:0}})(jQuery);
function dateAdd(dtDate,lDay){var aDate=new Array();var aMonths=new Array();aDate=dtDate.split('.');if(aDate[0].indexOf('0')==0){aDate[0]=aDate[0].substring(1,aDate[0].length)}if(aDate[1].indexOf('0')==0){aDate[1]=aDate[1].substring(1,aDate[1].length)}aMonths[1]=31;if((parseInt(aDate[2])-2004)%4==0){aMonths[2]=29}else{aMonths[2]=28}aMonths[3]=31;aMonths[4]=30;aMonths[5]=31;aMonths[6]=30;aMonths[7]=31;aMonths[8]=31;aMonths[9]=30;aMonths[10]=31;aMonths[11]=30;aMonths[12]=31;aDate[0]=parseInt(aDate[0])+parseInt(lDay);while(parseInt(aDate[0])>parseInt(aMonths[parseInt(aDate[1])])){aDate[0]=parseInt(aDate[0])-parseInt(aMonths[parseInt(aDate[1])]);aDate[1]=parseInt(aDate[1])+1;if(parseInt(aDate[1])>12){aDate[1]=1;aDate[2]=parseInt(aDate[2])+1}}return aDate[0]+'.'+aDate[1]+'.'+aDate[2]}(function($){$.extend($.ui,{datepicker:{version:"1.7.2"}});var PROP_NAME='datepicker';function Datepicker(){this.debug=false;this._curInst=null;this._keyEvent=false;this._disabledInputs=[];this._datepickerShowing=false;this._inDialog=false;this._mainDivId='ui-datepicker-div';this._inlineClass='ui-datepicker-inline';this._appendClass='ui-datepicker-append';this._triggerClass='ui-datepicker-trigger';this._dialogClass='ui-datepicker-dialog';this._disableClass='ui-datepicker-disabled';this._unselectableClass='ui-datepicker-unselectable';this._currentClass='ui-datepicker-current-day';this._dayOverClass='ui-datepicker-days-cell-over';this.regional=[''];this._defaults={showOn:'focus',showAnim:'show',showOptions:{},defaultDate:null,appendText:'',buttonText:'...',buttonImage:'',buttonImageOnly:false,hideIfNoPrevNext:false,navigationAsDateFormat:false,gotoCurrent:false,changeMonth:false,changeYear:false,showMonthAfterYear:false,yearRange:'-10:+10',showOtherMonths:false,calculateWeek:this.iso8601Week,shortYearCutoff:'+10',minDate:null,maxDate:null,duration:'normal',beforeShowDay:null,beforeShow:null,onSelect:null,onChangeMonthYear:null,onClose:null,numberOfMonths:1,showCurrentAtPos:0,stepMonths:1,stepBigMonths:12,altField:'',altFieldDateAdd:4,altFormat:'dd.mm.yy',constrainInput:true,showButtonPanel:false,januar:''};$.extend(this._defaults,this.regional['']);this.dpDiv=$('<div id="'+this._mainDivId+'" class="ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all ui-helper-hidden-accessible"></div>')}$.extend(Datepicker.prototype,{markerClassName:'hasDatepicker',log:function(){if(this.debug)console.log.apply('',arguments)},setDefaults:function(settings){extendRemove(this._defaults,settings||{});return this},_attachDatepicker:function(target,settings){var inlineSettings=null;for(var attrName in this._defaults){var attrValue=target.getAttribute('date:'+attrName);if(attrValue){inlineSettings=inlineSettings||{};try{inlineSettings[attrName]=eval(attrValue)}catch(err){inlineSettings[attrName]=attrValue}}}var nodeName=target.nodeName.toLowerCase();var inline=(nodeName=='div'||nodeName=='span');if(!target.id)target.id='dp'+(++this.uuid);var inst=this._newInst($(target),inline);inst.settings=$.extend({},settings||{},inlineSettings||{});if(nodeName=='input'){this._connectDatepicker(target,inst)}else if(inline){this._inlineDatepicker(target,inst)}},_newInst:function(target,inline){var id=target[0].id.replace(/([:\[\]\.])/g,'\\\\$1');return{id:id,input:target,selectedDay:0,selectedMonth:0,selectedYear:0,drawMonth:0,drawYear:0,inline:inline,dpDiv:(!inline?this.dpDiv:$('<div class="'+this._inlineClass+' ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all"></div>'))}},_connectDatepicker:function(target,inst){var input=$(target);inst.append=$([]);inst.trigger=$([]);if(input.hasClass(this.markerClassName))return;var appendText=this._get(inst,'appendText');var isRTL=this._get(inst,'isRTL');if(appendText){inst.append=$('<span class="'+this._appendClass+'">'+appendText+'</span>');input[isRTL?'before':'after'](inst.append)}var showOn=this._get(inst,'showOn');if(showOn=='focus'||showOn=='both')input.focus(this._showDatepicker);if(showOn=='button'||showOn=='both'){var buttonText=this._get(inst,'buttonText');var buttonImage=this._get(inst,'buttonImage');inst.trigger=$(this._get(inst,'buttonImageOnly')?$('<img/>').addClass(this._triggerClass).attr({src:buttonImage,alt:buttonText,title:buttonText}):$('<button type="button"></button>').addClass(this._triggerClass).html(buttonImage==''?buttonText:$('<img/>').attr({src:buttonImage,alt:buttonText,title:buttonText})));input[isRTL?'before':'after'](inst.trigger);inst.trigger.click(function(){if($.datepicker._datepickerShowing&&$.datepicker._lastInput==target)$.datepicker._hideDatepicker();else $.datepicker._showDatepicker(target);return false})}input.addClass(this.markerClassName).keydown(this._doKeyDown).keypress(this._doKeyPress).bind("setData.datepicker",function(event,key,value){inst.settings[key]=value}).bind("getData.datepicker",function(event,key){return this._get(inst,key)});$.data(target,PROP_NAME,inst)},_inlineDatepicker:function(target,inst){var divSpan=$(target);if(divSpan.hasClass(this.markerClassName))return;divSpan.addClass(this.markerClassName).append(inst.dpDiv).bind("setData.datepicker",function(event,key,value){inst.settings[key]=value}).bind("getData.datepicker",function(event,key){return this._get(inst,key)});$.data(target,PROP_NAME,inst);this._setDate(inst,this._getDefaultDate(inst));this._updateDatepicker(inst);this._updateAlternate(inst)},_dialogDatepicker:function(input,dateText,onSelect,settings,pos){var inst=this._dialogInst;if(!inst){var id='dp'+(++this.uuid);this._dialogInput=$('<input type="text" id="'+id+'" size="1" style="position: absolute; top: -100px;"/>');this._dialogInput.keydown(this._doKeyDown);$('body').append(this._dialogInput);inst=this._dialogInst=this._newInst(this._dialogInput,false);inst.settings={};$.data(this._dialogInput[0],PROP_NAME,inst)}extendRemove(inst.settings,settings||{});this._dialogInput.val(dateText);this._pos=(pos?(pos.length?pos:[pos.pageX,pos.pageY]):null);if(!this._pos){var browserWidth=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth;var browserHeight=window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight;var scrollX=document.documentElement.scrollLeft||document.body.scrollLeft;var scrollY=document.documentElement.scrollTop||document.body.scrollTop;this._pos=[(browserWidth/2)-100+scrollX,(browserHeight/2)-150+scrollY]}this._dialogInput.css('left',this._pos[0]+'px').css('top',this._pos[1]+'px');inst.settings.onSelect=onSelect;this._inDialog=true;this.dpDiv.addClass(this._dialogClass);this._showDatepicker(this._dialogInput[0]);if($.blockUI)$.blockUI(this.dpDiv);$.data(this._dialogInput[0],PROP_NAME,inst);return this},_destroyDatepicker:function(target){var $target=$(target);var inst=$.data(target,PROP_NAME);if(!$target.hasClass(this.markerClassName)){return}var nodeName=target.nodeName.toLowerCase();$.removeData(target,PROP_NAME);if(nodeName=='input'){inst.append.remove();inst.trigger.remove();$target.removeClass(this.markerClassName).unbind('focus',this._showDatepicker).unbind('keydown',this._doKeyDown).unbind('keypress',this._doKeyPress)}else if(nodeName=='div'||nodeName=='span')$target.removeClass(this.markerClassName).empty()},_enableDatepicker:function(target){var $target=$(target);var inst=$.data(target,PROP_NAME);if(!$target.hasClass(this.markerClassName)){return}var nodeName=target.nodeName.toLowerCase();if(nodeName=='input'){target.disabled=false;inst.trigger.filter('button').each(function(){this.disabled=false}).end().filter('img').css({opacity:'1.0',cursor:''})}else if(nodeName=='div'||nodeName=='span'){var inline=$target.children('.'+this._inlineClass);inline.children().removeClass('ui-state-disabled')}this._disabledInputs=$.map(this._disabledInputs,function(value){return(value==target?null:value)})},_disableDatepicker:function(target){var $target=$(target);var inst=$.data(target,PROP_NAME);if(!$target.hasClass(this.markerClassName)){return}var nodeName=target.nodeName.toLowerCase();if(nodeName=='input'){target.disabled=true;inst.trigger.filter('button').each(function(){this.disabled=true}).end().filter('img').css({opacity:'0.5',cursor:'default'})}else if(nodeName=='div'||nodeName=='span'){var inline=$target.children('.'+this._inlineClass);inline.children().addClass('ui-state-disabled')}this._disabledInputs=$.map(this._disabledInputs,function(value){return(value==target?null:value)});this._disabledInputs[this._disabledInputs.length]=target},_isDisabledDatepicker:function(target){if(!target){return false}for(var i=0;i<this._disabledInputs.length;i++){if(this._disabledInputs[i]==target)return true}return false},_getInst:function(target){try{return $.data(target,PROP_NAME)}catch(err){throw'Missing instance data for this datepicker'}},_optionDatepicker:function(target,name,value){var inst=this._getInst(target);if(arguments.length==2&&typeof name=='string'){return(name=='defaults'?$.extend({},$.datepicker._defaults):(inst?(name=='all'?$.extend({},inst.settings):this._get(inst,name)):null))}var settings=name||{};if(typeof name=='string'){settings={};settings[name]=value}if(inst){if(this._curInst==inst){this._hideDatepicker(null)}var date=this._getDateDatepicker(target);extendRemove(inst.settings,settings);this._setDateDatepicker(target,date);this._updateDatepicker(inst)}},_changeDatepicker:function(target,name,value){this._optionDatepicker(target,name,value)},_refreshDatepicker:function(target){var inst=this._getInst(target);if(inst){this._updateDatepicker(inst)}},_setDateDatepicker:function(target,date,endDate){var inst=this._getInst(target);if(inst){this._setDate(inst,date,endDate);this._updateDatepicker(inst);this._updateAlternate(inst)}},_getDateDatepicker:function(target){var inst=this._getInst(target);if(inst&&!inst.inline)this._setDateFromField(inst);return(inst?this._getDate(inst):null)},_doKeyDown:function(event){var inst=$.datepicker._getInst(event.target);var handled=true;var isRTL=inst.dpDiv.is('.ui-datepicker-rtl');inst._keyEvent=true;if($.datepicker._datepickerShowing)switch(event.keyCode){case 9:$.datepicker._hideDatepicker(null,'');break;case 13:var sel=$('td.'+$.datepicker._dayOverClass+', td.'+$.datepicker._currentClass,inst.dpDiv);if(sel[0])$.datepicker._selectDay(event.target,inst.selectedMonth,inst.selectedYear,sel[0]);else $.datepicker._hideDatepicker(null,$.datepicker._get(inst,'duration'));return false;break;case 27:$.datepicker._hideDatepicker(null,$.datepicker._get(inst,'duration'));break;case 33:$.datepicker._adjustDate(event.target,(event.ctrlKey?-$.datepicker._get(inst,'stepBigMonths'):-$.datepicker._get(inst,'stepMonths')),'M');break;case 34:$.datepicker._adjustDate(event.target,(event.ctrlKey?+$.datepicker._get(inst,'stepBigMonths'):+$.datepicker._get(inst,'stepMonths')),'M');break;case 35:if(event.ctrlKey||event.metaKey)$.datepicker._clearDate(event.target);handled=event.ctrlKey||event.metaKey;break;case 36:if(event.ctrlKey||event.metaKey)$.datepicker._gotoToday(event.target);handled=event.ctrlKey||event.metaKey;break;case 37:if(event.ctrlKey||event.metaKey)$.datepicker._adjustDate(event.target,(isRTL?+1:-1),'D');handled=event.ctrlKey||event.metaKey;if(event.originalEvent.altKey)$.datepicker._adjustDate(event.target,(event.ctrlKey?-$.datepicker._get(inst,'stepBigMonths'):-$.datepicker._get(inst,'stepMonths')),'M');break;case 38:if(event.ctrlKey||event.metaKey)$.datepicker._adjustDate(event.target,-7,'D');handled=event.ctrlKey||event.metaKey;break;case 39:if(event.ctrlKey||event.metaKey)$.datepicker._adjustDate(event.target,(isRTL?-1:+1),'D');handled=event.ctrlKey||event.metaKey;if(event.originalEvent.altKey)$.datepicker._adjustDate(event.target,(event.ctrlKey?+$.datepicker._get(inst,'stepBigMonths'):+$.datepicker._get(inst,'stepMonths')),'M');break;case 40:if(event.ctrlKey||event.metaKey)$.datepicker._adjustDate(event.target,+7,'D');handled=event.ctrlKey||event.metaKey;break;default:handled=false}else if(event.keyCode==36&&event.ctrlKey)$.datepicker._showDatepicker(this);else{handled=false}if(handled){event.preventDefault();event.stopPropagation()}},_doKeyPress:function(event){var inst=$.datepicker._getInst(event.target);if($.datepicker._get(inst,'constrainInput')){var chars=$.datepicker._possibleChars($.datepicker._get(inst,'dateFormat'));var chr=String.fromCharCode(event.charCode==undefined?event.keyCode:event.charCode);return event.ctrlKey||(chr<' '||!chars||chars.indexOf(chr)>-1)}},_showDatepicker:function(input){input=input.target||input;if(input.nodeName.toLowerCase()!='input')input=$('input',input.parentNode)[0];if($.datepicker._isDisabledDatepicker(input)||$.datepicker._lastInput==input)return;var inst=$.datepicker._getInst(input);var beforeShow=$.datepicker._get(inst,'beforeShow');extendRemove(inst.settings,(beforeShow?beforeShow.apply(input,[input,inst]):{}));$.datepicker._hideDatepicker(null,'');$.datepicker._lastInput=input;$.datepicker._setDateFromField(inst);if($.datepicker._inDialog)input.value='';if(!$.datepicker._pos){$.datepicker._pos=$.datepicker._findPos(input);$.datepicker._pos[1]+=input.offsetHeight}var isFixed=false;$(input).parents().each(function(){isFixed|=$(this).css('position')=='fixed';return!isFixed});if(isFixed&&$.browser.opera){$.datepicker._pos[0]-=document.documentElement.scrollLeft;$.datepicker._pos[1]-=document.documentElement.scrollTop}var offset={left:$.datepicker._pos[0],top:$.datepicker._pos[1]};$.datepicker._pos=null;inst.rangeStart=null;inst.dpDiv.css({position:'absolute',display:'block',top:'-1000px'});$.datepicker._updateDatepicker(inst);offset=$.datepicker._checkOffset(inst,offset,isFixed);inst.dpDiv.css({position:($.datepicker._inDialog&&$.blockUI?'static':(isFixed?'fixed':'absolute')),display:'none',left:offset.left-50+'px',top:offset.top+'px'});if(!inst.inline){var showAnim=$.datepicker._get(inst,'showAnim')||'show';var duration=$.datepicker._get(inst,'duration');var postProcess=function(){$.datepicker._datepickerShowing=true;if($.browser.msie&&parseInt($.browser.version,10)<7)$('iframe.ui-datepicker-cover').css({width:inst.dpDiv.width()+4,height:inst.dpDiv.height()+4})};if($.effects&&$.effects[showAnim])inst.dpDiv.show(showAnim,$.datepicker._get(inst,'showOptions'),duration,postProcess);else inst.dpDiv[showAnim](duration,postProcess);if(duration=='')postProcess();if(inst.input[0].type!='hidden')inst.input[0].focus();$.datepicker._curInst=inst}},_updateDatepicker:function(inst){var dims={width:inst.dpDiv.width()+4,height:inst.dpDiv.height()+4};var self=this;inst.dpDiv.empty().append(this._generateHTML(inst)).find('iframe.ui-datepicker-cover').css({width:dims.width,height:dims.height}).end().find('button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a').bind('mouseout',function(){$(this).removeClass('ui-state-hover');if(this.className.indexOf('ui-datepicker-prev')!=-1)$(this).removeClass('ui-datepicker-prev-hover');if(this.className.indexOf('ui-datepicker-next')!=-1)$(this).removeClass('ui-datepicker-next-hover')}).bind('mouseover',function(){if(!self._isDisabledDatepicker(inst.inline?inst.dpDiv.parent()[0]:inst.input[0])){$(this).parents('.ui-datepicker-calendar').find('a').removeClass('ui-state-hover');$(this).addClass('ui-state-hover');if(this.className.indexOf('ui-datepicker-prev')!=-1)$(this).addClass('ui-datepicker-prev-hover');if(this.className.indexOf('ui-datepicker-next')!=-1)$(this).addClass('ui-datepicker-next-hover')}}).end().find('.'+this._dayOverClass+' a').trigger('mouseover').end();var numMonths=this._getNumberOfMonths(inst);var cols=numMonths[1];var width=17;if(cols>1){inst.dpDiv.addClass('ui-datepicker-multi-'+cols).css('width',(width*cols)+'em')}else{inst.dpDiv.removeClass('ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4').width('')}inst.dpDiv[(numMonths[0]!=1||numMonths[1]!=1?'add':'remove')+'Class']('ui-datepicker-multi');inst.dpDiv[(this._get(inst,'isRTL')?'add':'remove')+'Class']('ui-datepicker-rtl');if(inst.input&&inst.input[0].type!='hidden'&&inst==$.datepicker._curInst)$(inst.input[0]).focus()},_checkOffset:function(inst,offset,isFixed){var dpWidth=inst.dpDiv.outerWidth();var dpHeight=inst.dpDiv.outerHeight();var inputWidth=inst.input?inst.input.outerWidth():0;var inputHeight=inst.input?inst.input.outerHeight():0;var viewWidth=(window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth)+$(document).scrollLeft();var viewHeight=(window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight)+$(document).scrollTop();offset.left-=(this._get(inst,'isRTL')?(dpWidth-inputWidth):0);offset.left-=(isFixed&&offset.left==inst.input.offset().left)?$(document).scrollLeft():0;offset.top-=(isFixed&&offset.top==(inst.input.offset().top+inputHeight))?$(document).scrollTop():0;offset.left-=(offset.left+dpWidth>viewWidth&&viewWidth>dpWidth)?Math.abs(offset.left+dpWidth-viewWidth):0;offset.top-=(offset.top+dpHeight>viewHeight&&viewHeight>dpHeight)?Math.abs(offset.top+dpHeight+inputHeight*2-viewHeight):0;return offset},_findPos:function(obj){while(obj&&(obj.type=='hidden'||obj.nodeType!=1)){obj=obj.nextSibling}var position=$(obj).offset();return[position.left,position.top]},_hideDatepicker:function(input,duration){var inst=this._curInst;if(!inst||(input&&inst!=$.data(input,PROP_NAME)))return;if(inst.stayOpen)this._selectDate('#'+inst.id,this._formatDate(inst,inst.currentDay,inst.currentMonth,inst.currentYear));inst.stayOpen=false;if(this._datepickerShowing){duration=(duration!=null?duration:this._get(inst,'duration'));var showAnim=this._get(inst,'showAnim');var postProcess=function(){$.datepicker._tidyDialog(inst)};if(duration!=''&&$.effects&&$.effects[showAnim])inst.dpDiv.hide(showAnim,$.datepicker._get(inst,'showOptions'),duration,postProcess);else inst.dpDiv[(duration==''?'hide':(showAnim=='slideDown'?'slideUp':(showAnim=='fadeIn'?'fadeOut':'hide')))](duration,postProcess);if(duration=='')this._tidyDialog(inst);var onClose=this._get(inst,'onClose');if(onClose)onClose.apply((inst.input?inst.input[0]:null),[(inst.input?inst.input.val():''),inst]);this._datepickerShowing=false;this._lastInput=null;if(this._inDialog){this._dialogInput.css({position:'absolute',left:'0',top:'-100px'});if($.blockUI){$.unblockUI();$('body').append(this.dpDiv)}}this._inDialog=false}this._curInst=null},_tidyDialog:function(inst){inst.dpDiv.removeClass(this._dialogClass).unbind('.ui-datepicker-calendar')},_checkExternalClick:function(event){if(!$.datepicker._curInst)return;var $target=$(event.target);if(($target.parents('#'+$.datepicker._mainDivId).length==0)&&!$target.hasClass($.datepicker.markerClassName)&&!$target.hasClass($.datepicker._triggerClass)&&$.datepicker._datepickerShowing&&!($.datepicker._inDialog&&$.blockUI))$.datepicker._hideDatepicker(null,'')},_adjustDate:function(id,offset,period){var target=$(id);var inst=this._getInst(target[0]);if(this._isDisabledDatepicker(target[0])){return}this._adjustInstDate(inst,offset+(period=='M'?this._get(inst,'showCurrentAtPos'):0),period);this._updateDatepicker(inst)},_gotoToday:function(id){var target=$(id);var inst=this._getInst(target[0]);if(this._get(inst,'gotoCurrent')&&inst.currentDay){inst.selectedDay=inst.currentDay;inst.drawMonth=inst.selectedMonth=inst.currentMonth;inst.drawYear=inst.selectedYear=inst.currentYear}else{var date=new Date();inst.selectedDay=date.getDate();inst.drawMonth=inst.selectedMonth=date.getMonth();inst.drawYear=inst.selectedYear=date.getFullYear()}this._notifyChange(inst);this._adjustDate(target)},_selectMonthYear:function(id,select,period){var target=$(id);var inst=this._getInst(target[0]);inst._selectingMonthYear=false;inst['selected'+(period=='M'?'Month':'Year')]=inst['draw'+(period=='M'?'Month':'Year')]=parseInt(select.options[select.selectedIndex].value,10);this._notifyChange(inst);this._adjustDate(target)},_clickMonthYear:function(id){var target=$(id);var inst=this._getInst(target[0]);if(inst.input&&inst._selectingMonthYear&&!$.browser.msie)inst.input[0].focus();inst._selectingMonthYear=!inst._selectingMonthYear},_selectDay:function(id,month,year,td){var target=$(id);if($(td).hasClass(this._unselectableClass)||this._isDisabledDatepicker(target[0])){return}var inst=this._getInst(target[0]);inst.selectedDay=inst.currentDay=$('a',td).html();inst.selectedMonth=inst.currentMonth=month;inst.selectedYear=inst.currentYear=year;if(inst.stayOpen){inst.endDay=inst.endMonth=inst.endYear=null}this._selectDate(id,this._formatDate(inst,inst.currentDay,inst.currentMonth,inst.currentYear));if(inst.stayOpen){inst.rangeStart=this._daylightSavingAdjust(new Date(inst.currentYear,inst.currentMonth,inst.currentDay));this._updateDatepicker(inst)}},_clearDate:function(id){var target=$(id);var inst=this._getInst(target[0]);inst.stayOpen=false;inst.endDay=inst.endMonth=inst.endYear=inst.rangeStart=null;this._selectDate(target,'')},_selectDate:function(id,dateStr){var target=$(id);var inst=this._getInst(target[0]);dateStr=(dateStr!=null?dateStr:this._formatDate(inst));if(inst.input)inst.input.val(dateStr);this._updateAlternate(inst);var onSelect=this._get(inst,'onSelect');if(onSelect)onSelect.apply((inst.input?inst.input[0]:null),[dateStr,inst]);else if(inst.input)inst.input.trigger('change');if(inst.inline)this._updateDatepicker(inst);else if(!inst.stayOpen){this._hideDatepicker(null,this._get(inst,'duration'));this._lastInput=inst.input[0];if(typeof(inst.input[0])!='object')inst.input[0].focus();this._lastInput=null}},_updateAlternate:function(inst){var altField=this._get(inst,'altField');var altFieldDateAdd=this._get(inst,'altFieldDateAdd');if(altField){var altFormat=this._get(inst,'altFormat')||this._get(inst,'dateFormat');var date=this._getDate(inst);var lDay=dateAdd(date.getDate()+'.'+date.getMonth()+'.'+date.getFullYear(),altFieldDateAdd).split('.')[0];var lMonth=dateAdd(date.getDate()+'.'+date.getMonth()+'.'+date.getFullYear(),altFieldDateAdd).split('.')[1];var lYear=dateAdd(date.getDate()+'.'+date.getMonth()+'.'+date.getFullYear(),altFieldDateAdd).split('.')[2];dateStr=this.formatDate(altFormat,new Date(lYear,lMonth,lDay),this._getFormatConfig(inst));$(altField).each(function(){$(this).val(dateStr)})}},noWeekends:function(date){var day=date.getDay();return[(day>0&&day<6),'']},iso8601Week:function(date){var checkDate=new Date(date.getFullYear(),date.getMonth(),date.getDate());var firstMon=new Date(checkDate.getFullYear(),1-1,4);var firstDay=firstMon.getDay()||7;firstMon.setDate(firstMon.getDate()+1-firstDay);if(firstDay<4&&checkDate<firstMon){checkDate.setDate(checkDate.getDate()-3);return $.datepicker.iso8601Week(checkDate)}else if(checkDate>new Date(checkDate.getFullYear(),12-1,28)){firstDay=new Date(checkDate.getFullYear()+1,1-1,4).getDay()||7;if(firstDay>4&&(checkDate.getDay()||7)<firstDay-3){return 1}}return Math.floor(((checkDate-firstMon)/86400000)/7)+1},parseDate:function(format,value,settings){if(format==null||value==null)throw'Invalid arguments';value=(typeof value=='object'?value.toString():value+'');if(value=='')return null;var shortYearCutoff=(settings?settings.shortYearCutoff:null)||this._defaults.shortYearCutoff;var dayNamesShort=(settings?settings.dayNamesShort:null)||this._defaults.dayNamesShort;var dayNames=(settings?settings.dayNames:null)||this._defaults.dayNames;var monthNamesShort=(settings?settings.monthNamesShort:null)||this._defaults.monthNamesShort;var monthNames=(settings?settings.monthNames:null)||this._defaults.monthNames;var year=-1;var month=-1;var day=-1;var doy=-1;var literal=false;var lookAhead=function(match){var matches=(iFormat+1<format.length&&format.charAt(iFormat+1)==match);if(matches)iFormat++;return matches};var getNumber=function(match){lookAhead(match);var origSize=(match=='@'?14:(match=='y'?4:(match=='o'?3:2)));var size=origSize;var num=0;while(size>0&&iValue<value.length&&value.charAt(iValue)>='0'&&value.charAt(iValue)<='9'){num=num*10+parseInt(value.charAt(iValue++),10);size--}if(size==origSize)throw'Missing number at position '+iValue;return num};var getName=function(match,shortNames,longNames){var names=(lookAhead(match)?longNames:shortNames);var size=0;for(var j=0;j<names.length;j++)size=Math.max(size,names[j].length);var name='';var iInit=iValue;while(size>0&&iValue<value.length){name+=value.charAt(iValue++);for(var i=0;i<names.length;i++)if(name==names[i])return i+1;size--}throw'Unknown name at position '+iInit};var checkLiteral=function(){if(value.charAt(iValue)!=format.charAt(iFormat))throw'Unexpected literal at position '+iValue;iValue++};var iValue=0;for(var iFormat=0;iFormat<format.length;iFormat++){if(literal)if(format.charAt(iFormat)=="'"&&!lookAhead("'"))literal=false;else checkLiteral();else switch(format.charAt(iFormat)){case'd':day=getNumber('d');break;case'D':getName('D',dayNamesShort,dayNames);break;case'o':doy=getNumber('o');break;case'm':month=getNumber('m');break;case'M':month=getName('M',monthNamesShort,monthNames);break;case'y':year=getNumber('y');break;case'@':var date=new Date(getNumber('@'));year=date.getFullYear();month=date.getMonth()+1;day=date.getDate();break;case"'":if(lookAhead("'"))checkLiteral();else literal=true;break;default:checkLiteral()}}if(year==-1)year=new Date().getFullYear();else if(year<100)year+=new Date().getFullYear()-new Date().getFullYear()%100+(year<=shortYearCutoff?0:-100);if(doy>-1){month=1;day=doy;do{var dim=this._getDaysInMonth(year,month-1);if(day<=dim)break;month++;day-=dim}while(true)}var date=this._daylightSavingAdjust(new Date(year,month-1,day));if(date.getFullYear()!=year||date.getMonth()+1!=month||date.getDate()!=day)throw'Invalid date';return date},ATOM:'yy-mm-dd',COOKIE:'D, dd M yy',ISO_8601:'yy-mm-dd',RFC_822:'D, d M y',RFC_850:'DD, dd-M-y',RFC_1036:'D, d M y',RFC_1123:'D, d M yy',RFC_2822:'D, d M yy',RSS:'D, d M y',TIMESTAMP:'@',W3C:'yy-mm-dd',formatDate:function(format,date,settings){if(!date)return'';var dayNamesShort=(settings?settings.dayNamesShort:null)||this._defaults.dayNamesShort;var dayNames=(settings?settings.dayNames:null)||this._defaults.dayNames;var monthNamesShort=(settings?settings.monthNamesShort:null)||this._defaults.monthNamesShort;var monthNames=(settings?settings.monthNames:null)||this._defaults.monthNames;var lookAhead=function(match){var matches=(iFormat+1<format.length&&format.charAt(iFormat+1)==match);if(matches)iFormat++;return matches};var formatNumber=function(match,value,len){var num=''+value;if(lookAhead(match))while(num.length<len)num='0'+num;return num};var formatName=function(match,value,shortNames,longNames){return(lookAhead(match)?longNames[value]:shortNames[value])};var output='';var literal=false;if(date)for(var iFormat=0;iFormat<format.length;iFormat++){if(literal)if(format.charAt(iFormat)=="'"&&!lookAhead("'"))literal=false;else output+=format.charAt(iFormat);else switch(format.charAt(iFormat)){case'd':output+=formatNumber('d',date.getDate(),2);break;case'D':output+=formatName('D',date.getDay(),dayNamesShort,dayNames);break;case'o':var doy=date.getDate();for(var m=date.getMonth()-1;m>=0;m--)doy+=this._getDaysInMonth(date.getFullYear(),m);output+=formatNumber('o',doy,3);break;case'm':output+=formatNumber('m',date.getMonth()+1,2);break;case'M':output+=formatName('M',date.getMonth(),monthNamesShort,monthNames);break;case'y':output+=(lookAhead('y')?date.getFullYear():(date.getYear()%100<10?'0':'')+date.getYear()%100);break;case'@':output+=date.getTime();break;case"'":if(lookAhead("'"))output+="'";else literal=true;break;default:output+=format.charAt(iFormat)}}return output},_possibleChars:function(format){var chars='';var literal=false;for(var iFormat=0;iFormat<format.length;iFormat++)if(literal)if(format.charAt(iFormat)=="'"&&!lookAhead("'"))literal=false;else chars+=format.charAt(iFormat);else switch(format.charAt(iFormat)){case'd':case'm':case'y':case'@':chars+='0123456789';break;case'D':case'M':return null;case"'":if(lookAhead("'"))chars+="'";else literal=true;break;default:chars+=format.charAt(iFormat)}return chars},_get:function(inst,name){return inst.settings[name]!==undefined?inst.settings[name]:this._defaults[name]},_setDateFromField:function(inst){var dateFormat=this._get(inst,'dateFormat');var dates=inst.input?inst.input.val():null;inst.endDay=inst.endMonth=inst.endYear=null;var date=defaultDate=this._getDefaultDate(inst);var settings=this._getFormatConfig(inst);try{date=this.parseDate(dateFormat,dates,settings)||defaultDate}catch(event){this.log(event);date=defaultDate}inst.selectedDay=date.getDate();inst.drawMonth=inst.selectedMonth=date.getMonth();inst.drawYear=inst.selectedYear=date.getFullYear();inst.currentDay=(dates?date.getDate():0);inst.currentMonth=(dates?date.getMonth():0);inst.currentYear=(dates?date.getFullYear():0);this._adjustInstDate(inst)},_getDefaultDate:function(inst){var date=this._determineDate(this._get(inst,'defaultDate'),new Date());var minDate=this._getMinMaxDate(inst,'min',true);var maxDate=this._getMinMaxDate(inst,'max');date=(minDate&&date<minDate?minDate:date);date=(maxDate&&date>maxDate?maxDate:date);return date},_determineDate:function(date,defaultDate){var offsetNumeric=function(offset){var date=new Date();date.setDate(date.getDate()+offset);return date};var offsetString=function(offset,getDaysInMonth){var date=new Date();var year=date.getFullYear();var month=date.getMonth();var day=date.getDate();var pattern=/([+-]?[0-9]+)\s*(d|D|w|W|m|M|y|Y)?/g;var matches=pattern.exec(offset);while(matches){switch(matches[2]||'d'){case'd':case'D':day+=parseInt(matches[1],10);break;case'w':case'W':day+=parseInt(matches[1],10)*7;break;case'm':case'M':month+=parseInt(matches[1],10);day=Math.min(day,getDaysInMonth(year,month));break;case'y':case'Y':year+=parseInt(matches[1],10);day=Math.min(day,getDaysInMonth(year,month));break}matches=pattern.exec(offset)}return new Date(year,month,day)};date=(date==null?defaultDate:(typeof date=='string'?offsetString(date,this._getDaysInMonth):(typeof date=='number'?(isNaN(date)?defaultDate:offsetNumeric(date)):date)));date=(date&&date.toString()=='Invalid Date'?defaultDate:date);if(date){date.setHours(0);date.setMinutes(0);date.setSeconds(0);date.setMilliseconds(0)}return this._daylightSavingAdjust(date)},_daylightSavingAdjust:function(date){if(!date)return null;date.setHours(date.getHours()>12?date.getHours()+2:0);return date},_setDate:function(inst,date,endDate){var clear=!(date);var origMonth=inst.selectedMonth;var origYear=inst.selectedYear;date=this._determineDate(date,new Date());inst.selectedDay=inst.currentDay=date.getDate();inst.drawMonth=inst.selectedMonth=inst.currentMonth=date.getMonth();inst.drawYear=inst.selectedYear=inst.currentYear=date.getFullYear();if(origMonth!=inst.selectedMonth||origYear!=inst.selectedYear)this._notifyChange(inst);this._adjustInstDate(inst);if(inst.input){inst.input.val(clear?'':this._formatDate(inst))}},_getDate:function(inst){var startDate=(!inst.currentYear||(inst.input&&inst.input.val()=='')?null:this._daylightSavingAdjust(new Date(inst.currentYear,inst.currentMonth,inst.currentDay)));return startDate},_generateHTML:function(inst){var today=new Date();today=this._daylightSavingAdjust(new Date(today.getFullYear(),today.getMonth(),today.getDate()));var isRTL=this._get(inst,'isRTL');var showButtonPanel=this._get(inst,'showButtonPanel');var hideIfNoPrevNext=this._get(inst,'hideIfNoPrevNext');var navigationAsDateFormat=this._get(inst,'navigationAsDateFormat');var numMonths=this._getNumberOfMonths(inst);var showCurrentAtPos=this._get(inst,'showCurrentAtPos');var stepMonths=this._get(inst,'stepMonths');var stepBigMonths=this._get(inst,'stepBigMonths');var isMultiMonth=(numMonths[0]!=1||numMonths[1]!=1);var currentDate=this._daylightSavingAdjust((!inst.currentDay?new Date(9999,9,9):new Date(inst.currentYear,inst.currentMonth,inst.currentDay)));var minDate=this._getMinMaxDate(inst,'min',true);var maxDate=this._getMinMaxDate(inst,'max');var drawMonth=inst.drawMonth-showCurrentAtPos;var drawYear=inst.drawYear;if(drawMonth<0){drawMonth+=12;drawYear--}if(maxDate){var maxDraw=this._daylightSavingAdjust(new Date(maxDate.getFullYear(),maxDate.getMonth()-numMonths[1]+1,maxDate.getDate()));maxDraw=(minDate&&maxDraw<minDate?minDate:maxDraw);while(this._daylightSavingAdjust(new Date(drawYear,drawMonth,1))>maxDraw){drawMonth--;if(drawMonth<0){drawMonth=11;drawYear--}}}inst.drawMonth=drawMonth;inst.drawYear=drawYear;var prevText=this._get(inst,'prevText');prevText=(!navigationAsDateFormat?prevText:this.formatDate(prevText,this._daylightSavingAdjust(new Date(drawYear,drawMonth-stepMonths,1)),this._getFormatConfig(inst)));var prev=(this._canAdjustMonth(inst,-1,drawYear,drawMonth)?'<a class="ui-datepicker-prev ui-corner-all" onclick="DP_jQuery.datepicker._adjustDate(\'#'+inst.id+'\', -'+stepMonths+', \'M\');"'+' title="'+prevText+'"><span class="ui-icon ui-icon-circle-triangle-'+(isRTL?'e':'w')+'">'+prevText+'</span></a>':(hideIfNoPrevNext?'':'<a class="ui-datepicker-prev ui-corner-all ui-state-disabled" title="'+prevText+'"><span class="ui-icon ui-icon-circle-triangle-'+(isRTL?'e':'w')+'">'+prevText+'</span></a>'));var nextText=this._get(inst,'nextText');nextText=(!navigationAsDateFormat?nextText:this.formatDate(nextText,this._daylightSavingAdjust(new Date(drawYear,drawMonth+stepMonths,1)),this._getFormatConfig(inst)));var next=(this._canAdjustMonth(inst,+1,drawYear,drawMonth)?'<a class="ui-datepicker-next ui-corner-all" onclick="DP_jQuery.datepicker._adjustDate(\'#'+inst.id+'\', +'+stepMonths+', \'M\');"'+' title="'+nextText+'"><span class="ui-icon ui-icon-circle-triangle-'+(isRTL?'w':'e')+'">'+nextText+'</span></a>':(hideIfNoPrevNext?'':'<a class="ui-datepicker-next ui-corner-all ui-state-disabled" title="'+nextText+'"><span class="ui-icon ui-icon-circle-triangle-'+(isRTL?'w':'e')+'">'+nextText+'</span></a>'));var currentText=this._get(inst,'currentText');var gotoDate=(this._get(inst,'gotoCurrent')&&inst.currentDay?currentDate:today);currentText=(!navigationAsDateFormat?currentText:this.formatDate(currentText,gotoDate,this._getFormatConfig(inst)));var controls=(!inst.inline?'<button type="button" class="ui-datepicker-close ui-state-default ui-priority-primary ui-corner-all" onclick="DP_jQuery.datepicker._hideDatepicker();">'+this._get(inst,'closeText')+'</button>':'');var buttonPanel=(showButtonPanel)?'<div class="ui-datepicker-buttonpane ui-widget-content">'+(isRTL?controls:'')+(this._isInRange(inst,gotoDate)?'<button type="button" class="ui-datepicker-current ui-state-default ui-priority-secondary ui-corner-all" onclick="DP_jQuery.datepicker._gotoToday(\'#'+inst.id+'\');"'+'>'+currentText+'</button>':'')+(isRTL?'':controls)+'</div>':'';var firstDay=parseInt(this._get(inst,'firstDay'),10);firstDay=(isNaN(firstDay)?0:firstDay);var dayNames=this._get(inst,'dayNames');var dayNamesShort=this._get(inst,'dayNamesShort');var dayNamesMin=this._get(inst,'dayNamesMin');var monthNames=this._get(inst,'monthNames');var monthNamesShort=this._get(inst,'monthNamesShort');var beforeShowDay=this._get(inst,'beforeShowDay');var showOtherMonths=this._get(inst,'showOtherMonths');var calculateWeek=this._get(inst,'calculateWeek')||this.iso8601Week;var endDate=inst.endDay?this._daylightSavingAdjust(new Date(inst.endYear,inst.endMonth,inst.endDay)):currentDate;var defaultDate=this._getDefaultDate(inst);var html='';for(var row=0;row<numMonths[0];row++){var group='';for(var col=0;col<numMonths[1];col++){var selectedDate=this._daylightSavingAdjust(new Date(drawYear,drawMonth,inst.selectedDay));var cornerClass=' ui-corner-all';var calender='';if(isMultiMonth){calender+='<div class="ui-datepicker-group ui-datepicker-group-';switch(col){case 0:calender+='first';cornerClass=' ui-corner-'+(isRTL?'right':'left');break;case numMonths[1]-1:calender+='last';cornerClass=' ui-corner-'+(isRTL?'left':'right');break;default:calender+='middle';cornerClass='';break}calender+='">'}calender+='<div class="ui-datepicker-header ui-widget-header ui-helper-clearfix'+cornerClass+'">'+(/all|left/.test(cornerClass)&&row==0?(isRTL?next:prev):'')+(/all|right/.test(cornerClass)&&row==0?(isRTL?prev:next):'')+this._generateMonthYearHeader(inst,drawMonth,drawYear,minDate,maxDate,selectedDate,row>0||col>0,monthNames,monthNamesShort)+'</div><table class="ui-datepicker-calendar"><thead>'+'<tr>';var thead='';for(var dow=0;dow<7;dow++){var day=(dow+firstDay)%7;thead+='<th'+((dow+firstDay+6)%7>=5?' class="ui-datepicker-week-end"':'')+'>'+'<span title="'+dayNames[day]+'">'+dayNamesMin[day]+'</span></th>'}calender+=thead+'</tr></thead><tbody>';var daysInMonth=this._getDaysInMonth(drawYear,drawMonth);if(drawYear==inst.selectedYear&&drawMonth==inst.selectedMonth)inst.selectedDay=Math.min(inst.selectedDay,daysInMonth);var leadDays=(this._getFirstDayOfMonth(drawYear,drawMonth)-firstDay+7)%7;var numRows=(isMultiMonth?6:Math.ceil((leadDays+daysInMonth)/7)); var printDate=this._daylightSavingAdjust(new Date(drawYear,drawMonth,1-leadDays));for(var dRow=0;dRow<numRows;dRow++){calender+='<tr>';var tbody='';for(var dow=0;dow<7;dow++){var daySettings=(beforeShowDay?beforeShowDay.apply((inst.input?inst.input[0]:null),[printDate]):[true,'']);var otherMonth=(printDate.getMonth()!=drawMonth);var unselectable=otherMonth||!daySettings[0]||(minDate&&printDate<minDate)||(maxDate&&printDate>maxDate);tbody+='<td class="'+((dow+firstDay+6)%7>=5?' ui-datepicker-week-end':'')+(otherMonth?' ui-datepicker-other-month':'')+((printDate.getTime()==selectedDate.getTime()&&drawMonth==inst.selectedMonth&&inst._keyEvent)||(defaultDate.getTime()==printDate.getTime()&&defaultDate.getTime()==selectedDate.getTime())?' '+this._dayOverClass:'')+(unselectable?' '+this._unselectableClass+' ui-state-disabled':'')+(otherMonth&&!showOtherMonths?'':' '+daySettings[1]+(printDate.getTime()>=currentDate.getTime()&&printDate.getTime()<=endDate.getTime()?' '+this._currentClass:'')+(printDate.getTime()==today.getTime()?' ui-datepicker-today':''))+'"'+((!otherMonth||showOtherMonths)&&daySettings[2]?' title="'+daySettings[2]+'"':'')+(unselectable?'':' onclick="DP_jQuery.datepicker._selectDay(\'#'+inst.id+'\','+drawMonth+','+drawYear+', this);return false;"')+'>'+(otherMonth?(showOtherMonths?printDate.getDate():'&#xa0;'):(unselectable?'<span class="ui-state-default">'+printDate.getDate()+'</span>':'<a class="ui-state-default'+(printDate.getTime()==today.getTime()?' ui-state-highlight':'')+(printDate.getTime()>=currentDate.getTime()&&printDate.getTime()<=endDate.getTime()?' ui-state-active':'')+'" href="#">'+printDate.getDate()+'</a>'))+'</td>';printDate.setDate(printDate.getDate()+1);printDate=this._daylightSavingAdjust(printDate)}calender+=tbody+'</tr>'}drawMonth++;if(drawMonth>11){drawMonth=0;drawYear++}calender+='</tbody></table>'+(isMultiMonth?'</div>'+((numMonths[0]>0&&col==numMonths[1]-1)?'<div class="ui-datepicker-row-break"></div>':''):'');group+=calender}html+=group}html+=buttonPanel+($.browser.msie&&parseInt($.browser.version,10)<7&&!inst.inline?'<iframe src="javascript:false;" class="ui-datepicker-cover" frameborder="0"></iframe>':'');inst._keyEvent=false;return html},_generateMonthYearHeader:function(inst,drawMonth,drawYear,minDate,maxDate,selectedDate,secondary,monthNames,monthNamesShort){minDate=(inst.rangeStart&&minDate&&selectedDate<minDate?selectedDate:minDate);var changeMonth=this._get(inst,'changeMonth');var changeYear=this._get(inst,'changeYear');var showMonthAfterYear=this._get(inst,'showMonthAfterYear');var html='<div class="ui-datepicker-title">';var monthHtml='';if(secondary||!changeMonth)monthHtml+='<span class="ui-datepicker-month">'+monthNames[drawMonth]+'</span> ';else{var inMinYear=(minDate&&minDate.getFullYear()==drawYear);var inMaxYear=(maxDate&&maxDate.getFullYear()==drawYear);monthHtml+='<select class="ui-datepicker-month" '+'onchange="DP_jQuery.datepicker._selectMonthYear(\'#'+inst.id+'\', this, \'M\');" '+'onclick="DP_jQuery.datepicker._clickMonthYear(\'#'+inst.id+'\');"'+'>';for(var month=0;month<12;month++){if((!inMinYear||month>=minDate.getMonth())&&(!inMaxYear||month<=maxDate.getMonth()))monthHtml+='<option value="'+month+'"'+(month==drawMonth?' selected="selected"':'')+'>'+monthNamesShort[month]+'</option>'}monthHtml+='</select>'}if(!showMonthAfterYear)html+=monthHtml+((secondary||changeMonth||changeYear)&&(!(changeMonth&&changeYear))?'&#xa0;':'');if(secondary||!changeYear)html+='<span class="ui-datepicker-year">'+drawYear+'</span>';else{var years=this._get(inst,'yearRange').split(':');var year=0;var endYear=0;if(years.length!=2){year=drawYear-10;endYear=drawYear+10}else if(years[0].charAt(0)=='+'||years[0].charAt(0)=='-'){year=drawYear+parseInt(years[0],10);endYear=drawYear+parseInt(years[1],10)}else{year=parseInt(years[0],10);endYear=parseInt(years[1],10)}year=(minDate?Math.max(year,minDate.getFullYear()):year);endYear=(maxDate?Math.min(endYear,maxDate.getFullYear()):endYear);html+='<select class="ui-datepicker-year" '+'onchange="DP_jQuery.datepicker._selectMonthYear(\'#'+inst.id+'\', this, \'Y\');" '+'onclick="DP_jQuery.datepicker._clickMonthYear(\'#'+inst.id+'\');"'+'>';for(;year<=endYear;year++){html+='<option value="'+year+'"'+(year==drawYear?' selected="selected"':'')+'>'+year+'</option>'}html+='</select>'}if(showMonthAfterYear)html+=(secondary||changeMonth||changeYear?'&#xa0;':'')+monthHtml;html+='</div>';return html},_adjustInstDate:function(inst,offset,period){var year=inst.drawYear+(period=='Y'?offset:0);var month=inst.drawMonth+(period=='M'?offset:0);var day=Math.min(inst.selectedDay,this._getDaysInMonth(year,month))+(period=='D'?offset:0);var date=this._daylightSavingAdjust(new Date(year,month,day));var minDate=this._getMinMaxDate(inst,'min',true);var maxDate=this._getMinMaxDate(inst,'max');date=(minDate&&date<minDate?minDate:date);date=(maxDate&&date>maxDate?maxDate:date);inst.selectedDay=date.getDate();inst.drawMonth=inst.selectedMonth=date.getMonth();inst.drawYear=inst.selectedYear=date.getFullYear();if(period=='M'||period=='Y')this._notifyChange(inst)},_notifyChange:function(inst){var onChange=this._get(inst,'onChangeMonthYear');if(onChange)onChange.apply((inst.input?inst.input[0]:null),[inst.selectedYear,inst.selectedMonth+1,inst])},_getNumberOfMonths:function(inst){var numMonths=this._get(inst,'numberOfMonths');return(numMonths==null?[1,1]:(typeof numMonths=='number'?[1,numMonths]:numMonths))},_getMinMaxDate:function(inst,minMax,checkRange){var date=this._determineDate(this._get(inst,minMax+'Date'),null);return(!checkRange||!inst.rangeStart?date:(!date||inst.rangeStart>date?inst.rangeStart:date))},_getDaysInMonth:function(year,month){return 32-new Date(year,month,32).getDate()},_getFirstDayOfMonth:function(year,month){return new Date(year,month,1).getDay()},_canAdjustMonth:function(inst,offset,curYear,curMonth){var numMonths=this._getNumberOfMonths(inst);var date=this._daylightSavingAdjust(new Date(curYear,curMonth+(offset<0?offset:numMonths[1]),1));if(offset<0)date.setDate(this._getDaysInMonth(date.getFullYear(),date.getMonth()));return this._isInRange(inst,date)},_isInRange:function(inst,date){var newMinDate=(!inst.rangeStart?null:this._daylightSavingAdjust(new Date(inst.selectedYear,inst.selectedMonth,inst.selectedDay)));newMinDate=(newMinDate&&inst.rangeStart<newMinDate?inst.rangeStart:newMinDate);var minDate=newMinDate||this._getMinMaxDate(inst,'min');var maxDate=this._getMinMaxDate(inst,'max');return((!minDate||date>=minDate)&&(!maxDate||date<=maxDate))},_getFormatConfig:function(inst){var shortYearCutoff=this._get(inst,'shortYearCutoff');shortYearCutoff=(typeof shortYearCutoff!='string'?shortYearCutoff:new Date().getFullYear()%100+parseInt(shortYearCutoff,10));return{shortYearCutoff:shortYearCutoff,dayNamesShort:this._get(inst,'dayNamesShort'),dayNames:this._get(inst,'dayNames'),monthNamesShort:this._get(inst,'monthNamesShort'),monthNames:this._get(inst,'monthNames')}},_formatDate:function(inst,day,month,year){if(!day){inst.currentDay=inst.selectedDay;inst.currentMonth=inst.selectedMonth;inst.currentYear=inst.selectedYear}var date=(day?(typeof day=='object'?day:this._daylightSavingAdjust(new Date(year,month,day))):this._daylightSavingAdjust(new Date(inst.currentYear,inst.currentMonth,inst.currentDay)));return this.formatDate(this._get(inst,'dateFormat'),date,this._getFormatConfig(inst))}});function extendRemove(target,props){$.extend(target,props);for(var name in props)if(props[name]==null||props[name]==undefined)target[name]=props[name];return target};function isArray(a){return(a&&(($.browser.safari&&typeof a=='object'&&a.length)||(a.constructor&&a.constructor.toString().match(/\Array\(\)/))))};$.fn.datepicker=function(options){if(!$.datepicker.initialized){$(document).mousedown($.datepicker._checkExternalClick).find('body').append($.datepicker.dpDiv);$.datepicker.initialized=true}var otherArgs=Array.prototype.slice.call(arguments,1);if(typeof options=='string'&&(options=='isDisabled'||options=='getDate'))return $.datepicker['_'+options+'Datepicker'].apply($.datepicker,[this[0]].concat(otherArgs));if(options=='option'&&arguments.length==2&&typeof arguments[1]=='string')return $.datepicker['_'+options+'Datepicker'].apply($.datepicker,[this[0]].concat(otherArgs));return this.each(function(){typeof options=='string'?$.datepicker['_'+options+'Datepicker'].apply($.datepicker,[this].concat(otherArgs)):$.datepicker._attachDatepicker(this,options)})};$.datepicker=new Datepicker();$.datepicker.initialized=false;$.datepicker.uuid=new Date().getTime();$.datepicker.version="1.7.2";window.DP_jQuery=$})(jQuery);
var Prototype={Version:'1.6.0.3',Browser:{IE:!!(window.attachEvent&&navigator.userAgent.indexOf('Opera')===-1),Opera:navigator.userAgent.indexOf('Opera')>-1,WebKit:navigator.userAgent.indexOf('AppleWebKit/')>-1,Gecko:navigator.userAgent.indexOf('Gecko')>-1&&navigator.userAgent.indexOf('KHTML')===-1,MobileSafari:!!navigator.userAgent.match(/Apple.*Mobile.*Safari/)},BrowserFeatures:{XPath:!!document.evaluate,SelectorsAPI:!!document.querySelector,ElementExtensions:!!window.HTMLElement,SpecificElementExtensions:document.createElement('div')['__proto__']&&document.createElement('div')['__proto__']!==document.createElement('form')['__proto__']},ScriptFragment:'<script[^>]*>([\\S\\s]*?)<\/script>',JSONFilter:/^\/\*-secure-([\s\S]*)\*\/\s*$/,emptyFunction:function(){},K:function(x){return x}};if(Prototype.Browser.MobileSafari)Prototype.BrowserFeatures.SpecificElementExtensions=false;var Class={create:function(){var parent=null,properties=$A(arguments);if(Object.isFunction(properties[0]))parent=properties.shift();function klass(){this.initialize.apply(this,arguments)}Object.extend(klass,Class.Methods);klass.superclass=parent;klass.subclasses=[];if(parent){var subclass=function(){};subclass.prototype=parent.prototype;klass.prototype=new subclass;parent.subclasses.push(klass)}for(var i=0;i<properties.length;i++)klass.addMethods(properties[i]);if(!klass.prototype.initialize)klass.prototype.initialize=Prototype.emptyFunction;klass.prototype.constructor=klass;return klass}};Class.Methods={addMethods:function(source){var ancestor=this.superclass&&this.superclass.prototype;var properties=Object.keys(source);if(!Object.keys({toString:true}).length)properties.push("toString","valueOf");for(var i=0,length=properties.length;i<length;i++){var property=properties[i],value=source[property];if(ancestor&&Object.isFunction(value)&&value.argumentNames().first()=="$super"){var method=value;value=(function(m){return function(){return ancestor[m].apply(this,arguments)}})(property).wrap(method);value.valueOf=method.valueOf.bind(method);value.toString=method.toString.bind(method)}this.prototype[property]=value}return this}};var Abstract={};Object.extend=function(destination,source){for(var property in source)destination[property]=source[property];return destination};Object.extend(Object,{inspect:function(object){try{if(Object.isUndefined(object))return'undefined';if(object===null)return'null';return object.inspect?object.inspect():String(object)}catch(e){if(e instanceof RangeError)return'...';throw e}},toJSON:function(object){var type=typeof object;switch(type){case'undefined':case'function':case'unknown':return;case'boolean':return object.toString()}if(object===null)return'null';if(object.toJSON)return object.toJSON();if(Object.isElement(object))return;var results=[];for(var property in object){var value=Object.toJSON(object[property]);if(!Object.isUndefined(value))results.push(property.toJSON()+': '+value)}return'{'+results.join(', ')+'}'},toQueryString:function(object){return $H(object).toQueryString()},toHTML:function(object){return object&&object.toHTML?object.toHTML():String.interpret(object)},keys:function(object){var keys=[];for(var property in object)keys.push(property);return keys},values:function(object){var values=[];for(var property in object)values.push(object[property]);return values},clone:function(object){return Object.extend({},object)},isElement:function(object){return!!(object&&object.nodeType==1)},isArray:function(object){return object!=null&&typeof object=="object"&&'splice'in object&&'join'in object},isHash:function(object){return object instanceof Hash},isFunction:function(object){return typeof object=="function"},isString:function(object){return typeof object=="string"},isNumber:function(object){return typeof object=="number"},isUndefined:function(object){return typeof object=="undefined"}});Object.extend(Function.prototype,{argumentNames:function(){var names=this.toString().match(/^[\s\(]*function[^(]*\(([^\)]*)\)/)[1].replace(/\s+/g,'').split(',');return names.length==1&&!names[0]?[]:names},bind:function(){if(arguments.length<2&&Object.isUndefined(arguments[0]))return this;var __method=this,args=$A(arguments),object=args.shift();return function(){return __method.apply(object,args.concat($A(arguments)))}},bindAsEventListener:function(){var __method=this,args=$A(arguments),object=args.shift();return function(event){return __method.apply(object,[event||window.event].concat(args))}},curry:function(){if(!arguments.length)return this;var __method=this,args=$A(arguments);return function(){return __method.apply(this,args.concat($A(arguments)))}},delay:function(){var __method=this,args=$A(arguments),timeout=args.shift()*1000;return window.setTimeout(function(){return __method.apply(__method,args)},timeout)},defer:function(){var args=[0.01].concat($A(arguments));return this.delay.apply(this,args)},wrap:function(wrapper){var __method=this;return function(){return wrapper.apply(this,[__method.bind(this)].concat($A(arguments)))}},methodize:function(){if(this._methodized)return this._methodized;var __method=this;return this._methodized=function(){return __method.apply(null,[this].concat($A(arguments)))}}});Date.prototype.toJSON=function(){return'"'+this.getUTCFullYear()+'-'+(this.getUTCMonth()+1).toPaddedString(2)+'-'+this.getUTCDate().toPaddedString(2)+'T'+this.getUTCHours().toPaddedString(2)+':'+this.getUTCMinutes().toPaddedString(2)+':'+this.getUTCSeconds().toPaddedString(2)+'Z"'};var Try={these:function(){var returnValue;for(var i=0,length=arguments.length;i<length;i++){var lambda=arguments[i];try{returnValue=lambda();break}catch(e){}}return returnValue}};RegExp.prototype.match=RegExp.prototype.test;RegExp.escape=function(str){return String(str).replace(/([.*+?^=!:${}()|[\]\/\\])/g,'\\$1')};var PeriodicalExecuter=Class.create({initialize:function(callback,frequency){this.callback=callback;this.frequency=frequency;this.currentlyExecuting=false;this.registerCallback()},registerCallback:function(){this.timer=setInterval(this.onTimerEvent.bind(this),this.frequency*1000)},execute:function(){this.callback(this)},stop:function(){if(!this.timer)return;clearInterval(this.timer);this.timer=null},onTimerEvent:function(){if(!this.currentlyExecuting){try{this.currentlyExecuting=true;this.execute()}finally{this.currentlyExecuting=false}}}});Object.extend(String,{interpret:function(value){return value==null?'':String(value)},specialChar:{'\b':'\\b','\t':'\\t','\n':'\\n','\f':'\\f','\r':'\\r','\\':'\\\\'}});Object.extend(String.prototype,{gsub:function(pattern,replacement){var result='',source=this,match;replacement=arguments.callee.prepareReplacement(replacement);while(source.length>0){if(match=source.match(pattern)){result+=source.slice(0,match.index);result+=String.interpret(replacement(match));source=source.slice(match.index+match[0].length)}else{result+=source,source=''}}return result},sub:function(pattern,replacement,count){replacement=this.gsub.prepareReplacement(replacement);count=Object.isUndefined(count)?1:count;return this.gsub(pattern,function(match){if(--count<0)return match[0];return replacement(match)})},scan:function(pattern,iterator){this.gsub(pattern,iterator);return String(this)},truncate:function(length,truncation){length=length||30;truncation=Object.isUndefined(truncation)?'...':truncation;return this.length>length?this.slice(0,length-truncation.length)+truncation:String(this)},strip:function(){return this.replace(/^\s+/,'').replace(/\s+$/,'')},stripTags:function(){return this.replace(/<\/?[^>]+>/gi,'')},stripScripts:function(){return this.replace(new RegExp(Prototype.ScriptFragment,'img'),'')},extractScripts:function(){var matchAll=new RegExp(Prototype.ScriptFragment,'img');var matchOne=new RegExp(Prototype.ScriptFragment,'im');return(this.match(matchAll)||[]).map(function(scriptTag){return(scriptTag.match(matchOne)||['',''])[1]})},evalScripts:function(){return this.extractScripts().map(function(script){return eval(script)})},escapeHTML:function(){var self=arguments.callee;self.text.data=this;return self.div.innerHTML},unescapeHTML:function(){var div=new Element('div');div.innerHTML=this.stripTags();return div.childNodes[0]?(div.childNodes.length>1?$A(div.childNodes).inject('',function(memo,node){return memo+node.nodeValue}):div.childNodes[0].nodeValue):''},toQueryParams:function(separator){var match=this.strip().match(/([^?#]*)(#.*)?$/);if(!match)return{};return match[1].split(separator||'&').inject({},function(hash,pair){if((pair=pair.split('='))[0]){var key=decodeURIComponent(pair.shift());var value=pair.length>1?pair.join('='):pair[0];if(value!=undefined)value=decodeURIComponent(value);if(key in hash){if(!Object.isArray(hash[key]))hash[key]=[hash[key]];hash[key].push(value)}else hash[key]=value}return hash})},toArray:function(){return this.split('')},succ:function(){return this.slice(0,this.length-1)+String.fromCharCode(this.charCodeAt(this.length-1)+1)},times:function(count){return count<1?'':new Array(count+1).join(this)},camelize:function(){var parts=this.split('-'),len=parts.length;if(len==1)return parts[0];var camelized=this.charAt(0)=='-'?parts[0].charAt(0).toUpperCase()+parts[0].substring(1):parts[0];for(var i=1;i<len;i++)camelized+=parts[i].charAt(0).toUpperCase()+parts[i].substring(1);return camelized},capitalize:function(){return this.charAt(0).toUpperCase()+this.substring(1).toLowerCase()},underscore:function(){return this.gsub(/::/,'/').gsub(/([A-Z]+)([A-Z][a-z])/,'#{1}_#{2}').gsub(/([a-z\d])([A-Z])/,'#{1}_#{2}').gsub(/-/,'_').toLowerCase()},dasherize:function(){return this.gsub(/_/,'-')},inspect:function(useDoubleQuotes){var escapedString=this.gsub(/[\x00-\x1f\\]/,function(match){var character=String.specialChar[match[0]];return character?character:'\\u00'+match[0].charCodeAt().toPaddedString(2,16)});if(useDoubleQuotes)return'"'+escapedString.replace(/"/g,'\\"')+'"';return"'"+escapedString.replace(/'/g,'\\\'')+"'"},toJSON:function(){return this.inspect(true)},unfilterJSON:function(filter){return this.sub(filter||Prototype.JSONFilter,'#{1}')},isJSON:function(){var str=this;if(str.blank())return false;str=this.replace(/\\./g,'@').replace(/"[^"\\\n\r]*"/g,'');return(/^[,:{}\[\]0-9.\-+Eaeflnr-u \n\r\t]*$/).test(str)},evalJSON:function(sanitize){var json=this.unfilterJSON();try{if(!sanitize||json.isJSON())return eval('('+json+')')}catch(e){}throw new SyntaxError('Badly formed JSON string: '+this.inspect())},include:function(pattern){return this.indexOf(pattern)>-1},startsWith:function(pattern){return this.indexOf(pattern)===0},endsWith:function(pattern){var d=this.length-pattern.length;return d>=0&&this.lastIndexOf(pattern)===d},empty:function(){return this==''},blank:function(){return/^\s*$/.test(this)},interpolate:function(object,pattern){return new Template(this,pattern).evaluate(object)}});if(Prototype.Browser.WebKit||Prototype.Browser.IE)Object.extend(String.prototype,{escapeHTML:function(){return this.replace(/&/g,'&amp;').replace(/</g,'&lt;').replace(/>/g,'&gt;')},unescapeHTML:function(){return this.stripTags().replace(/&amp;/g,'&').replace(/&lt;/g,'<').replace(/&gt;/g,'>')}});String.prototype.gsub.prepareReplacement=function(replacement){if(Object.isFunction(replacement))return replacement;var template=new Template(replacement);return function(match){return template.evaluate(match)}};String.prototype.parseQuery=String.prototype.toQueryParams;Object.extend(String.prototype.escapeHTML,{div:document.createElement('div'),text:document.createTextNode('')});String.prototype.escapeHTML.div.appendChild(String.prototype.escapeHTML.text);var Template=Class.create({initialize:function(template,pattern){this.template=template.toString();this.pattern=pattern||Template.Pattern},evaluate:function(object){if(Object.isFunction(object.toTemplateReplacements))object=object.toTemplateReplacements();return this.template.gsub(this.pattern,function(match){if(object==null)return'';var before=match[1]||'';if(before=='\\')return match[2];var ctx=object,expr=match[3];var pattern=/^([^.[]+|\[((?:.*?[^\\])?)\])(\.|\[|$)/;match=pattern.exec(expr);if(match==null)return before;while(match!=null){var comp=match[1].startsWith('[')?match[2].gsub('\\\\]',']'):match[1];ctx=ctx[comp];if(null==ctx||''==match[3])break;expr=expr.substring('['==match[3]?match[1].length:match[0].length);match=pattern.exec(expr)}return before+String.interpret(ctx)})}});Template.Pattern=/(^|.|\r|\n)(#\{(.*?)\})/;var $break={};var Enumerable={each:function(iterator,context){var index=0;try{this._each(function(value){iterator.call(context,value,index++)})}catch(e){if(e!=$break)throw e}return this},eachSlice:function(number,iterator,context){var index=-number,slices=[],array=this.toArray();if(number<1)return array;while((index+=number)<array.length)slices.push(array.slice(index,index+number));return slices.collect(iterator,context)},all:function(iterator,context){iterator=iterator||Prototype.K;var result=true;this.each(function(value,index){result=result&&!!iterator.call(context,value,index);if(!result)throw $break});return result},any:function(iterator,context){iterator=iterator||Prototype.K;var result=false;this.each(function(value,index){if(result=!!iterator.call(context,value,index))throw $break});return result},collect:function(iterator,context){iterator=iterator||Prototype.K;var results=[];this.each(function(value,index){results.push(iterator.call(context,value,index))});return results},detect:function(iterator,context){var result;this.each(function(value,index){if(iterator.call(context,value,index)){result=value;throw $break}});return result},findAll:function(iterator,context){var results=[];this.each(function(value,index){if(iterator.call(context,value,index))results.push(value)});return results},grep:function(filter,iterator,context){iterator=iterator||Prototype.K;var results=[];if(Object.isString(filter))filter=new RegExp(filter);this.each(function(value,index){if(filter.match(value))results.push(iterator.call(context,value,index))});return results},include:function(object){if(Object.isFunction(this.indexOf))if(this.indexOf(object)!=-1)return true;var found=false;this.each(function(value){if(value==object){found=true;throw $break}});return found},inGroupsOf:function(number,fillWith){fillWith=Object.isUndefined(fillWith)?null:fillWith;return this.eachSlice(number,function(slice){while(slice.length<number)slice.push(fillWith);return slice})},inject:function(memo,iterator,context){this.each(function(value,index){memo=iterator.call(context,memo,value,index)});return memo},invoke:function(method){var args=$A(arguments).slice(1);return this.map(function(value){return value[method].apply(value,args)})},max:function(iterator,context){iterator=iterator||Prototype.K;var result;this.each(function(value,index){value=iterator.call(context,value,index);if(result==null||value>=result)result=value});return result},min:function(iterator,context){iterator=iterator||Prototype.K;var result;this.each(function(value,index){value=iterator.call(context,value,index);if(result==null||value<result)result=value});return result},partition:function(iterator,context){iterator=iterator||Prototype.K;var trues=[],falses=[];this.each(function(value,index){(iterator.call(context,value,index)?trues:falses).push(value)});return[trues,falses]},pluck:function(property){var results=[];this.each(function(value){results.push(value[property])});return results},reject:function(iterator,context){var results=[];this.each(function(value,index){if(!iterator.call(context,value,index))results.push(value)});return results},sortBy:function(iterator,context){return this.map(function(value,index){return{value:value,criteria:iterator.call(context,value,index)}}).sort(function(left,right){var a=left.criteria,b=right.criteria;return a<b?-1:a>b?1:0}).pluck('value')},toArray:function(){return this.map()},zip:function(){var iterator=Prototype.K,args=$A(arguments);if(Object.isFunction(args.last()))iterator=args.pop();var collections=[this].concat(args).map($A);return this.map(function(value,index){return iterator(collections.pluck(index))})},size:function(){return this.toArray().length},inspect:function(){return'#<Enumerable:'+this.toArray().inspect()+'>'}};Object.extend(Enumerable,{map:Enumerable.collect,find:Enumerable.detect,select:Enumerable.findAll,filter:Enumerable.findAll,member:Enumerable.include,entries:Enumerable.toArray,every:Enumerable.all,some:Enumerable.any});function $A(iterable){if(!iterable)return[];if(iterable.toArray)return iterable.toArray();var length=iterable.length||0,results=new Array(length);while(length--)results[length]=iterable[length];return results}if(Prototype.Browser.WebKit){$A=function(iterable){if(!iterable)return[];if(!(typeof iterable==='function'&&typeof iterable.length==='number'&&typeof iterable.item==='function')&&iterable.toArray)return iterable.toArray();var length=iterable.length||0,results=new Array(length);while(length--)results[length]=iterable[length];return results}}Array.from=$A;Object.extend(Array.prototype,Enumerable);if(!Array.prototype._reverse)Array.prototype._reverse=Array.prototype.reverse;Object.extend(Array.prototype,{_each:function(iterator){for(var i=0,length=this.length;i<length;i++)iterator(this[i])},clear:function(){this.length=0;return this},first:function(){return this[0]},last:function(){return this[this.length-1]},compact:function(){return this.select(function(value){return value!=null})},flatten:function(){return this.inject([],function(array,value){return array.concat(Object.isArray(value)?value.flatten():[value])})},without:function(){var values=$A(arguments);return this.select(function(value){return!values.include(value)})},reverse:function(inline){return(inline!==false?this:this.toArray())._reverse()},reduce:function(){return this.length>1?this:this[0]},uniq:function(sorted){return this.inject([],function(array,value,index){if(0==index||(sorted?array.last()!=value:!array.include(value)))array.push(value);return array})},intersect:function(array){return this.uniq().findAll(function(item){return array.detect(function(value){return item===value})})},clone:function(){return[].concat(this)},size:function(){return this.length},inspect:function(){return'['+this.map(Object.inspect).join(', ')+']'},toJSON:function(){var results=[];this.each(function(object){var value=Object.toJSON(object);if(!Object.isUndefined(value))results.push(value)});return'['+results.join(', ')+']'}});if(Object.isFunction(Array.prototype.forEach))Array.prototype._each=Array.prototype.forEach;if(!Array.prototype.indexOf)Array.prototype.indexOf=function(item,i){i||(i=0);var length=this.length;if(i<0)i=length+i;for(;i<length;i++)if(this[i]===item)return i;return-1};if(!Array.prototype.lastIndexOf)Array.prototype.lastIndexOf=function(item,i){i=isNaN(i)?this.length:(i<0?this.length+i:i)+1;var n=this.slice(0,i).reverse().indexOf(item);return(n<0)?n:i-n-1};Array.prototype.toArray=Array.prototype.clone;function $w(string){if(!Object.isString(string))return[];string=string.strip();return string?string.split(/\s+/):[]}if(Prototype.Browser.Opera){Array.prototype.concat=function(){var array=[];for(var i=0,length=this.length;i<length;i++)array.push(this[i]);for(var i=0,length=arguments.length;i<length;i++){if(Object.isArray(arguments[i])){for(var j=0,arrayLength=arguments[i].length;j<arrayLength;j++)array.push(arguments[i][j])}else{array.push(arguments[i])}}return array}}Object.extend(Number.prototype,{toColorPart:function(){return this.toPaddedString(2,16)},succ:function(){return this+1},times:function(iterator,context){$R(0,this,true).each(iterator,context);return this},toPaddedString:function(length,radix){var string=this.toString(radix||10);return'0'.times(length-string.length)+string},toJSON:function(){return isFinite(this)?this.toString():'null'}});$w('abs round ceil floor').each(function(method){Number.prototype[method]=Math[method].methodize()});function $H(object){return new Hash(object)};var Hash=Class.create(Enumerable,(function(){function toQueryPair(key,value){if(Object.isUndefined(value))return key;return key+'='+encodeURIComponent(String.interpret(value))}return{initialize:function(object){this._object=Object.isHash(object)?object.toObject():Object.clone(object)},_each:function(iterator){for(var key in this._object){var value=this._object[key],pair=[key,value];pair.key=key;pair.value=value;iterator(pair)}},set:function(key,value){return this._object[key]=value},get:function(key){if(this._object[key]!==Object.prototype[key])return this._object[key]},unset:function(key){var value=this._object[key];delete this._object[key];return value},toObject:function(){return Object.clone(this._object)},keys:function(){return this.pluck('key')},values:function(){return this.pluck('value')},index:function(value){var match=this.detect(function(pair){return pair.value===value});return match&&match.key},merge:function(object){return this.clone().update(object)},update:function(object){return new Hash(object).inject(this,function(result,pair){result.set(pair.key,pair.value);return result})},toQueryString:function(){return this.inject([],function(results,pair){var key=encodeURIComponent(pair.key),values=pair.value;if(values&&typeof values=='object'){if(Object.isArray(values))return results.concat(values.map(toQueryPair.curry(key)))}else results.push(toQueryPair(key,values));return results}).join('&')},inspect:function(){return'#<Hash:{'+this.map(function(pair){return pair.map(Object.inspect).join(': ')}).join(', ')+'}>'},toJSON:function(){return Object.toJSON(this.toObject())},clone:function(){return new Hash(this)}}})());Hash.prototype.toTemplateReplacements=Hash.prototype.toObject;Hash.from=$H;var ObjectRange=Class.create(Enumerable,{initialize:function(start,end,exclusive){this.start=start;this.end=end;this.exclusive=exclusive},_each:function(iterator){var value=this.start;while(this.include(value)){iterator(value);value=value.succ()}},include:function(value){if(value<this.start)return false;if(this.exclusive)return value<this.end;return value<=this.end}});var $R=function(start,end,exclusive){return new ObjectRange(start,end,exclusive)};var Ajax={getTransport:function(){return Try.these(function(){return new XMLHttpRequest()},function(){return new ActiveXObject('Msxml2.XMLHTTP')},function(){return new ActiveXObject('Microsoft.XMLHTTP')})||false},activeRequestCount:0};Ajax.Responders={responders:[],_each:function(iterator){this.responders._each(iterator)},register:function(responder){if(!this.include(responder))this.responders.push(responder)},unregister:function(responder){this.responders=this.responders.without(responder)},dispatch:function(callback,request,transport,json){this.each(function(responder){if(Object.isFunction(responder[callback])){try{responder[callback].apply(responder,[request,transport,json])}catch(e){}}})}};Object.extend(Ajax.Responders,Enumerable);Ajax.Responders.register({onCreate:function(){Ajax.activeRequestCount++},onComplete:function(){Ajax.activeRequestCount--}});Ajax.Base=Class.create({initialize:function(options){this.options={method:'post',asynchronous:true,contentType:'application/x-www-form-urlencoded',encoding:'UTF-8',parameters:'',evalJSON:true,evalJS:true};Object.extend(this.options,options||{});this.options.method=this.options.method.toLowerCase();if(Object.isString(this.options.parameters))this.options.parameters=this.options.parameters.toQueryParams();else if(Object.isHash(this.options.parameters))this.options.parameters=this.options.parameters.toObject()}});Ajax.Request=Class.create(Ajax.Base,{_complete:false,initialize:function($super,url,options){$super(options);this.transport=Ajax.getTransport();this.request(url)},request:function(url){this.url=url;this.method=this.options.method;var params=Object.clone(this.options.parameters);if(!['get','post'].include(this.method)){params['_method']=this.method;this.method='post'}this.parameters=params;if(params=Object.toQueryString(params)){if(this.method=='get')this.url+=(this.url.include('?')?'&':'?')+params;else if(/Konqueror|Safari|KHTML/.test(navigator.userAgent))params+='&_='}try{var response=new Ajax.Response(this);if(this.options.onCreate)this.options.onCreate(response);Ajax.Responders.dispatch('onCreate',this,response);this.transport.open(this.method.toUpperCase(),this.url,this.options.asynchronous);if(this.options.asynchronous)this.respondToReadyState.bind(this).defer(1);this.transport.onreadystatechange=this.onStateChange.bind(this);this.setRequestHeaders();this.body=this.method=='post'?(this.options.postBody||params):null;this.transport.send(this.body);if(!this.options.asynchronous&&this.transport.overrideMimeType)this.onStateChange()}catch(e){this.dispatchException(e)}},onStateChange:function(){var readyState=this.transport.readyState;if(readyState>1&&!((readyState==4)&&this._complete))this.respondToReadyState(this.transport.readyState)},setRequestHeaders:function(){var headers={'X-Requested-With':'XMLHttpRequest','X-Prototype-Version':Prototype.Version,'Accept':'text/javascript, text/html, application/xml, text/xml, */*'};if(this.method=='post'){headers['Content-type']=this.options.contentType+(this.options.encoding?'; charset='+this.options.encoding:'');if(this.transport.overrideMimeType&&(navigator.userAgent.match(/Gecko\/(\d{4})/)||[0,2005])[1]<2005)headers['Connection']='close'}if(typeof this.options.requestHeaders=='object'){var extras=this.options.requestHeaders;if(Object.isFunction(extras.push))for(var i=0,length=extras.length;i<length;i+=2)headers[extras[i]]=extras[i+1];else $H(extras).each(function(pair){headers[pair.key]=pair.value})}for(var name in headers)this.transport.setRequestHeader(name,headers[name])},success:function(){var status=this.getStatus();return!status||(status>=200&&status<300)},getStatus:function(){try{return this.transport.status||0}catch(e){return 0}},respondToReadyState:function(readyState){var state=Ajax.Request.Events[readyState],response=new Ajax.Response(this);if(state=='Complete'){try{this._complete=true;(this.options['on'+response.status]||this.options['on'+(this.success()?'Success':'Failure')]||Prototype.emptyFunction)(response,response.headerJSON)}catch(e){this.dispatchException(e)}var contentType=response.getHeader('Content-type');if(this.options.evalJS=='force'||(this.options.evalJS&&this.isSameOrigin()&&contentType&&contentType.match(/^\s*(text|application)\/(x-)?(java|ecma)script(;.*)?\s*$/i)))this.evalResponse()}try{(this.options['on'+state]||Prototype.emptyFunction)(response,response.headerJSON);Ajax.Responders.dispatch('on'+state,this,response,response.headerJSON)}catch(e){this.dispatchException(e)}if(state=='Complete'){this.transport.onreadystatechange=Prototype.emptyFunction}},isSameOrigin:function(){var m=this.url.match(/^\s*https?:\/\/[^\/]*/);return!m||(m[0]=='#{protocol}//#{domain}#{port}'.interpolate({protocol:location.protocol,domain:document.domain,port:location.port?':'+location.port:''}))},getHeader:function(name){try{return this.transport.getResponseHeader(name)||null}catch(e){return null}},evalResponse:function(){try{return eval((this.transport.responseText||'').unfilterJSON())}catch(e){this.dispatchException(e)}},dispatchException:function(exception){(this.options.onException||Prototype.emptyFunction)(this,exception);Ajax.Responders.dispatch('onException',this,exception)}});Ajax.Request.Events=['Uninitialized','Loading','Loaded','Interactive','Complete'];Ajax.Response=Class.create({initialize:function(request){this.request=request;var transport=this.transport=request.transport,readyState=this.readyState=transport.readyState;if((readyState>2&&!Prototype.Browser.IE)||readyState==4){this.status=this.getStatus();this.statusText=this.getStatusText();this.responseText=String.interpret(transport.responseText);this.headerJSON=this._getHeaderJSON()}if(readyState==4){var xml=transport.responseXML;this.responseXML=Object.isUndefined(xml)?null:xml;this.responseJSON=this._getResponseJSON()}},status:0,statusText:'',getStatus:Ajax.Request.prototype.getStatus,getStatusText:function(){try{return this.transport.statusText||''}catch(e){return''}},getHeader:Ajax.Request.prototype.getHeader,getAllHeaders:function(){try{return this.getAllResponseHeaders()}catch(e){return null}},getResponseHeader:function(name){return this.transport.getResponseHeader(name)},getAllResponseHeaders:function(){return this.transport.getAllResponseHeaders()},_getHeaderJSON:function(){var json=this.getHeader('X-JSON');if(!json)return null;json=decodeURIComponent(escape(json));try{return json.evalJSON(this.request.options.sanitizeJSON||!this.request.isSameOrigin())}catch(e){this.request.dispatchException(e)}},_getResponseJSON:function(){var options=this.request.options;if(!options.evalJSON||(options.evalJSON!='force'&&!(this.getHeader('Content-type')||'').include('application/json'))||this.responseText.blank())return null;try{return this.responseText.evalJSON(options.sanitizeJSON||!this.request.isSameOrigin())}catch(e){this.request.dispatchException(e)}}});Ajax.Updater=Class.create(Ajax.Request,{initialize:function($super,container,url,options){this.container={success:(container.success||container),failure:(container.failure||(container.success?null:container))};options=Object.clone(options);var onComplete=options.onComplete;options.onComplete=(function(response,json){this.updateContent(response.responseText);if(Object.isFunction(onComplete))onComplete(response,json)}).bind(this);$super(url,options)},updateContent:function(responseText){var receiver=this.container[this.success()?'success':'failure'],options=this.options;if(!options.evalScripts)responseText=responseText.stripScripts();if(receiver=$(receiver)){if(options.insertion){if(Object.isString(options.insertion)){var insertion={};insertion[options.insertion]=responseText;receiver.insert(insertion)}else options.insertion(receiver,responseText)}else receiver.update(responseText)}}});Ajax.PeriodicalUpdater=Class.create(Ajax.Base,{initialize:function($super,container,url,options){$super(options);this.onComplete=this.options.onComplete;this.frequency=(this.options.frequency||2);this.decay=(this.options.decay||1);this.updater={};this.container=container;this.url=url;this.start()},start:function(){this.options.onComplete=this.updateComplete.bind(this);this.onTimerEvent()},stop:function(){this.updater.options.onComplete=undefined;clearTimeout(this.timer);(this.onComplete||Prototype.emptyFunction).apply(this,arguments)},updateComplete:function(response){if(this.options.decay){this.decay=(response.responseText==this.lastText?this.decay*this.options.decay:1);this.lastText=response.responseText}this.timer=this.onTimerEvent.bind(this).delay(this.decay*this.frequency)},onTimerEvent:function(){this.updater=new Ajax.Updater(this.container,this.url,this.options)}});function $(element){if(arguments.length>1){for(var i=0,elements=[],length=arguments.length;i<length;i++)elements.push($(arguments[i]));return elements}if(Object.isString(element))element=document.getElementById(element);return Element.extend(element)}if(Prototype.BrowserFeatures.XPath){document._getElementsByXPath=function(expression,parentElement){var results=[];var query=document.evaluate(expression,$(parentElement)||document,null,XPathResult.ORDERED_NODE_SNAPSHOT_TYPE,null);for(var i=0,length=query.snapshotLength;i<length;i++)results.push(Element.extend(query.snapshotItem(i)));return results}}if(!window.Node)var Node={};if(!Node.ELEMENT_NODE){Object.extend(Node,{ELEMENT_NODE:1,ATTRIBUTE_NODE:2,TEXT_NODE:3,CDATA_SECTION_NODE:4,ENTITY_REFERENCE_NODE:5,ENTITY_NODE:6,PROCESSING_INSTRUCTION_NODE:7,COMMENT_NODE:8,DOCUMENT_NODE:9,DOCUMENT_TYPE_NODE:10,DOCUMENT_FRAGMENT_NODE:11,NOTATION_NODE:12})}(function(){var element=this.Element;this.Element=function(tagName,attributes){attributes=attributes||{};tagName=tagName.toLowerCase();var cache=Element.cache;if(Prototype.Browser.IE&&attributes.name){tagName='<'+tagName+' name="'+attributes.name+'">';delete attributes.name;return Element.writeAttribute(document.createElement(tagName),attributes)}if(!cache[tagName])cache[tagName]=Element.extend(document.createElement(tagName));return Element.writeAttribute(cache[tagName].cloneNode(false),attributes)};Object.extend(this.Element,element||{});if(element)this.Element.prototype=element.prototype}).call(window);Element.cache={};Element.Methods={visible:function(element){return $(element).style.display!='none'},toggle:function(element){element=$(element);Element[Element.visible(element)?'hide':'show'](element);return element},hide:function(element){element=$(element);element.style.display='none';return element},show:function(element){element=$(element);element.style.display='';return element},remove:function(element){element=$(element);element.parentNode.removeChild(element);return element},update:function(element,content){element=$(element);if(content&&content.toElement)content=content.toElement();if(Object.isElement(content))return element.update().insert(content);content=Object.toHTML(content);element.innerHTML=content.stripScripts();content.evalScripts.bind(content).defer();return element},replace:function(element,content){element=$(element);if(content&&content.toElement)content=content.toElement();else if(!Object.isElement(content)){content=Object.toHTML(content);var range=element.ownerDocument.createRange();range.selectNode(element);content.evalScripts.bind(content).defer();content=range.createContextualFragment(content.stripScripts())}element.parentNode.replaceChild(content,element);return element},insert:function(element,insertions){element=$(element);if(Object.isString(insertions)||Object.isNumber(insertions)||Object.isElement(insertions)||(insertions&&(insertions.toElement||insertions.toHTML)))insertions={bottom:insertions};var content,insert,tagName,childNodes;for(var position in insertions){content=insertions[position];position=position.toLowerCase();insert=Element._insertionTranslations[position];if(content&&content.toElement)content=content.toElement();if(Object.isElement(content)){insert(element,content);continue}content=Object.toHTML(content);tagName=((position=='before'||position=='after')?element.parentNode:element).tagName.toUpperCase();childNodes=Element._getContentFromAnonymousElement(tagName,content.stripScripts());if(position=='top'||position=='after')childNodes.reverse();childNodes.each(insert.curry(element));content.evalScripts.bind(content).defer()}return element},wrap:function(element,wrapper,attributes){element=$(element);if(Object.isElement(wrapper))$(wrapper).writeAttribute(attributes||{});else if(Object.isString(wrapper))wrapper=new Element(wrapper,attributes);else wrapper=new Element('div',wrapper);if(element.parentNode)element.parentNode.replaceChild(wrapper,element);wrapper.appendChild(element);return wrapper},inspect:function(element){element=$(element);var result='<'+element.tagName.toLowerCase();$H({'id':'id','className':'class'}).each(function(pair){var property=pair.first(),attribute=pair.last();var value=(element[property]||'').toString();if(value)result+=' '+attribute+'='+value.inspect(true)});return result+'>'},recursivelyCollect:function(element,property){element=$(element);var elements=[];while(element=element[property])if(element.nodeType==1)elements.push(Element.extend(element));return elements},ancestors:function(element){return $(element).recursivelyCollect('parentNode')},descendants:function(element){return $(element).select("*")},firstDescendant:function(element){element=$(element).firstChild;while(element&&element.nodeType!=1)element=element.nextSibling;return $(element)},immediateDescendants:function(element){if(!(element=$(element).firstChild))return[];while(element&&element.nodeType!=1)element=element.nextSibling;if(element)return[element].concat($(element).nextSiblings());return[]},previousSiblings:function(element){return $(element).recursivelyCollect('previousSibling')},nextSiblings:function(element){return $(element).recursivelyCollect('nextSibling')},siblings:function(element){element=$(element);return element.previousSiblings().reverse().concat(element.nextSiblings())},match:function(element,selector){if(Object.isString(selector))selector=new Selector(selector);return selector.match($(element))},up:function(element,expression,index){element=$(element);if(arguments.length==1)return $(element.parentNode);var ancestors=element.ancestors();return Object.isNumber(expression)?ancestors[expression]:Selector.findElement(ancestors,expression,index)},down:function(element,expression,index){element=$(element);if(arguments.length==1)return element.firstDescendant();return Object.isNumber(expression)?element.descendants()[expression]:Element.select(element,expression)[index||0]},previous:function(element,expression,index){element=$(element);if(arguments.length==1)return $(Selector.handlers.previousElementSibling(element));var previousSiblings=element.previousSiblings();return Object.isNumber(expression)?previousSiblings[expression]:Selector.findElement(previousSiblings,expression,index)},next:function(element,expression,index){element=$(element);if(arguments.length==1)return $(Selector.handlers.nextElementSibling(element));var nextSiblings=element.nextSiblings();return Object.isNumber(expression)?nextSiblings[expression]:Selector.findElement(nextSiblings,expression,index)},select:function(){var args=$A(arguments),element=$(args.shift());return Selector.findChildElements(element,args)},adjacent:function(){var args=$A(arguments),element=$(args.shift());return Selector.findChildElements(element.parentNode,args).without(element)},identify:function(element){element=$(element);var id=element.readAttribute('id'),self=arguments.callee;if(id)return id;do{id='anonymous_element_'+self.counter++}while($(id));element.writeAttribute('id',id);return id},readAttribute:function(element,name){element=$(element);if(Prototype.Browser.IE){var t=Element._attributeTranslations.read;if(t.values[name])return t.values[name](element,name);if(t.names[name])name=t.names[name];if(name.include(':')){return(!element.attributes||!element.attributes[name])?null:element.attributes[name].value}}return element.getAttribute(name)},writeAttribute:function(element,name,value){element=$(element);var attributes={},t=Element._attributeTranslations.write;if(typeof name=='object')attributes=name;else attributes[name]=Object.isUndefined(value)?true:value;for(var attr in attributes){name=t.names[attr]||attr;value=attributes[attr];if(t.values[attr])name=t.values[attr](element,value);if(value===false||value===null)element.removeAttribute(name);else if(value===true)element.setAttribute(name,name);else element.setAttribute(name,value)}return element},getHeight:function(element){return $(element).getDimensions().height},getWidth:function(element){return $(element).getDimensions().width},classNames:function(element){return new Element.ClassNames(element)},hasClassName:function(element,className){if(!(element=$(element)))return;var elementClassName=element.className;return(elementClassName.length>0&&(elementClassName==className||new RegExp("(^|\\s)"+className+"(\\s|$)").test(elementClassName)))},addClassName:function(element,className){if(!(element=$(element)))return;if(!element.hasClassName(className))element.className+=(element.className?' ':'')+className;return element},removeClassName:function(element,className){if(!(element=$(element)))return;element.className=element.className.replace(new RegExp("(^|\\s+)"+className+"(\\s+|$)"),' ').strip();return element},toggleClassName:function(element,className){if(!(element=$(element)))return;return element[element.hasClassName(className)?'removeClassName':'addClassName'](className)},cleanWhitespace:function(element){element=$(element);var node=element.firstChild;while(node){var nextNode=node.nextSibling;if(node.nodeType==3&&!/\S/.test(node.nodeValue))element.removeChild(node);node=nextNode}return element},empty:function(element){return $(element).innerHTML.blank()},descendantOf:function(element,ancestor){element=$(element),ancestor=$(ancestor);if(element.compareDocumentPosition)return(element.compareDocumentPosition(ancestor)&8)===8;if(ancestor.contains)return ancestor.contains(element)&&ancestor!==element;while(element=element.parentNode)if(element==ancestor)return true;return false},scrollTo:function(element){element=$(element);var pos=element.cumulativeOffset();window.scrollTo(pos[0],pos[1]);return element},getStyle:function(element,style){element=$(element);style=style=='float'?'cssFloat':style.camelize();var value=element.style[style];if(!value||value=='auto'){var css=document.defaultView.getComputedStyle(element,null);value=css?css[style]:null}if(style=='opacity')return value?parseFloat(value):1.0;return value=='auto'?null:value},getOpacity:function(element){return $(element).getStyle('opacity')},setStyle:function(element,styles){element=$(element);var elementStyle=element.style,match;if(Object.isString(styles)){element.style.cssText+=';'+styles;return styles.include('opacity')?element.setOpacity(styles.match(/opacity:\s*(\d?\.?\d*)/)[1]):element}for(var property in styles)if(property=='opacity')element.setOpacity(styles[property]);else elementStyle[(property=='float'||property=='cssFloat')?(Object.isUndefined(elementStyle.styleFloat)?'cssFloat':'styleFloat'):property]=styles[property];return element},setOpacity:function(element,value){element=$(element);element.style.opacity=(value==1||value==='')?'':(value<0.00001)?0:value;return element},getDimensions:function(element){element=$(element);var display=element.getStyle('display');if(display!='none'&&display!=null)return{width:element.offsetWidth,height:element.offsetHeight};var els=element.style;var originalVisibility=els.visibility;var originalPosition=els.position;var originalDisplay=els.display;els.visibility='hidden';els.position='absolute';els.display='block';var originalWidth=element.clientWidth;var originalHeight=element.clientHeight;els.display=originalDisplay;els.position=originalPosition;els.visibility=originalVisibility;return{width:originalWidth,height:originalHeight}},makePositioned:function(element){element=$(element);var pos=Element.getStyle(element,'position');if(pos=='static'||!pos){element._madePositioned=true;element.style.position='relative';if(Prototype.Browser.Opera){element.style.top=0;element.style.left=0}}return element},undoPositioned:function(element){element=$(element);if(element._madePositioned){element._madePositioned=undefined;element.style.position=element.style.top=element.style.left=element.style.bottom=element.style.right=''}return element},makeClipping:function(element){element=$(element);if(element._overflow)return element;element._overflow=Element.getStyle(element,'overflow')||'auto';if(element._overflow!=='hidden')element.style.overflow='hidden';return element},undoClipping:function(element){element=$(element);if(!element._overflow)return element;element.style.overflow=element._overflow=='auto'?'':element._overflow;element._overflow=null;return element},cumulativeOffset:function(element){var valueT=0,valueL=0;do{valueT+=element.offsetTop||0;valueL+=element.offsetLeft||0;element=element.offsetParent}while(element);return Element._returnOffset(valueL,valueT)},positionedOffset:function(element){var valueT=0,valueL=0;do{valueT+=element.offsetTop||0;valueL+=element.offsetLeft||0;element=element.offsetParent;if(element){if(element.tagName.toUpperCase()=='BODY')break;var p=Element.getStyle(element,'position');if(p!=='static')break}}while(element);return Element._returnOffset(valueL,valueT)},absolutize:function(element){element=$(element);if(element.getStyle('position')=='absolute')return element;var offsets=element.positionedOffset();var top=offsets[1];var left=offsets[0];var width=element.clientWidth;var height=element.clientHeight;element._originalLeft=left-parseFloat(element.style.left||0);element._originalTop=top-parseFloat(element.style.top||0);element._originalWidth=element.style.width;element._originalHeight=element.style.height;element.style.position='absolute';element.style.top=top+'px';element.style.left=left+'px';element.style.width=width+'px';element.style.height=height+'px';return element},relativize:function(element){element=$(element);if(element.getStyle('position')=='relative')return element;element.style.position='relative';var top=parseFloat(element.style.top||0)-(element._originalTop||0);var left=parseFloat(element.style.left||0)-(element._originalLeft||0);element.style.top=top+'px';element.style.left=left+'px';element.style.height=element._originalHeight;element.style.width=element._originalWidth;return element},cumulativeScrollOffset:function(element){var valueT=0,valueL=0;do{valueT+=element.scrollTop||0;valueL+=element.scrollLeft||0;element=element.parentNode}while(element);return Element._returnOffset(valueL,valueT)},getOffsetParent:function(element){if(element.offsetParent)return $(element.offsetParent);if(element==document.body)return $(element);while((element=element.parentNode)&&element!=document.body)if(Element.getStyle(element,'position')!='static')return $(element);return $(document.body)},viewportOffset:function(forElement){var valueT=0,valueL=0;var element=forElement;do{valueT+=element.offsetTop||0;valueL+=element.offsetLeft||0;if(element.offsetParent==document.body&&Element.getStyle(element,'position')=='absolute')break}while(element=element.offsetParent);element=forElement;do{if(!Prototype.Browser.Opera||(element.tagName&&(element.tagName.toUpperCase()=='BODY'))){valueT-=element.scrollTop||0;valueL-=element.scrollLeft||0}}while(element=element.parentNode);return Element._returnOffset(valueL,valueT)},clonePosition:function(element,source){var options=Object.extend({setLeft:true,setTop:true,setWidth:true,setHeight:true,offsetTop:0,offsetLeft:0},arguments[2]||{});source=$(source);var p=source.viewportOffset();element=$(element);var delta=[0,0];var parent=null;if(Element.getStyle(element,'position')=='absolute'){parent=element.getOffsetParent();delta=parent.viewportOffset()}if(parent==document.body){delta[0]-=document.body.offsetLeft;delta[1]-=document.body.offsetTop}if(options.setLeft)element.style.left=(p[0]-delta[0]+options.offsetLeft)+'px';if(options.setTop)element.style.top=(p[1]-delta[1]+options.offsetTop)+'px';if(options.setWidth)element.style.width=source.offsetWidth+'px';if(options.setHeight)element.style.height=source.offsetHeight+'px';return element}};Element.Methods.identify.counter=1;Object.extend(Element.Methods,{getElementsBySelector:Element.Methods.select,childElements:Element.Methods.immediateDescendants});Element._attributeTranslations={write:{names:{className:'class',htmlFor:'for'},values:{}}};if(Prototype.Browser.Opera){Element.Methods.getStyle=Element.Methods.getStyle.wrap(function(proceed,element,style){switch(style){case'left':case'top':case'right':case'bottom':if(proceed(element,'position')==='static')return null;case'height':case'width':if(!Element.visible(element))return null;var dim=parseInt(proceed(element,style),10);if(dim!==element['offset'+style.capitalize()])return dim+'px';var properties;if(style==='height'){properties=['border-top-width','padding-top','padding-bottom','border-bottom-width']}else{properties=['border-left-width','padding-left','padding-right','border-right-width']}return properties.inject(dim,function(memo,property){var val=proceed(element,property);return val===null?memo:memo-parseInt(val,10)})+'px';default:return proceed(element,style)}});Element.Methods.readAttribute=Element.Methods.readAttribute.wrap(function(proceed,element,attribute){if(attribute==='title')return element.title;return proceed(element,attribute)})}else if(Prototype.Browser.IE){Element.Methods.getOffsetParent=Element.Methods.getOffsetParent.wrap(function(proceed,element){element=$(element);try{element.offsetParent}catch(e){return $(document.body)}var position=element.getStyle('position');if(position!=='static')return proceed(element);element.setStyle({position:'relative'});var value=proceed(element);element.setStyle({position:position});return value});$w('positionedOffset viewportOffset').each(function(method){Element.Methods[method]=Element.Methods[method].wrap(function(proceed,element){element=$(element);try{element.offsetParent}catch(e){return Element._returnOffset(0,0)}var position=element.getStyle('position');if(position!=='static')return proceed(element);var offsetParent=element.getOffsetParent();if(offsetParent&&offsetParent.getStyle('position')==='fixed')offsetParent.setStyle({zoom:1});element.setStyle({position:'relative'});var value=proceed(element);element.setStyle({position:position});return value})});Element.Methods.cumulativeOffset=Element.Methods.cumulativeOffset.wrap(function(proceed,element){try{element.offsetParent}catch(e){return Element._returnOffset(0,0)}return proceed(element)});Element.Methods.getStyle=function(element,style){element=$(element);style=(style=='float'||style=='cssFloat')?'styleFloat':style.camelize();var value=element.style[style];if(!value&&element.currentStyle)value=element.currentStyle[style];if(style=='opacity'){if(value=(element.getStyle('filter')||'').match(/alpha\(opacity=(.*)\)/))if(value[1])return parseFloat(value[1])/100;return 1.0}if(value=='auto'){if((style=='width'||style=='height')&&(element.getStyle('display')!='none'))return element['offset'+style.capitalize()]+'px';return null}return value};Element.Methods.setOpacity=function(element,value){function stripAlpha(filter){return filter.replace(/alpha\([^\)]*\)/gi,'')}element=$(element);var currentStyle=element.currentStyle;if((currentStyle&&!currentStyle.hasLayout)||(!currentStyle&&element.style.zoom=='normal'))element.style.zoom=1;var filter=element.getStyle('filter'),style=element.style;if(value==1||value===''){(filter=stripAlpha(filter))?style.filter=filter:style.removeAttribute('filter');return element}else if(value<0.00001)value=0;style.filter=stripAlpha(filter)+'alpha(opacity='+(value*100)+')';return element};Element._attributeTranslations={read:{names:{'class':'className','for':'htmlFor'},values:{_getAttr:function(element,attribute){return element.getAttribute(attribute,2)},_getAttrNode:function(element,attribute){var node=element.getAttributeNode(attribute);return node?node.value:""},_getEv:function(element,attribute){attribute=element.getAttribute(attribute);return attribute?attribute.toString().slice(23,-2):null},_flag:function(element,attribute){return $(element).hasAttribute(attribute)?attribute:null},style:function(element){return element.style.cssText.toLowerCase()},title:function(element){return element.title}}}};Element._attributeTranslations.write={names:Object.extend({cellpadding:'cellPadding',cellspacing:'cellSpacing'},Element._attributeTranslations.read.names),values:{checked:function(element,value){element.checked=!!value},style:function(element,value){element.style.cssText=value?value:''}}};Element._attributeTranslations.has={};$w('colSpan rowSpan vAlign dateTime accessKey tabIndex '+'encType maxLength readOnly longDesc frameBorder').each(function(attr){Element._attributeTranslations.write.names[attr.toLowerCase()]=attr;Element._attributeTranslations.has[attr.toLowerCase()]=attr});(function(v){Object.extend(v,{href:v._getAttr,src:v._getAttr,type:v._getAttr,action:v._getAttrNode,disabled:v._flag,checked:v._flag,readonly:v._flag,multiple:v._flag,onload:v._getEv,onunload:v._getEv,onclick:v._getEv,ondblclick:v._getEv,onmousedown:v._getEv,onmouseup:v._getEv,onmouseover:v._getEv,onmousemove:v._getEv,onmouseout:v._getEv,onfocus:v._getEv,onblur:v._getEv,onkeypress:v._getEv,onkeydown:v._getEv,onkeyup:v._getEv,onsubmit:v._getEv,onreset:v._getEv,onselect:v._getEv,onchange:v._getEv})})(Element._attributeTranslations.read.values)}else if(Prototype.Browser.Gecko&&/rv:1\.8\.0/.test(navigator.userAgent)){Element.Methods.setOpacity=function(element,value){element=$(element);element.style.opacity=(value==1)?0.999999:(value==='')?'':(value<0.00001)?0:value;return element}}else if(Prototype.Browser.WebKit){Element.Methods.setOpacity=function(element,value){element=$(element);element.style.opacity=(value==1||value==='')?'':(value<0.00001)?0:value;if(value==1)if(element.tagName.toUpperCase()=='IMG'&&element.width){element.width++;element.width--}else try{var n=document.createTextNode(' ');element.appendChild(n);element.removeChild(n)}catch(e){}return element};Element.Methods.cumulativeOffset=function(element){var valueT=0,valueL=0;do{valueT+=element.offsetTop||0;valueL+=element.offsetLeft||0;if(element.offsetParent==document.body)if(Element.getStyle(element,'position')=='absolute')break;element=element.offsetParent}while(element);return Element._returnOffset(valueL,valueT)}}if(Prototype.Browser.IE||Prototype.Browser.Opera){Element.Methods.update=function(element,content){element=$(element);if(content&&content.toElement)content=content.toElement();if(Object.isElement(content))return element.update().insert(content);content=Object.toHTML(content);var tagName=element.tagName.toUpperCase();if(tagName in Element._insertionTranslations.tags){$A(element.childNodes).each(function(node){element.removeChild(node)});Element._getContentFromAnonymousElement(tagName,content.stripScripts()).each(function(node){element.appendChild(node)})}else element.innerHTML=content.stripScripts();content.evalScripts.bind(content).defer();return element}}if('outerHTML'in document.createElement('div')){Element.Methods.replace=function(element,content){element=$(element);if(content&&content.toElement)content=content.toElement();if(Object.isElement(content)){element.parentNode.replaceChild(content,element);return element}content=Object.toHTML(content);var parent=element.parentNode,tagName=parent.tagName.toUpperCase();if(Element._insertionTranslations.tags[tagName]){var nextSibling=element.next();var fragments=Element._getContentFromAnonymousElement(tagName,content.stripScripts());parent.removeChild(element);if(nextSibling)fragments.each(function(node){parent.insertBefore(node,nextSibling)});else fragments.each(function(node){parent.appendChild(node)})}else element.outerHTML=content.stripScripts();content.evalScripts.bind(content).defer();return element}}Element._returnOffset=function(l,t){var result=[l,t];result.left=l;result.top=t;return result};Element._getContentFromAnonymousElement=function(tagName,html){var div=new Element('div'),t=Element._insertionTranslations.tags[tagName];if(t){div.innerHTML=t[0]+html+t[1];t[2].times(function(){div=div.firstChild})}else div.innerHTML=html;return $A(div.childNodes)};Element._insertionTranslations={before:function(element,node){element.parentNode.insertBefore(node,element)},top:function(element,node){element.insertBefore(node,element.firstChild)},bottom:function(element,node){element.appendChild(node)},after:function(element,node){element.parentNode.insertBefore(node,element.nextSibling)},tags:{TABLE:['<table>','</table>',1],TBODY:['<table><tbody>','</tbody></table>',2],TR:['<table><tbody><tr>','</tr></tbody></table>',3],TD:['<table><tbody><tr><td>','</td></tr></tbody></table>',4],SELECT:['<select>','</select>',1]}};(function(){Object.extend(this.tags,{THEAD:this.tags.TBODY,TFOOT:this.tags.TBODY,TH:this.tags.TD})}).call(Element._insertionTranslations);Element.Methods.Simulated={hasAttribute:function(element,attribute){attribute=Element._attributeTranslations.has[attribute]||attribute;var node=$(element).getAttributeNode(attribute);return!!(node&&node.specified)}};Element.Methods.ByTag={};Object.extend(Element,Element.Methods);if(!Prototype.BrowserFeatures.ElementExtensions&&document.createElement('div')['__proto__']){window.HTMLElement={};window.HTMLElement.prototype=document.createElement('div')['__proto__'];Prototype.BrowserFeatures.ElementExtensions=true}Element.extend=(function(){if(Prototype.BrowserFeatures.SpecificElementExtensions)return Prototype.K;var Methods={},ByTag=Element.Methods.ByTag;var extend=Object.extend(function(element){if(!element||element._extendedByPrototype||element.nodeType!=1||element==window)return element;var methods=Object.clone(Methods),tagName=element.tagName.toUpperCase(),property,value;if(ByTag[tagName])Object.extend(methods,ByTag[tagName]);for(property in methods){value=methods[property];if(Object.isFunction(value)&&!(property in element))element[property]=value.methodize()}element._extendedByPrototype=Prototype.emptyFunction;return element},{refresh:function(){if(!Prototype.BrowserFeatures.ElementExtensions){Object.extend(Methods,Element.Methods);Object.extend(Methods,Element.Methods.Simulated)}}});extend.refresh();return extend})();Element.hasAttribute=function(element,attribute){if(element.hasAttribute)return element.hasAttribute(attribute);return Element.Methods.Simulated.hasAttribute(element,attribute)};Element.addMethods=function(methods){var F=Prototype.BrowserFeatures,T=Element.Methods.ByTag;if(!methods){Object.extend(Form,Form.Methods);Object.extend(Form.Element,Form.Element.Methods);Object.extend(Element.Methods.ByTag,{"FORM":Object.clone(Form.Methods),"INPUT":Object.clone(Form.Element.Methods),"SELECT":Object.clone(Form.Element.Methods),"TEXTAREA":Object.clone(Form.Element.Methods)})}if(arguments.length==2){var tagName=methods;methods=arguments[1]}if(!tagName)Object.extend(Element.Methods,methods||{});else{if(Object.isArray(tagName))tagName.each(extend);else extend(tagName)}function extend(tagName){tagName=tagName.toUpperCase();if(!Element.Methods.ByTag[tagName])Element.Methods.ByTag[tagName]={};Object.extend(Element.Methods.ByTag[tagName],methods)}function copy(methods,destination,onlyIfAbsent){onlyIfAbsent=onlyIfAbsent||false;for(var property in methods){var value=methods[property];if(!Object.isFunction(value))continue;if(!onlyIfAbsent||!(property in destination))destination[property]=value.methodize()}}function findDOMClass(tagName){var klass;var trans={"OPTGROUP":"OptGroup","TEXTAREA":"TextArea","P":"Paragraph","FIELDSET":"FieldSet","UL":"UList","OL":"OList","DL":"DList","DIR":"Directory","H1":"Heading","H2":"Heading","H3":"Heading","H4":"Heading","H5":"Heading","H6":"Heading","Q":"Quote","INS":"Mod","DEL":"Mod","A":"Anchor","IMG":"Image","CAPTION":"TableCaption","COL":"TableCol","COLGROUP":"TableCol","THEAD":"TableSection","TFOOT":"TableSection","TBODY":"TableSection","TR":"TableRow","TH":"TableCell","TD":"TableCell","FRAMESET":"FrameSet","IFRAME":"IFrame"};if(trans[tagName])klass='HTML'+trans[tagName]+'Element';if(window[klass])return window[klass];klass='HTML'+tagName+'Element';if(window[klass])return window[klass];klass='HTML'+tagName.capitalize()+'Element';if(window[klass])return window[klass];window[klass]={};window[klass].prototype=document.createElement(tagName)['__proto__'];return window[klass]}if(F.ElementExtensions){copy(Element.Methods,HTMLElement.prototype);copy(Element.Methods.Simulated,HTMLElement.prototype,true)}if(F.SpecificElementExtensions){for(var tag in Element.Methods.ByTag){var klass=findDOMClass(tag);if(Object.isUndefined(klass))continue;copy(T[tag],klass.prototype)}}Object.extend(Element,Element.Methods);delete Element.ByTag;if(Element.extend.refresh)Element.extend.refresh();Element.cache={}};document.viewport={getDimensions:function(){var dimensions={},B=Prototype.Browser;$w('width height').each(function(d){var D=d.capitalize();if(B.WebKit&&!document.evaluate){dimensions[d]=self['inner'+D]}else if(B.Opera&&parseFloat(window.opera.version())<9.5){dimensions[d]=document.body['client'+D]}else{dimensions[d]=document.documentElement['client'+D]}});return dimensions},getWidth:function(){return this.getDimensions().width},getHeight:function(){return this.getDimensions().height},getScrollOffsets:function(){return Element._returnOffset(window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft,window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop)}};var Selector=Class.create({initialize:function(expression){this.expression=expression.strip();if(this.shouldUseSelectorsAPI()){this.mode='selectorsAPI'}else if(this.shouldUseXPath()){this.mode='xpath';this.compileXPathMatcher()}else{this.mode="normal";this.compileMatcher()}},shouldUseXPath:function(){if(!Prototype.BrowserFeatures.XPath)return false;var e=this.expression;if(Prototype.Browser.WebKit&&(e.include("-of-type")||e.include(":empty")))return false;if((/(\[[\w-]*?:|:checked)/).test(e))return false;return true},shouldUseSelectorsAPI:function(){if(!Prototype.BrowserFeatures.SelectorsAPI)return false;if(!Selector._div)Selector._div=new Element('div');try{Selector._div.querySelector(this.expression)}catch(e){return false}return true},compileMatcher:function(){var e=this.expression,ps=Selector.patterns,h=Selector.handlers,c=Selector.criteria,le,p,m;if(Selector._cache[e]){this.matcher=Selector._cache[e];return}this.matcher=["this.matcher = function(root) {","var r = root, h = Selector.handlers, c = false, n;"];while(e&&le!=e&&(/\S/).test(e)){le=e;for(var i in ps){p=ps[i];if(m=e.match(p)){this.matcher.push(Object.isFunction(c[i])?c[i](m):new Template(c[i]).evaluate(m));e=e.replace(m[0],'');break}}}this.matcher.push("return h.unique(n);\n}");eval(this.matcher.join('\n'));Selector._cache[this.expression]=this.matcher},compileXPathMatcher:function(){var e=this.expression,ps=Selector.patterns,x=Selector.xpath,le,m;if(Selector._cache[e]){this.xpath=Selector._cache[e];return}this.matcher=['.//*'];while(e&&le!=e&&(/\S/).test(e)){le=e;for(var i in ps){if(m=e.match(ps[i])){this.matcher.push(Object.isFunction(x[i])?x[i](m):new Template(x[i]).evaluate(m));e=e.replace(m[0],'');break}}}this.xpath=this.matcher.join('');Selector._cache[this.expression]=this.xpath},findElements:function(root){root=root||document;var e=this.expression,results;switch(this.mode){case'selectorsAPI':if(root!==document){var oldId=root.id,id=$(root).identify();e="#"+id+" "+e}results=$A(root.querySelectorAll(e)).map(Element.extend);root.id=oldId;return results;case'xpath':return document._getElementsByXPath(this.xpath,root);default:return this.matcher(root)}},match:function(element){this.tokens=[];var e=this.expression,ps=Selector.patterns,as=Selector.assertions;var le,p,m;while(e&&le!==e&&(/\S/).test(e)){le=e;for(var i in ps){p=ps[i];if(m=e.match(p)){if(as[i]){this.tokens.push([i,Object.clone(m)]);e=e.replace(m[0],'')}else{return this.findElements(document).include(element)}}}}var match=true,name,matches;for(var i=0,token;token=this.tokens[i];i++){name=token[0],matches=token[1];if(!Selector.assertions[name](element,matches)){match=false;break}}return match},toString:function(){return this.expression},inspect:function(){return"#<Selector:"+this.expression.inspect()+">"}});Object.extend(Selector,{_cache:{},xpath:{descendant:"//*",child:"/*",adjacent:"/following-sibling::*[1]",laterSibling:'/following-sibling::*',tagName:function(m){if(m[1]=='*')return'';return"[local-name()='"+m[1].toLowerCase()+"' or local-name()='"+m[1].toUpperCase()+"']"},className:"[contains(concat(' ', @class, ' '), ' #{1} ')]",id:"[@id='#{1}']",attrPresence:function(m){m[1]=m[1].toLowerCase();return new Template("[@#{1}]").evaluate(m)},attr:function(m){m[1]=m[1].toLowerCase();m[3]=m[5]||m[6];return new Template(Selector.xpath.operators[m[2]]).evaluate(m)},pseudo:function(m){var h=Selector.xpath.pseudos[m[1]];if(!h)return'';if(Object.isFunction(h))return h(m);return new Template(Selector.xpath.pseudos[m[1]]).evaluate(m)},operators:{'=':"[@#{1}='#{3}']",'!=':"[@#{1}!='#{3}']",'^=':"[starts-with(@#{1}, '#{3}')]",'$=':"[substring(@#{1}, (string-length(@#{1}) - string-length('#{3}') + 1))='#{3}']",'*=':"[contains(@#{1}, '#{3}')]",'~=':"[contains(concat(' ', @#{1}, ' '), ' #{3} ')]",'|=':"[contains(concat('-', @#{1}, '-'), '-#{3}-')]"},pseudos:{'first-child':'[not(preceding-sibling::*)]','last-child':'[not(following-sibling::*)]','only-child':'[not(preceding-sibling::* or following-sibling::*)]','empty':"[count(*) = 0 and (count(text()) = 0)]",'checked':"[@checked]",'disabled':"[(@disabled) and (@type!='hidden')]",'enabled':"[not(@disabled) and (@type!='hidden')]",'not':function(m){var e=m[6],p=Selector.patterns,x=Selector.xpath,le,v;var exclusion=[];while(e&&le!=e&&(/\S/).test(e)){le=e;for(var i in p){if(m=e.match(p[i])){v=Object.isFunction(x[i])?x[i](m):new Template(x[i]).evaluate(m);exclusion.push("("+v.substring(1,v.length-1)+")");e=e.replace(m[0],'');break}}}return"[not("+exclusion.join(" and ")+")]"},'nth-child':function(m){return Selector.xpath.pseudos.nth("(count(./preceding-sibling::*) + 1) ",m)},'nth-last-child':function(m){return Selector.xpath.pseudos.nth("(count(./following-sibling::*) + 1) ",m)},'nth-of-type':function(m){return Selector.xpath.pseudos.nth("position() ",m)},'nth-last-of-type':function(m){return Selector.xpath.pseudos.nth("(last() + 1 - position()) ",m)},'first-of-type':function(m){m[6]="1";return Selector.xpath.pseudos['nth-of-type'](m)},'last-of-type':function(m){m[6]="1";return Selector.xpath.pseudos['nth-last-of-type'](m)},'only-of-type':function(m){var p=Selector.xpath.pseudos;return p['first-of-type'](m)+p['last-of-type'](m)},nth:function(fragment,m){var mm,formula=m[6],predicate;if(formula=='even')formula='2n+0';if(formula=='odd')formula='2n+1';if(mm=formula.match(/^(\d+)$/))return'['+fragment+"= "+mm[1]+']';if(mm=formula.match(/^(-?\d*)?n(([+-])(\d+))?/)){if(mm[1]=="-")mm[1]=-1;var a=mm[1]?Number(mm[1]):1;var b=mm[2]?Number(mm[2]):0;predicate="[((#{fragment} - #{b}) mod #{a} = 0) and "+"((#{fragment} - #{b}) div #{a} >= 0)]";return new Template(predicate).evaluate({fragment:fragment,a:a,b:b})}}}},criteria:{tagName:'n = h.tagName(n, r, "#{1}", c);      c = false;',className:'n = h.className(n, r, "#{1}", c);    c = false;',id:'n = h.id(n, r, "#{1}", c);           c = false;',attrPresence:'n = h.attrPresence(n, r, "#{1}", c); c = false;',attr:function(m){m[3]=(m[5]||m[6]);return new Template('n = h.attr(n, r, "#{1}", "#{3}", "#{2}", c); c = false;').evaluate(m)},pseudo:function(m){if(m[6])m[6]=m[6].replace(/"/g,'\\"');return new Template('n = h.pseudo(n, "#{1}", "#{6}", r, c); c = false;').evaluate(m)},descendant:'c = "descendant";',child:'c = "child";',adjacent:'c = "adjacent";',laterSibling:'c = "laterSibling";'},patterns:{laterSibling:/^\s*~\s*/,child:/^\s*>\s*/,adjacent:/^\s*\+\s*/,descendant:/^\s/,tagName:/^\s*(\*|[\w\-]+)(\b|$)?/,id:/^#([\w\-\*]+)(\b|$)/,className:/^\.([\w\-\*]+)(\b|$)/,pseudo:/^:((first|last|nth|nth-last|only)(-child|-of-type)|empty|checked|(en|dis)abled|not)(\((.*?)\))?(\b|$|(?=\s|[:+~>]))/,attrPresence:/^\[((?:[\w]+:)?[\w]+)\]/,attr:/\[((?:[\w-]*:)?[\w-]+)\s*(?:([!^$*~|]?=)\s*((['"])([^\4]*?)\4|([^'"][^\]]*?)))?\]/},assertions:{tagName:function(element,matches){return matches[1].toUpperCase()==element.tagName.toUpperCase()},className:function(element,matches){return Element.hasClassName(element,matches[1])},id:function(element,matches){return element.id===matches[1]},attrPresence:function(element,matches){return Element.hasAttribute(element,matches[1])},attr:function(element,matches){var nodeValue=Element.readAttribute(element,matches[1]);return nodeValue&&Selector.operators[matches[2]](nodeValue,matches[5]||matches[6])}},handlers:{concat:function(a,b){for(var i=0,node;node=b[i];i++)a.push(node);return a},mark:function(nodes){var _true=Prototype.emptyFunction;for(var i=0,node;node=nodes[i];i++)node._countedByPrototype=_true;return nodes},unmark:function(nodes){for(var i=0,node;node=nodes[i];i++)node._countedByPrototype=undefined;return nodes},index:function(parentNode,reverse,ofType){parentNode._countedByPrototype=Prototype.emptyFunction;if(reverse){for(var nodes=parentNode.childNodes,i=nodes.length-1,j=1;i>=0;i--){var node=nodes[i];if(node.nodeType==1&&(!ofType||node._countedByPrototype))node.nodeIndex=j++}}else{for(var i=0,j=1,nodes=parentNode.childNodes;node=nodes[i];i++)if(node.nodeType==1&&(!ofType||node._countedByPrototype))node.nodeIndex=j++}},unique:function(nodes){if(nodes.length==0)return nodes;var results=[],n;for(var i=0,l=nodes.length;i<l;i++)if(!(n=nodes[i])._countedByPrototype){n._countedByPrototype=Prototype.emptyFunction;results.push(Element.extend(n))}return Selector.handlers.unmark(results)},descendant:function(nodes){var h=Selector.handlers;for(var i=0,results=[],node;node=nodes[i];i++)h.concat(results,node.getElementsByTagName('*'));return results},child:function(nodes){var h=Selector.handlers;for(var i=0,results=[],node;node=nodes[i];i++){for(var j=0,child;child=node.childNodes[j];j++)if(child.nodeType==1&&child.tagName!='!')results.push(child)}return results},adjacent:function(nodes){for(var i=0,results=[],node;node=nodes[i];i++){var next=this.nextElementSibling(node);if(next)results.push(next)}return results},laterSibling:function(nodes){var h=Selector.handlers;for(var i=0,results=[],node;node=nodes[i];i++)h.concat(results,Element.nextSiblings(node));return results},nextElementSibling:function(node){while(node=node.nextSibling)if(node.nodeType==1)return node;return null},previousElementSibling:function(node){while(node=node.previousSibling)if(node.nodeType==1)return node;return null},tagName:function(nodes,root,tagName,combinator){var uTagName=tagName.toUpperCase();var results=[],h=Selector.handlers;if(nodes){if(combinator){if(combinator=="descendant"){for(var i=0,node;node=nodes[i];i++)h.concat(results,node.getElementsByTagName(tagName));return results}else nodes=this[combinator](nodes);if(tagName=="*")return nodes}for(var i=0,node;node=nodes[i];i++)if(node.tagName.toUpperCase()===uTagName)results.push(node);return results}else return root.getElementsByTagName(tagName)},id:function(nodes,root,id,combinator){var targetNode=$(id),h=Selector.handlers;if(!targetNode)return[];if(!nodes&&root==document)return[targetNode];if(nodes){if(combinator){if(combinator=='child'){for(var i=0,node;node=nodes[i];i++)if(targetNode.parentNode==node)return[targetNode]}else if(combinator=='descendant'){for(var i=0,node;node=nodes[i];i++)if(Element.descendantOf(targetNode,node))return[targetNode]}else if(combinator=='adjacent'){for(var i=0,node;node=nodes[i];i++)if(Selector.handlers.previousElementSibling(targetNode)==node)return[targetNode]}else nodes=h[combinator](nodes)}for(var i=0,node;node=nodes[i];i++)if(node==targetNode)return[targetNode];return[]}return(targetNode&&Element.descendantOf(targetNode,root))?[targetNode]:[]},className:function(nodes,root,className,combinator){if(nodes&&combinator)nodes=this[combinator](nodes);return Selector.handlers.byClassName(nodes,root,className)},byClassName:function(nodes,root,className){if(!nodes)nodes=Selector.handlers.descendant([root]);var needle=' '+className+' ';for(var i=0,results=[],node,nodeClassName;node=nodes[i];i++){nodeClassName=node.className;if(nodeClassName.length==0)continue;if(nodeClassName==className||(' '+nodeClassName+' ').include(needle))results.push(node)}return results},attrPresence:function(nodes,root,attr,combinator){if(!nodes)nodes=root.getElementsByTagName("*");if(nodes&&combinator)nodes=this[combinator](nodes);var results=[];for(var i=0,node;node=nodes[i];i++)if(Element.hasAttribute(node,attr))results.push(node);return results},attr:function(nodes,root,attr,value,operator,combinator){if(!nodes)nodes=root.getElementsByTagName("*");if(nodes&&combinator)nodes=this[combinator](nodes);var handler=Selector.operators[operator],results=[];for(var i=0,node;node=nodes[i];i++){var nodeValue=Element.readAttribute(node,attr);if(nodeValue===null)continue;if(handler(nodeValue,value))results.push(node)}return results},pseudo:function(nodes,name,value,root,combinator){if(nodes&&combinator)nodes=this[combinator](nodes);if(!nodes)nodes=root.getElementsByTagName("*");return Selector.pseudos[name](nodes,value,root)}},pseudos:{'first-child':function(nodes,value,root){for(var i=0,results=[],node;node=nodes[i];i++){if(Selector.handlers.previousElementSibling(node))continue;results.push(node)}return results},'last-child':function(nodes,value,root){for(var i=0,results=[],node;node=nodes[i];i++){if(Selector.handlers.nextElementSibling(node))continue;results.push(node)}return results},'only-child':function(nodes,value,root){var h=Selector.handlers;for(var i=0,results=[],node;node=nodes[i];i++)if(!h.previousElementSibling(node)&&!h.nextElementSibling(node))results.push(node);return results},'nth-child':function(nodes,formula,root){return Selector.pseudos.nth(nodes,formula,root)},'nth-last-child':function(nodes,formula,root){return Selector.pseudos.nth(nodes,formula,root,true)},'nth-of-type':function(nodes,formula,root){return Selector.pseudos.nth(nodes,formula,root,false,true)},'nth-last-of-type':function(nodes,formula,root){return Selector.pseudos.nth(nodes,formula,root,true,true)},'first-of-type':function(nodes,formula,root){return Selector.pseudos.nth(nodes,"1",root,false,true)},'last-of-type':function(nodes,formula,root){return Selector.pseudos.nth(nodes,"1",root,true,true)},'only-of-type':function(nodes,formula,root){var p=Selector.pseudos;return p['last-of-type'](p['first-of-type'](nodes,formula,root),formula,root)},getIndices:function(a,b,total){if(a==0)return b>0?[b]:[];return $R(1,total).inject([],function(memo,i){if(0==(i-b)%a&&(i-b)/a>=0)memo.push(i);return memo})},nth:function(nodes,formula,root,reverse,ofType){if(nodes.length==0)return[];if(formula=='even')formula='2n+0';if(formula=='odd')formula='2n+1';var h=Selector.handlers,results=[],indexed=[],m;h.mark(nodes);for(var i=0,node;node=nodes[i];i++){if(!node.parentNode._countedByPrototype){h.index(node.parentNode,reverse,ofType);indexed.push(node.parentNode)}}if(formula.match(/^\d+$/)){formula=Number(formula);for(var i=0,node;node=nodes[i];i++)if(node.nodeIndex==formula)results.push(node)}else if(m=formula.match(/^(-?\d*)?n(([+-])(\d+))?/)){if(m[1]=="-")m[1]=-1;var a=m[1]?Number(m[1]):1;var b=m[2]?Number(m[2]):0;var indices=Selector.pseudos.getIndices(a,b,nodes.length);for(var i=0,node,l=indices.length;node=nodes[i];i++){for(var j=0;j<l;j++)if(node.nodeIndex==indices[j])results.push(node)}}h.unmark(nodes);h.unmark(indexed);return results},'empty':function(nodes,value,root){for(var i=0,results=[],node;node=nodes[i];i++){if(node.tagName=='!'||node.firstChild)continue;results.push(node)}return results},'not':function(nodes,selector,root){var h=Selector.handlers,selectorType,m;var exclusions=new Selector(selector).findElements(root);h.mark(exclusions);for(var i=0,results=[],node;node=nodes[i];i++)if(!node._countedByPrototype)results.push(node);h.unmark(exclusions);return results},'enabled':function(nodes,value,root){for(var i=0,results=[],node;node=nodes[i];i++)if(!node.disabled&&(!node.type||node.type!=='hidden'))results.push(node);return results},'disabled':function(nodes,value,root){for(var i=0,results=[],node;node=nodes[i];i++)if(node.disabled)results.push(node);return results},'checked':function(nodes,value,root){for(var i=0,results=[],node;node=nodes[i];i++)if(node.checked)results.push(node);return results}},operators:{'=':function(nv,v){return nv==v},'!=':function(nv,v){return nv!=v},'^=':function(nv,v){return nv==v||nv&&nv.startsWith(v)},'$=':function(nv,v){return nv==v||nv&&nv.endsWith(v)},'*=':function(nv,v){return nv==v||nv&&nv.include(v)},'$=':function(nv,v){return nv.endsWith(v)},'*=':function(nv,v){return nv.include(v)},'~=':function(nv,v){return(' '+nv+' ').include(' '+v+' ')},'|=':function(nv,v){return('-'+(nv||"").toUpperCase()+'-').include('-'+(v||"").toUpperCase()+'-')}},split:function(expression){var expressions=[];expression.scan(/(([\w#:.~>+()\s-]+|\*|\[.*?\])+)\s*(,|$)/,function(m){expressions.push(m[1].strip())});return expressions},matchElements:function(elements,expression){var matches=$$(expression),h=Selector.handlers;h.mark(matches);for(var i=0,results=[],element;element=elements[i];i++)if(element._countedByPrototype)results.push(element);h.unmark(matches);return results},findElement:function(elements,expression,index){if(Object.isNumber(expression)){index=expression;expression=false}return Selector.matchElements(elements,expression||'*')[index||0]},findChildElements:function(element,expressions){expressions=Selector.split(expressions.join(','));var results=[],h=Selector.handlers;for(var i=0,l=expressions.length,selector;i<l;i++){selector=new Selector(expressions[i].strip());h.concat(results,selector.findElements(element))}return(l>1)?h.unique(results):results}});if(Prototype.Browser.IE){Object.extend(Selector.handlers,{concat:function(a,b){for(var i=0,node;node=b[i];i++)if(node.tagName!=="!")a.push(node);return a},unmark:function(nodes){for(var i=0,node;node=nodes[i];i++)node.removeAttribute('_countedByPrototype');return nodes}})}function $$(){return Selector.findChildElements(document,$A(arguments))}var Form={reset:function(form){$(form).reset();return form},serializeElements:function(elements,options){if(typeof options!='object')options={hash:!!options};else if(Object.isUndefined(options.hash))options.hash=true;var key,value,submitted=false,submit=options.submit;var data=elements.inject({},function(result,element){if(!element.disabled&&element.name){key=element.name;value=$(element).getValue();if(value!=null&&element.type!='file'&&(element.type!='submit'||(!submitted&&submit!==false&&(!submit||key==submit)&&(submitted=true)))){if(key in result){if(!Object.isArray(result[key]))result[key]=[result[key]];result[key].push(value)}else result[key]=value}}return result});return options.hash?data:Object.toQueryString(data)}};Form.Methods={serialize:function(form,options){return Form.serializeElements(Form.getElements(form),options)},getElements:function(form){return $A($(form).getElementsByTagName('*')).inject([],function(elements,child){if(Form.Element.Serializers[child.tagName.toLowerCase()])elements.push(Element.extend(child));return elements})},getInputs:function(form,typeName,name){form=$(form);var inputs=form.getElementsByTagName('input');if(!typeName&&!name)return $A(inputs).map(Element.extend);for(var i=0,matchingInputs=[],length=inputs.length;i<length;i++){var input=inputs[i];if((typeName&&input.type!=typeName)||(name&&input.name!=name))continue;matchingInputs.push(Element.extend(input))}return matchingInputs},disable:function(form){form=$(form);Form.getElements(form).invoke('disable');return form},enable:function(form){form=$(form);Form.getElements(form).invoke('enable');return form},findFirstElement:function(form){var elements=$(form).getElements().findAll(function(element){return'hidden'!=element.type&&!element.disabled});var firstByIndex=elements.findAll(function(element){return element.hasAttribute('tabIndex')&&element.tabIndex>=0}).sortBy(function(element){return element.tabIndex}).first();return firstByIndex?firstByIndex:elements.find(function(element){return['input','select','textarea'].include(element.tagName.toLowerCase())})},focusFirstElement:function(form){form=$(form);form.findFirstElement().activate();return form},request:function(form,options){form=$(form),options=Object.clone(options||{});var params=options.parameters,action=form.readAttribute('action')||'';if(action.blank())action=window.location.href;options.parameters=form.serialize(true);if(params){if(Object.isString(params))params=params.toQueryParams();Object.extend(options.parameters,params)}if(form.hasAttribute('method')&&!options.method)options.method=form.method;return new Ajax.Request(action,options)}};Form.Element={focus:function(element){$(element).focus();return element},select:function(element){$(element).select();return element}};Form.Element.Methods={serialize:function(element){element=$(element);if(!element.disabled&&element.name){var value=element.getValue();if(value!=undefined){var pair={};pair[element.name]=value;return Object.toQueryString(pair)}}return''},getValue:function(element){element=$(element);var method=element.tagName.toLowerCase();return Form.Element.Serializers[method](element)},setValue:function(element,value){element=$(element);var method=element.tagName.toLowerCase();Form.Element.Serializers[method](element,value);return element},clear:function(element){$(element).value='';return element},present:function(element){return $(element).value!=''},activate:function(element){element=$(element);try{element.focus();if(element.select&&(element.tagName.toLowerCase()!='input'||!['button','reset','submit'].include(element.type)))element.select()}catch(e){}return element},disable:function(element){element=$(element);element.disabled=true;return element},enable:function(element){element=$(element);element.disabled=false;return element}};var Field=Form.Element;var $F=Form.Element.Methods.getValue;Form.Element.Serializers={input:function(element,value){switch(element.type.toLowerCase()){case'checkbox':case'radio':return Form.Element.Serializers.inputSelector(element,value);default:return Form.Element.Serializers.textarea(element,value)}},inputSelector:function(element,value){if(Object.isUndefined(value))return element.checked?element.value:null;else element.checked=!!value},textarea:function(element,value){if(Object.isUndefined(value))return element.value;else element.value=value},select:function(element,value){if(Object.isUndefined(value))return this[element.type=='select-one'?'selectOne':'selectMany'](element);else{var opt,currentValue,single=!Object.isArray(value);for(var i=0,length=element.length;i<length;i++){opt=element.options[i];currentValue=this.optionValue(opt);if(single){if(currentValue==value){opt.selected=true;return}}else opt.selected=value.include(currentValue)}}},selectOne:function(element){var index=element.selectedIndex;return index>=0?this.optionValue(element.options[index]):null},selectMany:function(element){var values,length=element.length;if(!length)return null;for(var i=0,values=[];i<length;i++){var opt=element.options[i];if(opt.selected)values.push(this.optionValue(opt))}return values},optionValue:function(opt){return Element.extend(opt).hasAttribute('value')?opt.value:opt.text}};Abstract.TimedObserver=Class.create(PeriodicalExecuter,{initialize:function($super,element,frequency,callback){$super(callback,frequency);this.element=$(element);this.lastValue=this.getValue()},execute:function(){var value=this.getValue();if(Object.isString(this.lastValue)&&Object.isString(value)?this.lastValue!=value:String(this.lastValue)!=String(value)){this.callback(this.element,value);this.lastValue=value}}});Form.Element.Observer=Class.create(Abstract.TimedObserver,{getValue:function(){return Form.Element.getValue(this.element)}});Form.Observer=Class.create(Abstract.TimedObserver,{getValue:function(){return Form.serialize(this.element)}});Abstract.EventObserver=Class.create({initialize:function(element,callback){this.element=$(element);this.callback=callback;this.lastValue=this.getValue();if(this.element.tagName.toLowerCase()=='form')this.registerFormCallbacks();else this.registerCallback(this.element)},onElementEvent:function(){var value=this.getValue();if(this.lastValue!=value){this.callback(this.element,value);this.lastValue=value}},registerFormCallbacks:function(){Form.getElements(this.element).each(this.registerCallback,this)},registerCallback:function(element){if(element.type){switch(element.type.toLowerCase()){case'checkbox':case'radio':Event.observe(element,'click',this.onElementEvent.bind(this));break;default:Event.observe(element,'change',this.onElementEvent.bind(this));break}}}});Form.Element.EventObserver=Class.create(Abstract.EventObserver,{getValue:function(){return Form.Element.getValue(this.element)}});Form.EventObserver=Class.create(Abstract.EventObserver,{getValue:function(){return Form.serialize(this.element)}});if(!window.Event)var Event={};Object.extend(Event,{KEY_BACKSPACE:8,KEY_TAB:9,KEY_RETURN:13,KEY_ESC:27,KEY_LEFT:37,KEY_UP:38,KEY_RIGHT:39,KEY_DOWN:40,KEY_DELETE:46,KEY_HOME:36,KEY_END:35,KEY_PAGEUP:33,KEY_PAGEDOWN:34,KEY_INSERT:45,cache:{},relatedTarget:function(event){var element;switch(event.type){case'mouseover':element=event.fromElement;break;case'mouseout':element=event.toElement;break;default:return null}return Element.extend(element)}});Event.Methods=(function(){var isButton;if(Prototype.Browser.IE){var buttonMap={0:1,1:4,2:2};isButton=function(event,code){return event.button==buttonMap[code]}}else if(Prototype.Browser.WebKit){isButton=function(event,code){switch(code){case 0:return event.which==1&&!event.metaKey;case 1:return event.which==1&&event.metaKey;default:return false}}}else{isButton=function(event,code){return event.which?(event.which===code+1):(event.button===code)}}return{isLeftClick:function(event){return isButton(event,0)},isMiddleClick:function(event){return isButton(event,1)},isRightClick:function(event){return isButton(event,2)},element:function(event){event=Event.extend(event);var node=event.target,type=event.type,currentTarget=event.currentTarget;if(currentTarget&&currentTarget.tagName){if(type==='load'||type==='error'||(type==='click'&&currentTarget.tagName.toLowerCase()==='input'&&currentTarget.type==='radio'))node=currentTarget}if(node.nodeType==Node.TEXT_NODE)node=node.parentNode;return Element.extend(node)},findElement:function(event,expression){var element=Event.element(event);if(!expression)return element;var elements=[element].concat(element.ancestors());return Selector.findElement(elements,expression,0)},pointer:function(event){var docElement=document.documentElement,body=document.body||{scrollLeft:0,scrollTop:0};return{x:event.pageX||(event.clientX+(docElement.scrollLeft||body.scrollLeft)-(docElement.clientLeft||0)),y:event.pageY||(event.clientY+(docElement.scrollTop||body.scrollTop)-(docElement.clientTop||0))}},pointerX:function(event){return Event.pointer(event).x},pointerY:function(event){return Event.pointer(event).y},stop:function(event){Event.extend(event);event.preventDefault();event.stopPropagation();event.stopped=true}}})();Event.extend=(function(){var methods=Object.keys(Event.Methods).inject({},function(m,name){m[name]=Event.Methods[name].methodize();return m});if(Prototype.Browser.IE){Object.extend(methods,{stopPropagation:function(){this.cancelBubble=true},preventDefault:function(){this.returnValue=false},inspect:function(){return"[object Event]"}});return function(event){if(!event)return false;if(event._extendedByPrototype)return event;event._extendedByPrototype=Prototype.emptyFunction;var pointer=Event.pointer(event);Object.extend(event,{target:event.srcElement,relatedTarget:Event.relatedTarget(event),pageX:pointer.x,pageY:pointer.y});return Object.extend(event,methods)}}else{Event.prototype=Event.prototype||document.createEvent("HTMLEvents")['__proto__'];Object.extend(Event.prototype,methods);return Prototype.K}})();Object.extend(Event,(function(){var cache=Event.cache;function getEventID(element){if(element._prototypeEventID)return element._prototypeEventID[0];arguments.callee.id=arguments.callee.id||1;return element._prototypeEventID=[++arguments.callee.id]}function getDOMEventName(eventName){if(eventName&&eventName.include(':'))return"dataavailable";return eventName}function getCacheForID(id){return cache[id]=cache[id]||{}}function getWrappersForEventName(id,eventName){var c=getCacheForID(id);return c[eventName]=c[eventName]||[]}function createWrapper(element,eventName,handler){var id=getEventID(element);var c=getWrappersForEventName(id,eventName);if(c.pluck("handler").include(handler))return false;var wrapper=function(event){if(!Event||!Event.extend||(event.eventName&&event.eventName!=eventName))return false;Event.extend(event);handler.call(element,event)};wrapper.handler=handler;c.push(wrapper);return wrapper}function findWrapper(id,eventName,handler){var c=getWrappersForEventName(id,eventName);return c.find(function(wrapper){return wrapper.handler==handler})}function destroyWrapper(id,eventName,handler){var c=getCacheForID(id);if(!c[eventName])return false;c[eventName]=c[eventName].without(findWrapper(id,eventName,handler))}function destroyCache(){for(var id in cache)for(var eventName in cache[id])cache[id][eventName]=null}if(window.attachEvent){window.attachEvent("onunload",destroyCache)}if(Prototype.Browser.WebKit){window.addEventListener('unload',Prototype.emptyFunction,false)}return{observe:function(element,eventName,handler){element=$(element);var name=getDOMEventName(eventName);var wrapper=createWrapper(element,eventName,handler);if(!wrapper)return element;if(element.addEventListener){element.addEventListener(name,wrapper,false)}else{element.attachEvent("on"+name,wrapper)}return element},stopObserving:function(element,eventName,handler){element=$(element);var id=getEventID(element),name=getDOMEventName(eventName);if(!handler&&eventName){getWrappersForEventName(id,eventName).each(function(wrapper){element.stopObserving(eventName,wrapper.handler)});return element}else if(!eventName){Object.keys(getCacheForID(id)).each(function(eventName){element.stopObserving(eventName)});return element}var wrapper=findWrapper(id,eventName,handler);if(!wrapper)return element;if(element.removeEventListener){element.removeEventListener(name,wrapper,false)}else{element.detachEvent("on"+name,wrapper)}destroyWrapper(id,eventName,handler);return element},fire:function(element,eventName,memo){element=$(element);if(element==document&&document.createEvent&&!element.dispatchEvent)element=document.documentElement;var event;if(document.createEvent){event=document.createEvent("HTMLEvents");event.initEvent("dataavailable",true,true)}else{event=document.createEventObject();event.eventType="ondataavailable"}event.eventName=eventName;event.memo=memo||{};if(document.createEvent){element.dispatchEvent(event)}else{element.fireEvent(event.eventType,event)}return Event.extend(event)}}})());Object.extend(Event,Event.Methods);Element.addMethods({fire:Event.fire,observe:Event.observe,stopObserving:Event.stopObserving});Object.extend(document,{fire:Element.Methods.fire.methodize(),observe:Element.Methods.observe.methodize(),stopObserving:Element.Methods.stopObserving.methodize(),loaded:false});(function(){var timer;function fireContentLoadedEvent(){if(document.loaded)return;if(timer)window.clearInterval(timer);document.fire("dom:loaded");document.loaded=true}if(document.addEventListener){if(Prototype.Browser.WebKit){timer=window.setInterval(function(){if(/loaded|complete/.test(document.readyState))fireContentLoadedEvent()},0);Event.observe(window,"load",fireContentLoadedEvent)}else{document.addEventListener("DOMContentLoaded",fireContentLoadedEvent,false)}}else{document.write("<script id=__onDOMContentLoaded defer src=//:><\/script>");$("__onDOMContentLoaded").onreadystatechange=function(){if(this.readyState=="complete"){this.onreadystatechange=null;fireContentLoadedEvent()}}}})();Hash.toQueryString=Object.toQueryString;var Toggle={display:Element.toggle};Element.Methods.childOf=Element.Methods.descendantOf;var Insertion={Before:function(element,content){return Element.insert(element,{before:content})},Top:function(element,content){return Element.insert(element,{top:content})},Bottom:function(element,content){return Element.insert(element,{bottom:content})},After:function(element,content){return Element.insert(element,{after:content})}};var $continue=new Error('"throw $continue" is deprecated, use "return" instead');var Position={includeScrollOffsets:false,prepare:function(){this.deltaX=window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0;this.deltaY=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0},within:function(element,x,y){if(this.includeScrollOffsets)return this.withinIncludingScrolloffsets(element,x,y);this.xcomp=x;this.ycomp=y;this.offset=Element.cumulativeOffset(element);return(y>=this.offset[1]&&y<this.offset[1]+element.offsetHeight&&x>=this.offset[0]&&x<this.offset[0]+element.offsetWidth)},withinIncludingScrolloffsets:function(element,x,y){var offsetcache=Element.cumulativeScrollOffset(element);this.xcomp=x+offsetcache[0]-this.deltaX;this.ycomp=y+offsetcache[1]-this.deltaY;this.offset=Element.cumulativeOffset(element);return(this.ycomp>=this.offset[1]&&this.ycomp<this.offset[1]+element.offsetHeight&&this.xcomp>=this.offset[0]&&this.xcomp<this.offset[0]+element.offsetWidth)},overlap:function(mode,element){if(!mode)return 0;if(mode=='vertical')return((this.offset[1]+element.offsetHeight)-this.ycomp)/element.offsetHeight;if(mode=='horizontal')return((this.offset[0]+element.offsetWidth)-this.xcomp)/element.offsetWidth},cumulativeOffset:Element.Methods.cumulativeOffset,positionedOffset:Element.Methods.positionedOffset,absolutize:function(element){Position.prepare();return Element.absolutize(element)},relativize:function(element){Position.prepare();return Element.relativize(element)},realOffset:Element.Methods.cumulativeScrollOffset,offsetParent:Element.Methods.getOffsetParent,page:Element.Methods.viewportOffset,clone:function(source,target,options){options=options||{};return Element.clonePosition(target,source,options)}};if(!document.getElementsByClassName)document.getElementsByClassName=function(instanceMethods){function iter(name){return name.blank()?null:"[contains(concat(' ', @class, ' '), ' "+name+" ')]"}instanceMethods.getElementsByClassName=Prototype.BrowserFeatures.XPath?function(element,className){className=className.toString().strip();var cond=/\s/.test(className)?$w(className).map(iter).join(''):iter(className);return cond?document._getElementsByXPath('.//*'+cond,element):[]}:function(element,className){className=className.toString().strip();var elements=[],classNames=(/\s/.test(className)?$w(className):null);if(!classNames&&!className)return elements;var nodes=$(element).getElementsByTagName('*');className=' '+className+' ';for(var i=0,child,cn;child=nodes[i];i++){if(child.className&&(cn=' '+child.className+' ')&&(cn.include(className)||(classNames&&classNames.all(function(name){return!name.toString().blank()&&cn.include(' '+name+' ')}))))elements.push(Element.extend(child))}return elements};return function(className,parentElement){return $(parentElement||document.body).getElementsByClassName(className)}}(Element.Methods);Element.ClassNames=Class.create();Element.ClassNames.prototype={initialize:function(element){this.element=$(element)},_each:function(iterator){this.element.className.split(/\s+/).select(function(name){return name.length>0})._each(iterator)},set:function(className){this.element.className=className},add:function(classNameToAdd){if(this.include(classNameToAdd))return;this.set($A(this).concat(classNameToAdd).join(' '))},remove:function(classNameToRemove){if(!this.include(classNameToRemove))return;this.set($A(this).without(classNameToRemove).join(' '))},toString:function(){return $A(this).join(' ')}};Object.extend(Element.ClassNames.prototype,Enumerable);Element.addMethods();
String.prototype.parseColor=function(){var color='#';if(this.slice(0,4)=='rgb('){var cols=this.slice(4,this.length-1).split(',');var i=0;do{color+=parseInt(cols[i]).toColorPart()}while(++i<3)}else{if(this.slice(0,1)=='#'){if(this.length==4)for(var i=1;i<4;i++)color+=(this.charAt(i)+this.charAt(i)).toLowerCase();if(this.length==7)color=this.toLowerCase()}}return(color.length==7?color:(arguments[0]||this))};Element.collectTextNodes=function(element){return $A($(element).childNodes).collect(function(node){return(node.nodeType==3?node.nodeValue:(node.hasChildNodes()?Element.collectTextNodes(node):''))}).flatten().join('')};Element.collectTextNodesIgnoreClass=function(element,className){return $A($(element).childNodes).collect(function(node){return(node.nodeType==3?node.nodeValue:((node.hasChildNodes()&&!Element.hasClassName(node,className))?Element.collectTextNodesIgnoreClass(node,className):''))}).flatten().join('')};Element.setContentZoom=function(element,percent){element=$(element);element.setStyle({fontSize:(percent/100)+'em'});if(Prototype.Browser.WebKit)window.scrollBy(0,0);return element};Element.getInlineOpacity=function(element){return $(element).style.opacity||''};Element.forceRerendering=function(element){try{element=$(element);var n=document.createTextNode(' ');element.appendChild(n);element.removeChild(n)}catch(e){}};var Effect={_elementDoesNotExistError:{name:'ElementDoesNotExistError',message:'The specified DOM element does not exist, but is required for this effect to operate'},Transitions:{linear:Prototype.K,sinoidal:function(pos){return(-Math.cos(pos*Math.PI)/2)+.5},reverse:function(pos){return 1-pos},flicker:function(pos){var pos=((-Math.cos(pos*Math.PI)/4)+.75)+Math.random()/4;return pos>1?1:pos},wobble:function(pos){return(-Math.cos(pos*Math.PI*(9*pos))/2)+.5},pulse:function(pos,pulses){return(-Math.cos((pos*((pulses||5)-.5)*2)*Math.PI)/2)+.5},spring:function(pos){return 1-(Math.cos(pos*4.5*Math.PI)*Math.exp(-pos*6))},none:function(pos){return 0},full:function(pos){return 1}},DefaultOptions:{duration:1.0,fps:100,sync:false,from:0.0,to:1.0,delay:0.0,queue:'parallel'},tagifyText:function(element){var tagifyStyle='position:relative';if(Prototype.Browser.IE)tagifyStyle+=';zoom:1';element=$(element);$A(element.childNodes).each(function(child){if(child.nodeType==3){child.nodeValue.toArray().each(function(character){element.insertBefore(new Element('span',{style:tagifyStyle}).update(character==' '?String.fromCharCode(160):character),child)});Element.remove(child)}})},multiple:function(element,effect){var elements;if(((typeof element=='object')||Object.isFunction(element))&&(element.length))elements=element;else elements=$(element).childNodes;var options=Object.extend({speed:0.1,delay:0.0},arguments[2]||{});var masterDelay=options.delay;$A(elements).each(function(element,index){new effect(element,Object.extend(options,{delay:index*options.speed+masterDelay}))})},PAIRS:{'slide':['SlideDown','SlideUp'],'blind':['BlindDown','BlindUp'],'appear':['Appear','Fade']},toggle:function(element,effect){element=$(element);effect=(effect||'appear').toLowerCase();var options=Object.extend({queue:{position:'end',scope:(element.id||'global'),limit:1}},arguments[2]||{});Effect[element.visible()?Effect.PAIRS[effect][1]:Effect.PAIRS[effect][0]](element,options)}};Effect.DefaultOptions.transition=Effect.Transitions.sinoidal;Effect.ScopedQueue=Class.create(Enumerable,{initialize:function(){this.effects=[];this.interval=null},_each:function(iterator){this.effects._each(iterator)},add:function(effect){var timestamp=new Date().getTime();var position=Object.isString(effect.options.queue)?effect.options.queue:effect.options.queue.position;switch(position){case'front':this.effects.findAll(function(e){return e.state=='idle'}).each(function(e){e.startOn+=effect.finishOn;e.finishOn+=effect.finishOn});break;case'with-last':timestamp=this.effects.pluck('startOn').max()||timestamp;break;case'end':timestamp=this.effects.pluck('finishOn').max()||timestamp;break}effect.startOn+=timestamp;effect.finishOn+=timestamp;if(!effect.options.queue.limit||(this.effects.length<effect.options.queue.limit))this.effects.push(effect);if(!this.interval)this.interval=setInterval(this.loop.bind(this),15)},remove:function(effect){this.effects=this.effects.reject(function(e){return e==effect});if(this.effects.length==0){clearInterval(this.interval);this.interval=null}},loop:function(){var timePos=new Date().getTime();for(var i=0,len=this.effects.length;i<len;i++)this.effects[i]&&this.effects[i].loop(timePos)}});Effect.Queues={instances:$H(),get:function(queueName){if(!Object.isString(queueName))return queueName;return this.instances.get(queueName)||this.instances.set(queueName,new Effect.ScopedQueue())}};Effect.Queue=Effect.Queues.get('global');Effect.Base=Class.create({position:null,start:function(options){function codeForEvent(options,eventName){return((options[eventName+'Internal']?'this.options.'+eventName+'Internal(this);':'')+(options[eventName]?'this.options.'+eventName+'(this);':''))}if(options&&options.transition===false)options.transition=Effect.Transitions.linear;this.options=Object.extend(Object.extend({},Effect.DefaultOptions),options||{});this.currentFrame=0;this.state='idle';this.startOn=this.options.delay*1000;this.finishOn=this.startOn+(this.options.duration*1000);this.fromToDelta=this.options.to-this.options.from;this.totalTime=this.finishOn-this.startOn;this.totalFrames=this.options.fps*this.options.duration;this.render=(function(){function dispatch(effect,eventName){if(effect.options[eventName+'Internal'])effect.options[eventName+'Internal'](effect);if(effect.options[eventName])effect.options[eventName](effect)}return function(pos){if(this.state==="idle"){this.state="running";dispatch(this,'beforeSetup');if(this.setup)this.setup();dispatch(this,'afterSetup')}if(this.state==="running"){pos=(this.options.transition(pos)*this.fromToDelta)+this.options.from;this.position=pos;dispatch(this,'beforeUpdate');if(this.update)this.update(pos);dispatch(this,'afterUpdate')}}})();this.event('beforeStart');if(!this.options.sync)Effect.Queues.get(Object.isString(this.options.queue)?'global':this.options.queue.scope).add(this)},loop:function(timePos){if(timePos>=this.startOn){if(timePos>=this.finishOn){this.render(1.0);this.cancel();this.event('beforeFinish');if(this.finish)this.finish();this.event('afterFinish');return}var pos=(timePos-this.startOn)/this.totalTime,frame=(pos*this.totalFrames).round();if(frame>this.currentFrame){this.render(pos);this.currentFrame=frame}}},cancel:function(){if(!this.options.sync)Effect.Queues.get(Object.isString(this.options.queue)?'global':this.options.queue.scope).remove(this);this.state='finished'},event:function(eventName){if(this.options[eventName+'Internal'])this.options[eventName+'Internal'](this);if(this.options[eventName])this.options[eventName](this)},inspect:function(){var data=$H();for(property in this)if(!Object.isFunction(this[property]))data.set(property,this[property]);return'#<Effect:'+data.inspect()+',options:'+$H(this.options).inspect()+'>'}});Effect.Parallel=Class.create(Effect.Base,{initialize:function(effects){this.effects=effects||[];this.start(arguments[1])},update:function(position){this.effects.invoke('render',position)},finish:function(position){this.effects.each(function(effect){effect.render(1.0);effect.cancel();effect.event('beforeFinish');if(effect.finish)effect.finish(position);effect.event('afterFinish')})}});Effect.Tween=Class.create(Effect.Base,{initialize:function(object,from,to){object=Object.isString(object)?$(object):object;var args=$A(arguments),method=args.last(),options=args.length==5?args[3]:null;this.method=Object.isFunction(method)?method.bind(object):Object.isFunction(object[method])?object[method].bind(object):function(value){object[method]=value};this.start(Object.extend({from:from,to:to},options||{}))},update:function(position){this.method(position)}});Effect.Event=Class.create(Effect.Base,{initialize:function(){this.start(Object.extend({duration:0},arguments[0]||{}))},update:Prototype.emptyFunction});Effect.Opacity=Class.create(Effect.Base,{initialize:function(element){this.element=$(element);if(!this.element)throw(Effect._elementDoesNotExistError);if(Prototype.Browser.IE&&(!this.element.currentStyle.hasLayout))this.element.setStyle({zoom:1});var options=Object.extend({from:this.element.getOpacity()||0.0,to:1.0},arguments[1]||{});this.start(options)},update:function(position){this.element.setOpacity(position)}});Effect.Move=Class.create(Effect.Base,{initialize:function(element){this.element=$(element);if(!this.element)throw(Effect._elementDoesNotExistError);var options=Object.extend({x:0,y:0,mode:'relative'},arguments[1]||{});this.start(options)},setup:function(){this.element.makePositioned();this.originalLeft=parseFloat(this.element.getStyle('left')||'0');this.originalTop=parseFloat(this.element.getStyle('top')||'0');if(this.options.mode=='absolute'){this.options.x=this.options.x-this.originalLeft;this.options.y=this.options.y-this.originalTop}},update:function(position){this.element.setStyle({left:(this.options.x*position+this.originalLeft).round()+'px',top:(this.options.y*position+this.originalTop).round()+'px'})}});Effect.MoveBy=function(element,toTop,toLeft){return new Effect.Move(element,Object.extend({x:toLeft,y:toTop},arguments[3]||{}))};Effect.Scale=Class.create(Effect.Base,{initialize:function(element,percent){this.element=$(element);if(!this.element)throw(Effect._elementDoesNotExistError);var options=Object.extend({scaleX:true,scaleY:true,scaleContent:true,scaleFromCenter:false,scaleMode:'box',scaleFrom:100.0,scaleTo:percent},arguments[2]||{});this.start(options)},setup:function(){this.restoreAfterFinish=this.options.restoreAfterFinish||false;this.elementPositioning=this.element.getStyle('position');this.originalStyle={};['top','left','width','height','fontSize'].each(function(k){this.originalStyle[k]=this.element.style[k]}.bind(this));this.originalTop=this.element.offsetTop;this.originalLeft=this.element.offsetLeft;var fontSize=this.element.getStyle('font-size')||'100%';['em','px','%','pt'].each(function(fontSizeType){if(fontSize.indexOf(fontSizeType)>0){this.fontSize=parseFloat(fontSize);this.fontSizeType=fontSizeType}}.bind(this));this.factor=(this.options.scaleTo-this.options.scaleFrom)/100;this.dims=null;if(this.options.scaleMode=='box')this.dims=[this.element.offsetHeight,this.element.offsetWidth];if(/^content/.test(this.options.scaleMode))this.dims=[this.element.scrollHeight,this.element.scrollWidth];if(!this.dims)this.dims=[this.options.scaleMode.originalHeight,this.options.scaleMode.originalWidth]},update:function(position){var currentScale=(this.options.scaleFrom/100.0)+(this.factor*position);if(this.options.scaleContent&&this.fontSize)this.element.setStyle({fontSize:this.fontSize*currentScale+this.fontSizeType});this.setDimensions(this.dims[0]*currentScale,this.dims[1]*currentScale)},finish:function(position){if(this.restoreAfterFinish)this.element.setStyle(this.originalStyle)},setDimensions:function(height,width){var d={};if(this.options.scaleX)d.width=width.round()+'px';if(this.options.scaleY)d.height=height.round()+'px';if(this.options.scaleFromCenter){var topd=(height-this.dims[0])/2;var leftd=(width-this.dims[1])/2;if(this.elementPositioning=='absolute'){if(this.options.scaleY)d.top=this.originalTop-topd+'px';if(this.options.scaleX)d.left=this.originalLeft-leftd+'px'}else{if(this.options.scaleY)d.top=-topd+'px';if(this.options.scaleX)d.left=-leftd+'px'}}this.element.setStyle(d)}});Effect.Highlight=Class.create(Effect.Base,{initialize:function(element){this.element=$(element);if(!this.element)throw(Effect._elementDoesNotExistError);var options=Object.extend({startcolor:'#ffff99'},arguments[1]||{});this.start(options)},setup:function(){if(this.element.getStyle('display')=='none'){this.cancel();return}this.oldStyle={};if(!this.options.keepBackgroundImage){this.oldStyle.backgroundImage=this.element.getStyle('background-image');this.element.setStyle({backgroundImage:'none'})}if(!this.options.endcolor)this.options.endcolor=this.element.getStyle('background-color').parseColor('#ffffff');if(!this.options.restorecolor)this.options.restorecolor=this.element.getStyle('background-color');this._base=$R(0,2).map(function(i){return parseInt(this.options.startcolor.slice(i*2+1,i*2+3),16)}.bind(this));this._delta=$R(0,2).map(function(i){return parseInt(this.options.endcolor.slice(i*2+1,i*2+3),16)-this._base[i]}.bind(this))},update:function(position){this.element.setStyle({backgroundColor:$R(0,2).inject('#',function(m,v,i){return m+((this._base[i]+(this._delta[i]*position)).round().toColorPart())}.bind(this))})},finish:function(){this.element.setStyle(Object.extend(this.oldStyle,{backgroundColor:this.options.restorecolor}))}});Effect.ScrollTo=function(element){var options=arguments[1]||{},scrollOffsets=document.viewport.getScrollOffsets(),elementOffsets=$(element).cumulativeOffset();if(options.offset)elementOffsets[1]+=options.offset;return new Effect.Tween(null,scrollOffsets.top,elementOffsets[1],options,function(p){scrollTo(scrollOffsets.left,p.round())})};Effect.Fade=function(element){element=$(element);var oldOpacity=element.getInlineOpacity();var options=Object.extend({from:element.getOpacity()||1.0,to:0.0,afterFinishInternal:function(effect){if(effect.options.to!=0)return;effect.element.hide().setStyle({opacity:oldOpacity})}},arguments[1]||{});return new Effect.Opacity(element,options)};Effect.Appear=function(element){element=$(element);var options=Object.extend({from:(element.getStyle('display')=='none'?0.0:element.getOpacity()||0.0),to:1.0,afterFinishInternal:function(effect){effect.element.forceRerendering()},beforeSetup:function(effect){effect.element.setOpacity(effect.options.from).show()}},arguments[1]||{});return new Effect.Opacity(element,options)};Effect.Puff=function(element){element=$(element);var oldStyle={opacity:element.getInlineOpacity(),position:element.getStyle('position'),top:element.style.top,left:element.style.left,width:element.style.width,height:element.style.height};return new Effect.Parallel([new Effect.Scale(element,200,{sync:true,scaleFromCenter:true,scaleContent:true,restoreAfterFinish:true}),new Effect.Opacity(element,{sync:true,to:0.0})],Object.extend({duration:1.0,beforeSetupInternal:function(effect){Position.absolutize(effect.effects[0].element)},afterFinishInternal:function(effect){effect.effects[0].element.hide().setStyle(oldStyle)}},arguments[1]||{}))};Effect.BlindUp=function(element){element=$(element);element.makeClipping();return new Effect.Scale(element,0,Object.extend({scaleContent:false,scaleX:false,restoreAfterFinish:true,afterFinishInternal:function(effect){effect.element.hide().undoClipping()}},arguments[1]||{}))};Effect.BlindDown=function(element){element=$(element);var elementDimensions=element.getDimensions();return new Effect.Scale(element,100,Object.extend({scaleContent:false,scaleX:false,scaleFrom:0,scaleMode:{originalHeight:elementDimensions.height,originalWidth:elementDimensions.width},restoreAfterFinish:true,afterSetup:function(effect){effect.element.makeClipping().setStyle({height:'0px'}).show()},afterFinishInternal:function(effect){effect.element.undoClipping()}},arguments[1]||{}))};Effect.SwitchOff=function(element){element=$(element);var oldOpacity=element.getInlineOpacity();return new Effect.Appear(element,Object.extend({duration:0.4,from:0,transition:Effect.Transitions.flicker,afterFinishInternal:function(effect){new Effect.Scale(effect.element,1,{duration:0.3,scaleFromCenter:true,scaleX:false,scaleContent:false,restoreAfterFinish:true,beforeSetup:function(effect){effect.element.makePositioned().makeClipping()},afterFinishInternal:function(effect){effect.element.hide().undoClipping().undoPositioned().setStyle({opacity:oldOpacity})}})}},arguments[1]||{}))};Effect.DropOut=function(element){element=$(element);var oldStyle={top:element.getStyle('top'),left:element.getStyle('left'),opacity:element.getInlineOpacity()};return new Effect.Parallel([new Effect.Move(element,{x:0,y:100,sync:true}),new Effect.Opacity(element,{sync:true,to:0.0})],Object.extend({duration:0.5,beforeSetup:function(effect){effect.effects[0].element.makePositioned()},afterFinishInternal:function(effect){effect.effects[0].element.hide().undoPositioned().setStyle(oldStyle)}},arguments[1]||{}))};Effect.Shake=function(element){element=$(element);var options=Object.extend({distance:20,duration:0.5},arguments[1]||{});var distance=parseFloat(options.distance);var split=parseFloat(options.duration)/10.0;var oldStyle={top:element.getStyle('top'),left:element.getStyle('left')};return new Effect.Move(element,{x:distance,y:0,duration:split,afterFinishInternal:function(effect){new Effect.Move(effect.element,{x:-distance*2,y:0,duration:split*2,afterFinishInternal:function(effect){new Effect.Move(effect.element,{x:distance*2,y:0,duration:split*2,afterFinishInternal:function(effect){new Effect.Move(effect.element,{x:-distance*2,y:0,duration:split*2,afterFinishInternal:function(effect){new Effect.Move(effect.element,{x:distance*2,y:0,duration:split*2,afterFinishInternal:function(effect){new Effect.Move(effect.element,{x:-distance,y:0,duration:split,afterFinishInternal:function(effect){effect.element.undoPositioned().setStyle(oldStyle)}})}})}})}})}})}})};Effect.SlideDown=function(element){element=$(element).cleanWhitespace();var oldInnerBottom=element.down().getStyle('bottom');var elementDimensions=element.getDimensions();return new Effect.Scale(element,100,Object.extend({scaleContent:false,scaleX:false,scaleFrom:window.opera?0:1,scaleMode:{originalHeight:elementDimensions.height,originalWidth:elementDimensions.width},restoreAfterFinish:true,afterSetup:function(effect){effect.element.makePositioned();effect.element.down().makePositioned();if(window.opera)effect.element.setStyle({top:''});effect.element.makeClipping().setStyle({height:'0px'}).show()},afterUpdateInternal:function(effect){effect.element.down().setStyle({bottom:(effect.dims[0]-effect.element.clientHeight)+'px'})},afterFinishInternal:function(effect){effect.element.undoClipping().undoPositioned();effect.element.down().undoPositioned().setStyle({bottom:oldInnerBottom})}},arguments[1]||{}))};Effect.SlideUp=function(element){element=$(element).cleanWhitespace();var oldInnerBottom=element.down().getStyle('bottom');var elementDimensions=element.getDimensions();return new Effect.Scale(element,window.opera?0:1,Object.extend({scaleContent:false,scaleX:false,scaleMode:'box',scaleFrom:100,scaleMode:{originalHeight:elementDimensions.height,originalWidth:elementDimensions.width},restoreAfterFinish:true,afterSetup:function(effect){effect.element.makePositioned();effect.element.down().makePositioned();if(window.opera)effect.element.setStyle({top:''});effect.element.makeClipping().show()},afterUpdateInternal:function(effect){effect.element.down().setStyle({bottom:(effect.dims[0]-effect.element.clientHeight)+'px'})},afterFinishInternal:function(effect){effect.element.hide().undoClipping().undoPositioned();effect.element.down().undoPositioned().setStyle({bottom:oldInnerBottom})}},arguments[1]||{}))};Effect.Squish=function(element){return new Effect.Scale(element,window.opera?1:0,{restoreAfterFinish:true,beforeSetup:function(effect){effect.element.makeClipping()},afterFinishInternal:function(effect){effect.element.hide().undoClipping()}})};Effect.Grow=function(element){element=$(element);var options=Object.extend({direction:'center',moveTransition:Effect.Transitions.sinoidal,scaleTransition:Effect.Transitions.sinoidal,opacityTransition:Effect.Transitions.full},arguments[1]||{});var oldStyle={top:element.style.top,left:element.style.left,height:element.style.height,width:element.style.width,opacity:element.getInlineOpacity()};var dims=element.getDimensions();var initialMoveX,initialMoveY;var moveX,moveY;switch(options.direction){case'top-left':initialMoveX=initialMoveY=moveX=moveY=0;break;case'top-right':initialMoveX=dims.width;initialMoveY=moveY=0;moveX=-dims.width;break;case'bottom-left':initialMoveX=moveX=0;initialMoveY=dims.height;moveY=-dims.height;break;case'bottom-right':initialMoveX=dims.width;initialMoveY=dims.height;moveX=-dims.width;moveY=-dims.height;break;case'center':initialMoveX=dims.width/2;initialMoveY=dims.height/2;moveX=-dims.width/2;moveY=-dims.height/2;break}return new Effect.Move(element,{x:initialMoveX,y:initialMoveY,duration:0.01,beforeSetup:function(effect){effect.element.hide().makeClipping().makePositioned()},afterFinishInternal:function(effect){new Effect.Parallel([new Effect.Opacity(effect.element,{sync:true,to:1.0,from:0.0,transition:options.opacityTransition}),new Effect.Move(effect.element,{x:moveX,y:moveY,sync:true,transition:options.moveTransition}),new Effect.Scale(effect.element,100,{scaleMode:{originalHeight:dims.height,originalWidth:dims.width},sync:true,scaleFrom:window.opera?1:0,transition:options.scaleTransition,restoreAfterFinish:true})],Object.extend({beforeSetup:function(effect){effect.effects[0].element.setStyle({height:'0px'}).show()},afterFinishInternal:function(effect){effect.effects[0].element.undoClipping().undoPositioned().setStyle(oldStyle)}},options))}})};Effect.Shrink=function(element){element=$(element);var options=Object.extend({direction:'center',moveTransition:Effect.Transitions.sinoidal,scaleTransition:Effect.Transitions.sinoidal,opacityTransition:Effect.Transitions.none},arguments[1]||{});var oldStyle={top:element.style.top,left:element.style.left,height:element.style.height,width:element.style.width,opacity:element.getInlineOpacity()};var dims=element.getDimensions();var moveX,moveY;switch(options.direction){case'top-left':moveX=moveY=0;break;case'top-right':moveX=dims.width;moveY=0;break;case'bottom-left':moveX=0;moveY=dims.height;break;case'bottom-right':moveX=dims.width;moveY=dims.height;break;case'center':moveX=dims.width/2;moveY=dims.height/2;break}return new Effect.Parallel([new Effect.Opacity(element,{sync:true,to:0.0,from:1.0,transition:options.opacityTransition}),new Effect.Scale(element,window.opera?1:0,{sync:true,transition:options.scaleTransition,restoreAfterFinish:true}),new Effect.Move(element,{x:moveX,y:moveY,sync:true,transition:options.moveTransition})],Object.extend({beforeStartInternal:function(effect){effect.effects[0].element.makePositioned().makeClipping()},afterFinishInternal:function(effect){effect.effects[0].element.hide().undoClipping().undoPositioned().setStyle(oldStyle)}},options))};Effect.Pulsate=function(element){element=$(element);var options=arguments[1]||{},oldOpacity=element.getInlineOpacity(),transition=options.transition||Effect.Transitions.linear,reverser=function(pos){return 1-transition((-Math.cos((pos*(options.pulses||5)*2)*Math.PI)/2)+.5)};return new Effect.Opacity(element,Object.extend(Object.extend({duration:2.0,from:0,afterFinishInternal:function(effect){effect.element.setStyle({opacity:oldOpacity})}},options),{transition:reverser}))};Effect.Fold=function(element){element=$(element);var oldStyle={top:element.style.top,left:element.style.left,width:element.style.width,height:element.style.height};element.makeClipping();return new Effect.Scale(element,5,Object.extend({scaleContent:false,scaleX:false,afterFinishInternal:function(effect){new Effect.Scale(element,1,{scaleContent:false,scaleY:false,afterFinishInternal:function(effect){effect.element.hide().undoClipping().setStyle(oldStyle)}})}},arguments[1]||{}))};Effect.Morph=Class.create(Effect.Base,{initialize:function(element){this.element=$(element);if(!this.element)throw(Effect._elementDoesNotExistError);var options=Object.extend({style:{}},arguments[1]||{});if(!Object.isString(options.style))this.style=$H(options.style);else{if(options.style.include(':'))this.style=options.style.parseStyle();else{this.element.addClassName(options.style);this.style=$H(this.element.getStyles());this.element.removeClassName(options.style);var css=this.element.getStyles();this.style=this.style.reject(function(style){return style.value==css[style.key]});options.afterFinishInternal=function(effect){effect.element.addClassName(effect.options.style);effect.transforms.each(function(transform){effect.element.style[transform.style]=''})}}}this.start(options)},setup:function(){function parseColor(color){if(!color||['rgba(0, 0, 0, 0)','transparent'].include(color))color='#ffffff';color=color.parseColor();return $R(0,2).map(function(i){return parseInt(color.slice(i*2+1,i*2+3),16)})}this.transforms=this.style.map(function(pair){var property=pair[0],value=pair[1],unit=null;if(value.parseColor('#zzzzzz')!='#zzzzzz'){value=value.parseColor();unit='color'}else if(property=='opacity'){value=parseFloat(value);if(Prototype.Browser.IE&&(!this.element.currentStyle.hasLayout))this.element.setStyle({zoom:1})}else if(Element.CSS_LENGTH.test(value)){var components=value.match(/^([\+\-]?[0-9\.]+)(.*)$/);value=parseFloat(components[1]);unit=(components.length==3)?components[2]:null}var originalValue=this.element.getStyle(property);return{style:property.camelize(),originalValue:unit=='color'?parseColor(originalValue):parseFloat(originalValue||0),targetValue:unit=='color'?parseColor(value):value,unit:unit}}.bind(this)).reject(function(transform){return((transform.originalValue==transform.targetValue)||(transform.unit!='color'&&(isNaN(transform.originalValue)||isNaN(transform.targetValue))))})},update:function(position){var style={},transform,i=this.transforms.length;while(i--)style[(transform=this.transforms[i]).style]=transform.unit=='color'?'#'+(Math.round(transform.originalValue[0]+(transform.targetValue[0]-transform.originalValue[0])*position)).toColorPart()+(Math.round(transform.originalValue[1]+(transform.targetValue[1]-transform.originalValue[1])*position)).toColorPart()+(Math.round(transform.originalValue[2]+(transform.targetValue[2]-transform.originalValue[2])*position)).toColorPart():(transform.originalValue+(transform.targetValue-transform.originalValue)*position).toFixed(3)+(transform.unit===null?'':transform.unit);this.element.setStyle(style,true)}});Effect.Transform=Class.create({initialize:function(tracks){this.tracks=[];this.options=arguments[1]||{};this.addTracks(tracks)},addTracks:function(tracks){tracks.each(function(track){track=$H(track);var data=track.values().first();this.tracks.push($H({ids:track.keys().first(),effect:Effect.Morph,options:{style:data}}))}.bind(this));return this},play:function(){return new Effect.Parallel(this.tracks.map(function(track){var ids=track.get('ids'),effect=track.get('effect'),options=track.get('options');var elements=[$(ids)||$$(ids)].flatten();return elements.map(function(e){return new effect(e,Object.extend({sync:true},options))})}).flatten(),this.options)}});Element.CSS_PROPERTIES=$w('backgroundColor backgroundPosition borderBottomColor borderBottomStyle '+'borderBottomWidth borderLeftColor borderLeftStyle borderLeftWidth '+'borderRightColor borderRightStyle borderRightWidth borderSpacing '+'borderTopColor borderTopStyle borderTopWidth bottom clip color '+'fontSize fontWeight height left letterSpacing lineHeight '+'marginBottom marginLeft marginRight marginTop markerOffset maxHeight '+'maxWidth minHeight minWidth opacity outlineColor outlineOffset '+'outlineWidth paddingBottom paddingLeft paddingRight paddingTop '+'right textIndent top width wordSpacing zIndex');Element.CSS_LENGTH=/^(([\+\-]?[0-9\.]+)(em|ex|px|in|cm|mm|pt|pc|\%))|0$/;String.__parseStyleElement=document.createElement('div');String.prototype.parseStyle=function(){var style,styleRules=$H();if(Prototype.Browser.WebKit)style=new Element('div',{style:this}).style;else{String.__parseStyleElement.innerHTML='<div style="'+this+'"></div>';style=String.__parseStyleElement.childNodes[0].style}Element.CSS_PROPERTIES.each(function(property){if(style[property])styleRules.set(property,style[property])});if(Prototype.Browser.IE&&this.include('opacity'))styleRules.set('opacity',this.match(/opacity:\s*((?:0|1)?(?:\.\d*)?)/)[1]);return styleRules};if(document.defaultView&&document.defaultView.getComputedStyle){Element.getStyles=function(element){var css=document.defaultView.getComputedStyle($(element),null);return Element.CSS_PROPERTIES.inject({},function(styles,property){styles[property]=css[property];return styles})}}else{Element.getStyles=function(element){element=$(element);var css=element.currentStyle,styles;styles=Element.CSS_PROPERTIES.inject({},function(results,property){results[property]=css[property];return results});if(!styles.opacity)styles.opacity=element.getOpacity();return styles}}Effect.Methods={morph:function(element,style){element=$(element);new Effect.Morph(element,Object.extend({style:style},arguments[2]||{}));return element},visualEffect:function(element,effect,options){element=$(element);var s=effect.dasherize().camelize(),klass=s.charAt(0).toUpperCase()+s.substring(1);new Effect[klass](element,options);return element},highlight:function(element,options){element=$(element);new Effect.Highlight(element,options);return element}};$w('fade appear grow shrink fold blindUp blindDown slideUp slideDown '+'pulsate shake puff squish switchOff dropOut').each(function(effect){Effect.Methods[effect]=function(element,options){element=$(element);Effect[effect.charAt(0).toUpperCase()+effect.substring(1)](element,options);return element}});$w('getInlineOpacity forceRerendering setContentZoom collectTextNodes collectTextNodesIgnoreClass getStyles').each(function(f){Effect.Methods[f]=Element[f]});Element.addMethods(Effect.Methods);
var fileLoadingImage="/images/lightbox/loading.gif";var fileBottomNavCloseImage="/images/lightbox/close.gif";var overlayOpacity=0.8;var animate=true;var resizeSpeed=7;var borderSize=10;var imageArray=new Array;var activeImage,resizeDuration,overlayDuration;if(animate==true){overlayDuration=0.2;if(resizeSpeed>10){resizeSpeed=10}if(resizeSpeed<1){resizeSpeed=1}resizeDuration=(11-resizeSpeed)*0.15}else{overlayDuration=0;resizeDuration=0}Object.extend(Element,{getWidth:function(element){element=$(element);return element.offsetWidth},setWidth:function(element,w){element=$(element);element.style.width=w+"px"},setHeight:function(element,h){element=$(element);element.style.height=h+"px"},setTop:function(element,t){element=$(element);element.style.top=t+"px"},setLeft:function(element,l){element=$(element);element.style.left=l+"px"},setSrc:function(element,src){element=$(element);element.src=src},setHref:function(element,href){element=$(element);element.href=href},setInnerHTML:function(element,content){element=$(element);element.innerHTML=content},getInnerHTML:function(element){element=$(element);return element.innerHTML}});Array.prototype.removeDuplicates=function(){for(i=0;i<this.length;i++){for(j=this.length-1;j>i;j--){if(this[i][0]==this[j][0]){this.splice(j,1)}}}};Array.prototype.empty=function(){for(i=0;i<=this.length;i++){this.shift()}};var Lightbox=Class.create();Lightbox.prototype={onStart:function(){},onEnd:function(){},initialize:function(){this.updateImageList();var objBody=document.getElementsByTagName("body").item(0);var objOverlay=document.createElement("div");objOverlay.setAttribute('id','overlay');objOverlay.style.display='none';objOverlay.onclick=function(){myLightbox.end()};objBody.appendChild(objOverlay);var objLightbox=document.createElement("div");objLightbox.setAttribute('id','lightbox');objLightbox.style.display='none';objLightbox.onclick=function(e){if(!e)var e=window.event;var clickObj=Event.element(e).id;if(clickObj=='lightbox'){myLightbox.end()}};objBody.appendChild(objLightbox);var objOuterImageContainer=document.createElement("div");objOuterImageContainer.setAttribute('id','outerImageContainer');objLightbox.appendChild(objOuterImageContainer);if(animate){Element.setWidth('outerImageContainer',250);Element.setHeight('outerImageContainer',250)}else{Element.setWidth('outerImageContainer',1);Element.setHeight('outerImageContainer',1)}var objImageContainer=document.createElement("div");objImageContainer.setAttribute('id','imageContainer');objOuterImageContainer.appendChild(objImageContainer);var objLightboxImage=document.createElement("img");objLightboxImage.setAttribute('id','lightboxImage');objLightboxImage.style.width='auto';objImageContainer.appendChild(objLightboxImage);var objHoverNav=document.createElement("div");objHoverNav.setAttribute('id','hoverNav');objImageContainer.appendChild(objHoverNav);var objPrevLink=document.createElement("a");objPrevLink.setAttribute('id','prevLink');objPrevLink.setAttribute('href','#');objHoverNav.appendChild(objPrevLink);var objNextLink=document.createElement("a");objNextLink.setAttribute('id','nextLink');objNextLink.setAttribute('href','#');objHoverNav.appendChild(objNextLink);var objLoading=document.createElement("div");objLoading.setAttribute('id','loading');objImageContainer.appendChild(objLoading);var objLoadingLink=document.createElement("a");objLoadingLink.setAttribute('id','loadingLink');objLoadingLink.setAttribute('href','#');objLoadingLink.onclick=function(){myLightbox.end();return false};objLoading.appendChild(objLoadingLink);var objLoadingImage=document.createElement("img");objLoadingImage.setAttribute('src',fileLoadingImage);objLoadingLink.appendChild(objLoadingImage);var objImageDataContainer=document.createElement("div");objImageDataContainer.setAttribute('id','imageDataContainer');objLightbox.appendChild(objImageDataContainer);var objImageData=document.createElement("div");objImageData.setAttribute('id','imageData');objImageDataContainer.appendChild(objImageData);var objImageDetails=document.createElement("div");objImageDetails.setAttribute('id','imageDetails');objImageData.appendChild(objImageDetails);var objCaption=document.createElement("span");objCaption.setAttribute('id','caption');objImageDetails.appendChild(objCaption);var objNumberDisplay=document.createElement("span");objNumberDisplay.setAttribute('id','numberDisplay');objImageDetails.appendChild(objNumberDisplay);var objBottomNav=document.createElement("div");objBottomNav.setAttribute('id','bottomNav');objImageData.appendChild(objBottomNav);var objBottomNavCloseLink=document.createElement("a");objBottomNavCloseLink.setAttribute('id','bottomNavClose');objBottomNavCloseLink.setAttribute('href','#');objBottomNavCloseLink.onclick=function(){myLightbox.end();return false};objBottomNav.appendChild(objBottomNavCloseLink);var objBottomNavCloseImage=document.createElement("img");objBottomNavCloseImage.setAttribute('src',fileBottomNavCloseImage);objBottomNavCloseLink.appendChild(objBottomNavCloseImage)},updateImageList:function(){if(!document.getElementsByTagName){return};var anchors=document.getElementsByTagName('a');var areas=document.getElementsByTagName('area');for(var i=0;i<anchors.length;i++){var anchor=anchors[i];var relAttribute=String(anchor.getAttribute('rel'));if(anchor.getAttribute('href')&&(relAttribute.toLowerCase().match('lightbox'))){anchor.onclick=function(){myLightbox.start(this);return false}}}for(var i=0;i<areas.length;i++){var area=areas[i];var relAttribute=String(area.getAttribute('rel'));if(area.getAttribute('href')&&(relAttribute.toLowerCase().match('lightbox'))){area.onclick=function(){myLightbox.start(this);return false}}}},start:function(imageLink){hideSelectBoxes();hideFlash();this.onStart();var arrayPageSize=getPageSize();Element.setWidth('overlay',arrayPageSize[0]);Element.setHeight('overlay',arrayPageSize[1]);new Effect.Appear('overlay',{duration:overlayDuration,from:0.0,to:overlayOpacity});imageArray=[];imageNum=0;if(!document.getElementsByTagName){return}var anchors=document.getElementsByTagName(imageLink.tagName);if((imageLink.getAttribute('rel')=='lightbox')){imageArray.push(new Array(imageLink.getAttribute('href'),imageLink.getAttribute('title')))}else{for(var i=0;i<anchors.length;i++){var anchor=anchors[i];if(anchor.getAttribute('href')&&(anchor.getAttribute('rel')==imageLink.getAttribute('rel'))){imageArray.push(new Array(anchor.getAttribute('href'),anchor.getAttribute('title')))}}imageArray.removeDuplicates();while(imageArray[imageNum][0]!=imageLink.getAttribute('href')){imageNum++}}var arrayPageScroll=getPageScroll();var lightboxTop=arrayPageScroll[1]+(arrayPageSize[3]/10);var lightboxLeft=arrayPageScroll[0];Element.setTop('lightbox',lightboxTop);Element.setLeft('lightbox',lightboxLeft);Element.show('lightbox');this.changeImage(imageNum)},changeImage:function(imageNum){activeImage=imageNum;if(animate){Element.show('loading')}Element.hide('lightboxImage');Element.hide('hoverNav');Element.hide('prevLink');Element.hide('nextLink');Element.hide('imageDataContainer');Element.hide('numberDisplay');imgPreloader=new Image();imgPreloader.onload=function(){Element.setSrc('lightboxImage',imageArray[activeImage][0]);myLightbox.resizeImageContainer(imgPreloader.width,imgPreloader.height);imgPreloader.onload=function(){}};imgPreloader.src=imageArray[activeImage][0]},resizeImageContainer:function(imgWidth,imgHeight){this.widthCurrent=Element.getWidth('outerImageContainer');this.heightCurrent=Element.getHeight('outerImageContainer');var widthNew=(imgWidth+(borderSize*2));var heightNew=(imgHeight+(borderSize*2));this.xScale=(widthNew/this.widthCurrent)*100;this.yScale=(heightNew/this.heightCurrent)*100;wDiff=this.widthCurrent-widthNew;hDiff=this.heightCurrent-heightNew;if(!(hDiff==0)){new Effect.Scale('outerImageContainer',this.yScale,{scaleX:false,duration:resizeDuration,queue:'front'})}if(!(wDiff==0)){new Effect.Scale('outerImageContainer',this.xScale,{scaleY:false,delay:resizeDuration,duration:resizeDuration})}if((hDiff==0)&&(wDiff==0)){if(navigator.appVersion.indexOf("MSIE")!=-1){pause(250)}else{pause(100)}}Element.setHeight('prevLink',imgHeight);Element.setHeight('nextLink',imgHeight);Element.setWidth('imageDataContainer',widthNew);this.showImage()},showImage:function(){Element.hide('loading');new Effect.Appear('lightboxImage',{duration:resizeDuration,queue:'end',afterFinish:function(){myLightbox.updateDetails()}});this.preloadNeighborImages()},updateDetails:function(){if(imageArray[activeImage][1]){Element.show('caption');if(document.getElementById(imageArray[activeImage][1])!=null){Element.setInnerHTML('caption',Element.getInnerHTML(imageArray[activeImage][1]))}else{Element.setInnerHTML('caption',imageArray[activeImage][1])}}else{Element.hide('caption')}if(imageArray.length>1){Element.show('numberDisplay');Element.setInnerHTML('numberDisplay',eval(activeImage+1)+" / "+imageArray.length)}new Effect.Parallel([new Effect.SlideDown('imageDataContainer',{sync:true,duration:resizeDuration,from:0.0,to:1.0}),new Effect.Appear('imageDataContainer',{sync:true,duration:resizeDuration})],{duration:resizeDuration,afterFinish:function(){var arrayPageSize=getPageSize();Element.setHeight('overlay',arrayPageSize[1]);myLightbox.updateNav()}})},updateNav:function(){Element.show('hoverNav');if(activeImage!=0){Element.show('prevLink');document.getElementById('prevLink').onclick=function(){myLightbox.changeImage(activeImage-1);return false}}if(activeImage!=(imageArray.length-1)){Element.show('nextLink');document.getElementById('nextLink').onclick=function(){myLightbox.changeImage(activeImage+1);return false}}this.enableKeyboardNav()},enableKeyboardNav:function(){document.onkeydown=this.keyboardAction},disableKeyboardNav:function(){document.onkeydown=''},keyboardAction:function(e){if(e==null){keycode=event.keyCode;escapeKey=27}else{keycode=e.keyCode;escapeKey=e.DOM_VK_ESCAPE}key=String.fromCharCode(keycode).toLowerCase();if((key=='x')||(key=='o')||(key=='c')||(keycode==escapeKey)){myLightbox.end()}else if((key=='p')||(keycode==37)){if(activeImage!=0){myLightbox.disableKeyboardNav();myLightbox.changeImage(activeImage-1)}}else if((key=='n')||(keycode==39)){if(activeImage!=(imageArray.length-1)){myLightbox.disableKeyboardNav();myLightbox.changeImage(activeImage+1)}}},preloadNeighborImages:function(){if((imageArray.length-1)>activeImage){preloadNextImage=new Image();preloadNextImage.src=imageArray[activeImage+1][0]}if(activeImage>0){preloadPrevImage=new Image();preloadPrevImage.src=imageArray[activeImage-1][0]}},end:function(){this.disableKeyboardNav();Element.hide('lightbox');new Effect.Fade('overlay',{duration:overlayDuration});showSelectBoxes();showFlash();this.onEnd()}};function getPageScroll(){var xScroll,yScroll;if(self.pageYOffset){yScroll=self.pageYOffset;xScroll=self.pageXOffset}else if(document.documentElement&&document.documentElement.scrollTop){yScroll=document.documentElement.scrollTop;xScroll=document.documentElement.scrollLeft}else if(document.body){yScroll=document.body.scrollTop;xScroll=document.body.scrollLeft}arrayPageScroll=new Array(xScroll,yScroll);return arrayPageScroll}function getPageSize(){var xScroll,yScroll;if(window.innerHeight&&window.scrollMaxY){xScroll=window.innerWidth+window.scrollMaxX;yScroll=window.innerHeight+window.scrollMaxY}else if(document.body.scrollHeight>document.body.offsetHeight){xScroll=document.body.scrollWidth;yScroll=document.body.scrollHeight}else{xScroll=document.body.offsetWidth;yScroll=document.body.offsetHeight}var windowWidth,windowHeight;if(self.innerHeight){if(document.documentElement.clientWidth){windowWidth=document.documentElement.clientWidth}else{windowWidth=self.innerWidth}windowHeight=self.innerHeight}else if(document.documentElement&&document.documentElement.clientHeight){windowWidth=document.documentElement.clientWidth;windowHeight=document.documentElement.clientHeight}else if(document.body){windowWidth=document.body.clientWidth;windowHeight=document.body.clientHeight}if(yScroll<windowHeight){pageHeight=windowHeight}else{pageHeight=yScroll}if(xScroll<windowWidth){pageWidth=xScroll}else{pageWidth=windowWidth}arrayPageSize=new Array(pageWidth,pageHeight,windowWidth,windowHeight);return arrayPageSize}function getKey(e){if(e==null){keycode=event.keyCode}else{keycode=e.which}key=String.fromCharCode(keycode).toLowerCase();if(key=='x'){}}function listenKey(){document.onkeypress=getKey}function showSelectBoxes(){var selects=document.getElementsByTagName("select");for(i=0;i!=selects.length;i++){selects[i].style.visibility="visible"}}function hideSelectBoxes(){var selects=document.getElementsByTagName("select");for(i=0;i!=selects.length;i++){selects[i].style.visibility="hidden"}}function showFlash(){var flashObjects=document.getElementsByTagName("object");for(i=0;i<flashObjects.length;i++){flashObjects[i].style.visibility="visible"}var flashEmbeds=document.getElementsByTagName("embed");for(i=0;i<flashEmbeds.length;i++){flashEmbeds[i].style.visibility="visible"}var iframes=document.getElementsByTagName("iframe");for(i=0;i<iframes.length;i++){if(iframes[i].src.indexOf('http://www.youtube.com/embed/')>=0||iframes[i].src.indexOf('https://www.youtube.com/embed/')>=0){iframes[i].style.visibility="visible"}}}function hideFlash(){var flashObjects=document.getElementsByTagName("object");for(i=0;i<flashObjects.length;i++){flashObjects[i].style.visibility="hidden"}var flashEmbeds=document.getElementsByTagName("embed");for(i=0;i<flashEmbeds.length;i++){flashEmbeds[i].style.visibility="hidden"}var iframes=document.getElementsByTagName("iframe");for(i=0;i<iframes.length;i++){if(iframes[i].src.indexOf('http://www.youtube.com/embed/')>=0||iframes[i].src.indexOf('https://www.youtube.com/embed/')>=0){iframes[i].style.visibility="hidden"}}}function pause(ms){var date=new Date();curDate=null;do{var curDate=new Date()}while(curDate-date<ms)}var JsLightboxIsLoaded,myLightbox;function initLightbox(){myLightbox=new Lightbox();hideImageOverlays();JsLightboxIsLoaded=true}function onJsLightboxIsLoaded(sFunction){if((sFunction!='')&&(sFunction!=null)&&(JsLightboxIsLoaded!=true)){window.setTimeout('onJsLightboxIsLoaded("'+sFunction+'")',200)}if(JsLightboxIsLoaded){window.setTimeout(sFunction,20)}}function hideImageOverlays(){if(!document.getElementsByTagName){return}var divs=document.getElementsByTagName('div');for(var i=0;i<divs.length;i++){var div=divs[i];var relAttribute=String(div.getAttribute('rel'));if(relAttribute=='ImageOverlay'){div.style.display='none'}}}Event.observe(window,'load',initLightbox,false);
function blurLinks(){var elements=document.getElementsByTagName('a');if(elements!=undefined){var i;for(i=0;i<elements.length;i++){elements[i].onfocus=function(){this.blur()}}}}Event.observe(window,'load',blurLinks,false);
if(navigator.userAgent.indexOf('IE 6')>0){var DD_belatedPNG={ns:'DD_belatedPNG',imgSize:{},createVmlNameSpace:function(){if(document.namespaces&&!document.namespaces[this.ns]){document.namespaces.add(this.ns,'urn:schemas-microsoft-com:vml')}try{if(window.attachEvent){window.attachEvent('onbeforeunload',function(){DD_belatedPNG=null})}}catch(r){}},createVmlStyleSheet:function(){var style=document.createElement('style');document.documentElement.firstChild.insertBefore(style,document.documentElement.firstChild.firstChild);var styleSheet=style.styleSheet;styleSheet.addRule(this.ns+'\\:*','{behavior:url(#default#VML)}');styleSheet.addRule(this.ns+'\\:shape','position:absolute;');styleSheet.addRule('img.'+this.ns+'_sizeFinder','behavior:none; border:none; position:absolute; z-index:-1; top:-10000px; visibility:hidden;');this.styleSheet=styleSheet},readPropertyChange:function(){var el=event.srcElement;if(event.propertyName.search('background')!=-1||event.propertyName.search('border')!=-1){DD_belatedPNG.applyVML(el)}if(event.propertyName=='style.display'){var display=(el.currentStyle.display=='none')?'none':'block';for(var v in el.vml){el.vml[v].shape.style.display=display}}if(event.propertyName.search('filter')!=-1){DD_belatedPNG.vmlOpacity(el)}},vmlOpacity:function(el){if(el.currentStyle.filter.search('lpha')!=-1){var trans=el.currentStyle.filter;trans=parseInt(trans.substring(trans.lastIndexOf('=')+1,trans.lastIndexOf(')')),10)/100;el.vml.color.shape.style.filter=el.currentStyle.filter;el.vml.image.fill.opacity=trans}},handlePseudoHover:function(el){setTimeout(function(){DD_belatedPNG.applyVML(el)},1)},fix:function(selector){var selectors=selector.split(',');for(var i=0;i<selectors.length;i++){this.styleSheet.addRule(selectors[i],'behavior:expression(DD_belatedPNG.fixPng(this))')}},applyVML:function(el){el.runtimeStyle.cssText='';this.vmlFill(el);this.vmlOffsets(el);this.vmlOpacity(el);if(el.isImg){this.copyImageBorders(el)}},attachHandlers:function(el){var self=this;var handlers={resize:'vmlOffsets',move:'vmlOffsets'};if(el.nodeName=='A'){var moreForAs={mouseleave:'handlePseudoHover',mouseenter:'handlePseudoHover',focus:'handlePseudoHover',blur:'handlePseudoHover'};for(var a in moreForAs){handlers[a]=moreForAs[a]}}for(var h in handlers){el.attachEvent('on'+h,function(){self[handlers[h]](el)})}el.attachEvent('onpropertychange',this.readPropertyChange)},giveLayout:function(el){el.style.zoom=1;if(el.currentStyle.position=='static'){el.style.position='relative'}},copyImageBorders:function(el){var styles={'borderStyle':true,'borderWidth':true,'borderColor':true};for(var s in styles){el.vml.color.shape.style[s]=el.currentStyle[s]}},vmlFill:function(el){if(!el.currentStyle){return}else{var elStyle=el.currentStyle}for(var v in el.vml){el.vml[v].shape.style.zIndex=elStyle.zIndex}el.runtimeStyle.backgroundColor='';el.runtimeStyle.backgroundImage='';var noColor=(elStyle.backgroundColor=='transparent');var noImg=true;if(elStyle.backgroundImage!='none'||el.isImg){if(!el.isImg){el.vmlBg=elStyle.backgroundImage;el.vmlBg=el.vmlBg.substr(5,el.vmlBg.lastIndexOf('")')-5)}else{el.vmlBg=el.src}var lib=this;if(!lib.imgSize[el.vmlBg]){var img=document.createElement('img');lib.imgSize[el.vmlBg]=img;img.className=lib.ns+'_sizeFinder';img.runtimeStyle.cssText='behavior:none; position:absolute; left:-10000px; top:-10000px; border:none;';img.attachEvent('onload',function(){this.width=this.offsetWidth;this.height=this.offsetHeight;lib.vmlOffsets(el)});img.src=el.vmlBg;img.removeAttribute('width');img.removeAttribute('height');document.body.insertBefore(img,document.body.firstChild)}el.vml.image.fill.src=el.vmlBg;noImg=false}el.vml.image.fill.on=!noImg;el.vml.image.fill.color='none';el.vml.color.shape.style.backgroundColor=elStyle.backgroundColor;el.runtimeStyle.backgroundImage='none';el.runtimeStyle.backgroundColor='transparent'},vmlOffsets:function(el){var thisStyle=el.currentStyle;var size={'W':el.clientWidth+1,'H':el.clientHeight+1,'w':this.imgSize[el.vmlBg].width,'h':this.imgSize[el.vmlBg].height,'L':el.offsetLeft,'T':el.offsetTop,'bLW':el.clientLeft,'bTW':el.clientTop};var fudge=(size.L+size.bLW==1)?1:0;var makeVisible=function(vml,l,t,w,h,o){vml.coordsize=w+','+h;vml.coordorigin=o+','+o;vml.path='m0,0l'+w+',0l'+w+','+h+'l0,'+h+' xe';vml.style.width=w+'px';vml.style.height=h+'px';vml.style.left=l+'px';vml.style.top=t+'px'};makeVisible(el.vml.color.shape,(size.L+(el.isImg?0:size.bLW)),(size.T+(el.isImg?0:size.bTW)),(size.W-1),(size.H-1),0);makeVisible(el.vml.image.shape,(size.L+size.bLW),(size.T+size.bTW),(size.W),(size.H),1);var bg={'X':0,'Y':0};var figurePercentage=function(axis,position){var fraction=true;switch(position){case'left':case'top':bg[axis]=0;break;case'center':bg[axis]=.5;break;case'right':case'bottom':bg[axis]=1;break;default:if(position.search('%')!=-1){bg[axis]=parseInt(position)*.01}else{fraction=false}}var horz=(axis=='X');bg[axis]=Math.ceil(fraction?((size[horz?'W':'H']*bg[axis])-(size[horz?'w':'h']*bg[axis])):parseInt(position));if(bg[axis]==0){bg[axis]++}};for(var b in bg){figurePercentage(b,thisStyle['backgroundPosition'+b])}el.vml.image.fill.position=(bg.X/size.W)+','+(bg.Y/size.H);var bgR=thisStyle.backgroundRepeat;var dC={'T':1,'R':size.W+fudge,'B':size.H,'L':1+fudge};var altC={'X':{'b1':'L','b2':'R','d':'W'},'Y':{'b1':'T','b2':'B','d':'H'}};if(bgR!='repeat'){var c={'T':(bg.Y),'R':(bg.X+size.w),'B':(bg.Y+size.h),'L':(bg.X)};if(bgR.search('repeat-')!=-1){var v=bgR.split('repeat-')[1].toUpperCase();c[altC[v].b1]=1;c[altC[v].b2]=size[altC[v].d]}if(c.B>size.H){c.B=size.H}el.vml.image.shape.style.clip='rect('+c.T+'px '+(c.R+fudge)+'px '+c.B+'px '+(c.L+fudge)+'px)'}else{el.vml.image.shape.style.clip='rect('+dC.T+'px '+dC.R+'px '+dC.B+'px '+dC.L+'px)'}},fixPng:function(el){el.style.behavior='none';if(el.nodeName=='BODY'||el.nodeName=='TD'||el.nodeName=='TR'){return}el.isImg=false;if(el.nodeName=='IMG'){if(el.src.toLowerCase().search(/\.png$/)!=-1){el.isImg=true;el.style.visibility='hidden'}else{return}}else if(el.currentStyle.backgroundImage.toLowerCase().search('.png')==-1){return}var lib=DD_belatedPNG;el.vml={color:{},image:{}};var els={shape:{},fill:{}};for(var r in el.vml){for(var e in els){var nodeStr=lib.ns+':'+e;el.vml[r][e]=document.createElement(nodeStr)}el.vml[r].shape.stroked=false;el.vml[r].shape.appendChild(el.vml[r].fill);el.parentNode.insertBefore(el.vml[r].shape,el)}el.vml.image.shape.fillcolor='none';el.vml.image.fill.type='tile';el.vml.color.fill.on=false;lib.attachHandlers(el);lib.giveLayout(el);lib.giveLayout(el.offsetParent);lib.applyVML(el)}};try{document.execCommand("BackgroundImageCache",false,true)}catch(r){}DD_belatedPNG.createVmlNameSpace();DD_belatedPNG.createVmlStyleSheet()}
var Cufon=(function(){var api=function(){return api.replace.apply(null,arguments)};var DOM=api.DOM={ready:(function(){var complete=false,readyStatus={loaded:1,complete:1};var queue=[],perform=function(){if(complete)return;complete=true;for(var fn;fn=queue.shift();fn()){}};if(document.addEventListener){document.addEventListener('DOMContentLoaded',perform,false);window.addEventListener('pageshow',perform,false)}if(!window.opera&&document.readyState)(function(){readyStatus[document.readyState]?perform():setTimeout(arguments.callee,10)})();if(document.readyState&&document.createStyleSheet)(function(){try{document.body.doScroll('left');perform()}catch(e){setTimeout(arguments.callee,1)}})();addEvent(window,'load',perform);return function(listener){if(!arguments.length)perform();else complete?listener():queue.push(listener)}})(),root:function(){return document.documentElement||document.body}};var CSS=api.CSS={Size:function(value,base){this.value=parseFloat(value);this.unit=String(value).match(/[a-z%]*$/)[0]||'px';this.convert=function(value){return value/base*this.value};this.convertFrom=function(value){return value/this.value*base};this.toString=function(){return this.value+this.unit}},addClass:function(el,className){var current=el.className;el.className=current+(current&&' ')+className;return el},color:cached(function(value){var parsed={};parsed.color=value.replace(/^rgba\((.*?),\s*([\d.]+)\)/,function($0,$1,$2){parsed.opacity=parseFloat($2);return'rgb('+$1+')'});return parsed}),fontStretch:cached(function(value){if(typeof value=='number')return value;if(/%$/.test(value))return parseFloat(value)/100;return{'ultra-condensed':0.5,'extra-condensed':0.625,condensed:0.75,'semi-condensed':0.875,'semi-expanded':1.125,expanded:1.25,'extra-expanded':1.5,'ultra-expanded':2}[value]||1}),getStyle:function(el){var view=document.defaultView;if(view&&view.getComputedStyle)return new Style(view.getComputedStyle(el,null));if(el.currentStyle)return new Style(el.currentStyle);return new Style(el.style)},gradient:cached(function(value){var gradient={id:value,type:value.match(/^-([a-z]+)-gradient\(/)[1],stops:[]},colors=value.substr(value.indexOf('(')).match(/([\d.]+=)?(#[a-f0-9]+|[a-z]+\(.*?\)|[a-z]+)/ig);for(var i=0,l=colors.length,stop;i<l;++i){stop=colors[i].split('=',2).reverse();gradient.stops.push([stop[1]||i/(l-1),stop[0]])}return gradient}),quotedList:cached(function(value){var list=[],re=/\s*((["'])([\s\S]*?[^\\])\2|[^,]+)\s*/g,match;while(match=re.exec(value))list.push(match[3]||match[1]);return list}),recognizesMedia:cached(function(media){var el=document.createElement('style'),sheet,container,supported;el.type='text/css';el.media=media;try{el.appendChild(document.createTextNode('/**/'))}catch(e){}container=elementsByTagName('head')[0];container.insertBefore(el,container.firstChild);sheet=(el.sheet||el.styleSheet);supported=sheet&&!sheet.disabled;container.removeChild(el);return supported}),removeClass:function(el,className){var re=RegExp('(?:^|\\s+)'+className+'(?=\\s|$)','g');el.className=el.className.replace(re,'');return el},supports:function(property,value){var checker=document.createElement('span').style;if(checker[property]===undefined)return false;checker[property]=value;return checker[property]===value},textAlign:function(word,style,position,wordCount){if(style.get('textAlign')=='right'){if(position>0)word=' '+word}else if(position<wordCount-1)word+=' ';return word},textShadow:cached(function(value){if(value=='none')return null;var shadows=[],currentShadow={},result,offCount=0;var re=/(#[a-f0-9]+|[a-z]+\(.*?\)|[a-z]+)|(-?[\d.]+[a-z%]*)|,/ig;while(result=re.exec(value)){if(result[0]==','){shadows.push(currentShadow);currentShadow={};offCount=0}else if(result[1]){currentShadow.color=result[1]}else{currentShadow[['offX','offY','blur'][offCount++]]=result[2]}}shadows.push(currentShadow);return shadows}),textTransform:(function(){var map={uppercase:function(s){return s.toUpperCase()},lowercase:function(s){return s.toLowerCase()},capitalize:function(s){return s.replace(/\b./g,function($0){return $0.toUpperCase()})}};return function(text,style){var transform=map[style.get('textTransform')];return transform?transform(text):text}})(),whiteSpace:(function(){var ignore={inline:1,'inline-block':1,'run-in':1};var wsStart=/^\s+/,wsEnd=/\s+$/;return function(text,style,node,previousElement){if(previousElement){if(previousElement.nodeName.toLowerCase()=='br'){text=text.replace(wsStart,'')}}if(ignore[style.get('display')])return text;if(!node.previousSibling)text=text.replace(wsStart,'');if(!node.nextSibling)text=text.replace(wsEnd,'');return text}})()};CSS.ready=(function(){var complete=!CSS.recognizesMedia('all'),hasLayout=false;var queue=[],perform=function(){complete=true;for(var fn;fn=queue.shift();fn()){}};var links=elementsByTagName('link'),styles=elementsByTagName('style');function isContainerReady(el){return el.disabled||isSheetReady(el.sheet,el.media||'screen')}function isSheetReady(sheet,media){if(!CSS.recognizesMedia(media||'all'))return true;if(!sheet||sheet.disabled)return false;try{var rules=sheet.cssRules,rule;if(rules){search:for(var i=0,l=rules.length;rule=rules[i],i<l;++i){switch(rule.type){case 2:break;case 3:if(!isSheetReady(rule.styleSheet,rule.media.mediaText))return false;break;default:break search}}}}catch(e){}return true}function allStylesLoaded(){if(document.createStyleSheet)return true;var el,i;for(i=0;el=links[i];++i){if(el.rel.toLowerCase()=='stylesheet'&&!isContainerReady(el))return false}for(i=0;el=styles[i];++i){if(!isContainerReady(el))return false}return true}DOM.ready(function(){if(!hasLayout)hasLayout=CSS.getStyle(document.body).isUsable();if(complete||(hasLayout&&allStylesLoaded()))perform();else setTimeout(arguments.callee,10)});return function(listener){if(complete)listener();else queue.push(listener)}})();function Font(data){var face=this.face=data.face,wordSeparators={'\u0020':1,'\u00a0':1,'\u3000':1};this.glyphs=data.glyphs;this.w=data.w;this.baseSize=parseInt(face['units-per-em'],10);this.family=face['font-family'].toLowerCase();this.weight=face['font-weight'];this.style=face['font-style']||'normal';this.viewBox=(function(){var parts=face.bbox.split(/\s+/);var box={minX:parseInt(parts[0],10),minY:parseInt(parts[1],10),maxX:parseInt(parts[2],10),maxY:parseInt(parts[3],10)};box.width=box.maxX-box.minX;box.height=box.maxY-box.minY;box.toString=function(){return[this.minX,this.minY,this.width,this.height].join(' ')};return box})();this.ascent=-parseInt(face.ascent,10);this.descent=-parseInt(face.descent,10);this.height=-this.ascent+this.descent;this.spacing=function(chars,letterSpacing,wordSpacing){var glyphs=this.glyphs,glyph,kerning,k,jumps=[],width=0,i=-1,j=-1,chr;while(chr=chars[++i]){glyph=glyphs[chr]||this.missingGlyph;if(!glyph)continue;if(kerning){width-=k=kerning[chr]||0;jumps[j]-=k}width+=jumps[++j]=~~(glyph.w||this.w)+letterSpacing+(wordSeparators[chr]?wordSpacing:0);kerning=glyph.k}jumps.total=width;return jumps}}function FontFamily(){var styles={},mapping={oblique:'italic',italic:'oblique'};this.add=function(font){(styles[font.style]||(styles[font.style]={}))[font.weight]=font};this.get=function(style,weight){var weights=styles[style]||styles[mapping[style]]||styles.normal||styles.italic||styles.oblique;if(!weights)return null;weight={normal:400,bold:700}[weight]||parseInt(weight,10);if(weights[weight])return weights[weight];var up={1:1,99:0}[weight%100],alts=[],min,max;if(up===undefined)up=weight>400;if(weight==500)weight=400;for(var alt in weights){if(!hasOwnProperty(weights,alt))continue;alt=parseInt(alt,10);if(!min||alt<min)min=alt;if(!max||alt>max)max=alt;alts.push(alt)}if(weight<min)weight=min;if(weight>max)weight=max;alts.sort(function(a,b){return(up?(a>=weight&&b>=weight)?a<b:a>b:(a<=weight&&b<=weight)?a>b:a<b)?-1:1});return weights[alts[0]]}}function HoverHandler(){function contains(node,anotherNode){if(node.contains)return node.contains(anotherNode);return node.compareDocumentPosition(anotherNode)&16}function onOverOut(e){var related=e.relatedTarget;if(!related||contains(this,related))return;trigger(this,e.type=='mouseover')}function onEnterLeave(e){trigger(this,e.type=='mouseenter')}function trigger(el,hoverState){setTimeout(function(){var options=sharedStorage.get(el).options;api.replace(el,hoverState?merge(options,options.hover):options,true)},10)}this.attach=function(el){if(el.onmouseenter===undefined){addEvent(el,'mouseover',onOverOut);addEvent(el,'mouseout',onOverOut)}else{addEvent(el,'mouseenter',onEnterLeave);addEvent(el,'mouseleave',onEnterLeave)}}}function ReplaceHistory(){var list=[],map={};function filter(keys){var values=[],key;for(var i=0;key=keys[i];++i)values[i]=list[map[key]];return values}this.add=function(key,args){map[key]=list.push(args)-1};this.repeat=function(){var snapshot=arguments.length?filter(arguments):list,args;for(var i=0;args=snapshot[i++];)api.replace(args[0],args[1],true)}}function Storage(){var map={},at=0;function identify(el){return el.cufid||(el.cufid=++at)}this.get=function(el){var id=identify(el);return map[id]||(map[id]={})}}function Style(style){var custom={},sizes={};this.extend=function(styles){for(var property in styles){if(hasOwnProperty(styles,property))custom[property]=styles[property]}return this};this.get=function(property){return custom[property]!=undefined?custom[property]:style[property]};this.getSize=function(property,base){return sizes[property]||(sizes[property]=new CSS.Size(this.get(property),base))};this.isUsable=function(){return!!style}}function addEvent(el,type,listener){if(el.addEventListener){el.addEventListener(type,listener,false)}else if(el.attachEvent){el.attachEvent('on'+type,function(){return listener.call(el,window.event)})}}function attach(el,options){var storage=sharedStorage.get(el);if(storage.options)return el;if(options.hover&&options.hoverables[el.nodeName.toLowerCase()]){hoverHandler.attach(el)}storage.options=options;return el}function cached(fun){var cache={};return function(key){if(!hasOwnProperty(cache,key))cache[key]=fun.apply(null,arguments);return cache[key]}}function getFont(el,style){var families=CSS.quotedList(style.get('fontFamily').toLowerCase()),family;for(var i=0;family=families[i];++i){if(fonts[family])return fonts[family].get(style.get('fontStyle'),style.get('fontWeight'))}return null}function elementsByTagName(query){return document.getElementsByTagName(query)}function hasOwnProperty(obj,property){return obj.hasOwnProperty(property)}function merge(){var merged={},arg,key;for(var i=0,l=arguments.length;arg=arguments[i],i<l;++i){for(key in arg){if(hasOwnProperty(arg,key))merged[key]=arg[key]}}return merged}function process(font,text,style,options,node,el){var fragment=document.createDocumentFragment(),processed;if(text==='')return fragment;var separate=options.separate;var parts=text.split(separators[separate]),needsAligning=(separate=='words');if(needsAligning&&HAS_BROKEN_REGEXP){if(/^\s/.test(text))parts.unshift('');if(/\s$/.test(text))parts.push('')}for(var i=0,l=parts.length;i<l;++i){processed=engines[options.engine](font,needsAligning?CSS.textAlign(parts[i],style,i,l):parts[i],style,options,node,el,i<l-1);if(processed)fragment.appendChild(processed)}return fragment}function replaceElement(el,options){var name=el.nodeName.toLowerCase();if(options.ignore[name])return;var replace=!options.textless[name];var style=CSS.getStyle(attach(el,options)).extend(options);var font=getFont(el,style),node,type,next,anchor,text,lastElement;if(!font)return;for(node=el.firstChild;node;node=next){type=node.nodeType;next=node.nextSibling;if(replace&&type==3){if(anchor){anchor.appendData(node.data);el.removeChild(node)}else anchor=node;if(next)continue}if(anchor){el.replaceChild(process(font,CSS.whiteSpace(anchor.data,style,anchor,lastElement),style,options,node,el),anchor);anchor=null}if(type==1){if(node.firstChild){if(node.nodeName.toLowerCase()=='cufon'){engines[options.engine](font,null,style,options,node,el)}else arguments.callee(node,options)}lastElement=node}}}var HAS_BROKEN_REGEXP=' '.split(/\s+/).length==0;var sharedStorage=new Storage();var hoverHandler=new HoverHandler();var replaceHistory=new ReplaceHistory();var initialized=false;var engines={},fonts={},defaultOptions={autoDetect:false,engine:null,forceHitArea:false,hover:false,hoverables:{a:true},ignore:{applet:1,canvas:1,col:1,colgroup:1,head:1,iframe:1,map:1,optgroup:1,option:1,script:1,select:1,style:1,textarea:1,title:1,pre:1},printable:true,selector:(window.Sizzle||(window.jQuery&&function(query){return jQuery(query)})||(window.dojo&&dojo.query)||(window.Ext&&Ext.query)||(window.YAHOO&&YAHOO.util&&YAHOO.util.Selector&&YAHOO.util.Selector.query)||(window.$$&&function(query){return $$(query)})||(window.$&&function(query){return $(query)})||(document.querySelectorAll&&function(query){return document.querySelectorAll(query)})||elementsByTagName),separate:'words',textless:{dl:1,html:1,ol:1,table:1,tbody:1,thead:1,tfoot:1,tr:1,ul:1},textShadow:'none'};var separators={words:/\s/.test('\u00a0') ?/[^\S\u00a0]+/ :/\s+/,characters:'',none:/^/};api.now=function(){DOM.ready();return api};api.refresh=function(){replaceHistory.repeat.apply(replaceHistory,arguments);return api};api.registerEngine=function(id,engine){if(!engine)return api;engines[id]=engine;return api.set('engine',id)};api.registerFont=function(data){if(!data)return api;var font=new Font(data),family=font.family;if(!fonts[family])fonts[family]=new FontFamily();fonts[family].add(font);return api.set('fontFamily','"'+family+'"')};api.replace=function(elements,options,ignoreHistory){options=merge(defaultOptions,options);if(!options.engine)return api;if(!initialized){CSS.addClass(DOM.root(),'cufon-active cufon-loading');CSS.ready(function(){CSS.addClass(CSS.removeClass(DOM.root(),'cufon-loading'),'cufon-ready')});initialized=true}if(options.hover)options.forceHitArea=true;if(options.autoDetect)delete options.fontFamily;if(typeof options.textShadow=='string'){options.textShadow=CSS.textShadow(options.textShadow)}if(typeof options.color=='string'&&/^-/.test(options.color)){options.textGradient=CSS.gradient(options.color)}else delete options.textGradient;if(!ignoreHistory)replaceHistory.add(elements,arguments);if(elements.nodeType||typeof elements=='string')elements=[elements];CSS.ready(function(){for(var i=0,l=elements.length;i<l;++i){var el=elements[i];if(typeof el=='string')api.replace(options.selector(el),options,true);else replaceElement(el,options)}});return api};api.set=function(option,value){defaultOptions[option]=value;return api};return api})();Cufon.registerEngine('vml',(function(){var ns=document.namespaces;if(!ns)return;ns.add('cvml','urn:schemas-microsoft-com:vml');ns=null;var check=document.createElement('cvml:shape');check.style.behavior='url(#default#VML)';if(!check.coordsize)return;check=null;var HAS_BROKEN_LINEHEIGHT=(document.documentMode||0)<8;document.write(('<style type="text/css">'+'cufoncanvas{text-indent:0;}'+'@media screen{'+'cvml\\:shape,cvml\\:rect,cvml\\:fill,cvml\\:shadow{behavior:url(#default#VML);display:block;antialias:true;position:absolute;}'+'cufoncanvas{position:absolute;text-align:left;}'+'cufon{display:inline-block;position:relative;vertical-align:'+(HAS_BROKEN_LINEHEIGHT?'middle':'text-bottom')+';}'+'cufon cufontext{position:absolute;left:-10000in;font-size:1px;}'+'a cufon{cursor:pointer}'+'}'+'@media print{'+'cufon cufoncanvas{display:none;}'+'}'+'</style>').replace(/;/g,'!important;'));function getFontSizeInPixels(el,value){return getSizeInPixels(el,/(?:em|ex|%)$|^[a-z-]+$/i.test(value)?'1em':value)}function getSizeInPixels(el,value){if(value==='0')return 0;if(/px$/i.test(value))return parseFloat(value);var style=el.style.left,runtimeStyle=el.runtimeStyle.left;el.runtimeStyle.left=el.currentStyle.left;el.style.left=value.replace('%','em');var result=el.style.pixelLeft;el.style.left=style;el.runtimeStyle.left=runtimeStyle;return result}function getSpacingValue(el,style,size,property){var key='computed'+property,value=style[key];if(isNaN(value)){value=style.get(property);style[key]=value=(value=='normal')?0:~~size.convertFrom(getSizeInPixels(el,value))}return value}var fills={};function gradientFill(gradient){var id=gradient.id;if(!fills[id]){var stops=gradient.stops,fill=document.createElement('cvml:fill'),colors=[];fill.type='gradient';fill.angle=180;fill.focus='0';fill.method='sigma';fill.color=stops[0][1];for(var j=1,k=stops.length-1;j<k;++j){colors.push(stops[j][0]*100+'% '+stops[j][1])}fill.colors=colors.join(',');fill.color2=stops[k][1];fills[id]=fill}return fills[id]}return function(font,text,style,options,node,el,hasNext){var redraw=(text===null);if(redraw)text=node.alt;var viewBox=font.viewBox;var size=style.computedFontSize||(style.computedFontSize=new Cufon.CSS.Size(getFontSizeInPixels(el,style.get('fontSize'))+'px',font.baseSize));var wrapper,canvas;if(redraw){wrapper=node;canvas=node.firstChild}else{wrapper=document.createElement('cufon');wrapper.className='cufon cufon-vml';wrapper.alt=text;canvas=document.createElement('cufoncanvas');wrapper.appendChild(canvas);if(options.printable){var print=document.createElement('cufontext');print.appendChild(document.createTextNode(text));wrapper.appendChild(print)}if(!hasNext)wrapper.appendChild(document.createElement('cvml:shape'))}var wStyle=wrapper.style;var cStyle=canvas.style;var height=size.convert(viewBox.height),roundedHeight=Math.ceil(height);var roundingFactor=roundedHeight/height;var stretchFactor=roundingFactor*Cufon.CSS.fontStretch(style.get('fontStretch'));var minX=viewBox.minX,minY=viewBox.minY;cStyle.height=roundedHeight;cStyle.top=Math.round(size.convert(minY-font.ascent));cStyle.left=Math.round(size.convert(minX));wStyle.height=size.convert(font.height)+'px';var color=style.get('color');var chars=Cufon.CSS.textTransform(text,style).split('');var jumps=font.spacing(chars,getSpacingValue(el,style,size,'letterSpacing'),getSpacingValue(el,style,size,'wordSpacing'));if(!jumps.length)return null;var width=jumps.total;var fullWidth=-minX+width+(viewBox.width-jumps[jumps.length-1]);var shapeWidth=size.convert(fullWidth*stretchFactor),roundedShapeWidth=Math.round(shapeWidth);var coordSize=fullWidth+','+viewBox.height,coordOrigin;var stretch='r'+coordSize+'ns';var fill=options.textGradient&&gradientFill(options.textGradient);var glyphs=font.glyphs,offsetX=0;var shadows=options.textShadow;var i=-1,j=0,chr;while(chr=chars[++i]){var glyph=glyphs[chars[i]]||font.missingGlyph,shape;if(!glyph)continue;if(redraw){shape=canvas.childNodes[j];while(shape.firstChild)shape.removeChild(shape.firstChild)}else{shape=document.createElement('cvml:shape');canvas.appendChild(shape)}shape.stroked='f';shape.coordsize=coordSize;shape.coordorigin=coordOrigin=(minX-offsetX)+','+minY;shape.path=(glyph.d?'m'+glyph.d+'xe':'')+'m'+coordOrigin+stretch;shape.fillcolor=color;if(fill)shape.appendChild(fill.cloneNode(false));var sStyle=shape.style;sStyle.width=roundedShapeWidth;sStyle.height=roundedHeight;if(shadows){var shadow1=shadows[0],shadow2=shadows[1];var color1=Cufon.CSS.color(shadow1.color),color2;var shadow=document.createElement('cvml:shadow');shadow.on='t';shadow.color=color1.color;shadow.offset=shadow1.offX+','+shadow1.offY;if(shadow2){color2=Cufon.CSS.color(shadow2.color);shadow.type='double';shadow.color2=color2.color;shadow.offset2=shadow2.offX+','+shadow2.offY}shadow.opacity=color1.opacity||(color2&&color2.opacity)||1;shape.appendChild(shadow)}offsetX+=jumps[j++]}var cover=shape.nextSibling,coverFill,vStyle;if(options.forceHitArea){if(!cover){cover=document.createElement('cvml:rect');cover.stroked='f';cover.className='cufon-vml-cover';coverFill=document.createElement('cvml:fill');coverFill.opacity=0;cover.appendChild(coverFill);canvas.appendChild(cover)}vStyle=cover.style;vStyle.width=roundedShapeWidth;vStyle.height=roundedHeight}else if(cover)canvas.removeChild(cover);wStyle.width=Math.max(Math.ceil(size.convert(width*stretchFactor)),0);if(HAS_BROKEN_LINEHEIGHT){var yAdjust=style.computedYAdjust;if(yAdjust===undefined){var lineHeight=style.get('lineHeight');if(lineHeight=='normal')lineHeight='1em';else if(!isNaN(lineHeight))lineHeight+='em';style.computedYAdjust=yAdjust=0.5*(getSizeInPixels(el,lineHeight)-parseFloat(wStyle.height))}if(yAdjust){wStyle.marginTop=Math.ceil(yAdjust)+'px';wStyle.marginBottom=yAdjust+'px'}}return wrapper}})());Cufon.registerEngine('canvas',(function(){var check=document.createElement('canvas');if(!check||!check.getContext||!check.getContext.apply)return;check=null;var HAS_INLINE_BLOCK=Cufon.CSS.supports('display','inline-block');var HAS_BROKEN_LINEHEIGHT=!HAS_INLINE_BLOCK&&(document.compatMode=='BackCompat'||/frameset|transitional/i.test(document.doctype.publicId));var styleSheet=document.createElement('style');styleSheet.type='text/css';styleSheet.appendChild(document.createTextNode(('cufon{text-indent:0;}'+'@media screen,projection{'+'cufon{display:inline;display:inline-block;position:relative;vertical-align:middle;'+(HAS_BROKEN_LINEHEIGHT?'':'font-size:1px;line-height:1px;')+'}cufon cufontext{display:-moz-inline-box;display:inline-block;width:0;height:0;overflow:hidden;text-indent:-10000in;}'+(HAS_INLINE_BLOCK?'cufon canvas{position:relative;}':'cufon canvas{position:absolute;}')+'}'+'@media print{'+'cufon{padding:0;}'+'cufon canvas{display:none;}'+'}').replace(/;/g,'!important;')));document.getElementsByTagName('head')[0].appendChild(styleSheet);function generateFromVML(path,context){var atX=0,atY=0;var code=[],re=/([mrvxe])([^a-z]*)/g,match;generate:for(var i=0;match=re.exec(path);++i){var c=match[2].split(',');switch(match[1]){case'v':code[i]={m:'bezierCurveTo',a:[atX+~~c[0],atY+~~c[1],atX+~~c[2],atY+~~c[3],atX+=~~c[4],atY+=~~c[5]]};break;case'r':code[i]={m:'lineTo',a:[atX+=~~c[0],atY+=~~c[1]]};break;case'm':code[i]={m:'moveTo',a:[atX=~~c[0],atY=~~c[1]]};break;case'x':code[i]={m:'closePath'};break;case'e':break generate}context[code[i].m].apply(context,code[i].a)}return code}function interpret(code,context){for(var i=0,l=code.length;i<l;++i){var line=code[i];context[line.m].apply(context,line.a)}}return function(font,text,style,options,node,el){var redraw=(text===null);if(redraw)text=node.getAttribute('alt');var viewBox=font.viewBox;var size=style.getSize('fontSize',font.baseSize);var expandTop=0,expandRight=0,expandBottom=0,expandLeft=0;var shadows=options.textShadow,shadowOffsets=[];if(shadows){for(var i=shadows.length;i--;){var shadow=shadows[i];var x=size.convertFrom(parseFloat(shadow.offX));var y=size.convertFrom(parseFloat(shadow.offY));shadowOffsets[i]=[x,y];if(y<expandTop)expandTop=y;if(x>expandRight)expandRight=x;if(y>expandBottom)expandBottom=y;if(x<expandLeft)expandLeft=x}}var chars=Cufon.CSS.textTransform(text,style).split('');var jumps=font.spacing(chars,~~size.convertFrom(parseFloat(style.get('letterSpacing'))||0),~~size.convertFrom(parseFloat(style.get('wordSpacing'))||0));if(!jumps.length)return null;var width=jumps.total;expandRight+=viewBox.width-jumps[jumps.length-1];expandLeft+=viewBox.minX;var wrapper,canvas;if(redraw){wrapper=node;canvas=node.firstChild}else{wrapper=document.createElement('cufon');wrapper.className='cufon cufon-canvas';wrapper.setAttribute('alt',text);canvas=document.createElement('canvas');wrapper.appendChild(canvas);if(options.printable){var print=document.createElement('cufontext');print.appendChild(document.createTextNode(text));wrapper.appendChild(print)}}var wStyle=wrapper.style;var cStyle=canvas.style;var height=size.convert(viewBox.height);var roundedHeight=Math.ceil(height);var roundingFactor=roundedHeight/height;var stretchFactor=roundingFactor*Cufon.CSS.fontStretch(style.get('fontStretch'));var stretchedWidth=width*stretchFactor;var canvasWidth=Math.ceil(size.convert(stretchedWidth+expandRight-expandLeft));var canvasHeight=Math.ceil(size.convert(viewBox.height-expandTop+expandBottom));canvas.width=canvasWidth;canvas.height=canvasHeight;cStyle.width=canvasWidth+'px';cStyle.height=canvasHeight+'px';expandTop+=viewBox.minY;cStyle.top=Math.round(size.convert(expandTop-font.ascent))+'px';cStyle.left=Math.round(size.convert(expandLeft))+'px';var wrapperWidth=Math.max(Math.ceil(size.convert(stretchedWidth)),0)+'px';if(HAS_INLINE_BLOCK){wStyle.width=wrapperWidth;wStyle.height=size.convert(font.height)+'px'}else{wStyle.paddingLeft=wrapperWidth;wStyle.paddingBottom=(size.convert(font.height)-1)+'px'}var g=canvas.getContext('2d'),scale=height/viewBox.height;g.scale(scale,scale*roundingFactor);g.translate(-expandLeft,-expandTop);g.save();function renderText(){var glyphs=font.glyphs,glyph,i=-1,j=-1,chr;g.scale(stretchFactor,1);while(chr=chars[++i]){var glyph=glyphs[chars[i]]||font.missingGlyph;if(!glyph)continue;if(glyph.d){g.beginPath();if(glyph.code)interpret(glyph.code,g);else glyph.code=generateFromVML('m'+glyph.d,g);g.fill()}g.translate(jumps[++j],0)}g.restore()}if(shadows){for(var i=shadows.length;i--;){var shadow=shadows[i];g.save();g.fillStyle=shadow.color;g.translate.apply(g,shadowOffsets[i]);renderText()}}var gradient=options.textGradient;if(gradient){var stops=gradient.stops,fill=g.createLinearGradient(0,viewBox.minY,0,viewBox.maxY);for(var i=0,l=stops.length;i<l;++i){fill.addColorStop.apply(fill,stops[i])}g.fillStyle=fill}else g.fillStyle=style.get('color');renderText();return wrapper}})());
Cufon.registerFont({"w":233,"face":{"font-family":"helvetica-neue-thin-extended","font-weight":100,"font-stretch":"normal","units-per-em":"360","panose-1":"2 0 2 3 0 0 0 0 0 0","ascent":"288","descent":"-72","x-height":"6","bbox":"-39 -342 374 79.0529","underline-thickness":"18","underline-position":"-36","stemh":"14","stemv":"17","unicode-range":"U+0020-U+00FF"},"glyphs":{" ":{"w":79},"!":{"d":"40,-66r-3,-191r19,0r-3,191r-13,0xm37,0r0,-36r19,0r0,36r-19,0","w":92},"\"":{"d":"31,-174r0,-83r14,0r0,83r-14,0xm81,-174r0,-83r15,0r0,83r-15,0","w":126},"#":{"d":"57,0r11,-82r-41,0r0,-12r42,0r9,-65r-40,0r0,-12r42,0r11,-82r13,0r-11,82r60,0r12,-82r12,0r-11,82r40,0r0,12r-42,0r-9,65r40,0r0,12r-42,0r-11,82r-12,0r11,-82r-61,0r-11,82r-12,0xm143,-94r9,-65r-61,0r-9,65r61,0"},"$":{"d":"124,-121r0,112v59,0,80,-26,80,-56v8,-33,-39,-47,-80,-56xm112,-140r0,-105v-57,1,-76,24,-76,52v0,33,29,44,76,53xm112,-9r0,-114v-52,-10,-94,-25,-94,-71v0,-41,35,-65,94,-65r0,-27r12,0r0,27v56,3,90,27,92,77r-16,0v-2,-28,-17,-60,-76,-63r0,108v52,8,99,23,99,71v0,34,-22,72,-99,72r0,34r-12,0r0,-34v-73,-4,-102,-39,-102,-90r17,0v0,45,26,72,85,75"},"%":{"d":"83,-121v-42,0,-62,-29,-62,-70v0,-40,20,-68,62,-68v43,0,63,27,63,68v0,39,-21,70,-63,70xm83,-134v35,0,48,-25,48,-57v0,-32,-13,-56,-48,-56v-34,0,-48,24,-48,56v0,32,13,57,48,57xm250,6v-42,0,-62,-29,-62,-70v0,-40,20,-68,62,-68v43,0,63,27,63,68v0,39,-21,70,-63,70xm250,-6v35,0,48,-26,48,-58v0,-32,-13,-56,-48,-56v-34,0,-48,24,-48,56v0,32,13,58,48,58xm61,8r191,-269r14,0r-190,269r-15,0","w":333},"&":{"d":"124,-144r89,86v9,-12,15,-33,15,-47r16,0v0,20,-9,43,-20,57r50,48r-23,0r-36,-35v-29,30,-58,41,-100,41v-64,0,-93,-39,-93,-77v0,-46,46,-64,76,-76v-23,-25,-36,-38,-36,-62v0,-19,14,-50,60,-50v33,0,60,17,60,50v0,37,-37,55,-58,65xm78,-210v0,25,31,51,36,56v20,-9,52,-23,52,-54v0,-28,-27,-37,-44,-37v-30,0,-44,18,-44,35xm204,-46r-95,-91v-40,16,-70,32,-70,66v0,41,35,62,78,62v53,0,81,-29,87,-37","w":266},"(":{"d":"98,68r-15,0v-76,-95,-77,-230,0,-325r15,0v-72,98,-73,228,0,325","w":106},")":{"d":"9,-257r14,0v76,95,77,230,0,325r-14,0v72,-98,71,-227,0,-325","w":106},"*":{"d":"30,-153r34,-40r-50,-18r5,-12r48,17r0,-51r13,0r0,51r48,-17r5,12r-50,18r34,40r-10,8r-34,-39r-33,39","w":146},"+":{"d":"17,-84r0,-14r84,0r0,-84r14,0r0,84r84,0r0,14r-84,0r0,84r-14,0r0,-84r-84,0","w":216},",":{"d":"31,0r0,-36r18,0v0,37,5,72,-25,83r0,-12v12,-6,13,-21,13,-35r-6,0","w":79},"-":{"d":"27,-89r0,-16r93,0r0,16r-93,0","w":146},".":{"d":"31,0r0,-36r18,0r0,36r-18,0","w":79},"\/":{"d":"150,-263r-137,269r-17,0r138,-269r16,0","w":146},"0":{"d":"223,-127v0,71,-26,133,-106,133v-79,0,-107,-63,-107,-133v0,-70,28,-132,107,-132v80,0,106,61,106,132xm206,-127v0,-62,-19,-118,-89,-118v-69,0,-90,58,-90,118v0,60,21,118,90,118v71,0,89,-56,89,-118"},"1":{"d":"105,-253r0,253r-16,0r0,-225v-22,21,-53,30,-80,33r0,-15v27,-1,70,-19,82,-46r14,0","w":153},"2":{"d":"212,-14r0,14r-191,0v5,-47,26,-62,86,-96v58,-33,83,-48,83,-88v0,-39,-26,-61,-74,-61v-53,0,-74,29,-74,76r-17,0v1,-63,33,-90,93,-90v60,0,89,30,89,74v0,47,-24,62,-94,102v-24,14,-73,42,-73,69r172,0"},"3":{"d":"104,-128r0,-15v39,0,88,1,88,-47v0,-42,-34,-55,-71,-55v-48,0,-80,21,-80,71r-16,0v2,-60,39,-85,96,-85v54,0,88,24,88,66v0,38,-25,51,-56,57v25,1,62,15,62,69v0,42,-32,73,-97,73v-62,0,-99,-28,-100,-90r17,0v0,53,31,75,85,75v35,0,79,-11,79,-62v0,-58,-60,-57,-95,-57"},"4":{"d":"15,-81r138,-172r17,0r0,174r49,0r0,15r-49,0r0,64r-16,0r0,-64r-139,0r0,-17xm154,-233r-123,154r123,0r0,-154"},"5":{"d":"26,-121r28,-132r147,0r0,14r-134,0r-21,98v53,-54,169,-25,169,57v0,59,-42,90,-100,90v-53,0,-94,-30,-96,-83r16,0v4,48,36,68,82,68v50,0,81,-25,81,-74v0,-34,-22,-72,-81,-72v-37,0,-63,18,-74,34r-17,0"},"6":{"d":"210,-193r-16,0v-4,-38,-38,-52,-72,-52v-77,-1,-89,71,-86,129v8,-24,35,-53,85,-53v53,0,94,31,94,86v0,50,-37,89,-97,89v-77,0,-100,-55,-100,-123v0,-77,17,-142,107,-142v50,0,82,26,85,66xm122,-155v-53,0,-83,30,-83,72v0,26,14,74,82,74v45,0,77,-29,77,-74v0,-41,-26,-72,-76,-72"},"7":{"d":"14,-239r0,-14r186,0r0,16v-72,74,-106,134,-121,237r-19,0v13,-94,55,-173,123,-239r-169,0","w":213},"8":{"d":"32,-69v0,35,26,60,85,60v37,0,85,-10,85,-60v0,-39,-27,-62,-85,-62v-58,0,-85,23,-85,62xm15,-69v-1,-50,40,-62,65,-70v-41,-9,-53,-30,-53,-58v0,-50,49,-62,90,-62v41,0,89,12,89,62v0,29,-15,48,-53,59v27,5,65,20,65,69v0,47,-34,75,-101,75v-67,0,-102,-28,-102,-75xm44,-194v0,40,40,49,73,49v34,0,72,-8,72,-49v0,-40,-39,-51,-72,-51v-35,0,-73,9,-73,51"},"9":{"d":"23,-60r17,0v4,38,37,51,71,51v78,0,87,-67,87,-128v-8,24,-35,53,-85,53v-53,0,-95,-32,-95,-87v0,-50,37,-88,97,-88v77,0,100,55,100,123v0,77,-17,142,-107,142v-50,0,-82,-26,-85,-66xm112,-99v53,0,82,-30,82,-72v0,-26,-14,-74,-82,-74v-45,0,-77,29,-77,74v0,41,27,72,77,72"},":":{"d":"31,-142r0,-36r18,0r0,36r-18,0xm31,0r0,-36r18,0r0,36r-18,0","w":79},";":{"d":"31,0r0,-36r18,0v0,37,5,72,-25,83r0,-12v12,-6,13,-21,13,-35r-6,0xm31,-142r0,-36r18,0r0,36r-18,0","w":79},"<":{"d":"17,-82r0,-19r182,-85r0,15r-170,80r170,80r0,15","w":216},"=":{"d":"199,-133r0,14r-182,0r0,-14r182,0xm199,-63r0,14r-182,0r0,-14r182,0","w":216},">":{"d":"17,4r0,-15r170,-80r-170,-80r0,-15r182,86r0,19","w":216},"?":{"d":"101,-66v-18,-67,84,-76,84,-127v0,-39,-36,-55,-72,-55v-49,0,-78,21,-78,70r-17,0v0,-59,38,-85,93,-85v53,0,91,22,91,69v0,30,-14,45,-47,67v-34,22,-39,25,-38,61r-16,0xm100,0r0,-36r18,0r0,36r-18,0","w":226},"@":{"d":"121,-60v34,0,64,-60,64,-94v0,-32,-15,-43,-32,-43v-41,0,-69,57,-69,94v0,26,16,43,37,43xm204,-202r16,0r-40,129v0,7,5,11,14,11v30,0,70,-35,70,-88v0,-57,-47,-98,-112,-98v-78,0,-128,53,-128,119v0,104,134,158,211,90r17,0v-76,94,-242,33,-242,-90v0,-74,56,-134,140,-134v77,0,128,49,128,109v0,66,-51,106,-86,106v-15,0,-26,-8,-27,-25v-29,41,-97,31,-96,-29v0,-51,35,-107,85,-107v19,0,38,13,41,32","w":288},"A":{"d":"-4,0r118,-257r19,0r118,257r-19,0r-38,-83r-141,0r-38,83r-19,0xm123,-238r-64,141r129,0","w":246},"B":{"d":"38,-243r0,103r115,0v13,0,66,-1,66,-53v0,-50,-42,-50,-69,-50r-112,0xm38,-126r0,112r116,0v13,0,73,0,73,-58v0,-54,-49,-54,-77,-54r-112,0xm22,0r0,-257v84,5,213,-25,213,63v0,26,-14,50,-50,60v50,5,59,41,59,63v0,28,-15,71,-86,71r-136,0","w":259},"C":{"d":"257,-98r17,0v-6,49,-50,104,-127,104v-78,0,-137,-50,-137,-135v0,-62,43,-134,137,-134v62,0,109,30,122,87r-16,0v-12,-49,-58,-72,-106,-72v-73,0,-120,54,-120,119v0,64,41,120,120,120v57,0,100,-33,110,-89","w":286},"D":{"d":"22,0r0,-257v128,1,235,-24,235,128v0,75,-38,129,-118,129r-117,0xm38,-243r0,229r104,0v57,0,98,-36,98,-115v0,-124,-90,-117,-202,-114","w":273},"E":{"d":"22,0r0,-257r203,0r0,14r-187,0r0,103r179,0r0,14r-179,0r0,112r189,0r0,14r-205,0"},"F":{"d":"22,0r0,-257r186,0r0,14r-170,0r0,103r161,0r0,14r-161,0r0,126r-16,0","w":213},"G":{"d":"158,-114r0,-14r120,0r0,128r-14,0v-1,-20,2,-45,-1,-63v-19,46,-63,69,-112,69v-78,0,-137,-50,-137,-135v0,-62,43,-134,137,-134v63,0,109,32,122,87r-17,0v-11,-48,-54,-72,-105,-72v-73,0,-120,54,-120,119v0,64,41,120,120,120v65,0,107,-40,111,-105r-104,0","w":299},"H":{"d":"22,0r0,-257r16,0r0,114r197,0r0,-114r17,0r0,257r-17,0r0,-128r-197,0r0,128r-16,0","w":273},"I":{"d":"22,0r0,-257r16,0r0,257r-16,0","w":59},"J":{"d":"9,-76v-2,-10,10,-5,16,-6v0,31,2,73,66,73v44,0,64,-23,64,-67r0,-181r17,0r0,180v0,56,-31,83,-81,83v-42,0,-82,-18,-82,-82","w":193},"K":{"d":"22,0r0,-257r16,0r0,148r185,-148r26,0r-133,106r143,151r-23,0r-133,-140r-65,51r0,89r-16,0","w":253},"L":{"d":"22,0r0,-257r16,0r0,243r169,0r0,14r-185,0","w":206},"M":{"d":"23,0r0,-257r25,0r125,236r125,-236r25,0r0,257r-17,0r0,-234r-125,234r-16,0r-125,-234r0,234r-17,0","w":346},"N":{"d":"22,0r0,-257r20,0r193,234r0,-234r17,0r0,257r-21,0r-193,-234r0,234r-16,0","w":273},"O":{"d":"27,-129v0,62,43,120,120,120v77,0,120,-58,120,-120v0,-62,-43,-119,-120,-119v-77,0,-120,57,-120,119xm10,-129v0,-50,33,-134,137,-134v104,0,136,84,136,134v0,50,-32,135,-136,135v-104,0,-137,-85,-137,-135","w":293},"P":{"d":"22,0r0,-257v92,10,212,-37,212,71v0,43,-25,73,-81,73r-115,0r0,113r-16,0xm38,-243r0,116v76,-7,179,29,179,-58v0,-58,-46,-58,-68,-58r-111,0","w":240},"Q":{"d":"169,-54r8,-12r46,33v80,-66,47,-215,-76,-215v-77,0,-120,57,-120,119v0,62,43,120,120,120v25,0,46,-6,63,-16xm271,18r-47,-33v-19,13,-45,21,-77,21v-104,0,-137,-85,-137,-135v0,-50,33,-134,137,-134v104,0,136,84,136,134v0,31,-12,77,-46,105r42,30","w":293},"R":{"d":"22,0r0,-257v90,7,217,-31,218,68v0,27,-17,56,-53,64v31,4,48,26,48,54v1,47,3,62,8,71v-33,3,-19,-11,-24,-60v9,-86,-109,-49,-181,-57r0,117r-16,0xm38,-243r0,112r112,0v16,0,73,0,73,-59v0,-81,-111,-45,-185,-53","w":253},"S":{"d":"10,-85r17,0v0,48,29,76,98,76v63,0,86,-27,86,-57v0,-79,-193,-37,-193,-130v0,-39,33,-67,97,-67v65,0,106,24,108,79r-17,0v-2,-30,-18,-64,-86,-64v-63,0,-83,22,-83,52v0,80,193,33,193,129v0,35,-23,73,-103,73v-84,0,-117,-37,-117,-91","w":240},"T":{"d":"-5,-243r0,-14r224,0r0,14r-104,0r0,243r-17,0r0,-243r-103,0","w":213},"U":{"d":"19,-95r0,-162r17,0v8,113,-40,248,97,248v137,0,88,-135,97,-248r17,0r0,162v0,66,-38,101,-114,101v-76,0,-114,-35,-114,-101","w":266},"V":{"d":"111,0r-114,-257r18,0r105,236r105,-236r19,0r-114,257r-19,0","w":240},"W":{"d":"79,0r-84,-257r18,0r77,234r83,-234r21,0r83,234r76,-234r19,0r-85,257r-21,0r-83,-234r-83,234r-21,0","w":366},"X":{"d":"-3,0r109,-131r-105,-126r22,0r94,113r95,-113r21,0r-105,126r109,131r-22,0r-98,-118r-99,118r-21,0"},"Y":{"d":"112,-108r-119,-149r23,0r104,134r107,-134r21,0r-119,149r0,108r-17,0r0,-108","w":240},"Z":{"d":"-2,0r0,-18r202,-225r-190,0r0,-14r209,0r0,17r-202,226r205,0r0,14r-224,0","w":219},"[":{"d":"35,68r0,-325r59,0r0,14r-43,0r0,297r43,0r0,14r-59,0","w":106},"\\":{"d":"134,6r-138,-269r17,0r137,269r-16,0","w":146},"]":{"d":"55,54r0,-297r-43,0r0,-14r60,0r0,325r-60,0r0,-14r43,0","w":106},"^":{"d":"14,-90r85,-163r19,0r84,163r-14,0r-80,-151r-80,151r-14,0","w":216},"_":{"d":"180,45r-180,0r0,-18r180,0r0,18","w":180},"a":{"d":"86,-9v50,1,97,-27,85,-94v-32,26,-146,-9,-145,53v0,37,38,41,60,41xm34,-127r-16,0v6,-46,29,-63,85,-63v54,0,85,13,85,54r0,103v-4,23,12,25,28,19r0,15v-5,2,-12,3,-20,3v-24,1,-20,-20,-23,-41v-21,38,-64,43,-88,43v-16,0,-76,0,-76,-56v1,-61,78,-53,134,-58v19,-2,28,-3,28,-26v0,-25,-14,-42,-68,-42v-49,0,-64,16,-69,49","w":213},"b":{"d":"20,0r0,-257r17,0r0,112v11,-20,37,-45,82,-45v56,0,98,38,98,97v0,52,-33,99,-98,99v-48,0,-73,-24,-82,-46r0,40r-17,0xm121,-9v46,0,80,-31,80,-84v0,-56,-40,-83,-82,-83v-37,0,-84,21,-84,86v0,33,17,81,86,81","w":226},"c":{"d":"208,-126r-16,0v-2,-23,-35,-50,-79,-50v-58,0,-87,42,-87,86v0,30,20,81,87,81v37,0,73,-17,81,-55r17,0v-10,48,-52,70,-98,70v-60,0,-104,-39,-104,-96v0,-65,47,-100,104,-100v57,0,93,33,95,64","w":219},"d":{"d":"190,0v-1,-13,2,-29,-1,-40v-9,22,-33,46,-81,46v-65,0,-99,-47,-99,-99v0,-59,43,-97,99,-97v46,-1,69,26,82,45r0,-112r17,0r0,257r-17,0xm106,-9v69,0,86,-48,86,-81v-3,-120,-165,-112,-166,-3v0,53,34,84,80,84","w":226},"e":{"d":"214,-89r-188,0v1,46,33,80,88,80v57,0,72,-35,78,-52r17,0v-15,46,-48,67,-97,67v-63,0,-103,-39,-103,-100v0,-39,25,-96,103,-96v64,0,101,42,102,101xm26,-103r169,0v-7,-50,-42,-73,-84,-73v-48,0,-78,29,-85,73","w":219},"f":{"d":"40,0r0,-170r-44,0r0,-14r44,0v0,0,-5,-76,46,-75v8,0,19,1,29,2r0,14v-27,-1,-52,-13,-59,26r0,33r53,0r0,14r-53,0r0,170r-16,0","w":106},"g":{"d":"110,-176v-44,0,-84,25,-84,78v0,53,31,81,86,81v48,0,85,-25,85,-81v0,-49,-33,-78,-87,-78xm196,-147v3,-9,0,-26,1,-37r16,0r0,175v0,42,-15,88,-101,88v-57,0,-89,-17,-95,-62r16,0v4,29,25,48,79,48v89,0,88,-48,84,-111v-16,31,-48,44,-87,44v-72,0,-100,-46,-100,-95v0,-48,31,-93,101,-93v33,0,68,9,86,43"},"h":{"d":"20,0r0,-257r17,0r0,109v12,-22,36,-42,78,-42v85,0,85,54,85,76r0,114r-17,0v-8,-80,32,-178,-68,-176v-100,2,-75,89,-78,176r-17,0","w":219},"i":{"d":"22,0r0,-184r16,0r0,184r-16,0xm22,-219r0,-38r16,0r0,38r-16,0","w":59},"j":{"d":"38,-184r0,217v3,41,-33,51,-70,44r0,-14v5,1,15,2,23,2v31,0,31,-21,31,-46r0,-203r16,0xm22,-219r0,-38r16,0r0,38r-16,0","w":59},"k":{"d":"20,0r0,-257r17,0r0,171r131,-98r25,0r-94,69r102,115r-22,0r-93,-104r-49,36r0,68r-17,0","w":200},"l":{"d":"22,0r0,-257r16,0r0,257r-16,0","w":59},"m":{"d":"20,0r0,-184r17,0r0,31v14,-24,42,-37,71,-37v45,0,63,20,71,43v13,-28,38,-43,71,-43v106,0,72,102,77,190r-17,0v-7,-75,30,-174,-59,-176v-91,-2,-66,96,-69,176r-17,0v-7,-75,30,-176,-60,-176v-40,0,-68,24,-68,66r0,110r-17,0","w":347},"n":{"d":"20,0r0,-184r17,0r0,36v12,-22,36,-42,78,-42v85,0,85,54,85,76r0,114r-17,0v-8,-80,32,-178,-68,-176v-100,2,-75,89,-78,176r-17,0","w":219},"o":{"d":"113,-176v-116,0,-116,167,0,167v58,0,88,-41,88,-83v0,-42,-30,-84,-88,-84xm9,-92v0,-52,38,-98,104,-98v66,0,104,46,104,98v0,52,-38,98,-104,98v-66,0,-104,-46,-104,-98","w":226},"p":{"d":"20,73r0,-257r17,0r0,40v9,-22,34,-46,82,-46v65,0,98,46,98,98v0,59,-42,98,-98,98v-45,0,-71,-25,-82,-45r0,112r-17,0xm121,-176v-69,0,-86,49,-86,82v3,119,165,111,166,3v0,-53,-34,-85,-80,-85","w":226},"q":{"d":"190,73r-1,-112v-11,20,-36,45,-81,45v-56,0,-99,-39,-99,-98v0,-52,34,-98,99,-98v49,-1,71,26,82,46r0,-40r17,0r0,257r-17,0xm106,-176v-46,0,-80,32,-80,85v0,56,40,82,82,82v37,0,84,-20,84,-85v0,-33,-17,-82,-86,-82","w":226},"r":{"d":"20,0r0,-184r17,0r0,43v13,-35,48,-55,90,-47r0,17v-51,-14,-90,28,-90,71r0,100r-17,0","w":126},"s":{"d":"179,-130r-17,0v-3,-31,-22,-46,-70,-46v-73,0,-78,60,-23,68v49,7,117,5,117,59v0,50,-57,55,-88,55v-51,0,-87,-18,-90,-64r16,0v2,19,6,49,78,49v49,0,67,-14,67,-40v0,-71,-154,-4,-154,-89v0,-21,15,-52,78,-52v68,0,84,31,86,60","w":193},"t":{"d":"38,-184r0,-63r17,0r0,63r54,0r0,14r-54,0r0,133v-2,32,31,27,56,24r0,14v-42,9,-73,1,-73,-47r0,-124r-42,0r0,-14r42,0","w":113},"u":{"d":"200,-184r0,184r-17,0r0,-37v-12,22,-36,43,-78,43v-85,0,-85,-55,-85,-77r0,-113r17,0v8,80,-32,178,68,175v99,-2,76,-88,78,-175r17,0","w":219},"v":{"d":"92,0r-91,-184r18,0r81,167r81,-167r18,0r-91,184r-16,0","w":200},"w":{"d":"83,-21r63,-163r21,0r65,163r65,-163r18,0r-75,184r-19,0r-64,-166r-65,166r-19,0r-75,-184r19,0","w":313},"x":{"d":"-4,0r89,-96r-81,-88r23,0r70,76r70,-76r21,0r-81,87r90,97r-23,0r-78,-85r-79,85r-21,0","w":193},"y":{"d":"89,0r-94,-184r19,0r83,166r76,-166r19,0r-102,216v-9,27,-31,38,-71,34r0,-14v44,9,53,-20,70,-52","w":186},"z":{"d":"4,0r0,-17r150,-153r-140,0r0,-14r163,0r0,12r-154,158r160,0r0,14r-179,0","w":186},"{":{"d":"19,-87r0,-15v62,-6,-24,-175,79,-155r0,14v-27,1,-38,-7,-36,35v2,42,-2,114,-26,114v24,0,28,71,26,113v-2,42,8,34,36,35r0,14v-34,1,-52,1,-53,-42v-1,-42,9,-109,-26,-113","w":106},"|":{"d":"33,6r0,-269r14,0r0,269r-14,0","w":79},"}":{"d":"9,54v53,14,36,-52,36,-89v0,-41,15,-54,26,-59v-24,0,-28,-72,-26,-114v2,-41,-9,-34,-36,-35r0,-14v34,-1,52,-1,53,42v1,41,-10,109,25,113r0,15v-61,6,25,175,-78,155r0,-14","w":106},"~":{"d":"146,-72v-23,0,-50,-24,-74,-24v-21,0,-31,15,-36,27r-10,-12v11,-18,22,-30,44,-30v27,-1,48,23,77,25v14,0,27,-15,33,-27r10,11v-10,14,-23,30,-44,30","w":216},"\u00a1":{"d":"37,73r3,-191r13,0r3,191r-19,0xm37,-148r0,-36r19,0r0,36r-19,0","w":92},"\u00a2":{"d":"112,-9r0,-166v-53,4,-79,44,-79,85v0,29,19,77,79,81xm112,45r0,-40v-56,-3,-96,-40,-96,-95v0,-62,43,-97,96,-100r0,-33r12,0r0,33v54,1,89,33,91,64r-17,0v-2,-23,-32,-49,-74,-50r0,167v38,0,69,-18,77,-55r16,0v-9,47,-48,70,-93,70r0,39r-12,0"},"\u00a3":{"d":"219,-24v-55,70,-128,-17,-195,30r-10,-14v37,-31,60,-64,38,-108r-32,0r0,-12r27,0v-14,-24,-21,-44,-21,-62v0,-18,9,-69,91,-69v78,0,96,42,96,87r-16,0v0,-56,-33,-73,-80,-73v-35,0,-75,14,-75,55v0,19,13,42,24,62r81,0r0,12r-76,0v18,44,-7,80,-36,104v49,-28,76,3,121,3v25,0,44,-16,55,-29"},"\u00a5":{"d":"108,0r0,-61r-76,0r0,-12r76,0v-1,-14,3,-33,-4,-41r-72,0r0,-12r63,0r-99,-127r23,0r96,127r3,0r98,-127r21,0r-98,127r62,0r0,12r-72,0v-7,8,-3,27,-4,41r76,0r0,12r-76,0r0,61r-17,0"},"\u00a7":{"d":"191,-198r-17,0v0,-14,0,-50,-60,-50v-17,0,-58,0,-58,37v0,11,5,21,26,31r96,44v23,11,39,26,39,48v0,40,-37,50,-47,52v8,6,23,16,23,41v0,45,-42,53,-79,53v-31,0,-78,-7,-78,-67r17,0v0,37,21,53,62,53v12,0,61,0,61,-36v0,-49,-75,-55,-112,-76v-37,-21,-48,-34,-48,-55v0,-37,35,-48,47,-51v-48,-27,-17,-89,47,-89v50,0,81,16,81,65xm166,-123r-91,-43v-9,0,-43,13,-43,41v0,24,17,32,40,42r85,39v1,0,44,-5,44,-40v0,-24,-20,-32,-35,-39"},"\u00a4":{"d":"204,-50r-10,10r-19,-19v-34,30,-82,29,-116,0r-20,19r-10,-9r20,-20v-29,-33,-30,-83,0,-116r-20,-20r10,-9r20,20v34,-29,82,-30,116,0r19,-20r10,10r-20,19v30,33,29,83,0,116xm44,-127v0,40,33,73,73,73v40,0,72,-33,72,-73v0,-40,-32,-72,-72,-72v-40,0,-73,32,-73,72"},"'":{"d":"33,-174r0,-83r14,0r0,83r-14,0","w":79},"\u00ab":{"d":"92,-97r37,37r0,20r-49,-49r0,-16r49,-49r0,19xm39,-97r36,37r0,20r-49,-49r0,-16r49,-49r0,19","w":159},"\u00b7":{"d":"20,-115v0,-11,9,-20,20,-20v11,0,20,9,20,20v0,11,-9,20,-20,20v-11,0,-20,-9,-20,-20","w":79},"\u00b6":{"d":"93,53r0,-170v-42,0,-75,-31,-75,-69v0,-76,81,-74,159,-71r0,310r-15,0r0,-296r-55,0r0,296r-14,0","w":216},"\u00bb":{"d":"121,-97r-36,-38r0,-19r49,49r0,16r-49,49r0,-20xm68,-97r-37,-38r0,-19r49,49r0,16r-49,49r0,-20","w":159},"\u00bf":{"d":"126,-118v17,66,-85,76,-85,127v0,39,37,55,73,55v49,0,78,-21,78,-70r17,0v0,59,-38,84,-93,84v-53,0,-91,-21,-91,-68v0,-30,14,-45,47,-67v34,-22,38,-25,37,-61r17,0xm127,-184r0,36r-19,0r0,-36r19,0","w":226},"`":{"d":"37,-213r-56,-52r20,0r52,52r-16,0","w":59},"\u00b4":{"d":"58,-265r21,0r-56,52r-17,0","w":59},"\u00af":{"d":"-39,-230r0,-13r138,0r0,13r-138,0","w":59},"\u00a8":{"d":"-17,-215r0,-38r17,0r0,38r-17,0xm60,-215r0,-38r16,0r0,38r-16,0","w":59},"\u00b8":{"d":"6,27v12,-9,13,-29,35,-27v-6,7,-13,13,-18,21v21,-7,45,-1,47,20v-3,35,-52,28,-80,21r4,-10v21,5,51,16,61,-10v-1,-19,-33,-15,-43,-9","w":59},"\u00c6":{"d":"-12,0r167,-257r217,0r0,14r-170,0r0,103r162,0r0,14r-162,0r0,112r172,0r0,14r-189,0r0,-93r-117,0r-60,93r-20,0xm165,-243r-88,136r108,0r0,-136r-20,0","w":380},"\u00aa":{"d":"56,-150v29,0,62,-16,54,-57v-18,14,-92,-3,-92,32v0,12,7,25,38,25xm122,-228r0,59v-2,14,7,16,19,13r0,10v-13,4,-35,0,-32,-21v-21,46,-109,28,-103,-8v-3,-34,50,-34,85,-36v11,-1,19,-3,19,-13v0,-12,-3,-25,-41,-25v-27,0,-45,7,-45,28r-12,0v0,-28,25,-38,53,-38v29,0,57,4,57,31","w":138},"\u00d8":{"d":"12,-2r33,-34v-26,-29,-35,-66,-35,-93v0,-50,33,-134,137,-134v42,0,72,14,93,34r34,-34r8,8r-34,34v26,28,35,65,35,92v0,50,-32,135,-136,135v-42,0,-73,-14,-94,-33r-33,33xm57,-47r172,-171v-20,-18,-47,-30,-82,-30v-113,-2,-153,128,-90,201xm237,-210r-172,171v20,19,48,30,82,30v112,2,154,-128,90,-201","w":293},"\u00ba":{"d":"74,-249v-75,1,-74,98,0,99v73,-1,74,-98,0,-99xm6,-200v0,-39,31,-59,68,-59v37,0,67,20,67,59v0,39,-30,60,-67,60v-37,0,-68,-21,-68,-60","w":147},"\u00e6":{"d":"374,-89r-188,0v1,46,33,80,88,80v57,0,72,-35,78,-52r17,0v-22,84,-155,95,-189,10v-12,31,-42,58,-95,57v-16,0,-76,0,-76,-56v1,-61,78,-53,134,-58v19,-2,28,-3,28,-26v0,-25,-14,-42,-68,-42v-49,0,-64,16,-69,49r-16,0v6,-46,29,-63,85,-63v42,0,78,8,83,49v12,-30,44,-49,86,-49v64,0,101,42,102,101xm186,-103r169,0v-7,-50,-43,-73,-85,-73v-48,0,-77,29,-84,73xm86,-9v50,1,97,-27,85,-94v-32,26,-146,-9,-145,53v0,37,38,41,60,41","w":379},"\u00f8":{"d":"47,-35r126,-121v-14,-12,-34,-20,-60,-20v-84,0,-110,89,-66,141xm180,-149r-126,120v15,13,34,20,59,20v84,1,111,-87,67,-140xm10,0r26,-24v-56,-60,-20,-169,77,-166v29,0,53,9,71,24r26,-25r6,7r-25,24v55,61,19,169,-78,166v-30,0,-53,-10,-70,-24r-26,25","w":226},"\u00df":{"d":"37,0r-17,0r0,-188v0,-53,33,-74,84,-74v49,0,87,16,87,63v0,22,-14,48,-51,56v43,3,64,30,64,69v0,51,-52,91,-114,74r0,-14v46,9,98,0,98,-63v0,-46,-40,-60,-94,-58r0,-14v46,2,82,-13,81,-50v0,-17,-10,-49,-70,-49v-51,0,-68,24,-68,60r0,188","w":213},"\u00f7":{"d":"17,-84r0,-14r182,0r0,14r-182,0xm89,-163v0,-10,9,-19,19,-19v10,0,19,9,19,19v0,10,-9,19,-19,19v-10,0,-19,-9,-19,-19xm89,-19v0,-10,9,-19,19,-19v10,0,19,9,19,19v0,10,-9,19,-19,19v-10,0,-19,-9,-19,-19","w":216},"\u00be":{"d":"199,-51r89,-102r12,0r0,104r32,0r0,10r-32,0r0,39r-12,0r0,-39r-89,0r0,-12xm288,-49r0,-89r-76,89r76,0xm98,6r165,-265r14,0r-164,265r-15,0xm75,-180r0,-10v19,0,55,0,55,-29v0,-48,-98,-39,-94,11r-12,0v1,-38,26,-51,64,-51v23,0,54,9,54,40v1,23,-18,29,-36,34v23,0,41,14,41,40v0,37,-35,46,-65,46v-35,0,-63,-14,-63,-55r13,0v0,35,25,45,53,45v22,0,49,-8,49,-36v0,-33,-36,-35,-59,-35","w":349},"\u00bc":{"d":"199,-51r89,-101r12,0r0,103r32,0r0,10r-32,0r0,39r-12,0r0,-39r-89,0r0,-12xm288,-49r0,-89r-76,89r76,0xm63,-103r0,-133v-15,12,-35,18,-52,20r0,-10v17,-1,45,-12,53,-29r12,0r0,152r-13,0xm73,6r165,-265r14,0r-165,265r-14,0","w":349},"\u00b9":{"d":"72,-103r0,-133v-15,12,-35,18,-52,20r0,-10v17,-1,45,-12,53,-29r12,0r0,152r-13,0","w":139},"\u00d7":{"d":"28,-21r71,-70r-71,-70r10,-10r70,71r70,-71r10,10r-71,70r71,70r-10,9r-70,-70r-70,70","w":216},"\u00ae":{"d":"92,-49r0,-159v51,2,115,-14,113,44v0,28,-15,38,-40,42r47,73r-16,0r-48,-73r-41,0r0,73r-15,0xm107,-196r0,62v37,-2,84,9,84,-30v0,-41,-46,-31,-84,-32xm24,-129v0,66,54,120,120,120v66,0,120,-54,120,-120v0,-66,-54,-119,-120,-119v-66,0,-120,53,-120,119xm10,-129v0,-74,60,-134,134,-134v74,0,134,60,134,134v0,74,-60,135,-134,135v-74,0,-134,-61,-134,-135","w":288},"\u00de":{"d":"22,0r0,-257r16,0r0,54v88,8,196,-33,196,71v0,43,-25,73,-81,73r-115,0r0,59r-16,0xm38,-189r0,116v76,-7,179,29,179,-58v0,-58,-46,-58,-68,-58r-111,0","w":240},"\u00a6":{"d":"33,6r0,-97r14,0r0,97r-14,0xm33,-166r0,-97r14,0r0,97r-14,0","w":79},"\u00d0":{"d":"22,0r0,-126r-22,0r0,-14r22,0r0,-117v128,1,235,-24,235,128v0,75,-38,129,-118,129r-117,0xm38,-243r0,103r96,0r0,14r-96,0r0,112r104,0v57,0,98,-36,98,-115v0,-124,-90,-117,-202,-114","w":273},"\u00bd":{"d":"73,6r165,-265r14,0r-165,265r-14,0xm63,-103r0,-133v-15,12,-35,18,-52,20r0,-10v17,-1,45,-12,53,-29r12,0r0,152r-13,0xm323,-109v0,49,-99,60,-108,99r112,0r0,10r-124,0v-6,-55,108,-61,108,-109v0,-25,-23,-34,-44,-34v-35,0,-49,17,-49,43r-12,0v0,-37,20,-53,61,-53v28,0,56,12,56,44","w":349},"\u00e7":{"d":"194,-64r17,0v-9,47,-49,68,-95,69v-3,5,-12,11,-12,16v21,-7,46,-1,46,20v0,35,-52,28,-80,21r4,-10v21,5,52,16,62,-10v-1,-19,-33,-15,-43,-9v-15,-8,7,-19,12,-28v-56,-3,-96,-41,-96,-95v0,-65,47,-100,104,-100v57,0,93,33,95,64r-16,0v-2,-23,-35,-50,-79,-50v-58,0,-87,42,-87,86v0,30,20,81,87,81v37,0,73,-17,81,-55","w":219},"\u00f0":{"d":"113,-176v-116,0,-116,167,0,167v58,0,88,-41,88,-83v0,-42,-30,-84,-88,-84xm9,-92v0,-52,38,-98,100,-98v34,0,65,10,87,43v-23,-62,-71,-97,-136,-113r10,-11v85,21,147,86,147,175v0,60,-38,102,-104,102v-66,0,-104,-46,-104,-98xm167,-271r8,8r-97,48r-9,-7","w":226},"\u00b1":{"d":"17,-100r0,-14r84,0r0,-68r14,0r0,68r84,0r0,14r-84,0r0,68r-14,0r0,-68r-84,0xm17,0r0,-14r182,0r0,14r-182,0","w":216},"\u00c7":{"d":"257,-98r17,0v-6,49,-49,103,-125,104v-3,5,-12,10,-12,15v21,-7,46,-1,46,20v0,35,-52,28,-80,21r4,-10v21,5,52,16,62,-10v-1,-19,-33,-15,-43,-9v-13,-8,7,-19,12,-28v-73,-4,-128,-53,-128,-134v0,-62,43,-134,137,-134v62,0,109,30,122,87r-16,0v-12,-49,-58,-72,-106,-72v-73,0,-120,54,-120,119v0,64,41,120,120,120v57,0,100,-33,110,-89","w":286},"\u00fe":{"d":"20,73r0,-330r17,0r0,113v9,-22,34,-46,82,-46v65,0,98,46,98,98v0,59,-42,98,-98,98v-45,0,-71,-25,-82,-45r0,112r-17,0xm121,-176v-69,0,-86,49,-86,82v3,119,165,111,166,3v0,-53,-34,-85,-80,-85","w":226},"\u00a9":{"d":"24,-129v0,66,54,120,120,120v66,0,120,-54,120,-120v0,-66,-54,-119,-120,-119v-66,0,-120,53,-120,119xm217,-158r-15,0v-20,-74,-121,-44,-121,29v0,40,26,74,67,74v29,0,49,-17,54,-46r15,0v-5,35,-34,58,-69,58v-49,0,-81,-37,-81,-86v0,-49,30,-84,81,-84v35,0,64,20,69,55xm10,-129v0,-74,60,-134,134,-134v74,0,134,60,134,134v0,74,-60,135,-134,135v-74,0,-134,-61,-134,-135","w":288},"\u00ac":{"d":"185,-39r0,-80r-168,0r0,-14r182,0r0,94r-14,0","w":216},"\u00b2":{"d":"134,-215v0,49,-99,60,-108,99r112,0r0,10r-124,0v-6,-55,108,-60,108,-109v0,-25,-23,-34,-44,-34v-35,0,-49,17,-49,43r-12,0v0,-37,20,-53,61,-53v28,0,56,12,56,44","w":151},"\u00b3":{"d":"67,-180r0,-10v19,0,56,0,56,-29v0,-48,-98,-39,-94,11r-12,0v1,-38,26,-51,64,-51v23,0,54,9,54,40v1,23,-18,29,-36,34v23,0,40,14,40,40v0,37,-34,46,-64,46v-35,0,-63,-14,-63,-55r12,0v0,35,26,45,54,45v22,0,49,-8,49,-36v0,-33,-37,-35,-60,-35","w":151},"\u00b0":{"d":"20,-207v0,-29,23,-52,52,-52v29,0,52,23,52,52v0,29,-23,52,-52,52v-29,0,-52,-23,-52,-52xm32,-207v0,22,18,40,40,40v22,0,40,-18,40,-40v0,-22,-18,-40,-40,-40v-22,0,-40,18,-40,40","w":144},"\u00c1":{"d":"-4,0r118,-257r19,0r118,257r-19,0r-38,-83r-141,0r-38,83r-19,0xm123,-238r-64,141r129,0xm152,-323r21,0r-56,52r-17,0","w":246},"\u00c2":{"d":"189,-272r-19,0r-47,-41r-46,41r-19,0r55,-51r21,0xm-4,0r118,-257r19,0r118,257r-19,0r-38,-83r-141,0r-38,83r-19,0xm123,-238r-64,141r129,0","w":246},"\u00c4":{"d":"-4,0r118,-257r19,0r118,257r-19,0r-38,-83r-141,0r-38,83r-19,0xm123,-238r-64,141r129,0xm77,-273r0,-38r17,0r0,38r-17,0xm154,-273r0,-38r16,0r0,38r-16,0","w":246},"\u00c0":{"d":"-4,0r118,-257r19,0r118,257r-19,0r-38,-83r-141,0r-38,83r-19,0xm123,-238r-64,141r129,0xm131,-271r-56,-52r20,0r52,52r-16,0","w":246},"\u00c5":{"d":"84,-302v0,-22,17,-40,39,-40v22,0,40,18,40,40v0,22,-18,39,-40,39v-22,0,-39,-17,-39,-39xm96,-302v0,15,12,27,27,27v15,0,28,-12,28,-27v0,-15,-13,-28,-28,-28v-15,0,-27,13,-27,28xm-4,0r118,-257r19,0r118,257r-19,0r-38,-83r-141,0r-38,83r-19,0xm123,-238r-64,141r129,0","w":246},"\u00c3":{"d":"155,-280v-30,-1,-71,-42,-82,0r-12,0v2,-15,15,-32,34,-32v27,0,72,40,79,0r12,0v-3,16,-13,32,-31,32xm-4,0r118,-257r19,0r118,257r-19,0r-38,-83r-141,0r-38,83r-19,0xm123,-238r-64,141r129,0","w":246},"\u00c9":{"d":"22,0r0,-257r203,0r0,14r-187,0r0,103r179,0r0,14r-179,0r0,112r189,0r0,14r-205,0xm145,-323r21,0r-56,52r-17,0"},"\u00ca":{"d":"183,-272r-20,0r-46,-41r-47,41r-19,0r56,-51r20,0xm22,0r0,-257r203,0r0,14r-187,0r0,103r179,0r0,14r-179,0r0,112r189,0r0,14r-205,0"},"\u00cb":{"d":"22,0r0,-257r203,0r0,14r-187,0r0,103r179,0r0,14r-179,0r0,112r189,0r0,14r-205,0xm70,-273r0,-38r17,0r0,38r-17,0xm147,-273r0,-38r16,0r0,38r-16,0"},"\u00c8":{"d":"22,0r0,-257r203,0r0,14r-187,0r0,103r179,0r0,14r-179,0r0,112r189,0r0,14r-205,0xm124,-271r-56,-52r20,0r52,52r-16,0"},"\u00cd":{"d":"22,0r0,-257r16,0r0,257r-16,0xm58,-323r21,0r-56,52r-17,0","w":59},"\u00ce":{"d":"96,-272r-19,0r-47,-41r-47,41r-19,0r56,-51r20,0xm22,0r0,-257r16,0r0,257r-16,0","w":59},"\u00cf":{"d":"22,0r0,-257r16,0r0,257r-16,0xm-17,-273r0,-38r17,0r0,38r-17,0xm60,-273r0,-38r16,0r0,38r-16,0","w":59},"\u00cc":{"d":"22,0r0,-257r16,0r0,257r-16,0xm37,-271r-56,-52r20,0r52,52r-16,0","w":59},"\u00d1":{"d":"168,-280v-29,-1,-71,-42,-82,0r-12,0v2,-15,15,-32,34,-32v27,0,72,40,79,0r12,0v-2,16,-13,32,-31,32xm22,0r0,-257r20,0r193,234r0,-234r17,0r0,257r-21,0r-193,-234r0,234r-16,0","w":273},"\u00d3":{"d":"27,-129v0,62,43,120,120,120v77,0,120,-58,120,-120v0,-62,-43,-119,-120,-119v-77,0,-120,57,-120,119xm10,-129v0,-50,33,-134,137,-134v104,0,136,84,136,134v0,50,-32,135,-136,135v-104,0,-137,-85,-137,-135xm175,-323r21,0r-56,52r-17,0","w":293},"\u00d4":{"d":"213,-272r-19,0r-47,-41r-47,41r-19,0r56,-51r20,0xm27,-129v0,62,43,120,120,120v77,0,120,-58,120,-120v0,-62,-43,-119,-120,-119v-77,0,-120,57,-120,119xm10,-129v0,-50,33,-134,137,-134v104,0,136,84,136,134v0,50,-32,135,-136,135v-104,0,-137,-85,-137,-135","w":293},"\u00d6":{"d":"27,-129v0,62,43,120,120,120v77,0,120,-58,120,-120v0,-62,-43,-119,-120,-119v-77,0,-120,57,-120,119xm10,-129v0,-50,33,-134,137,-134v104,0,136,84,136,134v0,50,-32,135,-136,135v-104,0,-137,-85,-137,-135xm100,-273r0,-38r17,0r0,38r-17,0xm177,-273r0,-38r16,0r0,38r-16,0","w":293},"\u00d2":{"d":"27,-129v0,62,43,120,120,120v77,0,120,-58,120,-120v0,-62,-43,-119,-120,-119v-77,0,-120,57,-120,119xm10,-129v0,-50,33,-134,137,-134v104,0,136,84,136,134v0,50,-32,135,-136,135v-104,0,-137,-85,-137,-135xm154,-271r-56,-52r20,0r52,52r-16,0","w":293},"\u00d5":{"d":"179,-280v-30,-1,-72,-42,-83,0r-12,0v2,-15,15,-32,34,-32v27,0,72,40,79,0r13,0v-3,16,-13,32,-31,32xm27,-129v0,62,43,120,120,120v77,0,120,-58,120,-120v0,-62,-43,-119,-120,-119v-77,0,-120,57,-120,119xm10,-129v0,-50,33,-134,137,-134v104,0,136,84,136,134v0,50,-32,135,-136,135v-104,0,-137,-85,-137,-135","w":293},"\u00da":{"d":"19,-95r0,-162r17,0v8,113,-40,248,97,248v137,0,88,-135,97,-248r17,0r0,162v0,66,-38,101,-114,101v-76,0,-114,-35,-114,-101xm161,-323r21,0r-56,52r-17,0","w":266},"\u00db":{"d":"199,-272r-19,0r-47,-41r-47,41r-19,0r56,-51r20,0xm19,-95r0,-162r17,0v8,113,-40,248,97,248v137,0,88,-135,97,-248r17,0r0,162v0,66,-38,101,-114,101v-76,0,-114,-35,-114,-101","w":266},"\u00dc":{"d":"19,-95r0,-162r17,0v8,113,-40,248,97,248v137,0,88,-135,97,-248r17,0r0,162v0,66,-38,101,-114,101v-76,0,-114,-35,-114,-101xm86,-273r0,-38r17,0r0,38r-17,0xm163,-273r0,-38r16,0r0,38r-16,0","w":266},"\u00d9":{"d":"19,-95r0,-162r17,0v8,113,-40,248,97,248v137,0,88,-135,97,-248r17,0r0,162v0,66,-38,101,-114,101v-76,0,-114,-35,-114,-101xm140,-271r-56,-52r20,0r52,52r-16,0","w":266},"\u00dd":{"d":"112,-108r-119,-149r23,0r104,134r107,-134r21,0r-119,149r0,108r-17,0r0,-108xm148,-323r21,0r-56,52r-17,0","w":240},"\u00e1":{"d":"86,-9v50,1,97,-27,85,-94v-32,26,-146,-9,-145,53v0,37,38,41,60,41xm34,-127r-16,0v6,-46,29,-63,85,-63v54,0,85,13,85,54r0,103v-4,23,12,25,28,19r0,15v-5,2,-12,3,-20,3v-24,1,-20,-20,-23,-41v-21,38,-64,43,-88,43v-16,0,-76,0,-76,-56v1,-61,78,-53,134,-58v19,-2,28,-3,28,-26v0,-25,-14,-42,-68,-42v-49,0,-64,16,-69,49xm135,-265r21,0r-56,52r-17,0","w":213},"\u00e2":{"d":"173,-213r-19,0r-47,-42r-47,42r-19,0r56,-52r20,0xm86,-9v50,1,97,-27,85,-94v-32,26,-146,-9,-145,53v0,37,38,41,60,41xm34,-127r-16,0v6,-46,29,-63,85,-63v54,0,85,13,85,54r0,103v-4,23,12,25,28,19r0,15v-5,2,-12,3,-20,3v-24,1,-20,-20,-23,-41v-21,38,-64,43,-88,43v-16,0,-76,0,-76,-56v1,-61,78,-53,134,-58v19,-2,28,-3,28,-26v0,-25,-14,-42,-68,-42v-49,0,-64,16,-69,49","w":213},"\u00e4":{"d":"86,-9v50,1,97,-27,85,-94v-32,26,-146,-9,-145,53v0,37,38,41,60,41xm34,-127r-16,0v6,-46,29,-63,85,-63v54,0,85,13,85,54r0,103v-4,23,12,25,28,19r0,15v-5,2,-12,3,-20,3v-24,1,-20,-20,-23,-41v-21,38,-64,43,-88,43v-16,0,-76,0,-76,-56v1,-61,78,-53,134,-58v19,-2,28,-3,28,-26v0,-25,-14,-42,-68,-42v-49,0,-64,16,-69,49xm60,-215r0,-38r17,0r0,38r-17,0xm137,-215r0,-38r16,0r0,38r-16,0","w":213},"\u00e0":{"d":"86,-9v50,1,97,-27,85,-94v-32,26,-146,-9,-145,53v0,37,38,41,60,41xm34,-127r-16,0v6,-46,29,-63,85,-63v54,0,85,13,85,54r0,103v-4,23,12,25,28,19r0,15v-5,2,-12,3,-20,3v-24,1,-20,-20,-23,-41v-21,38,-64,43,-88,43v-16,0,-76,0,-76,-56v1,-61,78,-53,134,-58v19,-2,28,-3,28,-26v0,-25,-14,-42,-68,-42v-49,0,-64,16,-69,49xm114,-213r-56,-52r20,0r52,52r-16,0","w":213},"\u00e5":{"d":"67,-244v0,-22,18,-40,40,-40v22,0,40,18,40,40v0,22,-18,40,-40,40v-22,0,-40,-18,-40,-40xm80,-244v0,15,12,27,27,27v15,0,27,-12,27,-27v0,-15,-12,-27,-27,-27v-15,0,-27,12,-27,27xm86,-9v50,1,97,-27,85,-94v-32,26,-146,-9,-145,53v0,37,38,41,60,41xm34,-127r-16,0v6,-46,29,-63,85,-63v54,0,85,13,85,54r0,103v-4,23,12,25,28,19r0,15v-5,2,-12,3,-20,3v-24,1,-20,-20,-23,-41v-21,38,-64,43,-88,43v-16,0,-76,0,-76,-56v1,-61,78,-53,134,-58v19,-2,28,-3,28,-26v0,-25,-14,-42,-68,-42v-49,0,-64,16,-69,49","w":213},"\u00e3":{"d":"139,-222v-30,0,-70,-41,-82,0r-13,0v2,-15,15,-31,34,-31v27,0,71,40,79,0r13,0v-3,15,-12,31,-31,31xm86,-9v50,1,97,-27,85,-94v-32,26,-146,-9,-145,53v0,37,38,41,60,41xm34,-127r-16,0v6,-46,29,-63,85,-63v54,0,85,13,85,54r0,103v-4,23,12,25,28,19r0,15v-5,2,-12,3,-20,3v-24,1,-20,-20,-23,-41v-21,38,-64,43,-88,43v-16,0,-76,0,-76,-56v1,-61,78,-53,134,-58v19,-2,28,-3,28,-26v0,-25,-14,-42,-68,-42v-49,0,-64,16,-69,49","w":213},"\u00e9":{"d":"214,-89r-188,0v1,46,33,80,88,80v57,0,72,-35,78,-52r17,0v-15,46,-48,67,-97,67v-63,0,-103,-39,-103,-100v0,-39,25,-96,103,-96v64,0,101,42,102,101xm26,-103r169,0v-7,-50,-42,-73,-84,-73v-48,0,-78,29,-85,73xm138,-265r21,0r-56,52r-17,0","w":219},"\u00ea":{"d":"176,-213r-19,0r-47,-42r-47,42r-19,0r56,-52r20,0xm214,-89r-188,0v1,46,33,80,88,80v57,0,72,-35,78,-52r17,0v-15,46,-48,67,-97,67v-63,0,-103,-39,-103,-100v0,-39,25,-96,103,-96v64,0,101,42,102,101xm26,-103r169,0v-7,-50,-42,-73,-84,-73v-48,0,-78,29,-85,73","w":219},"\u00eb":{"d":"214,-89r-188,0v1,46,33,80,88,80v57,0,72,-35,78,-52r17,0v-15,46,-48,67,-97,67v-63,0,-103,-39,-103,-100v0,-39,25,-96,103,-96v64,0,101,42,102,101xm26,-103r169,0v-7,-50,-42,-73,-84,-73v-48,0,-78,29,-85,73xm63,-215r0,-38r17,0r0,38r-17,0xm140,-215r0,-38r16,0r0,38r-16,0","w":219},"\u00e8":{"d":"214,-89r-188,0v1,46,33,80,88,80v57,0,72,-35,78,-52r17,0v-15,46,-48,67,-97,67v-63,0,-103,-39,-103,-100v0,-39,25,-96,103,-96v64,0,101,42,102,101xm26,-103r169,0v-7,-50,-42,-73,-84,-73v-48,0,-78,29,-85,73xm117,-213r-56,-52r20,0r52,52r-16,0","w":219},"\u00ed":{"d":"22,0r0,-184r16,0r0,184r-16,0xm58,-265r21,0r-56,52r-17,0","w":59},"\u00ee":{"d":"96,-213r-19,0r-47,-42r-47,42r-19,0r56,-52r20,0xm22,0r0,-184r16,0r0,184r-16,0","w":59},"\u00ef":{"d":"22,0r0,-184r16,0r0,184r-16,0xm-17,-215r0,-38r17,0r0,38r-17,0xm60,-215r0,-38r16,0r0,38r-16,0","w":59},"\u00ec":{"d":"22,0r0,-184r16,0r0,184r-16,0xm37,-213r-56,-52r20,0r52,52r-16,0","w":59},"\u00f1":{"d":"142,-222v-30,0,-70,-41,-82,0r-12,0v2,-15,14,-31,33,-31v27,0,72,39,80,0r12,0v-3,15,-12,31,-31,31xm20,0r0,-184r17,0r0,36v12,-22,36,-42,78,-42v85,0,85,54,85,76r0,114r-17,0v-8,-80,32,-178,-68,-176v-100,2,-75,89,-78,176r-17,0","w":219},"\u00f3":{"d":"113,-176v-116,0,-116,167,0,167v58,0,88,-41,88,-83v0,-42,-30,-84,-88,-84xm9,-92v0,-52,38,-98,104,-98v66,0,104,46,104,98v0,52,-38,98,-104,98v-66,0,-104,-46,-104,-98xm142,-265r21,0r-56,52r-17,0","w":226},"\u00f4":{"d":"179,-213r-19,0r-47,-42r-46,42r-19,0r55,-52r20,0xm113,-176v-116,0,-116,167,0,167v58,0,88,-41,88,-83v0,-42,-30,-84,-88,-84xm9,-92v0,-52,38,-98,104,-98v66,0,104,46,104,98v0,52,-38,98,-104,98v-66,0,-104,-46,-104,-98","w":226},"\u00f6":{"d":"113,-176v-116,0,-116,167,0,167v58,0,88,-41,88,-83v0,-42,-30,-84,-88,-84xm9,-92v0,-52,38,-98,104,-98v66,0,104,46,104,98v0,52,-38,98,-104,98v-66,0,-104,-46,-104,-98xm67,-215r0,-38r17,0r0,38r-17,0xm144,-215r0,-38r16,0r0,38r-16,0","w":226},"\u00f2":{"d":"113,-176v-116,0,-116,167,0,167v58,0,88,-41,88,-83v0,-42,-30,-84,-88,-84xm9,-92v0,-52,38,-98,104,-98v66,0,104,46,104,98v0,52,-38,98,-104,98v-66,0,-104,-46,-104,-98xm121,-213r-56,-52r20,0r52,52r-16,0","w":226},"\u00f5":{"d":"145,-222v-30,0,-70,-41,-82,0r-12,0v2,-15,15,-31,34,-31v27,1,71,39,79,0r12,0v-3,15,-12,31,-31,31xm113,-176v-116,0,-116,167,0,167v58,0,88,-41,88,-83v0,-42,-30,-84,-88,-84xm9,-92v0,-52,38,-98,104,-98v66,0,104,46,104,98v0,52,-38,98,-104,98v-66,0,-104,-46,-104,-98","w":226},"\u00fa":{"d":"200,-184r0,184r-17,0r0,-37v-12,22,-36,43,-78,43v-85,0,-85,-55,-85,-77r0,-113r17,0v8,80,-32,178,68,175v99,-2,76,-88,78,-175r17,0xm138,-265r21,0r-56,52r-17,0","w":219},"\u00fb":{"d":"176,-213r-19,0r-47,-42r-47,42r-19,0r56,-52r20,0xm200,-184r0,184r-17,0r0,-37v-12,22,-36,43,-78,43v-85,0,-85,-55,-85,-77r0,-113r17,0v8,80,-32,178,68,175v99,-2,76,-88,78,-175r17,0","w":219},"\u00fc":{"d":"200,-184r0,184r-17,0r0,-37v-12,22,-36,43,-78,43v-85,0,-85,-55,-85,-77r0,-113r17,0v8,80,-32,178,68,175v99,-2,76,-88,78,-175r17,0xm63,-215r0,-38r17,0r0,38r-17,0xm140,-215r0,-38r16,0r0,38r-16,0","w":219},"\u00f9":{"d":"200,-184r0,184r-17,0r0,-37v-12,22,-36,43,-78,43v-85,0,-85,-55,-85,-77r0,-113r17,0v8,80,-32,178,68,175v99,-2,76,-88,78,-175r17,0xm117,-213r-56,-52r20,0r52,52r-16,0","w":219},"\u00fd":{"d":"89,0r-94,-184r19,0r83,166r76,-166r19,0r-102,216v-9,27,-31,38,-71,34r0,-14v44,9,53,-20,70,-52xm122,-265r21,0r-56,52r-17,0","w":186},"\u00ff":{"d":"89,0r-94,-184r19,0r83,166r76,-166r19,0r-102,216v-9,27,-31,38,-71,34r0,-14v44,9,53,-20,70,-52xm47,-215r0,-38r17,0r0,38r-17,0xm124,-215r0,-38r16,0r0,38r-16,0","w":186},"\u00a0":{"w":79}}});
Cufon.registerFont({"w":200,"face":{"font-family":"helvetica-neue-roman","font-weight":400,"font-stretch":"normal","units-per-em":"360","panose-1":"2 11 5 0 0 0 0 0 0 0","ascent":"283","descent":"-77","x-height":"4","bbox":"-21 -343 329 77","underline-thickness":"18","underline-position":"-18","stemh":"27","stemv":"31","unicode-range":"U+0020-U+00FF"},"glyphs":{" ":{"w":100},"\u00a0":{"w":100},"!":{"d":"64,-257v2,68,-4,130,-9,191r-16,0r-9,-112r0,-79r34,0xm27,0r0,-40r40,0r0,40r-40,0","w":93},"\"":{"d":"39,-164r0,-93r25,0r0,93r-25,0xm90,-164r0,-93r24,0r0,93r-24,0","w":153},"#":{"d":"37,0r10,-74r-35,0r0,-25r39,0r7,-54r-36,0r0,-24r40,0r10,-74r25,0r-11,74r45,0r10,-74r25,0r-10,74r32,0r0,24r-35,0r-8,54r33,0r0,25r-37,0r-10,74r-25,0r11,-74r-45,0r-10,74r-25,0xm128,-153r-45,0r-7,54r44,0"},"$":{"d":"90,-150r0,-84v-23,3,-41,16,-41,43v0,26,17,34,41,41xm110,-113r0,90v27,-2,47,-15,47,-46v0,-27,-21,-36,-47,-44xm9,-78r31,0v1,32,21,50,50,55r0,-95v-51,-12,-73,-28,-73,-70v0,-44,32,-72,73,-75r0,-24r20,0r0,24v39,5,62,30,71,71r-31,0v-5,-23,-18,-37,-40,-41r0,88v36,9,79,16,79,73v0,46,-33,74,-79,78r0,30r-20,0r0,-30v-47,-5,-77,-34,-81,-84"},"%":{"d":"68,8r193,-268r31,0r-193,268r-31,0xm211,-67v0,-39,14,-73,58,-73v45,0,58,33,58,72v0,37,-16,72,-58,72v-44,0,-58,-32,-58,-71xm238,-68v0,21,3,53,30,53v27,0,32,-31,32,-53v0,-21,-4,-52,-31,-52v-27,0,-31,30,-31,52xm33,-182v0,-39,14,-73,58,-73v45,0,58,33,58,72v0,37,-16,72,-58,72v-44,0,-58,-32,-58,-71xm60,-183v0,21,3,52,30,52v27,0,32,-30,32,-52v0,-21,-4,-52,-31,-52v-27,0,-31,30,-31,52","w":360},"&":{"d":"148,-53r-59,-71v-24,14,-45,27,-45,58v0,54,83,55,104,13xm192,0r-27,-32v-15,24,-45,36,-73,36v-69,0,-80,-49,-80,-70v0,-40,27,-61,60,-78v-14,-21,-28,-34,-28,-60v0,-28,21,-53,58,-53v32,0,62,18,62,53v0,31,-23,52,-48,66r46,57v5,-13,7,-26,8,-40r29,0v-3,30,-6,40,-17,63r50,58r-40,0xm99,-158v15,-9,34,-23,34,-45v0,-15,-11,-27,-29,-27v-14,0,-30,8,-30,27v0,15,14,31,25,45","w":226},"(":{"d":"97,71r-24,0v-72,-101,-76,-232,0,-334r24,0v-66,106,-64,228,0,334","w":93},")":{"d":"20,71r-24,0v66,-106,64,-228,0,-334r24,0v72,101,76,232,0,334","w":93},"*":{"d":"72,-257r0,41r39,-15r7,18r-39,13r24,33r-15,11r-25,-34r-23,34r-17,-11r24,-33r-38,-13r6,-18r38,15r0,-41r19,0","w":126},"+":{"d":"120,-182r0,79r79,0r0,24r-79,0r0,79r-24,0r0,-79r-79,0r0,-24r79,0r0,-79r24,0","w":216},",":{"d":"30,0r0,-40r40,0v2,47,0,82,-40,93r0,-18v16,-5,22,-23,21,-35r-21,0","w":100},"-":{"d":"18,-86r0,-28r104,0r0,28r-104,0","w":140},"\u00ad":{"d":"18,-86r0,-28r104,0r0,28r-104,0","w":140},".":{"d":"30,0r0,-40r40,0r0,40r-40,0","w":100},"\/":{"d":"-6,6r106,-269r26,0r-106,269r-26,0","w":119},"0":{"d":"15,-125v0,-57,5,-130,85,-130v80,0,85,73,85,130v0,56,-5,129,-85,129v-80,0,-85,-73,-85,-129xm48,-126v0,38,0,103,52,103v52,0,53,-65,53,-103v0,-38,-1,-102,-53,-102v-52,0,-52,64,-52,102"},"1":{"d":"128,-255r0,255r-30,0r0,-183r-67,0r0,-24v35,0,67,-9,74,-48r23,0"},"2":{"d":"9,0v-3,-104,134,-103,136,-182v0,-28,-22,-46,-49,-46v-36,0,-51,32,-50,63r-30,0v-3,-52,28,-90,82,-90v45,0,80,25,80,73v0,87,-118,89,-134,155r131,0r0,27r-166,0"},"3":{"d":"78,-120r0,-26v33,5,61,-8,62,-41v0,-27,-19,-41,-45,-41v-33,0,-48,25,-48,55r-31,0v2,-49,28,-82,79,-82v44,0,78,21,78,68v1,23,-18,41,-35,52v31,7,46,31,46,62v0,51,-40,77,-88,77v-52,0,-86,-30,-85,-83r30,0v1,33,20,56,55,56v30,0,55,-18,55,-49v0,-39,-33,-54,-73,-48"},"4":{"d":"151,-255r0,168r34,0r0,27r-34,0r0,60r-29,0r0,-60r-112,0r0,-29r116,-166r25,0xm36,-87r86,0r-1,-125"},"5":{"d":"169,-251r0,27r-103,0r-13,74v50,-42,130,-9,130,69v0,43,-30,85,-89,85v-44,0,-80,-27,-81,-73r30,0v2,26,23,46,54,46v29,0,54,-19,54,-60v0,-58,-76,-77,-105,-34r-27,-1r24,-133r126,0"},"6":{"d":"103,-137v-34,0,-53,25,-53,57v0,32,20,57,53,57v33,0,51,-26,51,-56v0,-32,-16,-58,-51,-58xm180,-190r-31,0v-3,-23,-19,-38,-43,-38v-51,-1,-63,60,-61,97v37,-63,142,-29,142,50v0,37,-21,85,-85,85v-76,0,-88,-68,-88,-122v0,-70,21,-137,94,-137v42,0,68,24,72,65"},"7":{"d":"183,-251r0,26v-51,51,-93,145,-98,225r-34,0v6,-86,47,-165,101,-222r-134,0r0,-29r165,0"},"8":{"d":"47,-72v0,31,22,49,54,49v31,0,52,-21,52,-49v0,-28,-23,-49,-52,-49v-30,0,-54,19,-54,49xm23,-190v0,-42,36,-65,75,-65v89,-2,100,90,42,118v31,10,46,32,46,64v0,49,-38,77,-85,77v-49,0,-87,-25,-87,-77v0,-30,17,-54,45,-64v-21,-9,-36,-30,-36,-53xm56,-189v0,28,20,41,45,41v24,0,42,-15,42,-41v0,-26,-18,-39,-43,-39v-24,0,-44,13,-44,39"},"9":{"d":"147,-170v0,-31,-18,-58,-52,-58v-36,0,-50,29,-50,60v0,28,20,54,50,54v32,0,52,-26,52,-56xm18,-62r30,0v2,25,23,39,47,39v36,0,59,-36,57,-99v-35,66,-140,31,-140,-50v0,-49,35,-83,84,-83v48,0,88,26,88,122v0,88,-27,137,-89,137v-43,0,-73,-22,-77,-66"},":":{"d":"30,0r0,-40r40,0r0,40r-40,0xm70,-186r0,40r-40,0r0,-40r40,0","w":100},";":{"d":"30,0r0,-40r40,0v2,47,0,82,-40,93r0,-18v16,-5,22,-23,21,-35r-21,0xm70,-186r0,40r-40,0r0,-40r40,0","w":100},"<":{"d":"199,-185r0,24r-153,70r153,69r0,25r-182,-83r0,-22","w":216},"=":{"d":"199,-140r0,25r-182,0r0,-25r182,0xm17,-42r0,-25r182,0r0,25r-182,0","w":216},">":{"d":"17,3r0,-25r153,-69r-153,-70r0,-24r182,83r0,22","w":216},"?":{"d":"176,-191v0,62,-69,62,-62,128r-30,0v-9,-72,60,-70,60,-131v0,-26,-18,-42,-44,-42v-34,0,-50,26,-50,59r-30,0v-1,-49,30,-86,80,-86v44,0,76,26,76,72xm78,0r0,-40r40,0r0,40r-40,0"},"@":{"d":"151,-182v-34,0,-57,44,-57,75v0,20,13,35,31,35v31,0,55,-46,55,-76v0,-17,-14,-34,-29,-34xm222,-199r-34,120v0,6,3,11,9,11v22,0,50,-43,50,-82v0,-57,-48,-93,-98,-93v-62,0,-109,52,-109,115v0,107,141,153,200,71r23,0v-23,40,-67,63,-113,63v-76,0,-135,-60,-135,-136v0,-74,61,-133,134,-133v67,0,122,46,122,111v0,63,-50,104,-84,104v-13,0,-21,-9,-24,-23v-27,41,-96,25,-96,-33v0,-50,33,-102,84,-102v17,0,33,7,41,29r8,-22r22,0","w":288},"A":{"d":"-3,0r101,-257r38,0r100,257r-38,0r-28,-77r-108,0r-29,77r-36,0xm117,-226v-17,38,-29,81,-45,120r87,0","w":233,"k":{"y":6,"w":6,"v":6,"Y":27,"W":9,"V":17,"T":33}},"B":{"d":"62,-118r0,89v57,-2,137,15,134,-46v-2,-60,-78,-39,-134,-43xm28,-257v83,3,192,-20,192,63v0,27,-15,48,-39,58v78,18,59,136,-29,136r-124,0r0,-257xm62,-228r0,81v51,-1,126,10,123,-41v-4,-60,-72,-34,-123,-40","w":246},"C":{"d":"243,-180r-34,0v-7,-36,-36,-54,-72,-54v-61,0,-87,50,-87,104v0,59,25,107,87,107v45,0,71,-32,74,-74r35,0v-6,64,-47,103,-112,103v-80,0,-119,-59,-119,-134v0,-75,43,-135,122,-135v54,0,98,28,106,83","w":259},"D":{"d":"28,0r0,-257r88,0v79,0,124,39,124,122v0,86,-38,135,-124,135r-88,0xm62,-228r0,199r57,0v23,0,87,-6,87,-101v0,-61,-23,-98,-86,-98r-58,0","w":253},"E":{"d":"28,0r0,-257r178,0r0,29r-144,0r0,81r134,0r0,29r-134,0r0,89r145,0r0,29r-179,0","w":219},"F":{"d":"28,0r0,-257r169,0r0,29r-135,0r0,81r118,0r0,29r-118,0r0,118r-34,0","w":206,"k":{"A":20,".":57,",":57}},"G":{"d":"229,0r-9,-32v-20,27,-52,38,-82,38v-77,0,-123,-62,-123,-129v0,-75,42,-140,123,-140v56,0,100,25,110,85r-34,0v-7,-39,-38,-56,-76,-56v-62,0,-88,54,-88,109v0,54,31,102,88,102v53,0,84,-37,82,-84r-82,0r0,-28r113,0r0,135r-22,0","w":273},"H":{"d":"28,0r0,-257r34,0r0,110r136,0r0,-110r34,0r0,257r-34,0r0,-118r-136,0r0,118r-34,0","w":259},"I":{"d":"30,0r0,-257r34,0r0,257r-34,0","w":93},"J":{"d":"159,-257r0,193v0,35,-18,70,-76,70v-54,0,-79,-33,-75,-91r34,0v-1,36,5,62,42,62v31,0,41,-18,41,-46r0,-188r34,0","w":186},"K":{"d":"28,0r0,-257r34,0r0,128r131,-128r44,0r-108,104r112,153r-43,0r-93,-130r-43,40r0,90r-34,0","w":240},"L":{"d":"28,0r0,-257r34,0r0,228r136,0r0,29r-170,0","k":{"y":13,"Y":40,"W":20,"V":33,"T":33}},"M":{"d":"29,0r0,-257r47,0r81,216r81,-216r47,0r0,257r-33,0r0,-214r-81,214r-29,0r-81,-214r0,214r-32,0","w":313},"N":{"d":"28,0r0,-257r36,0r136,208r0,-208r33,0r0,257r-38,0r-135,-206r0,206r-32,0","w":259},"O":{"d":"14,-129v0,-70,41,-134,123,-134v82,0,123,64,123,134v0,70,-41,135,-123,135v-82,0,-123,-65,-123,-135xm137,-234v-121,1,-120,210,0,211v120,-1,120,-210,0,-211","w":273},"P":{"d":"28,0r0,-257r113,0v51,0,79,28,79,76v0,48,-28,76,-79,76r-79,0r0,105r-34,0xm62,-228r0,94v55,0,129,9,123,-47v6,-55,-68,-47,-123,-47","w":233,"k":{"A":27,".":64,",":64}},"Q":{"d":"255,1r-17,21r-40,-31v-17,10,-37,15,-61,15v-82,0,-123,-65,-123,-135v0,-70,41,-134,123,-134v127,0,157,162,84,237xm144,-53r18,-20r34,27v53,-56,39,-188,-59,-188v-121,1,-120,210,0,211v13,0,24,-2,35,-7","w":273},"R":{"d":"62,-139v57,-4,130,17,131,-45v0,-25,-14,-44,-46,-44r-85,0r0,89xm198,0v-17,-27,9,-110,-52,-110r-84,0r0,110r-34,0r0,-257r121,0v86,-9,106,110,34,132v56,13,26,86,53,125r-38,0","w":246,"k":{"Y":13,"W":6,"V":6,"T":6}},"S":{"d":"186,-69v0,-73,-165,-28,-165,-119v0,-52,46,-75,93,-75v53,0,93,24,95,81r-32,0v-4,-37,-29,-52,-64,-52v-29,0,-58,11,-58,44v0,32,42,36,83,45v41,9,82,24,82,74v0,55,-53,77,-100,77v-58,0,-107,-28,-107,-91r33,0v0,43,36,62,75,62v31,0,65,-9,65,-46","w":233},"T":{"d":"86,0r0,-228r-85,0r0,-29r205,0r0,29r-85,0r0,228r-35,0","w":206,"k":{"y":40,"w":40,"u":33,"s":40,"r":33,"o":40,"e":40,"c":40,"a":40,"A":33,";":40,":":40,".":40,"-":46,",":40}},"U":{"d":"233,-257r0,164v0,65,-37,99,-101,99v-66,0,-105,-31,-105,-99r0,-164r34,0r0,164v0,45,26,70,71,70v101,0,58,-143,67,-234r34,0","w":259},"V":{"d":"221,-257r-92,257r-39,0r-90,-257r37,0r74,223r74,-223r36,0","w":219,"k":{"y":6,"u":13,"r":13,"o":20,"i":6,"e":20,"a":20,"A":17,";":17,":":17,".":46,"-":20,",":46}},"W":{"d":"329,-257r-69,257r-35,0r-60,-216r-59,216r-36,0r-66,-257r35,0r51,214r58,-214r37,0r58,214r52,-214r34,0","w":333,"k":{"u":6,"r":6,"o":21,"e":21,"a":13,"A":9,";":6,":":6,".":27,",":27}},"X":{"d":"0,0r89,-132r-84,-125r41,0r64,100r67,-100r38,0r-85,125r90,132r-41,0r-70,-106r-71,106r-38,0","w":219},"Y":{"d":"233,-257r-99,152r0,105r-34,0r0,-105r-99,-152r40,0r77,122r76,-122r39,0","w":233,"k":{"v":20,"u":27,"q":33,"p":27,"o":40,"i":13,"e":40,"a":33,"A":27,";":33,":":33,".":50,"-":40,",":50}},"Z":{"d":"8,0r0,-29r160,-199r-148,0r0,-29r188,0r0,29r-159,199r163,0r0,29r-204,0","w":219},"[":{"d":"93,-263r0,24r-38,0r0,286r38,0r0,24r-67,0r0,-334r67,0","w":93},"\\":{"d":"20,-263r106,269r-26,0r-106,-269r26,0","w":119},"]":{"d":"0,71r0,-24r39,0r0,-286r-39,0r0,-24r67,0r0,334r-67,0","w":93},"^":{"d":"18,-95r78,-156r24,0r78,156r-25,0r-65,-130r-64,130r-26,0","w":216},"_":{"d":"0,45r0,-18r180,0r0,18r-180,0","w":180},"a":{"d":"138,-96v-25,17,-94,1,-93,46v0,20,17,27,36,27v55,0,60,-27,57,-73xm188,-24r0,23v-18,9,-51,7,-48,-23v-31,41,-126,42,-127,-24v0,-42,31,-51,63,-57v34,-6,63,-4,63,-27v0,-48,-90,-40,-88,4r-31,0v2,-46,38,-62,79,-62v33,0,70,7,70,51r0,95v-1,19,4,24,19,20","w":193},"b":{"d":"168,-95v0,-35,-17,-68,-57,-68v-41,0,-57,35,-57,70v0,37,16,70,58,70v42,0,56,-36,56,-72xm24,0r0,-257r31,0r0,96v10,-21,34,-29,60,-29v57,0,86,44,86,97v0,53,-28,97,-85,97v-19,0,-47,-7,-61,-29r0,25r-31,0","w":213},"c":{"d":"181,-126r-32,0v-5,-23,-21,-37,-46,-37v-44,0,-58,34,-58,72v0,34,16,68,55,68v30,0,47,-17,51,-45r31,0v-7,45,-35,72,-82,72v-57,0,-87,-40,-87,-95v0,-56,29,-99,88,-99v42,0,76,20,80,64","w":193},"d":{"d":"189,-257r0,257r-30,0v-1,-8,2,-19,-1,-25v-10,21,-33,29,-59,29v-57,0,-86,-45,-86,-98v0,-82,93,-130,146,-67r0,-96r30,0xm45,-91v0,35,18,68,58,68v41,0,57,-35,57,-70v0,-37,-17,-70,-59,-70v-42,0,-56,36,-56,72","w":213},"e":{"d":"152,-59r30,0v-8,41,-38,63,-80,63v-59,0,-89,-41,-89,-98v0,-56,36,-96,87,-96v66,0,87,61,85,106r-140,0v-1,32,17,61,58,61v25,0,44,-12,49,-36xm45,-111r107,0v-1,-29,-23,-52,-53,-52v-32,0,-52,24,-54,52","w":193},"f":{"d":"36,0r0,-159r-32,0r0,-27r32,0v-8,-53,19,-85,71,-71r0,27v-18,-6,-41,-5,-41,18r0,26r36,0r0,27r-36,0r0,159r-30,0","w":106,"k":{"f":6}},"g":{"d":"98,-25v72,0,77,-137,2,-138v-39,0,-55,31,-55,67v0,33,13,71,53,71xm184,-186v-7,109,35,262,-87,262v-35,0,-75,-14,-77,-55r31,0v1,22,28,30,48,30v44,1,61,-37,55,-83v-10,23,-35,34,-58,34v-55,0,-83,-43,-83,-94v0,-44,22,-98,86,-98v24,-1,43,12,56,31r0,-27r29,0","w":206},"h":{"d":"23,0r0,-257r31,0r0,98v10,-22,37,-31,59,-31v94,-2,56,109,64,190r-30,0r0,-126v0,-23,-15,-37,-38,-37v-76,-1,-51,94,-55,163r-31,0"},"i":{"d":"25,0r0,-186r30,0r0,186r-30,0xm55,-257r0,37r-30,0r0,-37r30,0","w":79},"j":{"d":"55,-186r0,210v0,39,-24,51,-60,46r0,-26v19,1,30,1,30,-25r0,-205r30,0xm55,-257r0,37r-30,0r0,-37r30,0","w":79},"k":{"d":"25,0r0,-257r30,0r0,152r85,-81r41,0r-73,68r79,118r-39,0r-64,-97r-29,26r0,71r-30,0","w":186},"l":{"d":"25,0r0,-257r30,0r0,257r-30,0","w":79},"m":{"d":"23,0r0,-186r29,0v1,8,-2,21,1,27v22,-38,93,-46,111,0v25,-46,120,-44,120,23r0,136r-31,0r0,-122v0,-23,-6,-41,-36,-41v-72,-1,-42,99,-48,163r-31,0r0,-122v0,-24,-8,-41,-35,-41v-79,0,-40,93,-49,163r-31,0","w":307},"n":{"d":"23,0r0,-186r29,0v1,9,-2,22,1,29v13,-23,33,-33,60,-33v94,-2,56,109,64,190r-30,0r0,-126v0,-23,-15,-37,-38,-37v-76,-1,-51,94,-55,163r-31,0"},"o":{"d":"13,-93v0,-55,31,-97,90,-97v59,0,91,42,91,97v0,54,-32,97,-91,97v-59,0,-90,-43,-90,-97xm45,-93v0,45,26,70,58,70v32,0,58,-25,58,-70v0,-45,-26,-70,-58,-70v-32,0,-58,25,-58,70","w":206},"p":{"d":"168,-95v0,-35,-17,-68,-57,-68v-41,0,-57,35,-57,70v0,37,16,70,58,70v42,0,56,-36,56,-72xm24,71r0,-257r31,0r0,25v10,-21,34,-29,60,-29v57,0,86,44,86,97v0,53,-28,97,-85,97v-19,0,-47,-7,-61,-29r0,96r-31,0","w":213},"q":{"d":"189,-186r0,257r-30,0r-1,-96v-10,21,-33,29,-59,29v-57,0,-86,-45,-86,-98v0,-82,93,-130,146,-67r0,-25r30,0xm45,-91v0,35,18,68,58,68v41,0,57,-35,57,-70v0,-37,-17,-70,-59,-70v-42,0,-56,36,-56,72","w":213},"r":{"d":"22,0r0,-186r29,0r0,39v15,-30,36,-44,69,-43r0,32v-81,-4,-66,83,-67,158r-31,0","w":119,"k":{"q":6,"o":6,"n":-6,"g":10,"e":6,"d":6,"c":6,".":33,"-":20,",":33}},"s":{"d":"48,-140v10,47,121,19,121,86v0,44,-41,58,-79,58v-42,0,-77,-17,-79,-63r31,0v1,27,25,36,50,36v19,0,45,-4,45,-27v0,-50,-122,-19,-122,-88v0,-37,38,-52,70,-52v41,0,73,13,76,58r-31,0v-2,-24,-23,-31,-43,-31v-18,0,-39,4,-39,23","w":180},"t":{"d":"66,-242r0,56r37,0r0,27r-37,0r0,115v-4,19,18,17,37,17r0,27v-40,0,-68,3,-68,-41r0,-118r-32,0r0,-27r32,0r0,-56r31,0","w":113},"u":{"d":"177,-186r0,186r-29,0r0,-30v-13,23,-34,34,-61,34v-94,2,-56,-109,-64,-190r31,0r0,126v0,23,14,37,37,37v77,1,52,-93,56,-163r30,0"},"v":{"d":"175,-186r-68,186r-33,0r-69,-186r34,0r53,155r51,-155r32,0","w":180,"k":{".":27,",":27}},"w":{"d":"267,-186r-60,186r-32,0r-39,-148r-37,148r-33,0r-60,-186r34,0r43,152r37,-152r34,0r39,152r42,-152r32,0","w":272,"k":{".":20,",":20}},"x":{"d":"3,0r70,-98r-65,-88r40,0r44,65r47,-65r36,0r-64,86r72,100r-39,0r-52,-77r-52,77r-37,0","w":186},"y":{"d":"177,-186r-81,211v-17,44,-35,58,-75,46r0,-28v17,8,36,6,43,-12r13,-32r-74,-185r34,0r56,152r52,-152r32,0","w":180,"k":{".":27,",":27}},"z":{"d":"8,0r0,-23r112,-136r-105,0r0,-27r145,0r0,21r-114,138r119,0r0,27r-157,0","w":172},"{":{"d":"111,-263r0,21v-51,-11,-35,54,-35,97v0,35,-24,45,-31,50v8,1,31,11,31,48v0,38,-21,105,35,97r0,21v-39,3,-64,-5,-64,-47v0,-42,6,-108,-30,-108r0,-24v36,0,30,-66,30,-108v0,-42,25,-50,64,-47","w":119},"|":{"d":"28,77r0,-360r24,0r0,360r-24,0","w":79},"}":{"d":"9,71r0,-21v51,11,35,-54,35,-97v0,-35,24,-44,31,-49v-8,-1,-31,-12,-31,-49v0,-38,21,-105,-35,-97r0,-21v39,-3,64,5,64,47v0,42,-7,109,30,108r0,24v-35,0,-30,66,-30,108v0,42,-25,50,-64,47","w":119},"~":{"d":"70,-113v24,0,57,26,77,26v14,0,23,-15,31,-28r13,18v-11,15,-23,31,-45,31v-37,0,-91,-53,-108,2r-13,-18v8,-15,21,-31,45,-31","w":216},"\u00a1":{"d":"30,71v-2,-68,4,-130,9,-191r16,0r9,112r0,79r-34,0xm67,-186r0,40r-40,0r0,-40r40,0","w":93},"\u00a2":{"d":"98,-23r0,-140v-67,7,-67,134,0,140xm98,42r0,-38v-53,-2,-81,-42,-81,-95v0,-52,27,-95,81,-99r0,-35r14,0r0,35v39,1,68,20,73,64r-31,0v-5,-22,-19,-36,-42,-37r0,140v26,-3,40,-21,44,-45r30,0v-4,36,-29,72,-74,72r0,38r-14,0"},"\u00a3":{"d":"196,-10v-46,44,-117,-23,-162,14r-17,-24v31,-18,52,-60,31,-98r-31,0r0,-16r21,0v-10,-16,-17,-34,-17,-56v0,-46,38,-73,82,-73v53,0,86,31,85,93r-31,0v-1,-41,-17,-66,-52,-66v-29,0,-52,20,-52,47v0,24,11,37,19,55r57,0r0,16r-49,0v20,39,-6,75,-35,95v40,-26,102,20,135,-11"},"\u00a5":{"d":"84,0r0,-63r-51,0r0,-21r51,0v1,-13,-2,-21,-7,-27r-44,0r0,-22r33,0r-66,-124r39,0r63,127r61,-127r37,0r-64,124r34,0r0,22r-46,0v-4,7,-7,15,-6,27r52,0r0,21r-52,0r0,63r-34,0"},"\u00a7":{"d":"68,-151v-14,5,-26,18,-26,33v0,44,61,48,88,73v14,-6,26,-17,26,-33v0,-43,-60,-49,-88,-73xm138,14v-7,-54,-125,-58,-125,-131v0,-22,17,-44,38,-50v-38,-37,0,-96,50,-96v39,0,65,21,66,66r-30,0v0,-22,-14,-39,-37,-39v-19,0,-34,10,-34,31v0,50,120,58,120,123v0,23,-16,44,-38,52v44,33,16,101,-46,101v-42,0,-69,-26,-72,-68r30,0v-5,45,75,58,78,11"},"\u00a4":{"d":"9,-200r18,-17r20,20v27,-25,79,-25,106,-1r20,-20r18,19r-20,19v25,27,25,80,0,108r20,20r-17,17r-20,-21v-28,27,-81,26,-108,0r-20,21r-17,-17r20,-21v-25,-27,-26,-80,1,-106xm101,-189v-34,0,-60,28,-60,63v0,35,27,63,60,63v33,0,58,-28,58,-63v0,-34,-25,-63,-58,-63"},"'":{"d":"38,-164r0,-93r24,0r0,93r-24,0","w":100},"\u00ab":{"d":"143,-41r-54,-43r0,-32r54,-43r0,31r-36,28r36,28r0,31xm73,-41r-55,-43r0,-32r55,-43r0,31r-36,28r36,28r0,31","w":166},"\u00b7":{"d":"27,-112v0,-13,11,-23,23,-23v12,0,23,11,23,23v0,12,-11,23,-23,23v-13,0,-23,-11,-23,-23","w":100},"\u2219":{"d":"27,-112v0,-13,11,-23,23,-23v12,0,23,11,23,23v0,12,-11,23,-23,23v-13,0,-23,-11,-23,-23","w":100},"\u00b6":{"d":"185,-257r0,313r-24,0r0,-293r-44,0r0,293r-24,0r0,-172v-44,0,-76,-30,-76,-67v0,-47,32,-74,82,-74r86,0","w":216},"\u00bb":{"d":"23,-159r55,43r0,32r-55,43r0,-31r36,-28r-36,-28r0,-31xm94,-159r55,43r0,32r-55,43r0,-31r36,-28r-36,-28r0,-31","w":166},"\u00bf":{"d":"24,4v0,-62,67,-63,63,-126r30,0v8,70,-60,68,-60,128v0,26,17,43,43,43v34,0,50,-27,50,-60r31,0v1,49,-31,87,-81,87v-44,0,-76,-26,-76,-72xm121,-186r0,40r-40,0r0,-40r40,0"},"`":{"d":"39,-212r-47,-51r39,0r31,51r-23,0","w":79},"\u00b4":{"d":"18,-212r31,-51r39,0r-47,51r-23,0","w":79},"\u00af":{"d":"-21,-223r0,-20r123,0r0,20r-123,0","w":79},"\u02c9":{"d":"-21,-223r0,-20r123,0r0,20r-123,0","w":79},"\u00a8":{"d":"58,-213r0,-38r32,0r0,38r-32,0xm-10,-213r0,-38r32,0r0,38r-32,0","w":79},"\u00b8":{"d":"2,69r6,-16v12,6,45,8,45,-7v0,-11,-22,-14,-32,-8v-13,-14,10,-25,16,-38r15,0v-5,7,-11,12,-15,20v17,-8,44,2,43,24v-3,36,-50,37,-78,25","w":79},"\u00c6":{"d":"-3,0r130,-257r193,0r0,29r-126,0r0,81r118,0r0,29r-118,0r0,89r128,0r0,29r-161,0r0,-75r-88,0r-37,75r-39,0xm161,-228r-14,0r-61,124r75,0r0,-124","w":333},"\u00aa":{"d":"9,-169v-9,-45,84,-29,85,-51v0,-16,-14,-17,-28,-17v-17,0,-29,5,-30,20r-22,0v1,-28,25,-38,53,-38v22,0,47,5,47,31r0,58v-1,14,5,11,13,10r0,16v-13,6,-34,3,-34,-13v-20,24,-84,23,-84,-16xm93,-197v-15,12,-59,2,-60,27v6,31,68,8,60,-10r0,-17","w":136},"\u00d8":{"d":"66,-61r133,-147v-14,-16,-35,-26,-62,-26v-90,0,-108,108,-71,173xm208,-195r-132,147v14,16,34,25,61,25v89,-1,109,-107,71,-172xm249,-263r11,11r-29,32v60,81,25,228,-94,226v-35,0,-63,-12,-83,-31r-29,32r-12,-11r31,-33v-62,-80,-27,-229,93,-226v36,0,63,13,83,32","w":273},"\u00ba":{"d":"69,-255v39,0,60,26,60,60v0,35,-21,58,-60,58v-38,0,-60,-24,-60,-58v0,-33,21,-60,60,-60xm105,-195v-2,-63,-72,-53,-72,0v0,22,10,40,36,40v26,0,36,-18,36,-40","w":138},"\u00e6":{"d":"272,-111v-1,-29,-19,-52,-51,-52v-33,0,-53,22,-53,52r104,0xm139,-96v-27,16,-94,2,-94,46v0,20,17,27,36,27v55,0,61,-27,58,-73xm305,-84r-137,0v-10,60,89,87,103,25r31,0v-9,68,-115,88,-148,27v-22,48,-142,56,-141,-16v0,-42,31,-51,63,-57v45,-9,63,-8,63,-30v0,-25,-21,-28,-42,-28v-26,0,-45,8,-46,35r-31,0v2,-46,38,-62,79,-62v22,0,51,4,62,27v13,-19,37,-27,60,-27v65,0,84,48,84,106","w":313},"\u00f8":{"d":"56,-49r87,-98v-39,-35,-101,-10,-98,54v0,17,4,32,11,44xm151,-136r-87,97v38,35,100,10,97,-54v0,-18,-4,-32,-10,-43xm194,-183r-21,24v45,58,17,163,-70,163v-25,0,-44,-7,-59,-20r-22,24r-10,-9r23,-25v-45,-58,-19,-164,68,-164v25,0,46,7,61,21r21,-24","w":206},"\u00df":{"d":"23,0r0,-191v0,-43,28,-72,71,-72v35,0,75,21,75,63v0,27,-11,47,-38,56v84,21,50,156,-34,148v-5,0,-10,0,-15,-1r0,-27v39,6,66,-16,66,-51v0,-47,-26,-54,-66,-54r0,-25v29,2,54,-8,54,-41v0,-23,-17,-41,-40,-41v-25,0,-42,10,-42,50r0,186r-31,0"},"\u00b9":{"d":"90,-255r0,154r-25,0r0,-111r-41,0r0,-18v23,0,44,-5,48,-25r18,0","w":119},"\u00ac":{"d":"199,-140r0,101r-25,0r0,-76r-157,0r0,-25r182,0","w":216},"\u00b5":{"d":"177,-186r0,186r-29,0r0,-30v-14,32,-68,47,-94,21r0,80r-31,0r0,-257r31,0r0,126v0,23,14,37,37,37v77,1,52,-93,56,-163r30,0"},"\u03bc":{"d":"177,-186r0,186r-29,0r0,-30v-14,32,-68,47,-94,21r0,80r-31,0r0,-257r31,0r0,126v0,23,14,37,37,37v77,1,52,-93,56,-163r30,0"},"\u00d0":{"d":"28,0r0,-122r-25,0r0,-25r25,0r0,-110r88,0v79,0,124,39,124,122v0,86,-38,135,-124,135r-88,0xm62,-228r0,81r77,0r0,25r-77,0r0,93r57,0v23,0,87,-6,87,-101v0,-61,-23,-98,-86,-98r-58,0","w":253},"\u00bd":{"d":"49,10r156,-271r23,0r-156,271r-23,0xm79,-255r0,154r-25,0r0,-111r-41,0r0,-18v23,0,44,-5,48,-25r18,0xm178,0v-4,-63,86,-62,87,-109v0,-15,-13,-26,-30,-26v-22,0,-30,17,-30,36r-24,0v0,-33,22,-55,55,-55v29,0,53,16,53,45v1,50,-76,56,-87,89r85,0r0,20r-109,0","w":300},"\u00b1":{"d":"17,-98r0,-24r79,0r0,-60r24,0r0,60r79,0r0,24r-79,0r0,61r-24,0r0,-61r-79,0xm17,0r0,-24r182,0r0,24r-182,0","w":216},"\u00de":{"d":"62,0r-34,0r0,-257r34,0r0,41r79,0v51,0,79,28,79,76v0,48,-28,76,-79,76r-79,0r0,64xm62,-187r0,94v55,0,129,9,123,-47v6,-55,-68,-47,-123,-47","w":233},"\u00bc":{"d":"260,-154r0,100r22,0r0,19r-22,0r0,35r-22,0r0,-35r-72,0r0,-20r76,-99r18,0xm238,-124v-20,22,-35,47,-54,70r54,0r0,-70xm54,10r157,-271r23,0r-157,271r-23,0xm79,-255r0,154r-25,0r0,-111r-41,0r0,-18v23,0,44,-5,48,-25r18,0","w":300},"\u00f7":{"d":"17,-79r0,-24r182,0r0,24r-182,0xm85,-165v0,-13,11,-23,23,-23v12,0,23,11,23,23v0,12,-11,23,-23,23v-13,0,-23,-11,-23,-23xm85,-17v0,-13,11,-23,23,-23v12,0,23,11,23,23v0,12,-11,23,-23,23v-13,0,-23,-11,-23,-23","w":216},"\u00a6":{"d":"28,32r0,-90r24,0r0,90r-24,0xm52,-238r0,90r-24,0r0,-90r24,0","w":79},"\u00b0":{"d":"20,-203v0,-29,23,-52,52,-52v29,0,52,23,52,52v0,29,-23,51,-52,51v-29,0,-52,-22,-52,-51xm72,-237v-46,0,-44,67,0,67v21,0,34,-16,34,-33v0,-17,-13,-34,-34,-34","w":144},"\u00fe":{"d":"168,-95v0,-35,-17,-68,-57,-68v-41,0,-57,35,-57,70v0,37,16,70,58,70v42,0,56,-36,56,-72xm55,-257r0,96v10,-21,34,-29,60,-29v57,0,86,44,86,97v0,53,-28,97,-85,97v-19,0,-47,-7,-61,-29r0,96r-31,0r0,-328r31,0","w":213},"\u00be":{"d":"266,-154r0,100r22,0r0,19r-22,0r0,35r-22,0r0,-35r-72,0r0,-20r76,-99r18,0xm190,-53r54,0r0,-69xm77,10r157,-271r23,0r-157,271r-23,0xm64,-172r0,-18v20,1,38,-3,38,-23v0,-14,-11,-22,-27,-22v-19,0,-29,13,-29,31r-25,0v2,-31,22,-51,54,-51v50,0,72,57,27,72v18,7,32,19,32,38v0,32,-29,47,-59,47v-32,0,-57,-18,-57,-51r24,0v0,20,12,31,33,31v18,0,34,-10,34,-26v-1,-24,-21,-30,-45,-28","w":300},"\u00b2":{"d":"5,-101v-4,-63,87,-61,87,-109v0,-15,-13,-25,-30,-25v-22,0,-30,16,-30,35r-24,0v0,-33,22,-55,55,-55v29,0,53,16,53,45v0,50,-75,56,-86,89r84,0r0,20r-109,0","w":119},"\u00ae":{"d":"9,-129v0,-76,61,-134,135,-134v73,0,135,58,135,134v0,77,-62,135,-135,135v-74,0,-135,-58,-135,-135xm33,-129v0,66,48,115,111,115v62,0,111,-49,111,-115v0,-64,-49,-114,-111,-114v-63,0,-111,50,-111,114xm92,-50r0,-157v52,0,116,-8,116,45v0,28,-19,39,-42,42r45,70r-26,0r-43,-68r-26,0r0,68r-24,0xm116,-188r0,50v30,-2,68,9,67,-25v-1,-33,-37,-24,-67,-25","w":288},"\u00f0":{"d":"13,-93v0,-68,83,-119,136,-69v-11,-25,-33,-46,-44,-54r-42,19r-13,-14r39,-19v-8,-6,-18,-13,-25,-17r25,-16v6,5,19,12,28,20r43,-20r12,13r-41,19v43,35,63,83,63,138v0,54,-32,97,-91,97v-59,0,-90,-43,-90,-97xm102,-155v-37,0,-57,25,-57,62v0,45,26,70,58,70v32,0,58,-25,58,-70v0,-33,-17,-62,-59,-62","w":206},"\u00d7":{"d":"43,-9r-17,-17r65,-65r-65,-65r17,-18r65,65r65,-65r17,18r-64,65r65,65r-17,17r-66,-65","w":216},"\u00b3":{"d":"48,-172r0,-18v20,1,38,-3,38,-23v0,-14,-12,-22,-28,-22v-19,0,-28,13,-28,31r-25,0v2,-31,21,-51,53,-51v50,0,73,57,28,72v18,7,31,19,31,38v0,32,-28,47,-58,47v-32,0,-58,-18,-58,-51r25,0v0,20,12,31,33,31v18,0,34,-10,34,-26v-1,-24,-21,-30,-45,-28","w":119},"\u00a9":{"d":"9,-129v0,-76,61,-134,135,-134v73,0,135,58,135,134v0,77,-62,135,-135,135v-74,0,-135,-58,-135,-135xm33,-129v0,66,48,115,111,115v62,0,111,-49,111,-115v0,-64,-49,-114,-111,-114v-63,0,-111,50,-111,114xm193,-103r23,0v-18,95,-154,59,-147,-26v-11,-88,134,-115,146,-27r-22,0v-19,-62,-107,-34,-100,27v-9,62,90,88,100,26","w":288},"\u00c1":{"d":"-3,0r101,-257r38,0r100,257r-38,0r-28,-77r-108,0r-29,77r-36,0xm117,-226v-17,38,-29,81,-45,120r87,0xm95,-275r31,-52r39,0r-47,52r-23,0","w":233},"\u00c2":{"d":"-3,0r101,-257r38,0r100,257r-38,0r-28,-77r-108,0r-29,77r-36,0xm117,-226v-17,38,-29,81,-45,120r87,0xm63,-275r37,-52r33,0r38,52r-31,0r-24,-35r-26,35r-27,0","w":233},"\u00c4":{"d":"-3,0r101,-257r38,0r100,257r-38,0r-28,-77r-108,0r-29,77r-36,0xm117,-226v-17,38,-29,81,-45,120r87,0xm134,-277r0,-37r33,0r0,37r-33,0xm67,-277r0,-37r32,0r0,37r-32,0","w":233},"\u00c0":{"d":"-3,0r101,-257r38,0r100,257r-38,0r-28,-77r-108,0r-29,77r-36,0xm117,-226v-17,38,-29,81,-45,120r87,0xm116,-275r-48,-52r40,0r31,52r-23,0","w":233},"\u00c5":{"d":"-3,0r101,-257r38,0r100,257r-38,0r-28,-77r-108,0r-29,77r-36,0xm117,-226v-17,38,-29,81,-45,120r87,0xm92,-302v0,14,11,24,25,24v14,0,24,-10,24,-24v0,-14,-10,-25,-24,-25v-14,0,-25,11,-25,25xm76,-302v0,-22,19,-41,41,-41v22,0,40,19,40,41v0,22,-18,41,-40,41v-22,0,-41,-19,-41,-41","w":233},"\u00c3":{"d":"-3,0r101,-257r38,0r100,257r-38,0r-28,-77r-108,0r-29,77r-36,0xm117,-226v-17,38,-29,81,-45,120r87,0xm94,-318v23,1,58,30,67,-2r18,0v-3,20,-12,42,-39,40v-12,0,-36,-14,-48,-14v-8,0,-18,6,-17,15r-19,0v6,-21,15,-39,38,-39","w":233},"\u00c7":{"d":"243,-180r-34,0v-7,-36,-36,-54,-72,-54v-61,0,-87,50,-87,104v0,59,25,107,87,107v45,0,71,-32,74,-74r35,0v-6,63,-46,102,-109,103v-3,5,-8,8,-10,14v17,-8,44,2,43,24v-3,36,-50,37,-78,25r6,-16v12,6,45,8,45,-7v0,-11,-22,-14,-32,-8v-12,-12,5,-22,11,-33v-72,-5,-107,-62,-107,-133v0,-75,43,-135,122,-135v54,0,98,28,106,83","w":259},"\u00c9":{"d":"28,0r0,-257r178,0r0,29r-144,0r0,81r134,0r0,29r-134,0r0,89r145,0r0,29r-179,0xm88,-275r31,-52r39,0r-47,52r-23,0","w":219},"\u00ca":{"d":"28,0r0,-257r178,0r0,29r-144,0r0,81r134,0r0,29r-134,0r0,89r145,0r0,29r-179,0xm56,-275r37,-52r34,0r37,52r-30,0r-25,-35r-25,35r-28,0","w":219},"\u00cb":{"d":"28,0r0,-257r178,0r0,29r-144,0r0,81r134,0r0,29r-134,0r0,89r145,0r0,29r-179,0xm128,-277r0,-37r32,0r0,37r-32,0xm60,-277r0,-37r33,0r0,37r-33,0","w":219},"\u00c8":{"d":"28,0r0,-257r178,0r0,29r-144,0r0,81r134,0r0,29r-134,0r0,89r145,0r0,29r-179,0xm109,-275r-47,-52r39,0r31,52r-23,0","w":219},"\u00cd":{"d":"30,0r0,-257r34,0r0,257r-34,0xm25,-275r31,-52r39,0r-47,52r-23,0","w":93},"\u00ce":{"d":"30,0r0,-257r34,0r0,257r-34,0xm-7,-275r37,-52r33,0r38,52r-30,0r-25,-35r-25,35r-28,0","w":93},"\u00cf":{"d":"30,0r0,-257r34,0r0,257r-34,0xm64,-277r0,-37r33,0r0,37r-33,0xm-3,-277r0,-37r32,0r0,37r-32,0","w":93},"\u00cc":{"d":"30,0r0,-257r34,0r0,257r-34,0xm46,-275r-47,-52r39,0r31,52r-23,0","w":93},"\u00d1":{"d":"28,0r0,-257r36,0r136,208r0,-208r33,0r0,257r-38,0r-135,-206r0,206r-32,0xm107,-318v24,0,58,30,67,-2r19,0v-4,20,-13,41,-40,40v-12,0,-36,-14,-48,-14v-8,0,-18,6,-17,15r-19,0v6,-21,15,-39,38,-39","w":259},"\u00d3":{"d":"14,-129v0,-70,41,-134,123,-134v82,0,123,64,123,134v0,70,-41,135,-123,135v-82,0,-123,-65,-123,-135xm137,-234v-121,1,-120,210,0,211v120,-1,120,-210,0,-211xm115,-275r31,-52r39,0r-47,52r-23,0","w":273},"\u00d4":{"d":"14,-129v0,-70,41,-134,123,-134v82,0,123,64,123,134v0,70,-41,135,-123,135v-82,0,-123,-65,-123,-135xm137,-234v-121,1,-120,210,0,211v120,-1,120,-210,0,-211xm83,-275r37,-52r33,0r38,52r-30,0r-25,-35r-25,35r-28,0","w":273},"\u00d6":{"d":"14,-129v0,-70,41,-134,123,-134v82,0,123,64,123,134v0,70,-41,135,-123,135v-82,0,-123,-65,-123,-135xm137,-234v-121,1,-120,210,0,211v120,-1,120,-210,0,-211xm154,-277r0,-37r33,0r0,37r-33,0xm87,-277r0,-37r32,0r0,37r-32,0","w":273},"\u00d2":{"d":"14,-129v0,-70,41,-134,123,-134v82,0,123,64,123,134v0,70,-41,135,-123,135v-82,0,-123,-65,-123,-135xm137,-234v-121,1,-120,210,0,211v120,-1,120,-210,0,-211xm136,-275r-47,-52r39,0r31,52r-23,0","w":273},"\u00d5":{"d":"14,-129v0,-70,41,-134,123,-134v82,0,123,64,123,134v0,70,-41,135,-123,135v-82,0,-123,-65,-123,-135xm137,-234v-121,1,-120,210,0,211v120,-1,120,-210,0,-211xm114,-318v23,1,58,30,67,-2r18,0v-3,20,-12,42,-39,40v-12,0,-36,-14,-48,-14v-8,0,-18,6,-17,15r-19,0v6,-21,15,-39,38,-39","w":273},"\u00da":{"d":"233,-257r0,164v0,65,-37,99,-101,99v-66,0,-105,-31,-105,-99r0,-164r34,0r0,164v0,45,26,70,71,70v101,0,58,-143,67,-234r34,0xm108,-275r31,-52r39,0r-47,52r-23,0","w":259},"\u00db":{"d":"233,-257r0,164v0,65,-37,99,-101,99v-66,0,-105,-31,-105,-99r0,-164r34,0r0,164v0,45,26,70,71,70v101,0,58,-143,67,-234r34,0xm76,-275r37,-52r34,0r37,52r-30,0r-25,-35r-25,35r-28,0","w":259},"\u00dc":{"d":"233,-257r0,164v0,65,-37,99,-101,99v-66,0,-105,-31,-105,-99r0,-164r34,0r0,164v0,45,26,70,71,70v101,0,58,-143,67,-234r34,0xm148,-277r0,-37r32,0r0,37r-32,0xm80,-277r0,-37r32,0r0,37r-32,0","w":259},"\u00d9":{"d":"233,-257r0,164v0,65,-37,99,-101,99v-66,0,-105,-31,-105,-99r0,-164r34,0r0,164v0,45,26,70,71,70v101,0,58,-143,67,-234r34,0xm129,-275r-47,-52r39,0r31,52r-23,0","w":259},"\u00dd":{"d":"233,-257r-99,152r0,105r-34,0r0,-105r-99,-152r40,0r77,122r76,-122r39,0xm95,-275r31,-52r39,0r-47,52r-23,0","w":233},"\u00e1":{"d":"138,-96v-25,17,-94,1,-93,46v0,20,17,27,36,27v55,0,60,-27,57,-73xm188,-24r0,23v-18,9,-51,7,-48,-23v-31,41,-126,42,-127,-24v0,-42,31,-51,63,-57v34,-6,63,-4,63,-27v0,-48,-90,-40,-88,4r-31,0v2,-46,38,-62,79,-62v33,0,70,7,70,51r0,95v-1,19,4,24,19,20xm75,-212r31,-51r39,0r-47,51r-23,0","w":193},"\u00e2":{"d":"138,-96v-25,17,-94,1,-93,46v0,20,17,27,36,27v55,0,60,-27,57,-73xm188,-24r0,23v-18,9,-51,7,-48,-23v-31,41,-126,42,-127,-24v0,-42,31,-51,63,-57v34,-6,63,-4,63,-27v0,-48,-90,-40,-88,4r-31,0v2,-46,38,-62,79,-62v33,0,70,7,70,51r0,95v-1,19,4,24,19,20xm43,-212r37,-51r33,0r38,51r-30,0r-25,-34r-25,34r-28,0","w":193},"\u00e4":{"d":"138,-96v-25,17,-94,1,-93,46v0,20,17,27,36,27v55,0,60,-27,57,-73xm188,-24r0,23v-18,9,-51,7,-48,-23v-31,41,-126,42,-127,-24v0,-42,31,-51,63,-57v34,-6,63,-4,63,-27v0,-48,-90,-40,-88,4r-31,0v2,-46,38,-62,79,-62v33,0,70,7,70,51r0,95v-1,19,4,24,19,20xm114,-213r0,-38r33,0r0,38r-33,0xm47,-213r0,-38r32,0r0,38r-32,0","w":193},"\u00e0":{"d":"138,-96v-25,17,-94,1,-93,46v0,20,17,27,36,27v55,0,60,-27,57,-73xm188,-24r0,23v-18,9,-51,7,-48,-23v-31,41,-126,42,-127,-24v0,-42,31,-51,63,-57v34,-6,63,-4,63,-27v0,-48,-90,-40,-88,4r-31,0v2,-46,38,-62,79,-62v33,0,70,7,70,51r0,95v-1,19,4,24,19,20xm96,-212r-47,-51r39,0r31,51r-23,0","w":193},"\u00e5":{"d":"138,-96v-25,17,-94,1,-93,46v0,20,17,27,36,27v55,0,60,-27,57,-73xm188,-24r0,23v-18,9,-51,7,-48,-23v-31,41,-126,42,-127,-24v0,-42,31,-51,63,-57v34,-6,63,-4,63,-27v0,-48,-90,-40,-88,4r-31,0v2,-46,38,-62,79,-62v33,0,70,7,70,51r0,95v-1,19,4,24,19,20xm72,-238v0,14,11,24,25,24v14,0,24,-10,24,-24v0,-14,-10,-25,-24,-25v-14,0,-25,11,-25,25xm56,-238v0,-22,19,-41,41,-41v22,0,41,19,41,41v0,22,-19,40,-41,40v-22,0,-41,-18,-41,-40","w":193},"\u00e3":{"d":"138,-96v-25,17,-94,1,-93,46v0,20,17,27,36,27v55,0,60,-27,57,-73xm188,-24r0,23v-18,9,-51,7,-48,-23v-31,41,-126,42,-127,-24v0,-42,31,-51,63,-57v34,-6,63,-4,63,-27v0,-48,-90,-40,-88,4r-31,0v2,-46,38,-62,79,-62v33,0,70,7,70,51r0,95v-1,19,4,24,19,20xm74,-255v23,0,58,31,67,-1r18,0v-3,20,-12,42,-39,40v-12,0,-36,-14,-48,-14v-8,0,-18,6,-17,15r-19,0v6,-21,15,-40,38,-40","w":193},"\u00e7":{"d":"181,-126r-32,0v-5,-23,-21,-37,-46,-37v-44,0,-58,34,-58,72v0,34,16,68,55,68v30,0,47,-17,51,-45r31,0v-6,44,-33,70,-77,72r-11,16v17,-8,43,2,42,24v-2,36,-49,37,-77,25r6,-16v12,6,43,9,44,-7v1,-11,-21,-14,-31,-8v-13,-13,7,-23,13,-34v-51,-4,-78,-43,-78,-95v0,-56,29,-99,88,-99v42,0,76,20,80,64","w":193},"\u00e9":{"d":"152,-59r30,0v-8,41,-38,63,-80,63v-59,0,-89,-41,-89,-98v0,-56,36,-96,87,-96v66,0,87,61,85,106r-140,0v-1,32,17,61,58,61v25,0,44,-12,49,-36xm45,-111r107,0v-1,-29,-23,-52,-53,-52v-32,0,-52,24,-54,52xm75,-212r31,-51r39,0r-47,51r-23,0","w":193},"\u00ea":{"d":"152,-59r30,0v-8,41,-38,63,-80,63v-59,0,-89,-41,-89,-98v0,-56,36,-96,87,-96v66,0,87,61,85,106r-140,0v-1,32,17,61,58,61v25,0,44,-12,49,-36xm45,-111r107,0v-1,-29,-23,-52,-53,-52v-32,0,-52,24,-54,52xm43,-212r37,-51r33,0r38,51r-30,0r-25,-34r-25,34r-28,0","w":193},"\u00eb":{"d":"152,-59r30,0v-8,41,-38,63,-80,63v-59,0,-89,-41,-89,-98v0,-56,36,-96,87,-96v66,0,87,61,85,106r-140,0v-1,32,17,61,58,61v25,0,44,-12,49,-36xm45,-111r107,0v-1,-29,-23,-52,-53,-52v-32,0,-52,24,-54,52xm114,-213r0,-38r33,0r0,38r-33,0xm47,-213r0,-38r32,0r0,38r-32,0","w":193},"\u00e8":{"d":"152,-59r30,0v-8,41,-38,63,-80,63v-59,0,-89,-41,-89,-98v0,-56,36,-96,87,-96v66,0,87,61,85,106r-140,0v-1,32,17,61,58,61v25,0,44,-12,49,-36xm45,-111r107,0v-1,-29,-23,-52,-53,-52v-32,0,-52,24,-54,52xm96,-212r-47,-51r39,0r31,51r-23,0","w":193},"\u00ed":{"d":"55,0r-30,0r0,-186r30,0r0,186xm18,-212r31,-51r39,0r-47,51r-23,0","w":79},"\u00ee":{"d":"55,0r-30,0r0,-186r30,0r0,186xm-14,-212r37,-51r34,0r37,51r-30,0r-25,-34r-25,34r-28,0","w":79},"\u00ef":{"d":"55,0r-30,0r0,-186r30,0r0,186xm58,-213r0,-38r32,0r0,38r-32,0xm-10,-213r0,-38r32,0r0,38r-32,0","w":79},"\u00ec":{"d":"55,0r-30,0r0,-186r30,0r0,186xm39,-212r-47,-51r39,0r31,51r-23,0","w":79},"\u00f1":{"d":"23,0r0,-186r29,0v1,9,-2,22,1,29v13,-23,33,-33,60,-33v94,-2,56,109,64,190r-30,0r0,-126v0,-23,-15,-37,-38,-37v-76,-1,-51,94,-55,163r-31,0xm77,-255v23,0,58,32,67,-1r19,0v-3,20,-13,42,-40,40v-12,0,-36,-14,-48,-14v-8,0,-18,6,-17,15r-19,0v6,-21,15,-40,38,-40"},"\u00f3":{"d":"13,-93v0,-55,31,-97,90,-97v59,0,91,42,91,97v0,54,-32,97,-91,97v-59,0,-90,-43,-90,-97xm45,-93v0,45,26,70,58,70v32,0,58,-25,58,-70v0,-45,-26,-70,-58,-70v-32,0,-58,25,-58,70xm81,-212r31,-51r40,0r-48,51r-23,0","w":206},"\u00f4":{"d":"13,-93v0,-55,31,-97,90,-97v59,0,91,42,91,97v0,54,-32,97,-91,97v-59,0,-90,-43,-90,-97xm45,-93v0,45,26,70,58,70v32,0,58,-25,58,-70v0,-45,-26,-70,-58,-70v-32,0,-58,25,-58,70xm49,-212r37,-51r34,0r37,51r-30,0r-25,-34r-25,34r-28,0","w":206},"\u00f6":{"d":"13,-93v0,-55,31,-97,90,-97v59,0,91,42,91,97v0,54,-32,97,-91,97v-59,0,-90,-43,-90,-97xm45,-93v0,45,26,70,58,70v32,0,58,-25,58,-70v0,-45,-26,-70,-58,-70v-32,0,-58,25,-58,70xm121,-213r0,-38r32,0r0,38r-32,0xm53,-213r0,-38r33,0r0,38r-33,0","w":206},"\u00f2":{"d":"13,-93v0,-55,31,-97,90,-97v59,0,91,42,91,97v0,54,-32,97,-91,97v-59,0,-90,-43,-90,-97xm45,-93v0,45,26,70,58,70v32,0,58,-25,58,-70v0,-45,-26,-70,-58,-70v-32,0,-58,25,-58,70xm102,-212r-47,-51r39,0r31,51r-23,0","w":206},"\u00f5":{"d":"13,-93v0,-55,31,-97,90,-97v59,0,91,42,91,97v0,54,-32,97,-91,97v-59,0,-90,-43,-90,-97xm45,-93v0,45,26,70,58,70v32,0,58,-25,58,-70v0,-45,-26,-70,-58,-70v-32,0,-58,25,-58,70xm80,-255v23,1,58,32,67,-1r19,0v-3,20,-13,42,-40,40v-12,0,-36,-14,-48,-14v-8,0,-18,6,-17,15r-19,0v6,-21,15,-40,38,-40","w":206},"\u00fa":{"d":"177,-186r0,186r-29,0r0,-30v-13,23,-34,34,-61,34v-94,2,-56,-109,-64,-190r31,0r0,126v0,23,14,37,37,37v77,1,52,-93,56,-163r30,0xm78,-212r31,-51r39,0r-47,51r-23,0"},"\u00fb":{"d":"177,-186r0,186r-29,0r0,-30v-13,23,-34,34,-61,34v-94,2,-56,-109,-64,-190r31,0r0,126v0,23,14,37,37,37v77,1,52,-93,56,-163r30,0xm46,-212r37,-51r34,0r37,51r-30,0r-25,-34r-25,34r-28,0"},"\u00fc":{"d":"177,-186r0,186r-29,0r0,-30v-13,23,-34,34,-61,34v-94,2,-56,-109,-64,-190r31,0r0,126v0,23,14,37,37,37v77,1,52,-93,56,-163r30,0xm118,-213r0,-38r32,0r0,38r-32,0xm50,-213r0,-38r32,0r0,38r-32,0"},"\u00f9":{"d":"177,-186r0,186r-29,0r0,-30v-13,23,-34,34,-61,34v-94,2,-56,-109,-64,-190r31,0r0,126v0,23,14,37,37,37v77,1,52,-93,56,-163r30,0xm99,-212r-47,-51r39,0r31,51r-23,0"},"\u00fd":{"d":"177,-186r-81,211v-17,44,-35,58,-75,46r0,-28v17,8,36,6,43,-12r13,-32r-74,-185r34,0r56,152r52,-152r32,0xm68,-212r31,-51r39,0r-47,51r-23,0","w":180},"\u00ff":{"d":"177,-186r-81,211v-17,44,-35,58,-75,46r0,-28v17,8,36,6,43,-12r13,-32r-74,-185r34,0r56,152r52,-152r32,0xm108,-213r0,-38r32,0r0,38r-32,0xm40,-213r0,-38r32,0r0,38r-32,0","w":180}}});
function FadeGallery(){this.aProductIDs=null;this.oParams=new Object();this.sUrl='';this.sElement='';this.sExternalIdPrefix='';this.sExternalIdPrefixDestination='';this.bAutoFadeAfterClick=false;this.bSameAutoFadeAfterClick=false;this.lLoadTime=5000;this.lFadeTime=1.0;this.sClassName='fadingobj';this.sInternalId='fadingobj';this.sAktivId='';this.sAktivClass='aktiv';this.bObserveOnLoad=true;this.bEvalScripts=false;this.onLoad=Prototype.emptyFunction;this.onFadeComplete=Prototype.emptyFunction;this.onImageLoaded=Prototype.emptyFunction;this.onBeforeStartFade=Prototype.emptyFunction;this.onActiveSet=Prototype.emptyFunction;this.lAktuellesBild=0;this.bAutoFade=false;this.clear=null;this.bLocked=false;this.aProductIDsStatus=new Array();this.bPrev=false;this.lLetztesBild=0;this.lReturnCurrent=0;this.sSender='';this.oPostData=new Object();FadeGallery.prototype.initAutoFade=function(){this.oPostData=Object.clone(this.oParams);this.bAutoFade=true;if(this.bObserveOnLoad){Event.observe(window,'load',this.initAutoFadeOnLoad.bind(this),false)}else{this.initAutoFadeOnLoad()}};FadeGallery.prototype.initFade=function(){this.oPostData=Object.clone(this.oParams);if(this.bObserveOnLoad){Event.observe(window,'load',this.initAutoFadeOnLoad.bind(this),false)}else{this.initAutoFadeOnLoad()}};FadeGallery.prototype.initAutoFadeOnLoad=function(){if(this.sExternalIdPrefix!=''){for(var i=0;i<this.aProductIDs.length;i++){$(this.sExternalIdPrefix+this.aProductIDs[i]).hide()}}if(this.sAktivId!=''){if($(this.sAktivId).childElements()[this.lAktuellesBild].className!=''){$(this.sAktivId).childElements()[this.lAktuellesBild].className+=' '+this.sAktivClass}else{$(this.sAktivId).childElements()[this.lAktuellesBild].className=this.sAktivClass}if(this.onActiveSet!=Prototype.emptyFunction){this.onActiveSet()}}for(var i=0;i<this.aProductIDs.length;i++){this.aProductIDsStatus[i]=false}if(this.onLoad!=Prototype.emptyFunction){this.onLoad(1,this.sSender);this.sSender=''}var objOuterFading=document.createElement("div");objOuterFading.setAttribute('id',this.sInternalId+this.aProductIDs[this.lAktuellesBild]);objOuterFading.className=this.sClassName;$(this.sElement).appendChild(objOuterFading);if(this.sUrl!=''){this.oPostData.lProductID=this.aProductIDs[this.lAktuellesBild];this.oPostData.lActualNumber=this.lAktuellesBild+1;this.oPostData.lCount=this.aProductIDs.length;new Ajax.Updater(objOuterFading,this.sUrl,{evalScripts:this.bEvalScripts,parameters:this.oPostData,onComplete:this.loadOnComplete.bind(this)})}else{this.loadOnComplete()}};FadeGallery.prototype.loadOnComplete=function(){if(this.onImageLoaded!=Prototype.emptyFunction){this.lReturnCurrent=this.lAktuellesBild+1;if(this.lReturnCurrent>this.aProductIDs.length){this.lReturnCurrent=1}this.onImageLoaded(this.lReturnCurrent,this.sSender);this.sSender=''}this.aProductIDsStatus[this.lAktuellesBild]=true;if(this.sExternalIdPrefix!=''){var objElement=$(this.sExternalIdPrefix+this.aProductIDs[this.lAktuellesBild]);$(this.sExternalIdPrefix+this.aProductIDs[this.lAktuellesBild]).remove();objElement.show();if(this.sExternalIdPrefixDestination!=''){$(this.sExternalIdPrefixDestination+this.aProductIDs[this.lAktuellesBild]).insert({'bottom':objElement})}else{$(this.sInternalId+this.aProductIDs[this.lAktuellesBild]).insert({'bottom':objElement})}}if(this.aProductIDs.length>1){$(this.sInternalId+this.aProductIDs[this.lAktuellesBild]).style.zIndex='2';if(this.bAutoFade){this.clear=window.setTimeout(this.loadNext.bind(this),this.lLoadTime)}}};FadeGallery.prototype.FadeGalleryNext=function(){if(!this.bLocked){this.bLocked=true;clearTimeout(this.clear);if(!this.bAutoFadeAfterClick){this.bAutoFade=false}this.sSender='clickNext';this.bPrev=false;this.loadNext()}};FadeGallery.prototype.FadeGalleryPrev=function(){if(!this.bLocked){this.bLocked=true;clearTimeout(this.clear);if(!this.bAutoFadeAfterClick){this.bAutoFade=false}this.sSender='clickPrev';this.bPrev=true;this.loadNext()}};FadeGallery.prototype.FadeGalleryThis=function(lObjNumber){if(!this.bLocked&&(lObjNumber-1)!=this.lAktuellesBild){this.bLocked=true;clearTimeout(this.clear);if(!this.bAutoFadeAfterClick){this.bAutoFade=false}this.sSender='clickThis';this.lAktuellesBild=lObjNumber-2;this.loadNext()}};FadeGallery.prototype.FadeGalleryStop=function(){clearTimeout(this.clear);this.bAutoFade=false};FadeGallery.prototype.restartAutoFade=function(){this.bAutoFade=true;this.initAutoFadeOnLoad()};FadeGallery.prototype.loadNext=function(){if(this.onLoad!=Prototype.emptyFunction){this.lReturnCurrent=this.lAktuellesBild+2;if(this.lReturnCurrent>this.aProductIDs.length){this.lReturnCurrent=1}this.onLoad(this.lReturnCurrent,this.sSender);this.sSender=''}if(this.bPrev){if(this.lAktuellesBild==0){this.lAktuellesBild=this.aProductIDs.length-1}else{this.lAktuellesBild--}}else{this.lAktuellesBild++;if(this.aProductIDs[this.lAktuellesBild]==undefined){this.lAktuellesBild=0}}if(this.aProductIDs[this.lAktuellesBild]!=undefined&&!this.aProductIDsStatus[this.lAktuellesBild]){var objOuterFading=document.createElement("div");objOuterFading.setAttribute('id',this.sInternalId+this.aProductIDs[this.lAktuellesBild]);objOuterFading.className=this.sClassName;objOuterFading.zIndex='1';$(this.sElement).appendChild(objOuterFading);if(this.sExternalIdPrefix!=''){var objElement=$(this.sExternalIdPrefix+this.aProductIDs[this.lAktuellesBild]);$(this.sExternalIdPrefix+this.aProductIDs[this.lAktuellesBild]).remove();objElement.style.zIndex='1';objElement.show();if(this.sExternalIdPrefixDestination!=''){$(this.sExternalIdPrefixDestination+this.aProductIDs[this.lAktuellesBild]).insert({'bottom':objElement})}else{$(this.sInternalId+this.aProductIDs[this.lAktuellesBild]).insert({'bottom':objElement})}}if(this.sUrl!=''){this.oPostData.lProductID=this.aProductIDs[this.lAktuellesBild];this.oPostData.lActualNumber=this.lAktuellesBild+1;this.oPostData.lCount=this.aProductIDs.length;new Ajax.Updater(objOuterFading,this.sUrl,{evalScripts:this.bEvalScripts,parameters:this.oPostData,onComplete:this.IfIsImgLoaded.bind(this),insertion:Insertion.Top})}else{this.IfIsImgLoaded()}}else{$(this.sInternalId+this.aProductIDs[this.lAktuellesBild]).style.zIndex='1';$(this.sInternalId+this.aProductIDs[this.lAktuellesBild]).show();this.fadeNext()}};FadeGallery.prototype.fadeNext=function(){this.bLocked=true;this.aProductIDsStatus[this.lAktuellesBild]=true;if(this.sAktivId!=''){if($(this.sAktivId).childElements()[this.lAktuellesBild].className!=''){$(this.sAktivId).childElements()[this.lAktuellesBild].className+=' '+this.sAktivClass}else{$(this.sAktivId).childElements()[this.lAktuellesBild].className=this.sAktivClass}$(this.sAktivId).childElements()[this.lLetztesBild].className=$(this.sAktivId).childElements()[this.lLetztesBild].className.replace(' '+this.sAktivClass,'').replace(this.sAktivClass,'');if(this.onActiveSet!=Prototype.emptyFunction){this.onActiveSet()}}var lTempAktuellesBild=this.lLetztesBild;this.lLetztesBild=this.lAktuellesBild;$(this.sInternalId+this.aProductIDs[this.lAktuellesBild]).style.zIndex='1';new Effect.Fade($(this.sInternalId+this.aProductIDs[lTempAktuellesBild]),{beforeStart:function(){if(this.onBeforeStartFade!=Prototype.emptyFunction){this.lReturnCurrent=this.lAktuellesBild+1;if(this.lReturnCurrent>this.aProductIDs.length){this.lReturnCurrent=1}this.onBeforeStartFade(this.lReturnCurrent,this.sSender);this.sSender=''}}.bind(this),duration:this.lFadeTime,afterFinish:function(){if(this.onFadeComplete!=Prototype.emptyFunction){this.lReturnCurrent=this.lAktuellesBild+1;if(this.lReturnCurrent>this.aProductIDs.length){this.lReturnCurrent=1}this.onFadeComplete(this.lReturnCurrent,this.sSender);this.sSender=''}if(this.onImageLoaded!=Prototype.emptyFunction){this.lReturnCurrent=this.lAktuellesBild+1;if(this.lReturnCurrent>this.aProductIDs.length){this.lReturnCurrent=1}this.onImageLoaded(this.lReturnCurrent,this.sSender);this.sSender=''}$(this.sInternalId+this.aProductIDs[lTempAktuellesBild]).style.zIndex='0';$(this.sInternalId+this.aProductIDs[this.lAktuellesBild]).style.zIndex='2';this.bLocked=false;if(!this.bSameAutoFadeAfterClick){this.bPrev=false}if(this.bAutoFade){this.clear=window.setTimeout(this.loadNext.bind(this),this.lLoadTime)}}.bind(this)})};FadeGallery.prototype.IfIsImgLoaded=function(){var bLoaded=true;for(var i=0;i<$(this.sInternalId+this.aProductIDs[this.lAktuellesBild]).getElementsByTagName('img').length;i++){if(!$(this.sInternalId+this.aProductIDs[this.lAktuellesBild]).getElementsByTagName('img')[i].complete){bLoaded=false}}if(bLoaded){this.fadeNext()}else{this.clear=window.setTimeout(this.IfIsImgLoaded.bind(this),250)}}}
function scrollGallery(Objectname){this.bAjax=false;this.LockedID=null;this.bAutoScroll=false;this.Objectname=Objectname;this.bEvalScripts=false;this.bNoScrollAfterFinish=false;this.aParams=null;this.sUrl="";this.sCopyTag="div";this.effectTransitions=Effect.Transitions.sinoidal;this.lFps=25;this.sLockedBackID='';this.lLockedBackIDAtNumber=1;this.sLockedForwardID='';this.sFrameClass='';this.lAutoScrollTime=6000;this.lPreloaded=2;this.onElementLoaded=function(){};this.onElementScrolled=function(){};var oGallery=null;var oGalleryDiv=null;var self=this;var clearAutoScroll=null;scrollGallery.prototype.convertNullTo0px=function(wert){if(wert==null){return'0px'}else{return wert}};scrollGallery.prototype.Lock=function(id){this.LockedID=id;if(this.sFrameClass!=''){var iframeliste=document.getElementsByClassName(this.sFrameClass);for(var i=0;i<iframeliste.length;i++){iframeliste[i].style.display='none';iframeliste[i].style.height='0px'}}};scrollGallery.prototype.UnLock=function(){this.LockedID=null;if(this.sFrameClass!=''){var iframeliste=document.getElementsByClassName(this.sFrameClass);for(var i=0;i<iframeliste.length;i++){iframeliste[i].style.display='block';iframeliste[i].style.height='auto'}}};scrollGallery.prototype.InitAutoscroll=function(){this.bAutoScroll=true;clearAutoScroll=window.setTimeout(this.Objectname+'.Autoscroll()',this.lAutoScrollTime)};scrollGallery.prototype.StopAutoscroll=function(){this.bAutoScroll=false;clearTimeout(clearAutoScroll)};scrollGallery.prototype.Autoscroll=function(){if(this.bAutoScroll){this.ScrollGallerieNext(this.SetScrollGallerie_idPrefix);clearAutoScroll=window.setTimeout(this.Objectname+'.Autoscroll()',this.lAutoScrollTime)}};scrollGallery.prototype.ScrolltoElement=function(id,duration,noLock){if(noLock==null){noLock=false}if(duration==null){duration=1}if((this.LockedID==null)||(noLock)){var left=0;var top=0;var parent=document.getElementById(id).parentNode;var target=document.getElementById(id);left-=parent.offsetLeft+target.offsetLeft;top-=parent.offsetTop+target.offsetTop;new Effect.Move(parent,{x:left,y:top,mode:'relative',duration:duration,transition:this.effectTransitions,fps:this.lFps,afterFinish:function(){this.onElementScrolled(id)}.bind(this)});if(!noLock){this.Lock(id);window.setTimeout(this.Objectname+'.UnLock()',duration*1000)}}};this.SetScrollGallerie_idPrefix='';this.SetScrollGallerie_nCount=0;this.SetScrollGallerie_nDisplay=0;scrollGallery.prototype.SetScrollGallerie=function(idPrefix,nCount,duration){if(duration==null){duration=1}this.SetScrollGallerie_idPrefix=idPrefix;this.SetScrollGallerie_nCount=nCount;this.SetScrollGallerie_duration=duration;this.SetScrollGallerie_nDisplay=1};scrollGallery.prototype.ScrollGalleriePrevious=function(idPrefix){if(this.bAjax){if((this.SetScrollGallerie_idPrefix==idPrefix)&&(this.SetScrollGallerie_nCount>1)&&(this.SetScrollGallerie_nDisplay>1)&&(this.LockedID==null)){this.SetScrollGallerie_nDisplay--;if(this.SetScrollGallerie_nDisplay<1){this.SetScrollGallerie_nDisplay=this.SetScrollGallerie_nCount}this.ScrollPrevious();if(this.sLockedBackID!=''&&this.SetScrollGallerie_nDisplay==this.lLockedBackIDAtNumber){Element.hide(this.sLockedBackID)}}if(this.sLockedForwardID!=''){Element.show(this.sLockedForwardID)}}else{if((this.SetScrollGallerie_idPrefix==idPrefix)&&(this.SetScrollGallerie_nCount>1)&&(this.SetScrollGallerie_nDisplay!=0)&&(this.LockedID==null)){this.SetScrollGallerie_nDisplay--;if(this.SetScrollGallerie_nDisplay<1){this.SetScrollGallerie_nDisplay=this.SetScrollGallerie_nCount}if(this.sLockedBackID!=''&&this.SetScrollGallerie_nDisplay==this.lLockedBackIDAtNumber){Element.hide(this.sLockedBackID)}this.ScrolltoElement(this.SetScrollGallerie_idPrefix+this.SetScrollGallerie_nDisplay,this.SetScrollGallerie_duration,true);this.Lock(this.SetScrollGallerie_idPrefix+this.SetScrollGallerie_nDisplay);window.setTimeout(this.Objectname+'.UnLock()',this.SetScrollGallerie_duration*1000)}if(this.sLockedForwardID!=''){Element.show(this.sLockedForwardID)}}};scrollGallery.prototype.ScrollPrevious=function(){this.ScrolltoElement(this.SetScrollGallerie_idPrefix+this.SetScrollGallerie_nDisplay,this.SetScrollGallerie_duration,true);this.Lock(this.SetScrollGallerie_idPrefix+this.SetScrollGallerie_nDisplay);window.setTimeout(this.Objectname+'.UnLock()',this.SetScrollGallerie_duration*1000)};scrollGallery.prototype.ScrollGallerieNext=function(idPrefix){if(this.bAjax){if((this.SetScrollGallerie_idPrefix==idPrefix)&&(this.SetScrollGallerie_nCount>1)&&(this.LockedID==null)){if(!this.bNoScrollAfterFinish||(this.SetScrollGallerie_nDisplay)<this.SetScrollGallerie_nCount){this.SetScrollGallerie_nDisplay++}if(((this.SetScrollGallerie_nDisplay+(this.lPreloaded-2))>this.SetScrollGallerie_nCount)&&document.getElementById(this.SetScrollGallerie_idPrefix+(this.SetScrollGallerie_nDisplay+(this.lPreloaded-2)))==undefined){oGallery=document.getElementById(this.SetScrollGallerie_idPrefix);oGalleryDiv=document.createElement(this.sCopyTag);oGalleryDiv.setAttribute('id',this.SetScrollGallerie_idPrefix+(this.SetScrollGallerie_nDisplay+(this.lPreloaded-2)));if(document.getElementById(this.SetScrollGallerie_idPrefix+'1').className!=''){oGalleryDiv.setAttribute('class',document.getElementById(this.SetScrollGallerie_idPrefix+'1').className);oGalleryDiv.setAttribute('className',document.getElementById(this.SetScrollGallerie_idPrefix+'1').className)}if(document.getElementById(this.SetScrollGallerie_idPrefix+'1').style.width!=''){oGalleryDiv.style.width=document.getElementById(this.SetScrollGallerie_idPrefix+'1').style.width}oGallery.appendChild(oGalleryDiv);document.getElementById(this.SetScrollGallerie_idPrefix).style.width=parseInt(Element.getWidth(document.getElementById(this.SetScrollGallerie_idPrefix)),10)+parseInt(Element.getWidth(document.getElementById(this.SetScrollGallerie_idPrefix+'1')),10)+parseInt(this.convertNullTo0px(Element.getStyle(document.getElementById(this.SetScrollGallerie_idPrefix+1),'marginLeft')).replace('px',''),10)+parseInt(this.convertNullTo0px(Element.getStyle(document.getElementById(this.SetScrollGallerie_idPrefix+1),'marginRight')).replace('px',''),10)+'px';document.getElementById(this.SetScrollGallerie_idPrefix+(this.SetScrollGallerie_nDisplay+(this.lPreloaded-2))).innerHTML=document.getElementById(this.SetScrollGallerie_idPrefix+((this.SetScrollGallerie_nDisplay+(this.lPreloaded-2))-this.SetScrollGallerie_nCount)).innerHTML;this.onElementLoaded()}if((this.SetScrollGallerie_nDisplay+(this.lPreloaded-2))<this.SetScrollGallerie_nCount){if(!this.aParams[(this.SetScrollGallerie_nDisplay+(this.lPreloaded-2))][1]){this.aParams[(this.SetScrollGallerie_nDisplay+(this.lPreloaded-2))][1]=true;if((this.LockedID==null)||(noLock)){this.Lock(this.SetScrollGallerie_idPrefix+(this.SetScrollGallerie_nDisplay+(this.lPreloaded-2)));new Ajax.Updater(this.SetScrollGallerie_idPrefix,this.sUrl+this.aParams[(this.SetScrollGallerie_nDisplay+(this.lPreloaded-2))][0],{evalScripts:this.bEvalScripts,parameters:{lPageNumber:(this.SetScrollGallerie_nDisplay+(this.lPreloaded-2))+1},onComplete:this.onAjaxComplete.bind(this),insertion:Insertion.Bottom})}}else{this.ScrollNext()}}else{this.ScrollNext()}if(this.sLockedForwardID!=''){if((this.SetScrollGallerie_nDisplay+(this.lPreloaded-2))==(this.SetScrollGallerie_nCount)){Element.hide(this.sLockedForwardID)}}if(this.sLockedBackID!=''&&this.SetScrollGallerie_nDisplay>this.lLockedBackIDAtNumber){Element.show(this.sLockedBackID)}}}else{if((this.SetScrollGallerie_idPrefix==idPrefix)&&(this.SetScrollGallerie_nCount>1)&&(this.SetScrollGallerie_nDisplay!=0)&&(this.LockedID==null)){this.SetScrollGallerie_nDisplay++;if(this.SetScrollGallerie_nDisplay>this.SetScrollGallerie_nCount){this.SetScrollGallerie_nDisplay=1}if(this.sLockedForwardID!=''){if((this.SetScrollGallerie_nDisplay+(this.lPreloaded-2))==(this.SetScrollGallerie_nCount)){Element.hide(this.sLockedForwardID)}}if(this.sLockedBackID!=''&&this.SetScrollGallerie_nDisplay>this.lLockedBackIDAtNumber){Element.show(this.sLockedBackID)}this.ScrolltoElement(this.SetScrollGallerie_idPrefix+this.SetScrollGallerie_nDisplay,this.SetScrollGallerie_duration,true);this.Lock(this.SetScrollGallerie_idPrefix+this.SetScrollGallerie_nDisplay);window.setTimeout(this.Objectname+'.UnLock()',this.SetScrollGallerie_duration*1000)}}};scrollGallery.prototype.onAjaxComplete=function(){this.IfIsLoaded(this.SetScrollGallerie_idPrefix+(this.SetScrollGallerie_nDisplay+(this.lPreloaded-2)))};scrollGallery.prototype.ScrollNext=function(){this.UnLock();this.ScrolltoElement(this.SetScrollGallerie_idPrefix+this.SetScrollGallerie_nDisplay,this.SetScrollGallerie_duration,true);this.Lock(this.SetScrollGallerie_idPrefix+(this.SetScrollGallerie_nDisplay+(this.lPreloaded-2)));window.setTimeout(this.Objectname+'.UnLock()',this.SetScrollGallerie_duration*1000)};var globalID=null;scrollGallery.prototype.IfIsLoaded=function(id){globalID=id;if(document.getElementById(id)!=undefined){this.IfIsImgLoaded()}else{window.setTimeout(this.Objectname+'.IfIsLoaded()',250)}};scrollGallery.prototype.IfIsImgLoaded=function(){var id=globalID;var bLoaded=true;for(var i=0;i<document.getElementById(id).getElementsByTagName('img').length;i++){if(!document.getElementById(id).getElementsByTagName('img')[i].complete){bLoaded=false}}if(bLoaded){this.ScrollNext()}else{window.setTimeout(this.Objectname+'.IfIsImgLoaded()',250)}}}
Effect.CssEffect=Class.create(Effect.Base,{initialize:function(css){this.css=css;this.cssfile=null;var options=Object.extend({property:'',start:0,end:0},arguments[1]||{});this.start(options)},setup:function(){this.value=parseFloat(this.options.start||'0')},update:function(position){if(this.options.start!=this.options.end){var expression=this.options.property+':'+(((this.options.end-this.options.start)*position)+this.options.start).round()+'px';this.setCss(expression)}},setCss:function(expression){if(document.createStyleSheet){var css=document.styleSheets;var pseudocss=null;for(var i=0;i<css.length;i++){if(css[i].rel=='pseudocss'){pseudocss=css[i]}}if(pseudocss==null){pseudocss=document.createStyleSheet();pseudocss.rel='pseudocss'}pseudocss.addRule(this.css,expression)}else{if($('pseudocss')==null){var pseudocss=document.createElement("style");pseudocss.type='text/css';pseudocss.title='pseudocss';pseudocss.id='pseudocss';document.getElementsByTagName("body")[0].appendChild(pseudocss)}$('pseudocss').innerHTML=$('pseudocss').innerHTML+' '+this.css+'{'+expression+'}'}}});
function multiScrollGallery(){this.bAjax=false;this.sCssExpression='';this.lScrollPos=0;this.lElementWidth=0;this.lCount=0;this.lCounter=0;this.bLocked=false;multiScrollGallery.prototype.SetScrollGallerie=function(sCssExpression,lElementWidth,lCount){this.sCssExpression=sCssExpression;this.lElementWidth=lElementWidth;this.lCount=lCount};multiScrollGallery.prototype.ScrollGalleriePrev=function(){if(this.lCounter>0){if(!this.bLocked){this.bLocked=true;new Effect.CssEffect(this.sCssExpression,{property:'margin-left',start:this.lScrollPos,end:this.lScrollPos+this.lElementWidth,duration:1,afterFinish:function(){this.lScrollPos+=this.lElementWidth;this.bLocked=false;this.lCounter--}.bind(this)})}}};multiScrollGallery.prototype.ScrollGallerieNext=function(){if(this.lCounter<this.lCount-1){if(!this.bLocked){this.bLocked=true;new Effect.CssEffect(this.sCssExpression,{property:'margin-left',start:this.lScrollPos,end:this.lScrollPos-this.lElementWidth,duration:1,afterFinish:function(){this.lScrollPos-=this.lElementWidth;this.bLocked=false;this.lCounter++}.bind(this)})}}};multiScrollGallery.prototype.addCssRole=function(selector,expression){}}
var letztes=null,letztesaufzu=null,letzteidtext=null;var gefaerbt=null;letztesfarbe=null;function aufzubooking(welches,idtext,textein,textaus){if(document.getElementById(welches).style.display=='block'){document.getElementById(welches).style.display='none';document.getElementById(idtext).innerHTML=textein}else{document.getElementById(welches).style.display='none';document.getElementById(welches).style.display='block';document.getElementById(idtext).innerHTML=textaus}void(0)}function aufzuautobooking(welches,idtext,textein,textaus){if(letztesaufzu!=null&&letztesaufzu!=welches){document.getElementById(letztesaufzu).style.display='none';document.getElementById(letzteidtext).innerHTML=textein;document.getElementById(idtext).innerHTML=textein;letztesaufzu=null;letzteidtext=null}if(document.getElementById(welches).style.display=='block'){document.getElementById(welches).style.display='none';document.getElementById(idtext).innerHTML=textein}else{document.getElementById(welches).style.display='none';document.getElementById(welches).style.display='block';document.getElementById(idtext).innerHTML=textaus;letztesaufzu=welches;letzteidtext=idtext}void(0)}function aufzuautobookingzimmer(welches,welchesfarbe,idtext,textein,textaus){if(letztesaufzu!=null&&letztesaufzu!=welches){document.getElementById(letztesaufzu).style.display='none';document.getElementById(letzteidtext).innerHTML=textein;document.getElementById(idtext).innerHTML=textein;$(welchesfarbe).addClassName('gefaerbt');$(letztesfarbe).removeClassName('gefaerbt');gefaerbt=null;letztesfarbe=null;letztesaufzu=null;letzteidtext=null}if(document.getElementById(welches).style.display=='block'){document.getElementById(welches).style.display='none';document.getElementById(idtext).innerHTML=textein;$(welchesfarbe).removeClassName('gefaerbt');gefaerbt=null}else{document.getElementById(welches).style.display='none';document.getElementById(welches).style.display='block';document.getElementById(idtext).innerHTML=textaus;$(welchesfarbe).addClassName('gefaerbt');gefaerbt=welchesfarbe;letztesfarbe=welchesfarbe;letztesaufzu=welches;letzteidtext=idtext}void(0)}function faerbenZimmer(id){if(gefaerbt!=id){$(id).addClassName('gefaerbt')}}function entfaerbenZimmer(id){if(gefaerbt!=id){$(id).removeClassName('gefaerbt')}}function typesEinblenden(welches,tab){document.getElementById(letztetab).className='preistab';document.getElementById(tab).className='preistab preistabativ';document.getElementById(letzte).className='preislisten none';document.getElementById(welches).className='preislisten block';letzte=welches;letztetab=tab}
function jsOverlayer(){var self=this;this.template='';this.contentid='';this.layerid='';this.positionlayerid='';this.bglayerid='';this.cookiedays=1;this.autoclose=0;this.effect='flyin';this.effectduration=2.0;this.bEvalScripts=false;this.bHtmlLoaded=false;this.rahmenid='';this.nocookie=false;this.globalOverlayerCloseLock=false;jsOverlayer.prototype.SetCloseLock=function(status){self.globalOverlayerCloseLock=status};jsOverlayer.prototype.HideJsTimeout=function(){self.SetCookie(self.layerid+'_view','true',self.cookiedays);$(self.bglayerid).style.display="none";$(self.positionlayerid).style.display="none"};jsOverlayer.prototype.HideJsClick=function(){self.SetCookie(self.layerid+'_view','true',self.cookiedays);$(self.bglayerid).style.display="none";$(self.positionlayerid).style.display="none"};jsOverlayer.prototype.HideJsGlobal=function(){if(!self.globalOverlayerCloseLock){self.SetCookie(self.layerid+'_view','true',self.cookiedays);$(self.bglayerid).style.display="none";$(self.positionlayerid).style.display="none"}};jsOverlayer.prototype.Load=function(){if(location.search.search('overlayer=false')>0||location.search.search('utm_medium=Newsletter')>0){self.SetCookie(self.layerid+'_view','true',self.cookiedays)}else{if(location.search.search('overlayer=true')>0){Event.observe(window,'load',self.onLoad,false)}else{if(self.GetCookie(self.layerid+'_view')!='true'||self.nocookie==true){Event.observe(window,'load',self.onLoad,false)}}}};jsOverlayer.prototype.onLoad=function(){if(navigator.userAgent.indexOf('Google Web Preview')==-1){if(self.contentid==''){new Ajax.Updater(document.body,self.template,{insertion:Insertion.Bottom,evalScripts:self.bEvalScripts,onComplete:function(){self.bHtmlLoaded=true;self.ShowOverlayer()}})}else{if(self.rahmenid!=''&&$(self.rahmenid)!=undefined){$(self.rahmenid).insert($(self.contentid).innerHTML)}else{$(document.body).insert($(self.contentid).innerHTML,Insertion.Bottom)}$(self.contentid).innerHTML='';self.bHtmlLoaded=true;self.ShowOverlayer()}}};jsOverlayer.prototype.ShowOverlayer=function(){var bgelement=$(self.bglayerid);bgelement.style.display="block";var element=$(self.positionlayerid);element.onclick=function(){self.HideJsGlobal()};layerelement=$(self.layerid);layerelement.onmouseover=function(){self.SetCloseLock(true)};layerelement.onmouseout=function(){self.SetCloseLock(false)};switch(self.effect){case"fadein":element.style.display="block";layerelement.style.display="none";Effect.Appear(layerelement,{duration:self.effectduration});break;case"grow":element.style.display="block";layerelement.style.display="none";Effect.Grow(layerelement,{duration:self.effectduration});break;case"flyin":element.style.display="block";self.MM_timelinePlay('Timeline1');break};if(self.autoclose>0){window.setTimeout(self.HideJsTimeout,(2500+(self.autoclose*1000)))}};jsOverlayer.prototype.ShowLoadOverlayer=function(){if(!self.bHtmlLoaded){self.onLoad()}else{self.ShowOverlayer()}};jsOverlayer.prototype.MM_timelinePlay=function(tmLnName,myID){var i,j,tmLn,props,keyFrm,sprite,numKeyFr,firstKeyFr,propNum,theObj,firstTime=false;if(document.MM_Time==null)self.MM_initTimelines();tmLn=document.MM_Time[tmLnName];if(myID==null){myID=++tmLn.ID;firstTime=true}if(myID==tmLn.ID){setTimeout(function(){self.MM_timelinePlay(tmLnName,myID)},tmLn.delay);fNew=++tmLn.curFrame;for(i=0;i<tmLn.length;i++){sprite=tmLn[i];if(sprite.charAt(0)=='s'){sprite.obj=document.getElementById(self.layerid);if(sprite.obj){numKeyFr=sprite.keyFrames.length;firstKeyFr=sprite.keyFrames[0];if(fNew>=firstKeyFr&&fNew<=sprite.keyFrames[numKeyFr-1]){keyFrm=1;for(j=0;j<sprite.values.length;j++){props=sprite.values[j];if(numKeyFr!=props.length){if(props.prop2==null)sprite.obj[props.prop]=props[fNew-firstKeyFr];else sprite.obj[props.prop2][props.prop]=props[fNew-firstKeyFr]}else{while(keyFrm<numKeyFr&&fNew>=sprite.keyFrames[keyFrm])keyFrm++;if(firstTime||fNew==sprite.keyFrames[keyFrm-1]){if(props.prop2==null)sprite.obj[props.prop]=props[keyFrm-1];else sprite.obj[props.prop2][props.prop]=props[keyFrm-1]}}}}}}else if(sprite.charAt(0)=='b'&&fNew==sprite.frame)eval(sprite.value);if(fNew>tmLn.lastFrame)tmLn.ID=0}}};jsOverlayer.prototype.MM_initTimelines=function(){document.MM_Time=new Array(1);document.MM_Time[0]=new Array(1);document.MM_Time["Timeline1"]=document.MM_Time[0];document.MM_Time[0].MM_Name="Timeline1";document.MM_Time[0].fps=15;document.MM_Time[0][0]=new String("sprite");document.MM_Time[0][0].slot=1;document.MM_Time[0][0].keyFrames=new Array(1,2,3,4,7,10,13,15,16,19,22,23,25,26,27,28,29,30,32,33,34,35,36,37,38,39,40);document.MM_Time[0][0].values=new Array(2);document.MM_Time[0][0].values[0]=new Array("1000px","1001px","969px","907px","872px","831px","788px","747px","707px","672px","646px","628px","615px","605px","600px","584px","570px","559px","542px","512px","482px","456px","398px","380px","367px","354px","313px","311px","291px","272px","261px","245px","176px","136px","128px","108px","74px","47px","29px","22px");document.MM_Time[0][0].values[0].prop="left";document.MM_Time[0][0].values[1]=new Array("15px","8px","12px","15px","17px","21px","31px","48px","71px","99px","137px","177px","212px","244px","277px","400px","360px","320px","285px","270px","268px","267px","269px","274px","282px","299px","373px","400px","371px","356px","348px","341px","337px","373px","401px","380px","367px","376px","401px","400px");document.MM_Time[0][0].values[1].prop="top";document.MM_Time[0][0].values[0].prop2="style";document.MM_Time[0][0].values[1].prop2="style";document.MM_Time[0].lastFrame=40;for(i=0;i<document.MM_Time.length;i++){document.MM_Time[i].ID=null;document.MM_Time[i].curFrame=0;document.MM_Time[i].delay=1000/document.MM_Time[i].fps}};jsOverlayer.prototype.SetCookie=function(sCookieName,sCookieValue,lTimeOutDays){if(lTimeOutDays>0){var dtTime=new Date();dtTime=new Date(dtTime.getTime()+1000*60*60*24*lTimeOutDays);document.cookie=sCookieName+'='+sCookieValue+'; expires='+dtTime.toGMTString()+'; path=/;'}else{document.cookie=sCookieName+'='+sCookieValue+'; path=/;'}};jsOverlayer.prototype.GetCookie=function(sCookieName){var sCookie=document.cookie;var sCookieValue='';if(sCookie.search(sCookieName+'=')>0&&sCookieName.length>0){sCookieValue=sCookie.substr(sCookie.search(sCookieName+'=')+sCookieName.length+1);if(sCookieValue.search(';')>=0){sCookieValue=sCookieValue.substr(0,sCookieValue.search(';'))}}else{sCookieValue=''}return sCookieValue};jsOverlayer.prototype.DeleteCookie=function(sCookieName){var dtTime=new Date();dtTime=new Date(dtTime.getTime()-1);document.cookie=sCookieName+'=; expires='+dtTime.toGMTString()+'; path=/;'}}
function Slide(id){new Effect.toggle(document.getElementById(id),'slide')}function SlideUp(id){new Effect.SlideUp(document.getElementById(id))}function SlideDown(id){new Effect.SlideDown(document.getElementById(id))}function Hide(id){Element.hide($(id))}
/*P:1978.487*/

