function refreshContent(strPageName)
{
    document.body.style.cursor = "wait";
    setTimeout("_refreshContent('" + strPageName + "')", 10);
}

function _refreshContent(strPageName)
{

    var objAjax, objMainContent;
	
	objAjax = new CAjax();
	objAjax.create();

	if (objAjax.open(strPageName, true))
	{
		objMainContent = document.getElementById("dynamicContent");
		objMainContent.innerHTML = objAjax.getResponse();
	}

	document.body.style.cursor = "default";
}




function refreshMenu(strPageName)
{
    document.body.style.cursor = "wait";
    setTimeout("_refreshMenu('" + strPageName + "')", 10);
}

function _refreshMenu(strPageName)
{

    var objAjax, objMainContent;
	
	objAjax = new CAjax();
	objAjax.create();

	if (objAjax.open(strPageName, true))
	{
		objMainContent = document.getElementById("dynamicMenu");
		objMainContent.innerHTML = objAjax.getResponse();
	}

	document.body.style.cursor = "default";
}
