/*************************************************************************
  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', 3000, "images/gallery/jpegs-scaled/");
    rotator1.addImages("Regal-oldman.jpg","the rock.jpg","hallmark w diamond-bw.jpg","commitment-colour.jpg");
    
    var rotator2 = new dw_Rotator('img2', 3000, "images/gallery/jpegs-scaled/");
    rotator2.addImages("the rock-BW.jpg","Regal-Dandelion.jpg","Regal-oldman-BW.jpg","hallmark w-diamond.jpg");
    
    var rotator3 = new dw_Rotator('img3', 3000, "images/gallery/jpegs-scaled/");
    rotator3.addImages("commitment-colour.jpg","the rock-BW.jpg","hallmark w-diamond.jpg","Regal-oldman-BW.jpg");

    dw_Rotator.start();  
}
