//------  In diesem File werden die Navigationslinks behandelt
//------  Jeder Link fŸr die linke und obere Navigation hat hier seine eigene Funktion
//------  wird hier ein link geŠndert, so gilt das fŸr alle seiten!

//------ Framebezeichnungen
//			Schriftzug: 	logo
//			Objektkontext:	objekt
//			NaviMenu: 		menu
//			Benutzer: 		key
//			Hauptanzeige: 	main


//------  oberes Menu

function startup(idSession,idKunde){
	top.key.fromuk=0;
	top.objekt.location.href='fs?aName=mytn/objekt-passive&aIdKunde='+ idKunde + '&aIdSession=' + idSession;
	top.menu.location.href='fs?aName=mytn/menu-login&aIdKunde='+ idKunde + '&aIdSession=' + idSession;
	top.key.location.href='fs?aName=mytn/key-passive&aIdKunde='+ idKunde + '&aIdSession=' + idSession;
	top.main.location.href='fs?aName=mytn/main&aIdKunde='+ idKunde + '&aIdSession=' + idSession;
	top.logo.location.href='fs?aName=mytn/schriftzug&aIdKunde='+ idKunde + '&aIdSession=' + idSession;
}

function anmelden(idSession,idKunde){
	top.objekt.location.href='fs?aName=mytn/objekt-passive&aIdKunde='+ idKunde + '&aIdSession=' + idSession;
	if (top.key.loggedin != 1){
		top.key.location.href='fs?aName=mytn/key-passive&aIdKunde='+ idKunde + '&aIdSession=' + idSession;
		top.menu.location.href='fs?aName=mytn/menu-login&aIdKunde='+ idKunde + '&aIdSession=' + idSession;
		top.main.location.href='fs?aName=mytn/main&aIdKunde='+ idKunde + '&aIdSession=' + idSession;
		top.logo.location.href='fs?aName=mytn/schriftzug&aIdKunde='+ idKunde + '&aIdSession=' + idSession;
	} else {
		top.key.fromuk = 0;
		top.menu.location.href='fs?aName=mytn/menu-gesamt&aIdKunde='+ idKunde + '&aIdSession=' + idSession;
		top.main.location.href='liste-unterkunft?aIdKunde='+ idKunde + '&aIdSession=' + idSession;
		top.logo.location.href='fs?aName=mytn/schriftzug-about&aIdKunde='+ idKunde + '&aIdSession=' + idSession;
	}
}

function about(idSession,idKunde){
	top.key.fromuk = 0;
	top.objekt.location.href='fs?aName=mytn/objekt-passive&aIdKunde='+ idKunde + '&aIdSession=' + idSession;
	top.menu.location.href='fs?aName=about/menu-all&aIdKunde='+ idKunde + '&aIdSession=' + idSession;
	top.main.location.href='fs?aName=about/main-about&aUkCount=1&aIdKunde='+ idKunde + '&aIdSession=' + idSession;
	top.logo.location.href='fs?aName=mytn/schriftzug-login&aIdKunde='+ idKunde + '&aIdSession=' + idSession;
}

//----- linkes Menu

//----- allgemein

function optionsall(html,idSession,idKunde,idUk){
	top.menu.location.href='fs?aName=mytn/menu-options-all-'+ html +'&aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk;
	top.main.location.href='adm-perseigsch?aIdEigTyp=-33&aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk;
}

function optionsuser(html,idSession,idKunde,idUk){
	top.menu.location.href='fs?aName=mytn/menu-options-user-'+ html +'&aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk;
	top.main.location.href='fs?aName=mytn/main-options-user&aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk;
}

function gesamt(idSession,idKunde,idUk){
	top.menu.location.href='fs?aName=mytn/menu-gesamt&aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk;
	top.main.location.href='liste-unterkunft?aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk;
	top.objekt.location.href='fs?aName=mytn/objekt-passive&aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk;
}

function unterkunft(idSession,idKunde,idUk){
	top.menu.location.href='mytn-menu?aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk +'&aPosAkt=-1';
	top.main.location.href='uk-uebersicht?aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk;
	top.objekt.location.href='object-active?aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk;
/*	top.menu.location.href='mytn-menu?aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk +'&aPosAkt=0&aWizzard=1';*/
/*	top.main.location.href='adm-name?aWizzard=1&aTyp=uk&aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdDetail='+ idUk;*/
/*	top.objekt.location.href='object-active?aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk;*/
	//alert(id);
}

function forum(html,idSession,idKunde,idUk){
	top.menu.location.href='fs?aName=mytn/menu-forum-'+ html +'&aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk;
	top.main.location.href='http://www.travelnet.de/bin/angebote/angeig-liste?aIdKunde=11&aIdUnterkunft='+ idUk;
}

function alghilfe(idSession,idKunde,idUk){
	helpwindow = window.open('http:\/\/www.travelnet.de\/mt\/html\/help\/','alghelpwin','width=660,height=400,scrollbars=no,resizable=yes');
	helpwindow.focus();
}


function order(idSession,idKunde,idUk){
	top.menu.location.href='fs?aName=mytn/menu-ukstart&aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk;
	top.main.location.href='fs?aName=mytn/main-order&aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk;
}

function neuesobjekt(idSession,idKunde,idUk){
	top.menu.location.href='mytn-menu?aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aWizzard=1&aPosAkt=0&aWizzard=1&aIdUnterkunft='+ idUk;
	top.main.location.href='adm-name?aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aTyp=uk&aIdDetail=-333&aWizzard=1';
}

function start_wizzard(idSession,idKunde,idUk){
	top.menu.location.href='mytn-menu?aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aWizzard=1&aPosAkt=0&aWizzard=1&aIdUnterkunft='+ idUk;
	top.main.location.href='adm-name?aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aTyp=uk&aIdDetail='+ idUk + '&aWizzard=1';
}


//----- Angebote Neue Version

function angebotestart_ueb(idSession,idKunde,idUk){
	top.menu.location.href='mytn-menu?aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk +'&aPosAkt=-1&aHaupt=3';
	top.main.location.href='ang-start?aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk;
}

