<!-- Gisela's Weddings Las Vegas - Heiraten einmal anders   -->
<!-- Peter Lammert @ Lammbronski Studios Dortmund, Germany  -->

<!-- ========== Namen des Browsers ermitteln (erster Buchstabe) ========== -->

function GetBrowserName()
{
 return navigator.appName.substring(0,1);  
}

<!-- ========== Text in Statuszeile des Browsers ausgeben ========== -->

function StatusText(Text)
{
 window.status = Text;
<!-- if(window.statusbar.visible == true) window.defaultStatus = Text; -->
 return true; 
}

<!-- ========== Datum der letzten Änderung eines Dokuments ausgeben ========== -->

function show_docdate()
{
  var Monatsname = ["Januar","Februar","M&auml;rz","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"];
  var Tagname = ["Sonntag", "Montag", "Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"];
  var DocDate = new Date();
  var DocYear;

  DocDate.setTime(Date.parse(document.lastModified)); 
  DocYear = DocDate.getYear();
  if (DocYear < 2001) DocYear = DocYear - 100 + 2000;
  document.writeln("Letzte Aktualisierung am " + Tagname[DocDate.getDay()] + ", dem " + DocDate.getDate() + ". " + Monatsname[DocDate.getMonth()] + " " + DocYear);
}

<!-- ========== Laden einer Grafik ueber den Namen ========== -->

function load_img(piccount, picname) 
{
  document.images[piccount].src = picname;
  return;
} 

<!-- ========== Laden einer Grafik ueber Bild- und Menuenummer ========== -->

function load_img_byno(prefix, img_nr, menu_nr) 
{
       if(menu_nr == 10) document.images[img_nr].src = prefix + './images/mnu_ueberblick_s.gif';
  else if(menu_nr == 11) document.images[img_nr].src = prefix + './images/mnu_ueberblick_r.gif';
  else if(menu_nr == 12) document.images[img_nr].src = prefix + './images/mnu_ueberblick_b.gif';

  else if(menu_nr == 20) document.images[img_nr].src = prefix + './images/mnu_kontakt_s.gif';
  else if(menu_nr == 21) document.images[img_nr].src = prefix + './images/mnu_kontakt_r.gif';
  else if(menu_nr == 22) document.images[img_nr].src = prefix + './images/mnu_kontakt_b.gif';

  else if(menu_nr == 30) document.images[img_nr].src = prefix + './images/mnu_hochzeiten_s.gif';
  else if(menu_nr == 31) document.images[img_nr].src = prefix + './images/mnu_hochzeiten_r.gif';
  else if(menu_nr == 32) document.images[img_nr].src = prefix + './images/mnu_hochzeiten_b.gif';
  else if(menu_nr == 33) document.images[img_nr].src = prefix + './images/mnu_hochzeiten_b2.gif';

  else if(menu_nr == 40) document.images[img_nr].src = prefix + './images/mnu_specials_s.gif';
  else if(menu_nr == 41) document.images[img_nr].src = prefix + './images/mnu_specials_r.gif';
  else if(menu_nr == 42) document.images[img_nr].src = prefix + './images/mnu_specials_b.gif';

  else if(menu_nr == 50) document.images[img_nr].src = prefix + './images/mnu_jubilaeen_s.gif';
  else if(menu_nr == 51) document.images[img_nr].src = prefix + './images/mnu_jubilaeen_r.gif';
  else if(menu_nr == 52) document.images[img_nr].src = prefix + './images/mnu_jubilaeen_b.gif';

  else if(menu_nr == 60) document.images[img_nr].src = prefix + './images/mnu_fragen_s.gif';
  else if(menu_nr == 61) document.images[img_nr].src = prefix + './images/mnu_fragen_r.gif';
  else if(menu_nr == 62) document.images[img_nr].src = prefix + './images/mnu_fragen_b.gif';

  else if(menu_nr == 70) document.images[img_nr].src = prefix + './images/mnu_gaestebuch_s.gif';
  else if(menu_nr == 71) document.images[img_nr].src = prefix + './images/mnu_gaestebuch_r.gif';
  else if(menu_nr == 72) document.images[img_nr].src = prefix + './images/mnu_gaestebuch_b.gif';

  else if(menu_nr == 80) document.images[img_nr].src = prefix + './images/mnu_klassisch_s.gif';
  else if(menu_nr == 81) document.images[img_nr].src = prefix + './images/mnu_klassisch_r.gif';
  else if(menu_nr == 82) document.images[img_nr].src = prefix + './images/mnu_klassisch_b.gif';

  else if(menu_nr == 90) document.images[img_nr].src = prefix + './images/mnu_themen_s.gif';
  else if(menu_nr == 91) document.images[img_nr].src = prefix + './images/mnu_themen_r.gif';
  else if(menu_nr == 92) document.images[img_nr].src = prefix + './images/mnu_themen_b.gif';

  else if(menu_nr == 100) document.images[img_nr].src = prefix + './images/mnu_heli_s.gif';
  else if(menu_nr == 101) document.images[img_nr].src = prefix + './images/mnu_heli_r.gif';
  else if(menu_nr == 102) document.images[img_nr].src = prefix + './images/mnu_heli_b.gif';

  else if(menu_nr == 110) document.images[img_nr].src = prefix + './images/mnu_erinnerungen_s.gif';
  else if(menu_nr == 111) document.images[img_nr].src = prefix + './images/mnu_erinnerungen_r.gif';
  else if(menu_nr == 112) document.images[img_nr].src = prefix + './images/mnu_erinnerungen_b.gif';

  else if(menu_nr == 120) document.images[img_nr].src = prefix + './images/mnu_brautkleider_s.gif';
  else if(menu_nr == 121) document.images[img_nr].src = prefix + './images/mnu_brautkleider_r.gif';
  else if(menu_nr == 122) document.images[img_nr].src = prefix + './images/mnu_brautkleider_b.gif';

  else if(menu_nr == 130) document.images[img_nr].src = prefix + './images/mnu_kosmetik_s.gif';
  else if(menu_nr == 131) document.images[img_nr].src = prefix + './images/mnu_kosmetik_r.gif';
  else if(menu_nr == 132) document.images[img_nr].src = prefix + './images/mnu_kosmetik_b.gif';

  else if(menu_nr == 140) document.images[img_nr].src = prefix + './images/mnu_ringe_s.gif';
  else if(menu_nr == 141) document.images[img_nr].src = prefix + './images/mnu_ringe_r.gif';
  else if(menu_nr == 142) document.images[img_nr].src = prefix + './images/mnu_ringe_b.gif';

  else if(menu_nr == 150) document.images[img_nr].src = prefix + './images/mnu_elvis_s.gif';
  else if(menu_nr == 151) document.images[img_nr].src = prefix + './images/mnu_elvis_r.gif';
  else if(menu_nr == 152) document.images[img_nr].src = prefix + './images/mnu_elvis_b.gif';

  else if(menu_nr == 160) document.images[img_nr].src = prefix + './images/mnu_harley_s.gif';
  else if(menu_nr == 161) document.images[img_nr].src = prefix + './images/mnu_harley_r.gif';
  else if(menu_nr == 162) document.images[img_nr].src = prefix + './images/mnu_harley_b.gif';

  else if(menu_nr == 170) document.images[img_nr].src = prefix + './images/mnu_neuer_eintrag_s.gif';
  else if(menu_nr == 171) document.images[img_nr].src = prefix + './images/mnu_neuer_eintrag_r.gif';
  else if(menu_nr == 172) document.images[img_nr].src = prefix + './images/mnu_neuer_eintrag_b.gif';

  else if(menu_nr == 180) document.images[img_nr].src = prefix + './images/mnu_ansehen_s.gif';
  else if(menu_nr == 181) document.images[img_nr].src = prefix + './images/mnu_ansehen_r.gif';
  else if(menu_nr == 182) document.images[img_nr].src = prefix + './images/mnu_ansehen_b.gif';

  else if(menu_nr == 190) document.images[img_nr].src = prefix + './images/mnu_stories_s.gif';
  else if(menu_nr == 191) document.images[img_nr].src = prefix + './images/mnu_stories_r.gif';
  else if(menu_nr == 192) document.images[img_nr].src = prefix + './images/mnu_stories_b.gif';

  else if(menu_nr == 900) document.images[img_nr].src = prefix + './images/mnu_documents_s.gif';
  else if(menu_nr == 901) document.images[img_nr].src = prefix + './images/mnu_documents_r.gif';
  else if(menu_nr == 902) document.images[img_nr].src = prefix + './images/mnu_documents_b.gif';

  else if(menu_nr == 990) document.images[img_nr].src = prefix + './images/mnu_nach_oben_s.gif';
  else if(menu_nr == 991) document.images[img_nr].src = prefix + './images/mnu_nach_oben_r.gif';
} 

<!-- ========== Seite aus fremden frames "befreien" ========== -->

function framebreaker()
{
  if (top.location != self.location) 
  {
    top.location = self.location.href;
  }
}

<!-- ========== Anzeigen des Kopflogos ========== -->

