

// Bug squish for AddThis button, which puts an extra div at the top of the page on first load

var addthis_config = {
data_use_flash: false
}
try {
 document.execCommand('BackgroundImageCache', false, true);
} catch(e) {}

function googleAnalytics() {
	var A=(("https:"==document.location.protocol)?"https://ssl.":"http://www.");
	$.getScript(A+"google-analytics.com/ga.js",function(){
	try{
	var B=_gat._getTracker("UA-13077259-1");
	B._trackPageview()}catch(C){}
	filetypes=/\.doc$|\.xls$|\.exe$|\.zip$|\.pdf$|\.mp3$|\.psd$/i;
	$("a").live("click",function(){
	if($(this).attr("href").match(/^mailto\:/i)){
	var D=$(this).attr("href").replace(/^mailto\:/i,"");
	B._trackEvent("Internal", "Click", D)}
	else{if(location.host!=this.host.replace(/\:80$/i,"")){
	var D=$(this).attr("href").replace(/^http\:\/\/(www\.)*/i,"");
	B._trackEvent("External", "Click", D)}
	else{if($(this).attr("href").match(filetypes)){
	var E=location.host.replace(/\./,"\\.");
	var F=new RegExp("^(http://)*(www.)*("+E+")*/","i");
	var D=$(this).attr("href").replace(F,"");
	B._trackEvent("Downloads", "Click", D)
	}
	}}})})
}



// Site-wide Navigation effect

function fadeEffect() {
	$('.fadeEffect li').removeClass('hover');
	$('.fadeEffect li a.fade')
	.css({opacity: 1.0})
	.mouseover(function() {
						$(this).stop().animate(
											   { opacity: 0.0}
											   , 300);
						})
	.mouseout(function() {
					   $(this).stop().animate(
											  { opacity: 1.0}
											  , 1000);
					   })
}

(function($) {
	/*
		jquery.twitter.js v1.5
		Last updated: 08 July 2009

		Created by Damien du Toit
		http://coda.co.za/blog/2008/10/26/jquery-plugin-for-twitter

		Licensed under a Creative Commons Attribution-Non-Commercial 3.0 Unported License
		http://creativecommons.org/licenses/by-nc/3.0/
	*/

	$.fn.getTwitter = function(options) {

		$.fn.getTwitter.defaults = {
			userName: 'liveevolution',
			numTweets: 1,
			slideIn: true,
			slideDuration: 250,
			showProfileLink: false,
			showTimestamp: true
		};

		var o = $.extend({}, $.fn.getTwitter.defaults, options);

		return this.each(function() {
			var c = $(this);

			// hide container element, remove alternative content, and add class
			c.hide().empty().addClass("twitted");

			

			// add twitter list to container element
			var twitterListHTML = "<ul id=\"twitter_update_list\"><li></li></ul>";
			c.append(twitterListHTML);

			var tl = $("#twitter_update_list");

			// hide twitter list
			tl.hide();


			// add Twitter profile link to container element
			if (o.showProfileLink) {
				var profileLinkHTML = "<p class=\"profileLink\"><a href=\"http://twitter.com/"+o.userName+"\">http://twitter.com/"+o.userName+"</a></p>";
				c.append(profileLinkHTML);
			}

			

			$.getScript("http://twitter.com/javascripts/blogger.js");
			$.getScript("http://twitter.com/statuses/user_timeline/"+o.userName+".json?callback=twitterCallback2&count="+o.numTweets, function() {
	

				// remove timestamp and move to title of list item
				if (!o.showTimestamp) {
					tl.find("li").each(function() {
						var timestampHTML = $(this).children("a");
						var timestamp = timestampHTML.html();
						timestampHTML.remove();
						$(this).attr("title", timestamp);
					});
				}
				
			

					tl.show();
				// fade in the container element
					c.css("opacity", 1).fadeIn(1500);
	
			});
		});
	};
})(jQuery);


/*
 * jQuery validation plug-in 1.5.5
 *
 * http://bassistance.de/jquery-plugins/jquery-plugin-validation/
 * http://docs.jquery.com/Plugins/Validation
 *
 * Copyright (c) 2006 - 2008 Jörn Zaefferer
 *
 * $Id: jquery.validate.js 6403 2009-06-17 14:27:16Z joern.zaefferer $
 *
 * Dual licensed under the MIT and GPL licenses:
 *   http://www.opensource.org/licenses/mit-license.php
 *   http://www.gnu.org/licenses/gpl.html
 */
