// ----- popup.jsp  ----------

/***************************************************
 * @Version     : javascript
 * @Author      : UM HEE JUN
 * @Create Data : 2005.9.29
 * @Modifier    :
 * @Modify Data :
 ****************************************************/

	var popup_src1 = null;
	var popup_src2 = null;
	var popup_src3 = null;
	var popup_src4 = null;
	var popup_src5 = null;
	var popup_src6 = null;
	var popup_src7 = null;
	var popup_src8 = null;
	var popup_src9 = null;
	var popup_src10 = null;
	var popup_src11 = null;
	var popup_src12 = null;
	var windows1 = null;
	var windows2 = null;

	function win_close(){
		if(popup_src1!= null){
    	popup_src1.close();
    }
    if(popup_src2!= null){
    	popup_src2.close();
    }
    if(popup_src3!= null){
      popup_src3.close();
    }
    if(popup_src4!= null){
      popup_src4.close();
    }
    if(popup_src5!= null){
      popup_src5.close();
    }
    if(popup_src6!= null){
      popup_src6.close();
    }
    if(popup_src7!= null){
      popup_src7.close();
    }
    if(popup_src8!= null){
      popup_src8.close();
    }
    if(popup_src9!= null){
      popup_src9.close();
    }
    if(popup_src10!= null){
      popup_src10.close();
    }
    if(popup_src11!= null){
      popup_src11.close();
    }

    if(windows1!= null){
      windows1.close();
    }
    if(windows2!= null){
    	windows2.close();
    }
}

function go_popup(address,name,gwidth,gheight,gtop,gleft) {

     window.open(address,name,('toolbar=no,menubar=no,scrollbars=yes,resizable=yes,status=no,width='+gwidth+',height='+gheight+',top='+gtop+' ,left='+gleft));
}

function go_popup1(address,name,gwidth,gheight) {
     gleft  = (screen.width - gwidth) / 2 ;
     gtop = (screen.height - gheight) / 2 ;
     popup_src10 = window.open(address,name,('toolbar=no,menubar=no,scrollbars=yes,resizable=yes,status=no,width='+gwidth+',height='+gheight+',top='+gtop+' ,left='+gleft));
}

function go_popup1_noscroll(address,name,gwidth,gheight) {
     gleft  = (screen.width - gwidth) / 2 ;
     gtop = (screen.height - gheight) / 2 ;
     popup_src10 = window.open(address,name,('toolbar=no,menubar=no,scrollbars=no,resizable=yes,status=no,width='+gwidth+',height='+gheight+',top='+gtop+' ,left='+gleft));
}

function go_popup2(address,name,gwidth,gheight) {
     gleft  = (screen.width - gwidth) / 2 ;
     gtop = (screen.height - gheight) / 2 ;
     window.open(address,name,('toolbar=no,menubar=no,scrollbars=yes,resizable=yes,status=no,width='+gwidth+',height='+gheight+',top='+gtop+' ,left='+gleft));
}

function go_popup4(address,name,gwidth,gheight) {
     gleft  = (screen.width - gwidth) / 2 ;
     gtop = (screen.height - gheight) / 2 ;
     popup_src9 = window.open(address,name,('toolbar=no,menubar=no,scrollbars=yes,resizable=yes,status=no,width='+gwidth+',height='+gheight+',top='+gtop+' ,left='+gleft));
}

function go_popup5(address,name,gwidth,gheight) {
     gleft  = (screen.width - gwidth) / 2 ;
     gtop = (screen.height - gheight) / 2 ;
     popup_src8 = window.open(address,name,('toolbar=no,menubar=no,scrollbars=yes,resizable=yes,status=no,width='+gwidth+',height='+gheight+',top='+gtop+' ,left='+gleft));
}

function go_popup6(address,name,gwidth,gheight) {
     gleft  = (screen.width - gwidth) / 2 ;
     gtop = (screen.height - gheight) / 2 ;
     popup_src11 = window.open(address,name,('toolbar=no,menubar=no,scrollbars=yes,resizable=yes,status=no,width='+gwidth+',height='+gheight+',top='+gtop+' ,left='+gleft));
}

function go_popup7(address,name,gwidth,gheight) {
     gleft  = (screen.width - gwidth) / 2 ;
     gtop = (screen.height - gheight) / 2 ;
     popup_src12 = window.open(address,name,('toolbar=no,menubar=no,scrollbars=yes,resizable=yes,status=no,width='+gwidth+',height='+gheight+',top='+gtop+' ,left='+gleft));
}

function main_url(root,tmp) {
	  parent.FRM_MENU.document.location.href=root+"/Fjhw_web/WF000p0.jsp";
     //document.location.href=root+"/Fjhw_web/WF000p2.jsp";
}


function main_url2(root,tmp) {
	  parent.parent.FRM_MENU.document.location.href=root+"/Fjhw_web/WF000p0.jsp";
     //document.location.href=root+"/Fjhw_web/WF000p2.jsp";
}


