// location = /Reisen
// name = scripts_Left.js

	var Page = 1;						// Start Page
	var linktext = "dummy.html";
	var Action = "No";
	var Button = "Reisen";
	var Maps = false;
	var	ns4up = 1;
	var	ie4up = 0;

	NewTop  = 30;
	NewLeft = 100;

	HomeOff = new Image(); 
	HomeOff.src = "../Main/ButtonHome1.jpg"; 
	PrivateOff = new Image(); 
	PrivateOff.src = "../Main/ButtonPrivat1.jpg"; 
	CocktailsOff = new Image(); 
	CocktailsOff.src = "../Main/ButtonCocktails1.jpg"; 
	HobbiesOff = new Image(); 
	HobbiesOff.src = "../Main/ButtonHobbies1.jpg"; 
	ReisenOff = new Image(); 
	ReisenOff.src = "../Main/ButtonReisen1.jpg"; 
	LinksOff = new Image(); 
	LinksOff.src = "../Main/ButtonLinks1.jpg"; 
	MailOff = new Image(); 
	MailOff.src = "../Main/ButtonMail1.jpg"; 
	GBOff = new Image(); 
	GBOff.src = "../Main/ButtonGB1.jpg"; 

	StartOff = new Image(); 
	StartOff.src = "../Main/Button_Start1.jpg"; 
	ForOff = new Image(); 
	ForOff.src = "../Main/Button_vor1.jpg"; 
	BackOff = new Image(); 
	BackOff.src = "../Main/Button_back1.jpg"; 
	EndOff = new Image(); 
	EndOff.src = "../Main/Button_Ende1.jpg"; 

	UpOff = new Image(); 
	UpOff.src = "../../Main/Button_nachoben1.jpg"; 
	Up1Off = new Image(); 
	Up1Off.src = "../Main/Button_nachoben1.jpg"; 
	zuruckOff = new Image(); 
	zuruckOff.src = "../../Main/Button_zuruck1.jpg"; 
	zuruck1Off = new Image(); 
	zuruck1Off.src = "../Main/Button_zuruck1.jpg"; 

	HomeActive = new Image(); 
	HomeActive.src = "../Main/ButtonHome2.jpg"; 
	PrivateActive = new Image(); 
	PrivateActive.src = "../Main/ButtonPrivat2.jpg"; 
	CocktailsActive = new Image(); 
	CocktailsActive.src = "../Main/ButtonCocktails2.jpg"; 
	HobbiesActive = new Image(); 
	HobbiesActive.src = "../Main/ButtonHobbies2.jpg"; 
	ReisenActive = new Image(); 
	ReisenActive.src = "../Main/ButtonReisen2.jpg"; 
	LinksActive = new Image(); 
	LinksActive.src = "../Main/ButtonLinks2.jpg"; 
	MailActive = new Image(); 
	MailActive.src = "../Main/ButtonMail2.jpg"; 
	GBActive = new Image(); 
	GBActive.src = "../Main/ButtonGB2.jpg"; 


	HomeOn = new Image(); 
	HomeOn.src = "../Main/ButtonHome3.jpg"; 
	PrivateOn = new Image(); 
	PrivateOn.src = "../Main/ButtonPrivat3.jpg"; 
	CocktailsOn = new Image(); 
	CocktailsOn.src = "../Main/ButtonCocktails3.jpg"; 
	HobbiesOn = new Image(); 
	HobbiesOn.src = "../Main/ButtonHobbies3.jpg"; 
	ReisenOn = new Image(); 
	ReisenOn.src = "../Main/ButtonReisen3.jpg"; 
	LinksOn = new Image(); 
	LinksOn.src = "../Main/ButtonLinks3.jpg"; 
	MailOn = new Image(); 
	MailOn.src = "../Main/ButtonMail3.jpg"; 
	GBOn = new Image(); 
	GBOn.src = "../Main/ButtonGB3.jpg"; 

	StartOn = new Image(); 
	StartOn.src = "../../Main/Button_Start3.jpg"; 
	ForOn = new Image(); 
	ForOn.src = "../../Main/Button_vor3.jpg"; 
	BackOn = new Image(); 
	BackOn.src = "../../Main/Button_back3.jpg"; 
	EndOn = new Image(); 
	EndOn.src = "../../Main/Button_Ende3.jpg"; 

	UpOn = new Image(); 
	UpOn.src = "../../Main/Button_nachoben3.jpg"; 
	Up1On = new Image(); 
	Up1On.src = "../Main/Button_nachoben3.jpg"; 
	zuruckOn = new Image(); 
	zuruckOn.src = "../../Main/Button_zuruck3.jpg"; 
	zuruck1On = new Image(); 
	zuruck1On.src = "../Main/Button_zuruck3.jpg"; 


	StartOut = new Image();
 	StartOut.src = "../../Main/Button_Start_Out.jpg"; 
	ForOut = new Image(); 
	ForOut.src = "../../Main/Button_vor_Out.jpg"; 
	BackOut = new Image(); 
	BackOut.src = "../../Main/Button_back_Out.jpg"; 
	EndOut = new Image(); 
	EndOut.src = "../../Main/Button_Ende_Out.jpg"; 

	function imgOn(imgName) {
		if (imgName != Button) {
			document[imgName].src = eval(imgName + "On.src");
		}
	}

	function imgOff(imgName) {
		if (imgName != Button) {
			document[imgName].src = eval(imgName + "Off.src"); 
		}
	}

	function imgActive(imgName) {
		if (Button != 1) {
			document[Button].src = eval(Button + "Off.src"); 
		}
		document[imgName].src = eval(imgName + "Active.src");
		Button = imgName;
	}

	function init() {
		ns4up = (document.layers) ? 1 : 0;  // browser sniffer
		ie4up = (document.all) ? 1 : 0;
	}

	function OpenMap(MapName,NewHeight,NewWidth) {
		New_URL = MapName + ".html"
		NewFeature = "'toolbar=no,left=10,top=10,status=no,scrollbars=no,resize=yes,width=" + NewWidth + ",height=" + NewHeight + "'"

		if(ns4up){ 			// if Netscape            
			if (Maps){		//close, if already open
				Maps.close();
			}
			Maps = window.open(New_URL,'Maps',NewFeature);

			Maps.outerWidth  = NewWidth; 
			Maps.outerHeight = NewHeight; 
		}
		else if(ie4up){         //if Internet Explorer 4
			Maps = window.open(New_URL,'Maps',NewFeature);
//			if (Maps){		//if already open
				Maps.resizeTo(NewWidth + 5,NewHeight + 20);
//				}
		}
		Maps.focus();
	}

	function OpenWindow(Name) {
		NewTop = NewTop + 10
		NewLeft = NewLeft + 10
		URL = Name + ".html"
		NewFeature = "'toolbar=no,left=" + NewLeft + ",top=" + NewTop + ",status=no,scrollbars=yes,resize=no,width=500,height=400'"
		Info = window.open(URL,Name,NewFeature);
		Info.focus(URL);
	}
	
	function ChangePages(NewPage, Target, Anchor) {
		parent.MainPage.location = Target + "_" + NewPage + ".html" + "#" + Anchor
		parent.Buttons_Bottom.location = "Buttons_Bottom.html"
	}

	function OpenAnthem(Name) {
			URL = "../Anthem_Info.html"
			NewFeature = "'toolbar=no,left=300,top=200,status=no,scrollbars=no,resize=no,width=300,height=220'"
			Info = window.open(URL,'Test',NewFeature);
	}

