<!-- START popUpAudio sizes and code options: MASTER CLIENT 5/7/05

// You can change the below variables (var) using lowercase: "yes"=on / "no"=off  

// popUpAudio Song Module

var download_logos 	    = "yes"		   // SHOW Download Logos
var close_button 	    = "yes"		   // SHOW Close Button 
var show_flash 		    = "yes"		   // SHOW Flash Option
var show_quicktime 	    = "yes"		   // SHOW QuickTime Option
var show_realaudio 	    = "yes"		   // SHOW RealAudio Option
var show_windows 	    = "yes"		   // SHOW Windows Option
var flashaudio_text	    = "Flash" 	           // Flash Text
var realaudio_text	    = "Real Audio"         // RealAudio Text
var qtaudio_text	    = "QuickTime"          // QuickTime Text
var winaudio_text	    = "Windows Audio (IE)" // Windows Text
var close_position 	    = "100"		   // Close Position Up/Down     
var view_audio_width 	=  460	       // Audio Width
var view_audio_height 	=  265	       // Audio Height
var right_click_on1	    = "yes"		   // IE/NS Right Click Protect  
var right_click_on2	    = "yes"		   // Right Click Protect  
var audio_title		    = "yes"		   // SHOW Audio File Name


// Other Changeable Options - "1"=on / "0"=off

var scrollbars1	        = "0"		// Module Scrollbars1  
var scrollbars2_audio	= "0"		// Module Scrollbars2 
var background_color	= "087BC4"	// Module Background Color 
var right_click_text1	= "IE/NS Protect"   // Right Click Protect for IE/NS
var right_click_text2	= "This work is Protected"   // Enter "your" text description for Right Click Protect


// THERE IS NO NEED TO EDIT BELOW THIS POINT

// START popUpAudio CODE


