if('s'=='s') { document.getElementById('widgets').innerHTML = ''; } if('s'=='m') { document.getElementById('widgetm').innerHTML = ''; } if('s'=='l') { document.getElementById('widgetl').innerHTML = ''; }