<!--
var ns4 = (document.layers)? true:false;
var ie4 = (document.all && !document.getElementById)? true:false;
var dom = (document.getElementById)? true:false;

var muptimer=0;
var mdowntimer=0;
var halt=0;
var y=0;
var actpos=0;
var lh=0;

function moveinit(dir) {
	halt=0;
		if (dir=="up") {
			if (ns4) { lh=document.parent.document.child.clip.height; } 
			if (ie4) { lh=parseInt(document.all['child'].clientHeight); }
			if (dom) { lh=parseInt(document.getElementById('child').offsetHeight); }
			moveup(actpos); 
		} else { 
			movedown(actpos); 
		}
}
	
function moveup(y) {
	if(halt==0 && actpos>fh-lh) {
		y=y-10;
		actpos=y;
		if (ns4) { document.parent.document.child.top = y; } 
		if (ie4) { document.all['child'].style.top = y; }
		if (dom) { document.getElementById('child').style.top = y; }
		muptimer=setTimeout('moveup('+y+')',50);
	}
}

function movedown(y) {
	if(halt==0 && actpos<0) {
		y=y+10;
		actpos=y;
		if (ns4) { document.parent.document.child.top = y; } 
		if (ie4) { document.all('child').style.top = y; }
		if (dom) { document.getElementById('child').style.top = y; }
		mdowntimer=setTimeout('movedown('+y+')',50);
	}
}
	
function stopmove() { 
	halt=1;
	if(muptimer!=0){
		clearTimeout(muptimer);
	}
	if(mdowntimer!=0){
		clearTimeout(mdowntimer);
	}
}
//-->
