$(document).ready(function(){
	$(function(){
    $.fn.formLabels();
  });
  $("a[rel='lightbox']").colorbox();
  $('a').filter(function() {
	  return this.hostname && this.hostname !== location.hostname;
	}).addClass("external");
	$(".js").each(function (i) {
    $(this).css({
	    'display': 'block'
    });
  })
  $(".non-js").each(function (i) {
    $(this).css({
	    'display': 'none'
    });
  })
});

//podpora Flash
  if (AC_FL_RunContent == 0) {
		alert("This page requires AC_RunActiveContent.js.");
	} else {
		AC_FL_RunContent(
			'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0',
			'width', '395',
			'height', '240',
			'src', 'horni',
			'quality', 'high',
			'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
			'align', 'middle',
			'play', 'true',
			'loop', 'true',
			'scale', 'showall',
			'wmode', 'window',
			'devicefont', 'false',
			'id', 'horni',
			'bgcolor', '#ffffff',
			'name', 'horni',
			'menu', 'true',
			'allowFullScreen', 'false',
			'allowScriptAccess','sameDomain',
			'movie', 'horni',
			'salign', ''
			); //end AC code
	}