function angebotestart_ges(idSession,idKunde,idUk){
	top.menu.location.href='mytn-menu?aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk +'&aPosAkt=-1&aHaupt=3';
	top.main.location.href='ang-start?aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk;
	top.objekt.location.href='object-active?aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk;
}

function veranst_ueb(idSession,idKunde,idUk){
	top.menu.location.href='mytn-menu?aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk +'&aPosAkt=2&aHaupt=3';
	//top.main.location.href='fs?aName=mytn/main-lastminute&aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk;
	top.main.location.href='ang-liste.pl?aIdAngebotsTyp=2&aIdUnterkunft='+ idUk +'&aIdKunde='+ idKunde + '&aIdSession=' + idSession;
}

function gb_ueb(idSession,idKunde,idUk){
	top.menu.location.href='mytn-menu?aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk +'&aPosAkt=6&aHaupt=3';
	//top.main.location.href='fs?aName=mytn/main-lastminute&aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk;
	top.main.location.href='ang-spez?aIdErweiterung=6&aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk;
}

function post_ueb(idSession,idKunde,idUk){
	top.menu.location.href='mytn-menu?aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk +'&aPosAkt=7&aHaupt=3';
	//top.main.location.href='fs?aName=mytn/main-lastminute&aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk;
	top.main.location.href='ang-liste.pl?aIdAngebotsTyp=7&aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk + '&aHtmlName=ang-liste-7';
}

function lastminute_ueb(idSession,idKunde,idUk){
	top.menu.location.href='mytn-menu?aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk +'&aPosAkt=0&aHaupt=3';
	//top.main.location.href='fs?aName=mytn/main-lastminute&aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk;
	top.main.location.href='ang-liste.pl?aIdAngebotsTyp=1&aIdUnterkunft='+ idUk +'&aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aHtmlName=ang-liste-1';
}

function pauschalen_ueb(idSession,idKunde,idUk){
	top.menu.location.href='mytn-menu?aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk +'&aPosAkt=1&aHaupt=3&';
	//top.main.location.href='fs?aName=mytn/main-pauschalen&aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk;
	top.main.location.href='ang-liste.pl?aIdAngebotsTyp=4&aIdUnterkunft='+ idUk +'&aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aHtmlName=ang-liste-4';
}

function mailingliste_ueb(idSession,idKunde,idUk){
	top.menu.location.href='mytn-menu?aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk +'&aPosAkt=3&aHaupt=3';
	top.main.location.href='ang-spez?aIdErweiterung=2&aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk;
}

function firstclass_ueb(idSession,idKunde,idUk){
	top.menu.location.href='mytn-menu?aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk +'&aPosAkt=4&aHaupt=3';
	top.main.location.href='ang-spez?aIdErweiterung=3&aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk;
}

function morepages_ueb(idSession,idKunde,idUk){
	top.menu.location.href='mytn-menu?aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk +'&aPosAkt=8&aHaupt=3';
	top.main.location.href='ang-spez?aIdErweiterung=8&aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk;
}


function tagung_ueb(idSession,idKunde,idUk){
	top.menu.location.href='mytn-menu?aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk +'&aPosAkt=5&aHaupt=3';
	top.main.location.href='ang-spez?aIdErweiterung=5&aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk;
}

function ukweek_ueb(idSession,idKunde,idUk){
	top.menu.location.href='mytn-menu?aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk +'&aPosAkt=9&aHaupt=3';
	top.main.location.href='ang-spez?aIdErweiterung=12&aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk;
}

function groe_ueb(idSession,idKunde,idUk){
	top.menu.location.href='mytn-menu?aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk +'&aPosAkt=10&aHaupt=3';
	top.main.location.href='ang-spez?aIdErweiterung=13&aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk;
}



function rechnungen_ueb(idSession,idKunde,idUk){
	top.menu.location.href='mytn-menu?aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk +'&aPosAkt=5&aHaupt=3&aRech=1';
	top.main.location.href='adm-handle-best?aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft=' +idUk;
}

function kosten_ueb(idSession,idKunde,idUk){
	top.menu.location.href='mytn-menu?aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk +'&aPosAkt=5&aHaupt=3&aRech=1';
	top.main.location.href='fs?aName=mytn/kosten-dummy';
}


//----- Angebote

function angebotestart(idSession,idKunde,idUk){
	top.menu.location.href='fs?aName=mytn/menu-angebote&aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk;
	top.main.location.href='ang-start?aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk;
}

function lastminuteall(idSession,idKunde,idUk){
	top.menu.location.href='fs?aName=mytn/menu-lastminute&aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk;
	//top.main.location.href='fs?aName=mytn/main-lastminute&aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk;
	top.main.location.href='ang-liste.pl?aIdAngebotsTyp=1&aIdUnterkunft='+ idUk +'&aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aHtmlName=ang-liste-1';
}

function pauschalenall(idSession,idKunde,idUk){
	top.menu.location.href='fs?aName=mytn/menu-pauschalen&aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk;
	//top.main.location.href='fs?aName=mytn/main-pauschalen&aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk;
	top.main.location.href='ang-liste.pl?aIdAngebotsTyp=4&aIdUnterkunft='+ idUk +'&aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aHtmlName=ang-liste-4';
}

function mailinglisteall(idSession,idKunde,idUk){
	top.menu.location.href='fs?aName=mytn/menu-mailingliste&aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk;
	top.main.location.href='ang-spez?aIdErweiterung=2&aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk;
}

function veranstaltungenall(idSession,idKunde,idUk){
	top.menu.location.href='fs?aName=mytn/menu-veranstaltungen&aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk;
	//top.main.location.href='fs?aName=mytn/main-veranstaltungen&aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk;
	top.main.location.href='ang-liste.pl?aIdAngebotsTyp=2&aIdUnterkunft='+ idUk +'&aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aHtmlName=ang-liste-2';

}

function guestbookall(idSession,idKunde,idUk){
	top.menu.location.href='fs?aName=mytn/menu-gaestebuch&aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk;
	//top.main.location.href='fs?aName=mytn/main-gaestebuchg&aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk;
	top.main.location.href='http://www.travelnet.de/bin/gb/gb-list?aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk;
}

