

/* Function that tests the browsers
 * javascript support to find out
 * how we need to get a element
 * and then returns that element
 */
function getElement(element)
{
	if (document.getElementById)
	{
        return document.getElementById(element);
    }
    else if (document.all)
    {
        return document.all(element);
    }
    else if (document.layers)
    {
        return document.layers[element];
    }
}