
    //로그인 페이지 swf 태그 처리
    
    function swfTagWrite(varUrl){
        document.write('<object id="swfObj" width="100%" height="100%" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"');
        document.write('codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab">');
        document.write('<param name="movie" value="'+ varUrl +'" />');
        document.write('<param name="quality" value="high" />');
        document.write('<param name="bgcolor" value="#ffffff" />');
        document.write('<param name="allowScriptAccess" value="sameDomain" />');   
        document.write('<param name="wmode" value="transparent" />'); //swf 위에 레이어 올리는 옵션 투명하게 만드는 옵션이라고 하는뎅.               
        document.write('<embed name="swfObj" src="'+ varUrl +'" quality="high" bgcolor="#ffffff"');
        document.write('width="100%" height="100%"  align="middle"');
        document.write('play="true"	loop="false" quality="high"');
        document.write('allowScriptAccess="sameDomain"');
        document.write('type="application/x-shockwave-flash"');
        document.write('pluginspage="http://www.adobe.com/go/getflashplayer">');
        document.write('</embed>');
        document.write('</object>'); 
    }

	var iFrameLastx = 0;
	var iFrameLasty = 0;
	var iFrameLastw = 0;
	var iFrameLasth = 0;
	var iFrameOpen = false;

	function iBodyResize()
	{
		if(iFrameOpen == 'true'){
			iFrameLayerReSize(iFrameLastx,iFrameLasty,iFrameLastw,iFrameLasth);
		}
	}

	//iFrame Layer 위치 지정 처리	
	function iFrameLayerReSize(x,y,w,h){
		
	    var layer       = document.getElementById("iframeLayer");
		var iframelayer = document.getElementById("iframeBox");
		var container	= document.getElementById("my-Container");

		var xmargin = 142, ymargin = 163;

		iFrameLastx = x;
		iFrameLasty = y;
		iFrameLastw = w;
		iFrameLasth = h;

		if( container )
		{
			ymargin = container.offsetTop;
			xmargin = container.offsetLeft;
		}

	    layer.style.pixelTop    = y+ymargin;
	    layer.style.pixelLeft   = x+xmargin;
	    layer.style.width       = w;
	    layer.style.height      = h;
	    layer.style.visibility  = "visible";

		layer.focus();
//		document._debugFrm.index.value = w + " * " + h;
//		document._debugFrm.index.focus();
		window.onresize = iBodyResize;
	}
	
	//iFrame Layer 숨김 보임 처리
	function iFrameVisible(viewFg,x,y,w,h){
		var layer = document.all.iframeLayer;
		iFrameOpen = viewFg;
		if(viewFg == 'true'){
			iFrameLayerReSize(x,y,w,h);			
		}else{
			//저멀리 ..
			layer.style.pixelTop    = -1000;
	    	layer.style.pixelLeft   = -1000;
	    	layer.style.visibility  = "hidden";
		}
	}	
	 
	//iFrame의 src 주소를 변경 한다..
	function iFrameUrlHref(src){
		document.all.iframeBox.src = src;
	}
