/////////////////////////////////////////////////////////////////////////////////////////////////////
// Developer	   : Chris Hack
// Date			    : 2007/09/06
// Description	: This module provides a code base for reusable utility classes and functions.
// Dependencies :
/////////////////////////////////////////////////////////////////////////////////////////////////////

/////////////////////////////////////////////////////////////////////////////////////////////////////
// Generic method for getting the inner text value of an HTML element.  Since firefox and IE support
// different parameters for this value, this function hides that difference.
// Parameters:	element		- the DOM element from which to obtain the inner text value				
/////////////////////////////////////////////////////////////////////////////////////////////////////
function getInnerText(element) {
	// IE supports innerText property
	if (document.all) return element.innerText;
	// Firefox supports textContent property
	else return element.textContent;
}// getInnerText
////////////////////////////////////////////////////////////////////////////////////////////////////

/////////////////////////////////////////////////////////////////////////////////////////////////////
// Generic method for setting the inner text value of an HTML element.  Since firefox and IE support
// different parameters for this value, this function hides that difference.
// Parameters:	element		- the DOM element of which to set the inner text value	
//              value		- the text value			
/////////////////////////////////////////////////////////////////////////////////////////////////////
function setInnerText(element, value) {
	// IE supports innerText property
	if (document.all) element.innerText = value;
	// Firefox supports textContent property
	else element.textContent = value;
}// getInnerText
////////////////////////////////////////////////////////////////////////////////////////////////////

