var _onloadFunctions = [];

function Page_OnLoad()
{
	for (var i = 0; i < _onloadFunctions.length; i++)
	{
		var item = _onloadFunctions[i];
		if (typeof(item) == "function")
		{
			item();
		}
	}
}

function topMenuClick(obj)
{
    jQuery(".divSubMenu").hide();

    var href = obj.href;
    var pos = href.indexOf("#");
    if (pos > -1)
    {
        href = href.substring(pos);
        jQuery(href).show();
        return false;
    }
    else
    {
        return true;
    }
}

