function slideshow (url)
{
	url += "?WH="+screen.height+"&WW="+screen.width;
	window.open (url, "WebGalerie","toolbar=no,scrollbars=1,menubar=no,location=0,resizable=1,directories=0,status=no,fullscreen=yes,width=" + (screen.width) + ",height=" + (screen.height) + ",left=0,top=0");
}

//------------------------------------------------------

function ShowImage (image, breite, hoehe)
{
	var seite = (screen.availWidth - breite) / 2;
	var oben = (screen.availHeight - hoehe) / 2;
	var params = "width="+breite+",height="+hoehe+",left="+seite+",top="+oben;
	params += ",toolbar=no,resizable=yes,scrollbars=yes,dependent=yes";

	window.open (image, "", params);
}

//------------------------------------------------------

function Go (href,anker)
{
//	parent.Navigation.location.href = "verein0.htm"
//	parent.Inhalt.location.href = "verein1.htm#Ziele"
	top.anker = anker;
	top.Hauptframe.location.href = href
}

//------------------------------------------------------

function NaviFenster() 
{
//	rightMenu();

	if (top.anker != '')
	{
		window.location.href = '#' + top.anker;
		top.anker = '';
	}
}

//------------------------------------------------------

function rightMenu()
{
//alert ('self='+self+'  top='+top);
	if (self !=top)
		return;

	var contentfile = document.location;
//alert ('contenfile='+contentfile);
	var startFilename = String(contentfile).lastIndexOf("/")+1;
//alert ('startfilename='+startFilename);
	var slash2   = String(contentfile).lastIndexOf("/", startFilename-2);	
	var slash1   = String(contentfile).lastIndexOf("/", slash2-1);
	var Dirname  = String(contentfile).substring(slash1+1, startFilename);
	var Filename = String(contentfile).substring(startFilename);
//alert ('dirname='+Dirname+' filename='+Filename);   
	var AdressUrl ="../?"+Dirname+Filename;
//	top.location.replace(AdressUrl);
	top.location.replace("../index1.htm");

//	rightMenu1();
//	window.location.setTimeout("rightMenu1()",1000);

//alert ('Hauptframe='+top.Hauptframe);
//	top.Hauptframe.location.href = "aenderungen.htm";
}

function rightMenu1()
{
	if (top.Hauptframe)
	{
//alert ('Hauptframe');
		top.Hauptframe.location.href = "aenderungen.htm";
	}
	else
	{
		rightMenu1();
		window.setTimeout("rightMenu1()",1000);
	}
}