61
| <![CDATA[<script type="text/javascript">
jQuery(function($) {
SqueezeBox.initialize({});
initSqueezeBox();
$(document).on('subform-row-add', initSqueezeBox);
function initSqueezeBox(event, container)
{
SqueezeBox.assign($(container || document).find('a.pg-modal-button').get(), {
parse: 'rel'
});
}
});
window.jModalClose = function () {
SqueezeBox.close();
};
// Add extra modal close functionality for tinyMCE-based editors
document.onreadystatechange = function () {
if (document.readyState == 'interactive' && typeof tinyMCE != 'undefined' && tinyMCE)
{
if (typeof window.jModalClose_no_tinyMCE === 'undefined')
{
window.jModalClose_no_tinyMCE = typeof(jModalClose) == 'function' ? jModalClose : false;
jModalClose = function () {
if (window.jModalClose_no_tinyMCE) window.jModalClose_no_tinyMCE.apply(this, arguments);
tinyMCE.activeEditor.windowManager.close();
};
}
if (typeof window.SqueezeBoxClose_no_tinyMCE === 'undefined')
{
if (typeof(SqueezeBox) == 'undefined') SqueezeBox = {};
window.SqueezeBoxClose_no_tinyMCE = typeof(SqueezeBox.close) == 'function' ? SqueezeBox.close : false;
SqueezeBox.close = function () {
if (window.SqueezeBoxClose_no_tinyMCE) window.SqueezeBoxClose_no_tinyMCE.apply(this, arguments);
tinyMCE.activeEditor.windowManager.close();
};
}
}
};
window.addEvent("domready", function () {
new boxplus($$("a.phocagallerycboxplusPl"),{"theme":"lightsquare","autocenter":1,"autofit": false,"slideshow": false,"loop":false,"captions":"none","thumbs":"hide","width":680,"height":531,"duration":0,"transition":"linear","contextmenu":false, phocamethod:2});
new boxplus($$("a.phocagallerycboxplusiPl"),{"theme":"lightsquare","autocenter":1,"autofit": false,"slideshow": false,"loop":false,"captions":"none","thumbs":"hide","width":680,"height":531,"duration":0,"transition":"linear","contextmenu":false, phocamethod:2});
new boxplus($$("a.phocagallerycboxplusoPl"),{"theme":"lightsquare","autocenter":1,"autofit": false,"slideshow": false,"loop":false,"captions":"none","thumbs":"hide","width":680,"height":531,"duration":0,"transition":"linear","contextmenu":false, phocamethod:2});
});
jQuery(window).on('load', function() {
new JCaption('img.caption');
});
var sp_preloader = '0';
var sp_gotop = '0';
var sp_offanimation = 'slidetop';
jQuery(function($){ initTooltips(); $("body").on("subform-row-add", initTooltips); function initTooltips (event, container) { container = container || document;$(container).find(".hasTooltip").tooltip({"html": true,"container": "body"});} });
</script>]]>
|
625
| <![CDATA[<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>]]>
|