$("document").ready(
	function(){
		visibilitytoggle();	
	}
);

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function sluiten() 
{
  self.close();
}

/* 
The Visibility Toggle
Copyright 2003 by Sim D'Hertefelt 
www.interactionarchitect.com 
info@interactionarchitect.com
*/

var hotspots,toggles;


function visibilitytoggle()
{
	hotspots = $('.hotspot');
	toggles = $('.toggle');

	try
	{
		for (var i = 0; i < hotspots.length; i++)
		{
		  hotspots[i].someProperty = i;
		  hotspots[i].onclick = function() {toggle(this.someProperty)};
		}

		for (var i = 0; i < toggles.length; i++)
		{
		  toggles[i].style.display = 'none';
		}
	}
	catch(exc){}
  
}

function toggle(i)
{
  if (toggles[i].style.display == 'none')
  {
	toggles[i].style.display = ''
	hotspots[i].setAttribute("class", "activehotspot");
  }
  else
  {
	toggles[i].style.display = 'none';
    hotspots[i].setAttribute("class", "");
  }
} 

function showall()
{
  for (var i = 0; i < toggles.length; i++)
  {
  toggles[i].style.display = '';
  }
}

function hideall()
{
  for (var i = 0; i < toggles.length; i++)
  {
  toggles[i].style.display = 'none';
  }
}