function show_gwlogo(prefix)
{
  framebreaker();

<!--WEIHN   document.writeln('<a name="#top"></a><img src="' + prefix+ './images/dot_clear.gif" border=0 height=20><table border=0 cellpadding=0 cellspacing=0 width=480><tr><td width=70><br>&nbsp;</td><td align=left valign=top width=181><a href="' + prefix+ './kontakt.html" style="text-decoration:none"><img src="' + prefix+ './images/gw_logo_1.gif" align=top width=181 height=60 border=0 vspace=5></a></td><td align=left valign=top width=229><a href="' + prefix+ './kontakt.html" style="text-decoration:none"><img src="' + prefix+ './images/gw_logo_2_xmas.gif" align=top width=225 height=114 border=0 vspace=5 alt="Logo: Gisela&acute;s Weddings Las Vegas"></a></td><td><a href="' + prefix+ './documents.html" style="text-decoration:none"><img src="' + prefix+ './images/info_registrierung_xmas.gif" border=0 width=350 height=188></a></td></tr></table><img src="' + prefix+ './images/dot_clear.gif" border=0 height=20>'); -->
<!--OSTERN  document.writeln('<a name="#top"></a><img src="' + prefix+ './images/dot_clear.gif" border=0 height=20><table border=0 cellpadding=0 cellspacing=0 width=480><tr><td width=70><br>&nbsp;</td><td align=left valign=top width=181><a href="' + prefix+ './kontakt.html" style="text-decoration:none"><img src="' + prefix+ './images/gw_logo_1.gif" align=top width=181 height=60 border=0 vspace=5></a></td><td align=left valign=top width=229><a href="' + prefix+ './kontakt.html" style="text-decoration:none"><img src="' + prefix+ './images/gw_logo_2.gif" align=top width=225 height=114 border=0 vspace=5 alt="Logo: Gisela&acute;s Weddings Las Vegas"></a></td><td><img src="' + prefix+ './images/ostern.jpg" border=0 width=343 height=171></td></tr></table><img src="' + prefix+ './images/dot_clear.gif" border=0 height=20>'); -->
<!--FRUEHLING  document.writeln('<a name="#top"></a><img src="' + prefix+ './images/dot_clear.gif" border=0 height=20><table border=0 cellpadding=0 cellspacing=0 width=480><tr><td width=70><br>&nbsp;</td><td align=left valign=top width=181><a href="' + prefix+ './kontakt.html" style="text-decoration:none"><img src="' + prefix+ './images/gw_logo_1.gif" align=top width=181 height=60 border=0 vspace=5></a></td><td align=left valign=top width=229><a href="' + prefix+ './kontakt.html" style="text-decoration:none"><img src="' + prefix+ './images/gw_logo_2.gif" align=top width=225 height=114 border=0 vspace=5 alt="Logo: Gisela&acute;s Weddings Las Vegas"></a></td><td><img src="' + prefix+ './images/fruehling.jpg" border=0 width=350 height=188></td></tr></table><img src="' + prefix+ './images/dot_clear.gif" border=0 height=20>'); -->
<!--STD    document.writeln('<a name="#top"></a><img src="' + prefix+ './images/dot_clear.gif" border=0 height=20><table border=0 cellpadding=0 cellspacing=0 width=480><tr><td width=70><br>&nbsp;</td><td align=left valign=top width=181><a href="' + prefix+ './kontakt.html" style="text-decoration:none"><img src="' + prefix+ './images/gw_logo_1.gif" align=top width=181 height=60 border=0 vspace=5></a></td><td align=left valign=top width=229><a href="' + prefix+ './kontakt.html" style="text-decoration:none"><img src="' + prefix+ './images/gw_logo_2.gif" align=top width=225 height=114 border=0 vspace=5 alt="Logo: Gisela&acute;s Weddings Las Vegas"></a></td><td><a href="' + prefix+ './documents.html" style="text-decoration:none"><img src="' + prefix+ './images/info_registrierung_std.gif" border=0 width=350 height=188></a></td></tr></table><img src="' + prefix+ './images/dot_clear.gif" border=0 height=20>'); -->
<!--INFO   document.writeln('<a name="#top"></a><img src="' + prefix+ './images/dot_clear.gif" border=0 height=20><table border=0 cellpadding=0 cellspacing=0 width=480><tr><td width=70><br>&nbsp;</td><td align=left valign=top width=181><a href="' + prefix+ './kontakt.html" style="text-decoration:none"><img src="' + prefix+ './images/gw_logo_1.gif" align=top width=181 height=60 border=0 vspace=5></a></td><td align=left valign=top width=229><a href="' + prefix+ './kontakt.html" style="text-decoration:none"><img src="' + prefix+ './images/gw_logo_2.gif" align=top width=225 height=114 border=0 vspace=5 alt="Logo: Gisela&acute;s Weddings Las Vegas"></a></td><td><a href="' + prefix+ './documents.html" style="text-decoration:none"><img src="' + prefix+ './images/info_registrierung.jpg" border=0 width=350 height=188></a></td></tr></table><img src="' + prefix+ './images/dot_clear.gif" border=0 height=20>'); -->
<!--INFO OSTERN  document.writeln('<a name="#top"></a><img src="' + prefix+ './images/dot_clear.gif" border=0 height=20><table border=0 cellpadding=0 cellspacing=0 width=480><tr><td width=70><br>&nbsp;</td><td align=left valign=top width=181><a href="' + prefix+ './kontakt.html" style="text-decoration:none"><img src="' + prefix+ './images/gw_logo_1.gif" align=top width=181 height=60 border=0 vspace=5></a></td><td align=left valign=top width=229><a href="' + prefix+ './kontakt.html" style="text-decoration:none"><img src="' + prefix+ './images/gw_logo_2.gif" align=top width=225 height=114 border=0 vspace=5 alt="Logo: Gisela&acute;s Weddings Las Vegas"></a></td><td><a href="' + prefix+ './documents.html" style="text-decoration:none"><img src="' + prefix+ './images/info_registrierung_easter.gif" border=0 width=350 height=188></a></td></tr></table><img src="' + prefix+ './images/dot_clear.gif" border=0 height=20>'); -->
<!--INFO FRUEHLING  document.writeln('<a name="#top"></a><img src="' + prefix+ './images/dot_clear.gif" border=0 height=20><table border=0 cellpadding=0 cellspacing=0 width=480><tr><td width=70><br>&nbsp;</td><td align=left valign=top width=181><a href="' + prefix+ './kontakt.html" style="text-decoration:none"><img src="' + prefix+ './images/gw_logo_1.gif" align=top width=181 height=60 border=0 vspace=5></a></td><td align=left valign=top width=229><a href="' + prefix+ './kontakt.html" style="text-decoration:none"><img src="' + prefix+ './images/gw_logo_2.gif" align=top width=225 height=114 border=0 vspace=5 alt="Logo: Gisela&acute;s Weddings Las Vegas"></a></td><td><a href="' + prefix+ './documents.html" style="text-decoration:none"><img src="' + prefix+ './images/info_registrierung_fruehling.gif" border=0 width=350 height=188></a></td></tr></table><img src="' + prefix+ './images/dot_clear.gif" border=0 height=20>'); -->
<!--STD INFO document.writeln('<a name="#top"></a><img src="' + prefix+ './images/dot_clear.gif" border=0 height=20><table border=0 cellpadding=0 cellspacing=0 width=480><tr><td width=70><br>&nbsp;</td><td align=left valign=top width=181><a href="' + prefix+ './kontakt.html" style="text-decoration:none"><img src="' + prefix+ './images/gw_logo_1.gif" align=top width=181 height=60 border=0 vspace=5></a></td><td align=left valign=top width=229><a href="' + prefix+ './kontakt.html" style="text-decoration:none"><img src="' + prefix+ './images/gw_logo_2.gif" align=top width=225 height=114 border=0 vspace=5 alt="Logo: Gisela&acute;s Weddings Las Vegas"></a></td><td><a href="' + prefix+ './documents.html" style="text-decoration:none"><img src="' + prefix+ './images/info_registrierung_std.gif" border=0 width=350 height=188></a></td></tr></table><img src="' + prefix+ './images/dot_clear.gif" border=0 height=20>'); -->
<!--****document.writeln('<a name="#top"></a><img src="' + prefix+ './images/dot_clear.gif" border=0 height=20><table border=0 cellpadding=0 cellspacing=0 width=480><tr><td width=70><br>&nbsp;</td><td align=left valign=top width=181><a href="' + prefix+ './kontakt.html" style="text-decoration:none"><img src="' + prefix+ './images/gw_logo_1.gif" align=top width=181 height=60 border=0 vspace=5></a></td><td align=left valign=top width=229><a href="' + prefix+ './kontakt.html" style="text-decoration:none"><img src="' + prefix+ './images/gw_logo_2.gif" align=top width=225 height=114 border=0 vspace=5 alt="Logo: Gisela&acute;s Weddings Las Vegas"></a></td><td><a href="' + prefix+ './documents.html" style="text-decoration:none"><img src="' + prefix+ './images/info_registrierung_fruehling.gif" border=0 width=350 height=188></a></td></tr></table><img src="' + prefix+ './images/dot_clear.gif" border=0 height=20>'); -->


  var Today  = new Date();
  var D      = Today.getDate();
  var M      = Today.getMonth() + 1;
  var Y      = Today.getYear();
  var Ostern = getOsterSonntag(Y,0);
  var JZ     = getJahreszeit();

  // ----------------------------------------------------------------------------
  // Ostern = 2 Wochen vorher (+14) und bis Ostermontag (-1) 
  // ----------------------------------------------------------------------------
  var Diff = getDatumsdifferenz(Today, Ostern);

  if (Diff == -1 || (Diff >= 0 && Diff <= 14))
  {
    document.writeln('<a name="#top"></a><img src="' + prefix+ './images/dot_clear.gif" border=0 height=20><table border=0 cellpadding=0 cellspacing=0 width=480><tr><td width=70><br>&nbsp;</td><td align=left valign=top width=181><a href="' + prefix+ './kontakt.html" style="text-decoration:none"><img src="' + prefix+ './images/gw_logo_1.gif" align=top width=181 height=60 border=0 vspace=5></a></td><td align=left valign=top width=229><a href="' + prefix+ './kontakt.html" style="text-decoration:none"><img src="' + prefix+ './images/gw_logo_2.gif" align=top width=225 height=114 border=0 vspace=5 alt="Logo: Gisela&acute;s Weddings Las Vegas"></a></td><td><a href="' + prefix+ './documents.html" style="text-decoration:none"><img src="' + prefix+ './images/info_registrierung_easter.gif" border=0 width=350 height=188></a></td></tr></table><img src="' + prefix+ './images/dot_clear.gif" border=0 height=20>');
  } 
  else 
  // ----------------------------------------------------------------------------
  // Weihnachten = 6. Dezember bis 15. Januar 
  // ----------------------------------------------------------------------------
  if (((M == 12) && (D > 5)) || ((M == 1) && (D < 16)))
  {
    document.writeln('<a name="#top"></a><img src="' + prefix+ './images/dot_clear.gif" border=0 height=20><table border=0 cellpadding=0 cellspacing=0 width=480><tr><td width=70><br>&nbsp;</td><td align=left valign=top width=181><a href="' + prefix+ './kontakt.html" style="text-decoration:none"><img src="' + prefix+ './images/gw_logo_1.gif" align=top width=181 height=60 border=0 vspace=5></a></td><td align=left valign=top width=229><a href="' + prefix+ './kontakt.html" style="text-decoration:none"><img src="' + prefix+ './images/gw_logo_2_xmas.gif" align=top width=225 height=114 border=0 vspace=5 alt="Logo: Gisela&acute;s Weddings Las Vegas"></a></td><td><a href="' + prefix+ './documents.html" style="text-decoration:none"><img src="' + prefix+ './images/info_registrierung_xmas.gif" border=0 width=350 height=188></a></td></tr></table><img src="' + prefix+ './images/dot_clear.gif" border=0 height=20>');
  }
  else
  // ----------------------------------------------------------------------------
  // Frühling 
  // ----------------------------------------------------------------------------
  if (JZ == 'F')
  {
    document.writeln('<a name="#top"></a><img src="' + prefix+ './images/dot_clear.gif" border=0 height=20><table border=0 cellpadding=0 cellspacing=0 width=480><tr><td width=70><br>&nbsp;</td><td align=left valign=top width=181><a href="' + prefix+ './kontakt.html" style="text-decoration:none"><img src="' + prefix+ './images/gw_logo_1.gif" align=top width=181 height=60 border=0 vspace=5></a></td><td align=left valign=top width=229><a href="' + prefix+ './kontakt.html" style="text-decoration:none"><img src="' + prefix+ './images/gw_logo_2.gif" align=top width=225 height=114 border=0 vspace=5 alt="Logo: Gisela&acute;s Weddings Las Vegas"></a></td><td><a href="' + prefix+ './documents.html" style="text-decoration:none"><img src="' + prefix+ './images/info_registrierung_fruehling.gif" border=0 width=350 height=188></a></td></tr></table><img src="' + prefix+ './images/dot_clear.gif" border=0 height=20>');
  }
  else
  // ----------------------------------------------------------------------------
  // Standard 
  // ----------------------------------------------------------------------------
  {
    document.writeln('<a name="#top"></a><img src="' + prefix+ './images/dot_clear.gif" border=0 height=20><table border=0 cellpadding=0 cellspacing=0 width=480><tr><td width=70><br>&nbsp;</td><td align=left valign=top width=181><a href="' + prefix+ './kontakt.html" style="text-decoration:none"><img src="' + prefix+ './images/gw_logo_1.gif" align=top width=181 height=60 border=0 vspace=5></a></td><td align=left valign=top width=229><a href="' + prefix+ './kontakt.html" style="text-decoration:none"><img src="' + prefix+ './images/gw_logo_2.gif" align=top width=225 height=114 border=0 vspace=5 alt="Logo: Gisela&acute;s Weddings Las Vegas"></a></td><td><a href="' + prefix+ './documents.html" style="text-decoration:none"><img src="' + prefix+ './images/info_registrierung_std.gif" border=0 width=350 height=188></a></td></tr></table><img src="' + prefix+ './images/dot_clear.gif" border=0 height=20>');
  }

  <!-- Statusanzeige zurücksetzen -->
  window.defaultStatus = '';
}

