function switchTab(title,tab,count,id)
{
	for(var i=0;i<count;i++)
	{
	
	document.getElementById(tab+i).style.display="none";
	document.getElementById(title+i).className="0";
	}
	document.getElementById(tab+id).style.display="block";
	document.getElementById(title+id).className="active";
}


var activeServicesTabID="Tab1";
function ActiveServicesTab(newActiveTabID)
{

if(newActiveTabID!=activeServicesTabID)
{
document.getElementById(newActiveTabID).className=newActiveTabID+"ON"; //active
document.getElementById(newActiveTabID+"Content").style.display="block";
document.getElementById(activeServicesTabID).className=activeServicesTabID+"OFF"; //inactive tab-top1-inactive
document.getElementById(activeServicesTabID+"Content").style.display="none";
activeServicesTabID=newActiveTabID;
}
}
