$(document).ready(function () {	
	/* CONFIG */		
		xOffset = 8;
		yOffset = 16;		
				
	$("a.tooltip").hover(function(e){											  
		this.t = this.title;
		this.title = "";									  
		$("body").append("<p id='tooltip'>"+ this.t +"</p>");
		$("#tooltip")
			.css("top",(e.pageY - xOffset) + "px")
			.css("left",(e.pageX + yOffset) + "px")
			.fadeIn("fast");		
    },
	function(){
		this.title = this.t;		
		$("#tooltip").remove();
    });	
	$("a.tooltip").mousemove(function(e){
		$("#tooltip")
			.css("top",(e.pageY - xOffset) + "px")
			.css("left",(e.pageX + yOffset) + "px");
	});			
});

$(document).ready(function () {
$(".filt-l, .close-pan a").click(function() {
		if($(".brows-cont").is(':hidden')){ //if quick menu isn't visible 
			$(".brows-cont").slideToggle("fast"); //show menu on click
$(this).addClass("hide_pan"); 
			
		}
		else if ($(".brows-cont").is(':visible')) { //if quick menu is visible 
			$(".brows-cont").slideToggle("fast"); //hide menu on click
			$(this).addClass("hide_pan"); 

    }
	});
});



