function swapImage(Img, swap)
{
	document.images[Img].src = swap;
}

function swapImageAndCaption(Img, ImgSwap, Caption, CaptionSwap)
{
	document.images[Img].src = ImgSwap;
	if (document.all) document.getElementById(Caption).innerText = CaptionSwap;
}

function popupBigImage(src)
{
	src = src.replace('.gif', 'Big.gif');
	src = src.replace('.jpg', 'Big.jpg');
	tmp = window.open(src,'tmp','width=380,height=345,resizable=no,menubar=no,toolbar=no,scrollbars=no');
	tmp.focus();
	
}

function nothing()  
{	}

function borderOnOff(imgOn, imgCount)
{
	for (i=1;i<=imgCount;i++)
	{
		eval('document.img' + i + '.style.borderWidth=0;');
	}
	eval('document.img' + imgOn + '.style.borderWidth=2;');
}
