

// ########
// ACK #017
// ########



var Icon_off_width = new Array();
var Icon_off_height = new Array();
var Icon_off_top = new Array();
var Icon_off_left = new Array();

var Icon_on_width = new Array();
var Icon_on_height = new Array();
var Icon_on_top = new Array();
var Icon_on_left = new Array();

// ---------------------------------------------------------------------------------------------
// Standardwerte für Flash-Header (für Bildschirm-HÖHE(!) >= 1024)
// (die off-Werte für diese Auflösung müssen auch fest im Style-Sheet stehen)
// ---------------------------------------------------------------------------------------------
var Flash_Pfad_und_Dateiname_ohne_Endung = 'flash/header_gross'; 
var Flash_Breite = 1450; 
var Flash_Hoehe = 178; 
var Flash_Ersatzgrafik_Pfad_mit_Dateiname_mit_Endung = 'flash_ersatz/header_gross.jpg'; 


// (Größe aller Icon-'on'-Grafiken = 130%)

Icon_off_width[1] = 54;
Icon_off_height[1] = 56;
Icon_off_top[1] = 37;  
Icon_off_left[1] = 60;

Icon_on_width[1] = 70;
Icon_on_height[1] = 72;
Icon_on_top[1] = 32;  
Icon_on_left[1] = 52;

// .......................

Icon_off_width[2] = 58;
Icon_off_height[2] = 69;
Icon_off_top[2]= 110;  
Icon_off_left[2] = 34;

Icon_on_width[2] = 75;
Icon_on_height[2] = 90;
Icon_on_top[2] = 98;  
Icon_on_left[2] = 25;

// .......................

Icon_off_width[3]= 43;
Icon_off_height[3]= 50;
Icon_off_top[3] = 205;  
Icon_off_left[3] = 33;

Icon_on_width[3] = 56;
Icon_on_height[3] = 65;
Icon_on_top[3] = 196;  
Icon_on_left[3] = 28;

// .......................

Icon_off_width[4] = 53;
Icon_off_height[4] = 50;
Icon_off_top[4] = 280;  
Icon_off_left[4] = 34;

Icon_on_width[4] = 69;
Icon_on_height[4] = 65;
Icon_on_top[4] = 273;  
Icon_on_left[4] = 28;

// .......................

Icon_off_width[5] = 36;
Icon_off_height[5]= 53;
Icon_off_top[5]= 358;  
Icon_off_left[5] = 56;

Icon_on_width[5] = 47;
Icon_on_height[5] = 69;
Icon_on_top[5]= 350;  
Icon_on_left[5] = 50;

// .......................

	
	
// -------------------------------------------------------------------------------------------
// Werte-Anpassungen für vertikale Auflösungen von 1025px bis 1200px  (--> ACK #027)
// -------------------------------------------------------------------------------------------
if(screen.height > 1024 && screen.height < 1200)
{	
	document.write('<style type="text/css">\r\n');
		
		document.write('.content_4 { padding-bottom:700px; }\r\n');
	
	document.write('</style>\r\n');	
}	

