$(document).ready(function() {
  
  var tmp = location.href.split("/"),
      currentwizard = tmp[tmp.length-1].split("_")[0];

  $("#questionform").load("productwizard/" + currentwizard + "_q1.html").submit(function () {
    var me = $(this);
    $.ajax({
      url: me.attr("action"),
      type: "POST",
      data: me.serialize(),
      success: function(result) {
        me.html(result);
      }
    });
    return false;
  });
});