$('#logo').click(function() {	
	//alert( $(window).height() );
});
$('.navpaddle').hover(
  function () {
    $(this).animate({ backgroundPosition:'0'},150);
  }, 
  function () {
    $(this).animate({ backgroundPosition:'-85'},300);
  }
);
$('body').hide();
$('body').ready(function(){ //your code here
	placewestie();
	$('body').fadeIn(500, function() {
        // something else?
      });
});
var placewestie = function(){ //your code here
	var westietop = $(window).height() - $('#westie').height();
	(westietop <= 85) ? westietop = 85 : westietop = westietop;
	$('#westie').css('top', westietop);
	//alert(westietop);
}
$(window).resize(function() {
	delay(function(){
      //alert('Resize...');
      placewestie();
    }, 500);
});
var delay = (function(){
  var timer = 0;
  return function(callback, ms){
    clearTimeout (timer);
    timer = setTimeout(callback, ms);
  };
})();
$('.content-sponsors').fadeTo(.01, .75);
$('.content-sponsors').hover(
  function () {
    $(this).fadeTo(.5, 1);
  }, 
  function () {
    $(this).fadeTo(.5, .75);
  }
);

