/* Frames befreier für "Bottom" pages only */

if (top.frames.length<1) top.location.href="index.html" 

/* Auswahl CSS datei */
   
if (screen.width>=1024&&screen.width<1152) 
   {document.write("<link rel=stylesheet type=text/css href=host1024.css>");}
	
else if (screen.width>=1152&&screen.width<1280) 
   {document.write("<link rel=stylesheet type=text/css href=host1152.css>");}

else if (screen.width>=1280) 
   {document.write("<link rel=stylesheet type=text/css href=host1280.css>");}
		
else if (screen.width<1024) 
   {document.write("<link rel=stylesheet type=text/css href=host800.css>");}



/*  Druck ButtonLink  - change shadows + retour */

function Bover1()
{
document.all.b1a.style.borderTopColor = "#0C42A7";
document.all.b1a.style.borderLeftColor = "#0C42A7";
document.all.b1a.style.borderBottomColor = "#AAC6F9";
document.all.b1a.style.borderRightColor = "#AAC6F9";

document.all.b1b.style.backgroundColor = "#4F88F2";

document.all.b1b.style.borderTopColor = "#0C42A7";
document.all.b1b.style.borderLeftColor = "#0C42A7";
document.all.b1b.style.borderBottomColor = "#AAC6F9";
document.all.b1b.style.borderRightColor = "#AAC6F9";

document.all.b1c.style.color = "red";
}

function Bout1()
{
document.all.b1a.style.borderTopColor = "#AAC6F9";
document.all.b1a.style.borderLeftColor = "#AAC6F9";
document.all.b1a.style.borderBottomColor = "#0C42A7";
document.all.b1a.style.borderRightColor = "#0C42A7";

document.all.b1b.style.backgroundColor = "cornflowerblue";

document.all.b1b.style.borderTopColor = "#0C42A7";
document.all.b1b.style.borderLeftColor = "#0C42A7";
document.all.b1b.style.borderBottomColor = "#AAC6F9";
document.all.b1b.style.borderRightColor = "#AAC6F9";

document.all.b1c.style.color = "white";
}

function Bover2()
{
document.all.b2a.style.borderTopColor = "#0C42A7";
document.all.b2a.style.borderLeftColor = "#0C42A7";
document.all.b2a.style.borderBottomColor = "#AAC6F9";
document.all.b2a.style.borderRightColor = "#AAC6F9";

document.all.b2b.style.backgroundColor = "#4F88F2";

document.all.b2b.style.borderTopColor = "#0C42A7";
document.all.b2b.style.borderLeftColor = "#0C42A7";
document.all.b2b.style.borderBottomColor = "#AAC6F9";
document.all.b2b.style.borderRightColor = "#AAC6F9";

document.all.b2c.style.color = "red";
}

function Bout2()
{
document.all.b2a.style.borderTopColor = "#AAC6F9";
document.all.b2a.style.borderLeftColor = "#AAC6F9";
document.all.b2a.style.borderBottomColor = "#0C42A7";
document.all.b2a.style.borderRightColor = "#0C42A7";

document.all.b2b.style.backgroundColor = "cornflowerblue";

document.all.b2b.style.borderTopColor = "#0C42A7";
document.all.b2b.style.borderLeftColor = "#0C42A7";
document.all.b2b.style.borderBottomColor = "#AAC6F9";
document.all.b2b.style.borderRightColor = "#AAC6F9";

document.all.b2c.style.color = "white";
}

function Bover3()
{
document.all.b3a.style.borderTopColor = "#0C42A7";
document.all.b3a.style.borderLeftColor = "#0C42A7";
document.all.b3a.style.borderBottomColor = "#AAC6F9";
document.all.b3a.style.borderRightColor = "#AAC6F9";

document.all.b3b.style.backgroundColor = "#4F88F2";

document.all.b3b.style.borderTopColor = "#0C42A7";
document.all.b3b.style.borderLeftColor = "#0C42A7";
document.all.b3b.style.borderBottomColor = "#AAC6F9";
document.all.b3b.style.borderRightColor = "#AAC6F9";

document.all.b3c.style.color = "red";
}

function Bout3()
{
document.all.b3a.style.borderTopColor = "#AAC6F9";
document.all.b3a.style.borderLeftColor = "#AAC6F9";
document.all.b3a.style.borderBottomColor = "#0C42A7";
document.all.b3a.style.borderRightColor = "#0C42A7";

document.all.b3b.style.backgroundColor = "cornflowerblue";

document.all.b3b.style.borderTopColor = "#0C42A7";
document.all.b3b.style.borderLeftColor = "#0C42A7";
document.all.b3b.style.borderBottomColor = "#AAC6F9";
document.all.b3b.style.borderRightColor = "#AAC6F9";

document.all.b3c.style.color = "white";
}


/* PopUp Fenster (System0 - schwämmchen) + (???) */

        var mo_lastMenu;
        var lastMenu = "null";
        if (document.layers) {  
                visible = 'show';  hidden = 'hide';
                                                } 
        else if (document.all) {  
                visible = 'visible';  hidden = 'hidden';
        }
    
function toggle(menu) {
        if (document.layers) {
        Menu = document.layers[menu];  
        } 
        else if (document.all) {
        Menu = document.all(menu).style;  
        }        
        if (Menu.visibility == visible) {
        Menu.visibility = hidden;  
        } 
        else {    
        clean(lastMenu);
                Menu.visibility = visible;  
        }
        lastMenu = Menu;
        }
    
function clean(Menu){
        if (Menu == "null"){
                return; 
        }
        if (Menu.visibility == visible) {
        Menu.visibility = hidden;  
        } 
        }
    
function mo_toggle(menu) {
        if (document.layers) {
        Menu = document.layers[menu];  
        } 
        else if (document.all) {
        Menu = document.all(menu).style;  
        }        
        if (Menu.visibility == visible) {
        Menu.visibility = hidden;  
        } 
        else {    
                Menu.visibility = visible;  
        }
        mo_lastMenu = Menu;
        }

/* sound for OnMouseOver */

document.write('<bgsound src="#" id=mysound loop=1 autostart="true">')

function playsound(thesound) {
if (document.all)
document.all.mysound.src = thesound;
}



