/* --- Allgemeine Javascriptdatei ---------*/
/*                                         */ 
/* Projekt: schuelerlexikon.de             */ 
/* Autor: Thomas Schmidt                   */
/* Kontakt: webmaster@el-zorro.de          */
/* Datum: 29.06.2001                       */
/* -------------------- www.el-zorro.de ---*/
/* das Quizfenster */
function MyQuizOpen(myUrl,winName)
{ 
  var myWin = null;  
  winName=winName+String(Math.floor(Math.random()*1000));
  myWin = window.open(myUrl, winName, "scrollbars=no,menubar=no,toolbar=no,status=no,resizable=no,location=no,width=500,height=360");
}
/* das Empfehlen-Fenster */
function MyAdviseOpen(myUrl,winName)
{ 
  var myWin = null;  
  winName=winName+String(Math.floor(Math.random()*1000));
  myWin = window.open(myUrl, winName, "scrollbars=no,menubar=no,toolbar=no,status=no,resizable=no,location=no,width=400,height=285");
}
/* externes fenster */

function MyFensterOpen(myUrl,winName)
{ 
  var myWin = null;  
  winName=winName+String(Math.floor(Math.random()*1000));
  myWin = window.open(myUrl, winName, "scrollbars=yes,menubar=yes,toolbar=yes,status=yes,resizable=yes,location=yes,width=780,height=440");
}

/* shop funktionen */

function MyRandomShop()
{ 
  var myUrl = ""; myWin = null;  
  var myLink = new Array("http://www.amazon.de/exec/obidos/ASIN/3411715014/schulerlexiko-21",
                     "http://www.amazon.de/exec/obidos/ASIN/3411715111/schulerlexiko-21",
					 "http://www.amazon.de/exec/obidos/ASIN/3411714611/schulerlexiko-21",
					 "http://www.amazon.de/exec/obidos/ASIN/3411714719/schulerlexiko-21",
					 "http://www.amazon.de/exec/obidos/ASIN/3411714816/schulerlexiko-21",
					 "http://www.amazon.de/exec/obidos/ASIN/3411714913/schulerlexiko-21",
					 "http://www.amazon.de/exec/obidos/ASIN/3411715219/schulerlexiko-21",
					 "http://www.amazon.de/exec/obidos/ASIN/3411715316/schulerlexiko-21");				 
  var myNumber = Math.floor(Math.random()*8);
  myUrl = myLink[myNumber];
  myWin = window.open(myUrl,'amazon', "scrollbars=yes,menubar=yes,toolbar=yes,status=yes,resizable=yes,location=yes,width=780,height=440");
}

function MyRandomBanner()
{ 
  var myUrl = ""; myWin = null;  
  var myBanner = new Array("<a href='javascript:MyContArea(6)'><img src='../add_server/ban_astronomie.gif' border='0'></a>",
                     "<a href='javascript:MyContArea(6)'><img src='../add_server/ban_biologie.gif' border='0'></a>",
					 "<a href='javascript:MyContArea(6)'><img src='../add_server/ban_chemie.gif' border='0'></a>",
					 "<a href='javascript:MyContArea(6)'><img src='../add_server/ban_informatik.gif' border='0'></a>",
					 "<a href='javascript:MyContArea(6)'><img src='../add_server/ban_mathematik.gif' border='0'></a>",
					 "<a href='javascript:MyContArea(6)'><img src='../add_server/ban_physik.gif' border='0'></a>",
					 "<a href='javascript:MyContArea(6)'><img src='../add_server/ban_technik.gif' border='0'></a>",
					 "<a href='javascript:MyContArea(6)'><img src='../add_server/ban_wirtschaft.gif' border='0'></a>");				 
  var myNumber = Math.floor(Math.random()*8);
  myUrl = myBanner[myNumber];
  document.write(myUrl); 
}

function MyRandomBanner2()
{ 
  var myUrl = ""; myWin = null;  
  var myBanner = new Array("<a href='javascript:MyContArea2(6)'><img src='../../static/add_server/ban_astronomie.gif' border='0'></a>",
                     "<a href='javascript:MyContArea2(6)'><img src='../../static/add_server/ban_biologie.gif' border='0'></a>",
					 "<a href='javascript:MyContArea2(6)'><img src='../../static/add_server/ban_chemie.gif' border='0'></a>",
					 "<a href='javascript:MyContArea2(6)'><img src='../../static/add_server/ban_informatik.gif' border='0'></a>",
					 "<a href='javascript:MyContArea2(6)'><img src='../../static/add_server/ban_mathematik.gif' border='0'></a>",
					 "<a href='javascript:MyContArea2(6)'><img src='../../static/add_server/ban_physik.gif' border='0'></a>",
					 "<a href='javascript:MyContArea2(6)'><img src='../../static/add_server/ban_technik.gif' border='0'></a>",
					 "<a href='javascript:MyContArea2(6)'><img src='../../static/add_server/ban_wirtschaft.gif' border='0'></a>");				 
  var myNumber = Math.floor(Math.random()*8);
  myUrl = myBanner[myNumber];
  document.write(myUrl); 
}

function MyRandomBanner3()
{ 
  var myUrl = ""; myWin = null;  
  var myBanner = new Array("<a href='javascript:MyContArea2(6)'><img src='../../../static/add_server/ban_astronomie.gif' border='0'></a>",
                     "<a href='javascript:MyContArea2(6)'><img src='../../../static/add_server/ban_biologie.gif' border='0'></a>",
					 "<a href='javascript:MyContArea2(6)'><img src='../../../static/add_server/ban_chemie.gif' border='0'></a>",
					 "<a href='javascript:MyContArea2(6)'><img src='../../../static/add_server/ban_informatik.gif' border='0'></a>",
					 "<a href='javascript:MyContArea2(6)'><img src='../../../static/add_server/ban_mathematik.gif' border='0'></a>",
					 "<a href='javascript:MyContArea2(6)'><img src='../../../static/add_server/ban_physik.gif' border='0'></a>",
					 "<a href='javascript:MyContArea2(6)'><img src='../../../static/add_server/ban_technik.gif' border='0'></a>",
					 "<a href='javascript:MyContArea2(6)'><img src='../../../static/add_server/ban_wirtschaft.gif' border='0'></a>");				 
  var myNumber = Math.floor(Math.random()*8);
  myUrl = myBanner[myNumber];
  document.write(myUrl); 
} 


