Team:UNICAMP-Brazil/inc rodape pt

  

var before="AAHHHH! Ao trabalho!" var current="Aqui vamos nós!" var montharray=new Array("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec") var imgsarray=new Array("d/d3/C0","d/d1/C1","c/cd/C2","7/7a/C3","f/fd/C4","8/88/C5","f/f0/C6","e/e0/C7","5/5d/C8","3/3d/C9");

function countdown(yr,m,d){ var today=new Date var todayy=today.getYear if (todayy < 1000) todayy+=1900 var todaym=today.getMonth var todayd=today.getDate var todaystring=montharray[todaym]+" "+todayd+", "+todayy var futurestring=montharray[m-1]+" "+d+", "+yr var difference=(Math.round((Date.parse(futurestring)-Date.parse(todaystring))/(24*60*60*1000))*1) var dstring=difference.toString if (difference==0) document.write(current) else if (difference>0){ document.write(" Apenas ") for (i=0;i<=dstring.length-1;i++) //document.write('') //document.write('') document.write('') document.write(' dias restantes! '+before+' ') } } //count down date using the format year/month/day countdown(2009,10,21)

  

<img border="0" src="http://2009.igem.org/wiki/images/f/f1/Braskem_de.jpg" /></a>

<img border="0" src="http://2009.igem.org/wiki/images/2/21/Amyris_de.jpg" /></a> <img border="0" src="http://2009.igem.org/wiki/images/5/5d/Olympus_logo_100.png"/></a>