function resetcheckboxes(subgroep_id) {
            array_length = eval("subcats_groep_"+subgroep_id+".length");
            for(i=0;i<array_length;i++) {
                subcat_num = eval("subcats_groep_"+subgroep_id+"["+i+"]");
                document.getElementById("subtag_"+subcat_num).value = "off";
                document.getElementById("subcheck_"+subcat_num).className = "checkbox_off";
                document.getElementById("subgroep_"+subgroep_id).value = "off";
            }

        }
        
        function openList() {
            
        }
        
        function closeList(id) {
            if (document.getElementById("sublist_"+id).style.display=="none") {
                
            
                document.getElementById("sublist_"+id).style.display="block";
                document.getElementById("subkop_"+id).className = "opened";

            }
            else {
                document.getElementById("sublist_"+id).style.display="none";
                document.getElementById("subkop_"+id).className = "closed";
            }
        }
        
        function activateSubgroep(subgroep_id) {
            closeList(subgroep_id)
            subtag_
            array_length = eval("subcats_groep_"+subgroep_id+".length");
            if (document.getElementById("subgroep_"+subgroep_id).value="on") {
                for(i=0;i<array_length;i++) {
                    subcat_num = eval("subcats_groep_"+subgroep_id+"["+i+"]");
                    document.getElementById("subtag_"+subcat_num).value = "on";
                }
            }
        }
        
        function activateCheckbox(subgroep_id,subcat_num) {
            if (document.getElementById("subtag_"+subcat_num).value == "off") {
                document.getElementById("subtag_"+subcat_num).value = "on";
                document.getElementById("subcheck_"+subcat_num).className = "checkbox_on";
                activateGroup(subgroep_id);
            }
            else {
                document.getElementById("subtag_"+subcat_num).value = "off";
                document.getElementById("subcheck_"+subcat_num).className = "checkbox_off";
            }
        }
        
        function activateGroup(subgroep_id) {
            document.getElementById("subgroep_"+subgroep_id).value = "on";
        }
        
        function nextPage(start_number) {
            document.getElementById("start_number").value = start_number;
            document.getElementById("searchlist").submit();
        }
        
        function resetCounter() {
            document.getElementById("start_number").value = 0;
        }
        function gotoArtiest(id) {
            document.getElementById("actId").value = id;
            document.getElementById("searchlist").action = "artiest.php";

            document.getElementById("searchlist").submit();
        }
        
        function mouseOverArtiest(id) {
            document.getElementById("actBlock_"+id).style.backgroundColor = "#E9E9E9";
        }
        function mouseOutArtiest(id) {
            document.getElementById("actBlock_"+id).style.backgroundColor = "#FFF";
        }
        
        function flashslider_DoFSCommand(command, args) { 
  if (command == "call_updateVars1") { 
    document.getElementById("prijs_low").value = args;
  }
  if (command == "call_updateVars2") { 
    document.getElementById("prijs_high").value = args;
  }  
  if (command == "call_prijs_selectie") { 
    document.getElementById("prijs_selectie").value = args;
  }
}
