-<script>
-function commandButton(elt, action){
- form = elt.up('', 4);
- cdrom = Form.serialize(form, true).cdrom;
- new Ajax.Request('command', {method: 'post',
- parameters: 'machine_id=$machine.machine_id&js=info&cdrom='+cdrom+'&action='+action,
- onSuccess: replaceFunc
- });
- return false;
-}
-</script>