﻿function chartChange(a){setChartCookie("img",a,"eximg");window.location.reload(true)}function exchartChange(a){setChartCookie("eximg",a,"img");window.location.reload(true)}function setChartCookie(e,f,c){var d,a=getSubCookie("Chart",c);if(a!=null)a=c+"="+a+"&";else a="";var b=new Date;b.setTime(b.getTime()+1000*60*60*24*365*5);d="Chart="+a+e+"="+f;document.cookie=d+"; expires="+b.toGMTString()+"; path=/"}function getSubCookie(d,c){var b=null,a=getCookie(d);if(a!=null)b=getKeyValue(a,c,"&");return b}function getCookie(a){return getKeyValue(document.cookie,a,"; ")}function getKeyValue(e,c,f){var d=null,b=e.split(f);for(var a=0;a<b.length;a++)if(b[a].substr(0,c.length+1)==c+"="){d=b[a].substr(c.length+1,b[a].length);break}return d}