// because MSIE is :hover :focus challenged
function TJKieFormFocus(){ // v1.0 | www.TJKDesign.com
	var Zinput = document.getElementsByTagName("input");
	for(var x = 0; x < Zinput.length; x++){
		Zinput[x].onmouseover = function(){this.className += " IEhover"}
   		Zinput[x].onmouseout = function(){this.className = this.className.replace(" IEhover", "")}
	   	Zinput[x].onfocus = function(){this.className += " IEactive"}
   		Zinput[x].onblur = function(){this.className = this.className.replace(" IEactive", "")}
	}
  	var zSelect = document.getElementsByTagName("select");
  	for(var y = 0; y < zSelect.length; y++){
   		zSelect[y].onmouseover = function(){this.className += " IEhover"}
   		zSelect[y].onmouseout = function(){this.className = this.className.replace(" IEhover", "")}
		zSelect[y].onfocus = function(){this.className += " IEactive"}
   		zSelect[y].onblur = function(){this.className = this.className.replace(" IEactive", "")}
	}

	var zTextarea = document.getElementsByTagName("textarea");
  	for(var z = 0; z < zTextarea.length; z++){
		zTextarea[z].onmouseover = function(){this.className += " IEhover"}
   		zTextarea[z].onmouseout = function(){this.className = this.className.replace(" IEhover", "")}
  		zTextarea[z].onfocus = function(){this.className += " IEactive"}
   		zTextarea[z].onblur = function(){this.className = this.className.replace(" IEactive", "")}
  	}
}
addLoadEvent(function(){if(document.getElementById)TJKieFormFocus()});