$(document).ready(function() {

	
	$('#mainNav ul li ul li:first-child').addClass('first');
	$('#mainNav ul li ul li:last-child').addClass('last');
	

	$('#mainNav ul li').hover(
		function(){
			$(this).find('ul:first').stop(true, true).fadeIn();
		},
		function(){
			$(this).find('ul:first').stop(true, true).hide();
		}
	);
	
	/*
	$('#socialMedia ul li a').css({"opacity" : 1}).hover(function(){ 
		$(this).stop().animate({"opacity" : .4}, 300); 
		}, function(){
		$(this).stop().animate({"opacity" : 1}, 200); 
		});
	*/
		
	$("#twitterFeed").tweet({
            username: "fuseott",
            join_text: "auto",
            avatar_size: null,
            count: 4,
            auto_join_text_default: "", 
            auto_join_text_ed: "",
            auto_join_text_ing: "",
            auto_join_text_reply:"",
            auto_join_text_url: "",
            loading_text: "loading tweets..."
     });

});
