if (Request["_method"] == "queryScreenSize")
{
string h = SystemInformation.WorkingArea.Height.ToString();
string w = SystemInformation.WorkingArea.Width.ToString();
var screen = new {Width = w, Height = h};
Response.Write(Newtonsoft.Json.JsonConvert.SerializeObject(screen));
Response.End();
}