<!--
document.writeln("<link href='/css/style_div_m.css' rel='stylesheet' type='text/css'>")
document.writeln("<div id='divPopup' style='position:absolute; left:0px; top:0px; color=#ffcccc; width:0px; height:0px; z-index:1; display:none; visibility: visible;' onpropertychange=selectbox_hidden('divPopup')>") 
document.writeln("<table width='100%' border='0' cellspacing='0' cellpadding='0' >")
document.writeln("  <tr> " ) 
document.writeln("    <td height='1' align='center' valign='top' bgcolor='bdbdbd'>	")
document.writeln("		</td>	")
document.writeln("  </tr>	")
document.writeln("  <tr>	")
document.writeln("    <td align='center' valign='top' bgcolor='bdbdbd'>	")
document.writeln("    <table width='99%' border='0' cellspacing='0' cellpadding='0' >	")
document.writeln("        <tr>	")
document.writeln("          <td height='28' background='/ssl_img/entertain/movie/divfr/divfr_bg.gif' style='border: 1px solid #bdbdbd;'>	")
document.writeln("			<table width='98%' border='0' cellspacing='0' cellpadding='0'>	")
document.writeln("              <tr>	")
document.writeln("                <td width='5%' class='text02' ><img src='/ssl_img/entertain/movie/divfr/divfr_icon.gif' width='7' height='12'>	")
document.writeln("					</td>	") 
document.writeln("                <td width='92%' class='text02' id='divTitle'>&nbsp; </td>	")
document.writeln("                <td width='20'><a href=javascript:DivShow(0,0,50,50,false,'/blank.html','');selectbox_visible2()>	")
document.writeln("					<img src='/ssl_img/login/bt_close2.gif' width='12' height='12' border='0'></a></td>	")
document.writeln("              </tr>	")
document.writeln("            </table>	")
document.writeln("          </td>	")
document.writeln("        </tr>		")
document.writeln("        <tr>		")
document.writeln("          <td valign='top' bgcolor='#FFFFFF' class='table_03'>	")
document.writeln("		  <table width='100%' border='0' cellspacing='0' cellpadding='0' >	")
document.writeln("              <tr> ")
document.writeln("                <td height='0'></td>	")
document.writeln("              </tr>	")
document.writeln("              <tr>	")
document.writeln("                <td valign='top'> ")
document.writeln("                  <!--Ä«Å×°í¸® Å×ÀÌºí½ÃÀÛ -->	")
document.writeln("			<iframe name='diviFrm' src='/inc/dummy.asp' width='20' height='20' marginheight=0 marginwidth=0 scrolling=no frameborder=0 id='diviFrmId'>	")
document.writeln("			</iframe>	")
document.writeln("				</td>	")
document.writeln("              </tr>	")
document.writeln("            </table>	")
document.writeln("            <!--Ä«Å×°í¸®Å×ÀÌºí³¡ -->	")
document.writeln("			</td>		")
document.writeln("        </tr>		")
document.writeln("      </table>	")
document.writeln("    </td>		")
document.writeln("  </tr>	")
document.writeln("</table>")
document.writeln("</div>")






var bV=parseInt(navigator.appVersion);
NS4=(document.layers) ? true : false;
IE4=((document.all)&&(bV>=4))?true:false;
ver4 = (NS4 || IE4) ? true : false;




var x = 0;
var y = 0;
var snow = 0;
var sw = 0;
var cnt = 0;
var dir = 1;

if ( (NS4) || (IE4) ) {
	if (NS4) searchLay = document.divPopup
	if (IE4) searchLay = divPopup.style
}


function setEls() { 
	return 
};
currentX = currentY = 0;

whichEl = null;

function grabEl(e) {
    if (IE4) 
	{
        whichEl = event.srcElement;

        while (whichEl.id.indexOf("divPopup") == -1) {
            whichEl = whichEl.parentElement;
            if (whichEl == null) { return }
          if (whichEl.id.indexOf("divPopup") != -1) { break }
        }
    }
    else {
        mouseX = e.pageX;
        mouseY = e.pageY;

        for ( i=0; i<document.layers.length; i++ ) 
			{
				tempLayer = document.layers[i];
				if ( tempLayer.id.indexOf("divPopup") == -1 ) { continue }
				if ( (mouseX > tempLayer.left) && (mouseX < (tempLayer.left + tempLayer.clip.width)) && (mouseY > tempLayer.top) && (mouseY < (tempLayer.top + tempLayer.clip.height)) ) {
                whichEl = tempLayer;
            }
        } 

        if (whichEl == null) { return}
    }
    
	if (whichEl != activeEl) {
		if (IE4) { whichEl.style.zIndex = activeEl.style.zIndex+1 }
        else { whichEl.moveAbove(activeEl) };
			   activeEl = whichEl;
			}

    if (IE4) {
    			
				whichEl.style.pixelLeft = whichEl.offsetLeft;
				whichEl.style.pixelTop = whichEl.offsetTop;

				currentX = (event.clientX + document.body.scrollLeft);
				currentY = (event.clientY + document.body.scrollTop); 

			}
    else	{
				currentX = e.pageX;
				currentY = e.pageY;

				document.captureEvents(Event.MOUSEMOVE);
				document.onmousemove = moveEl;
			}

}

