title: jQuery. Check onload if checkbox is checked and add css to div
body: <p>MY PROBLEM</p>
  
  <pre><code>jQuery(document).ready(function () {
  
  if ($('input.pokazkontakt').prop(':checked')) {
      $(this).parent().nextAll('.pkbox:first').css('display', 'block');
  } else {
      $(this).parent().nextAll('.pkbox:first').css('display', 'none');
  }
  
  $('input.pokazkontakt').click(function () {
      $(this).parent().nextAll('.pkbox:first').toggle('fast');
  });
  });
  </code></pre>
  
  <p><a href="http://jsfiddle.net/wgrRd/1/" rel="nofollow"><strong>Demo</strong></a></p>
  
  <p>2nd part of JS is working (toogle), but i want to check first if checkbox is checked and hide the div or show. Where is a problem?</p>