$(document).ready(function() {
		
	/* Enter the Cufon */
	Cufon.replace(".data strong, .data em, .intro h1, .intro-2 h1, em.relate, .content h1", { fontFamily: 'Helvetica Neue LT Std' });
	Cufon.replace(".title-1m h1, .title-2m h2, .title-3m h3, .title-1g h1, .extra-content h4, .inset em");
	
	/* Button Hover */
	$(".button a, .browse a, .view a, .archive a, .subscribe-form .row a, .form-contact .row a, ul.sponsors-list li, .items-list li a.btn-4, .articles-list.al-1 a.btn-1").hover(function(){
		$(this).stop(true, true);
    	$(this).fadeTo("fast", 0.8);
	},
	function(){
		$(this).fadeTo("fast", 1.0);
	});
	
	/* Latest News Padding */
	var hLatestNews = $(".latest-article .data").height();
	var cLatestNews = {
		'padding-top' : + hLatestNews + 'px'
	}
	$(".latest-article .sep-info").css(cLatestNews);
	
	/* News Article Padding */
	var hNewsArticle = $(".description-1g .data").height();
	var cNewsArticle = {
		'margin-top' : '-' + hNewsArticle + 'px'
	}
	$(".description-1g .inset-1g").css(cNewsArticle);
	
	/* Email Popdown */
	$("a.doPopdown").click(function(){
		$(".popdown").animate( { height:"97px" }, 400 )
	});
	$(".popdown em.close").click(function(){
		$(".popdown").animate( { height:"0px" }, 400 )
	});
	
	/* Facts Scroller */
	$("li#scroll-1").click(function(){
		$(".inset li").removeClass();
		$(this).addClass("active");
		$(".scroller").animate( { left: "0px" }, 400);
	});
	$("li#scroll-2").click(function(){
		$(".inset li").removeClass();
		$(this).addClass("active");
		$(".scroller").animate( { left: "-160px" }, 400);
	});
	$("li#scroll-3").click(function(){
		$(".inset li").removeClass();
		$(this).addClass("active");
		$(".scroller").animate( { left: "-320px" }, 400);
	});
	
	/* Fancyzoom */
	$("a#memberbox").fancybox({ 'frameWidth': 840, 'frameHeight': 620 });
	
	/* Odds */
	$(".extra-articles .col:even").addClass("clear");
	
});