jQuery.noConflict();
try{
		jQuery(document).ready(function(){
			
			if(jQuery().cycle){		
				jQuery('.feature-box .carousel').after('<div id="pager">').cycle({ 
						fx:     'scrollRight', 
						speed:  'slow', 
						timeout: 4000,
						pause:   1,
						pager:  '#pager',
						cleartypeNoBg:true,
						cleartype:  1
				});			
				// initiate offers slider
				jQuery('ul.info').cycle({ 
					fx:     'fade', 
					speed:   700, 
					timeout: 5000, 
					pager:  '.pager' 
				});
				/* Home Page Slide Show - Start */
				var captionContainer=jQuery("#slideshow .caption");
				jQuery('#slideshow .large-image').cycle({
					fx:     'fade', 
					speed:  'fast', 
					timeout: 0, 
					pager:  '#slideshow .thumbs', 
					pagerAnchorBuilder: function(idx, slide) {
						return '#slideshow .thumbs .shadowcontainer:eq(' + idx + ') a'; 
					},
					after:function(curr, next, opts){
						var currentThumb=jQuery("#slideshow .thumbs .shadowcontainer:eq("+opts.currSlide+") img");
						var currentCaption=currentThumb.attr('alt');
						jQuery("#slideshow .thumbs a").removeClass('selected')
						currentThumb.parent().addClass('selected')
						captionContainer.html(currentCaption);
					}
				});			
				/* Home Page Slide Show - End */
			};
		
			if(jQuery().fancybox){
				jQuery("#mod_pukkaPictures div.picture a").fancybox({ 
					'zoomSpeedIn': 500,
					'zoomSpeedOut': 500,
					'zoomOpacity':true
				});
				
				jQuery("#mod_pukkaRooms .mediaAttachmentList a").fancybox({
					'zoomSpeedIn': 500,
					'zoomSpeedOut': 500,
					'zoomOpacity': true
				});
				
				jQuery("#mod_pukkaGalleries .picture a").fancybox({
					'zoomSpeedIn': 500,
					'zoomSpeedOut': 500,
					'zoomOpacity': true
				});
			}				
		});
}catch(error){

}