var utcso;
var el;
function hirkapover(id)
{
  el = document.getElementById(id);
  utcso = el.style.background;
  el.style.background='white';
}
function hirkapout(id)
{
  el.style.background=utcso;
}

function hirkapcl(cat, id)
{
  var x;

  /* eloszor a menut allitjuk at */
  x = document.getElementById(id+'cikkek');
  if(x) x.style.background= '#bcc2d4';
  x = document.getElementById(id+'hirek');
  if(x) x.style.background= '#bcc2d4';
  x = document.getElementById(id+'koncertek');
  if(x) x.style.background= '#bcc2d4';
  x = document.getElementById(id+'femtarlat');
  if(x) x.style.background= '#bcc2d4';
  x = document.getElementById(id+'info');
  if(x) x.style.background= '#bcc2d4';
  x = document.getElementById(id+'hozzaszolasok');
  if(x) x.style.background= '#bcc2d4';
  x = document.getElementById(id+'tovabbiak0');
  if(x) x.style.background= '#bcc2d4';

  /* most eltuntetjuk az osszes dobozt*/
  x = document.getElementById(id+'cikkekdoboz');
  if(x) x.style.display= 'none';
  x = document.getElementById(id+'hirekdoboz');
  if(x) x.style.display= 'none';
  x = document.getElementById(id+'koncertekdoboz');
  if(x) x.style.display= 'none';
  x = document.getElementById(id+'femtarlatdoboz');
  if(x) x.style.display= 'none';
  x = document.getElementById(id+'infodoboz');
  if(x) x.style.display= 'none';
  x = document.getElementById(id+'hozzaszolasokdoboz');
  if(x) x.style.display= 'none';
  x = document.getElementById(id+'tovabbiak0doboz');
  if(x) x.style.display= 'none';

  /* most megjelenitjuk a megfelelo dobozt */
  x = document.getElementById(id+cat+'doboz');
  if(x) x.style.display= 'block';

  /* es vegul a menupontot feherre*/
  x = document.getElementById(id+cat);
  if(x) x.style.background = 'white';
  utcso = 'white';
}
