loadFirst = 1; //determines if the large nav image loads before the main body page [1] or when the main body page has loaded [0]

if (loadFirst == 1)
	{
	try {parent.framleft.loadPhotos(imageIdToLoad)} catch (e) {}
	}

eInfo='<a href="mailto:info@smashingtime.com.au">info@smashingtime.com.au</a>';
eEmergency= '<a href="mailto:emergency@smashingtime.com.au?subject=EMERGENCY">emergency@smashingtime.com.au</a>';

if (top.location == self.location)
{self.location.replace("index.html");}
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.webdesignmelbourne.com.au/" target="_parent">here</a> to go there immediately</font><br><br>')
 document.write('<META HTTP-EQUIV="refresh" CONTENT="5; URL=start.htm">')
 }
}

// 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);


