/**
 * menuMatic 
 * @version 0.68.3 (beta)
 * @author Jason J. Jaeger | greengeckodesign.com
 * @copyright 2008 Jason John Jaeger
 * @license MIT-style License
 *			Permission is hereby granted, free of charge, to any person obtaining a copy
 *			of this software and associated documentation files (the "Software"), to deal
 *			in the Software without restriction, including without limitation the rights
 *			to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 *			copies of the Software, and to permit persons to whom the Software is
 *			furnished to do so, subject to the following conditions:
 *	
 *			The above copyright notice and this permission notice shall be included in
 *			all copies or substantial portions of the Software.
 *	
 *			THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 *			IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 *			FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 *			AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 *			LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 *			OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 *			THE SOFTWARE.
 **/	
var MenuMatic=new Class({Implements:Options,options:{id:"nav",subMenusContainerId:"subMenusContainer",effect:"slide & fade",duration:600,physics:Fx.Transitions.Pow.easeOut,hideDelay:1000,stretchMainMenu:false,matchWidthMode:false,orientation:"horizontal",direction:{x:"right",y:"down"},tweakInitial:{x:0,y:0},tweakSubsequent:{x:0,y:0},center:false,opacity:95,mmbFocusedClassName:null,mmbClassName:null,killDivider:null,fixHasLayoutBug:false,onHideAllSubMenusNow_begin:(function(){}),onHideAllSubMenusNow_complete:(function(){}),onInit_begin:(function(){}),onInit_complete:(function(){})},hideAllMenusTimeout:null,allSubMenus:[],subMenuZindex:1,initialize:function(B){this.setOptions(B);this.options.onInit_begin();if(this.options.opacity>99){this.options.opacity=99.9}this.options.opacity=this.options.opacity/100;Element.implement({getId:function(){if(!this.id){var E=this.get("tag")+"-"+$time();while($(E)){E=this.get("tag")+"-"+$time()}this.id=E}return this.id}});this.options.direction.x=this.options.direction.x.toLowerCase();this.options.direction.y=this.options.direction.y.toLowerCase();if(this.options.direction.x==="right"){this.options.direction.xInverse="left"}else{if(this.options.direction.x==="left"){this.options.direction.xInverse="right"}}if(this.options.direction.y==="up"){this.options.direction.yInverse="down"}else{if(this.options.direction.y==="down"){this.options.direction.yInverse="up"}}var A=$(this.options.id).getElements("a");A.each(function(F,E){F.store("parentLinks",F.getParent().getParents("li").getFirst("a"));F.store("parentLinks",F.retrieve("parentLinks").erase(F.retrieve("parentLinks").getFirst()));F.store("childMenu",F.getNext("ul")||F.getNext("ol"));theSubMenuType="subsequent";if($(F.getParent("ul")||F.getParent("ol")).id===this.options.id){theSubMenuType="initial"}F.store("subMenuType",theSubMenuType);if(theSubMenuType==="initial"&&$(F.getNext("ul")||F.getNext("ol"))){F.addClass("mainMenuParentBtn")}else{if($(F.getNext("ul")||F.getNext("ol"))){F.addClass("subMenuParentBtn")}}}.bind(this));var D=new Element("div",{id:this.options.subMenusContainerId}).inject($(document.body),"bottom");$(this.options.id).getElements("ul, ol").each(function(F,E){new Element("div",{"class":"smOW"}).inject(D).grab(F)}.bind(this));D.getElements("a").set("tabindex","-1");A.each(function(G,E){if(!G.retrieve("childMenu")){return }G.store("childMenu",G.retrieve("childMenu").getParent("div"));this.allSubMenus.include(G.retrieve("childMenu"));G.store("parentSubMenus",G.retrieve("parentLinks").retrieve("childMenu"));var F=new MenuMaticSubMenu(this.options,this,G)}.bind(this));var C=$(this.options.id).getElements("a").filter(function(F,E){return !F.retrieve("childMenu")});C.each(function(F,E){F.addEvents({mouseenter:function(G){this.hideAllSubMenusNow();if(this.options.mmbClassName&&this.options.mmbFocusedClassName){$(F).retrieve("btnMorph",new Fx.Morph(F,{duration:(this.options.duration/2),transition:this.options.physics,link:"cancel"})).start(this.options.mmbFocusedClassName)}}.bind(this),focus:function(G){this.hideAllSubMenusNow();if(this.options.mmbClassName&&this.options.mmbFocusedClassName){$(F).retrieve("btnMorph",new Fx.Morph(F,{duration:(this.options.duration/2),transition:this.options.physics,link:"cancel"})).start(this.options.mmbFocusedClassName)}}.bind(this),mouseleave:function(G){if(this.options.mmbClassName&&this.options.mmbFocusedClassName){$(F).retrieve("btnMorph",new Fx.Morph(F,{duration:(this.options.duration*5),transition:this.options.physics,link:"cancel"})).start(this.options.mmbClassName)}}.bind(this),blur:function(G){if(this.options.mmbClassName&&this.options.mmbFocusedClassName){$(F).retrieve("btnMorph",new Fx.Morph(F,{duration:(this.options.duration*5),transition:this.options.physics,link:"cancel"})).start(this.options.mmbClassName)}}.bind(this),keydown:function(H){var G=new Event(H);if(H.key==="up"||H.key==="down"||H.key==="left"||H.key==="right"){H.stop()}if(H.key==="left"&&this.options.orientation==="horizontal"||H.key==="up"&&this.options.orientation==="vertical"){if(F.getParent("li").getPrevious("li")){F.getParent("li").getPrevious("li").getFirst("a").focus()}else{F.getParent("li").getParent().getLast("li").getFirst("a").focus()}}else{if(H.key==="right"&&this.options.orientation==="horizontal"||H.key==="down"&&this.options.orientation==="vertical"){if(F.getParent("li").getNext("li")){F.getParent("li").getNext("li").getFirst("a").focus()}else{F.getParent("li").getParent().getFirst("li").getFirst("a").focus()}}}}.bind(this)})},this);this.stretch();this.killDivider();this.center();this.fixHasLayoutBug();this.options.onInit_complete()},fixHasLayoutBug:function(){if(Browser.Engine.trident&&this.options.fixHasLayoutBug){$(this.options.id).getParents().setStyle("zoom",1);$(this.options.id).setStyle("zoom",1);$(this.options.id).getChildren().setStyle("zoom",1);$(this.options.subMenusContainerId).setStyle("zoom",1);$(this.options.subMenusContainerId).getChildren().setStyle("zoom",1)}},center:function(){if(!this.options.center){return }$(this.options.id).setStyles({left:"50%","margin-left":-($(this.options.id).getSize().x/2)})},stretch:function(){if(this.options.stretchMainMenu&&this.options.orientation==="horizontal"){var C=parseFloat($(this.options.id).getCoordinates().width);var D=0;var B=$(this.options.id).getElements("a");B.setStyles({"padding-left":0,"padding-right":0});B.each(function(F,E){D+=F.getSize().x}.bind(this));if(C<D){return }var A=(C-D)/B.length;B.each(function(F,E){F.setStyle("width",F.getSize().x+A)}.bind(this));B.getLast().setStyle("width",B.getLast().getSize().x-1)}},killDivider:function(){if(this.options.killDivider&&this.options.killDivider.toLowerCase()==="first"){$($(this.options.id).getElements("li")[0]).setStyles({background:"none"})}else{if(this.options.killDivider&&this.options.killDivider.toLowerCase()==="last"){$($(this.options.id).getElements("li").getLast()).setStyles({background:"none"})}}},hideAllSubMenusNow:function(){this.options.onHideAllSubMenusNow_begin();$clear(this.hideAllMenusTimeout);$$(this.allSubMenus).fireEvent("hide");this.options.onHideAllSubMenusNow_complete()}});var MenuMaticSubMenu=new Class({Implements:Options,Extends:MenuMatic,options:{onSubMenuInit_begin:(function(A){}),onSubMenuInit_complete:(function(A){}),onMatchWidth_begin:(function(A){}),onMatchWidth_complete:(function(A){}),onHideSubMenu_begin:(function(A){}),onHideSubMenu_complete:(function(A){}),onHideOtherSubMenus_begin:(function(A){}),onHideOtherSubMenus_complete:(function(A){}),onHideAllSubMenus_begin:(function(A){}),onHideAllSubMenus_complete:(function(A){}),onPositionSubMenu_begin:(function(A){}),onPositionSubMenu_complete:(function(A){}),onShowSubMenu_begin:(function(A){}),onShowSubMenu_complete:(function(A){})},root:null,btn:null,hidden:true,myEffect:null,initialize:function(B,A,C){this.setOptions(B);this.root=A;this.btn=C;this.childMenu=this.btn.retrieve("childMenu");this.subMenuType=this.btn.retrieve("subMenuType");this.childMenu=this.btn.retrieve("childMenu");this.parentSubMenus=$$(this.btn.retrieve("parentSubMenus"));this.parentLinks=$$(this.btn.retrieve("parentLinks"));this.parentSubMenu=$(this.parentSubMenus[0]);if(this.parentSubMenu){this.parentSubMenu=this.parentSubMenu.retrieve("class")}this.childMenu.store("class",this);this.btn.store("class",this);this.childMenu.store("status","closed");this.options.onSubMenuInit_begin(this);this.childMenu.addEvent("hide",function(){this.hideSubMenu()}.bind(this));this.childMenu.addEvent("show",function(){this.showSubMenu()}.bind(this));if(this.options.effect){this.myEffect=new Fx.Morph($(this.childMenu).getFirst(),{duration:this.options.duration,transition:this.options.physics,link:"cancel"})}if(this.options.effect==="slide"||this.options.effect==="slide & fade"){if(this.subMenuType=="initial"&&this.options.orientation==="horizontal"){this.childMenu.getFirst().setStyle("margin-top","0")}else{this.childMenu.getFirst().setStyle("margin-left","0")}}else{if(this.options.effect==="fade"||this.options.effect==="slide & fade"){this.childMenu.getFirst().setStyle("opacity",0)}}if(this.options.effect!="fade"&&this.options.effect!="slide & fade"){this.childMenu.getFirst().setStyle("opacity",this.options.opacity)}var D=$(this.childMenu).getElements("a").filter(function(F,E){return !F.retrieve("childMenu")});D.each(function(F,E){$(F).addClass("subMenuBtn");F.addEvents({mouseenter:function(G){this.childMenu.fireEvent("show");this.cancellHideAllSubMenus();this.hideOtherSubMenus()}.bind(this),focus:function(G){this.childMenu.fireEvent("show");this.cancellHideAllSubMenus();this.hideOtherSubMenus()}.bind(this),mouseleave:function(G){this.cancellHideAllSubMenus();this.hideAllSubMenus()}.bind(this),blur:function(G){this.cancellHideAllSubMenus();this.hideAllSubMenus()}.bind(this),keydown:function(H){var G=new Event(H);if(H.key==="up"||H.key==="down"||H.key==="left"||H.key==="right"||H.key==="tab"){H.stop()}if(H.key==="up"){if(F.getParent("li").getPrevious("li")){F.getParent("li").getPrevious("li").getFirst("a").focus()}else{if(this.options.direction.y==="down"){this.btn.focus()}else{if(this.options.direction.y==="up"){F.getParent("li").getParent().getLast("li").getFirst("a").focus()}}}}else{if(H.key==="down"){if(F.getParent("li").getNext("li")){F.getParent("li").getNext("li").getFirst("a").focus()}else{if(this.options.direction.y==="down"){F.getParent("li").getParent().getFirst("li").getFirst("a").focus()}else{if(this.options.direction.y==="up"){this.btn.focus()}}}}else{if(H.key===this.options.direction.xInverse){this.btn.focus()}}}}.bind(this)})},this);$(this.btn).removeClass("subMenuBtn");if(this.subMenuType=="initial"){this.btn.addClass("mainParentBtn")}else{this.btn.addClass("subParentBtn")}$(this.btn).addEvents({mouseenter:function(E){this.cancellHideAllSubMenus();this.hideOtherSubMenus();this.showSubMenu();if(this.subMenuType==="initial"&&this.options.mmbClassName&&this.options.mmbFocusedClassName){$(this.btn).retrieve("btnMorph",new Fx.Morph($(this.btn),{duration:(this.options.duration/2),transition:this.options.physics,link:"cancel"})).start(this.options.mmbFocusedClassName)}}.bind(this),focus:function(E){this.cancellHideAllSubMenus();this.hideOtherSubMenus();this.showSubMenu();if(this.subMenuType==="initial"&&this.options.mmbClassName&&this.options.mmbFocusedClassName){$(this.btn).retrieve("btnMorph",new Fx.Morph($(this.btn),{duration:(this.options.duration/2),transition:this.options.physics,link:"cancel"})).start(this.options.mmbFocusedClassName)}}.bind(this),mouseleave:function(E){this.cancellHideAllSubMenus();this.hideAllSubMenus()}.bind(this),blur:function(E){this.cancellHideAllSubMenus();this.hideAllSubMenus()}.bind(this),keydown:function(E){E=new Event(E);if(E.key==="up"||E.key==="down"||E.key==="left"||E.key==="right"){E.stop()}if(!this.parentSubMenu){if(this.options.orientation==="horizontal"&&E.key===this.options.direction.y||this.options.orientation==="vertical"&&E.key===this.options.direction.x){if(this.options.direction.y==="down"){this.childMenu.getFirst().getFirst("li").getFirst("a").focus()}else{if(this.options.direction.y==="up"){this.childMenu.getFirst().getLast("li").getFirst("a").focus()}}}else{if(this.options.orientation==="horizontal"&&E.key==="left"||this.options.orientation==="vertical"&&E.key===this.options.direction.yInverse){if(this.btn.getParent().getPrevious()){this.btn.getParent().getPrevious().getFirst().focus()}else{this.btn.getParent().getParent().getLast().getFirst().focus()}}else{if(this.options.orientation==="horizontal"&&E.key==="right"||this.options.orientation==="vertical"&&E.key===this.options.direction.y){if(this.btn.getParent().getNext()){this.btn.getParent().getNext().getFirst().focus()}else{this.btn.getParent().getParent().getFirst().getFirst().focus()}}}}}else{if(E.key==="tab"){E.stop()}if(E.key==="up"){if(this.btn.getParent("li").getPrevious("li")){this.btn.getParent("li").getPrevious("li").getFirst("a").focus()}else{if(this.options.direction.y==="down"){this.parentSubMenu.btn.focus()}else{if(this.options.direction.y==="up"){this.btn.getParent("li").getParent().getLast("li").getFirst("a").focus()}}}}else{if(E.key==="down"){if(this.btn.getParent("li").getNext("li")){this.btn.getParent("li").getNext("li").getFirst("a").focus()}else{if(this.options.direction.y==="down"){this.btn.getParent("li").getParent().getFirst("li").getFirst("a").focus()}else{if(this.options.direction.y==="up"){this.parentSubMenu.btn.focus()}}}}else{if(E.key===this.options.direction.xInverse){this.parentSubMenu.btn.focus()}else{if(E.key===this.options.direction.x){if(this.options.direction.y==="down"){this.childMenu.getFirst().getFirst("li").getFirst("a").focus()}else{if(this.options.direction.y==="up"){}}}}}}}}.bind(this)});this.options.onSubMenuInit_complete(this)},matchWidth:function(){if(this.widthMatched||!this.options.matchWidthMode||this.subMenuType==="subsequent"){return }this.options.onMatchWidth_begin(this);var A=this.btn.getCoordinates().width;$(this.childMenu).getElements("a").each(function(E,D){var C=parseFloat($(this.childMenu).getFirst().getStyle("border-left-width"))+parseFloat($(this.childMenu).getFirst().getStyle("border-right-width"));var B=parseFloat(E.getStyle("padding-left"))+parseFloat(E.getStyle("padding-right"));var F=C+B;if(A>E.getCoordinates().width){E.setStyle("width",A-F);E.setStyle("margin-right",-C)}}.bind(this));this.width=this.childMenu.getFirst().getCoordinates().width;this.widthMatched=true;this.options.onMatchWidth_complete(this)},hideSubMenu:function(){if(this.childMenu.retrieve("status")==="closed"){return }this.options.onHideSubMenu_begin(this);if(this.subMenuType=="initial"){if(this.options.mmbClassName&&this.options.mmbFocusedClassName){$(this.btn).retrieve("btnMorph",new Fx.Morph($(this.btn),{duration:(this.options.duration),transition:this.options.physics,link:"cancel"})).start(this.options.mmbClassName).chain(function(){$(this.btn).removeClass("mainMenuParentBtnFocused");$(this.btn).addClass("mainMenuParentBtn")}.bind(this))}else{$(this.btn).removeClass("mainMenuParentBtnFocused");$(this.btn).addClass("mainMenuParentBtn")}}else{$(this.btn).removeClass("subMenuParentBtnFocused");$(this.btn).addClass("subMenuParentBtn")}this.childMenu.setStyle("z-index",1);if(this.options.effect&&this.options.effect.toLowerCase()==="slide"){if(this.subMenuType=="initial"&&this.options.orientation==="horizontal"&&this.options.direction.y==="down"){this.myEffect.start({"margin-top":-this.height}).chain(function(){this.childMenu.style.display="none"}.bind(this))}else{if(this.subMenuType=="initial"&&this.options.orientation==="horizontal"&&this.options.direction.y==="up"){this.myEffect.start({"margin-top":this.height}).chain(function(){this.childMenu.style.display="none"}.bind(this))}else{if(this.options.direction.x==="right"){this.myEffect.start({"margin-left":-this.width}).chain(function(){this.childMenu.style.display="none"}.bind(this))}else{if(this.options.direction.x==="left"){this.myEffect.start({"margin-left":this.width}).chain(function(){this.childMenu.style.display="none"}.bind(this))}}}}}else{if(this.options.effect=="fade"){this.myEffect.start({opacity:0}).chain(function(){this.childMenu.style.display="none"}.bind(this))}else{if(this.options.effect=="slide & fade"){if(this.subMenuType=="initial"&&this.options.orientation==="horizontal"&&this.options.direction.y==="down"){this.myEffect.start({"margin-top":-this.height,opacity:0}).chain(function(){this.childMenu.style.display="none"}.bind(this))}else{if(this.subMenuType=="initial"&&this.options.orientation==="horizontal"&&this.options.direction.y==="up"){this.myEffect.start({"margin-top":this.height,opacity:0}).chain(function(){this.childMenu.style.display="none"}.bind(this))}else{if(this.options.direction.x==="right"){this.myEffect.start({"margin-left":-this.width,opacity:0}).chain(function(){this.childMenu.style.display="none"}.bind(this))}else{if(this.options.direction.x==="left"){this.myEffect.start({"margin-left":this.width,opacity:0}).chain(function(){this.childMenu.style.display="none"}.bind(this))}}}}}else{this.childMenu.style.display="none"}}}this.childMenu.store("status","closed");this.options.onHideSubMenu_complete(this)},hideOtherSubMenus:function(){this.options.onHideOtherSubMenus_begin(this);if(!this.btn.retrieve("otherSubMenus")){this.btn.store("otherSubMenus",$$(this.root.allSubMenus.filter(function(A){return !this.btn.retrieve("parentSubMenus").contains(A)&&A!=this.childMenu}.bind(this))))}this.parentSubMenus.fireEvent("show");this.btn.retrieve("otherSubMenus").fireEvent("hide");this.options.onHideOtherSubMenus_complete(this)},hideAllSubMenus:function(){this.options.onHideAllSubMenus_begin(this);$clear(this.root.hideAllMenusTimeout);this.root.hideAllMenusTimeout=(function(){$clear(this.hideAllMenusTimeout);$$(this.root.allSubMenus).fireEvent("hide")}).bind(this).delay(this.options.hideDelay);this.options.onHideAllSubMenus_complete(this)},cancellHideAllSubMenus:function(){$clear(this.root.hideAllMenusTimeout)},showSubMenu:function(A){if(this.childMenu.retrieve("status")==="open"){return }this.options.onShowSubMenu_begin(this);if(this.subMenuType=="initial"){$(this.btn).removeClass("mainMenuParentBtn");$(this.btn).addClass("mainMenuParentBtnFocused")}else{$(this.btn).removeClass("subMenuParentBtn");$(this.btn).addClass("subMenuParentBtnFocused")}this.root.subMenuZindex++;this.childMenu.setStyles({display:"block",visibility:"hidden","z-index":this.root.subMenuZindex});if(!this.width||!this.height){this.width=this.childMenu.getFirst().getCoordinates().width;this.height=this.childMenu.getFirst().getCoordinates().height;this.childMenu.setStyle("height",this.height,"border");if(this.options.effect==="slide"||this.options.effect==="slide & fade"){if(this.subMenuType=="initial"&&this.options.orientation==="horizontal"){this.childMenu.getFirst().setStyle("margin-top","0");if(this.options.direction.y==="down"){this.myEffect.set({"margin-top":-this.height})}else{if(this.options.direction.y==="up"){this.myEffect.set({"margin-top":this.height})}}}else{if(this.options.direction.x==="left"){this.myEffect.set({"margin-left":this.width})}else{this.myEffect.set({"margin-left":-this.width})}}}}this.matchWidth();this.positionSubMenu();if(this.options.effect==="slide"){this.childMenu.setStyles({display:"block",visibility:"visible"});if(this.subMenuType==="initial"&&this.options.orientation==="horizontal"){if(A){this.myEffect.set({"margin-top":0}).chain(function(){this.showSubMenuComplete()}.bind(this))}else{this.myEffect.start({"margin-top":0}).chain(function(){this.showSubMenuComplete()}.bind(this))}}else{if(A){this.myEffect.set({"margin-left":0}).chain(function(){this.showSubMenuComplete()}.bind(this))}else{this.myEffect.start({"margin-left":0}).chain(function(){this.showSubMenuComplete()}.bind(this))}}}else{if(this.options.effect==="fade"){if(A){this.myEffect.set({opacity:this.options.opacity}).chain(function(){this.showSubMenuComplete()}.bind(this))}else{this.myEffect.start({opacity:this.options.opacity}).chain(function(){this.showSubMenuComplete()}.bind(this))}}else{if(this.options.effect=="slide & fade"){this.childMenu.setStyles({display:"block",visibility:"visible"});this.childMenu.getFirst().setStyles({left:0});if(this.subMenuType==="initial"&&this.options.orientation==="horizontal"){if(A){this.myEffect.set({"margin-top":0,opacity:this.options.opacity}).chain(function(){this.showSubMenuComplete()}.bind(this))}else{this.myEffect.start({"margin-top":0,opacity:this.options.opacity}).chain(function(){this.showSubMenuComplete()}.bind(this))}}else{if(A){if(this.options.direction.x==="right"){this.myEffect.set({"margin-left":0,opacity:this.options.opacity}).chain(function(){this.showSubMenuComplete()}.bind(this))}else{if(this.options.direction.x==="left"){this.myEffect.set({"margin-left":0,opacity:this.options.opacity}).chain(function(){this.showSubMenuComplete()}.bind(this))}}}else{if(this.options.direction.x==="right"){this.myEffect.set({"margin-left":-this.width,opacity:this.options.opacity});this.myEffect.start({"margin-left":0,opacity:this.options.opacity}).chain(function(){this.showSubMenuComplete()}.bind(this))}else{if(this.options.direction.x==="left"){this.myEffect.start({"margin-left":0,opacity:this.options.opacity}).chain(function(){this.showSubMenuComplete()}.bind(this))}}}}}else{this.childMenu.setStyles({display:"block",visibility:"visible"}).chain(function(){this.showSubMenuComplete(this)}.bind(this))}}}this.childMenu.store("status","open")},showSubMenuComplete:function(){this.options.onShowSubMenu_complete(this)},positionSubMenu:function(){this.options.onPositionSubMenu_begin(this);this.childMenu.setStyle("width",this.width);this.childMenu.getFirst().setStyle("width",this.width);if(this.subMenuType==="subsequent"){if(this.parentSubMenu&&this.options.direction.x!=this.parentSubMenu.options.direction.x){if(this.parentSubMenu.options.direction.x==="left"&&this.options.effect&&this.options.effect.contains("slide")){this.myEffect.set({"margin-left":this.width})}}this.options.direction.x=this.parentSubMenu.options.direction.x;this.options.direction.xInverse=this.parentSubMenu.options.direction.xInverse;this.options.direction.y=this.parentSubMenu.options.direction.y;this.options.direction.yInverse=this.parentSubMenu.options.direction.yInverse}var C;var A;if(this.subMenuType=="initial"){if(this.options.direction.y==="up"){if(this.options.orientation==="vertical"){C=this.btn.getCoordinates().bottom-this.height+this.options.tweakInitial.y}else{C=this.btn.getCoordinates().top-this.height+this.options.tweakInitial.y}this.childMenu.style.top=C+"px"}else{if(this.options.orientation=="horizontal"){this.childMenu.style.top=this.btn.getCoordinates().bottom+this.options.tweakInitial.y+"px"}else{if(this.options.orientation=="vertical"){C=this.btn.getPosition().y+this.options.tweakInitial.y;if((C+this.childMenu.getSize().y)>=$(document.body).getScrollSize().y){A=(C+this.childMenu.getSize().y)-$(document.body).getScrollSize().y;C=C-A-20}this.childMenu.style.top=C+"px"}}}if(this.options.orientation=="horizontal"){this.childMenu.style.left=this.btn.getPosition().x+this.options.tweakInitial.x+"px"}else{if(this.options.direction.x=="left"){this.childMenu.style.left=this.btn.getPosition().x-this.childMenu.getCoordinates().width+this.options.tweakInitial.x+"px"}else{if(this.options.direction.x=="right"){this.childMenu.style.left=this.btn.getCoordinates().right+this.options.tweakInitial.x+"px"}}}}else{if(this.subMenuType=="subsequent"){if(this.options.direction.y==="down"){if((this.btn.getCoordinates().top+this.options.tweakSubsequent.y+this.childMenu.getSize().y)>=$(document.body).getScrollSize().y){A=(this.btn.getCoordinates().top+this.options.tweakSubsequent.y+this.childMenu.getSize().y)-$(document.body).getScrollSize().y;this.childMenu.style.top=(this.btn.getCoordinates().top+this.options.tweakSubsequent.y)-A-20+"px"}else{this.childMenu.style.top=this.btn.getCoordinates().top+this.options.tweakSubsequent.y+"px"}}else{if(this.options.direction.y==="up"){if((this.btn.getCoordinates().bottom-this.height+this.options.tweakSubsequent.y)<1){this.options.direction.y="down";this.options.direction.yInverse="up";this.childMenu.style.top=this.btn.getCoordinates().top+this.options.tweakSubsequent.y+"px"}else{this.childMenu.style.top=this.btn.getCoordinates().bottom-this.height+this.options.tweakSubsequent.y+"px"}}}if(this.options.direction.x=="left"){this.childMenu.style.left=this.btn.getCoordinates().left-this.childMenu.getCoordinates().width+this.options.tweakSubsequent.x+"px";if(this.childMenu.getPosition().x<0){this.options.direction.x="right";this.options.direction.xInverse="left";this.childMenu.style.left=this.btn.getPosition().x+this.btn.getCoordinates().width+this.options.tweakSubsequent.x+"px";if(this.options.effect==="slide"||this.options.effect==="slide & fade"){this.myEffect.set({"margin-left":-this.width,opacity:this.options.opacity})}}}else{if(this.options.direction.x=="right"){this.childMenu.style.left=this.btn.getCoordinates().right+this.options.tweakSubsequent.x+"px";var D=this.childMenu.getCoordinates().right;var B=document.getCoordinates().width+window.getScroll().x;if(D>B){this.options.direction.x="left";this.options.direction.xInverse="right";this.childMenu.style.left=this.btn.getCoordinates().left-this.childMenu.getCoordinates().width+this.options.tweakSubsequent.x+"px";if(this.options.effect==="slide"||this.options.effect==="slide & fade"){this.myEffect.set({"margin-left":this.width,opacity:this.options.opacity})}}}}}}this.options.onPositionSubMenu_complete(this)}});
/**
 * Observer - Observe formelements for changes
 *
 * - Additional code from clientside.cnet.com
 *
 * @version		1.1
 *
 * @license		MIT-style license
 * @author		Harald Kirschner <mail [at] digitarald.de>
 * @copyright	Author
 */