<!-- ========== Anzeigen des Kopflogos mit eMail-Funktion ========== -->

function show_gwlogo_email()
{
  framebreaker();

<!--WEIHN  document.writeln('<a name="#top"><img src="./images/dot_clear.gif" border=0 height=20></a><table border=0 cellpadding=0 cellspacing=0 width=480><tr><td width=70><br>&nbsp;</td><td align=left valign=top width=181><a href="mailto:gisela@hochzeitlasvegas.de" style="text-decoration:none"><img src="./images/gw_logo_1.gif" align=top width=181 height=60 border=0 vspace=5></a></td><td align=left valign=top width=229><a href="mailto:gisela@hochzeitlasvegas.de" style="text-decoration:none"><img src="./images/gw_logo_2_xmas.gif" align=top width=225 height=114 border=0 vspace=5 alt="Logo: Gisela&acute;s Weddings Las Vegas"></a></td><td><a href="./documents.html" style="text-decoration:none"><img src="./images/info_registrierung_xmas.gif" border=0 width=350 height=188></a></td></tr></table><img src="./images/dot_clear.gif" border=0 height=20>'); -->
<!--OSTERN  document.writeln('<a name="#top"><img src="./images/dot_clear.gif" border=0 height=20></a><table border=0 cellpadding=0 cellspacing=0 width=480><tr><td width=70><br>&nbsp;</td><td align=left valign=top width=181><a href="mailto:gisela@hochzeitlasvegas.de" style="text-decoration:none"><img src="./images/gw_logo_1.gif" align=top width=181 height=60 border=0 vspace=5></a></td><td align=left valign=top width=229><a href="mailto:gisela@hochzeitlasvegas.de" style="text-decoration:none"><img src="./images/gw_logo_2.gif" align=top width=225 height=114 border=0 vspace=5 alt="Logo: Gisela&acute;s Weddings Las Vegas"></a></td><td><img src="./images/ostern.jpg" border=0 width=343 height=171></td></tr></table><img src="./images/dot_clear.gif" border=0 height=20>'); -->
<!--FRUEHLING  document.writeln('<a name="#top"><img src="./images/dot_clear.gif" border=0 height=20></a><table border=0 cellpadding=0 cellspacing=0 width=480><tr><td width=70><br>&nbsp;</td><td align=left valign=top width=181><a href="mailto:gisela@hochzeitlasvegas.de" style="text-decoration:none"><img src="./images/gw_logo_1.gif" align=top width=181 height=60 border=0 vspace=5></a></td><td align=left valign=top width=229><a href="mailto:gisela@hochzeitlasvegas.de" style="text-decoration:none"><img src="./images/gw_logo_2.gif" align=top width=225 height=114 border=0 vspace=5 alt="Logo: Gisela&acute;s Weddings Las Vegas"></a></td><td><img src="./images/info_registrierung_fruehling.gif" border=0 width=350 height=188></td></tr></table><img src="./images/dot_clear.gif" border=0 height=20>'); -->
<!--STD  document.writeln('<a name="#top"><img src="./images/dot_clear.gif" border=0 height=20></a><table border=0 cellpadding=0 cellspacing=0 width=480><tr><td width=70><br>&nbsp;</td><td align=left valign=top width=181><a href="mailto:gisela@hochzeitlasvegas.de" style="text-decoration:none"><img src="./images/gw_logo_1.gif" align=top width=181 height=60 border=0 vspace=5></a></td><td align=left valign=top width=229><a href="mailto:gisela@hochzeitlasvegas.de" style="text-decoration:none"><img src="./images/gw_logo_2.gif" align=top width=225 height=114 border=0 vspace=5 alt="Logo: Gisela&acute;s Weddings Las Vegas"></a></td><td><a href="./documents.html" style="text-decoration:none"><img src="./images/info_registrierung_std.gif" border=0 width=350 height=188></a></td></tr></table><img src="./images/dot_clear.gif" border=0 height=20>'); -->
<!--INFO  document.writeln('<a name="#top"><img src="./images/dot_clear.gif" border=0 height=20></a><table border=0 cellpadding=0 cellspacing=0 width=480><tr><td width=70><br>&nbsp;</td><td align=left valign=top width=181><a href="mailto:gisela@hochzeitlasvegas.de" style="text-decoration:none"><img src="./images/gw_logo_1.gif" align=top width=181 height=60 border=0 vspace=5></a></td><td align=left valign=top width=229><a href="mailto:gisela@hochzeitlasvegas.de" style="text-decoration:none"><img src="./images/gw_logo_2.gif" align=top width=225 height=114 border=0 vspace=5 alt="Logo: Gisela&acute;s Weddings Las Vegas"></a></td><td><a href="./documents.html" style="text-decoration:none"><img src="./images/info_registrierung.jpg" border=0 width=350 height=188></a></td></tr></table><img src="./images/dot_clear.gif" border=0 height=20>'); -->
<!--INFO OSTERN document.writeln('<a name="#top"><img src="./images/dot_clear.gif" border=0 height=20></a><table border=0 cellpadding=0 cellspacing=0 width=480><tr><td width=70><br>&nbsp;</td><td align=left valign=top width=181><a href="mailto:gisela@hochzeitlasvegas.de" style="text-decoration:none"><img src="./images/gw_logo_1.gif" align=top width=181 height=60 border=0 vspace=5></a></td><td align=left valign=top width=229><a href="mailto:gisela@hochzeitlasvegas.de" style="text-decoration:none"><img src="./images/gw_logo_2.gif" align=top width=225 height=114 border=0 vspace=5 alt="Logo: Gisela&acute;s Weddings Las Vegas"></a></td><td><a href="./documents.html" style="text-decoration:none"><img src="./images/info_registrierung_easter.gif" border=0 width=350 height=188></a></td></tr></table><img src="./images/dot_clear.gif" border=0 height=20>'); -->
<!--FRUEHLING  document.writeln('<a name="#top"><img src="./images/dot_clear.gif" border=0 height=20></a><table border=0 cellpadding=0 cellspacing=0 width=480><tr><td width=70><br>&nbsp;</td><td align=left valign=top width=181><a href="mailto:gisela@hochzeitlasvegas.de" style="text-decoration:none"><img src="./images/gw_logo_1.gif" align=top width=181 height=60 border=0 vspace=5></a></td><td align=left valign=top width=229><a href="mailto:gisela@hochzeitlasvegas.de" style="text-decoration:none"><img src="./images/gw_logo_2.gif" align=top width=225 height=114 border=0 vspace=5 alt="Logo: Gisela&acute;s Weddings Las Vegas"></a></td><td><a href="./documents.html" style="text-decoration:none"><img src="./images/info_registrierung_fruehling.gif" border=0 width=350 height=188></a></td></tr></table><img src="./images/dot_clear.gif" border=0 height=20>'); -->
<!--WEIHN  document.writeln('<a name="#top"><img src="./images/dot_clear.gif" border=0 height=20></a><table border=0 cellpadding=0 cellspacing=0 width=480><tr><td width=70><br>&nbsp;</td><td align=left valign=top width=181><a href="mailto:gisela@hochzeitlasvegas.de" style="text-decoration:none"><img src="./images/gw_logo_1.gif" align=top width=181 height=60 border=0 vspace=5></a></td><td align=left valign=top width=229><a href="mailto:gisela@hochzeitlasvegas.de" style="text-decoration:none"><img src="./images/gw_logo_2_xmas.gif" align=top width=225 height=114 border=0 vspace=5 alt="Logo: Gisela&acute;s Weddings Las Vegas"></a></td><td><a href="./documents.html" style="text-decoration:none"><img src="./images/info_registrierung_xmas.gif" border=0 width=350 height=188></a></td></tr></table><img src="./images/dot_clear.gif" border=0 height=20>'); -->
<!--STD INFO document.writeln('<a name="#top"><img src="./images/dot_clear.gif" border=0 height=20></a><table border=0 cellpadding=0 cellspacing=0 width=480><tr><td width=70><br>&nbsp;</td><td align=left valign=top width=181><a href="mailto:gisela@hochzeitlasvegas.de" style="text-decoration:none"><img src="./images/gw_logo_1.gif" align=top width=181 height=60 border=0 vspace=5></a></td><td align=left valign=top width=229><a href="mailto:gisela@hochzeitlasvegas.de" style="text-decoration:none"><img src="./images/gw_logo_2.gif" align=top width=225 height=114 border=0 vspace=5 alt="Logo: Gisela&acute;s Weddings Las Vegas"></a></td><td><a href="./documents.html" style="text-decoration:none"><img src="./images/info_registrierung_std.gif" border=0 width=350 height=188></a></td></tr></table><img src="./images/dot_clear.gif" border=0 height=20>'); -->


  var Today  = new Date();
  var D      = Today.getDate();
  var M      = Today.getMonth() + 1;
  var Y      = Today.getYear();
  var Ostern = getOsterSonntag(Y,0);
  var JZ     = getJahreszeit();

  // ----------------------------------------------------------------------------
  // Ostern = 2 Wochen vorher (+14) und bis Ostermontag (-1) 
  // ----------------------------------------------------------------------------
  var Diff = getDatumsdifferenz(Today, Ostern);

  if (Diff == -1 || (Diff >= 0 && Diff <= 14))
  {
    document.writeln('<a name="#top"><img src="./images/dot_clear.gif" border=0 height=20></a><table border=0 cellpadding=0 cellspacing=0 width=480><tr><td width=70><br>&nbsp;</td><td align=left valign=top width=181><a href="mailto:gisela@hochzeitlasvegas.de" style="text-decoration:none"><img src="./images/gw_logo_1.gif" align=top width=181 height=60 border=0 vspace=5></a></td><td align=left valign=top width=229><a href="mailto:gisela@hochzeitlasvegas.de" style="text-decoration:none"><img src="./images/gw_logo_2.gif" align=top width=225 height=114 border=0 vspace=5 alt="Logo: Gisela&acute;s Weddings Las Vegas"></a></td><td><a href="./documents.html" style="text-decoration:none"><img src="./images/info_registrierung_easter.gif" border=0 width=350 height=188></a></td></tr></table><img src="./images/dot_clear.gif" border=0 height=20>');
  } 
  else 
  // ----------------------------------------------------------------------------
  // Weihnachten = 6. Dezember bis 15. Januar 
  // ----------------------------------------------------------------------------
  if (((M == 12) && (D > 5)) || ((M == 1) && (D < 16)))
  {
    document.writeln('<a name="#top"><img src="./images/dot_clear.gif" border=0 height=20></a><table border=0 cellpadding=0 cellspacing=0 width=480><tr><td width=70><br>&nbsp;</td><td align=left valign=top width=181><a href="mailto:gisela@hochzeitlasvegas.de" style="text-decoration:none"><img src="./images/gw_logo_1.gif" align=top width=181 height=60 border=0 vspace=5></a></td><td align=left valign=top width=229><a href="mailto:gisela@hochzeitlasvegas.de" style="text-decoration:none"><img src="./images/gw_logo_2_xmas.gif" align=top width=225 height=114 border=0 vspace=5 alt="Logo: Gisela&acute;s Weddings Las Vegas"></a></td><td><a href="./documents.html" style="text-decoration:none"><img src="./images/info_registrierung_xmas.gif" border=0 width=350 height=188></a></td></tr></table><img src="./images/dot_clear.gif" border=0 height=20>');    
  }
  else
  // ----------------------------------------------------------------------------
  // Frühling 
  // ----------------------------------------------------------------------------
  if (JZ == 'F')
  {
    document.writeln('<a name="#top"><img src="./images/dot_clear.gif" border=0 height=20></a><table border=0 cellpadding=0 cellspacing=0 width=480><tr><td width=70><br>&nbsp;</td><td align=left valign=top width=181><a href="mailto:gisela@hochzeitlasvegas.de" style="text-decoration:none"><img src="./images/gw_logo_1.gif" align=top width=181 height=60 border=0 vspace=5></a></td><td align=left valign=top width=229><a href="mailto:gisela@hochzeitlasvegas.de" style="text-decoration:none"><img src="./images/gw_logo_2.gif" align=top width=225 height=114 border=0 vspace=5 alt="Logo: Gisela&acute;s Weddings Las Vegas"></a></td><td><a href="./documents.html" style="text-decoration:none"><img src="./images/info_registrierung_fruehling.gif" border=0 width=350 height=188></a></td></tr></table><img src="./images/dot_clear.gif" border=0 height=20>');    
  }
  else
  // ----------------------------------------------------------------------------
  // Standard 
  // ----------------------------------------------------------------------------
  {
    document.writeln('<a name="#top"><img src="./images/dot_clear.gif" border=0 height=20></a><table border=0 cellpadding=0 cellspacing=0 width=480><tr><td width=70><br>&nbsp;</td><td align=left valign=top width=181><a href="mailto:gisela@hochzeitlasvegas.de" style="text-decoration:none"><img src="./images/gw_logo_1.gif" align=top width=181 height=60 border=0 vspace=5></a></td><td align=left valign=top width=229><a href="mailto:gisela@hochzeitlasvegas.de" style="text-decoration:none"><img src="./images/gw_logo_2.gif" align=top width=225 height=114 border=0 vspace=5 alt="Logo: Gisela&acute;s Weddings Las Vegas"></a></td><td><a href="./documents.html" style="text-decoration:none"><img src="./images/info_registrierung_std.gif" border=0 width=350 height=188></a></td></tr></table><img src="./images/dot_clear.gif" border=0 height=20>');  
  }

  <!-- Statusanzeige zurücksetzen -->
  window.defaultStatus = '';
}

