/**
 * Shows the hidden divs that need to be displayed based on
 * what the current page is.
 */
function activateDocPage() {
	var currentElement = $('currentHelpItem'); 
	var ancestors = currentElement.ancestors();
	
	for (i=0; i<ancestors.length; i++) {
		if (!ancestors[i].visible()) {
			ancestors[i].show();
		} 
	} 
}

/**
 * Used to make outputting to the FireBug window easier :)
 * @param string What to output
 */
function debug(message)
	{
	if (typeof console != 'undefined' && typeof console.debug != 'undefined')
		{
		console.info(message); 
		}
	}