	
	/* ############ ·Îµù¹Ù ½ºÅ©¸³Æ® ############
	@ loadingbar.js
	@ made by rino (rino@traniz.com)
	@ 2004.05.13

	#### »ç¿ë¹ý ####
	1. ½ºÅ©¸³Æ® »ðÀÔ
	<script language="JScript" src="/js/loadingbar.js"></script>
	
	2. ·Îµù¹Ù ½ÃÀÛ ½ÃÅ°±â
	<script>jsLoadingBar('start');</script>
	
	3. ·Îµù¹Ù ¾ø¾Ö±â
	<script>jsLoadingBar('stop');</script>
	*/
	
/*
	document.write("<div id='loadingLayer' style='position:absolute; z-index:9999; display:none'>");
    document.write("    <iframe id='iframeLoad' style='width:185px; height:52px;padding-left:0' frameborder=0 scrolling=no></iframe>");
    document.write("</div>");
    alert(iframeLoad.document);
    iText = iframeLoad.document;
  
    iText.open();
    iText.write("<body topmargin=0 leftmargin=0 oncontextmenu='return false;'>" +
                    "<table border=0 width='184px' height=50 cellspacing=1 cellpadding=0 bgcolor=D2D2D2>" +
                    "<tr>" +
                    "    <td bgcolor=ffffff width='184px' height=50 style='padding-left:7;font-family:µ¸À½;font-size:9pt'>" +
                    "       <font color=8B8B8B>·ÎµùÁß....</font><br>" +
                    "       <table border=0 cellspacing=1 cellpadding=0 bgcolor=DDDDDD>" +
                    "           <td width=180 height=10 bgcolor=F0F0F0 align=center>" +
                    "               <marquee behavior=alternate width=160>" +
                    "                   <table border=0 cellpadding=0 cellspacing=0>" +
                    "                       <td width=6 height=6 bgcolor=11B6C5></td>" +
                    "                       <td width=2 height=6></td>" +
                    "                       <td width=6 height=6 bgcolor=11A9C5></td>" +
                    "                       <td width=2 height=6></td>" +
                    "                       <td width=6 height=6 bgcolor=119DC5></td>" +
                    "                       <td width=2 height=6></td>" +
                    "                       <td width=6 height=6 bgcolor=118EC5></td>" +
                    "                       <td width=2 height=6></td>" +
                    "                       <td width=6 height=6 bgcolor=1180C5></td>" +
                    "                       <td width=2 height=6></td>" +
                    
                    "                       <td width=6 height=6 bgcolor=1173C5></td>" +
                    
                    "                       <td width=2 height=6></td>" +
                    "                       <td width=6 height=6 bgcolor=1180C5></td>" +
                    "                       <td width=2 height=6></td>" +
                    "                       <td width=6 height=6 bgcolor=118EC5></td>" +
                    "                       <td width=2 height=6></td>" +
                    "                       <td width=6 height=6 bgcolor=119DC5></td>" +
                    "                       <td width=2 height=6></td>" +
                    "                       <td width=6 height=6 bgcolor=11A9C5></td>" +
                    "                       <td width=2 height=6></td>" +
                    "                       <td width=6 height=6 bgcolor=11B6C5></td>" +
                    "                       <td width=2 height=6></td>" +
                    "                   </table>" +
                    "               </marquee>" +
                    "           </td>" +
                    "       </table>" +
                    "   </td>" +
                    "</tr>" +
                    "</table>" +
                    "</body>");
    iText.close();
*/
	var divWidth = 339;
	var leftInt = parseInt(document.body.clientWidth/2) - (parseInt(divWidth)/2);
	var topInt = document.documentElement.scrollTop+200; 
	document.write("<div id='loadingLayer' style='left:"+leftInt+"px;top:"+topInt+"px;width:"+divWidth+"px;position:absolute; z-index:9999; display:none'>");
	document.write("<img src='/user/images/sub/loading.gif' alt='' />");
    document.write("</div>");
    
    //<div id='loadingLayer' class='Loading' style='display:none;'>
  

    
    function jsLoadingBar(flag){
        if (flag == "start") {
            //loadingLayer.style.left = (document.body.clientWidth-200)/2 ;
            //loadingLayer.style.top = (document.body.clientHeight-52)/2 ;
            //loadingLayer.style.setExpression("left", "document.body.clientWidth/2 - loadingLayer.offsetWidth/2"); // ·¹ÀÌ¾îÀÇ x Ãà À§Ä¡¸¦ ¼³Á¤ ÇÕ´Ï´Ù
            //loadingLayer.style.setExpression("top", "document.body.clientHeight/2 - loadingLayer.offsetHeight/2"); // ·¹ÀÌ¾îÀÇ yÃà À§Ä¡¸¦ ¼³Á¤ ÇÕ´Ï´Ù
            loadingLayer.style.display = '';
        }
        else{
            loadingLayer.style.display = 'none';
        }
    }
