//alert("you got me");
// JavaScript Document
/*
 * function for swapping the main image, activated by click on thumb nail
 * has to be applied to a block level element so the inner html method can be used
 */

function imageSwapTrans(swapImgId, filterRange, newImgSrc, imgAltTxt, ssConfigArr, other1)
{
	
	 //imgObj.filters[0].orientation='horizontal';
	 //imgObj.style.backgroundColor = "gold";
        imgObj = document.getElementById(swapImgId);
		// test for browser compatibility for trans function
		if (imgObj.filters)
		{
			 //alert('browser is ie compat');
			imgObj.filters[0].apply();
			imgObj.src 	= newImgSrc;
			imgObj.alt	= imgAltTxt;
        	imgObj.filters[0].play();

		}
		else
		{
			//alert('browser is not ie compat');
			imgObj.src 	= newImgSrc;
			imgObj.alt	= imgAltTxt;
		}
}