function newImage(arg) {
	if (document.images) {
		rslt = new Image();
		rslt.src = arg;
		return rslt;
	}
}
function ON_MOUSEOVER(bild_name, text) {
	if (self.document.images) {
		self.document[bild_name].src = eval(bild_name+"_o.src");
	}
}
function ON_MOUSEOUT(bild_name) {
	if (self.document.images) {
		if ((top.index_focus == bild_name) & (top.index_focus != "0")) {
			self.document[bild_name].src = eval(bild_name+"_o.src");
			return;
		}
		self.document[bild_name].src = eval(bild_name+"_n.src");
	}
}
function INIT() {
	top.index_focus = "0";
	top.defaultStatus = "";
	top.status = "";
	return true;
}
function ON_AKTIV(seite) {
	if (top.index_focus != "0") {
		self.document[top.index_focus].src = eval(top.index_focus+"_n.src");
	}
	self.document[seite].src = eval(seite+"_o.src");
	top.index_focus = seite;
}
function buildmail(referer,server){
	var1 = "ma";
	var2 = "il";
	var3 = "to";
	return var1+var2+var3+":"+referer+"@"+server;
}
function sendmail(referer,server){
	window.location=buildmail(referer,server);
}
function printmail(referer,server){
	document.write('<a href="'+buildmail(referer,server)+'">'+referer+'@'+server);
}
function newWindow(url,width,height){
content=window.open(url,'extra','width='+width+',height='+height+',menubar=no,scrollbars=no,toolbar=no,location=no,status=no,resizable=no,fullscreen=no');
//content.moveTo(0,0);
content.focus();
}
function bgChange(tgt,num){
	switch (num){
		case 1:
			tgt.style.backgroundImage = "url('"+bg1+"')";
			break;
		case 2:
			tgt.style.backgroundImage = "url('"+bg2+"')";
			break;
		default:
			tgt.style.backgroundImage = "";
			break;
	}
}
