// GENERAL SCRIPTS FOR ALL BROWSERS.
// 
// THIS file should be included onto every page as it contains
// constants and global variables that will be used extensively
// in all the pages in the site. It also contains the function headers
// for all the apis.
// 
// CONSTANT DECLARATIONS
// colors:
var LINK_COLOR_ON = "#0F3F86";
var LINK_COLOR_OFF = "#FFFFFF";
var LINK_BG_ON = "#FFFFFF";
var LINK_BG_OFF = "";
var LINK_COLOR_CLICK = "#FF5700";

// menu positions

// menu behaviour
var MENU_TTL = 75;	// no msec to wait until closing the menu
var MENU_NAMES = new Array('aboutus', 'services', 'clients', 'products');
var NO_MENUS = 4;

// GLOBAL DECLARATIONS
var pageLoaded = false;	// set to true in the init() function at the end.
var intervalID = new Number();	// used for timers

var currentMenu = new String(); 	// used to mark the current menu


// FUNCTION HEADERS.
// All of these functions are defined here so that they can be called by
// scripts in the page. They must be overridden by the different scripts
// for the different platforms to provide complete functionality.
// Function descriptions will only be given in this file to cut down uncessesary
// characters in the other files.
// Functions should take care to make use of the pageLoaded variable to make
// sure that all scripts and objects have loaded before use.

// --Navigation API--
function navLinkOn(theLink) {}
// this function changes the appearance of the link when it is called.

function navLinkOff(theLink) {}
// this function returns the link back to it's original state.

function logoLinkRoll(theLink) {}
// this function prevents the hover from happening on the corporate logo.

function displayMenu(menu) {}
// this function displays the navigational menu.

function closeMenu(menu) {}
// this function closes the navigational menu.

function navMouseOut() {}
// this function used as an event handler to close the currentMenu down

// -- Layer API --
function show(obj) {}
// this function sets the visibility of the layer to visible.

function hide(obj) {}
// this function sets the visibility of the layer to off.

function getObject(obj) {}
// this function returns a handle for the requested object.


// REAL FUNCTIONS
// this section contains any real general functions that are required to be run.



