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" : "");
}

function msize()
{
	var czas = new Date (); 
   czas.setTime(czas.getTime() + + (24 * 60 * 60 * 1000)); 	
	
	var string;
	string = screen.width+"x"+screen.height;
	SetCookie('dstat_size',string,czas,'/');
}
