
	<style>
		/***<add>***/
		#huge_it_loading_image_ {
			height:px;
			width:px;
			display: table-cell;
			text-align: center;
			vertical-align: middle;
		}
		#huge_it_loading_image_.display {
			display: table-cell;
		}
		#huge_it_loading_image_.nodisplay {
			display: none;
		}
		#huge_it_loading_image_ img {
			margin: auto 0;
			width: 20% !important;

		}

		.huge_it_slideshow_image_wrap_ {
			height:0px;
			width:0px;
			max-width: calc(100% - 0px);
			position:relative;
			display: block;
			text-align: center;
			/*HEIGHT FROM HEADER.PHP*/
			clear:both;

		float:none; margin:0px auto;			border-style: solid;
			border-left: 0 !important;
			border-right: 0 !important;
				}

		.huge_it_slideshow_image_wrap1_.display {
			width: 100%;
			height: 100%;
		}

		.huge_it_slideshow_image_wrap1_.display {
			display: block;
		}

		.huge_it_slideshow_image_wrap1_.nodisplay {
			opacity: 0;
		}

		.huge_it_slideshow_image_wrap_ * {
			box-sizing: border-box;
			-moz-box-sizing: border-box;
			-webkit-box-sizing: border-box;
		}

		.huge_it_slideshow_image_ {
		 width: 100%;
			height: 100%;
		 max-width: 100%;
			max-height: 100%;

		}
		.huge_it_slideshow_image_wrap1_{
			height:0px;
			width:0px;
			max-width: 100%;
		}
		#huge_it_slideshow_left_,
		#huge_it_slideshow_right_ {
			cursor: pointer;
			display:none;
			height: 100%;
			outline: medium none;
			position: absolute;
			z-index: 13;
					margin-top: 0 !important;
			top: 50%;
			transform: translateY(-50%);
				}

		#huge_it_slideshow_left-ico_,
		#huge_it_slideshow_right-ico_ {
			z-index: 13;
			-moz-box-sizing: content-box;
			box-sizing: content-box;
			cursor: pointer;
			display: table;
			left: -9999px;
			line-height: 0;
			margin-top: -15px;
			position: absolute;
			top: 50%;
			/*z-index: 10135;*/
		}
		#huge_it_slideshow_left-ico_:hover,
		#huge_it_slideshow_right-ico_:hover {
			cursor: pointer;
		}

		.huge_it_slideshow_image_container_ {
			display: table;
			position: relative;
			top:0;
			left:0;
			text-align: center;
			vertical-align: middle;
			width:100%;
			overflow:hidden;
			height: 100%;
		}

		.huge_it_slideshow_title_text_ {
			text-decoration: none;
			position: absolute;
			z-index: 11;
			display: inline-block;
		 width: 24%;
			/*height:
		44 %;*/

		right:3%;top:3%; padding: 2%;
			text-align: right;
			font-weight: bold;
			color: #000000;

			background: rgba(255,255,255,0.7)  !important;
			border-style: solid;
			font-size: 13px;
			border-width: 0px;
			border-color: #ffffff;
			border-radius: 4px;
		}

		.huge_it_slideshow_description_text_ {
			text-decoration: none;
			position: absolute;
			z-index: 11;
			border-style:solid;
			display: inline-block;
		
			width:64%;
			/*height:44%;*/
		right:3%;bottom:3%;			padding:3%;
			text-align:justify;
			color:#ffffff;

			background:rgba(0,0,0,0.7) !important;
			border-style:solid;
			font-size:13px;
			border-width:0px;
			border-color:#ffffff;
			border-radius:0px;
		}

		.huge_it_slideshow_title_text_.none, .huge_it_slideshow_description_text_.none,
		.huge_it_slideshow_title_text_.hidden, .huge_it_slideshow_description_text_.hidden	   {display:none;}

		.huge_it_slideshow_title_text_ h1, .huge_it_slideshow_description_text_ h1,
		.huge_it_slideshow_title_text_ h2, .huge_it_slideshow_title_text_ h2,
		.huge_it_slideshow_title_text_ h3, .huge_it_slideshow_title_text_ h3,
		.huge_it_slideshow_title_text_ h4, .huge_it_slideshow_title_text_ h4,
		.huge_it_slideshow_title_text_ p, .huge_it_slideshow_title_text_ p,
		.huge_it_slideshow_title_text_ strong,  .huge_it_slideshow_title_text_ strong,
		.huge_it_slideshow_title_text_ span, .huge_it_slideshow_title_text_ span,
		.huge_it_slideshow_title_text_ ul, .huge_it_slideshow_title_text_ ul,
		.huge_it_slideshow_title_text_ li, .huge_it_slideshow_title_text_ li {
			padding:2px;
			margin:0;
		}

		.huge_it_slide_container_ {
			display: table-cell;
			margin: 0 auto;
			position: relative;
			vertical-align: middle;
			width:100%;
			height:100%;
			_width: inherit;
			_height: inherit;
		}
		.huge_it_slide_bg_ {
			margin: 0 auto;
			width:100%;
			height:100%;
			_width: inherit;
			_height: inherit;
		}
		.huge_it_slide_bg_ li img{
			position: absolute;
					/*top: -0px !important;
                    left: -0px !important;*/
			left:0;
					height: 100%;
		}
		.huge_it_slide_bg_ li iframe{
			width: 100%;
			height: 100%;
		}
		.huge_it_slider_ {
			width:100%;
			height:100%;
			display:table !important;
			padding:0 !important;
			margin:0 !important;

		}
		.huge_it_slideshow_image_item_ {
			width:100%;
			height:100%;
			_width: inherit;
			_height: inherit;
			display: table-cell;
			filter: Alpha(opacity=100);
			opacity: 1;
			position: absolute !important;
			top:0 !important;
			left:0 !important;
			vertical-align: middle;
			z-index: 1;
			margin:0 !important;
			padding:0 !important;
			overflow: hidden !important;
			border-radius: 0px !important;
		}
		.huge_it_slideshow_image_second_item_ {
			width:100%;
			height:100%;
			_width: inherit;
			_height: inherit;
			display: table-cell;
			filter: Alpha(opacity=0);
			opacity: 0;
			position: absolute !important;
			top:0 !important;
			left:0 !important;
			vertical-align: middle;
			overflow:hidden;
			margin:0 !important;
			visibility:visible !important;
			padding:0 !important;
			border-radius: 0px !important;
		}
		.huge_it_slideshow_image_second_item_ a, .huge_it_slideshow_image_item_ a {
			display:block;
			width:100%;
			height:100%;
		}

		.huge_it_grid_ {
			display: none;
			height: 100%;
			overflow: hidden;
			position: absolute;
			width: 100%;
		}
		.huge_it_gridlet_ {
			opacity: 1;
			filter: Alpha(opacity=100);
			position: absolute;
		}
		.huge_it_slideshow_dots_container_ {
			display: table;
			position: absolute;
			width:100% !important;
			height:100% !important;
		}
		.huge_it_slideshow_dots_thumbnails_ {
			margin: 0 auto;
			overflow: hidden;
			position: absolute;
			width:100%;
			height:30px;
		}

		.huge_it_slideshow_dots_ {
			display: inline-block;
			position: relative;
			cursor: pointer;
			box-shadow: 1px 1px 1px rgba(0,0,0,0.1) inset, 1px 1px 1px rgba(255,255,255,0.1);
			width:10px;
			height: 10px;
			border-radius: 10px;
			background: #00f;
			margin: 10px;
			overflow: hidden;
			z-index: 17;
		}

		.huge_it_slideshow_dots_active_ {
			opacity: 1;
			filter: Alpha(opacity=100);
		}
		.huge_it_slideshow_dots_deactive_ {

		}

		.huge_it_slideshow_image_wrap_ {
			background:#ffffff;
			border-width:0px;
			border-color:#ffffff;
			border-radius:0px;
		}
		.huge_it_slideshow_image_wrap_.nocolor {
			background: transparent;
		}

		.huge_it_slideshow_dots_thumbnails_ {
				}

		.huge_it_slideshow_dots_ {
			background:#000000;
		}

		.huge_it_slideshow_dots_active_ {
			background:#ffffff;
		}

				/*//////////////////////slider thunbnail styles start///////////////////////////*/

		.bx-viewport {
			height: 100px !important;
			-webkit-transform: translatez(0);
		}
		.entry-content .huge_it_slideshow_image_wrap_ a{
			border-bottom: none !important;
		}
		.entry-content .huge_it_slideshow_image_wrap_ li{
			margin:0 !important;
			padding: 0 !important;
		}
		.entry-content .huge_it_slideshow_image_wrap_ ul{
			list-style-type:none !important;
			margin: 0 !important;
			padding: 0 !important;
		}
		.bx-wrapper {
			position: relative;
			margin: 0 auto 0 auto;
			padding: 0;
			max-width: px !important;
			*zoom: 1;
			-ms-touch-action: pan-y;
			touch-action: pan-y;
		}
		.huge_it_slideshow_thumbs_container_{
				}
		.huge_it_slideshow_thumbs_{

			margin: 0;
		}
		.huge_it_slideshow_thumbs_ li{
			display: inline-block;

			height: 100px ;

		}
		.huge_it_slideshow_thumbnails_ {
			display: inline-block;
			position: relative;
			cursor: pointer;
			background: #FFFFFF;
			z-index: 17;
			height: 100px;
		}
		.sl_thumb_img{
			width: 100% !important;
			height: 100% !important;
			display: block;
			margin: 0 auto;
		}
		.sl_thumb_img2{
			height: 100% !important;
			display: block;
			margin: 0 auto;
		}
		.trans_back{
			width: 100%;
			height: 100%;
			top:0;
			position: absolute;
			background:rgba(255,255,255,0.5);
			transition: 0.3s ease;
		}
		.trans_back:hover{
			background:none !important;
		}
		.play-icon.youtube {background:url(https://www.airfsabugueiro.pt/wp-content/plugins/slider-image/images/play.youtube.png) center center no-repeat;
			width: 100%;
			height: 100%;
			top:0;
			position: absolute;}

		.play-icon.vimeo {background:url(https://www.airfsabugueiro.pt/wp-content/plugins/slider-image/images/play.vimeo.png) center center no-repeat;
			width: 100%;
			height: 100%;
			top:0;
			position: absolute;
		}
		.bx-wrapper {

			border: 0 solid #fff;
			background: #fff;
		}

		/*////////////slider thunbnail styles end//////////////*/

				#huge_it_slideshow_left_ {
			left:0;
			margin-top:-21px;
			height:43px;
			width:29px;
			background:url(https://www.airfsabugueiro.pt/wp-content/plugins/slider-image/Front_images/arrows/arrows.simple.png) left  top no-repeat;
			background-size: 200%;
		}

		#huge_it_slideshow_right_ {
			right:0;
			margin-top:-21px;
			height:43px;
			width:29px;
			background:url(https://www.airfsabugueiro.pt/wp-content/plugins/slider-image/Front_images/arrows/arrows.simple.png) right top no-repeat;
			background-size: 200%;

		}
		
		/***</add>***/

	</style>


	{"id":25,"date":"2017-02-15T19:46:31","date_gmt":"2017-02-15T19:46:31","guid":{"rendered":"http:\/\/localhost\/wordpress\/?page_id=25"},"modified":"2017-02-16T20:16:55","modified_gmt":"2017-02-16T20:16:55","slug":"instalacoes","status":"publish","type":"page","link":"https:\/\/www.airfsabugueiro.pt\/index.php\/instalacoes\/","title":{"rendered":"Instala\u00e7\u00f5es"},"content":{"rendered":"<script>\r\n    var pausehover=\"\";\r\n\tvar huge_video_playing={};\r\n\tvar autoplayMatch={};\r\n    var scrolling;\r\n    var ifhasthumb =\"\";\r\n\r\n    scrolling = pausehover != 'on';\r\n\r\n    jQuery(window).load(function(){\r\n        if(!\/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini\/i.test(navigator.userAgent))\r\n        setTimeout(function(){\r\n            jQuery('.huge_it_slide_container_').mouseleave();\r\n        }, 10);\r\n    });\r\n<\/script>\r\n\r\n\r\n<!--  #######ADD YOUTUBE IFRAME TWICE######## -->\r\n<script>\r\n\t\r\n\tvar YTdeferred = jQuery.Deferred();\r\n\twindow.onYouTubeIframeAPIReady = function() {\r\n\t\t\/\/resolve when youtube callback is called passing YT as a parameter\r\n\t\tYTdeferred.resolve(window.YT);\r\n\r\n\t};\r\n\tYTdeferred.done(function(YT) {\r\n\r\n\t\tjQuery('.huge-it-iframe').each(function(){\r\n\t\t\t\r\n\t\t\tvar el_id = jQuery(this).attr('data-element-id');\r\n\t\t\tvar volume = HUGEIT_YT_IFRAMES['iframe'+el_id]['volume'];\r\n\t\t\t\r\n\t\t\twindow['onPlayerReady'+el_id] = function(event) {\r\n\t\t\t\twindow['player_'+el_id]['setVolume'](volume);\r\n\t\t\t}\r\n\t\t});\t\t\r\n\r\n\t\tjQuery('.huge-it-iframe').each(function(){\r\n\t\t\r\n\t\t\tvar id = jQuery(this).attr('id');\r\n\t\t\tvar el_id = jQuery(this).attr('data-element-id');\r\n\t\t\tvar controls = HUGEIT_YT_IFRAMES['iframe'+el_id]['controls'];\r\n\t\t\tvar showinfo = HUGEIT_YT_IFRAMES['iframe'+el_id]['showinfo'];\r\n\t\t\tvar url = HUGEIT_YT_IFRAMES['iframe'+el_id]['videoId'];\r\n\t\t\tcontrols||(controls = 0);\r\n\t\t\tshowinfo||(showinfo = 0);\r\n\t\t\t\r\n\t\t\twindow['player_'+el_id] = new YT.Player(id, {\r\n\t\t\t\theight: '',\r\n\t\t\t\twidth: '',\r\n\t\t\t\tvideoId: url,\r\n\t\t\t\tplayerVars: {\r\n\t\t\t\t\t'controls': controls,\r\n\t\t\t\t\t'showinfo': showinfo,\r\n\t\t\t\t\t'rel':0\r\n\t\t\t\t},\r\n\t\t\t\tevents: {\r\n\t\t\t\t\t'onError': window['onPlayerError'+el_id],\r\n\t\t\t\t\t'onReady': window['onPlayerReady'+el_id],\r\n\t\t\t\t\t'onStateChange': window['onPlayerStateChange'+el_id],\r\n\t\t\t\t\t'loop':1\r\n\t\t\t\t}\r\n\t\t\t});\t\t\t\r\n\t\t})\r\n\t});\r\n\t\r\n\tjQuery(function(){\r\n\r\n\t\tjQuery('.huge-it-iframe').each(function(){\r\n\t\t\t\r\n\t\t\tvar el_id = jQuery(this).attr('data-element-id');\r\n\t\t\tvar quality = HUGEIT_YT_IFRAMES['iframe'+el_id]['quality'];\t\r\n\t\t\r\n\t\t\twindow['onPlayerStateChange'+el_id] = function(event) {\r\n\t\t\r\n\t\t\t\tif (event.data == YT.PlayerState.PLAYING) {\r\n\t\t\t\t\tHUGEIT_YT_IFRAMES['iframe'+el_id]['state']='played';\r\n\t\t\t\t\tevent.target.setPlaybackQuality(quality);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t});\r\n\t\r\n\t});\r\n\tfunction stopYoutubeVideo(currentVideo,nextVideo) {\r\n\r\n\t\tif(currentVideo) {\r\n\t\t\t(HUGEIT_YT_IFRAMES['iframe'+currentVideo]['state'])?currentVideo&&(window['player_'+currentVideo]['pauseVideo']()):currentVideo&&(window['player_'+currentVideo]['stopVideo']());\r\n\t\t}\r\n\t\tnextVideo&&HUGEIT_YT_IFRAMES['iframe'+nextVideo]['autoplay']&&(window['player_'+nextVideo]['playVideo']());\r\n\t}\t\r\n\t\r\n\tfunction stopVimeoVideo(currentVideo,nextVideo){\r\n\t\tjQuery(currentVideo).vimeo('pause');\r\n\t\tjQuery(nextVideo).vimeo('play');\r\n\t}\r\n\/*** <Vimeo> initialize And youtube autopay ***\/ \r\n\r\n\tjQuery( window ).load(function() {\t\r\n\r\n\t\t(function VimeoOptionsReady(){ \/\/calling funtion once\r\n\t\t\t\tjQuery('.huge-it-iframe-vimeo').each(function(){\r\n\t\t\t\t\tvar el_id = jQuery(this).attr('data-element-id');\r\n\t\t\t\t\tjQuery(this).vimeo('setColor',HUGEIT_VIMEOS['iframe'+el_id]['color']);\r\n\t\t\t\t\tjQuery(this).vimeo('setVolume',HUGEIT_VIMEOS['iframe'+el_id]['volume']);\r\n\t\t\t\t})\r\n\t\t}());\r\n\t\t\r\n\t\tif('' == 'on') {\r\n\t\t\t\t\t\t\t\r\n\r\n\t\t\tif(jQuery('.huge-it-iframe-vimeo.autoplay').length) {\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t(function AutoplayVimeo() {\r\n\t\t\t\t\tvar setplayVideo = setInterval(hugeitframe, 100);\r\n\t\t\t\t\tfunction hugeitframe() {\r\n\t\t\t\t\t\tvar vimeo1 = jQuery('.huge_it_slider_ li').first().find('.autoplay')\r\n\t\t\t\t\t\t\tif(vimeo1.length) {\r\n\t\t\t\t\t\t\t\tvimeo1.vimeo('play');\r\n\t\t\t\t\t\t\t\tclearInterval(setplayVideo);\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}());\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tif(jQuery('.huge-it-iframe.autoplay').length) {\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t(function AutoplayYoutube() {\r\n\t\t\t\t\tvar setplayVideo = setInterval(hugeitframe, 100);\r\n\t\t\t\t\tfunction hugeitframe() {\r\n\t\t\t\t\t\tjQuery('.huge-it-iframe.autoplay').each(function(){\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\tvar el_id = jQuery(this).attr('data-element-id');\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\tif(window['player_'+el_id]) {\r\n\t\t\t\t\t\t\twindow['player_'+el_id]['playVideo']();\r\n\t\t\t\t\t\t\tclearInterval(setplayVideo);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\t});\t\r\n\t\t\t\t\t}\r\n\t\t\t\t}());\r\n\t\t\t}\r\n\t\t}\r\n\t});\r\n\r\n\/*** <\/Vimeo> initialize***\/ \r\n\r\n<\/script>\r\n<!--  <\/#######ADD YOUTUBE IFRAME TWICE END########>-->\r\n\t\t\r\n\t\r\n<script>\r\n\r\n\tjQuery(document).ready(function() {\r\n\r\n\t\tjQuery('.thumb_wrapper').on('click', function(ev) {\r\n\t\t\tvar myid = jQuery(this).data('rowid');\r\n\t\t\tmyid = parseInt(myid);\r\n\t\t\teval('player_' + myid + '.playVideo()');\r\n\t\t\tev.preventDefault();\r\n\r\n\t\t});\r\n\t});\r\n\r\n\tif(typeof sliderID_array ==\"undefined\") {\r\n\t\tvar sliderID_array=[];\r\n\t}\r\n\r\n\tvar data_ = [];\r\n\tvar event_stack_ = [];\r\n\t\tvar huge_it_trans_in_progress_ = false;\r\n\tvar huge_it_transition_duration_ = ;\r\n\tvar huge_interval = {};\r\n\tvar id_array_index = sliderID_array.length;\r\n\r\n\t\t  sliderID_array[id_array_index] =       \/\/ Stop autoplay.\r\n      window.clearInterval(huge_interval['huge_it_playInterval_'+]);\r\n\t  \r\n     var huge_it_current_key_ = '';\r\n\t function huge_it_move_dots_() {\r\n        var image_left = jQuery(\".huge_it_slideshow_dots_active_\").position().left;\r\n        var image_right = jQuery(\".huge_it_slideshow_dots_active_\").position().left + jQuery(\".huge_it_slideshow_dots_active_\").outerWidth(true);\r\n       \r\n      }\r\n      function huge_it_testBrowser_cssTransitions_() {\r\n        return huge_it_testDom_('Transition');\r\n      }\r\n      function huge_it_testBrowser_cssTransforms3d_() {\r\n        return huge_it_testDom_('Perspective');\r\n      }\r\n      function huge_it_testDom_(prop) {\r\n        \/\/ Browser vendor CSS prefixes.\r\n        var browserVendors = ['', '-webkit-', '-moz-', '-ms-', '-o-', '-khtml-'];\r\n        \/\/ Browser vendor DOM prefixes.\r\n        var domPrefixes = ['', 'Webkit', 'Moz', 'ms', 'O', 'Khtml'];\r\n        var i = domPrefixes.length;\r\n        while (i--) {\r\n          if (typeof document.body.style[domPrefixes[i] + prop] !== 'undefined') {\r\n            return true;\r\n          }\r\n        }\r\n        return false;\r\n      }\r\n\t\tfunction huge_it_cube_(tz, ntx, nty, nrx, nry, wrx, wry, current_image_class, next_image_class, direction) {\r\n\t\t\r\n        \/* If browser does not support 3d transforms\/CSS transitions.*\/\r\n        if (!huge_it_testBrowser_cssTransitions_()) {\r\n\t\t\tjQuery(\".huge_it_slideshow_dots_\").removeClass(\"huge_it_slideshow_dots_active_\").addClass(\"huge_it_slideshow_dots_deactive_\");\r\n        jQuery(\"#huge_it_dots_\" + huge_it_current_key_ + \"_\").removeClass(\"huge_it_slideshow_dots_deactive_\").addClass(\"huge_it_slideshow_dots_active_\");\r\n          return huge_it_fallback_(current_image_class, next_image_class, direction);\r\n        }\r\n        if (!huge_it_testBrowser_cssTransforms3d_()) {\r\n          return huge_it_fallback3d_(current_image_class, next_image_class, direction);\r\n        }\r\n\t\t  jQuery(current_image_class).css({'z-index': 'none'});\r\n          jQuery(next_image_class).css({'z-index' : 2});\r\n        huge_it_trans_in_progress_ = true;\r\n        \/* Set active thumbnail.*\/\r\n\t\tjQuery(\".huge_it_slideshow_dots_\").removeClass(\"huge_it_slideshow_dots_active_\").addClass(\"huge_it_slideshow_dots_deactive_\");  \r\n\t\tjQuery(\"#huge_it_dots_\" + huge_it_current_key_ + \"_\").removeClass(\"huge_it_slideshow_dots_deactive_\").addClass(\"huge_it_slideshow_dots_active_\");\r\n        jQuery(\".huge_it_slide_bg_\").css('perspective', 1000);\r\n        jQuery(current_image_class).css({\r\n          transform : 'translateZ(' + tz + 'px)',\r\n          backfaceVisibility : 'hidden'\r\n        });\r\n\t\t\r\n\t\t jQuery(\".huge_it_slideshow_image_wrap_,.huge_it_slide_bg_,.huge_it_slideshow_image_item_,.huge_it_slideshow_image_second_item_ \").css('overflow', 'visible');\r\n\t\t\r\n        jQuery(next_image_class).css({\r\n          opacity : 1,\r\n          filter: 'Alpha(opacity=100)',\r\n          backfaceVisibility : 'hidden',\r\n          transform : 'translateY(' + nty + 'px) translateX(' + ntx + 'px) rotateY('+ nry +'deg) rotateX('+ nrx +'deg)'\r\n        });\r\n        jQuery(\".huge_it_slider_\").css({\r\n          transform: 'translateZ(-' + tz + 'px)',\r\n          transformStyle: 'preserve-3d'\r\n        });\r\n        \/* Execution steps.*\/\r\n        setTimeout(function () {\r\n          jQuery(\".huge_it_slider_\").css({\r\n            transition: 'all ' + huge_it_transition_duration_ + 'ms ease-in-out',\r\n            transform: 'translateZ(-' + tz + 'px) rotateX('+ wrx +'deg) rotateY('+ wry +'deg)'\r\n          });\r\n        }, 20);\r\n        \/* After transition.*\/\r\n        jQuery(\".huge_it_slider_\").one('webkitTransitionEnd transitionend otransitionend oTransitionEnd mstransitionend', jQuery.proxy(huge_it_after_trans));\r\n        function huge_it_after_trans() {\r\n\t\t  jQuery(\".huge_it_slide_bg_,.huge_it_slideshow_image_item_,.huge_it_slideshow_image_second_item_ \").css('overflow', 'hidden');\r\n\t\t  jQuery(\".huge_it_slide_bg_\").removeAttr('style');\r\n          jQuery(current_image_class).removeAttr('style');\r\n          jQuery(next_image_class).removeAttr('style');\r\n          jQuery(\".huge_it_slider_\").removeAttr('style');\r\n\t\t \/\/ alert(current_image_class+' '+next_image_class);\r\n          jQuery(current_image_class).css({'opacity' : 0, filter: 'Alpha(opacity=0)', 'z-index': 1});\r\n          jQuery(next_image_class).css({'opacity' : 1, filter: 'Alpha(opacity=100)', 'z-index' : 2});\r\n         \/\/ huge_it_change_watermark_container_();\r\n          huge_it_trans_in_progress_ = false;\r\n          if (typeof event_stack_ !== 'undefined' && event_stack_.length > 0) {\r\n            key = event_stack_[0].split(\"-\");\r\n            event_stack_.shift();\r\n            huge_it_change_image_(key[0], key[1], data_, true,false);\r\n          }\r\n        }\r\n      }\r\n      function huge_it_cubeH_(current_image_class, next_image_class, direction) {\r\n        \/* Set to half of image width.*\/\r\n        var dimension = jQuery(current_image_class).width() \/ 2;\r\n        if (direction == 'right') {\r\n          huge_it_cube_(dimension, dimension, 0, 0, 90, 0, -90, current_image_class, next_image_class, direction);\r\n        }\r\n        else if (direction == 'left') {\r\n          huge_it_cube_(dimension, -dimension, 0, 0, -90, 0, 90, current_image_class, next_image_class, direction);\r\n        }\r\n      }\r\n      function huge_it_cubeV_(current_image_class, next_image_class, direction) {\r\n        \/* Set to half of image height.*\/\r\n        var dimension = jQuery(current_image_class).height() \/ 2;\r\n        \/* If next slide.*\/\r\n        if (direction == 'right') {\r\n          huge_it_cube_(dimension, 0, -dimension, 90, 0, -90, 0, current_image_class, next_image_class, direction);\r\n        }\r\n        else if (direction == 'left') {\r\n          huge_it_cube_(dimension, 0, dimension, -90, 0, 90, 0, current_image_class, next_image_class, direction);\r\n        }\r\n      }\r\n      \/* For browsers that does not support transitions.*\/\r\n      function huge_it_fallback_(current_image_class, next_image_class, direction) {\r\n        huge_it_fade_(current_image_class, next_image_class, direction);\r\n      }\r\n      \/* For browsers that support transitions, but not 3d transforms (only used if primary transition makes use of 3d-transforms).*\/\r\n      function huge_it_fallback3d_(current_image_class, next_image_class, direction) {\r\n        huge_it_sliceV_(current_image_class, next_image_class, direction);\r\n      }\r\n      function huge_it_none_(current_image_class, next_image_class, direction) {\r\n        jQuery(current_image_class).css({'opacity' : 0, 'z-index': 1});\r\n        jQuery(next_image_class).css({'opacity' : 1, 'z-index' : 2});\r\n\r\n        \/* Set active thumbnail.*\/\r\n        jQuery(\".huge_it_slideshow_dots_\").removeClass(\"huge_it_slideshow_dots_active_\").addClass(\"huge_it_slideshow_dots_deactive_\");\r\n        jQuery(\"#huge_it_dots_\" + huge_it_current_key_ + \"_\").removeClass(\"huge_it_slideshow_dots_deactive_\").addClass(\"huge_it_slideshow_dots_active_\");\r\n      }\r\n      function huge_it_fade_(current_image_class, next_image_class, direction) {\r\n\t\tif (huge_it_testBrowser_cssTransitions_()) {\r\n\t\t\t\r\n          jQuery(next_image_class).css('transition', 'opacity ' + huge_it_transition_duration_ + 'ms linear');\r\n\t\t  jQuery(current_image_class).css('transition', 'opacity ' + huge_it_transition_duration_ + 'ms linear');\r\n          jQuery(current_image_class).css({'opacity' : 0, 'z-index': 1});\r\n          jQuery(next_image_class).css({'opacity' : 1, 'z-index' : 2});\r\n        }\r\n        else {\r\n\t\t\r\n          jQuery(current_image_class).animate({'opacity' : 0, 'z-index' : 1}, huge_it_transition_duration_);\r\n          jQuery(next_image_class).animate({\r\n              'opacity' : 1,\r\n              'z-index': 2\r\n            }, {\r\n              duration: huge_it_transition_duration_,\r\n              complete: function () {return false;}\r\n            });\r\n          \/\/ For IE.\r\n          jQuery(current_image_class).fadeTo(huge_it_transition_duration_, 0);\r\n          jQuery(next_image_class).fadeTo(huge_it_transition_duration_, 1);\r\n        }\r\n\r\n\t\tjQuery(\".huge_it_slideshow_dots_\").removeClass(\"huge_it_slideshow_dots_active_\").addClass(\"huge_it_slideshow_dots_deactive_\");\r\n\t\tjQuery(\"#huge_it_dots_\" + huge_it_current_key_ + \"_\").removeClass(\"huge_it_slideshow_dots_deactive_\").addClass(\"huge_it_slideshow_dots_active_\");\r\n      }\r\n      function huge_it_grid_(cols, rows, ro, tx, ty, sc, op, current_image_class, next_image_class, direction) {\r\n        \/* If browser does not support CSS transitions.*\/\r\n        if (!huge_it_testBrowser_cssTransitions_()) {\r\n\t\t\tjQuery(\".huge_it_slideshow_dots_\").removeClass(\"huge_it_slideshow_dots_active_\").addClass(\"huge_it_slideshow_dots_deactive_\");\r\n        jQuery(\"#huge_it_dots_\" + huge_it_current_key_ + \"_\").removeClass(\"huge_it_slideshow_dots_deactive_\").addClass(\"huge_it_slideshow_dots_active_\");\r\n          return huge_it_fallback_(current_image_class, next_image_class, direction);\r\n\t\t  \r\n        }\r\n        huge_it_trans_in_progress_ = true;\r\n        \/* Set active thumbnail.*\/\r\n\t\tjQuery(\".huge_it_slideshow_dots_\").removeClass(\"huge_it_slideshow_dots_active_\").addClass(\"huge_it_slideshow_dots_deactive_\");\r\n        jQuery(\"#huge_it_dots_\" + huge_it_current_key_ + \"_\").removeClass(\"huge_it_slideshow_dots_deactive_\").addClass(\"huge_it_slideshow_dots_active_\");\r\n        \/* The time (in ms) added to\/subtracted from the delay total for each new gridlet.*\/\r\n        var count = (huge_it_transition_duration_) \/ (cols + rows);\r\n        \/* Gridlet creator (divisions of the image grid, positioned with background-images to replicate the look of an entire slide image when assembled)*\/\r\n        function huge_it_gridlet(width, height, top, img_top, left, img_left, src, imgWidth, imgHeight, c, r) {\r\n          var delay = (c + r) * count;\r\n          \/* Return a gridlet elem with styles for specific transition.*\/\r\n          return jQuery('<div class=\"huge_it_gridlet_\" \/>').css({\r\n            width : width,\r\n            height : height,\r\n            top : top,\r\n            left : left,\r\n            backgroundImage : 'url(\"' + src + '\")',\r\n            backgroundColor: jQuery(\".huge_it_slideshow_image_wrap_\").css(\"background-color\"),\r\n            \/*backgroundColor: rgba(0, 0, 0, 0),*\/\r\n            backgroundRepeat: 'no-repeat',\r\n            backgroundPosition : img_left + 'px ' + img_top + 'px',\r\n            backgroundSize : imgWidth + 'px ' + imgHeight + 'px',\r\n            transition : 'all ' + huge_it_transition_duration_ + 'ms ease-in-out ' + delay + 'ms',\r\n            transform : 'none'\r\n          });\r\n        }\r\n        \/* Get the current slide's image.*\/\r\n        var cur_img = jQuery(current_image_class).find('img');\r\n        \/* Create a grid to hold the gridlets.*\/\r\n        var grid = jQuery('<div \/>').addClass('huge_it_grid_');\r\n        \/* Prepend the grid to the next slide (i.e. so it's above the slide image).*\/\r\n        jQuery(current_image_class).prepend(grid);\r\n        \/* vars to calculate positioning\/size of gridlets*\/\r\n        var cont = jQuery(\".huge_it_slide_bg_\");\r\n        var imgWidth = cur_img.width();\r\n        var imgHeight = cur_img.height();\r\n        var contWidth = cont.width(),\r\n            contHeight = cont.height(),\r\n            imgSrc = cur_img.attr('src'),\/*.replace('\/thumb', ''),*\/\r\n            colWidth = Math.floor(contWidth \/ cols),\r\n            rowHeight = Math.floor(contHeight \/ rows),\r\n            colRemainder = contWidth - (cols * colWidth),\r\n            colAdd = Math.ceil(colRemainder \/ cols),\r\n            rowRemainder = contHeight - (rows * rowHeight),\r\n            rowAdd = Math.ceil(rowRemainder \/ rows),\r\n            leftDist = 0,\r\n            img_leftDist = (jQuery(\".huge_it_slide_bg_\").width() - cur_img.width()) \/ 2;\r\n        \/* tx\/ty args can be passed as 'auto'\/'min-auto' (meaning use slide width\/height or negative slide width\/height).*\/\r\n        tx = tx === 'auto' ? contWidth : tx;\r\n        tx = tx === 'min-auto' ? - contWidth : tx;\r\n        ty = ty === 'auto' ? contHeight : ty;\r\n        ty = ty === 'min-auto' ? - contHeight : ty;\r\n        \/* Loop through cols*\/\r\n        for (var i = 0; i < cols; i++) {\r\n          var topDist = 0,\r\n              img_topDst = (jQuery(\".huge_it_slide_bg_\").height() - cur_img.height()) \/ 2,\r\n              newColWidth = colWidth;\r\n          \/* If imgWidth (px) does not divide cleanly into the specified number of cols, adjust individual col widths to create correct total.*\/\r\n          if (colRemainder > 0) {\r\n            var add = colRemainder >= colAdd ? colAdd : colRemainder;\r\n            newColWidth += add;\r\n            colRemainder -= add;\r\n          }\r\n          \/* Nested loop to create row gridlets for each col.*\/\r\n          for (var j = 0; j < rows; j++)  {\r\n            var newRowHeight = rowHeight,\r\n                newRowRemainder = rowRemainder;\r\n            \/* If contHeight (px) does not divide cleanly into the specified number of rows, adjust individual row heights to create correct total.*\/\r\n            if (newRowRemainder > 0) {\r\n              add = newRowRemainder >= rowAdd ? rowAdd : rowRemainder;\r\n              newRowHeight += add;\r\n              newRowRemainder -= add;\r\n            }\r\n            \/* Create & append gridlet to grid.*\/\r\n            grid.append(huge_it_gridlet(newColWidth, newRowHeight, topDist, img_topDst, leftDist, img_leftDist, imgSrc, imgWidth, imgHeight, i, j));\r\n            topDist += newRowHeight;\r\n            img_topDst -= newRowHeight;\r\n          }\r\n          img_leftDist -= newColWidth;\r\n          leftDist += newColWidth;\r\n        }\r\n        \/* Set event listener on last gridlet to finish transitioning.*\/\r\n        var last_gridlet = grid.children().last();\r\n        \/* Show grid & hide the image it replaces.*\/\r\n        grid.show();\r\n        cur_img.css('opacity', 0);\r\n        \/* Add identifying classes to corner gridlets (useful if applying border radius).*\/\r\n        grid.children().first().addClass('rs-top-left');\r\n        grid.children().last().addClass('rs-bottom-right');\r\n        grid.children().eq(rows - 1).addClass('rs-bottom-left');\r\n        grid.children().eq(- rows).addClass('rs-top-right');\r\n        \/* Execution steps.*\/\r\n        setTimeout(function () {\r\n          grid.children().css({\r\n            opacity: op,\r\n            transform: 'rotate('+ ro +'deg) translateX('+ tx +'px) translateY('+ ty +'px) scale('+ sc +')'\r\n          });\r\n        }, 1);\r\n        jQuery(next_image_class).css('opacity', 1);\r\n        \/* After transition.*\/\r\n        jQuery(last_gridlet).one('webkitTransitionEnd transitionend otransitionend oTransitionEnd mstransitionend', jQuery.proxy(huge_it_after_trans));\r\n        function huge_it_after_trans() {\r\n          jQuery(current_image_class).css({'opacity' : 0, 'z-index': 1});\r\n          jQuery(next_image_class).css({'opacity' : 1, 'z-index' : 2});\r\n          cur_img.css('opacity', 1);\r\n          grid.remove();\r\n          huge_it_trans_in_progress_ = false;\r\n          if (typeof event_stack_ !== 'undefined' && event_stack_.length > 0) {\r\n            key = event_stack_[0].split(\"-\");\r\n            event_stack_.shift();\r\n            huge_it_change_image_(key[0], key[1], data_, true,false);\r\n          }\r\n        }\r\n      }\r\n      function huge_it_sliceH_(current_image_class, next_image_class, direction) {\r\n        if (direction == 'right') {\r\n          var translateX = 'min-auto';\r\n        }\r\n        else if (direction == 'left') {\r\n          var translateX = 'auto';\r\n        }\r\n        huge_it_grid_(1, 8, 0, translateX, 0, 1, 0, current_image_class, next_image_class, direction);\r\n      }\r\n      function huge_it_sliceV_(current_image_class, next_image_class, direction) {\r\n        if (direction == 'right') {\r\n          var translateY = 'min-auto';\r\n        }\r\n        else if (direction == 'left') {\r\n          var translateY = 'auto';\r\n        }\r\n        huge_it_grid_(10, 1, 0, 0, translateY, 1, 0, current_image_class, next_image_class, direction);\r\n      }\r\n      function huge_it_slideV_(current_image_class, next_image_class, direction) {\r\n        if (direction == 'right') {\r\n          var translateY = 'auto';\r\n        }\r\n        else if (direction == 'left') {\r\n          var translateY = 'min-auto';\r\n        }\r\n        huge_it_grid_(1, 1, 0, 0, translateY, 1, 1, current_image_class, next_image_class, direction);\r\n      }\r\n      function huge_it_slideH_(current_image_class, next_image_class, direction) {\r\n        if (direction == 'right') {\r\n          var translateX = 'min-auto';\r\n        }\r\n        else if (direction == 'left') {\r\n          var translateX = 'auto';\r\n        }\r\n        huge_it_grid_(1, 1, 0, translateX, 0, 1, 1, current_image_class, next_image_class, direction);\r\n      }\r\n      function huge_it_scaleOut_(current_image_class, next_image_class, direction) {\r\n        huge_it_grid_(1, 1, 0, 0, 0, 1.5, 0, current_image_class, next_image_class, direction);\r\n      }\r\n      function huge_it_scaleIn_(current_image_class, next_image_class, direction) {\r\n        huge_it_grid_(1, 1, 0, 0, 0, 0.5, 0, current_image_class, next_image_class, direction);\r\n      }\r\n      function huge_it_blockScale_(current_image_class, next_image_class, direction) {\r\n        huge_it_grid_(8, 6, 0, 0, 0, .6, 0, current_image_class, next_image_class, direction);\r\n      }\r\n      function huge_it_kaleidoscope_(current_image_class, next_image_class, direction) {\r\n        huge_it_grid_(10, 8, 0, 0, 0, 1, 0, current_image_class, next_image_class, direction);\r\n      }\r\n      function huge_it_fan_(current_image_class, next_image_class, direction) {\r\n        if (direction == 'right') {\r\n          var rotate = 45;\r\n          var translateX = 100;\r\n        }\r\n        else if (direction == 'left') {\r\n          var rotate = -45;\r\n          var translateX = -100;\r\n        }\r\n        huge_it_grid_(1, 10, rotate, translateX, 0, 1, 0, current_image_class, next_image_class, direction);\r\n      }\r\n      function huge_it_blindV_(current_image_class, next_image_class, direction) {\r\n        huge_it_grid_(1, 8, 0, 0, 0, .7, 0, current_image_class, next_image_class);\r\n      }\r\n      function huge_it_blindH_(current_image_class, next_image_class, direction) {\r\n        huge_it_grid_(10, 1, 0, 0, 0, .7, 0, current_image_class, next_image_class);\r\n      }\r\n      function huge_it_random_(current_image_class, next_image_class, direction) {\r\n        var anims = ['sliceH', 'sliceV', 'slideH', 'slideV', 'scaleOut', 'scaleIn', 'blockScale', 'kaleidoscope', 'fan', 'blindH', 'blindV'];\r\n        \/* Pick a random transition from the anims array.*\/\r\n        this[\"huge_it_\" + anims[Math.floor(Math.random() * anims.length)] + \"_\"](current_image_class, next_image_class, direction);\r\n      }\r\n      \r\n      function iterator_() {\r\n\t      return 1;\r\n     }\r\n\t \r\n     function huge_it_change_image_(current_key, key, data_, from_effect, clicked) {\r\n\r\n\t     if (data_[key]) {\r\n\r\n\t\t     if (!from_effect) {\r\n\t\t\t     \/\/ Change image key.\r\n\t\t\t     jQuery(\"#huge_it_current_image_key_\").val(key);\r\n\t\t\t     current_key = jQuery(\".huge_it_slideshow_dots_active_\").attr(\"data-image_key\");\r\n\t\t     }\r\n\r\n\t\t     if (huge_it_trans_in_progress_) {\r\n\t\t\t     event_stack_.push(current_key + '-' + key);\r\n\t\t\t     return;\r\n\t\t     }\r\n\r\n\t\t     var direction = 'right';\r\n\t\t     if (huge_it_current_key_ > key) {\r\n\t\t\t     direction = 'left';\r\n\t\t     }\r\n\t\t     else if (huge_it_current_key_ == key) {\r\n\t\t\t     return false;\r\n\t\t     }\r\n\r\n\t\t     \/\/ Set active thumbnail position.\r\n\r\n\t\t     huge_it_current_key_ = key;\r\n\t\t     jQuery(\"#huge_it_slideshow_image_\").attr('data-image_id', data_[key][\"id\"]);\r\n\r\n\r\n\t\t     jQuery(\".huge_it_slideshow_title_text_\").html(data_[key][\"alt\"]);\r\n\t\t     jQuery(\".huge_it_slideshow_description_text_\").html(data_[key][\"description\"]);\r\n\r\n\t\t     var current_image_class = \"#image_id__\" + data_[current_key][\"id\"];\r\n\t\t     var next_image_class = \"#image_id__\" + data_[key][\"id\"];\r\n\r\n\r\n\t\t     if (jQuery(current_image_class).find('.huge_it_video_frame_').length > 0) {\r\n\t\t\t     var streffect = '';\r\n\t\t\t     if (streffect == \"cubeV\" || streffect == \"cubeH\" || streffect == \"none\" || streffect == \"fade\") {\r\n\t\t\t\t     huge_it__(current_image_class, next_image_class, direction);\r\n\t\t\t     } else {\r\n\t\t\t\t     huge_it_fade_(current_image_class, next_image_class, direction);\r\n\t\t\t     }\r\n\t\t     } else {\r\n\t\t\t     huge_it__(current_image_class, next_image_class, direction);\r\n\t\t     }\r\n\r\n\r\n\t\t     jQuery('.huge_it_slideshow_title_text_').removeClass('none');\r\n\t\t     if (jQuery('.huge_it_slideshow_title_text_').html() == \"\") {\r\n\t\t\t     jQuery('.huge_it_slideshow_title_text_').addClass('none');\r\n\t\t     }\r\n\r\n\t\t     jQuery('.huge_it_slideshow_description_text_').removeClass('none');\r\n\t\t     if (jQuery('.huge_it_slideshow_description_text_').html() == \"\") {\r\n\t\t\t     jQuery('.huge_it_slideshow_description_text_').addClass('none');\r\n\t\t     }\r\n\r\n\r\n\t\t     jQuery(current_image_class).find('.huge_it_slideshow_title_text_').addClass('none');\r\n\t\t     jQuery(current_image_class).find('.huge_it_slideshow_description_text_').addClass('none');\r\n\t\t     huge_it_move_dots_();\r\n\t\t     \t\t     \/*** <vy api>  for vimeo and youtube stop pause play etc... ***\/\r\n\t\t     var nextVideo = jQuery('#video_id__' + key).attr('data-element-id');\r\n\t\t     var currentVideo = jQuery('#video_id__' + current_key).attr('data-element-id');\r\n\t\t     \/*** add ***\/\r\n\t\t     (currentVideo || nextVideo) && stopYoutubeVideo(currentVideo, nextVideo);\r\n\t\t     if ((jQuery('#player__' + current_key)).hasClass('huge-it-iframe-vimeo')) {\r\n\t\t\t     jQuery('#player__' + current_key).vimeo('pause');\r\n\r\n\t\t     }\r\n\t\t     if ((jQuery('#player__' + key)).hasClass('huge-it-iframe-vimeo') && ('' == 'on')) {\r\n\t\t\t     jQuery('#player__' + key).vimeo('play');\r\n\t\t     }\r\n\t\t     \/*** <\/vy api>***\/\r\n\t\t     window.clearInterval(huge_interval['huge_it_playInterval_' +]);\r\n\t\t     play_();\r\n\t     }\r\n\r\n     }\r\n\tvar staticthumbWidth;\r\n\tjQuery(window).load(function() {\r\n\t\tstaticthumbWidth = jQuery('#huge_it_thumb_slider>li').width();\r\n\r\n\t});\r\n     function huge_it_popup_resize_() {\r\n\r\n\t     var staticsliderwidth =;\r\n\t     var sliderwidth =;\r\n\t     var bodyWidth = jQuery(window).width();\r\n\t     var parentWidth = jQuery(\".huge_it_slideshow_image_wrap_\").parent().width();\r\n\r\n\t     if (sliderwidth > parentWidth) {\r\n\t\t     sliderwidth = parentWidth;\r\n\t     }\r\n\t     if (sliderwidth > bodyWidth) {\r\n\t\t     sliderwidth = bodyWidth;\r\n\t     }\r\n\t\tvar str=\/(staticsliderwidth);\r\n                var str2 =100\/;\r\n                var sliderDynamicImageHeight = sliderwidth*str;\r\n                                    var sliderDynamicThumbHeight = 0;\r\n                \r\n                jQuery('.huge_it_slideshow_image_wrap_').css({'max-height':sliderDynamicImageHeight+sliderDynamicThumbHeight});\r\n                jQuery('.huge_it_slideshow_image_wrap1_').css({'max-height':sliderDynamicImageHeight});\r\n                jQuery('.huge_it_slideshow_thumbs_ li').css({'max-height':sliderDynamicThumbHeight});\r\n\r\n                jQuery(\"#huge_it_loading_image_\").css({display: \"none\"});\r\n                jQuery(\".huge_it_slideshow_image_wrap1_\").css({opacity: 1});\r\n\t\t\t\tjQuery(\".huge_it_slideshow_image_wrap_\").removeClass(\"nocolor\");\r\n\r\n\r\n\r\n\t\tif (\"resize\"==\"crop\"){\r\n                        jQuery(\".huge_it_slider_ul li img\").each(function(){\r\n                            if(jQuery(this).prop('naturalWidth')>jQuery(this).prop('naturalHeight'))\r\n                                jQuery(this).css({'width':'100%','height':'auto'\/*,'top':'50%','left':'50%','transform':'translate( -50%, -50% )'*\/});\r\n                            else{\r\n                                jQuery(this).css({'height':'100%','width':'auto'\/*,'top':'50%','left':'50%','transform':'translate( -50%, -50% )'*\/});\r\n                            }\r\n                        });\r\n\t\t}\r\n                      }\r\n      \r\n      jQuery(window).load(function () {\r\n\t\tjQuery(window).resize(function() {\r\n\t\t\thuge_it_popup_resize_();\r\n\t\t});\r\n\t\t\r\n\t\tjQuery('#huge_it_slideshow_left_').on('click',function(){\r\n\t\t\thuge_it_change_image_(parseInt(jQuery('#huge_it_current_image_key_').val()), (parseInt(jQuery('#huge_it_current_image_key_').val()) - iterator_()) >= 0 ? (parseInt(jQuery('#huge_it_current_image_key_').val()) - iterator_()) % data_.length : data_.length - 1, data_,false,true);\r\n\t\t\treturn false;\r\n\t\t});\r\n\t\t\r\n\t\tjQuery('#huge_it_slideshow_right_').on('click',function(){\r\n\t\t\thuge_it_change_image_(parseInt(jQuery('#huge_it_current_image_key_').val()), (parseInt(jQuery('#huge_it_current_image_key_').val()) + iterator_()) % data_.length, data_,false,true);\r\n\t\t\treturn false;\r\n\t\t});\r\n\t\r\n\r\n\t\t\r\n\t\r\n\t\t\r\n\t\thuge_it_popup_resize_();\r\n        \/* Disable right click.*\/\r\n        jQuery('div[id^=\"huge_it_container\"]').bind(\"contextmenu\", function () {\r\n          return false;\r\n        });\r\n        \t\t\t\r\n\t\t\/*HOVER SLIDESHOW*\/\r\n\t\tjQuery(\"#huge_it_slideshow_image_container_, .huge_it_slideshow_image_container_, .huge_it_slideshow_dots_container_,#huge_it_slideshow_right_,#huge_it_slideshow_left_\").hover(function(){\r\n\t\t\tjQuery(\"#huge_it_slideshow_right_\").css({'display':'inline'});\r\n\t\t\tjQuery(\"#huge_it_slideshow_left_\").css({'display':'inline'});\r\n\t\t},function(){\r\n\t\t\tjQuery(\"#huge_it_slideshow_right_\").css({'display':'none'});\r\n\t\t\tjQuery(\"#huge_it_slideshow_left_\").css({'display':'none'});\r\n\t\t});\r\n\t\t\r\n\t\tif(pausehover==\"on\" && !\/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini\/i.test(navigator.userAgent)){\r\n\t\t\tjQuery(\"#huge_it_slideshow_image_container_, .huge_it_slideshow_image_container_\").hover(function(){\r\n\t\t\t\twindow.clearInterval(huge_interval['huge_it_playInterval_'+]);\r\n                scrolling = false;\r\n\t\t\t},function(){\r\n\t\t\t\twindow.clearInterval(huge_interval['huge_it_playInterval_'+]);\r\n                scrolling = true;                                   \r\n\t\t\t\tplay_();\r\n\t\t\t});\t\t\r\n\t\t}\t\r\n          play_();        \r\n      });\r\n        function play_(){\r\n            if(scrolling || \/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini\/i.test(navigator.userAgent)){\r\n                huge_interval['huge_it_playInterval_'+] = setInterval(function () {\r\n                  var iterator = 1;\r\n                  huge_it_change_image_(parseInt(jQuery('#huge_it_current_image_key_').val()), (parseInt(jQuery('#huge_it_current_image_key_').val()) + iterator) % data_.length, data_,false,false);\r\n                }, '0');\r\n            }  \r\n        }\r\n      jQuery(window).focus(function() {\r\n        var i_ = 0;\r\n        jQuery(\".huge_it_slider_\").children(\"div\").each(function () {\r\n          if (jQuery(this).css('opacity') == 1) {\r\n            jQuery(\"#huge_it_current_image_key_\").val(i_);\r\n          }\r\n          i_++;\r\n        });\r\n      });\r\n      jQuery(window).blur(function() {\r\n\tconsole.log(event_stack_);\r\n        window.clearInterval(huge_interval['huge_it_playInterval_'+]);\r\n      });  \r\n      jQuery(window).focus(function() {\r\n\t\tplay_()\r\n\t});     \r\n    <\/script>\r\n<style>\r\n\r\n.imgc_slider #slider77 {\r\n\tborder-color: aqua;\r\n    border-width: 3px;\r\n\ttext-transform: uppercase;\r\n\tlist-style: none;\r\n\toutline: none;\r\n}\r\n\r\n\t.thumb_image{\r\n\t\t  position: absolute;\r\n\t\t  width: 100%;\r\n\t\t  height: 100%;\r\n\t\t  top: 0;\r\n\t\t  left:0;\r\n\t}\r\n\t.entry-content a{\r\n\t\tborder-bottom: none !important;\r\n\t}\r\n\t.play-button-slider{\r\n\t\ttop: 0;\r\n    left: 0;\r\n    width: 100%;\r\n    height: 100%;\r\n\t}\r\n\t.youtube-icon { position: absolute;\r\n    \r\n    background:url(https:\/\/www.airfsabugueiro.pt\/wp-content\/plugins\/slider-image\/images\/play.youtube.png) center center no-repeat;background-size:14%;}\r\n<\/style>\r\n\t\r\n<div class=\"huge_it_slideshow_image_wrap_ \">\r\n\t\t\t<div id=\"huge_it_loading_image_\" class=\"nodisplay\"> <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.airfsabugueiro.pt\/wp-content\/plugins\/slider-image\/Front_images\/loading\/loading1.gif\"  alt=\"\" width=\"100\" height=\"100\" style=\" margin: 0 auto;\" \/> <\/div>\r\n\t\t<div class=\"huge_it_slideshow_image_wrap1_\" class=\"display\">\r\n\t            \r\n\t\t<!-- ##########################DOTS######################### -->\r\n        <div class=\"huge_it_slideshow_dots_container_\">\r\n\t\t\t  <div class=\"huge_it_slideshow_dots_thumbnails_\">\r\n\t\t\t\t  \t\t\t  <\/div>\r\n\t\t\t\r\n\t\t\t\t\t\t\t<a id=\"huge_it_slideshow_left_\" href=\"#\">\r\n\t\t\t\t\t<div id=\"huge_it_slideshow_left-ico_\">\r\n\t\t\t\t\t<div><i class=\"huge_it_slideshow_prev_btn_ fa\"><\/i><\/div><\/div>\r\n\t\t\t\t<\/a>\r\n\t\t\t\t\r\n\t\t\t\t<a id=\"huge_it_slideshow_right_\" href=\"#\">\r\n\t\t\t\t\t<div id=\"huge_it_slideshow_right-ico_\">\r\n\t\t\t\t\t<div><i class=\"huge_it_slideshow_next_btn_ fa\"><\/i><\/div><\/div>\r\n\t\t\t\t<\/a>\r\n\t\t\t\t\t<\/div>\r\n\t  <!-- ##########################IMAGES######################### -->\r\n\r\n      <div id=\"huge_it_slideshow_image_container_\" class=\"huge_it_slideshow_image_container_\">        \r\n        <div class=\"huge_it_slide_container_\">\r\n          <div class=\"huge_it_slide_bg_\">\r\n            <ul class=\"huge_it_slider_\">\r\n\t\t\t              <\/ul>\r\n          <\/div>\r\n\t\t  <input  type=\"hidden\" id=\"huge_it_current_image_key_\" value=\"0\" \/>\r\n        <\/div>\r\n      <\/div>\r\n\t<\/div>\r\n<!-- slider thumbs  -->\r\n\r\n<script>\r\n\tjQuery(document).ready(function(jQuery) {\r\n\t\tsetInterval(function() {\r\n\t\t\tjQuery('.huge_it_slider_').find(\"li\").each(function() {\r\n\r\n\t\t\t\tif (jQuery(this).css(\"opacity\") == \"1\") {\r\n\r\n\t\t\t\t\tvar img_id = jQuery(this).attr('id');\r\n\t\t\t\t\tjQuery('.huge_it_slideshow_thumbs_').each(function() {\r\n\t\t\t\t\t\tvar allListElements = jQuery('li[id=' + img_id + ']');\r\n\r\n\t\t\t\t\t\tjQuery(this).find(allListElements).not(\".bx-clone\").each(function() {\r\n\t\t\t\t\t\t\tjQuery('.huge_it_slideshow_thumbs_ li').find(\".trans_back\").css('background', 'rgba(255,255,255,0.3)');\r\n\t\t\t\t\t\t\tjQuery(this).find('.trans_back').css('background', 'none');\r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t})\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t}, 100)\r\n\t})\r\n<\/script>\r\n\r\n\t\r\n\r\n\t\t<\/div>\r\n\t\n<div id=\"WPht9\" class=\"s9\" title=\"WP_000603.jpg\" data-exact-height=\"175\" data-content-padding-horizontal=\"20\" data-content-padding-vertical=\"20\" data-reactid=\".0.$SITE_ROOT.$desktop_siteRoot.$PAGES_CONTAINER.1.1.$SITE_PAGES.$cee5.1.$WPht9\"><\/div>\n<div id=\"WRchTxti\" class=\"s2\" data-reactid=\".0.$SITE_ROOT.$desktop_siteRoot.$PAGES_CONTAINER.1.1.$SITE_PAGES.$cee5.1.$WRchTxti\">\n<table style=\"width: 1306px; height: 340px;\">\n<tbody>\n<tr style=\"height: 47px;\">\n<td style=\"width: 253px; height: 47px;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-222\" src=\"https:\/\/www.airfsabugueiro.pt\/wp-content\/uploads\/2017\/02\/cama-1.jpg\" alt=\"\" width=\"253\" height=\"155\" \/><\/td>\n<td style=\"width: 1022px; height: 47px;\">\n<div id=\"WPht9\" class=\"s9\" title=\"WP_000603.jpg\" data-exact-height=\"175\" data-content-padding-horizontal=\"20\" data-content-padding-vertical=\"20\" data-reactid=\".0.$SITE_ROOT.$desktop_siteRoot.$PAGES_CONTAINER.1.1.$SITE_PAGES.$cee5.1.$WPht9\">\n<div id=\"WPht9link\" class=\"s9link\" data-reactid=\".0.$SITE_ROOT.$desktop_siteRoot.$PAGES_CONTAINER.1.1.$SITE_PAGES.$cee5.1.$WPht9.0\">\n<div id=\"WPht9img\" class=\"s9img\" data-reactid=\".0.$SITE_ROOT.$desktop_siteRoot.$PAGES_CONTAINER.1.1.$SITE_PAGES.$cee5.1.$WPht9.0.0\"><strong><span class=\"color_2\">Acomoda\u00e7\u00f5es<\/span><\/strong><\/div>\n<\/div>\n<\/div>\n<div id=\"WRchTxtq\" class=\"s2\" data-reactid=\".0.$SITE_ROOT.$desktop_siteRoot.$PAGES_CONTAINER.1.1.$SITE_PAGES.$cee5.1.$WRchTxtq\">\n<ul>\n<li class=\"font_8\"><span class=\"color_2\">O Centro de Convivio tem capacidade para 20 pessoas.<\/span><\/li>\n<li class=\"font_8\"><span class=\"color_2\">O Centro de Dia tem capacidade para 20 pessoas (16 das quais comparticipadas pela Seguran\u00e7a Social).<\/span><\/li>\n<li class=\"font_8\"><span class=\"color_2\">O Lar aceita pessoas com a idade a partir dos 65 anos (com exce\u00e7\u00e3o a idade inferior para casos especiais), para apoio total e permanente. Esta resposta social envolve 20 pessoas (15 das quais comparticipadas pela Seguran\u00e7a Social).<\/span><\/li>\n<li class=\"font_8\">Dispomos de 12 quartos com WC pr\u00f3prio, ar condicionado, aquecimento central, sala de estar, sala de refei\u00e7\u00f5es, copas e gabinete m\u00e9dico.<\/li>\n<\/ul>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<table style=\"width: 1306px; height: 340px;\">\n<tbody>\n<tr style=\"height: 47px;\">\n<td style=\"width: 253px; height: 47px;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-221\" src=\"https:\/\/www.airfsabugueiro.pt\/wp-content\/uploads\/2017\/02\/velhotas-1.jpg\" alt=\"\" width=\"253\" height=\"155\" \/><\/td>\n<td style=\"width: 1022px; height: 47px;\">\n<div id=\"WPht9\" class=\"s9\" title=\"WP_000603.jpg\" data-exact-height=\"175\" data-content-padding-horizontal=\"20\" data-content-padding-vertical=\"20\" data-reactid=\".0.$SITE_ROOT.$desktop_siteRoot.$PAGES_CONTAINER.1.1.$SITE_PAGES.$cee5.1.$WPht9\">\n<div id=\"WPht9link\" class=\"s9link\" data-reactid=\".0.$SITE_ROOT.$desktop_siteRoot.$PAGES_CONTAINER.1.1.$SITE_PAGES.$cee5.1.$WPht9.0\">\n<div id=\"WPht9img\" class=\"s9img\" data-reactid=\".0.$SITE_ROOT.$desktop_siteRoot.$PAGES_CONTAINER.1.1.$SITE_PAGES.$cee5.1.$WPht9.0.0\">\n<p class=\"font_7\"><strong>Sa\u00fade e Bem-Estar<\/strong><\/p>\n<p class=\"font_8\"><span class=\"color_2\">Servi\u00e7os Prestados:<\/span><\/p>\n<ul>\n<li class=\"font_8\"><span class=\"color_2\">\u00a0Alojamento, alimenta\u00e7\u00e3o e higiene pessoal;<\/span><\/li>\n<li class=\"font_8\">Tratamento de roupa pessoal e de cama;<\/li>\n<li class=\"font_8\">Acompanhamento m\u00e9dico e de enfermagem;<\/li>\n<li class=\"font_8\">Reabilita\u00e7\u00e3o Psicomotora;<\/li>\n<li class=\"font_8\">Apoio Social;<\/li>\n<li class=\"font_8\">Atividades de \u00a0parceria com o Concelho.<\/li>\n<\/ul>\n<\/div>\n<\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<table style=\"width: 1306px; height: 340px;\">\n<tbody>\n<tr style=\"height: 47px;\">\n<td style=\"width: 253px; height: 47px;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-220\" src=\"https:\/\/www.airfsabugueiro.pt\/wp-content\/uploads\/2017\/02\/funcionarios-1.jpg\" alt=\"\" width=\"253\" height=\"155\" \/><\/td>\n<td style=\"width: 1022px; height: 47px;\">\n<div id=\"WPht9\" class=\"s9\" title=\"WP_000603.jpg\" data-exact-height=\"175\" data-content-padding-horizontal=\"20\" data-content-padding-vertical=\"20\" data-reactid=\".0.$SITE_ROOT.$desktop_siteRoot.$PAGES_CONTAINER.1.1.$SITE_PAGES.$cee5.1.$WPht9\">\n<div id=\"WPht9link\" class=\"s9link\" data-reactid=\".0.$SITE_ROOT.$desktop_siteRoot.$PAGES_CONTAINER.1.1.$SITE_PAGES.$cee5.1.$WPht9.0\">\n<div id=\"WPht9img\" class=\"s9img\" data-reactid=\".0.$SITE_ROOT.$desktop_siteRoot.$PAGES_CONTAINER.1.1.$SITE_PAGES.$cee5.1.$WPht9.0.0\">\n<p class=\"font_7\"><strong><span class=\"color_2\">Nossos colaboradores<\/span><\/strong><\/p>\n<ul>\n<li class=\"font_8\"><span class=\"color_2\">Oferecemos uma equipa que consiste num servi\u00e7o de Enfermagem, M\u00e9dico, Diretora T\u00e9cnica\/T\u00e9cnica Superior de Servi\u00e7o Social\u00a0e T\u00e9cnico Superior de Reabilita\u00e7\u00e3o Psicomotora. Temos tamb\u00e9m um grupo de ajudantes de a\u00e7\u00e3o direta.<\/span><\/li>\n<li class=\"font_8\">Pretendemos assegurar a todos os nossos utentes, um ambiente agrad\u00e1vel de muita estima e carinho.<\/li>\n<\/ul>\n<\/div>\n<\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>Acomoda\u00e7\u00f5es O Centro de Convivio tem capacidade para 20 pessoas. O Centro de Dia tem capacidade para 20 pessoas (16 das quais comparticipadas pela Seguran\u00e7a Social). O Lar aceita pessoas com a idade a partir dos 65 anos (com exce\u00e7\u00e3o a idade inferior para casos especiais), para apoio total e permanente. Esta resposta social envolve [&hellip;]<\/p>","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"_links":{"self":[{"href":"https:\/\/www.airfsabugueiro.pt\/index.php\/wp-json\/wp\/v2\/pages\/25"}],"collection":[{"href":"https:\/\/www.airfsabugueiro.pt\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.airfsabugueiro.pt\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.airfsabugueiro.pt\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.airfsabugueiro.pt\/index.php\/wp-json\/wp\/v2\/comments?post=25"}],"version-history":[{"count":11,"href":"https:\/\/www.airfsabugueiro.pt\/index.php\/wp-json\/wp\/v2\/pages\/25\/revisions"}],"predecessor-version":[{"id":820,"href":"https:\/\/www.airfsabugueiro.pt\/index.php\/wp-json\/wp\/v2\/pages\/25\/revisions\/820"}],"wp:attachment":[{"href":"https:\/\/www.airfsabugueiro.pt\/index.php\/wp-json\/wp\/v2\/media?parent=25"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}