//=================================================================================================
//	You can delete these three functions if not needed.
//-------------------------------------------------------------------------------------------------
function customBodyLoad( sender )
{
}
//=================================================================================================
function customBodyResize( sender, size )
{
}
//=================================================================================================
function customBodyScroll( sender )
{
}
//=================================================================================================
var divTimer;
//=================================================================================================
function showPortalItem( sender, id, count)
{
	var i;

	for( i = 1; i <= count; i++)
	{
		if( i != id)
		{
			document.getElementById('div_portalArrow_' + i).style.display = "none";
			document.getElementById('div_portalSubRight_' + i).style.display = "none";
		}
	}

	document.getElementById('div_portalSubLeft').style.display = "block";
	document.getElementById('div_portalArrow_' + id).style.display = "block";
	document.getElementById('div_portalSubRight_' + id).style.display = "block";
	clearTimeout(divTimer);	
}
//=================================================================================================
function mouseoverDiv()
{		
	//sender.style.display = "block";
	clearTimeout(divTimer);	
}
//=================================================================================================
function mouseoutDiv( position )
{	
	//alert("mouseoutSubCat( " + valueString( sender ) + " )");
	//sender.style.display = "none";		// vuurt al bij het binnengaan van subitem. Is op te lossen met timeouts, maar lastig (Erwin). Opgelost me onderstaande event op subitem
	divTimer = setTimeout('document.getElementById("div_portalSubRight_' + position + '").style.display = "none";document.getElementById("div_portalArrow_' + position + '").style.display = "none";' , 1000 );
}
//=================================================================================================