//Contents of this file are Copyright,loss.de - Webdesign und Programmierung / 17-03-2006
//
// Diese Software ist urheberrechtlich geschützt. 
// Es ist verboten, den Source Code zu veränden,
// sowie die Software mehr als lizensiert zu nutzen. 
// Zuwiderhandlungen werden strafrechtlich verfolgt.



function vorladen()
{
	// main menue
	    pic1out=new Image; pic1out.src="images/navi/firmenprofil.gif";
		pic1on=new Image; pic1on.src="images/navi/firmenprofil_on.gif";
		pic2out=new Image; pic2out.src="images/navi/philosophie.gif";
		pic2on=new Image; pic2on.src="images/navi/philosophie_on.gif";
		pic3out=new Image; pic3out.src="images/navi/fuer_unternehmen.gif";
		pic3on=new Image; pic3on.src="images/navi/fuer_unternehmen_on.gif";
		pic4out=new Image; pic4out.src="images/navi/fuer_bewerber.gif";
		pic4on=new Image; pic4on.src="images/navi/fuer_bewerber_on.gif";
		pic5out=new Image; pic5out.src="images/navi/kontakt.gif";
		pic5on=new Image; pic5on.src="images/navi/kontakt_on.gif";
		pic6out=new Image; pic6out.src="images/navi/impressum.gif";
		pic6on=new Image; pic6on.src="images/navi/impressum.gif";
}

function clickon(name)
{
document[outpic].src=eval(outpic+"out.src");
document[name].src=eval(name+"on.src");
outpic=name;
}

function change(name, overout)
{
if (name==outpic){}
else
{
this.document[name].src=eval(name+overout+".src");
}
}


function zeigen(name)
{
if(document.layers)
 {
 window.document.layers[name].visibility = 'show';
 }
else if(document.all)
 {
 window.document.all[name].style.visibility = 'visible';
 }
else if(document.getElementById)
 {
 window.document.getElementById(name).style.visibility = 'visible';
 }
}


function verbergen(name)
{
if(document.layers)
 {
 window.document.layers[name].visibility = 'hide';
 }
else if(document.all)
 {
 window.document.all[name].style.visibility = 'hidden';
 }
else if(document.getElementById)
 {
 window.document.getElementById(name).style.visibility = 'hidden';
 }
}


function msover(Name,img,bild)
{
document[Name].src="images/"+img+".gif";
document['bild'].src="images/firmenprofil/"+bild+".gif";
}


function msout(Name,img,bild)
{
document[Name].src="images/"+img + ".gif";
document['bild'].src="images/"+bild+".jpg";
}