function postkartenall(idSession,idKunde,idUk){
	top.menu.location.href='fs?aName=mytn/menu-postkarten&aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk;
	//top.main.location.href='fs?aName=mytn/main-postkarten&aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk;
	top.main.location.href='ang-liste.pl?aIdAngebotsTyp=7&aIdUnterkunft='+ idUk +'&aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aHtmlName=ang-liste-7';
}

function rechnungen(idSession,idKunde,idUk){
	top.menu.location.href='fs?aName=mytn/menu-rechnungen&aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk;
	top.main.location.href='adm-handle-best?aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft=' +idUk;
}

//----- Unterkunft http://www.travelnet.de/bin/mt/mytn-menu?aIdKunde=5&aIdUnterkunft=10840&aPosAkt=10

function ukstart(idSession,idKunde,idUk){
	top.menu.location.href='mytn-menu?aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk + '&aPosAkt=-1';
	top.main.location.href='uk-uebersicht?aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk;
}

function name(idSession,idKunde,idUk,wiz){
	if (wiz==null) {
	 	wiz=0;
	}
	top.menu.location.href='mytn-menu?aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk +'&aPosAkt=0'+ '&aWizzard='+ wiz;
	top.main.location.href='adm-name?aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdDetail='+ idUk+ '&aTyp=uk'+ '&aWizzard='+ wiz;
}

function anschrift(idSession,idKunde,idUk,wiz){
	if (wiz==null) {
	 	wiz=0;
	}
	top.menu.location.href='mytn-menu?aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk +'&aPosAkt=1'+ '&aWizzard='+ wiz;
	top.main.location.href='adm-adresse?aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdDetail='+ idUk+ '&aTyp=uk'+ '&aWizzard='+ wiz;
}

function telefon(idSession,idKunde,idUk,wiz){
	if (wiz==null) {
	 	wiz=0;
	}
	top.menu.location.href='mytn-menu?aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk +'&aPosAkt=2'+ '&aWizzard='+ wiz;
	top.main.location.href='adm-telefon?aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdDetail='+ idUk+ '&aTyp=uk'+ '&aWizzard='+ wiz;
}

function email(idSession,idKunde,idUk,wiz){
	if (wiz==null) {
	 	wiz=0;
	}
	top.menu.location.href='mytn-menu?aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk +'&aPosAkt=3'+ '&aWizzard='+ wiz;
	top.main.location.href='adm-adresse?aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdDetail='+ idUk+ '&aTyp=uk&aEMail=1'+ '&aWizzard='+ wiz;
}

function homepage(idSession,idKunde,idUk){
	top.menu.location.href='mytn-menu?aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk +'&aPosAkt=12';
	top.main.location.href='make-site?aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk;
}

function screenie(PicUrl,Text){
	screenwindow = window.open('http:\/\/www.travelnet.de\/bin\/mt\/fs?aName=hp\/screenie&aPicUrl='+ PicUrl +'&aIdDetail='+ Text,'screenie','width=595,height=490,scrollbars=no,resizable=no');
	//screenwindow = window.open('http:\/\/www.travelnet.de\/mt\/images\/hp\/des-'+ idIndex +'-big.jpg','screenie','width=595,height=412,scrollbars=no,resizable=yes');
	screenwindow.focus();


}

function uktyp(idSession,idKunde,idUk,wiz){
	if (wiz==null) {
	 	wiz=0;
	}
	top.menu.location.href='mytn-menu?aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk +'&aPosAkt=5'+ '&aWizzard='+ wiz;
	//top.main.location.href='fs?aName=mytn/main-uktyp';
	top.main.location.href='adm-ukuktyp?aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk+ '&aWizzard='+ wiz;
}

function objekttyp(idSession,idKunde,idUk,wiz){
	if (wiz==null) {
	 	wiz=0;
	}
	top.menu.location.href='mytn-menu?aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk +'&aPosAkt=6'+ '&aWizzard='+ wiz;
	//top.main.location.href='fs?aName=mytn/main-uktyp';
	top.main.location.href='adm-ukobjtyp?aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk+ '&aWizzard='+ wiz;
}


function objekt(idSession,idKunde,idUk,idTyp,hasios,wiz){
	if (wiz==null) {
	 	wiz=0;
	}
	if (idTyp==1) {
		top.menu.location.href='mytn-menu?aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk +'&aPosAkt=6'+ '&aWizzard='+ wiz;
	}
	else {
		top.menu.location.href='mytn-menu?aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk +'&aPosAkt=7'+ '&aWizzard='+ wiz;
	}
	if (hasios==0) {
		top.main.location.href='adm-ukobjtyp?aIdTyp='+ idTyp + '&aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk+ '&aWizzard='+ wiz;
	}
	else if (idTyp==1) {
		top.main.location.href='fs?aName=mytn/fs-zimmer&aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk+ '&aWizzard='+ wiz;
	}
	else {
		top.main.location.href='fs?aName=mytn/fs-wohnung&aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk+ '&aWizzard='+ wiz;
	}
}

function zimmer(idSession,idKunde,idUk,wiz){
	if (wiz==null) {
	 	wiz=0;
	}
	top.menu.location.href='mytn-menu?aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk +'&aPosAkt=6'+ '&aWizzard='+ wiz;
	if (wiz==1) {
		top.main.location.href='adm-ukobjtyp?aIdTyp=1&aRead=0&aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk+ '&aWizzard='+ wiz;
	}
	else {
		top.main.location.href='adm-ukobjtyp?aIdTyp=1&aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk+ '&aWizzard='+ wiz;
	}
}

function wohnung(idSession,idKunde,idUk,wiz){
	if (wiz==null) {
	 	wiz=0;
	}
	top.menu.location.href='mytn-menu?aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk +'&aPosAkt=7'+ '&aWizzard='+ wiz;
	if (wiz==1) {
		top.main.location.href='adm-ukobjtyp?aIdTyp=2&aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk+ '&aWizzard='+ wiz;
	}
	else {
		top.main.location.href='adm-ukobjtyp?aIdTyp=2&aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk+ '&aWizzard='+ wiz;
	}
}

