﻿// Jimmy Mercado //
// Jun.11.2008   //


function executeOnLoad(){
  window.onload = onLoadGo;
}
/*************************************************************
* The onLoadGo() function loops through the onLoads array and runs each function in the array.
*************************************************************/
function onLoadGo(){
  for(var i = 0;i < onLoads.length;i++)
    eval(onLoads[i]);
}
/*************************************************************
* The onLoadAdd() function will add another function to the onLoads array to be run when the page loads.
*************************************************************/
function onLoadAdd(func){
  onLoads[onLoads.length] = func;
}
/*************************************************************
* The onLoads array holds all of the functions you wish to run when the page loads.
*************************************************************/
var onLoads = new Array();


onLoadAdd('initialiseMenu()'); //menu
//add more onload scripts here
executeOnLoad();