/*
function MyRandomBanner()
{ 
  var myUrl = ""; myWin = null;  
  var myBanner = new Array("<a href='javascript:MyQuizOpen(\"../../dynamic/flashquiz/screen.htm\",\"quiz\")'><img src='../quiz_banner/banner_rot.gif' border='0'></a>",
                     "<a href='javascript:MyQuizOpen(\"../../dynamic/flashquiz/screen.htm\",\"quiz\")'><img src='../quiz_banner/banner_cyan.gif' border='0'></a>",
					 "<a href='javascript:MyQuizOpen(\"../../dynamic/flashquiz/screen.htm\",\"quiz\")'><img src='../quiz_banner/banner_grellgruen.gif' border='0'></a>",
					 "<a href='javascript:MyQuizOpen(\"../../dynamic/flashquiz/screen.htm\",\"quiz\")'><img src='../quiz_banner/banner_gruen.gif' border='0'></a>",
					 "<a href='javascript:MyQuizOpen(\"../../dynamic/flashquiz/screen.htm\",\"quiz\")'><img src='../quiz_banner/banner_lila.gif' border='0'></a>",
					 "<a href='javascript:MyQuizOpen(\"../../dynamic/flashquiz/screen.htm\",\"quiz\")'><img src='../quiz_banner/banner_orange.gif' border='0'></a>",
					 "<a href='javascript:MyQuizOpen(\"../../dynamic/flashquiz/screen.htm\",\"quiz\")'><img src='../quiz_banner/banner_blau.gif' border='0'></a>");				 
  var myNumber = Math.floor(Math.random()*7);
  myUrl = myBanner[myNumber];
  document.write(myUrl); 
}

function MyRandomBanner2()
{ 
  var myUrl = ""; myWin = null;  
  var myBanner = new Array("<a href='javascript:MyQuizOpen(\"../../dynamic/flashquiz/screen.htm\",\"quiz\")'><img src='../../static/quiz_banner/banner_rot.gif' border='0'></a>",
                     "<a href='javascript:MyQuizOpen(\"../../dynamic/flashquiz/screen.htm\",\"quiz\")'><img src='../../static/quiz_banner/banner_cyan.gif' border='0'></a>",
					 "<a href='javascript:MyQuizOpen(\"../../dynamic/flashquiz/screen.htm\",\"quiz\")'><img src='../../static/quiz_banner/banner_grellgruen.gif' border='0'></a>",
					 "<a href='javascript:MyQuizOpen(\"../../dynamic/flashquiz/screen.htm\",\"quiz\")'><img src='../../static/quiz_banner/banner_gruen.gif' border='0'></a>",
					 "<a href='javascript:MyQuizOpen(\"../../dynamic/flashquiz/screen.htm\",\"quiz\")'><img src='../../static/quiz_banner/banner_lila.gif' border='0'></a>",
					 "<a href='javascript:MyQuizOpen(\"../../dynamic/flashquiz/screen.htm\",\"quiz\")'><img src='../../static/quiz_banner/banner_orange.gif' border='0'></a>",
					 "<a href='javascript:MyQuizOpen(\"../../dynamic/flashquiz/screen.htm\",\"quiz\")'><img src='../../static/quiz_banner/banner_blau.gif' border='0'></a>");				 
  var myNumber = Math.floor(Math.random()*7);
  myUrl = myBanner[myNumber];
  document.write(myUrl); 
}

function MyRandomBanner3()
{ 
  var myUrl = ""; myWin = null;  
  var myBanner = new Array("<a href='javascript:MyQuizOpen(\"../../../dynamic/flashquiz/screen.htm\",\"quiz\")'><img src='../../../static/quiz_banner/banner_rot.gif' border='0'></a>",
                     "<a href='javascript:MyQuizOpen(\"../../../dynamic/flashquiz/screen.htm\",\"quiz\")'><img src='../../../static/quiz_banner/banner_cyan.gif' border='0'></a>",
					 "<a href='javascript:MyQuizOpen(\"../../../dynamic/flashquiz/screen.htm\",\"quiz\")'><img src='../../../static/quiz_banner/banner_grellgruen.gif' border='0'></a>",
					 "<a href='javascript:MyQuizOpen(\"../../../dynamic/flashquiz/screen.htm\",\"quiz\")'><img src='../../../static/quiz_banner/banner_gruen.gif' border='0'></a>",
					 "<a href='javascript:MyQuizOpen(\"../../../dynamic/flashquiz/screen.htm\",\"quiz\")'><img src='../../../static/quiz_banner/banner_lila.gif' border='0'></a>",
					 "<a href='javascript:MyQuizOpen(\"../../../dynamic/flashquiz/screen.htm\",\"quiz\")'><img src='../../../static/quiz_banner/banner_orange.gif' border='0'></a>",
					 "<a href='javascript:MyQuizOpen(\"../../../dynamic/flashquiz/screen.htm\",\"quiz\")'><img src='../../../static/quiz_banner/banner_blau.gif' border='0'></a>");				 
  var myNumber = Math.floor(Math.random()*7);
  myUrl = myBanner[myNumber];
  document.write(myUrl); 
} 
*/
function MyRandomBuch()
{ 
  var myUrl = ""; myWin = null;  
  var myBanner = new Array("<a href='javascript:MyContArea(6)'><img src='../add_server/buch_astronomie.gif' border='0'></a>",
                     "<a href='javascript:MyContArea(6)'><img src='../add_server/buch_biologie.gif' border='0'></a>",
					 "<a href='javascript:MyContArea(6)'><img src='../add_server/buch_chemie.gif' border='0'></a>",
					 "<a href='javascript:MyContArea(6)'><img src='../add_server/buch_deutsch.gif' border='0'></a>",
					 "<a href='javascript:MyContArea(6)'><img src='../add_server/buch_geographie.gif' border='0'></a>",					 					 
					 "<a href='javascript:MyContArea(6)'><img src='../add_server/buch_informatik.gif' border='0'></a>",
					 "<a href='javascript:MyContArea(6)'><img src='../add_server/buch_literatur.gif' border='0'></a>",					 
					 "<a href='javascript:MyContArea(6)'><img src='../add_server/buch_mathematik.gif' border='0'></a>",
					 "<a href='javascript:MyContArea(6)'><img src='../add_server/buch_physik.gif' border='0'></a>",
					 "<a href='javascript:MyContArea(6)'><img src='../add_server/buch_technik.gif' border='0'></a>",
					 "<a href='javascript:MyContArea(6)'><img src='../add_server/buch_wirtschaft.gif' border='0'></a>",
					 "<a href='javascript:MyContArea(6)'><img src='../add_server/buch_physik_abi.gif' border='0'></a>",
					 "<a href='javascript:MyContArea(6)'><img src='../add_server/buch_mathematik_abi.gif' border='0'></a>",
					 "<a href='javascript:MyContArea(6)'><img src='../add_server/buch_informatik_abi.gif' border='0'></a>",
					 "<a href='javascript:MyContArea(6)'><img src='../add_server/buch_geschichte.gif' border='0'></a>");				 
  var myNumber = Math.floor(Math.random()*15);
  myUrl = myBanner[myNumber];
  document.write(myUrl); 
}

function MyRandomBuch2()
{ 
  var myUrl = ""; myWin = null;  
  var myBanner = new Array("<a href='javascript:MyContArea2(6)'><img src='../../static/add_server/buch_astronomie.gif' border='0'></a>",
                     "<a href='javascript:MyContArea2(6)'><img src='../../static/add_server/buch_biologie.gif' border='0'></a>",
					 "<a href='javascript:MyContArea2(6)'><img src='../../static/add_server/buch_chemie.gif' border='0'></a>",
					 "<a href='javascript:MyContArea2(6)'><img src='../../static/add_server/buch_deutsch.gif' border='0'></a>",
					 "<a href='javascript:MyContArea2(6)'><img src='../../static/add_server/buch_geographie.gif' border='0'></a>",					 					 
					 "<a href='javascript:MyContArea2(6)'><img src='../../static/add_server/buch_informatik.gif' border='0'></a>",
					 "<a href='javascript:MyContArea2(6)'><img src='../../static/add_server/buch_literatur.gif' border='0'></a>",					 
					 "<a href='javascript:MyContArea2(6)'><img src='../../static/add_server/buch_mathematik.gif' border='0'></a>",
					 "<a href='javascript:MyContArea2(6)'><img src='../../static/add_server/buch_physik.gif' border='0'></a>",
					 "<a href='javascript:MyContArea2(6)'><img src='../../static/add_server/buch_technik.gif' border='0'></a>",
					 "<a href='javascript:MyContArea(6)'><img src='../../static/add_server/buch_wirtschaft.gif' border='0'></a>",
					 "<a href='javascript:MyContArea(6)'><img src='../../static/add_server/buch_physik_abi.gif' border='0'></a>",
					 "<a href='javascript:MyContArea(6)'><img src='../../static/add_server/buch_mathematik_abi.gif' border='0'></a>",
					 "<a href='javascript:MyContArea(6)'><img src='../../static/add_server/buch_informatik_abi.gif' border='0'></a>",
					 "<a href='javascript:MyContArea(6)'><img src='../../static/add_server/buch_geschichte.gif' border='0'></a>");				 
  var myNumber = Math.floor(Math.random()*15);
  myUrl = myBanner[myNumber];
  document.write(myUrl); 
}

function MyRandomBuch3()
{ 
  var myUrl = ""; myWin = null;  
  var myBanner = new Array("<a href='javascript:MyContArea2(6)'><img src='../../../static/add_server/buch_astronomie.gif' border='0'></a>",
                     "<a href='javascript:MyContArea2(6)'><img src='../../../static/add_server/buch_biologie.gif' border='0'></a>",
					 "<a href='javascript:MyContArea2(6)'><img src='../../../static/add_server/buch_chemie.gif' border='0'></a>",
					 "<a href='javascript:MyContArea2(6)'><img src='../../../static/add_server/buch_informatik.gif' border='0'></a>",
					 "<a href='javascript:MyContArea2(6)'><img src='../../../static/add_server/buch_mathematik.gif' border='0'></a>",
					 "<a href='javascript:MyContArea2(6)'><img src='../../../static/add_server/buch_physik.gif' border='0'></a>",
					 "<a href='javascript:MyContArea2(6)'><img src='../../../static/add_server/buch_technik.gif' border='0'></a>",
					 "<a href='javascript:MyContArea(6)'><img src='../../../static/add_server/buch_wirtschaft.gif' border='0'></a>",
					 "<a href='javascript:MyContArea(6)'><img src='../../../static/add_server/buch_physik_abi.gif' border='0'></a>",
					 "<a href='javascript:MyContArea(6)'><img src='../../../static/add_server/buch_mathematik_abi.gif' border='0'></a>",
					 "<a href='javascript:MyContArea(6)'><img src='../../../static/add_server/buch_informatik_abi.gif' border='0'></a>",
					 "<a href='javascript:MyContArea(6)'><img src='../../../static/add_server/buch_geschichte.gif' border='0'></a>");					 
  var myNumber = Math.floor(Math.random()*12);
  myUrl = myBanner[myNumber];
  document.write(myUrl); 
}

