	var myTextExtraction = function(node){  
		// extract data from markup and return it  
			return node.childNodes[0].innerHTML; 
		}; 

		$(document).ready(function(){
/*prettyPhoto*/
		$("a[rel^='prettyPhoto']").prettyPhoto({
			animationSpeed: 'normal', /* fast/slow/normal */
			padding: 30, /* padding for each side of the picture */
			opacity: 0.15, /* Value betwee 0 and 1 */
			showTitle: true, /* true/false */
			allowresize: true, /* true/false */
			counter_separator_label: '/', /* The separator for the gallery counter 1 "of" 2 */
			theme: 'dark_rounded', /* light_rounded / dark_rounded / light_square / dark_square */
			callback: function(){}
		});


/*slidelist*/
			var first = 0;
			var speed = 500;
			var pause = 7500;
	
			function removeFirst(){
				first = $('ul#listticker li:first').html();
				$('ul#listticker li:first')
				.animate({opacity: 0}, speed)
				.fadeOut('slow', function() {$(this).remove();});
				addLast(first);
			}
		
			function addLast(first){
				last = '<li style="display:none">'+first+'</li>';
				$('ul#listticker').append(last)
				$('ul#listticker li:last')
				.animate({opacity: 1}, speed)
				.fadeIn('slow')
			}
	
			interval = setInterval(removeFirst, pause);
		});
