/home/coolpkct/www/websites/cake3.cool.rocks/_themes/base/pagetypes/juicebox.tpl
{extends file='theme.tpl'}
{block "content"}
      <section class="gallery gallery-juicebox">
<!--START JUICEBOX EMBED.-->
        <script src="{$ss_viewersUrl}/juicebox/jbcore/juicebox.js"></script>
        <script>
            new juicebox({
                containerId : 'juicebox-container',
                galleryWidth : '{$galleryWidth}',
                galleryHeight : '{$galleryHeight}',
                backgroundColor : '{$backgroundColor}',
                baseUrl : '{$ss_pageUrl}/'
            });
        </script>
        <div id="juicebox-container">{$ss_SEOContent}</div>
<!--END JUICEBOX EMBED.-->
      </section>
      <section class="page-body">
        <h2>{$ss_pageTitle}</h2>
        <div class="body-content {$pageBodyLayout}">
          {$ss_pageBody}
        </div>
      </section>
{/block}

{block "body" append}
    <script src="{$ss_themesUrl}/base/js/skgalleries.js"></script>
    <script>
      fitGallery({
        pageType: 'juicebox',
        containerId: 'juicebox-container',
        pageVersion: '{$ss_pageVersion}',
        offset: {$galleryOffset},
        targetWidth: {$targetImageWidth},
        targetHeight: {$targetImageHeight},
        external: {$galleryExternalFit},
        internal: {$galleryInternalFit}
      });
    </script>
{/block}