$(document).ready(function(){
	//if ($('#news').height() < $('#content').height()) $('#news').height($('#content').height()+6);
	//if ($('#news').height() > $('#content').height()) $('#content').height($('#news').height()-5);	
	if ($("#vezeto")) {
		$("#vezeto").click(function() {
			  if ($('#vezeto').attr('checked')) {
				   $("#igazol").addClass("rh");
			  } else {
				   $("#igazol").removeClass("rh");			  
			  }
		});
	}

	if ($("#bvez")) {
		$("#bvez").click(function() {
			  if ($('#bvez').attr('checked')) {
				   $("#bigazolvany").addClass("rh");
			  } else {
				   $("#bigazolvany").removeClass("rh");			  
			  }
		});
	}


	$('.fond').mouseover(function() {
    	this.className='fondG';
	});
	
	$('.fond').mouseout(function() {
    	this.className='fond';
	});	



});

function vanneved() {
	if(document.getElementById('name').value) return true;
	document.getElementById('name').className = 'warning';
	return false;
	//alert ( $("#name").val());
	
	//return (document.getElementById('name').value);
}

function letussee(seeder, divid){
	document.getElementById(divid).className = 'myfloat';
}

function nosee(divid){
	document.getElementById(divid).className = 'rh';
}


