function verzenden(pad)
{
var messagetype="a";

var u=document.f.afzender.value;
var t=document.f.UserTel.value;
var f=document.f.UserFAX.value;
var c=document.f.cc.value;
var a=document.f.ad1.value 

if (document.f.ad2.value!="")
	a =a + ", " + document.f.ad2.value;

if(u=="")
	{
	alert("Please, mention your name");
	document.f.afzender.focus();
	return;
	}
if(t==""&&f==""&&c=="")
	{
	alert("Please, give your emailaddress, phone or fax number");
	document.f.cc.focus();
	return;
	}


for (i=1;i<4;i++)
	{
	
	if (document.all.item("r" + i).checked == true)
		{
		break;
		}
	}

if (i==1)
	messagetype = "Question";
else if (i==2)
	messagetype = "Remark";
else if (i==3)
	messagetype = "Suggestion";

	

document.f.message.value="<ul><li>"+messagetype+"</li>";

if(document.f.Onderwerp.selectedIndex==1)
	document.f.message.value+= "<li>"+"About: Breed</li>";
if(document.f.Onderwerp.selectedIndex==2)
	document.f.message.value+= "<li>"+"About: Breeders Group</li>";
if(document.f.Onderwerp.selectedIndex==3)
	document.f.message.value+= "<li>"+"About: Reports</li>";
if(document.f.Onderwerp.selectedIndex==4)
	document.f.message.value+= "<li>"+"About: Agenda</li>";
if(document.f.Onderwerp.selectedIndex==5)
	document.f.message.value+= "<li>"+"About: Comittee</li>";
if(document.f.Onderwerp.selectedIndex==6)
	document.f.message.value+= "<li>"+"About: Newsletter</li>";
if(document.f.Onderwerp.selectedIndex==7)
	document.f.message.value+= "<li>"+"About: Website</li>";	
if(document.f.Onderwerp.selectedIndex==8)
	document.f.message.value+="<li>about: "+document.f.SubjectOther.value + "</li>";


document.f.message.value+="<li>Content: "+document.f.boodschap.value + " </li>";

document.f.message.value+="<li>From: "+document.f.afzender.value + " </li>";
if (a!="")
	document.f.message.value+="<br>"+a + " </br>";
if (t!="")
	document.f.message.value+="<li>Phone/Mobile: "+ t + " </li>";
if (f!="")
	document.f.message.value+="<li>Fax: "+ f + " </li>";

document.f.message.value+=(document.f.ContactRequested.checked?"<li>I want to be contacted" :"<li>I don&#146;t need to be contacted" ) + "</li></ul>";


document.f.action=pad;
document.f.submit();
}

function test()
{
alert("Test");
}

function details(w)
{
parent.details.location=w;
}

function shownolinks()
{
window.status="Manx Loaghtan Breeders' Group";
return true;
}

if (document.layers)
	document.captureEvents(Event.MOUSEOVER | Event.MOUSEOUT);

document.onmouseover=shownolinks;
document.onmouseout=shownolinks;

function r(e)
{
//alert("/"+navigator.appName+"/"+e.which+"/");
if (navigator.appName=='Netscape' && (e.which == 3 || e.which == 2)) 
		{
		//alert("Internal Error - Function disabled by remote system");
		return false;
		}
else 
	if(navigator.appName=='Microsoft Internet Explorer' && (event.button == 2 ||event.button == 3))
		 {alert("Internal Error - Function disabled by remote system"); return false;}
return true;
}
window.onmousedown=r;
document.onmousedown=r;