//MOuse over IMG-Changer
function flip(img){
	//aufruf: onMouseOver="flip(eval(this))" onMouseOut="flip(eval(this))"
	var src_str=img.src;
	//Sucht, ob in src des files der String "_over.gif" vorkommt...
	if (src_str.match(/_over\.gif$/)){
		var ausdruck = /^(.*)_over\.gif$/;
		ausdruck.exec(src_str);
		//...und ersetzt ihn wenn ja durch ".gif"
		img.src = RegExp.$1 + ".gif";
		
	} else {
		//wenn nicht wird ".gif"...
		var ausdruck = /^(.*)\.gif$/;
		ausdruck.exec(src_str);
		//...durch "_over.gif" ersetzt
		img.src = RegExp.$1 + "_over.gif";
	}
}

//Zentriertes Window aufpoppen--------------------------------------------------------------------------
function poptext(URL, breite, hoehe){

	if (!breite){var breite=500;}

	if (!hoehe)	{var hoehe=450;}

	

	var top=(screen.availHeight-hoehe)/2;

	var left=(screen.availWidth-breite)/2;

	var args = "height="+hoehe+", width="+breite+",menubar=0,resizable=1,scrollbars=1,status=0,titlebar=0,toolbar=0,left="+left+",top="+top;

	popwin=window.open(URL,'popname',args);

	popwin.focus();

}


function popfunc(URL, breite, hoehe)

{

	if (!breite){var breite=420;}

	if (!hoehe)	{var hoehe=415;}

	

	var top=(screen.availHeight-hoehe)/2;

	var left=(screen.availWidth-breite)/2;

	var args = "height="+hoehe+", width="+breite+",menubar=0,resizable=1,scrollbars=0,status=0,titlebar=0,toolbar=0,left="+left+",top="+top;

	popwin=window.open(URL,'popname',args);

	popwin.focus();

}