//javascript tabs with no ajax

function tabs(tabid, numtabs)
{
	var tabClassSetter;
	var tabhead= "tabhead";
	var tabBottom= "tabBottom";
	//set tab head to selected for tab that was clicked
	for(i=0; i<numtabs; i++)
	{
		var top=document.getElementById(tabhead+i);
		top.className= "";
		var bottom=document.getElementById(tabBottom+i);
		bottom.className= "";
		bottom.className="contentstyleNone";
	}
	tabClassSetter=document.getElementById(tabhead+tabid).className= "selected";
	tabClassSetter=document.getElementById(tabBottom+tabid).className= "contentstyleHome";


}

