var xmlhttp14;

function getlang14(lang,val)
{


    xmlhttp14=GetXmlHttpObject14();
    if (xmlhttp14==null)
    {
        alert ("Browser does not support HTTP Request");
        return;
    }


    var url = "site/views/php_content/get_lang_ajax14.php";
    var params = "lang="+lang+"&val="+val;





    xmlhttp14.open("POST", url, true);

    //Send the proper header information along with the request
    xmlhttp14.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
    xmlhttp14.setRequestHeader("Content-length", params.length);
    xmlhttp14.setRequestHeader("Connection", "close");

    xmlhttp14.onreadystatechange = function()
    {//Call a function when the state changes.
        if(xmlhttp14.readyState == 4 && xmlhttp14.status == 200)
        {
            var response = xmlhttp14.responseText;


            document.getElementById("cat_type14").innerHTML=xmlhttp14.responseText;
        };
    };
    xmlhttp14.send(params);







}

function GetXmlHttpObject14()
{
    if (window.XMLHttpRequest)
    {
        // code for IE7+, Firefox, Chrome, Opera, Safari
        return new XMLHttpRequest();
    }
    if (window.ActiveXObject)
    {
        // code for IE6, IE5
        return new ActiveXObject("Microsoft.XMLHTTP");
    }
    return null;
}
