function katagoriyeGit(katagoriID)
{
   xmlHttp=ajax();
   if (xmlHttp==null)
   {
    alert ('Tarayıcınız Ajax Desteklemiyor!');
    return;
    }
    
	
    var url='katagoriyeGit.php';
    var sc ='katagoriID='+katagoriID;
    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=Guncelle;
    xmlHttp.send(sc);
 
}
 
function Guncelle()
{
    if (xmlHttp.readyState==4 && xmlHttp.status == 200)
    {
        document.getElementById('divProducts').innerHTML=xmlHttp.responseText;
    }
}
 
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;
} 


