  alert("Error loading data! Please try again.");
            }
        })//done handler
        .done(function (msg) {
        });
    }
    function changelang(lang) {
        var aData = [];
        aData[0] = lang;
        var jsonData = JSON.stringify({ aData: aData });
        $.ajax({
                type: "POST",
                url: "../Ajax.aspx/ChangeLanguage",
                data: jsonData,
                dataType: "json",
                contentType: "application/json; charset=