/*$(document).ready(
	function(){
	// This sets the opacity of the thumbs to fade down to 60% when the page loads
	$(".categ div").fadeTo("slow", 0.6);
	
	$(".categ td").hover(function(){
		$(".categ div").fadeTo("slow", 1.0); // This sets the opacity to 100% on hover
	},function(){
		$(".categ div").fadeTo("slow", 0.6); // This sets the opacity back to 60% on mouseout
	});
});*/


function reflect(i) {
	if ( navigator.appName != 'Microsoft Internet Explorer' ) {
		var img = document.getElementById("photo" + i);
		img.style.display = "none";
		
		var r = Raphael("holder" + i, 200, 200);
		
		r.image(img.src, 0, 0, 200, 150);
		r.image(img.src, 0, 150, 200, 150).scale(1, -1).attr({opacity: .5});
		var gradient = { type: "linear", dots: [{color: "#000", opacity: .1}, {color: "#000"}], vector: [0, 0, 0, "30%"] };
		r.rect(0, 150, 200, 160).attr({gradient: gradient});
		r.image.style = 'border: 1px solid #ddd';
	}
}

/*function catVisible(id) {
	$("#"+id).fadeIn("fast");
	//document.getElementById(id).style.display = '';
}

function catHide(id) {
	$("#"+id).fadeOut("slow");
	//document.getElementById(id).style.display = 'none';
}*/