<!-- ========== Anzeigen des Hauptmenues ========== -->

function show_main_menu(prefix, page_name, offset_y)

{
  var pic_no = 4;

  document.writeln('<table border=0 CELLPADDING=0 CELLSPACING=0 WIDTH=120>');

  document.writeln('<tr valign = top>'); 
  document.writeln('  <td>'); 

  pic_no = pic_no + 1; 
  if(page_name == "index")
  {
    document.writeln('<img src = "' + prefix + './images/mnu_ueberblick_b.gif" border=0 alt="Menue &Uuml;berblick">');
  }
  else 
  {
    document.writeln('<a HREF= "' + prefix + './index.shtml" ');
    document.writeln('  onmouseover = "load_img_byno(&quot;' + prefix + '&quot;, ' + pic_no + ', 10)" ');
    document.writeln('  onmouseout  = "load_img_byno(&quot;' + prefix + '&quot;, ' + pic_no + ', 11)" > ');
    document.writeln('  <img src    = "' + prefix + './images/mnu_ueberblick_r.gif" border=0 alt="Menue &Uuml;berblick"></a>'); 
  }
  document.writeln('  </td>');
  document.writeln('</tr>');

<!-- ========== -->

  document.writeln('<tr valign = top>');
  document.writeln('  <td>');

  pic_no = pic_no + 1; 
  if(page_name == "kontakt")
  {
    document.writeln('<img src = "' + prefix + './images/mnu_kontakt_b.gif" border=0 alt="Menue Kontakt">');
  }
  else 
  {
    document.writeln('<a HREF= "' + prefix + './kontakt.html" ');
    document.writeln('  onmouseover = "load_img_byno(&quot;' + prefix + '&quot;, ' + pic_no + ', 20)" ');
    document.writeln('  onmouseout =  "load_img_byno(&quot;' + prefix + '&quot;, ' + pic_no + ', 21)" > ');
    document.writeln('  <img src = "' + prefix + './images/mnu_kontakt_r.gif" border=0 alt="Menue Kontakt"></a>'); 
    }
  document.writeln('  </td>');
  document.writeln('</tr>');

<!-- ========== -->

  document.writeln('<tr valign = top>');
  document.writeln('  <td>');

  pic_no = pic_no + 1; 
  if(page_name.substring(0,11) == "hochzeiten_")
  {
    if(page_name == "hochzeiten_main")
    {
      document.writeln('<img src = "' + prefix + './images/mnu_hochzeiten_b.gif" border=0 alt="Menue Hochzeiten">');
    }
    else
    { 
      if(page_name.substring(0,18) == "hochzeiten_themen_")
      {
        document.writeln('<a HREF= "' + prefix + './hochzeiten_main.html" ');
        document.writeln('  onmouseover = "load_img_byno(&quot;' + prefix + '&quot;, ' + pic_no + ', 30)" ');
        document.writeln('  onmouseout =  "load_img_byno(&quot;' + prefix + '&quot;, ' + pic_no + ', 33)" > ');
        document.writeln('  <img src = "' + prefix + './images/mnu_hochzeiten_b2.gif" left=20 border=0 alt="Menue Hochzeiten"></a>'); 
      }
      else
      {
        document.writeln('<a HREF= "' + prefix + './hochzeiten_main.html" ');
        document.writeln('  onmouseover = "load_img_byno(&quot;' + prefix + '&quot;, ' + pic_no + ', 30)" ');
        document.writeln('  onmouseout =  "load_img_byno(&quot;' + prefix + '&quot;, ' + pic_no + ', 32)" > ');
        document.writeln('  <img src = "' + prefix + './images/mnu_hochzeiten_b.gif" left=20 border=0 alt="Menue Hochzeiten"></a>'); 
      }
    }

    document.writeln('  </td>');
    document.writeln('</tr>');

    <!-- ========== -->

    document.writeln('<tr valign = top>');
    document.writeln('  <td>');

    pic_no = pic_no + 1; 
    if(page_name == "hochzeiten_klassisch")
    {
      document.writeln('<img src = "' + prefix + './images/mnu_klassisch_b.gif" border=0 alt="Menue Hochzeiten: Klassisch">');
    }
    else
    { 
      document.writeln('<a HREF= "' + prefix + './hochzeiten_klassisch.html" ');
      document.writeln('  onmouseover = "load_img_byno(&quot;' + prefix + '&quot;, ' + pic_no + ', 80)" ');
      document.writeln('  onmouseout =  "load_img_byno(&quot;' + prefix + '&quot;, ' + pic_no + ', 81)" > ');
      document.writeln('  <img src = "' + prefix + './images/mnu_klassisch_r.gif" left=20 border=0 alt="Menue Hochzeiten: Klassisch"></a>'); 
    }

    document.writeln('  </td>');
    document.writeln('</tr>');

    <!-- ========== -->

    document.writeln('<tr valign = top>');
    document.writeln('  <td>');

    pic_no = pic_no + 1; 
    if(page_name.substring(0,18) == "hochzeiten_themen_")
    {
      if(page_name == "hochzeiten_themen_main")
      {
        document.writeln('<img src = "' + prefix + './images/mnu_themen_b.gif" border=0 alt="Menue Hochzeiten: Themen">');
      }
      else
      { 
        document.writeln('<a HREF= "' + prefix + './hochzeiten_themen.html" ');
        document.writeln('  onmouseover = "load_img_byno(&quot;' + prefix + '&quot;, ' + pic_no + ', 90)" ');
        document.writeln('  onmouseout =  "load_img_byno(&quot;' + prefix + '&quot;, ' + pic_no + ', 92)" > ');
        document.writeln('  <img src = "' + prefix + './images/mnu_themen_b.gif" left=20 border=0 alt="Menue Hochzeiten: Themen"></a>'); 
      }

      document.writeln('  </td>');
      document.writeln('</tr>');

      <!-- ========== -->

      document.writeln('<tr valign = top>');
      document.writeln('  <td>');

      pic_no = pic_no + 1; 
      if(page_name == "hochzeiten_themen_elvis")
      {
        document.writeln('<img src = "' + prefix + './images/mnu_elvis_b.gif" border=0 alt="Menue Hochzeiten: Themen: Elvis">');
      }
      else
      { 
        document.writeln('<a HREF= "' + prefix + './hochzeiten_themen_elvis.html" ');
        document.writeln('  onmouseover = "load_img_byno(&quot;' + prefix + '&quot;, ' + pic_no + ', 150)" ');
        document.writeln('  onmouseout =  "load_img_byno(&quot;' + prefix + '&quot;, ' + pic_no + ', 151)" > ');
        document.writeln('  <img src = "' + prefix + './images/mnu_elvis_r.gif" left=20 border=0 alt="Menue Hochzeiten: Themen: Elvis"></a>'); 
      }

      document.writeln('<tr valign = top>');
      document.writeln('  <td>');

      <!-- ========== -->

      document.writeln('<tr valign = top>');
      document.writeln('  <td>');

      pic_no = pic_no + 1; 
      if(page_name == "hochzeiten_themen_harley")
      {
        document.writeln('<img src = "' + prefix + './images/mnu_harley_b.gif" border=0 alt="Menue Hochzeiten: Themen: Harley">');
      }
      else
      { 
        document.writeln('<a HREF= "' + prefix + './hochzeiten_themen_harley.html" ');
        document.writeln('  onmouseover = "load_img_byno(&quot;' + prefix + '&quot;, ' + pic_no + ', 160)" ');
        document.writeln('  onmouseout =  "load_img_byno(&quot;' + prefix + '&quot;, ' + pic_no + ', 161)" > ');
        document.writeln('  <img src = "' + prefix + './images/mnu_harley_r.gif" left=20 border=0 alt="Menue Hochzeiten: Themen: Harley"></a>'); 
      }

      document.writeln('<tr valign = top>');
      document.writeln('  <td>');
    }
    else
    {
      document.writeln('<a HREF= "' + prefix + './hochzeiten_themen.html" ');
      document.writeln('  onmouseover = "load_img_byno(&quot;' + prefix + '&quot;, ' + pic_no + ', 90)" ');
      document.writeln('  onmouseout =  "load_img_byno(&quot;' + prefix + '&quot;, ' + pic_no + ', 91)" > ');
      document.writeln('  <img src = "' + prefix + './images/mnu_themen_r.gif" left=20 border=0 alt="Menue Hochzeiten: Themen"></a>'); 
    } 

    document.writeln('  </td>');
    document.writeln('</tr>');

    <!-- ========== -->

    document.writeln('<tr valign = top>');
    document.writeln('  <td>');

    pic_no = pic_no + 1; 
    if(page_name == "hochzeiten_heli")
    {
      document.writeln('<img src = "' + prefix + './images/mnu_heli_b.gif" border=0 alt="Menue Hochzeiten: Helicopter">');
    }
    else
    { 
      document.writeln('<a HREF= "' + prefix + './hochzeiten_heli.html" ');
      document.writeln('  onmouseover = "load_img_byno(&quot;' + prefix + '&quot;, ' + pic_no + ', 100)" ');
      document.writeln('  onmouseout =  "load_img_byno(&quot;' + prefix + '&quot;, ' + pic_no + ', 101)" > ');
      document.writeln('  <img src = "' + prefix + './images/mnu_heli_r.gif" left=20 border=0 alt="Menue Hochzeiten: Helicopter"></a>'); 
    }

    document.writeln('  </td>');
    document.writeln('</tr>');

  }
  else 
  {
    document.writeln('<a HREF= "' + prefix + './hochzeiten_main.html" ');
    document.writeln('  onmouseover = "load_img_byno(&quot;' + prefix + '&quot;, ' + pic_no + ', 30)" ');
    document.writeln('  onmouseout =  "load_img_byno(&quot;' + prefix + '&quot;, ' + pic_no + ', 31)" > ');
    document.writeln('  <img src = "' + prefix + './images/mnu_hochzeiten_r.gif" left=20 border=0 alt="Menue Hochzeiten"></a>'); 
  }

  document.writeln('  </td>');
  document.writeln('</tr>');

<!-- ========== -->

  document.writeln('<tr valign = top>');
  document.writeln('  <td>');

  if(page_name == "jubilaeen")
  {
    pic_no = pic_no + 1; 
    document.writeln('<img src = "' + prefix + './images/mnu_jubilaeen_b.gif" border=0 alt="Menue Jubil&auml;en">');
  }
  else 
  {
    pic_no = pic_no + 1; 
    document.writeln('<a HREF= "' + prefix + './jubilaeen.html" ');
    document.writeln('  onmouseover = "load_img_byno(&quot;' + prefix + '&quot;, ' + pic_no + ', 50)" ');
    document.writeln('  onmouseout =  "load_img_byno(&quot;' + prefix + '&quot;, ' + pic_no + ', 51)" > ');
    document.writeln('  <img src = "' + prefix + './images/mnu_jubilaeen_r.gif" border=0 alt="Menue Jubil&auml;en"></a>'); 
  }
  document.writeln('  </td>');
  document.writeln('</tr>');

<!-- ========== -->

  document.writeln('<tr valign = top>');
  document.writeln('  <td>');

  pic_no = pic_no + 1; 
  if(page_name == "specials_brautkleider")
  {
    document.writeln('<img src = "' + prefix + './images/mnu_brautkleider_b.gif" border=0 alt="Menue Spezielles: Brautkleider">');
  }
  else
  {
    document.writeln('<a HREF= "' + prefix + './specials_brautkleider.html" ');
    document.writeln('  onmouseover = "load_img_byno(&quot;' + prefix + '&quot;, ' + pic_no + ', 120)" ');
    document.writeln('  onmouseout =  "load_img_byno(&quot;' + prefix + '&quot;, ' + pic_no + ', 121)" > ');
    document.writeln('  <img src = "' + prefix + './images/mnu_brautkleider_r.gif" left=20 border=0 alt="Menue Spezielles: Brautkleider"></a>'); 
  }

  document.writeln('  </td>');
  document.writeln('</tr>');

  <!-- ========== -->

  document.writeln('<tr valign = top>');
  document.writeln('  <td>');

  pic_no = pic_no + 1; 
  if(page_name == "specials_kosmetik")
  {
   document.writeln('<img src = "' + prefix + './images/mnu_kosmetik_b.gif" border=0 alt="Menue Spezielles: Kosmetik">');
  }
  else
  {
    document.writeln('<a HREF= "' + prefix + './specials_kosmetik.html" ');
    document.writeln('  onmouseover = "load_img_byno(&quot;' + prefix + '&quot;, ' + pic_no + ', 130)" ');
    document.writeln('  onmouseout =  "load_img_byno(&quot;' + prefix + '&quot;, ' + pic_no + ', 131)" > ');
    document.writeln('  <img src = "' + prefix + './images/mnu_kosmetik_r.gif" left=20 border=0 alt="Menue Spezielles: Kosmetik"></a>'); 
  }

  document.writeln('  </td>');
  document.writeln('</tr>');

  <!-- ========== -->

  document.writeln('<tr valign = top>');
  document.writeln('  <td>');

  pic_no = pic_no + 1; 
  if(page_name == "specials_ringe")
  {
    document.writeln('<img src = "' + prefix + './images/mnu_ringe_b.gif" border=0 alt="Menue Spezielles: Ringkauf">');
  }
  else
  {
    document.writeln('<a HREF= "' + prefix + './specials_ringe.html" ');
    document.writeln('  onmouseover = "load_img_byno(&quot;' + prefix + '&quot;, ' + pic_no + ', 140)" ');
    document.writeln('  onmouseout =  "load_img_byno(&quot;' + prefix + '&quot;, ' + pic_no + ', 141)" > ');
    document.writeln('  <img src = "' + prefix + './images/mnu_ringe_r.gif" left=20 border=0 alt="Menue Spezielles: Ringkauf"></a>'); 
  }

  document.writeln('  </td>');
  document.writeln('</tr>');


<!-- ========== -->

  document.writeln('<tr valign = top>');
  document.writeln('  <td>');

  if(page_name == "fragen")
    {
      pic_no = pic_no + 1; 
      document.writeln('<img src = "' + prefix + './images/mnu_fragen_b.gif" border=0 alt="Menue Fragen">');
    }
  else 
    {
      pic_no = pic_no + 1; 
      document.writeln('<a HREF= "' + prefix + './fragen.html" ');
      document.writeln('  onmouseover = "load_img_byno(&quot;' + prefix + '&quot;, ' + pic_no + ', 60)" ');
      document.writeln('  onmouseout =  "load_img_byno(&quot;' + prefix + '&quot;, ' + pic_no + ', 61)" > ');
      document.writeln('  <img src = "' + prefix + './images/mnu_fragen_r.gif" border=0 alt="Menue Fragen"></a>'); 
    }
  document.writeln('  </td>');
  document.writeln('</tr>');

<!-- ========== -->

  document.writeln('<tr valign = top>');
  document.writeln('  <td>');

  if(page_name == "news")
    {
      pic_no = pic_no + 1; 
      document.writeln('<img src = "' + prefix + './images/mnu_stories_b.gif" border=0 alt="Menue Hochzeitsstories">');
    }
  else 
    {
      pic_no = pic_no + 1; 
      document.writeln('<a HREF= "' + prefix + './news.html" ');
      document.writeln('  onmouseover = "load_img_byno(&quot;' + prefix + '&quot;, ' + pic_no + ', 190)" ');
      document.writeln('  onmouseout =  "load_img_byno(&quot;' + prefix + '&quot;, ' + pic_no + ', 191)" > ');
      document.writeln('  <img src = "' + prefix + './images/mnu_stories_r.gif" border=0 alt="Menue Hochzeitsstories"></a>'); 
    }
  document.writeln('  </td>');
  document.writeln('</tr>');

<!-- ========== -->

  document.writeln('<tr valign = top>');
  document.writeln('  <td>');

  pic_no = pic_no + 1; 
  if(page_name.substring(0,11) == "gaestebuch_")
  {
    if(page_name == "gaestebuch_main")
    {
      document.writeln('<img src = "' + prefix + './images/mnu_gaestebuch_b.gif" border=0 alt="Menue G&auml;stebuch">');
    }
    else 
    {
      document.writeln('<a HREF= "' + prefix + './gaestebuch_main.shtml" ');
      document.writeln('  onmouseover = "load_img_byno(&quot;' + prefix + '&quot;, ' + pic_no + ', 70)" ');
      document.writeln('  onmouseout =  "load_img_byno(&quot;' + prefix + '&quot;, ' + pic_no + ', 72)" > ');
      document.writeln('  <img src = "' + prefix + './images/mnu_gaestebuch_b.gif" border=0 alt="Menue G&auml;stebuch"></a>'); 
    } 

    <!-- ========== -->

    document.writeln('<tr valign = top>');
    document.writeln('  <td>');

    pic_no = pic_no + 1; 
    if(page_name == "gaestebuch_ansicht")
    {
      document.writeln('<img src = "' + prefix + './images/mnu_ansehen_b.gif" border=0 alt="Menue G&auml;stebuch: Ansehen">');
    }
    else
    {
      document.writeln('<a HREF= "' + prefix + './gaestebuch_ansicht.shtml" ');
      document.writeln('  onmouseover = "load_img_byno(&quot;' + prefix + '&quot;, ' + pic_no + ', 180)" ');
      document.writeln('  onmouseout =  "load_img_byno(&quot;' + prefix + '&quot;, ' + pic_no + ', 181)" > ');
      document.writeln('  <img src = "' + prefix + './images/mnu_ansehen_r.gif" left=20 border=0 alt="Menue G&auml;stebuch: Ansehen"></a>'); 
    }

    document.writeln('  </td>');
    document.writeln('</tr>');

    <!-- ========== -->

    document.writeln('<tr valign = top>');
    document.writeln('  <td>');

    pic_no = pic_no + 1; 
    if(page_name == "gaestebuch_neu")
    {
      document.writeln('<img src = "' + prefix + './images/mnu_neuer_eintrag_b.gif" border=0 alt="Menue G&auml;stebuch: Neuer Eintrag">');
    }
    else
    {
      document.writeln('<a HREF= "' + prefix + './gaestebuch_neu.html" ');
      document.writeln('  onmouseover = "load_img_byno(&quot;' + prefix + '&quot;, ' + pic_no + ', 170)" ');
      document.writeln('  onmouseout =  "load_img_byno(&quot;' + prefix + '&quot;, ' + pic_no + ', 171)" > ');
      document.writeln('  <img src = "' + prefix + './images/mnu_neuer_eintrag_r.gif" left=20 border=0 alt="Menue G&auml;stebuch: Neuer Eintrag"></a>'); 
    }

    document.writeln('  </td>');
    document.writeln('</tr>');

  }
  else
  {
    document.writeln('<a HREF= "' + prefix + './gaestebuch_main.shtml" ');
    document.writeln('  onmouseover = "load_img_byno(&quot;' + prefix + '&quot;, ' + pic_no + ', 70)" ');
    document.writeln('  onmouseout =  "load_img_byno(&quot;' + prefix + '&quot;, ' + pic_no + ', 71)" > ');
    document.writeln('  <img src = "' + prefix + './images/mnu_gaestebuch_r.gif" border=0 alt="Menue G&auml;stebuch"></a>'); 
  }  
  document.writeln('    </td>');
  document.writeln('  </tr>');

<!-- ========== -->

  <!-- Abstand zu den Dokumentbestellungen ========== -->
  document.writeln('<tr valign = top><td>&nbsp;</td></tr>');

  document.writeln('<tr valign = top>');
  document.writeln('  <td>');

  if(page_name == "documents")
    {
      pic_no = pic_no + 1; 
      document.writeln('<img src = "' + prefix + './images/mnu_documents_b.gif" border=0 alt="Dokumentbestellung">');
    }
  else 
    {
      pic_no = pic_no + 1; 
      document.writeln('<a HREF= "' + prefix + './documents.html" ');
      document.writeln('  onmouseover = "load_img_byno(&quot;' + prefix + '&quot;, ' + pic_no + ', 900)" ');
      document.writeln('  onmouseout =  "load_img_byno(&quot;' + prefix + '&quot;, ' + pic_no + ', 901)" > ');
      document.writeln('  <img src = "' + prefix + './images/mnu_documents_r.gif" border=0 alt="Menue Dokumentbestellung"></a>'); 
    }
  document.writeln('  </td>');
  document.writeln('</tr>');

<!-- ========== -->

  document.writeln('<tr valign = top>');
  document.writeln('  <td>');

  if(page_name == "suchergebnis")
  {
    pic_no = pic_no + 1; 
    document.writeln('<img src = "' + prefix + './images/mnu_suchergebnis_b.gif" border=0 alt="Suchergebnis">');
  }
  else
  {  
/*  ----- eigene Suche   
    document.writeln('<br>');
    document.writeln('<form name="suche" method=post action="./cgi-bin/searchsite.pl">');
    document.writeln('  <table border=0 cellpadding=0 cellspacing=0 width=100%>');
    document.writeln('    <tr><td><input type=text name="search" size=19><br></td></tr>');
    document.writeln('    <tr><td><input type= image src="./images/btn_suchen_s.gif" border=0 alt= "Button: Suchen"</td></tr>');
    document.writeln('  </table>');
    document.writeln('</form>');
    document.suche.search.focus(); ----- */

/*  ----- Google-Suche ----- */
    document.writeln('<br>');
    document.writeln('<form name="google_suche" action="http://www.google.com/cse" id="cse-search-box">');
    document.writeln('  <div>');
    document.writeln('    <input type="hidden" name="cx" value="010306342741456270419:ipnc_mk64fa" />');
    document.writeln('    <input type="hidden" name="ie" value="UTF-8" />');
    document.writeln('    <input type="text" name="q" size="19" />');
    document.writeln('    <input type= image src="./images/btn_suchen_s.gif" border=0 alt= "Button: Suchen"');
    document.writeln('    <input type="submit" name="sa" value="Suche" />');
    document.writeln('  </div>');
    document.writeln('</form>');
    document.google_suche.q.focus();
/*  ----- Google-Suche ----- */
  }

  document.writeln('  </td>');
  document.writeln('</tr>');

<!-- ========== -->

  document.writeln('</table>'); 

  <!-- Button "Nach oben", soll mit unterster Textzeile abschliessen -->
  <!-- nur anzeigen, wenn offset_y groesser als "0" ist -->
  if(offset_y > 0)
  {
    <!-- Button "Nach oben" anzeigen -->
    pic_no = pic_no + 1; 
    SUpic_no = pic_no;
    SUprefix = prefix;
    SUstart();
 
/*
    pic_no = pic_no + 1; 
    document.writeln('<table border=0 align=bottom cellpadding=0 cellspacing=0 height=' + offset_y + ' width=120>');
    document.writeln('  <tr valign = bottom> <td>');
    document.writeln('   <a HREF= "#top"');
    document.writeln('     onmouseover = "load_img_byno(&quot;' + prefix + '&quot;, ' + pic_no + ', 990)" ');
    document.writeln('     onmouseout  = "load_img_byno(&quot;' + prefix + '&quot;, ' + pic_no + ', 991)" > ');
    document.writeln('     <img src = "' + prefix + './images/mnu_nach_oben_r.gif" border=0 alt="Menue Nach oben"></a>');
    document.writeln('  </td> </tr>');
    document.writeln('</table>');
*/
  }
}

