function openWin2(sNaam, sFile, iBreedte, iHoogte, sCirkeltype, iLeft, iTop) {
	iBreedte = iBreedte + 0;
	if (iBreedte>420) 
	{sSchaalplaatje='gr'
	 iSchaalBreedte=296
	} 
	else 
	{sSchaalplaatje='kl'
	 iSchaalBreedte=161
	};
	iSluitenBreedte = iBreedte-iSchaalBreedte;
	iHoogte2 = iHoogte + 35;

	winN1=window.open("", sNaam ,"scrollbars=no,resizable=no,width=" + iBreedte + ",height=" + iHoogte2)
	winN1.document.open();




	winN1.document.write("<HTML><HEAD><TITLE>Foto</TITLE>\n");
	winN1.document.write("<STYLE TYPE='text/css'>\n");
	winN1.document.write("<!--\n");
	winN1.document.write("#parentDiv {position:relative; left:0; top:0;}\n");
	winN1.document.write("#childDiv {position:absolute; left:" + iLeft + "; top:" + iTop + ";}\n");
	winN1.document.write("-->\n");
	winN1.document.write("</STYLE>\n");
	winN1.document.write("</HEAD>\n");

	winN1.document.write("<body link='#0000FF' vlink='#0000FF' alink='#0000FF' topmargin=0 leftmargin=0>\n");

	winN1.document.write("<table border='0' cellspacing='0' cellpadding='0'>\n");
	winN1.document.write("  <tr>\n");
	winN1.document.write("    <td colspan='2'>\n");
	winN1.document.write("      <DIV ID='parentDiv'>\n");
	winN1.document.write("          <img src='" + sFile + "' width='" + iBreedte + "' height='" + iHoogte + "'>\n");
	winN1.document.write("        <DIV ID='childDiv'>\n");
	winN1.document.write("	      	<img src='../images/ausmaps/cirkel" + sCirkeltype + ".png' width='130' height='130'>\n");
	winN1.document.write("        </DIV>	\n");
	winN1.document.write("      </DIV>\n");
	winN1.document.write("    </td>\n");


	winN1.document.write("  </tr>\n");
	winN1.document.write("  <tr>\n");
	winN1.document.write("    <td bgcolor='#C0C0C0' width='" + iSluitenBreedte + "'><b><font face='Arial' size='2'>&nbsp;</font></b><a href='javascript:window.close();'><b><font face='Arial' size='2'>Window sluiten</font></b></a></td>\n");
	winN1.document.write("    <td bgcolor='#C0C0C0' align='right'><img border='0' src='../images/ausmaps/schaal" + sSchaalplaatje + "40.png' width='" + iSchaalBreedte + "' height='28'></td>\n");
	winN1.document.write("  </tr>\n");
	winN1.document.write("</table>\n");



	winN1.document.write("</BODY></HTML>\n");
	winN1.document.close();
}

function RemoteFunc() {
	var sPath = window.location.pathname;
	var iPos = sPath.lastIndexOf('/');
	if (iPos==0) iPos = sPath.lastIndexOf('\\');
	var iPosDot = sPath.lastIndexOf('.');
	var sPagename = sPath.substring(iPos+1, iPosDot);
	var iPosUndrscr = sPagename.indexOf('_');
	sPagename = sPagename.substring(iPosUndrscr+1) //strip off text before '_'
 	parent.links.HiliteLink(sPagename);
}
