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



var viewer_sound 	= "iframe"	// OPTIONS: | iframe |








// COPYRIGHT 2009 © 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 IFRAME CODE

function PlaySample(data) {
	if (viewer_sound == "iframe") {
    windowHandle = window.open('xmp3Player-mini/player-play.htm' + '?' + data,'mp3player');
}
}

// END SOUND IFRAME CODE









// 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();

ImageChange(slides[currentSlide]);

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

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

}
return;
}




// End -->
