<!--
var theImages = new Array()
var theURLS = new Array()
var theALTS = new Array()

// Parameters= nodisplay:0 = Able to pick from all options in array 
//						 1 = Cannot pick Asset Based Lending
//					  	 2 = Cannot pick COD Enhancement Services
//					  	 3 = Cannot pick Commercial Term Loans
//					  	 4 = Cannot pick Export Credit Agency Financing
//					  	 5 = Cannot pick Franchise Financing
//					  	 6 = Cannot pick Receivables Management Services
function showBanner(nodisplay){
	theImages[0] = '/images/inf_abl.gif'
	theURLS[0] = '/solutions/asset_based.html'			
	theALTS[0] = 'Asset-Based Lending'			
	theImages[1] = '/images/inf_cod_enh.gif'
	theURLS[1] = '/solutions/cod_enhancement.html'			
	theALTS[1] = 'C.O.D. Enhancement Services'
	
	// 11/08/05 - IM - Change Request
	//theImages[2] = '/images/inf_ctm.gif'
	//theURLS[2] = '/solutions/sbl_term.html'			
	//theALTS[2] = 'Commercial Term Loans'
	
	theImages[2] = '/images/inf_exp_cred.gif'
	theURLS[2] = '/solutions/export_credit.html'			
	theALTS[2] = 'Export Credit Agency Financing'
	theImages[3] = '/images/inf_ff.gif'
	theURLS[3] = '/solutions/sbl_franchise.html'			
	theALTS[3] = 'Franchise Financing'
	theImages[4] = '/images/inf_rms.gif'
	theURLS[4] = '/solutions/receivables.html'			
	theALTS[4] = 'Receivables Management Services'

	
	var p = theImages.length;
	
	var preBuffer = new Array()
	for (i = 0; i < p; i++){
	   preBuffer[i] = new Image()
	   preBuffer[i].src = theImages[i]
	}
	var whichImage = Math.round(Math.random()*(p-1));

	//if the random page picked is the same as the page that called this function, pick one above or below it
	if (whichImage == (nodisplay-1)){
	    if (whichImage > 1)
			whichImage--;
		else
			whichImage++;		
	}

	//if the random page picked is 0, then we increment this because asset-based lending image file is not currently available
	if (whichImage == 0){
	    whichImage++;
	}
		
	document.write('<a href="'+theURLS[whichImage]+'"><img src="'+theImages[whichImage]+'" alt="'+theALTS[whichImage]+'" border="0"></a>');

}

// Rotating banner on the home page
function showImage(){
	theImages[0] = '/images/bnr_UPSCIA.gif'
	theURLS[0] = '/solutions/insurance.html'			
	theALTS[0] = 'UPS Capital Insurance'			
	theImages[1] = '/images/bnr_UPSGGL.gif'
	theURLS[1] = '/solutions/sbl_main.html'			
	theALTS[1] = 'UPS Capital Government-Guaranteed Lending'
	//theImages[2] = '/images/Main_Banner_FMS.gif'
	//theURLS[2] = '/solutions/fleetmanagement.html'			
	//theALTS[2] = 'UPS Capital Fleet Management'			
	theImages[2] = '/images/Main_Banner_GSCF.jpg'
	theURLS[2] = '/solutions/gscf.html'			
	theALTS[2] = 'Global Supply Chain Finance'
	
	var p = theImages.length;
	
	var preBuffer = new Array()
	for (i = 0; i < p; i++){
	   preBuffer[i] = new Image()
	   preBuffer[i].src = theImages[i]
	}
	var whichImage = Math.round(Math.random()*(p-1));
		
	document.write('<a href="'+theURLS[whichImage]+'"><img src="'+theImages[whichImage]+'" alt="'+theALTS[whichImage]+'" border="0"></a>');
}

-->

