﻿function showsubnav() 
{
		
	var subnav = document.getElementById('Subnavigationsbox');
	if(subnav != null) 
	{
		var maxheight = subnav.scrollHeight;
		var height = subnav.style.height.replace('px','');
		height = parseInt(height);
		if(height < maxheight) 
		{	
			height += 4;	
			subnav.style.height = height + 'px';
			setTimeout("showsubnav()",10);
		}
	}


	/*var subsubnav = document.getElementById('subsubnav');
	if(subsubnav != null) 
	{
		var maxheight = subsubnav.scrollHeight;
		var height = subsubnav.style.height.replace('px','');
		height = parseInt(height);
		if(height < maxheight) 
		{
			height += 2;
			subsubnav.style.height = height + 'px';
			setTimeout("showsubnav()",10);
		}
	}*/
} 
