hoje = new Date()

dia = hoje.getDate()

dias = hoje.getDay()

if (dia < 10)

  dia = "0" + dia



function NArray (n) 

{ 

  this.length = n

}



NomeDia = new NArray(7)



NomeDia[0] = "<iframe width=168 height=84 scrolling=no frameborder=0 marginheight=0 marginwidth=0 align=top src=cod/hoje_na_igreja/domingo.htm></iframe>"

NomeDia[1] = "<iframe width=168 height=40 scrolling=no frameborder=0 marginheight=0 marginwidth=0 align=top src=cod/hoje_na_igreja/segunda.htm></iframe>"

NomeDia[2] = "<iframe width=168 height=56 scrolling=no frameborder=0 marginheight=0 marginwidth=0 align=top src=cod/hoje_na_igreja/terca.htm></iframe>"

NomeDia[3] = "<iframe width=168 height=56 scrolling=no frameborder=0 marginheight=0 marginwidth=0 align=top src=cod/hoje_na_igreja/quarta.htm></iframe>"

NomeDia[4] = "<iframe width=168 height=56 scrolling=no frameborder=0 marginheight=0 marginwidth=0 align=top src=cod/hoje_na_igreja/quinta.htm></iframe>"

NomeDia[5] = "<iframe width=168 height=40 scrolling=no frameborder=0 marginheight=0 marginwidth=0 align=top src=cod/hoje_na_igreja/sexta.htm></iframe>"

NomeDia[6] = "<iframe width=168 height=40 scrolling=no frameborder=0 marginheight=0 marginwidth=0 align=top src=cod/hoje_na_igreja/sabado.htm></iframe>"





function WriteDate()

{

  document.write (NomeDia[dias])

}



 WriteDate(); 


