//**************************************************************************************************
var linkcode = 0;
var zahl = 0;

function clicked(x,y) {
	if ((x>=99)&(y>=114)&(x<=112)&(y<=129))//linke obere schwarze ecke
	{
		window.location.href="/cgi-bin/fotoalbum.pl?verzeichnis=../wuenz/blond/";
	}
	if ((x>=666)&(y>=457)&(x<=679)&(y<=472))//punkt auf rechtem kragen
	{
		window.location.href="/cgi-bin/fotoalbum.pl?verzeichnis=../wuenz/daisy/&bild=daisy01_01.jpg";
	}
	if ((x>=416)&(y>=415)&(x<=441)&(y<=446))//linker fingernagel
	{
		window.location.href="/cgi-bin/fotoalbum.pl?verzeichnis=../wuenz/karimelissa/&bild=karimelissa01_01.jpg";
	}
	if ((x>=142)&(y>=388)&(x<=174)&(y<=420))//rechter fingernagel
	{
		window.location.href="/cgi-bin/fotoalbum.pl?verzeichnis=../wuenz/veronicadanielle/&bild=veronicadanielle01_01.jpg";
	}
};

function clicked_old(ziffer) {
	if (ziffer >= 10)
	{
		if (ziffer == 20) 
		{
			zahl = 0;
			linkcode = 0;
		}
		if (ziffer == 30)
		{
			linkcode = linkcode * 100 + zahl;
			zahl = 0;
			if ((linkcode >= 8 * 10 * 10 * 10 * 10 * 10 * 10 * 10 * 10 * 10 * 10) & (linkcode <= 9 * 10 * 10 * 10 * 10 * 10 * 10 * 10 * 10 * 10 * 10))
			{
				alert(linkcode);
			}
		}
	}
	else
	{
		zahl = zahl * 10 + ziffer;
	}
};
