function zoompic(pos)
	{
	updatepic(pos);
	
	maplayer = $('maplayer');
	
	if (zoom[pos])
		{
		$image = new Image;
		$image.src = zoom[pos];
		$('zoompicture').src = zoom[pos];
		$('zoompicture').width = zoomsize[pos];
		$('zoomcaption').innerHTML = caption[pos];
		Element.hide($('picturelayer'));
		if ($('maplayer'))
			{
			Element.hide($('maplayer'));
			}
		if ($('linklayer'))
			{
			Element.hide($('linklayer'));
			}
		if ($('formlayer'))
			{
			Element.hide($('formlayer'));
			}
			Element.show($('zoomlayer'));
			}
	}

function zoomcurrent()
	{
	zoompic(currentpic);
	}

function unzoom()
	{
	Element.hide($('zoomlayer'));
	if ($('maplayer'))
		{
		Element.hide($('maplayer'));
		}
	Element.show($('picturelayer'));
	}

function zoomform()
	{
	maplayer = $('maplayer');
	Element.hide($('image-container'));
	if ($('maplayer'))
		{
		Element.hide($('maplayer'));
		}
	if ($('linklayer'))
		{
		Element.hide($('linklayer'));
		}
	Element.show($('formlayer'));
	}

function unzoomform()
	{
	Element.hide($('formlayer'));
	if ($('maplayer'))
		{
		Element.hide($('maplayer'));
		}
	if ($('linklayer'))
		{
		Element.hide($('linklayer'));
		}
	Element.show($('image-container'));
	}

function zoomlinks()
	{
	/*maplayer = $('maplayer');
	Element.hide($('image-container'));
	if ($('maplayer'))
		{
		Element.hide($('maplayer'));
		}
	if ($('formlayer'))
		{
		Element.hide($('formlayer'));
		}*/
	Element.show($('linklayer'));
	}
function unzoomlinks()
	{
	Element.hide($('linklayer'));
	/*if ($('maplayer'))
		{
		Element.hide($('maplayer'));
		}
	if ($('formlayer'))
		{
		Element.hide($('formlayer'));
		}
	Element.show($('image-container'));*/
	}