/**
 * 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 (divid,swf,id,width,height,version,bgcolor) {

var url=self.location.toString();
var pos1 = url.search(/search/);
var pos2 = url.search(/cache/);
if  ((pos1 == -1 ) && (pos2 == -1)) {
// we only do this if it's not a search engine cache	
var fo = new SWFObject(swf, id, width, height, version, bgcolor);
//  fo.addVariable("variable", "varvalue"); 
  fo.addVariable("loop", "0"); 

  fo.write(divid); 
}
}