if (top.frames.length > 0)
{
	top.location.href = self.location;
}

function rootpage(rootpagetrue)
{
	if (rootpagetrue == "1")
	{
		iconpath = "images/";
	}
	else
	{
		iconpath = "../images/";
	}
	if (document.images)
	{
		icon100 = new Image();
		icon100.src = iconpath + "ico_home-off.gif";
		icon101 = new Image();
		icon101.src = iconpath + "ico_home-on.gif";	
		icon110 = new Image();
		icon110.src = iconpath + "ico_mail-off.gif";
		icon111 = new Image();
		icon111.src = iconpath + "ico_mail-on.gif";
		icon120 = new Image();
		icon120.src = iconpath + "ico_sitemap-off.gif";
		icon121 = new Image();
		icon121.src = iconpath + "ico_sitemap-on.gif";
		icon130 = new Image();
		icon130.src = iconpath + "ico_help-off.gif";
		icon131 = new Image();
		icon131.src = iconpath + "ico_help-on.gif";
		icon900 = new Image();
		icon900.src = iconpath + "ico_up-off.gif";
		icon901 = new Image();
		icon901.src = iconpath + "ico_up-on.gif";
	}
}

function statustext(statustextnum)
{
	if (statustextnum == "1")
	{
		window.defaultStatus = "Herzlich willkommen ...";
	}
	else
	{
		window.defaultStatus = "Die Internetseiten des TrekDinner Köln";
	}
}

function gotop()
{
	window.scrollTo(0,0);
}

function display(num)
{
	if (num == "100") document.holder10.src = icon100.src;
	if (num == "101") document.holder10.src = icon101.src;
	if (num == "110") document.holder11.src = icon110.src;
	if (num == "111") document.holder11.src = icon111.src;
	if (num == "120") document.holder12.src = icon120.src;
	if (num == "121") document.holder12.src = icon121.src;
	if (num == "130") document.holder13.src = icon130.src;
	if (num == "131") document.holder13.src = icon131.src;
	if (num == "900") document.holder90.src = icon900.src;
	if (num == "901") document.holder90.src = icon901.src;
}

