//**************************************************************************// Ticker - textTicker() is loaded in init functionvar tickerMax=0;function tickerTextList() {  tickerMax=tickerTextList.arguments.length;  for (i=0; i<tickerMax; i++)    this[i]=tickerTextList.arguments[i];}tickerTextList1=new tickerTextList(  /* Maximal 72 Zeichen   123456789012345678901234567890123456789012345678901234567890123456789012   */         );var x=0; pos=0;var l=tickerTextList1[0].length;tickerInitialized = false;function textTicker() {      if (typeof(top.Content.Hauptseite.document.fticker) == 'undefined') {    if (!tickerInitialized) {      setTimeout("textTicker()",50);    }  } else if (typeof(top.Content.Hauptseite.document.fticker.iticker) == 'undefined') {    if (!tickerInitialized) {      setTimeout("textTicker()",50);    }  } else {    tickerInitialized = true;    top.Content.Hauptseite.document.fticker.iticker.value=tickerTextList1[x].substring(0,pos)+" ";    if(pos++==l) {      pos=0;      setTimeout("textTicker()",1000);      x++;      if(x==tickerMax)        x=0;      l=tickerTextList1[x].length;    } else {      setTimeout("textTicker()",50);    }  }}//**************************************************************************// General functions//**************************************************************************// Checks if browser is Navigator 3.x (or higher) or MSIE 4.x (or higher)function browserSupported() {  var BrowserName = navigator.appName;  var BrowserRelease = navigator.appVersion;  var BrowserVersion = parseInt(BrowserRelease.substring(0,1));  if (((BrowserName == "Netscape") && (BrowserVersion >= 3)) || ((BrowserName == "Microsoft Internet Explorer") && (BrowserVersion >= 4))) {    return (true);  } else {    return (false);  }}//**************************************************************************// Checks if browser is Navigator 3.x (or higher) or MSIE 3.x (or higher)function browser2Supported() {  // Allowed browser: Navigator 3.x (or higher) or MSIE 3.x (or higher)  var BrowserName = navigator.appName;  var BrowserRelease = navigator.appVersion;  var BrowserVersion = parseInt(BrowserRelease.substring(0,1));  // alert ("BrowserName: " + navigator.appName);  // alert ("BrowserRelease: " + navigator.appVersion);  // alert ("BrowserVersion: " + parseInt(navigator.appVersion.substring(0,1)));  if (((BrowserName == "Netscape") && (BrowserVersion >= 3)) || ((BrowserName == "Microsoft Internet Explorer") && (BrowserVersion >= 3))) {    return (true);  } else {    return (false);  }}//**************************************************************************// Checks if browser is MSIE 4.x (or higher)function MSIESupported() {  var BrowserName = navigator.appName;  var BrowserRelease = navigator.appVersion;  var BrowserVersion = parseInt(BrowserRelease.substring(0,1));  if ((BrowserName == "Microsoft Internet Explorer") && (BrowserVersion >= 4)) {    return (true);  } else {    return (false);  }}//**************************************************************************// Load an imagefunction loadImg(name,img) {  // name: Image name; use: <img name=image_name>  // img:  Image to be loaded (must be loaded while onLoad); use: img = new Image; img.src = "image.gif";  if (browserSupported() == true) { eval("document." + name + ".src = " + img + ".src"); return; }}//**************************************************************************// Load an image in inhalt.htm according to the currently selected pagefunction loadIndexImg(selOpt) {  //alert (selOpt);  if (browserSupported() == true) {    if (typeof(top.InhaltFrame.Inhalt) != 'undefined') {      if (typeof(top.InhaltFrame.Inhalt.document.opthomepage) != 'undefined') {        top.InhaltFrame.Inhalt.document.opthomepage.src = knobdef.src; }      if (typeof(top.InhaltFrame.Inhalt.document.optmvsinfos) != 'undefined') {        top.InhaltFrame.Inhalt.document.optmvsinfos.src = knobdef.src; }      if (typeof(top.InhaltFrame.Inhalt.document.optanfahrt) != 'undefined') {        top.InhaltFrame.Inhalt.document.optanfahrt.src = knobdef.src; }      if (typeof(top.InhaltFrame.Inhalt.document.optsonst) != 'undefined') {        top.InhaltFrame.Inhalt.document.optsonst.src = knobdef.src; }      if (typeof(top.InhaltFrame.Inhalt.document.opthistorie) != 'undefined') {        top.InhaltFrame.Inhalt.document.opthistorie.src = knobdef.src; }      if (typeof(top.InhaltFrame.Inhalt.document.optlinks) != 'undefined') {        top.InhaltFrame.Inhalt.document.optlinks.src = knobdef.src; }      if (typeof(top.InhaltFrame.Inhalt.document.optsitemap) != 'undefined') {        top.InhaltFrame.Inhalt.document.optsitemap.src = knobdef.src; }      if (typeof(top.InhaltFrame.Inhalt.document.opthistsulz) != 'undefined') {        top.InhaltFrame.Inhalt.document.opthistsulz.src = knobdef.src; }      if (typeof(top.InhaltFrame.Inhalt.document.opttermine) != 'undefined') {        top.InhaltFrame.Inhalt.document.opttermine.src = knobdef.src; }      if (typeof(top.InhaltFrame.Inhalt.document.optpresse) != 'undefined') {        top.InhaltFrame.Inhalt.document.optpresse.src = knobdef.src; }      if (typeof(top.InhaltFrame.Inhalt.document.optguest) != 'undefined') {        top.InhaltFrame.Inhalt.document.optguest.src = knobdef.src; }      if (typeof(top.InhaltFrame.Inhalt.document.optcd) != 'undefined') {        top.InhaltFrame.Inhalt.document.optcd.src = knobdef.src; }      if (typeof(top.InhaltFrame.Inhalt.document.optinfosulz) != 'undefined') {        top.InhaltFrame.Inhalt.document.optinfosulz.src = knobdef.src; }      if (typeof(top.InhaltFrame.Inhalt.document.optimpressum) != 'undefined') {        top.InhaltFrame.Inhalt.document.optimpressum.src = knobdef.src; }      if (typeof(top.InhaltFrame.Inhalt.document.optintern) != 'undefined') {        top.InhaltFrame.Inhalt.document.optintern.src = knobdef.src; }      eval ("if (typeof(top.InhaltFrame.Inhalt.document.opt" + selOpt + ") != 'undefined') {top.InhaltFrame.Inhalt.document.opt" + selOpt + ".src = knobred.src}");    } else if (typeof(top._redirectdinhalt.InhaltFrame.Inhalt) != 'undefined') {      // This will happen if the original homepage is shown in a frame (for instance via expressoweb.de)      // Frame 0 is _redirectdinhalt      if (typeof(top._redirectdinhalt.InhaltFrame.Inhalt.document.opthomepage) != 'undefined') {        top._redirectdinhalt.InhaltFrame.Inhalt.document.opthomepage.src = knobdef.src; }      if (typeof(top._redirectdinhalt.InhaltFrame.Inhalt.document.optmvsinfos) != 'undefined') {        top._redirectdinhalt.InhaltFrame.Inhalt.document.optmvsinfos.src = knobdef.src; }      if (typeof(top._redirectdinhalt.InhaltFrame.Inhalt.document.optanfahrt) != 'undefined') {        top._redirectdinhalt.InhaltFrame.Inhalt.document.optanfahrt.src = knobdef.src; }      if (typeof(top._redirectdinhalt.InhaltFrame.Inhalt.document.optsonst) != 'undefined') {        top._redirectdinhalt.InhaltFrame.Inhalt.document.optsonst.src = knobdef.src; }      if (typeof(top._redirectdinhalt.InhaltFrame.Inhalt.document.opthistorie) != 'undefined') {        top._redirectdinhalt.InhaltFrame.Inhalt.document.opthistorie.src = knobdef.src; }      if (typeof(top._redirectdinhalt.InhaltFrame.Inhalt.document.optlinks) != 'undefined') {        top._redirectdinhalt.InhaltFrame.Inhalt.document.optlinks.src = knobdef.src; }      if (typeof(top._redirectdinhalt.InhaltFrame.Inhalt.document.optsitemap) != 'undefined') {        top._redirectdinhalt.InhaltFrame.Inhalt.document.optsitemap.src = knobdef.src; }      if (typeof(top._redirectdinhalt.InhaltFrame.Inhalt.document.opthistsulz) != 'undefined') {        top._redirectdinhalt.InhaltFrame.Inhalt.document.opthistsulz.src = knobdef.src; }      if (typeof(top._redirectdinhalt.InhaltFrame.Inhalt.document.opttermine) != 'undefined') {        top._redirectdinhalt.InhaltFrame.Inhalt.document.opttermine.src = knobdef.src; }      if (typeof(top._redirectdinhalt.InhaltFrame.Inhalt.document.optpresse) != 'undefined') {        top._redirectdinhalt.InhaltFrame.Inhalt.document.optpresse.src = knobdef.src; }      if (typeof(top._redirectdinhalt.InhaltFrame.Inhalt.document.optguest) != 'undefined') {        top._redirectdinhalt.InhaltFrame.Inhalt.document.optguest.src = knobdef.src; }      if (typeof(top._redirectdinhalt.InhaltFrame.Inhalt.document.optcd) != 'undefined') {        top._redirectdinhalt.InhaltFrame.Inhalt.document.optcd.src = knobdef.src; }      if (typeof(top._redirectdinhalt.InhaltFrame.Inhalt.document.optinfosulz) != 'undefined') {        top._redirectdinhalt.InhaltFrame.Inhalt.document.optinfosulz.src = knobdef.src; }      if (typeof(top._redirectdinhalt.InhaltFrame.Inhalt.document.optimpressum) != 'undefined') {        top._redirectdinhalt.InhaltFrame.Inhalt.document.optimpressum.src = knobdef.src; }      if (typeof(top._redirectdinhalt.InhaltFrame.Inhalt.document.optintern) != 'undefined') {        top._redirectdinhalt.InhaltFrame.Inhalt.document.optintern.src = knobdef.src; }      eval ("if (typeof(top._redirectdinhalt.InhaltFrame.Inhalt.document.opt" + selOpt + ") != 'undefined') {top._redirectdinhalt.InhaltFrame.Inhalt.document.opt" + selOpt + ".src = knobred.src}");    }  }  return}    //**************************************************************************// Initialize (do all needed stuff when loading a page)function init (strRelative) {  if (browserSupported() == true) {    if (typeof (strRelative) == 'undefined') {      strRelative = "";    }    // Preload images    seenext = new Image; seenext.src = strRelative + "images/seenext.gif";    seeprev = new Image; seeprev.src = strRelative + "images/seeprev.gif";    seeabove = new Image; seeabove.src = strRelative + "images/seeabove.gif";    seebelow = new Image; seebelow.src = strRelative + "images/seebelow.gif";    seenext2 = new Image; seenext2.src = strRelative + "images/seenext2.gif";    seeprev2 = new Image; seeprev2.src = strRelative + "images/seeprev2.gif";    seeabove2 = new Image; seeabove2.src = strRelative + "images/seeabov2.gif";    seebelow2 = new Image; seebelow2.src = strRelative + "images/seebelo2.gif";    knobdef = new Image; knobdef.src = strRelative + "images/knob.gif";    knobred = new Image; knobred.src = strRelative + "images/knobred.gif";    knobgreen = new Image; knobgreen.src = strRelative + "images/knobgren.gif";    knobboth = new Image; knobboth.src = strRelative + "images/knobboth.gif";    emaildef = new Image; emaildef.src = strRelative + "images/email.gif";    email2 = new Image; email2.src = strRelative + "images/email2.gif";    textTicker();  }}//**************************************************************************// Functions used in presse*.htm//**************************************************************************//**************************************************************************// Initialize (do all needed stuff when loading a page)function initPress (strRelative) {  if (typeof (strRelative) == 'undefined') {    strRelative = "";  }  init (strRelative);  if (browserSupported() == true) {    // Preload images    cddef = new Image; cddef.src = strRelative + "images/cdjubi1998/cd_icon1.gif";    cdgreen = new Image; cdgreen.src = strRelative + "images/cdjubi1998/cd_icon2.gif";  }}//**************************************************************************// Functions used in inhalt.htm//**************************************************************************//**************************************************************************// Initialize (do all needed stuff when loading a page)function initNavig (strRelative) {  if (typeof (strRelative) == 'undefined') {    strRelative = "";  }  init (strRelative);  if (browserSupported() == true) {    // Preload images    emaildef = new Image; emaildef.src = strRelative + "images/email.gif";    email2 = new Image; email2.src = strRelative + "images/email2.gif";  }}//**************************************************************************// Do toggling between green and red dotsfunction loadMouseOver(selOpt) {  if (browserSupported() == true) {    if (selOpt == "email") {      document.optemail.src = email2.src;      return;    }    eval ("imgName = document.opt" + selOpt + ".src");    if (imgName != knobred.src) {      eval ("document.opt" + selOpt + ".src = knobgreen.src");    } else {      eval ("document.opt" + selOpt + ".src = knobboth.src");    }    return;  }  return}    //**************************************************************************// Do toggling between green and red dotsfunction loadMouseOut(selOpt) {  if (browserSupported() == true) {        if (selOpt == "email") {      document.optemail.src = emaildef.src;      return;    }	eval ("imgName = document.opt" + selOpt + ".src");    if (imgName == knobgreen.src) {      eval ("document.opt" + selOpt + ".src = knobdef.src");    } else {      eval ("document.opt" + selOpt + ".src = knobred.src");    }    return;  }  return}    //**************************************************************************// Utilities//**************************************************************************//**************************************************************************// Sort an array//// params//  arr   array to sort//  func  sort function of array (should return ?(item1 < item2) )//// return//  sorted array function sort (arr, func){  var i=0;  var j=1;    res = new simpleArray();                                                  // carbon copy original  res.length= arr.length;  for (i=0; i< arr.length; ++i)  {    res[i] = arr [i];  }    for (i=0; i< arr.length-1;++i)    for (j=i+1; j < arr.length;++j)    {      if (func(res[j],res[i]) )      {        var temp = res[i];                                                  // blub...        res[i] = res [j];        res [j] = temp;      }    }  return res;      }//**************************************************************************// Create an array objectfunction simpleArray() {	this.length = 0;  return this;}//**************************************************************************// Check browser versionfunction appVersion (){  return navigator.appVersion.substring(0,1);}//**************************************************************************// Check if client has Netscape Browserfunction isNetscape (){  return (this.navigator.appName == "Netscape");}//**************************************************************************// Check if client has Microsoft Browserfunction isMicro (){  var app = navigator.appName;  return (app == "Microsoft Internet Explorer") ||  (app == "");}//**************************************************************************// Check if client browser is Internet Explorer 3.xfunction isIE3(){  var app = navigator.appName;  var ver = navigator.appVersion;  return((app == '') ||(app == "Microsoft Internet Explorer") )  || //&&        ((ver == '') || (ver.substring(0,1)=='2'));}//**************************************************************************// Check if client browser is Netscape 3function isNS3(){  return isNetscape() && appVersion()=='3';}//**************************************************************************// Check if client browser is Netscape 4function isNS4(){  return isNetscape() && appVersion()=='4';}//**************************************************************************// Check if client browser is Microsoft 4function isMS4(){  return isMicro() && appVersion()=='4';}//**************************************************************************// Check if an object is definedfunction isdef (obj){ return typeof (obj)!='' && typeof (obj)!='undefined';}//**************************************************************************// isobj// checks if the parameter is an object function isobj (obj){ return isdef (obj) && typeof (obj) =='object';}//**************************************************************************// Checks if an object is defined and if it has the property locationfunction isframe (obj){  return isobj(obj) && isdef(obj.location) && isdef(obj.location.href);}//**************************************************************************// Split a string by given character and returns elements as array//// param//  text: string to split//  find: delimiter function split (text, find){  var res = new simpleArray();                                              // create result array  if (text.length==0) return res;                                           // if emtpy string return emtpy array    while (text.length!=0)                                                    // while string contains something  {    var index = text.indexOf (find);                                        // find seperator string    if (index != -1)    {      res[res.length] = text.substring (0,index);                           // split it off and fill into array      res.length+=1;      text = text.substring (index+find.length,32767);                      // reduce string by split off part    } else    {     res[res.length] = text;                                                // no seperator -> rest is result     res.length+=1;     text='';    }  }  return res;}//**************************************************************************// Open a new browser window//// params//  name           window name//  loc            location to load into window//  winWidth       window width//  winHeight      window height//  hasScrollbars  1 = window has scrollbars//  hasLocationbar 1 = window has locationbar//  hasMenubar     1 = window has menubar//  hasStatus      1 = window has status line//  isResizable    1 = window is resizable//  isDependent    1 = window depends on parent window (if parent window will be closed, this window will be closed, too)// // return//  new window objectfunction openWin (name, loc, winWidth, winHeight, hasScrollbars, hasLocationbar, hasMenubar,                   hasStatus, isResizable, isDependent){  // Calculate centralized left upper window corner  posHor = (screen.width/2) - (winWidth/2);  posVer = (screen.height/2) - (winHeight/2);  params = "width=" + winWidth + ",height=" + winHeight + ",scrollbars=" + hasScrollbars + ",status=" + hasStatus           + ",locationbar=" + hasLocationbar + ",menubar=" + hasMenubar + ",resizable=" + isResizable           + ",dependent=" + isDependent;  if (isMicro()) {    newWin = window.open (loc, name, params);    newWin.moveTo (posHor, posVer);  } else {    // Netscape and other browsers (JavaScript 1.2 compatible)    newWin = window.open (loc, name, params + ",screenX=" + posHor + ",screenY=" + posVer);  }  newWin.focus();  return;}//**************************************************************************// Sitemap list//// params//  strGoTo        address (if it starts with NEWWINDOW: the address will be opened in a new browser window// // return//  nothingfunction siteMap(strGoTo) {   SiteMapList.selectedIndex = 0;   if ((strGoTo != "") && (strGoTo != " ") && (strGoTo != "CHAPTER") && (strGoTo != "SEPARATOR") && (strGoTo.substring(0,10) != "NEWWINDOW:")) {     parent.Hauptseite.location.href=strGoTo;   } else {     if (strGoTo == "CHAPTER") {     	alert ("Grau hinterlegte Eintr?ge k?nnen nicht angew?hlt werden.\n\nLines with gray background cannot be selected.");     } else if (strGoTo == "SEPARATOR") {     	alert ("Schwarz hinterlegte Zeilen k?nnen nicht angew?hlt werden.\n\nYou cannot select the black lines.");     } else if (strGoTo.substring(0,10) == "NEWWINDOW:") {       strAdr = strGoTo.substr(10,(strGoTo.length-10));       //alert ("Adress: " + strAdr);       //openWin ("glossar", strAdr, window.width, window.height, 1, 1, 1, 1, 1, 0)       newWin = window.open (strAdr, "glossar", "");       newWin.focus();     } else if ((strGoTo == "") || (strGoTo == " ")) {     	alert ("Leere Eintr?ge k?nnen nicht angew?hlt werden.\n\nYou cannot select empty lines.");     }   }}//**************************************************************************// Protect email addresses against harvesters (if they cannot execute JavaScript)//// params//  strPart1        part #1 of email address//  strPart2        part #2 of email address//  strPart3        part #3 of email address//  strPart4        part #4 of email address//  strView         Alternate string for viewing//  strAddParam     Additional parameters for mailto address// strPart2 and strPart3 will be separated with a @ sign.// // return//  nothingfunction protEM(strPart1, strPart2, strPart3, strPart4, strView, strAddParam) {  if (strAddParam.length == 0) {    document.write('<a href="mailto:' + strPart1 + strPart2 + '@' + strPart3 + strPart4 + '">');  } else {    document.write('<a href="mailto:' + strPart1 + strPart2 + '@' + strPart3 + strPart4 + '?' + strAddParam + '">');  }  if (strView.length == 0) {    document.write(strPart1 + strPart2 + '@' + strPart3 + strPart4 + '</a>');  } else {    document.write(strView + '</a>');  }}function protEMinfoInhalt() {  document.write("<td class=\"indexImg\" valign=\"top\"><a href=\"mailto:info@mv-sulzbach.de\" class=\"indexImg\" onmouseover=\"loadMouseOver('email')\" onmouseout=\"loadMouseOut('email')\"><img src=\"images/email.gif\" alt=\"E-Mail an Info-Account\" align=\"top\" border=\"0\" name=\"optemail\" width=\"18\" height=\"14\"></a></td>");  document.write("<td class=\"index\" valign=\"top\"><a href=\"mailto:info@mv-sulzbach.de\" class=\"index\" onmouseover=\"loadMouseOver('email')\" onmouseout=\"loadMouseOut('email')\">E-Mail</a></td>");}function protEMmvsInfos11() {  document.write("<a href=\"mailto:info@mv-sulzbach.de?\" onmouseover=\"loadImg('email1','email2')\" onmouseout=\"loadImg('email1','emaildef')\"><img src=\"images/email.gif\" alt=\"E-Mail an info@mv-sulzbach.de\" align=\"top\" border=\"0\" name=\"email1\" width=\"18\" height=\"14\"></a>");}function protEMmvsInfos12() {  document.write("<a href=\"mailto:info@mv-sulzbach.de\" onmouseover=\"loadImg('email1','email2')\" onmouseout=\"loadImg('email1','emaildef')\">Klicken Sie hier, wenn Sie weitere Informationen zum Musikverein w?nschen</a>");}function protEMmvsInfos21() {  document.write("<a href=\"mailto:jugend@mv-sulzbach.de\" onmouseover=\"loadImg('email2','email2')\" onmouseout=\"loadImg('email2','emaildef')\"><img src=\"images/email.gif\" alt=\"E-Mail an jugend@mv-sulzbach.de\" align=\"top\" border=\"0\" name=\"email2\" width=\"18\" height=\"14\"></a>");}function protEMmvsInfos22() {  document.write("<a href=\"mailto:jugend@mv-sulzbach.de\" onmouseover=\"loadImg('email2','email2')\" onmouseout=\"loadImg('email2','emaildef')\">Auch unsere Jugend ist via E-Mail erreichbar</a>");}function protEMmvsInfos31() {  document.write("<a href=\"mailto:webmaster@mv-sulzbach.de\" align=\"top\" border=\"0\" name=\"email3\" width=\"18\" height=\"14\"></a>");}function protEMmvsInfos32() {  document.write("<a href=\"mailto:webmaster@mv-sulzbach.de\" onmouseover=\"loadImg('email3','email2')\" onmouseout=\"loadImg('email3','emaildef')\">Falls Sie unserem Webmaster eine E-Mail schicken m?chten</a>");}// protEMclass is the same as protEM, however you can also specify a class to be used with A HREFfunction protEMclass(strPart1, strPart2, strPart3, strPart4, strView, strAddParam, strClass) {  if (strAddParam.length == 0) {    document.write('<a href="mailto:' + strPart1 + strPart2 + '@' + strPart3 + strPart4 + '" class="' + strClass + '">');  } else {    document.write('<a href="mailto:' + strPart1 + strPart2 + '@' + strPart3 + strPart4 + '?' + strAddParam + '" class="' + strClass + '">');  }  if (strView.length == 0) {    document.write(strPart1 + strPart2 + '@' + strPart3 + strPart4 + '</a>');  } else {    document.write(strView + '</a>');  }}//**************************************************************************// Generic functions// Do left trimmingfunction strTrimLeft (strText) {  while (strText.substr(0, 1) == " ") {    strText = strText.substr(1, strText.length);  }  return (strText);}// Do right trimmingfunction strTrimRight (strText) {  while (strText.substr((strText.length - 1), 1) == " ") {    strText = strText.substr(0, strText.length - 1);  }  return (strText);}// Do right and left trimmingfunction strTrim (strText) {  strText = strTrimLeft (strText);  strText = strTrimRight (strText);  return (strText);}// Check if strText contains a number (integer)function bCheckInt (strText) {  for (iCnt = 0; iCnt < strText.length; iCnt++) {    cText = strText.substr(iCnt, 1);    if ((cText != "0") && (cText != "1") && (cText != "2") &&        (cText != "3") && (cText != "4") && (cText != "5") &&        (cText != "6") && (cText != "7") && (cText != "8") &&        (cText != "9")) {        return (false);    }  }  return (true);}//=========================================// Alte Funktionenfunction howLong() {  if (browser2Supported() == true) {    Now = new Date();    var Day = Now.getDate();    // Month starts with 0 (=January)    var Month = Now.getMonth() + 1;    if ((Day > 4) && (Day < 9) && (Month == 6)) {      document.write ('<p align="center">DAS FEST L?UFT SCHON - NIX WIE HIN!!!</p>');      return;    }    if ((Month > 6) || ((Day > 8) && (Month == 6))) {      document.write ('<p align="center">Der Musikverein bedankt sich bei allen, die unser Jubil?umsfest besucht haben!!!</p>');      return;    }    var Currtime = Now.getTime() / 1000;    // Month starts with 0 (=January)    Fest = new Date(1998,5,5);    var Endtime = Fest.getTime() / 1000;    var Seconds = Math.floor(Endtime - Currtime);    var Minutes = Seconds / 60;    var Hours = Minutes / 60;    var Days = Hours / 24;    Seconds = parseInt(Seconds);    Minutes = parseInt(Minutes);    Hours = parseInt(Hours);    Days = parseInt(Days);    document.write ('<p align="center">');    document.write ("Noch " + Days + " Tage bzw. " + Hours + " Stunden bzw. " + Minutes + " Minuten bzw. " + Seconds + " Sekunden bis zum Fest!!!");    document.write ('</p>');  }}function greetings() {  if (browser2Supported() == true) {    Today = new Date();    var Day = Today.getDate();    // Month starts with 0 (=January)    var Month = Today.getMonth() + 1;    //document.write ('<p align="center">');    // January    //if ((Day == 11) && (Month == 1)) {    //  document.write ("Wir gratulieren heute Beatrice Brenner zu ihrem 45. Geburtstag!!!");    //}  }}