
var strImageDir="http://image.soulultimatenation.com.tw/WWW/";
var strGlogDir ="http://glog.soulultimatenation.com.tw/";
var LayerPopup = window.createPopup();
// ´Ð³×ÀÓ Å¬¸¯½Ã ·¹ÀÌ¾î ¸Þ´º
// ¹Þ´Â»ç¶÷ÄÚµå, ¹Þ´Â»ç¶÷´Ð, º¸³»´Â »ç¶÷ ´Ð(¼¼¼ÇÁ¤º¸), ¹Þ´Â»ç¶÷ ½Ç¸í, °Ô½Ã¹°º¸±â º¸¿©ÁÖ±â ¿©ºÎ

// »ç¿ëÀÚ °Ô½Ã¹°º¸±â Æã¼Ç
function fnViewPersonsList(strNickName){
	frmPaging.cT.value="";
	frmPaging.cC.value="";
	frmPaging.cW.value="on";
	frmPaging.sT.value=strNickName;
	document.frmPaging.submit();
}

/*
===========================================
­ì©lª©¥»
V1.3 ®³±¼³¡¥÷¶µ¥Ø
Paddy

===========================================
function fnClickNickName(intUserSeq, strNickName, strSendNickName, strUserName, blnSearchAbout) {
		var blnPopup
		//ÆË¾÷Ã¼Å©
		if(window.opener)
			blnPopup = true;
		else
			blnPopup = false;
			
		window.eventSrc = event.srcElement;
		var lefter = event.clientX + 6;
		var topper = event.clientY + 4;
		var intHeight;
	
		document.all.username.innerHTML = "<b>"+strUserName+"</b> <img src=\""+strImageDir+"IMG/Common/Icon/Bullet/arr_2.gif\" hspace=\"0\" vspace=\"0\">";
		document.all.media.innerHTML = "<font onclick=\"parent.fnPopOpenGlog('"+strGlogDir+"^"+strNickName+"')\">Æ[¬ÝGLog</font>";
		if(strNickName!="§@ªÌ")
			document.all.memo.innerHTML = "<font onclick=\"parent.fnSendMsg('"+intUserSeq+"', '"+strUserName+"', '"+strNickName+"');\">±H°eÂ²°T</font>";
		//document.all.report.innerHTML = "<font onclick=\"alert('ÁØºñÁßÀÔ´Ï´Ù.');\">½Å°íÇÏ±â</font>";
		//document.all.report.innerHTML = "<font onclick=\"parent.location='/Customer/BadUserReport/'\">½Å°íÇÏ±â</font>";
		if(blnSearchAbout){
			document.all.viewlist.innerHTML = "<font onclick=\"parent.fnViewPersonsList('"+strNickName+"');\">Æ[¬Ý¥Zµnªº¤å³¹</font>";
			document.all.hidelist.style.display = "";
			if(strNickName!="§@ªÌ")
				intHeight=113;
			else	
				intHeight=99;
		}
		else{
			document.all.hidelist.style.display = "none";
			intHeight=98;
		}	
		
		document.all.info.innerHTML = "<font onclick=\"parent.fnOpenWindow('/Common/popUserInfo.asp?iC="+intUserSeq+"&sT="+strNickName+"','MemberInfo', 'width=452,height=342')\">Æ[¬Ý·|­û¸ê®Æ</font>";
		document.all.party.innerHTML = "<font onclick=\"parent.fnOpenWindow('"+strGlogDir+"Buddy/registBuddyRequestInfoPopProcess.asp?sBUN="+strUserName+"&sBNN="+strNickName+"&iBUS="+intUserSeq+"','PopBuddyRequest', 'width=300,height=200')\">³]¬°¦n¤Í</font>";
		LayerPopup.document.body.innerHTML = document.getElementById("NickNameMenu").innerHTML;
		LayerPopup.show(lefter, topper, 90, intHeight, window.document.body);
   return false;
}

*/




