jQuery.noConflict();

jQuery(document).ready(function() {
	 jQuery("#tabs").tabs();
});
jQuery(function($) {
  
  var code = "<div style='position:absolute;bottom:10px;right:10px;width:32px;height:32px;background-color:#fff;-moz-border-radius:4px'></div>";
        
  $("a[rel^='lightbox']").hover( 
  
  function() {
    var $parent = $(this);
    $parent.css('position','relative');
    $parent.append(code);
    
    $glassDiv = $parent.find('div:last');
    $glassDiv.css({ 
      'background-image' : 'url(fileadmin/images/lupe_grau.png)',
      'background-repeat' : 'no-repeat',
      'opacity' : 0          
    }); 
    
    $glassDiv.animate({ 
      'opacity' : 1
    }, 500);
  },
  
  function() {
    $glassDiv = $(this).find('div:last');
    
    $glassDiv.animate({  
      'opacity' : 0 
    }, 500, function() { 
          $(this).remove();
          $(this).parent().css('position','');
        }
    );  
  });
 
});