function MyShop(myLex)
{ 
  var winName= ""; myWin = null;   
  winName = winName+String(Math.floor(Math.random()*1000));
  switch(myLex)
  {
    case "Astronomie":
    { 
	  myUrl = "http://www.amazon.de/exec/obidos/ASIN/3411714913/schulerlexiko-21";
      myWin = window.open(myUrl,winName, "scrollbars=yes,menubar=yes,toolbar=yes,status=yes,resizable=yes,location=yes,width=780,height=440");
	}
    break;
	case "Biologie":
    {    
	  myUrl = "http://www.amazon.de/exec/obidos/ASIN/3411714816/schulerlexiko-21";
      myWin = window.open(myUrl,winName, "scrollbars=yes,menubar=yes,toolbar=yes,status=yes,resizable=yes,location=yes,width=780,height=440");
	}
    break;
	case "Chemie":
    {   
	  myUrl = "http://www.amazon.de/exec/obidos/ASIN/3411714719/schulerlexiko-21";
      myWin = window.open(myUrl,winName, "scrollbars=yes,menubar=yes,toolbar=yes,status=yes,resizable=yes,location=yes,width=780,height=440");
	}
    break;
	case "Deutsch":
    {   
	  myUrl = "http://www.amazon.de/exec/obidos/ASIN/341171591X/schulerlexiko-21";
      myWin = window.open(myUrl,winName, "scrollbars=yes,menubar=yes,toolbar=yes,status=yes,resizable=yes,location=yes,width=780,height=440");
	}
    break;	
	case "Geographie":
    {   
	  myUrl = "http://www.amazon.de/exec/obidos/ASIN/3411716118/schulerlexiko-21";
      myWin = window.open(myUrl,winName, "scrollbars=yes,menubar=yes,toolbar=yes,status=yes,resizable=yes,location=yes,width=780,height=440");
	}
    break;	
    case "Informatik":
    { 
	  myUrl = "http://www.amazon.de/exec/obidos/ASIN/3411715111/schulerlexiko-21";
      myWin = window.open(myUrl,'amazon', "scrollbars=yes,menubar=yes,toolbar=yes,status=yes,resizable=yes,location=yes,width=780,height=440");
	}
    break;
    case "Literatur":
    { 
	  myUrl = "http://www.amazon.de/exec/obidos/ASIN/3411716010/schulerlexiko-21";
      myWin = window.open(myUrl,'amazon', "scrollbars=yes,menubar=yes,toolbar=yes,status=yes,resizable=yes,location=yes,width=780,height=440");
	}
    break;	
	case "Mathematik":
    { 
	  myUrl = "http://www.amazon.de/exec/obidos/ASIN/3411715014/schulerlexiko-21";
      myWin = window.open(myUrl,winName, "scrollbars=yes,menubar=yes,toolbar=yes,status=yes,resizable=yes,location=yes,width=780,height=440");
	}
    break;
	case "Physik":
    {  
	  myUrl = "http://www.amazon.de/exec/obidos/ASIN/3411714611/schulerlexiko-21";
      myWin = window.open(myUrl,winName, "scrollbars=yes,menubar=yes,toolbar=yes,status=yes,resizable=yes,location=yes,width=780,height=440");
	}
    break;
	case "Technik":
    {   
	  myUrl = "http://www.amazon.de/exec/obidos/ASIN/3411715219/schulerlexiko-21";
      myWin = window.open(myUrl,winName, "scrollbars=yes,menubar=yes,toolbar=yes,status=yes,resizable=yes,location=yes,width=780,height=440");
	}
    break;
    case "Wirtschaft":
    {    
	  myUrl =  "http://www.amazon.de/exec/obidos/ASIN/3411715316/schulerlexiko-21";
      myWin = window.open(myUrl,winName, "scrollbars=yes,menubar=yes,toolbar=yes,status=yes,resizable=yes,location=yes,width=780,height=440");
	}
    break;
    case "Geschichte":
    {    
	  myUrl =  "http://www.amazon.de/exec/obidos/ASIN/3411715812/schulerlexiko-21";
      myWin = window.open(myUrl,winName, "scrollbars=yes,menubar=yes,toolbar=yes,status=yes,resizable=yes,location=yes,width=780,height=440");
	}
    break;
    case "Informatik_Abitur":
    {    
	  myUrl =  "http://www.amazon.de/exec/obidos/ASIN/3411716215/schulerlexiko-21";
      myWin = window.open(myUrl,winName, "scrollbars=yes,menubar=yes,toolbar=yes,status=yes,resizable=yes,location=yes,width=780,height=440");
	}
    break;
    case "Mathematik_Abitur":
    {    
	  myUrl =  "http://www.amazon.de/exec/obidos/ASIN/3411717416/schulerlexiko-21";
      myWin = window.open(myUrl,winName, "scrollbars=yes,menubar=yes,toolbar=yes,status=yes,resizable=yes,location=yes,width=780,height=440");
	}
    break;
    case "Physik_Abitur":
    {    
	  myUrl =  "http://www.amazon.de/exec/obidos/ASIN/3411717513/schulerlexiko-21";
      myWin = window.open(myUrl,winName, "scrollbars=yes,menubar=yes,toolbar=yes,status=yes,resizable=yes,location=yes,width=780,height=440");
	}
    break;				
    default:
      parent.MyContent.document.location.href="titel.htm";
    break;
  } 
}

function MyPreview(myLex)
{ 
  var winName;
  myWin = null;   
  winName = winName+String(Math.floor(Math.random()*1000));
  switch(myLex)
  {
    case "Astronomie":
    {    
	  myUrl = "lexi1_probe.pdf";
      myWin = window.open(myUrl,winName, "scrollbars=yes,menubar=yes,toolbar=yes,status=yes,resizable=yes,location=yes,width=600,height=440");
	}
    break;
	case "Biologie":
    {    
	  myUrl = "lexi2_probe.pdf";
      myWin = window.open(myUrl,winName, "scrollbars=yes,menubar=yes,toolbar=yes,status=yes,resizable=yes,location=yes,width=600,height=440");
	}
    break;
	case "Chemie":
    {   
	  myUrl = "lexi3_probe.pdf";
      myWin = window.open(myUrl,winName, "scrollbars=yes,menubar=yes,toolbar=yes,status=yes,resizable=yes,location=yes,width=600,height=440");
	}
    break;
	case "Deutsch":
    {   
	  myUrl = "lexi9_probe.pdf";
      myWin = window.open(myUrl,winName, "scrollbars=yes,menubar=yes,toolbar=yes,status=yes,resizable=yes,location=yes,width=600,height=440");
	}
    break;
	case "Geographie":
    {   
	  myUrl = "lexi10_probe.pdf";
      myWin = window.open(myUrl,winName, "scrollbars=yes,menubar=yes,toolbar=yes,status=yes,resizable=yes,location=yes,width=600,height=440");
	}
    break;		
    case "Informatik":
    {    
	  myUrl = "lexi4_probe.pdf";
      myWin = window.open(myUrl,winName, "scrollbars=yes,menubar=yes,toolbar=yes,status=yes,resizable=yes,location=yes,width=600,height=440");
	}
    break;
	case "Literatur":
    {   
	  myUrl = "lexi11_probe.pdf";
      myWin = window.open(myUrl,winName, "scrollbars=yes,menubar=yes,toolbar=yes,status=yes,resizable=yes,location=yes,width=600,height=440");
	}
    break;	
	case "Mathematik":
    {    
	  myUrl = "lexi5_probe.pdf";
      myWin = window.open(myUrl,winName, "scrollbars=yes,menubar=yes,toolbar=yes,status=yes,resizable=yes,location=yes,width=600,height=440");
	}
    break;
	case "Physik":
    {  
	  myUrl = "lexi6_probe.pdf";
      myWin = window.open(myUrl,winName, "scrollbars=yes,menubar=yes,toolbar=yes,status=yes,resizable=yes,location=yes,width=600,height=440");
	}
    break;
	case "Technik":
    {    
	  myUrl = "lexi7_probe.pdf";
      myWin = window.open(myUrl,winName, "scrollbars=yes,menubar=yes,toolbar=yes,status=yes,resizable=yes,location=yes,width=600,height=440");
	}
    break;
    case "Wirtschaft":
    {    
	  myUrl = "lexi8_probe.pdf";
      myWin = window.open(myUrl,winName, "scrollbars=yes,menubar=yes,toolbar=yes,status=yes,resizable=yes,location=yes,width=600,height=440");
	}
    break;
    case "Geschichte":
    {    
	  myUrl = "lexi12_probe.pdf";
      myWin = window.open(myUrl,winName, "scrollbars=yes,menubar=yes,toolbar=yes,status=yes,resizable=yes,location=yes,width=600,height=440");
	}
    break;
    case "Informatik_Abitur":
    {    
	  myUrl = "lexi13_probe.pdf";
      myWin = window.open(myUrl,winName, "scrollbars=yes,menubar=yes,toolbar=yes,status=yes,resizable=yes,location=yes,width=600,height=440");
	}
    break;
    case "Mathematik_Abitur":
    {    
	  myUrl = "lexi14_probe.pdf";
      myWin = window.open(myUrl,winName, "scrollbars=yes,menubar=yes,toolbar=yes,status=yes,resizable=yes,location=yes,width=600,height=440");
	}
    break;
    case "Physik_Abitur":
    {    
	  myUrl = "lexi15_probe.pdf";
      myWin = window.open(myUrl,winName, "scrollbars=yes,menubar=yes,toolbar=yes,status=yes,resizable=yes,location=yes,width=600,height=440");
	}
    break;				
    default:
      parent.MyContent.document.location.href="titel.htm";
    break;
  } 
}

