/**
* hoverIntent r5 // 2007.03.27 // jQuery 1.1.2+
* <http://cherne.net/brian/resources/jquery.hoverIntent.html>
* 
* @param  f  onMouseOver function || An object with configuration options
* @param  g  onMouseOut function  || Nothing (use configuration options object)
* @author    Brian Cherne <brian@cherne.net>
*/
(function($){$.fn.hoverIntent=function(f,g){var cfg={sensitivity:7,interval:100,timeout:0};cfg=$.extend(cfg,g?{over:f,out:g}:f);var cX,cY,pX,pY;var track=function(ev){cX=ev.pageX;cY=ev.pageY;};var compare=function(ev,ob){ob.hoverIntent_t=clearTimeout(ob.hoverIntent_t);if((Math.abs(pX-cX)+Math.abs(pY-cY))<cfg.sensitivity){$(ob).unbind("mousemove",track);ob.hoverIntent_s=1;return cfg.over.apply(ob,[ev]);}else{pX=cX;pY=cY;ob.hoverIntent_t=setTimeout(function(){compare(ev,ob);},cfg.interval);}};var delay=function(ev,ob){ob.hoverIntent_t=clearTimeout(ob.hoverIntent_t);ob.hoverIntent_s=0;return cfg.out.apply(ob,[ev]);};var handleHover=function(e){var p=(e.type=="mouseover"?e.fromElement:e.toElement)||e.relatedTarget;while(p&&p!=this){try{p=p.parentNode;}catch(e){p=this;}}if(p==this){return false;}var ev=jQuery.extend({},e);var ob=this;if(ob.hoverIntent_t){ob.hoverIntent_t=clearTimeout(ob.hoverIntent_t);}if(e.type=="mouseover"){pX=ev.pageX;pY=ev.pageY;$(ob).bind("mousemove",track);if(ob.hoverIntent_s!=1){ob.hoverIntent_t=setTimeout(function(){compare(ev,ob);},cfg.interval);}}else{$(ob).unbind("mousemove",track);if(ob.hoverIntent_s==1){ob.hoverIntent_t=setTimeout(function(){delay(ev,ob);},cfg.timeout);}}};return this.mouseover(handleHover).mouseout(handleHover);};})(jQuery);


/*
 * jQuery Cycle Plugin (with Transition Definitions)
 * Examples and documentation at: http://jquery.malsup.com/cycle/
 * Copyright (c) 2007-2010 M. Alsup
 * Version: 2.86 (05-APR-2010)
 * Dual licensed under the MIT and GPL licenses:
 * http://www.opensource.org/licenses/mit-license.php
 * http://www.gnu.org/licenses/gpl.html
 * Requires: jQuery v1.2.6 or later
 */
