 function aufbau(x)
 {

 /* Aufbau von Stücke */

 document.writeln("<div id='b' class='stuecke_menu' >");
 document.writeln("<table border='0' frame='void' cellspacing='0' cellpadding='0'  width='115'>");
 document.writeln("<tr>");

 if (x=="st")
 document.writeln("<td width='115' height='20' ><a href=../stuecke/goldig.htm' onmouseover=\"do_check('bx')\"><img src='../menu/bilder/stuecke_kurz_hell.jpg'  border='0' alt='Stücke'  onMouseover=\"do_check('bx')\"></a></td>");
 else
 document.writeln("<td width='115' height='20'><a href='../stuecke/goldig.htm' onmouseover=\"do_check('bx')\"><img src='../menu/bilder/stuecke_kurz.jpg'  border='0' alt='Stücke' onmouseover=\"do_check('bx')\"></a></td>");

 document.writeln("</tr>");
 document.writeln("</table>");
 document.writeln("</div>");

 document.writeln("<div id='bx' class='submenu' >");
 document.writeln("<table cellspacing='0' cellpadding='0' frame='void' width='250' border='0'");
 document.writeln("onmouseover=\"do_check('bx')\" onmouseout=\"do_check('b')\">");
 document.writeln("<tr>");
 document.writeln("<td><table  frame='void' cellpadding='0' cellspacing='0' border='0'>");
 document.writeln("<tr><td><img src='../menu/bilder/stuecke_kurz.jpg' border='0' alt='Stücke'></td></tr>");
 document.writeln("<tr><td><a href='../stuecke/goldig.htm' onmouseover=\"do_check('bx')\" onmouseout=\"do_check('b')\"><img src='../menu/bilder/goldig.jpg' border='0' alt='s goldig Härz'></a></td></tr>");
 document.writeln("<tr><td><a href='../stuecke/pfyffe.htm' onmouseover=\"do_check('bx')\" onmouseout=\"do_check('b')\">");
 document.writeln("<img src='../menu/bilder/pfyffe.jpg' border='0' alt='Mit Pfyffe und Trumpeete'></a></td></tr>");
 document.writeln("<tr><td><a href='../stuecke/tick.htm' onmouseover=\"do_check('bx')\" onmouseout=\"do_check('b')\">");
 document.writeln("<img src='../menu/bilder/tick.jpg' border='0' alt='Tick-Tack Schabernack'></a></td></tr>");
 document.writeln("<tr><td><a href='../stuecke/tierparade.htm' onmouseover=\"do_check('bx')\" onmouseout=\"do_check('b')\">");
 document.writeln("<img src='../menu/bilder/tierparade.jpg' border='0' alt='Kasperlis lustige Tierparade'></a></td></tr>");
 document.writeln("<tr><td><a href='../stuecke/tueflisch.htm' onmouseover=\"do_check('bx')\" onmouseout=\"do_check('b')\">");
 document.writeln("<img src='../menu/bilder/tueflisch.jpg' border='0' alt='En tüüflische Plan'></a></td></tr>");
 document.writeln("<tr><td><a href='../stuecke/hotzenplotz.htm' onmouseover=\"do_check('bx')\" onmouseout=\"do_check('b')\">");
 document.writeln("<img src='../menu/bilder/hotzenplotz.jpg' border='0' alt='De Räuber Hotzenplotz'></a></td></tr>");

 document.writeln("<tr><td><a href='../stuecke/prinzaessin.htm' onmouseover=\"do_check('bx')\" onmouseout=\"do_check('b')\">");
 document.writeln("<img src='../menu/bilder/prinzaessin.jpg' border='0' alt='D Prinzässin hät Geburtstag'></a></td></tr>");


 document.writeln("</table>");
 document.writeln("</td></tr></table>");
 document.writeln("</div>");

 /* Aufbau von Theater */
 document.writeln("<div id='a' class='theater_menu'>");
 document.writeln("<table frame='void' cellspacing='0' cellpadding='0' border='0'>");
 document.writeln("<tr><td height='20' width='115'>");

 if (document.layers)
	document.writeln("<a href='../theater/homexx.htm' onmouseover=\"do_check2('ax')\" onmouseout=\"do_check2('a')\">");
 else
 	document.writeln("<a href='../theater/homexx.htm'>");
 
 if (x=="th")
 document.writeln("<img src='../menu/bilder/theater_hell.jpg' border='0' alt='Theater' width='115' onmouseover=\"do_check2('ax')\">");
 else
 document.writeln("<img src='../menu/bilder/theater.jpg' border='0' alt='Theater' width='115' onmouseover=\"do_check2('ax')\">");
 document.writeln("</a></td></tr></table>");
 document.writeln("</div>");

 document.writeln("<div id='ax' class='submenu2' >");
 document.writeln("<table cellspacing='0' cellpadding='0' frame='void' width='115' border='0'");
 document.writeln("onmouseover=\"do_check2('ax')\" onmouseout=\"do_check2('a')\">");
 document.writeln("<tr><td><a href='../theater/home.htm' onmouseover=\"do_check2('ax')\" onmouseout=\"do_check2('a')\"><img src='../menu/bilder/theater.jpg' border='0' alt='Theater'></a></td></tr>");
 document.writeln("<tr><td><a href='../theater/team.htm' onmouseover=\"do_check2('ax')\" onmouseout=\"do_check2('a')\"><img src='../menu/bilder/team.jpg' border='0' alt='Team'></a></td></tr>");
 document.writeln("</table>");
 document.writeln("</div>");


 /* Aufbau von Bühne */
 document.writeln("<div id='m3' class='buehne_menu'>");
 if (x=="bu")
 document.writeln("<a href='../technik/organisation.htm'><img src='../menu/bilder/buehne_hell.jpg' border='0' alt='Bühne' width='115' height='20'></a>");
 else
 document.writeln("<a href='../technik/organisation.htm'><img src='../menu/bilder/buehne.jpg' border='0' alt='Bühne' width='115' height='20'></a>");
 document.writeln("</div>");

 /* Aufbau von Spielplan */
 document.writeln("<div id='m3' class='plan_menu'>");
 if (x=="sp")
 document.writeln("<a href='../spielplan/plan.htm'><img src='../menu/bilder/spielplan_hell.jpg' border='0' alt='Spielplan' width='115' height='20'></a>");
 else
 document.writeln("<a href='../spielplan/plan.htm'><img src='../menu/bilder/spielplan.jpg' border='0' alt='Spielplan' width='115' height='20'></a>");
 document.writeln("</div>");
 
 /* Endstück */
 document.writeln("<div id='m2' class='rest_menu'>");
 document.writeln("<img src='../menu/bilder/balken_rechts.jpg' border='0' width='20' height='20'></a>");
 document.writeln("</div>");



 }
