// JavaScript Document

function setFlash(file, width, height, colour){
	if(!colour){
		colour = "#ffffff";	
	}
	
	var fo = new SWFObject(file, "Flash", width, height, "9", colour);
	fo.addParam("quality", "high");
	fo.addParam("menu", "false");
	fo.write("flashContainer");
	
	var temp = document.getElementById('flashContainer').style;
	temp.height = height+"px";
	temp.width = width+"px";
}