<!-- Begin POP-UP SIZES AND OPTIONS CODE


// ONLY USE lowercase FOR yes no OPTIONS

// CHANGE ANY OF THESE VARIABLES TO "no" OR "yes" TO TURN AN OPTION OFF OR ON


// SOUND POPUPS

var download_logos 	= "yes"		// "yes" FOR THE DOWNLOAD ICONS TO SHOW
var close_button_s 	= "yes"		// SOUND CLOSE BUTTON ON/OFF
var show_flash 		= "yes"		// SHOW THE FLASH OPTION
var show_realaudio 	= "yes"		// SHOW THE REALAUDIO OPTION
var show_quicktime 	= "no"		// SHOW THE QUICKTIME OPTION
var show_windows 	= "no"		// SHOW THE WINDOWS OPTION
var flash_text		= "Flash" 	// TEXT TO CHOOSE FLASH
var real_text		= "RealAudio" 	// TEXT TO CHOOSE REALAUDIO
var quick_text		= "no"	        // TEXT TO CHOOSE QUICKTIME
var windows_text	= "no"	        // TEXT TO CHOOSE WINDOWS
var close_location 	= "98" 		// MOVE THE SOUND CLOSE BUTTON UP OR DOWN
var view_sound_width 	=  600		// SOUND POPUP WIDTH
var view_sound_height 	=  400		// SOUND POPUP HEIGHT
var right_click_onS	= "yes"		// SOUND RIGHT CLICK PROTECTION ON
var song_title		= "yes"		// SHOW SONG FILE NAME


// OTHER OPTIONS YOU CAN CHANGE

var scrollbarS_sound	= "0"		// TURN ON POPUP SCROLLBARS "1" FOR ON "0" FOR OFF
var background_colors	= "000000"	// BACKROUND COLOR OF THE POPUPS
var right_click_text	= "You may not right mouse click this page"	// TEXT FOR THE RIGHT CLICK PROTECTION




// COPYRIGHT 2004 © Allwebco Design Corporation
// Unauthorized use or sale of this script is strictly prohibited by law

// YOU DO NOT NEED TO EDIT BELOW THIS LINE

// START SOUND POPUP CODE




