// COPYRIGHT 2011 © sarl DESIGNWORKS
// Unauthorized use or sale of this script is strictly prohibited by law


<!-- Begin VIEWER OPTIONS CODE

// CHANGE ANY OF THESE VARIABLES FOR THE IMAGE VIEWER

//  use only lowercase on options


// SOUNDFRAME OPTIONS

var soundloc	="bottom" 	// SOUNDFRAME LOCATION OPTIONS: | top | bottom |
var soundframe	="auto" 	// SOUNDFRAME OPTIONS: | normal | safe | auto |
var soundframe1	="normal" 	// SOUNDFRAME OPTIONS: | normal | safe | auto |

// THE ADDITION OF THE VAR SOUNDFRAME1 GIVES ME THE OPTION OF THE NORMAL OPTION IN THE OPENSOUND FRAME. IF THE ON BUTTON IS PRESSED ON A PAGE IT WON'T GO BACK TO THE ENTRY PAGE JUST RESTARTS THE AUDIO  


// MUSIC FRAME CODE

function OpenSoundFrame (){
	top.location.href = "sound_frame/framesets/FRAME_"+soundloc+"_"+soundframe1+".htm" + "?" + window.location.href;
    	}

function AutoSoundFrame (){
	top.location.href = "sound_frame/framesets/FRAME_"+soundloc+"_"+soundframe+".htm" + "?" + window.location.href;
	}

function HideFrame() {
   top.SoundFrame = !top.SoundFrame;
   if (soundloc == "top") {
   parent.document.body.rows = top.SoundFrame ? '0,*' : '0,*';
}
   if (soundloc == "bottom") {
   parent.document.body.rows = top.SoundFrame ? '*,0' : '*,0';
}
}

function CloseFrame() {

   top.location.href = top.MainFrame.document.location;

}
function initlize() {
if (!document.getElementsByTagName) return false;
}



// End -->
