function switchPoetContent(poetObj)
{
	var poet_id = poetObj.id.substring(5);
	var poet_page = "/"+shared_path+"/"+poetpage+".php?poet_id=";
	if (current_id == poet_id || doing) {
		times++;
		if (times > TIMES_MAX) {
			// document.location.reload(true);
			redirect(poet_page + poet_id + "&period_id=" + period_id + "&country_id=" + country_id + "&no=" + no);
		}
		return false;
	}
	current_id = poet_id;
	waitDoing(poetObj);
	// var target = "poets.php?poet_id=" + poet_id + "&period_id=" + period_id + "&country_id=" + country_id + "&no=" + no;
	var target = poet_page + poet_id + url_params + "&no=" + no;
	if (req_object == null) {
		req_object = getXMLRequest();
		if (!req_object) {
			redirect(target);
		}
	}
	if (req_object) {		
		var url = poet_page+poet_id+"&hno="+hno+"&no="+no+"&verifyContentNumber="+verifyContentNumber;
		
		try {
			req_object.open('GET', url, false);
			req_object.send(null);
		} catch (err) {
			redirect(target);
		}
		
		var content = req_object.responseXML.getElementsByTagName("content");
		if (content[0] != null) {
			var contentSpan = document.getElementById('content');
			// alert(contentSpan.innerHTML);
			contentSpan.innerHTML = content[0].childNodes[0].data;
		} else {
			redirect(target);
		}
		
		var comment = req_object.responseXML.getElementsByTagName("comment");
		if (comment[0] != null) {
			var commentSpan = document.getElementById('comment');
			commentSpan.innerHTML = comment[0].childNodes[0].data;
		}
		
		// poetObj.onmouseout = new Function("return false");
		
		document.getElementById('title').innerHTML = poetObj.innerHTML;

		initialize_image();
	}
	waitDone(poetObj);
	
	return false;
}

