    //Funktion zur Größenänderung der iframes
    function resize_iframe()
    {
	    if (parent.frames[0])
	    {
			var docHeight = 0;

            if (typeof document.height != 'undefined') {
                docHeight = document.height;
            }
            else if (document.compatMode && document.compatMode != 'BackCompat') {
                docHeight = document.documentElement.scrollHeight;
            }
            else if (document.body && typeof document.body.scrollHeight != 'undefined') {
                docHeight = document.body.scrollHeight;
            }

		    if (docHeight + 20 > 300)
		    {
				top.document.getElementById("s3cIFrame").style.height = docHeight + 20 + "px";
		    }
		    else
		    {
			    top.document.getElementById("s3cIFrame").style.height = 300 + "px";
		    }
        }
    }

function addEventHandler()
{
	var inputarray = new Array;
	inputarray = document.getElementsByTagName("input");

	for (var i=0; i<inputarray.length; i++)
	{
		if (inputarray[i].type == "text")
		{
			addEvent(inputarray[i], "focus", function() { this.style.background = '#FDEADB'; });
			addEvent(inputarray[i], "blur", function() { this.style.background = '#ffffff'; });
		}
	}

	var selectarray = new Array;
	selectarray =  document.getElementsByTagName("select");

	for (var i=0; i<selectarray.length; i++)
	{
		addEvent(selectarray[i], "focus", function() { this.style.background = '#FDEADB'; });
		addEvent(selectarray[i], "blur", function() { this.style.background = '#ffffff'; });
	}
}

function addEvent( obj, type, fn )
{
	if (obj.addEventListener) {
		obj.addEventListener( type, fn, false );
	} else if (obj.attachEvent) {
		obj["e"+type+fn] = fn;
		obj[type+fn] = function() { obj["e"+type+fn]( window.event ); }
		obj.attachEvent( "on"+type, obj[type+fn] );
	}
}
