function pop(x) {
	window.open('pop.asp?f=' + x, 'Mitek', 'toolbar=no, directories=no, location=no, status=no, menubar=no, resizable=yes, scrollbars=yes, width=700, height=400');
}

function checkEmail(val) {
	var mailFilter = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/;
	if (mailFilter.test(val)) {
		return true;
	} else {
		return false;
	}
}

function revealModal(divID) {
    window.onscroll = function () {document.getElementById(divID).style.top = document.body.scrollTop;};
    document.getElementById(divID).style.display = "block";
    document.getElementById(divID).style.top = document.body.scrollTop;
}

function hideModal(divID) {
    document.getElementById(divID).style.display = "none";
}

function showImgIT(imgName) {
	document.getElementById("full_IMagePROVE").style.backgroundImage = "url(img/image_technology/" + imgName + ")";
}

function hideImgIT() {
	document.getElementById("full_IMagePROVE").style.backgroundImage = "none";
}