var Observer = new Class({

	Implements: [Options, Events],

	options: {
		periodical: false,
		delay: 1000
	},

	initialize: function(el, onFired, options){
		this.element = $(el) || $$(el);
		this.addEvent('onFired', onFired);
		this.setOptions(options);
		this.bound = this.changed.bind(this);
		this.resume();
	},

	changed: function() {
		var value = this.element.get('value');
		if ($equals(this.value, value)) return;
		this.clear();
		this.value = value;
		this.timeout = this.onFired.delay(this.options.delay, this);
	},

	setValue: function(value) {
		this.value = value;
		this.element.set('value', value);
		return this.clear();
	},

	onFired: function() {
		this.fireEvent('onFired', [this.value, this.element]);
	},

	clear: function() {
		$clear(this.timeout || null);
		return this;
	},

	pause: function(){
		if (this.timer) $clear(this.timer);
		else this.element.removeEvent('keyup', this.bound);
		return this.clear();
	},

	resume: function(){
		this.value = this.element.get('value');
		if (this.options.periodical) this.timer = this.changed.periodical(this.options.periodical, this);
		else this.element.addEvent('keyup', this.bound);
		return this;
	}

});

var $equals = function(obj1, obj2) {
	return (obj1 == obj2 || JSON.encode(obj1) == JSON.encode(obj2));
};
/**
 * Autocompleter
 *
 * http://digitarald.de/project/autocompleter/
 *
 * @version		1.1.2
 *
 * @license		MIT-style license
 * @author		Harald Kirschner <mail [at] digitarald.de>
 * @copyright	Author
 */

var Autocompleter = new Class({

	Implements: [Options, Events],

	options: {/*
		onOver: $empty,
		onSelect: $empty,
		onSelection: $empty,
		onShow: $empty,
		onHide: $empty,
		onBlur: $empty,
		onFocus: $empty,*/
		minLength: 1,
		markQuery: true,
		width: 'inherit',
		maxChoices: 10,
		injectChoice: null,
		customChoices: null,
		emptyChoices: null,
		visibleChoices: true,
		className: 'autocompleter-choices',
		zIndex: 42,
		delay: 400,
		observerOptions: {},
		fxOptions: {},

		autoSubmit: false,
		overflow: false,
		overflowMargin: 25,
		selectFirst: false,
		filter: null,
		filterCase: false,
		filterSubset: false,
		forceSelect: false,
		selectMode: true,
		choicesMatch: null,

		multiple: false,
		separator: ', ',
		separatorSplit: /\s*[,;]\s*/,
		autoTrim: false,
		allowDupes: false,

		cache: true,
		relative: false
	},

	initialize: function(element, options) {
		this.element = $(element);
		this.setOptions(options);
		this.build();
		this.observer = new Observer(this.element, this.prefetch.bind(this), $merge({
			'delay': this.options.delay
		}, this.options.observerOptions));
		this.queryValue = null;
		if (this.options.filter) this.filter = this.options.filter.bind(this);
		var mode = this.options.selectMode;
		this.typeAhead = (mode == 'type-ahead');
		this.selectMode = (mode === true) ? 'selection' : mode;
		this.cached = [];
	},

	/**
	 * build - Initialize DOM
	 *
	 * Builds the html structure for choices and appends the events to the element.
	 * Override this function to modify the html generation.
	 */
	build: function() {
		if ($(this.options.customChoices)) {
			this.choices = this.options.customChoices;
		} else {
			this.choices = new Element('ul', {
				'class': this.options.className,
				'styles': {
					'zIndex': this.options.zIndex
				}
			}).inject(document.body);
			this.relative = false;
			if (this.options.relative) {
				this.choices.inject(this.element, 'after');
				this.relative = this.element.getOffsetParent();
			}
			this.fix = new OverlayFix(this.choices);
		}
		if (!this.options.separator.test(this.options.separatorSplit)) {
			this.options.separatorSplit = this.options.separator;
		}
		this.fx = (!this.options.fxOptions) ? null : new Fx.Tween(this.choices, $merge({
			'property': 'opacity',
			'link': 'cancel',
			'duration': 200
		}, this.options.fxOptions)).addEvent('onStart', Chain.prototype.clearChain).set(0);
		this.element.setProperty('autocomplete', 'off')
			.addEvent((Browser.Engine.trident || Browser.Engine.webkit) ? 'keydown' : 'keypress', this.onCommand.bind(this))
			.addEvent('click', this.onCommand.bind(this, [false]))
			.addEvent('focus', this.toggleFocus.create({bind: this, arguments: true, delay: 100}))
			.addEvent('blur', this.toggleFocus.create({bind: this, arguments: false, delay: 100}));
	},

	destroy: function() {
		if (this.fix) this.fix.destroy();
		this.choices = this.selected = this.choices.destroy();
	},

	toggleFocus: function(state) {
		this.focussed = state;
		if (!state) this.hideChoices(true);
		this.fireEvent((state) ? 'onFocus' : 'onBlur', [this.element]);
	},

	onCommand: function(e) {
		if (!e && this.focussed) return this.prefetch();
		if (e && e.key && !e.shift) {
			switch (e.key) {
				case 'enter':
					if (this.element.value != this.opted) return true;
					if (this.selected && this.visible) {
						this.choiceSelect(this.selected);
						return !!(this.options.autoSubmit);
					}
					break;
				case 'up': case 'down':
					if (!this.prefetch() && this.queryValue !== null) {
						var up = (e.key == 'up');
						this.choiceOver((this.selected || this.choices)[
							(this.selected) ? ((up) ? 'getPrevious' : 'getNext') : ((up) ? 'getLast' : 'getFirst')
						](this.options.choicesMatch), true);
					}
					return false;
				case 'esc': case 'tab':
					this.hideChoices(true);
					break;
			}
		}
		return true;
	},

	setSelection: function(finish) {
		var input = this.selected.inputValue, value = input;
		var start = this.queryValue.length, end = input.length;
		if (input.substr(0, start).toLowerCase() != this.queryValue.toLowerCase()) start = 0;
		if (this.options.multiple) {
			var split = this.options.separatorSplit;
			value = this.element.value;
			start += this.queryIndex;
			end += this.queryIndex;
			var old = value.substr(this.queryIndex).split(split, 1)[0];
			value = value.substr(0, this.queryIndex) + input + value.substr(this.queryIndex + old.length);
			if (finish) {
				var tokens = value.split(this.options.separatorSplit).filter(function(entry) {
					return this.test(entry);
				}, /[^\s,]+/);
				if (!this.options.allowDupes) tokens = [].combine(tokens);
				var sep = this.options.separator;
				value = tokens.join(sep) + sep;
				end = value.length;
			}
		}
		this.observer.setValue(value);
		this.opted = value;
		if (finish || this.selectMode == 'pick') start = end;
		this.element.selectRange(start, end);
		this.fireEvent('onSelection', [this.element, this.selected, value, input]);
	},

	showChoices: function() {
		var match = this.options.choicesMatch, first = this.choices.getFirst(match);
		this.selected = this.selectedValue = null;
		if (this.fix) {
			var pos = this.element.getCoordinates(this.relative), width = this.options.width || 'auto';
			this.choices.setStyles({
				'left': pos.left,
				'top': pos.bottom,
				'width': (width === true || width == 'inherit') ? pos.width : width
			});
		}
		if (!first) return;
		if (!this.visible) {
			this.visible = true;
			this.choices.setStyle('display', '');
			if (this.fx) this.fx.start(1);
			this.fireEvent('onShow', [this.element, this.choices]);
		}
		if (this.options.selectFirst || this.typeAhead || first.inputValue == this.queryValue) this.choiceOver(first, this.typeAhead);
		var items = this.choices.getChildren(match), max = this.options.maxChoices;
		var styles = {'overflowY': 'hidden', 'height': ''};
		this.overflown = false;
		if (items.length > max) {
			var item = items[max - 1];
			styles.overflowY = 'scroll';
			styles.height = item.getCoordinates(this.choices).bottom;
			this.overflown = true;
		};
		this.choices.setStyles(styles);
		this.fix.show();
		if (this.options.visibleChoices) {
			var scroll = document.getScroll(),
			size = document.getSize(),
			coords = this.choices.getCoordinates();
			if (coords.right > scroll.x + size.x) scroll.x = coords.right - size.x;
			if (coords.bottom > scroll.y + size.y) scroll.y = coords.bottom - size.y;
			window.scrollTo(Math.min(scroll.x, coords.left), Math.min(scroll.y, coords.top));
		}
	},

	hideChoices: function(clear) {
		if (clear) {
			var value = this.element.value;
			if (this.options.forceSelect) value = this.opted;
			if (this.options.autoTrim) {
				value = value.split(this.options.separatorSplit).filter($arguments(0)).join(this.options.separator);
			}
			this.observer.setValue(value);
		}
		if (!this.visible) return;
		this.visible = false;
		if (this.selected) this.selected.removeClass('autocompleter-selected');
		this.observer.clear();
		var hide = function(){
			this.choices.setStyle('display', 'none');
			this.fix.hide();
		}.bind(this);
		if (this.fx) this.fx.start(0).chain(hide);
		else hide();
		this.fireEvent('onHide', [this.element, this.choices]);
	},

	prefetch: function() {
		var value = this.element.value, query = value;
		if (this.options.multiple) {
			var split = this.options.separatorSplit;
			var values = value.split(split);
			var index = this.element.getSelectedRange().start;
			var toIndex = value.substr(0, index).split(split);
			var last = toIndex.length - 1;
			index -= toIndex[last].length;
			query = values[last];
		}
		if (query.length < this.options.minLength) {
			this.hideChoices();
		} else {
			if (query === this.queryValue || (this.visible && query == this.selectedValue)) {
				if (this.visible) return false;
				this.showChoices();
			} else {
				this.queryValue = query;
				this.queryIndex = index;
				if (!this.fetchCached()) this.query();
			}
		}
		return true;
	},

	fetchCached: function() {
		return false;
		if (!this.options.cache
			|| !this.cached
			|| !this.cached.length
			|| this.cached.length >= this.options.maxChoices
			|| this.queryValue) return false;
		this.update(this.filter(this.cached));
		return true;
	},

	update: function(tokens) {
		this.choices.empty();
		this.cached = tokens;
		var type = tokens && $type(tokens);
		if (!type || (type == 'array' && !tokens.length) || (type == 'hash' && !tokens.getLength())) {
			(this.options.emptyChoices || this.hideChoices).call(this);
		} else {
			if (this.options.maxChoices < tokens.length && !this.options.overflow) tokens.length = this.options.maxChoices;
			tokens.each(this.options.injectChoice || function(token){
				var choice = new Element('li', {'html': this.markQueryValue(token)});
				choice.inputValue = token;
				this.addChoiceEvents(choice).inject(this.choices);
			}, this);
			this.showChoices();
		}
	},

	choiceOver: function(choice, selection) {
		if (!choice || choice == this.selected) return;
		if (this.selected) this.selected.removeClass('autocompleter-selected');
		this.selected = choice.addClass('autocompleter-selected');
		this.fireEvent('onSelect', [this.element, this.selected, selection]);
		if (!this.selectMode) this.opted = this.element.value;
		if (!selection) return;
		this.selectedValue = this.selected.inputValue;
		if (this.overflown) {
			var coords = this.selected.getCoordinates(this.choices), margin = this.options.overflowMargin,
				top = this.choices.scrollTop, height = this.choices.offsetHeight, bottom = top + height;
			if (coords.top - margin < top && top) this.choices.scrollTop = Math.max(coords.top - margin, 0);
			else if (coords.bottom + margin > bottom) this.choices.scrollTop = Math.min(coords.bottom - height + margin, bottom);
		}
		if (this.selectMode) this.setSelection();
	},

	choiceSelect: function(choice) {
		if (choice) this.choiceOver(choice);
		this.setSelection(true);
		this.queryValue = false;
		this.hideChoices();
	},

	filter: function(tokens) {
		return (tokens || this.tokens).filter(function(token) {
			return this.test(token);
		}, new RegExp(((this.options.filterSubset) ? '' : '^') + this.queryValue.escapeRegExp(), (this.options.filterCase) ? '' : 'i'));
	},

	/**
	 * markQueryValue
	 *
	 * Marks the queried word in the given string with <span class="autocompleter-queried">*</span>
	 * Call this i.e. from your custom parseChoices, same for addChoiceEvents
	 *
	 * @param		{String} Text
	 * @return		{String} Text
	 */
	markQueryValue: function(str) {
		return (!this.options.markQuery || !this.queryValue) ? str
			: str.replace(new RegExp('(' + ((this.options.filterSubset) ? '' : '^') + this.queryValue.escapeRegExp() + ')', (this.options.filterCase) ? '' : 'i'), '<span class="autocompleter-queried">$1</span>');
	},

	/**
	 * addChoiceEvents
	 *
	 * Appends the needed event handlers for a choice-entry to the given element.
	 *
	 * @param		{Element} Choice entry
	 * @return		{Element} Choice entry
	 */
	addChoiceEvents: function(el) {
		return el.addEvents({
			'mouseover': this.choiceOver.bind(this, [el]),
			'click': this.choiceSelect.bind(this, [el])
		});
	}
});

