<!-- Begin VIEWER OPTIONS AND OTHER CODE

// CHANGE ANY OF THESE VARIABLES

// use only lowercase on options


// GALLERY VIEWER OPTIONS

var viewer 		= "same"	// OPTIONS: | new | popup | same | New browser or a popup
var width 		= "800"		// WIDTH OF THE POPUP
var height 		= "625"		// HEIGHT OF THE POPUP
var scrollbars		= "yes"		// SHOW SCROLLBARS IN POPUP - yes OR no
var menu		= "no"		// SHOW MENU IN POPUP - yes OR no
var tool		= "no"		// SHOW TOOLBAR IN POPUP - yes OR no


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(\'You may not right mouse click this page.\')')
popwin.document.write('}')
popwin.document.write('}')
popwin.document.write('document.onmousedown=noRightClick')
popwin.document.write('</script>')



// MUSIC FRAME OPTIONS

var FrameType 		= "1"		// MUSIC FRAME TYPE 1 OR 2 - TYPE 2 OPENS HOMEPAGE IN FRAME








// COPYRIGHT 2008 © 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 IMAGE VIEW CODE

function ViewImage(data) {
   if (viewer == "popup") {
    windowHandle = window.open('image-viewer.htm' + '?' + data,'windowName',',scrollbars='+scrollbars+',resizable=yes,toolbar='+tool+',menubar='+menu+',width='+width+',height='+height+'');

}
else if (viewer == "new") {
    windowHandle = window.open('image-viewer.htm' + '?' + data,'windowName');
}
else if (viewer == "same") {
    window.location = ('image-viewer.htm' + '?' + data);
}
}

// END IMAGE VIEW CODE








// MUSIC FRAME CODE



function OpenSoundFrame (){

if (FrameType == "1") {
	top.location.href = "sound_frame/soundFRAME.htm" + "?" + window.location.href; 
	}
else if (FrameType == "2") {
	top.location.href = "sound_frame/soundFRAME-NOSCRIPT.htm"; 
	}
    }





function AutoSoundFrame (){
	top.location.href = "sound_frame/soundFRAME-AUTOSTART.htm"; 
	}






// End -->