<!--//--><![CDATA[//><!--

/* Script zum Nachrüsten von Hover-Funktionalitäten
   für den IE6
   ----------------------------------------------------
   Es wird an den onload-Event eine Funktion angehängt,
   die den input-Elementen eine Klasse ieHover zuweist.
   Dies kann dann im Stylesheet mit angegeben werden,
   um den Hover-Effekt zu erzeugen
*/

ieHover = function() {
	var ieInputs = document.getElementsByTagName("input");
	for (var i=0; i<ieInputs.length; i++) {
		ieInputs[i].onmouseover=function() {
			this.className+=" iehover";
		}
                ieInputs[i].onfocus=function() {
			this.className+=" iehover";
		}
 
		ieInputs[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" iehover\\b"), "");
		}
		ieInputs[i].onblur=function() {
			this.className=this.className.replace(new RegExp(" iehover\\b"), "");
		}

	}

	var ieTxtAreas = document.getElementsByTagName("textarea");
	for (var i=0; i<ieTxtAreas.length; i++) {
		ieTxtAreas[i].onmouseover=function() {
			this.className+=" iehover";
		}
		ieTxtAreas[i].onfocus=function() {
			this.className+=" iehover";
		}
		ieTxtAreas[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" iehover\\b"), "");
		}
		ieTxtAreas[i].onblur=function() {
			this.className=this.className.replace(new RegExp(" iehover\\b"), "");
		}
	}


}
if (window.attachEvent) window.attachEvent("onload", ieHover);

//--><!]]>

