var newLoc="portbody/index.htm"

var wRwe = self.location.toString(); 
var strPrefix=""

if (top.location == self.location)
{
 self.location.replace(strPrefix+newLoc);
}
else
{if (self==parent)
 {document.write('<font face="Verdana" size="2">Sorry but you have been sent to either a web page <b>outside</b> of our main website structure or an <b>old</b> web page we replaced some time ago.<br><br>Please wait whilst we redirect you to our LATEST start page.....<br><br>Alternatively click <a href="http://www.smashingtime.com.au/" target="_parent">here</a> to go there immediately</font><br><br>')
   document.write('<META HTTP-EQUIV="refresh" CONTENT="5; URL='+strPrefix+newLoc+ '">')
 }
}

// to work this javascript MUST be after any stylesheet settings in the HEAD 

function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);