/********************* Tab Strip Navigation *************/
/* Function used to hilite the current button           */
/* Takes 2 parameters:																	*/
/* 1-ID of the tab to be hilited     										*/
/* 2- position of the button from left, starting at 0   */
/*    ::To be used with prototype and toggleLayer:: 		*/
/* Author: Christian Dumais                             */
/********************************************************/
/* trimModelKey (Displayed Trim model) reside in toggleLayer.js, sets to 0 by default */
function ts_tabHilite(ts_thisTab,pos){
	showAllSG(); /* Change Display to block for the entire Spec Group for the current model trim before switching to the next model trim */
	$('ds_drDnHdTxt'+trimModelKey).innerHTML = "All Specifications";
	var ts_btnWidth=(pos==0)?183:181; /* Button Width */
	var btn = $("ts_btnTabHilite");
	var divToShow = $("modelTrim"+pos);
	btn.style.display="block";
	btn.style.left=(ts_btnWidth*pos) + "px";
	btn.innerHTML = "<a href='javascript:void(0)'>" + $(ts_thisTab).innerHTML + "</a>";
	/* Div content visibility function call below */
	$("modelTrim"+trimModelKey).style.display="none";/* Hide previous model Trim div */
	divToShow.style.display="block";/* Display Model Trim div associated with the selected Tab */
	trimModelKey = pos; /* Sets the current Model Trim position */
	adjustFooter();
}