/*-- interne Links --*/

function MyContArea(myArea)
{
   switch(myArea)
   {
   case 1:
     parent.MyContent.document.location.href="../lexikon/titel.htm";
   break;
   case 2:
     parent.MyContent.document.location.href="../../dynamic/epl/contsuch_ohne.epl";
   break;
   case 3:
     parent.MyContent.document.location.href="../../dynamic/epl/linksuch_ohne.epl";
   break;
   case 4:
     parent.MyContent.document.location.href="../wettbewerb/titel.htm";
   break;
   case 5:
     parent.MyContent.document.location.href="../redaktion/titel.htm";
   break;
   case 6:
     parent.MyContent.document.location.href="../shop/titel.htm";
   break;
    case 7:
     parent.MyContent.document.location.href="../main/hilfe1.htm";
   break;
    case 8:
     parent.MyContent.document.location.href="../main/mail.htm";
   break;
    case 9:
     parent.MyContent.document.location.href="../main/impress.htm";
   break;
    case 10:
     parent.MyContent.document.location.href="../main/partnerprog.htm";
   break;   
   case 11:
     parent.MyContent.document.location.href="../tafelwerk/titel.htm";
   break;   
   case 12:
     parent.MyContent.document.location.href="../kaenguru/titel.htm";
   break;    
   default:
     parent.MyContent.document.location.href="titel.php";
   break;
  } 
}

/* -- externe Links -- */

function MyContArea2(myArea)
{
   switch(myArea)
   {
   case 1:
     parent.MyContent.document.location.href="../../static/lexikon/titel.htm";
   break;
   case 2:
     parent.MyContent.document.location.href="../epl/contsuch_ohne.epl";
   break;
   case 3:
     parent.MyContent.document.location.href="../epl/linksuch_ohne.epl";
   break;
   case 4:
     parent.MyContent.document.location.href="../../static/wettbewerb/titel.htm";
   break;
   case 5:
     parent.MyContent.document.location.href="../../static/redaktion/titel.htm";
   break;
   case 6:
     parent.MyContent.document.location.href="../../static/shop/titel.htm";
   break;
    case 7:
     parent.MyContent.document.location.href="../../static/main/hilfe1.htm";
   break;
    case 8:
     parent.MyContent.document.location.href="../../static/main/mail.htm";
   break;
    case 9:
     parent.MyContent.document.location.href="../main/impress.htm";
   break;
   default:
     parent.MyContent.document.location.href="../../static/main/titel.php";
   break;
  } 
}

/* -- Lexikon oeffnen -- */

function MyLexArea(myLex)
{ 
  switch(myLex)
  {
    case "Astronomie":
    {    
	   myWin = null;
	   winName = parent.MyNavigation.myPassAstronomie;
	   winName = winName+String(Math.floor(Math.random()*1000));
       myWin = window.open("http://www.schuelerlexikon.de/lexika/astronomie/",winName,"scrollbars=yes,menubar=yes,toolbar=yes,status=yes,resizable=yes,width=780,height=440"); 
	}
    break;
	case "Biologie":
    {    
	   myWin = null;
	   winName = parent.MyNavigation.myPassBiologie;
	   winName = winName+String(Math.floor(Math.random()*1000));
       myWin = window.open("http://www.schuelerlexikon.de/lexika/biologie/",winName,"scrollbars=yes,menubar=yes,toolbar=yes,status=yes,resizable=yes,width=780,height=440"); 
	}
    break;
	case "Chemie":
    {    
	   myWin = null;
	   winName = parent.MyNavigation.myPassChemie;
	   winName = winName+String(Math.floor(Math.random()*1000));
       myWin = window.open("http://www.schuelerlexikon.de/lexika/chemie/",winName,"scrollbars=yes,menubar=yes,toolbar=yes,status=yes,resizable=yes,width=780,height=440"); 
	}
    break;
	case "Deutsch":
    {    
	   myWin = null;
	   winName = parent.MyNavigation.myPassDeutsch;
	   winName = winName+String(Math.floor(Math.random()*1000));
       myWin = window.open("http://www.schuelerlexikon.de/lexika/deutsch/",winName,"scrollbars=yes,menubar=yes,toolbar=yes,status=yes,resizable=yes,width=780,height=440"); 
	}
    break;
	case "Geographie":
    {    
	   myWin = null;
	   winName = parent.MyNavigation.myPassGeographie;
	   winName = winName+String(Math.floor(Math.random()*1000));
       myWin = window.open("http://www.schuelerlexikon.de/lexika/geographie/",winName,"scrollbars=yes,menubar=yes,toolbar=yes,status=yes,resizable=yes,width=780,height=440"); 
	}
    break;		
    case "Informatik":
    {    
	   myWin = null;
	   winName = parent.MyNavigation.myPassInformatik;
	   winName = winName+String(Math.floor(Math.random()*1000));
       myWin = window.open("http://www.schuelerlexikon.de/lexika/informatik/",winName,"scrollbars=yes,menubar=yes,toolbar=yes,status=yes,resizable=yes,width=780,height=440"); 
	}
    break;
	case "Literatur":
    {    
	   myWin = null;
	   winName = parent.MyNavigation.myPassLiteratur;
	   winName = winName+String(Math.floor(Math.random()*1000));
       myWin = window.open("http://www.schuelerlexikon.de/lexika/literatur/",winName,"scrollbars=yes,menubar=yes,toolbar=yes,status=yes,resizable=yes,width=780,height=440"); 
	}
    break;	
	case "Mathematik":
    {    
	   myWin = null;
	   winName = parent.MyNavigation.myPassMathematik;
	   winName = winName+String(Math.floor(Math.random()*1000));
       myWin = window.open("http://www.schuelerlexikon.de/lexika/mathematik/",winName,"scrollbars=yes,menubar=yes,toolbar=yes,status=yes,resizable=yes,width=780,height=440"); 
	}
    break;
	case "Physik":
    {    
	   myWin = null;
	   winName = parent.MyNavigation.myPassPhysik;
	   winName = winName+String(Math.floor(Math.random()*1000));
       myWin = window.open("http://www.schuelerlexikon.de/lexika/physik/",winName,"scrollbars=yes,menubar=yes,toolbar=yes,status=yes,resizable=yes,width=780,height=440"); 
	}
    break;
	case "Technik":
    {    
	   myWin = null;
	   winName = parent.MyNavigation.myPassTechnik;
	   winName = winName+String(Math.floor(Math.random()*1000));
       myWin = window.open("http://www.schuelerlexikon.de/lexika/technik/",winName,"scrollbars=yes,menubar=yes,toolbar=yes,status=yes,resizable=yes,width=780,height=440"); 
	}
    break;
    case "Wirtschaft":
    {    
	   myWin = null;
	   winName = parent.MyNavigation.myPassWirtschaft;
	   winName = winName+String(Math.floor(Math.random()*1000));
       myWin = window.open("http://www.schuelerlexikon.de/lexika/wirtschaft/",winName,"scrollbars=yes,menubar=yes,toolbar=yes,status=yes,resizable=yes,width=780,height=440"); 
	}
    break;
    case "Geschichte":
    {    
	   myWin = null;
	   winName = parent.MyNavigation.myPassGeschichte;
	   winName = winName+String(Math.floor(Math.random()*1000));
       myWin = window.open("http://www.schuelerlexikon.de/lexika/geschichte/",winName,"scrollbars=yes,menubar=yes,toolbar=yes,status=yes,resizable=yes,width=780,height=440"); 
	}
    break;	
    case "Informatik_Abitur":
    {    
	   myWin = null;
	   winName = parent.MyNavigation.myPassInformatik_Abitur;
	   winName = winName+String(Math.floor(Math.random()*1000));
       myWin = window.open("http://www.schuelerlexikon.de/lexika/infsek2/",winName,"scrollbars=yes,menubar=yes,toolbar=yes,status=yes,resizable=yes,width=780,height=440"); 
	}
    break;	
    case "Mathematik_Abitur":
    {    
	   myWin = null;
	   winName = parent.MyNavigation.myPassMathematik_Abitur;
	   winName = winName+String(Math.floor(Math.random()*1000));
       myWin = window.open("http://www.schuelerlexikon.de/lexika/masek2/",winName,"scrollbars=yes,menubar=yes,toolbar=yes,status=yes,resizable=yes,width=780,height=440"); 
	}
    break;	
    case "Physik_Abitur":
    {    
	   myWin = null;
	   winName = parent.MyNavigation.myPassPhysik_Abitur;
	   winName = winName+String(Math.floor(Math.random()*1000));
       myWin = window.open("http://www.schuelerlexikon.de/lexika/physek2/",winName,"scrollbars=yes,menubar=yes,toolbar=yes,status=yes,resizable=yes,width=780,height=440"); 
	}
    break;				
    default:
      parent.MyContent.document.location.href="titel.epl";
    break;
  } 
}

