var abs = new Array('ab1', 'ab2', 'ab3', 'ab4');function showAb(bob, abName){	var abToShow = document.getElementById(abName);	for(i = 0; i< abs.length; i++)	{		// Get the current panel		var curAb = document.getElementById(abs[i]);		// If it exists, hide it		if (curAb != null)			curAb.style.display = 'none';	}	// This line works around a display bug in Gecko-based browsers	abToShow.style.display = 'inline';	// Show the panel	abToShow.style.display = 'block';	return false;}