if(document.images) {
          var onImages = new Array();
          var offImages = new Array();
          
          for(i = 1; i <= 7; i++) {
               onImages[i] = new Image(214, 19);
               offImages[i] = new Image(214, 19);
          } // for

               offImages[1].src = "images/1.jpg";
               offImages[2].src = "images/2.jpg";
               offImages[3].src = "images/3.jpg";
               offImages[4].src = "images/4.jpg";
               offImages[5].src = "images/5.jpg";
			   offImages[6].src = "images/6.jpg";
			   offImages[7].src = "images/7.jpg";
    
               onImages[1].src = "images/1_on.jpg";
               onImages[2].src = "images/2_on.jpg";
               onImages[3].src = "images/3_on.jpg";
               onImages[4].src = "images/4_on.jpg";
               onImages[5].src = "images/5_on.jpg";
               onImages[6].src = "images/6_on.jpg";
               onImages[7].src = "images/7_on.jpg";

	} // if
	
	function imageOn(i) {
		if(document.images) {
			document.images["nav_" + i].src = onImages[i].src;
		} // if
	} // imageOn()
	
	function imageOff(i) {
		if(document.images) {
			document.images["nav_" + i].src = offImages[i].src;
		} // if
	} // imageOff()



function FocusCol(obj)	{
if (document.getElementbyId || document.all)
	{
	obj.style.color="#000000";
	obj.style.backgroundColor="#99CCFF";
	}
}

function BlurCol(obj)	{
if (document.getElementbyId || document.all)
	{
	obj.style.color="#000000";
	obj.style.backgroundColor="#FFFFFF";
	}
}

function BlurColCB(obj)	{
if (document.getElementbyId || document.all)
	{
	obj.style.color="#FFFFFF";
	obj.style.backgroundColor="#99CCFF";
	}
}



function unblur() {
this.blur();
}

function blurLinks() {
if (!document.getElementById) return;
theLinks = document.getElementsByTagName("a");
for(i=0; i<theLinks.length; i++) { 
theLinks[i].onfocus = unblur;
}
}



function newImage(arg) {
        if (document.images) {
                rslt = new Image();
                rslt.src = arg;
                return rslt;
        }
}

function changeImages() {
        if (document.images) {
                for (var i=0; i<changeImages.arguments.length; i+=2) {
                        document[changeImages.arguments[i]].src = changeImages.arguments[i+1];
                }
        }
}


var ie=(document.all)? true: false;

function rahmen(x)
{
if (ie) x.blur()
}

newWindow="";
function OpenNewWindow(Picture,Breit,Hoch,Alttext) {
xsize = Breit+1;
ysize = Hoch+25;

ScreenWidth = screen.width;
ScreenHeight = screen.height;

/*xpos = (ScreenWidth/2)+(xsize/2 - 50);*/
/*ypos = (ScreenHeight/2)-((ysize/2));*/

xpos = 0;
ypos = 0;

if (!newWindow.closed && newWindow.location) {newWindow.close();}

html = ('<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de"><head><title>'+Alttext+'</title><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1" /><META http-equiv="imagetoolbar" content="no"><style type="text/css">html, body, p, img, a {margin:0; padding:0; border: 0; font-family: "Trebuchet MS",Verdana,Geneva,Arial,sans-serif; color:#fff; text-align: center;} body {font-size:100.01%; background:#3E6DA5;} p {font-size: 0.8em;}</style></head><body onload="focus()"><p><img src="'+Picture+'" alt="'+Alttext+'" width="'+Breit+'" height="'+Hoch+'" /><br /><a href="javascript:self.close()">Fenster&nbsp;schlie&szlig;en</a>&nbsp;|&nbsp;<a href="javascript:window.print()">Drucken</a></p></body></html>');

newWindow=window.open("","Picture","height="+ysize+",width="+xsize+",resizable=yes,top="+ypos+",left="+xpos+"");

  newWindow.document.open("text/html", "replace")
  newWindow.document.write(html)
  newWindow.document.close()

  return false;
}



