function swapFlash(image) {

	var filename = "";
	
	switch (image) {
	
		case 1:
			filename = "/assets/flash/main.swf";
			break;
			
	}
	
	// define a new flash object - replace *ed paramaters.
	var f1 = new FlashObject(filename, "banner_flash", "509", "302", "VERSION_(6)", "#ffffff" );
	
	// send parameters to flash - delete if not used.
	f1.addParam("quality", "high");
	f1.addParam("menu", "false");
	f1.addParam("wmode", "transparent");
	
	// send vaiables to flash like this - delete if not used.
	//f1.addVariable("flashVarText", "this is passed in via FlashVars");
	
	// draw the flash element to the screen.
	f1.write("flash");
}
