function init()
{
	var x = null;
	if (document.getElementById)
	{
		x = document.getElementById('mouseovers');
	}
	else if (document.all)
	{
		x = document.all['mouseovers'];
	}
	if (x)
	{	
		if (document.getElementById)
		{
			x = document.getElementById('mouseovers').getElementsByTagName('IMG');
		}
		else if (document.all)
		{
			x = document.all['mouseovers'].all.tags('IMG');
		}
		else return;
		var preloads = new Object();
		for (var i=0;i<x.length;i++)
		{
			preloads['n'+x[i].id] = new Image;
			preloads['n'+x[i].id].src = 'boats/'+ x[i].id + '.gif';
			preloads['o'+x[i].id] = new Image;
			preloads['o'+x[i].id].src = 'boats/'+ x[i].id + '_blue.gif';
			preloads['o'+x[i].id].onerror = function () {this.src='boats/default.gif'}
			x[i].onmouseover = function () {this.src=preloads['o'+this.id].src;}
			x[i].onmouseout = function () {this.src=preloads['n'+this.id].src;}
		}
	}
	else
	{
		return;
	}

}

window.onload = function () 
{
	init();
}