/* Author Jack Wootton Version 1.2 Updated 23/03/2007 */ /* Constants used throughout script. Do not change. */ function Utility() { this.LIST_ITEM_ELEMENT = 'LI'; this.EMPTY_STRING = ''; this.CSS_HIGHLIGHT = 'current'; this.CSS_BLOCK = 'block'; this.CSS_NONE = 'none'; } var utility = new Utility(); /* Each set of tabs must be declared in an array. */ TABS_CMS = new Array("story","images","media","keywords","search"); /* Hide a layer if it exists. @param layerName Name of div element to hide. */ function HideContent(layerName) { if(layerName.length < 1) { return; } document.getElementById(layerName).style.display = utility.CSS_NONE; } /* Shows layer when tab clicked. @param layerName Name of div element to show. @param tabElement Reference to actual