function check_close(I,i,l){if(document.getElementById('check_'+I)!=null&&document.getElementById('check_'+I).checked){Set_Cookie(l,true,i,'/','','')}}
function display_none(i){if(document.getElementById(i)!=null){document.getElementById(i).style.display='none'}}
function display_block(i){if(document.getElementById(i)!=null){document.getElementById(i).style.display='block'}}
function Set_Cookie(v,C,i,c,o,O){var l=new Date;l.setTime(l.getTime());if(i){i=i*1000*60*60*24}
var I=new Date(l.getTime()+(i));document.cookie=v+"="+escape(C)+((i)?";expires="+I.toGMTString():"")+((c)?";path="+c:"")+((o)?";domain="+o:"")+((O)?";secure":"")}
function Get_Cookie(C){var O=document.cookie.split(';'),I='',l='',c='',o=false;for(i=0;i<O.length;i++){I=O[i].split('=');l=I[0].replace(/^\s+|\s+$/g,'');if(l==C){o=true;if(I.length>1){c=unescape(I[1].replace(/^\s+|\s+$/g,''))}
return c;break}
I=null;l=''}
if(!o){return null}}
function Delete_Cookie(i){var I=new Date;if(Get_Cookie(i)){document.cookie=i+"=null;expires="+I.toGMTString()+";"+";";alert(Get_Cookie(i))}}
