﻿<!-- 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 	= "750"		// WIDTH OF THE SAMPLES PAGE POPUP
var height_sound 	= "410"		// WIDTH OF THE SAMPLES PAGE POPUP
var scrollbarS_sound	= "no"		// SHOW SCROLLBARS IN SAMPLES POPUP - yes OR no
var menu_sound		= "no"		// SHOW MENU IN SAMPLES POPUP - yes OR no
var tool_sound		= "no"		// 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



// ************* SONG = Studio One *************
function popUpStudioOne(data) {
   if (viewer_sound == "popup") {
    windowHandle = window.open('sounds/music/mp3/player-StudioOne.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/music/mp3/player-StudioOne.htm' + '?' + data,'windowName');
}
else if (viewer_sound == "same") {
    window.location = ('sounds/music/mp3/player-StudioOne.htm' + '?' + data);
}
}
// ************* END SONG - Studio One*************



// ************* SONG = Because She Said So *************
function popUpBecauseSheSaidSo(data) {
   if (viewer_sound == "popup") {
    windowHandle = window.open('sounds/music/mp3/player-BecauseSheSaidSo.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/music/mp3/player-BecauseSheSaidSo.htm' + '?' + data,'windowName');
}
else if (viewer_sound == "same") {
    window.location = ('sounds/music/mp3/player-BecauseSheSaidSo.htm' + '?' + data);
}
}
// ************* END SONG - Because She Said So *************



// ************* SONG = Because She Said So *************
function popUpBecauseSheSaidSo(data) {
   if (viewer_sound == "popup") {
    windowHandle = window.open('sounds/music/mp3/player-BecauseSheSaidSo.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/music/mp3/player-BecauseSheSaidSo.htm' + '?' + data,'windowName');
}
else if (viewer_sound == "same") {
    window.location = ('sounds/music/mp3/player-BecauseSheSaidSo.htm' + '?' + data);
}
}
// ************* END SONG - Because She Said So *************



// ************* SONG = Riding The Berks *************
function popUpRidingTheBerks(data) {
   if (viewer_sound == "popup") {
    windowHandle = window.open('sounds/music/mp3/player-RidingTheBerks.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/music/mp3/player-RidingTheBerks.htm' + '?' + data,'windowName');
}
else if (viewer_sound == "same") {
    window.location = ('sounds/music/mp3/player-RidingTheBerks.htm' + '?' + data);
}
}
// ************* END SONG - Riding The Berks *************



// ************* SONG = Baal HaSulam *************
function popUpBaalHaSulam(data) {
   if (viewer_sound == "popup") {
    windowHandle = window.open('sounds/music/mp3/player-BaalHaSulam.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/music/mp3/player-BaalHaSulam.htm' + '?' + data,'windowName');
}
else if (viewer_sound == "same") {
    window.location = ('sounds/music/mp3/player-BaalHaSulam.htm' + '?' + data);
}
}
// ************* END SONG - Baal HaSulam *************



// ************* SONG = Harry Knuckles *************
function popUpHarryKnuckles(data) {
   if (viewer_sound == "popup") {
    windowHandle = window.open('sounds/music/mp3/player-HarryKnuckles.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/music/mp3/player-HarryKnuckles.htm' + '?' + data,'windowName');
}
else if (viewer_sound == "same") {
    window.location = ('sounds/music/mp3/player-HarryKnuckles.htm' + '?' + data);
}
}
// ************* END SONG - Harry Knuckles *************



// ************* SONG = Portrait of Katie *************
function popUpPortraitofKatie(data) {
   if (viewer_sound == "popup") {
    windowHandle = window.open('sounds/music/mp3/player-PortraitofKatie.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/music/mp3/player-PortraitofKatie.htm' + '?' + data,'windowName');
}
else if (viewer_sound == "same") {
    window.location = ('sounds/music/mp3/player-PortraitofKatie.htm' + '?' + data);
}
}
// ************* END SONG - Portrait of Katie *************



// ************* SONG = Out Of Tahini *************
function popUpOutOfTahini(data) {
   if (viewer_sound == "popup") {
    windowHandle = window.open('sounds/music/mp3/player-OutOfTahini.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/music/mp3/player-OutOfTahini.htm' + '?' + data,'windowName');
}
else if (viewer_sound == "same") {
    window.location = ('sounds/music/mp3/player-OutOfTahini.htm' + '?' + data);
}
}
// ************* END SONG - Out Of Tahini *************



// ************* SONG = Shades Of Memories *************
function popUpShadesOfMemories(data) {
   if (viewer_sound == "popup") {
    windowHandle = window.open('sounds/music/mp3/player-ShadesOfMemories.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/music/mp3/player-ShadesOfMemories.htm' + '?' + data,'windowName');
}
else if (viewer_sound == "same") {
    window.location = ('sounds/music/mp3/player-ShadesOfMemories.htm' + '?' + data);
}
}
// ************* END SONG - Shades Of Memories *************



// ************* SONG = Heat 2007 *************
function popUpHeat2007(data) {
   if (viewer_sound == "popup") {
    windowHandle = window.open('sounds/music/mp3/player-Heat2007.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/music/mp3/player-Heat2007.htm' + '?' + data,'windowName');
}
else if (viewer_sound == "same") {
    window.location = ('sounds/music/mp3/player-Heat2007.htm' + '?' + data);
}
}
// ************* END SONG - Heat 2007 *************



// ************* SONG = Ode To Jerry *************
function popUpOdeToJerry(data) {
   if (viewer_sound == "popup") {
    windowHandle = window.open('sounds/music/mp3/player-OdeToJerry.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/music/mp3/player-OdeToJerry.htm' + '?' + data,'windowName');
}
else if (viewer_sound == "same") {
    window.location = ('sounds/music/mp3/player-OdeToJerry.htm' + '?' + data);
}
}
// ************* END SONG - Ode To Jerry *************



// ************* SONG = Doin The Worm *************
function popUpDoinTheWorm(data) {
   if (viewer_sound == "popup") {
    windowHandle = window.open('sounds/music/mp3/player-DoinTheWorm.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/music/mp3/player-DoinTheWorm.htm' + '?' + data,'windowName');
}
else if (viewer_sound == "same") {
    window.location = ('sounds/music/mp3/player-DoinTheWorm.htm' + '?' + data);
}
}
// ************* END SONG - Doin The Worm *************




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.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 -->