var OverlayFix = new Class({

	initialize: function(el) {
		if (Browser.Engine.trident) {
			this.element = $(el);
			this.relative = this.element.getOffsetParent();
			this.fix = new Element('iframe', {
				'frameborder': '0',
				'scrolling': 'no',
				'src': 'javascript:false;',
				'styles': {
					'position': 'absolute',
					'border': 'none',
					'display': 'none',
					'filter': 'progid:DXImageTransform.Microsoft.Alpha(opacity=0)'
				}
			}).inject(this.element, 'after');
		}
	},

	show: function() {
		if (this.fix) {
			var coords = this.element.getCoordinates(this.relative);
			delete coords.right;
			delete coords.bottom;
			this.fix.setStyles($extend(coords, {
				'display': '',
				'zIndex': (this.element.getStyle('zIndex') || 1) - 1
			}));
		}
		return this;
	},

	hide: function() {
		if (this.fix) this.fix.setStyle('display', 'none');
		return this;
	},

	destroy: function() {
		if (this.fix) this.fix = this.fix.destroy();
	}

});

Element.implement({

	getSelectedRange: function() {
		if (!Browser.Engine.trident) return {start: this.selectionStart, end: this.selectionEnd};
		var pos = {start: 0, end: 0};
		var range = this.getDocument().selection.createRange();
		if (!range || range.parentElement() != this) return pos;
		var dup = range.duplicate();
		if (this.type == 'text') {
			pos.start = 0 - dup.moveStart('character', -100000);
			pos.end = pos.start + range.text.length;
		} else {
			var value = this.value;
			var offset = value.length - value.match(/[\n\r]*$/)[0].length;
			dup.moveToElementText(this);
			dup.setEndPoint('StartToEnd', range);
			pos.end = offset - dup.text.length;
			dup.setEndPoint('StartToStart', range);
			pos.start = offset - dup.text.length;
		}
		return pos;
	},

	selectRange: function(start, end) {
		if (Browser.Engine.trident) {
			var diff = this.value.substr(start, end - start).replace(/\r/g, '').length;
			start = this.value.substr(0, start).replace(/\r/g, '').length;
			var range = this.createTextRange();
			range.collapse(true);
			range.moveEnd('character', start + diff);
			range.moveStart('character', start);
			range.select();
		} else {
			this.focus();
			this.setSelectionRange(start, end);
		}
		return this;
	}

});

/* compatibility */

Autocompleter.Base = Autocompleter;
/**
 * Autocompleter.Request
 *
 * http://digitarald.de/project/autocompleter/
 *
 * @version		1.1.2
 *
 * @license		MIT-style license
 * @author		Harald Kirschner <mail [at] digitarald.de>
 * @copyright	Author
 */

Autocompleter.Request = new Class({

	Extends: Autocompleter,

	options: {/*
		indicator: null,
		indicatorClass: null,
		onRequest: $empty,
		onComplete: $empty,*/
		postData: {},
		ajaxOptions: {},
		postVar: 'value'

	},

	query: function(){
		var data = $unlink(this.options.postData) || {};
		data[this.options.postVar] = this.queryValue;
		var indicator = $(this.options.indicator);
		if (indicator) indicator.setStyle('display', '');
		var cls = this.options.indicatorClass;
		if (cls) this.element.addClass(cls);
		this.fireEvent('onRequest', [this.element, this.request, data, this.queryValue]);
		this.request.send({'data': data});
	},

	/**
	 * queryResponse - abstract
	 *
	 * Inherated classes have to extend this function and use this.parent()
	 */
	queryResponse: function() {
		var indicator = $(this.options.indicator);
		if (indicator) indicator.setStyle('display', 'none');
		var cls = this.options.indicatorClass;
		if (cls) this.element.removeClass(cls);
		return this.fireEvent('onComplete', [this.element, this.request]);
	}

});

Autocompleter.Request.JSON = new Class({

	Extends: Autocompleter.Request,

	initialize: function(el, url, options) {
		this.parent(el, options);
		this.request = new Request.JSON($merge({
			'url': url,
			'link': 'cancel'
		}, this.options.ajaxOptions)).addEvent('onComplete', this.queryResponse.bind(this));
	},

	queryResponse: function(response) {
		this.parent();
		this.update(response);
	}

});

Autocompleter.Request.HTML = new Class({

	Extends: Autocompleter.Request,

	initialize: function(el, url, options) {
		this.parent(el, options);
		this.request = new Request.HTML($merge({
			'url': url,
			'link': 'cancel',
			'update': this.choices
		}, this.options.ajaxOptions)).addEvent('onComplete', this.queryResponse.bind(this));
	},

	queryResponse: function(tree, elements) {
		this.parent();
		if (!elements || !elements.length) {
			this.hideChoices();
		} else {
			this.choices.getChildren(this.options.choicesMatch).each(this.options.injectChoice || function(choice) {
				var value = choice.innerHTML;
				choice.inputValue = value;
				this.addChoiceEvents(choice.set('html', this.markQueryValue(value)));
			}, this);
			this.showChoices();
		}

	}

});

/* compatibility */

Autocompleter.Ajax = {
	Base: Autocompleter.Request,
	Json: Autocompleter.Request.JSON,
	Xhtml: Autocompleter.Request.HTML
};

/**************************************************************

	Script		: multiBox
	Version		: 2.0.2
	Authors		: Samuel Birch
	Desc		: Supports jpg, gif, png, flash, flv, mov, wmv, mp3, html, iframe
	Licence		: Open Source MIT Licence
	Modified	: Liam Smart (liam_smart@hotmail.com) - MooTools 1.2 upgrade
	Usage		: window.addEvent('domready', function(){
					  //call multiBox
					  var initMultiBox = new multiBox({
						  mbClass: '.mb',//class you need to add links that you want to trigger multiBox with (remember and update CSS files)
						  container: $(document.body),//where to inject multiBox
						  descClassName: 'multiBoxDesc',//the class name of the description divs
						  path: './Files/',//path to mp3 and flv players
						  useOverlay: true,//use a semi-transparent background. default: false;
						  maxSize: {w:600, h:400},//max dimensions (width,height) - set to null to disable resizing
						  addDownload: true,//do you want the files to be downloadable?
						  pathToDownloadScript: './Scripts/ForceDownload.asp',//if above is true, specify path to download script (classicASP and ASP.NET versions included)
						  addRollover: true,//add rollover fade to each multibox link
						  addOverlayIcon: true,//adds overlay icons to images within multibox links
						  addChain: true,//cycle through all images fading them out then in
						  recalcTop: true,//subtract the height of controls panel from top position
						  addTips: true//adds MooTools built in 'Tips' class to each element (see: http://mootools.net/docs/Plugins/Tips)
					  });
				  });

**************************************************************/

