$(document).ready(function(){
						   
	//$('.fancybox').fancybox({ 'titlePosition': 'inside' }); 
	
	//$('a[href^="http://"]').attr("target", "_blank");
	$('.blank').attr('target','_blank');
	
	$("ul li:first-child").addClass('first');
	$("ul li:last-child").addClass('last'); 
	
	/*
	
	$("ul li:nth-child(odd)").addClass('odd');
	$("ul li:nth-child(even)").addClass('even');	

*/	
	$('.cycle').cycle({ 
		fx:    'fade',
		speed:  1000, 
		timeout: 4000,
		random: true
	});


	
	/* home li click */
	$("ul.home li").click(function () { 
		var href = $(this).find("a").attr('href');
		window.location = href;
	});

	/* subnav indent on hover */
	$("#subnav a").hover(function(){
		$(this).stop().animate({
			paddingRight: "10px"
		}, 300);
	}, function(){
		$(this).stop().animate({
			paddingRight: "0px"
		}, 300);
	}); 
	
});
