
	function callcenter() { 
	window.open('../etc/callcenter.aspx','','left=50, top=50, toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, width=500, height=465"'); 
	} 
	function faxservice() { 
	window.open('../etc/faxservice.aspx','','left=50, top=50, toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=no, width=820, height=500"'); 
	} 
	function verisign(lang) {
	if(lang == "ko") { 
	    window.open('../etc/verisign.html','','left=50, top=50, toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, width=500, height=460"'); 
	}
	else {
	    window.open('../etc/verisign_en.html','','left=50, top=50, toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, width=500, height=460"'); 
	}
	}
	function an() { 
	window.open('../etc/an.html','','left=50, top=50, toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=no, width=600, height=550"'); 
	}
	function cancellation() { 
	window.open('../etc/cancellation.jsp','cancellation','left=50, top=50, toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, width=700, height=552"'); 
	} 
	function roomtype(lang) {
	if(lang == "ko") { 
	    window.open('http://image.bico.jp/Site/100002/ko/v6/room_type.html','','left=50, top=50, toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, width=500, height=440"'); 
	}
	else {
	    window.open('http://image.bico.jp/Site/100002/ko/v6/room_type2.html','','left=50, top=50, toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, width=500, height=440"'); 
	}
	}
	function roomtype_bbc() { 
	window.open('../etc/room_type.html','','left=50, top=50, toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, width=500, height=465"'); 
	}
	function map_print(h_code,hidSi_Type) {
	 if(hidSi_Type == null)
	    hidSi_Type='';
	 
     var url = "map_print.aspx?h_code="+h_code + "&hidSi_Type=" + hidSi_Type;
     window.open(url,'','left=50, top=50, toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=no, width=704, height=400"');
    } 
	function map_send() { 
	window.open('map_send.html','','left=50, top=50, toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=no, width=700, height=491"'); 
	} 
	function h_search() { 
	window.open('../etc/search_hotel.aspx','','left=50, top=50, toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=no, width=700, height=240"'); 
	}
	
	function want_h_search(h_code,location1) { 
	window.open('../etc/search_hotel.aspx?want_hotel='+h_code+'&location1='+location1,'','left=50, top=50, toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=no, width=517, height=176"'); 
	}
	
	function information_print(h_code) {
     var url = "information_print.aspx?h_code="+h_code + "&hidSi_Type=B"
     window.open(url,'','left=50, top=50, toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=no, width=736, height=400"');
    } 
    
    function information_mail(h_code) {
     var url = "information_mail.aspx?h_code="+h_code + "&hidSi_Type=B"
     window.open(url,'','left=50, top=50, toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=no, width=736, height=400"');
    } 
    
    function qna_mail(h_code) {
     var url = "../information/customer_08.aspx?h_code="+h_code + "&hidSi_Type=B"
     window.open(url,'','left=50, top=50, toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, width=500, height=380"');
    } 
    
    function hotel_map(h_code,st_code) {
     var url = "../etc/hotel_map.aspx?h_code=" + h_code + "&st_code=" + st_code;
     window.open(url,'','left=50, top=50, toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, width=1020, height=690"');
    }
    
    function agent_hotel_map(h_code,st_code) {
     var url = "../../etc/hotel_map.aspx?h_code=" + h_code + "&st_code=" + st_code + "&hidSi_Type=B";
     window.open(url,'','left=50, top=50, toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, width=1020, height=690"');
    }

	/* Default PopUp */
	function pop_default(url,w,h)
	{
	window.open (url,"newWin","noresizable,scrollbars=no,"+"width="+w+",height="+h+",resizable=no");
	}

	function pop_scroll(url,w,h)
	{
	window.open (url,"newWin","noresizable,scrollbars=yes,"+"width="+w+",height="+h+",resizable=no");
	}

	/* Dreamweaver MouseOver Event */
	function MM_swapImgRestore()
	{ //v3.0
  	var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
	}

	function MM_findObj(n, d)
	{ //v4.0
		var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
 	   d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
 	 if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
 	 for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
 	 if(!x && document.getElementById) x=document.getElementById(n); return x;
	}

	function MM_swapImage()
	{ //v3.0
  	var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   	if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
	}


	function openWindow(theURL,winName,features) { //v2.0
	  window.open(theURL,winName,features);
	}


//	document.ranimage.src="../img/op_0"+Math.round(Math.random()*2+1)+".jpg";

//function map_print(h_code) {
//         var url = "map_print.aspx?h_code="+h_code 
//         window.open(url,'','left=50, top=50, toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=no, width=704, height=400"');
//        }  


// ?붾윮??�샇????�겕????
function OpenImage(s){
        srcImg = new Image();
        clientWidth = screen.width;
        clientHeight = screen.height;
        srcImg.src = s;

        var srcFileName = srcImg.src.substr(srcImg.src.lastIndexOf("/")+1, srcImg.src.length);
      
        win = window.open("","","width=610,height=786,scrollbars=yes,resizable=no,left="+(clientWidth/2-15)+",top="+(clientHeight/2-15)+"");
        win.document.writeln("<html>");
        win.document.writeln("<head>");
        win.document.writeln("<title>'Deluxe Hoteljapan.com</title>");
        win.document.writeln("</head>");
        win.document.writeln("<body style='margin:0px;'>");
        win.document.writeln("<table border='0' cellpadding='0' cellspacing='0' style='cursor:pointer' onclick='self.close()'>");
        win.document.writeln(" <tr>");
        win.document.writeln("  <td align='center'><img src="+s+" name='winImg' style='cursor:pointer' onclick='self.close()'></td>");
        win.document.writeln(" </tr>");
        win.document.writeln("</table>");
        win.document.writeln("</body>");
        win.document.writeln("</html>");

        srcImg = win.document.winImg;
        
        // ???�吏?媛 紐⑤?�濡??�좊븣源?? 湲곕?�由?
        while(true)
                if(srcImg.readyState == "complete")
                        break;

        // ??�갹???????림젙
        var winWidth = srcImg.width+28;
        var winHeight = srcImg.height+60;
        // ??�갹???꾩썙??�꾩????�젙
        var left = (clientWidth/2)-(srcImg.width/2);
        var top = (clientHeight/2)-(srcImg.height/2);
        // ???吏?????overflow ?�뺤?????�갹?????? ?�꾩??????
        if(clientWidth <= srcImg.width){
                winWidth = clientWidth;
                left = 0;
                win.document.body.scroll = "auto";
        }
        if(clientHeight <= srcImg.height){
                winHeight = clientHeight-30;
                top = 0;
                win.document.body.scroll = "auto";
        }
        win.moveTo(left, top);
        win.resizeTo(winWidth, winHeight);
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function reserv_link(link_add) {
    window.opener.location = link_add;
    window.opener.focus();
}


function PostOpen() {
 	var urlname = "../member/address.aspx"
	window.open(urlname, "browse_org","height=400,width=590, menubar=no,directories=no,resizable=no,status=no,scrollbars=yes");
}

function air_link(air_code)
{
    location.href="../air/air_main.aspx?airport_code=" + air_code;
}

function lotte_login()
{  
    if(event.which || event.keyCode)
    {
        if ((event.which == 13) || (event.keyCode == 13)) 
        {
            document.getElementById('btnLogin').click();
            return false;
        }
    }
    else 
    {
        return true
    }
}

function lotte_non_login()
{  
    if(event.which || event.keyCode)
    {
        if ((event.which == 13) || (event.keyCode == 13)) 
        {
            document.getElementById('btnNon_login').click();
            return false;
        }
    }
    else 
    {
        return true
    }
}
   
