/*
edited on 4-10-2002 by RS

changed lines like this:
rollImages[i].src = path + functionName.arguments[i];
 
to this:
rollImages[i].src = path + arguments[i];

Wrong scope for the arguments property. 
The property had the correct scope in the for-loop code and was not changed.
*/

// Rollover codes

if (document.images) {

	var flag = "";

	/* This should be removed pre-production if it is never used */
	function preloadImage(path){
		var rollImages1 = new Array();
		for (var i = 1; i < arguments.length; i++)
		{
			rollImages1[i] = new Image();
			rollImages1[i].src = path + arguments[i];
		}
	}
	
	function swapImage(DOMname,newImage){
		
		var toSwapOut;
		var toSwapIn;
		
		toSwapOut = document.images[DOMname];
		toSwapIn = newImage;

		toSwapOut.src = toSwapIn;

		//document.images[DOMname].src = newImage;
		
	}


}
preloadImage('/images/transparentNav/','contact_roll.gif','careers_roll.gif','commitment_roll.gif','news_roll.gif','people_roll.gif','heritage_roll.gif','home_roll.gif','brokerage_roll.gif','marketdata_roll.gif','commentary_roll.gif','asset_roll.gif','investment_roll.gif','sales_roll.gif' );

//preloadImage('/images/transparentNav/','sales_on.gif','investment_on.gif','asset_on.gif','commentary_on.gif','marketdata_on.gif','brokerage_on.gif','home_on.gif','heritage_on.gif','people_on.gif','news_on.gif','commitment_on.gif','careers_on.gif','contact_on.gif','contact_roll.gif','careers_roll.gif','commitment_roll.gif','news_roll.gif','people_roll.gif','heritage_roll.gif','home_roll.gif','brokerage_roll.gif','marketdata_roll.gif','commentary_roll.gif','asset_roll.gif','investment_roll.gif','sales_roll.gif' );