function popUpSound(SONG) {
var look='toolbar=0,scrollbars='+scrollbarS_sound+',location=0,statusbar=0,menubar=0,resizable=0,width='+view_sound_width+',height='+view_sound_height+','
popwin=window.open("","",look)
popwin.document.open()
popwin.document.write('<html><head>');
popwin.document.write('<title>Player</title>');
popwin.document.write('<link rel=StyleSheet href="corporatestyle.css" type="text/css" media="screen">');
   if (right_click_onS == "yes") {
popwin.document.write('<META HTTP-EQUIV="imagetoolbar" CONTENT="no">')
popwin.document.write('<script language="JavaScript">')
popwin.document.write('function noRightClick() {')
popwin.document.write('if (event.button==2) {')
popwin.document.write('alert(\''+right_click_text+'\')')
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_colors+'" 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="#333333" width="43" align="center">');
popwin.document.write('<img src="popup-download.gif"><br>');
popwin.document.write('</td><td valign="middle" bgcolor="#333333" width="108">');
   if (download_logos == "yes") {


// START THE DOWNLOAD ICONS

   if (show_flash == "yes") {
popwin.document.write('<a href="http://www.macromedia.com/go/getflashplayer/" target="_blank"><img src="icon_flash.gif" border="0"></a><br><br>');
}
   if (show_realaudio == "yes") {
popwin.document.write('<a href="http://real.com" target="_blank"><img src="icon_real.gif" border="0"></a><br><br>');
}
   
}
popwin.document.write('<img src="spacer.gif" width="108" height="1"><br>');
popwin.document.write('</td><td width="15">');
popwin.document.write('<img src="spacer.gif" width="15" height="20"><br>');
popwin.document.write('</td><td valign="top">');
popwin.document.write('<img src="popup-select.gif"><br>');
popwin.document.write('<img src="spacer.gif" width="10" height="105"><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="popup_flash">');
popwin.document.write('<PARAM NAME=movie VALUE="popup_flash.swf?theFile='+SONG+'">');
popwin.document.write('<PARAM NAME=quality VALUE=high>');
popwin.document.write('<PARAM NAME=bgcolor VALUE=#FFFFFF>');
popwin.document.write('<EMBED src="popup_flash.swf?theFile='+SONG+'" quality=high bgcolor=#FFFFFF WIDTH="35" HEIGHT="20" NAME="popup_flash" 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(''+flash_text+'<br>');
}
else
{
popwin.document.write('<br></td><td>');
popwin.document.write('<br>');
}
   if (show_realaudio == "yes") {
popwin.document.write('</td></tr><tr><td width="40">');
popwin.document.write('<a href="javascript:RealPlayer()"><img src="popup-player.gif" 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>Player</title>\');\n');
popwin.document.write('document.writeln(\'<link rel=StyleSheet href="corporatestyle.css" type="text/css" media="screen">\');\n');
popwin.document.write('document.writeln(\'</head>\');\n');
popwin.document.write('document.writeln(\'<BODY BGCOLOR="#'+background_colors+'" TEXT="#FFFFFF" LINK="#FFFFFF" VLINK="#FFFFFF" ALINK="#FFFFFF" leftmargin="0" rightmargin="0" topmargin="0" bottommargin="0" marginheight="0" marginwidth="0" class="fadedown">\');\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="100">\');\n');
popwin.document.write('document.writeln(\'<param name="SRC" value="'+SONG+'">\');\n');
popwin.document.write('document.writeln(\'<param name="CONTROLS" value="All">\');\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="'+SONG+'" type="audio/x-pn-realaudio-plugin" width="375" height="100" NOJAVA="true" controls="ControlPanel" console="one" AUTOSTART="true">\');\n');
popwin.document.write('document.writeln(\'</EMBED>\');\n');
popwin.document.write('document.writeln(\'</OBJECT><br>\');\n');


popwin.document.write('document.writeln(\'</td></tr><tr><td valign="bottom" height="32">\');\n');
popwin.document.write('document.writeln(\'<table cellpadding="0" cellspacing="9" border="0" width="100%"><tr><td>\');\n');

   if (song_title == "yes") {
popwin.document.write('document.writeln(\'&nbsp;FILE: '+SONG+'<br>\');\n');
}
   if (close_button_s == "yes") {
popwin.document.write('document.writeln(\'</td><td width="30" align="right" valign="bottom">\');\n');
popwin.document.write('document.writeln(\'<a href="javascript:self.close()"><img src="popup-close.gif" border="0" vspace="1"></a><br>\');\n');
}
popwin.document.write('document.writeln(\'</td></tr></table>\');\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(''+real_text+'<br>');
}
   
popwin.document.write('</td></tr></table>');
popwin.document.write('<img src="spacer.gif" width="15" height="'+close_location+'"><br>');
popwin.document.write('<div id="music-closebutton">');
popwin.document.write('<table cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td>');
   if (song_title == "yes") {
popwin.document.write('FILE: '+SONG+'');
}
popwin.document.write(' <br>');
popwin.document.write('</td><td width="30" align="right" valign="bottom">');
   if (close_button_s == "yes") {
popwin.document.write('<a href="javascript:self.close()"><img src="popup-close.gif" border="0" onmouseover="this.style.border=\'#FFFFFF 1px solid\'" onmouseout="this.style.border=\'#'+background_colors+' 1px solid\'" style="border: #000000 1px solid" hspace="8" vspace="1"></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()
}





// Begin PAGE CHANGER CODE


function Changer(direction)
{

if (null == direction)
{

if ((lastTime + delay) > new Date().getTime())
{
direction = 0;
}

else
{
direction = currentDirection;
}
}

else
{
currentDirection = direction;
}

if (direction != 0)
{

if (direction > 0)
{

currentSlide++;

if (currentSlide > (slides.length - 1))
{
currentSlide = 0;
}
}

else
{

currentSlide = currentSlide-1;

if (currentSlide < 0)
{
currentSlide = (slides.length - 1);
}
}

lastTime = new Date().getTime();

update(slides[currentSlide]);

setTimeout("Changer();",delay);
}
}
var currentIndex = 0;

function update(url, index) 
{
currentIndex = index;
document['MainImage'].src=url;
{

}
return;
}



// End -->


