function Mess(mess_id) {
	remote = window.open( "", "popupcheck" + mess_id, 'width=450 height=300,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizeable=1,compyhistory=0' );
	remote.location.href = 'privat.asp?mem_id=' + mess_id;
}

function ClearMessageField() {
document.mess.mess.value = "";}

function xfocus() { 
document.mess.mess.focus(); }

function check(){
	if (document.mess.mess.value==""){
		alert("Du glömde meddelande!");
		return false;
	}
}

function admin(){
window.open("admin.asp","popup","scrollbars=1,resizable=0,width=350,height=250"); }