/*************************************************************************
  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', 3500, "images/");
    rotator1.addImages("shop.jpg","slide4.jpg","slide5.jpg");

    var rotator2 = new dw_Rotator('img2', 4000, "images/");
    rotator2.addImages("sweet.jpg","slide6.jpg","slide7.jpg");

    var rotator3 = new dw_Rotator('img3', 5000, "images/");
    rotator3.addImages("fashion-dog.jpg","slide8.jpg","slide9.jpg");

    dw_Rotator.start();
}