<!-- ========== Preload der Aktuell-Bitmaps fuer das Hauptmenue ========== -->

function preload_bitmaps()
{
  document.writeln('<table width=1 height=1 border=0 cellpadding=0 cellspacing=0>');
  document.writeln('  <tr>');
  document.writeln('    <td align=center valign=center>'); 
  document.writeln('      <img src = "./images/mnu_brautkleider_s.gif" width=1 height=1 border=0>'); 
  document.writeln('      <img src = "./images/mnu_elvis_s.gif" width=1 height=1 border=0>'); 
  document.writeln('      <img src = "./images/mnu_erinnerungen_s.gif" width=1 height=1 border=0>'); 
  document.writeln('      <img src = "./images/mnu_fragen_s.gif" width=1 height=1 border=0>'); 
  document.writeln('      <img src = "./images/mnu_gaestebuch_s.gif" width=1 height=1 border=0>'); 
  document.writeln('      <img src = "./images/mnu_harley_s.gif" width=1 height=1 border=0>'); 
  document.writeln('      <img src = "./images/mnu_heli_s.gif" width=1 height=1 border=0>'); 
  document.writeln('      <img src = "./images/mnu_hochzeiten_s.gif" width=1 height=1 border=0>'); 
  document.writeln('      <img src = "./images/mnu_jubilaeen_s.gif" width=1 height=1 border=0>'); 
  document.writeln('      <img src = "./images/mnu_klassisch_s.gif" width=1 height=1 border=0>'); 
  document.writeln('      <img src = "./images/mnu_kontakt_s.gif" width=1 height=1 border=0>'); 
  document.writeln('      <img src = "./images/mnu_kosmetik_s.gif" width=1 height=1 border=0>'); 
  document.writeln('      <img src = "./images/mnu_nach_oben_s.gif" width=1 height=1 border=0>'); 
  document.writeln('      <img src = "./images/mnu_ringe_s.gif" width=1 height=1 border=0>'); 
  document.writeln('      <img src = "./images/mnu_specials_s.gif" width=1 height=1 border=0>'); 
  document.writeln('      <img src = "./images/mnu_themen_s.gif" width=1 height=1 border=0>'); 
  document.writeln('      <img src = "./images/mnu_ueberblick_s.gif" width=1 height=1 border=0>'); 
  document.writeln('      <img src = "./images/mnu_news_s.gif" width=1 height=1 border=0>'); 
  document.writeln('      <img src = "./images/mnu_documents_s.gif" width=1 height=1 border=0>'); 
  document.writeln('    </td>');
  document.writeln('  </tr>');
  document.writeln('</table>');
}