//start multiBox class
var multiBox = new Class({
	
	//implements
	Implements: Options,
	
	//options
	options:{
		initialSize: {w:250, h:250},//initial width/height the box will open at before resizing
		useOverlay: false,//do you want to use a semi-transparent background?
		contentColor: '#fff',//background colour of the content holder within the pop-up
		showNumbers: true,//show numbers such as "4 of 12"
		showControls: true,//show the previous/next, title, download etc
		descClassName: false,//class of description box
		movieSize: {w:400, h:300},//default width/height of movie
		offset: {x:0, y:0},//offset multiBox position
		fixedTop: false,//force multiBox to open at top of page
		path: './Files/',//path to mp3player and flvplayer etc
		openFromLink: true,//pop-up will slide in from the position of the element clicked
		useKeyboard: true//allow keyboard shortcuts (esc: close, spacebar & right arrow: next, left arrow: previous)
	},

	//initialization
	initialize: function(options){
		//set options
		this.setOptions(options);
		//set variables
		this.openClosePos = {};
		this.contentToLoad = {};
		this.contentObj = {};
		this.containerDefaults = {};
		this.multiBox = [];
		this.families = [];
		this.content = [];
		this.timer = 0;
		this.index = 0;
		this.opened = false;
		this.currentGallery = null;
		//start multiBox
		if($$(this.options.mbClass).length > 0){this.start();};
	},
	
	//start multiBox
	start: function(){
		//there will be no next/previous buttons unless you specify them to a group
		$$(this.options.mbClass).each(function(el){
			//we must store original rel & title values to use later
			if($chk(el.get('rel'))){
				el.store('origRel',el.get('rel'));
			};
			if($chk(el.get('title'))){
				el.store('origTitle',el.get('title'));
			};
			//check if it has a rel="[group]"
			if(el.rel.test(/\[*?]/i)){
				//if there are more than 1 rel value, we need to split them to find our group
				if(el.get('rel').contains(',')){
					//split then loop through each array instance of the split rel's
					var tempArr = el.get('rel').split(',');
					tempArr.each(function(temp,i){
						if(temp.contains('[')){//only take out the rel relating to a [group]
							//change this links relation to the temp variable
							el.set('rel',temp);
						};
					},this);
				};
				//if rel isnt already in fanilies then create a new instance for it
				this.families.include(el.get('rel'));
			};
			//finally now we have put them into families, push each link with 'mbClass' into multiBox array
			this.multiBox.push(el);
		},this);
		//loop through each mb link seperating content into groups of families
		this.multiBox.each(function(el){
			//check rel contains a group
			if(el.rel.test(/\[*?]/i)){
				//we know the link has a group so loop through each family to find where it belongs
				this.families.each(function(fam,i){
					//if the rel belongs to a family we make sure its pushed into correct family array within content array
					if(el.get('rel') == fam){
						//if there isnt a family array within content array to hold this family create one
						if(!this.content[i]){
							//create new gallery
							this.content[i] = [];
						};
						//finally push link into appropriate family within content array
						this.content[i].push(el);
					};
				},this);
			};
		},this);
		//loop through each mb link seperating content into groups of families
		this.multiBox.each(function(el){
			//check rel DOESNT contain a group
			if(el.rel.test(/\[*?]/i) == false){
				//add link into content array as a single array as it doesnt belong to a family
				this.content.push([el]);
			};
		},this);
		
		this.container = new Element('div').addClass('MultiBoxContainer').inject(this.options.container,'inside');
		this.iframe = new Element('iframe', {
			'id': 'multiBoxIframe',
			'name': 'mulitBoxIframe',
			'src': 'javascript:void(0);',
			'frameborder': 0,
			'scrolling': 'no',
			'styles': {
				position: 'absolute',
				top: 0,
				left: 0,
				width: '100%',
				height: '100%',
				filter: 'progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=0)',
				opacity: 0
			}
		}).inject(this.container,'inside');

		this.box = new Element('div').addClass('MultiBoxContent').inject(this.container,'inside');
		this.closeButton = new Element('div').addClass('MultiBoxClose').inject(this.container,'inside').addEvent('click', this.close.bind(this));
		this.controlsContainer = new Element('div').addClass('MultiBoxControlsContainer').inject(this.container,'inside');
		this.controls = new Element('div').addClass('MultiBoxControls').inject(this.controlsContainer,'inside');
		this.previousButton = new Element('div').addClass('MultiBoxPrevious').inject(this.controls,'inside').addEvent('click', this.previous.bind(this));
		this.nextButton = new Element('div').addClass('MultiBoxNext').inject(this.controls,'inside').addEvent('click', this.next.bind(this));
		this.title = new Element('div').addClass('MultiBoxTitle').inject(this.controls,'inside');
		this.number = new Element('div').addClass('MultiBoxNumber').inject(this.controls,'inside');
		this.description = new Element('div').addClass('MultiBoxDescription').inject(this.controls,'inside');
		
		//check user options and call functions accordingly
		if(this.options.useKeyboard){
			$(window.document).addEvent('keydown',function(e){
				if(e.key == 'right' || e.key == 'space'){
					this.next();
				}else if(e.key == 'left'){
					this.previous();
				}else if(e.key == 'esc'){
					this.close();
				};
			}.bind(this));
		};
		if(this.options.useOverlay){
			this.overlay = new Overlay({
				container:this.options.container,
				onClick:this.close.bind(this)
			});
		};
		if(this.options.addOverlayIcon == true){
			this.addOverlayIcon(this.multiBox);
		};
		if(this.options.addRollover == true){
			this.addRollover(this.multiBox);
		};
		if(this.options.addChain == true){
			this.addChain(this.multiBox);
		};
		if(this.options.descClassName){
			this.descriptions = $$('.'+this.options.descClassName);
		};
		if(this.options.addDownload == true){
			this.addDownload(this.multiBox);
		};
		if(this.options.addTips == true){
			this.addTips(this.multiBox);
		};

		//if there is only one multiBox link don't show unneccesary buttons
		if(this.multiBox.length == 1){
			this.title.setStyle('margin-left',0);
			this.description.setStyle('margin-left',0);
			this.previousButton.setStyle('display','none');
			this.nextButton.setStyle('display','none');
			this.number.setStyle('display','none');
		};
		
		new Element('div').setStyle('clear','both').inject(this.controls,'inside');
		
		//start breaking into content array to add event listeners to each link within each group
		this.content.each(function(el,i){
			//now we are left with each group as arrays
			el.each(function(group,i){
				//add event listener
				group.addEvent('click', function(e){
					var myTarget = ($(e.target).match('a')) ? $(e.target) : $(e.target).getParent('a');
					e.preventDefault();
					this.open(el.indexOf(myTarget),el);
				}.bind(this));
				//check to see if link is an HTML element
				if(group.href.indexOf('#') > -1){
					//grab it as an object
					group.content = $(group.href.substr(group.href.indexOf('#')+1));
					//hide the object
					if(group.content){
						group.content.setStyle('display','none');
					};
				};
			},this);
		},this);
		
		this.containerEffects = new Fx.Morph(this.container,{duration:400});
		this.controlEffects = new Fx.Morph(this.controlsContainer,{duration:300});
		this.reset();
	},
	
	setContentType: function(element){
		var str = element.href.substr(element.href.lastIndexOf('.')+1).toLowerCase();
		var myRel = element.retrieve('origRel');
		var contentOptions = {};
		//retrieve original rel values and make sure there was one
		if($chk(myRel)){
			//split the options just incase there are more than 1
			var optArr = myRel.split(',');
			optArr.each(function(el){
				//make sure the group is ignored
				if(el.test(/\[*?]/i) != true){
					var ta = el.split(':');
					contentOptions[ta[0]] = ta[1];
				};
			});
		};
		
		if(contentOptions.type != undefined){
			str = contentOptions.type;
		};
		
		this.contentObj = {};
		this.contentObj.url = element.href;
		this.contentObj.xH = 0;
		
		if(contentOptions.width){
			this.contentObj.width = contentOptions.width;
		}else{
			this.contentObj.width = this.options.movieSize.w;
		};
		if(contentOptions.height){
			this.contentObj.height = contentOptions.height;
		}else{
			this.contentObj.height = this.options.movieSize.h;
		};
		if(contentOptions.panel){
			this.panelPosition = contentOptions.panel;
		}else{
			this.panelPosition = this.options.panel;
		};
		
		switch(str){
			case 'jpg':
			case 'gif':
			case 'png':
				this.type = 'image';
				break;
			case 'swf':
				this.type = 'flash';
				break;
			case 'flv':
				this.type = 'flashVideo';
				this.contentObj.xH = 70;
				break;
			case 'mov':
				this.type = 'quicktime';
				break;
			case 'wmv':
				this.type = 'windowsMedia';
				break;
			case 'rv':
			case 'rm':
			case 'rmvb':
				this.type = 'real';
				break;
			case 'mp3':
				this.type = 'flashMp3';
				this.contentObj.width = 320;
				this.contentObj.height = 70;
				break;
			case 'element':
				this.type = 'htmlelement';
				this.elementContent = element.content;
				this.elementContent.setStyles({
					display: 'block',
					opacity: 0,
					width: 'auto'//added this to get htmlElement to behave
				});
				
				//check and see if styles are being applied to HTML content section
				if(this.elementContent.getStyle('width') != 'auto'){
					this.contentObj.width = this.elementContent.getWidth();
				};
				
				this.contentObj.height = this.elementContent.getHeight();
				this.elementContent.setStyles({
					display: 'none',
					opacity: 1
				});
				break;
			default:
				this.type = 'iframe';
				if(contentOptions.req){
					this.type = 'req';
				};
				break;
		}
	},
	
	reset: function(){
		this.container.setStyles({
			opacity: 0,
			display: 'none'
		});
		this.controlsContainer.setStyle('height',0);
		this.removeContent();
		this.previousButton.removeClass('MultiBoxButtonDisabled');
		this.nextButton.removeClass('MultiBoxButtonDisabled');
		this.opened = false;
	},
	
	getOpenClosePos: function(element){
		if(this.options.openFromLink){
			if(element.getFirst()){
				var w = element.getFirst().getCoordinates().width - (this.container.getStyle('border').toInt() * 2);
				if(w < 0){
					w = 0;
				};
				var h = element.getFirst().getCoordinates().height - (this.container.getStyle('border').toInt() * 2);
				if(h < 0){
					h = 0;
				};
				this.openClosePos = {
					width: w,
					height: h,
					top: element.getFirst().getCoordinates().top,
					left: element.getFirst().getCoordinates().left
				};
			}else{
				var w = element.getCoordinates().width - (this.container.getStyle('border').toInt() * 2);
				if(w < 0){
					w = 0;
				};
				var h = element.getCoordinates().height - (this.container.getStyle('border').toInt() * 2);
				if(h < 0){
					h = 0;
				};
				this.openClosePos = {
					width: w,
					height: h,
					top: element.getCoordinates().top,
					left: element.getCoordinates().left
				};
			};
		}else{
			if(this.options.fixedTop){
				var top = this.options.fixedTop;
			}else{
				var top = ((window.getHeight()/2)-(this.options.initialSize.h/2)-this.container.getStyle('border').toInt())+this.options.offset.y;
			};
			this.openClosePos = {
				width: this.options.initialSize.w,
				height: this.options.initialSize.h,
				top: top,
				left: ((window.getWidth()/2)-(this.options.initialSize.w/2)-this.container.getStyle('border').toInt())+this.options.offset.x
			};
		};
		return this.openClosePos;
	},
	
	open: function(index,currGal){
		//need to store current gallery and index of the object in gallery
		this.currentGallery = currGal;
		this.index = index;
		//grab id so description can be matched
		this.openId = this.currentGallery[this.index].getProperty('id');
		//check to see if mb is already open
		if(!this.opened){
			this.opened = true;
			
			if(this.options.useOverlay){
				this.overlay.show();
			};
			
			this.container.setStyles(this.getOpenClosePos(this.currentGallery[this.index]));
			this.container.setStyles({
				opacity: 0,
				display: 'block'
			});
			
			if(this.options.fixedTop){
				var top = this.options.fixedTop;
			}else{
				var top = ((window.getHeight()/2)-(this.options.initialSize.h/2)-this.container.getStyle('border').toInt())+this.options.offset.y;
			};
			
			this.containerEffects.start({
				width: this.options.initialSize.w,
				height: this.options.initialSize.h,
				top: top,
				left: ((window.getWidth()/2)-(this.options.initialSize.w/2)-this.container.getStyle('border').toInt())+this.options.offset.x,
				opacity: [0, 1]
			});
			
			this.load(this.currentGallery[this.index]);
		}else{
			if(this.options.showControls){
				this.hideControls();
			};
			this.getOpenClosePos(this.currentGallery[this.index]);
			this.timer = this.hideContent.bind(this).delay(500);
			this.timer = this.load.pass(this.currentGallery[this.index],this).delay(1100);
		};
	},
	
	getContent: function(element){
		this.setContentType(element);
		var desc = {};
		if(this.options.descClassName){
			this.descriptions.each(function(el,i){
				if(el.hasClass(this.openId)){
					desc = el.clone();
				};
			},this);
		};
		this.contentToLoad = {
			title: element.retrieve('origTitle') || '&nbsp;',
			desc: desc,
			number: this.index+1
		};
	},
	
	close: function(){
		if(this.options.useOverlay){
			this.overlay.hide();
		};
		if(this.options.showControls){
			this.hideControls();
		};
		this.hideContent();
		this.containerEffects.cancel();
		this.zoomOut.bind(this).delay(500);
	},
	
	zoomOut: function(){
		this.containerEffects.start({
			width: this.openClosePos.width,
			height: this.openClosePos.height,
			top: this.openClosePos.top,
			left: this.openClosePos.left,
			opacity: 0
		});
		this.reset.bind(this).delay(500);
	},
	
	load: function(element){
		this.box.addClass('MultiBoxLoading');
		this.getContent(element);
		if(this.type == 'image'){
			var xH = this.contentObj.xH;
			this.contentObj = new Asset.image(element.href,{onload:this.resize.bind(this)});
			this.contentObj.xH = xH;
		}else{
			this.resize();
		};
	},
	
	resize: function(){
		//only resize if values have been set to resize to
		if(this.options.maxSize != null){
			var maxW = this.options.maxSize.w.toInt();//declare max width at top of script
			var maxH = this.options.maxSize.h.toInt();//declare max height at top of script
			var dW = 0;//set initial final width to 0
			var dH = 0;//set initial final height to 0
			var h = dH = this.contentObj.height;//retrieve image height
			var w = dW = this.contentObj.width;//retrieve image width
			
			if((h >= maxH) && (w >= maxW)){
				if(h > w){
					dH = maxH;
					dW = ((w * dH) / h).toInt();
				}else{
					dW = maxW;
					dH = ((h * dW) / w).toInt();
				};
			}else if((h > maxH) && (w < maxW)){
				dH = maxH;
				dW = ((w * dH) / h).toInt();
			}else if((h < maxH) && (w > maxW)){
				dW = maxW;
				dH = ((h * dW) / w).toInt();
			};
			
			this.contentObj.height = dH;//resize image height
			this.contentObj.width = dW;//resize image width
		};
		
		if(this.options.fixedTop){
			var top = this.options.fixedTop;
		}else{
			var top = ((window.getHeight() / 2) - ((Number(this.contentObj.height) + this.contentObj.xH) / 2) - this.container.getStyle('border').toInt() + window.getScrollTop()) + this.options.offset.y;
		};
		var left = ((window.getWidth() / 2) - (this.contentObj.width / 2) - this.container.getStyle('border').toInt()) + this.options.offset.x;
		if(top < 0){
			top = 0;
		};
		if(left < 0){
			left = 0;
		};
		
		this.containerEffects.cancel();
		this.containerEffects.start({
			width: this.contentObj.width,
			height: Number(this.contentObj.height) + this.contentObj.xH,
			top: top,
			left: left,
			opacity: 1
		});
		this.timer = this.showContent.bind(this).delay(500);
	},
	
	showContent: function(){
		this.box.removeClass('MultiBoxLoading');
		this.removeContent();
		this.contentContainer = new Element('div', {
			'id': 'MultiBoxContentContainer',
			'styles': {
				opacity: 0,
				width: this.contentObj.width,
				height: (Number(this.contentObj.height)+this.contentObj.xH)
			}
		}).inject(this.box,'inside');

		if(this.type == 'image'){
			this.contentObj.inject(this.contentContainer,'inside');
		}else if(this.type == 'iframe'){
			new Element('iframe', {
				'id': 'iFrame'+new Date().getTime(),
				'width': this.contentObj.width,
				'height': this.contentObj.height,
				'src': this.contentObj.url,
				'frameborder': 0,
				'scrolling': 'auto'
			}).inject(this.contentContainer,'inside');
		}else if(this.type == 'htmlelement'){
			this.elementContent.clone().setStyle('display','block').inject(this.contentContainer,'inside');
		}else if(this.type == 'req'){
			var req = new Request.HTML({
				url: this.contentObj.url,
				method: 'get',
				evalScripts: true,
				onSuccess: function(responseTree,responseElements,responseHTML,responseJavaScript){
					$('MultiBoxContentContainer').adopt(responseElements);
				}
			}).get();
		}else{
			this.obj = new Element('div').setProperties({id: 'MultiBoxMediaObject'}).inject(this.contentContainer,'inside');
			this.createEmbedObject();
			//if its a movie inject the object string into obj
			if(this.str){
				this.obj.set('html',this.str);
				this.str = null;//clear the value after using it
			};
		};
		
		this.contentEffects = new Fx.Morph(this.contentContainer,{duration:500});
		this.contentEffects.start({
			opacity: 1
		});
		
		this.title.set('html',this.contentToLoad.title);
		this.number.set('html',this.contentToLoad.number+' of '+this.currentGallery.length);
		if(this.options.descClassName){
			//check to see if there is a desc override
			if(this.currentGallery[this.index].retrieve('origRel')){
				//declare variables
				var ignoreDesc = false;
				var myRel = this.currentGallery[this.index].retrieve('origRel');
				var optArr = myRel.split(',');
				//loop through each split looking for 'noDesc'
				optArr.each(function(el){
					if(el.test('noDesc') == true){
						ignoreDesc = true;
					};
				});
			};
			//check and see if user wants to override default description setting for this element
			if(ignoreDesc != true){
				if(this.description.getFirst()){
					this.description.getFirst().destroy();
				};
				this.contentToLoad.desc.inject(this.description,'inside').setStyle('display','block');
			};
		};

		if(this.options.showControls){
			this.timer = this.showControls.bind(this).delay(800);
		};
		
		if(this.options.addDownload){
			var filePath = this.currentGallery[this.index].href;
			var fileName = this.currentGallery[this.index].href.substring(this.currentGallery[this.index].href.lastIndexOf('/')+1);
			this.download.set('html','<a href="'+this.options.pathToDownloadScript+'?FilePath='+filePath+'" title="Download File '+fileName+'">Download File</a>');
		};
	},
	
	hideContent: function(){
		this.box.addClass('MultiBoxLoading');
		this.contentEffects.start({
			opacity: 0
		});
		this.removeContent.bind(this).delay(500);
	},
	
	removeContent: function(){
		if($('MultiBoxMediaObject')){
			$('MultiBoxMediaObject').empty();//so sound doesnt keep playing in IE
			$('MultiBoxMediaObject').dispose();//dispose() instead of destroy() as IE 6&7 crashes
		};
		if($('MultiBoxContentContainer')){
			$('MultiBoxContentContainer').dispose();//dispose() instead of destroy() as IE 6&7 crashes
		};
		if(this.description){
			this.description.empty();//empty description incase next element doesnt want to have one
		};
	},
	
	showControls: function(){
		if(this.container.getStyle('height') != 'auto'){
			this.containerDefaults.height = this.container.getStyle('height');
			this.containerDefaults.backgroundColor = this.options.contentColor;
			//controls box isnt taken into consideration when positioning the container from the top so correct this
			if(this.options.recalcTop == true){
				if(this.container.getStyle('top').toInt() > this.controls.getStyle('height').toInt()/2){
					this.finalResize = new Fx.Morph(this.container,{duration:400});
					this.finalResize.start({
						top: this.container.getStyle('top').toInt()-(this.controls.getStyle('height').toInt()/2)
					});
				};
			};
		};
		
		this.container.setStyle('height','auto');

		if(this.contentToLoad.number == 1){
			this.previousButton.addClass('MultiBoxPreviousDisabled');
		}else{
			this.previousButton.removeClass('MultiBoxPreviousDisabled');
		};
		if(this.contentToLoad.number == this.currentGallery.length){
			this.nextButton.addClass('MultiBoxNextDisabled');
		}else{
			this.nextButton.removeClass('MultiBoxNextDisabled');
		};
		
		this.controlEffects.start({
			'height': this.controls.getStyle('height')
		});
	},
	
	hideControls: function(num){
		this.controlEffects.start({'height': 0}).chain(function(){
			this.container.setStyles(this.containerDefaults);
		}.bind(this));
	},
	
	next: function(){
		if(this.index < this.currentGallery.length-1){
			this.index++;
			this.openId = this.currentGallery[this.index].getProperty('id');
			if(this.options.showControls){
				this.hideControls();
			};
			this.getOpenClosePos(this.currentGallery[this.index]);
			this.timer = this.hideContent.bind(this).delay(500);
			this.timer = this.load.pass(this.currentGallery[this.index],this).delay(1100);
		};
	},
	
	previous: function(){
		if(this.index > 0){
			this.index--;
			this.openId = this.currentGallery[this.index].getProperty('id');
			if(this.options.showControls){
				this.hideControls();
			};
			this.getOpenClosePos(this.currentGallery[this.index]);
			this.timer = this.hideContent.bind(this).delay(500);
			this.timer = this.load.pass(this.currentGallery[this.index],this).delay(1000);
		};
	},
	
	createEmbedObject: function(){
		if(this.type == 'flash'){
			var url = this.contentObj.url;
			var swfHolder = new Element('div').setProperties({id: 'swfHolder'}).inject(this.obj,'inside');
			var flashObj = new Swiff(url, {
				id: url,
				container: swfHolder,
				width: this.contentObj.width,
				height: this.contentObj.height
			});
		}else if(this.type == 'flashVideo'){
			var url = this.contentObj.url;
			var swfHolder = new Element('div').setProperties({id: 'swfHolder'}).inject(this.obj,'inside');
			var flashObj = new Swiff(this.options.path+'flvplayer.swf', {
				id: url,
				container: swfHolder,
				width: this.contentObj.width,
				height: (Number(this.contentObj.height)+this.contentObj.xH),
				vars: {
					path: url
				}
			});
		}else if(this.type == 'flashMp3'){
			var url = this.contentObj.url;
			var swfHolder = new Element('div').setProperties({id: 'swfHolder'}).inject(this.obj,'inside');
			var flashObj = new Swiff(this.options.path+'mp3player.swf', {
				id: url,
				container: swfHolder,
				width: this.contentObj.width,
				height: (Number(this.contentObj.height)+this.contentObj.xH),
				vars: {
					path: url
				}
			});
		}else if(this.type == 'quicktime'){
			var url = this.contentObj.url;
			this.str = '<object  type="video/quicktime" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab"';
			this.str += ' width="'+this.contentObj.width+'" height="'+this.contentObj.height+'">';
			this.str += '<param name="src" value="'+url+'" />';
			this.str += '<param name="autoplay" value="true" />';
			this.str += '<param name="controller" value="true" />';
			this.str += '<param name="enablejavascript" value="true" />';
			this.str += '<embed src="'+url+'" autoplay="true" pluginspage="http://www.apple.com/quicktime/download/" width="'+this.contentObj.width+'" height="'+this.contentObj.height+'"></embed>';
			this.str += '</object>';
		}else if(this.type == 'windowsMedia'){
			var url = this.contentObj.url;
			this.str = '<object  type="application/x-oleobject" classid="CLSID:22D6f312-B0F6-11D0-94AB-0080C74C7E95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,7,1112"';
			this.str += ' width="'+this.contentObj.width+'" height="'+this.contentObj.height+'">';
			this.str += '<param name="filename" value="'+url+'" />';
			this.str += '<param name="Showcontrols" value="true" />';
			this.str += '<param name="autoStart" value="true" />';
			this.str += '<embed type="application/x-mplayer2" src="'+url+'" Showcontrols="true" autoStart="true" width="'+this.contentObj.width+'" height="'+this.contentObj.height+'"></embed>';
			this.str += '</object>';
		}else if(this.type == 'real'){
			var url = this.contentObj.url;
			this.str = '<object classid="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA"';
			this.str += ' width="'+this.contentObj.width+'" height="'+this.contentObj.height+'">';
			this.str += '<param name="src" value="'+url+'" />';
			this.str += '<param name="controls" value="ImageWindow" />';
			this.str += '<param name="autostart" value="true" />';
			this.str += '<embed src="'+url+'" controls="ImageWindow" autostart="true" width="'+this.contentObj.width+'" height="'+this.contentObj.height+'"></embed>';
			this.str += '</object>';
		};
	},
	
	addOverlayIcon:function(element){
		//loop through each instance
		element.each(function(el,i){
			//if link contains an image ad overlay
			if(el.getElement('img')){
				//add position:relative to them so that icon is contained
				el.setStyle('position','relative');
				//inject a new div that is the overlay icon
				var overlayIcon = new Element('div').inject(el,'inside');
				overlayIcon.addClass('OverlayIcon');
				//IE6 causes too many issues due to lack of PNG support
				if(!Browser.Engine.trident4){
					overlayIcon.setStyle('opacity',0);
					overlayIcon.set('tween',{duration:3000,transition:Fx.Transitions.Expo.easeIn}).tween('opacity',1);
				};
			};
		});
	},
	
	addRollover:function(element){
		element.each(function(el,i){
			//if link contains an image ad overlay
			if(el.getElement('img')){
				//add event listeners
				el.addEvents({
					'mouseenter': function(){
						el.getElement('img').set('tween',{duration:200,transition:Fx.Transitions.linear}).tween('opacity',0.5);
					},
					'mouseleave': function(){
						el.getElement('img').set('tween',{duration:400,transition:Fx.Transitions.linear}).tween('opacity',1);
					}
				});
			};
		});
	},
	
	addChain:function(element){
		//create new array to hold all links with images to chain through
		var chainArray = [];
		//push link into chainArray if it contains an image
		element.each(function(el,i){
			//detect whether link contains image
			if(el.getElement('img')){
				chainArray.push(el);
			};
		});
		//now chain through each item in the new array
		chainArray.each(function(el,i){
			//detect whether link contains image
			if(el.getElement('img')){
				//chain through each multibox link that contains an image
				var HoverMe = new Chain();
				var hoverOn = function(){
					el.getElement('img').set('tween',{duration:200,transition:Fx.Transitions.linear}).tween('opacity',0.5);
				};
				var hoverOff = function(){
					el.getElement('img').set('tween',{duration:400,transition:Fx.Transitions.linear}).tween('opacity',1);
				};
				HoverMe.chain(hoverOn);
				HoverMe.chain(hoverOff);
				HoverMe.callChain.delay(2000+(i+1)*1000,HoverMe);
				HoverMe.callChain.delay((i+2)*1000,HoverMe);
			};
		});
	},
	
	addDownload:function(element){
		this.download = new Element('div').addClass('MultiBoxDownload').inject(this.controls,'inside').setStyle('margin-left',0);
	},
	
	addTips:function(element){
		element.each(function(el,i){
			//add MooTools tips
			if(el.get('title')){
				var toolTips = new Tips(el, {
					onShow: function(el){el.fade(.9);},
					onHide: function(el){el.fade(0);},
					offsets: {'x':16,'y':5},
					className: 'mbTips'
				});
			};
			//remove title so dont get duplication of title and MooTools tips
			if(el.getElement('img')){
				if(el.getElement('img').get('title')){
					el.getElement('img').erase('title');
				};
				if(el.getElement('img').get('alt')){
					el.getElement('img').erase('alt');
				};
			};
		});
	}
});
/**************************************************************

	Script		: Overlay
	Version		: 2.0.2
	Authors		: Samuel Birch
	Desc		: Covers the window with a semi-transparent layer.
	Licence		: Open Source MIT Licence
	Modified	: Liam Smart (liam_smart@hotmail.com) - MooTools 1.2 upgrade

**************************************************************/

//start overlay class
var Overlay = new Class({
	
	//implements
	Implements: Options,
	
	//options
	options:{
		colour: '#000',//background color of overlay
		opacity: 0.7,//opacity of overlay
		zIndex: 100,//the z-index of the overlay (needs to lower than multiBox pop-up)
		onClick: new Class()//make sure new class is loaded
	},

	//initialization
	initialize: function(options){
		//set options
		this.setOptions(options);
		//start building overlay
		this.container = new Element('div', {
			'id': 'OverlayContainer',
			'styles': {
				position: 'absolute',
				left: 0,
				top: 0,
				width: '100%',
				visibility: 'hidden',
				overflow: 'hidden',
				zIndex: this.options.zIndex,
				opacity: 0
			}
		}).inject(this.options.container,'inside');
		
		this.iframe = new Element('iframe', {
			'id': 'OverlayIframe',
			'name': 'OverlayIframe',
			'src': 'javascript:void(0);',
			'frameborder': 0,
			'scrolling': 'no',
			'styles': {
				position: 'absolute',
				top: 0,
				left: 0,
				width: '100%',
				height: '100%',
				filter: 'progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=0)',
				opacity: 0,
				zIndex: 101
			}
		}).inject(this.container,'inside');
		
		this.overlay = new Element('div', {
			'id': 'Overlay',
			'styles': {
				position: 'absolute',
				left: 0,
				top: 0,
				width: '100%',
				height: '100%',
				zIndex: 102,
				backgroundColor: this.options.colour
			}
		}).inject(this.container,'inside');
		
		this.container.addEvent('click', function(){
			this.options.onClick();
		}.bind(this));
		
		this.fade = new Fx.Morph(this.container);
		this.position();
		
		window.addEvent('resize',this.position.bind(this));
	},
	
	position: function(){
		if(this.options.container == document.body){
			if(this.options.container.getHeight() >= this.options.container.getScrollHeight()){
				this.container.setStyles({
					width: window.getWidth(),
					height: window.getHeight()
				});
			}else{
				this.container.setStyles({
					width: window.getWidth(),
					height: window.getScrollHeight()
				});
			};
		}else{
			var myCoords = this.options.container.getCoordinates();
			this.container.setStyles({
				top: myCoords.top,
				height: myCoords.height,
				left: myCoords.left,
				width: myCoords.width
			});
		};
	},
	
	show: function(){
		this.fade.start({
			visibility: 'visible',
			opacity: this.options.opacity
		}).chain(function() {
			visibility: 'hidden'
		});
	},
	
	hide: function(){
		this.fade.start({
			opacity: 0
		}).chain(function() {
			visibility: 'hidden'
		});
	}
});
/*
 * 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:
 * © 1992, 1994, 1997, 2000, 2004 Adobe Systems Incorporated. All rights reserved.
 * Protected by U.S. Patents D454,582.
 * 
 * Trademark:
 * Myriad is either a registered trademark or a trademark of Adobe Systems
 * Incorporated in the United States and/or other countries.
 * 
 * Full name:
 * MyriadPro-BoldCond
 * 
 * Designer:
 * Robert Slimbach and Carol Twombly
 * 
 * Vendor URL:
 * http://www.adobe.com/type
 * 
 * License information:
 * http://www.adobe.com/type/legal.html
 */
