function sSWITCH2 (newID) {
	$("form#sFORM div.filterbar div.tabs div[class=itemb]").each(
		function (i) { $(this).attr({"class" : "item"}); }
	);
	$("#sdiv_" + newID).attr({"class" : "itemb"});
	
	if (sTABS[newID] != null) {		
		$("#sWHERE").stop().animate({
			width : (sTABS[newID]['where'] == 1 ? "0px" : "155px"),
			opacity : (sTABS[newID]['where'] == 1 ? 0 : 1)
		},"fast", "linear",
		function () {
			$("#sWHERE").css({width : (sTABS[newID]['where'] == 1 ? "0px" : "155px"), opacity : (sTABS[newID]['where'] == 1 ? 0 : 1)});
		});
		
		$("#sORDER").stop().animate({
			width : (sTABS[newID]['order'] == 1 ? "0px" : "155px"),
			opacity : (sTABS[newID]['order'] == 1 ? 0 : 1)
		},"fast", "linear",
		function () {
			$("#sORDER").css({width : (sTABS[newID]['order'] == 1 ? "0px" : "155px"), opacity : (sTABS[newID]['order'] == 1 ? 0 : 1)});
		});
		
		$("#sOLD").stop().animate({
			width : (sTABS[newID]['old'] == 1 ? "0px" : "155px"),
			opacity : (sTABS[newID]['old'] == 1 ? 0 : 1)
		},"fast", "linear",
		function () {
			$("#sOLD").css({width : (sTABS[newID]['old'] == 1 ? "0px" : "155px"), opacity : (sTABS[newID]['old'] == 1 ? 0 : 1)});
		});
		
		var sCount = 0;
		
		if (sTABS[newID]['ob_date'] == 1) { $("#ob_date").attr({disabled : "disabled"}); sCount++;}
		else { $("#ob_date").removeAttr("disabled"); }
		
		if (sTABS[newID]['ob_title'] == 1) { $("#ob_title").attr({disabled : "disabled"}); sCount++;}
		else { $("#ob_title").removeAttr("disabled"); }
		
		if (sTABS[newID]['ob_author'] == 1) { $("#ob_author").attr({disabled : "disabled"}); sCount++;}
		else { $("#ob_author").removeAttr("disabled"); }
		
		//$("select[name=order_by]").stop().animate({ opacity : (sCount == 3 ? 0.5 : 1) });
		if (sCount == 3) { $("select[name=order_by]").attr({disabled : "disabled"}); }
		else { $("select[name=order_by]").removeAttr("disabled"); }
	}
}