// -------------------------------------------------------------------------------------------
// Werte-Anpassungen für vertikale Auflösungen ab 1200px  (--> ACK #027)
// -------------------------------------------------------------------------------------------
if(screen.height >= 1200)
{	
	document.write('<style type="text/css">\r\n');
		
		document.write('.content_4 { padding-bottom:1100px; }\r\n');
	
	document.write('</style>\r\n');	
}	
	
	
// -------------------------------------------------------------------------------------------
// Werte-Anpassungen für Auflösungen 1024 > y > 768 (vertikal !)
// -------------------------------------------------------------------------------------------
if(screen.height < 1024 && screen.height > 768)
{	
	// Variablen-Änderungen:
	// .................................................................
	Flash_Pfad_und_Dateiname_ohne_Endung = 'flash/header_mittel'; 
	Flash_Breite = 1450; 
	Flash_Hoehe = 158; 
	Flash_Ersatzgrafik_Pfad_mit_Dateiname_mit_Endung = 'flash_ersatz/header_mittel.jpg'; 
	
	
	// Leftnav: Anpassung der Werte für Mouseover
	Icon_off_top[1] = 26;  
	Icon_off_left[1] = 55;
	Icon_on_top[1] = 20;  
	Icon_on_left[1] = 47;
	
	Icon_off_top[2] = 97;  
	Icon_off_left[2] = 28;
	Icon_on_top[2] = 84;  
	Icon_on_left[2] = 19;
	
	Icon_off_top[3] = 185;  
	Icon_off_left[3] = 26;
	Icon_on_top[3] = 179;  
	Icon_on_left[3] = 21;
	
	Icon_off_top[4] = 253;  
	Icon_off_left[4] = 24;
	Icon_on_top[4] = 247;  
	Icon_on_left[4] = 19;
	
	Icon_off_top[5] = 325;  
	Icon_off_left[5] = 50;
	Icon_on_top[5] = 318;  
	Icon_on_left[5] = 45;
	
	
	
	
	// CSS-Klassen-Änderungen ### ACK #017_b ###
	// .................................................................
	document.write('<style type="text/css">\r\n');
	
		document.write('.font_content { font-size:12px; line-height:19px; }\r\n');
		document.write('.verlinkung { font-size:12px; line-height:19px; }\r\n');
		document.write('.verlinkung_fett { font-size:12px; line-height:19px; }\r\n');
		document.write('.font_versalie { font-size:19px; }\r\n');
		
		document.write('.topleiste_div_aussen { height:158px; }\r\n');
		document.write('.topleiste_div_links { height:158px; }\r\n');
		document.write('.topleiste_div_rechts { height:158px; }\r\n');
		
		document.write('.topnav_div_aussen { height:38px; background:url(img/common/topnavbar_1_mittel.gif); background-repeat:repeat-x; }\r\n');
		document.write('.topnav_1 { height:38px; overflow:hidden; background:url(img/common/topnavbar_links_mittel.gif); background-repeat:repeat-x; }\r\n');
		document.write('.topnav_2 { height:38px; }\r\n');
		document.write('.topnav_3 { height:38px; background:url(img/common/topnavbar_1_links_mittel.gif); background-repeat:no-repeat; }\r\n');
		document.write('.topnav_4 { height:38px; background:url(img/common/topnavbar_2_mittel.gif); }\r\n');
		document.write('.topnav_5 { height:38px; background:url(img/common/topnavbar_2_links_mittel.gif); background-repeat:no-repeat; }\r\n');
		document.write('.topnav_6 { height:38px; background:url(img/common/topnavbar_2_ende_mittel.gif) top right no-repeat; }\r\n');
		
		document.write('.moreMenu_2 { background-position: 0px 11px; }\r\n');
		document.write('.moreMenu_4 { padding-top:38px; top:-47px; }\r\n');  // ACK #033_c
		
		document.write('.socialMenu_2 { background-position: 0px 11px; }\r\n');
		document.write('.socialMenu_4 { padding-top:38px; top:-47px; }\r\n');  // ACK #033_c
		
		
		document.write('.topnav_mansard_div_2 { padding-top:11px; }\r\n');
		document.write('.topnav_kontakt_div_2 { padding-top:11px; }\r\n');
		document.write('.topnav_home_div_2 { padding-top:11px; }\r\n');
		document.write('.fuge_1 { height:26px; }\r\n');
		document.write('.fuge_2 { height:26px; }\r\n');
		document.write('.sprachwahl_e { width:33px; height:38px; background:url(img/common/topnav_flagge_e_mittel.png); background-repeat:no-repeat; }\r\n');
		document.write('.sprachwahl_d { width:33px; height:38px; background:url(img/common/topnav_flagge_d_mittel.png); background-repeat:no-repeat;  }\r\n');
		
		document.write('.div_icon_facebook { cursor:pointer; float:right; width:33px; height:38px; margin-left:95px; margin-right:5px; overflow:hidden; background:url(img/common/icon_facebook_mittel.png); background-repeat:no-repeat; } \r\n');
		document.write('.div_icon_twitter { cursor:pointer; float:right; width:33px; height:38px; margin-left:0px; margin-right:5px; overflow:hidden; background:url(img/common/icon_twitter_mittel.png); background-repeat:no-repeat; } \r\n');
		document.write('.div_icon_google_plus { cursor:pointer; float:right; width:33px; height:38px; margin-left:0px; margin-right:24px; overflow:hidden; background:url(img/common/icon_google_plus_mittel.png); background-repeat:no-repeat; } \r\n');
		
		
		document.write('.leerbereich_neben_leftnav  { background:url(img/common/bg_leftnav_1_mittel.gif); background-repeat:repeat-x; }\r\n');
		document.write('.Leftnav_1 { width:250px; background:url(img/common/bg_leftnav_mittel.gif) top left no-repeat; }\r\n');
		document.write('.Leftnav_2 { width:250px; }\r\n');
		document.write('.leftnav_und_content { margin-right:5%; }\r\n');
		
		document.write('.content_1 {margin-left:250px; }\r\n');
		document.write('.content_4 { padding-top:30px; }\r\n');
		document.write('.content_header_div_1 { padding-right:50px; }\r\n');
		document.write('.content_5 { margin-right:50px; }\r\n');
		document.write('.content_fliesstext_2 {  padding-top:10px; }\r\n');
		document.write('.content_foto_rechts_1 { padding-top:40px; }\r\n');
		
		document.write('.content_foto_rechts_1_home { padding-top:50px; }\r\n');
		document.write('.qmcert { padding-top:30px; }\r\n');
    
		// Leftnav: Positionen anpassen
       	document.write('.leftnav_icon_div_01 { position:absolute; top:26px; left:55px;  }\r\n');
		document.write('.leftnav_icon_div_02 { position:absolute; top:97px; left:28px; }\r\n');
		document.write('.leftnav_icon_div_03 { position:absolute; top:185px; left:26px; }\r\n');
		document.write('.leftnav_icon_div_04 { position:absolute; top:253px; left:24px; }\r\n');
		document.write('.leftnav_icon_div_05 { position:absolute; top:325px; left:50px; }\r\n');
		
		document.write('.leftnav_text_div_01 { position:absolute; top:45px; left:137px;  }\r\n');
		document.write('.leftnav_text_div_02 { position:absolute; top:119px; left:115px; }\r\n');
		document.write('.leftnav_text_div_03 { position:absolute; top:193px; left:106px; }\r\n');
		document.write('.leftnav_text_div_04 { position:absolute; top:267px; left:107px; }\r\n');
		document.write('.leftnav_text_div_05 { position:absolute; top:341px; left:118px; }\r\n');


   	document.write('</style>\r\n');
}