Cufon.registerFont({"w":153,"face":{"font-family":"Myriad Pro","font-weight":700,"font-stretch":"condensed","units-per-em":"360","panose-1":"2 11 7 6 3 4 3 2 2 4","ascent":"270","descent":"-90","x-height":"3","bbox":"-14 -303 240 90","underline-thickness":"18","underline-position":"-18","stemh":"33","stemv":"47","unicode-range":"U+0020-U+20AC"},"glyphs":{" ":{"w":57,"k":{"T":4,"V":4,"W":4,"Y":4}},"!":{"d":"63,-79r-40,0r-6,-164r51,0xm42,3v-15,0,-27,-12,-27,-29v0,-18,12,-29,27,-29v15,0,27,11,27,29v0,17,-10,29,-27,29","w":84},"\"":{"d":"12,-246r38,0r-8,93r-23,0xm69,-246r39,0r-8,93r-23,0","w":119,"k":{"T":-6,"J":9,"C":3,"G":3,"O":3,"Q":3,"\u00d6":3,"V":-6,"W":-6,"X":-6,"Y":-12,"A":17,"\u00c4":17,"f":-6,"g":10,"c":10,"d":10,"e":10,"o":10,"q":10,"\u00f6":10,"s":3,"t":-7,"x":-3,",":35,".":35}},"#":{"d":"62,-97r25,0r5,-42r-25,0xm49,0r-27,0r9,-70r-26,0r0,-27r30,0r5,-42r-27,0r0,-27r31,0r8,-68r26,0r-8,68r26,0r8,-68r27,0r-9,68r26,0r0,27r-29,0r-5,42r27,0r0,27r-30,0r-9,70r-27,0r9,-70r-26,0"},"$":{"d":"91,-66v-2,-38,-82,-55,-71,-100v0,-27,16,-49,43,-58r0,-37r31,0r0,33v14,0,27,4,36,9r-8,36v-15,-13,-58,-12,-58,14v0,12,4,21,30,34v59,30,51,111,-5,126r0,39r-31,0r0,-36v-15,-1,-29,-5,-38,-9r7,-38v17,14,66,17,64,-13"},"%":{"d":"54,-237v35,0,46,39,46,71v0,50,-22,72,-46,72v-33,0,-48,-36,-48,-71v0,-38,17,-72,48,-72xm53,-212v-10,0,-15,17,-15,46v0,31,5,48,16,48v11,0,14,-18,14,-47v0,-28,-3,-47,-15,-47xm67,4r-24,0r126,-241r24,0xm184,-141v35,0,46,39,46,71v0,50,-22,72,-46,72v-33,0,-48,-36,-48,-71v0,-38,17,-72,48,-72xm183,-116v-10,0,-15,17,-15,46v0,30,5,47,16,47v11,0,14,-17,14,-46v0,-28,-3,-47,-15,-47","w":236},"&":{"d":"189,0r-51,0v-4,-5,-7,-9,-12,-16v-39,39,-119,13,-119,-49v0,-30,16,-50,38,-67v-35,-44,-19,-114,43,-114v66,0,73,87,11,122v10,16,27,40,36,52v8,-16,10,-39,11,-57r40,0v-3,33,-14,66,-30,85v8,10,19,26,33,44xm50,-71v0,35,39,52,58,27v-13,-16,-30,-40,-44,-60v-7,7,-14,18,-14,33xm86,-214v-24,0,-20,47,-5,63v15,-12,21,-24,21,-38v0,-11,-3,-25,-16,-25","w":190},"(":{"d":"53,-249r34,0v-48,56,-49,235,0,292r-34,0v-21,-27,-42,-77,-42,-146v0,-70,21,-119,42,-146","w":92,"k":{"T":-4,"J":-9,"C":7,"G":7,"O":7,"Q":7,"\u00d6":7,"V":-13,"W":-13,"X":-3,"Y":-21,"A":2,"\u00c4":2,"j":-21,"c":1,"d":1,"e":1,"o":1,"q":1,"\u00f6":1}},")":{"d":"40,43r-34,0v48,-56,49,-236,0,-292r34,0v21,26,42,74,42,145v0,71,-21,119,-42,147","w":92},"*":{"d":"89,-246r29,17r-36,43r51,-9r0,33v-16,-2,-36,-9,-51,-9r36,41r-31,17r-19,-51r-21,51r-27,-17v10,-14,28,-29,35,-43r-50,11r0,-33v16,2,36,9,50,8r-35,-41r30,-17v7,16,11,36,20,51","w":138},"+":{"d":"92,-192r30,0r0,81r78,0r0,30r-78,0r0,81r-30,0r0,-81r-78,0r0,-30r78,0r0,-81","w":214},",":{"d":"34,42r-30,3v10,-30,20,-68,24,-96r48,-3v-11,32,-26,70,-42,96","w":83,"k":{"\"":33,"'":33}},"-":{"d":"11,-116r71,0r0,34r-71,0r0,-34","w":93,"k":{"T":9,"J":2,"C":-6,"G":-6,"O":-6,"Q":-6,"\u00d6":-6,"V":1,"W":1,"X":1,"Y":6,"A":1,"\u00c4":1,"g":-1,"c":-6,"d":-6,"e":-6,"o":-6,"q":-6,"\u00f6":-6}},".":{"d":"44,3v-14,0,-27,-12,-27,-31v0,-18,13,-32,28,-32v15,0,27,13,27,32v0,19,-11,31,-28,31","w":83,"k":{"\"":33,"'":33}},"\/":{"d":"23,14r-31,0r85,-260r30,0","w":100},"0":{"d":"78,-237v55,0,67,63,67,119v0,84,-30,121,-68,121v-51,0,-69,-59,-69,-119v0,-67,22,-121,70,-121xm78,-197v-15,0,-22,26,-22,80v0,55,6,80,22,80v14,0,20,-26,20,-80v0,-50,-5,-80,-20,-80"},"1":{"d":"64,0r0,-190r-40,21r-8,-37r54,-28r41,0r0,234r-47,0"},"2":{"d":"137,0r-128,0r0,-32v28,-38,78,-93,78,-134v0,-38,-47,-37,-65,-20r-8,-36v11,-7,31,-15,52,-15v113,0,63,135,13,178v-4,6,-11,11,-14,18r72,0r0,41"},"3":{"d":"9,-8r6,-37v24,15,73,12,71,-24v-2,-28,-23,-39,-50,-38r0,-34v20,1,43,-6,44,-30v2,-31,-38,-33,-57,-18r-6,-36v10,-6,29,-12,48,-12v71,-2,81,86,28,109v63,23,49,136,-39,131v-19,0,-35,-5,-45,-11"},"4":{"d":"126,0r-42,0r0,-56r-80,0r0,-32r77,-146r45,0r0,140r23,0r0,38r-23,0r0,56xm84,-94v-1,-27,6,-63,1,-86v-12,30,-27,58,-41,86r40,0"},"5":{"d":"64,-151v38,-3,71,27,71,71v0,62,-67,102,-125,74r7,-38v27,15,74,10,72,-31v-2,-39,-33,-44,-68,-42r14,-117r96,0r0,41r-62,0"},"6":{"d":"128,-237r0,38v-42,0,-69,30,-71,65v33,-41,90,-10,90,54v0,41,-21,83,-67,83v-89,0,-87,-169,-34,-206v21,-22,50,-32,82,-34xm78,-119v-15,0,-22,13,-22,37v0,31,9,51,24,51v15,0,20,-21,20,-49v0,-20,-7,-39,-22,-39"},"7":{"d":"14,-234r127,0r0,31r-73,203r-46,0r72,-193r-80,0r0,-41"},"8":{"d":"7,-61v-1,-30,18,-49,35,-63v-54,-33,-24,-113,38,-113v58,0,86,77,29,110v22,12,37,33,37,61v0,43,-31,69,-70,69v-40,0,-69,-26,-69,-64xm77,-29v15,0,23,-15,23,-35v0,-22,-14,-36,-27,-43v-25,11,-29,76,4,78xm78,-205v-31,5,-22,57,3,64v19,-8,24,-63,-3,-64"},"9":{"d":"27,3r0,-39v43,1,66,-25,70,-63v-35,33,-88,3,-88,-56v0,-40,24,-82,69,-82v90,0,75,173,28,209v-21,16,-43,32,-79,31xm55,-159v-5,49,49,58,42,5v4,-62,-44,-65,-42,-5"},":":{"d":"45,-115v-15,0,-27,-13,-27,-30v0,-17,13,-30,27,-30v15,0,27,12,27,30v0,17,-10,30,-27,30xm45,3v-15,0,-27,-12,-27,-30v0,-17,13,-30,27,-30v15,0,27,12,27,30v0,18,-10,30,-27,30","w":83},";":{"d":"33,42r-29,3v10,-30,20,-68,24,-96r47,-3v-10,32,-26,70,-42,96xm46,-115v-15,0,-26,-13,-26,-30v0,-17,13,-30,27,-30v15,0,26,12,26,30v0,17,-10,30,-27,30","w":83},"<":{"d":"21,-85r0,-22r173,-85r0,37r-127,60r127,59r0,36","w":214},"=":{"d":"200,-115r-186,0r0,-30r186,0r0,30xm200,-48r-186,0r0,-29r186,0r0,29","w":214},">":{"d":"194,-112r0,32r-173,80r0,-36r138,-60r-138,-60r0,-36","w":214},"?":{"d":"114,-192v1,46,-47,66,-42,116r-40,0v-13,-38,32,-74,34,-108v2,-22,-30,-28,-47,-16r-8,-36v8,-5,25,-11,42,-11v48,0,61,31,61,55xm79,-26v0,17,-11,29,-28,29v-15,0,-26,-12,-26,-29v0,-18,13,-29,27,-29v15,0,27,11,27,29","w":120},"@":{"d":"101,-48v24,-5,27,-55,33,-82v-28,-10,-43,21,-46,62v0,12,4,20,13,20xm153,6r6,15v-70,38,-147,3,-147,-93v0,-72,45,-141,115,-141v58,0,86,44,86,93v0,63,-22,97,-57,97v-19,0,-24,-15,-27,-31v-15,41,-71,43,-71,-12v0,-58,50,-107,108,-81r-12,67v-5,26,-1,37,10,37v14,0,29,-24,29,-72v0,-46,-20,-82,-69,-82v-48,0,-93,50,-93,125v0,82,64,110,122,78","w":223},"A":{"d":"103,-55r-44,0r-10,55r-46,0r52,-243r57,0r47,243r-46,0xm64,-92r35,0r-17,-106","w":164,"k":{"T":18,"J":-14,"C":6,"G":6,"O":6,"Q":6,"\u00d6":6,"U":6,"\u00dc":6,"V":8,"W":8,"X":-2,"Y":10,"Z":-9,"a":-3,"\u00e4":-3,"f":1,"g":1,"j":-2,"c":2,"d":2,"e":2,"o":2,"q":2,"\u00f6":2,"s":-3,"t":1,"v":5,"w":5,"y":5,"z":-4,"\"":17,"'":17}},"B":{"d":"162,-70v0,67,-71,79,-141,69r0,-238v56,-13,133,-5,133,56v0,24,-14,41,-34,55v28,8,42,31,42,58xm68,-207r0,64v25,3,39,-10,40,-34v2,-23,-16,-35,-40,-30xm68,-108r0,73v25,2,45,-8,45,-36v0,-28,-18,-39,-45,-37","w":173,"k":{"T":1,"Y":1,",":7,".":7}},"C":{"d":"132,-43r5,39v-76,25,-131,-31,-128,-114v4,-105,63,-143,131,-120r-8,39v-44,-14,-73,8,-73,79v0,69,26,88,73,77","w":142,"k":{"T":-9,"J":-14,"C":4,"G":4,"O":4,"Q":4,"\u00d6":4,"V":-9,"W":-9,"X":-12,"Y":-17,"A":-6,"\u00c4":-6,"a":-1,"\u00e4":-1,"c":2,"d":2,"e":2,"o":2,"q":2,"\u00f6":2,"v":6,"w":6,"y":6,"z":-6,"b":-2,"h":-2,"k":-2,"l":-2,"i":-2,"m":-2,"n":-2,"p":-2,"r":-2,")":-6,"]":-6,"}":-6,"\"":-9,"'":-9}},"D":{"d":"168,-124v2,99,-51,137,-147,123r0,-238v12,-3,29,-5,48,-5v75,2,97,42,99,120xm68,-205r0,168v34,2,51,-17,51,-89v0,-54,-14,-85,-51,-79","w":176,"k":{"T":3,"J":1,"X":-1,"A":6,"\u00c4":6,"a":-3,"\u00e4":-3,"f":-6,"j":-2,"t":-6,"v":-4,"w":-4,"y":-4,"i":-3,"m":-3,"n":-3,"p":-3,"r":-3,"u":-5,"\u00fc":-5,"-":-6,")":5,"]":5,"}":5,",":13,".":13}},"E":{"d":"123,-146r0,39r-55,0r0,66r62,0r0,41r-109,0r0,-243r105,0r0,41r-58,0r0,56r55,0","w":141,"k":{"J":-10,"V":-1,"W":-1,"Y":-4,"f":1,"g":1,"c":3,"d":3,"e":3,"o":3,"q":3,"\u00f6":3,"v":4,"w":4,"y":4,"b":1,"h":1,"k":1,"l":1,"u":1,"\u00fc":1,",":2,".":2}},"F":{"d":"21,0r0,-243r105,0r0,41r-58,0r0,63r55,0r0,39r-55,0r0,100r-47,0","w":141,"k":{"J":15,"A":13,"\u00c4":13,"M":6,"a":8,"\u00e4":8,"g":7,"c":9,"d":9,"e":9,"o":9,"q":9,"\u00f6":9,"t":3,"v":6,"w":6,"y":6,"b":1,"h":1,"k":1,"l":1,"i":3,"m":3,"n":3,"p":3,"r":3,"u":3,"\u00fc":3,":":6,";":6,",":30,".":30}},"G":{"d":"105,2v-69,0,-98,-51,-96,-122v3,-105,67,-141,143,-118r-8,41v-49,-16,-86,4,-86,80v0,62,21,83,54,78r0,-59r-22,0r0,-38r66,0r0,130v-10,4,-33,8,-51,8","w":169,"k":{"a":-3,"\u00e4":-3,"v":4,"w":4,"y":4}},"H":{"d":"21,-243r47,0r0,98r49,0r0,-98r48,0r0,243r-48,0r0,-102r-49,0r0,102r-47,0r0,-243","w":185,"k":{"c":2,"d":2,"e":2,"o":2,"q":2,"\u00f6":2,"v":3,"w":3,"y":3}},"I":{"d":"21,-243r47,0r0,243r-47,0r0,-243","w":89,"k":{"c":2,"d":2,"e":2,"o":2,"q":2,"\u00f6":2,"v":3,"w":3,"y":3}},"J":{"d":"41,-75r0,-168r48,0r0,166v-2,82,-43,86,-92,76r4,-39v25,2,39,4,40,-35","w":106,"k":{"v":-3,"w":-3,"y":-3,",":6,".":6}},"K":{"d":"21,0r0,-243r47,0r1,109r44,-109r52,0r-54,106r55,137r-52,0r-35,-100v-18,19,-9,65,-11,100r-47,0","w":165,"k":{"J":-12,"C":5,"G":5,"O":5,"Q":5,"\u00d6":5,"Z":-9,"A":-3,"\u00c4":-3,"a":-5,"\u00e4":-5,"g":5,"c":1,"d":1,"e":1,"o":1,"q":1,"\u00f6":1,"v":5,"w":5,"y":5,"b":-3,"h":-3,"k":-3,"l":-3,"i":-1,"m":-1,"n":-1,"p":-1,"r":-1,"u":1,"\u00fc":1,"-":5,"\"":-6,"'":-6,",":-6,".":-6}},"L":{"d":"21,0r0,-243r47,0r0,203r62,0r0,40r-109,0","w":136,"k":{"T":20,"J":-14,"C":10,"G":10,"O":10,"Q":10,"\u00d6":10,"U":7,"\u00dc":7,"V":13,"W":13,"Y":18,"A":-3,"\u00c4":-3,"a":-2,"\u00e4":-2,"f":4,"g":1,"c":2,"d":2,"e":2,"o":2,"q":2,"\u00f6":2,"t":8,"v":8,"w":8,"y":8,"u":2,"\u00fc":2,"-":12,"\"":28,"'":28}},"M":{"d":"174,0r-8,-165v-10,60,-25,106,-37,161r-33,0r-36,-161r-8,165r-40,0r17,-243r50,0r38,173v8,-56,22,-118,34,-173r50,0r15,243r-42,0","w":229,"k":{"T":6,"Y":1,"a":-1,"\u00e4":-1,"g":1,"-":-2,"\"":4,"'":4}},"N":{"d":"62,0r-41,0r0,-243r43,0r38,95v9,18,17,52,26,71r-5,-166r42,0r0,243r-43,0r-37,-92v-9,-20,-17,-53,-26,-73","w":185,"k":{"c":2,"d":2,"e":2,"o":2,"q":2,"\u00f6":2,"v":3,"w":3,"y":3}},"O":{"d":"89,-246v58,0,75,65,75,120v0,91,-32,129,-78,129v-55,0,-77,-58,-77,-125v0,-66,26,-124,80,-124xm87,-204v-19,0,-29,31,-29,83v0,55,10,83,29,83v20,0,28,-36,28,-85v0,-42,-6,-81,-28,-81","w":173,"k":{"T":3,"J":1,"X":-1,"A":6,"\u00c4":6,"a":-3,"\u00e4":-3,"f":-6,"j":-2,"t":-6,"v":-4,"w":-4,"y":-4,"i":-3,"m":-3,"n":-3,"p":-3,"r":-3,"u":-5,"\u00fc":-5,"-":-6,")":5,"]":5,"}":5,",":13,".":13}},"P":{"d":"157,-172v0,55,-37,85,-89,82r0,90r-47,0r0,-239v63,-15,136,0,136,67xm68,-204r0,75v27,5,42,-13,42,-39v0,-26,-16,-44,-42,-36","w":164,"k":{"J":13,"X":1,"Y":-1,"Z":2,"A":15,"\u00c4":15,"a":5,"\u00e4":5,"g":10,"c":8,"d":8,"e":8,"o":8,"q":8,"\u00f6":8,"s":5,"t":-5,"v":-3,"w":-3,"y":-3,"u":1,"\u00fc":1,":":4,";":4,"-":8,")":6,"]":6,"}":6,",":45,".":45}},"Q":{"d":"159,40v-25,-10,-51,-26,-74,-37v-48,0,-76,-46,-76,-125v0,-65,27,-124,81,-124v98,0,88,200,38,230r0,2v15,7,32,12,47,18xm88,-38v19,0,27,-35,27,-85v0,-45,-7,-81,-28,-81v-20,0,-29,36,-29,82v0,49,8,84,30,84","w":173,"k":{"T":3,"J":1,"X":-1,"A":6,"\u00c4":6,"a":-3,"\u00e4":-3,"f":-6,"j":-2,"t":-6,"v":-4,"w":-4,"y":-4,"i":-3,"m":-3,"n":-3,"p":-3,"r":-3,"u":-5,"\u00fc":-5,"-":-6,")":5,"]":5,"}":5,",":13,".":13}},"R":{"d":"115,0v-11,-13,-5,-113,-47,-97r0,97r-47,0r0,-239v63,-14,136,-3,136,64v0,27,-16,48,-38,61v34,6,34,92,45,114r-49,0xm68,-206r0,73v27,3,41,-14,41,-38v1,-25,-14,-40,-41,-35","w":169,"k":{"T":1,"J":-9,"X":-3,"c":1,"d":1,"e":1,"o":1,"q":1,"\u00f6":1,"t":-6,"i":-1,"m":-1,"n":-1,"p":-1,"r":-1,"-":3}},"S":{"d":"9,-8r6,-40v22,13,74,14,74,-18v0,-18,-11,-27,-32,-40v-33,-20,-45,-46,-45,-68v0,-53,65,-88,114,-62r-8,41v-15,-14,-60,-11,-60,16v0,14,6,24,33,38v73,39,49,145,-36,143v-19,0,-38,-5,-46,-10","w":141,"k":{"a":-7,"\u00e4":-7,"j":-3,"c":-3,"d":-3,"e":-3,"o":-3,"q":-3,"\u00f6":-3,"t":-2,"v":2,"w":2,"y":2,"b":-3,"h":-3,"k":-3,"l":-3,"i":-3,"m":-3,"n":-3,"p":-3,"r":-3,"u":-4,"\u00fc":-4,"-":-6}},"T":{"d":"47,0r0,-199r-43,0r0,-44r134,0r0,44r-44,0r0,199r-47,0","w":141,"k":{"i":11,"T":-5,"J":6,"C":5,"G":5,"O":5,"Q":5,"\u00d6":5,"V":-6,"W":-6,"X":-8,"Y":-12,"A":12,"\u00c4":12,"S":1,"a":13,"\u00e4":13,"g":21,"c":17,"d":17,"e":17,"o":17,"q":17,"\u00f6":17,"s":14,"v":8,"w":8,"y":8,"z":10,"b":1,"h":1,"k":1,"l":1,"m":11,"n":11,"p":11,"r":11,"u":11,"\u00fc":11,"x":10,":":6,";":6,"-":11,")":-12,"]":-12,"}":-12,"\"":-6,"'":-6,",":23,".":23}},"U":{"d":"19,-243r48,0r0,158v0,36,10,46,23,46v14,0,23,-9,23,-46r0,-158r47,0v-4,95,25,246,-70,246v-100,0,-65,-151,-71,-246","w":180,"k":{"A":3,"\u00c4":3,"g":1,"c":1,"d":1,"e":1,"o":1,"q":1,"\u00f6":1,"s":4,"v":3,"w":3,"y":3,"z":6,"x":3,",":8,".":8}},"V":{"d":"108,0r-53,0r-54,-243r52,0r30,189r28,-189r52,0","w":162,"k":{"T":-5,"J":1,"A":6,"\u00c4":6,"a":7,"\u00e4":7,"g":12,"c":8,"d":8,"e":8,"o":8,"q":8,"\u00f6":8,"s":5,"t":1,"v":4,"w":4,"y":4,"z":1,"i":3,"m":3,"n":3,"p":3,"r":3,"u":4,"\u00fc":4,":":4,";":4,"-":2,")":-13,"]":-13,"}":-13,"\"":-12,"'":-12,",":15,".":15}},"W":{"d":"93,0r-47,0r-41,-243r49,0r21,182r31,-182r38,0r28,182r22,-182r46,0r-43,243r-49,0r-26,-159v-7,59,-18,105,-29,159","w":244,"k":{"T":-5,"J":1,"A":6,"\u00c4":6,"a":7,"\u00e4":7,"g":12,"c":8,"d":8,"e":8,"o":8,"q":8,"\u00f6":8,"s":5,"t":1,"v":4,"w":4,"y":4,"z":1,"i":3,"m":3,"n":3,"p":3,"r":3,"u":4,"\u00fc":4,":":4,";":4,"-":2,")":-13,"]":-13,"}":-13,"\"":-12,"'":-12,",":15,".":15}},"X":{"d":"148,0r-49,0r-29,-88r-24,88r-47,0r45,-124r-43,-119r49,0r26,84r22,-84r47,0r-45,121","w":146,"k":{"T":-6,"J":-14,"C":1,"G":1,"O":1,"Q":1,"\u00d6":1,"V":-8,"W":-8,"X":-1,"Y":-12,"A":-3,"\u00c4":-3,"a":-5,"\u00e4":-5,"c":-1,"d":-1,"e":-1,"o":-1,"q":-1,"\u00f6":-1,"v":5,"w":5,"y":5,"i":-2,"m":-2,"n":-2,"p":-2,"r":-2,"u":-1,"\u00fc":-1,"-":1,"\"":-6,"'":-6}},"Y":{"d":"95,0r-47,0r0,-93r-53,-150r50,0r30,110v7,-38,16,-74,25,-110r49,0r-54,148r0,95","w":144,"k":{"\u00f6":14,"\u00e4":12,"T":-12,"J":4,"C":3,"G":3,"O":3,"Q":3,"\u00d6":3,"V":-13,"W":-13,"X":-6,"Y":-16,"A":11,"\u00c4":11,"M":1,"S":1,"a":12,"g":15,"c":14,"d":14,"e":14,"o":14,"q":14,"s":9,"v":7,"w":7,"y":7,"z":3,"b":-4,"h":-4,"k":-4,"l":-4,"i":-3,"m":-3,"n":-3,"p":-3,"r":-3,"u":6,"\u00fc":6,"x":2,":":10,";":10,"-":9,")":-18,"]":-18,"}":-18,"\"":-10,"'":-10,",":24,".":24}},"Z":{"d":"4,0r0,-28r77,-174r-70,0r0,-41r123,0r0,35r-74,167r74,0r0,41r-130,0","w":139,"k":{"J":-12,"C":2,"G":2,"O":2,"Q":2,"\u00d6":2,"X":-9,"Y":-8,"A":-4,"\u00c4":-4,"a":-2,"\u00e4":-2,"c":2,"d":2,"e":2,"o":2,"q":2,"\u00f6":2,"v":-1,"w":-1,"y":-1,"i":-3,"m":-3,"n":-3,"p":-3,"r":-3,"u":-1,"\u00fc":-1,"-":1}},"[":{"d":"84,40r-66,0r0,-287r66,0r0,30r-30,0r0,227r30,0r0,30","w":92,"k":{"T":-4,"J":-9,"C":7,"G":7,"O":7,"Q":7,"\u00d6":7,"V":-13,"W":-13,"X":-3,"Y":-21,"A":2,"\u00c4":2,"j":-21,"c":1,"d":1,"e":1,"o":1,"q":1,"\u00f6":1}},"\\":{"d":"92,14r-31,0r-67,-260r30,0","w":83},"]":{"d":"9,-247r66,0r0,287r-66,0r0,-30r30,0r0,-227r-30,0r0,-30","w":92},"^":{"d":"199,-64r-36,0v-20,-42,-34,-91,-57,-130r-55,130r-35,0r77,-170r29,0","w":214},"_":{"d":"0,27r180,0r0,18r-180,0r0,-18","w":180},"a":{"d":"73,-179v94,0,50,99,65,179r-42,0v-2,-5,-1,-13,-4,-17v-26,37,-85,19,-85,-33v0,-46,40,-66,80,-66v5,-35,-40,-32,-60,-18r-9,-32v10,-5,30,-13,55,-13xm51,-55v1,35,38,27,38,0r0,-31v-15,0,-38,7,-38,31","w":151},"b":{"d":"15,0r1,-249r47,0r1,91v40,-50,86,-5,86,65v0,62,-24,96,-57,96v-16,1,-24,-8,-35,-24r-3,21r-40,0xm104,-89v0,-52,-38,-67,-41,-23v-2,29,-4,76,18,76v16,0,23,-19,23,-53","w":160,"k":{"T":12,"v":3,"w":3,"y":3,"z":2,"x":5,"-":-7,"\"":7,"'":7,",":9,".":9}},"c":{"d":"110,-40r4,37v-55,17,-104,-14,-104,-83v0,-63,46,-105,107,-88r-6,38v-30,-13,-54,10,-54,49v0,39,23,60,53,47","w":116,"k":{"T":3,"a":-5,"\u00e4":-5,"f":-10,"t":-7,"v":-10,"w":-10,"y":-10,"u":-3,"\u00fc":-3,"\"":-9,"'":-9,",":-1,".":-1}},"d":{"d":"97,-249r47,0r2,249r-41,0v-1,-6,0,-16,-3,-20v-6,12,-21,23,-37,23v-37,0,-55,-42,-55,-91v0,-61,27,-91,57,-91v16,-1,23,10,30,18r0,-88xm79,-36v22,2,18,-44,18,-72v0,-15,-5,-31,-17,-31v-17,0,-23,24,-23,52v0,33,9,51,22,51","w":160,"k":{"v":-1,"w":-1,"y":-1,",":4,".":4}},"e":{"d":"139,-71r-83,0v-2,42,42,41,71,31r6,34v-61,23,-123,-3,-123,-79v0,-59,31,-94,71,-94v46,0,67,52,58,108xm56,-104r42,0v0,-23,-6,-41,-20,-41v-15,0,-22,23,-22,41","w":150,"k":{"T":12,"v":3,"w":3,"y":3,"z":2,"x":3,"-":-4,"\"":4,"'":4,",":4,".":4}},"f":{"d":"25,-176v-7,-53,36,-89,88,-72r-5,37v-23,-8,-40,8,-36,35r31,0r0,33r-31,0r0,143r-47,0r0,-143r-24,0r0,-33r24,0","w":102,"k":{"g":3,"c":3,"d":3,"e":3,"o":3,"q":3,"\u00f6":3,"s":1,"t":-2,":":-8,";":-8,"-":4,")":-25,"]":-25,"}":-25,"\"":-15,"'":-15,",":15,".":15}},"g":{"d":"145,-20v0,85,-56,104,-122,84r8,-37v32,19,80,3,66,-46v-41,48,-86,-10,-86,-67v0,-59,27,-93,59,-93v15,-1,24,9,33,21r2,-18r42,0v-3,46,-2,105,-2,156xm80,-38v24,-1,18,-45,18,-74v-1,-13,-5,-27,-17,-27v-17,0,-24,23,-24,52v0,33,9,49,23,49","w":160,"k":{"T":10,"f":-3,",":5,".":5}},"h":{"d":"84,-139v-12,0,-20,14,-20,30r0,109r-47,0r0,-249r47,0r0,91v30,-39,84,-20,84,51r0,107r-47,0r0,-107v0,-17,-3,-32,-17,-32","w":164,"k":{"T":13,"v":4,"w":4,"y":4,"\"":2,"'":2}},"i":{"d":"64,0r-47,0r0,-176r47,0r0,176xm40,-248v14,0,24,10,24,26v0,15,-11,25,-25,25v-13,0,-24,-10,-24,-25v0,-16,12,-26,25,-26","w":80},"j":{"d":"-14,35v26,-5,32,-15,31,-57r0,-154r47,0v-10,95,39,251,-74,248xm41,-248v14,0,24,10,24,26v0,15,-11,25,-25,25v-13,0,-23,-10,-23,-25v0,-16,11,-26,24,-26","w":80,"k":{",":4,".":4}},"k":{"d":"63,-249r1,150v10,-29,21,-50,32,-77r51,0r-43,74r45,102r-53,0r-25,-72v-12,14,-7,46,-8,72r-47,0r0,-249r47,0","w":148,"k":{"T":6,"a":-4,"\u00e4":-4,"g":4,"c":4,"d":4,"e":4,"o":4,"q":4,"\u00f6":4,"v":1,"w":1,"y":1,"i":2,"m":2,"n":2,"p":2,"r":2,"u":2,"\u00fc":2,"-":5}},"l":{"d":"17,0r0,-249r47,0r0,249r-47,0","w":81,"k":{"v":-1,"w":-1,"y":-1,",":4,".":4}},"m":{"d":"83,-140v-11,-1,-21,13,-20,29r0,111r-47,0r-1,-176r41,0v1,6,0,16,3,20v15,-29,69,-30,81,1v8,-13,22,-24,43,-24v66,0,40,114,45,179r-47,0r0,-104v0,-20,-2,-36,-16,-36v-11,0,-19,12,-19,28r0,112r-47,0r0,-111v0,-13,-1,-29,-16,-29","w":244,"k":{"T":13,"v":4,"w":4,"y":4,"\"":2,"'":2}},"n":{"d":"84,-139v-13,0,-21,14,-20,32r0,107r-47,0r-2,-176r41,0v1,6,0,16,3,20v28,-43,89,-23,89,43r0,113r-47,0r0,-110v0,-15,-3,-29,-17,-29","w":164,"k":{"T":13,"v":4,"w":4,"y":4,"\"":2,"'":2}},"o":{"d":"78,-179v42,0,67,34,67,90v0,73,-40,92,-67,92v-42,0,-68,-33,-68,-90v0,-63,33,-92,68,-92xm78,-143v-31,2,-28,111,1,110v26,-3,27,-107,-1,-110","w":155,"k":{"T":12,"v":3,"w":3,"y":3,"z":2,"x":5,"-":-7,"\"":7,"'":7,",":9,".":9}},"p":{"d":"16,69r-1,-245r41,0v1,6,0,16,3,20v7,-14,20,-23,37,-23v39,0,54,42,54,91v0,80,-49,113,-87,74r0,83r-47,0xm104,-88v0,-55,-41,-67,-41,-24v0,29,-5,75,18,76v17,0,23,-24,23,-52","w":160,"k":{"T":12,"v":3,"w":3,"y":3,"z":2,"x":5,"-":-7,"\"":7,"'":7,",":9,".":9}},"q":{"d":"11,-84v0,-79,54,-125,92,-73r2,-19r41,0r-1,245r-47,0r-1,-84v-38,44,-86,-2,-86,-69xm80,-36v23,-1,18,-47,18,-76v-1,-12,-8,-27,-18,-27v-15,0,-22,19,-22,51v0,32,8,52,22,52","w":160,"k":{"T":6,",":3,".":3}},"r":{"d":"104,-132v-56,-8,-37,80,-40,132r-47,0r-2,-176r41,0v2,8,-2,22,4,26v11,-22,22,-32,44,-28r0,46","w":105,"k":{"T":3,"f":-10,"g":1,"c":1,"d":1,"e":1,"o":1,"q":1,"\u00f6":1,"t":-6,"v":-8,"w":-8,"y":-8,"z":-2,"x":-6,":":-1,";":-1,",":16,".":16}},"s":{"d":"7,-8r8,-34v11,8,51,17,51,-7v0,-9,-6,-15,-21,-24v-28,-16,-35,-34,-35,-50v0,-46,54,-70,93,-48r-8,35v-11,-10,-43,-12,-42,7v0,8,2,13,20,22v59,29,41,113,-26,109v-15,0,-32,-4,-40,-10","w":116,"k":{"T":6,",":4,".":4}},"t":{"d":"103,-1v-43,9,-78,-1,-78,-58r0,-84r-21,0r0,-33r21,0r0,-31r47,-15r0,46r35,0r0,33r-35,0r0,81v1,27,12,26,30,24","w":111,"k":{"g":2,"c":2,"d":2,"e":2,"o":2,"q":2,"\u00f6":2,"v":-1,"w":-1,"y":-1,",":4,".":4}},"u":{"d":"62,-75v-6,45,37,48,36,11r0,-112r47,0r2,176r-41,0v-1,-6,0,-15,-3,-19v-30,40,-88,25,-88,-50r0,-107r47,0r0,101","w":162,"k":{"T":6,",":3,".":3}},"v":{"d":"2,-176r50,0r21,128v5,-46,14,-85,21,-128r46,0r-47,176r-43,0","w":142,"k":{"T":6,"a":4,"\u00e4":4,"g":4,"c":5,"d":5,"e":5,"o":5,"q":5,"\u00f6":5,"s":1,"v":-10,"w":-10,"y":-10,":":7,";":7,",":15,".":15}},"w":{"d":"2,-176r51,0r16,129r25,-129r37,0r25,129v3,-42,11,-87,16,-129r47,0r-45,176r-40,0r-23,-117v-7,43,-16,77,-25,117r-41,0","w":221,"k":{"T":6,"a":4,"\u00e4":4,"g":4,"c":5,"d":5,"e":5,"o":5,"q":5,"\u00f6":5,"s":1,"v":-10,"w":-10,"y":-10,":":7,";":7,",":15,".":15}},"x":{"d":"3,-176r51,0v7,20,11,43,20,61r19,-61r47,0r-40,87r40,89r-51,0v-8,-19,-12,-42,-21,-60r-19,60r-47,0r39,-87","w":142,"k":{"T":6,"g":3,"c":5,"d":5,"e":5,"o":5,"q":5,"\u00f6":5,"s":2,"t":-1,"v":-8,"w":-8,"y":-8,"-":4}},"y":{"d":"11,37v18,-9,47,-25,39,-50r-49,-163r51,0r23,121r19,-121r46,0v-24,76,-32,169,-75,226v-14,19,-33,25,-40,27","w":140,"k":{"T":6,"a":4,"\u00e4":4,"g":4,"c":5,"d":5,"e":5,"o":5,"q":5,"\u00f6":5,"s":1,"v":-10,"w":-10,"y":-10,":":7,";":7,",":15,".":15}},"z":{"d":"6,0r0,-30r60,-108r-54,0r0,-38r105,0r0,32r-58,105r60,0r0,39r-113,0","w":126,"k":{"T":5,"c":3,"d":3,"e":3,"o":3,"q":3,"\u00f6":3,"v":-4,"w":-4,"y":-4}},"{":{"d":"23,-12v-2,-30,22,-74,-19,-77r0,-29v42,-2,17,-47,19,-77v2,-37,24,-54,62,-52r0,29v-37,-4,-23,43,-22,70v1,24,-12,37,-28,45v34,7,28,52,25,89v-1,14,5,26,25,25r0,29v-36,1,-60,-10,-62,-52","w":92,"k":{"T":-4,"J":-9,"C":7,"G":7,"O":7,"Q":7,"\u00d6":7,"V":-13,"W":-13,"X":-3,"Y":-21,"A":2,"\u00c4":2,"j":-21,"c":1,"d":1,"e":1,"o":1,"q":1,"\u00f6":1}},"|":{"d":"22,-270r35,0r0,360r-35,0r0,-360","w":78},"}":{"d":"8,-247v65,-7,58,52,58,109v0,10,4,20,23,20r0,29v-42,3,-17,47,-19,77v-3,42,-26,53,-62,52r0,-29v57,0,-7,-105,50,-115v-33,-9,-28,-50,-25,-89v1,-16,-7,-27,-25,-25r0,-29","w":92},"~":{"d":"150,-69v-21,6,-67,-33,-83,-33v-10,0,-16,6,-16,29r-30,0v0,-45,25,-60,48,-60v24,0,62,33,80,33v10,0,15,-9,15,-30r30,0v2,39,-14,61,-44,61","w":214},"'":{"d":"12,-246r38,0r-8,93r-23,0","w":61,"k":{"T":-6,"J":9,"C":3,"G":3,"O":3,"Q":3,"\u00d6":3,"V":-6,"W":-6,"X":-6,"Y":-12,"A":17,"\u00c4":17,"f":-6,"g":10,"c":10,"d":10,"e":10,"o":10,"q":10,"\u00f6":10,"s":3,"t":-7,"x":-3,",":35,".":35}},"`":{"d":"10,-248r41,0r25,50r-29,0","w":108},"\u00c4":{"d":"103,-55r-44,0r-10,55r-46,0r52,-243r57,0r47,243r-46,0xm64,-92r35,0r-17,-106xm51,-256v-11,0,-20,-10,-20,-23v0,-13,10,-23,21,-23v12,0,21,10,21,23v0,13,-10,23,-22,23xm118,-256v-12,0,-22,-10,-22,-23v0,-13,10,-23,22,-23v12,0,21,10,21,23v0,13,-9,23,-21,23","w":164,"k":{"T":18,"J":-14,"C":6,"G":6,"O":6,"Q":6,"\u00d6":6,"U":6,"\u00dc":6,"V":8,"W":8,"X":-2,"Y":10,"Z":-9,"a":-3,"\u00e4":-3,"f":1,"g":1,"j":-2,"c":2,"d":2,"e":2,"o":2,"q":2,"\u00f6":2,"s":-3,"t":1,"v":5,"w":5,"y":5,"z":-4,"\"":17,"'":17}},"\u00d6":{"d":"89,-246v58,0,75,65,75,120v0,91,-32,129,-78,129v-55,0,-77,-58,-77,-125v0,-66,26,-124,80,-124xm87,-204v-19,0,-29,31,-29,83v0,55,10,83,29,83v20,0,28,-36,28,-85v0,-42,-6,-81,-28,-81xm53,-257v-11,0,-21,-10,-21,-23v0,-13,10,-23,21,-23v12,0,21,10,21,23v0,13,-9,23,-21,23xm119,-257v-12,0,-21,-10,-21,-23v0,-13,10,-23,22,-23v12,0,21,10,21,23v0,13,-10,23,-22,23","w":173,"k":{"T":3,"J":1,"X":-1,"A":6,"\u00c4":6,"a":-3,"\u00e4":-3,"f":-6,"j":-2,"t":-6,"v":-4,"w":-4,"y":-4,"i":-3,"m":-3,"n":-3,"p":-3,"r":-3,"u":-5,"\u00fc":-5,"-":-6,")":5,"]":5,"}":5,",":13,".":13}},"\u00dc":{"d":"19,-243r48,0r0,158v0,36,10,46,23,46v14,0,23,-9,23,-46r0,-158r47,0v-4,95,25,246,-70,246v-100,0,-65,-151,-71,-246xm56,-257v-11,0,-21,-10,-21,-23v0,-13,11,-23,22,-23v12,0,21,10,21,23v0,13,-10,23,-22,23xm122,-257v-12,0,-21,-10,-21,-23v0,-13,10,-23,22,-23v12,0,21,10,21,23v0,13,-10,23,-22,23","w":180,"k":{"A":3,"\u00c4":3,"g":1,"c":1,"d":1,"e":1,"o":1,"q":1,"\u00f6":1,"s":4,"v":3,"w":3,"y":3,"z":6,"x":3,",":8,".":8}},"\u00e4":{"d":"73,-179v94,0,50,99,65,179r-42,0v-2,-5,-1,-13,-4,-17v-26,37,-85,19,-85,-33v0,-46,40,-66,80,-66v5,-35,-40,-32,-60,-18r-9,-32v10,-5,30,-13,55,-13xm51,-55v1,35,38,27,38,0r0,-31v-15,0,-38,7,-38,31xm65,-225v0,13,-9,23,-22,23v-12,0,-21,-10,-21,-23v0,-13,10,-23,22,-23v12,0,21,9,21,23xm107,-202v-12,0,-21,-10,-21,-23v0,-13,10,-23,22,-23v12,0,21,9,21,23v0,13,-9,23,-22,23","w":151},"\u00f6":{"d":"78,-179v42,0,67,34,67,90v0,73,-40,92,-67,92v-42,0,-68,-33,-68,-90v0,-63,33,-92,68,-92xm78,-143v-31,2,-28,111,1,110v26,-3,27,-107,-1,-110xm45,-202v-12,0,-21,-10,-21,-23v0,-13,9,-23,21,-23v12,0,22,9,22,23v0,13,-9,23,-22,23xm109,-202v-12,0,-21,-10,-21,-23v0,-13,9,-23,21,-23v12,0,22,9,22,23v0,13,-9,23,-22,23","w":155,"k":{"T":12,"v":3,"w":3,"y":3,"z":2,"x":5,"-":-7,"\"":7,"'":7,",":9,".":9}},"\u00fc":{"d":"62,-75v-6,45,37,48,36,11r0,-112r47,0r2,176r-41,0v-1,-6,0,-15,-3,-19v-30,40,-88,25,-88,-50r0,-107r47,0r0,101xm50,-202v-12,0,-21,-10,-21,-23v0,-13,9,-23,21,-23v12,0,22,9,22,23v0,13,-9,23,-22,23xm114,-202v-12,0,-21,-10,-21,-23v0,-13,9,-23,21,-23v12,0,22,9,22,23v0,13,-10,23,-22,23","w":162,"k":{"T":6,",":3,".":3}},"\u20ac":{"d":"74,-86v0,41,35,60,67,42r5,39v-57,25,-118,-14,-119,-81r-18,0r0,-24r16,0r1,-17r-17,0r0,-24r19,0v5,-60,60,-104,118,-78r-7,39v-29,-18,-63,2,-63,39r55,0r0,24r-58,0r0,17r58,0r0,24r-57,0"},"\u00a0":{"w":57,"k":{"T":4,"V":4,"W":4,"Y":4}}}});