function popUpAudio(AUDIO) {
var look='toolbar=0,scrollbars1='+scrollbars2_audio+',position=0,statusbar=0,menubar=0,resizable=0,width='+view_audio_width+',height='+view_audio_height+','
popwin=window.open("","",look)
popwin.document.open()
popwin.document.write('<html><head>');
popwin.document.write('<title>MP3 Multi-Player Music Gallery</title>'); <!--RENAME YOUR MP3 PLAYER MODULE HERE--> 
popwin.document.write('<link rel=StyleSheet href="audiostyle.css" type="text/css" media="screen">');
   if (right_click_on1 == "yes") {
popwin.document.write('<script language="JavaScript"> ')
popwin.document.write('function clickIE() {if (document.all) {alert(message);return false;}} ')
popwin.document.write('function clickNS(e) {if ')
popwin.document.write('(document.layers||(document.getElementById&&!document.all)) { ')
popwin.document.write('if (e.which==2||e.which==3) {alert(message);return false;}}} ')
popwin.document.write('if (document.layers) ')
popwin.document.write('{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;} ')
popwin.document.write('else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;} ')
popwin.document.write('document.oncontextmenu=new Function("return false") ')
popwin.document.write('</script> ')
}
   if (right_click_on2 == "yes") {
popwin.document.write('<script language="JavaScript">')
popwin.document.write('function noRightClick() {')
popwin.document.write('if (event.button==2) {')
popwin.document.write('alert(\''+right_click_text2+'\')')
popwin.document.write('}')
popwin.document.write('}')
popwin.document.write('document.onmousedown=noRightClick')
popwin.document.write('</script>')
}
popwin.document.write('</head>');
popwin.document.write('<BODY BGCOLOR="#'+background_color+'" TEXT="#FFFFFF" LINK="#FFFFFF" VLINK="#FFFFFF" ALINK="#FFFFFF" leftmargin="0" rightmargin="0" topmargin="0" bottommargin="0" marginheight="0" marginwidth="0">');
popwin.document.write('<table cellpadding="0" cellspacing="0" border="0" width="100%" height="100%"><tr><td bgcolor="#000000" width="43" align="center">');
popwin.document.write('<img src="pics/playerdl-small.gif">');   
popwin.document.write('</td><td valign="middle" bgcolor="#000000" width="108">'); 
   if (download_logos == "yes") {

// PLAYER DOWNLOAD ICONS
   if (show_flash == "yes") {
popwin.document.write('<a href="http://www.macromedia.com/go/getflashplayer/" target="_blank"><img src="pics/icon_flash.gif" border="0"></a><br><br>');
}
    if (show_quicktime == "yes") {
popwin.document.write('<a href="http://www.apple.com" target="_blank"><img src="pics/icon_quicktime.gif" border="0"></a><br><br>');
}
  if (show_realaudio == "yes") {
popwin.document.write('<a href="http://real.com" target="_blank"><img src="pics/icon_real.gif" border="0"></a><br><br>');
}
   if (show_windows == "yes") {
popwin.document.write('<a href="http://www.microsoft.com/windowsmedia" target="_blank"><img src="pics/icon_windows.gif" border="0"></a><br>');
}

// Player Info
}                                                  
popwin.document.write('<img src="pics/spacer.gif" width="108" height="25"><br>');
popwin.document.write('</td><td width="15">');
popwin.document.write('<img src="pics/spacer.gif" width="15" height="20"><br>');
popwin.document.write('</td><td valign="top">');
popwin.document.write('<img src="pics/selectplayer.gif"><br>'); 
popwin.document.write('<img src="pics/spacer.gif" width="10" height="45"><br>'); 
popwin.document.write('<table cellpadding="0" cellspacing="3" border="0" width="250"><tr><td width="40">');

   if (show_flash == "yes") {
popwin.document.write('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="35" HEIGHT="20" id="flashstart">');
popwin.document.write('<PARAM NAME=movie VALUE="flashstart.swf?theFile='+AUDIO+'">'); 
popwin.document.write('<PARAM NAME=quality VALUE=high>');
popwin.document.write('<PARAM NAME=bgcolor VALUE=#FFFFFF>');
popwin.document.write('<EMBED src="flashstart.swf?theFile='+AUDIO+'" quality=high bgcolor=#FFFFFF WIDTH="35" HEIGHT="20" NAME="flashstart" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">');
popwin.document.write('</EMBED>');
popwin.document.write('</OBJECT><br>');
popwin.document.write('</td><td class="listen">');
popwin.document.write(''+flashaudio_text+'<br>');
}
else
{
popwin.document.write('<br></td><td>');
popwin.document.write('<br>');
}

   if (show_quicktime == "yes") {
popwin.document.write('</td></tr><tr><td width="40">');
popwin.document.write('<OBJECT CLASSID="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" WIDTH="35" HEIGHT="20" CODEBASE="http://www.apple.com/qtactivex/qtplugin.cab">');
popwin.document.write('<PARAM name="SRC" VALUE="playerstart.jpg">'); 
popwin.document.write('<PARAM name="HREF" VALUE="'+AUDIO+'">'); 
popwin.document.write('<PARAM name="AUTOPLAY" VALUE="true">');
popwin.document.write('<PARAM name="TARGET" VALUE="QuickTimePlayer">');
popwin.document.write('<PARAM name="CONTROLLER" VALUE="false">');
popwin.document.write('<EMBED SRC="playerstart.jpg" HREF="'+AUDIO+'" TARGET="QuickTimePlayer" WIDTH="35" HEIGHT="20" AUTOPLAY="true" CONTROLLER="false" PLUGINSPAGE="http://www.apple.com/quicktime/download/">');
popwin.document.write('</EMBED>');
popwin.document.write('</OBJECT><br>');
popwin.document.write('</td><td class="listen">');
popwin.document.write(''+qtaudio_text+'<br>');
}

   if (show_realaudio == "yes") {
popwin.document.write('</td></tr><tr><td width="40">');
popwin.document.write('<a href="javascript:RealPlayer()"><img src="playerstart.jpg" border="0"></a><br>');
popwin.document.write('<Script Language="JavaScript">\n');
popwin.document.write('function RealPlayer(){\n');
popwin.document.write('document.writeln(\'<html><head>\');\n');
popwin.document.write('document.writeln(\'<title>MP3 Multi-Player Music Gallery</title>\');\n');<!--RENAME YOUR MP3 RealPLAYER MODULE HERE--> 
popwin.document.write('document.writeln(\'<link rel=StyleSheet href="audiostyle.css" type="text/css" media="screen">\');\n');
popwin.document.write('document.writeln(\'</head>\');\n');
popwin.document.write('document.writeln(\'<BODY BGCOLOR="#'+background_color+'" TEXT="#FFFFFF" LINK="#FFFFFF" VLINK="#FFFFFF" ALINK="#FFFFFF" leftmargin="0" rightmargin="0" topmargin="0" bottommargin="0" marginheight="0" marginwidth="0">\');\n');
popwin.document.write('document.writeln(\'<table cellpadding="0" cellspacing="0" border="0" width="100%" height="100%"><tr><td valign="middle" align="center">\');\n');
popwin.document.write('document.writeln(\'<object id=RVOCX classid="CLSID:CFCDAA03-8BE4-11CF-B84B-0020AFBBCCFA" width="375" height="70">\');\n');
popwin.document.write('document.writeln(\'<param name="SRC" value="'+AUDIO+'">\');\n');
popwin.document.write('document.writeln(\'<param name="CONTROLS" value="ControlPanel,StatusBar">\');\n'); 
popwin.document.write('document.writeln(\'<param name="CONSOLE" value="one">\');\n');
popwin.document.write('document.writeln(\'<PARAM NAME="AUTOSTART" VALUE="true">\');\n');
popwin.document.write('document.writeln(\'<embed src="'+AUDIO+'" type="audio/x-pn-realaudio-plugin" width="375" height="70" NOJAVA="true" controls="ControlPanel,StatusBar" console="one" AUTOSTART="true">\');\n');
popwin.document.write('document.writeln(\'</EMBED>\');\n');
popwin.document.write('document.writeln(\'</OBJECT><br>\');\n');
   if (close_button == "yes") {
popwin.document.write('document.writeln(\'<br><a href="javascript:self.close()"><img src="pics/close.gif" border="0" style="border: #FFFFFF 1px solid"></a><br>\');\n');
}                                                                               
popwin.document.write('document.writeln(\'</td></tr></table>\');\n');
popwin.document.write('document.writeln(\'</BODY></HTML>\');\n');
popwin.document.write('}\n');
popwin.document.write('</script>\n');
popwin.document.write('</td><td class="listen">');
popwin.document.write(''+realaudio_text+'<br>');
}

   if (show_windows == "yes") {
popwin.document.write('</td></tr><tr><td width="40">');
popwin.document.write('<table cellpadding="0" cellspacing="0" border="0"><tr><td>');
popwin.document.write('<INPUT TYPE="image" src="pics/winplayerstart.jpg" NAME="BtnPlay" VALUE="Play" OnClick="StartMeUp()"><br></td><td>');
popwin.document.write('<INPUT TYPE="image" src="pics/winplayerstop.jpg" NAME="BtnStop" VALUE="Stop" OnClick="ShutMeDown()"></td><td>');
popwin.document.write('<div id="win-position">'); 
popwin.document.write('<OBJECT ID="Player" width="148" height="'+view_audio_height+'" CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6">');
popwin.document.write('<PARAM NAME="autoStart" VALUE="false">');
popwin.document.write('<PARAM name="URL" value="'+AUDIO+'">'); 
popwin.document.write('<PARAM name="uiMode" value="none">');
popwin.document.write('</OBJECT>');
popwin.document.write('</div>');
popwin.document.write('</td></tr></table>');
popwin.document.write('\n');
popwin.document.write('<script>\n');
popwin.document.write('<!--\n');
popwin.document.write('function StartMeUp ()\n');
popwin.document.write('{\n');
popwin.document.write('Player.controls.play();\n');
popwin.document.write('}\n');
popwin.document.write('function ShutMeDown ()\n');
popwin.document.write('{\n');
popwin.document.write('Player.controls.stop();\n');
popwin.document.write('}\n');
popwin.document.write('-->\n');
popwin.document.write('</SCRIPT>\n');
popwin.document.write('<SCRIPT LANGUAGE="VBScript">\n');
popwin.document.write('<!--\n');
popwin.document.write('On error resume next\n');
popwin.document.write('Player.URL = ""\n');
popwin.document.write('if err then msgbox "You need Windows Media Player 7. Go to" & chr(13) &_\n');
popwin.document.write('"http://www.microsoft.com/windowsmedia"\n');
popwin.document.write('err.clear\n');
popwin.document.write('-->\n');
popwin.document.write('</SCRIPT>\n');
popwin.document.write('</td><td class="listen" valign="top">');
popwin.document.write(''+winaudio_text+'<br>');
}
popwin.document.write('</td></tr></table>');              
popwin.document.write('<img src="pics/spacer.gif" width="15" height="'+close_position+'"><br>');
popwin.document.write('<div id="audio-close">'); 
popwin.document.write('<table cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td>');
   if (audio_title == "yes") {
popwin.document.write('Audio File:&nbsp;&nbsp;  '+AUDIO+''); 
}
popwin.document.write('&nbsp;<br>&nbsp;<br>&nbsp;<br>&nbsp;<br>'); 
popwin.document.write('</td></tr></table>');                                                     
popwin.document.write('<table cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td>');
popwin.document.write('</td><td width="130">'); 
   if (close_button == "yes") {                                                                                                                                             
popwin.document.write('<a href="javascript:self.close()"><img src="pics/close.gif" border="0" onmouseover="this.style.border=\'#000000 1px solid\'" onmouseout="this.style.border=\'#'+background_color+' 1px solid\'" style="border: #FFFFFF 1px solid" hspace="95"></a><br>');
}                                                                                                                                                                               
popwin.document.write('</td></tr></table>');
popwin.document.write('</div>');
popwin.document.write('</td></tr></table>');
popwin.document.write('</BODY></HTML>');
popwin.document.close()
}

// End -->