
	function callcenter() { 
	window.open('../etc/callcenter.html','','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.html','','left=50, top=50, toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=no, width=820, height=500"'); 
	} 
	function verisign() { 
	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"'); 
	}
	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() { 
	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() { 
	window.open('../reservation/map_print.html','','left=50, top=50, toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=no, width=704, height=500"'); 
	}
	function map_send() { 
	window.open('../reservation/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 want_h_search(h_code,location1,hidSi_Type) { 
	window.open('../etc/search_hotel.aspx?want_hotel='+h_code+'&location1='+location1+'&hidSi_Type='+hidSi_Type,'','left=50, top=50, toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=no, width=517, height=176"'); 
	}

    function hotel_map(h_code,st_code,width,height) {
     var url = "../etc/hotel_map.aspx?h_code=" + h_code + "&st_code=" + st_code;
     if(width == null)
        var width = 1000;
        
     if(height == null)
        var height = 660;
     
     window.open(url,'','left=50, top=50, toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, width=' + width + ', height=' + height + '"');
    }
    
    function agent_hotel_map(h_code,st_code) {
     var url = "../../etc/hotel_map.aspx?h_code=" + h_code + "&st_code=" + st_code + "&hidSi_Type=A";
     window.open(url,'','left=50, top=50, toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, width=1000, height=660"');
    }
	/* 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";
