function HeaderTextSelect(flg){
	if ( flg == "on"){
		document.frm.domain.value = "";
	} else if ( flg == "off" ) {
		if ( document.frm.domain.value == "" ) {
			document.frm.domain.value = "ローマ字、日本語どちらでも検索できます。";
		}
	}else{}
}

function TextAreaSelect(flg){
	if ( flg == "on"){
		document.OrganTypeForm.domain.value = "";
	} else if ( flg == "off" ) {
		if ( document.OrganTypeForm.domain.value == "" ) {
			document.OrganTypeForm.domain.value = "ローマ字、日本語どちらでも検索できます。";
		}
	}else{}
}

function TextAreaSelect02(flg){
	if ( flg == "on"){
		document.OrganTypeForm02.domain.value = "";
	} else if ( flg == "off" ) {
		if ( document.OrganTypeForm02.domain.value == "" ) {
			document.OrganTypeForm02.domain.value = "ローマ字･日本語 どちらでも可能です";
		}
	}else{}
}

function TextAreaSelect03(flg){
	if ( flg == "on"){
		if ( document.LoginForm.loginName.value == "お名前ID" ) {
			document.LoginForm.loginName.value = "";
			document.getElementById("onamaeId").style.color = "#000";
		}
	} else if ( flg == "off" ) {
		if ( document.LoginForm.loginName.value == "" ) {
			document.LoginForm.loginName.value = "お名前ID";
			document.getElementById("onamaeId").style.color = "#787878";
		}
	}else{}
}

function TextAreaSelect04(flg){
	if ( flg == "on"){
		document.getElementById("cvr").style.display = "none";
		document.LoginForm.password.focus();
	} else if ( flg == "off" ) {
		if ( document.LoginForm.password.value == "" ) {
			document.getElementById("cvr").style.display = "block";
		}
	}else{}
}

function TextAreaSelect05(flg){
	if ( flg == "on"){
		document.SeekForm.inputDomains.value = "";
	} else if ( flg == "off" ) {
		if ( document.SeekForm.inputDomains.value == "" ) {
			document.SeekForm.inputDomains.value = "移管するドメインを入力。";
		}
	}else{}
}
var DefStr = "ローマ字でドメインを検索。";
var srchlg = "";
function TextAreaSelect_wb(flg){
	if ( flg == "on"){
		if (document.OrganTypeForm_wb.domain.value = DefStr ) { // 代入演算子はIEバグ対応
			document.OrganTypeForm_wb.domain.value = "";
			if ( srchlg ) { document.OrganTypeForm_wb.domain.value = srchlg; }
		}
	} else if ( flg == "off" ) {
		if ( document.OrganTypeForm_wb.domain.value == "" ) {
			document.OrganTypeForm_wb.domain.value = DefStr;
			srchlg = "";
		} else {
			srchlg = document.OrganTypeForm_wb.domain.value;
		}

	}else{}

}

function PswdChck () {
/*	if ( document.LoginForm.password.value )
		document.getElementById("cvr").style.display = "none";
	else
		document.getElementById("cvr").style.display = "block";

	if ( document.LoginForm.loginName.value != "お名前ID") 
			document.getElementById("onamaeId").style.color = "#000";
*/
}

