function popup (url) {
 fenster = window.open(url, "Produktpalette", "width=640,height=480,resizable=no,scrolling=no,toolbar=0,status=0");
 fenster.focus();
 return false;
}

function popup2 (url) {
 fenster = window.open(url, "Informationsforum", "width=760,height=450,resizable=no,scrolling=no,toolbar=0,status=0");
 fenster.focus();
 return false;
}

function popup3 (url) {
 fenster = window.open(url, "Video", "width=400,height=450,resizable=no,scrolling=no,toolbar=0,status=0");
 fenster.focus();
 return false;
}


if(document.images)
{
willkommenoff = new Image();
willkommenoff.src = "images/menu_willkommen.gif";
willkommenon = new Image();
willkommenon.src = "images/menu_willkommen_s.gif";

produktionoff = new Image();
produktionoff.src = "images/menu_produktion.gif";
produktionon = new Image();
produktionon.src = "images/menu_produktion_s.gif";

kontakteoff = new Image();
kontakteoff.src = "images/menu_kontakte.gif";
kontakteon = new Image();
kontakteon.src = "images/menu_kontakte_s.gif";

ppoff = new Image();
ppoff.src = "images/top_pp.gif";
ppon = new Image();
ppon.src = "images/top_pp_s.gif";

ifoff = new Image();
ifoff.src = "images/top_if.gif";
ifon = new Image();
ifon.src = "images/top_if_s.gif";

pvoff = new Image();
pvoff.src = "images/top_pv.gif";
pvon = new Image();
pvon.src = "images/top_pv_s.gif";

videooff = new Image();
videooff.src = "images/video.gif";
videoon = new Image();
videoon.src = "images/video_s.gif";

gesamtkatalogoff = new Image();
gesamtkatalogoff.src = "images/gesamtkatalog.gif";
gesamtkatalogon = new Image();
gesamtkatalogon.src = "images/gesamtkatalog_s.gif";

katalogauszugoff = new Image();
katalogauszugoff.src = "images/katalogauszug.gif";
katalogauszugon = new Image();
katalogauszugon.src = "images/katalogauszug_s.gif";

ringschraubenoff = new Image();
ringschraubenoff.src = "images/pp/ringschrauben.gif";
ringschraubenon = new Image();
ringschraubenon.src = "images/pp/ringschrauben_s.gif";

winkelhakenoff = new Image();
winkelhakenoff.src = "images/pp/winkelhaken.gif";
winkelhakenon = new Image();
winkelhakenon.src = "images/pp/winkelhaken_s.gif";

gebhakenoff = new Image();
gebhakenoff.src = "images/pp/gebhaken.gif";
gebhakenon = new Image();
gebhakenon.src = "images/pp/gebhaken_s.gif";

gewhakenoff = new Image();
gewhakenoff.src = "images/pp/gewhaken.gif";
gewhakenon = new Image();
gewhakenon.src = "images/pp/gewhaken_s.gif";

kettenoff = new Image();
kettenoff.src = "images/pp/ketten.gif";
kettenon = new Image();
kettenon.src = "images/pp/ketten_s.gif";

fensteroff = new Image();
fensteroff.src = "images/pp/fenster.gif";
fensteron = new Image();
fensteron.src = "images/pp/fenster_s.gif";

geruestoff = new Image();
geruestoff.src = "images/pp/geruest.gif";
gerueston = new Image();
gerueston.src = "images/pp/geruest_s.gif";

sanitaeroff = new Image();
sanitaeroff.src = "images/pp/sanitaer.gif";
sanitaeron = new Image();
sanitaeron.src = "images/pp/sanitaer_s.gif";

ringeoff = new Image();
ringeoff.src = "images/pp/ringe.gif";
ringeon = new Image();
ringeon.src = "images/pp/ringe_s.gif";

bildoff = new Image();
bildoff.src = "images/pp/bild.gif";
bildon = new Image();
bildon.src = "images/pp/bild_s.gif";

duebeloff = new Image();
duebeloff.src = "images/pp/duebel.gif";
duebelon = new Image();
duebelon.src = "images/pp/duebel_s.gif";

blechwarenoff = new Image();
blechwarenoff.src = "images/pp/blechwaren.gif";
blechwarenon = new Image();
blechwarenon.src = "images/pp/blechwaren_s.gif";

sonstigeoff = new Image();
sonstigeoff.src = "images/pp/sonstige.gif";
sonstigeon = new Image();
sonstigeon.src = "images/pp/sonstige_s.gif";

backoff = new Image();
backoff.src = "images/pp_back.gif";
backon = new Image();
backon.src = "images/pp_back_s.gif";

}

function imgChange(imgName,imgSrc)
{
   strStat = imgName;
   strStat = strStat.toUpperCase();

   if(document.images)
   {
      imgNeu = eval(imgSrc + '.src');
      document[imgName].src = imgNeu;
      if(imgSrc.indexOf("off") == -1)
        {self.status = strStat;}
      else
        {self.status = "";}
    }
}

