/***
Use this file to enter and maintain common JavaScript functions
and subroutines to be used throughout the MXM web
site.

All functions and subroutines should be commented with the
author, date, time, function input and output parameters
***/	


/***
<!-- Begin ChangeImage Routine

function: changeImage
lblField - Label "name" of the field to swap pictures
txtImageURL - string value of the image location to place at lblField
***/ 
function changeImage( lblField, txtImageURL) {

	document.images[lblField].src=txtImageURL;

}

// End ChangeImage Routine -->


<!-- Begin preloading images

i1 = new Image; 
i1.src = "images/home_grn.gif"; 

i2 = new Image; 
i2.src = "images/contact_grn.gif";

i3 = new Image; 
i3.src = "images/products_grn.gif";

i4 = new Image;
i4.src = "images/service_grn.gif";

i5 = new Image;
i5.src = "images/specials_grn.gif";

i6 = new Image;
i6.src = "images/news_grn.gif";

i7 = new Image;
i7.src = "images/search_grn.gif";

// End preloading images -->
