
var NN3 = false;
image1= new Image();
image1.src = "menu/home.gif";
image1on = new Image();
image1on.src = "menu/home-a.gif";

image2= new Image();
image2.src = "menu/leistungen.gif";
image2on = new Image();
image2on.src = "menu/leistungen-a.gif";

image3= new Image();
image3.src = "menu/portfolio.gif";
image3on = new Image();
image3on.src = "menu/portfolio-a.gif";

image4= new Image();
image4.src = "menu/vita.gif";
image4on = new Image();
image4on.src = "menu/vita-a.gif";

image5= new Image();
image5.src = "menu/software.gif";
image5on = new Image();
image5on.src = "menu/software-a.gif";

image6= new Image();
image6.src = "menu/support.gif";
image6on = new Image();
image6on.src = "menu/support-a.gif";

image7= new Image();
image7.src = "menu/kontakt.gif";
image7on = new Image();
image7on.src = "menu/kontakt-a.gif";

function on3(name)   {
        document[name].src = eval(name + "on.src");
}
function off3(name)  {
        document[name].src = eval(name + ".src");
}
NN3 = true;

function on(name)  {
        if (NN3) on3(name);
}
function off(name)  {
        if (NN3) off3(name);
}


function write_date()
{
var thetime=new Date();

var nday=thetime.getDay();
var nmonth=thetime.getMonth();
var ntoday=thetime.getDate();
var nyear=thetime.getYear();
var AorP=" ";

if (nday==0)
  nday="Sonntag";
if (nday==1)
  nday="Montag";
if (nday==2)
  nday="Dienstag";
if (nday==3)
  nday="Mittwoch";
if (nday==4)
  nday="Donnerstag";
if (nday==5)
  nday="Freitag";
if (nday==6)
  nday="Samstag";

if (nmonth==11)
  nmonth="Dezember";
if (nmonth==0)
  nmonth="Januar";
if (nmonth==1)
  nmonth="Februar";
if (nmonth==2)
  nmonth="Maerz";
if (nmonth==3)
  nmonth="April";
if (nmonth==4)
  nmonth="Mai";
if (nmonth==5)
  nmonth="Juni";
if (nmonth==6)
  nmonth="Juli";
if (nmonth==7)
  nmonth="August";
if (nmonth==8)
  nmonth="September";
if (nmonth==9)
  nmonth="Oktober";
if (nmonth==10)
  nmonth="November";


if (nyear<=99)
  nyear= "19"+nyear;

if ((nyear>99) && (nyear<2000))
 nyear+=1900;

document.write(""+nday+", "+ntoday+"-"+nmonth+"-"+nyear);

} 


