function getCookie(name) { var strCookie = document.cookie; var arrCookie = strCookie.split("; "); for (var i = 0; i < arrCookie.length; i++) { var arr = arrCookie[i].split("="); if (arr[0] == name) { return arr[1] } } return "" } function GetToday() { var t = ""; $.ajax({ url: "/webshow/pubdata.aspx", data: { action: "today" }, async: false, cache: false, type: "post", dataType: "json", success: function (d) { t = d.Data }, error: function (d) { } }); return t }; function GetMenu(sel, data, num, ulclass, curparentpath, curliclass, target) { var h = "