function Item(Name, Description, Target, Genre, Size, ReleaseDate) 
{
  this.Name = Name;
  this.Description = Description;
  this.Target = Target;
  this.Genre = Genre;
  this.Size = Size;
  this.ReleaseDate = ReleaseDate;
  this.Draw =  _Draw;

  return this;
  function _Draw(idx)
  	{
		document.write("<TR VALIGN=\"top\"><TD WIDTH=\"1%\">" + idx +".</TD><TD width=\"40%\"><A HREF=\"demo/" + this.Target + "\">" + this.Name + "</A><BR><SPAN CLASS=\"descr\">" + this.Description + "</SPAN></TD><TD>"  + this.Genre +"</TD><TD>" + this.Size + " kb</TD><TD>" + this.ReleaseDate + "</TD></TR>");
		return;
	 }
}	

function eaddr (name, srv, param){
	if (param){
	var eml = "mailto:" + name +  "\@" + srv;
	window.location.href (eml);
	return;
	}
else
	var eml = name +  "\@" + srv;
return eml;
}

function dw(str){document.write(str);}