<!-- ========== Seite ohne controls in eigenem Fenster oeffnen ========== -->

function Open_NewWindow(purl, pwidth, pheight) 
{
  var params;

  params = "width = " + pwidth + ", height = " + pheight;

  OpenWin = open(purl, "AddWindow", params, "toolbar=no,menubar=no,location=no,scrollbars=yes,resize=no,dependent=yes");
}

<!-- ========== Seite in eigenem Fenster oeffnen ========== -->

function Open_NewBrowserWindow(purl) 
{
  NewBrowserWindow = open(purl, "AddWindow");
}

<!-- ========== Formular für Gaestebuch ausgeben ========== -->

function show_gaestebuch_form()
{

  <!-- Die Breite der Formularfelder wird beim Explorer und beim Navigator unterschiedlich interpretiert. -->
  <!-- daher wird hier je nach Browser eine Konstante gesetzt -->

  var the_width  = 30;
  var the_width2 = 30;

  if (GetBrowserName() == "M")
  {
    the_width = 47;
    the_width2 = 40;
  }

  document.writeln('<form method="POST" action="./cgi-bin/bnbbook.pl">');
  document.writeln('  <table border=0 cellpadding=0 cellspacing=0 width=100%>');
  document.writeln('    <tr><td><b>Name:</b></td></tr>');
  document.writeln('    <tr><td>&nbsp;&nbsp;&nbsp;<input name="name" type="TEXT" size=' + the_width + ' maxlength=100></td></tr>');

  document.writeln('    <tr><td><b>eMail-Adresse:</b></td></tr>');
  document.writeln('    <tr><td>&nbsp;&nbsp;&nbsp;<input name="signer_email" type="TEXT" size=' + the_width + ' maxlength=100></td></tr>');

  document.writeln('    <tr><td><b>Ort:</b></td></tr>');
  document.writeln('    <tr><td>&nbsp;&nbsp;&nbsp;<input name="city" type="TEXT" size=' + the_width + ' maxlength=100></td></tr>');

  document.writeln('    <tr><td><b>Land:</b></td></tr>');
  document.writeln('    <tr><td>&nbsp;&nbsp;&nbsp;<input name="country" type="TEXT" size=' + the_width + ' maxlength=100></td></tr>');

  document.writeln('    <tr><td><b>Homepage:</b></td></tr>');
  document.writeln('    <tr><td>&nbsp;&nbsp;&nbsp;<input name="url" type="TEXT" size=' + the_width + ' maxlength=100></td></tr>');

  document.writeln('    <tr><td><b>Wie haben Sie uns gefunden?</b></td></tr>');
  document.writeln('    <tr>');
  document.writeln('      <td>&nbsp;&nbsp;&nbsp;'); 
  document.writeln('        <select name="howfound">');
  document.writeln('          <option value="Ich weiss nicht mehr" selected>');
  document.writeln('                         Ich weiss nicht mehr');
  document.writeln('          <option value="Suchmaschine">');
  document.writeln('                         Suchmaschine');
  document.writeln('          <option value="Durch einen Querverweis">');
  document.writeln('                         Durch einen Querverweis');
  document.writeln('          <option value="Mundpropaganda">');
  document.writeln('                         Mundpropaganda');
  document.writeln('          <option value="Sie machen Witze, oder? Per Computer!">');
  document.writeln('                         Sie machen Witze, oder? Per Computer!');
  document.writeln('        </select>');
  document.writeln('      </td>');
  document.writeln('    </tr>');

 
<!-- keinen Gästebucheintrag als "private" eMail zulassen -->
  document.writeln('    <input type="HIDDEN" name="private" value="NO">');

/*
<!--   document.writeln('    <tr><td><b>Ist dies eine private Nachricht?</b></td></tr>'); -->
<!--   document.writeln('    <tr>'); -->
<!--   document.writeln('      <td>&nbsp;&nbsp;&nbsp;'); -->
<!--   document.writeln('        <select name="private">'); -->
<!--   document.writeln('          <option value="NO" selected>Nein'); -->
<!--   document.writeln('          <option value="YES">Ja'); -->
<!--   document.writeln('        </select>'); -->
<!--   document.writeln('      </td>'); -->
<!--   document.writeln('    </tr>'); -->
*/
    
  document.writeln('    <tr><td><b>Ihre Nachricht an Gisela:</b></td></tr>');
  document.writeln('    <tr>');
  document.writeln('      <td>&nbsp;&nbsp;&nbsp;');
  document.writeln('        <textarea name="message" wrap=virtual rows=6 cols=' + the_width2 + '></textarea>');
  document.writeln('        <input type="HIDDEN" name="REQUIRED" value="name,message">');
  document.writeln('        <br><br>');
  document.writeln('        &nbsp;&nbsp;&nbsp;<input type= image src="./images/btn_absenden_s.gif" border=0 alt= "Button: Absenden">');
  document.writeln('        <br>');
  document.writeln('      </td>');
  document.writeln('    </tr>');

  document.writeln('  </table>');
  document.writeln('</form>');
}



