//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
// mouseover code for navigation images
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
	
	function preLoad (imgObj, imgURL)
		{		
		if (!eval('window.' + imgObj))
			{
			eval(imgObj + ' = new Array()');
			var oLen = eval(imgObj + '.length');
			eval(imgObj + '[' + oLen + '] = new Image()');
			eval(imgObj + '[' + oLen + '].src = "' + imgURL + '"');
			}			
		else
			{
			var oLen = eval(imgObj + '.length');
			eval(imgObj + '[' + oLen + '] = new Image()');
			eval(imgObj + '[' + oLen + '].src = "' + imgURL + '"');
			}
		}
		
	function SingleChange (image1Obj, array1Place)
		{
		image1Name = "img_" + image1Obj;
		eval("document." + image1Name + ".src = " + image1Obj + "[" + array1Place + "].src");
		}
		
	preLoad('nav_home', 'templates/cargill/_images/nav_home_off.jpg');
	preLoad('nav_home', 'templates/cargill/_images/nav_home_hover.jpg');
	preLoad('nav_aboutus', 'templates/cargill/_images/nav_aboutus_off.jpg');
	preLoad('nav_aboutus', 'templates/cargill/_images/nav_aboutus_hover.jpg');
	preLoad('nav_newsviews', 'templates/cargill/_images/nav_newsviews_off.jpg');
	preLoad('nav_newsviews', 'templates/cargill/_images/nav_newsviews_hover.jpg');
	preLoad('nav_contacts', 'templates/cargill/_images/nav_contacts_off.jpg');
	preLoad('nav_contacts', 'templates/cargill/_images/nav_contacts_hover.jpg');
	preLoad('nav_careers', 'templates/cargill/_images/nav_careers_off.jpg');
	preLoad('nav_careers', 'templates/cargill/_images/nav_careers_hover.jpg');
	preLoad('nav_cargillworld', 'templates/cargill/_images/nav_cargillworld_off.jpg');
	preLoad('nav_cargillworld', 'templates/cargill/_images/nav_cargillworld_hover.jpg');
	preLoad('nav_ps', 'templates/cargill/_images/nav_ps_off.jpg');
	preLoad('nav_ps', 'templates/cargill/_images/nav_ps_hover.jpg');