function addEvent(e,t,f){
if (e.addEventListener) e.addEventListener(t, f, false);
else if (e.attachEvent) e.attachEvent('on'+t, f)
}
function removeEvent(e,t,f){
if (e.removeEventListener) e.removeEventListener(t, f, false);
else if (e.detachEvent) e.detachEvent('on'+t, f)
}
addEvent(window, 'load', any_func);
removeEvent(window, 'load', any_func);