// JavaScript Document

function createplayer(theFile, go) {
	var s = new SWFObject("player.swf","playerID","516","316","8");
	s.addParam("wmode","transparent");
	s.addParam("allowfullscreen","true");
	s.addVariable("file",theFile);
	s.addVariable("width","516");
	s.addVariable("height","336");
	s.addVariable("displayheight","316");
	s.addVariable("overstretch","fit");
	s.addVariable("image","uploads/images/innovation-video.jpg");
	s.addVariable("volume","100");
	s.addVariable("backcolor","0x000000");
	s.addVariable("frontcolor","0xCCCCCC");
	s.addVariable("lightcolor","0x82A6D6");
	s.addVariable("bufferlength","12");
	if (go) { s.addVariable("autostart","true"); }
	s.write("video2");
}