(function($){$.extend($.fn,{validate:function(options){if(!this.length){options&&options.debug&&window.console&&console.warn("nothing selected, can't validate, returning nothing");return;}var validator=$.data(this[0],'validator');if(validator){return validator;}validator=new $.validator(options,this[0]);$.data(this[0],'validator',validator);if(validator.settings.onsubmit){this.find("input, button").filter(".cancel").click(function(){validator.cancelSubmit=true;});if(validator.settings.submitHandler){this.find("input, button").filter(":submit").click(function(){validator.submitButton=this;});}this.submit(function(event){if(validator.settings.debug)event.preventDefault();function handle(){if(validator.settings.submitHandler){if(validator.submitButton){var hidden=$("<input type='hidden'/>").attr("name",validator.submitButton.name).val(validator.submitButton.value).appendTo(validator.currentForm);}validator.settings.submitHandler.call(validator,validator.currentForm);if(validator.submitButton){hidden.remove();}return false;}return true;}if(validator.cancelSubmit){validator.cancelSubmit=false;return handle();}if(validator.form()){if(validator.pendingRequest){validator.formSubmitted=true;return false;}return handle();}else{validator.focusInvalid();return false;}});}return validator;},valid:function(){if($(this[0]).is('form')){return this.validate().form();}else{var valid=true;var validator=$(this[0].form).validate();this.each(function(){valid&=validator.element(this);});return valid;}},removeAttrs:function(attributes){var result={},$element=this;$.each(attributes.split(/\s/),function(index,value){result[value]=$element.attr(value);$element.removeAttr(value);});return result;},rules:function(command,argument){var element=this[0];if(command){var settings=$.data(element.form,'validator').settings;var staticRules=settings.rules;var existingRules=$.validator.staticRules(element);switch(command){case"add":$.extend(existingRules,$.validator.normalizeRule(argument));staticRules[element.name]=existingRules;if(argument.messages)settings.messages[element.name]=$.extend(settings.messages[element.name],argument.messages);break;case"remove":if(!argument){delete staticRules[element.name];return existingRules;}var filtered={};$.each(argument.split(/\s/),function(index,method){filtered[method]=existingRules[method];delete existingRules[method];});return filtered;}}var data=$.validator.normalizeRules($.extend({},$.validator.metadataRules(element),$.validator.classRules(element),$.validator.attributeRules(element),$.validator.staticRules(element)),element);if(data.required){var param=data.required;delete data.required;data=$.extend({required:param},data);}return data;}});$.extend($.expr[":"],{blank:function(a){return!$.trim(a.value);},filled:function(a){return!!$.trim(a.value);},unchecked:function(a){return!a.checked;}});$.validator=function(options,form){this.settings=$.extend({},$.validator.defaults,options);this.currentForm=form;this.init();};$.validator.format=function(source,params){if(arguments.length==1)return function(){var args=$.makeArray(arguments);args.unshift(source);return $.validator.format.apply(this,args);};if(arguments.length>2&&params.constructor!=Array){params=$.makeArray(arguments).slice(1);}if(params.constructor!=Array){params=[params];}$.each(params,function(i,n){source=source.replace(new RegExp("\\{"+i+"\\}","g"),n);});return source;};$.extend($.validator,{defaults:{messages:{},groups:{},rules:{},errorClass:"error",validClass:"valid",errorElement:"label",focusInvalid:true,errorContainer:$([]),errorLabelContainer:$([]),onsubmit:true,ignore:[],ignoreTitle:false,onfocusin:function(element){this.lastActive=element;if(this.settings.focusCleanup&&!this.blockFocusCleanup){this.settings.unhighlight&&this.settings.unhighlight.call(this,element,this.settings.errorClass,this.settings.validClass);this.errorsFor(element).hide();}},onfocusout:function(element){if(!this.checkable(element)&&(element.name in this.submitted||!this.optional(element))){this.element(element);}},onkeyup:function(element){if(element.name in this.submitted||element==this.lastElement){this.element(element);}},onclick:function(element){if(element.name in this.submitted)this.element(element);},highlight:function(element,errorClass,validClass){$(element).addClass(errorClass).removeClass(validClass);},unhighlight:function(element,errorClass,validClass){$(element).removeClass(errorClass).addClass(validClass);}},setDefaults:function(settings){$.extend($.validator.defaults,settings);},messages:{required:"Please put something here",remote:"Please fix this field",email:"Please enter a valid email address",url:"Please enter a valid URL",date:"Please enter a valid date",dateISO:"Please enter a valid date (ISO)",dateDE:"Bitte geben Sie ein gültiges Datum ein.",number:"Please enter a valid number",numberDE:"Bitte geben Sie eine Nummer ein",digits:"Please enter only digits",creditcard:"Please enter a valid credit card number",equalTo:"Please enter the same value again",accept:"Please enter a value with a valid extension",maxlength:$.validator.format("Please enter no more than {0} characters"),minlength:$.validator.format("Please enter at least {0} characters"),rangelength:$.validator.format("Please enter a value between {0} and {1} characters long"),range:$.validator.format("Please enter a value between {0} and {1}."),max:$.validator.format("Please enter a value less than or equal to {0}."),min:$.validator.format("Please enter a value greater than or equal to {0}")},autoCreateRanges:false,prototype:{init:function(){this.labelContainer=$(this.settings.errorLabelContainer);this.errorContext=this.labelContainer.length&&this.labelContainer||$(this.currentForm);this.containers=$(this.settings.errorContainer).add(this.settings.errorLabelContainer);this.submitted={};this.valueCache={};this.pendingRequest=0;this.pending={};this.invalid={};this.reset();var groups=(this.groups={});$.each(this.settings.groups,function(key,value){$.each(value.split(/\s/),function(index,name){groups[name]=key;});});var rules=this.settings.rules;$.each(rules,function(key,value){rules[key]=$.validator.normalizeRule(value);});function delegate(event){var validator=$.data(this[0].form,"validator");validator.settings["on"+event.type]&&validator.settings["on"+event.type].call(validator,this[0]);}$(this.currentForm).delegate("focusin focusout keyup",":text, :password, :file, select, textarea",delegate).delegate("click",":radio, :checkbox",delegate);if(this.settings.invalidHandler)$(this.currentForm).bind("invalid-form.validate",this.settings.invalidHandler);},form:function(){this.checkForm();$.extend(this.submitted,this.errorMap);this.invalid=$.extend({},this.errorMap);if(!this.valid())$(this.currentForm).triggerHandler("invalid-form",[this]);this.showErrors();return this.valid();},checkForm:function(){this.prepareForm();for(var i=0,elements=(this.currentElements=this.elements());elements[i];i++){this.check(elements[i]);}return this.valid();},element:function(element){element=this.clean(element);this.lastElement=element;this.prepareElement(element);this.currentElements=$(element);var result=this.check(element);if(result){delete this.invalid[element.name];}else{this.invalid[element.name]=true;}if(!this.numberOfInvalids()){this.toHide=this.toHide.add(this.containers);}this.showErrors();return result;},showErrors:function(errors){if(errors){$.extend(this.errorMap,errors);this.errorList=[];for(var name in errors){this.errorList.push({message:errors[name],element:this.findByName(name)[0]});}this.successList=$.grep(this.successList,function(element){return!(element.name in errors);});}this.settings.showErrors?this.settings.showErrors.call(this,this.errorMap,this.errorList):this.defaultShowErrors();},resetForm:function(){if($.fn.resetForm)$(this.currentForm).resetForm();this.submitted={};this.prepareForm();this.hideErrors();this.elements().removeClass(this.settings.errorClass);},numberOfInvalids:function(){return this.objectLength(this.invalid);},objectLength:function(obj){var count=0;for(var i in obj)count++;return count;},hideErrors:function(){this.addWrapper(this.toHide).hide();},valid:function(){return this.size()==0;},size:function(){return this.errorList.length;},focusInvalid:function(){if(this.settings.focusInvalid){try{$(this.findLastActive()||this.errorList.length&&this.errorList[0].element||[]).filter(":visible").focus();}catch(e){}}},findLastActive:function(){var lastActive=this.lastActive;return lastActive&&$.grep(this.errorList,function(n){return n.element.name==lastActive.name;}).length==1&&lastActive;},elements:function(){var validator=this,rulesCache={};return $([]).add(this.currentForm.elements).filter(":input").not(":submit, :reset, :image, [disabled]").not(this.settings.ignore).filter(function(){!this.name&&validator.settings.debug&&window.console&&console.error("%o has no name assigned",this);if(this.name in rulesCache||!validator.objectLength($(this).rules()))return false;rulesCache[this.name]=true;return true;});},clean:function(selector){return $(selector)[0];},errors:function(){return $(this.settings.errorElement+"."+this.settings.errorClass,this.errorContext);},reset:function(){this.successList=[];this.errorList=[];this.errorMap={};this.toShow=$([]);this.toHide=$([]);this.formSubmitted=false;this.currentElements=$([]);},prepareForm:function(){this.reset();this.toHide=this.errors().add(this.containers);},prepareElement:function(element){this.reset();this.toHide=this.errorsFor(element);},check:function(element){element=this.clean(element);if(this.checkable(element)){element=this.findByName(element.name)[0];}var rules=$(element).rules();var dependencyMismatch=false;for(method in rules){var rule={method:method,parameters:rules[method]};try{var result=$.validator.methods[method].call(this,element.value.replace(/\r/g,""),element,rule.parameters);if(result=="dependency-mismatch"){dependencyMismatch=true;continue;}dependencyMismatch=false;if(result=="pending"){this.toHide=this.toHide.not(this.errorsFor(element));return;}if(!result){this.formatAndAdd(element,rule);return false;}}catch(e){this.settings.debug&&window.console&&console.log("exception occured when checking element "+element.id
+", check the '"+rule.method+"' method");throw e;}}if(dependencyMismatch)return;if(this.objectLength(rules))this.successList.push(element);return true;},customMetaMessage:function(element,method){if(!$.metadata)return;var meta=this.settings.meta?$(element).metadata()[this.settings.meta]:$(element).metadata();return meta&&meta.messages&&meta.messages[method];},customMessage:function(name,method){var m=this.settings.messages[name];return m&&(m.constructor==String?m:m[method]);},findDefined:function(){for(var i=0;i<arguments.length;i++){if(arguments[i]!==undefined)return arguments[i];}return undefined;},defaultMessage:function(element,method){return this.findDefined(this.customMessage(element.name,method),this.customMetaMessage(element,method),!this.settings.ignoreTitle&&element.title||undefined,$.validator.messages[method],"<strong>Warning: No message defined for "+element.name+"</strong>");},formatAndAdd:function(element,rule){var message=this.defaultMessage(element,rule.method);if(typeof message=="function")message=message.call(this,rule.parameters,element);this.errorList.push({message:message,element:element});this.errorMap[element.name]=message;this.submitted[element.name]=message;},addWrapper:function(toToggle){if(this.settings.wrapper)toToggle=toToggle.add(toToggle.parent(this.settings.wrapper));return toToggle;},defaultShowErrors:function(){for(var i=0;this.errorList[i];i++){var error=this.errorList[i];this.settings.highlight&&this.settings.highlight.call(this,error.element,this.settings.errorClass,this.settings.validClass);this.showLabel(error.element,error.message);}if(this.errorList.length){this.toShow=this.toShow.add(this.containers);}if(this.settings.success){for(var i=0;this.successList[i];i++){this.showLabel(this.successList[i]);}}if(this.settings.unhighlight){for(var i=0,elements=this.validElements();elements[i];i++){this.settings.unhighlight.call(this,elements[i],this.settings.errorClass,this.settings.validClass);}}this.toHide=this.toHide.not(this.toShow);this.hideErrors();this.addWrapper(this.toShow).show();},validElements:function(){return this.currentElements.not(this.invalidElements());},invalidElements:function(){return $(this.errorList).map(function(){return this.element;});},showLabel:function(element,message){var label=this.errorsFor(element);if(label.length){label.removeClass().addClass(this.settings.errorClass);label.attr("generated")&&label.html(message);}else{label=$("<"+this.settings.errorElement+"/>").attr({"for":this.idOrName(element),generated:true}).addClass(this.settings.errorClass).html(message||"");if(this.settings.wrapper){label=label.hide().show().wrap("<"+this.settings.wrapper+"/>").parent();}if(!this.labelContainer.append(label).length)this.settings.errorPlacement?this.settings.errorPlacement(label,$(element)):label.insertAfter(element);}if(!message&&this.settings.success){label.text("");typeof this.settings.success=="string"?label.addClass(this.settings.success):this.settings.success(label);}this.toShow=this.toShow.add(label);},errorsFor:function(element){return this.errors().filter("[for='"+this.idOrName(element)+"']");},idOrName:function(element){return this.groups[element.name]||(this.checkable(element)?element.name:element.id||element.name);},checkable:function(element){return/radio|checkbox/i.test(element.type);},findByName:function(name){var form=this.currentForm;return $(document.getElementsByName(name)).map(function(index,element){return element.form==form&&element.name==name&&element||null;});},getLength:function(value,element){switch(element.nodeName.toLowerCase()){case'select':return $("option:selected",element).length;case'input':if(this.checkable(element))return this.findByName(element.name).filter(':checked').length;}return value.length;},depend:function(param,element){return this.dependTypes[typeof param]?this.dependTypes[typeof param](param,element):true;},dependTypes:{"boolean":function(param,element){return param;},"string":function(param,element){return!!$(param,element.form).length;},"function":function(param,element){return param(element);}},optional:function(element){return!$.validator.methods.required.call(this,$.trim(element.value),element)&&"dependency-mismatch";},startRequest:function(element){if(!this.pending[element.name]){this.pendingRequest++;this.pending[element.name]=true;}},stopRequest:function(element,valid){this.pendingRequest--;if(this.pendingRequest<0)this.pendingRequest=0;delete this.pending[element.name];if(valid&&this.pendingRequest==0&&this.formSubmitted&&this.form()){$(this.currentForm).submit();}else if(!valid&&this.pendingRequest==0&&this.formSubmitted){$(this.currentForm).triggerHandler("invalid-form",[this]);}},previousValue:function(element){return $.data(element,"previousValue")||$.data(element,"previousValue",previous={old:null,valid:true,message:this.defaultMessage(element,"remote")});}},classRuleSettings:{required:{required:true},email:{email:true},url:{url:true},date:{date:true},dateISO:{dateISO:true},dateDE:{dateDE:true},number:{number:true},numberDE:{numberDE:true},digits:{digits:true},creditcard:{creditcard:true}},addClassRules:function(className,rules){className.constructor==String?this.classRuleSettings[className]=rules:$.extend(this.classRuleSettings,className);},classRules:function(element){var rules={};var classes=$(element).attr('class');classes&&$.each(classes.split(' '),function(){if(this in $.validator.classRuleSettings){$.extend(rules,$.validator.classRuleSettings[this]);}});return rules;},attributeRules:function(element){var rules={};var $element=$(element);for(method in $.validator.methods){var value=$element.attr(method);if(value){rules[method]=value;}}if(rules.maxlength&&/-1|2147483647|524288/.test(rules.maxlength)){delete rules.maxlength;}return rules;},metadataRules:function(element){if(!$.metadata)return{};var meta=$.data(element.form,'validator').settings.meta;return meta?$(element).metadata()[meta]:$(element).metadata();},staticRules:function(element){var rules={};var validator=$.data(element.form,'validator');if(validator.settings.rules){rules=$.validator.normalizeRule(validator.settings.rules[element.name])||{};}return rules;},normalizeRules:function(rules,element){$.each(rules,function(prop,val){if(val===false){delete rules[prop];return;}if(val.param||val.depends){var keepRule=true;switch(typeof val.depends){case"string":keepRule=!!$(val.depends,element.form).length;break;case"function":keepRule=val.depends.call(element,element);break;}if(keepRule){rules[prop]=val.param!==undefined?val.param:true;}else{delete rules[prop];}}});$.each(rules,function(rule,parameter){rules[rule]=$.isFunction(parameter)?parameter(element):parameter;});$.each(['minlength','maxlength','min','max'],function(){if(rules[this]){rules[this]=Number(rules[this]);}});$.each(['rangelength','range'],function(){if(rules[this]){rules[this]=[Number(rules[this][0]),Number(rules[this][1])];}});if($.validator.autoCreateRanges){if(rules.min&&rules.max){rules.range=[rules.min,rules.max];delete rules.min;delete rules.max;}if(rules.minlength&&rules.maxlength){rules.rangelength=[rules.minlength,rules.maxlength];delete rules.minlength;delete rules.maxlength;}}if(rules.messages){delete rules.messages}return rules;},normalizeRule:function(data){if(typeof data=="string"){var transformed={};$.each(data.split(/\s/),function(){transformed[this]=true;});data=transformed;}return data;},addMethod:function(name,method,message){$.validator.methods[name]=method;$.validator.messages[name]=message||$.validator.messages[name];if(method.length<3){$.validator.addClassRules(name,$.validator.normalizeRule(name));}},methods:{required:function(value,element,param){if(!this.depend(param,element))return"dependency-mismatch";switch(element.nodeName.toLowerCase()){case'select':var options=$("option:selected",element);return options.length>0&&(element.type=="select-multiple"||($.browser.msie&&!(options[0].attributes['value'].specified)?options[0].text:options[0].value).length>0);case'input':if(this.checkable(element))return this.getLength(value,element)>0;default:return $.trim(value).length>0;}},remote:function(value,element,param){if(this.optional(element))return"dependency-mismatch";var previous=this.previousValue(element);if(!this.settings.messages[element.name])this.settings.messages[element.name]={};this.settings.messages[element.name].remote=typeof previous.message=="function"?previous.message(value):previous.message;param=typeof param=="string"&&{url:param}||param;if(previous.old!==value){previous.old=value;var validator=this;this.startRequest(element);var data={};data[element.name]=value;$.ajax($.extend(true,{url:param,mode:"abort",port:"validate"+element.name,dataType:"json",data:data,success:function(response){var valid=response===true;if(valid){var submitted=validator.formSubmitted;validator.prepareElement(element);validator.formSubmitted=submitted;validator.successList.push(element);validator.showErrors();}else{var errors={};errors[element.name]=previous.message=response||validator.defaultMessage(element,"remote");validator.showErrors(errors);}previous.valid=valid;validator.stopRequest(element,valid);}},param));return"pending";}else if(this.pending[element.name]){return"pending";}return previous.valid;},minlength:function(value,element,param){return this.optional(element)||this.getLength($.trim(value),element)>=param;},maxlength:function(value,element,param){return this.optional(element)||this.getLength($.trim(value),element)<=param;},rangelength:function(value,element,param){var length=this.getLength($.trim(value),element);return this.optional(element)||(length>=param[0]&&length<=param[1]);},min:function(value,element,param){return this.optional(element)||value>=param;},max:function(value,element,param){return this.optional(element)||value<=param;},range:function(value,element,param){return this.optional(element)||(value>=param[0]&&value<=param[1]);},email:function(value,element){return this.optional(element)||/^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?$/i.test(value);},url:function(value,element){return this.optional(element)||/^(https?|ftp):\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i.test(value);},date:function(value,element){return this.optional(element)||!/Invalid|NaN/.test(new Date(value));},dateISO:function(value,element){return this.optional(element)||/^\d{4}[\/-]\d{1,2}[\/-]\d{1,2}$/.test(value);},dateDE:function(value,element){return this.optional(element)||/^\d\d?\.\d\d?\.\d\d\d?\d?$/.test(value);},number:function(value,element){return this.optional(element)||/^-?(?:\d+|\d{1,3}(?:,\d{3})+)(?:\.\d+)?$/.test(value);},numberDE:function(value,element){return this.optional(element)||/^-?(?:\d+|\d{1,3}(?:\.\d{3})+)(?:,\d+)?$/.test(value);},digits:function(value,element){return this.optional(element)||/^\d+$/.test(value);},creditcard:function(value,element){if(this.optional(element))return"dependency-mismatch";if(/[^0-9-]+/.test(value))return false;var nCheck=0,nDigit=0,bEven=false;value=value.replace(/\D/g,"");for(n=value.length-1;n>=0;n--){var cDigit=value.charAt(n);var nDigit=parseInt(cDigit,10);if(bEven){if((nDigit*=2)>9)nDigit-=9;}nCheck+=nDigit;bEven=!bEven;}return(nCheck%10)==0;},accept:function(value,element,param){param=typeof param=="string"?param.replace(/,/g,'|'):"png|jpe?g|gif";return this.optional(element)||value.match(new RegExp(".("+param+")$","i"));},equalTo:function(value,element,param){return value==$(param).val();}}});$.format=$.validator.format;})(jQuery);;(function($){var ajax=$.ajax;var pendingRequests={};$.ajax=function(settings){settings=$.extend(settings,$.extend({},$.ajaxSettings,settings));var port=settings.port;if(settings.mode=="abort"){if(pendingRequests[port]){pendingRequests[port].abort();}return(pendingRequests[port]=ajax.apply(this,arguments));}return ajax.apply(this,arguments);};})(jQuery);;(function($){$.each({focus:'focusin',blur:'focusout'},function(original,fix){$.event.special[fix]={setup:function(){if($.browser.msie)return false;this.addEventListener(original,$.event.special[fix].handler,true);},teardown:function(){if($.browser.msie)return false;this.removeEventListener(original,$.event.special[fix].handler,true);},handler:function(e){arguments[0]=$.event.fix(e);arguments[0].type=fix;return $.event.handle.apply(this,arguments);}};});$.extend($.fn,{delegate:function(type,delegate,handler){return this.bind(type,function(event){var target=$(event.target);if(target.is(delegate)){return handler.apply(target,arguments);}});},triggerEvent:function(type,target){return this.triggerHandler(type,[$.event.fix({type:type,target:target})]);}})})(jQuery);