function suite(idSession,idKunde,idUk,wiz){
	if (wiz==null) {
	 	wiz=0;
	}
	top.menu.location.href='mytn-menu?aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk +'&aPosAkt=8'+ '&aWizzard='+ wiz;
	top.main.location.href='adm-ukobjtyp?aIdTyp=3&aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk+ '&aWizzard='+ wiz;
}

function camping(idSession,idKunde,idUk,wiz){
	if (wiz==null) {
	 	wiz=0;
	}
	top.menu.location.href='mytn-menu?aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk +'&aPosAkt=9'+ '&aWizzard='+ wiz;
	top.main.location.href='adm-ukobjtyp?aIdTyp=6&aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk+ '&aWizzard='+ wiz;
}


function tagung(idSession,idKunde,idUk,wiz){
	top.menu.location.href='mytn-menu?aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk +'&aPosAkt=-1'+ '&aWizzard='+ wiz+ '&aHaupt=2';
	top.main.location.href='tg-uebersicht?aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk+ '&aWizzard='+ wiz;
}

function ueb_zimmer(idSession,idKunde,idUk,wiz){
	if (wiz==null) {
	 	wiz=0;
	}
	top.menu.location.href='mytn-menu?aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk +'&aPosAkt=6'+ '&aWizzard='+ wiz;
	top.main.location.href='fs?aName=mytn/fs-zimmer&aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk+ '&aWizzard='+ wiz;
}

function ueb_wohnung(idSession,idKunde,idUk,wiz){
	if (wiz==null) {
	 	wiz=0;
	}
	top.menu.location.href='mytn-menu?aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk +'&aPosAkt=7'+ '&aWizzard='+ wiz;
	top.main.location.href='fs?aName=mytn/fs-wohnung&aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk+ '&aWizzard='+ wiz;
}

function ausstattung(idSession,idKunde,idUk,wiz){
	if (wiz==null) {
	 	wiz=0;
	}
	top.menu.location.href='mytn-menu?aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk +'&aPosAkt=10'+ '&aWizzard='+ wiz;
	//top.main.location.href='fs?aName=mytn/fs-ausstattung';
	top.main.location.href='fs?aName=fs-ukeinr&aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk+ '&aWizzard='+ wiz;
}

function wahre_ausstattung(idSession,idKunde,idTyp,idUk,idObjIndiv,wiz){
	if (wiz==null) {
	 	wiz=0;
	}
	if (idObjIndiv<0) {
		alert ('Bitte benennen Sie Ihr Objekt vor dem Einrichten.');
	}
	else {
	//top.main.location.href='fs?aName=mytn/fs-ausstattung';
		top.main.location.href='fs?aName=fs-ioaus&aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdTyp='+ idTyp+'&aIdUnterkunft='+ idUk+ '&aIdObjIndiv='+ idObjIndiv+ '&aWizzard='+ wiz;
	}
}

function io_bilder(idSession,idKunde,idTyp,idUk,idObjIndiv,wiz){
	if (wiz==null) {
	 	wiz=0;
	}
	if (idObjIndiv<0) {
		alert ('Bitte benennen Sie Ihr Objekt vor dem Einrichten.');
	}
	else {
	//top.main.location.href='fs?aName=mytn/fs-ausstattung';
		top.main.location.href='webpics?aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdTyp='+ idTyp+'&aIdUnterkunft='+ idObjIndiv+ '&aUk=3&aHtmlName=mytn/main-iofotos&aWizzard='+ wiz;
	}
}


function syncronize(idSession,idKunde,idTyp,idUk,idObjIndiv,wiz){
	if (wiz==null) {
	 	wiz=0;
	}
	if (idObjIndiv<0) {
		alert ('Bitte benennen Sie Ihr Objekt vor dem Einrichten.');
	}
	else {
	//top.main.location.href='fs?aName=mytn/fs-ausstattung';
		top.main.location.href='adm-indobjaus?aSyncro=1&aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdTyp='+ idTyp+'&aIdUnterkunft='+ idUk+ '&aIdObjIndiv='+ idObjIndiv+ '&aWizzard='+ wiz;
	}
}


function preise(idSession,idKunde,idUk,wiz){
	if (wiz==null) {
	 	wiz=0;
	}
	top.menu.location.href='mytn-menu?aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk +'&aPosAkt=11'+ '&aWizzard='+ wiz;
	top.main.location.href='adm-ukeinr?aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk+ '&aIdEinrTyp=-33'+ '&aWizzard='+ wiz;
}

function obj_preis(idSession,idKunde,idUk,idTabelle,idDetail,idTyp,sais,wiz){
	if (wiz==null) {
	 	wiz=0;
	}
	if (idDetail<0) {
		alert ('Bitte benennen Sie Ihr Objekt vor dem Einrichten.');
	}
	else {
		if (sais==0) {
			top.main.location.href='adm-saispers?aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdTabelle=' + idTabelle + '&aIdDetail='+ idDetail + '&aIdUnterkunft='+ idUk+ '&aIdTyp='+ idTyp+ '&aWizzard='+ wiz;
		}
		else if (sais==-1) {
			top.main.location.href='adm-preisspanne-alt?aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk+ '&aIdTyp='+ idTyp+ '&aWizzard='+ wiz;
		}
		else {
			top.main.location.href='fs?aName=mytn/fs-zi-preise&aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdTabelle=' + idTabelle + '&aIdDetail='+ idDetail + '&aIdUnterkunft='+ idUk+ '&aIdTyp='+ idTyp+ '&aWizzard='+ wiz;
		}
		if (idTyp==1) {
			top.menu.location.href='mytn-menu?aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk +'&aPosAkt=6'+ '&aWizzard='+ wiz;
		}
		else if (idTyp==2) {
			top.menu.location.href='mytn-menu?aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk +'&aPosAkt=7'+ '&aWizzard='+ wiz;
		}
	}

}
function freetimeall(idSession,idKunde,idUk,idTyp){
	top.menu.location.href='mytn-menu?aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk +'&aHaupt=3&aPosAkt=2';
	top.main.location.href='reservation?aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdTyp='+ idTyp+ '&aIdUnterkunft='+ idUk;
}

