$(document).ready(function() {
	$("#main-navigation a").mouseover(function() {
		var strSRC = $("img",this).attr("src");
		$("img",this).attr("src",strSRC.replace("OFF.","ON."));
		delete strSRC;
	}).mouseout(function() {
		var strSRC = $("img",this).attr("src");
		$("img",this).attr("src",strSRC.replace("ON.","OFF."));
		delete strSRC;
	});
	$("a.colorbox").colorbox({transition:"none"});
	$(".audio-file a").colorbox({iframe:true, innerWidth:490, innerHeight:144});
	$("#media-list-content h4 a").toggle(function() {
		var strCategory = $(this).attr("class");
		$("#media-list-content div."+strCategory).slideDown("fast");
		delete strCategory;
		return false;
	}, function() {
		var strCategory = $(this).attr("class");
		$("#media-list-content div."+strCategory).slideUp("fast");
		delete strCategory;
		return false;
	});
});