<!-- Begin SOUNDFRAMEs OPTIONS CODE

// CHANGE ANY OF THESE VARIABLES, use only lowercase on options

// SOUNDFRAME OPTIONS


var framecolor	="black"	// SOUNDFRAME COLOR | black | white |
var soundloc	="bottom" 	// SOUNDFRAME LOCATION OPTIONS: | top | bottom |
var soundframe	="auto" 	// 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 OpenSoundFrame2 (){
	params="";
	if(document.location.href.indexOf("kontakt.php", 0)!=-1){
		  anrede=document.forms["kontakt"].anrede[1].checked ? document.forms["kontakt"].anrede[1].value : document.forms["kontakt"].anrede[0].value;
		  //kvia=document.forms["kontakt"].kvia[1].checked ? document.forms["kontakt"].kvia[1].value : document.forms["kontakt"].kvia[0].value;
		  
		  params="?stop_sound=1&firma="+document.forms["kontakt"].firma.value+"&vorname="+document.forms["kontakt"].vorname.value+"&anrede="+anrede+"&kname="+document.forms["kontakt"].kname.value+"&adres1="+document.forms["kontakt"].adres1.value+"&adres2="+document.forms["kontakt"].adres2.value+"&land="+document.forms["kontakt"].land.value+"&plz="+document.forms["kontakt"].plz.value+"&ort="+document.forms["kontakt"].ort.value+"&tel="+document.forms["kontakt"].tel.value+"&fax="+document.forms["kontakt"].fax.value+"&email="+document.forms["kontakt"].email.value+"&homepage="+document.forms["kontakt"].homepage.value+"&teluber="+document.forms["kontakt"].teluber.value+"&zeit="+document.forms["kontakt"].zeit.value+"&nachricht="+document.forms["kontakt"].nachricht.value;
	}
	top.location.href = "sound_frame/"+framecolor+"/FRAME_"+soundloc+"_normal.htm" + "?" + window.location.href+params;
 }

function AutoSoundFrame (){
	top.location.href = "balkantex/index.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 soundPlaying(){
	return top.SoundFrame;
}

function CloseFrame() {

   top.location.href = top.MainFrame.document.location;

}
function CloseSoundFrame() {

  if (top.location != location) {
	  
	  if(document.location.href.indexOf("kontakt.php", 0)!=-1){
		  anrede=document.forms["kontakt"].anrede[1].checked ? document.forms["kontakt"].anrede[1].value : document.forms["kontakt"].anrede[0].value;
		  //kvia=document.forms["kontakt"].kvia[1].checked ? document.forms["kontakt"].kvia[1].value : document.forms["kontakt"].kvia[0].value;
		  
		  params="?stop_sound=1&firma="+document.forms["kontakt"].firma.value+"&vorname="+document.forms["kontakt"].vorname.value+"&anrede="+anrede+"&kname="+document.forms["kontakt"].kname.value+"&adres1="+document.forms["kontakt"].adres1.value+"&adres2="+document.forms["kontakt"].adres2.value+"&land="+document.forms["kontakt"].land.value+"&plz="+document.forms["kontakt"].plz.value+"&ort="+document.forms["kontakt"].ort.value+"&tel="+document.forms["kontakt"].tel.value+"&fax="+document.forms["kontakt"].fax.value+"&email="+document.forms["kontakt"].email.value+"&homepage="+document.forms["kontakt"].homepage.value+"&teluber="+document.forms["kontakt"].teluber.value+"&zeit="+document.forms["kontakt"].zeit.value+"&nachricht="+document.forms["kontakt"].nachricht.value;
		  
		  top.location.href = document.location.href+params;
	  }else{
    	top.location.href = document.location.href;
	  }
	
	}

}
function initlize() {
if (!document.getElementsByTagName) return false;
}


function getMovie(movieName) { 
    return top.SoundFrame.document.getElementById(movieName); 
}

function startSound() { 
    var flash = getMovie('mymusic'); //alert(flash);
    flash.startMusic(); 
} 
function stopSound() { //alert(top.SoundFrame.document);
    var flash = getMovie('mymusic'); //alert(flash);
    flash.stopMusic(); 
} 

// End -->
