<!--
function previewPage(content,width,height,window_name,pictext){

  // CREATE THE WINDOW
  var props = 'scrollBars=yes,resizable=yes,toolbar=no,menubar=no,location=no,directories=no,width='+width+',height='+height;
  var newWindow = window.open('', window_name, props);

  // CREATE THE CONTENT
  var newContent = "<HTML><HEAD><TITLE>Villa Pictures</TITLE></HEAD><BODY>";
  newContent += "<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">";
  newContent += "<tr><td align=\"center\">";
  newContent += "<p><img src=\"";
  newContent += content;
  newContent += "\" alt=\"Villa Picture\">";
  if (pictext.length > 0){
   newContent += "<br>" + pictext;
  }
  newContent += "</p>";
  newContent += "</td></tr>";
  newContent += "<tr><td align=\"center\">&nbsp;</td></tr>";
  newContent += "<tr><td align=\"center\">";
  newContent += "<a href=\"JavaScript:self.close();\">Close</a>";
  newContent += "</td></tr>";
  newContent += "</table>";
  newContent += "\n</BODY></HTML>";

  // WRITE THE CONTENT TO THE WINDOW
  newWindow.document.write(newContent);
  newWindow.document.close();
}
//-->
