// JScript File

function ShowDiv(ddlName, option, divtohide)
{
    var statusList = document.getElementById(ddlName);     
    var selectedStatus = statusList.options[statusList.selectedIndex].value;    

    obj = document.getElementById(divtohide);
    
    if (selectedStatus==option)
    {             
        obj.style.display = "";      
    }
    else
    {        
        obj.style.display = "none";                  
    }
}


function showhideDiv(id)
{

    if (document.getElementById)
    {    
        obj = document.getElementById(id);     
        if (obj.style.display == "none")
        {
            obj.style.display = "";
        } 
        else 
        {
            obj.style.display = "none";
        }
    }
} 


