
/* 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 -
 */

/* - plone_minwidth.js - */
// http://www.yurtsevercephe.org/portal_javascripts/plone_minwidth.js?original=1
/*@cc_on
@if(@_win32&&@_jscript_version>4)
var rulersCreated=0
function fixwidth(){var el;el=document.getElementById('visual-portal-wrapper');if(!rulersCreated){ruler=document.createElement('div');ruler.style.width="70em";ruler.style.position="absolute";ruler.style.top="-10px"
ruler.style.visibility="hidden";document.body.insertBefore(ruler,document.body.firstChild)
ruler2=document.createElement('div');ruler2.style.position="relative";ruler2.style.visibility="hidden";ruler2.style.clear="both"
document.body.appendChild(ruler2)
rulersCreated=1}
if(ruler2.offsetWidth<ruler.offsetWidth){el.style.width="70em"}else{el.style.width=ruler2.offsetWidth+'px'}}
window.attachEvent('onload',fixwidth);window.attachEvent('onresize',fixwidth);@end @*/

/* - ++resource++jquery.intercept-min.js - */
// http://www.yurtsevercephe.org/portal_javascripts/++resource++jquery.intercept-min.js?original=1
;(function($){var f='intercept',g='.'+f,j=$[f]=function(a,b,c){$('html').intercept(a,b,c)};$.fn.intercept=function(b,c,d){var e,f,h;if(d){e={};e[c]=d;c=e}return this.each(function(){f=this;$.each(b.split(' '),function(i,a){h=$.data(f,a+g);if(!h){$.data(f,a+g,$.extend({},c));$.event.add(f,a,j.handle)}else $.extend(h,c)})})};j.absolute=/[\s>+~]/;j.handle=function(e){var a=$.data(this,e.type+g),b=e.target,c=$(b),d,f;if(!a)return;for(d in a){if(d=='self'&&b==this||j.absolute.test(d)?$(d).index(b)!=-1:c.is(d))f=a[d].apply(b,arguments)!==false&&f}return f}})(jQuery);

/* - ++resource++jquery.sd.js - */
// http://www.yurtsevercephe.org/portal_javascripts/++resource++jquery.sd.js?original=1
jq(document).ready(function(){jq('body').intercept('click',{'a.action-header': function(e){var parent=jq(this).parent();jq("ul.submenu",parent).toggle();e.preventDefault()}});jq('body').intercept('click',{'li.layout a': function(e){jq("ul.submenu").hide();e.preventDefault()}});jq('body').intercept('click',{'dt a.tile': function(e){jq('dd',jq(this).parents('dl').get(0)).toggle();e.preventDefault()}});jq.fn.cycle.updateActivePagerLink=function(pager,currSlideIndex){jq(pager).find('li').removeClass('activeSlide').fadeTo('fast',0.3).filter('li:eq('+currSlideIndex+')').addClass('activeSlide').fadeTo('fast',1)}})

