// JavaScript Document www.KINTO.NL
var UniqueID = 314 // Make each link open in a new window.
var newWinOffset = 305 // Position of first pop-up
function PlayerOpen(soundfiledesc,soundfilepath) {

PlayWin = window.open('',UniqueID,'width=320,height=180,top=' + newWinOffset +',left=480,resizable=0,scrollbars=0,titlebar=0,toolbar=0,menubar=0,status=0,directories=0,personalbar=0');
PlayWin.focus(); 
var winContent = "<HTML><HEAD><TITLE>" + soundfiledesc + "</TITLE></HEAD><BODY bgcolor='#f27f12'>";
winContent += "<b style='font-size:18px;font-family:Verdana,sans-serif;line-height:1.5'>" + soundfiledesc + "</b>";

winContent += "<OBJECT width='300' height='42'>";
winContent += "<param name='SRC' value='" + soundfilepath + "'>";
winContent += "<param name='AUTOPLAY' VALUE='true'>";
winContent += "<param name='CONTROLLER' VALUE='true'>";
winContent += "<param name='BGCOLOR' VALUE='#f27f12'>";
winContent += "<EMBED SRC='" + soundfilepath + "' AUTOSTART='TRUE' LOOP='FALSE' WIDTH='300' HEIGHT='42' CONTROLLER='TRUE' BGCOLOR='#f27f12' VOLUME='0' style='FILTER: Xray();'></EMBED>";
winContent += "</OBJECT>";

winContent += "<p style='font-size:12px;font-family:Verdana,sans-serif;text-align:left'><a href='"+soundfilepath+"' style='color:#FFFF00; text-decoration:none'>Download this file</a> <img src='images/mp3.gif' alt='MP3' /> <span style='font-size:10px'>(right-click, Save target As...)</span></p>";

winContent += "<a href='https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=donate%40kinto%2enl&item_name=KINTO%2eNL%20%2d%20Every%20dollar%20or%20Euro%20you%20provide%20to%20www%2ekinto%2enl%20goes%20towards%20web%20hosting%20payments%20and%20existents%20of%20website%2e%20Thanks%21&no_shipping=0&no_note=1&tax=0&currency_code=EUR&lc=US&bn=PP%2dDonationsBF&charset=UTF%2d8' target='_blank'><img src='images/other/banners/paypal.gif' border='0' /></a>";

winContent += "</BODY></HTML>";
PlayWin.document.write(winContent);
PlayWin.document.close(); // "Finalizes" new window
UniqueID = UniqueID + 1  // newWinOffset = newWinOffset + 20 // subsequent pop-ups will be this many pixels lower.
}