//<![CDATA[
function dotnet()
{
	var fName = 'File:  dotnet.js\nFunction:  dotnet()';

	try
	{
		if(_obj.GetStyle('center', 'visibility') == 'visible') { return false; }
		
		setTheBox('dn1');
		setTheBox('dn2');
		setTheBox('dn3');
		setTheBox('dn4');
		setTheBox('dn5');
		
	    _util.SetHW();
	    
		_obj.Move('center', ((_app.Height / 2) - 180), ((_app.Width / 2) - 165));
		_obj.Move('dn1', ((_app.Height / 2) - 180 + 162), ((_app.Width / 2) - 165 + 54));
		_obj.Move('dn2', ((_app.Height / 2) - 180 + 126), ((_app.Width / 2) - 165 + 163));
		_obj.Move('dn3', ((_app.Height / 2) - 180 + 18), ((_app.Width / 2) - 165 + 126));
		_obj.Move('dn4', ((_app.Height / 2) - 180 + 55), ((_app.Width / 2) - 165 + 19));
		_obj.Move('dn5', ((_app.Height / 2) - 180 + 90), ((_app.Width / 2) - 165 + 90));
		
		_obj.SetStyle('center', 'visibility', 'visible');
		_obj.SetStyle('dn1', 'visibility', 'visible');
		_obj.SetStyle('dn2', 'visibility', 'visible');
		_obj.SetStyle('dn3', 'visibility', 'visible');
		_obj.SetStyle('dn4', 'visibility', 'visible');
		_obj.SetStyle('dn5', 'visibility', 'visible');

		setTimeout('fadeBox(\'dn1\');', 50);
		setTimeout('fadeBox(\'dn2\');', 1050);
		setTimeout('fadeBox(\'dn3\');', 2050);
		setTimeout('fadeBox(\'dn4\');', 3050);
		setTimeout('fadeBox(\'dn5\');', 4050);
		setTimeout('clearBoxes();', 8050);
	}
	catch(e)
	{
		if(_app.Debug) alert(fName + '\n\n' + e.toString());
	}
}

function fadeBox(OBJ)
{
	var fName = 'File:  dotnet.js\nFunction:  fadeBox(OBJ)';

	try
	{
		var tmpOBJ = document.getElementById(OBJ);
		var opc = 0;
		
		if(tmpOBJ.filters)
		{
			opc = parseInt(tmpOBJ.filters.alpha.opacity);

			if(opc < 100)
			{
				tmpOBJ.filters.alpha.opacity = opc + 5;

				setTimeout('fadeBox(\'' + OBJ + '\');', 50);
			}
		}
		else if(tmpOBJ.style.MozOpacity)
		{
			opc = parseFloat(tmpOBJ.style.MozOpacity);

			if(opc < 1)
			{
				tmpOBJ.style.MozOpacity = opc + .05;

				setTimeout('fadeBox(\'' + OBJ + '\');', 50);
			}
		}
		else
		{
			opc = parseFloat(_obj.GetStyle(OBJ, 'opacity'));

			if(opc < 1)
			{
				_obj.SetStyle(OBJ, 'opacity', '+' + (opc + .05));

				setTimeout('fadeBox(\'' + OBJ + '\');', 50);
			}
		}
	}
	catch(e)
	{
		if(_app.Debug) alert(fName + '\n\n' + e.toString());
	}
}

function clearBoxes()
{
	var fName = 'File:  dotnet.js\nFunction:  clearBoxes()';

	try
	{
		clearBox('dn1');
		clearBox('dn2');
		clearBox('dn3');
		clearBox('dn4');
		clearBox('dn5');
		_obj.SetStyle('center', 'visibility', 'hidden');
	}
	catch(e)
	{
		if(_app.Debug) alert(fName + '\n\n' + e.toString());
	}
}

function clearBox(OBJ)
{
	var fName = 'File:  dotnet.js\nFunction:  clearBox(OBJ)';

	try
	{
		var tmpOBJ = document.getElementById(OBJ);
		var opc = 0;
		
		if(tmpOBJ.filters)
		{
			opc = parseInt(tmpOBJ.filters.alpha.opacity);

			if(opc > 0)
			{
				tmpOBJ.filters.alpha.opacity = opc - 5;

				setTimeout('clearBox(\'' + OBJ + '\');', 50);
			}
			else
			{
				_obj.SetStyle(OBJ, 'visibility', 'hidden');
			}
		}
		else if(tmpOBJ.style.MozOpacity)
		{
			opc = parseFloat(tmpOBJ.style.MozOpacity);

			if(opc > 0)
			{
				tmpOBJ.style.MozOpacity = opc - .05;

				setTimeout('clearBox(\'' + OBJ + '\');', 50);
			}
			else
			{
				_obj.SetStyle(OBJ, 'visibility', 'hidden');
			}
		}
		else
		{
			opc = parseFloat(_obj.GetStyle(OBJ, 'opacity'));

			if(opc > 0)
			{
				_obj.SetStyle(OBJ, 'opacity', '+' + (opc - .05));

				setTimeout('clearBox(\'' + OBJ + '\');', 50);
			}
			else
			{
				_obj.SetStyle(OBJ, 'visibility', 'hidden');
			}
		}
	}
	catch(e)
	{
		if(_app.Debug) alert(fName + '\n\n' + e.toString());
	}
}

function setTheBox(OBJ)
{
	var fName = 'File:  dotnet.js\nFunction:  setTheBox(OBJ)';

	try
	{
		var tmpOBJ = document.getElementById(OBJ);
		
		_obj.SetStyle(OBJ, 'visibility', 'hidden');
		_obj.SetStyle(OBJ, 'filter', 'alpha(opacity=0)');
		_obj.SetStyle(OBJ, 'opacity', '0');
		_obj.SetStyle(OBJ, '-moz-opacity', '0');

		if(tmpOBJ.filters)
		{
			tmpOBJ.filters.alpha.opacity = 0;
		}
		if(tmpOBJ.style.MozOpacity)
		{
			tmpOBJ.style.MozOpacity = 0;
		}
	}
	catch(e)
	{
		if(_app.Debug) alert(fName + '\n\n' + e.toString());
	}
}
//]]>

