function replaceFlashText(obj_param) {
	// require - id, width, height
	// optional - font_size, font_color, font_align, debug
	var so, obj, obj_id, obj_width, obj_height, obj_content, obj_font_size, obj_font_color, obj_font_align;
	obj_id = obj_param.id;
	obj = document.getElementById(obj_id);
	obj_content = obj.innerHTML;
	obj_width = obj_param.width;
	obj_height = obj_param.height;
	obj_font_size = obj_param.font_size;
	obj_font_color = obj_param.font_color;
	obj_font_align = obj_param.font_align;
	obj_flash_id = "flash-"+obj_id;
	so = new SWFObject(
		"/ktd-ul.swf",
		obj_flash_id,
		obj_width,
		obj_height,
		"8",
		"#FFFFFF"
	);
	so.useExpressInstall("/expressinstall.swf");
	so.addParam("wmode", "transparent");
	so.addVariable(
		"txt",
		"<font size='"+obj_font_size+"' color='"+obj_font_color+"'>"+obj_content+"</font>"
	);
	so.addVariable("w", obj_width);
	so.addVariable("h", obj_height);
	so.addVariable("a", obj_font_align);
	so.write(obj_id);
	if (obj_param.debug) {
		var obj_flash = document.getElementById(obj_flash_id);
		obj_flash.style.backgroundColor = "#F00";
	}
}
if (document.getElementById("intro-header")) {
	replaceFlashText( {
		id: "intro-header",
		width: 590,
		height: 48,
		font_size: 48,
		font_color: '#FFFFFF'
	} );
}
if (document.getElementById("intro-subheader")) {
	replaceFlashText( {
		id: "intro-subheader",
		width: 590,
		height: 36,
		font_size: 36,
		font_color: '#FFFFFF',
		font_align: "right"
	} );
}
if (document.getElementById("highlight-header")) {
	replaceFlashText( {
		id: "highlight-header",
		width: 570,
		height: 52,
		font_size: 52,
		font_color: '#FFFFFF'
	} );
}
if (document.getElementById("content-header")) {
	replaceFlashText( {
		id: "content-header",
		width: 720,
		height: 48,
		font_size: 48,
		font_color: '#000000'
	} );
}
if (document.getElementById("subcontent-header")) {
	replaceFlashText( {
		id: "subcontent-header",
		width: 720,
		height: 40,
		font_size: 40,
		font_color: '#000000'
	} );
}
if (document.getElementById("catalog-header")) {
	replaceFlashText( {
		id: "catalog-header",
		width: 720,
		height: 48,
		font_size: 48,
		font_color: '#000000'
	} );
}
if (document.getElementById("catalog-subheader")) {
	replaceFlashText( {
		id: "catalog-subheader",
		width: 720,
		height: 40,
		font_size: 40,
		font_color: '#000000'
	} );
}
