I am using joomla with a video component called hwdvideoshare, that has a 5 star rating system that calculates the video ranking with the rating and number of votes. It adds two fields to the database (rating and votes). I would like to change this to an up/down voting system that when clicked up adds one vote to the field and clicked down minuses one vote from the same field. All the other paramaters should remain the same such as ip adress, and re-voting. The code is php and in an [url removed, login to view] file.