function changeImg(bigImg, num)
{
  if(num == 1)
  {
    newImg = inset1;
  }
  else if(num == 0)
       {
         newImg = inset0;
       }
      else
      {
        newImg = inset2;
       }

theWidth = newImg.width;
theHeight = newImg.height;

mainIMG = document.getElementById('mainimg');

mainIMG.height = theHeight;
mainIMG.width = theWidth;
mainIMG.src = newImg.src;

highslideRef = document.getElementById('highslide');
highslideRef.href = bigImg;
}

function openTemplate(divID)
{
	templateBox = document.getElementById(divID);
	if (templateBox.style.display == 'none')
	{
		templateBox.style.display = '';
	}
	else
	{
		templateBox.style.display = 'none';
	}

}
