';
pinit = pinit.replace('{location_href}', encodeURIComponent(location.href)).replace('{image_href}', encodeURIComponent($(pp_images)[set_position]));
picHolder.find('.pp_social').html(pinit);
}
}
});}
/*9ff661c04fcdbfbf7a6ab827f9cb629c*/
jQuery(document).ready(function($){$(".lightbox").prettyPhoto({theme:"pp_default",opacity:"0.8",animation_speed:"normal",overlay_gallery:1,show_title:false,social_tools:"",deeplinking:false,slideshow:false ,descriptionCallback: function(img, current) {
var next = img.parent().next();
if(next.hasClass('csc-textpic-caption')) {
var html = next.html();
if(html.length) return html;
}
}
, descriptionCallback: function(img, current) {
if(img.attr('author')) {
current += ''+img.attr('author')+'';
}
if(img.attr('rev')) {
current += 'Download';
}
return current;
}
});});
/*e55414d6dadb65031a982cd1e2023ffa*/
jQuery(document).ready(function($){$(".prettyLightboxGallery").prettyPhoto({theme:"pp_default",opacity:"0.8",animation_speed:"normal",overlay_gallery:true,show_title:true,titleInContent:true,social_tools:'
',deeplinking:false,slideshow:false ,descriptionCallback: function(img, current) {
var next = img.parent().next();
if(next.hasClass('csc-textpic-caption')) {
var html = next.html();
if(html.length) return html;
}
}
, descriptionCallback: function(img, current) {
if(img.attr('author')) {
current += ''+img.attr('author')+'';
}
if(img.attr('rev')) {
current += 'Download';
}
return current;
}
, titleCallback: function(img, current) {
return $('#content-inner .co-header h1').text() + ': ' + $(img).parents('.hotel-images').prev().text();
},
onOpen: function(parent) {
$('.pp_pic_holder').addClass('kraftplaetze').find('.ppt_wrap').addClass('kp-title');
},
changepicturecallback: function(){
var picHolder = $('.pp_pic_holder');
if(picHolder.find('.pp_social').html()!='') {
picHolder.find('.pp_hoverContainer').css('top', picHolder.find('#pp_full_res').position().top);
var pinit = '
';
pinit = pinit.replace('{location_href}', encodeURIComponent(location.href)).replace('{image_href}', encodeURIComponent($(pp_images)[set_position]));
picHolder.find('.pp_social').html(pinit);
}
},
descriptionCallback: function(img, current) {
current = ''+current+'
'+img.children('img').attr('title');
if(img.attr('author')) {
current += ''+img.attr('author')+'';
}
if(img.attr('rev')) {
current += 'Download';
}
return current;
}
});});
/*cb1e537c18d54733ec8dc9fe1f78a8b4*/
function setupCalendar(element, setDate, options, icon){ if (element.length) { if(options) { element.datepicker(options); } else {element.datepicker({dateFormat: 'dd.mm.yy', showOn: 'both',
buttonImage: (icon ? icon : 'fileadmin/images/icon_calendar.png'),
buttonImageOnly: 1,
minDate: '0'
});} } if (element.val() == '' && setDate) { element.datepicker('setDate', setDate); } }; function combineCalendars(first, second) { first.datepicker('option', { onSelect: function(){ var date = first.datepicker('getDate'); console.log(date); second.datepicker('option', { minDate: new Date(date.getFullYear(), date.getMonth(), date.getDate()+1, date.getHours(), date.getMinutes(), date.getSeconds()) }); }}); }jQuery(document).ready(function($){ $.datepicker.setDefaults($.datepicker.regional['de']); });
// -->
/*]]>*/