$(document).ready( function(){
		//rounded right content window plugins
		$('.rounded').corners();
		$('.scroll-pane').jScrollPane();
		//for tabbing sections off on pages
		$("ul#tabs").tabs("div#sections > div", {effect: 'fade', fadeOutSpeed: 400});
		
		//accordian menu expanded depending on section
		$(".home .item ul").hide();
		$(".page-id-13 #about ul, .parent-pageid-13 #about ul").hide();
		$(".page-id-2 #education ul, .parent-pageid-2 #education ul").hide();
		
		$(".item").hover(
		  function () {
			$(this).children("ul").slideDown();
		  },
		  function () {
			$(this).children("ul").slideUp();
		  }
		);
		
		//inks animation on home page
		$(".ink").mouseover(function(){
			  $(this).animate({
		      		marginTop: "-=60px"
				 }, 500);
			});
		$(".ink").mouseout(function(){
			$(this).animate({
		      	marginTop: "+=60px"
			 }, 500);
		});
		
		/*
		$("#twitter").hover(
			function(){
			  $(this).animate({
		   		  	marginTop: "-=150px",
					height:500
				 }, 500);
		},
			function(){
			$(this).animate({
				marginTop: "+=150px",
				height:130
			 }, 500);
		});
		*/
});

Shadowbox.init({
	handleOversize: "resize",
});	
