var g_logo_height = 216;
var g_slide_on = false;
var g_bSlideHide = true;
function show_slide(height)
{
	if (g_slide_on)
	{
		return false;
	}

	try
	{
		height += 15;
		if (height > g_logo_height)
		{
			height = g_logo_height;
		}

		document.frames.logo.document.getElementById("logo").style.top = -(g_logo_height-height);
		document.getElementById('logo').height = height;

		if (height == g_logo_height)
		{
			g_slide_on = true;
			return false;
		}
		else
		{
			setTimeout("show_slide("+height+")", 1);
		}
	}
	catch(e)
	{
	}
}

function hide_slide(height)
{
	if (g_bSlideHide != true)
	{
		return false;
	}

	try
	{
		height -= 15;
		document.frames.logo.document.getElementById("logo").style.top = -(g_logo_height-height);
		document.getElementById('logo').height = height;

		if (height >= 0)
		{
			setTimeout("hide_slide("+height+")", 1);
		}
		else
		{
			g_slide_on = false;
			return false;
		}
	}
	catch(e)
	{
	}
}

function slide_logo()
{
	// alert(document.frames.logo.document.images.logo.style.top);
	if (!g_slide_on)
	{
		g_slide_on = true;
		show_slide(0);
	}
	else
	{
		g_slide_on = false;
		hide_slide(g_logo_height);
	}
}

