var gabs = new Array('gab1', 'gab2', 'gab3', 'gab4');function showGab(sab, gabName){	var gabToShow = document.getElementById(gabName);	for(i = 0; i< gabs.length; i++)	{		// Get the current panel		var curGab = document.getElementById(gabs[i]);		// If it exists, hide it		if (curGab != null)			curGab.style.display = 'none';	}	// This line works around a display bug in Gecko-based browsers	gabToShow.style.display = 'inline';	// Show the panel	gabToShow.style.display = 'block';	return false;}