	// JavaScript Document
	if (typeof window_width == 'undefined' || typeof window_height == 'undefined') {
		var window_width;
		var window_height;
		if( typeof( window.innerWidth ) == 'number' ) {
		  window_width = window.innerWidth;
		  window_height = window.innerHeight;
		} else if( document.documentElement &&
			( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
		  window_width = document.documentElement.clientWidth;
		  window_height = document.documentElement.clientHeight;
		} else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
		  window_width = document.body.clientWidth;
		  window_height = document.body.clientHeight;
		}
	}
	//var left = Math.round((window_width - 200) / 2);
	//var top = Math.round(((window_height - 46) / 3) + 46);
	//document.getElementById('pageIsLoading').style.left = left+'px';
	//document.getElementById('pageIsLoading').style.top = top+'px';
	//document.getElementById('pageIsLoading').style.display = "block"
	//document.getElementById('pageIsLoading').style.height = window_height+'px'
	
	/*Приховання всіх input для reserving.php після завантаження сторінки
	  Вони перекривали вікно завантаження
	*/
	$(function(){
			if ($(":input").length > 0) $(":input").css("display","none") 
			if (document.getElementById('simplemodal-overlay')){
			document.getElementById('simplemodal-overlay').style.height = document.body.clientHeight+'px'
            document.getElementById('simplemodal-overlay').style.width = '100%'
			}
	})
	