function MySearchLink(myLex,myUrl)
{ 
  switch(myLex)
  {
    case "Astronomie":
    {    
	   myWin = null;
	   winName = parent.MyNavigation.myPassAstronomie;
	   winName = winName+String(Math.floor(Math.random()*1000));
       myWin = window.open(myUrl,winName,"scrollbars=yes,menubar=yes,toolbar=yes,status=yes,resizable=yes,width=620,height=440"); 
	}
    break;
	case "Biologie":
    {    
	   myWin = null;
	   winName = parent.MyNavigation.myPassBiologie;
	   winName = winName+String(Math.floor(Math.random()*1000));
       myWin = window.open(myUrl,winName,"scrollbars=yes,menubar=yes,toolbar=yes,status=yes,resizable=yes,width=620,height=440"); 
	}
    break;
	case "Chemie":
    {    
	   myWin = null;
	   winName = parent.MyNavigation.myPassChemie;
	   winName = winName+String(Math.floor(Math.random()*1000));
       myWin = window.open(myUrl,winName,"scrollbars=yes,menubar=yes,toolbar=yes,status=yes,resizable=yes,width=620,height=440"); 
	}
    break;
	case "Deutsch":
    {    
	   myWin = null;
	   winName = parent.MyNavigation.myPassDeutsch;
	   winName = winName+String(Math.floor(Math.random()*1000));
       myWin = window.open(myUrl,winName,"scrollbars=yes,menubar=yes,toolbar=yes,status=yes,resizable=yes,width=620,height=440"); 
	}
    break;
	case "Geographie":
    {    
	   myWin = null;
	   winName = parent.MyNavigation.myPassGeographie;
	   winName = winName+String(Math.floor(Math.random()*1000));
       myWin = window.open(myUrl,winName,"scrollbars=yes,menubar=yes,toolbar=yes,status=yes,resizable=yes,width=620,height=440"); 
	}
    break;		
    case "Informatik":
    {    
	   myWin = null;
	   winName = parent.MyNavigation.myPassInformatik;
	   winName = winName+String(Math.floor(Math.random()*1000));
       myWin = window.open(myUrl,winName,"scrollbars=yes,menubar=yes,toolbar=yes,status=yes,resizable=yes,width=620,height=440"); 
	}
    break;
    case "Literatur":
    {    
	   myWin = null;
	   winName = parent.MyNavigation.myPassLiteratur;
	   winName = winName+String(Math.floor(Math.random()*1000));
       myWin = window.open(myUrl,winName,"scrollbars=yes,menubar=yes,toolbar=yes,status=yes,resizable=yes,width=620,height=440"); 
	}
    break;	
	case "Mathematik":
    {    
	   myWin = null;
	   winName = parent.MyNavigation.myPassMathematik;
	   winName = winName+String(Math.floor(Math.random()*1000));
       myWin = window.open(myUrl,winName,"scrollbars=yes,menubar=yes,toolbar=yes,status=yes,resizable=yes,width=620,height=440"); 
	}
    break;
	case "Physik":
    {    
	   myWin = null;
	   winName = parent.MyNavigation.myPassPhysik;
	   winName = winName+String(Math.floor(Math.random()*1000));
       myWin = window.open(myUrl,winName,"scrollbars=yes,menubar=yes,toolbar=yes,status=yes,resizable=yes,width=620,height=440"); 
	}
    break;
	case "Technik":
    {    
	   myWin = null;
	   winName = parent.MyNavigation.myPassTechnik;
	   winName = winName+String(Math.floor(Math.random()*1000));
       myWin = window.open(myUrl,winName,"scrollbars=yes,menubar=yes,toolbar=yes,status=yes,resizable=yes,width=620,height=440"); 
	}
    break;
    case "Wirtschaft":
    {    
	   myWin = null;
	   winName = parent.MyNavigation.myPassWirtschaft;
	   winName = winName+String(Math.floor(Math.random()*1000));
       myWin = window.open(myUrl,winName,"scrollbars=yes,menubar=yes,toolbar=yes,status=yes,resizable=yes,width=620,height=440"); 
	}
    break;
    case "Geschichte":
    {    
	   myWin = null;
	   winName = parent.MyNavigation.myPassGeschichte;
	   winName = winName+String(Math.floor(Math.random()*1000));
       myWin = window.open(myUrl,winName,"scrollbars=yes,menubar=yes,toolbar=yes,status=yes,resizable=yes,width=620,height=440"); 
	}
	break;
    case "infsek2":
    {    
	   myWin = null;
	   winName = parent.MyNavigation.myPassInformatik_Abitur;
	   winName = winName+String(Math.floor(Math.random()*1000));
       myWin = window.open(myUrl,winName,"scrollbars=yes,menubar=yes,toolbar=yes,status=yes,resizable=yes,width=620,height=440"); 
	}
    break;	
    case "masek2":
    {    
	   myWin = null;
	   winName = parent.MyNavigation.myPassMathematik_Abitur;
	   winName = winName+String(Math.floor(Math.random()*1000));
       myWin = window.open(myUrl,winName,"scrollbars=yes,menubar=yes,toolbar=yes,status=yes,resizable=yes,width=620,height=440"); 
	}
    break;	
    case "physek2":
    {    
	   myWin = null;
	   winName = parent.MyNavigation.myPassPhysik_Abitur;
	   winName = winName+String(Math.floor(Math.random()*1000));
       myWin = window.open(myUrl,winName,"scrollbars=yes,menubar=yes,toolbar=yes,status=yes,resizable=yes,width=620,height=440"); 
	}
    break;				
    default:
      parent.MyContent.document.location.href="titel.epl";
    break; 
  } 
}

