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