$(document).ready(function () {
	$("#browseTheme img").hover(
		function () {
			$("#browseTheme").addClass("browseCategoryOver");
			$(this).attr("src", "/img/browse_theme_over.gif");
		},
		function () {
			$("#browseTheme").removeClass("browseCategoryOver");
			$(this).attr("src", "/img/browse_theme.gif");
		}
	);

	$("#browseLocation img").hover(
		function () {
			$("#browseLocation").addClass("browseCategoryOver");
			$(this).attr("src", "/img/browse_location_over.gif");
		},
		function () {
			$("#browseLocation").removeClass("browseCategoryOver");
			$(this).attr("src", "/img/browse_location.gif");
		}
	);

	$("#browseYear img").hover(
		function () {
			$("#browseYear").addClass("browseCategoryOver");
			$(this).attr("src", "/img/browse_year_over.gif");
		},
		function () {
			$("#browseYear").removeClass("browseCategoryOver");
			$(this).attr("src", "/img/browse_year.gif");
		}
	);

	$("#browseRecentUpload img").hover(
		function () {
			$("#browseRecentUpload").addClass("browseCategoryOver");
			$(this).attr("src", "/img/browse_recent_upload_over.gif");
		},
		function () {
			$("#browseRecentUpload").removeClass("browseCategoryOver");
			$(this).attr("src", "/img/browse_recent_upload.gif");
		}
	);

/*
	if ($.browser.mozilla or $.browser.msie)
	{
		$("#browsePhotos div.photo").dropShadow();
	}
*/
});
