// JavaScript Document
			$(document).ready(function(){
				//Examples of how to assign the ColorBox event to elements.
				/*$('a[@rel*=lightbox]').colorbox({transition:"fade"});*/
				$("a[rel='example1']").colorbox({transition:"fade"});
				$(".colorbox").colorbox({iframe:true, width:500, height:500});	
				$('#my_dropdown_typ_pocet').sSelect();				
				
				//$("#datepicker").datepicker({dateFormat: 'yy-mm-dd'});
				$("#datepicker").datepicker({
					showOn: 'both',
					buttonImage: '/images/ico_kalendar.gif',
					buttonImageOnly: true,
					dateFormat: 'yy-mm-dd'
				});		
				$("#datepicker2").datepicker({
					showOn: 'both',
					buttonImage: '/images/ico_kalendar.gif',
					buttonImageOnly: true,
					dateFormat: 'yy-mm-dd'
				});					
				
				//onclick reset input value
				$('.input_rezervace_text').focus(
					function() {
						if (this.value == this.defaultValue) {
							this.value = '';
						}
					}
					);
				$('.input_rezervace_text').blur(
					function() {
						if (this.value == '') {
							this.value = this.defaultValue;
						}
					}
				);	
				
				$('.input_rezervace_pocet').focus(
					function() {
						if (this.value == this.defaultValue) {
							this.value = '';
						}
					}
					);
				$('.input_rezervace_pocet').blur(
					function() {
						if (this.value == '') {
							this.value = this.defaultValue;
						}
					}
				);
                                    
                                $('.input_rezervace_pokoj_pocet').focus(
					function() {
						if (this.value == this.defaultValue) {
							this.value = '';
						}
					}
					);    
				$('.input_rezervace_pokoj_pocet').blur(
					function() {
						if (this.value == '') {
							this.value = this.defaultValue;
						}
					}
				);					
				
				$('.form_textarea').focus(
					function() {
						if (this.value == this.defaultValue) {
							this.value = '';
						}
					}
					);
				$('.form_textarea').blur(
					function() {
						if (this.value == '') {
							this.value = this.defaultValue;
						}
					}
				);					
				
				$('.input_rezervace_date').focus(
					function() {
						if (this.value == this.defaultValue) {
							this.value = '';
						}
					}
					);
				$('.input_rezervace_date').blur(
					function() {
						if (this.value == '') {
							this.value = this.defaultValue;
						}
					}
				);					

			});	
			
		var flashvars = {};
		var params = {};
		params.wmode = "transparent";
		var attributes = {};
		swfobject.embedSWF("/header.swf", "header_flash", "930", "356", "8.0.0", false, flashvars, params, attributes);		
		swfobject.embedSWF("/header_slim.swf", "header_flash_slim", "930", "256", "8.0.0", false, flashvars, params, attributes);	
		
	  function initialize() {
		var latlng = new google.maps.LatLng(49.599672, 17.273756);
		var myOptions = {
		  zoom: 14,
		  scrollwheel: false,
		  center: latlng,
		  mapTypeId: google.maps.MapTypeId.ROADMAP
		};
		var map = new google.maps.Map(document.getElementById("map_canvas"), myOptions);
		  var marker = new google.maps.Marker({
			  position: latlng, 
			  map: map, 
			  title:"Hello World!"
		  });	
	  }		
