function show_doc(dokument) {
	hilfe = window.open(dokument, "dokument_start", "scrollbars=yes,resizable=yes,status=yes,copyhistory,height=600,width=900,top=40,left=40,");
	hilfe.focus()
	return false;
}

function show_doc_start(dokument) {
	hilfe = window.open(dokument, "dokument_start", "scrollbars=yes,resizable=yes,status=yes,copyhistory,height=600,width=900,top=40,left=40,");
	hilfe.focus()
	return false;
}

// In einem Forum gefunden - noch testen:
// if(top==self) top.location="../index.html"; 


function load_frameset(location) {
//	if (parent.frames.length == 0) parent.location.href = location;
//	alert (top.frames.length);
	if (top.frames.length < 2) parent.location.href = location;
}


function load_frameset2(location) {
	alert (top.frames.length);
	alert (top.frames[0].name);
	alert (top.frames[1].name);
}


function load_frameset3(location) {
	alert (parent.frames.length);
	alert (top.frames[0].name);
	alert (top.frames[1].name);
	alert ("OK...");
	if (parent.frames.length < 2) {
		alert ("neu laden...");
		alert (parent.frames.length);
		parent.location.href = location;
	}
}


// funktioniert nicht, wenn Unterseite direkt aufgerufen wird
// Fehlermeldung "Zugriff verweigert" bei Zugriff auf Var. top.frames[0].name
function load_frameset4(location) {
	if (!top.frames[0].name=="oben") {
		parent.location.href = location;
	}
}





function load_frameset5(location) {
  try {
    if (top.frames[0].name=="") {
      parent.location.href = location;
    }
  } catch (e) {
      parent.location.href = location;
  }
}





function load_frameset6(location) {
  if (self == top) {
      parent.location.href = location;
  }
}




function HilfeFenster() {
	hilfe = window.open("kunden_einladung.html", "hilfe", "scrollbars=yes,resizable=yes,status=yes,copyhistory,height=500,width=650,top=30,left=30,");
	hilfe.focus()
	return false;
}



