// JavaScript functions for Almanac
// Simon Kershaw
function showMore( entryID, entryLink, htmlObj )
{
    extTextDivID = ( 'show' + ( entryID ) );
    extLinkDivID = ( 'hide' + ( entryID ) );
    if ( document.getElementById )
    {
        if ( document.getElementById( extTextDivID ).style.display )
	{
            if ( entryLink != 0 )
	    {
                document.getElementById( extTextDivID ).style.display = "block";
                document.getElementById( extLinkDivID ).style.display = "none";
                htmlObj.blur();
            }
	    else
	    { 
                document.getElementById( extTextDivID ).style.display = "none";
                document.getElementById( extLinkDivID ).style.display = "block";
            }
        }
	else
	{
            location.href = entryLink;
            return true;
        }
    } 
    else
    {
        location.href = entryLink;
        return true;
    }
}
// end of file