$(document).ready(function(){

	$( function() {
		$("img.rollover").hover(
			function() { this.src = this.src.replace("-off","-on"); },
			function() { this.src = this.src.replace("-on","-off"); }
		);
	});

	$( function() {
		$("#nav1").hover(
			function(){ $("#red").show(); },
			function(){ $("#red").hide(); }
		);
	});

	$( function() {
		$("#nav2").hover(
			function(){ $("#blue").show(); },
			function(){ $("#blue").hide(); }
		);
	});

	$( function() {
		$("#nav3").hover(
			function(){ $("#green").show(); },
			function(){ $("#green").hide(); }
		);
	});

	$( function() {
		$("#nav4").hover(
			function(){ $("#yellow").show(); },
			function(){ $("#yellow").hide(); }
		);
	});



	$("a.about").click(function () {
      $(".description").toggle("slide", { direction: "left" }, 700);
	});


	$("a.close").click(function(){
      $(".description").toggle("slide", { direction: "left" }, 350);
	});

	$("#imgnext").click(function(){
      $(".description").hide();
	});




	$(".who-is").click(function(){
		$(".who-is-berger").slideToggle("slow");
	});


});


