/*********************************************************
* ·¹À̾î
*********************************************************/
// ·¹À̾î(
) ÆäÀÌÁö¿¡ ¾²±â
document.writeln("");
document.writeln("");
var szUserId='';
var szTargetId='';
function popup_proc(act) {
document.all.popup_frame.src="./ezboard/process.php?Act="+act+"&userid="+szUserId+"&targetid="+szTargetId;
}
// ·¹ÀÌ¾î ¶ç¿ì±â (¾ÆÀ̵ð)
function LaySet(skin, userid, targetid) {
if (!userid || !targetid || userid == targetid) {
return false;
}
szUserId = userid;
szTargetId = targetid;
nWidth = 105;
nHeight = 96;
sHtml = ""+
"
"+
" |
"+
""+
""+
""+
" | "+
"
 |
"+
"
";
LayerPicture = popup;
LayerPicture.style.width = nWidth;
LayerPicture.style.height = nHeight;
LayerPicture.innerHTML = sHtml;
var ntmpx, ntmpy, nMarginX, nMarginY;
ntmpx = event.clientX + nWidth;
ntmpy = event.clientY + nHeight;
nMarginX = document.body.clientWidth - ntmpx;
nMarginY = document.body.clientHeight - ntmpy ;
if(nMarginX < 0) {
ntmpx = event.clientX + document.body.scrollLeft + nMarginX;
} else {
ntmpx = event.clientX + document.body.scrollLeft;
}
if(nMarginY < 0) {
ntmpy = event.clientY + document.body.scrollTop + nMarginY + 20;
} else {
ntmpy = event.clientY + document.body.scrollTop;
}
LayerPicture.style.posLeft = ntmpx - 15;
LayerPicture.style.posTop = ntmpy - 3;
LayerPicture.style.display = 'block';
}
// ·¹ÀÌ¾î ´Ý±â
function LayDown() {
popup.style.display = 'none';
}