var oPrev;
var Prevonmouseover;
var Prevonmouseout;

function onmouseover_A(name) {
}

function onmouseout_A(name) {
}

function onclick_A(name) {
}

var t;
function positlogodiv() {
	oLogo = document.getElementById('logodiv').style
	curoffset = parseInt(oLogo.top)
	if (isNaN(curoffset)) curoffset = -196;
	if (swing != 0) {
		if (direction < 0) {
			if (curoffset > swing) {
					oLogo.top = curoffset + spd;
			} else {
				direction = -direction;
				spd = -Math.round(spd/1.5);
				if (swing < -50) {
					swing = 50;
				} else {
					swing = -Math.round(swing/2)
				}
			}
		} else {
			if (curoffset < swing) {
				oLogo.top = curoffset + spd;
			} else {
				direction = -direction;
				spd = -Math.round(spd/1.5);
				swing = -Math.round(swing/2)
			}
		}
		var timer=setTimeout('positlogodiv()',5);
	} else {
		oLogo.top = 0;
	}
	
	t = t + 1;
}


function movelogodiv(effect) {
	if (effect == 1) {
		t = 0;
		direction = -1;
		spd = -10;
		swing = -432;
		var timer=setTimeout('positlogodiv()',196); 
	} else {
		var oLogo = document.getElementById('logodiv').style
		oLogo.top = 0;
	}
}

