window.onload = function()
	{
		var lis = document.getElementsByTagName('li');
		for(i = 0; i < lis.length; i++)
		{
			var li = lis[i];
			if (li.className == 'navuno')
			{
				li.onmouseover = function() { this.getElementsByTagName('div').item(0).style.display = 'block'; this.getElementsByTagName('a').item(0).style.backgroundColor = '#C80071'; this.getElementsByTagName('a').item(0).style.color = '#FFFFFF'; }
				li.onmouseout = function() { this.getElementsByTagName('div').item(0).style.display = 'none'; this.getElementsByTagName('a').item(0).style.backgroundColor = 'transparent' }
			}
			
			if (li.className == 'navdos')
			{
				li.onmouseover = function() { this.getElementsByTagName('div').item(0).style.display = 'block'; this.getElementsByTagName('a').item(0).style.backgroundColor = '#3586A0'; this.getElementsByTagName('a').item(0).style.color = '#FFFFFF'; }
				li.onmouseout = function() { this.getElementsByTagName('div').item(0).style.display = 'none'; this.getElementsByTagName('a').item(0).style.backgroundColor = 'transparent' }
			}
			
			if (li.className == 'navtres')
			{
				li.onmouseover = function() { this.getElementsByTagName('div').item(0).style.display = 'block'; this.getElementsByTagName('a').item(0).style.backgroundColor = '#7FAF1B'; this.getElementsByTagName('a').item(0).style.color = '#FFFFFF'; }
				li.onmouseout = function() { this.getElementsByTagName('div').item(0).style.display = 'none'; this.getElementsByTagName('a').item(0).style.backgroundColor = 'transparent' }
			}
			
			if (li.className == 'navcuatro')
			{
				li.onmouseover = function() { this.getElementsByTagName('div').item(0).style.display = 'block'; this.getElementsByTagName('a').item(0).style.backgroundColor = '#EAAE1C'; this.getElementsByTagName('a').item(0).style.color = '#FFFFFF'; }
				li.onmouseout = function() { this.getElementsByTagName('div').item(0).style.display = 'none'; this.getElementsByTagName('a').item(0).style.backgroundColor = 'transparent' }
			}
			
			if (li.className == 'navcinco')
			{
				li.onmouseover = function() { this.getElementsByTagName('div').item(0).style.display = 'block'; this.getElementsByTagName('a').item(0).style.backgroundColor = '#312D2A'; this.getElementsByTagName('a').item(0).style.color = '#FFFFFF'; }
				li.onmouseout = function() { this.getElementsByTagName('div').item(0).style.display = 'none'; this.getElementsByTagName('a').item(0).style.backgroundColor = 'transparent' }
			}
		}
	}
