It's a simple class to manipulate cookies in an object-oriented manner.
var cookies = AloCookie.getAll();
// {name1:value1, name2:value2 ...}
var cookie = new AloCookie("foo");
cookie.value = "bar";
cookie.expire = 3600; //in 1 hour. Defaults to expire at the end of the session
cookie.domain = "www.example.com"; //defaults to window.location.hostname
cookie.path = "/cart/checkout"; // Defaults to "/"
cookie.secure = true; // true sends the cookie only via HTTPS. Defaults to window.location.protocol == "https:"
cookie.save()
var cookie = new AloCookie("foo"),
cookieExists = cookie.exists();
var cookie = new AloCookie("foo");
cookie.remove();