Pololu High-Power Motor Driver 18v15

Does anybody know how I should hook up this motor driver:

to an Arduino Duemilanove?

This is how I was thinking

V+ to battery +
outA and outB to actuator
GND to battery ground

gnd to gnd on arduino
dir to gnd on arduino
pwm to 5V on the arduino

any help would be greatly appreciated. I am very new to this.

So I can put the PWM to digital 3,5,6,9,10,or 11? Then the dir to digital 7 or any other free spot?

Is there another connection I need to make to have the Arduino powered by the 12V battery connected to the motor driver?

"Is there another connection I need to power the Arduino from the 12V battery?
If that is your question, then the answer is that you connect the +12V to the Vin pin on Duemilanove."

So I just connect the 12V battery to the Arduino as well as the motor driver?