//Cette fonction permet de rechargez la feuille si elle est redimensionnée. Elle fonctionne même sous des frames redimensionnables, sous IE7 et Foxfire 2.
//Attention: s'il y a un window.onload dans la page, rajouter reload_on_resize dans ce unload par:window.onload=function(){fonction();reload_on_resize();}
window.onload=reload_on_resize;
function reload_on_resize(){if (document.body){origWidth=document.body.clientWidth;origHeight = document.body.clientHeight;window.onresize=resizeHandler};return}
function resizeHandler() {if (document.body.clientWidth == origWidth && document.body.clientHeight == origHeight) return;
origWidth = document.body.clientWidth;origHeight = document.body.clientHeight;
setTimeout( "window.location.reload()", 0 ); //setTimeout pour Firefox;
}

