/************************************************************** 
 * Accessible menu
 * 
 * 
 **************************************************************/
 /**
 * Adds and removes classes to a list of links to allow keyboard accessibility
 *
 * @param string dropDownId
 * @param string hoverClass
 * @param int mouseOffDelay
 */
function dropdown(dropdownId, hoverClass, mouseOffDelay) {
	if(dropdown = document.getElementById(dropdownId)) {
		var listItems = dropdown.getElementsByTagName('li');
		for(var i = 0; i < listItems.length; i++) {
			listItems[i].onmouseover = function() { this.className = addClass(this); }
			listItems[i].onmouseout = function() {
				var that = this;
				setTimeout(function() { that.className = removeClass(that); }, mouseOffDelay);
				this.className = that.className;
			}
			
			var anchor = listItems[i].getElementsByTagName('a');
			anchor = anchor[0];
			anchor.onfocus = function() { tabOn(this.parentNode); }
			anchor.onblur = function() { tabOff(this.parentNode); }
		}
	}
	
	function tabOn(li) {
		if(li.nodeName == 'LI') {
			li.className = addClass(li);
			tabOn(li.parentNode.parentNode);
		}
	}
	
	function tabOff(li) {
		if(li.nodeName == 'LI') {
			li.className = removeClass(li);
			tabOff(li.parentNode.parentNode);
		}
	}
	
	function addClass(li) { return li.className + ' ' + hoverClass; }
	function removeClass(li) { return li.className.replace(hoverClass, ""); }
}
sfHover = function() {
	var sfEls = document.getElementById("mainnav").getElementsByTagName("LI");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			this.className+=(this.className.length>0? " ": "") + "sfhover";
		};
		sfEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp("( ?|^)sfhover\\b"), "");
		};
	}
};
mcAccessible = function() {
	var mcEls = document.getElementById("mainnav").getElementsByTagName("A");
	for (var i=0; i<mcEls.length; i++) {
		mcEls[i].onfocus=function() {
			this.className+=(this.className.length>0? " ": "") + "sffocus"; //a:focus
			this.parentNode.className+=(this.parentNode.className.length>0? " ": "") + "sfhover"; //li < a:focus
			if(this.parentNode.parentNode.parentNode.nodeName == "LI") {
				this.parentNode.parentNode.parentNode.className+=(this.parentNode.parentNode.parentNode.className.length>0? " ": "") + "sfhover"; //li < ul < li < a:focus
				if(this.parentNode.parentNode.parentNode.parentNode.parentNode.nodeName == "LI") {
					this.parentNode.parentNode.parentNode.parentNode.parentNode.className+=(this.parentNode.parentNode.parentNode.parentNode.parentNode.className.length>0? " ": "") + "sfhover"; //li < ul < li < ul < li < a:focus
				}
			}
		};
		mcEls[i].onblur=function() {
			this.className=this.className.replace(new RegExp("( ?|^)sffocus\\b"), "");
			this.parentNode.className=this.parentNode.className.replace(new RegExp("( ?|^)sfhover\\b"), "");
			if(this.parentNode.parentNode.parentNode.nodeName == "LI") {
				this.parentNode.parentNode.parentNode.className=this.parentNode.parentNode.parentNode.className.replace(new RegExp("( ?|^)sfhover\\b"), "");
				if(this.parentNode.parentNode.parentNode.parentNode.parentNode.nodeName == "LI") {
					this.parentNode.parentNode.parentNode.parentNode.parentNode.className=this.parentNode.parentNode.parentNode.parentNode.parentNode.className.replace(new RegExp("( ?|^)sfhover\\b"), "");
				}
			}
		};
	}
};

$( function() {
	dropdown('mainnav', 'hover', 150);
} );

/* Copyright (c) 2009 Michael Manning (actingthemaggot.com) Dual licensed under the MIT (MIT-LICENSE.txt) and GPL (GPL-LICENSE.txt) licenses.*/
(function(A){A.fn.extend({currency:function(B){var C={s:",",d:".",c:2};C=A.extend({},C,B);return this.each(function(){var D=(C.n||A(this).text());D=(typeof D==="number")?D:((/\./.test(D))?parseFloat(D):parseInt(D)),s=D<0?"-":"",i=parseInt(D=Math.abs(+D||0).toFixed(C.c))+"",j=(j=i.length)>3?j%3:0;A(this).text(s+(j?i.substr(0,j)+C.s:"")+i.substr(j).replace(/(\d{3})(?=\d)/g,"$1"+C.s)+(C.c?C.d+Math.abs(D-i).toFixed(C.c).slice(2):""));return this})}})})(jQuery);jQuery.currency=function(){var A=jQuery("<span>").text(arguments[0]).currency(arguments[1]);return A.text()};

