/**
 *
 * @created on 16/02/2007
 * @author Mike Kelly
 * @contact mikee@whatsthat.co.nz
 *
 * Relies on prototype
 * would be better to make it based on jquery as the slideshow uses that as well
 * maybe two functions, one for each
 **/

function showPage(showPageId, pageCount, pageCssId)
{
	// hide all
	for (var i = 0; i < pageCount; i++)
	{
		//Element.hide($(pageCssId+(i+1)));
		$(pageCssId+(i+1)).style.display = 'none';
	}

	// show current
	$(pageCssId+showPageId).style.display = 'block';

	// disable the link
	return false;
}