/**
 * mySWFmovie v1.0: Javascript function that works with SWFObject.js and is used to build the object.
 * Derived by www.webado.net  from the original by Geoff Stearns.
 *
 * SWFObject is (c) 2006 Geoff Stearns and is released under the MIT License:
 * http://www.opensource.org/licenses/mit-license.php
 *
 * **SWFObject is the SWF embed script formerly known as FlashObject. The name was changed for
 *   legal reasons.
 *
 * For all usage credits must remain intact.
 */


function mySWFmovie(swfid, id, width, height, version, bgcolor) {
	var whichOne = flashArray[0]; // The logo to be shown is in the first position of the array
	// In the following for loop, move all of the array contents up one slot
	for(a = 0; a < (total - 1); a++) {
		flashArray[a] = flashArray[a + 1]
	}
	flashArray[total - 1] = whichOne; // Put the logo currently being displayed in the last position of the array
	var swf = "images/clients/" + whichOne + ".swf";
	var fo = new SWFObject(swf, id, width, height, version, bgcolor);
	fo.addVariable("variable", "varvalue");
	fo.write(swfid);
	var t = setTimeout("mySWFmovie(swfid, id, width, height, version, bgcolor)", 3750);
}
