var tid;

function IntroAnimation() {
// This function causes the ScribbleSig to slide into it's place 
// once it has reached it's place, the Welcome bar because visible
if ( document.getElementById ) {
	document.getElementById("MWLogo").style.left = "-350px";
	document.getElementById("Welcome").style.visibility = "hidden";
	i = -350;
	tid = setInterval('moveLogo( i+=3 )', 1 );
 }
}

function moveLogo( leftValue ) {
	document.getElementById("MWLogo").style.left = leftValue + "px";
	if ( leftValue >= -53 ) {
		clearInterval(tid);
		document.getElementById("MWLogo").style.left = "-53px";
		EndAnimation();
	}
}

function EndAnimation () {
	document.getElementById("Welcome").style.visibility = "visible";
}
