function makevisible(id)
{
    document.getElementById(id).style.visibility = 'visible';
}

function makeinvisible(id)
{
    document.getElementById(id).style.visibility = 'hidden';
}

function enable(id)
{
    document.getElementById(id).enabled = 'true';
}

function getselected(id)
{
    theElement = document.getElementById(id);
    
    toReturn = theElement.options[theElement.selectedIndex].value;

    return toReturn;
}

function CreateXmlHttpObject()
{ 
    var objXMLHttp=null;

    if (window.XMLHttpRequest)
    {
        objXMLHttp=new XMLHttpRequest();
    }

    else if (window.ActiveXObject)
    {
        objXMLHttp=new ActiveXObject("Microsoft.XMLHTTP");
    }

    return objXMLHttp;
}
