/ / According to the parameters of the incoming parameters, use different color schemes: // The priority order is: the URL parameter is the highest order, then the cookies value
// From the URL string, the value of the variable is function getQueryValue (sorstr, panstr) {var vstr = ""; if (sorstr == null || sorstr == "|| Panstr == null || Panstr ==" ") Return vStr; sorstr = sorstr.tolowercase (); Panstr =" = "; var itmp = sorstr.indexof (Panstr); if (ITMP <0) {Return VSTR;} sorstr = sorstr.substr (ITMP Panstr .length); ITMP = sorstr.indexof ("&"); if (itmp <0) {Return Sorstr;} else {sorstr = sorstr.substr (0, ITMP); Return sorstr;}}}}
function getcookieval (offset) {var endstr = document.cookie.indexOf ( ';', offset); if (endstr == -1) endstr = document.cookie.length; return unescape (document.cookie.substring (offset, endstr ));
// Get function getCookie (Name) {var arg = name '=' from cookcie; var alen = arg.length; var clen = document.cookie.length; var j = 0; while (j // Get the URL string var strGetQuery = document.location.search; // Get the value of 9CBSStyle parameters VAR StyleValue = getQueryValue (strGetQuery, '9cbstyle')