function freetime_ueb(idSession,idKunde,idUk){
	top.menu.location.href='mytn-menu?aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk +'&aHaupt=3&aPosAkt=2';
	top.main.location.href='ang-spez?aIdErweiterung=9&aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk;
}

function darstellung(idSession,idKunde,idUk){
	top.menu.location.href='mytn-menu?aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk +'&aPosAkt=10';
	top.main.location.href='fs?aName=mytn/main-darstellung&aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk;
}

//----- Unterkunft

function person(html,idSession,idKunde,idUk){
	top.menu.location.href='fs?aName=mytn/menu-person-'+ html +'&aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk;
	top.main.location.href='pers-uebersicht?aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk;
	//top.main.location.href='uk-uebersicht?aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk;
}

function persadr(html,idSession,idKunde,idUk){
	top.menu.location.href='fs?aName=mytn/menu-persadr-'+ html +'&aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk;
	top.main.location.href='adm-adresse?aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdDetail=-1&aTyp=pers&aIdUnterkunft=' + idUk;
	//top.main.location.href='uk-uebersicht?aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk;
}

function perstel(html,idSession,idKunde,idUk){
	top.menu.location.href='fs?aName=mytn/menu-perstel-'+ html +'&aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk;
	top.main.location.href='adm-telefon?aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdDetail=-1&aTyp=pers&aIdUnterkunft=' + idUk;
	//top.main.location.href='uk-uebersicht?aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk;
}

function persmail(html,idSession,idKunde,idUk){
	top.menu.location.href='fs?aName=mytn/menu-persmail-'+ html +'&aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk;
	top.main.location.href='adm-adresse?aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdDetail=-1&aTyp=pers&aEMail=1&aIdUnterkunft=' + idUk;
	//top.main.location.href='uk-uebersicht?aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk;
}

function perseig(html,idSession,idKunde,idUk){
	top.menu.location.href='fs?aName=mytn/menu-perseig-'+ html +'&aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk;
	top.main.location.href='adm-name?aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdDetail=-1&aTyp=pers&aIdUnterkunft=' + idUk;
	//top.main.location.href='fs?aName=mytn/main-person&aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk;
	//top.main.location.href='uk-uebersicht?aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk;
}

function perspasswd(html,idSession,idKunde,idUk){
	top.menu.location.href='fs?aName=mytn/menu-perspasswd-'+ html +'&aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk;
	top.main.location.href='adm-perseigsch?aHtmlName=adm-perseigsch-passwd&aIdEigTyp=-33&aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk;
}


//----- Tagungsgeschichtenkramdumsdibumsundruntergefallenister

function tgtext(idSession,idKunde,idUk,wiz){
	if (wiz==null) {
	 	wiz=0;
	}
	top.menu.location.href='mytn-menu?aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk +'&aPosAkt=3'+ '&aWizzard='+ wiz+ '&aHaupt=2';
	top.main.location.href='adm-ukeinr?&aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk+ '&aWizzard='+ wiz + '&aHtmlName=mytn/main-tgtext&aFunkEinr=TAGTEXT';
}

function tgraeume(idSession,idKunde,idUk,wiz){
	if (wiz==null) {
	 	wiz=0;
	}
	top.menu.location.href='mytn-menu?aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk +'&aPosAkt=1'+ '&aWizzard='+ wiz+ '&aHaupt=2';
	top.main.location.href='adm-ukobjtyp?aIdTyp=4&aRead=0&aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk+ '&aWizzard='+ wiz;
}

function ueb_tgraeume(idSession,idKunde,idUk,wiz){
	if (wiz==null) {
	 	wiz=0;
	}
	top.menu.location.href='mytn-menu?aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk +'&aPosAkt=1'+ '&aWizzard='+ wiz+ '&aHaupt=2';
	top.main.location.href='fs?aName=mytn/fs-tgraum&aIdTyp=4&aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk+ '&aWizzard='+ wiz;
}

function tgmerkmale(idSession,idKunde,idUk,wiz){
	if (wiz==null) {
	 	wiz=0;
	}
	top.menu.location.href='mytn-menu?aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk +'&aPosAkt=0'+ '&aWizzard='+ wiz+ '&aHaupt=2';
	top.main.location.href='fs?aName=mytn/fs-tg-ausstattung&aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk+ '&aWizzard='+ wiz;
}

function tgpreise(idSession,idKunde,idUk,wiz){
	if (wiz==null) {
	 	wiz=0;
	}
	top.menu.location.href='mytn-menu?aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk +'&aPosAkt=2'+ '&aWizzard='+ wiz+ '&aHaupt=2';
	top.main.location.href='fs?aName=mytn/fs-tg-preise&aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk+ '&aWizzard='+ wiz;
	//top.main.location.href='fs?aName=mytn/fs-zi-preise&aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdTabelle=' + idTabelle + '&aIdDetail='+ idDetail + '&aIdUnterkunft='+ idUk+ '&aIdTyp='+ idTyp+ '&aWizzard='+ wiz;
}

function tgfotos(idSession,idKunde,idUk,wiz){
	if (wiz==null) {
	 	wiz=0;
	}
	top.menu.location.href='mytn-menu?aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk +'&aPosAkt=4'+ '&aWizzard='+ wiz+ '&aHaupt=2';
	top.main.location.href='webpics?aHtmlName=mytn/main-tgfotos&aTagung=1&aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk+ '&aWizzard='+ wiz;
}

function tgumgebung(idSession,idKunde,idUk,wiz){
	if (wiz==null) {
	 	wiz=0;
	}
	top.menu.location.href='mytn-menu?aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk +'&aPosAkt=5'+ '&aWizzard='+ wiz+ '&aHaupt=2';
	top.main.location.href='fs?aName=mytn/main-tgumgebung&aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk+ '&aWizzard='+ wiz;
}

function from_uk_tg(idSession,idKunde,idUk){
	top.key.fromuk=1;
	top.main.location.href='fs?aName=about/main-prod-tagung&aIdKunde='+ idKunde + '&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk;

	//alert('Diese Seite wird gerade eingepflegt - bitte gedulden Sie sich noch ein wenig!');
	//top.main.location.href='fs?aName=about/main-tg&aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk;
}

