<!-- Begin VIEWER OPTIONS CODE
// COPYRIGHT 2008 © Allwebco Design Corporation
// Unauthorized use or sale of this script is strictly prohibited by law
// CHANGE ANY OF THESE VARIABLES FOR THE IMAGE VIEWER
//  use only lowercase on options


// GALLERY VIEWER OPTIONS
var height 		= "625"		// HEIGHT OF THE POPUP
var menu		= "no"		// SHOW MENU IN POPUP - yes OR no
var scrollbars	= "yes"		// SHOW SCROLLBARS IN POPUP - yes OR no
var tool		= "no"		// SHOW TOOLBAR IN POPUP - yes OR no
var viewer 		= "same"		// OPTIONS: | new | popup | same | New browser or a popup
var width 		= "800"		// WIDTH OF THE POPUP


// MUSIC FRAME OPTIONS
var FrameType	= "1"			// MUSIC FRAME TYPE 1 OR 2 - TYPE 2 OPENS HOMEPAGE IN FRAME


// YOU DO NOT NEED TO EDIT BELOW THIS LINE


// START IMAGE VIEW CODE
function ViewImage(data) {
   if (viewer == "popup") {
		windowHandle = window.open('image-viewer.html' + '?' + data,'windowName',',scrollbars='+scrollbars+',resizable=yes,toolbar='+tool+',menubar='+menu+',width='+width+',height='+height+'');
	}
	else if (viewer == "new") {
		windowHandle = window.open('image-viewer.html' + '?' + data,'windowName');
	}
	else if (viewer == "same") {
		window.location = ('image-viewer.html' + '?' + data);
	}
}
// END IMAGE VIEW CODE


// MUSIC FRAME CODE
function OpenSoundFrame (){
	if (FrameType == "1") {
		top.location.href = "sound_frame/soundFRAME.html" + "?" + window.location.href;
	}
	else if (FrameType == "2") {
		top.location.href = "sound_frame/soundFRAME-NOSCRIPT.html";
	}
}


function AutoSoundFrame (){
	top.location.href = "sound_frame/soundFRAME-AUTOSTART.html";
}

// End -->
