$(document).ready(function(){
	var fadeDuration = 250; //time in milliseconds
	
	$("ul.sf-menu").superfish({
    	animation:   {height:'show'},  // fade-in and slide-down animation
    	speed:       'fast'
    });
	
	$('.tddrecentposts li a').hover(function(){
	    $(this).animate({ paddingLeft: '10px' }, fadeDuration);
      }, function() {
        $(this).animate({ paddingLeft: '0px' }, fadeDuration);
    });
    $('.blogroll li a').hover(function(){
	    $(this).animate({ paddingLeft: '10px' }, fadeDuration);
      }, function() {
        $(this).animate({ paddingLeft: '0px' }, fadeDuration);
    });
    $('.categoryList li a').hover(function(){
	    $(this).animate({ paddingLeft: '10px' }, fadeDuration);
      }, function() {
        $(this).animate({ paddingLeft: '0px' }, fadeDuration);
    });
    $('.sf-menu li ul li a').hover(function(){
	    $(this).animate({ paddingLeft: '2em' }, fadeDuration);
      }, function() {
        $(this).animate({ paddingLeft: '1em' }, fadeDuration);
    });
    
	$('.image img').hover(function() {
			$(this).stop().fadeTo(300, 0.3);
		}, function() {
			$(this).stop().fadeTo(300, 1);
	});
	$('.siteofthemonth img').hover(function() {
			$(this).stop().fadeTo(300, 0.3);
		}, function() {
			$(this).stop().fadeTo(300, 1);
	});
	$("#twitter").getTwitter({
		userName: "csslovely",
		numTweets: 7,
		loaderText: "Loading tweets...",
		slideIn: false,
		showHeading: false,
		headingText: "Latest Tweets",
		showProfileLink: false
	});


});
