<!--
// 共通関数、getElementById短縮
function $(tagId) {
	return document.getElementById(tagId);
}

// HTTP通信用、共通関数
function createXMLHttpRequest(cbFunc) {
	var XMLhttpObject = null;
	try{
		XMLhttpObject = new XMLHttpRequest();// Firefox(opera,safari)
	}catch(e){
		try{
			XMLhttpObject = new ActiveXObject("Msxml2.XMLHTTP");// IE6以降
		}catch(e){
			try{
				XMLhttpObject = new ActiveXObject("Microsoft.XMLHTTP");// IE5以前
			}catch(e){
				return null;
			}
		}
	}
	if (XMLhttpObject) XMLhttpObject.onreadystatechange = cbFunc;
	return XMLhttpObject;
}

function loadHTMLFile(fName) {
	httpObj = createXMLHttpRequest(displayData);
	if (httpObj) {
		httpObj.open("GET",fName,true);
		httpObj.send(null);
	}
}

function displayData() {
	if ((httpObj.readyState == 4) && (httpObj.status == 200)) {
		$("l_div_link").innerHTML = httpObj.responseText;
	} else {
		$("l_div_link").innerHTML = "<strong>Loading...</strong>";
	}
}

//onload
function showQlink(id)
{
	if(document.all){
		if(document.all(id).style.display == 'none') {
			document.all(id).style.display='block';
		}
	}else if(document.getElementById) {
		if($(id).style.display == 'none') {
			$(id).style.display = 'block';
		}
	}
	$("l_div_link").style.display = 'none';
}

//onclick
function insertDiv(divNumber) {
	var fName = './../link/l_div_link' + String(divNumber) + '.php';
	if ($("l_link" + String(divNumber))) {
		return false;
	}
	loadHTMLFile(fName);
	$("l_div_link").style.display = 'block';
}
-->