Cufon.set('fontFamily', 'Melbourne');
Cufon.replace('#mainnav ul li a');
Cufon.replace('#highlights .highlight h2 a');
Cufon.replace('.callout h1');
Cufon.replace('.callout h3');
Cufon.replace('.content-holder .pagetitle h1');
Cufon.replace('.content-holder #subnav ul li a');

// ABENDAGO GALLERY PLUGIN //
	



	$(document).ready(function(){

	// webkit browsers load CSS and JS at the same time so make them wait a bit more
	if (jQuery.browser.safari && document.readyState != "complete") { setTimeout( arguments.callee, 100 ); return; }


	// ABENDAGO FORM VALIDATION //

	$("form *[rel='submit']").bind('click',function(){
		// we submit the form with JS because the validation requires JS.
		// this is to prevent a user from disabling JS in their browser and bypassing validation
		$(this).parents("form").submit();
		return false;
	});
	if ($.isFunction($.fn.validate)===true) {
		$("form#testform").validate({
			appendErrorBesideField: false,
			groupErrorMessage: true,
			errorDiv : ('div#error_testform'),
			//groupType : ['span.group','span.radio','span.checkbox'],
			groupType : 'span.group',
			callbackFunction: function(){
				alert("form was submitted successfully");
				return false;
			}
		});
	}


	// ABENDAGO GALLERY PLUGIN //
$("a.galImgThumb").colorbox();
	




});