function MySearchLinkExtern(myLex,myUrl)
{ 
  switch(myLex)
  {
    case "Astronomie":
    {    
	   myWin = null;
	   winName = 'Astronomie';
	   winName = winName+String(Math.floor(Math.random()*1000));
       myWin = window.open(myUrl,winName,"scrollbars=yes,menubar=yes,toolbar=yes,status=yes,resizable=yes,width=620,height=440"); 
	}
    break;
	case "Biologie":
    {    
	   myWin = null;
	   winName = 'Biologie';
	   winName = winName+String(Math.floor(Math.random()*1000));
       myWin = window.open(myUrl,winName,"scrollbars=yes,menubar=yes,toolbar=yes,status=yes,resizable=yes,width=620,height=440"); 
	}
    break;
	case "Chemie":
    {    
	   myWin = null;
	   winName = 'Chemie';
	   winName = winName+String(Math.floor(Math.random()*1000));
       myWin = window.open(myUrl,winName,"scrollbars=yes,menubar=yes,toolbar=yes,status=yes,resizable=yes,width=620,height=440"); 
	}
    break;
	case "Deutsch":
    {    
	   myWin = null;
	   winName = 'Deutsch';
	   winName = winName+String(Math.floor(Math.random()*1000));
       myWin = window.open(myUrl,winName,"scrollbars=yes,menubar=yes,toolbar=yes,status=yes,resizable=yes,width=620,height=440"); 
	}
    break;
	case "Geographie":
    {    
	   myWin = null;
	   winName = 'Geographie';
	   winName = winName+String(Math.floor(Math.random()*1000));
       myWin = window.open(myUrl,winName,"scrollbars=yes,menubar=yes,toolbar=yes,status=yes,resizable=yes,width=620,height=440"); 
	}
    break;		
    case "Informatik":
    {    
	   myWin = null;
	   winName = 'Informatik';
	   winName = winName+String(Math.floor(Math.random()*1000));
       myWin = window.open(myUrl,winName,"scrollbars=yes,menubar=yes,toolbar=yes,status=yes,resizable=yes,width=620,height=440"); 
	}
    break;
    case "Literatur":
    {    
	   myWin = null;
	   winName = 'Literatur';
	   winName = winName+String(Math.floor(Math.random()*1000));
       myWin = window.open(myUrl,winName,"scrollbars=yes,menubar=yes,toolbar=yes,status=yes,resizable=yes,width=620,height=440"); 
	}
    break;	
	case "Mathematik":
    {    
	   myWin = null;
	   winName = 'Mathematik';
	   winName = winName+String(Math.floor(Math.random()*1000));
       myWin = window.open(myUrl,winName,"scrollbars=yes,menubar=yes,toolbar=yes,status=yes,resizable=yes,width=620,height=440"); 
	}
    break;
	case "Physik":
    {    
	   myWin = null;
	   winName = 'Physik';
	   winName = winName+String(Math.floor(Math.random()*1000));
       myWin = window.open(myUrl,winName,"scrollbars=yes,menubar=yes,toolbar=yes,status=yes,resizable=yes,width=620,height=440"); 
	}
    break;
	case "Technik":
    {    
	   myWin = null;
	   winName = 'Technik';
	   winName = winName+String(Math.floor(Math.random()*1000));
       myWin = window.open(myUrl,winName,"scrollbars=yes,menubar=yes,toolbar=yes,status=yes,resizable=yes,width=620,height=440"); 
	}
    break;
    case "Wirtschaft":
    {    
	   myWin = null;
	   winName = 'Wirtschaft';
	   winName = winName+String(Math.floor(Math.random()*1000));
       myWin = window.open(myUrl,winName,"scrollbars=yes,menubar=yes,toolbar=yes,status=yes,resizable=yes,width=620,height=440"); 
	}
    break;
    case "Geschichte":
    {    
	   myWin = null;
	   winName = 'Geschichte';
	   winName = winName+String(Math.floor(Math.random()*1000));
       myWin = window.open(myUrl,winName,"scrollbars=yes,menubar=yes,toolbar=yes,status=yes,resizable=yes,width=620,height=440"); 
	}
    break;	
    case "Informatik_Abitur":
    {    
	   myWin = null;
	   winName = parent.MyNavigation.myPassInformatik_Abitur;
	   winName = winName+String(Math.floor(Math.random()*1000));
       myWin = window.open(myUrl,winName,"scrollbars=yes,menubar=yes,toolbar=yes,status=yes,resizable=yes,width=620,height=440"); 
	}
    break;	
    case "Mathematik_Abitur":
    {    
	   myWin = null;
	   winName = parent.MyNavigation.myPassMathematik_Abitur;
	   winName = winName+String(Math.floor(Math.random()*1000));
       myWin = window.open(myUrl,winName,"scrollbars=yes,menubar=yes,toolbar=yes,status=yes,resizable=yes,width=620,height=440"); 
	}
    break;	
    case "Physik_Abitur":
    {    
	   myWin = null;
	   winName = parent.MyNavigation.myPassPhysik_Abitur;
	   winName = winName+String(Math.floor(Math.random()*1000));
       myWin = window.open(myUrl,winName,"scrollbars=yes,menubar=yes,toolbar=yes,status=yes,resizable=yes,width=620,height=440"); 
	}
    break;				
    default:
      parent.MyContent.document.location.href="titel.epl";
    break; 
  } 
  }

var myLexInfo =''; 

function MyLexInfo()
{	  
  var infoText1 = "<span class=\"";
      infoText2 = "\">";
	  infoText3 = "</span> ";
	  
  if (parent.MyNavigation.myPassAstronomie && parent.MyNavigation.myPassAstronomie.length == 8 && parent.MyNavigation.myPassAstronomie.charAt(3) == 'n')
    myLexInfo = myLexInfo + infoText1 + parent.MyNavigation.myInfoAstronomie + infoText2 + parent.MyNavigation.myInfoAstronomie + infoText3;
	   
  if (parent.MyNavigation.myPassBiologie && parent.MyNavigation.myPassBiologie.length == 6 && parent.MyNavigation.myPassBiologie.charAt(2) == 'e')
    myLexInfo = myLexInfo + infoText1 + parent.MyNavigation.myInfoBiologie + infoText2 + parent.MyNavigation.myInfoBiologie + infoText3;  
	 	
  if (parent.MyNavigation.myPassChemie && parent.MyNavigation.myPassChemie.length == 10 && parent.MyNavigation.myPassChemie.charAt(4) == 'r')
    myLexInfo = myLexInfo + infoText1 + parent.MyNavigation.myInfoChemie + infoText2 + parent.MyNavigation.myInfoChemie + infoText3; 
	  
  if (parent.MyNavigation.myPassDeutsch && parent.MyNavigation.myPassDeutsch.length == 8 && parent.MyNavigation.myPassDeutsch.charAt(2) == 'j')
    myLexInfo = myLexInfo + infoText1 + parent.MyNavigation.myInfoDeutsch + infoText2 + parent.MyNavigation.myInfoDeutsch + infoText3; 
	 
  if (parent.MyNavigation.myPassGeographie && parent.MyNavigation.myPassGeographie.length == 10 && parent.MyNavigation.myPassGeographie.charAt(5) == 'n')
    myLexInfo = myLexInfo + infoText1 + parent.MyNavigation.myInfoGeographie + infoText2 + parent.MyNavigation.myInfoGeographie + infoText3;  	
		
  if (parent.MyNavigation.myPassInformatik && parent.MyNavigation.myPassInformatik.length == 5 && parent.MyNavigation.myPassInformatik.charAt(1) == 'a')
    myLexInfo = myLexInfo + infoText1 + parent.MyNavigation.myInfoInformatik + infoText2 + parent.MyNavigation.myInfoInformatik + infoText3;  
	 
  if (parent.MyNavigation.myPassLiteratur && parent.MyNavigation.myPassLiteratur.length == 7 && parent.MyNavigation.myPassLiteratur.charAt(2) == 'v')
    myLexInfo = myLexInfo + infoText1 + parent.MyNavigation.myInfoLiteratur + infoText2 + parent.MyNavigation.myInfoLiteratur + infoText3;   
	
  if (parent.MyNavigation.myPassMathematik && parent.MyNavigation.myPassMathematik.length == 7 && parent.MyNavigation.myPassMathematik.charAt(2) == 'a')
    myLexInfo = myLexInfo + infoText1 + parent.MyNavigation.myInfoMathematik + infoText2 + parent.MyNavigation.myInfoMathematik + infoText3;  
	 	
  if (parent.MyNavigation.myPassPhysik && parent.MyNavigation.myPassPhysik.length == 9 && parent.MyNavigation.myPassPhysik.charAt(4) == 'u')
    myLexInfo = myLexInfo + infoText1 + parent.MyNavigation.myInfoPhysik + infoText2 + parent.MyNavigation.myInfoPhysik + infoText3;   	
	
  if (parent.MyNavigation.myPassWirtschaft && parent.MyNavigation.myPassWirtschaft.length == 6 && parent.MyNavigation.myPassWirtschaft.charAt(2) == 'n')
    myLexInfo = myLexInfo + infoText1 + parent.MyNavigation.myInfoWirtschaft + infoText2 + parent.MyNavigation.myInfoWirtschaft + infoText3;  
	 
  if (parent.MyNavigation.myPassTechnik && parent.MyNavigation.myPassTechnik.length == 8 && parent.MyNavigation.myPassTechnik.charAt(3) == 'r')
    myLexInfo = myLexInfo + infoText1 + parent.MyNavigation.myInfoTechnik + infoText2 + parent.MyNavigation.myInfoTechnik + infoText3; 
	
  if (parent.MyNavigation.myPassGeschichte && parent.MyNavigation.myPassGeschichte.length == 6 && parent.MyNavigation.myPassGeschichte.charAt(1) == 'p')
    myLexInfo = myLexInfo + infoText1 + parent.MyNavigation.myInfoGeschichte + infoText2 + parent.MyNavigation.myInfoGeschichte + infoText3;		
	
  if (parent.MyNavigation.myPassInformatik_Abitur && parent.MyNavigation.myPassInformatik_Abitur.length == 7 && parent.MyNavigation.myPassInformatik_Abitur.charAt(2) == 't')
    myLexInfo = myLexInfo + infoText1 + parent.MyNavigation.myInfoInformatik_Abitur + infoText2 + parent.MyNavigation.myInfoInformatik_Abitur + infoText3;
	
  if (parent.MyNavigation.myPassMathematik_Abitur && parent.MyNavigation.myPassMathematik_Abitur.length == 7 && parent.MyNavigation.myPassMathematik_Abitur.charAt(2) == 'r')
    myLexInfo = myLexInfo + infoText1 + parent.MyNavigation.myInfoMathematik_Abitur + infoText2 + parent.MyNavigation.myInfoMathematik_Abitur + infoText3;	
	
  if (parent.MyNavigation.myPassPhysik_Abitur && parent.MyNavigation.myPassPhysik_Abitur.length == 7 && parent.MyNavigation.myPassPhysik_Abitur.charAt(4) == 't')
    myLexInfo = myLexInfo + infoText1 + parent.MyNavigation.myInfoPhysik_Abitur + infoText2 + parent.MyNavigation.myInfoPhysik_Abitur + infoText3;				
}

