So basically, I have two tabs which contain regular and special e-mails. In order to get e-mails, you have to click on a calendar date and AJAX will then query the database for the regular e-mails and special e-mails. There is a next and previous button to navigate through the results gotten for the selected date. The problem I have is that since each tab keeps track of a separate set of e-mails, e-mail count, viewing e-mail So basically, I have two tabs which contain reg