﻿//Tabs
var activeServicesTabID="tab-top1";
	
	function ActiveServicesTab(newActiveTabID)
	{
	    if(newActiveTabID=="0" || newActiveTabID==null)
	    {
	        var hdQueryString = document.getElementById("hdQueryString");
	        if(newActiveTabID=="0")
	            newActiveTabID= hdQueryString.value;
	    }

	    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;
	    }
	}
	
	
