function dom_init() {
	//
	$('#nav a').blend();
	$('#hhh').blend();

	$('.mouseOver').hover(
		function() { $(this).css({ 'background-color' :'#dbe3e6' }) }, //.parent()
		function() { $(this).css({ 'background-color' :'transparent' }) } //parent().
	);	
	
	var newsletter_hover = false;
	
	//newsletter bestellen ein-/ausblenden
	$('#newsletter').hover(
		function() {
			if(!$('#newsletter_box').is(':visible')){
				showNewsletter();
				hideEmpfehlen();
				hideAudio();
			}
		}
	);
	
	$('#newsletter_box').mouseleave(function(){
		hideNewsletter();
	});
	
	$('#empfehlen').mouseleave(function(){
		hideEmpfehlen();
	});
	
	$('#audio').mouseleave(function(){
		hideAudio();
	});
	
	
	$('#newsletter').click(
		function(){
			if($('#newsletter_box').is(':visible')){
				hideNewsletter();
			}else{
				showNewsletter();
				hideAudio();
				hideEmpfehlen();
			}
		}		   
	);
	
	//AudiControls ein-/ausblenden
	$('#sound').hover(
		function() {
			if(!$('#audio').is(':visible')){
				showAudio();
				hideNewsletter();
				hideEmpfehlen();
			}
		}
	);
	$('#sound').click(
		function() {
			if(!$('#audio').is(':visible')){
				hideAudio();
			}else{
				showAudio();
				hideNewsletter();
				hideEmpfehlen();
			}
		}
	);
	

	
	//Seite weiterempfehlen ein-/ausblenden
	$('#tellafriend').hover(
		function() {
			if(!$('#empfehlen').is(':visible')){
				showEmpfehlen();
				hideNewsletter();
				hideAudio();
			}
		}
	);
	
	$('#tellafriend').click(
		function(){
			if($('#empfehlen').is(':visible')){
				hideEmpfehlen();
			}else{
				showEmpfehlen();
				hideNewsletter();
				hideAudio();
			}
		}		   
	);
	
		
	
	
	$('#abtn').click(
		function(){
			hideNewsletter();
		}
	)
   
$('.feld').hover(function() {
		$(this).addClass('mark');
	}, function() {
		$(this).removeClass('mark');
	});


	
	
	$('#abtn_emp').click(
		function(){
			$('#empfehlen').css({display:'none'});
			$('#tellafriend').css({color: '#FFFFFF'});
		}
	)
	
	$('#sound_hide').click(
		function(){
			hideAudio();
		}
	)
	
	/*$('#klapptest').click(function() { 
		$(this).css({ display: 'none' })
	});*/
	
	$('.meldung div').hover(
		function() { $(this).css({ 'background-color' :'#CDE' }) }, //
		function() { $(this).css({ 'background-color' :'#FFF' }) }//$('#klapptest').css({ display: 'none' }) }
	);

	$(document).ready(function(){
		
		//Nur wenn Flash aktiviert, sonst JS Fehler
		if($.flash) {
			
			//ANKER
			var ankerFlash = $.flash.create(
			{
				swf: '/_flash/anker.swf',
				params: {
					quality: 'best',
					wmode: 'transparent'
				},
				height: 145,
				width: 55
			});
			$('#anker').html(ankerFlash);
			
			//AUDIO
			var audioFlash = $.flash.create(
			{
				swf: '/_flash/bgsound/bgSoundPlayer.swf',
				params: {
					quality: 'best',
					wmode: 'transparent',
					swfLiveConnect: "true"
				},
				flashvars: flashv_audio,
				height: 20,
				width: 16,
				attrs: {
					id: "soundFlash",
					style: "display:inline; vertical-align:middle; margin-left:5px"					
				}
			});
			$('#soundFlash').replaceWith(audioFlash);
			
			
			//MOEWEN TOP
			var moewen_topFlash = $.flash.create(
			{
				swf: '/_flash/650x160_moewen_top.swf',
				params: {
					quality: 'best',
					wmode: 'transparent'
				},
				height: 160,
				width: 650
			});
			$('#moewen_top').html(moewen_topFlash);
			
			//MOEWEN RIGHT
			var moewen_rightFlash = $.flash.create(
			{
				swf: '/_flash/200x250_moewen_right.swf',
				params: {
					quality: 'best',
					wmode: 'transparent'
				},				
				height: 250,
				width: 200
			});
			$('#moewen_right').html(moewen_rightFlash);
			
			//LESEZIRKEL		
			var LesezirkelFlash = $.flash.create(
			{
				swf: '/_flash/lesezirkel/coverflow.swf',
				params: {
					quality: 'best',
					//wmode: 'transparent',
					allowscriptaccess: "always",
					swliveconnect: true
				},				
				height: 195,
				width: 475,
				attrs: {
					id: "Lesezirkel"
				}
			});
			$('#coverflowContainer').html(LesezirkelFlash);
			
			//HÖRPROBEN
			var hoerprobeFlash = $.flash.create(
			{
				swf: '/_flash/cdplayer/Coverflow.swf',
				params: {
					quality: 'best',
					allowscriptaccess: "always",
					swliveconnect: true,
					bgcolor: "#FFFFFF"
				},				
				height: 600,
				width: 475,
				attrs: {
					id: "banner"
				}
			});
			$('#hoerprobe').html(hoerprobeFlash);
			
			var portraitFlash = $.flash.create(
			{
				swf: '/_flash/live/090909_animation.swf',
				params: {
					quality: 'best'
				},				
				height: 230,
				width: 485
			});
			$('#portrait').html(portraitFlash);
		
		}
		else {
			$("#audio_inner").html('Die Soundfunktion funktioniert nur mit installiertem und aktiviertem Flash Plugin.<br /><br />'+
								   '<a href="http://get.adobe.com/de/flashplayer/" target="_blank" class="textlink">{ Installation hier }</a>');
			$("#leseZirkelNotice").show();
			$("#hoerprobeNotice").show();
		}
	
	});

	$(document).ready(function(){
		$('input[type=radio]').prettyCheckboxes();
		$('input[type=checkbox]').prettyCheckboxes();
	});
	
	
	$(document).ready(function(){
			initMails();
	});
	

	
	//small tooltip
	$('.showTT').tooltip({ 
    	track: true, 
    	delay: 0, 
    	showURL: false, 
    	showBody: " - ", 
    	fade: 250,
		top: -10,
		left: 20
	});
	
	
	
	/*$(document).ready(function(){
		$('.middle').css({ 'height' : $('.middle').height()-40});
	});*/


//$('.scroll-pane img').hover(
//function(){ $(this).fadeTo(350, 1) },
//function(){ $(this).fadeTo(350, 0.6) }
//);
/*
    $("p").click(function () { 
      $(this).slideUp(); 
    });
    $("p").hover(function () {
      $(this).addClass("hilite");
    }, function () {
      $(this).removeClass("hilite");
    });

*/

}