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 IsFlashActive(){var flashVersion=0;var MIN_FLASH_VERSION=7;var ua=navigator.userAgent.toLowerCase();if(ua.indexOf('ie')>-1&&!(ua.indexOf('opera')>-1)){try{flashVersion=parseFloat(/([\d,?]+)/.exec(new ActiveXObject('ShockwaveFlash.ShockwaveFlash.7').GetVariable('$version'))[1].replace(/,/g,'.'))}catch(e){}}else if(navigator.plugins&&navigator.plugins['Shockwave Flash']){var flashPlugin=navigator.plugins['Shockwave Flash'];flashVersion=parseFloat(/(\d+\.?\d*)/.exec(flashPlugin.description)[1]);var i=0;while(flashVersion>=MIN_FLASH_VERSION&&i<navigator.mimeTypes.length){var mime=navigator.mimeTypes[i];if(mime.type=='application/x-shockwave-flash'&&!new RegExp('.*Shockwave\\sFlash\\s'+flashVersion+'.*').exec(mime.enabledPlugin.description)){flashVersion=0}i++}}return flashVersion>=MIN_FLASH_VERSION}function CreateFlashOnId(src,id,width,height,wmode,bgcolor,flashvars){var ua=navigator.userAgent.toLowerCase();if(IsFlashActive()||ua.indexOf('chrome')>-1){var sProtocol='http://';src=src.slice(0,src.lastIndexOf('.swf'));AC_FL_DomID=id;if(window.location.href.substring(0,8)=="https://"){sProtocol='https://'}AC_FL_RunContent('codebase',sProtocol+'download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0','width',width,'height',height,'src',src,'allowFullScreen','true','quality','high','flashvars',flashvars,'wmode',wmode,'bgcolor',bgcolor,'pluginspage',sProtocol+'www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash','movie',src);AC_FL_DomID=null}}function CreateFlash(src,width,height,wmode,bgcolor,flashvars){if(IsFlashActive()){src=src.slice(0,src.lastIndexOf('.swf'));AC_FL_RunContent('codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0','width',width,'height',height,'src',src,'allowFullScreen','true','quality','high','flashvars',flashvars,'wmode',wmode,'bgcolor',bgcolor,'pluginspage','http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash','movie',src)}}var AC_FL_DomID=null;function AC_AddExtension(src,ext){if(src.indexOf('?')!=-1)return src.replace(/\?/,ext+'?');else return src+ext}function AC_Generateobj(objAttrs,params,embedAttrs){var str='<object ';for(var i in objAttrs)str+=i+'="'+objAttrs[i]+'" ';str+='>';for(var i in params)str+='<param name="'+i+'" value="'+params[i]+'" /> ';str+='<embed ';for(var i in embedAttrs)str+=i+'="'+embedAttrs[i]+'" ';str+=' ></embed></object>';if(AC_FL_DomID!=null){if(document.getElementById(AC_FL_DomID)!=null){document.getElementById(AC_FL_DomID).innerHTML=str}else{document.write(str)}}else{document.write(str)}}function AC_FL_RunContent(){var ret=AC_GetArgs(arguments,".swf","movie","clsid:d27cdb6e-ae6d-11cf-96b8-444553540000","application/x-shockwave-flash");AC_Generateobj(ret.objAttrs,ret.params,ret.embedAttrs)}function AC_SW_RunContent(){var ret=AC_GetArgs(arguments,".dcr","src","clsid:166B1BCA-3F9C-11CF-8075-444553540000",null);AC_Generateobj(ret.objAttrs,ret.params,ret.embedAttrs)}function AC_GetArgs(args,ext,srcParamName,classid,mimeType){var ret=new Object();ret.embedAttrs=new Object();ret.params=new Object();ret.objAttrs=new Object();for(var i=0;i<args.length;i=i+2){var currArg=args[i].toLowerCase();switch(currArg){case"classid":break;case"pluginspage":ret.embedAttrs[args[i]]=args[i+1];break;case"src":case"movie":args[i+1]=AC_AddExtension(args[i+1],ext);ret.embedAttrs["src"]=args[i+1];ret.params[srcParamName]=args[i+1];break;case"onafterupdate":case"onbeforeupdate":case"onblur":case"oncellchange":case"onclick":case"ondblClick":case"ondrag":case"ondragend":case"ondragenter":case"ondragleave":case"ondragover":case"ondrop":case"onfinish":case"onfocus":case"onhelp":case"onmousedown":case"onmouseup":case"onmouseover":case"onmousemove":case"onmouseout":case"onkeypress":case"onkeydown":case"onkeyup":case"onload":case"onlosecapture":case"onpropertychange":case"onreadystatechange":case"onrowsdelete":case"onrowenter":case"onrowexit":case"onrowsinserted":case"onstart":case"onscroll":case"onbeforeeditfocus":case"onactivate":case"onbeforedeactivate":case"ondeactivate":case"type":case"codebase":ret.objAttrs[args[i]]=args[i+1];break;case"width":case"height":case"align":case"vspace":case"hspace":case"class":case"title":case"accesskey":case"name":case"id":case"tabindex":ret.embedAttrs[args[i]]=ret.objAttrs[args[i]]=args[i+1];break;default:ret.embedAttrs[args[i]]=ret.params[args[i]]=args[i+1]}}ret.objAttrs["classid"]=classid;if(mimeType)ret.embedAttrs["type"]=mimeType;return ret}
function blurLinks(){var elements=document.getElementsByTagName('a');if(elements!=undefined){var i;for(i=0;i<elements.length;i++){elements[i].onfocus=function(){this.blur()}}}}Event.observe(window,'load',blurLinks,false);
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":197,"face":{"font-family":"kristen-itv","font-weight":400,"font-stretch":"semi-expanded","units-per-em":"360","panose-1":"3 5 5 2 4 2 2 3 2 2","ascent":"288","descent":"-72","cap-height":"22","bbox":"-39 -368.208 390.836 120","underline-thickness":"30.7617","underline-position":"-31.4648","unicode-range":"U+0020-U+00FF"},"glyphs":{" ":{"w":107},"!":{"d":"43,-68v-19,-3,-17,-22,-18,-49v0,-31,6,-67,18,-107v6,-20,14,-30,25,-30v21,7,10,19,3,49v-9,36,-13,86,-16,127v-2,6,-5,10,-12,10xm48,-40v11,0,19,9,19,20v0,12,-8,21,-19,21v-11,0,-20,-10,-20,-21v0,-11,9,-20,20,-20","w":90},"\"":{"d":"121,-229v1,32,-11,76,-32,82v-22,0,-4,-29,-1,-37v9,-10,-3,-66,20,-66v8,0,13,7,13,21xm49,-207v0,12,1,46,-12,46v-9,0,-13,-10,-13,-29v0,-41,6,-61,18,-61v19,1,7,30,7,44","w":131},"#":{"d":"189,-180v18,2,52,-12,54,10v1,19,-40,15,-64,15r-19,50v33,2,49,-3,54,17v-1,23,-42,9,-62,9v-10,21,-14,62,-34,69v-9,0,-13,-4,-13,-13v0,-1,6,-19,19,-54v-17,1,-35,2,-52,2v-9,19,-12,56,-30,63v-8,0,-13,-5,-13,-16v0,-6,5,-21,15,-47v-30,-1,-41,3,-46,-14v0,-20,36,-11,56,-12r23,-52v-18,0,-51,6,-51,-12v8,-21,21,-11,62,-15v9,-19,12,-57,33,-61v8,0,11,3,11,10v0,6,-6,22,-16,50r44,0v19,-40,14,-50,38,-61v31,5,-9,49,-9,62xm152,-155r-47,0r-23,54v19,0,36,-1,50,-2","w":244},"$":{"d":"112,-250v27,5,47,22,47,52v0,17,-8,25,-23,25v-16,1,-17,-10,-13,-21v0,-15,-12,-26,-28,-26v-23,0,-64,33,-36,50v42,25,97,35,97,91v0,36,-30,62,-65,65v-6,18,-2,51,-25,49v-27,-2,-17,-20,-13,-50v-31,-7,-47,-24,-47,-48v0,-27,44,-46,48,-15v2,5,-16,11,-14,16v12,31,81,21,81,-17v0,-45,-110,-51,-106,-103v3,-33,30,-57,60,-64v2,-30,1,-48,24,-48v23,0,17,27,13,44","w":167},"%":{"d":"203,-131v43,0,72,29,72,72v0,63,-95,88,-109,26v-11,-3,-18,-12,-18,-27v0,-47,18,-71,55,-71xm243,-59v1,-26,-17,-45,-42,-45v-18,0,-26,23,-22,48v19,2,18,28,35,32v19,0,29,-11,29,-35xm41,-41v68,-55,108,-111,131,-185v4,-12,31,-16,32,-1v-11,65,-101,195,-147,205v-8,0,-13,-6,-16,-19xm65,-234v40,0,63,23,63,62v1,37,-27,67,-63,67v-36,0,-58,-25,-58,-62v0,-41,18,-67,58,-67xm69,-129v16,-1,26,-22,26,-42v0,-24,-13,-36,-38,-36v-27,14,-22,79,12,78","w":280},"&":{"d":"86,-175v-3,-18,-23,-55,-27,-70v0,-9,5,-13,13,-13v12,0,24,14,34,41v11,29,17,69,21,119v35,-8,46,-22,69,-50v8,-10,25,-12,25,5v-9,35,-56,67,-93,75v-1,37,-2,72,-23,76v-30,-2,-4,-48,-8,-72v-45,5,-83,-15,-83,-56v0,-38,32,-65,72,-55xm44,-126v0,25,26,40,54,34v-1,-34,-2,-58,-29,-60v-15,0,-25,11,-25,26","w":216},"'":{"d":"37,-248v18,0,18,24,18,53v0,30,2,46,-17,50v-25,-5,-8,-58,-15,-86v0,-11,5,-17,14,-17","w":77},"(":{"d":"70,19v-65,-30,-68,-148,-33,-211v17,-30,34,-59,60,-68v18,0,18,16,8,26v-32,34,-57,80,-57,138v0,40,23,73,38,102v0,9,-5,13,-16,13","w":109},")":{"d":"18,1v21,-53,41,-133,17,-195v-6,-15,-17,-38,-17,-54v0,-18,21,-18,30,-3v37,62,39,191,-1,256v-6,12,-30,14,-29,-4","w":97},"*":{"d":"133,-212v18,-5,38,29,9,26v-15,-2,-28,3,-44,10v8,18,33,23,39,41v-1,7,-8,14,-17,13v-9,0,-24,-13,-44,-39v-24,9,-34,35,-55,46v-8,0,-12,-5,-12,-15v4,-21,28,-35,48,-46v-30,-16,-45,-29,-45,-40v0,-8,4,-13,13,-13v12,0,28,24,35,26v0,-14,-7,-37,-9,-46v0,-6,3,-9,10,-9v18,0,26,20,26,60v19,-9,35,-14,46,-14","w":154},"+":{"d":"118,-125v40,8,57,1,66,23v-3,25,-53,3,-69,4v-3,32,-5,49,-6,54v-2,22,-31,25,-28,0r6,-59v-23,-4,-66,6,-70,-16v5,-24,45,-11,73,-10v2,-26,0,-26,3,-52v1,-11,6,-17,14,-17v25,3,9,50,11,73"},",":{"d":"50,-80v52,0,40,100,2,106v-32,-8,13,-36,5,-61v-17,8,-34,1,-34,-21v0,-16,9,-24,27,-24","w":107},"-":{"d":"6,-130v4,-20,26,-21,63,-21v35,0,38,35,9,35v-25,-7,-69,17,-72,-14","w":104},"\u2010":{"d":"6,-130v4,-20,26,-21,63,-21v35,0,38,35,9,35v-25,-7,-69,17,-72,-14","w":104},".":{"d":"26,-44v0,-14,13,-26,28,-26v18,0,27,8,27,25v0,18,-11,28,-29,28v-16,1,-26,-12,-26,-27","w":107},"\/":{"d":"38,3v-3,24,-36,20,-34,-1v7,-80,53,-213,84,-267v11,-19,33,-25,39,-4v-39,76,-77,172,-89,272","w":133},"0":{"d":"117,-233v57,0,88,43,88,103v0,71,-34,127,-99,128v-60,1,-97,-42,-97,-104v0,-70,43,-127,108,-127xm106,-32v76,2,91,-172,8,-172v-45,0,-70,46,-70,96v0,42,21,76,62,76","w":216},"1":{"d":"95,-30v24,5,60,-22,61,12v0,15,-20,22,-60,22v-57,0,-86,-10,-86,-29v0,-25,33,-8,49,-7v19,-68,30,-124,30,-171v-29,14,-51,20,-63,20v-14,0,-16,-23,-6,-29v15,-8,58,-22,83,-29v14,0,22,12,22,37v0,39,-10,97,-30,174","w":165},"2":{"d":"17,-200v9,-24,48,-43,79,-43v37,0,55,24,55,73v0,53,-31,101,-93,142v43,10,71,-14,106,-25v9,0,13,5,13,15v-7,34,-66,44,-116,44v-50,0,-78,-16,-52,-37v47,-38,104,-64,106,-136v0,-27,-10,-42,-30,-44v-25,17,-42,25,-53,25v-10,0,-15,-5,-15,-14","w":180},"3":{"d":"83,-242v57,-3,84,71,36,100v69,40,35,146,-56,146v-43,0,-65,-11,-65,-33v0,-11,8,-21,19,-20v11,0,17,5,17,16v37,18,86,1,86,-43v0,-32,-26,-54,-59,-54v-24,1,-25,-32,-4,-33v4,0,14,3,29,7v15,0,23,-10,23,-29v0,-34,-41,-30,-63,-21v-9,0,-13,-6,-13,-16v0,-16,27,-19,50,-20","w":165},"4":{"d":"126,-114v18,-4,46,-15,45,14v-7,15,-24,16,-51,20v-8,31,-4,67,-13,93v-11,12,-34,6,-30,-18v0,-4,3,-29,9,-75v-53,-4,-79,-16,-79,-38v1,-38,34,-128,70,-128v10,0,15,4,15,11v-17,33,-48,67,-48,114v14,7,28,10,48,10v15,-61,26,-98,35,-111v7,-11,33,-3,33,10v-5,21,-28,75,-34,98","w":176},"5":{"d":"150,-220v-11,37,-59,-1,-90,4v-6,12,-8,25,-8,39v68,-19,113,30,113,95v0,55,-41,94,-94,94v-35,1,-69,-19,-69,-52v0,-10,8,-18,17,-18v15,9,25,42,51,38v36,1,60,-23,60,-59v0,-35,-24,-69,-55,-71v-13,-1,-36,11,-45,11v-9,0,-14,-4,-14,-14v0,-41,-4,-98,44,-98v30,0,81,7,90,31","w":178},"6":{"d":"52,-121v42,-44,113,-1,113,61v0,46,-29,78,-73,78v-58,0,-77,-53,-77,-120v-1,-82,24,-152,92,-159v32,-3,80,49,32,58v-13,-5,-24,-28,-37,-26v-39,7,-47,56,-50,108xm95,-13v21,0,34,-17,34,-40v0,-55,-76,-79,-76,-15v0,28,16,55,42,55","w":174},"7":{"d":"2,-201v0,-37,46,-36,87,-36v81,0,113,4,96,52v-24,67,-67,140,-118,183v-13,10,-21,15,-27,15v-26,-8,-15,-23,7,-45v38,-36,87,-97,103,-162v-33,-12,-71,-12,-110,-6v1,19,-5,33,-21,32v-11,0,-17,-12,-17,-33","w":190},"8":{"d":"96,-242v70,-9,113,90,47,119v68,36,19,137,-56,127v-75,10,-108,-98,-43,-128v-52,-39,-15,-124,52,-118xm97,-135v24,1,43,-12,42,-34v0,-25,-18,-43,-43,-43v-24,0,-40,15,-40,38v0,23,18,39,41,39xm88,-27v29,0,49,-15,49,-42v0,-24,-19,-40,-45,-40v-27,0,-47,15,-47,42v0,25,18,40,43,40","w":190},"9":{"d":"91,-243v54,0,84,40,84,96v0,62,-31,115,-92,159v-15,10,-27,15,-37,15v-17,1,-23,-18,-10,-26v40,-28,83,-54,95,-104v-45,41,-121,2,-121,-58v0,-45,37,-83,81,-82xm90,-115v24,1,47,-24,47,-48v0,-28,-19,-49,-47,-48v-26,1,-43,23,-44,49v-1,25,22,47,44,47","w":188},":":{"d":"46,-188v15,0,27,11,26,26v0,14,-13,25,-27,25v-16,0,-27,-12,-27,-27v0,-14,13,-24,28,-24xm51,-77v18,0,30,10,30,27v0,14,-15,26,-29,26v-16,0,-28,-12,-28,-28v-1,-15,12,-25,27,-25","w":107},";":{"d":"53,-170v16,0,28,11,28,25v1,15,-15,25,-31,25v-15,0,-27,-10,-27,-25v0,-15,14,-25,30,-25xm47,-64v26,1,43,19,43,47v0,25,-21,53,-43,54v-18,1,-15,-20,-2,-23v13,-8,17,-17,12,-32v-20,4,-40,-2,-40,-20v0,-15,15,-26,30,-26","w":107},"<":{"d":"36,-116v8,-34,89,-87,119,-97v17,-2,20,20,9,27v-29,20,-60,40,-92,69v26,25,51,43,78,63v16,7,17,32,-3,31v-25,-2,-123,-87,-111,-93"},"=":{"d":"16,-149v-2,-37,116,-20,149,-20v14,0,22,8,22,16v-3,31,-62,13,-93,13v-20,0,-53,4,-66,4v-8,0,-12,-4,-12,-13xm158,-61v-23,0,-84,-12,-118,-12v-14,0,-20,-5,-20,-15v0,-10,8,-16,25,-16v39,0,74,3,104,9v18,4,27,10,27,20v0,9,-7,14,-18,14"},">":{"d":"36,-179v-20,-8,-19,-31,1,-34v43,11,78,31,109,53v18,13,26,24,26,33v-8,37,-87,103,-133,111v-14,-1,-20,-22,-5,-29v40,-19,70,-41,101,-78v-26,-23,-63,-42,-99,-56"},"?":{"d":"64,-245v65,0,91,69,44,107v-20,16,-35,25,-39,62v-2,13,-8,19,-18,19v-25,-2,-15,-39,-7,-57v13,-30,53,-38,55,-72v1,-19,-18,-32,-38,-31v-11,-3,-34,18,-41,18v-8,1,-15,-8,-14,-16v2,-20,33,-30,58,-30xm55,-42v15,0,24,8,24,23v0,15,-10,23,-24,23v-14,0,-24,-8,-24,-22v-1,-13,11,-25,24,-24","w":140},"@":{"d":"178,-270v93,0,162,40,163,125v0,62,-27,110,-84,111v-22,0,-38,-8,-49,-25v-34,45,-108,17,-99,-46v-6,-63,60,-111,111,-74v5,-13,28,-13,28,1v-8,25,-18,57,-17,87v0,21,6,30,27,29v39,-1,56,-35,55,-79v-2,-69,-57,-103,-133,-103v-83,0,-134,47,-134,129v0,121,141,157,238,107v6,0,11,6,11,13v-10,27,-68,37,-113,37v-102,1,-164,-57,-164,-157v0,-97,61,-155,160,-155xm213,-155v-31,-34,-76,5,-76,50v0,54,50,56,66,19v1,-25,4,-47,10,-69","w":360},"A":{"d":"281,-46v4,10,30,51,34,68v-4,27,-30,19,-42,-4v-6,-12,-18,-32,-33,-64v-45,-1,-96,-11,-152,-31v-45,47,-76,70,-92,70v-17,0,-21,-21,-4,-32v23,-14,42,-34,61,-53v-20,-8,-30,-16,-30,-24v-1,-11,7,-18,16,-18v8,0,36,15,38,15v57,-80,77,-102,85,-165v11,-21,37,-8,34,14v11,64,33,108,68,189v18,-1,42,-5,42,16v0,14,-9,20,-25,19xm223,-81v-19,-41,-35,-84,-49,-130v-17,38,-38,73,-63,105v36,13,74,22,112,25","w":322},"B":{"d":"176,-150v35,10,60,40,60,82v0,74,-90,122,-171,93v-2,11,-9,17,-18,17v-17,-1,-19,-16,-19,-37v0,-21,6,-182,18,-246v4,-20,37,-18,34,8v-6,40,-15,159,-15,222v60,22,131,4,133,-57v1,-42,-37,-59,-92,-55v-19,1,-21,-25,-7,-29v35,-4,67,-14,66,-55v-1,-39,-37,-55,-82,-55v-30,0,-63,19,-90,24v-9,2,-15,-7,-15,-15v43,-65,224,-62,224,42v0,24,-8,45,-26,61","w":251},"C":{"d":"163,-243v-69,3,-108,55,-107,129v0,80,34,120,104,120v50,1,79,-17,97,-44v10,-14,33,-4,30,11v-8,42,-72,70,-127,69v-91,-2,-141,-61,-141,-155v0,-93,56,-166,145,-165v45,0,94,15,107,51v1,9,-9,18,-18,18v-27,-13,-60,-35,-90,-34","w":303},"D":{"d":"67,-272v129,-26,246,18,246,145v0,119,-98,173,-246,160v-3,20,-31,19,-34,2v13,-67,17,-188,4,-266v-20,-2,-22,-27,-4,-34v-3,-11,2,-21,16,-20v10,0,16,4,18,13xm74,-1v116,6,202,-18,202,-124v0,-104,-98,-136,-204,-113v10,78,13,160,2,237","w":323},"E":{"d":"237,-32v7,0,17,7,15,15v-6,29,-73,43,-117,46v-19,2,-47,3,-84,3v-24,0,-44,-1,-44,-17v0,-16,15,-19,33,-17v8,-36,9,-152,7,-245v-16,1,-38,3,-36,-15v2,-18,16,-19,40,-19v61,0,110,5,146,16v24,7,36,16,36,26v1,8,-7,16,-15,16v-43,-15,-58,-17,-135,-22v0,21,-1,55,-1,101v31,2,59,0,89,-1v13,0,19,5,19,16v0,31,-68,15,-109,17v-1,54,-3,91,-6,110v77,2,115,-10,162,-30","w":257},"F":{"d":"180,-138v-4,25,-60,19,-103,20v-1,58,-3,96,-6,115v-4,25,-11,38,-21,38v-27,0,-12,-37,-12,-57v0,-58,6,-167,-3,-210v-26,5,-47,10,-49,-14v-2,-33,165,-22,206,-16v30,5,37,39,4,37v-21,-2,-92,-11,-127,-10v4,20,7,46,8,82v33,10,98,-22,103,15"},"G":{"d":"201,-144v40,0,91,13,98,40v-1,26,-34,15,-46,5v-4,41,-2,86,6,120v0,8,-7,16,-17,15v-13,0,-21,-18,-24,-54v-19,38,-50,57,-91,57v-77,-1,-117,-62,-117,-144v0,-105,58,-170,160,-170v37,0,91,12,95,38v1,8,-8,18,-16,17v-27,-9,-46,-20,-78,-20v-83,0,-124,50,-124,134v0,64,25,111,83,111v60,0,77,-48,90,-110v-27,-9,-54,1,-76,5v-8,1,-15,-9,-15,-17v5,-23,39,-26,72,-27","w":300},"H":{"d":"82,-259r-8,113r165,-2v1,-61,2,-100,3,-114v1,-17,7,-25,19,-25v12,0,18,8,18,24r-4,155r1,114v0,17,-6,26,-19,26v-27,0,-19,-31,-19,-65r0,-78r-166,-1r-2,117v1,21,-1,33,-18,33v-17,0,-19,-12,-19,-31v0,-23,0,-63,2,-122v-17,-6,-16,-27,1,-31v2,-33,6,-70,8,-112v1,-27,39,-31,38,-1","w":309},"I":{"d":"91,10v12,-2,49,-25,49,4v0,44,-118,42,-129,8v-1,-27,29,-17,45,-12v11,-102,11,-174,-13,-255v-16,5,-43,16,-43,-9v0,-17,18,-26,54,-26v37,0,72,8,76,35v-2,27,-36,4,-49,3v22,83,22,151,10,252","w":142},"J":{"d":"38,-259v6,-21,46,-24,79,-24v32,0,62,6,91,12v27,6,25,36,1,38r-24,-6v31,124,22,272,-104,274v-55,0,-82,-39,-82,-95v0,-22,7,-33,20,-33v18,1,17,18,17,38v0,37,16,55,48,55v100,0,86,-155,63,-244v-32,-11,-64,4,-92,4v-11,0,-17,-6,-17,-19","w":221},"K":{"d":"144,-137v60,36,124,97,148,165v1,16,-24,23,-32,11v-37,-54,-92,-131,-149,-153r-33,21v-4,51,-9,87,-15,108v-7,24,-16,36,-28,36v-23,-2,-12,-30,-8,-47v20,-75,8,-190,8,-269v0,-13,6,-19,18,-19v12,0,20,11,23,35v1,11,2,49,3,115v66,-44,110,-88,152,-141v10,-12,32,-12,32,6v0,24,-40,69,-119,132","w":294},"L":{"d":"132,-248v-3,30,-33,10,-51,6v-12,93,-16,140,-4,244v55,7,100,9,135,-11v14,-9,3,-66,30,-66v12,0,18,8,18,25v0,65,-38,91,-111,89v-64,-2,-108,-2,-144,-17v-11,-9,-6,-29,13,-27v6,0,14,1,23,3v-10,-91,-7,-151,3,-240v-14,3,-27,0,-26,-15v1,-19,18,-21,41,-21v34,0,69,5,73,30","w":261},"M":{"d":"56,30v-26,-7,-21,-28,-21,-73v0,-96,7,-173,30,-233v12,-19,27,-11,43,5v45,47,68,80,92,141v21,-51,42,-95,67,-125v26,-32,39,-51,62,-35v25,55,14,223,14,311v0,30,-40,35,-37,6v8,-87,12,-177,-3,-269v-34,30,-67,106,-87,169v-5,16,-26,18,-34,3v-16,-62,-44,-119,-92,-169v-18,53,-21,160,-17,243v0,18,-5,26,-17,26","w":383},"N":{"d":"43,38v-18,0,-20,-20,-20,-48v0,-71,12,-188,37,-258v6,-16,27,-23,35,-5v41,95,92,188,143,249v0,-90,4,-180,25,-250v6,-19,34,-13,31,10v-11,83,-26,191,-18,277v3,31,-30,29,-45,12v-58,-65,-106,-150,-148,-239v-16,45,-21,162,-24,235v0,11,-7,17,-16,17","w":315},"O":{"d":"156,-281v97,0,150,67,150,168v0,97,-56,158,-151,158v-86,0,-141,-67,-141,-156v0,-97,49,-170,142,-170xm159,10v70,0,110,-50,110,-122v0,-81,-36,-133,-112,-133v-74,1,-105,52,-105,131v0,70,40,124,107,124","w":321},"P":{"d":"-10,-232v39,-90,254,-86,254,38v0,60,-36,106,-92,106v-25,0,-57,-9,-57,-29v0,-33,36,-6,57,-6v34,1,56,-32,55,-68v0,-54,-57,-78,-118,-65v5,104,6,197,-12,279v-2,10,-8,15,-16,15v-12,0,-19,-8,-19,-25v9,-30,20,-198,11,-259v-16,7,-52,56,-63,14","w":252},"Q":{"d":"314,18v7,-26,36,-18,36,5v0,22,-26,36,-76,38v-51,2,-86,-32,-144,-39v-20,-3,-58,8,-70,9v-22,2,-22,-29,-2,-34v22,-6,88,-17,113,-27v56,-23,85,-59,85,-114v0,-54,-43,-100,-95,-100v-72,0,-115,42,-114,115v0,38,15,62,52,65v12,1,18,9,18,18v0,12,-9,18,-26,18v-51,0,-79,-41,-79,-97v0,-93,59,-154,149,-154v81,0,133,59,132,137v0,69,-37,117,-109,143v58,23,83,33,130,17","w":314},"R":{"d":"280,6v8,-14,36,-27,36,0v0,45,-83,44,-106,16v-40,-49,-70,-80,-107,-90v-18,-12,-8,-32,19,-32v39,0,68,-35,68,-78v0,-49,-32,-72,-94,-71v-19,79,-27,168,-21,261v0,16,-6,24,-17,24v-25,-6,-21,-29,-21,-71v0,-85,7,-155,22,-211v-43,7,-67,11,-72,11v-17,0,-25,-6,-25,-18v0,-17,19,-18,38,-18v8,0,78,-12,97,-12v87,0,130,34,130,103v-1,50,-31,87,-69,105v28,21,55,50,80,76v5,6,32,12,42,5","w":263},"S":{"d":"78,-78v-115,-33,-61,-202,51,-202v19,0,38,6,55,17v4,-26,38,-26,36,5v-8,24,7,73,-21,73v-16,0,-20,-19,-20,-43v-52,-40,-128,-5,-128,61v0,92,139,40,139,143v0,60,-88,81,-131,49v-1,22,7,54,-17,54v-21,0,-18,-27,-18,-49v2,-51,-6,-78,21,-88v20,-3,17,27,21,40v5,15,15,23,35,23v50,0,66,-31,41,-56v-11,-11,-44,-21,-64,-27","w":224},"T":{"d":"261,-210v-32,-12,-46,-15,-109,-19v1,54,2,94,2,119v-2,59,2,110,-9,150v-9,14,-33,9,-32,-15r6,-139v0,-17,-1,-55,-2,-115v-43,0,-74,5,-92,15v-2,24,-9,35,-21,35v-10,0,-15,-7,-15,-22v4,-69,63,-64,139,-64v99,0,149,13,149,37v0,8,-8,18,-16,18","w":263},"U":{"d":"206,-264v4,-31,94,-35,94,2v0,16,-13,19,-28,13v22,147,-1,299,-139,300v-71,1,-106,-44,-106,-115v0,-63,18,-122,53,-178v-13,2,-26,2,-26,-13v0,-18,19,-27,57,-27v21,-1,52,12,52,31v0,25,-30,14,-42,5v-39,57,-59,117,-59,181v0,54,23,82,69,82v75,0,113,-56,113,-168v0,-39,-2,-71,-7,-98v-15,8,-33,0,-31,-15","w":308},"V":{"d":"169,-256v4,-23,29,-23,71,-23v31,0,47,7,47,21v0,22,-23,18,-40,14v-29,107,-61,199,-107,271v-21,33,-50,12,-52,-26v-28,-107,-43,-178,-79,-243v-15,3,-32,1,-32,-14v8,-30,66,-16,104,-18v16,0,25,5,25,17v-1,22,-29,19,-56,16v21,45,46,123,72,235v39,-75,68,-154,87,-236v-22,2,-39,3,-40,-14","w":261},"W":{"d":"260,-280v3,-29,101,-27,101,7v-1,15,-20,22,-32,12v-8,133,-26,229,-55,290v-8,16,-16,24,-26,24v-29,0,-51,-58,-65,-172v-19,55,-35,95,-46,117v-35,71,-73,24,-91,-30v-16,-49,-27,-132,-26,-229v-16,5,-34,5,-34,-16v0,-14,18,-21,56,-21v25,1,56,5,58,23v3,28,-30,17,-45,13v-5,102,9,195,43,258v25,-31,65,-154,81,-231v3,-7,8,-11,14,-11v25,1,20,36,19,66v0,71,12,134,35,187v25,-63,40,-154,47,-272v-15,4,-35,5,-34,-15","w":343},"X":{"d":"231,-288v7,-16,34,-10,32,10v-4,54,-50,117,-95,142v38,53,75,105,85,166v3,18,-23,24,-31,11v-19,-57,-42,-105,-88,-163v-42,30,-89,93,-105,158v-10,10,-31,5,-30,-15v3,-46,71,-142,113,-170v-33,-37,-74,-76,-112,-110v-12,-11,-6,-28,9,-28v49,21,91,73,139,124v49,-36,73,-68,83,-125","w":265},"Y":{"d":"92,-93v-30,-23,-96,-133,-96,-176v0,-21,27,-26,32,-11v20,60,40,112,81,153v48,-37,88,-92,120,-152v10,-18,33,-4,32,10v-20,61,-86,134,-134,169r0,88v-2,36,3,57,-20,62v-28,-4,-15,-66,-15,-98r0,-45","w":244},"Z":{"d":"305,-66v13,-16,32,-6,33,9v-27,57,-114,97,-198,97v-52,1,-112,-14,-123,-51v5,-23,39,-42,56,-57v74,-64,125,-114,151,-153v-45,-26,-148,-20,-206,-6v-23,-4,-21,-29,6,-35v34,-7,67,-14,100,-14v62,0,129,10,140,50v0,15,-17,40,-50,76v-36,38,-87,85,-153,138v69,38,184,9,224,-33","w":328},"[":{"d":"51,-253v2,-6,100,-21,100,8v0,19,-49,14,-73,15v-13,68,-19,180,-6,242v22,10,74,-11,74,18v0,32,-105,11,-102,2v-21,-73,-13,-222,7,-285","w":162},"\\":{"d":"107,9v-17,-74,-72,-201,-101,-277v2,-21,26,-17,33,0v34,74,88,190,98,269v3,22,-26,25,-30,8","w":143},"]":{"d":"42,-257v101,-13,85,-1,85,83v0,83,-5,149,-17,197v-4,16,-12,23,-25,23v-12,0,-68,-19,-72,-35v2,-37,46,4,65,1v16,-86,22,-156,13,-243v-27,2,-43,4,-47,4v-16,0,-24,-5,-24,-15v0,-12,8,-14,22,-15","w":154},"^":{"d":"25,-104v-4,-10,78,-91,87,-84v8,0,27,15,56,46v15,16,23,28,23,34v1,5,-8,11,-13,10v-18,-10,-51,-50,-67,-60v-19,9,-55,54,-76,62v-4,1,-11,-4,-10,-8","w":216},"_":{"d":"109,45r64,-2v11,0,17,4,17,12v0,8,-7,15,-22,15v-36,0,-179,14,-183,-15v1,-12,10,-14,26,-13","w":180},"`":{"d":"37,-308v1,-12,17,-17,28,-6v18,16,46,27,56,50v-1,12,-12,11,-22,4v-19,-15,-52,-26,-62,-48","w":180},"a":{"d":"35,-193v1,-18,31,-29,54,-29v92,0,96,131,70,216v-5,18,-11,27,-20,27v-11,1,-17,-11,-14,-22v-50,27,-110,-4,-110,-63v0,-67,81,-100,126,-56v1,-69,-49,-82,-91,-57v-8,0,-15,-8,-15,-16xm95,-21v26,0,43,-17,43,-44v0,-30,-14,-45,-42,-45v-31,0,-46,14,-46,44v0,30,15,45,45,45"},"b":{"d":"60,-194v64,-50,148,-5,148,82v0,86,-80,147,-149,99v9,35,-35,45,-35,11v2,-87,9,-197,-6,-268v0,-7,8,-15,16,-14v30,10,20,37,26,90xm61,-63v30,69,112,23,112,-48v0,-40,-19,-73,-57,-73v-25,0,-43,9,-55,28r0,93","w":219},"c":{"d":"177,-78v8,-15,31,-9,31,6v0,26,-57,67,-106,67v-58,0,-91,-44,-91,-105v0,-78,35,-134,107,-135v41,-1,80,19,83,53v1,17,-19,24,-28,13v-7,-20,-21,-35,-55,-34v-52,2,-69,43,-72,100v-6,94,102,94,131,35","w":216},"d":{"d":"171,-209v4,-51,-6,-68,23,-76v10,0,14,6,14,19v0,70,-8,160,-7,242v0,17,-6,26,-17,26v-16,0,-20,-22,-17,-40v-51,59,-157,36,-157,-56v0,-90,76,-152,161,-115xm46,-97v-8,69,88,78,108,27v2,-5,8,-8,13,-9v0,-33,0,-65,2,-96v-59,-38,-130,5,-123,78","w":232},"e":{"d":"113,-233v46,0,80,36,80,83v0,46,-80,45,-116,45v-9,0,-19,-1,-31,-2v0,44,17,67,51,67v27,0,32,-23,56,-32v10,-1,19,9,18,19v-11,30,-48,45,-76,45v-56,0,-84,-32,-84,-97v0,-64,43,-128,102,-128xm158,-148v3,-50,-51,-69,-82,-37v-12,11,-21,27,-27,47v39,5,65,0,109,-10","w":201},"f":{"d":"121,-264v32,0,69,9,73,32v-5,38,-44,-4,-71,0v-52,-2,-49,59,-50,109v32,3,53,6,63,8v25,4,27,26,9,33r-72,-10v-2,53,-4,86,-6,98v-3,21,-9,31,-20,31v-26,1,-15,-35,-13,-55v2,-25,4,-51,4,-76v-23,-1,-35,1,-37,-17v-2,-18,21,-15,37,-14v-3,-75,16,-139,83,-139","w":176},"g":{"d":"43,-106v-61,-44,-8,-155,72,-134v4,-13,83,-13,77,6v1,19,-23,12,-39,12v52,54,4,148,-83,125v-10,8,-18,17,-24,27v62,-11,118,-2,117,46v-1,47,-48,64,-103,64v-32,0,-63,-12,-65,-39v0,-8,7,-16,17,-15v18,6,20,23,50,22v33,-1,63,-6,65,-30v2,-26,-71,-17,-100,-15v-11,0,-17,-4,-17,-12v0,-11,11,-30,33,-57xm95,-125v29,0,46,-17,46,-45v0,-25,-17,-43,-42,-43v-28,0,-49,21,-48,51v0,24,15,37,44,37","w":189},"h":{"d":"120,-192v-37,2,-58,21,-58,69v0,45,2,86,6,127v2,19,-21,22,-29,11v-21,-77,-13,-201,7,-287v7,-14,32,-5,29,10r-9,59v66,-49,136,-11,136,103v0,34,-4,60,-10,80v-8,25,-18,36,-36,24v-4,-3,-6,-7,-6,-11v14,-37,42,-189,-30,-185","w":226},"i":{"d":"53,-290v14,0,22,10,22,24v0,17,-9,24,-25,24v-13,0,-23,-12,-23,-23v0,-14,12,-25,26,-25xm32,-127v0,-37,-13,-88,19,-91v11,0,16,5,16,18v-1,88,2,138,-14,185v-5,16,-33,8,-32,-7v7,-27,11,-67,11,-105","w":100},"j":{"d":"13,-268v1,-15,12,-27,27,-27v17,0,25,8,25,24v1,14,-11,26,-26,26v-11,0,-27,-11,-26,-23xm48,-211v29,9,27,45,27,95v0,76,-15,148,-73,154v-19,2,-41,-16,-41,-33v0,-10,7,-17,17,-18v11,-1,15,19,23,18v49,-20,31,-136,31,-198v0,-12,6,-18,16,-18","w":104},"k":{"d":"193,-41v1,15,-19,26,-28,10v-19,-33,-57,-89,-95,-119v-19,-26,21,-36,37,-43v10,-4,56,-34,74,-37v27,7,19,27,-6,39r-67,32v37,39,73,73,85,118xm30,-38v5,-82,-23,-196,27,-228v31,3,11,36,7,58v-7,46,1,100,1,149v0,26,-2,41,-21,44v-12,-1,-15,-7,-14,-23","w":205},"l":{"d":"68,-240v-5,80,2,159,2,238v0,16,-2,24,-15,24v-11,0,-18,-9,-20,-27v-6,-40,-2,-201,-2,-234v0,-31,36,-30,35,-1","w":96},"m":{"d":"45,18v-22,-6,-20,-33,-20,-75v0,-59,4,-128,20,-174v5,-15,36,-11,32,9r-8,40v16,-26,61,-31,79,-3v41,-64,122,-46,122,63v0,90,-11,134,-32,134v-22,0,-8,-38,-6,-55v6,-47,16,-148,-26,-146v-57,3,-40,102,-39,176v0,12,-5,17,-16,17v-30,0,-17,-110,-16,-150v0,-17,-9,-26,-27,-26v-66,-1,-48,115,-45,174v0,9,-8,16,-18,16","w":293},"n":{"d":"58,-182v45,-69,145,-30,136,62v-3,34,-8,99,-35,109v-40,-7,11,-72,1,-106v0,-46,-15,-69,-43,-69v-35,0,-56,31,-56,68v0,31,29,113,-7,121v-13,0,-17,-4,-17,-16v0,-27,-12,-149,-12,-167v0,-36,7,-53,21,-53v24,1,12,30,12,51","w":214},"o":{"d":"117,-235v58,0,95,47,94,107v0,67,-43,113,-111,113v-60,0,-90,-45,-90,-108v0,-69,40,-112,107,-112xm101,-47v48,0,75,-31,75,-80v-1,-44,-22,-75,-64,-76v-44,0,-67,27,-67,80v0,43,17,75,56,76","w":220},"p":{"d":"59,-193v57,-50,144,-2,144,80v0,77,-78,119,-148,87v-6,44,0,72,-35,62v-3,-3,-5,-8,-5,-12v9,-62,15,-147,10,-221v-2,-30,34,-30,34,-7r0,11xm58,-57v49,26,110,5,110,-56v0,-40,-19,-69,-57,-68v-34,1,-51,9,-51,44v0,27,-1,54,-2,80","w":213},"q":{"d":"192,-7v-5,33,26,70,-9,70v-17,0,-26,-23,-26,-70v0,-12,0,-23,1,-33v-42,57,-146,26,-146,-58v0,-73,47,-130,115,-130v29,-1,68,12,71,34v-7,32,-45,-6,-69,-1v-49,-1,-80,44,-80,95v0,38,18,57,54,57v49,0,65,-63,73,-104v4,-21,38,-21,34,4v-7,40,-20,82,-18,136","w":230},"r":{"d":"116,-204v30,0,55,34,26,45v-5,0,-21,-15,-28,-13v-67,1,-12,145,-65,160v-35,-3,-1,-51,-6,-77v1,-51,-13,-79,-29,-110v-1,-8,11,-16,18,-16v12,0,23,16,31,46v12,-23,30,-35,53,-35","w":160},"s":{"d":"96,-232v28,0,59,18,60,42v0,12,-6,17,-18,17v-18,-4,-21,-27,-44,-27v-21,0,-31,12,-31,36v0,51,72,52,72,105v0,38,-27,64,-66,64v-33,0,-63,-19,-63,-50v0,-14,6,-22,18,-22v10,0,17,8,17,24v15,25,59,18,58,-13v-6,-24,-7,-21,-36,-41v-58,-40,-41,-135,33,-135","w":163},"t":{"d":"88,-162v-18,63,0,140,61,109v9,0,14,6,14,17v0,18,-22,22,-43,24v-65,5,-86,-75,-70,-146v-17,1,-54,16,-55,-8v0,-13,21,-22,64,-26v9,-28,20,-42,33,-42v21,1,14,27,7,40v45,2,68,12,68,30v0,37,-49,-10,-79,2","w":169},"u":{"d":"200,-201v-4,59,-2,142,11,184v-1,10,-8,20,-18,20v-9,0,-17,-15,-23,-43v-52,71,-143,51,-143,-71v0,-38,5,-72,8,-100v3,-30,33,-36,38,-11v-3,60,-31,190,31,190v44,0,59,-40,59,-90v0,-39,2,-65,3,-76v3,-29,36,-34,34,-3","w":232},"v":{"d":"162,-246v42,0,0,93,-2,117v-12,35,-42,117,-71,125v-21,-6,-23,-52,-30,-74v-21,-65,-41,-106,-64,-153v0,-11,5,-16,16,-16v12,0,25,16,39,47v14,29,30,75,48,138v23,-41,39,-112,50,-175v1,-6,7,-9,14,-9","w":192},"w":{"d":"234,-232v34,9,36,64,37,118v0,61,-20,114,-72,114v-27,0,-46,-14,-58,-42v-14,21,-29,32,-46,32v-55,0,-83,-71,-81,-139v2,-65,9,-103,38,-82v17,13,-8,57,-2,85v0,44,13,92,45,96v44,-5,27,-76,27,-117v0,-16,7,-24,20,-24v22,-2,19,30,19,54v-1,62,0,95,36,103v65,-9,23,-139,23,-184v0,-9,4,-14,14,-14","w":284},"x":{"d":"125,-110v7,11,76,48,85,73v0,9,-8,19,-16,19v-8,0,-38,-22,-91,-66v-22,20,-50,58,-76,69v-10,1,-19,-9,-19,-18v6,-22,62,-63,69,-75v-33,-33,-55,-63,-66,-89v-18,-8,-9,-34,8,-33v19,2,19,12,28,29v10,20,27,43,52,67v26,-29,41,-51,54,-86v7,-18,34,-10,34,8v0,21,-21,55,-62,102","w":210},"y":{"d":"76,-90v-30,-41,-61,-84,-71,-130v2,-23,26,-18,34,1v16,36,30,67,52,97v12,-24,25,-87,29,-108v5,-22,34,-20,32,6v-7,79,-57,163,-95,239v-10,20,-33,16,-34,-3v-1,-19,68,-124,53,-102","w":159},"z":{"d":"42,-57v39,22,87,28,134,18v13,0,19,6,19,17v0,14,-20,21,-61,21v-33,0,-69,-9,-108,-27v-9,13,-28,3,-27,-12v21,-57,99,-139,133,-167v-39,-7,-65,-10,-99,-9v-18,0,-27,-5,-27,-16v0,-11,10,-17,29,-17v46,0,145,4,149,38v-2,12,-13,15,-21,21v-33,23,-74,67,-121,133","w":185},"{":{"d":"84,-51v-10,51,10,92,64,80v9,0,13,5,13,14v0,12,-9,19,-30,19v-57,-1,-81,-39,-81,-106v0,-26,-5,-50,-26,-57v-17,-5,-20,-23,-6,-30v35,1,49,-21,46,-64v-3,-54,23,-92,65,-92v25,-6,46,31,15,34v-39,-10,-51,20,-49,62v1,50,-3,64,-35,79v16,15,24,36,24,61","w":172},"|":{"d":"105,-281v0,111,1,222,1,334v0,24,0,36,-17,37v-25,1,-13,-38,-14,-61r-5,-216v0,-12,1,-43,3,-95v0,-15,6,-23,16,-23v14,0,16,9,16,24","w":180},"}":{"d":"50,-286v49,-1,63,39,63,93v0,37,17,58,52,58v11,0,16,6,16,14v1,14,-14,17,-31,16v-33,12,-22,33,-28,81v-7,55,-20,82,-75,83v-28,0,-42,-6,-42,-20v0,-25,30,-12,45,-9v67,0,21,-120,67,-148v-28,-18,-36,-53,-37,-100v0,-30,-23,-44,-51,-33v-8,0,-15,-7,-15,-14v0,-14,12,-21,36,-21","w":188},"~":{"d":"166,-117v19,3,14,-34,31,-35v9,0,13,5,13,16v0,49,-60,59,-97,22v-18,-18,-48,-39,-72,-17v-8,12,-6,37,-23,37v-9,0,-13,-6,-13,-18v2,-52,72,-72,112,-33v12,11,38,30,49,28","w":216},"\u00c4":{"d":"281,-46v4,10,30,51,34,68v-4,27,-30,19,-42,-4v-6,-12,-18,-32,-33,-64v-45,-1,-96,-11,-152,-31v-45,47,-76,70,-92,70v-17,0,-21,-21,-4,-32v23,-14,42,-34,61,-53v-20,-8,-30,-16,-30,-24v-1,-11,7,-18,16,-18v8,0,36,15,38,15v57,-80,77,-102,85,-165v11,-21,37,-8,34,14v11,64,33,108,68,189v18,-1,42,-5,42,16v0,14,-9,20,-25,19xm223,-81v-19,-41,-35,-84,-49,-130v-17,38,-38,73,-63,105v36,13,74,22,112,25xm215,-343v10,0,20,9,20,19v0,13,-8,20,-23,20v-13,0,-19,-6,-19,-16v0,-15,7,-23,22,-23xm124,-316v1,-11,10,-24,23,-23v13,0,20,7,20,20v0,13,-9,19,-26,19v-11,0,-17,-5,-17,-16","w":322},"\u00c5":{"d":"281,-46v4,10,30,51,34,68v-4,27,-30,19,-42,-4v-6,-12,-18,-32,-33,-64v-45,-1,-96,-11,-152,-31v-45,47,-76,70,-92,70v-17,0,-21,-21,-4,-32v23,-14,42,-34,61,-53v-20,-8,-30,-16,-30,-24v-1,-11,7,-18,16,-18v8,0,36,15,38,15v53,-70,81,-121,82,-152v-37,-15,-24,-79,20,-75v46,-5,55,64,17,77v4,37,27,100,68,188v18,-1,42,-5,42,16v0,14,-9,20,-25,19xm177,-283v14,1,25,-11,25,-25v0,-12,-9,-22,-22,-22v-15,0,-23,10,-23,24v0,13,9,22,20,23xm223,-81v-19,-41,-35,-84,-49,-130v-17,38,-38,73,-63,105v36,13,74,22,112,25","w":322},"\u00c7":{"d":"172,83v3,-20,-33,-6,-33,-23v0,-6,2,-13,5,-19v-81,-6,-126,-65,-125,-154v1,-95,50,-165,141,-165v49,0,97,15,111,51v1,9,-9,18,-18,18v-27,-13,-60,-35,-90,-34v-69,3,-108,55,-107,129v0,80,34,120,104,120v50,1,79,-17,97,-44v10,-14,33,-4,30,11v-10,46,-63,67,-122,68r0,12v18,1,33,12,33,30v0,23,-26,37,-52,37v-24,0,-33,-18,-13,-21v18,3,41,0,39,-16","w":303},"\u00c9":{"d":"237,-32v7,0,17,7,15,15v-6,29,-73,43,-117,46v-19,2,-47,3,-84,3v-24,0,-44,-1,-44,-17v0,-16,15,-19,33,-17v8,-36,9,-152,7,-245v-16,1,-38,3,-36,-15v2,-18,16,-19,40,-19v61,0,110,5,146,16v24,7,36,16,36,26v1,8,-7,16,-15,16v-43,-15,-58,-17,-135,-22v0,21,-1,55,-1,101v31,2,59,0,89,-1v13,0,19,5,19,16v0,31,-68,15,-109,17v-1,54,-3,91,-6,110v77,2,115,-10,162,-30xm107,-311v6,-11,33,-44,55,-56v6,0,10,2,10,8v1,10,-52,79,-65,48","w":257},"\u00d1":{"d":"152,-355v14,3,32,31,48,33v12,-18,21,-27,29,-27v5,0,7,3,7,9v1,17,-24,41,-41,40v-10,0,-27,-11,-48,-33v-9,18,-17,27,-24,27v-5,0,-8,-4,-8,-10v1,-14,25,-42,37,-39xm43,38v-18,0,-20,-20,-20,-48v0,-71,12,-188,37,-258v6,-16,27,-23,35,-5v41,95,92,188,143,249v0,-90,4,-180,25,-250v6,-19,34,-13,31,10v-11,83,-26,191,-18,277v3,31,-30,29,-45,12v-58,-65,-106,-150,-148,-239v-16,45,-21,162,-24,235v0,11,-7,17,-16,17","w":315},"\u00d6":{"d":"156,-281v97,0,150,67,150,168v0,97,-56,158,-151,158v-86,0,-141,-67,-141,-156v0,-97,49,-170,142,-170xm159,10v70,0,110,-50,110,-122v0,-81,-36,-133,-112,-133v-74,1,-105,52,-105,131v0,70,40,124,107,124xm198,-343v10,0,20,9,20,19v0,13,-8,20,-23,20v-13,0,-19,-6,-19,-16v0,-15,7,-23,22,-23xm107,-316v1,-11,10,-24,23,-23v13,0,20,7,20,20v0,13,-9,19,-26,19v-11,0,-17,-5,-17,-16","w":321},"\u00dc":{"d":"206,-264v4,-31,94,-35,94,2v0,16,-13,19,-28,13v22,147,-1,299,-139,300v-71,1,-106,-44,-106,-115v0,-63,18,-122,53,-178v-13,2,-26,2,-26,-13v0,-18,19,-27,57,-27v21,-1,52,12,52,31v0,25,-30,14,-42,5v-39,57,-59,117,-59,181v0,54,23,82,69,82v75,0,113,-56,113,-168v0,-39,-2,-71,-7,-98v-15,8,-33,0,-31,-15xm212,-343v10,0,20,9,20,19v0,13,-8,20,-23,20v-13,0,-19,-6,-19,-16v0,-15,7,-23,22,-23xm121,-316v1,-11,10,-24,23,-23v13,0,20,7,20,20v0,13,-9,19,-26,19v-11,0,-17,-5,-17,-16","w":308},"\u00e1":{"d":"35,-193v1,-18,31,-29,54,-29v92,0,96,131,70,216v-5,18,-11,27,-20,27v-11,1,-17,-11,-14,-22v-50,27,-110,-4,-110,-63v0,-67,81,-100,126,-56v1,-69,-49,-82,-91,-57v-8,0,-15,-8,-15,-16xm95,-21v26,0,43,-17,43,-44v0,-30,-14,-45,-42,-45v-31,0,-46,14,-46,44v0,30,15,45,45,45xm77,-265v6,-11,33,-44,55,-56v6,0,10,2,10,8v1,10,-52,79,-65,48"},"\u00e0":{"d":"35,-193v1,-18,31,-29,54,-29v92,0,96,131,70,216v-5,18,-11,27,-20,27v-11,1,-17,-11,-14,-22v-50,27,-110,-4,-110,-63v0,-67,81,-100,126,-56v1,-69,-49,-82,-91,-57v-8,0,-15,-8,-15,-16xm95,-21v26,0,43,-17,43,-44v0,-30,-14,-45,-42,-45v-31,0,-46,14,-46,44v0,30,15,45,45,45xm46,-308v1,-12,17,-17,28,-6v18,16,46,27,56,50v-1,12,-12,11,-22,4v-19,-15,-52,-26,-62,-48"},"\u00e2":{"d":"102,-322v21,6,48,39,55,59v0,5,-6,9,-11,9v-15,-4,-35,-39,-46,-44v-8,3,-32,41,-48,42v-7,0,-10,-2,-10,-6v-3,-9,47,-64,60,-60xm35,-193v1,-18,31,-29,54,-29v92,0,96,131,70,216v-5,18,-11,27,-20,27v-11,1,-17,-11,-14,-22v-50,27,-110,-4,-110,-63v0,-67,81,-100,126,-56v1,-69,-49,-82,-91,-57v-8,0,-15,-8,-15,-16xm95,-21v26,0,43,-17,43,-44v0,-30,-14,-45,-42,-45v-31,0,-46,14,-46,44v0,30,15,45,45,45"},"\u00e4":{"d":"35,-193v1,-18,31,-29,54,-29v92,0,96,131,70,216v-5,18,-11,27,-20,27v-11,1,-17,-11,-14,-22v-50,27,-110,-4,-110,-63v0,-67,81,-100,126,-56v1,-69,-49,-82,-91,-57v-8,0,-15,-8,-15,-16xm95,-21v26,0,43,-17,43,-44v0,-30,-14,-45,-42,-45v-31,0,-46,14,-46,44v0,30,15,45,45,45xm137,-297v10,0,20,9,20,19v0,13,-8,20,-23,20v-13,0,-19,-6,-19,-16v0,-15,7,-23,22,-23xm46,-270v1,-11,10,-24,23,-23v13,0,20,7,20,20v0,13,-9,19,-26,19v-11,0,-17,-5,-17,-16"},"\u00e3":{"d":"75,-309v14,3,32,31,48,33v12,-18,21,-27,29,-27v5,0,7,3,7,9v1,16,-25,41,-41,40v-10,0,-27,-12,-48,-34v-9,18,-17,28,-24,28v-5,0,-8,-4,-8,-10v1,-14,25,-42,37,-39xm35,-193v1,-18,31,-29,54,-29v92,0,96,131,70,216v-5,18,-11,27,-20,27v-11,1,-17,-11,-14,-22v-50,27,-110,-4,-110,-63v0,-67,81,-100,126,-56v1,-69,-49,-82,-91,-57v-8,0,-15,-8,-15,-16xm95,-21v26,0,43,-17,43,-44v0,-30,-14,-45,-42,-45v-31,0,-46,14,-46,44v0,30,15,45,45,45"},"\u00e5":{"d":"90,-330v25,0,42,14,42,39v1,23,-19,43,-42,42v-23,0,-41,-19,-41,-42v0,-23,18,-39,41,-39xm89,-266v13,0,25,-12,24,-25v0,-12,-9,-23,-21,-23v-14,-1,-23,11,-24,24v0,13,9,24,21,24xm35,-193v1,-18,31,-29,54,-29v92,0,96,131,70,216v-5,18,-11,27,-20,27v-11,1,-17,-11,-14,-22v-50,27,-110,-4,-110,-63v0,-67,81,-100,126,-56v1,-69,-49,-82,-91,-57v-8,0,-15,-8,-15,-16xm95,-21v26,0,43,-17,43,-44v0,-30,-14,-45,-42,-45v-31,0,-46,14,-46,44v0,30,15,45,45,45","w":174},"\u00e7":{"d":"131,-51v36,0,56,-27,83,-39v11,0,16,5,16,16v0,28,-56,62,-99,60r0,12v24,1,36,12,36,33v0,21,-17,31,-51,31v-23,0,-30,-18,-12,-21v14,3,41,2,39,-11v4,-21,-32,-7,-32,-25v0,-5,1,-12,5,-20v-61,-4,-102,-46,-102,-110v-1,-76,47,-128,121,-128v30,1,73,10,81,39v-9,40,-52,-10,-80,-4v-54,0,-86,35,-86,90v0,48,31,77,81,77","w":237},"\u00e9":{"d":"113,-233v46,0,80,36,80,83v0,46,-80,45,-116,45v-9,0,-19,-1,-31,-2v0,44,17,67,51,67v27,0,32,-23,56,-32v10,-1,19,9,18,19v-11,30,-48,45,-76,45v-56,0,-84,-32,-84,-97v0,-64,43,-128,102,-128xm158,-148v3,-50,-51,-69,-82,-37v-12,11,-21,27,-27,47v39,5,65,0,109,-10xm94,-265v6,-11,33,-44,55,-56v6,0,10,2,10,8v1,10,-52,79,-65,48","w":201},"\u00e8":{"d":"113,-233v46,0,80,36,80,83v0,46,-80,45,-116,45v-9,0,-19,-1,-31,-2v0,44,17,67,51,67v27,0,32,-23,56,-32v10,-1,19,9,18,19v-11,30,-48,45,-76,45v-56,0,-84,-32,-84,-97v0,-64,43,-128,102,-128xm158,-148v3,-50,-51,-69,-82,-37v-12,11,-21,27,-27,47v39,5,65,0,109,-10xm63,-308v1,-12,17,-17,28,-6v18,16,46,27,56,50v-1,12,-12,11,-22,4v-19,-15,-52,-26,-62,-48","w":201},"\u00ea":{"d":"59,-262v-3,-8,48,-64,61,-60v21,6,48,39,55,59v-18,28,-44,-30,-57,-35v-10,2,-39,59,-59,36xm113,-233v46,0,80,36,80,83v0,46,-80,45,-116,45v-9,0,-19,-1,-31,-2v0,44,17,67,51,67v27,0,32,-23,56,-32v10,-1,19,9,18,19v-11,30,-48,45,-76,45v-56,0,-84,-32,-84,-97v0,-64,43,-128,102,-128xm158,-148v3,-50,-51,-69,-82,-37v-12,11,-21,27,-27,47v39,5,65,0,109,-10","w":201},"\u00eb":{"d":"113,-233v46,0,80,36,80,83v0,46,-80,45,-116,45v-9,0,-19,-1,-31,-2v0,44,17,67,51,67v27,0,32,-23,56,-32v10,-1,19,9,18,19v-11,30,-48,45,-76,45v-56,0,-84,-32,-84,-97v0,-64,43,-128,102,-128xm158,-148v3,-50,-51,-69,-82,-37v-12,11,-21,27,-27,47v39,5,65,0,109,-10xm154,-297v10,0,20,9,20,19v0,13,-8,20,-23,20v-13,0,-19,-6,-19,-16v0,-15,7,-23,22,-23xm63,-270v1,-11,10,-24,23,-23v13,0,20,7,20,20v0,13,-9,19,-26,19v-11,0,-17,-5,-17,-16","w":201},"\u00ed":{"d":"65,-13v-28,0,-51,-1,-51,-18v0,-13,13,-19,38,-19v-2,-67,-3,-73,1,-131v-13,0,-20,-6,-20,-17v0,-11,13,-17,39,-17v38,0,45,30,14,34v-4,57,-2,82,2,130v20,0,30,5,30,15v0,15,-17,23,-53,23xm46,-265v6,-11,33,-44,55,-56v6,0,10,2,10,8v1,10,-52,79,-65,48","w":136},"\u00ec":{"d":"65,-13v-28,0,-51,-1,-51,-18v0,-13,13,-19,38,-19v-2,-67,-3,-73,1,-131v-13,0,-20,-6,-20,-17v0,-11,13,-17,39,-17v38,0,45,30,14,34v-4,57,-2,82,2,130v20,0,30,5,30,15v0,15,-17,23,-53,23xm15,-308v1,-12,17,-17,28,-6v18,16,46,27,56,50v-1,12,-12,11,-22,4v-19,-15,-52,-26,-62,-48","w":136},"\u00ee":{"d":"14,-262v-3,-8,48,-64,61,-60v21,6,48,39,55,59v-18,28,-44,-30,-57,-35v-10,2,-39,59,-59,36xm65,-13v-28,0,-51,-1,-51,-18v0,-13,13,-19,38,-19v-2,-67,-3,-73,1,-131v-13,0,-20,-6,-20,-17v0,-11,13,-17,39,-17v38,0,45,30,14,34v-4,57,-2,82,2,130v20,0,30,5,30,15v0,15,-17,23,-53,23","w":136},"\u00ef":{"d":"65,-13v-28,0,-51,-1,-51,-18v0,-13,13,-19,38,-19v-2,-67,-3,-73,1,-131v-13,0,-20,-6,-20,-17v0,-11,13,-17,39,-17v38,0,45,30,14,34v-4,57,-2,82,2,130v20,0,30,5,30,15v0,15,-17,23,-53,23xm106,-297v10,0,20,9,20,19v0,13,-8,20,-23,20v-13,0,-19,-6,-19,-16v0,-15,7,-23,22,-23xm15,-270v1,-11,10,-24,23,-23v13,0,20,7,20,20v0,13,-9,19,-26,19v-11,0,-17,-5,-17,-16","w":136},"\u00f1":{"d":"83,-309v14,4,32,31,48,33v12,-18,21,-27,29,-27v5,0,7,3,7,9v1,17,-25,41,-41,40v-10,0,-26,-12,-47,-34v-9,18,-18,28,-25,28v-5,0,-7,-4,-7,-10v1,-13,25,-42,36,-39xm58,-182v45,-69,145,-30,136,62v-3,34,-8,99,-35,109v-40,-7,11,-72,1,-106v0,-46,-15,-69,-43,-69v-35,0,-56,31,-56,68v0,31,29,113,-7,121v-13,0,-17,-4,-17,-16v0,-27,-12,-149,-12,-167v0,-36,7,-53,21,-53v24,1,12,30,12,51","w":214},"\u00f3":{"d":"117,-235v58,0,95,47,94,107v0,67,-43,113,-111,113v-60,0,-90,-45,-90,-108v0,-69,40,-112,107,-112xm101,-47v48,0,75,-31,75,-80v-1,-44,-22,-75,-64,-76v-44,0,-67,27,-67,80v0,43,17,75,56,76xm91,-265v6,-11,33,-44,55,-56v6,0,10,2,10,8v1,10,-52,79,-65,48","w":220},"\u00f2":{"d":"117,-235v58,0,95,47,94,107v0,67,-43,113,-111,113v-60,0,-90,-45,-90,-108v0,-69,40,-112,107,-112xm101,-47v48,0,75,-31,75,-80v-1,-44,-22,-75,-64,-76v-44,0,-67,27,-67,80v0,43,17,75,56,76xm60,-308v1,-12,17,-17,28,-6v18,16,46,27,56,50v-1,12,-12,11,-22,4v-19,-15,-52,-26,-62,-48","w":220},"\u00f4":{"d":"117,-322v21,6,47,39,54,59v0,5,-6,9,-11,9v-15,-4,-35,-39,-46,-44v-8,3,-32,41,-48,42v-7,0,-10,-2,-10,-6v-3,-9,48,-65,61,-60xm117,-235v58,0,95,47,94,107v0,67,-43,113,-111,113v-60,0,-90,-45,-90,-108v0,-69,40,-112,107,-112xm101,-47v48,0,75,-31,75,-80v-1,-44,-22,-75,-64,-76v-44,0,-67,27,-67,80v0,43,17,75,56,76","w":220},"\u00f6":{"d":"117,-235v58,0,95,47,94,107v0,67,-43,113,-111,113v-60,0,-90,-45,-90,-108v0,-69,40,-112,107,-112xm101,-47v48,0,75,-31,75,-80v-1,-44,-22,-75,-64,-76v-44,0,-67,27,-67,80v0,43,17,75,56,76xm151,-297v10,0,20,9,20,19v0,13,-8,20,-23,20v-13,0,-19,-6,-19,-16v0,-15,7,-23,22,-23xm60,-270v1,-11,10,-24,23,-23v13,0,20,7,20,20v0,13,-9,19,-26,19v-11,0,-17,-5,-17,-16","w":220},"\u00f5":{"d":"89,-309v14,3,32,31,48,33v12,-18,21,-27,29,-27v5,0,7,3,7,9v1,16,-25,41,-41,40v-10,0,-26,-12,-47,-34v-9,18,-18,28,-25,28v-5,0,-8,-4,-8,-10v1,-14,25,-42,37,-39xm117,-235v58,0,95,47,94,107v0,67,-43,113,-111,113v-60,0,-90,-45,-90,-108v0,-69,40,-112,107,-112xm101,-47v48,0,75,-31,75,-80v-1,-44,-22,-75,-64,-76v-44,0,-67,27,-67,80v0,43,17,75,56,76","w":220},"\u00fa":{"d":"200,-201v-4,59,-2,142,11,184v-1,10,-8,20,-18,20v-9,0,-17,-15,-23,-43v-52,71,-143,51,-143,-71v0,-38,5,-72,8,-100v3,-30,33,-36,38,-11v-3,60,-31,190,31,190v44,0,59,-40,59,-90v0,-39,2,-65,3,-76v3,-29,36,-34,34,-3xm100,-265v6,-11,33,-44,55,-56v6,0,10,2,10,8v1,10,-52,79,-65,48","w":232},"\u00f9":{"d":"200,-201v-4,59,-2,142,11,184v-1,10,-8,20,-18,20v-9,0,-17,-15,-23,-43v-52,71,-143,51,-143,-71v0,-38,5,-72,8,-100v3,-30,33,-36,38,-11v-3,60,-31,190,31,190v44,0,59,-40,59,-90v0,-39,2,-65,3,-76v3,-29,36,-34,34,-3xm69,-308v1,-12,17,-17,28,-6v18,16,46,27,56,50v-1,12,-12,11,-22,4v-19,-15,-52,-26,-62,-48","w":232},"\u00fc":{"d":"200,-201v-4,59,-2,142,11,184v-1,10,-8,20,-18,20v-9,0,-17,-15,-23,-43v-52,71,-143,51,-143,-71v0,-38,5,-72,8,-100v3,-30,33,-36,38,-11v-3,60,-31,190,31,190v44,0,59,-40,59,-90v0,-39,2,-65,3,-76v3,-29,36,-34,34,-3xm160,-297v10,0,20,9,20,19v0,13,-8,20,-23,20v-13,0,-19,-6,-19,-16v0,-15,7,-23,22,-23xm69,-270v1,-11,10,-24,23,-23v13,0,20,7,20,20v0,13,-9,19,-26,19v-11,0,-17,-5,-17,-16","w":232},"\u00fb":{"d":"126,-322v21,6,47,39,54,59v0,5,-6,9,-11,9v-15,-4,-35,-39,-46,-44v-8,3,-32,41,-48,42v-7,0,-10,-2,-10,-6v-3,-9,48,-65,61,-60xm200,-201v-4,59,-2,142,11,184v-1,10,-8,20,-18,20v-9,0,-17,-15,-23,-43v-52,71,-143,51,-143,-71v0,-38,5,-72,8,-100v3,-30,33,-36,38,-11v-3,60,-31,190,31,190v44,0,59,-40,59,-90v0,-39,2,-65,3,-76v3,-29,36,-34,34,-3","w":232},"\u00b0":{"d":"68,-258v31,0,53,20,53,50v0,34,-25,57,-58,57v-32,0,-52,-18,-51,-50v0,-32,24,-57,56,-57xm64,-170v21,0,38,-17,38,-38v0,-18,-15,-33,-34,-32v-23,0,-38,15,-37,40v0,19,14,30,33,30","w":133},"\u00a2":{"d":"84,-71v19,4,48,-28,63,-14v11,29,-29,37,-57,43v-3,26,14,74,-13,78v-23,-2,-20,-44,-20,-79v-53,-14,-60,-85,-32,-127v11,-15,27,-25,47,-29v10,-42,3,-57,27,-67v31,2,5,56,5,67v21,6,32,16,32,34v-1,25,-32,16,-37,0v-27,-17,-56,17,-54,49v1,26,14,45,39,45","w":160},"\u00a3":{"d":"124,-249v31,-1,61,15,61,44v0,15,-5,22,-15,22v-25,0,-11,-36,-45,-36v-25,0,-42,23,-48,70v21,5,61,-1,65,19v-2,26,-49,12,-68,9v-3,27,1,56,7,81v68,4,102,13,102,28v0,25,-42,10,-61,8v-31,-3,-63,-7,-98,-8v-14,0,-22,-1,-23,-12v-2,-13,22,-18,45,-17v-7,-29,-2,-59,-8,-83v-15,0,-42,13,-42,-9v0,-18,21,-20,47,-20v10,-64,36,-96,81,-96","w":187},"\u00a7":{"d":"120,-236v0,31,-88,2,-57,54v27,14,77,39,70,70v0,24,-14,39,-41,46v52,33,9,110,-40,111v-11,0,-17,-5,-17,-14v2,-20,50,-24,46,-52v-5,-36,-73,-32,-73,-84v0,-24,11,-42,33,-53v-39,-36,-6,-94,52,-94v18,0,27,5,27,16xm69,-90v33,-2,44,-35,7,-49v-17,-14,-36,11,-36,30v0,13,8,22,23,29v1,-5,3,-8,6,-10","w":140},"\u00b6":{"d":"13,-159v0,-55,41,-94,97,-94v40,0,60,7,60,20v0,54,-27,155,-9,220r7,41v1,23,-22,20,-27,1v-22,-83,-19,-157,1,-255r-23,-3v-10,29,-13,93,-19,137v-42,21,-87,-14,-87,-67","w":187},"\u00df":{"d":"94,-245v62,-8,89,90,25,103v43,11,64,35,64,70v0,67,-90,89,-129,49v1,16,-2,29,-16,28v-23,-7,-18,-31,-19,-71v-1,-96,0,-170,75,-179xm109,-35v46,2,52,-56,11,-73v-16,-7,-35,-9,-37,-29v-1,-25,40,-27,40,-52v0,-15,-12,-26,-28,-25v-54,5,-41,85,-42,158v19,-5,28,27,56,21"},"\u00ae":{"d":"109,-247v63,0,111,45,111,107v0,64,-48,107,-112,107v-89,0,-125,-90,-87,-159v-3,-3,-4,-6,-4,-9v13,-28,54,-46,92,-46xm109,-53v52,0,91,-36,91,-87v0,-80,-107,-115,-157,-64v2,2,3,4,3,8v-36,56,-19,143,63,143xm132,-141v4,10,37,33,37,47v0,7,-3,11,-11,11v-16,-1,-62,-59,-57,-61v3,-13,34,-13,29,-26v-1,-19,-23,-18,-40,-11v-4,23,0,68,0,92v0,9,-4,13,-12,13v-17,-4,-16,-28,-16,-61v2,-58,0,-69,50,-73v42,-3,63,56,20,69","w":228},"\u00a9":{"d":"68,-244v79,-25,153,27,153,106v0,63,-45,108,-108,108v-113,0,-146,-145,-60,-199v1,-6,6,-12,15,-15xm111,-49v54,0,90,-35,90,-88v0,-64,-58,-106,-123,-89v-25,22,-54,46,-54,89v0,53,33,88,87,88xm114,-210v20,0,44,13,44,31v-7,33,-30,-7,-47,-7v-20,0,-36,24,-35,45v2,32,23,43,63,46v8,1,11,5,11,10v0,10,-8,14,-23,14v-39,1,-76,-29,-76,-68v0,-35,29,-71,63,-71","w":228},"\u00b4":{"d":"68,-265v6,-11,33,-44,55,-56v6,0,10,2,10,8v1,10,-52,79,-65,48","w":180},"\u00a8":{"d":"128,-297v10,0,20,9,20,19v0,13,-8,20,-23,20v-13,0,-19,-6,-19,-16v0,-15,7,-23,22,-23xm37,-270v1,-11,10,-24,23,-23v13,0,20,7,20,20v0,13,-9,19,-26,19v-11,0,-17,-5,-17,-16","w":180},"\u00c6":{"d":"338,-162v27,9,21,34,-13,40v-8,2,-39,7,-91,15v9,31,18,64,26,97v51,-7,84,-10,97,-10v39,0,46,35,12,36v-34,1,-69,-1,-101,10v-3,20,-23,28,-32,11r-39,-139v-40,4,-84,7,-130,9v-17,45,-28,85,-37,134v-2,10,-8,15,-17,15v-10,0,-15,-6,-15,-18v0,-107,46,-181,102,-285v-11,-3,-17,-8,-17,-17v-2,-15,23,-22,54,-21v8,-19,30,-21,36,1v54,3,124,4,170,20v16,5,9,40,-9,33r-52,-8v-32,-5,-63,-8,-94,-10v12,33,24,69,36,108v32,-4,89,-16,114,-21xm187,-136v-11,-35,-24,-73,-39,-114r-5,0v-28,51,-49,91,-62,121v38,-2,73,-4,106,-7","w":382},"\u00d8":{"d":"267,-261v9,-13,30,-14,30,2v0,9,-9,24,-29,46v22,24,33,55,33,93v0,128,-152,191,-243,113v-20,16,-35,25,-45,25v-20,0,-19,-18,-5,-28r29,-21v-67,-102,13,-227,128,-227v29,0,56,7,81,23xm224,-205v-68,-49,-174,2,-174,92v0,24,6,43,17,59v56,-47,109,-97,157,-151xm149,-8v101,0,141,-98,96,-176v-47,53,-100,104,-159,155v13,14,34,21,63,21","w":310},"\u00b1":{"d":"17,-138v3,-26,46,-7,72,-11v4,-20,-9,-52,13,-54v18,-1,15,35,13,55v26,1,23,0,46,0v13,0,20,5,20,15v-1,24,-44,11,-68,14v-6,30,-2,44,-20,50v-9,0,-13,-5,-13,-15v0,0,2,-11,6,-37v-42,-3,-60,4,-69,-17xm36,-62v21,6,79,9,114,9v17,0,25,5,25,14v0,19,-19,15,-48,15v-36,0,-66,-4,-89,-7v-24,-4,-25,-31,-2,-31"},"\u00a5":{"d":"105,-122v33,4,49,-1,54,21v-1,27,-38,11,-57,9v2,32,3,52,3,59v0,36,-33,40,-33,11r0,-73v-22,-6,-62,9,-62,-15v0,-22,31,-18,59,-15v-7,-28,-42,-60,-52,-85v0,-8,8,-16,16,-16v29,10,36,38,57,77v16,-17,26,-79,53,-79v11,0,16,5,16,14v0,12,-18,43,-54,92","w":172},"\u00b5":{"d":"66,-10v-7,17,23,93,-8,93v-10,0,-16,-4,-18,-14v-10,-37,-13,-216,-5,-280v4,-30,36,-36,38,-11v5,64,-38,190,37,190v41,0,53,-42,53,-90v0,-39,2,-65,3,-76v3,-29,36,-34,34,-3v-4,59,-2,142,11,184v-1,10,-8,20,-18,20v-9,0,-17,-15,-23,-43v-25,36,-69,55,-104,30","w":232},"\u03bc":{"d":"66,-10v-7,17,23,93,-8,93v-10,0,-16,-4,-18,-14v-10,-37,-13,-216,-5,-280v4,-30,36,-36,38,-11v5,64,-38,190,37,190v41,0,53,-42,53,-90v0,-39,2,-65,3,-76v3,-29,36,-34,34,-3v-4,59,-2,142,11,184v-1,10,-8,20,-18,20v-9,0,-17,-15,-23,-43v-25,36,-69,55,-104,30","w":232},"\u00aa":{"d":"112,-149v-2,17,17,15,16,29v-2,21,-27,14,-38,0v-23,25,-71,9,-71,-29v0,-36,34,-56,66,-44v11,-39,-41,-31,-60,-20v-6,0,-10,-3,-10,-10v1,-16,27,-25,47,-25v60,0,53,48,50,99xm84,-170v-18,-8,-36,2,-37,20v0,22,30,19,37,4r0,-24xm21,-79v0,-20,113,-20,111,2v-10,25,-67,-2,-100,9v-7,0,-11,-3,-11,-11","w":138},"\u00ba":{"d":"81,-245v40,0,61,31,61,72v0,43,-29,73,-71,73v-39,-1,-61,-28,-61,-70v0,-43,28,-75,71,-75xm73,-129v24,0,39,-16,39,-41v0,-31,-11,-47,-34,-47v-23,0,-38,20,-38,44v0,29,11,44,33,44xm20,-69v5,-16,35,-16,71,-16v37,0,53,16,28,25v-27,-4,-55,1,-82,2v-11,0,-17,-4,-17,-11","w":149},"\u00e6":{"d":"163,-113v-8,71,50,89,108,73v9,0,13,5,13,13v0,18,-17,26,-52,26v-34,0,-59,-11,-77,-33v1,29,-33,37,-31,3v0,-5,1,-8,1,-11v-38,43,-113,16,-113,-44v0,-65,66,-109,121,-73v-14,-63,-68,-30,-105,-9v-7,0,-15,-8,-14,-16v22,-43,116,-64,140,-10v15,-28,41,-42,79,-42v27,0,58,8,61,28v-3,28,-43,4,-61,5v-39,2,-63,24,-67,61v23,6,83,-8,83,17v0,22,-59,17,-86,12xm89,-51v43,0,65,-95,9,-94v-28,0,-51,26,-51,57v0,23,18,37,42,37","w":293},"\u00f8":{"d":"220,-254v0,17,-17,33,-24,48v97,78,-6,253,-125,189v-13,16,-26,46,-46,52v-17,-3,-11,-18,-1,-32r25,-34v-76,-63,-27,-198,78,-198v17,0,32,4,46,11v10,-14,18,-43,35,-48v7,0,12,4,12,12xm90,-43v78,38,150,-74,89,-133v-46,73,-47,72,-89,133xm158,-191v-82,-36,-152,73,-89,133v47,-68,47,-67,89,-133","w":246},"\u00bf":{"d":"74,-257v14,0,23,8,23,22v1,13,-12,25,-25,24v-15,0,-23,-7,-23,-22v-1,-14,12,-24,25,-24xm77,-30v18,5,41,-35,54,-35v9,0,13,5,13,15v-1,24,-40,52,-67,52v-69,0,-97,-111,-39,-147v16,-10,21,-31,30,-51v11,-9,28,-2,28,17v0,46,-55,52,-55,103v0,26,13,45,36,46","w":151},"\u00a1":{"d":"40,-249v11,0,20,7,20,17v0,12,-12,21,-24,21v-11,0,-20,-9,-20,-18v1,-12,10,-21,24,-20xm41,-195v28,10,21,34,21,86v0,47,-5,81,-12,102v-6,19,-38,18,-34,-4v7,-45,11,-107,7,-162v0,-14,6,-22,18,-22","w":90},"\u00ac":{"d":"139,-175v34,0,27,25,29,73v1,32,1,52,-16,57v-31,-2,-7,-72,-15,-100v-36,0,-101,8,-126,12v-17,-7,-12,-27,10,-30r66,-9v22,-2,40,-3,52,-3"},"\u00ab":{"d":"99,-143v-4,-10,65,-56,73,-52v7,0,10,4,10,10v-4,15,-53,39,-55,43v5,12,42,41,46,57v0,8,-3,12,-11,12v-14,-3,-59,-47,-63,-70xm48,-128v7,12,55,41,62,59v0,7,-4,11,-12,11v-9,4,-84,-58,-79,-68v-5,-14,62,-68,73,-65v8,0,11,4,11,11v-7,17,-46,38,-55,52","w":188},"\u00bb":{"d":"106,-205v28,8,82,55,86,78v2,9,-56,81,-67,76v-7,0,-13,-6,-13,-13v8,-17,42,-45,50,-62v-13,-18,-58,-47,-70,-66v0,-5,9,-13,14,-13xm23,-193v15,-3,101,49,93,59v3,13,-53,80,-65,75v-7,0,-11,-4,-11,-11v5,-16,39,-43,44,-60v-17,-15,-44,-29,-67,-40v-12,-6,-10,-24,6,-23","w":201},"\u00a0":{"w":107},"\u00c0":{"d":"281,-46v4,10,30,51,34,68v-4,27,-30,19,-42,-4v-6,-12,-18,-32,-33,-64v-45,-1,-96,-11,-152,-31v-45,47,-76,70,-92,70v-17,0,-21,-21,-4,-32v23,-14,42,-34,61,-53v-20,-8,-30,-16,-30,-24v-1,-11,7,-18,16,-18v8,0,36,15,38,15v57,-80,77,-102,85,-165v11,-21,37,-8,34,14v11,64,33,108,68,189v18,-1,42,-5,42,16v0,14,-9,20,-25,19xm223,-81v-19,-41,-35,-84,-49,-130v-17,38,-38,73,-63,105v36,13,74,22,112,25xm124,-354v1,-12,17,-17,28,-6v18,16,46,27,56,50v-1,12,-12,11,-22,4v-19,-15,-52,-26,-62,-48","w":322},"\u00c3":{"d":"153,-355v14,3,32,31,48,33v12,-18,21,-27,29,-27v5,0,7,3,7,9v1,17,-24,41,-41,40v-10,0,-26,-11,-47,-33v-9,18,-18,27,-25,27v-5,0,-8,-4,-8,-10v1,-14,25,-42,37,-39xm281,-46v4,10,30,51,34,68v-4,27,-30,19,-42,-4v-6,-12,-18,-32,-33,-64v-45,-1,-96,-11,-152,-31v-45,47,-76,70,-92,70v-17,0,-21,-21,-4,-32v23,-14,42,-34,61,-53v-20,-8,-30,-16,-30,-24v-1,-11,7,-18,16,-18v8,0,36,15,38,15v57,-80,77,-102,85,-165v11,-21,37,-8,34,14v11,64,33,108,68,189v18,-1,42,-5,42,16v0,14,-9,20,-25,19xm223,-81v-19,-41,-35,-84,-49,-130v-17,38,-38,73,-63,105v36,13,74,22,112,25","w":322},"\u00d5":{"d":"136,-355v14,4,32,31,48,33v12,-18,21,-27,29,-27v5,0,7,3,7,9v2,17,-24,40,-41,40v-10,0,-26,-11,-47,-33v-9,18,-18,27,-25,27v-5,0,-7,-4,-7,-10v1,-13,25,-42,36,-39xm156,-281v97,0,150,67,150,168v0,97,-56,158,-151,158v-86,0,-141,-67,-141,-156v0,-97,49,-170,142,-170xm159,10v70,0,110,-50,110,-122v0,-81,-36,-133,-112,-133v-74,1,-105,52,-105,131v0,70,40,124,107,124","w":321},"\u00f7":{"d":"89,-207v33,-1,34,48,2,49v-14,0,-24,-12,-24,-27v0,-12,9,-23,22,-22xm10,-122v0,-15,17,-15,41,-15v41,0,72,1,95,1v35,0,41,32,9,31r-123,-2v-15,0,-22,-5,-22,-15xm73,-65v0,-15,9,-26,24,-26v17,0,24,9,24,28v0,15,-11,25,-26,25v-15,0,-22,-9,-22,-27"},"\u00ff":{"d":"76,-90v-30,-41,-61,-84,-71,-130v2,-23,26,-18,34,1v16,36,30,67,52,97v12,-24,25,-87,29,-108v5,-22,34,-20,32,6v-7,79,-57,163,-95,239v-10,20,-33,16,-34,-3v-1,-19,68,-124,53,-102xm118,-297v10,0,20,9,20,19v0,13,-8,20,-23,20v-13,0,-19,-6,-19,-16v0,-15,7,-23,22,-23xm27,-270v1,-11,10,-24,23,-23v13,0,20,7,20,20v0,13,-9,19,-26,19v-11,0,-17,-5,-17,-16","w":159},"\u00b7":{"d":"73,-157v14,0,24,13,24,28v0,17,-13,31,-28,31v-14,0,-25,-11,-25,-26v0,-17,13,-33,29,-33","w":136},"\u2219":{"d":"73,-157v14,0,24,13,24,28v0,17,-13,31,-28,31v-14,0,-25,-11,-25,-26v0,-17,13,-33,29,-33","w":136},"\u00c2":{"d":"120,-308v-3,-8,48,-64,61,-60v21,6,48,39,55,59v-18,28,-44,-30,-57,-35v-8,3,-32,41,-49,42v-7,0,-10,-2,-10,-6xm281,-46v4,10,30,51,34,68v-4,27,-30,19,-42,-4v-6,-12,-18,-32,-33,-64v-45,-1,-96,-11,-152,-31v-45,47,-76,70,-92,70v-17,0,-21,-21,-4,-32v23,-14,42,-34,61,-53v-20,-8,-30,-16,-30,-24v-1,-11,7,-18,16,-18v8,0,36,15,38,15v57,-80,77,-102,85,-165v11,-21,37,-8,34,14v11,64,33,108,68,189v18,-1,42,-5,42,16v0,14,-9,20,-25,19xm223,-81v-19,-41,-35,-84,-49,-130v-17,38,-38,73,-63,105v36,13,74,22,112,25","w":322},"\u00ca":{"d":"132,-368v21,6,48,39,55,59v0,5,-6,9,-11,9v-15,-4,-35,-39,-46,-44v-8,3,-31,41,-48,42v-7,0,-10,-2,-10,-6v-3,-9,47,-64,60,-60xm237,-32v7,0,17,7,15,15v-6,29,-73,43,-117,46v-19,2,-47,3,-84,3v-24,0,-44,-1,-44,-17v0,-16,15,-19,33,-17v8,-36,9,-152,7,-245v-16,1,-38,3,-36,-15v2,-18,16,-19,40,-19v61,0,110,5,146,16v24,7,36,16,36,26v1,8,-7,16,-15,16v-43,-15,-58,-17,-135,-22v0,21,-1,55,-1,101v31,2,59,0,89,-1v13,0,19,5,19,16v0,31,-68,15,-109,17v-1,54,-3,91,-6,110v77,2,115,-10,162,-30","w":257},"\u00c1":{"d":"281,-46v4,10,30,51,34,68v-4,27,-30,19,-42,-4v-6,-12,-18,-32,-33,-64v-45,-1,-96,-11,-152,-31v-45,47,-76,70,-92,70v-17,0,-21,-21,-4,-32v23,-14,42,-34,61,-53v-20,-8,-30,-16,-30,-24v-1,-11,7,-18,16,-18v8,0,36,15,38,15v57,-80,77,-102,85,-165v11,-21,37,-8,34,14v11,64,33,108,68,189v18,-1,42,-5,42,16v0,14,-9,20,-25,19xm223,-81v-19,-41,-35,-84,-49,-130v-17,38,-38,73,-63,105v36,13,74,22,112,25xm155,-311v6,-11,33,-44,55,-56v6,0,10,2,10,8v1,10,-52,79,-65,48","w":322},"\u00cb":{"d":"237,-32v7,0,17,7,15,15v-6,29,-73,43,-117,46v-19,2,-47,3,-84,3v-24,0,-44,-1,-44,-17v0,-16,15,-19,33,-17v8,-36,9,-152,7,-245v-16,1,-38,3,-36,-15v2,-18,16,-19,40,-19v61,0,110,5,146,16v24,7,36,16,36,26v1,8,-7,16,-15,16v-43,-15,-58,-17,-135,-22v0,21,-1,55,-1,101v31,2,59,0,89,-1v13,0,19,5,19,16v0,31,-68,15,-109,17v-1,54,-3,91,-6,110v77,2,115,-10,162,-30xm167,-343v10,0,20,9,20,19v0,13,-8,20,-23,20v-13,0,-19,-6,-19,-16v0,-15,7,-23,22,-23xm76,-316v1,-11,10,-24,23,-23v13,0,20,7,20,20v0,13,-9,19,-26,19v-11,0,-17,-5,-17,-16","w":257},"\u00c8":{"d":"237,-32v7,0,17,7,15,15v-6,29,-73,43,-117,46v-19,2,-47,3,-84,3v-24,0,-44,-1,-44,-17v0,-16,15,-19,33,-17v8,-36,9,-152,7,-245v-16,1,-38,3,-36,-15v2,-18,16,-19,40,-19v61,0,110,5,146,16v24,7,36,16,36,26v1,8,-7,16,-15,16v-43,-15,-58,-17,-135,-22v0,21,-1,55,-1,101v31,2,59,0,89,-1v13,0,19,5,19,16v0,31,-68,15,-109,17v-1,54,-3,91,-6,110v77,2,115,-10,162,-30xm76,-354v1,-12,17,-17,28,-6v18,16,46,27,56,50v-1,12,-12,11,-22,4v-19,-15,-52,-26,-62,-48","w":257},"\u00cd":{"d":"91,10v12,-2,49,-25,49,4v0,44,-118,42,-129,8v-1,-27,29,-17,45,-12v11,-102,11,-174,-13,-255v-16,5,-43,16,-43,-9v0,-17,18,-26,54,-26v37,0,72,8,76,35v-2,27,-36,4,-49,3v22,83,22,151,10,252xm36,-311v6,-11,33,-44,55,-56v6,0,10,2,10,8v1,10,-52,79,-65,48","w":142},"\u00ce":{"d":"61,-368v22,5,48,39,55,59v0,5,-6,9,-11,9v-15,-4,-35,-39,-46,-44v-9,3,-39,59,-59,36v-3,-8,48,-64,61,-60xm91,10v12,-2,49,-25,49,4v0,44,-118,42,-129,8v-1,-27,29,-17,45,-12v11,-102,11,-174,-13,-255v-16,5,-43,16,-43,-9v0,-17,18,-26,54,-26v37,0,72,8,76,35v-2,27,-36,4,-49,3v22,83,22,151,10,252","w":142},"\u00cf":{"d":"91,10v12,-2,49,-25,49,4v0,44,-118,42,-129,8v-1,-27,29,-17,45,-12v11,-102,11,-174,-13,-255v-16,5,-43,16,-43,-9v0,-17,18,-26,54,-26v37,0,72,8,76,35v-2,27,-36,4,-49,3v22,83,22,151,10,252xm96,-343v10,0,20,9,20,19v0,13,-8,20,-23,20v-13,0,-19,-6,-19,-16v0,-15,7,-23,22,-23xm5,-316v1,-11,10,-24,23,-23v13,0,20,7,20,20v0,13,-9,19,-26,19v-11,0,-17,-5,-17,-16","w":142},"\u00cc":{"d":"91,10v12,-2,49,-25,49,4v0,44,-118,42,-129,8v-1,-27,29,-17,45,-12v11,-102,11,-174,-13,-255v-16,5,-43,16,-43,-9v0,-17,18,-26,54,-26v37,0,72,8,76,35v-2,27,-36,4,-49,3v22,83,22,151,10,252xm5,-354v1,-12,17,-17,28,-6v18,16,46,27,56,50v-1,12,-12,11,-22,4v-19,-15,-52,-26,-62,-48","w":142},"\u00d3":{"d":"156,-281v97,0,150,67,150,168v0,97,-56,158,-151,158v-86,0,-141,-67,-141,-156v0,-97,49,-170,142,-170xm159,10v70,0,110,-50,110,-122v0,-81,-36,-133,-112,-133v-74,1,-105,52,-105,131v0,70,40,124,107,124xm138,-311v6,-11,33,-44,55,-56v6,0,10,2,10,8v1,10,-52,79,-65,48","w":321},"\u00d4":{"d":"103,-308v-3,-8,48,-64,61,-60v22,5,48,39,55,59v-17,28,-44,-30,-57,-35v-9,3,-39,59,-59,36xm156,-281v97,0,150,67,150,168v0,97,-56,158,-151,158v-86,0,-141,-67,-141,-156v0,-97,49,-170,142,-170xm159,10v70,0,110,-50,110,-122v0,-81,-36,-133,-112,-133v-74,1,-105,52,-105,131v0,70,40,124,107,124","w":321},"\u00d2":{"d":"156,-281v97,0,150,67,150,168v0,97,-56,158,-151,158v-86,0,-141,-67,-141,-156v0,-97,49,-170,142,-170xm159,10v70,0,110,-50,110,-122v0,-81,-36,-133,-112,-133v-74,1,-105,52,-105,131v0,70,40,124,107,124xm107,-354v1,-12,17,-17,28,-6v18,16,46,27,56,50v-1,12,-12,11,-22,4v-19,-15,-52,-26,-62,-48","w":321},"\u00da":{"d":"206,-264v4,-31,94,-35,94,2v0,16,-13,19,-28,13v22,147,-1,299,-139,300v-71,1,-106,-44,-106,-115v0,-63,18,-122,53,-178v-13,2,-26,2,-26,-13v0,-18,19,-27,57,-27v21,-1,52,12,52,31v0,25,-30,14,-42,5v-39,57,-59,117,-59,181v0,54,23,82,69,82v75,0,113,-56,113,-168v0,-39,-2,-71,-7,-98v-15,8,-33,0,-31,-15xm152,-311v6,-11,33,-44,55,-56v6,0,10,2,10,8v1,10,-52,79,-65,48","w":308},"\u00db":{"d":"177,-368v21,6,48,39,55,59v0,5,-6,9,-11,9v-15,-4,-35,-39,-46,-44v-8,3,-31,41,-48,42v-7,0,-10,-2,-10,-6v-3,-9,47,-64,60,-60xm206,-264v4,-31,94,-35,94,2v0,16,-13,19,-28,13v22,147,-1,299,-139,300v-71,1,-106,-44,-106,-115v0,-63,18,-122,53,-178v-13,2,-26,2,-26,-13v0,-18,19,-27,57,-27v21,-1,52,12,52,31v0,25,-30,14,-42,5v-39,57,-59,117,-59,181v0,54,23,82,69,82v75,0,113,-56,113,-168v0,-39,-2,-71,-7,-98v-15,8,-33,0,-31,-15","w":308},"\u00d9":{"d":"206,-264v4,-31,94,-35,94,2v0,16,-13,19,-28,13v22,147,-1,299,-139,300v-71,1,-106,-44,-106,-115v0,-63,18,-122,53,-178v-13,2,-26,2,-26,-13v0,-18,19,-27,57,-27v21,-1,52,12,52,31v0,25,-30,14,-42,5v-39,57,-59,117,-59,181v0,54,23,82,69,82v75,0,113,-56,113,-168v0,-39,-2,-71,-7,-98v-15,8,-33,0,-31,-15xm121,-354v1,-12,17,-17,28,-6v18,16,46,27,56,50v-1,12,-12,11,-22,4v-19,-15,-52,-26,-62,-48","w":308},"\u00af":{"d":"35,-260v4,-30,59,-16,91,-23v13,0,19,3,19,9v-11,28,-65,16,-98,20v-8,0,-12,-2,-12,-6","w":180},"\u02c9":{"d":"35,-260v4,-30,59,-16,91,-23v13,0,19,3,19,9v-11,28,-65,16,-98,20v-8,0,-12,-2,-12,-6","w":180},"\u00b8":{"d":"109,25v3,-20,-34,-5,-33,-23v1,-13,6,-38,30,-36v-4,10,-7,18,-4,29v18,1,33,12,33,30v0,23,-27,38,-53,37v-16,0,-23,-4,-23,-12v1,-20,55,3,50,-25","w":180},"\u00a6":{"d":"75,12v3,-15,-16,-88,15,-87v9,1,14,9,14,25v0,20,4,63,7,100v0,9,-5,15,-13,15v-19,1,-21,-34,-23,-53xm104,-147v0,22,3,27,-13,30v-10,1,-17,-9,-18,-29v-2,-30,0,-59,3,-86v2,-15,8,-22,18,-22v11,0,15,7,14,21v-3,35,-4,64,-4,86","w":180},"\u00d0":{"d":"109,-243v75,-1,119,39,119,113v0,84,-56,130,-142,129v-30,0,-59,-5,-61,-30v0,-8,3,-12,12,-12v6,-23,9,-47,9,-72v-14,1,-40,11,-41,-7v0,-11,13,-18,40,-21v-1,-21,-4,-40,-10,-57v-14,4,-21,6,-22,6v-8,0,-12,-4,-12,-14v8,-29,60,-35,108,-35xm193,-127v0,-72,-55,-93,-127,-79v7,20,11,40,12,61v31,-2,45,-7,51,12v-8,19,-12,10,-51,15v0,29,-4,57,-10,85v77,8,125,-22,125,-94","w":238},"\u00f0":{"d":"165,-238v15,-1,23,17,7,23r-24,10v59,71,33,203,-67,201v-44,0,-72,-29,-72,-74v0,-73,94,-95,137,-49v-3,-24,-13,-46,-30,-65v-13,4,-38,26,-51,30v-7,0,-11,-4,-11,-12v0,-8,14,-19,43,-34v-22,-10,-38,3,-60,3v-13,0,-19,-5,-19,-16v2,-35,92,-28,110,-3v21,-9,33,-14,37,-14xm143,-85v-9,-46,-101,-45,-101,5v0,29,13,44,41,44v31,0,52,-17,60,-49","w":189},"\u00dd":{"d":"92,-93v-30,-23,-96,-133,-96,-176v0,-21,27,-26,32,-11v20,60,40,112,81,153v48,-37,88,-92,120,-152v10,-18,33,-4,32,10v-20,61,-86,134,-134,169r0,88v-2,36,3,57,-20,62v-28,-4,-15,-66,-15,-98r0,-45xm104,-311v6,-11,33,-44,55,-56v6,0,10,2,10,8v1,10,-52,79,-65,48","w":244},"\u00de":{"d":"87,-209v74,-43,171,-14,171,73v0,94,-91,133,-176,91v-2,21,-5,42,-9,63v18,-1,35,2,35,17v0,12,-10,19,-28,19v-27,0,-52,-6,-73,-14v-17,-6,-12,-34,4,-33v3,0,12,2,27,6v13,-81,19,-163,12,-246v-17,6,-28,9,-33,9v-12,0,-17,-6,-17,-17v0,-30,69,-34,100,-34v15,0,22,6,22,17v-4,16,-16,16,-39,18xm86,-81v42,35,136,25,136,-50v0,-70,-80,-78,-134,-45v2,31,0,60,-2,95","w":273},"\u00fe":{"d":"64,-190v55,-2,97,25,99,74v2,56,-56,81,-111,64v-9,40,-15,65,-19,76v-6,17,-15,25,-25,25v-10,0,-14,-4,-14,-12v26,-76,50,-195,30,-293v0,-10,7,-17,17,-17v28,11,16,26,23,83xm128,-115v-1,-30,-30,-44,-63,-43v-1,23,-4,48,-7,74v32,12,72,3,70,-31","w":174},"\u00ad":{"d":"15,-112v0,-29,100,-15,128,-15v27,0,39,8,39,18v0,8,-5,12,-17,12r-129,-2v-14,0,-21,-4,-21,-13"},"\u2212":{"d":"15,-112v0,-29,100,-15,128,-15v27,0,39,8,39,18v0,8,-5,12,-17,12r-129,-2v-14,0,-21,-4,-21,-13"},"\u00b9":{"d":"63,-112v0,0,39,-13,40,7v-5,22,-105,16,-96,-4v1,-15,22,-4,32,-4v13,-41,19,-74,19,-103v-19,8,-33,12,-41,12v-15,-6,-6,-19,8,-22v21,-4,58,-31,57,10v0,24,-6,58,-19,104","w":109},"\u00b2":{"d":"38,-111v24,7,58,-11,70,-15v6,0,9,3,9,9v-6,21,-45,27,-77,27v-50,0,-45,-23,-18,-32v30,-20,54,-34,54,-72v0,-16,-7,-24,-20,-26v-16,10,-28,15,-35,15v-7,0,-10,-3,-10,-8v6,-15,31,-27,52,-27v24,0,37,15,37,44v0,32,-21,60,-62,85","w":118},"\u00b3":{"d":"55,-239v37,0,55,43,23,60v47,24,21,88,-36,88v-29,0,-43,-8,-43,-21v0,-8,5,-11,13,-11v7,0,11,3,11,9v24,11,59,0,56,-26v-2,-21,-12,-32,-39,-32v-15,1,-16,-20,-2,-20v8,2,38,9,34,-13v1,-21,-26,-18,-42,-13v-6,0,-8,-3,-8,-9v0,-8,11,-12,33,-12","w":109},"\u00bd":{"d":"205,-246v25,9,11,21,-4,52v-26,53,-82,136,-120,176v-17,19,-29,28,-35,28v-24,-7,-10,-20,9,-40v58,-62,88,-113,133,-198v6,-12,12,-18,17,-18xm61,-119v0,0,39,-13,40,7v-5,22,-105,16,-96,-4v1,-15,22,-4,32,-4v13,-41,19,-74,19,-103v-19,8,-33,12,-41,12v-15,-6,-6,-19,8,-22v21,-4,58,-31,57,10v0,24,-6,58,-19,104xm204,-14v24,7,58,-11,70,-15v6,0,9,3,9,9v-6,21,-45,27,-77,27v-50,0,-45,-23,-18,-32v30,-20,54,-34,54,-72v0,-16,-7,-24,-20,-26v-16,10,-28,15,-35,15v-7,0,-10,-3,-10,-8v6,-15,31,-27,52,-27v24,0,37,15,37,44v0,32,-21,60,-62,85","w":281},"\u00bc":{"d":"250,-64v11,-2,28,-8,28,8v0,5,-11,9,-33,11v-4,18,3,53,-15,56v-19,-9,-9,-18,-6,-55v-33,-2,-50,-10,-50,-22v1,-22,22,-71,44,-71v7,0,10,1,10,5v-5,11,-34,43,-31,64v9,4,19,6,31,6v9,-22,10,-57,29,-65v9,0,14,3,14,9v-4,11,-18,41,-21,54xm205,-246v25,9,11,21,-4,52v-26,53,-82,136,-120,176v-17,19,-29,28,-35,28v-24,-7,-10,-20,9,-40v58,-62,88,-113,133,-198v6,-12,12,-18,17,-18xm61,-119v0,0,39,-13,40,7v-5,22,-105,16,-96,-4v1,-15,22,-4,32,-4v13,-41,19,-74,19,-103v-19,8,-33,12,-41,12v-15,-6,-6,-19,8,-22v21,-4,58,-31,57,10v0,24,-6,58,-19,104","w":279},"\u00be":{"d":"250,-64v11,-2,28,-8,28,8v0,5,-11,9,-33,11v-4,18,3,53,-15,56v-19,-9,-9,-18,-6,-55v-33,-2,-50,-10,-50,-22v1,-22,22,-71,44,-71v7,0,10,1,10,5v-5,11,-34,43,-31,64v9,4,19,6,31,6v9,-22,10,-57,29,-65v9,0,14,3,14,9v-4,11,-18,41,-21,54xm221,-233v-25,68,-90,165,-136,215v-17,19,-30,28,-36,28v-23,-8,-8,-21,10,-40v58,-62,88,-113,133,-198v6,-12,12,-18,17,-18v8,0,12,4,12,13xm55,-239v37,0,55,43,23,60v47,24,21,88,-36,88v-29,0,-43,-8,-43,-21v0,-8,5,-11,13,-11v7,0,11,3,11,9v24,11,59,0,56,-26v-2,-21,-12,-32,-39,-32v-15,1,-16,-20,-2,-20v8,2,38,9,34,-13v1,-21,-26,-18,-42,-13v-6,0,-8,-3,-8,-9v0,-8,11,-12,33,-12","w":279},"\u00fd":{"d":"76,-90v-30,-41,-61,-84,-71,-130v2,-23,26,-18,34,1v16,36,30,67,52,97v12,-24,25,-87,29,-108v5,-22,34,-20,32,6v-7,79,-57,163,-95,239v-10,20,-33,16,-34,-3v-1,-19,68,-124,53,-102xm58,-265v6,-11,33,-44,55,-56v6,0,10,2,10,8v1,10,-52,79,-65,48","w":159},"\u00d7":{"d":"121,-116v23,23,37,29,43,53v0,11,-4,17,-12,17v-16,-6,-40,-43,-51,-50v-32,30,-52,46,-60,46v-7,0,-15,-6,-14,-13v3,-17,47,-41,53,-51v-15,-15,-45,-32,-53,-50v0,-7,7,-12,14,-12v8,0,27,14,59,41v15,-14,33,-42,52,-48v6,0,12,5,12,12v0,7,-14,25,-43,55"},"\u00a4":{"d":"102,-103v35,1,54,-20,54,-53v0,-30,-17,-52,-46,-52v-32,0,-49,18,-49,55v0,33,14,50,41,50xm26,-66v-22,-13,14,-33,21,-42v-14,-25,-14,-71,3,-93v-10,-14,-25,-20,-31,-35v0,-5,4,-9,9,-9v16,3,21,13,35,29v23,-19,70,-21,93,0v11,-9,21,-27,36,-30v4,0,8,4,8,9v-4,18,-17,17,-31,36v15,25,15,66,-1,90v20,16,26,22,32,38v0,5,-4,8,-8,8v-17,-5,-26,-21,-39,-31v-23,18,-69,21,-93,3v-11,11,-19,23,-34,27","w":218}}});
function FadeGallery(){this.aProductIDs=null;this.oParams=new Object();this.sUrl='';this.sElement='';this.sExternalIdPrefix='';this.sExternalIdPrefixDestination='';this.bAutoFadeAfterClick=false;this.bSameAutoFadeAfterClick=false;this.lLoadTime=5000;this.lFadeTime=1.0;this.sClassName='fadingobj';this.sInternalId='fadingobj';this.sAktivId='';this.sAktivClass='aktiv';this.bObserveOnLoad=true;this.bEvalScripts=false;this.onLoad=Prototype.emptyFunction;this.onFadeComplete=Prototype.emptyFunction;this.onImageLoaded=Prototype.emptyFunction;this.onBeforeStartFade=Prototype.emptyFunction;this.onActiveSet=Prototype.emptyFunction;this.lAktuellesBild=0;this.bAutoFade=false;this.clear=null;this.bLocked=false;this.aProductIDsStatus=new Array();this.bPrev=false;this.lLetztesBild=0;this.lReturnCurrent=0;this.sSender='';this.oPostData=new Object();FadeGallery.prototype.initAutoFade=function(){this.oPostData=Object.clone(this.oParams);this.bAutoFade=true;if(this.bObserveOnLoad){Event.observe(window,'load',this.initAutoFadeOnLoad.bind(this),false)}else{this.initAutoFadeOnLoad()}};FadeGallery.prototype.initFade=function(){this.oPostData=Object.clone(this.oParams);if(this.bObserveOnLoad){Event.observe(window,'load',this.initAutoFadeOnLoad.bind(this),false)}else{this.initAutoFadeOnLoad()}};FadeGallery.prototype.initAutoFadeOnLoad=function(){if(this.sExternalIdPrefix!=''){for(var i=0;i<this.aProductIDs.length;i++){$(this.sExternalIdPrefix+this.aProductIDs[i]).hide()}}if(this.sAktivId!=''){if($(this.sAktivId).childElements()[this.lAktuellesBild].className!=''){$(this.sAktivId).childElements()[this.lAktuellesBild].className+=' '+this.sAktivClass}else{$(this.sAktivId).childElements()[this.lAktuellesBild].className=this.sAktivClass}if(this.onActiveSet!=Prototype.emptyFunction){this.onActiveSet()}}for(var i=0;i<this.aProductIDs.length;i++){this.aProductIDsStatus[i]=false}if(this.onLoad!=Prototype.emptyFunction){this.onLoad(1,this.sSender);this.sSender=''}var objOuterFading=document.createElement("div");objOuterFading.setAttribute('id',this.sInternalId+this.aProductIDs[this.lAktuellesBild]);objOuterFading.className=this.sClassName;$(this.sElement).appendChild(objOuterFading);if(this.sUrl!=''){this.oPostData.lProductID=this.aProductIDs[this.lAktuellesBild];this.oPostData.lActualNumber=this.lAktuellesBild+1;this.oPostData.lCount=this.aProductIDs.length;new Ajax.Updater(objOuterFading,this.sUrl,{evalScripts:this.bEvalScripts,parameters:this.oPostData,onComplete:this.loadOnComplete.bind(this)})}else{this.loadOnComplete()}};FadeGallery.prototype.loadOnComplete=function(){if(this.onImageLoaded!=Prototype.emptyFunction){this.lReturnCurrent=this.lAktuellesBild+1;if(this.lReturnCurrent>this.aProductIDs.length){this.lReturnCurrent=1}this.onImageLoaded(this.lReturnCurrent,this.sSender);this.sSender=''}this.aProductIDsStatus[this.lAktuellesBild]=true;if(this.sExternalIdPrefix!=''){var objElement=$(this.sExternalIdPrefix+this.aProductIDs[this.lAktuellesBild]);$(this.sExternalIdPrefix+this.aProductIDs[this.lAktuellesBild]).remove();objElement.show();if(this.sExternalIdPrefixDestination!=''){$(this.sExternalIdPrefixDestination+this.aProductIDs[this.lAktuellesBild]).insert({'bottom':objElement})}else{$(this.sInternalId+this.aProductIDs[this.lAktuellesBild]).insert({'bottom':objElement})}}if(this.aProductIDs.length>1){$(this.sInternalId+this.aProductIDs[this.lAktuellesBild]).style.zIndex='2';if(this.bAutoFade){this.clear=window.setTimeout(this.loadNext.bind(this),this.lLoadTime)}}};FadeGallery.prototype.FadeGalleryNext=function(){if(!this.bLocked){this.bLocked=true;clearTimeout(this.clear);if(!this.bAutoFadeAfterClick){this.bAutoFade=false}this.sSender='clickNext';this.bPrev=false;this.loadNext()}};FadeGallery.prototype.FadeGalleryPrev=function(){if(!this.bLocked){this.bLocked=true;clearTimeout(this.clear);if(!this.bAutoFadeAfterClick){this.bAutoFade=false}this.sSender='clickPrev';this.bPrev=true;this.loadNext()}};FadeGallery.prototype.FadeGalleryThis=function(lObjNumber){if(!this.bLocked&&(lObjNumber-1)!=this.lAktuellesBild){this.bLocked=true;clearTimeout(this.clear);if(!this.bAutoFadeAfterClick){this.bAutoFade=false}this.sSender='clickThis';this.lAktuellesBild=lObjNumber-2;this.loadNext()}};FadeGallery.prototype.FadeGalleryStop=function(){clearTimeout(this.clear);this.bAutoFade=false};FadeGallery.prototype.restartAutoFade=function(){this.bAutoFade=true;this.initAutoFadeOnLoad()};FadeGallery.prototype.loadNext=function(){if(this.onLoad!=Prototype.emptyFunction){this.lReturnCurrent=this.lAktuellesBild+2;if(this.lReturnCurrent>this.aProductIDs.length){this.lReturnCurrent=1}this.onLoad(this.lReturnCurrent,this.sSender);this.sSender=''}if(this.bPrev){if(this.lAktuellesBild==0){this.lAktuellesBild=this.aProductIDs.length-1}else{this.lAktuellesBild--}}else{this.lAktuellesBild++;if(this.aProductIDs[this.lAktuellesBild]==undefined){this.lAktuellesBild=0}}if(this.aProductIDs[this.lAktuellesBild]!=undefined&&!this.aProductIDsStatus[this.lAktuellesBild]){var objOuterFading=document.createElement("div");objOuterFading.setAttribute('id',this.sInternalId+this.aProductIDs[this.lAktuellesBild]);objOuterFading.className=this.sClassName;objOuterFading.zIndex='1';$(this.sElement).appendChild(objOuterFading);if(this.sExternalIdPrefix!=''){var objElement=$(this.sExternalIdPrefix+this.aProductIDs[this.lAktuellesBild]);$(this.sExternalIdPrefix+this.aProductIDs[this.lAktuellesBild]).remove();objElement.style.zIndex='1';objElement.show();if(this.sExternalIdPrefixDestination!=''){$(this.sExternalIdPrefixDestination+this.aProductIDs[this.lAktuellesBild]).insert({'bottom':objElement})}else{$(this.sInternalId+this.aProductIDs[this.lAktuellesBild]).insert({'bottom':objElement})}}if(this.sUrl!=''){this.oPostData.lProductID=this.aProductIDs[this.lAktuellesBild];this.oPostData.lActualNumber=this.lAktuellesBild+1;this.oPostData.lCount=this.aProductIDs.length;new Ajax.Updater(objOuterFading,this.sUrl,{evalScripts:this.bEvalScripts,parameters:this.oPostData,onComplete:this.IfIsImgLoaded.bind(this),insertion:Insertion.Top})}else{this.IfIsImgLoaded()}}else{$(this.sInternalId+this.aProductIDs[this.lAktuellesBild]).style.zIndex='1';$(this.sInternalId+this.aProductIDs[this.lAktuellesBild]).show();this.fadeNext()}};FadeGallery.prototype.fadeNext=function(){this.bLocked=true;this.aProductIDsStatus[this.lAktuellesBild]=true;if(this.sAktivId!=''){if($(this.sAktivId).childElements()[this.lAktuellesBild].className!=''){$(this.sAktivId).childElements()[this.lAktuellesBild].className+=' '+this.sAktivClass}else{$(this.sAktivId).childElements()[this.lAktuellesBild].className=this.sAktivClass}$(this.sAktivId).childElements()[this.lLetztesBild].className=$(this.sAktivId).childElements()[this.lLetztesBild].className.replace(' '+this.sAktivClass,'').replace(this.sAktivClass,'');if(this.onActiveSet!=Prototype.emptyFunction){this.onActiveSet()}}var lTempAktuellesBild=this.lLetztesBild;this.lLetztesBild=this.lAktuellesBild;$(this.sInternalId+this.aProductIDs[this.lAktuellesBild]).style.zIndex='1';new Effect.Fade($(this.sInternalId+this.aProductIDs[lTempAktuellesBild]),{beforeStart:function(){if(this.onBeforeStartFade!=Prototype.emptyFunction){this.lReturnCurrent=this.lAktuellesBild+1;if(this.lReturnCurrent>this.aProductIDs.length){this.lReturnCurrent=1}this.onBeforeStartFade(this.lReturnCurrent,this.sSender);this.sSender=''}}.bind(this),duration:this.lFadeTime,afterFinish:function(){if(this.onFadeComplete!=Prototype.emptyFunction){this.lReturnCurrent=this.lAktuellesBild+1;if(this.lReturnCurrent>this.aProductIDs.length){this.lReturnCurrent=1}this.onFadeComplete(this.lReturnCurrent,this.sSender);this.sSender=''}if(this.onImageLoaded!=Prototype.emptyFunction){this.lReturnCurrent=this.lAktuellesBild+1;if(this.lReturnCurrent>this.aProductIDs.length){this.lReturnCurrent=1}this.onImageLoaded(this.lReturnCurrent,this.sSender);this.sSender=''}$(this.sInternalId+this.aProductIDs[lTempAktuellesBild]).style.zIndex='0';$(this.sInternalId+this.aProductIDs[this.lAktuellesBild]).style.zIndex='2';this.bLocked=false;if(!this.bSameAutoFadeAfterClick){this.bPrev=false}if(this.bAutoFade){this.clear=window.setTimeout(this.loadNext.bind(this),this.lLoadTime)}}.bind(this)})};FadeGallery.prototype.IfIsImgLoaded=function(){var bLoaded=true;for(var i=0;i<$(this.sInternalId+this.aProductIDs[this.lAktuellesBild]).getElementsByTagName('img').length;i++){if(!$(this.sInternalId+this.aProductIDs[this.lAktuellesBild]).getElementsByTagName('img')[i].complete){bLoaded=false}}if(bLoaded){this.fadeNext()}else{this.clear=window.setTimeout(this.IfIsImgLoaded.bind(this),250)}}}
function scrollGallery(Objectname){this.bAjax=false;this.LockedID=null;this.bAutoScroll=false;this.Objectname=Objectname;this.bEvalScripts=false;this.bNoScrollAfterFinish=false;this.aParams=null;this.sUrl="";this.sCopyTag="div";this.effectTransitions=Effect.Transitions.sinoidal;this.lFps=25;this.sLockedBackID='';this.lLockedBackIDAtNumber=1;this.sLockedForwardID='';this.sFrameClass='';this.lAutoScrollTime=6000;this.lPreloaded=2;this.onElementLoaded=function(){};this.onElementScrolled=function(){};var oGallery=null;var oGalleryDiv=null;var self=this;var clearAutoScroll=null;scrollGallery.prototype.convertNullTo0px=function(wert){if(wert==null){return'0px'}else{return wert}};scrollGallery.prototype.Lock=function(id){this.LockedID=id;if(this.sFrameClass!=''){var iframeliste=document.getElementsByClassName(this.sFrameClass);for(var i=0;i<iframeliste.length;i++){iframeliste[i].style.display='none';iframeliste[i].style.height='0px'}}};scrollGallery.prototype.UnLock=function(){this.LockedID=null;if(this.sFrameClass!=''){var iframeliste=document.getElementsByClassName(this.sFrameClass);for(var i=0;i<iframeliste.length;i++){iframeliste[i].style.display='block';iframeliste[i].style.height='auto'}}};scrollGallery.prototype.InitAutoscroll=function(){this.bAutoScroll=true;clearAutoScroll=window.setTimeout(this.Objectname+'.Autoscroll()',this.lAutoScrollTime)};scrollGallery.prototype.StopAutoscroll=function(){this.bAutoScroll=false;clearTimeout(clearAutoScroll)};scrollGallery.prototype.Autoscroll=function(){if(this.bAutoScroll){this.ScrollGallerieNext(this.SetScrollGallerie_idPrefix);clearAutoScroll=window.setTimeout(this.Objectname+'.Autoscroll()',this.lAutoScrollTime)}};scrollGallery.prototype.ScrolltoElement=function(id,duration,noLock){if(noLock==null){noLock=false}if(duration==null){duration=1}if((this.LockedID==null)||(noLock)){var left=0;var top=0;var parent=document.getElementById(id).parentNode;var target=document.getElementById(id);left-=parent.offsetLeft+target.offsetLeft;top-=parent.offsetTop+target.offsetTop;new Effect.Move(parent,{x:left,y:top,mode:'relative',duration:duration,transition:this.effectTransitions,fps:this.lFps,afterFinish:function(){this.onElementScrolled(id)}.bind(this)});if(!noLock){this.Lock(id);window.setTimeout(this.Objectname+'.UnLock()',duration*1000)}}};this.SetScrollGallerie_idPrefix='';this.SetScrollGallerie_nCount=0;this.SetScrollGallerie_nDisplay=0;scrollGallery.prototype.SetScrollGallerie=function(idPrefix,nCount,duration){if(duration==null){duration=1}this.SetScrollGallerie_idPrefix=idPrefix;this.SetScrollGallerie_nCount=nCount;this.SetScrollGallerie_duration=duration;this.SetScrollGallerie_nDisplay=1};scrollGallery.prototype.ScrollGalleriePrevious=function(idPrefix){if(this.bAjax){if((this.SetScrollGallerie_idPrefix==idPrefix)&&(this.SetScrollGallerie_nCount>1)&&(this.SetScrollGallerie_nDisplay>1)&&(this.LockedID==null)){this.SetScrollGallerie_nDisplay--;if(this.SetScrollGallerie_nDisplay<1){this.SetScrollGallerie_nDisplay=this.SetScrollGallerie_nCount}this.ScrollPrevious();if(this.sLockedBackID!=''&&this.SetScrollGallerie_nDisplay==this.lLockedBackIDAtNumber){Element.hide(this.sLockedBackID)}}if(this.sLockedForwardID!=''){Element.show(this.sLockedForwardID)}}else{if((this.SetScrollGallerie_idPrefix==idPrefix)&&(this.SetScrollGallerie_nCount>1)&&(this.SetScrollGallerie_nDisplay!=0)&&(this.LockedID==null)){this.SetScrollGallerie_nDisplay--;if(this.SetScrollGallerie_nDisplay<1){this.SetScrollGallerie_nDisplay=this.SetScrollGallerie_nCount}if(this.sLockedBackID!=''&&this.SetScrollGallerie_nDisplay==this.lLockedBackIDAtNumber){Element.hide(this.sLockedBackID)}this.ScrolltoElement(this.SetScrollGallerie_idPrefix+this.SetScrollGallerie_nDisplay,this.SetScrollGallerie_duration,true);this.Lock(this.SetScrollGallerie_idPrefix+this.SetScrollGallerie_nDisplay);window.setTimeout(this.Objectname+'.UnLock()',this.SetScrollGallerie_duration*1000)}if(this.sLockedForwardID!=''){Element.show(this.sLockedForwardID)}}};scrollGallery.prototype.ScrollPrevious=function(){this.ScrolltoElement(this.SetScrollGallerie_idPrefix+this.SetScrollGallerie_nDisplay,this.SetScrollGallerie_duration,true);this.Lock(this.SetScrollGallerie_idPrefix+this.SetScrollGallerie_nDisplay);window.setTimeout(this.Objectname+'.UnLock()',this.SetScrollGallerie_duration*1000)};scrollGallery.prototype.ScrollGallerieNext=function(idPrefix){if(this.bAjax){if((this.SetScrollGallerie_idPrefix==idPrefix)&&(this.SetScrollGallerie_nCount>1)&&(this.LockedID==null)){if(!this.bNoScrollAfterFinish||(this.SetScrollGallerie_nDisplay)<this.SetScrollGallerie_nCount){this.SetScrollGallerie_nDisplay++}if(((this.SetScrollGallerie_nDisplay+(this.lPreloaded-2))>this.SetScrollGallerie_nCount)&&document.getElementById(this.SetScrollGallerie_idPrefix+(this.SetScrollGallerie_nDisplay+(this.lPreloaded-2)))==undefined){oGallery=document.getElementById(this.SetScrollGallerie_idPrefix);oGalleryDiv=document.createElement(this.sCopyTag);oGalleryDiv.setAttribute('id',this.SetScrollGallerie_idPrefix+(this.SetScrollGallerie_nDisplay+(this.lPreloaded-2)));if(document.getElementById(this.SetScrollGallerie_idPrefix+'1').className!=''){oGalleryDiv.setAttribute('class',document.getElementById(this.SetScrollGallerie_idPrefix+'1').className);oGalleryDiv.setAttribute('className',document.getElementById(this.SetScrollGallerie_idPrefix+'1').className)}if(document.getElementById(this.SetScrollGallerie_idPrefix+'1').style.width!=''){oGalleryDiv.style.width=document.getElementById(this.SetScrollGallerie_idPrefix+'1').style.width}oGallery.appendChild(oGalleryDiv);document.getElementById(this.SetScrollGallerie_idPrefix).style.width=parseInt(Element.getWidth(document.getElementById(this.SetScrollGallerie_idPrefix)),10)+parseInt(Element.getWidth(document.getElementById(this.SetScrollGallerie_idPrefix+'1')),10)+parseInt(this.convertNullTo0px(Element.getStyle(document.getElementById(this.SetScrollGallerie_idPrefix+1),'marginLeft')).replace('px',''),10)+parseInt(this.convertNullTo0px(Element.getStyle(document.getElementById(this.SetScrollGallerie_idPrefix+1),'marginRight')).replace('px',''),10)+'px';document.getElementById(this.SetScrollGallerie_idPrefix+(this.SetScrollGallerie_nDisplay+(this.lPreloaded-2))).innerHTML=document.getElementById(this.SetScrollGallerie_idPrefix+((this.SetScrollGallerie_nDisplay+(this.lPreloaded-2))-this.SetScrollGallerie_nCount)).innerHTML;this.onElementLoaded()}if((this.SetScrollGallerie_nDisplay+(this.lPreloaded-2))<this.SetScrollGallerie_nCount){if(!this.aParams[(this.SetScrollGallerie_nDisplay+(this.lPreloaded-2))][1]){this.aParams[(this.SetScrollGallerie_nDisplay+(this.lPreloaded-2))][1]=true;if((this.LockedID==null)||(noLock)){this.Lock(this.SetScrollGallerie_idPrefix+(this.SetScrollGallerie_nDisplay+(this.lPreloaded-2)));new Ajax.Updater(this.SetScrollGallerie_idPrefix,this.sUrl+this.aParams[(this.SetScrollGallerie_nDisplay+(this.lPreloaded-2))][0],{evalScripts:this.bEvalScripts,parameters:{lPageNumber:(this.SetScrollGallerie_nDisplay+(this.lPreloaded-2))+1},onComplete:this.onAjaxComplete.bind(this),insertion:Insertion.Bottom})}}else{this.ScrollNext()}}else{this.ScrollNext()}if(this.sLockedForwardID!=''){if((this.SetScrollGallerie_nDisplay+(this.lPreloaded-2))==(this.SetScrollGallerie_nCount)){Element.hide(this.sLockedForwardID)}}if(this.sLockedBackID!=''&&this.SetScrollGallerie_nDisplay>this.lLockedBackIDAtNumber){Element.show(this.sLockedBackID)}}}else{if((this.SetScrollGallerie_idPrefix==idPrefix)&&(this.SetScrollGallerie_nCount>1)&&(this.SetScrollGallerie_nDisplay!=0)&&(this.LockedID==null)){this.SetScrollGallerie_nDisplay++;if(this.SetScrollGallerie_nDisplay>this.SetScrollGallerie_nCount){this.SetScrollGallerie_nDisplay=1}if(this.sLockedForwardID!=''){if((this.SetScrollGallerie_nDisplay+(this.lPreloaded-2))==(this.SetScrollGallerie_nCount)){Element.hide(this.sLockedForwardID)}}if(this.sLockedBackID!=''&&this.SetScrollGallerie_nDisplay>this.lLockedBackIDAtNumber){Element.show(this.sLockedBackID)}this.ScrolltoElement(this.SetScrollGallerie_idPrefix+this.SetScrollGallerie_nDisplay,this.SetScrollGallerie_duration,true);this.Lock(this.SetScrollGallerie_idPrefix+this.SetScrollGallerie_nDisplay);window.setTimeout(this.Objectname+'.UnLock()',this.SetScrollGallerie_duration*1000)}}};scrollGallery.prototype.onAjaxComplete=function(){this.IfIsLoaded(this.SetScrollGallerie_idPrefix+(this.SetScrollGallerie_nDisplay+(this.lPreloaded-2)))};scrollGallery.prototype.ScrollNext=function(){this.UnLock();this.ScrolltoElement(this.SetScrollGallerie_idPrefix+this.SetScrollGallerie_nDisplay,this.SetScrollGallerie_duration,true);this.Lock(this.SetScrollGallerie_idPrefix+(this.SetScrollGallerie_nDisplay+(this.lPreloaded-2)));window.setTimeout(this.Objectname+'.UnLock()',this.SetScrollGallerie_duration*1000)};var globalID=null;scrollGallery.prototype.IfIsLoaded=function(id){globalID=id;if(document.getElementById(id)!=undefined){this.IfIsImgLoaded()}else{window.setTimeout(this.Objectname+'.IfIsLoaded()',250)}};scrollGallery.prototype.IfIsImgLoaded=function(){var id=globalID;var bLoaded=true;for(var i=0;i<document.getElementById(id).getElementsByTagName('img').length;i++){if(!document.getElementById(id).getElementsByTagName('img')[i].complete){bLoaded=false}}if(bLoaded){this.ScrollNext()}else{window.setTimeout(this.Objectname+'.IfIsImgLoaded()',250)}}}
(function(){var window=this,undefined,_jQuery=window.jQuery,_$=window.$,jQuery=window.jQuery=window.$=function(selector,context){return new jQuery.fn.init(selector,context)},quickExpr=/^[^<]*(<(.|\s)+>)[^>]*$|^#([\w-]+)$/,isSimple=/^.[^:#\[\.,]*$/;jQuery.fn=jQuery.prototype={init:function(selector,context){selector=selector||document;if(selector.nodeType){this[0]=selector;this.length=1;this.context=selector;return this}if(typeof selector==="string"){var match=quickExpr.exec(selector);if(match&&(match[1]||!context)){if(match[1])selector=jQuery.clean([match[1]],context);else{var elem=document.getElementById(match[3]);if(elem&&elem.id!=match[3])return jQuery().find(selector);var ret=jQuery(elem||[]);ret.context=document;ret.selector=selector;return ret}}else return jQuery(context).find(selector)}else if(jQuery.isFunction(selector))return jQuery(document).ready(selector);if(selector.selector&&selector.context){this.selector=selector.selector;this.context=selector.context}return this.setArray(jQuery.isArray(selector)?selector:jQuery.makeArray(selector))},selector:"",jquery:"1.3.2",size:function(){return this.length},get:function(num){return num===undefined?Array.prototype.slice.call(this):this[num]},pushStack:function(elems,name,selector){var ret=jQuery(elems);ret.prevObject=this;ret.context=this.context;if(name==="find")ret.selector=this.selector+(this.selector?" ":"")+selector;else if(name)ret.selector=this.selector+"."+name+"("+selector+")";return ret},setArray:function(elems){this.length=0;Array.prototype.push.apply(this,elems);return this},each:function(callback,args){return jQuery.each(this,callback,args)},index:function(elem){return jQuery.inArray(elem&&elem.jquery?elem[0]:elem,this)},attr:function(name,value,type){var options=name;if(typeof name==="string")if(value===undefined)return this[0]&&jQuery[type||"attr"](this[0],name);else{options={};options[name]=value}return this.each(function(i){for(name in options)jQuery.attr(type?this.style:this,name,jQuery.prop(this,options[name],type,i,name))})},css:function(key,value){if((key=='width'||key=='height')&&parseFloat(value)<0)value=undefined;return this.attr(key,value,"curCSS")},text:function(text){if(typeof text!=="object"&&text!=null)return this.empty().append((this[0]&&this[0].ownerDocument||document).createTextNode(text));var ret="";jQuery.each(text||this,function(){jQuery.each(this.childNodes,function(){if(this.nodeType!=8)ret+=this.nodeType!=1?this.nodeValue:jQuery.fn.text([this])})});return ret},wrapAll:function(html){if(this[0]){var wrap=jQuery(html,this[0].ownerDocument).clone();if(this[0].parentNode)wrap.insertBefore(this[0]);wrap.map(function(){var elem=this;while(elem.firstChild)elem=elem.firstChild;return elem}).append(this)}return this},wrapInner:function(html){return this.each(function(){jQuery(this).contents().wrapAll(html)})},wrap:function(html){return this.each(function(){jQuery(this).wrapAll(html)})},append:function(){return this.domManip(arguments,true,function(elem){if(this.nodeType==1)this.appendChild(elem)})},prepend:function(){return this.domManip(arguments,true,function(elem){if(this.nodeType==1)this.insertBefore(elem,this.firstChild)})},before:function(){return this.domManip(arguments,false,function(elem){this.parentNode.insertBefore(elem,this)})},after:function(){return this.domManip(arguments,false,function(elem){this.parentNode.insertBefore(elem,this.nextSibling)})},end:function(){return this.prevObject||jQuery([])},push:[].push,sort:[].sort,splice:[].splice,find:function(selector){if(this.length===1){var ret=this.pushStack([],"find",selector);ret.length=0;jQuery.find(selector,this[0],ret);return ret}else{return this.pushStack(jQuery.unique(jQuery.map(this,function(elem){return jQuery.find(selector,elem)})),"find",selector)}},clone:function(events){var ret=this.map(function(){if(!jQuery.support.noCloneEvent&&!jQuery.isXMLDoc(this)){var html=this.outerHTML;if(!html){var div=this.ownerDocument.createElement("div");div.appendChild(this.cloneNode(true));html=div.innerHTML}return jQuery.clean([html.replace(/ jQuery\d+="(?:\d+|null)"/g,"").replace(/^\s*/,"")])[0]}else return this.cloneNode(true)});if(events===true){var orig=this.find("*").andSelf(),i=0;ret.find("*").andSelf().each(function(){if(this.nodeName!==orig[i].nodeName)return;var events=jQuery.data(orig[i],"events");for(var type in events){for(var handler in events[type]){jQuery.event.add(this,type,events[type][handler],events[type][handler].data)}}i++})}return ret},filter:function(selector){return this.pushStack(jQuery.isFunction(selector)&&jQuery.grep(this,function(elem,i){return selector.call(elem,i)})||jQuery.multiFilter(selector,jQuery.grep(this,function(elem){return elem.nodeType===1})),"filter",selector)},closest:function(selector){var pos=jQuery.expr.match.POS.test(selector)?jQuery(selector):null,closer=0;return this.map(function(){var cur=this;while(cur&&cur.ownerDocument){if(pos?pos.index(cur)>-1:jQuery(cur).is(selector)){jQuery.data(cur,"closest",closer);return cur}cur=cur.parentNode;closer++}})},not:function(selector){if(typeof selector==="string")if(isSimple.test(selector))return this.pushStack(jQuery.multiFilter(selector,this,true),"not",selector);else selector=jQuery.multiFilter(selector,this);var isArrayLike=selector.length&&selector[selector.length-1]!==undefined&&!selector.nodeType;return this.filter(function(){return isArrayLike?jQuery.inArray(this,selector)<0:this!=selector})},add:function(selector){return this.pushStack(jQuery.unique(jQuery.merge(this.get(),typeof selector==="string"?jQuery(selector):jQuery.makeArray(selector))))},is:function(selector){return!!selector&&jQuery.multiFilter(selector,this).length>0},hasClass:function(selector){return!!selector&&this.is("."+selector)},val:function(value){if(value===undefined){var elem=this[0];if(elem){if(jQuery.nodeName(elem,'option'))return(elem.attributes.value||{}).specified?elem.value:elem.text;if(jQuery.nodeName(elem,"select")){var index=elem.selectedIndex,values=[],options=elem.options,one=elem.type=="select-one";if(index<0)return null;for(var i=one?index:0,max=one?index+1:options.length;i<max;i++){var option=options[i];if(option.selected){value=jQuery(option).val();if(one)return value;values.push(value)}}return values}return(elem.value||"").replace(/\r/g,"")}return undefined}if(typeof value==="number")value+='';return this.each(function(){if(this.nodeType!=1)return;if(jQuery.isArray(value)&&/radio|checkbox/.test(this.type))this.checked=(jQuery.inArray(this.value,value)>=0||jQuery.inArray(this.name,value)>=0);else if(jQuery.nodeName(this,"select")){var values=jQuery.makeArray(value);jQuery("option",this).each(function(){this.selected=(jQuery.inArray(this.value,values)>=0||jQuery.inArray(this.text,values)>=0)});if(!values.length)this.selectedIndex=-1}else this.value=value})},html:function(value){return value===undefined?(this[0]?this[0].innerHTML.replace(/ jQuery\d+="(?:\d+|null)"/g,""):null):this.empty().append(value)},replaceWith:function(value){return this.after(value).remove()},eq:function(i){return this.slice(i,+i+1)},slice:function(){return this.pushStack(Array.prototype.slice.apply(this,arguments),"slice",Array.prototype.slice.call(arguments).join(","))},map:function(callback){return this.pushStack(jQuery.map(this,function(elem,i){return callback.call(elem,i,elem)}))},andSelf:function(){return this.add(this.prevObject)},domManip:function(args,table,callback){if(this[0]){var fragment=(this[0].ownerDocument||this[0]).createDocumentFragment(),scripts=jQuery.clean(args,(this[0].ownerDocument||this[0]),fragment),first=fragment.firstChild;if(first)for(var i=0,l=this.length;i<l;i++)callback.call(root(this[i],first),this.length>1||i>0?fragment.cloneNode(true):fragment);if(scripts)jQuery.each(scripts,evalScript)}return this;function root(elem,cur){return table&&jQuery.nodeName(elem,"table")&&jQuery.nodeName(cur,"tr")?(elem.getElementsByTagName("tbody")[0]||elem.appendChild(elem.ownerDocument.createElement("tbody"))):elem}}};jQuery.fn.init.prototype=jQuery.fn;function evalScript(i,elem){if(elem.src)jQuery.ajax({url:elem.src,async:false,dataType:"script"});else jQuery.globalEval(elem.text||elem.textContent||elem.innerHTML||"");if(elem.parentNode)elem.parentNode.removeChild(elem)}function now(){return+new Date}jQuery.extend=jQuery.fn.extend=function(){var target=arguments[0]||{},i=1,length=arguments.length,deep=false,options;if(typeof target==="boolean"){deep=target;target=arguments[1]||{};i=2}if(typeof target!=="object"&&!jQuery.isFunction(target))target={};if(length==i){target=this;--i}for(;i<length;i++)if((options=arguments[i])!=null)for(var name in options){var src=target[name],copy=options[name];if(target===copy)continue;if(deep&&copy&&typeof copy==="object"&&!copy.nodeType)target[name]=jQuery.extend(deep,src||(copy.length!=null?[]:{}),copy);else if(copy!==undefined)target[name]=copy}return target};var exclude=/z-?index|font-?weight|opacity|zoom|line-?height/i,defaultView=document.defaultView||{},toString=Object.prototype.toString;jQuery.extend({noConflict:function(deep){window.$=_$;if(deep)window.jQuery=_jQuery;return jQuery},isFunction:function(obj){return toString.call(obj)==="[object Function]"},isArray:function(obj){return toString.call(obj)==="[object Array]"},isXMLDoc:function(elem){return elem.nodeType===9&&elem.documentElement.nodeName!=="HTML"||!!elem.ownerDocument&&jQuery.isXMLDoc(elem.ownerDocument)},globalEval:function(data){if(data&&/\S/.test(data)){var head=document.getElementsByTagName("head")[0]||document.documentElement,script=document.createElement("script");script.type="text/javascript";if(jQuery.support.scriptEval)script.appendChild(document.createTextNode(data));else script.text=data;head.insertBefore(script,head.firstChild);head.removeChild(script)}},nodeName:function(elem,name){return elem.nodeName&&elem.nodeName.toUpperCase()==name.toUpperCase()},each:function(object,callback,args){var name,i=0,length=object.length;if(args){if(length===undefined){for(name in object)if(callback.apply(object[name],args)===false)break}else for(;i<length;)if(callback.apply(object[i++],args)===false)break}else{if(length===undefined){for(name in object)if(callback.call(object[name],name,object[name])===false)break}else for(var value=object[0];i<length&&callback.call(value,i,value)!==false;value=object[++i]){}}return object},prop:function(elem,value,type,i,name){if(jQuery.isFunction(value))value=value.call(elem,i);return typeof value==="number"&&type=="curCSS"&&!exclude.test(name)?value+"px":value},className:{add:function(elem,classNames){jQuery.each((classNames||"").split(/\s+/),function(i,className){if(elem.nodeType==1&&!jQuery.className.has(elem.className,className))elem.className+=(elem.className?" ":"")+className})},remove:function(elem,classNames){if(elem.nodeType==1)elem.className=classNames!==undefined?jQuery.grep(elem.className.split(/\s+/),function(className){return!jQuery.className.has(classNames,className)}).join(" "):""},has:function(elem,className){return elem&&jQuery.inArray(className,(elem.className||elem).toString().split(/\s+/))>-1}},swap:function(elem,options,callback){var old={};for(var name in options){old[name]=elem.style[name];elem.style[name]=options[name]}callback.call(elem);for(var name in options)elem.style[name]=old[name]},css:function(elem,name,force,extra){if(name=="width"||name=="height"){var val,props={position:"absolute",visibility:"hidden",display:"block"},which=name=="width"?["Left","Right"]:["Top","Bottom"];function getWH(){val=name=="width"?elem.offsetWidth:elem.offsetHeight;if(extra==="border")return;jQuery.each(which,function(){if(!extra)val-=parseFloat(jQuery.curCSS(elem,"padding"+this,true))||0;if(extra==="margin")val+=parseFloat(jQuery.curCSS(elem,"margin"+this,true))||0;else val-=parseFloat(jQuery.curCSS(elem,"border"+this+"Width",true))||0})}if(elem.offsetWidth!==0)getWH();else jQuery.swap(elem,props,getWH);return Math.max(0,Math.round(val))}return jQuery.curCSS(elem,name,force)},curCSS:function(elem,name,force){var ret,style=elem.style;if(name=="opacity"&&!jQuery.support.opacity){ret=jQuery.attr(style,"opacity");return ret==""?"1":ret}if(name.match(/float/i))name=styleFloat;if(!force&&style&&style[name])ret=style[name];else if(defaultView.getComputedStyle){if(name.match(/float/i))name="float";name=name.replace(/([A-Z])/g,"-$1").toLowerCase();var computedStyle=defaultView.getComputedStyle(elem,null);if(computedStyle)ret=computedStyle.getPropertyValue(name);if(name=="opacity"&&ret=="")ret="1"}else if(elem.currentStyle){var camelCase=name.replace(/\-(\w)/g,function(all,letter){return letter.toUpperCase()});ret=elem.currentStyle[name]||elem.currentStyle[camelCase];if(!/^\d+(px)?$/i.test(ret)&&/^\d/.test(ret)){var left=style.left,rsLeft=elem.runtimeStyle.left;elem.runtimeStyle.left=elem.currentStyle.left;style.left=ret||0;ret=style.pixelLeft+"px";style.left=left;elem.runtimeStyle.left=rsLeft}}return ret},clean:function(elems,context,fragment){context=context||document;if(typeof context.createElement==="undefined")context=context.ownerDocument||context[0]&&context[0].ownerDocument||document;if(!fragment&&elems.length===1&&typeof elems[0]==="string"){var match=/^<(\w+)\s*\/?>$/.exec(elems[0]);if(match)return[context.createElement(match[1])]}var ret=[],scripts=[],div=context.createElement("div");jQuery.each(elems,function(i,elem){if(typeof elem==="number")elem+='';if(!elem)return;if(typeof elem==="string"){elem=elem.replace(/(<(\w+)[^>]*?)\/>/g,function(all,front,tag){return tag.match(/^(abbr|br|col|img|input|link|meta|param|hr|area|embed)$/i)?all:front+"></"+tag+">"});var tags=elem.replace(/^\s+/,"").substring(0,10).toLowerCase();var wrap=!tags.indexOf("<opt")&&[1,"<select multiple='multiple'>","</select>"]||!tags.indexOf("<leg")&&[1,"<fieldset>","</fieldset>"]||tags.match(/^<(thead|tbody|tfoot|colg|cap)/)&&[1,"<table>","</table>"]||!tags.indexOf("<tr")&&[2,"<table><tbody>","</tbody></table>"]||(!tags.indexOf("<td")||!tags.indexOf("<th"))&&[3,"<table><tbody><tr>","</tr></tbody></table>"]||!tags.indexOf("<col")&&[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"]||!jQuery.support.htmlSerialize&&[1,"div<div>","</div>"]||[0,"",""];div.innerHTML=wrap[1]+elem+wrap[2];while(wrap[0]--)div=div.lastChild;if(!jQuery.support.tbody){var hasBody=/<tbody/i.test(elem),tbody=!tags.indexOf("<table")&&!hasBody?div.firstChild&&div.firstChild.childNodes:wrap[1]=="<table>"&&!hasBody?div.childNodes:[];for(var j=tbody.length-1;j>=0;--j)if(jQuery.nodeName(tbody[j],"tbody")&&!tbody[j].childNodes.length)tbody[j].parentNode.removeChild(tbody[j])}if(!jQuery.support.leadingWhitespace&&/^\s/.test(elem))div.insertBefore(context.createTextNode(elem.match(/^\s*/)[0]),div.firstChild);elem=jQuery.makeArray(div.childNodes)}if(elem.nodeType)ret.push(elem);else ret=jQuery.merge(ret,elem)});if(fragment){for(var i=0;ret[i];i++){if(jQuery.nodeName(ret[i],"script")&&(!ret[i].type||ret[i].type.toLowerCase()==="text/javascript")){scripts.push(ret[i].parentNode?ret[i].parentNode.removeChild(ret[i]):ret[i])}else{if(ret[i].nodeType===1)ret.splice.apply(ret,[i+1,0].concat(jQuery.makeArray(ret[i].getElementsByTagName("script"))));fragment.appendChild(ret[i])}}return scripts}return ret},attr:function(elem,name,value){if(!elem||elem.nodeType==3||elem.nodeType==8)return undefined;var notxml=!jQuery.isXMLDoc(elem),set=value!==undefined;name=notxml&&jQuery.props[name]||name;if(elem.tagName){var special=/href|src|style/.test(name);if(name=="selected"&&elem.parentNode)elem.parentNode.selectedIndex;if(name in elem&&notxml&&!special){if(set){if(name=="type"&&jQuery.nodeName(elem,"input")&&elem.parentNode)throw"type property can't be changed";elem[name]=value}if(jQuery.nodeName(elem,"form")&&elem.getAttributeNode(name))return elem.getAttributeNode(name).nodeValue;if(name=="tabIndex"){var attributeNode=elem.getAttributeNode("tabIndex");return attributeNode&&attributeNode.specified?attributeNode.value:elem.nodeName.match(/(button|input|object|select|textarea)/i)?0:elem.nodeName.match(/^(a|area)$/i)&&elem.href?0:undefined}return elem[name]}if(!jQuery.support.style&&notxml&&name=="style")return jQuery.attr(elem.style,"cssText",value);if(set)elem.setAttribute(name,""+value);var attr=!jQuery.support.hrefNormalized&&notxml&&special?elem.getAttribute(name,2):elem.getAttribute(name);return attr===null?undefined:attr}if(!jQuery.support.opacity&&name=="opacity"){if(set){elem.zoom=1;elem.filter=(elem.filter||"").replace(/alpha\([^)]*\)/,"")+(parseInt(value)+''=="NaN"?"":"alpha(opacity="+value*100+")")}return elem.filter&&elem.filter.indexOf("opacity=")>=0?(parseFloat(elem.filter.match(/opacity=([^)]*)/)[1])/100)+'':""}name=name.replace(/-([a-z])/ig,function(all,letter){return letter.toUpperCase()});if(set)elem[name]=value;return elem[name]},trim:function(text){return(text||"").replace(/^\s+|\s+$/g,"")},makeArray:function(array){var ret=[];if(array!=null){var i=array.length;if(i==null||typeof array==="string"||jQuery.isFunction(array)||array.setInterval)ret[0]=array;else while(i)ret[--i]=array[i]}return ret},inArray:function(elem,array){for(var i=0,length=array.length;i<length;i++)if(array[i]===elem)return i;return-1},merge:function(first,second){var i=0,elem,pos=first.length;if(!jQuery.support.getAll){while((elem=second[i++])!=null)if(elem.nodeType!=8)first[pos++]=elem}else while((elem=second[i++])!=null)first[pos++]=elem;return first},unique:function(array){var ret=[],done={};try{for(var i=0,length=array.length;i<length;i++){var id=jQuery.data(array[i]);if(!done[id]){done[id]=true;ret.push(array[i])}}}catch(e){ret=array}return ret},grep:function(elems,callback,inv){var ret=[];for(var i=0,length=elems.length;i<length;i++)if(!inv!=!callback(elems[i],i))ret.push(elems[i]);return ret},map:function(elems,callback){var ret=[];for(var i=0,length=elems.length;i<length;i++){var value=callback(elems[i],i);if(value!=null)ret[ret.length]=value}return ret.concat.apply([],ret)}});var userAgent=navigator.userAgent.toLowerCase();jQuery.browser={version:(userAgent.match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||[0,'0'])[1],safari:/webkit/.test(userAgent),opera:/opera/.test(userAgent),msie:/msie/.test(userAgent)&&!/opera/.test(userAgent),mozilla:/mozilla/.test(userAgent)&&!/(compatible|webkit)/.test(userAgent)};jQuery.each({parent:function(elem){return elem.parentNode},parents:function(elem){return jQuery.dir(elem,"parentNode")},next:function(elem){return jQuery.nth(elem,2,"nextSibling")},prev:function(elem){return jQuery.nth(elem,2,"previousSibling")},nextAll:function(elem){return jQuery.dir(elem,"nextSibling")},prevAll:function(elem){return jQuery.dir(elem,"previousSibling")},siblings:function(elem){return jQuery.sibling(elem.parentNode.firstChild,elem)},children:function(elem){return jQuery.sibling(elem.firstChild)},contents:function(elem){return jQuery.nodeName(elem,"iframe")?elem.contentDocument||elem.contentWindow.document:jQuery.makeArray(elem.childNodes)}},function(name,fn){jQuery.fn[name]=function(selector){var ret=jQuery.map(this,fn);if(selector&&typeof selector=="string")ret=jQuery.multiFilter(selector,ret);return this.pushStack(jQuery.unique(ret),name,selector)}});jQuery.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(name,original){jQuery.fn[name]=function(selector){var ret=[],insert=jQuery(selector);for(var i=0,l=insert.length;i<l;i++){var elems=(i>0?this.clone(true):this).get();jQuery.fn[original].apply(jQuery(insert[i]),elems);ret=ret.concat(elems)}return this.pushStack(ret,name,selector)}});jQuery.each({removeAttr:function(name){jQuery.attr(this,name,"");if(this.nodeType==1)this.removeAttribute(name)},addClass:function(classNames){jQuery.className.add(this,classNames)},removeClass:function(classNames){jQuery.className.remove(this,classNames)},toggleClass:function(classNames,state){if(typeof state!=="boolean")state=!jQuery.className.has(this,classNames);jQuery.className[state?"add":"remove"](this,classNames)},remove:function(selector){if(!selector||jQuery.filter(selector,[this]).length){jQuery("*",this).add([this]).each(function(){jQuery.event.remove(this);jQuery.removeData(this)});if(this.parentNode)this.parentNode.removeChild(this)}},empty:function(){jQuery(this).children().remove();while(this.firstChild)this.removeChild(this.firstChild)}},function(name,fn){jQuery.fn[name]=function(){return this.each(fn,arguments)}});function num(elem,prop){return elem[0]&&parseInt(jQuery.curCSS(elem[0],prop,true),10)||0}var expando="jQuery"+now(),uuid=0,windowData={};jQuery.extend({cache:{},data:function(elem,name,data){elem=elem==window?windowData:elem;var id=elem[expando];if(!id)id=elem[expando]=++uuid;if(name&&!jQuery.cache[id])jQuery.cache[id]={};if(data!==undefined)jQuery.cache[id][name]=data;return name?jQuery.cache[id][name]:id},removeData:function(elem,name){elem=elem==window?windowData:elem;var id=elem[expando];if(name){if(jQuery.cache[id]){delete jQuery.cache[id][name];name="";for(name in jQuery.cache[id])break;if(!name)jQuery.removeData(elem)}}else{try{delete elem[expando]}catch(e){if(elem.removeAttribute)elem.removeAttribute(expando)}delete jQuery.cache[id]}},queue:function(elem,type,data){if(elem){type=(type||"fx")+"queue";var q=jQuery.data(elem,type);if(!q||jQuery.isArray(data))q=jQuery.data(elem,type,jQuery.makeArray(data));else if(data)q.push(data)}return q},dequeue:function(elem,type){var queue=jQuery.queue(elem,type),fn=queue.shift();if(!type||type==="fx")fn=queue[0];if(fn!==undefined)fn.call(elem)}});jQuery.fn.extend({data:function(key,value){var parts=key.split(".");parts[1]=parts[1]?"."+parts[1]:"";if(value===undefined){var data=this.triggerHandler("getData"+parts[1]+"!",[parts[0]]);if(data===undefined&&this.length)data=jQuery.data(this[0],key);return data===undefined&&parts[1]?this.data(parts[0]):data}else return this.trigger("setData"+parts[1]+"!",[parts[0],value]).each(function(){jQuery.data(this,key,value)})},removeData:function(key){return this.each(function(){jQuery.removeData(this,key)})},queue:function(type,data){if(typeof type!=="string"){data=type;type="fx"}if(data===undefined)return jQuery.queue(this[0],type);return this.each(function(){var queue=jQuery.queue(this,type,data);if(type=="fx"&&queue.length==1)queue[0].call(this)})},dequeue:function(type){return this.each(function(){jQuery.dequeue(this,type)})}});(function(){var chunker=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?/g,done=0,toString=Object.prototype.toString;var Sizzle=function(selector,context,results,seed){results=results||[];context=context||document;if(context.nodeType!==1&&context.nodeType!==9)return[];if(!selector||typeof selector!=="string"){return results}var parts=[],m,set,checkSet,check,mode,extra,prune=true;chunker.lastIndex=0;while((m=chunker.exec(selector))!==null){parts.push(m[1]);if(m[2]){extra=RegExp.rightContext;break}}if(parts.length>1&&origPOS.exec(selector)){if(parts.length===2&&Expr.relative[parts[0]]){set=posProcess(parts[0]+parts[1],context)}else{set=Expr.relative[parts[0]]?[context]:Sizzle(parts.shift(),context);while(parts.length){selector=parts.shift();if(Expr.relative[selector])selector+=parts.shift();set=posProcess(selector,set)}}}else{var ret=seed?{expr:parts.pop(),set:makeArray(seed)}:Sizzle.find(parts.pop(),parts.length===1&&context.parentNode?context.parentNode:context,isXML(context));set=Sizzle.filter(ret.expr,ret.set);if(parts.length>0){checkSet=makeArray(set)}else{prune=false}while(parts.length){var cur=parts.pop(),pop=cur;if(!Expr.relative[cur]){cur=""}else{pop=parts.pop()}if(pop==null){pop=context}Expr.relative[cur](checkSet,pop,isXML(context))}}if(!checkSet){checkSet=set}if(!checkSet){throw"Syntax error, unrecognized expression: "+(cur||selector)}if(toString.call(checkSet)==="[object Array]"){if(!prune){results.push.apply(results,checkSet)}else if(context.nodeType===1){for(var i=0;checkSet[i]!=null;i++){if(checkSet[i]&&(checkSet[i]===true||checkSet[i].nodeType===1&&contains(context,checkSet[i]))){results.push(set[i])}}}else{for(var i=0;checkSet[i]!=null;i++){if(checkSet[i]&&checkSet[i].nodeType===1){results.push(set[i])}}}}else{makeArray(checkSet,results)}if(extra){Sizzle(extra,context,results,seed);if(sortOrder){hasDuplicate=false;results.sort(sortOrder);if(hasDuplicate){for(var i=1;i<results.length;i++){if(results[i]===results[i-1]){results.splice(i--,1)}}}}}return results};Sizzle.matches=function(expr,set){return Sizzle(expr,null,null,set)};Sizzle.find=function(expr,context,isXML){var set,match;if(!expr){return[]}for(var i=0,l=Expr.order.length;i<l;i++){var type=Expr.order[i],match;if((match=Expr.match[type].exec(expr))){var left=RegExp.leftContext;if(left.substr(left.length-1)!=="\\"){match[1]=(match[1]||"").replace(/\\/g,"");set=Expr.find[type](match,context,isXML);if(set!=null){expr=expr.replace(Expr.match[type],"");break}}}}if(!set){set=context.getElementsByTagName("*")}return{set:set,expr:expr}};Sizzle.filter=function(expr,set,inplace,not){var old=expr,result=[],curLoop=set,match,anyFound,isXMLFilter=set&&set[0]&&isXML(set[0]);while(expr&&set.length){for(var type in Expr.filter){if((match=Expr.match[type].exec(expr))!=null){var filter=Expr.filter[type],found,item;anyFound=false;if(curLoop==result){result=[]}if(Expr.preFilter[type]){match=Expr.preFilter[type](match,curLoop,inplace,result,not,isXMLFilter);if(!match){anyFound=found=true}else if(match===true){continue}}if(match){for(var i=0;(item=curLoop[i])!=null;i++){if(item){found=filter(item,match,i,curLoop);var pass=not^!!found;if(inplace&&found!=null){if(pass){anyFound=true}else{curLoop[i]=false}}else if(pass){result.push(item);anyFound=true}}}}if(found!==undefined){if(!inplace){curLoop=result}expr=expr.replace(Expr.match[type],"");if(!anyFound){return[]}break}}}if(expr==old){if(anyFound==null){throw"Syntax error, unrecognized expression: "+expr}else{break}}old=expr}return curLoop};var Expr=Sizzle.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF_-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF_-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF_-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF_-]|\\.)+)\s*(?:(\S?=)\s*(['"]*)(.*?)\3|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*_-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\((even|odd|[\dn+-]*)\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF_-]|\\.)+)(?:\((['"]*)((?:\([^\)]+\)|[^\2\(\)]*)+)\2\))?/},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(elem){return elem.getAttribute("href")}},relative:{"+":function(checkSet,part,isXML){var isPartStr=typeof part==="string",isTag=isPartStr&&!/\W/.test(part),isPartStrNotTag=isPartStr&&!isTag;if(isTag&&!isXML){part=part.toUpperCase()}for(var i=0,l=checkSet.length,elem;i<l;i++){if((elem=checkSet[i])){while((elem=elem.previousSibling)&&elem.nodeType!==1){}checkSet[i]=isPartStrNotTag||elem&&elem.nodeName===part?elem||false:elem===part}}if(isPartStrNotTag){Sizzle.filter(part,checkSet,true)}},">":function(checkSet,part,isXML){var isPartStr=typeof part==="string";if(isPartStr&&!/\W/.test(part)){part=isXML?part:part.toUpperCase();for(var i=0,l=checkSet.length;i<l;i++){var elem=checkSet[i];if(elem){var parent=elem.parentNode;checkSet[i]=parent.nodeName===part?parent:false}}}else{for(var i=0,l=checkSet.length;i<l;i++){var elem=checkSet[i];if(elem){checkSet[i]=isPartStr?elem.parentNode:elem.parentNode===part}}if(isPartStr){Sizzle.filter(part,checkSet,true)}}},"":function(checkSet,part,isXML){var doneName=done++,checkFn=dirCheck;if(!part.match(/\W/)){var nodeCheck=part=isXML?part:part.toUpperCase();checkFn=dirNodeCheck}checkFn("parentNode",part,doneName,checkSet,nodeCheck,isXML)},"~":function(checkSet,part,isXML){var doneName=done++,checkFn=dirCheck;if(typeof part==="string"&&!part.match(/\W/)){var nodeCheck=part=isXML?part:part.toUpperCase();checkFn=dirNodeCheck}checkFn("previousSibling",part,doneName,checkSet,nodeCheck,isXML)}},find:{ID:function(match,context,isXML){if(typeof context.getElementById!=="undefined"&&!isXML){var m=context.getElementById(match[1]);return m?[m]:[]}},NAME:function(match,context,isXML){if(typeof context.getElementsByName!=="undefined"){var ret=[],results=context.getElementsByName(match[1]);for(var i=0,l=results.length;i<l;i++){if(results[i].getAttribute("name")===match[1]){ret.push(results[i])}}return ret.length===0?null:ret}},TAG:function(match,context){return context.getElementsByTagName(match[1])}},preFilter:{CLASS:function(match,curLoop,inplace,result,not,isXML){match=" "+match[1].replace(/\\/g,"")+" ";if(isXML){return match}for(var i=0,elem;(elem=curLoop[i])!=null;i++){if(elem){if(not^(elem.className&&(" "+elem.className+" ").indexOf(match)>=0)){if(!inplace)result.push(elem)}else if(inplace){curLoop[i]=false}}}return false},ID:function(match){return match[1].replace(/\\/g,"")},TAG:function(match,curLoop){for(var i=0;curLoop[i]===false;i++){}return curLoop[i]&&isXML(curLoop[i])?match[1]:match[1].toUpperCase()},CHILD:function(match){if(match[1]=="nth"){var test=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(match[2]=="even"&&"2n"||match[2]=="odd"&&"2n+1"||!/\D/.test(match[2])&&"0n+"+match[2]||match[2]);match[2]=(test[1]+(test[2]||1))-0;match[3]=test[3]-0}match[0]=done++;return match},ATTR:function(match,curLoop,inplace,result,not,isXML){var name=match[1].replace(/\\/g,"");if(!isXML&&Expr.attrMap[name]){match[1]=Expr.attrMap[name]}if(match[2]==="~="){match[4]=" "+match[4]+" "}return match},PSEUDO:function(match,curLoop,inplace,result,not){if(match[1]==="not"){if(match[3].match(chunker).length>1||/^\w/.test(match[3])){match[3]=Sizzle(match[3],null,null,curLoop)}else{var ret=Sizzle.filter(match[3],curLoop,inplace,true^not);if(!inplace){result.push.apply(result,ret)}return false}}else if(Expr.match.POS.test(match[0])||Expr.match.CHILD.test(match[0])){return true}return match},POS:function(match){match.unshift(true);return match}},filters:{enabled:function(elem){return elem.disabled===false&&elem.type!=="hidden"},disabled:function(elem){return elem.disabled===true},checked:function(elem){return elem.checked===true},selected:function(elem){elem.parentNode.selectedIndex;return elem.selected===true},parent:function(elem){return!!elem.firstChild},empty:function(elem){return!elem.firstChild},has:function(elem,i,match){return!!Sizzle(match[3],elem).length},header:function(elem){return/h\d/i.test(elem.nodeName)},text:function(elem){return"text"===elem.type},radio:function(elem){return"radio"===elem.type},checkbox:function(elem){return"checkbox"===elem.type},file:function(elem){return"file"===elem.type},password:function(elem){return"password"===elem.type},submit:function(elem){return"submit"===elem.type},image:function(elem){return"image"===elem.type},reset:function(elem){return"reset"===elem.type},button:function(elem){return"button"===elem.type||elem.nodeName.toUpperCase()==="BUTTON"},input:function(elem){return/input|select|textarea|button/i.test(elem.nodeName)}},setFilters:{first:function(elem,i){return i===0},last:function(elem,i,match,array){return i===array.length-1},even:function(elem,i){return i%2===0},odd:function(elem,i){return i%2===1},lt:function(elem,i,match){return i<match[3]-0},gt:function(elem,i,match){return i>match[3]-0},nth:function(elem,i,match){return match[3]-0==i},eq:function(elem,i,match){return match[3]-0==i}},filter:{PSEUDO:function(elem,match,i,array){var name=match[1],filter=Expr.filters[name];if(filter){return filter(elem,i,match,array)}else if(name==="contains"){return(elem.textContent||elem.innerText||"").indexOf(match[3])>=0}else if(name==="not"){var not=match[3];for(var i=0,l=not.length;i<l;i++){if(not[i]===elem){return false}}return true}},CHILD:function(elem,match){var type=match[1],node=elem;switch(type){case'only':case'first':while(node=node.previousSibling){if(node.nodeType===1)return false}if(type=='first')return true;node=elem;case'last':while(node=node.nextSibling){if(node.nodeType===1)return false}return true;case'nth':var first=match[2],last=match[3];if(first==1&&last==0){return true}var doneName=match[0],parent=elem.parentNode;if(parent&&(parent.sizcache!==doneName||!elem.nodeIndex)){var count=0;for(node=parent.firstChild;node;node=node.nextSibling){if(node.nodeType===1){node.nodeIndex=++count}}parent.sizcache=doneName}var diff=elem.nodeIndex-last;if(first==0){return diff==0}else{return(diff%first==0&&diff/first>=0)}}},ID:function(elem,match){return elem.nodeType===1&&elem.getAttribute("id")===match},TAG:function(elem,match){return(match==="*"&&elem.nodeType===1)||elem.nodeName===match},CLASS:function(elem,match){return(" "+(elem.className||elem.getAttribute("class"))+" ").indexOf(match)>-1},ATTR:function(elem,match){var name=match[1],result=Expr.attrHandle[name]?Expr.attrHandle[name](elem):elem[name]!=null?elem[name]:elem.getAttribute(name),value=result+"",type=match[2],check=match[4];return result==null?type==="!=":type==="="?value===check:type==="*="?value.indexOf(check)>=0:type==="~="?(" "+value+" ").indexOf(check)>=0:!check?value&&result!==false:type==="!="?value!=check:type==="^="?value.indexOf(check)===0:type==="$="?value.substr(value.length-check.length)===check:type==="|="?value===check||value.substr(0,check.length+1)===check+"-":false},POS:function(elem,match,i,array){var name=match[2],filter=Expr.setFilters[name];if(filter){return filter(elem,i,match,array)}}}};var origPOS=Expr.match.POS;for(var type in Expr.match){Expr.match[type]=RegExp(Expr.match[type].source+/(?![^\[]*\])(?![^\(]*\))/.source)}var makeArray=function(array,results){array=Array.prototype.slice.call(array);if(results){results.push.apply(results,array);return results}return array};try{Array.prototype.slice.call(document.documentElement.childNodes)}catch(e){makeArray=function(array,results){var ret=results||[];if(toString.call(array)==="[object Array]"){Array.prototype.push.apply(ret,array)}else{if(typeof array.length==="number"){for(var i=0,l=array.length;i<l;i++){ret.push(array[i])}}else{for(var i=0;array[i];i++){ret.push(array[i])}}}return ret}}var sortOrder;if(document.documentElement.compareDocumentPosition){sortOrder=function(a,b){var ret=a.compareDocumentPosition(b)&4?-1:a===b?0:1;if(ret===0){hasDuplicate=true}return ret}}else if("sourceIndex"in document.documentElement){sortOrder=function(a,b){var ret=a.sourceIndex-b.sourceIndex;if(ret===0){hasDuplicate=true}return ret}}else if(document.createRange){sortOrder=function(a,b){var aRange=a.ownerDocument.createRange(),bRange=b.ownerDocument.createRange();aRange.selectNode(a);aRange.collapse(true);bRange.selectNode(b);bRange.collapse(true);var ret=aRange.compareBoundaryPoints(Range.START_TO_END,bRange);if(ret===0){hasDuplicate=true}return ret}}(function(){var form=document.createElement("form"),id="script"+(new Date).getTime();form.innerHTML="<input name='"+id+"'/>";var root=document.documentElement;root.insertBefore(form,root.firstChild);if(!!document.getElementById(id)){Expr.find.ID=function(match,context,isXML){if(typeof context.getElementById!=="undefined"&&!isXML){var m=context.getElementById(match[1]);return m?m.id===match[1]||typeof m.getAttributeNode!=="undefined"&&m.getAttributeNode("id").nodeValue===match[1]?[m]:undefined:[]}};Expr.filter.ID=function(elem,match){var node=typeof elem.getAttributeNode!=="undefined"&&elem.getAttributeNode("id");return elem.nodeType===1&&node&&node.nodeValue===match}}root.removeChild(form)})();(function(){var div=document.createElement("div");div.appendChild(document.createComment(""));if(div.getElementsByTagName("*").length>0){Expr.find.TAG=function(match,context){var results=context.getElementsByTagName(match[1]);if(match[1]==="*"){var tmp=[];for(var i=0;results[i];i++){if(results[i].nodeType===1){tmp.push(results[i])}}results=tmp}return results}}div.innerHTML="<a href='#'></a>";if(div.firstChild&&typeof div.firstChild.getAttribute!=="undefined"&&div.firstChild.getAttribute("href")!=="#"){Expr.attrHandle.href=function(elem){return elem.getAttribute("href",2)}}})();if(document.querySelectorAll)(function(){var oldSizzle=Sizzle,div=document.createElement("div");div.innerHTML="<p class='TEST'></p>";if(div.querySelectorAll&&div.querySelectorAll(".TEST").length===0){return}Sizzle=function(query,context,extra,seed){context=context||document;if(!seed&&context.nodeType===9&&!isXML(context)){try{return makeArray(context.querySelectorAll(query),extra)}catch(e){}}return oldSizzle(query,context,extra,seed)};Sizzle.find=oldSizzle.find;Sizzle.filter=oldSizzle.filter;Sizzle.selectors=oldSizzle.selectors;Sizzle.matches=oldSizzle.matches})();if(document.getElementsByClassName&&document.documentElement.getElementsByClassName)(function(){var div=document.createElement("div");div.innerHTML="<div class='test e'></div><div class='test'></div>";if(div.getElementsByClassName("e").length===0)return;div.lastChild.className="e";if(div.getElementsByClassName("e").length===1)return;Expr.order.splice(1,0,"CLASS");Expr.find.CLASS=function(match,context,isXML){if(typeof context.getElementsByClassName!=="undefined"&&!isXML){return context.getElementsByClassName(match[1])}}})();function dirNodeCheck(dir,cur,doneName,checkSet,nodeCheck,isXML){var sibDir=dir=="previousSibling"&&!isXML;for(var i=0,l=checkSet.length;i<l;i++){var elem=checkSet[i];if(elem){if(sibDir&&elem.nodeType===1){elem.sizcache=doneName;elem.sizset=i}elem=elem[dir];var match=false;while(elem){if(elem.sizcache===doneName){match=checkSet[elem.sizset];break}if(elem.nodeType===1&&!isXML){elem.sizcache=doneName;elem.sizset=i}if(elem.nodeName===cur){match=elem;break}elem=elem[dir]}checkSet[i]=match}}}function dirCheck(dir,cur,doneName,checkSet,nodeCheck,isXML){var sibDir=dir=="previousSibling"&&!isXML;for(var i=0,l=checkSet.length;i<l;i++){var elem=checkSet[i];if(elem){if(sibDir&&elem.nodeType===1){elem.sizcache=doneName;elem.sizset=i}elem=elem[dir];var match=false;while(elem){if(elem.sizcache===doneName){match=checkSet[elem.sizset];break}if(elem.nodeType===1){if(!isXML){elem.sizcache=doneName;elem.sizset=i}if(typeof cur!=="string"){if(elem===cur){match=true;break}}else if(Sizzle.filter(cur,[elem]).length>0){match=elem;break}}elem=elem[dir]}checkSet[i]=match}}}var contains=document.compareDocumentPosition?function(a,b){return a.compareDocumentPosition(b)&16}:function(a,b){return a!==b&&(a.contains?a.contains(b):true)};var isXML=function(elem){return elem.nodeType===9&&elem.documentElement.nodeName!=="HTML"||!!elem.ownerDocument&&isXML(elem.ownerDocument)};var posProcess=function(selector,context){var tmpSet=[],later="",match,root=context.nodeType?[context]:context;while((match=Expr.match.PSEUDO.exec(selector))){later+=match[0];selector=selector.replace(Expr.match.PSEUDO,"")}selector=Expr.relative[selector]?selector+"*":selector;for(var i=0,l=root.length;i<l;i++){Sizzle(selector,root[i],tmpSet)}return Sizzle.filter(later,tmpSet)};jQuery.find=Sizzle;jQuery.filter=Sizzle.filter;jQuery.expr=Sizzle.selectors;jQuery.expr[":"]=jQuery.expr.filters;Sizzle.selectors.filters.hidden=function(elem){return elem.offsetWidth===0||elem.offsetHeight===0};Sizzle.selectors.filters.visible=function(elem){return elem.offsetWidth>0||elem.offsetHeight>0};Sizzle.selectors.filters.animated=function(elem){return jQuery.grep(jQuery.timers,function(fn){return elem===fn.elem}).length};jQuery.multiFilter=function(expr,elems,not){if(not){expr=":not("+expr+")"}return Sizzle.matches(expr,elems)};jQuery.dir=function(elem,dir){var matched=[],cur=elem[dir];while(cur&&cur!=document){if(cur.nodeType==1)matched.push(cur);cur=cur[dir]}return matched};jQuery.nth=function(cur,result,dir,elem){result=result||1;var num=0;for(;cur;cur=cur[dir])if(cur.nodeType==1&&++num==result)break;return cur};jQuery.sibling=function(n,elem){var r=[];for(;n;n=n.nextSibling){if(n.nodeType==1&&n!=elem)r.push(n)}return r};return;window.Sizzle=Sizzle})();jQuery.event={add:function(elem,types,handler,data){if(elem.nodeType==3||elem.nodeType==8)return;if(elem.setInterval&&elem!=window)elem=window;if(!handler.guid)handler.guid=this.guid++;if(data!==undefined){var fn=handler;handler=this.proxy(fn);handler.data=data}var events=jQuery.data(elem,"events")||jQuery.data(elem,"events",{}),handle=jQuery.data(elem,"handle")||jQuery.data(elem,"handle",function(){return typeof jQuery!=="undefined"&&!jQuery.event.triggered?jQuery.event.handle.apply(arguments.callee.elem,arguments):undefined});handle.elem=elem;jQuery.each(types.split(/\s+/),function(index,type){var namespaces=type.split(".");type=namespaces.shift();handler.type=namespaces.slice().sort().join(".");var handlers=events[type];if(jQuery.event.specialAll[type])jQuery.event.specialAll[type].setup.call(elem,data,namespaces);if(!handlers){handlers=events[type]={};if(!jQuery.event.special[type]||jQuery.event.special[type].setup.call(elem,data,namespaces)===false){if(elem.addEventListener)elem.addEventListener(type,handle,false);else if(elem.attachEvent)elem.attachEvent("on"+type,handle)}}handlers[handler.guid]=handler;jQuery.event.global[type]=true});elem=null},guid:1,global:{},remove:function(elem,types,handler){if(elem.nodeType==3||elem.nodeType==8)return;var events=jQuery.data(elem,"events"),ret,index;if(events){if(types===undefined||(typeof types==="string"&&types.charAt(0)=="."))for(var type in events)this.remove(elem,type+(types||""));else{if(types.type){handler=types.handler;types=types.type}jQuery.each(types.split(/\s+/),function(index,type){var namespaces=type.split(".");type=namespaces.shift();var namespace=RegExp("(^|\\.)"+namespaces.slice().sort().join(".*\\.")+"(\\.|$)");if(events[type]){if(handler)delete events[type][handler.guid];else for(var handle in events[type])if(namespace.test(events[type][handle].type))delete events[type][handle];if(jQuery.event.specialAll[type])jQuery.event.specialAll[type].teardown.call(elem,namespaces);for(ret in events[type])break;if(!ret){if(!jQuery.event.special[type]||jQuery.event.special[type].teardown.call(elem,namespaces)===false){if(elem.removeEventListener)elem.removeEventListener(type,jQuery.data(elem,"handle"),false);else if(elem.detachEvent)elem.detachEvent("on"+type,jQuery.data(elem,"handle"))}ret=null;delete events[type]}}})}for(ret in events)break;if(!ret){var handle=jQuery.data(elem,"handle");if(handle)handle.elem=null;jQuery.removeData(elem,"events");jQuery.removeData(elem,"handle")}}},trigger:function(event,data,elem,bubbling){var type=event.type||event;if(!bubbling){event=typeof event==="object"?event[expando]?event:jQuery.extend(jQuery.Event(type),event):jQuery.Event(type);if(type.indexOf("!")>=0){event.type=type=type.slice(0,-1);event.exclusive=true}if(!elem){event.stopPropagation();if(this.global[type])jQuery.each(jQuery.cache,function(){if(this.events&&this.events[type])jQuery.event.trigger(event,data,this.handle.elem)})}if(!elem||elem.nodeType==3||elem.nodeType==8)return undefined;event.result=undefined;event.target=elem;data=jQuery.makeArray(data);data.unshift(event)}event.currentTarget=elem;var handle=jQuery.data(elem,"handle");if(handle)handle.apply(elem,data);if((!elem[type]||(jQuery.nodeName(elem,'a')&&type=="click"))&&elem["on"+type]&&elem["on"+type].apply(elem,data)===false)event.result=false;if(!bubbling&&elem[type]&&!event.isDefaultPrevented()&&!(jQuery.nodeName(elem,'a')&&type=="click")){this.triggered=true;try{elem[type]()}catch(e){}}this.triggered=false;if(!event.isPropagationStopped()){var parent=elem.parentNode||elem.ownerDocument;if(parent)jQuery.event.trigger(event,data,parent,true)}},handle:function(event){var all,handlers;event=arguments[0]=jQuery.event.fix(event||window.event);event.currentTarget=this;var namespaces=event.type.split(".");event.type=namespaces.shift();all=!namespaces.length&&!event.exclusive;var namespace=RegExp("(^|\\.)"+namespaces.slice().sort().join(".*\\.")+"(\\.|$)");handlers=(jQuery.data(this,"events")||{})[event.type];for(var j in handlers){var handler=handlers[j];if(all||namespace.test(handler.type)){event.handler=handler;event.data=handler.data;var ret=handler.apply(this,arguments);if(ret!==undefined){event.result=ret;if(ret===false){event.preventDefault();event.stopPropagation()}}if(event.isImmediatePropagationStopped())break}}},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode metaKey newValue originalTarget pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),fix:function(event){if(event[expando])return event;var originalEvent=event;event=jQuery.Event(originalEvent);for(var i=this.props.length,prop;i;){prop=this.props[--i];event[prop]=originalEvent[prop]}if(!event.target)event.target=event.srcElement||document;if(event.target.nodeType==3)event.target=event.target.parentNode;if(!event.relatedTarget&&event.fromElement)event.relatedTarget=event.fromElement==event.target?event.toElement:event.fromElement;if(event.pageX==null&&event.clientX!=null){var doc=document.documentElement,body=document.body;event.pageX=event.clientX+(doc&&doc.scrollLeft||body&&body.scrollLeft||0)-(doc.clientLeft||0);event.pageY=event.clientY+(doc&&doc.scrollTop||body&&body.scrollTop||0)-(doc.clientTop||0)}if(!event.which&&((event.charCode||event.charCode===0)?event.charCode:event.keyCode))event.which=event.charCode||event.keyCode;if(!event.metaKey&&event.ctrlKey)event.metaKey=event.ctrlKey;if(!event.which&&event.button)event.which=(event.button&1?1:(event.button&2?3:(event.button&4?2:0)));return event},proxy:function(fn,proxy){proxy=proxy||function(){return fn.apply(this,arguments)};proxy.guid=fn.guid=fn.guid||proxy.guid||this.guid++;return proxy},special:{ready:{setup:bindReady,teardown:function(){}}},specialAll:{live:{setup:function(selector,namespaces){jQuery.event.add(this,namespaces[0],liveHandler)},teardown:function(namespaces){if(namespaces.length){var remove=0,name=RegExp("(^|\\.)"+namespaces[0]+"(\\.|$)");jQuery.each((jQuery.data(this,"events").live||{}),function(){if(name.test(this.type))remove++});if(remove<1)jQuery.event.remove(this,namespaces[0],liveHandler)}}}}};jQuery.Event=function(src){if(!this.preventDefault)return new jQuery.Event(src);if(src&&src.type){this.originalEvent=src;this.type=src.type}else this.type=src;this.timeStamp=now();this[expando]=true};function returnFalse(){return false}function returnTrue(){return true}jQuery.Event.prototype={preventDefault:function(){this.isDefaultPrevented=returnTrue;var e=this.originalEvent;if(!e)return;if(e.preventDefault)e.preventDefault();e.returnValue=false},stopPropagation:function(){this.isPropagationStopped=returnTrue;var e=this.originalEvent;if(!e)return;if(e.stopPropagation)e.stopPropagation();e.cancelBubble=true},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=returnTrue;this.stopPropagation()},isDefaultPrevented:returnFalse,isPropagationStopped:returnFalse,isImmediatePropagationStopped:returnFalse};var withinElement=function(event){var parent=event.relatedTarget;while(parent&&parent!=this)try{parent=parent.parentNode}catch(e){parent=this}if(parent!=this){event.type=event.data;jQuery.event.handle.apply(this,arguments)}};jQuery.each({mouseover:'mouseenter',mouseout:'mouseleave'},function(orig,fix){jQuery.event.special[fix]={setup:function(){jQuery.event.add(this,orig,withinElement,fix)},teardown:function(){jQuery.event.remove(this,orig,withinElement)}}});jQuery.fn.extend({bind:function(type,data,fn){return type=="unload"?this.one(type,data,fn):this.each(function(){jQuery.event.add(this,type,fn||data,fn&&data)})},one:function(type,data,fn){var one=jQuery.event.proxy(fn||data,function(event){jQuery(this).unbind(event,one);return(fn||data).apply(this,arguments)});return this.each(function(){jQuery.event.add(this,type,one,fn&&data)})},unbind:function(type,fn){return this.each(function(){jQuery.event.remove(this,type,fn)})},trigger:function(type,data){return this.each(function(){jQuery.event.trigger(type,data,this)})},triggerHandler:function(type,data){if(this[0]){var event=jQuery.Event(type);event.preventDefault();event.stopPropagation();jQuery.event.trigger(event,data,this[0]);return event.result}},toggle:function(fn){var args=arguments,i=1;while(i<args.length)jQuery.event.proxy(fn,args[i++]);return this.click(jQuery.event.proxy(fn,function(event){this.lastToggle=(this.lastToggle||0)%i;event.preventDefault();return args[this.lastToggle++].apply(this,arguments)||false}))},hover:function(fnOver,fnOut){return this.mouseenter(fnOver).mouseleave(fnOut)},ready:function(fn){bindReady();if(jQuery.isReady)fn.call(document,jQuery);else jQuery.readyList.push(fn);return this},live:function(type,fn){var proxy=jQuery.event.proxy(fn);proxy.guid+=this.selector+type;jQuery(document).bind(liveConvert(type,this.selector),this.selector,proxy);return this},die:function(type,fn){jQuery(document).unbind(liveConvert(type,this.selector),fn?{guid:fn.guid+this.selector+type}:null);return this}});function liveHandler(event){var check=RegExp("(^|\\.)"+event.type+"(\\.|$)"),stop=true,elems=[];jQuery.each(jQuery.data(this,"events").live||[],function(i,fn){if(check.test(fn.type)){var elem=jQuery(event.target).closest(fn.data)[0];if(elem)elems.push({elem:elem,fn:fn})}});elems.sort(function(a,b){return jQuery.data(a.elem,"closest")-jQuery.data(b.elem,"closest")});jQuery.each(elems,function(){if(this.fn.call(this.elem,event,this.fn.data)===false)return(stop=false)});return stop}function liveConvert(type,selector){return["live",type,selector.replace(/\./g,"`").replace(/ /g,"|")].join(".")}jQuery.extend({isReady:false,readyList:[],ready:function(){if(!jQuery.isReady){jQuery.isReady=true;if(jQuery.readyList){jQuery.each(jQuery.readyList,function(){this.call(document,jQuery)});jQuery.readyList=null}jQuery(document).triggerHandler("ready")}}});var readyBound=false;function bindReady(){if(readyBound)return;readyBound=true;if(document.addEventListener){document.addEventListener("DOMContentLoaded",function(){document.removeEventListener("DOMContentLoaded",arguments.callee,false);jQuery.ready()},false)}else if(document.attachEvent){document.attachEvent("onreadystatechange",function(){if(document.readyState==="complete"){document.detachEvent("onreadystatechange",arguments.callee);jQuery.ready()}});if(document.documentElement.doScroll&&window==window.top)(function(){if(jQuery.isReady)return;try{document.documentElement.doScroll("left")}catch(error){setTimeout(arguments.callee,0);return}jQuery.ready()})()}jQuery.event.add(window,"load",jQuery.ready)}jQuery.each(("blur,focus,load,resize,scroll,unload,click,dblclick,"+"mousedown,mouseup,mousemove,mouseover,mouseout,mouseenter,mouseleave,"+"change,select,submit,keydown,keypress,keyup,error").split(","),function(i,name){jQuery.fn[name]=function(fn){return fn?this.bind(name,fn):this.trigger(name)}});jQuery(window).bind('unload',function(){for(var id in jQuery.cache)if(id!=1&&jQuery.cache[id].handle)jQuery.event.remove(jQuery.cache[id].handle.elem)});(function(){jQuery.support={};var root=document.documentElement,script=document.createElement("script"),div=document.createElement("div"),id="script"+(new Date).getTime();div.style.display="none";div.innerHTML='   <link/><table></table><a href="/a" style="color:red;float:left;opacity:.5;">a</a><select><option>text</option></select><object><param/></object>';var all=div.getElementsByTagName("*"),a=div.getElementsByTagName("a")[0];if(!all||!all.length||!a){return}jQuery.support={leadingWhitespace:div.firstChild.nodeType==3,tbody:!div.getElementsByTagName("tbody").length,objectAll:!!div.getElementsByTagName("object")[0].getElementsByTagName("*").length,htmlSerialize:!!div.getElementsByTagName("link").length,style:/red/.test(a.getAttribute("style")),hrefNormalized:a.getAttribute("href")==="/a",opacity:a.style.opacity==="0.5",cssFloat:!!a.style.cssFloat,scriptEval:false,noCloneEvent:true,boxModel:null};script.type="text/javascript";try{script.appendChild(document.createTextNode("window."+id+"=1;"))}catch(e){}root.insertBefore(script,root.firstChild);if(window[id]){jQuery.support.scriptEval=true;delete window[id]}root.removeChild(script);if(div.attachEvent&&div.fireEvent){div.attachEvent("onclick",function(){jQuery.support.noCloneEvent=false;div.detachEvent("onclick",arguments.callee)});div.cloneNode(true).fireEvent("onclick")}jQuery(function(){var div=document.createElement("div");div.style.width=div.style.paddingLeft="1px";document.body.appendChild(div);jQuery.boxModel=jQuery.support.boxModel=div.offsetWidth===2;document.body.removeChild(div).style.display='none'})})();var styleFloat=jQuery.support.cssFloat?"cssFloat":"styleFloat";jQuery.props={"for":"htmlFor","class":"className","float":styleFloat,cssFloat:styleFloat,styleFloat:styleFloat,readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",tabindex:"tabIndex"};jQuery.fn.extend({_load:jQuery.fn.load,load:function(url,params,callback){if(typeof url!=="string")return this._load(url);var off=url.indexOf(" ");if(off>=0){var selector=url.slice(off,url.length);url=url.slice(0,off)}var type="GET";if(params)if(jQuery.isFunction(params)){callback=params;params=null}else if(typeof params==="object"){params=jQuery.param(params);type="POST"}var self=this;jQuery.ajax({url:url,type:type,dataType:"html",data:params,complete:function(res,status){if(status=="success"||status=="notmodified")self.html(selector?jQuery("<div/>").append(res.responseText.replace(/<script(.|\s)*?\/script>/g,"")).find(selector):res.responseText);if(callback)self.each(callback,[res.responseText,status,res])}});return this},serialize:function(){return jQuery.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?jQuery.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||/select|textarea/i.test(this.nodeName)||/text|hidden|password|search/i.test(this.type))}).map(function(i,elem){var val=jQuery(this).val();return val==null?null:jQuery.isArray(val)?jQuery.map(val,function(val,i){return{name:elem.name,value:val}}):{name:elem.name,value:val}}).get()}});jQuery.each("ajaxStart,ajaxStop,ajaxComplete,ajaxError,ajaxSuccess,ajaxSend".split(","),function(i,o){jQuery.fn[o]=function(f){return this.bind(o,f)}});var jsc=now();jQuery.extend({get:function(url,data,callback,type){if(jQuery.isFunction(data)){callback=data;data=null}return jQuery.ajax({type:"GET",url:url,data:data,success:callback,dataType:type})},getScript:function(url,callback){return jQuery.get(url,null,callback,"script")},getJSON:function(url,data,callback){return jQuery.get(url,data,callback,"json")},post:function(url,data,callback,type){if(jQuery.isFunction(data)){callback=data;data={}}return jQuery.ajax({type:"POST",url:url,data:data,success:callback,dataType:type})},ajaxSetup:function(settings){jQuery.extend(jQuery.ajaxSettings,settings)},ajaxSettings:{url:location.href,global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:function(){return window.ActiveXObject?new ActiveXObject("Microsoft.XMLHTTP"):new XMLHttpRequest()},accepts:{xml:"application/xml, text/xml",html:"text/html",script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},lastModified:{},ajax:function(s){s=jQuery.extend(true,s,jQuery.extend(true,{},jQuery.ajaxSettings,s));var jsonp,jsre=/=\?(&|$)/g,status,data,type=s.type.toUpperCase();if(s.data&&s.processData&&typeof s.data!=="string")s.data=jQuery.param(s.data);if(s.dataType=="jsonp"){if(type=="GET"){if(!s.url.match(jsre))s.url+=(s.url.match(/\?/)?"&":"?")+(s.jsonp||"callback")+"=?"}else if(!s.data||!s.data.match(jsre))s.data=(s.data?s.data+"&":"")+(s.jsonp||"callback")+"=?";s.dataType="json"}if(s.dataType=="json"&&(s.data&&s.data.match(jsre)||s.url.match(jsre))){jsonp="jsonp"+jsc++;if(s.data)s.data=(s.data+"").replace(jsre,"="+jsonp+"$1");s.url=s.url.replace(jsre,"="+jsonp+"$1");s.dataType="script";window[jsonp]=function(tmp){data=tmp;success();complete();window[jsonp]=undefined;try{delete window[jsonp]}catch(e){}if(head)head.removeChild(script)}}if(s.dataType=="script"&&s.cache==null)s.cache=false;if(s.cache===false&&type=="GET"){var ts=now();var ret=s.url.replace(/(\?|&)_=.*?(&|$)/,"$1_="+ts+"$2");s.url=ret+((ret==s.url)?(s.url.match(/\?/)?"&":"?")+"_="+ts:"")}if(s.data&&type=="GET"){s.url+=(s.url.match(/\?/)?"&":"?")+s.data;s.data=null}if(s.global&&!jQuery.active++)jQuery.event.trigger("ajaxStart");var parts=/^(\w+:)?\/\/([^\/?#]+)/.exec(s.url);if(s.dataType=="script"&&type=="GET"&&parts&&(parts[1]&&parts[1]!=location.protocol||parts[2]!=location.host)){var head=document.getElementsByTagName("head")[0];var script=document.createElement("script");script.src=s.url;if(s.scriptCharset)script.charset=s.scriptCharset;if(!jsonp){var done=false;script.onload=script.onreadystatechange=function(){if(!done&&(!this.readyState||this.readyState=="loaded"||this.readyState=="complete")){done=true;success();complete();script.onload=script.onreadystatechange=null;head.removeChild(script)}}}head.appendChild(script);return undefined}var requestDone=false;var xhr=s.xhr();if(s.username)xhr.open(type,s.url,s.async,s.username,s.password);else xhr.open(type,s.url,s.async);try{if(s.data)xhr.setRequestHeader("Content-Type",s.contentType);if(s.ifModified)xhr.setRequestHeader("If-Modified-Since",jQuery.lastModified[s.url]||"Thu, 01 Jan 1970 00:00:00 GMT");xhr.setRequestHeader("X-Requested-With","XMLHttpRequest");xhr.setRequestHeader("Accept",s.dataType&&s.accepts[s.dataType]?s.accepts[s.dataType]+", */*":s.accepts._default)}catch(e){}if(s.beforeSend&&s.beforeSend(xhr,s)===false){if(s.global&&!--jQuery.active)jQuery.event.trigger("ajaxStop");xhr.abort();return false}if(s.global)jQuery.event.trigger("ajaxSend",[xhr,s]);var onreadystatechange=function(isTimeout){if(xhr.readyState==0){if(ival){clearInterval(ival);ival=null;if(s.global&&!--jQuery.active)jQuery.event.trigger("ajaxStop")}}else if(!requestDone&&xhr&&(xhr.readyState==4||isTimeout=="timeout")){requestDone=true;if(ival){clearInterval(ival);ival=null}status=isTimeout=="timeout"?"timeout":!jQuery.httpSuccess(xhr)?"error":s.ifModified&&jQuery.httpNotModified(xhr,s.url)?"notmodified":"success";if(status=="success"){try{data=jQuery.httpData(xhr,s.dataType,s)}catch(e){status="parsererror"}}if(status=="success"){var modRes;try{modRes=xhr.getResponseHeader("Last-Modified")}catch(e){}if(s.ifModified&&modRes)jQuery.lastModified[s.url]=modRes;if(!jsonp)success()}else jQuery.handleError(s,xhr,status);complete();if(isTimeout)xhr.abort();if(s.async)xhr=null}};if(s.async){var ival=setInterval(onreadystatechange,13);if(s.timeout>0)setTimeout(function(){if(xhr&&!requestDone)onreadystatechange("timeout")},s.timeout)}try{xhr.send(s.data)}catch(e){jQuery.handleError(s,xhr,null,e)}if(!s.async)onreadystatechange();function success(){if(s.success)s.success(data,status);if(s.global)jQuery.event.trigger("ajaxSuccess",[xhr,s])}function complete(){if(s.complete)s.complete(xhr,status);if(s.global)jQuery.event.trigger("ajaxComplete",[xhr,s]);if(s.global&&!--jQuery.active)jQuery.event.trigger("ajaxStop")}return xhr},handleError:function(s,xhr,status,e){if(s.error)s.error(xhr,status,e);if(s.global)jQuery.event.trigger("ajaxError",[xhr,s,e])},active:0,httpSuccess:function(xhr){try{return!xhr.status&&location.protocol=="file:"||(xhr.status>=200&&xhr.status<300)||xhr.status==304||xhr.status==1223}catch(e){}return false},httpNotModified:function(xhr,url){try{var xhrRes=xhr.getResponseHeader("Last-Modified");return xhr.status==304||xhrRes==jQuery.lastModified[url]}catch(e){}return false},httpData:function(xhr,type,s){var ct=xhr.getResponseHeader("content-type"),xml=type=="xml"||!type&&ct&&ct.indexOf("xml")>=0,data=xml?xhr.responseXML:xhr.responseText;if(xml&&data.documentElement.tagName=="parsererror")throw"parsererror";if(s&&s.dataFilter)data=s.dataFilter(data,type);if(typeof data==="string"){if(type=="script")jQuery.globalEval(data);if(type=="json")data=window["eval"]("("+data+")")}return data},param:function(a){var s=[];function add(key,value){s[s.length]=encodeURIComponent(key)+'='+encodeURIComponent(value)};if(jQuery.isArray(a)||a.jquery)jQuery.each(a,function(){add(this.name,this.value)});else for(var j in a)if(jQuery.isArray(a[j]))jQuery.each(a[j],function(){add(j,this)});else add(j,jQuery.isFunction(a[j])?a[j]():a[j]);return s.join("&").replace(/%20/g,"+")}});var elemdisplay={},timerId,fxAttrs=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];function genFx(type,num){var obj={};jQuery.each(fxAttrs.concat.apply([],fxAttrs.slice(0,num)),function(){obj[this]=type});return obj}jQuery.fn.extend({show:function(speed,callback){if(speed){return this.animate(genFx("show",3),speed,callback)}else{for(var i=0,l=this.length;i<l;i++){var old=jQuery.data(this[i],"olddisplay");this[i].style.display=old||"";if(jQuery.css(this[i],"display")==="none"){var tagName=this[i].tagName,display;if(elemdisplay[tagName]){display=elemdisplay[tagName]}else{var elem=jQuery("<"+tagName+" />").appendTo("body");display=elem.css("display");if(display==="none")display="block";elem.remove();elemdisplay[tagName]=display}jQuery.data(this[i],"olddisplay",display)}}for(var i=0,l=this.length;i<l;i++){this[i].style.display=jQuery.data(this[i],"olddisplay")||""}return this}},hide:function(speed,callback){if(speed){return this.animate(genFx("hide",3),speed,callback)}else{for(var i=0,l=this.length;i<l;i++){var old=jQuery.data(this[i],"olddisplay");if(!old&&old!=="none")jQuery.data(this[i],"olddisplay",jQuery.css(this[i],"display"))}for(var i=0,l=this.length;i<l;i++){this[i].style.display="none"}return this}},_toggle:jQuery.fn.toggle,toggle:function(fn,fn2){var bool=typeof fn==="boolean";return jQuery.isFunction(fn)&&jQuery.isFunction(fn2)?this._toggle.apply(this,arguments):fn==null||bool?this.each(function(){var state=bool?fn:jQuery(this).is(":hidden");jQuery(this)[state?"show":"hide"]()}):this.animate(genFx("toggle",3),fn,fn2)},fadeTo:function(speed,to,callback){return this.animate({opacity:to},speed,callback)},animate:function(prop,speed,easing,callback){var optall=jQuery.speed(speed,easing,callback);return this[optall.queue===false?"each":"queue"](function(){var opt=jQuery.extend({},optall),p,hidden=this.nodeType==1&&jQuery(this).is(":hidden"),self=this;for(p in prop){if(prop[p]=="hide"&&hidden||prop[p]=="show"&&!hidden)return opt.complete.call(this);if((p=="height"||p=="width")&&this.style){opt.display=jQuery.css(this,"display");opt.overflow=this.style.overflow}}if(opt.overflow!=null)this.style.overflow="hidden";opt.curAnim=jQuery.extend({},prop);jQuery.each(prop,function(name,val){var e=new jQuery.fx(self,opt,name);if(/toggle|show|hide/.test(val))e[val=="toggle"?hidden?"show":"hide":val](prop);else{var parts=val.toString().match(/^([+-]=)?([\d+-.]+)(.*)$/),start=e.cur(true)||0;if(parts){var end=parseFloat(parts[2]),unit=parts[3]||"px";if(unit!="px"){self.style[name]=(end||1)+unit;start=((end||1)/e.cur(true))*start;self.style[name]=start+unit}if(parts[1])end=((parts[1]=="-="?-1:1)*end)+start;e.custom(start,end,unit)}else e.custom(start,val,"")}});return true})},stop:function(clearQueue,gotoEnd){var timers=jQuery.timers;if(clearQueue)this.queue([]);this.each(function(){for(var i=timers.length-1;i>=0;i--)if(timers[i].elem==this){if(gotoEnd)timers[i](true);timers.splice(i,1)}});if(!gotoEnd)this.dequeue();return this}});jQuery.each({slideDown:genFx("show",1),slideUp:genFx("hide",1),slideToggle:genFx("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(name,props){jQuery.fn[name]=function(speed,callback){return this.animate(props,speed,callback)}});jQuery.extend({speed:function(speed,easing,fn){var opt=typeof speed==="object"?speed:{complete:fn||!fn&&easing||jQuery.isFunction(speed)&&speed,duration:speed,easing:fn&&easing||easing&&!jQuery.isFunction(easing)&&easing};opt.duration=jQuery.fx.off?0:typeof opt.duration==="number"?opt.duration:jQuery.fx.speeds[opt.duration]||jQuery.fx.speeds._default;opt.old=opt.complete;opt.complete=function(){if(opt.queue!==false)jQuery(this).dequeue();if(jQuery.isFunction(opt.old))opt.old.call(this)};return opt},easing:{linear:function(p,n,firstNum,diff){return firstNum+diff*p},swing:function(p,n,firstNum,diff){return((-Math.cos(p*Math.PI)/2)+0.5)*diff+firstNum}},timers:[],fx:function(elem,options,prop){this.options=options;this.elem=elem;this.prop=prop;if(!options.orig)options.orig={}}});jQuery.fx.prototype={update:function(){if(this.options.step)this.options.step.call(this.elem,this.now,this);(jQuery.fx.step[this.prop]||jQuery.fx.step._default)(this);if((this.prop=="height"||this.prop=="width")&&this.elem.style)this.elem.style.display="block"},cur:function(force){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null))return this.elem[this.prop];var r=parseFloat(jQuery.css(this.elem,this.prop,force));return r&&r>-10000?r:parseFloat(jQuery.curCSS(this.elem,this.prop))||0},custom:function(from,to,unit){this.startTime=now();this.start=from;this.end=to;this.unit=unit||this.unit||"px";this.now=this.start;this.pos=this.state=0;var self=this;function t(gotoEnd){return self.step(gotoEnd)}t.elem=this.elem;if(t()&&jQuery.timers.push(t)&&!timerId){timerId=setInterval(function(){var timers=jQuery.timers;for(var i=0;i<timers.length;i++)if(!timers[i]())timers.splice(i--,1);if(!timers.length){clearInterval(timerId);timerId=undefined}},13)}},show:function(){this.options.orig[this.prop]=jQuery.attr(this.elem.style,this.prop);this.options.show=true;this.custom(this.prop=="width"||this.prop=="height"?1:0,this.cur());jQuery(this.elem).show()},hide:function(){this.options.orig[this.prop]=jQuery.attr(this.elem.style,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(gotoEnd){var t=now();if(gotoEnd||t>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;var done=true;for(var i in this.options.curAnim)if(this.options.curAnim[i]!==true)done=false;if(done){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;this.elem.style.display=this.options.display;if(jQuery.css(this.elem,"display")=="none")this.elem.style.display="block"}if(this.options.hide)jQuery(this.elem).hide();if(this.options.hide||this.options.show)for(var p in this.options.curAnim)jQuery.attr(this.elem.style,p,this.options.orig[p]);this.options.complete.call(this.elem)}return false}else{var n=t-this.startTime;this.state=n/this.options.duration;this.pos=jQuery.easing[this.options.easing||(jQuery.easing.swing?"swing":"linear")](this.state,n,0,1,this.options.duration);this.now=this.start+((this.end-this.start)*this.pos);this.update()}return true}};jQuery.extend(jQuery.fx,{speeds:{slow:600,fast:200,_default:400},step:{opacity:function(fx){jQuery.attr(fx.elem.style,"opacity",fx.now)},_default:function(fx){if(fx.elem.style&&fx.elem.style[fx.prop]!=null)fx.elem.style[fx.prop]=fx.now+fx.unit;else fx.elem[fx.prop]=fx.now}}});if(document.documentElement["getBoundingClientRect"])jQuery.fn.offset=function(){if(!this[0])return{top:0,left:0};if(this[0]===this[0].ownerDocument.body)return jQuery.offset.bodyOffset(this[0]);var box=this[0].getBoundingClientRect(),doc=this[0].ownerDocument,body=doc.body,docElem=doc.documentElement,clientTop=docElem.clientTop||body.clientTop||0,clientLeft=docElem.clientLeft||body.clientLeft||0,top=box.top+(self.pageYOffset||jQuery.boxModel&&docElem.scrollTop||body.scrollTop)-clientTop,left=box.left+(self.pageXOffset||jQuery.boxModel&&docElem.scrollLeft||body.scrollLeft)-clientLeft;return{top:top,left:left}};else jQuery.fn.offset=function(){if(!this[0])return{top:0,left:0};if(this[0]===this[0].ownerDocument.body)return jQuery.offset.bodyOffset(this[0]);jQuery.offset.initialized||jQuery.offset.initialize();var elem=this[0],offsetParent=elem.offsetParent,prevOffsetParent=elem,doc=elem.ownerDocument,computedStyle,docElem=doc.documentElement,body=doc.body,defaultView=doc.defaultView,prevComputedStyle=defaultView.getComputedStyle(elem,null),top=elem.offsetTop,left=elem.offsetLeft;while((elem=elem.parentNode)&&elem!==body&&elem!==docElem){computedStyle=defaultView.getComputedStyle(elem,null);top-=elem.scrollTop,left-=elem.scrollLeft;if(elem===offsetParent){top+=elem.offsetTop,left+=elem.offsetLeft;if(jQuery.offset.doesNotAddBorder&&!(jQuery.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(elem.tagName)))top+=parseInt(computedStyle.borderTopWidth,10)||0,left+=parseInt(computedStyle.borderLeftWidth,10)||0;prevOffsetParent=offsetParent,offsetParent=elem.offsetParent}if(jQuery.offset.subtractsBorderForOverflowNotVisible&&computedStyle.overflow!=="visible")top+=parseInt(computedStyle.borderTopWidth,10)||0,left+=parseInt(computedStyle.borderLeftWidth,10)||0;prevComputedStyle=computedStyle}if(prevComputedStyle.position==="relative"||prevComputedStyle.position==="static")top+=body.offsetTop,left+=body.offsetLeft;if(prevComputedStyle.position==="fixed")top+=Math.max(docElem.scrollTop,body.scrollTop),left+=Math.max(docElem.scrollLeft,body.scrollLeft);return{top:top,left:left}};jQuery.offset={initialize:function(){if(this.initialized)return;var body=document.body,container=document.createElement('div'),innerDiv,checkDiv,table,td,rules,prop,bodyMarginTop=body.style.marginTop,html='<div style="position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;"><div></div></div><table style="position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;" cellpadding="0" cellspacing="0"><tr><td></td></tr></table>';rules={position:'absolute',top:0,left:0,margin:0,border:0,width:'1px',height:'1px',visibility:'hidden'};for(prop in rules)container.style[prop]=rules[prop];container.innerHTML=html;body.insertBefore(container,body.firstChild);innerDiv=container.firstChild,checkDiv=innerDiv.firstChild,td=innerDiv.nextSibling.firstChild.firstChild;this.doesNotAddBorder=(checkDiv.offsetTop!==5);this.doesAddBorderForTableAndCells=(td.offsetTop===5);innerDiv.style.overflow='hidden',innerDiv.style.position='relative';this.subtractsBorderForOverflowNotVisible=(checkDiv.offsetTop===-5);body.style.marginTop='1px';this.doesNotIncludeMarginInBodyOffset=(body.offsetTop===0);body.style.marginTop=bodyMarginTop;body.removeChild(container);this.initialized=true},bodyOffset:function(body){jQuery.offset.initialized||jQuery.offset.initialize();var top=body.offsetTop,left=body.offsetLeft;if(jQuery.offset.doesNotIncludeMarginInBodyOffset)top+=parseInt(jQuery.curCSS(body,'marginTop',true),10)||0,left+=parseInt(jQuery.curCSS(body,'marginLeft',true),10)||0;return{top:top,left:left}}};jQuery.fn.extend({position:function(){var left=0,top=0,results;if(this[0]){var offsetParent=this.offsetParent(),offset=this.offset(),parentOffset=/^body|html$/i.test(offsetParent[0].tagName)?{top:0,left:0}:offsetParent.offset();offset.top-=num(this,'marginTop');offset.left-=num(this,'marginLeft');parentOffset.top+=num(offsetParent,'borderTopWidth');parentOffset.left+=num(offsetParent,'borderLeftWidth');results={top:offset.top-parentOffset.top,left:offset.left-parentOffset.left}}return results},offsetParent:function(){var offsetParent=this[0].offsetParent||document.body;while(offsetParent&&(!/^body|html$/i.test(offsetParent.tagName)&&jQuery.css(offsetParent,'position')=='static'))offsetParent=offsetParent.offsetParent;return jQuery(offsetParent)}});jQuery.each(['Left','Top'],function(i,name){var method='scroll'+name;jQuery.fn[method]=function(val){if(!this[0])return null;return val!==undefined?this.each(function(){this==window||this==document?window.scrollTo(!i?val:jQuery(window).scrollLeft(),i?val:jQuery(window).scrollTop()):this[method]=val}):this[0]==window||this[0]==document?self[i?'pageYOffset':'pageXOffset']||jQuery.boxModel&&document.documentElement[method]||document.body[method]:this[0][method]}});jQuery.each(["Height","Width"],function(i,name){var tl=i?"Left":"Top",br=i?"Right":"Bottom",lower=name.toLowerCase();jQuery.fn["inner"+name]=function(){return this[0]?jQuery.css(this[0],lower,false,"padding"):null};jQuery.fn["outer"+name]=function(margin){return this[0]?jQuery.css(this[0],lower,false,margin?"margin":"border"):null};var type=name.toLowerCase();jQuery.fn[type]=function(size){return this[0]==window?document.compatMode=="CSS1Compat"&&document.documentElement["client"+name]||document.body["client"+name]:this[0]==document?Math.max(document.documentElement["client"+name],document.body["scroll"+name],document.documentElement["scroll"+name],document.body["offset"+name],document.documentElement["offset"+name]):size===undefined?(this.length?jQuery.css(this[0],type):null):this.css(type,typeof size==="string"?size:size+"px")}})})();jQuery.noConflict();
;jQuery.ui||(function($){var _remove=$.fn.remove,isFF2=$.browser.mozilla&&(parseFloat($.browser.version)<1.9);$.ui={version:"1.7.2",plugin:{add:function(module,option,set){var proto=$.ui[module].prototype;for(var i in set){proto.plugins[i]=proto.plugins[i]||[];proto.plugins[i].push([option,set[i]])}},call:function(instance,name,args){var set=instance.plugins[name];if(!set||!instance.element[0].parentNode){return}for(var i=0;i<set.length;i++){if(instance.options[set[i][0]]){set[i][1].apply(instance.element,args)}}}},contains:function(a,b){return document.compareDocumentPosition?a.compareDocumentPosition(b)&16:a!==b&&a.contains(b)},hasScroll:function(el,a){if($(el).css('overflow')=='hidden'){return false}var scroll=(a&&a=='left')?'scrollLeft':'scrollTop',has=false;if(el[scroll]>0){return true}el[scroll]=1;has=(el[scroll]>0);el[scroll]=0;return has},isOverAxis:function(x,reference,size){return(x>reference)&&(x<(reference+size))},isOver:function(y,x,top,left,height,width){return $.ui.isOverAxis(y,top,height)&&$.ui.isOverAxis(x,left,width)},keyCode:{BACKSPACE:8,CAPS_LOCK:20,COMMA:188,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38}};if(isFF2){var attr=$.attr,removeAttr=$.fn.removeAttr,ariaNS="http://www.w3.org/2005/07/aaa",ariaState=/^aria-/,ariaRole=/^wairole:/;$.attr=function(elem,name,value){var set=value!==undefined;return(name=='role'?(set?attr.call(this,elem,name,"wairole:"+value):(attr.apply(this,arguments)||"").replace(ariaRole,"")):(ariaState.test(name)?(set?elem.setAttributeNS(ariaNS,name.replace(ariaState,"aaa:"),value):attr.call(this,elem,name.replace(ariaState,"aaa:"))):attr.apply(this,arguments)))};$.fn.removeAttr=function(name){return(ariaState.test(name)?this.each(function(){this.removeAttributeNS(ariaNS,name.replace(ariaState,""))}):removeAttr.call(this,name))}}$.fn.extend({remove:function(){$("*",this).add(this).each(function(){$(this).triggerHandler("remove")});return _remove.apply(this,arguments)},enableSelection:function(){return this.attr('unselectable','off').css('MozUserSelect','').unbind('selectstart.ui')},disableSelection:function(){return this.attr('unselectable','on').css('MozUserSelect','none').bind('selectstart.ui',function(){return false})},scrollParent:function(){var scrollParent;if(($.browser.msie&&(/(static|relative)/).test(this.css('position')))||(/absolute/).test(this.css('position'))){scrollParent=this.parents().filter(function(){return(/(relative|absolute|fixed)/).test($.curCSS(this,'position',1))&&(/(auto|scroll)/).test($.curCSS(this,'overflow',1)+$.curCSS(this,'overflow-y',1)+$.curCSS(this,'overflow-x',1))}).eq(0)}else{scrollParent=this.parents().filter(function(){return(/(auto|scroll)/).test($.curCSS(this,'overflow',1)+$.curCSS(this,'overflow-y',1)+$.curCSS(this,'overflow-x',1))}).eq(0)}return(/fixed/).test(this.css('position'))||!scrollParent.length?$(document):scrollParent}});$.extend($.expr[':'],{data:function(elem,i,match){return!!$.data(elem,match[3])},focusable:function(element){var nodeName=element.nodeName.toLowerCase(),tabIndex=$.attr(element,'tabindex');return(/input|select|textarea|button|object/.test(nodeName)?!element.disabled:'a'==nodeName||'area'==nodeName?element.href||!isNaN(tabIndex):!isNaN(tabIndex))&&!$(element)['area'==nodeName?'parents':'closest'](':hidden').length},tabbable:function(element){var tabIndex=$.attr(element,'tabindex');return(isNaN(tabIndex)||tabIndex>=0)&&$(element).is(':focusable')}});function getter(namespace,plugin,method,args){function getMethods(type){var methods=$[namespace][plugin][type]||[];return(typeof methods=='string'?methods.split(/,?\s+/):methods)}var methods=getMethods('getter');if(args.length==1&&typeof args[0]=='string'){methods=methods.concat(getMethods('getterSetter'))}return($.inArray(method,methods)!=-1)}$.widget=function(name,prototype){var namespace=name.split(".")[0];name=name.split(".")[1];$.fn[name]=function(options){var isMethodCall=(typeof options=='string'),args=Array.prototype.slice.call(arguments,1);if(isMethodCall&&options.substring(0,1)=='_'){return this}if(isMethodCall&&getter(namespace,name,options,args)){var instance=$.data(this[0],name);return(instance?instance[options].apply(instance,args):undefined)}return this.each(function(){var instance=$.data(this,name);(!instance&&!isMethodCall&&$.data(this,name,new $[namespace][name](this,options))._init());(instance&&isMethodCall&&$.isFunction(instance[options])&&instance[options].apply(instance,args))})};$[namespace]=$[namespace]||{};$[namespace][name]=function(element,options){var self=this;this.namespace=namespace;this.widgetName=name;this.widgetEventPrefix=$[namespace][name].eventPrefix||name;this.widgetBaseClass=namespace+'-'+name;this.options=$.extend({},$.widget.defaults,$[namespace][name].defaults,$.metadata&&$.metadata.get(element)[name],options);this.element=$(element).bind('setData.'+name,function(event,key,value){if(event.target==element){return self._setData(key,value)}}).bind('getData.'+name,function(event,key){if(event.target==element){return self._getData(key)}}).bind('remove',function(){return self.destroy()})};$[namespace][name].prototype=$.extend({},$.widget.prototype,prototype);$[namespace][name].getterSetter='option'};$.widget.prototype={_init:function(){},destroy:function(){this.element.removeData(this.widgetName).removeClass(this.widgetBaseClass+'-disabled'+' '+this.namespace+'-state-disabled').removeAttr('aria-disabled')},option:function(key,value){var options=key,self=this;if(typeof key=="string"){if(value===undefined){return this._getData(key)}options={};options[key]=value}$.each(options,function(key,value){self._setData(key,value)})},_getData:function(key){return this.options[key]},_setData:function(key,value){this.options[key]=value;if(key=='disabled'){this.element[value?'addClass':'removeClass'](this.widgetBaseClass+'-disabled'+' '+this.namespace+'-state-disabled').attr("aria-disabled",value)}},enable:function(){this._setData('disabled',false)},disable:function(){this._setData('disabled',true)},_trigger:function(type,event,data){var callback=this.options[type],eventName=(type==this.widgetEventPrefix?type:this.widgetEventPrefix+type);event=$.Event(event);event.type=eventName;if(event.originalEvent){for(var i=$.event.props.length,prop;i;){prop=$.event.props[--i];event[prop]=event.originalEvent[prop]}}this.element.trigger(event,data);return!($.isFunction(callback)&&callback.call(this.element[0],event,data)===false||event.isDefaultPrevented())}};$.widget.defaults={disabled:false};$.ui.mouse={_mouseInit:function(){var self=this;this.element.bind('mousedown.'+this.widgetName,function(event){return self._mouseDown(event)}).bind('click.'+this.widgetName,function(event){if(self._preventClickEvent){self._preventClickEvent=false;event.stopImmediatePropagation();return false}});if($.browser.msie){this._mouseUnselectable=this.element.attr('unselectable');this.element.attr('unselectable','on')}this.started=false},_mouseDestroy:function(){this.element.unbind('.'+this.widgetName);($.browser.msie&&this.element.attr('unselectable',this._mouseUnselectable))},_mouseDown:function(event){event.originalEvent=event.originalEvent||{};if(event.originalEvent.mouseHandled){return}(this._mouseStarted&&this._mouseUp(event));this._mouseDownEvent=event;var self=this,btnIsLeft=(event.which==1),elIsCancel=(typeof this.options.cancel=="string"?$(event.target).parents().add(event.target).filter(this.options.cancel).length:false);if(!btnIsLeft||elIsCancel||!this._mouseCapture(event)){return true}this.mouseDelayMet=!this.options.delay;if(!this.mouseDelayMet){this._mouseDelayTimer=setTimeout(function(){self.mouseDelayMet=true},this.options.delay)}if(this._mouseDistanceMet(event)&&this._mouseDelayMet(event)){this._mouseStarted=(this._mouseStart(event)!==false);if(!this._mouseStarted){event.preventDefault();return true}}this._mouseMoveDelegate=function(event){return self._mouseMove(event)};this._mouseUpDelegate=function(event){return self._mouseUp(event)};$(document).bind('mousemove.'+this.widgetName,this._mouseMoveDelegate).bind('mouseup.'+this.widgetName,this._mouseUpDelegate);($.browser.safari||event.preventDefault());event.originalEvent.mouseHandled=true;return true},_mouseMove:function(event){if($.browser.msie&&!event.button){return this._mouseUp(event)}if(this._mouseStarted){this._mouseDrag(event);return event.preventDefault()}if(this._mouseDistanceMet(event)&&this._mouseDelayMet(event)){this._mouseStarted=(this._mouseStart(this._mouseDownEvent,event)!==false);(this._mouseStarted?this._mouseDrag(event):this._mouseUp(event))}return!this._mouseStarted},_mouseUp:function(event){$(document).unbind('mousemove.'+this.widgetName,this._mouseMoveDelegate).unbind('mouseup.'+this.widgetName,this._mouseUpDelegate);if(this._mouseStarted){this._mouseStarted=false;this._preventClickEvent=(event.target==this._mouseDownEvent.target);this._mouseStop(event)}return false},_mouseDistanceMet:function(event){return(Math.max(Math.abs(this._mouseDownEvent.pageX-event.pageX),Math.abs(this._mouseDownEvent.pageY-event.pageY))>=this.options.distance)},_mouseDelayMet:function(event){return this.mouseDelayMet},_mouseStart:function(event){},_mouseDrag:function(event){},_mouseStop:function(event){},_mouseCapture:function(event){return true}};$.ui.mouse.defaults={cancel:null,distance:1,delay:0}})(jQuery);
function dateAdd(dtDate,lDay){var aDate=new Array();var aMonths=new Array();aDate=dtDate.split('.');if(aDate[0].indexOf('0')==0){aDate[0]=aDate[0].substring(1,aDate[0].length)}if(aDate[1].indexOf('0')==0){aDate[1]=aDate[1].substring(1,aDate[1].length)}aMonths[1]=31;if((parseInt(aDate[2])-2004)%4==0){aMonths[2]=29}else{aMonths[2]=28}aMonths[3]=31;aMonths[4]=30;aMonths[5]=31;aMonths[6]=30;aMonths[7]=31;aMonths[8]=31;aMonths[9]=30;aMonths[10]=31;aMonths[11]=30;aMonths[12]=31;aDate[0]=parseInt(aDate[0])+parseInt(lDay);while(parseInt(aDate[0])>parseInt(aMonths[parseInt(aDate[1])])){aDate[0]=parseInt(aDate[0])-parseInt(aMonths[parseInt(aDate[1])]);aDate[1]=parseInt(aDate[1])+1;if(parseInt(aDate[1])>12){aDate[1]=1;aDate[2]=parseInt(aDate[2])+1}}return aDate[0]+'.'+aDate[1]+'.'+aDate[2]}(function($){$.extend($.ui,{datepicker:{version:"1.7.2"}});var PROP_NAME='datepicker';function Datepicker(){this.debug=false;this._curInst=null;this._keyEvent=false;this._disabledInputs=[];this._datepickerShowing=false;this._inDialog=false;this._mainDivId='ui-datepicker-div';this._inlineClass='ui-datepicker-inline';this._appendClass='ui-datepicker-append';this._triggerClass='ui-datepicker-trigger';this._dialogClass='ui-datepicker-dialog';this._disableClass='ui-datepicker-disabled';this._unselectableClass='ui-datepicker-unselectable';this._currentClass='ui-datepicker-current-day';this._dayOverClass='ui-datepicker-days-cell-over';this.regional=[''];this._defaults={showOn:'focus',showAnim:'show',showOptions:{},defaultDate:null,appendText:'',buttonText:'...',buttonImage:'',buttonImageOnly:false,hideIfNoPrevNext:false,navigationAsDateFormat:false,gotoCurrent:false,changeMonth:false,changeYear:false,showMonthAfterYear:false,yearRange:'-10:+10',showOtherMonths:false,calculateWeek:this.iso8601Week,shortYearCutoff:'+10',minDate:null,maxDate:null,duration:'normal',beforeShowDay:null,beforeShow:null,onSelect:null,onChangeMonthYear:null,onClose:null,numberOfMonths:1,showCurrentAtPos:0,stepMonths:1,stepBigMonths:12,altField:'',altFieldDateAdd:4,altFormat:'dd.mm.yy',constrainInput:true,showButtonPanel:false,januar:''};$.extend(this._defaults,this.regional['']);this.dpDiv=$('<div id="'+this._mainDivId+'" class="ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all ui-helper-hidden-accessible"></div>')}$.extend(Datepicker.prototype,{markerClassName:'hasDatepicker',log:function(){if(this.debug)console.log.apply('',arguments)},setDefaults:function(settings){extendRemove(this._defaults,settings||{});return this},_attachDatepicker:function(target,settings){var inlineSettings=null;for(var attrName in this._defaults){var attrValue=target.getAttribute('date:'+attrName);if(attrValue){inlineSettings=inlineSettings||{};try{inlineSettings[attrName]=eval(attrValue)}catch(err){inlineSettings[attrName]=attrValue}}}var nodeName=target.nodeName.toLowerCase();var inline=(nodeName=='div'||nodeName=='span');if(!target.id)target.id='dp'+(++this.uuid);var inst=this._newInst($(target),inline);inst.settings=$.extend({},settings||{},inlineSettings||{});if(nodeName=='input'){this._connectDatepicker(target,inst)}else if(inline){this._inlineDatepicker(target,inst)}},_newInst:function(target,inline){var id=target[0].id.replace(/([:\[\]\.])/g,'\\\\$1');return{id:id,input:target,selectedDay:0,selectedMonth:0,selectedYear:0,drawMonth:0,drawYear:0,inline:inline,dpDiv:(!inline?this.dpDiv:$('<div class="'+this._inlineClass+' ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all"></div>'))}},_connectDatepicker:function(target,inst){var input=$(target);inst.append=$([]);inst.trigger=$([]);if(input.hasClass(this.markerClassName))return;var appendText=this._get(inst,'appendText');var isRTL=this._get(inst,'isRTL');if(appendText){inst.append=$('<span class="'+this._appendClass+'">'+appendText+'</span>');input[isRTL?'before':'after'](inst.append)}var showOn=this._get(inst,'showOn');if(showOn=='focus'||showOn=='both')input.focus(this._showDatepicker);if(showOn=='button'||showOn=='both'){var buttonText=this._get(inst,'buttonText');var buttonImage=this._get(inst,'buttonImage');inst.trigger=$(this._get(inst,'buttonImageOnly')?$('<img/>').addClass(this._triggerClass).attr({src:buttonImage,alt:buttonText,title:buttonText}):$('<button type="button"></button>').addClass(this._triggerClass).html(buttonImage==''?buttonText:$('<img/>').attr({src:buttonImage,alt:buttonText,title:buttonText})));input[isRTL?'before':'after'](inst.trigger);inst.trigger.click(function(){if($.datepicker._datepickerShowing&&$.datepicker._lastInput==target)$.datepicker._hideDatepicker();else $.datepicker._showDatepicker(target);return false})}input.addClass(this.markerClassName).keydown(this._doKeyDown).keypress(this._doKeyPress).bind("setData.datepicker",function(event,key,value){inst.settings[key]=value}).bind("getData.datepicker",function(event,key){return this._get(inst,key)});$.data(target,PROP_NAME,inst)},_inlineDatepicker:function(target,inst){var divSpan=$(target);if(divSpan.hasClass(this.markerClassName))return;divSpan.addClass(this.markerClassName).append(inst.dpDiv).bind("setData.datepicker",function(event,key,value){inst.settings[key]=value}).bind("getData.datepicker",function(event,key){return this._get(inst,key)});$.data(target,PROP_NAME,inst);this._setDate(inst,this._getDefaultDate(inst));this._updateDatepicker(inst);this._updateAlternate(inst)},_dialogDatepicker:function(input,dateText,onSelect,settings,pos){var inst=this._dialogInst;if(!inst){var id='dp'+(++this.uuid);this._dialogInput=$('<input type="text" id="'+id+'" size="1" style="position: absolute; top: -100px;"/>');this._dialogInput.keydown(this._doKeyDown);$('body').append(this._dialogInput);inst=this._dialogInst=this._newInst(this._dialogInput,false);inst.settings={};$.data(this._dialogInput[0],PROP_NAME,inst)}extendRemove(inst.settings,settings||{});this._dialogInput.val(dateText);this._pos=(pos?(pos.length?pos:[pos.pageX,pos.pageY]):null);if(!this._pos){var browserWidth=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth;var browserHeight=window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight;var scrollX=document.documentElement.scrollLeft||document.body.scrollLeft;var scrollY=document.documentElement.scrollTop||document.body.scrollTop;this._pos=[(browserWidth/2)-100+scrollX,(browserHeight/2)-150+scrollY]}this._dialogInput.css('left',this._pos[0]+'px').css('top',this._pos[1]+'px');inst.settings.onSelect=onSelect;this._inDialog=true;this.dpDiv.addClass(this._dialogClass);this._showDatepicker(this._dialogInput[0]);if($.blockUI)$.blockUI(this.dpDiv);$.data(this._dialogInput[0],PROP_NAME,inst);return this},_destroyDatepicker:function(target){var $target=$(target);var inst=$.data(target,PROP_NAME);if(!$target.hasClass(this.markerClassName)){return}var nodeName=target.nodeName.toLowerCase();$.removeData(target,PROP_NAME);if(nodeName=='input'){inst.append.remove();inst.trigger.remove();$target.removeClass(this.markerClassName).unbind('focus',this._showDatepicker).unbind('keydown',this._doKeyDown).unbind('keypress',this._doKeyPress)}else if(nodeName=='div'||nodeName=='span')$target.removeClass(this.markerClassName).empty()},_enableDatepicker:function(target){var $target=$(target);var inst=$.data(target,PROP_NAME);if(!$target.hasClass(this.markerClassName)){return}var nodeName=target.nodeName.toLowerCase();if(nodeName=='input'){target.disabled=false;inst.trigger.filter('button').each(function(){this.disabled=false}).end().filter('img').css({opacity:'1.0',cursor:''})}else if(nodeName=='div'||nodeName=='span'){var inline=$target.children('.'+this._inlineClass);inline.children().removeClass('ui-state-disabled')}this._disabledInputs=$.map(this._disabledInputs,function(value){return(value==target?null:value)})},_disableDatepicker:function(target){var $target=$(target);var inst=$.data(target,PROP_NAME);if(!$target.hasClass(this.markerClassName)){return}var nodeName=target.nodeName.toLowerCase();if(nodeName=='input'){target.disabled=true;inst.trigger.filter('button').each(function(){this.disabled=true}).end().filter('img').css({opacity:'0.5',cursor:'default'})}else if(nodeName=='div'||nodeName=='span'){var inline=$target.children('.'+this._inlineClass);inline.children().addClass('ui-state-disabled')}this._disabledInputs=$.map(this._disabledInputs,function(value){return(value==target?null:value)});this._disabledInputs[this._disabledInputs.length]=target},_isDisabledDatepicker:function(target){if(!target){return false}for(var i=0;i<this._disabledInputs.length;i++){if(this._disabledInputs[i]==target)return true}return false},_getInst:function(target){try{return $.data(target,PROP_NAME)}catch(err){throw'Missing instance data for this datepicker'}},_optionDatepicker:function(target,name,value){var inst=this._getInst(target);if(arguments.length==2&&typeof name=='string'){return(name=='defaults'?$.extend({},$.datepicker._defaults):(inst?(name=='all'?$.extend({},inst.settings):this._get(inst,name)):null))}var settings=name||{};if(typeof name=='string'){settings={};settings[name]=value}if(inst){if(this._curInst==inst){this._hideDatepicker(null)}var date=this._getDateDatepicker(target);extendRemove(inst.settings,settings);this._setDateDatepicker(target,date);this._updateDatepicker(inst)}},_changeDatepicker:function(target,name,value){this._optionDatepicker(target,name,value)},_refreshDatepicker:function(target){var inst=this._getInst(target);if(inst){this._updateDatepicker(inst)}},_setDateDatepicker:function(target,date,endDate){var inst=this._getInst(target);if(inst){this._setDate(inst,date,endDate);this._updateDatepicker(inst);this._updateAlternate(inst)}},_getDateDatepicker:function(target){var inst=this._getInst(target);if(inst&&!inst.inline)this._setDateFromField(inst);return(inst?this._getDate(inst):null)},_doKeyDown:function(event){var inst=$.datepicker._getInst(event.target);var handled=true;var isRTL=inst.dpDiv.is('.ui-datepicker-rtl');inst._keyEvent=true;if($.datepicker._datepickerShowing)switch(event.keyCode){case 9:$.datepicker._hideDatepicker(null,'');break;case 13:var sel=$('td.'+$.datepicker._dayOverClass+', td.'+$.datepicker._currentClass,inst.dpDiv);if(sel[0])$.datepicker._selectDay(event.target,inst.selectedMonth,inst.selectedYear,sel[0]);else $.datepicker._hideDatepicker(null,$.datepicker._get(inst,'duration'));return false;break;case 27:$.datepicker._hideDatepicker(null,$.datepicker._get(inst,'duration'));break;case 33:$.datepicker._adjustDate(event.target,(event.ctrlKey?-$.datepicker._get(inst,'stepBigMonths'):-$.datepicker._get(inst,'stepMonths')),'M');break;case 34:$.datepicker._adjustDate(event.target,(event.ctrlKey?+$.datepicker._get(inst,'stepBigMonths'):+$.datepicker._get(inst,'stepMonths')),'M');break;case 35:if(event.ctrlKey||event.metaKey)$.datepicker._clearDate(event.target);handled=event.ctrlKey||event.metaKey;break;case 36:if(event.ctrlKey||event.metaKey)$.datepicker._gotoToday(event.target);handled=event.ctrlKey||event.metaKey;break;case 37:if(event.ctrlKey||event.metaKey)$.datepicker._adjustDate(event.target,(isRTL?+1:-1),'D');handled=event.ctrlKey||event.metaKey;if(event.originalEvent.altKey)$.datepicker._adjustDate(event.target,(event.ctrlKey?-$.datepicker._get(inst,'stepBigMonths'):-$.datepicker._get(inst,'stepMonths')),'M');break;case 38:if(event.ctrlKey||event.metaKey)$.datepicker._adjustDate(event.target,-7,'D');handled=event.ctrlKey||event.metaKey;break;case 39:if(event.ctrlKey||event.metaKey)$.datepicker._adjustDate(event.target,(isRTL?-1:+1),'D');handled=event.ctrlKey||event.metaKey;if(event.originalEvent.altKey)$.datepicker._adjustDate(event.target,(event.ctrlKey?+$.datepicker._get(inst,'stepBigMonths'):+$.datepicker._get(inst,'stepMonths')),'M');break;case 40:if(event.ctrlKey||event.metaKey)$.datepicker._adjustDate(event.target,+7,'D');handled=event.ctrlKey||event.metaKey;break;default:handled=false}else if(event.keyCode==36&&event.ctrlKey)$.datepicker._showDatepicker(this);else{handled=false}if(handled){event.preventDefault();event.stopPropagation()}},_doKeyPress:function(event){var inst=$.datepicker._getInst(event.target);if($.datepicker._get(inst,'constrainInput')){var chars=$.datepicker._possibleChars($.datepicker._get(inst,'dateFormat'));var chr=String.fromCharCode(event.charCode==undefined?event.keyCode:event.charCode);return event.ctrlKey||(chr<' '||!chars||chars.indexOf(chr)>-1)}},_showDatepicker:function(input){input=input.target||input;if(input.nodeName.toLowerCase()!='input')input=$('input',input.parentNode)[0];if($.datepicker._isDisabledDatepicker(input)||$.datepicker._lastInput==input)return;var inst=$.datepicker._getInst(input);var beforeShow=$.datepicker._get(inst,'beforeShow');extendRemove(inst.settings,(beforeShow?beforeShow.apply(input,[input,inst]):{}));$.datepicker._hideDatepicker(null,'');$.datepicker._lastInput=input;$.datepicker._setDateFromField(inst);if($.datepicker._inDialog)input.value='';if(!$.datepicker._pos){$.datepicker._pos=$.datepicker._findPos(input);$.datepicker._pos[1]+=input.offsetHeight}var isFixed=false;$(input).parents().each(function(){isFixed|=$(this).css('position')=='fixed';return!isFixed});if(isFixed&&$.browser.opera){$.datepicker._pos[0]-=document.documentElement.scrollLeft;$.datepicker._pos[1]-=document.documentElement.scrollTop}var offset={left:$.datepicker._pos[0],top:$.datepicker._pos[1]};$.datepicker._pos=null;inst.rangeStart=null;inst.dpDiv.css({position:'absolute',display:'block',top:'-1000px'});$.datepicker._updateDatepicker(inst);offset=$.datepicker._checkOffset(inst,offset,isFixed);inst.dpDiv.css({position:($.datepicker._inDialog&&$.blockUI?'static':(isFixed?'fixed':'absolute')),display:'none',left:offset.left-50+'px',top:offset.top+'px'});if(!inst.inline){var showAnim=$.datepicker._get(inst,'showAnim')||'show';var duration=$.datepicker._get(inst,'duration');var postProcess=function(){$.datepicker._datepickerShowing=true;if($.browser.msie&&parseInt($.browser.version,10)<7)$('iframe.ui-datepicker-cover').css({width:inst.dpDiv.width()+4,height:inst.dpDiv.height()+4})};if($.effects&&$.effects[showAnim])inst.dpDiv.show(showAnim,$.datepicker._get(inst,'showOptions'),duration,postProcess);else inst.dpDiv[showAnim](duration,postProcess);if(duration=='')postProcess();if(inst.input[0].type!='hidden')inst.input[0].focus();$.datepicker._curInst=inst}},_updateDatepicker:function(inst){var dims={width:inst.dpDiv.width()+4,height:inst.dpDiv.height()+4};var self=this;inst.dpDiv.empty().append(this._generateHTML(inst)).find('iframe.ui-datepicker-cover').css({width:dims.width,height:dims.height}).end().find('button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a').bind('mouseout',function(){$(this).removeClass('ui-state-hover');if(this.className.indexOf('ui-datepicker-prev')!=-1)$(this).removeClass('ui-datepicker-prev-hover');if(this.className.indexOf('ui-datepicker-next')!=-1)$(this).removeClass('ui-datepicker-next-hover')}).bind('mouseover',function(){if(!self._isDisabledDatepicker(inst.inline?inst.dpDiv.parent()[0]:inst.input[0])){$(this).parents('.ui-datepicker-calendar').find('a').removeClass('ui-state-hover');$(this).addClass('ui-state-hover');if(this.className.indexOf('ui-datepicker-prev')!=-1)$(this).addClass('ui-datepicker-prev-hover');if(this.className.indexOf('ui-datepicker-next')!=-1)$(this).addClass('ui-datepicker-next-hover')}}).end().find('.'+this._dayOverClass+' a').trigger('mouseover').end();var numMonths=this._getNumberOfMonths(inst);var cols=numMonths[1];var width=17;if(cols>1){inst.dpDiv.addClass('ui-datepicker-multi-'+cols).css('width',(width*cols)+'em')}else{inst.dpDiv.removeClass('ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4').width('')}inst.dpDiv[(numMonths[0]!=1||numMonths[1]!=1?'add':'remove')+'Class']('ui-datepicker-multi');inst.dpDiv[(this._get(inst,'isRTL')?'add':'remove')+'Class']('ui-datepicker-rtl');if(inst.input&&inst.input[0].type!='hidden'&&inst==$.datepicker._curInst)$(inst.input[0]).focus()},_checkOffset:function(inst,offset,isFixed){var dpWidth=inst.dpDiv.outerWidth();var dpHeight=inst.dpDiv.outerHeight();var inputWidth=inst.input?inst.input.outerWidth():0;var inputHeight=inst.input?inst.input.outerHeight():0;var viewWidth=(window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth)+$(document).scrollLeft();var viewHeight=(window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight)+$(document).scrollTop();offset.left-=(this._get(inst,'isRTL')?(dpWidth-inputWidth):0);offset.left-=(isFixed&&offset.left==inst.input.offset().left)?$(document).scrollLeft():0;offset.top-=(isFixed&&offset.top==(inst.input.offset().top+inputHeight))?$(document).scrollTop():0;offset.left-=(offset.left+dpWidth>viewWidth&&viewWidth>dpWidth)?Math.abs(offset.left+dpWidth-viewWidth):0;offset.top-=(offset.top+dpHeight>viewHeight&&viewHeight>dpHeight)?Math.abs(offset.top+dpHeight+inputHeight*2-viewHeight):0;return offset},_findPos:function(obj){while(obj&&(obj.type=='hidden'||obj.nodeType!=1)){obj=obj.nextSibling}var position=$(obj).offset();return[position.left,position.top]},_hideDatepicker:function(input,duration){var inst=this._curInst;if(!inst||(input&&inst!=$.data(input,PROP_NAME)))return;if(inst.stayOpen)this._selectDate('#'+inst.id,this._formatDate(inst,inst.currentDay,inst.currentMonth,inst.currentYear));inst.stayOpen=false;if(this._datepickerShowing){duration=(duration!=null?duration:this._get(inst,'duration'));var showAnim=this._get(inst,'showAnim');var postProcess=function(){$.datepicker._tidyDialog(inst)};if(duration!=''&&$.effects&&$.effects[showAnim])inst.dpDiv.hide(showAnim,$.datepicker._get(inst,'showOptions'),duration,postProcess);else inst.dpDiv[(duration==''?'hide':(showAnim=='slideDown'?'slideUp':(showAnim=='fadeIn'?'fadeOut':'hide')))](duration,postProcess);if(duration=='')this._tidyDialog(inst);var onClose=this._get(inst,'onClose');if(onClose)onClose.apply((inst.input?inst.input[0]:null),[(inst.input?inst.input.val():''),inst]);this._datepickerShowing=false;this._lastInput=null;if(this._inDialog){this._dialogInput.css({position:'absolute',left:'0',top:'-100px'});if($.blockUI){$.unblockUI();$('body').append(this.dpDiv)}}this._inDialog=false}this._curInst=null},_tidyDialog:function(inst){inst.dpDiv.removeClass(this._dialogClass).unbind('.ui-datepicker-calendar')},_checkExternalClick:function(event){if(!$.datepicker._curInst)return;var $target=$(event.target);if(($target.parents('#'+$.datepicker._mainDivId).length==0)&&!$target.hasClass($.datepicker.markerClassName)&&!$target.hasClass($.datepicker._triggerClass)&&$.datepicker._datepickerShowing&&!($.datepicker._inDialog&&$.blockUI))$.datepicker._hideDatepicker(null,'')},_adjustDate:function(id,offset,period){var target=$(id);var inst=this._getInst(target[0]);if(this._isDisabledDatepicker(target[0])){return}this._adjustInstDate(inst,offset+(period=='M'?this._get(inst,'showCurrentAtPos'):0),period);this._updateDatepicker(inst)},_gotoToday:function(id){var target=$(id);var inst=this._getInst(target[0]);if(this._get(inst,'gotoCurrent')&&inst.currentDay){inst.selectedDay=inst.currentDay;inst.drawMonth=inst.selectedMonth=inst.currentMonth;inst.drawYear=inst.selectedYear=inst.currentYear}else{var date=new Date();inst.selectedDay=date.getDate();inst.drawMonth=inst.selectedMonth=date.getMonth();inst.drawYear=inst.selectedYear=date.getFullYear()}this._notifyChange(inst);this._adjustDate(target)},_selectMonthYear:function(id,select,period){var target=$(id);var inst=this._getInst(target[0]);inst._selectingMonthYear=false;inst['selected'+(period=='M'?'Month':'Year')]=inst['draw'+(period=='M'?'Month':'Year')]=parseInt(select.options[select.selectedIndex].value,10);this._notifyChange(inst);this._adjustDate(target)},_clickMonthYear:function(id){var target=$(id);var inst=this._getInst(target[0]);if(inst.input&&inst._selectingMonthYear&&!$.browser.msie)inst.input[0].focus();inst._selectingMonthYear=!inst._selectingMonthYear},_selectDay:function(id,month,year,td){var target=$(id);if($(td).hasClass(this._unselectableClass)||this._isDisabledDatepicker(target[0])){return}var inst=this._getInst(target[0]);inst.selectedDay=inst.currentDay=$('a',td).html();inst.selectedMonth=inst.currentMonth=month;inst.selectedYear=inst.currentYear=year;if(inst.stayOpen){inst.endDay=inst.endMonth=inst.endYear=null}this._selectDate(id,this._formatDate(inst,inst.currentDay,inst.currentMonth,inst.currentYear));if(inst.stayOpen){inst.rangeStart=this._daylightSavingAdjust(new Date(inst.currentYear,inst.currentMonth,inst.currentDay));this._updateDatepicker(inst)}},_clearDate:function(id){var target=$(id);var inst=this._getInst(target[0]);inst.stayOpen=false;inst.endDay=inst.endMonth=inst.endYear=inst.rangeStart=null;this._selectDate(target,'')},_selectDate:function(id,dateStr){var target=$(id);var inst=this._getInst(target[0]);dateStr=(dateStr!=null?dateStr:this._formatDate(inst));if(inst.input)inst.input.val(dateStr);this._updateAlternate(inst);var onSelect=this._get(inst,'onSelect');if(onSelect)onSelect.apply((inst.input?inst.input[0]:null),[dateStr,inst]);else if(inst.input)inst.input.trigger('change');if(inst.inline)this._updateDatepicker(inst);else if(!inst.stayOpen){this._hideDatepicker(null,this._get(inst,'duration'));this._lastInput=inst.input[0];if(typeof(inst.input[0])!='object')inst.input[0].focus();this._lastInput=null}},_updateAlternate:function(inst){var altField=this._get(inst,'altField');var altFieldDateAdd=this._get(inst,'altFieldDateAdd');if(altField){var altFormat=this._get(inst,'altFormat')||this._get(inst,'dateFormat');var date=this._getDate(inst);var lDay=dateAdd(date.getDate()+'.'+date.getMonth()+'.'+date.getFullYear(),altFieldDateAdd).split('.')[0];var lMonth=dateAdd(date.getDate()+'.'+date.getMonth()+'.'+date.getFullYear(),altFieldDateAdd).split('.')[1];var lYear=dateAdd(date.getDate()+'.'+date.getMonth()+'.'+date.getFullYear(),altFieldDateAdd).split('.')[2];dateStr=this.formatDate(altFormat,new Date(lYear,lMonth,lDay),this._getFormatConfig(inst));$(altField).each(function(){$(this).val(dateStr)})}},noWeekends:function(date){var day=date.getDay();return[(day>0&&day<6),'']},iso8601Week:function(date){var checkDate=new Date(date.getFullYear(),date.getMonth(),date.getDate());var firstMon=new Date(checkDate.getFullYear(),1-1,4);var firstDay=firstMon.getDay()||7;firstMon.setDate(firstMon.getDate()+1-firstDay);if(firstDay<4&&checkDate<firstMon){checkDate.setDate(checkDate.getDate()-3);return $.datepicker.iso8601Week(checkDate)}else if(checkDate>new Date(checkDate.getFullYear(),12-1,28)){firstDay=new Date(checkDate.getFullYear()+1,1-1,4).getDay()||7;if(firstDay>4&&(checkDate.getDay()||7)<firstDay-3){return 1}}return Math.floor(((checkDate-firstMon)/86400000)/7)+1},parseDate:function(format,value,settings){if(format==null||value==null)throw'Invalid arguments';value=(typeof value=='object'?value.toString():value+'');if(value=='')return null;var shortYearCutoff=(settings?settings.shortYearCutoff:null)||this._defaults.shortYearCutoff;var dayNamesShort=(settings?settings.dayNamesShort:null)||this._defaults.dayNamesShort;var dayNames=(settings?settings.dayNames:null)||this._defaults.dayNames;var monthNamesShort=(settings?settings.monthNamesShort:null)||this._defaults.monthNamesShort;var monthNames=(settings?settings.monthNames:null)||this._defaults.monthNames;var year=-1;var month=-1;var day=-1;var doy=-1;var literal=false;var lookAhead=function(match){var matches=(iFormat+1<format.length&&format.charAt(iFormat+1)==match);if(matches)iFormat++;return matches};var getNumber=function(match){lookAhead(match);var origSize=(match=='@'?14:(match=='y'?4:(match=='o'?3:2)));var size=origSize;var num=0;while(size>0&&iValue<value.length&&value.charAt(iValue)>='0'&&value.charAt(iValue)<='9'){num=num*10+parseInt(value.charAt(iValue++),10);size--}if(size==origSize)throw'Missing number at position '+iValue;return num};var getName=function(match,shortNames,longNames){var names=(lookAhead(match)?longNames:shortNames);var size=0;for(var j=0;j<names.length;j++)size=Math.max(size,names[j].length);var name='';var iInit=iValue;while(size>0&&iValue<value.length){name+=value.charAt(iValue++);for(var i=0;i<names.length;i++)if(name==names[i])return i+1;size--}throw'Unknown name at position '+iInit};var checkLiteral=function(){if(value.charAt(iValue)!=format.charAt(iFormat))throw'Unexpected literal at position '+iValue;iValue++};var iValue=0;for(var iFormat=0;iFormat<format.length;iFormat++){if(literal)if(format.charAt(iFormat)=="'"&&!lookAhead("'"))literal=false;else checkLiteral();else switch(format.charAt(iFormat)){case'd':day=getNumber('d');break;case'D':getName('D',dayNamesShort,dayNames);break;case'o':doy=getNumber('o');break;case'm':month=getNumber('m');break;case'M':month=getName('M',monthNamesShort,monthNames);break;case'y':year=getNumber('y');break;case'@':var date=new Date(getNumber('@'));year=date.getFullYear();month=date.getMonth()+1;day=date.getDate();break;case"'":if(lookAhead("'"))checkLiteral();else literal=true;break;default:checkLiteral()}}if(year==-1)year=new Date().getFullYear();else if(year<100)year+=new Date().getFullYear()-new Date().getFullYear()%100+(year<=shortYearCutoff?0:-100);if(doy>-1){month=1;day=doy;do{var dim=this._getDaysInMonth(year,month-1);if(day<=dim)break;month++;day-=dim}while(true)}var date=this._daylightSavingAdjust(new Date(year,month-1,day));if(date.getFullYear()!=year||date.getMonth()+1!=month||date.getDate()!=day)throw'Invalid date';return date},ATOM:'yy-mm-dd',COOKIE:'D, dd M yy',ISO_8601:'yy-mm-dd',RFC_822:'D, d M y',RFC_850:'DD, dd-M-y',RFC_1036:'D, d M y',RFC_1123:'D, d M yy',RFC_2822:'D, d M yy',RSS:'D, d M y',TIMESTAMP:'@',W3C:'yy-mm-dd',formatDate:function(format,date,settings){if(!date)return'';var dayNamesShort=(settings?settings.dayNamesShort:null)||this._defaults.dayNamesShort;var dayNames=(settings?settings.dayNames:null)||this._defaults.dayNames;var monthNamesShort=(settings?settings.monthNamesShort:null)||this._defaults.monthNamesShort;var monthNames=(settings?settings.monthNames:null)||this._defaults.monthNames;var lookAhead=function(match){var matches=(iFormat+1<format.length&&format.charAt(iFormat+1)==match);if(matches)iFormat++;return matches};var formatNumber=function(match,value,len){var num=''+value;if(lookAhead(match))while(num.length<len)num='0'+num;return num};var formatName=function(match,value,shortNames,longNames){return(lookAhead(match)?longNames[value]:shortNames[value])};var output='';var literal=false;if(date)for(var iFormat=0;iFormat<format.length;iFormat++){if(literal)if(format.charAt(iFormat)=="'"&&!lookAhead("'"))literal=false;else output+=format.charAt(iFormat);else switch(format.charAt(iFormat)){case'd':output+=formatNumber('d',date.getDate(),2);break;case'D':output+=formatName('D',date.getDay(),dayNamesShort,dayNames);break;case'o':var doy=date.getDate();for(var m=date.getMonth()-1;m>=0;m--)doy+=this._getDaysInMonth(date.getFullYear(),m);output+=formatNumber('o',doy,3);break;case'm':output+=formatNumber('m',date.getMonth()+1,2);break;case'M':output+=formatName('M',date.getMonth(),monthNamesShort,monthNames);break;case'y':output+=(lookAhead('y')?date.getFullYear():(date.getYear()%100<10?'0':'')+date.getYear()%100);break;case'@':output+=date.getTime();break;case"'":if(lookAhead("'"))output+="'";else literal=true;break;default:output+=format.charAt(iFormat)}}return output},_possibleChars:function(format){var chars='';var literal=false;for(var iFormat=0;iFormat<format.length;iFormat++)if(literal)if(format.charAt(iFormat)=="'"&&!lookAhead("'"))literal=false;else chars+=format.charAt(iFormat);else switch(format.charAt(iFormat)){case'd':case'm':case'y':case'@':chars+='0123456789';break;case'D':case'M':return null;case"'":if(lookAhead("'"))chars+="'";else literal=true;break;default:chars+=format.charAt(iFormat)}return chars},_get:function(inst,name){return inst.settings[name]!==undefined?inst.settings[name]:this._defaults[name]},_setDateFromField:function(inst){var dateFormat=this._get(inst,'dateFormat');var dates=inst.input?inst.input.val():null;inst.endDay=inst.endMonth=inst.endYear=null;var date=defaultDate=this._getDefaultDate(inst);var settings=this._getFormatConfig(inst);try{date=this.parseDate(dateFormat,dates,settings)||defaultDate}catch(event){this.log(event);date=defaultDate}inst.selectedDay=date.getDate();inst.drawMonth=inst.selectedMonth=date.getMonth();inst.drawYear=inst.selectedYear=date.getFullYear();inst.currentDay=(dates?date.getDate():0);inst.currentMonth=(dates?date.getMonth():0);inst.currentYear=(dates?date.getFullYear():0);this._adjustInstDate(inst)},_getDefaultDate:function(inst){var date=this._determineDate(this._get(inst,'defaultDate'),new Date());var minDate=this._getMinMaxDate(inst,'min',true);var maxDate=this._getMinMaxDate(inst,'max');date=(minDate&&date<minDate?minDate:date);date=(maxDate&&date>maxDate?maxDate:date);return date},_determineDate:function(date,defaultDate){var offsetNumeric=function(offset){var date=new Date();date.setDate(date.getDate()+offset);return date};var offsetString=function(offset,getDaysInMonth){var date=new Date();var year=date.getFullYear();var month=date.getMonth();var day=date.getDate();var pattern=/([+-]?[0-9]+)\s*(d|D|w|W|m|M|y|Y)?/g;var matches=pattern.exec(offset);while(matches){switch(matches[2]||'d'){case'd':case'D':day+=parseInt(matches[1],10);break;case'w':case'W':day+=parseInt(matches[1],10)*7;break;case'm':case'M':month+=parseInt(matches[1],10);day=Math.min(day,getDaysInMonth(year,month));break;case'y':case'Y':year+=parseInt(matches[1],10);day=Math.min(day,getDaysInMonth(year,month));break}matches=pattern.exec(offset)}return new Date(year,month,day)};date=(date==null?defaultDate:(typeof date=='string'?offsetString(date,this._getDaysInMonth):(typeof date=='number'?(isNaN(date)?defaultDate:offsetNumeric(date)):date)));date=(date&&date.toString()=='Invalid Date'?defaultDate:date);if(date){date.setHours(0);date.setMinutes(0);date.setSeconds(0);date.setMilliseconds(0)}return this._daylightSavingAdjust(date)},_daylightSavingAdjust:function(date){if(!date)return null;date.setHours(date.getHours()>12?date.getHours()+2:0);return date},_setDate:function(inst,date,endDate){var clear=!(date);var origMonth=inst.selectedMonth;var origYear=inst.selectedYear;date=this._determineDate(date,new Date());inst.selectedDay=inst.currentDay=date.getDate();inst.drawMonth=inst.selectedMonth=inst.currentMonth=date.getMonth();inst.drawYear=inst.selectedYear=inst.currentYear=date.getFullYear();if(origMonth!=inst.selectedMonth||origYear!=inst.selectedYear)this._notifyChange(inst);this._adjustInstDate(inst);if(inst.input){inst.input.val(clear?'':this._formatDate(inst))}},_getDate:function(inst){var startDate=(!inst.currentYear||(inst.input&&inst.input.val()=='')?null:this._daylightSavingAdjust(new Date(inst.currentYear,inst.currentMonth,inst.currentDay)));return startDate},_generateHTML:function(inst){var today=new Date();today=this._daylightSavingAdjust(new Date(today.getFullYear(),today.getMonth(),today.getDate()));var isRTL=this._get(inst,'isRTL');var showButtonPanel=this._get(inst,'showButtonPanel');var hideIfNoPrevNext=this._get(inst,'hideIfNoPrevNext');var navigationAsDateFormat=this._get(inst,'navigationAsDateFormat');var numMonths=this._getNumberOfMonths(inst);var showCurrentAtPos=this._get(inst,'showCurrentAtPos');var stepMonths=this._get(inst,'stepMonths');var stepBigMonths=this._get(inst,'stepBigMonths');var isMultiMonth=(numMonths[0]!=1||numMonths[1]!=1);var currentDate=this._daylightSavingAdjust((!inst.currentDay?new Date(9999,9,9):new Date(inst.currentYear,inst.currentMonth,inst.currentDay)));var minDate=this._getMinMaxDate(inst,'min',true);var maxDate=this._getMinMaxDate(inst,'max');var drawMonth=inst.drawMonth-showCurrentAtPos;var drawYear=inst.drawYear;if(drawMonth<0){drawMonth+=12;drawYear--}if(maxDate){var maxDraw=this._daylightSavingAdjust(new Date(maxDate.getFullYear(),maxDate.getMonth()-numMonths[1]+1,maxDate.getDate()));maxDraw=(minDate&&maxDraw<minDate?minDate:maxDraw);while(this._daylightSavingAdjust(new Date(drawYear,drawMonth,1))>maxDraw){drawMonth--;if(drawMonth<0){drawMonth=11;drawYear--}}}inst.drawMonth=drawMonth;inst.drawYear=drawYear;var prevText=this._get(inst,'prevText');prevText=(!navigationAsDateFormat?prevText:this.formatDate(prevText,this._daylightSavingAdjust(new Date(drawYear,drawMonth-stepMonths,1)),this._getFormatConfig(inst)));var prev=(this._canAdjustMonth(inst,-1,drawYear,drawMonth)?'<a class="ui-datepicker-prev ui-corner-all" onclick="DP_jQuery.datepicker._adjustDate(\'#'+inst.id+'\', -'+stepMonths+', \'M\');"'+' title="'+prevText+'"><span class="ui-icon ui-icon-circle-triangle-'+(isRTL?'e':'w')+'">'+prevText+'</span></a>':(hideIfNoPrevNext?'':'<a class="ui-datepicker-prev ui-corner-all ui-state-disabled" title="'+prevText+'"><span class="ui-icon ui-icon-circle-triangle-'+(isRTL?'e':'w')+'">'+prevText+'</span></a>'));var nextText=this._get(inst,'nextText');nextText=(!navigationAsDateFormat?nextText:this.formatDate(nextText,this._daylightSavingAdjust(new Date(drawYear,drawMonth+stepMonths,1)),this._getFormatConfig(inst)));var next=(this._canAdjustMonth(inst,+1,drawYear,drawMonth)?'<a class="ui-datepicker-next ui-corner-all" onclick="DP_jQuery.datepicker._adjustDate(\'#'+inst.id+'\', +'+stepMonths+', \'M\');"'+' title="'+nextText+'"><span class="ui-icon ui-icon-circle-triangle-'+(isRTL?'w':'e')+'">'+nextText+'</span></a>':(hideIfNoPrevNext?'':'<a class="ui-datepicker-next ui-corner-all ui-state-disabled" title="'+nextText+'"><span class="ui-icon ui-icon-circle-triangle-'+(isRTL?'w':'e')+'">'+nextText+'</span></a>'));var currentText=this._get(inst,'currentText');var gotoDate=(this._get(inst,'gotoCurrent')&&inst.currentDay?currentDate:today);currentText=(!navigationAsDateFormat?currentText:this.formatDate(currentText,gotoDate,this._getFormatConfig(inst)));var controls=(!inst.inline?'<button type="button" class="ui-datepicker-close ui-state-default ui-priority-primary ui-corner-all" onclick="DP_jQuery.datepicker._hideDatepicker();">'+this._get(inst,'closeText')+'</button>':'');var buttonPanel=(showButtonPanel)?'<div class="ui-datepicker-buttonpane ui-widget-content">'+(isRTL?controls:'')+(this._isInRange(inst,gotoDate)?'<button type="button" class="ui-datepicker-current ui-state-default ui-priority-secondary ui-corner-all" onclick="DP_jQuery.datepicker._gotoToday(\'#'+inst.id+'\');"'+'>'+currentText+'</button>':'')+(isRTL?'':controls)+'</div>':'';var firstDay=parseInt(this._get(inst,'firstDay'),10);firstDay=(isNaN(firstDay)?0:firstDay);var dayNames=this._get(inst,'dayNames');var dayNamesShort=this._get(inst,'dayNamesShort');var dayNamesMin=this._get(inst,'dayNamesMin');var monthNames=this._get(inst,'monthNames');var monthNamesShort=this._get(inst,'monthNamesShort');var beforeShowDay=this._get(inst,'beforeShowDay');var showOtherMonths=this._get(inst,'showOtherMonths');var calculateWeek=this._get(inst,'calculateWeek')||this.iso8601Week;var endDate=inst.endDay?this._daylightSavingAdjust(new Date(inst.endYear,inst.endMonth,inst.endDay)):currentDate;var defaultDate=this._getDefaultDate(inst);var html='';for(var row=0;row<numMonths[0];row++){var group='';for(var col=0;col<numMonths[1];col++){var selectedDate=this._daylightSavingAdjust(new Date(drawYear,drawMonth,inst.selectedDay));var cornerClass=' ui-corner-all';var calender='';if(isMultiMonth){calender+='<div class="ui-datepicker-group ui-datepicker-group-';switch(col){case 0:calender+='first';cornerClass=' ui-corner-'+(isRTL?'right':'left');break;case numMonths[1]-1:calender+='last';cornerClass=' ui-corner-'+(isRTL?'left':'right');break;default:calender+='middle';cornerClass='';break}calender+='">'}calender+='<div class="ui-datepicker-header ui-widget-header ui-helper-clearfix'+cornerClass+'">'+(/all|left/.test(cornerClass)&&row==0?(isRTL?next:prev):'')+(/all|right/.test(cornerClass)&&row==0?(isRTL?prev:next):'')+this._generateMonthYearHeader(inst,drawMonth,drawYear,minDate,maxDate,selectedDate,row>0||col>0,monthNames,monthNamesShort)+'</div><table class="ui-datepicker-calendar"><thead>'+'<tr>';var thead='';for(var dow=0;dow<7;dow++){var day=(dow+firstDay)%7;thead+='<th'+((dow+firstDay+6)%7>=5?' class="ui-datepicker-week-end"':'')+'>'+'<span title="'+dayNames[day]+'">'+dayNamesMin[day]+'</span></th>'}calender+=thead+'</tr></thead><tbody>';var daysInMonth=this._getDaysInMonth(drawYear,drawMonth);if(drawYear==inst.selectedYear&&drawMonth==inst.selectedMonth)inst.selectedDay=Math.min(inst.selectedDay,daysInMonth);var leadDays=(this._getFirstDayOfMonth(drawYear,drawMonth)-firstDay+7)%7;var numRows=(isMultiMonth?6:Math.ceil((leadDays+daysInMonth)/7)); var printDate=this._daylightSavingAdjust(new Date(drawYear,drawMonth,1-leadDays));for(var dRow=0;dRow<numRows;dRow++){calender+='<tr>';var tbody='';for(var dow=0;dow<7;dow++){var daySettings=(beforeShowDay?beforeShowDay.apply((inst.input?inst.input[0]:null),[printDate]):[true,'']);var otherMonth=(printDate.getMonth()!=drawMonth);var unselectable=otherMonth||!daySettings[0]||(minDate&&printDate<minDate)||(maxDate&&printDate>maxDate);tbody+='<td class="'+((dow+firstDay+6)%7>=5?' ui-datepicker-week-end':'')+(otherMonth?' ui-datepicker-other-month':'')+((printDate.getTime()==selectedDate.getTime()&&drawMonth==inst.selectedMonth&&inst._keyEvent)||(defaultDate.getTime()==printDate.getTime()&&defaultDate.getTime()==selectedDate.getTime())?' '+this._dayOverClass:'')+(unselectable?' '+this._unselectableClass+' ui-state-disabled':'')+(otherMonth&&!showOtherMonths?'':' '+daySettings[1]+(printDate.getTime()>=currentDate.getTime()&&printDate.getTime()<=endDate.getTime()?' '+this._currentClass:'')+(printDate.getTime()==today.getTime()?' ui-datepicker-today':''))+'"'+((!otherMonth||showOtherMonths)&&daySettings[2]?' title="'+daySettings[2]+'"':'')+(unselectable?'':' onclick="DP_jQuery.datepicker._selectDay(\'#'+inst.id+'\','+drawMonth+','+drawYear+', this);return false;"')+'>'+(otherMonth?(showOtherMonths?printDate.getDate():'&#xa0;'):(unselectable?'<span class="ui-state-default">'+printDate.getDate()+'</span>':'<a class="ui-state-default'+(printDate.getTime()==today.getTime()?' ui-state-highlight':'')+(printDate.getTime()>=currentDate.getTime()&&printDate.getTime()<=endDate.getTime()?' ui-state-active':'')+'" href="#">'+printDate.getDate()+'</a>'))+'</td>';printDate.setDate(printDate.getDate()+1);printDate=this._daylightSavingAdjust(printDate)}calender+=tbody+'</tr>'}drawMonth++;if(drawMonth>11){drawMonth=0;drawYear++}calender+='</tbody></table>'+(isMultiMonth?'</div>'+((numMonths[0]>0&&col==numMonths[1]-1)?'<div class="ui-datepicker-row-break"></div>':''):'');group+=calender}html+=group}html+=buttonPanel+($.browser.msie&&parseInt($.browser.version,10)<7&&!inst.inline?'<iframe src="javascript:false;" class="ui-datepicker-cover" frameborder="0"></iframe>':'');inst._keyEvent=false;return html},_generateMonthYearHeader:function(inst,drawMonth,drawYear,minDate,maxDate,selectedDate,secondary,monthNames,monthNamesShort){minDate=(inst.rangeStart&&minDate&&selectedDate<minDate?selectedDate:minDate);var changeMonth=this._get(inst,'changeMonth');var changeYear=this._get(inst,'changeYear');var showMonthAfterYear=this._get(inst,'showMonthAfterYear');var html='<div class="ui-datepicker-title">';var monthHtml='';if(secondary||!changeMonth)monthHtml+='<span class="ui-datepicker-month">'+monthNames[drawMonth]+'</span> ';else{var inMinYear=(minDate&&minDate.getFullYear()==drawYear);var inMaxYear=(maxDate&&maxDate.getFullYear()==drawYear);monthHtml+='<select class="ui-datepicker-month" '+'onchange="DP_jQuery.datepicker._selectMonthYear(\'#'+inst.id+'\', this, \'M\');" '+'onclick="DP_jQuery.datepicker._clickMonthYear(\'#'+inst.id+'\');"'+'>';for(var month=0;month<12;month++){if((!inMinYear||month>=minDate.getMonth())&&(!inMaxYear||month<=maxDate.getMonth()))monthHtml+='<option value="'+month+'"'+(month==drawMonth?' selected="selected"':'')+'>'+monthNamesShort[month]+'</option>'}monthHtml+='</select>'}if(!showMonthAfterYear)html+=monthHtml+((secondary||changeMonth||changeYear)&&(!(changeMonth&&changeYear))?'&#xa0;':'');if(secondary||!changeYear)html+='<span class="ui-datepicker-year">'+drawYear+'</span>';else{var years=this._get(inst,'yearRange').split(':');var year=0;var endYear=0;if(years.length!=2){year=drawYear-10;endYear=drawYear+10}else if(years[0].charAt(0)=='+'||years[0].charAt(0)=='-'){year=drawYear+parseInt(years[0],10);endYear=drawYear+parseInt(years[1],10)}else{year=parseInt(years[0],10);endYear=parseInt(years[1],10)}year=(minDate?Math.max(year,minDate.getFullYear()):year);endYear=(maxDate?Math.min(endYear,maxDate.getFullYear()):endYear);html+='<select class="ui-datepicker-year" '+'onchange="DP_jQuery.datepicker._selectMonthYear(\'#'+inst.id+'\', this, \'Y\');" '+'onclick="DP_jQuery.datepicker._clickMonthYear(\'#'+inst.id+'\');"'+'>';for(;year<=endYear;year++){html+='<option value="'+year+'"'+(year==drawYear?' selected="selected"':'')+'>'+year+'</option>'}html+='</select>'}if(showMonthAfterYear)html+=(secondary||changeMonth||changeYear?'&#xa0;':'')+monthHtml;html+='</div>';return html},_adjustInstDate:function(inst,offset,period){var year=inst.drawYear+(period=='Y'?offset:0);var month=inst.drawMonth+(period=='M'?offset:0);var day=Math.min(inst.selectedDay,this._getDaysInMonth(year,month))+(period=='D'?offset:0);var date=this._daylightSavingAdjust(new Date(year,month,day));var minDate=this._getMinMaxDate(inst,'min',true);var maxDate=this._getMinMaxDate(inst,'max');date=(minDate&&date<minDate?minDate:date);date=(maxDate&&date>maxDate?maxDate:date);inst.selectedDay=date.getDate();inst.drawMonth=inst.selectedMonth=date.getMonth();inst.drawYear=inst.selectedYear=date.getFullYear();if(period=='M'||period=='Y')this._notifyChange(inst)},_notifyChange:function(inst){var onChange=this._get(inst,'onChangeMonthYear');if(onChange)onChange.apply((inst.input?inst.input[0]:null),[inst.selectedYear,inst.selectedMonth+1,inst])},_getNumberOfMonths:function(inst){var numMonths=this._get(inst,'numberOfMonths');return(numMonths==null?[1,1]:(typeof numMonths=='number'?[1,numMonths]:numMonths))},_getMinMaxDate:function(inst,minMax,checkRange){var date=this._determineDate(this._get(inst,minMax+'Date'),null);return(!checkRange||!inst.rangeStart?date:(!date||inst.rangeStart>date?inst.rangeStart:date))},_getDaysInMonth:function(year,month){return 32-new Date(year,month,32).getDate()},_getFirstDayOfMonth:function(year,month){return new Date(year,month,1).getDay()},_canAdjustMonth:function(inst,offset,curYear,curMonth){var numMonths=this._getNumberOfMonths(inst);var date=this._daylightSavingAdjust(new Date(curYear,curMonth+(offset<0?offset:numMonths[1]),1));if(offset<0)date.setDate(this._getDaysInMonth(date.getFullYear(),date.getMonth()));return this._isInRange(inst,date)},_isInRange:function(inst,date){var newMinDate=(!inst.rangeStart?null:this._daylightSavingAdjust(new Date(inst.selectedYear,inst.selectedMonth,inst.selectedDay)));newMinDate=(newMinDate&&inst.rangeStart<newMinDate?inst.rangeStart:newMinDate);var minDate=newMinDate||this._getMinMaxDate(inst,'min');var maxDate=this._getMinMaxDate(inst,'max');return((!minDate||date>=minDate)&&(!maxDate||date<=maxDate))},_getFormatConfig:function(inst){var shortYearCutoff=this._get(inst,'shortYearCutoff');shortYearCutoff=(typeof shortYearCutoff!='string'?shortYearCutoff:new Date().getFullYear()%100+parseInt(shortYearCutoff,10));return{shortYearCutoff:shortYearCutoff,dayNamesShort:this._get(inst,'dayNamesShort'),dayNames:this._get(inst,'dayNames'),monthNamesShort:this._get(inst,'monthNamesShort'),monthNames:this._get(inst,'monthNames')}},_formatDate:function(inst,day,month,year){if(!day){inst.currentDay=inst.selectedDay;inst.currentMonth=inst.selectedMonth;inst.currentYear=inst.selectedYear}var date=(day?(typeof day=='object'?day:this._daylightSavingAdjust(new Date(year,month,day))):this._daylightSavingAdjust(new Date(inst.currentYear,inst.currentMonth,inst.currentDay)));return this.formatDate(this._get(inst,'dateFormat'),date,this._getFormatConfig(inst))}});function extendRemove(target,props){$.extend(target,props);for(var name in props)if(props[name]==null||props[name]==undefined)target[name]=props[name];return target};function isArray(a){return(a&&(($.browser.safari&&typeof a=='object'&&a.length)||(a.constructor&&a.constructor.toString().match(/\Array\(\)/))))};$.fn.datepicker=function(options){if(!$.datepicker.initialized){$(document).mousedown($.datepicker._checkExternalClick).find('body').append($.datepicker.dpDiv);$.datepicker.initialized=true}var otherArgs=Array.prototype.slice.call(arguments,1);if(typeof options=='string'&&(options=='isDisabled'||options=='getDate'))return $.datepicker['_'+options+'Datepicker'].apply($.datepicker,[this[0]].concat(otherArgs));if(options=='option'&&arguments.length==2&&typeof arguments[1]=='string')return $.datepicker['_'+options+'Datepicker'].apply($.datepicker,[this[0]].concat(otherArgs));return this.each(function(){typeof options=='string'?$.datepicker['_'+options+'Datepicker'].apply($.datepicker,[this].concat(otherArgs)):$.datepicker._attachDatepicker(this,options)})};$.datepicker=new Datepicker();$.datepicker.initialized=false;$.datepicker.uuid=new Date().getTime();$.datepicker.version="1.7.2";window.DP_jQuery=$})(jQuery);
/*P:1838.709*/