function fnClickNickName(intUserSeq, strNickName, strSendNickName, strUserName, blnSearchAbout) {
		var blnPopup
		//ÆË¾÷Ã¼Å©
		if(window.opener)
			blnPopup = true;
		else
			blnPopup = false;
			
		window.eventSrc = event.srcElement;
		var lefter = event.clientX + 6;
		var topper = event.clientY + 4;
		var intHeight;
	
		document.all.username.innerHTML = "<b>"+strNickName+"</b> <img src=\""+strImageDir+"IMG/Common/Icon/Bullet/arr_2.gif\" hspace=\"0\" vspace=\"0\">";
		//document.all.media.innerHTML = "<font onclick=\"parent.fnPopOpenGlog('"+strGlogDir+"^"+strNickName+"')\">Æ[¬ÝGLog</font>";
		if(strNickName!="§@ªÌ")
			//document.all.memo.innerHTML = "<font onclick=\"parent.fnSendMsg('"+intUserSeq+"', '"+strUserName+"', '"+strNickName+"');\">±H°eÂ²°T</font>";
		//document.all.report.innerHTML = "<font onclick=\"alert('ÁØºñÁßÀÔ´Ï´Ù.');\">½Å°íÇÏ±â</font>";
		//document.all.report.innerHTML = "<font onclick=\"parent.location='/Customer/BadUserReport/'\">½Å°íÇÏ±â</font>";
		if(blnSearchAbout){
			document.all.viewlist.innerHTML = "<font onclick=\"parent.fnViewPersonsList('"+strNickName+"');\">Æ[¬Ý¥Zµnªº¤å³¹</font>";
			document.all.hidelist.style.display = "";
			if(strNickName!="§@ªÌ")
				intHeight=113;
			else	
				intHeight=99;
		}
		else{
			document.all.hidelist.style.display = "none";
			intHeight=98;
		}	
		
		//document.all.info.innerHTML = "<font onclick=\"parent.fnOpenWindow('/Common/popUserInfo.asp?iC="+intUserSeq+"&sT="+strNickName+"','MemberInfo', 'width=452,height=342')\">Æ[¬Ý·|­û¸ê®Æ</font>";
		//document.all.party.innerHTML = "<font onclick=\"parent.fnOpenWindow('"+strGlogDir+"Buddy/registBuddyRequestInfoPopProcess.asp?sBUN="+strUserName+"&sBNN="+strNickName+"&iBUS="+intUserSeq+"','PopBuddyRequest', 'width=300,height=200')\">³]¬°¦n¤Í</font>";
		
		intHeight=58;  //¥u¦³¤@­Ó¶µ¥Øªº®É­Ô¡A«ì´_§¹¾ãª©¥»«á¡A¦¹¦æ®³±¼
		LayerPopup.document.body.innerHTML = document.getElementById("NickNameMenu").innerHTML;
		LayerPopup.show(lefter, topper, 90, intHeight, window.document.body);
   return false;
}



// Äü¸Þ´º Å¬¸¯½Ã ·¹ÀÌ¾î ¸Þ´º
// ¹Þ´Â»ç¶÷ÄÚµå, ¹Þ´Â»ç¶÷´Ð, º¸³»´Â »ç¶÷ ´Ð(¼¼¼ÇÁ¤º¸), ÇØ´ç°Ô½Ã¹° ¹øÈ£, °Ô½Ã¹° ½ºÅ©·¦ Çã¿ë ¿©ºÎ
function fnClickQuickMenu(intUserSeq, strNickName, strSendNickName, intBoardSeq, blnScrapState, strUserName) {
		window.eventSrc = event.srcElement;
		var lefter = event.clientX + 6;
		var topper = event.clientY + 4;

		document.all.mediaQuick.innerHTML =  "<font onclick=\"parent.fnPopOpenGlog('"+strGlogDir+"^"+strNickName+"')\">Æ[¬ÝGLog</font>";
		//if(blnScrapState=="true")
		//	document.all.scrap.innerHTML = "<font onclick=\"alert('ÁØºñÁßÀÔ´Ï´Ù.');\">Æ÷½ºÆ® ´ã±â</font>";
		//else
		//	document.all.scrap.innerHTML = "<font onclick=\"alert('½ºÅ©·¦ÀÌ Çã¿ëµÇÁö ¾ÊÀº °Ô½Ã¹°ÀÔ´Ï´Ù.');\">Æ÷½ºÆ® ´ã±â</font>";
		document.all.memoQuick.innerHTML = "<font onclick=\"parent.fnSendMsg('"+intUserSeq+"', '"+strUserName+"', '"+strNickName+"');\">±H°eÂ²°T</font>";
		//document.all.reportQuick.innerHTML = "<font onclick=\"alert('ÁØºñÁßÀÔ´Ï´Ù.');\">½Å°íÇÏ±â</font>";
		//document.all.reportQuick.innerHTML = "<font onclick=\"parent.location='/Customer/BadUserReport/'\">½Å°íÇÏ±â</font>";
		document.all.partyQuick.innerHTML = "<font onclick=\"parent.fnOpenWindow('"+strGlogDir+"Buddy/registBuddyRequestInfoPopProcess.asp?sBUN="+strUserName+"&sBNN="+strNickName+"&iBUS="+intUserSeq+"','PopBuddyRequest', 'width=300,height=200')\">³]¬°¦n¤Í</font>";
			
		LayerPopup.document.body.innerHTML = document.getElementById("QuickMenu").innerHTML;
   		LayerPopup.show(lefter, topper, 79, 65, window.document.body);
 
   return false;
}

// ÂÊÁöº¸³»±â Å¬¸¯½Ã
// ¹Þ´Â »ç¶÷ÄÚµå, ¹Þ´Â »ç¶÷ÀÌ¸§, ¹Þ´Â»ç¶÷ ´Ð³×ÀÓ
function fnSendMsg(intUserSeq, strUserName, strNickName) {
	window.open("/MyFolder/Letter/sendMsgSingle.asp?sTU="+strUserName+"&sTN="+strNickName+"&iTS="+intUserSeq, "SENDMSG", "width=403,height=348,scrollbars=no");
}


// ´Ð³×ÀÓ ·¹ÀÌ¾î ¸Þ´º

