function initRotator() {
    // arguments: image name, rotation speed (milliseconds), 
    // path to images (optional), name of target window (optional, string)
    var rotator1 = new dw_Rotator('img1', 3500, "slike/zastopstvo/");
    // add the images to rotate into that image object
    rotator1.addImages("creaton_krovstvo.gif", "tondach_krovstvo.gif", "esal_krovstvo.gif", "bramac_krovstvo.gif", "gerard_krovstvo.gif", "metrobond_krovstvo.gif", "roser_krovstvo.gif", "trimo_krovstvo.gif", "termotop_krovstvo.gif");
    // add the corresponding actions to take onclick of those images 
    // destination url or function pointer
    rotator1.addActions("" 
    );
    //rotator1.rotate(); // sometimes may want to call rotate here
    
    dw_Rotator.start();
}

