function setStyle(value) {
  document.cookie = "style=" + value + "; expires=Fri, 31 Dec 2099 23:59:59 GMT; path=/";
  parent.document.location.href="http://ccgi.gdward.plus.com/cgi-bin/style.php?style=" + value;
}
function getStyle() {
  var ca = document.cookie.split(';');
  for(var i = 0; i < ca.length; i ++) {
    if (ca[i].indexOf("style=") == 0) return ca[i].substring(6,ca[i].length);
  }
  return "http://www.gdward.plus.com/css/default.css";
}
document.write("<link href='" + getStyle() + "' rel='stylesheet' type='text/css' />");