<!--

function CheckForNull (theForm) {

  if ((theForm.ojmeno.value == "") ||
     (theForm.shipmail.value == "") ||
     (theForm.shiptel.value == ""))
  {
    alert("Prosím, vyplňte tučně vyznačené údaje.");
    theForm.ojmeno.focus();
    return false;
  }
  return true; 
}


function CheckForNulld (theForm) {

  if ((theForm.Firma.value == "") ||
     (theForm.Kontakt.value == "") ||
     (theForm.Predmet.value == "") ||
     (theForm.Ulice.value == "") ||
     (theForm.Mesto.value == "") ||
     (theForm.PSC.value == "") ||
     (theForm.Telefon.value == "") ||
     (theForm.Antispam.value != "5"))
  {
    alert("Prosím, vyplňte údaje označené hvězdičkou.");
    theForm.Predmet.focus();
    return false;
  }
  return true; 
}


// Fancybox
		$(document).ready(function() {

		if ($('a[rel*=group]').length) {
			$("a[rel*=group]").fancybox({
				'titlePosition': 'over',
				'titleFormat': function(title, currentArray, currentIndex, currentOpts){
			return '<span id="fancybox-title-over">Obrázek ' + (currentIndex + 1) + ' / ' + currentArray.length + (title.length ? ' : &nbsp;  ' + title : '') + '</span>';
			}
		});
		}
		});

// Prolinani obrazku
$(document).ready(function() {
    $('.slideshow').cycle({
		fx: 'fade' // choose your transition type, ex: fade, scrollUp, shuffle, etc...
	});
});

//-->
