
function funk()
{
	n = (document.layers) ? 1:0
	ie = (document.all) ? 1:0
	started = -1
	xend = 0
	speed = 4

	if (n)
	{
		s1 = document.menuflot
		maxw = s1.clip.width
	}

	if (ie)
	{
		s1 = document.all.menuflot.style
		maxw = s1.pixelWidth
	}
}


function movemenu(x)
{
	xend = x
	started = 1
	slide()
}


function slide()
{
	if (parseInt(s1.top) > xend)
		s1.top = (parseInt(s1.top) - speed)

	if (parseInt(s1.top) < xend)
		s1.top = (parseInt(s1.top) + speed)

	if (started != 0) 
		setTimeout("slide()", 10)
}

