<!-- HIDE SCRIPT FROM BROWSERS WHICH DON'T SUPPORT IT

// # Code written by:-
// # Phil Parker
// # author: http://misterharold.net/contact.htm
// # Started 05/07/99
// # Last updated 31/01/2001
//
// # Copyright (c) Philip J Parker (NE88) 1999-2001
// # No part of this file or code may be used for any
// # purpose whatsoever, without the written permission
// # of the author.
// # Any use should retain this banner,
// # and copyright notice.
// # The author does not, under any circumstances,
// # relinquish his copyright, or intellectual property rights.
//

// ============================================================================
// This file MUST ALWAYS define a function called loadSiteGraphics()
// ============================================================================

// ============================================================================
// ========================== RESOURCE PRE-LOAD FUNCTIONS =====================
// ============================================================================

// load Graphics needed BEFORE menu Graphics
// KEEP THIS TO A MINIMUM
function loadSplashGraphics()
{
   var picsSp = new Array();
   var idx = 0;
   
   // picsSp[idx] = new Image(); picsSp[idx++].src = "http://misterharold.net/joker/images/awards/spoof/azeternity.jpg";

} // end of function loadSplashGraphics

function loadMiscGraphics()
{
	var picsM = new Array();
	var idx = 0;
   
	picsM[idx] = new Image(); picsM[idx++].src = "http://misterharold.net/joker/images/grafix/redball.gif";
	picsM[idx] = new Image(); picsM[idx++].src = "http://misterharold.net/joker/images/grafix/bluball.gif";
	picsM[idx] = new Image(); picsM[idx++].src = "http://misterharold.net/joker/images/grafix/lbluball.gif";
	picsM[idx] = new Image(); picsM[idx++].src = "http://misterharold.net/joker/images/grafix/prpball.gif";
	picsM[idx] = new Image(); picsM[idx++].src = "http://misterharold.net/joker/images/grafix/handl.gif";
	picsM[idx] = new Image(); picsM[idx++].src = "http://misterharold.net/joker/images/grafix/handr.gif";
	picsM[idx] = new Image(); picsM[idx++].src = "http://misterharold.net/joker/images/grafix/blank.gif";
	// following removed, unnecessary server loading
	//	picsM[idx] = new Image(); picsM[idx++].src = "http://misterharold.net/general/images/backgrnd/pnkpchmt.jpg";
	//	picsM[idx] = new Image(); picsM[idx++].src = "http://misterharold.net/joker/images/dilbert/linkSmallDilbert.gif";
	//	picsM[idx] = new Image(); picsM[idx++].src = "http://misterharold.net/joker/images/dilbert/linkBigDilbert.gif";
	//	picsM[idx] = new Image(); picsM[idx++].src = "http://misterharold.net/joker/images/garfield/linkSmallGarfield.gif";
	//	picsM[idx] = new Image(); picsM[idx++].src = "http://misterharold.net/joker/images/garfield/linkBigGarfield.gif";
	//	picsM[idx] = new Image(); picsM[idx++].src = "http://misterharold.net/joker/images/dilbert/DTlink_anim2.gif";
	//	picsM[idx] = new Image(); picsM[idx++].src = "http://misterharold.net/joker/images/grafix/momappro.jpg";
	//	picsM[idx] = new Image(); picsM[idx++].src = "http://misterharold.net/joker/images/grafix/kittybrk.gif";
	//	picsM[idx] = new Image(); picsM[idx++].src = "http://misterharold.net/joker/images/grafix/scream.jpg";
	//	picsM[idx] = new Image(); picsM[idx++].src = "http://misterharold.net/joker/images/grafix/boxes1.gif";
	//	picsM[idx] = new Image(); picsM[idx++].src = "http://misterharold.net/joker/images/grafix/clip.gif";
	//	picsM[idx] = new Image(); picsM[idx++].src = "http://misterharold.net/joker/images/grafix/evolution.jpg";
	//	picsM[idx] = new Image(); picsM[idx++].src = "http://misterharold.net/joker/images/grafix/hkplaugh.gif";
	//	picsM[idx] = new Image(); picsM[idx++].src = "http://misterharold.net/joker/images/grafix/hustona.jpg";
	//	picsM[idx] = new Image(); picsM[idx++].src = "http://misterharold.net/joker/images/grafix/mda.jpg";
	//	picsM[idx] = new Image(); picsM[idx++].src = "http://misterharold.net/joker/images/grafix/ttwaving.jpg";
	//	picsM[idx] = new Image(); picsM[idx++].src = "http://misterharold.net/joker/images/grafix/unclagny.gif";
	//	picsM[idx] = new Image(); picsM[idx++].src = "http://misterharold.net/joker/images/grafix/akitty.jpg";
	//	picsM[idx] = new Image(); picsM[idx++].src = "http://misterharold.net/joker/images/grafix/hrcat01.gif";
	//	picsM[idx] = new Image(); picsM[idx++].src = "http://misterharold.net/joker/images/grafix/hrcat02.gif";
	//	picsM[idx] = new Image(); picsM[idx++].src = "http://misterharold.net/joker/images/grafix/hrcat03.gif";
	//	picsM[idx] = new Image(); picsM[idx++].src = "http://misterharold.net/joker/images/grafix/hrcat04.gif";
	//	picsM[idx] = new Image(); picsM[idx++].src = "http://misterharold.net/joker/images/grafix/catbrain.jpg";
	//	picsM[idx] = new Image(); picsM[idx++].src = "http://misterharold.net/joker/images/grafix/blackdot.jpg";
	//	picsM[idx] = new Image(); picsM[idx++].src = "http://misterharold.net/joker/images/grafix/bad_day2.jpg";
	//	picsM[idx] = new Image(); picsM[idx++].src = "http://misterharold.net/joker/images/grafix/cat403.jpg";
	//	picsM[idx] = new Image(); picsM[idx++].src = "http://misterharold.net/joker/images/awards/spoof/azkittya.jpg";
	//	picsM[idx] = new Image(); picsM[idx++].src = "http://misterharold.net/joker/images/awards/spoof/friendcat.jpg";

} // end of function loadMiscGraphics

// Pre-loads images BEFORE they are needed.
// Images are loaded in most-often-used-first order.
// We do NOT care about references to the graphics;
// we just want to get the images into the local browser's cache.
function loadInitialGraphics()
{
   loadSplashGraphics();
   loadMenuGraphics();
   
} // end function loadInitialGraphics()

// Pre-loads images BEFORE they are needed.
// Images are loaded in most-often-used-first order.
// We do NOT care about references to the graphics;
// we just want to get the images into the local browser's cache.
function loadSiteGraphics()
{

	if(siteGraphicsLoaded != true)
	{
		// Load Initial Graphics AGAIN, just in case we did not
		// get to run them from the opening page.
		// No GET will be issued to the server if the image already
		// exists in the client browser cache.
		loadInitialGraphics();

		// NOW get the additional site graphics.
		loadMiscGraphics();

		siteGraphicsLoaded = true;
	}
   
} // end function loadSiteGraphics()

// # STOP HIDING SCRIPT FROM OTHER BROWSERS -->
