diff --git a/www/physics/ribbon_cutting2010/voting.php b/www/physics/ribbon_cutting2010/voting.php
index fb7d5fe3198b1ee70a4da727f351eaef55decaee..a5dea80295056b8e2dd2c18bfa77493cddf5f07a 100644
--- a/www/physics/ribbon_cutting2010/voting.php
+++ b/www/physics/ribbon_cutting2010/voting.php
@@ -35,19 +35,18 @@ WDN.jQuery(function($) {
$(".vote").click(function() {
var parent = $(this);
$(this).fadeIn(200).html('...');
- $.ajax({
- type: "POST",
- url: "castvote.php",
- data: 'id=' + $(this).attr("id"),
- cache: false,
- success: function(html){
+ WDN.post(
+ "castvote.php",
+ 'id=' + $(this).attr("id"),
+ function(html){
parent.html(html);
parent.removeClass('vote red');
parent.addClass('green');
parent.unbind('click');
$(".vote").slideToggle("fast");
- }
- });
+ },
+ ''
+ );
return false;
});
});