/**
 *	WELL POLISHED
 *	Flash loop SWFObject
 *	
 *	Use swfobject to replace #flash-banner's content with 
 *	/flash/looped-animation-general.swf flash file
 *	
 *	@copyright 2009 philthompson.co.uk for Seventy Seven Ltd
 *	@author philthompson.co.uk
 */
 
var params     = {};
var flashvars  = {};
var attributes = {};
var flashvars_animation  = {};

/* 
  Parameters
  Distinct colours to see what's going on
*/
params.loop               = "true";
params.menu               = "true";
params.quality            = "autohigh"; // dunno if this does anything
params.bgcolor            = "transparent";
params.wmode 			  = "transparent";
params.allowfullscreen    = "true";
params.allowscriptaccess  = "always";


/* Redeclare width & height for IE
   Set the stage height 2px smaller
   than (displayheight plus controller)
   to remove that nasty bar at the bottom
*/
flashvars.width            = "653"; 
flashvars.height           = "195";
flashvars.usefullscreen    = "true";
flashvars.overstretch      = "true";
flashvars.thumbsinplaylist = "false";
flashvars.showicons        = "false";
flashvars.enablejs         = "true";
flashvars.javascriptid     = "mpl";

// Banner

swfobject.embedSWF("/flash/looped-animation-general.swf", "flash-banner", "653", "195", "8", false, flashvars_animation, params, attributes);
