var exclude=/[^@\-\.\w]|^[_@\.\-]|[\._\-]{2}|[@\.]{2}|(@)[^@]*\1/;
var check=/@[\w\-]+\./;
var checkend=/\.[a-zA-Z]{2,3}$/;

function empt(){}

function more(myPage, windowName, myWidth, myHeight, resize, scroll){
	LeftPosition= (screen.width*0.5)-(myWidth*0.5);
	TopPosition= (screen.height*0.4)-(myHeight*0.5);
	window.open(myPage, windowName, 'width='+myWidth+',height='+myHeight+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=' + resize);
}

last_err = "";
function error_me(elem, txt){
	if (last_err != "") document.getElementById('cap_' + last_err).className='';
	document.getElementById('cap_' + elem).className='highlight';
	document.getElementById(elem).focus();
	last_err = elem;
	alert(txt);
	return false;
}