function hideElement(itm) {
	if(itm.length > 1)
	{
		itm = itm[0];
	}
    if (itm.className.indexOf("hide") < 0)
    {
        itm.className += " hide";
        //to do.. need to remove the style attributes
        // itm.style.display = 'none';
        //itm.style.visibility = 'hidden';
    }
}
function showElement(itm) {
	if(itm.length > 1)
	{
		itm = itm[0];
	}
    if (itm.className.indexOf("hide") >= 0)
    {
	    itm.className = itm.className.replace(" hide", "");
        itm.className = itm.className.replace("hide", "");
        //to do.. need to remove the style attributes
        //itm.style.display = 'block';
        //itm.style.visibility = 'visible';
    }
}
