var maxTabs=2; //most tabs used on all page sections


/********************* switchContent *******************/
function indextab(num){
	
	for(i=1;i<3;i++){ //loop through tabs
		secObj = getEl("indexcontainer_"+(i)); //get div by id
		if(i==num&&secObj){ //if active tab and object exists
			secObj.style.display = "inline"; //show block for tab
		} else if (secObj) {//if inactive tab and it exists
			secObj.style.display = "none";	//hide content for inactive tabs			 	
		}	
	}		

}

