	function openStart()
	{
   
	var props = "width=" + screen.availWidth + ", height=" + (screen.availHeight - 5) + ", top=0, resizable=1, location=0, toolbar=0, scrollbars=1"
	MAIpage = window.open("flash/index.asp", "MAIpage", props)
	MAIpage.focus();
	}
	
function getURLvar(strName)
{
	//strName = encodeURI(strName);
	var props = "width=1000,height=800,left=" + (screen.availWidth - 1024) + ",top=0, resizable=1, location=1, toolbar=1, scrollbars=1"
	var result = (document.location+"").indexOf("vervaardiger");
		if(strName.indexOf("KLM") >= 0 || strName.indexOf("klm") >= 0)
			{GAApage = parent.window.open("http://beeldbank.amsterdam.nl/redirect.php?collectie=KLM Maria Austria Instituut&ve=5123094", 'GAA', props);}
		else if(strName.indexOf("Besnyo, Eva") >= 0)
			{GAApage = parent.window.open("http://beeldbank.amsterdam.nl/index.php?option=com_result&Itemid=9&qasked=1&qtype=nieuw&ve=825636", 'GAA', props);}
		else
			{GAApage = parent.window.open("http://beeldbank.amsterdam.nl/redirect.php?collectie=Maria Austria Instituut&vervaardiger="+strName, 'GAA', props);}
//alert("http://beeldbank.amsterdam.nl/redirect.php?collectie=Maria Austria Instituut&vervaardiger="+strName);
	GAApage.focus();
}
function getURLZoek(strName)
{
	
	//strName = encodeURIComponent(strName);
	//alert(strName);
	var props = "width=1000,height=800,left=" + (screen.availWidth - 1024) + ",top=0, resizable=1, location=1, toolbar=1, scrollbars=1"
	var result = (document.location+"").indexOf("vervaardiger");
		if(strName.indexOf("KLM") >= 0 || strName.indexOf("klm") >= 0)
			{GAApage = window.open("http://beeldbank.amsterdam.nl/redirect.php?collectie=KLM Maria Austria Instituut&term="+strName, 'GAA', props);}
		else
			{GAApage = window.open("http://beeldbank.amsterdam.nl/redirect.php?collectie=Maria Austria Instituut&term="+strName, 'GAA', props);}
	GAApage.focus();
}

function getBoekje(strName, varColor)
{
	var props = "width=790,height=460,left=" + (screen.availWidth - 790) / 2 + ",top=" + (screen.availHeight - 460) / 2 + ", resizable=0, location=0, toolbar=0, scrollbars=0"
	BookPage = parent.window.open("bookpage.asp?id="+strName+"&color="+varColor, "BookPage", props);
	BookPage.focus();
}