/* ================================================================ 
This copyright notice must be kept untouched in the stylesheet at 
all times.

The original version of this script and the associated (x)html
is available at http://www.stunicholls.com/menu/skeleton.html
Copyright (c) 2005-2007 Stu Nicholls. All rights reserved.
This script and the associated (x)html may be modified in any 
way to fit your requirements.
=================================================================== */



preload_image = new Array();

function preload(img_0,img_1,img_2,img_3,img_4,img_5,img_6,img_7,img_8,img_9){
	if (img_0){
		num = preload_image.length;
		preload_image[num] = new Image();
		preload_image[num].src = img_0;
	}
	if (img_1){
		num = preload_image.length;
		preload_image[num] = new Image();
		preload_image[num].src = img_1;
	}
	if (img_2){
		num = preload_image.length;
		preload_image[num] = new Image();
		preload_image[num].src = img_2;
	}
	if (img_3){
		num = preload_image.length;
		preload_image[num] = new Image();
		preload_image[num].src = img_3;
	}
	if (img_4){
		num = preload_image.length;
		preload_image[num] = new Image();
		preload_image[num].src = img_4;
	}
	if (img_5){
		num = preload_image.length;
		preload_image[num] = new Image();
		preload_image[num].src = img_5;
	}
	if (img_6){
		num = preload_image.length;
		preload_image[num] = new Image();
		preload_image[num].src = img_6;
	}
	if (img_7){
		num = preload_image.length;
		preload_image[num] = new Image();
		preload_image[num].src = img_7;
	}
	if (img_8){
		num = preload_image.length;
		preload_image[num] = new Image();
		preload_image[num].src = img_8;
	}
	if (img_9){
		num = preload_image.length;
		preload_image[num] = new Image();
		preload_image[num].src = img_9;
	}
}

function catimg(obj, img){
	document.getElementById(obj).src = img;
}
