// Browser scripts for unknown browsers

// Returns the inner text content of the specified HTML control
function GetInnerText ( oCtl )
{
	if ( s_bInnerTextAvailable )
		return ( oCtl.innerText );
	else
		return ( oCtl.textContent );
}

// Sets the inner text content of the specified HTML control
function SetInnerText ( oCtl, sText )
{
	if ( s_bInnerTextAvailable )
		oCtl.innerText = sText;
	else
		oCtl.textContent = sText;
}

// Sets the CSS class of the specified object.
function SetClass ( oObj, sClassName )
{
	if ( oObj != null )
		oObj.setAttribute ( 'class', sClassName );
}