bevestigingsvraag = "This page is best viewed within frames. Open frameset?\nPress OK to open this page in frames, or Cancel to stay.";
superframeset = "/index.html";

function opensuperframe(subframenamen, subframebronnen) {
	if (self.location.href == top.location.href && !topframe) {
		//if (confirm(bevestigingsvraag))	{
			parameters = "?";
			for (p=0;p<subframenamen.length;p++) 
				parameters += subframenamen[p] + "=" + subframebronnen[p] + "&";
			top.location.href = superframeset + parameters;
		//}
	}
}

function getFromQuerystring(varname) {
	querystring	= window.location.search.substring(1); // het "?" is er nu af
	contents	= querystring.split("&");
	for (i=0;i<contents.length;i++)
		if (contents[i].split("=")[0] == varname) 
			return contents[i].split("=")[1];
}

