	$(document).ready(function () {
		
		$("#categories li:last").css ("border-bottom-width","0px");
		$("#archives li:last").css ("border-bottom-width","0px");
		$("#blogroll li:last").css ("border-bottom-width","0px");
		$("#pages li:last").css ("border-bottom-width","0px");
		
		/*Setting Up Height*/
		var catHeight = $("#categories").height();
		var arcHeight = $("#archives").height();
		if (catHeight>arcHeight){
			$("#archives").height(catHeight);
		}else if (catHeight>arcHeight){
			$("#categories").height(arcHeight);
		}
		
		var blgHeight = $("#blogroll").height();
		var pgeHeight = $("#pages").height();
		if (blgHeight>pgeHeight){
			$("#pages").height(blgHeight);
		}else if (pgeHeight>blgHeight){
			$("#blogroll").height(pgeHeight);
		}
		
		
		$("ul.idTabs li").mouseover(function(){
			$(this).addClass("hover");
		});
		$("ul.idTabs li").mouseout(function(){
			$(this).removeClass("hover");
		});
		
		var tabContainers = $('div.Tabs > div.insideTab > div');
		tabContainers.hide().filter(':first').show();
		
		$('ul.idTabs li').click(function () {
			tabContainers.hide();
			tabContainers.filter("#id" + $(this).attr('id') + "").show();
			$('ul.idTabs li').removeClass('selected');
			$(this).addClass('selected');
			return false;
		}).filter(':first').click();
		
		
	});