function inflateSidebar() { document.getElementById("sidebar").style.width = "250px"; } function collapseSidebar() { document.getElementById("sidebar").style.width = "0px"; }