var UniqueID = 314 // Make each link open in a new window 
var newWinOffset = 0 // Position of first pop-up

function PlayerOpen(soundfiledesc,soundfilepath) { 
PlayWin = window.open('',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(); 

var winContent = "<HTML><HEAD><TITLE> + soundfiledesc + </TITLE></HEAD><BODY bgcolor='#FF9900'>"; 
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='#FF9900'>"; 
winContent += "<EMBED SRC='" + soundfilepath + "' AUTOSTART='TRUE' LOOP='FALSE' WIDTH='300' HEIGHT='42' CONTROLLER='TRUE' BGCOLOR='#FF9900'></EMBED>";
winContent += "</OBJECT>"; 

winContent += "<FORM><DIV align='center'><INPUT type='button' value='Close this window' onclick='javascript:window.close();'></DIV></FORM>"; 
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 
}



/* OLD SCRIPT ----------
<!--POP ORDER FORM JS -->
<!-- Hide from old browsers
function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=1,scrollbars=1,location=0,status=1,menubar=0,resizable=1,width=560,height=400');");
}
// Stop hiding from old browsers -->
*/

<!--Clear Text Box -->
 <!--

 function doClear(theText) 
{
     if (theText.value == theText.defaultValue)
 {
         theText.value = ""
     }
 }
 //-->


/* OLD SCRIPT ----------
<!--POP SUBSCRIBER FORM JS -->
<!-- Hide from old browsers
function popUp2(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=no,scrollbars=no,location=0,status=no,menubar=0,resizable=no,width=350,height=380');");
}
// Stop hiding from old browsers -->

<!--POP GROOVE VIDEO JS -->
<!-- Hide from old browsers
function popUp3(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=no,scrollbars=no,location=0,status=no,menubar=0,resizable=no,width=280,height=220');");
}
// Stop hiding from old browsers -->
*/

<!--POP BASHIN VIDEO JS -->
<!-- Hide from old browsers
function popUp4(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=no,scrollbars=no,location=0,status=no,menubar=0,resizable=no,width=320,height=253');");
}
// Stop hiding from old browsers -->

<!-- Hide from old browsers

function  popWindow2() {

                window.open("","smallvideo","toolbar=no,menubar=no,scrollbars=no,resizable=yes,width=192,height=174")
                
                }
                
function  popWindow3() {

                window.open("","largevideo","toolbar=no,menubar=no,scrollbars=no,resizable=yes,width=320,height=270")
                
                }
                
function  popWindow5() {

                window.open("","highwindow","toolbar=no,menubar=no,scrollbars=no,resizable=yes,width=345,height=270")
                
                }
                
function  popWindow6() {

                window.open("","noiseswindow","toolbar=no,menubar=no,scrollbars=no,resizable=yes,width=240,height=210")
                
                }

function  popWindow7() {

                window.open("","shortwindow","toolbar=no,menubar=no,scrollbars=no,resizable=yes,width=220,height=170")
                
                }
                
function  popWindow8() {

                window.open("","examplewindow","toolbar=no,menubar=no,scrollbars=no,resizable=yes,width=560,height=380")
                
                }
                
function  popWindow9() {

                window.open("","creditwindow","toolbar=no,menubar=no,scrollbars=yes,resizable=yes,width=500,height=650")
                
                }

// Stop hiding from old browsers -->



<!--PULLDOWN MENUES FUNCTION-->
<!-- Hide from old browsers
function nav(s)
                        {       var nav_link = s.options[s.selectedIndex].value;
                                parent.location.href = nav_link;
                                s.selectedIndex=0;
                        }
// Stop hiding from old browsers -->









