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);
if(navigator.userAgent.indexOf('IE 6')>0){var DD_belatedPNG={ns:'DD_belatedPNG',imgSize:{},createVmlNameSpace:function(){if(document.namespaces&&!document.namespaces[this.ns]){document.namespaces.add(this.ns,'urn:schemas-microsoft-com:vml')}try{if(window.attachEvent){window.attachEvent('onbeforeunload',function(){DD_belatedPNG=null})}}catch(r){}},createVmlStyleSheet:function(){var style=document.createElement('style');document.documentElement.firstChild.insertBefore(style,document.documentElement.firstChild.firstChild);var styleSheet=style.styleSheet;styleSheet.addRule(this.ns+'\\:*','{behavior:url(#default#VML)}');styleSheet.addRule(this.ns+'\\:shape','position:absolute;');styleSheet.addRule('img.'+this.ns+'_sizeFinder','behavior:none; border:none; position:absolute; z-index:-1; top:-10000px; visibility:hidden;');this.styleSheet=styleSheet},readPropertyChange:function(){var el=event.srcElement;if(event.propertyName.search('background')!=-1||event.propertyName.search('border')!=-1){DD_belatedPNG.applyVML(el)}if(event.propertyName=='style.display'){var display=(el.currentStyle.display=='none')?'none':'block';for(var v in el.vml){el.vml[v].shape.style.display=display}}if(event.propertyName.search('filter')!=-1){DD_belatedPNG.vmlOpacity(el)}},vmlOpacity:function(el){if(el.currentStyle.filter.search('lpha')!=-1){var trans=el.currentStyle.filter;trans=parseInt(trans.substring(trans.lastIndexOf('=')+1,trans.lastIndexOf(')')),10)/100;el.vml.color.shape.style.filter=el.currentStyle.filter;el.vml.image.fill.opacity=trans}},handlePseudoHover:function(el){setTimeout(function(){DD_belatedPNG.applyVML(el)},1)},fix:function(selector){var selectors=selector.split(',');for(var i=0;i<selectors.length;i++){this.styleSheet.addRule(selectors[i],'behavior:expression(DD_belatedPNG.fixPng(this))')}},applyVML:function(el){el.runtimeStyle.cssText='';this.vmlFill(el);this.vmlOffsets(el);this.vmlOpacity(el);if(el.isImg){this.copyImageBorders(el)}},attachHandlers:function(el){var self=this;var handlers={resize:'vmlOffsets',move:'vmlOffsets'};if(el.nodeName=='A'){var moreForAs={mouseleave:'handlePseudoHover',mouseenter:'handlePseudoHover',focus:'handlePseudoHover',blur:'handlePseudoHover'};for(var a in moreForAs){handlers[a]=moreForAs[a]}}for(var h in handlers){el.attachEvent('on'+h,function(){self[handlers[h]](el)})}el.attachEvent('onpropertychange',this.readPropertyChange)},giveLayout:function(el){el.style.zoom=1;if(el.currentStyle.position=='static'){el.style.position='relative'}},copyImageBorders:function(el){var styles={'borderStyle':true,'borderWidth':true,'borderColor':true};for(var s in styles){el.vml.color.shape.style[s]=el.currentStyle[s]}},vmlFill:function(el){if(!el.currentStyle){return}else{var elStyle=el.currentStyle}for(var v in el.vml){el.vml[v].shape.style.zIndex=elStyle.zIndex}el.runtimeStyle.backgroundColor='';el.runtimeStyle.backgroundImage='';var noColor=(elStyle.backgroundColor=='transparent');var noImg=true;if(elStyle.backgroundImage!='none'||el.isImg){if(!el.isImg){el.vmlBg=elStyle.backgroundImage;el.vmlBg=el.vmlBg.substr(5,el.vmlBg.lastIndexOf('")')-5)}else{el.vmlBg=el.src}var lib=this;if(!lib.imgSize[el.vmlBg]){var img=document.createElement('img');lib.imgSize[el.vmlBg]=img;img.className=lib.ns+'_sizeFinder';img.runtimeStyle.cssText='behavior:none; position:absolute; left:-10000px; top:-10000px; border:none;';img.attachEvent('onload',function(){this.width=this.offsetWidth;this.height=this.offsetHeight;lib.vmlOffsets(el)});img.src=el.vmlBg;img.removeAttribute('width');img.removeAttribute('height');document.body.insertBefore(img,document.body.firstChild)}el.vml.image.fill.src=el.vmlBg;noImg=false}el.vml.image.fill.on=!noImg;el.vml.image.fill.color='none';el.vml.color.shape.style.backgroundColor=elStyle.backgroundColor;el.runtimeStyle.backgroundImage='none';el.runtimeStyle.backgroundColor='transparent'},vmlOffsets:function(el){var thisStyle=el.currentStyle;var size={'W':el.clientWidth+1,'H':el.clientHeight+1,'w':this.imgSize[el.vmlBg].width,'h':this.imgSize[el.vmlBg].height,'L':el.offsetLeft,'T':el.offsetTop,'bLW':el.clientLeft,'bTW':el.clientTop};var fudge=(size.L+size.bLW==1)?1:0;var makeVisible=function(vml,l,t,w,h,o){vml.coordsize=w+','+h;vml.coordorigin=o+','+o;vml.path='m0,0l'+w+',0l'+w+','+h+'l0,'+h+' xe';vml.style.width=w+'px';vml.style.height=h+'px';vml.style.left=l+'px';vml.style.top=t+'px'};makeVisible(el.vml.color.shape,(size.L+(el.isImg?0:size.bLW)),(size.T+(el.isImg?0:size.bTW)),(size.W-1),(size.H-1),0);makeVisible(el.vml.image.shape,(size.L+size.bLW),(size.T+size.bTW),(size.W),(size.H),1);var bg={'X':0,'Y':0};var figurePercentage=function(axis,position){var fraction=true;switch(position){case'left':case'top':bg[axis]=0;break;case'center':bg[axis]=.5;break;case'right':case'bottom':bg[axis]=1;break;default:if(position.search('%')!=-1){bg[axis]=parseInt(position)*.01}else{fraction=false}}var horz=(axis=='X');bg[axis]=Math.ceil(fraction?((size[horz?'W':'H']*bg[axis])-(size[horz?'w':'h']*bg[axis])):parseInt(position));if(bg[axis]==0){bg[axis]++}};for(var b in bg){figurePercentage(b,thisStyle['backgroundPosition'+b])}el.vml.image.fill.position=(bg.X/size.W)+','+(bg.Y/size.H);var bgR=thisStyle.backgroundRepeat;var dC={'T':1,'R':size.W+fudge,'B':size.H,'L':1+fudge};var altC={'X':{'b1':'L','b2':'R','d':'W'},'Y':{'b1':'T','b2':'B','d':'H'}};if(bgR!='repeat'){var c={'T':(bg.Y),'R':(bg.X+size.w),'B':(bg.Y+size.h),'L':(bg.X)};if(bgR.search('repeat-')!=-1){var v=bgR.split('repeat-')[1].toUpperCase();c[altC[v].b1]=1;c[altC[v].b2]=size[altC[v].d]}if(c.B>size.H){c.B=size.H}el.vml.image.shape.style.clip='rect('+c.T+'px '+(c.R+fudge)+'px '+c.B+'px '+(c.L+fudge)+'px)'}else{el.vml.image.shape.style.clip='rect('+dC.T+'px '+dC.R+'px '+dC.B+'px '+dC.L+'px)'}},fixPng:function(el){el.style.behavior='none';if(el.nodeName=='BODY'||el.nodeName=='TD'||el.nodeName=='TR'){return}el.isImg=false;if(el.nodeName=='IMG'){if(el.src.toLowerCase().search(/\.png$/)!=-1){el.isImg=true;el.style.visibility='hidden'}else{return}}else if(el.currentStyle.backgroundImage.toLowerCase().search('.png')==-1){return}var lib=DD_belatedPNG;el.vml={color:{},image:{}};var els={shape:{},fill:{}};for(var r in el.vml){for(var e in els){var nodeStr=lib.ns+':'+e;el.vml[r][e]=document.createElement(nodeStr)}el.vml[r].shape.stroked=false;el.vml[r].shape.appendChild(el.vml[r].fill);el.parentNode.insertBefore(el.vml[r].shape,el)}el.vml.image.shape.fillcolor='none';el.vml.image.fill.type='tile';el.vml.color.fill.on=false;lib.attachHandlers(el);lib.giveLayout(el);lib.giveLayout(el.offsetParent);lib.applyVML(el)}};try{document.execCommand("BackgroundImageCache",false,true)}catch(r){}DD_belatedPNG.createVmlNameSpace();DD_belatedPNG.createVmlStyleSheet()}
var Cufon=(function(){var api=function(){return api.replace.apply(null,arguments)};var DOM=api.DOM={ready:(function(){var complete=false,readyStatus={loaded:1,complete:1};var queue=[],perform=function(){if(complete)return;complete=true;for(var fn;fn=queue.shift();fn()){}};if(document.addEventListener){document.addEventListener('DOMContentLoaded',perform,false);window.addEventListener('pageshow',perform,false)}if(!window.opera&&document.readyState)(function(){readyStatus[document.readyState]?perform():setTimeout(arguments.callee,10)})();if(document.readyState&&document.createStyleSheet)(function(){try{document.body.doScroll('left');perform()}catch(e){setTimeout(arguments.callee,1)}})();addEvent(window,'load',perform);return function(listener){if(!arguments.length)perform();else complete?listener():queue.push(listener)}})(),root:function(){return document.documentElement||document.body}};var CSS=api.CSS={Size:function(value,base){this.value=parseFloat(value);this.unit=String(value).match(/[a-z%]*$/)[0]||'px';this.convert=function(value){return value/base*this.value};this.convertFrom=function(value){return value/this.value*base};this.toString=function(){return this.value+this.unit}},addClass:function(el,className){var current=el.className;el.className=current+(current&&' ')+className;return el},color:cached(function(value){var parsed={};parsed.color=value.replace(/^rgba\((.*?),\s*([\d.]+)\)/,function($0,$1,$2){parsed.opacity=parseFloat($2);return'rgb('+$1+')'});return parsed}),fontStretch:cached(function(value){if(typeof value=='number')return value;if(/%$/.test(value))return parseFloat(value)/100;return{'ultra-condensed':0.5,'extra-condensed':0.625,condensed:0.75,'semi-condensed':0.875,'semi-expanded':1.125,expanded:1.25,'extra-expanded':1.5,'ultra-expanded':2}[value]||1}),getStyle:function(el){var view=document.defaultView;if(view&&view.getComputedStyle)return new Style(view.getComputedStyle(el,null));if(el.currentStyle)return new Style(el.currentStyle);return new Style(el.style)},gradient:cached(function(value){var gradient={id:value,type:value.match(/^-([a-z]+)-gradient\(/)[1],stops:[]},colors=value.substr(value.indexOf('(')).match(/([\d.]+=)?(#[a-f0-9]+|[a-z]+\(.*?\)|[a-z]+)/ig);for(var i=0,l=colors.length,stop;i<l;++i){stop=colors[i].split('=',2).reverse();gradient.stops.push([stop[1]||i/(l-1),stop[0]])}return gradient}),quotedList:cached(function(value){var list=[],re=/\s*((["'])([\s\S]*?[^\\])\2|[^,]+)\s*/g,match;while(match=re.exec(value))list.push(match[3]||match[1]);return list}),recognizesMedia:cached(function(media){var el=document.createElement('style'),sheet,container,supported;el.type='text/css';el.media=media;try{el.appendChild(document.createTextNode('/**/'))}catch(e){}container=elementsByTagName('head')[0];container.insertBefore(el,container.firstChild);sheet=(el.sheet||el.styleSheet);supported=sheet&&!sheet.disabled;container.removeChild(el);return supported}),removeClass:function(el,className){var re=RegExp('(?:^|\\s+)'+className+'(?=\\s|$)','g');el.className=el.className.replace(re,'');return el},supports:function(property,value){var checker=document.createElement('span').style;if(checker[property]===undefined)return false;checker[property]=value;return checker[property]===value},textAlign:function(word,style,position,wordCount){if(style.get('textAlign')=='right'){if(position>0)word=' '+word}else if(position<wordCount-1)word+=' ';return word},textShadow:cached(function(value){if(value=='none')return null;var shadows=[],currentShadow={},result,offCount=0;var re=/(#[a-f0-9]+|[a-z]+\(.*?\)|[a-z]+)|(-?[\d.]+[a-z%]*)|,/ig;while(result=re.exec(value)){if(result[0]==','){shadows.push(currentShadow);currentShadow={};offCount=0}else if(result[1]){currentShadow.color=result[1]}else{currentShadow[['offX','offY','blur'][offCount++]]=result[2]}}shadows.push(currentShadow);return shadows}),textTransform:(function(){var map={uppercase:function(s){return s.toUpperCase()},lowercase:function(s){return s.toLowerCase()},capitalize:function(s){return s.replace(/\b./g,function($0){return $0.toUpperCase()})}};return function(text,style){var transform=map[style.get('textTransform')];return transform?transform(text):text}})(),whiteSpace:(function(){var ignore={inline:1,'inline-block':1,'run-in':1};var wsStart=/^\s+/,wsEnd=/\s+$/;return function(text,style,node,previousElement){if(previousElement){if(previousElement.nodeName.toLowerCase()=='br'){text=text.replace(wsStart,'')}}if(ignore[style.get('display')])return text;if(!node.previousSibling)text=text.replace(wsStart,'');if(!node.nextSibling)text=text.replace(wsEnd,'');return text}})()};CSS.ready=(function(){var complete=!CSS.recognizesMedia('all'),hasLayout=false;var queue=[],perform=function(){complete=true;for(var fn;fn=queue.shift();fn()){}};var links=elementsByTagName('link'),styles=elementsByTagName('style');function isContainerReady(el){return el.disabled||isSheetReady(el.sheet,el.media||'screen')}function isSheetReady(sheet,media){if(!CSS.recognizesMedia(media||'all'))return true;if(!sheet||sheet.disabled)return false;try{var rules=sheet.cssRules,rule;if(rules){search:for(var i=0,l=rules.length;rule=rules[i],i<l;++i){switch(rule.type){case 2:break;case 3:if(!isSheetReady(rule.styleSheet,rule.media.mediaText))return false;break;default:break search}}}}catch(e){}return true}function allStylesLoaded(){if(document.createStyleSheet)return true;var el,i;for(i=0;el=links[i];++i){if(el.rel.toLowerCase()=='stylesheet'&&!isContainerReady(el))return false}for(i=0;el=styles[i];++i){if(!isContainerReady(el))return false}return true}DOM.ready(function(){if(!hasLayout)hasLayout=CSS.getStyle(document.body).isUsable();if(complete||(hasLayout&&allStylesLoaded()))perform();else setTimeout(arguments.callee,10)});return function(listener){if(complete)listener();else queue.push(listener)}})();function Font(data){var face=this.face=data.face,wordSeparators={'\u0020':1,'\u00a0':1,'\u3000':1};this.glyphs=data.glyphs;this.w=data.w;this.baseSize=parseInt(face['units-per-em'],10);this.family=face['font-family'].toLowerCase();this.weight=face['font-weight'];this.style=face['font-style']||'normal';this.viewBox=(function(){var parts=face.bbox.split(/\s+/);var box={minX:parseInt(parts[0],10),minY:parseInt(parts[1],10),maxX:parseInt(parts[2],10),maxY:parseInt(parts[3],10)};box.width=box.maxX-box.minX;box.height=box.maxY-box.minY;box.toString=function(){return[this.minX,this.minY,this.width,this.height].join(' ')};return box})();this.ascent=-parseInt(face.ascent,10);this.descent=-parseInt(face.descent,10);this.height=-this.ascent+this.descent;this.spacing=function(chars,letterSpacing,wordSpacing){var glyphs=this.glyphs,glyph,kerning,k,jumps=[],width=0,i=-1,j=-1,chr;while(chr=chars[++i]){glyph=glyphs[chr]||this.missingGlyph;if(!glyph)continue;if(kerning){width-=k=kerning[chr]||0;jumps[j]-=k}width+=jumps[++j]=~~(glyph.w||this.w)+letterSpacing+(wordSeparators[chr]?wordSpacing:0);kerning=glyph.k}jumps.total=width;return jumps}}function FontFamily(){var styles={},mapping={oblique:'italic',italic:'oblique'};this.add=function(font){(styles[font.style]||(styles[font.style]={}))[font.weight]=font};this.get=function(style,weight){var weights=styles[style]||styles[mapping[style]]||styles.normal||styles.italic||styles.oblique;if(!weights)return null;weight={normal:400,bold:700}[weight]||parseInt(weight,10);if(weights[weight])return weights[weight];var up={1:1,99:0}[weight%100],alts=[],min,max;if(up===undefined)up=weight>400;if(weight==500)weight=400;for(var alt in weights){if(!hasOwnProperty(weights,alt))continue;alt=parseInt(alt,10);if(!min||alt<min)min=alt;if(!max||alt>max)max=alt;alts.push(alt)}if(weight<min)weight=min;if(weight>max)weight=max;alts.sort(function(a,b){return(up?(a>=weight&&b>=weight)?a<b:a>b:(a<=weight&&b<=weight)?a>b:a<b)?-1:1});return weights[alts[0]]}}function HoverHandler(){function contains(node,anotherNode){if(node.contains)return node.contains(anotherNode);return node.compareDocumentPosition(anotherNode)&16}function onOverOut(e){var related=e.relatedTarget;if(!related||contains(this,related))return;trigger(this,e.type=='mouseover')}function onEnterLeave(e){trigger(this,e.type=='mouseenter')}function trigger(el,hoverState){setTimeout(function(){var options=sharedStorage.get(el).options;api.replace(el,hoverState?merge(options,options.hover):options,true)},10)}this.attach=function(el){if(el.onmouseenter===undefined){addEvent(el,'mouseover',onOverOut);addEvent(el,'mouseout',onOverOut)}else{addEvent(el,'mouseenter',onEnterLeave);addEvent(el,'mouseleave',onEnterLeave)}}}function ReplaceHistory(){var list=[],map={};function filter(keys){var values=[],key;for(var i=0;key=keys[i];++i)values[i]=list[map[key]];return values}this.add=function(key,args){map[key]=list.push(args)-1};this.repeat=function(){var snapshot=arguments.length?filter(arguments):list,args;for(var i=0;args=snapshot[i++];)api.replace(args[0],args[1],true)}}function Storage(){var map={},at=0;function identify(el){return el.cufid||(el.cufid=++at)}this.get=function(el){var id=identify(el);return map[id]||(map[id]={})}}function Style(style){var custom={},sizes={};this.extend=function(styles){for(var property in styles){if(hasOwnProperty(styles,property))custom[property]=styles[property]}return this};this.get=function(property){return custom[property]!=undefined?custom[property]:style[property]};this.getSize=function(property,base){return sizes[property]||(sizes[property]=new CSS.Size(this.get(property),base))};this.isUsable=function(){return!!style}}function addEvent(el,type,listener){if(el.addEventListener){el.addEventListener(type,listener,false)}else if(el.attachEvent){el.attachEvent('on'+type,function(){return listener.call(el,window.event)})}}function attach(el,options){var storage=sharedStorage.get(el);if(storage.options)return el;if(options.hover&&options.hoverables[el.nodeName.toLowerCase()]){hoverHandler.attach(el)}storage.options=options;return el}function cached(fun){var cache={};return function(key){if(!hasOwnProperty(cache,key))cache[key]=fun.apply(null,arguments);return cache[key]}}function getFont(el,style){var families=CSS.quotedList(style.get('fontFamily').toLowerCase()),family;for(var i=0;family=families[i];++i){if(fonts[family])return fonts[family].get(style.get('fontStyle'),style.get('fontWeight'))}return null}function elementsByTagName(query){return document.getElementsByTagName(query)}function hasOwnProperty(obj,property){return obj.hasOwnProperty(property)}function merge(){var merged={},arg,key;for(var i=0,l=arguments.length;arg=arguments[i],i<l;++i){for(key in arg){if(hasOwnProperty(arg,key))merged[key]=arg[key]}}return merged}function process(font,text,style,options,node,el){var fragment=document.createDocumentFragment(),processed;if(text==='')return fragment;var separate=options.separate;var parts=text.split(separators[separate]),needsAligning=(separate=='words');if(needsAligning&&HAS_BROKEN_REGEXP){if(/^\s/.test(text))parts.unshift('');if(/\s$/.test(text))parts.push('')}for(var i=0,l=parts.length;i<l;++i){processed=engines[options.engine](font,needsAligning?CSS.textAlign(parts[i],style,i,l):parts[i],style,options,node,el,i<l-1);if(processed)fragment.appendChild(processed)}return fragment}function replaceElement(el,options){var name=el.nodeName.toLowerCase();if(options.ignore[name])return;var replace=!options.textless[name];var style=CSS.getStyle(attach(el,options)).extend(options);var font=getFont(el,style),node,type,next,anchor,text,lastElement;if(!font)return;for(node=el.firstChild;node;node=next){type=node.nodeType;next=node.nextSibling;if(replace&&type==3){if(anchor){anchor.appendData(node.data);el.removeChild(node)}else anchor=node;if(next)continue}if(anchor){el.replaceChild(process(font,CSS.whiteSpace(anchor.data,style,anchor,lastElement),style,options,node,el),anchor);anchor=null}if(type==1){if(node.firstChild){if(node.nodeName.toLowerCase()=='cufon'){engines[options.engine](font,null,style,options,node,el)}else arguments.callee(node,options)}lastElement=node}}}var HAS_BROKEN_REGEXP=' '.split(/\s+/).length==0;var sharedStorage=new Storage();var hoverHandler=new HoverHandler();var replaceHistory=new ReplaceHistory();var initialized=false;var engines={},fonts={},defaultOptions={autoDetect:false,engine:null,forceHitArea:false,hover:false,hoverables:{a:true},ignore:{applet:1,canvas:1,col:1,colgroup:1,head:1,iframe:1,map:1,optgroup:1,option:1,script:1,select:1,style:1,textarea:1,title:1,pre:1},printable:true,selector:(window.Sizzle||(window.jQuery&&function(query){return jQuery(query)})||(window.dojo&&dojo.query)||(window.Ext&&Ext.query)||(window.YAHOO&&YAHOO.util&&YAHOO.util.Selector&&YAHOO.util.Selector.query)||(window.$$&&function(query){return $$(query)})||(window.$&&function(query){return $(query)})||(document.querySelectorAll&&function(query){return document.querySelectorAll(query)})||elementsByTagName),separate:'words',textless:{dl:1,html:1,ol:1,table:1,tbody:1,thead:1,tfoot:1,tr:1,ul:1},textShadow:'none'};var separators={words:/\s/.test('\u00a0') ?/[^\S\u00a0]+/ :/\s+/,characters:'',none:/^/};api.now=function(){DOM.ready();return api};api.refresh=function(){replaceHistory.repeat.apply(replaceHistory,arguments);return api};api.registerEngine=function(id,engine){if(!engine)return api;engines[id]=engine;return api.set('engine',id)};api.registerFont=function(data){if(!data)return api;var font=new Font(data),family=font.family;if(!fonts[family])fonts[family]=new FontFamily();fonts[family].add(font);return api.set('fontFamily','"'+family+'"')};api.replace=function(elements,options,ignoreHistory){options=merge(defaultOptions,options);if(!options.engine)return api;if(!initialized){CSS.addClass(DOM.root(),'cufon-active cufon-loading');CSS.ready(function(){CSS.addClass(CSS.removeClass(DOM.root(),'cufon-loading'),'cufon-ready')});initialized=true}if(options.hover)options.forceHitArea=true;if(options.autoDetect)delete options.fontFamily;if(typeof options.textShadow=='string'){options.textShadow=CSS.textShadow(options.textShadow)}if(typeof options.color=='string'&&/^-/.test(options.color)){options.textGradient=CSS.gradient(options.color)}else delete options.textGradient;if(!ignoreHistory)replaceHistory.add(elements,arguments);if(elements.nodeType||typeof elements=='string')elements=[elements];CSS.ready(function(){for(var i=0,l=elements.length;i<l;++i){var el=elements[i];if(typeof el=='string')api.replace(options.selector(el),options,true);else replaceElement(el,options)}});return api};api.set=function(option,value){defaultOptions[option]=value;return api};return api})();Cufon.registerEngine('vml',(function(){var ns=document.namespaces;if(!ns)return;ns.add('cvml','urn:schemas-microsoft-com:vml');ns=null;var check=document.createElement('cvml:shape');check.style.behavior='url(#default#VML)';if(!check.coordsize)return;check=null;var HAS_BROKEN_LINEHEIGHT=(document.documentMode||0)<8;document.write(('<style type="text/css">'+'cufoncanvas{text-indent:0;}'+'@media screen{'+'cvml\\:shape,cvml\\:rect,cvml\\:fill,cvml\\:shadow{behavior:url(#default#VML);display:block;antialias:true;position:absolute;}'+'cufoncanvas{position:absolute;text-align:left;}'+'cufon{display:inline-block;position:relative;vertical-align:'+(HAS_BROKEN_LINEHEIGHT?'middle':'text-bottom')+';}'+'cufon cufontext{position:absolute;left:-10000in;font-size:1px;}'+'a cufon{cursor:pointer}'+'}'+'@media print{'+'cufon cufoncanvas{display:none;}'+'}'+'</style>').replace(/;/g,'!important;'));function getFontSizeInPixels(el,value){return getSizeInPixels(el,/(?:em|ex|%)$|^[a-z-]+$/i.test(value)?'1em':value)}function getSizeInPixels(el,value){if(value==='0')return 0;if(/px$/i.test(value))return parseFloat(value);var style=el.style.left,runtimeStyle=el.runtimeStyle.left;el.runtimeStyle.left=el.currentStyle.left;el.style.left=value.replace('%','em');var result=el.style.pixelLeft;el.style.left=style;el.runtimeStyle.left=runtimeStyle;return result}function getSpacingValue(el,style,size,property){var key='computed'+property,value=style[key];if(isNaN(value)){value=style.get(property);style[key]=value=(value=='normal')?0:~~size.convertFrom(getSizeInPixels(el,value))}return value}var fills={};function gradientFill(gradient){var id=gradient.id;if(!fills[id]){var stops=gradient.stops,fill=document.createElement('cvml:fill'),colors=[];fill.type='gradient';fill.angle=180;fill.focus='0';fill.method='sigma';fill.color=stops[0][1];for(var j=1,k=stops.length-1;j<k;++j){colors.push(stops[j][0]*100+'% '+stops[j][1])}fill.colors=colors.join(',');fill.color2=stops[k][1];fills[id]=fill}return fills[id]}return function(font,text,style,options,node,el,hasNext){var redraw=(text===null);if(redraw)text=node.alt;var viewBox=font.viewBox;var size=style.computedFontSize||(style.computedFontSize=new Cufon.CSS.Size(getFontSizeInPixels(el,style.get('fontSize'))+'px',font.baseSize));var wrapper,canvas;if(redraw){wrapper=node;canvas=node.firstChild}else{wrapper=document.createElement('cufon');wrapper.className='cufon cufon-vml';wrapper.alt=text;canvas=document.createElement('cufoncanvas');wrapper.appendChild(canvas);if(options.printable){var print=document.createElement('cufontext');print.appendChild(document.createTextNode(text));wrapper.appendChild(print)}if(!hasNext)wrapper.appendChild(document.createElement('cvml:shape'))}var wStyle=wrapper.style;var cStyle=canvas.style;var height=size.convert(viewBox.height),roundedHeight=Math.ceil(height);var roundingFactor=roundedHeight/height;var stretchFactor=roundingFactor*Cufon.CSS.fontStretch(style.get('fontStretch'));var minX=viewBox.minX,minY=viewBox.minY;cStyle.height=roundedHeight;cStyle.top=Math.round(size.convert(minY-font.ascent));cStyle.left=Math.round(size.convert(minX));wStyle.height=size.convert(font.height)+'px';var color=style.get('color');var chars=Cufon.CSS.textTransform(text,style).split('');var jumps=font.spacing(chars,getSpacingValue(el,style,size,'letterSpacing'),getSpacingValue(el,style,size,'wordSpacing'));if(!jumps.length)return null;var width=jumps.total;var fullWidth=-minX+width+(viewBox.width-jumps[jumps.length-1]);var shapeWidth=size.convert(fullWidth*stretchFactor),roundedShapeWidth=Math.round(shapeWidth);var coordSize=fullWidth+','+viewBox.height,coordOrigin;var stretch='r'+coordSize+'ns';var fill=options.textGradient&&gradientFill(options.textGradient);var glyphs=font.glyphs,offsetX=0;var shadows=options.textShadow;var i=-1,j=0,chr;while(chr=chars[++i]){var glyph=glyphs[chars[i]]||font.missingGlyph,shape;if(!glyph)continue;if(redraw){shape=canvas.childNodes[j];while(shape.firstChild)shape.removeChild(shape.firstChild)}else{shape=document.createElement('cvml:shape');canvas.appendChild(shape)}shape.stroked='f';shape.coordsize=coordSize;shape.coordorigin=coordOrigin=(minX-offsetX)+','+minY;shape.path=(glyph.d?'m'+glyph.d+'xe':'')+'m'+coordOrigin+stretch;shape.fillcolor=color;if(fill)shape.appendChild(fill.cloneNode(false));var sStyle=shape.style;sStyle.width=roundedShapeWidth;sStyle.height=roundedHeight;if(shadows){var shadow1=shadows[0],shadow2=shadows[1];var color1=Cufon.CSS.color(shadow1.color),color2;var shadow=document.createElement('cvml:shadow');shadow.on='t';shadow.color=color1.color;shadow.offset=shadow1.offX+','+shadow1.offY;if(shadow2){color2=Cufon.CSS.color(shadow2.color);shadow.type='double';shadow.color2=color2.color;shadow.offset2=shadow2.offX+','+shadow2.offY}shadow.opacity=color1.opacity||(color2&&color2.opacity)||1;shape.appendChild(shadow)}offsetX+=jumps[j++]}var cover=shape.nextSibling,coverFill,vStyle;if(options.forceHitArea){if(!cover){cover=document.createElement('cvml:rect');cover.stroked='f';cover.className='cufon-vml-cover';coverFill=document.createElement('cvml:fill');coverFill.opacity=0;cover.appendChild(coverFill);canvas.appendChild(cover)}vStyle=cover.style;vStyle.width=roundedShapeWidth;vStyle.height=roundedHeight}else if(cover)canvas.removeChild(cover);wStyle.width=Math.max(Math.ceil(size.convert(width*stretchFactor)),0);if(HAS_BROKEN_LINEHEIGHT){var yAdjust=style.computedYAdjust;if(yAdjust===undefined){var lineHeight=style.get('lineHeight');if(lineHeight=='normal')lineHeight='1em';else if(!isNaN(lineHeight))lineHeight+='em';style.computedYAdjust=yAdjust=0.5*(getSizeInPixels(el,lineHeight)-parseFloat(wStyle.height))}if(yAdjust){wStyle.marginTop=Math.ceil(yAdjust)+'px';wStyle.marginBottom=yAdjust+'px'}}return wrapper}})());Cufon.registerEngine('canvas',(function(){var check=document.createElement('canvas');if(!check||!check.getContext||!check.getContext.apply)return;check=null;var HAS_INLINE_BLOCK=Cufon.CSS.supports('display','inline-block');var HAS_BROKEN_LINEHEIGHT=!HAS_INLINE_BLOCK&&(document.compatMode=='BackCompat'||/frameset|transitional/i.test(document.doctype.publicId));var styleSheet=document.createElement('style');styleSheet.type='text/css';styleSheet.appendChild(document.createTextNode(('cufon{text-indent:0;}'+'@media screen,projection{'+'cufon{display:inline;display:inline-block;position:relative;vertical-align:middle;'+(HAS_BROKEN_LINEHEIGHT?'':'font-size:1px;line-height:1px;')+'}cufon cufontext{display:-moz-inline-box;display:inline-block;width:0;height:0;overflow:hidden;text-indent:-10000in;}'+(HAS_INLINE_BLOCK?'cufon canvas{position:relative;}':'cufon canvas{position:absolute;}')+'}'+'@media print{'+'cufon{padding:0;}'+'cufon canvas{display:none;}'+'}').replace(/;/g,'!important;')));document.getElementsByTagName('head')[0].appendChild(styleSheet);function generateFromVML(path,context){var atX=0,atY=0;var code=[],re=/([mrvxe])([^a-z]*)/g,match;generate:for(var i=0;match=re.exec(path);++i){var c=match[2].split(',');switch(match[1]){case'v':code[i]={m:'bezierCurveTo',a:[atX+~~c[0],atY+~~c[1],atX+~~c[2],atY+~~c[3],atX+=~~c[4],atY+=~~c[5]]};break;case'r':code[i]={m:'lineTo',a:[atX+=~~c[0],atY+=~~c[1]]};break;case'm':code[i]={m:'moveTo',a:[atX=~~c[0],atY=~~c[1]]};break;case'x':code[i]={m:'closePath'};break;case'e':break generate}context[code[i].m].apply(context,code[i].a)}return code}function interpret(code,context){for(var i=0,l=code.length;i<l;++i){var line=code[i];context[line.m].apply(context,line.a)}}return function(font,text,style,options,node,el){var redraw=(text===null);if(redraw)text=node.getAttribute('alt');var viewBox=font.viewBox;var size=style.getSize('fontSize',font.baseSize);var expandTop=0,expandRight=0,expandBottom=0,expandLeft=0;var shadows=options.textShadow,shadowOffsets=[];if(shadows){for(var i=shadows.length;i--;){var shadow=shadows[i];var x=size.convertFrom(parseFloat(shadow.offX));var y=size.convertFrom(parseFloat(shadow.offY));shadowOffsets[i]=[x,y];if(y<expandTop)expandTop=y;if(x>expandRight)expandRight=x;if(y>expandBottom)expandBottom=y;if(x<expandLeft)expandLeft=x}}var chars=Cufon.CSS.textTransform(text,style).split('');var jumps=font.spacing(chars,~~size.convertFrom(parseFloat(style.get('letterSpacing'))||0),~~size.convertFrom(parseFloat(style.get('wordSpacing'))||0));if(!jumps.length)return null;var width=jumps.total;expandRight+=viewBox.width-jumps[jumps.length-1];expandLeft+=viewBox.minX;var wrapper,canvas;if(redraw){wrapper=node;canvas=node.firstChild}else{wrapper=document.createElement('cufon');wrapper.className='cufon cufon-canvas';wrapper.setAttribute('alt',text);canvas=document.createElement('canvas');wrapper.appendChild(canvas);if(options.printable){var print=document.createElement('cufontext');print.appendChild(document.createTextNode(text));wrapper.appendChild(print)}}var wStyle=wrapper.style;var cStyle=canvas.style;var height=size.convert(viewBox.height);var roundedHeight=Math.ceil(height);var roundingFactor=roundedHeight/height;var stretchFactor=roundingFactor*Cufon.CSS.fontStretch(style.get('fontStretch'));var stretchedWidth=width*stretchFactor;var canvasWidth=Math.ceil(size.convert(stretchedWidth+expandRight-expandLeft));var canvasHeight=Math.ceil(size.convert(viewBox.height-expandTop+expandBottom));canvas.width=canvasWidth;canvas.height=canvasHeight;cStyle.width=canvasWidth+'px';cStyle.height=canvasHeight+'px';expandTop+=viewBox.minY;cStyle.top=Math.round(size.convert(expandTop-font.ascent))+'px';cStyle.left=Math.round(size.convert(expandLeft))+'px';var wrapperWidth=Math.max(Math.ceil(size.convert(stretchedWidth)),0)+'px';if(HAS_INLINE_BLOCK){wStyle.width=wrapperWidth;wStyle.height=size.convert(font.height)+'px'}else{wStyle.paddingLeft=wrapperWidth;wStyle.paddingBottom=(size.convert(font.height)-1)+'px'}var g=canvas.getContext('2d'),scale=height/viewBox.height;g.scale(scale,scale*roundingFactor);g.translate(-expandLeft,-expandTop);g.save();function renderText(){var glyphs=font.glyphs,glyph,i=-1,j=-1,chr;g.scale(stretchFactor,1);while(chr=chars[++i]){var glyph=glyphs[chars[i]]||font.missingGlyph;if(!glyph)continue;if(glyph.d){g.beginPath();if(glyph.code)interpret(glyph.code,g);else glyph.code=generateFromVML('m'+glyph.d,g);g.fill()}g.translate(jumps[++j],0)}g.restore()}if(shadows){for(var i=shadows.length;i--;){var shadow=shadows[i];g.save();g.fillStyle=shadow.color;g.translate.apply(g,shadowOffsets[i]);renderText()}}var gradient=options.textGradient;if(gradient){var stops=gradient.stops,fill=g.createLinearGradient(0,viewBox.minY,0,viewBox.maxY);for(var i=0,l=stops.length;i<l;++i){fill.addColorStop.apply(fill,stops[i])}g.fillStyle=fill}else g.fillStyle=style.get('color');renderText();return wrapper}})());
Cufon.registerFont({"w":219,"face":{"font-family":"futura-bold-italic-bt","font-weight":700,"font-style":"italic","font-stretch":"normal","units-per-em":"360","panose-1":"2 11 8 2 2 2 4 9 2 4","ascent":"274","descent":"-86","x-height":"7","bbox":"-43 -347 388 87.4748","underline-thickness":"46.4062","underline-position":"-17.0508","slope":"-9","unicode-range":"U+0020-U+0192"},"glyphs":{" ":{"w":110},"!":{"d":"50,7v-19,0,-36,-17,-36,-36v0,-19,17,-36,36,-36v19,0,35,17,35,36v0,19,-16,36,-35,36xm53,-263r65,0r-28,178r-65,0","w":129},"\"":{"d":"73,-253r39,0r0,99r-39,0r0,-99xm13,-253r39,0r0,99r-39,0r0,-99","w":125},"#":{"d":"124,-148r-14,41r43,0r14,-41r-43,0xm120,-258r44,0r-24,69r41,0r25,-69r44,0r-25,69r48,0r-15,41r-47,0r-14,40r48,0r-15,41r-48,0r-25,69r-44,0r25,-69r-41,0r-25,69r-44,0r24,-69r-48,0r15,-41r48,0r14,-40r-50,0r15,-41r49,0","w":276},"$":{"d":"121,-207v-17,-1,-31,7,-31,22v18,36,105,37,105,103v0,48,-43,82,-93,83r-7,42r-22,0r7,-42v-35,-3,-60,-19,-80,-41r31,-45v18,20,39,34,71,36v27,1,47,-24,28,-41v-27,-24,-95,-31,-95,-82v0,-49,39,-81,87,-83r4,-24r22,0r-4,24v26,3,45,15,63,28r-31,45v-15,-14,-30,-24,-55,-25"},"%":{"d":"229,-100v-21,2,-32,49,-23,73v2,3,6,5,10,5v17,-3,25,-34,25,-58v0,-12,-2,-21,-12,-20xm230,-126v32,0,54,22,54,55v0,42,-28,78,-69,78v-32,0,-54,-22,-54,-53v0,-45,26,-81,69,-80xm80,-234v-21,2,-31,49,-22,73v2,3,5,5,9,5v17,-2,25,-33,25,-57v0,-14,-2,-20,-12,-21xm80,-260v32,0,54,21,54,55v0,42,-27,78,-68,78v-33,0,-55,-21,-55,-54v-1,-44,26,-79,69,-79xm52,7r159,-267r33,0r-160,267r-32,0","w":295},"&":{"d":"142,-217v-29,0,-29,38,-13,55v14,-9,34,-14,34,-36v0,-11,-9,-19,-21,-19xm102,-108v-34,6,-42,63,1,63v17,0,28,-6,40,-14xm263,-88v-14,15,-26,27,-43,38r42,50r-69,0r-17,-20v-51,44,-171,34,-167,-50v3,-46,30,-59,71,-78v-35,-46,-2,-111,61,-111v42,0,73,24,73,63v0,40,-25,50,-59,69r32,37v16,-10,27,-22,39,-38","w":276},"'":{"d":"13,-253r39,0r0,99r-39,0r0,-99","w":65},"(":{"d":"138,-234v-71,52,-101,201,-46,291r-41,20v-42,-64,-50,-172,-15,-250v16,-35,38,-66,68,-93","w":129},")":{"d":"-18,45v70,-52,101,-202,46,-291r41,-20v43,63,51,172,15,250v-15,35,-37,66,-67,93","w":129},"*":{"d":"108,-211r40,-21r12,34r-45,9r39,25r-24,27r-30,-35r-2,46r-35,-7r14,-43r-40,21r-12,-34r45,-9r-39,-25r24,-27r30,34r2,-45r35,7","w":166},"+":{"d":"129,-215r42,0r0,87r84,0r0,41r-84,0r0,87r-42,0r0,-87r-84,0r0,-41r84,0r0,-87","w":299},",":{"d":"-43,51r64,-108r75,0r-84,108r-55,0","w":110},"-":{"d":"12,-61r9,-54r119,0r-9,54r-119,0","w":164,"k":{"\u0111":-7,"\u0153":-7,"\u0152":-13,"\u00f8":-7,"\u00d8":-13,"\u00c6":-10,"\u00c5":6,"x":6,"s":-13,"q":-7,"o":-7,"g":-7,"e":-7,"d":-7,"c":-7,"Y":28,"X":13,"W":20,"V":21,"T":33,"S":-7,"Q":-13,"O":-13,"J":-20,"G":-13,"C":-7,"A":6}},".":{"d":"42,7v-19,0,-35,-17,-35,-36v0,-19,16,-36,35,-36v19,0,35,17,35,36v0,19,-16,36,-35,36","w":110},"\/":{"d":"0,33r137,-296r38,0r-138,296r-37,0","w":174},"0":{"d":"123,-205v-41,11,-47,80,-47,128v0,18,5,29,20,30v39,-14,48,-79,48,-128v0,-17,-4,-30,-21,-30xm208,-158v-3,85,-33,162,-116,165v-54,2,-82,-44,-80,-101v2,-86,32,-166,115,-166v54,0,83,44,81,102"},"1":{"d":"63,0r32,-201r-39,0r16,-54r96,0r-40,255r-65,0"},"2":{"d":"117,-260v68,-2,111,64,76,124v-14,24,-53,58,-76,82v25,-3,53,-2,81,-2r-9,56r-188,0r107,-123v18,-23,34,-33,34,-58v0,-15,-12,-27,-28,-26v-21,1,-33,17,-33,41r-61,0v4,-57,38,-92,97,-94"},"3":{"d":"197,-74v4,77,-111,105,-161,57v-17,-16,-25,-38,-25,-66r60,0v-5,44,65,51,65,8v0,-22,-17,-33,-41,-32r7,-45v27,2,45,-7,45,-31v0,-16,-11,-27,-29,-27v-18,0,-26,11,-29,26r-57,0v4,-46,42,-76,94,-76v44,0,80,25,80,67v-1,35,-23,55,-54,63v26,6,44,25,45,56"},"4":{"d":"118,-108r21,-107v-23,39,-54,71,-81,107r60,0xm101,0r9,-58r-110,0r8,-50r116,-147r75,0r-23,147r33,0r-7,50r-34,0r-9,58r-58,0"},"5":{"d":"197,-92v0,100,-130,125,-198,70r21,-54v29,31,113,50,114,-15v0,-46,-64,-51,-102,-33r35,-131r138,0r-11,53r-89,0r-9,37v53,-14,101,19,101,73"},"6":{"d":"106,6v-79,0,-119,-77,-81,-146v12,-22,62,-84,92,-116r76,0r-79,89v53,-11,89,25,89,76v0,56,-41,97,-97,97xm107,-124v-20,-1,-39,18,-39,39v0,21,19,39,39,39v20,0,38,-18,38,-39v0,-22,-16,-39,-38,-39"},"7":{"d":"13,0r124,-196r-108,0r9,-59r201,0r-2,8r-152,247r-72,0"},"8":{"d":"103,-112v-18,0,-33,17,-33,34v0,19,13,33,31,33v20,0,33,-15,34,-34v1,-19,-14,-33,-32,-33xm148,-188v0,-15,-13,-29,-28,-29v-16,0,-29,14,-29,31v0,16,13,28,29,28v17,1,28,-13,28,-30xm8,-69v0,-41,26,-63,61,-70v-18,-10,-32,-27,-32,-51v0,-44,38,-70,84,-70v45,0,82,27,82,68v0,31,-19,49,-45,57v25,8,41,29,41,60v0,51,-47,82,-101,82v-49,0,-90,-29,-90,-76"},"9":{"d":"117,-260v83,0,118,83,77,152v-17,28,-59,76,-88,108r-73,0r75,-87v-53,10,-89,-26,-89,-76v-1,-55,42,-97,98,-97xm115,-130v20,1,39,-18,39,-39v0,-21,-19,-39,-39,-39v-21,0,-38,18,-38,39v0,22,16,39,38,39"},":":{"d":"47,7v-19,0,-35,-17,-35,-36v0,-19,16,-36,35,-36v19,0,35,17,35,36v0,19,-16,36,-35,36xm66,-102v-19,0,-36,-16,-36,-35v0,-19,17,-35,36,-35v19,0,35,16,35,35v0,19,-16,35,-35,35","w":129},";":{"d":"-40,51r63,-108r75,0r-84,108r-54,0xm67,-102v-20,0,-36,-15,-36,-35v0,-19,16,-35,35,-35v20,0,36,15,36,35v0,19,-16,35,-35,35","w":129},"<":{"d":"253,-213r0,44r-150,62r150,61r0,45r-207,-86r0,-41","w":299},"=":{"d":"45,-88r210,0r0,40r-210,0r0,-40xm45,-167r210,0r0,41r-210,0r0,-41","w":299},">":{"d":"46,-213r207,85r0,41r-207,86r0,-45r151,-61r-151,-62r0,-44","w":299},"?":{"d":"78,7v-20,0,-34,-15,-35,-35v-1,-18,17,-35,35,-35v19,0,34,16,34,35v0,20,-15,36,-34,35xm193,-188v0,42,-29,73,-73,71r-5,34r-59,0r12,-70v32,4,64,-4,65,-33v1,-33,-54,-30,-55,-1r-59,0v5,-46,39,-76,90,-76v46,0,84,30,84,75","w":203},"@":{"d":"243,-18v-23,1,-36,-9,-39,-28v-24,46,-119,33,-110,-33v-8,-69,81,-135,127,-78r9,-16r36,0r-28,113v0,7,3,11,11,10v35,1,62,-45,61,-84v-1,-58,-52,-96,-114,-95v-89,1,-139,54,-145,137v-8,118,160,145,236,83r17,24v-32,25,-70,41,-122,41v-99,0,-168,-50,-168,-147v0,-108,75,-171,183,-171v87,0,149,44,149,128v0,65,-37,112,-103,116xm137,-78v0,33,31,39,49,20v19,-19,44,-92,-4,-92v-27,0,-45,40,-45,72","w":360},"A":{"d":"-21,0r129,-257r86,0r55,257r-70,0r-10,-49r-90,0r-25,49r-75,0xm105,-106r54,0r-15,-89v-12,31,-26,60,-39,89","w":255,"k":{"\u0111":-7,"\u0153":-7,"\u00ab":13,"\u00f8":-7,"y":-7,"w":-7,"v":-7,"u":-7,"t":-7,"q":-7,"o":-7,"e":-7,"d":-7,"c":-7,"V":6,"T":6,";":-7,":":-7,"-":8}},"B":{"d":"213,-196v0,35,-22,58,-54,62v29,6,50,24,50,58v1,92,-106,76,-202,76r41,-257v78,1,165,-13,165,61xm142,-85v0,-26,-23,-27,-51,-26r-9,61v37,-1,60,-1,60,-35xm148,-187v0,-21,-19,-21,-42,-21r-7,50v31,0,49,-1,49,-29","w":225,"k":{"-":-10}},"C":{"d":"15,-118v0,-117,119,-177,224,-127r-12,71v-17,-16,-38,-26,-68,-26v-43,-1,-73,35,-73,79v0,68,73,78,125,52r-11,67v-93,30,-185,-18,-185,-116","w":235,"k":{";":-7,":":-7,"-":-8}},"D":{"d":"255,-137v0,129,-105,144,-248,137r40,-257r44,0v113,-8,164,26,164,120xm186,-138v0,-51,-26,-65,-79,-63r-22,144v65,4,101,-20,101,-81","w":271,"k":{"\u00c5":6,"Y":6,"V":6,"A":6,";":-7,":":-7,".":15,"-":-11,",":15}},"E":{"d":"85,-57r80,0r-9,57r-149,0r41,-257r148,0r-9,59r-80,0r-6,42r74,0r-9,56r-74,0","w":196,"k":{";":-7,":":-7,".":-7,"-":-7,",":-7}},"F":{"d":"7,0r41,-257r149,0r-10,59r-80,0r-7,42r75,0r-9,56r-74,0r-16,100r-69,0","w":194,"k":{"\u00c5":16,"u":6,"r":6,"i":6,"A":16,";":15,":":15,".":58,",":58}},"G":{"d":"89,-118v0,67,95,91,116,30r-58,0r8,-52r129,0v0,88,-50,147,-136,147v-78,0,-133,-46,-133,-122v0,-111,108,-180,213,-133v19,8,35,25,48,45r-55,37v-11,-21,-29,-34,-58,-34v-44,-1,-74,37,-74,82","w":293,"k":{";":-7,":":-7,".":10,"-":-8,",":10}},"H":{"d":"7,0r41,-257r69,0r-16,99r90,0r16,-99r69,0r-41,257r-69,0r16,-105r-89,0r-17,105r-69,0","w":283,"k":{".":6,",":6}},"I":{"d":"8,0r41,-257r70,0r-41,257r-70,0","w":127},"J":{"d":"139,-89v7,96,-104,125,-157,68r33,-47v11,14,33,26,46,7v16,-46,25,-139,36,-196r69,0","w":171,"k":{";":11,":":11,".":18,"-":6,",":18}},"K":{"d":"7,0r41,-257r69,0r-18,107r98,-107r89,0r-127,127r88,130r-81,0r-72,-113r-18,113r-69,0","w":254,"k":{"\u0153":13,"\u0152":6,"\u00ab":10,"\u00f8":13,"\u00e6":6,"\u00d8":6,"u":6,"o":13,"e":13,"a":6,"O":6,"C":6,";":-7,":":-7,".":-7,"-":18,",":-7}},"L":{"d":"7,0r41,-257r69,0r-31,195r85,0r-10,62r-154,0","w":184,"k":{"\u0152":6,"\u00d8":6,"y":6,"Y":13,"W":6,"V":13,"T":20,"O":6,";":-7,":":-7,".":-7,"-":6,",":-7}},"M":{"d":"-8,0r79,-257r76,0r23,140v15,-50,41,-94,60,-140r76,0r7,257r-64,0r1,-163v-21,55,-51,110,-75,163r-41,0r-31,-163v-10,59,-29,109,-44,163r-67,0","w":335},"N":{"d":"7,0r41,-257r78,0v22,56,52,110,69,169v3,-60,16,-112,23,-169r69,0r-40,257r-76,0r-73,-173v-1,62,-16,115,-22,173r-69,0","w":294,"k":{";":10,":":10,".":10,",":10}},"O":{"d":"223,-137v0,-37,-27,-63,-62,-63v-43,0,-74,36,-74,79v0,38,24,65,62,65v42,0,74,-39,74,-81xm295,-143v-3,92,-59,150,-150,150v-79,0,-130,-45,-130,-121v0,-91,59,-146,150,-149v75,-2,132,47,130,120","w":309,"k":{"Y":6,"X":13,"T":6,";":-7,":":-7,".":15,"-":-10,",":15}},"P":{"d":"162,-175v0,-26,-25,-29,-54,-28r-9,59v37,0,62,-1,63,-31xm228,-178v-3,72,-50,96,-138,88r-14,90r-69,0r41,-257v91,-2,183,-9,180,79","w":231,"k":{"\u0153":6,"\u00ab":6,"\u00f8":6,"\u00e6":6,"\u00c5":26,"r":6,"o":6,"n":6,"i":6,"e":6,"a":6,"A":26,";":10,":":10,".":79,"-":15,",":79}},"Q":{"d":"86,-120v0,42,28,72,71,65r-40,-51r73,0r17,23v35,-38,15,-121,-45,-118v-42,2,-76,36,-76,81xm294,-144v-1,50,-20,87,-49,113r43,58r-71,0r-22,-29v-90,29,-185,-20,-181,-112v3,-91,59,-146,150,-149v74,-2,131,47,130,119","w":309,"k":{";":-7,":":-7,".":11,"-":-10,",":11}},"R":{"d":"228,-182v0,45,-31,73,-71,80r62,102r-78,0r-50,-98r-15,98r-69,0r41,-257v88,-1,180,-11,180,75xm161,-176v0,-28,-22,-32,-53,-31r-10,67v35,2,63,-3,63,-36","w":238,"k":{"\u0153":6,"\u00f8":6,"\u00e6":6,"u":6,"o":6,"e":6,"a":6,".":-7,"-":10,",":-7}},"S":{"d":"127,-161v102,31,66,179,-44,168v-40,-4,-68,-19,-88,-44r35,-52v18,19,32,34,61,34v16,0,28,-8,29,-23v-10,-37,-89,-43,-89,-99v0,-86,115,-112,171,-57r-30,51v-14,-12,-27,-24,-46,-24v-31,0,-35,35,1,46","w":206,"k":{";":-7,":":-7,".":6,"-":-11,",":6}},"T":{"d":"43,0r31,-198r-57,0r9,-59r182,0r-10,59r-55,0r-31,198r-69,0","w":196,"k":{"\u0153":29,"\u00bb":20,"\u00ab":33,"\u00f8":29,"\u00e6":29,"\u00c5":20,"y":26,"w":26,"u":33,"s":24,"r":13,"o":29,"e":29,"c":29,"a":29,"A":20,";":29,":":29,".":46,"-":33,",":46}},"U":{"d":"223,-44v-34,74,-208,70,-204,-29v3,-62,17,-126,26,-184r69,0r-25,167v0,22,14,33,35,35v47,5,62,-139,72,-202r69,0v-13,66,-18,163,-42,213","w":268,"k":{"\u00ab":13,"\u00c5":6,"A":6,";":11,":":11,".":21,"-":10,",":21}},"V":{"d":"72,0r-68,-257r73,0r35,176v23,-63,54,-117,80,-176r76,0r-136,257r-60,0","w":244,"k":{"\u0153":20,"\u00bb":20,"\u00ab":40,"\u00f8":20,"\u00e6":20,"\u00c5":13,"u":16,"o":20,"e":20,"a":20,"A":13,";":18,":":18,".":53,"-":29,",":53}},"W":{"d":"57,0r-47,-257r68,0r24,178v16,-62,38,-119,57,-178r63,0r23,178v16,-62,43,-119,64,-178r71,0r-108,257r-70,0r-21,-159r-51,159r-73,0","w":360,"k":{"\u0153":13,"\u00bb":6,"\u00ab":20,"\u00f8":13,"\u00e6":13,"\u00c5":6,"u":8,"r":13,"o":13,"e":13,"a":13,"A":6,";":21,":":21,".":44,"-":21,",":44}},"X":{"d":"-19,0r114,-139r-68,-118r78,0r36,70v15,-25,34,-47,51,-70r84,0r-99,122r80,135r-81,0r-46,-89v-17,34,-42,59,-63,89r-86,0","w":269,"k":{"\u0152":20,"\u00ab":20,"\u00d8":20,"e":6,"O":20,"C":13,";":6,":":6,".":-7,"-":18,",":-7}},"Y":{"d":"47,0r18,-115r-72,-142r76,0r38,91v14,-35,38,-61,58,-91r79,0r-110,143r-18,114r-69,0","w":209,"k":{"\u0153":33,"\u00bb":26,"\u00ab":40,"\u00f8":33,"\u00e6":33,"\u00c5":16,"u":18,"o":33,"e":33,"a":33,"A":16,";":38,":":38,".":48,"-":43,",":48}},"Z":{"d":"-20,0r148,-201r-99,0r8,-56r212,0r-144,196r113,0r-9,61r-229,0","w":233,"k":{";":-7,":":-7,".":-7,"-":6,",":-7}},"[":{"d":"49,-263r95,0r-7,42r-42,0r-40,253r42,0r-7,42r-94,0","w":129},"\\":{"d":"147,33r-37,0r-83,-296r38,0","w":174},"]":{"d":"69,74r-94,0r6,-42r42,0r40,-253r-42,0r7,-42r95,0","w":129},"^":{"d":"155,-257r50,0r82,99r-47,0r-60,-60r-61,60r-46,0","w":360},"_":{"d":"0,43r180,0r0,42r-180,0r0,-42","w":180},"`":{"d":"58,-265r46,0r27,62r-24,0","w":180},"a":{"d":"115,-133v-49,0,-63,88,-6,88v26,0,44,-23,44,-50v0,-21,-17,-38,-38,-38xm8,-76v0,-86,104,-146,152,-76r5,-26r59,0r-28,178r-59,0r3,-24v-16,18,-33,31,-62,31v-42,0,-70,-38,-70,-83","w":240},"b":{"d":"112,-46v26,0,45,-22,44,-49v0,-22,-16,-38,-38,-38v-27,0,-43,23,-43,50v0,22,15,38,37,37xm219,-100v0,86,-103,144,-153,76r-4,24r-59,0r43,-272r61,0v-8,40,-10,83,-22,119v16,-16,36,-28,64,-29v43,0,70,37,70,82","w":240,"k":{"-":-7}},"c":{"d":"7,-81v0,-81,92,-131,158,-86r-9,54v-24,-36,-84,-18,-84,30v0,42,52,47,76,23r-9,58v-64,27,-132,-9,-132,-79","w":180},"d":{"d":"117,-134v-26,1,-44,22,-44,51v0,22,16,37,38,37v26,0,43,-24,43,-51v0,-22,-16,-37,-37,-37xm8,-76v0,-86,104,-144,153,-75v1,-44,12,-80,17,-121r61,0r-43,272r-59,0r4,-23v-16,17,-33,30,-63,30v-42,0,-70,-38,-70,-83","w":240},"e":{"d":"140,-110v2,-29,-35,-40,-56,-23v-7,6,-11,13,-15,23r71,0xm108,-183v59,0,99,44,90,109r-133,0v-6,50,58,45,77,18r34,34v-49,52,-171,35,-171,-59v0,-59,43,-102,103,-102","w":214,"k":{"x":6,"-":-7}},"f":{"d":"145,-218v-30,-18,-44,10,-45,40r39,0r-7,46r-39,0r-21,132r-62,0r21,-132r-30,0r8,-46r29,0v1,-72,44,-118,115,-91","w":133,"k":{".":6,",":6}},"g":{"d":"115,-133v-49,-3,-62,90,-7,89v50,4,63,-90,7,-89xm8,-78v0,-84,104,-143,152,-75r5,-25r58,0v-25,105,0,256,-133,256v-52,0,-87,-21,-93,-65r66,0v0,28,43,27,59,11v10,-10,15,-30,17,-50v-14,17,-32,29,-60,29v-43,0,-71,-36,-71,-81","w":237,"k":{".":6,",":6}},"h":{"d":"138,-94v12,-35,-30,-50,-48,-26v-18,26,-19,81,-26,120r-62,0r43,-272r62,0r-21,122v25,-46,122,-46,118,23v-3,45,-12,85,-18,127r-63,0","w":226},"i":{"d":"71,-197v-18,0,-34,-16,-34,-33v0,-17,17,-35,34,-34v20,0,33,15,34,34v1,17,-16,33,-34,33xm5,0r28,-178r63,0r-28,178r-63,0","w":112},"j":{"d":"71,-197v-18,0,-34,-16,-34,-33v0,-17,17,-35,34,-34v20,0,33,15,34,34v1,17,-16,33,-34,33xm55,78r-63,0r41,-256r63,0","w":112},"k":{"d":"83,-102r67,-76r79,0r-87,87r58,91r-75,0r-45,-84r-13,84r-62,0r42,-272r63,0","w":216,"k":{"-":15}},"l":{"d":"48,-272r63,0r-44,272r-63,0","w":112},"m":{"d":"130,-94v12,-37,-29,-50,-45,-27v-17,25,-17,84,-25,121r-58,0r28,-178r55,0r-4,30v19,-41,96,-49,112,-1v15,-20,29,-34,58,-34v87,0,44,118,37,183r-58,0r15,-105v3,-28,-33,-36,-46,-16v-17,27,-18,83,-25,121r-59,0","w":328},"n":{"d":"138,-94v12,-35,-30,-50,-48,-26v-18,26,-19,81,-26,120r-62,0r28,-178r60,0r-4,28v25,-46,122,-46,118,23v-3,45,-12,85,-18,127r-63,0","w":226},"o":{"d":"99,-44v48,5,66,-89,10,-89v-45,-3,-65,89,-10,89xm97,7v-54,0,-92,-34,-92,-87v0,-60,45,-104,105,-104v54,0,93,35,93,89v0,59,-47,102,-106,102","w":220,"k":{"x":6,"-":-7}},"p":{"d":"112,-43v27,0,45,-22,44,-50v0,-21,-17,-38,-38,-38v-26,0,-43,24,-43,51v0,22,15,37,37,37xm220,-101v0,87,-103,145,-152,76v-2,37,-9,69,-14,103r-62,0r41,-256r59,0r-4,25v16,-17,33,-30,62,-30v43,0,70,36,70,82","w":240,"k":{"-":-7}},"q":{"d":"115,-132v-27,0,-44,23,-44,50v0,21,17,38,38,38v49,0,63,-88,6,-88xm8,-76v0,-86,105,-144,153,-75r4,-27r59,0r-41,256r-61,0r18,-101v-14,17,-35,30,-62,30v-42,1,-70,-38,-70,-83","w":240},"r":{"d":"86,-147v11,-23,34,-40,66,-33r-12,55v-73,-19,-65,68,-76,125r-62,0r28,-178r60,0","w":150,"k":{".":36,",":36}},"s":{"d":"12,-124v0,-61,94,-73,138,-41r-18,40v-15,-13,-52,-27,-62,-3v16,26,77,25,77,73v0,71,-107,75,-154,40r21,-42v19,11,31,18,53,20v10,1,21,-5,20,-15v-11,-26,-75,-25,-75,-72","w":165,"k":{"-":-7}},"t":{"d":"10,0r21,-132r-30,0r8,-46r29,0r8,-51r63,0r-9,51r32,0r-7,46r-32,0r-21,132r-62,0","w":123,"k":{"-":8}},"u":{"d":"165,-17v-47,45,-168,29,-154,-60r16,-101r62,0r-16,111v0,17,8,25,24,26v36,1,40,-94,48,-137r62,0v-9,52,-15,136,-42,161"},"v":{"d":"55,0r-61,-178r65,0r29,117v18,-42,42,-78,63,-117r68,0r-109,178r-55,0","w":210,"k":{".":28,"-":-13,",":28}},"w":{"d":"81,-66v15,-40,34,-75,52,-112r43,0r24,112v13,-38,36,-76,53,-112r64,0r-96,178r-48,0r-25,-111r-52,111r-48,0r-52,-178r62,0","w":307,"k":{".":26,"-":-13,",":26}},"x":{"d":"-25,0r84,-93r-51,-85r67,0v8,17,17,31,23,49v9,-19,23,-32,34,-49r71,0r-70,86r51,92r-70,0v-8,-18,-19,-33,-25,-53v-9,22,-24,35,-37,53r-77,0","w":198,"k":{"\u0153":6,"\u00f8":6,"o":6,"e":6,"c":6}},"y":{"d":"46,-9r-50,-169r64,0r21,108v12,-39,33,-72,49,-108r67,0r-138,256r-65,0","w":188,"k":{".":31,"-":6,",":31}},"z":{"d":"-19,0r107,-133r-73,0r7,-45r171,0r-102,128r81,0r-8,50r-183,0","w":193},"{":{"d":"71,-202v-2,-56,33,-58,86,-58r0,43v-75,-14,1,122,-74,124v45,2,38,46,38,92v0,29,11,33,36,31r0,43v-53,0,-86,0,-86,-58v0,-45,10,-95,-44,-87r0,-42v51,7,46,-42,44,-88","w":180},"|":{"d":"69,-275r42,0r0,360r-42,0r0,-360","w":180},"}":{"d":"97,-93v-77,-3,7,-136,-74,-124r0,-43v52,0,86,1,86,58v0,45,-8,95,45,88r0,42v-52,-8,-47,41,-45,87v3,58,-33,58,-86,58r0,-43v75,20,0,-124,74,-123","w":180},"~":{"d":"204,-117v28,-1,43,-13,65,-27r0,45v-26,19,-60,33,-97,19v-59,-22,-101,-24,-141,10r0,-45v21,-14,40,-23,68,-25v35,-2,76,24,105,23","w":299},"\u00c4":{"d":"-21,0r129,-257r86,0r55,257r-70,0r-10,-49r-90,0r-25,49r-75,0xm105,-106r54,0r-15,-89v-12,31,-26,60,-39,89xm191,-290v-13,0,-26,-12,-26,-25v0,-13,12,-25,26,-25v13,0,24,12,24,25v0,13,-11,26,-24,25xm127,-290v-13,0,-25,-11,-25,-25v0,-14,11,-25,25,-25v13,0,24,12,24,25v0,13,-11,26,-24,25","w":255},"\u00c5":{"d":"152,-321v-11,0,-20,9,-20,20v0,11,9,21,20,21v12,0,21,-9,21,-21v0,-11,-10,-20,-21,-20xm105,-106r54,0r-16,-82xm151,-347v51,0,62,78,16,90r23,0r59,257r-70,0r-10,-49r-90,0r-25,49r-75,0r133,-257r25,0v-18,-5,-32,-23,-32,-44v-1,-25,21,-46,46,-46","w":255,"k":{"\u00ab":13,"y":-7,"w":-7,"v":-7,"u":-7,"t":-7,"q":-7,"o":-7,"e":-7,"d":-7,"c":-7,"V":6,"T":6,";":-7,":":-7,"-":8}},"\u00c7":{"d":"15,-118v0,-117,119,-177,224,-127r-12,71v-17,-16,-38,-26,-68,-26v-43,-1,-73,35,-73,79v0,68,73,78,125,52r-11,67v-93,30,-185,-18,-185,-116xm177,47v1,49,-63,46,-101,30r9,-23v13,5,25,9,41,9v9,-1,17,-4,17,-13v-1,-13,-18,-12,-35,-12r13,-38r20,0r-5,16v25,0,41,8,41,31","w":235},"\u00c9":{"d":"85,-57r80,0r-9,57r-149,0r41,-257r148,0r-9,59r-80,0r-6,42r74,0r-9,56r-74,0xm89,-283r39,-62r54,0r-66,62r-27,0","w":196},"\u00d1":{"d":"162,-335v21,0,50,20,55,-8r21,0v-6,44,-37,52,-79,38v-10,0,-16,7,-17,16r-21,0v7,-24,16,-46,41,-46xm7,0r41,-257r78,0v22,56,52,110,69,169v3,-60,16,-112,23,-169r69,0r-40,257r-76,0r-73,-173v-1,62,-16,115,-22,173r-69,0","w":294},"\u00d6":{"d":"223,-137v0,-37,-27,-63,-62,-63v-43,0,-74,36,-74,79v0,38,24,65,62,65v42,0,74,-39,74,-81xm295,-143v-3,92,-59,150,-150,150v-79,0,-130,-45,-130,-121v0,-91,59,-146,150,-149v75,-2,132,47,130,120xm212,-290v-13,0,-26,-12,-26,-25v0,-13,12,-25,26,-25v13,0,24,12,24,25v0,13,-11,26,-24,25xm148,-290v-13,0,-25,-11,-25,-25v0,-14,11,-25,25,-25v13,0,24,12,24,25v0,13,-11,26,-24,25","w":309},"\u00dc":{"d":"223,-44v-34,74,-208,70,-204,-29v3,-62,17,-126,26,-184r69,0r-25,167v0,22,14,33,35,35v47,5,62,-139,72,-202r69,0v-13,66,-18,163,-42,213xm197,-290v-13,0,-26,-12,-26,-25v0,-13,12,-25,26,-25v13,0,24,12,24,25v0,13,-11,26,-24,25xm133,-290v-13,0,-25,-11,-25,-25v0,-14,11,-25,25,-25v13,0,24,12,24,25v0,13,-11,26,-24,25","w":268},"\u00e1":{"d":"115,-133v-49,0,-63,88,-6,88v26,0,44,-23,44,-50v0,-21,-17,-38,-38,-38xm8,-76v0,-86,104,-146,152,-76r5,-26r59,0r-28,178r-59,0r3,-24v-16,18,-33,31,-62,31v-42,0,-70,-38,-70,-83xm103,-203r39,-62r54,0r-66,62r-27,0","w":240},"\u00e0":{"d":"115,-133v-49,0,-63,88,-6,88v26,0,44,-23,44,-50v0,-21,-17,-38,-38,-38xm8,-76v0,-86,104,-146,152,-76r5,-26r59,0r-28,178r-59,0r3,-24v-16,18,-33,31,-62,31v-42,0,-70,-38,-70,-83xm92,-265r46,0r27,62r-24,0","w":240},"\u00e2":{"d":"191,-203r-25,0r-22,-32r-39,32r-27,0r44,-62r48,0xm115,-133v-49,0,-63,88,-6,88v26,0,44,-23,44,-50v0,-21,-17,-38,-38,-38xm8,-76v0,-86,104,-146,152,-76r5,-26r59,0r-28,178r-59,0r3,-24v-16,18,-33,31,-62,31v-42,0,-70,-38,-70,-83","w":240},"\u00e4":{"d":"115,-133v-49,0,-63,88,-6,88v26,0,44,-23,44,-50v0,-21,-17,-38,-38,-38xm8,-76v0,-86,104,-146,152,-76r5,-26r59,0r-28,178r-59,0r3,-24v-16,18,-33,31,-62,31v-42,0,-70,-38,-70,-83xm176,-210v-13,0,-26,-12,-26,-25v0,-13,12,-25,26,-25v13,0,24,12,24,25v0,13,-11,26,-24,25xm112,-210v-13,0,-25,-11,-25,-25v0,-14,11,-25,25,-25v13,0,24,12,24,25v0,13,-11,26,-24,25","w":240},"\u00e3":{"d":"126,-255v21,0,50,20,55,-8r21,0v-6,44,-38,51,-79,38v-10,0,-16,7,-17,16r-21,0v6,-25,16,-46,41,-46xm115,-133v-49,0,-63,88,-6,88v26,0,44,-23,44,-50v0,-21,-17,-38,-38,-38xm8,-76v0,-86,104,-146,152,-76r5,-26r59,0r-28,178r-59,0r3,-24v-16,18,-33,31,-62,31v-42,0,-70,-38,-70,-83","w":240},"\u00e5":{"d":"132,-261v-31,0,-26,45,0,44v11,0,21,-10,21,-22v0,-12,-10,-22,-21,-22xm132,-193v-25,0,-46,-21,-46,-46v0,-25,21,-46,46,-46v25,0,46,21,46,46v0,25,-21,46,-46,46xm115,-133v-49,0,-63,88,-6,88v26,0,44,-23,44,-50v0,-21,-17,-38,-38,-38xm8,-76v0,-86,104,-146,152,-76r5,-26r59,0r-28,178r-59,0r3,-24v-16,18,-33,31,-62,31v-42,0,-70,-38,-70,-83","w":240},"\u00e7":{"d":"7,-81v0,-81,92,-131,158,-86r-9,54v-24,-36,-84,-18,-84,30v0,42,52,47,76,23r-9,58v-64,27,-132,-9,-132,-79xm140,47v1,49,-63,46,-101,30r9,-23v13,5,25,9,41,9v9,-1,17,-4,17,-13v-1,-13,-18,-12,-35,-12r13,-38r20,0r-5,16v25,0,41,8,41,31","w":180},"\u00e9":{"d":"140,-110v2,-29,-35,-40,-56,-23v-7,6,-11,13,-15,23r71,0xm108,-183v59,0,99,44,90,109r-133,0v-6,50,58,45,77,18r34,34v-49,52,-171,35,-171,-59v0,-59,43,-102,103,-102xm81,-203r39,-62r54,0r-66,62r-27,0","w":214},"\u00e8":{"d":"140,-110v2,-29,-35,-40,-56,-23v-7,6,-11,13,-15,23r71,0xm108,-183v59,0,99,44,90,109r-133,0v-6,50,58,45,77,18r34,34v-49,52,-171,35,-171,-59v0,-59,43,-102,103,-102xm70,-265r46,0r27,62r-24,0","w":214},"\u00ea":{"d":"169,-203r-25,0r-23,-32r-38,32r-27,0r43,-62r49,0xm140,-110v2,-29,-35,-40,-56,-23v-7,6,-11,13,-15,23r71,0xm108,-183v59,0,99,44,90,109r-133,0v-6,50,58,45,77,18r34,34v-49,52,-171,35,-171,-59v0,-59,43,-102,103,-102","w":214},"\u00eb":{"d":"140,-110v2,-29,-35,-40,-56,-23v-7,6,-11,13,-15,23r71,0xm108,-183v59,0,99,44,90,109r-133,0v-6,50,58,45,77,18r34,34v-49,52,-171,35,-171,-59v0,-59,43,-102,103,-102xm154,-210v-13,0,-26,-12,-26,-25v0,-13,12,-25,26,-25v13,0,24,12,24,25v0,13,-11,26,-24,25xm90,-210v-13,0,-25,-11,-25,-25v0,-14,11,-25,25,-25v13,0,24,12,24,25v0,13,-11,26,-24,25","w":214},"\u00ed":{"d":"5,0r28,-178r63,0r-28,178r-63,0xm35,-203r39,-62r54,0r-66,62r-27,0","w":112},"\u00ec":{"d":"5,0r28,-178r63,0r-28,178r-63,0xm24,-265r46,0r27,62r-24,0","w":112},"\u00ee":{"d":"123,-203r-24,0r-23,-32r-39,32r-27,0r44,-62r48,0xm5,0r28,-178r63,0r-28,178r-63,0","w":112},"\u00ef":{"d":"5,0r28,-178r63,0r-28,178r-63,0xm108,-210v-13,0,-26,-12,-26,-25v0,-13,12,-25,26,-25v13,0,24,12,24,25v0,13,-11,26,-24,25xm44,-210v-13,0,-25,-11,-25,-25v0,-14,11,-25,25,-25v13,0,24,12,24,25v0,13,-11,26,-24,25","w":112},"\u00f1":{"d":"115,-255v21,0,51,21,56,-8r20,0v-5,45,-37,52,-78,38v-10,0,-17,7,-18,16r-21,0v7,-24,16,-46,41,-46xm138,-94v12,-35,-30,-50,-48,-26v-18,26,-19,81,-26,120r-62,0r28,-178r60,0r-4,28v25,-46,122,-46,118,23v-3,45,-12,85,-18,127r-63,0","w":226},"\u00f3":{"d":"99,-44v48,5,66,-89,10,-89v-45,-3,-65,89,-10,89xm97,7v-54,0,-92,-34,-92,-87v0,-60,45,-104,105,-104v54,0,93,35,93,89v0,59,-47,102,-106,102xm83,-203r39,-62r54,0r-66,62r-27,0","w":220},"\u00f2":{"d":"99,-44v48,5,66,-89,10,-89v-45,-3,-65,89,-10,89xm97,7v-54,0,-92,-34,-92,-87v0,-60,45,-104,105,-104v54,0,93,35,93,89v0,59,-47,102,-106,102xm72,-265r46,0r27,62r-24,0","w":220},"\u00f4":{"d":"171,-203r-24,0r-23,-32r-38,32r-27,0r43,-62r48,0xm99,-44v48,5,66,-89,10,-89v-45,-3,-65,89,-10,89xm97,7v-54,0,-92,-34,-92,-87v0,-60,45,-104,105,-104v54,0,93,35,93,89v0,59,-47,102,-106,102","w":220},"\u00f6":{"d":"99,-44v48,5,66,-89,10,-89v-45,-3,-65,89,-10,89xm97,7v-54,0,-92,-34,-92,-87v0,-60,45,-104,105,-104v54,0,93,35,93,89v0,59,-47,102,-106,102xm156,-210v-13,0,-26,-12,-26,-25v0,-13,12,-25,26,-25v13,0,24,12,24,25v0,13,-11,26,-24,25xm92,-210v-13,0,-25,-11,-25,-25v0,-14,11,-25,25,-25v13,0,24,12,24,25v0,13,-11,26,-24,25","w":220},"\u00f5":{"d":"107,-255v21,0,50,20,55,-8r20,0v-5,45,-37,52,-78,38v-10,0,-17,7,-18,16r-21,0v7,-25,17,-46,42,-46xm99,-44v48,5,66,-89,10,-89v-45,-3,-65,89,-10,89xm97,7v-54,0,-92,-34,-92,-87v0,-60,45,-104,105,-104v54,0,93,35,93,89v0,59,-47,102,-106,102","w":220},"\u00fa":{"d":"165,-17v-47,45,-168,29,-154,-60r16,-101r62,0r-16,111v0,17,8,25,24,26v36,1,40,-94,48,-137r62,0v-9,52,-15,136,-42,161xm86,-203r39,-62r54,0r-66,62r-27,0"},"\u00f9":{"d":"165,-17v-47,45,-168,29,-154,-60r16,-101r62,0r-16,111v0,17,8,25,24,26v36,1,40,-94,48,-137r62,0v-9,52,-15,136,-42,161xm75,-265r46,0r27,62r-24,0"},"\u00fb":{"d":"174,-203r-24,0r-23,-32r-38,32r-27,0r43,-62r48,0xm165,-17v-47,45,-168,29,-154,-60r16,-101r62,0r-16,111v0,17,8,25,24,26v36,1,40,-94,48,-137r62,0v-9,52,-15,136,-42,161"},"\u00fc":{"d":"165,-17v-47,45,-168,29,-154,-60r16,-101r62,0r-16,111v0,17,8,25,24,26v36,1,40,-94,48,-137r62,0v-9,52,-15,136,-42,161xm159,-210v-13,0,-26,-12,-26,-25v0,-13,12,-25,26,-25v13,0,24,12,24,25v0,13,-11,26,-24,25xm95,-210v-13,0,-25,-11,-25,-25v0,-14,11,-25,25,-25v13,0,24,12,24,25v0,13,-11,26,-24,25"},"\u00b0":{"d":"88,-203v0,-16,-13,-29,-29,-29v-16,0,-29,14,-29,29v0,15,14,29,29,29v15,0,29,-13,29,-29xm5,-203v0,-29,25,-55,54,-55v29,0,55,26,55,55v0,29,-26,55,-55,55v-29,0,-54,-26,-54,-55","w":118},"\u00a2":{"d":"156,-193v13,3,23,7,33,14r-10,52v-29,-37,-96,-21,-96,35v0,43,53,52,83,30r-11,55v-11,4,-22,7,-37,7r-8,41r-22,0r8,-42v-45,-5,-74,-39,-73,-88v0,-62,46,-108,111,-106r6,-32r22,0"},"\u00a3":{"d":"137,7v-28,0,-81,-32,-100,-1r-29,-41v18,-23,57,-28,53,-73r-41,0r4,-27r30,0v-34,-61,5,-128,74,-125v53,2,81,31,82,84r-58,0v5,-37,-48,-42,-49,-9v0,9,9,38,9,50r53,0r-5,27r-51,0v-6,20,-16,35,-32,45v31,-2,69,29,86,-4r39,37v-18,21,-34,37,-65,37"},"\u00a7":{"d":"147,-32v65,38,5,109,-63,109v-49,0,-87,-29,-86,-77r64,0v-4,34,51,42,52,8v1,-32,-83,-33,-95,-55v-34,-33,-9,-101,36,-105v-17,-7,-28,-20,-28,-42v0,-43,40,-69,88,-69v51,0,89,28,88,78v-21,-2,-49,4,-66,-2v0,-17,-7,-28,-24,-28v-13,0,-26,8,-25,22v1,30,82,30,96,54v36,35,9,101,-37,107xm100,-123v-17,0,-32,14,-32,32v-1,18,14,32,32,32v18,0,32,-14,32,-32v0,-18,-14,-33,-32,-32","w":216},"\u00b6":{"d":"5,-199v0,-76,95,-60,170,-61r0,22r-18,0r0,238r-31,0r0,-238r-27,0r0,238r-30,0r0,-138v-36,-1,-64,-24,-64,-61","w":180},"\u00df":{"d":"165,-204v0,-29,-47,-35,-58,-14v-27,52,-28,151,-42,218r-62,0r28,-178v8,-66,34,-95,103,-97v51,-1,88,22,89,68v0,37,-22,57,-58,60v34,10,54,24,55,63v2,67,-63,104,-131,83r7,-46v31,12,63,-9,61,-43v-1,-28,-18,-41,-48,-40r7,-41v29,2,49,-7,49,-33","w":236,"k":{"-":-13}},"\u00ae":{"d":"174,-160v0,-20,-18,-20,-40,-20r0,39v21,1,40,-1,40,-19xm215,-163v-1,21,-12,35,-31,39r32,64r-44,0r-27,-58r-11,0r0,58r-40,0r0,-144v52,1,121,-10,121,41xm257,-130v0,-66,-43,-107,-107,-107v-66,0,-107,43,-107,107v0,64,44,108,107,108v64,0,107,-43,107,-108xm19,-130v0,-78,52,-131,131,-131v78,0,131,51,131,131v0,80,-54,132,-131,132v-78,0,-131,-54,-131,-132","w":299},"\u00a9":{"d":"78,-128v0,-66,68,-101,118,-66v12,9,18,22,19,37r-38,0v-1,-16,-11,-24,-27,-24v-24,0,-31,24,-31,51v-11,48,54,70,59,23r38,0v-1,34,-29,55,-65,55v-45,0,-73,-30,-73,-76xm257,-130v0,-64,-42,-107,-107,-107v-64,0,-107,43,-107,107v0,64,43,108,107,108v62,0,107,-41,107,-108xm19,-130v0,-77,52,-131,131,-131v79,0,131,53,131,131v0,81,-53,132,-131,132v-78,0,-131,-54,-131,-132","w":299},"\u00b4":{"d":"69,-203r39,-62r54,0r-66,62r-27,0","w":180},"\u00a8":{"d":"142,-210v-13,0,-26,-12,-26,-25v0,-13,12,-25,26,-25v13,0,24,12,24,25v0,13,-11,26,-24,25xm78,-210v-13,0,-25,-11,-25,-25v0,-14,11,-25,25,-25v13,0,24,12,24,25v0,13,-11,26,-24,25","w":180},"\u00c6":{"d":"162,-108r-15,-91v-12,35,-28,59,-42,91r57,0xm-20,0r130,-257r164,0r13,57r-81,0r10,43r81,0r13,54r-82,0r11,46r81,0r14,57r-153,0r-9,-52r-92,0r-25,52r-75,0","w":329,"k":{";":-7,":":-7,".":-7,"-":-7,",":-7}},"\u00d8":{"d":"109,-64v62,43,151,-38,107,-111xm201,-192v-63,-44,-149,32,-109,109xm144,8v-36,0,-60,-8,-81,-24r-28,29r-18,-16r28,-29v-19,-22,-31,-47,-30,-85v3,-90,58,-145,150,-147v35,-1,61,10,83,25r26,-27r18,17r-26,26v18,20,29,46,29,81v0,91,-58,150,-151,150","w":309,"k":{"Y":6,"X":13,"T":6,";":-7,":":-7,".":15,"-":-10,",":15}},"\u00b1":{"d":"45,-37r210,0r0,40r-210,0r0,-40xm129,-218r42,0r0,56r84,0r0,41r-84,0r0,56r-42,0r0,-56r-84,0r0,-41r84,0r0,-56","w":299},"\u00a5":{"d":"68,0r15,-94r-86,0r5,-31r78,0r-12,-25r-62,0r5,-31r41,0r-38,-74r69,0r39,93v18,-34,41,-62,62,-93r74,0r-56,74r42,0r-5,31r-61,0r-20,25r77,0r-5,31r-84,0r-15,94r-63,0","w":238},"\u00b5":{"d":"137,-22v-9,31,-57,32,-69,4r-14,93r-62,0r42,-267r63,0r-16,119v-4,32,36,38,49,17v19,-31,20,-93,29,-136r62,0r-30,192r-57,0","w":231},"\u00aa":{"d":"86,-226v-18,0,-32,16,-32,35v0,16,12,26,28,26v18,0,32,-16,32,-35v0,-16,-12,-26,-28,-26xm6,-187v-7,-62,80,-100,115,-52r2,-18r45,0r-21,124r-44,0r2,-17v-28,39,-105,20,-99,-37","w":180},"\u00ba":{"d":"74,-164v36,4,49,-63,8,-62v-34,-4,-49,62,-8,62xm72,-128v-39,0,-68,-23,-68,-61v0,-42,35,-73,78,-73v40,0,71,23,71,62v0,43,-36,72,-81,72","w":165},"\u00e6":{"d":"295,-22v-30,36,-125,41,-150,-3v-27,47,-147,47,-147,-27v0,-59,82,-78,121,-45v9,-55,-66,-49,-98,-27r9,-48v42,-19,110,-14,126,26v41,-72,183,-30,155,72r-128,0v-6,51,59,45,78,18xm257,-110v2,-27,-33,-41,-54,-23v-7,5,-11,13,-15,23r69,0xm111,-53v0,-28,-53,-25,-54,0v0,15,11,19,27,20v15,1,27,-7,27,-20","w":328,"k":{"x":6,"-":-7}},"\u00f8":{"d":"203,-96v0,81,-93,129,-162,88r-21,23r-15,-14r21,-22v-52,-59,0,-171,85,-163v23,2,39,5,54,15r18,-20r15,13r-18,19v14,15,23,33,23,61xm129,-129v-39,-20,-79,22,-63,67xm77,-48v40,21,84,-25,63,-68","w":220,"k":{"x":6,"-":-7}},"\u00bf":{"d":"12,-69v0,-42,29,-73,73,-71r5,-34r58,0r-11,70v-33,-4,-65,5,-65,34v0,30,54,30,55,0r59,0v-5,46,-40,77,-90,77v-47,0,-84,-30,-84,-76xm127,-263v20,0,35,14,35,34v0,18,-17,35,-35,35v-19,0,-35,-16,-35,-35v0,-19,15,-34,35,-34","w":203},"\u00a1":{"d":"76,7r-66,0r28,-178r66,0xm79,-263v19,0,35,16,35,35v0,19,-16,36,-35,36v-19,0,-35,-17,-35,-36v0,-19,16,-35,35,-35","w":129},"\u00ac":{"d":"45,-152r210,0r0,88r-40,0r0,-48r-170,0r0,-40","w":299},"\u0192":{"d":"190,-210v-31,-15,-43,16,-44,45r36,0r-7,44r-36,0v-13,54,-14,121,-37,165v-12,23,-53,29,-85,21r10,-44v49,12,40,-94,54,-142r-30,0r7,-44r31,0v2,-67,36,-112,109,-90"},"\u00ab":{"d":"59,-7r-54,-84r66,-79r31,25r-48,55r39,58xm137,-7r-54,-84r66,-79r32,26r-48,54r37,60","w":191,"k":{"\u00c6":-27,"Y":26,"W":6,"V":20,"T":20,"J":-7}},"\u00bb":{"d":"120,-170r54,85r-66,78r-31,-24r48,-56r-39,-58xm42,-170r54,85r-66,78r-32,-25r49,-55r-38,-59","w":191,"k":{"\u00c5":13,"Y":40,"X":20,"W":20,"V":40,"U":13,"T":33,"J":-13,"A":13}},"\u00a0":{},"\u00c0":{"d":"-21,0r129,-257r86,0r55,257r-70,0r-10,-49r-90,0r-25,49r-75,0xm105,-106r54,0r-15,-89v-12,31,-26,60,-39,89xm107,-345r46,0r27,62r-24,0","w":255},"\u00c3":{"d":"141,-335v21,0,50,20,55,-8r21,0v-6,44,-38,51,-79,38v-10,0,-16,7,-17,16r-21,0v7,-24,16,-46,41,-46xm-21,0r129,-257r86,0r55,257r-70,0r-10,-49r-90,0r-25,49r-75,0xm105,-106r54,0r-15,-89v-12,31,-26,60,-39,89","w":255},"\u00d5":{"d":"162,-335v21,0,50,20,55,-8r21,0v-6,44,-37,52,-79,38v-10,0,-16,7,-17,16r-21,0v6,-25,16,-46,41,-46xm223,-137v0,-37,-27,-63,-62,-63v-43,0,-74,36,-74,79v0,38,24,65,62,65v42,0,74,-39,74,-81xm295,-143v-3,92,-59,150,-150,150v-79,0,-130,-45,-130,-121v0,-91,59,-146,150,-149v75,-2,132,47,130,120","w":309},"\u0152":{"d":"226,-137v0,-39,-27,-67,-66,-67v-44,0,-77,38,-77,83v0,41,25,69,65,69v44,1,78,-41,78,-85xm160,-264v38,0,63,13,80,36r4,-29r144,0r-9,59r-80,0r-7,42r75,0r-9,56r-75,0r-6,43r79,0r-9,57r-144,0r4,-27v-18,20,-39,32,-74,33v-70,2,-122,-52,-119,-122v4,-88,58,-148,146,-148","w":387,"k":{";":-7,":":-7,".":-7,"-":-7,",":-7}},"\u0153":{"d":"313,-22v-29,34,-114,40,-147,6v-52,47,-170,19,-161,-62v-10,-89,111,-138,172,-82v59,-52,176,-14,154,86r-130,0v-6,51,58,44,78,18xm277,-110v0,-28,-35,-41,-56,-23v-7,6,-12,13,-16,23r72,0xm99,-38v50,5,70,-98,12,-100v-49,-6,-70,98,-12,100","w":346,"k":{"x":6,"-":-7}},"\u00f7":{"d":"121,-36v0,-15,13,-29,29,-29v16,0,29,13,29,29v0,16,-14,29,-29,29v-15,0,-29,-13,-29,-29xm45,-128r210,0r0,41r-210,0r0,-41xm121,-179v0,-15,14,-29,29,-29v15,0,29,14,29,29v0,15,-13,29,-29,29v-16,0,-29,-13,-29,-29","w":299},"\u00ff":{"d":"46,-9r-50,-169r64,0r21,108v12,-39,33,-72,49,-108r67,0r-138,256r-65,0xm147,-210v-13,0,-26,-12,-26,-25v0,-13,12,-25,26,-25v13,0,24,12,24,25v0,13,-11,26,-24,25xm83,-210v-13,0,-25,-11,-25,-25v0,-14,11,-25,25,-25v13,0,24,12,24,25v0,13,-11,26,-24,25","w":188},"\u0178":{"d":"47,0r18,-115r-72,-142r76,0r38,91v14,-35,38,-61,58,-91r79,0r-110,143r-18,114r-69,0xm168,-290v-13,0,-26,-12,-26,-25v0,-13,12,-25,26,-25v13,0,24,12,24,25v0,13,-11,26,-24,25xm104,-290v-13,0,-25,-11,-25,-25v0,-14,11,-25,25,-25v13,0,24,12,24,25v0,13,-11,26,-24,25","w":209},"\u00a4":{"d":"37,-161v11,-80,111,-126,189,-81r-12,58v-20,-19,-63,-28,-89,-10v-10,7,-17,19,-23,33r92,0r-13,22r-83,0v-2,7,-2,15,-3,23r74,0r-12,22r-63,0v1,50,67,58,103,31r-12,62v-77,26,-158,-13,-155,-93r-34,0r9,-22r25,0r3,-23r-30,0r9,-22r25,0"},"\u00b7":{"d":"54,-91v-18,0,-35,-16,-35,-35v0,-19,16,-36,35,-36v20,0,36,16,36,36v0,20,-16,36,-36,35","w":110},"\u00c2":{"d":"206,-283r-24,0r-23,-32r-39,32r-27,0r44,-62r48,0xm-21,0r129,-257r86,0r55,257r-70,0r-10,-49r-90,0r-25,49r-75,0xm105,-106r54,0r-15,-89v-12,31,-26,60,-39,89","w":255},"\u00ca":{"d":"177,-283r-25,0r-22,-32r-39,32r-27,0r44,-62r48,0xm85,-57r80,0r-9,57r-149,0r41,-257r148,0r-9,59r-80,0r-6,42r74,0r-9,56r-74,0","w":196},"\u00c1":{"d":"-21,0r129,-257r86,0r55,257r-70,0r-10,-49r-90,0r-25,49r-75,0xm105,-106r54,0r-15,-89v-12,31,-26,60,-39,89xm118,-283r39,-62r54,0r-66,62r-27,0","w":255},"\u00cb":{"d":"85,-57r80,0r-9,57r-149,0r41,-257r148,0r-9,59r-80,0r-6,42r74,0r-9,56r-74,0xm162,-290v-13,0,-26,-12,-26,-25v0,-13,12,-25,26,-25v13,0,24,12,24,25v0,13,-11,26,-24,25xm98,-290v-13,0,-25,-11,-25,-25v0,-14,11,-25,25,-25v13,0,24,12,24,25v0,13,-11,26,-24,25","w":196},"\u00c8":{"d":"85,-57r80,0r-9,57r-149,0r41,-257r148,0r-9,59r-80,0r-6,42r74,0r-9,56r-74,0xm78,-345r46,0r27,62r-24,0","w":196},"\u00cd":{"d":"8,0r41,-257r70,0r-41,257r-70,0xm54,-283r39,-62r54,0r-66,62r-27,0","w":127},"\u00ce":{"d":"142,-283r-25,0r-22,-32r-39,32r-27,0r44,-62r48,0xm8,0r41,-257r70,0r-41,257r-70,0","w":127},"\u00cf":{"d":"8,0r41,-257r70,0r-41,257r-70,0xm127,-290v-13,0,-26,-12,-26,-25v0,-13,12,-25,26,-25v13,0,24,12,24,25v0,13,-11,26,-24,25xm63,-290v-13,0,-25,-11,-25,-25v0,-14,11,-25,25,-25v13,0,24,12,24,25v0,13,-11,26,-24,25","w":127},"\u00cc":{"d":"8,0r41,-257r70,0r-41,257r-70,0xm43,-345r46,0r27,62r-24,0","w":127},"\u00d3":{"d":"223,-137v0,-37,-27,-63,-62,-63v-43,0,-74,36,-74,79v0,38,24,65,62,65v42,0,74,-39,74,-81xm295,-143v-3,92,-59,150,-150,150v-79,0,-130,-45,-130,-121v0,-91,59,-146,150,-149v75,-2,132,47,130,120xm139,-283r39,-62r54,0r-66,62r-27,0","w":309},"\u00d4":{"d":"227,-283r-25,0r-22,-32r-39,32r-27,0r44,-62r48,0xm223,-137v0,-37,-27,-63,-62,-63v-43,0,-74,36,-74,79v0,38,24,65,62,65v42,0,74,-39,74,-81xm295,-143v-3,92,-59,150,-150,150v-79,0,-130,-45,-130,-121v0,-91,59,-146,150,-149v75,-2,132,47,130,120","w":309},"\u00d2":{"d":"223,-137v0,-37,-27,-63,-62,-63v-43,0,-74,36,-74,79v0,38,24,65,62,65v42,0,74,-39,74,-81xm295,-143v-3,92,-59,150,-150,150v-79,0,-130,-45,-130,-121v0,-91,59,-146,150,-149v75,-2,132,47,130,120xm128,-345r46,0r27,62r-24,0","w":309},"\u00da":{"d":"223,-44v-34,74,-208,70,-204,-29v3,-62,17,-126,26,-184r69,0r-25,167v0,22,14,33,35,35v47,5,62,-139,72,-202r69,0v-13,66,-18,163,-42,213xm124,-283r39,-62r54,0r-66,62r-27,0","w":268},"\u00db":{"d":"212,-283r-24,0r-23,-32r-38,32r-27,0r43,-62r48,0xm223,-44v-34,74,-208,70,-204,-29v3,-62,17,-126,26,-184r69,0r-25,167v0,22,14,33,35,35v47,5,62,-139,72,-202r69,0v-13,66,-18,163,-42,213","w":268},"\u00d9":{"d":"223,-44v-34,74,-208,70,-204,-29v3,-62,17,-126,26,-184r69,0r-25,167v0,22,14,33,35,35v47,5,62,-139,72,-202r69,0v-13,66,-18,163,-42,213xm113,-345r46,0r27,62r-24,0","w":268},"\u0131":{"d":"5,0r28,-178r63,0r-28,178r-63,0","w":112},"\u00af":{"d":"53,-220r5,-30r108,0r-5,30r-108,0","w":180},"\u00b8":{"d":"118,47v1,49,-63,46,-101,30r9,-23v13,5,25,9,41,9v9,-1,17,-4,17,-13v-1,-13,-18,-12,-35,-12r13,-38r20,0r-5,16v25,0,41,8,41,31","w":180},"\u0141":{"d":"14,0r15,-95r-23,14r-17,-39r48,-27r18,-110r69,0r-12,75r46,-26r21,36r-76,43r-10,67r85,0r-10,62r-154,0","w":190,"k":{"y":6,"Y":13,"W":6,"V":13,"T":20,"O":6,";":-7,":":-7,".":-7,"-":6,",":-7}},"\u0142":{"d":"25,-97r-20,12r-17,-32r44,-26r21,-129r63,0r-17,102r21,-12r17,31r-45,26r-20,125r-63,0","w":122},"\u0160":{"d":"82,-345r25,0r23,32r38,-32r27,0r-43,62r-48,0xm127,-161v102,31,66,179,-44,168v-40,-4,-68,-19,-88,-44r35,-52v18,19,32,34,61,34v16,0,28,-8,29,-23v-10,-37,-89,-43,-89,-99v0,-86,115,-112,171,-57r-30,51v-14,-12,-27,-24,-46,-24v-31,0,-35,35,1,46","w":206},"\u0161":{"d":"51,-265r25,0r22,32r39,-32r26,0r-43,62r-48,0xm12,-124v0,-61,94,-73,138,-41r-18,40v-15,-13,-52,-27,-62,-3v16,26,77,25,77,73v0,71,-107,75,-154,40r21,-42v19,11,31,18,53,20v10,1,21,-5,20,-15v-11,-26,-75,-25,-75,-72","w":165},"\u017d":{"d":"96,-345r25,0r23,32r38,-32r27,0r-44,62r-48,0xm-20,0r148,-201r-99,0r8,-56r212,0r-144,196r113,0r-9,61r-229,0","w":233},"\u017e":{"d":"65,-265r24,0r23,32r38,-32r27,0r-43,62r-48,0xm-19,0r107,-133r-73,0r7,-45r171,0r-102,128r81,0r-8,50r-183,0","w":193},"\u00a6":{"d":"69,-72r42,0r0,134r-42,0r0,-134xm69,-252r42,0r0,134r-42,0r0,-134","w":180},"\u00d0":{"d":"260,-137v0,128,-104,144,-249,137r17,-109r-34,0r7,-45r34,0r17,-103r44,0v112,-7,164,26,164,120xm192,-138v0,-52,-28,-66,-82,-63r-8,49r51,0r-6,41r-52,0r-8,54v63,7,105,-20,105,-81","w":275,"k":{"Y":6,"V":6,"A":6,";":-7,":":-7,".":15,"-":-11,",":15}},"\u00f0":{"d":"143,-92v0,-22,-13,-35,-35,-35v-45,0,-64,85,-8,83v25,0,44,-22,43,-48xm5,-78v2,-67,57,-110,126,-92v8,3,15,9,20,16v-4,-16,-11,-33,-19,-46r-50,12r-6,-25r39,-9r-24,-25r38,-26v17,13,28,24,39,39r48,-11r7,24r-39,9v49,80,22,219,-87,219v-54,0,-93,-34,-92,-85","w":220},"\u00dd":{"d":"47,0r18,-115r-72,-142r76,0r38,91v14,-35,38,-61,58,-91r79,0r-110,143r-18,114r-69,0xm95,-283r39,-62r54,0r-66,62r-27,0","w":209},"\u00fd":{"d":"46,-9r-50,-169r64,0r21,108v12,-39,33,-72,49,-108r67,0r-138,256r-65,0xm74,-203r39,-62r54,0r-66,62r-27,0","w":188},"\u00de":{"d":"156,-135v0,-26,-25,-29,-54,-28r-10,59v37,0,63,0,64,-31xm222,-137v-2,71,-51,96,-138,87r-8,50r-69,0r41,-257r69,0r-7,40v68,-2,114,17,112,80","w":231},"\u00fe":{"d":"112,-43v27,0,44,-23,44,-50v1,-22,-16,-38,-38,-38v-26,0,-43,25,-43,52v0,21,16,37,37,36xm220,-101v0,87,-103,145,-152,76v-2,37,-9,69,-14,103r-62,0r56,-350r62,0r-22,119v14,-19,31,-31,59,-31v45,0,73,36,73,83","w":240},"\u00d7":{"d":"76,-213r77,77r77,-77r29,28r-78,78r78,77r-29,29r-77,-78r-77,78r-29,-29r78,-77r-78,-78","w":299},"\u00b9":{"d":"41,-101r22,-120r-26,0r10,-33r64,0r-26,153r-44,0","w":145},"\u00b2":{"d":"13,-201v-5,-68,123,-76,123,-10v0,39,-37,54,-59,77r53,-1r-5,34r-125,0r88,-94v9,-13,5,-31,-13,-30v-14,0,-22,9,-22,24r-40,0","w":145},"\u00b3":{"d":"130,-146v2,48,-75,64,-106,34v-11,-10,-17,-22,-17,-39r40,0v-3,27,43,31,43,5v0,-14,-11,-19,-27,-19r4,-27v31,8,42,-36,11,-35v-11,0,-17,6,-19,15r-38,0v1,-54,115,-63,115,-5v0,21,-16,34,-36,38v17,4,30,14,30,33","w":145},"\u00bc":{"d":"273,-60r13,-60v-15,23,-34,40,-51,60r38,0xm262,0r6,-33r-70,0r5,-27r74,-83r47,0r-15,83r21,0r-4,27r-21,0r-6,33r-37,0xm78,7r144,-267r36,0r-142,267r-38,0xm40,-111r20,-113r-25,0r10,-30r61,0r-25,143r-41,0","w":337},"\u00bd":{"d":"272,-145v43,0,70,34,48,69v-8,13,-33,33,-48,45r51,0r-6,31r-118,0r68,-69v11,-12,18,-18,21,-32v0,-9,-7,-15,-17,-15v-14,0,-22,9,-22,23r-38,0v2,-34,25,-52,61,-52xm78,7r144,-267r36,0r-142,267r-38,0xm40,-111r20,-113r-25,0r10,-30r61,0r-25,143r-41,0","w":337},"\u00be":{"d":"273,-60r13,-60v-15,23,-34,40,-51,60r38,0xm262,0r6,-33r-70,0r5,-27r74,-83r47,0r-15,83r21,0r-4,27r-21,0r-6,33r-37,0xm78,7r144,-267r36,0r-142,267r-38,0xm124,-153v0,45,-71,58,-101,32v-10,-9,-16,-21,-16,-37r37,0v-1,25,42,30,42,5v0,-13,-11,-18,-26,-18r5,-26v13,3,28,-3,28,-16v0,-10,-7,-17,-18,-16v-10,1,-17,4,-19,14r-36,0v2,-50,110,-59,110,-4v0,21,-15,30,-34,35v16,4,28,13,28,31","w":337},"\u011e":{"d":"172,-288v-32,0,-47,-19,-45,-54v7,1,18,-2,23,1v1,38,58,24,65,-1r23,0v-9,33,-28,53,-66,54xm89,-118v0,67,95,91,116,30r-58,0r8,-52r129,0v0,88,-50,147,-136,147v-78,0,-133,-46,-133,-122v0,-111,108,-180,213,-133v19,8,35,25,48,45r-55,37v-11,-21,-29,-34,-58,-34v-44,-1,-74,37,-74,82","w":293},"\u011f":{"d":"111,-262v1,38,58,25,65,0r24,0v-10,32,-29,53,-66,54v-33,0,-49,-19,-46,-54r23,0xm115,-133v-49,-3,-62,90,-7,89v50,4,63,-90,7,-89xm8,-78v0,-84,104,-143,152,-75r5,-25r58,0v-25,105,0,256,-133,256v-52,0,-87,-21,-93,-65r66,0v0,28,43,27,59,11v10,-10,15,-30,17,-50v-14,17,-32,29,-60,29v-43,0,-71,-36,-71,-81","w":237},"\u0130":{"d":"94,-289v-13,0,-26,-13,-26,-26v0,-13,13,-26,26,-26v14,-1,26,11,26,26v0,15,-11,26,-26,26xm8,0r41,-257r70,0r-41,257r-70,0","w":127},"\u015e":{"d":"127,-161v102,31,66,179,-44,168v-40,-4,-68,-19,-88,-44r35,-52v18,19,32,34,61,34v16,0,28,-8,29,-23v-10,-37,-89,-43,-89,-99v0,-86,115,-112,171,-57r-30,51v-14,-12,-27,-24,-46,-24v-31,0,-35,35,1,46xm131,47v1,49,-63,46,-101,30r9,-23v13,5,25,9,41,9v9,-1,17,-4,17,-13v-1,-13,-18,-12,-35,-12r13,-38r20,0r-5,16v25,0,41,8,41,31","w":206},"\u015f":{"d":"12,-124v0,-61,94,-73,138,-41r-18,40v-15,-13,-52,-27,-62,-3v16,26,77,25,77,73v0,71,-107,75,-154,40r21,-42v19,11,31,18,53,20v10,1,21,-5,20,-15v-11,-26,-75,-25,-75,-72xm111,47v1,49,-63,46,-101,30r9,-23v13,5,25,9,41,9v9,-1,17,-4,17,-13v-1,-13,-18,-12,-35,-12r13,-38r20,0r-5,16v25,0,41,8,41,31","w":165},"\u0106":{"d":"15,-118v0,-117,119,-177,224,-127r-12,71v-17,-16,-38,-26,-68,-26v-43,-1,-73,35,-73,79v0,68,73,78,125,52r-11,67v-93,30,-185,-18,-185,-116xm129,-283r39,-62r54,0r-66,62r-27,0","w":235},"\u0107":{"d":"7,-81v0,-81,92,-131,158,-86r-9,54v-24,-36,-84,-18,-84,30v0,42,52,47,76,23r-9,58v-64,27,-132,-9,-132,-79xm82,-203r39,-62r54,0r-66,62r-27,0","w":180},"\u010c":{"d":"118,-345r25,0r23,32r38,-32r27,0r-43,62r-48,0xm15,-118v0,-117,119,-177,224,-127r-12,71v-17,-16,-38,-26,-68,-26v-43,-1,-73,35,-73,79v0,68,73,78,125,52r-11,67v-93,30,-185,-18,-185,-116","w":235},"\u010d":{"d":"71,-265r24,0r23,32r39,-32r26,0r-43,62r-48,0xm7,-81v0,-81,92,-131,158,-86r-9,54v-24,-36,-84,-18,-84,30v0,42,52,47,76,23r-9,58v-64,27,-132,-9,-132,-79","w":180},"\u0111":{"d":"117,-129v-26,0,-44,22,-44,48v0,22,16,37,38,36v26,0,43,-23,43,-50v0,-21,-16,-34,-37,-34xm8,-74v0,-83,103,-142,152,-74r7,-55r-62,0r6,-37r61,0r6,-32r61,0r-5,32r41,0r-5,37r-42,0r-32,203r-59,0r4,-23v-16,17,-33,30,-63,30v-42,0,-70,-37,-70,-81","w":241},"\u00ad":{"d":"12,-61r9,-54r119,0r-9,54r-119,0","w":164}}});
function browserdetect(){var agent=navigator.userAgent.toLowerCase();this.isIE=agent.indexOf("msie")>-1;if(this.isIE){this.ieVer=/msie\s(\d\.\d)/.exec(agent)[1];this.quirksMode=!document.compatMode||document.compatMode.indexOf("BackCompat")>-1;this.get_style=function(obj,prop){if(!(prop in obj.currentStyle))return"";var matches=/^([\d.]+)(\w*)/.exec(obj.currentStyle[prop]);if(!matches)return obj.currentStyle[prop];if(matches[1]==0)return'0';if(matches[2]&&matches[2]!=='px'){var style=obj.style.left;var rtStyle=obj.runtimeStyle.left;obj.runtimeStyle.left=obj.currentStyle.left;obj.style.left=matches[1]+matches[2];matches[0]=obj.style.pixelLeft;obj.style.left=style;obj.runtimeStyle.left=rtStyle}return matches[0]};this.supportsCorners=false}else{this.ieVer=this.quirksMode=0;this.get_style=function(obj,prop){prop=prop.replace(/([a-z])([A-Z])/g,'$1-$2').toLowerCase();return document.defaultView.getComputedStyle(obj,'').getPropertyValue(prop)};this.isSafari=agent.indexOf('safari')!=-1;this.isWebKit=agent.indexOf('webkit')!=-1;this.isOp='opera'in window;if(this.isOp)this.supportsCorners=(this.isOp=window.opera.version())>=10.5;else{if(!this.isWebkit){if(!(this.isMoz=agent.indexOf('firefox')!==-1)){for(var i=document.childNodes.length;--i>=0;){if('style'in document.childNodes[i]){this.isMoz='MozBorderRadius'in document.childNodes[i].style;break}}}}this.supportsCorners=this.isWebKit||this.isMoz}}}var curvyBrowser=new browserdetect;if(curvyBrowser.isIE){try{document.execCommand("BackgroundImageCache",false,true)}catch(e){}}function curvyCnrSpec(selText){this.selectorText=selText;this.tlR=this.trR=this.blR=this.brR=0;this.tlu=this.tru=this.blu=this.bru="";this.antiAlias=true}curvyCnrSpec.prototype.setcorner=function(tb,lr,radius,unit){if(!tb){this.tlR=this.trR=this.blR=this.brR=parseInt(radius);this.tlu=this.tru=this.blu=this.bru=unit}else{var propname=tb.charAt(0)+lr.charAt(0);this[propname+'R']=parseInt(radius);this[propname+'u']=unit}};curvyCnrSpec.prototype.get=function(prop){if(/^(t|b)(l|r)(R|u)$/.test(prop))return this[prop];if(/^(t|b)(l|r)Ru$/.test(prop)){var pname=prop.charAt(0)+prop.charAt(1);return this[pname+'R']+this[pname+'u']}if(/^(t|b)Ru?$/.test(prop)){var tb=prop.charAt(0);tb+=this[tb+'lR']>this[tb+'rR']?'l':'r';var retval=this[tb+'R'];if(prop.length===3&&prop.charAt(2)==='u')retval+=this[tb='u'];return retval}throw new Error('Don\'t recognize property '+prop)};curvyCnrSpec.prototype.radiusdiff=function(tb){if(tb!=='t'&&tb!=='b')throw new Error("Param must be 't' or 'b'");return Math.abs(this[tb+'lR']-this[tb+'rR'])};curvyCnrSpec.prototype.setfrom=function(obj){this.tlu=this.tru=this.blu=this.bru='px';if('tl'in obj)this.tlR=obj.tl.radius;if('tr'in obj)this.trR=obj.tr.radius;if('bl'in obj)this.blR=obj.bl.radius;if('br'in obj)this.brR=obj.br.radius;if('antiAlias'in obj)this.antiAlias=obj.antiAlias};curvyCnrSpec.prototype.cloneOn=function(box){var props=['tl','tr','bl','br'];var converted=0;var i,propu;for(i in props)if(!isNaN(i)){propu=this[props[i]+'u'];if(propu!==''&&propu!=='px'){converted=new curvyCnrSpec;break}}if(!converted)converted=this;else{var propi,propR,save=curvyBrowser.get_style(box,'left');for(i in props)if(!isNaN(i)){propi=props[i];propu=this[propi+'u'];propR=this[propi+'R'];if(propu!=='px'){var save2=box.style.left;box.style.left=propR+propu;propR=box.style.pixelLeft;box.style.left=save2}converted[propi+'R']=propR;converted[propi+'u']='px'}box.style.left=save}return converted};curvyCnrSpec.prototype.radiusSum=function(tb){if(tb!=='t'&&tb!=='b')throw new Error("Param must be 't' or 'b'");return this[tb+'lR']+this[tb+'rR']};curvyCnrSpec.prototype.radiusCount=function(tb){var count=0;if(this[tb+'lR'])++count;if(this[tb+'rR'])++count;return count};curvyCnrSpec.prototype.cornerNames=function(){var ret=[];if(this.tlR)ret.push('tl');if(this.trR)ret.push('tr');if(this.blR)ret.push('bl');if(this.brR)ret.push('br');return ret};function operasheet(sheetnumber){var txt=document.styleSheets.item(sheetnumber).ownerNode.text;txt=txt.replace(/\/\*(\n|\r|.)*?\*\//g,'');var pat=new RegExp("^\\s*([\\w.#][-\\w.#, ]+)[\\n\\s]*\\{([^}]+border-((top|bottom)-(left|right)-)?radius[^}]*)\\}","mg");var matches;this.rules=[];while((matches=pat.exec(txt))!==null){var pat2=new RegExp("(..)border-((top|bottom)-(left|right)-)?radius:\\s*([\\d.]+)(in|em|px|ex|pt)","g");var submatches,cornerspec=new curvyCnrSpec(matches[1]);while((submatches=pat2.exec(matches[2]))!==null)if(submatches[1]!=="z-")cornerspec.setcorner(submatches[3],submatches[4],submatches[5],submatches[6]);this.rules.push(cornerspec)}}operasheet.contains_border_radius=function(sheetnumber){return/border-((top|bottom)-(left|right)-)?radius/.test(document.styleSheets.item(sheetnumber).ownerNode.text)};function curvyCorners(){var i,j,boxCol,settings,startIndex;if(typeof arguments[0]!=="object")throw curvyCorners.newError("First parameter of curvyCorners() must be an object.");if(arguments[0]instanceof curvyCnrSpec){settings=arguments[0];if(!settings.selectorText&&typeof arguments[1]==='string')settings.selectorText=arguments[1]}else{if(typeof arguments[1]!=="object"&&typeof arguments[1]!=="string")throw curvyCorners.newError("Second parameter of curvyCorners() must be an object or a class name.");j=arguments[1];if(typeof j!=='string')j='';if(j!==''&&j.charAt(0)!=='.'&&'autoPad'in arguments[0])j='.'+j;settings=new curvyCnrSpec(j);settings.setfrom(arguments[0])}if(settings.selectorText){startIndex=0;var args=settings.selectorText.replace(/\s+$/,'').split(/,\s*/);boxCol=new Array;for(i=0;i<args.length;++i){if((j=args[i].lastIndexOf('#'))!==-1)args[i]=args[i].substr(j);boxCol=boxCol.concat(curvyCorners.getElementsBySelector(args[i].split(/\s+/)))}}else{startIndex=1;boxCol=arguments}for(i=startIndex,j=boxCol.length;i<j;++i){var theBox=boxCol[i];var skipCorners=false;if(!theBox.className)theBox.className='curvyIgnore';else{skipCorners=theBox.className.indexOf('curvyIgnore')!==-1;if(!skipCorners)theBox.className+=' curvyIgnore'}if(!skipCorners){if(theBox.className.indexOf('curvyRedraw')!==-1){if(typeof curvyCorners.redrawList==='undefined')curvyCorners.redrawList=new Array;curvyCorners.redrawList.push({node:theBox,spec:settings,copy:theBox.cloneNode(false)})}var obj=new curvyObject(settings,theBox);obj.applyCorners()}}}curvyCorners.prototype.applyCornersToAll=function(){throw curvyCorners.newError('This function is now redundant. Just call curvyCorners(). See documentation.')};curvyCorners.redraw=function(){if(curvyBrowser.supportsCorners)return;if(!curvyCorners.redrawList)throw curvyCorners.newError('curvyCorners.redraw() has nothing to redraw.');var old_block_value=curvyCorners.block_redraw;curvyCorners.block_redraw=true;for(var i in curvyCorners.redrawList){if(isNaN(i))continue;var o=curvyCorners.redrawList[i];if(!o.node.clientWidth)continue;var newchild=o.copy.cloneNode(false);for(var contents=o.node.firstChild;contents!==null;contents=contents.nextSibling)if(contents.className.indexOf('autoPadDiv')!==-1)break;if(!contents){curvyCorners.alert('Couldn\'t find autoPad DIV');break}o.node.parentNode.replaceChild(newchild,o.node);var scripts=contents.getElementsByTagName('script');for(var j=scripts.length-1;j>=0;--j)scripts[j].parentNode.removeChild(scripts[j]);while(contents.firstChild)newchild.appendChild(contents.removeChild(contents.firstChild));o=new curvyObject(o.spec,o.node=newchild);o.applyCorners()}curvyCorners.block_redraw=old_block_value};curvyCorners.adjust=function(obj,prop,newval){if(!curvyBrowser.supportsCorners){if(!curvyCorners.redrawList)throw curvyCorners.newError('curvyCorners.adjust() has nothing to adjust.');var i,j=curvyCorners.redrawList.length;for(i=0;i<j;++i)if(curvyCorners.redrawList[i].node===obj)break;if(i===j)throw curvyCorners.newError('Object not redrawable');obj=curvyCorners.redrawList[i].copy}if(prop.indexOf('.')===-1)obj[prop]=newval;else eval('obj.'+prop+"='"+newval+"'")};curvyCorners.handleWinResize=function(){if(!curvyCorners.block_redraw)curvyCorners.redraw()};curvyCorners.setWinResize=function(onoff){curvyCorners.block_redraw=!onoff};curvyCorners.newError=function(errorMessage){return new Error("curvyCorners Error:\n"+errorMessage)};curvyCorners.alert=function(errorMessage){if(typeof curvyCornersVerbose==='undefined'||curvyCornersVerbose)alert(errorMessage)};function curvyObject(){var boxDisp;this.box=arguments[1];this.settings=arguments[0];this.topContainer=this.bottomContainer=this.shell=boxDisp=null;var boxWidth=this.box.clientWidth;if(('canHaveChildren'in this.box&&!this.box.canHaveChildren)||this.box.tagName==='TABLE')throw new Error(this.errmsg("You cannot apply corners to "+this.box.tagName+" elements.","Error"));if(!boxWidth&&curvyBrowser.isIE){this.box.style.zoom=1;boxWidth=this.box.clientWidth}if(!boxWidth&&curvyBrowser.get_style(this.box,'display')==='inline'){this.box.style.display='inline-block';curvyCorners.alert(this.errmsg("Converting inline element to inline-block","warning"));boxWidth=this.box.clientWidth}if(!boxWidth){if(!this.box.parentNode)throw this.newError("box has no parent!");for(boxDisp=this.box;boxDisp=boxDisp.parentNode;){if(!boxDisp||boxDisp.tagName==='BODY'){this.applyCorners=function(){};curvyCorners.alert(this.errmsg("zero-width box with no accountable parent","warning"));return}if(curvyBrowser.get_style(boxDisp,'display')==='none')break}var boxDispSave=boxDisp.style.display;boxDisp.style.display='block';boxWidth=this.box.clientWidth}if(!boxWidth){curvyCorners.alert(this.errmsg("zero-width box, cannot display","error"));this.applyCorners=function(){};return}if(arguments[0]instanceof curvyCnrSpec)this.spec=arguments[0].cloneOn(this.box);else{this.spec=new curvyCnrSpec('');this.spec.setfrom(this.settings)}var borderWidth=curvyBrowser.get_style(this.box,"borderTopWidth");var borderWidthB=curvyBrowser.get_style(this.box,"borderBottomWidth");var borderWidthL=curvyBrowser.get_style(this.box,"borderLeftWidth");var borderWidthR=curvyBrowser.get_style(this.box,"borderRightWidth");var borderColour=curvyBrowser.get_style(this.box,"borderTopColor");var borderColourB=curvyBrowser.get_style(this.box,"borderBottomColor");var borderColourL=curvyBrowser.get_style(this.box,"borderLeftColor");var borderColourR=curvyBrowser.get_style(this.box,"borderRightColor");var borderStyle=curvyBrowser.get_style(this.box,"borderTopStyle");var borderStyleB=curvyBrowser.get_style(this.box,"borderBottomStyle");var borderStyleL=curvyBrowser.get_style(this.box,"borderLeftStyle");var borderStyleR=curvyBrowser.get_style(this.box,"borderRightStyle");var boxColour=curvyBrowser.get_style(this.box,"backgroundColor");var backgroundImage=curvyBrowser.get_style(this.box,"backgroundImage");var backgroundRepeat=curvyBrowser.get_style(this.box,"backgroundRepeat");var backgroundPosX,backgroundPosY;if(this.box.currentStyle&&this.box.currentStyle.backgroundPositionX){backgroundPosX=curvyBrowser.get_style(this.box,"backgroundPositionX");backgroundPosY=curvyBrowser.get_style(this.box,"backgroundPositionY")}else{backgroundPosX=curvyBrowser.get_style(this.box,'backgroundPosition');backgroundPosX=backgroundPosX.split(' ');backgroundPosY=backgroundPosX.length===2?backgroundPosX[1]:0;backgroundPosX=backgroundPosX[0]}var boxPosition=curvyBrowser.get_style(this.box,"position");var topPadding=curvyBrowser.get_style(this.box,"paddingTop");var bottomPadding=curvyBrowser.get_style(this.box,"paddingBottom");var leftPadding=curvyBrowser.get_style(this.box,"paddingLeft");var rightPadding=curvyBrowser.get_style(this.box,"paddingRight");var filter=curvyBrowser.ieVer>7?curvyBrowser.get_style(this.box,'filter'):null;var topMaxRadius=this.spec.get('tR');var botMaxRadius=this.spec.get('bR');var styleToNPx=function(val){if(typeof val==='number')return val;if(typeof val!=='string')throw new Error('unexpected styleToNPx type '+typeof val);var matches=/^[-\d.]([a-z]+)$/.exec(val);if(matches&&matches[1]!='px')throw new Error('Unexpected unit '+matches[1]);if(isNaN(val=parseInt(val)))val=0;return val};var min0Px=function(val){return val<=0?"0":val+"px"};try{this.borderWidth=styleToNPx(borderWidth);this.borderWidthB=styleToNPx(borderWidthB);this.borderWidthL=styleToNPx(borderWidthL);this.borderWidthR=styleToNPx(borderWidthR);this.boxColour=curvyObject.format_colour(boxColour);this.topPadding=styleToNPx(topPadding);this.bottomPadding=styleToNPx(bottomPadding);this.leftPadding=styleToNPx(leftPadding);this.rightPadding=styleToNPx(rightPadding);this.boxWidth=boxWidth;this.boxHeight=this.box.clientHeight;this.borderColour=curvyObject.format_colour(borderColour);this.borderColourB=curvyObject.format_colour(borderColourB);this.borderColourL=curvyObject.format_colour(borderColourL);this.borderColourR=curvyObject.format_colour(borderColourR);this.borderString=this.borderWidth+"px"+" "+borderStyle+" "+this.borderColour;this.borderStringB=this.borderWidthB+"px"+" "+borderStyleB+" "+this.borderColourB;this.borderStringL=this.borderWidthL+"px"+" "+borderStyleL+" "+this.borderColourL;this.borderStringR=this.borderWidthR+"px"+" "+borderStyleR+" "+this.borderColourR;this.backgroundImage=((backgroundImage!="none")?backgroundImage:"");this.backgroundRepeat=backgroundRepeat}catch(e){throw this.newError(e.message)}var clientHeight=this.boxHeight;var clientWidth=boxWidth;if(curvyBrowser.isOp){var t;backgroundPosX=styleToNPx(backgroundPosX);backgroundPosY=styleToNPx(backgroundPosY);if(backgroundPosX){t=clientWidth+this.borderWidthL+this.borderWidthR;if(backgroundPosX>t)backgroundPosX=t;backgroundPosX=(t/backgroundPosX*100)+'%'; }if(backgroundPosY){t=clientHeight+this.borderWidth+this.borderWidthB;if(backgroundPosY>t)backgroundPosY=t;backgroundPosY=(t/backgroundPosY*100)+'%'; }}if(curvyBrowser.quirksMode){}else{this.boxWidth-=this.leftPadding+this.rightPadding;this.boxHeight-=this.topPadding+this.bottomPadding}this.contentContainer=document.createElement("div");if(filter)this.contentContainer.style.filter=filter;while(this.box.firstChild)this.contentContainer.appendChild(this.box.removeChild(this.box.firstChild));if(boxPosition!="absolute")this.box.style.position="relative";this.box.style.padding='0';this.box.style.border=this.box.style.backgroundImage='none';this.box.style.backgroundColor='transparent';this.box.style.width=(clientWidth+this.borderWidthL+this.borderWidthR)+'px';this.box.style.height=(clientHeight+this.borderWidth+this.borderWidthB)+'px';var newMainContainer=document.createElement("div");newMainContainer.style.position="absolute";if(filter)newMainContainer.style.filter=filter;if(curvyBrowser.quirksMode){newMainContainer.style.width=(clientWidth+this.borderWidthL+this.borderWidthR)+'px'}else{newMainContainer.style.width=clientWidth+'px'}newMainContainer.style.height=min0Px(clientHeight+this.borderWidth+this.borderWidthB-topMaxRadius-botMaxRadius);newMainContainer.style.padding="0";newMainContainer.style.top=topMaxRadius+"px";newMainContainer.style.left="0";if(this.borderWidthL)newMainContainer.style.borderLeft=this.borderStringL;if(this.borderWidth&&!topMaxRadius)newMainContainer.style.borderTop=this.borderString;if(this.borderWidthR)newMainContainer.style.borderRight=this.borderStringR;if(this.borderWidthB&&!botMaxRadius)newMainContainer.style.borderBottom=this.borderStringB;newMainContainer.style.backgroundColor=boxColour;newMainContainer.style.backgroundImage=this.backgroundImage;newMainContainer.style.backgroundRepeat=this.backgroundRepeat;newMainContainer.style.direction='ltr';this.shell=this.box.appendChild(newMainContainer);boxWidth=curvyBrowser.get_style(this.shell,"width");if(boxWidth===""||boxWidth==="auto"||boxWidth.indexOf("%")!==-1)throw this.newError('Shell width is '+boxWidth);this.boxWidth=(boxWidth!==""&&boxWidth!="auto"&&boxWidth.indexOf("%")==-1)?parseInt(boxWidth):this.shell.clientWidth;this.applyCorners=function(){this.backgroundPosX=this.backgroundPosY=0;if(this.backgroundObject){var bgOffset=function(style,imglen,boxlen){if(style===0)return 0;if(style==='right'||style==='bottom')return boxlen-imglen;if(style==='center')return(boxlen-imglen)/2;if(style.indexOf('%')>0)return(boxlen-imglen)*100/parseInt(style);return styleToNPx(style)};this.backgroundPosX=bgOffset(backgroundPosX,this.backgroundObject.width,clientWidth);this.backgroundPosY=bgOffset(backgroundPosY,this.backgroundObject.height,clientHeight)}else if(this.backgroundImage){this.backgroundPosX=styleToNPx(backgroundPosX);this.backgroundPosY=styleToNPx(backgroundPosY)}if(topMaxRadius){newMainContainer=document.createElement("div");newMainContainer.style.width=this.boxWidth+"px";newMainContainer.style.fontSize="1px";newMainContainer.style.overflow="hidden";newMainContainer.style.position="absolute";newMainContainer.style.paddingLeft=this.borderWidth+"px";newMainContainer.style.paddingRight=this.borderWidth+"px";newMainContainer.style.height=topMaxRadius+"px";newMainContainer.style.top=-topMaxRadius+"px";newMainContainer.style.left=-this.borderWidthL+"px";this.topContainer=this.shell.appendChild(newMainContainer)}if(botMaxRadius){newMainContainer=document.createElement("div");newMainContainer.style.width=this.boxWidth+"px";newMainContainer.style.fontSize="1px";newMainContainer.style.overflow="hidden";newMainContainer.style.position="absolute";newMainContainer.style.paddingLeft=this.borderWidthB+"px";newMainContainer.style.paddingRight=this.borderWidthB+"px";newMainContainer.style.height=botMaxRadius+"px";newMainContainer.style.bottom=-botMaxRadius+"px";newMainContainer.style.left=-this.borderWidthL+"px";this.bottomContainer=this.shell.appendChild(newMainContainer)}var corners=this.spec.cornerNames();for(var i in corners)if(!isNaN(i)){var cc=corners[i];var specRadius=this.spec[cc+'R'];var bwidth,bcolor,borderRadius,borderWidthTB;if(cc=="tr"||cc=="tl"){bwidth=this.borderWidth;bcolor=this.borderColour;borderWidthTB=this.borderWidth}else{bwidth=this.borderWidthB;bcolor=this.borderColourB;borderWidthTB=this.borderWidthB}borderRadius=specRadius-borderWidthTB;var newCorner=document.createElement("div");newCorner.style.height=this.spec.get(cc+'Ru');newCorner.style.width=this.spec.get(cc+'Ru');newCorner.style.position="absolute";newCorner.style.fontSize="1px";newCorner.style.overflow="hidden";var intx,inty,outsideColour;var trans=filter?parseInt(/alpha\(opacity.(\d+)\)/.exec(filter)[1]):100;for(intx=0;intx<specRadius;++intx){var y1=(intx+1>=borderRadius)?-1:Math.floor(Math.sqrt(Math.pow(borderRadius,2)-Math.pow(intx+1,2)))-1;if(borderRadius!=specRadius){var y2=(intx>=borderRadius)?-1:Math.ceil(Math.sqrt(Math.pow(borderRadius,2)-Math.pow(intx,2)));var y3=(intx+1>=specRadius)?-1:Math.floor(Math.sqrt(Math.pow(specRadius,2)-Math.pow((intx+1),2)))-1}var y4=(intx>=specRadius)?-1:Math.ceil(Math.sqrt(Math.pow(specRadius,2)-Math.pow(intx,2)));if(y1>-1)this.drawPixel(intx,0,this.boxColour,trans,(y1+1),newCorner,true,specRadius);if(borderRadius!=specRadius){if(this.spec.antiAlias){for(inty=y1+1;inty<y2;++inty){if(this.backgroundImage!==""){var borderFract=curvyObject.pixelFraction(intx,inty,borderRadius)*100;this.drawPixel(intx,inty,bcolor,trans,1,newCorner,borderFract>=30,specRadius)}else if(this.boxColour!=='transparent'){var pixelcolour=curvyObject.BlendColour(this.boxColour,bcolor,curvyObject.pixelFraction(intx,inty,borderRadius));this.drawPixel(intx,inty,pixelcolour,trans,1,newCorner,false,specRadius)}else this.drawPixel(intx,inty,bcolor,trans>>1,1,newCorner,false,specRadius)}if(y3>=y2){if(y2==-1)y2=0;this.drawPixel(intx,y2,bcolor,trans,(y3-y2+1),newCorner,false,0)}outsideColour=bcolor;inty=y3}else{if(y3>y1){this.drawPixel(intx,(y1+1),bcolor,trans,(y3-y1),newCorner,false,0)}}}else{outsideColour=this.boxColour;inty=y1}if(this.spec.antiAlias&&this.boxColour!=='transparent'){while(++inty<y4){this.drawPixel(intx,inty,outsideColour,(curvyObject.pixelFraction(intx,inty,specRadius)*trans),1,newCorner,borderWidthTB<=0,specRadius)}}}var k;for(t=0,k=newCorner.childNodes.length;t<k;++t){var pixelBar=newCorner.childNodes[t];var pixelBarTop=parseInt(pixelBar.style.top);var pixelBarLeft=parseInt(pixelBar.style.left);var pixelBarHeight=parseInt(pixelBar.style.height);if(cc=="tl"||cc=="bl"){pixelBar.style.left=(specRadius-pixelBarLeft-1)+"px"}if(cc=="tr"||cc=="tl"){pixelBar.style.top=(specRadius-pixelBarHeight-pixelBarTop)+"px"}pixelBar.style.backgroundRepeat=this.backgroundRepeat;if(this.backgroundImage)switch(cc){case"tr":pixelBar.style.backgroundPosition=(this.backgroundPosX-this.borderWidthL+specRadius-clientWidth-pixelBarLeft)+"px "+(this.backgroundPosY+pixelBarHeight+pixelBarTop+this.borderWidth-specRadius)+"px";break;case"tl":pixelBar.style.backgroundPosition=(this.backgroundPosX-specRadius+pixelBarLeft+1+this.borderWidthL)+"px "+(this.backgroundPosY-specRadius+pixelBarHeight+pixelBarTop+this.borderWidth)+"px";break;case"bl":pixelBar.style.backgroundPosition=(this.backgroundPosX-specRadius+pixelBarLeft+1+this.borderWidthL)+"px "+(this.backgroundPosY-clientHeight-this.borderWidth+(curvyBrowser.quirksMode?pixelBarTop:-pixelBarTop)+specRadius)+"px";break;case"br":if(curvyBrowser.quirksMode){pixelBar.style.backgroundPosition=(this.backgroundPosX-this.borderWidthL-clientWidth+specRadius-pixelBarLeft)+"px "+(this.backgroundPosY-clientHeight-this.borderWidth+pixelBarTop+specRadius)+"px"}else{pixelBar.style.backgroundPosition=(this.backgroundPosX-this.borderWidthL-clientWidth+specRadius-pixelBarLeft)+"px "+(this.backgroundPosY-clientHeight-this.borderWidth+specRadius-pixelBarTop)+"px"}}}switch(cc){case"tl":newCorner.style.top=newCorner.style.left="0";this.topContainer.appendChild(newCorner);break;case"tr":newCorner.style.top=newCorner.style.right="0";this.topContainer.appendChild(newCorner);break;case"bl":newCorner.style.bottom=newCorner.style.left="0";this.bottomContainer.appendChild(newCorner);break;case"br":newCorner.style.bottom=newCorner.style.right="0";this.bottomContainer.appendChild(newCorner)}}var radiusDiff={t:this.spec.radiusdiff('t'),b:this.spec.radiusdiff('b')};for(var z in radiusDiff){if(typeof z==='function')continue;if(!this.spec.get(z+'R'))continue;if(radiusDiff[z]){var smallerCornerType=(this.spec[z+"lR"]<this.spec[z+"rR"])?z+"l":z+"r";var newFiller=document.createElement("div");newFiller.style.height=radiusDiff[z]+"px";newFiller.style.width=this.spec.get(smallerCornerType+'Ru');newFiller.style.position="absolute";newFiller.style.fontSize="1px";newFiller.style.overflow="hidden";newFiller.style.backgroundColor=this.boxColour;if(filter)newFiller.style.filter=filter;newFiller.style.backgroundImage=this.backgroundImage;newFiller.style.backgroundRepeat=this.backgroundRepeat;switch(smallerCornerType){case"tl":newFiller.style.bottom=newFiller.style.left="0";newFiller.style.borderLeft=this.borderStringL;newFiller.style.backgroundPosition=this.backgroundPosX+"px "+(this.borderWidth+this.backgroundPosY-this.spec.tlR)+"px";this.topContainer.appendChild(newFiller);break;case"tr":newFiller.style.bottom=newFiller.style.right="0";newFiller.style.borderRight=this.borderStringR;newFiller.style.backgroundPosition=(this.backgroundPosX-this.boxWidth+this.spec.trR)+"px "+(this.borderWidth+this.backgroundPosY-this.spec.trR)+"px";this.topContainer.appendChild(newFiller);break;case"bl":newFiller.style.top=newFiller.style.left="0";newFiller.style.borderLeft=this.borderStringL;newFiller.style.backgroundPosition=this.backgroundPosX+"px "+(this.backgroundPosY-this.borderWidth-this.boxHeight+radiusDiff[z]+this.spec.blR)+"px";this.bottomContainer.appendChild(newFiller);break;case"br":newFiller.style.top=newFiller.style.right="0";newFiller.style.borderRight=this.borderStringR;newFiller.style.backgroundPosition=(this.borderWidthL+this.backgroundPosX-this.boxWidth+this.spec.brR)+"px "+(this.backgroundPosY-this.borderWidth-this.boxHeight+radiusDiff[z]+this.spec.brR)+"px";this.bottomContainer.appendChild(newFiller)}}var newFillerBar=document.createElement("div");if(filter)newFillerBar.style.filter=filter;newFillerBar.style.position="relative";newFillerBar.style.fontSize="1px";newFillerBar.style.overflow="hidden";newFillerBar.style.width=this.fillerWidth(z);newFillerBar.style.backgroundColor=this.boxColour;newFillerBar.style.backgroundImage=this.backgroundImage;newFillerBar.style.backgroundRepeat=this.backgroundRepeat;switch(z){case"t":if(this.topContainer){if(curvyBrowser.quirksMode){newFillerBar.style.height=100+topMaxRadius+"px"}else{newFillerBar.style.height=100+topMaxRadius-this.borderWidth+"px"}newFillerBar.style.marginLeft=this.spec.tlR?(this.spec.tlR-this.borderWidthL)+"px":"0";newFillerBar.style.borderTop=this.borderString;if(this.backgroundImage){var x_offset=this.spec.tlR?(this.borderWidthL+this.backgroundPosX-this.spec.tlR)+"px ":this.backgroundPosX+"px ";newFillerBar.style.backgroundPosition=x_offset+this.backgroundPosY+"px";this.shell.style.backgroundPosition=this.backgroundPosX+"px "+(this.backgroundPosY-topMaxRadius+this.borderWidthL)+"px"}this.topContainer.appendChild(newFillerBar)}break;case"b":if(this.bottomContainer){if(curvyBrowser.quirksMode){newFillerBar.style.height=botMaxRadius+"px"}else{newFillerBar.style.height=botMaxRadius-this.borderWidthB+"px"}newFillerBar.style.marginLeft=this.spec.blR?(this.spec.blR-this.borderWidthL)+"px":"0";newFillerBar.style.borderBottom=this.borderStringB;if(this.backgroundImage){var x_offset=this.spec.blR?(this.backgroundPosX+this.borderWidthL-this.spec.blR)+"px ":this.backgroundPosX+"px ";newFillerBar.style.backgroundPosition=x_offset+(this.backgroundPosY-clientHeight-this.borderWidth+botMaxRadius)+"px"}this.bottomContainer.appendChild(newFillerBar)}}}this.contentContainer.style.position="absolute";this.contentContainer.className="autoPadDiv";this.contentContainer.style.left=this.borderWidthL+"px";this.contentContainer.style.paddingTop=this.topPadding+"px";this.contentContainer.style.top=this.borderWidth+"px";this.contentContainer.style.paddingLeft=this.leftPadding+"px";this.contentContainer.style.paddingRight=this.rightPadding+"px";z=clientWidth;if(!curvyBrowser.quirksMode)z-=this.leftPadding+this.rightPadding;this.contentContainer.style.width=z+"px";this.contentContainer.style.textAlign=curvyBrowser.get_style(this.box,'textAlign');this.box.style.textAlign='left';this.box.appendChild(this.contentContainer);if(boxDisp)boxDisp.style.display=boxDispSave};if(this.backgroundImage){backgroundPosX=this.backgroundCheck(backgroundPosX);backgroundPosY=this.backgroundCheck(backgroundPosY);if(this.backgroundObject){this.backgroundObject.holdingElement=this;this.dispatch=this.applyCorners;this.applyCorners=function(){if(this.backgroundObject.complete)this.dispatch();else this.backgroundObject.onload=new Function('curvyObject.dispatch(this.holdingElement);')}}}}curvyObject.prototype.backgroundCheck=function(style){if(style==='top'||style==='left'||parseInt(style)===0)return 0;if(!(/^[-\d.]+px$/.test(style))&&!this.backgroundObject){this.backgroundObject=new Image;var imgName=function(str){var matches=/url\("?([^'"]+)"?\)/.exec(str);return(matches?matches[1]:str)};this.backgroundObject.src=imgName(this.backgroundImage)}return style};curvyObject.dispatch=function(obj){if('dispatch'in obj)obj.dispatch();else throw obj.newError('No dispatch function')};curvyObject.prototype.drawPixel=function(intx,inty,colour,transAmount,height,newCorner,image,cornerRadius){var pixel=document.createElement("div");pixel.style.height=height+"px";pixel.style.width="1px";pixel.style.position="absolute";pixel.style.fontSize="1px";pixel.style.overflow="hidden";var topMaxRadius=this.spec.get('tR');pixel.style.backgroundColor=colour;if(image&&this.backgroundImage!==""){pixel.style.backgroundImage=this.backgroundImage;pixel.style.backgroundPosition="-"+(this.boxWidth-(cornerRadius-intx)+this.borderWidth)+"px -"+((this.boxHeight+topMaxRadius+inty)-this.borderWidth)+"px"}if(transAmount!=100)curvyObject.setOpacity(pixel,transAmount);pixel.style.top=inty+"px";pixel.style.left=intx+"px";newCorner.appendChild(pixel)};curvyObject.prototype.fillerWidth=function(tb){var b_width,f_width;b_width=curvyBrowser.quirksMode?0:this.spec.radiusCount(tb)*this.borderWidthL;if((f_width=this.boxWidth-this.spec.radiusSum(tb)+b_width)<0)throw this.newError("Radius exceeds box width");return f_width+'px'};curvyObject.prototype.errmsg=function(msg,gravity){var extradata="\ntag: "+this.box.tagName;if(this.box.id)extradata+="\nid: "+this.box.id;if(this.box.className)extradata+="\nclass: "+this.box.className;var parent;if((parent=this.box.parentNode)===null)extradata+="\n(box has no parent)";else{extradata+="\nParent tag: "+parent.tagName;if(parent.id)extradata+="\nParent ID: "+parent.id;if(parent.className)extradata+="\nParent class: "+parent.className}if(gravity===undefined)gravity='warning';return'curvyObject '+gravity+":\n"+msg+extradata};curvyObject.prototype.newError=function(msg){return new Error(this.errmsg(msg,'exception'))};curvyObject.IntToHex=function(strNum){var hexdig=['0','1','2','3','4','5','6','7','8','9','A','B','C','D','E','F'];return hexdig[strNum>>>4]+''+hexdig[strNum&15]};curvyObject.BlendColour=function(Col1,Col2,Col1Fraction){if(Col1==='transparent'||Col2==='transparent')throw this.newError('Cannot blend with transparent');if(Col1.charAt(0)!=='#'){Col1=curvyObject.format_colour(Col1)}if(Col2.charAt(0)!=='#'){Col2=curvyObject.format_colour(Col2)}var red1=parseInt(Col1.substr(1,2),16);var green1=parseInt(Col1.substr(3,2),16);var blue1=parseInt(Col1.substr(5,2),16);var red2=parseInt(Col2.substr(1,2),16);var green2=parseInt(Col2.substr(3,2),16);var blue2=parseInt(Col2.substr(5,2),16);if(Col1Fraction>1||Col1Fraction<0)Col1Fraction=1;var endRed=Math.round((red1*Col1Fraction)+(red2*(1-Col1Fraction)));if(endRed>255)endRed=255;if(endRed<0)endRed=0;var endGreen=Math.round((green1*Col1Fraction)+(green2*(1-Col1Fraction)));if(endGreen>255)endGreen=255;if(endGreen<0)endGreen=0;var endBlue=Math.round((blue1*Col1Fraction)+(blue2*(1-Col1Fraction)));if(endBlue>255)endBlue=255;if(endBlue<0)endBlue=0;return"#"+curvyObject.IntToHex(endRed)+curvyObject.IntToHex(endGreen)+curvyObject.IntToHex(endBlue)};curvyObject.pixelFraction=function(x,y,r){var fraction;var rsquared=r*r;var xvalues=new Array(2);var yvalues=new Array(2);var point=0;var whatsides="";var intersect=Math.sqrt(rsquared-Math.pow(x,2));if(intersect>=y&&intersect<(y+1)){whatsides="Left";xvalues[point]=0;yvalues[point]=intersect-y;++point}intersect=Math.sqrt(rsquared-Math.pow(y+1,2));if(intersect>=x&&intersect<(x+1)){whatsides+="Top";xvalues[point]=intersect-x;yvalues[point]=1;++point}intersect=Math.sqrt(rsquared-Math.pow(x+1,2));if(intersect>=y&&intersect<(y+1)){whatsides+="Right";xvalues[point]=1;yvalues[point]=intersect-y;++point}intersect=Math.sqrt(rsquared-Math.pow(y,2));if(intersect>=x&&intersect<(x+1)){whatsides+="Bottom";xvalues[point]=intersect-x;yvalues[point]=0}switch(whatsides){case"LeftRight":fraction=Math.min(yvalues[0],yvalues[1])+((Math.max(yvalues[0],yvalues[1])-Math.min(yvalues[0],yvalues[1]))/2);break;case"TopRight":fraction=1-(((1-xvalues[0])*(1-yvalues[1]))/2);break;case"TopBottom":fraction=Math.min(xvalues[0],xvalues[1])+((Math.max(xvalues[0],xvalues[1])-Math.min(xvalues[0],xvalues[1]))/2);break;case"LeftBottom":fraction=yvalues[0]*xvalues[1]/2;break;default:fraction=1}return fraction};curvyObject.rgb2Array=function(rgbColour){var rgbValues=rgbColour.substring(4,rgbColour.indexOf(")"));return rgbValues.split(/,\s*/)};curvyObject.rgb2Hex=function(rgbColour){try{var rgbArray=curvyObject.rgb2Array(rgbColour);var red=parseInt(rgbArray[0]);var green=parseInt(rgbArray[1]);var blue=parseInt(rgbArray[2]);var hexColour="#"+curvyObject.IntToHex(red)+curvyObject.IntToHex(green)+curvyObject.IntToHex(blue)}catch(e){var msg='getMessage'in e?e.getMessage():e.message;throw new Error("Error ("+msg+") converting RGB value to Hex in rgb2Hex")}return hexColour};curvyObject.setOpacity=function(obj,opacity){opacity=(opacity==100)?99.999:opacity;if(curvyBrowser.isSafari&&obj.tagName!="IFRAME"){var rgbArray=curvyObject.rgb2Array(obj.style.backgroundColor);var red=parseInt(rgbArray[0]);var green=parseInt(rgbArray[1]);var blue=parseInt(rgbArray[2]);obj.style.backgroundColor="rgba("+red+", "+green+", "+blue+", "+opacity/100+")"}else if(typeof obj.style.opacity!=="undefined"){obj.style.opacity=opacity/100}else if(typeof obj.style.MozOpacity!=="undefined"){obj.style.MozOpacity=opacity/100}else if(typeof obj.style.filter!=="undefined"){obj.style.filter="alpha(opacity="+opacity+")"}else if(typeof obj.style.KHTMLOpacity!=="undefined"){obj.style.KHTMLOpacity=opacity/100}};curvyCorners.addEvent=function(elm,evType,fn,useCapture){if(elm.addEventListener){elm.addEventListener(evType,fn,useCapture);return true}if(elm.attachEvent)return elm.attachEvent('on'+evType,fn);elm['on'+evType]=fn;return false};if(typeof addEvent==='undefined')addEvent=curvyCorners.addEvent;curvyObject.getComputedColour=function(colour){var d=document.createElement('DIV');d.style.backgroundColor=colour;document.body.appendChild(d);if(window.getComputedStyle){var rtn=document.defaultView.getComputedStyle(d,null).getPropertyValue('background-color');d.parentNode.removeChild(d);if(rtn.substr(0,3)==="rgb")rtn=curvyObject.rgb2Hex(rtn);return rtn}else{var rng=document.body.createTextRange();rng.moveToElementText(d);rng.execCommand('ForeColor',false,colour);var iClr=rng.queryCommandValue('ForeColor');var rgb="rgb("+(iClr&0xFF)+", "+((iClr&0xFF00)>>8)+", "+((iClr&0xFF0000)>>16)+")";d.parentNode.removeChild(d);rng=null;return curvyObject.rgb2Hex(rgb)}};curvyObject.format_colour=function(colour){if(colour!==""&&colour!=="transparent"){if(colour.substr(0,3)==="rgb"){colour=curvyObject.rgb2Hex(colour)}else if(colour.charAt(0)!=='#'){colour=curvyObject.getComputedColour(colour)}else if(colour.length===4){colour="#"+colour.charAt(1)+colour.charAt(1)+colour.charAt(2)+colour.charAt(2)+colour.charAt(3)+colour.charAt(3)}}return colour};curvyCorners.getElementsByClass=function(searchClass,node){var classElements=new Array;if(node===undefined)node=document;searchClass=searchClass.split('.');var tag='*';if(searchClass.length===1){tag=searchClass[0];searchClass=false}else{if(searchClass[0])tag=searchClass[0];searchClass=searchClass[1]}var i,els,elsLen;if(tag.charAt(0)==='#'){els=document.getElementById(tag.substr(1));if(els)classElements.push(els)}else{els=node.getElementsByTagName(tag);elsLen=els.length;if(searchClass){var pattern=new RegExp("(^|\\s)"+searchClass+"(\\s|$)");for(i=0;i<elsLen;++i){if(pattern.test(els[i].className))classElements.push(els[i])}}else for(i=0;i<elsLen;++i)classElements.push(els[i])}return classElements};curvyCorners.getElementsBySelector=function(selectors,parent){var ret;var sel=selectors[0];if(parent===undefined)parent=document;if(sel.indexOf('#')===-1)ret=curvyCorners.getElementsByClass(sel,parent);else{var t=parent.getElementById(sel.substr(1));if(!t)return[];ret=[t]}if(selectors.length>1){var subret=[];for(var i=ret.length;--i>=0;)subret=subret.concat(curvyCorners.getElementsBySelector(selectors.slice(1),ret[i]));ret=subret}return ret};if(curvyBrowser.supportsCorners){var curvyCornersNoAutoScan=true;curvyCorners.init=function(){}}else{curvyCorners.scanStyles=function(){function units(num){if(!parseInt(num))return'px';var matches=/^[\d.]+(\w+)$/.exec(num);return matches[1]}var t,i,j;if(curvyBrowser.isIE){function procIEStyles(rule){var style=rule.style,allR,tR,tL,bR,bL;if(curvyBrowser.ieVer>6.0){allR=style['-moz-border-radius']||0;tR=style['-moz-border-radius-topright']||0;tL=style['-moz-border-radius-topleft']||0;bR=style['-moz-border-radius-bottomright']||0;bL=style['-moz-border-radius-bottomleft']||0}else{allR=style['moz-border-radius']||0;tR=style['moz-border-radius-topright']||0;tL=style['moz-border-radius-topleft']||0;bR=style['moz-border-radius-bottomright']||0;bL=style['moz-border-radius-bottomleft']||0}if(allR){var t=allR.split('/');t=t[0].split(/\s+/);if(t[t.length-1]==='')t.pop();switch(t.length){case 3:tL=t[0];tR=bL=t[1];bR=t[2];allR=false;break;case 2:tL=bR=t[0];tR=bL=t[1];allR=false;case 1:break;case 4:tL=t[0];tR=t[1];bR=t[2];bL=t[3];allR=false;break;default:curvyCorners.alert('Illegal corners specification: '+allR)}}if(allR||tL||tR||bR||bL){var settings=new curvyCnrSpec(rule.selectorText);if(allR)settings.setcorner(null,null,parseInt(allR),units(allR));else{if(tR)settings.setcorner('t','r',parseInt(tR),units(tR));if(tL)settings.setcorner('t','l',parseInt(tL),units(tL));if(bL)settings.setcorner('b','l',parseInt(bL),units(bL));if(bR)settings.setcorner('b','r',parseInt(bR),units(bR))}curvyCorners(settings)}}for(t=0;t<document.styleSheets.length;++t){try{if(document.styleSheets[t].imports){for(i=0;i<document.styleSheets[t].imports.length;++i)for(j=0;j<document.styleSheets[t].imports[i].rules.length;++j)procIEStyles(document.styleSheets[t].imports[i].rules[j])}for(i=0;i<document.styleSheets[t].rules.length;++i)procIEStyles(document.styleSheets[t].rules[i])}catch(e){if(typeof curvyCornersVerbose!=='undefined'&&curvyCornersVerbose)alert(e.message+" - ignored")}}}else if(curvyBrowser.isOp){for(t=0;t<document.styleSheets.length;++t){if(operasheet.contains_border_radius(t)){j=new operasheet(t);for(i in j.rules)if(!isNaN(i))curvyCorners(j.rules[i])}}}else curvyCorners.alert('Scanstyles does nothing in Webkit/Firefox/Opera')};curvyCorners.init=function(){if(arguments.callee.done)return;arguments.callee.done=true;if(curvyBrowser.isWebKit&&curvyCorners.init.timer){clearInterval(curvyCorners.init.timer);curvyCorners.init.timer=null}curvyCorners.scanStyles()}}if(typeof curvyCornersNoAutoScan==='undefined'||curvyCornersNoAutoScan===false){if(curvyBrowser.isOp)document.addEventListener("DOMContentLoaded",curvyCorners.init,false);else curvyCorners.addEvent(window,'load',curvyCorners.init,false)}
/*P:1192.392*/

