$(document).ready(function() {


$('#logo a').append('<span class="hover"></span>').each(function () {
	  		var $span = $('> span.hover', this).css('opacity', 0);
	  		$(this).hover(function () {
	    		$span.stop().fadeTo(500, 1);
	 		}, function () {
	   	$span.stop().fadeTo(500, 0);
	  		});
		});


	$('.morebutton').append('<span class="hover"></span>').each(function () {
	  		var $span = $('> span.hover', this).css('opacity', 0);
	  		$(this).hover(function () {
	    		$span.stop().fadeTo(500, 1);
	 		}, function () {
	   	$span.stop().fadeTo(500, 0);
	  		});
		});


$('#hp_slider ul').after('<div id="pager_nav">').cycle({
 fx: 'turnDown', // choose your transition type, ex: fade, scrollUp, shuffle, etc...
  pager:  '#pager_nav',
  cleartype:       !$.support.opacity,
  timeout: 5000,
  pause: 1
 });
 $('#hp_twitter ul').cycle({cleartype:true, cleartypeNoBg:   false, timeout:  5000 });
 $('#hp_twitter ul li a').attr({ target: "_blank" });
$('table.event > tbody > tr > td:odd').addClass("data");
	$('table.event > tbody > tr > td:even').addClass("label");	

$('.post a').filter(function() {

    return this.hostname && this.hostname !== location.hostname;

  }).addClass(' external_link').attr({target: "_blank",title: "Opens in a new window"});
$('.rssimport li a').filter(function() {

    return this.hostname && this.hostname !== location.hostname;

  }).addClass(' external_link').attr({target: "_blank",title: "Opens in a new window"});

 $('h3 a').removeClass('external_link');
 $('a.a2a_dd').removeClass('external_link');
  $('.sociable a').removeClass('external_link');
$('.post img').parent().removeClass('external_link');
 $(".more span img").hover(
  function () {
    $(this).animate({'opacity':"0"}, 200);
  },
  function () {
    $(this).animate({'opacity':"100"}, 100);
  }
);

 
 $(function () {
	$('.follow_icon a').hover(function() {
		$(this).fadeTo("fast", 0.7);
	}, function() {
		$(this).fadeTo("fast", 1);
	});
});
  $(function () {
	$('#footer_col3 a').hover(function() {
		$(this).fadeTo("fast", 0.7);
	}, function() {
		$(this).fadeTo("fast", 1);
	});
});
 
});
 
