function setcss(path){
/**var url = getCookie("css1");
  if(url==""){
	if(path=="" || path==undefined){
		path="http://www.hs-sec.co.jp/font.css"
	}
  }else if(url=="middle"){
	  path="http://www.hs-sec.co.jp/font.css"
  }else if(url=="large"){
	  path="http://www.hs-sec.co.jp/font_middle.css"
  }else if(url=="small"){
	  path="http://www.hs-sec.co.jp/font_small.css"
  }else{
	  path="http://www.hs-sec.co.jp/font.css"
  }
	var id ="css1";
  if(!document.getElementById) return false;
  var element = document.getElementById(id);
 if(!element || !element.cloneNode) return false;
  var new_node = element.cloneNode(true);
  new_node.href = path;
  element.parentNode.replaceChild(new_node,element);
  return url;**/
}

function replace_css(id,url){

setCookie(id,url)
  location.reload();
  /**if(!document.getElementById) return false;
  var element = document.getElementById(id);
  if(!element || !element.cloneNode) return false;
  var new_node = element.cloneNode(true);
  new_node.href = url;
  element.parentNode.replaceChild(new_node,element);
  return true;**/
}

function getCookie(key,  tmp1, tmp2, xx1, xx2, xx3) {
    tmp1 = " " + document.cookie + ";";
    xx1 = xx2 = 0;
    len = tmp1.length;
    while (xx1 < len) {
        xx2 = tmp1.indexOf(";", xx1);
        tmp2 = tmp1.substring(xx1 + 1, xx2);
        xx3 = tmp2.indexOf("=");
        if (tmp2.substring(0, xx3) == key) {
            return(unescape(tmp2.substring(xx3 + 1, xx2 - xx1 - 1)));
        }
        xx1 = xx2 + 1;
    }
    return("");
}
function setCookie(key, val) {
    //var tmp = "name=" + escape("hs")+ "; ";
    var tmp = key + "=" + escape(val) + "; ";
	tmp += "domain=" + location.hostname + "; ";
    tmp += "path=/"  + "; ";
	tmp += "expires=Tue, 31-Dec-2030 23:59:59; ";
	document.cookie = tmp;
}



