// MISC. Functions
	$.fn.equalHeights = function(minHeight, maxHeight) {
		tallest = (minHeight) ? minHeight : 0;
		this.each(function() {
			if($(this).height() > tallest) {
				tallest = $(this).height();
			}
		});
		if((maxHeight) && tallest > maxHeight) tallest = maxHeight;
		return this.each(function() {
			$(this).height(tallest).css("overflow","hidden");
		});
	}

//Font Replacements	
	Cufon.replace('.title',{
		textShadow: '1px 1px rgba(0, 0, 0, 0.2)',
		fontFamily: 'Chalet-NewYorkNineteenSixty'
	});
	Cufon.replace ('.section-title');
	Cufon.replace ('#subnav a', {
		fontSize: "14px"
	});

$(document).ready(function(){	
// INIT EASY FRAMEWORK
	$.easy.navigation();
	$.easy.tooltip();
	$.easy.popup();
	$.easy.external();
	$.easy.rotate();
	$.easy.forms();
	$.easy.showhide();
	$.easy.jump();

	// Homepage buckets equal height
	$('#buckets .col .inner').equalHeights(); 
});

