

function swapBackgroundColor(sElementId, sNewColor, sPointer) 
	{
		e = gE(sElementId);
		if(e){
			eval( "e.style.backgroundColor='"+sNewColor+"';")
			if (sPointer==''){
				eval( "e.style.cursor='default';");
			} else {
				if (navigator.appName=="Microsoft Internet Explorer" && navigator.appVersion.substring(22,23)<="5") {
					eval( "e.style.cursor='default';");
				} else {						
					eval( "e.style.cursor='"+sPointer+"';");
				}
			}
		}
	}

// Eine funktion um die Textfarbe des aktuellen Objekts zu ändern
function newTextColor(i, newColor)
           {
              //i.firstChild.style.color=newColor;
           }

function onFocusClearDefault( thisValue, defaultValue )
	{
	if ( thisValue == defaultValue )
	{
		return '';
	}
	return thisValue;
}

function swapImage(sElementId, sNewImgUrl) {
	document.getElementById(sElementId).src = sNewImgUrl;
}