function change(obj)
{
 obj.className=(obj.className=='active')?'passive':'active';
}
function bounce ( message, offset, step ) {
}
function Angebote() {
var ziel="http://www.zanox-affiliate.de/ppc/?16522429C1207986296T&ULP="+document.suchform.query.value;
Go(ziel);
}
// funktion go = auswahllisten Datei Anzeige
function Go(x)
{
if(x == "nothing")
{
document.forms[0].reset();
document.forms[0].elements[0].blur();
return;
}
else if(x == "end") top.location.href = parent.Aktuell.location;
else
{
parent.Aktuell.location.href = x;
document.forms[0].reset();
document.forms[0].elements[0].blur();
}}
function wahl()
{
var bk = document.Bbezirk.Bezirk.options[document.Bbezirk.Bezirk.options.selectedIndex].value;
var be = document.BBranche.Branche.options[document.BBranche.Branche.options.selectedIndex].value;
ziel = "Bezirk"+bk+"/"+bk+be+".htm";
}
function bwahl()
{
var zielb = document.beratung.bberatung.options[document.beratung.bberatung.options.selectedIndex].value;
zielb = zielb+".htm";
if(zielb == "nothing.htm")
{
document.forms[0].reset();
document.forms[0].elements[0].blur();
return;
}
else if(zielb == "end") top.location.href = parent.Aktuell.location;
else
{
parent.Aktuell.location.href = zielb;
document.forms[0].reset();
document.forms[0].elements[0].blur();
}}
function popup(name)
{
para="scrollbars=no,status=no,width=500,height=400,menubar=no,locationbar=no,resizable=yes,hotkeys=no";
var links = screen.width / 2 - 400;
var oben = screen.height / 2 - 300;
var browser=navigator.appName;
var version=parseFloat(navigator.appVersion);
fenster = window.open(name,"Info",para);
if (browser=="Netscape" && version>=3.0)
{
fenster.moveTo(links,oben);
}}
// Spiele-Box Fenster
function SpielBox(x)
{
Meinesp =
window.open("sp_"+x+".html", "Spiel_Spass", "width=350,height=350,scrollbars");
Meinesp.focus();
}
var jetzt1 = new Date();
var Tag = jetzt1.getDate();
var TagInWoche = jetzt1.getDay();
var Wochentag = new Array("Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag");
var Jahresmonat = jetzt1.getMonth();
var Monat = new Array("Januar","Februar","M&auml;rz","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember");
var jetzt4 = new Date();
var Jjahr = jetzt4.getFullYear();
function xtag()
{
document.write(Tag+"."+Jahresmonat);
}
function tagname()
{
document.write(Wochentag[TagInWoche]);
}
function monatsname()
{
document.write(Monat[Jahresmonat]);
}
function MonatJahr()
{ monatsname();
document.write(" ");
document.write(Jjahr);
}

function klappe(control){
var elem = document.getElementById(control);
if(elem.style.display == "none"){
elem.style.display = "block";
}else{
elem.style.display = "none";
}
}

// InfoBox neu
<!-- Original:  Patrick Lewis mod: W. Jansen -->
<!-- Aufruf: <a href="#" onMouseOver="BoxAnzeigen(4)" onMouseOut="BoxAusblenden()">Textlink </a> -->

<!-- Begin


//  ::::::::  Inhalte  Anfang ::::::::


var InfoBox = new Array();

