function chooseplayer( artistID, albumID, width_col, height_col )
{ 
// chooseplayer() -- Last Revised July 12, 2011

// Usage: Generally called by libX.php or libY.php (Live Users's Music Library page)  
//        This in turns calls /mbk_CMS/test_player.php giving it the artist and CD/album info.  
//        width_col and height_col are used to set the size of the IFRAME which will hold the player.

// PARAMETERS:
//   artistID     .. ID number of Artist   (A)
//   albumID      .. ID number of CD       (C)
//   width_col    .. Width of player IFRAME in pixels   (typical value = 240 )
//   height_col   .. Height of player IFRAME in pixels  (typical value = 800 )

  var objectString;
  var player_url = '/mbk_CMS/test_player.php?A=' + artistID + '&C=' + albumID;	 
  playerString   = '<iframe name=iwindow scrolling=auto width=' + width_col + ' height=' + height_col + ' align=top frameborder=0 src=' +player_url+ '><p>Sorry, Your webbrowser does not support IFRAMES.</p></iframe>'
  floating_player.innerHTML = playerString;
}

