function outputswf(flavars){
	/*if (AC_FL_RunContent) {
		var swobj=AC_FL_RunContent(
			'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0',
			'width', '200',
			'height', '278',
			'src', 'abata',
			'quality', 'high',
			'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
			'align', 'middle',
			'play', 'true',
			'loop', 'true',
			'scale', 'showall',
			'wmode', 'window',
			'devicefont', 'false',
			'id', 'abata',
			'bgcolor', '#ffffff',
			'name', 'abata',
			'menu', 'true',
			'allowScriptAccess','sameDomain',
			'movie', 'abata',
			'salign', '',
			'flashVars','defaultParts='+flavars
			); //end AC code
		
		//alert(swobj);
		document.getElementById("avator-swf").innerHTML=swobj;
	}*/
	if (AC_FL_RunContent) {
		var swobj=AC_FL_RunContent(
			'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0',
			'width', '200',
			'height', '278',
			'src', '/bbs/avatar-v3',
			'quality', 'high',
			'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
			'align', 'middle',
			'play', 'true',
			'loop', 'true',
			'scale', 'showall',
			'wmode', 'window',
			'devicefont', 'false',
			'id', 'avatar-v3',
			'bgcolor', '#ffffff',
			'name', 'avatar-v3',
			'menu', 'true',
			'allowScriptAccess','sameDomain',
			'movie', '/bbs/avatar-v3',
			'salign', '',
			'flashVars','defaultParts='+flavars
			); //end AC code
		
		//alert(swobj);
		document.getElementById("avator-swf").innerHTML=swobj;
	}
}
function test(a){
	//alert(a);
	check=true;
	
	document.getElementById("icon").value=a;
	document.getElementById("fname").focus();
	/*document.getElementById("fname").disabled=false;
	document.getElementById("fname").style.backgroundColor="#ffffff";
	document.getElementById("fmail").disabled=false;
	document.getElementById("fmail").style.backgroundColor="#ffffff";
	document.getElementById("furl").disabled=false;
	document.getElementById("furl").style.backgroundColor="#ffffff";
	document.getElementById("fsubj").disabled=false;
	document.getElementById("fsubj").style.backgroundColor="#ffffff";
	document.getElementById("fcomment").disabled=false;
	document.getElementById("fcomment").style.backgroundColor="#ffffff";
	document.getElementById("fpass").disabled=false;
	document.getElementById("fpass").style.backgroundColor="#ffffff";
	*/
}
function formDisable(){
	check=false;
	/*
	document.getElementById("fname").disabled=true;
	document.getElementById("fname").style.backgroundColor="#dddddd";
	document.getElementById("fmail").disabled=true;
	document.getElementById("fmail").style.backgroundColor="#dddddd";
	document.getElementById("furl").disabled=true;
	document.getElementById("furl").style.backgroundColor="#dddddd";
	document.getElementById("fsubj").disabled=true;
	document.getElementById("fsubj").style.backgroundColor="#dddddd";
	document.getElementById("fcomment").disabled=true;
	document.getElementById("fcomment").style.backgroundColor="#dddddd";
	document.getElementById("fpass").disabled=true;
	document.getElementById("fpass").style.backgroundColor="#dddddd";
	*/
}
function formCheck(){
	if(!check){
		alert("アバター作成が完了していません。");
	}
	return check;
}
function skipcheck(){
	check=true;
}
function caution(){
	window.opener.location.href='http://'+location.hostname+'/about-foz/#bbs';
	window.close();
}
var check=false;

