var previousItem=null;
function showHideItems(myItem)
{		
    if (previousItem==null) {
        //default 1st menu
        previousItem='1';
    }

    if (previousItem!=null) {
        //have previous item so hide it and turn off current classname
        var oTemp = window.document.getElementById(previousItem + "_header"); 
        if (oTemp!=null) {oTemp.parentNode.className='';}
        var oTempArea = window.document.getElementById(previousItem + "_area"); if (oTempArea!=null) {oTempArea.style.display = "none";}
        }
    //previousItem=myItem;
    var currentItem = myItem + "_header";
    var showArea = myItem + "_area";

    var mycurrentTag = window.document.getElementById(currentItem).parentNode;
    var mycurrentArea = window.document.getElementById(showArea);
    if (mycurrentTag!=null)
        {
        mycurrentTag.className='current'
        if (mycurrentArea!=null) {mycurrentArea.style.display = "block";}
        previousItem=myItem;
        }
}