/* ************************************************************************************************************ */
/* *****                                                                                                  ***** */
/* **************************************** Button "Nach oben" ************************************************ */ 
/* *****                                                                                                  ***** */
/* ************************************************************************************************************ */


/* **** START Definition globale Variablen. Belegung in SUstart */

  var SUlogoloc=""; 
  var SUlogo=new Image(); 
/*  SUlogo.src=SUlogoloc; */
/*  var SUlogolink="#top"; */
/*  var SUtarget="Haupttext"; */
/*  var SUheight=26; */
/*  var SUwidth=31; */
/*  var SUalttext=""; */
/*  var SUvd=0; */
  var SUcorner;           
  var SUxspace;             
  var SUyspace;          
  var SUfloater;   
  var SUspeed;     
  var SUzindx;  
/* ***** Start LA ***** */
  var SUpic_no;
  var SUmin_y;
  var SUlogolocMO=""; 
  var SUlogoMO=new Image(); 
  var SUprefix;
/* ***** Ende  LA ***** */

/* **** ENDE  Definition globale Variablen */


var SU_brwsr;
var SU_AN=navigator.appName;
var SU_AV=navigator.appVersion;
var SU_IE=(SU_AN=="Microsoft Internet Explorer")?1:0;
var SU_NS=(SU_AN=="Netscape")?1:0;
var SU_Mac=(SU_AV.indexOf("Mac")!=-1)?1:0;
var SU_Ver=(SU_Mac && SU_IE)?parseInt(SU_AV.substring(22)):parseInt(SU_AV);
var SU_IE5m=(SU_IE && SU_Mac && SU_Ver>=5)?1:0;

if((SU_IE && SU_Ver>=4 && !SU_Mac) || SU_IE5m) SU_brwsr=0; else if(SU_NS && SU_Ver>=4 && SU_Ver<5) SU_brwsr=1; else if(SU_NS && SU_Ver>=5) SU_brwsr=2;

var SUlastx;
var SUlasty;
var SUInt;
SUstylestr ='<style type="text/css">';
SUstylestr+='#stickup{';
SUstylestr+='position:absolute;';
SUstylestr+='left:-400;';
SUstylestr+='z-index:'+SUzindx+';';
SUstylestr+='visibility:'+((SU_brwsr==1)?'hide':'hidden')+';';
SUstylestr+='}';
SUstylestr+='</style>';

document.write(SUstylestr);


function SU_getObj(n)
{
  switch(SU_brwsr)
  {
    case 0: 
      return document.all(n);
    case 1: 
      return eval('document.'+n);
    case 2: return document.getElementById(n);
  }
}

function SUgetScrollX()
{
  switch(SU_brwsr)
  {
    case 0: 
      return document.body.scrollLeft;
    case 1: 
    case 2: 
      return pageXOffset;
  }
}

function SUgetScrollY()
{
  switch(SU_brwsr)
  {
    case 0: 
      return document.body.scrollTop;
    case 1: 
    case 2: 
      return pageYOffset;
  }
}

function SUgetWidth()
{
  var obj=SU_getObj('stickup');
  
  switch(SU_brwsr)
  {
    case 0: 
      return obj.style.pixelWidth;
    case 1: 
      return obj.document.width;
    case 2:
      return parseInt(obj.style.width);
  }
}

