//--------------------------------------------------------------------
//	指定オブジェクトの背景を変更する関数
//--------------------------------------------------------------------
function changeObjBackgroundColor ( obj, color ) {
	obj.style.backgroundColor = color;
}
//--------------------------------------------------------------------
//	XMLHttpRequestObj取得関数
//--------------------------------------------------------------------
function get_HttpRequestObj () {
	var obj;
	if ( window.ActiveXObject ) {
		// Win IE
		try {
			// MSXML2
			obj = new ActiveXObject("Msxml2.XMLHTTP");
		} catch (e) {
			try {
				// MSXML
				obj = new ActiveXObject("Microsoft.XMLHTTP");
			} catch (e2) {
				obj = null;
			}
		}
	} else if ( window.XMLHttpRequest ) {
		obj = new XMLHttpRequest ();
	} else {
		obj = null;
	}

	return obj;
}

function nl2br ( str ) {
	return str;
	//return str.replace('\n', '\<br \/\>');
}

function change_Display ( id ) {
	var obj = document.getElementById(id);
	if ( obj.style.display == 'none' ) {
		obj.style.display = 'block';
	} else {
		obj.style.display = 'none';
	}
}


