<!-- Begin POP-UP SIZES AND OPTIONS CODE


// CHANGE ANY OF THESE VARIABLES FOR THE SOUND POPUPS

//  use only lowercase on options

var viewer_sound 	= "popup"	// OPTIONS: | new | popup | same | New browser or a popup
var width_sound 	= "1024"		// WIDTH OF THE SAMPLES PAGE POPUP
var height_sound 	= "768"		// WIDTH OF THE SAMPLES PAGE POPUP
var scrollbarS_sound= "no"		// SHOW SCROLLBARS IN SAMPLES POPUP - yes OR no
var menu_sound		= "yes"		// SHOW MENU IN SAMPLES POPUP - yes OR no
var tool_sound		= "yes"		// SHOW TOOLBAR IN SAMPLES POPUP - yes OR no


// COPYRIGHT 2006 © 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(data) {
   if (viewer_sound == "popup") {
    windowHandle = window.open('../sounds/player-home_ned.htm' + '?' + data,'windowName',',scrollbars='+scrollbarS_sound+',resizable=yes,toolbar='+tool_sound+',menubar='+menu_sound+',width='+width_sound+',height='+height_sound+'');

}
else if (viewer_sound == "new") {
    windowHandle = window.open('../sounds/player-home_ned.htm' + '?' + data,'windowName');
}
else if (viewer_sound == "same") {
    window.location = ('../sounds/player-home_ned.htm' + '?' + data);
}
}


function popUpQuicktime (data) {
    window.location = ('player-quicktime.htm' + '?' + data);
}


function popUpWinMedia (data) {
    window.location = ('player-winmedia.htm' + '?' + data);
}


function popUpRealAudio (data) {
    window.location = ('player-realaudio.htm' + '?' + data);
}


// END SOUND POPUP CODE


// TARGET POPUP LINK SCRIPT FOR LINKS IN THE player-home_ned.htm


function openerpage(mainwindow, closeme, closeonly)
{
if (! (window.focus && window.opener))return true;
window.opener.focus();
if (! closeonly)window.opener.location.href=mainwindow.href;
if (closeme)window.close();
return false;
}


// START IMAGE GALLERY 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 -->


