function displaySection(showID,hideIdArray){
	var hideElements = hideIdArray.split(",");
	for(i=0;i<hideElements.length;i++){
		document.getElementById(hideElements[i]).style.display='none';
	}
	document.getElementById(showID).style.display='';
}

function validateSearchField(searchFieldId,displayMessage){
	var fieldContent = document.getElementById(searchFieldId).value;
	if(fieldContent.length==0){
		alert(displayMessage);
		return false;
	}else{
		return true;	
	}
}

function supportGroupJump(supportGroupID){
	var sGroup = document.getElementById(supportGroupID).value;
	if(sGroup!=''){
		document.location.href='support_advocacy.php?sgroup='+sGroup;	
	}
}
