jQuery(document).ready(function() {
	// ---------------- STATIC CONTENT ROLLOVER ---
	jQuery('.toggleContent').unbind("mouseover").mouseover(function() {
		var reference = jQuery('.toggleContentInner .text', this).html();
		jQuery('.toggleContentInner .text').stop().clearQueue().each(function() {
			var t = reference == this.innerHTML;
			if (t) jQuery(this).css("opacity", 1);
			jQuery(this).animate({height: t ? '302px' : '0px'}, "slow", "linear",
				function() { if (!t) jQuery(this).animate({opacity: 0}, 180); });
		});
		return false;
	});
	jQuery('.toggleContent').unbind("mouseleave").mouseleave(function() {
		jQuery('.toggleContentInner .text', this).stop().clearQueue().animate({height: '0px'}, "slow", "linear",
			function() { jQuery(this).animate({opacity: 0}, 180); });
		return false;
	});
});
