﻿// JScript File

  function getCookie(name) { 
    var index = fundList.indexOf(name + "=");
    if (index == -1) return null;
    index = fundList.indexOf("=", index) + 1;
    var endstr = fundList.indexOf(";", index);
    if (endstr == -1) endstr = fundList.length;
    return unescape(fundList.substring(index, endstr));
  }
  
function SetCookie (name,value,expires,path,domain,secure) {
  document.cookie = name + "=" + escape (value) +
    ((expires) ? "; expires=" + expires.toGMTString() : "") +
    ((path) ? "; path=" + path : "") +
    ((domain) ? "; domain=" + domain : "") +
    ((secure) ? "; secure" : "");
	}
	
	
