// JavaScript Document

function showcnttext(mit,mennyi) {
	for(var i = 1; i <= mennyi; i++) {
		if(i == mit) {
			document.getElementById('cnt_'+i).style.display = 'block';
		}
		else {
			document.getElementById('cnt_'+i).style.display = 'none';
		}
	}
}

function hidecnttext(mit) {
	document.getElementById('cnt_'+mit).style.display = 'none';
}

function opensizedwin(link,w, h)  {
          popupWinex = window.open(link,'','scrollbars=no, width=' + w + ', height=' + h + ', left=' + ((screen.width/2)-w/2) + ', top=' + ((screen.height/2)-h/2));
}
