var count = GetCookie("PMC") ++count; UpdateCookie("PMC",count); SetCookie("PMC","Someday");