/*
   Filename:    rmaplay.js
   Author:      -<>-Eärendil
   Parameters:  strFileName    log file name.
                strLogType     identify type of log.
				               1=jmc, 2=powwow.
   Description: 
 */
function rmaplay( strFileName, strLogType )
{
  /* base URL */
  var strLogURL = "http://www.elvenrunes.com/logs/archive";

  /* sub-directory in which log resides */
  var strDirURL = strFileName.substr(0,3);

  /* attach sub-directory to base URL */
  strLogURL += "/" + strDirURL + "/" + strFileName;

  var strURL = "/logs/rmaplay.php?logID=" + strLogURL + "&logType=" + strLogType;

  //playWindow = window.open( strURL, "RMA Playback", "dependent=1,width=586,height=586" );
  playWindow = window.open( strURL, "rmaplay", "dependent=1,width=586,height=586" );
}

