<!-- Begin SOUNDFRAMEs OPTIONS CODE

// CHANGE ANY OF THESE VARIABLES, use only lowercase on options

// SOUNDFRAME OPTIONS


var framecolor	="white"	// SOUNDFRAME COLOR | black | white |
var soundloc	="bottom" 	// SOUNDFRAME LOCATION OPTIONS: | top | bottom |
var soundframe	="normal" 	// SOUNDFRAME OPTIONS: | normal | safe | auto |




// COPYRIGHT 2010 © Allwebco Design Corporation
// Unauthorized use or sale of this script is strictly prohibited by law

// YOU DO NOT NEED TO EDIT BELOW THIS LINE




// MUSIC FRAME CODE

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

function AutoSoundFrame (autoplay_file, alt_file){
	var a = window.location.href;
	if (a.indexOf(autoplay_file) == -1) a = a + autoplay_file;
	
	//document.write(a.replace("autoplay_file", alt_file));
	//document.write(top.location.href+"<br>");
	//if (a.indexOf('?') < -1){
	//alert ("sound_frame/"+framecolor+"/FRAME_"+soundloc+"_"+soundframe+".htm" + "?" + a.replace(autoplay_file, alt_file));
	top.location.href = "sound_frame/"+framecolor+"/FRAME_"+soundloc+"_"+soundframe+".htm" + "?" + a.replace(autoplay_file, alt_file);
	//top.location.href = "sound_frame/"+framecolor+"/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 CloseSoundFrame() {

  if (top.location != location) {
    top.location.href = document.location.href;
	}

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




// End -->
