$(document).ready(function(){ 

	/* Open offsite links in new window */
	$("a[href*='http://']:not([href*='"+location.hostname+"'])").on('click', function(){
		window.open(this.href);
		return false;
	});

});
