window.onload = function() { if(!window.location.hash) { window.location = window.location + '#loaded'; window.location.reload(); } } [masterslider id="243"]