/*
 * Copyright (c) 2009 Simo Kinnunen.
 * Licensed under the MIT license.
 */
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("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}})());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}})());
// Effra font for Cufon
Cufon.registerFont({"w":196,"face":{"font-family":"Effra","font-weight":400,"font-stretch":"normal","units-per-em":"360","panose-1":"2 0 5 6 8 0 0 2 0 4","ascent":"288","descent":"-72","x-height":"5","bbox":"-32 -300 327 76.0821","underline-thickness":"7.2","underline-position":"-40.68","unicode-range":"U+0020-U+007E"},"glyphs":{" ":{"w":65},"!":{"d":"28,-240r36,0r-1,171r-34,0xm26,-39r40,0r0,39r-40,0r0,-39","w":92},"\"":{"d":"79,-240r31,0r0,79r-31,0r0,-79xm23,-240r31,0r0,79r-31,0r0,-79","w":131},"#":{"d":"66,-59r-43,0r0,-26r50,0r15,-55r-43,0r0,-26r50,0r16,-59r29,0r-16,59r53,0r16,-59r30,0r-16,59r41,0r0,26r-48,0r-15,55r41,0r0,26r-48,0r-16,59r-29,0r16,-59r-54,0r-15,59r-30,0xm156,-85r15,-55r-54,0r-15,55r54,0","w":271},"$":{"d":"180,-60v0,41,-29,59,-67,65r0,31r-23,0r0,-31v-37,-2,-62,-18,-79,-40r23,-21v14,15,30,29,56,32r0,-80v-34,-10,-68,-21,-67,-66v2,-41,28,-57,67,-61r0,-31r23,0r0,31v27,4,48,15,60,32r-23,20v-8,-9,-19,-20,-37,-22r0,71v35,10,67,26,67,70xm113,-24v30,0,45,-35,28,-59v-5,-6,-14,-10,-28,-15r0,74xm90,-202v-36,-3,-49,47,-18,60v5,2,11,5,18,7r0,-67"},"%":{"d":"129,-168v1,39,-21,65,-56,65v-35,0,-56,-27,-56,-65v0,-39,20,-65,56,-65v38,1,55,27,56,65xm45,-168v0,24,7,42,28,42v34,0,39,-84,0,-84v-21,0,-28,18,-28,42xm304,-62v0,39,-21,65,-56,65v-35,0,-56,-27,-56,-65v0,-39,20,-66,56,-65v38,1,56,25,56,65xm220,-62v0,24,7,42,28,42v38,0,38,-85,0,-84v-21,1,-28,18,-28,42xm217,-227r31,0r-146,227r-31,0","w":321},"&":{"d":"142,-191v-9,-34,-67,-36,-67,1v0,17,9,27,19,38r65,77r32,-40r24,19r-35,45r44,51r-42,0r-23,-26v-33,48,-150,43,-146,-35v3,-38,22,-56,50,-77v-46,-38,-12,-133,65,-105v19,6,30,20,38,36xm48,-63v-2,48,73,46,91,13r-57,-65v-20,16,-32,24,-34,52","w":229},"'":{"d":"21,-240r31,0r0,79r-31,0r0,-79","w":72},"(":{"d":"91,-254v-43,68,-43,219,0,287r-32,0v-46,-66,-47,-221,0,-287r32,0","w":104},")":{"d":"45,-254v47,67,48,220,0,287r-31,0v43,-69,43,-218,0,-287r31,0","w":104},"*":{"d":"23,-162r45,-24r-45,-24r13,-23r43,27r-2,-51r26,0r-1,51r43,-27r13,23r-45,24r45,24r-13,22r-43,-27r1,51r-26,0r2,-51r-43,27","w":180},"+":{"d":"26,-130r58,0r0,-56r28,0r0,56r58,0r0,28r-57,0r0,57r-29,0r0,-57r-58,0r0,-28"},",":{"d":"42,0r-14,0r0,-40r40,0r0,40r-24,42r-20,0","w":91},"-":{"d":"26,-116r106,0r0,31r-106,0r0,-31","w":158},".":{"d":"26,-40r40,0r0,40r-40,0r0,-40","w":92},"\/":{"d":"105,-247r32,0r-95,253r-33,0","w":146},"0":{"d":"185,-116v0,67,-23,121,-87,121v-64,0,-86,-53,-86,-121v0,-67,23,-117,86,-117v64,0,87,51,87,117xm45,-116v0,45,10,91,53,91v43,0,53,-46,53,-91v0,-44,-10,-87,-53,-87v-43,0,-53,43,-53,87"},"1":{"d":"51,-29r40,0r0,-164r-47,26r-13,-26v31,-12,47,-39,93,-35r0,199r39,0r0,29r-112,0r0,-29"},"2":{"d":"21,-193v23,-65,177,-47,141,44v-20,52,-87,62,-102,119r108,0r0,30r-144,0v-8,-87,67,-100,101,-150v25,-37,-28,-72,-63,-44v-7,5,-12,11,-17,18"},"3":{"d":"167,-67v4,79,-109,91,-155,48r19,-23v26,27,102,29,102,-26v0,-34,-36,-50,-67,-38r-11,-17r64,-74r-91,0r0,-30r131,0r0,26r-59,68v42,1,65,24,67,66"},"4":{"d":"18,-75r103,-152r32,0r0,152r25,0r0,28r-25,0r0,47r-31,0r0,-47r-104,0r0,-28xm122,-75r0,-109r-72,109r72,0"},"5":{"d":"134,-71v0,-46,-57,-54,-87,-35r-17,-13r22,-108r111,0r0,30r-88,0r-11,60v50,-18,104,7,104,65v0,81,-106,99,-154,53r18,-23v28,28,102,27,102,-29"},"6":{"d":"23,-103v0,-95,66,-160,149,-115r-15,26v-47,-31,-106,7,-101,65v43,-36,129,-15,122,57v-4,47,-27,76,-74,76v-57,0,-81,-44,-81,-109xm147,-71v4,-52,-68,-55,-92,-27v2,42,10,75,48,75v28,0,42,-18,44,-48"},"7":{"d":"50,0v23,-68,54,-138,86,-197r-111,0r0,-30r145,0v3,55,-27,75,-44,119r-41,108r-35,0"},"8":{"d":"98,-208v-32,0,-50,34,-28,56v7,7,16,12,28,16v42,-4,54,-72,0,-72xm98,-22v42,4,66,-44,34,-69v-9,-8,-22,-14,-35,-18v-24,7,-48,19,-48,47v0,27,21,38,49,40xm16,-61v0,-35,23,-51,47,-63v-17,-10,-35,-25,-34,-51v2,-38,28,-58,69,-58v40,0,69,17,69,56v0,26,-15,43,-36,52v24,12,49,28,49,64v0,45,-33,67,-82,67v-49,0,-82,-22,-82,-67"},"9":{"d":"173,-124v0,95,-64,157,-149,115r14,-27v47,31,109,-4,102,-63v-11,9,-30,18,-53,17v-46,-1,-70,-28,-70,-75v1,-47,28,-76,75,-76v57,0,81,44,81,109xm48,-156v0,51,67,56,92,27v0,-42,-10,-75,-47,-75v-28,0,-45,17,-45,48"},":":{"d":"27,-168r40,0r0,40r-40,0r0,-40xm27,-40r40,0r0,40r-40,0r0,-40","w":92},";":{"d":"43,0r-14,0r0,-40r40,0r0,40r-24,42r-20,0xm29,-168r40,0r0,40r-40,0r0,-40","w":94},"<":{"d":"26,-126r131,-69r13,25r-107,55r107,55r-13,24r-131,-69r0,-21"},"=":{"d":"26,-96r144,0r0,28r-144,0r0,-28xm26,-159r144,0r0,28r-144,0r0,-28"},">":{"d":"26,-60r106,-55r-106,-55r13,-25r131,69r0,21r-131,69"},"?":{"d":"60,-40r40,0r0,40r-40,0r0,-40xm164,-186v0,63,-73,50,-68,117r-32,0v-6,-59,40,-70,64,-103v11,-25,-10,-44,-38,-44v-26,0,-41,12,-54,24r-22,-19v27,-47,150,-50,150,25","w":182},"@":{"d":"211,-105v8,-52,-69,-45,-90,-24r-16,-22v36,-35,138,-31,138,38r0,73v0,12,5,18,16,18v33,-7,38,-46,38,-86v0,-77,-52,-112,-126,-112v-73,0,-121,40,-122,117v-1,43,17,69,37,89r-20,19v-28,-21,-49,-57,-49,-106v0,-95,62,-146,155,-146v94,0,155,46,155,140v0,63,-19,113,-73,113v-19,0,-34,-8,-38,-25v-29,38,-118,33,-118,-29v0,-54,56,-66,113,-57xm165,-22v33,-1,50,-20,46,-57v-30,-6,-83,-6,-82,30v0,18,15,28,36,27","w":344},"A":{"d":"98,-240r35,0r94,240r-39,0r-25,-67r-98,0r-25,67r-36,0xm153,-96r-39,-106r-39,106r78,0","w":230},"B":{"d":"194,-67v1,79,-90,67,-167,67r0,-240v72,0,155,-10,155,61v-1,29,-17,46,-40,52v31,5,52,23,52,60xm148,-176v1,-42,-47,-33,-87,-34r0,70v41,1,86,5,87,-36xm160,-69v0,-47,-52,-42,-99,-42r0,81v46,0,99,7,99,-39","w":212},"C":{"d":"137,-27v35,1,55,-17,70,-35r24,20v-18,26,-50,48,-94,48v-74,0,-115,-49,-120,-125v-8,-118,152,-170,214,-79r-24,21v-15,-20,-35,-38,-69,-38v-54,0,-84,38,-84,95v0,55,28,91,83,93","w":243},"D":{"d":"238,-120v-2,80,-49,120,-131,120r-80,0r0,-240v117,-7,213,8,211,120xm202,-119v0,-76,-57,-96,-140,-90r0,178v81,6,140,-12,140,-88","w":257},"E":{"d":"27,-240r152,0r0,30r-117,0r0,70r88,0r0,31r-88,0r0,78r125,0r0,31r-160,0r0,-240","w":203},"F":{"d":"27,-240r151,0r0,31r-116,0r0,73r88,0r0,31r-88,0r0,105r-35,0r0,-240","w":190},"G":{"d":"54,-120v-6,82,89,118,147,77r0,-49r-51,0r0,-30r84,0r0,96v-21,20,-53,32,-94,32v-77,0,-116,-48,-122,-126v-8,-119,152,-167,213,-79r-24,21v-14,-20,-34,-37,-68,-37v-56,1,-81,40,-85,95","w":259},"H":{"d":"27,-240r35,0r0,100r131,0r0,-100r35,0r0,240r-35,0r0,-109r-131,0r0,109r-35,0r0,-240","w":255},"I":{"d":"27,-240r35,0r0,240r-35,0r0,-240","w":89},"J":{"d":"152,-71v10,84,-110,99,-147,44r25,-22v20,34,87,31,87,-24r0,-167r35,0r0,169","w":177},"K":{"d":"27,-240r35,0r0,109r100,-109r40,0r-90,98r100,142r-41,0r-82,-118r-27,30r0,88r-35,0r0,-240","w":217},"L":{"d":"27,-240r35,0r0,209r125,0r0,31r-160,0r0,-240","w":197},"M":{"d":"36,-240r33,0r73,125r73,-125r32,0r11,240r-33,0r-8,-184r-68,113r-17,0r-67,-112r-8,183r-33,0","w":283},"N":{"d":"27,-240r35,0r131,187r0,-187r34,0r0,240r-34,0r-132,-188r0,188r-34,0r0,-240","w":254},"O":{"d":"263,-120v0,75,-48,126,-123,126v-74,0,-122,-50,-122,-126v0,-76,48,-126,122,-126v75,0,123,51,123,126xm54,-121v0,56,31,95,86,95v55,0,87,-39,87,-95v0,-55,-31,-94,-87,-94v-56,0,-86,39,-86,94","w":280},"P":{"d":"186,-167v-2,64,-54,78,-124,73r0,94r-35,0r0,-240v79,-2,161,-6,159,73xm151,-167v0,-45,-43,-47,-89,-44r0,87v46,3,89,1,89,-43","w":203},"Q":{"d":"263,-120v0,42,-20,74,-43,96r29,35r-21,18r-30,-37v-85,40,-185,-18,-181,-112v3,-75,48,-126,123,-126v75,0,123,51,123,126xm54,-121v-2,69,57,113,123,87r-30,-37r21,-18r31,38v51,-48,25,-169,-59,-164v-54,4,-84,38,-86,94","w":280},"R":{"d":"188,-170v-1,34,-17,58,-45,67r56,103r-38,0r-52,-98r-48,0r0,98r-34,0r0,-240v78,-2,161,-6,161,70xm152,-168v0,-45,-46,-44,-91,-42r0,83v45,2,91,3,91,-41","w":212},"S":{"d":"143,-132v74,27,46,146,-40,138v-42,-4,-71,-18,-90,-42r25,-22v15,16,31,32,64,32v45,0,70,-47,36,-69v-38,-24,-113,-20,-113,-85v0,-78,122,-83,155,-33r-23,21v-19,-34,-121,-31,-93,26v12,24,51,24,79,34","w":209},"T":{"d":"95,-210r-86,0r0,-30r206,0r0,30r-86,0r0,210r-34,0r0,-210","w":223},"U":{"d":"121,6v-62,-1,-95,-35,-95,-97r0,-149r34,0v8,83,-32,213,61,213v93,0,52,-130,61,-213r35,0r0,149v-2,61,-33,97,-96,97","w":242},"V":{"d":"4,-240r38,0r73,197r73,-197r37,0r-93,240r-36,0","w":228},"W":{"d":"6,-240r38,0r46,194r53,-187r33,0r51,186r46,-193r36,0r-64,240r-37,0r-50,-177r-51,177r-37,0","w":316},"X":{"d":"87,-124r-79,-116r42,0r58,87r58,-87r37,0r-77,115r86,125r-42,0r-64,-97r-65,97r-38,0","w":215},"Y":{"d":"86,-107r-83,-133r39,0r62,102r63,-102r37,0r-83,133r0,107r-35,0r0,-107","w":207},"Z":{"d":"18,-30r150,-180r-142,0r0,-30r184,0r0,30r-148,179r150,0r0,31r-194,0r0,-30","w":231},"[":{"d":"28,-254r76,0r0,29r-44,0r0,229r44,0r0,29r-76,0r0,-287","w":113},"\\":{"d":"9,-247r32,0r96,253r-33,0","w":146},"]":{"d":"9,4r44,0r0,-229r-44,0r0,-29r76,0r0,287r-76,0r0,-29","w":113},"^":{"d":"84,-240r29,0r64,129r-33,0r-45,-96r-46,96r-32,0","w":197},"_":{"d":"1,25r180,0r0,19r-180,0r0,-19","w":181},"`":{"d":"49,-244r36,0r19,49r-27,0","w":160},"a":{"d":"80,-21v31,-2,51,-20,47,-58v-34,-5,-84,-8,-83,30v1,19,15,29,36,28xm21,-152v38,-32,137,-29,137,40r0,112r-30,0r-1,-20v-25,38,-114,34,-114,-28v0,-53,58,-67,114,-56v9,-52,-68,-47,-91,-26","w":179},"b":{"d":"183,-85v4,82,-91,106,-161,79r0,-234r33,0r0,91v11,-13,27,-22,52,-22v52,1,74,36,76,86xm102,-143v-56,-1,-49,60,-48,115v46,15,98,-6,96,-56v-1,-34,-14,-57,-48,-59","w":197},"c":{"d":"47,-84v-5,57,71,80,101,40r20,21v-14,15,-37,28,-66,28v-55,0,-85,-34,-88,-89v-4,-80,102,-117,153,-61r-21,21v-10,-11,-23,-21,-44,-20v-37,0,-53,26,-55,60","w":177},"d":{"d":"96,-23v51,1,49,-54,47,-107v-34,-28,-101,-7,-96,49v3,34,16,57,49,58xm14,-81v-4,-72,71,-107,129,-80r0,-79r32,0r1,240r-32,0r-1,-21v-13,13,-27,26,-54,26v-50,-2,-72,-36,-75,-86","w":198},"e":{"d":"47,-74v-2,56,84,64,110,30r18,20v-16,16,-39,30,-73,29v-56,-1,-84,-34,-88,-90v-7,-98,143,-118,161,-26v3,12,4,24,4,37r-132,0xm146,-98v3,-51,-79,-63,-95,-18v-2,6,-4,12,-4,18r99,0","w":192},"f":{"d":"127,-207v-28,-24,-68,-7,-60,40r48,0r0,27r-48,0r0,140r-32,0r0,-140r-30,0r0,-27r30,0v-12,-71,60,-101,108,-61","w":118},"g":{"d":"95,-27v57,0,48,-58,48,-111v-45,-15,-99,6,-96,56v1,33,14,55,48,55xm175,0v9,75,-94,95,-145,58r15,-24v29,24,104,19,97,-34r0,-21v-10,11,-27,23,-52,22v-51,-1,-74,-32,-76,-83v-3,-82,91,-105,161,-78r0,160"},"h":{"d":"103,-143v-63,1,-47,81,-49,143r-32,0r0,-240r32,0r0,97v12,-15,29,-27,56,-28v81,-3,63,95,64,171r-32,0v-5,-55,20,-144,-39,-143","w":195},"i":{"d":"22,-234r36,0r0,37r-36,0r0,-37xm24,-167r32,0r0,167r-32,0r0,-167","w":79},"j":{"d":"56,2v10,58,-46,89,-88,57r13,-23v6,5,10,8,21,8v22,0,22,-23,22,-51r0,-160r32,0r0,169xm22,-234r36,0r0,37r-36,0r0,-37","w":79},"k":{"d":"22,-240r32,0r0,141r71,-68r38,0r-63,62r73,105r-39,0r-57,-84r-23,22r0,62r-32,0r0,-240","w":176},"l":{"d":"22,-240r33,0r0,240r-33,0r0,-240","w":77},"m":{"d":"54,-142v15,-35,95,-41,107,1v13,-15,31,-30,60,-30v81,0,62,95,64,171r-33,0v-6,-53,21,-143,-36,-143v-62,0,-44,83,-46,143r-32,0v-6,-54,20,-143,-36,-143v-62,0,-44,83,-47,143r-33,0r0,-167r31,0","w":306},"n":{"d":"104,-143v-64,-1,-46,82,-49,143r-33,0r0,-167r31,0r1,25v11,-16,28,-28,56,-29v82,-3,64,94,65,171r-33,0v-5,-55,20,-143,-38,-143","w":195},"o":{"d":"192,-84v0,53,-35,89,-89,89v-55,0,-89,-36,-89,-89v0,-53,34,-89,89,-89v54,0,89,36,89,89xm47,-84v0,35,20,61,56,61v36,0,56,-26,56,-61v0,-34,-20,-61,-56,-61v-36,0,-56,26,-56,61","w":205},"p":{"d":"186,-83v4,73,-73,106,-132,77r0,78r-32,0r0,-239r31,0r1,23v12,-15,30,-27,57,-27v52,1,72,37,75,88xm104,-143v-50,0,-52,53,-50,107v34,27,99,9,99,-47v0,-36,-14,-60,-49,-60","w":200},"q":{"d":"14,-82v-3,-82,91,-105,161,-78r0,232r-33,0r0,-89v-9,12,-27,22,-49,22v-52,0,-77,-35,-79,-87xm95,-23v57,3,48,-60,48,-115v-45,-16,-100,5,-96,56v3,34,14,58,48,59","w":197},"r":{"d":"120,-137v-36,-8,-66,13,-65,49r0,88r-33,0r0,-167r31,0r1,27v12,-20,40,-37,73,-27","w":131},"s":{"d":"138,-82v38,36,1,87,-53,87v-32,0,-56,-9,-72,-26r20,-21v16,20,81,33,89,-2v-11,-46,-100,-11,-101,-79v0,-61,96,-60,129,-29r-18,23v-13,-17,-76,-28,-79,5v7,31,63,22,85,42","w":169},"t":{"d":"136,-14v-31,33,-99,24,-99,-41r0,-85r-31,0r0,-27r31,0r0,-55r32,0r0,55r49,0r0,27r-49,0r0,82v-7,39,34,42,52,24","w":138},"u":{"d":"85,4v-81,4,-62,-95,-64,-171r33,0v6,54,-21,143,37,143v63,-1,47,-81,49,-143r32,0r1,167r-31,0r-1,-25v-11,16,-29,28,-56,29","w":195},"v":{"d":"2,-167r37,0r52,130r52,-130r35,0r-71,167r-33,0","w":180},"w":{"d":"4,-167r36,0r37,127r40,-127r28,0r40,128r37,-128r34,0r-56,167r-32,0r-39,-117r-38,117r-31,0","w":259},"x":{"d":"68,-86r-60,-81r40,0r40,55r40,-55r36,0r-59,78r67,89r-41,0r-46,-63r-46,63r-36,0","w":175},"y":{"d":"23,41v29,25,49,-17,55,-42r-75,-166r37,0r54,126r48,-126r35,0r-88,214v-9,27,-56,40,-81,17","w":180},"z":{"d":"19,-26r95,-114r-92,0r0,-27r132,0r0,26r-97,114r98,0r0,27r-136,0r0,-26","w":171},"{":{"d":"45,-111v53,19,11,118,50,144r-34,0v-37,-24,5,-124,-50,-133r0,-21v54,-5,11,-101,50,-133r34,0v-39,26,3,125,-50,143","w":104},"|":{"d":"27,-300r30,0r0,359r-30,0r0,-359","w":83},"}":{"d":"93,-100v-53,6,-11,101,-50,133r-34,0v38,-26,-3,-124,50,-144v-51,-12,-11,-113,-50,-143r34,0v23,19,18,68,23,105v2,14,10,29,27,28r0,21","w":104},"~":{"d":"111,-116v14,0,24,-8,31,-14v26,21,-1,43,-28,43v-28,0,-63,-29,-84,-3v-27,-22,1,-42,29,-42v23,0,29,17,52,16","w":172},"\u00a0":{"w":65}}});
/*!
 * The following copyright notice may not be removed under any circumstances.
 * 
 * Copyright:
 * Copyright 2008 Jonas Schudel Dalton Maag Ltd. All rights reserved. This font
 * may not be altered in any way without prior permission of Dalton Maag Ltd. DaMa
 * is a trademark of Dalton Maag Ltd.
 * 
 * Trademark:
 * Effra is a trademark of Jonas Schudel and Dalton Maag Ltd.
 * 
 * Description:
 * Copyright (c) 2007 by Jonas Schudel and Dalton Maag Ltd. All rights reserved.
 * 
 * Manufacturer:
 * Jonas Schudel and Dalton Maag Ltd.
 * 
 * Designer:
 * Jonas Schudel
 * 
 * Vendor URL:
 * http://www.daltonmaag.com/
 * 
 * License information:
 * http://www.daltonmaag.com/
 */
Cufon.registerFont({"w":196,"face":{"font-family":"Effra","font-weight":700,"font-stretch":"normal","units-per-em":"360","panose-1":"2 0 8 6 8 0 0 2 0 4","ascent":"288","descent":"-72","x-height":"6","bbox":"-39 -300 331.031 76.1126","underline-thickness":"18","underline-position":"-18","unicode-range":"U+0020-U+007E"},"glyphs":{" ":{"w":65},"!":{"d":"24,-240r57,0r-2,162r-53,0xm24,-55r57,0r0,55r-57,0r0,-55","w":105},"\"":{"d":"87,-240r48,0r0,90r-48,0r0,-90xm17,-240r48,0r0,90r-48,0r0,-90","w":151},"#":{"d":"53,-52r-34,0r0,-37r43,0r13,-46r-34,0r0,-37r44,0r14,-54r41,0r-15,54r45,0r15,-54r40,0r-14,54r32,0r0,37r-42,0r-13,46r33,0r0,37r-42,0r-14,52r-41,0r14,-52r-45,0r-14,52r-40,0xm148,-89r12,-46r-44,0r-13,46r45,0","w":262},"$":{"d":"136,-128v69,18,55,134,-20,132r0,35r-34,0r0,-34v-33,-3,-61,-18,-78,-37r32,-36v13,13,36,29,64,28v27,5,45,-28,22,-40v-37,-20,-110,-24,-107,-84v2,-39,29,-62,67,-66r0,-32r34,0r0,32v27,2,47,16,61,28r-31,35v-15,-18,-74,-34,-81,2v4,29,46,25,71,37"},"%":{"d":"133,-168v0,39,-21,66,-58,66v-37,0,-58,-28,-58,-66v0,-38,21,-65,58,-65v37,0,58,26,58,65xm75,-202v-26,2,-26,67,0,68v27,-1,25,-66,0,-68xm315,-62v0,39,-21,66,-58,66v-37,0,-58,-27,-58,-66v0,-39,20,-65,58,-65v38,0,58,26,58,65xm257,-96v-26,2,-26,67,0,68v27,-1,25,-66,0,-68xm215,-227r45,0r-144,227r-46,0","w":333},"&":{"d":"145,-182v-6,-26,-50,-30,-52,-1v12,42,47,62,69,94r32,-37r35,30r-37,42r45,54r-63,0r-17,-20v-42,44,-150,31,-147,-44v2,-36,18,-59,47,-75v-35,-43,-5,-112,58,-108v35,2,55,19,67,42xm84,-106v-30,12,-32,68,10,66v17,0,23,-7,34,-15","w":239},"'":{"d":"17,-240r48,0r0,90r-48,0r0,-90","w":81},"(":{"d":"106,-254v-40,70,-41,217,0,287r-52,0v-43,-70,-43,-218,0,-287r52,0","w":115},")":{"d":"62,-254v42,69,44,217,0,287r-52,0v41,-70,41,-217,0,-287r52,0","w":115},"*":{"d":"18,-168r39,-18r-39,-18r20,-35r34,23r-4,-41r41,0r-3,42r34,-24r20,35r-39,17r39,18r-20,35r-35,-24r4,42r-41,0r4,-41r-34,23","w":177},"+":{"d":"26,-135r51,0r0,-51r42,0r0,51r51,0r0,41r-51,0r0,50r-42,0r0,-50r-51,0r0,-41"},",":{"d":"44,0r-21,0r0,-58r59,0r0,58r-30,51r-31,0","w":101},"-":{"d":"23,-125r114,0r0,49r-114,0r0,-49","w":160},".":{"d":"22,-57r59,0r0,57r-59,0r0,-57","w":102},"\/":{"d":"103,-247r51,0r-95,253r-52,0","w":161},"0":{"d":"188,-115v0,67,-23,121,-90,121v-65,0,-89,-52,-89,-121v0,-68,23,-118,89,-118v68,0,90,51,90,118xm61,-115v0,35,5,70,37,74v32,-3,37,-39,37,-74v0,-35,-6,-67,-37,-71v-31,3,-37,36,-37,71"},"1":{"d":"40,-44r40,0r0,-126r-38,20r-22,-40r67,-37r43,0r0,183r37,0r0,44r-127,0r0,-44"},"2":{"d":"94,-233v72,0,98,75,53,117v-20,19,-44,36,-63,54v-5,5,-7,10,-7,16r95,0r0,46r-154,0v-10,-85,52,-105,93,-147v21,-22,-6,-50,-37,-39v-11,5,-18,14,-25,23r-38,-26v16,-25,41,-44,83,-44"},"3":{"d":"172,-69v2,81,-121,95,-168,47r28,-37v20,25,86,31,87,-14v1,-27,-33,-39,-57,-28r-14,-21r58,-59r-84,0r0,-45r142,0r0,37r-47,53v34,6,54,30,55,67"},"4":{"d":"10,-81r98,-146r52,0r0,145r23,0r0,41r-23,0r0,41r-48,0r0,-41r-102,0r0,-40xm112,-82r0,-84r-55,84r55,0"},"5":{"d":"171,-75v0,87,-117,102,-165,52r27,-36v18,25,86,32,86,-16v0,-35,-45,-40,-72,-27r-24,-18r20,-106r123,0r0,45r-87,0r-7,36v53,-12,99,17,99,70"},"6":{"d":"15,-107v-4,-94,74,-154,160,-112r-19,40v-36,-23,-89,0,-88,43v45,-30,122,-4,116,61v-4,49,-30,81,-81,81v-64,0,-85,-47,-88,-113xm135,-75v0,-38,-50,-39,-68,-20v1,31,6,56,36,56v20,1,32,-15,32,-36"},"7":{"d":"171,-183v-30,53,-58,119,-78,183r-54,0v20,-62,50,-129,79,-181r-100,0r0,-46r153,0r0,44"},"8":{"d":"98,-197v-23,-1,-42,28,-21,45v15,21,50,6,50,-19v-1,-16,-13,-26,-29,-26xm98,-35v41,4,48,-52,13,-63v-22,-12,-50,7,-50,32v0,22,16,30,37,31xm9,-64v0,-32,17,-50,40,-61v-13,-9,-29,-25,-28,-47v2,-42,32,-61,77,-61v44,1,75,18,77,60v1,22,-15,39,-28,47v22,11,40,29,40,61v0,47,-38,71,-89,71v-51,0,-89,-22,-89,-70"},"9":{"d":"180,-116v0,95,-75,150,-159,107r19,-40v21,10,60,17,75,-4v8,-10,13,-22,14,-37v-46,31,-120,1,-116,-62v3,-50,29,-81,81,-81v64,0,86,48,86,117xm61,-152v0,35,49,41,69,20v-1,-31,-7,-54,-36,-56v-20,0,-33,16,-33,36"},":":{"d":"22,-169r59,0r0,57r-59,0r0,-57xm22,-57r59,0r0,57r-59,0r0,-57","w":102},";":{"d":"45,0r-21,0r0,-58r59,0r0,58r-30,51r-31,0xm25,-169r59,0r0,57r-59,0r0,-57","w":104},"<":{"d":"24,-130r128,-68r19,37r-90,46r91,47r-20,37r-128,-68r0,-31"},"=":{"d":"26,-101r144,0r0,42r-144,0r0,-42xm26,-167r144,0r0,42r-144,0r0,-42"},">":{"d":"27,-68r91,-47r-90,-46r19,-37r128,68r0,31r-128,68"},"?":{"d":"172,-180v0,58,-59,48,-60,102r-49,0v-3,-44,23,-61,48,-80v19,-14,6,-43,-21,-41v-22,2,-35,12,-47,22r-32,-34v33,-48,161,-53,161,31xm59,-55r57,0r0,55r-57,0r0,-55","w":189},"@":{"d":"169,-32v23,0,35,-16,31,-43v-26,-3,-56,-1,-56,22v0,14,9,21,25,21xm55,-99v0,36,12,64,29,82r-29,23v-24,-22,-41,-58,-41,-104v0,-97,64,-149,161,-149v97,0,155,47,156,143v1,63,-22,106,-79,109v-23,1,-34,-6,-43,-20v-29,34,-117,27,-114,-32v2,-51,49,-65,105,-59v4,-42,-59,-30,-78,-15r-22,-31v40,-37,157,-34,149,42v4,25,-11,73,13,77v25,-6,30,-39,30,-71v0,-72,-45,-107,-117,-107v-72,0,-119,37,-120,112","w":345},"A":{"d":"92,-240r60,0r88,240r-59,0r-19,-55r-84,0r-19,55r-56,0xm149,-97r-29,-91r-30,91r59,0","w":243},"B":{"d":"207,-69v2,85,-102,67,-184,69r0,-240v77,1,172,-13,172,63v0,27,-17,42,-37,50v27,7,49,24,49,58xm141,-171v0,-31,-34,-27,-65,-27r0,54v31,0,65,4,65,-27xm152,-73v0,-36,-41,-31,-76,-31r0,62v36,0,76,6,76,-31","w":221},"C":{"d":"71,-121v-7,81,103,96,132,43r37,34v-22,28,-54,50,-102,50v-78,0,-118,-48,-124,-125v-9,-122,160,-168,224,-80r-37,36v-13,-19,-31,-34,-61,-34v-45,0,-65,31,-69,76","w":245},"D":{"d":"242,-119v1,114,-100,126,-219,119r0,-240r91,0v80,1,127,39,128,121xm186,-119v0,-60,-42,-78,-108,-73r0,144v64,6,108,-14,108,-71","w":258},"E":{"d":"23,-240r165,0r0,47r-110,0r0,47r85,0r0,46r-85,0r0,52r117,0r0,48r-172,0r0,-240","w":208},"F":{"d":"23,-240r162,0r0,48r-107,0r0,54r81,0r0,47r-81,0r0,91r-55,0r0,-240","w":194},"G":{"d":"71,-120v-5,67,72,95,119,62r0,-30r-42,0r0,-44r92,0r0,104v-23,21,-58,34,-101,34v-80,0,-120,-47,-125,-126v-8,-121,157,-166,223,-81r-37,35v-16,-16,-31,-31,-60,-31v-44,0,-66,30,-69,77","w":260},"H":{"d":"23,-240r55,0r0,92r104,0r0,-92r54,0r0,240r-54,0r0,-99r-104,0r0,99r-55,0r0,-240","w":259},"I":{"d":"23,-240r55,0r0,240r-55,0r0,-240","w":101},"J":{"d":"167,-73v7,89,-122,101,-163,44r35,-34v15,29,74,32,74,-14r0,-163r54,0r0,167","w":188},"K":{"d":"23,-240r55,0r0,96r80,-96r63,0r-82,93r93,147r-66,0r-64,-105r-24,28r0,77r-55,0r0,-240","w":235},"L":{"d":"23,-240r55,0r0,192r115,0r0,48r-170,0r0,-240","w":201},"M":{"d":"31,-240r51,0r63,113r61,-113r52,0r11,240r-54,0r-7,-157r-50,94r-28,0r-53,-93r-6,156r-52,0","w":288},"N":{"d":"23,-240r52,0r104,156r0,-156r54,0r0,240r-49,0r-107,-159r0,159r-54,0r0,-240","w":256},"O":{"d":"264,-120v0,77,-49,126,-125,126v-77,0,-125,-50,-125,-126v0,-76,48,-127,125,-127v77,0,125,50,125,127xm71,-121v0,45,24,76,68,76v45,0,68,-32,68,-76v0,-44,-24,-75,-68,-75v-44,0,-68,30,-68,75","w":277},"P":{"d":"195,-163v0,64,-49,83,-119,78r0,85r-53,0r0,-240r88,0v53,0,84,27,84,77xm141,-162v0,-32,-30,-37,-65,-34r0,67v34,2,65,0,65,-33","w":208},"Q":{"d":"264,-120v2,39,-16,71,-38,91r26,32r-30,24r-27,-33v-89,36,-185,-19,-181,-114v3,-76,48,-127,125,-127v77,0,122,50,125,127xm71,-121v-1,52,38,87,90,72r-26,-32r29,-25r28,35v31,-45,11,-129,-53,-125v-44,2,-67,30,-68,75","w":277},"R":{"d":"197,-165v0,34,-17,56,-39,69r53,96r-60,0r-44,-88r-31,0r0,88r-53,0r0,-240v84,-2,174,-8,174,75xm142,-163v0,-34,-32,-34,-66,-32r0,63v34,2,66,1,66,-31","w":218},"S":{"d":"151,-137v77,32,43,143,-47,143v-46,0,-75,-17,-98,-40r35,-38v15,26,86,49,97,4v-5,-41,-76,-30,-100,-60v-47,-59,16,-145,102,-115v21,7,38,14,50,29r-31,34v-16,-19,-74,-35,-83,1v4,31,49,31,75,42","w":212},"T":{"d":"85,-192r-77,0r0,-48r209,0r0,48r-77,0r0,192r-55,0r0,-192","w":225},"U":{"d":"122,6v-62,0,-100,-35,-100,-97r0,-149r54,0r0,142v0,32,13,52,46,52v32,0,46,-18,46,-52r0,-142r55,0r0,149v-1,62,-39,97,-101,97","w":244},"V":{"d":"3,-240r60,0r58,175r58,-175r57,0r-88,240r-57,0","w":239},"W":{"d":"4,-240r58,0r35,174r42,-168r50,0r42,168r35,-174r56,0r-61,240r-57,0r-41,-157r-42,157r-57,0","w":325},"X":{"d":"82,-123r-79,-117r66,0r45,70r43,-70r60,0r-74,113r87,127r-67,0r-52,-81r-51,81r-59,0","w":230},"Y":{"d":"87,-100r-84,-140r61,0r52,91r51,-91r59,0r-84,139r0,101r-55,0r0,-100","w":228},"Z":{"d":"14,-44r131,-148r-125,0r0,-48r192,0r0,45r-129,147r132,0r0,48r-201,0r0,-44","w":228},"[":{"d":"26,-254r90,0r0,42r-42,0r0,203r42,0r0,42r-90,0r0,-287","w":125},"\\":{"d":"7,-247r51,0r96,253r-52,0","w":161},"]":{"d":"10,-9r42,0r0,-203r-42,0r0,-42r90,0r0,287r-90,0r0,-42","w":125},"^":{"d":"79,-240r45,0r63,132r-52,0r-33,-76r-34,76r-52,0","w":203},"_":{"d":"0,23r180,0r0,20r-180,0r0,-20","w":180},"`":{"d":"47,-246r51,0r18,52r-39,0","w":169},"a":{"d":"92,-175v89,0,75,91,75,175r-49,0r-1,-16v-26,35,-111,27,-108,-31v3,-53,51,-66,108,-60v2,-41,-61,-29,-80,-14r-22,-31v20,-13,43,-23,77,-23xm84,-32v24,-1,36,-15,33,-43v-26,-2,-58,-2,-58,22v0,14,8,21,25,21","w":185},"b":{"d":"105,-128v-43,-3,-33,47,-34,87v33,14,70,-7,67,-45v-2,-23,-10,-41,-33,-42xm190,-87v5,90,-98,108,-171,81r0,-234r52,0r0,84v9,-9,27,-16,44,-16v51,1,72,35,75,85","w":202},"c":{"d":"64,-85v-6,45,55,57,76,29r31,34v-15,14,-37,29,-68,28v-57,-2,-88,-34,-91,-91v-5,-84,107,-117,159,-62r-31,34v-19,-29,-82,-18,-76,28","w":175},"d":{"d":"12,-82v-2,-67,57,-103,121,-85r0,-73r51,0r0,240r-48,0r-2,-17v-10,12,-26,22,-49,22v-48,-3,-73,-36,-73,-87xm100,-39v40,0,33,-45,33,-83v-31,-18,-71,2,-69,41v1,23,12,42,36,42","w":203},"e":{"d":"62,-69v-1,42,74,40,95,18r22,33v-18,13,-42,25,-75,24v-57,-2,-92,-32,-92,-91v0,-56,33,-90,87,-90v59,0,85,42,83,106r-120,0xm133,-102v2,-38,-59,-41,-69,-11v-2,4,-2,7,-2,11r71,0","w":192},"f":{"d":"133,-196v-20,-16,-57,-8,-49,27r40,0r0,41r-40,0r0,128r-52,0r0,-128r-27,0r0,-41r27,0v-9,-72,74,-97,123,-60","w":128},"g":{"d":"183,-5v7,83,-99,99,-157,63r21,-36v30,21,95,19,84,-37v-49,34,-119,1,-119,-66v0,-88,98,-107,171,-79r0,155xm98,-43v42,2,32,-45,33,-83v-32,-12,-67,5,-67,43v0,23,12,39,34,40","w":201},"h":{"d":"105,-128v-53,0,-29,79,-34,128r-52,0r0,-240r52,0r0,87v36,-39,113,-19,113,49r0,104r-51,0v-6,-46,19,-128,-28,-128","w":203},"i":{"d":"19,-240r55,0r0,46r-55,0r0,-46xm21,-169r51,0r0,169r-51,0r0,-169","w":92},"j":{"d":"21,-240r55,0r0,46r-55,0r0,-46xm75,-9v10,70,-62,102,-114,66r20,-35v18,12,42,5,42,-23r0,-168r52,0r0,160","w":95},"k":{"d":"19,-240r52,0r0,124r51,-53r59,0r-60,62r68,107r-60,0r-43,-71r-15,15r0,56r-52,0r0,-240","w":191},"l":{"d":"19,-240r52,0r0,240r-52,0r0,-240","w":90},"m":{"d":"104,-128v-50,0,-29,79,-33,128r-52,0r0,-169r50,0r2,19v17,-28,83,-31,98,1v35,-42,123,-27,123,45r0,104r-52,0r0,-96v0,-19,-7,-33,-26,-32v-50,2,-29,79,-33,128r-50,0v-6,-45,20,-128,-27,-128","w":310},"n":{"d":"105,-128v-53,0,-29,79,-34,128r-52,0r0,-169r50,0r2,19v32,-43,113,-23,113,46r0,104r-52,0v-6,-46,19,-128,-27,-128","w":202},"o":{"d":"62,-85v0,28,14,46,40,46v27,0,41,-20,41,-46v0,-26,-14,-45,-41,-45v-25,0,-40,18,-40,45xm102,6v-55,0,-90,-36,-90,-91v0,-55,35,-90,90,-90v56,0,91,36,91,90v0,54,-35,91,-91,91","w":204},"p":{"d":"193,-86v2,68,-58,105,-122,85r0,73r-52,0r0,-241r50,0r2,19v10,-12,28,-22,48,-22v50,0,73,36,74,86xm106,-128v-39,-1,-36,43,-35,83v30,19,70,-1,70,-40v0,-26,-11,-42,-35,-43","w":205},"q":{"d":"12,-82v-4,-89,98,-105,172,-78r0,232r-52,0r0,-82v-8,9,-23,16,-42,15v-52,-1,-76,-34,-78,-87xm99,-39v42,3,32,-47,33,-86v-33,-12,-71,5,-68,43v2,25,11,42,35,43","w":203},"r":{"d":"131,-123v-30,-10,-60,6,-60,39r0,84r-52,0r0,-169r50,0r2,21v10,-17,40,-30,68,-21","w":141},"s":{"d":"150,-82v40,59,-36,108,-106,82v-13,-5,-25,-11,-33,-19r25,-33v10,9,31,15,48,17v21,3,38,-16,19,-25v-34,-16,-84,-16,-84,-62v0,-62,100,-63,139,-34r-22,35v-11,-7,-24,-14,-43,-14v-22,0,-30,17,-11,24v19,6,58,15,68,29","w":173},"t":{"d":"149,-13v-44,37,-126,19,-117,-51r0,-64r-27,0r0,-41r27,0r0,-51r52,0r0,51r43,0r0,41r-43,0v5,33,-14,90,20,92v10,0,18,-5,24,-9","w":150},"u":{"d":"131,-18v-33,41,-113,23,-113,-46r0,-105r52,0v6,46,-20,128,28,128v51,0,28,-80,33,-128r52,0r0,169r-50,0","w":201},"v":{"d":"2,-169r57,0r40,111r39,-111r56,0r-72,169r-49,0"},"w":{"d":"3,-169r53,0r29,109r33,-109r41,0r34,109r29,-109r52,0r-58,169r-46,0r-32,-94r-31,94r-47,0","w":276},"x":{"d":"65,-85r-62,-84r62,0r30,45r31,-45r57,0r-60,81r65,88r-62,0r-33,-49r-34,49r-57,0","w":189},"y":{"d":"28,27v24,19,48,-3,51,-29r-77,-167r59,0r42,107r38,-107r55,0r-80,196v-9,41,-68,66,-108,35","w":198},"z":{"d":"14,-35r83,-92r-79,0r0,-42r145,0r0,36r-83,92r83,0r0,41r-149,0r0,-35","w":176},"{":{"d":"55,-111v53,18,15,116,52,144r-48,0v-29,-22,-13,-86,-29,-122v-4,-5,-11,-7,-20,-7r0,-29v53,-4,9,-98,49,-129r48,0v-37,29,3,126,-52,143","w":111},"|":{"d":"24,-300r47,0r0,359r-47,0r0,-359","w":94},"}":{"d":"5,33v35,-29,0,-125,51,-144v-51,-13,-15,-107,-51,-143r48,0v29,22,9,88,29,122v3,6,11,7,20,7r0,29v-54,3,-10,98,-49,129r-48,0","w":111},"~":{"d":"120,-78v-28,-6,-63,-29,-85,0r-22,-36v14,-25,61,-35,87,-13v20,7,35,-3,46,-14r22,36v-10,13,-26,25,-48,27","w":181},"\u00a0":{"w":65}}});



Cufon.replace('h1');
Cufon.replace('h2');
Cufon.replace('h3');
Cufon.replace('h4');
Cufon.replace('h5');
Cufon.replace('h6');
Cufon.replace('#about #leftSidebarNav li');
Cufon.replace('#services #leftSidebarNav li');
Cufon.replace('#portfolio #leftSidebarNav li');
Cufon.replace('#blog .navUlWrapper li');
// Cufon.replace('.innerImageRightBg li');//


$.easing.bouncy = function (x, t, b, c, d) { 
    var s = 1.70158; 
    if ((t/=d/2) < 1) return c/2*(t*t*(((s*=(1.525))+1)*t - s)) + b; 
    return c/2*((t-=2)*t*(((s*=(1.525))+1)*t + s) + 2) + b; 
} 
 
// create custom tooltip effect for jQuery Tooltip 
$.tools.tooltip.addEffect("bouncy", 
 
    // opening animation 
    function(done) { 
        this.getTip().animate({top: '+=15'}, 500, 'bouncy', done).show(); 
    }, 
 
    // closing animation 
    function(done) { 
        this.getTip().animate({top: '-=15'}, 500, 'bouncy', function()  { 
            $(this).hide(); 
            done.call(); 
        }); 
    } 
);



//Document ready commands

$(document).ready(function() {		
	fadeEffect();
	googleAnalytics();
	$("#navBar li")
	.mouseover(function() {
						$(this).addClass('ie6');
						})
	.mouseout(function() {
					   $(this).removeClass('ie6');
					   });
	$("#twitter").getTwitter({
					userName: "liveevolution",
					numTweets: 1,
					slideIn: true,
					slideDuration: 1500,
					showHeading: false,
					showProfileLink: false,
					showTimestamp: true
				});
	$('.formValidate').validate();
	$('#indexTopImage h1').css({opacity: 0.75});
	$("div.scrollable").scrollable({size: 1,clickable:false});
	$("ul.tabs").tabs("div.panes > div");
	$(".accordion").tabs(".accordion div.pane", {tabs: 'h5', effect: 'slide', initialIndex: null});
	$(".centreContactTooltip a.contact").tooltip({ 
	
    // place tooltip on the right edge 
    position: "top center", 
 
    // a little tweaking of the position 
    offset: [0, 0], 
 
    // use the built-in fadeIn/fadeOut effect 
    effect: "slide",
	
	delay: 500,
	
	bounce: true,
 
    // custom opacity setting 
    opacity: 0.95, 
 
    // use this single tooltip element 
    tip: "#contactTooltip" 

}).dynamic( { 
     
        // customized configuration on bottom edge 
        bottom: { 
         
            // slide downwards 
            direction: 'down', 
             
            // bounce back when closed 
            bounce: true
			
        }}); 
	$(".leftContactTooltip a.contact").tooltip({ 
	
    // place tooltip on the right edge 
    position: "top left", 
 
    // a little tweaking of the position 
    offset: [-45, 175], 
 
    // use the built-in fadeIn/fadeOut effect 
    effect: "slide",
	
	delay: 500,
	
	bounce: true,
 
    // custom opacity setting 
    opacity: 0.95, 
 
    // use this single tooltip element 
    tip: "#contactTooltip" 

}).dynamic( { 
     
        // customized configuration on bottom edge 
        bottom: { 
         

            // slide downwards 
            direction: 'down'
             			
}}); 
	

	
	$(".folio_block").each(function() {
	
		//Set Default State of each portfolio piece
		$(this).find(".paging").show();
		$(this).find(".paging a:first").addClass("active");
		
		//Inject <span> for Tool tip
		$(this).find(".pane_wrapper a").append("<span></span>");
		$(this).find(".pane_wrapper a span").css({"opacity" : "0"});
													
		//Get size of images, how many there are, then determin the size of the image reel.
		var windowWidth = $(this).find(".pane_wrapper").width();
		var imageSum = $(this).find(".pane_wrapper").size();
		var imageReelWidth = windowWidth * imageSum;
		
		//Adjust the image reel to its new size
		$(this).find(".image_reel").css({'width' : imageReelWidth});
	
	});	

	//Hover Effect for Tooltip
	$(".image_reel a").hover(function() {
		$(this).find("span").stop().animate({ opacity: 0.7}, 200 ).show();
	}, function() {
		$(this).find("span").stop().animate({ opacity: 0}, 200 );
	});

	//Paging events
	$(".paging a").click(function() {
	
		var triggerID = $(this).attr("rel") - 1;
		var imgWidth = $(this).parent().parent().find(".pane_wrapper").width();
		var image_reelPosition = triggerID * imgWidth;
		
		//Ignore if Active
		if ( $(this).hasClass("active")) { 
			//Do Nothing
		}
		else {
			//Set active paging
			$(this).parent().parent().find(".paging a").removeClass("active");
			$(this).addClass("active");

			//image_reel Image
			$(this).parent().parent().find(".image_reel").animate({ 
				left: -image_reelPosition
			}, 300 );
		}
		return false;
	});

	
	
	
});


