function displayMessage(rssURL){
	var htmltag = "";
	var maxItem = 1;
	var target = "/alert_cgi-bin/curl.cgi?sURL="+rssURL+"&cache="+(new Date()).getTime();
	var httpObj = new JKL.ParseXML(target);
	xmlData = httpObj.parse();
	
	if(typeof(xmlData) == "undefined" || xmlData.parsererror){
		if(rssURL == "http://www.shigen.nig.ac.jp/alert/alertJa.xml"){
			htmltag += '<table cellpadding="0" cellspacing="0"><tr><td class="title">';
			htmltag += '&nbsp&nbsp;<b>Notice: Suspension of Services Due to Network Maintenance</b>';
			htmltag += '</td></tr><tr><td class="description">';
			htmltag += 'The services on our website will be temporarily suspended during the period of time stated below due to scheduled network maintenance. We apologize for the inconvenience and we thank you for your understanding in this matter.<br>';
			htmltag += '17:00(5pm) on Fri. Nov 27, 2009 - 10:00(10am) on Mon. Nov 30, 2009'
			htmltag += '</td></tr></table><br>';
		}else{
			htmltag += '<table cellpadding="0" cellspacing="0"><tr><td class="title">';
			htmltag += '&nbsp&nbsp;<b>Notice: Suspension of Services Due to Network Maintenance</b>';
			htmltag += '</td></tr><tr><td class="description">';
			htmltag += 'The services on our website will be temporarily suspended during the period of time stated below due to scheduled network maintenance. We apologize for the inconvenience and we thank you for your understanding in this matter.<br>';
			htmltag += '17:00(5pm) on Fri. Nov 27, 2009 - 10:00(10am) on Mon. Nov 30, 2009'
			htmltag += '</td></tr></table><br>';
		}
	}else{
		n = xmlData["rss"]["channel"]["item"].length;
		if (n > maxItem) n = maxItem;
		for (var i=0; i<n; i++) {
			var rssTitle = xmlData["rss"]["channel"]["item"][i].title;
			var rssLink = xmlData["rss"]["channel"]["item"][i].link;
			var rssDescription = xmlData["rss"]["channel"]["item"][i].description;
			var rssDate = xmlData["rss"]["channel"]["item"][i].pubDate;
			if(rssTitle != undefined){
				htmltag += '<table cellpadding="0" cellspacing="0"><tr><td class="title">';
				htmltag += '&nbsp&nbsp;<b>' + rssTitle + '</b>';
				htmltag += '</td></tr><tr><td class="description">';
				htmltag += rssDescription + '<br>' + rssDate + '</font>';
				htmltag += '</td></tr></table><br>';
			}
		}
	}
	document.getElementById("alert").innerHTML = htmltag;
};