function showHide(elementID) {
    var element = document.getElementById(elementID);
    hideAll();
    
    if (element) {
        element.style.display =  'block';
        element.style.className = 'selected';   
    } 
}

function disableBrand(elementID) {
    // pitäisi tallentaa keksiin mikä valmistaja on valittu
                
    normalizeBrand('handset_brand_0'); 
    normalizeBrand('handset_brand_1');
    normalizeBrand('handset_brand_2');
    normalizeBrand('handset_brand_3');
    normalizeBrand('handset_brand_4');
    normalizeBrand('handset_brand_5');
    
    
   
        var element = document.getElementById(elementID);  
        
          if (element) {   
         //element.style.backgroundColor="yellow";
          
         element.style.textDecoration  = 'none';
           
         //element.style.fontWeight = 'normal';    
         element.style.color = 'black';          /*
         element.style.fontSize  = '200%';        */
    }
}
  
function normalizeBrand(elementID) {
    var element = document.getElementById(elementID); 
    if (element) { 
        element.style.fontWeight = 'bold';
         element.style.textDecoration  = 'underline';
         element.style.color = 'blue';
    }
}  
  

function hide(elementID) {
    var element = document.getElementById(elementID);  
    if (element) { 
        element.style.display = 'none'; 
    }
}

function show(elementID) {
    document.getElementById(elementID).style.display = 'block'; 
}

function changeClass(elementID, className) {
    var element = document.getElementById(elementID);
    element.className = className;
   
}                                                       

function hideAll() {
    hide('handsets_0');
    hide('handsets_1');
    hide('handsets_2');
    hide('handsets_3');
    hide('handsets_4');
    hide('handsets_5');
}



