$(document).ready(function() {
  $('#social_delicious').attr('href', "http://del.icio.us/post?url=" + window.location + "&title=" + document.title)
  $('#social_stumble').attr('href', "http://www.stumbleupon.com/submit?url=" + window.location + "&title=" + document.title);
  $('#social_digg').attr('href', "http://digg.com/submit?phase=2&url=" + window.location + "&title=" + document.title);
  $('#social_twitter').attr('href', "http://twitthis.com/twit?url=" + window.location);
  $('#social_mixx').attr('href', "http://www.mixx.com/submit?page_url=" + window.location + "&title=" + document.title);
  $('#social_technorati').attr('href', "http://technorati.com/faves?add=" + window.location);
  $('#social_facebook').attr('href', "http://www.facebook.com/sharer.php?u=" + window.location + "&t=" + document.title);
  $('#social_newsvine').attr('href', "http://www.newsvine.com/_tools/seed&save?u=" + window.location + "&h=" + document.title);
  $('#social_reddit').attr('href', "http://reddit.com/submit?url=" + window.location + "&title=" + document.title);
  $('#social_linkedin').attr('href', "http://www.linkedin.com/shareArticle?mini=true&url=" + window.location + "&title=" + document.title);
  $('#social_email').attr('href', "mailto:?subject=" + document.title + "&body=" + window.location);

  $("#twitter").getTwitter({
		userName: "jondeveloper",
		numTweets: 5,
		loaderText: "Loading tweets...",
		slideIn: true,
		showHeading: false,
		//headingText: "Latest Tweets",
		showProfileLink: false
	});

  $(".tag_panel .links a").tagcloud({
     size: {
       start: 10,
       end: 25,
       unit: 'px'
     },
     color: {
       start: "#CDE",
       end: "#FS2"
     }
  });

	
});

$(window).load(
  function() {
    //$('.ajax_loader').hide();
    //$('.images_area').fadeIn("fast");
  }
);

function mouseOverImage(img) {
  img.css('filter', 'alpha(opacity=100)');
  img.css('-khtml-opacity', '1');
  img.css('opacity', '1');
  img.css('-moz-opacity', '1');
}

function mouseOutImage(img) {
  img.css('filter', 'alpha(opacity=40)');
  img.css('-khtml-opacity', '0.4');
  img.css('opacity', '0.4');
  img.css('-moz-opacity', '0.4');
}
