jQuery(document).ready(function() {

// vCard tooltip

jQuery("#vcard a").hover(function() {
	
	jQuery("#vcard .tooltip").fadeIn(300);

},function(){ 

	jQuery("#vcard .tooltip").fadeOut(300);

});

// Remove borders, etc

jQuery("#sites ul li:first a").css("border-top","0");

// Column heights

var content;
content = jQuery("#content").height();

var nav;
nav = jQuery("#navigation").height();

if(content < nav){
	jQuery("#content").height(nav + 254);
	jQuery("#logo").height(nav - 20);
	jQuery("#sites").height(nav - 400);
}
else {
	jQuery("#navigation").height(content - 254);
	jQuery("#logo").height(content - 40);
	jQuery("#sites").height(content - 60);
};

// Sites hover animation

   jQuery('#sites ul li a').css('background-color','#212121');

     jQuery('#sites ul li a').bind('mouseenter',function(){

      jQuery(this).stop().animate({
            backgroundColor: "#3c3c3c" }, 200)
      
    }).bind('mouseleave',function(){
    
        jQuery(this).stop().animate({
            backgroundColor: "#212121" }, 500)
    });

// Calendar Table
});