
function focusfix(){
	for (var a in document.links) 
		document.links[a].onfocus = function(){this.blur();}
}
document.onmousedown = focusfix;
function showHideDiv(div){
	if (document.getElementById(div).style.display == 'block'){
		document.getElementById(div).style.display = 'none';
		document.getElementById(div).style.visibility = 'hidden';
	} else {
		document.getElementById(div).style.display = 'block';
		document.getElementById(div).style.visibility = 'visible';
	}
return false;
}
function hideDiv(div){
	document.getElementById(div).style.display = 'none';
	document.getElementById(div).style.visibility = 'hidden';
return false;
}
function showDiv(div){
	document.getElementById(div).style.display = 'block';
	document.getElementById(div).style.visibility = 'visible';
return false;
}
function validateEmail(email)
{
	if (/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(email))
		return true;
	else
		return false;
}
