Override window's method
Author
Zhou Renjian
Create@
2004-07-10 10:53
<script type="text/javascript">
try {
window.addEventListener('resize', reLayout, true);
} catch (e) {
window.onresize = reLayout;
}
// runs on IE, Mozilla and Opera
</script>