/* var domain = "wzzcx.com"; var system_path = "http://cs1." + domain + "/menu/menu"; function open_new_path(index) { var go_path = $(index).attr("go_path"); $.cookie('user_path', "2", {path: "/", domain: domain_path}); window.open(system_path); }*/ var domain = "zhizhuchuxing.com"; var system_path = "http://cs1." + domain + "/menu/menu"; var cookie_path = "http://cs1." + domain; function open_new_path(index) { var go_path = $(index).attr("go_path"); $.cookie('user_path', "2", {path: "/", domain: domain_path}); $.cookie("path_url", go_path, {domain: domain, path: "/"}); window.open(system_path); }