$(document).ready(function(){

	$("#left_nav").find("li.level1notselected").hover(function() {
		$(this).addClass("hover");
		$(this).find("img.off").css('display','none');
		$(this).find("img.on").css('display','block');
	},function(){
		$(this).find("img.off").css('display','block');
		$(this).find("img.on").css('display','none');
		$(this).removeClass("hover");
	});
	
	$("#left_nav").find("li.level2notselected").click(function() {
		document.location=$(this).find("a").attr('href');
	});
	
	$("#left_nav").find("li.level2notselected").hover(function() {
		//IE6 /blank.gif caused by pngfix.htc workaround
		if ($(this).find("img:first").attr('src')=="/blank.gif") {
			var str=$(this).find("img").css('filter'), re=/src="([^\"]+)"/;
			test=re.exec(str);
			$(this).css('backgroundImage',"url('"+test[1]+"')");
		} else {
			$(this).css('backgroundImage',"url('"+$(this).find("img:first").attr('src')+"')");
		}
		$(this).css('background-color','#EBEEED'); 
		$(this).find("a").css('color',$(this).find("img").css('color'));	
	},function(){
		$(this).css('backgroundImage',"url('')");
		$(this).css('background-color','');
		$(this).find("a").css('color','#465B64');	
	});
		
});