function display(result){

  splitText2 = result["fileName"].split("&#32;");
  thisImage  = new clusterImage(result["path"],result["width"],result["height"],result["horseName"],splitText2[0],splitText2[1]);

  document.write('<TABLE bordercolor="'+head_color+'" bgcolor="'+bg_color+'" width="'+max_width+'" style="border: solid 2px '+border_color+'; border-collapse: collapse;"><TR><TD bgcolor="'+head_color+'" align="center" style="border: solid 1px '+border_color+';font-weight: bold;">&#24859;&#39340;&#20889;&#30495;&#39208;</TD></TR><TR><TD NOWRAP><div align="center" style="font-size:x-small;">'+thisImage.horseName+'</DIV><DIV id="cluster_picture" align="center"><a href="'+thisImage.path+'" target="_blank"><IMG SRC="'+thisImage.path+'" WIDTH="'+thisImage.width+'" HEIGHT="'+thisImage.height+'" /></a></DIV><DIV align="center" style="font-size:xx-small;">'+thisImage.date+'<BR>'+thisImage.fileName+'</DIV><DIV align="right" style="font-size:xx-small;"><a href="http://win-cluster.dyndns.org/" target="_blank">by WinCluster</a></DIV></TD></TR></TABLE>');
}

function clusterImage(_path, _width, _height, _horseName, _date, _fileName){
  this.path      = _path;
  this.width     = _width;
  this.height    = _height;
  this.horseName = _horseName;
  this.date      = _date;
  this.fileName  = _fileName;
}

