function switchImage()
{
	if (document.getElementById)
		{
			if (CaptionBlockImage[0]) {
				document.getElementById('image_big1').src = CaptionBlockImage[0].img_bigImage;
				document.getElementById('image_big1').alt = CaptionBlockImage[0].img_bigImage_alt;
			}
		}
}

function showImage(objImage)
{
	if (document.getElementById)
		{
			document.getElementById('image_big1').src = CaptionBlockImage[objImage].img_bigImage;
			document.getElementById('image_big1').alt = CaptionBlockImage[objImage].img_bigImage_alt;
		}
}

function writeImageCaption(intNumber)
{ 
	if (document.getElementById)
	{
		document.getElementById('imagecaption').innerHTML = CaptionBlockImage[intNumber].ImageCaptionText + '&nbsp;';
	}
}

function highlightCaptionLink(intNumber)
{ 
	var Anzahl = 3;
		
	for(var i=0;i<Anzahl;i++)
	{
		if(document.link_arrow[i])
		{
			if(i==intNumber)
			{
				document.link_arrow[i].src=LinkImageSelected.src;
			}
			else
			{
				document.link_arrow[i].src=LinkImageUnselected.src;
			}
		}
	}
}
function ChooseCaptionLink(link_no)
{ 
	var Anzahl = document.link_arrow.length+1;
		
	for(var i=0;i<Anzahl;i++)
	{
		if(document.link_arrow[i])
		{
			if(i==link_no)
			{
				document.link_arrow[i].src=LinkImageSelected.src;
			}
			else
			{
				document.link_arrow[i].src=LinkImageUnselected.src;
			}
		}
	}
	chosen = link_no;
}
function HighlightCaptionLink(link_no)
{
	if(link_no != chosen) document.link_arrow[link_no].src=LinkImageSelected.src;
}
function DimCaptionLink(link_no)
{
	if(link_no != chosen) document.link_arrow[link_no].src=LinkImageUnselected.src;
}