function tgprint(idSession,idKunde,idUk,page){
					dateiname = 'http://www.travelnet.de/bin/mh/fs?aName=50/tagung-whatprint&aPrint=1&aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk +'&aPicUrl='+ page;
					fenstername = 'print';
					breite = '200';
					hoehe = '140';
					fenster = window.open(dateiname,fenstername,'location=0,toolbar=no,width=' + breite + ',height=' + hoehe + ',directories=no,scrollbars=no,resize=no,menubar=no,status=no');
					fenster_offen = "true";
					if ( parseInt(navigator.appVersion.substring(0,1)) >= 4 ){
						links = (screen.availWidth - parseInt(breite)) / 2;
						rechts = (screen.availHeight - parseInt(hoehe)) / 2;
						fenster.moveTo( links,rechts-30 );
						fenster.focus();
	
						if ((screen.availWidth - eval(breite)) <=30 ) { fenstername.screenX = 1 };
					};
						return;
}

function losprint(){
		if (parseInt(navigator.appVersion.substring(0,1)) >= 4 ){
				platt = navigator.platform.substr(0,3);
				brauser = navigator.appName.substr(0,3);
			if (platt == 'Mac' && brauser == 'Mic'){
				alert('Der Internet Explorer auf dem Mac unterstuetzt die Funktion des automatischen Druckens leider nicht. Bitte starten Sie den Druckvorgang manuell ueber den Menupunkt \"Drucken\" unterhalb des Menus \"Datei\".');
			} else {
				window.print();
			}
		} else {
			alert('Ihr Browser unterstuetzt diese Funktion leider nicht. Bitte starten Sie den Druckvorgang manuell ueber den Menupunkt \"Drucken\" unterhalb des Menus \"Datei\".');
		}
};

//----- Hilfefenster

function openwindow(dateiname, fenstername, breite, hoehe){
					fenster = window.open(dateiname,fenstername,'location=0,toolbar=no,width=' + breite + ',height=' + hoehe + ',directories=no,scrollbars=no,resize=no,menubar=no,status=no');
					fenster_offen = "true";
					if ( parseInt(navigator.appVersion.substring(0,1)) >= 4 ){
						links = (screen.availWidth - parseInt(breite)) / 2;
						rechts = (screen.availHeight - parseInt(hoehe)) / 2;
						fenster.moveTo( links,rechts-30 );
						fenster.focus();
	
						if ((screen.availWidth - eval(breite)) <=30 ) { fenstername.screenX = 1 };
					};
								return;
				};
				
function help(URL){
	helpwindow = window.open('http:\/\/www.travelnet.de\/mt\/html\/help\/'+URL+'.html','helpwin','width=400,height=300,scrollbars=yes,resizable=yes');
	helpwindow.focus();
}
				
//------- about-Bereich & Produkte

function overview(idSession,idKunde){
	top.menu.location.href='fs?aName=about/menu-all&aIdKunde='+ idKunde + '&aIdSession=' + idSession;
	top.main.location.href='fs?aName=about/main-about&aUkCount=1&aIdKunde='+ idKunde + '&aIdSession=' + idSession;
}

function products(idSession,idKunde){
	top.menu.location.href='fs?aName=about/menu-prod-all&aIdKunde='+ idKunde + '&aIdSession=' + idSession;
	top.main.location.href='fs?aName=about/main-prod-all&aIdKunde='+ idKunde + '&aIdSession=' + idSession;
}

function prod_pakete(idSession,idKunde){
	top.menu.location.href='fs?aName=about/menu-prod-pakete&aIdKunde='+ idKunde + '&aIdSession=' + idSession;
	top.main.location.href='fs?aName=about/main-prod-pakete&aIdKunde='+ idKunde + '&aIdSession=' + idSession;
}

function prod_basispaket(idSession,idKunde){
	top.menu.location.href='fs?aName=about/menu-prod-basis&aIdKunde='+ idKunde + '&aIdSession=' + idSession;
	top.main.location.href='fs?aName=about/main-prod-basis&aIdKunde='+ idKunde + '&aIdSession=' + idSession;
}

function prod_extended(idSession,idKunde){
	top.menu.location.href='fs?aName=about/menu-prod-extended&aIdKunde='+ idKunde + '&aIdSession=' + idSession;
	top.main.location.href='fs?aName=about/main-prod-extended&aIdKunde='+ idKunde + '&aIdSession=' + idSession;
}

function prod_lm(idSession,idKunde){
	top.menu.location.href='fs?aName=about/menu-prod-lastminute&aIdKunde='+ idKunde + '&aIdSession=' + idSession;
	top.main.location.href='fs?aName=about/main-prod-lastminute&aIdKunde='+ idKunde + '&aIdSession=' + idSession;
}

function prod_belplan(idSession,idKunde){
	top.menu.location.href='fs?aName=about/menu-prod-belplan&aIdKunde='+ idKunde + '&aIdSession=' + idSession;
	top.main.location.href='fs?aName=about/main-prod-belplan&aIdKunde='+ idKunde + '&aIdSession=' + idSession;
}

function prod_mailing(idSession,idKunde){
	top.menu.location.href='fs?aName=about/menu-prod-mailing&aIdKunde='+ idKunde + '&aIdSession=' + idSession;
	top.main.location.href='fs?aName=about/main-prod-mailing&aIdKunde='+ idKunde + '&aIdSession=' + idSession;
}

function prod_tagung(idSession,idKunde){
	top.menu.location.href='fs?aName=about/menu-prod-tagung&aIdKunde='+ idKunde + '&aIdSession=' + idSession;
	top.main.location.href='fs?aName=about/main-prod-tagung&aIdKunde='+ idKunde + '&aIdSession=' + idSession;
}

function prod_firstclass(idSession,idKunde){
	top.menu.location.href='fs?aName=about/menu-prod-firstclass&aIdKunde='+ idKunde + '&aIdSession=' + idSession;
	top.main.location.href='fs?aName=about/main-prod-firstclass&aIdKunde='+ idKunde + '&aIdSession=' + idSession;
}

