

// ########
// 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 = 1300; 
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] = 60;
Icon_off_height[1] = 44;
Icon_off_top[1] = 41;  
Icon_off_left[1] = 50;

Icon_on_width[1] = 78;
Icon_on_height[1] = 57;
Icon_on_top[1] = 34;  
Icon_on_left[1] = 47;

// .......................

Icon_off_width[2] = 52;
Icon_off_height[2] = 48;
Icon_off_top[2]= 111;  
Icon_off_left[2] = 34;

Icon_on_width[2] = 68;
Icon_on_height[2] = 63;
Icon_on_top[2] = 104;  
Icon_on_left[2] = 31;

// .......................

Icon_off_width[3]= 41;
Icon_off_height[3]= 52;
Icon_off_top[3] = 181;  
Icon_off_left[3] = 29;

Icon_on_width[3] = 53;
Icon_on_height[3] = 67;
Icon_on_top[3] = 174;  
Icon_on_left[3] = 27;

// .......................

Icon_off_width[4] = 49;
Icon_off_height[4] = 53;
Icon_off_top[4] = 251;  
Icon_off_left[4] = 26;

Icon_on_width[4] = 64;
Icon_on_height[4] = 69;
Icon_on_top[4] = 244;  
Icon_on_left[4] = 23;

// .......................

Icon_off_width[5] = 53;
Icon_off_height[5] = 50;
Icon_off_top[5]= 321;  
Icon_off_left[5] = 36;

Icon_on_width[5] = 69;
Icon_on_height[5] = 65;
Icon_on_top[5]= 314;  
Icon_on_left[5] = 33;

// .......................

Icon_off_width[6] = 36;
Icon_off_height[6]= 53;
Icon_off_top[6] = 391;  
Icon_off_left[6] = 61;

Icon_on_width[6] = 47;
Icon_on_height[6] = 69;
Icon_on_top[6] = 384;  
Icon_on_left[6] = 60;
	
	
	
