/* * Name: * play_window.js * * Description: * Defines functions for the Play Window * width default 350 * height default 215 * * Pre-conditions: * None * * Post-conditions: * Defines the following functions: * * Log: * Shaunak Kashyap 11/21/2005 * - Creation * */ /* * Name: * openPlayer * * Description: * Opens the play window * * Pre-conditions: * audioType REQUIRED Type of audio * audioId REQUIRED Id of audio * width OPTIONAL width of play window * height OPTIONAL height of play * * Post-conditions: * The player is opened * * Log: * Shaunak Kashyap 11/21/2005 * - Creation * Kripa Shenai 01/09/2007 * - Cached Queries * Prajapati Nilesh 15 Sep 2008 * - added other extra param to track the podcast statistics VX-2565 */ function openPlayer(audioType, audioId, statTrackStrInfo) { cTyId = ''; grpId = ''; spcId = ''; sbId = ''; if (statTrackStrInfo && statTrackStrInfo != 'undefined') { statTrackInfoArr = statTrackStrInfo.split('-'); cTyId = statTrackInfoArr[0]; grpId = statTrackInfoArr[1]; spcId = statTrackInfoArr[2]; sbId = statTrackInfoArr[3]; }