function dom_init() {

  //$('a.lightbox').lightBox();
	
	if (!document.getElementsByTagName) return;
	
	var aLinks = document.getElementsByTagName("a");
	for (var i = 0; i < aLinks.length; i++) 
	{
		var mclass = aLinks[i].className;
		if (mclass.indexOf("mailer") > -1) 
		{
				var a = aLinks[i].getAttribute("title").replace(" %20 ",".");
				a = a.replace(" ","@");
				
				var t = document.createTextNode(a);
				aLinks[i].appendChild(t);
				
				var b = a;
				if(a.indexOf("mailto:") < 0)a="mailto:"+a;
				if(b.indexOf("mailto:") >= 0)b = b.substr(7);
				aLinks[i].setAttribute("href",a);
				
				//aLinks[i].setAttribute("title","Mailen Sie an: "+b);
				
				aLinks[i].setAttribute("title","");
		}
		
	}
	
	screenshotPreview();
	
	$.fn.move = function() {
		$(this).hover(function() {
			//$(this).animate( { 'marginRight' : '20px' }, 200 );
			$(this).fadeTo("fast", 0.75);
		},
		function() {
			//$(this).animate( { 'marginRight' : '0px' }, 200 );
			$(this).fadeTo("fast", 1.00);
		});
	}
	
	$('div.foto').move();	
	
}