
/*
function external(path) { // pass in the correct path to the function so we only need one <A> for infinite amount of calls from  flash   
	// if the lightbox does not exist we will make it    
 	if ($('a#lightbox').length == 0) {  
  		$("body").append("<a id='lightbox' style='visibility: hidden; position: absolute; left: -9999px;' href='"+path+"'>calling js lightbox from flash</a>");     
  		$('a#lightbox').lightBox();    
	// if it already exists but the path is different we will set the new path   
	 } else if ($('a#lightbox').attr("href") != path) {  
  		$('a#lightbox').attr("href", path);    
	}   
	// now we will simulate the click here.  
	$('a#lightbox').trigger("click");   
}
*/

function external(picID) {  
	$('a#'+picID).trigger("click");   
} 



	$(function() {
	
		
		// GALERIE
		
			
			$('#f95Press a').lightBox();
			
			$('#f95Press a').lightBox({
				txtImage: 'Bild',
				txtOf: 'von'
			});
			

	});
	
	
	$('a').click(function() {
  		this.blur();
	});

	
	
