Please add ?attacker=(nation name)&defender=(nation name) to the url to get it to work properly (Remember, spaces should become "%20", HTML-encoded).
Other options:
&popspeca=(the difference of attacker's "population" from Nationstates. popspecd does likewise for defender) - For those countries who like to specify exact populations
&randomize=1 - Randomizes the population slightly