function setNewsBg(iTry)
{
	if(typeof(iTry) == 'undefined')
	{
		iTry = 1;
	}
	
	try
	{
		top.contentFrame.newsFrame.NewsLinks.document.body.style.backgroundImage='url("../../images/d_newsFrame.gif")';
	}
	catch(E)
	{
		if(iTry < 10)
		{
			window.setTimeout('setNewsBg(' + (iTry + 1) + ')', 250);
		}
	}
}




function setActiveMenu(iIndex, iTry)
{
	if(typeof(iTry) == 'undefined')
	{
		iTry = 1;
	}
	
	try
	{
		
		top.headerFrame.Menu_OnPageLoadHandler(iIndex);
	}
	catch(E)
	{
		if(iTry < 10)
		{
			window.setTimeout('setActiveMenu(' + iIndex + ', ' + (iTry + 1) + ')', 250);
		}
	}
}



function onLcContentPageLoaded_completeHandler(strActionImageUrl, strActionBannerNumber, strActionHeadlineText, strActionLongtextUrl, iMenuItemIndex, strMenuName, iMenuItemLevel,strAltText)
{

	var iIndex = -1;
	
	if(strMenuName == 'Menü Deutsch')
	{
		iIndex = iMenuItemIndex;
	}
	setActiveMenu(iIndex);
	setNewsBg();
}