function removeChildren(obj) {
	while (obj.hasChildNodes()) { obj.removeChild(obj.lastChild); }
}
function chkData(XMLhttp,extraArgs) {
	var cO,obj,k,sS,nT,fN;
	if (XMLhttp.readyState == 4) {
		if (XMLhttp.status == 200) {
			cO = (document.getElementById) ? document.getElementById('modifySection') : document.all('modifySection');
			if (cO && XMLhttp.responseText && extraArgs) {
				obj = document.createElement('span');
				obj.id = extraArgs;
				fN = obj.id.match(/(.+?)Modified/);
				if (fN) {
					nT = fN[1].substring(0,1).toUpperCase() + fN[1].substring(1);
					if (!/^core/i.test(nT)) nT += ' Plgin ';
					else if (cInfo) nT += ' (v.'+cInfo.version+') ';
					nT += ' modified: ';
					sS = document.createElement('strong');
					sS.appendChild(document.createTextNode(nT));
					obj.appendChild(sS);
					obj.appendChild(document.createElement('br'));
					obj.appendChild(document.createTextNode(XMLhttp.responseText.replace(/\s*$/,'')));
					if (cO.childNodes.length) cO.appendChild(document.createElement('br'));
					cO.appendChild(obj);
				} 
			}
		}
	}
}
function setModifiedDates(File, objID) {
	var cO,cHttp;
	cO = (document.getElementById) ? document.getElementById('modifySection') : document.all('modifySection');
	if (cO) {
		if (/^core/.test(objID)) removeChildren(cO);
		cHttp = cAjax('GET',chkData,'./getModifiedDate.php','filename='+File,true,objID);
	}
}