// JavaScript Document

var scrollspeed=cache=1;
	
	function initialize(){
		
	for (var i = 1; i<=6; i++) {
		if (document.getElementById('menu'+i)) {document.getElementById('menu'+i).style.display='none';}
	}
	
	if (document.layers) {
		dataobj=document.layers['datacontainer'];
		dataobj.style.top=350+"px";
		thelength=dataobj.offsetHeight;
		scrolltest();
	} else if (document.all) {
		dataobj=document.all['datacontainer']
		dataobj.style.top=350;
		thelength=dataobj.offsetHeight;
		scrolltest();
	} else if (document.getElementById) {
		dataobj=document.getElementById("datacontainer");
		dataobj.style.top=350+"px";
		thelength=dataobj.offsetHeight;
		scrolltest();
	}
	
	}
	
	function scrolltest(){
	if (document.layers) {
		dataobj.style.top=parseInt(dataobj.style.top)-scrollspeed;
		if (parseInt(dataobj.style.top)<thelength*(-1)){
			dataobj.style.top=350+"px";
		}
	} else if (document.all) {
		dataobj.style.top=parseInt(dataobj.style.top)-scrollspeed;
		if (parseInt(dataobj.style.top)<thelength*(-1)){
			dataobj.style.top=350;
		}
	} else if (document.getElementById) {
		dataobj.style.top=parseInt(dataobj.style.top)-scrollspeed + "px";
		if (parseInt(dataobj.style.top)<thelength *(-1)){
			dataobj.style.top=350+"px";
		}
	}
	setTimeout(scrolltest,30);
	}
	

	