// JavaScript Document
function homePlanOver(sFilename)
{
	getE('homePlan').src = sFilename;
}

function initHomePlan(sDirectory)
{
    	Bild = new Image(); 
        Bild.src = sDirectory + "/homenavi_programm.jpg"; 
		Bild = new Image(); 
        Bild.src = sDirectory + "/homenavi_ausstellungen.jpg"; 
		Bild = new Image(); 
        Bild.src = sDirectory + "/homenavi_shop.jpg"; 
		Bild = new Image(); 
        Bild.src = sDirectory + "/homenavi_museum.jpg"; 
		Bild = new Image(); 
        Bild.src = sDirectory + "/homenavi_blog.jpg"; 
		Bild = new Image(); 
        Bild.src = sDirectory + "/homenavi_paedagogik.jpg"; 
		Bild = new Image(); 
        Bild.src = sDirectory + "/homenavi_patenschaften.jpg"; 
		Bild = new Image(); 
        Bild.src = sDirectory + "/homenavi_speicher.jpg"; 
		Bild = new Image(); 
        Bild.src = sDirectory + "/homenavi_presse.jpg"; 
             

	getE("homePlanProgramm").onmouseover		= new Function ("", "homePlanOver('" + sDirectory + "/homenavi_programm.jpg')");
	getE("homePlanProgramm").onmouseout			= new Function ("", "homePlanOver('" + sDirectory + "/homenavi_.jpg')");

	getE("homePlanAusstellungen").onmouseover	= new Function ("", "homePlanOver('" + sDirectory + "/homenavi_ausstellungen.jpg')");
	getE("homePlanAusstellungen").onmouseout	= new Function ("", "homePlanOver('" + sDirectory + "/homenavi_.jpg')");


	getE("homePlanShop").onmouseover			= new Function ("", "homePlanOver('" + sDirectory + "/homenavi_shop.jpg')");
	getE("homePlanShop").onmouseout				= new Function ("", "homePlanOver('" + sDirectory + "/homenavi_.jpg')");

	getE("homePlanMuseum").onmouseover			= new Function ("", "homePlanOver('" + sDirectory + "/homenavi_museum.jpg')");
	getE("homePlanMuseum").onmouseout			= new Function ("", "homePlanOver('" + sDirectory + "/homenavi_.jpg')");

	getE("homePlanBlog").onmouseover			= new Function ("", "homePlanOver('" + sDirectory + "/homenavi_blog.jpg')");
	getE("homePlanBlog").onmouseout				= new Function ("", "homePlanOver('" + sDirectory + "/homenavi_.jpg')");

	/*getE("homePlanKontakt").onmouseover			= new Function ("", "homePlanOver('" + sDirectory + "/homenavi_kontakt.jpg')");
	getE("homePlanKontakt").onmouseout			= new Function ("", "homePlanOver('" + sDirectory + "/homenavi_.jpg')");*/
	
	getE("homePlanPaedagogik").onmouseover		= new Function ("", "homePlanOver('" + sDirectory + "/homenavi_paedagogik.jpg')");
	getE("homePlanPaedagogik").onmouseout		= new Function ("", "homePlanOver('" + sDirectory + "/homenavi_.jpg')");
	
	getE("homePlanPatenschaften").onmouseover	= new Function ("", "homePlanOver('" + sDirectory + "/homenavi_patenschaften.jpg')");
	getE("homePlanPatenschaften").onmouseout	= new Function ("", "homePlanOver('" + sDirectory + "/homenavi_.jpg')");
	
	getE("homePlanSpeicher").onmouseover		= new Function ("", "homePlanOver('" + sDirectory + "/homenavi_speicher.jpg')");
	getE("homePlanSpeicher").onmouseout			= new Function ("", "homePlanOver('" + sDirectory + "/homenavi_.jpg')");
	
	getE("homePlanPresse").onmouseover		= new Function ("", "homePlanOver('" + sDirectory + "/homenavi_presse.jpg')");
	getE("homePlanPresse").onmouseout			= new Function ("", "homePlanOver('" + sDirectory + "/homenavi_.jpg')");
}


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);
}
