$(document).ready(function(){
	var page = window.location.pathname.toString();
	$("#header ul li a").each(function(){
		var href = $(this).attr("href");
		if(href == page) {
			$(this).addClass("current");
		}
	});
	$("a").each(function(){
		var self = $(this);
		
		if(!self.hasClass("thickbox")) {
			self.attr("title", $(this).text());
		}
	});
});