$(document).ready(function() {
	$("a.lightbox").lightBox();
	
	$("#left li a").live("mouseover", function() {
		$(this).animate({ opacity: 0 }, 200).animate({ opacity: 1 }, 200);
	});
	
	$("#left li a.ajax").live("click", function() {
		$(".active").removeClass("active");
		$(this).addClass("active");
		
		$.get($(this).attr("href"), { ajax: true }, function(html) {
			$("#right").html(html);
			$("#right_wrapper").redrawShadow();
			$("a.lightbox").lightBox();
			$("h2").prepend('<img src="ef.png" style="float: left; width: 52px; height: 26px;" />');
			$("img").pngfix();
		});
		
		return false;
	});
	
	$("a.ajax").live("click", function() {
		$.get($(this).attr("href"), { ajax: true }, function(html) {
			$("#right").html(html);
			$("#right_wrapper").redrawShadow();
			$("a.lightbox").lightBox();
			$("h2").prepend('<img src="ef.png" style="float: left; width: 52px; height: 26px;" />');
			$("img").pngfix();
		});
		
		return false;
	});
	
	$("h2").prepend('<img src="ef.png" style="float: left; width: 52px; height: 26px;" />');
	
	$("#right_wrapper").dropShadow();
});