// -------- start of jQuery document.ready() ---------- //
  
$(document).ready(function(){
	
	$('#box_butform a').click(function(){
		$('html, body').animate({scrollTop:0}, 'slow');
		$("#xx_poptavkovy_formular").fadeIn(500);
		$(".formError").fadeIn(500);
	});
	
	$('#box_butform2 a').click(function(){
		$('html, body').animate({scrollTop:0}, 'slow');
		$("#xx_poptavkovy_formular").fadeIn(500);
		$(".formError").fadeIn(500);
	});
	
	$('#xx_a_close').click(function(){
		$("#xx_poptavkovy_formular").fadeOut(500);
		$(".formError").fadeOut(500);
	});
	
	$(".l_info").click(function () {
	  $(this).fadeOut(500);
    });
	
	$(".l_complete").click(function () {
	  $(this).fadeOut(500);
    });
	
	$(".l_warning").click(function () {
	  $(this).fadeOut(500);
    });
	
	$(".l_error").click(function () {
	  $(this).fadeOut(500);
    });
	
	// FORMULARE PRO OVERENI //	
	$(".formular").validationEngine();
	
 });




      
     