(function($){var ver="2.86";if($.support==undefined){$.support={opacity:!($.browser.msie)};}function debug(s){if($.fn.cycle.debug){log(s);}}function log(){if(window.console&&window.console.log){window.console.log("[cycle] "+Array.prototype.join.call(arguments," "));}}$.fn.cycle=function(options,arg2){var o={s:this.selector,c:this.context};if(this.length===0&&options!="stop"){if(!$.isReady&&o.s){log("DOM not ready, queuing slideshow");$(function(){$(o.s,o.c).cycle(options,arg2);});return this;}log("terminating; zero elements found by selector"+($.isReady?"":" (DOM not ready)"));return this;}return this.each(function(){var opts=handleArguments(this,options,arg2);if(opts===false){return;}opts.updateActivePagerLink=opts.updateActivePagerLink||$.fn.cycle.updateActivePagerLink;if(this.cycleTimeout){clearTimeout(this.cycleTimeout);}this.cycleTimeout=this.cyclePause=0;var $cont=$(this);var $slides=opts.slideExpr?$(opts.slideExpr,this):$cont.children();var els=$slides.get();if(els.length<2){log("terminating; too few slides: "+els.length);return;}var opts2=buildOptions($cont,$slides,els,opts,o);if(opts2===false){return;}var startTime=opts2.continuous?10:getTimeout(opts2.currSlide,opts2.nextSlide,opts2,!opts2.rev);if(startTime){startTime+=(opts2.delay||0);if(startTime<10){startTime=10;}debug("first timeout: "+startTime);this.cycleTimeout=setTimeout(function(){go(els,opts2,0,!opts2.rev);},startTime);}});};function handleArguments(cont,options,arg2){if(cont.cycleStop==undefined){cont.cycleStop=0;}if(options===undefined||options===null){options={};}if(options.constructor==String){switch(options){case"destroy":case"stop":var opts=$(cont).data("cycle.opts");if(!opts){return false;}cont.cycleStop++;if(cont.cycleTimeout){clearTimeout(cont.cycleTimeout);}cont.cycleTimeout=0;$(cont).removeData("cycle.opts");if(options=="destroy"){destroy(opts);}return false;case"toggle":cont.cyclePause=(cont.cyclePause===1)?0:1;checkInstantResume(cont.cyclePause,arg2,cont);return false;case"pause":cont.cyclePause=1;return false;case"resume":cont.cyclePause=0;checkInstantResume(false,arg2,cont);return false;case"prev":case"next":var opts=$(cont).data("cycle.opts");if(!opts){log('options not found, "prev/next" ignored');return false;}$.fn.cycle[options](opts);return false;default:options={fx:options};}return options;}else{if(options.constructor==Number){var num=options;options=$(cont).data("cycle.opts");if(!options){log("options not found, can not advance slide");return false;}if(num<0||num>=options.elements.length){log("invalid slide index: "+num);return false;}options.nextSlide=num;if(cont.cycleTimeout){clearTimeout(cont.cycleTimeout);cont.cycleTimeout=0;}if(typeof arg2=="string"){options.oneTimeFx=arg2;}go(options.elements,options,1,num>=options.currSlide);return false;}}return options;function checkInstantResume(isPaused,arg2,cont){if(!isPaused&&arg2===true){var options=$(cont).data("cycle.opts");if(!options){log("options not found, can not resume");return false;}if(cont.cycleTimeout){clearTimeout(cont.cycleTimeout);cont.cycleTimeout=0;}go(options.elements,options,1,1);}}}function removeFilter(el,opts){if(!$.support.opacity&&opts.cleartype&&el.style.filter){try{el.style.removeAttribute("filter");}catch(smother){}}}function destroy(opts){if(opts.next){$(opts.next).unbind(opts.prevNextEvent);}if(opts.prev){$(opts.prev).unbind(opts.prevNextEvent);}if(opts.pager||opts.pagerAnchorBuilder){$.each(opts.pagerAnchors||[],function(){this.unbind().remove();});}opts.pagerAnchors=null;if(opts.destroy){opts.destroy(opts);}}function buildOptions($cont,$slides,els,options,o){var opts=$.extend({},$.fn.cycle.defaults,options||{},$.metadata?$cont.metadata():$.meta?$cont.data():{});if(opts.autostop){opts.countdown=opts.autostopCount||els.length;}var cont=$cont[0];$cont.data("cycle.opts",opts);opts.$cont=$cont;opts.stopCount=cont.cycleStop;opts.elements=els;opts.before=opts.before?[opts.before]:[];opts.after=opts.after?[opts.after]:[];opts.after.unshift(function(){opts.busy=0;});if(!$.support.opacity&&opts.cleartype){opts.after.push(function(){removeFilter(this,opts);});}if(opts.continuous){opts.after.push(function(){go(els,opts,0,!opts.rev);});}saveOriginalOpts(opts);if(!$.support.opacity&&opts.cleartype&&!opts.cleartypeNoBg){clearTypeFix($slides);}if($cont.css("position")=="static"){$cont.css("position","relative");}if(opts.width){$cont.width(opts.width);}if(opts.height&&opts.height!="auto"){$cont.height(opts.height);}if(opts.startingSlide){opts.startingSlide=parseInt(opts.startingSlide);}if(opts.random){opts.randomMap=[];for(var i=0;i<els.length;i++){opts.randomMap.push(i);}opts.randomMap.sort(function(a,b){return Math.random()-0.5;});opts.randomIndex=1;opts.startingSlide=opts.randomMap[1];}else{if(opts.startingSlide>=els.length){opts.startingSlide=0;}}opts.currSlide=opts.startingSlide||0;var first=opts.startingSlide;$slides.css({position:"absolute",top:0,left:0}).hide().each(function(i){var z=first?i>=first?els.length-(i-first):first-i:els.length-i;$(this).css("z-index",z);});$(els[first]).css("opacity",1).show();removeFilter(els[first],opts);if(opts.fit&&opts.width){$slides.width(opts.width);}if(opts.fit&&opts.height&&opts.height!="auto"){$slides.height(opts.height);}var reshape=opts.containerResize&&!$cont.innerHeight();if(reshape){var maxw=0,maxh=0;for(var j=0;j<els.length;j++){var $e=$(els[j]),e=$e[0],w=$e.outerWidth(),h=$e.outerHeight();if(!w){w=e.offsetWidth||e.width||$e.attr("width");}if(!h){h=e.offsetHeight||e.height||$e.attr("height");}maxw=w>maxw?w:maxw;maxh=h>maxh?h:maxh;}if(maxw>0&&maxh>0){$cont.css({width:maxw+"px",height:maxh+"px"});}}if(opts.pause){$cont.hover(function(){this.cyclePause++;},function(){this.cyclePause--;});}if(supportMultiTransitions(opts)===false){return false;}var requeue=false;options.requeueAttempts=options.requeueAttempts||0;$slides.each(function(){var $el=$(this);this.cycleH=(opts.fit&&opts.height)?opts.height:($el.height()||this.offsetHeight||this.height||$el.attr("height")||0);this.cycleW=(opts.fit&&opts.width)?opts.width:($el.width()||this.offsetWidth||this.width||$el.attr("width")||0);if($el.is("img")){var loadingIE=($.browser.msie&&this.cycleW==28&&this.cycleH==30&&!this.complete);var loadingFF=($.browser.mozilla&&this.cycleW==34&&this.cycleH==19&&!this.complete);var loadingOp=($.browser.opera&&((this.cycleW==42&&this.cycleH==19)||(this.cycleW==37&&this.cycleH==17))&&!this.complete);var loadingOther=(this.cycleH==0&&this.cycleW==0&&!this.complete);if(loadingIE||loadingFF||loadingOp||loadingOther){if(o.s&&opts.requeueOnImageNotLoaded&&++options.requeueAttempts<100){log(options.requeueAttempts," - img slide not loaded, requeuing slideshow: ",this.src,this.cycleW,this.cycleH);setTimeout(function(){$(o.s,o.c).cycle(options);},opts.requeueTimeout);requeue=true;return false;}else{log("could not determine size of image: "+this.src,this.cycleW,this.cycleH);}}}return true;});if(requeue){return false;}opts.cssBefore=opts.cssBefore||{};opts.animIn=opts.animIn||{};opts.animOut=opts.animOut||{};$slides.not(":eq("+first+")").css(opts.cssBefore);if(opts.cssFirst){$($slides[first]).css(opts.cssFirst);}if(opts.timeout){opts.timeout=parseInt(opts.timeout);if(opts.speed.constructor==String){opts.speed=$.fx.speeds[opts.speed]||parseInt(opts.speed);}if(!opts.sync){opts.speed=opts.speed/2;}var buffer=opts.fx=="shuffle"?500:250;while((opts.timeout-opts.speed)<buffer){opts.timeout+=opts.speed;}}if(opts.easing){opts.easeIn=opts.easeOut=opts.easing;}if(!opts.speedIn){opts.speedIn=opts.speed;}if(!opts.speedOut){opts.speedOut=opts.speed;}opts.slideCount=els.length;opts.currSlide=opts.lastSlide=first;if(opts.random){if(++opts.randomIndex==els.length){opts.randomIndex=0;}opts.nextSlide=opts.randomMap[opts.randomIndex];}else{opts.nextSlide=opts.startingSlide>=(els.length-1)?0:opts.startingSlide+1;}if(!opts.multiFx){var init=$.fn.cycle.transitions[opts.fx];if($.isFunction(init)){init($cont,$slides,opts);}else{if(opts.fx!="custom"&&!opts.multiFx){log("unknown transition: "+opts.fx,"; slideshow terminating");return false;}}}var e0=$slides[first];if(opts.before.length){opts.before[0].apply(e0,[e0,e0,opts,true]);}if(opts.after.length>1){opts.after[1].apply(e0,[e0,e0,opts,true]);}if(opts.next){$(opts.next).bind(opts.prevNextEvent,function(){return advance(opts,opts.rev?-1:1);});}if(opts.prev){$(opts.prev).bind(opts.prevNextEvent,function(){return advance(opts,opts.rev?1:-1);});}if(opts.pager||opts.pagerAnchorBuilder){buildPager(els,opts);}exposeAddSlide(opts,els);return opts;}function saveOriginalOpts(opts){opts.original={before:[],after:[]};opts.original.cssBefore=$.extend({},opts.cssBefore);opts.original.cssAfter=$.extend({},opts.cssAfter);opts.original.animIn=$.extend({},opts.animIn);opts.original.animOut=$.extend({},opts.animOut);$.each(opts.before,function(){opts.original.before.push(this);});$.each(opts.after,function(){opts.original.after.push(this);});}function supportMultiTransitions(opts){var i,tx,txs=$.fn.cycle.transitions;if(opts.fx.indexOf(",")>0){opts.multiFx=true;opts.fxs=opts.fx.replace(/\s*/g,"").split(",");for(i=0;i<opts.fxs.length;i++){var fx=opts.fxs[i];tx=txs[fx];if(!tx||!txs.hasOwnProperty(fx)||!$.isFunction(tx)){log("discarding unknown transition: ",fx);opts.fxs.splice(i,1);i--;}}if(!opts.fxs.length){log("No valid transitions named; slideshow terminating.");return false;}}else{if(opts.fx=="all"){opts.multiFx=true;opts.fxs=[];for(p in txs){tx=txs[p];if(txs.hasOwnProperty(p)&&$.isFunction(tx)){opts.fxs.push(p);}}}}if(opts.multiFx&&opts.randomizeEffects){var r1=Math.floor(Math.random()*20)+30;for(i=0;i<r1;i++){var r2=Math.floor(Math.random()*opts.fxs.length);opts.fxs.push(opts.fxs.splice(r2,1)[0]);}debug("randomized fx sequence: ",opts.fxs);}return true;}function exposeAddSlide(opts,els){opts.addSlide=function(newSlide,prepend){var $s=$(newSlide),s=$s[0];if(!opts.autostopCount){opts.countdown++;}els[prepend?"unshift":"push"](s);if(opts.els){opts.els[prepend?"unshift":"push"](s);}opts.slideCount=els.length;$s.css("position","absolute");$s[prepend?"prependTo":"appendTo"](opts.$cont);if(prepend){opts.currSlide++;opts.nextSlide++;}if(!$.support.opacity&&opts.cleartype&&!opts.cleartypeNoBg){clearTypeFix($s);}if(opts.fit&&opts.width){$s.width(opts.width);}if(opts.fit&&opts.height&&opts.height!="auto"){$slides.height(opts.height);}s.cycleH=(opts.fit&&opts.height)?opts.height:$s.height();s.cycleW=(opts.fit&&opts.width)?opts.width:$s.width();$s.css(opts.cssBefore);if(opts.pager||opts.pagerAnchorBuilder){$.fn.cycle.createPagerAnchor(els.length-1,s,$(opts.pager),els,opts);}if($.isFunction(opts.onAddSlide)){opts.onAddSlide($s);}else{$s.hide();}};}$.fn.cycle.resetState=function(opts,fx){fx=fx||opts.fx;opts.before=[];opts.after=[];opts.cssBefore=$.extend({},opts.original.cssBefore);opts.cssAfter=$.extend({},opts.original.cssAfter);opts.animIn=$.extend({},opts.original.animIn);opts.animOut=$.extend({},opts.original.animOut);opts.fxFn=null;$.each(opts.original.before,function(){opts.before.push(this);});$.each(opts.original.after,function(){opts.after.push(this);});var init=$.fn.cycle.transitions[fx];if($.isFunction(init)){init(opts.$cont,$(opts.elements),opts);}};function go(els,opts,manual,fwd){if(manual&&opts.busy&&opts.manualTrump){debug("manualTrump in go(), stopping active transition");$(els).stop(true,true);opts.busy=false;}if(opts.busy){debug("transition active, ignoring new tx request");return;}var p=opts.$cont[0],curr=els[opts.currSlide],next=els[opts.nextSlide];if(p.cycleStop!=opts.stopCount||p.cycleTimeout===0&&!manual){return;}if(!manual&&!p.cyclePause&&((opts.autostop&&(--opts.countdown<=0))||(opts.nowrap&&!opts.random&&opts.nextSlide<opts.currSlide))){if(opts.end){opts.end(opts);}return;}var changed=false;if((manual||!p.cyclePause)&&(opts.nextSlide!=opts.currSlide)){changed=true;var fx=opts.fx;curr.cycleH=curr.cycleH||$(curr).height();curr.cycleW=curr.cycleW||$(curr).width();next.cycleH=next.cycleH||$(next).height();next.cycleW=next.cycleW||$(next).width();if(opts.multiFx){if(opts.lastFx==undefined||++opts.lastFx>=opts.fxs.length){opts.lastFx=0;}fx=opts.fxs[opts.lastFx];opts.currFx=fx;}if(opts.oneTimeFx){fx=opts.oneTimeFx;opts.oneTimeFx=null;}$.fn.cycle.resetState(opts,fx);if(opts.before.length){$.each(opts.before,function(i,o){if(p.cycleStop!=opts.stopCount){return;}o.apply(next,[curr,next,opts,fwd]);});}var after=function(){$.each(opts.after,function(i,o){if(p.cycleStop!=opts.stopCount){return;}o.apply(next,[curr,next,opts,fwd]);});};debug("tx firing; currSlide: "+opts.currSlide+"; nextSlide: "+opts.nextSlide);opts.busy=1;if(opts.fxFn){opts.fxFn(curr,next,opts,after,fwd,manual&&opts.fastOnEvent);}else{if($.isFunction($.fn.cycle[opts.fx])){$.fn.cycle[opts.fx](curr,next,opts,after,fwd,manual&&opts.fastOnEvent);}else{$.fn.cycle.custom(curr,next,opts,after,fwd,manual&&opts.fastOnEvent);}}}if(changed||opts.nextSlide==opts.currSlide){opts.lastSlide=opts.currSlide;if(opts.random){opts.currSlide=opts.nextSlide;if(++opts.randomIndex==els.length){opts.randomIndex=0;}opts.nextSlide=opts.randomMap[opts.randomIndex];if(opts.nextSlide==opts.currSlide){opts.nextSlide=(opts.currSlide==opts.slideCount-1)?0:opts.currSlide+1;}}else{var roll=(opts.nextSlide+1)==els.length;opts.nextSlide=roll?0:opts.nextSlide+1;opts.currSlide=roll?els.length-1:opts.nextSlide-1;}}if(changed&&opts.pager){opts.updateActivePagerLink(opts.pager,opts.currSlide,opts.activePagerClass);}var ms=0;if(opts.timeout&&!opts.continuous){ms=getTimeout(curr,next,opts,fwd);}else{if(opts.continuous&&p.cyclePause){ms=10;}}if(ms>0){p.cycleTimeout=setTimeout(function(){go(els,opts,0,!opts.rev);},ms);}}$.fn.cycle.updateActivePagerLink=function(pager,currSlide,clsName){$(pager).each(function(){$(this).children().removeClass(clsName).eq(currSlide).addClass(clsName);});};function getTimeout(curr,next,opts,fwd){if(opts.timeoutFn){var t=opts.timeoutFn(curr,next,opts,fwd);while((t-opts.speed)<250){t+=opts.speed;}debug("calculated timeout: "+t+"; speed: "+opts.speed);if(t!==false){return t;}}return opts.timeout;}$.fn.cycle.next=function(opts){advance(opts,opts.rev?-1:1);};$.fn.cycle.prev=function(opts){advance(opts,opts.rev?1:-1);};function advance(opts,val){var els=opts.elements;var p=opts.$cont[0],timeout=p.cycleTimeout;if(timeout){clearTimeout(timeout);p.cycleTimeout=0;}if(opts.random&&val<0){opts.randomIndex--;if(--opts.randomIndex==-2){opts.randomIndex=els.length-2;}else{if(opts.randomIndex==-1){opts.randomIndex=els.length-1;}}opts.nextSlide=opts.randomMap[opts.randomIndex];}else{if(opts.random){opts.nextSlide=opts.randomMap[opts.randomIndex];}else{opts.nextSlide=opts.currSlide+val;if(opts.nextSlide<0){if(opts.nowrap){return false;}opts.nextSlide=els.length-1;}else{if(opts.nextSlide>=els.length){if(opts.nowrap){return false;}opts.nextSlide=0;}}}}var cb=opts.onPrevNextEvent||opts.prevNextClick;if($.isFunction(cb)){cb(val>0,opts.nextSlide,els[opts.nextSlide]);}go(els,opts,1,val>=0);return false;}function buildPager(els,opts){var $p=$(opts.pager);$.each(els,function(i,o){$.fn.cycle.createPagerAnchor(i,o,$p,els,opts);});opts.updateActivePagerLink(opts.pager,opts.startingSlide,opts.activePagerClass);}$.fn.cycle.createPagerAnchor=function(i,el,$p,els,opts){var a;if($.isFunction(opts.pagerAnchorBuilder)){a=opts.pagerAnchorBuilder(i,el);debug("pagerAnchorBuilder("+i+", el) returned: "+a);}else{a='<a href="#">'+(i+1)+"</a>";}if(!a){return;}var $a=$(a);if($a.parents("body").length===0){var arr=[];if($p.length>1){$p.each(function(){var $clone=$a.clone(true);$(this).append($clone);arr.push($clone[0]);});$a=$(arr);}else{$a.appendTo($p);}}opts.pagerAnchors=opts.pagerAnchors||[];opts.pagerAnchors.push($a);$a.bind(opts.pagerEvent,function(e){e.preventDefault();opts.nextSlide=i;var p=opts.$cont[0],timeout=p.cycleTimeout;if(timeout){clearTimeout(timeout);p.cycleTimeout=0;}var cb=opts.onPagerEvent||opts.pagerClick;if($.isFunction(cb)){cb(opts.nextSlide,els[opts.nextSlide]);}go(els,opts,1,opts.currSlide<i);});if(!/^click/.test(opts.pagerEvent)&&!opts.allowPagerClickBubble){$a.bind("click.cycle",function(){return false;});}if(opts.pauseOnPagerHover){$a.hover(function(){opts.$cont[0].cyclePause++;},function(){opts.$cont[0].cyclePause--;});}};$.fn.cycle.hopsFromLast=function(opts,fwd){var hops,l=opts.lastSlide,c=opts.currSlide;if(fwd){hops=c>l?c-l:opts.slideCount-l;}else{hops=c<l?l-c:l+opts.slideCount-c;}return hops;};function clearTypeFix($slides){debug("applying clearType background-color hack");function hex(s){s=parseInt(s).toString(16);return s.length<2?"0"+s:s;}function getBg(e){for(;e&&e.nodeName.toLowerCase()!="html";e=e.parentNode){var v=$.css(e,"background-color");if(v.indexOf("rgb")>=0){var rgb=v.match(/\d+/g);return"#"+hex(rgb[0])+hex(rgb[1])+hex(rgb[2]);}if(v&&v!="transparent"){return v;}}return"#ffffff";}$slides.each(function(){$(this).css("background-color",getBg(this));});}$.fn.cycle.commonReset=function(curr,next,opts,w,h,rev){$(opts.elements).not(curr).hide();opts.cssBefore.opacity=1;opts.cssBefore.display="block";if(w!==false&&next.cycleW>0){opts.cssBefore.width=next.cycleW;}if(h!==false&&next.cycleH>0){opts.cssBefore.height=next.cycleH;}opts.cssAfter=opts.cssAfter||{};opts.cssAfter.display="none";$(curr).css("zIndex",opts.slideCount+(rev===true?1:0));$(next).css("zIndex",opts.slideCount+(rev===true?0:1));};$.fn.cycle.custom=function(curr,next,opts,cb,fwd,speedOverride){var $l=$(curr),$n=$(next);var speedIn=opts.speedIn,speedOut=opts.speedOut,easeIn=opts.easeIn,easeOut=opts.easeOut;$n.css(opts.cssBefore);if(speedOverride){if(typeof speedOverride=="number"){speedIn=speedOut=speedOverride;}else{speedIn=speedOut=1;}easeIn=easeOut=null;}var fn=function(){$n.animate(opts.animIn,speedIn,easeIn,cb);};$l.animate(opts.animOut,speedOut,easeOut,function(){if(opts.cssAfter){$l.css(opts.cssAfter);}if(!opts.sync){fn();}});if(opts.sync){fn();}};$.fn.cycle.transitions={fade:function($cont,$slides,opts){$slides.not(":eq("+opts.currSlide+")").css("opacity",0);opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts);opts.cssBefore.opacity=0;});opts.animIn={opacity:1};opts.animOut={opacity:0};opts.cssBefore={top:0,left:0};}};$.fn.cycle.ver=function(){return ver;};$.fn.cycle.defaults={fx:"fade",timeout:4000,timeoutFn:null,continuous:0,speed:1000,speedIn:null,speedOut:null,next:null,prev:null,onPrevNextEvent:null,prevNextEvent:"click.cycle",pager:null,onPagerEvent:null,pagerEvent:"click.cycle",allowPagerClickBubble:false,pagerAnchorBuilder:null,before:null,after:null,end:null,easing:null,easeIn:null,easeOut:null,shuffle:null,animIn:null,animOut:null,cssBefore:null,cssAfter:null,fxFn:null,height:"auto",startingSlide:0,sync:1,random:0,fit:0,containerResize:1,pause:0,pauseOnPagerHover:0,autostop:0,autostopCount:0,delay:0,slideExpr:null,cleartype:!$.support.opacity,cleartypeNoBg:false,nowrap:0,fastOnEvent:0,randomizeEffects:1,rev:0,manualTrump:true,requeueOnImageNotLoaded:true,requeueTimeout:250,activePagerClass:"activeSlide",updateActivePagerLink:null};})(jQuery);


