function pop(url) {
	window.open(url);
	return false;
}

function annatland(strValue) {
	if (strValue == "annatland") {
		document.getElementById("annatland").style.display="block";
	} else {
		document.getElementById("annatland").style.display="none";
	}
} 

function tab(obj,nextobj,mlength){
	if(!mlength) mlength = obj.size;
	if(obj.value.length>=mlength){
		obj.value = obj.value.substr(0,mlength);
		nextobj.focus();
	}
}

function numbersonly() {
	if (event.keyCode < 48 || event.keyCode > 57) return false;
}

function popupform(myform, windowname) {
	if (! window.focus)return true;
	window.open('', windowname, 'height=10,width=10,scrollbars=no');
	myform.target=windowname;
	return true;
}
