function imagechange(imagePath,imageID,imageName) 
{
   document.images[imageID].src = imagePath + "buttons/" + imageName + ".jpg";
}


function m_on(imagename)
{
	if (document.images)
	{
		document [imagename].src = eval(imagename + "_MO.src");
	}
}

function m_out(imagename)
{
	if (document.images)
	{
		document [imagename].src = eval(imagename + ".src");
	}
}


function popup(file,options,width,height)
{
	if ((width != 0 || width !=null) && (height != 0 || height !=  null))
		{
			options = options+",width="+width+",height="+height;
		}
		var textWindow=window.open(file,"TextWindow",options);
}

function HideShowOver(elem)
{
	elem.style.cursor='hand';
	elem.style.textDecoration='underline';
	elem.style.color='orange';
}

function HideShowOut(elem)
{
	elem.style.textDecoration='none';
	elem.style.color='#C6C3C6';
}

if (document.images)
{

	home = new Image();
	home.src = "images/menu/off/home.gif";
	home_MO = new Image();
	home_MO.src = "images/menu/on/home.gif";

	process = new Image();
	process.src = "images/menu/off/process.gif";
	process_MO = new Image();
	process_MO.src = "images/menu/on/process.gif";

	contact = new Image();
	contact.src = "images/menu/off/contact.gif";
	contact_MO = new Image();
	contact_MO.src = "images/menu/on/contact.gif";

	products = new Image();
	products.src = "images/menu/off/products.gif";
	products_MO = new Image();
	products_MO.src = "images/menu/on/products.gif";

	green = new Image();
	green.src = "images/menu/off/green-certified.gif";
	green_MO = new Image();
	green_MO.src = "images/menu/on/green-certified.gif";

}
