/*----------------------------------------------------------------------
initialization.js
This javascript module initializes the Octobit website.

------------------------------------------------------------------------
Copyright:    Octobit GmbH, Switzerland, 2003
Developed by: Octobit GmbH, Switzerland, 2003
Created:      November 2003, Nora Sailer
----------------------------------------------------------------------*/

var g_bDebug = false;
var g_aImages = new Array(6);
var g_sSelectedMenu = "home";

/*----------------------------------------------------------------------
onLoad
Preload background images into cache
----------------------------------------------------------------------*/

g_aImages[0] = new Image();
g_aImages[0].src = "pictures/bg/bg_home.jpg";
g_aImages[1] = new Image();
g_aImages[1].src = "pictures/bg/bg_offer.jpg";
g_aImages[2] = new Image();
g_aImages[2].src = "pictures/bg/bg_company.jpg";
g_aImages[3] = new Image();
g_aImages[3].src = "pictures/bg/bg_partner.jpg";
g_aImages[4] = new Image();
g_aImages[4].src = "pictures/bg/bg_contact.jpg";
g_aImages[5] = new Image();
g_aImages[5].src = "pictures/bg/bg_download.jpg";

/*----------------------------------------------------------------------
display (public)
Conditional alert for debugging purposes
----------------------------------------------------------------------*/
function display(s)
{
  if (g_bDebug)
	{
    alert(s);
	}
} /* display */

/* End of file */
