It is also best to try to ignore the dog's behaviour, as they pick up if they think you are worried. Ihave one who starts to shake and if I was to comfort her she would do it all the more. I ignore her and then throw them all a biscuit or a treat and her greed soon gets the better of her.
Please make sure your gates/doors are secure during fireworks, and if you take them out make sure your collars are tight enough, as they may try to slip their leads.
Have a look at the doglost
http://www.doglost.co.uk website and see just how many dogs have gone missing over the last couple of days, mostly due to fireworks - I'd ban the damn things totally other than organised displays which are advertised well in advance.