function UnCryptMailto( s, sh ) {		var n = 0;		var r = "";		for( var i = 0; i < s.length; i++)		{				n = s.charCodeAt( i );				if( n >= 8364 )				{						n = 128;				}				r += String.fromCharCode( n - sh );		}		return r;}	function lnkTrans(s, sh)	{	location.href = 'mailto:'+UnCryptMailto(s, sh);}$(document).ready(function() {	$("a[rel=gal1]").fancybox({		'transitionIn'		: 'none',		'transitionOut'		: 'none',		'titlePosition' 	: 'over',		'titleFormat'		: function(title, currentArray, currentIndex, currentOpts) {			return '<span id="fancybox-title-over">Bild ' + (currentIndex + 1) + ' / ' + currentArray.length + (title.length ? ' &nbsp; ' + title : '') + '</span>';		}	});	$("a[rel=gal2]").fancybox({		'transitionIn'		: 'none',		'transitionOut'		: 'none',		'titlePosition' 	: 'over',		'titleFormat'		: function(title, currentArray, currentIndex, currentOpts) {			return '<span id="fancybox-title-over">Bild ' + (currentIndex + 1) + ' / ' + currentArray.length + (title.length ? ' &nbsp; ' + title : '') + '</span>';		}	});	});	