/* -- Access New -- */

function MyAccessNew(myLex)
{ 
	if ((myLex.indexOf('Planeten')) > (-1))
	{ 
		parent.MyNavigation.myPassAstronomie = "Planeten";	
		parent.MyNavigation.myInfoAstronomie = "Astronomie";
	}		
	if ((myLex.indexOf('Krebse')) > (-1))
	{ 
		parent.MyNavigation.myPassBiologie = "Krebse";	
		parent.MyNavigation.myInfoBiologie = "Biologie";
	}		
	if ((myLex.indexOf('Experiment')) > (-1))
	{ 
		parent.MyNavigation.myPassChemie = "Experiment";	
		parent.MyNavigation.myInfoChemie = "Chemie";
	}	
	if ((myLex.indexOf('Adjektiv')) > (-1))
	{ 
		parent.MyNavigation.myPassDeutsch = "Adjektiv";	
		parent.MyNavigation.myInfoDeutsch = "Deutsch";
	}	
	if ((myLex.indexOf('Kontinente')) > (-1))
	{ 
		parent.MyNavigation.myPassGeographie = "Kontinente";	
		parent.MyNavigation.myInfoGeographie = "Geographie";
	}			
	if ((myLex.indexOf('Datum')) > (-1))
	{ 
		parent.MyNavigation.myPassInformatik = "Datum";	
		parent.MyNavigation.myInfoInformatik = "Informatik";
	}		
	if ((myLex.indexOf('Novelle')) > (-1))
	{ 
		parent.MyNavigation.myPassLiteratur = "Novelle";	
		parent.MyNavigation.myInfoLiteratur = "Literatur";
	}		
	if ((myLex.indexOf('Quadrat')) > (-1))
	{ 
		parent.MyNavigation.myPassMathematik = "Quadrat";	
		parent.MyNavigation.myInfoMathematik = "Mathematik";
	}	
	if ((myLex.indexOf('Diffusion')) > (-1))
	{ 
		parent.MyNavigation.myPassPhysik = "Diffusion";	
		parent.MyNavigation.myInfoPhysik = "Physik";
	}	
	if ((myLex.indexOf('Getriebe')) > (-1))
	{ 
		parent.MyNavigation.myPassTechnik = "Getriebe";	
		parent.MyNavigation.myInfoTechnik = "Technik";
	}	
	if ((myLex.indexOf('Handel')) > (-1))
	{ 
		parent.MyNavigation.myPassWirtschaft = "Handel";	
		parent.MyNavigation.myInfoWirtschaft = "Wirtschaft";
	}	
	if ((myLex.indexOf('Epoche')) > (-1))
	{ 
		parent.MyNavigation.myPassGeschichte = "Epoche";	
		parent.MyNavigation.myInfoGeschichte = "Geschichte";
	}	
	if ((myLex.indexOf('Automat')) > (-1))
	{ 
		parent.MyNavigation.myPassInformatik_Abitur = "Automat";	
		parent.MyNavigation.myInfoInformatik_Abitur = "Informatik Abitur";
	}	
	if ((myLex.indexOf('Parabel')) > (-1))
	{ 
		parent.MyNavigation.myPassMathematik_Abitur = "Parabel";	
		parent.MyNavigation.myInfoMathematik_Abitur = "Mathematik Abitur";
	}	
	if ((myLex.indexOf('Quanten')) > (-1))
	{ 
		parent.MyNavigation.myPassPhysik_Abitur = "Quanten";	
		parent.MyNavigation.myInfoPhysik_Abitur = "Physik Abitur";
	}				
} 


/* -- Access -- */

