/*******************************************************
_showElements is a function that shows a div element by
 setting its display property
 This function takes in a argument list (names is just a place holder) 
 and loops thru all the arguments, checks if they really are an object
 and makes their display as inline
*******************************************************/

function _showElements(names) 
{ 
	var e; 
	for (var i = 0; i < arguments.length; i++) 
	{ 
		e = document.getElementById(arguments[i]); 
		if (e) 
		{
			e.style.display = 'inline'; 
		}
	} 
} 
/*****************************************************
_hideElements is opposite of _showElements
*****************************************************/
function _hideElements(names) 
{ 
	var e; 
	for (var i = 0; i < arguments.length; i++) 
	{ 
		e = document.getElementById(arguments[i]); 
		if (e) 
		{
			e.style.display = 'none'; 
		}
	} 
}

