
/* Merged Plone Javascript file
 * This file is dynamically assembled from separate parts.
 * Some of these parts have 3rd party licenses or copyright information attached
 * Such information is valid for that section,
 * not for the entire composite file
 * originating files are separated by - filename.js -
 */

/* - ++resource++pretty_js/pretty-plone-libs.js - */
// http://www.blackdeva.org.uk/portal_javascripts/++resource++pretty_js/pretty-plone-libs.js?original=1
function waitForImage(elm,cb){if(!elm.complete){getter=setTimeout(function(){waitForImage(elm,cb)},100)} else{cb(elm)}}
function Capitalize(text){return text.substr(0,1).toUpperCase()+text.substr(1)}
function setCssFloat(node,side){if(node.style.styleFloat){node.style.styleFloat=side} else{node.style.cssFloat=side}}
function alphaLoadImages(){if(_isIE&&_isIE7==0){alphas=cssQuery('.alphaLoadMe');for(var p in alphas){target=alphas[p];pnode=target.parentNode;src=target.getAttribute('src') ;var holder=document.createElement('div');setImage(src,holder);holder.style.height=target.offsetHeight;holder.style.width=target.offsetWidth;holder.className=target.className;pnode.replaceChild(holder,target)}}
return};

/* XXX ERROR -- could not find 'fck_plone.js'*/

/* XXX ERROR -- could not find 'pretty-boxes-init.js'*/

/* - ++resource++pretty_box_js/pretty-floated-boxes.js - */
// http://www.blackdeva.org.uk/portal_javascripts/++resource++pretty_box_js/pretty-floated-boxes.js?original=1
var setFragletListingWidth=function(self){var tiles=self.find('.fragletItemTile');if(tiles.length){var gsize='88';var gtype='tiles'};var thumbs=self.find('.fragletItemThumb');if(thumbs.length){var gsize='152';var gtype='thumbs'};var fragletListing=self.find('.fragletListing');var totalWidth=fragletListing.width();fragletListing.width(totalWidth-(totalWidth%gsize)+2);var totalWidth=fragletListing.width();self.attr('class',self.attr('class')+' '+gtype)};jq(document).ready(function(){jq(this).find('.floatedBoxes').each(function(){setFragletListingWidth(jq(this))})});
