##formatter.TextRender()
##include(BodyPreCache)
##include(OpacPreCache)
##include(Defaults)
##local.defineByRender(SkinDir)/IMG/skins/##sessioncfg.ZONES.Skin
##local.defineByRender(Skin)##sessioncfg.ZONES.Skin
##local.defineByRender(SubSkin)##sessioncfg.ZONES.SubSkin
##include(SkinOverrides)
##if local.InstallBackgroundColour
##else
##local.define(InstallBackgroundColour)##local.middleSkinColour
##endif
##local.define(MainAdvice)The current ZONES presentation style is optimised for use with Microsoft Internet Explorer, versions 5.5 or greater.
##local.define(AlternateAdvice)For users of other browsers, we are pleased to offer the following alternate presentations:
##local.define(TestMozillaScript)
function isMozilla()
{
return document.implementation && document.implementation.createDocument;
}
##local.define(AdviceLayout)
##Header
##Scripts
/* *************************************************************************************
Stage A verifies the following.
1. The browser in use must be internet explorer
2. The version of internet explorer must be greater than 5.5
3. The browser must be running on windows - because we have not tested on Mac's yet
************************************************************************************* */
##local.define(StageAChecks)
##this.DisableCompression()
##leg.ZONESOPAC.InstallPleaseWait
/* Stage B checks that GZIP Compression is enabled and working */
##local.define(FrameReadyScript)
function IsFrameReady( frameElement)
{
if ( frameElement.contentWindow == null ) return null;
var obWindow = frameElement.contentWindow;
if ( obWindow.document == null ) return null;
var obDoc = obWindow.document;
if ( isMozilla() )
{
}
else
{
if ( obDoc.readyState != "complete" ) return null;
}
var elBody = obDoc.body;
if (elBody == null ) return "BodyIsNull";
var strResponse = null;
if ( elBody.firstChild != null ) {
var elChild = elBody.firstChild;
if ( elChild.tagName == "PRE" ) {
strResponse = elChild.innerText;
}
}
if ( strResponse == null ) {
strResponse = elBody.innerHTML;
}
return strResponse;
}
##local.define(StageBChecks)
##this.DisableCompression()
/* ****************************************************************************************************
Stage C verifies the following.
1. First we see if flash is enabled, and if it is- we download and use a small progress movie
2. Next we make sure we have needed active X controls ( as few as possible ).
3. Next we cache required images for the main home page.
* ******************************************************************************************************/
##local.define(StageCChecks)