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}
var Prototype={Version:'1.6.1',Browser:(function(){var ua=navigator.userAgent;var isOpera=Object.prototype.toString.call(window.opera)=='[object Opera]';return{IE:!!window.attachEvent&&!isOpera,Opera:isOpera,WebKit:ua.indexOf('AppleWebKit/')>-1,Gecko:ua.indexOf('Gecko')>-1&&ua.indexOf('KHTML')===-1,MobileSafari:/Apple.*Mobile.*Safari/.test(ua)}})(),BrowserFeatures:{XPath:!!document.evaluate,SelectorsAPI:!!document.querySelector,ElementExtensions:(function(){var constructor=window.Element||window.HTMLElement;return!!(constructor&&constructor.prototype)})(),SpecificElementExtensions:(function(){if(typeof window.HTMLDivElement!=='undefined')return true;var div=document.createElement('div');var form=document.createElement('form');var isSupported=false;if(div['__proto__']&&(div['__proto__']!==form['__proto__'])){isSupported=true}div=form=null;return isSupported})()},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 Abstract={};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}};var Class=(function(){function subclass(){};function create(){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){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};function addMethods(source){var ancestor=this.superclass&&this.superclass.prototype;var properties=Object.keys(source);if(!Object.keys({toString:true}).length){if(source.toString!=Object.prototype.toString)properties.push("toString");if(source.valueOf!=Object.prototype.valueOf)properties.push("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};return{create:create,Methods:{addMethods:addMethods}}})();(function(){var _toString=Object.prototype.toString;function extend(destination,source){for(var property in source)destination[property]=source[property];return destination};function inspect(object){try{if(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}};function toJSON(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(isElement(object))return;var results=[];for(var property in object){var value=toJSON(object[property]);if(!isUndefined(value))results.push(property.toJSON()+': '+value)}return'{'+results.join(', ')+'}'};function toQueryString(object){return $H(object).toQueryString()};function toHTML(object){return object&&object.toHTML?object.toHTML():String.interpret(object)};function keys(object){var results=[];for(var property in object)results.push(property);return results};function values(object){var results=[];for(var property in object)results.push(object[property]);return results};function clone(object){return extend({},object)};function isElement(object){return!!(object&&object.nodeType==1)};function isArray(object){return _toString.call(object)=="[object Array]"};function isHash(object){return object instanceof Hash};function isFunction(object){return typeof object==="function"};function isString(object){return _toString.call(object)=="[object String]"};function isNumber(object){return _toString.call(object)=="[object Number]"};function isUndefined(object){return typeof object==="undefined"};extend(Object,{extend:extend,inspect:inspect,toJSON:toJSON,toQueryString:toQueryString,toHTML:toHTML,keys:keys,values:values,clone:clone,isElement:isElement,isArray:isArray,isHash:isHash,isFunction:isFunction,isString:isString,isNumber:isNumber,isUndefined:isUndefined})})();Object.extend(Function.prototype,(function(){var slice=Array.prototype.slice;function update(array,args){var arrayLength=array.length,length=args.length;while(length--)array[arrayLength+length]=args[length];return array}function merge(array,args){array=slice.call(array,0);return update(array,args)}function argumentNames(){var names=this.toString().match(/^[\s\(]*function[^(]*\(([^)]*)\)/)[1].replace(/\/\/.*?[\r\n]|\/\*(?:.|[\r\n])*?\*\//g,'').replace(/\s+/g,'').split(',');return names.length==1&&!names[0]?[]:names}function bind(context){if(arguments.length<2&&Object.isUndefined(arguments[0]))return this;var __method=this,args=slice.call(arguments,1);return function(){var a=merge(args,arguments);return __method.apply(context,a)}}function bindAsEventListener(context){var __method=this,args=slice.call(arguments,1);return function(event){var a=update([event||window.event],args);return __method.apply(context,a)}}function curry(){if(!arguments.length)return this;var __method=this,args=slice.call(arguments,0);return function(){var a=merge(args,arguments);return __method.apply(this,a)}}function delay(timeout){var __method=this,args=slice.call(arguments,1);timeout=timeout*1000;return window.setTimeout(function(){return __method.apply(__method,args)},timeout)}function defer(){var args=update([0.01],arguments);return this.delay.apply(this,args)}function wrap(wrapper){var __method=this;return function(){var a=update([__method.bind(this)],arguments);return wrapper.apply(this,a)}}function methodize(){if(this._methodized)return this._methodized;var __method=this;return this._methodized=function(){var a=update([this],arguments);return __method.apply(null,a)}}return{argumentNames:argumentNames,bind:bind,bindAsEventListener:bindAsEventListener,curry:curry,delay:delay,defer:defer,wrap:wrap,methodize:methodize}})());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"'};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();this.currentlyExecuting=false}catch(e){this.currentlyExecuting=false;throw e}}}});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,(function(){function prepareReplacement(replacement){if(Object.isFunction(replacement))return replacement;var template=new Template(replacement);return function(match){return template.evaluate(match)}}function gsub(pattern,replacement){var result='',source=this,match;replacement=prepareReplacement(replacement);if(Object.isString(pattern))pattern=RegExp.escape(pattern);if(!(pattern.length||pattern.source)){replacement=replacement('');return replacement+source.split('').join(replacement)+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}function sub(pattern,replacement,count){replacement=prepareReplacement(replacement);count=Object.isUndefined(count)?1:count;return this.gsub(pattern,function(match){if(--count<0)return match[0];return replacement(match)})}function scan(pattern,iterator){this.gsub(pattern,iterator);return String(this)}function truncate(length,truncation){length=length||30;truncation=Object.isUndefined(truncation)?'...':truncation;return this.length>length?this.slice(0,length-truncation.length)+truncation:String(this)}function strip(){return this.replace(/^\s+/,'').replace(/\s+$/,'')}function stripTags(){return this.replace(/<\w+(\s+("[^"]*"|'[^']*'|[^>])+)?>|<\/\w+>/gi,'')}function stripScripts(){return this.replace(new RegExp(Prototype.ScriptFragment,'img'),'')}function extractScripts(){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]})}function evalScripts(){return this.extractScripts().map(function(script){return eval(script)})}function escapeHTML(){return this.replace(/&/g,'&amp;').replace(/</g,'&lt;').replace(/>/g,'&gt;')}function unescapeHTML(){return this.stripTags().replace(/&lt;/g,'<').replace(/&gt;/g,'>').replace(/&amp;/g,'&')}function toQueryParams(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})}function toArray(){return this.split('')}function succ(){return this.slice(0,this.length-1)+String.fromCharCode(this.charCodeAt(this.length-1)+1)}function times(count){return count<1?'':new Array(count+1).join(this)}function camelize(){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}function capitalize(){return this.charAt(0).toUpperCase()+this.substring(1).toLowerCase()}function underscore(){return this.replace(/::/g,'/').replace(/([A-Z]+)([A-Z][a-z])/g,'$1_$2').replace(/([a-z\d])([A-Z])/g,'$1_$2').replace(/-/g,'_').toLowerCase()}function dasherize(){return this.replace(/_/g,'-')}function inspect(useDoubleQuotes){var escapedString=this.replace(/[\x00-\x1f\\]/g,function(character){if(character in String.specialChar){return String.specialChar[character]}return'\\u00'+character.charCodeAt().toPaddedString(2,16)});if(useDoubleQuotes)return'"'+escapedString.replace(/"/g,'\\"')+'"';return"'"+escapedString.replace(/'/g,'\\\'')+"'"}function toJSON(){return this.inspect(true)}function unfilterJSON(filter){return this.replace(filter||Prototype.JSONFilter,'$1')}function isJSON(){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)}function evalJSON(sanitize){var json=this.unfilterJSON();try{if(!sanitize||json.isJSON())return eval('('+json+')')}catch(e){}throw new SyntaxError('Badly formed JSON string: '+this.inspect())}function include(pattern){return this.indexOf(pattern)>-1}function startsWith(pattern){return this.indexOf(pattern)===0}function endsWith(pattern){var d=this.length-pattern.length;return d>=0&&this.lastIndexOf(pattern)===d}function empty(){return this==''}function blank(){return/^\s*$/.test(this)}function interpolate(object,pattern){return new Template(this,pattern).evaluate(object)}return{gsub:gsub,sub:sub,scan:scan,truncate:truncate,strip:String.prototype.trim?String.prototype.trim:strip,stripTags:stripTags,stripScripts:stripScripts,extractScripts:extractScripts,evalScripts:evalScripts,escapeHTML:escapeHTML,unescapeHTML:unescapeHTML,toQueryParams:toQueryParams,parseQuery:toQueryParams,toArray:toArray,succ:succ,times:times,camelize:camelize,capitalize:capitalize,underscore:underscore,dasherize:dasherize,inspect:inspect,toJSON:toJSON,unfilterJSON:unfilterJSON,isJSON:isJSON,evalJSON:evalJSON,include:include,startsWith:startsWith,endsWith:endsWith,empty:empty,blank:blank,interpolate:interpolate}})());var Template=Class.create({initialize:function(template,pattern){this.template=template.toString();this.pattern=pattern||Template.Pattern},evaluate:function(object){if(object&&Object.isFunction(object.toTemplateReplacements))object=object.toTemplateReplacements();return this.template.gsub(this.pattern,function(match){if(object==null)return(match[1]+'');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].replace(/\\\\]/g,']'):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=(function(){function each(iterator,context){var index=0;try{this._each(function(value){iterator.call(context,value,index++)})}catch(e){if(e!=$break)throw e}return this}function eachSlice(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)}function all(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}function any(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}function collect(iterator,context){iterator=iterator||Prototype.K;var results=[];this.each(function(value,index){results.push(iterator.call(context,value,index))});return results}function detect(iterator,context){var result;this.each(function(value,index){if(iterator.call(context,value,index)){result=value;throw $break}});return result}function findAll(iterator,context){var results=[];this.each(function(value,index){if(iterator.call(context,value,index))results.push(value)});return results}function grep(filter,iterator,context){iterator=iterator||Prototype.K;var results=[];if(Object.isString(filter))filter=new RegExp(RegExp.escape(filter));this.each(function(value,index){if(filter.match(value))results.push(iterator.call(context,value,index))});return results}function include(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}function inGroupsOf(number,fillWith){fillWith=Object.isUndefined(fillWith)?null:fillWith;return this.eachSlice(number,function(slice){while(slice.length<number)slice.push(fillWith);return slice})}function inject(memo,iterator,context){this.each(function(value,index){memo=iterator.call(context,memo,value,index)});return memo}function invoke(method){var args=$A(arguments).slice(1);return this.map(function(value){return value[method].apply(value,args)})}function max(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}function min(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}function partition(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]}function pluck(property){var results=[];this.each(function(value){results.push(value[property])});return results}function reject(iterator,context){var results=[];this.each(function(value,index){if(!iterator.call(context,value,index))results.push(value)});return results}function sortBy(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')}function toArray(){return this.map()}function zip(){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))})}function size(){return this.toArray().length}function inspect(){return'#<Enumerable:'+this.toArray().inspect()+'>'}return{each:each,eachSlice:eachSlice,all:all,every:all,any:any,some:any,collect:collect,map:collect,detect:detect,findAll:findAll,select:findAll,filter:findAll,grep:grep,include:include,member:include,inGroupsOf:inGroupsOf,inject:inject,invoke:invoke,max:max,min:min,partition:partition,pluck:pluck,reject:reject,sortBy:sortBy,toArray:toArray,entries:toArray,zip:zip,size:size,inspect:inspect,find:detect}})();function $A(iterable){if(!iterable)return[];if('toArray'in Object(iterable))return iterable.toArray();var length=iterable.length||0,results=new Array(length);while(length--)results[length]=iterable[length];return results}function $w(string){if(!Object.isString(string))return[];string=string.strip();return string?string.split(/\s+/):[]}Array.from=$A;(function(){var arrayProto=Array.prototype,slice=arrayProto.slice,_each=arrayProto.forEach;function each(iterator){for(var i=0,length=this.length;i<length;i++)iterator(this[i])}if(!_each)_each=each;function clear(){this.length=0;return this}function first(){return this[0]}function last(){return this[this.length-1]}function compact(){return this.select(function(value){return value!=null})}function flatten(){return this.inject([],function(array,value){if(Object.isArray(value))return array.concat(value.flatten());array.push(value);return array})}function without(){var values=slice.call(arguments,0);return this.select(function(value){return!values.include(value)})}function reverse(inline){return(inline!==false?this:this.toArray())._reverse()}function uniq(sorted){return this.inject([],function(array,value,index){if(0==index||(sorted?array.last()!=value:!array.include(value)))array.push(value);return array})}function intersect(array){return this.uniq().findAll(function(item){return array.detect(function(value){return item===value})})}function clone(){return slice.call(this,0)}function size(){return this.length}function inspect(){return'['+this.map(Object.inspect).join(', ')+']'}function toJSON(){var results=[];this.each(function(object){var value=Object.toJSON(object);if(!Object.isUndefined(value))results.push(value)});return'['+results.join(', ')+']'}function indexOf(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}function lastIndexOf(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}function concat(){var array=slice.call(this,0),item;for(var i=0,length=arguments.length;i<length;i++){item=arguments[i];if(Object.isArray(item)&&!('callee'in item)){for(var j=0,arrayLength=item.length;j<arrayLength;j++)array.push(item[j])}else{array.push(item)}}return array}Object.extend(arrayProto,Enumerable);if(!arrayProto._reverse)arrayProto._reverse=arrayProto.reverse;Object.extend(arrayProto,{_each:_each,clear:clear,first:first,last:last,compact:compact,flatten:flatten,without:without,reverse:reverse,uniq:uniq,intersect:intersect,clone:clone,toArray:clone,size:size,inspect:inspect,toJSON:toJSON});var CONCAT_ARGUMENTS_BUGGY=(function(){return[].concat(arguments)[0][0]!==1})(1,2);if(CONCAT_ARGUMENTS_BUGGY)arrayProto.concat=concat;if(!arrayProto.indexOf)arrayProto.indexOf=indexOf;if(!arrayProto.lastIndexOf)arrayProto.lastIndexOf=lastIndexOf})();function $H(object){return new Hash(object)};var Hash=Class.create(Enumerable,(function(){function initialize(object){this._object=Object.isHash(object)?object.toObject():Object.clone(object)}function _each(iterator){for(var key in this._object){var value=this._object[key],pair=[key,value];pair.key=key;pair.value=value;iterator(pair)}}function set(key,value){return this._object[key]=value}function get(key){if(this._object[key]!==Object.prototype[key])return this._object[key]}function unset(key){var value=this._object[key];delete this._object[key];return value}function toObject(){return Object.clone(this._object)}function keys(){return this.pluck('key')}function values(){return this.pluck('value')}function index(value){var match=this.detect(function(pair){return pair.value===value});return match&&match.key}function merge(object){return this.clone().update(object)}function update(object){return new Hash(object).inject(this,function(result,pair){result.set(pair.key,pair.value);return result})}function toQueryPair(key,value){if(Object.isUndefined(value))return key;return key+'='+encodeURIComponent(String.interpret(value))}function toQueryString(){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('&')}function inspect(){return'#<Hash:{'+this.map(function(pair){return pair.map(Object.inspect).join(': ')}).join(', ')+'}>'}function toJSON(){return Object.toJSON(this.toObject())}function clone(){return new Hash(this)}return{initialize:initialize,_each:_each,set:set,get:get,unset:unset,toObject:toObject,toTemplateReplacements:toObject,keys:keys,values:values,index:index,merge:merge,update:update,toQueryString:toQueryString,inspect:inspect,toJSON:toJSON,clone:clone}})());Hash.from=$H;Object.extend(Number.prototype,(function(){function toColorPart(){return this.toPaddedString(2,16)}function succ(){return this+1}function times(iterator,context){$R(0,this,true).each(iterator,context);return this}function toPaddedString(length,radix){var string=this.toString(radix||10);return'0'.times(length-string.length)+string}function toJSON(){return isFinite(this)?this.toString():'null'}function abs(){return Math.abs(this)}function round(){return Math.round(this)}function ceil(){return Math.ceil(this)}function floor(){return Math.floor(this)}return{toColorPart:toColorPart,succ:succ,times:times,toPaddedString:toPaddedString,toJSON:toJSON,abs:abs,round:round,ceil:ceil,floor:floor}})());function $R(start,end,exclusive){return new ObjectRange(start,end,exclusive)}var ObjectRange=Class.create(Enumerable,(function(){function initialize(start,end,exclusive){this.start=start;this.end=end;this.exclusive=exclusive}function _each(iterator){var value=this.start;while(this.include(value)){iterator(value);value=value.succ()}}function include(value){if(value<this.start)return false;if(this.exclusive)return value<this.end;return value<=this.end}return{initialize:initialize,_each:_each,include:include}})());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(global){var SETATTRIBUTE_IGNORES_NAME=(function(){var elForm=document.createElement("form");var elInput=document.createElement("input");var root=document.documentElement;elInput.setAttribute("name","test");elForm.appendChild(elInput);root.appendChild(elForm);var isBuggy=elForm.elements?(typeof elForm.elements.test=="undefined"):null;root.removeChild(elForm);elForm=elInput=null;return isBuggy})();var element=global.Element;global.Element=function(tagName,attributes){attributes=attributes||{};tagName=tagName.toLowerCase();var cache=Element.cache;if(SETATTRIBUTE_IGNORES_NAME&&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(global.Element,element||{});if(element)global.Element.prototype=element.prototype})(this);Element.cache={};Element.idCounter=1;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(){var SELECT_ELEMENT_INNERHTML_BUGGY=(function(){var el=document.createElement("select"),isBuggy=true;el.innerHTML="<option value=\"test\">test</option>";if(el.options&&el.options[0]){isBuggy=el.options[0].nodeName.toUpperCase()!=="OPTION"}el=null;return isBuggy})();var TABLE_ELEMENT_INNERHTML_BUGGY=(function(){try{var el=document.createElement("table");if(el&&el.tBodies){el.innerHTML="<tbody><tr><td>test</td></tr></tbody>";var isBuggy=typeof el.tBodies[0]=="undefined";el=null;return isBuggy}}catch(e){return true}})();var SCRIPT_ELEMENT_REJECTS_TEXTNODE_APPENDING=(function(){var s=document.createElement("script"),isBuggy=false;try{s.appendChild(document.createTextNode(""));isBuggy=!s.firstChild||s.firstChild&&s.firstChild.nodeType!==3}catch(e){isBuggy=true}s=null;return isBuggy})();function update(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==='SCRIPT'&&SCRIPT_ELEMENT_REJECTS_TEXTNODE_APPENDING){element.text=content;return element}if(SELECT_ELEMENT_INNERHTML_BUGGY||TABLE_ELEMENT_INNERHTML_BUGGY){if(tagName in Element._insertionTranslations.tags){while(element.firstChild){element.removeChild(element.firstChild)}Element._getContentFromAnonymousElement(tagName,content.stripScripts()).each(function(node){element.appendChild(node)})}else{element.innerHTML=content.stripScripts()}}else{element.innerHTML=content.stripScripts()}content.evalScripts.bind(content).defer();return element}return update})(),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(element,'parentNode')},descendants:function(element){return Element.select(element,"*")},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(element,'previousSibling')},nextSiblings:function(element){return Element.recursivelyCollect(element,'nextSibling')},siblings:function(element){element=$(element);return Element.previousSiblings(element).reverse().concat(Element.nextSiblings(element))},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(element);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(element);return Object.isNumber(expression)?Element.descendants(element)[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(element);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(element);return Object.isNumber(expression)?nextSiblings[expression]:Selector.findElement(nextSiblings,expression,index)},select:function(element){var args=Array.prototype.slice.call(arguments,1);return Selector.findChildElements(element,args)},adjacent:function(element){var args=Array.prototype.slice.call(arguments,1);return Selector.findChildElements(element.parentNode,args).without(element)},identify:function(element){element=$(element);var id=Element.readAttribute(element,'id');if(id)return id;do{id='anonymous_element_'+Element.idCounter++}while($(id));Element.writeAttribute(element,'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(element).height},getWidth:function(element){return Element.getDimensions(element).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(element,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(element,className)?'removeClassName':'addClassName'](element,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(element);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(element,'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';if(originalPosition!='fixed')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(element,'position')=='absolute')return element;var offsets=Element.positionedOffset(element);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(element,'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=Element.viewportOffset(source);element=$(element);var delta=[0,0];var parent=null;if(Element.getStyle(element,'position')=='absolute'){parent=Element.getOffsetParent(element);delta=Element.viewportOffset(parent)}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}};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=(function(){var classProp='className';var forProp='for';var el=document.createElement('div');el.setAttribute(classProp,'x');if(el.className!=='x'){el.setAttribute('class','x');if(el.className==='x'){classProp='class'}}el=null;el=document.createElement('label');el.setAttribute(forProp,'x');if(el.htmlFor!=='x'){el.setAttribute('htmlFor','x');if(el.htmlFor==='x'){forProp='htmlFor'}}el=null;return{read:{names:{'class':classProp,'className':classProp,'for':forProp,'htmlFor':forProp},values:{_getAttr:function(element,attribute){return element.getAttribute(attribute)},_getAttr2:function(element,attribute){return element.getAttribute(attribute,2)},_getAttrNode:function(element,attribute){var node=element.getAttributeNode(attribute);return node?node.value:""},_getEv:(function(){var el=document.createElement('div');el.onclick=Prototype.emptyFunction;var value=el.getAttribute('onclick');var f;if(String(value).indexOf('{')>-1){f=function(element,attribute){attribute=element.getAttribute(attribute);if(!attribute)return null;attribute=attribute.toString();attribute=attribute.split('{')[1];attribute=attribute.split('}')[0];return attribute.strip()}}else if(value===''){f=function(element,attribute){attribute=element.getAttribute(attribute);if(!attribute)return null;return attribute.strip()}}el=null;return f})(),_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._getAttr2,src:v._getAttr2,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);if(Prototype.BrowserFeatures.ElementExtensions){(function(){function _descendants(element){var nodes=element.getElementsByTagName('*'),results=[];for(var i=0,node;node=nodes[i];i++)if(node.tagName!=="!")results.push(node);return results};Element.Methods.down=function(element,expression,index){element=$(element);if(arguments.length==1)return element.firstDescendant();return Object.isNumber(expression)?_descendants(element)[expression]:Element.select(element,expression)[index||0]}})()}}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('outerHTML'in document.documentElement){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(){var tags=Element._insertionTranslations.tags;Object.extend(tags,{THEAD:tags.TBODY,TFOOT:tags.TBODY,TH:tags.TD})})();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);(function(div){if(!Prototype.BrowserFeatures.ElementExtensions&&div['__proto__']){window.HTMLElement={};window.HTMLElement.prototype=div['__proto__'];Prototype.BrowserFeatures.ElementExtensions=true}div=null})(document.createElement('div'));Element.extend=(function(){function checkDeficiency(tagName){if(typeof window.Element!='undefined'){var proto=window.Element.prototype;if(proto){var id='_'+(Math.random()+'').slice(2);var el=document.createElement(tagName);proto[id]='x';var isBuggy=(el[id]!=='x');delete proto[id];el=null;return isBuggy}}return false}function extendElementWith(element,methods){for(var property in methods){var value=methods[property];if(Object.isFunction(value)&&!(property in element))element[property]=value.methodize()}}var HTMLOBJECTELEMENT_PROTOTYPE_BUGGY=checkDeficiency('object');if(Prototype.BrowserFeatures.SpecificElementExtensions){if(HTMLOBJECTELEMENT_PROTOTYPE_BUGGY){return function(element){if(element&&typeof element._extendedByPrototype=='undefined'){var t=element.tagName;if(t&&(/^(?:object|applet|embed)$/i.test(t))){extendElementWith(element,Element.Methods);extendElementWith(element,Element.Methods.Simulated);extendElementWith(element,Element.Methods.ByTag[t.toUpperCase()])}}return element}}return Prototype.K}var Methods={},ByTag=Element.Methods.ByTag;var extend=Object.extend(function(element){if(!element||typeof element._extendedByPrototype!='undefined'||element.nodeType!=1||element==window)return element;var methods=Object.clone(Methods),tagName=element.tagName.toUpperCase();if(ByTag[tagName])Object.extend(methods,ByTag[tagName]);extendElementWith(element,methods);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];var element=document.createElement(tagName);var proto=element['__proto__']||element.constructor.prototype;element=null;return proto}var elementPrototype=window.HTMLElement?HTMLElement.prototype:Element.prototype;if(F.ElementExtensions){copy(Element.Methods,elementPrototype);copy(Element.Methods.Simulated,elementPrototype,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(){return{width:this.getWidth(),height:this.getHeight()}},getScrollOffsets:function(){return Element._returnOffset(window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft,window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop)}};(function(viewport){var B=Prototype.Browser,doc=document,element,property={};function getRootElement(){if(B.WebKit&&!doc.evaluate)return document;if(B.Opera&&window.parseFloat(window.opera.version())<9.5)return document.body;return document.documentElement}function define(D){if(!element)element=getRootElement();property[D]='client'+D;viewport['get'+D]=function(){return element[property[D]]};return viewport['get'+D]()}viewport.getWidth=define.curry('Width');viewport.getHeight=define.curry('Height')})(document.viewport);Element.Storage={UID:1};Element.addMethods({getStorage:function(element){if(!(element=$(element)))return;var uid;if(element===window){uid=0}else{if(typeof element._prototypeUID==="undefined")element._prototypeUID=[Element.Storage.UID++];uid=element._prototypeUID[0]}if(!Element.Storage[uid])Element.Storage[uid]=$H();return Element.Storage[uid]},store:function(element,key,value){if(!(element=$(element)))return;if(arguments.length===2){Element.getStorage(element).update(key)}else{Element.getStorage(element).set(key,value)}return element},retrieve:function(element,key,defaultValue){if(!(element=$(element)))return;var hash=Element.getStorage(element),value=hash.get(key);if(Object.isUndefined(value)){hash.set(key,defaultValue);value=defaultValue}return value},clone:function(element,deep){if(!(element=$(element)))return;var clone=element.cloneNode(deep);clone._prototypeUID=void 0;if(deep){var descendants=Element.select(clone,'*'),i=descendants.length;while(i--){descendants[i]._prototypeUID=void 0}}return Element.extend(clone)}});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(){var IS_DESCENDANT_SELECTOR_BUGGY=(function(){var isBuggy=false;if(document.evaluate&&window.XPathResult){var el=document.createElement('div');el.innerHTML='<ul><li></li></ul><div><ul><li></li></ul></div>';var xpath=".//*[local-name()='ul' or local-name()='UL']"+"//*[local-name()='li' or local-name()='LI']";var result=document.evaluate(xpath,el,null,XPathResult.ORDERED_NODE_SNAPSHOT_TYPE,null);isBuggy=(result.snapshotLength!==2);el=null}return isBuggy})();return 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;if(IS_DESCENDANT_SELECTOR_BUGGY)return false;return true}})(),shouldUseSelectorsAPI:function(){if(!Prototype.BrowserFeatures.SelectorsAPI)return false;if(Selector.CASE_INSENSITIVE_CLASS_NAMES)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,len=ps.length,name;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=0;i<len;i++){p=ps[i].re;name=ps[i].name;if(m=e.match(p)){this.matcher.push(Object.isFunction(c[name])?c[name](m):new Template(c[name]).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,len=ps.length,name;if(Selector._cache[e]){this.xpath=Selector._cache[e];return}this.matcher=['.//*'];while(e&&le!=e&&(/\S/).test(e)){le=e;for(var i=0;i<len;i++){name=ps[i].name;if(m=e.match(ps[i].re)){this.matcher.push(Object.isFunction(x[name])?x[name](m):new Template(x[name]).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();id=id.replace(/([\.:])/g,"\\$1");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,len=ps.length,name;while(e&&le!==e&&(/\S/).test(e)){le=e;for(var i=0;i<len;i++){p=ps[i].re;name=ps[i].name;if(m=e.match(p)){if(as[name]){this.tokens.push([name,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()+">"}});if(Prototype.BrowserFeatures.SelectorsAPI&&document.compatMode==='BackCompat'){Selector.CASE_INSENSITIVE_CLASS_NAMES=(function(){var div=document.createElement('div'),span=document.createElement('span');div.id="prototype_test_id";span.className='Test';div.appendChild(span);var isIgnored=(div.querySelector('#prototype_test_id .test')!==null);div=span=null;return isIgnored})()}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,len=p.length,name;var exclusion=[];while(e&&le!=e&&(/\S/).test(e)){le=e;for(var i=0;i<len;i++){name=p[i].name;if(m=e.match(p[i].re)){v=Object.isFunction(x[name])?x[name](m):new Template(x[name]).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:[{name:'laterSibling',re:/^\s*~\s*/},{name:'child',re:/^\s*>\s*/},{name:'adjacent',re:/^\s*\+\s*/},{name:'descendant',re:/^\s/},{name:'tagName',re:/^\s*(\*|[\w\-]+)(\b|$)?/},{name:'id',re:/^#([\w\-\*]+)(\b|$)/},{name:'className',re:/^\.([\w\-\*]+)(\b|$)/},{name:'pseudo',re:/^:((first|last|nth|nth-last|only)(-child|-of-type)|empty|checked|(en|dis)abled|not)(\((.*?)\))?(\b|$|(?=\s|[:+~>]))/},{name:'attrPresence',re:/^\[((?:[\w-]+:)?[\w-]+)\]/},{name:'attr',re:/\[((?:[\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(){var PROPERTIES_ATTRIBUTES_MAP=(function(){var el=document.createElement('div'),isBuggy=false,propName='_countedByPrototype',value='x';el[propName]=value;isBuggy=(el.getAttribute(propName)===value);el=null;return isBuggy})();return PROPERTIES_ATTRIBUTES_MAP?function(nodes){for(var i=0,node;node=nodes[i];i++)node.removeAttribute('_countedByPrototype');return nodes}:function(nodes){for(var i=0,node;node=nodes[i];i++)node._countedByPrototype=void 0;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(typeof(n=nodes[i])._countedByPrototype=='undefined'){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(root==document){if(!targetNode)return[];if(!nodes)return[targetNode]}else{if(!root.sourceIndex||root.sourceIndex<1){var nodes=root.getElementsByTagName('*');for(var j=0,node;node=nodes[j];j++){if(node.id===id)return[node]}}}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+' ').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}})}function $$(){return Selector.findChildElements(document,$A(arguments))}var Form={reset:function(form){form=$(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){var elements=$(form).getElementsByTagName('*'),element,arr=[],serializers=Form.Element.Serializers;for(var i=0;element=elements[i];i++){arr.push(element)}return arr.inject([],function(elements,child){if(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)$/i.test(element.tagName)})},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)$/i.test(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)}});(function(){var 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:{}};var docEl=document.documentElement;var MOUSEENTER_MOUSELEAVE_EVENTS_SUPPORTED='onmouseenter'in docEl&&'onmouseleave'in docEl;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)}}function isLeftClick(event){return _isButton(event,0)}function isMiddleClick(event){return _isButton(event,1)}function isRightClick(event){return _isButton(event,2)}function element(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)}function findElement(event,expression){var element=Event.element(event);if(!expression)return element;var elements=[element].concat(element.ancestors());return Selector.findElement(elements,expression,0)}function pointer(event){return{x:pointerX(event),y:pointerY(event)}}function pointerX(event){var docElement=document.documentElement,body=document.body||{scrollLeft:0};return event.pageX||(event.clientX+(docElement.scrollLeft||body.scrollLeft)-(docElement.clientLeft||0))}function pointerY(event){var docElement=document.documentElement,body=document.body||{scrollTop:0};return event.pageY||(event.clientY+(docElement.scrollTop||body.scrollTop)-(docElement.clientTop||0))}function stop(event){Event.extend(event);event.preventDefault();event.stopPropagation();event.stopped=true}Event.Methods={isLeftClick:isLeftClick,isMiddleClick:isMiddleClick,isRightClick:isRightClick,element:element,findElement:findElement,pointer:pointer,pointerX:pointerX,pointerY:pointerY,stop:stop};var methods=Object.keys(Event.Methods).inject({},function(m,name){m[name]=Event.Methods[name].methodize();return m});if(Prototype.Browser.IE){function _relatedTarget(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)}Object.extend(methods,{stopPropagation:function(){this.cancelBubble=true},preventDefault:function(){this.returnValue=false},inspect:function(){return'[object Event]'}});Event.extend=function(event,element){if(!event)return false;if(event._extendedByPrototype)return event;event._extendedByPrototype=Prototype.emptyFunction;var pointer=Event.pointer(event);Object.extend(event,{target:event.srcElement||element,relatedTarget:_relatedTarget(event),pageX:pointer.x,pageY:pointer.y});return Object.extend(event,methods)}}else{Event.prototype=window.Event.prototype||document.createEvent('HTMLEvents').__proto__;Object.extend(Event.prototype,methods);Event.extend=Prototype.K}function _createResponder(element,eventName,handler){var registry=Element.retrieve(element,'prototype_event_registry');if(Object.isUndefined(registry)){CACHE.push(element);registry=Element.retrieve(element,'prototype_event_registry',$H())}var respondersForEvent=registry.get(eventName);if(Object.isUndefined(respondersForEvent)){respondersForEvent=[];registry.set(eventName,respondersForEvent)}if(respondersForEvent.pluck('handler').include(handler))return false;var responder;if(eventName.include(":")){responder=function(event){if(Object.isUndefined(event.eventName))return false;if(event.eventName!==eventName)return false;Event.extend(event,element);handler.call(element,event)}}else{if(!MOUSEENTER_MOUSELEAVE_EVENTS_SUPPORTED&&(eventName==="mouseenter"||eventName==="mouseleave")){if(eventName==="mouseenter"||eventName==="mouseleave"){responder=function(event){Event.extend(event,element);var parent=event.relatedTarget;while(parent&&parent!==element){try{parent=parent.parentNode}catch(e){parent=element}}if(parent===element)return;handler.call(element,event)}}}else{responder=function(event){Event.extend(event,element);handler.call(element,event)}}}responder.handler=handler;respondersForEvent.push(responder);return responder}function _destroyCache(){for(var i=0,length=CACHE.length;i<length;i++){Event.stopObserving(CACHE[i]);CACHE[i]=null}}var CACHE=[];if(Prototype.Browser.IE)window.attachEvent('onunload',_destroyCache);if(Prototype.Browser.WebKit)window.addEventListener('unload',Prototype.emptyFunction,false);var _getDOMEventName=Prototype.K;if(!MOUSEENTER_MOUSELEAVE_EVENTS_SUPPORTED){_getDOMEventName=function(eventName){var translations={mouseenter:"mouseover",mouseleave:"mouseout"};return eventName in translations?translations[eventName]:eventName}}function observe(element,eventName,handler){element=$(element);var responder=_createResponder(element,eventName,handler);if(!responder)return element;if(eventName.include(':')){if(element.addEventListener)element.addEventListener("dataavailable",responder,false);else{element.attachEvent("ondataavailable",responder);element.attachEvent("onfilterchange",responder)}}else{var actualEventName=_getDOMEventName(eventName);if(element.addEventListener)element.addEventListener(actualEventName,responder,false);else element.attachEvent("on"+actualEventName,responder)}return element}function stopObserving(element,eventName,handler){element=$(element);var registry=Element.retrieve(element,'prototype_event_registry');if(Object.isUndefined(registry))return element;if(eventName&&!handler){var responders=registry.get(eventName);if(Object.isUndefined(responders))return element;responders.each(function(r){Element.stopObserving(element,eventName,r.handler)});return element}else if(!eventName){registry.each(function(pair){var eventName=pair.key,responders=pair.value;responders.each(function(r){Element.stopObserving(element,eventName,r.handler)})});return element}var responders=registry.get(eventName);if(!responders)return;var responder=responders.find(function(r){return r.handler===handler});if(!responder)return element;var actualEventName=_getDOMEventName(eventName);if(eventName.include(':')){if(element.removeEventListener)element.removeEventListener("dataavailable",responder,false);else{element.detachEvent("ondataavailable",responder);element.detachEvent("onfilterchange",responder)}}else{if(element.removeEventListener)element.removeEventListener(actualEventName,responder,false);else element.detachEvent('on'+actualEventName,responder)}registry.set(eventName,responders.without(responder));return element}function fire(element,eventName,memo,bubble){element=$(element);if(Object.isUndefined(bubble))bubble=true;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=bubble?'ondataavailable':'onfilterchange'}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);Object.extend(Event,{fire:fire,observe:observe,stopObserving:stopObserving});Element.addMethods({fire:fire,observe:observe,stopObserving:stopObserving});Object.extend(document,{fire:fire.methodize(),observe:observe.methodize(),stopObserving:stopObserving.methodize(),loaded:false});if(window.Event)Object.extend(window.Event,Event);else window.Event=Event})();(function(){var timer;function fireContentLoadedEvent(){if(document.loaded)return;if(timer)window.clearTimeout(timer);document.loaded=true;document.fire('dom:loaded')}function checkReadyState(){if(document.readyState==='complete'){document.stopObserving('readystatechange',checkReadyState);fireContentLoadedEvent()}}function pollDoScroll(){try{document.documentElement.doScroll('left')}catch(e){timer=pollDoScroll.defer();return}fireContentLoadedEvent()}if(document.addEventListener){document.addEventListener('DOMContentLoaded',fireContentLoadedEvent,false)}else{document.observe('readystatechange',checkReadyState);if(window==top)timer=pollDoScroll.defer()}Event.observe(window,'load',fireContentLoadedEvent)})();Element.addMethods();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);
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 IsFlashActive(){var flashVersion=0;var MIN_FLASH_VERSION=7;var ua=navigator.userAgent.toLowerCase();if(ua.indexOf('ie')>-1&&!(ua.indexOf('opera')>-1)){try{flashVersion=parseFloat(/([\d,?]+)/.exec(new ActiveXObject('ShockwaveFlash.ShockwaveFlash.7').GetVariable('$version'))[1].replace(/,/g,'.'))}catch(e){}}else if(navigator.plugins&&navigator.plugins['Shockwave Flash']){var flashPlugin=navigator.plugins['Shockwave Flash'];flashVersion=parseFloat(/(\d+\.?\d*)/.exec(flashPlugin.description)[1]);var i=0;while(flashVersion>=MIN_FLASH_VERSION&&i<navigator.mimeTypes.length){var mime=navigator.mimeTypes[i];if(mime.type=='application/x-shockwave-flash'&&!new RegExp('.*Shockwave\\sFlash\\s'+flashVersion+'.*').exec(mime.enabledPlugin.description)){flashVersion=0}i++}}return flashVersion>=MIN_FLASH_VERSION}function CreateFlashOnId(src,id,width,height,wmode,bgcolor,flashvars){var ua=navigator.userAgent.toLowerCase();if(IsFlashActive()||ua.indexOf('chrome')>-1){var sProtocol='http://';src=src.slice(0,src.lastIndexOf('.swf'));AC_FL_DomID=id;if(window.location.href.substring(0,8)=="https://"){sProtocol='https://'}AC_FL_RunContent('codebase',sProtocol+'download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0','width',width,'height',height,'src',src,'allowFullScreen','true','quality','high','flashvars',flashvars,'wmode',wmode,'bgcolor',bgcolor,'pluginspage',sProtocol+'www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash','movie',src);AC_FL_DomID=null}}function CreateFlash(src,width,height,wmode,bgcolor,flashvars){if(IsFlashActive()){src=src.slice(0,src.lastIndexOf('.swf'));AC_FL_RunContent('codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0','width',width,'height',height,'src',src,'allowFullScreen','true','quality','high','flashvars',flashvars,'wmode',wmode,'bgcolor',bgcolor,'pluginspage','http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash','movie',src)}}var AC_FL_DomID=null;function AC_AddExtension(src,ext){if(src.indexOf('?')!=-1)return src.replace(/\?/,ext+'?');else return src+ext}function AC_Generateobj(objAttrs,params,embedAttrs){var str='<object ';for(var i in objAttrs)str+=i+'="'+objAttrs[i]+'" ';str+='>';for(var i in params)str+='<param name="'+i+'" value="'+params[i]+'" /> ';str+='<embed ';for(var i in embedAttrs)str+=i+'="'+embedAttrs[i]+'" ';str+=' ></embed></object>';if(AC_FL_DomID!=null){if(document.getElementById(AC_FL_DomID)!=null){document.getElementById(AC_FL_DomID).innerHTML=str}else{document.write(str)}}else{document.write(str)}}function AC_FL_RunContent(){var ret=AC_GetArgs(arguments,".swf","movie","clsid:d27cdb6e-ae6d-11cf-96b8-444553540000","application/x-shockwave-flash");AC_Generateobj(ret.objAttrs,ret.params,ret.embedAttrs)}function AC_SW_RunContent(){var ret=AC_GetArgs(arguments,".dcr","src","clsid:166B1BCA-3F9C-11CF-8075-444553540000",null);AC_Generateobj(ret.objAttrs,ret.params,ret.embedAttrs)}function AC_GetArgs(args,ext,srcParamName,classid,mimeType){var ret=new Object();ret.embedAttrs=new Object();ret.params=new Object();ret.objAttrs=new Object();for(var i=0;i<args.length;i=i+2){var currArg=args[i].toLowerCase();switch(currArg){case"classid":break;case"pluginspage":ret.embedAttrs[args[i]]=args[i+1];break;case"src":case"movie":args[i+1]=AC_AddExtension(args[i+1],ext);ret.embedAttrs["src"]=args[i+1];ret.params[srcParamName]=args[i+1];break;case"onafterupdate":case"onbeforeupdate":case"onblur":case"oncellchange":case"onclick":case"ondblClick":case"ondrag":case"ondragend":case"ondragenter":case"ondragleave":case"ondragover":case"ondrop":case"onfinish":case"onfocus":case"onhelp":case"onmousedown":case"onmouseup":case"onmouseover":case"onmousemove":case"onmouseout":case"onkeypress":case"onkeydown":case"onkeyup":case"onload":case"onlosecapture":case"onpropertychange":case"onreadystatechange":case"onrowsdelete":case"onrowenter":case"onrowexit":case"onrowsinserted":case"onstart":case"onscroll":case"onbeforeeditfocus":case"onactivate":case"onbeforedeactivate":case"ondeactivate":case"type":case"codebase":ret.objAttrs[args[i]]=args[i+1];break;case"width":case"height":case"align":case"vspace":case"hspace":case"class":case"title":case"accesskey":case"name":case"id":case"tabindex":ret.embedAttrs[args[i]]=ret.objAttrs[args[i]]=args[i+1];break;default:ret.embedAttrs[args[i]]=ret.params[args[i]]=args[i+1]}}ret.objAttrs["classid"]=classid;if(mimeType)ret.embedAttrs["type"]=mimeType;return ret}
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);
function GeoMap(){var elements=null;var categories=null;var ids=null;var map=null;var geomap=this;var singleElement=null;var singleElementOption=null;this.mapDiv='geomap_canvas';this.type='road';this.latitude=46.524855;this.longitude=11.332397;this.zoomLevel=15;this.autoAdjustPosition=true;this.dynamicDataReload=false;this.displayTypeControls=true;this.displayMapControls=true;this.bBalloon=true;this.loadingImageSrc='/googlemaps/v2/loading.gif';this.iconImagePath='/googlemaps/v2/';this.iconShaddowPath='/googlemaps/v2/';this.balloonUrl='/googlemaps/v2/balloon.asp';this.balloonHeight=150;this.balloonWidth=200;this.geoDataUrl='/googlemaps/v2/geodata.asp';this.geoDataFormat='json';ids=new Array();this.initMap=function(){if(GBrowserIsCompatible()){map=new GMap2(document.getElementById(this.mapDiv));var geomap_canvas=map.getContainer();var o=document.createElement('div');o.id=this.mapDiv+'geomap_loading_overlay';o.style.position='absolute';o.style.display='none';o.style.zIndex='190';o.style.top=geomap_canvas.offsetTop+'px';o.style.left=geomap_canvas.offsetLeft+'px';o.style.width=geomap_canvas.clientWidth+'px';o.style.height=geomap_canvas.clientHeight+'px';o.style.backgroundColor='rgb(240, 240, 240)';geomap_canvas.parentNode.appendChild(o);var i=document.createElement('img');i.id=this.mapDiv+'geomap_loading_image';i.style.position='absolute';i.style.display='none';i.style.zIndex='191';i.src=this.loadingImageSrc;i.style.top=String(parseInt(geomap_canvas.offsetTop+(geomap_canvas.clientHeight/2)-16))+'px';i.style.left=String(parseInt(geomap_canvas.offsetLeft+(geomap_canvas.clientWidth/2)-16))+'px';geomap_canvas.parentNode.appendChild(i);showLoading();var baseIcon=new GIcon();baseIcon.image=geomap.iconImagePath+'icon_singleElement.png';baseIcon.shadow=geomap.iconShaddowPath+'shadow_singleElement.png';baseIcon.iconSize=new GSize(20,34);baseIcon.shadowSize=new GSize(37,34);baseIcon.iconAnchor=new GPoint(9,34);baseIcon.infoWindowAnchor=new GPoint(9,2);baseIcon.infoShadowAnchor=new GPoint(18,25);singleElementOption={icon:baseIcon}}else{if(MSG_BrowserNotSupportet){alert(MSG_BrowserNotSupportet)}else{alert('Your browser is not supported by Google Maps')}}};this.loadMap=function(){if(map==null){geomap.initMap()}elements=new Array();categories=new Array();map.addMapType(G_PHYSICAL_MAP);if(this.displayTypeControls==true){map.addControl(new GMapTypeControl())}if(this.displayMapControls==true){map.addControl(new GSmallMapControl())}var oMapType=null;switch(this.type){case'road':oMapType=G_NORMAL_MAP;break;case'satellite':oMapType=G_SATELLITE_MAP;break;case'hybrid':oMapType=G_HYBRID_MAP;break;case'physical':oMapType=G_PHYSICAL_MAP;break;default:oMapType=G_NORMAL_MAP;break}map.setCenter(new GLatLng(this.latitude,this.longitude,true),this.zoomLevel,oMapType);map.clearOverlays();if(this.autoAdjustPosition==true){var autoPositionListener=GEvent.addListener(map,'autoadjustposition',function(){geomap.autoPositionViewport();GEvent.removeListener(autoPositionListener);GEvent.addListener(map,'zoomend',function(){if(geomap.dynamicDataReload==true){refreshMap()}})})}else{GEvent.addListener(map,'zoomend',function(){if(geomap.dynamicDataReload==true){refreshMap()}})}refreshMap()};this.reloadMap=function(){refreshMap()};this.unloadMap=function(){GUnload()};this.showElement=function(id){if(elements[String(id)]){elements[String(id)].show();if(elements[String(id)].elementType=='line'){elements[String(id)].start.show();elements[String(id)].end.show()}}else{if(MSG_ElementToShowNotExists){alert(MSG_ElementToShowNotExists)}else{alert('The element you tried to show does not exist on the map')}}};this.hideElement=function(id){if(elements[String(id)]){elements[String(id)].hide();if(elements[String(id)].elementType=='line'){elements[String(id)].start.hide();elements[String(id)].end.hide()}}else{if(MSG_ElementToHideNotExists){alert(MSG_ElementToHideNotExists)}else{alert('The element you tried to hide does not exist on the map')}}};this.openBalloon=function(id){if(elements[String(id)]){if(elements[String(id)].isHidden()==false){this.closeBalloon();GEvent.trigger(elements[String(id)],'click')}else{if(MSG_MSG_ElementToShowBalloonNotExists){alert(MSG_MSG_ElementToShowBalloonNotExists)}else{alert('The balloon of a hidden element cannot be opend')}}}else{if(MSG_MSG_ElementToShowBalloonNotExists){alert(MSG_MSG_ElementToShowBalloonNotExists)}else{alert('The balloon of a hidden element cannot be opend')}}};this.closeBalloon=function(id){map.closeInfoWindow()};this.showCategory=function(id){for(var i in elements){if(elements[i].cat!=undefined){if(elements[i].cat.toLowerCase()==String(id).toLowerCase()){elements[i].show();if(elements[i].elementType=='line'){elements[i].start.show();elements[i].end.show()}}}}};this.hideCategory=function(id){for(var i in elements){if(elements[i].cat!=undefined){if(elements[i].cat.toLowerCase()==String(id).toLowerCase()){elements[i].hide();if(elements[i].elementType=='line'){elements[i].start.hide();elements[i].end.hide()}}}}};this.addId=function(id){if(!ids[String(id)]||ids[String(id)]==null){ids[String(id)]=id}};this.removeId=function(id){if(ids[String(id)]&&ids[String(id)]!=null){ids[String(id)]=null}};this.resetIds=function(){ids=null;ids=new Array()};this.autoPositionViewport=function(){var southWestLatLng=null;var northEastLatLng=null;for(var i in elements){if(Number(i)>0){if(southWestLatLng==null){southWestLatLng=new GLatLng(elements[i].getLatLng().lat(),elements[i].getLatLng().lng(),true)}if(northEastLatLng==null){northEastLatLng=new GLatLng(elements[i].getLatLng().lat(),elements[i].getLatLng().lng(),true)}if(elements[i].getLatLng().lat()<=northEastLatLng.lat()&&elements[i].getLatLng().lat()>=southWestLatLng.lat()){}if(elements[i].getLatLng().lat()>northEastLatLng.lat()){northEastLatLng=new GLatLng(elements[i].getLatLng().lat(),northEastLatLng.lng(),true)}if(elements[i].getLatLng().lat()<southWestLatLng.lat()){southWestLatLng=new GLatLng(elements[i].getLatLng().lat(),southWestLatLng.lng(),true)}if(elements[i].getLatLng().lng()<=northEastLatLng.lng()&&elements[i].getLatLng().lng()>=southWestLatLng.lng()){}if(elements[i].getLatLng().lng()>northEastLatLng.lng()){northEastLatLng=new GLatLng(northEastLatLng.lat(),elements[i].getLatLng().lng(),true)}if(elements[i].getLatLng().lng()<southWestLatLng.lng()){southWestLatLng=new GLatLng(southWestLatLng.lat(),elements[i].getLatLng().lng(),true)}}}var newLatLngBounds=new GLatLngBounds(southWestLatLng,northEastLatLng);map.panTo(newLatLngBounds.getCenter());var newZoomLevel=map.getBoundsZoomLevel(newLatLngBounds);if(newZoomLevel<map.getZoom()){if(newZoomLevel==1){map.setZoom(newZoomLevel)}else{map.setZoom(newZoomLevel-1)}}};this.addSingleElement=function(lat,lng,alt){if(singleElement!=null){geomap.removeSingleElement()}singleElement=new GMarker(new GLatLng(lat,lng,true),singleElementOption);singleElement.id='single';singleElement.cat='single';singleElement.elementType='single';map.addOverlay(singleElement)};this.removeSingleElement=function(){map.removeOverlay(singleElement);singleElement=null};function showLoading(){var o=document.getElementById(geomap.mapDiv+'geomap_loading_overlay');var i=document.getElementById(geomap.mapDiv+'geomap_loading_image');if(o&&i){o.style.display='block';i.style.display='block'}}function hideLoading(){var o=document.getElementById(geomap.mapDiv+'geomap_loading_overlay');var i=document.getElementById(geomap.mapDiv+'geomap_loading_image');if(o&&i){i.style.display='none';o.style.display='none'}}function getElements(){var idList='';var newElements=null;var currentZoomLevel=19;newElements=new Array();showLoading();for(var i in ids){if(ids[i]&&Number(i)>0){if(idList!=''){idList=idList+','}idList=idList+ids[i]}}if(geomap.dynamicDataReload==true){currentZoomLevel=map.getZoom()}switch(geomap.geoDataFormat){case'json':GDownloadUrl(geomap.geoDataUrl+'?format='+geomap.geoDataFormat+'&ids='+idList+'&zoom='+currentZoomLevel,function(data,responseCode){var geoData=null;data=data.replace(/^\s+/,'').replace(/\s+$/,'');if(responseCode==200&&data!=''&&data!='none'){try{geoData=eval('('+data+')')}catch(e){geoData=null;if(MSG_GeoDataJSONSyntaxError){alert(MSG_GeoDataJSONSyntaxError)}else{alert('An error occurred during data transportation (JSON)')}}if(geoData!=null){var startLat=null;var startLng=null;var endLat=null;var endLng=null;if(geoData.lines!=null&&geoData.lines.length>0){for(var i=0;i<geoData.lines.length;i++){var currentLatLngArray=new Array();for(var j=0;j<geoData.lines[i].latlng.length;j++){if(j==0){startLat=geoData.lines[i].latlng[j].lat;startLng=geoData.lines[i].latlng[j].lng}if(j==geoData.lines[i].latlng.length-1){endLat=geoData.lines[i].latlng[j].lat;endLng=geoData.lines[i].latlng[j].lng}currentLatLngArray.unshift(new GLatLng(geoData.lines[i].latlng[j].lat,geoData.lines[i].latlng[j].lng,true))}var show=(elements!=null&&elements[String(geoData.lines[i].id)]&&elements[String(geoData.lines[i].id)].isHidden()==true)?false:true;newElements[String(geoData.lines[i].id)]=addElementLine(geoData.lines[i].id,geoData.lines[i].cat,startLat,startLng,endLat,endLng,currentLatLngArray,show,geoData.lines[i].color,geoData.lines[i].width)}}if(geoData.points!=null&&geoData.points.length>0){for(var i=0;i<geoData.points.length;i++){var show=(elements!=null&&elements[String(geoData.points[i].id)]&&elements[String(geoData.points[i].id)].isHidden()==true)?false:true;newElements[String(geoData.points[i].id)]=addElementPoint(geoData.points[i].id,geoData.points[i].catalog,geoData.points[i].cat,geoData.points[i].lat,geoData.points[i].lng,show)}}}elements=newElements;GEvent.trigger(map,'autoadjustposition');hideLoading()}else{if(data!='none'){if(MSG_GeoDataUrlError){alert(MSG_GeoDataUrlError)}else{alert('An error occurred during data transportation (URL)')}}}hideLoading()});break;case'xml':GDownloadUrl(geomap.geoDataUrl+'?format='+geomap.geoDataFormat+'&ids='+idList+'&zoom='+currentZoomLevel,function(data,responseCode){if(responseCode==200&&data!=''&&data!='none'){var xml=GXml.parse(data);var markers=xml.documentElement.getElementsByTagName("point");var lines=xml.documentElement.getElementsByTagName("line");var startLat=null;var startLng=null;var endLat=null;var endLng=null;for(var i=0;i<lines.length;i++){var currentLatLngArray=new Array();var linesLatLng=lines[i].getElementsByTagName('latlng');for(var j=0;j<linesLatLng.length;j++){if(j==0){startLat=linesLatLng[j].getAttribute('lat');startLng=linesLatLng[j].getAttribute('lng')}if(j==linesLatLng.length-1){endLat=linesLatLng[j].getAttribute('lat');endLng=linesLatLng[j].getAttribute('lng')}currentLatLngArray.unshift(new GLatLng(linesLatLng[j].getAttribute('lat'),linesLatLng[j].getAttribute('lng'),true))}var show=(elements!=null&&elements[String(lines[i].getAttribute('id'))]&&elements[String(lines[i].getAttribute('id'))].isHidden()==true)?false:true;newElements[String(lines[i].getAttribute('id'))]=addElementLine(lines[i].getAttribute('id'),lines[i].getAttribute('cat'),startLat,startLng,endLat,endLng,currentLatLngArray,show,lines[i].getAttribute('color'),lines[i].getAttribute('width'))}for(var i=0;i<markers.length;i++){var show=(elements!=null&&elements[String(markers[i].id)]&&elements[String(markers[i].id)].isHidden()==true)?false:true;newElements[String(markers[i].getAttribute('id'))]=addElementPoint(String(markers[i].getAttribute('id')),String(markers[i].getAttribute('catalog')),String(markers[i].getAttribute('cat')),parseFloat(markers[i].getAttribute('lat')),parseFloat(markers[i].getAttribute('lng')),show)}elements=newElements;GEvent.trigger(map,'autoadjustposition');hideLoading()}else{if(data!='none'){if(MSG_GeoDataUrlError){alert(MSG_GeoDataUrlError)}else{alert('The requested URL for geodata was not found!')}}}hideLoading()});break}}function addElementPoint(id,catalog,cat,lat,lng,show){var baseIcon=new GIcon();baseIcon.shadow=geomap.iconShaddowPath+'shadow.gif';baseIcon.shadowSize=new GSize(43,25);baseIcon.image=geomap.iconImagePath+'icon_'+catalog+'_'+cat+'.gif';baseIcon.iconSize=new GSize(25,25);baseIcon.iconAnchor=new GPoint(18,25);baseIcon.infoWindowAnchor=new GPoint(9,2);baseIcon.infoShadowAnchor=new GPoint(34,25);var marker=null;var markerOption={icon:baseIcon};marker=new GMarker(new GLatLng(lat,lng,true),markerOption);marker.id=id;marker.cat=cat;marker.elementType='point';if(geomap.bBalloon){if(geomap.balloonUrl.match(/\?/)){marker.bindInfoWindowHtml('<iframe src="'+geomap.balloonUrl+'&id='+id+'&cat='+cat+'" name="balloon-'+id+'" width="'+geomap.balloonWidth+'" height="'+geomap.balloonHeight+'" align="left" scrolling="no" marginheight="0" marginwidth="0" frameborder="0"></iframe>')}else{marker.bindInfoWindowHtml('<iframe src="'+geomap.balloonUrl+'?id='+id+'&cat='+cat+'" name="balloon-'+id+'" width="'+geomap.balloonWidth+'" height="'+geomap.balloonHeight+'" align="left" scrolling="no" marginheight="0" marginwidth="0" frameborder="0"></iframe>')}}if(show==false){var addOverlayListener=GEvent.addListener(map,'addoverlay',function(overlay){marker.hide();GEvent.removeListener(addOverlayListener)})}map.addOverlay(marker);return marker}function addElementLine(id,cat,startLat,startLng,endLat,endLng,latlngArray,show,lineColor,lineSize){var polyline=null;polyline=new GPolyline(latlngArray,lineColor,lineSize);polyline.id=id;polyline.cat=cat;polyline.elementType='line';polyline.getLatLng=function(){return new GLatLng(startLat,startLng,true)};GEvent.addListener(polyline,'click',function(latlng){if(!latlng)latlng=polyline.getLatLng();if(geomap.balloonUrl.match(/\?/)){map.openInfoWindowHtml(latlng,'<iframe src="'+geomap.balloonUrl+'&id='+id+'&cat='+cat+'" name="balloon-'+id+'" width="'+geomap.balloonWidth+'" height="'+geomap.balloonHeight+'" align="left" scrolling="no" marginheight="0" marginwidth="0" frameborder="0"></iframe>')}else{map.openInfoWindowHtml(latlng,'<iframe src="'+geomap.balloonUrl+'?id='+id+'&cat='+cat+'" name="balloon-'+id+'" width="'+geomap.balloonWidth+'" height="'+geomap.balloonHeight+'" align="left" scrolling="no" marginheight="0" marginwidth="0" frameborder="0"></iframe>')}});if(show==false){var addOverlayListener=GEvent.addListener(map,'addoverlay',function(overlay){marker.hide();GEvent.removeListener(addOverlayListener)})}map.addOverlay(polyline);var baseIcon=new GIcon();baseIcon.shadow='http://www.google.com/mapfiles/shadow50.png';baseIcon.shadowSize=new GSize(43,25);baseIcon.image='http://www.google.com/intl/en_us/mapfiles/dd-start.png';baseIcon.iconSize=new GSize(20,34);baseIcon.iconAnchor=new GPoint(10,34);baseIcon.infoWindowAnchor=new GPoint(9,2);baseIcon.infoShadowAnchor=new GPoint(34,25);var startmarker=null;var startmarkerOption={icon:baseIcon};startmarker=new GMarker(new GLatLng(startLat,startLng,true),startmarkerOption);polyline.start=startmarker;GEvent.addListener(startmarker,'click',function(){if(geomap.balloonUrl.match(/\?/)){startmarker.openInfoWindowHtml('<iframe src="'+geomap.balloonUrl+'&id='+id+'&cat='+cat+'" name="balloon-'+id+'" width="'+geomap.balloonWidth+'" height="'+geomap.balloonHeight+'" align="left" scrolling="no" marginheight="0" marginwidth="0" frameborder="0"></iframe>')}else{startmarker.openInfoWindowHtml('<iframe src="'+geomap.balloonUrl+'?id='+id+'&cat='+cat+'" name="balloon-'+id+'" width="'+geomap.balloonWidth+'" height="'+geomap.balloonHeight+'" align="left" scrolling="no" marginheight="0" marginwidth="0" frameborder="0"></iframe>')}});map.addOverlay(startmarker);var endmarker=null;baseIcon.image='http://www.google.com/intl/en_us/mapfiles/dd-end.png';var endmarkerOption={icon:baseIcon};endmarker=new GMarker(new GLatLng(endLat,endLng,true),endmarkerOption);polyline.end=endmarker;GEvent.addListener(endmarker,'click',function(){if(geomap.balloonUrl.match(/\?/)){endmarker.openInfoWindowHtml('<iframe src="'+geomap.balloonUrl+'&id='+id+'&cat='+cat+'" name="balloon-'+id+'" width="'+geomap.balloonWidth+'" height="'+geomap.balloonHeight+'" align="left" scrolling="no" marginheight="0" marginwidth="0" frameborder="0"></iframe>')}else{endmarker.openInfoWindowHtml('<iframe src="'+geomap.balloonUrl+'?id='+id+'&cat='+cat+'" name="balloon-'+id+'" width="'+geomap.balloonWidth+'" height="'+geomap.balloonHeight+'" align="left" scrolling="no" marginheight="0" marginwidth="0" frameborder="0"></iframe>')}});map.addOverlay(endmarker);return polyline}function resetElements(){elements=null;elements=new Array();categories=null;categories=new Array()}function refreshMap(){map.clearOverlays();getElements()}};
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()}
function Extended(Objectname){this.LockedID=null;this.bAutoScroll=false;this.Objectname=Objectname;this.OpacityMin=0.01;this.OpacityMax=1.0;this.Scroll='none';this.Scrollx=10;this.Scrolly=10;this.aParams=null;this.sUrl="";this.sLockedBackID='';this.sLockedForwardID='';this.sFrameClass='';this.lPreloaded=2;var oGallery=null;var oGalleryDiv=null;var self=this;Extended.prototype.convertNullTo0px=function(wert){if(wert==null){return'0px'}else{return wert}};Extended.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'}}};Extended.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'}}};Extended.prototype.InitAutoscroll=function(){this.bAutoScroll=true;window.setTimeout(this.Objectname+'.Autoscroll()',6000)};Extended.prototype.StopAutoscroll=function(){this.bAutoScroll=false};Extended.prototype.Autoscroll=function(){if(this.bAutoScroll){this.ScrollGallerieNext(this.SetScrollGallerie_idPrefix);window.setTimeout(this.Objectname+'.Autoscroll()',6000)}};Extended.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});if(!noLock){this.Lock(id);window.setTimeout(this.Objectname+'.UnLock()',duration*1000)}}};this.SetScrollGallerie_idPrefix='';this.SetScrollGallerie_nCount=0;this.SetScrollGallerie_nDisplay=0;Extended.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};Extended.prototype.ScrollGalleriePrevious=function(idPrefix){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==1){Element.hide(this.sLockedBackID)}}if(this.sLockedForwardID!=''){Element.show(this.sLockedForwardID)}};Extended.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)};Extended.prototype.ScrollGallerieNext=function(idPrefix){if((this.SetScrollGallerie_idPrefix==idPrefix)&&(this.SetScrollGallerie_nCount>1)&&(this.LockedID==null)){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("div");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)}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}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:false,parameters:{lPageNumber:(this.SetScrollGallerie_nDisplay+(this.lPreloaded-2))+1},onComplete:function(){self.IfIsLoaded(self.SetScrollGallerie_idPrefix+(self.SetScrollGallerie_nDisplay+(self.lPreloaded-2)))},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!=''){Element.show(this.sLockedBackID)}}};Extended.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;Extended.prototype.IfIsLoaded=function(id){globalID=id;if(document.getElementById(id)!=undefined){this.IfIsImgLoaded()}else{window.setTimeout(this.Objectname+'.IfIsLoaded()',250)}};Extended.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)}};Extended.prototype.FadeIn=function(id,duration){if(duration==null){duration=1.5}Effect.Appear(id,{duration:duration,from:this.OpacityMin,to:this.OpacityMax})};Extended.prototype.FadeOut=function(id,duration){if(duration==null){duration=1.5}Effect.Fade(id,{duration:duration,form:this.OpacityMax,to:this.OpacityMin})};Extended.prototype.StartScrollUp=function(id,duration){if(duration==null){duration=0.1}this.Scroll='up';this.ScrollUp(id,duration)};Extended.prototype.StartScrollDown=function(id,duration){if(duration==null){duration=0.1}this.Scroll='down';this.ScrollDown(id,duration)};Extended.prototype.ScrollUp=function(id,duration){if(duration==null){duration=0.1}if(parseInt($(id).getStyle('top'))<0){new Effect.Move(id,{x:0,y:this.Scrollx,mode:'relative',duration:duration})}if(this.Scroll=='up'){window.setTimeout(this.Objectname+'.ScrollUp("'+id+'",'+duration+')',duration*1000)}};Extended.prototype.ScrollDown=function(id,duration){if(duration==null){duration=0.1}var nPos;nPos=0;if(Element.Methods.getHeight(id)!=null){nPos+=parseInt(Element.Methods.getHeight(id))}if($(id).getStyle('top')!=null){nPos+=parseInt($(id).getStyle('top'))}if($(id).parentNode.clientHeight!=null){nPos-=parseInt($(id).parentNode.clientHeight)}if(nPos>0){new Effect.Move(id,{x:0,y:-this.Scrollx,mode:'relative',duration:duration})}if(this.Scroll=='down'){window.setTimeout(this.Objectname+'.ScrollDown("'+id+'",'+duration+')',duration*1000)}};Extended.prototype.ScrollStop=function(){this.Scroll='none'}}
function IsFlashActive(){var flashVersion=0;var MIN_FLASH_VERSION=7;var ua=navigator.userAgent.toLowerCase();if(ua.indexOf('ie')>-1&&!(ua.indexOf('opera')>-1)){try{flashVersion=parseFloat(/([\d,?]+)/.exec(new ActiveXObject('ShockwaveFlash.ShockwaveFlash.7').GetVariable('$version'))[1].replace(/,/g,'.'))}catch(e){}}else if(navigator.plugins&&navigator.plugins['Shockwave Flash']){var flashPlugin=navigator.plugins['Shockwave Flash'];flashVersion=parseFloat(/(\d+\.?\d*)/.exec(flashPlugin.description)[1]);var i=0;while(flashVersion>=MIN_FLASH_VERSION&&i<navigator.mimeTypes.length){var mime=navigator.mimeTypes[i];if(mime.type=='application/x-shockwave-flash'&&!new RegExp('.*Shockwave\\sFlash\\s'+flashVersion+'.*').exec(mime.enabledPlugin.description)){flashVersion=0}i++}}return flashVersion>=MIN_FLASH_VERSION}function CreateFlashOnId(src,id,width,height,wmode,bgcolor,flashvars){var ua=navigator.userAgent.toLowerCase();if(IsFlashActive()||ua.indexOf('chrome')>-1){var sProtocol='http://';src=src.slice(0,src.lastIndexOf('.swf'));AC_FL_DomID=id;if(window.location.href.substring(0,8)=="https://"){sProtocol='https://'}AC_FL_RunContent('codebase',sProtocol+'download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0','width',width,'height',height,'src',src,'allowFullScreen','true','quality','high','flashvars',flashvars,'wmode',wmode,'bgcolor',bgcolor,'pluginspage',sProtocol+'www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash','movie',src);AC_FL_DomID=null}}function CreateFlash(src,width,height,wmode,bgcolor,flashvars){if(IsFlashActive()){src=src.slice(0,src.lastIndexOf('.swf'));AC_FL_RunContent('codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0','width',width,'height',height,'src',src,'allowFullScreen','true','quality','high','flashvars',flashvars,'wmode',wmode,'bgcolor',bgcolor,'pluginspage','http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash','movie',src)}}var AC_FL_DomID=null;function AC_AddExtension(src,ext){if(src.indexOf('?')!=-1)return src.replace(/\?/,ext+'?');else return src+ext}function AC_Generateobj(objAttrs,params,embedAttrs){var str='<object ';for(var i in objAttrs)str+=i+'="'+objAttrs[i]+'" ';str+='>';for(var i in params)str+='<param name="'+i+'" value="'+params[i]+'" /> ';str+='<embed ';for(var i in embedAttrs)str+=i+'="'+embedAttrs[i]+'" ';str+=' ></embed></object>';if(AC_FL_DomID!=null){if(document.getElementById(AC_FL_DomID)!=null){document.getElementById(AC_FL_DomID).innerHTML=str}else{document.write(str)}}else{document.write(str)}}function AC_FL_RunContent(){var ret=AC_GetArgs(arguments,".swf","movie","clsid:d27cdb6e-ae6d-11cf-96b8-444553540000","application/x-shockwave-flash");AC_Generateobj(ret.objAttrs,ret.params,ret.embedAttrs)}function AC_SW_RunContent(){var ret=AC_GetArgs(arguments,".dcr","src","clsid:166B1BCA-3F9C-11CF-8075-444553540000",null);AC_Generateobj(ret.objAttrs,ret.params,ret.embedAttrs)}function AC_GetArgs(args,ext,srcParamName,classid,mimeType){var ret=new Object();ret.embedAttrs=new Object();ret.params=new Object();ret.objAttrs=new Object();for(var i=0;i<args.length;i=i+2){var currArg=args[i].toLowerCase();switch(currArg){case"classid":break;case"pluginspage":ret.embedAttrs[args[i]]=args[i+1];break;case"src":case"movie":args[i+1]=AC_AddExtension(args[i+1],ext);ret.embedAttrs["src"]=args[i+1];ret.params[srcParamName]=args[i+1];break;case"onafterupdate":case"onbeforeupdate":case"onblur":case"oncellchange":case"onclick":case"ondblClick":case"ondrag":case"ondragend":case"ondragenter":case"ondragleave":case"ondragover":case"ondrop":case"onfinish":case"onfocus":case"onhelp":case"onmousedown":case"onmouseup":case"onmouseover":case"onmousemove":case"onmouseout":case"onkeypress":case"onkeydown":case"onkeyup":case"onload":case"onlosecapture":case"onpropertychange":case"onreadystatechange":case"onrowsdelete":case"onrowenter":case"onrowexit":case"onrowsinserted":case"onstart":case"onscroll":case"onbeforeeditfocus":case"onactivate":case"onbeforedeactivate":case"ondeactivate":case"type":case"codebase":ret.objAttrs[args[i]]=args[i+1];break;case"width":case"height":case"align":case"vspace":case"hspace":case"class":case"title":case"accesskey":case"name":case"id":case"tabindex":ret.embedAttrs[args[i]]=ret.objAttrs[args[i]]=args[i+1];break;default:ret.embedAttrs[args[i]]=ret.params[args[i]]=args[i+1]}}ret.objAttrs["classid"]=classid;if(mimeType)ret.embedAttrs["type"]=mimeType;return ret}
var map=new Array();var lLat=new Array();var lLng=new Array();function GoogleMap(oObject){this.sMap='';this.lLat=-1;this.lLng=-1;this.lZoom=10;this.sKunde='';this.sKundeStrasse='';this.sKundeAdresse='';this.sKundeTel='';this.sKundeFax='';this.sUnbekannteAdresse='';this.sAnfragenichtbearbeitet='';this.sStartpunkt='';this.sKeyungultig='';this.sunbekannterFehler='';this.sDirectionsStrasse='';this.sDirectionsPLZ='';this.sDirectionsOrt='';this.sZwischenpunkt='';this.bShowSmallMapControl=true;this.bShowTypeControl=true;var sMap='';var gdir=null;var lZoom=10;var sKunde='';var sKundeStrasse='';var sKundeAdresse='';var sKundeTel='';var sKundeFax='';var sUnbekannteAdresse='';var sAnfragenichtbearbeitet='';var sStartpunkt='';var sKeyungultig='';var sunbekannterFehler='';var bShowTypeControl=true;var bShowSmallMapControl=true;GoogleMap.prototype.load=function(){if(GBrowserIsCompatible()){map[oObject]=new GMap2(document.getElementById(sMap));map[oObject].setCenter(new GLatLng(lLat[oObject],lLng[oObject]),lZoom);if(bShowSmallMapControl){map[oObject].addControl(new GSmallMapControl())}if(bShowTypeControl){map[oObject].addControl(new GMapTypeControl())}map[oObject].setMapType(G_NORMAL_MAP);function createMarker(point,number){var marker=new GMarker(point);GEvent.addListener(marker,"click",function(){marker.openInfoWindowHtml("<div style=\"width:290px;\"><div style=\"float:left; color: #232323;\"><strong>"+sKunde+"</strong><br />"+sKundeStrasse+"<br />"+sKundeAdresse+"<br/><br/>"+sKundeTel+"<br/>"+sKundeFax+"<br /><br /></div></div>")});return marker};var bounds=map[oObject].getBounds();var southWest=bounds.getSouthWest();var northEast=bounds.getNorthEast();var point=new GLatLng(lLat[oObject],lLng[oObject]);map[oObject].addOverlay(createMarker(point,1))}};GoogleMap.prototype.setDirections=function(oObject,fromStreet,fromZip,fromCity,fromCountry,locale,sDirections){document.getElementById(sDirections).innerHTML='';if(fromStreet!=this.sDirectionsStrasse){fromStreet+=','}else{fromStreet=''}if(fromZip!=this.sDirectionsPLZ){fromZip+=','}else{fromZip=''}if(fromCity!=this.sDirectionsOrt){fromCity+=','}else{fromCity=''}fromAddress=fromStreet+" "+fromZip+" "+fromCity+" "+fromCountry;gdir=new GDirections(map[oObject],document.getElementById(sDirections));GEvent.addListener(gdir,"load",onGDirectionsLoad);GEvent.addListener(gdir,"error",this.handleErrors);if(this.sZwischenpunkt!=''){gdir.load("from: "+fromAddress+" to: "+this.sZwischenpunkt+" to: "+lLat[oObject]+", "+lLng[oObject],{"locale":locale})}else{gdir.load("from: "+fromAddress+"  to: "+lLat[oObject]+", "+lLng[oObject],{"locale":locale})}document.getElementById(sDirections).style.display='block'};GoogleMap.prototype.handleErrors=function(){if(gdir.getStatus().code==G_GEO_UNKNOWN_ADDRESS){alert(sUnbekannteAdresse)}else if(gdir.getStatus().code==G_GEO_SERVER_ERROR){alert(sAnfragenichtbearbeitet)}else if(gdir.getStatus().code==G_GEO_MISSING_QUERY){alert(sStartpunkt)}else if(gdir.getStatus().code==G_GEO_BAD_KEY){alert(sKeyungultig)}else if(gdir.getStatus().code==G_GEO_BAD_REQUEST){alert(sAnfragenichtbearbeitet)}else{alert(sunbekannterFehler)}};function onGDirectionsLoad(){};GoogleMap.prototype.init=function(){sMap=this.sMap;lLat[oObject]=this.lLat;lLng[oObject]=this.lLng;lZoom=this.lZoom;sKunde=this.sKunde;sKundeStrasse=this.sKundeStrasse;sKundeAdresse=this.sKundeAdresse;sKundeTel=this.sKundeTel;sKundeFax=this.sKundeFax;sUnbekannteAdresse=this.sUnbekannteAdresse;sAnfragenichtbearbeitet=this.sAnfragenichtbearbeitet;sStartpunkt=this.sStartpunkt;sKeyungultig=this.sKeyungultig;sunbekannterFehler=this.sunbekannterFehler;bShowTypeControl=this.bShowTypeControl;bShowSmallMapControl=this.bShowSmallMapControl;if(window.addEventListener){window.addEventListener("load",this.load,false);window.addEventListener("unload",GUnload,false)}else if(window.attachEvent){window.attachEvent("onload",this.load);window.attachEvent("onunload",GUnload)}}}
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":200,"face":{"font-family":"helvetica-neue-bold","font-weight":700,"font-stretch":"normal","units-per-em":"360","panose-1":"2 11 8 0 0 0 0 0 0 0","ascent":"282","descent":"-78","x-height":"5","bbox":"-21 -351 378 78.3653","underline-thickness":"18","underline-position":"-18","stemh":"39","stemv":"51","unicode-range":"U+0020-U+0192"},"glyphs":{" ":{"w":100},"\u00a0":{"w":100},"!":{"d":"77,-257v3,67,-7,123,-14,180r-26,0v-7,-58,-17,-112,-14,-180r54,0xm22,0r0,-55r56,0r0,55r-56,0","w":100},"\"":{"d":"98,-141r0,-116r38,0r0,116r-38,0xm31,-141r0,-116r38,0r0,116r-38,0","w":166},"#":{"d":"32,0r10,-71r-30,0r0,-33r34,0r7,-44r-30,0r0,-33r34,0r10,-71r35,0r-10,71r35,0r9,-71r35,0r-9,71r26,0r0,33r-31,0r-6,44r26,0r0,33r-31,0r-10,71r-34,0r9,-71r-34,0r-10,71r-35,0xm122,-148r-35,0r-6,44r35,0"},"$":{"d":"89,-162r0,-59v-16,0,-32,10,-32,30v0,16,9,24,32,29xm111,-105r0,69v18,-2,38,-12,38,-35v0,-19,-10,-26,-38,-34xm89,-111v-40,-11,-83,-22,-83,-75v0,-49,40,-74,83,-77r0,-28r22,0r0,28v43,5,78,27,81,77r-52,0v0,-19,-13,-35,-29,-35r0,64v6,1,12,2,18,4v70,19,72,60,72,84v0,21,-18,70,-90,75r0,31r-22,0r0,-31v-53,-4,-84,-33,-89,-90r51,0v0,27,16,44,38,48r0,-75"},"%":{"d":"27,-186v0,-39,19,-71,61,-71v45,0,59,33,59,73v0,39,-19,67,-61,67v-44,0,-59,-29,-59,-69xm64,-185v0,15,0,41,23,41v22,0,24,-26,24,-41v0,-14,-2,-45,-23,-45v-23,0,-24,28,-24,45xm91,8r149,-268r31,0r-148,268r-32,0xm213,-66v0,-39,19,-69,61,-69v45,0,59,31,59,71v0,39,-19,69,-61,69v-44,0,-59,-31,-59,-71xm249,-66v0,15,1,44,24,44v22,0,23,-28,23,-43v0,-14,-1,-43,-22,-43v-23,0,-25,25,-25,42","w":360},"&":{"d":"111,-165v28,-8,39,-56,3,-61v-34,3,-24,47,-3,61xm140,-60r-44,-53v-18,8,-36,21,-36,42v0,42,62,42,80,11xm188,0r-21,-26v-46,53,-157,37,-155,-46v0,-36,27,-61,57,-75v-14,-17,-24,-32,-24,-54v0,-36,33,-59,67,-59v39,0,70,21,70,62v0,30,-20,50,-46,64r34,40v5,-9,8,-20,9,-30r44,0v-3,23,-11,45,-25,63r53,61r-63,0","w":246},"(":{"d":"66,-263r43,0v-53,103,-52,226,0,329r-43,0v-62,-99,-63,-230,0,-329","w":106},")":{"d":"40,66r-43,0v54,-101,53,-226,1,-329r42,0v63,98,64,231,0,329","w":106},"*":{"d":"87,-257r0,45r42,-16r10,28r-43,14r27,35r-24,18r-27,-37r-25,37r-24,-18r27,-35r-42,-14r10,-28r40,16r0,-45r29,0","w":146},"+":{"d":"127,-182r0,72r72,0r0,38r-72,0r0,72r-38,0r0,-72r-72,0r0,-38r72,0r0,-72r38,0","w":216},",":{"d":"22,0r0,-55r56,0v5,61,-4,109,-56,115r0,-26v15,-3,27,-18,26,-34r-26,0","w":100},"-":{"d":"19,-76r0,-44r108,0r0,44r-108,0","w":146},"\u00ad":{"d":"19,-76r0,-44r108,0r0,44r-108,0","w":146},".":{"d":"22,0r0,-55r56,0r0,55r-56,0","w":100},"\/":{"d":"-4,6r100,-269r42,0r-101,269r-41,0","w":133},"0":{"d":"8,-127v0,-98,42,-130,92,-130v50,0,93,32,93,130v0,100,-43,132,-93,132v-50,0,-92,-32,-92,-132xm59,-127v0,28,0,90,41,90v42,0,41,-62,41,-90v0,-26,1,-88,-41,-88v-41,0,-41,62,-41,88"},"1":{"d":"141,-252r0,252r-51,0r0,-163r-63,0r0,-39v36,1,68,-11,73,-50r41,0"},"2":{"d":"191,-178v-1,79,-85,84,-118,134r120,0r0,44r-185,0v0,-58,35,-83,79,-113v22,-15,53,-30,53,-61v0,-24,-16,-39,-38,-39v-30,0,-40,31,-40,58r-49,0v-2,-58,32,-102,92,-102v46,0,86,30,86,79"},"3":{"d":"82,-114r0,-36v22,2,54,-2,54,-31v0,-21,-17,-34,-36,-34v-26,0,-39,19,-39,45r-48,0v2,-51,35,-87,87,-87v40,0,84,25,84,70v1,25,-14,44,-35,52v28,6,45,29,45,57v0,53,-45,83,-94,83v-57,0,-95,-34,-94,-92r49,0v1,27,14,50,44,50v23,0,41,-16,41,-40v0,-38,-33,-37,-58,-37"},"4":{"d":"112,0r0,-58r-106,0r0,-47r109,-147r46,0r0,152r33,0r0,42r-33,0r0,58r-49,0xm112,-100r-1,-88r-65,88r66,0"},"5":{"d":"180,-252r0,42r-104,0v-2,19,-9,41,-9,58v49,-47,127,-2,127,66v0,52,-43,91,-94,91v-49,0,-93,-27,-94,-80r52,0v3,22,19,38,41,38v27,0,44,-24,44,-49v0,-46,-62,-64,-83,-27r-46,0r25,-139r141,0"},"6":{"d":"58,-142v39,-54,135,-18,135,55v0,51,-36,92,-89,92v-76,0,-96,-66,-96,-130v0,-62,27,-132,99,-132v44,0,75,26,81,70r-48,0v-3,-17,-16,-32,-34,-32v-37,0,-47,49,-48,77xm103,-131v-27,0,-41,22,-41,47v0,23,15,47,41,47v24,0,38,-23,38,-46v0,-24,-12,-48,-38,-48"},"7":{"d":"186,-252r0,44v-53,46,-81,141,-82,208r-55,0v6,-75,37,-146,85,-204r-120,0r0,-48r172,0"},"8":{"d":"56,-76v0,26,21,43,45,43v24,0,43,-18,43,-43v0,-24,-19,-40,-43,-40v-25,0,-45,14,-45,40xm15,-188v0,-45,44,-69,85,-69v63,0,85,44,85,68v0,25,-13,45,-37,53v30,7,47,30,47,62v0,53,-47,79,-94,79v-49,0,-96,-25,-96,-79v0,-32,18,-55,48,-62v-24,-7,-38,-27,-38,-52xm62,-184v0,22,17,34,38,34v21,0,38,-12,38,-34v0,-13,-6,-35,-38,-35v-21,0,-38,13,-38,35"},"9":{"d":"142,-111v-41,59,-134,17,-134,-54v0,-51,35,-92,88,-92v76,0,97,66,97,130v0,62,-27,132,-99,132v-44,0,-76,-26,-82,-70r48,0v3,17,16,32,34,32v36,0,51,-51,48,-78xm97,-121v27,0,41,-22,41,-47v0,-23,-15,-47,-41,-47v-24,0,-38,23,-38,46v0,24,12,48,38,48"},":":{"d":"22,0r0,-55r56,0r0,55r-56,0xm78,-183r0,56r-56,0r0,-56r56,0","w":100},";":{"d":"22,0r0,-55r56,0v5,61,-4,109,-56,115r0,-26v15,-3,27,-18,26,-34r-26,0xm78,-183r0,56r-56,0r0,-56r56,0","w":100},"<":{"d":"199,-185r0,41r-132,53r132,52r0,42r-182,-73r0,-42","w":216},"=":{"d":"199,-149r0,39r-182,0r0,-39r182,0xm199,-72r0,39r-182,0r0,-39r182,0","w":216},">":{"d":"17,3r0,-42r132,-52r-132,-53r0,-41r182,73r0,42","w":216},"?":{"d":"75,-77v-8,-68,57,-66,57,-112v0,-22,-11,-32,-30,-32v-26,0,-38,21,-38,47r-52,0v1,-51,34,-89,87,-89v68,0,90,41,90,69v0,71,-67,52,-66,117r-48,0xm69,0r0,-55r57,0r0,55r-57,0"},"@":{"d":"149,-168v-42,-3,-65,81,-16,85v42,3,64,-81,16,-85xm224,-196r-23,93v-3,10,-6,23,3,23v21,0,43,-27,43,-66v0,-57,-43,-88,-98,-88v-62,0,-101,45,-101,106v0,97,121,136,183,76r30,0v-24,37,-64,58,-109,58v-77,0,-139,-58,-139,-135v0,-76,62,-134,137,-134v66,0,125,44,125,110v0,74,-62,104,-85,104v-16,1,-24,-10,-27,-20v-29,43,-95,9,-95,-41v0,-62,79,-130,121,-67r5,-19r30,0","w":288},"A":{"d":"-3,0r98,-257r58,0r96,257r-59,0r-19,-57r-96,0r-20,57r-58,0xm124,-194v-14,29,-22,64,-34,95r66,0","w":246,"k":{"y":6,"w":6,"v":6,"Y":27,"W":6,"V":17,"T":27}},"B":{"d":"81,-114r0,70v44,-3,102,15,103,-34v1,-49,-59,-34,-103,-36xm25,0r0,-257v83,5,205,-26,203,64v0,25,-13,42,-35,53v31,9,47,33,47,65v0,97,-121,72,-215,75xm81,-213r0,60v39,-2,93,12,92,-31v-2,-42,-54,-26,-92,-29","w":253},"C":{"d":"251,-171r-55,0v-4,-26,-28,-45,-56,-45v-51,0,-70,44,-70,89v0,43,19,86,70,86v35,0,54,-24,58,-58r55,0v-6,64,-50,105,-113,105v-80,0,-126,-59,-126,-133v0,-76,46,-136,126,-136v57,0,104,33,111,92","w":266},"D":{"d":"25,0r0,-257r111,0v67,0,116,42,116,127v0,75,-38,130,-116,130r-111,0xm81,-210r0,162v68,2,111,3,115,-77v4,-69,-40,-93,-115,-85","w":266},"E":{"d":"25,0r0,-257r192,0r0,47r-136,0r0,56r125,0r0,43r-125,0r0,63r139,0r0,48r-195,0","w":233},"F":{"d":"25,0r0,-257r181,0r0,47r-125,0r0,60r108,0r0,44r-108,0r0,106r-56,0","w":213,"k":{"A":20,".":46,",":46}},"G":{"d":"216,0r-5,-29v-71,84,-197,5,-197,-98v0,-76,46,-136,126,-136v53,0,102,33,108,91r-54,0v-6,-28,-27,-44,-54,-44v-51,0,-70,44,-70,89v0,43,19,86,70,86v37,0,58,-20,61,-56r-57,0r0,-42r108,0r0,139r-36,0","w":273},"H":{"d":"25,0r0,-257r56,0r0,99r104,0r0,-99r57,0r0,257r-57,0r0,-111r-104,0r0,111r-56,0","w":266},"I":{"d":"25,0r0,-257r56,0r0,257r-56,0","w":106},"J":{"d":"175,-257r0,176v0,33,-8,87,-85,87v-50,0,-94,-33,-85,-102r51,0v-1,30,1,55,33,55v30,0,30,-25,30,-43r0,-173r56,0"},"K":{"d":"25,0r0,-257r56,0r0,107r101,-107r70,0r-100,101r110,156r-71,0r-77,-116r-33,33r0,83r-56,0","w":259},"L":{"d":"25,0r0,-257r56,0r0,209r126,0r0,48r-182,0","w":213,"k":{"y":13,"Y":40,"W":20,"V":33,"T":40}},"M":{"d":"25,0r0,-257r79,0r61,177r57,-177r80,0r0,257r-53,0r-1,-182r-63,182r-44,0r-63,-180r0,180r-53,0","w":326},"N":{"d":"25,0r0,-257r56,0r108,172r0,-172r53,0r0,257r-57,0r-107,-172r0,172r-53,0","w":266},"O":{"d":"14,-127v0,-76,46,-136,126,-136v80,0,126,60,126,136v0,74,-46,133,-126,133v-80,0,-126,-59,-126,-133xm70,-127v0,43,19,86,70,86v51,0,70,-43,70,-86v0,-45,-19,-89,-70,-89v-51,0,-70,44,-70,89","w":280},"P":{"d":"25,0r0,-257r116,0v64,0,89,40,89,82v0,42,-25,83,-89,83r-60,0r0,92r-56,0xm81,-213r0,77v44,-2,94,11,94,-39v0,-49,-50,-36,-94,-38","w":240,"k":{"A":27,".":46,",":46}},"Q":{"d":"265,-4r-26,28r-37,-33v-17,10,-38,15,-62,15v-80,0,-126,-59,-126,-133v0,-76,46,-136,126,-136v119,0,162,152,93,230xm139,-67r26,-28r29,27v30,-46,20,-148,-54,-148v-51,0,-70,44,-70,89v0,51,35,101,93,82","w":280},"R":{"d":"190,0v-13,-35,4,-100,-52,-100r-57,0r0,100r-56,0r0,-257r138,0v81,-4,104,109,35,135v49,16,28,78,48,122r-56,0xm81,-213r0,72v44,-3,101,13,101,-36v0,-48,-57,-34,-101,-36","w":259,"k":{"Y":13,"W":-2,"V":-2,"T":6}},"S":{"d":"72,-190v0,48,153,16,153,114v0,47,-37,82,-107,82v-57,0,-110,-28,-109,-91r54,0v0,34,27,47,57,47v20,0,50,-6,50,-32v0,-28,-38,-32,-76,-42v-38,-10,-77,-25,-77,-73v0,-106,202,-106,199,5r-54,0v-2,-31,-24,-39,-51,-39v-18,0,-39,7,-39,29","w":233},"T":{"d":"82,0r0,-210r-77,0r0,-47r210,0r0,47r-77,0r0,210r-56,0","w":219,"k":{"y":33,"w":40,"u":33,"s":40,"r":33,"o":40,"e":40,"c":40,"a":40,"A":27,";":31,":":31,".":40,"-":46,",":40}},"U":{"d":"243,-257r0,160v0,69,-41,103,-110,103v-69,0,-109,-33,-109,-103r0,-160r56,0r0,160v0,28,7,56,53,56v40,0,53,-18,53,-56r0,-160r57,0","w":266},"V":{"d":"230,-257r-86,257r-63,0r-84,-257r58,0r58,181r58,-181r59,0","w":226,"k":{"y":6,"u":13,"r":13,"o":20,"i":6,"e":20,"a":20,"A":17,";":18,":":18,".":46,"-":20,",":46}},"W":{"d":"339,-257r-69,257r-57,0r-44,-175r-43,175r-57,0r-68,-257r57,0r41,175r45,-175r53,0r44,177r42,-177r56,0","w":339,"k":{"u":6,"r":6,"o":13,"e":13,"a":13,"A":6,";":6,":":6,".":27,",":27}},"X":{"d":"-2,0r90,-135r-83,-122r66,0r50,82r52,-82r62,0r-82,123r89,134r-67,0r-56,-89r-57,89r-64,0","w":240},"Y":{"d":"91,0r0,-100r-94,-157r63,0r61,101r59,-101r63,0r-95,158r0,99r-57,0","w":240,"k":{"v":20,"u":27,"q":33,"p":27,"o":33,"i":5,"e":33,"a":33,"A":27,";":24,":":29,".":40,"-":40,",":40}},"Z":{"d":"8,0r0,-45r138,-165r-127,0r0,-47r202,0r0,45r-137,164r141,0r0,48r-217,0","w":233},"[":{"d":"24,66r0,-329r96,0r0,40r-44,0r0,248r44,0r0,41r-96,0","w":119},"\\":{"d":"37,-263r101,269r-42,0r-100,-269r41,0","w":133},"]":{"d":"95,-263r0,329r-95,0r0,-41r44,0r0,-248r-44,0r0,-40r95,0","w":119},"^":{"d":"22,-113r62,-139r48,0r62,139r-42,0r-44,-99r-44,99r-42,0","w":216},"_":{"d":"0,45r0,-18r180,0r0,18r-180,0","w":180},"a":{"d":"135,-91v-19,16,-73,1,-72,38v0,19,14,24,31,24v49,0,40,-31,41,-62xm68,-129r-51,0v3,-48,46,-62,88,-62v37,0,81,8,81,53v0,45,-6,106,7,138r-52,0v-2,-6,-3,-12,-3,-18v-36,38,-127,32,-126,-33v0,-42,31,-51,63,-56v31,-4,60,-4,60,-25v0,-22,-15,-25,-33,-25v-19,0,-32,8,-34,28","w":206},"b":{"d":"19,0r0,-257r52,0r0,94v48,-55,137,-29,136,70v0,68,-40,98,-77,98v-28,1,-49,-10,-62,-29r0,24r-49,0xm156,-93v0,-31,-14,-60,-44,-60v-30,0,-43,29,-43,60v0,31,13,60,43,60v30,0,44,-29,44,-60","w":219},"c":{"d":"196,-121r-50,0v-3,-21,-17,-32,-38,-32v-33,0,-43,34,-43,61v0,27,10,59,42,59v24,0,38,-15,41,-38r49,0v-6,49,-40,76,-89,76v-56,0,-94,-39,-94,-95v0,-58,35,-101,95,-101v44,0,84,22,87,70","w":206},"d":{"d":"152,0r0,-24v-12,20,-33,29,-57,29v-56,0,-83,-49,-83,-100v0,-50,27,-96,82,-96v23,-1,42,12,56,28r0,-94r51,0r0,257r-49,0xm152,-94v0,-30,-11,-59,-44,-59v-33,0,-45,29,-45,60v0,29,13,60,45,60v34,0,44,-30,44,-61","w":219},"e":{"d":"196,-81r-134,0v-7,56,74,60,86,23r45,0v-14,44,-46,63,-88,63v-59,0,-95,-40,-95,-98v0,-56,38,-98,95,-98v63,0,95,53,91,110xm62,-113r83,0v-5,-26,-16,-40,-41,-40v-32,0,-41,26,-42,40","w":206},"f":{"d":"31,0r0,-152r-31,0r0,-34r31,0v-7,-54,29,-78,89,-70r0,39v-24,-6,-43,1,-38,31r35,0r0,34r-35,0r0,152r-51,0","w":119,"k":{"f":6}},"g":{"d":"198,-186r0,174v0,31,-10,83,-96,83v-37,0,-79,-18,-82,-60r51,0v13,44,87,27,79,-21v-1,-7,2,-18,-1,-24v-11,19,-34,29,-56,29v-56,0,-79,-43,-79,-94v0,-48,28,-92,80,-92v25,-1,42,10,56,30r0,-25r48,0xm106,-44v29,0,44,-24,44,-51v0,-30,-11,-58,-44,-58v-29,0,-41,25,-41,53v0,27,10,56,41,56","w":219},"h":{"d":"19,0r0,-257r52,0r1,97v13,-21,35,-31,54,-31v97,-2,61,108,68,191r-51,0v-6,-52,21,-148,-33,-151v-59,-3,-34,97,-39,151r-52,0","w":213},"i":{"d":"21,0r0,-186r51,0r0,186r-51,0xm72,-257r0,42r-51,0r0,-42r51,0","w":92},"j":{"d":"-7,64r0,-42v14,2,31,3,31,-15r0,-193r51,0r0,195v5,44,-31,63,-82,55xm75,-257r0,42r-51,0r0,-42r51,0","w":100},"k":{"d":"24,0r0,-257r51,0r0,138r65,-67r60,0r-70,68r78,118r-62,0r-51,-83r-20,19r0,64r-51,0","w":206},"l":{"d":"21,0r0,-257r51,0r0,257r-51,0","w":92},"m":{"d":"21,0r0,-186r48,0v1,8,-2,19,1,25v23,-38,91,-43,111,1v26,-47,124,-44,124,35r0,125r-51,0r0,-105v0,-25,-2,-46,-31,-46v-29,0,-34,24,-34,47r0,104r-51,0r0,-104v0,-22,1,-47,-31,-47v-10,0,-35,7,-35,43r0,108r-51,0","w":326},"n":{"d":"19,0r0,-186r49,0v1,8,-2,20,1,26v13,-21,35,-31,57,-31v97,-2,61,108,68,191r-51,0v-6,-52,21,-148,-33,-151v-59,-3,-34,97,-39,151r-52,0","w":213},"o":{"d":"14,-93v0,-59,38,-98,96,-98v59,0,96,39,96,98v0,59,-37,98,-96,98v-58,0,-96,-39,-96,-98xm65,-93v0,30,10,60,45,60v35,0,45,-30,45,-60v0,-30,-10,-60,-45,-60v-35,0,-45,30,-45,60","w":219},"p":{"d":"19,66r0,-252r49,0v1,7,-2,18,1,24v12,-20,32,-29,55,-29v58,0,85,47,85,100v0,50,-28,96,-82,96v-22,0,-44,-10,-56,-28r0,89r-52,0xm113,-33v58,0,64,-120,0,-120v-61,0,-60,120,0,120","w":219},"q":{"d":"201,-186r0,252r-51,0r-1,-89v-12,20,-37,28,-59,28v-34,0,-78,-25,-78,-97v0,-51,26,-99,83,-99v23,0,45,8,57,29r0,-24r49,0xm108,-153v-61,0,-62,120,-1,120v33,0,45,-28,45,-59v0,-29,-12,-61,-44,-61","w":219},"r":{"d":"19,0r0,-186r49,0v1,11,-2,25,1,34v11,-25,40,-45,70,-37r0,47v-43,-10,-68,18,-68,58r0,84r-52,0","w":140,"k":{"q":6,"o":6,"n":-6,"e":6,"d":6,"c":6,".":33,"-":20,",":33}},"s":{"d":"132,-53v0,-36,-117,-18,-117,-78v0,-48,41,-60,81,-60v41,0,78,13,82,59r-49,0v-1,-20,-17,-25,-35,-25v-12,0,-28,2,-28,17v0,18,29,21,58,28v30,7,59,17,59,52v0,49,-43,65,-85,65v-43,0,-86,-16,-88,-65r49,0v-2,38,73,44,73,7","w":193},"t":{"d":"84,-242r0,56r38,0r0,34r-38,0r0,92v-3,24,19,24,38,20r0,40v-41,4,-89,6,-89,-42r0,-110r-31,0r0,-34r31,0r0,-56r51,0","w":126},"u":{"d":"194,-186r0,186r-49,0v-1,-8,2,-20,-1,-26v-13,21,-35,31,-57,31v-97,2,-61,-108,-68,-191r52,0r0,105v0,31,8,46,32,46v59,0,35,-96,40,-151r51,0","w":213},"v":{"d":"185,-186r-63,186r-56,0r-64,-186r53,0r40,127r40,-127r50,0","w":187,"k":{".":20,",":20}},"w":{"d":"291,-186r-59,186r-52,0r-34,-125r-32,125r-53,0r-59,-186r54,0r35,126r31,-126r50,0r32,126r34,-126r53,0","w":293,"k":{".":20,",":20}},"x":{"d":"0,0r67,-98r-61,-88r58,0r33,48r32,-48r57,0r-61,87r68,99r-58,0r-39,-59r-39,59r-57,0","w":193},"y":{"d":"189,-186r-78,209v-12,40,-48,47,-95,41r0,-42v30,7,58,-5,47,-34r-65,-174r55,0r42,127r41,-127r53,0","w":186,"k":{".":20,",":20}},"z":{"d":"8,0r0,-39r97,-109r-90,0r0,-38r157,0r0,38r-97,109r104,0r0,39r-171,0","w":186},"{":{"d":"120,-263r0,40v-24,-3,-39,5,-39,26r0,55v0,37,-27,40,-36,44v11,1,36,9,36,39v0,38,-20,93,39,84r0,41v-49,1,-90,4,-90,-49r0,-70v0,-22,-21,-30,-33,-30r0,-31v12,0,33,-9,33,-33r0,-68v6,-53,41,-49,90,-48","w":119},"|":{"d":"21,77r0,-360r38,0r0,360r-38,0","w":80},"}":{"d":"0,66r0,-41v24,3,39,-5,39,-26r0,-58v0,-31,27,-36,36,-40v-11,-1,-36,-8,-36,-43v0,-37,18,-90,-39,-81r0,-40v49,-1,90,-5,90,48r0,68v0,24,21,33,33,33r0,31v-12,0,-33,8,-33,30r0,70v-6,53,-41,51,-90,49","w":119},"~":{"d":"69,-122v24,0,56,23,77,24v14,0,23,-13,31,-26r15,34v-11,15,-23,31,-45,31v-36,0,-90,-51,-108,1r-15,-33v8,-15,21,-31,45,-31","w":216},"\u00a1":{"d":"78,-191r0,55r-56,0r0,-55r56,0xm23,66v-3,-67,7,-123,14,-180r26,0v7,58,17,112,14,180r-54,0","w":100},"\u00a2":{"d":"94,-33r0,-119v-49,15,-47,103,0,119xm94,41r0,-36v-51,-3,-86,-44,-86,-95v0,-55,30,-96,86,-101r0,-31r21,0r0,31v40,0,79,28,80,71r-50,0v-1,-17,-14,-32,-30,-33r0,120v18,-3,31,-22,31,-40r50,0v-4,46,-37,74,-81,78r0,36r-21,0"},"\u00a3":{"d":"204,-17v-50,57,-118,-18,-172,23r-23,-33v26,-16,54,-49,34,-84r-35,0r0,-31r23,0v-36,-49,-11,-121,76,-121v54,0,87,32,87,90r-49,0v-1,-14,-2,-48,-39,-48v-42,0,-45,38,-20,79r48,0r0,31r-38,0v12,33,-10,57,-26,73v38,-27,80,24,113,-15"},"\u00a5":{"d":"129,0r-54,0r0,-50r-57,0r0,-34r57,0v1,-12,-1,-21,-6,-27r-51,0r0,-34r34,0r-55,-112r58,0r48,112r46,-112r59,0r-56,112r34,0r0,34r-51,0v-5,6,-7,15,-6,27r57,0r0,34r-57,0r0,50"},"\u0192":{"d":"-2,60r7,-38v23,4,36,-3,40,-25r23,-118r-33,0r6,-35r33,0v10,-54,17,-114,83,-107v9,0,18,0,27,2r-7,39v-20,-8,-37,0,-41,20r-9,46r35,0r-6,35r-36,0v-22,79,1,204,-122,181"},"\u00a7":{"d":"152,-81v-9,-33,-52,-37,-76,-56v-13,-10,-28,8,-28,21v0,7,4,13,12,17v26,12,45,30,75,38v9,0,17,-12,17,-20xm128,3v0,-46,-124,-51,-124,-115v0,-26,14,-44,38,-53v-40,-41,7,-98,60,-98v42,0,76,24,76,69r-45,0v5,-36,-55,-42,-58,-8v8,44,122,49,122,112v0,24,-16,45,-38,53v14,10,20,25,20,42v0,41,-41,61,-77,61v-46,0,-81,-21,-81,-70r45,0v1,21,13,31,35,31v15,0,27,-8,27,-24"},"\u00a4":{"d":"7,-54r21,-21v-23,-24,-25,-78,0,-102r-21,-21r21,-21r20,20v24,-20,79,-22,102,0r21,-21r22,22r-20,20v21,25,22,79,-1,104r20,20r-20,20r-20,-21v-24,24,-79,24,-104,1r-21,21xm101,-177v-30,0,-46,24,-46,51v0,26,15,51,45,51v59,1,59,-101,1,-102"},"'":{"d":"31,-141r0,-116r38,0r0,116r-38,0","w":100},"\u00ab":{"d":"145,-29r-57,-45r0,-48r57,-45r0,44r-33,25r33,26r0,43xm72,-29r-57,-45r0,-48r57,-45r0,44r-33,25r33,26r0,43","w":159},"\u00b7":{"d":"20,-103v0,-17,13,-31,30,-31v16,0,31,14,31,31v0,15,-14,30,-30,30v-17,0,-31,-13,-31,-30","w":100},"\u2219":{"d":"20,-103v0,-17,13,-31,30,-31v16,0,31,14,31,31v0,15,-14,30,-30,30v-17,0,-31,-13,-31,-30","w":100},"\u00b6":{"d":"80,60r0,-189v-50,0,-79,-25,-79,-63v-1,-87,111,-61,192,-65r0,317r-37,0r0,-288r-40,0r0,288r-36,0","w":223},"\u00bb":{"d":"88,-167r57,45r0,48r-57,45r0,-43r33,-26r-33,-25r0,-44xm15,-167r57,45r0,48r-57,45r0,-43r33,-26r-33,-25r0,-44","w":159},"\u00bf":{"d":"126,-116v8,69,-58,65,-58,112v0,22,12,32,31,32v25,0,36,-20,36,-46r53,0v-1,51,-35,89,-87,89v-68,0,-89,-42,-89,-70v0,-71,66,-53,65,-117r49,0xm131,-191r0,55r-57,0r0,-55r57,0"},"`":{"d":"38,-209r-55,-51r56,0r35,51r-36,0","w":93},"\u00b4":{"d":"111,-260r-56,51r-36,0r35,-51r57,0","w":93},"\u00af":{"d":"-21,-222r0,-27r135,0r0,27r-135,0","w":93},"\u02c9":{"d":"-21,-222r0,-27r135,0r0,27r-135,0","w":93},"\u00a8":{"d":"59,-215r0,-42r49,0r0,42r-49,0xm-15,-215r0,-42r49,0r0,42r-49,0","w":93},"\u00b8":{"d":"4,71r8,-18v11,4,45,16,45,-5v0,-23,-33,-1,-37,-18r21,-31r18,0v-3,6,-12,15,-13,20v18,-6,45,1,45,23v0,46,-59,39,-87,29","w":93},"\u00c6":{"d":"150,-210r-49,111r62,0r0,-111r-13,0xm-4,0r123,-257r218,0r0,47r-120,0r0,56r113,0r0,43r-113,0r0,63r123,0r0,48r-177,0r0,-57r-81,0r-26,57r-60,0","w":353},"\u00aa":{"d":"83,-193v-12,10,-42,3,-43,21v16,29,51,7,43,-21xm7,-218v4,-29,26,-39,56,-39v25,0,54,5,54,32v0,28,-4,68,5,87r-37,0v-1,-4,-2,-7,-2,-11v-24,23,-79,21,-79,-22v0,-26,20,-32,41,-35v22,-3,38,-2,38,-14v-1,-20,-38,-20,-39,2r-37,0","w":123},"\u0141":{"d":"25,0r0,-77r-29,20r0,-40r29,-20r0,-140r56,0r0,100r76,-53r0,40r-76,53r0,69r126,0r0,48r-182,0","w":213},"\u00d8":{"d":"12,-4r31,-34v-63,-80,-20,-225,97,-225v33,0,60,10,81,28r29,-32r18,15r-30,34v61,82,20,224,-98,224v-33,0,-60,-10,-80,-27r-30,33xm80,-79r107,-118v-11,-11,-26,-19,-47,-19v-68,0,-83,82,-60,137xm200,-176r-106,117v11,11,26,18,46,18v69,-1,83,-80,60,-135","w":280},"\u0152":{"d":"196,0v-1,-6,2,-15,-1,-19v-15,17,-40,25,-62,25v-76,0,-119,-62,-119,-133v0,-95,103,-179,182,-112r0,-18r180,0r0,47r-128,0r0,56r117,0r0,43r-117,0r0,63r130,0r0,48r-182,0xm137,-41v59,2,57,-59,57,-120v0,-32,-24,-55,-56,-55v-93,1,-92,173,-1,175","w":393},"\u00ba":{"d":"4,-196v0,-38,25,-61,62,-61v37,0,62,23,62,61v0,38,-25,61,-62,61v-37,0,-62,-23,-62,-61xm66,-230v-31,0,-31,67,0,68v32,-1,31,-68,0,-68","w":132},"\u00e6":{"d":"139,-91v-20,16,-73,3,-74,38v0,19,16,24,31,24v27,1,50,-23,43,-62xm316,-81r-133,0v-1,24,17,52,45,52v22,0,34,-11,37,-29r49,0v-14,68,-114,86,-155,31v-34,45,-145,50,-145,-23v0,-42,31,-52,62,-57v44,-6,63,-7,63,-26v0,-34,-70,-34,-69,5r-51,0v2,-70,110,-83,149,-38v14,-17,32,-25,62,-25v62,0,86,52,86,110xm183,-113r82,0v0,-23,-14,-44,-40,-44v-26,0,-42,21,-42,44","w":326},"\u0131":{"d":"21,0r0,-186r51,0r0,186r-51,0","w":92},"\u0142":{"d":"21,0r0,-103r-24,19r0,-37r24,-19r0,-117r51,0r0,77r24,-19r0,37r-24,19r0,143r-51,0","w":92},"\u00f8":{"d":"70,-62r70,-79v-7,-7,-17,-12,-30,-12v-46,0,-51,53,-40,91xm149,-126r-70,80v7,8,17,13,31,13v47,0,52,-56,39,-93xm16,0r21,-25v-50,-58,-14,-166,73,-166v23,0,42,6,58,17r20,-22r13,12r-20,22v52,56,19,167,-71,167v-23,0,-44,-6,-60,-18r-21,24","w":219},"\u0153":{"d":"190,-113r82,0v-1,-24,-15,-40,-42,-40v-26,0,-39,18,-40,40xm104,-33v34,0,41,-34,41,-61v0,-25,-6,-59,-40,-59v-31,0,-40,33,-40,61v0,26,8,59,39,59xm323,-81r-133,0v-7,48,68,67,82,22r49,0v-15,66,-114,88,-154,32v-13,23,-41,32,-66,32v-58,0,-87,-46,-87,-99v0,-84,105,-132,155,-68v13,-19,40,-29,62,-29v66,0,92,51,92,110","w":333},"\u00df":{"d":"20,0r0,-177v0,-40,13,-86,85,-86v43,0,81,21,81,69v1,23,-15,43,-33,51v31,7,47,33,47,64v0,55,-45,96,-108,82r0,-42v31,9,57,-13,57,-42v0,-30,-22,-49,-57,-43r0,-34v23,4,46,-6,46,-31v0,-30,-24,-32,-35,-32v-21,0,-32,14,-32,35r0,186r-51,0","w":219},"\u00b9":{"d":"104,-254r0,156r-37,0r0,-99r-39,0r0,-27v23,1,43,-7,46,-30r30,0","w":141},"\u00ac":{"d":"199,-146r0,110r-39,0r0,-72r-143,0r0,-38r182,0","w":216},"\u00b5":{"d":"194,-186r0,186r-49,0v-1,-8,2,-20,-1,-26v-19,30,-50,40,-73,22r0,70r-52,0r0,-252r52,0r0,105v0,31,8,46,32,46v59,0,35,-96,40,-151r51,0","w":213},"\u03bc":{"d":"194,-186r0,186r-49,0v-1,-8,2,-20,-1,-26v-19,30,-50,40,-73,22r0,70r-52,0r0,-252r52,0r0,105v0,31,8,46,32,46v59,0,35,-96,40,-151r51,0","w":213},"\u00d0":{"d":"25,0r0,-112r-24,0r0,-42r24,0r0,-103r111,0v67,0,116,42,116,127v0,75,-38,130,-116,130r-111,0xm81,-210r0,56r58,0r0,42r-58,0r0,64v68,2,111,3,115,-77v4,-69,-40,-93,-115,-85","w":266},"\u00bd":{"d":"55,8r149,-268r30,0r-148,268r-31,0xm85,-254r0,156r-37,0r0,-99r-39,0r0,-27v23,1,43,-7,46,-30r30,0xm305,-110v0,48,-55,49,-77,81r75,0r0,29r-120,0v0,-38,22,-53,50,-71v14,-9,35,-18,35,-37v0,-13,-9,-22,-22,-22v-20,0,-27,20,-26,34r-37,0v0,-37,21,-63,65,-63v30,0,57,17,57,49","w":320},"\u00b1":{"d":"127,-182r0,47r72,0r0,39r-72,0r0,47r-38,0r0,-47r-72,0r0,-39r72,0r0,-47r38,0xm17,0r0,-39r182,0r0,39r-182,0","w":216},"\u00de":{"d":"25,0r0,-257r56,0r0,35r60,0v64,0,89,40,89,82v0,42,-25,83,-89,83r-60,0r0,57r-56,0xm81,-178r0,77v44,-2,94,11,94,-39v0,-49,-50,-36,-94,-38","w":240},"\u00bc":{"d":"55,8r149,-268r30,0r-148,268r-31,0xm85,-254r0,156r-37,0r0,-99r-39,0r0,-27v23,1,43,-7,46,-30r30,0xm248,0r0,-32r-69,0r0,-34r68,-85r36,0r0,90r20,0r0,29r-20,0r0,32r-35,0xm248,-61v-1,-17,2,-37,-1,-52r-41,52r42,0","w":321},"\u00f7":{"d":"17,-72r0,-38r182,0r0,38r-182,0xm78,-166v0,-17,13,-30,30,-30v16,0,31,13,31,30v0,15,-14,31,-30,31v-17,0,-31,-14,-31,-31xm78,-16v0,-17,13,-30,30,-30v16,0,31,13,31,30v0,15,-14,30,-30,30v-17,0,-31,-13,-31,-30","w":216},"\u00a6":{"d":"21,32r0,-90r38,0r0,90r-38,0xm59,-238r0,90r-38,0r0,-90r38,0","w":80},"\u00b0":{"d":"19,-204v0,-30,23,-53,53,-53v30,0,53,23,53,53v0,30,-23,54,-53,54v-30,0,-53,-24,-53,-54xm42,-204v0,40,60,41,60,0v0,-44,-60,-37,-60,0","w":144},"\u00fe":{"d":"19,66r0,-323r52,0r0,95v12,-20,32,-29,53,-29v58,0,85,47,85,100v0,50,-28,96,-82,96v-22,0,-44,-10,-56,-28r0,89r-52,0xm113,-33v58,0,64,-120,0,-120v-61,0,-60,120,0,120","w":219},"\u00be":{"d":"86,8r149,-268r31,0r-149,268r-31,0xm65,-167r0,-25v14,0,34,0,34,-17v0,-12,-10,-19,-22,-19v-15,0,-24,12,-24,26r-35,0v1,-33,23,-55,59,-55v46,0,83,58,33,75v16,6,29,17,29,35v0,35,-29,52,-62,52v-39,0,-64,-21,-63,-58r35,0v1,15,9,29,27,29v14,0,27,-10,27,-23v0,-21,-23,-20,-38,-20xm255,0r0,-32r-69,0r0,-34r68,-85r36,0r0,90r20,0r0,29r-20,0r0,32r-35,0xm255,-61r0,-52r-42,52r42,0","w":320},"\u00b2":{"d":"131,-208v-1,49,-55,49,-76,81r75,0r0,29r-120,0v0,-38,22,-53,50,-71v14,-9,35,-18,35,-37v0,-13,-9,-22,-22,-22v-20,0,-27,20,-26,34r-37,0v0,-37,21,-63,65,-63v30,0,56,17,56,49","w":141},"\u00ae":{"d":"6,-129v0,-82,65,-134,138,-134v73,0,138,52,138,134v0,82,-65,135,-138,135v-73,0,-138,-53,-138,-135xm42,-129v0,62,45,106,102,106v56,0,102,-44,102,-106v0,-61,-46,-105,-102,-105v-57,0,-102,44,-102,105xm90,-54r0,-150v52,1,116,-9,116,44v0,28,-17,38,-39,40r40,66r-31,0r-37,-64r-19,0r0,64r-30,0xm120,-181r0,40v25,-1,57,7,56,-21v-1,-24,-32,-18,-56,-19","w":288},"\u00f0":{"d":"110,-33v62,-1,61,-115,-1,-115v-62,1,-60,115,1,115xm48,-213r38,-20v-10,-7,-20,-13,-30,-18r33,-25v13,7,25,15,36,24r44,-22r19,21r-41,20v38,37,59,80,59,135v0,59,-37,103,-96,103v-58,0,-96,-39,-96,-94v0,-44,24,-93,82,-93v14,-1,32,3,50,14v-9,-20,-25,-35,-37,-45r-40,20","w":219},"\u00d7":{"d":"50,-6r-27,-27r58,-58r-57,-58r27,-27r57,58r58,-58r27,27r-58,58r58,58r-27,27r-58,-58","w":216},"\u00b3":{"d":"59,-167r0,-25v14,0,34,0,34,-17v0,-12,-10,-19,-22,-19v-15,0,-24,12,-24,26r-35,0v1,-33,23,-55,59,-55v46,0,83,58,33,75v16,6,29,17,29,35v0,35,-29,52,-62,52v-39,0,-64,-21,-63,-58r34,0v1,15,10,29,28,29v14,0,26,-10,26,-23v0,-21,-22,-20,-37,-20","w":141},"\u00a9":{"d":"6,-129v0,-82,65,-134,138,-134v73,0,138,52,138,134v0,82,-65,135,-138,135v-73,0,-138,-53,-138,-135xm42,-129v0,61,45,106,102,106v56,0,102,-45,102,-106v0,-62,-46,-105,-102,-105v-57,0,-102,43,-102,105xm185,-106r30,0v-6,36,-34,57,-66,57v-47,0,-77,-35,-77,-80v0,-46,28,-81,76,-81v33,0,60,20,65,56r-28,0v-14,-47,-85,-28,-79,24v-8,51,70,73,79,24","w":288},"\u00c1":{"d":"-3,0r98,-257r58,0r96,257r-59,0r-19,-57r-96,0r-20,57r-58,0xm124,-194v-14,29,-22,64,-34,95r66,0xm187,-331r-55,51r-36,0r35,-51r56,0","w":246},"\u00c2":{"d":"-3,0r98,-257r58,0r96,257r-59,0r-19,-57r-96,0r-20,57r-58,0xm124,-194v-14,29,-22,64,-34,95r66,0xm60,-280r40,-51r47,0r39,51r-42,0r-22,-29r-23,29r-39,0","w":246},"\u00c4":{"d":"-3,0r98,-257r58,0r96,257r-59,0r-19,-57r-96,0r-20,57r-58,0xm124,-194v-14,29,-22,64,-34,95r66,0xm136,-286r0,-42r49,0r0,42r-49,0xm62,-286r0,-42r49,0r0,42r-49,0","w":246},"\u00c0":{"d":"-3,0r98,-257r58,0r96,257r-59,0r-19,-57r-96,0r-20,57r-58,0xm124,-194v-14,29,-22,64,-34,95r66,0xm115,-280r-56,-51r57,0r34,51r-35,0","w":246},"\u00c5":{"d":"-3,0r98,-257r58,0r96,257r-59,0r-19,-57r-96,0r-20,57r-58,0xm124,-194v-14,29,-22,64,-34,95r66,0xm100,-307v0,14,9,25,23,25v14,0,23,-11,23,-25v0,-14,-9,-25,-23,-25v-14,0,-23,11,-23,25xm79,-307v0,-24,20,-44,44,-44v24,0,44,20,44,44v0,24,-20,44,-44,44v-24,0,-44,-20,-44,-44","w":246},"\u00c3":{"d":"-3,0r98,-257r58,0r96,257r-59,0r-19,-57r-96,0r-20,57r-58,0xm124,-194v-14,29,-22,64,-34,95r66,0xm103,-328v19,0,56,28,62,0r24,0v-6,19,-12,41,-40,41v-25,0,-62,-29,-70,3r-22,0v5,-21,14,-44,46,-44","w":246},"\u00c7":{"d":"251,-171r-55,0v-4,-26,-28,-45,-56,-45v-51,0,-70,44,-70,89v0,43,19,86,70,86v35,0,54,-24,58,-58r55,0v-6,64,-49,104,-112,105r-9,13v18,-6,46,1,46,23v0,46,-59,39,-87,29r8,-18v10,4,44,16,44,-5v0,-23,-33,0,-36,-18r17,-25v-70,-7,-110,-63,-110,-132v0,-76,46,-136,126,-136v57,0,104,33,111,92","w":266},"\u00c9":{"d":"25,0r0,-257r192,0r0,47r-136,0r0,56r125,0r0,43r-125,0r0,63r139,0r0,48r-195,0xm181,-331r-56,51r-35,0r34,-51r57,0","w":233},"\u00ca":{"d":"25,0r0,-257r192,0r0,47r-136,0r0,56r125,0r0,43r-125,0r0,63r139,0r0,48r-195,0xm54,-280r40,-51r46,0r40,51r-42,0r-22,-29r-23,29r-39,0","w":233},"\u00cb":{"d":"25,0r0,-257r192,0r0,47r-136,0r0,56r125,0r0,43r-125,0r0,63r139,0r0,48r-195,0xm130,-286r0,-42r48,0r0,42r-48,0xm55,-286r0,-42r49,0r0,42r-49,0","w":233},"\u00c8":{"d":"25,0r0,-257r192,0r0,47r-136,0r0,56r125,0r0,43r-125,0r0,63r139,0r0,48r-195,0xm108,-280r-55,-51r56,0r35,51r-36,0","w":233},"\u00cd":{"d":"25,0r0,-257r56,0r0,257r-56,0xm117,-331r-55,51r-36,0r34,-51r57,0","w":106},"\u00ce":{"d":"25,0r0,-257r56,0r0,257r-56,0xm-10,-280r40,-51r47,0r39,51r-42,0r-22,-29r-23,29r-39,0","w":106},"\u00cf":{"d":"25,0r0,-257r56,0r0,257r-56,0xm66,-286r0,-42r48,0r0,42r-48,0xm-8,-286r0,-42r48,0r0,42r-48,0","w":106},"\u00cc":{"d":"25,0r0,-257r56,0r0,257r-56,0xm45,-280r-56,-51r57,0r34,51r-35,0","w":106},"\u00d1":{"d":"25,0r0,-257r56,0r108,172r0,-172r53,0r0,257r-57,0r-107,-172r0,172r-53,0xm113,-328v19,0,56,28,62,0r24,0v-6,19,-12,41,-40,41v-25,0,-62,-29,-70,3r-22,0v5,-21,14,-44,46,-44","w":266},"\u00d3":{"d":"14,-127v0,-76,46,-136,126,-136v80,0,126,60,126,136v0,74,-46,133,-126,133v-80,0,-126,-59,-126,-133xm70,-127v0,43,19,86,70,86v51,0,70,-43,70,-86v0,-45,-19,-89,-70,-89v-51,0,-70,44,-70,89xm204,-331r-55,51r-36,0r35,-51r56,0","w":280},"\u00d4":{"d":"14,-127v0,-76,46,-136,126,-136v80,0,126,60,126,136v0,74,-46,133,-126,133v-80,0,-126,-59,-126,-133xm70,-127v0,43,19,86,70,86v51,0,70,-43,70,-86v0,-45,-19,-89,-70,-89v-51,0,-70,44,-70,89xm77,-280r40,-51r47,0r39,51r-42,0r-22,-29r-23,29r-39,0","w":280},"\u00d6":{"d":"14,-127v0,-76,46,-136,126,-136v80,0,126,60,126,136v0,74,-46,133,-126,133v-80,0,-126,-59,-126,-133xm70,-127v0,43,19,86,70,86v51,0,70,-43,70,-86v0,-45,-19,-89,-70,-89v-51,0,-70,44,-70,89xm153,-286r0,-42r49,0r0,42r-49,0xm79,-286r0,-42r48,0r0,42r-48,0","w":280},"\u00d2":{"d":"14,-127v0,-76,46,-136,126,-136v80,0,126,60,126,136v0,74,-46,133,-126,133v-80,0,-126,-59,-126,-133xm70,-127v0,43,19,86,70,86v51,0,70,-43,70,-86v0,-45,-19,-89,-70,-89v-51,0,-70,44,-70,89xm132,-280r-56,-51r57,0r34,51r-35,0","w":280},"\u00d5":{"d":"14,-127v0,-76,46,-136,126,-136v80,0,126,60,126,136v0,74,-46,133,-126,133v-80,0,-126,-59,-126,-133xm70,-127v0,43,19,86,70,86v51,0,70,-43,70,-86v0,-45,-19,-89,-70,-89v-51,0,-70,44,-70,89xm120,-328v16,0,31,12,46,13v11,0,15,-6,15,-13r25,0v-6,19,-12,41,-40,41v-25,0,-62,-29,-70,3r-22,0v5,-21,14,-44,46,-44","w":280},"\u0160":{"d":"72,-190v0,48,153,16,153,114v0,47,-37,82,-107,82v-57,0,-110,-28,-109,-91r54,0v0,34,27,47,57,47v20,0,50,-6,50,-32v0,-28,-38,-32,-76,-42v-38,-10,-77,-25,-77,-73v0,-106,202,-106,199,5r-54,0v-2,-31,-24,-39,-51,-39v-18,0,-39,7,-39,29xm180,-331r-40,51r-46,0r-40,-51r40,0r23,29r23,-29r40,0","w":233},"\u00da":{"d":"243,-257r0,160v0,69,-41,103,-110,103v-69,0,-109,-33,-109,-103r0,-160r56,0r0,160v0,28,7,56,53,56v40,0,53,-18,53,-56r0,-160r57,0xm197,-331r-55,51r-36,0r35,-51r56,0","w":266},"\u00db":{"d":"243,-257r0,160v0,69,-41,103,-110,103v-69,0,-109,-33,-109,-103r0,-160r56,0r0,160v0,28,7,56,53,56v40,0,53,-18,53,-56r0,-160r57,0xm70,-280r40,-51r47,0r40,51r-43,0r-22,-29r-23,29r-39,0","w":266},"\u00dc":{"d":"243,-257r0,160v0,69,-41,103,-110,103v-69,0,-109,-33,-109,-103r0,-160r56,0r0,160v0,28,7,56,53,56v40,0,53,-18,53,-56r0,-160r57,0xm146,-286r0,-42r49,0r0,42r-49,0xm72,-286r0,-42r49,0r0,42r-49,0","w":266},"\u00d9":{"d":"243,-257r0,160v0,69,-41,103,-110,103v-69,0,-109,-33,-109,-103r0,-160r56,0r0,160v0,28,7,56,53,56v40,0,53,-18,53,-56r0,-160r57,0xm125,-280r-56,-51r57,0r35,51r-36,0","w":266},"\u00dd":{"d":"91,0r0,-100r-94,-157r63,0r61,101r59,-101r63,0r-95,158r0,99r-57,0xm184,-331r-55,51r-36,0r34,-51r57,0","w":240},"\u0178":{"d":"91,0r0,-100r-94,-157r63,0r61,101r59,-101r63,0r-95,158r0,99r-57,0xm133,-286r0,-42r48,0r0,42r-48,0xm59,-286r0,-42r48,0r0,42r-48,0","w":240},"\u017d":{"d":"8,0r0,-45r138,-165r-127,0r0,-47r202,0r0,45r-137,164r141,0r0,48r-217,0xm180,-331r-40,51r-46,0r-40,-51r40,0r23,29r23,-29r40,0","w":233},"\u00e1":{"d":"135,-91v-19,16,-73,1,-72,38v0,19,14,24,31,24v49,0,40,-31,41,-62xm68,-129r-51,0v3,-48,46,-62,88,-62v37,0,81,8,81,53v0,45,-6,106,7,138r-52,0v-2,-6,-3,-12,-3,-18v-36,38,-127,32,-126,-33v0,-42,31,-51,63,-56v31,-4,60,-4,60,-25v0,-22,-15,-25,-33,-25v-19,0,-32,8,-34,28xm167,-260r-55,51r-36,0r35,-51r56,0","w":206},"\u00e2":{"d":"135,-91v-19,16,-73,1,-72,38v0,19,14,24,31,24v49,0,40,-31,41,-62xm68,-129r-51,0v3,-48,46,-62,88,-62v37,0,81,8,81,53v0,45,-6,106,7,138r-52,0v-2,-6,-3,-12,-3,-18v-36,38,-127,32,-126,-33v0,-42,31,-51,63,-56v31,-4,60,-4,60,-25v0,-22,-15,-25,-33,-25v-19,0,-32,8,-34,28xm40,-209r40,-51r47,0r40,51r-42,0r-23,-29r-23,29r-39,0","w":206},"\u00e4":{"d":"135,-91v-19,16,-73,1,-72,38v0,19,14,24,31,24v49,0,40,-31,41,-62xm68,-129r-51,0v3,-48,46,-62,88,-62v37,0,81,8,81,53v0,45,-6,106,7,138r-52,0v-2,-6,-3,-12,-3,-18v-36,38,-127,32,-126,-33v0,-42,31,-51,63,-56v31,-4,60,-4,60,-25v0,-22,-15,-25,-33,-25v-19,0,-32,8,-34,28xm116,-215r0,-42r49,0r0,42r-49,0xm42,-215r0,-42r49,0r0,42r-49,0","w":206},"\u00e0":{"d":"135,-91v-19,16,-73,1,-72,38v0,19,14,24,31,24v49,0,40,-31,41,-62xm68,-129r-51,0v3,-48,46,-62,88,-62v37,0,81,8,81,53v0,45,-6,106,7,138r-52,0v-2,-6,-3,-12,-3,-18v-36,38,-127,32,-126,-33v0,-42,31,-51,63,-56v31,-4,60,-4,60,-25v0,-22,-15,-25,-33,-25v-19,0,-32,8,-34,28xm95,-209r-55,-51r56,0r35,51r-36,0","w":206},"\u00e5":{"d":"135,-91v-19,16,-73,1,-72,38v0,19,14,24,31,24v49,0,40,-31,41,-62xm68,-129r-51,0v3,-48,46,-62,88,-62v37,0,81,8,81,53v0,45,-6,106,7,138r-52,0v-2,-6,-3,-12,-3,-18v-36,38,-127,32,-126,-33v0,-42,31,-51,63,-56v31,-4,60,-4,60,-25v0,-22,-15,-25,-33,-25v-19,0,-32,8,-34,28xm81,-236v0,14,8,25,22,25v14,0,23,-11,23,-25v0,-14,-9,-25,-23,-25v-14,0,-22,11,-22,25xm59,-236v0,-24,20,-44,44,-44v24,0,45,20,45,44v0,24,-21,44,-45,44v-24,0,-44,-20,-44,-44","w":206},"\u00e3":{"d":"135,-91v-19,16,-73,1,-72,38v0,19,14,24,31,24v49,0,40,-31,41,-62xm68,-129r-51,0v3,-48,46,-62,88,-62v37,0,81,8,81,53v0,45,-6,106,7,138r-52,0v-2,-6,-3,-12,-3,-18v-36,38,-127,32,-126,-33v0,-42,31,-51,63,-56v31,-4,60,-4,60,-25v0,-22,-15,-25,-33,-25v-19,0,-32,8,-34,28xm83,-257v16,0,32,12,47,13v11,0,15,-6,15,-13r25,0v-7,18,-13,41,-41,41v-25,0,-61,-29,-70,3r-22,0v5,-21,14,-44,46,-44","w":206},"\u00e7":{"d":"196,-121r-50,0v-3,-21,-17,-32,-38,-32v-33,0,-43,34,-43,61v0,27,10,59,42,59v24,0,38,-15,41,-38r49,0v-6,48,-38,75,-85,76v-2,4,-10,11,-9,14v18,-6,45,1,45,23v0,46,-59,39,-87,29r8,-18v10,4,44,16,44,-5v0,-23,-32,-1,-36,-18r18,-26v-49,-5,-81,-43,-81,-94v0,-58,35,-101,95,-101v44,0,84,22,87,70","w":206},"\u00e9":{"d":"196,-81r-134,0v-7,56,74,60,86,23r45,0v-14,44,-46,63,-88,63v-59,0,-95,-40,-95,-98v0,-56,38,-98,95,-98v63,0,95,53,91,110xm62,-113r83,0v-5,-26,-16,-40,-41,-40v-32,0,-41,26,-42,40xm167,-260r-55,51r-36,0r35,-51r56,0","w":206},"\u00ea":{"d":"196,-81r-134,0v-7,56,74,60,86,23r45,0v-14,44,-46,63,-88,63v-59,0,-95,-40,-95,-98v0,-56,38,-98,95,-98v63,0,95,53,91,110xm62,-113r83,0v-5,-26,-16,-40,-41,-40v-32,0,-41,26,-42,40xm40,-209r40,-51r47,0r40,51r-42,0r-23,-29r-23,29r-39,0","w":206},"\u00eb":{"d":"196,-81r-134,0v-7,56,74,60,86,23r45,0v-14,44,-46,63,-88,63v-59,0,-95,-40,-95,-98v0,-56,38,-98,95,-98v63,0,95,53,91,110xm62,-113r83,0v-5,-26,-16,-40,-41,-40v-32,0,-41,26,-42,40xm116,-215r0,-42r49,0r0,42r-49,0xm42,-215r0,-42r49,0r0,42r-49,0","w":206},"\u00e8":{"d":"196,-81r-134,0v-7,56,74,60,86,23r45,0v-14,44,-46,63,-88,63v-59,0,-95,-40,-95,-98v0,-56,38,-98,95,-98v63,0,95,53,91,110xm62,-113r83,0v-5,-26,-16,-40,-41,-40v-32,0,-41,26,-42,40xm95,-209r-55,-51r56,0r35,51r-36,0","w":206},"\u00ed":{"d":"21,0r0,-186r51,0r0,186r-51,0xm111,-260r-56,51r-36,0r35,-51r57,0","w":92},"\u00ee":{"d":"21,0r0,-186r51,0r0,186r-51,0xm-17,-209r40,-51r47,0r40,51r-42,0r-23,-29r-23,29r-39,0","w":92},"\u00ef":{"d":"21,0r0,-186r51,0r0,186r-51,0xm59,-215r0,-42r49,0r0,42r-49,0xm-15,-215r0,-42r49,0r0,42r-49,0","w":92},"\u00ec":{"d":"21,0r0,-186r51,0r0,186r-51,0xm38,-209r-55,-51r56,0r35,51r-36,0","w":92},"\u00f1":{"d":"19,0r0,-186r49,0v1,8,-2,20,1,26v13,-21,35,-31,57,-31v97,-2,61,108,68,191r-51,0v-6,-52,21,-148,-33,-151v-59,-3,-34,97,-39,151r-52,0xm86,-257v16,0,32,12,47,13v11,0,15,-6,15,-13r25,0v-6,19,-13,41,-41,41v-25,0,-61,-29,-69,3r-22,0v5,-21,13,-44,45,-44","w":213},"\u00f3":{"d":"14,-93v0,-59,38,-98,96,-98v59,0,96,39,96,98v0,59,-37,98,-96,98v-58,0,-96,-39,-96,-98xm65,-93v0,30,10,60,45,60v35,0,45,-30,45,-60v0,-30,-10,-60,-45,-60v-35,0,-45,30,-45,60xm174,-260r-56,51r-35,0r34,-51r57,0","w":219},"\u00f4":{"d":"14,-93v0,-59,38,-98,96,-98v59,0,96,39,96,98v0,59,-37,98,-96,98v-58,0,-96,-39,-96,-98xm65,-93v0,30,10,60,45,60v35,0,45,-30,45,-60v0,-30,-10,-60,-45,-60v-35,0,-45,30,-45,60xm47,-209r40,-51r47,0r39,51r-42,0r-22,-29r-23,29r-39,0","w":219},"\u00f6":{"d":"14,-93v0,-59,38,-98,96,-98v59,0,96,39,96,98v0,59,-37,98,-96,98v-58,0,-96,-39,-96,-98xm65,-93v0,30,10,60,45,60v35,0,45,-30,45,-60v0,-30,-10,-60,-45,-60v-35,0,-45,30,-45,60xm123,-215r0,-42r48,0r0,42r-48,0xm49,-215r0,-42r48,0r0,42r-48,0","w":219},"\u00f2":{"d":"14,-93v0,-59,38,-98,96,-98v59,0,96,39,96,98v0,59,-37,98,-96,98v-58,0,-96,-39,-96,-98xm65,-93v0,30,10,60,45,60v35,0,45,-30,45,-60v0,-30,-10,-60,-45,-60v-35,0,-45,30,-45,60xm102,-209r-56,-51r57,0r34,51r-35,0","w":219},"\u00f5":{"d":"14,-93v0,-59,38,-98,96,-98v59,0,96,39,96,98v0,59,-37,98,-96,98v-58,0,-96,-39,-96,-98xm65,-93v0,30,10,60,45,60v35,0,45,-30,45,-60v0,-30,-10,-60,-45,-60v-35,0,-45,30,-45,60xm89,-257v16,0,32,12,47,13v11,0,15,-6,15,-13r25,0v-6,19,-12,41,-40,41v-25,0,-62,-29,-70,3r-22,0v5,-21,13,-44,45,-44","w":219},"\u0161":{"d":"132,-53v0,-36,-117,-18,-117,-78v0,-48,41,-60,81,-60v41,0,78,13,82,59r-49,0v-1,-20,-17,-25,-35,-25v-12,0,-28,2,-28,17v0,18,29,21,58,28v30,7,59,17,59,52v0,49,-43,65,-85,65v-43,0,-86,-16,-88,-65r49,0v-2,38,73,44,73,7xm160,-260r-40,51r-47,0r-40,-51r41,0r23,29r23,-29r40,0","w":193},"\u00fa":{"d":"194,-186r0,186r-49,0v-1,-8,2,-20,-1,-26v-13,21,-35,31,-57,31v-97,2,-61,-108,-68,-191r52,0r0,105v0,31,8,46,32,46v59,0,35,-96,40,-151r51,0xm171,-260r-56,51r-35,0r34,-51r57,0","w":213},"\u00fb":{"d":"194,-186r0,186r-49,0v-1,-8,2,-20,-1,-26v-13,21,-35,31,-57,31v-97,2,-61,-108,-68,-191r52,0r0,105v0,31,8,46,32,46v59,0,35,-96,40,-151r51,0xm44,-209r40,-51r46,0r40,51r-42,0r-23,-29r-23,29r-38,0","w":213},"\u00fc":{"d":"194,-186r0,186r-49,0v-1,-8,2,-20,-1,-26v-13,21,-35,31,-57,31v-97,2,-61,-108,-68,-191r52,0r0,105v0,31,8,46,32,46v59,0,35,-96,40,-151r51,0xm120,-215r0,-42r48,0r0,42r-48,0xm45,-215r0,-42r49,0r0,42r-49,0","w":213},"\u00f9":{"d":"194,-186r0,186r-49,0v-1,-8,2,-20,-1,-26v-13,21,-35,31,-57,31v-97,2,-61,-108,-68,-191r52,0r0,105v0,31,8,46,32,46v59,0,35,-96,40,-151r51,0xm98,-209r-55,-51r56,0r35,51r-36,0","w":213},"\u00fd":{"d":"189,-186r-78,209v-12,40,-48,47,-95,41r0,-42v30,7,58,-5,47,-34r-65,-174r55,0r42,127r41,-127r53,0xm157,-260r-55,51r-36,0r35,-51r56,0","w":186},"\u00ff":{"d":"189,-186r-78,209v-12,40,-48,47,-95,41r0,-42v30,7,58,-5,47,-34r-65,-174r55,0r42,127r41,-127r53,0xm106,-215r0,-42r49,0r0,42r-49,0xm32,-215r0,-42r49,0r0,42r-49,0","w":186},"\u017e":{"d":"8,0r0,-39r97,-109r-90,0r0,-38r157,0r0,38r-97,109r104,0r0,39r-171,0xm157,-260r-40,51r-47,0r-40,-51r41,0r23,29r23,-29r40,0","w":186}}});
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:1230.557*/

