
//------------------------------
function reboundSeite(SeiteName)
{
	self.document.location.href = SeiteName;
}

//------------ Geraete-Set------------
function zum_wunschzettel_geraeteset(SeiteName){
	speichern_geraeteset(SeiteName);
}
function speichern_geraeteset(SeiteName)
{
	parent.frames[0].auswahl_geraeteset=self.document.GERAETE_SET.auswahl_geraeteset.value;
	reboundSeite(SeiteName);
}
//---------------------------------
// meine Kuechenliste
//---------------------------------

function SchraenkeGeraeteAnzahlWrite()
{
	var gesamt = 0;
	var zubehoer = 0;
	if(parent.frames[0].auswahl_anzahl_unterschraenke != null || parent.frames[0].auswahl_anzahl_oberschraenke){
		gesamt = parent.frames[0].auswahl_anzahl_unterschraenke + parent.frames[0].auswahl_anzahl_oberschraenke;
	}
	document.write("<span class='liste'>Schr&auml;nke:"+gesamt+"</span><br>");
	//if(parent.frames[0].auswahl_anzahl_geraete != null ){
	//	zubehoer = parent.frames[0].auswahl_anzahl_geraete;
	//}
	if(parent.frames[0].auswahl_geraeteset != 0 ){
		zubehoer = parent.frames[0].auswahl_geraeteset;
	}
	document.write("<span class='liste'>Zubehör:"+zubehoer+"</span><br><b>");
	
}
function ListePreisWrite()
{
	document.write("<span class='liste'>Preis:&nbsp;&nbsp;</span>");
	if(parent.frames[0].auswahl_programme != null){
		document.write("<span class='liste'>"+parent.frames[0].programme[parseInt(parent.frames[0].auswahl_programme)]+"</span><br>");
	}
		
	if(parent.frames[0].auswahl_preisgruppe == null){
		document.write("<span class='liste'><a href='kuechen-programme01.html' target='main'><font color='#cc0000'>bitte wählen Sie Ihre Küchen/<br>Preisgruppen</font></a></span>");
	}
	else{
		document.write("<span class='liste'>"+parent.frames[0].preisgruppe[parseInt(parent.frames[0].auswahl_preisgruppe)]+"</span><br>");
	}
	if(parent.frames[0].auswahl_modelle != null){
		document.write("<span class='liste'>"+parent.frames[0].auswahl_modelle+"</span><br>");
//	getmodelle();
	}

}
// speziell fuer Planer Kuechenliste
function SchraenkeGeraeteAnzahlWrite_Pl()
{
	var gesamt = 0;
	var zubehoer = 0;
	if(parent.frames[0].auswahl_anzahl_unterschraenke != null || parent.frames[0].auswahl_anzahl_oberschraenke){
		gesamt = parent.frames[0].auswahl_anzahl_unterschraenke + parent.frames[0].auswahl_anzahl_oberschraenke;
	}
	document.write("<span class='liste'>Schr&auml;nke:"+gesamt+"&nbsp;&nbsp;");
	if(parent.frames[0].auswahl_anzahl_geraete != null ){
		zubehoer = parent.frames[0].auswahl_anzahl_geraete;
	}
	document.write("Zubehör:"+zubehoer+"</span><br><b>");
	
}
function ListePreisWrite_Pl()
{
	document.write("<span class='liste'>Preis:&nbsp;&nbsp;</span>");
	if(parent.frames[0].auswahl_programme != null){
		document.write("<span class='liste'>"+parent.frames[0].programme[parseInt(parent.frames[0].auswahl_programme)]+"</span>");
	}
		
	if(parent.frames[0].auswahl_preisgruppe == null){
		document.write("<span class='liste'><a href='kuechen-programme01.html' target='main'><font color='#cc0000'>bitte wählen Sie Ihre Küchen/Preisgruppen</font></a></span>");
	}
	else{
		document.write("<span class='liste'>&nbsp;&nbsp;&nbsp;"+parent.frames[0].preisgruppe[parseInt(parent.frames[0].auswahl_preisgruppe)]+";</span>");
	}
	if(parent.frames[0].auswahl_modelle != null){
		document.write("<span class='liste'>&nbsp;&nbsp;&nbsp;"+parent.frames[0].auswahl_modelle+"</span>");
	//getModell()
	}

}

function PreisWrite(programme,preisgruppe)
{
	var preis = "";
	if(programme == "0"){
		preis = parent.frames[0].preise_prolm_1Programme[parseInt(preisgruppe)];
		document.write("ab &nbsp;"+preis +",- &#128;/lm&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;")
	}
	else if(programme == "1"){
		preis = parent.frames[0].preise_prolm_2Programme[parseInt(preisgruppe)];
		document.write("ab &nbsp;"+preis +",- &#128;/lm&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;")
	}
	else if(programme == "2"){
		preis = parent.frames[0].preise_prolm_3Programme[parseInt(preisgruppe)];
		document.write("ab &nbsp;"+preis +",- &#128;/lm&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;")
	}
	else{ 
		document.write("Preis auf Anfrage");
	}
}