function prod_gb(idSession,idKunde){
	top.menu.location.href='fs?aName=about/menu-prod-gb&aIdKunde='+ idKunde + '&aIdSession=' + idSession;
	top.main.location.href='fs?aName=about/main-prod-gb&aIdKunde='+ idKunde + '&aIdSession=' + idSession;
}

function prod_post(idSession,idKunde){
	top.menu.location.href='fs?aName=about/menu-prod-post&aIdKunde='+ idKunde + '&aIdSession=' + idSession;
	top.main.location.href='fs?aName=about/main-prod-post&aIdKunde='+ idKunde + '&aIdSession=' + idSession;
}

function prod_morepages(idSession,idKunde){
	top.menu.location.href='fs?aName=about/menu-prod-morepages&aIdKunde='+ idKunde + '&aIdSession=' + idSession;
	top.main.location.href='fs?aName=about/main-prod-morepages&aIdKunde='+ idKunde + '&aIdSession=' + idSession;
}

function prod_ukderwoche(idSession,idKunde){
	top.menu.location.href='fs?aName=about/menu-prod-ukderwoche&aIdKunde='+ idKunde + '&aIdSession=' + idSession;
	top.main.location.href='fs?aName=about/main-prod-ukderwoche&aIdKunde='+ idKunde + '&aIdSession=' + idSession;
}

function prod_galerie(idSession,idKunde){
	top.menu.location.href='fs?aName=about/menu-prod-galerie&aIdKunde='+ idKunde;
	top.main.location.href='fs?aName=about/main-prod-galerie&aIdKunde='+ idKunde;
}

function prod_software(idSession,idKunde){
	top.menu.location.href='fs?aName=about/menu-prod-software&aIdKunde='+ idKunde + '&aIdSession=' + idSession;
	top.main.location.href='fs?aName=about/main-prod-software&aIdKunde='+ idKunde + '&aIdSession=' + idSession;
}

function prod_machotel(idSession,idKunde){
	top.menu.location.href='fs?aName=about/menu-prod-machotel&aIdKunde='+ idKunde + '&aIdSession=' + idSession;
	top.main.location.href='fs?aName=about/main-prod-machotel&aIdKunde='+ idKunde + '&aIdSession=' + idSession;
}

function news(idSession,idKunde){
	top.menu.location.href='fs?aName=about/menu-news&aIdKunde='+ idKunde + '&aIdSession=' + idSession;
	top.main.location.href='fs?aName=about/main-news&aIdKunde='+ idKunde + '&aIdSession=' + idSession;
}

function infoletter(idSession,idKunde){
	top.menu.location.href='fs?aName=about/menu-news&aIdKunde='+ idKunde + '&aIdSession=' + idSession;
	top.main.location.href='/bin/angebote/det-angkom?aIdKunde=11&aIdAngebot=81819&aAngKat=570&aAngHTML=infoletter_detail&aAngebotstyp=3';
}


function sitemap(idSession,idKunde){
	top.menu.location.href='fs?aName=about/menu-sitemap&aIdKunde='+ idKunde + '&aIdSession=' + idSession;
	top.main.location.href='fs?aName=about/main-sitemap&aIdKunde='+ idKunde + '&aIdSession=' + idSession;
}

function impressum(idSession,idKunde){
	top.menu.location.href='fs?aName=about/menu-impressum&aIdKunde='+ idKunde + '&aIdSession=' + idSession;
	top.main.location.href='fs?aName=about/main-impressum&aIdKunde='+ idKunde + '&aIdSession=' + idSession;
}


function basis_front(idSession,idKunde){
	top.objekt.location.href='fs?aName=mytn/objekt-passive&aIdKunde='+ idKunde + '&aIdSession=' + idSession;
	top.menu.location.href='fs?aName=about/menu-prod-basis&aIdKunde='+ idKunde + '&aIdSession=' + idSession;
	top.key.location.href='fs?aName=mytn/key-passive&aIdKunde='+ idKunde + '&aIdSession=' + idSession;
	top.main.location.href='fs?aName=about/main-prod-basis&aIdKunde='+ idKunde + '&aIdSession=' + idSession;
	top.logo.location.href='fs?aName=mytn/schriftzug-login&aIdKunde='+ idKunde + '&aIdSession=' + idSession;
}

function about_order(idSession, idKunde,idUk){
	if (idUk != -1){
		if (top.key.loggedin == 1){
			if (top.key.fromuk != 1){
				top.main.location.href='fs?aName=about/main-prod-order-loggedin&aIdKunde='+ idKunde + '&aIdSession=' + idSession;
			} else {
				document.order.submit();
			}
		} else {
			top.main.location.href='fs?aName=about/main-prod-order-loggedout&aIdKunde='+ idKunde + '&aIdSession=' + idSession;	
		}
	} else {
		if (top.key.loggedin == 1){
			top.main.location.href='fs?aName=about/main-prod-order-loggedin&aIdKunde='+ idKunde + '&aIdSession=' + idSession;
		} else {
			top.main.location.href='fs?aName=about/main-prod-order-loggedout&aIdKunde='+ idKunde + '&aIdSession=' + idSession;		
		}

	}
}

function from_uk_lm(idSession,idKunde,idUk) {
				top.key.fromuk=1;
				top.main.location.href='fs?aName=about/main-prod-lastminute&aIdKunde='+ idKunde + '&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk;
}

function from_uk_belplan(idSession,idKunde,idUk) {
				top.key.fromuk=1;
				top.main.location.href='fs?aName=about/main-prod-belplan&aIdKunde='+ idKunde + '&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk;
}

function from_uk_mailing(idSession,idKunde,idUk) {
				top.key.fromuk=1;
				top.main.location.href='fs?aName=about/main-prod-mailing&aIdKunde='+ idKunde + '&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk;
}

function from_uk_morepages(idSession,idKunde,idUk) {
				top.key.fromuk=1;
				top.main.location.href='fs?aName=about/main-prod-morepages&aIdKunde='+ idKunde + '&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk;
}

function from_uk_extended(idSession,idKunde,idUk) {
				top.key.fromuk=1;
				top.main.location.href='fs?aName=about/main-prod-extended&aIdKunde='+ idKunde + '&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk;
}

