function jumpTo() {
	var loc=eval(document.getElementById("location"));
	if (loc.value!="") {
		window.location.href=loc.value;
	}
}

function Msg(state,event) {
	var msg=eval(document.getElementById("msg"));
	if (state==1) {
		msg.style.top=event.clientY-50+document.body.scrollTop;
		msg.style.left=event.clientX-125;
		msg.style.display="inline";
	} else {
		msg.style.display="none";
	}
}

function moveImg(event) {
	var img=eval(document.getElementById("sgdc"));
	var b=document.body;
	if (event.clientY-143>0 && event.clientY+150<b.clientHeight) {
		img.style.top=event.clientY+b.scrollTop-144;
	}
	else if (event.clientY-143<=0) {
		img.style.top=b.scrollTop;
	}
	else if (event.clientY+144>=b.clientHeight) {
		img.style.top=b.clientHeight+b.scrollTop-295;
	}
}

function Terms() {
	var newWin=window.open("terms.htm","terms","width=700, height=700, scrollbars, resizable");
	newWin.focus();
}