﻿// When the window loads do lots of initialisations :)
window.onload = function () { initialize_page(); }

// Entry point for initialisations.
function initialize_page()
{
    // Setup home tooltips IE6 Fix
    initHomeToolTipsIe6Fix();
}

function initHomeToolTipsIe6Fix()
{
	if (document.all && document.getElementById)
	{
        navRoot = $(".nav_sub_main")

		for (c=0; c<navRoot.length; c++)
		{
			for (i=0; i<navRoot[c].childNodes.length; i++)
			{
				node = navRoot[c].childNodes[i];
				if (node.nodeName=="LI")
				{
					node.onmouseover=function()
					{
						this.className+=" over";
					}
					node.onmouseout=function()
					{
						this.className=this.className.replace (" over", "");
					}
				}
			}
		}
	}
}