//MooTools, <http://mootools.net>, My Object Oriented (JavaScript) Tools. Copyright (c) 2006-2009 Valerio Proietti, <http://mad4milk.net>, MIT Style License.
var MooTools={version:"1.2.4",build:"0d9113241a90b9cd5643b926795852a2026710d4"};var Native=function(k){k=k||{};var a=k.name;var i=k.legacy;var b=k.protect;
var c=k.implement;var h=k.generics;var f=k.initialize;var g=k.afterImplement||function(){};var d=f||i;h=h!==false;d.constructor=Native;d.$family={name:"native"};
if(i&&f){d.prototype=i.prototype;}d.prototype.constructor=d;if(a){var e=a.toLowerCase();d.prototype.$family={name:e};Native.typize(d,e);}var j=function(n,l,o,m){if(!b||m||!n.prototype[l]){n.prototype[l]=o;
}if(h){Native.genericize(n,l,b);}g.call(n,l,o);return n;};d.alias=function(n,l,p){if(typeof n=="string"){var o=this.prototype[n];if((n=o)){return j(this,l,n,p);
}}for(var m in n){this.alias(m,n[m],l);}return this;};d.implement=function(m,l,o){if(typeof m=="string"){return j(this,m,l,o);}for(var n in m){j(this,n,m[n],l);
}return this;};if(c){d.implement(c);}return d;};Native.genericize=function(b,c,a){if((!a||!b[c])&&typeof b.prototype[c]=="function"){b[c]=function(){var d=Array.prototype.slice.call(arguments);
return b.prototype[c].apply(d.shift(),d);};}};Native.implement=function(d,c){for(var b=0,a=d.length;b<a;b++){d[b].implement(c);}};Native.typize=function(a,b){if(!a.type){a.type=function(c){return($type(c)===b);
};}};(function(){var a={Array:Array,Date:Date,Function:Function,Number:Number,RegExp:RegExp,String:String};for(var h in a){new Native({name:h,initialize:a[h],protect:true});
}var d={"boolean":Boolean,"native":Native,object:Object};for(var c in d){Native.typize(d[c],c);}var f={Array:["concat","indexOf","join","lastIndexOf","pop","push","reverse","shift","slice","sort","splice","toString","unshift","valueOf"],String:["charAt","charCodeAt","concat","indexOf","lastIndexOf","match","replace","search","slice","split","substr","substring","toLowerCase","toUpperCase","valueOf"]};
for(var e in f){for(var b=f[e].length;b--;){Native.genericize(a[e],f[e][b],true);}}})();var Hash=new Native({name:"Hash",initialize:function(a){if($type(a)=="hash"){a=$unlink(a.getClean());
}for(var b in a){this[b]=a[b];}return this;}});Hash.implement({forEach:function(b,c){for(var a in this){if(this.hasOwnProperty(a)){b.call(c,this[a],a,this);
}}},getClean:function(){var b={};for(var a in this){if(this.hasOwnProperty(a)){b[a]=this[a];}}return b;},getLength:function(){var b=0;for(var a in this){if(this.hasOwnProperty(a)){b++;
}}return b;}});Hash.alias("forEach","each");Array.implement({forEach:function(c,d){for(var b=0,a=this.length;b<a;b++){c.call(d,this[b],b,this);}}});Array.alias("forEach","each");
function $A(b){if(b.item){var a=b.length,c=new Array(a);while(a--){c[a]=b[a];}return c;}return Array.prototype.slice.call(b);}function $arguments(a){return function(){return arguments[a];
};}function $chk(a){return !!(a||a===0);}function $clear(a){clearTimeout(a);clearInterval(a);return null;}function $defined(a){return(a!=undefined);}function $each(c,b,d){var a=$type(c);
((a=="arguments"||a=="collection"||a=="array")?Array:Hash).each(c,b,d);}function $empty(){}function $extend(c,a){for(var b in (a||{})){c[b]=a[b];}return c;
}function $H(a){return new Hash(a);}function $lambda(a){return($type(a)=="function")?a:function(){return a;};}function $merge(){var a=Array.slice(arguments);
a.unshift({});return $mixin.apply(null,a);}function $mixin(e){for(var d=1,a=arguments.length;d<a;d++){var b=arguments[d];if($type(b)!="object"){continue;
}for(var c in b){var g=b[c],f=e[c];e[c]=(f&&$type(g)=="object"&&$type(f)=="object")?$mixin(f,g):$unlink(g);}}return e;}function $pick(){for(var b=0,a=arguments.length;
b<a;b++){if(arguments[b]!=undefined){return arguments[b];}}return null;}function $random(b,a){return Math.floor(Math.random()*(a-b+1)+b);}function $splat(b){var a=$type(b);
return(a)?((a!="array"&&a!="arguments")?[b]:b):[];}var $time=Date.now||function(){return +new Date;};function $try(){for(var b=0,a=arguments.length;b<a;
b++){try{return arguments[b]();}catch(c){}}return null;}function $type(a){if(a==undefined){return false;}if(a.$family){return(a.$family.name=="number"&&!isFinite(a))?false:a.$family.name;
}if(a.nodeName){switch(a.nodeType){case 1:return"element";case 3:return(/\S/).test(a.nodeValue)?"textnode":"whitespace";}}else{if(typeof a.length=="number"){if(a.callee){return"arguments";
}else{if(a.item){return"collection";}}}}return typeof a;}function $unlink(c){var b;switch($type(c)){case"object":b={};for(var e in c){b[e]=$unlink(c[e]);
}break;case"hash":b=new Hash(c);break;case"array":b=[];for(var d=0,a=c.length;d<a;d++){b[d]=$unlink(c[d]);}break;default:return c;}return b;}var Browser=$merge({Engine:{name:"unknown",version:0},Platform:{name:(window.orientation!=undefined)?"ipod":(navigator.platform.match(/mac|win|linux/i)||["other"])[0].toLowerCase()},Features:{xpath:!!(document.evaluate),air:!!(window.runtime),query:!!(document.querySelector)},Plugins:{},Engines:{presto:function(){return(!window.opera)?false:((arguments.callee.caller)?960:((document.getElementsByClassName)?950:925));
},trident:function(){return(!window.ActiveXObject)?false:((window.XMLHttpRequest)?((document.querySelectorAll)?6:5):4);},webkit:function(){return(navigator.taintEnabled)?false:((Browser.Features.xpath)?((Browser.Features.query)?525:420):419);
},gecko:function(){return(!document.getBoxObjectFor&&window.mozInnerScreenX==null)?false:((document.getElementsByClassName)?19:18);}}},Browser||{});Browser.Platform[Browser.Platform.name]=true;
Browser.detect=function(){for(var b in this.Engines){var a=this.Engines[b]();if(a){this.Engine={name:b,version:a};this.Engine[b]=this.Engine[b+a]=true;
break;}}return{name:b,version:a};};Browser.detect();Browser.Request=function(){return $try(function(){return new XMLHttpRequest();},function(){return new ActiveXObject("MSXML2.XMLHTTP");
},function(){return new ActiveXObject("Microsoft.XMLHTTP");});};Browser.Features.xhr=!!(Browser.Request());Browser.Plugins.Flash=(function(){var a=($try(function(){return navigator.plugins["Shockwave Flash"].description;
},function(){return new ActiveXObject("ShockwaveFlash.ShockwaveFlash").GetVariable("$version");})||"0 r0").match(/\d+/g);return{version:parseInt(a[0]||0+"."+a[1],10)||0,build:parseInt(a[2],10)||0};
})();function $exec(b){if(!b){return b;}if(window.execScript){window.execScript(b);}else{var a=document.createElement("script");a.setAttribute("type","text/javascript");
a[(Browser.Engine.webkit&&Browser.Engine.version<420)?"innerText":"text"]=b;document.head.appendChild(a);document.head.removeChild(a);}return b;}Native.UID=1;
var $uid=(Browser.Engine.trident)?function(a){return(a.uid||(a.uid=[Native.UID++]))[0];}:function(a){return a.uid||(a.uid=Native.UID++);};var Window=new Native({name:"Window",legacy:(Browser.Engine.trident)?null:window.Window,initialize:function(a){$uid(a);
if(!a.Element){a.Element=$empty;if(Browser.Engine.webkit){a.document.createElement("iframe");}a.Element.prototype=(Browser.Engine.webkit)?window["[[DOMElement.prototype]]"]:{};
}a.document.window=a;return $extend(a,Window.Prototype);},afterImplement:function(b,a){window[b]=Window.Prototype[b]=a;}});Window.Prototype={$family:{name:"window"}};
new Window(window);var Document=new Native({name:"Document",legacy:(Browser.Engine.trident)?null:window.Document,initialize:function(a){$uid(a);a.head=a.getElementsByTagName("head")[0];
a.html=a.getElementsByTagName("html")[0];if(Browser.Engine.trident&&Browser.Engine.version<=4){$try(function(){a.execCommand("BackgroundImageCache",false,true);
});}if(Browser.Engine.trident){a.window.attachEvent("onunload",function(){a.window.detachEvent("onunload",arguments.callee);a.head=a.html=a.window=null;
});}return $extend(a,Document.Prototype);},afterImplement:function(b,a){document[b]=Document.Prototype[b]=a;}});Document.Prototype={$family:{name:"document"}};
new Document(document);Array.implement({every:function(c,d){for(var b=0,a=this.length;b<a;b++){if(!c.call(d,this[b],b,this)){return false;}}return true;
},filter:function(d,e){var c=[];for(var b=0,a=this.length;b<a;b++){if(d.call(e,this[b],b,this)){c.push(this[b]);}}return c;},clean:function(){return this.filter($defined);
},indexOf:function(c,d){var a=this.length;for(var b=(d<0)?Math.max(0,a+d):d||0;b<a;b++){if(this[b]===c){return b;}}return -1;},map:function(d,e){var c=[];
for(var b=0,a=this.length;b<a;b++){c[b]=d.call(e,this[b],b,this);}return c;},some:function(c,d){for(var b=0,a=this.length;b<a;b++){if(c.call(d,this[b],b,this)){return true;
}}return false;},associate:function(c){var d={},b=Math.min(this.length,c.length);for(var a=0;a<b;a++){d[c[a]]=this[a];}return d;},link:function(c){var a={};
for(var e=0,b=this.length;e<b;e++){for(var d in c){if(c[d](this[e])){a[d]=this[e];delete c[d];break;}}}return a;},contains:function(a,b){return this.indexOf(a,b)!=-1;
},extend:function(c){for(var b=0,a=c.length;b<a;b++){this.push(c[b]);}return this;},getLast:function(){return(this.length)?this[this.length-1]:null;},getRandom:function(){return(this.length)?this[$random(0,this.length-1)]:null;
},include:function(a){if(!this.contains(a)){this.push(a);}return this;},combine:function(c){for(var b=0,a=c.length;b<a;b++){this.include(c[b]);}return this;
},erase:function(b){for(var a=this.length;a--;a){if(this[a]===b){this.splice(a,1);}}return this;},empty:function(){this.length=0;return this;},flatten:function(){var d=[];
for(var b=0,a=this.length;b<a;b++){var c=$type(this[b]);if(!c){continue;}d=d.concat((c=="array"||c=="collection"||c=="arguments")?Array.flatten(this[b]):this[b]);
}return d;},hexToRgb:function(b){if(this.length!=3){return null;}var a=this.map(function(c){if(c.length==1){c+=c;}return c.toInt(16);});return(b)?a:"rgb("+a+")";
},rgbToHex:function(d){if(this.length<3){return null;}if(this.length==4&&this[3]==0&&!d){return"transparent";}var b=[];for(var a=0;a<3;a++){var c=(this[a]-0).toString(16);
b.push((c.length==1)?"0"+c:c);}return(d)?b:"#"+b.join("");}});Function.implement({extend:function(a){for(var b in a){this[b]=a[b];}return this;},create:function(b){var a=this;
b=b||{};return function(d){var c=b.arguments;c=(c!=undefined)?$splat(c):Array.slice(arguments,(b.event)?1:0);if(b.event){c=[d||window.event].extend(c);
}var e=function(){return a.apply(b.bind||null,c);};if(b.delay){return setTimeout(e,b.delay);}if(b.periodical){return setInterval(e,b.periodical);}if(b.attempt){return $try(e);
}return e();};},run:function(a,b){return this.apply(b,$splat(a));},pass:function(a,b){return this.create({bind:b,arguments:a});},bind:function(b,a){return this.create({bind:b,arguments:a});
},bindWithEvent:function(b,a){return this.create({bind:b,arguments:a,event:true});},attempt:function(a,b){return this.create({bind:b,arguments:a,attempt:true})();
},delay:function(b,c,a){return this.create({bind:c,arguments:a,delay:b})();},periodical:function(c,b,a){return this.create({bind:b,arguments:a,periodical:c})();
}});Number.implement({limit:function(b,a){return Math.min(a,Math.max(b,this));},round:function(a){a=Math.pow(10,a||0);return Math.round(this*a)/a;},times:function(b,c){for(var a=0;
a<this;a++){b.call(c,a,this);}},toFloat:function(){return parseFloat(this);},toInt:function(a){return parseInt(this,a||10);}});Number.alias("times","each");
(function(b){var a={};b.each(function(c){if(!Number[c]){a[c]=function(){return Math[c].apply(null,[this].concat($A(arguments)));};}});Number.implement(a);
})(["abs","acos","asin","atan","atan2","ceil","cos","exp","floor","log","max","min","pow","sin","sqrt","tan"]);String.implement({test:function(a,b){return((typeof a=="string")?new RegExp(a,b):a).test(this);
},contains:function(a,b){return(b)?(b+this+b).indexOf(b+a+b)>-1:this.indexOf(a)>-1;},trim:function(){return this.replace(/^\s+|\s+$/g,"");},clean:function(){return this.replace(/\s+/g," ").trim();
},camelCase:function(){return this.replace(/-\D/g,function(a){return a.charAt(1).toUpperCase();});},hyphenate:function(){return this.replace(/[A-Z]/g,function(a){return("-"+a.charAt(0).toLowerCase());
});},capitalize:function(){return this.replace(/\b[a-z]/g,function(a){return a.toUpperCase();});},escapeRegExp:function(){return this.replace(/([-.*+?^${}()|[\]\/\\])/g,"\\$1");
},toInt:function(a){return parseInt(this,a||10);},toFloat:function(){return parseFloat(this);},hexToRgb:function(b){var a=this.match(/^#?(\w{1,2})(\w{1,2})(\w{1,2})$/);
return(a)?a.slice(1).hexToRgb(b):null;},rgbToHex:function(b){var a=this.match(/\d{1,3}/g);return(a)?a.rgbToHex(b):null;},stripScripts:function(b){var a="";
var c=this.replace(/<script[^>]*>([\s\S]*?)<\/script>/gi,function(){a+=arguments[1]+"\n";return"";});if(b===true){$exec(a);}else{if($type(b)=="function"){b(a,c);
}}return c;},substitute:function(a,b){return this.replace(b||(/\\?\{([^{}]+)\}/g),function(d,c){if(d.charAt(0)=="\\"){return d.slice(1);}return(a[c]!=undefined)?a[c]:"";
});}});Hash.implement({has:Object.prototype.hasOwnProperty,keyOf:function(b){for(var a in this){if(this.hasOwnProperty(a)&&this[a]===b){return a;}}return null;
},hasValue:function(a){return(Hash.keyOf(this,a)!==null);},extend:function(a){Hash.each(a||{},function(c,b){Hash.set(this,b,c);},this);return this;},combine:function(a){Hash.each(a||{},function(c,b){Hash.include(this,b,c);
},this);return this;},erase:function(a){if(this.hasOwnProperty(a)){delete this[a];}return this;},get:function(a){return(this.hasOwnProperty(a))?this[a]:null;
},set:function(a,b){if(!this[a]||this.hasOwnProperty(a)){this[a]=b;}return this;},empty:function(){Hash.each(this,function(b,a){delete this[a];},this);
return this;},include:function(a,b){if(this[a]==undefined){this[a]=b;}return this;},map:function(b,c){var a=new Hash;Hash.each(this,function(e,d){a.set(d,b.call(c,e,d,this));
},this);return a;},filter:function(b,c){var a=new Hash;Hash.each(this,function(e,d){if(b.call(c,e,d,this)){a.set(d,e);}},this);return a;},every:function(b,c){for(var a in this){if(this.hasOwnProperty(a)&&!b.call(c,this[a],a)){return false;
}}return true;},some:function(b,c){for(var a in this){if(this.hasOwnProperty(a)&&b.call(c,this[a],a)){return true;}}return false;},getKeys:function(){var a=[];
Hash.each(this,function(c,b){a.push(b);});return a;},getValues:function(){var a=[];Hash.each(this,function(b){a.push(b);});return a;},toQueryString:function(a){var b=[];
Hash.each(this,function(f,e){if(a){e=a+"["+e+"]";}var d;switch($type(f)){case"object":d=Hash.toQueryString(f,e);break;case"array":var c={};f.each(function(h,g){c[g]=h;
});d=Hash.toQueryString(c,e);break;default:d=e+"="+encodeURIComponent(f);}if(f!=undefined){b.push(d);}});return b.join("&");}});Hash.alias({keyOf:"indexOf",hasValue:"contains"});
var Event=new Native({name:"Event",initialize:function(a,f){f=f||window;var k=f.document;a=a||f.event;if(a.$extended){return a;}this.$extended=true;var j=a.type;
var g=a.target||a.srcElement;while(g&&g.nodeType==3){g=g.parentNode;}if(j.test(/key/)){var b=a.which||a.keyCode;var m=Event.Keys.keyOf(b);if(j=="keydown"){var d=b-111;
if(d>0&&d<13){m="f"+d;}}m=m||String.fromCharCode(b).toLowerCase();}else{if(j.match(/(click|mouse|menu)/i)){k=(!k.compatMode||k.compatMode=="CSS1Compat")?k.html:k.body;
var i={x:a.pageX||a.clientX+k.scrollLeft,y:a.pageY||a.clientY+k.scrollTop};var c={x:(a.pageX)?a.pageX-f.pageXOffset:a.clientX,y:(a.pageY)?a.pageY-f.pageYOffset:a.clientY};
if(j.match(/DOMMouseScroll|mousewheel/)){var h=(a.wheelDelta)?a.wheelDelta/120:-(a.detail||0)/3;}var e=(a.which==3)||(a.button==2);var l=null;if(j.match(/over|out/)){switch(j){case"mouseover":l=a.relatedTarget||a.fromElement;
break;case"mouseout":l=a.relatedTarget||a.toElement;}if(!(function(){while(l&&l.nodeType==3){l=l.parentNode;}return true;}).create({attempt:Browser.Engine.gecko})()){l=false;
}}}}return $extend(this,{event:a,type:j,page:i,client:c,rightClick:e,wheel:h,relatedTarget:l,target:g,code:b,key:m,shift:a.shiftKey,control:a.ctrlKey,alt:a.altKey,meta:a.metaKey});
}});Event.Keys=new Hash({enter:13,up:38,down:40,left:37,right:39,esc:27,space:32,backspace:8,tab:9,"delete":46});Event.implement({stop:function(){return this.stopPropagation().preventDefault();
},stopPropagation:function(){if(this.event.stopPropagation){this.event.stopPropagation();}else{this.event.cancelBubble=true;}return this;},preventDefault:function(){if(this.event.preventDefault){this.event.preventDefault();
}else{this.event.returnValue=false;}return this;}});function Class(b){if(b instanceof Function){b={initialize:b};}var a=function(){Object.reset(this);if(a._prototyping){return this;
}this._current=$empty;var c=(this.initialize)?this.initialize.apply(this,arguments):this;delete this._current;delete this.caller;return c;}.extend(this);
a.implement(b);a.constructor=Class;a.prototype.constructor=a;return a;}Function.prototype.protect=function(){this._protected=true;return this;};Object.reset=function(a,c){if(c==null){for(var e in a){Object.reset(a,e);
}return a;}delete a[c];switch($type(a[c])){case"object":var d=function(){};d.prototype=a[c];var b=new d;a[c]=Object.reset(b);break;case"array":a[c]=$unlink(a[c]);
break;}return a;};new Native({name:"Class",initialize:Class}).extend({instantiate:function(b){b._prototyping=true;var a=new b;delete b._prototyping;return a;
},wrap:function(a,b,c){if(c._origin){c=c._origin;}return function(){if(c._protected&&this._current==null){throw new Error('The method "'+b+'" cannot be called.');
}var e=this.caller,f=this._current;this.caller=f;this._current=arguments.callee;var d=c.apply(this,arguments);this._current=f;this.caller=e;return d;}.extend({_owner:a,_origin:c,_name:b});
}});Class.implement({implement:function(a,d){if($type(a)=="object"){for(var e in a){this.implement(e,a[e]);}return this;}var f=Class.Mutators[a];if(f){d=f.call(this,d);
if(d==null){return this;}}var c=this.prototype;switch($type(d)){case"function":if(d._hidden){return this;}c[a]=Class.wrap(this,a,d);break;case"object":var b=c[a];
if($type(b)=="object"){$mixin(b,d);}else{c[a]=$unlink(d);}break;case"array":c[a]=$unlink(d);break;default:c[a]=d;}return this;}});Class.Mutators={Extends:function(a){this.parent=a;
this.prototype=Class.instantiate(a);this.implement("parent",function(){var b=this.caller._name,c=this.caller._owner.parent.prototype[b];if(!c){throw new Error('The method "'+b+'" has no parent.');
}return c.apply(this,arguments);}.protect());},Implements:function(a){$splat(a).each(function(b){if(b instanceof Function){b=Class.instantiate(b);}this.implement(b);
},this);}};var Chain=new Class({$chain:[],chain:function(){this.$chain.extend(Array.flatten(arguments));return this;},callChain:function(){return(this.$chain.length)?this.$chain.shift().apply(this,arguments):false;
},clearChain:function(){this.$chain.empty();return this;}});var Events=new Class({$events:{},addEvent:function(c,b,a){c=Events.removeOn(c);if(b!=$empty){this.$events[c]=this.$events[c]||[];
this.$events[c].include(b);if(a){b.internal=true;}}return this;},addEvents:function(a){for(var b in a){this.addEvent(b,a[b]);}return this;},fireEvent:function(c,b,a){c=Events.removeOn(c);
if(!this.$events||!this.$events[c]){return this;}this.$events[c].each(function(d){d.create({bind:this,delay:a,"arguments":b})();},this);return this;},removeEvent:function(b,a){b=Events.removeOn(b);
if(!this.$events[b]){return this;}if(!a.internal){this.$events[b].erase(a);}return this;},removeEvents:function(c){var d;if($type(c)=="object"){for(d in c){this.removeEvent(d,c[d]);
}return this;}if(c){c=Events.removeOn(c);}for(d in this.$events){if(c&&c!=d){continue;}var b=this.$events[d];for(var a=b.length;a--;a){this.removeEvent(d,b[a]);
}}return this;}});Events.removeOn=function(a){return a.replace(/^on([A-Z])/,function(b,c){return c.toLowerCase();});};var Options=new Class({setOptions:function(){this.options=$merge.run([this.options].extend(arguments));
if(!this.addEvent){return this;}for(var a in this.options){if($type(this.options[a])!="function"||!(/^on[A-Z]/).test(a)){continue;}this.addEvent(a,this.options[a]);
delete this.options[a];}return this;}});var Element=new Native({name:"Element",legacy:window.Element,initialize:function(a,b){var c=Element.Constructors.get(a);
if(c){return c(b);}if(typeof a=="string"){return document.newElement(a,b);}return document.id(a).set(b);},afterImplement:function(a,b){Element.Prototype[a]=b;
if(Array[a]){return;}Elements.implement(a,function(){var c=[],g=true;for(var e=0,d=this.length;e<d;e++){var f=this[e][a].apply(this[e],arguments);c.push(f);
if(g){g=($type(f)=="element");}}return(g)?new Elements(c):c;});}});Element.Prototype={$family:{name:"element"}};Element.Constructors=new Hash;var IFrame=new Native({name:"IFrame",generics:false,initialize:function(){var f=Array.link(arguments,{properties:Object.type,iframe:$defined});
var d=f.properties||{};var c=document.id(f.iframe);var e=d.onload||$empty;delete d.onload;d.id=d.name=$pick(d.id,d.name,c?(c.id||c.name):"IFrame_"+$time());
c=new Element(c||"iframe",d);var b=function(){var g=$try(function(){return c.contentWindow.location.host;});if(!g||g==window.location.host){var h=new Window(c.contentWindow);
new Document(c.contentWindow.document);$extend(h.Element.prototype,Element.Prototype);}e.call(c.contentWindow,c.contentWindow.document);};var a=$try(function(){return c.contentWindow;
});((a&&a.document.body)||window.frames[d.id])?b():c.addListener("load",b);return c;}});var Elements=new Native({initialize:function(f,b){b=$extend({ddup:true,cash:true},b);
f=f||[];if(b.ddup||b.cash){var g={},e=[];for(var c=0,a=f.length;c<a;c++){var d=document.id(f[c],!b.cash);if(b.ddup){if(g[d.uid]){continue;}g[d.uid]=true;
}if(d){e.push(d);}}f=e;}return(b.cash)?$extend(f,this):f;}});Elements.implement({filter:function(a,b){if(!a){return this;}return new Elements(Array.filter(this,(typeof a=="string")?function(c){return c.match(a);
}:a,b));}});Document.implement({newElement:function(a,b){if(Browser.Engine.trident&&b){["name","type","checked"].each(function(c){if(!b[c]){return;}a+=" "+c+'="'+b[c]+'"';
if(c!="checked"){delete b[c];}});a="<"+a+">";}return document.id(this.createElement(a)).set(b);},newTextNode:function(a){return this.createTextNode(a);
},getDocument:function(){return this;},getWindow:function(){return this.window;},id:(function(){var a={string:function(d,c,b){d=b.getElementById(d);return(d)?a.element(d,c):null;
},element:function(b,e){$uid(b);if(!e&&!b.$family&&!(/^object|embed$/i).test(b.tagName)){var c=Element.Prototype;for(var d in c){b[d]=c[d];}}return b;},object:function(c,d,b){if(c.toElement){return a.element(c.toElement(b),d);
}return null;}};a.textnode=a.whitespace=a.window=a.document=$arguments(0);return function(c,e,d){if(c&&c.$family&&c.uid){return c;}var b=$type(c);return(a[b])?a[b](c,e,d||document):null;
};})()});if(window.$==null){Window.implement({$:function(a,b){return document.id(a,b,this.document);}});}Window.implement({$$:function(a){if(arguments.length==1&&typeof a=="string"){return this.document.getElements(a);
}var f=[];var c=Array.flatten(arguments);for(var d=0,b=c.length;d<b;d++){var e=c[d];switch($type(e)){case"element":f.push(e);break;case"string":f.extend(this.document.getElements(e,true));
}}return new Elements(f);},getDocument:function(){return this.document;},getWindow:function(){return this;}});Native.implement([Element,Document],{getElement:function(a,b){return document.id(this.getElements(a,true)[0]||null,b);
},getElements:function(a,d){a=a.split(",");var c=[];var b=(a.length>1);a.each(function(e){var f=this.getElementsByTagName(e.trim());(b)?c.extend(f):c=f;
},this);return new Elements(c,{ddup:b,cash:!d});}});(function(){var h={},f={};var i={input:"checked",option:"selected",textarea:(Browser.Engine.webkit&&Browser.Engine.version<420)?"innerHTML":"value"};
var c=function(l){return(f[l]||(f[l]={}));};var g=function(n,l){if(!n){return;}var m=n.uid;if(Browser.Engine.trident){if(n.clearAttributes){var q=l&&n.cloneNode(false);
n.clearAttributes();if(q){n.mergeAttributes(q);}}else{if(n.removeEvents){n.removeEvents();}}if((/object/i).test(n.tagName)){for(var o in n){if(typeof n[o]=="function"){n[o]=$empty;
}}Element.dispose(n);}}if(!m){return;}h[m]=f[m]=null;};var d=function(){Hash.each(h,g);if(Browser.Engine.trident){$A(document.getElementsByTagName("object")).each(g);
}if(window.CollectGarbage){CollectGarbage();}h=f=null;};var j=function(n,l,s,m,p,r){var o=n[s||l];var q=[];while(o){if(o.nodeType==1&&(!m||Element.match(o,m))){if(!p){return document.id(o,r);
}q.push(o);}o=o[l];}return(p)?new Elements(q,{ddup:false,cash:!r}):null;};var e={html:"innerHTML","class":"className","for":"htmlFor",defaultValue:"defaultValue",text:(Browser.Engine.trident||(Browser.Engine.webkit&&Browser.Engine.version<420))?"innerText":"textContent"};
var b=["compact","nowrap","ismap","declare","noshade","checked","disabled","readonly","multiple","selected","noresize","defer"];var k=["value","type","defaultValue","accessKey","cellPadding","cellSpacing","colSpan","frameBorder","maxLength","readOnly","rowSpan","tabIndex","useMap"];
b=b.associate(b);Hash.extend(e,b);Hash.extend(e,k.associate(k.map(String.toLowerCase)));var a={before:function(m,l){if(l.parentNode){l.parentNode.insertBefore(m,l);
}},after:function(m,l){if(!l.parentNode){return;}var n=l.nextSibling;(n)?l.parentNode.insertBefore(m,n):l.parentNode.appendChild(m);},bottom:function(m,l){l.appendChild(m);
},top:function(m,l){var n=l.firstChild;(n)?l.insertBefore(m,n):l.appendChild(m);}};a.inside=a.bottom;Hash.each(a,function(l,m){m=m.capitalize();Element.implement("inject"+m,function(n){l(this,document.id(n,true));
return this;});Element.implement("grab"+m,function(n){l(document.id(n,true),this);return this;});});Element.implement({set:function(o,m){switch($type(o)){case"object":for(var n in o){this.set(n,o[n]);
}break;case"string":var l=Element.Properties.get(o);(l&&l.set)?l.set.apply(this,Array.slice(arguments,1)):this.setProperty(o,m);}return this;},get:function(m){var l=Element.Properties.get(m);
return(l&&l.get)?l.get.apply(this,Array.slice(arguments,1)):this.getProperty(m);},erase:function(m){var l=Element.Properties.get(m);(l&&l.erase)?l.erase.apply(this):this.removeProperty(m);
return this;},setProperty:function(m,n){var l=e[m];if(n==undefined){return this.removeProperty(m);}if(l&&b[m]){n=!!n;}(l)?this[l]=n:this.setAttribute(m,""+n);
return this;},setProperties:function(l){for(var m in l){this.setProperty(m,l[m]);}return this;},getProperty:function(m){var l=e[m];var n=(l)?this[l]:this.getAttribute(m,2);
return(b[m])?!!n:(l)?n:n||null;},getProperties:function(){var l=$A(arguments);return l.map(this.getProperty,this).associate(l);},removeProperty:function(m){var l=e[m];
(l)?this[l]=(l&&b[m])?false:"":this.removeAttribute(m);return this;},removeProperties:function(){Array.each(arguments,this.removeProperty,this);return this;
},hasClass:function(l){return this.className.contains(l," ");},addClass:function(l){if(!this.hasClass(l)){this.className=(this.className+" "+l).clean();
}return this;},removeClass:function(l){this.className=this.className.replace(new RegExp("(^|\\s)"+l+"(?:\\s|$)"),"$1");return this;},toggleClass:function(l){return this.hasClass(l)?this.removeClass(l):this.addClass(l);
},adopt:function(){Array.flatten(arguments).each(function(l){l=document.id(l,true);if(l){this.appendChild(l);}},this);return this;},appendText:function(m,l){return this.grab(this.getDocument().newTextNode(m),l);
},grab:function(m,l){a[l||"bottom"](document.id(m,true),this);return this;},inject:function(m,l){a[l||"bottom"](this,document.id(m,true));return this;},replaces:function(l){l=document.id(l,true);
l.parentNode.replaceChild(this,l);return this;},wraps:function(m,l){m=document.id(m,true);return this.replaces(m).grab(m,l);},getPrevious:function(l,m){return j(this,"previousSibling",null,l,false,m);
},getAllPrevious:function(l,m){return j(this,"previousSibling",null,l,true,m);},getNext:function(l,m){return j(this,"nextSibling",null,l,false,m);},getAllNext:function(l,m){return j(this,"nextSibling",null,l,true,m);
},getFirst:function(l,m){return j(this,"nextSibling","firstChild",l,false,m);},getLast:function(l,m){return j(this,"previousSibling","lastChild",l,false,m);
},getParent:function(l,m){return j(this,"parentNode",null,l,false,m);},getParents:function(l,m){return j(this,"parentNode",null,l,true,m);},getSiblings:function(l,m){return this.getParent().getChildren(l,m).erase(this);
},getChildren:function(l,m){return j(this,"nextSibling","firstChild",l,true,m);},getWindow:function(){return this.ownerDocument.window;},getDocument:function(){return this.ownerDocument;
},getElementById:function(o,n){var m=this.ownerDocument.getElementById(o);if(!m){return null;}for(var l=m.parentNode;l!=this;l=l.parentNode){if(!l){return null;
}}return document.id(m,n);},getSelected:function(){return new Elements($A(this.options).filter(function(l){return l.selected;}));},getComputedStyle:function(m){if(this.currentStyle){return this.currentStyle[m.camelCase()];
}var l=this.getDocument().defaultView.getComputedStyle(this,null);return(l)?l.getPropertyValue([m.hyphenate()]):null;},toQueryString:function(){var l=[];
this.getElements("input, select, textarea",true).each(function(m){if(!m.name||m.disabled||m.type=="submit"||m.type=="reset"||m.type=="file"){return;}var n=(m.tagName.toLowerCase()=="select")?Element.getSelected(m).map(function(o){return o.value;
}):((m.type=="radio"||m.type=="checkbox")&&!m.checked)?null:m.value;$splat(n).each(function(o){if(typeof o!="undefined"){l.push(m.name+"="+encodeURIComponent(o));
}});});return l.join("&");},clone:function(o,l){o=o!==false;var r=this.cloneNode(o);var n=function(v,u){if(!l){v.removeAttribute("id");}if(Browser.Engine.trident){v.clearAttributes();
v.mergeAttributes(u);v.removeAttribute("uid");if(v.options){var w=v.options,s=u.options;for(var t=w.length;t--;){w[t].selected=s[t].selected;}}}var x=i[u.tagName.toLowerCase()];
if(x&&u[x]){v[x]=u[x];}};if(o){var p=r.getElementsByTagName("*"),q=this.getElementsByTagName("*");for(var m=p.length;m--;){n(p[m],q[m]);}}n(r,this);return document.id(r);
},destroy:function(){Element.empty(this);Element.dispose(this);g(this,true);return null;},empty:function(){$A(this.childNodes).each(function(l){Element.destroy(l);
});return this;},dispose:function(){return(this.parentNode)?this.parentNode.removeChild(this):this;},hasChild:function(l){l=document.id(l,true);if(!l){return false;
}if(Browser.Engine.webkit&&Browser.Engine.version<420){return $A(this.getElementsByTagName(l.tagName)).contains(l);}return(this.contains)?(this!=l&&this.contains(l)):!!(this.compareDocumentPosition(l)&16);
},match:function(l){return(!l||(l==this)||(Element.get(this,"tag")==l));}});Native.implement([Element,Window,Document],{addListener:function(o,n){if(o=="unload"){var l=n,m=this;
n=function(){m.removeListener("unload",n);l();};}else{h[this.uid]=this;}if(this.addEventListener){this.addEventListener(o,n,false);}else{this.attachEvent("on"+o,n);
}return this;},removeListener:function(m,l){if(this.removeEventListener){this.removeEventListener(m,l,false);}else{this.detachEvent("on"+m,l);}return this;
},retrieve:function(m,l){var o=c(this.uid),n=o[m];if(l!=undefined&&n==undefined){n=o[m]=l;}return $pick(n);},store:function(m,l){var n=c(this.uid);n[m]=l;
return this;},eliminate:function(l){var m=c(this.uid);delete m[l];return this;}});window.addListener("unload",d);})();Element.Properties=new Hash;Element.Properties.style={set:function(a){this.style.cssText=a;
},get:function(){return this.style.cssText;},erase:function(){this.style.cssText="";}};Element.Properties.tag={get:function(){return this.tagName.toLowerCase();
}};Element.Properties.html=(function(){var c=document.createElement("div");var a={table:[1,"<table>","</table>"],select:[1,"<select>","</select>"],tbody:[2,"<table><tbody>","</tbody></table>"],tr:[3,"<table><tbody><tr>","</tr></tbody></table>"]};
a.thead=a.tfoot=a.tbody;var b={set:function(){var e=Array.flatten(arguments).join("");var f=Browser.Engine.trident&&a[this.get("tag")];if(f){var g=c;g.innerHTML=f[1]+e+f[2];
for(var d=f[0];d--;){g=g.firstChild;}this.empty().adopt(g.childNodes);}else{this.innerHTML=e;}}};b.erase=b.set;return b;})();if(Browser.Engine.webkit&&Browser.Engine.version<420){Element.Properties.text={get:function(){if(this.innerText){return this.innerText;
}var a=this.ownerDocument.newElement("div",{html:this.innerHTML}).inject(this.ownerDocument.body);var b=a.innerText;a.destroy();return b;}};}Element.Properties.events={set:function(a){this.addEvents(a);
}};Native.implement([Element,Window,Document],{addEvent:function(e,g){var h=this.retrieve("events",{});h[e]=h[e]||{keys:[],values:[]};if(h[e].keys.contains(g)){return this;
}h[e].keys.push(g);var f=e,a=Element.Events.get(e),c=g,i=this;if(a){if(a.onAdd){a.onAdd.call(this,g);}if(a.condition){c=function(j){if(a.condition.call(this,j)){return g.call(this,j);
}return true;};}f=a.base||f;}var d=function(){return g.call(i);};var b=Element.NativeEvents[f];if(b){if(b==2){d=function(j){j=new Event(j,i.getWindow());
if(c.call(i,j)===false){j.stop();}};}this.addListener(f,d);}h[e].values.push(d);return this;},removeEvent:function(c,b){var a=this.retrieve("events");if(!a||!a[c]){return this;
}var f=a[c].keys.indexOf(b);if(f==-1){return this;}a[c].keys.splice(f,1);var e=a[c].values.splice(f,1)[0];var d=Element.Events.get(c);if(d){if(d.onRemove){d.onRemove.call(this,b);
}c=d.base||c;}return(Element.NativeEvents[c])?this.removeListener(c,e):this;},addEvents:function(a){for(var b in a){this.addEvent(b,a[b]);}return this;
},removeEvents:function(a){var c;if($type(a)=="object"){for(c in a){this.removeEvent(c,a[c]);}return this;}var b=this.retrieve("events");if(!b){return this;
}if(!a){for(c in b){this.removeEvents(c);}this.eliminate("events");}else{if(b[a]){while(b[a].keys[0]){this.removeEvent(a,b[a].keys[0]);}b[a]=null;}}return this;
},fireEvent:function(d,b,a){var c=this.retrieve("events");if(!c||!c[d]){return this;}c[d].keys.each(function(e){e.create({bind:this,delay:a,"arguments":b})();
},this);return this;},cloneEvents:function(d,a){d=document.id(d);var c=d.retrieve("events");if(!c){return this;}if(!a){for(var b in c){this.cloneEvents(d,b);
}}else{if(c[a]){c[a].keys.each(function(e){this.addEvent(a,e);},this);}}return this;}});Element.NativeEvents={click:2,dblclick:2,mouseup:2,mousedown:2,contextmenu:2,mousewheel:2,DOMMouseScroll:2,mouseover:2,mouseout:2,mousemove:2,selectstart:2,selectend:2,keydown:2,keypress:2,keyup:2,focus:2,blur:2,change:2,reset:2,select:2,submit:2,load:1,unload:1,beforeunload:2,resize:1,move:1,DOMContentLoaded:1,readystatechange:1,error:1,abort:1,scroll:1};
(function(){var a=function(b){var c=b.relatedTarget;if(c==undefined){return true;}if(c===false){return false;}return($type(this)!="document"&&c!=this&&c.prefix!="xul"&&!this.hasChild(c));
};Element.Events=new Hash({mouseenter:{base:"mouseover",condition:a},mouseleave:{base:"mouseout",condition:a},mousewheel:{base:(Browser.Engine.gecko)?"DOMMouseScroll":"mousewheel"}});
})();Element.Properties.styles={set:function(a){this.setStyles(a);}};Element.Properties.opacity={set:function(a,b){if(!b){if(a==0){if(this.style.visibility!="hidden"){this.style.visibility="hidden";
}}else{if(this.style.visibility!="visible"){this.style.visibility="visible";}}}if(!this.currentStyle||!this.currentStyle.hasLayout){this.style.zoom=1;}if(Browser.Engine.trident){this.style.filter=(a==1)?"":"alpha(opacity="+a*100+")";
}this.style.opacity=a;this.store("opacity",a);},get:function(){return this.retrieve("opacity",1);}};Element.implement({setOpacity:function(a){return this.set("opacity",a,true);
},getOpacity:function(){return this.get("opacity");},setStyle:function(b,a){switch(b){case"opacity":return this.set("opacity",parseFloat(a));case"float":b=(Browser.Engine.trident)?"styleFloat":"cssFloat";
}b=b.camelCase();if($type(a)!="string"){var c=(Element.Styles.get(b)||"@").split(" ");a=$splat(a).map(function(e,d){if(!c[d]){return"";}return($type(e)=="number")?c[d].replace("@",Math.round(e)):e;
}).join(" ");}else{if(a==String(Number(a))){a=Math.round(a);}}this.style[b]=a;return this;},getStyle:function(g){switch(g){case"opacity":return this.get("opacity");
case"float":g=(Browser.Engine.trident)?"styleFloat":"cssFloat";}g=g.camelCase();var a=this.style[g];if(!$chk(a)){a=[];for(var f in Element.ShortStyles){if(g!=f){continue;
}for(var e in Element.ShortStyles[f]){a.push(this.getStyle(e));}return a.join(" ");}a=this.getComputedStyle(g);}if(a){a=String(a);var c=a.match(/rgba?\([\d\s,]+\)/);
if(c){a=a.replace(c[0],c[0].rgbToHex());}}if(Browser.Engine.presto||(Browser.Engine.trident&&!$chk(parseInt(a,10)))){if(g.test(/^(height|width)$/)){var b=(g=="width")?["left","right"]:["top","bottom"],d=0;
b.each(function(h){d+=this.getStyle("border-"+h+"-width").toInt()+this.getStyle("padding-"+h).toInt();},this);return this["offset"+g.capitalize()]-d+"px";
}if((Browser.Engine.presto)&&String(a).test("px")){return a;}if(g.test(/(border(.+)Width|margin|padding)/)){return"0px";}}return a;},setStyles:function(b){for(var a in b){this.setStyle(a,b[a]);
}return this;},getStyles:function(){var a={};Array.flatten(arguments).each(function(b){a[b]=this.getStyle(b);},this);return a;}});Element.Styles=new Hash({left:"@px",top:"@px",bottom:"@px",right:"@px",width:"@px",height:"@px",maxWidth:"@px",maxHeight:"@px",minWidth:"@px",minHeight:"@px",backgroundColor:"rgb(@, @, @)",backgroundPosition:"@px @px",color:"rgb(@, @, @)",fontSize:"@px",letterSpacing:"@px",lineHeight:"@px",clip:"rect(@px @px @px @px)",margin:"@px @px @px @px",padding:"@px @px @px @px",border:"@px @ rgb(@, @, @) @px @ rgb(@, @, @) @px @ rgb(@, @, @)",borderWidth:"@px @px @px @px",borderStyle:"@ @ @ @",borderColor:"rgb(@, @, @) rgb(@, @, @) rgb(@, @, @) rgb(@, @, @)",zIndex:"@",zoom:"@",fontWeight:"@",textIndent:"@px",opacity:"@"});
Element.ShortStyles={margin:{},padding:{},border:{},borderWidth:{},borderStyle:{},borderColor:{}};["Top","Right","Bottom","Left"].each(function(g){var f=Element.ShortStyles;
var b=Element.Styles;["margin","padding"].each(function(h){var i=h+g;f[h][i]=b[i]="@px";});var e="border"+g;f.border[e]=b[e]="@px @ rgb(@, @, @)";var d=e+"Width",a=e+"Style",c=e+"Color";
f[e]={};f.borderWidth[d]=f[e][d]=b[d]="@px";f.borderStyle[a]=f[e][a]=b[a]="@";f.borderColor[c]=f[e][c]=b[c]="rgb(@, @, @)";});(function(){Element.implement({scrollTo:function(h,i){if(b(this)){this.getWindow().scrollTo(h,i);
}else{this.scrollLeft=h;this.scrollTop=i;}return this;},getSize:function(){if(b(this)){return this.getWindow().getSize();}return{x:this.offsetWidth,y:this.offsetHeight};
},getScrollSize:function(){if(b(this)){return this.getWindow().getScrollSize();}return{x:this.scrollWidth,y:this.scrollHeight};},getScroll:function(){if(b(this)){return this.getWindow().getScroll();
}return{x:this.scrollLeft,y:this.scrollTop};},getScrolls:function(){var i=this,h={x:0,y:0};while(i&&!b(i)){h.x+=i.scrollLeft;h.y+=i.scrollTop;i=i.parentNode;
}return h;},getOffsetParent:function(){var h=this;if(b(h)){return null;}if(!Browser.Engine.trident){return h.offsetParent;}while((h=h.parentNode)&&!b(h)){if(d(h,"position")!="static"){return h;
}}return null;},getOffsets:function(){if(this.getBoundingClientRect){var j=this.getBoundingClientRect(),m=document.id(this.getDocument().documentElement),p=m.getScroll(),k=this.getScrolls(),i=this.getScroll(),h=(d(this,"position")=="fixed");
return{x:j.left.toInt()+k.x-i.x+((h)?0:p.x)-m.clientLeft,y:j.top.toInt()+k.y-i.y+((h)?0:p.y)-m.clientTop};}var l=this,n={x:0,y:0};if(b(this)){return n;
}while(l&&!b(l)){n.x+=l.offsetLeft;n.y+=l.offsetTop;if(Browser.Engine.gecko){if(!f(l)){n.x+=c(l);n.y+=g(l);}var o=l.parentNode;if(o&&d(o,"overflow")!="visible"){n.x+=c(o);
n.y+=g(o);}}else{if(l!=this&&Browser.Engine.webkit){n.x+=c(l);n.y+=g(l);}}l=l.offsetParent;}if(Browser.Engine.gecko&&!f(this)){n.x-=c(this);n.y-=g(this);
}return n;},getPosition:function(k){if(b(this)){return{x:0,y:0};}var l=this.getOffsets(),i=this.getScrolls();var h={x:l.x-i.x,y:l.y-i.y};var j=(k&&(k=document.id(k)))?k.getPosition():{x:0,y:0};
return{x:h.x-j.x,y:h.y-j.y};},getCoordinates:function(j){if(b(this)){return this.getWindow().getCoordinates();}var h=this.getPosition(j),i=this.getSize();
var k={left:h.x,top:h.y,width:i.x,height:i.y};k.right=k.left+k.width;k.bottom=k.top+k.height;return k;},computePosition:function(h){return{left:h.x-e(this,"margin-left"),top:h.y-e(this,"margin-top")};
},setPosition:function(h){return this.setStyles(this.computePosition(h));}});Native.implement([Document,Window],{getSize:function(){if(Browser.Engine.presto||Browser.Engine.webkit){var i=this.getWindow();
return{x:i.innerWidth,y:i.innerHeight};}var h=a(this);return{x:h.clientWidth,y:h.clientHeight};},getScroll:function(){var i=this.getWindow(),h=a(this);
return{x:i.pageXOffset||h.scrollLeft,y:i.pageYOffset||h.scrollTop};},getScrollSize:function(){var i=a(this),h=this.getSize();return{x:Math.max(i.scrollWidth,h.x),y:Math.max(i.scrollHeight,h.y)};
},getPosition:function(){return{x:0,y:0};},getCoordinates:function(){var h=this.getSize();return{top:0,left:0,bottom:h.y,right:h.x,height:h.y,width:h.x};
}});var d=Element.getComputedStyle;function e(h,i){return d(h,i).toInt()||0;}function f(h){return d(h,"-moz-box-sizing")=="border-box";}function g(h){return e(h,"border-top-width");
}function c(h){return e(h,"border-left-width");}function b(h){return(/^(?:body|html)$/i).test(h.tagName);}function a(h){var i=h.getDocument();return(!i.compatMode||i.compatMode=="CSS1Compat")?i.html:i.body;
}})();Element.alias("setPosition","position");Native.implement([Window,Document,Element],{getHeight:function(){return this.getSize().y;},getWidth:function(){return this.getSize().x;
},getScrollTop:function(){return this.getScroll().y;},getScrollLeft:function(){return this.getScroll().x;},getScrollHeight:function(){return this.getScrollSize().y;
},getScrollWidth:function(){return this.getScrollSize().x;},getTop:function(){return this.getPosition().y;},getLeft:function(){return this.getPosition().x;
}});Native.implement([Document,Element],{getElements:function(h,g){h=h.split(",");var c,e={};for(var d=0,b=h.length;d<b;d++){var a=h[d],f=Selectors.Utils.search(this,a,e);
if(d!=0&&f.item){f=$A(f);}c=(d==0)?f:(c.item)?$A(c).concat(f):c.concat(f);}return new Elements(c,{ddup:(h.length>1),cash:!g});}});Element.implement({match:function(b){if(!b||(b==this)){return true;
}var d=Selectors.Utils.parseTagAndID(b);var a=d[0],e=d[1];if(!Selectors.Filters.byID(this,e)||!Selectors.Filters.byTag(this,a)){return false;}var c=Selectors.Utils.parseSelector(b);
return(c)?Selectors.Utils.filter(this,c,{}):true;}});var Selectors={Cache:{nth:{},parsed:{}}};Selectors.RegExps={id:(/#([\w-]+)/),tag:(/^(\w+|\*)/),quick:(/^(\w+|\*)$/),splitter:(/\s*([+>~\s])\s*([a-zA-Z#.*:\[])/g),combined:(/\.([\w-]+)|\[(\w+)(?:([!*^$~|]?=)(["']?)([^\4]*?)\4)?\]|:([\w-]+)(?:\(["']?(.*?)?["']?\)|$)/g)};
Selectors.Utils={chk:function(b,c){if(!c){return true;}var a=$uid(b);if(!c[a]){return c[a]=true;}return false;},parseNthArgument:function(h){if(Selectors.Cache.nth[h]){return Selectors.Cache.nth[h];
}var e=h.match(/^([+-]?\d*)?([a-z]+)?([+-]?\d*)?$/);if(!e){return false;}var g=parseInt(e[1],10);var d=(g||g===0)?g:1;var f=e[2]||false;var c=parseInt(e[3],10)||0;
if(d!=0){c--;while(c<1){c+=d;}while(c>=d){c-=d;}}else{d=c;f="index";}switch(f){case"n":e={a:d,b:c,special:"n"};break;case"odd":e={a:2,b:0,special:"n"};
break;case"even":e={a:2,b:1,special:"n"};break;case"first":e={a:0,special:"index"};break;case"last":e={special:"last-child"};break;case"only":e={special:"only-child"};
break;default:e={a:(d-1),special:"index"};}return Selectors.Cache.nth[h]=e;},parseSelector:function(e){if(Selectors.Cache.parsed[e]){return Selectors.Cache.parsed[e];
}var d,h={classes:[],pseudos:[],attributes:[]};while((d=Selectors.RegExps.combined.exec(e))){var i=d[1],g=d[2],f=d[3],b=d[5],c=d[6],j=d[7];if(i){h.classes.push(i);
}else{if(c){var a=Selectors.Pseudo.get(c);if(a){h.pseudos.push({parser:a,argument:j});}else{h.attributes.push({name:c,operator:"=",value:j});}}else{if(g){h.attributes.push({name:g,operator:f,value:b});
}}}}if(!h.classes.length){delete h.classes;}if(!h.attributes.length){delete h.attributes;}if(!h.pseudos.length){delete h.pseudos;}if(!h.classes&&!h.attributes&&!h.pseudos){h=null;
}return Selectors.Cache.parsed[e]=h;},parseTagAndID:function(b){var a=b.match(Selectors.RegExps.tag);var c=b.match(Selectors.RegExps.id);return[(a)?a[1]:"*",(c)?c[1]:false];
},filter:function(f,c,e){var d;if(c.classes){for(d=c.classes.length;d--;d){var g=c.classes[d];if(!Selectors.Filters.byClass(f,g)){return false;}}}if(c.attributes){for(d=c.attributes.length;
d--;d){var b=c.attributes[d];if(!Selectors.Filters.byAttribute(f,b.name,b.operator,b.value)){return false;}}}if(c.pseudos){for(d=c.pseudos.length;d--;d){var a=c.pseudos[d];
if(!Selectors.Filters.byPseudo(f,a.parser,a.argument,e)){return false;}}}return true;},getByTagAndID:function(b,a,d){if(d){var c=(b.getElementById)?b.getElementById(d,true):Element.getElementById(b,d,true);
return(c&&Selectors.Filters.byTag(c,a))?[c]:[];}else{return b.getElementsByTagName(a);}},search:function(o,h,t){var b=[];var c=h.trim().replace(Selectors.RegExps.splitter,function(k,j,i){b.push(j);
return":)"+i;}).split(":)");var p,e,A;for(var z=0,v=c.length;z<v;z++){var y=c[z];if(z==0&&Selectors.RegExps.quick.test(y)){p=o.getElementsByTagName(y);
continue;}var a=b[z-1];var q=Selectors.Utils.parseTagAndID(y);var B=q[0],r=q[1];if(z==0){p=Selectors.Utils.getByTagAndID(o,B,r);}else{var d={},g=[];for(var x=0,w=p.length;
x<w;x++){g=Selectors.Getters[a](g,p[x],B,r,d);}p=g;}var f=Selectors.Utils.parseSelector(y);if(f){e=[];for(var u=0,s=p.length;u<s;u++){A=p[u];if(Selectors.Utils.filter(A,f,t)){e.push(A);
}}p=e;}}return p;}};Selectors.Getters={" ":function(h,g,j,a,e){var d=Selectors.Utils.getByTagAndID(g,j,a);for(var c=0,b=d.length;c<b;c++){var f=d[c];if(Selectors.Utils.chk(f,e)){h.push(f);
}}return h;},">":function(h,g,j,a,f){var c=Selectors.Utils.getByTagAndID(g,j,a);for(var e=0,d=c.length;e<d;e++){var b=c[e];if(b.parentNode==g&&Selectors.Utils.chk(b,f)){h.push(b);
}}return h;},"+":function(c,b,a,e,d){while((b=b.nextSibling)){if(b.nodeType==1){if(Selectors.Utils.chk(b,d)&&Selectors.Filters.byTag(b,a)&&Selectors.Filters.byID(b,e)){c.push(b);
}break;}}return c;},"~":function(c,b,a,e,d){while((b=b.nextSibling)){if(b.nodeType==1){if(!Selectors.Utils.chk(b,d)){break;}if(Selectors.Filters.byTag(b,a)&&Selectors.Filters.byID(b,e)){c.push(b);
}}}return c;}};Selectors.Filters={byTag:function(b,a){return(a=="*"||(b.tagName&&b.tagName.toLowerCase()==a));},byID:function(a,b){return(!b||(a.id&&a.id==b));
},byClass:function(b,a){return(b.className&&b.className.contains&&b.className.contains(a," "));},byPseudo:function(a,d,c,b){return d.call(a,c,b);},byAttribute:function(c,d,b,e){var a=Element.prototype.getProperty.call(c,d);
if(!a){return(b=="!=");}if(!b||e==undefined){return true;}switch(b){case"=":return(a==e);case"*=":return(a.contains(e));case"^=":return(a.substr(0,e.length)==e);
case"$=":return(a.substr(a.length-e.length)==e);case"!=":return(a!=e);case"~=":return a.contains(e," ");case"|=":return a.contains(e,"-");}return false;
}};Selectors.Pseudo=new Hash({checked:function(){return this.checked;},empty:function(){return !(this.innerText||this.textContent||"").length;},not:function(a){return !Element.match(this,a);
},contains:function(a){return(this.innerText||this.textContent||"").contains(a);},"first-child":function(){return Selectors.Pseudo.index.call(this,0);},"last-child":function(){var a=this;
while((a=a.nextSibling)){if(a.nodeType==1){return false;}}return true;},"only-child":function(){var b=this;while((b=b.previousSibling)){if(b.nodeType==1){return false;
}}var a=this;while((a=a.nextSibling)){if(a.nodeType==1){return false;}}return true;},"nth-child":function(g,e){g=(g==undefined)?"n":g;var c=Selectors.Utils.parseNthArgument(g);
if(c.special!="n"){return Selectors.Pseudo[c.special].call(this,c.a,e);}var f=0;e.positions=e.positions||{};var d=$uid(this);if(!e.positions[d]){var b=this;
while((b=b.previousSibling)){if(b.nodeType!=1){continue;}f++;var a=e.positions[$uid(b)];if(a!=undefined){f=a+f;break;}}e.positions[d]=f;}return(e.positions[d]%c.a==c.b);
},index:function(a){var b=this,c=0;while((b=b.previousSibling)){if(b.nodeType==1&&++c>a){return false;}}return(c==a);},even:function(b,a){return Selectors.Pseudo["nth-child"].call(this,"2n+1",a);
},odd:function(b,a){return Selectors.Pseudo["nth-child"].call(this,"2n",a);},selected:function(){return this.selected;},enabled:function(){return(this.disabled===false);
}});Element.Events.domready={onAdd:function(a){if(Browser.loaded){a.call(this);}}};(function(){var b=function(){if(Browser.loaded){return;}Browser.loaded=true;
window.fireEvent("domready");document.fireEvent("domready");};window.addEvent("load",b);if(Browser.Engine.trident){var a=document.createElement("div");
(function(){($try(function(){a.doScroll();return document.id(a).inject(document.body).set("html","temp").dispose();}))?b():arguments.callee.delay(50);})();
}else{if(Browser.Engine.webkit&&Browser.Engine.version<525){(function(){(["loaded","complete"].contains(document.readyState))?b():arguments.callee.delay(50);
})();}else{document.addEvent("DOMContentLoaded",b);}}})();var JSON=new Hash(this.JSON&&{stringify:JSON.stringify,parse:JSON.parse}).extend({$specialChars:{"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},$replaceChars:function(a){return JSON.$specialChars[a]||"\\u00"+Math.floor(a.charCodeAt()/16).toString(16)+(a.charCodeAt()%16).toString(16);
},encode:function(b){switch($type(b)){case"string":return'"'+b.replace(/[\x00-\x1f\\"]/g,JSON.$replaceChars)+'"';case"array":return"["+String(b.map(JSON.encode).clean())+"]";
case"object":case"hash":var a=[];Hash.each(b,function(e,d){var c=JSON.encode(e);if(c){a.push(JSON.encode(d)+":"+c);}});return"{"+a+"}";case"number":case"boolean":return String(b);
case false:return"null";}return null;},decode:function(string,secure){if($type(string)!="string"||!string.length){return null;}if(secure&&!(/^[,:{}\[\]0-9.\-+Eaeflnr-u \n\r\t]*$/).test(string.replace(/\\./g,"@").replace(/"[^"\\\n\r]*"/g,""))){return null;
}return eval("("+string+")");}});Native.implement([Hash,Array,String,Number],{toJSON:function(){return JSON.encode(this);}});var Cookie=new Class({Implements:Options,options:{path:false,domain:false,duration:false,secure:false,document:document},initialize:function(b,a){this.key=b;
this.setOptions(a);},write:function(b){b=encodeURIComponent(b);if(this.options.domain){b+="; domain="+this.options.domain;}if(this.options.path){b+="; path="+this.options.path;
}if(this.options.duration){var a=new Date();a.setTime(a.getTime()+this.options.duration*24*60*60*1000);b+="; expires="+a.toGMTString();}if(this.options.secure){b+="; secure";
}this.options.document.cookie=this.key+"="+b;return this;},read:function(){var a=this.options.document.cookie.match("(?:^|;)\\s*"+this.key.escapeRegExp()+"=([^;]*)");
return(a)?decodeURIComponent(a[1]):null;},dispose:function(){new Cookie(this.key,$merge(this.options,{duration:-1})).write("");return this;}});Cookie.write=function(b,c,a){return new Cookie(b,a).write(c);
};Cookie.read=function(a){return new Cookie(a).read();};Cookie.dispose=function(b,a){return new Cookie(b,a).dispose();};var Swiff=new Class({Implements:[Options],options:{id:null,height:1,width:1,container:null,properties:{},params:{quality:"high",allowScriptAccess:"always",wMode:"transparent",swLiveConnect:true},callBacks:{},vars:{}},toElement:function(){return this.object;
},initialize:function(l,m){this.instance="Swiff_"+$time();this.setOptions(m);m=this.options;var b=this.id=m.id||this.instance;var a=document.id(m.container);
Swiff.CallBacks[this.instance]={};var e=m.params,g=m.vars,f=m.callBacks;var h=$extend({height:m.height,width:m.width},m.properties);var k=this;for(var d in f){Swiff.CallBacks[this.instance][d]=(function(n){return function(){return n.apply(k.object,arguments);
};})(f[d]);g[d]="Swiff.CallBacks."+this.instance+"."+d;}e.flashVars=Hash.toQueryString(g);if(Browser.Engine.trident){h.classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000";
e.movie=l;}else{h.type="application/x-shockwave-flash";h.data=l;}var j='<object id="'+b+'"';for(var i in h){j+=" "+i+'="'+h[i]+'"';}j+=">";for(var c in e){if(e[c]){j+='<param name="'+c+'" value="'+e[c]+'" />';
}}j+="</object>";this.object=((a)?a.empty():new Element("div")).set("html",j).firstChild;},replaces:function(a){a=document.id(a,true);a.parentNode.replaceChild(this.toElement(),a);
return this;},inject:function(a){document.id(a,true).appendChild(this.toElement());return this;},remote:function(){return Swiff.remote.apply(Swiff,[this.toElement()].extend(arguments));
}});Swiff.CallBacks={};Swiff.remote=function(obj,fn){var rs=obj.CallFunction('<invoke name="'+fn+'" returntype="javascript">'+__flash__argumentsToXML(arguments,2)+"</invoke>");
return eval(rs);};var Fx=new Class({Implements:[Chain,Events,Options],options:{fps:50,unit:false,duration:500,link:"ignore"},initialize:function(a){this.subject=this.subject||this;
this.setOptions(a);this.options.duration=Fx.Durations[this.options.duration]||this.options.duration.toInt();var b=this.options.wait;if(b===false){this.options.link="cancel";
}},getTransition:function(){return function(a){return -(Math.cos(Math.PI*a)-1)/2;};},step:function(){var a=$time();if(a<this.time+this.options.duration){var b=this.transition((a-this.time)/this.options.duration);
this.set(this.compute(this.from,this.to,b));}else{this.set(this.compute(this.from,this.to,1));this.complete();}},set:function(a){return a;},compute:function(c,b,a){return Fx.compute(c,b,a);
},check:function(){if(!this.timer){return true;}switch(this.options.link){case"cancel":this.cancel();return true;case"chain":this.chain(this.caller.bind(this,arguments));
return false;}return false;},start:function(b,a){if(!this.check(b,a)){return this;}this.from=b;this.to=a;this.time=0;this.transition=this.getTransition();
this.startTimer();this.onStart();return this;},complete:function(){if(this.stopTimer()){this.onComplete();}return this;},cancel:function(){if(this.stopTimer()){this.onCancel();
}return this;},onStart:function(){this.fireEvent("start",this.subject);},onComplete:function(){this.fireEvent("complete",this.subject);if(!this.callChain()){this.fireEvent("chainComplete",this.subject);
}},onCancel:function(){this.fireEvent("cancel",this.subject).clearChain();},pause:function(){this.stopTimer();return this;},resume:function(){this.startTimer();
return this;},stopTimer:function(){if(!this.timer){return false;}this.time=$time()-this.time;this.timer=$clear(this.timer);return true;},startTimer:function(){if(this.timer){return false;
}this.time=$time()-this.time;this.timer=this.step.periodical(Math.round(1000/this.options.fps),this);return true;}});Fx.compute=function(c,b,a){return(b-c)*a+c;
};Fx.Durations={"short":250,normal:500,"long":1000};Fx.CSS=new Class({Extends:Fx,prepare:function(d,e,b){b=$splat(b);var c=b[1];if(!$chk(c)){b[1]=b[0];
b[0]=d.getStyle(e);}var a=b.map(this.parse);return{from:a[0],to:a[1]};},parse:function(a){a=$lambda(a)();a=(typeof a=="string")?a.split(" "):$splat(a);
return a.map(function(c){c=String(c);var b=false;Fx.CSS.Parsers.each(function(f,e){if(b){return;}var d=f.parse(c);if($chk(d)){b={value:d,parser:f};}});
b=b||{value:c,parser:Fx.CSS.Parsers.String};return b;});},compute:function(d,c,b){var a=[];(Math.min(d.length,c.length)).times(function(e){a.push({value:d[e].parser.compute(d[e].value,c[e].value,b),parser:d[e].parser});
});a.$family={name:"fx:css:value"};return a;},serve:function(c,b){if($type(c)!="fx:css:value"){c=this.parse(c);}var a=[];c.each(function(d){a=a.concat(d.parser.serve(d.value,b));
});return a;},render:function(a,d,c,b){a.setStyle(d,this.serve(c,b));},search:function(a){if(Fx.CSS.Cache[a]){return Fx.CSS.Cache[a];}var b={};Array.each(document.styleSheets,function(e,d){var c=e.href;
if(c&&c.contains("://")&&!c.contains(document.domain)){return;}var f=e.rules||e.cssRules;Array.each(f,function(j,g){if(!j.style){return;}var h=(j.selectorText)?j.selectorText.replace(/^\w+/,function(i){return i.toLowerCase();
}):null;if(!h||!h.test("^"+a+"$")){return;}Element.Styles.each(function(k,i){if(!j.style[i]||Element.ShortStyles[i]){return;}k=String(j.style[i]);b[i]=(k.test(/^rgb/))?k.rgbToHex():k;
});});});return Fx.CSS.Cache[a]=b;}});Fx.CSS.Cache={};Fx.CSS.Parsers=new Hash({Color:{parse:function(a){if(a.match(/^#[0-9a-f]{3,6}$/i)){return a.hexToRgb(true);
}return((a=a.match(/(\d+),\s*(\d+),\s*(\d+)/)))?[a[1],a[2],a[3]]:false;},compute:function(c,b,a){return c.map(function(e,d){return Math.round(Fx.compute(c[d],b[d],a));
});},serve:function(a){return a.map(Number);}},Number:{parse:parseFloat,compute:Fx.compute,serve:function(b,a){return(a)?b+a:b;}},String:{parse:$lambda(false),compute:$arguments(1),serve:$arguments(0)}});
Fx.Tween=new Class({Extends:Fx.CSS,initialize:function(b,a){this.element=this.subject=document.id(b);this.parent(a);},set:function(b,a){if(arguments.length==1){a=b;
b=this.property||this.options.property;}this.render(this.element,b,a,this.options.unit);return this;},start:function(c,e,d){if(!this.check(c,e,d)){return this;
}var b=Array.flatten(arguments);this.property=this.options.property||b.shift();var a=this.prepare(this.element,this.property,b);return this.parent(a.from,a.to);
}});Element.Properties.tween={set:function(a){var b=this.retrieve("tween");if(b){b.cancel();}return this.eliminate("tween").store("tween:options",$extend({link:"cancel"},a));
},get:function(a){if(a||!this.retrieve("tween")){if(a||!this.retrieve("tween:options")){this.set("tween",a);}this.store("tween",new Fx.Tween(this,this.retrieve("tween:options")));
}return this.retrieve("tween");}};Element.implement({tween:function(a,c,b){this.get("tween").start(arguments);return this;},fade:function(c){var e=this.get("tween"),d="opacity",a;
c=$pick(c,"toggle");switch(c){case"in":e.start(d,1);break;case"out":e.start(d,0);break;case"show":e.set(d,1);break;case"hide":e.set(d,0);break;case"toggle":var b=this.retrieve("fade:flag",this.get("opacity")==1);
e.start(d,(b)?0:1);this.store("fade:flag",!b);a=true;break;default:e.start(d,arguments);}if(!a){this.eliminate("fade:flag");}return this;},highlight:function(c,a){if(!a){a=this.retrieve("highlight:original",this.getStyle("background-color"));
a=(a=="transparent")?"#fff":a;}var b=this.get("tween");b.start("background-color",c||"#ffff88",a).chain(function(){this.setStyle("background-color",this.retrieve("highlight:original"));
b.callChain();}.bind(this));return this;}});Fx.Morph=new Class({Extends:Fx.CSS,initialize:function(b,a){this.element=this.subject=document.id(b);this.parent(a);
},set:function(a){if(typeof a=="string"){a=this.search(a);}for(var b in a){this.render(this.element,b,a[b],this.options.unit);}return this;},compute:function(e,d,c){var a={};
for(var b in e){a[b]=this.parent(e[b],d[b],c);}return a;},start:function(b){if(!this.check(b)){return this;}if(typeof b=="string"){b=this.search(b);}var e={},d={};
for(var c in b){var a=this.prepare(this.element,c,b[c]);e[c]=a.from;d[c]=a.to;}return this.parent(e,d);}});Element.Properties.morph={set:function(a){var b=this.retrieve("morph");
if(b){b.cancel();}return this.eliminate("morph").store("morph:options",$extend({link:"cancel"},a));},get:function(a){if(a||!this.retrieve("morph")){if(a||!this.retrieve("morph:options")){this.set("morph",a);
}this.store("morph",new Fx.Morph(this,this.retrieve("morph:options")));}return this.retrieve("morph");}};Element.implement({morph:function(a){this.get("morph").start(a);
return this;}});Fx.implement({getTransition:function(){var a=this.options.transition||Fx.Transitions.Sine.easeInOut;if(typeof a=="string"){var b=a.split(":");
a=Fx.Transitions;a=a[b[0]]||a[b[0].capitalize()];if(b[1]){a=a["ease"+b[1].capitalize()+(b[2]?b[2].capitalize():"")];}}return a;}});Fx.Transition=function(b,a){a=$splat(a);
return $extend(b,{easeIn:function(c){return b(c,a);},easeOut:function(c){return 1-b(1-c,a);},easeInOut:function(c){return(c<=0.5)?b(2*c,a)/2:(2-b(2*(1-c),a))/2;
}});};Fx.Transitions=new Hash({linear:$arguments(0)});Fx.Transitions.extend=function(a){for(var b in a){Fx.Transitions[b]=new Fx.Transition(a[b]);}};Fx.Transitions.extend({Pow:function(b,a){return Math.pow(b,a[0]||6);
},Expo:function(a){return Math.pow(2,8*(a-1));},Circ:function(a){return 1-Math.sin(Math.acos(a));},Sine:function(a){return 1-Math.sin((1-a)*Math.PI/2);
},Back:function(b,a){a=a[0]||1.618;return Math.pow(b,2)*((a+1)*b-a);},Bounce:function(f){var e;for(var d=0,c=1;1;d+=c,c/=2){if(f>=(7-4*d)/11){e=c*c-Math.pow((11-6*d-11*f)/4,2);
break;}}return e;},Elastic:function(b,a){return Math.pow(2,10*--b)*Math.cos(20*b*Math.PI*(a[0]||1)/3);}});["Quad","Cubic","Quart","Quint"].each(function(b,a){Fx.Transitions[b]=new Fx.Transition(function(c){return Math.pow(c,[a+2]);
});});var Request=new Class({Implements:[Chain,Events,Options],options:{url:"",data:"",headers:{"X-Requested-With":"XMLHttpRequest",Accept:"text/javascript, text/html, application/xml, text/xml, */*"},async:true,format:false,method:"post",link:"ignore",isSuccess:null,emulation:true,urlEncoded:true,encoding:"utf-8",evalScripts:false,evalResponse:false,noCache:false},initialize:function(a){this.xhr=new Browser.Request();
this.setOptions(a);this.options.isSuccess=this.options.isSuccess||this.isSuccess;this.headers=new Hash(this.options.headers);},onStateChange:function(){if(this.xhr.readyState!=4||!this.running){return;
}this.running=false;this.status=0;$try(function(){this.status=this.xhr.status;}.bind(this));this.xhr.onreadystatechange=$empty;if(this.options.isSuccess.call(this,this.status)){this.response={text:this.xhr.responseText,xml:this.xhr.responseXML};
this.success(this.response.text,this.response.xml);}else{this.response={text:null,xml:null};this.failure();}},isSuccess:function(){return((this.status>=200)&&(this.status<300));
},processScripts:function(a){if(this.options.evalResponse||(/(ecma|java)script/).test(this.getHeader("Content-type"))){return $exec(a);}return a.stripScripts(this.options.evalScripts);
},success:function(b,a){this.onSuccess(this.processScripts(b),a);},onSuccess:function(){this.fireEvent("complete",arguments).fireEvent("success",arguments).callChain();
},failure:function(){this.onFailure();},onFailure:function(){this.fireEvent("complete").fireEvent("failure",this.xhr);},setHeader:function(a,b){this.headers.set(a,b);
return this;},getHeader:function(a){return $try(function(){return this.xhr.getResponseHeader(a);}.bind(this));},check:function(){if(!this.running){return true;
}switch(this.options.link){case"cancel":this.cancel();return true;case"chain":this.chain(this.caller.bind(this,arguments));return false;}return false;},send:function(k){if(!this.check(k)){return this;
}this.running=true;var i=$type(k);if(i=="string"||i=="element"){k={data:k};}var d=this.options;k=$extend({data:d.data,url:d.url,method:d.method},k);var g=k.data,b=String(k.url),a=k.method.toLowerCase();
switch($type(g)){case"element":g=document.id(g).toQueryString();break;case"object":case"hash":g=Hash.toQueryString(g);}if(this.options.format){var j="format="+this.options.format;
g=(g)?j+"&"+g:j;}if(this.options.emulation&&!["get","post"].contains(a)){var h="_method="+a;g=(g)?h+"&"+g:h;a="post";}if(this.options.urlEncoded&&a=="post"){var c=(this.options.encoding)?"; charset="+this.options.encoding:"";
this.headers.set("Content-type","application/x-www-form-urlencoded"+c);}if(this.options.noCache){var f="noCache="+new Date().getTime();g=(g)?f+"&"+g:f;
}var e=b.lastIndexOf("/");if(e>-1&&(e=b.indexOf("#"))>-1){b=b.substr(0,e);}if(g&&a=="get"){b=b+(b.contains("?")?"&":"?")+g;g=null;}this.xhr.open(a.toUpperCase(),b,this.options.async);
this.xhr.onreadystatechange=this.onStateChange.bind(this);this.headers.each(function(m,l){try{this.xhr.setRequestHeader(l,m);}catch(n){this.fireEvent("exception",[l,m]);
}},this);this.fireEvent("request");this.xhr.send(g);if(!this.options.async){this.onStateChange();}return this;},cancel:function(){if(!this.running){return this;
}this.running=false;this.xhr.abort();this.xhr.onreadystatechange=$empty;this.xhr=new Browser.Request();this.fireEvent("cancel");return this;}});(function(){var a={};
["get","post","put","delete","GET","POST","PUT","DELETE"].each(function(b){a[b]=function(){var c=Array.link(arguments,{url:String.type,data:$defined});
return this.send($extend(c,{method:b}));};});Request.implement(a);})();Element.Properties.send={set:function(a){var b=this.retrieve("send");if(b){b.cancel();
}return this.eliminate("send").store("send:options",$extend({data:this,link:"cancel",method:this.get("method")||"post",url:this.get("action")},a));},get:function(a){if(a||!this.retrieve("send")){if(a||!this.retrieve("send:options")){this.set("send",a);
}this.store("send",new Request(this.retrieve("send:options")));}return this.retrieve("send");}};Element.implement({send:function(a){var b=this.get("send");
b.send({data:this,url:a||b.options.url});return this;}});Request.HTML=new Class({Extends:Request,options:{update:false,append:false,evalScripts:true,filter:false},processHTML:function(c){var b=c.match(/<body[^>]*>([\s\S]*?)<\/body>/i);
c=(b)?b[1]:c;var a=new Element("div");return $try(function(){var d="<root>"+c+"</root>",g;if(Browser.Engine.trident){g=new ActiveXObject("Microsoft.XMLDOM");
g.async=false;g.loadXML(d);}else{g=new DOMParser().parseFromString(d,"text/xml");}d=g.getElementsByTagName("root")[0];if(!d){return null;}for(var f=0,e=d.childNodes.length;
f<e;f++){var h=Element.clone(d.childNodes[f],true,true);if(h){a.grab(h);}}return a;})||a.set("html",c);},success:function(d){var c=this.options,b=this.response;
b.html=d.stripScripts(function(e){b.javascript=e;});var a=this.processHTML(b.html);b.tree=a.childNodes;b.elements=a.getElements("*");if(c.filter){b.tree=b.elements.filter(c.filter);
}if(c.update){document.id(c.update).empty().set("html",b.html);}else{if(c.append){document.id(c.append).adopt(a.getChildren());}}if(c.evalScripts){$exec(b.javascript);
}this.onSuccess(b.tree,b.elements,b.html,b.javascript);}});Element.Properties.load={set:function(a){var b=this.retrieve("load");if(b){b.cancel();}return this.eliminate("load").store("load:options",$extend({data:this,link:"cancel",update:this,method:"get"},a));
},get:function(a){if(a||!this.retrieve("load")){if(a||!this.retrieve("load:options")){this.set("load",a);}this.store("load",new Request.HTML(this.retrieve("load:options")));
}return this.retrieve("load");}};Element.implement({load:function(){this.get("load").send(Array.link(arguments,{data:Object.type,url:String.type}));return this;
}});Request.JSON=new Class({Extends:Request,options:{secure:true},initialize:function(a){this.parent(a);this.headers.extend({Accept:"application/json","X-Request":"JSON"});
},success:function(a){this.response.json=JSON.decode(a,this.options.secure);this.onSuccess(this.response.json,a);}});

/*
 * Copyright (c) 2009 Simo Kinnunen.
 * Licensed under the MIT license.
 *
 * @version 1.09
 */
var Cufon=(function(){var m=function(){return m.replace.apply(null,arguments)};var x=m.DOM={ready:(function(){var C=false,E={loaded:1,complete:1};var B=[],D=function(){if(C){return}C=true;for(var F;F=B.shift();F()){}};if(document.addEventListener){document.addEventListener("DOMContentLoaded",D,false);window.addEventListener("pageshow",D,false)}if(!window.opera&&document.readyState){(function(){E[document.readyState]?D():setTimeout(arguments.callee,10)})()}if(document.readyState&&document.createStyleSheet){(function(){try{document.body.doScroll("left");D()}catch(F){setTimeout(arguments.callee,1)}})()}q(window,"load",D);return function(F){if(!arguments.length){D()}else{C?F():B.push(F)}}})(),root:function(){return document.documentElement||document.body}};var n=m.CSS={Size:function(C,B){this.value=parseFloat(C);this.unit=String(C).match(/[a-z%]*$/)[0]||"px";this.convert=function(D){return D/B*this.value};this.convertFrom=function(D){return D/this.value*B};this.toString=function(){return this.value+this.unit}},addClass:function(C,B){var D=C.className;C.className=D+(D&&" ")+B;return C},color:j(function(C){var B={};B.color=C.replace(/^rgba\((.*?),\s*([\d.]+)\)/,function(E,D,F){B.opacity=parseFloat(F);return"rgb("+D+")"});return B}),fontStretch:j(function(B){if(typeof B=="number"){return B}if(/%$/.test(B)){return parseFloat(B)/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}[B]||1}),getStyle:function(C){var B=document.defaultView;if(B&&B.getComputedStyle){return new a(B.getComputedStyle(C,null))}if(C.currentStyle){return new a(C.currentStyle)}return new a(C.style)},gradient:j(function(F){var G={id:F,type:F.match(/^-([a-z]+)-gradient\(/)[1],stops:[]},C=F.substr(F.indexOf("(")).match(/([\d.]+=)?(#[a-f0-9]+|[a-z]+\(.*?\)|[a-z]+)/ig);for(var E=0,B=C.length,D;E<B;++E){D=C[E].split("=",2).reverse();G.stops.push([D[1]||E/(B-1),D[0]])}return G}),quotedList:j(function(E){var D=[],C=/\s*((["'])([\s\S]*?[^\\])\2|[^,]+)\s*/g,B;while(B=C.exec(E)){D.push(B[3]||B[1])}return D}),recognizesMedia:j(function(G){var E=document.createElement("style"),D,C,B;E.type="text/css";E.media=G;try{E.appendChild(document.createTextNode("/**/"))}catch(F){}C=g("head")[0];C.insertBefore(E,C.firstChild);D=(E.sheet||E.styleSheet);B=D&&!D.disabled;C.removeChild(E);return B}),removeClass:function(D,C){var B=RegExp("(?:^|\\s+)"+C+"(?=\\s|$)","g");D.className=D.className.replace(B,"");return D},supports:function(D,C){var B=document.createElement("span").style;if(B[D]===undefined){return false}B[D]=C;return B[D]===C},textAlign:function(E,D,B,C){if(D.get("textAlign")=="right"){if(B>0){E=" "+E}}else{if(B<C-1){E+=" "}}return E},textShadow:j(function(F){if(F=="none"){return null}var E=[],G={},B,C=0;var D=/(#[a-f0-9]+|[a-z]+\(.*?\)|[a-z]+)|(-?[\d.]+[a-z%]*)|,/ig;while(B=D.exec(F)){if(B[0]==","){E.push(G);G={};C=0}else{if(B[1]){G.color=B[1]}else{G[["offX","offY","blur"][C++]]=B[2]}}}E.push(G);return E}),textTransform:(function(){var B={uppercase:function(C){return C.toUpperCase()},lowercase:function(C){return C.toLowerCase()},capitalize:function(C){return C.replace(/\b./g,function(D){return D.toUpperCase()})}};return function(E,D){var C=B[D.get("textTransform")];return C?C(E):E}})(),whiteSpace:(function(){var D={inline:1,"inline-block":1,"run-in":1};var C=/^\s+/,B=/\s+$/;return function(H,F,G,E){if(E){if(E.nodeName.toLowerCase()=="br"){H=H.replace(C,"")}}if(D[F.get("display")]){return H}if(!G.previousSibling){H=H.replace(C,"")}if(!G.nextSibling){H=H.replace(B,"")}return H}})()};n.ready=(function(){var B=!n.recognizesMedia("all"),E=false;var D=[],H=function(){B=true;for(var K;K=D.shift();K()){}};var I=g("link"),J=g("style");function C(K){return K.disabled||G(K.sheet,K.media||"screen")}function G(M,P){if(!n.recognizesMedia(P||"all")){return true}if(!M||M.disabled){return false}try{var Q=M.cssRules,O;if(Q){search:for(var L=0,K=Q.length;O=Q[L],L<K;++L){switch(O.type){case 2:break;case 3:if(!G(O.styleSheet,O.media.mediaText)){return false}break;default:break search}}}}catch(N){}return true}function F(){if(document.createStyleSheet){return true}var L,K;for(K=0;L=I[K];++K){if(L.rel.toLowerCase()=="stylesheet"&&!C(L)){return false}}for(K=0;L=J[K];++K){if(!C(L)){return false}}return true}x.ready(function(){if(!E){E=n.getStyle(document.body).isUsable()}if(B||(E&&F())){H()}else{setTimeout(arguments.callee,10)}});return function(K){if(B){K()}else{D.push(K)}}})();function s(D){var C=this.face=D.face,B={"\u0020":1,"\u00a0":1,"\u3000":1};this.glyphs=D.glyphs;this.w=D.w;this.baseSize=parseInt(C["units-per-em"],10);this.family=C["font-family"].toLowerCase();this.weight=C["font-weight"];this.style=C["font-style"]||"normal";this.viewBox=(function(){var F=C.bbox.split(/\s+/);var E={minX:parseInt(F[0],10),minY:parseInt(F[1],10),maxX:parseInt(F[2],10),maxY:parseInt(F[3],10)};E.width=E.maxX-E.minX;E.height=E.maxY-E.minY;E.toString=function(){return[this.minX,this.minY,this.width,this.height].join(" ")};return E})();this.ascent=-parseInt(C.ascent,10);this.descent=-parseInt(C.descent,10);this.height=-this.ascent+this.descent;this.spacing=function(L,N,E){var O=this.glyphs,M,K,G,P=[],F=0,J=-1,I=-1,H;while(H=L[++J]){M=O[H]||this.missingGlyph;if(!M){continue}if(K){F-=G=K[H]||0;P[I]-=G}F+=P[++I]=~~(M.w||this.w)+N+(B[H]?E:0);K=M.k}P.total=F;return P}}function f(){var C={},B={oblique:"italic",italic:"oblique"};this.add=function(D){(C[D.style]||(C[D.style]={}))[D.weight]=D};this.get=function(H,I){var G=C[H]||C[B[H]]||C.normal||C.italic||C.oblique;if(!G){return null}I={normal:400,bold:700}[I]||parseInt(I,10);if(G[I]){return G[I]}var E={1:1,99:0}[I%100],K=[],F,D;if(E===undefined){E=I>400}if(I==500){I=400}for(var J in G){if(!k(G,J)){continue}J=parseInt(J,10);if(!F||J<F){F=J}if(!D||J>D){D=J}K.push(J)}if(I<F){I=F}if(I>D){I=D}K.sort(function(M,L){return(E?(M>=I&&L>=I)?M<L:M>L:(M<=I&&L<=I)?M>L:M<L)?-1:1});return G[K[0]]}}function r(){function D(F,G){if(F.contains){return F.contains(G)}return F.compareDocumentPosition(G)&16}function B(G){var F=G.relatedTarget;if(!F||D(this,F)){return}C(this,G.type=="mouseover")}function E(F){C(this,F.type=="mouseenter")}function C(F,G){setTimeout(function(){var H=d.get(F).options;m.replace(F,G?h(H,H.hover):H,true)},10)}this.attach=function(F){if(F.onmouseenter===undefined){q(F,"mouseover",B);q(F,"mouseout",B)}else{q(F,"mouseenter",E);q(F,"mouseleave",E)}}}function u(){var C=[],D={};function B(H){var E=[],G;for(var F=0;G=H[F];++F){E[F]=C[D[G]]}return E}this.add=function(F,E){D[F]=C.push(E)-1};this.repeat=function(){var E=arguments.length?B(arguments):C,F;for(var G=0;F=E[G++];){m.replace(F[0],F[1],true)}}}function A(){var D={},B=0;function C(E){return E.cufid||(E.cufid=++B)}this.get=function(E){var F=C(E);return D[F]||(D[F]={})}}function a(B){var D={},C={};this.extend=function(E){for(var F in E){if(k(E,F)){D[F]=E[F]}}return this};this.get=function(E){return D[E]!=undefined?D[E]:B[E]};this.getSize=function(F,E){return C[F]||(C[F]=new n.Size(this.get(F),E))};this.isUsable=function(){return !!B}}function q(C,B,D){if(C.addEventListener){C.addEventListener(B,D,false)}else{if(C.attachEvent){C.attachEvent("on"+B,function(){return D.call(C,window.event)})}}}function v(C,B){var D=d.get(C);if(D.options){return C}if(B.hover&&B.hoverables[C.nodeName.toLowerCase()]){b.attach(C)}D.options=B;return C}function j(B){var C={};return function(D){if(!k(C,D)){C[D]=B.apply(null,arguments)}return C[D]}}function c(F,E){var B=n.quotedList(E.get("fontFamily").toLowerCase()),D;for(var C=0;D=B[C];++C){if(i[D]){return i[D].get(E.get("fontStyle"),E.get("fontWeight"))}}return null}function g(B){return document.getElementsByTagName(B)}function k(C,B){return C.hasOwnProperty(B)}function h(){var C={},B,F;for(var E=0,D=arguments.length;B=arguments[E],E<D;++E){for(F in B){if(k(B,F)){C[F]=B[F]}}}return C}function o(E,M,C,N,F,D){var K=document.createDocumentFragment(),H;if(M===""){return K}var L=N.separate;var I=M.split(p[L]),B=(L=="words");if(B&&t){if(/^\s/.test(M)){I.unshift("")}if(/\s$/.test(M)){I.push("")}}for(var J=0,G=I.length;J<G;++J){H=z[N.engine](E,B?n.textAlign(I[J],C,J,G):I[J],C,N,F,D,J<G-1);if(H){K.appendChild(H)}}return K}function l(D,M){var C=D.nodeName.toLowerCase();if(M.ignore[C]){return}var E=!M.textless[C];var B=n.getStyle(v(D,M)).extend(M);var F=c(D,B),G,K,I,H,L,J;if(!F){return}for(G=D.firstChild;G;G=I){K=G.nodeType;I=G.nextSibling;if(E&&K==3){if(H){H.appendData(G.data);D.removeChild(G)}else{H=G}if(I){continue}}if(H){D.replaceChild(o(F,n.whiteSpace(H.data,B,H,J),B,M,G,D),H);H=null}if(K==1){if(G.firstChild){if(G.nodeName.toLowerCase()=="cufon"){z[M.engine](F,null,B,M,G,D)}else{arguments.callee(G,M)}}J=G}}}var t=" ".split(/\s+/).length==0;var d=new A();var b=new r();var y=new u();var e=false;var z={},i={},w={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(B){return jQuery(B)})||(window.dojo&&dojo.query)||(window.Ext&&Ext.query)||(window.YAHOO&&YAHOO.util&&YAHOO.util.Selector&&YAHOO.util.Selector.query)||(window.$$&&function(B){return $$(B)})||(window.$&&function(B){return $(B)})||(document.querySelectorAll&&function(B){return document.querySelectorAll(B)})||g),separate:"words",textless:{dl:1,html:1,ol:1,table:1,tbody:1,thead:1,tfoot:1,tr:1,ul:1},textShadow:"none"};var p={words:/\s/.test("\u00a0")?/[^\S\u00a0]+/:/\s+/,characters:"",none:/^/};m.now=function(){x.ready();return m};m.refresh=function(){y.repeat.apply(y,arguments);return m};m.registerEngine=function(C,B){if(!B){return m}z[C]=B;return m.set("engine",C)};m.registerFont=function(D){if(!D){return m}var B=new s(D),C=B.family;if(!i[C]){i[C]=new f()}i[C].add(B);return m.set("fontFamily",'"'+C+'"')};m.replace=function(D,C,B){C=h(w,C);if(!C.engine){return m}if(!e){n.addClass(x.root(),"cufon-active cufon-loading");n.ready(function(){n.addClass(n.removeClass(x.root(),"cufon-loading"),"cufon-ready")});e=true}if(C.hover){C.forceHitArea=true}if(C.autoDetect){delete C.fontFamily}if(typeof C.textShadow=="string"){C.textShadow=n.textShadow(C.textShadow)}if(typeof C.color=="string"&&/^-/.test(C.color)){C.textGradient=n.gradient(C.color)}else{delete C.textGradient}if(!B){y.add(D,arguments)}if(D.nodeType||typeof D=="string"){D=[D]}n.ready(function(){for(var F=0,E=D.length;F<E;++F){var G=D[F];if(typeof G=="string"){m.replace(C.selector(G),C,true)}else{l(G,C)}}});return m};m.set=function(B,C){w[B]=C;return m};return m})();Cufon.registerEngine("canvas",(function(){var b=document.createElement("canvas");if(!b||!b.getContext||!b.getContext.apply){return}b=null;var a=Cufon.CSS.supports("display","inline-block");var e=!a&&(document.compatMode=="BackCompat"||/frameset|transitional/i.test(document.doctype.publicId));var f=document.createElement("style");f.type="text/css";f.appendChild(document.createTextNode(("cufon{text-indent:0;}@media screen,projection{cufon{display:inline;display:inline-block;position:relative;vertical-align:middle;"+(e?"":"font-size:1px;line-height:1px;")+"}cufon cufontext{display:-moz-inline-box;display:inline-block;width:0;height:0;overflow:hidden;text-indent:-10000in;}"+(a?"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(f);function d(p,h){var n=0,m=0;var g=[],o=/([mrvxe])([^a-z]*)/g,k;generate:for(var j=0;k=o.exec(p);++j){var l=k[2].split(",");switch(k[1]){case"v":g[j]={m:"bezierCurveTo",a:[n+~~l[0],m+~~l[1],n+~~l[2],m+~~l[3],n+=~~l[4],m+=~~l[5]]};break;case"r":g[j]={m:"lineTo",a:[n+=~~l[0],m+=~~l[1]]};break;case"m":g[j]={m:"moveTo",a:[n=~~l[0],m=~~l[1]]};break;case"x":g[j]={m:"closePath"};break;case"e":break generate}h[g[j].m].apply(h,g[j].a)}return g}function c(m,k){for(var j=0,h=m.length;j<h;++j){var g=m[j];k[g.m].apply(k,g.a)}}return function(V,w,P,t,C,W){var k=(w===null);if(k){w=C.getAttribute("alt")}var A=V.viewBox;var m=P.getSize("fontSize",V.baseSize);var B=0,O=0,N=0,u=0;var z=t.textShadow,L=[];if(z){for(var U=z.length;U--;){var F=z[U];var K=m.convertFrom(parseFloat(F.offX));var I=m.convertFrom(parseFloat(F.offY));L[U]=[K,I];if(I<B){B=I}if(K>O){O=K}if(I>N){N=I}if(K<u){u=K}}}var Z=Cufon.CSS.textTransform(w,P).split("");var E=V.spacing(Z,~~m.convertFrom(parseFloat(P.get("letterSpacing"))||0),~~m.convertFrom(parseFloat(P.get("wordSpacing"))||0));if(!E.length){return null}var h=E.total;O+=A.width-E[E.length-1];u+=A.minX;var s,n;if(k){s=C;n=C.firstChild}else{s=document.createElement("cufon");s.className="cufon cufon-canvas";s.setAttribute("alt",w);n=document.createElement("canvas");s.appendChild(n);if(t.printable){var S=document.createElement("cufontext");S.appendChild(document.createTextNode(w));s.appendChild(S)}}var aa=s.style;var H=n.style;var j=m.convert(A.height);var Y=Math.ceil(j);var M=Y/j;var G=M*Cufon.CSS.fontStretch(P.get("fontStretch"));var J=h*G;var Q=Math.ceil(m.convert(J+O-u));var o=Math.ceil(m.convert(A.height-B+N));n.width=Q;n.height=o;H.width=Q+"px";H.height=o+"px";B+=A.minY;H.top=Math.round(m.convert(B-V.ascent))+"px";H.left=Math.round(m.convert(u))+"px";var r=Math.max(Math.ceil(m.convert(J)),0)+"px";if(a){aa.width=r;aa.height=m.convert(V.height)+"px"}else{aa.paddingLeft=r;aa.paddingBottom=(m.convert(V.height)-1)+"px"}var X=n.getContext("2d"),D=j/A.height;X.scale(D,D*M);X.translate(-u,-B);X.save();function T(){var x=V.glyphs,ab,l=-1,g=-1,y;X.scale(G,1);while(y=Z[++l]){var ab=x[Z[l]]||V.missingGlyph;if(!ab){continue}if(ab.d){X.beginPath();if(ab.code){c(ab.code,X)}else{ab.code=d("m"+ab.d,X)}X.fill()}X.translate(E[++g],0)}X.restore()}if(z){for(var U=z.length;U--;){var F=z[U];X.save();X.fillStyle=F.color;X.translate.apply(X,L[U]);T()}}var q=t.textGradient;if(q){var v=q.stops,p=X.createLinearGradient(0,A.minY,0,A.maxY);for(var U=0,R=v.length;U<R;++U){p.addColorStop.apply(p,v[U])}X.fillStyle=p}else{X.fillStyle=P.get("color")}T();return s}})());Cufon.registerEngine("vml",(function(){var e=document.namespaces;if(!e){return}e.add("cvml","urn:schemas-microsoft-com:vml");e=null;var b=document.createElement("cvml:shape");b.style.behavior="url(#default#VML)";if(!b.coordsize){return}b=null;var h=(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:'+(h?"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 c(i,j){return a(i,/(?:em|ex|%)$|^[a-z-]+$/i.test(j)?"1em":j)}function a(l,m){if(m==="0"){return 0}if(/px$/i.test(m)){return parseFloat(m)}var k=l.style.left,j=l.runtimeStyle.left;l.runtimeStyle.left=l.currentStyle.left;l.style.left=m.replace("%","em");var i=l.style.pixelLeft;l.style.left=k;l.runtimeStyle.left=j;return i}function f(l,k,j,n){var i="computed"+n,m=k[i];if(isNaN(m)){m=k.get(n);k[i]=m=(m=="normal")?0:~~j.convertFrom(a(l,m))}return m}var g={};function d(p){var q=p.id;if(!g[q]){var n=p.stops,o=document.createElement("cvml:fill"),i=[];o.type="gradient";o.angle=180;o.focus="0";o.method="sigma";o.color=n[0][1];for(var m=1,l=n.length-1;m<l;++m){i.push(n[m][0]*100+"% "+n[m][1])}o.colors=i.join(",");o.color2=n[l][1];g[q]=o}return g[q]}return function(ac,G,Y,C,K,ad,W){var n=(G===null);if(n){G=K.alt}var I=ac.viewBox;var p=Y.computedFontSize||(Y.computedFontSize=new Cufon.CSS.Size(c(ad,Y.get("fontSize"))+"px",ac.baseSize));var y,q;if(n){y=K;q=K.firstChild}else{y=document.createElement("cufon");y.className="cufon cufon-vml";y.alt=G;q=document.createElement("cufoncanvas");y.appendChild(q);if(C.printable){var Z=document.createElement("cufontext");Z.appendChild(document.createTextNode(G));y.appendChild(Z)}if(!W){y.appendChild(document.createElement("cvml:shape"))}}var ai=y.style;var R=q.style;var l=p.convert(I.height),af=Math.ceil(l);var V=af/l;var P=V*Cufon.CSS.fontStretch(Y.get("fontStretch"));var U=I.minX,T=I.minY;R.height=af;R.top=Math.round(p.convert(T-ac.ascent));R.left=Math.round(p.convert(U));ai.height=p.convert(ac.height)+"px";var F=Y.get("color");var ag=Cufon.CSS.textTransform(G,Y).split("");var L=ac.spacing(ag,f(ad,Y,p,"letterSpacing"),f(ad,Y,p,"wordSpacing"));if(!L.length){return null}var k=L.total;var x=-U+k+(I.width-L[L.length-1]);var ah=p.convert(x*P),X=Math.round(ah);var O=x+","+I.height,m;var J="r"+O+"ns";var u=C.textGradient&&d(C.textGradient);var o=ac.glyphs,S=0;var H=C.textShadow;var ab=-1,aa=0,w;while(w=ag[++ab]){var D=o[ag[ab]]||ac.missingGlyph,v;if(!D){continue}if(n){v=q.childNodes[aa];while(v.firstChild){v.removeChild(v.firstChild)}}else{v=document.createElement("cvml:shape");q.appendChild(v)}v.stroked="f";v.coordsize=O;v.coordorigin=m=(U-S)+","+T;v.path=(D.d?"m"+D.d+"xe":"")+"m"+m+J;v.fillcolor=F;if(u){v.appendChild(u.cloneNode(false))}var ae=v.style;ae.width=X;ae.height=af;if(H){var s=H[0],r=H[1];var B=Cufon.CSS.color(s.color),z;var N=document.createElement("cvml:shadow");N.on="t";N.color=B.color;N.offset=s.offX+","+s.offY;if(r){z=Cufon.CSS.color(r.color);N.type="double";N.color2=z.color;N.offset2=r.offX+","+r.offY}N.opacity=B.opacity||(z&&z.opacity)||1;v.appendChild(N)}S+=L[aa++]}var M=v.nextSibling,t,A;if(C.forceHitArea){if(!M){M=document.createElement("cvml:rect");M.stroked="f";M.className="cufon-vml-cover";t=document.createElement("cvml:fill");t.opacity=0;M.appendChild(t);q.appendChild(M)}A=M.style;A.width=X;A.height=af}else{if(M){q.removeChild(M)}}ai.width=Math.max(Math.ceil(p.convert(k*P)),0);if(h){var Q=Y.computedYAdjust;if(Q===undefined){var E=Y.get("lineHeight");if(E=="normal"){E="1em"}else{if(!isNaN(E)){E+="em"}}Y.computedYAdjust=Q=0.5*(a(ad,E)-parseFloat(ai.height))}if(Q){ai.marginTop=Math.ceil(Q)+"px";ai.marginBottom=Q+"px"}}return y}})());

/*!
 * The following copyright notice may not be removed under any circumstances.
 * 
 * Copyright:
 * Copyright (c) Typographer Mediengestaltung, 2000. All rights reserved. Added to
 * full character set by Dieter Steffmann.
 */
Cufon.registerFont((function(f){var b=_cufon_bridge_={p:[{"d":"64,-9v35,0,94,-47,69,-86v-48,0,-81,3,-99,9v0,-6,4,-10,12,-12v42,-8,80,-12,113,-12v20,0,30,1,30,5v0,2,-11,5,-33,9v1,52,-39,97,-88,98v-45,1,-67,-30,-68,-75v-1,-52,25,-123,58,-160v6,-7,16,-8,27,-8v13,1,67,18,67,52v0,33,-3,50,-11,50v-20,0,-13,-42,-11,-61v1,-14,-24,-30,-39,-29v-12,0,-24,12,-36,35v-24,44,-37,87,-37,126v0,39,16,59,46,59","w":189},{"d":"161,-244v11,-11,44,5,33,28v3,60,15,170,46,214v-2,5,-11,3,-19,2v-9,-11,-18,-38,-28,-81r-84,5v-16,23,-43,85,-76,85v-20,0,-34,-9,-42,-26v2,-5,5,-3,9,-2v0,7,6,10,18,10v42,-3,54,-26,74,-65v-10,-4,-29,6,-31,-4v0,-2,13,-4,39,-7v13,-24,63,-125,61,-159xm191,-89v-8,-43,-9,-92,-21,-130v-19,35,-35,99,-56,132","w":243},{"d":"37,-248v21,-2,13,27,21,39r9,31v-27,-2,-18,-45,-30,-70xm49,-172v0,3,-2,5,-6,5v-12,-8,-20,-55,-24,-70v20,2,13,12,20,30v5,14,4,14,10,35"},{"d":"9,-37v0,11,4,28,14,28v14,0,26,-25,38,-77v4,-14,1,-17,8,-21v2,0,3,3,3,7v-6,31,-20,100,-46,101v-22,1,-30,-25,-30,-51v0,-22,12,-83,29,-81v9,-1,26,24,11,29v-3,0,-7,-2,-13,-6v-10,12,-14,35,-14,71","w":59},{"d":"95,-58v17,-15,24,-63,27,-92v-7,-4,-6,-25,-14,-23v-17,19,-29,72,-21,109v2,5,5,6,8,6xm143,-57v-12,1,-22,-15,-26,-25v-6,23,-14,34,-24,34v-38,-4,-13,-129,7,-137v26,-3,18,24,39,26v-8,29,-24,79,5,91v54,-27,30,-153,-32,-147v-55,5,-88,72,-88,132v0,43,26,79,67,79v21,0,45,-20,62,-32v6,0,4,9,3,14v-49,54,-148,24,-148,-57v0,-66,36,-142,104,-146v41,-2,76,47,74,90v-2,33,-6,78,-43,78","w":196},{"d":"32,-187v-9,2,-49,-21,-28,-30v12,-1,32,20,28,30","w":84},{"d":"60,-10v27,-11,27,-69,43,-97v9,21,-13,50,-16,74v-8,22,-16,34,-25,34v-23,0,-23,-14,-30,-46v-2,1,-9,5,-19,12v0,15,-1,62,-13,23v-7,-75,18,-154,13,-224v1,-5,4,-8,8,-8v27,16,-4,51,-2,94v-4,25,-6,50,-8,76v9,-10,20,-60,40,-63v24,2,21,34,9,50v-3,9,-17,17,-17,37v-1,16,5,38,17,38xm17,-47v15,3,43,-56,41,-71v0,-5,-1,-8,-5,-8v-17,3,-34,68,-36,79","w":93},{"d":"46,-107v10,13,-24,128,-45,104v-1,-4,5,-5,6,-6v16,-7,26,-75,39,-98","w":36},{"d":"-1,43r0,-15r182,0r0,15r-182,0","w":180},{"d":"118,-10v20,-9,24,-60,41,-97v17,13,-43,171,-60,77r-1,-38v-7,25,-13,61,-31,68v-27,-6,-1,-67,-12,-91v-14,16,-14,97,-38,97v-7,0,-11,-12,-11,-35v-1,-18,4,-40,-2,-53v-5,-28,17,-34,17,-11v0,25,-8,56,-3,83v17,-25,16,-93,39,-100v22,8,-1,70,10,91v5,0,12,-15,20,-44v8,-27,10,-43,9,-47v4,-7,14,-4,22,2v-6,27,-9,50,-9,70v0,18,3,28,9,28","w":149},{"d":"17,-59v2,-31,53,-63,77,-27v10,25,57,30,59,-7v0,-4,3,-6,7,-6v5,0,7,3,7,8v0,21,-21,39,-42,39v-28,0,-39,-32,-59,-37v-25,-1,-26,25,-43,34v-4,0,-6,-1,-6,-4","w":181},{"d":"21,-12v-4,3,-24,60,-32,37r23,-47v6,3,9,6,9,10","w":55},{"d":"40,-235v11,6,-2,11,-4,18v7,-1,23,-2,17,6v-6,1,-26,0,-12,12v2,3,9,9,1,10v-2,0,-7,-6,-14,-17v-4,7,-11,22,-15,13r4,-12v-5,0,-15,6,-17,0v1,-5,16,-8,22,-10v0,-2,-11,-16,-5,-20v1,0,5,5,12,15v3,-6,7,-11,11,-15","w":78},{"d":"95,-76v-8,19,-52,12,-77,12v0,-16,55,-10,77,-12","w":105},{"d":"76,-104r4,133v-4,12,-41,7,-58,7v-10,0,-6,-16,0,-17v12,4,27,6,39,0v8,-57,5,-202,-3,-245v-10,-9,-36,6,-44,-5v6,-16,35,-8,56,-12v4,0,6,1,6,4r0,135","w":97},{"d":"61,-227v7,47,-5,109,31,125v7,1,6,16,0,18v-34,7,-24,49,-29,87v7,39,-5,51,-46,51v-9,0,-9,-8,-3,-10v12,0,30,2,33,-7v5,-19,-3,-116,24,-118v26,-11,-4,-28,-11,-38v-9,-25,-10,-65,-10,-98v0,-20,-29,-10,-37,-20v6,-6,53,-2,48,10","w":111},{"d":"70,5v-108,0,-70,-196,-22,-246v12,-13,16,-10,29,-10v48,0,71,36,71,99v0,73,-19,157,-78,157xm84,-240v-36,0,-65,109,-65,154v0,53,17,80,49,80v45,0,67,-50,67,-148v0,-44,-14,-86,-51,-86","w":156},{"d":"59,-62v27,16,29,-24,39,-45v12,16,-12,77,-40,56v-5,21,-10,54,-32,54v-18,0,-26,-17,-26,-53v0,-36,5,-45,9,-66v2,-8,5,-24,14,-22v32,11,38,20,36,76xm28,-7v27,-19,14,-68,14,-105v0,-8,-3,-12,-11,-12v-14,10,-34,113,-3,117","w":88},{"d":"48,-240v13,2,15,3,18,14v69,-10,88,-22,132,0v16,8,23,21,23,36v-11,48,-98,82,-135,92v18,38,58,97,112,87v4,4,-14,11,-14,11v-60,-6,-85,-54,-122,-91v-4,0,-6,6,-7,19v-1,29,-3,52,3,80v-1,3,-3,5,-5,5v-17,-4,-14,-32,-13,-53r8,-164v-4,-1,-60,19,-47,28v-4,4,-9,1,-9,-6v-1,-14,39,-28,54,-36v3,-3,0,-18,2,-22xm58,-104v57,-10,141,-36,141,-94v0,-19,-14,-28,-43,-28v-25,0,-55,5,-90,16","w":200},{"d":"5,38v50,-51,27,-244,-2,-289v1,-9,20,-5,21,2v17,76,32,176,11,257v-7,25,-17,41,-30,30","w":63},{"d":"108,-79r-69,71r-12,-13r69,-70r-69,-70r12,-13r69,71r69,-71r12,13r-69,70r69,70r-12,13","w":216},{"d":"80,-231v-29,5,-84,124,-29,147v31,13,89,24,93,61v-11,52,-107,34,-145,12v-8,-4,-12,-12,-4,-16v9,17,61,22,91,24v37,2,50,-24,29,-39r-83,-36v-17,-7,-24,-21,-24,-43v0,-23,26,-122,63,-122v45,0,65,46,60,100v2,24,-15,30,-16,9v0,-36,0,-94,-35,-97","w":154},{"d":"24,-171v-3,-15,-18,-53,-19,-66v19,2,13,11,19,29v5,15,5,14,11,36v1,3,0,4,-5,4v-4,0,-6,-1,-6,-3","w":45},{"d":"-6,-27v0,-39,20,-146,50,-81v-1,-11,7,-9,11,-4v4,47,-3,107,8,164v6,-22,16,-49,25,-71v1,-1,3,-1,5,-1v-11,37,-37,78,-22,122v-3,7,-24,2,-17,-8r-10,-140v-10,28,-9,45,-29,51v-15,0,-21,-11,-21,-32xm27,-115v-20,12,-22,67,-22,101v1,7,4,10,9,10v12,3,31,-80,30,-94v-3,-2,-9,-17,-17,-17","w":79},{"d":"13,-2v16,-14,25,-61,27,-93v-5,-5,-5,-24,-13,-22v-18,17,-28,69,-22,108v2,5,5,7,8,7xm94,-107v10,23,-33,166,-58,81v-6,22,-14,33,-24,33v-41,0,-13,-126,6,-137v26,-2,18,24,39,26v-6,18,-10,39,-12,64v-1,11,2,31,10,30v8,0,20,-29,34,-88v1,-6,3,-9,5,-9","w":84},{"d":"55,64v-27,-64,-5,-269,14,-310v3,0,4,2,4,6v-9,80,-26,211,-4,292v-1,8,-2,16,-14,12","w":97},{"d":"71,-123v-7,21,-11,48,-11,73v0,23,4,35,11,35v17,0,26,-72,38,-92v12,23,-41,164,-59,72v-8,13,-9,38,-28,38v-25,0,-20,-45,-18,-74v2,-30,-3,-41,10,-44v10,0,10,14,7,24v-6,19,-6,44,-6,69v0,11,2,16,7,16v25,-20,32,-69,32,-114v0,-12,17,-11,17,-3","w":99},{"d":"60,28v12,-4,44,-14,46,2v-13,6,-25,-6,-44,6v6,57,-9,113,-52,109v-25,-2,-38,-16,-40,-41v-2,-33,51,-68,81,-73v0,-26,-1,-46,-5,-60v-5,10,-11,32,-24,32v-37,-7,-18,-62,-18,-106v0,-14,11,-22,15,-11r-7,80v0,19,4,29,10,29v6,0,18,-17,23,-54r8,-65v-1,-9,14,-14,16,-5v-9,33,-15,104,-9,157xm7,138v39,0,48,-53,45,-99v-33,9,-71,33,-71,69v0,17,10,30,26,30xm-26,1v-13,0,-9,-9,-2,-10v15,-7,25,-77,38,-98v13,11,-28,111,-36,108","w":86},{"d":"27,-112v51,-31,116,-81,141,-123v22,37,-56,71,-82,100r-60,41v2,18,103,79,134,72v12,0,9,6,3,10v-3,4,-5,6,-7,6v-39,-12,-91,-38,-131,-60v1,21,-3,52,6,63v-13,10,-21,-1,-21,-27r0,-45v-12,-5,-24,-19,-7,-25v4,-2,5,-2,10,-5v1,-39,10,-84,4,-124v7,-12,13,-17,16,-17v6,0,9,4,9,12v0,-6,0,-9,-1,-7v-7,35,-11,91,-14,129","w":168},{"d":"21,-114v40,-52,110,-24,110,39v0,39,-25,76,-63,75v-44,-1,-67,-33,-68,-78v-1,-42,30,-167,66,-162v24,4,56,15,56,48v0,8,-2,17,-6,29v-14,-1,-16,-7,-16,-23v0,-43,-27,-54,-44,-23v-16,30,-30,49,-35,95xm67,-10v49,0,71,-119,6,-120v-37,-1,-56,28,-55,66v0,36,16,54,49,54","w":152},{"d":"92,-95v0,-46,3,-97,-5,-133v0,-6,3,-9,10,-9v13,0,20,3,20,10v0,-6,-1,-7,-1,-7v-7,48,-11,117,-9,174v1,36,-3,58,-29,60v-20,2,-92,-31,-90,-49v0,-5,3,-8,9,-8v21,10,36,44,62,42v32,-3,33,-36,33,-80","w":129},{"d":"26,-130v-10,-26,20,-75,24,-99v5,-10,14,-14,26,-13r36,103v0,2,-1,4,-3,4v-12,-6,-37,-62,-41,-88v-24,18,-19,70,-42,93","w":112},{"d":"81,-107v13,18,-28,118,-44,112v-23,1,-37,-41,-37,-69v0,-42,11,-127,23,-157v1,-16,5,-25,12,-25v16,0,24,12,24,36v0,52,-26,118,-48,151v-1,23,10,47,26,52v9,0,20,-23,34,-71v2,-8,4,-25,10,-29xm12,-84v17,-29,49,-107,30,-148v-20,66,-30,114,-30,148","w":71},{"d":"66,-241v17,18,-14,46,-19,66v-2,8,-10,12,-11,3v7,-20,22,-48,30,-69xm53,-240v-1,0,-25,81,-36,60v0,-5,25,-46,29,-66v5,3,7,5,7,6"},{"d":"91,-72v1,23,11,73,30,72v27,6,51,-112,55,-160v2,-28,7,-59,2,-82v9,-7,13,-2,13,13v0,59,-5,113,-16,160v-13,55,-29,82,-50,82v-74,0,-46,-147,-43,-215v0,-17,-3,-25,-11,-25v-28,8,-67,72,-74,106v-3,0,-5,-2,-5,-7v-3,-24,49,-116,77,-113v57,8,20,122,22,169","w":197},{"w":75},{"d":"-5,-244v25,9,-8,50,-15,64v-4,0,-6,-2,-6,-6v5,-10,12,-29,21,-58","w":0},{"d":"35,-244v25,9,-8,50,-15,64v-4,0,-6,-2,-6,-6v5,-10,12,-29,21,-58","w":45},{"d":"25,-7v-1,-11,22,-18,22,-3v0,9,-4,13,-11,13v-7,0,-11,-3,-11,-10xm169,-7v-1,-11,22,-18,22,-3v0,9,-4,13,-11,13v-7,0,-11,-3,-11,-10xm97,-7v-1,-11,22,-18,22,-3v0,9,-4,13,-11,13v-7,0,-11,-3,-11,-10","w":216},{"d":"27,-12v35,-2,85,-3,107,6v-2,18,-28,1,-50,6v-21,-1,-59,10,-74,10v-17,0,-21,-13,-7,-22v49,-30,82,-106,88,-172v1,-19,-16,-32,-35,-31v-39,2,-17,91,-46,101v-6,0,-9,-5,-9,-13v9,-34,13,-95,48,-99v31,-4,66,25,65,53v-2,52,-54,125,-87,161","w":144},{"d":"318,-253v-7,37,-28,154,10,171v-3,5,-6,7,-8,7v-30,-8,-27,-94,-25,-139v-11,28,-29,116,-50,117v-25,-5,-28,-66,-35,-111v-17,36,-40,163,-97,108v54,9,51,-12,79,-86v10,-26,12,-48,12,-66v0,-18,13,-15,25,-4v-6,34,-4,132,18,144v18,-17,42,-105,47,-148v11,1,22,1,24,7xm16,-248v38,-10,114,-11,164,-12v12,-1,9,11,1,11r-69,2v-8,49,-17,100,-12,155v-11,-2,-14,-9,-14,-24r7,-128v-33,-2,-125,22,-59,22v17,0,34,-3,51,-8v-10,18,-34,16,-54,18v-29,3,-39,-30,-15,-36","w":339},{"d":"52,-224v43,1,43,52,52,88v29,-41,58,-73,86,-97v11,8,-13,25,-19,33v-24,30,-48,54,-63,81v15,64,22,81,42,116v6,9,16,15,28,15v-1,6,-1,4,-8,5v-47,-7,-61,-67,-76,-116v-39,69,-62,81,-54,111v-10,-1,-16,-5,-16,-13v-7,-7,69,-113,65,-116v-9,-29,-9,-87,-33,-95v-19,-3,-55,67,-45,89v0,3,-2,5,-5,5v-4,0,-6,-4,-6,-11v-2,-33,25,-96,52,-95","w":178},{"d":"67,-249v45,9,77,29,77,100v0,55,-15,139,-50,154v19,6,32,9,48,9v-10,18,-46,-4,-70,1v-28,0,-46,1,-61,12v-2,0,-3,-1,-3,-4v-2,-9,33,-18,32,-20v-27,-16,-40,-51,-40,-105v0,-50,14,-140,67,-147xm68,0v43,1,60,-81,59,-137v-1,-64,-3,-87,-45,-98v-25,2,-31,17,-41,39v-16,35,-23,71,-23,109v-1,43,13,87,50,87","w":149},{"d":"62,-15v17,-13,14,-79,14,-112v0,-15,13,-12,13,-1r2,52v7,14,26,5,26,-12v0,-7,7,-27,10,-15v-2,21,-14,62,-40,39v-5,20,-4,57,-24,58v-9,0,-16,-9,-22,-29v-5,24,-13,36,-22,36v-15,4,-24,-33,-19,-63v3,-18,-4,-81,23,-57v-9,23,-13,49,-13,79v0,20,4,30,12,30v17,-26,18,-67,17,-103v12,-10,20,3,14,16r-4,42v2,2,-1,39,13,40","w":114},{"d":"-10,73v-1,-63,19,-138,14,-200v0,-3,1,-4,5,-4v14,2,3,28,6,45v3,-9,17,-46,24,-46v22,1,26,11,28,36v4,53,-28,137,-59,85v-6,35,-12,92,-1,125v0,1,-2,2,-5,2v-8,0,-12,-14,-12,-43xm28,-3v20,-4,28,-59,28,-93v0,-26,-12,-38,-20,-19v-9,22,-27,73,-25,82v9,4,7,7,4,12v0,8,5,20,13,18","w":93},{"d":"7,-229v27,-4,68,-10,100,-10v3,0,7,4,13,11v-46,82,-114,187,-101,222v-12,0,-17,-3,-17,-8v0,-29,61,-156,82,-202v-21,-11,-67,1,-86,10v-11,-6,-6,-20,9,-23","w":122},{"d":"17,-72v28,-5,154,2,194,-4v-11,20,-46,12,-81,12v-40,0,-85,5,-121,0v0,-4,3,-7,8,-8","w":216},{"d":"22,-19v16,-33,20,-75,30,-111v12,1,18,5,18,12v0,-5,0,-6,-1,-3v-3,23,-14,101,4,108v17,-3,26,-74,39,-94v10,16,-30,113,-38,107v-24,-6,-21,-52,-23,-87v-5,15,-15,50,-19,70v-4,22,-21,20,-24,0v-4,-24,1,-56,-4,-76v-3,-15,14,-24,18,-12v-6,17,-9,72,0,86","w":101},{"d":"10,-54v18,-17,68,-33,96,-38v-16,-11,-40,-21,-74,-31v-15,-4,-22,-8,-21,-12v32,-10,74,16,100,29v13,7,18,23,5,28v-30,-4,-75,19,-103,29v-2,0,-3,-2,-3,-5","w":138},{"d":"28,-17v14,-13,31,-81,21,-114v0,-1,0,-2,2,-2v26,19,-3,128,-24,130v-27,-5,-22,-74,-21,-106v22,-5,11,29,11,48v0,30,4,44,11,44","w":82},{"d":"36,-15v19,10,20,12,29,31v14,-3,47,-7,37,8v-11,-3,-24,-2,-35,0v12,45,-4,112,-45,112v-22,0,-45,-19,-45,-42v0,-28,26,-53,77,-75v-3,-12,-10,-23,-22,-29v-8,11,-25,13,-28,0v0,-6,7,-9,19,-9v23,-28,33,-45,34,-91v0,-17,-5,-25,-16,-25v-19,-1,-27,31,-32,44v-13,-13,12,-59,27,-56v20,0,32,17,32,38v0,35,-10,66,-32,94xm17,126v36,-1,51,-59,41,-99v-29,5,-67,40,-67,72v-1,16,10,28,26,27","w":98},{"d":"24,-115v44,-27,110,-1,110,53v0,43,-32,72,-76,72v-20,0,-69,-12,-67,-29v11,-24,42,24,60,18v37,1,64,-31,64,-70v0,-58,-67,-44,-94,-18v-27,-12,-5,-58,-8,-92v-3,-32,2,-31,54,-35v31,-2,44,-6,59,0v-13,24,-80,13,-94,27","w":156},{"d":"13,-72v6,-13,14,-56,29,-52v15,0,22,11,22,32v0,37,-19,140,-47,85v-8,8,-19,2,-16,-10v-3,-80,13,-141,17,-216v3,-5,20,-5,18,6v-8,48,-21,104,-23,155xm31,-3v17,-7,21,-54,22,-82v0,-20,-2,-30,-8,-30v-13,-4,-31,80,-31,94v3,2,10,18,17,18","w":90},{"d":"22,-186v-17,1,-19,-24,-4,-26v8,0,13,4,13,13v0,9,-3,13,-9,13xm20,-112v-6,20,-13,58,-12,77v1,30,14,32,23,6v9,-25,14,-56,26,-78v7,17,-16,106,-39,107v-36,-10,-13,-76,-14,-115v4,-4,17,-2,16,3","w":47},{"d":"32,-165v-38,6,-54,-45,-20,-49r86,-10r148,-6v12,-2,12,12,2,12v-32,0,-66,1,-101,4v-5,74,-25,145,-18,220v-15,-1,-17,-14,-17,-31v-2,-46,15,-132,10,-185v-6,-1,-19,0,-37,1v-54,4,-81,11,-81,21v0,8,11,12,33,12v24,0,47,-4,68,-10v-10,21,-54,18,-73,21","w":200},{"d":"76,-102v-9,29,-9,83,-41,90v14,50,13,105,-3,138v-27,11,-38,-16,-37,-66v1,-97,10,-195,25,-293v4,-3,18,-3,22,2v-23,48,-25,121,-31,181v11,5,14,11,21,29v25,-1,27,-61,41,-86v2,0,3,2,3,5xm22,120v21,-21,15,-104,3,-131v-6,-3,-11,-8,-14,-15v-3,43,-4,70,-4,102v0,14,7,47,15,44","w":63},{"d":"12,-26v-1,8,11,23,19,22v12,0,24,-27,38,-82v6,-18,6,-27,12,-16v-11,40,-17,107,-51,107v-50,0,-33,-122,-8,-136v10,-1,21,9,21,18v0,27,-16,65,-31,87xm10,-39v11,-7,33,-67,18,-82v-15,21,-17,58,-18,82","w":68},{"d":"30,-76v-11,2,-15,-16,-5,-20v17,2,20,18,5,20xm17,-10v-1,-5,5,-11,9,-10v7,0,10,4,10,10v0,7,-3,10,-10,10v-6,0,-9,-3,-9,-10","w":52},{"d":"26,-131v-14,28,15,74,14,101v0,17,-7,37,-24,36v-12,2,-31,-17,-21,-28v4,6,8,21,15,19v32,-4,11,-67,2,-88v-6,12,-5,45,-21,42v10,-37,15,-64,15,-80v0,-6,3,-9,9,-9v7,0,11,2,11,7","w":59},{"d":"83,-123r14,36v31,1,88,-6,107,5v-1,8,-19,4,-28,5v-9,-1,-38,46,-43,47v7,6,18,26,35,33v-18,15,-31,-19,-42,-26v-40,40,-104,36,-108,-21v-2,-37,32,-62,50,-85v-17,-43,-17,-104,23,-111v21,-3,43,22,41,43v-2,30,-28,49,-49,74xm78,-140v10,-8,48,-51,43,-63v-2,-15,-8,-29,-25,-29v-28,7,-35,60,-18,92xm148,-76r-44,0v10,12,18,49,35,19v5,-9,9,-16,9,-19xm28,-34v0,46,78,26,88,1v-1,-3,-9,-17,-25,-42r-28,-2v0,-11,10,-4,22,-10v-2,-3,-6,-13,-12,-29v-30,20,-45,48,-45,82","w":214},{"d":"180,-246v16,7,14,24,14,61v0,48,-5,90,-16,127v-12,42,-28,63,-47,63v-21,7,-36,-39,-44,-62v-9,46,-23,69,-41,69v-57,0,-46,-158,-42,-231v0,-8,2,-12,8,-12v35,-3,8,50,7,66r-4,79v0,28,9,84,30,83v46,-28,44,-125,44,-201v10,-5,21,-4,27,4v-12,4,-31,188,14,195v42,-22,64,-164,46,-237v0,-2,2,-4,4,-4","w":201},{"d":"63,-228v-15,38,-23,124,-15,188v-32,-11,-13,-75,-13,-118v0,-37,4,-62,6,-76v6,-7,16,-4,22,6xm42,-24v14,-1,14,27,2,30v-18,0,-13,-26,-2,-30","w":72},{"d":"82,-115v71,17,42,130,-28,130v-24,0,-80,-31,-57,-55v20,13,20,47,54,45v34,-2,65,-55,48,-94v-11,-25,-33,-10,-54,-7v-4,-1,-6,-4,-6,-8v1,-13,15,-20,33,-16v20,-14,40,-96,-5,-96v-49,-12,-18,103,-47,97v-8,1,-12,-12,-12,-19v0,-25,13,-88,52,-88v68,0,67,73,22,111","w":146},{"d":"57,-205v-22,13,-53,13,-58,39v-4,2,-7,-5,-7,-8v3,-18,42,-32,68,-45v2,-20,-11,-25,6,-25v11,0,16,5,16,15v62,-24,113,6,113,66v0,63,-33,165,-89,172v-18,-3,-23,-16,-42,-21v0,0,4,15,-4,15v-18,0,-12,-39,-13,-58v-4,-55,7,-100,10,-150xm79,-15v59,37,99,-98,99,-156v0,-57,-61,-63,-98,-45v-6,19,-13,81,-18,186","w":197},{"d":"152,-135v-5,16,-33,11,-49,17v-1,16,-1,53,-18,42r5,-40r-31,6v-4,17,1,56,-22,44r6,-41r-37,9v-9,-1,-8,-15,1,-16r39,-8r4,-27r-44,10v-9,-1,-7,-15,1,-17r46,-9v3,-13,2,-53,18,-39r-4,36r31,-6v4,-14,0,-43,13,-45v7,11,1,15,0,43v13,0,33,-12,42,-3v-3,16,-30,10,-44,16r-4,32v15,-1,35,-11,47,-4xm65,-153r-5,29r32,-5r5,-31","w":163},{"d":"111,-122v-13,22,-56,7,-94,14v-5,0,-7,0,-7,-2v11,-22,62,-5,95,-14v4,0,6,0,6,2xm111,-81v-14,22,-56,7,-94,14v-5,0,-7,-1,-7,-3v12,-21,61,-5,95,-14v4,0,6,1,6,3","w":138},{"d":"89,10v-7,2,-54,-14,-56,-16v0,7,-1,10,-3,10v-17,3,-15,-42,-15,-67r7,-161v-13,-1,-25,3,-30,-7v-1,-2,9,-6,30,-8v-3,-21,17,-18,17,-3v54,-11,153,-17,159,38v-10,41,-45,50,-84,69v38,7,57,27,57,59v0,33,-49,89,-82,86xm34,-126v32,-3,147,-32,147,-85v0,-39,-103,-23,-141,-15v-4,29,-6,62,-6,100xm54,-8v46,32,103,-39,103,-77v0,-25,-20,-38,-59,-38v-79,0,-67,38,-67,104","w":189},{"w":75},{"d":"78,-247v14,-4,49,32,55,34v9,-7,14,-13,14,-27v30,40,-46,76,-66,103v36,23,66,40,69,80v3,34,-41,60,-76,60v-37,0,-75,-26,-74,-61v1,-32,28,-62,50,-81v-17,-16,-26,-30,-26,-44v-1,-28,27,-65,54,-64xm87,-234v-34,-2,-68,71,-24,85v3,2,62,-51,60,-53v-16,-23,-12,-30,-36,-32xm12,-54v0,60,120,46,120,-12v0,-22,-21,-44,-65,-64v-36,31,-55,57,-55,76","w":178},{"d":"30,-28v1,8,6,15,15,16v13,5,34,-41,42,-86v1,-9,7,-13,8,-4v-3,29,-33,141,-73,89v-1,2,-3,13,-8,34v-21,-6,-3,-13,4,-44v-6,-16,-3,-68,-12,-77v1,-6,1,-28,9,-27v19,2,1,75,12,83r40,-89v4,3,7,5,7,7v-7,18,-40,77,-44,98","w":82},{"d":"1,-64v12,-20,71,-8,105,-12v-14,22,-64,7,-98,14v-5,0,-7,0,-7,-2","w":108},{"d":"136,-40v40,19,65,60,117,64v-39,21,-85,-38,-121,-53v-11,24,-29,39,-62,39v-34,0,-78,-37,-74,-72v1,-11,9,-22,21,-22v36,0,76,18,106,33v4,-15,6,-37,6,-65v-12,1,-54,10,-40,-9v11,6,31,2,41,-3v6,-39,11,-61,12,-67v10,-38,21,-57,34,-57v17,0,48,40,49,66v-9,31,-45,50,-77,63v-1,26,-6,52,-12,83xm150,-136v31,-12,54,-24,56,-58v1,-14,-11,-40,-23,-40v-12,0,-23,32,-33,98xm11,-61v-1,44,97,96,109,23v-34,-23,-65,-35,-92,-35v-12,0,-17,4,-17,12","w":241},{"d":"75,-55v17,-1,44,-22,58,-4v-18,2,-39,7,-58,11v-2,18,3,34,2,47v-17,-2,-10,-25,-12,-43v-27,10,-50,-12,-50,-37v0,-15,11,-32,26,-31v13,0,23,10,30,29v3,-8,4,-44,19,-30v-8,16,-10,38,-15,58xm38,-103v-30,11,-11,53,17,50v8,0,12,-2,12,-8v0,-16,-13,-44,-29,-42","w":136},{"d":"66,-241v17,18,-14,46,-19,66v-2,8,-10,12,-11,3v7,-20,22,-48,30,-69xm53,-240v-1,0,-25,81,-36,60v0,-5,25,-46,29,-66v5,3,7,5,7,6"},{"d":"36,-111v0,54,12,136,45,150v-44,14,-55,-96,-56,-141v-2,-62,12,-96,25,-135v7,-21,17,-24,27,-11v-25,21,-41,94,-41,137","w":78},{"d":"59,-234v61,-15,138,-17,138,41v0,59,-84,91,-151,103v0,27,-7,81,8,91v-37,5,-19,-48,-25,-88v-2,0,-4,1,-7,0v0,-7,2,-11,8,-11v-1,-24,2,-83,5,-115v-14,3,-33,11,-41,18v-8,-28,23,-27,41,-34v-7,-21,22,-30,24,-9r0,4xm46,-101v60,-14,132,-41,132,-101v0,-46,-79,-25,-121,-18v-5,8,-11,102,-11,119","w":177},{"d":"31,-93v6,-1,12,6,12,12v0,6,-3,9,-10,9v-15,0,-14,-17,-2,-21xm37,-6v-2,1,-34,53,-37,32v7,-14,24,-24,28,-42v6,3,9,6,9,10","w":65},{"d":"95,-229v22,2,31,28,20,49v-8,59,-12,93,-12,102v24,-5,79,10,26,15r-26,-1v-5,23,-6,63,5,77v-15,9,-24,-7,-23,-33r1,-44v-23,-3,-55,8,-76,10v-18,-26,-19,-18,-2,-46r73,-117v5,-7,10,-12,14,-12xm87,-77r7,-128v-25,30,-66,81,-77,127v10,12,49,-1,70,1","w":168},{"d":"116,-156v1,5,-4,10,-13,15v-26,23,-54,39,-86,51v18,10,42,16,72,18v17,1,25,4,25,8v-27,14,-72,-3,-100,-11v-18,-5,-21,-28,1,-29v30,-10,77,-36,96,-55v2,-1,4,0,5,3","w":138},{"d":"82,-202v-20,65,-6,203,-76,211v-20,2,-31,-11,-19,-18v6,2,-1,10,12,9v28,0,50,-44,62,-133v7,-52,13,-82,10,-107v5,-14,34,-12,33,3v0,59,5,112,15,157v9,42,19,62,29,62v19,-54,5,-188,37,-233v14,2,2,14,1,21v-13,61,-23,153,-19,224v-3,14,-34,8,-39,-6v-19,-48,-37,-122,-46,-190","w":192},{"d":"1,-217v36,-20,79,-15,111,-16v2,0,4,2,5,4v-14,7,-33,9,-51,12v-11,41,-24,154,-14,208v9,-2,44,-2,40,3v-12,12,-87,16,-101,7v2,-5,34,-6,44,-8v-4,-67,3,-140,4,-209v-15,0,-27,0,-38,-1","w":108},{"d":"45,-191v-25,5,-22,64,-4,81r40,39v19,26,-2,63,-30,64v4,11,1,20,-1,33v-14,-1,-6,-22,-9,-38v-20,-11,-31,-20,-40,-46v11,-4,34,41,50,34v12,1,22,-12,20,-23v-9,-47,-58,-50,-58,-106v0,-30,9,-47,28,-49v0,-12,1,-23,4,-32v11,1,5,22,6,34v20,11,30,18,31,44v2,35,-18,53,-18,18v0,-21,-3,-56,-19,-53","w":95},{"d":"35,-211v-10,42,-15,89,-15,139v0,77,41,81,67,28v25,-50,24,-117,31,-187v0,-5,4,-7,10,-7v8,0,12,3,12,9v-20,68,-18,156,-13,240v2,38,-30,87,-67,87v-15,0,-87,-23,-81,-37v10,-24,51,35,68,27v58,7,70,-85,61,-162v-14,42,-24,69,-56,75v-82,-8,-34,-143,-41,-213v3,-20,9,-10,24,1","w":144},{"d":"86,-245v44,0,45,73,19,98v-20,31,-52,51,-62,92v-1,6,11,13,0,15v-5,0,-8,-7,-8,-20v4,-53,74,-92,76,-148v0,-17,-8,-25,-24,-25v-31,0,-93,59,-90,113v-6,1,-10,-2,-10,-12v4,-49,54,-113,99,-113xm32,-6v-3,-15,22,-21,23,-6v2,14,-22,24,-23,6","w":140},{"d":"94,-186v11,-12,32,-65,45,-40v-40,46,-119,169,-130,226v0,4,-7,4,-8,0v-1,-46,66,-142,93,-186","w":140},{"d":"109,-175v-13,14,-59,8,-87,9v-9,61,-10,79,-8,129v1,15,4,22,10,22v9,0,21,-25,32,-75v3,-15,6,-24,10,-11v1,14,-28,106,-43,98v-15,1,-23,-38,-22,-58v0,-32,5,-63,9,-105v-7,-3,-53,6,-56,-8v12,-6,35,-2,57,-4v0,-11,4,-24,0,-33v4,-5,20,-1,18,12r-4,22","w":52},{"d":"0,-86v2,-60,25,-187,94,-137v22,16,33,9,39,54v3,21,6,36,6,45v2,50,-31,127,-76,124v-45,-3,-65,-32,-63,-86xm60,-11v45,0,66,-75,65,-127v0,-40,-16,-81,-52,-81v-31,0,-54,106,-54,144v0,32,12,64,41,64","w":161},{"d":"14,-5v19,-11,33,-66,33,-101v0,-11,-4,-16,-11,-16v-21,2,-42,98,-22,117xm-7,-33v0,-35,20,-138,56,-96v7,-32,9,-70,15,-104v-1,-9,1,-12,9,-11v16,6,5,20,2,39v-9,49,-22,114,-22,169v0,17,3,26,8,27v15,-8,25,-75,38,-98v12,22,-43,177,-56,72v-7,15,-15,40,-28,40v-14,0,-22,-20,-22,-38"},{"d":"41,-208v-13,64,-22,143,-16,213v-22,9,-22,-16,-20,-45r9,-106v-21,-14,6,-47,5,-69v8,-4,23,-2,22,7","w":60},{"d":"147,-243v33,4,9,40,6,64r-10,74v14,1,30,3,41,-1v4,0,5,1,5,4v-5,10,-33,8,-48,10v0,34,-5,74,11,93v-6,4,-11,5,-16,5v-25,-23,-75,-69,-103,-79v-2,25,-4,53,2,74v-32,6,-15,-49,-17,-83v0,0,-26,2,-26,-7v0,-10,15,-10,26,-11v6,-66,13,-89,6,-129v17,3,23,5,23,25v0,33,-11,68,-10,101r91,-1r8,-131v0,-5,4,-8,11,-8xm127,-90r-78,-2v-22,-1,-15,12,-2,14v29,19,62,37,80,66r0,-78","w":189},{"d":"33,-208v2,18,-19,14,-21,4v0,-13,21,-20,21,-4xm11,16v20,-4,56,-1,45,19v-8,-10,-25,-16,-44,-11v4,51,6,109,-44,109v-29,1,-64,-21,-63,-48v13,-43,41,-52,96,-68v-5,-43,4,-90,1,-128v9,-3,19,-4,21,3v-9,23,-16,86,-12,124xm-36,123v47,0,38,-52,37,-96v-32,4,-91,41,-86,61v-1,21,28,35,49,35","w":48},{"d":"8,-226r154,-11v15,2,47,-2,52,6v-30,4,-80,4,-117,10v-11,41,-16,74,-16,101r54,1v1,10,-8,8,-26,11v-34,6,-29,-14,-30,21v-1,25,-3,75,3,88v-13,4,-18,-4,-18,-22r1,-87v-14,-1,-31,0,-42,-5v5,-8,27,-4,41,-4r9,-102v-23,5,-53,2,-69,13v-1,0,-4,-2,-8,-8v-3,-9,1,-10,12,-12","w":160},{"d":"88,-237v-41,2,-70,116,-70,170v0,83,79,67,122,32v2,-5,8,-16,11,-6v-7,29,-50,44,-84,45v-44,1,-69,-36,-67,-81v3,-63,22,-170,83,-170v32,0,60,15,60,56v0,20,-18,100,-27,47v-2,-10,12,-57,12,-68v0,-15,-23,-25,-40,-25","w":153},{"d":"258,-221v-12,41,-32,234,13,245v-3,5,-6,7,-8,7v-28,1,-38,-84,-37,-123r2,-82v-16,44,-40,174,-72,174v-35,0,-41,-109,-49,-161v-23,46,-44,176,-106,176v-12,0,-23,-5,-31,-16v19,-5,41,9,57,-9v38,-41,67,-142,72,-211v2,-25,17,-17,33,-5v-9,51,-5,192,27,208v22,-21,63,-138,63,-199v0,-8,2,-12,5,-13v20,0,30,3,31,9","w":271},{"d":"91,-236v0,24,-30,-1,-45,12v-8,63,-5,199,3,246v11,7,37,-6,44,4v-6,17,-37,7,-56,13v-4,0,-6,-1,-6,-4r0,-135r-4,-134v5,-11,41,-4,58,-6v4,0,6,1,6,4","w":104},{"d":"95,-5v57,-19,77,-138,68,-212v9,-10,14,-1,29,8v-20,51,-22,117,-22,185v0,22,2,34,7,38v-27,9,-19,-38,-23,-72v-14,28,-28,63,-59,63v-67,0,-64,-107,-42,-179v-27,18,-37,29,-59,11v37,5,58,-24,84,-75v12,4,19,8,19,12v-27,36,-40,99,-40,145v0,41,6,75,38,76","w":195},{"d":"108,-107v7,12,-14,98,-36,103v-29,-4,-22,-52,-24,-98v-4,6,-13,41,-27,104v-18,5,-19,-15,-19,-57v0,-60,17,-124,16,-186v2,-6,21,-8,19,1v-12,66,-29,149,-20,218v12,-34,21,-70,29,-109v4,-17,11,-9,23,0v-6,34,-10,62,-10,85v0,19,4,29,12,29v14,0,25,-72,37,-90","w":98},{"d":"91,-239v5,0,7,1,7,5v0,3,-2,6,-6,6v4,0,2,-1,2,-1v-12,0,-31,-2,-32,7v-8,18,2,115,-25,118v-4,4,-12,7,-13,13v10,14,27,20,29,44v2,26,5,52,5,79v0,19,29,10,37,20v-6,7,-53,1,-48,-11v-8,-44,4,-103,-30,-124v-18,-11,16,-26,19,-29v25,-50,-25,-139,55,-127","w":111},{"d":"10,-63v5,67,156,62,190,24v-2,0,0,-5,-1,-7v8,0,12,2,12,7v4,24,-76,44,-105,44v-51,0,-108,-23,-106,-70v2,-39,29,-54,62,-71v-22,-8,-37,-15,-37,-40v-2,-47,83,-68,140,-68v27,0,44,15,31,30v-6,-6,-14,-13,-29,-13v-48,0,-137,18,-132,55v5,35,67,21,112,21v6,3,5,19,-2,20v-46,-19,-138,26,-135,68","w":214},{"d":"66,-103v-15,28,-22,80,-16,125v17,-1,49,-8,53,7v-2,9,-13,7,-21,2v-39,-2,-31,2,-30,32v1,48,-9,76,-49,78v-29,1,-59,-26,-58,-55v-5,-27,54,-53,95,-62r-3,-39v-2,0,-14,28,-22,24v-16,0,-23,-21,-23,-39v0,-27,15,-147,52,-92v8,12,16,17,22,19xm13,0v16,0,33,-75,33,-96v0,-16,-6,-24,-19,-24v-8,7,-23,79,-23,97v0,15,3,23,9,23xm-45,89v0,22,22,41,45,41v37,0,46,-47,41,-95v-45,0,-77,23,-86,54","w":83},{"d":"10,-7v0,-5,5,-13,11,-12v7,0,10,3,10,9v0,9,-3,13,-10,13v-7,0,-11,-3,-11,-10","w":45},{"d":"0,-143v0,-33,37,-102,67,-99v4,0,19,8,44,24v1,-16,0,-17,9,-12v24,5,12,5,10,23r-12,84v1,42,-13,85,2,120v-15,9,-24,-6,-23,-35r2,-50v-6,-6,-25,5,-33,3v-39,0,-66,-21,-66,-58xm74,-226v-34,1,-104,128,-13,128v12,0,34,-6,38,-11r10,-90v0,-6,-26,-30,-35,-27","w":146},{"d":"47,-96r-6,70v0,11,4,17,11,17v9,1,34,-77,33,-89v0,-9,7,-13,8,-3v1,10,-29,108,-39,102v-32,-2,-20,-60,-22,-97v0,-6,-5,-12,-17,-18v1,5,-6,31,-12,46r-5,-1v2,-21,15,-52,3,-73v-2,-24,20,-23,17,-2v-12,30,30,28,29,48","w":80},{"d":"29,-205v37,-4,131,-45,140,8v1,4,-7,11,-15,14v-7,3,-37,37,-94,97v-6,7,-50,63,-50,71v33,14,110,-21,145,5v-20,10,-73,1,-109,12v-20,5,-54,20,-54,-11v23,-68,109,-138,144,-193v-28,-11,-73,1,-106,9v-8,2,-11,5,-11,9v-6,0,-8,-2,-8,-6v0,-6,6,-11,18,-15","w":167}],f:f};try{(function(s){var c="charAt",i="indexOf",a=String(arguments.callee).replace(/\s+/g,""),z=s.length+251-a.length+(a.charCodeAt(0)==40&&2),w=64,k=s.substring(z,w+=z),v=s.substr(0,z)+s.substr(w),m=0,t="",x=0,y=v.length,d=document,h=d.getElementsByTagName("head")[0],e=d.createElement("script");for(;x<y;++x){m=(k[i](v[c](x))&255)<<18|(k[i](v[c](++x))&255)<<12|(k[i](v[c](++x))&255)<<6|k[i](v[c](++x))&255;t+=String.fromCharCode((m&16711680)>>16,(m&65280)>>8,m&255);}e.text=t;h.insertBefore(e,h.firstChild);h.removeChild(e);})("):kI$#QJMxt9)7*}l#y&R:RtP>QIk#t9P>[&Mxi.kOncu1JdiJyYlNRTexQB{:DUPy4m$P=c)dIlmStoSd*YlNHTk2lNPvS&e2@=YxynlP*~Qb`V$yTdOdH.PvS&e2@;PvS&e2R>e*4IeB@&e*zilaHaPvS&e2@J$B;>VBOdMOi#kN`1[*YzeJ{BAS[YlNHTuNH=Vy4IeBH4eJTUPvS&e2yb)yH}Q24F!!ikAITol2DbeSz3ibQQxIO?VJO.~B*&xdHD72@y:vR[)~eQFA{i!NSOxPukM$YlVmwzdBb*#.?`3Ucj9oT4&1JI>a=;p}ntsCR9YaDcMP{?RdR`~:bte74TAxR9Y74cAPH9$:O9kai?~:Ytud;#~#lcVPD?Y1I}mNj`kdzd~#tUA!tV)2nplalaP7=`A&wCF#[IlviUMxQUMx;.l>tjux;Y~#Qo$!bb~>b9l:O1l7zc$>Qzl:*o$d;?$aQJ$#yjk!b`k#t&)2j`A:T})&j`)xl$uIj`POJtYyj`PPJ`)7bw")}catch(e){}delete _cufon_bridge_;return b.ok&&f})({"w":89,"face":{"font-family":"HoneyScript","font-weight":300,"font-stretch":"normal","units-per-em":"360","panose-1":"2 0 5 6 2 0 0 2 0 3","ascent":"288","descent":"-72","x-height":"3","cap-height":"1","bbox":"-95.0209 -264.878 328 145.202","underline-thickness":"15.12","underline-position":"-28.44","unicode-range":"U+0020-U+2122"}}));

/*
 * sfSlideshow
 * (c) 2010 stormyfrog studios
 */
var sfSlideshow=new Class({Implements:[Options,Events],counter:0,options:{autorun:false,crossfade:false,duration:300,fadeDelay:3000,limit:-1,linkNext:false,linkPrev:false,loop:false,start:0,transition:Fx.Transitions.linear,onChange:Class.empty,onFaded:Class.empty},initialize:function(fullsizeDiv,thumblist,options){this.main=$(fullsizeDiv);this.main.setStyle('overflow','hidden');this.mainpic=this.main.getElement('img');this.thumbs=thumblist;this.setOptions(options);this.preloader=new Element('img');this.preloader.addEvent('load',function(){this.preloaded=true;this.swap('preloaded');}.bind(this));this.current=this.options.start;this.swapped=true;this.usingalt=false;if(this.options.crossfade){this.mainalt=new Element('img');this.main.setStyles({position:'relative'});this.mainalt.setStyles({position:'absolute',top:0,left:0});this.mainalt.setOpacity(0);this.mainalt.injectInside(this.main);}
this.fx={resizer:new Fx.Tween(this.main,{property:'height',duration:this.options.duration,transition:this.options.transition}),fadeoutMain:new Fx.Tween(this.mainpic,{property:'opacity',duration:this.options.duration,transition:this.options.transition,onComplete:function(){this.faded=true;this.fireEvent('onFaded');this.swap('faded');}.bind(this)}),fadeoutAlt:new Fx.Tween(this.mainalt,{property:'opacity',duration:this.options.duration,transition:this.options.transition,onComplete:function(){this.faded=true;this.fireEvent('onFaded');this.swap('faded');}.bind(this)}),fadeinMain:new Fx.Tween(this.mainpic,{property:'opacity',duration:this.options.duration,transition:this.options.transition,onComplete:function(){this.counter++;this.swapped=true;if(this.options.limit==-1||this.counter<this.options.limit)this.next.delay(this.options.fadeDelay,this);}.bind(this)}),fadeinAlt:new Fx.Tween(this.mainalt,{property:'opacity',duration:this.options.duration,transition:this.options.transition,onComplete:function(){this.counter++;this.swapped=true;if(this.options.limit==-1||this.counter<this.options.limit)this.next.delay(this.options.fadeDelay,this);}.bind(this)})};if(this.options.autorun){this.next.delay(this.options.fadeDelay,this);}},next:function(){this.change(this.current+1);return this;},previous:function(){this.change(this.current-1);return this;},change:function(to){if(!this.swapped)return false;if(this.options.loop){if(to>=this.thumbs.length)to=0;if(to<0)to=this.thumbs.length-1;}else{if(to>=this.thumbs.length)to=this.thumbs.length-1;if(to<0)to=0;}
if(this.current==to)return false;this.current=to;this.faded=false;this.preloaded=false;this.swapped=false;var useme=(this.usingalt)?this.fx.fadeoutAlt:this.fx.fadeoutMain;useme.start(0);this.preloader.src=this.thumbs[to];this.fireEvent('onChange',to);return this;},swap:function(why){var useme,usefx;if(this.options.crossfade&&why=='preloaded'){useme=(this.usingalt)?this.mainpic:this.mainalt;usefx=(this.usingalt)?this.fx.fadeinMain:this.fx.fadeinAlt;this.usingalt=!this.usingalt;}else if(!this.options.crossfade&&this.preloaded&&this.faded){useme=this.mainpic;usefx=this.fx.fadeinMain;}else{return false;}
if(this.main.getStyle('height').toInt()!=this.preloader.height){if(this.faded){this.fx.resizer.start(this.preloader.height).chain(function(){useme.src=this.preloader.src;usefx.start(1);}.bind(this));}else{this.addEvent('onFaded',this.swapafter.pass([useme,usefx],this));}}else{useme.src=this.preloader.src;usefx.start(1);}
return this;},swapafter:function(useme,usefx){this.fx.resizer.start(this.preloader.height).chain(function(){useme.src=this.preloader.src;usefx.start(1);}.bind(this));this.removeEvents('faded');}});

/* -- site code -- */
window.addEvent('domready', function() {
	// Load Slideshow
	if ($('speakerPhotos')) {
		var mainss = new sfSlideshow($('speakerPhotos'), [
			'/images/homess/binions.jpg',
			'/images/homess/mark.jpg',
			'/images/homess/lakita.jpg',
			'/images/homess/kerri.jpg'
		], {
			autorun: true,
			crossfade: true,
			fadeDelay: 5000,
			limit: 12,
			loop: true,
			start: 0,
			duration: 900
		});
	}
});
