/*****

Die Hauptarbeit wird in /music/player.js erledigt.

Hier ist nur ein Wrapper, falls das Frameset noch nicht besteht.

*****/

function switchMusicOnOff(){
	
	if (!parent.musicframe){
				 
		var myloc = document.location.href;
	    top.document.location.href = "http://www.park-villa.de/frameset.php?loc="+myloc;
		
	} else {
		
		parent.musicframe.switchMusic();
	}
	
	return true;
}



function turnMusicOn() {
	   if (!parent.musicframe){
	      switchMusicOnOff();
	   }
	   return true;
}

function turnMusicOff() {
	   if (parent.musicframe){
          parent.musicframe.MusicOff();	
	   }
	   return true;
}


