//ÀÌ¹ÌÁö ¹Ì¸®º¸±â
function imageView(val){
		window.open("/board/board_module/image_pop.asp?pic="+val, "img", "width=100, height=100, menubar=no, scrollbars=yes, resizeable=no");
	}

//ÁÖ¼ÒÃ£±â
function zipcode_search(val){
window.open("/cs/post.asp?form_cnt="+val+"","new","width=450,height=400,scrollbars=no,resizable=0");
}

//°í°´¸¶´ç ÆË¾÷
function service01(){

open_popup('customer_result.asp', '450','320','0','cs');

}


// ¹ýÀû°íÁö ÆË¾÷
function law_open_popup(url, wid, hei, scroll, winName,top, left)
{
	var url = url;
	var posi = "width="+ wid +",height="+hei+",toolbar=no,location=no,status=no,menubar=no,top=" + top + ",left=" + left + ",scrollbars=" + scroll +",resizable=no" ;
	if (winName == "")
	{
		winName = popup
	}
	window.open(url,winName,posi);
}

// ÆË¾÷
function open_popup(url, wid, hei, scroll, winName)
{
	var url = url;
	var posi = "width="+ wid +",height="+hei+",toolbar=no,location=no,status=no,menubar=no,top=10,left=50,scrollbars=" + scroll +",resizable=no" ;
	if (winName == "")
	{
		winName = popup
	}
	window.open(url,winName,posi);
}

//¸µÅ© ÁÖº¯ Á¡¼± ¾ø¾Ö±â
var myAnchors=document.all.tags("A"); 
function allblur() {
	for (i=0;i<myAnchors.length;i++) { 
		myAnchors[i].onfocus=new Function("myAnchors["+i+"].blur()");
	} 
}

// ÀÌ¹ÌÁö »çÀÌÁî¸Â°Ô »õÃ¢ÀÌ ÀÚµ¿À¸·Î Á¶ÀýµÇ´Â ¼Ò½º
<!-- Begin
function cnj_win_view(img){
  img_conf1= new Image();
  img_conf1.src=(img);
  cnj_view_conf(img);
}

function cnj_view_conf(img){
  if((img_conf1.width!=0)&&(img_conf1.height!=0)){
    cnj_view_img(img);
  }
  else{
    funzione="cnj_view_conf('"+img+"')";
    intervallo=setTimeout(funzione,20);
  }
}

var cnj_img_view = null;

function cnj_view_img(img){

    if(cnj_img_view != null) {
      if(!cnj_img_view.closed) { 
      cnj_img_view.close(); 
      }
    }

  cnj_width=img_conf1.width+0;
  cnj_height=img_conf1.height+0;
  str_img="width="+cnj_width+",height="+cnj_height;

   cnj_img_view=window.open("about:blank","",str_img);
   cnj_img_view.document.open();   // document.open() 
   cnj_img_view.document.writeln("<html>");
   cnj_img_view.document.writeln("<head>");
   cnj_img_view.document.writeln("<title>Ã»ÀÎ</title>");
   cnj_img_view.document.writeln("<meta http-equiv='content-type' content='text/html; charset=euc-kr'>");
   cnj_img_view.document.writeln("<meta http-equiv='imagetoolbar' content='no'>");
   var start="<";
   cnj_img_view.document.writeln("<script language='javascript'>");
   cnj_img_view.document.writeln("function click() {");
   cnj_img_view.document.writeln("if ((event.button==1) || (event.button==2))  {");
   cnj_img_view.document.writeln("top.close();");
   cnj_img_view.document.writeln("      }");
   cnj_img_view.document.writeln("}");
   cnj_img_view.document.writeln("document.onmousedown=click");
   cnj_img_view.document.writeln(start+"/script>");
   cnj_img_view.document.writeln("</head>");
   cnj_img_view.document.writeln("<body style='margin:0 0 0 0' bgcolor=#FFFFFF>");
   cnj_img_view.document.writeln("<img src="+ img +" border=0 style='cursor:hand'>") // ¼Ò½º Å×½ºÆ® ºÎºÐ
   cnj_img_view.document.writeln("</body></html>");
   cnj_img_view.document.close();  // ¹Ýµå½Ã document.close() ´Ý¾ÆÁÖ¾î¾ß ÇÔ
   
   cnj_img_view.focus();
  return;
}
//  End -->

function pop(pPage,name,Opt) {
	var popUpWin;

	popUpWin = window.open(pPage,name,Opt);
	popUpWin.focus();
 	
}
