var menu_insert = '<IFRAME SRC="'+ "insert_menue.htm" + '"WIDTH="240" HEIGHT="400" NORESIZE="NORESIZE" SCROLLING="no" FRAMEBORDER="0" MARGINWIDTH="0"  NAME="left_com"></IFRAME>';
var menu2_insert = '<IFRAME SRC="'+ "insert_menue2.htm" + '"WIDTH="240" HEIGHT="555" NORESIZE="NORESIZE" SCROLLING="no" FRAMEBORDER="0" MARGINWIDTH="0"  NAME="left_com"></IFRAME>';
a=new Date();
a_hours = a.getHours();
a_month=1+a.getMonth();
a_year=a.getYear();
a_weekday=a.getDay();
a_day= a.getDate();
if (a_year < 1000)a_year= (a_year+1900);
var MoDiMi = new Array ("Sonntag", "Montag", "Dienstag", "Mittwoch","Donnerstag","Freitag","Samstag");
// ermitteln der Monate (Namen)
var JaFeMa = new Array ("Wundermonat", "Januar", "Februar", "März", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember"); 


var MoTuWe = new Array ("Sunday", "Monday", "Tuesday", "Wednesday","Thursday","Friday","Saturday");
// ermitteln der Monate (Namen)
var JaFeMy = new Array ("Wundermonat", "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"); 


monthdays = new Array(12);
monthdays[0]=31;
monthdays[1]=28;
monthdays[2]=31;
monthdays[3]=30;
monthdays[4]=31;
monthdays[5]=30;
monthdays[6]=31;
monthdays[7]=31;
monthdays[8]=30;
monthdays[9]=31;
monthdays[10]=30;
monthdays[11]=31;
var tagzeit;
var tagzeit_e;
var upcount = 0;
var countshape;
text_day = MoDiMi[a_weekday];
texte_day = MoTuWe[a_weekday];
text_d_sort=MoDiMi[a_weekday].substring(0,2);
text_month = JaFeMa[a_month];
texte_month = JaFeMy[a_month];
text_e_sort=MoTuWe[a_weekday].substring(0,2);
text_comp = " " +text_day + ", "+ a_day + ". " + text_month + " " +a_year;
texte_comp = " " +texte_day + ", "+ a_day + " " + texte_month + " " +a_year;
if (((a_year % 4 == 0) 
&& !(a_year % 100 == 0))
||(a_year % 400 == 0)) monthdays[1]++;
if ((a_hours >= 0) && (a_hours <= 5)) tagzeit_e = "Hallo";
if ((a_hours >= 6) && (a_hours <= 12)) tagzeit_e = "Hallo and good morning";
if ((a_hours >= 13) && (a_hours <= 17)) tagzeit_e = "Hallo and good afternoon";
if (a_hours >= 18) tagzeit_e = "Hallo and good evening";
if ((a_hours >= 0) && (a_hours <= 5)) tagzeit = "Hallo";
if ((a_hours >= 6) && (a_hours <= 12)) tagzeit = "Hallo und guten Morgen";
if ((a_hours >= 13) && (a_hours <= 17)) tagzeit = "Hallo und guten Tag";
if (a_hours >= 18) tagzeit = "Hallo und guten Abend";