
function ToggleAccountRowsVisibility(check) {
	if (check.checked) {
		document.getElementById('loginRow').style.display = '';
		document.getElementById('passwdRow').style.display = '';
		document.getElementById('passwd2Row').style.display = '';
	}
	else {
		document.getElementById('loginRow').style.display = 'none';
		document.getElementById('passwdRow').style.display = 'none';
		document.getElementById('passwd2Row').style.display = 'none';
	}
}

function ToggleCommentFormVisibility(zwin, rozwin, zawszeRozwijaj) {
	rozwiniete = document.getElementById('formularzContainer').style.display;
	if (rozwiniete == 'block' && zawszeRozwijaj == 0) {
		document.getElementById('formularzContainer').style.display = 'none';
		document.getElementById('formularzZwinRozwin').innerHTML = rozwin;
	}
	else {
		document.getElementById('formularzContainer').style.display = 'block';
		document.getElementById('formularzZwinRozwin').innerHTML = zwin;
	}
}

function ToggleCompanyRowsVisibility(pokaz) {
	if (pokaz) {
		document.getElementById('firmaRow').style.display = '';
		document.getElementById('nipRow').style.display = '';
	}
	else {
		document.getElementById('firmaRow').style.display = 'none';
		document.getElementById('nipRow').style.display = 'none';
	}
}
jQuery(document).ready(function() {
      jQuery('.facebook-lubie').hover(
          function () {
              jQuery('.facebook-lubie').stop().animate({'marginLeft':'0px'},600);
          },
          function () {
             jQuery('.facebook-lubie').stop().animate({'marginLeft':'-293px'},600);
           }
      );
    
});

