var sitebasepath = window.sitebasepthjs;
var thisfolderpath = '/js/';
includejs=function(url) {
document.write('');
}
includecss=function(url) {
document.write('');
}
includejs(sitebasepath+thisfolderpath+"bootstrap.js");
includejs(sitebasepath+thisfolderpath+"menu.js");
includejs(sitebasepath+thisfolderpath+"wow.min.js");
includejs(sitebasepath+thisfolderpath+"footerMenu.js");
includejs(sitebasepath+thisfolderpath+"jquery.magnific-popup.js");
includejs(sitebasepath+thisfolderpath+"slick.js");
includejs(sitebasepath+thisfolderpath+"jquery.rwdImageMaps.js");
includejs(sitebasepath+thisfolderpath+"jquery.maphilight.js");
addAllListeners=function() {
}
ON_READY=function() {
}
ON_LOAD=function(){
jQuery('#cboxContent button').html('.');
jQuery("body").footerMenu();
jQuery('#block-views-destinations-for-search-block .view-destinations-for-search .view-content > h3:eq(0)').addClass('first-h3 panel-heading1 active-panel')
jQuery('#block-views-destinations-for-search-block .view-destinations-for-search .view-content > h3:eq(0)').html( "Browse by Activities " );
jQuery('#block-views-destinations-for-search-block .view-destinations-for-search .view-content > .directory-list-section:eq(0)').addClass('panel-collapse collapse')
jQuery('#block-views-destinations-for-search-block .view-destinations-for-search .view-content > .directory-list-section:eq(0)').attr('id', 'collapse1');
jQuery('#block-views-destinations-for-search-block .view-destinations-for-search .view-content > h3:eq(0)').after( "
" );
jQuery('#block-views-destinations-for-search-block .view-destinations-for-search .view-content > h3:eq(2)').addClass('hide-on-web panel-heading1')
jQuery('#block-views-destinations-for-search-block .view-destinations-for-search .view-content > h3:eq(2)').html( "Browse by Destinations " );
jQuery('#block-views-destinations-for-search-block .view-destinations-for-search .view-content > .directory-list-section:eq(1)').addClass('panel-collapse collapse')
jQuery('#block-views-destinations-for-search-block .view-destinations-for-search .view-content > .directory-list-section:eq(1)').attr('id', 'collapse2');
jQuery('#collapse1').collapse('show');
jQuery('#collapse1').on('show.bs.collapse',function(){
jQuery('.first-h3').addClass("active-panel");
jQuery('#collapse2').collapse('hide');
});
jQuery('#collapse2').on('show.bs.collapse',function(){
jQuery('.second-h3, .hide-on-web').addClass("active-panel");
jQuery('#collapse1').collapse('hide');
});
jQuery('#collapse1').on('hide.bs.collapse',function(){
jQuery('.first-h3').removeClass("active-panel");
});
jQuery('#collapse2').on('hide.bs.collapse',function(){
jQuery('.second-h3, .hide-on-web').removeClass("active-panel");
});
if(jQuery('#collapse2'))
/*jQuery("#gallerys").slick({
dots: false,
infinite: true,
autoplay: true,
prevArrow: "",
nextArrow: "",
autoplaySpeed: 3000,
slidesToShow: 5,
slidesToScroll: 1,
responsive: [
{
breakpoint: 1024,
settings: {
slidesToShow: 4,
slidesToScroll: 1,
infinite: true,
dots: true
}
},
{
breakpoint: 600,
settings: {
slidesToShow: 3,
slidesToScroll: 1
}
},
{
breakpoint: 480,
settings: {
slidesToShow: 1,
slidesToScroll: 1
}
}
]
});
*/
jQuery("#testim").slick({
dots: false,
autoplay: true,
infinite: true,
autoplaySpeed: 12000,
speed: 1000,
fade: true,
cssEase: 'linear',
prevArrow: "",
nextArrow: "",
accessibility: false
});
jQuery('.popup-with-move-anim').magnificPopup({
type: 'inline',
fixedContentPos: true,
fixedBgPos: true,
overflowY: 'auto',
closeBtnInside: true,
preloader: true,
midClick: true,
removalDelay: 300,
mainClass: 'my-mfp-slide-bottom'
});
wow = new WOW(
{
boxClass: 'wow', // default
animateClass: 'animated', // default
offset: 0, // default
mobile: true // default
}
)
wow.init();
jQuery('area[href="#"]').click(function(e) {e.preventDefault(); });
jQuery('.map').rwdImageMaps();
jQuery('.map').maphilight();
jQuery(window).bind('resize orientationchange', function(e) {
var windowWidth = jQuery(window).width();
jQuery(window).resize(function(){
jQuery('img[usemap]').maphilight();
if(windowWidth != jQuery(window).width()){
location.reload();
return;
}
})
});
// set the wrapper width and height to match the img size
jQuery('#wrapper').css({'width':jQuery('#wrapper img').width(),
'height':jQuery('#wrapper img').height()
})
//maptooltip direction
var maptooltipDirection;
var customclass;
var colorclass;
for (i=0; i\
\
");
}
// show/hide the maptooltip
jQuery(".close-item").click(function(e){
jQuery(this).parent().css("display", "none");
e.preventDefault();
})
var windowsize = jQuery(window).width();
jQuery(window).resize(function() {
var windowsize = jQuery(window).width();
});
if (windowsize < 992 ) {
jQuery('.search-filter-section-area').hide();
jQuery('.mobile-accordian-pannel-btn a').click(function(){
jQuery(this).toggleClass('active-collapse');
jQuery('.search-filter-section-area').slideToggle();
})
}
jQuery(window).resize(function() {
var windowsize = jQuery(window).width();
if (windowsize < 991 ) {
jQuery(".area").click(function(e){
e.preventDefault();
var rel = jQuery(this).attr('id');
jQuery(".maptooltip").css("display", "none");
if (jQuery(".pin-item").hasClass(rel)) {
jQuery("."+rel + " > .maptooltip").css("display", "block");
}
return false;
});
jQuery('html').click(function(){
jQuery(".maptooltip").css("display", "none");
});
}
else{
jQuery(".area").hover(function(){
var rel = jQuery(this).attr('id');
if (jQuery(".pin-item").hasClass(rel)) {
jQuery("."+rel + " > .maptooltip").css("display", "block");
}
});
jQuery(".area").mouseout(function(){
var rel = jQuery(this).attr('id');
if (jQuery(".pin-item").hasClass(rel)) {
jQuery("."+rel + " > .maptooltip").css("display", "none" );
}
});
}
});
jQuery(document).ready(function() {
var offset=250, // At what pixels show Back to Top Button
scrollDuration=400; // Duration of scrolling to top
jQuery(window).scroll(function() {
if (jQuery(this).scrollTop() > offset) {
jQuery('.top').fadeIn(1000); // Time(in Milliseconds) of appearing of the Button when scrolling down.
} else {
jQuery('.top').fadeOut(1000); // Time(in Milliseconds) of disappearing of Button when scrolling up.
}
});
// Smooth animation when scrolling
jQuery('.top').click(function(event) {
event.preventDefault();
jQuery('html, body').animate({
scrollTop:0}, scrollDuration);
})
});
var result;
function getheight() {
result = jQuery(".top_content-notification").outerHeight();
}
jQuery(document).ready(getheight);
jQuery(window).resize(getheight);
var windowsize = jQuery(window).width();
jQuery(window).resize(function() {
var windowsize = jQuery(window).width();
});
var windowsize = jQuery(window).width();
jQuery(window).resize(function() {
var windowsize = jQuery(window).width();
});
jQuery(".youtube").colorbox({iframe:true, innerWidth:640, innerHeight:390});
jQuery(".group1").colorbox({rel:'group1'});
jQuery(".inline").colorbox({inline:true, width:"50%"});
if (windowsize < 768 ) {
jQuery(".youtube").colorbox({iframe:true, width:"95%"});
jQuery(".group1").colorbox({rel:'group1', width:"95%"});
jQuery(".inline").colorbox({inline:true, width:"95%"});
}
}
listen=function(evnt, elem, func) {
if (elem.addEventListener) // W3C DOM
elem.addEventListener(evnt,func,false);
else if (elem.attachEvent) { // IE DOM
var r = elem.attachEvent("on"+evnt, func);
return r;
}
}
listen("ready", document, ON_READY);
listen("load", window, ON_LOAD);
;