function check(){
	if (navigator.appName=="Microsoft Internet Explorer" && parseInt(navigator.appVersion)<7){
		tail.style.visibility="hidden";
		scrollmenu.style.position="absolute";
		scorri();
	}
}

function scorri(){
	// smooth scrolling in internet exploDer
	var step=8;	
	now=scrollmenu.style.pixelTop;
	next=document.body.scrollTop;
	scrollmenu.style.pixelTop=now+(next-now)/step;
	// scrolling immediato, rende un brutto effetto
	// scrollmenu.style.pixelTop=document.body.scrollTop;
	timerScorri=setTimeout("scorri()",1);
}
	
function stoptimer(){clearTimeout(timerScorri)}

function stoptimerslide(){clearTimeout(timerSlideText)}

function slidetext() {
	var newtext = msg.substring(pos, msg.length) + msg.substring(0, pos);
	var div = document.getElementById("slidingtext");
	div.firstChild.nodeValue = newtext;
	pos++;
	if (pos > msg.length) pos = 0;
	timerSlideText=setTimeout("slidetext()",150);
}

function slidemsg(){
	msg = document.getElementById("slidingtext").firstChild.nodeValue;
	pos = 0;
	slidetext();
}