function show(close_id, className1, className2) {
	var close = document.getElementById(close_id);
	
	if (close.className == className1) {
		close.className = className2;
	}else { 
		close.className = className1;
	}
};

$(document).ready(function(){
	
	$('#menu A,.left-column UL A').click(function(){
		var anchors = $(this).attr('href').split('#');
		if (anchors.length == 3) { //Sub Drop
			$('#'+anchors[1]).attr('class','yellow-drop-down drop-block');
			location.hash = anchors[2];
		}else if (anchors.length == 2) {
			$('#'+anchors[1]).attr('class','yellow-drop-down drop-block');
		}
	});
	
	$('.menu').hover(
		  function () {
			$(this).css("z-index", 101);
		  },
		  function () {
			$(this).css("z-index", 2);
		    }
	);
	$('#menu').hover(
		  function () {
			$(this).css("z-index", 101);
		  },
		  function () {
			$(this).css("z-index", 2);
		    }
	);
	$('#wrapper').hover(
		  function () {
			$(this).css("z-index", 10);
		  },
		  function () {
			$(this).css("z-index", 1);
		    }
	);


});
