onresize finish (timeout 100ms)
// global var doit; function resizedw(){ // resize stuff } window.onresize = function(){ clearTimeout(doit); doit = setTimeout(resizedw, 100); };