<!--  Nastavení pro lightbox   -->        
$(document).ready(function(){
			$("a[rel^='prettyPhoto']").prettyPhoto({
				animationSpeed: 'normal', /* fast/slow/normal */
				padding: 40, /* padding for each side of the picture */
				opacity: 0.35, /* Value betwee 0 and 1 */
				showTitle: true, /* true/false */
				allowresize: true, /* true/false */
				counter_separator_label: '/', /* The separator for the gallery counter 1 "of" 2 */
				theme: 'light_rounded', /* light_rounded / dark_rounded / light_square / dark_square */
				callback: function(){}
			});
		});

<!--  Animace vyhledávání h2   -->    

$(document).ready(function(){
  $("#search_results h2").animate({opacity: 1.0}, 3000).hide(1500);
});

<!--  Efekt u fotek jedné galerie   -->

$(document).ready(function(){
  $(".lightbox img").mouseover(function(){
      $(this).animate( { opacity:"0.5" },300);
  });
  $(".lightbox img").mouseout(function(){
      $(this).animate( { opacity:"1" }, 300);
  });  
});

<!--  Externí odkazy   -->

$(document).ready(function() {   
  $('#content a').filter(function() {   
    return this.hostname && this.hostname !== location.hostname;   
  }).addClass('external')   
  .click(function() {   
    window.open(this.href);   
    return false;   
  });   
});

// Tisk

	function Print()
	{
		window.print();
	}

// Login

function onclick_in() {
     var el = document.getElementById('email');
     if (el.value == 'Váš e-mail') {
          el.value = '';
     }
}
 function onblur_in () {
     var el = document.getElementById('email');
     if (el.value == '') {
          el.value = 'Váš e-mail';
     }
}

function onclick_in2() {
     var el = document.getElementById('password');
     if (el.value == 'Heslo') {
          el.value = '';
     }
}
 function onblur_in2 () {
     var el = document.getElementById('password');
     if (el.value == '') {
          el.value = 'Heslo';
     }
}
function onclick_in3() {
     var el = document.getElementById('email2');
     if (el.value == 'Your e-mail') {
          el.value = '';
     }
}
 function onblur_in3 () {
     var el = document.getElementById('email2');
     if (el.value == '') {
          el.value = 'Your e-mail';
     }
}
 