function from_uk_morepages(idSession,idKunde,idUk) {
				top.key.fromuk=1;
				top.main.location.href='fs?aName=about/main-prod-morepages&aIdKunde='+ idKunde + '&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk;
}

function from_uk_ukweek(idSession,idKunde,idUk,Plz) {
				if (Plz == "23769"){
					top.key.fromuk=1;
					top.main.location.href='fs?aName=about/main-prod-ukweek-fe&aIdKunde='+ idKunde + '&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk;
				} else if (Plz == "23669"){
					top.key.fromuk=1;
					top.main.location.href='fs?aName=about/main-prod-ukweek-tdf&aIdKunde='+ idKunde + '&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk;
				} else {
					top.main.location.href='fs?aName=about/main-prod-ukweek&aIdKunde='+ idKunde + '&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk;
			//		alert('Diese Funktion ist fuer Sie leider nicht nutzbar.');
				};
}

function ukweek_preview(idSession,idKunde,idUk){
				dateiname = 'ang-spez?aIdErweiterung=12&aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk +'&aHtmlName=about/main-prod-ukweekpreview&aPreview=1';
				fenstername = 'pre_view';
				preview = window.open(dateiname,fenstername,'location=0,toolbar=no,width=450,height=380,directories=no,scrollbars=no,resize=no,menubar=no,status=no');
				preview.focus();
}

function from_uk_firstclass(idSession,idKunde,idUk) {
				top.key.fromuk=1;
				top.main.location.href='fs?aName=about/main-prod-firstclass&aIdKunde='+ idKunde + '&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk;
}

function from_uk_post(idSession,idKunde,idUk) {
				top.key.fromuk=1;
				top.main.location.href='fs?aName=about/main-prod-post&aIdKunde='+ idKunde + '&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk;
}

function from_uk_gb(idSession,idKunde,idUk) {
				top.key.fromuk=1;
				top.main.location.href='fs?aName=about/main-prod-gb&aIdKunde='+ idKunde + '&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk;
}

function from__uk_groe(idSession,idKunde,idUk) {
				top.key.fromuk=1;
				top.main.location.href='fs?aName=about/main-prod-groe&aIdKunde='+ idKunde + '&aIdSession=' + idSession + '&aIdUnterkunft='+ idUk;
}

function prod_scanpics(idSession,idKunde,idUk){
	scanpics = window.open('fs?aName=about/main-prod-scanpics&aIdKunde='+ idKunde +'&aIdSession=' + idSession + '&aIdUnterkunft='+idUk,'scanpics','width=400,height=420');
	scanpics.focus();
}

function komfort_ueb(idSession,idKunde,idUk,idErweiterung){
	top.menu.location.href='mytn-menu?aIdKunde='+ idKunde + '&aIdSession=' + idSession  +'&aIdUnterkunft='+ idUk +'&aPosAkt=-5&aHaupt=3';
	top.main.location.href='ang-spez?aIdUnterkunft='+ idUk +'&aIdKunde='+ idKunde + '&aIdSession=' + idSession  +'&aIdErweiterung=' + idErweiterung;
	//top.main.location.href='show-komfort-info?aIdKunde='+ idKunde + '&aIdSession=' + idSession  +'&aIdUnterkunft='+ idUk;
	
}

function prod_komfortpaket(idSession,idKunde){
	top.menu.location.href='fs?aName=about/menu-prod-komfort&aIdKunde='+ idKunde + '&aIdSession=' + idSession ;
	top.main.location.href='fs?aName=about/main-prod-komfortpaket-nologin&aIdKunde='+ idKunde + '&aIdSession=' + idSession ;
}

function from_uk_komfort(idSession,idKunde,idUk) {
				top.key.fromuk=1;
				//top.main.location.href='fs?aName=about/main-prod-komfortpaket&aIdKunde=' + idKunde +'&aIdUnterkunft='+ idUk;
				top.main.location.href='show-komfort-info?aIdKunde='+ idKunde + '&aIdSession=' + idSession  +'&aIdUnterkunft='+ idUk;
				
}

function from_uk_galerie(idSession,idKunde,idUk) {
				top.key.fromuk=1;
				top.main.location.href='fs?aName=about/main-prod-galerie&aIdKunde='+ idKunde + '&aIdSession=' + idSession  +'&aIdUnterkunft='+ idUk;
}

function from_uk_komfort_tagung(idSession,idKunde,idUk) {
				top.key.fromuk=1;
				top.main.location.href='fs?aName=about/main-prod-komfortpaket-tagung&aIdKunde=' + idKunde + '&aIdSession=' + idSession  +'&aIdUnterkunft='+ idUk;
				//top.main.location.href='show-komfort-info?aIdKunde='+ idKunde + '&aIdSession=' + idSession  +'&aIdUnterkunft='+ idUk;
}

function vermieter(idSession,idKunde,idUk,wiz){
	if (wiz==null) {
	 	wiz=0;
	}
	top.menu.location.href='mytn-menu?aIdKunde='+ idKunde + '&aIdSession=' + idSession  +'&aIdUnterkunft='+ idUk +'&aPosAkt=0'+ '&aWizzard='+ wiz;
	top.main.location.href='adm-name?aIdKunde='+ idKunde + '&aIdSession=' + idSession  + '&aIdDetail='+ idUk+ '&aTyp=uk'+ '&aWizzard='+ wiz;
}

function galery_ueb(idSession,idKunde,idUk){
	top.menu.location.href='mytn-menu?aIdKunde='+ idKunde + '&aIdSession=' + idSession  +'&aIdUnterkunft='+ idUk +'&aPosAkt=11&aHaupt=3';
	top.main.location.href='ang-spez?aIdErweiterung=14&aIdKunde='+ idKunde + '&aIdSession=' + idSession  + '&aIdUnterkunft='+ idUk;
}

//----- logout im linken MenŸ unten

function logout(idSession,idKunde){
	top.location.href='login-mytn?aName=mytn/menu-login&aLogout=1&aIdKunde='+ idKunde;
	
}



//------ Ende Javascript

