function changeClient(highlight,pic) {	
	/*
	//change selected state
	current = document.getElementsByTagName('a');
	for(i=0;i<current.length;i++){
		if(current[i].className == 'active'){
			current[i].className = 'normal';
		}
	}
	highlight.className = 'active';
	*/
	
	//change image
	currentimg = document.getElementById('feature');
	currentimg.src = pic;
	
}

function changePage (idBase, totPages, curPage, theElement, theDiv) {
	for (i=1; i<=totPages; i++ )
	{
		document.getElementById(idBase+i).style.display = "none";
	}
	document.getElementById(idBase+curPage).style.display = "block";

	var children = document.getElementById(theDiv).childNodes;
	for(var i=0; i<children.length; i++){
		if (children[i].nodeType == 1) {
		children[i].className="";
		}
	}
	document.getElementById(theElement).className = "active";
}


