function displayItemDiv(divId,idKeyword,close){
	displayLayer(divId,close);
	ajax_loadContent(divId,'index.php?page=action&modul=' + idKeyword);
}

function displayItemDivAd(divId,idKeyword,what,close){
	displayLayer(divId,close);
	ajax_loadContent(divId,'index.php?page=actionM&modul=' + idKeyword + '&href=' + what);
}

function displayItemDiv2(divId,idKeyword,close){
	displayLayer(divId,close);
	ajax_loadContent(divId,'index.php?page=' + idKeyword);
}

function displayItemDivindex(divId,idKeyword,close){
	displayLayer(divId,close);
	ajax_loadContent(divId,'index.php?page=index&distro=' + idKeyword);
}

function displayLayer(whichLayer,close)
{
  var elem, vis;
  if( document.getElementById ) // this is the way the standards work
    elem = document.getElementById( whichLayer );
  else if( document.all ) // this is the way old msie versions work
      elem = document.all[whichLayer];
  else if( document.layers ) // this is the way nn4 works
    elem = document.layers[whichLayer];
  vis = elem.style;
  // if the style.display value is blank we try to figure it out here
  document.getElementById(close).style.display = "none";
  vis.display = 'block';
}
