function ValForm()
{
	var obj_focus="";
	var val_txt ="" ;
			
	
	var obj = document.getElementById("achternaam");	
	if (obj.value == "")
	{
		if (obj_focus==""){obj_focus = obj;}
		obj.style.backgroundColor="#5C5555";
		val_txt += "Achternaam\t: Verplicht\t\n"
	}
	
	var obj = document.getElementById("email");	
	if (obj.value == "")
	{
		if (obj_focus==""){obj_focus = obj;}
		obj.style.backgroundColor="#5C5555";
		val_txt += "E-mail\t\t: Verplicht\t\n"
	} else {
		if ((obj.value.indexOf(".") == -1) || (obj.value.indexOf("@") == -1))
		{
			if (obj_focus==""){obj_focus = obj;}
			obj.style.backgroundColor="#5C5555";
			val_txt += "E-mail\t\t: Ongeldig\t\n"
		}
	}
	
	if (val_txt != "")
	{
		alert(val_txt);
		obj_focus.focus();
		return false;	
	} else {
		return true;
	}
}

function ValUrl()
{
	var obj_focus="";
	var val_txt ="" ;
			
	
	var obj = document.getElementById("url");	
	if (obj.value == "")
	{
		if (obj_focus==""){obj_focus = obj;}
		obj.style.backgroundColor="#5C5555";
		val_txt += "Url\t: Verplicht\t\n"
	}
	
	if (val_txt != "")
	{
		alert(val_txt);
		obj_focus.focus();
		return false;	
	} else {
		return true;
	}
}

function openurl(url)
{
	window.open(url);
	return false
}

function ValShop()
{
	var obj_focus="";
	var val_txt ="" ;
			
	
	var obj = document.getElementById("bedrijfsnaam");	
	if (obj.value == "")
	{
		if (obj_focus==""){obj_focus = obj;}
		obj.style.backgroundColor="#5C5555";
		val_txt += "Bedrijf\t\t: Verplicht\t\n"
	}
	var obj = document.getElementById("voorletter");	
	if (obj.value == "")
	{
		if (obj_focus==""){obj_focus = obj;}
		obj.style.backgroundColor="#5C5555";
		val_txt += "Voorletter(s)\t: Verplicht\t\n"
	}
	var obj = document.getElementById("achternaam");	
	if (obj.value == "")
	{
		if (obj_focus==""){obj_focus = obj;}
		obj.style.backgroundColor="#5C5555";
		val_txt += "Achternaam\t: Verplicht\t\n"
	}
	
	var obj = document.getElementById("straat");	
	if (obj.value == "")
	{
		if (obj_focus==""){obj_focus = obj;}
		obj.style.backgroundColor="#5C5555";
		val_txt += "Straatnaam\t: Verplicht\t\n"
	}

	var obj = document.getElementById("nummer");	
	if (obj.value == "")
	{
		if (obj_focus==""){obj_focus = obj;}
		obj.style.backgroundColor="#5C5555";
		val_txt += "Nummer\t\t: Verplicht\t\n"
	}
		var obj = document.getElementById("postcode");	
	if (obj.value == "")
	{
		if (obj_focus==""){obj_focus = obj;}
		obj.style.backgroundColor="#5C5555";
		val_txt += "Postcode\t\t: Verplicht\t\n"
	}
	var obj = document.getElementById("plaats");	
	if (obj.value == "")
	{
		if (obj_focus==""){obj_focus = obj;}
		obj.style.backgroundColor="#5C5555";
		val_txt += "Plaats\t\t: Verplicht\t\n"
	}
	var obj = document.getElementById("telefoon");	
	if (obj.value == "")
	{
		if (obj_focus==""){obj_focus = obj;}
		obj.style.backgroundColor="#5C5555";
		val_txt += "Telefoon\t\t: Verplicht\t\n"
	}
	
	var obj = document.getElementById("email");	
	if (obj.value == "")
	{
		if (obj_focus==""){obj_focus = obj;}
		obj.style.backgroundColor="#5C5555";
		val_txt += "E-mail\t\t: Verplicht\t\n"
	} else {
		if ((obj.value.indexOf(".") == -1) || (obj.value.indexOf("@") == -1))
		{
			if (obj_focus==""){obj_focus = obj;}
			obj.style.backgroundColor="#5C5555";
			val_txt += "E-mail\t\t: Ongeldig\t\n"
		}
	}
	
	if (val_txt != "")
	{
		alert(val_txt);
		obj_focus.focus();
		return false;	
	} else {
		return true;
	}
}

function Favo()
{

var url="http://www.webdesign-freelance.nl/"
var title="Webdesign Freelance"
	
	if (document.all)
	{
		window.external.AddFavorite(url, title);
	}
	else if(window.sidebar)
	{
		window.sidebar.addPanel(title, url, "");
	}
}
