/*
 * jScroller2 - The next Generation Autoscroller by Markus Bordihn
 *
 * Example for change Speed on request...
 *
 * Copyright (c) 2008 Markus Bordihn (markusbordihn.de)
 * Dual licensed under the MIT (MIT-LICENSE.txt)
 * and GPL (GPL-LICENSE.txt) licenses.
 *
 * $Date: 2008-09-15 18:00:00 +0100 (Mon, 15 Sep 2008) $
 */

function jscroller2_change_speed(obj, speed) {
 if (obj && speed) {
     for (var i=0;i<ByRei_jScroller2.obj.length;i++) {
       if (ByRei_jScroller2.obj[i][1].obj === obj) {
            ByRei_jScroller2.obj[i][3].speed = Number(speed);
       }
     }
 }
}