$(function() {
 	$('table img').animate({"opacity": 1 }); 				//get all img in container, animate them to opacity 1
    $('table img').hover(function() {  						//when you hover over img in container
                                               				//.stop() causes other actions to stop before animating
       $(this).stop().animate({ "opacity": .75 });			//when over make opacity .75
        }, function() {
            $(this).stop().animate({ "opacity": 1 });		//when taken off make opacity 1
        });
});

//Lightbox

$(function() {
	$('a.lightbox').lightBox(); 							// Select all links with lightbox class
});

//Style Switcher

$(function() {
// none
$("#css-zero").click(function() {
$("link[rel=stylesheet]").attr({href : "zero.css"});
});

// one
$("#css-one").click(function() {
$("link[rel=stylesheet]").attr({href : "css/style.css"});
});

// two
$("#css-two").click(function() {
$("link[rel=stylesheet]").attr({href : "css/style2.css"});
});

// three
$("#css-three").click(function() {
$("link[rel=stylesheet]").attr({href : "css/style3.css"});
});

// four
$("#css-four").click(function() {
$("link[rel=stylesheet]").attr({href : "css/big.css"});
});

// five
$("#css-five").click(function() {
$("link[rel=stylesheet]").attr({href : "css/big.css"});
});

});


