pfeiln = new Image();
pfeiln.src = "img/pfeil.gif";
pfeilr = new Image();
pfeilr.src = "img/pfeil-r.gif";
pfeilb = new Image();
pfeilb.src = "img/pfeil-b.gif";

function pb() {
	document.getElementById("pfeil").src=pfeilb.src;
}

function pr() {
	document.getElementById("pfeil").src=pfeilr.src;
}

function pn() {
	document.getElementById("pfeil").src=pfeiln.src;
}

function ds(dom,user) {
   document.write("<a href=\"mailto:"+user+'@'+dom+"\">"+user+'@'+dom+"</a>");
}

function adj() {
	ih=0; iw=0;
	if (window.innerHeight) {
		ih=window.innerHeight;
		iw=window.innerWidth;
	} else if (document.documentElement && document.documentElement.clientHeight != 0) {
		ih=document.documentElement.clientHeight;
		iw=document.documentElement.clientWidth;
	} else if (document.body) {
		ih=document.body.clientHeight;
		iw=document.body.clientWidth;
	}
	r=Math.floor((ih-466)/2);
	if (r<10){yval="10px"}else{yval=r+"px"}
	s=Math.floor((iw-790)/2);
	s=2*Math.floor(s/2);
	if (s<10){xval="10px"}else{xval=s+"px"}
	document.getElementById("haupt").style.top=yval;
	document.getElementById("haupt").style.left=xval;
}

