var ids = new Array(); var id_disp = new Array(); var toolTipDefaultWidth; var tooltipBkgColor = "#EEEEEE"; var tooltipHighlightColor = "#FFFFE0"; var tooltipFont = "±¼¸²Ã¼"; var tooltipTitleColorOff = "#0000DE"; var tooltipTitleColorOn = "#0000DE"; var tooltipURLColorOff = "#008000"; var tooltipURLColorOn = "#008000"; var tooltipTitleDecorationOff = "none"; var tooltipTitleDecorationOn = "underline"; var tooltipURLDecorationOff = "none"; var tooltipURLDecorationOn = "underline"; var linkPosX; var linkPosY; var body_str; var tooltip_title; if(navigator.appName == "Netscape"){ document.write(""); } function changeStyle(objectID, propertyName, propertyValue){ document.getElementById(objectID).style[propertyName] = propertyValue; } function changeProperty(objectID, propertyName, propertyValue){ document.getElementById(objectID)[propertyName] = propertyValue; } var hideID = 0; function adDelay(){ changeStyle('tooltipBox', 'visibility', 'hidden'); clearInterval(hideID); } function clearAdInterval(){ clearInterval(hideID); } function hideAd(){ clearInterval(hideID); hideID = setInterval(adDelay, 800); } function highlightAd(idString){ document.getElementById(idString).style.filter = "alpha(opacity=100)"; document.getElementById(idString).style.mozOpacity = "1"; document.getElementById(idString).style.opacity = "1"; for(var x=1;x<7;x++){ var tempID = "cZn" + x; document.getElementById(tempID).style.background = tooltipHighlightColor; } } function unHighlightAd(idString){ document.getElementById(idString).style.filter = "alpha(opacity=90)"; document.getElementById(idString).style.mozOpacity = ".9"; document.getElementById(idString).style.opacity = ".9"; for(var x=1;x<7;x++){ var tempID = "cZn" + x; document.getElementById(tempID).style.background = tooltipBkgColor; } } function find_ids(id) { for (var i=0;i document.body.scrollLeft + document.body.clientWidth) { linkPosX = document.body.clientWidth+ document.body.scrollLeft - toolTipDefaultWidth;; } } function displayCareer(id) { tooltip_title = 'ȸ¿øÁ¤º¸'; toolTipDefaultWidth = 350; if (!id) return 0; get_postion(); body_str = '' ; var idp = find_ids(id); if (idp >= 0) { body_str = id_disp[idp]; disp_tool_tip(body_str); return; } disp_tool_tip('Àá½Ã¸¸ ±â´Ù¸®¼¼¿ä'); ids[ids.length] = id; jkslove.src = '/regist/tool_tip_get_member_info.php?id=' + base64encode(id) + '&t=' + Math.random(); wait_time(); } function money_info(money,type,ae) { if (type == 'q') var str = 'ÇöÀç ' + setComma(money) + '¿ø ÀÌ °áÁ¦µÇ¾î ÀÖ°í, äÅÃµÈ ´äº¯ÀÚ¿¡°Ô Á¤»ê Áö±ÞµË´Ï´Ù.'; else if (type == 'p') { var str = '¡ºÀ¯·á ´äº¯/ÁýÇÊ¡»: ' + setComma(money) + '¿øÀ» °áÁ¦ÇÏ½Ã¸é º¸½Ç ¼ö ÀÖ½À´Ï´Ù.'; if (ae) str += ''; } else if (type == 'b') var str = '' + setComma(money) + '¿øÀº Ãâ±Ý °¡´ÉÇÑ ±Ý¾×ÀÔ´Ï´Ù.'; display_notice('±Ý¾× Á¤º¸',str,250); } function judgment_lose_info(juge_lose_count,type) { if (type=='a') var type_str = "´äº¯"; if (type=='w') var type_str = "ÁýÇÊ"; var str = 'ÀÌ À¯·á' + type_str + 'Àº ȯºÒ¿äûÀÇ ÀçÆÇ¿¡ ÀÇÇØ ÃÑ '+ juge_lose_count + ' °ÇÀÇ È¯ºÒó¸® µÇ¾ú½À´Ï´Ù.'; display_notice('À¯·á' + type_str + 'ÀÇ È¯ºÒÀçÆÇ Á¤º¸',str,240); } function display_notice(title,str,width) { if (!str) return; tooltip_title = title; toolTipDefaultWidth = width; get_postion(); disp_tool_tip(str); } function wait_time() { if (!body_str) setTimeout(wait_time,200); id_disp[ids.length-1] = body_str; disp_tool_tip(body_str); } function career_notice() { var str = '' + '' + '' + '' + '' + '' + '' + '
1.' + ' À¸·Î Ç¥±âµÈ ÀÌ·ÂÀº ÁõºùÀÚ·á°¡ È®ÀÎµÈ À̷»çÇ×ÀÔ´Ï´Ù.
' + ' ¿¹) ¼­¿ï´ëÁ¹¾÷, ¿îÀü¸éÇã1Á¾º¸Åë, ¼¼¹«»ç' + '
2.' + ' À¸·Î Ç¥±âµÈ ÀÌ·ÂÀº ¾ÆÁ÷ È®ÀεÇÁö ¾ÊÀº À̷»çÇ×ÀÔ´Ï´Ù.
' + ' ¿¹) ¼­¿ï´ëÁ¹¾÷, ¿îÀü¸éÇã1Á¾º¸Åë, ¼¼¹«»ç' + '
3.' + 'ÀÌ·ÂÀ» È®ÀÎ ¹Þ±â À§Çؼ­´Â ÀÚ°ÝÁõµî Áõºù³»¿ëÀ» ½ºÄµÀ̹ÌÁö·Î µî·ÏÇÏ¿© °ü¸®ÀÚÀÇ ÀÎÁõÀ» ¹Þ¾Æ¾ß ÇÕ´Ï´Ù.' + '
4.' + 'ÀÚ°ÝÁõµî Áõºù³»¿ëÀ» ½ºÄµÀ̹ÌÁö ÆÄÀÏÀº ÀϹݿ¡ °ø°³µÇÁö ¾Ê°í, ÀڰݵîÀÇ ÀÎÁõ È®ÀÎÀÚ·á·Î¸¸ ÀÌ¿ëµË´Ï´Ù.' + '
' + '
¡Ø º» ¹æ¹ýÀº ¡¸Ãâ¿øBMƯÇ㡹·Î ¹«´ÜÀ¸·Î »ç¿ë ¶Ç´Â ÀÀ¿ëÇÒ °æ¿ì ¹Î/Çü»ç»ó ó¹úÀ» ¹ÞÀ» ¼ö ÀÖ½À´Ï´Ù.' + '
'; display_notice('ÀÌ·ÂÁ¤º¸ ¾È³»',str,300); } function disp_tool_tip(body_article) { var displayString = ''; displayString += ''; displayString += '' displayString += '' displayString += '' displayString += '' displayString += '' displayString += '' displayString += '' displayString += '' displayString += '' displayString += '
' displayString += '' displayString += '' displayString += '' displayString += '' displayString += '' displayString += '' displayString += '' displayString += '' displayString += '' displayString += '' displayString += '' displayString += '' displayString += '' displayString += '' displayString += '' displayString += '' displayString += '' displayString += '' displayString += '' displayString += '' displayString += '' displayString += '
' displayString += '' displayString += '' displayString += '' displayString += '' displayString += '
' displayString += '' + body_article + '' displayString += '
' displayString += '
' displayString += '' displayString += '' displayString += '' displayString += '' displayString += '' displayString += '' displayString += '
' displayString += '
'+ tooltip_title + '
' displayString += '
' changeProperty('tooltipBox', 'innerHTML', displayString); var tempWidth = toolTipDefaultWidth + "px"; changeStyle('tooltipBox', 'width', tempWidth); var linkPosXString = linkPosX + "px"; var linkPosYString = linkPosY + "px"; changeStyle('tooltipBox', 'left', linkPosXString); changeStyle('tooltipBox', 'top', linkPosYString); changeStyle('tooltipBox', 'visibility', 'visible'); Drag.init(document.getElementById('tooltipBox')); } /************************************************** * dom-drag.js * 09.25.2001 * www.youngpup.net * Script featured on Dynamic Drive (http://www.dynamicdrive.com) 12.08.2005 ************************************************** * 10.28.2001 - fixed minor bug where events * sometimes fired off the handle, not the root. **************************************************/ var Drag = { obj : null, init : function(o, oRoot, minX, maxX, minY, maxY, bSwapHorzRef, bSwapVertRef, fXMapper, fYMapper) { o.onmousedown = Drag.start; o.hmode = bSwapHorzRef ? false : true ; o.vmode = bSwapVertRef ? false : true ; o.root = oRoot && oRoot != null ? oRoot : o ; if (o.hmode && isNaN(parseInt(o.root.style.left ))) o.root.style.left = "0px"; if (o.vmode && isNaN(parseInt(o.root.style.top ))) o.root.style.top = "0px"; if (!o.hmode && isNaN(parseInt(o.root.style.right ))) o.root.style.right = "0px"; if (!o.vmode && isNaN(parseInt(o.root.style.bottom))) o.root.style.bottom = "0px"; o.minX = typeof minX != 'undefined' ? minX : null; o.minY = typeof minY != 'undefined' ? minY : null; o.maxX = typeof maxX != 'undefined' ? maxX : null; o.maxY = typeof maxY != 'undefined' ? maxY : null; o.xMapper = fXMapper ? fXMapper : null; o.yMapper = fYMapper ? fYMapper : null; o.root.onDragStart = new Function(); o.root.onDragEnd = new Function(); o.root.onDrag = new Function(); }, start : function(e) { var o = Drag.obj = this; e = Drag.fixE(e); var y = parseInt(o.vmode ? o.root.style.top : o.root.style.bottom); var x = parseInt(o.hmode ? o.root.style.left : o.root.style.right ); o.root.onDragStart(x, y); o.lastMouseX = e.clientX; o.lastMouseY = e.clientY; if (o.hmode) { if (o.minX != null) o.minMouseX = e.clientX - x + o.minX; if (o.maxX != null) o.maxMouseX = o.minMouseX + o.maxX - o.minX; } else { if (o.minX != null) o.maxMouseX = -o.minX + e.clientX + x; if (o.maxX != null) o.minMouseX = -o.maxX + e.clientX + x; } if (o.vmode) { if (o.minY != null) o.minMouseY = e.clientY - y + o.minY; if (o.maxY != null) o.maxMouseY = o.minMouseY + o.maxY - o.minY; } else { if (o.minY != null) o.maxMouseY = -o.minY + e.clientY + y; if (o.maxY != null) o.minMouseY = -o.maxY + e.clientY + y; } document.onmousemove = Drag.drag; document.onmouseup = Drag.end; return false; }, drag : function(e) { e = Drag.fixE(e); var o = Drag.obj; var ey = e.clientY; var ex = e.clientX; var y = parseInt(o.vmode ? o.root.style.top : o.root.style.bottom); var x = parseInt(o.hmode ? o.root.style.left : o.root.style.right ); var nx, ny; if (o.minX != null) ex = o.hmode ? Math.max(ex, o.minMouseX) : Math.min(ex, o.maxMouseX); if (o.maxX != null) ex = o.hmode ? Math.min(ex, o.maxMouseX) : Math.max(ex, o.minMouseX); if (o.minY != null) ey = o.vmode ? Math.max(ey, o.minMouseY) : Math.min(ey, o.maxMouseY); if (o.maxY != null) ey = o.vmode ? Math.min(ey, o.maxMouseY) : Math.max(ey, o.minMouseY); nx = x + ((ex - o.lastMouseX) * (o.hmode ? 1 : -1)); ny = y + ((ey - o.lastMouseY) * (o.vmode ? 1 : -1)); if (o.xMapper) nx = o.xMapper(y) else if (o.yMapper) ny = o.yMapper(x) Drag.obj.root.style[o.hmode ? "left" : "right"] = nx + "px"; Drag.obj.root.style[o.vmode ? "top" : "bottom"] = ny + "px"; Drag.obj.lastMouseX = ex; Drag.obj.lastMouseY = ey; Drag.obj.root.onDrag(nx, ny); return false; }, end : function() { document.onmousemove = null; document.onmouseup = null; Drag.obj.root.onDragEnd( parseInt(Drag.obj.root.style[Drag.obj.hmode ? "left" : "right"]), parseInt(Drag.obj.root.style[Drag.obj.vmode ? "top" : "bottom"])); Drag.obj = null; }, fixE : function(e) { if (typeof e == 'undefined') e = window.event; if (typeof e.layerX == 'undefined') e.layerX = e.offsetX; if (typeof e.layerY == 'undefined') e.layerY = e.offsetY; return e; } }