window.onload = function(){ topNav(); //load widget func if on homepage if(typeof initSlide == 'function'){initSlide();} } function topNav() { if (document.all&&document.getElementById) { navRoot = document.getElementById("subTabs"); for (i=0; i