// Begin JavaScript


  //////////////////////////////////
  // GENERAL FUNCTION DEFINITIONS //
  //////////////////////////////////

  // ---------------------------------------------------------------
  // PC Platform: Launches new pop-up window with specified features
  // ---------------------------------------------------------------
  function launchWindow( file, name, features) {

    // Generate a new window ID string
    id = 'win_' + Math.floor(Math.random() * 10000000) + '_' + Math.floor(Math.random() * 10000000);
    // Launch the new window
    newWin = window.open( 'blank.htm', id, features);
    // Generate the HTML string for the new window
    strHTML = '';
    strHTML += '<HTML><HEAD><TITLE>' + name + '</TITLE></HEAD><BODY><DIV STYLE="position: absolute; left: 0px; top: 0px"><LAYER>';
    strHTML += '<IMG SRC="' + file + '">';
    strHTML += '</LAYER></DIV></BODY></HTML>';

    // Write the HTML string to the new window's document
    newWin.document.write( strHTML );

  }
  
// End JavaScript