// -------------------------------------------------------------------------------------------
// Anpassungen Auflösungen y <= 768 (vertikal !)
// -------------------------------------------------------------------------------------------
else if(screen.height <= 768)
{
	// Variablen-Änderungen:
	// .................................................................
	Flash_Pfad_und_Dateiname_ohne_Endung = 'flash/header_klein'; 
	Flash_Breite = 1450; 
	Flash_Hoehe = 125; 
	Flash_Ersatzgrafik_Pfad_mit_Dateiname_mit_Endung = 'flash_ersatz/header_klein.jpg'; 
	
	
	// Leftnav: Anpassung der Werte für Mouseover
	Icon_off_top[1] = 18;  
	Icon_off_left[1] = 44;
	Icon_on_top[1] = 11;  
	Icon_on_left[1] = 35;
	
	Icon_off_top[2] = 85;  
	Icon_off_left[2] = 20;
	Icon_on_top[2] = 74;  
	Icon_on_left[2] = 10;
	
	Icon_off_top[3] = 169;  
	Icon_off_left[3] = 18;
	Icon_on_top[3] = 160;  
	Icon_on_left[3] = 12;
	
	Icon_off_top[4] = 232;  
	Icon_off_left[4] = 18;
	Icon_on_top[4] = 225;  
	Icon_on_left[4] = 11;
	
	Icon_off_top[5] = 300;  
	Icon_off_left[5] = 46;
	Icon_on_top[5] = 292;  
	Icon_on_left[5] = 42;
	
	
	
	// CSS-Klassen-Änderungen ### ACK #017_b ###
	// .................................................................
	document.write('<style type="text/css">\r\n');
	
		document.write('.font_content { font-size:11px; line-height:18px; }\r\n');
		document.write('.verlinkung { font-size:11px; line-height:18px; }\r\n');
		document.write('.verlinkung_fett { font-size:11px; line-height:18px; }\r\n');
		document.write('.font_versalie { font-size:18px; }\r\n');
		
		document.write('.topleiste_div_aussen { height:125px; }\r\n');
		document.write('.topleiste_div_links { height:125px; }\r\n');
		document.write('.topleiste_div_rechts { height:125px; }\r\n');
		
		document.write('.topnav_div_aussen { height:35px; background:url(img/common/topnavbar_1_klein.gif); background-repeat:repeat-x; }\r\n');
		document.write('.topnav_1 { height:35px; overflow:hidden; background:url(img/common/topnavbar_links_klein.gif); background-repeat:repeat-x; }\r\n');
		document.write('.topnav_2 { height:35px; }\r\n');
		document.write('.topnav_3 { height:35px; background:url(img/common/topnavbar_1_links_klein.gif); background-repeat:no-repeat; }\r\n');
		document.write('.topnav_4 { height:35px; background:url(img/common/topnavbar_2_klein.gif); }\r\n');
		document.write('.topnav_5 { height:35px; background:url(img/common/topnavbar_2_links_klein.gif); background-repeat:no-repeat; }\r\n');
		document.write('.topnav_6 { height:35px; background:url(img/common/topnavbar_2_ende_klein.gif) top right no-repeat; }\r\n');
		
		document.write('.moreMenu_2 { background-position: 0px 10px; }\r\n');
		document.write('.moreMenu_4 { padding-top:35px; top:-48px; }\r\n'); // ACK #033_c
		
		document.write('.socialMenu_2 { background-position: 0px 10px; }\r\n');
		document.write('.socialMenu_4 { padding-top:35px; top:-48px; }\r\n');  // ACK #033_c
		
		document.write('.topnav_mansard_div_2 { padding-top:10px; }\r\n');
		document.write('.topnav_kontakt_div_2 { padding-top:10px; }\r\n');
		document.write('.topnav_home_div_2 { padding-top:10px; }\r\n');
		document.write('.fuge_1 { height:24px; }\r\n');
		document.write('.fuge_2 { height:24px; }\r\n');
		document.write('.sprachwahl_e { width:33px; height:35px; background:url(img/common/topnav_flagge_e_klein.png); background-repeat:no-repeat; }\r\n');
		document.write('.sprachwahl_d { width:33px; height:35px; background:url(img/common/topnav_flagge_d_klein.png); background-repeat:no-repeat;  }\r\n');
		
		document.write('.div_icon_facebook { cursor:pointer; float:right; width:33px; height:35px; margin-left:95px; margin-right:5px; overflow:hidden; background:url(img/common/icon_facebook_klein.png); background-repeat:no-repeat; } \r\n');
		document.write('.div_icon_twitter { cursor:pointer; float:right; width:33px; height:35px; margin-left:0px; margin-right:5px; overflow:hidden; background:url(img/common/icon_twitter_klein.png); background-repeat:no-repeat; } \r\n');
		document.write('.div_icon_google_plus { cursor:pointer; float:right; width:33px; height:35px; margin-left:0px; margin-right:24px; overflow:hidden; background:url(img/common/icon_google_plus_klein.png); background-repeat:no-repeat; } \r\n');

		
		document.write('.leerbereich_neben_leftnav  { background:url(img/common/bg_leftnav_1_klein.gif); background-repeat:repeat-x; }\r\n');
		document.write('.Leftnav_1 { width:230px; background:url(img/common/bg_leftnav_klein.gif) top left no-repeat; }\r\n');
		document.write('.Leftnav_2 { width:230px; }\r\n');
		document.write('.leftnav_und_content { margin-right:4%; }\r\n');
		
		document.write('.content_1 {margin-left:230px; }\r\n');
		document.write('.content_4 { padding-top:24px; }\r\n');
		document.write('.content_header_div_1 { padding-right:45px; }\r\n');
		document.write('.content_5 { margin-right:40px; }\r\n');
		document.write('.content_fliesstext_2 {  padding-top:10px; }\r\n');
		document.write('.content_foto_rechts_1 { padding-top:40px; }\r\n');
		
		document.write('.content_foto_rechts_1_home { padding-top:30px; }\r\n');
		document.write('.qmcert { padding-top:20px; }\r\n');
    
		// Leftnav: Positionen anpassen
       	document.write('.leftnav_icon_div_01 { position:absolute; top:18px; left:44px;  }\r\n');
		document.write('.leftnav_icon_div_02 { position:absolute; top:85px; left:20px; }\r\n');
		document.write('.leftnav_icon_div_03 { position:absolute; top:169px; left:18px; }\r\n');
		document.write('.leftnav_icon_div_04 { position:absolute; top:232px; left:18px; }\r\n');
		document.write('.leftnav_icon_div_05 { position:absolute; top:300px; left:46px; }\r\n');
		
		document.write('.leftnav_text_div_01 { position:absolute; top:33px; left:126px;  }\r\n');
		document.write('.leftnav_text_div_02 { position:absolute; top:103px; left:105px; }\r\n');
		document.write('.leftnav_text_div_03 { position:absolute; top:173px; left:96px; }\r\n');
		document.write('.leftnav_text_div_04 { position:absolute; top:243px; left:98px; }\r\n');
		document.write('.leftnav_text_div_05 { position:absolute; top:313px; left:108px; }\r\n');
				
   	document.write('</style>\r\n');
}
	
	