function initPayment() {
	var pnID = $('#Form_PaymentForm_page_name_id').attr('value');
	//alert(pnID);

	$('#Form_PaymentForm_Course_Date input').change(function() {
		var course = $('#Form_PaymentForm_Course_Date input:checked').attr('value').replace(/ /g, '_');
		//alert(course);
		$('#Form_PaymentForm_'+pnID).attr('name',pnID+"_("+course+")");
	});

	$('#Form_PaymentForm select.floater').change(function() {
		var changed = $(this).attr('value');
		var array = changed.split(',');
		var finalCost = array[0]* array[1];
		$('#total-amount input').attr('value', '$'+$.currency(finalCost));
	});

	var course = $('#Form_PaymentForm_Course_Date input:checked').attr('value').replace(/ /g, '_');
	//alert(course);
	$('#Form_PaymentForm_'+pnID).attr('name',pnID+"_("+course+")");
	
	
	//Validate the form
	$("#Form_PaymentForm").validate();

};

	/*!
	 * jQuery Cycle Plugin (with Transition Definitions)
	 * Examples and documentation at: http://jquery.malsup.com/cycle/
	 * Copyright (c) 2007-2010 M. Alsup
	 * Version: 2.9995 (09-AUG-2011)
	 * Dual licensed under the MIT and GPL licenses.
	 * http://jquery.malsup.com/license.html
	 * Requires: jQuery v1.3.2 or later
	 */
	(function($,_1){var _2="2.9998";if($.support==_1){$.support={opacity:!($.browser.msie)};}function _3(s){$.fn.cycle.debug&&_4(s);};function _4(){window.console&&console.log&&console.log("[cycle] "+Array.prototype.join.call(arguments," "));};$.expr[":"].paused=function(el){return el.cyclePause;};$.fn.cycle=function(_5,_6){var o={s:this.selector,c:this.context};if(this.length===0&&_5!="stop"){if(!$.isReady&&o.s){_4("DOM not ready, queuing slideshow");$(function(){$(o.s,o.c).cycle(_5,_6);});return this;}_4("terminating; zero elements found by selector"+($.isReady?"":" (DOM not ready)"));return this;}return this.each(function(){var _7=_13(this,_5,_6);if(_7===false){return;}_7.updateActivePagerLink=_7.updateActivePagerLink||$.fn.cycle.updateActivePagerLink;if(this.cycleTimeout){clearTimeout(this.cycleTimeout);}this.cycleTimeout=this.cyclePause=0;var _8=$(this);var _9=_7.slideExpr?$(_7.slideExpr,this):_8.children();var _a=_9.get();var _b=_21(_8,_9,_a,_7,o);if(_b===false){return;}if(_a.length<2){_4("terminating; too few slides: "+_a.length);return;}var _c=_b.continuous?10:_52(_a[_b.currSlide],_a[_b.nextSlide],_b,!_b.backwards);if(_c){_c+=(_b.delay||0);if(_c<10){_c=10;}_3("first timeout: "+_c);this.cycleTimeout=setTimeout(function(){go(_a,_b,0,!_7.backwards);},_c);}});};function _d(_e,_f,_10){var _11=$(_e).data("cycle.opts");var _12=!!_e.cyclePause;if(_12&&_11.paused){_11.paused(_e,_11,_f,_10);}else{if(!_12&&_11.resumed){_11.resumed(_e,_11,_f,_10);}}};function _13(_14,_15,_16){if(_14.cycleStop==_1){_14.cycleStop=0;}if(_15===_1||_15===null){_15={};}if(_15.constructor==String){switch(_15){case "destroy":case "stop":var _17=$(_14).data("cycle.opts");if(!_17){return false;}_14.cycleStop++;if(_14.cycleTimeout){clearTimeout(_14.cycleTimeout);}_14.cycleTimeout=0;_17.elements&&$(_17.elements).stop();$(_14).removeData("cycle.opts");if(_15=="destroy"){_18(_17);}return false;case "toggle":_14.cyclePause=(_14.cyclePause===1)?0:1;_19(_14.cyclePause,_16,_14);_d(_14);return false;case "pause":_14.cyclePause=1;_d(_14);return false;case "resume":_14.cyclePause=0;_19(false,_16,_14);_d(_14);return false;case "prev":case "next":var _17=$(_14).data("cycle.opts");if(!_17){_4("options not found, \"prev/next\" ignored");return false;}$.fn.cycle[_15](_17);return false;default:_15={fx:_15};}return _15;}else{if(_15.constructor==Number){var num=_15;_15=$(_14).data("cycle.opts");if(!_15){_4("options not found, can not advance slide");return false;}if(num<0||num>=_15.elements.length){_4("invalid slide index: "+num);return false;}_15.nextSlide=num;if(_14.cycleTimeout){clearTimeout(_14.cycleTimeout);_14.cycleTimeout=0;}if(typeof _16=="string"){_15.oneTimeFx=_16;}go(_15.elements,_15,1,num>=_15.currSlide);return false;}}return _15;function _19(_1a,_1b,_1c){if(!_1a&&_1b===true){var _1d=$(_1c).data("cycle.opts");if(!_1d){_4("options not found, can not resume");return false;}if(_1c.cycleTimeout){clearTimeout(_1c.cycleTimeout);_1c.cycleTimeout=0;}go(_1d.elements,_1d,1,!_1d.backwards);}};};function _1e(el,_1f){if(!$.support.opacity&&_1f.cleartype&&el.style.filter){try{el.style.removeAttribute("filter");}catch(smother){}}};function _18(_20){if(_20.next){$(_20.next).unbind(_20.prevNextEvent);}if(_20.prev){$(_20.prev).unbind(_20.prevNextEvent);}if(_20.pager||_20.pagerAnchorBuilder){$.each(_20.pagerAnchors||[],function(){this.unbind().remove();});}_20.pagerAnchors=null;if(_20.destroy){_20.destroy(_20);}};function _21(_22,_23,els,_24,o){var _25;var _26=$.extend({},$.fn.cycle.defaults,_24||{},$.metadata?_22.metadata():$.meta?_22.data():{});var _27=$.isFunction(_22.data)?_22.data(_26.metaAttr):null;if(_27){_26=$.extend(_26,_27);}if(_26.autostop){_26.countdown=_26.autostopCount||els.length;}var _28=_22[0];_22.data("cycle.opts",_26);_26.$cont=_22;_26.stopCount=_28.cycleStop;_26.elements=els;_26.before=_26.before?[_26.before]:[];_26.after=_26.after?[_26.after]:[];if(!$.support.opacity&&_26.cleartype){_26.after.push(function(){_1e(this,_26);});}if(_26.continuous){_26.after.push(function(){go(els,_26,0,!_26.backwards);});}_3c(_26);if(!$.support.opacity&&_26.cleartype&&!_26.cleartypeNoBg){_43(_23);}if(_22.css("position")=="static"){_22.css("position","relative");}if(_26.width){_22.width(_26.width);}if(_26.height&&_26.height!="auto"){_22.height(_26.height);}if(_26.startingSlide!=_1){_26.startingSlide=parseInt(_26.startingSlide,10);if(_26.startingSlide>=els.length||_26.startSlide<0){_26.startingSlide=0;}else{_25=true;}}else{if(_26.backwards){_26.startingSlide=els.length-1;}else{_26.startingSlide=0;}}if(_26.random){_26.randomMap=[];for(var i=0;i<els.length;i++){_26.randomMap.push(i);}_26.randomMap.sort(function(a,b){return Math.random()-0.5;});if(_25){for(var cnt=0;cnt<els.length;cnt++){if(_26.startingSlide==_26.randomMap[cnt]){_26.randomIndex=cnt;}}}else{_26.randomIndex=1;_26.startingSlide=_26.randomMap[1];}}else{if(_26.startingSlide>=els.length){_26.startingSlide=0;}}_26.currSlide=_26.startingSlide||0;var _29=_26.startingSlide;_23.css({position:"absolute",top:0,left:0}).hide().each(function(i){var z;if(_26.backwards){z=_29?i<=_29?els.length+(i-_29):_29-i:els.length-i;}else{z=_29?i>=_29?els.length-(i-_29):_29-i:els.length-i;}$(this).css("z-index",z);});$(els[_29]).css("opacity",1).show();_1e(els[_29],_26);if(_26.fit){if(!_26.aspect){if(_26.width){_23.width(_26.width);}if(_26.height&&_26.height!="auto"){_23.height(_26.height);}}else{_23.each(function(){var _2a=$(this);var _2b=(_26.aspect===true)?_2a.width()/_2a.height():_26.aspect;if(_26.width&&_2a.width()!=_26.width){_2a.width(_26.width);_2a.height(_26.width/_2b);}if(_26.height&&_2a.height()<_26.height){_2a.height(_26.height);_2a.width(_26.height*_2b);}});}}if(_26.center&&((!_26.fit)||_26.aspect)){_23.each(function(){var _2c=$(this);_2c.css({"margin-left":_26.width?((_26.width-_2c.width())/2)+"px":0,"margin-top":_26.height?((_26.height-_2c.height())/2)+"px":0});});}if(_26.center&&!_26.fit&&!_26.slideResize){_23.each(function(){var _2d=$(this);_2d.css({"margin-left":_26.width?((_26.width-_2d.width())/2)+"px":0,"margin-top":_26.height?((_26.height-_2d.height())/2)+"px":0});});}var _2e=_26.containerResize&&!_22.innerHeight();if(_2e){var _2f=0,_30=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");}_2f=w>_2f?w:_2f;_30=h>_30?h:_30;}if(_2f>0&&_30>0){_22.css({width:_2f+"px",height:_30+"px"});}}var _31=false;if(_26.pause){_22.hover(function(){_31=true;this.cyclePause++;_d(_28,true);},function(){_31&&this.cyclePause--;_d(_28,true);});}if(_3e(_26)===false){return false;}var _32=false;_24.requeueAttempts=_24.requeueAttempts||0;_23.each(function(){var $el=$(this);this.cycleH=(_26.fit&&_26.height)?_26.height:($el.height()||this.offsetHeight||this.height||$el.attr("height")||0);this.cycleW=(_26.fit&&_26.width)?_26.width:($el.width()||this.offsetWidth||this.width||$el.attr("width")||0);if($el.is("img")){var _33=($.browser.msie&&this.cycleW==28&&this.cycleH==30&&!this.complete);var _34=($.browser.mozilla&&this.cycleW==34&&this.cycleH==19&&!this.complete);var _35=($.browser.opera&&((this.cycleW==42&&this.cycleH==19)||(this.cycleW==37&&this.cycleH==17))&&!this.complete);var _36=(this.cycleH==0&&this.cycleW==0&&!this.complete);if(_33||_34||_35||_36){if(o.s&&_26.requeueOnImageNotLoaded&&++_24.requeueAttempts<100){_4(_24.requeueAttempts," - img slide not loaded, requeuing slideshow: ",this.src,this.cycleW,this.cycleH);setTimeout(function(){$(o.s,o.c).cycle(_24);},_26.requeueTimeout);_32=true;return false;}else{_4("could not determine size of image: "+this.src,this.cycleW,this.cycleH);}}}return true;});if(_32){return false;}_26.cssBefore=_26.cssBefore||{};_26.cssAfter=_26.cssAfter||{};_26.cssFirst=_26.cssFirst||{};_26.animIn=_26.animIn||{};_26.animOut=_26.animOut||{};_23.not(":eq("+_29+")").css(_26.cssBefore);$(_23[_29]).css(_26.cssFirst);if(_26.timeout){_26.timeout=parseInt(_26.timeout,10);if(_26.speed.constructor==String){_26.speed=$.fx.speeds[_26.speed]||parseInt(_26.speed,10);}if(!_26.sync){_26.speed=_26.speed/2;}var _37=_26.fx=="none"?0:_26.fx=="shuffle"?500:250;while((_26.timeout-_26.speed)<_37){_26.timeout+=_26.speed;}}if(_26.easing){_26.easeIn=_26.easeOut=_26.easing;}if(!_26.speedIn){_26.speedIn=_26.speed;}if(!_26.speedOut){_26.speedOut=_26.speed;}_26.slideCount=els.length;_26.currSlide=_26.lastSlide=_29;if(_26.random){if(++_26.randomIndex==els.length){_26.randomIndex=0;}_26.nextSlide=_26.randomMap[_26.randomIndex];}else{if(_26.backwards){_26.nextSlide=_26.startingSlide==0?(els.length-1):_26.startingSlide-1;}else{_26.nextSlide=_26.startingSlide>=(els.length-1)?0:_26.startingSlide+1;}}if(!_26.multiFx){var _38=$.fn.cycle.transitions[_26.fx];if($.isFunction(_38)){_38(_22,_23,_26);}else{if(_26.fx!="custom"&&!_26.multiFx){_4("unknown transition: "+_26.fx,"; slideshow terminating");return false;}}}var e0=_23[_29];if(!_26.skipInitializationCallbacks){if(_26.before.length){_26.before[0].apply(e0,[e0,e0,_26,true]);}if(_26.after.length){_26.after[0].apply(e0,[e0,e0,_26,true]);}}if(_26.next){$(_26.next).bind(_26.prevNextEvent,function(){return _39(_26,1);});}if(_26.prev){$(_26.prev).bind(_26.prevNextEvent,function(){return _39(_26,0);});}if(_26.pager||_26.pagerAnchorBuilder){_3a(els,_26);}_3b(_26,els);return _26;};function _3c(_3d){_3d.original={before:[],after:[]};_3d.original.cssBefore=$.extend({},_3d.cssBefore);_3d.original.cssAfter=$.extend({},_3d.cssAfter);_3d.original.animIn=$.extend({},_3d.animIn);_3d.original.animOut=$.extend({},_3d.animOut);$.each(_3d.before,function(){_3d.original.before.push(this);});$.each(_3d.after,function(){_3d.original.after.push(this);});};function _3e(_3f){var i,tx,txs=$.fn.cycle.transitions;if(_3f.fx.indexOf(",")>0){_3f.multiFx=true;_3f.fxs=_3f.fx.replace(/\s*/g,"").split(",");for(i=0;i<_3f.fxs.length;i++){var fx=_3f.fxs[i];tx=txs[fx];if(!tx||!txs.hasOwnProperty(fx)||!$.isFunction(tx)){_4("discarding unknown transition: ",fx);_3f.fxs.splice(i,1);i--;}}if(!_3f.fxs.length){_4("No valid transitions named; slideshow terminating.");return false;}}else{if(_3f.fx=="all"){_3f.multiFx=true;_3f.fxs=[];for(p in txs){tx=txs[p];if(txs.hasOwnProperty(p)&&$.isFunction(tx)){_3f.fxs.push(p);}}}}if(_3f.multiFx&&_3f.randomizeEffects){var r1=Math.floor(Math.random()*20)+30;for(i=0;i<r1;i++){var r2=Math.floor(Math.random()*_3f.fxs.length);_3f.fxs.push(_3f.fxs.splice(r2,1)[0]);}_3("randomized fx sequence: ",_3f.fxs);}return true;};function _3b(_40,els){_40.addSlide=function(_41,_42){var $s=$(_41),s=$s[0];if(!_40.autostopCount){_40.countdown++;}els[_42?"unshift":"push"](s);if(_40.els){_40.els[_42?"unshift":"push"](s);}_40.slideCount=els.length;if(_40.random){_40.randomMap.push(_40.slideCount-1);_40.randomMap.sort(function(a,b){return Math.random()-0.5;});}$s.css("position","absolute");$s[_42?"prependTo":"appendTo"](_40.$cont);if(_42){_40.currSlide++;_40.nextSlide++;}if(!$.support.opacity&&_40.cleartype&&!_40.cleartypeNoBg){_43($s);}if(_40.fit&&_40.width){$s.width(_40.width);}if(_40.fit&&_40.height&&_40.height!="auto"){$s.height(_40.height);}s.cycleH=(_40.fit&&_40.height)?_40.height:$s.height();s.cycleW=(_40.fit&&_40.width)?_40.width:$s.width();$s.css(_40.cssBefore);if(_40.pager||_40.pagerAnchorBuilder){$.fn.cycle.createPagerAnchor(els.length-1,s,$(_40.pager),els,_40);}if($.isFunction(_40.onAddSlide)){_40.onAddSlide($s);}else{$s.hide();}};};$.fn.cycle.resetState=function(_44,fx){fx=fx||_44.fx;_44.before=[];_44.after=[];_44.cssBefore=$.extend({},_44.original.cssBefore);_44.cssAfter=$.extend({},_44.original.cssAfter);_44.animIn=$.extend({},_44.original.animIn);_44.animOut=$.extend({},_44.original.animOut);_44.fxFn=null;$.each(_44.original.before,function(){_44.before.push(this);});$.each(_44.original.after,function(){_44.after.push(this);});var _45=$.fn.cycle.transitions[fx];if($.isFunction(_45)){_45(_44.$cont,$(_44.elements),_44);}};function go(els,_46,_47,fwd){if(_47&&_46.busy&&_46.manualTrump){_3("manualTrump in go(), stopping active transition");$(els).stop(true,true);_46.busy=0;}if(_46.busy){_3("transition active, ignoring new tx request");return;}var p=_46.$cont[0],_48=els[_46.currSlide],_49=els[_46.nextSlide];if(p.cycleStop!=_46.stopCount||p.cycleTimeout===0&&!_47){return;}if(!_47&&!p.cyclePause&&!_46.bounce&&((_46.autostop&&(--_46.countdown<=0))||(_46.nowrap&&!_46.random&&_46.nextSlide<_46.currSlide))){if(_46.end){_46.end(_46);}return;}var _4a=false;if((_47||!p.cyclePause)&&(_46.nextSlide!=_46.currSlide)){_4a=true;var fx=_46.fx;_48.cycleH=_48.cycleH||$(_48).height();_48.cycleW=_48.cycleW||$(_48).width();_49.cycleH=_49.cycleH||$(_49).height();_49.cycleW=_49.cycleW||$(_49).width();if(_46.multiFx){if(fwd&&(_46.lastFx==_1||++_46.lastFx>=_46.fxs.length)){_46.lastFx=0;}else{if(!fwd&&(_46.lastFx==_1||--_46.lastFx<0)){_46.lastFx=_46.fxs.length-1;}}fx=_46.fxs[_46.lastFx];}if(_46.oneTimeFx){fx=_46.oneTimeFx;_46.oneTimeFx=null;}$.fn.cycle.resetState(_46,fx);if(_46.before.length){$.each(_46.before,function(i,o){if(p.cycleStop!=_46.stopCount){return;}o.apply(_49,[_48,_49,_46,fwd]);});}var _4b=function(){_46.busy=0;$.each(_46.after,function(i,o){if(p.cycleStop!=_46.stopCount){return;}o.apply(_49,[_48,_49,_46,fwd]);});if(!p.cycleStop){_4c();}};_3("tx firing("+fx+"); currSlide: "+_46.currSlide+"; nextSlide: "+_46.nextSlide);_46.busy=1;if(_46.fxFn){_46.fxFn(_48,_49,_46,_4b,fwd,_47&&_46.fastOnEvent);}else{if($.isFunction($.fn.cycle[_46.fx])){$.fn.cycle[_46.fx](_48,_49,_46,_4b,fwd,_47&&_46.fastOnEvent);}else{$.fn.cycle.custom(_48,_49,_46,_4b,fwd,_47&&_46.fastOnEvent);}}}else{_4c();}if(_4a||_46.nextSlide==_46.currSlide){_46.lastSlide=_46.currSlide;if(_46.random){_46.currSlide=_46.nextSlide;if(++_46.randomIndex==els.length){_46.randomIndex=0;_46.randomMap.sort(function(a,b){return Math.random()-0.5;});}_46.nextSlide=_46.randomMap[_46.randomIndex];if(_46.nextSlide==_46.currSlide){_46.nextSlide=(_46.currSlide==_46.slideCount-1)?0:_46.currSlide+1;}}else{if(_46.backwards){var _4d=(_46.nextSlide-1)<0;if(_4d&&_46.bounce){_46.backwards=!_46.backwards;_46.nextSlide=1;_46.currSlide=0;}else{_46.nextSlide=_4d?(els.length-1):_46.nextSlide-1;_46.currSlide=_4d?0:_46.nextSlide+1;}}else{var _4d=(_46.nextSlide+1)==els.length;if(_4d&&_46.bounce){_46.backwards=!_46.backwards;_46.nextSlide=els.length-2;_46.currSlide=els.length-1;}else{_46.nextSlide=_4d?0:_46.nextSlide+1;_46.currSlide=_4d?els.length-1:_46.nextSlide-1;}}}}if(_4a&&_46.pager){_46.updateActivePagerLink(_46.pager,_46.currSlide,_46.activePagerClass);}function _4c(){var ms=0,_4e=_46.timeout;if(_46.timeout&&!_46.continuous){ms=_52(els[_46.currSlide],els[_46.nextSlide],_46,fwd);if(_46.fx=="shuffle"){ms-=_46.speedOut;}}else{if(_46.continuous&&p.cyclePause){ms=10;}}if(ms>0){p.cycleTimeout=setTimeout(function(){go(els,_46,0,!_46.backwards);},ms);}};};$.fn.cycle.updateActivePagerLink=function(_4f,_50,_51){$(_4f).each(function(){$(this).children().removeClass(_51).eq(_50).addClass(_51);});};function _52(_53,_54,_55,fwd){if(_55.timeoutFn){var t=_55.timeoutFn.call(_53,_53,_54,_55,fwd);while(_55.fx!="none"&&(t-_55.speed)<250){t+=_55.speed;}_3("calculated timeout: "+t+"; speed: "+_55.speed);if(t!==false){return t;}}return _55.timeout;};$.fn.cycle.next=function(_56){_39(_56,1);};$.fn.cycle.prev=function(_57){_39(_57,0);};function _39(_58,_59){var val=_59?1:-1;var els=_58.elements;var p=_58.$cont[0],_5a=p.cycleTimeout;if(_5a){clearTimeout(_5a);p.cycleTimeout=0;}if(_58.random&&val<0){_58.randomIndex--;if(--_58.randomIndex==-2){_58.randomIndex=els.length-2;}else{if(_58.randomIndex==-1){_58.randomIndex=els.length-1;}}_58.nextSlide=_58.randomMap[_58.randomIndex];}else{if(_58.random){_58.nextSlide=_58.randomMap[_58.randomIndex];}else{_58.nextSlide=_58.currSlide+val;if(_58.nextSlide<0){if(_58.nowrap){return false;}_58.nextSlide=els.length-1;}else{if(_58.nextSlide>=els.length){if(_58.nowrap){return false;}_58.nextSlide=0;}}}}var cb=_58.onPrevNextEvent||_58.prevNextClick;if($.isFunction(cb)){cb(val>0,_58.nextSlide,els[_58.nextSlide]);}go(els,_58,1,_59);return false;};function _3a(els,_5b){var $p=$(_5b.pager);$.each(els,function(i,o){$.fn.cycle.createPagerAnchor(i,o,$p,els,_5b);});_5b.updateActivePagerLink(_5b.pager,_5b.startingSlide,_5b.activePagerClass);};$.fn.cycle.createPagerAnchor=function(i,el,$p,els,_5c){var a;if($.isFunction(_5c.pagerAnchorBuilder)){a=_5c.pagerAnchorBuilder(i,el);_3("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 _5d=$a.clone(true);$(this).append(_5d);arr.push(_5d[0]);});$a=$(arr);}else{$a.appendTo($p);}}_5c.pagerAnchors=_5c.pagerAnchors||[];_5c.pagerAnchors.push($a);var _5e=function(e){e.preventDefault();_5c.nextSlide=i;var p=_5c.$cont[0],_5f=p.cycleTimeout;if(_5f){clearTimeout(_5f);p.cycleTimeout=0;}var cb=_5c.onPagerEvent||_5c.pagerClick;if($.isFunction(cb)){cb(_5c.nextSlide,els[_5c.nextSlide]);}go(els,_5c,1,_5c.currSlide<i);};if(/mouseenter|mouseover/i.test(_5c.pagerEvent)){$a.hover(_5e,function(){});}else{$a.bind(_5c.pagerEvent,_5e);}if(!/^click/.test(_5c.pagerEvent)&&!_5c.allowPagerClickBubble){$a.bind("click.cycle",function(){return false;});}var _60=_5c.$cont[0];var _61=false;if(_5c.pauseOnPagerHover){$a.hover(function(){_61=true;_60.cyclePause++;_d(_60,true,true);},function(){_61&&_60.cyclePause--;_d(_60,true,true);});}};$.fn.cycle.hopsFromLast=function(_62,fwd){var _63,l=_62.lastSlide,c=_62.currSlide;if(fwd){_63=c>l?c-l:_62.slideCount-l;}else{_63=c<l?l-c:l+_62.slideCount-c;}return _63;};function _43(_64){_3("applying clearType background-color hack");function hex(s){s=parseInt(s,10).toString(16);return s.length<2?"0"+s:s;};function _65(e){for(;e&&e.nodeName.toLowerCase()!="html";e=e.parentNode){var v=$.css(e,"background-color");if(v&&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";};_64.each(function(){$(this).css("background-color",_65(this));});};$.fn.cycle.commonReset=function(_66,_67,_68,w,h,rev){$(_68.elements).not(_66).hide();if(typeof _68.cssBefore.opacity=="undefined"){_68.cssBefore.opacity=1;}_68.cssBefore.display="block";if(_68.slideResize&&w!==false&&_67.cycleW>0){_68.cssBefore.width=_67.cycleW;}if(_68.slideResize&&h!==false&&_67.cycleH>0){_68.cssBefore.height=_67.cycleH;}_68.cssAfter=_68.cssAfter||{};_68.cssAfter.display="none";$(_66).css("zIndex",_68.slideCount+(rev===true?1:0));$(_67).css("zIndex",_68.slideCount+(rev===true?0:1));};$.fn.cycle.custom=function(_69,_6a,_6b,cb,fwd,_6c){var $l=$(_69),$n=$(_6a);var _6d=_6b.speedIn,_6e=_6b.speedOut,_6f=_6b.easeIn,_70=_6b.easeOut;$n.css(_6b.cssBefore);if(_6c){if(typeof _6c=="number"){_6d=_6e=_6c;}else{_6d=_6e=1;}_6f=_70=null;}var fn=function(){$n.animate(_6b.animIn,_6d,_6f,function(){cb();});};$l.animate(_6b.animOut,_6e,_70,function(){$l.css(_6b.cssAfter);if(!_6b.sync){fn();}});if(_6b.sync){fn();}};$.fn.cycle.transitions={fade:function(_71,_72,_73){_72.not(":eq("+_73.currSlide+")").css("opacity",0);_73.before.push(function(_74,_75,_76){$.fn.cycle.commonReset(_74,_75,_76);_76.cssBefore.opacity=0;});_73.animIn={opacity:1};_73.animOut={opacity:0};_73.cssBefore={top:0,left:0};}};$.fn.cycle.ver=function(){return _2;};$.fn.cycle.defaults={activePagerClass:"activeSlide",after:null,allowPagerClickBubble:false,animIn:null,animOut:null,aspect:false,autostop:0,autostopCount:0,backwards:false,before:null,center:null,cleartype:!$.support.opacity,cleartypeNoBg:false,containerResize:1,continuous:0,cssAfter:null,cssBefore:null,delay:0,easeIn:null,easeOut:null,easing:null,end:null,fastOnEvent:0,fit:0,fx:"fade",fxFn:null,height:"auto",manualTrump:true,metaAttr:"cycle",next:null,nowrap:0,onPagerEvent:null,onPrevNextEvent:null,pager:null,pagerAnchorBuilder:null,pagerEvent:"click.cycle",pause:0,pauseOnPagerHover:0,prev:null,prevNextEvent:"click.cycle",random:0,randomizeEffects:1,requeueOnImageNotLoaded:true,requeueTimeout:250,rev:0,shuffle:null,skipInitializationCallbacks:false,slideExpr:null,slideResize:1,speed:1000,speedIn:null,speedOut:null,startingSlide:0,sync:1,timeout:4000,timeoutFn:null,updateActivePagerLink:null,width:null};})(jQuery);(function($){$.fn.cycle.transitions.none=function(_77,_78,_79){_79.fxFn=function(_7a,_7b,_7c,_7d){$(_7b).show();$(_7a).hide();_7d();};};$.fn.cycle.transitions.fadeout=function(_7e,_7f,_80){_7f.not(":eq("+_80.currSlide+")").css({display:"block","opacity":1});_80.before.push(function(_81,_82,_83,w,h,rev){$(_81).css("zIndex",_83.slideCount+(!rev===true?1:0));$(_82).css("zIndex",_83.slideCount+(!rev===true?0:1));});_80.animIn.opacity=1;_80.animOut.opacity=0;_80.cssBefore.opacity=1;_80.cssBefore.display="block";_80.cssAfter.zIndex=0;};$.fn.cycle.transitions.scrollUp=function(_84,_85,_86){_84.css("overflow","hidden");_86.before.push($.fn.cycle.commonReset);var h=_84.height();_86.cssBefore.top=h;_86.cssBefore.left=0;_86.cssFirst.top=0;_86.animIn.top=0;_86.animOut.top=-h;};$.fn.cycle.transitions.scrollDown=function(_87,_88,_89){_87.css("overflow","hidden");_89.before.push($.fn.cycle.commonReset);var h=_87.height();_89.cssFirst.top=0;_89.cssBefore.top=-h;_89.cssBefore.left=0;_89.animIn.top=0;_89.animOut.top=h;};$.fn.cycle.transitions.scrollLeft=function(_8a,_8b,_8c){_8a.css("overflow","hidden");_8c.before.push($.fn.cycle.commonReset);var w=_8a.width();_8c.cssFirst.left=0;_8c.cssBefore.left=w;_8c.cssBefore.top=0;_8c.animIn.left=0;_8c.animOut.left=0-w;};$.fn.cycle.transitions.scrollRight=function(_8d,_8e,_8f){_8d.css("overflow","hidden");_8f.before.push($.fn.cycle.commonReset);var w=_8d.width();_8f.cssFirst.left=0;_8f.cssBefore.left=-w;_8f.cssBefore.top=0;_8f.animIn.left=0;_8f.animOut.left=w;};$.fn.cycle.transitions.scrollHorz=function(_90,_91,_92){_90.css("overflow","hidden").width();_92.before.push(function(_93,_94,_95,fwd){if(_95.rev){fwd=!fwd;}$.fn.cycle.commonReset(_93,_94,_95);_95.cssBefore.left=fwd?(_94.cycleW-1):(1-_94.cycleW);_95.animOut.left=fwd?-_93.cycleW:_93.cycleW;});_92.cssFirst.left=0;_92.cssBefore.top=0;_92.animIn.left=0;_92.animOut.top=0;};$.fn.cycle.transitions.scrollVert=function(_96,_97,_98){_96.css("overflow","hidden");_98.before.push(function(_99,_9a,_9b,fwd){if(_9b.rev){fwd=!fwd;}$.fn.cycle.commonReset(_99,_9a,_9b);_9b.cssBefore.top=fwd?(1-_9a.cycleH):(_9a.cycleH-1);_9b.animOut.top=fwd?_99.cycleH:-_99.cycleH;});_98.cssFirst.top=0;_98.cssBefore.left=0;_98.animIn.top=0;_98.animOut.left=0;};$.fn.cycle.transitions.slideX=function(_9c,_9d,_9e){_9e.before.push(function(_9f,_a0,_a1){$(_a1.elements).not(_9f).hide();$.fn.cycle.commonReset(_9f,_a0,_a1,false,true);_a1.animIn.width=_a0.cycleW;});_9e.cssBefore.left=0;_9e.cssBefore.top=0;_9e.cssBefore.width=0;_9e.animIn.width="show";_9e.animOut.width=0;};$.fn.cycle.transitions.slideY=function(_a2,_a3,_a4){_a4.before.push(function(_a5,_a6,_a7){$(_a7.elements).not(_a5).hide();$.fn.cycle.commonReset(_a5,_a6,_a7,true,false);_a7.animIn.height=_a6.cycleH;});_a4.cssBefore.left=0;_a4.cssBefore.top=0;_a4.cssBefore.height=0;_a4.animIn.height="show";_a4.animOut.height=0;};$.fn.cycle.transitions.shuffle=function(_a8,_a9,_aa){var i,w=_a8.css("overflow","visible").width();_a9.css({left:0,top:0});_aa.before.push(function(_ab,_ac,_ad){$.fn.cycle.commonReset(_ab,_ac,_ad,true,true,true);});if(!_aa.speedAdjusted){_aa.speed=_aa.speed/2;_aa.speedAdjusted=true;}_aa.random=0;_aa.shuffle=_aa.shuffle||{left:-w,top:15};_aa.els=[];for(i=0;i<_a9.length;i++){_aa.els.push(_a9[i]);}for(i=0;i<_aa.currSlide;i++){_aa.els.push(_aa.els.shift());}_aa.fxFn=function(_ae,_af,_b0,cb,fwd){if(_b0.rev){fwd=!fwd;}var $el=fwd?$(_ae):$(_af);$(_af).css(_b0.cssBefore);var _b1=_b0.slideCount;$el.animate(_b0.shuffle,_b0.speedIn,_b0.easeIn,function(){var _b2=$.fn.cycle.hopsFromLast(_b0,fwd);for(var k=0;k<_b2;k++){fwd?_b0.els.push(_b0.els.shift()):_b0.els.unshift(_b0.els.pop());}if(fwd){for(var i=0,len=_b0.els.length;i<len;i++){$(_b0.els[i]).css("z-index",len-i+_b1);}}else{var z=$(_ae).css("z-index");$el.css("z-index",parseInt(z,10)+1+_b1);}$el.animate({left:0,top:0},_b0.speedOut,_b0.easeOut,function(){$(fwd?this:_ae).hide();if(cb){cb();}});});};$.extend(_aa.cssBefore,{display:"block",opacity:1,top:0,left:0});};$.fn.cycle.transitions.turnUp=function(_b3,_b4,_b5){_b5.before.push(function(_b6,_b7,_b8){$.fn.cycle.commonReset(_b6,_b7,_b8,true,false);_b8.cssBefore.top=_b7.cycleH;_b8.animIn.height=_b7.cycleH;_b8.animOut.width=_b7.cycleW;});_b5.cssFirst.top=0;_b5.cssBefore.left=0;_b5.cssBefore.height=0;_b5.animIn.top=0;_b5.animOut.height=0;};$.fn.cycle.transitions.turnDown=function(_b9,_ba,_bb){_bb.before.push(function(_bc,_bd,_be){$.fn.cycle.commonReset(_bc,_bd,_be,true,false);_be.animIn.height=_bd.cycleH;_be.animOut.top=_bc.cycleH;});_bb.cssFirst.top=0;_bb.cssBefore.left=0;_bb.cssBefore.top=0;_bb.cssBefore.height=0;_bb.animOut.height=0;};$.fn.cycle.transitions.turnLeft=function(_bf,_c0,_c1){_c1.before.push(function(_c2,_c3,_c4){$.fn.cycle.commonReset(_c2,_c3,_c4,false,true);_c4.cssBefore.left=_c3.cycleW;_c4.animIn.width=_c3.cycleW;});_c1.cssBefore.top=0;_c1.cssBefore.width=0;_c1.animIn.left=0;_c1.animOut.width=0;};$.fn.cycle.transitions.turnRight=function(_c5,_c6,_c7){_c7.before.push(function(_c8,_c9,_ca){$.fn.cycle.commonReset(_c8,_c9,_ca,false,true);_ca.animIn.width=_c9.cycleW;_ca.animOut.left=_c8.cycleW;});$.extend(_c7.cssBefore,{top:0,left:0,width:0});_c7.animIn.left=0;_c7.animOut.width=0;};$.fn.cycle.transitions.zoom=function(_cb,_cc,_cd){_cd.before.push(function(_ce,_cf,_d0){$.fn.cycle.commonReset(_ce,_cf,_d0,false,false,true);_d0.cssBefore.top=_cf.cycleH/2;_d0.cssBefore.left=_cf.cycleW/2;$.extend(_d0.animIn,{top:0,left:0,width:_cf.cycleW,height:_cf.cycleH});$.extend(_d0.animOut,{width:0,height:0,top:_ce.cycleH/2,left:_ce.cycleW/2});});_cd.cssFirst.top=0;_cd.cssFirst.left=0;_cd.cssBefore.width=0;_cd.cssBefore.height=0;};$.fn.cycle.transitions.fadeZoom=function(_d1,_d2,_d3){_d3.before.push(function(_d4,_d5,_d6){$.fn.cycle.commonReset(_d4,_d5,_d6,false,false);_d6.cssBefore.left=_d5.cycleW/2;_d6.cssBefore.top=_d5.cycleH/2;$.extend(_d6.animIn,{top:0,left:0,width:_d5.cycleW,height:_d5.cycleH});});_d3.cssBefore.width=0;_d3.cssBefore.height=0;_d3.animOut.opacity=0;};$.fn.cycle.transitions.blindX=function(_d7,_d8,_d9){var w=_d7.css("overflow","hidden").width();_d9.before.push(function(_da,_db,_dc){$.fn.cycle.commonReset(_da,_db,_dc);_dc.animIn.width=_db.cycleW;_dc.animOut.left=_da.cycleW;});_d9.cssBefore.left=w;_d9.cssBefore.top=0;_d9.animIn.left=0;_d9.animOut.left=w;};$.fn.cycle.transitions.blindY=function(_dd,_de,_df){var h=_dd.css("overflow","hidden").height();_df.before.push(function(_e0,_e1,_e2){$.fn.cycle.commonReset(_e0,_e1,_e2);_e2.animIn.height=_e1.cycleH;_e2.animOut.top=_e0.cycleH;});_df.cssBefore.top=h;_df.cssBefore.left=0;_df.animIn.top=0;_df.animOut.top=h;};$.fn.cycle.transitions.blindZ=function(_e3,_e4,_e5){var h=_e3.css("overflow","hidden").height();var w=_e3.width();_e5.before.push(function(_e6,_e7,_e8){$.fn.cycle.commonReset(_e6,_e7,_e8);_e8.animIn.height=_e7.cycleH;_e8.animOut.top=_e6.cycleH;});_e5.cssBefore.top=h;_e5.cssBefore.left=w;_e5.animIn.top=0;_e5.animIn.left=0;_e5.animOut.top=h;_e5.animOut.left=w;};$.fn.cycle.transitions.growX=function(_e9,_ea,_eb){_eb.before.push(function(_ec,_ed,_ee){$.fn.cycle.commonReset(_ec,_ed,_ee,false,true);_ee.cssBefore.left=this.cycleW/2;_ee.animIn.left=0;_ee.animIn.width=this.cycleW;_ee.animOut.left=0;});_eb.cssBefore.top=0;_eb.cssBefore.width=0;};$.fn.cycle.transitions.growY=function(_ef,_f0,_f1){_f1.before.push(function(_f2,_f3,_f4){$.fn.cycle.commonReset(_f2,_f3,_f4,true,false);_f4.cssBefore.top=this.cycleH/2;_f4.animIn.top=0;_f4.animIn.height=this.cycleH;_f4.animOut.top=0;});_f1.cssBefore.height=0;_f1.cssBefore.left=0;};$.fn.cycle.transitions.curtainX=function(_f5,_f6,_f7){_f7.before.push(function(_f8,_f9,_fa){$.fn.cycle.commonReset(_f8,_f9,_fa,false,true,true);_fa.cssBefore.left=_f9.cycleW/2;_fa.animIn.left=0;_fa.animIn.width=this.cycleW;_fa.animOut.left=_f8.cycleW/2;_fa.animOut.width=0;});_f7.cssBefore.top=0;_f7.cssBefore.width=0;};$.fn.cycle.transitions.curtainY=function(_fb,_fc,_fd){_fd.before.push(function(_fe,_ff,opts){$.fn.cycle.commonReset(_fe,_ff,opts,true,false,true);opts.cssBefore.top=_ff.cycleH/2;opts.animIn.top=0;opts.animIn.height=_ff.cycleH;opts.animOut.top=_fe.cycleH/2;opts.animOut.height=0;});_fd.cssBefore.height=0;_fd.cssBefore.left=0;};$.fn.cycle.transitions.cover=function(_100,_101,opts){var d=opts.direction||"left";var w=_100.css("overflow","hidden").width();var h=_100.height();opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts);if(d=="right"){opts.cssBefore.left=-w;}else{if(d=="up"){opts.cssBefore.top=h;}else{if(d=="down"){opts.cssBefore.top=-h;}else{opts.cssBefore.left=w;}}}});opts.animIn.left=0;opts.animIn.top=0;opts.cssBefore.top=0;opts.cssBefore.left=0;};$.fn.cycle.transitions.uncover=function(_102,_103,opts){var d=opts.direction||"left";var w=_102.css("overflow","hidden").width();var h=_102.height();opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,true,true,true);if(d=="right"){opts.animOut.left=w;}else{if(d=="up"){opts.animOut.top=-h;}else{if(d=="down"){opts.animOut.top=h;}else{opts.animOut.left=-w;}}}});opts.animIn.left=0;opts.animIn.top=0;opts.cssBefore.top=0;opts.cssBefore.left=0;};$.fn.cycle.transitions.toss=function(_104,_105,opts){var w=_104.css("overflow","visible").width();var h=_104.height();opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,true,true,true);if(!opts.animOut.left&&!opts.animOut.top){$.extend(opts.animOut,{left:w*2,top:-h/2,opacity:0});}else{opts.animOut.opacity=0;}});opts.cssBefore.left=0;opts.cssBefore.top=0;opts.animIn.left=0;};$.fn.cycle.transitions.wipe=function(_106,_107,opts){var w=_106.css("overflow","hidden").width();var h=_106.height();opts.cssBefore=opts.cssBefore||{};var clip;if(opts.clip){if(/l2r/.test(opts.clip)){clip="rect(0px 0px "+h+"px 0px)";}else{if(/r2l/.test(opts.clip)){clip="rect(0px "+w+"px "+h+"px "+w+"px)";}else{if(/t2b/.test(opts.clip)){clip="rect(0px "+w+"px 0px 0px)";}else{if(/b2t/.test(opts.clip)){clip="rect("+h+"px "+w+"px "+h+"px 0px)";}else{if(/zoom/.test(opts.clip)){var top=parseInt(h/2,10);var left=parseInt(w/2,10);clip="rect("+top+"px "+left+"px "+top+"px "+left+"px)";}}}}}}opts.cssBefore.clip=opts.cssBefore.clip||clip||"rect(0px 0px 0px 0px)";var d=opts.cssBefore.clip.match(/(\d+)/g);var t=parseInt(d[0],10),r=parseInt(d[1],10),b=parseInt(d[2],10),l=parseInt(d[3],10);opts.before.push(function(curr,next,opts){if(curr==next){return;}var _108=$(curr),_109=$(next);$.fn.cycle.commonReset(curr,next,opts,true,true,false);opts.cssAfter.display="block";var step=1,_10a=parseInt((opts.speedIn/13),10)-1;(function f(){var tt=t?t-parseInt(step*(t/_10a),10):0;var ll=l?l-parseInt(step*(l/_10a),10):0;var bb=b<h?b+parseInt(step*((h-b)/_10a||1),10):h;var rr=r<w?r+parseInt(step*((w-r)/_10a||1),10):w;_109.css({clip:"rect("+tt+"px "+rr+"px "+bb+"px "+ll+"px)"});(step++<=_10a)?setTimeout(f,13):_108.css("display","none");})();});$.extend(opts.cssBefore,{display:"block",opacity:1,top:0,left:0});opts.animIn={left:0};opts.animOut={left:0};};})(jQuery);

	/*
	 * Cycle the header images
	 */
	function initCycle() {
		$('#home-news').append('<div id="cycle"><span id="pager"></span></div>'); 
		$('#home-news').cycle({
			fx:			'fade', // name of transition effect (or comma separated names, ex: 'fade,scrollUp,shuffle')
			timeout:	 7000,  // milliseconds between slide transitions (0 to disable auto advance) 
			speed:		'slow',  // speed of the transition (any valid fx speed value)			
			pager:		'#cycle #pager',  // selector for element to use as pager container
			pagerEvent: 'mouseover,click.cycle',
			manualTrump: 0,
			slideExpr: 	'.home-news',
			pause:		 true
		});
	}


