function redirectpage(urlpath) { //alert(urlpath); try { location.href=urlpath; } catch(e) { } }
info at phpclasses dot org