var OPB=false;uagent = window.navigator.userAgent.toLowerCase();
OPB=(uagent.indexOf('opera') != -1)?true:false;
var timer;
var objd=document.getElementById("Layer4");
function down(i) {
	objd=document.getElementById("Layer4");
	clearTimeout(timer);
	if (i == 1) {
		if (parseInt(objd.style.top) > (objd.offsetHeight*-1)+100) {
			objd.style.top = parseInt(objd.style.top) - 15;
			timer = setTimeout('down(1)',50);
		}else{
		}
	}
}

function up(i) {
	objd=document.getElementById("Layer4");
	clearTimeout(timer);
	if (i == 1) {
		if (parseInt(objd.style.top) < 0) {
			objd.style.top = parseInt(objd.style.top) + 15;
			timer = setTimeout('up(1)',50);
		}else{
		}
	}
}