InfoBox[0] = 'nicht benutzt';
InfoBox[1] = '<img src="/Grafiken/menu/0001.gif" width="60" height="60" border="0" alt="">';
InfoBox[2] = '<img src="/Grafiken/menu/0002.gif" width="60" height="60" border="0" alt="">';
InfoBox[3] = '<img src="/Grafiken/menu/0003.gif" width="60" height="60" border="0" alt="">';
InfoBox[4] = '<img src="/Grafiken/menu/0004.gif" width="60" height="60" border="0" alt="">';
InfoBox[5] = '<img src="/Grafiken/menu/0005.gif" width="60" height="60" border="0" alt="">';
InfoBox[6] = '<img src="/Grafiken/menu/0006.gif" width="60" height="60" border="0" alt="">';
InfoBox[7] = '<img src="/Grafiken/menu/0007.gif" width="60" height="60" border="0" alt="">';
InfoBox[8] = '<img src="/Grafiken/menu/0008.gif" width="60" height="60" border="0" alt="">';
InfoBox[9] = '<img src="/Grafiken/menu/0009.gif" width="60" height="60" border="0" alt="">';
InfoBox[10] = '<img src="/Grafiken/menu/0010.gif" width="60" height="60" border="0" alt="">';
InfoBox[11] = '<img src="/Grafiken/menu/0011.gif" width="60" height="60" border="0" alt="">';
InfoBox[12] = '<img src="/Grafiken/menu/0012.gif" width="60" height="60" border="0" alt="">';
InfoBox[13] = '<img src="/Grafiken/menu/0013.gif" width="60" height="60" border="0" alt="">';
InfoBox[14] = '<img src="/Grafiken/menu/0014.gif" width="60" height="60" border="0" alt="">';
InfoBox[15] = '<img src="/Grafiken/menu/0015.gif" width="60" height="60" border="0" alt="">';
InfoBox[16] = '<img src="/Grafiken/menu/0016.gif" width="60" height="60" border="0" alt="">';
InfoBox[17] = '<img src="/Grafiken/menu/0017.gif" width="60" height="60" border="0" alt="">';
InfoBox[18] = '<img src="/Grafiken/menu/0018.gif" width="60" height="60" border="0" alt="">';
InfoBox[19] = '<img src="/Grafiken/menu/0019.gif" width="60" height="60" border="0" alt="">';
InfoBox[20] = '<img src="/Grafiken/menu/0020.gif" width="60" height="60" border="0" alt="">';
InfoBox[21] = '<img src="/Grafiken/menu/0021.gif" width="60" height="60" border="0" alt="">';
InfoBox[22] = '<img src="/Grafiken/menu/0022.gif" width="60" height="60" border="0" alt="">';
InfoBox[23] = '<img src="/Grafiken/menu/0023.gif" width="60" height="60" border="0" alt="">';
InfoBox[24] = '<img src="/Grafiken/menu/0024.gif" width="60" height="60" border="0" alt="">';
InfoBox[25] = '<img src="/Grafiken/menu/0026.gif" width="60" height="60" border="0" alt="">';
InfoBox[26] = '<img src="/Grafiken/menu/0026.gif" width="60" height="60" border="0" alt="">';
InfoBox[27] = '<img src="/Grafiken/menu/0027.gif" width="60" height="60" border="0" alt="">';
InfoBox[28] = '<img src="/Grafiken/menu/0028.gif" width="60" height="60" border="0" alt="">';

if (document.layers) {navigator.family = "nn4";}
if (document.all) {navigator.family = "ie4";}
if (window.navigator.userAgent.toLowerCase().match("gecko")) {navigator.family = "gecko";} 

var overdiv="0";


function BoxAnzeigen(a)
{
if(!InfoBox[a]){InfoBox[a]="<font color=red>Dieses PopUp (#"+a+") ist nicht korrekt definiert<br>Die Beschreibung fehlt. Ein Array-Element mit dieser Index-Nummer wurde nicht definiert!</font>";}

Inhalt = InfoBox[a];


if(navigator.family =="nn4") {
        document.InfoBox2.document.write(Inhalt);
        document.InfoBox2.document.close();
        document.InfoBox2.left=x+1;
        document.InfoBox2.top=y-1;
        }
else if(navigator.family =="ie4"){
        InfoBox2.innerHTML=Inhalt;
        InfoBox2.style.pixelLeft=x+1;
        InfoBox2.style.pixelTop=y-1;
        }
else if(navigator.family =="gecko"){
        document.getElementById("InfoBox2").innerHTML=Inhalt;
        
        document.getElementById("InfoBox2").style.left=20;
        document.getElementById("InfoBox2").style.top="-1";
        document.getElementById("InfoBox2").style.visibility = "visible";}
}


