function popwindow(newUrl) {
	myWin= open("linksseite.htm", "Links", "width=15,height=15,left=0,top=0,menubar=yes,toolbar=yes,status=yes,scrollbars=yes,resizable=yes");
	for ( x = 15; x < screen.availWidth; x=x+5){
		myWin.resizeTo(x,25);
	}

	for ( y = 25; y < screen.availHeight; y=y+5){
		myWin.resizeTo(x,y);
	}			
	myWin.document.location.href = newUrl;
}

function openWinXX(xhref) 
{
myWin=open(xhref, "Info", "left=0,top=0,width=600,height=230,scrollbars=no,resizable=yes");
}

function openWinXXX(xhref) {
    myWin = open(xhref, "Info", "left=0,top=0,width=384,height=300,scrollbars=yes,resizable=yes");
}

function bildladen(xbild) {
	Bild = new Image();
	Bild.src = xbild;
	parent.Hauptframe.document.images[0].src = Bild.src;
}

function titelladen(xbild) {
	Bild = new Image();
	Bild.src = xbild;
	document.images[1].src = Bild.src;
}

function inline(seite) {
	parent.Hauptframe.I1.document.location.href = seite;
	var punkt = seite.indexOf(".");
	var strBild = 'images/' + seite.substring(0, punkt) + '.jpg';
	bildladen(strBild);
 }


function rahmenvorladen() {
	Bild= new Image();
	Bild.src = "images/streifen-oben-neu.jpg";
}

function bildvorladen() {
	Bild1= new Image();
	Bild1.src = "images/hp-actsys.jpg";
	Bild2= new Image();
	Bild2.src = "images/hp-baywell.jpg";
	Bild3= new Image();
	Bild3.src = "images/hp-ohrwaschl.jpg";
}

function mehr() {
 if(document.getElementById) {
 	 if(document.getElementById("more").style.display == "block") {
	   document.getElementById("more").style.display = "none";
	   } else {
	   document.getElementById("more").style.display = "block";
	   }
	}	  
}

//Highlight image script- By Dynamic Drive
//For full source code and more DHTML scripts, visit http://www.dynamicdrive.com
//This credit MUST stay intact for use

function makevisible(cur,which){
strength=(which==0)? 0.3 : 1

if (cur.style.MozOpacity)
cur.style.MozOpacity=strength
else if (cur.filters)
cur.filters.alpha.opacity=strength*100
}
