function ADAM() { }

function blitSymptomMenu(bodyPart) {
    symptomList = document.getElementById(bodyPart);
    bodypartSymptoms = symptomList.innerHTML

    resultText = document.getElementById("menu");

    resultText.innerHTML = bodypartSymptoms;
    showMenu('menuBox', bodyPart);
}

function showMenu(myMenu, bodyPart) {
   var theTop = 0;
    var theLeft = 0;
    elementid = document.getElementById('swfFile');
    while (elementid != null) {
        theTop += elementid.offsetTop;
        theLeft += elementid.offsetLeft;
        elementid = elementid.offsetParent;
    }

    myVar = document.getElementById(myMenu).style;
    myVar.top = "10px";
    myVar.left = "200px";
    if (bodyPart.indexOf('Abdomen') != -1) {
        menuTitle = "Abdomen"
    }
    else if (bodyPart.indexOf('Back') != -1) {
        menuTitle = "Back"
    }
    else if (bodyPart.indexOf('Buttocks') != -1) {
        menuTitle = "Buttocks"
    }
    else if (bodyPart.indexOf('Chest') != -1) {
        menuTitle = "Chest"
    }
    else if (bodyPart.indexOf('ENT') != -1) {
        menuTitle = "Ears/Nose/Throat"
    }
    else if (bodyPart.indexOf('Eyes') != -1) {
        menuTitle = "Eyes"
    }
    else if (bodyPart.indexOf('Groin') != -1) {
        menuTitle = "Groin"
    }
    else if (bodyPart.indexOf('Head') != -1) {
        menuTitle = "Head"
    }
    else if (bodyPart.indexOf('Mouth') != -1) {
        menuTitle = "Mouth"
    }
    else if (bodyPart.indexOf('Feet') != -1) {
        menuTitle = "Hips/Legs/Feet"
    }
    else if (bodyPart.indexOf('Neck') != -1) {
        menuTitle = "Neck"
    }
    else if (bodyPart.indexOf('Arm') != -1) {
        menuTitle = "Arms/Hands"
    }
    else if (bodyPart.indexOf('Generic') != -1) {
        menuTitle = "General"
    }

    document.getElementById("menuHeader").innerHTML = menuTitle;
    myVar.display = "block";
    myVar.height = "280px";
    myVar.width = "250px";
}

function hideMenu(myMenu) {
    myVar = document.getElementById(myMenu).style;
    myVar.display = "none";
}

