// JavaScript Document
function makeWide() {
	$(this).animate({
		width: "280px"			
					});
	$(this).children('h2').addClass('open');
}

function makeNormal() {
	$(this).animate({
		width: "140px"			
					});
	$(this).children('h2').removeClass('open');
}


$(document).ready(function(){					   
	$(".slidebox").hoverIntent( makeWide, makeNormal );
	$("#welcome_column h1").css("opacity", 0);
	$("#welcome_column h1").animate({
									opacity:  1
									}, 2000);
	$('#carousel').jcarousel({
			visible:'1',	
			scroll:1,
			auto:30,
			wrap:'both',
			buttonNextHTML:	'<a href="#" id="next_slide_btn">Next Publication</a>',
			buttonPrevHTML:	'<a href="#" id="prev_slide_btn">Previous Publication</a>'
										});
		$('#next_slide_btn').click(function(){
							return false; 
							 });
		$('#prev_slide_btn').click(function(){
							return false; 
							 });
	
					   });