// adds hover functionality to li-elements by adding an additional css class
if (window.attachEvent) window.attachEvent("onload", function() 
	{
		var lists = document.getElementsByTagName('INPUT');
		for ( var i=0; i<lists.length; i++)
		{
			lists[i].onfocus = function()
			{
				this.className += " ieInputFocus";
			}
			lists[i].onblur = function()
			{
				this.className = this.className.replace( new RegExp(" ieInputFocus\\b"), "" );
			}
		}
		var lists = document.getElementsByTagName('SELECT');
		for ( var i=0; i<lists.length; i++)
		{
			lists[i].onfocus = function()
			{
				this.className += " ieSelectFocus";
			}
			lists[i].onblur = function()
			{
				this.className = this.className.replace( new RegExp(" ieSelectFocus\\b"), "" );
			}
		}
		var lists = document.getElementsByTagName('TEXTAREA');
		for ( var i=0; i<lists.length; i++)
		{
			lists[i].onfocus = function()
			{
				this.className += " ieTextareaFocus";
			}
			lists[i].onblur = function()
			{
				this.className = this.className.replace( new RegExp(" ieTextareaFocus\\b"), "" );
			}
		}
	}
);