function IndexHead(afbeelding)
{	document.write('<table width=100% border=0 cellspacing=0 cellpadding=0><tr>');
	document.write('<td width=180 bgcolor=#FFFFFF colspan=2><IMG SRC="gif/' + afbeelding + '" width=180 border=0></TD></TR>');
	document.write('<td width=5 bgcolor=',color3,'>&nbsp;</td><td width="' + (kolombreedte-5) + '" bgcolor=',color3,'>');
	document.write('<FONT face=' + letter + ' SIZE=1>');
}

function Bestandsnaam()
{
   wholeurl = window.location.href;
   x = wholeurl.length;
   while((wholeurl.substring(x,x-1)) != "."){ x--; } clipend = x;
   while((wholeurl.substring(x,x-1)) != "/"){ x--; } clipstart = x;
   return wholeurl.substring(clipend-1,clipstart);
}


function Index()
{	IndexHead("erotiek_bottom.gif");
	var aIndex = new Array(
		"0906.html¶0906 SEXSITES",
		"amateur.html¶AMATEUR",
		"babes.html¶BABES",
		"bigtits.html¶BIG TITS",
		"escort.html¶ESCORT",
		"gay.html¶GAY",
		"lesbian.html¶LESBIAN",
		"porno.html¶PORNO",
		"pornstars.html¶PORNSTARS",
		"sekstechniek.html¶SEKSTECHNIEKEN",
		"sex.html¶SEX",
		"sexclubs.html¶SEXCLUBS",
		"sexgames.html¶SEXGAMES",
		"sexlinks.html¶SEX LINKSITES",
		"sexmovies.html¶SEXMOVIES",
		"sexshops.html¶SEXSHOPS",
		"sextoons.html¶SEXTOONS",
		"sexualiteit.html¶SEXUALITEIT",
		"sexverhalen.html¶SEXVERHALEN",
		"sm.html¶SM / FETISH",
		"stellen.html¶STELLEN / SWINGERS",
		"teens.html¶TEENS",
		"tgp.html¶TGP",
		"webcams.html¶WEBCAMS"
	);

	filenaam = Bestandsnaam();
	if (filenaam == "index")
	{	filenaam = "sex";
	}

	for (iIndex=0; iIndex < aIndex.length; iIndex++)
	{	veld=aIndex[iIndex].split("¶");
		if (filenaam + '.html' == veld[0])
		{	document.write('<A HREF="', veld[0], '"><FONT SIZE=2><B>>', veld[1], '<</B></FONT></A><BR>');
		}
		else
		{	document.write('<A HREF="', veld[0], '">', veld[1], '</A><BR>');
		}
	}

	SchrijfVoet("default");

}

