/* 

 */

function radioState (field_element, controlled_element) {
   $(field_element).change(
    function()
      {
        var val=$(field_element + ":checked").val();
        if (val == 1){
          $(controlled_element).show("slow");
        } else {
          $(controlled_element).hide("slow");
        }
      }
   );
}

/*
$(document).ready(function() {
   $("input[name='test']").change(
    function()
      {
        var val=$("input[@name='test']:checked").val();
        if (val == 1){
          $("fieldset#test").show("slow");
        } else {
          $("fieldset#test").hide("slow");
        }
      }
   );
});
*/


$(document).ready(function() {
    /* $("input[name='configuration_required']").change(radioState("input[name='configuration_required']","div#configure"));
    $("input[name='number_required']").change(radioState("input[name='number_required']","div#configure1"));*/

/*
    $("a.expando").click(function() {
        // $("div#signup").toggle("slow");
        $("div#signup").show();
        
        return false;
    });
*/

$(".expand").click(function () {
$("div.signup").toggle();
return false;
});


});
/* $("a#num").click(function() {
    $("div#numbers").toggle("slow");
    return false;
});

$("a#tu").click(function() {
    $("div#topup").toggle("slow");
    return false;
});

$("a#pi").click(function() {
    $("div#pins").toggle("slow");
    return false;
});
*/

