/*************************************************************************
  This code is from Dynamic Web Coding at dyn-web.com
  Copyright 2001-5 by Sharon Paine 
  See Terms of Use at www.dyn-web.com/bus/terms.html
  regarding conditions under which you may use this code.
  This notice must be retained in the code as is!
*************************************************************************/

function initRotator() {
    // arguments: image name, rotation speed, (optional) path to images
    var rotator1 = new dw_Rotator('img1', 6500, "images/rotate/");
    // add the images to rotate into that image object  
    rotator1.addImages("headercentre1.jpg", "headercentre2.jpg", "headercentre3.jpg", "headercentre4.jpg","headercentre5.jpg");
    //rotator1.rotate(); // sometimes may want to call rotate here
    dw_Rotator.start();
}