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.5.0',BrowserFeatures:{XPath:!!document.evaluate},ScriptFragment:'(?:<script.*?>)((\n|\r|.)*?)(?:<\/script>)',emptyFunction:function(){},K:function(x){return x}};var Class={create:function(){return function(){this.initialize.apply(this,arguments)}}};var Abstract=new Object();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===undefined)return'undefined';if(object===null)return'null';return object.inspect?object.inspect():object.toString()}catch(e){if(e instanceof RangeError)return'...';throw e}},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)}});Function.prototype.bind=function(){var __method=this,args=$A(arguments),object=args.shift();return function(){return __method.apply(object,args.concat($A(arguments)))}};Function.prototype.bindAsEventListener=function(object){var __method=this,args=$A(arguments),object=args.shift();return function(event){return __method.apply(object,[(event||window.event)].concat(args).concat($A(arguments)))}};Object.extend(Number.prototype,{toColorPart:function(){var digits=this.toString(16);if(this<16)return'0'+digits;return digits},succ:function(){return this+1},times:function(iterator){$R(0,this,true).each(iterator);return this}});var Try={these:function(){var returnValue;for(var i=0,length=arguments.length;i<length;i++){var lambda=arguments[i];try{returnValue=lambda();break}catch(e){}}return returnValue}};var PeriodicalExecuter=Class.create();PeriodicalExecuter.prototype={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)},stop:function(){if(!this.timer){return}clearInterval(this.timer);this.timer=null},onTimerEvent:function(){if(!this.currentlyExecuting){try{this.currentlyExecuting=true;this.callback(this)}finally{this.currentlyExecuting=false}}}};String.interpret=function(value){return value==null?'':String(value)};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=count===undefined?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 this},truncate:function(length,truncation){length=length||30;truncation=truncation===undefined?'...':truncation;return this.length>length?this.slice(0,length-truncation.length)+truncation: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 div=document.createElement('div');var text=document.createTextNode(this);div.appendChild(text);return div.innerHTML},unescapeHTML:function(){var div=document.createElement('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 name=decodeURIComponent(pair[0]);var value=pair[1]?decodeURIComponent(pair[1]):undefined;if(hash[name]!==undefined){if(hash[name].constructor!=Array)hash[name]=[hash[name]];if(value)hash[name].push(value)}else hash[name]=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)},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.replace(/\\/g,'\\\\');if(useDoubleQuotes)return'"'+escapedString.replace(/"/g,'\\"')+'"';else return"'"+escapedString.replace(/'/g,'\\\'')+"'"}});String.prototype.gsub.prepareReplacement=function(replacement){if(typeof replacement=='function')return replacement;var template=new Template(replacement);return function(match){return template.evaluate(match)}};String.prototype.parseQuery=String.prototype.toQueryParams;var Template=Class.create();Template.Pattern=/(^|.|\r|\n)(#\{(.*?)\})/;Template.prototype={initialize:function(template,pattern){this.template=template.toString();this.pattern=pattern||Template.Pattern},evaluate:function(object){return this.template.gsub(this.pattern,function(match){var before=match[1];if(before=='\\')return match[2];return before+String.interpret(object[match[3]])})}};var $break=new Object();var $continue=new Object();var Enumerable={each:function(iterator){var index=0;try{this._each(function(value){try{iterator(value,index++)}catch(e){if(e!=$continue)throw e}})}catch(e){if(e!=$break)throw e}return this},eachSlice:function(number,iterator){var index=-number,slices=[],array=this.toArray();while((index+=number)<array.length)slices.push(array.slice(index,index+number));return slices.map(iterator)},all:function(iterator){var result=true;this.each(function(value,index){result=result&&!!(iterator||Prototype.K)(value,index);if(!result)throw $break});return result},any:function(iterator){var result=false;this.each(function(value,index){if(result=!!(iterator||Prototype.K)(value,index))throw $break});return result},collect:function(iterator){var results=[];this.each(function(value,index){results.push((iterator||Prototype.K)(value,index))});return results},detect:function(iterator){var result;this.each(function(value,index){if(iterator(value,index)){result=value;throw $break}});return result},findAll:function(iterator){var results=[];this.each(function(value,index){if(iterator(value,index))results.push(value)});return results},grep:function(pattern,iterator){var results=[];this.each(function(value,index){var stringValue=value.toString();if(stringValue.match(pattern))results.push((iterator||Prototype.K)(value,index))});return results},include:function(object){var found=false;this.each(function(value){if(value==object){found=true;throw $break}});return found},inGroupsOf:function(number,fillWith){fillWith=fillWith===undefined?null:fillWith;return this.eachSlice(number,function(slice){while(slice.length<number)slice.push(fillWith);return slice})},inject:function(memo,iterator){this.each(function(value,index){memo=iterator(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){var result;this.each(function(value,index){value=(iterator||Prototype.K)(value,index);if(result==undefined||value>=result)result=value});return result},min:function(iterator){var result;this.each(function(value,index){value=(iterator||Prototype.K)(value,index);if(result==undefined||value<result)result=value});return result},partition:function(iterator){var trues=[],falses=[];this.each(function(value,index){((iterator||Prototype.K)(value,index)?trues:falses).push(value)});return[trues,falses]},pluck:function(property){var results=[];this.each(function(value,index){results.push(value[property])});return results},reject:function(iterator){var results=[];this.each(function(value,index){if(!iterator(value,index))results.push(value)});return results},sortBy:function(iterator){return this.map(function(value,index){return{value:value,criteria:iterator(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(typeof args.last()=='function')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,member:Enumerable.include,entries:Enumerable.toArray});var $A=Array.from=function(iterable){if(!iterable)return[];if(iterable.toArray){return iterable.toArray()}else{var results=[];for(var i=0,length=iterable.length;i<length;i++)results.push(iterable[i]);return results}};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(value&&value.constructor==Array?value.flatten():[value])})},without:function(){var values=$A(arguments);return this.select(function(value){return!values.include(value)})},indexOf:function(object){for(var i=0,length=this.length;i<length;i++)if(this[i]==object)return i;return-1},reverse:function(inline){return(inline!==false?this:this.toArray())._reverse()},reduce:function(){return this.length>1?this:this[0]},uniq:function(){return this.inject([],function(array,value){return array.include(value)?array:array.concat([value])})},clone:function(){return[].concat(this)},size:function(){return this.length},inspect:function(){return'['+this.map(Object.inspect).join(', ')+']'}});Array.prototype.toArray=Array.prototype.clone;function $w(string){string=string.strip();return string?string.split(/\s+/):[]}if(window.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(arguments[i].constructor==Array){for(var j=0,arrayLength=arguments[i].length;j<arrayLength;j++)array.push(arguments[i][j])}else{array.push(arguments[i])}}return array}}var Hash=function(obj){Object.extend(this,obj||{})};Object.extend(Hash,{toQueryString:function(obj){var parts=[];this.prototype._each.call(obj,function(pair){if(!pair.key)return;if(pair.value&&pair.value.constructor==Array){var values=pair.value.compact();if(values.length<2)pair.value=values.reduce();else{key=encodeURIComponent(pair.key);values.each(function(value){value=value!=undefined?encodeURIComponent(value):'';parts.push(key+'='+encodeURIComponent(value))});return}}if(pair.value==undefined)pair[1]='';parts.push(pair.map(encodeURIComponent).join('='))});return parts.join('&')}});Object.extend(Hash.prototype,Enumerable);Object.extend(Hash.prototype,{_each:function(iterator){for(var key in this){var value=this[key];if(value&&value==Hash.prototype[key])continue;var pair=[key,value];pair.key=key;pair.value=value;iterator(pair)}},keys:function(){return this.pluck('key')},values:function(){return this.pluck('value')},merge:function(hash){return $H(hash).inject(this,function(mergedHash,pair){mergedHash[pair.key]=pair.value;return mergedHash})},remove:function(){var result;for(var i=0,length=arguments.length;i<length;i++){var value=this[arguments[i]];if(value!==undefined){if(result===undefined)result=value;else{if(result.constructor!=Array)result=[result];result.push(value)}}delete this[arguments[i]]}return result},toQueryString:function(){return Hash.toQueryString(this)},inspect:function(){return'#<Hash:{'+this.map(function(pair){return pair.map(Object.inspect).join(': ')}).join(', ')+'}>'}});function $H(object){if(object&&object.constructor==Hash)return object;return new Hash(object)};ObjectRange=Class.create();Object.extend(ObjectRange.prototype,Enumerable);Object.extend(ObjectRange.prototype,{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(typeof responder[callback]=='function'){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=function(){};Ajax.Base.prototype={setOptions:function(options){this.options={method:'post',asynchronous:true,contentType:'application/x-www-form-urlencoded',encoding:'UTF-8',parameters:''};Object.extend(this.options,options||{});this.options.method=this.options.method.toLowerCase();if(typeof this.options.parameters=='string')this.options.parameters=this.options.parameters.toQueryParams()}};Ajax.Request=Class.create();Ajax.Request.Events=['Uninitialized','Loading','Loaded','Interactive','Complete'];Ajax.Request.prototype=Object.extend(new Ajax.Base(),{_complete:false,initialize:function(url,options){this.transport=Ajax.getTransport();this.setOptions(options);this.request(url)},request:function(url){this.url=url;this.method=this.options.method;var params=this.options.parameters;if(!['get','post'].include(this.method)){params['_method']=this.method;this.method='post'}params=Hash.toQueryString(params);if(params&&/Konqueror|Safari|KHTML/.test(navigator.userAgent)){params+='&_='}if(this.method=='get'&&params)this.url+=(this.url.indexOf('?')>-1?'&':'?')+params;try{Ajax.Responders.dispatch('onCreate',this,this.transport);this.transport.open(this.method.toUpperCase(),this.url,this.options.asynchronous);if(this.options.asynchronous)setTimeout(function(){this.respondToReadyState(1)}.bind(this),10);this.transport.onreadystatechange=this.onStateChange.bind(this);this.setRequestHeaders();var body=this.method=='post'?(this.options.postBody||params):null;this.transport.send(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(typeof extras.push=='function')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(){return!this.transport.status||(this.transport.status>=200&&this.transport.status<300)},respondToReadyState:function(readyState){var state=Ajax.Request.Events[readyState];var transport=this.transport,json=this.evalJSON();if(state=='Complete'){try{this._complete=true;(this.options['on'+this.transport.status]||this.options['on'+(this.success()?'Success':'Failure')]||Prototype.emptyFunction)(transport,json)}catch(e){this.dispatchException(e)}if((this.getHeader('Content-type')||'text/javascript').strip().match(/^(text|application)\/(x-)?(java|ecma)script(;.*)?$/i))this.evalResponse()}try{(this.options['on'+state]||Prototype.emptyFunction)(transport,json);Ajax.Responders.dispatch('on'+state,this,transport,json)}catch(e){this.dispatchException(e)}if(state=='Complete'){this.transport.onreadystatechange=Prototype.emptyFunction}},getHeader:function(name){try{return this.transport.getResponseHeader(name)}catch(e){return null}},evalJSON:function(){try{var json=this.getHeader('X-JSON');return json?eval('('+json+')'):null}catch(e){return null}},evalResponse:function(){try{return eval(this.transport.responseText)}catch(e){this.dispatchException(e)}},dispatchException:function(exception){(this.options.onException||Prototype.emptyFunction)(this,exception);Ajax.Responders.dispatch('onException',this,exception)}});Ajax.Updater=Class.create();Object.extend(Object.extend(Ajax.Updater.prototype,Ajax.Request.prototype),{initialize:function(container,url,options){this.container={success:(container.success||container),failure:(container.failure||(container.success?null:container))};this.transport=Ajax.getTransport();this.setOptions(options);var onComplete=this.options.onComplete||Prototype.emptyFunction;this.options.onComplete=(function(transport,param){this.updateContent();onComplete(transport,param)}).bind(this);this.request(url)},updateContent:function(){var receiver=this.container[this.success()?'success':'failure'];var response=this.transport.responseText;if(!this.options.evalScripts)response=response.stripScripts();if(receiver=$(receiver)){if(this.options.insertion)new this.options.insertion(receiver,response);else receiver.update(response)}if(this.success()){if(this.onComplete)setTimeout(this.onComplete.bind(this),10)}}});Ajax.PeriodicalUpdater=Class.create();Ajax.PeriodicalUpdater.prototype=Object.extend(new Ajax.Base(),{initialize:function(container,url,options){this.setOptions(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(request){if(this.options.decay){this.decay=(request.responseText==this.lastText?this.decay*this.options.decay:1);this.lastText=request.responseText}this.timer=setTimeout(this.onTimerEvent.bind(this),this.decay*this.frequency*1000)},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(typeof element=='string')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(query.snapshotItem(i));return results}}document.getElementsByClassName=function(className,parentElement){if(Prototype.BrowserFeatures.XPath){var q=".//*[contains(concat(' ', @class, ' '), ' "+className+" ')]";return document._getElementsByXPath(q,parentElement)}else{var children=($(parentElement)||document.body).getElementsByTagName('*');var elements=[],child;for(var i=0,length=children.length;i<length;i++){child=children[i];if(Element.hasClassName(child,className))elements.push(Element.extend(child))}return elements}};if(!window.Element)var Element=new Object();Element.extend=function(element){if(!element||_nativeExtensions||element.nodeType==3)return element;if(!element._extended&&element.tagName&&element!=window){var methods=Object.clone(Element.Methods),cache=Element.extend.cache;if(element.tagName=='FORM')Object.extend(methods,Form.Methods);if(['INPUT','TEXTAREA','SELECT'].include(element.tagName))Object.extend(methods,Form.Element.Methods);Object.extend(methods,Element.Methods.Simulated);for(var property in methods){var value=methods[property];if(typeof value=='function'&&!(property in element))element[property]=cache.findOrStore(value)}}element._extended=true;return element};Element.extend.cache={findOrStore:function(value){return this[value]=this[value]||function(){return value.apply(null,[this].concat($A(arguments)))}}};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).style.display='none';return element},show:function(element){$(element).style.display='';return element},remove:function(element){element=$(element);element.parentNode.removeChild(element);return element},update:function(element,html){html=typeof html=='undefined'?'':html.toString();$(element).innerHTML=html.stripScripts();setTimeout(function(){html.evalScripts()},10);return element},replace:function(element,html){element=$(element);html=typeof html=='undefined'?'':html.toString();if(element.outerHTML){element.outerHTML=html.stripScripts()}else{var range=element.ownerDocument.createRange();range.selectNodeContents(element);element.parentNode.replaceChild(range.createContextualFragment(html.stripScripts()),element)}setTimeout(function(){html.evalScripts()},10);return element},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 $A($(element).getElementsByTagName('*'))},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(typeof selector=='string')selector=new Selector(selector);return selector.match($(element))},up:function(element,expression,index){return Selector.findElement($(element).ancestors(),expression,index)},down:function(element,expression,index){return Selector.findElement($(element).descendants(),expression,index)},previous:function(element,expression,index){return Selector.findElement($(element).previousSiblings(),expression,index)},next:function(element,expression,index){return Selector.findElement($(element).nextSiblings(),expression,index)},getElementsBySelector:function(){var args=$A(arguments),element=$(args.shift());return Selector.findChildElements(element,args)},getElementsByClassName:function(element,className){return document.getElementsByClassName(className,element)},readAttribute:function(element,name){element=$(element);if(document.all&&!window.opera){var t=Element._attributeTranslations;if(t.values[name])return t.values[name](element,name);if(t.names[name])name=t.names[name];var attribute=element.attributes[name];if(attribute)return attribute.nodeValue}return element.getAttribute(name)},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;if(elementClassName.length==0)return false;if(elementClassName==className||elementClassName.match(new RegExp("(^|\\s)"+className+"(\\s|$)")))return true;return false},addClassName:function(element,className){if(!(element=$(element)))return;Element.classNames(element).add(className);return element},removeClassName:function(element,className){if(!(element=$(element)))return;Element.classNames(element).remove(className);return element},toggleClassName:function(element,className){if(!(element=$(element)))return;Element.classNames(element)[element.hasClassName(className)?'remove':'add'](className);return element},observe:function(){Event.observe.apply(Event,arguments);return $A(arguments).first()},stopObserving:function(){Event.stopObserving.apply(Event,arguments);return $A(arguments).first()},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.match(/^\s*$/)},descendantOf:function(element,ancestor){element=$(element),ancestor=$(ancestor);while(element=element.parentNode)if(element==ancestor)return true;return false},scrollTo:function(element){element=$(element);var pos=Position.cumulativeOffset(element);window.scrollTo(pos[0],pos[1]);return element},getStyle:function(element,style){element=$(element);if(['float','cssFloat'].include(style))style=(typeof element.style.styleFloat!='undefined'?'styleFloat':'cssFloat');style=style.camelize();var value=element.style[style];if(!value){if(document.defaultView&&document.defaultView.getComputedStyle){var css=document.defaultView.getComputedStyle(element,null);value=css?css[style]:null}else if(element.currentStyle){value=element.currentStyle[style]}}if((value=='auto')&&['width','height'].include(style)&&(element.getStyle('display')!='none'))value=element['offset'+style.capitalize()]+'px';if(window.opera&&['left','top','right','bottom'].include(style))if(Element.getStyle(element,'position')=='static')value='auto';if(style=='opacity'){if(value)return parseFloat(value);if(value=(element.getStyle('filter')||'').match(/alpha\(opacity=(.*)\)/))if(value[1])return parseFloat(value[1])/100;return 1.0}return value=='auto'?null:value},setStyle:function(element,style){element=$(element);for(var name in style){var value=style[name];if(name=='opacity'){if(value==1){value=(/Gecko/.test(navigator.userAgent)&&!/Konqueror|Safari|KHTML/.test(navigator.userAgent))?0.999999:1.0;if(/MSIE/.test(navigator.userAgent)&&!window.opera)element.style.filter=element.getStyle('filter').replace(/alpha\([^\)]*\)/gi,'')}else if(value===''){if(/MSIE/.test(navigator.userAgent)&&!window.opera)element.style.filter=element.getStyle('filter').replace(/alpha\([^\)]*\)/gi,'')}else{if(value<0.00001){value=0}if(/MSIE/.test(navigator.userAgent)&&!window.opera){element.style.filter=element.getStyle('filter').replace(/alpha\([^\)]*\)/gi,'')+'alpha(opacity='+value*100+')'}}}else if(['float','cssFloat'].include(name)){name=(typeof element.style.styleFloat!='undefined')?'styleFloat':'cssFloat'}element.style[name.camelize()]=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(window.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.style.overflow||'auto';if((Element.getStyle(element,'overflow')||'visible')!='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}};Object.extend(Element.Methods,{childOf:Element.Methods.descendantOf});Element._attributeTranslations={};Element._attributeTranslations.names={colspan:"colSpan",rowspan:"rowSpan",valign:"vAlign",datetime:"dateTime",accesskey:"accessKey",tabindex:"tabIndex",enctype:"encType",maxlength:"maxLength",readonly:"readOnly",longdesc:"longDesc"};Element._attributeTranslations.values={_getAttr:function(element,attribute){return element.getAttribute(attribute,2)},_flag:function(element,attribute){return $(element).hasAttribute(attribute)?attribute:null},style:function(element){return element.style.cssText.toLowerCase()},title:function(element){var node=element.getAttributeNode('title');return node.specified?node.nodeValue:null}};Object.extend(Element._attributeTranslations.values,{href:Element._attributeTranslations.values._getAttr,src:Element._attributeTranslations.values._getAttr,disabled:Element._attributeTranslations.values._flag,checked:Element._attributeTranslations.values._flag,readonly:Element._attributeTranslations.values._flag,multiple:Element._attributeTranslations.values._flag});Element.Methods.Simulated={hasAttribute:function(element,attribute){var t=Element._attributeTranslations;attribute=t.names[attribute]||attribute;return $(element).getAttributeNode(attribute).specified}};if(document.all&&!window.opera){Element.Methods.update=function(element,html){element=$(element);html=typeof html=='undefined'?'':html.toString();var tagName=element.tagName.toUpperCase();if(['THEAD','TBODY','TR','TD'].include(tagName)){var div=document.createElement('div');switch(tagName){case'THEAD':case'TBODY':div.innerHTML='<table><tbody>'+html.stripScripts()+'</tbody></table>';depth=2;break;case'TR':div.innerHTML='<table><tbody><tr>'+html.stripScripts()+'</tr></tbody></table>';depth=3;break;case'TD':div.innerHTML='<table><tbody><tr><td>'+html.stripScripts()+'</td></tr></tbody></table>';depth=4}$A(element.childNodes).each(function(node){element.removeChild(node)});depth.times(function(){div=div.firstChild});$A(div.childNodes).each(function(node){element.appendChild(node)})}else{element.innerHTML=html.stripScripts()}setTimeout(function(){html.evalScripts()},10);return element}}Object.extend(Element,Element.Methods);var _nativeExtensions=false;if(/Konqueror|Safari|KHTML/.test(navigator.userAgent))['','Form','Input','TextArea','Select'].each(function(tag){var className='HTML'+tag+'Element';if(window[className])return;var klass=window[className]={};klass.prototype=document.createElement(tag?tag.toLowerCase():'div').__proto__});Element.addMethods=function(methods){Object.extend(Element.Methods,methods||{});function copy(methods,destination,onlyIfAbsent){onlyIfAbsent=onlyIfAbsent||false;var cache=Element.extend.cache;for(var property in methods){var value=methods[property];if(!onlyIfAbsent||!(property in destination))destination[property]=cache.findOrStore(value)}};if(typeof HTMLElement!='undefined'){copy(Element.Methods,HTMLElement.prototype);copy(Element.Methods.Simulated,HTMLElement.prototype,true);copy(Form.Methods,HTMLFormElement.prototype);[HTMLInputElement,HTMLTextAreaElement,HTMLSelectElement].each(function(klass){copy(Form.Element.Methods,klass.prototype)});_nativeExtensions=true}};var Toggle=new Object();Toggle.display=Element.toggle;Abstract.Insertion=function(adjacency){this.adjacency=adjacency};Abstract.Insertion.prototype={initialize:function(element,content){this.element=$(element);this.content=content.stripScripts();if(this.adjacency&&this.element.insertAdjacentHTML){try{this.element.insertAdjacentHTML(this.adjacency,this.content)}catch(e){var tagName=this.element.tagName.toUpperCase();if(['TBODY','TR'].include(tagName)){this.insertContent(this.contentFromAnonymousTable())}else{throw e}}}else{this.range=this.element.ownerDocument.createRange();if(this.initializeRange)this.initializeRange();this.insertContent([this.range.createContextualFragment(this.content)])}setTimeout(function(){content.evalScripts()},10)},contentFromAnonymousTable:function(){var div=document.createElement('div');div.innerHTML='<table><tbody>'+this.content+'</tbody></table>';return $A(div.childNodes[0].childNodes[0].childNodes)}};var Insertion=new Object();Insertion.Before=Class.create();Insertion.Before.prototype=Object.extend(new Abstract.Insertion('beforeBegin'),{initializeRange:function(){this.range.setStartBefore(this.element)},insertContent:function(fragments){fragments.each((function(fragment){this.element.parentNode.insertBefore(fragment,this.element)}).bind(this))}});Insertion.Top=Class.create();Insertion.Top.prototype=Object.extend(new Abstract.Insertion('afterBegin'),{initializeRange:function(){this.range.selectNodeContents(this.element);this.range.collapse(true)},insertContent:function(fragments){fragments.reverse(false).each((function(fragment){this.element.insertBefore(fragment,this.element.firstChild)}).bind(this))}});Insertion.Bottom=Class.create();Insertion.Bottom.prototype=Object.extend(new Abstract.Insertion('beforeEnd'),{initializeRange:function(){this.range.selectNodeContents(this.element);this.range.collapse(this.element)},insertContent:function(fragments){fragments.each((function(fragment){this.element.appendChild(fragment)}).bind(this))}});Insertion.After=Class.create();Insertion.After.prototype=Object.extend(new Abstract.Insertion('afterEnd'),{initializeRange:function(){this.range.setStartAfter(this.element)},insertContent:function(fragments){fragments.each((function(fragment){this.element.parentNode.insertBefore(fragment,this.element.nextSibling)}).bind(this))}});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);var Selector=Class.create();Selector.prototype={initialize:function(expression){this.params={classNames:[]};this.expression=expression.toString().strip();this.parseExpression();this.compileMatcher()},parseExpression:function(){function abort(message){throw'Parse error in selector: '+message};if(this.expression=='')abort('empty expression');var params=this.params,expr=this.expression,match,modifier,clause,rest;while(match=expr.match(/^(.*)\[([a-z0-9_:-]+?)(?:([~\|!]?=)(?:"([^"]*)"|([^\]\s]*)))?\]$/i)){params.attributes=params.attributes||[];params.attributes.push({name:match[2],operator:match[3],value:match[4]||match[5]||''});expr=match[1]}if(expr=='*')return this.params.wildcard=true;while(match=expr.match(/^([^a-z0-9_-])?([a-z0-9_-]+)(.*)/i)){modifier=match[1],clause=match[2],rest=match[3];switch(modifier){case'#':params.id=clause;break;case'.':params.classNames.push(clause);break;case'':case undefined:params.tagName=clause.toUpperCase();break;default:abort(expr.inspect())}expr=rest}if(expr.length>0)abort(expr.inspect())},buildMatchExpression:function(){var params=this.params,conditions=[],clause;if(params.wildcard)conditions.push('true');if(clause=params.id)conditions.push('element.readAttribute("id") == '+clause.inspect());if(clause=params.tagName)conditions.push('element.tagName.toUpperCase() == '+clause.inspect());if((clause=params.classNames).length>0)for(var i=0,length=clause.length;i<length;i++)conditions.push('element.hasClassName('+clause[i].inspect()+')');if(clause=params.attributes){clause.each(function(attribute){var value='element.readAttribute('+attribute.name.inspect()+')';var splitValueBy=function(delimiter){return value+' && '+value+'.split('+delimiter.inspect()+')'};switch(attribute.operator){case'=':conditions.push(value+' == '+attribute.value.inspect());break;case'~=':conditions.push(splitValueBy(' ')+'.include('+attribute.value.inspect()+')');break;case'|=':conditions.push(splitValueBy('-')+'.first().toUpperCase() == '+attribute.value.toUpperCase().inspect());break;case'!=':conditions.push(value+' != '+attribute.value.inspect());break;case'':case undefined:conditions.push('element.hasAttribute('+attribute.name.inspect()+')');break;default:throw'Unknown operator '+attribute.operator+' in selector'}})}return conditions.join(' && ')},compileMatcher:function(){this.match=new Function('element','if (!element.tagName) return false; '+'element = $(element); '+'return '+this.buildMatchExpression())},findElements:function(scope){var element;if(element=$(this.params.id))if(this.match(element))if(!scope||Element.childOf(element,scope))return[element];scope=(scope||document).getElementsByTagName(this.params.tagName||'*');var results=[];for(var i=0,length=scope.length;i<length;i++)if(this.match(element=scope[i]))results.push(Element.extend(element));return results},toString:function(){return this.expression}};Object.extend(Selector,{matchElements:function(elements,expression){var selector=new Selector(expression);return elements.select(selector.match.bind(selector)).map(Element.extend)},findElement:function(elements,expression,index){if(typeof expression=='number')index=expression,expression=false;return Selector.matchElements(elements,expression||'*')[index||0]},findChildElements:function(element,expressions){return expressions.map(function(expression){return expression.match(/[^\s"]+(?:"[^"]*"[^\s"]+)*/g).inject([null],function(results,expr){var selector=new Selector(expr);return results.inject([],function(elements,result){return elements.concat(selector.findElements(result||element))})})}).flatten()}});function $$(){return Selector.findChildElements(document,$A(arguments))};var Form={reset:function(form){$(form).reset();return form},serializeElements:function(elements,getHash){var data=elements.inject({},function(result,element){if(!element.disabled&&element.name){var key=element.name,value=$(element).getValue();if(value!=undefined){if(result[key]){if(result[key].constructor!=Array)result[key]=[result[key]];result[key].push(value)}else result[key]=value}}return result});return getHash?data:Hash.toQueryString(data)}};Form.Methods={serialize:function(form,getHash){return Form.serializeElements(Form.getElements(form),getHash)},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().each(function(element){element.blur();element.disabled='true'});return form},enable:function(form){form=$(form);form.getElements().each(function(element){element.disabled=''});return form},findFirstElement:function(form){return $(form).getElements().find(function(element){return element.type!='hidden'&&!element.disabled&&['input','select','textarea'].include(element.tagName.toLowerCase())})},focusFirstElement:function(form){form=$(form);form.findFirstElement().activate();return form}};Object.extend(Form,Form.Methods);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 Hash.toQueryString(pair)}}return''},getValue:function(element){element=$(element);var method=element.tagName.toLowerCase();return Form.Element.Serializers[method](element)},clear:function(element){$(element).value='';return element},present:function(element){return $(element).value!=''},activate:function(element){element=$(element);element.focus();if(element.select&&(element.tagName.toLowerCase()!='input'||!['button','reset','submit'].include(element.type))){element.select()}return element},disable:function(element){element=$(element);element.disabled=true;return element},enable:function(element){element=$(element);element.blur();element.disabled=false;return element}};Object.extend(Form.Element,Form.Element.Methods);var Field=Form.Element;var $F=Form.Element.getValue;Form.Element.Serializers={input:function(element){switch(element.type.toLowerCase()){case'checkbox':case'radio':return Form.Element.Serializers.inputSelector(element);default:return Form.Element.Serializers.textarea(element)}},inputSelector:function(element){return element.checked?element.value:null},textarea:function(element){return element.value},select:function(element){return this[element.type=='select-one'?'selectOne':'selectMany'](element)},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=function(){};Abstract.TimedObserver.prototype={initialize:function(element,frequency,callback){this.frequency=frequency;this.element=$(element);this.callback=callback;this.lastValue=this.getValue();this.registerCallback()},registerCallback:function(){setInterval(this.onTimerEvent.bind(this),this.frequency*1000)},onTimerEvent:function(){var value=this.getValue();var changed=('string'==typeof this.lastValue&&'string'==typeof value?this.lastValue!=value:String(this.lastValue)!=String(value));if(changed){this.callback(this.element,value);this.lastValue=value}}};Form.Element.Observer=Class.create();Form.Element.Observer.prototype=Object.extend(new Abstract.TimedObserver(),{getValue:function(){return Form.Element.getValue(this.element)}});Form.Observer=Class.create();Form.Observer.prototype=Object.extend(new Abstract.TimedObserver(),{getValue:function(){return Form.serialize(this.element)}});Abstract.EventObserver=function(){};Abstract.EventObserver.prototype={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.bind(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();Form.Element.EventObserver.prototype=Object.extend(new Abstract.EventObserver(),{getValue:function(){return Form.Element.getValue(this.element)}});Form.EventObserver=Class.create();Form.EventObserver.prototype=Object.extend(new Abstract.EventObserver(),{getValue:function(){return Form.serialize(this.element)}});if(!window.Event){var Event=new Object()}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,element:function(event){return event.target||event.srcElement},isLeftClick:function(event){return(((event.which)&&(event.which==1))||((event.button)&&(event.button==1)))},pointerX:function(event){return event.pageX||(event.clientX+(document.documentElement.scrollLeft||document.body.scrollLeft))},pointerY:function(event){return event.pageY||(event.clientY+(document.documentElement.scrollTop||document.body.scrollTop))},stop:function(event){if(event.preventDefault){event.preventDefault();event.stopPropagation()}else{event.returnValue=false;event.cancelBubble=true}},findElement:function(event,tagName){var element=Event.element(event);while(element.parentNode&&(!element.tagName||(element.tagName.toUpperCase()!=tagName.toUpperCase())))element=element.parentNode;return element},observers:false,_observeAndCache:function(element,name,observer,useCapture){if(!this.observers)this.observers=[];if(element.addEventListener){this.observers.push([element,name,observer,useCapture]);element.addEventListener(name,observer,useCapture)}else if(element.attachEvent){this.observers.push([element,name,observer,useCapture]);element.attachEvent('on'+name,observer)}},unloadCache:function(){if(!Event.observers)return;for(var i=0,length=Event.observers.length;i<length;i++){Event.stopObserving.apply(this,Event.observers[i]);Event.observers[i][0]=null}Event.observers=false},observe:function(element,name,observer,useCapture){element=$(element);useCapture=useCapture||false;if(name=='keypress'&&(navigator.appVersion.match(/Konqueror|Safari|KHTML/)||element.attachEvent))name='keydown';Event._observeAndCache(element,name,observer,useCapture)},stopObserving:function(element,name,observer,useCapture){element=$(element);useCapture=useCapture||false;if(name=='keypress'&&(navigator.appVersion.match(/Konqueror|Safari|KHTML/)||element.detachEvent))name='keydown';if(element.removeEventListener){element.removeEventListener(name,observer,useCapture)}else if(element.detachEvent){try{element.detachEvent('on'+name,observer)}catch(e){}}}});if(navigator.appVersion.match(/\bMSIE\b/)){Event.observe(window,'unload',Event.unloadCache,false)}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},realOffset:function(element){var valueT=0,valueL=0;do{valueT+=element.scrollTop||0;valueL+=element.scrollLeft||0;element=element.parentNode}while(element);return[valueL,valueT]},cumulativeOffset:function(element){var valueT=0,valueL=0;do{valueT+=element.offsetTop||0;valueL+=element.offsetLeft||0;element=element.offsetParent}while(element);return[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=='BODY')break;var p=Element.getStyle(element,'position');if(p=='relative'||p=='absolute')break}}while(element);return[valueL,valueT]},offsetParent: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},within:function(element,x,y){if(this.includeScrollOffsets)return this.withinIncludingScrolloffsets(element,x,y);this.xcomp=x;this.ycomp=y;this.offset=this.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=this.realOffset(element);this.xcomp=x+offsetcache[0]-this.deltaX;this.ycomp=y+offsetcache[1]-this.deltaY;this.offset=this.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},page:function(forElement){var valueT=0,valueL=0;var element=forElement;do{valueT+=element.offsetTop||0;valueL+=element.offsetLeft||0;if(element.offsetParent==document.body)if(Element.getStyle(element,'position')=='absolute')break}while(element=element.offsetParent);element=forElement;do{if(!window.opera||element.tagName=='BODY'){valueT-=element.scrollTop||0;valueL-=element.scrollLeft||0}}while(element=element.parentNode);return[valueL,valueT]},clone:function(source,target){var options=Object.extend({setLeft:true,setTop:true,setWidth:true,setHeight:true,offsetTop:0,offsetLeft:0},arguments[2]||{});source=$(source);var p=Position.page(source);target=$(target);var delta=[0,0];var parent=null;if(Element.getStyle(target,'position')=='absolute'){parent=Position.offsetParent(target);delta=Position.page(parent)}if(parent==document.body){delta[0]-=document.body.offsetLeft;delta[1]-=document.body.offsetTop}if(options.setLeft)target.style.left=(p[0]-delta[0]+options.offsetLeft)+'px';if(options.setTop)target.style.top=(p[1]-delta[1]+options.offsetTop)+'px';if(options.setWidth)target.style.width=source.offsetWidth+'px';if(options.setHeight)target.style.height=source.offsetHeight+'px'},absolutize:function(element){element=$(element);if(element.style.position=='absolute')return;Position.prepare();var offsets=Position.positionedOffset(element);var top=offsets[1];var left=offsets[0];var width=element.clientWidth;var height=element.clientHeight;element._originalLeft=left-parseFloat(element.style.left||0);element._originalTop=top-parseFloat(element.style.top||0);element._originalWidth=element.style.width;element._originalHeight=element.style.height;element.style.position='absolute';element.style.top=top+'px';element.style.left=left+'px';element.style.width=width+'px';element.style.height=height+'px'},relativize:function(element){element=$(element);if(element.style.position=='relative')return;Position.prepare();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}};if(/Konqueror|Safari|KHTML/.test(navigator.userAgent)){Position.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[valueL,valueT]}}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(navigator.appVersion.indexOf('AppleWebKit')>0)window.scrollBy(0,0);return element};Element.getOpacity=function(element){return $(element).getStyle('opacity')};Element.setOpacity=function(element,value){return $(element).setStyle({opacity:value})};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){}};Array.prototype.call=function(){var args=arguments;this.each(function(f){f.apply(this,args)})};var Effect={_elementDoesNotExistError:{name:'ElementDoesNotExistError',message:'The specified DOM element does not exist, but is required for this effect to operate'},tagifyText:function(element){if(typeof Builder=='undefined')throw("Effect.tagifyText requires including script.aculo.us' builder.js library");var tagifyStyle='position:relative';if(/MSIE/.test(navigator.userAgent)&&!window.opera)tagifyStyle+=';zoom:1';element=$(element);$A(element.childNodes).each(function(child){if(child.nodeType==3){child.nodeValue.toArray().each(function(character){element.insertBefore(Builder.node('span',{style:tagifyStyle},character==' '?String.fromCharCode(160):character),child)});Element.remove(child)}})},multiple:function(element,effect){var elements;if(((typeof element=='object')||(typeof element=='function'))&&(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)}};var Effect2=Effect;Effect.Transitions={linear:Prototype.K,sinoidal:function(pos){return(-Math.cos(pos*Math.PI)/2)+0.5},reverse:function(pos){return 1-pos},flicker:function(pos){return((-Math.cos(pos*Math.PI)/4)+0.75)+Math.random()/4},wobble:function(pos){return(-Math.cos(pos*Math.PI*(9*pos))/2)+0.5},pulse:function(pos,pulses){pulses=pulses||5;return(Math.round((pos%(1/pulses))*pulses)==0?((pos*pulses*2)-Math.floor(pos*pulses*2)):1-((pos*pulses*2)-Math.floor(pos*pulses*2)))},none:function(pos){return 0},full:function(pos){return 1}};Effect.ScopedQueue=Class.create();Object.extend(Object.extend(Effect.ScopedQueue.prototype,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=(typeof effect.options.queue=='string')?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++)if(this.effects[i])this.effects[i].loop(timePos)}});Effect.Queues={instances:$H(),get:function(queueName){if(typeof queueName!='string')return queueName;if(!this.instances[queueName])this.instances[queueName]=new Effect.ScopedQueue();return this.instances[queueName]}};Effect.Queue=Effect.Queues.get('global');Effect.DefaultOptions={transition:Effect.Transitions.sinoidal,duration:1.0,fps:60.0,sync:false,from:0.0,to:1.0,delay:0.0,queue:'parallel'};Effect.Base=function(){};Effect.Base.prototype={position:null,start:function(options){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.event('beforeStart');if(!this.options.sync)Effect.Queues.get(typeof this.options.queue=='string'?'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.finishOn-this.startOn);var frame=Math.round(pos*this.options.fps*this.options.duration);if(frame>this.currentFrame){this.render(pos);this.currentFrame=frame}}},render:function(pos){if(this.state=='idle'){this.state='running';this.event('beforeSetup');if(this.setup)this.setup();this.event('afterSetup')}if(this.state=='running'){if(this.options.transition)pos=this.options.transition(pos);pos*=(this.options.to-this.options.from);pos+=this.options.from;this.position=pos;this.event('beforeUpdate');if(this.update)this.update(pos);this.event('afterUpdate')}},cancel:function(){if(!this.options.sync)Effect.Queues.get(typeof this.options.queue=='string'?'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(typeof this[property]!='function')data[property]=this[property];return'#<Effect:'+data.inspect()+',options:'+$H(this.options).inspect()+'>'}};Effect.Parallel=Class.create();Object.extend(Object.extend(Effect.Parallel.prototype,Effect.Base.prototype),{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.Event=Class.create();Object.extend(Object.extend(Effect.Event.prototype,Effect.Base.prototype),{initialize:function(){var options=Object.extend({duration:0},arguments[0]||{});this.start(options)},update:Prototype.emptyFunction});Effect.Opacity=Class.create();Object.extend(Object.extend(Effect.Opacity.prototype,Effect.Base.prototype),{initialize:function(element){this.element=$(element);if(!this.element)throw(Effect._elementDoesNotExistError);if(/MSIE/.test(navigator.userAgent)&&!window.opera&&(!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();Object.extend(Object.extend(Effect.Move.prototype,Effect.Base.prototype),{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:Math.round(this.options.x*position+this.originalLeft)+'px',top:Math.round(this.options.y*position+this.originalTop)+'px'})}});Effect.MoveBy=function(element,toTop,toLeft){return new Effect.Move(element,Object.extend({x:toLeft,y:toTop},arguments[3]||{}))};Effect.Scale=Class.create();Object.extend(Object.extend(Effect.Scale.prototype,Effect.Base.prototype),{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=Math.round(width)+'px';if(this.options.scaleY)d.height=Math.round(height)+'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();Object.extend(Object.extend(Effect.Highlight.prototype,Effect.Base.prototype),{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+(Math.round(this._base[i]+(this._delta[i]*position)).toColorPart())}.bind(this))})},finish:function(){this.element.setStyle(Object.extend(this.oldStyle,{backgroundColor:this.options.restorecolor}))}});Effect.ScrollTo=Class.create();Object.extend(Object.extend(Effect.ScrollTo.prototype,Effect.Base.prototype),{initialize:function(element){this.element=$(element);this.start(arguments[1]||{})},setup:function(){Position.prepare();var offsets=Position.cumulativeOffset(this.element);if(this.options.offset)offsets[1]+=this.options.offset;var max=window.innerHeight?window.height-window.innerHeight:document.body.scrollHeight-(document.documentElement.clientHeight?document.documentElement.clientHeight:document.body.clientHeight);this.scrollStart=Position.deltaY;this.delta=(offsets[1]>max?max:offsets[1])-this.scrollStart},update:function(position){Position.prepare();window.scrollTo(Position.deltaX,this.scrollStart+(position*this.delta))}});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,1,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 oldStyle={top:element.getStyle('top'),left:element.getStyle('left')};return new Effect.Move(element,{x:20,y:0,duration:0.05,afterFinishInternal:function(effect){new Effect.Move(effect.element,{x:-40,y:0,duration:0.1,afterFinishInternal:function(effect){new Effect.Move(effect.element,{x:40,y:0,duration:0.1,afterFinishInternal:function(effect){new Effect.Move(effect.element,{x:-40,y:0,duration:0.1,afterFinishInternal:function(effect){new Effect.Move(effect.element,{x:40,y:0,duration:0.1,afterFinishInternal:function(effect){new Effect.Move(effect.element,{x:-20,y:0,duration:0.05,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');return new Effect.Scale(element,window.opera?0:1,Object.extend({scaleContent:false,scaleX:false,scaleMode:'box',scaleFrom:100,restoreAfterFinish:true,beforeStartInternal: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().setStyle({bottom:oldInnerBottom});effect.element.down().undoPositioned()}},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]||{};var oldOpacity=element.getInlineOpacity();var transition=options.transition||Effect.Transitions.sinoidal;var reverser=function(pos){return transition(1-Effect.Transitions.pulse(pos,options.pulses))};reverser.bind(transition);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();Object.extend(Object.extend(Effect.Morph.prototype,Effect.Base.prototype),{initialize:function(element){this.element=$(element);if(!this.element)throw(Effect._elementDoesNotExistError);var options=Object.extend({style:{}},arguments[1]||{});if(typeof options.style=='string'){if(options.style.indexOf(':')==-1){var cssText='',selector='.'+options.style;$A(document.styleSheets).reverse().each(function(styleSheet){if(styleSheet.cssRules)cssRules=styleSheet.cssRules;else if(styleSheet.rules)cssRules=styleSheet.rules;$A(cssRules).reverse().each(function(rule){if(selector==rule.selectorText){cssText=rule.style.cssText;throw $break}});if(cssText)throw $break});this.style=cssText.parseStyle();options.afterFinishInternal=function(effect){effect.element.addClassName(effect.options.style);effect.transforms.each(function(transform){if(transform.style!='opacity')effect.element.style[transform.style.camelize()]=''})}}else this.style=options.style.parseStyle()}else this.style=$H(options.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].underscore().dasherize(),value=pair[1],unit=null;if(value.parseColor('#zzzzzz')!='#zzzzzz'){value=value.parseColor();unit='color'}else if(property=='opacity'){value=parseFloat(value);if(/MSIE/.test(navigator.userAgent)&&!window.opera&&(!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 $H({style:property,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=$H(),value=null;this.transforms.each(function(transform){value=transform.unit=='color'?$R(0,2).inject('#',function(m,v,i){return m+(Math.round(transform.originalValue[i]+(transform.targetValue[i]-transform.originalValue[i])*position)).toColorPart()}):transform.originalValue+Math.round(((transform.targetValue-transform.originalValue)*position)*1000)/1000+transform.unit;style[transform.style]=value});this.element.setStyle(style)}});Effect.Transform=Class.create();Object.extend(Effect.Transform.prototype,{initialize:function(tracks){this.tracks=[];this.options=arguments[1]||{};this.addTracks(tracks)},addTracks:function(tracks){tracks.each(function(track){var data=$H(track).values().first();this.tracks.push($H({ids:$H(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 elements=[$(track.ids)||$$(track.ids)].flatten();return elements.map(function(e){return new track.effect(e,Object.extend({sync:true},track.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.prototype.parseStyle=function(){var element=Element.extend(document.createElement('div'));element.innerHTML='<div style="'+this+'"></div>';var style=element.down().style,styleRules=$H();Element.CSS_PROPERTIES.each(function(property){if(style[property])styleRules[property]=style[property]});if(/MSIE/.test(navigator.userAgent)&&!window.opera&&this.indexOf('opacity')>-1){styleRules.opacity=this.match(/opacity:\s*((?:0|1)?(?:\.\d*)?)/)[1]}return styleRules};Element.morph=function(element,style){new Effect.Morph(element,Object.extend({style:style},arguments[2]||{}));return element};['setOpacity','getOpacity','getInlineOpacity','forceRerendering','setContentZoom','collectTextNodes','collectTextNodesIgnoreClass','morph'].each(function(f){Element.Methods[f]=Element[f]});Element.Methods.visualEffect=function(element,effect,options){s=effect.gsub(/_/,'-').camelize();effect_class=s.charAt(0).toUpperCase()+s.substring(1);new Effect[effect_class](element,options);return $(element)};Element.addMethods();
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":240,"face":{"font-family":"helvetica-neue-light-extended","font-weight":200,"font-stretch":"normal","units-per-em":"360","panose-1":"2 0 3 3 0 0 0 0 0 0","ascent":"288","descent":"-72","x-height":"6","bbox":"-36 -343 384 79.4812","underline-thickness":"18","underline-position":"-36","stemh":"22","stemv":"27","unicode-range":"U+0020-U+00FF"},"glyphs":{" ":{"w":100},"!":{"d":"38,0r0,-40r31,0r0,40r-31,0xm45,-67r-6,-122r0,-68r29,0v1,67,-4,128,-7,190r-16,0","w":106},"\"":{"d":"36,-167r0,-90r21,0r0,90r-21,0xm90,-167r0,-90r20,0r0,90r-20,0","w":146},"#":{"d":"59,0r12,-81r-41,0r0,-16r43,0r8,-56r-41,0r0,-15r43,0r11,-82r18,0r-11,82r51,0r11,-82r18,0r-11,82r41,0r0,15r-43,0r-8,56r41,0r0,16r-43,0r-12,81r-18,0r12,-81r-51,0r-12,81r-18,0xm142,-97r8,-56r-51,0r-8,56r51,0"},"$":{"d":"111,-143r0,-87v-40,1,-66,16,-66,44v0,28,30,37,66,43xm131,-114r0,95v37,0,72,-11,72,-48v0,-24,-18,-40,-72,-47xm111,-19r0,-98v-48,-8,-95,-18,-95,-67v0,-52,47,-70,95,-71r0,-22r20,0r0,22v48,3,92,23,94,77r-27,0v-3,-37,-32,-49,-67,-52r0,91v73,10,101,29,101,67v0,59,-52,77,-101,78r0,35r-20,0r0,-35v-59,-3,-103,-25,-103,-88r27,0v0,46,34,60,76,63"},"%":{"d":"261,-12v26,0,41,-20,41,-52v0,-32,-15,-52,-41,-52v-26,0,-40,20,-40,52v0,32,14,52,40,52xm77,6r171,-261r21,0r-171,261r-21,0xm85,-133v26,0,41,-20,41,-52v0,-32,-15,-52,-41,-52v-26,0,-40,20,-40,52v0,32,14,52,40,52xm261,6v-36,0,-63,-24,-63,-70v0,-46,27,-70,63,-70v36,0,63,24,63,70v0,46,-27,70,-63,70xm85,-115v-36,0,-63,-24,-63,-70v0,-46,27,-70,63,-70v36,0,63,24,63,70v0,46,-27,70,-63,70","w":346},"&":{"d":"201,-48r-89,-84v-41,15,-60,35,-60,63v0,57,115,72,149,21xm251,0r-33,-32v-18,23,-54,38,-95,38v-65,0,-97,-33,-97,-77v0,-36,21,-55,71,-76v-19,-18,-33,-33,-33,-57v0,-32,25,-53,63,-53v47,0,63,28,63,52v0,33,-27,51,-54,62r79,75v8,-10,13,-32,14,-43r24,0v0,14,-6,38,-20,59r55,52r-37,0xm165,-203v0,-17,-11,-32,-40,-32v-18,0,-36,12,-36,30v0,10,2,20,31,48v31,-13,45,-28,45,-46","w":280},"(":{"d":"94,-257r20,0v-23,32,-58,82,-58,163v0,81,35,130,58,162r-20,0v-3,-3,-64,-69,-64,-162v0,-93,61,-160,64,-163","w":126},")":{"d":"32,68r-20,0v23,-32,59,-81,59,-162v0,-81,-36,-131,-59,-163r20,0v3,3,65,70,65,163v0,93,-62,159,-65,162","w":126},"*":{"d":"67,-209r0,-48r20,0r0,48r45,-17r8,18r-48,18r33,37r-13,13r-35,-40r-35,40r-14,-13r33,-37r-47,-18r7,-18","w":153},"+":{"d":"99,0r0,-82r-82,0r0,-18r82,0r0,-82r18,0r0,82r82,0r0,18r-82,0r0,82r-18,0","w":216},",":{"d":"35,0r0,-40r31,0v3,43,-1,87,-35,90r0,-13v14,-6,17,-19,17,-37r-13,0","w":100},"-":{"d":"25,-85r0,-27r110,0r0,27r-110,0","w":159},".":{"d":"35,0r0,-40r31,0r0,40r-31,0","w":100},"\/":{"d":"1,6r124,-270r20,0r-123,270r-21,0","w":146},"0":{"d":"120,-233v-59,0,-78,45,-78,109v0,63,19,107,78,107v59,0,79,-44,79,-107v0,-64,-20,-109,-79,-109xm120,-255v62,0,105,40,105,131v0,90,-43,130,-105,130v-62,0,-105,-40,-105,-130v0,-91,43,-131,105,-131"},"1":{"d":"85,0r0,-187r-78,0r0,-20v49,0,76,1,82,-48r23,0r0,255r-27,0","w":159},"2":{"d":"214,-24r0,24r-195,0v3,-29,11,-60,88,-100v57,-30,77,-44,77,-78v0,-37,-23,-55,-63,-55v-57,0,-69,34,-70,68r-27,0v0,-64,38,-90,97,-90v68,0,90,41,90,77v0,44,-27,62,-62,81v-71,39,-91,52,-97,73r162,0"},"3":{"d":"102,-121r0,-22v44,2,80,-4,80,-43v0,-32,-24,-47,-60,-47v-51,0,-71,25,-71,62r-27,0v1,-45,31,-84,98,-84v43,0,87,19,87,69v0,24,-18,46,-47,52v31,3,57,25,57,63v0,57,-46,77,-101,77v-65,0,-100,-31,-100,-87r27,0v2,47,28,64,77,64v54,0,70,-27,70,-53v-1,-50,-43,-52,-90,-51"},"4":{"d":"150,-85r0,-132r-108,132r108,0xm150,0r0,-63r-135,0r0,-24r137,-168r23,0r0,170r47,0r0,22r-47,0r0,63r-25,0"},"5":{"d":"26,-117r25,-132r150,0r0,22r-130,0r-17,83v12,-12,35,-24,66,-24v63,0,97,35,97,87v0,36,-21,87,-100,87v-63,0,-93,-30,-99,-78r26,0v6,36,29,55,73,55v41,0,73,-19,73,-64v0,-41,-26,-65,-74,-65v-37,0,-57,20,-65,30"},"6":{"d":"214,-190r-26,0v-2,-26,-24,-43,-65,-43v-49,0,-80,34,-78,112v9,-18,32,-46,78,-46v58,0,98,31,98,87v0,57,-44,86,-98,86v-60,0,-103,-31,-103,-122v0,-83,31,-139,103,-139v63,0,88,32,91,65xm51,-81v0,31,20,64,72,64v40,0,71,-24,71,-64v0,-36,-26,-64,-71,-64v-59,0,-72,40,-72,64"},"7":{"d":"199,-249r0,24v-30,26,-98,113,-114,225r-29,0v10,-83,71,-183,117,-225r-163,0r0,-24r189,0","w":213},"8":{"d":"44,-69v0,37,32,52,76,52v44,0,77,-15,77,-52v0,-38,-35,-56,-77,-56v-42,0,-76,18,-76,56xm17,-69v-1,-50,42,-60,60,-68v-13,-4,-47,-14,-47,-53v0,-27,17,-65,90,-65v73,0,91,38,91,65v0,40,-37,47,-48,54v20,5,60,18,60,67v0,35,-22,75,-103,75v-81,0,-103,-40,-103,-75xm120,-147v44,0,64,-17,64,-41v-1,-63,-127,-62,-128,0v0,24,20,41,64,41"},"9":{"d":"26,-59r27,0v2,26,23,42,64,42v49,0,80,-34,78,-112v-9,18,-32,47,-78,47v-58,0,-97,-31,-97,-87v0,-57,43,-86,97,-86v60,0,104,31,104,122v0,83,-32,139,-104,139v-63,0,-88,-32,-91,-65xm190,-168v0,-31,-21,-65,-73,-65v-40,0,-71,25,-71,65v0,36,26,64,71,64v59,0,73,-40,73,-64"},":":{"d":"35,0r0,-40r31,0r0,40r-31,0xm35,-143r0,-39r31,0r0,39r-31,0","w":100},";":{"d":"35,0r0,-40r31,0v3,43,-1,87,-35,90r0,-13v14,-6,17,-19,17,-37r-13,0xm35,-143r0,-39r31,0r0,39r-31,0","w":100},"<":{"d":"17,-81r0,-20r182,-84r0,20r-160,74r160,74r0,20","w":216},"=":{"d":"17,-117r0,-18r182,0r0,18r-182,0xm17,-47r0,-18r182,0r0,18r-182,0","w":216},">":{"d":"177,-91r-160,-74r0,-20r182,84r0,20r-182,84r0,-20","w":216},"?":{"d":"46,-177r-27,0v0,-47,31,-87,94,-87v48,0,93,24,93,75v0,33,-17,46,-52,71v-31,22,-32,27,-32,51r-24,0v0,-38,2,-39,47,-72v18,-14,34,-25,34,-50v0,-31,-28,-50,-66,-50v-47,0,-66,26,-67,62xm94,0r0,-40r31,0r0,40r-31,0","w":233},"@":{"d":"89,-103v0,22,9,37,30,37v37,0,64,-56,64,-89v0,-24,-8,-35,-29,-35v-38,0,-65,52,-65,87xm195,-178r8,-24r21,0v-13,43,-40,81,-40,129v0,6,3,9,9,9v30,0,61,-50,61,-88v0,-58,-49,-96,-103,-96v-67,0,-117,56,-117,119v0,66,52,120,117,120v37,0,77,-20,96,-51r20,0v-23,41,-69,66,-116,66v-77,0,-135,-61,-135,-135v0,-75,60,-135,135,-135v67,0,121,48,121,113v0,56,-45,103,-83,103v-14,0,-21,-11,-24,-25v-9,10,-26,25,-49,25v-31,0,-49,-24,-49,-54v0,-50,35,-106,88,-106v17,0,32,8,40,30","w":288},"A":{"d":"186,-103r-56,-127r-58,127r114,0xm231,0r-34,-78r-135,0r-35,78r-29,0r116,-257r31,0r117,257r-31,0","w":259},"B":{"d":"24,0r0,-257r146,0v84,-4,98,102,27,120v31,8,56,29,55,64v-6,105,-131,66,-228,73xm50,-233r0,88v64,-6,166,23,165,-46v-1,-68,-103,-34,-165,-42xm50,-121r0,97v68,-6,173,23,173,-49v0,-78,-106,-39,-173,-48","w":266},"C":{"d":"252,-98r27,0v-6,58,-53,104,-127,104v-84,0,-137,-53,-137,-135v0,-59,37,-135,137,-135v56,0,116,26,124,94r-26,0v-8,-49,-52,-69,-98,-69v-64,0,-108,35,-108,110v0,57,30,111,108,111v61,0,91,-31,100,-80","w":293},"D":{"d":"24,0r0,-257r125,0v75,0,113,47,113,128v0,72,-37,129,-109,129r-129,0xm50,-233r0,209v103,-1,183,19,184,-105v0,-68,-27,-104,-86,-104r-98,0","w":280},"E":{"d":"28,0r0,-257r205,0r0,24r-178,0r0,88r171,0r0,24r-171,0r0,97r180,0r0,24r-207,0","w":246},"F":{"d":"24,0r0,-257r192,0r0,24r-166,0r0,88r158,0r0,24r-158,0r0,121r-26,0","w":219},"G":{"d":"262,0v-2,-16,0,-35,-4,-49v-26,38,-57,55,-107,55v-87,0,-134,-55,-134,-135v0,-78,52,-135,137,-135v72,0,117,40,124,88r-29,0v-10,-44,-49,-63,-95,-63v-70,0,-109,42,-109,110v0,69,36,111,104,111v77,0,101,-44,109,-90r-94,0r0,-24r119,0r0,132r-21,0","w":306},"H":{"d":"24,0r0,-257r26,0r0,109r186,0r0,-109r27,0r0,257r-27,0r0,-124r-186,0r0,124r-26,0","w":286},"I":{"d":"27,0r0,-257r26,0r0,257r-26,0","w":79},"J":{"d":"36,-84v-2,43,14,68,57,68v36,0,57,-13,57,-63r0,-178r26,0r0,185v0,46,-26,78,-85,78v-80,0,-81,-58,-82,-90r27,0","w":200},"K":{"d":"28,0r0,-257r27,0r0,139r166,-139r38,0r-127,106r136,151r-38,0r-119,-133r-56,46r0,87r-27,0","w":266},"L":{"d":"24,0r0,-257r26,0r0,233r163,0r0,24r-189,0","w":213},"M":{"d":"177,-33r115,-224r37,0r0,257r-26,0r-1,-222r-113,222r-25,0r-114,-222r0,222r-26,0r0,-257r39,0","w":353},"N":{"d":"24,0r0,-257r32,0r180,220r0,-220r27,0r0,257r-31,0r-182,-220r0,220r-26,0","w":286},"O":{"d":"14,-129v0,-91,66,-135,139,-135v73,0,140,44,140,135v0,91,-67,135,-140,135v-73,0,-139,-44,-139,-135xm42,-129v0,77,54,111,111,111v57,0,111,-34,111,-111v0,-77,-54,-110,-111,-110v-57,0,-111,33,-111,110","w":306},"P":{"d":"55,-233r0,101r103,0v45,0,57,-21,57,-51v1,-79,-95,-42,-160,-50xm28,0r0,-257v94,7,214,-32,216,74v0,49,-32,75,-89,75r-100,0r0,108r-27,0","w":253},"Q":{"d":"171,-55r14,-17r41,31v23,-17,38,-47,38,-88v0,-77,-54,-110,-111,-110v-57,0,-111,33,-111,110v1,97,86,130,163,100xm286,5r-14,18r-44,-35v-93,46,-214,4,-214,-117v0,-91,66,-135,139,-135v73,0,140,44,140,135v0,47,-18,82,-46,104","w":306},"R":{"d":"28,0r0,-257v93,8,224,-33,224,69v0,27,-18,55,-51,63v57,1,38,84,55,125r-29,0v-5,-5,-7,-25,-7,-53v0,-85,-93,-54,-165,-60r0,113r-27,0xm55,-233r0,95v69,-8,168,28,168,-50v0,-38,-29,-45,-53,-45r-115,0","w":266},"S":{"d":"45,-194v-5,72,187,27,187,120v0,63,-57,80,-107,80v-65,0,-113,-22,-117,-91r27,0v5,54,41,67,90,67v39,0,78,-10,78,-51v0,-39,-46,-44,-93,-52v-61,-10,-94,-27,-94,-68v0,-56,51,-75,101,-75v53,0,106,19,108,80r-27,0v1,-76,-149,-70,-153,-10"},"T":{"d":"100,0r0,-233r-101,0r0,-24r229,0r0,24r-101,0r0,233r-27,0","w":226},"U":{"d":"255,-257r0,158v0,47,-13,105,-115,105v-102,0,-115,-58,-115,-105r0,-158r27,0r0,158v0,67,43,81,88,81v45,0,88,-14,88,-81r0,-158r27,0","w":280},"V":{"d":"125,-30r98,-227r29,0r-114,257r-29,0r-114,-257r31,0","w":246},"W":{"d":"355,-257r29,0r-86,257r-31,0r-78,-220r-77,220r-31,0r-85,-257r30,0r72,222r76,-222r33,0r76,222","w":380},"X":{"d":"-3,0r105,-130r-101,-127r36,0r84,106r86,-106r33,0r-101,125r104,132r-35,0r-88,-111r-89,111r-34,0"},"Y":{"d":"110,0r0,-108r-115,-149r34,0r94,122r95,-122r34,0r-115,149r0,108r-27,0","w":246},"Z":{"d":"2,0r0,-24r191,-209r-179,0r0,-24r215,0r0,24r-192,209r194,0r0,24r-229,0","w":233},"[":{"d":"39,68r0,-325r70,0r0,20r-46,0r0,285r46,0r0,20r-70,0","w":126},"\\":{"d":"125,6r-124,-270r20,0r124,270r-20,0","w":146},"]":{"d":"88,-257r0,325r-71,0r0,-20r46,0r0,-285r-46,0r0,-20r71,0","w":126},"^":{"d":"180,-86r-72,-141r-72,141r-20,0r83,-163r18,0r83,163r-20,0","w":216},"_":{"d":"0,45r0,-18r180,0r0,18r-180,0","w":180},"a":{"d":"170,-101v-7,16,-143,1,-133,49v0,29,25,38,54,38v47,0,90,-27,79,-87xm44,-130r-25,0v4,-39,25,-63,89,-63v111,0,86,67,86,153v0,22,10,22,29,21r0,18v-5,1,-13,2,-22,2v-29,1,-27,-20,-30,-33v-8,12,-26,38,-87,38v-32,0,-73,-14,-73,-56v0,-51,52,-57,93,-59v58,-3,66,-7,66,-25v0,-27,-18,-37,-62,-37v-42,0,-62,11,-64,41","w":219},"b":{"d":"21,0r0,-259r26,0r1,109v12,-24,40,-43,76,-43v70,0,102,47,102,99v0,46,-25,100,-102,100v-46,0,-68,-28,-77,-43r0,37r-26,0xm46,-94v0,49,34,77,78,77v54,0,75,-40,75,-77v0,-48,-33,-77,-75,-77v-54,0,-78,38,-78,77"},"c":{"d":"184,-67r27,0v-5,24,-27,73,-95,73v-68,0,-105,-41,-105,-100v0,-56,34,-99,105,-99v64,0,90,40,94,67r-27,0v-8,-32,-34,-45,-67,-45v-54,0,-79,34,-79,77v0,46,28,77,79,77v39,0,61,-21,68,-50","w":219},"d":{"d":"194,-94v0,-39,-24,-77,-78,-77v-42,0,-75,29,-75,77v0,37,21,77,75,77v44,0,78,-28,78,-77xm193,0v-1,-12,2,-27,-1,-37v-7,16,-31,43,-76,43v-77,0,-102,-54,-102,-100v0,-52,32,-99,102,-99v37,-1,63,21,77,43r0,-109r27,0r0,259r-27,0"},"e":{"d":"41,-107r154,0v-14,-87,-140,-87,-154,0xm190,-60r27,0v-11,33,-39,66,-101,66v-77,0,-102,-54,-102,-100v0,-52,32,-99,102,-99v48,0,105,21,105,106r-180,0v0,39,27,70,75,70v45,0,65,-15,74,-43","w":233},"f":{"d":"39,0r0,-167r-41,0r0,-20r41,0v-3,-46,6,-75,52,-72v10,0,22,0,30,1r0,23v-27,-3,-61,-6,-56,26r0,22r53,0r0,20r-53,0r0,167r-26,0","w":113},"g":{"d":"194,-98v0,-39,-27,-73,-80,-73v-47,0,-77,27,-77,73v0,55,35,76,80,76v44,0,77,-28,77,-76xm193,-151v3,-9,0,-25,1,-36r26,0r0,180v0,69,-56,86,-105,86v-85,0,-94,-41,-96,-61r25,0v4,20,9,41,72,41v62,0,87,-39,77,-101v-10,19,-35,42,-83,42v-48,0,-99,-25,-99,-98v0,-50,31,-95,102,-95v36,0,67,14,80,42"},"h":{"d":"21,0r0,-259r26,0r1,109v8,-20,36,-43,77,-43v110,-3,75,101,81,193r-26,0r0,-121v0,-37,-23,-50,-57,-50v-95,0,-75,87,-76,171r-26,0","w":226},"i":{"d":"20,0r0,-187r26,0r0,187r-26,0xm20,-220r0,-39r26,0r0,39r-26,0","w":66},"j":{"d":"-27,78r0,-22v25,4,47,-1,47,-28r0,-215r26,0r0,215v4,39,-28,57,-73,50xm20,-220r0,-39r26,0r0,39r-26,0","w":66},"k":{"d":"21,0r0,-259r26,0r0,163r114,-91r40,0r-92,71r99,116r-36,0r-83,-99r-42,32r0,67r-26,0","w":206},"l":{"d":"20,0r0,-259r26,0r0,259r-26,0","w":66},"m":{"d":"313,0v-7,-71,29,-171,-56,-171v-85,0,-61,94,-64,171r-26,0r0,-127v0,-24,-18,-44,-54,-44v-38,0,-66,23,-66,66r0,105r-26,0r0,-187r26,0v1,11,-2,25,1,34v11,-20,31,-40,74,-40v42,0,62,22,67,41v9,-19,36,-41,73,-41v107,0,71,104,77,193r-26,0","w":360},"n":{"d":"180,0r0,-121v0,-37,-23,-50,-57,-50v-95,0,-75,87,-76,171r-26,0r0,-187r26,0v1,12,-2,27,1,37v8,-20,36,-43,77,-43v110,-3,75,101,81,193r-26,0","w":226},"o":{"d":"41,-94v0,45,29,77,79,77v50,0,80,-32,80,-77v0,-45,-30,-77,-80,-77v-50,0,-79,32,-79,77xm14,-94v0,-52,34,-99,106,-99v72,0,106,47,106,99v0,52,-34,100,-106,100v-72,0,-106,-48,-106,-100"},"p":{"d":"21,73r0,-260r26,0v1,12,-2,27,1,37v7,-16,24,-43,76,-43v77,0,102,53,102,99v0,52,-32,100,-102,100v-36,1,-63,-21,-77,-43r0,110r-26,0xm46,-94v0,39,24,77,78,77v42,0,75,-29,75,-77v0,-37,-21,-77,-75,-77v-44,0,-78,28,-78,77"},"q":{"d":"192,-150v3,-9,0,-26,1,-37r27,0r0,260r-27,0r-1,-110v-12,24,-41,43,-76,43v-70,0,-102,-48,-102,-100v0,-46,31,-99,100,-99v46,0,72,26,78,43xm194,-94v0,-49,-34,-77,-78,-77v-54,0,-75,40,-75,77v0,48,33,77,75,77v54,0,78,-38,78,-77"},"r":{"d":"21,0r0,-187r26,0v1,14,-2,31,1,43v9,-25,38,-56,87,-48r0,28v-48,-8,-88,6,-88,69r0,95r-26,0","w":133},"s":{"d":"184,-132r-24,0v-7,-30,-26,-39,-65,-39v-28,0,-54,6,-54,32v0,19,13,23,70,31v57,8,81,18,81,54v0,37,-30,60,-89,60v-59,0,-95,-20,-95,-65r25,0v5,31,22,42,70,42v37,0,62,-7,62,-35v0,-19,-13,-27,-71,-33v-58,-6,-79,-20,-79,-53v0,-32,26,-55,80,-55v61,0,86,22,89,61","w":200},"t":{"d":"39,-187r0,-59r26,0r0,59r53,0r0,20r-53,0r0,124v-8,27,36,26,53,21r0,23v-44,7,-79,-3,-79,-45r0,-123r-41,0r0,-20r41,0","w":126},"u":{"d":"180,0v-1,-12,2,-27,-1,-37v-8,20,-36,43,-77,43v-110,3,-75,-101,-81,-193r26,0r0,120v0,37,23,50,57,50v94,0,75,-86,76,-170r26,0r0,187r-26,0","w":226},"v":{"d":"100,-31r74,-156r28,0r-88,187r-28,0r-88,-187r29,0","w":200},"w":{"d":"231,-35r60,-152r29,0r-76,187r-29,0r-56,-150r-56,150r-29,0r-74,-187r29,0r59,153r57,-153r29,0","w":320},"x":{"d":"-1,0r86,-97r-80,-90r35,0r63,71r63,-71r35,0r-81,90r88,97r-36,0r-69,-78r-69,78r-35,0","w":206},"y":{"d":"103,-31r71,-156r28,0r-101,222v-16,39,-36,40,-80,37r0,-22v29,0,44,2,56,-23r12,-26r-91,-188r29,0","w":200},"z":{"d":"7,0r0,-22r142,-143r-134,0r0,-22r173,0r0,22r-146,143r151,0r0,22r-186,0","w":200},"{":{"d":"17,-87r0,-14v58,-2,-31,-178,81,-156r0,14v-70,-21,-6,137,-63,149v29,-1,28,76,28,119v0,33,11,30,35,30r0,13v-37,3,-59,-7,-59,-43v0,-35,10,-118,-22,-112","w":126},"|":{"d":"31,6r0,-270r18,0r0,270r-18,0","w":79},"}":{"d":"28,68r0,-13v25,0,36,4,35,-30v-1,-45,0,-118,28,-120v-29,1,-28,-75,-28,-118v0,-34,-10,-30,-35,-30r0,-14v38,-4,60,8,60,44v0,35,-11,118,21,112r0,14v-51,2,18,160,-60,155r-21,0","w":126},"~":{"d":"70,-112v24,0,56,23,77,24v14,0,23,-13,31,-26r13,13v-11,15,-23,31,-45,31v-36,0,-90,-50,-108,2r-13,-13v8,-15,21,-31,45,-31","w":216},"\u00a1":{"d":"38,-153r0,-40r31,0r0,40r-31,0xm39,64r0,-68r6,-122r16,0r7,122r0,68r-29,0","w":106},"\u00a2":{"d":"116,-17r0,-153v-48,5,-69,38,-69,76v0,43,24,73,69,77xm116,45r0,-40v-62,-4,-96,-44,-96,-99v0,-39,24,-94,96,-99r0,-30r15,0r0,30v60,3,84,41,88,67r-27,0v-8,-30,-31,-44,-61,-45r0,154v36,-2,57,-22,63,-50r26,0v-5,24,-26,70,-89,73r0,39r-15,0"},"\u00a3":{"d":"162,6v-43,0,-99,-30,-133,-1r-12,-20v30,-21,60,-60,34,-100r-32,0r0,-16r26,0v-40,-57,-4,-124,80,-124v64,0,96,33,96,83r-27,0v0,-84,-137,-79,-140,-7v0,20,15,40,18,48r79,0r0,16r-73,0v18,37,-2,70,-30,92v63,-29,116,33,167,-19r9,22v-8,9,-35,26,-62,26"},"\u00a5":{"d":"107,-70v-1,-12,3,-31,-3,-38r-71,0r0,-18r57,0r-93,-123r31,0r92,122r92,-122r31,0r-93,123r58,0r0,18r-72,0v-4,9,-1,26,-2,38r74,0r0,18r-74,0r0,52r-27,0r0,-52r-74,0r0,-18r74,0"},"\u00a7":{"d":"35,-6r27,0v2,35,30,46,62,46v26,0,51,-10,51,-33v0,-60,-157,-55,-157,-123v0,-42,37,-53,42,-54v-36,-25,-26,-94,55,-94v46,0,83,19,83,66r-27,0v0,-15,-8,-43,-56,-43v-31,0,-49,11,-49,31v12,60,158,48,156,124v0,35,-27,44,-42,50v38,27,23,99,-56,99v-67,0,-86,-32,-89,-69xm42,-123v0,33,35,34,121,77v7,0,35,-10,35,-36v0,-32,-41,-42,-121,-77v-8,1,-35,13,-35,36"},"\u00a4":{"d":"31,-49r19,-20v-25,-33,-26,-78,0,-111r-19,-20r14,-14r19,20v33,-26,79,-27,112,0r20,-20r14,14r-20,20v27,33,26,78,0,111r20,20r-14,14r-20,-20v-33,26,-79,27,-112,0r-19,20xm49,-125v0,39,32,72,71,72v39,0,72,-33,72,-72v0,-39,-33,-71,-72,-71v-39,0,-71,32,-71,71"},"'":{"d":"40,-167r0,-90r20,0r0,90r-20,0","w":100},"\u00ab":{"d":"93,-86r0,-26r56,-48r0,28r-40,33r40,34r0,28xm26,-86r0,-26r57,-48r0,28r-41,33r41,34r0,28","w":180},"\u00b7":{"d":"26,-112v0,-13,11,-24,24,-24v13,0,24,11,24,24v0,13,-11,23,-24,23v-13,0,-24,-10,-24,-23","w":100},"\u00b6":{"d":"90,56r0,-174v-42,0,-75,-31,-75,-68v0,-45,30,-71,80,-71r79,0r0,313r-21,0r0,-297r-43,0r0,297r-20,0","w":216},"\u00bb":{"d":"71,-99r-40,-33r0,-28r56,48r0,26r-56,49r0,-28xm138,-99r-41,-33r0,-28r57,48r0,26r-57,49r0,-28","w":180},"\u00bf":{"d":"187,-16r27,0v0,47,-30,87,-93,87v-48,0,-94,-24,-94,-75v0,-33,17,-46,52,-71v31,-22,32,-27,32,-51r25,0v0,38,-2,39,-47,72v-18,14,-35,25,-35,50v0,31,29,50,67,50v47,0,65,-26,66,-62xm139,-193r0,40r-31,0r0,-40r31,0","w":233},"`":{"d":"15,-266r41,51r-22,0r-52,-51r33,0","w":66},"\u00b4":{"d":"10,-215r41,-51r33,0r-52,51r-22,0","w":66},"\u00af":{"d":"-36,-231r0,-20r139,0r0,20r-139,0","w":66},"\u00a8":{"d":"-21,-217r0,-40r27,0r0,40r-27,0xm60,-217r0,-40r27,0r0,40r-27,0","w":66},"\u00b8":{"d":"15,34v-13,-10,10,-23,14,-35r15,0v-4,7,-14,15,-14,22v19,-6,47,2,45,22v4,27,-59,34,-81,21r4,-12v11,4,57,10,55,-9v-2,-17,-28,-14,-38,-9","w":66},"\u00c6":{"d":"190,-108r0,-125r-19,0r-80,125r99,0xm-8,0r165,-257r224,0r0,24r-164,0r0,88r156,0r0,24r-156,0r0,97r165,0r0,24r-192,0r0,-84r-114,0r-53,84r-31,0","w":393},"\u00aa":{"d":"59,-150v28,-1,55,-15,49,-49v-21,11,-87,3,-81,28v0,16,15,21,32,21xm145,-156r0,14v-13,5,-44,0,-36,-17v-3,25,-104,38,-102,-11v0,-25,23,-35,64,-37v33,-1,37,-3,37,-12v0,-14,-9,-20,-38,-20v-26,0,-39,6,-40,22r-18,0v3,-23,17,-38,59,-38v68,0,55,35,55,88v0,14,9,15,19,11","w":142},"\u00d8":{"d":"66,-55r164,-158v-70,-53,-189,-27,-188,84v0,32,9,56,24,74xm240,-202r-163,158v69,54,189,25,187,-85v0,-32,-9,-56,-24,-73xm14,-4r33,-32v-21,-23,-33,-54,-33,-93v-3,-133,150,-169,235,-102r34,-33r10,11r-33,32v21,22,33,52,33,92v2,132,-149,170,-235,103r-34,32","w":306},"\u00ba":{"d":"29,-196v0,27,19,44,49,44v30,0,49,-17,49,-44v0,-26,-19,-43,-49,-43v-30,0,-49,17,-49,43xm9,-196v0,-31,22,-59,69,-59v47,0,69,28,69,59v0,31,-22,60,-69,60v-47,0,-69,-29,-69,-60","w":156},"\u00e6":{"d":"374,-87r-178,0v0,42,28,70,74,70v43,0,63,-15,72,-43r27,0v-10,33,-39,66,-99,66v-50,0,-79,-27,-87,-51v-8,20,-33,51,-97,51v-32,0,-73,-14,-73,-56v0,-51,52,-57,93,-59v58,-3,66,-7,66,-25v0,-27,-18,-37,-62,-37v-42,0,-62,11,-64,41r-25,0v4,-39,26,-63,90,-63v54,0,71,14,81,40v17,-27,45,-40,76,-40v48,0,106,21,106,106xm196,-107r151,0v-8,-46,-41,-64,-77,-64v-45,0,-70,26,-74,64xm172,-101v-7,16,-142,1,-132,49v0,29,25,38,54,38v47,0,88,-27,78,-87","w":386},"\u00f8":{"d":"57,-44r118,-109v-46,-40,-134,-10,-134,59v0,20,5,37,16,50xm14,-4r25,-22v-52,-63,-22,-169,81,-167v32,0,56,9,73,23r25,-23r8,9r-24,23v51,63,20,169,-82,167v-31,0,-55,-10,-72,-24r-25,24xm183,-144r-117,109v46,40,134,9,134,-59v0,-20,-6,-37,-17,-50"},"\u00df":{"d":"96,-129r0,-24v36,4,75,-3,75,-41v0,-31,-29,-43,-60,-43v-50,0,-64,23,-64,56r0,181r-26,0r0,-182v0,-49,26,-77,90,-77v70,0,86,38,86,65v1,30,-21,44,-43,51v12,2,56,12,56,72v0,54,-54,87,-117,74r0,-22v51,10,91,-16,91,-56v0,-45,-37,-56,-88,-54","w":226},"\u00f7":{"d":"17,-82r0,-18r182,0r0,18r-182,0xm88,-165v0,-11,9,-20,20,-20v11,0,20,9,20,20v0,11,-9,20,-20,20v-11,0,-20,-9,-20,-20xm88,-17v0,-11,9,-20,20,-20v11,0,20,9,20,20v0,11,-9,20,-20,20v-11,0,-20,-9,-20,-20","w":216},"\u00be":{"d":"294,-51v-1,-24,2,-52,-1,-74r-65,74r66,0xm294,0r0,-36r-86,0r0,-15r88,-101r18,0r0,101r29,0r0,15r-29,0r0,36r-20,0xm100,6r153,-261r22,0r-153,261r-22,0xm67,-174r0,-16v23,3,50,-1,50,-23v0,-17,-17,-26,-37,-26v-31,0,-43,16,-43,35r-20,0v1,-27,19,-51,63,-51v28,0,57,12,57,42v0,15,-12,27,-30,31v20,1,36,14,36,37v0,34,-31,46,-61,46v-45,0,-69,-15,-69,-52r20,0v0,32,28,37,51,37v29,0,39,-17,39,-30v0,-27,-28,-29,-56,-30","w":360},"\u00bc":{"d":"294,-51v-1,-24,2,-52,-1,-74r-65,74r66,0xm294,0r0,-36r-86,0r0,-15r88,-101r18,0r0,101r29,0r0,15r-29,0r0,36r-20,0xm63,6r153,-261r23,0r-153,261r-23,0xm53,-103r0,-110r-48,0r0,-14v29,0,47,1,52,-28r16,0r0,152r-20,0","w":360},"\u00b9":{"d":"53,-103r0,-110r-48,0r0,-14v29,0,47,1,52,-28r16,0r0,152r-20,0","w":104},"\u00d7":{"d":"108,-104r68,-68r13,13r-68,68r68,68r-13,13r-68,-68r-68,68r-13,-13r68,-68r-68,-68r13,-13","w":216},"\u00ae":{"d":"9,-129v0,-75,60,-135,135,-135v75,0,135,60,135,135v0,75,-60,135,-135,135v-75,0,-135,-60,-135,-135xm27,-129v0,66,51,120,117,120v66,0,117,-53,117,-120v0,-66,-51,-119,-117,-119v-66,0,-117,53,-117,119xm193,-48r-47,-72r-34,0r0,72r-18,0r0,-161v51,-1,113,-7,113,45v0,28,-18,40,-40,44r48,72r-22,0xm112,-193r0,58v35,-1,77,8,77,-30v-1,-37,-43,-26,-77,-28","w":288},"\u00de":{"d":"55,-186r0,100r103,0v45,0,57,-20,57,-50v1,-79,-95,-42,-160,-50xm28,0r0,-257r27,0r0,47v88,4,187,-24,189,74v0,49,-32,75,-89,75r-100,0r0,61r-27,0","w":253},"\u00a6":{"d":"31,6r0,-99r18,0r0,99r-18,0xm31,-165r0,-99r18,0r0,99r-18,0","w":79},"\u00d0":{"d":"24,0r0,-125r-24,0r0,-20r24,0r0,-112r125,0v75,0,113,47,113,128v0,72,-37,129,-109,129r-129,0xm50,-233r0,88r93,0r0,20r-93,0r0,101v103,-1,183,19,184,-105v0,-68,-27,-104,-86,-104r-98,0","w":280},"\u00bd":{"d":"63,6r153,-261r23,0r-153,261r-23,0xm53,-103r0,-110r-48,0r0,-14v29,0,47,1,52,-28r16,0r0,152r-20,0xm341,-106v0,50,-108,71,-101,88r103,0r0,18r-127,0v2,-18,7,-36,55,-59v37,-18,50,-27,50,-47v0,-19,-13,-30,-39,-30v-34,0,-42,20,-42,37r-20,0v0,-37,24,-53,62,-53v44,0,59,24,59,46","w":360},"\u00e7":{"d":"184,-67r27,0v-5,24,-27,73,-95,73v-2,5,-10,10,-9,15v19,-6,47,2,45,22v4,27,-59,34,-81,21r4,-12v11,4,57,10,55,-9v-2,-25,-38,-2,-44,-15r16,-23v-59,-5,-91,-45,-91,-99v0,-56,34,-99,105,-99v64,0,90,40,94,67r-27,0v-8,-32,-34,-45,-67,-45v-54,0,-79,34,-79,77v0,46,28,77,79,77v39,0,61,-21,68,-50","w":219},"\u00f0":{"d":"200,-94v0,-45,-30,-77,-80,-77v-50,0,-79,32,-79,77v0,45,29,77,79,77v50,0,80,-32,80,-77xm14,-94v0,-52,34,-99,106,-99v25,0,48,11,68,31v-13,-23,-34,-52,-70,-70r-45,20r-11,-9r41,-19v-12,-6,-26,-12,-43,-17r19,-14v19,5,31,10,48,20r44,-20r10,10r-40,19v59,33,85,101,85,145v0,32,-16,103,-106,103v-72,0,-106,-48,-106,-100"},"\u00b1":{"d":"99,-117r0,-65r18,0r0,65r82,0r0,18r-82,0r0,66r-18,0r0,-66r-82,0r0,-18r82,0xm17,0r0,-18r182,0r0,18r-182,0","w":216},"\u00c7":{"d":"252,-98r27,0v-6,57,-54,104,-127,104r-9,15v19,-6,48,2,46,22v4,27,-59,34,-81,21r4,-12v11,4,56,11,54,-9v-3,-25,-37,-2,-44,-15r16,-22v-76,-5,-123,-57,-123,-135v0,-59,37,-135,137,-135v56,0,116,26,124,94r-26,0v-8,-49,-52,-69,-98,-69v-64,0,-108,35,-108,110v0,57,30,111,108,111v61,0,91,-31,100,-80","w":293},"\u00fe":{"d":"21,73r0,-332r26,0r1,109v8,-16,25,-43,76,-43v77,0,102,53,102,99v0,52,-32,100,-102,100v-36,1,-63,-21,-77,-43r0,110r-26,0xm46,-94v0,39,24,77,78,77v42,0,75,-29,75,-77v0,-37,-21,-77,-75,-77v-44,0,-78,28,-78,77"},"\u00a9":{"d":"27,-129v0,66,51,120,117,120v66,0,117,-53,117,-120v0,-66,-51,-119,-117,-119v-66,0,-117,53,-117,119xm197,-101r20,0v-8,34,-35,58,-69,58v-50,0,-81,-38,-81,-86v0,-49,29,-85,80,-85v35,0,65,20,70,56r-20,0v-20,-67,-110,-38,-110,29v0,35,22,68,61,68v26,0,45,-17,49,-40xm9,-129v0,-75,60,-135,135,-135v75,0,135,60,135,135v0,75,-60,135,-135,135v-75,0,-135,-60,-135,-135","w":288},"\u00ac":{"d":"181,-39r0,-78r-164,0r0,-18r182,0r0,96r-18,0","w":216},"\u00b2":{"d":"139,-121r0,18r-127,0v2,-18,7,-36,55,-59v37,-18,50,-27,50,-47v0,-19,-13,-30,-39,-30v-34,0,-42,20,-42,38r-20,0v0,-39,24,-54,62,-54v79,0,69,76,21,95v-50,20,-58,30,-62,39r102,0","w":156},"\u00b3":{"d":"67,-174r0,-16v23,3,50,-1,50,-23v0,-17,-17,-26,-37,-26v-31,0,-43,16,-43,35r-20,0v1,-27,19,-51,63,-51v28,0,57,12,57,42v0,15,-12,27,-30,31v20,1,36,14,36,37v0,34,-31,46,-61,46v-45,0,-69,-15,-69,-52r20,0v0,32,28,37,51,37v29,0,39,-17,39,-30v0,-27,-28,-29,-56,-30","w":156},"\u00b0":{"d":"21,-203v0,-28,23,-52,51,-52v28,0,51,24,51,52v0,28,-23,51,-51,51v-28,0,-51,-23,-51,-51xm36,-203v0,20,16,35,36,35v20,0,36,-15,36,-35v0,-20,-16,-36,-36,-36v-20,0,-36,16,-36,36","w":144},"\u00c1":{"d":"186,-103r-56,-127r-58,127r114,0xm231,0r-34,-78r-135,0r-35,78r-29,0r116,-257r31,0r117,257r-31,0xm107,-270r41,-51r33,0r-52,51r-22,0","w":259},"\u00c2":{"d":"64,-271r52,-51r28,0r52,51r-27,0r-39,-36r-39,36r-27,0xm186,-103r-56,-127r-58,127r114,0xm231,0r-34,-78r-135,0r-35,78r-29,0r116,-257r31,0r117,257r-31,0","w":259},"\u00c4":{"d":"186,-103r-56,-127r-58,127r114,0xm231,0r-34,-78r-135,0r-35,78r-29,0r116,-257r31,0r117,257r-31,0xm76,-272r0,-40r27,0r0,40r-27,0xm157,-272r0,-40r27,0r0,40r-27,0","w":259},"\u00c0":{"d":"186,-103r-56,-127r-58,127r114,0xm231,0r-34,-78r-135,0r-35,78r-29,0r116,-257r31,0r117,257r-31,0xm112,-321r41,51r-22,0r-52,-51r33,0","w":259},"\u00c5":{"d":"90,-303v0,-22,18,-40,40,-40v21,0,40,18,40,40v0,22,-19,39,-40,39v-22,0,-40,-17,-40,-39xm104,-303v0,14,12,25,26,25v14,0,26,-11,26,-25v0,-14,-12,-26,-26,-26v-14,0,-26,12,-26,26xm186,-103r-56,-127r-58,127r114,0xm231,0r-34,-78r-135,0r-35,78r-29,0r116,-257r31,0r117,257r-31,0","w":259},"\u00c3":{"d":"100,-316v28,0,73,39,81,0r16,0v-3,18,-13,40,-38,39v-28,0,-71,-39,-80,0r-16,0v3,-15,10,-39,37,-39xm186,-103r-56,-127r-58,127r114,0xm231,0r-34,-78r-135,0r-35,78r-29,0r116,-257r31,0r117,257r-31,0","w":259},"\u00c9":{"d":"28,0r0,-257r205,0r0,24r-178,0r0,88r171,0r0,24r-171,0r0,97r180,0r0,24r-207,0xm100,-270r41,-51r33,0r-52,51r-22,0","w":246},"\u00ca":{"d":"58,-271r51,-51r29,0r51,51r-27,0r-39,-36r-38,36r-27,0xm28,0r0,-257r205,0r0,24r-178,0r0,88r171,0r0,24r-171,0r0,97r180,0r0,24r-207,0","w":246},"\u00cb":{"d":"28,0r0,-257r205,0r0,24r-178,0r0,88r171,0r0,24r-171,0r0,97r180,0r0,24r-207,0xm69,-272r0,-40r27,0r0,40r-27,0xm150,-272r0,-40r27,0r0,40r-27,0","w":246},"\u00c8":{"d":"28,0r0,-257r205,0r0,24r-178,0r0,88r171,0r0,24r-171,0r0,97r180,0r0,24r-207,0xm105,-321r41,51r-22,0r-52,-51r33,0","w":246},"\u00cd":{"d":"27,0r0,-257r26,0r0,257r-26,0xm17,-270r41,-51r33,0r-52,51r-22,0","w":79},"\u00ce":{"d":"-26,-271r52,-51r28,0r52,51r-27,0r-39,-36r-39,36r-27,0xm27,0r0,-257r26,0r0,257r-26,0","w":79},"\u00cf":{"d":"27,0r0,-257r26,0r0,257r-26,0xm-14,-272r0,-40r27,0r0,40r-27,0xm67,-272r0,-40r27,0r0,40r-27,0","w":79},"\u00cc":{"d":"27,0r0,-257r26,0r0,257r-26,0xm22,-321r41,51r-22,0r-52,-51r33,0","w":79},"\u00d1":{"d":"114,-316v24,0,39,19,61,19v16,0,18,-11,19,-19r16,0v-3,18,-12,39,-37,39v-25,0,-40,-18,-61,-19v-16,0,-18,11,-19,19r-16,0v3,-15,10,-39,37,-39xm24,0r0,-257r32,0r180,220r0,-220r27,0r0,257r-31,0r-182,-220r0,220r-26,0","w":286},"\u00d3":{"d":"14,-129v0,-91,66,-135,139,-135v73,0,140,44,140,135v0,91,-67,135,-140,135v-73,0,-139,-44,-139,-135xm42,-129v0,77,54,111,111,111v57,0,111,-34,111,-111v0,-77,-54,-110,-111,-110v-57,0,-111,33,-111,110xm130,-270r41,-51r33,0r-52,51r-22,0","w":306},"\u00d4":{"d":"87,-271r52,-51r29,0r51,51r-27,0r-39,-36r-39,36r-27,0xm14,-129v0,-91,66,-135,139,-135v73,0,140,44,140,135v0,91,-67,135,-140,135v-73,0,-139,-44,-139,-135xm42,-129v0,77,54,111,111,111v57,0,111,-34,111,-111v0,-77,-54,-110,-111,-110v-57,0,-111,33,-111,110","w":306},"\u00d6":{"d":"14,-129v0,-91,66,-135,139,-135v73,0,140,44,140,135v0,91,-67,135,-140,135v-73,0,-139,-44,-139,-135xm42,-129v0,77,54,111,111,111v57,0,111,-34,111,-111v0,-77,-54,-110,-111,-110v-57,0,-111,33,-111,110xm99,-272r0,-40r27,0r0,40r-27,0xm180,-272r0,-40r27,0r0,40r-27,0","w":306},"\u00d2":{"d":"14,-129v0,-91,66,-135,139,-135v73,0,140,44,140,135v0,91,-67,135,-140,135v-73,0,-139,-44,-139,-135xm42,-129v0,77,54,111,111,111v57,0,111,-34,111,-111v0,-77,-54,-110,-111,-110v-57,0,-111,33,-111,110xm135,-321r41,51r-22,0r-52,-51r33,0","w":306},"\u00d5":{"d":"124,-316v24,0,39,19,61,19v16,0,18,-11,19,-19r16,0v-3,18,-12,39,-37,39v-25,0,-40,-18,-61,-19v-16,0,-18,11,-19,19r-16,0v3,-15,10,-39,37,-39xm14,-129v0,-91,66,-135,139,-135v73,0,140,44,140,135v0,91,-67,135,-140,135v-73,0,-139,-44,-139,-135xm42,-129v0,77,54,111,111,111v57,0,111,-34,111,-111v0,-77,-54,-110,-111,-110v-57,0,-111,33,-111,110","w":306},"\u00da":{"d":"255,-257r0,158v0,47,-13,105,-115,105v-102,0,-115,-58,-115,-105r0,-158r27,0r0,158v0,67,43,81,88,81v45,0,88,-14,88,-81r0,-158r27,0xm117,-270r41,-51r33,0r-52,51r-22,0","w":280},"\u00db":{"d":"74,-271r52,-51r28,0r52,51r-27,0r-39,-36r-39,36r-27,0xm255,-257r0,158v0,47,-13,105,-115,105v-102,0,-115,-58,-115,-105r0,-158r27,0r0,158v0,67,43,81,88,81v45,0,88,-14,88,-81r0,-158r27,0","w":280},"\u00dc":{"d":"255,-257r0,158v0,47,-13,105,-115,105v-102,0,-115,-58,-115,-105r0,-158r27,0r0,158v0,67,43,81,88,81v45,0,88,-14,88,-81r0,-158r27,0xm86,-272r0,-40r27,0r0,40r-27,0xm167,-272r0,-40r27,0r0,40r-27,0","w":280},"\u00d9":{"d":"255,-257r0,158v0,47,-13,105,-115,105v-102,0,-115,-58,-115,-105r0,-158r27,0r0,158v0,67,43,81,88,81v45,0,88,-14,88,-81r0,-158r27,0xm122,-321r41,51r-22,0r-52,-51r33,0","w":280},"\u00dd":{"d":"110,0r0,-108r-115,-149r34,0r94,122r95,-122r34,0r-115,149r0,108r-27,0xm100,-270r41,-51r33,0r-52,51r-22,0","w":246},"\u00e1":{"d":"170,-101v-7,16,-143,1,-133,49v0,29,25,38,54,38v47,0,90,-27,79,-87xm44,-130r-25,0v4,-39,25,-63,89,-63v111,0,86,67,86,153v0,22,10,22,29,21r0,18v-5,1,-13,2,-22,2v-29,1,-27,-20,-30,-33v-8,12,-26,38,-87,38v-32,0,-73,-14,-73,-56v0,-51,52,-57,93,-59v58,-3,66,-7,66,-25v0,-27,-18,-37,-62,-37v-42,0,-62,11,-64,41xm87,-215r41,-51r33,0r-52,51r-22,0","w":219},"\u00e2":{"d":"44,-215r52,-51r29,0r51,51r-27,0r-39,-37r-39,37r-27,0xm170,-101v-7,16,-143,1,-133,49v0,29,25,38,54,38v47,0,90,-27,79,-87xm44,-130r-25,0v4,-39,25,-63,89,-63v111,0,86,67,86,153v0,22,10,22,29,21r0,18v-5,1,-13,2,-22,2v-29,1,-27,-20,-30,-33v-8,12,-26,38,-87,38v-32,0,-73,-14,-73,-56v0,-51,52,-57,93,-59v58,-3,66,-7,66,-25v0,-27,-18,-37,-62,-37v-42,0,-62,11,-64,41","w":219},"\u00e4":{"d":"170,-101v-7,16,-143,1,-133,49v0,29,25,38,54,38v47,0,90,-27,79,-87xm44,-130r-25,0v4,-39,25,-63,89,-63v111,0,86,67,86,153v0,22,10,22,29,21r0,18v-5,1,-13,2,-22,2v-29,1,-27,-20,-30,-33v-8,12,-26,38,-87,38v-32,0,-73,-14,-73,-56v0,-51,52,-57,93,-59v58,-3,66,-7,66,-25v0,-27,-18,-37,-62,-37v-42,0,-62,11,-64,41xm56,-217r0,-40r27,0r0,40r-27,0xm137,-217r0,-40r27,0r0,40r-27,0","w":219},"\u00e0":{"d":"170,-101v-7,16,-143,1,-133,49v0,29,25,38,54,38v47,0,90,-27,79,-87xm44,-130r-25,0v4,-39,25,-63,89,-63v111,0,86,67,86,153v0,22,10,22,29,21r0,18v-5,1,-13,2,-22,2v-29,1,-27,-20,-30,-33v-8,12,-26,38,-87,38v-32,0,-73,-14,-73,-56v0,-51,52,-57,93,-59v58,-3,66,-7,66,-25v0,-27,-18,-37,-62,-37v-42,0,-62,11,-64,41xm92,-266r41,51r-22,0r-52,-51r33,0","w":219},"\u00e5":{"d":"71,-248v0,-22,17,-40,39,-40v21,0,40,18,40,40v0,22,-19,40,-40,40v-22,0,-39,-18,-39,-40xm84,-248v0,14,12,26,26,26v14,0,26,-12,26,-26v0,-14,-12,-26,-26,-26v-14,0,-26,12,-26,26xm170,-101v-7,16,-143,1,-133,49v0,29,25,38,54,38v47,0,90,-27,79,-87xm44,-130r-25,0v4,-39,25,-63,89,-63v111,0,86,67,86,153v0,22,10,22,29,21r0,18v-5,1,-13,2,-22,2v-29,1,-27,-20,-30,-33v-8,12,-26,38,-87,38v-32,0,-73,-14,-73,-56v0,-51,52,-57,93,-59v58,-3,66,-7,66,-25v0,-27,-18,-37,-62,-37v-42,0,-62,11,-64,41","w":219},"\u00e3":{"d":"81,-260v24,0,39,18,60,18v16,0,19,-10,20,-18r16,0v-3,18,-12,40,-37,39v-28,-1,-73,-39,-81,0r-15,0v3,-15,10,-39,37,-39xm170,-101v-7,16,-143,1,-133,49v0,29,25,38,54,38v47,0,90,-27,79,-87xm44,-130r-25,0v4,-39,25,-63,89,-63v111,0,86,67,86,153v0,22,10,22,29,21r0,18v-5,1,-13,2,-22,2v-29,1,-27,-20,-30,-33v-8,12,-26,38,-87,38v-32,0,-73,-14,-73,-56v0,-51,52,-57,93,-59v58,-3,66,-7,66,-25v0,-27,-18,-37,-62,-37v-42,0,-62,11,-64,41","w":219},"\u00e9":{"d":"41,-107r154,0v-14,-87,-140,-87,-154,0xm190,-60r27,0v-11,33,-39,66,-101,66v-77,0,-102,-54,-102,-100v0,-52,32,-99,102,-99v48,0,105,21,105,106r-180,0v0,39,27,70,75,70v45,0,65,-15,74,-43xm94,-215r41,-51r33,0r-52,51r-22,0","w":233},"\u00ea":{"d":"51,-215r51,-51r29,0r52,51r-27,0r-39,-37r-39,37r-27,0xm41,-107r154,0v-14,-87,-140,-87,-154,0xm190,-60r27,0v-11,33,-39,66,-101,66v-77,0,-102,-54,-102,-100v0,-52,32,-99,102,-99v48,0,105,21,105,106r-180,0v0,39,27,70,75,70v45,0,65,-15,74,-43","w":233},"\u00eb":{"d":"41,-107r154,0v-14,-87,-140,-87,-154,0xm190,-60r27,0v-11,33,-39,66,-101,66v-77,0,-102,-54,-102,-100v0,-52,32,-99,102,-99v48,0,105,21,105,106r-180,0v0,39,27,70,75,70v45,0,65,-15,74,-43xm63,-217r0,-40r27,0r0,40r-27,0xm144,-217r0,-40r27,0r0,40r-27,0","w":233},"\u00e8":{"d":"41,-107r154,0v-14,-87,-140,-87,-154,0xm190,-60r27,0v-11,33,-39,66,-101,66v-77,0,-102,-54,-102,-100v0,-52,32,-99,102,-99v48,0,105,21,105,106r-180,0v0,39,27,70,75,70v45,0,65,-15,74,-43xm99,-266r41,51r-22,0r-52,-51r33,0","w":233},"\u00ed":{"d":"20,0r0,-187r26,0r0,187r-26,0xm10,-215r41,-51r33,0r-52,51r-22,0","w":66},"\u00ee":{"d":"-33,-215r52,-51r29,0r51,51r-27,0r-39,-37r-39,37r-27,0xm20,0r0,-187r26,0r0,187r-26,0","w":66},"\u00ef":{"d":"20,0r0,-187r26,0r0,187r-26,0xm-21,-217r0,-40r27,0r0,40r-27,0xm60,-217r0,-40r27,0r0,40r-27,0","w":66},"\u00ec":{"d":"20,0r0,-187r26,0r0,187r-26,0xm15,-266r41,51r-22,0r-52,-51r33,0","w":66},"\u00f1":{"d":"84,-260v24,-1,39,18,61,18v16,0,18,-10,19,-18r16,0v-3,18,-12,40,-37,39v-24,0,-39,-19,-61,-19v-16,0,-18,11,-19,19r-16,0v3,-15,10,-39,37,-39xm180,0r0,-121v0,-37,-23,-50,-57,-50v-95,0,-75,87,-76,171r-26,0r0,-187r26,0v1,12,-2,27,1,37v8,-20,36,-43,77,-43v110,-3,75,101,81,193r-26,0","w":226},"\u00f3":{"d":"41,-94v0,45,29,77,79,77v50,0,80,-32,80,-77v0,-45,-30,-77,-80,-77v-50,0,-79,32,-79,77xm14,-94v0,-52,34,-99,106,-99v72,0,106,47,106,99v0,52,-34,100,-106,100v-72,0,-106,-48,-106,-100xm97,-215r41,-51r33,0r-52,51r-22,0"},"\u00f4":{"d":"54,-215r52,-51r29,0r51,51r-27,0r-39,-37r-39,37r-27,0xm41,-94v0,45,29,77,79,77v50,0,80,-32,80,-77v0,-45,-30,-77,-80,-77v-50,0,-79,32,-79,77xm14,-94v0,-52,34,-99,106,-99v72,0,106,47,106,99v0,52,-34,100,-106,100v-72,0,-106,-48,-106,-100"},"\u00f6":{"d":"41,-94v0,45,29,77,79,77v50,0,80,-32,80,-77v0,-45,-30,-77,-80,-77v-50,0,-79,32,-79,77xm14,-94v0,-52,34,-99,106,-99v72,0,106,47,106,99v0,52,-34,100,-106,100v-72,0,-106,-48,-106,-100xm66,-217r0,-40r27,0r0,40r-27,0xm147,-217r0,-40r27,0r0,40r-27,0"},"\u00f2":{"d":"41,-94v0,45,29,77,79,77v50,0,80,-32,80,-77v0,-45,-30,-77,-80,-77v-50,0,-79,32,-79,77xm14,-94v0,-52,34,-99,106,-99v72,0,106,47,106,99v0,52,-34,100,-106,100v-72,0,-106,-48,-106,-100xm102,-266r41,51r-22,0r-52,-51r33,0"},"\u00f5":{"d":"91,-260v24,-1,39,18,61,18v16,0,18,-10,19,-18r16,0v-3,18,-12,40,-37,39v-28,-1,-73,-39,-81,0r-15,0v3,-15,10,-39,37,-39xm41,-94v0,45,29,77,79,77v50,0,80,-32,80,-77v0,-45,-30,-77,-80,-77v-50,0,-79,32,-79,77xm14,-94v0,-52,34,-99,106,-99v72,0,106,47,106,99v0,52,-34,100,-106,100v-72,0,-106,-48,-106,-100"},"\u00fa":{"d":"180,0v-1,-12,2,-27,-1,-37v-8,20,-36,43,-77,43v-110,3,-75,-101,-81,-193r26,0r0,120v0,37,23,50,57,50v94,0,75,-86,76,-170r26,0r0,187r-26,0xm90,-215r41,-51r33,0r-52,51r-22,0","w":226},"\u00fb":{"d":"48,-215r51,-51r29,0r51,51r-27,0r-39,-37r-38,37r-27,0xm180,0v-1,-12,2,-27,-1,-37v-8,20,-36,43,-77,43v-110,3,-75,-101,-81,-193r26,0r0,120v0,37,23,50,57,50v94,0,75,-86,76,-170r26,0r0,187r-26,0","w":226},"\u00fc":{"d":"180,0v-1,-12,2,-27,-1,-37v-8,20,-36,43,-77,43v-110,3,-75,-101,-81,-193r26,0r0,120v0,37,23,50,57,50v94,0,75,-86,76,-170r26,0r0,187r-26,0xm59,-217r0,-40r27,0r0,40r-27,0xm140,-217r0,-40r27,0r0,40r-27,0","w":226},"\u00f9":{"d":"180,0v-1,-12,2,-27,-1,-37v-8,20,-36,43,-77,43v-110,3,-75,-101,-81,-193r26,0r0,120v0,37,23,50,57,50v94,0,75,-86,76,-170r26,0r0,187r-26,0xm95,-266r41,51r-22,0r-52,-51r33,0","w":226},"\u00fd":{"d":"103,-31r71,-156r28,0r-101,222v-16,39,-36,40,-80,37r0,-22v29,0,44,2,56,-23r12,-26r-91,-188r29,0xm77,-215r41,-51r33,0r-52,51r-22,0","w":200},"\u00ff":{"d":"103,-31r71,-156r28,0r-101,222v-16,39,-36,40,-80,37r0,-22v29,0,44,2,56,-23r12,-26r-91,-188r29,0xm46,-217r0,-40r27,0r0,40r-27,0xm127,-217r0,-40r27,0r0,40r-27,0","w":200},"\u00a0":{"w":100}}});
Cufon.registerFont({"w":233,"face":{"font-family":"helvetica-neue-thin-extended","font-weight":100,"font-stretch":"normal","units-per-em":"360","panose-1":"2 0 2 3 0 0 0 0 0 0","ascent":"288","descent":"-72","x-height":"6","bbox":"-39 -342 374 79.0529","underline-thickness":"18","underline-position":"-36","stemh":"14","stemv":"17","unicode-range":"U+0020-U+00FF"},"glyphs":{" ":{"w":79},"!":{"d":"40,-66r-3,-191r19,0r-3,191r-13,0xm37,0r0,-36r19,0r0,36r-19,0","w":92},"\"":{"d":"31,-174r0,-83r14,0r0,83r-14,0xm81,-174r0,-83r15,0r0,83r-15,0","w":126},"#":{"d":"57,0r11,-82r-41,0r0,-12r42,0r9,-65r-40,0r0,-12r42,0r11,-82r13,0r-11,82r60,0r12,-82r12,0r-11,82r40,0r0,12r-42,0r-9,65r40,0r0,12r-42,0r-11,82r-12,0r11,-82r-61,0r-11,82r-12,0xm143,-94r9,-65r-61,0r-9,65r61,0"},"$":{"d":"124,-121r0,112v59,0,80,-26,80,-56v8,-33,-39,-47,-80,-56xm112,-140r0,-105v-57,1,-76,24,-76,52v0,33,29,44,76,53xm112,-9r0,-114v-52,-10,-94,-25,-94,-71v0,-41,35,-65,94,-65r0,-27r12,0r0,27v56,3,90,27,92,77r-16,0v-2,-28,-17,-60,-76,-63r0,108v52,8,99,23,99,71v0,34,-22,72,-99,72r0,34r-12,0r0,-34v-73,-4,-102,-39,-102,-90r17,0v0,45,26,72,85,75"},"%":{"d":"83,-121v-42,0,-62,-29,-62,-70v0,-40,20,-68,62,-68v43,0,63,27,63,68v0,39,-21,70,-63,70xm83,-134v35,0,48,-25,48,-57v0,-32,-13,-56,-48,-56v-34,0,-48,24,-48,56v0,32,13,57,48,57xm250,6v-42,0,-62,-29,-62,-70v0,-40,20,-68,62,-68v43,0,63,27,63,68v0,39,-21,70,-63,70xm250,-6v35,0,48,-26,48,-58v0,-32,-13,-56,-48,-56v-34,0,-48,24,-48,56v0,32,13,58,48,58xm61,8r191,-269r14,0r-190,269r-15,0","w":333},"&":{"d":"124,-144r89,86v9,-12,15,-33,15,-47r16,0v0,20,-9,43,-20,57r50,48r-23,0r-36,-35v-29,30,-58,41,-100,41v-64,0,-93,-39,-93,-77v0,-46,46,-64,76,-76v-23,-25,-36,-38,-36,-62v0,-19,14,-50,60,-50v33,0,60,17,60,50v0,37,-37,55,-58,65xm78,-210v0,25,31,51,36,56v20,-9,52,-23,52,-54v0,-28,-27,-37,-44,-37v-30,0,-44,18,-44,35xm204,-46r-95,-91v-40,16,-70,32,-70,66v0,41,35,62,78,62v53,0,81,-29,87,-37","w":266},"(":{"d":"98,68r-15,0v-76,-95,-77,-230,0,-325r15,0v-72,98,-73,228,0,325","w":106},")":{"d":"9,-257r14,0v76,95,77,230,0,325r-14,0v72,-98,71,-227,0,-325","w":106},"*":{"d":"30,-153r34,-40r-50,-18r5,-12r48,17r0,-51r13,0r0,51r48,-17r5,12r-50,18r34,40r-10,8r-34,-39r-33,39","w":146},"+":{"d":"17,-84r0,-14r84,0r0,-84r14,0r0,84r84,0r0,14r-84,0r0,84r-14,0r0,-84r-84,0","w":216},",":{"d":"31,0r0,-36r18,0v0,37,5,72,-25,83r0,-12v12,-6,13,-21,13,-35r-6,0","w":79},"-":{"d":"27,-89r0,-16r93,0r0,16r-93,0","w":146},".":{"d":"31,0r0,-36r18,0r0,36r-18,0","w":79},"\/":{"d":"150,-263r-137,269r-17,0r138,-269r16,0","w":146},"0":{"d":"223,-127v0,71,-26,133,-106,133v-79,0,-107,-63,-107,-133v0,-70,28,-132,107,-132v80,0,106,61,106,132xm206,-127v0,-62,-19,-118,-89,-118v-69,0,-90,58,-90,118v0,60,21,118,90,118v71,0,89,-56,89,-118"},"1":{"d":"105,-253r0,253r-16,0r0,-225v-22,21,-53,30,-80,33r0,-15v27,-1,70,-19,82,-46r14,0","w":153},"2":{"d":"212,-14r0,14r-191,0v5,-47,26,-62,86,-96v58,-33,83,-48,83,-88v0,-39,-26,-61,-74,-61v-53,0,-74,29,-74,76r-17,0v1,-63,33,-90,93,-90v60,0,89,30,89,74v0,47,-24,62,-94,102v-24,14,-73,42,-73,69r172,0"},"3":{"d":"104,-128r0,-15v39,0,88,1,88,-47v0,-42,-34,-55,-71,-55v-48,0,-80,21,-80,71r-16,0v2,-60,39,-85,96,-85v54,0,88,24,88,66v0,38,-25,51,-56,57v25,1,62,15,62,69v0,42,-32,73,-97,73v-62,0,-99,-28,-100,-90r17,0v0,53,31,75,85,75v35,0,79,-11,79,-62v0,-58,-60,-57,-95,-57"},"4":{"d":"15,-81r138,-172r17,0r0,174r49,0r0,15r-49,0r0,64r-16,0r0,-64r-139,0r0,-17xm154,-233r-123,154r123,0r0,-154"},"5":{"d":"26,-121r28,-132r147,0r0,14r-134,0r-21,98v53,-54,169,-25,169,57v0,59,-42,90,-100,90v-53,0,-94,-30,-96,-83r16,0v4,48,36,68,82,68v50,0,81,-25,81,-74v0,-34,-22,-72,-81,-72v-37,0,-63,18,-74,34r-17,0"},"6":{"d":"210,-193r-16,0v-4,-38,-38,-52,-72,-52v-77,-1,-89,71,-86,129v8,-24,35,-53,85,-53v53,0,94,31,94,86v0,50,-37,89,-97,89v-77,0,-100,-55,-100,-123v0,-77,17,-142,107,-142v50,0,82,26,85,66xm122,-155v-53,0,-83,30,-83,72v0,26,14,74,82,74v45,0,77,-29,77,-74v0,-41,-26,-72,-76,-72"},"7":{"d":"14,-239r0,-14r186,0r0,16v-72,74,-106,134,-121,237r-19,0v13,-94,55,-173,123,-239r-169,0","w":213},"8":{"d":"32,-69v0,35,26,60,85,60v37,0,85,-10,85,-60v0,-39,-27,-62,-85,-62v-58,0,-85,23,-85,62xm15,-69v-1,-50,40,-62,65,-70v-41,-9,-53,-30,-53,-58v0,-50,49,-62,90,-62v41,0,89,12,89,62v0,29,-15,48,-53,59v27,5,65,20,65,69v0,47,-34,75,-101,75v-67,0,-102,-28,-102,-75xm44,-194v0,40,40,49,73,49v34,0,72,-8,72,-49v0,-40,-39,-51,-72,-51v-35,0,-73,9,-73,51"},"9":{"d":"23,-60r17,0v4,38,37,51,71,51v78,0,87,-67,87,-128v-8,24,-35,53,-85,53v-53,0,-95,-32,-95,-87v0,-50,37,-88,97,-88v77,0,100,55,100,123v0,77,-17,142,-107,142v-50,0,-82,-26,-85,-66xm112,-99v53,0,82,-30,82,-72v0,-26,-14,-74,-82,-74v-45,0,-77,29,-77,74v0,41,27,72,77,72"},":":{"d":"31,-142r0,-36r18,0r0,36r-18,0xm31,0r0,-36r18,0r0,36r-18,0","w":79},";":{"d":"31,0r0,-36r18,0v0,37,5,72,-25,83r0,-12v12,-6,13,-21,13,-35r-6,0xm31,-142r0,-36r18,0r0,36r-18,0","w":79},"<":{"d":"17,-82r0,-19r182,-85r0,15r-170,80r170,80r0,15","w":216},"=":{"d":"199,-133r0,14r-182,0r0,-14r182,0xm199,-63r0,14r-182,0r0,-14r182,0","w":216},">":{"d":"17,4r0,-15r170,-80r-170,-80r0,-15r182,86r0,19","w":216},"?":{"d":"101,-66v-18,-67,84,-76,84,-127v0,-39,-36,-55,-72,-55v-49,0,-78,21,-78,70r-17,0v0,-59,38,-85,93,-85v53,0,91,22,91,69v0,30,-14,45,-47,67v-34,22,-39,25,-38,61r-16,0xm100,0r0,-36r18,0r0,36r-18,0","w":226},"@":{"d":"121,-60v34,0,64,-60,64,-94v0,-32,-15,-43,-32,-43v-41,0,-69,57,-69,94v0,26,16,43,37,43xm204,-202r16,0r-40,129v0,7,5,11,14,11v30,0,70,-35,70,-88v0,-57,-47,-98,-112,-98v-78,0,-128,53,-128,119v0,104,134,158,211,90r17,0v-76,94,-242,33,-242,-90v0,-74,56,-134,140,-134v77,0,128,49,128,109v0,66,-51,106,-86,106v-15,0,-26,-8,-27,-25v-29,41,-97,31,-96,-29v0,-51,35,-107,85,-107v19,0,38,13,41,32","w":288},"A":{"d":"-4,0r118,-257r19,0r118,257r-19,0r-38,-83r-141,0r-38,83r-19,0xm123,-238r-64,141r129,0","w":246},"B":{"d":"38,-243r0,103r115,0v13,0,66,-1,66,-53v0,-50,-42,-50,-69,-50r-112,0xm38,-126r0,112r116,0v13,0,73,0,73,-58v0,-54,-49,-54,-77,-54r-112,0xm22,0r0,-257v84,5,213,-25,213,63v0,26,-14,50,-50,60v50,5,59,41,59,63v0,28,-15,71,-86,71r-136,0","w":259},"C":{"d":"257,-98r17,0v-6,49,-50,104,-127,104v-78,0,-137,-50,-137,-135v0,-62,43,-134,137,-134v62,0,109,30,122,87r-16,0v-12,-49,-58,-72,-106,-72v-73,0,-120,54,-120,119v0,64,41,120,120,120v57,0,100,-33,110,-89","w":286},"D":{"d":"22,0r0,-257v128,1,235,-24,235,128v0,75,-38,129,-118,129r-117,0xm38,-243r0,229r104,0v57,0,98,-36,98,-115v0,-124,-90,-117,-202,-114","w":273},"E":{"d":"22,0r0,-257r203,0r0,14r-187,0r0,103r179,0r0,14r-179,0r0,112r189,0r0,14r-205,0"},"F":{"d":"22,0r0,-257r186,0r0,14r-170,0r0,103r161,0r0,14r-161,0r0,126r-16,0","w":213},"G":{"d":"158,-114r0,-14r120,0r0,128r-14,0v-1,-20,2,-45,-1,-63v-19,46,-63,69,-112,69v-78,0,-137,-50,-137,-135v0,-62,43,-134,137,-134v63,0,109,32,122,87r-17,0v-11,-48,-54,-72,-105,-72v-73,0,-120,54,-120,119v0,64,41,120,120,120v65,0,107,-40,111,-105r-104,0","w":299},"H":{"d":"22,0r0,-257r16,0r0,114r197,0r0,-114r17,0r0,257r-17,0r0,-128r-197,0r0,128r-16,0","w":273},"I":{"d":"22,0r0,-257r16,0r0,257r-16,0","w":59},"J":{"d":"9,-76v-2,-10,10,-5,16,-6v0,31,2,73,66,73v44,0,64,-23,64,-67r0,-181r17,0r0,180v0,56,-31,83,-81,83v-42,0,-82,-18,-82,-82","w":193},"K":{"d":"22,0r0,-257r16,0r0,148r185,-148r26,0r-133,106r143,151r-23,0r-133,-140r-65,51r0,89r-16,0","w":253},"L":{"d":"22,0r0,-257r16,0r0,243r169,0r0,14r-185,0","w":206},"M":{"d":"23,0r0,-257r25,0r125,236r125,-236r25,0r0,257r-17,0r0,-234r-125,234r-16,0r-125,-234r0,234r-17,0","w":346},"N":{"d":"22,0r0,-257r20,0r193,234r0,-234r17,0r0,257r-21,0r-193,-234r0,234r-16,0","w":273},"O":{"d":"27,-129v0,62,43,120,120,120v77,0,120,-58,120,-120v0,-62,-43,-119,-120,-119v-77,0,-120,57,-120,119xm10,-129v0,-50,33,-134,137,-134v104,0,136,84,136,134v0,50,-32,135,-136,135v-104,0,-137,-85,-137,-135","w":293},"P":{"d":"22,0r0,-257v92,10,212,-37,212,71v0,43,-25,73,-81,73r-115,0r0,113r-16,0xm38,-243r0,116v76,-7,179,29,179,-58v0,-58,-46,-58,-68,-58r-111,0","w":240},"Q":{"d":"169,-54r8,-12r46,33v80,-66,47,-215,-76,-215v-77,0,-120,57,-120,119v0,62,43,120,120,120v25,0,46,-6,63,-16xm271,18r-47,-33v-19,13,-45,21,-77,21v-104,0,-137,-85,-137,-135v0,-50,33,-134,137,-134v104,0,136,84,136,134v0,31,-12,77,-46,105r42,30","w":293},"R":{"d":"22,0r0,-257v90,7,217,-31,218,68v0,27,-17,56,-53,64v31,4,48,26,48,54v1,47,3,62,8,71v-33,3,-19,-11,-24,-60v9,-86,-109,-49,-181,-57r0,117r-16,0xm38,-243r0,112r112,0v16,0,73,0,73,-59v0,-81,-111,-45,-185,-53","w":253},"S":{"d":"10,-85r17,0v0,48,29,76,98,76v63,0,86,-27,86,-57v0,-79,-193,-37,-193,-130v0,-39,33,-67,97,-67v65,0,106,24,108,79r-17,0v-2,-30,-18,-64,-86,-64v-63,0,-83,22,-83,52v0,80,193,33,193,129v0,35,-23,73,-103,73v-84,0,-117,-37,-117,-91","w":240},"T":{"d":"-5,-243r0,-14r224,0r0,14r-104,0r0,243r-17,0r0,-243r-103,0","w":213},"U":{"d":"19,-95r0,-162r17,0v8,113,-40,248,97,248v137,0,88,-135,97,-248r17,0r0,162v0,66,-38,101,-114,101v-76,0,-114,-35,-114,-101","w":266},"V":{"d":"111,0r-114,-257r18,0r105,236r105,-236r19,0r-114,257r-19,0","w":240},"W":{"d":"79,0r-84,-257r18,0r77,234r83,-234r21,0r83,234r76,-234r19,0r-85,257r-21,0r-83,-234r-83,234r-21,0","w":366},"X":{"d":"-3,0r109,-131r-105,-126r22,0r94,113r95,-113r21,0r-105,126r109,131r-22,0r-98,-118r-99,118r-21,0"},"Y":{"d":"112,-108r-119,-149r23,0r104,134r107,-134r21,0r-119,149r0,108r-17,0r0,-108","w":240},"Z":{"d":"-2,0r0,-18r202,-225r-190,0r0,-14r209,0r0,17r-202,226r205,0r0,14r-224,0","w":219},"[":{"d":"35,68r0,-325r59,0r0,14r-43,0r0,297r43,0r0,14r-59,0","w":106},"\\":{"d":"134,6r-138,-269r17,0r137,269r-16,0","w":146},"]":{"d":"55,54r0,-297r-43,0r0,-14r60,0r0,325r-60,0r0,-14r43,0","w":106},"^":{"d":"14,-90r85,-163r19,0r84,163r-14,0r-80,-151r-80,151r-14,0","w":216},"_":{"d":"180,45r-180,0r0,-18r180,0r0,18","w":180},"a":{"d":"86,-9v50,1,97,-27,85,-94v-32,26,-146,-9,-145,53v0,37,38,41,60,41xm34,-127r-16,0v6,-46,29,-63,85,-63v54,0,85,13,85,54r0,103v-4,23,12,25,28,19r0,15v-5,2,-12,3,-20,3v-24,1,-20,-20,-23,-41v-21,38,-64,43,-88,43v-16,0,-76,0,-76,-56v1,-61,78,-53,134,-58v19,-2,28,-3,28,-26v0,-25,-14,-42,-68,-42v-49,0,-64,16,-69,49","w":213},"b":{"d":"20,0r0,-257r17,0r0,112v11,-20,37,-45,82,-45v56,0,98,38,98,97v0,52,-33,99,-98,99v-48,0,-73,-24,-82,-46r0,40r-17,0xm121,-9v46,0,80,-31,80,-84v0,-56,-40,-83,-82,-83v-37,0,-84,21,-84,86v0,33,17,81,86,81","w":226},"c":{"d":"208,-126r-16,0v-2,-23,-35,-50,-79,-50v-58,0,-87,42,-87,86v0,30,20,81,87,81v37,0,73,-17,81,-55r17,0v-10,48,-52,70,-98,70v-60,0,-104,-39,-104,-96v0,-65,47,-100,104,-100v57,0,93,33,95,64","w":219},"d":{"d":"190,0v-1,-13,2,-29,-1,-40v-9,22,-33,46,-81,46v-65,0,-99,-47,-99,-99v0,-59,43,-97,99,-97v46,-1,69,26,82,45r0,-112r17,0r0,257r-17,0xm106,-9v69,0,86,-48,86,-81v-3,-120,-165,-112,-166,-3v0,53,34,84,80,84","w":226},"e":{"d":"214,-89r-188,0v1,46,33,80,88,80v57,0,72,-35,78,-52r17,0v-15,46,-48,67,-97,67v-63,0,-103,-39,-103,-100v0,-39,25,-96,103,-96v64,0,101,42,102,101xm26,-103r169,0v-7,-50,-42,-73,-84,-73v-48,0,-78,29,-85,73","w":219},"f":{"d":"40,0r0,-170r-44,0r0,-14r44,0v0,0,-5,-76,46,-75v8,0,19,1,29,2r0,14v-27,-1,-52,-13,-59,26r0,33r53,0r0,14r-53,0r0,170r-16,0","w":106},"g":{"d":"110,-176v-44,0,-84,25,-84,78v0,53,31,81,86,81v48,0,85,-25,85,-81v0,-49,-33,-78,-87,-78xm196,-147v3,-9,0,-26,1,-37r16,0r0,175v0,42,-15,88,-101,88v-57,0,-89,-17,-95,-62r16,0v4,29,25,48,79,48v89,0,88,-48,84,-111v-16,31,-48,44,-87,44v-72,0,-100,-46,-100,-95v0,-48,31,-93,101,-93v33,0,68,9,86,43"},"h":{"d":"20,0r0,-257r17,0r0,109v12,-22,36,-42,78,-42v85,0,85,54,85,76r0,114r-17,0v-8,-80,32,-178,-68,-176v-100,2,-75,89,-78,176r-17,0","w":219},"i":{"d":"22,0r0,-184r16,0r0,184r-16,0xm22,-219r0,-38r16,0r0,38r-16,0","w":59},"j":{"d":"38,-184r0,217v3,41,-33,51,-70,44r0,-14v5,1,15,2,23,2v31,0,31,-21,31,-46r0,-203r16,0xm22,-219r0,-38r16,0r0,38r-16,0","w":59},"k":{"d":"20,0r0,-257r17,0r0,171r131,-98r25,0r-94,69r102,115r-22,0r-93,-104r-49,36r0,68r-17,0","w":200},"l":{"d":"22,0r0,-257r16,0r0,257r-16,0","w":59},"m":{"d":"20,0r0,-184r17,0r0,31v14,-24,42,-37,71,-37v45,0,63,20,71,43v13,-28,38,-43,71,-43v106,0,72,102,77,190r-17,0v-7,-75,30,-174,-59,-176v-91,-2,-66,96,-69,176r-17,0v-7,-75,30,-176,-60,-176v-40,0,-68,24,-68,66r0,110r-17,0","w":347},"n":{"d":"20,0r0,-184r17,0r0,36v12,-22,36,-42,78,-42v85,0,85,54,85,76r0,114r-17,0v-8,-80,32,-178,-68,-176v-100,2,-75,89,-78,176r-17,0","w":219},"o":{"d":"113,-176v-116,0,-116,167,0,167v58,0,88,-41,88,-83v0,-42,-30,-84,-88,-84xm9,-92v0,-52,38,-98,104,-98v66,0,104,46,104,98v0,52,-38,98,-104,98v-66,0,-104,-46,-104,-98","w":226},"p":{"d":"20,73r0,-257r17,0r0,40v9,-22,34,-46,82,-46v65,0,98,46,98,98v0,59,-42,98,-98,98v-45,0,-71,-25,-82,-45r0,112r-17,0xm121,-176v-69,0,-86,49,-86,82v3,119,165,111,166,3v0,-53,-34,-85,-80,-85","w":226},"q":{"d":"190,73r-1,-112v-11,20,-36,45,-81,45v-56,0,-99,-39,-99,-98v0,-52,34,-98,99,-98v49,-1,71,26,82,46r0,-40r17,0r0,257r-17,0xm106,-176v-46,0,-80,32,-80,85v0,56,40,82,82,82v37,0,84,-20,84,-85v0,-33,-17,-82,-86,-82","w":226},"r":{"d":"20,0r0,-184r17,0r0,43v13,-35,48,-55,90,-47r0,17v-51,-14,-90,28,-90,71r0,100r-17,0","w":126},"s":{"d":"179,-130r-17,0v-3,-31,-22,-46,-70,-46v-73,0,-78,60,-23,68v49,7,117,5,117,59v0,50,-57,55,-88,55v-51,0,-87,-18,-90,-64r16,0v2,19,6,49,78,49v49,0,67,-14,67,-40v0,-71,-154,-4,-154,-89v0,-21,15,-52,78,-52v68,0,84,31,86,60","w":193},"t":{"d":"38,-184r0,-63r17,0r0,63r54,0r0,14r-54,0r0,133v-2,32,31,27,56,24r0,14v-42,9,-73,1,-73,-47r0,-124r-42,0r0,-14r42,0","w":113},"u":{"d":"200,-184r0,184r-17,0r0,-37v-12,22,-36,43,-78,43v-85,0,-85,-55,-85,-77r0,-113r17,0v8,80,-32,178,68,175v99,-2,76,-88,78,-175r17,0","w":219},"v":{"d":"92,0r-91,-184r18,0r81,167r81,-167r18,0r-91,184r-16,0","w":200},"w":{"d":"83,-21r63,-163r21,0r65,163r65,-163r18,0r-75,184r-19,0r-64,-166r-65,166r-19,0r-75,-184r19,0","w":313},"x":{"d":"-4,0r89,-96r-81,-88r23,0r70,76r70,-76r21,0r-81,87r90,97r-23,0r-78,-85r-79,85r-21,0","w":193},"y":{"d":"89,0r-94,-184r19,0r83,166r76,-166r19,0r-102,216v-9,27,-31,38,-71,34r0,-14v44,9,53,-20,70,-52","w":186},"z":{"d":"4,0r0,-17r150,-153r-140,0r0,-14r163,0r0,12r-154,158r160,0r0,14r-179,0","w":186},"{":{"d":"19,-87r0,-15v62,-6,-24,-175,79,-155r0,14v-27,1,-38,-7,-36,35v2,42,-2,114,-26,114v24,0,28,71,26,113v-2,42,8,34,36,35r0,14v-34,1,-52,1,-53,-42v-1,-42,9,-109,-26,-113","w":106},"|":{"d":"33,6r0,-269r14,0r0,269r-14,0","w":79},"}":{"d":"9,54v53,14,36,-52,36,-89v0,-41,15,-54,26,-59v-24,0,-28,-72,-26,-114v2,-41,-9,-34,-36,-35r0,-14v34,-1,52,-1,53,42v1,41,-10,109,25,113r0,15v-61,6,25,175,-78,155r0,-14","w":106},"~":{"d":"146,-72v-23,0,-50,-24,-74,-24v-21,0,-31,15,-36,27r-10,-12v11,-18,22,-30,44,-30v27,-1,48,23,77,25v14,0,27,-15,33,-27r10,11v-10,14,-23,30,-44,30","w":216},"\u00a1":{"d":"37,73r3,-191r13,0r3,191r-19,0xm37,-148r0,-36r19,0r0,36r-19,0","w":92},"\u00a2":{"d":"112,-9r0,-166v-53,4,-79,44,-79,85v0,29,19,77,79,81xm112,45r0,-40v-56,-3,-96,-40,-96,-95v0,-62,43,-97,96,-100r0,-33r12,0r0,33v54,1,89,33,91,64r-17,0v-2,-23,-32,-49,-74,-50r0,167v38,0,69,-18,77,-55r16,0v-9,47,-48,70,-93,70r0,39r-12,0"},"\u00a3":{"d":"219,-24v-55,70,-128,-17,-195,30r-10,-14v37,-31,60,-64,38,-108r-32,0r0,-12r27,0v-14,-24,-21,-44,-21,-62v0,-18,9,-69,91,-69v78,0,96,42,96,87r-16,0v0,-56,-33,-73,-80,-73v-35,0,-75,14,-75,55v0,19,13,42,24,62r81,0r0,12r-76,0v18,44,-7,80,-36,104v49,-28,76,3,121,3v25,0,44,-16,55,-29"},"\u00a5":{"d":"108,0r0,-61r-76,0r0,-12r76,0v-1,-14,3,-33,-4,-41r-72,0r0,-12r63,0r-99,-127r23,0r96,127r3,0r98,-127r21,0r-98,127r62,0r0,12r-72,0v-7,8,-3,27,-4,41r76,0r0,12r-76,0r0,61r-17,0"},"\u00a7":{"d":"191,-198r-17,0v0,-14,0,-50,-60,-50v-17,0,-58,0,-58,37v0,11,5,21,26,31r96,44v23,11,39,26,39,48v0,40,-37,50,-47,52v8,6,23,16,23,41v0,45,-42,53,-79,53v-31,0,-78,-7,-78,-67r17,0v0,37,21,53,62,53v12,0,61,0,61,-36v0,-49,-75,-55,-112,-76v-37,-21,-48,-34,-48,-55v0,-37,35,-48,47,-51v-48,-27,-17,-89,47,-89v50,0,81,16,81,65xm166,-123r-91,-43v-9,0,-43,13,-43,41v0,24,17,32,40,42r85,39v1,0,44,-5,44,-40v0,-24,-20,-32,-35,-39"},"\u00a4":{"d":"204,-50r-10,10r-19,-19v-34,30,-82,29,-116,0r-20,19r-10,-9r20,-20v-29,-33,-30,-83,0,-116r-20,-20r10,-9r20,20v34,-29,82,-30,116,0r19,-20r10,10r-20,19v30,33,29,83,0,116xm44,-127v0,40,33,73,73,73v40,0,72,-33,72,-73v0,-40,-32,-72,-72,-72v-40,0,-73,32,-73,72"},"'":{"d":"33,-174r0,-83r14,0r0,83r-14,0","w":79},"\u00ab":{"d":"92,-97r37,37r0,20r-49,-49r0,-16r49,-49r0,19xm39,-97r36,37r0,20r-49,-49r0,-16r49,-49r0,19","w":159},"\u00b7":{"d":"20,-115v0,-11,9,-20,20,-20v11,0,20,9,20,20v0,11,-9,20,-20,20v-11,0,-20,-9,-20,-20","w":79},"\u00b6":{"d":"93,53r0,-170v-42,0,-75,-31,-75,-69v0,-76,81,-74,159,-71r0,310r-15,0r0,-296r-55,0r0,296r-14,0","w":216},"\u00bb":{"d":"121,-97r-36,-38r0,-19r49,49r0,16r-49,49r0,-20xm68,-97r-37,-38r0,-19r49,49r0,16r-49,49r0,-20","w":159},"\u00bf":{"d":"126,-118v17,66,-85,76,-85,127v0,39,37,55,73,55v49,0,78,-21,78,-70r17,0v0,59,-38,84,-93,84v-53,0,-91,-21,-91,-68v0,-30,14,-45,47,-67v34,-22,38,-25,37,-61r17,0xm127,-184r0,36r-19,0r0,-36r19,0","w":226},"`":{"d":"37,-213r-56,-52r20,0r52,52r-16,0","w":59},"\u00b4":{"d":"58,-265r21,0r-56,52r-17,0","w":59},"\u00af":{"d":"-39,-230r0,-13r138,0r0,13r-138,0","w":59},"\u00a8":{"d":"-17,-215r0,-38r17,0r0,38r-17,0xm60,-215r0,-38r16,0r0,38r-16,0","w":59},"\u00b8":{"d":"6,27v12,-9,13,-29,35,-27v-6,7,-13,13,-18,21v21,-7,45,-1,47,20v-3,35,-52,28,-80,21r4,-10v21,5,51,16,61,-10v-1,-19,-33,-15,-43,-9","w":59},"\u00c6":{"d":"-12,0r167,-257r217,0r0,14r-170,0r0,103r162,0r0,14r-162,0r0,112r172,0r0,14r-189,0r0,-93r-117,0r-60,93r-20,0xm165,-243r-88,136r108,0r0,-136r-20,0","w":380},"\u00aa":{"d":"56,-150v29,0,62,-16,54,-57v-18,14,-92,-3,-92,32v0,12,7,25,38,25xm122,-228r0,59v-2,14,7,16,19,13r0,10v-13,4,-35,0,-32,-21v-21,46,-109,28,-103,-8v-3,-34,50,-34,85,-36v11,-1,19,-3,19,-13v0,-12,-3,-25,-41,-25v-27,0,-45,7,-45,28r-12,0v0,-28,25,-38,53,-38v29,0,57,4,57,31","w":138},"\u00d8":{"d":"12,-2r33,-34v-26,-29,-35,-66,-35,-93v0,-50,33,-134,137,-134v42,0,72,14,93,34r34,-34r8,8r-34,34v26,28,35,65,35,92v0,50,-32,135,-136,135v-42,0,-73,-14,-94,-33r-33,33xm57,-47r172,-171v-20,-18,-47,-30,-82,-30v-113,-2,-153,128,-90,201xm237,-210r-172,171v20,19,48,30,82,30v112,2,154,-128,90,-201","w":293},"\u00ba":{"d":"74,-249v-75,1,-74,98,0,99v73,-1,74,-98,0,-99xm6,-200v0,-39,31,-59,68,-59v37,0,67,20,67,59v0,39,-30,60,-67,60v-37,0,-68,-21,-68,-60","w":147},"\u00e6":{"d":"374,-89r-188,0v1,46,33,80,88,80v57,0,72,-35,78,-52r17,0v-22,84,-155,95,-189,10v-12,31,-42,58,-95,57v-16,0,-76,0,-76,-56v1,-61,78,-53,134,-58v19,-2,28,-3,28,-26v0,-25,-14,-42,-68,-42v-49,0,-64,16,-69,49r-16,0v6,-46,29,-63,85,-63v42,0,78,8,83,49v12,-30,44,-49,86,-49v64,0,101,42,102,101xm186,-103r169,0v-7,-50,-43,-73,-85,-73v-48,0,-77,29,-84,73xm86,-9v50,1,97,-27,85,-94v-32,26,-146,-9,-145,53v0,37,38,41,60,41","w":379},"\u00f8":{"d":"47,-35r126,-121v-14,-12,-34,-20,-60,-20v-84,0,-110,89,-66,141xm180,-149r-126,120v15,13,34,20,59,20v84,1,111,-87,67,-140xm10,0r26,-24v-56,-60,-20,-169,77,-166v29,0,53,9,71,24r26,-25r6,7r-25,24v55,61,19,169,-78,166v-30,0,-53,-10,-70,-24r-26,25","w":226},"\u00df":{"d":"37,0r-17,0r0,-188v0,-53,33,-74,84,-74v49,0,87,16,87,63v0,22,-14,48,-51,56v43,3,64,30,64,69v0,51,-52,91,-114,74r0,-14v46,9,98,0,98,-63v0,-46,-40,-60,-94,-58r0,-14v46,2,82,-13,81,-50v0,-17,-10,-49,-70,-49v-51,0,-68,24,-68,60r0,188","w":213},"\u00f7":{"d":"17,-84r0,-14r182,0r0,14r-182,0xm89,-163v0,-10,9,-19,19,-19v10,0,19,9,19,19v0,10,-9,19,-19,19v-10,0,-19,-9,-19,-19xm89,-19v0,-10,9,-19,19,-19v10,0,19,9,19,19v0,10,-9,19,-19,19v-10,0,-19,-9,-19,-19","w":216},"\u00be":{"d":"199,-51r89,-102r12,0r0,104r32,0r0,10r-32,0r0,39r-12,0r0,-39r-89,0r0,-12xm288,-49r0,-89r-76,89r76,0xm98,6r165,-265r14,0r-164,265r-15,0xm75,-180r0,-10v19,0,55,0,55,-29v0,-48,-98,-39,-94,11r-12,0v1,-38,26,-51,64,-51v23,0,54,9,54,40v1,23,-18,29,-36,34v23,0,41,14,41,40v0,37,-35,46,-65,46v-35,0,-63,-14,-63,-55r13,0v0,35,25,45,53,45v22,0,49,-8,49,-36v0,-33,-36,-35,-59,-35","w":349},"\u00bc":{"d":"199,-51r89,-101r12,0r0,103r32,0r0,10r-32,0r0,39r-12,0r0,-39r-89,0r0,-12xm288,-49r0,-89r-76,89r76,0xm63,-103r0,-133v-15,12,-35,18,-52,20r0,-10v17,-1,45,-12,53,-29r12,0r0,152r-13,0xm73,6r165,-265r14,0r-165,265r-14,0","w":349},"\u00b9":{"d":"72,-103r0,-133v-15,12,-35,18,-52,20r0,-10v17,-1,45,-12,53,-29r12,0r0,152r-13,0","w":139},"\u00d7":{"d":"28,-21r71,-70r-71,-70r10,-10r70,71r70,-71r10,10r-71,70r71,70r-10,9r-70,-70r-70,70","w":216},"\u00ae":{"d":"92,-49r0,-159v51,2,115,-14,113,44v0,28,-15,38,-40,42r47,73r-16,0r-48,-73r-41,0r0,73r-15,0xm107,-196r0,62v37,-2,84,9,84,-30v0,-41,-46,-31,-84,-32xm24,-129v0,66,54,120,120,120v66,0,120,-54,120,-120v0,-66,-54,-119,-120,-119v-66,0,-120,53,-120,119xm10,-129v0,-74,60,-134,134,-134v74,0,134,60,134,134v0,74,-60,135,-134,135v-74,0,-134,-61,-134,-135","w":288},"\u00de":{"d":"22,0r0,-257r16,0r0,54v88,8,196,-33,196,71v0,43,-25,73,-81,73r-115,0r0,59r-16,0xm38,-189r0,116v76,-7,179,29,179,-58v0,-58,-46,-58,-68,-58r-111,0","w":240},"\u00a6":{"d":"33,6r0,-97r14,0r0,97r-14,0xm33,-166r0,-97r14,0r0,97r-14,0","w":79},"\u00d0":{"d":"22,0r0,-126r-22,0r0,-14r22,0r0,-117v128,1,235,-24,235,128v0,75,-38,129,-118,129r-117,0xm38,-243r0,103r96,0r0,14r-96,0r0,112r104,0v57,0,98,-36,98,-115v0,-124,-90,-117,-202,-114","w":273},"\u00bd":{"d":"73,6r165,-265r14,0r-165,265r-14,0xm63,-103r0,-133v-15,12,-35,18,-52,20r0,-10v17,-1,45,-12,53,-29r12,0r0,152r-13,0xm323,-109v0,49,-99,60,-108,99r112,0r0,10r-124,0v-6,-55,108,-61,108,-109v0,-25,-23,-34,-44,-34v-35,0,-49,17,-49,43r-12,0v0,-37,20,-53,61,-53v28,0,56,12,56,44","w":349},"\u00e7":{"d":"194,-64r17,0v-9,47,-49,68,-95,69v-3,5,-12,11,-12,16v21,-7,46,-1,46,20v0,35,-52,28,-80,21r4,-10v21,5,52,16,62,-10v-1,-19,-33,-15,-43,-9v-15,-8,7,-19,12,-28v-56,-3,-96,-41,-96,-95v0,-65,47,-100,104,-100v57,0,93,33,95,64r-16,0v-2,-23,-35,-50,-79,-50v-58,0,-87,42,-87,86v0,30,20,81,87,81v37,0,73,-17,81,-55","w":219},"\u00f0":{"d":"113,-176v-116,0,-116,167,0,167v58,0,88,-41,88,-83v0,-42,-30,-84,-88,-84xm9,-92v0,-52,38,-98,100,-98v34,0,65,10,87,43v-23,-62,-71,-97,-136,-113r10,-11v85,21,147,86,147,175v0,60,-38,102,-104,102v-66,0,-104,-46,-104,-98xm167,-271r8,8r-97,48r-9,-7","w":226},"\u00b1":{"d":"17,-100r0,-14r84,0r0,-68r14,0r0,68r84,0r0,14r-84,0r0,68r-14,0r0,-68r-84,0xm17,0r0,-14r182,0r0,14r-182,0","w":216},"\u00c7":{"d":"257,-98r17,0v-6,49,-49,103,-125,104v-3,5,-12,10,-12,15v21,-7,46,-1,46,20v0,35,-52,28,-80,21r4,-10v21,5,52,16,62,-10v-1,-19,-33,-15,-43,-9v-13,-8,7,-19,12,-28v-73,-4,-128,-53,-128,-134v0,-62,43,-134,137,-134v62,0,109,30,122,87r-16,0v-12,-49,-58,-72,-106,-72v-73,0,-120,54,-120,119v0,64,41,120,120,120v57,0,100,-33,110,-89","w":286},"\u00fe":{"d":"20,73r0,-330r17,0r0,113v9,-22,34,-46,82,-46v65,0,98,46,98,98v0,59,-42,98,-98,98v-45,0,-71,-25,-82,-45r0,112r-17,0xm121,-176v-69,0,-86,49,-86,82v3,119,165,111,166,3v0,-53,-34,-85,-80,-85","w":226},"\u00a9":{"d":"24,-129v0,66,54,120,120,120v66,0,120,-54,120,-120v0,-66,-54,-119,-120,-119v-66,0,-120,53,-120,119xm217,-158r-15,0v-20,-74,-121,-44,-121,29v0,40,26,74,67,74v29,0,49,-17,54,-46r15,0v-5,35,-34,58,-69,58v-49,0,-81,-37,-81,-86v0,-49,30,-84,81,-84v35,0,64,20,69,55xm10,-129v0,-74,60,-134,134,-134v74,0,134,60,134,134v0,74,-60,135,-134,135v-74,0,-134,-61,-134,-135","w":288},"\u00ac":{"d":"185,-39r0,-80r-168,0r0,-14r182,0r0,94r-14,0","w":216},"\u00b2":{"d":"134,-215v0,49,-99,60,-108,99r112,0r0,10r-124,0v-6,-55,108,-60,108,-109v0,-25,-23,-34,-44,-34v-35,0,-49,17,-49,43r-12,0v0,-37,20,-53,61,-53v28,0,56,12,56,44","w":151},"\u00b3":{"d":"67,-180r0,-10v19,0,56,0,56,-29v0,-48,-98,-39,-94,11r-12,0v1,-38,26,-51,64,-51v23,0,54,9,54,40v1,23,-18,29,-36,34v23,0,40,14,40,40v0,37,-34,46,-64,46v-35,0,-63,-14,-63,-55r12,0v0,35,26,45,54,45v22,0,49,-8,49,-36v0,-33,-37,-35,-60,-35","w":151},"\u00b0":{"d":"20,-207v0,-29,23,-52,52,-52v29,0,52,23,52,52v0,29,-23,52,-52,52v-29,0,-52,-23,-52,-52xm32,-207v0,22,18,40,40,40v22,0,40,-18,40,-40v0,-22,-18,-40,-40,-40v-22,0,-40,18,-40,40","w":144},"\u00c1":{"d":"-4,0r118,-257r19,0r118,257r-19,0r-38,-83r-141,0r-38,83r-19,0xm123,-238r-64,141r129,0xm152,-323r21,0r-56,52r-17,0","w":246},"\u00c2":{"d":"189,-272r-19,0r-47,-41r-46,41r-19,0r55,-51r21,0xm-4,0r118,-257r19,0r118,257r-19,0r-38,-83r-141,0r-38,83r-19,0xm123,-238r-64,141r129,0","w":246},"\u00c4":{"d":"-4,0r118,-257r19,0r118,257r-19,0r-38,-83r-141,0r-38,83r-19,0xm123,-238r-64,141r129,0xm77,-273r0,-38r17,0r0,38r-17,0xm154,-273r0,-38r16,0r0,38r-16,0","w":246},"\u00c0":{"d":"-4,0r118,-257r19,0r118,257r-19,0r-38,-83r-141,0r-38,83r-19,0xm123,-238r-64,141r129,0xm131,-271r-56,-52r20,0r52,52r-16,0","w":246},"\u00c5":{"d":"84,-302v0,-22,17,-40,39,-40v22,0,40,18,40,40v0,22,-18,39,-40,39v-22,0,-39,-17,-39,-39xm96,-302v0,15,12,27,27,27v15,0,28,-12,28,-27v0,-15,-13,-28,-28,-28v-15,0,-27,13,-27,28xm-4,0r118,-257r19,0r118,257r-19,0r-38,-83r-141,0r-38,83r-19,0xm123,-238r-64,141r129,0","w":246},"\u00c3":{"d":"155,-280v-30,-1,-71,-42,-82,0r-12,0v2,-15,15,-32,34,-32v27,0,72,40,79,0r12,0v-3,16,-13,32,-31,32xm-4,0r118,-257r19,0r118,257r-19,0r-38,-83r-141,0r-38,83r-19,0xm123,-238r-64,141r129,0","w":246},"\u00c9":{"d":"22,0r0,-257r203,0r0,14r-187,0r0,103r179,0r0,14r-179,0r0,112r189,0r0,14r-205,0xm145,-323r21,0r-56,52r-17,0"},"\u00ca":{"d":"183,-272r-20,0r-46,-41r-47,41r-19,0r56,-51r20,0xm22,0r0,-257r203,0r0,14r-187,0r0,103r179,0r0,14r-179,0r0,112r189,0r0,14r-205,0"},"\u00cb":{"d":"22,0r0,-257r203,0r0,14r-187,0r0,103r179,0r0,14r-179,0r0,112r189,0r0,14r-205,0xm70,-273r0,-38r17,0r0,38r-17,0xm147,-273r0,-38r16,0r0,38r-16,0"},"\u00c8":{"d":"22,0r0,-257r203,0r0,14r-187,0r0,103r179,0r0,14r-179,0r0,112r189,0r0,14r-205,0xm124,-271r-56,-52r20,0r52,52r-16,0"},"\u00cd":{"d":"22,0r0,-257r16,0r0,257r-16,0xm58,-323r21,0r-56,52r-17,0","w":59},"\u00ce":{"d":"96,-272r-19,0r-47,-41r-47,41r-19,0r56,-51r20,0xm22,0r0,-257r16,0r0,257r-16,0","w":59},"\u00cf":{"d":"22,0r0,-257r16,0r0,257r-16,0xm-17,-273r0,-38r17,0r0,38r-17,0xm60,-273r0,-38r16,0r0,38r-16,0","w":59},"\u00cc":{"d":"22,0r0,-257r16,0r0,257r-16,0xm37,-271r-56,-52r20,0r52,52r-16,0","w":59},"\u00d1":{"d":"168,-280v-29,-1,-71,-42,-82,0r-12,0v2,-15,15,-32,34,-32v27,0,72,40,79,0r12,0v-2,16,-13,32,-31,32xm22,0r0,-257r20,0r193,234r0,-234r17,0r0,257r-21,0r-193,-234r0,234r-16,0","w":273},"\u00d3":{"d":"27,-129v0,62,43,120,120,120v77,0,120,-58,120,-120v0,-62,-43,-119,-120,-119v-77,0,-120,57,-120,119xm10,-129v0,-50,33,-134,137,-134v104,0,136,84,136,134v0,50,-32,135,-136,135v-104,0,-137,-85,-137,-135xm175,-323r21,0r-56,52r-17,0","w":293},"\u00d4":{"d":"213,-272r-19,0r-47,-41r-47,41r-19,0r56,-51r20,0xm27,-129v0,62,43,120,120,120v77,0,120,-58,120,-120v0,-62,-43,-119,-120,-119v-77,0,-120,57,-120,119xm10,-129v0,-50,33,-134,137,-134v104,0,136,84,136,134v0,50,-32,135,-136,135v-104,0,-137,-85,-137,-135","w":293},"\u00d6":{"d":"27,-129v0,62,43,120,120,120v77,0,120,-58,120,-120v0,-62,-43,-119,-120,-119v-77,0,-120,57,-120,119xm10,-129v0,-50,33,-134,137,-134v104,0,136,84,136,134v0,50,-32,135,-136,135v-104,0,-137,-85,-137,-135xm100,-273r0,-38r17,0r0,38r-17,0xm177,-273r0,-38r16,0r0,38r-16,0","w":293},"\u00d2":{"d":"27,-129v0,62,43,120,120,120v77,0,120,-58,120,-120v0,-62,-43,-119,-120,-119v-77,0,-120,57,-120,119xm10,-129v0,-50,33,-134,137,-134v104,0,136,84,136,134v0,50,-32,135,-136,135v-104,0,-137,-85,-137,-135xm154,-271r-56,-52r20,0r52,52r-16,0","w":293},"\u00d5":{"d":"179,-280v-30,-1,-72,-42,-83,0r-12,0v2,-15,15,-32,34,-32v27,0,72,40,79,0r13,0v-3,16,-13,32,-31,32xm27,-129v0,62,43,120,120,120v77,0,120,-58,120,-120v0,-62,-43,-119,-120,-119v-77,0,-120,57,-120,119xm10,-129v0,-50,33,-134,137,-134v104,0,136,84,136,134v0,50,-32,135,-136,135v-104,0,-137,-85,-137,-135","w":293},"\u00da":{"d":"19,-95r0,-162r17,0v8,113,-40,248,97,248v137,0,88,-135,97,-248r17,0r0,162v0,66,-38,101,-114,101v-76,0,-114,-35,-114,-101xm161,-323r21,0r-56,52r-17,0","w":266},"\u00db":{"d":"199,-272r-19,0r-47,-41r-47,41r-19,0r56,-51r20,0xm19,-95r0,-162r17,0v8,113,-40,248,97,248v137,0,88,-135,97,-248r17,0r0,162v0,66,-38,101,-114,101v-76,0,-114,-35,-114,-101","w":266},"\u00dc":{"d":"19,-95r0,-162r17,0v8,113,-40,248,97,248v137,0,88,-135,97,-248r17,0r0,162v0,66,-38,101,-114,101v-76,0,-114,-35,-114,-101xm86,-273r0,-38r17,0r0,38r-17,0xm163,-273r0,-38r16,0r0,38r-16,0","w":266},"\u00d9":{"d":"19,-95r0,-162r17,0v8,113,-40,248,97,248v137,0,88,-135,97,-248r17,0r0,162v0,66,-38,101,-114,101v-76,0,-114,-35,-114,-101xm140,-271r-56,-52r20,0r52,52r-16,0","w":266},"\u00dd":{"d":"112,-108r-119,-149r23,0r104,134r107,-134r21,0r-119,149r0,108r-17,0r0,-108xm148,-323r21,0r-56,52r-17,0","w":240},"\u00e1":{"d":"86,-9v50,1,97,-27,85,-94v-32,26,-146,-9,-145,53v0,37,38,41,60,41xm34,-127r-16,0v6,-46,29,-63,85,-63v54,0,85,13,85,54r0,103v-4,23,12,25,28,19r0,15v-5,2,-12,3,-20,3v-24,1,-20,-20,-23,-41v-21,38,-64,43,-88,43v-16,0,-76,0,-76,-56v1,-61,78,-53,134,-58v19,-2,28,-3,28,-26v0,-25,-14,-42,-68,-42v-49,0,-64,16,-69,49xm135,-265r21,0r-56,52r-17,0","w":213},"\u00e2":{"d":"173,-213r-19,0r-47,-42r-47,42r-19,0r56,-52r20,0xm86,-9v50,1,97,-27,85,-94v-32,26,-146,-9,-145,53v0,37,38,41,60,41xm34,-127r-16,0v6,-46,29,-63,85,-63v54,0,85,13,85,54r0,103v-4,23,12,25,28,19r0,15v-5,2,-12,3,-20,3v-24,1,-20,-20,-23,-41v-21,38,-64,43,-88,43v-16,0,-76,0,-76,-56v1,-61,78,-53,134,-58v19,-2,28,-3,28,-26v0,-25,-14,-42,-68,-42v-49,0,-64,16,-69,49","w":213},"\u00e4":{"d":"86,-9v50,1,97,-27,85,-94v-32,26,-146,-9,-145,53v0,37,38,41,60,41xm34,-127r-16,0v6,-46,29,-63,85,-63v54,0,85,13,85,54r0,103v-4,23,12,25,28,19r0,15v-5,2,-12,3,-20,3v-24,1,-20,-20,-23,-41v-21,38,-64,43,-88,43v-16,0,-76,0,-76,-56v1,-61,78,-53,134,-58v19,-2,28,-3,28,-26v0,-25,-14,-42,-68,-42v-49,0,-64,16,-69,49xm60,-215r0,-38r17,0r0,38r-17,0xm137,-215r0,-38r16,0r0,38r-16,0","w":213},"\u00e0":{"d":"86,-9v50,1,97,-27,85,-94v-32,26,-146,-9,-145,53v0,37,38,41,60,41xm34,-127r-16,0v6,-46,29,-63,85,-63v54,0,85,13,85,54r0,103v-4,23,12,25,28,19r0,15v-5,2,-12,3,-20,3v-24,1,-20,-20,-23,-41v-21,38,-64,43,-88,43v-16,0,-76,0,-76,-56v1,-61,78,-53,134,-58v19,-2,28,-3,28,-26v0,-25,-14,-42,-68,-42v-49,0,-64,16,-69,49xm114,-213r-56,-52r20,0r52,52r-16,0","w":213},"\u00e5":{"d":"67,-244v0,-22,18,-40,40,-40v22,0,40,18,40,40v0,22,-18,40,-40,40v-22,0,-40,-18,-40,-40xm80,-244v0,15,12,27,27,27v15,0,27,-12,27,-27v0,-15,-12,-27,-27,-27v-15,0,-27,12,-27,27xm86,-9v50,1,97,-27,85,-94v-32,26,-146,-9,-145,53v0,37,38,41,60,41xm34,-127r-16,0v6,-46,29,-63,85,-63v54,0,85,13,85,54r0,103v-4,23,12,25,28,19r0,15v-5,2,-12,3,-20,3v-24,1,-20,-20,-23,-41v-21,38,-64,43,-88,43v-16,0,-76,0,-76,-56v1,-61,78,-53,134,-58v19,-2,28,-3,28,-26v0,-25,-14,-42,-68,-42v-49,0,-64,16,-69,49","w":213},"\u00e3":{"d":"139,-222v-30,0,-70,-41,-82,0r-13,0v2,-15,15,-31,34,-31v27,0,71,40,79,0r13,0v-3,15,-12,31,-31,31xm86,-9v50,1,97,-27,85,-94v-32,26,-146,-9,-145,53v0,37,38,41,60,41xm34,-127r-16,0v6,-46,29,-63,85,-63v54,0,85,13,85,54r0,103v-4,23,12,25,28,19r0,15v-5,2,-12,3,-20,3v-24,1,-20,-20,-23,-41v-21,38,-64,43,-88,43v-16,0,-76,0,-76,-56v1,-61,78,-53,134,-58v19,-2,28,-3,28,-26v0,-25,-14,-42,-68,-42v-49,0,-64,16,-69,49","w":213},"\u00e9":{"d":"214,-89r-188,0v1,46,33,80,88,80v57,0,72,-35,78,-52r17,0v-15,46,-48,67,-97,67v-63,0,-103,-39,-103,-100v0,-39,25,-96,103,-96v64,0,101,42,102,101xm26,-103r169,0v-7,-50,-42,-73,-84,-73v-48,0,-78,29,-85,73xm138,-265r21,0r-56,52r-17,0","w":219},"\u00ea":{"d":"176,-213r-19,0r-47,-42r-47,42r-19,0r56,-52r20,0xm214,-89r-188,0v1,46,33,80,88,80v57,0,72,-35,78,-52r17,0v-15,46,-48,67,-97,67v-63,0,-103,-39,-103,-100v0,-39,25,-96,103,-96v64,0,101,42,102,101xm26,-103r169,0v-7,-50,-42,-73,-84,-73v-48,0,-78,29,-85,73","w":219},"\u00eb":{"d":"214,-89r-188,0v1,46,33,80,88,80v57,0,72,-35,78,-52r17,0v-15,46,-48,67,-97,67v-63,0,-103,-39,-103,-100v0,-39,25,-96,103,-96v64,0,101,42,102,101xm26,-103r169,0v-7,-50,-42,-73,-84,-73v-48,0,-78,29,-85,73xm63,-215r0,-38r17,0r0,38r-17,0xm140,-215r0,-38r16,0r0,38r-16,0","w":219},"\u00e8":{"d":"214,-89r-188,0v1,46,33,80,88,80v57,0,72,-35,78,-52r17,0v-15,46,-48,67,-97,67v-63,0,-103,-39,-103,-100v0,-39,25,-96,103,-96v64,0,101,42,102,101xm26,-103r169,0v-7,-50,-42,-73,-84,-73v-48,0,-78,29,-85,73xm117,-213r-56,-52r20,0r52,52r-16,0","w":219},"\u00ed":{"d":"22,0r0,-184r16,0r0,184r-16,0xm58,-265r21,0r-56,52r-17,0","w":59},"\u00ee":{"d":"96,-213r-19,0r-47,-42r-47,42r-19,0r56,-52r20,0xm22,0r0,-184r16,0r0,184r-16,0","w":59},"\u00ef":{"d":"22,0r0,-184r16,0r0,184r-16,0xm-17,-215r0,-38r17,0r0,38r-17,0xm60,-215r0,-38r16,0r0,38r-16,0","w":59},"\u00ec":{"d":"22,0r0,-184r16,0r0,184r-16,0xm37,-213r-56,-52r20,0r52,52r-16,0","w":59},"\u00f1":{"d":"142,-222v-30,0,-70,-41,-82,0r-12,0v2,-15,14,-31,33,-31v27,0,72,39,80,0r12,0v-3,15,-12,31,-31,31xm20,0r0,-184r17,0r0,36v12,-22,36,-42,78,-42v85,0,85,54,85,76r0,114r-17,0v-8,-80,32,-178,-68,-176v-100,2,-75,89,-78,176r-17,0","w":219},"\u00f3":{"d":"113,-176v-116,0,-116,167,0,167v58,0,88,-41,88,-83v0,-42,-30,-84,-88,-84xm9,-92v0,-52,38,-98,104,-98v66,0,104,46,104,98v0,52,-38,98,-104,98v-66,0,-104,-46,-104,-98xm142,-265r21,0r-56,52r-17,0","w":226},"\u00f4":{"d":"179,-213r-19,0r-47,-42r-46,42r-19,0r55,-52r20,0xm113,-176v-116,0,-116,167,0,167v58,0,88,-41,88,-83v0,-42,-30,-84,-88,-84xm9,-92v0,-52,38,-98,104,-98v66,0,104,46,104,98v0,52,-38,98,-104,98v-66,0,-104,-46,-104,-98","w":226},"\u00f6":{"d":"113,-176v-116,0,-116,167,0,167v58,0,88,-41,88,-83v0,-42,-30,-84,-88,-84xm9,-92v0,-52,38,-98,104,-98v66,0,104,46,104,98v0,52,-38,98,-104,98v-66,0,-104,-46,-104,-98xm67,-215r0,-38r17,0r0,38r-17,0xm144,-215r0,-38r16,0r0,38r-16,0","w":226},"\u00f2":{"d":"113,-176v-116,0,-116,167,0,167v58,0,88,-41,88,-83v0,-42,-30,-84,-88,-84xm9,-92v0,-52,38,-98,104,-98v66,0,104,46,104,98v0,52,-38,98,-104,98v-66,0,-104,-46,-104,-98xm121,-213r-56,-52r20,0r52,52r-16,0","w":226},"\u00f5":{"d":"145,-222v-30,0,-70,-41,-82,0r-12,0v2,-15,15,-31,34,-31v27,1,71,39,79,0r12,0v-3,15,-12,31,-31,31xm113,-176v-116,0,-116,167,0,167v58,0,88,-41,88,-83v0,-42,-30,-84,-88,-84xm9,-92v0,-52,38,-98,104,-98v66,0,104,46,104,98v0,52,-38,98,-104,98v-66,0,-104,-46,-104,-98","w":226},"\u00fa":{"d":"200,-184r0,184r-17,0r0,-37v-12,22,-36,43,-78,43v-85,0,-85,-55,-85,-77r0,-113r17,0v8,80,-32,178,68,175v99,-2,76,-88,78,-175r17,0xm138,-265r21,0r-56,52r-17,0","w":219},"\u00fb":{"d":"176,-213r-19,0r-47,-42r-47,42r-19,0r56,-52r20,0xm200,-184r0,184r-17,0r0,-37v-12,22,-36,43,-78,43v-85,0,-85,-55,-85,-77r0,-113r17,0v8,80,-32,178,68,175v99,-2,76,-88,78,-175r17,0","w":219},"\u00fc":{"d":"200,-184r0,184r-17,0r0,-37v-12,22,-36,43,-78,43v-85,0,-85,-55,-85,-77r0,-113r17,0v8,80,-32,178,68,175v99,-2,76,-88,78,-175r17,0xm63,-215r0,-38r17,0r0,38r-17,0xm140,-215r0,-38r16,0r0,38r-16,0","w":219},"\u00f9":{"d":"200,-184r0,184r-17,0r0,-37v-12,22,-36,43,-78,43v-85,0,-85,-55,-85,-77r0,-113r17,0v8,80,-32,178,68,175v99,-2,76,-88,78,-175r17,0xm117,-213r-56,-52r20,0r52,52r-16,0","w":219},"\u00fd":{"d":"89,0r-94,-184r19,0r83,166r76,-166r19,0r-102,216v-9,27,-31,38,-71,34r0,-14v44,9,53,-20,70,-52xm122,-265r21,0r-56,52r-17,0","w":186},"\u00ff":{"d":"89,0r-94,-184r19,0r83,166r76,-166r19,0r-102,216v-9,27,-31,38,-71,34r0,-14v44,9,53,-20,70,-52xm47,-215r0,-38r17,0r0,38r-17,0xm124,-215r0,-38r16,0r0,38r-16,0","w":186},"\u00a0":{"w":79}}});
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(){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);
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)}}}
var map=new Array();var lLat=new Array();var lLng=new Array();function GoogleMap(oObject){this.sMap='';this.lLat=-1;this.lLng=-1;this.lZoom=10;this.sKunde='';this.sKundeStrasse='';this.sKundeAdresse='';this.sKundeTel='';this.sKundeFax='';this.sUnbekannteAdresse='';this.sAnfragenichtbearbeitet='';this.sStartpunkt='';this.sKeyungultig='';this.sunbekannterFehler='';this.sDirectionsStrasse='';this.sDirectionsPLZ='';this.sDirectionsOrt='';this.sZwischenpunkt='';this.bShowSmallMapControl=true;this.bShowTypeControl=true;var sMap='';var gdir=null;var lZoom=10;var sKunde='';var sKundeStrasse='';var sKundeAdresse='';var sKundeTel='';var sKundeFax='';var sUnbekannteAdresse='';var sAnfragenichtbearbeitet='';var sStartpunkt='';var sKeyungultig='';var sunbekannterFehler='';var bShowTypeControl=true;var bShowSmallMapControl=true;GoogleMap.prototype.load=function(){if(GBrowserIsCompatible()){map[oObject]=new GMap2(document.getElementById(sMap));map[oObject].setCenter(new GLatLng(lLat[oObject],lLng[oObject]),lZoom);if(bShowSmallMapControl){map[oObject].addControl(new GSmallMapControl())}if(bShowTypeControl){map[oObject].addControl(new GMapTypeControl())}map[oObject].setMapType(G_NORMAL_MAP);function createMarker(point,number){var marker=new GMarker(point);GEvent.addListener(marker,"click",function(){marker.openInfoWindowHtml("<div style=\"width:290px;\"><div style=\"float:left; color: #232323;\"><strong>"+sKunde+"</strong><br />"+sKundeStrasse+"<br />"+sKundeAdresse+"<br/><br/>"+sKundeTel+"<br/>"+sKundeFax+"<br /><br /></div></div>")});return marker};var bounds=map[oObject].getBounds();var southWest=bounds.getSouthWest();var northEast=bounds.getNorthEast();var point=new GLatLng(lLat[oObject],lLng[oObject]);map[oObject].addOverlay(createMarker(point,1))}};GoogleMap.prototype.setDirections=function(oObject,fromStreet,fromZip,fromCity,fromCountry,locale,sDirections){document.getElementById(sDirections).innerHTML='';if(fromStreet!=this.sDirectionsStrasse){fromStreet+=','}else{fromStreet=''}if(fromZip!=this.sDirectionsPLZ){fromZip+=','}else{fromZip=''}if(fromCity!=this.sDirectionsOrt){fromCity+=','}else{fromCity=''}fromAddress=fromStreet+" "+fromZip+" "+fromCity+" "+fromCountry;gdir=new GDirections(map[oObject],document.getElementById(sDirections));GEvent.addListener(gdir,"load",onGDirectionsLoad);GEvent.addListener(gdir,"error",this.handleErrors);if(this.sZwischenpunkt!=''){gdir.load("from: "+fromAddress+" to: "+this.sZwischenpunkt+" to: "+lLat[oObject]+", "+lLng[oObject],{"locale":locale})}else{gdir.load("from: "+fromAddress+"  to: "+lLat[oObject]+", "+lLng[oObject],{"locale":locale})}document.getElementById(sDirections).style.display='block'};GoogleMap.prototype.handleErrors=function(){if(gdir.getStatus().code==G_GEO_UNKNOWN_ADDRESS){alert(sUnbekannteAdresse)}else if(gdir.getStatus().code==G_GEO_SERVER_ERROR){alert(sAnfragenichtbearbeitet)}else if(gdir.getStatus().code==G_GEO_MISSING_QUERY){alert(sStartpunkt)}else if(gdir.getStatus().code==G_GEO_BAD_KEY){alert(sKeyungultig)}else if(gdir.getStatus().code==G_GEO_BAD_REQUEST){alert(sAnfragenichtbearbeitet)}else{alert(sunbekannterFehler)}};function onGDirectionsLoad(){};GoogleMap.prototype.init=function(){sMap=this.sMap;lLat[oObject]=this.lLat;lLng[oObject]=this.lLng;lZoom=this.lZoom;sKunde=this.sKunde;sKundeStrasse=this.sKundeStrasse;sKundeAdresse=this.sKundeAdresse;sKundeTel=this.sKundeTel;sKundeFax=this.sKundeFax;sUnbekannteAdresse=this.sUnbekannteAdresse;sAnfragenichtbearbeitet=this.sAnfragenichtbearbeitet;sStartpunkt=this.sStartpunkt;sKeyungultig=this.sKeyungultig;sunbekannterFehler=this.sunbekannterFehler;bShowTypeControl=this.bShowTypeControl;bShowSmallMapControl=this.bShowSmallMapControl;if(window.addEventListener){window.addEventListener("load",this.load,false);window.addEventListener("unload",GUnload,false)}else if(window.attachEvent){window.attachEvent("onload",this.load);window.attachEvent("onunload",GUnload)}}}

