function submenu(state,divid){document.getElementById("apDiv"+divid).style.display = state;}
