function image_rotate(divid, playlistpath, width, height) {
    var s1 = new SWFObject("/flash/imagerotator.swf",divid + "-rotator", width, height, 7);
    s1.addVariable("file",playlistpath);
    s1.addVariable("transition","slowfade");
    s1.addVariable("overstretch","false");
    s1.addVariable("backcolor","0xFFFFFF");
    s1.write(divid);
}
