function showEMail ( username , domainname ) {
	document.write( username + '@' + domainname )
}

var xmlHttp;
var requestType;
var div;
function createXMLHttpRequest() {
	if(window.ActiveXObject) {
		xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
	}
	else if(window.XMLHttpRequest) {
		xmlHttp = new XMLHttpRequest();
	}
}
	
function startRequest( url, qry, type , divid) {
	div = divid;
	createXMLHttpRequest();
	xmlHttp.onreadystatechange = handleStateChange;
	xmlHttp.open(type, url, true);
	if(type == 'POST') {
		xmlHttp.setRequestHeader("Content-Type","application/x-www-form-urlencoded;");
		xmlHttp.send(qry);
	} else {
		xmlHttp.send(null);
	}
}
	
function handleStateChange() {
	if(xmlHttp.readyState == 4) {
		if(xmlHttp.status == 200) {
			document.getElementById(div).innerHTML = xmlHttp.responseText;
		}
	}
}

function doIt(vars, div) 
{
	qry = 'vars=' + vars;
	startRequest('http://www.yazarokur.com/ajax.php',qry,'POST',div);
}