function ajax()/* Bu fonksiyonu c/p ile alın ve olduğu gibi kullanın :) bir zarar yaratmaz.. */
{
    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;
}

function StartRequest(pars) {

xmlHttp=ajax();
   if (xmlHttp==null)
   {
    alert ('Tarayiciniz Ajax Desteklemiyor!');
    return;
    }

	var url='asd.php';
    var sc =pars;
    xmlHttp.open('POST', url, true);
    xmlHttp.setRequestHeader('If-Modified-Since', 'Sat, 1 Jan 2000 00:00:00 GMT');
    xmlHttp.setRequestHeader('Content-Type','application/x-www-form-urlencoded; charset=ISO-8859-9');
    xmlHttp.setRequestHeader('Content-length', sc.length);
    xmlHttp.setRequestHeader('Connection', 'close');
    xmlHttp.onreadystatechange=handle_response;
    xmlHttp.send(sc);  
  
}
 
function handle_response() {
if (xmlHttp.readyState==4 && xmlHttp.status == 200)
    {	
	document.getElementById('giris').style.display='none';
    document.getElementById('degerlendirme').innerHTML = xmlHttp.responseText;
    document.getElementById('degerlendirme').style.display='inline';
	}
}
