﻿function dropdownInit(wrapper, tagName)
{
	for(i = 0; i < wrapper.getElementsByTagName(tagName).length; i++)
	{
		wrapper.getElementsByTagName(tagName)[i].onmouseover = function()
		{
			this.className = (this.className != "" ? this.className + " " : "") + "ieHover";
		}
		wrapper.getElementsByTagName(tagName)[i].onmouseout = function()
		{
			this.className = this.className.replace(/ *ieHover/i, "");
		}
	}
}
