/*
 * enables all a.fancypopup tags so that 
 * single images are opened. it is used
 * for singel images in article contents
 * 
 * use this if jQuery.noConflict(); is used
 * jQuery(document).ready(function($) {
 */
$(document).ready(function($) {

	$("a.fancypopup").fancybox({
		'transitionIn'	:	'elastic',
		'transitionOut'	:	'elastic',
		'speedIn'		:	600, 
		'speedOut'		:	200, 
		'overlayShow'	:	true,
		'titlePosition'	: 'inside'
	});
	
	/*
	 * appends a child image to the fancypopup links
	 */
	$("a.fancypopup").each( function(index) { 
		  var img = $("<img src='/zkau/web/informance/img/magnifier_zoom.png' class='magnifier'></img>");
		  $(this).append(img);
	});
	
});
