// JavaScript Document
DatArray = new Array("So","Mo","Di","Mi","Do","Fr","Sa","??" )

        
        function SELECT_VON()
        {
        document.write("<select class=\"normal-selectbox\" id=\"VON\" name=\"VON\">")
        for (var i=1; i<=330;i++)
        {
        document.write('<option value='+i+'>'+GetDatum(i)+'')
        }
        document.write("</select>")
        }
        function GetDatum(offset)
        {
        var time = new Date();
        time.setTime( time.getTime()+offset*86400000);
        tag     = time.getDate();
        monat   = time.getMonth()+1;
        jahr    = time.getYear() % 100;
        if (tag   < 10)   tag   = "0"+tag;
        if (monat < 10)   monat = "0"+monat;
        if (jahr  < 10)   jahr  = "0"+jahr;
        return tag+'.'+monat+'.'+jahr+' '+DatArray[time.getDay()]
        }
      
