
function listsen88() {
	if (document.getElementById("attachsong") != null) {
//		loadTextFile("./event/88_love/attach_new.jsp","attachsong");
		loadTextFileJ("event/88_love/attach_new.jsp","attachsong");
	}
}

function love_88(tid){
			loadTextFileJ("middle_01.jsp?id="+tid,"jerry");
}

function count_88(tid,dname) {
	loadTextFile("countme.jsp?id="+tid,dname);
}

function checkEmail(fieldid) {
		loadTextFile("../../modules/message/checkemail.jsp?fd="+document.getElementById(fieldid).value+"&rv="+fieldid,"jerry");
}

function send88(){
		if (document.getElementById("uuname").value.length == 0) {
				loadTextFile("../../modules/message/message.jsp?id=431","jerry");				
			} else {		
		if (document.getElementById("uid").value.length == 0) {
				loadTextFile("../../modules/message/message.jsp?id=430","jerry");				
			} else {	
		if (document.getElementById("sendemail").value.length == 0) {
				loadTextFile("../../modules/message/message.jsp?id=450","jerry");				
			} else {
				if (document.getElementById("sendnickname").value.length == 0) {
					loadTextFile("../../modules/message/message.jsp?id=451","jerry");
					document.getElementById("sendnickname").focus();				
				} else {
					var qstr = "" ;
					qstr = "id="+encodeURIComponent(document.getElementById("tracknumber").value)+"&uuname="+encodeURIComponent(document.getElementById("uuname").value)+"&uid="+encodeURIComponent(document.getElementById("uid").value)+"&recemail="+encodeURIComponent(document.getElementById("sendemail").value)+"&recname="+encodeURIComponent(document.getElementById("sendnickname").value)+"&reccontent="+encodeURIComponent(document.getElementById("sendcontent").value);
				iBox.hide();
	new Ajax.Request("middle_02.jsp", { method: "post",
			parameters:qstr,
			onComplete:handleTxt88});
					document.getElementById("Image02").onclick="" ;
				}
			}
		}
	}
}	

function handleTxt88(httpObj)
{
			iBox.hide();
//			iBox.default_width = 410;
//			iBox.default_height = 410;
			iBox.showURL("send.jsp","message","");
}