// JavaScript Document

var UniqueID = 314 // Make each link open in a new window 
var newWinOffset = 0 // Position of first pop-up

function PlayerOpen(soundfiledesc,soundfilepath,filepath) { 
PlayWin = window.open('Player.asp?U='+UniqueID+'&D='+soundfiledesc+'&P='+soundfilepath,UniqueID,'width=320,height=190,top=' + newWinOffset +',left=0,resizable=0,scrollbars=0,titlebar=0,toolbar=0,menubar=0,status=0,directories=0,personalbar=0');
PlayWin.focus(); 
UniqueID = UniqueID + 1 // newWinOffset = newWinOffset + 20 // subsequent pop-ups will be this many pixels lower 
} 
function VPlayerOpen(soundfiledesc,soundfilepath,filepath) { 
PlayWin = window.open('VideoPlayer.asp?U='+UniqueID+'&D='+soundfiledesc+'&P='+soundfilepath,UniqueID,'width=380,height=320,top=' + newWinOffset +',left=0,resizable=0,scrollbars=0,titlebar=0,toolbar=0,menubar=0,status=0,directories=0,personalbar=0');
PlayWin.focus(); 
UniqueID = UniqueID + 1 // newWinOffset = newWinOffset + 20 // subsequent pop-ups will be this many pixels lower 
} 
