function openBild(p,w,h)
{
	var fenster = window.open(p,'Bild','width='+w+', height='+h+',menubar=no,toolbar=no,location=no,scrollbars=no,resizable=no');
}

function newImage(arg)
{
	rslt = new Image();
	rslt.src = arg;
}

function changeImages()
{
	for (var i=0; i<changeImages.arguments.length; i+=2) $(changeImages.arguments[i]).src = changeImages.arguments[i+1];
}



//*******************************************************************
//Son of Suckerfish Dropdowns MENU

if (document.all && parseInt(navigator.appVersion.substr(navigator.appVersion.indexOf('MSIE') + 5), 10) < 7)
{
sfHover = function() {
	var sfEls = document.getElementById("menumain1").getElementsByTagName("LI");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			this.className+=" sfhover";
		}
		sfEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
		}
	}
	var sfEls = document.getElementById("topmenu").getElementsByTagName("LI");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			this.className+=" sfhover";
		}
		sfEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
		}
	}
	var sfEls = document.getElementById("sidemenu").getElementsByTagName("LI");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			this.className+=" sfhover";
		}
		sfEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", sfHover);
}
//*******************************************************************
