function viewSection(vID){

	var tabObj,sctObj,i,imgSrc,tmpObj;

	for (i=1;i<=15;i++){
		
		sctObj = "sctCont"+i;
		tabObj = "sctTab"+i;
		
		if (document.getElementById(sctObj)){

			tmpObj = document.getElementById(tabObj);
			if(tmpObj ==null) continue;
			imgSrc = tmpObj.src;		
						
			if (vID==i){
				tmpObj.src = imgSrc.replace("Off.jpg","On.jpg")
				showPageObj(sctObj);
			}
			else
			{
				tmpObj.src = imgSrc.replace("On.jpg","Off.jpg")
				hidePageObj(sctObj);
			}
		}
	}		
}

function showPageObj(item)
{
	obj = document.getElementById(item);
	obj.style.display = 'block';	
}

function hidePageObj(item)
{
	obj = document.getElementById(item);
	obj.style.display = 'none';	
}

function extend(obj) {
	if (document.getElementById(obj).style.display == "none") {
		document.getElementById(obj).style.display = "block";
	} else {
		document.getElementById(obj).style.display = "none";
	}
}


