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

/* XXX ERROR -- could not find '++resource++jquery-ui-1.8.min.js'*/

/* XXX ERROR -- could not find '++resource++jquery-ui-i18n.js'*/

/* - ++resource++collective.imagetags/view-tags.js - */
// http://www.dierueckenschule.de/portal_javascripts/++resource++collective.imagetags/view-tags.js?original=1
ImageTags=window['ImageTags']||{};ImageTags['linksOverOut']=function(){jQuery('.tag-link-plain').mouseout(function(){var other_id=this.id.replace('tag-link-plain','tag');jQuery('#'+other_id).removeClass('tag-show')}).mouseover(function(){var other_id=this.id.replace('tag-link-plain','tag');jQuery('#'+other_id).addClass('tag-show')})};ImageTags['replaceImageWithTags']=function(rule){var imgs=jQuery(rule);imgs.each(function(idx,img){img=jQuery(img);var classes=img.attr('class');var title=img.attr('title');var src=img.attr('src');var parts=src.split('/')
var scale_name=parts.pop();var url=parts.join('/')+'/@@imagetags-img?name='+scale_name;var loader=jQuery('<div></div>').load(url, function(){img.parent().replaceWith(loader.children());ImageTags.linksOverOut();var new_img=jQuery('img[src='+src+']');if(new_img){new_img.attr('class',classes);new_img.attr('title',title)}})})};jQuery(document).ready(function(){ImageTags.linksOverOut()});

