function nColor()
{
var jetzt = new Date();
var Std = jetzt.getHours();
if(Std >= 6 && Std <= 22) document.writeln("<style type=\"text/css\"> body \{ background-image:url\(startbg2.gif\)\} </style>");
}


function mainframe()
{
if(top.frames.length < 1)
document.location.href="frameset.htm";
}

function wheels()
{
BildName = parent.frames[1].BildName


if (parent.frames[1].BildName == 'wheel2')
{
parent.frames[0].document.b2.src = "images/musik_o.jpg";
}
else
parent.frames[0].document.b2.src = "images/musik.jpg";

if (parent.frames[1].BildName == 'wheel3')
{
parent.frames[0].document.b3.src = "images/mod_o.jpg";
}
else
parent.frames[0].document.b3.src = "images/mod.jpg";
}

function change(id, newSrc) {
    var theImage = FWFindImage(document, id, 0);
    if (theImage) {
        theImage.src = newSrc;
    }
}
function FWFindImage(doc, name, j) {
    var theImage = false;
    if (doc.images) {
        theImage = doc.images[name];
    }
    if (theImage) {
        return theImage;
    }
    if (doc.layers) {
        for (j = 0; j < doc.layers.length; j++) {
            theImage = FWFindImage(doc.layers[j].document, name, 0);
            if (theImage) {
                return (theImage);
            }
        }
    }
    return (false);
}
function Go(x)
{
 if(x == "nothing")
 {
   document.forms[0].reset();
   document.forms[0].elements[0].blur();
   document.forms[1].reset();
   document.forms[1].elements[0].blur();
   return;
 }
 else
  {
   parent.frames[1].location.href = x;
   document.forms[0].reset();
   document.forms[0].elements[0].blur();
   document.forms[1].reset();
   document.forms[1].elements[0].blur();
  }
}


