<!--
// Ajax functions
function forumajax(div, qtype, thispage, chkval) {
	//if(qtype==1) 
	//if(handle=="" && notempty) { alert("Sorry, but you have not entered a <%=checktitle%> to check"); return false; }
	//if(handle=="" && !notempty) { return false; }
	//document.getElementById(div).innerHTML='<div>Checking ...</div>';
	srch=chkval
	xmlHttp=GetXmlHttpObjectForum();
	if (xmlHttp==null) { alert ("Your browser does not support AJAX!"); return; } 
	xmlHttp.onreadystatechange=function() { if (xmlHttp.readyState==4) { document.getElementById(div).innerHTML=xmlHttp.responseText } }
	xmlHttp.open("GET",thispage+"?ajax="+div+"|"+qtype+"|"+srch+"|"+new Date().getTime(),true);
	xmlHttp.send(null);
} 

function checkusername(div, qtype, nameval, urn, fullpath) { 
	xmlHttp=GetXmlHttpObjectForum();
	if (xmlHttp==null) { alert ("Your browser does not support AJAX!"); return; } 
	xmlHttp.onreadystatechange=function() { if (xmlHttp.readyState==4) { document.getElementById(div).innerHTML=xmlHttp.responseText } }
	xmlHttp.open("GET",fullpath+"forum/inc/handlecheck.asp?x="+div+"|"+qtype+"|"+nameval+"|"+urn+"|"+new Date().getTime(),true);
	xmlHttp.send(null);
} 

//-->
