function nyitzarbeallit(koll,mennyi,mit) {
	for (i=0; i<mennyi; i++) {
		document.getElementById(koll+i).style.display = 'none';
	}
	document.getElementById(koll+mit).style.display='block';
}


function kepcsere(kollnev,ujkep) {
	document.getElementById('kephely').src = 'http://vacheron.wdl.hu/kollekciok/'+kollnev+'/'+ujkep+'/'+ujkep+'-n.jpg';
}

function idokiiratas() {
  var now = new Date();
  var today = now.getDate();
  var month = now.getMonth();
    var monthName = new Array(12)
      monthName[0]="Január ";
      monthName[1]="Február ";
      monthName[2]="Március ";
      monthName[3]="Április ";
      monthName[4]="Május ";
      monthName[5]="Június ";
      monthName[6]="Július ";
      monthName[7]="Augusztus ";
      monthName[8]="Szeptember ";
      monthName[9]="Október ";
      monthName[10]="November ";
      monthName[11]="December ";
  var year = now.getFullYear();

// if (!document.layers && !document.all) return;
var digital = new Date();
var hours = digital.getHours();
var minutes = digital.getMinutes();
var seconds = digital.getSeconds();
// var amOrPm = "AM";
/*if (hours > 11) amOrPm = "PM";
if (hours > 12) hours = hours - 12;*/
if (hours == 0) hours = 12;
if (minutes <= 9) minutes = "0" + minutes;
if (seconds <= 9) seconds = "0" + seconds;
dispTime = hours + ":" + minutes + ":" + seconds;

document.getElementById('dtkiir').innerHTML = year + ". " + monthName[month]+today+ ". | " + dispTime;
setTimeout("idokiiratas()", 1000);
}