function jah(url, target, funcname) { 
        function ahahDone() { 
          if(req.readyState == 4){ 
            if(req.status == 200){ 
                  if(!(target == undefined)){ 
                    document.getElementById(target).innerHTML = req.responseText; 
                  } 
                  if(!(funcname == undefined) && !(funcname == 1) && !(funcname == 2)){ 
                    eval(funcname+"(req.responseText);"); 
                  } 
            }else{ 
                  if(!(target == undefined)){ 
                    document.getElementById(target).innerHTML = "ahah error:\n"+req.statusText; 
                  } 
              if(!(funcname == undefined) && !(funcname == 1) && !(funcname == 2)){ 
                    eval(funcname+"(req.responseText);"); 
                  } 
            } 
          } 
        } 


        if(!(target == undefined)){ 
			if(funcname == 2){
			document.getElementById(target).innerHTML = '<img src="http://www.gayuserid.com/pics/ajax-loader.gif" width="16" height="16">'; 
       	 	}
		}
        if(window.XMLHttpRequest){ 
                var req = new XMLHttpRequest(); 
        }else if(window.ActiveXObject) { 
                var req = new ActiveXObject("Microsoft.XMLHTTP"); 
        } 
        if(req){ 
                req.onreadystatechange = function() { 
                        ahahDone(); 
                }; 
                req.open("GET", url, true); 
                req.send(""); 
        } 


}

var bookmarkurl="http://www.gayuserid.com/"
var bookmarktitel="Gay User ID"
function favorieten(){
if (document.all)
window.external.AddFavorite(bookmarkurl,bookmarktitel)
}

//	window.setTimeout("jah('male1.php','main2')",60000);
function checkformreg()
{
	if (document.form1.nickexists.value == 'yes')
	{
		// something is wrong
		alert('This nickname is taken please choose another one');
		return false;
	}
	else if (document.form1.password.value == '')
	{
		// something else is wrong
		alert('You need to fill in a password');
		return false;
	}
	else if (document.form1.mynickname.value == '')
	{
		// something else is wrong
		alert('You need to fill in a nickname');
		return false;
	}
	else if (document.form1.provincie.value == '')
	{
		// something else is wrong
		alert('You need to fill in your province');
		return false;
	}
	else if (document.form1.woonplaats.value == '')
	{
		// something else is wrong
		alert('You need to fill in your city');
		return false;
	}
	// If the script gets this far through all of your fields
	// without problems, it's ok and you can submit the form
    jah('/v1incs/iagree.inc.php','knoppie');
	return true;
	
}