<!--

function fecha()

{

        today = new Date()

        day = today.getDay()

        if ( day == 0 ) { 

        document.write("Diumenge, ");

        }

        if ( day == 1 ) { 

        document.write("Dilluns, ");

        }

        if ( day == 2 ) { 

        document.write("Dimarts, ");

        }

        if ( day == 3 ) { 

        document.write("Dimecres, ");

        }

        if ( day == 4 ) { 

        document.write("Dijous, ");

        }

        if ( day == 5 ) { 

        document.write("Divendres, ");

        }

        if ( day == 6 ) { 

        document.write("Dissabte, ");

        }

   

          today = new Date()

          hours = today.getHours()

          minutes = today.getMinutes()

          year = parseInt(today.getYear(),10)



          zerom = ''

          zeroh = ''

          if ( minutes < 10 ) { zerom = 0 }

          if ( hours < 10 ) { zeroh = 0 }

 

        if ( today.getMonth() == 0 ) { month = "de Gener" }

        if ( today.getMonth() == 1 ) { month = "de Febrer" }

        if ( today.getMonth() == 2 ) { month = "de Març" }

        if ( today.getMonth() == 3 ) { month = "d'Abril" }

        if ( today.getMonth() == 4 ) { month = "de Maig" }

        if ( today.getMonth() == 5 ) { month = "de Juny" }

        if ( today.getMonth() == 6 ) { month = "de Juliol" }

        if ( today.getMonth() == 7 ) { month = "d'Agost" }

        if ( today.getMonth() == 8 ) { month = "de Setembre" }

        if ( today.getMonth() == 9 ) { month = "d'Octubre" }

        if ( today.getMonth() == 10 ) { month = "de Novembre" }

        if ( today.getMonth() == 11 ) { month = "de Desembre" }

        if ( today.getYear() == 110 ) { year = "2010" }

	if ( today.getYear() == 0 || today.getYear() == 100 || today.getYear() == 2000) { year = "2000" }



              document.write( today.getDate()," ",month," de ",year );

}



//-->