function BoxAusblenden(){
if (overdiv == "0") {
        if(navigator.family =="nn4") {eval(document.InfoBox2.top="-1000");}
        else if(navigator.family =="ie4"){InfoBox2.innerHTML="";InfoBox2.style.pixelTop=y-1000;}
        else if(navigator.family =="gecko") {document.getElementById("InfoBox2").style.visibility = 'hidden';}
        }
}



// überwacht Maus-Position / plaziert die InfoBox2 dementsprechend
// außer beim alten Netscape

var isNav = (navigator.appName.indexOf("Netscape") !=-1);

function Position(e){

// entweder feste x- / y-Position für die InfoBox2
if(navigator.family =="nn4") {
 x = -10; // Infobox x-Position bei 300 Px (horizontal)
 y = 15;   // Infobox y-Position bei 20 Px (vertikal);
        }
else if(navigator.family =="ie4"){
 x = -10; // Infobox x-Position bei 300 Px (horizontal)
 y = 15;   // Infobox y-Position bei 20 Px (vertikal)
        }
else if(navigator.family =="gecko"){
 x = -20; // Infobox x-Position bei 300 Px (horizontal)
 y = 15;   // Infobox y-Position bei 20 Px (vertikal)
        }
// oder Plazierung neben Mauszeiger
// x = (isNav) ? e.pageX : event.clientX + document.body.scrollLeft;
// y = (isNav) ? e.pageY : event.clientY + document.body.scrollTop;

}

if (isNav){document.captureEvents(Event.mouseMove);}
document.onmousemove = Position;


function loadScript(scriptname) {   
  var snode = document.createElement('script');   
  snode.setAttribute('type','text/javascript');   
  snode.setAttribute('rel',scriptname);   
  document.getElementsByTagName('head')[0].appendChild(snode);   
}
function load_style(url) {
 a = document.createElement('link');
 a.setAttribute('type','text/css');   
 a.setAttribute('rel','stylesheet');
 a.setAttribute('href',url);
 document.getElementsByTagName('head')[0].appendChild(a);
}
// aufruf über Datei name: zbs. test.js oder test.css


// ZeitDivEinblenden

// Eingabe: von Datum, bis Datum, so,mo,di,mi,do,fr,sa, id_an_aus, id_default

// zbsp: 01.01.2012,10.01.2012,so,0,0,0,0,0,sa,ID_DIV,ID_standart_anzeige  -> anzeige nur so. und sa.

// nicht benötigte Angaben einfach auf "0" stellen !

// Aufruf : ZeitDivEinblenden("01.01.2012","20.01.2012","so","mo","di","mi","do","fr","sa","id_an_aus","id_default");

function in_array(item,arr) { for(var p=0;p<arr.length;p++) { if (item == arr[p]) return true; } return false; }
function ZeitDivEinblenden(vonDatum,bisDatum,so_,mo_,di_,mi_,do_,fr_,sa_,id_an_aus,id_default) 
{
var jetzt = new Date(); var Tag = jetzt.getDate(); var Jahr = jetzt.getFullYear(); var Monat = jetzt.getMonth()+1;
var TagInWoche = jetzt.getDay(); var Wochentag = new Array("so", "mo", "di", "mi", "do", "fr", "sa"); 
var NurTage = new Array(so_,mo_,di_,mi_,do_,fr_,sa_); var str1 = vonDatum; var str2 = bisDatum;
var dt1  = parseInt(str1.substring(0,2),10); var mon1 = parseInt(str1.substring(3,5),10);
var yr1  = parseInt(str1.substring(6,10),10); var dt2  = parseInt(str2.substring(0,2),10); 
var mon2 = parseInt(str2.substring(3,5),10);  var yr2  = parseInt(str2.substring(6,10),10); 
var date1 = new Date(yr1, mon1, dt1); var date2 = new Date(yr2, mon2, dt2); 
var date3 = new Date(Jahr, Monat, Tag); 
if(date1 > date3 || date2 <= date3) {
if (id_default) { if (document.getElementById(id_default)) document.getElementById(id_default).style.display = 'block'; }
} 
else 
{ 
if (in_array(Wochentag[TagInWoche],NurTage)) { if (document.getElementById(id_an_aus)) document.getElementById(id_an_aus).style.display = 'block'; }} 
} 
