function aktualisFul(ful) {
 fulek = new Array('hirek', 'felhivas', 'rendezvenynaptar');
 for(i in fulek) {
  $('#' + fulek[i] + '_gomb').removeClass('kivalasztott');
  $('#' + fulek[i] + '_ful').css('display', 'none');
 }
 $('#' + ful + '_gomb').addClass('kivalasztott');
 $('#' + ful + '_ful').css('display', 'block');
}

function aktualisFulNyito(ful) {
 fulek = new Array('hirek', 'felhivas');
 for(i in fulek) {
  $('#' + fulek[i] + '_gomb').removeClass('kivalasztott');
  $('#' + fulek[i] + '_ful').css('display', 'none');
 }
 $('#' + ful + '_gomb').addClass('kivalasztott');
 $('#' + ful + '_ful').css('display', 'block');
}

function honapotValt(id, uj) {
 if(uj == "elozo") {
  uj = id - 1;
 }
 else {
  uj = id + 1;
 }
 if($('#rendezveny_ful_' + uj).length > 0) {
  $('#rendezveny_ful_' + id).css('display', 'none');
  $('#rendezveny_ful_' + uj).css('display', 'block');
 }
}

function keresoReszletek(cb, reszletek) {
	if(cb.checked) {
	 $('#' + reszletek + '_reszletek > label > input').removeAttr('disabled');
	}
	else {
  $('#' + reszletek + '_reszletek > label > input').attr('disabled','disabled');
 }
}

// highslide konfig...
hs.registerOverlay({
	thumbnailId: null,
	overlayId: 'controlbar',
	position: 'top right',
	hideOnMouseOut: true
});

hs.graphicsDir = '/images/design/highslide/';
hs.outlineType = 'rounded-white';
// Tell Highslide to use the thumbnail's title for captions
hs.captionEval = 'this.thumb.title';
hs.showCredits = false;