function MyAccess()
{ 
  var myLex = document.MyForm.MyArea.options.selectedIndex;
  switch(myLex)
  {
    case 1:
    {    
	     if (document.MyForm.myPassword.value == 'Planeten')
		 {
	       parent.MyNavigation.myPassAstronomie = document.MyForm.myPassword.value;	
	       parent.MyNavigation.myInfoAstronomie = "Astronomie";
		 }
		 else
		 {
		   if (parent.MyNavigation.myPassAstronomie == 'Planeten')
		     alert('Das Lexikon Astronomie ist bereits freigeschaltet.')
		   else	 
		     alert('Das eingegebene Zugangskennwort \"'+document.MyForm.myPassword.value+'\" ist leider falsch!\n Du findest das richtige hinten im Umschlag deines Buchs.\n Bitte beachte auch die Gross- und Kleinschreibung.');
		 }  
    }
	break;
    case 2:
    {    
	     if (document.MyForm.myPassword.value == 'Krebse')
		 {
	       parent.MyNavigation.myPassBiologie = document.MyForm.myPassword.value;	
	       parent.MyNavigation.myInfoBiologie = "Biologie"; 
		 }
		 else
		 {
		   if (parent.MyNavigation.myPassBiologie == 'Krebse')
		     alert('Das Lexikon Biologie ist bereits freigeschaltet.')
		   else	 
		     alert('Das eingegebene Zugangskennwort \"'+document.MyForm.myPassword.value+'\" ist leider falsch!\n Du findest das richtige hinten im Umschlag deines Buchs.\n Bitte beachte auch die Gross- und Kleinschreibung.');
		 }  
    }
	break;
    case 3:
    {    
	     if (document.MyForm.myPassword.value == 'Experiment')
		 {
	       parent.MyNavigation.myPassChemie = document.MyForm.myPassword.value;	
	       parent.MyNavigation.myInfoChemie= "Chemie";
		 }
		 else
		 {
		   if (parent.MyNavigation.myPassChemie == 'Experiment')
		     alert('Das Lexikon Chemie ist bereits freigeschaltet.')
		   else	 
		     alert('Das eingegebene Zugangskennwort \"'+document.MyForm.myPassword.value+'\" ist leider falsch!\n Du findest das richtige hinten im Umschlag deines Buchs.\n Bitte beachte auch die Gross- und Kleinschreibung.');
		 }  
    }
	break;
    case 4:
    {    
	     if (document.MyForm.myPassword.value == 'Adjektiv')
		 {
	       parent.MyNavigation.myPassDeutsch = document.MyForm.myPassword.value;	
	       parent.MyNavigation.myInfoDeutsch= "Deutsch";
		 }
		 else
		 {
		   if (parent.MyNavigation.myPassDeutsch == 'Adjektiv')
		     alert('Das Lexikon Deutsch ist bereits freigeschaltet.')
		   else	 
		     alert('Das eingegebene Zugangskennwort \"'+document.MyForm.myPassword.value+'\" ist leider falsch!\n Du findest das richtige hinten im Umschlag deines Buchs.\n Bitte beachte auch die Gross- und Kleinschreibung.');
		 }  
    }
	break;
    case 5:
    {    
	     if (document.MyForm.myPassword.value == 'Kontinente')
		 {
	       parent.MyNavigation.myPassGeographie = document.MyForm.myPassword.value;	
	       parent.MyNavigation.myInfoGeographie= "Geographie";
		 }
		 else
		 {
		   if (parent.MyNavigation.myPassGeographie == 'Kontinente')
		     alert('Das Lexikon Geographie ist bereits freigeschaltet.')
		   else	 
		     alert('Das eingegebene Zugangskennwort \"'+document.MyForm.myPassword.value+'\" ist leider falsch!\n Du findest das richtige hinten im Umschlag deines Buchs.\n Bitte beachte auch die Gross- und Kleinschreibung.');
		 }  
    }
	break;		
    case 6:
    {    
	     if (document.MyForm.myPassword.value == 'Epoche')
		 {
	       parent.MyNavigation.myPassGeschichte = document.MyForm.myPassword.value;	
	       parent.MyNavigation.myInfoGeschichte = "Geschichte";
		 }  
		 else
		 {
		   if (parent.MyNavigation.myPassGeschichte == 'Epoche')
		     alert('Das Lexikon Geschichte ist bereits freigeschaltet.')
		   else	 
		     alert('Das eingegebene Zugangskennwort \"'+document.MyForm.myPassword.value+'\" ist leider falsch!\n Du findest das richtige hinten im Umschlag deines Buchs.\n Bitte beachte auch die Gross- und Kleinschreibung.');
		 }    
    }
    break;		
    case 7:
    {    
	     if (document.MyForm.myPassword.value == 'Datum')
		 {
	       parent.MyNavigation.myPassInformatik = document.MyForm.myPassword.value;	
	       parent.MyNavigation.myInfoInformatik = "Informatik";
		 }
		 else
		 {
		   if (parent.MyNavigation.myPassInformatik == 'Datum')
		     alert('Das Lexikon Informatik ist bereits freigeschaltet.')
		   else	 
		     alert('Das eingegebene Zugangskennwort \"'+document.MyForm.myPassword.value+'\" ist leider falsch!\n Du findest das richtige hinten im Umschlag deines Buchs.\n Bitte beachte auch die Gross- und Kleinschreibung.');
		 }  
    }
    break;
    case 8:
    {    
	     if (document.MyForm.myPassword.value == 'Automat')
		 {
	       parent.MyNavigation.myPassInformatik_Abitur = document.MyForm.myPassword.value;	
	       parent.MyNavigation.myInfoInformatik_Abitur = "Informatik Abitur";
		 }  
		 else
		 {
		   if (parent.MyNavigation.myPassInformatik_Abitur == 'Automat')
		     alert('Das Lexikon Informatik Abitur ist bereits freigeschaltet.')
		   else	 
		     alert('Das eingegebene Zugangskennwort \"'+document.MyForm.myPassword.value+'\" ist leider falsch!\n Du findest das richtige hinten im Umschlag deines Buchs.\n Bitte beachte auch die Gross- und Kleinschreibung.');
		 }    
    }
    break;		
    case 9:
    {    
	      if (document.MyForm.myPassword.value == 'Novelle')
		 {
	       parent.MyNavigation.myPassLiteratur = document.MyForm.myPassword.value;	
	       parent.MyNavigation.myInfoLiteratur = "Literatur";
		 }  
		 else
		 {
		   if (parent.MyNavigation.myPassLiteratur == 'Novelle')
		     alert('Das Lexikon Literatur ist bereits freigeschaltet.')
		   else	 
		     alert('Das eingegebene Zugangskennwort \"'+document.MyForm.myPassword.value+'\" ist leider falsch!\n Du findest das richtige hinten im Umschlag deines Buchs.\n Bitte beachte auch die Gross- und Kleinschreibung.');
		 }  
    }
	break;	
    case 10:
    {    
	      if (document.MyForm.myPassword.value == 'Quadrat')
		 {
	       parent.MyNavigation.myPassMathematik = document.MyForm.myPassword.value;	
	       parent.MyNavigation.myInfoMathematik = "Mathematik";
		 }  
		 else
		 {
		   if (parent.MyNavigation.myPassMathematik == 'Quadrat')
		     alert('Das Lexikon Mathematik ist bereits freigeschaltet.')
		   else	 
		     alert('Das eingegebene Zugangskennwort \"'+document.MyForm.myPassword.value+'\" ist leider falsch!\n Du findest das richtige hinten im Umschlag deines Buchs.\n Bitte beachte auch die Gross- und Kleinschreibung.');
		 }  
    }
	break;
    case 11:
    {    
	     if (document.MyForm.myPassword.value == 'Parabel')
		 {
	       parent.MyNavigation.myPassMathematik_Abitur = document.MyForm.myPassword.value;	
	       parent.MyNavigation.myInfoMathematik_Abitur = "Mathematik Abitur";
		 }  
		 else
		 {
		   if (parent.MyNavigation.myPassMathematik_Abitur == 'Parabel')
		     alert('Das Lexikon Mathematik Abitur ist bereits freigeschaltet.')
		   else	 
		     alert('Das eingegebene Zugangskennwort \"'+document.MyForm.myPassword.value+'\" ist leider falsch!\n Du findest das richtige hinten im Umschlag deines Buchs.\n Bitte beachte auch die Gross- und Kleinschreibung.');
		 }    
    }
    break;		
    case 12:
    {    
	     if (document.MyForm.myPassword.value == 'Diffusion')
		 {
	       parent.MyNavigation.myPassPhysik = document.MyForm.myPassword.value;	
	       parent.MyNavigation.myInfoPhysik = "Physik";
		 }  
		 else
		 {
		   if (parent.MyNavigation.myPassPhysik == 'Diffusion')
		     alert('Das Lexikon Physik ist bereits freigeschaltet.')
		   else	 
		     alert('Das eingegebene Zugangskennwort \"'+document.MyForm.myPassword.value+'\" ist leider falsch!\n Du findest das richtige hinten im Umschlag deines Buchs.\n Bitte beachte auch die Gross- und Kleinschreibung.');
		 }  
    }
	break;
    case 13:
    {    
	     if (document.MyForm.myPassword.value == 'Quanten')
		 {
	       parent.MyNavigation.myPassPhysik_Abitur = document.MyForm.myPassword.value;	
	       parent.MyNavigation.myInfoPhysik_Abitur = "Physik Abitur";
		 }  
		 else
		 {
		   if (parent.MyNavigation.myPassPhysik_Abitur == 'Quanten')
		     alert('Das Lexikon Physik Abitur ist bereits freigeschaltet.')
		   else	 
		     alert('Das eingegebene Zugangskennwort \"'+document.MyForm.myPassword.value+'\" ist leider falsch!\n Du findest das richtige hinten im Umschlag deines Buchs.\n Bitte beachte auch die Gross- und Kleinschreibung.');
		 }    
    }
    break;		
    case 14:
    {    
	     if (document.MyForm.myPassword.value == 'Getriebe')
		 {
	       parent.MyNavigation.myPassTechnik = document.MyForm.myPassword.value;	
	       parent.MyNavigation.myInfoTechnik = "Technik";
		 }  
		 else
		 {
		   if (parent.MyNavigation.myPassTechnik == 'Getriebe')
		     alert('Das Lexikon Technik ist bereits freigeschaltet.')
		   else	 
		     alert('Das eingegebene Zugangskennwort \"'+document.MyForm.myPassword.value+'\" ist leider falsch!\n Du findest das richtige hinten im Umschlag deines Buchs.\n Bitte beachte auch die Gross- und Kleinschreibung.');
		 }    
    }
	break;
    case 15:
    {    
	     if (document.MyForm.myPassword.value == 'Handel')
		 {
	       parent.MyNavigation.myPassWirtschaft = document.MyForm.myPassword.value;	
	       parent.MyNavigation.myInfoWirtschaft = "Wirtschaft";
		 }  
		 else
		 {
		   if (parent.MyNavigation.myPassWirtschaft == 'Handel')
		     alert('Das Lexikon Wirtschaft ist bereits freigeschaltet.')
		   else	 
		     alert('Das eingegebene Zugangskennwort \"'+document.MyForm.myPassword.value+'\" ist leider falsch!\n Du findest das richtige hinten im Umschlag deines Buchs.\n Bitte beachte auch die Gross- und Kleinschreibung.');
		 }    
    }
    break;				
    default:
      alert('Du hast vergessen ein Fach auszuwaehlen!\n Bitte waehle zuerst ein Lexikon aus.\n Gib dann das Zugangskennwort neu ein.');
    break;
  }	
}

/*-- Empfhelung --*/
function MyNewLink(myLink)
{ 
   myWin = null;
   winName = '';
   winName = winName+String(Math.floor(Math.random()*1000));
   myWin = window.open(myLink,winName,"scrollbars=yes,menubar=yes,toolbar=yes,status=yes,resizable=yes,width=600,height=440"); 
} 

/*-- Druckansicht --*/

var MyHeadInfo = 'Hallo <br>'

function BildInfo()
{	
 if (parent.frames.length != 0)
 {
   MyHeadInfo = '<img src="../gif/leer.gif" height="1">'
 }  
 else
 {
   MyHeadInfo = '<img src="../gif/printpic.gif">'
 }
}   

function InhaltInfo()
{	
 if (parent.frames.length != 0)
 {
   MyHeadInfo = '<img src="../gif/leer.gif" height="1">'
 }  
 else
 {
   MyHeadInfo = '<img src="../gif/printpic.gif">'
 }
} 

/*-- ende --*/
