function createCookie(a,d,c){if(c){var b=new Date;b.setTime(b.getTime()+c*864E5);c="; expires="+b.toGMTString()}else c="";document.cookie=a+"="+d+c+"; path=/"}function readCookie(a){a+="=";for(var d=document.cookie.split(";"),c=0;c<d.length;c++){for(var b=d[c];b.charAt(0)==" ";)b=b.substring(1,b.length);if(b.indexOf(a)==0)return b.substring(a.length,b.length)}return null}function eraseCookie(a){createCookie(a,"",-1)}
function toggle(a){a=getNode(a);if(a!=null)a.style.display=a.style.display==""||a.style.display=="none"?"block":"none"}function getNode(a){return document.getElementById?document.getElementById(a):document.all&&document.all(a)?document.all(a):document.layers&&document.layers[a]?document.layers[a]:!1};