           document.write("Last update: 26 August 2007<br>")
           var d=new Date()
           var m=d.getMonth()
           var monthdays=new Array(31,28,31,30,31,30,31,31,30,31,30,31)
           var c=d.getDate()
           var y=d.getYear()
           i = 0
           if(m>0){
             do{
               c=c+monthdays[i]
               i++
             }
             while (i < m)
           }
           if((y == 107) || (y == 2007)){
           if(c <= 268){
             document.write("There are ")
             document.write(268-c+" days to the first exam.")
           }
           else if(c <=303){
             document.write("There are ")
             document.write(303-c+" days to the second exam.")
           }
           else if(c <= 324){
             document.write("There are ")
             document.write(324-c+" days to the third exam.")
           }
             else if(c <= 352){
             document.write("There are ")
             document.write(352-c+" days to our final exam.")
           }
             else {
             document.write("See you next semester!")
           }
           }
           else {
             document.write("See you soon!")
		document.write(y)
           }
