$(document).ready(function() {
						   
if($("#holder").height() > 0){
	//alert("DING");
	var ContHeight = $("#holder").height();
//alert(ContHeight+181);
	$("#footer").css("top", ContHeight+181 + "px");
}
						   
$("#twitter").getTwitter({
		userName: "ERICGREITENS",
		numTweets: 1,
		loaderText: "Loading tweets...",
		slideIn: false,
		showHeading: true,
		showProfileLink: false
	});
				   

var thisID = $("#nav div.active img").attr("id");

$("#nav div.active img").attr("src", "images/"+ thisID +"_active.png");

$("#nav div img:not(#nav div.active img)").hover(function () {
	thisID = $(this).attr("id");					  
    $(this).attr("src", "images/"+ thisID +"_hover.png");
  }, 
  function () {
	thisID = $(this).attr("id");
    $(this).attr("src", "images/"+ thisID +".png");
  }
);


});