// 
function lista(){
   for (var i=0; i<bd.length; i++){
      document.write("<table width='95%' border='0' align='center' cellpadding='3' cellspacing='0' class='tabellista3'><tr>");
	  document.write("<td width='20' align='center' valign='middle'>",i+1,"</td>");
	  bd[i].Afisare();
	  document.write("</tr></table>");	 
   }
}
function Afisare() {
     document.write("<td width='370'>Data:&nbsp;<em>", this.data, "</em><br><br>", this.comentariu,"<br><br>------------<br>Nume:&nbsp;<em>", this.nume,"</em><br>E-mail:&nbsp;<em>", this.adresa,"</em</td>");
     document.write("<td width='65' align='left' valign='middle'>Votare:<br>", this.vot,"</td>");
}
//
function Articol(data,nume,adresa,comentariu,vot) {
   this.data = data;
   this.nume = nume;
   this.adresa = adresa;
   this.comentariu = comentariu;
   this.vot = vot;
   this.Afisare = Afisare;
}
//
var bd = new Array();
bd[0] = new Articol("04.09.2004", "Bebi", "capitaneanu@hotmail.com", "Super lucrarile. Atit ca proiect cit si realizare 3D.<br> Cu stima.", "<img src='../imagini/stars_5.gif' width='65' height='11'><br>[5 stele]");
//bd[1] = new Articol("04.09.2004", "Bebi", "capitaneanu@hotmail.com", "Super lucrarile.", "<img src='../imagini/stars_3.gif' width='65' height='11'><br>[3 stele]");
//bd[2] = new Articol("04.09.2004", "Bebi", "capitaneanu@hotmail.com", "Super lucrarile.", "<img src='../imagini/stars_2.gif' width='65' height='11'><br>[2 stele]");
//