function moveEl(e) {
    
    if (whichEl == null) { return };

    if (IE4) {
        newX = (event.clientX + document.body.scrollLeft);
        newY = (event.clientY + document.body.scrollTop);
    }
    else {
        newX = e.pageX;
        newY = e.pageY;
    }
    distanceX = (newX - currentX);
    distanceY = (newY - currentY);
    currentX = newX;
    currentY = newY;

    if (IE4) {
        whichEl.style.pixelLeft += distanceX;
        whichEl.style.pixelTop += distanceY;
        event.returnValue = false;
    }
    else { whichEl.moveBy(distanceX,distanceY) }
}

function checkEl() {
    if (whichEl!=null) { return false }
}

function dropEl(e) {
    if (NS4) { document.releaseEvents(Event.MOUSEMOVE) }
    whichEl = null;
}


function cursEl() {
	if (IE4) {		
		if (event.srcElement.id.indexOf("divTitle") != -1)
		{event.srcElement.style.cursor = "move"; }
	}

}

function fGetXY(aTag){
  var oTmp = aTag;
  var pt = new Point(0,0);
  do {
  	pt.x += oTmp.offsetLeft;
  	pt.y += oTmp.offsetTop;
  	oTmp = oTmp.offsetParent;
  } while(oTmp.tagName!="BODY");
  return pt;
}

function Point(iX, iY){
	this.x = iX;
	this.y = iY;
}


if (ver4) 
{
    if (NS4) {
        document.captureEvents(Event.MOUSEDOWN | Event.MOUSEUP);
        activeEl = document.divPopup;
    }
    else {
    
        document.onmousemove = moveEl;
        document.onselectstart = checkEl;
	document.onmouseover = cursEl;
        activeEl= document.all.divPopup;
    }

    document.onmousedown = grabEl;
    document.onmouseup = dropEl;
    setEls(true);
}




	function pop_div(goUrl , flag ) {
            DivShow(200,300,480,584,true,goUrl,'JJlife ¿µÈ­');
	   }

	function DivShow(sTop, sLeft, sHeight, sWidth, value, sFilename, sTitle) {
		var viewtmp;
		if(value == true) {viewtmp = '';}
		else {viewtmp = 'none';}
		document.all.diviFrm.style.height = sHeight;
		document.all.diviFrm.style.width = sWidth;
		
		document.all.divPopup.style.display = viewtmp;
		document.all.divPopup.style.top  = sTop + (document.body.scrollTop);
		document.all.divPopup.style.left = sLeft;
		
		document.all.divTitle.innerHTML= sTitle;
		diviFrm.location.href=sFilename;
	}

	function selectbox_hidden(layer_id) { 
		var ly = eval(layer_id); 

		// ·¹ÀÌ¾î ÁÂÇ¥ 
		var ly_left  = ly.offsetLeft; 
		var ly_top    = ly.offsetTop; 
		var ly_right  = ly.offsetLeft + ly.offsetWidth; 
		var ly_bottom = ly.offsetTop + ly.offsetHeight; 

		// ¼¿·ºÆ®¹Ú½ºÀÇ ÁÂÇ¥ 
		var el; 

		for (i=0; i<document.forms.length; i++) { 
			for (k=0; k<document.forms[i].length; k++) { 
				el = document.forms[i].elements[k];    
				if (el.type == 'select-one') { 
					var el_left = el_top = 0; 
					var obj = el; 
					if (obj.offsetParent) { 
						while (obj.offsetParent) { 
							el_left += obj.offsetLeft; 
							el_top  += obj.offsetTop; 
							obj = obj.offsetParent; 
						} 
					} 
					el_left  += el.clientLeft; 
					el_top    += el.clientTop; 
					el_right  = el_left + el.clientWidth; 
					el_bottom = el_top + el.clientHeight; 

					// ÁÂÇ¥¸¦ µûÁ® ·¹ÀÌ¾î°¡ ¼¿·ºÆ® ¹Ú½º¸¦ Ä§¹üÇßÀ¸¸é ¼¿·ºÆ® ¹Ú½º¸¦ hidden ½ÃÅ´
					if ( (el_left >= ly_left && el_top >= ly_top && el_left <= ly_right && el_top <= ly_bottom) || 
						(el_right >= ly_left && el_right <= ly_right && el_top >= ly_top && el_top <= ly_bottom) || 
						(el_left >= ly_left && el_bottom >= ly_top && el_right <= ly_right && el_bottom <= ly_bottom) || 
						(el_left >= ly_left && el_left <= ly_right && el_bottom >= ly_top && el_bottom <= ly_bottom) ) 
						el.style.visibility = 'hidden'; 
				} 
			} 
		} 
	} 

	// °¨Ãß¾îÁø ¼¿·ºÆ® ¹Ú½º¸¦ ¸ðµÎ º¸ÀÌ°Ô ÇÔ 
	function selectbox_visible2(){ 
	//alert(document.forms.length );
		for (i=0; i<document.forms.length; i++) { 
			for (k=0; k<document.forms[i].length; k++) { 
				el = document.forms[i].elements[k];    
				//alert(el.type+'  '+ el.style.visibility);
				if (el.type == 'select-one' && el.style.visibility == 'hidden') 
					el.style.visibility = 'visible'; 
			} 
		} 
	}

//-->