/*
 * 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:
 * ?? 2008 Microsoft Corporation. All Rights Reserved.
 * 
 * Trademark:
 * Verdana is either a registered trademark or a trademark of Microsoft
 * Corporation in the United States and/or other countries.
 * 
 * Designer:
 * Matthew Carter
 * 
 * License information:
 * http://www.microsoft.com/typography/fonts/
 */
Cufon.registerFont({"w":228,"face":{"font-family":"Verdana","font-weight":400,"font-stretch":"normal","units-per-em":"360","panose-1":"2 11 6 4 3 5 4 4 2 4","ascent":"288","descent":"-72","x-height":"5","bbox":"-11.3052 -295 361 74.1791","underline-thickness":"21.0938","underline-position":"-21.0938","unicode-range":"U+0020-U+007E"},"glyphs":{" ":{"w":126},"\u00a0":{"w":126},"!":{"d":"91,-262r-5,190r-30,0r-5,-190r40,0xm89,0r-36,0r0,-37r36,0r0,37","w":141},"\"":{"d":"136,-274r-8,102r-23,0r-8,-102r39,0xm68,-274r-8,102r-23,0r-7,-102r38,0","w":165},"#":{"d":"260,-164r-58,0r-16,66r54,0r0,24r-61,0r-18,74r-22,0r18,-74r-48,0r-18,74r-23,0r19,-74r-53,0r0,-24r59,0r16,-66r-54,0r0,-24r60,0r19,-74r22,0r-18,74r47,0r19,-74r22,0r-18,74r52,0r0,24xm180,-164r-49,0r-16,67r48,0","w":294},"$":{"d":"127,-128v40,6,77,17,77,61v-1,40,-37,64,-77,67r0,63r-21,0r0,-62v-29,0,-59,-7,-79,-16r0,-35v23,10,46,24,79,25r0,-76v-40,-8,-78,-20,-78,-63v0,-39,36,-63,78,-65r0,-48r21,0r0,47v23,0,51,9,68,14r0,34v-23,-8,-36,-21,-68,-22r0,76xm106,-204v-34,-3,-58,35,-35,59v6,5,18,10,35,14r0,-73xm127,-26v36,4,58,-38,33,-60v-7,-5,-18,-9,-33,-12r0,72"},"%":{"d":"91,-267v45,1,64,29,64,78v0,49,-19,78,-64,78v-45,0,-65,-30,-65,-78v0,-48,19,-78,65,-78xm277,-262r-137,262r-29,0r137,-262r29,0xm297,-150v45,0,64,29,64,77v0,49,-18,78,-64,78v-45,0,-66,-28,-65,-77v0,-48,19,-78,65,-78xm91,-135v29,0,33,-20,33,-54v0,-34,-4,-54,-33,-54v-29,0,-34,20,-34,54v0,34,5,54,34,54xm297,-18v29,0,33,-21,33,-55v0,-34,-4,-54,-33,-54v-30,0,-34,21,-34,55v0,34,5,54,34,54","w":387},"&":{"d":"104,-160v40,-6,51,-85,0,-85v-30,0,-48,36,-30,60v5,7,15,16,30,25xm56,-80v-4,66,92,73,117,25r-84,-82v-19,10,-31,28,-33,57xm187,-84v6,-21,5,-49,5,-76r34,0v1,38,-4,70,-19,95r66,65r-43,0r-40,-39v-22,27,-44,43,-85,44v-47,1,-86,-30,-85,-77v1,-41,24,-60,49,-77v-22,-14,-36,-26,-36,-57v0,-40,30,-61,73,-61v36,-1,68,20,68,54v-1,38,-22,55,-53,65","w":261},"'":{"d":"68,-274r-8,102r-24,0r-7,-102r39,0","w":96,"k":{"A":18}},"(":{"d":"63,-101v-1,81,36,132,75,173r-41,0v-39,-44,-65,-95,-65,-173v0,-77,27,-128,65,-173v13,2,32,-4,41,2v-41,38,-74,92,-75,171","w":163},")":{"d":"66,-274v39,45,66,96,66,173v0,77,-27,129,-66,173v-13,-1,-29,2,-40,-1v41,-39,75,-94,75,-172v0,-80,-37,-131,-75,-173r40,0","w":163},"*":{"d":"200,-156r-11,19r-64,-37r1,63r-23,0r1,-63r-63,38r-12,-20r67,-36r-67,-37r12,-19r63,38r-1,-64r23,0r-1,64r64,-38r11,20r-67,36"},"+":{"d":"258,-101r-96,0r0,96r-29,0r0,-96r-96,0r0,-28r96,0r0,-95r29,0r0,95r96,0r0,28","w":294},",":{"d":"101,-50r-49,115r-26,0r30,-115r45,0","w":130},"-":{"d":"137,-99r-110,0r0,-31r110,0r0,31","w":163,"k":{"z":7,"y":7,"x":9,"w":4,"v":7,"a":4,"Z":5,"Y":25,"X":14,"W":9,"V":9,"T":26,"S":4,"J":18,"I":5,"A":9}},"\u00ad":{"d":"137,-99r-110,0r0,-31r110,0r0,31","w":163},".":{"d":"86,0r-42,0r0,-50r42,0r0,50","w":130,"k":{"-":28,",":23}},"\/":{"d":"151,-274r-126,327r-30,0r125,-327r31,0","w":163},"0":{"d":"115,-267v71,0,90,56,90,136v0,82,-19,136,-90,136v-73,0,-91,-55,-91,-136v0,-83,19,-136,91,-136xm115,-24v54,0,54,-52,54,-107v0,-55,-1,-107,-54,-107v-53,0,-55,53,-55,107v0,56,0,107,55,107"},"1":{"d":"49,-226v31,-1,61,-5,61,-37r27,0r0,236r54,0r0,27r-142,0r0,-27r54,0r0,-175r-54,0r0,-24"},"2":{"d":"35,-251v55,-28,164,-22,159,56v-4,70,-56,94,-92,133r-37,32r140,0r0,30r-177,0r0,-37v37,-32,93,-80,118,-115v24,-35,12,-85,-38,-85v-29,0,-51,12,-73,23r0,-37"},"3":{"d":"145,-143v32,7,56,25,57,65v3,86,-108,98,-173,67r0,-37v39,27,138,41,137,-32v0,-41,-32,-49,-76,-47r0,-30v38,2,71,-8,71,-43v0,-58,-93,-35,-124,-14r0,-37v50,-24,159,-28,159,47v0,30,-25,53,-51,58r0,3"},"4":{"d":"211,-74r-38,0r0,74r-34,0r0,-74r-125,0r0,-40r126,-148r33,0r0,160r38,0r0,28xm139,-102r0,-118r-102,118r102,0"},"5":{"d":"78,-161v68,-7,125,9,125,78v0,88,-104,105,-170,73v2,-11,-3,-29,2,-37v38,30,133,37,133,-36v0,-59,-75,-54,-124,-44r0,-135r158,0r0,31r-124,0r0,70"},"6":{"d":"60,-149v53,-36,149,-19,149,64v0,52,-41,91,-90,90v-69,-2,-94,-48,-95,-120v-2,-102,55,-166,160,-148v-2,10,3,27,-2,34v-60,-25,-123,18,-122,80xm119,-23v35,0,55,-23,55,-60v0,-62,-74,-66,-114,-41v-3,58,9,101,59,101"},"7":{"d":"206,-223r-118,223r-38,0r126,-231r-149,0r0,-31r179,0r0,39"},"8":{"d":"157,-139v25,16,50,28,50,66v0,48,-44,79,-93,79v-52,0,-93,-31,-93,-78v0,-35,24,-55,49,-69v-24,-14,-42,-26,-42,-58v0,-42,41,-69,86,-69v46,0,87,25,86,67v-1,29,-19,52,-43,62xm135,-148v21,-14,30,-25,31,-53v1,-27,-25,-39,-52,-41v-51,-4,-68,59,-22,77v10,4,29,14,43,17xm115,-20v43,3,72,-42,49,-76v-12,-19,-45,-25,-72,-36v-19,11,-34,31,-35,57v-1,33,26,53,58,55"},"9":{"d":"111,-267v68,3,93,47,94,120v1,102,-55,167,-160,148v2,-10,-3,-27,2,-34v61,26,124,-17,122,-80v-55,38,-149,17,-149,-64v0,-52,41,-92,91,-90xm56,-178v0,63,75,65,113,40v4,-54,-8,-100,-59,-100v-35,0,-54,24,-54,60"},":":{"d":"103,-146r-42,0r0,-50r42,0r0,50xm103,0r-42,0r0,-50r42,0r0,50","w":163},";":{"d":"103,-146r-42,0r0,-50r42,0r0,50xm116,-50r-50,115r-26,0r31,-115r45,0","w":163},"\u037e":{"d":"103,-146r-42,0r0,-50r42,0r0,50xm116,-50r-50,115r-26,0r31,-115r45,0","w":163},"<":{"d":"248,-14r-203,-90r0,-22r203,-90r0,32r-160,69r160,70r0,31","w":294},"=":{"d":"252,-137r-209,0r0,-29r209,0r0,29xm252,-64r-209,0r0,-28r209,0r0,28","w":294},">":{"d":"250,-104r-203,90r0,-31r160,-70r-160,-69r0,-32r203,90r0,22","w":294},"?":{"d":"28,-255v55,-22,153,-16,149,55v-3,51,-39,69,-73,90r0,40r-31,0r0,-54v28,-17,68,-30,68,-74v0,-55,-83,-40,-113,-21r0,-36xm107,0r-36,0r0,-37r36,0r0,37","w":196},"@":{"d":"183,-267v94,0,143,56,146,150v0,37,-12,66,-28,89r-77,0r-5,-20v-16,12,-28,22,-52,22v-43,0,-65,-37,-65,-85v0,-66,61,-108,117,-76r0,-8r28,0r0,148r43,0v39,-87,-1,-203,-107,-196v-79,5,-124,51,-127,130v-3,103,89,151,189,121r0,25v-118,27,-217,-30,-214,-147v3,-92,60,-153,152,-153xm174,-53v17,0,34,-11,45,-19r0,-91v-41,-23,-87,-1,-87,52v0,35,11,57,42,58","w":360},"A":{"d":"242,0r-38,0r-25,-73r-113,0r-26,73r-35,0r95,-262r46,0xm168,-103r-46,-128r-46,128r92,0","w":246,"k":{"y":9,"w":5,"v":9,"u":2,"t":4,"Y":14,"W":9,"V":11,"U":2,"T":21,"S":2,"-":9}},"B":{"d":"175,-150v32,9,58,30,58,69v-1,92,-104,82,-198,81r0,-262v76,3,176,-18,175,59v0,27,-15,44,-35,53xm70,-156v48,-1,104,9,104,-42v0,-46,-60,-31,-104,-34r0,76xm70,-30v58,-1,126,10,126,-49v0,-62,-69,-46,-126,-48r0,97","w":246,"k":{"T":11,".":4,"-":-2,",":4}},"C":{"d":"147,-25v40,1,64,-18,90,-35r0,41v-26,11,-51,24,-89,24v-85,0,-128,-50,-128,-136v0,-85,44,-135,129,-135v36,0,59,8,88,23v-2,13,4,32,-2,41v-25,-20,-49,-36,-89,-35v-61,2,-90,42,-90,106v0,64,31,104,91,106","w":251,"k":{"-":9}},"D":{"d":"35,-262v127,-8,224,15,221,131v-2,89,-56,133,-155,131r-66,0r0,-262xm70,-30v89,5,150,-16,150,-101v0,-84,-61,-106,-150,-101r0,202","w":277,"k":{"Z":4,"Y":4,"X":2,"W":4,"T":9,".":9,",":9}},"E":{"d":"208,0r-173,0r0,-262r173,0r0,31r-138,0r0,72r138,0r0,31r-138,0r0,97r138,0r0,31","w":227},"F":{"d":"202,-231r-132,0r0,74r114,0r0,31r-114,0r0,126r-35,0r0,-262r167,0r0,31","w":206,"k":{"o":9,"e":9,"a":18,"T":-5,"A":18,"?":-11,";":11,":":11,".":53,",":53}},"G":{"d":"56,-132v0,91,85,129,163,95r0,-64r-70,0r0,-31r104,0r0,113v-25,12,-60,24,-95,24v-89,-1,-138,-47,-138,-136v0,-84,53,-136,138,-135v38,0,65,9,95,23r0,41v-29,-15,-55,-35,-101,-35v-60,0,-96,44,-96,105","w":279},"H":{"d":"235,0r-34,0r0,-128r-131,0r0,128r-35,0r0,-262r35,0r0,103r131,0r0,-103r34,0r0,262","w":270},"I":{"d":"127,0r-103,0r0,-27r34,0r0,-208r-34,0r0,-27r103,0r0,27r-34,0r0,208r34,0r0,27","w":151,"k":{"-":5}},"J":{"d":"8,-34v41,15,88,12,88,-47r0,-153r-55,0r0,-28r90,0r0,194v2,65,-61,81,-123,67r0,-33","w":163,"k":{"A":2,".":4,",":4}},"K":{"d":"246,0r-46,0r-103,-117r-26,28r0,89r-35,0r0,-262r35,0r0,137r127,-137r42,0r-117,123","w":249,"k":{"y":14,"w":12,"v":14,"u":9,"o":12,"e":12,"a":11,"O":4,"-":19}},"L":{"d":"201,0r-166,0r0,-262r35,0r0,231r131,0r0,31","w":200,"k":{"y":19,"v":19,"Y":28,"W":18,"V":19,"T":30,"O":4,"J":-18,"G":4,"C":4,"-":28,"'":21}},"M":{"d":"268,0r-35,0r0,-226r-72,154r-21,0r-72,-154r0,226r-33,0r0,-262r48,0r69,146r68,-146r48,0r0,262","w":303},"N":{"d":"235,0r-43,0r-124,-234r0,234r-33,0r0,-262r54,0r113,214r0,-214r33,0r0,262","w":269},"O":{"d":"142,-267v82,0,121,52,121,136v0,84,-40,136,-121,136v-82,0,-122,-53,-122,-136v0,-82,40,-136,122,-136xm142,-25v57,0,85,-44,85,-106v0,-62,-28,-106,-85,-106v-58,0,-86,43,-86,106v0,62,28,106,86,106","w":283,"k":{"Z":4,"Y":4,"X":2,"T":9,".":5,",":5}},"P":{"d":"35,-262v86,-2,173,-5,171,79v-2,70,-56,91,-136,85r0,98r-35,0r0,-262xm70,-127v55,2,100,-3,100,-55v0,-50,-48,-52,-100,-50r0,105","w":217,"k":{"o":9,"e":9,"a":9,"Y":-4,"A":9,".":53,",":53}},"Q":{"d":"269,64v-53,15,-112,-3,-111,-60v-91,7,-138,-47,-138,-135v0,-82,40,-136,122,-136v82,0,121,52,121,136v1,63,-28,110,-72,127v-3,44,42,47,78,36r0,32xm142,-25v57,0,85,-44,85,-106v0,-62,-28,-106,-85,-106v-58,0,-86,43,-86,106v0,62,28,106,86,106","w":283,"k":{".":5,",":5}},"R":{"d":"207,-191v0,40,-22,66,-54,77r99,114r-45,0r-88,-104r-49,0r0,104r-35,0r0,-262v82,0,173,-10,172,71xm70,-133v54,2,100,0,100,-55v0,-48,-51,-45,-100,-44r0,99","w":250,"k":{"y":10,"u":4,"o":9,"e":9,"a":7,"Y":4,"T":11,"-":18}},"S":{"d":"212,-207v-30,-30,-151,-51,-151,12v0,82,166,11,164,120v-1,92,-134,93,-201,59v2,-14,-4,-34,2,-44v33,36,155,60,163,-10v-9,-80,-164,-12,-164,-122v0,-82,129,-87,190,-56r0,41r-3,0","w":246,"k":{"y":5,"w":4,"v":5,"S":4,"A":4,".":4,",":4}},"T":{"d":"222,-231r-94,0r0,231r-34,0r0,-231r-94,0r0,-31r222,0r0,31","w":221,"k":{"z":30,"y":35,"w":35,"v":35,"u":35,"s":32,"r":35,"o":39,"g":37,"e":39,"c":39,"a":42,"T":12,"S":2,"O":9,"G":7,"C":7,"A":21,"?":-11,";":35,":":35,".":51,"-":26,",":51}},"U":{"d":"132,-24v48,0,65,-27,65,-78r0,-160r35,0r0,157v1,71,-30,110,-100,110v-71,0,-100,-39,-101,-110r0,-157r35,0r0,159v-1,51,18,79,66,79","w":263,"k":{"A":2,".":4,",":4}},"V":{"d":"242,-262r-96,262r-46,0r-95,-262r37,0r82,231r82,-231r36,0","w":246,"k":{"y":11,"u":11,"o":18,"e":18,"a":18,"A":11,";":14,":":14,".":51,"-":9,",":51}},"W":{"d":"340,-262r-68,262r-39,0r-55,-217r-54,217r-39,0r-69,-262r36,0r55,218r54,-218r35,0r55,220r55,-220r34,0","w":355,"k":{"y":11,"u":11,"r":11,"o":18,"e":18,"a":18,"A":9,";":14,":":14,".":39,"-":9,",":51}},"X":{"d":"235,-262r-91,130r91,132r-41,0r-71,-108r-73,108r-38,0r91,-131r-89,-131r40,0r71,107r72,-107r38,0","w":246,"k":{"y":14,"u":5,"o":11,"e":11,"a":9,"O":2,"G":2,"C":2,"-":14}},"Y":{"d":"220,-262r-92,147r0,115r-34,0r0,-111r-93,-151r39,0r71,117r72,-117r37,0","w":221,"k":{"v":18,"u":19,"s":19,"r":18,"q":23,"p":18,"o":23,"n":18,"m":18,"g":23,"e":23,"d":21,"a":25,"O":4,"A":14,";":35,":":35,".":51,"-":25,",":51}},"Z":{"d":"226,0r-204,0r0,-32r161,-199r-155,0r0,-31r195,0r0,32r-163,199r166,0r0,31","w":246,"k":{"y":11,"w":7,"o":11,"e":11,"a":9,"Z":2,"O":4,"G":4,"C":4,"-":11}},"[":{"d":"133,69r-91,0r0,-343r91,0r0,26r-60,0r0,292r60,0r0,25","w":163},"\\":{"d":"169,53r-31,0r-126,-327r31,0","w":163},"]":{"d":"121,69r-91,0r0,-25r61,0r0,-292r-61,0r0,-26r91,0r0,343","w":163},"^":{"d":"262,-120r-35,0r-80,-110r-80,110r-34,0r103,-142r22,0","w":294},"_":{"d":"230,53r-231,0r0,-21r231,0r0,21"},"`":{"d":"134,-229r-26,0r-48,-66r42,0"},"a":{"d":"36,-192v59,-16,149,-18,149,59r0,133r-33,0r0,-21v-18,12,-36,26,-70,26v-36,0,-64,-27,-64,-62v1,-67,68,-69,134,-73v4,-60,-77,-42,-116,-29r0,-33xm52,-59v0,51,80,35,100,11r0,-55v-41,5,-100,-1,-100,44","w":216,"k":{"y":3,"w":2,"v":3}},"b":{"d":"130,-202v52,1,76,45,75,102v-1,60,-27,103,-86,105v-23,0,-37,-7,-53,-14r-3,9r-30,0r0,-274r33,0r0,98v17,-14,35,-26,64,-26xm66,-36v49,27,105,7,105,-63v0,-42,-11,-70,-49,-71v-23,0,-42,10,-56,22r0,112","w":224,"k":{"y":1,".":4,",":5}},"c":{"d":"113,-24v28,0,46,-16,65,-25r0,37v-69,37,-160,7,-160,-86v0,-88,90,-126,160,-87v-2,11,3,29,-2,37v-16,-14,-38,-23,-63,-24v-40,0,-60,30,-60,74v0,44,20,74,60,74","w":187,"k":{"T":11,"-":4}},"d":{"d":"19,-97v0,-81,72,-130,140,-91r0,-86r33,0r0,274r-33,0r0,-21v-17,14,-35,27,-64,26v-51,-1,-76,-45,-76,-102xm103,-26v22,0,43,-10,56,-22r0,-113v-51,-27,-110,-2,-106,64v2,42,11,70,50,71","w":224},"e":{"d":"52,-95v-6,81,97,83,141,47r0,36v-72,38,-174,10,-174,-85v0,-61,37,-105,95,-105v60,0,87,41,83,107r-145,0xm165,-120v7,-54,-64,-70,-95,-39v-10,10,-17,24,-18,39r113,0","w":214,"k":{"T":25}},"f":{"d":"34,-196v-6,-65,43,-89,104,-76v-2,9,3,25,-2,30v-36,-10,-78,-3,-70,46r60,0r0,27r-59,0r0,169r-33,0r0,-169r-22,0r0,-27r22,0","w":126,"k":{"}":-18,"y":2,"]":-18,"\\":-18,"?":-19,".":21,"-":9,",":23,"*":-9,")":-18,"'":-11,"\"":-11}},"g":{"d":"19,-100v0,-81,74,-124,140,-88r2,-8r31,0r0,174v8,89,-75,110,-152,88v1,-11,-2,-25,1,-34v40,18,126,24,118,-41r0,-18v-20,15,-32,24,-64,24v-50,0,-76,-42,-76,-97xm103,-34v23,1,42,-10,56,-20r0,-107v-48,-26,-110,-5,-106,60v3,41,12,66,50,67","w":224},"h":{"d":"131,-202v90,-3,62,118,66,202r-33,0r0,-112v-1,-34,-5,-60,-42,-58v-22,1,-42,11,-56,23r0,147r-33,0r0,-274r33,0r0,99v18,-14,37,-26,65,-27","w":227,"k":{"y":4,"w":2,"v":4}},"i":{"d":"68,-229r-37,0r0,-34r37,0r0,34xm66,0r-33,0r0,-196r33,0r0,196","w":98},"j":{"d":"94,-229r-38,0r0,-34r38,0r0,34xm20,45v33,1,39,-23,39,-55r0,-159r-41,0r0,-27r74,0r0,201v4,59,-50,80,-103,64v2,-9,-3,-25,2,-31v6,2,21,7,29,7","w":123},"k":{"d":"211,0r-44,0r-79,-86r-21,20r0,66r-33,0r0,-274r33,0r0,176r95,-98r42,0r-91,90","w":213,"k":{"o":4,"e":4,"-":18}},"l":{"d":"66,0r-33,0r0,-274r33,0r0,274","w":98},"m":{"d":"256,-202v89,-3,57,120,63,202r-33,0r0,-112v1,-33,-4,-60,-39,-58v-23,0,-40,13,-56,24r1,146r-33,0r0,-112v0,-33,-3,-60,-39,-58v-23,1,-39,11,-54,23r0,147r-33,0r0,-196r33,0r0,21v26,-32,101,-38,118,5v23,-18,39,-31,72,-32","w":350,"k":{"y":4,"w":2,"v":4}},"n":{"d":"131,-202v90,-3,62,118,66,202r-33,0r0,-112v-1,-34,-5,-60,-42,-58v-22,1,-42,11,-56,23r0,147r-33,0r0,-196r33,0r0,21v18,-14,37,-26,65,-27","w":227,"k":{"y":4,"w":2,"v":4}},"o":{"d":"109,-202v58,0,91,44,91,104v0,59,-32,103,-91,103v-59,0,-90,-43,-90,-103v0,-60,32,-104,90,-104xm109,-23v40,0,57,-31,57,-75v0,-45,-16,-75,-57,-75v-40,0,-56,30,-56,75v0,44,16,75,56,75","w":218,"k":{"y":3,"x":4,"v":3,".":4,",":5}},"p":{"d":"130,-202v52,1,75,43,75,101v0,81,-71,130,-139,91r0,82r-33,0r0,-268r33,0r0,20v16,-13,38,-26,64,-26xm66,-37v48,27,110,4,105,-63v-3,-42,-11,-69,-49,-70v-22,0,-42,10,-56,22r0,111","w":224,"k":{"y":1,".":4,",":5}},"q":{"d":"19,-98v0,-82,72,-127,140,-90r2,-8r31,0r0,268r-33,0r0,-94v-18,15,-35,26,-63,26v-51,0,-77,-45,-77,-102xm103,-28v23,0,42,-10,56,-22r0,-111v-49,-27,-111,-3,-106,62v3,42,12,70,50,71","w":224},"r":{"d":"66,-167v24,-22,48,-34,89,-27v-2,10,3,27,-2,34v-33,-11,-68,2,-87,21r0,139r-33,0r0,-196r33,0r0,29","w":153,"k":{"a":6,".":51,"-":4,",":51}},"s":{"d":"97,-173v-31,0,-56,25,-35,46v35,22,111,10,111,70v0,69,-107,74,-154,45v2,-11,-3,-29,2,-37v17,13,44,24,72,26v35,3,58,-23,39,-47v-35,-21,-112,-12,-112,-71v0,-67,98,-71,145,-45v-2,11,3,28,-2,35v-14,-12,-41,-22,-66,-22","w":187},"t":{"d":"67,-55v-1,33,40,34,67,24r0,29v-52,16,-101,0,-101,-62r0,-105r-22,0r0,-27r22,0r0,-57r33,0r0,57r68,0r0,27r-68,0","w":141,"k":{"y":2,"-":7}},"u":{"d":"106,-26v22,0,41,-12,56,-24r0,-146r33,0r0,196r-33,0r0,-22v-20,14,-35,26,-65,27v-91,4,-61,-117,-66,-201r33,0v8,63,-27,170,42,170","w":227},"v":{"d":"202,-196r-79,196r-33,0r-79,-196r36,0r60,156r61,-156r34,0","w":213,"k":{"o":3,"e":3,"a":7,".":32,"-":7,",":32}},"w":{"d":"279,-196r-51,196r-30,0r-51,-151r-50,151r-30,0r-52,-196r35,0r36,152r49,-152r27,0r50,152r34,-152r33,0","w":294,"k":{"a":4,".":12,"-":4,",":12}},"x":{"d":"202,0r-41,0r-56,-75r-56,75r-38,0r76,-98r-76,-98r42,0r55,74r56,-74r38,0r-77,96","w":213,"k":{"o":4,"g":2,"e":4,"d":2,"c":4,"-":9}},"y":{"d":"202,-196r-114,268r-36,0r37,-81r-78,-187r36,0r60,145r61,-145r34,0","w":213,"k":{"q":2,"o":3,"g":2,"e":3,"d":2,"c":3,"a":7,".":33,"-":7,",":33}},"z":{"d":"175,0r-159,0r0,-24r115,-145r-112,0r0,-27r153,0r0,23r-115,145r118,0r0,28","w":189,"k":{"q":2,"o":2,"g":2,"e":2,"d":2,"c":2,"-":4}},"{":{"d":"130,-33v0,54,7,86,66,78r0,24v-68,6,-102,-22,-97,-94v3,-43,-23,-67,-69,-64r0,-27v56,4,72,-31,69,-89v-3,-53,39,-75,97,-69r0,25v-55,-7,-66,20,-66,77v0,37,-23,57,-51,68r0,4v29,11,51,30,51,67"},"|":{"d":"97,69r-31,0r0,-343r31,0r0,343","w":163},"}":{"d":"130,-205v0,57,11,93,68,89r0,27v-56,-4,-68,32,-68,90v0,52,-40,73,-97,68r0,-24v41,2,68,-5,65,-47v-5,-54,13,-85,52,-98r0,-4v-37,-14,-57,-43,-52,-98v3,-41,-23,-50,-65,-47r0,-25v58,-5,97,16,97,69"},"~":{"d":"197,-98v28,0,35,-33,35,-65r30,0v-3,48,-14,90,-64,93v-52,3,-61,-60,-100,-65v-28,4,-34,29,-36,66r-29,0v2,-49,15,-92,64,-94v51,-3,58,65,100,65","w":294}}});




