


function bind_fotos(page) {
	$.get('lib/srv/binds.php',
			{
			 page: page,
			 zid:  gup('zid')
			},
			function(data){
				$('#bind_foto').html(data);
				connect_gallery();
			}
			);
}



function connect_gallery() {
	$("a.flink").overlay({ 
	 
	    // each trigger uses the same overlay with the id "gallery_overlay" 
	    target: '#gallery_overlay', 
	 
	    // optional exposing effect 
	    expose: '#888888' 
	 
	// let the gallery plugin do its magic! 
	}).gallery({ 
	 
	    // the plugin accepts its own set of configuration options
	    next: '.gal_next',
	    prev: '.gal_prev',
	    speed: 800
	});

}