// These functions provide obfuscated email capability to webpages.
// Intention is to keep spammers from harvesting email addresses from webpages.
function sendmail_domain (username, domainid){
	var domainName;
	switch (domainid){
		case 2:
			domainName = 'apibasco.com';
			break
		case 3:
			domainName = 'apiairtech.com';
			break
		case 4:
			domainName = 'apischmidtbretten.com';
			break
		case 5:
			domainName = 'apiheattransfer.com';
			break
		case 60:
			domainName = 'apischmidt-bretten.de';
			break
		case 70:
			domainName = 'apiheattransfer.com'
			break
		default:
			return;
			break
	}
	window.location = 'mailto:' + username + '@' + domainName;
	return;
}

function sendmail (username) {
	sendmail_domain(username, 5);
	return;
}