document.write("<div id=\"NickNameMenu\" style=\"position:absolute;display:none; width:93; height:125; z-index:1\">");
document.write("<table width=\"100%\" height=\"100%\" border=\"0\" cellpadding=\"1\" cellspacing=\"1\" bgcolor=\"#333333\" style=\"\">");
document.write("<tr bgcolor=\"#adaa9b\"><td align=\"center\">");
document.write("<table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">");
document.write("<tr><td height=\"24\" bgcolor=\"#a1a994\">");
document.write("<table width=\"100%\" height=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"background: url('"+strImageDir+"IMG/Common/layer_bg.gif') no-repeat;\">");
document.write("<tr><td style=\"font-size:11px; font-family:dotum; font-weight:bold; color:#ffffbc; padding:3 0 0 8;\"><div id=\"username\"></div> </td>");
document.write("</tr></table></td></tr>");
document.write("<tr><td height=\"5\"></td></tr>");
document.write("<tr onMouseOut=\"this.style.background=''\" onMouseOver=\"this.style.background='#F0F7F6'\">");
document.write("<td style=\"font-family:'µ¸¿ò';font-size:11px;color:#333333;line-height:15px;padding-left:8px; cursor:hand;\"><div id=\"media\"></div></td></tr>");
document.write("<tr onMouseOut=\"this.style.background=''\" onMouseOver=\"this.style.background='#F0F7F6'\">");
document.write("<td style=\"font-family:'µ¸¿ò';font-size:11px;color:#333333;line-height:15px;padding-left:8px; cursor:hand;\"><div id=\"memo\"></div></td></tr>");
//document.write("<tr onMouseOut=\"this.style.background=''\" onMouseOver=\"this.style.background='#F0F7F6'\">");
//document.write("<td style=\"font-family:'µ¸¿ò';font-size:11px;color:#333333;line-height:15px;padding-left:8px; cursor:hand;\"><div id=\"report\"></div></td></tr>");
document.write("<tr id=\"hidelist\"onMouseOut=\"this.style.background=''\" onMouseOver=\"this.style.background='#F0F7F6'\">");
document.write("<td style=\"font-family:'µ¸¿ò';font-size:11px;color:#333333;line-height:15px;padding-left:8px; cursor:hand;\"><div id=\"viewlist\"></div></td></tr>");
document.write("<tr onMouseOut=\"this.style.background=''\" onMouseOver=\"this.style.background='#F0F7F6'\">");
document.write("<td style=\"font-family:'µ¸¿ò';font-size:11px;color:#333333;line-height:15px;padding-left:8px; cursor:hand;\"><div id=\"info\"></div></td></tr>");
document.write("<tr onMouseOut=\"this.style.background=''\" onMouseOver=\"this.style.background='#F0F7F6'\">");
document.write("<td style=\"font-family:'µ¸¿ò';font-size:11px;color:#333333;line-height:15px;padding-left:8px; cursor:hand;\"><div id=\"party\"></div></td></tr>");
document.write("<tr><td height=\"5\"></td></tr></table></td></tr></table>");
document.write("</div>");


// Äü ·¹ÀÌ¾î ¸Þ´º
document.write("<div id=\"QuickMenu\" style=\"position:absolute;display:none; width:93; height:125; z-index:1\">");
document.write("<table border=\"0\" cellpadding=\"9\" cellspacing=\"1\" bgcolor=\"#333333\" style=\"\">");
document.write("<tr bgcolor=\"#adaa9b\"><td>");
document.write("<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\">");
document.write("<tr onMouseOut=\"this.style.background=''\" onMouseOver=\"this.style.background='#F0F7F6'\">");
document.write("<td style=\"font-family:'µ¸¿ò';font-size:11px;color:#333333;line-height:15px;cursor:hand;\"><div id=\"mediaQuick\"></div></td></tr>");
//document.write("<tr onMouseOut=\"this.style.background=''\" onMouseOver=\"this.style.background='#F0F7F6'\">");
//document.write("<td style=\"font-family:'µ¸¿ò';font-size:11px;color:#333333;line-height:15px;cursor:hand;\" ><div id=\"scrap\"></div></td></tr>");
document.write("<tr onMouseOut=\"this.style.background=''\" onMouseOver=\"this.style.background='#F0F7F6'\">");
document.write("<td style=\"font-family:'µ¸¿ò';font-size:11px;color:#333333;line-height:15px;cursor:hand;\" ><div id=\"memoQuick\"></div></td></tr>");
//document.write("<tr onMouseOut=\"this.style.background=''\" onMouseOver=\"this.style.background='#F0F7F6'\">");
//document.write("<td style=\"font-family:'µ¸¿ò';font-size:11px;color:#333333;line-height:15px;cursor:hand;\" ><div id=\"reportQuick\"></div></td></tr>");
document.write("<tr onMouseOut=\"this.style.background=''\" onMouseOver=\"this.style.background='#F0F7F6'\">");
document.write("<td style=\"font-family:'µ¸¿ò';font-size:11px;color:#333333;line-height:15px;cursor:hand;\" ><div id=\"partyQuick\"></div></td></tr></table></td></tr></table>");
document.write("</div>");

  
