document.write(document.getElementById('mainmenu').value);