/***************************************************************
*
*  Universal formupdate-function
*
*  Copyright notice
*
*  (c) 2007 Gunther Pfannenschmidt
*  All rights reserved
*
*  This script is part of the TYPO3 t3lib/ library provided by
*  Kasper Skaarhoj <kasper@typo3.com> together with TYPO3
*
*  This modified script is part of the TYPO3 sr_feuser_register extension provided by
*  Stanislas Rolland <stanislas.rolland@fructifor.ca> to use form id rather than formname
*
*  Released under GNU/GPL (see license file in tslib/)
*
*  This script is distributed in the hope that it will be useful,
*  but WITHOUT ANY WARRANTY; without even the implied warranty of
*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*
*  This copyright notice MUST APPEAR in all copies of this script
***************************************************************/

function md(obj) {
	switch (obj.id) {
		case "rechtsButtonKlein":
			obj.style.backgroundImage="url(fileadmin/Bilder/klicken_klein_aktiv.gif)";
			break;
		case "rechtsButtonMittel":
			obj.style.backgroundImage="url(fileadmin/Bilder/klicken_mittel_aktiv.gif)";
			break;
		case "rechtsButtonGross":
			obj.style.backgroundImage="url(fileadmin/Bilder/klicken_gross_aktiv.gif)";
			break;
	}
}
function mu(obj) {
	switch (obj.id) {
		case "rechtsButtonKlein":
			obj.style.backgroundImage="url(fileadmin/Bilder/klicken_klein_passiv.gif)";
			break;
		case "rechtsButtonMittel":
			obj.style.backgroundImage="url(fileadmin/Bilder/klicken_mittel_passiv.gif)";
			break;
		case "rechtsButtonGross":
			obj.style.backgroundImage="url(fileadmin/Bilder/klicken_gross_passiv.gif)";
			break;
	}
}
function mo(obj) {
	mu(obj);
}
function mdu(obj) {
	//document.getElementById('search').innerHTML = obj.parentNode.parentNode.parentNode.id;
	if (navigator.appName != "Netscape") {
		obj.parentNode.parentNode.click();
	}
}

