
function makecookie(name, wert)
{
   var ablauf = new Date();
   var einjahr = ablauf.getTime() + (365 * 24 * 60 * 60 * 1000);
   ablauf.setTime(einjahr);
   document.cookie = name + "=" + wert + "; expires=" + ablauf.toGMTString();
   opener.location.reload();
   return true;
}

function makestyle(name, wert)
{
   makecookie(name, wert);
   opener.location.reload();
   return true;
}


