if ((self == top) && !((self.innerHeight == 0) && (self.innerWidth == 0))) {
  window.document.location.replace('/nederlands/');
}
function openimg(img,w,h) {
  wnd=window.open(img,"Manso"+w+"_"+h,"height="+h+",width="+w+",toolbar=no,resizable=no,scrolling=no,status=no");
  wnd.focus();
}
var sndimg;
function togglesound() {
  if (!sndimg) {
    sndimg = window.document.getElementById("soundimg");
  }
  if (parent.frames[1].window.document.location.href.indexOf("nosound.html") > 0) {
    parent.frames[1].window.document.location.href='sound.html';
	if (sndimg) {
	  sndimg.src = "../imatges/sound-off.gif";
	  sndimg.alt = "Zet achtergrondgeluid uit";
	  sndimg.title =  "Zet achtergrondgeluid uit";
	}
  } else {
    parent.frames[1].window.document.location.href='nosound.html';
	if (sndimg) {
	  sndimg.src = "../imatges/sound-on.gif";
	  sndimg.alt = "Hoor de stilte op Manso Coguleras!";
	  sndimg.title =  "Hoor de stilte op Manso Coguleras!";
	}
  }
}
function setsoundimg() {
  if (!sndimg) {
    if (parent.frames[1].window.document.location.href.indexOf("nosound.html") <= 0) {
  	  sndimg = window.document.getElementById("soundimg");
	  if (sndimg) {
        if (parent.frames[1].window.document.getElementById("flashplayer")) {
		  sndimg.src = "../imatges/sound-off.gif";
		  sndimg.alt = "Zet achtergrondgeluid uit";
		  sndimg.title =  "Zet achtergrondgeluid uit";
        } else {
		  sndimg.src = "../imatges/sound-no.gif";
		  sndimg.alt = "Achtergrondgeluid niet beschikbaar op uw PC";
		  sndimg.title =  "Achtergrondgeluid niet beschikbaar op uw PC";
          sndlnk = window.document.getElementById("soundlink");
          if (sndlnk) {
            sndlnk.href="http://www.macromedia.com/go/getflashplayer/";
            sndlnk.target="_blank";
          }
        }
	  }
	}
  }
}
