  function birthday(month,date,person,klass) {
    this.month=month
    this.date=date
    this.person=person
    this.klass=klass
    
  }

  function makeArray(n) {
    this.length=n;

  }

  

  blist=new makeArray(10)
  
blist[1]=new birthday(04,02,'Greete Märtson','02  -')
blist[2]=new birthday(12,06,'Martin Koosa','06  -')
blist[3]=new birthday(09,06,'Aleksander Luik','06  -')
blist[4]=new birthday(09,09,'Markkos Mandel','09  -')
blist[5]=new birthday(06,12,'Alar Haidak','12  -')
blist[6]=new birthday(08,18,'Karmen Mikk','18  -')
blist[7]=new birthday(05,22,'Mario Käis','22  -')
blist[8]=new birthday(02,25,'Eero Peetso','25  -')
blist[9]=new birthday(02,27,'Graivo Hallikas','27  -')
blist[10]=new birthday(09,27,'Lauri Siilbek','27  -')

  function zoek_datum() {

    var datum = new Date();
    var maand = 1+datum.getMonth();   // maand +1
    var dag = datum.getDate();
    
    for (var i =1; i < blist.length+1; i++) {

        
      if (blist[i].month==maand) { 


           
           document.writeln("<p>",blist[i].klass," ",blist[i].person,"</p>");
                 }

  

       


    } // einde lus

    
    
  } // end function


  
    
 
  


