if(top.frames.length!=3){
  $position=Math.max((location.href+'').lastIndexOf('/'),(location.href+'').lastIndexOf('\\'));
  $location=(location.href+'').substring($position+1,(location.href+'').length);

  if((location.href+'').substr($position-5,5)=='soort')$location='soort/'+$location;
  if((location.href+'').substr($position-9,9)=='meer_info')$location='meer_info/'+$location;
  if((location.href+'').substr($position-7,7)=='familie')$location='familie/'+$location;
  
  $base='./';
  if((location+'').search(/[\\\/](soort|familie|meer_info)[\\\/]/)!=-1)
    $base='../';

  $f  = '<br><form name="f" action="' + $base + '" method="post">';
  $f += '<input name="location" type="hidden" value="' + $location + '">';
  $f += '<center><input type="submit" class="button" style="height:24" value="Deze pagina in vogelvisie.nl laden"></center>';
  $f += '</form>';
  
  document.write($f);
//  top.location=$base+"index.php?location="+$location;
}

function showInfo($which){
  $left = Math.floor((screen.width - 400) / 2);
  $top = Math.floor((screen.height - 470) / 2);
  $F2 = window.open($which.replace('src=', ''), "Toelichting","width=400,height=470,status=no,scrollbars=no,left=" + $left + ",top=" + $top); 
}



/*document.write('<div id="loadSound" style="position:absolute;top:0px;left:0px;width:300px;height:100px;visibility:hidden;z-index:10;">');
document.write('<div style="position:absolute;left:3px;top:3px;width:300px;height:100px;background:#888888;filter:alpha(opacity=30);">');
document.write('<table width="300" height="100" cellpadding="0" cellspacing="0"><tr><td</td></tr></table>');
document.write('</div>');
document.write('<div style="position:absolute;left:0px;top:0px;width:300px;height:100px;">');
document.write('<table width="300" height="100" cellpadding="0" cellspacing="0"><tr><td valign="middle" align="center" style="text-align:center;background:#adb8a5;border:1px solid #888888;padding:3px;"><b>Een ogenblik geduld</b><br><br>De geluidsmodule wordt geladen...</td></tr></table>');
document.write('</div></div>');

function stopSound(){
  if(parent.left){
    if(parent.left.stop_sound)
      parent.left.stop_sound();
  }
}*/