  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-16792782-1']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();
  
  
  
var xmlHttp;
var id;
function countEmail(id)
{
	xmlHttp=GetXmlHttpObject()
	if (xmlHttp==null)
	{
		alert ("Browser does not support HTTP Request")
		return
	}
	var url="http://www.2divorce.nl/countmail.php";
	
	url += "?action=submit";
	url += "&email=" + id;
	xmlHttp.onreadystatechange=getstatechange 
	xmlHttp.open("GET",url,true)
	xmlHttp.send(null)
}
function trim(value) {
  value = value.replace(/^\s+/,'');
  value = value.replace(/\s+$/,'');
  value = value.replace(/\s+$/,'');
  return value;
}
function getstatechange() 
{ 
}

function GetXmlHttpObject()
{
	var xmlHttp=null;
	try
	{
		// Firefox, Opera 8.0+, Safari
		xmlHttp=new XMLHttpRequest();
	}
	catch (e)
	{
		//Internet Explorer
		try
		{
			xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
		}
	 	catch (e)
	 	{
	 	xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
	 	}
	}
	return xmlHttp;
}


