ieHover = function() {
	// input Tags selektieren
	var sfEls = document.getElementsByTagName("input");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			this.className+=" iehover";
		}
		sfEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" iehover\\b"), "");
		}
	}
	// select Tags selektieren
	var sfEls = document.getElementsByTagName("select");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			this.className+=" iehover";
		}
		sfEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" iehover\\b"), "");
		}
	}
	// textarea Tags selektieren
	var sfEls = document.getElementsByTagName("textarea");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			this.className+=" iehover";
		}
		sfEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" iehover\\b"), "");
		}
	}
}
ieFocus = function() {
	// input Tags selektieren
	var sfEls = document.getElementsByTagName("input");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onclick=function() {
			this.className+=" iefocus";
		}
		sfEls[i].onblur=function() {
			this.className=this.className.replace(new RegExp(" iefocus\\b"), "");
		}
	}
	// select Tags selektieren
	var sfEls = document.getElementsByTagName("select");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onfocusin=function() {
			this.className+=" iefocus";
		}
		sfEls[i].onfocusout=function() {
			this.className=this.className.replace(new RegExp(" iefocus\\b"), "");
		}
	}
	// textarea Tags selektieren
	var sfEls = document.getElementsByTagName("textarea");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onclick=function() {
			this.className+=" iefocus";
		}
		sfEls[i].onblur=function() {
			this.className=this.className.replace(new RegExp(" iefocus\\b"), "");
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", ieHover);
if (window.attachEvent) window.attachEvent("onload", ieFocus);

