function switchTab(targetId) {
	
	$(".tab li").attr("class","taboff");

	$(this).closest(".taboff").attr("class", "tabon");

	$(".tabs div.show").removeClass("show").attr("class","hide");
	
	$(document.getElementById(targetId)).attr("class", "show");
}

function tabOn(select) {
	$(select).parent().attr("class", "tabon");
}
