function dom_init() {

/* Documentation - http://fancybox.net/api

	/* Regular */

	$("a.fancy").fancybox({
		'titleShow' : false
	});

	/* Without title */
	
	$("a.fancy-title").fancybox({
		'titleShow' : true
	});

	/* gallerylink */

	$("a[rel=fancy_group]").fancybox({
		'transitionIn'		: 'none', // fade / elastic / none
		'transitionOut'		: 'none',
		'titlePosition' 	: 'outside' // inside / over
	});
	
	/* iframelink */
	
	$("a.iframe").fancybox({
		'width'				: '75%',
		'height'			: '75%',
        'autoScale'     	: false,
        'transitionIn'		: 'none',
		'transitionOut'		: 'none',
		'type'				: 'iframe'
	});
	
	$('a.rundgang').fancybox ({
		'width'				: 620,
		'height'			: 469,
	    'autoScale'     	: false,
	    'transitionIn'		: 'none',
		'transitionOut'		: 'none',
		'type'				: 'iframe',
	});
	
	$('a#datenschutz').fancybox ({
		'width'				: '75%',
		'height'			: '75%',
	    'autoScale'     	: false,
	    'transitionIn'		: 'none',
		'transitionOut'		: 'none',
		'type'				: 'iframe',
	});
	


$('.rundgang img').hover(function() {
	$(this).attr("src","/res/t/rundgangh.jpg");
		}, function() {
	$(this).attr("src","/res/t/rundgang.jpg");
});

$('.rundgang.nl img').hover(function() {
	$(this).attr("src","/res/t/rundgangh-nl.jpg");
		}, function() {
	$(this).attr("src","/res/t/rundgang-nl.jpg");
});


$('.portal img').not('#content .portal img').hover(function() {
	$(this).animate({opacity: 0}, 250);
	}, function() {
	$(this).animate({opacity: 1}, 250);
});

};
