// Save the screen resolution in a cookie:
Cookie.save("resolution", screen.width + "x" + screen.height);

// Reload the page:
window.location.reload();
