// JavaScript Document

function homePlanOver(sFilename)
{
	getE('homePlan').src = sFilename;
}

function initHomePlan(sDirectory)
{
	getE("homePlanProgramm").onmouseover		= new Function ("", "homePlanOver('" + sDirectory + "/homenavi_programm.gif')");
	getE("homePlanProgramm").onmouseout			= new Function ("", "homePlanOver('" + sDirectory + "/homenavi_.gif')");

	getE("homePlanAusstellungen").onmouseover	= new Function ("", "homePlanOver('" + sDirectory + "/homenavi_ausstellung.gif')");
	getE("homePlanAusstellungen").onmouseout	= new Function ("", "homePlanOver('" + sDirectory + "/homenavi_.gif')");

	getE("homePlanSammlung").onmouseover		= new Function ("", "homePlanOver('" + sDirectory + "/homenavi_sammlung.gif')");
	getE("homePlanSammlung").onmouseout			= new Function ("", "homePlanOver('" + sDirectory + "/homenavi_.gif')");

	getE("homePlanLinks").onmouseover			= new Function ("", "homePlanOver('" + sDirectory + "/homenavi_links.gif')");
	getE("homePlanLinks").onmouseout			= new Function ("", "homePlanOver('" + sDirectory + "/homenavi_.gif')");

	getE("homePlanShop").onmouseover			= new Function ("", "homePlanOver('" + sDirectory + "/homenavi_shop.gif')");
	getE("homePlanShop").onmouseout				= new Function ("", "homePlanOver('" + sDirectory + "/homenavi_.gif')");

	getE("homePlanMuseum").onmouseover			= new Function ("", "homePlanOver('" + sDirectory + "/homenavi_museum.gif')");
	getE("homePlanMuseum").onmouseout			= new Function ("", "homePlanOver('" + sDirectory + "/homenavi_.gif')");

	getE("homePlanPresse").onmouseover			= new Function ("", "homePlanOver('" + sDirectory + "/homenavi_presse.gif')");
	getE("homePlanPresse").onmouseout			= new Function ("", "homePlanOver('" + sDirectory + "/homenavi_.gif')");

	getE("homePlanKontakt").onmouseover			= new Function ("", "homePlanOver('" + sDirectory + "/homenavi_kontakt.gif')");
	getE("homePlanKontakt").onmouseout			= new Function ("", "homePlanOver('" + sDirectory + "/homenavi_.gif')");
}


var sPlanInitImageFilename = new String;

function planOver(sFilename)
{
	getE('plan').src = sFilename;
}

function initPlan(sDirectory)
{
	getE("planProgramm").onmouseover		= new Function ("", "planOver('" + sDirectory + "/header_plan_programm.gif')");
	getE("planProgramm").onmouseout			= new Function ("", "planOver('" + sDirectory + "/" + sPlanInitImageFilename + "')");

	getE("planAusstellungen").onmouseover	= new Function ("", "planOver('" + sDirectory + "/header_plan_ausstellung.gif')");
	getE("planAusstellungen").onmouseout	= new Function ("", "planOver('" + sDirectory + "/" + sPlanInitImageFilename + "')");

	getE("planSammlung").onmouseover		= new Function ("", "planOver('" + sDirectory + "/header_plan_sammlung.gif')");
	getE("planSammlung").onmouseout			= new Function ("", "planOver('" + sDirectory + "/" + sPlanInitImageFilename + "')");

	getE("planLinks").onmouseover			= new Function ("", "planOver('" + sDirectory + "/header_plan_links.gif')");
	getE("planLinks").onmouseout			= new Function ("", "planOver('" + sDirectory + "/" + sPlanInitImageFilename + "')");

	getE("planShop").onmouseover			= new Function ("", "planOver('" + sDirectory + "/header_plan_shop.gif')");
	getE("planShop").onmouseout				= new Function ("", "planOver('" + sDirectory + "/" + sPlanInitImageFilename + "')");

	getE("planMuseum").onmouseover			= new Function ("", "planOver('" + sDirectory + "/header_plan_museum.gif')");
	getE("planMuseum").onmouseout			= new Function ("", "planOver('" + sDirectory + "/" + sPlanInitImageFilename + "')");

	getE("planPresse").onmouseover			= new Function ("", "planOver('" + sDirectory + "/header_plan_presse.gif')");
	getE("planPresse").onmouseout			= new Function ("", "planOver('" + sDirectory + "/" + sPlanInitImageFilename + "')");

	getE("planKontakt").onmouseover			= new Function ("", "planOver('" + sDirectory + "/header_plan_kontakt.gif')");
	getE("planKontakt").onmouseout			= new Function ("", "planOver('" + sDirectory + "/" + sPlanInitImageFilename + "')");
}


function getE(sElmId)
{
	return document.getElementById(sElmId);
}
