majar update to cookies

majar update to cookies and the way they were handeled now uses jquery
cookie plugin fixes some instancies with ghost chat windows