// -------------------------------------------------------------------------------------------
// 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_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] = 25;  
	Icon_off_left[1] = 42;
	Icon_on_top[1] = 20;  
	Icon_on_left[1] = 35;
	
	Icon_off_top[2] = 92;  
	Icon_off_left[2] = 30;
	Icon_on_top[2] = 85;  
	Icon_on_left[2] = 23;
	
	Icon_off_top[3] = 159;  
	Icon_off_left[3] = 24;
	Icon_on_top[3] = 153;  
	Icon_on_left[3] = 20;
	
	Icon_off_top[4] = 226;  
	Icon_off_left[4] = 23;
	Icon_on_top[4] = 221;  
	Icon_on_left[4] = 17;
	
	Icon_off_top[5] = 293;  
	Icon_off_left[5] = 33;
	Icon_on_top[5] = 286;  
	Icon_on_left[5] = 26;
	
	Icon_off_top[6] = 360;  
	Icon_off_left[6] = 57;
	Icon_on_top[6] = 353;  
	Icon_on_left[6] = 52;
	
	
	// 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_china_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:80px; 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:260px; background:url(img/common/bg_leftnav_mittel.gif) top left no-repeat; }\r\n');
		document.write('.Leftnav_2 { width:260px; }\r\n');
		document.write('.leftnav_und_content { margin-right:5%; }\r\n');
		
		document.write('.content_1 {margin-left:260px; }\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:18px; }\r\n');
		document.write('.content_foto_rechts_1 { padding-top:40px; }\r\n');
		
		document.write('.content_foto_rechts_1_home { padding-top:25px; }\r\n');
		document.write('.qmcert { padding-top:20px; }\r\n');

    
		// Leftnav: Positionen anpassen
       	document.write('.leftnav_icon_div_01 { position:absolute; top:25px; left:42px;  }\r\n');
		document.write('.leftnav_icon_div_02 { position:absolute; top:92px; left:30px; }\r\n');
		document.write('.leftnav_icon_div_03 { position:absolute; top:159px; left:24px; }\r\n');
		document.write('.leftnav_icon_div_04 { position:absolute; top:226px; left:23px; }\r\n');
		document.write('.leftnav_icon_div_05 { position:absolute; top:293px; left:33px; }\r\n');
		document.write('.leftnav_icon_div_06 { position:absolute; top:360px; left:57px; }\r\n');
		
		document.write('.leftnav_text_div_01 { position:absolute; top:40px; left:135px;  }\r\n');
		document.write('.leftnav_text_div_02 { position:absolute; top:107px; left:117px; }\r\n');
		document.write('.leftnav_text_div_03 { position:absolute; top:174px; left:108px; }\r\n');
		document.write('.leftnav_text_div_04 { position:absolute; top:241px; left:107px; }\r\n');
		document.write('.leftnav_text_div_05 { position:absolute; top:308px; left:113px; }\r\n');
		document.write('.leftnav_text_div_06 { position:absolute; top:375px; left:128px; }\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_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] = 20;  
	Icon_off_left[1] = 34;
	Icon_on_top[1] = 15;  
	Icon_on_left[1] = 25;
	
	Icon_off_top[2] = 81;  
	Icon_off_left[2] = 22;
	Icon_on_top[2] = 74;  
	Icon_on_left[2] = 15;
	
	Icon_off_top[3] = 142;  
	Icon_off_left[3] = 18;
	Icon_on_top[3] = 135;  
	Icon_on_left[3] = 14;
	
	Icon_off_top[4] = 203;  
	Icon_off_left[4] = 17;
	Icon_on_top[4] = 196;  
	Icon_on_left[4] = 11;
	
	Icon_off_top[5] = 264;  
	Icon_off_left[5] = 25;
	Icon_on_top[5] = 257;  
	Icon_on_left[5] = 18;
	
	Icon_off_top[6] = 326;  
	Icon_off_left[6] = 50;
	Icon_on_top[6] = 319;  
	Icon_on_left[6] = 46;
	
	
	// 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_china_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:80px; 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:245px; background:url(img/common/bg_leftnav_klein.gif) top left no-repeat; }\r\n');
		document.write('.Leftnav_2 { width:245px; }\r\n');
		document.write('.leftnav_und_content { margin-right:4%; }\r\n');
		
		document.write('.content_1 {margin-left:245px; }\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:12px; }\r\n');
		document.write('.content_foto_rechts_1 { padding-top:40px; }\r\n');
		
		document.write('.content_foto_rechts_1_home { padding-top:5px; }\r\n');
		document.write('.qmcert { padding-top:0px; }\r\n');
    
		// Leftnav: Positionen anpassen
       	document.write('.leftnav_icon_div_01 { position:absolute; top:20px; left:34px;  }\r\n');
		document.write('.leftnav_icon_div_02 { position:absolute; top:81px; left:22px; }\r\n');
		document.write('.leftnav_icon_div_03 { position:absolute; top:142px; left:18px; }\r\n');
		document.write('.leftnav_icon_div_04 { position:absolute; top:203px; left:17px; }\r\n');
		document.write('.leftnav_icon_div_05 { position:absolute; top:264px; left:25px; }\r\n');
		document.write('.leftnav_icon_div_06 { position:absolute; top:326px; left:50px; }\r\n');
		
		document.write('.leftnav_text_div_01 { position:absolute; top:33px; left:122px;  }\r\n');
		document.write('.leftnav_text_div_02 { position:absolute; top:96px; left:105px; }\r\n');
		document.write('.leftnav_text_div_03 { position:absolute; top:157px; left:97px; }\r\n');
		document.write('.leftnav_text_div_04 { position:absolute; top:218px; left:96px; }\r\n');
		document.write('.leftnav_text_div_05 { position:absolute; top:279px; left:103px; }\r\n');
		document.write('.leftnav_text_div_06 { position:absolute; top:341px; left:118px; }\r\n');
				
   	document.write('</style>\r\n');
}
	
	

