var timeoutAutoClose = null;
var keepAlive        = {};

function Show(ID) {
  CloseAll();
  MM_showHideLayers('Plattegrond','','show');
  MM_showHideLayers(ID,'','show');
  MM_findObj('link'+ID).style.textDecoration = 'none';
  keepAlive[ID] = 1;
}

function Hide(ID) {
  timeoutAttract = setTimeout( "Close('"+ID+"');", 500 );
  MM_findObj('link'+ID).style.textDecoration = 'underline';
  keepAlive[ID] = null;
}

function Open(ID) {
  MM_showHideLayers('Hotspot'+ID,'','show');
}

function Close(ID) {
  if (!keepAlive[ID]) { MM_showHideLayers(ID,'','hide'); }
}


