﻿// Used by Products Listings control to simply swap between the two major product images
function SwapImage(imageNumber)
{
	document.getElementById('ProductImage1').style.display = 'none';
	document.getElementById('ProductImage2').style.display = 'none';
	document.getElementById('ProductImage3').style.display = 'none';
	
	document.getElementById('ProductImage' + imageNumber).style.display = 'inline';
}

function update(url,index,isSuper) {
 	document['PageName'].src=url;
}

