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

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

// *************************************************************
// if it's IE mac add a special class to the end colunms 
// *************************************************************

var strBrowser 		= navigator.appName.toLowerCase();
var strUserAgent		= navigator.userAgent.toLowerCase();

function IsUsingMAC() { var result = false; if (strUserAgent.indexOf("mac") != -1) result = true; else if (strUserAgent.indexOf("68k") != -1) result = true; return result; }

function IsUsingIE() { var result = false; if (strBrowser.indexOf("microsoft") != -1) result = true; return result; }

if (IsUsingMAC() && IsUsingIE() ) 
	{
	document.writeln("<style type='text/css'>.maciefix{width: 220px;}</style>");
	document.writeln("<style type='text/css'>.maciefix2{width: 470px;}</style>");
	}

// *************************************************************
// hide scrollbars if screen size OK
// *************************************************************

var winWidth = 0;
var winHeight = 0;

getWinSize();

if (winWidth < 1025)
	{
	document.writeln("<style type='text/css'>body{overflow: hidden;}</style>");
	} 


//FUNC *************************************************************************        getWinSize
function getWinSize()
	{
	if( typeof( window.innerWidth ) == 'number' )
		{
		//Non-IE
		winWidth	= window.innerWidth;
		winHeight	= window.innerHeight;
		}
	else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) )
		{
		//IE 6+ in 'standards compliant mode'
		winWidth	= document.documentElement.clientWidth;
		winHeight	= document.documentElement.clientHeight;
		}
	else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) )
		{
		//IE 4 compatible
		winWidth	= document.body.clientWidth;
		winHeight	= document.body.clientHeight;
		}

  	winX = document.all ? window.screenLeft : window.screenX;
  	winY = document.all ? window.screenTop : window.screenY;
	}