function SUgetHeight()
{
  var obj=SU_getObj('stickup');
  switch(SU_brwsr)
  {
    case 0: 
      return obj.style.pixelHeight;
    case 1: 
      return obj.document.height;
    case 2: 
      return parseInt(obj.style.height);
  }
}

function SUgetWinWidth()
{
  switch(SU_brwsr)
  {
    case 0: 
      return document.body.clientWidth;
    case 1: 
    case 2:
      return window.innerWidth;
  }
}

function SUgetWinHeight()
{
  switch(SU_brwsr)
  {
    case 0: 
      return document.body.clientHeight;
    case 1: 
    case 2: 
      return window.innerHeight;
  }
}

function SUsetLast()
{
  SUlastx=SUxPos();
  SUlasty=SUyPos();
}

function SUhide()
{
  var obj=SU_getObj('stickup');
  switch(SU_brwsr)
  {
    case 0: 
    case 2: 
      obj.style.visibility='hidden';
      break;
    case 1: 
      obj.visibility='hide';
      break;
  }
}

function SUshow()
{
  var obj=SU_getObj('stickup');
  switch(SU_brwsr)
  {
    case 0: 
    case 2: 
      obj.style.visibility='visible';
      break;
    case 1: 
      obj.visibility='show';
      break;
  }
}

function SUmoveTo(x,y)
{
  var obj=SU_getObj('stickup');
  switch(SU_brwsr)
  {
    case 0: 
    case 2:
      obj.style.left=x;
      obj.style.top=y;
      break;
    case 1:
      obj.left=x;
      obj.top=y;
      break;

  }

/* ***** Start LA ***** */
/* wenn die Y-Position des Buttons kleiner ist als die kleinste definierte Position, dann nicht zeigen */
  if (y <= SUmin_y)
  { 
    SUhide();
  }
  else
  {
    SUshow();
  }
/* ***** Ende  LA ***** */
}

function SUstart()
{
/* **** START Belegung globale Variablen */
  SUlogoloc=SUprefix+"./images/mnu_nach_oben_r.gif";   /* Image für Button "Nach oben" */
  SUlogo=new Image(140,25);
  SUlogo.src=SUlogoloc;

  SUlogolocMO=SUprefix+"./images/mnu_nach_oben_s.gif"; /* Image für onmouseover */
  SUlogoMO=new Image(140,25);
  SUlogoMO.src=SUlogolocMO;

  SUlogolink="#top";
  SUtarget="";
  SUheight=25;
  SUwidth=140;
  SUalttext="Menue Nach oben";
  SUcorner=1;
  SUvd=0;
  SUxspace=8;
  SUyspace=5;
  SUfloater=1;
  SUspeed=200;
  SUzindx=150;
  SUmin_y=620; /* kleinste erlaubte X-Position */
/* **** ENDE Belegung globale Variablen */

  var SUhref=(SUlogolink)?"<a href=\""+SUlogolink+"\" target=\""+SUtarget+"\" onmouseover = \"status=''; document.images["+SUpic_no+"].src='"+SUlogoMO.src+"'; return true;\" onmouseout = \"status=''; document.images["+SUpic_no+"].src='"+SUlogo.src+"'; return true;\">":"";
  var SUa=(SUlogolink)?"</a>":"";
  var SUimglnk=SUhref+'<img src="'+SUlogo.src+'" border=0 alt="'+SUalttext+'">'+SUa;
  document.write("<div id=\"stickup\">"+SUimglnk+"</div>");
  if(SU_brwsr!=1)
  {
    var obj=SU_getObj('stickup');
    obj.style.width=SUwidth;
    obj.style.height=SUheight;
  }
  SUsetLast();
  SUmoveTo(SUxPos(),SUyPos());
/*  SUshow();   */  /* auskommentiert, weil SUmoveto() jetzt einen Aufruf SUshow() besitzt */
  if(SUvd!=0) setTimeout("SUstop();",SUvd*1000);
  SUInt=setInterval("SUcheck();",25);
}

function SUstop()
{
  clearInterval(SUInt);
  SUhide();
}

function SUcheck()
{
  if(SUlastx!=SUxPos() || SUlasty!=SUyPos())
  {
    if(!SUfloater)
    {
      SUmoveTo(SUxPos(),SUyPos());
      SUsetLast();
    }
    else
    {
      SUfloat();
    }
  }
}

function SUfloat()
{
  SUw=SUlastx;
  SUh=SUlasty;
  SUml=SUw-SUxPos();
  SUmt=SUh-SUyPos();
  if(SUml!=0)
  {
    SUmla=Math.abs(SUml);
    if(SUml==SUmla)
    {
      if(SUml<=SUspeed)
      {
        SUw--;
      }
      else
      {
        SUw=SUw-SUspeed;
      }
    }
    else
    {
      if(SUml>=-SUspeed)
      {
        SUw++;
      }
      else
      {
        SUw=SUw+SUspeed;
      }
    }
  }
  if(SUmt!=0)
  {
    SUmta=Math.abs(SUmt);
    if(SUmt==SUmta)
    {
      if(SUmt<=SUspeed)
      {
        SUh--;
      }
      else
      {
        SUh=SUh-SUspeed;
      }
    }
    else
    {
    if(SUmt>=-SUspeed)
      {
        SUh++;
      }
      else
      {
        SUh=SUh+SUspeed;
      }
    }
  }
  SUlastx=SUw;
  SUlasty=SUh;
  SUmoveTo(SUw,SUh);
}

function SUxPos()
{
  switch(SUcorner)
  {
    case 0: 
      return SUgetScrollX()+SUgetWinWidth()-SUgetWidth()-((SU_brwsr!=0)?20:0)-SUxspace;
    case 1: 
      return SUgetScrollX()+SUxspace;
    case 2: 
      return SUgetScrollX()+SUgetWinWidth()-SUgetWidth()-((SU_brwsr!=0)?20:0)-SUxspace;
    case 3: 
     return SUgetScrollX()+SUxspace;
  }
}

function SUyPos()
{
  switch(SUcorner)
  {
    case 0: 
      return SUgetScrollY()+SUgetWinHeight()-SUgetHeight()-((SU_brwsr!=0)?20:0)-SUyspace;
    case 1: 
      return SUgetScrollY()+SUgetWinHeight()-SUgetHeight()-((SU_brwsr!=0)?20:0)-SUyspace;
    case 2: 
      return SUgetScrollY()+SUyspace;
    case 3:  
      return SUgetScrollY()+SUyspace;
  }
}

function getOsterSonntag(Jahr, TagesDifferenz)
{ // Erstellt von Ralf Pfeifer (www.arstechnica.de)
  // Falls kein Datum angegeben, aktuelles Jahr verwenden.
  if ((Jahr == "") || (Jahr == null)) { Jahr = new Date().getYear() }

  // Falls ausserhalb des gültigen Datumsbereichs, kein Ergebnis zurueckgeben
  if ((Jahr < 1970) || (2099 < Jahr)) {  return "Datum muss zwischen 1970 und 2099 liegen"; }

  // Falls keine TagesDifferenz angegeben, TadgesDifferenz auf 0 setzen.
  if ((TagesDifferenz == "") || (TagesDifferenz == null)) { TagesDifferenz = 0; }

  var a = Jahr % 19;
  var d = (19 * a + 24) % 30;
  var Tag = d + (2 * (Jahr % 4) + 4 * (Jahr % 7) + 6 * d + 5) % 7;
  if ((Tag == 35) || ((Tag == 34) && (d == 28) && (a > 10))) { Tag -= 7; }

  var OsterDatum = new Date(Jahr, 2, 22)
  // 86400000 = 24 h * 60 min * 60 s * 1000 ms
  // Die Zahl 86400000 nicht ausklammern, sonst gibt's Probleme bei der Typumwandlung !!
  OsterDatum.setTime(OsterDatum.getTime() + 86400000 * TagesDifferenz + 86400000 * Tag)

  // Uhrzeit aus dem Datum entfernen
//  OsterDatum = OsterDatum.toLocaleString()
//  OsterDatum = OsterDatum.substring(0, OsterDatum.length - 9);
  
  return OsterDatum;



//  Feiertage - Differenz zu Ostern
//  -------------------------------
//  Weiberfastnacht -52 
//  Rosenmontag -48 
//  Fastnachtsdienstag -47 
//  Aschermittwoch -46 
//  Gründonnerstag -3 
//  Karfreitag -2 
//  Ostersonntag 0 
//  Ostermontag +1 
//  Christi Himmelfahrt +39 
//  Pfingstsonntag +49 
//  Pfingstmontag +50 
//  Fronleichnam +60 
 

} // -->


// ----------------------------------------------------------------------------
// Jahreszeit ermitteln                                                  
// ----------------------------------------------------------------------------
//
//   W = Winter
//   F = Frühling
//   S = Sommer
//   H = Herbst
//
// ----------------------------------------------------------------------------
function getJahreszeit() 
{
  var today = new Date();
  var m = today.getMonth()+1;
  var d = today.getDate();

  if ((m < 3) || ( (m == 3) && (d < 20) ) || ((m==12) && ( d > 20)))
    return 'W';      // Winter
  else if ((m < 6) || ( (m == 6) && (d < 21)))
    return 'F';      // Frühling
  else if ((m < 9) || ((m==9) && (d < 23)))
    return 'S';      // Sommer
  else
   return 'H';       // Herbst
}

// ----------------------------------------------------------------------------
// Tagesdifferenz zwischen zwei Datumsvariablen ermitteln                                                  
// ----------------------------------------------------------------------------
function getDatumsdifferenz(Datum1, Datum2)
{
  var ms1 = Date.parse(Datum1);
  var ms2 = Date.parse(Datum2);

  var diff = ms2 - ms1;

  diff = parseInt(diff / 86400000);

  return diff;
}


// ----------------------------------------------------------------------------
// Seite nach <timeoutPeriod> MS neu aufbauen                                    
// ----------------------------------------------------------------------------
function timedRefresh(timeoutPeriod) 
{
  setTimeout("location.reload(true);",timeoutPeriod);
}