/* IE PNG fix multiple filters */
(function ($) {
    if (!$) return;
    $.fn.extend({
        fixPNG: function(sizingMethod, forceBG) {
                if (!($.browser.msie)) return this;
                var emptyimg = "images/graphics/empty.gif"; //Path to empty 1x1px GIF goes here
                sizingMethod = sizingMethod || "scale"; //sizingMethod, defaults to scale (matches image dimensions)
                this.each(function() {
                        var isImg = (forceBG) ? false : jQuery.nodeName(this, "img"),
                                imgname = (isImg) ? this.src : this.currentStyle.backgroundImage,
                                src = (isImg) ? imgname : imgname.substring(5,imgname.length-2);
                        this.style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + src + "', sizingMethod='" + sizingMethod + "')";
                        if (isImg) this.src = emptyimg;
                        else this.style.backgroundImage = "url(" + emptyimg + ")";
                });
                return this;
        }
    });
})(jQuery);

/*
 * FancyBox - jQuery Plugin
 * Simple and fancy lightbox alternative
 *
 * Examples and documentation at: http://fancybox.net
 * 
 * Copyright (c) 2008 - 2010 Janis Skarnelis
 *
 * Version: 1.3.1 (05/03/2010)
 * Requires: jQuery v1.3+
 *
 * Dual licensed under the MIT and GPL licenses:
 *   http://www.opensource.org/licenses/mit-license.php
 *   http://www.gnu.org/licenses/gpl.html
 */