/*!
 * The following copyright notice may not be removed under any circumstances.
 * 
 * Copyright:
 * Copyright Hans Reichel, 1996. Published by FontShop International FontFont
 * release 17
 */
Cufon.registerFont({"w":196,"face":{"font-family":"Dax","font-weight":500,"font-stretch":"normal","units-per-em":"360","panose-1":"0 0 0 0 0 0 0 0 0 0","ascent":"283","descent":"-77","x-height":"4","bbox":"-15 -307 291 82","underline-thickness":"18","underline-position":"-27","stemh":"26","stemv":"41","unicode-range":"U+0020-U+00FC"},"glyphs":{" ":{"w":97},"!":{"d":"86,-248r-10,163r-33,0r-10,-163r53,0xm86,-24v0,15,-12,27,-26,27v-15,0,-27,-12,-27,-27v0,-14,12,-26,27,-26v14,0,26,12,26,26","w":111},"\"":{"d":"126,-242r-9,96r-22,0r-9,-96v9,-12,31,-12,40,0xm62,-242r-8,96r-23,0r-8,-96v8,-12,30,-12,39,0","w":148},"#":{"d":"185,-152r-38,0r-9,50r34,0r0,22r-38,0r-14,80r-25,0r14,-80r-38,0r-15,80r-24,0r13,-80r-33,0r0,-22r37,0r9,-50r-34,0r0,-22r38,0r13,-74r25,0r-13,74r39,0r13,-74r24,0r-13,74r35,0r0,22xm122,-152r-39,0r-9,50r39,0"},"$":{"d":"111,-143v81,29,65,132,-10,144r4,46r-27,0r4,-44v-26,-1,-43,-6,-55,-14r11,-30v24,18,82,16,82,-28v0,-20,-11,-34,-40,-43v-71,-23,-64,-128,11,-137r-3,-43r25,0r-3,42v21,1,36,7,46,13r-10,26v-23,-18,-74,-14,-74,26v0,23,16,34,39,42"},"%":{"d":"291,-81v0,38,-9,85,-52,85v-43,0,-51,-47,-51,-85v0,-38,8,-85,51,-85v43,0,52,47,52,85xm210,-245r-85,248r-22,-6r85,-248xm126,-166v0,38,-9,84,-52,84v-43,0,-51,-46,-51,-84v0,-38,8,-85,51,-85v43,0,52,47,52,85xm262,-82v0,-30,-2,-65,-23,-65v-21,0,-23,35,-23,65v0,30,2,64,23,64v21,0,23,-34,23,-64xm97,-167v0,-30,-2,-66,-23,-66v-21,0,-23,36,-23,66v0,30,2,64,23,64v21,0,23,-34,23,-64","w":313},"&":{"d":"225,-157v-9,4,-27,11,-40,14r0,132v-14,9,-38,15,-72,15v-59,0,-96,-26,-96,-72v-1,-38,29,-60,60,-72v-28,-9,-44,-27,-44,-53v0,-56,88,-72,128,-45r-13,26v-21,-15,-77,-11,-71,23v11,58,96,26,135,5xm143,-29r0,-105v-54,13,-79,27,-79,63v0,40,44,56,79,42","w":228},"(":{"d":"127,70r-21,12v-113,-131,-113,-239,0,-369r21,12v-76,94,-77,251,0,345","w":137},")":{"d":"31,-287v114,130,113,238,0,369r-21,-12v76,-95,77,-251,0,-345","w":137},"*":{"d":"141,-240v0,10,-8,18,-17,18v-9,0,-17,-8,-17,-18v0,-10,8,-18,17,-18v9,0,17,8,17,18xm97,-272v0,10,-8,17,-17,17v-9,0,-18,-7,-18,-17v0,-25,35,-22,35,0xm94,-226v0,9,-6,15,-14,15v-8,0,-15,-7,-15,-15v0,-8,7,-14,15,-14v8,0,14,6,14,14xm126,-189v0,10,-8,18,-18,18v-9,0,-17,-8,-17,-18v0,-10,7,-17,17,-17v9,0,18,7,18,17xm53,-240v0,10,-8,17,-18,17v-9,0,-17,-7,-17,-17v0,-10,7,-18,17,-18v9,0,18,8,18,18xm68,-189v0,25,-35,22,-35,0v0,-10,8,-18,17,-18v10,0,18,8,18,18","w":159},"+":{"d":"169,-105r-56,0r0,60r-29,0r0,-60r-57,0r0,-29r57,0r0,-60r29,0r0,60r56,0r0,29"},",":{"d":"80,-36r-52,97r-26,0r32,-97v6,-13,44,-19,46,0","w":101},"-":{"d":"107,-104r-88,0r0,-34r88,0r0,34","w":126,"k":{"\u00f6":-5,"\u00e4":4,"\u00d6":-7,"\u00c4":12,"z":10,"y":3,"x":12,"w":2,"v":3,"t":2,"s":-4,"q":-5,"o":-5,"g":-5,"f":2,"e":-5,"d":-5,"c":-5,"a":4,"Z":15,"Y":21,"X":19,"W":6,"V":10,"T":22,"S":1,"Q":-7,"O":-7,"G":-7,"C":-7,"A":12,"9":-10,"7":24,"6":-16,"3":23,"2":32,"1":25,"0":-18}},".":{"d":"74,-24v0,14,-12,26,-26,26v-15,0,-27,-12,-27,-26v0,-15,12,-27,27,-27v14,0,26,12,26,27","w":95},"\/":{"d":"202,-274r-170,356r-28,-13r170,-356","w":205},"0":{"d":"178,-124v0,55,-16,128,-80,128v-64,0,-80,-73,-80,-128v0,-55,16,-127,80,-127v64,0,80,72,80,127xm136,-124v0,-46,-5,-100,-38,-100v-33,0,-38,54,-38,100v0,46,5,98,38,98v33,0,38,-52,38,-98","k":{"-":-18,",":6}},"1":{"d":"139,0r-44,0r0,-198v-12,7,-38,12,-61,14r-6,-26v45,-6,71,-23,80,-38r31,0r0,248","k":{"-":20,",":6}},"2":{"d":"169,0r-156,0r85,-123v19,-27,23,-41,23,-56v0,-45,-65,-46,-90,-30r-11,-28v15,-8,35,-14,66,-14v94,0,97,75,49,138r-58,77r92,0r0,36","k":{"-":7,",":6}},"3":{"d":"118,-139v88,23,54,143,-36,143v-32,0,-53,-5,-68,-14r12,-30v28,17,97,17,97,-33v0,-40,-38,-48,-66,-47r0,-23v36,-3,59,-20,59,-45v0,-43,-62,-34,-85,-22r-11,-28v40,-23,140,-18,140,45v0,31,-31,49,-42,54","k":{",":6}},"4":{"d":"179,-53r-20,0r0,53r-41,0r0,-53r-100,0r0,-27r99,-168r42,0r0,171r20,0r0,24xm119,-205v-15,33,-52,92,-72,128r71,0","k":{",":6}},"5":{"d":"173,-73v0,43,-36,77,-89,77v-30,0,-51,-5,-67,-14r12,-30v28,18,97,17,97,-33v0,-32,-23,-58,-96,-47r12,-128r123,0r0,37r-92,0r-5,64v73,-6,105,28,105,74","k":{",":6}},"6":{"d":"179,-74v0,43,-28,78,-79,78v-56,0,-81,-42,-81,-95v0,-110,90,-153,125,-159r12,29v-27,8,-68,27,-87,76v53,-16,109,7,110,71xm137,-76v0,-45,-39,-60,-74,-46v-8,40,-2,96,37,96v27,0,37,-24,37,-50","k":{"-":-11,",":6}},"7":{"d":"185,-248r-32,77v-28,66,-53,136,-61,171r-54,0r94,-211r-111,0r0,-37r164,0","k":{"-":22,",":6}},"8":{"d":"178,-60v0,39,-33,64,-80,64v-44,0,-80,-23,-80,-64v0,-29,16,-48,52,-69v-71,-31,-51,-123,28,-122v41,0,73,24,73,60v0,26,-13,43,-45,61v36,22,52,42,52,70xm135,-191v0,-20,-15,-35,-36,-35v-22,0,-36,14,-36,34v0,19,8,30,36,47v28,-17,36,-28,36,-46xm138,-61v0,-20,-7,-33,-41,-53v-34,19,-40,33,-40,53v0,22,19,37,41,37v24,0,40,-16,40,-37","k":{",":6}},"9":{"d":"177,-155v0,110,-90,152,-125,159r-11,-30v27,-8,67,-27,86,-76v-51,18,-109,-5,-109,-70v0,-43,29,-78,80,-78v56,0,79,42,79,95xm133,-126v8,-40,2,-96,-37,-96v-27,0,-37,25,-37,51v0,44,40,58,74,45","k":{"-":-16,",":6}},":":{"d":"74,-136v0,15,-12,26,-26,26v-15,0,-27,-11,-27,-26v0,-14,12,-27,27,-27v14,0,26,13,26,27xm74,-24v0,14,-12,26,-26,26v-15,0,-27,-12,-27,-26v0,-15,12,-27,27,-27v14,0,26,12,26,27","w":95},";":{"d":"80,-136v0,15,-11,26,-26,26v-14,0,-27,-11,-27,-26v0,-14,13,-27,27,-27v15,0,26,13,26,27xm80,-36r-52,97r-26,0r32,-97v6,-15,44,-19,46,0","w":101},"<":{"d":"169,-46r-142,-61r0,-27r142,-61r0,31r-107,43r107,44r0,31"},"=":{"d":"169,-140r-142,0r0,-29r142,0r0,29xm169,-71r-142,0r0,-28r142,0r0,28"},">":{"d":"169,-107r-142,61r0,-31r107,-44r-107,-43r0,-31r142,61r0,27"},"?":{"d":"147,-191v0,33,-31,54,-52,60r-4,46r-33,0r-6,-60v24,-5,49,-19,49,-42v7,-35,-54,-39,-75,-24r-12,-26v41,-28,133,-13,133,46xm101,-24v0,15,-12,26,-26,26v-15,0,-27,-11,-27,-26v0,-14,12,-26,27,-26v14,0,26,12,26,26","w":151},"@":{"d":"291,-149v0,48,-27,126,-81,126v-17,0,-26,-9,-28,-32v-14,22,-31,31,-54,31v-31,0,-44,-27,-44,-57v0,-39,26,-99,74,-99v21,0,33,13,41,31r5,-25r22,0v-7,35,-22,75,-22,111v0,15,3,21,13,21v30,0,55,-66,55,-107v0,-54,-37,-88,-89,-88v-83,0,-143,77,-143,157v0,73,49,112,117,112v56,0,88,-22,119,-54r11,13v-66,90,-266,73,-266,-72v0,-91,72,-171,164,-171v62,0,106,39,106,103xm190,-122v0,-25,-14,-40,-31,-40v-35,0,-51,53,-51,81v0,21,11,38,30,38v35,0,51,-52,52,-79","w":312},"A":{"d":"211,0r-47,0r-19,-64r-80,0r-20,64r-41,0r82,-248r44,0xm139,-90r-26,-87v-6,-19,-4,-31,-7,-30v-5,31,-25,85,-34,117r67,0","w":215,"k":{"y":10,"w":10,"v":10,"t":4,"s":-5,"j":-10,"f":1,"a":-7,"Y":19,"W":12,"V":14,"U":4,"T":17,"S":-4,"Q":4,"O":4,"J":-7,"G":4,"C":4,":":-17,".":-17,"-":12,",":-16}},"B":{"d":"194,-68v0,76,-113,85,-168,58r0,-227v15,-8,40,-14,70,-14v60,0,89,27,89,64v1,35,-27,49,-46,57v23,5,55,26,55,62xm141,-184v4,-37,-39,-48,-72,-37r0,80v43,5,77,-8,72,-43xm148,-68v0,-39,-28,-53,-79,-50r0,89v34,12,79,5,79,-39","w":209,"k":{"\u00e4":-3,"\u00d6":2,"\u00c4":-1,"j":-3,"a":-3,"Y":5,"W":5,"V":5,"T":6,"Q":2,"O":2,"G":2,"C":2,"A":-1,":":-1,".":1,"-":3,",":6}},"C":{"d":"164,-10v-12,9,-29,14,-51,14v-63,0,-95,-59,-95,-128v0,-67,32,-127,95,-127v23,0,39,5,51,14r-10,27v-7,-4,-17,-9,-32,-9v-42,0,-57,47,-57,95v0,62,35,115,88,84","w":174,"k":{"\u00f6":7,"y":4,"u":4,"o":7,"e":7,"Q":10,"O":10,"G":10,"C":10,":":-11,".":-11,"-":22,",":-8}},"D":{"d":"201,-126v0,74,-30,130,-105,130v-31,0,-55,-5,-70,-14r0,-227v16,-8,39,-14,67,-14v75,0,108,51,108,125xm154,-126v0,-74,-26,-105,-83,-92r0,186v56,15,83,-16,83,-94","w":218,"k":{"\u00c4":4,"Z":6,"Y":7,"W":4,"V":4,"T":11,"M":2,"A":4,":":-7,".":12,"-":-7,",":21}},"E":{"d":"146,0r-120,0r0,-248r120,0r0,31r-75,0r0,75r67,0r0,30r-67,0r0,81r75,0r0,31","w":162,"k":{"y":2,"x":3,"w":2,"v":2,"q":4,"o":4,"j":-7,"g":4,"e":4,"d":4,"c":4,"T":4,"Q":4,"O":4,"J":-4,"G":4,"C":4,"A":6,":":-9,".":-9,"-":1,",":-8}},"F":{"d":"146,-217r-75,0r0,75r67,0r0,30r-67,0r0,112r-45,0r0,-248r120,0r0,31","w":159,"k":{"\u00fc":4,"\u00f6":6,"\u00e4":11,"\u00d6":4,"\u00c4":18,"u":4,"r":4,"o":6,"l":-1,"e":6,"a":11,"Z":5,"O":4,"M":7,"G":4,"C":4,"A":18,".":39,",":46}},"G":{"d":"192,-10v-15,9,-33,14,-66,14v-66,0,-108,-46,-108,-129v0,-105,90,-150,171,-113r-14,28v-56,-24,-115,0,-111,87v3,74,33,108,85,90r0,-81r-36,0r0,-28r79,0r0,132","w":215,"k":{"y":4,"Y":6,"W":5,"V":5,"T":6}},"H":{"d":"195,0r-46,0r0,-112r-78,0r0,112r-45,0r0,-248r45,0r0,106r78,0r0,-106r46,0r0,248","w":220},"I":{"d":"72,0r-46,0r0,-248r46,0r0,248","w":98},"J":{"d":"72,-13v0,58,-39,88,-87,92r0,-32v23,-5,41,-24,41,-56r0,-239r46,0r0,235","w":98,"k":{",":-9}},"K":{"d":"195,0r-51,0r-72,-125r0,125r-46,0r0,-248r46,0r1,113r71,-113r46,0r-77,115","w":199,"k":{"\u00fc":4,"\u00f6":8,"\u00e4":2,"\u00dc":4,"\u00d6":11,"y":10,"w":11,"u":4,"o":8,"j":-7,"e":8,"a":2,"U":4,"Q":11,"O":11,"J":-6,"G":11,"C":11,":":-12,".":-12,"-":31,",":-14}},"L":{"d":"141,0r-115,0r0,-248r46,0r0,217r69,0r0,31","w":151,"k":{"\u00f6":4,"\u00dc":6,"\u00d6":10,"y":13,"t":6,"o":4,"e":4,"Y":22,"W":17,"V":20,"U":6,"T":23,"Q":10,"O":10,"G":10,"C":10,":":-15,".":-15,"-":27,",":-14}},"M":{"d":"73,-194r-18,194r-38,0r27,-248r46,0r52,187v12,-60,36,-128,52,-187r46,0r28,248r-43,0r-18,-194v-4,25,-45,162,-54,194r-26,0","w":284,"k":{"\u00fc":2,"\u00e4":-3,"\u00dc":3,"\u00d6":2,"y":4,"u":2,"a":-3,"Y":9,"W":5,"V":4,"U":3,"T":10,"Q":2,"O":2,"G":2,"C":2,":":-9,".":-9,",":-9}},"N":{"d":"208,0r-36,0r-109,-188r1,188r-38,0r0,-248r43,0r102,176r-1,-176r38,0r0,248","w":234},"O":{"d":"204,-124v0,71,-26,128,-93,128v-67,0,-93,-57,-93,-128v0,-70,26,-127,93,-127v67,0,93,57,93,127xm157,-125v0,-46,-8,-96,-46,-96v-38,0,-47,50,-47,96v0,46,8,95,47,95v39,0,46,-49,46,-95","w":221,"k":{"z":3,"x":5,"Z":6,"Y":7,"X":9,"W":4,"V":4,"T":11,"M":2,"A":4,":":-7,".":12,"-":-7,",":21}},"P":{"d":"184,-174v0,48,-40,86,-114,76r0,98r-44,0r0,-237v16,-8,40,-14,68,-14v64,0,90,33,90,77xm140,-175v5,-42,-34,-58,-70,-46r0,96v46,7,73,-12,70,-50","w":197,"k":{"\u00f6":4,"\u00e4":8,"\u00c4":24,"y":-3,"o":4,"f":-3,"e":4,"a":8,"Z":6,"T":2,"M":5,"A":24,":":-3,".":59,"-":-1,",":62}},"Q":{"d":"111,-251v112,0,119,192,47,241r41,51r-33,30r-35,-71v-78,17,-113,-48,-113,-124v0,-70,26,-127,93,-127xm158,-126v0,-46,-8,-95,-47,-95v-39,0,-47,49,-47,95v0,46,7,95,47,95v40,0,47,-49,47,-95","w":221},"R":{"d":"193,0r-51,0r-71,-112r0,112r-45,0r0,-237v15,-8,40,-14,68,-14v111,0,120,134,25,140xm141,-174v0,-45,-33,-59,-70,-47r0,98v40,6,70,-12,70,-51","w":203,"k":{"\u00fc":1,"\u00f6":5,"\u00d6":2,"u":1,"o":5,"e":5,"Y":3,"T":4,"Q":2,"O":2,"J":-4,"G":2,"C":2,":":-8,".":-8,"-":3,",":-10}},"S":{"d":"154,-72v0,44,-33,76,-79,76v-30,0,-49,-5,-62,-14r11,-32v23,18,81,16,81,-27v0,-19,-10,-30,-38,-42v-40,-17,-51,-44,-51,-68v0,-39,28,-72,74,-72v25,0,43,6,54,14r-10,28v-22,-17,-74,-16,-74,25v0,22,16,31,38,40v49,21,56,48,56,72","w":170,"k":{"\u00e4":-3,"\u00c4":-1,"y":9,"w":9,"v":9,"t":3,"j":-3,"a":-3,"Y":5,"W":4,"V":4,"T":9,"S":4,"A":-1,".":1,"-":1,",":4}},"T":{"d":"149,-217r-46,0r0,217r-46,0r0,-217r-46,0r0,-31r138,0r0,31","w":160,"k":{"\u00fc":12,"\u00f6":15,"\u00e4":15,"\u00d6":11,"\u00c4":17,"y":10,"w":12,"u":13,"s":14,"r":11,"o":17,"e":17,"c":17,"a":19,"Z":2,"T":3,"S":3,"Q":11,"O":11,"M":11,"G":11,"C":11,"A":17,":":1,".":28,"-":22,",":26}},"U":{"d":"189,-72v0,45,-33,76,-82,76v-49,0,-81,-31,-81,-76r0,-176r45,0r0,176v0,27,17,41,38,41v21,0,38,-14,38,-41r0,-176r42,0r0,176","w":214,"k":{"X":1,"A":4,".":9,",":14}},"V":{"d":"193,-248r-73,248r-40,0r-75,-248r49,0r48,191v11,-62,33,-130,47,-191r44,0","w":197,"k":{"\u00f6":11,"\u00e4":15,"\u00d6":4,"\u00c4":14,"u":4,"s":5,"r":6,"o":14,"e":14,"a":15,"O":4,"M":4,"G":5,"C":4,"A":14,".":37,"-":10,",":40}},"W":{"d":"289,-248r-57,248r-40,0r-38,-152v-5,-14,-2,-28,-5,-27r-41,179r-41,0r-57,-248r46,0r36,190r42,-190r34,0r43,190r36,-190r42,0","w":298,"k":{"\u00fc":4,"\u00f6":10,"\u00e4":12,"\u00d6":4,"\u00c4":12,"u":4,"r":4,"o":11,"e":11,"a":13,"O":4,"M":7,"G":5,"C":4,"A":12,".":26,"-":6,",":29}},"X":{"d":"188,0r-51,0r-42,-91r-43,91r-47,0r67,-127r-60,-121r50,0r36,84r41,-84r44,0r-62,116","w":193,"k":{"y":7,"t":5,"e":4,"U":1,"T":4,"Q":9,"O":9,"G":9,"C":9,":":-15,".":-15,"-":19,",":-16}},"Y":{"d":"183,-248r-67,141r0,107r-46,0r0,-107r-67,-141r49,0r43,103r44,-103r44,0","w":185,"k":{"v":8,"u":11,"q":21,"o":21,"g":21,"e":21,"d":21,"c":21,"a":19,"Q":7,"O":7,"M":10,"G":8,"C":7,"A":19,":":8,".":40,"-":21,",":40}},"Z":{"d":"151,0r-143,0r84,-217r-78,0r0,-31r135,0r-82,217r84,0r0,31","w":162,"k":{"\u00fc":4,"\u00f6":8,"\u00d6":9,"\u00c4":4,"y":8,"w":8,"u":4,"o":8,"e":8,"W":1,"V":1,"T":4,"Q":9,"O":9,"G":9,"C":9,"A":4,":":-13,".":-13,"-":20,",":-12}},"[":{"d":"112,77r-86,0r0,-360r86,0r0,26r-48,0r0,309r48,0r0,25","w":127},"\\":{"d":"203,69r-28,13r-171,-355r28,-14","w":207},"]":{"d":"102,77r-87,0r0,-25r48,0r0,-309r-48,0r0,-26r87,0r0,360","w":127},"^":{"d":"183,-168r-17,17r-59,-66r-58,66r-17,-17r55,-72v12,-14,29,-15,40,0","w":214},"_":{"d":"200,75r-204,0r0,-27r204,0r0,27"},"a":{"d":"163,-10v-15,8,-40,14,-70,14v-53,0,-79,-22,-79,-59v0,-51,49,-66,108,-72v10,-55,-57,-47,-87,-31r-10,-25v42,-21,138,-29,138,52r0,121xm122,-26r0,-80v-41,5,-67,14,-67,49v0,35,40,42,67,31","w":186,"k":{"z":1,"y":4,"x":3,"w":4,"v":4,"t":3,"j":-3,"f":3}},"b":{"d":"181,-102v0,65,-34,106,-94,106v-30,0,-52,-6,-64,-14r0,-273r44,0r0,94v58,-25,114,13,114,87xm138,-99v0,-52,-28,-87,-71,-66r0,138v46,16,71,-16,71,-72","w":197,"k":{"z":6,"y":4,"w":4,"v":4,"t":3,"j":-3,"f":3,":":-5,".":10,"-":-5,",":16}},"c":{"d":"139,-10v-54,36,-123,-2,-123,-88v0,-86,69,-121,122,-86r-9,25v-35,-24,-69,5,-69,61v0,57,32,86,69,61","w":149,"k":{"\u00f6":7,"u":2,"q":7,"o":7,"g":7,"e":7,"d":7,"c":7,":":-7,".":-7,"-":10,",":-7}},"d":{"d":"174,-10v-15,9,-37,14,-67,14v-57,0,-91,-37,-91,-99v0,-74,48,-114,114,-97r0,-91r44,0r0,273xm130,-29r0,-139v-47,-14,-70,23,-70,71v0,54,27,86,70,68","w":197,"k":{"l":-2,"k":-2,"j":-4,"h":-2,"b":-2}},"e":{"d":"177,-98r-119,17v-2,59,65,62,102,43r10,28v-14,8,-34,14,-64,14v-55,0,-90,-36,-90,-102v0,-63,32,-100,83,-100v51,0,80,35,78,100xm136,-116v0,-39,-14,-55,-38,-55v-26,0,-44,22,-43,68","w":193,"k":{"\u00e4":5,"z":7,"y":4,"x":6,"w":4,"v":4,"t":3,"s":1,"j":-3,"f":3,"a":5,".":4,"-":-5,",":5}},"f":{"d":"110,-166r-32,0r0,166r-43,0r0,-166r-22,0r0,-28r22,0v-5,-59,19,-93,75,-89r0,28v-30,-4,-35,28,-32,61r32,0r0,28","w":119,"k":{"\u00f6":4,"\u00e4":6,"t":1,"q":4,"o":4,"l":-4,"k":-4,"h":-4,"g":4,"f":1,"e":4,"d":4,"c":4,"b":-4,"a":6,".":18,"-":6,",":19}},"g":{"d":"173,3v8,81,-92,91,-146,65r13,-29v34,20,105,14,91,-44v-59,23,-115,-14,-115,-88v0,-63,31,-105,94,-105v28,0,51,6,63,14r0,187xm131,-30r0,-137v-44,-17,-71,12,-71,72v0,59,29,83,71,65","k":{"j":-9,",":-8}},"h":{"d":"176,0r-44,0r0,-136v6,-30,-41,-43,-65,-25r0,161r-44,0r0,-283r44,0r0,97v46,-26,119,2,109,48r0,138","w":199,"k":{"y":3,"w":3,"v":3,"t":1,"f":1}},"i":{"d":"71,-249v0,12,-10,21,-24,21v-13,0,-24,-9,-24,-21v0,-12,11,-22,24,-22v14,0,24,10,24,22xm69,0r-44,0r0,-194r44,0r0,194","w":93},"j":{"d":"72,-249v0,12,-10,21,-24,21v-13,0,-25,-9,-25,-21v0,-12,12,-22,25,-22v13,0,24,10,24,22xm69,-17v0,60,-34,95,-77,98r0,-30v21,-7,34,-22,34,-63r0,-182r43,0r0,177","w":94,"k":{",":-7}},"k":{"d":"183,0r-49,0r-66,-99r0,99r-43,0r0,-283r43,0r1,177r62,-88r44,0r-67,89","w":183,"k":{"\u00fc":1,"\u00f6":4,"u":1,"s":4,"q":4,"o":4,"j":-9,"g":4,"e":4,"d":4,"c":4,":":-13,".":-13,"-":17,",":-17}},"l":{"d":"69,0r-44,0r0,-283r44,0r0,283","w":94,"k":{"l":-2,"k":-2,"j":-4,"h":-2,"b":-2}},"m":{"d":"285,0r-43,0r0,-138v4,-33,-48,-42,-66,-18r0,156r-44,0r0,-139v4,-30,-41,-38,-65,-26r0,165r-44,0r0,-184v30,-18,116,-21,134,8v13,-12,32,-22,62,-22v100,1,57,113,66,198","w":308,"k":{"y":3,"w":3,"v":3,"t":1,"j":-4,"f":1}},"n":{"d":"176,0r-44,0r0,-138v9,-28,-41,-39,-65,-27r0,165r-44,0r0,-184v18,-9,43,-14,76,-14v117,-1,66,106,77,198","w":199,"k":{"y":3,"w":3,"v":3,"t":1,"j":-4,"f":1}},"o":{"d":"177,-97v0,57,-26,101,-80,101v-54,0,-81,-44,-81,-101v0,-58,27,-101,81,-101v55,0,80,43,80,101xm134,-97v0,-37,-6,-73,-37,-73v-31,0,-37,36,-37,73v0,37,7,71,37,71v31,0,37,-34,37,-71","w":193,"k":{"z":6,"y":4,"x":6,"w":4,"v":4,"t":3,"j":-3,"f":3,":":-5,".":9,"-":-5,",":16}},"p":{"d":"181,-99v0,74,-47,115,-114,98r0,78r-44,0r0,-261v15,-8,37,-14,68,-14v57,0,90,37,90,99xm138,-98v0,-56,-25,-84,-71,-69r0,140v45,13,71,-16,71,-71","w":197,"k":{"z":6,"y":4,"w":4,"v":4,"t":3,"j":-3,"f":3,":":-5,".":10,"-":-5,",":16}},"q":{"d":"174,77r-43,0r0,-82v-59,26,-115,-14,-115,-87v0,-60,28,-106,94,-106v30,0,51,6,64,14r0,261xm131,-30r0,-138v-46,-15,-71,13,-71,73v0,58,28,84,71,65","w":197},"r":{"d":"117,-197r-9,32v-15,-5,-31,-5,-41,1r0,164r-44,0r0,-184v20,-10,45,-14,94,-13","w":122,"k":{"\u00f6":6,"\u00e4":7,"q":6,"o":6,"g":6,"e":6,"d":6,"c":6,"a":7,":":-4,".":27,"-":11,",":29}},"s":{"d":"88,-113v77,27,52,114,-23,116v-23,0,-41,-6,-53,-14r11,-28v15,15,66,17,66,-16v0,-17,-8,-24,-28,-32v-37,-14,-44,-34,-44,-54v0,-53,75,-72,112,-43r-11,26v-12,-15,-59,-15,-59,14v0,16,12,25,29,31","w":149,"k":{"\u00e4":-3,"y":3,"w":3,"v":3,"t":2,"s":4,"j":-5,"f":2,"a":-3,":":-2,".":-1,"-":10,",":4}},"t":{"d":"110,-2v-37,15,-75,-13,-75,-48r0,-116r-22,0r0,-28r22,0r0,-43r43,-12r0,55r32,0r0,28r-32,0r0,113v-1,19,14,31,32,24r0,27","w":123,"k":{"\u00f6":4,"t":1,"q":4,"o":4,"j":-5,"g":4,"f":1,"e":4,"d":4,"c":4,":":-7,".":-8,"-":9,",":-8}},"u":{"d":"173,-12v-16,9,-40,16,-74,16v-106,0,-70,-109,-76,-198r44,0r0,135v-5,30,40,41,62,26r0,-161r44,0r0,182"},"v":{"d":"175,-194r-62,194r-42,0r-63,-194r46,0v12,50,32,99,39,152r41,-152r41,0","w":181,"k":{"\u00f6":4,"\u00e4":7,"q":4,"o":4,"g":4,"e":4,"d":4,"c":4,"a":7,":":-4,".":31,"-":3,",":35}},"w":{"d":"274,-194r-54,194r-40,0r-33,-122v-5,-13,-2,-26,-5,-25v-7,49,-27,101,-38,147r-40,0r-54,-194r44,0r29,126v6,32,1,34,9,0r34,-126r37,0r38,151v7,-49,24,-103,34,-151r39,0","w":283,"k":{"\u00f6":4,"\u00e4":7,"q":4,"o":4,"g":4,"e":4,"d":4,"c":4,"a":7,":":-3,".":28,"-":2,",":30}},"x":{"d":"173,0r-48,0r-38,-71r-37,71r-44,0r60,-100r-54,-94r46,0r33,63r35,-63r41,0r-55,91","w":178,"k":{"u":1,"q":6,"o":6,"g":6,"e":6,"d":5,"c":6,"a":1,":":-11,".":-11,"-":12,",":-11}},"y":{"d":"175,-194r-89,271r-46,0r32,-77r-64,-194r46,0r39,153v8,-49,29,-105,41,-153r41,0","w":181,"k":{"\u00e4":7,"z":1,"q":4,"o":4,"g":4,"e":4,"d":4,"c":4,"a":7,":":-4,".":33,"-":3,",":29}},"z":{"d":"141,0r-131,0r74,-166r-68,0r0,-28r123,0r-72,166r74,0r0,28","w":154,"k":{"\u00f6":7,"q":6,"o":7,"g":6,"e":7,"d":7,"c":7,":":-10,".":-10,"-":12,",":-9}},"{":{"d":"121,46v-41,0,-76,-15,-76,-60v0,-37,7,-99,-29,-94r0,-23v36,5,29,-55,29,-92v0,-45,35,-60,76,-60r0,23v-75,-7,-1,129,-70,141v40,3,33,62,33,107v0,24,11,35,37,35r0,23","w":139},"|":{"d":"60,77r-34,0r0,-360r34,0r0,360","w":86},"}":{"d":"123,-108v-36,-4,-29,57,-29,94v0,45,-35,60,-76,60r0,-23v76,8,3,-130,70,-143v-66,-1,8,-144,-70,-140r0,-23v41,0,76,15,76,60v0,37,-7,97,29,92r0,23","w":139},"~":{"d":"186,-127v-5,16,-18,26,-40,29v-29,4,-46,-26,-73,-23v-17,2,-26,15,-31,26r-14,-27v7,-16,17,-28,39,-30v31,-3,47,25,73,22v17,-2,27,-12,32,-24","w":214},"'":{"d":"63,-242r-9,96r-23,0r-8,-96v9,-13,31,-11,40,0","w":85},"`":{"d":"66,-215r-25,0r-44,-49v4,-10,29,-10,44,-1","w":79},"\u00c4":{"d":"161,-289v0,10,-10,19,-21,19v-11,0,-20,-9,-20,-19v0,-10,9,-18,20,-18v11,0,21,8,21,18xm96,-289v0,10,-9,19,-20,19v-11,0,-21,-9,-21,-19v0,-10,10,-18,21,-18v11,0,20,8,20,18xm211,0r-47,0r-19,-64r-80,0r-20,64r-41,0r82,-248r44,0xm139,-90r-26,-87v-6,-19,-4,-31,-7,-30v-5,31,-25,85,-34,117r67,0","w":215,"k":{"t":4,"s":-5,"f":1,"W":12,"V":14,"U":4,"T":17,"S":-4,"Q":4,"O":4,"G":4,"C":4}},"\u00d6":{"d":"164,-289v0,10,-10,19,-21,19v-11,0,-20,-9,-20,-19v0,-10,9,-18,20,-18v11,0,21,8,21,18xm99,-289v0,10,-10,19,-21,19v-11,0,-20,-9,-20,-19v0,-10,9,-18,20,-18v11,0,21,8,21,18xm204,-124v0,71,-26,128,-93,128v-67,0,-93,-57,-93,-128v0,-70,26,-127,93,-127v67,0,93,57,93,127xm157,-125v0,-46,-8,-96,-46,-96v-38,0,-47,50,-47,96v0,46,8,95,47,95v39,0,46,-49,46,-95","w":221,"k":{"Z":6,"W":4,"V":4,"T":11,"M":2}},"\u00dc":{"d":"162,-289v0,10,-9,19,-20,19v-12,0,-21,-9,-21,-19v0,-10,9,-18,21,-18v11,0,20,8,20,18xm98,-289v0,10,-10,19,-21,19v-11,0,-20,-9,-20,-19v0,-10,9,-18,20,-18v11,0,21,8,21,18xm189,-72v0,45,-33,76,-82,76v-49,0,-81,-31,-81,-76r0,-176r45,0r0,176v0,27,17,41,38,41v21,0,38,-14,38,-41r0,-176r42,0r0,176","w":214},"\u00e4":{"d":"149,-238v0,10,-10,19,-21,19v-11,0,-20,-9,-20,-19v0,-10,9,-18,20,-18v11,0,21,8,21,18xm84,-238v0,10,-10,19,-21,19v-11,0,-20,-9,-20,-19v0,-10,9,-18,20,-18v11,0,21,8,21,18xm163,-10v-15,8,-40,14,-70,14v-53,0,-79,-22,-79,-59v0,-51,49,-66,108,-72v10,-55,-57,-47,-87,-31r-10,-25v42,-21,138,-29,138,52r0,121xm122,-26r0,-80v-41,5,-67,14,-67,49v0,35,40,42,67,31","w":186,"k":{"z":1,"x":3,"w":4,"v":4,"t":3,"f":3}},"\u00f6":{"d":"150,-238v0,10,-10,19,-21,19v-11,0,-20,-9,-20,-19v0,-10,9,-18,20,-18v11,0,21,8,21,18xm85,-238v0,10,-10,19,-21,19v-11,0,-20,-9,-20,-19v0,-10,9,-18,20,-18v11,0,21,8,21,18xm177,-97v0,57,-26,101,-80,101v-54,0,-81,-44,-81,-101v0,-58,27,-101,81,-101v55,0,80,43,80,101xm134,-97v0,-37,-6,-73,-37,-73v-31,0,-37,36,-37,73v0,37,7,71,37,71v31,0,37,-34,37,-71","w":193,"k":{"z":6,"x":6,"w":4,"v":4,"t":3,"f":3}},"\u00fc":{"d":"151,-238v0,10,-9,19,-20,19v-12,0,-21,-9,-21,-19v0,-10,9,-18,21,-18v11,0,20,8,20,18xm86,-238v0,10,-9,19,-20,19v-11,0,-21,-9,-21,-19v0,-10,10,-18,21,-18v11,0,20,8,20,18xm173,-12v-16,9,-40,16,-74,16v-106,0,-70,-109,-76,-198r44,0r0,135v-5,30,40,41,62,26r0,-161r44,0r0,182"},"\u00a0":{"w":97}}});

