/**
 * @author fabianglace
 */
$(document).ready(function(){
    //Chang the opacity of the main menu drops
    $(".print").mouseover(function () {
      $(".web").fadeOut("slow");
	  $(".audio").fadeOut("slow");
	  $(".video").fadeOut("slow");
	  $(".gallery").fadeOut("slow");
    });
	$(".print").mouseout(function () {
      $(".web").fadeIn("slow");
	  $(".audio").fadeIn("slow");
	  $(".video").fadeIn("slow");
	  $(".gallery").fadeIn("slow");
    });
	$(".web").mouseover(function () {
      $(".print").fadeOut("slow");
	  $(".audio").fadeOut("slow");
	  $(".video").fadeOut("slow");
	  $(".gallery").fadeOut("slow");
    });
	$(".web").mouseout(function () {
      $(".print").fadeIn("slow");
	  $(".audio").fadeIn("slow");
	  $(".video").fadeIn("slow");
	  $(".gallery").fadeIn("slow");
    });
	$(".audio").mouseover(function () {
      $(".web").fadeOut("slow");
	  $(".print").fadeOut("slow");
	  $(".video").fadeOut("slow");
	  $(".gallery").fadeOut("slow");
    });
	$(".audio").mouseout(function () {
      $(".web").fadeIn("slow");
	  $(".print").fadeIn("slow");
	  $(".video").fadeIn("slow");
	  $(".gallery").fadeIn("slow");
    });
	$(".video").mouseover(function () {
      $(".web").fadeOut("slow");
	  $(".audio").fadeOut("slow");
	  $(".print").fadeOut("slow");
	  $(".gallery").fadeOut("slow");
    });
	$(".video").mouseout(function () {
      $(".web").fadeIn("slow");
	  $(".audio").fadeIn("slow");
	  $(".print").fadeIn("slow");
	  $(".gallery").fadeIn("slow");
    });
	$(".gallery").mouseover(function () {
      $(".web").fadeOut("slow");
	  $(".audio").fadeOut("slow");
	  $(".video").fadeOut("slow");
	  $(".print").fadeOut("slow");	  
    });
	$(".gallery").mouseout(function () {
      $(".web").fadeIn("slow");
	  $(".audio").fadeIn("slow");
	  $(".video").fadeIn("slow");
	  $(".print").fadeIn("slow");	  
    });
	//Change the background color on the table links
	$(".links").hover(function () {
      $(this).css({ backgroundColor:"#a1e3f8"});
    }, function () {
      var cssObj = {
        backgroundColor: "#ededed"
      }
      $(this).css(cssObj);
    });
	


  });
