﻿
try {

    var stat = {
        CurrentDate: GetDate().toString(),
        Path: GetPath().toString(),
        BrowserName: GetBrowserName().toString(),
        OperationSystem: GetOperationSystem().toString(),
        ScreenSize: GetScreenSize().toString(),
        BrowserWindowSize: GetBrowserWindowSize().toString(),
        SilverlightVersion: GetPluginInfo().toString(),
        FlashPlayerInfo: GetFlashPlayerInfo().toString()
    };


    var loc = GetAppUrl();

    $.ajax({
        type: "POST",
        url: loc + "/Home/ClientInfo",
        data: stat,
        dataType: 'json',
        success: function (msg) {
        },
        error: function (msg) {
            //  alert("Error sending Client Info")
        }
    });
}
catch (Error_) {
    if (typeof console != "undefined") {
        console.log("Error in state" + Error_);
    }
}
