PageSourceSearch

https://www.spahoteldevin.cz/en/contact/

html spahoteldevin.cz collected 2026-10-02 20:09:04 UTC 104,470 bytes, 2,958 lines download raw bytes

1<!DOCTYPE html>
2<html lang="en" class="sec_lang_en sec_group_10 JS_SKRYJ_MENU_DOKUD_NENI_NASTAVENO_JAVASCRIPTEM  LANGS_VERZE2 ">
3
4<head>
vendor: 79 bytes, lines 4-6
4
5	<script src="https://www.google.com/recaptcha/api.js" async defer></script>
6	
6<script type="text/javascript" src="/jquery/jquery-2.1.3.min.js"></script>
6
7
8	
8<script>
9		function slideUp(element) {
10			const defaultHeight = element.css("height"); //Získá původní velikost divu
11			element.css("height", "auto"); //Nastaví css na auto velikost
12			const animateHeight = element.css("height"); //Získá velikost pro animaci
13			element.css("height", defaultHeight); //A nastaví zpět původní velikost
14
15			return new Array(element, animateHeight);
16		}
17
18		$(document).ready(function() {
19			$(".showButton").on("click", function() {
20
21				const animateSlide = slideUp($(".hidener"));
22				animateSlide[0].stop().animate({
23					height: animateSlide[1]
24				}, 600, function() {
25					$(this).css("height", "auto");
26					$(".hideButton").css({
27						"display": "flex"
28					});
29				}) //Animace výšky podmínky
30
31				$(this).css({
32					"display": "none"
33				});
34			})
35
36			$(".hideButton").on("click", function() {
37
38				const animateSlide = slideUp($(".hidener"));
39				$(".hidener").stop().animate({
40					height: 0
41				}, 400, function() {
42					$(".showButton").css({
43						"display": "flex"
44					});
45				});
46				$(this).css({
47					"display": "none"
48				});
49			})
50
51			$('#odeslat').on('click', function() {
52				//alert('1');
53				var allfilled = 1;
54				$("input.mndt").each(function(index) {
55					console.log(index + ": " + $(this).text());
56					if ($(this).val() == "") {
57						allfilled = 0;
58					}
59				});
60				if (allfilled) {
61					var data = $('#form_objednavka').serializeArray();
62					data.push({
63						'name': 'lang',
64						'value': 'en'
65					});
66					$.post('files/voucher.php', data, function(answer) {
67						if (answer == 1) {
68							alert("?php echo $T->html('voucher_done', 'voucher_done'); ?>");
69						}
70					});
71				} else {
72					alert("Please fill out all required fields");
73				}
74			});
75
76
77
78		});
79
80		$(document).ready(function() {
81
82			$(".gm-style-iw").css("background-color", "yellow");
83
84
85			$(".rozbalovatko").click(function() {
86
87				$(this).parent().children("ul").removeAttr("style");
88
89				$(this).parent().children("ul").css("height", "auto");
90
91
92			});
93
94			$(".itemico").click(function() {
95				$(".itemico").removeClass("selected_ico");
96				$(this).addClass("selected_ico");
97
98				var class_to_roll = "." + $(this).attr("id");
99				console.log(class_to_roll);
100				$(".k_rollup").removeClass("rolled");
101
102				$(class_to_roll).addClass("rolled");
103
104			});
105
106		});
107	</script>
107
108	
109    
109<script id="cm_init" src="https://cookiemanager.zoom-driver.com/ab0730c1874a753de23ed9287140aef1dae6d6d3/?lang=en"></script>
109
110
111    <base href="https://www.spahoteldevin.cz" target="_self">        
112
113    <meta charset="utf-8">
114    <meta name="google-site-verification" content="nrgR5qTh623lpiXZNWjGeeQ4Xr9wRgVhBN4_Lg0QfOM" />
115    <meta name="google-site-verification" content="C97pA_2NmJgXqpNfuvypMs16vBSrhDo7MssBtga1Xn4" />
116    
117	
118    <title>Spa Hotel Děvín, Příkrá, Mariánské Lázně, Czech Republic</title>
119<meta name="description" content="If you have any questions about your stay with us, please contact our team via email or phone. Spa Hotel Děvín, Příkrá 618/2a, 353 01 Mariánské Lázně.">
120
121    <meta name="robots" content="index,follow">
122    <meta name="author" content="virtual-zoom; e-mail:[email protected] ">
123    <meta id="vp" name="viewport" content="width=device-width, minimum-scale=0.25, maximum-scale=1.6, user-scalable=yes" >
124
125    
125<script>
126        window.onload = function() {
127            if (screen.width < 425) {
128                var mvp = document.getElementById('vp');
129                mvp.setAttribute('content','user-scalable=no,width=425');
130            }
131        }
132    </script>
132
133
134    
135    <link rel="alternate" href="https://www.spahoteldevin.cz/cz/kontakt/" hreflang="cs">
136    <link rel="alternate" href="https://www.spahoteldevin.cz/en/contact/" hreflang="en">
137    <link rel="alternate" href="https://www.spahoteldevin.cz/de/kontakt-de/" hreflang="de">
138    <link rel="alternate" href="https://www.spahoteldevin.cz/ru/контакты/" hreflang="ru">
139<link rel="apple-touch-icon" sizes="57x57" href="icon/apple-icon-57x57.png">
140<link rel="apple-touch-icon" sizes="60x60" href="icon/apple-icon-60x60.png">
141<link rel="apple-touch-icon" sizes="72x72" href="icon/apple-icon-72x72.png">
142<link rel="apple-touch-icon" sizes="76x76" href="icon/apple-icon-76x76.png">
143<link rel="apple-touch-icon" sizes="114x114" href="icon/apple-icon-114x114.png">
144<link rel="apple-touch-icon" sizes="120x120" href="icon/apple-icon-120x120.png">
145<link rel="apple-touch-icon" sizes="144x144" href="icon/apple-icon-144x144.png">
146<link rel="apple-touch-icon" sizes="152x152" href="icon/apple-icon-152x152.png">
147<link rel="apple-touch-icon" sizes="180x180" href="icon/apple-icon-180x180.png">
148<link rel="shortcut icon" type="image/png" sizes="192x192"  href="icon/android-icon-192x192.png">
149<link rel="shortcut icon" type="image/png" sizes="32x32" href="icon/favicon-32x32.png">
150<link rel="shortcut icon" type="image/png" sizes="96x96" href="icon/favicon-96x96.png">
151<link rel="shortcut icon" type="image/png" sizes="16x16" href="icon/favicon-16x16.png">
152<link rel="manifest" href="icon/manifest.json">
153<meta name="msapplication-TileColor" content="#ffffff">
154<meta name="msapplication-TileImage" content="icon/ms-icon-144x144.png">
155<meta name="theme-color" content="#ffffff">
156<link rel="shortcut icon" href="icon/favicon.ico?2" type="image/x-ico">
157
158<meta name="ai:guidelines" content="https://www.spahoteldevin.cz/llms.txt">
159<link rel="alternate" type="text/plain" hreflang="cs" href="https://www.spahoteldevin.cz/llms_cz.txt">
160<link rel="alternate" type="text/plain" hreflang="de" href="https://www.spahoteldevin.cz/llms_de.txt">
161<link rel="alternate" type="text/plain" hreflang="en" href="https://www.spahoteldevin.cz/llms_en.txt">
162
163
164
165    <!-- Google Tag Manager -->
166    
166<script>
vendor: 343 bytes, lines 166-170
166(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
167    new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
168    j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
169    'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
170    })(window,document,'script','dataLayer','
170GTM-KH282PLG
vendor: 3 bytes, line 170
170');
170</script>
170
171    <!-- End Google Tag Manager -->
172     
173     
174
175    <!-- Meta Pixel Code -->
176    
176<script>
vendor: 435 bytes, lines 176-185
176
177    !function(f,b,e,v,n,t,s)
178    {if(f.fbq)return;n=f.fbq=function(){n.callMethod?
179    n.callMethod.apply(n,arguments):n.queue.push(arguments)};
180    if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';
181    n.queue=[];t=b.createElement(e);t.async=!0;
182    t.src=v;s=b.getElementsByTagName(e)[0];
183    s.parentNode.insertBefore(t,s)}(window, document,'script',
184    'https://connect.facebook.net/en_US/fbevents.js');
185    fbq('init', '
1851427270228006157
vendor: 38 bytes, lines 185-187
185');
186    fbq('track', 'PageView');
187    
187</script>
187
188    <noscript><img height="1" width="1" style="display:none"
189    src="https://www.facebook.com/tr?id=1427270228006157&ev=PageView&noscript=1"
190    /></noscript>
191    <!-- End Meta Pixel Code -->
192
193           
194    <link rel="stylesheet" href="https://www.spahoteldevin.cz/jquery/ui2/jquery-ui.min.css?2" media="screen">
195    <link rel="stylesheet" href="https://www.spahoteldevin.cz/jquery/ui2/jquery-ui.theme.css?3" media="screen">
196
197    <link rel="stylesheet" href="https://www.spahoteldevin.cz/jquery/fancybox/jquery.fancybox-1.3.4.css" media="screen">
198
199    <link rel="stylesheet" href="https://www.spahoteldevin.cz/css/style.css?2026-10-0222:09:03" media="screen">
200    <link rel="stylesheet" href="https://www.spahoteldevin.cz/css/homepage.banner.css?2026-10-0222:09:03" media="screen"> 
201    
201<script type="text/javascript" src="/jquery/jquery-2.1.3.min.js"></script>
201
202    
202<script type="text/javascript" src="/jquery/ui2/jquery-ui.min.js"></script>
202
203    
203<script type="text/javascript" src="/jquery/i18n/datepicker-en.js"></script>
203
204
205    
205<script type="application/ld+json">
206{
207  "@context": "https://schema.org",
208  "@type": ["Hotel", "LodgingBusiness"],
209  "@id": "https://www.spahoteldevin.cz/en/#hotel",
210  "name": "Spa Hotel Děvín",
211  "alternateName": "SPA Hotel Děvín",
212  "description": "Spa Hotel Děvín 4* in Mariánské Lázně offers spa treatments, wellness procedures, a restaurant and accommodation in a peaceful forest park setting with access to natural mineral springs.",
213  "url": "https://www.spahoteldevin.cz/en/",
214  "logo": {
215    "@type": "ImageObject",
216    "url": "https://www.spahoteldevin.cz/img/logo.png",
217    "caption": "Spa Hotel Děvín logo"
218  },
219  "image": "https://www.spahoteldevin.cz/img/logo.png",
220  "telephone": "+420354470400",
221  "email": "[email protected]",
222  "address": {
223    "@type": "PostalAddress",
224    "streetAddress": "Příkrá 618/2a",
225    "addressLocality": "Mariánské Lázně",
226    "postalCode": "353 01",
227    "addressCountry": "CZ",
228    "addressRegion": "Karlovy Vary Region"
229  },
230  "geo": {
231    "@type": "GeoCoordinates",
232    "latitude": 49.9647,
233    "longitude": 12.7010
234  },
235  "hasMap": "https://maps.google.com/?q=Spa+Hotel+D%C4%9Bv%C3%ADn+Mari%C3%A1nsk%C3%A9+L%C3%A1zn%C4%9B",
236  "starRating": {
237    "@type": "Rating",
238    "ratingValue": "4",
239    "bestRating": "5",
240    "worstRating": "1"
241  },
242  "priceRange": "€€€",
243  "currenciesAccepted": "CZK, EUR",
244  "paymentAccepted": "Cash, Credit Card",
245  "availableLanguage": [
246    {"@type": "Language", "name": "Czech", "alternateName": "cs"},
247    {"@type": "Language", "name": "English", "alternateName": "en"},
248    {"@type": "Language", "name": "German", "alternateName": "de"},
249    {"@type": "Language", "name": "Russian", "alternateName": "ru"}
250  ],
251  "amenityFeature": [
252    {"@type": "LocationFeatureSpecification", "name": "Free Wi-Fi", "value": true},
253    {"@type": "LocationFeatureSpecification", "name": "Car park", "value": true},
254    {"@type": "LocationFeatureSpecification", "name": "EV charging station (11 kW)", "value": true},
255    {"@type": "LocationFeatureSpecification", "name": "SPA centre", "value": true},
256    {"@type": "LocationFeatureSpecification", "name": "Restaurant", "value": true},
257    {"@type": "LocationFeatureSpecification", "name": "Wine and cocktail bar", "value": true},
258    {"@type": "LocationFeatureSpecification", "name": "Spa treatments", "value": true},
259    {"@type": "LocationFeatureSpecification", "name": "Wellness procedures", "value": true},
260    {"@type": "LocationFeatureSpecification", "name": "Pet-friendly stays", "value": true},
261    {"@type": "LocationFeatureSpecification", "name": "Family-friendly stays", "value": true},
262    {"@type": "LocationFeatureSpecification", "name": "Bicycle and ski rental", "value": true},
263    {"@type": "LocationFeatureSpecification", "name": "Railway station transfers", "value": true},
264    {"@type": "LocationFeatureSpecification", "name": "Non-smoking hotel", "value": true},
265    {"@type": "LocationFeatureSpecification", "name": "Manicure and pedicure", "value": true},
266    {"@type": "LocationFeatureSpecification", "name": "In-room safe", "value": true},
267    {"@type": "LocationFeatureSpecification", "name": "CCTV security system", "value": true}
268  ],
269  "checkinTime": "T14:00",
270  "checkoutTime": "T11:00",
271  "petsAllowed": true,
272  "numberOfRooms": {
273    "@type": "QuantitativeValue",
274    "description": "Superior, Superior Plus, De Luxe and De Luxe Plus rooms"
275  },
276  "sameAs": [
277    "https://www.facebook.com/SpaHotelDevinMarianskeLazne/",
278    "https://www.instagram.com/spahoteldevin/",
279    "https://www.goldenapplehotels.com"
280  ],
281  "parentOrganization": {
282    "@type": "Organization",
283    "name": "Golden Apple Hotels",
284    "url": "https://www.goldenapplehotels.com"
285  },
286  "legalName": "Reprezentativní organizace odborových organizací SPG a.s.",
287  "vatID": "CZ27450201",
288  "taxID": "27450201"
289}
290</script>
290
291
292				
292<script crossorigin type="text/javascript" src="https://www.spahoteldevin.cz/jquery/jquery.plugins.js"></script>
292
293				
293<script crossorigin type="text/javascript" src="https://www.spahoteldevin.cz/jquery/jquery.superbgimage.min.js"></script>
293
294				
294<script crossorigin type="text/javascript" src="https://www.spahoteldevin.cz/jquery/jquery.superbgimage.min02.js"></script>
294
295				
295<script crossorigin type="text/javascript" src="https://www.spahoteldevin.cz/jquery/jquery.lazyload.min.js"></script>
295
296				
296<script crossorigin type="text/javascript" src="https://www.spahoteldevin.cz/jquery/fancybox/jquery.fancybox-1.3.4.pack.js"></script>
296
297				
297<script crossorigin type="text/javascript" src="https://www.spahoteldevin.cz/js/js.js"></script>
297    
298<script type="text/javascript" id="jsHlavniScript">
299
300function Top_cab_container(){
301    this.scroll = {};
302}
303Top_cab_container.prototype.onScroll = function( e ){
304        var scrollY = $(window).scrollTop();
305
306        this.scroll.dY = scrollY - this.scroll.lastY;
307        this.scroll.lastY = scrollY;
308        // console.log( 2 );
309
310        var up = this.scroll.dY < 0 ;
311        // 
312
313        var minY = $("#topnavigation").height() + $("#top_cab_container").height();
314        //if( scrollY > minY ){
315        //  $("html").addClass("top_cab_container-enable_scroll_hiding_animation");
316        //}
317        if( up && scrollY > minY ){
318            $("html").addClass("top_cab_container-hidden_by_scroll");
319        } else {
320            $("html").removeClass("top_cab_container-hidden_by_scroll");
321        }    
322}
323
324var top_cab_container = new Top_cab_container();
325
326
327function mrizkaUpdate(
328     selector, sirka, miraVyskyJednoho
329  ){
330
331/*
332  // grid
333  var vedleSebe = $( window ).width() / 320; // # na 1024 musi byt aspon 3 vedle sebe [ ipad ]
334  //var vedleSebe = $( window ).width() / 400; // ditto 1200
335  //var vedleSebe = $( window ).width() / 600; // ditto 1920
336  vedleSebe = Math.floor( vedleSebe );
337  vedleSebe = vedleSebe <= 0? 1 : vedleSebe;
338  vedleSebe = vedleSebe >= 4? 4 : vedleSebe;
339  var newW = $( window ).width() / vedleSebe;
340
341  selector = selector || ".__mrizka";
342  var __mrizka = $( selector );
343
344  __mrizka.width( newW ).height( newW );
345*/
346
347  selector = selector || ".js_grid";
348  sirka = sirka || window; // normalne okno
349  sirka = isFinite( sirka ) ? + sirka : $( selector ).parent().width(); // sirka cislem?
350  miraVyskyJednoho = isFinite( miraVyskyJednoho ) ? + miraVyskyJednoho : 1; // sirka cislem?
351  var pocet = $( selector ).length;
352
353  var newW;
354  var vedleSebe;
355
356
357  // ---- idealne kolik chci vedle sebe -------------------------
358  var diluPro=[];
359  diluPro[8] = 4; // 4 4
360  diluPro[7] = 4; // 4 3
361  diluPro[6] = 3; // 3 3
362  diluPro[5] = 3; // 3 2
363  diluPro[4] = 2; // 2 2
364  diluPro[3] = 3; // 3
365  diluPro[2] = 2; // 
366  diluPro[1] = 1; // 
367
368  function procenta( vedleSebe ){
369    if( vedleSebe == 4 ){ return 25; }
370    if( vedleSebe == 3 ){ return 33.333333; }
371    if( vedleSebe == 2 ){ return 50; }
372    if( vedleSebe == 1 ){ return 100; }
373    /// neexistuje jiny stav ...
374  }
375
376  function vedleSebeDleMinimalniSirky( vedleSebe ){
377      vedleSebe = sirka / 320;
378      // oprav
379      vedleSebe = Math.floor( vedleSebe );
380      vedleSebe = vedleSebe <= 0? 1 : vedleSebe;
381      vedleSebe = vedleSebe >= 4? 4 : vedleSebe;
382      return vedleSebe;
383  }
384
385  if( diluPro[ pocet ] ){
386    vedleSebe = diluPro[ pocet ];
387    newW = sirka / vedleSebe;
388    if( newW < 320 ){
389      vedleSebe = vedleSebeDleMinimalniSirky( vedleSebe );
390    }
391  } else {
392    vedleSebe = vedleSebeDleMinimalniSirky();
393  }
394  var vyskaPx = sirka / vedleSebe;
395  var procent = procenta( vedleSebe );
396  //debugger;
397  // -------------------------
398  var __mrizka = $( selector );
399  if( sirka < 700 ){
400    vyskaPx /= 2.5;
401  }
402  __mrizka.width( procent + "%" ).height( vyskaPx * miraVyskyJednoho );
403
404  mrizkaUpdate_doroztahni( __mrizka, newW, vedleSebe, procent );
405}
406
407function mrizkaUpdate_doroztahni( __mrizka, newW, vedleSebe, procent ){
408
409  var zabranoCtverecku = __mrizka.length;
410  var upravI = __mrizka.length - 1;
411  // dokud nezaberu dost ctverecku aby nezustaly zadne bez obrazku pokoje
412  //  na vlastnim radku
413  while(( zabranoCtverecku % vedleSebe ) != 0 ){
414
415      // roztahni odzadu kazdej pokoj
416      __mrizka.eq( upravI ).css({"width": 2 * procent + "%"});
417
418      // tim padem jsem jeden prazdnej vyresil
419      zabranoCtverecku += 1;
420
421      // kdyz maji byt 3 vedle sebe tak nemuzu mit ctverecky 2 a 2
422      // (protoze mam lichy pocet na radku tak pokud bych zvysoval po dvou tak vzdycky precouhnu)
423      if( vedleSebe & 1 ){
424        //upravI -= 2; // toto je spravne ale vypada to blbe kdyz jsou zvetsene dva nad sebou :)
425        upravI -= 3;
426      // na radek co ma sudy pocet chlivecku se po 2 vzdycky vlezu
427      }else{
428        upravI -= 1;
429      }
430  }
431}
432
433var scrollposition;
434
435function CABpossition(){
436
437return;
438  
439}
440
441
442function main_menu_mobile_size_JAZYKY_NEBYLY_NAHORE____STARA_VERZE_SMAZAT_POKUD_KLIENT_NECHCE_ZPET()
443{
444	//	alert("mobilni menu");
445
446		var w = $( window ) . width ();
447
448        if ( w < 400 )
449        {
450			$("html").addClass("mobilemenu_smrskni");
451		}
452		else
453		{
454			$("html").removeClass("mobilemenu_smrskni");
455		}
456		
457		
458		// ------------------------------------------------------
459		$( "html" ) . removeClass( "mobilemenu" );
460		var zbyvaNaMenu = (
461				w 
462				- ( $(".js_top_logo").offset().left + $(".js_top_logo").width() )
463				- ( $(".js_open_langs").outerWidth() )
464			);
465		var dostMistaNaMenu = $(".jsKZmereniRozmenuHlavnihoMenu").width() < zbyvaNaMenu;
466		
467		if ( !dostMistaNaMenu )//w < 1370 )
468		{
469			$( "html" ) . addClass ( "mobilemenu" );
470		}
471		else
472		{
473			$( "html" ) . removeClass ( "mobilemenu" );
474		}
475		// ------------------------------------------------------
476
477       /*    
478          $('html').removeClass('mobilemenu');
479          if( ( $('.js_menu_logo_dimensions').width() + $('.js_menu_menuitems_dimensions').width() ) > $(window).width() ){
480			$('html').addClass('mobilemenu');
481          }
482          */
483}
484function main_menu_mobile_size()
485{
486	//	alert("mobilni menu");
487
488		var w = $( window ) . width ();
489		
490
491        if ( w < 400 )
492        {
493			$("html").addClass("mobilemenu_smrskni");
494		}
495		else
496		{
497			$("html").removeClass("mobilemenu_smrskni");
498		}
499		
500		var langsNahoru;
501		if( w < 1600 )
502		{
503			$("html").addClass("langsNahoru");
504			langsNahoru = true;
505		}
506		else
507		{
508			$("html").removeClass("langsNahoru");
509			langsNahoru = false;
510		}
511		// ------------------------------------------------------
512		$( "html" ) . removeClass( "mobilemenu" );
513		var zbyvaNaMenu = (
514				w 
515				- ( $(".js_top_logo").offset().left + $(".js_top_logo").width() )
516				- ( langsNahoru ? 0 : $(".js_open_langs").outerWidth())
517			);
518		var dostMistaNaMenu = $(".jsKZmereniRozmenuHlavnihoMenu").width() < zbyvaNaMenu;
519		
520		if ( !dostMistaNaMenu )//w < 1370 )
521		{
522			$( "html" ) . addClass ( "mobilemenu" );
523		}
524		else
525		{
526			$( "html" ) . removeClass ( "mobilemenu" );
527		}
528		// ------------------------------------------------------
529
530       /*    
531          $('html').removeClass('mobilemenu');
532          if( ( $('.js_menu_logo_dimensions').width() + $('.js_menu_menuitems_dimensions').width() ) > $(window).width() ){
533			$('html').addClass('mobilemenu');
534          }
535          */
536}
537
538        
539function DATEPICKER_prijezdOdjezdSamostatne()
540{
541        $('#cab_arrival').datepicker({
542          //changeMonth: true,
543      	  //changeYear: true,
544      	  minDate:0,
545          numberOfMonths: 2,
546          dateFormat: 'dd.mm.yy',
547          altField: "#cab_arrival_alt",
548          altFormat: "yy-mm-dd",
549          regional:"en",
550          showOn: 'focus',
551      	  //buttonImage: 'img/cab-ico-calendar.png',
552      	  //buttonText: '',
553      	  //buttonImageOnly: true,
554      	  beforeShow: function(){
555            },
556          create: function(event, ui) {
557              console.log( $(this) );
558            },
559      	  onSelect: function(){
560            //$(this).hide();
561              var fdate = $(this).datepicker("getDate");
562              //console.log(fdate);
563              //console.log(fdate.getMonth());
564              //console.log(fdate.getDate());
565
566              $(this).closest('.cab_input').find('.day').html( fdate.getDate() );
567              $(this).closest('.cab_input').find('.month').html( $.datepicker.regional['en']['monthNames'][ fdate.getMonth() ] );
568
569              fdate.setDate(fdate.getDate()+1);
570              $('#cab_departure').datepicker('setDate', fdate);
571              $('#cab_departure').datepicker( "option", "minDate", fdate);
572              $('#cab_departure').closest('.cab_input').find('.day').html( fdate.getDate() );
573              $('#cab_departure').closest('.cab_input').find('.month').html( $.datepicker.regional['en']['monthNames'][ fdate.getMonth() ] );
574
575            }
576        });
577        $('#cab_arrival').datepicker('setDate', '+0d');
578        if( $('#cab_arrival').length > 0 ){
579          var onloaddate_arrive = $('#cab_arrival').datepicker('getDate');
580          $('#cab_arrival').closest('.cab_input').find('.day').html( onloaddate_arrive.getDate() );
581          $('#cab_arrival').closest('.cab_input').find('.month').html( $.datepicker.regional['en']['monthNames'][ onloaddate_arrive.getMonth() ] );
582        }
583
584        $('.cab_item.cab_date').click(function(){
585          $('.datepicker_container').hide();
586          $(this).find('.datepicker_container').fadeIn(300);
587        });
588
589        $('#cab_departure').datepicker({
590          //changeMonth: true,
591      	  //changeYear: true,
592      	  minDate:0,
593          numberOfMonths: 2,
594          //dateFormat: 'd',
595          altField: "#cab_departure_alt",
596          altFormat: "yy-mm-dd",
597          regional:"en",
598          showOn: 'focus',
599      	  //buttonImage: 'img/cab-ico-calendar.png',
600      	  //buttonText: '',
601      	  //buttonImageOnly: true,
602      	  beforeShow: function(){
603            //console.log( $(this) );
604            },
605          create: function(event, ui) {
606            },
607      	  onSelect: function(){
608            //$(this).hide();
609              var fdate = $(this).datepicker("getDate");
610
611              $(this).closest('.cab_input').find('.day').html( fdate.getDate() );
612              $(this).closest('.cab_input').find('.month').html( $.datepicker.regional['en']['monthNames'][ fdate.getMonth() ] );
613            }
614        });
615        $('#cab_departure').datepicker('setDate', '+1d');
616        if( $('#cab_departure').length > 0 ){
617          var onloaddate_depart = $('#cab_departure').datepicker('getDate');
618          $('#cab_departure').closest('.cab_input').find('.day').html( onloaddate_depart.getDate() );
619          $('#cab_departure').closest('.cab_input').find('.month').html( $.datepicker.regional['en']['monthNames'][ onloaddate_depart.getMonth() ] );
620        }
621}
622
623
624function PAGE_ROLL_UP_onScroll()
625{
626        if( $(window).scrollTop() > 300 ){
627          $('#page_roll_up').fadeIn(1000);
628        }else{
629          $('#page_roll_up').fadeOut(600);
630        }
631}
632function PAGE_ROLL_UP_onReady()
633{
634      $('#page_roll_up').click(function(){
635        $('html,body').animate({scrollTop : 0},1000,function(){});
636      });
637}
638function FIXEDMENU_onScroll()
639{
640	// cookie potvrzeni ...
641	if( $( window ).scrollTop() > $("#cookiesconfirm").height() ){
642		$("html").addClass("top_cab_container-is_on_top");
643	}else{
644		$("html").removeClass("top_cab_container-is_on_top");
645	}
646}
647    //jquery document ready start
648    $(document).ready(function(){
649	 	//debugger;
650    //alert("mobilni menu @ ready");
651// -----------------------------------------------------------------------------
652// M: todle musi byt spustene pred mobile_size !!!
653    //    $('#menu').fadeIn(500);
654		$("html").removeClass("JS_SKRYJ_MENU_DOKUD_NENI_NASTAVENO_JAVASCRIPTEM");
655        //menu_fit_font('en');
656        main_menu_mobile_size();
657        //resize
658        $(window).resize(function(){
659          //menu_fit_font('en');
660          main_menu_mobile_size();
661        });
662// -----------------------------------------------------------------------------
663    
664		/*
665             
666      $().cookieconfirmD({
667        'confirmtext' : "This website uses cookies to ensure you get the best experience on our website.", //'This website uses cookies to ensure you get the best experience on our website.',
668        'buttonlabel' : "I agree.",//'I agree.',
669        'background' : 'rgba(21,154,216,1)',
670        'policylink' : ''//  <a href="#" style="color:#fff;">Policy</a>
671      });/**/      
672      
673      $(window).scroll(function(){            
674		FIXEDMENU_onScroll();
675		PAGE_ROLL_UP_onScroll();
676      });
677      PAGE_ROLL_UP_onReady();
678      FIXEDMENU_onScroll();
679
680
681      scrollposition = $(window).scrollTop();
682      CABpossition();
683      $(window).scroll(function(){
684        CABpossition();
685      });
686
687      	$(".imagetofancy,a[href$='.jpg'],a[href$='.jpeg'],a[href$='.png'],a[href$='.gif'],a[href$='.JPG'],a[href$='.JPEG'],a[href$='.PNG'],a[href$='.GIF']")
688          .not('#image_list a,#superbgimage a')
689          .not('#image_list2 a,#superbgimage2 a')
690          .not('#room_image_list a').fancybox({
691          'overlayOpacity' : 0.8,
692          'overlayColor' : '#000',
693          'type':'image',
694          'padding' : 0,
695          'margin' : 5,
696          'showNavArrows' : 1,
697          'transitionIn' : 'elastic',
698          'transitionOut' : 'elastic',
699          'titlePosition' : 'over',
700          'titleFormat' : fancyboxFormatTitle
701        });/**/
702
703        $('a.mail').antispam({
704            'emailname' : 'info','emaildomain' : 'oreahotels','emailltd' : 'cz'
705        });
706
707        $('.content img').height('auto');
708
709        $('.js_mobile_menu_toggle').click(function(){
710			$("html").toggleClass("mobile_menu_toggled");
711        });
712        /*
713        $('.menu_toggle').click(function(){
714        debugger;
715        return;
716          $('.mainmenu.mobilemenu').slideToggle(800);
717        });
718
719        $('#menu_button').click(function(){
720			debugger;
721          //$('#menu').addClass('menushow');
722          $('#menu_in').slideToggle(800);
723        });
724        */
725
726
727        $('input.alttext[type="text"], textarea.alttext').inputAlterText();        
728
729        /*setInterval(function(){
730
731        },100);*/
732
733
734
735        //hhotels corp link in menu target blank
736        var menu_corp_items = $('a[href*="://www.hhotels.cz/"]');
737        //console.log(menu_corp_items);
738        menu_corp_items.attr('target','_blank');
739
740
741        $("img.lazyload").lazyload({
742            threshold : 100,
743            placeholder : '/img/lazyload-img.gif'
744        });//data-original/**/
745
746
747 
748  
749    $(".js_lazyload_div").each(function(){
750      var adresaKNacteni=$(this).attr('data-original');
751      var $lazy=$(this);
752      function nactiFotku(){
753        var vrsekLazy =  $lazy.offset().top;
754        var spodekOkna  = $(window).scrollTop() + $(window).height();
755        if( vrsekLazy < spodekOkna ){
756        //debugger;
757            /* Nacti na pozadi obrazek. Pokud je v kesi tak rovnou nastav. */
758            $("<img>").on('load',function(){
759              $lazy.css('backgroundImage','url("'+adresaKNacteni+'")');
760            /* Spusti nacitani obrazku */
761            }).attr('src',adresaKNacteni);
762        }
763      }
764      nactiFotku(); /* skroll neprobehne pri reloadu stranky */
765      $(window).scroll(nactiFotku);
766    });
767        
768
769    $(window).scroll(function( e ){         
770        top_cab_container.onScroll( e );
771    }); 
772
773			
774// START SinglepageScroll 		
775
776		// parametry -----
777		var SinglepageScroll = ".js_singlepage_url, .mitem > a ";
778		// ---------------
779		
780		
781		(function(){ // dokud neni duvod vystavovat funkcnost tak ji "skryt" ... 
782		
783
784				// vraci true/false pokud nasel scroll [at neblokuje prejiti na url u A tagu]
785				function scrollToSinglepage_target( target ){
786				
787				if ( ! target ){ return; }
788		 
789					function animateScrollTopTo(Selektor,ofsUprava){
790					  var e, ofsY;
791
792					  // neni kam skrolovat, tak .. ignorovat ?
793					  e = $(Selektor);
794					  if(!$(e).length){
795						return;
796					  }
797
798					  ofsY= $(e).offset().top;
799					  ofsUprava = ofsUprava || 0;
800					  ofsY += ofsUprava;
801					  $("html,body").stop().animate({"scrollTop":ofsY},1000);
802					}
803			
804					var $scrollto = $( "[data-singlepage_target='" + target + "']" );            
805					
806					var ofs = 0;            
807					if( $(".top_cab_container").css('display') != 'none' ){ // muze byt skryty pro mobil
808					  ofs = - $(".top_cab_container").height();
809					} 
810					if( $(".jsSinglepageScroll_vyskaHornihoMenu").length )
811					{
812						ofs -= $(".jsSinglepageScroll_vyskaHornihoMenu").height();
813					}
814
815					if( ! $scrollto.length ){
816					
817					  return false; // scroll musi byt na jine strance ...
818					
819					}else{
820					  
821					  animateScrollTopTo( $scrollto, ofs );
822					  return true;            
823					}
824				}
825
826		// singlepage menu klik ----------------------------------
827				$( SinglepageScroll ).click(function( e ){
828
829					var singlepage_url  = $( this ).attr("href"); // /cz/#hotelove-pokoje
830					var target = singlepage_url.split('#')[1]; // '/cz/#hotelove-pokoje'.split('#')[1]
831					
832					if( scrollToSinglepage_target( target )){
833					  
834					  window.location.hash = target; // M1: at je v adresnim radku zaklikla singlepage url
835					  
836					  e.preventDefault();
837					}
838					
839				});
840
841				// - stranka musi mit vyresene vysky
842				// - nejsou-li naloadovane obrazky a spousti se x animaci ...
843				$( window ).load(function(){
844				
845				
846				  scrollToSinglepage_target( window.location.hash.replace('#',''));
847				
848				
849				});
850				
851		})( SinglepageScroll );
852// END SinglepageScroll 						
853			    });
854
855    </script>
855
856
857<!-- responzivni tabulka -->
858    
858<script type="text/javascript">
859          $(window).resize(function(){       
860              $('.tablestyle1').each(function(){
861                  var t = $(this);
862                  if( t.width() > t.parent().width() && !t.hasClass('responsivetableaplied') ){
863                    t.addClass('responsivetableaplied');
864                    t.wrap('<div class="responsivetable"><div></div></div>');
865                  }
866                  if( t.hasClass('responsivetableaplied') ){
867                    var tw = t.parent().parent();
868                    var c = t.parent().parent().parent();
869                    console.log([c.width(), t.width()]);
870                    if( c.width() > t.width() ){
871                      tw.removeClass('responsivetable');
872                    }else{
873                      tw.addClass('responsivetable');
874                    }
875                  }
876                });
877          });
878    </script>
878      
879    <style>
880          .responsivetable{
881          position:relative;
882          z-index:100;
883          width:100%;
884          padding:1em;
885          box-sizing: border-box;
886          background:#eee;
887          }
888          .responsivetable > div{
889          overflow:auto;
890          
891          }
892    </style>
893
894<!-- END responzivni tabulka -->
895
896
897
898
899<!-- Intro v3 start -->
900
901<!-- Intro v3 end -->
902
903
904    
904<script type="text/javascript">
905
906
907
908    /*function slidemanagercontentcenter(){
909      / *$('#hp_intro_content').css({
910        'margin-top' : ( ( $('#hp_intro_content').parent().height() - $('#hp_intro_content').height() )/2 )
911      });* /
912      //console.log( $('#hp_intro_content').parent().height(), $('#hp_intro_content').height() );
913    }*/
914
915    $(document).ready(function(){    
916 
917		mrizkaUpdate( '.js_grid' );
918        $(window).resize(function(){
919		      mrizkaUpdate( '.js_grid' );//, $( window ).width() );
920        });
921
922        $('#hp_arrival').datepicker({
923          changeMonth: true,
924      	  changeYear: true,
925      	  minDate:0,
926          dateFormat: 'dd.mm.yy',
927          altField: "#hp_arrival_alt",
928          altFormat: "yy-mm-dd",
929          regional:"en",
930          showOn: 'both',
931      	  buttonImage: 'img/cab-ico-calendar.png',
932      	  //buttonText: '',
933      	  //buttonImageOnly: true,
934      	  beforeShow: function(){
935            },
936          create: function(event, ui) {
937            },
938      	  onSelect: function(){
939              var fdate = $('#hp_arrival').datepicker("getDate");
940              fdate.setDate(fdate.getDate()+1);
941              $('#hp_departure').datepicker('setDate', fdate);
942            }
943        });
944        $('#hp_arrival').datepicker('setDate', '+0d');
945
946        $('#hp_departure').datepicker({
947          changeMonth: true,
948      	  changeYear: true,
949      	  minDate:0,
950          dateFormat: 'dd.mm.yy',
951          altField: "#hp_departure_alt",
952          altFormat: "yy-mm-dd",
953          regional:"en",
954          showOn: 'both',
955      	  buttonImage: 'img/cab-ico-calendar.png',
956      	  //buttonText: '',
957      	  //buttonImageOnly: true
958        });
959        $('#hp_departure').datepicker('setDate', '+1d');
960
961
962        $('.js_scroll_to').click(function(){
963	      var sel = $( this ).attr( 'data-js_scroll_to_selector' );
964          var offset = $(sel).offset();
965          var offet_val = offset.top;
966          $('html,body').stop().animate({scrollTop : offet_val},600,function(){
967          });
968        });        
969        
970
971    });
972    </script>
972
973
974
975</head>
976
977<body>
978
979		<!-- bookassist / head START -->
980
981    <!-- Google Analytics -->
982    
982<script>
vendor: 360 bytes, lines 982-987
982
983        (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
984        m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
985        })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
986
987        ga('create', '
987UA-86671450-1
vendor: 71 bytes, lines 987-989
987', 'auto', {'allowLinker': true});
988        ga('send', 'pageview');
989    
989</script>
989
990    <!-- END Google Analytics -->
991	<!-- bookassist / head END -->
992		
992<script type="text/javascript" src="https://c.seznam.cz/js/rc.js"></script>
vendor: 2 bytes, line 992
992
993<script>
994var retargetingConf = {
995rtgId: 77434
996};
997if (window.rc && window.rc.retargetingHit) {
998window.rc.retargetingHit(retargetingConf);
999}
1000</script>
1000
1001
1002<!-- Google tag (gtag.js) -->
vendor: 65 bytes, lines 1002-1003
1002
1003<script async src="https://www.googletagmanager.com/gtag/js?id=
1003G-WP14JWJ4W2
vendor: 13 bytes, line 1003
1003"></script>
1004<script>
1005  
vendor: 138 bytes, lines 1005-1009
1005window.dataLayer = window.dataLayer || [];
1006  function gtag(){dataLayer.push(arguments);}
1007  gtag('js', new Date());
1008
1009  gtag('config', '
1009G-WP14JWJ4W2
vendor: 5 bytes, line 1009
1009');
1010</script>
1010
1011	<div id="view">
1012
1013		
1013<script>
1014	function poKlikuNaEscapeSpustJednou(funkci) {
1015
1016		var handler = function(event) {
1017			if (event.keyCode == 27) // ESC
1018			{
1019				funkci();
1020				$(document).off('keyup', handler);
1021			}
1022		};
1023		$(document).on('keyup', handler);
1024	}
1025</script>
1025
1026<!--  _______________ Tmavy pozadi BEGIN _______________ -->
1027
1028<script>
1029	function tmavyPozadi_zobraz(zindex) {
1030		$('.jsTmavyPozadi').css('z-index', 499);
1031		$('.jsTmavyPozadi').addClass('tmavyPozadi_zobrazeno');
1032	}
1033
1034	function tmavyPozadi_skryj() {
1035		$('.jsTmavyPozadi').css('z-index', -1);
1036		$('.jsTmavyPozadi').removeClass('tmavyPozadi_zobrazeno');
1037	}
1038</script>
1038
1039<div class="jsTmavyPozadi tmavyPozadi"></div>
1040
1041<!--  _______________ Tmavy pozadi END _______________ -->
1042
1043<div id="zabere_vysku_puvodniho_menu_pri_fixnim_menu"></div>
1044
1045
1046<!-- promo sdilim pro vsecky verze banyrku... -->
1047<script>
1048	function promo_otevri() {
1049		$(".jsCab").addClass("cab-promo");
1050		$(".jsCabMobilni").addClass("cab-promo");
1051	}
1052
1053	function promo_zavri() {
1054		$(".jsCab").removeClass("cab-promo");
1055		$(".jsCabMobilni").removeClass("cab-promo");
1056	}
1057</script>
1057
1058
1059<script>
1060	function mobilniBanyrky_otevri() {
1061
1062		mobilniBanyrky_zobraz();
1063
1064		poKlikuNaEscapeSpustJednou(
1065			mobilniBanyrky_skryj
1066		);
1067
1068		var spustJednou = function(event) {
1069			mobilniBanyrky_skryj();
1070			$(document).off('click', spustJednou);
1071		};
1072		$(".jsTmavyPozadi").on('click', spustJednou);
1073	}
1074
1075	function mobilniBanyrky_skryj() {
1076		$(".mobilniBanyrky").css('z-index', 0);
1077		$(".mobilniBanyrky").hide();
1078		//
1079		tmavyPozadi_skryj();
1080		//
1081		promo_zavri(); // pro jistotu
1082	}
1083
1084	function mobilniBanyrky_zobraz() {
1085		$(".mobilniBanyrky").css('z-index', 500);
1086		$(".mobilniBanyrky").show();
1087
1088		tmavyPozadi_zobraz(499);
1089	}
1090</script>
1090
1091
1092<div class="mobilniBanyrky jsCabMobilni">
1093	<div class="mobilniBanyrkyPromo">
1094		<div class="mobilniBanyrkyPromoVlevo">
1095			<div class="mobilniBanyrkyPromoVlevoVnitrniOkraj">
1096										<div id="cab1nabidky">
1097							<ul>
1098								<li>
1099									<div class="cab1promoText">Best price guarantee – lowest prices guaranteed when making reservation only through our website</div>
1100								</li>
1101								<li>
1102									<div class="cab1promoText">Upgrade to higher room type free of charge (upon availability) </div>
1103								</li>
1104								<li>
1105									<div class="cab1promoText">Welcome drink per person free of charge</div>
1106								</li>
1107								<li>
1108									<div class="cab1promoText">Changes in reservation ca be made without additional charges</div>
1109								</li>
1110							</ul>
1111						</div>
1112
1113						<input class="tlacitko3 cab1promoEmail jsPromoEmail" placeholder="Insert your email address">
1114						<a class="tlacitko2 tlacitko2--presCelouSirku cab1PromoOdeslat jsPromoOdeslat">Send</a>
1115								</div>
1116		</div>
1117		<div class="mobilniBanyrkyPromoVpravo">
1118						<a class="tlacitko2 jsFormInputRezervujte" href="https://www.secure-hotel-booking.com/SPA-Hotel-Devin-Superior/J1BB/en?hotelId=29440?promo_code=&amp;price_group=16384">Book</a>
1119		</div>
1120	</div>
1121</div><!-- mobilniBanyrky -->
1122
1123<div id="top" class="jsSinglepageScroll_vyskaHornihoMenu">
1124			<div class="horni_list">
1125			<div class="horni_list_wraper umisteniHornichBanyrku2">
1126				<div class="horni_list_info">
1127											<div class="horni_list_info2">
1128							<div class="loyalty_program">
1129								<img src="../img/loyalty.svg">
1130								<a href="/en/loyalty-program/">Loyalty Program</a>
1131							</div>
1132						</div>
1133										<div class="horni_list_info2">
1134						<div class="darkove-poukazy">
1135							<img src="../img/darkovy-poukaz.svg">
1136							<a href="/en/vouchers/">Vouchers</a>
1137						</div>
1138					</div>
1139					<div class="horni_list_info2">
1140						<div class="Hodnoceni">
1141							<img src="../img/hodnoceny.png">
1142							<a href="/en/hodnoceni/">Reviews</a>
1143						</div>
1144					</div>
1145					<div class="horni_list_info2">
1146						<div class="Covid">
1147							<img src="../img/covid.png">
1148							<a href="/en/Spolek-Marianske-Lazne/">Spolek Mariánské Lázně</a>
1149						</div>
1150					</div>
1151					<div class="horni_list_info2">
1152						<div class="telefon">
1153							<img src="../img/telefon.png">
1154							<a href="tel:+420354470400">Telefon: +420 354 470 400</a>
1155						</div>
1156					</div>
1157				</div>
1158			</div>
1159		</div>
1160		<!-- langs -->
1161	<ul id="langs"  class="js_open_langs"><li class="lang_item active "><a class="js_lang_link" href="javascript:void(0);" title="english"><img class="langImage" src="/img/langs/en.png" alt="en"><span class="langText">en</span></a></li><li class="lang_item"><a class="js_lang_link" href="/cz/kontakt/" title="česky"><img class="langImage" src="/img/langs/cz.png" alt="cz"><span class="langText">cz</span></a></li><li class="lang_item"><a class="js_lang_link" href="/de/kontakt-de/" title="deutsch"><img class="langImage" src="/img/langs/de.png" alt="de"><span class="langText">de</span></a></li><li class="lang_item"><a class="js_lang_link" href="/ru/контакты/" title="русский"><img class="langImage" src="/img/langs/ru.png" alt="ru"><span class="langText">ru</span></a></li></ul>
1162		<div class="umisteniHornichBanyrku debug">
1163			<div class="umisteniHornichBanyrku2">
1164				<div class="banyrky">
1165					<div class="cab jsCab">
1166						<div class="cabVzor1" style="display:none"></div>
1167						<div class="cabVzor" style=display:none></div>
1168
1169						<a class="redbg" href="/en/vouchers/">
1170							<div class="cab0">
1171								<div class="tlacitko6 tlacitko6--presCelouSirku cab_ukaz_vouchery">
1172									Vouchers								</div>
1173							</div>
1174						</a>
1175
1176						<a href="/en/special-offers/">
1177							<div class="cab0">
1178								<div class="tlacitko6 tlacitko6--presCelouSirku cab_ukaz_special_offers">
1179									Special offers								</div>
1180							</div>
1181						</a>
1182
1183
1184						<a style="text-decoration:none;" class="cab0 jsRezervaceTlacitkoOtevri" href="https://www.secure-hotel-booking.com/SPA-Hotel-Devin-Superior/J1BB/cs-CZ?hotelId=29440" target="booking">
1185							<div class="tlacitko6 tlacitko6--presCelouSirku ">Book</div>
1186						</a>
1187
1188						<div class="cab1 jsCabRozmer">
1189							<div class="tlacitko6 tlacitko6--presCelouSirku jsRezervaceTlacitko2">Room reservation</div>
1190							<div class="cab1Vnitrek">
1191
1192								<!-- PROMO 1 -->
1193								
1193<script id="jsSkriptPromo">
1194									$(document).ready(function() {
1195										$('.links').hover(
1196											function() {
1197												$('.links_show').show(500);
1198											},
1199											function() {
1200												$('.links_show').hide(500);
1201											}
1202										);
1203
1204										function chyba(text) {
1205											alert(text);
1206											/*
1207											  var o = $('<' + 'div class="rf_sys rf_error">' + text + '<' + '/div>');
1208											  o.prependTo(promo_form);
1209											  o.fadeOut(8000);
1210											 */
1211										}
1212
1213										function ok(text) {
1214											alert(text);
1215											return;
1216											/*
1217														  promo_form.find('input[type="text"],textarea').val('').blur();
1218														  var o = $('<' + 'div class="rf_sys rf_send">' + d.message + '<' + '/div>');
1219														  $(".top_promo_in.row").text( d.message ).css("color","#fff");
1220														  */
1221										}
1222										$('.jsPromoTlacitko').click(function() {
1223											//console.log('contact_form');
1224
1225											var jeMobilniVerze = $(this).parents(".jsCabMobilni").length > 0;
1226
1227																						var url;
1228											var date_in = "2026-10-02";
1229											var date_out = "2026-10-03";
1230
1231											function bookassistDatumFromJavascriptDatum(jsDate) {
1232												var y = jsDate.getFullYear(); // getYear deprecated :D
1233												var m = jsDate.getMonth() + 1; // mesice jsou od 0
1234												var d = jsDate.getDate();
1235
1236												function naDveCifry(d) {
1237													if (String(d).length == 1) {
1238														d = "0" + d;
1239													}
1240													return d;
1241												}
1242												m = naDveCifry(m);
1243												d = naDveCifry(d);
1244												return "" + y + "-" + m + "-" + d;
1245											}
1246											var date_in_datum = $(".jsFormInputPrijezd").datepicker('getDate');
1247											var dnesek = new Date();
1248											var zitrekDen = dnesek.getDate() + 1;
1249											var zitrekCislem = (new Date()).setDate(zitrekDen);
1250											var zitrekDatum = new Date(zitrekCislem);
1251											if (!date_in_datum) {
1252												date_in_datum = new Date();
1253											}
1254											var date_out_datum = $(".jsFormInputOdjezd").datepicker('getDate');
1255											if (!date_out_datum) {
1256												date_out_datum = zitrekDatum;
1257											}
1258											date_in = bookassistDatumFromJavascriptDatum(date_in_datum);
1259											date_out = bookassistDatumFromJavascriptDatum(date_out_datum);
1260											//debugger;
1261
1262											if (jeMobilniVerze) {
1263												url = "https:\/\/www.secure-hotel-booking.com\/SPA-Hotel-Devin-Superior\/J1BB\/en?hotelId=29440?promo_code=DEVIN&price_group=&date_in={date_in}&date_out={date_out}";
1264											} else {
1265												url = "https:\/\/www.secure-hotel-booking.com\/SPA-Hotel-Devin-Superior\/J1BB\/en?hotelId=29440?promo_code=DEVIN&price_group=&date_in={date_in}&date_out={date_out}";
1266											}
1267
1268											url = url.replace('{date_in}', date_in);
1269											url = url.replace('{date_out}', date_out);
1270
1271											window.location = url;
1272											return;
1273
1274											promo_otevri();
1275
1276											$(".jsPromoOdeslat").click(function() {
1277												var email = $(".jsPromoEmail").val();
1278
1279												if (!validateEmail(email)) {
1280													chyba("Error sending, please try it later");
1281												} else {
1282													$.post('files/register_promo.php', {
1283															promo_email: email
1284														},
1285														function(d) {
1286															if (d.status == 1) {
1287																ok(d.message);
1288
1289																promo_zavri();
1290															} else {
1291																chyba("Error sending, please try it later");
1292															}
1293														}, 'json'
1294													).error(function() {
1295														// 404 ...
1296														chyba("Error sending, please try it later");
1297													});
1298												}
1299											});
1300										});
1301									});
1302								</script>
1302
1303								<div class="cab1Vlevo">
1304									<div class="cab1VlevoVnitrek">
1305																<div id="cab1nabidky">
1306							<ul>
1307								<li>
1308									<div class="cab1promoText">Best price guarantee – lowest prices guaranteed when making reservation only through our website</div>
1309								</li>
1310								<li>
1311									<div class="cab1promoText">Upgrade to higher room type free of charge (upon availability) </div>
1312								</li>
1313								<li>
1314									<div class="cab1promoText">Welcome drink per person free of charge</div>
1315								</li>
1316								<li>
1317									<div class="cab1promoText">Changes in reservation ca be made without additional charges</div>
1318								</li>
1319							</ul>
1320						</div>
1321
1322						<input class="tlacitko3 cab1promoEmail jsPromoEmail" placeholder="Insert your email address">
1323						<a class="tlacitko2 tlacitko2--presCelouSirku cab1PromoOdeslat jsPromoOdeslat">Send</a>
1324														</div>
1325								</div>
1326								<!-- PROMO 1 END -->
1327								<div class="cab1vpravo">
1328									<div class="cab1vpravoVnitrek">
1329
1330
1331										<!--
1332															M: datepicker hleda pozici podle prvku co jsou pred ci po (podle nastaveni smeru textu) !
1333																proto tu musi byt tyto dva extra prvky
1334															-->
1335										<div class="datepickerPrvekPredSpoustecem"></div>
1336										<input class="jsDatepickerRangepicker datepickerDefaultniVlastnosti" style="display:none" />
1337										<div class="datepickerPrvekZaSpoustecem"></div>
1338
1339
1340																					<div class="formTlacitko1">
1341												<input class="jsFormInputPrijezd formInput1" placeholder="Arrival"
1342													style="position: relative; z-index: 1000" >
1343												<div class="formTlacitko1ObrazekPozice">
1344																						<a class="tlacitko5" href="javascript:void(0);">	
1345										<div class="tlacitko5animace">
1346											<div class="tlacitko5animaceB">
1347												<div class="tlacitko5animaceA">
1348													<div class="tlacitko5Obrazek" style="background-image:url(/img/cab/kalendar.png);"></div>
1349													<div class="tlacitko5Text"></div>
1350												</div>
1351												<div class="tlacitko5Obrazek" style="background-image:url(/img/cab/kalendar.png);"></div>
1352												<div class="tlacitko5Text"></div>
1353											</div>
1354										</div>
1355									</a>
1356																</div>
1357											</div>
1358																					<div class="formTlacitko1">
1359												<input class="jsFormInputOdjezd formInput1" placeholder="Departure"
1360													style="position: relative; z-index: 1000" >
1361												<div class="formTlacitko1ObrazekPozice">
1362																						<a class="tlacitko5" href="javascript:void(0);">	
1363										<div class="tlacitko5animace">
1364											<div class="tlacitko5animaceB">
1365												<div class="tlacitko5animaceA">
1366													<div class="tlacitko5Obrazek" style="background-image:url(/img/cab/kalendar.png);"></div>
1367													<div class="tlacitko5Text"></div>
1368												</div>
1369												<div class="tlacitko5Obrazek" style="background-image:url(/img/cab/kalendar.png);"></div>
1370												<div class="tlacitko5Text"></div>
1371											</div>
1372										</div>
1373									</a>
1374																</div>
1375											</div>
1376																					<div class="formTlacitko1">
1377												<input class="jsFormInputPromo formInput1" placeholder="Promo code"
1378													style="position: relative; z-index: 1000" >
1379												<div class="formTlacitko1ObrazekPozice">
1380																						<a class="tlacitko5" href="javascript:void(0);">	
1381										<div class="tlacitko5animace">
1382											<div class="tlacitko5animaceB">
1383												<div class="tlacitko5animaceA">
1384													<div class="tlacitko5Obrazek" style="background-image:url(/img/cab/promo.png);"></div>
1385													<div class="tlacitko5Text"></div>
1386												</div>
1387												<div class="tlacitko5Obrazek" style="background-image:url(/img/cab/promo.png);"></div>
1388												<div class="tlacitko5Text"></div>
1389											</div>
1390										</div>
1391									</a>
1392																</div>
1393											</div>
1394										
1395
1396
1397									</div> <!-- .cab1vpravoVnitrek -->
1398								</div> <!-- .cab1vpravo -->
1399								<div style="clear:both"></div>
1400								<div class="cab1promo">Best Price Guarantee – get 5% discount.&nbsp&nbsp&nbsp<a class="tlacitko2 cab1promoTlacitko jsPromoTlacitko">Click here</a> </div>
1401								<div class="cab1VlevoSpodek"></div>
1402							</div>
1403							<button class="tlacitko2 tlacitko2--presCelouSirku jsFormInputRezervujte">Book</button>
1404						</div>
1405						<div class="cab2">
1406						</div>
1407					</div><!-- cab -->
1408				</div><!-- banyrky -->
1409			</div>
1410			<style>
1411				@import url('https://fonts.googleapis.com/css?family=Ubuntu');
1412			</style>
1413			<div class='links' style='float: right;height: 165px;width: 153px;'>
1414				<a href="https://www.goldenapplehotels.com" target="_blank">
1415					<div class="managed_by">Managed by</div>
1416					<img src='icon/link_logo.png' style='display: block;margin:auto;''></a>
1417                                                       <div class=' links_show' style='display: none'>
1418					<div align='center'>
1419						<a href='#' style='margin:0;font-family: Ubuntu, light;color:#ddc071 ;
1419font-size:12.17px;font-weight:bolder;text-decoration: underline; text-decoration-color: #a19366; text-transform: uppercase;'>Spa Hotel Děvín</a>
1420					</div>
1421					<div align='center'>
1422						<a href='https://www.aquapalacehotel.cz' target='_blank' style='text-decoration: none;margin:0;font-family: Ubuntu, light;color:#9f8e60 ;font-size:12.17px;text-transform: uppercase;'>Aquapalace resort Prague</a>
1423					</div>
1424					<div align='center'>
1425						<a href='https://www.hotelsvornost.cz/cz/' target='_blank' style='text-decoration: none;margin:0;font-family: Ubuntu, light;color:#9f8e60 ;font-size:12.17px;text-transform: uppercase;'>Wellness Hotel Svornost</a>
1426					</div>
1427			</div>
1428		</div>
1429
1430</div><!-- umisteniHornichBanyrku -->
1431<script>
1432	$(document).ready(function() {
1433		$(document).on('click', ".js_active_lang_box .active", function(e) {
1434			e.preventDefault();
1435		});
1436		$(".js_open_langs").click(function() {
1437			$("html").toggleClass("LANGS_OPENED");
1438		}) //.click( function(e){ e.preventDefault(); $("#langs").toggleClass( "jsLangsOpened" ); });
1439	});
1440</script>
1440
1441
1442
1443<div class="centrovaniMenu js_max_rozmer_menu">
1444	<div class="okrajCentrovanehoMenu">
1445				<a id="top_logo" class="js_top_logo top_logo fontlato" href="/en/" title="Spa Hotel Děvín - "><img src="/img/logo.png" alt="logo"></a>
1446
1447
1448		<!-- hamburgr -->
1449		<div id="menu_button" class="js_mobile_menu_toggle menu_toggle">
1450			<div class="menu_ico">
1451				<hr>
1452				<hr>
1453				<hr>
1454			</div>
1455			<div class="menu_ico_label">menu</div>
1456		</div>
1457
1458
1459		
1459<script>
1460			$(document).ready(function() {
1461				/*
1462				$(".jsRezervaceTlacitkoOtevri").click(function ( e ){
1463					if ( $(".jsCabRozmer").width() > $( window ).width())
1464					{
1465						mobilniBanyrky_otevri();
1466					}
1467					else
1468					{
1469						e . preventDefault (); // neoznacuj text
1470						$(".cab1").show();
1471						$(".cab0").hide();
1472					}
1473				});
1474
1475				$(".jsRezervaceTlacitko2").click(function( e ){
1476					e . preventDefault (); // neoznacuj text
1477					$(".cab1").hide();
1478					$(".cab0").show();
1479				});
1480
1481				/*
1482				$(".cabVzor").hide();
1483				$(".cabVzor1").show();
1484				$(".cabVzor1,.cabVzor").click(function(){
1485				$(".cabVzor").toggle();
1486				$(".cabVzor1").toggle();
1487				});
1488				*/
1489
1490
1491			});
1492		</script>
1492
1493		
1493<script>
1494			var DATEPICKER_RANGEPICKER = {};
1495
1496
1497			// Vsude musi byt stejny!
1498			DATEPICKER_RANGEPICKER.datepickerDateFormat = function() {
1499				return $.datepicker._defaults.dateFormat;
1500				// return 'dd.mm.yy';
1501				// return $.datepicker.regional['en'].dateFormat;
1502			}
1503
1504			DATEPICKER_RANGEPICKER.otevri = function() {
1505				$(".jsDatepickerRangepicker").datepicker('show');
1506			}
1507			DATEPICKER_RANGEPICKER.zavri = function() {
1508				$(".jsDatepickerRangepicker").datepicker('hide');
1509			}
1510
1511			DATEPICKER_RANGEPICKER.prijezd = function(nastavNa) {
1512				return this.vratANastavJqueryInput__($(".jsFormInputPrijezd"), nastavNa);
1513			}
1514			DATEPICKER_RANGEPICKER.odjezd = function(nastavNa) {
1515				return this.vratANastavJqueryInput__($(".jsFormInputOdjezd"), nastavNa);
1516			}
1517			DATEPICKER_RANGEPICKER.vratANastavJqueryInput__ = function(prvek, nastavNa) {
1518				var $DIV = $(prvek);
1519				var ret;
1520				if (typeof nastavNa !== 'undefined') {
1521					$DIV.val(nastavNa);
1522				}
1523				ret = $DIV.val();
1524				return ret;
1525			}
1526
1527			DATEPICKER_RANGEPICKER.div = function() {
1528				return this.DIV;
1529			}
1530
1531
1532
1533			DATEPICKER_RANGEPICKER.vystredNaObrazovce = function() {
1534				var centrovany = DATEPICKER_RANGEPICKER.div();
1535				if (centrovany) {
1536					var $centrovany = $(centrovany);
1537					var ofsetTop = ($(window).height() - $centrovany.height()) / 2;
1538					$centrovany.css('top', ofsetTop);
1539				}
1540			}
1541			// spoustej i kdyz se okno zmeni !
1542			$(window).resize(function() {
1543				DATEPICKER_RANGEPICKER.vystredNaObrazovce();
1544			});
1545
1546			// _________-- Handlery navazany na datepicker _____________________-
1547
1548
1549
1550			DATEPICKER_RANGEPICKER.beforeShow = function(datepickerObj, input, inst) {
1551
1552				// fokus !
1553				setTimeout(function() {
1554
1555					// http://stackoverflow.com/questions/11533161/jquery-ui-datepicker-change-z-index
1556					tmavyPozadi_zobraz(499);
1557					$('.ui-datepicker').css('z-index', 500);
1558
1559				}, 0);
1560
1561				// umisteni
1562
1563				this.DIV = inst.dpDiv;
1564
1565				var rect = input.getBoundingClientRect();
1566				setTimeout(function() {
1567
1568					inst.dpDiv.css('top', rect.top + 40);
1569					inst.dpDiv.css('left', '50%'); //rect.left + 0);
1570					inst.dpDiv.css('-webkit-transform', 'translateX(-50%)');
1571					inst.dpDiv.css('transform', 'translateX(-50%)'); //left','50%');
1572
1573					DATEPICKER_RANGEPICKER.vystredNaObrazovce();
1574
1575				}, 0);
1576
1577				poKlikuNaEscapeSpustJednou(function() {
1578
1579					DATEPICKER_RANGEPICKER.zavri();
1580
1581				});
1582			}
1583
1584			DATEPICKER_RANGEPICKER.beforeShowDay = function(datepickerObj, date) {
1585				var date1 = $.datepicker.parseDate(DATEPICKER_RANGEPICKER.datepickerDateFormat(), this.prijezd());
1586				var date2 = $.datepicker.parseDate(DATEPICKER_RANGEPICKER.datepickerDateFormat(), this.odjezd());
1587				var isHighlight =
1588					date1 && ((date.getTime() == date1.getTime()) || (date2 && date >= date1 && date <= date2));
1589				var classes = '';
1590				if (isHighlight) {
1591					classes += " dp-highlight";
1592				}
1593				if (date1 && date.getTime() == date1.getTime()) {
1594					classes += " dp-highlight-prijezd";
1595				}
1596				if (date2 && date.getTime() == date2.getTime()) {
1597					classes += " dp-highlight-odjezd";
1598				}
1599				return [true, classes];
1600			}
1601			DATEPICKER_RANGEPICKER.onSelect = function(datepickerObj, dateText, inst) {
1602				var date1 = $.datepicker.parseDate(DATEPICKER_RANGEPICKER.datepickerDateFormat(), this.prijezd());
1603				var date2 = $.datepicker.parseDate(DATEPICKER_RANGEPICKER.datepickerDateFormat(), this.odjezd());
1604				var selectedDate = $.datepicker.parseDate(DATEPICKER_RANGEPICKER.datepickerDateFormat(), dateText);
1605
1606				if (!date1 || date2) {
1607					this.prijezd(dateText);
1608					this.odjezd("");
1609				} else if (selectedDate < date1) {
1610					this.odjezd(this.prijezd());
1611					this.prijezd(dateText);
1612				} else {
1613					this.odjezd(dateText);
1614				}
1615				$(datepickerObj).data('datepicker').inline = true;
1616				$(datepickerObj).datepicker();
1617			}
1618			// pro pripad samostatnych datepickeru
1619			DATEPICKER_RANGEPICKER.onSelectOdjezd = function(datepickerObj, dateText, inst) {
1620				this.odjezd(dateText);
1621
1622				var date1 = $.datepicker.parseDate(DATEPICKER_RANGEPICKER.datepickerDateFormat(), this.prijezd());
1623				var date2 = $.datepicker.parseDate(DATEPICKER_RANGEPICKER.datepickerDateFormat(), this.odjezd());
1624				var selectedDate = $.datepicker.parseDate(DATEPICKER_RANGEPICKER.datepickerDateFormat(), dateText);
1625				// nastavim prijezd
1626
1627				if (date1 === null) {
1628					date1 = $.datepicker.parseDate(DATEPICKER_RANGEPICKER.datepickerDateFormat(), this.odjezd());
1629					date1.setDate(date2.getDate() - 1);
1630					$(".jsFormInputPrijezd").datepicker("setDate", date1);
1631				}
1632
1633				if (date1 > date2) {
1634					date1.setDate(date2.getDate() - 1);
1635					$(".jsFormInputPrijezd").datepicker("setDate", date1);
1636				}
1637			}
1638			// pro pripad samostatnych datepickeru
1639			DATEPICKER_RANGEPICKER.onSelectPrijezd = function(datepickerObj, dateText, inst) {
1640				this.prijezd(dateText);
1641
1642				var date1 = $.datepicker.parseDate(DATEPICKER_RANGEPICKER.datepickerDateFormat(), this.prijezd());
1643				var date2 = $.datepicker.parseDate(DATEPICKER_RANGEPICKER.datepickerDateFormat(), this.odjezd());
1644				var selectedDate = $.datepicker.parseDate(DATEPICKER_RANGEPICKER.datepickerDateFormat(), dateText);
1645
1646				if (date2 === null) {
1647					date2 = $.datepicker.parseDate(DATEPICKER_RANGEPICKER.datepickerDateFormat(), this.prijezd());
1648					date2.setDate(date1.getDate() + 1);
1649					$(".jsFormInputOdjezd").datepicker("setDate", date2);
1650				}
1651
1652				// nastavim prijezd
1653				if (date1 > date2) {
1654					date2.setDate(date1.getDate() + 1);
1655					$(".jsFormInputOdjezd").datepicker("setDate", date2);
1656				}
1657				return;
1658			}
1659			DATEPICKER_RANGEPICKER.onClose = function(datepickerObj) {
1660
1661				tmavyPozadi_skryj();
1662
1663				// Since we went inline as soon as the date input was clicked
1664				// (to leave the datepicker up for both dates selection),
1665				// turn inline back off again so date input click will once again
1666				// display the datepicker
1667				$(datepickerObj).data('datepicker').inline = false;
1668			}
1669
1670
1671			DATEPICKER_RANGEPICKER.prijezdJavascriptDatum = function() {
1672
1673				var date = this.prijezd();
1674				//debugger;
1675				var dateJs = $.datepicker.parseDate(DATEPICKER_RANGEPICKER.datepickerDateFormat(), date);
1676
1677				if (!date) {
1678					//debugger;
1679
1680					dateJs = new Date();
1681				}
1682				return dateJs;
1683			}
1684			DATEPICKER_RANGEPICKER.odjezdJavascriptDatum = function() {
1685				var date = this.odjezd();
1686				var dateJs = $.datepicker.parseDate(DATEPICKER_RANGEPICKER.datepickerDateFormat(), date);
1687
1688				// odjezd je den po prijezdu ...
1689				if (!date) {
1690					//debugger;
1691
1692					var prijezd = this.prijezdJavascriptDatum();
1693					var odjezd = new Date(prijezd.getTime());
1694					odjezd.setDate(prijezd.getDate() + 1); // dalsi den
1695					dateJs = odjezd;
1696				}
1697
1698				return dateJs;
1699			}
1700
1701
1702			$(document).ready(function() {
1703				$(".jsPromoTlacitko").click(function() {
1704
1705					// TODO: 2 verze vzhledu
1706
1707				});
1708
1709				// http://stackoverflow.com/a/37358792/712092
1710				$(".jsDatepickerRangepicker").datepicker({
1711					minDate: 0,
1712					regional: $.datepicker.regional['en'],
1713					numberOfMonths: [1, 2], // radku, sloupcu
1714					beforeShow: function(input, inst) {
1715
1716						return DATEPICKER_RANGEPICKER.beforeShow(this, input, inst);
1717
1718					},
1719					beforeShowDay: function(date) {
1720
1721						return DATEPICKER_RANGEPICKER.beforeShowDay(this, date);
1722
1723					},
1724					onSelect: function(dateText, inst) {
1725
1726						return DATEPICKER_RANGEPICKER.onSelect(this, dateText, inst);
1727					},
1728					onClose: function() {
1729
1730						return DATEPICKER_RANGEPICKER.onClose(this);
1731
1732					}
1733				});
1734
1735				$(".jsFormInputPrijezd").datepicker({ //Datepicker
1736					numberOfMonths: 1,
1737					//changeMonth: true,
1738					//changeYear: true,
1739					minDate: 0,
1740					dateFormat: DATEPICKER_RANGEPICKER.datepickerDateFormat(), // 'dd.mm.yy',
1741					altField: "#hp_departure_alt",
1742					altFormat: "yy-mm-dd",
1743					regional: $.datepicker.regional['en'],
1744					showOn: 'both',
1745
1746					onSelect: function(dateText, inst) {
1747
1748						return DATEPICKER_RANGEPICKER.onSelectPrijezd(this, dateText, inst);
1749					},
1750					/**/
1751				});
1752				$(".jsFormInputOdjezd").datepicker({ //Datepicker
1753					numberOfMonths: 1,
1754					//changeMonth: true,
1755					//changeYear: true,
1756					minDate: 0,
1757					dateFormat: DATEPICKER_RANGEPICKER.datepickerDateFormat(), //'dd.mm.yy',
1758					altField: "#hp_departure_alt2",
1759					altFormat: "yy-mm-dd",
1760					regional: $.datepicker.regional['en'],
1761					showOn: 'both',
1762
1763					onSelect: function(dateText, inst) {
1764
1765						return DATEPICKER_RANGEPICKER.onSelectOdjezd(this, dateText, inst);
1766					},
1767					/**/
1768
1769				});
1770				/*
1771												$(".jsFormInputPrijezd").click(function(){
1772													DATEPICKER_RANGEPICKER.otevri();
1773												});
1774												$(".jsFormInputOdjezd").click(function(){
1775													DATEPICKER_RANGEPICKER.otevri();
1776												});
1777				*/
1778				function bookassistDatumFromJavascriptDatum(jsDate) {
1779					var y = jsDate.getFullYear(); // getYear deprecated :D
1780					var m = jsDate.getMonth() + 1; // mesice jsou od 0
1781					var d = jsDate.getDate();
1782					if (String(d).length == 1) {
1783						d = "0" + d;
1784					}
1785					return "" + y + "-" + m + "-" + d;
1786				}
1787
1788				$(".jsFormInputRezervujte").click(function() {
1789
1790
1791
1792					//debugger;
1793
1794
1795
1796					/* funguje ...
1797								var date_in = $(".jsFormInputPrijezd") . val();
1798								var date_out = $(".jsFormInputOdjezd") . val();
1799								var promo_code = $(".jsFormInputPromo") . val();
1800
1801								// TODO: je vse ok?
1802								if ( ! date_in && ! date_out ) //|| ! promo_code )
1803								{
1804									var dnes = new Date();
1805									var zitra = new Date();
1806									zitra.setDate(dnes.getDate()+1);
1807									date_in = bookassistDatum( dnes );
1808									date_out = bookassistDatum( zitra );
1809								}
1810								else if ( ! date_out )
1811								{
1812									var prvniVybranyDatum = $.datepicker.parseDate(DATEPICKER_RANGEPICKER.datepickerDateFormat(), date_in );
1813									var druhyDatum = new Date(prvniVybranyDatum.getTime());
1814									druhyDatum.setDate(prvniVybranyDatum.getDate()+1);
1815
1816															function bookassistFormatData( datum // input
1817															)
1818															{
1819																var ret = $.datepicker.formatDate('yy-mm-dd', $.datepicker.parseDate(DATEPICKER_RANGEPICKER.datepickerDateFormat(), datum ));
1820																return ret;
1821															}
1822									date_in = bookassistDatum( prvniVybranyDatum );
1823									date_out = bookassistDatum( druhyDatum );
1824								}
1825								else
1826								{
1827									date_in = bookassistFormatData( date_in );
1828									date_out = bookassistFormatData( date_out );
1829								}
1830								//debugger;
1831								if( odjezd != date_out){ alert(0);}
1832								if( prijezd != date_in){ alert(1);}
1833					*/
1834
1835					var prijezd = DATEPICKER_RANGEPICKER.prijezdJavascriptDatum(
1835);
1836					var date_in = bookassistDatumFromJavascriptDatum(prijezd);
1837
1838					var odjezd = DATEPICKER_RANGEPICKER.odjezdJavascriptDatum();
1839					var date_out = bookassistDatumFromJavascriptDatum(odjezd);
1840
1841					var promo_code = $(".jsFormInputPromo").val();
1842
1843					window.location = "https:\/\/www.secure-hotel-booking.com\/SPA-Hotel-Devin-Superior\/J1BB\/en?hotelId=29440" + '?date_in=' + date_in + '&date_out=' + date_out + '&promo_code=' + promo_code;
1844
1845				});
1846			});
1847		</script>
1847
1848
1849		<div class="menuSkryvaniProMobilniMenu">
1850
1851
1852			
1852<script>
1853				$(document).ready(function() {
1854					$(".jsTmavyPozadi2").click(function() {
1855						if ($("html").hasClass("mobile_menu_toggled")) {
1856							$(".js_mobile_menu_toggle").click();
1857						}
1858					});
1859				});
1860
1861				function mobilnimenu2_onResize() {
1862
1863					function rozmeryViditelnehoOkna() {
1864						var myWidth = 0,
1865							myHeight = 0;
1866						if (typeof(window.innerWidth) == 'number') {
1867							// Non-IE
1868							myWidth = window.innerWidth;
1869							myHeight = window.innerHeight;
1870						} else if (document.documentElement && (document.documentElement.clientWidth || document.documentElement.clientHeight)) {
1871							// IE 6+ in 'standards compliant mode'
1872							myWidth = document.documentElement.clientWidth;
1873							myHeight = document.documentElement.clientHeight;
1874						} else if (document.body && (document.body.clientWidth || document.body.clientHeight)) {
1875							// IE 4 compatible
1876							myWidth = document.body.clientWidth;
1877							myHeight = document.body.clientHeight;
1878						}
1879						return {
1880							'width': myWidth,
1881							'height': myHeight
1882						};
1883					}
1884
1885					var vyskaOkna = rozmeryViditelnehoOkna().height - 2 * 80; // screen.height - 50; // vyska okna - chrome ignoruje vysku konzole
1886					var vyskaMinimalizovanehoObsahu = $(".jsKZmereniRozmenuHlavnihoMenu").outerHeight();
1887					var minVyska = 200;
1888					var vyska = vyskaMinimalizovanehoObsahu;
1889					if (vyska > vyskaOkna) {
1890						vyska = vyskaOkna;
1891					}
1892					if (vyska < minVyska) {
1893						vyska = minVyska;
1894					}
1895
1896					if ($("html").hasClass("mobilemenu") && $("html").hasClass("mobile_menu_toggled")) {
1897						$(".jsMobilniMenu2Rozmer").height(vyska);
1898
1899						// skroll at neni vzdy !
1900						if (vyska == vyskaMinimalizovanehoObsahu) {
1901							$(".jsMobilniMenu2Orez").css("overflow-y", "auto");
1902						}
1903						console.log(vyska, vyskaMinimalizovanehoObsahu);
1904
1905					} else {
1906						$(".jsMobilniMenu2Rozmer").css("height", "");
1907					}
1908				}
1909				$(document).ready(function() {
1910					mobilnimenu2_onResize();
1911					$(window).resize(function() {
1912						mobilnimenu2_onResize()
1913					});
1914				})
1915			</script>
1915
1916			<div class="mobilniMenu2skryjTmavePozadi">
1917				<div class="jsTmavyPozadi2 tmavyPozadi" style="z-index: -1;/*  */"></div>
1918			</div>
1919			<div class="jsJqueryLoadProMenu jsMobilniMenu2Rozmer jsMobilniMenu2Orez mobilniMenu2">
1920				<div id="menu" class="jsKZmereniRozmenuHlavnihoMenu">
1921
1922
1923
1924					
1925
1926
1927
1928					<ul class="mainmenu"><li id="item2" class="mitem item2 subyes"><a href="/en/about-us/"><span class="mitem_name">About Us</span></a><ul class="submenulist"><li class="mitem_sub mitem_sub_69"><a href="/en/loyalty-program/"><span class="mitem_sub_name">Loyalty Program</span></a></li><li class="mitem_sub mitem_sub_45"><a href="/en/career/"><span class="mitem_sub_name">Career</span></a></li><li class="mitem_sub mitem_sub_44"><a href="/en/brochures/"><span class="mitem_sub_name">Brochures</span></a></li><li class="mitem_sub mitem_sub_8"><a href="/en/leisure-time/"><span class="mitem_sub_name">Leisure Time</span></a></li><li class="mitem_sub mitem_sub_46"><a href="/en/event-calendar/"><span class="mitem_sub_name">Event calendar</span></a></li></ul></li><li id="item3" class="mitem item3 subyes"><a href="/en/special-offers/"><span class="mitem_name">Special offers</span></a></li><li id="item4" class="mitem item4 subno"><a href="/en/rooms/"><span class="mitem_name">Rooms</span></a></li><li id="item5" class="mitem item5 subyes"><a href="/en/spa-treatments/"><span class="mitem_name">Spa Treatments</span></a><ul class="submenulist"><li class="mitem_sub mitem_sub_28"><a href="/en/natural-healing---peat/"><span class="mitem_sub_name">Natural healing - peat</span></a></li></ul></li><li id="item6" class="mitem item6 subyes"><a href="/en/training-center/"><span class="mitem_name">Corporate events and teambuilding</span></a></li><li id="item7" class="mitem item7 subyes"><a href="/en/restaurant/"><span class="mitem_name">Restaurant &amp; Bar</span></a></li><li id="item85" class="mitem item85 subno"><a href="/en/blog/"><span class="mitem_name">Blog</span></a></li><li id="item9" class="mitem item9 subno"><a href="/en/gallery/"><span class="mitem_name">Gallery</span></a></li><li id="item10" class="mitem item10 subno current"><a href="/en/contact/"><span class="mitem_name">Contact</span></a></li></ul>
1929					<div class="fixAndroidSpodniMenuByloPresMobilniMenu"></div>
1930
1931				</div> <!-- #menu -->
1932			</div>
1933		</div>
1934
1935
1936	</div>
1937</div><!-- centrovaniMenu -->
1938
1939
1940
1941</div>
1942				
1942<script>
1943					window.VZ_INTRO = {};
1944
1945					VZ_INTRO.onResize = function() {
1946						if ($(".js_intro1_rozmer").width() <= 700 || $(".js_intro1_rozmer").height() <= 650) {
1947							$("html").addClass("JS_INTRO1_MALA_VERZE_NADPISU");
1948						} else {
1949							$("html").removeClass("JS_INTRO1_MALA_VERZE_NADPISU")
1950						}
1951					}
1952					VZ_INTRO.setVyskaCallback = function(fn) {
1953
1954						VZ_INTRO._vyska = fn;
1955
1956						// obnov slidemanager
1957						$(window).trigger('resize');
1958					}
1959					VZ_INTRO._vyska = function() {
1960						return ($(window).height())
1961					}
1962
1963					VZ_INTRO.start = function() {
1964
1965						function hp_intro_height(a) {
1966							var intro_height = VZ_INTRO._vyska();
1967							var intro_height = 400;
1968							$(a).height(intro_height);
1969						}
1970
1971						//resize
1972						$(window).resize(function() {
1973							hp_intro_height('#hp_intro'); // musi byt pred bg imagem !
1974						});
1975						hp_intro_height('#hp_intro');
1976						$(window).trigger('resize'); // refresh grid now
1977					}
1978
1979					$(window).resize(function() {
1980						VZ_INTRO.onResize();
1981					});
1982
1983					$(document).ready(function() {
1984
1985						VZ_INTRO.start();
1986						$('.sm-button').hide();
1987
1988
1989						// moznost mit vice superbgimage na jedne strance ___________________________
1990
1991
1992						$('#image_list').superbgimage({
1993							//id : 'superbgimage',
1994							gallery_image: 'hp_intro',
1995							inlineMode: 6, // 0-resize to browser size, 1-do not resize to browser-size
1996							showimage: 1, // number of first image to display
1997							vertical_center: 1, // 0-align top, 1-center vertical
1998							transition: 1, // 0-none, 1-fade, 2-slide down, 3-slide left, 4-slide top, 5-slide right, 6-blind horizontal, 7-blind vertical, 90-slide right/left, 91-slide top/down
1999							transition_easing: 'easeOutExpo',
2000							transition_spacetime: 0,
2001							transitionout: 1, // 0-no transition for previous image, 1-transition for previous image
2002							slideshow: ($('#image_list a').length > 1 ? 1 : 0), // 0-none, 1-autostart slideshow
2003							slide_interval: 6000, // interval for the slideshow
2004							randomimage: 0, // 0-none, 1-random image
2005							speed: 2000, // animation speed
2006							onShow: function(imgn) { //before show
2007
2008								$('.sm-button').hide();
2009								$('.sm-button').eq(imgn - 1).show();
2010								var imgmotto = $('#image_list a[rel="' + imgn + '"]').attr('title');
2011								//var imgmottolink = $('#image_list a[rel="' + imgn + '"]').attr('data-link');
2012								if (imgmotto != "") {
2013									var sep_p = imgmotto.indexOf(':');
2014									//var motto_p = imgmotto.split(':',2);
2015									//console.log(motto_p);
2016									//console.log(sep_p);
2017									var motto_title = (sep_p > 0 ? imgmotto.slice(0, sep_p) : imgmotto.slice(0));
2018									var motto_text = (sep_p > 0 ? imgmotto.slice(sep_p + 1) : '');
2019
2020									//$('.hp_intro_link').attr('href', imgmottolink );
2021									$('.hp_intro_title').html(motto_title);
2022									$('.hp_intro_text').html(motto_text);
2023									$('.top_intro_filter').fadeIn(800);
2024									$('#hp_intro_content').fadeIn(1000);
2025
2026								}
2027								//slidemanagercontentcenter();
2028
2029							},
2030							onHide: function(imgn) { //before hide
2031								// $('.top_intro_filter').fadeOut(800);
2032								// $('#hp_intro_content').fadeOut(600);
2033							}
2034						}); /**/
2035
2036
2037						// ------------------------------------------------
2038						$(".jsBannerKrizek").click(function() {
2039							$(".jsBanner").fadeOut(function() {
2040								socialmedias_scroll_callback();
2041							});
2042						});
2043					});
2044				</script>
2044
2045				
2046				<div id="hp_intro" class='js_intro1_rozmer'>
2047
2048										<!--<div class="introPozadiNaMobilu" style="background-image:url('slideadmin/upload_orig/DV_novy_parkoviste_67120fc563c78.jpg')"></div>-->
2049
2050					<div class="introMenuTmavost"></div>
2051
2052					<div class="introLogo">
2053						<div class="introLogoVcenter1">
2054							<div class="introLogoVcenter2">
2055								<div class="introLogo1"></div>
2056								<div class="introLogo2"></div>
2057							</div>
2058						</div>
2059					</div>
2060
2061					<div class="intro_content_container">
2062
2063						<!-- js -->
2064						<div id="hp_intro_content" style="display:none">
2065							<span class="hp_intro_title fontscript"></span>
2066							<span class="hp_intro_text"></span>
2067							<div class="hp_intro_text_podtrzeniBaze">
2068								<div class="hp_intro_text_podtrzeni">
2069
2070
2071									<div id="superbgimage_list">
2072										<div id="image_list" style="display:none;"><a class="suberbgimage_item" href="slideadmin/upload_orig/DV_novy_parkoviste_67120fc563c78.jpg" data-link="" title="New hotel parking with the possibility of a parking guarantee"></a>
2073</div>									</div>
2074
2075
2076								</div>
2077							</div>
2078							<div class="sm-button-holder">
2079								<span class="sm-button"></span><span class="sm-button"><p><br></p></span><span class="sm-button"></span>							</div>
2080						</div>
2081
2082						<!-- div id="hp_scroll_to_content" class="js_scroll_to" data-js_scroll_to_selector="#hp_content">
2083                      <div class="button1">
2084                          scroll
2085                          <div class="button1_arrow"></div>
2086                      </div>
2087                  </div -->
2088
2089						<div class="top_intro_filter"></div>
2090					</div>
2091
2092
2093
2094
2095				</div>
2096				<!--
2097//
2098//                                             OBSAH 1        / blok 3
2099//
2100// ____________________________________________________________________________________
2101-->
2102					<div class="blok3pozadi">
2103				<div class="blok3">
2104											<div></div> <!-- aby margin ne*** rozmer -->
2105													<div class="blok3HorniPodtrzitkoMistoNadNim">
2106								<h1 class="here">Contact&nbsp;</h1>							</div>
2107							<div class="blok3HorniPodtrzitko"></div>
2108											<div></div> <!-- aby margin ne*** rozmer -->
2109					<style>
2110						.sec_group_36 .blok3 {
2111							max-width: 100%;
2112						}
2113
2114						.sec_group_36 .blok3pozadi {
2115							background-image: none;
2116							background-color: white;
2117						}
2118					</style>
2119
2120					<div class="blokCMSObsah"><p>&nbsp;</p><p>Spa Hotel Děvín<br>Příkrá 618/2a<br>353 01 Mariánské Lázně<br>Czech Republic</p><p>Tel: +420&nbsp;354&nbsp;470&nbsp;400<br>e-mail: <a href="#" class="mail">info,spahoteldevin,cz</a><br><a href="https://www.spahoteldevin.cz">www.spahoteldevin.cz</a></p><p>Company name: Reprezentativní organizace odborových organizací skupiny SPG, a.s.</p><p>Company ID: 27450201<br>VAT no.: CZ27450201<br>Incorporated in the Commercial Register maintained by the Municipal Court in Prague, section B, file 10729</p><p>&nbsp;&nbsp;</p><p><b>Bc. Gabriela Sillerová<br></b>hotel manager<br>Email: <a href="#" class="mail">sillerova,spahoteldevin,cz</a><br>phone no: +420 777 111 728</p><p>Lucia Bednářová<br>Front Office &amp; Reservation Manager<br>Email: <a href="#" class="mail">reservations,spahoteldevin,cz</a><br>phone no:+&nbsp;354 470 400</p><p><b>Markéta Küsdül<br>E-commerce coordinator</b><br>Email: <a href="http://www.spahoteldevin.cz" target="_blank"><a href="#" class="mail">reservations,spahoteldevin,cz</a></a> <br>phone no:+ 354 470 400</p><p><b>Dominika Karová<br>Spa Manager</b><br>Email: <a href="#" class="mail">spa,spahoteldevin,cz</a> <br>phone no: +354 470 400</p><p><span style="text-align: center;"><b><br></b></span></p><p><span style="text-align: center;"><b>How to reach us:</b></span></p><p><span style="text-align: left;"><u>Arrival by car:</u></span></p><p>By car to the center of Marianske Lazne, along Hlavni trida, at the Continental Hotel (or at the library) turn left onto Ruská Street, immediately right and then a sharp left turn up. Distance: from Prague: 170 km, from České Budějovice: 210 km, from Brno: 375 km, from Ostrava: 540 km -<a href="https://www.google.com/maps/place/Spa+Hotel+D%C4%9Bv%C3%ADn/@49.968207,12.698713,16z/data=!4m20!1m10!3m9!1s0x47a07d69beb77421:0x612a8386297f6811!2zU3BhIEhvdGVsIETEm3bDrW4!5m2!4m1!1i2!8m2!3d49.9680556!4d12.7002778!16s%2Fg%2F1tdcw2sj!3m8!1s0x47a07d69beb77421:0x612a8386297f6811!5m2!4m1!1i2!8m2!3d49.9680556!4d12.7002778!16s%2Fg%2F1tdcw2sj?hl=cs&amp;entry=ttu&amp;g_ep=EgoyMDI2MDIwNC4wIKXMDSoASAFQAw%3D%3D" target="_blank"> more about the location here</a></p><p><u>Arrival by train:</u></p><p>By train to Marianske Lazne to the train (= bus) station (1.5 km), from there by trolleybus no. 3/5 on weekdays, on Saturdays, Sundays, and holidays no. 7 to the "Knihovna" stop, about 350 m from the hotel. <a href="http://www.jizdnirady.cz" target="_blank">More about the current connection here</a></p><p><u>Arrival by bus:</u></p><p>By bus to Marianske Lazne to the bus station (1.5 km), from there by trolleybus no. 3/5 on weekdays, on Saturdays, Sundays, and holidays no. 7 to the "KNIHOVNA" stop, about 350 m. <a href="http://www.jizdnirady.cz" target="_blank">More about the current connection here</a></p><p><strong>Managed by Golden Apple Hotels<a href="http://www.goldenapplehotels.com" target="_blank">&nbsp;</a></strong></p><p><strong><a href="http://www.goldenapplehotels.com" target="_blank">www.goldenapplehotels.com&nbsp;</a></strong></p></div><div class="blokCMSObsah"><p>&nbsp;</p></div>				<div class="blok3SpodniOkraj"></div>
2121			
2122			<div class="blok3DolniStin specialninabidkyDolniStin"></div>
2123			</div>
2124
2125	</div><!-- .blok3pozadi -->
2126<!--
2127// ___________________________________________________________________________
2128//
2129//                        SEKCE 2 / GALERIE
2130//
2131// ___________________________________________________________________________
2132-->
2133<!--
2134// ___________________________________________________________________________
2135//
2136//                        PODSEKCE
2137//
2138// ___________________________________________________________________________
2139-->
2140<script>console.log(false);</script>
2140<!--
2141//
2142//                                             OBSAH 2
2143//
2144// ____________________________________________________________________________________
2145-->
2146<!-- info o hotelu //page.info -->
2147<!-- info o hotelu END -->
2148<!-- mapa -->
2149<div class="hp_location">
2150          
2150<script type="text/javascript" src="https://maps.google.com/maps/api/js?language=en&key=AIzaSyAOuaAZHLz_a8TAKmYhMzxHwThALOiWlsc"></script>
vendor: 2 bytes, line 2150
2150
2151<script crossorigin type="text/javascript" src="/js/infobubble-compiled.js"></script>
vendor: 2 bytes, line 2151
2151
2152<script>
2153var WEBDATA = {};
2154WEBDATA.MAPA = {};
2155$(document).ready(function()
2156{
2157
2158//touch device
2159var istouchdevice = false;
2160var msGesture = window.navigator && window.navigator.msPointerEnabled && window.MSGesture;//ms touch (pointer) - surface devices
2161var touchDevice = ( ('ontouchstart' in window) || msGesture );
2162//if ("ontouchstart" in document.documentElement){
2163if ( touchDevice ){
2164  istouchdevice = true;
2165}
2166
2167var gmap_cssid = 'hp_location_map';
2168var map;
2169var marker1;
2170var img_pin_location = '/img/ico-location.png';
2171var LatendPos = 49.9682152;
2172var LngendPos = 12.6980556;
2173var specificcentermap_lat = 49.9682152 ;//- 0.004;
2174var specificcentermap_lng = 12.6980556 + 1*0.004;
2175
2176
2177        function marker_buble_position(p){
2178          //return p;
2179          var pos = p -( 0.00005 * Math.pow(2, (21 - map.getZoom())) );
2180          return pos;
2181        }
2182
2183function initMap(places) {
2184
2185    var myLatlng = new google.maps.LatLng(specificcentermap_lat,specificcentermap_lng);//
2186
2187    var myOptions = {
2188            zoom: 12,
2189					  center: myLatlng,
2190					  mapTypeId: google.maps.MapTypeId.ROADMAP,
2191					  					  //disableDefaultUI: false,
2192            panControl: false,
2193					  mapTypeControl: false,
2194					  mapTypeControlOptions: {
2195					  	style: google.maps.MapTypeControlStyle.DEFAULT
2196              					  },
2197            zoomControl: ( istouchdevice || $(window).width() < 700 ? false : true ),
2198            zoomControlOptions: {
2199            },
2200					  scaleControl: true,
2201					  navigationControl: false,
2202					  navigationControlOptions: {
2203					  	style: google.maps.NavigationControlStyle.DEFAULT					  },
2204					  keyboardShortcuts: false,
2205            draggable: ( istouchdevice ? false : true ),
2206            scrollwheel: false,
2207            streetViewControl: false
2208    }
2209
2210	var mapDiv = document.getElementById(gmap_cssid);
2211    map = new google.maps.Map(mapDiv, myOptions);
2212
2213WEBDATA.MAPA.GOOGLEMAPA = map;
2214WEBDATA.MAPA.GOOGLEMAPA_DIV = mapDiv;
2215
2216    var styles = // [{"featureType":"administrative","elementType":"labels.text.fill","stylers":[{"color":"#b6b6b6"}]},{"featureType":"administrative.country","elementType":"geometry.fill","stylers":[{"visibility":"on"}]},{"featureType":"administrative.country","elementType":"labels.text","stylers":[{"color":"#abafb5"}]},{"featureType":"administrative.country","elementType":"labels.text.fill","stylers":[{"color":"#b6b6b6"}]},{"featureType":"administrative.province","elementType":"labels.text.fill","stylers":[{"color":"#b6b6b6"}]},{"featureType":"administrative.province","elementType":"labels.icon","stylers":[{"hue":"#ff0000"},{"visibility":"on"}]},{"featureType":"administrative.neighborhood","elementType":"labels.text.fill","stylers":[{"color":"#b6b6b6"}]},{"featureType":"landscape","elementType":"all","stylers":[{"color":"#f2f2f2"}]},{"featureType":"poi","elementType":"all","stylers":[{"visibility":"off"}]},{"featureType":"road","elementType":"all","stylers":[{"saturation":-100},{"lightness":45}]},{"featureType":"road","elementType":"geometry","stylers":[{"color":"#ffffff"}]},{"featureType":"road.highway","elementType":"all","stylers":[{"visibility":"simplified"}]},{"featureType":"road.arterial","elementType":"labels.icon","stylers":[{"visibility":"off"}]},{"featureType":"transit","elementType":"all","stylers":[{"visibility":"off"}]},{"featureType":"water","elementType":"all","stylers":[{"color":"#46bcec"},{"visibility":"on"}]},{"featureType":"water","elementType":"geometry","stylers":[{"color":"#b7c3d3"}]},{"featureType":"water","elementType":"labels.text.fill","stylers":[{"color":"#ffffff"}]},{"featureType":"water","elementType":"labels.text.stroke","stylers":[{"visibility":"off"}]}]
2217    [
2218    {
2219        "featureType": "administrative",
2220        "elementType": "all",
2221        "stylers": [
2222            {
2223                "saturation": "46"
2224            },
2225            {
2226                "color": "#666666"
2227            },
2228            {
2229                "weight": "0.91"
2230            },
2231            {
2232                "gamma": "0.00"
2233            },
2234            {
2235                "lightness": "40"
2236            }
2237        ]
2238    },
2239    {
2240        "featureType": "administrative",
2241        "elementType": "geometry",
2242        "stylers": [
2243            {
2244                "saturation": "-5"
2245            },
2246            {
2247                "gamma": "4.31"
2248            },
2249            {
2250                "visibility": "off"
2251            },
2252            {
2253                "lightness": "-10"
2254            }
2255        ]
2256    },
2257    {
2258        "featureType": "administrative",
2259        "elementType": "geometry.stroke",
2260        "stylers": [
2261            {
2262                "visibility": "off"
2263            },
2264            {
2265                "saturation": "-5"
2266            },
2267            {
2268                "color": "#ff0000"
2269            },
2270            {
2271                "gamma": "8.63"
2272            },
2273            {
2274                "weight": "4.01"
2275            }
2276        ]
2277    },
2278    {
2279        "featureType": "administrative",
2280        "elementType": "labels",
2281        "stylers": [
2282            {
2283                "visibility": "on"
2284            },
2285            {
2286                "color": "#666666"
2287            }
2288        ]
2289    },
2290    {
2291        "featureType": "administrative",
2292        "elementType": "labels.text",
2293        "stylers": [
2294            {
2295                "visibility": "on"
2296            },
2297            {
2298                "saturation": "10"
2299            },
2300            {
2301                "color": "#666666"
2302            },
2303            {
2304                "weight": "0.59"
2305            }
2306        ]
2307    },
2308    {
2309        "featureType": "administrative",
2310        "elementType": "labels.text.fill",
2311        "stylers": [
2312            {
2313                "visibility": "off"
2314            },
2315            {
2316                "saturation": "-4"
2317            }
2318        ]
2319    },
2320    {
2321        "featureType": "administrative",
2322        "elementType": "labels.text.stroke",
2323        "stylers": [
2324            {
2325                "visibility": "on"
2326            },
2327            {
2328                "saturation": "1"
2329            },
2330            {
2331                "color": "#656565"
2332            }
2333        ]
2334    },
2335    {
2336        "featureType": "administrative",
2337        "elementType": "labels.icon",
2338        "stylers": [
2339            {
2340                "visibility": "off"
2341            },
2342            {
2343                "color": "#985959"
2344            }
2345        ]
2346    },
2347    {
2348        "featureType": "administrative.province",
2349        "elementType": "all",
2350        "stylers": [
2351            {
2352                "visibility": "off"
2353            }
2354        ]
2355    },
2356    {
2357        "featureType": "landscape",
2358        "elementType": "all",
2359        "stylers": [
2360            {
2361                "saturation": -100
2362            },
2363            {
2364                "lightness": 65
2365            },
2366            {
2367                "visibility": "on"
2368            }
2369        ]
2370    },
2371    {
2372        "featureType": "poi",
2373        "elementType": "all",
2374        "stylers": [
2375            {
2376                "saturation": -100
2377            },
2378            {
2379                "lightness": 51
2380            },
2381            {
2382                "visibility": "simplified"
2383            }
2384        ]
2385    },
2386    {
2387        "featureType": "road.highway",
2388        "elementType": "all",
2389        "stylers": [
2390            {
2391                "saturation": -100
2392            },
2393            {
2394                "visibility": "simplified"
2395            }
2396        ]
2397    },
2398    {
2399        "featureType": "road.arterial",
2400        "elementType": "all",
2401        "stylers": [
2402            {
2403                "saturation": -100
2404            },
2405            {
2406                "lightness": 30
2407            },
2408            {
2409                "visibility": "on"
2410            }
2411        ]
2412    },
2413    {
2414        "featureType": "road.local",
2415        "elementType": "all",
2416        "stylers": [
2417            {
2418                "saturation": -100
2419            },
2420            {
2421                "lightness": 40
2422            },
2423            {
2424                "visibility": "on"
2425            }
2426        ]
2427    },
2428    {
2429        "featureType": "transit",
2430        "elementType": "all",
2431        "stylers": [
2432            {
2433                "saturation": -100
2434            },
2435            {
2436                "visibility": "simplified"
2437            }
2438        ]
2439    },
2440    {
2441        "featureType": "transit.line",
2442        "elementType": "all",
2443        "stylers": [
2444            {
2445                "visibility": "off"
2446            }
2447        ]
2448    },
2449    {
2450        "featureType": "transit.station",
2451        "elementType": "all",
2452        "stylers": [
2453            {
2454                "visibility": "off"
2455            },
2456            {
2457                "saturation": "-14"
2458            }
2459        ]
2460    },
2461    {
2462        "featureType": "water",
2463        "elementType": "all",
2464        "stylers": [
2465            {
2466                "visibility": "simplified"
2467            }
2468        ]
2469    },
2470    {
2471        "featureType": "water",
2472        "elementType": "geometry",
2473        "stylers": [
2474            {
2475                "hue": "#ffff00"
2476            },
2477            {
2478                "lightness": -25
2479            },
2480            {
2481                "saturation": -97
2482            }
2483        ]
2484    },
2485    {
2486        "featureType": "water",
2487        "elementType": "labels",
2488        "stylers": [
2489            {
2490                "visibility": "on"
2491            },
2492            {
2493                "lightness": -25
2494            },
2495            {
2496                "saturation": -100
2497            }
2498        ]
2499    }
2500];
2501
2502WEBDATA.MAPA.GOOGLEMAPA_STYL = styles;
2503
2504
2505    var styledMap = new google.maps.StyledMapType(
2506		styles,
2507		{name: "styledmap"}
2508	);
2509
2510    map.mapTypes.set('map_style', styledMap);
2511    map.setMapTypeId('map_style');
2512    var image = new google.maps.MarkerImage(
2513		img_pin_location // ikonka		
2514	  , new google.maps.Size(242,268)       // rozmery
2515        , new google.maps.Point(0,0)  // origin for this image
2516      // The anchor for this image is the base of the flagpole at 0,32.
2517        , new google.maps.Point(222,228)//18,80)//28, 105
2518        , new google.maps.Size(242,268)       // scaled rozmery
2519    );
2520    /*
2521    var image = {
2522		url:img_pin_location // ikonka		
2523		, size: new google.maps.Size(242,268)       // rozmery
2524        , origin: new google.maps.Point(0,0)  // origin for this image
2525      // The anchor for this image is the base of the flagpole at 0,32.
2526        , anchor: new google.maps.Point(242/2,268)//18,80)//28, 105
2527        , scaledSize: new google.maps.Size(242,268)       // rozmery
2528    };
2529    */
2530
2531    /*
2532    var shadow = new google.maps.MarkerImage('https://www.google.com/mapfiles/ms/micons/msmarker.shadow.png',//
2533      // The shadow image is larger in the horizontal dimension
2534      // while the position and offset are the same as for the main image.
2535      new google.maps.Size(59, 32),//37, 32
2536      new google.maps.Point(0,0),//0,0
2537      new google.maps.Point(14,32)//6, 20
2538    );
2539    */
2540
2541    //----------------------------------
2542
2543
2544          					//
2545          marker1 = new google.maps.Marker({
2546            position: new google.maps.LatLng(LatendPos-0.0001,LngendPos+0.0021)
2547            ,map: map
2548            ,title: 'Spa Hotel Děvín'
2549            ,clickable: false
2550            ,icon: image            
2551            //,shadow: shadow
2552          });
2553      //marker1.setAnimation(google.maps.Animation.BOUNCE);
2554
2555WEBDATA.MAPA.GOOGLEMAPA_MARKER1 = marker1;
2556
2557      var infoBubble = new InfoBubble({
2558        //map: map,
2559        content: '<div></div>',
2560				        position: new google.maps.LatLng( marker_buble_position(LatendPos) ,LngendPos),
2561        shadowStyle: 0,
2562        padding: 0,
2563        backgroundColor: 'rgba(0,0,0,0)',
2564        borderRadius: 2,
2565        arrowSize: 5,
2566        borderWidth: 0,
2567        borderColor: 'transparent',
2568        disableAutoPan: true,
2569        hideCloseButton: true,
2570        arrowPosition: 50,
2571        backgroundClassName: 'map_info_buble_small',
2572        arrowStyle: 0
2573      });
2574      
2575WEBDATA.MAPA.GOOGLEMAPA_INFOBUBBLE = infoBubble;
2576
2577        setTimeout(function(){
2578          //infoBubble.open(map, marker1);
2579          infoBubble.open(map);
2580        },1500);
2581
2582        google.maps.event.addListener(map, "zoom_changed", function() {
2583            //newlong = marker.getPosition().lng() + (0.00003 * Math.pow(2, (21 - map.getZoom())));
2584            //infoBubble.setPosition(new google.maps.LatLng(marker.getPosition().lat(), newlong));
2585            infoBubble.setPosition(new google.maps.LatLng( marker_buble_position(LatendPos) ,LngendPos));
2586        });
2587
2588    /*
2589    var contenttext = '<' + 'div style="width:300px;height:130px;">';//
2590          contenttext += '<' + 'div style="font-size:20px;padding:15px 0 0 0;">Spa Hotel Děvín<' + '/div>';
2591          contenttext += '<' + 'p style="font-size:14px;line-height:18px;">' +
2592                         'Příkrá 618/2a, 353 01<br>' +
2593                         'Mariánské Lázně<br>' +
2594                         'Česká republika<br>' +
2595                         //'tel: +420<br>' +
2596                         //'fax: +420<br>' +
2597                         'e-mail: <a href="mailto:[email protected]">[email protected]</a>' +
2598                         '<' + '/p>' +
2599                         '<' + '/div>';
2600
2601    var infowindow1 = new google.maps.InfoWindow({
2602            content: contenttext,
2603            //maxWidth: 300,
2604            pixelOffset : new google.maps.Size(0, 0)
2605          });
2606    */
2607
2608    /*
2609    google.maps.event.addListener(map, 'tilesloaded', function() {
2610      infowindow1.open(map,marker1);
2611      //marker1.setAnimation(null);
2612    });
2613    */
2614
2615    /*
2616    google.maps.event.addListener(marker1, 'click', function() {
2617      infowindow1.open(map,marker1);
2618      //marker1.setAnimation(null);
2619    });
2620    */
2621
2622       /*
2623       google.maps.event.addListener(marker1, 'mouseover', function() {
2624          infowindow1.open(map,marker1);
2625          //this.setIcon(image_active);
2626          //this.setZIndex(1000);
2627          //$('#marker' + [m[0]]).addClass('markerhover');
2628        });
2629        google.maps.event.addListener(marker1, "mouseout", function() {
2630          infowindow1.close(map,marker1);
2631         //this.setIcon( ( m.highlight == 1 ? image_highlight : image ) );
2632         //this.setZIndex(0);
2633         //$('#marker' + [m[0]]).removeClass('markerhover');
2634        });
2635        
2636        */
2637    //-----------------------------------------
2638    if( places ){
2639      setTimeout(function(){
2640        loadPlaces( true );
2641      },0);
2642    }
2643
2644}
2645
2646
2647
2648//debugger;
2649
2650    var bounds = new google.maps.LatLngBounds();
2651    var bounds_local = null; //= new google.maps.LatLngBounds();
2652    //id,latitude,longitude,název,infobuble
2653    var allmarkers = [
2654//    
2655// M: vystredit pomoci neviditelnych markeru ...    
2656//
2657        [10,49.971053,12.698961,'nahore','']      
2658      // , [11,49.965374,12.699165,'dole','']      skoro
2659      , [11,49.965361,12.69937,'dole','']
2660	 //	 [5,49.2002211, 16.6078411,'Brno','/img/ico-address.png']
2661       //, [6,49.2429807,16.4488059,'',''] // Rozdrojovice aby bylo Victory vice ve stredu ...
2662      
2663      /*
2664      [0,50.086433,14.411438,'Karlův most'],      
2665      [1,50.079782,14.429717,'Pomník sv. Václava'],
2666      [2,50.090216,14.399579,'Pražský hrad'],
2667      [3,50.087022,14.420707,'Staroměstský Orloj'],
2668      [4,50.090022,14.4180304,'Židovské město']
2669      */
2670
2671    ];
2672    var marker = new Array;
2673
2674WEBDATA.MAPA.GOOGLEMAPA_MARKER = marker;
2675
2676    function pinMarker(m){
2677      //console.log(m);
2678      var myLatLng = new google.maps.LatLng(m[1],m[2]);
2679
2680
2681      var image = new google.maps.MarkerImage(
2682		m[4],//Pin_02.png',
2683        // This marker is 20 pixels wide by 32 pixels tall.
2684        new google.maps.Size(48, 66),//12, 20
2685        // The origin for this image is 0,0.
2686        new google.maps.Point(0, 0),//
2687        // The anchor for this image is the base of the flagpole at 0,32.
2688        new google.maps.Point(17, 65)//
2689      );
2690      /*
2691      var shadow = new google.maps.MarkerImage('https://maps.google.com/mapfiles/ms/micons/msmarker.shadow.png',//
2692        // The shadow image is larger in the horizontal dimension
2693        // while the position and offset are the same as for the main image.
2694        new google.maps.Size(59, 32),//37, 32
2695        new google.maps.Point(0,0),//0,0
2696        new google.maps.Point(6,20)//6, 20
2697      );
2698      */
2699
2700        //prodleva pro animaci drop
2701      setTimeout( function(){
2702
2703        marker[m[0]] = new google.maps.Marker({
2704              position: myLatLng,
2705              map: map,
2706              title: m[3],
2707              //clickable: true,
2708              icon: image//,
2709              //shadow: shadow,
2710              //animation: google.maps.Animation.DROP
2711        });
2712        /*marker[m[0]]['infowindow'] = new google.maps.InfoWindow({
2713              content: '<div style="width:160px;height:70px;"><strong>' + m[3] + '</strong><br>' + m[4] + '</div>',
2714              maxWidth: '350'
2715            });*/
2716
2717
2718
2719       /*
2720       google.maps.event.addListener(marker[m[0]], 'click', function() {
2721          marker[m[0]]['infowindow'].open(map,marker[m[0]]);
2722          //marker[m[0]].setAnimation(null);
2723        });
2724
2725       google.maps.event.addListener(marker[m[0]]['infowindow'], 'domready', function () {
2726         //console.log('info win ' + m[0]);
2727       });
2728
2729       google.maps.event.addListener(marker[m[0]], 'mouseover', function() {
2730          marker[m[0]]['infowindow'].open(map,marker[m[0]]);
2731        });
2732        google.maps.event.addListener(marker[m[0]], "mouseout", function() {
2733          marker[m[0]]['infowindow'].close(map,marker[m[0]]);
2734        });
2735        */
2736
2737      }, 0 * m[0]+1 );
2738      bounds.extend(myLatLng);
2739
2740
2741
2742
2743    }
2744
2745    function loadPlaces(bound_to_map){
2746      clearAllMarkers();
2747      // bounds = new google.maps.LatLngBounds();
2748
2749      var myLatLng = new google.maps.LatLng(LatendPos,LngendPos);//
2750      bounds.extend(myLatLng);
2751
2752      //console.log(allmarkers[0]);
2753
2754          //console.log(allmarkers.length);
2755      for (var i=0; i<allmarkers.length; i++) {
2756          pinMarker(allmarkers[i]);
2757        //console.log(allmarkers);
2758      }
2759      /*
2760      for( var loc in allmarkers ){
2761        for( var place in allmarkers[loc] ){
2762          pinMarker(allmarkers[i]);
2763        }
2764      }
2765      */
2766      if( bound_to_map ){
2767        map.fitBounds(bounds);
2768      }
2769    }
2770
2771    function clearAllMarkers(){
2772      if (marker) {
2773        for (i in marker) {
2774          marker[i].setMap(null);
2775        }
2776        marker.length = 0;
2777      }
2778    }
2779
2780
2781
2782	function initMapCallback()
2783	{
2784
2785			$(document).ready(function(){
2786
2787				initMap(1); // i markery
2788
2789				map.fitBounds(bounds);
2790				map.setZoom( 12 ); // bounds pry resetuje zoom 
2791
2792				//resize
2793				$(window).resize(function(){
2794				  var myLatlng_center = new google.maps.LatLng(specificcentermap_lat,specificcentermap_lng);//
2795				  map.setCenter(myLatlng_center);//marker1.getPosition()
2796				  map.fitBounds(bounds);
2797				});
2798
2799			});/**/
2800	}
2801
2802	google.maps.event.addDomListener(window, "load", initMapCallback);
2803
2804});
2805</script>
2805
2806
2807
2808<div class="hp_location_container">
2809  <!-- a class="hp_location_map_button" target="_blank" href="https://goo.gl/maps/k5dVDdU7Nfn">
2810    <span>Navigate</span>
2811  </a -->
2812  <div id="hp_location_map" class="hp_location_map"></div>
2813</div>
2814</div>          
2815<!-- mapa END -->
2816<div id="footer" class="footer">
2817
2818<div class="patickaHorni">
2819	
2820	<!-- 
2821		rovnomerny rozptyl 
2822		--- ma problem s white-space:nowrap tak jako flexbox :( 
2823			FIXME(M): nahradit flexboxem?
2824	-->
2825	<div class="js_rozmerRovnomernehoRozptyluSkupiny1"><div class="prvekRovnomernehoRozptylu"><div class="miniblokTmavy"><h3>Address</h3>
2826<div>SPA Hotel Děvín</div>
2827<div>Příkrá 618/2a</div>
2828<div>353 01 Mariánské Lázně</div>
2829<div>Managed by Golden Apple Hotels</div><div>Company registered office: Representative organization of trade unions SPG a.s, Na Struze 227/1, Nové Město, 110 00 Prague 1<br>ICO: 27450201 | DIC: CZ27450201&nbsp;</div></div></div><div class="js_pruzinkaRovnomernehoRozptyluSkupiny1"></div><div class="prvekRovnomernehoRozptylu"><div class="miniblokTmavy"><h3>Contact</h3>
2830<div>Tel: +420&nbsp;354&nbsp;470&nbsp;400</div>
2831<div>E-mail: <a href="mailto:[email protected]">[email protected] </a></div>
2832<div><a href="https://www.spahoteldevin.cz">www.spahoteldevin.cz </a></div>
2833<div>&nbsp;</div></div></div><div class="js_pruzinkaRovnomernehoRozptyluSkupiny1"></div><div class="prvekRovnomernehoRozptylu"><div class="miniblokTmavy"><h3>Links</h3><h2><a href="http://&lt;a href='https://www.kayak.de/Marienbad-Hotels-Spa-hotel-Devin.485519.ksp' target='_blank'&gt;&lt;img height=&quot;150px&quot; src='https://content.r9cdn.net/seo-res/badges/v4/DARK_MEDIUM_TRAVEL_AWARDS.png'/&gt;&lt;/a&gt;" target="_blank"></a></h2><div><a href="https://www.spahoteldevin.cz/en/faq/" target="_self">Frequently asked questions</a></div><div><a href="https://www.spahoteldevin.cz/en/privacy-policy/" target="_self">Privacy policy</a></div><div><a href="https://www.spahoteldevin.cz/en/Terms-and-Conditions/">Terms and Conditions</a><br></div><div><a href="https://www.kayak.de/Marienbad-Hotels-Spa-hotel-Devin.485519.ksp" target="https://www.kayak.de/Marienbad-Hotels-Spa-hotel-Devin.485519.ksp"></a><br></div></div></div><div class="js_pruzinkaRovnomernehoRozptyluSkupiny1"></div><div class="prvekRovnomernehoRozptylu"><div class="miniblokTmavy"><h3>Follow us</h3><a class="social facebook" href=" //www.facebook.com/SpaHotelDevinMarianskeLazne/" target="_blank"></a><a class="social instagram" href=" //www.instagram.com/spahoteldevin/" target="_blank"></a></div></div></div>
2834	<!-- BEGIN generovany kod -->
2835	<style>
2836	.prvekRovnomernehoRozptylu {
2837    display: inline-block;
2838    vertical-align: top;
2839	}
2840
2841	.js_pruzinkaRovnomernehoRozptyluSkupiny1 {
2842		display: inline-block;
2843	}
2844	</style>
2845	
2845<script>
2846	function rozmistiRovnomerneDoRadku_prepocti1 ()
2847	{
2848		var maximalniSirka = $( ".js_rozmerRovnomernehoRozptyluSkupiny1" ).width ();
2849		$( ".js_pruzinkaRovnomernehoRozptyluSkupiny1" ).width ( 0 );
2850		var pocetPrvku = 0;
2851		var rozmerPrvku = 0;
2852		var pocetPruzinek = 0;
2853		var debugRozmeryPrvku = [];
2854		$( ".js_rozmerRovnomernehoRozptyluSkupiny1" ) . children () . each ( function ()
2855		{
2856			if ( $( this ) . hasClass ( "js_pruzinkaRovnomernehoRozptyluSkupiny1" )) 
2857			{ 
2858				pocetPruzinek += 1;
2859				return; 
2860			}
2861			debugRozmeryPrvku . push ( $( this ) . width () );
2862			rozmerPrvku += $( this ) . width ();
2863			pocetPrvku += 1;
2864		});
2865
2866// TODO: proc maji nektere prvky pokazde jiny rozmer ?		
2867		var sirkaPruzinky = ( maximalniSirka - rozmerPrvku ) / pocetPruzinek;
2868		var chybaZaokrouhleni = - ( pocetPrvku *  2 + 1 );
2869		var sirkaPruzinkyFinalni = sirkaPruzinky + chybaZaokrouhleni;
2870		$( ".js_pruzinkaRovnomernehoRozptyluSkupiny1" ).width ( sirkaPruzinkyFinalni ); // ziskavam zaokrouhlene rozmery ...
2871		
2872		return;
2873		// console . log ( "selektor", ".js_rozmerRovnomernehoRozptyluSkupiny1", "pocetprvku", pocetPrvku, "maximalniSirka", maximalniSirka, "rozmerPrvku", rozmerPrvku, "pocetPruzinek", pocetPruzinek, "chybaZaokrouhleni", chybaZaokrouhleni, "sirkaPruzinky", sirkaPruzinky, "sirkaPruzinkyFinalni", sirkaPruzinkyFinalni );
2874		var debug = [{ "selektor": ".js_rozmerRovnomernehoRozptyluSkupiny1", "pocetprvku": pocetPrvku, "maximalniSirka": maximalniSirka, "rozmerPrvku": rozmerPrvku, "pocetPruzinek": pocetPruzinek, "chybaZaokrouhleni": chybaZaokrouhleni, "sirkaPruzinky": sirkaPruzinky, "sirkaPruzinkyFinalni": sirkaPruzinkyFinalni }];
2875		
2876		
2877		console . table ( debug );
2878		console . log ( debug ); // radek console . table () nejde zkopirovat do poznamkovyho bloku - nejsou v nem mezery :(
2879		console . log ( debugRozmeryPrvku );
2880		
2881	}
2882
2883	$( document ) . ready( function ()
2884	{
2885		rozmistiRovnomerneDoRadku_prepocti1 ();
2886	})
2887	$( window ) . resize ( function ()
2888	{
2889		rozmistiRovnomerneDoRadku_prepocti1 ();
2890	});
2891	</script>
2891	
2892	<!-- END generovany kod -->
2893	<div class="clearboth"></div></div>
2894
2895<div class="ramecekMeziBloky"></div>
2896
2897<div class="patickaSpodek">
2898	<div class="patickaLogo">
2899	<a href="/"><img src="/img/logo.png" alt="logo Hotel Děvín"></a>
2900	<a href="//www.goldenapplehotels.com/" target="_blank"><img src="img/logoGoldenapple.png" alt="logo Golden Apple Hotels"></a>
2901</div>
2902    <div class="patickaVz">
2903				created by: <a href="//virtual-zoom.cz" style="" target="_blank">virtual-zoom&reg;</a> &nbsp; | &nbsp; <span class="cm_rp" style="cursor:pointer;">Cookies</span>
2904	</div>
2905</div>	
2906
2907</div><!-- #footer -->
2908
2909
2910</div>
2911
2912
2913  <!-- bookassist / Foot START -->
2914	 <!-- www.bookassist.com web stats  -->
2915    
2915<script>
2916        var BA = BA || {};
2917        BA.account = "Spa Hotel Devin";  // hotel Name
2918        BA.hotel_id = "3906";   // bookassist_hotel_id_number_for_hotel
2919        BA.hotel_group_id = "";
2920        BA.guide_id = "822";   // bookassist_guide_id_number_for_hotel
2921        (function() {
2922        var ba = document.createElement('script');
2923        ba.type = 'text/javascript'; ba.async = true;
2924        ba.src = '//dwxf316kii2pu.cloudfront.net/scripts/BA/rt-min.jsp';
2925        var s = document.getElementsByTagName('script')[0];
2926        s.parentNode.insertBefore(ba, s);
2927        })();
2928    </script>
2928
2929    <!-- End www.bookassist.com web stats -->
2930    <!-- bookassist / Foot END -->
2931
2932		<!-- Kód Google značky pro remarketing
2933<script type="text/javascript">
2934/* <![CDATA[ */
2935var google_conversion_id = 'xxx';
2936var google_custom_params = window.google_tag_params;
2937var google_remarketing_only = true;
2938/* ]]> */
2939</script>
vendor: 2 bytes, line 2939
2939
2940<script type="text/javascript" src="//www.googleadservices.com/pagead/conversion.js">
2941</script>
2941
2942<noscript>
2943<div style="display:inline;">
2944<img height="1" width="1" style="border-style:none;" alt="" src="//googleads.g.doubleclick.net/pagead/viewthroughconversion/xxx/?value=0&amp;guid=ON&amp;script=0"/>
2945</div>
2946</noscript> 
2947-->
2948<script type="text/javascript"> var leady_track_key="p113TL37EO6d10WS"; (function(){ var l=document.createElement("script");l.type="text/javascript";l.async=true; l.src='https://t.leady.com/'+leady_track_key+"/L.js"; var s=document.getElementsByTagName("script")[0];s.parentNode.insertBefore(l,s); })(); </script>
2948
2949</body>
2950
2951</html>
2952
2953		<!-- BEGIN sjednocene lokalni skripty -->
2954		
2954<script>
2955		
2956		</script>
2956
2957		<!-- END sjednocene lokalni skripty -->
2958		

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.