function initRotator() {
  // arguments: image name, rotation speed (milliseconds), 
  // path to images (optional), name of target window (optional, string)
  var rotator1 = new dw_Rotator('img1', 4000, "","_blank");
  // add the images to rotate into that image object
  rotator1.addImages("http://www.aimgroup.co.uk/en/images/creatives/315/98/1/4/483.gif", "http://www.aimgroup.co.uk/en/images/logos/313/17/logo.gif", "http://www.aimgroup.co.uk/en/images/logos/315/81/logo.gif", "http://www.aimgroup.co.uk/en/images/logos/315/25/logo.gif");
  // add the corresponding actions to take onclick of those images 
  // destination url or function pointer
  rotator1.addActions("http://shop.gocarbonfree.com?sco=aim_fa", "http://www.smilescollect.co.uk", "http://www.loopylotto.co.uk?sc=aim_fa","http://www.eurmiles.com?sc=aim_fa" );
  //rotator1.rotate(); // sometimes may want to call rotate here
  dw_Rotator.start();
}
