
function SetViewpoint(viewpointnr){
  document.m3d_Applet.setViewpoint(viewpointnr);
}

function changeView(url,target,VPNr){
  for(i=0; i < parent.frames.length; ++i){
    if(parent.frames[i].name == target){
      parent.frames[i].location.href = url;
    }
  }        
  SetViewpoint(VPNr);
}