var jobs_mb=0;

/* FUNCTIONS */
function activateButton(i)
{
  $(i).checked=true;
}

function mpPop(url, width, height)
{
	var mpop = window.open(url,"Popup","width=" + width + ",height=" + height + ",screenX=150,screenY=20,menubar=no,scrollbars=yes,toolbar=0");
}

function pophilfe (x)
{
	$term="/content/pop_hilfe.php?welchedenn="+x;
	Hilfe = window.open($term,"Hilfe","width=465,height=580,screenX=150,screenY=20,menubar=no,scrollbars=yes,toolbar=0");
}

function popagb (x) {
	$term="/content/pop_agb.php?ses_id="+x;
	gutschein = window.open($term,"AGB","width=465,height=480,screenX=150,screenY=80,menubar=no,scrollbars=yes,toolbar=0");
}

function poplieferkosten (x) {
	$term="/content/pop_lieferkosten.php?artikelnummer="+x;
	gutschein = window.open($term,"Lieferkosten","width=395,height=220,screenX=150,screenY=80,menubar=no,scrollbars=no,toolbar=0");
}

function Go(x)
{
  if(x == "void")
  {
    document.forms[0].reset();
    document.forms[0].elements[0].blur();
    return;
  }
  else
  {
    location.href = x;
    document.forms[0].reset();
    document.forms[0].elements[0].blur();
  }
}