(function(b){var m,u,x,g,D,i,z,A,B,p=0,e={},q=[],n=0,c={},j=[],E=null,s=new Image,G=/\.(jpg|gif|png|bmp|jpeg)(.*)?$/i,S=/[^\.]\.(swf)\s*$/i,H,I=1,k,l,h=false,y=b.extend(b("<div/>")[0],{prop:0}),v=0,O=!b.support.opacity&&!window.XMLHttpRequest,J=function(){u.hide();s.onerror=s.onload=null;E&&E.abort();m.empty()},P=function(){b.fancybox('<p id="fancybox_error">The requested content cannot be loaded.<br />Please try again later.</p>',{scrolling:"no",padding:20,transitionIn:"none",transitionOut:"none"})},
K=function(){return[b(window).width(),b(window).height(),b(document).scrollLeft(),b(document).scrollTop()]},T=function(){var a=K(),d={},f=c.margin,o=c.autoScale,t=(20+f)*2,w=(20+f)*2,r=c.padding*2;if(c.width.toString().indexOf("%")>-1){d.width=a[0]*parseFloat(c.width)/100-40;o=false}else d.width=c.width+r;if(c.height.toString().indexOf("%")>-1){d.height=a[1]*parseFloat(c.height)/100-40;o=false}else d.height=c.height+r;if(o&&(d.width>a[0]-t||d.height>a[1]-w))if(e.type=="image"||e.type=="swf"){t+=r;
w+=r;o=Math.min(Math.min(a[0]-t,c.width)/c.width,Math.min(a[1]-w,c.height)/c.height);d.width=Math.round(o*(d.width-r))+r;d.height=Math.round(o*(d.height-r))+r}else{d.width=Math.min(d.width,a[0]-t);d.height=Math.min(d.height,a[1]-w)}d.top=a[3]+(a[1]-(d.height+40))*0.5;d.left=a[2]+(a[0]-(d.width+40))*0.5;if(c.autoScale===false){d.top=Math.max(a[3]+f,d.top);d.left=Math.max(a[2]+f,d.left)}return d},U=function(a){if(a&&a.length)switch(c.titlePosition){case "inside":return a;case "over":return'<span id="fancybox-title-over">'+
a+"</span>";default:return'<span id="fancybox-title-wrap"><span id="fancybox-title-left"></span><span id="fancybox-title-main">'+a+'</span><span id="fancybox-title-right"></span></span>'}return false},V=function(){var a=c.title,d=l.width-c.padding*2,f="fancybox-title-"+c.titlePosition;b("#fancybox-title").remove();v=0;if(c.titleShow!==false){a=b.isFunction(c.titleFormat)?c.titleFormat(a,j,n,c):U(a);if(!(!a||a==="")){b('<div id="fancybox-title" class="'+f+'" />').css({width:d,paddingLeft:c.padding,
paddingRight:c.padding}).html(a).appendTo("body");switch(c.titlePosition){case "inside":v=b("#fancybox-title").outerHeight(true)-c.padding;l.height+=v;break;case "over":b("#fancybox-title").css("bottom",c.padding);break;default:b("#fancybox-title").css("bottom",b("#fancybox-title").outerHeight(true)*-1);break}b("#fancybox-title").appendTo(D).hide()}}},W=function(){b(document).unbind("keydown.fb").bind("keydown.fb",function(a){if(a.keyCode==27&&c.enableEscapeButton){a.preventDefault();b.fancybox.close()}else if(a.keyCode==
37){a.preventDefault();b.fancybox.prev()}else if(a.keyCode==39){a.preventDefault();b.fancybox.next()}});if(b.fn.mousewheel){g.unbind("mousewheel.fb");j.length>1&&g.bind("mousewheel.fb",function(a,d){a.preventDefault();h||d===0||(d>0?b.fancybox.prev():b.fancybox.next())})}if(c.showNavArrows){if(c.cyclic&&j.length>1||n!==0)A.show();if(c.cyclic&&j.length>1||n!=j.length-1)B.show()}},X=function(){var a,d;if(j.length-1>n){a=j[n+1].href;if(typeof a!=="undefined"&&a.match(G)){d=new Image;d.src=a}}if(n>0){a=
j[n-1].href;if(typeof a!=="undefined"&&a.match(G)){d=new Image;d.src=a}}},L=function(){i.css("overflow",c.scrolling=="auto"?c.type=="image"||c.type=="iframe"||c.type=="swf"?"hidden":"auto":c.scrolling=="yes"?"auto":"visible");if(!b.support.opacity){i.get(0).style.removeAttribute("filter");g.get(0).style.removeAttribute("filter")}b("#fancybox-title").show();c.hideOnContentClick&&i.one("click",b.fancybox.close);c.hideOnOverlayClick&&x.one("click",b.fancybox.close);c.showCloseButton&&z.show();W();b(window).bind("resize.fb",
b.fancybox.center);c.centerOnScroll?b(window).bind("scroll.fb",b.fancybox.center):b(window).unbind("scroll.fb");b.isFunction(c.onComplete)&&c.onComplete(j,n,c);h=false;X()},M=function(a){var d=Math.round(k.width+(l.width-k.width)*a),f=Math.round(k.height+(l.height-k.height)*a),o=Math.round(k.top+(l.top-k.top)*a),t=Math.round(k.left+(l.left-k.left)*a);g.css({width:d+"px",height:f+"px",top:o+"px",left:t+"px"});d=Math.max(d-c.padding*2,0);f=Math.max(f-(c.padding*2+v*a),0);i.css({width:d+"px",height:f+
"px"});if(typeof l.opacity!=="undefined")g.css("opacity",a<0.5?0.5:a)},Y=function(a){var d=a.offset();d.top+=parseFloat(a.css("paddingTop"))||0;d.left+=parseFloat(a.css("paddingLeft"))||0;d.top+=parseFloat(a.css("border-top-width"))||0;d.left+=parseFloat(a.css("border-left-width"))||0;d.width=a.width();d.height=a.height();return d},Q=function(){var a=e.orig?b(e.orig):false,d={};if(a&&a.length){a=Y(a);d={width:a.width+c.padding*2,height:a.height+c.padding*2,top:a.top-c.padding-20,left:a.left-c.padding-
20}}else{a=K();d={width:1,height:1,top:a[3]+a[1]*0.5,left:a[2]+a[0]*0.5}}return d},N=function(){u.hide();if(g.is(":visible")&&b.isFunction(c.onCleanup))if(c.onCleanup(j,n,c)===false){b.event.trigger("fancybox-cancel");h=false;return}j=q;n=p;c=e;i.get(0).scrollTop=0;i.get(0).scrollLeft=0;if(c.overlayShow){O&&b("select:not(#fancybox-tmp select)").filter(function(){return this.style.visibility!=="hidden"}).css({visibility:"hidden"}).one("fancybox-cleanup",function(){this.style.visibility="inherit"});
x.css({"background-color":c.overlayColor,opacity:c.overlayOpacity}).unbind().show()}l=T();V();if(g.is(":visible")){b(z.add(A).add(B)).hide();var a=g.position(),d;k={top:a.top,left:a.left,width:g.width(),height:g.height()};d=k.width==l.width&&k.height==l.height;i.fadeOut(c.changeFade,function(){var f=function(){i.html(m.contents()).fadeIn(c.changeFade,L)};b.event.trigger("fancybox-change");i.empty().css("overflow","hidden");if(d){i.css({top:c.padding,left:c.padding,width:Math.max(l.width-c.padding*
2,1),height:Math.max(l.height-c.padding*2-v,1)});f()}else{i.css({top:c.padding,left:c.padding,width:Math.max(k.width-c.padding*2,1),height:Math.max(k.height-c.padding*2,1)});y.prop=0;b(y).animate({prop:1},{duration:c.changeSpeed,easing:c.easingChange,step:M,complete:f})}})}else{g.css("opacity",1);if(c.transitionIn=="elastic"){k=Q();i.css({top:c.padding,left:c.padding,width:Math.max(k.width-c.padding*2,1),height:Math.max(k.height-c.padding*2,1)}).html(m.contents());g.css(k).show();if(c.opacity)l.opacity=
0;y.prop=0;b(y).animate({prop:1},{duration:c.speedIn,easing:c.easingIn,step:M,complete:L})}else{i.css({top:c.padding,left:c.padding,width:Math.max(l.width-c.padding*2,1),height:Math.max(l.height-c.padding*2-v,1)}).html(m.contents());g.css(l).fadeIn(c.transitionIn=="none"?0:c.speedIn,L)}}},F=function(){m.width(e.width);m.height(e.height);if(e.width=="auto")e.width=m.width();if(e.height=="auto")e.height=m.height();N()},Z=function(){h=true;e.width=s.width;e.height=s.height;b("<img />").attr({id:"fancybox-img",
src:s.src,alt:e.title}).appendTo(m);N()},C=function(){J();var a=q[p],d,f,o,t,w;e=b.extend({},b.fn.fancybox.defaults,typeof b(a).data("fancybox")=="undefined"?e:b(a).data("fancybox"));o=a.title||b(a).title||e.title||"";if(a.nodeName&&!e.orig)e.orig=b(a).children("img:first").length?b(a).children("img:first"):b(a);if(o===""&&e.orig)o=e.orig.attr("alt");d=a.nodeName&&/^(?:javascript|#)/i.test(a.href)?e.href||null:e.href||a.href||null;if(e.type){f=e.type;if(!d)d=e.content}else if(e.content)f="html";else if(d)if(d.match(G))f=
"image";else if(d.match(S))f="swf";else if(b(a).hasClass("iframe"))f="iframe";else if(d.match(/#/)){a=d.substr(d.indexOf("#"));f=b(a).length>0?"inline":"ajax"}else f="ajax";else f="inline";e.type=f;e.href=d;e.title=o;if(e.autoDimensions&&e.type!=="iframe"&&e.type!=="swf"){e.width="auto";e.height="auto"}if(e.modal){e.overlayShow=true;e.hideOnOverlayClick=false;e.hideOnContentClick=false;e.enableEscapeButton=false;e.showCloseButton=false}if(b.isFunction(e.onStart))if(e.onStart(q,p,e)===false){h=false;
return}m.css("padding",20+e.padding+e.margin);b(".fancybox-inline-tmp").unbind("fancybox-cancel").bind("fancybox-change",function(){b(this).replaceWith(i.children())});switch(f){case "html":m.html(e.content);F();break;case "inline":b('<div class="fancybox-inline-tmp" />').hide().insertBefore(b(a)).bind("fancybox-cleanup",function(){b(this).replaceWith(i.children())}).bind("fancybox-cancel",function(){b(this).replaceWith(m.children())});b(a).appendTo(m);F();break;case "image":h=false;b.fancybox.showActivity();
s=new Image;s.onerror=function(){P()};s.onload=function(){s.onerror=null;s.onload=null;Z()};s.src=d;break;case "swf":t='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'+e.width+'" height="'+e.height+'"><param name="movie" value="'+d+'"></param>';w="";b.each(e.swf,function(r,R){t+='<param name="'+r+'" value="'+R+'"></param>';w+=" "+r+'="'+R+'"'});t+='<embed src="'+d+'" type="application/x-shockwave-flash" width="'+e.width+'" height="'+e.height+'"'+w+"></embed></object>";m.html(t);
F();break;case "ajax":a=d.split("#",2);f=e.ajax.data||{};if(a.length>1){d=a[0];if(typeof f=="string")f+="&selector="+a[1];else f.selector=a[1]}h=false;b.fancybox.showActivity();E=b.ajax(b.extend(e.ajax,{url:d,data:f,error:P,success:function(r){if(E.status==200){m.html(r);F()}}}));break;case "iframe":b('<iframe id="fancybox-frame" name="fancybox-frame'+(new Date).getTime()+'" frameborder="0" hspace="0" scrolling="'+e.scrolling+'" src="'+e.href+'"></iframe>').appendTo(m);N();break}},$=function(){if(u.is(":visible")){b("div",
u).css("top",I*-40+"px");I=(I+1)%12}else clearInterval(H)},aa=function(){if(!b("#fancybox-wrap").length){b("body").append(m=b('<div id="fancybox-tmp"></div>'),u=b('<div id="fancybox-loading"><div></div></div>'),x=b('<div id="fancybox-overlay"></div>'),g=b('<div id="fancybox-wrap"></div>'));if(!b.support.opacity){g.addClass("fancybox-ie");u.addClass("fancybox-ie")}D=b('<div id="fancybox-outer"></div>').append('<div class="fancy-bg" id="fancy-bg-n"></div><div class="fancy-bg" id="fancy-bg-ne"></div><div class="fancy-bg" id="fancy-bg-e"></div><div class="fancy-bg" id="fancy-bg-se"></div><div class="fancy-bg" id="fancy-bg-s"></div><div class="fancy-bg" id="fancy-bg-sw"></div><div class="fancy-bg" id="fancy-bg-w"></div><div class="fancy-bg" id="fancy-bg-nw"></div>').appendTo(g);
D.append(i=b('<div id="fancybox-inner"></div>'),z=b('<a id="fancybox-close"></a>'),A=b('<a href="javascript:;" id="fancybox-left"><span class="fancy-ico" id="fancybox-left-ico"></span></a>'),B=b('<a href="javascript:;" id="fancybox-right"><span class="fancy-ico" id="fancybox-right-ico"></span></a>'));z.click(b.fancybox.close);u.click(b.fancybox.cancel);A.click(function(a){a.preventDefault();b.fancybox.prev()});B.click(function(a){a.preventDefault();b.fancybox.next()});if(O){x.get(0).style.setExpression("height",
"document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px'");u.get(0).style.setExpression("top","(-20 + (document.documentElement.clientHeight ? document.documentElement.clientHeight/2 : document.body.clientHeight/2 ) + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop )) + 'px'");D.prepend('<iframe id="fancybox-hide-sel-frame" src="javascript:\'\';" scrolling="no" frameborder="0" ></iframe>')}}};
b.fn.fancybox=function(a){b(this).data("fancybox",b.extend({},a,b.metadata?b(this).metadata():{})).unbind("click.fb").bind("click.fb",function(d){d.preventDefault();if(!h){h=true;b(this).blur();q=[];p=0;d=b(this).attr("rel")||"";if(!d||d==""||d==="nofollow")q.push(this);else{q=b("a[rel="+d+"], area[rel="+d+"]");p=q.index(this)}C();return false}});return this};b.fancybox=function(a,d){if(!h){h=true;d=typeof d!=="undefined"?d:{};q=[];p=d.index||0;if(b.isArray(a)){for(var f=0,o=a.length;f<o;f++)if(typeof a[f]==
"object")b(a[f]).data("fancybox",b.extend({},d,a[f]));else a[f]=b({}).data("fancybox",b.extend({content:a[f]},d));q=jQuery.merge(q,a)}else{if(typeof a=="object")b(a).data("fancybox",b.extend({},d,a));else a=b({}).data("fancybox",b.extend({content:a},d));q.push(a)}if(p>q.length||p<0)p=0;C()}};b.fancybox.showActivity=function(){clearInterval(H);u.show();H=setInterval($,66)};b.fancybox.hideActivity=function(){u.hide()};b.fancybox.next=function(){return b.fancybox.pos(n+1)};b.fancybox.prev=function(){return b.fancybox.pos(n-
1)};b.fancybox.pos=function(a){if(!h){a=parseInt(a,10);if(a>-1&&j.length>a){p=a;C()}if(c.cyclic&&j.length>1&&a<0){p=j.length-1;C()}if(c.cyclic&&j.length>1&&a>=j.length){p=0;C()}}};b.fancybox.cancel=function(){if(!h){h=true;b.event.trigger("fancybox-cancel");J();e&&b.isFunction(e.onCancel)&&e.onCancel(q,p,e);h=false}};b.fancybox.close=function(){function a(){x.fadeOut("fast");g.hide();b.event.trigger("fancybox-cleanup");i.empty();b.isFunction(c.onClosed)&&c.onClosed(j,n,c);j=e=[];n=p=0;c=e={};h=false}
if(!(h||g.is(":hidden"))){h=true;if(c&&b.isFunction(c.onCleanup))if(c.onCleanup(j,n,c)===false){h=false;return}J();b(z.add(A).add(B)).hide();b("#fancybox-title").remove();g.add(i).add(x).unbind();b(window).unbind("resize.fb scroll.fb");b(document).unbind("keydown.fb");i.css("overflow","hidden");if(c.transitionOut=="elastic"){k=Q();var d=g.position();l={top:d.top,left:d.left,width:g.width(),height:g.height()};if(c.opacity)l.opacity=1;y.prop=1;b(y).animate({prop:0},{duration:c.speedOut,easing:c.easingOut,
step:M,complete:a})}else g.fadeOut(c.transitionOut=="none"?0:c.speedOut,a)}};b.fancybox.resize=function(){var a,d;if(!(h||g.is(":hidden"))){h=true;a=i.wrapInner("<div style='overflow:auto'></div>").children();d=a.height();g.css({height:d+c.padding*2+v});i.css({height:d});a.replaceWith(a.children());b.fancybox.center()}};b.fancybox.center=function(){h=true;var a=K(),d=c.margin,f={};f.top=a[3]+(a[1]-(g.height()-v+40))*0.5;f.left=a[2]+(a[0]-(g.width()+40))*0.5;f.top=Math.max(a[3]+d,f.top);f.left=Math.max(a[2]+
d,f.left);g.css(f);h=false};b.fn.fancybox.defaults={padding:10,margin:20,opacity:false,modal:false,cyclic:false,scrolling:"auto",width:560,height:340,autoScale:true,autoDimensions:true,centerOnScroll:false,ajax:{},swf:{wmode:"transparent"},hideOnOverlayClick:true,hideOnContentClick:false,overlayShow:true,overlayOpacity:0.3,overlayColor:"#666",titleShow:true,titlePosition:"outside",titleFormat:null,transitionIn:"fade",transitionOut:"fade",speedIn:300,speedOut:300,changeSpeed:300,changeFade:"fast",
easingIn:"swing",easingOut:"swing",showCloseButton:true,showNavArrows:true,enableEscapeButton:true,onStart:null,onCancel:null,onComplete:null,onCleanup:null,onClosed:null};b(document).ready(function(){aa()})})(jQuery);


jQuery.fn.supersleight = function(settings) {
	settings = jQuery.extend({
		imgs: true,
		backgrounds: true,
		shim: '/Files/System/design/images/graphics/empty.gif',
		apply_positioning: true
	}, settings);
	
	return this.each(function(){
		if (jQuery.browser.msie && parseInt(jQuery.browser.version, 10) < 7 && parseInt(jQuery.browser.version, 10) > 4) {
			jQuery(this).find('*').andSelf().each(function(i,obj) {
				var self = jQuery(obj);
				// background pngs
				if (settings.backgrounds && self.css('background-image').match(/\.png/i) !== null) {
					var bg = self.css('background-image');
					var src = bg.substring(5,bg.length-2);
					var mode = (self.css('background-repeat') == 'no-repeat' ? 'crop' : 'scale');
					var styles = {
						'filter': "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + src + "', sizingMethod='" + mode + "')",
						'background-image': 'url('+settings.shim+')'
					};
					self.css(styles);
				};
				// image elements
				if (settings.imgs && self.is('img[src$=png]')){
					var styles = {
						'width': self.width() + 'px',
						'height': self.height() + 'px',
						'filter': "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + self.attr('src') + "', sizingMethod='scale')"
					};
					self.css(styles).attr('src', settings.shim);
				};
				// apply position to 'active' elements
				if (settings.apply_positioning && self.is('a, input') && (self.css('position') === '' || self.css('position') == 'static')){
					self.css('position', 'relative');
				};
			});
		};
	});
};


Cufon.replace('.mainNav li a.level1', { fontFamily: 'verdana', textShadow: '0 1px #d3d3d3' });
//Cufon.replace('.mainNav li a#activeLevel1', { fontFamily: 'verdana', textShadow: '0 1px #656464' });
jQuery.noConflict();
jQuery(document).ready(function() {
	
	jQuery(".subBody, .subHeader, .subFooter").supersleight();
	jQuery(".profPage").parent().parent().addClass("mainContentProf");
	
	jQuery(".SearchFrame").submit();

        
         jQuery('.addProductFavorite').click(function() {
             jQuery(this).prev().submit();
return false;
           });
	jQuery("#additionalDeliveryButton").click(function() {
		jQuery(this).parent().parent().parent().parent().parent().next().css("display","block");
		//jQuery(this).scrollTop()
	}); 
	 
	function megaHoverOver(){
		jQuery(this).find(".sub").show();
		jQuery(this).addClass("activeMega");
	}
	
	function megaHoverOut(){ 
	  jQuery(this).find(".sub").hide(); 
	  jQuery(this).removeClass("activeMega");
	}
	
	
 jQuery("select#COMBO0").change(function () {
          var str = "";
           jQuery("select option:selected").each(function () {
                str +=  jQuery(this).val() + " ";
              });
           jQuery("#colourChooser").removeClass(removeValue);
		   jQuery("#colourChooser").addClass(str);
		   var removeValue = str;
        })
        .change();

 jQuery("select#COMBO1").change(function () {
		var compression= ""							  
           jQuery("select#COMBO1 option:selected").each(function () {
                //compression =  jQuery(this).text().split(" ");
				
				//compression += jQuery(this).text().substring(jQuery(this).text().indexOf(',') + 1 );
				var indexOfSpace = jQuery(this).text().indexOf(" ") + 1;
				compression += jQuery(this).text().substr(indexOfSpace, jQuery(this).text().length );
				//console.log(compression);								 
			});
           jQuery("#compressionChooser").text(compression);
		   
		   //console.log()
        })
        .change();

 jQuery("select#COMBO2").change(function () {
		var compression= ""							  
           jQuery("select#COMBO2 option:selected").each(function () {
                //compression =  jQuery(this).text().split(" ");
				
				//compression += jQuery(this).text().substring(jQuery(this).text().indexOf(',') + 1 );
				var indexOfSpace = jQuery(this).text().indexOf(" ") + 1;
				compression += jQuery(this).text().substr(indexOfSpace, jQuery(this).text().length );
				console.log(compression);								 
			});
           jQuery("#sizeChooser").text(compression);
		   
		   //console.log()
        })
        .change();




	var config = {    
		 sensitivity: 5, // number = sensitivity threshold (must be 1 or higher)    
		 interval: 100, // number = milliseconds for onMouseOver polling interval    
		 over: megaHoverOver, // function = onMouseOver callback (REQUIRED)    
		 timeout: 500, // number = milliseconds delay before onMouseOut    
		 out: megaHoverOut // function = onMouseOut callback (REQUIRED)    
	};
	
	
	jQuery('span.Legend span:last').addClass("lastLegend");
	jQuery('fieldset.createUser').parent().addClass('createUserForm');	

	
	jQuery("ul.mainNav li.products .sub").hide();
	
	jQuery('ul.mainNav li .sub').parent().addClass('hasChildren');
	
	jQuery("ul.mainNav li.hasChildren").hoverIntent(config);
	
//if(jQuery(".focusAd").length > 0){jQuery('.focusAd').cycle({fx: 'fade'})};

if(jQuery('.focusAd').length > 0){jQuery('.focusAd').cycle({fx:'fade', delay: 5000 })};
	
	jQuery('.extraInfo').hide();
	jQuery('.extraInfo').appendTo('.additionalInfoWrapper');
	jQuery('.additionalInfoWrapper .hidden').hide();
	jQuery('.additionalInfoWrapper .hidden').show();
	jQuery('.additionalInfoWrapper .menuBox').parent().addClass('menuBoxImage');
	jQuery('.additionalInfoWrapper .menuBox').parent().parent().addClass('containingImage');
	
	
	function splitVariant(){ 
		if(jQuery("#VariantText").length > 0) {
			var element = jQuery("#VariantText").val().split(" "); 
			//console.log(element[0]);
			jQuery("#colorSelect").append(element[0]);
			jQuery("#compressionSelect").append(element[1] + element[2]);
			jQuery("#sizeSelect").append(element[3] + element[4]);
		}
	};
	
	splitVariant();

        
	//jQuery("a#inline").fancybox({
		//'hideOnContentClick': true
	//});
	

	
	//jQuery('h2.jqModal').colorbox({transition:'fade', speed:500});
	//$("#txtSearch").focusin(function(){
	  //$("#txtSearch").parent().parent().animate({ 
		//width: "270px"
	  //}, 100 );
	  //$("#txtSearch").animate({ 
		//width: "187px"
	//}, 100 );
//});
	//$("#txtSearch").mouseout(function(){
	  //$("#txtSearch").parent().parent().animate({ 
		//width: "216px"
	  //}, 100 );
	  //$("#txtSearch").animate({ 
		//width: "142px"
	//}, 100 );
//});
});


