$(document).ready(function(){

 $("#slider").easySlider({
  controlsShow: true,
  controlsBefore: '<div class="paging">',
  controlsAfter:  '</div>',
  auto: true,
  pause: 6000,
  speed: 800,
  continuous: true,
  numeric: true,
  numericId: 'controls'
 });

function showHeight(ele, h) {
      $("div.dd").text("The height for the " + ele + 
                    " is " + h + "px.");
}

function doit() {
      showHeight("blockquote", $("blockquote:eq(0)").outerHeight());
	  $("blockquote:eq(0)").css({float: "right",margin: "20px -190px -10px 14px"}); 
	  	  var spanstuff = $("blockquote:eq(0)").outerHeight();
	  $("span:eq(0)").css({width: "135px", display: "block"}); 
	  $("span:eq(0)").height(spanstuff); 
}

doit();
  // Reset Font Size
  var originalFontSize = $('.holder').css('font-size');
  $(".resetFont").click(function(){
  $('.holder').css('font-size', originalFontSize);
doit();

  });
  // Increase Font Size
  $(".increaseFont").click(function(){
  	var currentFontSize = $('.holder').css('font-size');
 	var currentFontSizeNum = parseFloat(currentFontSize, 10);
    var newFontSize = currentFontSizeNum*1.2;
	$('.holder').css('font-size', newFontSize);

doit();

	return false;
  });
  // Decrease Font Size
  $(".decreaseFont").click(function(){
  	var currentFontSize = $('.holder').css('font-size');
 	var currentFontSizeNum = parseFloat(currentFontSize, 10);
    var newFontSize = currentFontSizeNum*0.8;
	$('.holder').css('font-size', newFontSize);

doit();

	return false;
  });
 
$("img.captions").captions();

$('#footerup').stop().animate({ bottom: "-60px" }, 2000, function() {});
$("#footerup").mouseover(
		function() {
			$("#footerup").stop().animate({bottom: "0px" }, {duration:250});
		}
);		
$("#footerup").mouseout(
		function() {
			$("#footerup").stop().animate({ bottom: "-60px" }, {duration:2000});
		}
);

}); //end cisite