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.0.3',Browser:{IE:!!(window.attachEvent&&navigator.userAgent.indexOf('Opera')===-1),Opera:navigator.userAgent.indexOf('Opera')>-1,WebKit:navigator.userAgent.indexOf('AppleWebKit/')>-1,Gecko:navigator.userAgent.indexOf('Gecko')>-1&&navigator.userAgent.indexOf('KHTML')===-1,MobileSafari:!!navigator.userAgent.match(/Apple.*Mobile.*Safari/)},BrowserFeatures:{XPath:!!document.evaluate,SelectorsAPI:!!document.querySelector,ElementExtensions:!!window.HTMLElement,SpecificElementExtensions:document.createElement('div')['__proto__']&&document.createElement('div')['__proto__']!==document.createElement('form')['__proto__']},ScriptFragment:'<script[^>]*>([\\S\\s]*?)<\/script>',JSONFilter:/^\/\*-secure-([\s\S]*)\*\/\s*$/,emptyFunction:function(){},K:function(x){return x}};if(Prototype.Browser.MobileSafari)Prototype.BrowserFeatures.SpecificElementExtensions=false;var Class={create:function(){var parent=null,properties=$A(arguments);if(Object.isFunction(properties[0]))parent=properties.shift();function klass(){this.initialize.apply(this,arguments)}Object.extend(klass,Class.Methods);klass.superclass=parent;klass.subclasses=[];if(parent){var subclass=function(){};subclass.prototype=parent.prototype;klass.prototype=new subclass;parent.subclasses.push(klass)}for(var i=0;i<properties.length;i++)klass.addMethods(properties[i]);if(!klass.prototype.initialize)klass.prototype.initialize=Prototype.emptyFunction;klass.prototype.constructor=klass;return klass}};Class.Methods={addMethods:function(source){var ancestor=this.superclass&&this.superclass.prototype;var properties=Object.keys(source);if(!Object.keys({toString:true}).length)properties.push("toString","valueOf");for(var i=0,length=properties.length;i<length;i++){var property=properties[i],value=source[property];if(ancestor&&Object.isFunction(value)&&value.argumentNames().first()=="$super"){var method=value;value=(function(m){return function(){return ancestor[m].apply(this,arguments)}})(property).wrap(method);value.valueOf=method.valueOf.bind(method);value.toString=method.toString.bind(method)}this.prototype[property]=value}return this}};var Abstract={};Object.extend=function(destination,source){for(var property in source)destination[property]=source[property];return destination};Object.extend(Object,{inspect:function(object){try{if(Object.isUndefined(object))return'undefined';if(object===null)return'null';return object.inspect?object.inspect():String(object)}catch(e){if(e instanceof RangeError)return'...';throw e}},toJSON:function(object){var type=typeof object;switch(type){case'undefined':case'function':case'unknown':return;case'boolean':return object.toString()}if(object===null)return'null';if(object.toJSON)return object.toJSON();if(Object.isElement(object))return;var results=[];for(var property in object){var value=Object.toJSON(object[property]);if(!Object.isUndefined(value))results.push(property.toJSON()+': '+value)}return'{'+results.join(', ')+'}'},toQueryString:function(object){return $H(object).toQueryString()},toHTML:function(object){return object&&object.toHTML?object.toHTML():String.interpret(object)},keys:function(object){var keys=[];for(var property in object)keys.push(property);return keys},values:function(object){var values=[];for(var property in object)values.push(object[property]);return values},clone:function(object){return Object.extend({},object)},isElement:function(object){return!!(object&&object.nodeType==1)},isArray:function(object){return object!=null&&typeof object=="object"&&'splice'in object&&'join'in object},isHash:function(object){return object instanceof Hash},isFunction:function(object){return typeof object=="function"},isString:function(object){return typeof object=="string"},isNumber:function(object){return typeof object=="number"},isUndefined:function(object){return typeof object=="undefined"}});Object.extend(Function.prototype,{argumentNames:function(){var names=this.toString().match(/^[\s\(]*function[^(]*\(([^\)]*)\)/)[1].replace(/\s+/g,'').split(',');return names.length==1&&!names[0]?[]:names},bind:function(){if(arguments.length<2&&Object.isUndefined(arguments[0]))return this;var __method=this,args=$A(arguments),object=args.shift();return function(){return __method.apply(object,args.concat($A(arguments)))}},bindAsEventListener:function(){var __method=this,args=$A(arguments),object=args.shift();return function(event){return __method.apply(object,[event||window.event].concat(args))}},curry:function(){if(!arguments.length)return this;var __method=this,args=$A(arguments);return function(){return __method.apply(this,args.concat($A(arguments)))}},delay:function(){var __method=this,args=$A(arguments),timeout=args.shift()*1000;return window.setTimeout(function(){return __method.apply(__method,args)},timeout)},defer:function(){var args=[0.01].concat($A(arguments));return this.delay.apply(this,args)},wrap:function(wrapper){var __method=this;return function(){return wrapper.apply(this,[__method.bind(this)].concat($A(arguments)))}},methodize:function(){if(this._methodized)return this._methodized;var __method=this;return this._methodized=function(){return __method.apply(null,[this].concat($A(arguments)))}}});Date.prototype.toJSON=function(){return'"'+this.getUTCFullYear()+'-'+(this.getUTCMonth()+1).toPaddedString(2)+'-'+this.getUTCDate().toPaddedString(2)+'T'+this.getUTCHours().toPaddedString(2)+':'+this.getUTCMinutes().toPaddedString(2)+':'+this.getUTCSeconds().toPaddedString(2)+'Z"'};var Try={these:function(){var returnValue;for(var i=0,length=arguments.length;i<length;i++){var lambda=arguments[i];try{returnValue=lambda();break}catch(e){}}return returnValue}};RegExp.prototype.match=RegExp.prototype.test;RegExp.escape=function(str){return String(str).replace(/([.*+?^=!:${}()|[\]\/\\])/g,'\\$1')};var PeriodicalExecuter=Class.create({initialize:function(callback,frequency){this.callback=callback;this.frequency=frequency;this.currentlyExecuting=false;this.registerCallback()},registerCallback:function(){this.timer=setInterval(this.onTimerEvent.bind(this),this.frequency*1000)},execute:function(){this.callback(this)},stop:function(){if(!this.timer)return;clearInterval(this.timer);this.timer=null},onTimerEvent:function(){if(!this.currentlyExecuting){try{this.currentlyExecuting=true;this.execute()}finally{this.currentlyExecuting=false}}}});Object.extend(String,{interpret:function(value){return value==null?'':String(value)},specialChar:{'\b':'\\b','\t':'\\t','\n':'\\n','\f':'\\f','\r':'\\r','\\':'\\\\'}});Object.extend(String.prototype,{gsub:function(pattern,replacement){var result='',source=this,match;replacement=arguments.callee.prepareReplacement(replacement);while(source.length>0){if(match=source.match(pattern)){result+=source.slice(0,match.index);result+=String.interpret(replacement(match));source=source.slice(match.index+match[0].length)}else{result+=source,source=''}}return result},sub:function(pattern,replacement,count){replacement=this.gsub.prepareReplacement(replacement);count=Object.isUndefined(count)?1:count;return this.gsub(pattern,function(match){if(--count<0)return match[0];return replacement(match)})},scan:function(pattern,iterator){this.gsub(pattern,iterator);return String(this)},truncate:function(length,truncation){length=length||30;truncation=Object.isUndefined(truncation)?'...':truncation;return this.length>length?this.slice(0,length-truncation.length)+truncation:String(this)},strip:function(){return this.replace(/^\s+/,'').replace(/\s+$/,'')},stripTags:function(){return this.replace(/<\/?[^>]+>/gi,'')},stripScripts:function(){return this.replace(new RegExp(Prototype.ScriptFragment,'img'),'')},extractScripts:function(){var matchAll=new RegExp(Prototype.ScriptFragment,'img');var matchOne=new RegExp(Prototype.ScriptFragment,'im');return(this.match(matchAll)||[]).map(function(scriptTag){return(scriptTag.match(matchOne)||['',''])[1]})},evalScripts:function(){return this.extractScripts().map(function(script){return eval(script)})},escapeHTML:function(){var self=arguments.callee;self.text.data=this;return self.div.innerHTML},unescapeHTML:function(){var div=new Element('div');div.innerHTML=this.stripTags();return div.childNodes[0]?(div.childNodes.length>1?$A(div.childNodes).inject('',function(memo,node){return memo+node.nodeValue}):div.childNodes[0].nodeValue):''},toQueryParams:function(separator){var match=this.strip().match(/([^?#]*)(#.*)?$/);if(!match)return{};return match[1].split(separator||'&').inject({},function(hash,pair){if((pair=pair.split('='))[0]){var key=decodeURIComponent(pair.shift());var value=pair.length>1?pair.join('='):pair[0];if(value!=undefined)value=decodeURIComponent(value);if(key in hash){if(!Object.isArray(hash[key]))hash[key]=[hash[key]];hash[key].push(value)}else hash[key]=value}return hash})},toArray:function(){return this.split('')},succ:function(){return this.slice(0,this.length-1)+String.fromCharCode(this.charCodeAt(this.length-1)+1)},times:function(count){return count<1?'':new Array(count+1).join(this)},camelize:function(){var parts=this.split('-'),len=parts.length;if(len==1)return parts[0];var camelized=this.charAt(0)=='-'?parts[0].charAt(0).toUpperCase()+parts[0].substring(1):parts[0];for(var i=1;i<len;i++)camelized+=parts[i].charAt(0).toUpperCase()+parts[i].substring(1);return camelized},capitalize:function(){return this.charAt(0).toUpperCase()+this.substring(1).toLowerCase()},underscore:function(){return this.gsub(/::/,'/').gsub(/([A-Z]+)([A-Z][a-z])/,'#{1}_#{2}').gsub(/([a-z\d])([A-Z])/,'#{1}_#{2}').gsub(/-/,'_').toLowerCase()},dasherize:function(){return this.gsub(/_/,'-')},inspect:function(useDoubleQuotes){var escapedString=this.gsub(/[\x00-\x1f\\]/,function(match){var character=String.specialChar[match[0]];return character?character:'\\u00'+match[0].charCodeAt().toPaddedString(2,16)});if(useDoubleQuotes)return'"'+escapedString.replace(/"/g,'\\"')+'"';return"'"+escapedString.replace(/'/g,'\\\'')+"'"},toJSON:function(){return this.inspect(true)},unfilterJSON:function(filter){return this.sub(filter||Prototype.JSONFilter,'#{1}')},isJSON:function(){var str=this;if(str.blank())return false;str=this.replace(/\\./g,'@').replace(/"[^"\\\n\r]*"/g,'');return(/^[,:{}\[\]0-9.\-+Eaeflnr-u \n\r\t]*$/).test(str)},evalJSON:function(sanitize){var json=this.unfilterJSON();try{if(!sanitize||json.isJSON())return eval('('+json+')')}catch(e){}throw new SyntaxError('Badly formed JSON string: '+this.inspect())},include:function(pattern){return this.indexOf(pattern)>-1},startsWith:function(pattern){return this.indexOf(pattern)===0},endsWith:function(pattern){var d=this.length-pattern.length;return d>=0&&this.lastIndexOf(pattern)===d},empty:function(){return this==''},blank:function(){return/^\s*$/.test(this)},interpolate:function(object,pattern){return new Template(this,pattern).evaluate(object)}});if(Prototype.Browser.WebKit||Prototype.Browser.IE)Object.extend(String.prototype,{escapeHTML:function(){return this.replace(/&/g,'&amp;').replace(/</g,'&lt;').replace(/>/g,'&gt;')},unescapeHTML:function(){return this.stripTags().replace(/&amp;/g,'&').replace(/&lt;/g,'<').replace(/&gt;/g,'>')}});String.prototype.gsub.prepareReplacement=function(replacement){if(Object.isFunction(replacement))return replacement;var template=new Template(replacement);return function(match){return template.evaluate(match)}};String.prototype.parseQuery=String.prototype.toQueryParams;Object.extend(String.prototype.escapeHTML,{div:document.createElement('div'),text:document.createTextNode('')});String.prototype.escapeHTML.div.appendChild(String.prototype.escapeHTML.text);var Template=Class.create({initialize:function(template,pattern){this.template=template.toString();this.pattern=pattern||Template.Pattern},evaluate:function(object){if(Object.isFunction(object.toTemplateReplacements))object=object.toTemplateReplacements();return this.template.gsub(this.pattern,function(match){if(object==null)return'';var before=match[1]||'';if(before=='\\')return match[2];var ctx=object,expr=match[3];var pattern=/^([^.[]+|\[((?:.*?[^\\])?)\])(\.|\[|$)/;match=pattern.exec(expr);if(match==null)return before;while(match!=null){var comp=match[1].startsWith('[')?match[2].gsub('\\\\]',']'):match[1];ctx=ctx[comp];if(null==ctx||''==match[3])break;expr=expr.substring('['==match[3]?match[1].length:match[0].length);match=pattern.exec(expr)}return before+String.interpret(ctx)})}});Template.Pattern=/(^|.|\r|\n)(#\{(.*?)\})/;var $break={};var Enumerable={each:function(iterator,context){var index=0;try{this._each(function(value){iterator.call(context,value,index++)})}catch(e){if(e!=$break)throw e}return this},eachSlice:function(number,iterator,context){var index=-number,slices=[],array=this.toArray();if(number<1)return array;while((index+=number)<array.length)slices.push(array.slice(index,index+number));return slices.collect(iterator,context)},all:function(iterator,context){iterator=iterator||Prototype.K;var result=true;this.each(function(value,index){result=result&&!!iterator.call(context,value,index);if(!result)throw $break});return result},any:function(iterator,context){iterator=iterator||Prototype.K;var result=false;this.each(function(value,index){if(result=!!iterator.call(context,value,index))throw $break});return result},collect:function(iterator,context){iterator=iterator||Prototype.K;var results=[];this.each(function(value,index){results.push(iterator.call(context,value,index))});return results},detect:function(iterator,context){var result;this.each(function(value,index){if(iterator.call(context,value,index)){result=value;throw $break}});return result},findAll:function(iterator,context){var results=[];this.each(function(value,index){if(iterator.call(context,value,index))results.push(value)});return results},grep:function(filter,iterator,context){iterator=iterator||Prototype.K;var results=[];if(Object.isString(filter))filter=new RegExp(filter);this.each(function(value,index){if(filter.match(value))results.push(iterator.call(context,value,index))});return results},include:function(object){if(Object.isFunction(this.indexOf))if(this.indexOf(object)!=-1)return true;var found=false;this.each(function(value){if(value==object){found=true;throw $break}});return found},inGroupsOf:function(number,fillWith){fillWith=Object.isUndefined(fillWith)?null:fillWith;return this.eachSlice(number,function(slice){while(slice.length<number)slice.push(fillWith);return slice})},inject:function(memo,iterator,context){this.each(function(value,index){memo=iterator.call(context,memo,value,index)});return memo},invoke:function(method){var args=$A(arguments).slice(1);return this.map(function(value){return value[method].apply(value,args)})},max:function(iterator,context){iterator=iterator||Prototype.K;var result;this.each(function(value,index){value=iterator.call(context,value,index);if(result==null||value>=result)result=value});return result},min:function(iterator,context){iterator=iterator||Prototype.K;var result;this.each(function(value,index){value=iterator.call(context,value,index);if(result==null||value<result)result=value});return result},partition:function(iterator,context){iterator=iterator||Prototype.K;var trues=[],falses=[];this.each(function(value,index){(iterator.call(context,value,index)?trues:falses).push(value)});return[trues,falses]},pluck:function(property){var results=[];this.each(function(value){results.push(value[property])});return results},reject:function(iterator,context){var results=[];this.each(function(value,index){if(!iterator.call(context,value,index))results.push(value)});return results},sortBy:function(iterator,context){return this.map(function(value,index){return{value:value,criteria:iterator.call(context,value,index)}}).sort(function(left,right){var a=left.criteria,b=right.criteria;return a<b?-1:a>b?1:0}).pluck('value')},toArray:function(){return this.map()},zip:function(){var iterator=Prototype.K,args=$A(arguments);if(Object.isFunction(args.last()))iterator=args.pop();var collections=[this].concat(args).map($A);return this.map(function(value,index){return iterator(collections.pluck(index))})},size:function(){return this.toArray().length},inspect:function(){return'#<Enumerable:'+this.toArray().inspect()+'>'}};Object.extend(Enumerable,{map:Enumerable.collect,find:Enumerable.detect,select:Enumerable.findAll,filter:Enumerable.findAll,member:Enumerable.include,entries:Enumerable.toArray,every:Enumerable.all,some:Enumerable.any});function $A(iterable){if(!iterable)return[];if(iterable.toArray)return iterable.toArray();var length=iterable.length||0,results=new Array(length);while(length--)results[length]=iterable[length];return results}if(Prototype.Browser.WebKit){$A=function(iterable){if(!iterable)return[];if(!(typeof iterable==='function'&&typeof iterable.length==='number'&&typeof iterable.item==='function')&&iterable.toArray)return iterable.toArray();var length=iterable.length||0,results=new Array(length);while(length--)results[length]=iterable[length];return results}}Array.from=$A;Object.extend(Array.prototype,Enumerable);if(!Array.prototype._reverse)Array.prototype._reverse=Array.prototype.reverse;Object.extend(Array.prototype,{_each:function(iterator){for(var i=0,length=this.length;i<length;i++)iterator(this[i])},clear:function(){this.length=0;return this},first:function(){return this[0]},last:function(){return this[this.length-1]},compact:function(){return this.select(function(value){return value!=null})},flatten:function(){return this.inject([],function(array,value){return array.concat(Object.isArray(value)?value.flatten():[value])})},without:function(){var values=$A(arguments);return this.select(function(value){return!values.include(value)})},reverse:function(inline){return(inline!==false?this:this.toArray())._reverse()},reduce:function(){return this.length>1?this:this[0]},uniq:function(sorted){return this.inject([],function(array,value,index){if(0==index||(sorted?array.last()!=value:!array.include(value)))array.push(value);return array})},intersect:function(array){return this.uniq().findAll(function(item){return array.detect(function(value){return item===value})})},clone:function(){return[].concat(this)},size:function(){return this.length},inspect:function(){return'['+this.map(Object.inspect).join(', ')+']'},toJSON:function(){var results=[];this.each(function(object){var value=Object.toJSON(object);if(!Object.isUndefined(value))results.push(value)});return'['+results.join(', ')+']'}});if(Object.isFunction(Array.prototype.forEach))Array.prototype._each=Array.prototype.forEach;if(!Array.prototype.indexOf)Array.prototype.indexOf=function(item,i){i||(i=0);var length=this.length;if(i<0)i=length+i;for(;i<length;i++)if(this[i]===item)return i;return-1};if(!Array.prototype.lastIndexOf)Array.prototype.lastIndexOf=function(item,i){i=isNaN(i)?this.length:(i<0?this.length+i:i)+1;var n=this.slice(0,i).reverse().indexOf(item);return(n<0)?n:i-n-1};Array.prototype.toArray=Array.prototype.clone;function $w(string){if(!Object.isString(string))return[];string=string.strip();return string?string.split(/\s+/):[]}if(Prototype.Browser.Opera){Array.prototype.concat=function(){var array=[];for(var i=0,length=this.length;i<length;i++)array.push(this[i]);for(var i=0,length=arguments.length;i<length;i++){if(Object.isArray(arguments[i])){for(var j=0,arrayLength=arguments[i].length;j<arrayLength;j++)array.push(arguments[i][j])}else{array.push(arguments[i])}}return array}}Object.extend(Number.prototype,{toColorPart:function(){return this.toPaddedString(2,16)},succ:function(){return this+1},times:function(iterator,context){$R(0,this,true).each(iterator,context);return this},toPaddedString:function(length,radix){var string=this.toString(radix||10);return'0'.times(length-string.length)+string},toJSON:function(){return isFinite(this)?this.toString():'null'}});$w('abs round ceil floor').each(function(method){Number.prototype[method]=Math[method].methodize()});function $H(object){return new Hash(object)};var Hash=Class.create(Enumerable,(function(){function toQueryPair(key,value){if(Object.isUndefined(value))return key;return key+'='+encodeURIComponent(String.interpret(value))}return{initialize:function(object){this._object=Object.isHash(object)?object.toObject():Object.clone(object)},_each:function(iterator){for(var key in this._object){var value=this._object[key],pair=[key,value];pair.key=key;pair.value=value;iterator(pair)}},set:function(key,value){return this._object[key]=value},get:function(key){if(this._object[key]!==Object.prototype[key])return this._object[key]},unset:function(key){var value=this._object[key];delete this._object[key];return value},toObject:function(){return Object.clone(this._object)},keys:function(){return this.pluck('key')},values:function(){return this.pluck('value')},index:function(value){var match=this.detect(function(pair){return pair.value===value});return match&&match.key},merge:function(object){return this.clone().update(object)},update:function(object){return new Hash(object).inject(this,function(result,pair){result.set(pair.key,pair.value);return result})},toQueryString:function(){return this.inject([],function(results,pair){var key=encodeURIComponent(pair.key),values=pair.value;if(values&&typeof values=='object'){if(Object.isArray(values))return results.concat(values.map(toQueryPair.curry(key)))}else results.push(toQueryPair(key,values));return results}).join('&')},inspect:function(){return'#<Hash:{'+this.map(function(pair){return pair.map(Object.inspect).join(': ')}).join(', ')+'}>'},toJSON:function(){return Object.toJSON(this.toObject())},clone:function(){return new Hash(this)}}})());Hash.prototype.toTemplateReplacements=Hash.prototype.toObject;Hash.from=$H;var ObjectRange=Class.create(Enumerable,{initialize:function(start,end,exclusive){this.start=start;this.end=end;this.exclusive=exclusive},_each:function(iterator){var value=this.start;while(this.include(value)){iterator(value);value=value.succ()}},include:function(value){if(value<this.start)return false;if(this.exclusive)return value<this.end;return value<=this.end}});var $R=function(start,end,exclusive){return new ObjectRange(start,end,exclusive)};var Ajax={getTransport:function(){return Try.these(function(){return new XMLHttpRequest()},function(){return new ActiveXObject('Msxml2.XMLHTTP')},function(){return new ActiveXObject('Microsoft.XMLHTTP')})||false},activeRequestCount:0};Ajax.Responders={responders:[],_each:function(iterator){this.responders._each(iterator)},register:function(responder){if(!this.include(responder))this.responders.push(responder)},unregister:function(responder){this.responders=this.responders.without(responder)},dispatch:function(callback,request,transport,json){this.each(function(responder){if(Object.isFunction(responder[callback])){try{responder[callback].apply(responder,[request,transport,json])}catch(e){}}})}};Object.extend(Ajax.Responders,Enumerable);Ajax.Responders.register({onCreate:function(){Ajax.activeRequestCount++},onComplete:function(){Ajax.activeRequestCount--}});Ajax.Base=Class.create({initialize:function(options){this.options={method:'post',asynchronous:true,contentType:'application/x-www-form-urlencoded',encoding:'UTF-8',parameters:'',evalJSON:true,evalJS:true};Object.extend(this.options,options||{});this.options.method=this.options.method.toLowerCase();if(Object.isString(this.options.parameters))this.options.parameters=this.options.parameters.toQueryParams();else if(Object.isHash(this.options.parameters))this.options.parameters=this.options.parameters.toObject()}});Ajax.Request=Class.create(Ajax.Base,{_complete:false,initialize:function($super,url,options){$super(options);this.transport=Ajax.getTransport();this.request(url)},request:function(url){this.url=url;this.method=this.options.method;var params=Object.clone(this.options.parameters);if(!['get','post'].include(this.method)){params['_method']=this.method;this.method='post'}this.parameters=params;if(params=Object.toQueryString(params)){if(this.method=='get')this.url+=(this.url.include('?')?'&':'?')+params;else if(/Konqueror|Safari|KHTML/.test(navigator.userAgent))params+='&_='}try{var response=new Ajax.Response(this);if(this.options.onCreate)this.options.onCreate(response);Ajax.Responders.dispatch('onCreate',this,response);this.transport.open(this.method.toUpperCase(),this.url,this.options.asynchronous);if(this.options.asynchronous)this.respondToReadyState.bind(this).defer(1);this.transport.onreadystatechange=this.onStateChange.bind(this);this.setRequestHeaders();this.body=this.method=='post'?(this.options.postBody||params):null;this.transport.send(this.body);if(!this.options.asynchronous&&this.transport.overrideMimeType)this.onStateChange()}catch(e){this.dispatchException(e)}},onStateChange:function(){var readyState=this.transport.readyState;if(readyState>1&&!((readyState==4)&&this._complete))this.respondToReadyState(this.transport.readyState)},setRequestHeaders:function(){var headers={'X-Requested-With':'XMLHttpRequest','X-Prototype-Version':Prototype.Version,'Accept':'text/javascript, text/html, application/xml, text/xml, */*'};if(this.method=='post'){headers['Content-type']=this.options.contentType+(this.options.encoding?'; charset='+this.options.encoding:'');if(this.transport.overrideMimeType&&(navigator.userAgent.match(/Gecko\/(\d{4})/)||[0,2005])[1]<2005)headers['Connection']='close'}if(typeof this.options.requestHeaders=='object'){var extras=this.options.requestHeaders;if(Object.isFunction(extras.push))for(var i=0,length=extras.length;i<length;i+=2)headers[extras[i]]=extras[i+1];else $H(extras).each(function(pair){headers[pair.key]=pair.value})}for(var name in headers)this.transport.setRequestHeader(name,headers[name])},success:function(){var status=this.getStatus();return!status||(status>=200&&status<300)},getStatus:function(){try{return this.transport.status||0}catch(e){return 0}},respondToReadyState:function(readyState){var state=Ajax.Request.Events[readyState],response=new Ajax.Response(this);if(state=='Complete'){try{this._complete=true;(this.options['on'+response.status]||this.options['on'+(this.success()?'Success':'Failure')]||Prototype.emptyFunction)(response,response.headerJSON)}catch(e){this.dispatchException(e)}var contentType=response.getHeader('Content-type');if(this.options.evalJS=='force'||(this.options.evalJS&&this.isSameOrigin()&&contentType&&contentType.match(/^\s*(text|application)\/(x-)?(java|ecma)script(;.*)?\s*$/i)))this.evalResponse()}try{(this.options['on'+state]||Prototype.emptyFunction)(response,response.headerJSON);Ajax.Responders.dispatch('on'+state,this,response,response.headerJSON)}catch(e){this.dispatchException(e)}if(state=='Complete'){this.transport.onreadystatechange=Prototype.emptyFunction}},isSameOrigin:function(){var m=this.url.match(/^\s*https?:\/\/[^\/]*/);return!m||(m[0]=='#{protocol}//#{domain}#{port}'.interpolate({protocol:location.protocol,domain:document.domain,port:location.port?':'+location.port:''}))},getHeader:function(name){try{return this.transport.getResponseHeader(name)||null}catch(e){return null}},evalResponse:function(){try{return eval((this.transport.responseText||'').unfilterJSON())}catch(e){this.dispatchException(e)}},dispatchException:function(exception){(this.options.onException||Prototype.emptyFunction)(this,exception);Ajax.Responders.dispatch('onException',this,exception)}});Ajax.Request.Events=['Uninitialized','Loading','Loaded','Interactive','Complete'];Ajax.Response=Class.create({initialize:function(request){this.request=request;var transport=this.transport=request.transport,readyState=this.readyState=transport.readyState;if((readyState>2&&!Prototype.Browser.IE)||readyState==4){this.status=this.getStatus();this.statusText=this.getStatusText();this.responseText=String.interpret(transport.responseText);this.headerJSON=this._getHeaderJSON()}if(readyState==4){var xml=transport.responseXML;this.responseXML=Object.isUndefined(xml)?null:xml;this.responseJSON=this._getResponseJSON()}},status:0,statusText:'',getStatus:Ajax.Request.prototype.getStatus,getStatusText:function(){try{return this.transport.statusText||''}catch(e){return''}},getHeader:Ajax.Request.prototype.getHeader,getAllHeaders:function(){try{return this.getAllResponseHeaders()}catch(e){return null}},getResponseHeader:function(name){return this.transport.getResponseHeader(name)},getAllResponseHeaders:function(){return this.transport.getAllResponseHeaders()},_getHeaderJSON:function(){var json=this.getHeader('X-JSON');if(!json)return null;json=decodeURIComponent(escape(json));try{return json.evalJSON(this.request.options.sanitizeJSON||!this.request.isSameOrigin())}catch(e){this.request.dispatchException(e)}},_getResponseJSON:function(){var options=this.request.options;if(!options.evalJSON||(options.evalJSON!='force'&&!(this.getHeader('Content-type')||'').include('application/json'))||this.responseText.blank())return null;try{return this.responseText.evalJSON(options.sanitizeJSON||!this.request.isSameOrigin())}catch(e){this.request.dispatchException(e)}}});Ajax.Updater=Class.create(Ajax.Request,{initialize:function($super,container,url,options){this.container={success:(container.success||container),failure:(container.failure||(container.success?null:container))};options=Object.clone(options);var onComplete=options.onComplete;options.onComplete=(function(response,json){this.updateContent(response.responseText);if(Object.isFunction(onComplete))onComplete(response,json)}).bind(this);$super(url,options)},updateContent:function(responseText){var receiver=this.container[this.success()?'success':'failure'],options=this.options;if(!options.evalScripts)responseText=responseText.stripScripts();if(receiver=$(receiver)){if(options.insertion){if(Object.isString(options.insertion)){var insertion={};insertion[options.insertion]=responseText;receiver.insert(insertion)}else options.insertion(receiver,responseText)}else receiver.update(responseText)}}});Ajax.PeriodicalUpdater=Class.create(Ajax.Base,{initialize:function($super,container,url,options){$super(options);this.onComplete=this.options.onComplete;this.frequency=(this.options.frequency||2);this.decay=(this.options.decay||1);this.updater={};this.container=container;this.url=url;this.start()},start:function(){this.options.onComplete=this.updateComplete.bind(this);this.onTimerEvent()},stop:function(){this.updater.options.onComplete=undefined;clearTimeout(this.timer);(this.onComplete||Prototype.emptyFunction).apply(this,arguments)},updateComplete:function(response){if(this.options.decay){this.decay=(response.responseText==this.lastText?this.decay*this.options.decay:1);this.lastText=response.responseText}this.timer=this.onTimerEvent.bind(this).delay(this.decay*this.frequency)},onTimerEvent:function(){this.updater=new Ajax.Updater(this.container,this.url,this.options)}});function $(element){if(arguments.length>1){for(var i=0,elements=[],length=arguments.length;i<length;i++)elements.push($(arguments[i]));return elements}if(Object.isString(element))element=document.getElementById(element);return Element.extend(element)}if(Prototype.BrowserFeatures.XPath){document._getElementsByXPath=function(expression,parentElement){var results=[];var query=document.evaluate(expression,$(parentElement)||document,null,XPathResult.ORDERED_NODE_SNAPSHOT_TYPE,null);for(var i=0,length=query.snapshotLength;i<length;i++)results.push(Element.extend(query.snapshotItem(i)));return results}}if(!window.Node)var Node={};if(!Node.ELEMENT_NODE){Object.extend(Node,{ELEMENT_NODE:1,ATTRIBUTE_NODE:2,TEXT_NODE:3,CDATA_SECTION_NODE:4,ENTITY_REFERENCE_NODE:5,ENTITY_NODE:6,PROCESSING_INSTRUCTION_NODE:7,COMMENT_NODE:8,DOCUMENT_NODE:9,DOCUMENT_TYPE_NODE:10,DOCUMENT_FRAGMENT_NODE:11,NOTATION_NODE:12})}(function(){var element=this.Element;this.Element=function(tagName,attributes){attributes=attributes||{};tagName=tagName.toLowerCase();var cache=Element.cache;if(Prototype.Browser.IE&&attributes.name){tagName='<'+tagName+' name="'+attributes.name+'">';delete attributes.name;return Element.writeAttribute(document.createElement(tagName),attributes)}if(!cache[tagName])cache[tagName]=Element.extend(document.createElement(tagName));return Element.writeAttribute(cache[tagName].cloneNode(false),attributes)};Object.extend(this.Element,element||{});if(element)this.Element.prototype=element.prototype}).call(window);Element.cache={};Element.Methods={visible:function(element){return $(element).style.display!='none'},toggle:function(element){element=$(element);Element[Element.visible(element)?'hide':'show'](element);return element},hide:function(element){element=$(element);element.style.display='none';return element},show:function(element){element=$(element);element.style.display='';return element},remove:function(element){element=$(element);element.parentNode.removeChild(element);return element},update:function(element,content){element=$(element);if(content&&content.toElement)content=content.toElement();if(Object.isElement(content))return element.update().insert(content);content=Object.toHTML(content);element.innerHTML=content.stripScripts();content.evalScripts.bind(content).defer();return element},replace:function(element,content){element=$(element);if(content&&content.toElement)content=content.toElement();else if(!Object.isElement(content)){content=Object.toHTML(content);var range=element.ownerDocument.createRange();range.selectNode(element);content.evalScripts.bind(content).defer();content=range.createContextualFragment(content.stripScripts())}element.parentNode.replaceChild(content,element);return element},insert:function(element,insertions){element=$(element);if(Object.isString(insertions)||Object.isNumber(insertions)||Object.isElement(insertions)||(insertions&&(insertions.toElement||insertions.toHTML)))insertions={bottom:insertions};var content,insert,tagName,childNodes;for(var position in insertions){content=insertions[position];position=position.toLowerCase();insert=Element._insertionTranslations[position];if(content&&content.toElement)content=content.toElement();if(Object.isElement(content)){insert(element,content);continue}content=Object.toHTML(content);tagName=((position=='before'||position=='after')?element.parentNode:element).tagName.toUpperCase();childNodes=Element._getContentFromAnonymousElement(tagName,content.stripScripts());if(position=='top'||position=='after')childNodes.reverse();childNodes.each(insert.curry(element));content.evalScripts.bind(content).defer()}return element},wrap:function(element,wrapper,attributes){element=$(element);if(Object.isElement(wrapper))$(wrapper).writeAttribute(attributes||{});else if(Object.isString(wrapper))wrapper=new Element(wrapper,attributes);else wrapper=new Element('div',wrapper);if(element.parentNode)element.parentNode.replaceChild(wrapper,element);wrapper.appendChild(element);return wrapper},inspect:function(element){element=$(element);var result='<'+element.tagName.toLowerCase();$H({'id':'id','className':'class'}).each(function(pair){var property=pair.first(),attribute=pair.last();var value=(element[property]||'').toString();if(value)result+=' '+attribute+'='+value.inspect(true)});return result+'>'},recursivelyCollect:function(element,property){element=$(element);var elements=[];while(element=element[property])if(element.nodeType==1)elements.push(Element.extend(element));return elements},ancestors:function(element){return $(element).recursivelyCollect('parentNode')},descendants:function(element){return $(element).select("*")},firstDescendant:function(element){element=$(element).firstChild;while(element&&element.nodeType!=1)element=element.nextSibling;return $(element)},immediateDescendants:function(element){if(!(element=$(element).firstChild))return[];while(element&&element.nodeType!=1)element=element.nextSibling;if(element)return[element].concat($(element).nextSiblings());return[]},previousSiblings:function(element){return $(element).recursivelyCollect('previousSibling')},nextSiblings:function(element){return $(element).recursivelyCollect('nextSibling')},siblings:function(element){element=$(element);return element.previousSiblings().reverse().concat(element.nextSiblings())},match:function(element,selector){if(Object.isString(selector))selector=new Selector(selector);return selector.match($(element))},up:function(element,expression,index){element=$(element);if(arguments.length==1)return $(element.parentNode);var ancestors=element.ancestors();return Object.isNumber(expression)?ancestors[expression]:Selector.findElement(ancestors,expression,index)},down:function(element,expression,index){element=$(element);if(arguments.length==1)return element.firstDescendant();return Object.isNumber(expression)?element.descendants()[expression]:Element.select(element,expression)[index||0]},previous:function(element,expression,index){element=$(element);if(arguments.length==1)return $(Selector.handlers.previousElementSibling(element));var previousSiblings=element.previousSiblings();return Object.isNumber(expression)?previousSiblings[expression]:Selector.findElement(previousSiblings,expression,index)},next:function(element,expression,index){element=$(element);if(arguments.length==1)return $(Selector.handlers.nextElementSibling(element));var nextSiblings=element.nextSiblings();return Object.isNumber(expression)?nextSiblings[expression]:Selector.findElement(nextSiblings,expression,index)},select:function(){var args=$A(arguments),element=$(args.shift());return Selector.findChildElements(element,args)},adjacent:function(){var args=$A(arguments),element=$(args.shift());return Selector.findChildElements(element.parentNode,args).without(element)},identify:function(element){element=$(element);var id=element.readAttribute('id'),self=arguments.callee;if(id)return id;do{id='anonymous_element_'+self.counter++}while($(id));element.writeAttribute('id',id);return id},readAttribute:function(element,name){element=$(element);if(Prototype.Browser.IE){var t=Element._attributeTranslations.read;if(t.values[name])return t.values[name](element,name);if(t.names[name])name=t.names[name];if(name.include(':')){return(!element.attributes||!element.attributes[name])?null:element.attributes[name].value}}return element.getAttribute(name)},writeAttribute:function(element,name,value){element=$(element);var attributes={},t=Element._attributeTranslations.write;if(typeof name=='object')attributes=name;else attributes[name]=Object.isUndefined(value)?true:value;for(var attr in attributes){name=t.names[attr]||attr;value=attributes[attr];if(t.values[attr])name=t.values[attr](element,value);if(value===false||value===null)element.removeAttribute(name);else if(value===true)element.setAttribute(name,name);else element.setAttribute(name,value)}return element},getHeight:function(element){return $(element).getDimensions().height},getWidth:function(element){return $(element).getDimensions().width},classNames:function(element){return new Element.ClassNames(element)},hasClassName:function(element,className){if(!(element=$(element)))return;var elementClassName=element.className;return(elementClassName.length>0&&(elementClassName==className||new RegExp("(^|\\s)"+className+"(\\s|$)").test(elementClassName)))},addClassName:function(element,className){if(!(element=$(element)))return;if(!element.hasClassName(className))element.className+=(element.className?' ':'')+className;return element},removeClassName:function(element,className){if(!(element=$(element)))return;element.className=element.className.replace(new RegExp("(^|\\s+)"+className+"(\\s+|$)"),' ').strip();return element},toggleClassName:function(element,className){if(!(element=$(element)))return;return element[element.hasClassName(className)?'removeClassName':'addClassName'](className)},cleanWhitespace:function(element){element=$(element);var node=element.firstChild;while(node){var nextNode=node.nextSibling;if(node.nodeType==3&&!/\S/.test(node.nodeValue))element.removeChild(node);node=nextNode}return element},empty:function(element){return $(element).innerHTML.blank()},descendantOf:function(element,ancestor){element=$(element),ancestor=$(ancestor);if(element.compareDocumentPosition)return(element.compareDocumentPosition(ancestor)&8)===8;if(ancestor.contains)return ancestor.contains(element)&&ancestor!==element;while(element=element.parentNode)if(element==ancestor)return true;return false},scrollTo:function(element){element=$(element);var pos=element.cumulativeOffset();window.scrollTo(pos[0],pos[1]);return element},getStyle:function(element,style){element=$(element);style=style=='float'?'cssFloat':style.camelize();var value=element.style[style];if(!value||value=='auto'){var css=document.defaultView.getComputedStyle(element,null);value=css?css[style]:null}if(style=='opacity')return value?parseFloat(value):1.0;return value=='auto'?null:value},getOpacity:function(element){return $(element).getStyle('opacity')},setStyle:function(element,styles){element=$(element);var elementStyle=element.style,match;if(Object.isString(styles)){element.style.cssText+=';'+styles;return styles.include('opacity')?element.setOpacity(styles.match(/opacity:\s*(\d?\.?\d*)/)[1]):element}for(var property in styles)if(property=='opacity')element.setOpacity(styles[property]);else elementStyle[(property=='float'||property=='cssFloat')?(Object.isUndefined(elementStyle.styleFloat)?'cssFloat':'styleFloat'):property]=styles[property];return element},setOpacity:function(element,value){element=$(element);element.style.opacity=(value==1||value==='')?'':(value<0.00001)?0:value;return element},getDimensions:function(element){element=$(element);var display=element.getStyle('display');if(display!='none'&&display!=null)return{width:element.offsetWidth,height:element.offsetHeight};var els=element.style;var originalVisibility=els.visibility;var originalPosition=els.position;var originalDisplay=els.display;els.visibility='hidden';els.position='absolute';els.display='block';var originalWidth=element.clientWidth;var originalHeight=element.clientHeight;els.display=originalDisplay;els.position=originalPosition;els.visibility=originalVisibility;return{width:originalWidth,height:originalHeight}},makePositioned:function(element){element=$(element);var pos=Element.getStyle(element,'position');if(pos=='static'||!pos){element._madePositioned=true;element.style.position='relative';if(Prototype.Browser.Opera){element.style.top=0;element.style.left=0}}return element},undoPositioned:function(element){element=$(element);if(element._madePositioned){element._madePositioned=undefined;element.style.position=element.style.top=element.style.left=element.style.bottom=element.style.right=''}return element},makeClipping:function(element){element=$(element);if(element._overflow)return element;element._overflow=Element.getStyle(element,'overflow')||'auto';if(element._overflow!=='hidden')element.style.overflow='hidden';return element},undoClipping:function(element){element=$(element);if(!element._overflow)return element;element.style.overflow=element._overflow=='auto'?'':element._overflow;element._overflow=null;return element},cumulativeOffset:function(element){var valueT=0,valueL=0;do{valueT+=element.offsetTop||0;valueL+=element.offsetLeft||0;element=element.offsetParent}while(element);return Element._returnOffset(valueL,valueT)},positionedOffset:function(element){var valueT=0,valueL=0;do{valueT+=element.offsetTop||0;valueL+=element.offsetLeft||0;element=element.offsetParent;if(element){if(element.tagName.toUpperCase()=='BODY')break;var p=Element.getStyle(element,'position');if(p!=='static')break}}while(element);return Element._returnOffset(valueL,valueT)},absolutize:function(element){element=$(element);if(element.getStyle('position')=='absolute')return element;var offsets=element.positionedOffset();var top=offsets[1];var left=offsets[0];var width=element.clientWidth;var height=element.clientHeight;element._originalLeft=left-parseFloat(element.style.left||0);element._originalTop=top-parseFloat(element.style.top||0);element._originalWidth=element.style.width;element._originalHeight=element.style.height;element.style.position='absolute';element.style.top=top+'px';element.style.left=left+'px';element.style.width=width+'px';element.style.height=height+'px';return element},relativize:function(element){element=$(element);if(element.getStyle('position')=='relative')return element;element.style.position='relative';var top=parseFloat(element.style.top||0)-(element._originalTop||0);var left=parseFloat(element.style.left||0)-(element._originalLeft||0);element.style.top=top+'px';element.style.left=left+'px';element.style.height=element._originalHeight;element.style.width=element._originalWidth;return element},cumulativeScrollOffset:function(element){var valueT=0,valueL=0;do{valueT+=element.scrollTop||0;valueL+=element.scrollLeft||0;element=element.parentNode}while(element);return Element._returnOffset(valueL,valueT)},getOffsetParent:function(element){if(element.offsetParent)return $(element.offsetParent);if(element==document.body)return $(element);while((element=element.parentNode)&&element!=document.body)if(Element.getStyle(element,'position')!='static')return $(element);return $(document.body)},viewportOffset:function(forElement){var valueT=0,valueL=0;var element=forElement;do{valueT+=element.offsetTop||0;valueL+=element.offsetLeft||0;if(element.offsetParent==document.body&&Element.getStyle(element,'position')=='absolute')break}while(element=element.offsetParent);element=forElement;do{if(!Prototype.Browser.Opera||(element.tagName&&(element.tagName.toUpperCase()=='BODY'))){valueT-=element.scrollTop||0;valueL-=element.scrollLeft||0}}while(element=element.parentNode);return Element._returnOffset(valueL,valueT)},clonePosition:function(element,source){var options=Object.extend({setLeft:true,setTop:true,setWidth:true,setHeight:true,offsetTop:0,offsetLeft:0},arguments[2]||{});source=$(source);var p=source.viewportOffset();element=$(element);var delta=[0,0];var parent=null;if(Element.getStyle(element,'position')=='absolute'){parent=element.getOffsetParent();delta=parent.viewportOffset()}if(parent==document.body){delta[0]-=document.body.offsetLeft;delta[1]-=document.body.offsetTop}if(options.setLeft)element.style.left=(p[0]-delta[0]+options.offsetLeft)+'px';if(options.setTop)element.style.top=(p[1]-delta[1]+options.offsetTop)+'px';if(options.setWidth)element.style.width=source.offsetWidth+'px';if(options.setHeight)element.style.height=source.offsetHeight+'px';return element}};Element.Methods.identify.counter=1;Object.extend(Element.Methods,{getElementsBySelector:Element.Methods.select,childElements:Element.Methods.immediateDescendants});Element._attributeTranslations={write:{names:{className:'class',htmlFor:'for'},values:{}}};if(Prototype.Browser.Opera){Element.Methods.getStyle=Element.Methods.getStyle.wrap(function(proceed,element,style){switch(style){case'left':case'top':case'right':case'bottom':if(proceed(element,'position')==='static')return null;case'height':case'width':if(!Element.visible(element))return null;var dim=parseInt(proceed(element,style),10);if(dim!==element['offset'+style.capitalize()])return dim+'px';var properties;if(style==='height'){properties=['border-top-width','padding-top','padding-bottom','border-bottom-width']}else{properties=['border-left-width','padding-left','padding-right','border-right-width']}return properties.inject(dim,function(memo,property){var val=proceed(element,property);return val===null?memo:memo-parseInt(val,10)})+'px';default:return proceed(element,style)}});Element.Methods.readAttribute=Element.Methods.readAttribute.wrap(function(proceed,element,attribute){if(attribute==='title')return element.title;return proceed(element,attribute)})}else if(Prototype.Browser.IE){Element.Methods.getOffsetParent=Element.Methods.getOffsetParent.wrap(function(proceed,element){element=$(element);try{element.offsetParent}catch(e){return $(document.body)}var position=element.getStyle('position');if(position!=='static')return proceed(element);element.setStyle({position:'relative'});var value=proceed(element);element.setStyle({position:position});return value});$w('positionedOffset viewportOffset').each(function(method){Element.Methods[method]=Element.Methods[method].wrap(function(proceed,element){element=$(element);try{element.offsetParent}catch(e){return Element._returnOffset(0,0)}var position=element.getStyle('position');if(position!=='static')return proceed(element);var offsetParent=element.getOffsetParent();if(offsetParent&&offsetParent.getStyle('position')==='fixed')offsetParent.setStyle({zoom:1});element.setStyle({position:'relative'});var value=proceed(element);element.setStyle({position:position});return value})});Element.Methods.cumulativeOffset=Element.Methods.cumulativeOffset.wrap(function(proceed,element){try{element.offsetParent}catch(e){return Element._returnOffset(0,0)}return proceed(element)});Element.Methods.getStyle=function(element,style){element=$(element);style=(style=='float'||style=='cssFloat')?'styleFloat':style.camelize();var value=element.style[style];if(!value&&element.currentStyle)value=element.currentStyle[style];if(style=='opacity'){if(value=(element.getStyle('filter')||'').match(/alpha\(opacity=(.*)\)/))if(value[1])return parseFloat(value[1])/100;return 1.0}if(value=='auto'){if((style=='width'||style=='height')&&(element.getStyle('display')!='none'))return element['offset'+style.capitalize()]+'px';return null}return value};Element.Methods.setOpacity=function(element,value){function stripAlpha(filter){return filter.replace(/alpha\([^\)]*\)/gi,'')}element=$(element);var currentStyle=element.currentStyle;if((currentStyle&&!currentStyle.hasLayout)||(!currentStyle&&element.style.zoom=='normal'))element.style.zoom=1;var filter=element.getStyle('filter'),style=element.style;if(value==1||value===''){(filter=stripAlpha(filter))?style.filter=filter:style.removeAttribute('filter');return element}else if(value<0.00001)value=0;style.filter=stripAlpha(filter)+'alpha(opacity='+(value*100)+')';return element};Element._attributeTranslations={read:{names:{'class':'className','for':'htmlFor'},values:{_getAttr:function(element,attribute){return element.getAttribute(attribute,2)},_getAttrNode:function(element,attribute){var node=element.getAttributeNode(attribute);return node?node.value:""},_getEv:function(element,attribute){attribute=element.getAttribute(attribute);return attribute?attribute.toString().slice(23,-2):null},_flag:function(element,attribute){return $(element).hasAttribute(attribute)?attribute:null},style:function(element){return element.style.cssText.toLowerCase()},title:function(element){return element.title}}}};Element._attributeTranslations.write={names:Object.extend({cellpadding:'cellPadding',cellspacing:'cellSpacing'},Element._attributeTranslations.read.names),values:{checked:function(element,value){element.checked=!!value},style:function(element,value){element.style.cssText=value?value:''}}};Element._attributeTranslations.has={};$w('colSpan rowSpan vAlign dateTime accessKey tabIndex '+'encType maxLength readOnly longDesc frameBorder').each(function(attr){Element._attributeTranslations.write.names[attr.toLowerCase()]=attr;Element._attributeTranslations.has[attr.toLowerCase()]=attr});(function(v){Object.extend(v,{href:v._getAttr,src:v._getAttr,type:v._getAttr,action:v._getAttrNode,disabled:v._flag,checked:v._flag,readonly:v._flag,multiple:v._flag,onload:v._getEv,onunload:v._getEv,onclick:v._getEv,ondblclick:v._getEv,onmousedown:v._getEv,onmouseup:v._getEv,onmouseover:v._getEv,onmousemove:v._getEv,onmouseout:v._getEv,onfocus:v._getEv,onblur:v._getEv,onkeypress:v._getEv,onkeydown:v._getEv,onkeyup:v._getEv,onsubmit:v._getEv,onreset:v._getEv,onselect:v._getEv,onchange:v._getEv})})(Element._attributeTranslations.read.values)}else if(Prototype.Browser.Gecko&&/rv:1\.8\.0/.test(navigator.userAgent)){Element.Methods.setOpacity=function(element,value){element=$(element);element.style.opacity=(value==1)?0.999999:(value==='')?'':(value<0.00001)?0:value;return element}}else if(Prototype.Browser.WebKit){Element.Methods.setOpacity=function(element,value){element=$(element);element.style.opacity=(value==1||value==='')?'':(value<0.00001)?0:value;if(value==1)if(element.tagName.toUpperCase()=='IMG'&&element.width){element.width++;element.width--}else try{var n=document.createTextNode(' ');element.appendChild(n);element.removeChild(n)}catch(e){}return element};Element.Methods.cumulativeOffset=function(element){var valueT=0,valueL=0;do{valueT+=element.offsetTop||0;valueL+=element.offsetLeft||0;if(element.offsetParent==document.body)if(Element.getStyle(element,'position')=='absolute')break;element=element.offsetParent}while(element);return Element._returnOffset(valueL,valueT)}}if(Prototype.Browser.IE||Prototype.Browser.Opera){Element.Methods.update=function(element,content){element=$(element);if(content&&content.toElement)content=content.toElement();if(Object.isElement(content))return element.update().insert(content);content=Object.toHTML(content);var tagName=element.tagName.toUpperCase();if(tagName in Element._insertionTranslations.tags){$A(element.childNodes).each(function(node){element.removeChild(node)});Element._getContentFromAnonymousElement(tagName,content.stripScripts()).each(function(node){element.appendChild(node)})}else element.innerHTML=content.stripScripts();content.evalScripts.bind(content).defer();return element}}if('outerHTML'in document.createElement('div')){Element.Methods.replace=function(element,content){element=$(element);if(content&&content.toElement)content=content.toElement();if(Object.isElement(content)){element.parentNode.replaceChild(content,element);return element}content=Object.toHTML(content);var parent=element.parentNode,tagName=parent.tagName.toUpperCase();if(Element._insertionTranslations.tags[tagName]){var nextSibling=element.next();var fragments=Element._getContentFromAnonymousElement(tagName,content.stripScripts());parent.removeChild(element);if(nextSibling)fragments.each(function(node){parent.insertBefore(node,nextSibling)});else fragments.each(function(node){parent.appendChild(node)})}else element.outerHTML=content.stripScripts();content.evalScripts.bind(content).defer();return element}}Element._returnOffset=function(l,t){var result=[l,t];result.left=l;result.top=t;return result};Element._getContentFromAnonymousElement=function(tagName,html){var div=new Element('div'),t=Element._insertionTranslations.tags[tagName];if(t){div.innerHTML=t[0]+html+t[1];t[2].times(function(){div=div.firstChild})}else div.innerHTML=html;return $A(div.childNodes)};Element._insertionTranslations={before:function(element,node){element.parentNode.insertBefore(node,element)},top:function(element,node){element.insertBefore(node,element.firstChild)},bottom:function(element,node){element.appendChild(node)},after:function(element,node){element.parentNode.insertBefore(node,element.nextSibling)},tags:{TABLE:['<table>','</table>',1],TBODY:['<table><tbody>','</tbody></table>',2],TR:['<table><tbody><tr>','</tr></tbody></table>',3],TD:['<table><tbody><tr><td>','</td></tr></tbody></table>',4],SELECT:['<select>','</select>',1]}};(function(){Object.extend(this.tags,{THEAD:this.tags.TBODY,TFOOT:this.tags.TBODY,TH:this.tags.TD})}).call(Element._insertionTranslations);Element.Methods.Simulated={hasAttribute:function(element,attribute){attribute=Element._attributeTranslations.has[attribute]||attribute;var node=$(element).getAttributeNode(attribute);return!!(node&&node.specified)}};Element.Methods.ByTag={};Object.extend(Element,Element.Methods);if(!Prototype.BrowserFeatures.ElementExtensions&&document.createElement('div')['__proto__']){window.HTMLElement={};window.HTMLElement.prototype=document.createElement('div')['__proto__'];Prototype.BrowserFeatures.ElementExtensions=true}Element.extend=(function(){if(Prototype.BrowserFeatures.SpecificElementExtensions)return Prototype.K;var Methods={},ByTag=Element.Methods.ByTag;var extend=Object.extend(function(element){if(!element||element._extendedByPrototype||element.nodeType!=1||element==window)return element;var methods=Object.clone(Methods),tagName=element.tagName.toUpperCase(),property,value;if(ByTag[tagName])Object.extend(methods,ByTag[tagName]);for(property in methods){value=methods[property];if(Object.isFunction(value)&&!(property in element))element[property]=value.methodize()}element._extendedByPrototype=Prototype.emptyFunction;return element},{refresh:function(){if(!Prototype.BrowserFeatures.ElementExtensions){Object.extend(Methods,Element.Methods);Object.extend(Methods,Element.Methods.Simulated)}}});extend.refresh();return extend})();Element.hasAttribute=function(element,attribute){if(element.hasAttribute)return element.hasAttribute(attribute);return Element.Methods.Simulated.hasAttribute(element,attribute)};Element.addMethods=function(methods){var F=Prototype.BrowserFeatures,T=Element.Methods.ByTag;if(!methods){Object.extend(Form,Form.Methods);Object.extend(Form.Element,Form.Element.Methods);Object.extend(Element.Methods.ByTag,{"FORM":Object.clone(Form.Methods),"INPUT":Object.clone(Form.Element.Methods),"SELECT":Object.clone(Form.Element.Methods),"TEXTAREA":Object.clone(Form.Element.Methods)})}if(arguments.length==2){var tagName=methods;methods=arguments[1]}if(!tagName)Object.extend(Element.Methods,methods||{});else{if(Object.isArray(tagName))tagName.each(extend);else extend(tagName)}function extend(tagName){tagName=tagName.toUpperCase();if(!Element.Methods.ByTag[tagName])Element.Methods.ByTag[tagName]={};Object.extend(Element.Methods.ByTag[tagName],methods)}function copy(methods,destination,onlyIfAbsent){onlyIfAbsent=onlyIfAbsent||false;for(var property in methods){var value=methods[property];if(!Object.isFunction(value))continue;if(!onlyIfAbsent||!(property in destination))destination[property]=value.methodize()}}function findDOMClass(tagName){var klass;var trans={"OPTGROUP":"OptGroup","TEXTAREA":"TextArea","P":"Paragraph","FIELDSET":"FieldSet","UL":"UList","OL":"OList","DL":"DList","DIR":"Directory","H1":"Heading","H2":"Heading","H3":"Heading","H4":"Heading","H5":"Heading","H6":"Heading","Q":"Quote","INS":"Mod","DEL":"Mod","A":"Anchor","IMG":"Image","CAPTION":"TableCaption","COL":"TableCol","COLGROUP":"TableCol","THEAD":"TableSection","TFOOT":"TableSection","TBODY":"TableSection","TR":"TableRow","TH":"TableCell","TD":"TableCell","FRAMESET":"FrameSet","IFRAME":"IFrame"};if(trans[tagName])klass='HTML'+trans[tagName]+'Element';if(window[klass])return window[klass];klass='HTML'+tagName+'Element';if(window[klass])return window[klass];klass='HTML'+tagName.capitalize()+'Element';if(window[klass])return window[klass];window[klass]={};window[klass].prototype=document.createElement(tagName)['__proto__'];return window[klass]}if(F.ElementExtensions){copy(Element.Methods,HTMLElement.prototype);copy(Element.Methods.Simulated,HTMLElement.prototype,true)}if(F.SpecificElementExtensions){for(var tag in Element.Methods.ByTag){var klass=findDOMClass(tag);if(Object.isUndefined(klass))continue;copy(T[tag],klass.prototype)}}Object.extend(Element,Element.Methods);delete Element.ByTag;if(Element.extend.refresh)Element.extend.refresh();Element.cache={}};document.viewport={getDimensions:function(){var dimensions={},B=Prototype.Browser;$w('width height').each(function(d){var D=d.capitalize();if(B.WebKit&&!document.evaluate){dimensions[d]=self['inner'+D]}else if(B.Opera&&parseFloat(window.opera.version())<9.5){dimensions[d]=document.body['client'+D]}else{dimensions[d]=document.documentElement['client'+D]}});return dimensions},getWidth:function(){return this.getDimensions().width},getHeight:function(){return this.getDimensions().height},getScrollOffsets:function(){return Element._returnOffset(window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft,window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop)}};var Selector=Class.create({initialize:function(expression){this.expression=expression.strip();if(this.shouldUseSelectorsAPI()){this.mode='selectorsAPI'}else if(this.shouldUseXPath()){this.mode='xpath';this.compileXPathMatcher()}else{this.mode="normal";this.compileMatcher()}},shouldUseXPath:function(){if(!Prototype.BrowserFeatures.XPath)return false;var e=this.expression;if(Prototype.Browser.WebKit&&(e.include("-of-type")||e.include(":empty")))return false;if((/(\[[\w-]*?:|:checked)/).test(e))return false;return true},shouldUseSelectorsAPI:function(){if(!Prototype.BrowserFeatures.SelectorsAPI)return false;if(!Selector._div)Selector._div=new Element('div');try{Selector._div.querySelector(this.expression)}catch(e){return false}return true},compileMatcher:function(){var e=this.expression,ps=Selector.patterns,h=Selector.handlers,c=Selector.criteria,le,p,m;if(Selector._cache[e]){this.matcher=Selector._cache[e];return}this.matcher=["this.matcher = function(root) {","var r = root, h = Selector.handlers, c = false, n;"];while(e&&le!=e&&(/\S/).test(e)){le=e;for(var i in ps){p=ps[i];if(m=e.match(p)){this.matcher.push(Object.isFunction(c[i])?c[i](m):new Template(c[i]).evaluate(m));e=e.replace(m[0],'');break}}}this.matcher.push("return h.unique(n);\n}");eval(this.matcher.join('\n'));Selector._cache[this.expression]=this.matcher},compileXPathMatcher:function(){var e=this.expression,ps=Selector.patterns,x=Selector.xpath,le,m;if(Selector._cache[e]){this.xpath=Selector._cache[e];return}this.matcher=['.//*'];while(e&&le!=e&&(/\S/).test(e)){le=e;for(var i in ps){if(m=e.match(ps[i])){this.matcher.push(Object.isFunction(x[i])?x[i](m):new Template(x[i]).evaluate(m));e=e.replace(m[0],'');break}}}this.xpath=this.matcher.join('');Selector._cache[this.expression]=this.xpath},findElements:function(root){root=root||document;var e=this.expression,results;switch(this.mode){case'selectorsAPI':if(root!==document){var oldId=root.id,id=$(root).identify();e="#"+id+" "+e}results=$A(root.querySelectorAll(e)).map(Element.extend);root.id=oldId;return results;case'xpath':return document._getElementsByXPath(this.xpath,root);default:return this.matcher(root)}},match:function(element){this.tokens=[];var e=this.expression,ps=Selector.patterns,as=Selector.assertions;var le,p,m;while(e&&le!==e&&(/\S/).test(e)){le=e;for(var i in ps){p=ps[i];if(m=e.match(p)){if(as[i]){this.tokens.push([i,Object.clone(m)]);e=e.replace(m[0],'')}else{return this.findElements(document).include(element)}}}}var match=true,name,matches;for(var i=0,token;token=this.tokens[i];i++){name=token[0],matches=token[1];if(!Selector.assertions[name](element,matches)){match=false;break}}return match},toString:function(){return this.expression},inspect:function(){return"#<Selector:"+this.expression.inspect()+">"}});Object.extend(Selector,{_cache:{},xpath:{descendant:"//*",child:"/*",adjacent:"/following-sibling::*[1]",laterSibling:'/following-sibling::*',tagName:function(m){if(m[1]=='*')return'';return"[local-name()='"+m[1].toLowerCase()+"' or local-name()='"+m[1].toUpperCase()+"']"},className:"[contains(concat(' ', @class, ' '), ' #{1} ')]",id:"[@id='#{1}']",attrPresence:function(m){m[1]=m[1].toLowerCase();return new Template("[@#{1}]").evaluate(m)},attr:function(m){m[1]=m[1].toLowerCase();m[3]=m[5]||m[6];return new Template(Selector.xpath.operators[m[2]]).evaluate(m)},pseudo:function(m){var h=Selector.xpath.pseudos[m[1]];if(!h)return'';if(Object.isFunction(h))return h(m);return new Template(Selector.xpath.pseudos[m[1]]).evaluate(m)},operators:{'=':"[@#{1}='#{3}']",'!=':"[@#{1}!='#{3}']",'^=':"[starts-with(@#{1}, '#{3}')]",'$=':"[substring(@#{1}, (string-length(@#{1}) - string-length('#{3}') + 1))='#{3}']",'*=':"[contains(@#{1}, '#{3}')]",'~=':"[contains(concat(' ', @#{1}, ' '), ' #{3} ')]",'|=':"[contains(concat('-', @#{1}, '-'), '-#{3}-')]"},pseudos:{'first-child':'[not(preceding-sibling::*)]','last-child':'[not(following-sibling::*)]','only-child':'[not(preceding-sibling::* or following-sibling::*)]','empty':"[count(*) = 0 and (count(text()) = 0)]",'checked':"[@checked]",'disabled':"[(@disabled) and (@type!='hidden')]",'enabled':"[not(@disabled) and (@type!='hidden')]",'not':function(m){var e=m[6],p=Selector.patterns,x=Selector.xpath,le,v;var exclusion=[];while(e&&le!=e&&(/\S/).test(e)){le=e;for(var i in p){if(m=e.match(p[i])){v=Object.isFunction(x[i])?x[i](m):new Template(x[i]).evaluate(m);exclusion.push("("+v.substring(1,v.length-1)+")");e=e.replace(m[0],'');break}}}return"[not("+exclusion.join(" and ")+")]"},'nth-child':function(m){return Selector.xpath.pseudos.nth("(count(./preceding-sibling::*) + 1) ",m)},'nth-last-child':function(m){return Selector.xpath.pseudos.nth("(count(./following-sibling::*) + 1) ",m)},'nth-of-type':function(m){return Selector.xpath.pseudos.nth("position() ",m)},'nth-last-of-type':function(m){return Selector.xpath.pseudos.nth("(last() + 1 - position()) ",m)},'first-of-type':function(m){m[6]="1";return Selector.xpath.pseudos['nth-of-type'](m)},'last-of-type':function(m){m[6]="1";return Selector.xpath.pseudos['nth-last-of-type'](m)},'only-of-type':function(m){var p=Selector.xpath.pseudos;return p['first-of-type'](m)+p['last-of-type'](m)},nth:function(fragment,m){var mm,formula=m[6],predicate;if(formula=='even')formula='2n+0';if(formula=='odd')formula='2n+1';if(mm=formula.match(/^(\d+)$/))return'['+fragment+"= "+mm[1]+']';if(mm=formula.match(/^(-?\d*)?n(([+-])(\d+))?/)){if(mm[1]=="-")mm[1]=-1;var a=mm[1]?Number(mm[1]):1;var b=mm[2]?Number(mm[2]):0;predicate="[((#{fragment} - #{b}) mod #{a} = 0) and "+"((#{fragment} - #{b}) div #{a} >= 0)]";return new Template(predicate).evaluate({fragment:fragment,a:a,b:b})}}}},criteria:{tagName:'n = h.tagName(n, r, "#{1}", c);      c = false;',className:'n = h.className(n, r, "#{1}", c);    c = false;',id:'n = h.id(n, r, "#{1}", c);           c = false;',attrPresence:'n = h.attrPresence(n, r, "#{1}", c); c = false;',attr:function(m){m[3]=(m[5]||m[6]);return new Template('n = h.attr(n, r, "#{1}", "#{3}", "#{2}", c); c = false;').evaluate(m)},pseudo:function(m){if(m[6])m[6]=m[6].replace(/"/g,'\\"');return new Template('n = h.pseudo(n, "#{1}", "#{6}", r, c); c = false;').evaluate(m)},descendant:'c = "descendant";',child:'c = "child";',adjacent:'c = "adjacent";',laterSibling:'c = "laterSibling";'},patterns:{laterSibling:/^\s*~\s*/,child:/^\s*>\s*/,adjacent:/^\s*\+\s*/,descendant:/^\s/,tagName:/^\s*(\*|[\w\-]+)(\b|$)?/,id:/^#([\w\-\*]+)(\b|$)/,className:/^\.([\w\-\*]+)(\b|$)/,pseudo:/^:((first|last|nth|nth-last|only)(-child|-of-type)|empty|checked|(en|dis)abled|not)(\((.*?)\))?(\b|$|(?=\s|[:+~>]))/,attrPresence:/^\[((?:[\w]+:)?[\w]+)\]/,attr:/\[((?:[\w-]*:)?[\w-]+)\s*(?:([!^$*~|]?=)\s*((['"])([^\4]*?)\4|([^'"][^\]]*?)))?\]/},assertions:{tagName:function(element,matches){return matches[1].toUpperCase()==element.tagName.toUpperCase()},className:function(element,matches){return Element.hasClassName(element,matches[1])},id:function(element,matches){return element.id===matches[1]},attrPresence:function(element,matches){return Element.hasAttribute(element,matches[1])},attr:function(element,matches){var nodeValue=Element.readAttribute(element,matches[1]);return nodeValue&&Selector.operators[matches[2]](nodeValue,matches[5]||matches[6])}},handlers:{concat:function(a,b){for(var i=0,node;node=b[i];i++)a.push(node);return a},mark:function(nodes){var _true=Prototype.emptyFunction;for(var i=0,node;node=nodes[i];i++)node._countedByPrototype=_true;return nodes},unmark:function(nodes){for(var i=0,node;node=nodes[i];i++)node._countedByPrototype=undefined;return nodes},index:function(parentNode,reverse,ofType){parentNode._countedByPrototype=Prototype.emptyFunction;if(reverse){for(var nodes=parentNode.childNodes,i=nodes.length-1,j=1;i>=0;i--){var node=nodes[i];if(node.nodeType==1&&(!ofType||node._countedByPrototype))node.nodeIndex=j++}}else{for(var i=0,j=1,nodes=parentNode.childNodes;node=nodes[i];i++)if(node.nodeType==1&&(!ofType||node._countedByPrototype))node.nodeIndex=j++}},unique:function(nodes){if(nodes.length==0)return nodes;var results=[],n;for(var i=0,l=nodes.length;i<l;i++)if(!(n=nodes[i])._countedByPrototype){n._countedByPrototype=Prototype.emptyFunction;results.push(Element.extend(n))}return Selector.handlers.unmark(results)},descendant:function(nodes){var h=Selector.handlers;for(var i=0,results=[],node;node=nodes[i];i++)h.concat(results,node.getElementsByTagName('*'));return results},child:function(nodes){var h=Selector.handlers;for(var i=0,results=[],node;node=nodes[i];i++){for(var j=0,child;child=node.childNodes[j];j++)if(child.nodeType==1&&child.tagName!='!')results.push(child)}return results},adjacent:function(nodes){for(var i=0,results=[],node;node=nodes[i];i++){var next=this.nextElementSibling(node);if(next)results.push(next)}return results},laterSibling:function(nodes){var h=Selector.handlers;for(var i=0,results=[],node;node=nodes[i];i++)h.concat(results,Element.nextSiblings(node));return results},nextElementSibling:function(node){while(node=node.nextSibling)if(node.nodeType==1)return node;return null},previousElementSibling:function(node){while(node=node.previousSibling)if(node.nodeType==1)return node;return null},tagName:function(nodes,root,tagName,combinator){var uTagName=tagName.toUpperCase();var results=[],h=Selector.handlers;if(nodes){if(combinator){if(combinator=="descendant"){for(var i=0,node;node=nodes[i];i++)h.concat(results,node.getElementsByTagName(tagName));return results}else nodes=this[combinator](nodes);if(tagName=="*")return nodes}for(var i=0,node;node=nodes[i];i++)if(node.tagName.toUpperCase()===uTagName)results.push(node);return results}else return root.getElementsByTagName(tagName)},id:function(nodes,root,id,combinator){var targetNode=$(id),h=Selector.handlers;if(!targetNode)return[];if(!nodes&&root==document)return[targetNode];if(nodes){if(combinator){if(combinator=='child'){for(var i=0,node;node=nodes[i];i++)if(targetNode.parentNode==node)return[targetNode]}else if(combinator=='descendant'){for(var i=0,node;node=nodes[i];i++)if(Element.descendantOf(targetNode,node))return[targetNode]}else if(combinator=='adjacent'){for(var i=0,node;node=nodes[i];i++)if(Selector.handlers.previousElementSibling(targetNode)==node)return[targetNode]}else nodes=h[combinator](nodes)}for(var i=0,node;node=nodes[i];i++)if(node==targetNode)return[targetNode];return[]}return(targetNode&&Element.descendantOf(targetNode,root))?[targetNode]:[]},className:function(nodes,root,className,combinator){if(nodes&&combinator)nodes=this[combinator](nodes);return Selector.handlers.byClassName(nodes,root,className)},byClassName:function(nodes,root,className){if(!nodes)nodes=Selector.handlers.descendant([root]);var needle=' '+className+' ';for(var i=0,results=[],node,nodeClassName;node=nodes[i];i++){nodeClassName=node.className;if(nodeClassName.length==0)continue;if(nodeClassName==className||(' '+nodeClassName+' ').include(needle))results.push(node)}return results},attrPresence:function(nodes,root,attr,combinator){if(!nodes)nodes=root.getElementsByTagName("*");if(nodes&&combinator)nodes=this[combinator](nodes);var results=[];for(var i=0,node;node=nodes[i];i++)if(Element.hasAttribute(node,attr))results.push(node);return results},attr:function(nodes,root,attr,value,operator,combinator){if(!nodes)nodes=root.getElementsByTagName("*");if(nodes&&combinator)nodes=this[combinator](nodes);var handler=Selector.operators[operator],results=[];for(var i=0,node;node=nodes[i];i++){var nodeValue=Element.readAttribute(node,attr);if(nodeValue===null)continue;if(handler(nodeValue,value))results.push(node)}return results},pseudo:function(nodes,name,value,root,combinator){if(nodes&&combinator)nodes=this[combinator](nodes);if(!nodes)nodes=root.getElementsByTagName("*");return Selector.pseudos[name](nodes,value,root)}},pseudos:{'first-child':function(nodes,value,root){for(var i=0,results=[],node;node=nodes[i];i++){if(Selector.handlers.previousElementSibling(node))continue;results.push(node)}return results},'last-child':function(nodes,value,root){for(var i=0,results=[],node;node=nodes[i];i++){if(Selector.handlers.nextElementSibling(node))continue;results.push(node)}return results},'only-child':function(nodes,value,root){var h=Selector.handlers;for(var i=0,results=[],node;node=nodes[i];i++)if(!h.previousElementSibling(node)&&!h.nextElementSibling(node))results.push(node);return results},'nth-child':function(nodes,formula,root){return Selector.pseudos.nth(nodes,formula,root)},'nth-last-child':function(nodes,formula,root){return Selector.pseudos.nth(nodes,formula,root,true)},'nth-of-type':function(nodes,formula,root){return Selector.pseudos.nth(nodes,formula,root,false,true)},'nth-last-of-type':function(nodes,formula,root){return Selector.pseudos.nth(nodes,formula,root,true,true)},'first-of-type':function(nodes,formula,root){return Selector.pseudos.nth(nodes,"1",root,false,true)},'last-of-type':function(nodes,formula,root){return Selector.pseudos.nth(nodes,"1",root,true,true)},'only-of-type':function(nodes,formula,root){var p=Selector.pseudos;return p['last-of-type'](p['first-of-type'](nodes,formula,root),formula,root)},getIndices:function(a,b,total){if(a==0)return b>0?[b]:[];return $R(1,total).inject([],function(memo,i){if(0==(i-b)%a&&(i-b)/a>=0)memo.push(i);return memo})},nth:function(nodes,formula,root,reverse,ofType){if(nodes.length==0)return[];if(formula=='even')formula='2n+0';if(formula=='odd')formula='2n+1';var h=Selector.handlers,results=[],indexed=[],m;h.mark(nodes);for(var i=0,node;node=nodes[i];i++){if(!node.parentNode._countedByPrototype){h.index(node.parentNode,reverse,ofType);indexed.push(node.parentNode)}}if(formula.match(/^\d+$/)){formula=Number(formula);for(var i=0,node;node=nodes[i];i++)if(node.nodeIndex==formula)results.push(node)}else if(m=formula.match(/^(-?\d*)?n(([+-])(\d+))?/)){if(m[1]=="-")m[1]=-1;var a=m[1]?Number(m[1]):1;var b=m[2]?Number(m[2]):0;var indices=Selector.pseudos.getIndices(a,b,nodes.length);for(var i=0,node,l=indices.length;node=nodes[i];i++){for(var j=0;j<l;j++)if(node.nodeIndex==indices[j])results.push(node)}}h.unmark(nodes);h.unmark(indexed);return results},'empty':function(nodes,value,root){for(var i=0,results=[],node;node=nodes[i];i++){if(node.tagName=='!'||node.firstChild)continue;results.push(node)}return results},'not':function(nodes,selector,root){var h=Selector.handlers,selectorType,m;var exclusions=new Selector(selector).findElements(root);h.mark(exclusions);for(var i=0,results=[],node;node=nodes[i];i++)if(!node._countedByPrototype)results.push(node);h.unmark(exclusions);return results},'enabled':function(nodes,value,root){for(var i=0,results=[],node;node=nodes[i];i++)if(!node.disabled&&(!node.type||node.type!=='hidden'))results.push(node);return results},'disabled':function(nodes,value,root){for(var i=0,results=[],node;node=nodes[i];i++)if(node.disabled)results.push(node);return results},'checked':function(nodes,value,root){for(var i=0,results=[],node;node=nodes[i];i++)if(node.checked)results.push(node);return results}},operators:{'=':function(nv,v){return nv==v},'!=':function(nv,v){return nv!=v},'^=':function(nv,v){return nv==v||nv&&nv.startsWith(v)},'$=':function(nv,v){return nv==v||nv&&nv.endsWith(v)},'*=':function(nv,v){return nv==v||nv&&nv.include(v)},'$=':function(nv,v){return nv.endsWith(v)},'*=':function(nv,v){return nv.include(v)},'~=':function(nv,v){return(' '+nv+' ').include(' '+v+' ')},'|=':function(nv,v){return('-'+(nv||"").toUpperCase()+'-').include('-'+(v||"").toUpperCase()+'-')}},split:function(expression){var expressions=[];expression.scan(/(([\w#:.~>+()\s-]+|\*|\[.*?\])+)\s*(,|$)/,function(m){expressions.push(m[1].strip())});return expressions},matchElements:function(elements,expression){var matches=$$(expression),h=Selector.handlers;h.mark(matches);for(var i=0,results=[],element;element=elements[i];i++)if(element._countedByPrototype)results.push(element);h.unmark(matches);return results},findElement:function(elements,expression,index){if(Object.isNumber(expression)){index=expression;expression=false}return Selector.matchElements(elements,expression||'*')[index||0]},findChildElements:function(element,expressions){expressions=Selector.split(expressions.join(','));var results=[],h=Selector.handlers;for(var i=0,l=expressions.length,selector;i<l;i++){selector=new Selector(expressions[i].strip());h.concat(results,selector.findElements(element))}return(l>1)?h.unique(results):results}});if(Prototype.Browser.IE){Object.extend(Selector.handlers,{concat:function(a,b){for(var i=0,node;node=b[i];i++)if(node.tagName!=="!")a.push(node);return a},unmark:function(nodes){for(var i=0,node;node=nodes[i];i++)node.removeAttribute('_countedByPrototype');return nodes}})}function $$(){return Selector.findChildElements(document,$A(arguments))}var Form={reset:function(form){$(form).reset();return form},serializeElements:function(elements,options){if(typeof options!='object')options={hash:!!options};else if(Object.isUndefined(options.hash))options.hash=true;var key,value,submitted=false,submit=options.submit;var data=elements.inject({},function(result,element){if(!element.disabled&&element.name){key=element.name;value=$(element).getValue();if(value!=null&&element.type!='file'&&(element.type!='submit'||(!submitted&&submit!==false&&(!submit||key==submit)&&(submitted=true)))){if(key in result){if(!Object.isArray(result[key]))result[key]=[result[key]];result[key].push(value)}else result[key]=value}}return result});return options.hash?data:Object.toQueryString(data)}};Form.Methods={serialize:function(form,options){return Form.serializeElements(Form.getElements(form),options)},getElements:function(form){return $A($(form).getElementsByTagName('*')).inject([],function(elements,child){if(Form.Element.Serializers[child.tagName.toLowerCase()])elements.push(Element.extend(child));return elements})},getInputs:function(form,typeName,name){form=$(form);var inputs=form.getElementsByTagName('input');if(!typeName&&!name)return $A(inputs).map(Element.extend);for(var i=0,matchingInputs=[],length=inputs.length;i<length;i++){var input=inputs[i];if((typeName&&input.type!=typeName)||(name&&input.name!=name))continue;matchingInputs.push(Element.extend(input))}return matchingInputs},disable:function(form){form=$(form);Form.getElements(form).invoke('disable');return form},enable:function(form){form=$(form);Form.getElements(form).invoke('enable');return form},findFirstElement:function(form){var elements=$(form).getElements().findAll(function(element){return'hidden'!=element.type&&!element.disabled});var firstByIndex=elements.findAll(function(element){return element.hasAttribute('tabIndex')&&element.tabIndex>=0}).sortBy(function(element){return element.tabIndex}).first();return firstByIndex?firstByIndex:elements.find(function(element){return['input','select','textarea'].include(element.tagName.toLowerCase())})},focusFirstElement:function(form){form=$(form);form.findFirstElement().activate();return form},request:function(form,options){form=$(form),options=Object.clone(options||{});var params=options.parameters,action=form.readAttribute('action')||'';if(action.blank())action=window.location.href;options.parameters=form.serialize(true);if(params){if(Object.isString(params))params=params.toQueryParams();Object.extend(options.parameters,params)}if(form.hasAttribute('method')&&!options.method)options.method=form.method;return new Ajax.Request(action,options)}};Form.Element={focus:function(element){$(element).focus();return element},select:function(element){$(element).select();return element}};Form.Element.Methods={serialize:function(element){element=$(element);if(!element.disabled&&element.name){var value=element.getValue();if(value!=undefined){var pair={};pair[element.name]=value;return Object.toQueryString(pair)}}return''},getValue:function(element){element=$(element);var method=element.tagName.toLowerCase();return Form.Element.Serializers[method](element)},setValue:function(element,value){element=$(element);var method=element.tagName.toLowerCase();Form.Element.Serializers[method](element,value);return element},clear:function(element){$(element).value='';return element},present:function(element){return $(element).value!=''},activate:function(element){element=$(element);try{element.focus();if(element.select&&(element.tagName.toLowerCase()!='input'||!['button','reset','submit'].include(element.type)))element.select()}catch(e){}return element},disable:function(element){element=$(element);element.disabled=true;return element},enable:function(element){element=$(element);element.disabled=false;return element}};var Field=Form.Element;var $F=Form.Element.Methods.getValue;Form.Element.Serializers={input:function(element,value){switch(element.type.toLowerCase()){case'checkbox':case'radio':return Form.Element.Serializers.inputSelector(element,value);default:return Form.Element.Serializers.textarea(element,value)}},inputSelector:function(element,value){if(Object.isUndefined(value))return element.checked?element.value:null;else element.checked=!!value},textarea:function(element,value){if(Object.isUndefined(value))return element.value;else element.value=value},select:function(element,value){if(Object.isUndefined(value))return this[element.type=='select-one'?'selectOne':'selectMany'](element);else{var opt,currentValue,single=!Object.isArray(value);for(var i=0,length=element.length;i<length;i++){opt=element.options[i];currentValue=this.optionValue(opt);if(single){if(currentValue==value){opt.selected=true;return}}else opt.selected=value.include(currentValue)}}},selectOne:function(element){var index=element.selectedIndex;return index>=0?this.optionValue(element.options[index]):null},selectMany:function(element){var values,length=element.length;if(!length)return null;for(var i=0,values=[];i<length;i++){var opt=element.options[i];if(opt.selected)values.push(this.optionValue(opt))}return values},optionValue:function(opt){return Element.extend(opt).hasAttribute('value')?opt.value:opt.text}};Abstract.TimedObserver=Class.create(PeriodicalExecuter,{initialize:function($super,element,frequency,callback){$super(callback,frequency);this.element=$(element);this.lastValue=this.getValue()},execute:function(){var value=this.getValue();if(Object.isString(this.lastValue)&&Object.isString(value)?this.lastValue!=value:String(this.lastValue)!=String(value)){this.callback(this.element,value);this.lastValue=value}}});Form.Element.Observer=Class.create(Abstract.TimedObserver,{getValue:function(){return Form.Element.getValue(this.element)}});Form.Observer=Class.create(Abstract.TimedObserver,{getValue:function(){return Form.serialize(this.element)}});Abstract.EventObserver=Class.create({initialize:function(element,callback){this.element=$(element);this.callback=callback;this.lastValue=this.getValue();if(this.element.tagName.toLowerCase()=='form')this.registerFormCallbacks();else this.registerCallback(this.element)},onElementEvent:function(){var value=this.getValue();if(this.lastValue!=value){this.callback(this.element,value);this.lastValue=value}},registerFormCallbacks:function(){Form.getElements(this.element).each(this.registerCallback,this)},registerCallback:function(element){if(element.type){switch(element.type.toLowerCase()){case'checkbox':case'radio':Event.observe(element,'click',this.onElementEvent.bind(this));break;default:Event.observe(element,'change',this.onElementEvent.bind(this));break}}}});Form.Element.EventObserver=Class.create(Abstract.EventObserver,{getValue:function(){return Form.Element.getValue(this.element)}});Form.EventObserver=Class.create(Abstract.EventObserver,{getValue:function(){return Form.serialize(this.element)}});if(!window.Event)var Event={};Object.extend(Event,{KEY_BACKSPACE:8,KEY_TAB:9,KEY_RETURN:13,KEY_ESC:27,KEY_LEFT:37,KEY_UP:38,KEY_RIGHT:39,KEY_DOWN:40,KEY_DELETE:46,KEY_HOME:36,KEY_END:35,KEY_PAGEUP:33,KEY_PAGEDOWN:34,KEY_INSERT:45,cache:{},relatedTarget:function(event){var element;switch(event.type){case'mouseover':element=event.fromElement;break;case'mouseout':element=event.toElement;break;default:return null}return Element.extend(element)}});Event.Methods=(function(){var isButton;if(Prototype.Browser.IE){var buttonMap={0:1,1:4,2:2};isButton=function(event,code){return event.button==buttonMap[code]}}else if(Prototype.Browser.WebKit){isButton=function(event,code){switch(code){case 0:return event.which==1&&!event.metaKey;case 1:return event.which==1&&event.metaKey;default:return false}}}else{isButton=function(event,code){return event.which?(event.which===code+1):(event.button===code)}}return{isLeftClick:function(event){return isButton(event,0)},isMiddleClick:function(event){return isButton(event,1)},isRightClick:function(event){return isButton(event,2)},element:function(event){event=Event.extend(event);var node=event.target,type=event.type,currentTarget=event.currentTarget;if(currentTarget&&currentTarget.tagName){if(type==='load'||type==='error'||(type==='click'&&currentTarget.tagName.toLowerCase()==='input'&&currentTarget.type==='radio'))node=currentTarget}if(node.nodeType==Node.TEXT_NODE)node=node.parentNode;return Element.extend(node)},findElement:function(event,expression){var element=Event.element(event);if(!expression)return element;var elements=[element].concat(element.ancestors());return Selector.findElement(elements,expression,0)},pointer:function(event){var docElement=document.documentElement,body=document.body||{scrollLeft:0,scrollTop:0};return{x:event.pageX||(event.clientX+(docElement.scrollLeft||body.scrollLeft)-(docElement.clientLeft||0)),y:event.pageY||(event.clientY+(docElement.scrollTop||body.scrollTop)-(docElement.clientTop||0))}},pointerX:function(event){return Event.pointer(event).x},pointerY:function(event){return Event.pointer(event).y},stop:function(event){Event.extend(event);event.preventDefault();event.stopPropagation();event.stopped=true}}})();Event.extend=(function(){var methods=Object.keys(Event.Methods).inject({},function(m,name){m[name]=Event.Methods[name].methodize();return m});if(Prototype.Browser.IE){Object.extend(methods,{stopPropagation:function(){this.cancelBubble=true},preventDefault:function(){this.returnValue=false},inspect:function(){return"[object Event]"}});return function(event){if(!event)return false;if(event._extendedByPrototype)return event;event._extendedByPrototype=Prototype.emptyFunction;var pointer=Event.pointer(event);Object.extend(event,{target:event.srcElement,relatedTarget:Event.relatedTarget(event),pageX:pointer.x,pageY:pointer.y});return Object.extend(event,methods)}}else{Event.prototype=Event.prototype||document.createEvent("HTMLEvents")['__proto__'];Object.extend(Event.prototype,methods);return Prototype.K}})();Object.extend(Event,(function(){var cache=Event.cache;function getEventID(element){if(element._prototypeEventID)return element._prototypeEventID[0];arguments.callee.id=arguments.callee.id||1;return element._prototypeEventID=[++arguments.callee.id]}function getDOMEventName(eventName){if(eventName&&eventName.include(':'))return"dataavailable";return eventName}function getCacheForID(id){return cache[id]=cache[id]||{}}function getWrappersForEventName(id,eventName){var c=getCacheForID(id);return c[eventName]=c[eventName]||[]}function createWrapper(element,eventName,handler){var id=getEventID(element);var c=getWrappersForEventName(id,eventName);if(c.pluck("handler").include(handler))return false;var wrapper=function(event){if(!Event||!Event.extend||(event.eventName&&event.eventName!=eventName))return false;Event.extend(event);handler.call(element,event)};wrapper.handler=handler;c.push(wrapper);return wrapper}function findWrapper(id,eventName,handler){var c=getWrappersForEventName(id,eventName);return c.find(function(wrapper){return wrapper.handler==handler})}function destroyWrapper(id,eventName,handler){var c=getCacheForID(id);if(!c[eventName])return false;c[eventName]=c[eventName].without(findWrapper(id,eventName,handler))}function destroyCache(){for(var id in cache)for(var eventName in cache[id])cache[id][eventName]=null}if(window.attachEvent){window.attachEvent("onunload",destroyCache)}if(Prototype.Browser.WebKit){window.addEventListener('unload',Prototype.emptyFunction,false)}return{observe:function(element,eventName,handler){element=$(element);var name=getDOMEventName(eventName);var wrapper=createWrapper(element,eventName,handler);if(!wrapper)return element;if(element.addEventListener){element.addEventListener(name,wrapper,false)}else{element.attachEvent("on"+name,wrapper)}return element},stopObserving:function(element,eventName,handler){element=$(element);var id=getEventID(element),name=getDOMEventName(eventName);if(!handler&&eventName){getWrappersForEventName(id,eventName).each(function(wrapper){element.stopObserving(eventName,wrapper.handler)});return element}else if(!eventName){Object.keys(getCacheForID(id)).each(function(eventName){element.stopObserving(eventName)});return element}var wrapper=findWrapper(id,eventName,handler);if(!wrapper)return element;if(element.removeEventListener){element.removeEventListener(name,wrapper,false)}else{element.detachEvent("on"+name,wrapper)}destroyWrapper(id,eventName,handler);return element},fire:function(element,eventName,memo){element=$(element);if(element==document&&document.createEvent&&!element.dispatchEvent)element=document.documentElement;var event;if(document.createEvent){event=document.createEvent("HTMLEvents");event.initEvent("dataavailable",true,true)}else{event=document.createEventObject();event.eventType="ondataavailable"}event.eventName=eventName;event.memo=memo||{};if(document.createEvent){element.dispatchEvent(event)}else{element.fireEvent(event.eventType,event)}return Event.extend(event)}}})());Object.extend(Event,Event.Methods);Element.addMethods({fire:Event.fire,observe:Event.observe,stopObserving:Event.stopObserving});Object.extend(document,{fire:Element.Methods.fire.methodize(),observe:Element.Methods.observe.methodize(),stopObserving:Element.Methods.stopObserving.methodize(),loaded:false});(function(){var timer;function fireContentLoadedEvent(){if(document.loaded)return;if(timer)window.clearInterval(timer);document.fire("dom:loaded");document.loaded=true}if(document.addEventListener){if(Prototype.Browser.WebKit){timer=window.setInterval(function(){if(/loaded|complete/.test(document.readyState))fireContentLoadedEvent()},0);Event.observe(window,"load",fireContentLoadedEvent)}else{document.addEventListener("DOMContentLoaded",fireContentLoadedEvent,false)}}else{document.write("<script id=__onDOMContentLoaded defer src=//:><\/script>");$("__onDOMContentLoaded").onreadystatechange=function(){if(this.readyState=="complete"){this.onreadystatechange=null;fireContentLoadedEvent()}}}})();Hash.toQueryString=Object.toQueryString;var Toggle={display:Element.toggle};Element.Methods.childOf=Element.Methods.descendantOf;var Insertion={Before:function(element,content){return Element.insert(element,{before:content})},Top:function(element,content){return Element.insert(element,{top:content})},Bottom:function(element,content){return Element.insert(element,{bottom:content})},After:function(element,content){return Element.insert(element,{after:content})}};var $continue=new Error('"throw $continue" is deprecated, use "return" instead');var Position={includeScrollOffsets:false,prepare:function(){this.deltaX=window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0;this.deltaY=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0},within:function(element,x,y){if(this.includeScrollOffsets)return this.withinIncludingScrolloffsets(element,x,y);this.xcomp=x;this.ycomp=y;this.offset=Element.cumulativeOffset(element);return(y>=this.offset[1]&&y<this.offset[1]+element.offsetHeight&&x>=this.offset[0]&&x<this.offset[0]+element.offsetWidth)},withinIncludingScrolloffsets:function(element,x,y){var offsetcache=Element.cumulativeScrollOffset(element);this.xcomp=x+offsetcache[0]-this.deltaX;this.ycomp=y+offsetcache[1]-this.deltaY;this.offset=Element.cumulativeOffset(element);return(this.ycomp>=this.offset[1]&&this.ycomp<this.offset[1]+element.offsetHeight&&this.xcomp>=this.offset[0]&&this.xcomp<this.offset[0]+element.offsetWidth)},overlap:function(mode,element){if(!mode)return 0;if(mode=='vertical')return((this.offset[1]+element.offsetHeight)-this.ycomp)/element.offsetHeight;if(mode=='horizontal')return((this.offset[0]+element.offsetWidth)-this.xcomp)/element.offsetWidth},cumulativeOffset:Element.Methods.cumulativeOffset,positionedOffset:Element.Methods.positionedOffset,absolutize:function(element){Position.prepare();return Element.absolutize(element)},relativize:function(element){Position.prepare();return Element.relativize(element)},realOffset:Element.Methods.cumulativeScrollOffset,offsetParent:Element.Methods.getOffsetParent,page:Element.Methods.viewportOffset,clone:function(source,target,options){options=options||{};return Element.clonePosition(target,source,options)}};if(!document.getElementsByClassName)document.getElementsByClassName=function(instanceMethods){function iter(name){return name.blank()?null:"[contains(concat(' ', @class, ' '), ' "+name+" ')]"}instanceMethods.getElementsByClassName=Prototype.BrowserFeatures.XPath?function(element,className){className=className.toString().strip();var cond=/\s/.test(className)?$w(className).map(iter).join(''):iter(className);return cond?document._getElementsByXPath('.//*'+cond,element):[]}:function(element,className){className=className.toString().strip();var elements=[],classNames=(/\s/.test(className)?$w(className):null);if(!classNames&&!className)return elements;var nodes=$(element).getElementsByTagName('*');className=' '+className+' ';for(var i=0,child,cn;child=nodes[i];i++){if(child.className&&(cn=' '+child.className+' ')&&(cn.include(className)||(classNames&&classNames.all(function(name){return!name.toString().blank()&&cn.include(' '+name+' ')}))))elements.push(Element.extend(child))}return elements};return function(className,parentElement){return $(parentElement||document.body).getElementsByClassName(className)}}(Element.Methods);Element.ClassNames=Class.create();Element.ClassNames.prototype={initialize:function(element){this.element=$(element)},_each:function(iterator){this.element.className.split(/\s+/).select(function(name){return name.length>0})._each(iterator)},set:function(className){this.element.className=className},add:function(classNameToAdd){if(this.include(classNameToAdd))return;this.set($A(this).concat(classNameToAdd).join(' '))},remove:function(classNameToRemove){if(!this.include(classNameToRemove))return;this.set($A(this).without(classNameToRemove).join(' '))},toString:function(){return $A(this).join(' ')}};Object.extend(Element.ClassNames.prototype,Enumerable);Element.addMethods();
String.prototype.parseColor=function(){var color='#';if(this.slice(0,4)=='rgb('){var cols=this.slice(4,this.length-1).split(',');var i=0;do{color+=parseInt(cols[i]).toColorPart()}while(++i<3)}else{if(this.slice(0,1)=='#'){if(this.length==4)for(var i=1;i<4;i++)color+=(this.charAt(i)+this.charAt(i)).toLowerCase();if(this.length==7)color=this.toLowerCase()}}return(color.length==7?color:(arguments[0]||this))};Element.collectTextNodes=function(element){return $A($(element).childNodes).collect(function(node){return(node.nodeType==3?node.nodeValue:(node.hasChildNodes()?Element.collectTextNodes(node):''))}).flatten().join('')};Element.collectTextNodesIgnoreClass=function(element,className){return $A($(element).childNodes).collect(function(node){return(node.nodeType==3?node.nodeValue:((node.hasChildNodes()&&!Element.hasClassName(node,className))?Element.collectTextNodesIgnoreClass(node,className):''))}).flatten().join('')};Element.setContentZoom=function(element,percent){element=$(element);element.setStyle({fontSize:(percent/100)+'em'});if(Prototype.Browser.WebKit)window.scrollBy(0,0);return element};Element.getInlineOpacity=function(element){return $(element).style.opacity||''};Element.forceRerendering=function(element){try{element=$(element);var n=document.createTextNode(' ');element.appendChild(n);element.removeChild(n)}catch(e){}};var Effect={_elementDoesNotExistError:{name:'ElementDoesNotExistError',message:'The specified DOM element does not exist, but is required for this effect to operate'},Transitions:{linear:Prototype.K,sinoidal:function(pos){return(-Math.cos(pos*Math.PI)/2)+.5},reverse:function(pos){return 1-pos},flicker:function(pos){var pos=((-Math.cos(pos*Math.PI)/4)+.75)+Math.random()/4;return pos>1?1:pos},wobble:function(pos){return(-Math.cos(pos*Math.PI*(9*pos))/2)+.5},pulse:function(pos,pulses){return(-Math.cos((pos*((pulses||5)-.5)*2)*Math.PI)/2)+.5},spring:function(pos){return 1-(Math.cos(pos*4.5*Math.PI)*Math.exp(-pos*6))},none:function(pos){return 0},full:function(pos){return 1}},DefaultOptions:{duration:1.0,fps:100,sync:false,from:0.0,to:1.0,delay:0.0,queue:'parallel'},tagifyText:function(element){var tagifyStyle='position:relative';if(Prototype.Browser.IE)tagifyStyle+=';zoom:1';element=$(element);$A(element.childNodes).each(function(child){if(child.nodeType==3){child.nodeValue.toArray().each(function(character){element.insertBefore(new Element('span',{style:tagifyStyle}).update(character==' '?String.fromCharCode(160):character),child)});Element.remove(child)}})},multiple:function(element,effect){var elements;if(((typeof element=='object')||Object.isFunction(element))&&(element.length))elements=element;else elements=$(element).childNodes;var options=Object.extend({speed:0.1,delay:0.0},arguments[2]||{});var masterDelay=options.delay;$A(elements).each(function(element,index){new effect(element,Object.extend(options,{delay:index*options.speed+masterDelay}))})},PAIRS:{'slide':['SlideDown','SlideUp'],'blind':['BlindDown','BlindUp'],'appear':['Appear','Fade']},toggle:function(element,effect){element=$(element);effect=(effect||'appear').toLowerCase();var options=Object.extend({queue:{position:'end',scope:(element.id||'global'),limit:1}},arguments[2]||{});Effect[element.visible()?Effect.PAIRS[effect][1]:Effect.PAIRS[effect][0]](element,options)}};Effect.DefaultOptions.transition=Effect.Transitions.sinoidal;Effect.ScopedQueue=Class.create(Enumerable,{initialize:function(){this.effects=[];this.interval=null},_each:function(iterator){this.effects._each(iterator)},add:function(effect){var timestamp=new Date().getTime();var position=Object.isString(effect.options.queue)?effect.options.queue:effect.options.queue.position;switch(position){case'front':this.effects.findAll(function(e){return e.state=='idle'}).each(function(e){e.startOn+=effect.finishOn;e.finishOn+=effect.finishOn});break;case'with-last':timestamp=this.effects.pluck('startOn').max()||timestamp;break;case'end':timestamp=this.effects.pluck('finishOn').max()||timestamp;break}effect.startOn+=timestamp;effect.finishOn+=timestamp;if(!effect.options.queue.limit||(this.effects.length<effect.options.queue.limit))this.effects.push(effect);if(!this.interval)this.interval=setInterval(this.loop.bind(this),15)},remove:function(effect){this.effects=this.effects.reject(function(e){return e==effect});if(this.effects.length==0){clearInterval(this.interval);this.interval=null}},loop:function(){var timePos=new Date().getTime();for(var i=0,len=this.effects.length;i<len;i++)this.effects[i]&&this.effects[i].loop(timePos)}});Effect.Queues={instances:$H(),get:function(queueName){if(!Object.isString(queueName))return queueName;return this.instances.get(queueName)||this.instances.set(queueName,new Effect.ScopedQueue())}};Effect.Queue=Effect.Queues.get('global');Effect.Base=Class.create({position:null,start:function(options){function codeForEvent(options,eventName){return((options[eventName+'Internal']?'this.options.'+eventName+'Internal(this);':'')+(options[eventName]?'this.options.'+eventName+'(this);':''))}if(options&&options.transition===false)options.transition=Effect.Transitions.linear;this.options=Object.extend(Object.extend({},Effect.DefaultOptions),options||{});this.currentFrame=0;this.state='idle';this.startOn=this.options.delay*1000;this.finishOn=this.startOn+(this.options.duration*1000);this.fromToDelta=this.options.to-this.options.from;this.totalTime=this.finishOn-this.startOn;this.totalFrames=this.options.fps*this.options.duration;this.render=(function(){function dispatch(effect,eventName){if(effect.options[eventName+'Internal'])effect.options[eventName+'Internal'](effect);if(effect.options[eventName])effect.options[eventName](effect)}return function(pos){if(this.state==="idle"){this.state="running";dispatch(this,'beforeSetup');if(this.setup)this.setup();dispatch(this,'afterSetup')}if(this.state==="running"){pos=(this.options.transition(pos)*this.fromToDelta)+this.options.from;this.position=pos;dispatch(this,'beforeUpdate');if(this.update)this.update(pos);dispatch(this,'afterUpdate')}}})();this.event('beforeStart');if(!this.options.sync)Effect.Queues.get(Object.isString(this.options.queue)?'global':this.options.queue.scope).add(this)},loop:function(timePos){if(timePos>=this.startOn){if(timePos>=this.finishOn){this.render(1.0);this.cancel();this.event('beforeFinish');if(this.finish)this.finish();this.event('afterFinish');return}var pos=(timePos-this.startOn)/this.totalTime,frame=(pos*this.totalFrames).round();if(frame>this.currentFrame){this.render(pos);this.currentFrame=frame}}},cancel:function(){if(!this.options.sync)Effect.Queues.get(Object.isString(this.options.queue)?'global':this.options.queue.scope).remove(this);this.state='finished'},event:function(eventName){if(this.options[eventName+'Internal'])this.options[eventName+'Internal'](this);if(this.options[eventName])this.options[eventName](this)},inspect:function(){var data=$H();for(property in this)if(!Object.isFunction(this[property]))data.set(property,this[property]);return'#<Effect:'+data.inspect()+',options:'+$H(this.options).inspect()+'>'}});Effect.Parallel=Class.create(Effect.Base,{initialize:function(effects){this.effects=effects||[];this.start(arguments[1])},update:function(position){this.effects.invoke('render',position)},finish:function(position){this.effects.each(function(effect){effect.render(1.0);effect.cancel();effect.event('beforeFinish');if(effect.finish)effect.finish(position);effect.event('afterFinish')})}});Effect.Tween=Class.create(Effect.Base,{initialize:function(object,from,to){object=Object.isString(object)?$(object):object;var args=$A(arguments),method=args.last(),options=args.length==5?args[3]:null;this.method=Object.isFunction(method)?method.bind(object):Object.isFunction(object[method])?object[method].bind(object):function(value){object[method]=value};this.start(Object.extend({from:from,to:to},options||{}))},update:function(position){this.method(position)}});Effect.Event=Class.create(Effect.Base,{initialize:function(){this.start(Object.extend({duration:0},arguments[0]||{}))},update:Prototype.emptyFunction});Effect.Opacity=Class.create(Effect.Base,{initialize:function(element){this.element=$(element);if(!this.element)throw(Effect._elementDoesNotExistError);if(Prototype.Browser.IE&&(!this.element.currentStyle.hasLayout))this.element.setStyle({zoom:1});var options=Object.extend({from:this.element.getOpacity()||0.0,to:1.0},arguments[1]||{});this.start(options)},update:function(position){this.element.setOpacity(position)}});Effect.Move=Class.create(Effect.Base,{initialize:function(element){this.element=$(element);if(!this.element)throw(Effect._elementDoesNotExistError);var options=Object.extend({x:0,y:0,mode:'relative'},arguments[1]||{});this.start(options)},setup:function(){this.element.makePositioned();this.originalLeft=parseFloat(this.element.getStyle('left')||'0');this.originalTop=parseFloat(this.element.getStyle('top')||'0');if(this.options.mode=='absolute'){this.options.x=this.options.x-this.originalLeft;this.options.y=this.options.y-this.originalTop}},update:function(position){this.element.setStyle({left:(this.options.x*position+this.originalLeft).round()+'px',top:(this.options.y*position+this.originalTop).round()+'px'})}});Effect.MoveBy=function(element,toTop,toLeft){return new Effect.Move(element,Object.extend({x:toLeft,y:toTop},arguments[3]||{}))};Effect.Scale=Class.create(Effect.Base,{initialize:function(element,percent){this.element=$(element);if(!this.element)throw(Effect._elementDoesNotExistError);var options=Object.extend({scaleX:true,scaleY:true,scaleContent:true,scaleFromCenter:false,scaleMode:'box',scaleFrom:100.0,scaleTo:percent},arguments[2]||{});this.start(options)},setup:function(){this.restoreAfterFinish=this.options.restoreAfterFinish||false;this.elementPositioning=this.element.getStyle('position');this.originalStyle={};['top','left','width','height','fontSize'].each(function(k){this.originalStyle[k]=this.element.style[k]}.bind(this));this.originalTop=this.element.offsetTop;this.originalLeft=this.element.offsetLeft;var fontSize=this.element.getStyle('font-size')||'100%';['em','px','%','pt'].each(function(fontSizeType){if(fontSize.indexOf(fontSizeType)>0){this.fontSize=parseFloat(fontSize);this.fontSizeType=fontSizeType}}.bind(this));this.factor=(this.options.scaleTo-this.options.scaleFrom)/100;this.dims=null;if(this.options.scaleMode=='box')this.dims=[this.element.offsetHeight,this.element.offsetWidth];if(/^content/.test(this.options.scaleMode))this.dims=[this.element.scrollHeight,this.element.scrollWidth];if(!this.dims)this.dims=[this.options.scaleMode.originalHeight,this.options.scaleMode.originalWidth]},update:function(position){var currentScale=(this.options.scaleFrom/100.0)+(this.factor*position);if(this.options.scaleContent&&this.fontSize)this.element.setStyle({fontSize:this.fontSize*currentScale+this.fontSizeType});this.setDimensions(this.dims[0]*currentScale,this.dims[1]*currentScale)},finish:function(position){if(this.restoreAfterFinish)this.element.setStyle(this.originalStyle)},setDimensions:function(height,width){var d={};if(this.options.scaleX)d.width=width.round()+'px';if(this.options.scaleY)d.height=height.round()+'px';if(this.options.scaleFromCenter){var topd=(height-this.dims[0])/2;var leftd=(width-this.dims[1])/2;if(this.elementPositioning=='absolute'){if(this.options.scaleY)d.top=this.originalTop-topd+'px';if(this.options.scaleX)d.left=this.originalLeft-leftd+'px'}else{if(this.options.scaleY)d.top=-topd+'px';if(this.options.scaleX)d.left=-leftd+'px'}}this.element.setStyle(d)}});Effect.Highlight=Class.create(Effect.Base,{initialize:function(element){this.element=$(element);if(!this.element)throw(Effect._elementDoesNotExistError);var options=Object.extend({startcolor:'#ffff99'},arguments[1]||{});this.start(options)},setup:function(){if(this.element.getStyle('display')=='none'){this.cancel();return}this.oldStyle={};if(!this.options.keepBackgroundImage){this.oldStyle.backgroundImage=this.element.getStyle('background-image');this.element.setStyle({backgroundImage:'none'})}if(!this.options.endcolor)this.options.endcolor=this.element.getStyle('background-color').parseColor('#ffffff');if(!this.options.restorecolor)this.options.restorecolor=this.element.getStyle('background-color');this._base=$R(0,2).map(function(i){return parseInt(this.options.startcolor.slice(i*2+1,i*2+3),16)}.bind(this));this._delta=$R(0,2).map(function(i){return parseInt(this.options.endcolor.slice(i*2+1,i*2+3),16)-this._base[i]}.bind(this))},update:function(position){this.element.setStyle({backgroundColor:$R(0,2).inject('#',function(m,v,i){return m+((this._base[i]+(this._delta[i]*position)).round().toColorPart())}.bind(this))})},finish:function(){this.element.setStyle(Object.extend(this.oldStyle,{backgroundColor:this.options.restorecolor}))}});Effect.ScrollTo=function(element){var options=arguments[1]||{},scrollOffsets=document.viewport.getScrollOffsets(),elementOffsets=$(element).cumulativeOffset();if(options.offset)elementOffsets[1]+=options.offset;return new Effect.Tween(null,scrollOffsets.top,elementOffsets[1],options,function(p){scrollTo(scrollOffsets.left,p.round())})};Effect.Fade=function(element){element=$(element);var oldOpacity=element.getInlineOpacity();var options=Object.extend({from:element.getOpacity()||1.0,to:0.0,afterFinishInternal:function(effect){if(effect.options.to!=0)return;effect.element.hide().setStyle({opacity:oldOpacity})}},arguments[1]||{});return new Effect.Opacity(element,options)};Effect.Appear=function(element){element=$(element);var options=Object.extend({from:(element.getStyle('display')=='none'?0.0:element.getOpacity()||0.0),to:1.0,afterFinishInternal:function(effect){effect.element.forceRerendering()},beforeSetup:function(effect){effect.element.setOpacity(effect.options.from).show()}},arguments[1]||{});return new Effect.Opacity(element,options)};Effect.Puff=function(element){element=$(element);var oldStyle={opacity:element.getInlineOpacity(),position:element.getStyle('position'),top:element.style.top,left:element.style.left,width:element.style.width,height:element.style.height};return new Effect.Parallel([new Effect.Scale(element,200,{sync:true,scaleFromCenter:true,scaleContent:true,restoreAfterFinish:true}),new Effect.Opacity(element,{sync:true,to:0.0})],Object.extend({duration:1.0,beforeSetupInternal:function(effect){Position.absolutize(effect.effects[0].element)},afterFinishInternal:function(effect){effect.effects[0].element.hide().setStyle(oldStyle)}},arguments[1]||{}))};Effect.BlindUp=function(element){element=$(element);element.makeClipping();return new Effect.Scale(element,0,Object.extend({scaleContent:false,scaleX:false,restoreAfterFinish:true,afterFinishInternal:function(effect){effect.element.hide().undoClipping()}},arguments[1]||{}))};Effect.BlindDown=function(element){element=$(element);var elementDimensions=element.getDimensions();return new Effect.Scale(element,100,Object.extend({scaleContent:false,scaleX:false,scaleFrom:0,scaleMode:{originalHeight:elementDimensions.height,originalWidth:elementDimensions.width},restoreAfterFinish:true,afterSetup:function(effect){effect.element.makeClipping().setStyle({height:'0px'}).show()},afterFinishInternal:function(effect){effect.element.undoClipping()}},arguments[1]||{}))};Effect.SwitchOff=function(element){element=$(element);var oldOpacity=element.getInlineOpacity();return new Effect.Appear(element,Object.extend({duration:0.4,from:0,transition:Effect.Transitions.flicker,afterFinishInternal:function(effect){new Effect.Scale(effect.element,1,{duration:0.3,scaleFromCenter:true,scaleX:false,scaleContent:false,restoreAfterFinish:true,beforeSetup:function(effect){effect.element.makePositioned().makeClipping()},afterFinishInternal:function(effect){effect.element.hide().undoClipping().undoPositioned().setStyle({opacity:oldOpacity})}})}},arguments[1]||{}))};Effect.DropOut=function(element){element=$(element);var oldStyle={top:element.getStyle('top'),left:element.getStyle('left'),opacity:element.getInlineOpacity()};return new Effect.Parallel([new Effect.Move(element,{x:0,y:100,sync:true}),new Effect.Opacity(element,{sync:true,to:0.0})],Object.extend({duration:0.5,beforeSetup:function(effect){effect.effects[0].element.makePositioned()},afterFinishInternal:function(effect){effect.effects[0].element.hide().undoPositioned().setStyle(oldStyle)}},arguments[1]||{}))};Effect.Shake=function(element){element=$(element);var options=Object.extend({distance:20,duration:0.5},arguments[1]||{});var distance=parseFloat(options.distance);var split=parseFloat(options.duration)/10.0;var oldStyle={top:element.getStyle('top'),left:element.getStyle('left')};return new Effect.Move(element,{x:distance,y:0,duration:split,afterFinishInternal:function(effect){new Effect.Move(effect.element,{x:-distance*2,y:0,duration:split*2,afterFinishInternal:function(effect){new Effect.Move(effect.element,{x:distance*2,y:0,duration:split*2,afterFinishInternal:function(effect){new Effect.Move(effect.element,{x:-distance*2,y:0,duration:split*2,afterFinishInternal:function(effect){new Effect.Move(effect.element,{x:distance*2,y:0,duration:split*2,afterFinishInternal:function(effect){new Effect.Move(effect.element,{x:-distance,y:0,duration:split,afterFinishInternal:function(effect){effect.element.undoPositioned().setStyle(oldStyle)}})}})}})}})}})}})};Effect.SlideDown=function(element){element=$(element).cleanWhitespace();var oldInnerBottom=element.down().getStyle('bottom');var elementDimensions=element.getDimensions();return new Effect.Scale(element,100,Object.extend({scaleContent:false,scaleX:false,scaleFrom:window.opera?0:1,scaleMode:{originalHeight:elementDimensions.height,originalWidth:elementDimensions.width},restoreAfterFinish:true,afterSetup:function(effect){effect.element.makePositioned();effect.element.down().makePositioned();if(window.opera)effect.element.setStyle({top:''});effect.element.makeClipping().setStyle({height:'0px'}).show()},afterUpdateInternal:function(effect){effect.element.down().setStyle({bottom:(effect.dims[0]-effect.element.clientHeight)+'px'})},afterFinishInternal:function(effect){effect.element.undoClipping().undoPositioned();effect.element.down().undoPositioned().setStyle({bottom:oldInnerBottom})}},arguments[1]||{}))};Effect.SlideUp=function(element){element=$(element).cleanWhitespace();var oldInnerBottom=element.down().getStyle('bottom');var elementDimensions=element.getDimensions();return new Effect.Scale(element,window.opera?0:1,Object.extend({scaleContent:false,scaleX:false,scaleMode:'box',scaleFrom:100,scaleMode:{originalHeight:elementDimensions.height,originalWidth:elementDimensions.width},restoreAfterFinish:true,afterSetup:function(effect){effect.element.makePositioned();effect.element.down().makePositioned();if(window.opera)effect.element.setStyle({top:''});effect.element.makeClipping().show()},afterUpdateInternal:function(effect){effect.element.down().setStyle({bottom:(effect.dims[0]-effect.element.clientHeight)+'px'})},afterFinishInternal:function(effect){effect.element.hide().undoClipping().undoPositioned();effect.element.down().undoPositioned().setStyle({bottom:oldInnerBottom})}},arguments[1]||{}))};Effect.Squish=function(element){return new Effect.Scale(element,window.opera?1:0,{restoreAfterFinish:true,beforeSetup:function(effect){effect.element.makeClipping()},afterFinishInternal:function(effect){effect.element.hide().undoClipping()}})};Effect.Grow=function(element){element=$(element);var options=Object.extend({direction:'center',moveTransition:Effect.Transitions.sinoidal,scaleTransition:Effect.Transitions.sinoidal,opacityTransition:Effect.Transitions.full},arguments[1]||{});var oldStyle={top:element.style.top,left:element.style.left,height:element.style.height,width:element.style.width,opacity:element.getInlineOpacity()};var dims=element.getDimensions();var initialMoveX,initialMoveY;var moveX,moveY;switch(options.direction){case'top-left':initialMoveX=initialMoveY=moveX=moveY=0;break;case'top-right':initialMoveX=dims.width;initialMoveY=moveY=0;moveX=-dims.width;break;case'bottom-left':initialMoveX=moveX=0;initialMoveY=dims.height;moveY=-dims.height;break;case'bottom-right':initialMoveX=dims.width;initialMoveY=dims.height;moveX=-dims.width;moveY=-dims.height;break;case'center':initialMoveX=dims.width/2;initialMoveY=dims.height/2;moveX=-dims.width/2;moveY=-dims.height/2;break}return new Effect.Move(element,{x:initialMoveX,y:initialMoveY,duration:0.01,beforeSetup:function(effect){effect.element.hide().makeClipping().makePositioned()},afterFinishInternal:function(effect){new Effect.Parallel([new Effect.Opacity(effect.element,{sync:true,to:1.0,from:0.0,transition:options.opacityTransition}),new Effect.Move(effect.element,{x:moveX,y:moveY,sync:true,transition:options.moveTransition}),new Effect.Scale(effect.element,100,{scaleMode:{originalHeight:dims.height,originalWidth:dims.width},sync:true,scaleFrom:window.opera?1:0,transition:options.scaleTransition,restoreAfterFinish:true})],Object.extend({beforeSetup:function(effect){effect.effects[0].element.setStyle({height:'0px'}).show()},afterFinishInternal:function(effect){effect.effects[0].element.undoClipping().undoPositioned().setStyle(oldStyle)}},options))}})};Effect.Shrink=function(element){element=$(element);var options=Object.extend({direction:'center',moveTransition:Effect.Transitions.sinoidal,scaleTransition:Effect.Transitions.sinoidal,opacityTransition:Effect.Transitions.none},arguments[1]||{});var oldStyle={top:element.style.top,left:element.style.left,height:element.style.height,width:element.style.width,opacity:element.getInlineOpacity()};var dims=element.getDimensions();var moveX,moveY;switch(options.direction){case'top-left':moveX=moveY=0;break;case'top-right':moveX=dims.width;moveY=0;break;case'bottom-left':moveX=0;moveY=dims.height;break;case'bottom-right':moveX=dims.width;moveY=dims.height;break;case'center':moveX=dims.width/2;moveY=dims.height/2;break}return new Effect.Parallel([new Effect.Opacity(element,{sync:true,to:0.0,from:1.0,transition:options.opacityTransition}),new Effect.Scale(element,window.opera?1:0,{sync:true,transition:options.scaleTransition,restoreAfterFinish:true}),new Effect.Move(element,{x:moveX,y:moveY,sync:true,transition:options.moveTransition})],Object.extend({beforeStartInternal:function(effect){effect.effects[0].element.makePositioned().makeClipping()},afterFinishInternal:function(effect){effect.effects[0].element.hide().undoClipping().undoPositioned().setStyle(oldStyle)}},options))};Effect.Pulsate=function(element){element=$(element);var options=arguments[1]||{},oldOpacity=element.getInlineOpacity(),transition=options.transition||Effect.Transitions.linear,reverser=function(pos){return 1-transition((-Math.cos((pos*(options.pulses||5)*2)*Math.PI)/2)+.5)};return new Effect.Opacity(element,Object.extend(Object.extend({duration:2.0,from:0,afterFinishInternal:function(effect){effect.element.setStyle({opacity:oldOpacity})}},options),{transition:reverser}))};Effect.Fold=function(element){element=$(element);var oldStyle={top:element.style.top,left:element.style.left,width:element.style.width,height:element.style.height};element.makeClipping();return new Effect.Scale(element,5,Object.extend({scaleContent:false,scaleX:false,afterFinishInternal:function(effect){new Effect.Scale(element,1,{scaleContent:false,scaleY:false,afterFinishInternal:function(effect){effect.element.hide().undoClipping().setStyle(oldStyle)}})}},arguments[1]||{}))};Effect.Morph=Class.create(Effect.Base,{initialize:function(element){this.element=$(element);if(!this.element)throw(Effect._elementDoesNotExistError);var options=Object.extend({style:{}},arguments[1]||{});if(!Object.isString(options.style))this.style=$H(options.style);else{if(options.style.include(':'))this.style=options.style.parseStyle();else{this.element.addClassName(options.style);this.style=$H(this.element.getStyles());this.element.removeClassName(options.style);var css=this.element.getStyles();this.style=this.style.reject(function(style){return style.value==css[style.key]});options.afterFinishInternal=function(effect){effect.element.addClassName(effect.options.style);effect.transforms.each(function(transform){effect.element.style[transform.style]=''})}}}this.start(options)},setup:function(){function parseColor(color){if(!color||['rgba(0, 0, 0, 0)','transparent'].include(color))color='#ffffff';color=color.parseColor();return $R(0,2).map(function(i){return parseInt(color.slice(i*2+1,i*2+3),16)})}this.transforms=this.style.map(function(pair){var property=pair[0],value=pair[1],unit=null;if(value.parseColor('#zzzzzz')!='#zzzzzz'){value=value.parseColor();unit='color'}else if(property=='opacity'){value=parseFloat(value);if(Prototype.Browser.IE&&(!this.element.currentStyle.hasLayout))this.element.setStyle({zoom:1})}else if(Element.CSS_LENGTH.test(value)){var components=value.match(/^([\+\-]?[0-9\.]+)(.*)$/);value=parseFloat(components[1]);unit=(components.length==3)?components[2]:null}var originalValue=this.element.getStyle(property);return{style:property.camelize(),originalValue:unit=='color'?parseColor(originalValue):parseFloat(originalValue||0),targetValue:unit=='color'?parseColor(value):value,unit:unit}}.bind(this)).reject(function(transform){return((transform.originalValue==transform.targetValue)||(transform.unit!='color'&&(isNaN(transform.originalValue)||isNaN(transform.targetValue))))})},update:function(position){var style={},transform,i=this.transforms.length;while(i--)style[(transform=this.transforms[i]).style]=transform.unit=='color'?'#'+(Math.round(transform.originalValue[0]+(transform.targetValue[0]-transform.originalValue[0])*position)).toColorPart()+(Math.round(transform.originalValue[1]+(transform.targetValue[1]-transform.originalValue[1])*position)).toColorPart()+(Math.round(transform.originalValue[2]+(transform.targetValue[2]-transform.originalValue[2])*position)).toColorPart():(transform.originalValue+(transform.targetValue-transform.originalValue)*position).toFixed(3)+(transform.unit===null?'':transform.unit);this.element.setStyle(style,true)}});Effect.Transform=Class.create({initialize:function(tracks){this.tracks=[];this.options=arguments[1]||{};this.addTracks(tracks)},addTracks:function(tracks){tracks.each(function(track){track=$H(track);var data=track.values().first();this.tracks.push($H({ids:track.keys().first(),effect:Effect.Morph,options:{style:data}}))}.bind(this));return this},play:function(){return new Effect.Parallel(this.tracks.map(function(track){var ids=track.get('ids'),effect=track.get('effect'),options=track.get('options');var elements=[$(ids)||$$(ids)].flatten();return elements.map(function(e){return new effect(e,Object.extend({sync:true},options))})}).flatten(),this.options)}});Element.CSS_PROPERTIES=$w('backgroundColor backgroundPosition borderBottomColor borderBottomStyle '+'borderBottomWidth borderLeftColor borderLeftStyle borderLeftWidth '+'borderRightColor borderRightStyle borderRightWidth borderSpacing '+'borderTopColor borderTopStyle borderTopWidth bottom clip color '+'fontSize fontWeight height left letterSpacing lineHeight '+'marginBottom marginLeft marginRight marginTop markerOffset maxHeight '+'maxWidth minHeight minWidth opacity outlineColor outlineOffset '+'outlineWidth paddingBottom paddingLeft paddingRight paddingTop '+'right textIndent top width wordSpacing zIndex');Element.CSS_LENGTH=/^(([\+\-]?[0-9\.]+)(em|ex|px|in|cm|mm|pt|pc|\%))|0$/;String.__parseStyleElement=document.createElement('div');String.prototype.parseStyle=function(){var style,styleRules=$H();if(Prototype.Browser.WebKit)style=new Element('div',{style:this}).style;else{String.__parseStyleElement.innerHTML='<div style="'+this+'"></div>';style=String.__parseStyleElement.childNodes[0].style}Element.CSS_PROPERTIES.each(function(property){if(style[property])styleRules.set(property,style[property])});if(Prototype.Browser.IE&&this.include('opacity'))styleRules.set('opacity',this.match(/opacity:\s*((?:0|1)?(?:\.\d*)?)/)[1]);return styleRules};if(document.defaultView&&document.defaultView.getComputedStyle){Element.getStyles=function(element){var css=document.defaultView.getComputedStyle($(element),null);return Element.CSS_PROPERTIES.inject({},function(styles,property){styles[property]=css[property];return styles})}}else{Element.getStyles=function(element){element=$(element);var css=element.currentStyle,styles;styles=Element.CSS_PROPERTIES.inject({},function(results,property){results[property]=css[property];return results});if(!styles.opacity)styles.opacity=element.getOpacity();return styles}}Effect.Methods={morph:function(element,style){element=$(element);new Effect.Morph(element,Object.extend({style:style},arguments[2]||{}));return element},visualEffect:function(element,effect,options){element=$(element);var s=effect.dasherize().camelize(),klass=s.charAt(0).toUpperCase()+s.substring(1);new Effect[klass](element,options);return element},highlight:function(element,options){element=$(element);new Effect.Highlight(element,options);return element}};$w('fade appear grow shrink fold blindUp blindDown slideUp slideDown '+'pulsate shake puff squish switchOff dropOut').each(function(effect){Effect.Methods[effect]=function(element,options){element=$(element);Effect[effect.charAt(0).toUpperCase()+effect.substring(1)](element,options);return element}});$w('getInlineOpacity forceRerendering setContentZoom collectTextNodes collectTextNodesIgnoreClass getStyles').each(function(f){Effect.Methods[f]=Element[f]});Element.addMethods(Effect.Methods);
var fileLoadingImage="/images/lightbox/loading.gif";var fileBottomNavCloseImage="/images/lightbox/close.gif";var overlayOpacity=0.8;var animate=true;var resizeSpeed=7;var borderSize=10;var imageArray=new Array;var activeImage,resizeDuration,overlayDuration;if(animate==true){overlayDuration=0.2;if(resizeSpeed>10){resizeSpeed=10}if(resizeSpeed<1){resizeSpeed=1}resizeDuration=(11-resizeSpeed)*0.15}else{overlayDuration=0;resizeDuration=0}Object.extend(Element,{getWidth:function(element){element=$(element);return element.offsetWidth},setWidth:function(element,w){element=$(element);element.style.width=w+"px"},setHeight:function(element,h){element=$(element);element.style.height=h+"px"},setTop:function(element,t){element=$(element);element.style.top=t+"px"},setLeft:function(element,l){element=$(element);element.style.left=l+"px"},setSrc:function(element,src){element=$(element);element.src=src},setHref:function(element,href){element=$(element);element.href=href},setInnerHTML:function(element,content){element=$(element);element.innerHTML=content},getInnerHTML:function(element){element=$(element);return element.innerHTML}});Array.prototype.removeDuplicates=function(){for(i=0;i<this.length;i++){for(j=this.length-1;j>i;j--){if(this[i][0]==this[j][0]){this.splice(j,1)}}}};Array.prototype.empty=function(){for(i=0;i<=this.length;i++){this.shift()}};var Lightbox=Class.create();Lightbox.prototype={onStart:function(){},onEnd:function(){},initialize:function(){this.updateImageList();var objBody=document.getElementsByTagName("body").item(0);var objOverlay=document.createElement("div");objOverlay.setAttribute('id','overlay');objOverlay.style.display='none';objOverlay.onclick=function(){myLightbox.end()};objBody.appendChild(objOverlay);var objLightbox=document.createElement("div");objLightbox.setAttribute('id','lightbox');objLightbox.style.display='none';objLightbox.onclick=function(e){if(!e)var e=window.event;var clickObj=Event.element(e).id;if(clickObj=='lightbox'){myLightbox.end()}};objBody.appendChild(objLightbox);var objOuterImageContainer=document.createElement("div");objOuterImageContainer.setAttribute('id','outerImageContainer');objLightbox.appendChild(objOuterImageContainer);if(animate){Element.setWidth('outerImageContainer',250);Element.setHeight('outerImageContainer',250)}else{Element.setWidth('outerImageContainer',1);Element.setHeight('outerImageContainer',1)}var objImageContainer=document.createElement("div");objImageContainer.setAttribute('id','imageContainer');objOuterImageContainer.appendChild(objImageContainer);var objLightboxImage=document.createElement("img");objLightboxImage.setAttribute('id','lightboxImage');objLightboxImage.style.width='auto';objImageContainer.appendChild(objLightboxImage);var objHoverNav=document.createElement("div");objHoverNav.setAttribute('id','hoverNav');objImageContainer.appendChild(objHoverNav);var objPrevLink=document.createElement("a");objPrevLink.setAttribute('id','prevLink');objPrevLink.setAttribute('href','#');objHoverNav.appendChild(objPrevLink);var objNextLink=document.createElement("a");objNextLink.setAttribute('id','nextLink');objNextLink.setAttribute('href','#');objHoverNav.appendChild(objNextLink);var objLoading=document.createElement("div");objLoading.setAttribute('id','loading');objImageContainer.appendChild(objLoading);var objLoadingLink=document.createElement("a");objLoadingLink.setAttribute('id','loadingLink');objLoadingLink.setAttribute('href','#');objLoadingLink.onclick=function(){myLightbox.end();return false};objLoading.appendChild(objLoadingLink);var objLoadingImage=document.createElement("img");objLoadingImage.setAttribute('src',fileLoadingImage);objLoadingLink.appendChild(objLoadingImage);var objImageDataContainer=document.createElement("div");objImageDataContainer.setAttribute('id','imageDataContainer');objLightbox.appendChild(objImageDataContainer);var objImageData=document.createElement("div");objImageData.setAttribute('id','imageData');objImageDataContainer.appendChild(objImageData);var objImageDetails=document.createElement("div");objImageDetails.setAttribute('id','imageDetails');objImageData.appendChild(objImageDetails);var objCaption=document.createElement("span");objCaption.setAttribute('id','caption');objImageDetails.appendChild(objCaption);var objNumberDisplay=document.createElement("span");objNumberDisplay.setAttribute('id','numberDisplay');objImageDetails.appendChild(objNumberDisplay);var objBottomNav=document.createElement("div");objBottomNav.setAttribute('id','bottomNav');objImageData.appendChild(objBottomNav);var objBottomNavCloseLink=document.createElement("a");objBottomNavCloseLink.setAttribute('id','bottomNavClose');objBottomNavCloseLink.setAttribute('href','#');objBottomNavCloseLink.onclick=function(){myLightbox.end();return false};objBottomNav.appendChild(objBottomNavCloseLink);var objBottomNavCloseImage=document.createElement("img");objBottomNavCloseImage.setAttribute('src',fileBottomNavCloseImage);objBottomNavCloseLink.appendChild(objBottomNavCloseImage)},updateImageList:function(){if(!document.getElementsByTagName){return};var anchors=document.getElementsByTagName('a');var areas=document.getElementsByTagName('area');for(var i=0;i<anchors.length;i++){var anchor=anchors[i];var relAttribute=String(anchor.getAttribute('rel'));if(anchor.getAttribute('href')&&(relAttribute.toLowerCase().match('lightbox'))){anchor.onclick=function(){myLightbox.start(this);return false}}}for(var i=0;i<areas.length;i++){var area=areas[i];var relAttribute=String(area.getAttribute('rel'));if(area.getAttribute('href')&&(relAttribute.toLowerCase().match('lightbox'))){area.onclick=function(){myLightbox.start(this);return false}}}},start:function(imageLink){hideSelectBoxes();hideFlash();this.onStart();var arrayPageSize=getPageSize();Element.setWidth('overlay',arrayPageSize[0]);Element.setHeight('overlay',arrayPageSize[1]);new Effect.Appear('overlay',{duration:overlayDuration,from:0.0,to:overlayOpacity});imageArray=[];imageNum=0;if(!document.getElementsByTagName){return}var anchors=document.getElementsByTagName(imageLink.tagName);if((imageLink.getAttribute('rel')=='lightbox')){imageArray.push(new Array(imageLink.getAttribute('href'),imageLink.getAttribute('title')))}else{for(var i=0;i<anchors.length;i++){var anchor=anchors[i];if(anchor.getAttribute('href')&&(anchor.getAttribute('rel')==imageLink.getAttribute('rel'))){imageArray.push(new Array(anchor.getAttribute('href'),anchor.getAttribute('title')))}}imageArray.removeDuplicates();while(imageArray[imageNum][0]!=imageLink.getAttribute('href')){imageNum++}}var arrayPageScroll=getPageScroll();var lightboxTop=arrayPageScroll[1]+(arrayPageSize[3]/10);var lightboxLeft=arrayPageScroll[0];Element.setTop('lightbox',lightboxTop);Element.setLeft('lightbox',lightboxLeft);Element.show('lightbox');this.changeImage(imageNum)},changeImage:function(imageNum){activeImage=imageNum;if(animate){Element.show('loading')}Element.hide('lightboxImage');Element.hide('hoverNav');Element.hide('prevLink');Element.hide('nextLink');Element.hide('imageDataContainer');Element.hide('numberDisplay');imgPreloader=new Image();imgPreloader.onload=function(){Element.setSrc('lightboxImage',imageArray[activeImage][0]);myLightbox.resizeImageContainer(imgPreloader.width,imgPreloader.height);imgPreloader.onload=function(){}};imgPreloader.src=imageArray[activeImage][0]},resizeImageContainer:function(imgWidth,imgHeight){this.widthCurrent=Element.getWidth('outerImageContainer');this.heightCurrent=Element.getHeight('outerImageContainer');var widthNew=(imgWidth+(borderSize*2));var heightNew=(imgHeight+(borderSize*2));this.xScale=(widthNew/this.widthCurrent)*100;this.yScale=(heightNew/this.heightCurrent)*100;wDiff=this.widthCurrent-widthNew;hDiff=this.heightCurrent-heightNew;if(!(hDiff==0)){new Effect.Scale('outerImageContainer',this.yScale,{scaleX:false,duration:resizeDuration,queue:'front'})}if(!(wDiff==0)){new Effect.Scale('outerImageContainer',this.xScale,{scaleY:false,delay:resizeDuration,duration:resizeDuration})}if((hDiff==0)&&(wDiff==0)){if(navigator.appVersion.indexOf("MSIE")!=-1){pause(250)}else{pause(100)}}Element.setHeight('prevLink',imgHeight);Element.setHeight('nextLink',imgHeight);Element.setWidth('imageDataContainer',widthNew);this.showImage()},showImage:function(){Element.hide('loading');new Effect.Appear('lightboxImage',{duration:resizeDuration,queue:'end',afterFinish:function(){myLightbox.updateDetails()}});this.preloadNeighborImages()},updateDetails:function(){if(imageArray[activeImage][1]){Element.show('caption');if(document.getElementById(imageArray[activeImage][1])!=null){Element.setInnerHTML('caption',Element.getInnerHTML(imageArray[activeImage][1]))}else{Element.setInnerHTML('caption',imageArray[activeImage][1])}}else{Element.hide('caption')}if(imageArray.length>1){Element.show('numberDisplay');Element.setInnerHTML('numberDisplay',eval(activeImage+1)+" / "+imageArray.length)}new Effect.Parallel([new Effect.SlideDown('imageDataContainer',{sync:true,duration:resizeDuration,from:0.0,to:1.0}),new Effect.Appear('imageDataContainer',{sync:true,duration:resizeDuration})],{duration:resizeDuration,afterFinish:function(){var arrayPageSize=getPageSize();Element.setHeight('overlay',arrayPageSize[1]);myLightbox.updateNav()}})},updateNav:function(){Element.show('hoverNav');if(activeImage!=0){Element.show('prevLink');document.getElementById('prevLink').onclick=function(){myLightbox.changeImage(activeImage-1);return false}}if(activeImage!=(imageArray.length-1)){Element.show('nextLink');document.getElementById('nextLink').onclick=function(){myLightbox.changeImage(activeImage+1);return false}}this.enableKeyboardNav()},enableKeyboardNav:function(){document.onkeydown=this.keyboardAction},disableKeyboardNav:function(){document.onkeydown=''},keyboardAction:function(e){if(e==null){keycode=event.keyCode;escapeKey=27}else{keycode=e.keyCode;escapeKey=e.DOM_VK_ESCAPE}key=String.fromCharCode(keycode).toLowerCase();if((key=='x')||(key=='o')||(key=='c')||(keycode==escapeKey)){myLightbox.end()}else if((key=='p')||(keycode==37)){if(activeImage!=0){myLightbox.disableKeyboardNav();myLightbox.changeImage(activeImage-1)}}else if((key=='n')||(keycode==39)){if(activeImage!=(imageArray.length-1)){myLightbox.disableKeyboardNav();myLightbox.changeImage(activeImage+1)}}},preloadNeighborImages:function(){if((imageArray.length-1)>activeImage){preloadNextImage=new Image();preloadNextImage.src=imageArray[activeImage+1][0]}if(activeImage>0){preloadPrevImage=new Image();preloadPrevImage.src=imageArray[activeImage-1][0]}},end:function(){this.disableKeyboardNav();Element.hide('lightbox');new Effect.Fade('overlay',{duration:overlayDuration});showSelectBoxes();showFlash();this.onEnd()}};function getPageScroll(){var xScroll,yScroll;if(self.pageYOffset){yScroll=self.pageYOffset;xScroll=self.pageXOffset}else if(document.documentElement&&document.documentElement.scrollTop){yScroll=document.documentElement.scrollTop;xScroll=document.documentElement.scrollLeft}else if(document.body){yScroll=document.body.scrollTop;xScroll=document.body.scrollLeft}arrayPageScroll=new Array(xScroll,yScroll);return arrayPageScroll}function getPageSize(){var xScroll,yScroll;if(window.innerHeight&&window.scrollMaxY){xScroll=window.innerWidth+window.scrollMaxX;yScroll=window.innerHeight+window.scrollMaxY}else if(document.body.scrollHeight>document.body.offsetHeight){xScroll=document.body.scrollWidth;yScroll=document.body.scrollHeight}else{xScroll=document.body.offsetWidth;yScroll=document.body.offsetHeight}var windowWidth,windowHeight;if(self.innerHeight){if(document.documentElement.clientWidth){windowWidth=document.documentElement.clientWidth}else{windowWidth=self.innerWidth}windowHeight=self.innerHeight}else if(document.documentElement&&document.documentElement.clientHeight){windowWidth=document.documentElement.clientWidth;windowHeight=document.documentElement.clientHeight}else if(document.body){windowWidth=document.body.clientWidth;windowHeight=document.body.clientHeight}if(yScroll<windowHeight){pageHeight=windowHeight}else{pageHeight=yScroll}if(xScroll<windowWidth){pageWidth=xScroll}else{pageWidth=windowWidth}arrayPageSize=new Array(pageWidth,pageHeight,windowWidth,windowHeight);return arrayPageSize}function getKey(e){if(e==null){keycode=event.keyCode}else{keycode=e.which}key=String.fromCharCode(keycode).toLowerCase();if(key=='x'){}}function listenKey(){document.onkeypress=getKey}function showSelectBoxes(){var selects=document.getElementsByTagName("select");for(i=0;i!=selects.length;i++){selects[i].style.visibility="visible"}}function hideSelectBoxes(){var selects=document.getElementsByTagName("select");for(i=0;i!=selects.length;i++){selects[i].style.visibility="hidden"}}function showFlash(){var flashObjects=document.getElementsByTagName("object");for(i=0;i<flashObjects.length;i++){flashObjects[i].style.visibility="visible"}var flashEmbeds=document.getElementsByTagName("embed");for(i=0;i<flashEmbeds.length;i++){flashEmbeds[i].style.visibility="visible"}var iframes=document.getElementsByTagName("iframe");for(i=0;i<iframes.length;i++){if(iframes[i].src.indexOf('http://www.youtube.com/embed/')>=0||iframes[i].src.indexOf('https://www.youtube.com/embed/')>=0){iframes[i].style.visibility="visible"}}}function hideFlash(){var flashObjects=document.getElementsByTagName("object");for(i=0;i<flashObjects.length;i++){flashObjects[i].style.visibility="hidden"}var flashEmbeds=document.getElementsByTagName("embed");for(i=0;i<flashEmbeds.length;i++){flashEmbeds[i].style.visibility="hidden"}var iframes=document.getElementsByTagName("iframe");for(i=0;i<iframes.length;i++){if(iframes[i].src.indexOf('http://www.youtube.com/embed/')>=0||iframes[i].src.indexOf('https://www.youtube.com/embed/')>=0){iframes[i].style.visibility="hidden"}}}function pause(ms){var date=new Date();curDate=null;do{var curDate=new Date()}while(curDate-date<ms)}var JsLightboxIsLoaded,myLightbox;function initLightbox(){myLightbox=new Lightbox();hideImageOverlays();JsLightboxIsLoaded=true}function onJsLightboxIsLoaded(sFunction){if((sFunction!='')&&(sFunction!=null)&&(JsLightboxIsLoaded!=true)){window.setTimeout('onJsLightboxIsLoaded("'+sFunction+'")',200)}if(JsLightboxIsLoaded){window.setTimeout(sFunction,20)}}function hideImageOverlays(){if(!document.getElementsByTagName){return}var divs=document.getElementsByTagName('div');for(var i=0;i<divs.length;i++){var div=divs[i];var relAttribute=String(div.getAttribute('rel'));if(relAttribute=='ImageOverlay'){div.style.display='none'}}}Event.observe(window,'load',initLightbox,false);
function blurLinks(){var elements=document.getElementsByTagName('a');if(elements!=undefined){var i;for(i=0;i<elements.length;i++){elements[i].onfocus=function(){this.blur()}}}}Event.observe(window,'load',blurLinks,false);
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":"frutiger-55-roman","font-weight":400,"font-stretch":"normal","units-per-em":"360","panose-1":"2 11 5 0 0 0 0 0 0 0","ascent":"288","descent":"-72","x-height":"4","bbox":"-9 -337 359 90","underline-thickness":"18","underline-position":"-18","unicode-range":"U+0020-U+00FF"},"glyphs":{" ":{"w":100},"!":{"d":"90,-251r-40,0r5,180r31,0xm50,0r40,0r0,-40r-40,0r0,40","w":140},"\"":{"d":"111,-163r32,0r0,-88r-32,0r0,88xm57,-163r32,0r0,-88r-32,0r0,88"},"#":{"d":"34,0r27,0r11,-75r42,0r-10,75r27,0r10,-75r39,0r0,-27r-35,0r7,-47r38,0r0,-27r-34,0r10,-75r-27,0r-10,75r-43,0r10,-75r-27,0r-10,75r-39,0r0,27r35,0r-7,47r-38,0r0,27r34,0xm118,-102r-42,0r6,-47r43,0"},"$":{"d":"89,-157v-27,-10,-33,-56,0,-64r0,64xm110,-104v33,8,31,65,0,73r0,-73xm89,-27v-24,0,-41,-4,-55,-14r-4,35v18,7,37,10,59,10r0,34r21,0r0,-36v49,-3,81,-64,53,-110v-10,-16,-35,-27,-53,-38r0,-78v19,0,33,4,46,11r5,-34v-16,-6,-33,-9,-51,-9r0,-34r-21,0r0,36v-48,2,-82,65,-49,106v11,13,30,24,49,33r0,88"},"%":{"d":"40,-184v0,42,14,71,54,72v42,0,54,-32,54,-72v0,-41,-12,-72,-54,-72v-42,0,-54,30,-54,72xm288,-86v2,25,4,65,-22,65v-25,0,-22,-37,-21,-62v1,-16,5,-31,21,-31v18,0,21,14,22,28xm89,8r26,0r156,-267r-26,0xm212,-68v0,40,14,71,54,72v42,1,54,-30,54,-72v0,-42,-12,-72,-54,-72v-42,0,-54,31,-54,72xm115,-202v1,25,5,65,-21,65v-26,0,-23,-37,-22,-62v1,-16,5,-32,22,-31v15,0,21,12,21,28","w":360},"&":{"d":"30,-66v0,76,115,90,153,42r20,24r45,0r-44,-50v16,-25,27,-47,29,-86r-34,0v-2,29,-3,44,-15,61r-51,-58v26,-12,54,-32,55,-66v1,-36,-27,-57,-62,-57v-37,1,-67,20,-66,59v1,26,12,40,26,58v-32,12,-56,32,-56,73xm117,-23v-36,0,-64,-43,-40,-73v6,-7,14,-14,26,-22r61,71v-12,11,-24,24,-47,24xm116,-153v-24,-18,-34,-74,8,-75v56,8,23,66,-8,75","w":259},"'":{"d":"34,-163r32,0r0,-88r-32,0r0,88","w":100},"(":{"d":"23,-111v0,68,27,113,59,161r33,0v-28,-49,-56,-95,-56,-161v0,-68,28,-108,56,-161r-33,0v-32,52,-59,91,-59,161","w":119},")":{"d":"96,-111v0,-69,-27,-113,-59,-161r-32,0v28,49,55,94,55,161v0,68,-27,108,-55,161r32,0v32,-52,59,-90,59,-161","w":119},"*":{"d":"129,-112r27,-18r-38,-44r56,-12r-9,-30r-53,22r5,-57r-32,0r5,57r-54,-22r-10,30r58,12r-40,44r27,18r29,-49"},"+":{"d":"17,-75r75,0r0,75r32,0r0,-75r75,0r0,-32r-75,0r0,-75r-32,0r0,75r-75,0r0,32","w":216},",":{"d":"7,48r33,0r30,-88r-40,0","w":100},"-":{"d":"14,-83r92,0r0,-28r-92,0r0,28","w":119},".":{"d":"30,0r40,0r0,-40r-40,0r0,40","w":100},"\/":{"d":"-9,4r32,0r86,-260r-32,0","w":100},"0":{"d":"100,-256v-68,0,-85,63,-85,130v0,67,17,130,85,130v67,0,85,-61,85,-130v-1,-69,-18,-130,-85,-130xm100,-25v-43,0,-47,-57,-47,-101v0,-44,4,-100,47,-100v43,0,47,56,47,100v0,46,-5,101,-47,101"},"1":{"d":"97,0r36,0r0,-251r-32,0r-62,50r19,24r39,-33r0,210"},"2":{"d":"30,-210v30,-21,110,-26,105,24v-7,76,-75,102,-117,147r0,39r159,0r0,-30r-120,0r45,-41v28,-32,69,-60,72,-113v4,-72,-87,-88,-148,-57"},"3":{"d":"137,-68v0,52,-82,50,-116,29r-3,34v62,18,157,15,157,-62v0,-38,-26,-53,-56,-63v28,-5,54,-25,54,-57v2,-72,-89,-79,-146,-57r3,32v31,-19,107,-24,105,26v-2,38,-41,42,-83,41r0,29v46,-2,85,4,85,48"},"4":{"d":"124,-87r-79,0r79,-135r0,135xm124,0r36,0r0,-57r32,0r0,-30r-32,0r0,-164r-52,0r-101,164r0,30r117,0r0,57"},"5":{"d":"179,-80v-2,-59,-54,-88,-113,-74r2,-68r104,0r0,-29r-138,0r-2,132v41,-20,109,-11,109,44v0,51,-75,62,-111,37r-1,34v65,22,153,0,150,-76"},"6":{"d":"53,-135v-5,-68,53,-111,114,-81r5,-32v-10,-3,-38,-8,-51,-8v-77,2,-101,62,-102,140v0,67,17,119,84,120v48,1,81,-35,81,-83v0,-72,-89,-104,-131,-56xm104,-129v26,0,42,25,42,51v0,29,-17,53,-45,53v-27,1,-44,-28,-44,-53v-1,-30,19,-50,47,-51"},"7":{"d":"177,-251r-159,0r0,29r122,0r-96,222r40,0r93,-222r0,-29"},"8":{"d":"14,-66v2,47,37,70,85,70v51,0,87,-21,87,-72v0,-36,-24,-56,-52,-66v28,-16,45,-29,45,-65v0,-36,-37,-57,-78,-57v-43,0,-81,23,-81,61v0,33,20,51,47,63v-28,10,-54,30,-53,66xm94,-119v24,13,54,17,54,54v1,24,-21,40,-45,40v-36,0,-66,-37,-44,-68v4,-7,26,-21,35,-26xm108,-145v-26,-14,-50,-19,-52,-45v-4,-43,85,-50,85,-4v0,28,-17,33,-33,49"},"9":{"d":"148,-117v4,68,-54,114,-115,81r-5,32v9,4,38,9,52,8v78,-1,100,-62,101,-139v1,-68,-18,-120,-84,-121v-47,-1,-81,35,-81,84v0,73,90,103,132,55xm96,-123v-26,0,-41,-25,-42,-50v0,-29,16,-53,45,-53v27,0,44,28,44,53v1,28,-18,50,-47,50"},":":{"d":"70,-184r-40,0r0,41r40,0r0,-41xm30,0r40,0r0,-40r-40,0r0,40","w":100},";":{"d":"7,48r33,0r30,-88r-40,0xm70,-184r-40,0r0,41r40,0r0,-41","w":100},"<":{"d":"199,-185r-182,80r0,28r182,80r0,-32r-141,-62r141,-62r0,-32","w":216},"=":{"d":"17,-113r182,0r0,-32r-182,0r0,32xm17,-37r182,0r0,-32r-182,0r0,32","w":216},">":{"d":"17,3r182,-80r0,-28r-182,-80r0,32r141,62r-141,62r0,32","w":216},"?":{"d":"29,-210v26,-20,98,-23,97,22v-2,51,-59,58,-53,117r34,0v-1,-56,57,-63,57,-119v0,-66,-84,-79,-137,-54xm70,0r41,0r0,-40r-41,0r0,40","w":180},"@":{"d":"178,-137v0,29,-17,57,-46,59v-19,1,-31,-14,-30,-33v2,-29,18,-54,48,-56v16,0,28,14,28,30xm71,-106v0,54,65,74,93,37v0,13,9,20,21,20v50,0,85,-43,85,-100v0,-68,-51,-107,-120,-107v-79,0,-126,49,-132,130v-9,133,180,172,240,73r-27,0v-16,18,-46,32,-78,32v-63,0,-107,-39,-105,-104v2,-64,38,-105,101,-105v58,0,96,31,96,87v0,33,-14,63,-44,67v-11,-2,-7,-13,-4,-24r24,-92r-27,0r-5,19v-41,-57,-118,0,-118,67","w":288},"A":{"d":"4,0r38,0r26,-63r123,0r25,63r40,0r-107,-251r-37,0xm179,-93r-100,0r50,-124","w":259,"k":{"y":9,"w":9,"v":9,"Y":29,"W":6,"V":13,"T":27}},"B":{"d":"186,-188v1,-72,-83,-63,-156,-63r0,251v77,0,162,9,163,-67v1,-36,-27,-57,-59,-61v31,-8,52,-24,52,-60xm154,-70v0,44,-44,41,-88,40r0,-84v46,-1,88,-1,88,44xm150,-184v1,42,-41,41,-84,40r0,-78v41,-1,84,-3,84,38","w":219},"C":{"d":"57,-126v0,-79,81,-121,149,-84r2,-35v-93,-34,-189,19,-189,118v0,104,92,152,190,122r-2,-35v-68,34,-150,-5,-150,-86","w":219},"D":{"d":"238,-128v-2,-106,-90,-133,-208,-123r0,251v119,9,211,-16,208,-128xm200,-126v1,77,-51,101,-134,94r0,-188v81,-6,133,20,134,94","w":259},"E":{"d":"34,0r141,0r0,-32r-105,0r0,-82r95,0r0,-32r-95,0r0,-74r105,0r0,-31r-141,0r0,251"},"F":{"d":"30,0r36,0r0,-114r93,0r0,-32r-93,0r0,-74r97,0r0,-31r-133,0r0,251","w":180,"k":{"A":13,".":46,",":46}},"G":{"d":"57,-126v0,-88,100,-121,166,-81r3,-36v-96,-37,-207,9,-207,116v0,113,109,153,209,120r0,-131r-89,0r0,30r53,0r0,76v-72,19,-135,-21,-135,-94","w":259},"H":{"d":"34,0r36,0r0,-114r120,0r0,114r36,0r0,-251r-36,0r0,105r-120,0r0,-105r-36,0r0,251","w":259},"I":{"d":"32,0r36,0r0,-251r-36,0r0,251","w":100},"J":{"d":"71,-76v4,41,-27,57,-63,45r0,31v52,14,99,-9,99,-65r0,-186r-36,0r0,175","w":140},"K":{"d":"34,0r36,0r0,-123r112,123r52,0r-127,-132r118,-119r-48,0r-107,110r0,-110r-36,0r0,251","w":240},"L":{"d":"32,0r141,0r0,-32r-105,0r0,-219r-36,0r0,251","w":180,"k":{"y":13,"Y":33,"W":13,"V":27,"T":20}},"M":{"d":"32,0r36,0r1,-217r83,217r36,0r83,-217r0,217r36,0r0,-251r-59,0r-77,209r-79,-209r-60,0r0,251","w":339},"N":{"d":"32,0r36,0r0,-207r114,207r46,0r0,-251r-36,0r0,202r-111,-202r-49,0r0,251","w":259},"O":{"d":"140,-27v-57,0,-83,-42,-83,-99v0,-57,27,-98,83,-98v56,0,83,41,83,98v0,57,-26,99,-83,99xm140,-256v-79,0,-121,51,-121,130v0,79,41,130,121,130v80,0,121,-51,121,-130v0,-79,-42,-130,-121,-130","w":280},"P":{"d":"152,-176v0,42,-40,47,-86,44r0,-88v44,-2,86,3,86,44xm190,-176v1,-80,-80,-77,-160,-75r0,251r36,0r0,-100v69,3,123,-10,124,-76","k":{"A":13,".":46,",":46}},"Q":{"d":"140,-27v-57,0,-83,-42,-83,-99v0,-57,27,-98,83,-98v56,0,83,41,83,98v0,57,-26,99,-83,99xm19,-126v0,86,49,137,141,129r47,43r45,0r-59,-52v42,-18,68,-62,68,-120v0,-79,-42,-130,-121,-130v-79,0,-121,51,-121,130","w":280},"R":{"d":"189,-183v0,-78,-82,-68,-159,-68r0,251r36,0r0,-112v33,0,53,-1,64,25r38,87r41,0v-19,-38,-35,-83,-58,-117v-2,-4,-10,-5,-14,-9v28,-5,52,-25,52,-57xm151,-183v-1,37,-43,43,-85,40r0,-77v41,-1,85,-1,85,37","w":219,"k":{"Y":6,"V":6,"T":6}},"S":{"d":"55,-190v1,-43,63,-39,91,-23r5,-34v-56,-21,-134,-5,-134,60v0,76,108,55,108,119v0,49,-69,46,-102,28r-3,34v69,30,170,-7,138,-94v-13,-37,-65,-46,-92,-68v-7,-6,-11,-13,-11,-22","w":180},"T":{"d":"82,0r36,0r0,-220r78,0r0,-31r-192,0r0,31r78,0r0,220","k":{"y":27,"w":27,"u":27,"s":27,"r":27,"o":27,"i":13,"e":27,"c":27,"a":27,"A":20,";":33,":":33,".":33,"-":27,",":33}},"U":{"d":"130,4v64,0,98,-42,98,-108r0,-147r-36,0v-7,87,30,224,-62,224v-92,0,-54,-137,-62,-224r-36,0r0,147v0,66,34,108,98,108","w":259},"V":{"d":"238,-251r-38,0r-80,219r-78,-219r-40,0r95,251r45,0","w":240,"k":{"y":4,"u":11,"r":11,"o":18,"i":6,"e":13,"a":18,"A":13,";":20,":":20,".":33,"-":13,",":33}},"W":{"d":"77,0r48,0r56,-220r54,220r47,0r77,-251r-38,0r-61,215r-54,-215r-51,0r-55,215r-60,-215r-39,0","w":360,"k":{"u":4,"r":4,"o":11,"e":11,"a":6,"A":6,";":13,":":13,".":20,"-":6,",":20}},"X":{"d":"3,0r43,0r72,-107r74,107r45,0r-93,-131r85,-120r-41,0r-67,96r-67,-96r-43,0r84,120","w":240},"Y":{"d":"102,0r36,0r0,-105r98,-146r-42,0r-73,112r-75,-112r-42,0r98,146r0,105","w":240,"k":{"v":18,"u":28,"q":31,"p":24,"o":35,"i":13,"e":27,"a":27,"A":20,";":33,":":33,".":46,"-":27,",":46}},"Z":{"d":"12,0r173,0r0,-32r-132,0r130,-187r0,-32r-167,0r0,31r126,0r-130,188r0,32"},"[":{"d":"34,50r68,0r0,-25r-36,0r0,-272r36,0r0,-25r-68,0r0,322","w":119},"\\":{"d":"77,4r32,0r-86,-260r-32,0","w":100},"]":{"d":"86,-272r-68,0r0,25r36,0r0,272r-36,0r0,25r68,0r0,-322","w":119},"^":{"d":"22,-106r32,0r54,-112r54,112r32,0r-71,-145r-30,0","w":216},"_":{"d":"0,27r0,18r180,0r0,-18r-180,0","w":180},"`":{"d":"42,-261r-39,0r47,52r24,0","w":100},"a":{"d":"173,0v-5,-88,21,-188,-75,-188v-21,0,-42,5,-61,17r2,29v27,-27,108,-30,99,29v-61,-2,-117,3,-121,60v-5,67,102,71,124,29r0,24r32,0xm53,-53v1,-37,49,-36,85,-34v4,40,-15,64,-51,64v-17,0,-35,-11,-34,-30"},"b":{"d":"124,-188v-30,0,-49,12,-61,30r0,-112r-34,0r0,270r32,0v1,-8,-2,-20,1,-26v10,16,35,31,63,30v55,-2,78,-43,78,-99v0,-53,-25,-92,-79,-93xm117,-161v36,0,51,29,50,68v-1,36,-14,70,-50,70v-37,0,-54,-31,-54,-68v0,-39,16,-70,54,-70","w":219},"c":{"d":"50,-92v0,-53,45,-84,95,-61r3,-28v-69,-23,-134,15,-134,89v0,73,66,113,136,89r-3,-30v-44,26,-97,-3,-97,-59","w":159},"d":{"d":"95,4v29,1,52,-15,64,-30r0,26r32,0r0,-270r-34,0r0,112v-12,-18,-31,-30,-61,-30v-54,1,-79,40,-79,93v0,56,23,97,78,99xm103,-23v-36,0,-49,-34,-50,-70v-1,-39,14,-68,50,-68v38,0,54,31,54,70v0,37,-17,68,-54,68","w":219},"e":{"d":"17,-95v-7,87,84,120,153,87r0,-33v-24,16,-76,28,-99,1v-10,-11,-18,-24,-18,-44r131,0v-1,-60,-20,-104,-81,-104v-55,0,-82,37,-86,93xm53,-109v-2,-43,53,-70,82,-37v8,10,13,22,13,37r-95,0"},"f":{"d":"135,-272v-63,-11,-92,21,-84,88r-43,0r0,28r43,0r0,156r34,0r0,-156r48,0r0,-28r-48,0v-4,-42,5,-73,49,-61","w":140,"k":{"f":6}},"g":{"d":"31,67v69,28,160,12,160,-75r0,-176r-31,0v-1,9,2,21,-1,28v-10,-21,-29,-32,-60,-32v-56,1,-82,43,-82,98v0,54,26,88,78,90v27,0,50,-12,62,-28v4,48,-14,81,-57,81v-30,0,-42,-6,-66,-17xm157,-90v1,33,-21,63,-53,63v-67,0,-68,-134,0,-134v35,0,53,34,53,71","w":219},"h":{"d":"122,-188v-28,1,-48,13,-59,31r0,-113r-34,0r0,270r34,0v1,-69,-13,-161,55,-161v61,0,33,101,39,161r34,0v-2,-83,20,-193,-69,-188","w":219},"i":{"d":"33,0r34,0r0,-184r-34,0r0,184xm69,-263r-38,0r0,38r38,0r0,-38","w":100},"j":{"d":"33,12v1,26,-11,44,-38,37v0,17,-8,33,20,31v42,-4,52,-31,52,-74r0,-190r-34,0r0,196xm69,-263r-38,0r0,38r38,0r0,-38","w":100},"k":{"d":"29,0r34,0r0,-94r82,94r48,0r-96,-102r86,-82r-47,0r-73,75r0,-161r-34,0r0,270"},"l":{"d":"33,0r34,0r0,-270r-34,0r0,270","w":100},"m":{"d":"171,-152v-13,-47,-92,-44,-111,-5r0,-27r-32,0r0,184r34,0v3,-67,-16,-157,49,-161v55,9,24,104,32,161r34,0v3,-66,-17,-156,48,-161v56,8,25,104,33,161r34,0v-4,-80,24,-192,-64,-188v-24,1,-48,16,-57,36","w":320},"n":{"d":"122,-188v-27,0,-51,15,-60,34r0,-30r-33,0r0,184r34,0v1,-69,-13,-161,55,-161v61,0,33,101,39,161r34,0v-2,-83,20,-188,-69,-188","w":219},"o":{"d":"110,-188v-59,0,-93,37,-93,96v0,58,36,96,93,96v58,0,93,-38,93,-96v0,-59,-34,-96,-93,-96xm110,-23v-39,0,-57,-30,-57,-69v0,-38,19,-69,57,-69v38,0,57,31,57,69v0,39,-18,69,-57,69","w":219},"p":{"d":"124,-188v-29,-1,-51,15,-63,30r0,-26r-32,0r0,260r34,0r0,-101v12,18,32,29,62,29v55,0,78,-43,78,-99v0,-53,-25,-92,-79,-93xm117,-161v36,0,51,29,50,68v-1,36,-14,70,-50,70v-37,0,-54,-31,-54,-68v0,-39,16,-70,54,-70","w":219},"q":{"d":"95,4v27,0,52,-11,62,-28r0,100r34,0r0,-260r-32,0v-1,8,2,21,-1,27v-10,-17,-34,-32,-62,-31v-54,1,-79,40,-79,93v0,56,23,97,78,99xm103,-23v-36,0,-49,-34,-50,-70v-1,-39,14,-68,50,-68v38,0,54,31,54,70v0,37,-17,68,-54,68","w":219},"r":{"d":"131,-185v-33,-11,-59,8,-71,30r0,-29r-31,0r0,184r34,0v0,-72,-13,-175,68,-155r0,-30","w":140,"k":{".":33,"-":6,",":33}},"s":{"d":"92,-49v-2,34,-57,29,-77,13r-2,30v43,22,115,9,115,-47v0,-56,-71,-43,-80,-85v1,-29,50,-26,68,-13r3,-30v-47,-17,-107,-3,-107,50v0,52,72,41,80,82","w":140},"t":{"d":"129,-30v-21,15,-51,4,-51,-26r0,-100r48,0r0,-28r-48,0r0,-53r-34,11r0,42r-41,0r0,28r41,0v4,68,-21,160,56,160v11,0,21,-3,29,-5r0,-29","w":140},"u":{"d":"98,4v27,0,51,-14,60,-33r0,29r33,0r0,-184r-34,0v-1,69,14,161,-55,161v-61,0,-33,-101,-39,-161r-34,0v2,83,-20,188,69,188","w":219},"v":{"d":"176,-184r-34,0r-51,150r-50,-150r-37,0r66,184r40,0","w":180,"k":{".":27,",":27}},"w":{"d":"296,-184r-34,0r-45,152r-46,-152r-40,0r-47,152r-43,-152r-37,0r59,184r40,0r47,-154r47,154r40,0","w":299,"k":{".":20,",":20}},"x":{"d":"4,0r40,0r45,-72r46,72r41,0r-64,-96r59,-88r-38,0r-41,66r-40,-66r-42,0r60,88","w":180},"y":{"d":"65,-12v16,30,-11,76,-50,62r-2,27v59,15,79,-29,94,-73r67,-188r-34,0r-51,152r-49,-152r-37,0","w":180,"k":{".":27,",":27}},"z":{"d":"15,0r150,0r0,-27r-110,0r106,-127r0,-30r-140,0r0,28r100,0r-106,126r0,30","w":180},"{":{"d":"43,-111v72,-8,-13,-143,70,-136r0,-25v-40,-4,-69,9,-69,45v0,43,11,103,-31,104r0,25v41,1,31,61,31,103v0,36,29,50,69,45r0,-25v-77,17,1,-125,-70,-136","w":119},"|":{"d":"24,-270r0,360r32,0r0,-360r-32,0","w":79},"}":{"d":"77,-111v-72,8,13,143,-70,136r0,25v40,4,69,-9,69,-45v0,-43,-11,-102,31,-103r0,-25v-40,-1,-30,-61,-31,-104v0,-36,-29,-50,-69,-45r0,25v77,-17,-1,125,70,136","w":119},"~":{"d":"69,-89v38,14,100,47,122,-6r-13,-25v-9,14,-14,25,-31,26v-39,-11,-100,-48,-122,7r13,25v9,-14,14,-25,31,-27","w":216},"\u00a1":{"d":"86,-113r-31,0r-5,181r40,0xm50,-143r40,0r0,-41r-40,0r0,41","w":140},"\u00a2":{"d":"88,-39v-38,-34,-17,-123,35,-121xm131,-188v-106,-13,-129,143,-52,180r-16,56r20,0r14,-48v22,6,53,6,71,-3r-2,-30v-15,8,-41,14,-61,6r38,-132v7,1,14,3,21,6r3,-28v-3,-1,-9,-2,-17,-4r13,-43r-20,0"},"\u00a3":{"d":"184,-249v-75,-24,-141,17,-130,103r-28,0r0,21r28,0r0,93r-33,0r0,32r158,0r0,-32r-89,0r0,-93r58,0r0,-21r-58,0v-11,-63,42,-95,91,-69"},"\u00a4":{"d":"29,-179v-24,23,-24,81,0,106r-20,20r18,19r20,-21v23,24,84,25,107,0r20,21r18,-19r-20,-20v22,-23,23,-83,0,-106r20,-19r-18,-19r-20,20v-25,-23,-83,-24,-107,0r-20,-20r-18,19xm100,-66v-35,0,-58,-25,-58,-60v0,-34,22,-59,58,-59v36,0,58,26,58,59v0,35,-23,60,-58,60"},"\u00a5":{"d":"82,0r36,0r0,-58r51,0r0,-21r-51,0v1,-11,-2,-25,3,-32r48,0r0,-21r-36,0r65,-119r-40,0r-57,112r-59,-112r-40,0r66,119r-36,0r0,21r48,0v4,8,1,21,2,32r-50,0r0,21r50,0r0,58"},"\u00a6":{"d":"24,-243r0,126r32,0r0,-126r-32,0xm24,-63r0,126r32,0r0,-126r-32,0","w":79},"\u00a7":{"d":"138,-18v0,45,-73,36,-103,21r-3,33v55,19,140,10,139,-55v0,-19,-11,-33,-23,-41v30,-13,36,-67,6,-84v-24,-21,-82,-18,-88,-55v3,-37,64,-29,90,-17r3,-33v-56,-15,-125,-7,-127,52v0,19,8,34,25,43v-35,16,-32,65,-6,85v24,19,79,18,87,51xm129,-71v-24,-11,-67,-14,-67,-46v0,-12,4,-21,13,-28v24,13,79,18,64,60v-2,4,-6,9,-10,14"},"\u00a8":{"d":"4,-212r33,0r0,-36r-33,0r0,36xm63,-212r33,0r0,-36r-33,0r0,36","w":100},"\u00a9":{"d":"73,-126v0,84,125,114,137,23r-27,0v-2,19,-15,31,-36,31v-29,0,-46,-24,-46,-54v0,-53,72,-74,82,-24r27,0v-3,-32,-30,-54,-64,-54v-44,-1,-73,34,-73,78xm144,-256v-78,0,-130,52,-130,130v0,78,52,130,130,130v78,0,130,-52,130,-130v0,-78,-52,-130,-130,-130xm144,-21v-60,0,-98,-42,-98,-105v0,-62,37,-104,98,-104v61,0,98,42,98,104v0,63,-38,105,-98,105","w":288},"\u00aa":{"d":"121,-143v-2,-59,10,-113,-56,-113v-15,0,-29,3,-42,10r1,23v18,-14,67,-22,67,12v-40,-1,-81,1,-83,37v-2,39,66,45,83,18r0,13r30,0xm38,-173v0,-22,31,-20,53,-19v3,24,-9,31,-32,31v-10,0,-21,-3,-21,-12","w":129},"\u00ab":{"d":"70,-24r32,0r-47,-73r47,-73r-32,0r-52,73xm143,-24r31,0r-47,-73r47,-73r-31,0r-52,73"},"\u00ac":{"d":"17,-113r150,0r0,76r32,0r0,-108r-182,0r0,32","w":216},"\u00ad":{"d":"17,-75r182,0r0,-32r-182,0r0,32","w":216},"\u2212":{"d":"17,-75r182,0r0,-32r-182,0r0,32","w":216},"\u00ae":{"d":"14,-126v0,78,52,130,130,130v78,0,130,-52,130,-130v0,-78,-52,-130,-130,-130v-78,0,-130,52,-130,130xm242,-126v0,63,-38,105,-98,105v-60,0,-98,-42,-98,-105v0,-62,37,-104,98,-104v61,0,98,42,98,104xm203,-157v0,-52,-59,-43,-109,-43r0,147r27,0r0,-63r17,0r38,63r28,0r-39,-64v23,-3,38,-15,38,-40xm176,-159v0,28,-29,21,-55,22r0,-42v24,0,55,-4,55,20","w":288},"\u00af":{"d":"-3,-221r106,0r0,-21r-106,0r0,21","w":100},"\u00b0":{"d":"72,-256v-27,0,-51,25,-51,52v0,27,24,51,51,51v27,0,51,-24,51,-51v0,-27,-24,-52,-51,-52xm72,-176v-15,0,-28,-13,-28,-28v0,-15,14,-29,28,-29v15,0,28,14,28,29v0,15,-13,28,-28,28","w":144},"\u00b1":{"d":"17,-98r75,0r0,53r32,0r0,-53r75,0r0,-31r-75,0r0,-53r-32,0r0,53r-75,0r0,31xm17,0r182,0r0,-32r-182,0r0,32","w":216},"\u00b2":{"d":"85,-211v-10,40,-48,58,-74,82r0,27r108,0r0,-25r-72,0v26,-19,66,-46,69,-85v4,-47,-63,-52,-100,-35r2,27v17,-12,63,-18,67,9","w":129},"\u00b3":{"d":"86,-213v-2,18,-30,22,-53,20r0,25v25,-1,52,2,54,24v-4,27,-54,21,-72,12r-3,27v43,11,106,11,107,-37v2,-25,-19,-34,-38,-39v18,-3,36,-14,36,-34v0,-44,-65,-48,-100,-33r2,26v22,-10,61,-15,67,9","w":129},"\u00b4":{"d":"26,-209r24,0r48,-52r-40,0","w":100},"\u00b5":{"d":"63,-3v32,17,85,2,95,-26r0,29r33,0r0,-184r-34,0v-1,69,14,161,-55,161v-61,0,-33,-101,-39,-161r-34,0r0,260r34,0r0,-79","w":219},"\u00b6":{"d":"7,-184v0,40,34,65,78,64r0,160r32,0r0,-266r41,0r0,266r32,0r0,-291v-81,1,-185,-16,-183,67","w":216},"\u00b7":{"d":"50,-130v-12,0,-21,9,-21,21v0,12,9,21,21,21v12,0,21,-9,21,-21v0,-12,-9,-21,-21,-21","w":100},"\u2219":{"d":"50,-130v-12,0,-21,9,-21,21v0,12,9,21,21,21v12,0,21,-9,21,-21v0,-12,-9,-21,-21,-21","w":100},"\u00b8":{"d":"114,47v0,-20,-21,-30,-42,-25r17,-22r-17,0r-23,31v6,13,38,-5,37,18v-1,22,-28,19,-43,11r-7,12v27,16,78,8,78,-25","w":100},"\u00b9":{"d":"55,-102r32,0r0,-151r-29,0r-40,30r12,17r25,-20r0,124","w":129},"\u00ba":{"d":"9,-198v0,32,29,58,62,58v35,0,63,-25,62,-58v-1,-34,-26,-58,-62,-58v-35,0,-62,24,-62,58xm71,-161v-24,0,-32,-15,-32,-37v-1,-21,12,-37,32,-37v22,0,33,15,33,37v0,22,-9,37,-33,37","w":142},"\u00bb":{"d":"130,-170r-31,0r46,73r-46,73r31,0r52,-73xm58,-170r-32,0r47,73r-47,73r32,0r51,-73"},"\u00bc":{"d":"51,8r26,0r156,-267r-26,0xm49,-102r32,0r0,-151r-29,0r-40,30r12,17r25,-20r0,124xm238,-55r-47,0r47,-72r0,72xm238,0r32,0r0,-30r18,0r0,-25r-18,0r0,-97r-42,0r-66,100r0,22r76,0r0,30","w":300},"\u00bd":{"d":"40,8r26,0r156,-267r-26,0xm49,-102r32,0r0,-151r-29,0r-40,30r12,17r25,-20r0,124xm254,-109v-10,38,-47,58,-73,82r0,27r107,0r0,-25v-23,-1,-50,2,-71,-1v26,-19,66,-46,69,-85v4,-46,-63,-51,-100,-34r2,27v17,-12,63,-19,66,9","w":300},"\u00be":{"d":"67,8r26,0r156,-267r-26,0xm86,-213v-2,18,-30,22,-53,20r0,25v25,-1,52,2,54,24v-4,27,-54,21,-72,12r-3,27v43,11,106,11,107,-37v2,-25,-19,-34,-38,-39v18,-3,36,-14,36,-34v0,-44,-65,-48,-100,-33r2,26v22,-10,61,-15,67,9xm238,-55r-47,0r47,-72r0,72xm238,0r32,0r0,-30r18,0r0,-25r-18,0r0,-97r-42,0r-66,100r0,22r76,0r0,30","w":300},"\u00bf":{"d":"151,26v-26,20,-99,23,-97,-22v2,-50,59,-59,53,-117r-34,0v1,57,-57,63,-57,119v0,66,83,79,137,54xm110,-184r-41,0r0,41r41,0r0,-41","w":180},"\u00c0":{"d":"122,-321r-40,0r48,51r24,0xm4,0r38,0r26,-63r123,0r25,63r40,0r-107,-251r-37,0xm179,-93r-100,0r50,-124","w":259},"\u00c1":{"d":"106,-270r24,0r47,-51r-39,0xm4,0r38,0r26,-63r123,0r25,63r40,0r-107,-251r-37,0xm179,-93r-100,0r50,-124","w":259},"\u00c2":{"d":"78,-270r28,0r24,-35r23,35r29,0r-36,-51r-33,0xm4,0r38,0r26,-63r123,0r25,63r40,0r-107,-251r-37,0xm179,-93r-100,0r50,-124","w":259},"\u00c3":{"d":"175,-312v-13,51,-98,-48,-106,41r16,0v13,-51,97,48,106,-41r-16,0xm4,0r38,0r26,-63r123,0r25,63r40,0r-107,-251r-37,0xm179,-93r-100,0r50,-124","w":259},"\u00c4":{"d":"84,-272r33,0r0,-36r-33,0r0,36xm143,-272r33,0r0,-36r-33,0r0,36xm4,0r38,0r26,-63r123,0r25,63r40,0r-107,-251r-37,0xm179,-93r-100,0r50,-124","w":259},"\u00c5":{"d":"167,-300v0,-20,-17,-37,-37,-37v-20,0,-37,17,-37,37v0,20,17,37,37,37v20,0,37,-17,37,-37xm108,-300v0,-12,9,-22,22,-22v12,0,22,9,22,22v0,11,-11,22,-22,22v-12,0,-22,-9,-22,-22xm4,0r38,0r26,-63r123,0r25,63r40,0r-107,-251r-37,0xm179,-93r-100,0r50,-124","w":259},"\u00c6":{"d":"1,0r40,0r37,-63r107,0r4,63r125,0r0,-32r-92,0r-5,-82r87,0r0,-32r-88,0r-5,-74r100,0r0,-31r-158,0xm184,-93r-88,0r80,-133","w":339},"\u00c7":{"d":"57,-126v0,-79,81,-121,149,-84r2,-35v-93,-34,-189,19,-189,118v0,72,44,122,108,130v-5,12,-28,24,-15,35v13,-6,32,-3,32,11v0,22,-29,19,-44,11r-6,12v26,16,78,8,77,-25v0,-19,-20,-30,-41,-25v7,-6,7,-19,22,-18v22,1,42,-1,57,-9r-2,-35v-68,34,-150,-5,-150,-86","w":219},"\u00c8":{"d":"92,-321r-39,0r47,51r24,0xm34,0r141,0r0,-32r-105,0r0,-82r95,0r0,-32r-95,0r0,-74r105,0r0,-31r-141,0r0,251"},"\u00c9":{"d":"76,-270r24,0r48,-51r-40,0xm34,0r141,0r0,-32r-105,0r0,-82r95,0r0,-32r-95,0r0,-74r105,0r0,-31r-141,0r0,251"},"\u00ca":{"d":"48,-270r28,0r24,-35r23,35r29,0r-36,-51r-32,0xm34,0r141,0r0,-32r-105,0r0,-82r95,0r0,-32r-95,0r0,-74r105,0r0,-31r-141,0r0,251"},"\u00cb":{"d":"54,-272r33,0r0,-36r-33,0r0,36xm113,-272r34,0r0,-36r-34,0r0,36xm34,0r141,0r0,-32r-105,0r0,-82r95,0r0,-32r-95,0r0,-74r105,0r0,-31r-141,0r0,251"},"\u00cc":{"d":"42,-321r-39,0r47,51r24,0xm32,0r36,0r0,-251r-36,0r0,251","w":100},"\u00cd":{"d":"26,-270r24,0r48,-51r-40,0xm32,0r36,0r0,-251r-36,0r0,251","w":100},"\u00ce":{"d":"-2,-270r28,0r24,-35r23,35r29,0r-36,-51r-33,0xm32,0r36,0r0,-251r-36,0r0,251","w":100},"\u00cf":{"d":"4,-272r33,0r0,-36r-33,0r0,36xm63,-272r33,0r0,-36r-33,0r0,36xm32,0r36,0r0,-251r-36,0r0,251","w":100},"\u00d0":{"d":"200,-126v2,77,-51,101,-134,94r0,-91r66,0r0,-23r-66,0r0,-74v82,-7,132,22,134,94xm238,-128v-2,-106,-90,-133,-208,-123r0,105r-25,0r0,23r25,0r0,123v119,9,211,-16,208,-128","w":259},"\u00d1":{"d":"175,-312v-13,51,-98,-48,-106,41r16,0v13,-51,97,48,106,-41r-16,0xm32,0r36,0r0,-207r114,207r46,0r0,-251r-36,0r0,202r-111,-202r-49,0r0,251","w":259},"\u00d2":{"d":"132,-321r-39,0r47,51r24,0xm140,-27v-57,0,-83,-42,-83,-99v0,-57,27,-98,83,-98v56,0,83,41,83,98v0,57,-26,99,-83,99xm140,-256v-79,0,-121,51,-121,130v0,79,41,130,121,130v80,0,121,-51,121,-130v0,-79,-42,-130,-121,-130","w":280},"\u00d3":{"d":"116,-270r24,0r48,-51r-40,0xm140,-27v-57,0,-83,-42,-83,-99v0,-57,27,-98,83,-98v56,0,83,41,83,98v0,57,-26,99,-83,99xm140,-256v-79,0,-121,51,-121,130v0,79,41,130,121,130v80,0,121,-51,121,-130v0,-79,-42,-130,-121,-130","w":280},"\u00d4":{"d":"88,-270r28,0r24,-35r23,35r29,0r-36,-51r-33,0xm140,-27v-57,0,-83,-42,-83,-99v0,-57,27,-98,83,-98v56,0,83,41,83,98v0,57,-26,99,-83,99xm140,-256v-79,0,-121,51,-121,130v0,79,41,130,121,130v80,0,121,-51,121,-130v0,-79,-42,-130,-121,-130","w":280},"\u00d5":{"d":"185,-312v-13,51,-98,-48,-106,41r16,0v13,-51,97,48,106,-41r-16,0xm140,-27v-57,0,-83,-42,-83,-99v0,-57,27,-98,83,-98v56,0,83,41,83,98v0,57,-26,99,-83,99xm140,-256v-79,0,-121,51,-121,130v0,79,41,130,121,130v80,0,121,-51,121,-130v0,-79,-42,-130,-121,-130","w":280},"\u00d6":{"d":"94,-272r33,0r0,-36r-33,0r0,36xm153,-272r33,0r0,-36r-33,0r0,36xm140,-27v-57,0,-83,-42,-83,-99v0,-57,27,-98,83,-98v56,0,83,41,83,98v0,57,-26,99,-83,99xm140,-256v-79,0,-121,51,-121,130v0,79,41,130,121,130v80,0,121,-51,121,-130v0,-79,-42,-130,-121,-130","w":280},"\u00d7":{"d":"86,-91r-62,61r23,22r61,-61r61,61r23,-22r-62,-61r62,-61r-23,-23r-61,62r-61,-62r-23,23","w":216},"\u00d8":{"d":"77,-58v-47,-64,-7,-197,92,-161v8,3,16,7,23,13xm19,-126v0,42,13,76,35,98r-20,26r14,10r19,-26v20,15,44,22,73,22v80,-1,121,-51,121,-130v0,-42,-13,-75,-36,-96r20,-26r-13,-10r-19,25v-21,-15,-45,-23,-73,-23v-79,2,-121,51,-121,130xm203,-193v39,55,20,166,-63,166v-21,0,-37,-6,-51,-18","w":280},"\u00d9":{"d":"122,-321r-40,0r48,51r24,0xm130,4v64,0,98,-42,98,-108r0,-147r-36,0v-7,87,30,224,-62,224v-92,0,-54,-137,-62,-224r-36,0r0,147v0,66,34,108,98,108","w":259},"\u00da":{"d":"106,-270r24,0r47,-51r-39,0xm130,4v64,0,98,-42,98,-108r0,-147r-36,0v-7,87,30,224,-62,224v-92,0,-54,-137,-62,-224r-36,0r0,147v0,66,34,108,98,108","w":259},"\u00db":{"d":"78,-270r28,0r24,-35r23,35r29,0r-36,-51r-33,0xm130,4v64,0,98,-42,98,-108r0,-147r-36,0v-7,87,30,224,-62,224v-92,0,-54,-137,-62,-224r-36,0r0,147v0,66,34,108,98,108","w":259},"\u00dc":{"d":"84,-272r33,0r0,-36r-33,0r0,36xm143,-272r33,0r0,-36r-33,0r0,36xm130,4v64,0,98,-42,98,-108r0,-147r-36,0v-7,87,30,224,-62,224v-92,0,-54,-137,-62,-224r-36,0r0,147v0,66,34,108,98,108","w":259},"\u00dd":{"d":"96,-270r25,0r47,-51r-39,0xm102,0r36,0r0,-105r98,-146r-42,0r-73,112r-75,-112r-42,0r98,146r0,105","w":240},"\u00de":{"d":"190,-139v0,-67,-54,-79,-124,-76r0,-36r-36,0r0,251r36,0r0,-64v69,4,124,-10,124,-75xm152,-140v0,43,-40,48,-86,45r0,-88v44,-2,86,3,86,43"},"\u00df":{"d":"117,-274v-125,-5,-80,162,-88,274r34,0r0,-176v0,-40,12,-70,51,-71v24,-1,40,21,40,44v1,36,-21,47,-56,47r0,27v40,0,68,12,68,52v1,41,-41,63,-79,46r0,28v61,19,115,-16,115,-75v0,-35,-25,-62,-54,-67v28,-9,42,-29,42,-59v-1,-44,-30,-68,-73,-70","w":219},"\u00e0":{"d":"92,-261r-39,0r47,52r24,0xm173,0v-5,-88,21,-188,-75,-188v-21,0,-42,5,-61,17r2,29v27,-27,108,-30,99,29v-61,-2,-117,3,-121,60v-5,67,102,71,124,29r0,24r32,0xm53,-53v1,-37,49,-36,85,-34v4,40,-15,64,-51,64v-17,0,-35,-11,-34,-30"},"\u00e1":{"d":"76,-209r24,0r48,-52r-40,0xm173,0v-5,-88,21,-188,-75,-188v-21,0,-42,5,-61,17r2,29v27,-27,108,-30,99,29v-61,-2,-117,3,-121,60v-5,67,102,71,124,29r0,24r32,0xm53,-53v1,-37,49,-36,85,-34v4,40,-15,64,-51,64v-17,0,-35,-11,-34,-30"},"\u00e2":{"d":"48,-209r28,0r24,-35r23,35r29,0r-36,-52r-32,0xm173,0v-5,-88,21,-188,-75,-188v-21,0,-42,5,-61,17r2,29v27,-27,108,-30,99,29v-61,-2,-117,3,-121,60v-5,67,102,71,124,29r0,24r32,0xm53,-53v1,-37,49,-36,85,-34v4,40,-15,64,-51,64v-17,0,-35,-11,-34,-30"},"\u00e3":{"d":"145,-251v-13,48,-98,-47,-106,40r16,0v14,-51,96,48,106,-40r-16,0xm173,0v-5,-88,21,-188,-75,-188v-21,0,-42,5,-61,17r2,29v27,-27,108,-30,99,29v-61,-2,-117,3,-121,60v-5,67,102,71,124,29r0,24r32,0xm53,-53v1,-37,49,-36,85,-34v4,40,-15,64,-51,64v-17,0,-35,-11,-34,-30"},"\u00e4":{"d":"54,-212r33,0r0,-36r-33,0r0,36xm113,-212r34,0r0,-36r-34,0r0,36xm173,0v-5,-88,21,-188,-75,-188v-21,0,-42,5,-61,17r2,29v27,-27,108,-30,99,29v-61,-2,-117,3,-121,60v-5,67,102,71,124,29r0,24r32,0xm53,-53v1,-37,49,-36,85,-34v4,40,-15,64,-51,64v-17,0,-35,-11,-34,-30"},"\u00e5":{"d":"137,-239v0,-20,-17,-37,-37,-37v-20,0,-37,17,-37,37v0,20,17,36,37,36v19,0,37,-17,37,-36xm78,-239v0,-13,10,-23,22,-23v12,0,22,10,22,23v0,11,-11,23,-22,22v-12,0,-22,-10,-22,-22xm173,0v-5,-88,21,-188,-75,-188v-21,0,-42,5,-61,17r2,29v27,-27,108,-30,99,29v-61,-2,-117,3,-121,60v-5,67,102,71,124,29r0,24r32,0xm53,-53v1,-37,49,-36,85,-34v4,40,-15,64,-51,64v-17,0,-35,-11,-34,-30"},"\u00e6":{"d":"161,-156v-17,-39,-92,-39,-124,-14r2,28v31,-28,107,-27,102,30v-61,-4,-124,0,-126,58v-2,71,125,76,139,15v12,45,89,53,132,31r0,-34v-21,21,-73,27,-94,1v-11,-12,-17,-26,-17,-43r130,0v-1,-59,-20,-104,-80,-104v-30,1,-53,11,-64,32xm87,-23v-19,0,-37,-10,-36,-30v3,-39,49,-36,90,-34v0,37,-19,64,-54,64xm175,-109v-5,-54,77,-71,91,-19v2,6,3,13,3,19r-94,0","w":320},"\u00e7":{"d":"50,-92v0,-53,45,-84,95,-61r3,-28v-69,-23,-137,15,-134,89v2,54,32,85,76,95v-5,12,-28,24,-15,35v13,-6,32,-3,32,11v0,22,-29,19,-44,11r-6,12v26,16,78,8,77,-25v0,-19,-20,-30,-41,-25v5,-6,8,-14,14,-18v16,0,32,-1,43,-7r-3,-30v-44,26,-97,-3,-97,-59","w":159},"\u00e8":{"d":"92,-261r-39,0r47,52r24,0xm17,-95v-7,87,84,120,153,87r0,-33v-24,16,-76,28,-99,1v-10,-11,-18,-24,-18,-44r131,0v-1,-60,-20,-104,-81,-104v-55,0,-82,37,-86,93xm53,-109v-2,-43,53,-70,82,-37v8,10,13,22,13,37r-95,0"},"\u00e9":{"d":"76,-209r24,0r48,-52r-40,0xm17,-95v-7,87,84,120,153,87r0,-33v-24,16,-76,28,-99,1v-10,-11,-18,-24,-18,-44r131,0v-1,-60,-20,-104,-81,-104v-55,0,-82,37,-86,93xm53,-109v-2,-43,53,-70,82,-37v8,10,13,22,13,37r-95,0"},"\u00ea":{"d":"48,-209r28,0r24,-35r23,35r29,0r-36,-52r-32,0xm17,-95v-7,87,84,120,153,87r0,-33v-24,16,-76,28,-99,1v-10,-11,-18,-24,-18,-44r131,0v-1,-60,-20,-104,-81,-104v-55,0,-82,37,-86,93xm53,-109v-2,-43,53,-70,82,-37v8,10,13,22,13,37r-95,0"},"\u00eb":{"d":"54,-212r33,0r0,-36r-33,0r0,36xm113,-212r34,0r0,-36r-34,0r0,36xm17,-95v-7,87,84,120,153,87r0,-33v-24,16,-76,28,-99,1v-10,-11,-18,-24,-18,-44r131,0v-1,-60,-20,-104,-81,-104v-55,0,-82,37,-86,93xm53,-109v-2,-43,53,-70,82,-37v8,10,13,22,13,37r-95,0"},"\u00ec":{"d":"42,-261r-39,0r47,52r24,0xm33,0r34,0r0,-184r-34,0r0,184","w":100},"\u00ed":{"d":"26,-209r24,0r48,-52r-40,0xm33,0r34,0r0,-184r-34,0r0,184","w":100},"\u00ee":{"d":"-2,-209r28,0r24,-35r23,35r29,0r-36,-52r-33,0xm33,0r34,0r0,-184r-34,0r0,184","w":100},"\u00ef":{"d":"4,-212r33,0r0,-36r-33,0r0,36xm63,-212r33,0r0,-36r-33,0r0,36xm33,0r34,0r0,-184r-34,0r0,184","w":100},"\u00f0":{"d":"110,-23v-39,0,-57,-30,-57,-69v0,-38,19,-69,57,-69v38,0,57,31,57,69v0,39,-18,69,-57,69xm203,-92v1,-66,-32,-113,-71,-143r37,-20r-16,-19r-44,23v-15,-9,-32,-17,-50,-23r-26,19v17,6,32,13,45,21r-39,21r16,19r47,-25v14,11,31,26,38,39v-63,-26,-126,20,-123,88v2,58,36,96,93,96v58,0,92,-38,93,-96","w":219},"\u00f1":{"d":"155,-251v-13,48,-98,-47,-106,40r17,0v13,-50,95,48,105,-40r-16,0xm122,-188v-27,0,-51,15,-60,34r0,-30r-33,0r0,184r34,0v1,-69,-13,-161,55,-161v61,0,33,101,39,161r34,0v-2,-83,20,-188,-69,-188","w":219},"\u00f2":{"d":"102,-261r-39,0r47,52r24,0xm110,-188v-59,0,-93,37,-93,96v0,58,36,96,93,96v58,0,93,-38,93,-96v0,-59,-34,-96,-93,-96xm110,-23v-39,0,-57,-30,-57,-69v0,-38,19,-69,57,-69v38,0,57,31,57,69v0,39,-18,69,-57,69","w":219},"\u00f3":{"d":"86,-209r25,0r47,-52r-40,0xm110,-188v-59,0,-93,37,-93,96v0,58,36,96,93,96v58,0,93,-38,93,-96v0,-59,-34,-96,-93,-96xm110,-23v-39,0,-57,-30,-57,-69v0,-38,19,-69,57,-69v38,0,57,31,57,69v0,39,-18,69,-57,69","w":219},"\u00f4":{"d":"58,-209r28,0r24,-35r24,35r28,0r-36,-52r-32,0xm110,-188v-59,0,-93,37,-93,96v0,58,36,96,93,96v58,0,93,-38,93,-96v0,-59,-34,-96,-93,-96xm110,-23v-39,0,-57,-30,-57,-69v0,-38,19,-69,57,-69v38,0,57,31,57,69v0,39,-18,69,-57,69","w":219},"\u00f5":{"d":"155,-251v-13,48,-98,-47,-106,40r17,0v13,-50,95,48,105,-40r-16,0xm110,-188v-59,0,-93,37,-93,96v0,58,36,96,93,96v58,0,93,-38,93,-96v0,-59,-34,-96,-93,-96xm110,-23v-39,0,-57,-30,-57,-69v0,-38,19,-69,57,-69v38,0,57,31,57,69v0,39,-18,69,-57,69","w":219},"\u00f6":{"d":"64,-212r34,0r0,-36r-34,0r0,36xm123,-212r34,0r0,-36r-34,0r0,36xm110,-188v-59,0,-93,37,-93,96v0,58,36,96,93,96v58,0,93,-38,93,-96v0,-59,-34,-96,-93,-96xm110,-23v-39,0,-57,-30,-57,-69v0,-38,19,-69,57,-69v38,0,57,31,57,69v0,39,-18,69,-57,69","w":219},"\u00f7":{"d":"17,-75r182,0r0,-32r-182,0r0,32xm108,-193v-13,0,-27,14,-27,27v0,15,13,29,28,28v33,-1,34,-55,-1,-55xm108,-44v-15,0,-27,13,-27,27v-1,14,13,28,28,28v14,0,27,-15,27,-28v0,-14,-15,-27,-28,-27","w":216},"\u00f8":{"d":"64,-49v-24,-41,-7,-113,46,-112v14,0,25,5,35,14xm154,-136v27,41,11,114,-44,113v-15,0,-27,-5,-37,-14xm110,-188v-89,0,-119,113,-66,165r-21,25r11,9r20,-25v16,12,35,18,56,18v88,0,120,-114,66,-166r19,-24r-11,-9r-19,24v-15,-11,-33,-17,-55,-17","w":219},"\u00f9":{"d":"102,-261r-39,0r47,52r24,0xm98,4v27,0,51,-14,60,-33r0,29r33,0r0,-184r-34,0v-1,69,14,161,-55,161v-61,0,-33,-101,-39,-161r-34,0v2,83,-20,188,69,188","w":219},"\u00fa":{"d":"86,-209r25,0r47,-52r-40,0xm98,4v27,0,51,-14,60,-33r0,29r33,0r0,-184r-34,0v-1,69,14,161,-55,161v-61,0,-33,-101,-39,-161r-34,0v2,83,-20,188,69,188","w":219},"\u00fb":{"d":"58,-209r28,0r24,-35r24,35r28,0r-36,-52r-32,0xm98,4v27,0,51,-14,60,-33r0,29r33,0r0,-184r-34,0v-1,69,14,161,-55,161v-61,0,-33,-101,-39,-161r-34,0v2,83,-20,188,69,188","w":219},"\u00fc":{"d":"64,-212r34,0r0,-36r-34,0r0,36xm123,-212r34,0r0,-36r-34,0r0,36xm98,4v27,0,51,-14,60,-33r0,29r33,0r0,-184r-34,0v-1,69,14,161,-55,161v-61,0,-33,-101,-39,-161r-34,0v2,83,-20,188,69,188","w":219},"\u00fd":{"d":"66,-209r24,0r48,-52r-40,0xm65,-12v16,30,-11,76,-50,62r-2,27v59,15,79,-29,94,-73r67,-188r-34,0r-51,152r-49,-152r-37,0","w":180},"\u00fe":{"d":"124,-188v-30,0,-49,12,-61,30r0,-112r-34,0r0,346r34,0r0,-101v12,18,32,29,62,29v55,0,78,-43,78,-99v0,-53,-25,-92,-79,-93xm117,-161v36,0,51,29,50,68v-1,36,-14,70,-50,70v-37,0,-54,-31,-54,-68v0,-39,16,-70,54,-70","w":219},"\u00ff":{"d":"44,-212r33,0r0,-36r-33,0r0,36xm103,-212r33,0r0,-36r-33,0r0,36xm65,-12v16,30,-11,76,-50,62r-2,27v59,15,79,-29,94,-73r67,-188r-34,0r-51,152r-49,-152r-37,0","w":180},"\u00a0":{"w":100}}});
Cufon.registerFont({"w":200,"face":{"font-family":"frutigerlt-45-light","font-weight":400,"font-stretch":"normal","units-per-em":"360","panose-1":"2 11 5 0 0 0 0 0 0 0","ascent":"288","descent":"-72","x-height":"4","bbox":"-11 -328 337 90","underline-thickness":"36.72","underline-position":"-55.44","unicode-range":"U+0020-U+00FF"},"glyphs":{" ":{"w":100},"!":{"d":"85,-251r-30,0r5,190r20,0xm55,0r30,0r0,-30r-30,0r0,30","w":140},"\"":{"d":"64,-173r23,0r0,-78r-23,0r0,78xm113,-173r23,0r0,-78r-23,0r0,78"},"#":{"d":"39,0r21,0r12,-79r46,0r-11,79r22,0r11,-79r38,0r0,-19r-35,0r8,-55r37,0r0,-19r-35,0r12,-79r-22,0r-12,79r-46,0r11,-79r-22,0r-11,79r-41,0r0,19r38,0r-8,55r-40,0r0,19r38,0xm121,-98r-46,0r7,-55r47,0"},"$":{"d":"111,-111v41,12,47,80,0,90r0,-90xm93,-149v-43,-10,-52,-77,0,-83r0,83xm159,-247v-12,-6,-32,-9,-48,-9r0,-22r-18,0r0,24v-34,6,-62,27,-62,64v0,37,37,54,62,69r0,103v-23,3,-45,-4,-59,-14r-3,26v14,8,37,10,62,10r0,28r18,0r0,-30v31,-8,61,-29,60,-69v-1,-43,-32,-55,-60,-72r0,-95v18,0,33,3,45,9"},"%":{"d":"265,-132v-40,0,-57,28,-57,67v0,38,18,68,57,68v39,0,57,-29,57,-68v0,-40,-17,-67,-57,-67xm265,-17v-25,0,-34,-22,-34,-48v0,-25,8,-48,34,-48v28,-1,35,23,35,48v0,26,-9,48,-35,48xm95,-254v-40,0,-57,28,-57,68v0,39,18,67,57,67v39,0,57,-28,57,-67v0,-40,-17,-68,-57,-68xm95,-139v-27,0,-35,-22,-35,-47v0,-26,8,-48,35,-48v27,0,34,23,34,48v0,25,-7,48,-34,47xm95,8r21,0r149,-267r-21,0","w":360},"&":{"d":"18,-66v-1,79,117,90,159,37r26,28r32,0r-43,-46v19,-27,28,-57,28,-91r-21,0v0,28,-7,53,-22,76r-66,-73v27,-17,59,-26,60,-69v1,-34,-27,-52,-59,-52v-34,0,-67,20,-67,55v0,28,19,46,32,62v-31,11,-59,33,-59,73xm163,-44v-25,40,-120,41,-120,-23v0,-29,25,-49,47,-58xm98,-148v-11,-13,-29,-29,-29,-51v0,-24,18,-35,42,-37v39,-3,46,50,20,69v-11,8,-22,13,-33,19","w":240},"'":{"d":"39,-173r23,0r0,-78r-23,0r0,78","w":100},"(":{"d":"15,-111v0,68,34,116,62,161r15,0v-23,-45,-54,-97,-54,-161v0,-64,32,-116,54,-161r-15,0v-28,44,-62,94,-62,161","w":100},")":{"d":"85,-111v0,-67,-33,-117,-62,-161r-15,0v24,45,53,97,54,161v0,64,-30,116,-54,161r15,0v29,-46,62,-93,62,-161","w":100},"*":{"d":"90,-251r2,55r-53,-20r-6,21r53,15r-34,42r18,14r30,-47r31,47r18,-14r-35,-42r53,-15r-7,-21r-52,20r3,-55r-21,0"},"+":{"d":"17,-79r78,0r0,79r25,0r0,-79r79,0r0,-25r-79,0r0,-79r-25,0r0,79r-78,0r0,25","w":216},",":{"d":"19,48r23,0r29,-78r-31,0","w":100},"-":{"d":"15,-85r90,0r0,-24r-90,0r0,24","w":119},".":{"d":"35,0r29,0r0,-30r-29,0r0,30","w":100},"\/":{"d":"-11,4r25,0r97,-260r-25,0","w":100},"0":{"d":"42,-126v0,-50,6,-106,58,-106v51,0,58,54,58,106v1,53,-8,107,-58,107v-51,0,-58,-56,-58,-107xm183,-126v0,-64,-17,-128,-83,-128v-66,0,-82,65,-82,128v0,66,16,129,82,129v68,0,83,-63,83,-129"},"1":{"d":"44,-204r14,16r41,-35r0,223r24,0r0,-251r-22,0"},"2":{"d":"31,-214v35,-26,111,-28,105,27v-8,72,-78,116,-118,165r0,22r151,0r0,-22r-120,0v40,-49,106,-92,114,-166v7,-71,-86,-79,-136,-49"},"3":{"d":"146,-192v0,47,-46,50,-92,51r0,21v47,-1,92,1,92,48v0,59,-80,61,-125,41r-3,23v63,25,152,8,153,-62v0,-34,-20,-59,-53,-61v29,-7,52,-28,53,-61v2,-67,-88,-72,-141,-50r2,23v38,-20,114,-22,114,27"},"4":{"d":"128,-80r-97,0r97,-146r0,146xm8,-58r120,0r0,58r25,0r0,-58r37,0r0,-22r-37,0r0,-171r-32,0r-113,169r0,24"},"5":{"d":"176,-81v0,-62,-59,-84,-117,-68r2,-81r104,0r0,-21r-129,0r-2,126v49,-16,117,-11,117,49v0,58,-75,70,-120,44r0,26v67,24,145,1,145,-75"},"6":{"d":"20,-117v2,66,15,120,80,120v51,0,79,-33,83,-83v6,-81,-104,-104,-138,-48v-6,-76,54,-124,126,-96r3,-24v-97,-27,-157,37,-154,131xm47,-81v1,-34,22,-56,57,-56v35,1,54,21,54,59v0,35,-22,59,-57,59v-34,0,-54,-29,-54,-62"},"7":{"d":"50,0r27,0r97,-230r0,-21r-153,0r0,21r129,0"},"8":{"d":"100,-254v-35,1,-76,19,-76,59v0,34,27,52,51,64v-31,10,-59,26,-58,67v0,90,169,88,167,0v0,-41,-27,-56,-60,-67v21,-12,51,-31,51,-64v0,-41,-36,-60,-75,-59xm100,-121v26,11,57,20,59,54v2,34,-28,46,-59,48v-47,4,-81,-54,-40,-83v11,-9,26,-14,40,-19xm100,-140v-20,-10,-50,-22,-51,-53v-1,-26,26,-37,51,-39v42,-4,68,45,34,71v-10,8,-22,15,-34,21"},"9":{"d":"180,-135v-3,-65,-14,-119,-80,-119v-51,0,-82,33,-82,83v0,80,102,102,138,48v6,73,-55,125,-127,96r-2,24v96,27,157,-37,153,-132xm153,-170v0,34,-23,56,-57,56v-36,0,-54,-20,-54,-59v0,-34,20,-59,57,-59v36,0,53,29,54,62"},":":{"d":"64,-184r-29,0r0,31r29,0r0,-31xm35,0r29,0r0,-30r-29,0r0,30","w":100},";":{"d":"19,48r23,0r29,-78r-31,0xm64,-184r-29,0r0,31r29,0r0,-31","w":100},"<":{"d":"199,-185r-182,83r0,22r182,83r0,-24r-155,-70r155,-70r0,-24","w":216},"=":{"d":"17,-115r182,0r0,-25r-182,0r0,25xm17,-42r182,0r0,-25r-182,0r0,25","w":216},">":{"d":"17,3r182,-83r0,-22r-182,-83r0,24r155,70r-155,70r0,24","w":216},"?":{"d":"153,-191v2,-62,-68,-77,-122,-56r1,23v35,-16,98,-16,96,33v-2,61,-64,63,-60,130r23,0v-2,-64,61,-69,62,-130xm66,0r29,0r0,-30r-29,0r0,30","w":180},"@":{"d":"181,-146v-1,33,-22,74,-59,76v-16,0,-25,-11,-26,-34v-2,-37,26,-74,56,-74v18,0,29,12,29,32xm195,-70v-11,-2,-7,-16,-4,-26r31,-98r-23,0r-7,22v-9,-19,-23,-28,-40,-28v-49,-1,-83,51,-83,98v0,55,71,70,93,32v3,15,13,22,29,22v40,0,81,-48,81,-99v0,-70,-61,-108,-128,-109v-79,-1,-130,58,-130,130v0,73,52,132,130,130v54,-1,93,-21,117,-61r-22,0v-21,26,-53,40,-95,40v-61,0,-106,-48,-106,-109v0,-61,45,-108,106,-108v55,0,105,31,104,87v-1,37,-17,74,-53,77","w":288},"A":{"d":"5,0r24,0r27,-67r127,0r27,67r25,0r-99,-251r-28,0xm120,-228r54,139r-109,0","w":240},"B":{"d":"168,-189v0,-69,-71,-63,-139,-62r0,251v74,2,147,0,147,-72v0,-36,-26,-52,-54,-60v30,-6,46,-25,46,-57xm151,-71v-1,48,-48,50,-97,49r0,-98v50,-1,98,-1,97,49xm143,-188v0,46,-43,48,-89,47r0,-89v45,-1,89,-3,89,42"},"C":{"d":"45,-126v0,-85,81,-131,158,-97r2,-23v-93,-35,-184,22,-184,120v0,100,90,155,184,120r-2,-22v-77,34,-158,-12,-158,-98","w":240},"D":{"d":"54,-230v85,-6,140,19,138,103v-1,79,-50,111,-138,105r0,-208xm217,-126v-1,-79,-41,-127,-126,-125r-62,0r0,251v109,6,190,-22,188,-126","w":240},"E":{"d":"31,0r127,0r0,-22r-102,0r0,-96r93,0r0,-22r-93,0r0,-90r98,0r0,-21r-123,0r0,251","w":180},"F":{"d":"28,0r25,0r0,-118r90,0r0,-22r-90,0r0,-90r94,0r0,-21r-119,0r0,251","w":159},"G":{"d":"23,-126v0,109,106,158,205,115r0,-125r-83,0r0,22r58,0r0,88v-78,30,-155,-15,-155,-100v0,-89,89,-133,166,-95r3,-23v-94,-38,-194,15,-194,118","w":259},"H":{"d":"32,0r25,0r0,-118r127,0r0,118r24,0r0,-251r-24,0r0,111r-127,0r0,-111r-25,0r0,251","w":240},"I":{"d":"28,0r25,0r0,-251r-25,0r0,251","w":79},"J":{"d":"5,0v49,16,85,-15,85,-65r0,-186r-25,0r0,187v4,36,-27,57,-60,42r0,22","w":119},"K":{"d":"34,0r25,0r0,-126r122,126r34,0r-132,-133r121,-118r-32,0r-113,112r0,-112r-25,0r0,251","w":219},"L":{"d":"29,0r125,0r0,-22r-100,0r0,-229r-25,0r0,251","w":159},"M":{"d":"31,0r25,0r1,-226r94,226r21,0r92,-226r0,226r25,0r0,-251r-36,0r-92,221r-92,-221r-38,0r0,251","w":320},"N":{"d":"28,0r25,0r0,-217r126,217r33,0r0,-251r-24,0r-1,221r-128,-221r-31,0r0,251","w":240},"O":{"d":"130,-256v-73,0,-110,59,-111,130v0,75,37,130,111,130v73,0,110,-55,110,-130v0,-72,-37,-130,-110,-130xm130,-17v-84,0,-108,-120,-65,-183v14,-22,36,-33,65,-34v58,-1,86,53,86,108v0,56,-29,109,-86,109","w":259},"P":{"d":"56,-109v64,5,115,-12,115,-71v0,-72,-66,-75,-140,-71r0,251r25,0r0,-109xm146,-180v0,48,-42,51,-90,50r0,-100v49,-3,90,0,90,50","w":180},"Q":{"d":"19,-126v0,82,44,139,131,129r45,44r33,0r-53,-51v43,-20,64,-61,65,-122v0,-72,-37,-130,-110,-130v-73,0,-110,59,-111,130xm130,-17v-84,0,-108,-120,-65,-183v14,-22,36,-33,65,-34v58,-1,86,53,86,108v0,56,-29,109,-86,109","w":259},"R":{"d":"145,-186v-2,42,-43,48,-88,46r0,-90v44,0,90,-5,88,44xm114,-127v27,-7,56,-24,56,-59v0,-69,-67,-68,-138,-65r0,251r25,0r0,-118v38,-1,55,-1,69,33r36,85r28,0r-55,-118v-4,-5,-11,-8,-21,-9"},"S":{"d":"136,-69v8,58,-77,62,-112,37r-2,26v60,29,168,-3,134,-85v-18,-44,-78,-49,-105,-83v-26,-52,50,-75,95,-51r4,-22v-54,-22,-131,-3,-129,57v3,71,106,59,115,121","w":180},"T":{"d":"78,0r25,0r0,-230r74,0r0,-21r-173,0r0,21r74,0r0,230","w":180},"U":{"d":"120,4v56,0,91,-30,91,-92r0,-163r-25,0v-8,92,34,234,-66,234v-99,0,-58,-143,-66,-234r-25,0r0,163v1,59,34,92,91,92","w":240},"V":{"d":"218,-251r-25,0r-84,226r-81,-226r-26,0r94,251r26,0","w":219},"W":{"d":"337,-251r-24,0r-64,223r-63,-223r-30,0r-65,223r-62,-223r-26,0r72,251r30,0r66,-223r63,223r30,0","w":339},"X":{"d":"3,0r28,0r80,-114r76,114r30,0r-91,-132r85,-119r-28,0r-71,101r-71,-101r-29,0r84,119","w":219},"Y":{"d":"98,0r24,0r0,-107r94,-144r-27,0r-79,122r-77,-122r-29,0r94,144r0,107","w":219},"Z":{"d":"8,0r161,0r0,-22r-134,0r130,-208r0,-21r-154,0r0,21r128,0r-131,208r0,22","w":180},"[":{"d":"25,50r58,0r0,-17r-35,0r0,-288r35,0r0,-17r-58,0r0,322","w":100},"\\":{"d":"14,-256r-25,0r97,260r25,0","w":100},"]":{"d":"75,-272r-58,0r0,17r36,0r0,288r-36,0r0,17r58,0r0,-322","w":100},"^":{"d":"18,-95r26,0r64,-131r64,131r26,0r-78,-156r-24,0","w":216},"_":{"d":"0,27r0,18r180,0r0,-18r-180,0","w":180},"`":{"d":"27,-258r-28,0r45,52r16,0","w":79},"a":{"d":"14,-48v-4,59,101,69,119,18v3,7,0,21,1,30r22,0v-10,-73,25,-188,-66,-188v-19,0,-37,5,-54,13r0,22v39,-25,106,-23,96,41v-60,-1,-114,6,-118,64xm39,-48v2,-42,47,-45,93,-45v2,46,-10,78,-55,78v-22,-1,-39,-11,-38,-33","w":180},"b":{"d":"107,-188v-30,0,-48,17,-58,35r0,-117r-23,0r0,270r23,0v1,-9,-2,-22,1,-29v12,23,31,33,57,33v52,1,76,-43,76,-96v0,-55,-21,-96,-76,-96xm103,-168v43,0,55,34,55,76v0,42,-14,77,-55,77v-39,0,-54,-40,-54,-77v0,-36,13,-76,54,-76"},"c":{"d":"40,-92v0,-60,54,-93,108,-67r2,-22v-69,-24,-135,16,-135,89v0,72,60,114,135,90r-2,-21v-55,26,-108,-11,-108,-69","w":159},"d":{"d":"18,-92v0,53,23,96,75,96v27,0,44,-12,58,-33r0,29r23,0r0,-270r-23,0r-1,117v-6,-16,-29,-35,-57,-35v-55,0,-75,41,-75,96xm97,-15v-41,0,-55,-36,-55,-77v0,-40,12,-77,55,-76v41,0,54,36,54,76v0,37,-14,77,-54,77"},"e":{"d":"15,-92v0,56,24,97,83,96v18,0,37,-4,54,-10r0,-23v-26,14,-79,23,-97,-7v-9,-14,-15,-29,-15,-49r125,0v2,-57,-18,-103,-73,-103v-50,0,-78,44,-77,96xm40,-105v-7,-48,62,-88,90,-44v7,12,10,27,10,44r-100,0","w":180},"f":{"d":"114,-271v-56,-16,-77,26,-70,87r-37,0r0,20r37,0r0,164r23,0r0,-164r41,0r0,-20r-41,0v-3,-40,0,-86,45,-67","w":119},"g":{"d":"95,-19v-38,0,-53,-37,-53,-73v0,-40,12,-76,55,-76v43,0,54,32,54,76v0,37,-18,73,-56,73xm88,78v120,3,79,-152,86,-262r-23,0v-1,6,2,16,-1,21v-14,-20,-27,-25,-57,-25v-55,-1,-76,41,-75,96v1,52,24,91,77,92v25,1,42,-14,57,-36v0,54,-9,95,-64,94v-21,0,-39,-5,-54,-13r-2,23v13,4,36,10,56,10"},"h":{"d":"109,-188v-28,0,-47,18,-58,35r0,-117r-23,0r0,270r23,0v3,-72,-18,-167,54,-168v70,-1,36,104,44,168r23,0v-5,-79,24,-188,-63,-188"},"i":{"d":"28,0r23,0r0,-184r-23,0r0,184xm51,-263r-23,0r0,30r23,0r0,-30","w":79},"j":{"d":"28,23v4,27,-12,41,-38,33r0,20v36,9,61,-10,61,-50r0,-210r-23,0r0,207xm51,-263r-23,0r0,30r23,0r0,-30","w":79},"k":{"d":"28,0r23,0r0,-94r91,94r31,0r-100,-102r89,-82r-29,0r-82,76r0,-162r-23,0r0,270","w":180},"l":{"d":"28,0r23,0r0,-270r-23,0r0,270","w":79},"m":{"d":"162,-102v-14,-69,88,-95,88,-20r0,122r23,0v-5,-77,25,-189,-58,-188v-31,0,-50,17,-59,39v-4,-25,-22,-38,-49,-39v-32,-1,-46,17,-57,36v-3,-8,0,-22,-1,-32r-22,0r1,184r23,0v2,-68,-17,-166,49,-168v28,0,39,16,39,46r0,122r23,0r0,-102","w":299},"n":{"d":"109,-188v-34,0,-48,17,-60,37r0,-33r-22,0r1,184r23,0v3,-70,-19,-168,54,-168v69,1,37,105,44,168r23,0v-5,-79,24,-188,-63,-188"},"o":{"d":"100,-188v-56,0,-86,42,-86,96v0,53,30,96,86,96v57,0,86,-42,86,-96v0,-54,-29,-96,-86,-96xm100,-15v-40,0,-61,-36,-61,-77v0,-41,19,-76,61,-76v41,0,61,34,61,76v0,42,-21,77,-61,77"},"p":{"d":"107,-188v-33,0,-48,19,-59,38r1,-34r-23,0r0,260r23,0r1,-107v10,24,29,35,57,35v52,1,76,-43,76,-96v0,-55,-21,-96,-76,-96xm103,-168v43,-1,55,34,55,76v0,42,-14,77,-55,77v-72,0,-74,-153,0,-153"},"q":{"d":"18,-92v0,53,23,96,75,96v29,0,46,-13,58,-35r0,107r23,0r0,-260r-23,0v-1,9,2,23,-1,30v-10,-18,-26,-34,-57,-34v-55,0,-75,41,-75,96xm97,-15v-41,0,-55,-36,-55,-77v0,-40,12,-77,55,-76v41,0,54,36,54,76v0,37,-14,77,-54,77"},"r":{"d":"113,-186v-33,-9,-54,15,-63,38r0,-36r-23,0r1,184r23,0v4,-70,-20,-175,62,-162r0,-24","w":119},"s":{"d":"103,-48v0,40,-61,38,-89,21r-2,23v47,16,116,11,116,-44v0,-53,-59,-53,-87,-79v-13,-23,8,-41,36,-41v14,0,28,2,41,8r2,-20v-42,-16,-108,-10,-105,42v2,55,88,39,88,90","w":140},"t":{"d":"111,-19v-22,11,-45,-1,-45,-26r0,-119r42,0r0,-20r-42,0r0,-52r-23,8r0,44r-36,0r0,20r36,0v5,72,-28,195,70,163","w":119},"u":{"d":"91,4v33,0,49,-17,60,-37r0,33r22,0r-1,-184r-23,0v-3,71,19,169,-54,169v-67,0,-38,-105,-44,-169r-23,0v4,80,-23,188,63,188"},"v":{"d":"157,-184r-24,0r-54,159r-51,-159r-25,0r63,184r26,0","w":159},"w":{"d":"278,-184r-23,0r-52,159r-48,-159r-28,0r-51,159r-49,-159r-24,0r59,184r27,0r51,-159r50,159r27,0","w":280},"x":{"d":"3,0r26,0r52,-79r48,79r28,0r-63,-97r57,-87r-26,0r-44,69r-44,-69r-28,0r58,87","w":159},"y":{"d":"28,-184r-25,0r65,186v-6,30,-16,67,-54,53r-2,20v42,13,60,-18,71,-48r74,-211r-24,0r-53,153","w":159},"z":{"d":"12,0r136,0r0,-19r-110,0r110,-145r0,-20r-132,0r0,20r106,0r-110,145r0,19","w":159},"{":{"d":"98,-255r0,-17v-62,-11,-56,47,-56,104v0,24,-7,48,-28,48r0,18v67,8,-23,167,84,152r0,-17v-72,13,1,-128,-64,-144v64,-17,-9,-152,64,-144","w":100},"|":{"d":"28,-270r0,360r25,0r0,-360r-25,0","w":79},"}":{"d":"66,-111v-53,12,-9,125,-46,144r-18,0r0,17v36,4,56,-10,56,-43v0,-42,-11,-104,28,-109r0,-18v-68,-8,24,-167,-84,-152r0,17v49,-10,34,51,34,92v0,27,13,43,30,52","w":100},"~":{"d":"38,-66v28,-70,118,50,153,-32r-13,-19v-7,12,-15,26,-31,27v-32,-6,-73,-45,-106,-16v-7,7,-12,14,-16,22","w":216},"\u00a0":{"w":100},"\u00a1":{"d":"55,68r30,0r-5,-191r-20,0xm85,-184r-30,0r0,31r30,0r0,-31","w":140},"\u00a2":{"d":"86,-30v-47,-38,-28,-146,46,-138xm139,-187v-105,-22,-136,140,-61,180r-13,40r17,0r11,-34v23,8,54,6,78,-1r-3,-21v-21,9,-48,12,-68,2r48,-145r21,7r2,-22v-3,-1,-9,-2,-17,-4r9,-27r-16,0"},"\u00a3":{"d":"140,-254v-65,0,-80,45,-79,110r-33,0r0,19r33,0r0,103r-37,0r0,22r151,0r0,-22r-89,0r0,-103r60,0r0,-19r-60,0v-1,-48,5,-89,54,-88v16,-1,29,2,37,8r3,-22v-7,-5,-20,-8,-40,-8"},"\u00a4":{"d":"30,-180v-25,26,-26,80,0,109r-20,20r15,16r21,-20v29,26,80,25,109,0r19,20r16,-16r-19,-20v24,-31,24,-78,0,-109r19,-20r-16,-16r-19,20v-31,-25,-78,-25,-109,0r-21,-20r-15,16xm165,-126v0,36,-28,68,-65,68v-37,0,-64,-30,-64,-68v0,-36,28,-66,64,-67v37,-1,65,31,65,67"},"\u00a5":{"d":"88,0r25,0r0,-63r52,0r0,-17r-52,0v1,-9,-1,-21,1,-29r51,0r0,-18r-42,0r70,-124r-25,0r-68,121r-66,-121r-27,0r70,124r-41,0r0,18v16,2,39,-3,52,2r0,27r-52,0r0,17r52,0r0,63"},"\u00a6":{"d":"28,-243r0,126r25,0r0,-126r-25,0xm28,-63r0,126r25,0r0,-126r-25,0","w":79},"\u00a7":{"d":"59,-206v3,-38,64,-34,90,-21r3,-21v-45,-15,-119,-10,-118,46v0,21,15,34,30,41v-26,14,-46,60,-14,85v26,20,67,25,89,47v21,53,-59,65,-102,41r-3,21v53,19,132,15,134,-48v0,-21,-13,-35,-28,-42v13,-14,27,-24,27,-49v-1,-64,-98,-46,-108,-100xm66,-138v15,-30,49,4,69,13v19,17,5,50,-13,59v-23,-13,-65,-14,-65,-47v0,-10,3,-18,9,-25"},"\u00a8":{"d":"57,-217r27,0r0,-31r-27,0r0,31xm-4,-217r27,0r0,-31r-27,0r0,31","w":79},"\u00a9":{"d":"144,-15v-61,0,-105,-50,-105,-111v0,-62,44,-110,105,-110v60,0,105,48,105,110v0,61,-45,111,-105,111xm71,-126v0,45,31,83,78,81v34,-1,55,-19,64,-56r-22,0v-4,20,-18,37,-42,37v-32,0,-53,-29,-53,-62v0,-64,83,-85,95,-27r21,0v-4,-34,-29,-53,-64,-54v-48,0,-78,33,-77,81xm144,-256v-71,0,-130,59,-130,130v-1,70,59,130,130,130v72,0,130,-59,130,-130v0,-72,-58,-130,-130,-130","w":288},"\u00aa":{"d":"9,-172v-3,40,68,41,77,12v3,3,0,12,1,17r18,0v-5,-46,15,-117,-43,-113v-14,1,-26,4,-37,8r0,16v22,-11,67,-17,61,20v-40,-1,-74,2,-77,40xm27,-174v1,-21,33,-24,59,-23v2,28,-6,42,-34,42v-14,0,-25,-6,-25,-19","w":117},"\u00ab":{"d":"104,-171r-21,0r-50,74r50,74r21,0r-47,-74xm167,-171r-21,0r-50,74r50,74r21,0r-47,-74"},"\u00ac":{"d":"17,-115r157,0r0,74r25,0r0,-99r-182,0r0,25","w":216},"\u00ad":{"d":"15,-85r90,0r0,-24r-90,0r0,24","w":119},"\u00ae":{"d":"144,-256v-71,0,-130,59,-130,130v-1,70,59,130,130,130v72,0,130,-59,130,-130v0,-72,-58,-130,-130,-130xm144,-15v-61,0,-105,-50,-105,-111v0,-62,44,-110,105,-110v60,0,105,48,105,110v0,61,-45,111,-105,111xm166,-117v24,0,37,-18,39,-42v3,-51,-61,-43,-111,-43r0,152r25,0r0,-67r21,0r43,67r26,0xm180,-160v0,30,-33,23,-61,24r0,-47v28,1,61,-5,61,23","w":288},"\u00af":{"d":"-4,-221r88,0r0,-19r-88,0r0,19","w":79},"\u00b0":{"d":"33,-200v1,-23,17,-37,39,-37v23,0,39,13,39,37v0,19,-18,36,-39,36v-19,0,-40,-17,-39,-36xm129,-200v0,-31,-26,-54,-57,-54v-31,0,-57,23,-57,54v0,31,26,53,57,53v31,0,57,-22,57,-53","w":144},"\u00b1":{"d":"17,-97r78,0r0,61r25,0r0,-61r79,0r0,-25r-79,0r0,-61r-25,0r0,61r-78,0r0,25xm17,0r182,0r0,-25r-182,0r0,25","w":216},"\u00b2":{"d":"25,-226v22,-14,67,-19,67,15v0,45,-50,67,-76,94r0,15r98,0r0,-18r-71,0v27,-25,67,-45,70,-92v3,-46,-58,-50,-91,-32","w":129},"\u00b3":{"d":"94,-215v0,26,-31,26,-58,26r0,18v25,1,61,-2,59,26v-2,34,-53,32,-81,20r-2,19v40,13,103,7,104,-37v1,-22,-15,-35,-35,-38v18,-3,33,-15,34,-35v0,-44,-60,-43,-95,-31r1,19v21,-11,73,-17,73,13","w":129},"\u00b4":{"d":"19,-206r17,0r45,-52r-28,0","w":79},"\u00b5":{"d":"95,-15v-67,0,-38,-105,-44,-169r-23,0r0,260r23,0r0,-82v37,22,89,6,100,-27r0,33r22,0r-1,-184r-23,0v-3,71,19,169,-54,169"},"\u00b6":{"d":"17,-182v2,39,35,67,75,67r0,154r23,0r0,-271r48,0r0,271r23,0r0,-290v-79,-1,-173,-10,-169,69","w":216},"\u00b7":{"d":"50,-129v-9,0,-17,7,-17,17v0,10,8,17,17,17v10,0,17,-6,17,-17v0,-11,-7,-17,-17,-17","w":100},"\u2219":{"d":"50,-129v-9,0,-17,7,-17,17v0,10,8,17,17,17v10,0,17,-6,17,-17v0,-11,-7,-17,-17,-17","w":100},"\u00b8":{"d":"78,42v1,-20,-18,-27,-38,-23r7,-19r-10,0r-10,31v12,-3,30,-4,29,11v-1,23,-41,11,-51,3r-2,14v21,9,74,17,75,-17","w":79},"\u00b9":{"d":"84,-254v-31,-3,-38,19,-56,29r8,12r27,-21r0,132r21,0r0,-152","w":129},"\u00ba":{"d":"65,-256v-37,0,-54,25,-57,59v-5,54,72,75,101,39v29,-36,11,-98,-44,-98xm65,-155v-23,0,-38,-19,-38,-42v0,-24,14,-43,38,-43v25,0,38,18,38,43v0,24,-13,42,-38,42","w":129},"\u00bb":{"d":"96,-23r21,0r50,-74r-50,-74r-21,0r48,74xm33,-23r21,0r50,-74r-50,-74r-21,0r48,74"},"\u00bc":{"d":"47,8r20,0r160,-267r-21,0xm81,-254v-31,-3,-37,19,-55,29r7,12r28,-21r0,132r20,0r0,-152xm234,-50r-58,0r58,-77r0,77xm155,-33r79,0r0,33r21,0r0,-33r20,0r0,-17r-20,0r0,-102r-25,0r-75,102r0,17","w":300},"\u00bd":{"d":"42,8r21,0r159,-267r-20,0xm77,-254v-31,-3,-38,19,-56,29r8,12r28,-21r0,132r20,0r0,-152xm190,-123v21,-14,67,-20,67,14v0,45,-50,67,-76,94r0,15r98,0r0,-17r-71,0v26,-27,67,-45,70,-93v3,-46,-59,-50,-91,-31","w":300},"\u00be":{"d":"75,8r20,0r160,-267r-21,0xm241,-50r-58,0r58,-77r0,77xm162,-33r79,0r0,33r20,0r0,-33r21,0r0,-17r-21,0r0,-102r-24,0r-75,102r0,17xm101,-215v0,26,-32,26,-59,26r0,18v26,1,62,-3,60,26v-2,33,-53,32,-81,20r-2,19v40,13,102,8,103,-37v1,-24,-15,-35,-35,-38v19,-3,35,-15,35,-35v0,-43,-60,-43,-95,-31r1,19v21,-11,73,-17,73,13","w":300},"\u00bf":{"d":"27,8v0,62,69,76,122,55r-1,-23v-34,16,-98,15,-96,-32v2,-61,64,-63,60,-131r-23,0v3,66,-62,67,-62,131xm114,-184r-29,0r0,31r29,0r0,-31","w":180},"\u00c0":{"d":"5,0r24,0r27,-67r127,0r27,67r25,0r-99,-251r-28,0xm120,-228r54,139r-109,0xm109,-313r-28,0r45,52r16,0","w":240},"\u00c1":{"d":"5,0r24,0r27,-67r127,0r27,67r25,0r-99,-251r-28,0xm120,-228r54,139r-109,0xm102,-261r17,0r45,-52r-28,0","w":240},"\u00c2":{"d":"74,-261r17,0r31,-37r32,37r17,0r-34,-52r-29,0xm5,0r24,0r27,-67r127,0r27,67r25,0r-99,-251r-28,0xm120,-228r54,139r-109,0","w":240},"\u00c3":{"d":"157,-305v-11,31,-56,-16,-75,13v-4,6,-7,14,-9,22r13,0v14,-35,76,28,85,-35r-14,0xm5,0r24,0r27,-67r127,0r27,67r25,0r-99,-251r-28,0xm120,-228r54,139r-109,0","w":240},"\u00c4":{"d":"5,0r24,0r27,-67r127,0r27,67r25,0r-99,-251r-28,0xm120,-228r54,139r-109,0xm139,-272r27,0r0,-31r-27,0r0,31xm78,-272r27,0r0,-31r-27,0r0,31","w":240},"\u00c5":{"d":"123,-328v-20,0,-35,14,-35,34v0,20,15,34,35,34v19,0,34,-14,34,-34v0,-20,-15,-34,-34,-34xm123,-273v-12,0,-22,-10,-22,-21v0,-11,10,-21,22,-21v12,0,21,9,21,21v0,12,-9,21,-21,21xm5,0r24,0r27,-67r127,0r27,67r25,0r-99,-251r-28,0xm120,-228r54,139r-109,0","w":240},"\u00c6":{"d":"172,-89r-90,0r90,-143r0,143xm0,0r27,0r42,-67r103,0r0,67r126,0r0,-22r-101,0r0,-96r92,0r0,-22r-92,0r0,-90r97,0r0,-21r-137,0","w":320},"\u00c7":{"d":"45,-126v0,-85,81,-131,158,-97r2,-23v-93,-35,-184,22,-184,120v0,74,41,124,111,129r-9,28v12,-3,30,-5,29,11v-1,23,-41,12,-50,3r-3,14v21,8,75,17,76,-17v0,-19,-18,-27,-38,-23v3,-5,1,-16,10,-15v19,0,46,-3,58,-10r-2,-22v-77,34,-158,-12,-158,-98","w":240},"\u00c8":{"d":"31,0r127,0r0,-22r-102,0r0,-96r93,0r0,-22r-93,0r0,-90r98,0r0,-21r-123,0r0,251xm77,-313r-28,0r45,52r16,0","w":180},"\u00c9":{"d":"31,0r127,0r0,-22r-102,0r0,-96r93,0r0,-22r-93,0r0,-90r98,0r0,-21r-123,0r0,251xm70,-261r17,0r45,-52r-28,0","w":180},"\u00ca":{"d":"42,-261r16,0r32,-37r32,37r16,0r-33,-52r-30,0xm31,0r127,0r0,-22r-102,0r0,-96r93,0r0,-22r-93,0r0,-90r98,0r0,-21r-123,0r0,251","w":180},"\u00cb":{"d":"31,0r127,0r0,-22r-102,0r0,-96r93,0r0,-22r-93,0r0,-90r98,0r0,-21r-123,0r0,251xm108,-272r27,0r0,-31r-27,0r0,31xm47,-272r27,0r0,-31r-27,0r0,31","w":180},"\u00cc":{"d":"28,0r25,0r0,-251r-25,0r0,251xm27,-313r-28,0r45,52r16,0","w":79},"\u00cd":{"d":"28,0r25,0r0,-251r-25,0r0,251xm19,-261r17,0r45,-52r-28,0","w":79},"\u00ce":{"d":"-9,-261r17,0r32,-37r31,37r17,0r-34,-52r-29,0xm28,0r25,0r0,-251r-25,0r0,251","w":79},"\u00cf":{"d":"28,0r25,0r0,-251r-25,0r0,251xm57,-272r27,0r0,-31r-27,0r0,31xm-4,-272r27,0r0,-31r-27,0r0,31","w":79},"\u00d0":{"d":"29,0v109,6,188,-22,188,-126v0,-100,-74,-133,-188,-125r0,111r-25,0r0,22r25,0r0,118xm54,-230v84,-2,140,18,138,103v-1,79,-50,111,-138,105r0,-96r76,0r0,-22r-76,0r0,-90","w":240},"\u00d1":{"d":"157,-305v-12,31,-56,-15,-75,13v-4,7,-8,14,-10,22r13,0v14,-35,76,28,85,-35r-13,0xm28,0r25,0r0,-217r126,217r33,0r0,-251r-24,0r-1,221r-128,-221r-31,0r0,251","w":240},"\u00d2":{"d":"130,-256v-73,0,-110,59,-111,130v0,75,37,130,111,130v73,0,110,-55,110,-130v0,-72,-37,-130,-110,-130xm130,-17v-84,0,-108,-120,-65,-183v14,-22,36,-33,65,-34v58,-1,86,53,86,108v0,56,-29,109,-86,109xm119,-313r-28,0r45,52r16,0","w":259},"\u00d3":{"d":"130,-256v-73,0,-110,59,-111,130v0,75,37,130,111,130v73,0,110,-55,110,-130v0,-72,-37,-130,-110,-130xm130,-17v-84,0,-108,-120,-65,-183v14,-22,36,-33,65,-34v58,-1,86,53,86,108v0,56,-29,109,-86,109xm112,-261r17,0r45,-52r-28,0","w":259},"\u00d4":{"d":"83,-261r17,0r31,-37r32,37r17,0r-34,-52r-29,0xm130,-256v-73,0,-110,59,-111,130v0,75,37,130,111,130v73,0,110,-55,110,-130v0,-72,-37,-130,-110,-130xm130,-17v-84,0,-108,-120,-65,-183v14,-22,36,-33,65,-34v58,-1,86,53,86,108v0,56,-29,109,-86,109","w":259},"\u00d5":{"d":"166,-305v-11,31,-56,-16,-75,13v-4,6,-7,14,-9,22r13,0v14,-35,76,28,85,-35r-14,0xm130,-256v-73,0,-110,59,-111,130v0,75,37,130,111,130v73,0,110,-55,110,-130v0,-72,-37,-130,-110,-130xm130,-17v-84,0,-108,-120,-65,-183v14,-22,36,-33,65,-34v58,-1,86,53,86,108v0,56,-29,109,-86,109","w":259},"\u00d6":{"d":"130,-256v-73,0,-110,59,-111,130v0,75,37,130,111,130v73,0,110,-55,110,-130v0,-72,-37,-130,-110,-130xm130,-17v-84,0,-108,-120,-65,-183v14,-22,36,-33,65,-34v58,-1,86,53,86,108v0,56,-29,109,-86,109xm149,-272r27,0r0,-31r-27,0r0,31xm88,-272r27,0r0,-31r-27,0r0,31","w":259},"\u00d7":{"d":"91,-93r-65,66r17,18r65,-66r65,66r18,-18r-65,-66r65,-64r-18,-18r-65,65r-65,-65r-17,18","w":216},"\u00d8":{"d":"60,-61v-36,-65,-10,-175,70,-173v25,0,44,9,58,26xm199,-192v37,65,12,177,-69,175v-26,0,-45,-10,-59,-28xm130,4v107,0,136,-138,87,-216r32,-38r-14,-12r-31,36v-18,-19,-42,-30,-74,-30v-107,0,-137,139,-88,216r-32,36r14,12r30,-34v18,20,43,30,76,30","w":259},"\u00d9":{"d":"120,4v56,0,91,-30,91,-92r0,-163r-25,0v-8,92,34,234,-66,234v-99,0,-58,-143,-66,-234r-25,0r0,163v1,59,34,92,91,92xm109,-313r-28,0r45,52r16,0","w":240},"\u00da":{"d":"120,4v56,0,91,-30,91,-92r0,-163r-25,0v-8,92,34,234,-66,234v-99,0,-58,-143,-66,-234r-25,0r0,163v1,59,34,92,91,92xm101,-261r17,0r45,-52r-28,0","w":240},"\u00db":{"d":"73,-261r17,0r32,-37r31,37r17,0r-34,-52r-29,0xm120,4v56,0,91,-30,91,-92r0,-163r-25,0v-8,92,34,234,-66,234v-99,0,-58,-143,-66,-234r-25,0r0,163v1,59,34,92,91,92","w":240},"\u00dc":{"d":"120,4v56,0,91,-30,91,-92r0,-163r-25,0v-8,92,34,234,-66,234v-99,0,-58,-143,-66,-234r-25,0r0,163v1,59,34,92,91,92xm139,-272r27,0r0,-31r-27,0r0,31xm78,-272r27,0r0,-31r-27,0r0,31","w":240},"\u00dd":{"d":"98,0r24,0r0,-107r94,-144r-27,0r-79,122r-77,-122r-29,0r94,144r0,107xm92,-261r17,0r45,-52r-28,0","w":219},"\u00de":{"d":"56,-62v64,5,115,-12,115,-71v0,-62,-48,-76,-115,-71r0,-47r-25,0r0,251r25,0r0,-62xm146,-133v0,48,-41,51,-90,49r0,-99v49,-3,90,0,90,50","w":180},"\u00df":{"d":"100,-274v-48,0,-72,31,-72,79r0,195r23,0r0,-187v1,-39,11,-67,49,-68v27,0,44,21,44,48v0,34,-23,57,-59,55r0,20v44,-1,72,11,72,55v0,47,-40,73,-82,54r-2,21v58,18,109,-16,109,-75v0,-41,-23,-60,-62,-68v32,-8,48,-28,48,-62v0,-44,-24,-67,-68,-67"},"\u00e0":{"d":"14,-48v-4,59,101,69,119,18v3,7,0,21,1,30r22,0v-10,-73,25,-188,-66,-188v-19,0,-37,5,-54,13r0,22v39,-25,106,-23,96,41v-60,-1,-114,6,-118,64xm39,-48v2,-42,47,-45,93,-45v2,46,-10,78,-55,78v-22,-1,-39,-11,-38,-33xm78,-256r-28,0r45,52r16,0","w":180},"\u00e1":{"d":"14,-48v-4,59,101,69,119,18v3,7,0,21,1,30r22,0v-10,-73,25,-188,-66,-188v-19,0,-37,5,-54,13r0,22v39,-25,106,-23,96,41v-60,-1,-114,6,-118,64xm39,-48v2,-42,47,-45,93,-45v2,46,-10,78,-55,78v-22,-1,-39,-11,-38,-33xm70,-204r17,0r45,-52r-28,0","w":180},"\u00e2":{"d":"42,-204r17,0r31,-36r32,36r17,0r-34,-52r-29,0xm14,-48v-4,59,101,69,119,18v3,7,0,21,1,30r22,0v-10,-73,25,-188,-66,-188v-19,0,-37,5,-54,13r0,22v39,-25,106,-23,96,41v-60,-1,-114,6,-118,64xm39,-48v2,-42,47,-45,93,-45v2,46,-10,78,-55,78v-22,-1,-39,-11,-38,-33","w":180},"\u00e3":{"d":"125,-248v-12,32,-56,-14,-75,14v-4,7,-8,14,-10,22r13,0v14,-36,78,29,85,-36r-13,0xm14,-48v-4,59,101,69,119,18v3,7,0,21,1,30r22,0v-10,-73,25,-188,-66,-188v-19,0,-37,5,-54,13r0,22v39,-25,106,-23,96,41v-60,-1,-114,6,-118,64xm39,-48v2,-42,47,-45,93,-45v2,46,-10,78,-55,78v-22,-1,-39,-11,-38,-33","w":180},"\u00e4":{"d":"14,-48v-4,59,101,69,119,18v3,7,0,21,1,30r22,0v-10,-73,25,-188,-66,-188v-19,0,-37,5,-54,13r0,22v39,-25,106,-23,96,41v-60,-1,-114,6,-118,64xm39,-48v2,-42,47,-45,93,-45v2,46,-10,78,-55,78v-22,-1,-39,-11,-38,-33xm107,-215r27,0r0,-31r-27,0r0,31xm46,-215r27,0r0,-31r-27,0r0,31","w":180},"\u00e5":{"d":"90,-267v-20,0,-34,14,-34,34v0,19,15,34,34,34v19,0,35,-14,35,-34v0,-20,-15,-34,-35,-34xm90,-212v-11,-1,-21,-9,-21,-21v0,-12,9,-22,21,-22v12,0,23,9,22,22v0,12,-11,21,-22,21xm14,-48v-4,59,101,69,119,18v3,7,0,21,1,30r22,0v-10,-73,25,-188,-66,-188v-19,0,-37,5,-54,13r0,22v39,-25,106,-23,96,41v-60,-1,-114,6,-118,64xm39,-48v2,-42,47,-45,93,-45v2,46,-10,78,-55,78v-22,-1,-39,-11,-38,-33","w":180},"\u00e6":{"d":"41,-45v3,-40,49,-41,93,-40v1,41,-13,71,-54,70v-18,-1,-40,-11,-39,-30xm17,-45v-1,68,110,59,130,12v10,39,80,45,123,27r0,-23v-11,5,-35,14,-52,14v-43,0,-61,-28,-59,-70r124,0v2,-57,-18,-103,-73,-103v-27,0,-47,16,-59,33v-14,-40,-75,-39,-113,-20r0,22v17,-10,36,-15,55,-15v37,0,41,27,41,63v-59,0,-116,2,-117,60xm159,-105v-6,-48,61,-88,89,-44v7,12,10,27,10,44r-99,0","w":299},"\u00e7":{"d":"40,-92v0,-60,54,-93,108,-67r2,-22v-69,-24,-135,16,-135,89v0,51,29,92,78,96r-10,27v12,-3,30,-4,29,11v-1,23,-41,11,-51,3r-2,14v21,9,74,16,76,-17v0,-20,-19,-27,-39,-23v3,-5,3,-12,7,-15v17,0,32,-1,47,-6r-2,-21v-55,26,-108,-11,-108,-69","w":159},"\u00e8":{"d":"15,-92v0,56,24,97,83,96v18,0,37,-4,54,-10r0,-23v-26,14,-79,23,-97,-7v-9,-14,-15,-29,-15,-49r125,0v2,-57,-18,-103,-73,-103v-50,0,-78,44,-77,96xm40,-105v-7,-48,62,-88,90,-44v7,12,10,27,10,44r-100,0xm77,-256r-28,0r45,52r16,0","w":180},"\u00e9":{"d":"15,-92v0,56,24,97,83,96v18,0,37,-4,54,-10r0,-23v-26,14,-79,23,-97,-7v-9,-14,-15,-29,-15,-49r125,0v2,-57,-18,-103,-73,-103v-50,0,-78,44,-77,96xm40,-105v-7,-48,62,-88,90,-44v7,12,10,27,10,44r-100,0xm70,-204r17,0r45,-52r-28,0","w":180},"\u00ea":{"d":"42,-204r17,0r32,-36r31,36r17,0r-34,-52r-29,0xm15,-92v0,56,24,97,83,96v18,0,37,-4,54,-10r0,-23v-26,14,-79,23,-97,-7v-9,-14,-15,-29,-15,-49r125,0v2,-57,-18,-103,-73,-103v-50,0,-78,44,-77,96xm40,-105v-7,-48,62,-88,90,-44v7,12,10,27,10,44r-100,0","w":180},"\u00eb":{"d":"15,-92v0,56,24,97,83,96v18,0,37,-4,54,-10r0,-23v-26,14,-79,23,-97,-7v-9,-14,-15,-29,-15,-49r125,0v2,-57,-18,-103,-73,-103v-50,0,-78,44,-77,96xm40,-105v-7,-48,62,-88,90,-44v7,12,10,27,10,44r-100,0xm108,-215r27,0r0,-31r-27,0r0,31xm47,-215r27,0r0,-31r-27,0r0,31","w":180},"\u00ec":{"d":"28,0r23,0r0,-184r-23,0r0,184xm27,-256r-28,0r45,52r16,0","w":79},"\u00ed":{"d":"28,0r23,0r0,-184r-23,0r0,184xm19,-204r17,0r45,-52r-28,0","w":79},"\u00ee":{"d":"28,0r23,0r0,-184r-23,0r0,184xm-8,-204r16,0r32,-36r32,36r16,0r-33,-52r-30,0","w":79},"\u00ef":{"d":"28,0r23,0r0,-184r-23,0r0,184xm57,-215r27,0r0,-31r-27,0r0,31xm-4,-215r27,0r0,-31r-27,0r0,31","w":79},"\u00f0":{"d":"100,-15v-40,0,-61,-36,-61,-77v0,-41,19,-76,61,-76v41,0,61,34,61,76v0,42,-21,77,-61,77xm14,-92v4,52,30,96,86,96v113,0,104,-196,35,-244r34,-20r-11,-15r-38,23v-18,-11,-40,-18,-66,-22r-4,17v18,4,33,9,48,18r-32,21r10,15r39,-24v21,17,35,40,42,68v-48,-63,-149,-14,-143,67"},"\u00f1":{"d":"136,-248v-12,32,-56,-14,-75,14v-4,7,-8,14,-10,22r13,0v14,-36,78,29,85,-36r-13,0xm109,-188v-34,0,-48,17,-60,37r0,-33r-22,0r1,184r23,0v3,-70,-19,-168,54,-168v69,1,37,105,44,168r23,0v-5,-79,24,-188,-63,-188"},"\u00f2":{"d":"100,-188v-56,0,-86,42,-86,96v0,53,30,96,86,96v57,0,86,-42,86,-96v0,-54,-29,-96,-86,-96xm100,-15v-40,0,-61,-36,-61,-77v0,-41,19,-76,61,-76v41,0,61,34,61,76v0,42,-21,77,-61,77xm89,-256r-28,0r45,52r16,0"},"\u00f3":{"d":"100,-188v-56,0,-86,42,-86,96v0,53,30,96,86,96v57,0,86,-42,86,-96v0,-54,-29,-96,-86,-96xm100,-15v-40,0,-61,-36,-61,-77v0,-41,19,-76,61,-76v41,0,61,34,61,76v0,42,-21,77,-61,77xm81,-204r17,0r45,-52r-28,0"},"\u00f4":{"d":"53,-204r16,0r32,-36r32,36r16,0r-33,-52r-30,0xm100,-188v-56,0,-86,42,-86,96v0,53,30,96,86,96v57,0,86,-42,86,-96v0,-54,-29,-96,-86,-96xm100,-15v-40,0,-61,-36,-61,-77v0,-41,19,-76,61,-76v41,0,61,34,61,76v0,42,-21,77,-61,77"},"\u00f5":{"d":"64,-212v15,-36,78,29,85,-36r-13,0v-11,32,-56,-15,-75,14v-5,6,-8,14,-10,22r13,0xm100,-188v-56,0,-86,42,-86,96v0,53,30,96,86,96v57,0,86,-42,86,-96v0,-54,-29,-96,-86,-96xm100,-15v-40,0,-61,-36,-61,-77v0,-41,19,-76,61,-76v41,0,61,34,61,76v0,42,-21,77,-61,77"},"\u00f6":{"d":"100,-188v-56,0,-86,42,-86,96v0,53,30,96,86,96v57,0,86,-42,86,-96v0,-54,-29,-96,-86,-96xm100,-15v-40,0,-61,-36,-61,-77v0,-41,19,-76,61,-76v41,0,61,34,61,76v0,42,-21,77,-61,77xm119,-215r27,0r0,-31r-27,0r0,31xm58,-215r27,0r0,-31r-27,0r0,31"},"\u00f7":{"d":"17,-79r182,0r0,-25r-182,0r0,25xm108,-185v-13,0,-23,10,-23,23v0,12,11,23,23,23v11,0,23,-12,23,-23v0,-11,-12,-24,-23,-23xm108,-44v-12,1,-24,10,-23,23v0,12,11,24,23,24v28,0,30,-48,0,-47","w":216},"\u00f8":{"d":"50,-46v-24,-45,-9,-122,50,-122v17,0,30,5,41,17xm151,-137v24,47,5,125,-51,122v-17,0,-30,-6,-40,-17xm100,4v83,0,107,-102,67,-160r26,-30r-12,-10r-25,28v-13,-13,-32,-20,-56,-20v-82,0,-108,103,-66,161r-27,31r12,10r26,-29v14,12,32,19,55,19"},"\u00f9":{"d":"91,4v33,0,49,-17,60,-37r0,33r22,0r-1,-184r-23,0v-3,71,19,169,-54,169v-67,0,-38,-105,-44,-169r-23,0v4,80,-23,188,63,188xm87,-256r-28,0r45,52r16,0"},"\u00fa":{"d":"91,4v33,0,49,-17,60,-37r0,33r22,0r-1,-184r-23,0v-3,71,19,169,-54,169v-67,0,-38,-105,-44,-169r-23,0v4,80,-23,188,63,188xm80,-204r17,0r45,-52r-28,0"},"\u00fb":{"d":"52,-204r17,0r31,-36r32,36r17,0r-34,-52r-29,0xm91,4v33,0,49,-17,60,-37r0,33r22,0r-1,-184r-23,0v-3,71,19,169,-54,169v-67,0,-38,-105,-44,-169r-23,0v4,80,-23,188,63,188"},"\u00fc":{"d":"91,4v33,0,49,-17,60,-37r0,33r22,0r-1,-184r-23,0v-3,71,19,169,-54,169v-67,0,-38,-105,-44,-169r-23,0v4,80,-23,188,63,188xm118,-215r27,0r0,-31r-27,0r0,31xm57,-215r27,0r0,-31r-27,0r0,31"},"\u00fd":{"d":"28,-184r-25,0r65,186v-6,30,-16,67,-54,53r-2,20v42,13,60,-18,71,-48r74,-211r-24,0r-53,153xm60,-204r17,0r45,-52r-28,0","w":159},"\u00fe":{"d":"107,-188v-32,0,-47,19,-58,38r0,-120r-23,0r0,346r23,0r1,-109v10,25,29,37,57,37v52,1,76,-43,76,-96v0,-55,-21,-96,-76,-96xm103,-168v43,-1,55,34,55,76v0,42,-14,77,-55,77v-72,0,-74,-153,0,-153"},"\u00ff":{"d":"28,-184r-25,0r65,186v-6,30,-16,67,-54,53r-2,20v42,13,60,-18,71,-48r74,-211r-24,0r-53,153xm98,-215r27,0r0,-31r-27,0r0,31xm37,-215r27,0r0,-31r-27,0r0,31","w":159}}});
function FadeGallery(){this.aProductIDs=null;this.oParams=new Object();this.sUrl='';this.sElement='';this.sExternalIdPrefix='';this.sExternalIdPrefixDestination='';this.bAutoFadeAfterClick=false;this.bSameAutoFadeAfterClick=false;this.lLoadTime=5000;this.lFadeTime=1.0;this.sClassName='fadingobj';this.sInternalId='fadingobj';this.sAktivId='';this.sAktivClass='aktiv';this.bObserveOnLoad=true;this.bEvalScripts=false;this.onLoad=Prototype.emptyFunction;this.onFadeComplete=Prototype.emptyFunction;this.onImageLoaded=Prototype.emptyFunction;this.onBeforeStartFade=Prototype.emptyFunction;this.onActiveSet=Prototype.emptyFunction;this.lAktuellesBild=0;this.bAutoFade=false;this.clear=null;this.bLocked=false;this.aProductIDsStatus=new Array();this.bPrev=false;this.lLetztesBild=0;this.lReturnCurrent=0;this.sSender='';this.oPostData=new Object();FadeGallery.prototype.initAutoFade=function(){this.oPostData=Object.clone(this.oParams);this.bAutoFade=true;if(this.bObserveOnLoad){Event.observe(window,'load',this.initAutoFadeOnLoad.bind(this),false)}else{this.initAutoFadeOnLoad()}};FadeGallery.prototype.initFade=function(){this.oPostData=Object.clone(this.oParams);if(this.bObserveOnLoad){Event.observe(window,'load',this.initAutoFadeOnLoad.bind(this),false)}else{this.initAutoFadeOnLoad()}};FadeGallery.prototype.initAutoFadeOnLoad=function(){if(this.sExternalIdPrefix!=''){for(var i=0;i<this.aProductIDs.length;i++){$(this.sExternalIdPrefix+this.aProductIDs[i]).hide()}}if(this.sAktivId!=''){if($(this.sAktivId).childElements()[this.lAktuellesBild].className!=''){$(this.sAktivId).childElements()[this.lAktuellesBild].className+=' '+this.sAktivClass}else{$(this.sAktivId).childElements()[this.lAktuellesBild].className=this.sAktivClass}if(this.onActiveSet!=Prototype.emptyFunction){this.onActiveSet()}}for(var i=0;i<this.aProductIDs.length;i++){this.aProductIDsStatus[i]=false}if(this.onLoad!=Prototype.emptyFunction){this.onLoad(1,this.sSender);this.sSender=''}var objOuterFading=document.createElement("div");objOuterFading.setAttribute('id',this.sInternalId+this.aProductIDs[this.lAktuellesBild]);objOuterFading.className=this.sClassName;$(this.sElement).appendChild(objOuterFading);if(this.sUrl!=''){this.oPostData.lProductID=this.aProductIDs[this.lAktuellesBild];this.oPostData.lActualNumber=this.lAktuellesBild+1;this.oPostData.lCount=this.aProductIDs.length;new Ajax.Updater(objOuterFading,this.sUrl,{evalScripts:this.bEvalScripts,parameters:this.oPostData,onComplete:this.loadOnComplete.bind(this)})}else{this.loadOnComplete()}};FadeGallery.prototype.loadOnComplete=function(){if(this.onImageLoaded!=Prototype.emptyFunction){this.lReturnCurrent=this.lAktuellesBild+1;if(this.lReturnCurrent>this.aProductIDs.length){this.lReturnCurrent=1}this.onImageLoaded(this.lReturnCurrent,this.sSender);this.sSender=''}this.aProductIDsStatus[this.lAktuellesBild]=true;if(this.sExternalIdPrefix!=''){var objElement=$(this.sExternalIdPrefix+this.aProductIDs[this.lAktuellesBild]);$(this.sExternalIdPrefix+this.aProductIDs[this.lAktuellesBild]).remove();objElement.show();if(this.sExternalIdPrefixDestination!=''){$(this.sExternalIdPrefixDestination+this.aProductIDs[this.lAktuellesBild]).insert({'bottom':objElement})}else{$(this.sInternalId+this.aProductIDs[this.lAktuellesBild]).insert({'bottom':objElement})}}if(this.aProductIDs.length>1){$(this.sInternalId+this.aProductIDs[this.lAktuellesBild]).style.zIndex='2';if(this.bAutoFade){this.clear=window.setTimeout(this.loadNext.bind(this),this.lLoadTime)}}};FadeGallery.prototype.FadeGalleryNext=function(){if(!this.bLocked){this.bLocked=true;clearTimeout(this.clear);if(!this.bAutoFadeAfterClick){this.bAutoFade=false}this.sSender='clickNext';this.bPrev=false;this.loadNext()}};FadeGallery.prototype.FadeGalleryPrev=function(){if(!this.bLocked){this.bLocked=true;clearTimeout(this.clear);if(!this.bAutoFadeAfterClick){this.bAutoFade=false}this.sSender='clickPrev';this.bPrev=true;this.loadNext()}};FadeGallery.prototype.FadeGalleryThis=function(lObjNumber){if(!this.bLocked&&(lObjNumber-1)!=this.lAktuellesBild){this.bLocked=true;clearTimeout(this.clear);if(!this.bAutoFadeAfterClick){this.bAutoFade=false}this.sSender='clickThis';this.lAktuellesBild=lObjNumber-2;this.loadNext()}};FadeGallery.prototype.FadeGalleryStop=function(){clearTimeout(this.clear);this.bAutoFade=false};FadeGallery.prototype.restartAutoFade=function(){this.bAutoFade=true;this.initAutoFadeOnLoad()};FadeGallery.prototype.loadNext=function(){if(this.onLoad!=Prototype.emptyFunction){this.lReturnCurrent=this.lAktuellesBild+2;if(this.lReturnCurrent>this.aProductIDs.length){this.lReturnCurrent=1}this.onLoad(this.lReturnCurrent,this.sSender);this.sSender=''}if(this.bPrev){if(this.lAktuellesBild==0){this.lAktuellesBild=this.aProductIDs.length-1}else{this.lAktuellesBild--}}else{this.lAktuellesBild++;if(this.aProductIDs[this.lAktuellesBild]==undefined){this.lAktuellesBild=0}}if(this.aProductIDs[this.lAktuellesBild]!=undefined&&!this.aProductIDsStatus[this.lAktuellesBild]){var objOuterFading=document.createElement("div");objOuterFading.setAttribute('id',this.sInternalId+this.aProductIDs[this.lAktuellesBild]);objOuterFading.className=this.sClassName;objOuterFading.zIndex='1';$(this.sElement).appendChild(objOuterFading);if(this.sExternalIdPrefix!=''){var objElement=$(this.sExternalIdPrefix+this.aProductIDs[this.lAktuellesBild]);$(this.sExternalIdPrefix+this.aProductIDs[this.lAktuellesBild]).remove();objElement.style.zIndex='1';objElement.show();if(this.sExternalIdPrefixDestination!=''){$(this.sExternalIdPrefixDestination+this.aProductIDs[this.lAktuellesBild]).insert({'bottom':objElement})}else{$(this.sInternalId+this.aProductIDs[this.lAktuellesBild]).insert({'bottom':objElement})}}if(this.sUrl!=''){this.oPostData.lProductID=this.aProductIDs[this.lAktuellesBild];this.oPostData.lActualNumber=this.lAktuellesBild+1;this.oPostData.lCount=this.aProductIDs.length;new Ajax.Updater(objOuterFading,this.sUrl,{evalScripts:this.bEvalScripts,parameters:this.oPostData,onComplete:this.IfIsImgLoaded.bind(this),insertion:Insertion.Top})}else{this.IfIsImgLoaded()}}else{$(this.sInternalId+this.aProductIDs[this.lAktuellesBild]).style.zIndex='1';$(this.sInternalId+this.aProductIDs[this.lAktuellesBild]).show();this.fadeNext()}};FadeGallery.prototype.fadeNext=function(){this.bLocked=true;this.aProductIDsStatus[this.lAktuellesBild]=true;if(this.sAktivId!=''){if($(this.sAktivId).childElements()[this.lAktuellesBild].className!=''){$(this.sAktivId).childElements()[this.lAktuellesBild].className+=' '+this.sAktivClass}else{$(this.sAktivId).childElements()[this.lAktuellesBild].className=this.sAktivClass}$(this.sAktivId).childElements()[this.lLetztesBild].className=$(this.sAktivId).childElements()[this.lLetztesBild].className.replace(' '+this.sAktivClass,'').replace(this.sAktivClass,'');if(this.onActiveSet!=Prototype.emptyFunction){this.onActiveSet()}}var lTempAktuellesBild=this.lLetztesBild;this.lLetztesBild=this.lAktuellesBild;$(this.sInternalId+this.aProductIDs[this.lAktuellesBild]).style.zIndex='1';new Effect.Fade($(this.sInternalId+this.aProductIDs[lTempAktuellesBild]),{beforeStart:function(){if(this.onBeforeStartFade!=Prototype.emptyFunction){this.lReturnCurrent=this.lAktuellesBild+1;if(this.lReturnCurrent>this.aProductIDs.length){this.lReturnCurrent=1}this.onBeforeStartFade(this.lReturnCurrent,this.sSender);this.sSender=''}}.bind(this),duration:this.lFadeTime,afterFinish:function(){if(this.onFadeComplete!=Prototype.emptyFunction){this.lReturnCurrent=this.lAktuellesBild+1;if(this.lReturnCurrent>this.aProductIDs.length){this.lReturnCurrent=1}this.onFadeComplete(this.lReturnCurrent,this.sSender);this.sSender=''}if(this.onImageLoaded!=Prototype.emptyFunction){this.lReturnCurrent=this.lAktuellesBild+1;if(this.lReturnCurrent>this.aProductIDs.length){this.lReturnCurrent=1}this.onImageLoaded(this.lReturnCurrent,this.sSender);this.sSender=''}$(this.sInternalId+this.aProductIDs[lTempAktuellesBild]).style.zIndex='0';$(this.sInternalId+this.aProductIDs[this.lAktuellesBild]).style.zIndex='2';this.bLocked=false;if(!this.bSameAutoFadeAfterClick){this.bPrev=false}if(this.bAutoFade){this.clear=window.setTimeout(this.loadNext.bind(this),this.lLoadTime)}}.bind(this)})};FadeGallery.prototype.IfIsImgLoaded=function(){var bLoaded=true;for(var i=0;i<$(this.sInternalId+this.aProductIDs[this.lAktuellesBild]).getElementsByTagName('img').length;i++){if(!$(this.sInternalId+this.aProductIDs[this.lAktuellesBild]).getElementsByTagName('img')[i].complete){bLoaded=false}}if(bLoaded){this.fadeNext()}else{this.clear=window.setTimeout(this.IfIsImgLoaded.bind(this),250)}}}
function SetCookie(sCookieName,sCookieValue,lTimeOutDays,bUseSubdomains){var sDomain='';var aSplittedDomain=[];if(bUseSubdomains==true){sDomain=window.location.host;aSplittedDomain=sDomain.split('.');if(aSplittedDomain.length>1){sDomain=aSplittedDomain[aSplittedDomain.length-2]+'.'+aSplittedDomain[aSplittedDomain.length-1];if(aSplittedDomain.length>2){if(aSplittedDomain[aSplittedDomain.length-2]=='bz'&&aSplittedDomain[aSplittedDomain.length-1]=='it'){sDomain=aSplittedDomain[aSplittedDomain.length-3]+'.'+aSplittedDomain[aSplittedDomain.length-2]+'.'+aSplittedDomain[aSplittedDomain.length-1]}}}}if(sDomain!=''){sDomain='domain='+sDomain+';'}sCookieName=''+sCookieName;sCookieValue=''+sCookieValue;if(lTimeOutDays>0){var dtTime=new Date();dtTime=new Date(dtTime.getTime()+1000*60*60*24*lTimeOutDays);document.cookie=sCookieName+'='+UrlEncode(sCookieValue)+';expires='+dtTime.toGMTString()+';path=/;'+sDomain}else{document.cookie=sCookieName+'='+UrlEncode(sCookieValue)+';path=/;'+sDomain}}function GetCookie(sCookieName){var sCookie=';'+document.cookie;var sCookieValue='';if(sCookie.search(sCookieName+'=')>=0&&sCookieName.length>0){sCookieValue=sCookie.substr(sCookie.search(sCookieName+'=')+sCookieName.length+1);if(sCookieValue.search(';')>=0){sCookieValue=sCookieValue.substr(0,sCookieValue.search(';'))}}else{sCookieValue=''}return UrlDecode(sCookieValue)}function DeleteCookie(sCookieName){var dtTime=new Date();dtTime=new Date(dtTime.getTime()-1);document.cookie=sCookieName+'=;expires='+dtTime.toGMTString()+';path=/;'}function UrlEncode(string){return escape(utf8_encode(string))}function UrlDecode(string){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 fileLoadingImage="/images/lightbox/loading.gif";var fileBottomNavCloseImage="/images/lightbox/close.gif";var overlayOpacity=0.8;var animate=true;var resizeSpeed=7;var borderSize=10;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 MyHtmlLightbox=Class.create();MyHtmlLightbox.prototype={initialize:function(){var objBody=document.getElementsByTagName("body").item(0);var objOverlay=document.createElement("div");objOverlay.setAttribute('id','myhtmloverlay');objOverlay.style.display='none';objOverlay.onclick=function(){HtmlLightbox.end()};objBody.appendChild(objOverlay);var objMyHtmlLightbox=document.createElement("div");objMyHtmlLightbox.setAttribute('id','myHtmlLightbox');objMyHtmlLightbox.style.display='none';objMyHtmlLightbox.onclick=function(e){if(!e)var e=window.event;var clickObj=Event.element(e).id;if(clickObj=='myHtmlLightbox'){HtmlLightbox.end()}};objBody.appendChild(objMyHtmlLightbox);var objOuterContainer=document.createElement("div");objOuterContainer.setAttribute('id','outerContainer');objMyHtmlLightbox.appendChild(objOuterContainer);if(animate){Element.setWidth('outerContainer',250);Element.setHeight('outerContainer',250)}else{Element.setWidth('outerContainer',1);Element.setHeight('outerContainer',1)}var objHtmlContainer=document.createElement("div");objHtmlContainer.setAttribute('id','htmlContainer');objOuterContainer.appendChild(objHtmlContainer);if(bHtmlLightboxAjax){var objAjax=document.createElement("div");objAjax.setAttribute('id','htmlLightboxAjax');objHtmlContainer.appendChild(objAjax)}else{var frameborder=document.createAttribute("frameborder");frameborder.nodeValue="0";var objIFrame=document.createElement("iframe");objIFrame.setAttribute('src','about:blank');objIFrame.setAttributeNode(frameborder);objIFrame.setAttribute('frameborder','0');objIFrame.setAttribute('id','htmlLightboxIFrame');objIFrame.setAttribute('name','htmlLightboxIFrame');objHtmlContainer.appendChild(objIFrame)}var objLoading=document.createElement("div");objLoading.setAttribute('id','myloading');objHtmlContainer.appendChild(objLoading);var objLoadingLink=document.createElement("a");objLoadingLink.setAttribute('id','loadingLink');objLoadingLink.setAttribute('href','#');objLoadingLink.onclick=function(){HtmlLightbox.end();return false};objLoading.appendChild(objLoadingLink);var objLoadingImage=document.createElement("img");objLoadingImage.setAttribute('src',fileLoadingImage);objLoadingLink.appendChild(objLoadingImage);var objDataContainer=document.createElement("div");objDataContainer.setAttribute('id','DataContainer');objMyHtmlLightbox.appendChild(objDataContainer);var objData=document.createElement("div");objData.setAttribute('id','Data');objDataContainer.appendChild(objData);var objBottomNav=document.createElement("div");objBottomNav.setAttribute('id','bottomNav');objData.appendChild(objBottomNav);var objBottomNavCloseLink=document.createElement("a");objBottomNavCloseLink.setAttribute('id','bottomNavClose');objBottomNavCloseLink.setAttribute('href','#');objBottomNavCloseLink.onclick=function(){HtmlLightbox.end();return false};objBottomNav.appendChild(objBottomNavCloseLink);var objBottomNavCloseImage=document.createElement("img");objBottomNavCloseImage.setAttribute('src',fileBottomNavCloseImage);objBottomNavCloseLink.appendChild(objBottomNavCloseImage)},start:function(sHref){hideSelectBoxes();hideFlash();Element.hide('DataContainer');var effektiveHeight;var effektiveWidth;var arrayPageSize=getPageSize();Element.setWidth('myhtmloverlay',arrayPageSize[0]);Element.setHeight('myhtmloverlay',arrayPageSize[1]);new Effect.Appear('myhtmloverlay',{duration:overlayDuration,from:0.0,to:overlayOpacity});var arrayPageScroll=getPageScroll();var lightboxTop=arrayPageScroll[1]+(arrayPageSize[3]/10);var lightboxLeft=arrayPageScroll[0];Element.setTop('myHtmlLightbox',lightboxTop);Element.setLeft('myHtmlLightbox',lightboxLeft);Element.show('myHtmlLightbox');if(bHtmlLightboxAjax){new Ajax.Updater('htmlLightboxAjax',sHref,{onComplete:function(){HtmlLightbox.resizeHtmlContainer($('htmlLightboxAjax').firstDescendant().getWidth(),$('htmlLightboxAjax').firstDescendant().getHeight())},evalScripts:true,method:'post'})}else{Element.setSrc('htmlLightboxIFrame',sHref)}HtmlLightbox.enableKeyboardNav()},resizeHtmlContainer:function(fixWidth,fixHeight){var windowX,windowY;if(window.innerHeight){windowX=window.innerWidth;windowY=window.innerHeight}else{windowX=document.body.offsetWidth;windowY=document.body.offsetHeight}if(fixWidth!=''&&fixWidth!=undefined){effektiveWidth=fixWidth}else{effektiveWidth=(windowX/100)*80}if(fixHeight!=''&&fixHeight!=undefined){effektiveHeight=fixHeight}else{effektiveHeight=(windowY/100)*80}this.widthCurrent=Element.getWidth('outerContainer');this.heightCurrent=Element.getHeight('outerContainer');var widthNew=(effektiveWidth+(borderSize*2));var heightNew=(effektiveHeight+(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)||(wDiff!=0)){if(bHtmlLightboxAjax){document.getElementById('htmlLightboxAjax').style.display='none'}else{document.getElementById('htmlLightboxIFrame').style.display='none'}Element.hide('DataContainer')}if(!(hDiff==0)){if(wDiff==0){new Effect.Scale('outerContainer',this.yScale,{scaleX:false,duration:resizeDuration,queue:'front',afterFinish:function(){HtmlLightbox.showIFrame()}})}else{new Effect.Scale('outerContainer',this.yScale,{scaleX:false,duration:resizeDuration,queue:'front'})}}if(!(wDiff==0)){new Effect.Scale('outerContainer',this.xScale,{scaleY:false,delay:resizeDuration,duration:resizeDuration,afterFinish:function(){HtmlLightbox.showIFrame()}})}if((hDiff==0)&&(wDiff==0)){if(navigator.appVersion.indexOf("MSIE")!=-1){pause(250)}else{pause(100)}}Element.setWidth('DataContainer',widthNew);if(bHtmlLightboxAjax){Element.setWidth('htmlLightboxAjax',widthNew-(borderSize*2));Element.setHeight('htmlLightboxAjax',heightNew-(borderSize*2))}else{Element.setWidth('htmlLightboxIFrame',widthNew-(borderSize*2));Element.setHeight('htmlLightboxIFrame',heightNew-(borderSize*2))}},showIFrame:function(){if(bHtmlLightboxAjax){document.getElementById('htmlLightboxAjax').style.display='block';new Effect.Appear('htmlLightboxAjax',{duration:resizeDuration,queue:'end',afterFinish:function(){HtmlLightbox.updateDetails()}})}else{document.getElementById('htmlLightboxIFrame').style.display='block';new Effect.Appear('htmlLightboxIFrame',{duration:resizeDuration,queue:'end',afterFinish:function(){HtmlLightbox.updateDetails()}})}},updateDetails:function(){new Effect.Parallel([new Effect.SlideDown('DataContainer',{sync:true,duration:resizeDuration,from:0.0,to:1.0}),new Effect.Appear('DataContainer',{sync:true,duration:resizeDuration})],{duration:resizeDuration,afterFinish:function(){var arrayPageSize=getPageSize();Element.setHeight('myhtmloverlay',arrayPageSize[1])}});Element.hide('myloading')},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)){HtmlLightbox.end()}},end:function(){this.disableKeyboardNav();Element.hide('myHtmlLightbox');new Effect.Fade('myhtmloverlay',{duration:overlayDuration});showSelectBoxes();showFlash();if(bHtmlLightboxAjax){Element.setOpacity('htmlLightboxAjax',0)}else{Element.setSrc('htmlLightboxIFrame','');Element.setOpacity('htmlLightboxIFrame',0)}Element.setWidth('outerContainer',250);Element.setHeight('outerContainer',250);Element.show('myloading')}};function resizeHtmlLightboxAjax(){MyHtmlLightbox.resizeHtmlContainer($('htmlLightboxAjax').firstDescendant().getWidth(),$('htmlLightboxAjax').firstDescendant().getHeight())}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;var HtmlLightbox;var bHtmlLightboxAjax=false;function initMyHtmlLightbox(){HtmlLightbox=new MyHtmlLightbox();hideHtmlLightboxOverlays();JsLightboxIsLoaded=true}function onJsLightboxIsLoaded(sFunction){if((sFunction!='')&&(sFunction!=null)&&(JsLightboxIsLoaded!=true)){window.setTimeout('onJsLightboxIsLoaded("'+sFunction+'")',200)}if(JsLightboxIsLoaded){window.setTimeout(sFunction,20)}}function hideHtmlLightboxOverlays(){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'}}}
function FadeGallery(){this.aProductIDs=null;this.oParams=new Object();this.sUrl='';this.sElement='';this.sExternalIdPrefix='';this.sExternalIdPrefixDestination='';this.bAutoFadeAfterClick=false;this.bSameAutoFadeAfterClick=false;this.lLoadTime=5000;this.lFadeTime=1.0;this.sClassName='fadingobj';this.sInternalId='fadingobj';this.sAktivId='';this.sAktivClass='aktiv';this.bObserveOnLoad=true;this.bEvalScripts=false;this.onLoad=Prototype.emptyFunction;this.onFadeComplete=Prototype.emptyFunction;this.onImageLoaded=Prototype.emptyFunction;this.onBeforeStartFade=Prototype.emptyFunction;this.onActiveSet=Prototype.emptyFunction;this.lAktuellesBild=0;this.bAutoFade=false;this.clear=null;this.bLocked=false;this.aProductIDsStatus=new Array();this.bPrev=false;this.lLetztesBild=0;this.lReturnCurrent=0;this.sSender='';this.oPostData=new Object();FadeGallery.prototype.initAutoFade=function(){this.oPostData=Object.clone(this.oParams);this.bAutoFade=true;if(this.bObserveOnLoad){Event.observe(window,'load',this.initAutoFadeOnLoad.bind(this),false)}else{this.initAutoFadeOnLoad()}};FadeGallery.prototype.initFade=function(){this.oPostData=Object.clone(this.oParams);if(this.bObserveOnLoad){Event.observe(window,'load',this.initAutoFadeOnLoad.bind(this),false)}else{this.initAutoFadeOnLoad()}};FadeGallery.prototype.initAutoFadeOnLoad=function(){if(this.sExternalIdPrefix!=''){for(var i=0;i<this.aProductIDs.length;i++){$(this.sExternalIdPrefix+this.aProductIDs[i]).hide()}}if(this.sAktivId!=''){if($(this.sAktivId).childElements()[this.lAktuellesBild].className!=''){$(this.sAktivId).childElements()[this.lAktuellesBild].className+=' '+this.sAktivClass}else{$(this.sAktivId).childElements()[this.lAktuellesBild].className=this.sAktivClass}if(this.onActiveSet!=Prototype.emptyFunction){this.onActiveSet()}}for(var i=0;i<this.aProductIDs.length;i++){this.aProductIDsStatus[i]=false}if(this.onLoad!=Prototype.emptyFunction){this.onLoad(1,this.sSender);this.sSender=''}var objOuterFading=document.createElement("div");objOuterFading.setAttribute('id',this.sInternalId+this.aProductIDs[this.lAktuellesBild]);objOuterFading.className=this.sClassName;$(this.sElement).appendChild(objOuterFading);if(this.sUrl!=''){this.oPostData.lProductID=this.aProductIDs[this.lAktuellesBild];this.oPostData.lActualNumber=this.lAktuellesBild+1;this.oPostData.lCount=this.aProductIDs.length;new Ajax.Updater(objOuterFading,this.sUrl,{evalScripts:this.bEvalScripts,parameters:this.oPostData,onComplete:this.loadOnComplete.bind(this)})}else{this.loadOnComplete()}};FadeGallery.prototype.loadOnComplete=function(){if(this.onImageLoaded!=Prototype.emptyFunction){this.lReturnCurrent=this.lAktuellesBild+1;if(this.lReturnCurrent>this.aProductIDs.length){this.lReturnCurrent=1}this.onImageLoaded(this.lReturnCurrent,this.sSender);this.sSender=''}this.aProductIDsStatus[this.lAktuellesBild]=true;if(this.sExternalIdPrefix!=''){var objElement=$(this.sExternalIdPrefix+this.aProductIDs[this.lAktuellesBild]);$(this.sExternalIdPrefix+this.aProductIDs[this.lAktuellesBild]).remove();objElement.show();if(this.sExternalIdPrefixDestination!=''){$(this.sExternalIdPrefixDestination+this.aProductIDs[this.lAktuellesBild]).insert({'bottom':objElement})}else{$(this.sInternalId+this.aProductIDs[this.lAktuellesBild]).insert({'bottom':objElement})}}if(this.aProductIDs.length>1){$(this.sInternalId+this.aProductIDs[this.lAktuellesBild]).style.zIndex='2';if(this.bAutoFade){this.clear=window.setTimeout(this.loadNext.bind(this),this.lLoadTime)}}};FadeGallery.prototype.FadeGalleryNext=function(){if(!this.bLocked){this.bLocked=true;clearTimeout(this.clear);if(!this.bAutoFadeAfterClick){this.bAutoFade=false}this.sSender='clickNext';this.bPrev=false;this.loadNext()}};FadeGallery.prototype.FadeGalleryPrev=function(){if(!this.bLocked){this.bLocked=true;clearTimeout(this.clear);if(!this.bAutoFadeAfterClick){this.bAutoFade=false}this.sSender='clickPrev';this.bPrev=true;this.loadNext()}};FadeGallery.prototype.FadeGalleryThis=function(lObjNumber){if(!this.bLocked&&(lObjNumber-1)!=this.lAktuellesBild){this.bLocked=true;clearTimeout(this.clear);if(!this.bAutoFadeAfterClick){this.bAutoFade=false}this.sSender='clickThis';this.lAktuellesBild=lObjNumber-2;this.loadNext()}};FadeGallery.prototype.FadeGalleryStop=function(){clearTimeout(this.clear);this.bAutoFade=false};FadeGallery.prototype.restartAutoFade=function(){this.bAutoFade=true;this.initAutoFadeOnLoad()};FadeGallery.prototype.loadNext=function(){if(this.onLoad!=Prototype.emptyFunction){this.lReturnCurrent=this.lAktuellesBild+2;if(this.lReturnCurrent>this.aProductIDs.length){this.lReturnCurrent=1}this.onLoad(this.lReturnCurrent,this.sSender);this.sSender=''}if(this.bPrev){if(this.lAktuellesBild==0){this.lAktuellesBild=this.aProductIDs.length-1}else{this.lAktuellesBild--}}else{this.lAktuellesBild++;if(this.aProductIDs[this.lAktuellesBild]==undefined){this.lAktuellesBild=0}}if(this.aProductIDs[this.lAktuellesBild]!=undefined&&!this.aProductIDsStatus[this.lAktuellesBild]){var objOuterFading=document.createElement("div");objOuterFading.setAttribute('id',this.sInternalId+this.aProductIDs[this.lAktuellesBild]);objOuterFading.className=this.sClassName;objOuterFading.zIndex='1';$(this.sElement).appendChild(objOuterFading);if(this.sExternalIdPrefix!=''){var objElement=$(this.sExternalIdPrefix+this.aProductIDs[this.lAktuellesBild]);$(this.sExternalIdPrefix+this.aProductIDs[this.lAktuellesBild]).remove();objElement.style.zIndex='1';objElement.show();if(this.sExternalIdPrefixDestination!=''){$(this.sExternalIdPrefixDestination+this.aProductIDs[this.lAktuellesBild]).insert({'bottom':objElement})}else{$(this.sInternalId+this.aProductIDs[this.lAktuellesBild]).insert({'bottom':objElement})}}if(this.sUrl!=''){this.oPostData.lProductID=this.aProductIDs[this.lAktuellesBild];this.oPostData.lActualNumber=this.lAktuellesBild+1;this.oPostData.lCount=this.aProductIDs.length;new Ajax.Updater(objOuterFading,this.sUrl,{evalScripts:this.bEvalScripts,parameters:this.oPostData,onComplete:this.IfIsImgLoaded.bind(this),insertion:Insertion.Top})}else{this.IfIsImgLoaded()}}else{$(this.sInternalId+this.aProductIDs[this.lAktuellesBild]).style.zIndex='1';$(this.sInternalId+this.aProductIDs[this.lAktuellesBild]).show();this.fadeNext()}};FadeGallery.prototype.fadeNext=function(){this.bLocked=true;this.aProductIDsStatus[this.lAktuellesBild]=true;if(this.sAktivId!=''){if($(this.sAktivId).childElements()[this.lAktuellesBild].className!=''){$(this.sAktivId).childElements()[this.lAktuellesBild].className+=' '+this.sAktivClass}else{$(this.sAktivId).childElements()[this.lAktuellesBild].className=this.sAktivClass}$(this.sAktivId).childElements()[this.lLetztesBild].className=$(this.sAktivId).childElements()[this.lLetztesBild].className.replace(' '+this.sAktivClass,'').replace(this.sAktivClass,'');if(this.onActiveSet!=Prototype.emptyFunction){this.onActiveSet()}}var lTempAktuellesBild=this.lLetztesBild;this.lLetztesBild=this.lAktuellesBild;$(this.sInternalId+this.aProductIDs[this.lAktuellesBild]).style.zIndex='1';new Effect.Fade($(this.sInternalId+this.aProductIDs[lTempAktuellesBild]),{beforeStart:function(){if(this.onBeforeStartFade!=Prototype.emptyFunction){this.lReturnCurrent=this.lAktuellesBild+1;if(this.lReturnCurrent>this.aProductIDs.length){this.lReturnCurrent=1}this.onBeforeStartFade(this.lReturnCurrent,this.sSender);this.sSender=''}}.bind(this),duration:this.lFadeTime,afterFinish:function(){if(this.onFadeComplete!=Prototype.emptyFunction){this.lReturnCurrent=this.lAktuellesBild+1;if(this.lReturnCurrent>this.aProductIDs.length){this.lReturnCurrent=1}this.onFadeComplete(this.lReturnCurrent,this.sSender);this.sSender=''}if(this.onImageLoaded!=Prototype.emptyFunction){this.lReturnCurrent=this.lAktuellesBild+1;if(this.lReturnCurrent>this.aProductIDs.length){this.lReturnCurrent=1}this.onImageLoaded(this.lReturnCurrent,this.sSender);this.sSender=''}$(this.sInternalId+this.aProductIDs[lTempAktuellesBild]).style.zIndex='0';$(this.sInternalId+this.aProductIDs[this.lAktuellesBild]).style.zIndex='2';this.bLocked=false;if(!this.bSameAutoFadeAfterClick){this.bPrev=false}if(this.bAutoFade){this.clear=window.setTimeout(this.loadNext.bind(this),this.lLoadTime)}}.bind(this)})};FadeGallery.prototype.IfIsImgLoaded=function(){var bLoaded=true;for(var i=0;i<$(this.sInternalId+this.aProductIDs[this.lAktuellesBild]).getElementsByTagName('img').length;i++){if(!$(this.sInternalId+this.aProductIDs[this.lAktuellesBild]).getElementsByTagName('img')[i].complete){bLoaded=false}}if(bLoaded){this.fadeNext()}else{this.clear=window.setTimeout(this.IfIsImgLoaded.bind(this),250)}}}
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 GoogleMapJson(){var bInitMap=true;var map=null;var southWestLatLng=null;var northEastLatLng=null;var markerarray=Array();var layerarray=Array();var pinkeysarray=Array();var pinsarray=Array();var pinsvisiblearray=Array();var pins=0;var mapdata=null;var mapid='';var minzoomlevel=14;this.bMarkerLink=false;this.bUseMapControl=false;this.bHideTypeControl=false;this.bHideNaviControl=false;this.onMapLoaded=function(){};this.bUseZIndex=false;this.bTooltip=false;this.bInfoBox=false;this.sMapType=G_HYBRID_MAP;GoogleMapJson.prototype.initMapOnce=function(id,dataurl){if(mapid==''){mapid=id;if((dataurl!=null)&&(mapdata==null)){new Ajax.Request(dataurl,{method:'post',onSuccess:this.loadMapData.bind(this)})}}};GoogleMapJson.prototype.ReloadMap=function(id,dataurl){if(mapid!=''){mapid=id;if(dataurl!=null){new Ajax.Request(dataurl,{method:'post',onSuccess:this.loadMapData.bind(this)});bInitMap=true}}};GoogleMapJson.prototype.loadMapData=function(request){mapdata=request.responseText.evalJSON();this.initMap();this.onMapLoaded()};GoogleMapJson.prototype.initMap=function(){if(bInitMap){markerarray=Array();layerarray=Array();pinkeysarray=Array();pinsarray=Array();pinsvisiblearray=Array();pins=0;map=new GMap2(document.getElementById(mapid));map.setCenter(new GLatLng(46.8,11.6),11,this.sMapType);if(this.bUseMapControl){if(this.bHideTypeControl==false){var mapControl=new GMapTypeControl();map.addControl(mapControl)}if(this.bHideNaviControl==false){map.addControl(new GLargeMapControl())}}if(this.bTooltip){var tooltip=new Element("div");document.getElementById(mapid).appendChild(tooltip);tooltip.style.visibility='hidden'}if(this.bInfoBox){var infobox=new Element("div",{'id':'infobox'});document.getElementById(mapid).appendChild(infobox);infobox.style.visibility='hidden'}function importanceOrder(marker,b){return GOverlay.getZIndex(marker.getPoint().lat())+(0-marker.importance)*1000000}function addMarker(bUseZIndex,bTooltip,bInfoBox,bMarkerLink){var point=new GLatLng(mapdata[i].lat,mapdata[i].lng);var Icon=new GIcon(G_DEFAULT_ICON);Icon.image=mapdata[i].image;Icon.shadow="";Icon.imageMap=Array(0,0,mapdata[i].size_x,0,mapdata[i].size_x,mapdata[i].size_y,0,mapdata[i].size_y);Icon.iconSize=new GSize(mapdata[i].size_x,mapdata[i].size_y);if(bUseZIndex){markerOptions={icon:Icon,zIndexProcess:importanceOrder}}else{markerOptions={icon:Icon}}var marker=new GMarker(point,markerOptions);if(mapdata[i].balloon!=''){var markerdata=mapdata[i].balloon;if(mapdata[i].aktiv!=undefined){if((mapdata[i].aktiv==true)){if(marker!=null){setTimeout(function(){marker.openInfoWindowHtml(markerdata)},10)}}}if((!bTooltip)&&(!bInfoBox)&&(!bMarkerLink)){GEvent.addListener(marker,"mouseover",function(){marker.openInfoWindowHtml(markerdata)})}}if(bTooltip){if(mapdata[i].tooltip!=''){marker.tooltip=mapdata[i].tooltip;GEvent.addListener(marker,"mouseover",function(){showTooltip(marker)});GEvent.addListener(marker,"mouseout",function(){tooltip.style.visibility='hidden'})}}if(bInfoBox){if(mapdata[i].infobox!=''){marker.infobox=mapdata[i].infobox;GEvent.addListener(marker,"click",function(){showInfoBox(marker)})}}if(bMarkerLink){if(mapdata[i].link!=''){marker.link=mapdata[i].link;GEvent.addListener(marker,"click",function(){window.open(marker.link,'_blank')})}}marker.importance=i;map.addOverlay(marker);markerarray[pins]=marker;layerarray[pins]=mapdata[i].layerkey;if(mapdata[i].pinkey===null){pinkeysarray[pins]=''}else{pinkeysarray[pins]=mapdata[i].pinkey}pinsarray[pins]=true;pinsvisiblearray[pins]=true;pins++}function showTooltip(marker){tooltip.innerHTML=marker.tooltip;var point=map.getCurrentMapType().getProjection().fromLatLngToPixel(map.getBounds().getSouthWest(),map.getZoom());var offset=map.getCurrentMapType().getProjection().fromLatLngToPixel(marker.getPoint(),map.getZoom());var anchor=marker.getIcon().iconAnchor;var width=marker.getIcon().iconSize.width;var pos=new GControlPosition(G_ANCHOR_BOTTOM_LEFT,new GSize(offset.x-point.x-anchor.x+width,-offset.y+point.y+anchor.y-marker.getIcon().iconSize.height));pos.apply(tooltip);tooltip.style.visibility='visible'}function showInfoBox(marker){infobox.innerHTML=marker.infobox;infobox.style.visibility='visible'}if(mapdata!=null){for(var i=0;i<mapdata.length;i++){if(pins==0){southWestLatLng=new GLatLng(mapdata[i].lat,mapdata[i].lng,true);northEastLatLng=new GLatLng(mapdata[i].lat,mapdata[i].lng,true)}else{if(mapdata[i].lat>northEastLatLng.lat()){northEastLatLng=new GLatLng(mapdata[i].lat,northEastLatLng.lng(),true)}if(mapdata[i].lat<southWestLatLng.lat()){southWestLatLng=new GLatLng(mapdata[i].lat,southWestLatLng.lng(),true)}if(mapdata[i].lng>northEastLatLng.lng()){northEastLatLng=new GLatLng(northEastLatLng.lat(),mapdata[i].lng,true)}if(mapdata[i].lng<southWestLatLng.lng()){southWestLatLng=new GLatLng(southWestLatLng.lat(),mapdata[i].lng,true)}}addMarker(this.bUseZIndex,this.bTooltip,this.bInfoBox,this.bMarkerLink)}}this.reCenterMap();bInitMap=false}};GoogleMapJson.prototype.closeInfoBox=function(){if($('infobox')){$('infobox').style.visibility='hidden'}};GoogleMapJson.prototype.openInfoWindowHtml=function(lLatLng,data){if(map!=null){map.openInfoWindowHtml(lLatLng,data)}};GoogleMapJson.prototype.reCenterMap=function(){if(map!=null){map.checkResize()}if((southWestLatLng!=null)&&(northEastLatLng!=null)){var newLatLngBounds=new GLatLngBounds(southWestLatLng,northEastLatLng);map.panTo(newLatLngBounds.getCenter());var newZoomLevel=map.getBoundsZoomLevel(newLatLngBounds);if(newZoomLevel<minzoomlevel){if(newZoomLevel>0){map.setZoom(newZoomLevel);map.panTo(newLatLngBounds.getCenter())}}else{map.setZoom(minzoomlevel);map.panTo(newLatLngBounds.getCenter())}}};GoogleMapJson.prototype.reCalculateMap=function(){southWestLatLng=null;northEastLatLng=null;if(mapdata!=null){for(var i=0;i<mapdata.length;i++){if(pinsvisiblearray[i]==true){if((southWestLatLng==null)&&(northEastLatLng==null)){southWestLatLng=new GLatLng(mapdata[i].lat,mapdata[i].lng,true);northEastLatLng=new GLatLng(mapdata[i].lat,mapdata[i].lng,true)}else{if(mapdata[i].lat>northEastLatLng.lat()){northEastLatLng=new GLatLng(mapdata[i].lat,northEastLatLng.lng(),true)}if(mapdata[i].lat<southWestLatLng.lat()){southWestLatLng=new GLatLng(mapdata[i].lat,southWestLatLng.lng(),true)}if(mapdata[i].lng>northEastLatLng.lng()){northEastLatLng=new GLatLng(northEastLatLng.lat(),mapdata[i].lng,true)}if(mapdata[i].lng<southWestLatLng.lng()){southWestLatLng=new GLatLng(southWestLatLng.lat(),mapdata[i].lng,true)}}}}}};GoogleMapJson.prototype.mapZoomin=function(){map.setZoom(map.getZoom()+1)};GoogleMapJson.prototype.mapZoomout=function(){map.setZoom(map.getZoom()-1)};GoogleMapJson.prototype.setMapType=function(maptype){map.setMapType(maptype)};GoogleMapJson.prototype.showLayerMap=function(layerkey){for(var i=0;i<pins;i++){if((layerkey==layerarray[i])&&(pinsarray[i]==true)){pinsvisiblearray[i]=true;map.removeOverlay(markerarray[i]);map.addOverlay(markerarray[i])}}};GoogleMapJson.prototype.showAllLayerMap=function(){for(var i=0;i<pins;i++){pinsvisiblearray[i]=true;map.removeOverlay(markerarray[i]);map.addOverlay(markerarray[i])}};GoogleMapJson.prototype.hideLayerMap=function(layerkey){for(var i=0;i<pins;i++){if((layerkey==layerarray[i])&&(pinsarray[i]==true)){pinsvisiblearray[i]=false;map.removeOverlay(markerarray[i])}}};GoogleMapJson.prototype.hideAllLayerMap=function(){for(var i=0;i<pins;i++){map.removeOverlay(markerarray[i]);pinsvisiblearray[i]=false}};GoogleMapJson.prototype.toogleLayerMap=function(bool,layerkey){if(bool){this.showLayerMap(layerkey)}else{this.hideLayerMap(layerkey)}};GoogleMapJson.prototype.showPin=function(pinkey){for(var i=0;i<pins;i++){if((pinkey==pinkeysarray[i])){map.removeOverlay(markerarray[i]);map.addOverlay(markerarray[i]);pinsarray[i]=true;pinsvisiblearray[i]=true}}};GoogleMapJson.prototype.hidePin=function(pinkey){for(var i=0;i<pins;i++){if((pinkey==pinkeysarray[i])){map.removeOverlay(markerarray[i]);pinsarray[i]=false;pinsvisiblearray[i]=false}}};GoogleMapJson.prototype.hideAllPins=function(){for(var i=0;i<pins;i++){if(pinkeysarray[i]!=''){pinsarray[i]=false;pinsvisiblearray[i]=false;map.removeOverlay(markerarray[i])}}};GoogleMapJson.prototype.showAllPins=function(){for(var i=0;i<pins;i++){if(pinkeysarray[i]!=''){pinsarray[i]=true;pinsvisiblearray[i]=true;map.removeOverlay(markerarray[i]);map.addOverlay(markerarray[i])}}};GoogleMapJson.prototype.hideAllPinsWithLayer=function(layerkey){for(var i=0;i<pins;i++){if((pinkeysarray[i]!='')&&(layerkey==layerarray[i])){pinsarray[i]=false;pinsvisiblearray[i]=false;map.removeOverlay(markerarray[i])}}};GoogleMapJson.prototype.showAllPinsWithLayer=function(layerkey){for(var i=0;i<pins;i++){if((pinkeysarray[i]!='')&&(layerkey==layerarray[i])){pinsarray[i]=true;pinsvisiblearray[i]=true;map.removeOverlay(markerarray[i]);map.addOverlay(markerarray[i])}}};GoogleMapJson.prototype.isMapLoaded=function(){if(!bInitMap){return true}else{return false}};GoogleMapJson.prototype.setMapID=function(id){mapid=id};GoogleMapJson.prototype.setMapData=function(aJson){mapdata=aJson};GoogleMapJson.prototype.setInitMap=function(bValue){bInitMap=bValue}}
/*P:1217.084*/