function adclose(welche) 
{
 if(document.getElementById)
   document.getElementById(welche).style.visibility = "hidden";
}

/* INITIALISIEREN */
Cufon.replace('.button span',
{
	fontFamily: 'Dax',
	fontSize: '10px',
	textShadow: '1px 0px rgba(0, 0, 0, 0.2)',
	textTransform: 'uppercase'
});

Cufon.replace('#preisschieberegler label',
{
	fontFamily: 'Dax',
	fontSize: '10px',
	textTransform: 'uppercase'
});

Cufon.replace('#warengruppenmenu a, h3',
{
	fontFamily: 'Myriad Pro',
	fontSize: '15px',
	textShadow: '1px 0px rgba(0, 0, 0, 0.2)'
});

Cufon.replace('.kaufen-link, .teaser-link, #indenwarenkorb, #zum_bestellen, #bestellung_abschliessen, #antrag_stellen',
{
	fontFamily: 'Myriad Pro',
	fontSize: '16px',
	textShadow: '1px 0px rgba(0, 0, 0, 0.2)',
	textTransform: 'uppercase'
});

window.addEvent(
  'domready',
  function()
  {    
    var myMenu = new MenuMatic({/*options here*/});

    $$('.textfield_switch').each(
      function(item)
      {
        item.addEvents({
          'focus': function(e)
          {
            new Event(e).stop();
            if(!$defined(this.cache))
            {
              this.cache = this.value;
            }

            if(this.cache == this.value)
            {
              this.value = '';
            }
          },
          'blur': function(e)
          {
            new Event(e).stop();
            if(this.value == '')
            {
              this.value = this.cache;
            }
          }
        });
      }
    );

    jobs_mb = new multiBox({
  		mbClass: '.mb-jobs',//class you need to add links that you want to trigger multiBox with (remember and update CSS files)
  		container: $(document.body),//where to inject multiBox
  		path: '/javascript/multiBox/Files/',//path to mp3 and flv players
  		useOverlay: true,//use a semi-transparent background. default: false;
  		maxSize: {w:798, h:594},//max dimensions (width,height) - set to null to disable resizing
  		addDownload: false,//do you want the files to be downloadable?
  		addRollover: false,//add rollover fade to each multibox link
  		addOverlayIcon: false,//adds overlay icons to images within multibox links
  		addChain: false,//cycle through all images fading them out then in
  		recalcTop: true,//subtract the height of controls panel from top position
  		addTips: false, //adds MooTools built in 'Tips' class to each element (see: http://mootools.net/docs/Plugins/Tips)
  		showNumbers: false,
      showControls: false
	  });
	  
	  $('m_jobs').multiBox=jobs_mb;
	  
	  if (typeof Autocompleter!='undefined')
	  {
  	  new Autocompleter.Request.JSON(
  	    document.id('produktsuchbegriff'),
  	    '/json_search.php',
  	    {
  	      selectMode: false,
  	      autoSubmit: true,
  	      filterSubset: true,
  
  	      injectChoice: function(response)
  	      {
            var el = new Element('li').set('html', this.markQueryValue(response[1]));
            el.inputValue = response[0];
            this.addChoiceEvents(el).inject(this.choices);
  	      }
  	    }
  	  );
	  }
  }
 );