function sendMail()
{
	var mailAdresse = "mail"+"to"+":"+"formkon"+"@"+"formkon"+".dk";
	location.href = mailAdresse;
}


function sendLBHMail()
{
	var mailAdresse = "mail"+"to"+":"+"lbh"+"@"+"formkon"+".dk";
	location.href = mailAdresse;
}

function sendLHMail()
{
	var mailAdresse = "mail"+"to"+":"+"lh"+"@"+"formkon"+".dk";
	location.href = mailAdresse;
}

function sendDNMail()
{
	var mailAdresse = "mail"+"to"+":"+"dn"+"@"+"formkon"+".dk";
	location.href = mailAdresse;
}

function sendUERMail()
{
	var mailAdresse = "mail"+"to"+":"+"uer"+"@"+"formkon"+".dk";
	location.href = mailAdresse;
}
function sendERMail()
{
	var mailAdresse = "mail"+"to"+":"+"es"+"@"+"formkon"+".dk";
	location.href = mailAdresse;
}

function sendLOPMail()
{
	var mailAdresse = "mail"+"to"+":"+"lop"+"@"+"formkon"+".dk";
	location.href = mailAdresse;
}

function sendPKMail()
{
	var mailAdresse = "mail"+"to"+":"+"pk"+"@"+"formkon"+".dk";
	location.href = mailAdresse;
}

function sendEKMail()
{
	var mailAdresse = "mail"+"to"+":"+"ek"+"@"+"formkon"+".dk";
	location.href = mailAdresse;
}

function TjeckIdExists(ElementId)
{
	if (document.getElementById(ElementId)) 
	{
		return true;
	}
	else
	{
		return false;
	}
}

onload = function()
{
	document.getElementById('sendEmail').onclick = function()
	{
		sendMail();
	}
	document.getElementById('sendEmail2').onclick = function()
	{
		sendMail();
	}

	if (TjeckIdExists('sendLBHMail')) 
	{
		document.getElementById('sendLBHMail').onclick = function()
		{
			sendLBHMail();
		}
	}
	
	if (TjeckIdExists('sendLHMail')) 
	{
		document.getElementById('sendLHMail').onclick = function()
		{
			sendLHMail();
		}
	}
	
	if (TjeckIdExists('sendDNMail')) 
	{
		document.getElementById('sendDNMail').onclick = function()
		{
			sendDNMail();
		}
	}
	
	if (TjeckIdExists('sendUERMail')) 
	{
		document.getElementById('sendUERMail').onclick = function()
		{
			sendUERMail();
		}
	}
	
	if (TjeckIdExists('sendERMail')) 
	{
		document.getElementById('sendERMail').onclick = function()
		{
			sendERMail();
		}
	}
	
	if (TjeckIdExists('sendPKMail')) 
	{
		document.getElementById('sendPKMail').onclick = function()
		{
			sendPKMail();
		}
	}
	
	if (TjeckIdExists('sendEKMail')) 
	{
		document.getElementById('sendEKMail').onclick = function()
		{
			sendEKMail();
		}
	}
	
	if (TjeckIdExists('sendLOPMail')) 
	{
		document.getElementById('sendLOPMail').onclick = function()
		{
			sendLOPMail();
		}
	}
}