function Pop(movieTitle, movieSrc) {
  var scr_width = 600;   // Initial size; will be resized
  var scr_height = 740;  // Initial size; will be resized
  var movie_dir = "avi-files/";

  var newWin = null;
  newWin = window.open("","","width=" + scr_width + ",height=" + scr_height + ",scrollbars=no,resizable=yes");
  if (newWin != null) {
    newWin.focus();
    var htmlCode = "\n";
    htmlCode +=    "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">\n";
    htmlCode +=    "<html xmlns=\"http://www.w3.org/1999/xhtml\">";
    htmlCode +=    "   <head>\n";
    htmlCode +=    "    <title>" + movieTitle + "</title>\n";
    htmlCode +=    "      <link rel=\"stylesheet\" type=\"text/css\" href=\"css/pop.css\">\n";
    htmlCode +=    "     </head>\n";
    htmlCode +=    "   <body>\n";
    htmlCode +=    "   <div id=\"Pop\">\n";                
    htmlCode +=    "  <embed src='" + movie_dir  + movieSrc + "' width=\"480\" height=\"640\" controller=\"true\" autostart=\"1\"  param name=\"loop\"  value=\"true\" loop=\"10\" type=\"video/WMV\" onload=\"javascript:(document.layers) ? document.layers['Loading'].visibility='hidden' : document.getElementById('Loading').style.display='none';\"</embed>\n";
    //htmlCode +=    "     <div class=\"Caption\">" + imgTitle + "</div>\n";
    htmlCode +=    "     <a class=\"Footer\" href=\"javascript:window.close();\" title=\"Close this window and return to website\">Close Window</a>\n";
    htmlCode +=    "   </div>\n";
    htmlCode +=    "   </body>\n";
    htmlCode +=    "</html>";
    newWin.document.write(htmlCode);
    newWin.document.close();
  }
}
