		
function insertFlash(swf, width, height, bgcolor, id, flashvars,trans)
{
	insertFlashWithVersion( swf, width, height, bgcolor, id, flashvars, trans, '9,0,0,0' );
}


function insertFlashWithVersion(swf, width, height, bgcolor, id, flashvars, trans, verstr)
{
	var strFlashTag = new String();

	if (navigator.appName.indexOf("Microsoft") != -1)
	{
		strFlashTag += '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" ';
		strFlashTag += 'codebase="https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=version='+verstr+'" ';
		strFlashTag += 'id="' + id + '" width="' + width + '" height="' + height + '">';
		strFlashTag += '<param name="movie" value="' + swf + '"/>';

		if(flashvars != null) {strFlashTag += '<param name="flashvars" value="' + flashvars + '"/>'};
		strFlashTag += '<param name="quality" value="best"/>';
		strFlashTag += '<param name="bgcolor" value="' + bgcolor + '"/>';
		strFlashTag += '<param name="menu" value="false"/>';
		strFlashTag += '<param name="salign" value="LT"/>';
		strFlashTag += '<param name="scale" value="noscale"/>';
		strFlashTag += '<param name="wmode" value="' + trans + '"/>';
		strFlashTag += '<param name="allowScriptAccess" value="always"/>';
		strFlashTag += '</object>';
	}
	else
	{
		strFlashTag += '<embed src="' + swf + '" ';
		strFlashTag += 'quality="best" ';
		strFlashTag += 'bgcolor="' + bgcolor + '" ';
		strFlashTag += 'width="' + width + '" ';
		strFlashTag += 'height="' + height + '" ';
		strFlashTag += 'menu="false" ';
		strFlashTag += 'scale="noscale" ';
		strFlashTag += 'id="' + id + '" ';
		strFlashTag += 'salign="LT" ';
		strFlashTag += 'wmode="' + trans + '" ';
		strFlashTag += 'allowScriptAccess="always" ';
		if(flashvars != null) {strFlashTag += 'flashvars="' + flashvars + '" '};
		strFlashTag += 'type="application/x-shockwave-flash" ';
		strFlashTag += 'pluginspage="https://www.macromedia.com/go/getflashplayer">';
		strFlashTag += '</embed>';
	}
	document.write(strFlashTag);
}

function insertFlash2(swf, width, height, bgcolor, id, flashvars,trans)
{
	insertFlashWithVersion( swf, width, height, bgcolor, id, flashvars, trans, '9,0,0,0' );
}


function insertFlashWithVersion2(swf, width, height, bgcolor, id, flashvars, trans, verstr)
{
	var strFlashTag = new String();

	if (navigator.appName.indexOf("Microsoft") != -1)
	{
		strFlashTag += '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" ';
		strFlashTag += 'codebase="https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=version='+verstr+'" ';
		strFlashTag += 'id="' + id + '" width="' + width + '" height="' + height + '">';
		strFlashTag += '<param name="movie" value="' + swf + '"/>';

		if(flashvars != null) {strFlashTag += '<param name="flashvars" value="' + flashvars + '"/>'};
		strFlashTag += '<param name="quality" value="best"/>';
		strFlashTag += '<param name="bgcolor" value="' + bgcolor + '"/>';
		strFlashTag += '<param name="menu" value="false"/>';
		strFlashTag += '<param name="salign" value="LT"/>';
		strFlashTag += '<param name="scale" value="noscale"/>';
		strFlashTag += '<param name="wmode" value="' + trans + '"/>';
		strFlashTag += '<param name="allowScriptAccess" value="always"/>';
		strFlashTag += '</object>';
	}
	else
	{
		strFlashTag += '<embed src="' + swf + '" ';
		strFlashTag += 'quality="best" ';
		strFlashTag += 'bgcolor="' + bgcolor + '" ';
		strFlashTag += 'width="' + width + '" ';
		strFlashTag += 'height="' + height + '" ';
		strFlashTag += 'menu="false" ';
		strFlashTag += 'scale="noscale" ';
		strFlashTag += 'id="' + id + '" ';
		strFlashTag += 'salign="LT" ';
		strFlashTag += 'wmode="' + trans + '" ';
		strFlashTag += 'allowScriptAccess="always" ';
		if(flashvars != null) {strFlashTag += 'flashvars="' + flashvars + '" '};
		strFlashTag += 'type="application/x-shockwave-flash" ';
		strFlashTag += 'pluginspage="https://www.macromedia.com/go/getflashplayer">';
		strFlashTag += '</embed>';
	}
	document.write(strFlashTag);
}

function getFlashMovieObject(movieName) { 
	if (window.document[movieName]) { 
		return window.document[movieName]; 
	} 
	if (navigator.appName.indexOf("Microsoft Internet")==-1) { 
		if (document.embeds && document.embeds[movieName]) return document.embeds[movieName]; 
	} else { 
		return document.getElementById(movieName); 
	} 
} 

function setLeftHeight( h ){
	document.getElementById('lnbTD').style.height = h + "px";
}

function flashGnbLink( val ){
	
	switch( val ){
		case "home":	location.href="/index.asp"; break;
		case "join":	location.href="/utill/utill_01_01.asp"; break;
		case "myPage":	location.href="/utill/utill_06_01.asp"; break;
		case "sitemap": location.href="/utill/utill_07_01.asp"; break;
		case "login":	location.href="/utill/utill_02_01.asp"; break;
		case "logout":	location.href="/logout_proc.asp"; break;
	}
}




/*Footer Start*/
NS4 = (document.layers) ? 1 : 0;
IE4 = (document.all) ? 1 : 0;
ver4 = (NS4 || IE4) ? 1 : 0;

if (ver4) {
    with (document) {
        write("<STYLE TYPE='text/css'>");
        if (NS4) {
            write(".parent {position:absolute; visibility:visible}");
            write(".child {position:absolute; visibility:visible}");
            write(".regular {position:absolute; visibility:visible}")
        }
        else {
            write(".child {display:none}")
        }
        write("</STYLE>");
    }
}

function getIndex(el) {
    ind = null;
    for (i=0; i<document.layers.length; i++) {
        whichEl = document.layers[i];
        if (whichEl.id == el) {
            ind = i;
            break;
        }
    }
    return ind;
}

function arrange() {
    nextY = document.layers[firstInd].pageY +document.layers[firstInd].document.height;
    for (i=firstInd+1; i<document.layers.length; i++) {
        whichEl = document.layers[i];
        if (whichEl.visibility != "hide") {
            whichEl.pageY = nextY;
            nextY += whichEl.document.height;
        }
    }
}

function initIt(){
    if (!ver4) return;
    if (NS4) {
        for (i=0; i<document.layers.length; i++) {
            whichEl = document.layers[i];
            if (whichEl.id.indexOf("Child") != -1) whichEl.visibility = "hide";
       }
        arrange();
    }
    else {
        divColl = document.all.tags("DIV");
        for (i=0; i<divColl.length; i++) {
            whichEl = divColl(i);
            if (whichEl.className == "child") whichEl.style.display = "none";
        }
    }
}

function expandIt(el) {
    if (!ver4) return;
    if (IE4) {
        whichEl = eval(el + "Child");
        if (whichEl.style.display == "none") {
            whichEl.style.display = "block";
        }
        else {
            whichEl.style.display = "none";
        }
    }
    else {
        whichEl = eval("document." + el + "Child");
        if (whichEl.visibility == "hide") {
            whichEl.visibility = "show";
        }
        else {
            whichEl.visibility = "hide";
        }
        arrange();
    }
}

onload = initIt;


    if (NS4) {
        firstEl = "KB1Parent";
        firstInd = getIndex(firstEl);
        arrange();
    }
/*Footer end*/


/*Mouse rol over*/
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_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 MM_findObj(n, d) { //v4.01
  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 && d.getElementById) x=d.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 gotoWishList(pitem,rurl)
{
	gotoAdmission=confirm("Do you want add to your Wish List?")
		
	if (gotoAdmission == false)
	{
		return;
	}
	else if (gotoAdmission == true)
	{
		location.href="/Reservations/WishListProc.asp?pnum="+pitem+"&prevurl="+rurl;

	}
}


function gotoGallery(psnum){
    var iMyWidth; 
    var iMyHeight; 
    iMyWidth = (window.screen.width/2) - (122 + 10);  //122 = width/2(245/2) 
    iMyHeight = (window.screen.height/2) - (27 + 200); 
    var url = "/resta/Gallery.asp?psnum=" + psnum;
    restaGall = window.open(url, "restaGall", "height=450,width=500,resizable=no,left=" + iMyWidth + ",top=" + iMyHeight + ",screenX=" + iMyWidth + ",screenY=" + iMyHeight + ",scrollbars=no");
	  //delroomset.blur()
    restaGall.focus()
}

function gotoMenuGall(psnum,pgnum){
    var iMyWidth; 
    var iMyHeight; 
    iMyWidth = (window.screen.width/2) - (122 + 10);  //122 = width/2(245/2) 
    iMyHeight = (window.screen.height/2) - (27 + 50); 
    var url = "/resta/Menu.asp?psnum=" + psnum + "&pgnum=" + pgnum;
    restaMGall = window.open(url, "restaMGall", "height=450,width=500,resizable=no,left=" + iMyWidth + ",top=" + iMyHeight + ",screenX=" + iMyWidth + ",screenY=" + iMyHeight + ",scrollbars=no");
	  //delroomset.blur()
    restaMGall.focus()
}

function gotoWishpop(pnum){

	gotoAdmission=confirm("Do you want add to your Wish List?")
		
	if (gotoAdmission == false)
	{
		return;
	}
	else if (gotoAdmission == true)
	{
       var iMyWidth; 
       var iMyHeight; 
       iMyWidth = (window.screen.width/2) - (122 + 10);  //122 = width/2(245/2) 
       iMyHeight = (window.screen.height/2) - (27 + 50); 
       var url = "/Reservations/WishListProc.asp?pnum=" + pnum + "&prevurl=pop";
       wishpop = window.open(url, "wishpop", "height=50,width=300,resizable=no,left=" + iMyWidth + ",top=" + iMyHeight + ",screenX=" + iMyWidth + ",screenY=" + iMyHeight + ",scrollbars=no");
       wishpop.focus()

	}

}

/*·Î±×ÀÎÀÌ ¾ÈµÈ »óÅÂ¿¡¼­ wish¸®½ºÆ® Ãß°¡½Ã 
  ºÎ¸ðÃ¢ ´ÝÇôÀÖ´ÂÁö ¿©ºÎ ÆÇ´Ü (·¹½ºÅä¶û'8'Àü¿ë)*/
function openerCheck() { 

    if(window.opener.opener) { 
        if(!window.opener.opener.closed) {
           //alert('ºÎ¸ðÃ¢ÀÌ ¿­·ÁÀÖ³×¿ä.');
		   window.opener.opener.focus();
		   opener.opener.location.href="/Login/Login.asp";
		}
        else {
           //alert('ºÎ¸ðÃ¢ÀÌ ´ÝÇôÀÖ³×¿ä.');
		   logpopnew=window.open("/Login/Login.asp", "logpopnew", "");
		   logpopnew.focus();		   
		}
     } 
	 self.close();

} 

/*ºÎ¸ðÃ¢ ´ÝÇôÀÖ´ÂÁö ¿©ºÎ ÆÇ´Ü (·¹½ºÅä¶û'8'Àü¿ë)*/
function openerCheck2() { 

    if(window.opener) { 
        if(!window.opener.closed) {
           //alert('ºÎ¸ðÃ¢ÀÌ ¿­·ÁÀÖ³×¿ä.');
		   window.opener.focus();
		}
        else {
           //alert('ºÎ¸ðÃ¢ÀÌ ´ÝÇôÀÖ³×¿ä.');
		   logpopnew2=window.open("/", "logpopnew2", "");
		   logpopnew2.focus();		   
		}
     } 

} 


/*--------------------------------------------------*/
//·¹½ºÅä¶û ¸µÅ© ½ÃÀÛ------------------------------*/
/*--------------------------------------------------*/

//Ä«Æä °¶·¯¸® ¸µÅ©
function cafe(){
	gotoGallery(8);
}

//ÄíÄ¡³ª °¶·¯¸® ¸µÅ©
function cucina(){
	gotoGallery(12);
}

//µ¨¸® °¶·¯¸® ¸µÅ©
function deli(){
	gotoGallery(10);
}

//µðÀúÆ®  °¶·¯¸® ¸µÅ©
function desserts(){
	gotoGallery(11);
}

//½º½Ã °¶·¯¸®  ¸µÅ©
function sushi(){
	gotoGallery(9);
}

//±×¸± °¶·¯¸®  ¸µÅ©
function grill(){
	gotoGallery(13);
}

//¾ßÅ°Åä¸®  °¶·¯¸® ¸µÅ©
function yakitori(){
	gotoGallery(14);
}

//´©µé °¶·¯¸®  ¸µÅ©
function noodles(){
	gotoGallery(15);
}
/*---------------------------------------*/
//VR Ä«Æä¸µÅ© ½ºÅ©¸³Æ® ÆË¾÷
function vrcafe(){
window.open('/abouthyatt/hyatttour/resta_01.asp','','toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=no,width=600,height=720')

}

//VR ÄíÄ¡³ª¸µÅ© ½ºÅ©¸³Æ® ÆË¾÷
function vrcucina(){
window.open('/abouthyatt/hyatttour/resta_02.asp','','toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=no,width=600,height=720')
}

//VR µ¨¸®¸µÅ© ½ºÅ©¸³Æ® ÆË¾÷
function vrdeli(){
window.open('/abouthyatt/hyatttour/resta_03.asp','','toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=no,width=600,height=720')
}

//VR µðÀúÆ® ¸µÅ© ½ºÅ©¸³Æ® ÆË¾÷
function vrdesserts(){
window.open('/abouthyatt/hyatttour/resta_04.asp','','toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=no,width=600,height=720')
}

//VR ½º½Ã ¸µÅ© ½ºÅ©¸³Æ® ÆË¾÷
function vrsushi(){
window.open('/abouthyatt/hyatttour/resta_05.asp','','toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=no,width=600,height=720')
}

//VR ±×¸± ¸µÅ© ½ºÅ©¸³Æ® ÆË¾÷
function vrgrill(){
window.open('/abouthyatt/hyatttour/resta_06.asp','','toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=no,width=600,height=720')
}

//VR ¾ßÅ°Åä¸® ¸µÅ© ½ºÅ©¸³Æ® ÆË¾÷
function vryakitori(){
window.open('/abouthyatt/hyatttour/resta_07.asp','','toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=no,width=600,height=720')
}

//VR ´©µé ¸µÅ© ½ºÅ©¸³Æ® ÆË¾÷
function vrnoodles(){
window.open('/abouthyatt/hyatttour/resta_08.asp','','toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=no,width=600,height=720')
}

/*---------------------------------------*/
//Wish Ä«Æä¸µÅ© 
function wish_cafe(){
	gotoWishpop(12);
}

//Wish ÄíÄ¡³ª¸µÅ©
function wish_cucina(){
	gotoWishpop(16);
}

//Wish  µ¨¸®¸µÅ©
function wish_deli(){
	gotoWishpop(14);
}

//Wish  µðÀúÆ® ¸µÅ©
function wish_desserts(){
	gotoWishpop(15);
}

//Wish  ½º½Ã ¸µÅ©
function wish_sushi(){
	gotoWishpop(13);
}

//Wish  ±×¸± ¸µÅ©
function wish_grill(){
	gotoWishpop(17);
}

//Wish  ¾ßÅ°Åä¸® ¸µÅ©
function wish_yakitori(){
	gotoWishpop(18);
}

//Wish  ´©µé ¸µÅ©
function wish_noodles(){
	gotoWishpop(19);
}
/*--------------------------------------*/
//·¹½ºÅä¶û¿¡¼­ ¿¹¾à ¹öÆ°
function re_rese(){
	//alert('knag');
	//location.href="/Reservations/ReserveRest.asp";
    if(window.opener) { 
        if(!window.opener.closed) {
           //alert('ºÎ¸ðÃ¢ÀÌ ¿­·ÁÀÖ³×¿ä.');
		   window.opener.focus();
		   window.opener.location.href="/Reservations/ReserveRest.asp";
		}
        else {
           //alert('ºÎ¸ðÃ¢ÀÌ ´ÝÇôÀÖ³×¿ä.');
		   reservRest=window.open("/Reservations/ReserveRest.asp", "reservRest", "");
		   reservRest.focus();		   
		}
     } 
}

//ÇÁ·Î¸ð¼Ç
function re_pro(){
	//location.href="/package/Promotion_Index.asp";
    if(window.opener) { 
        if(!window.opener.closed) {
           //alert('ºÎ¸ðÃ¢ÀÌ ¿­·ÁÀÖ³×¿ä.');
		   window.opener.focus();
		   window.opener.location.href="/package/Promotion_Index.asp";
		}
        else {
           //alert('ºÎ¸ðÃ¢ÀÌ ´ÝÇôÀÖ³×¿ä.');
		   reservRest=window.open("/package/Promotion_Index.asp", "reservRest", "");
		   reservRest.focus();		   
		}
     } 
}

//¾î¸°ÀÌ ¸Þ´º
function ch_menu(){
	window.open('/resta/ch_menu.asp','','toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=no,width=350,height=490')
}
/*-------------------------------------*/
//ÀÎ±â¸Þ´º Ä«Æä¸µÅ© 
function menu01_cafe(){
	//gotoMenuGall(¼ÒºÐ·ù¹øÈ£,¸Þ´º ÀÌ¹ÌÁö °¶·¯¸® ¹øÈ£);	  
	gotoMenuGall(8,5);
}
function menu02_cafe(){
	gotoMenuGall(8,6);
}

//ÀÎ±â¸Þ´º ÄíÄ¡³ª¸µÅ©
function menu01_cucina(){
	gotoMenuGall(9,17);
}
function menu02_cucina(){
	gotoMenuGall(9,18);
}
function menu03_cucina(){
	gotoMenuGall(9,16);
}

//ÀÎ±â¸Þ´º  µ¨¸®¸µÅ©
function menu01_deli(){
	gotoMenuGall(10,10);
}
function menu02_deli(){
	gotoMenuGall(10,11);
}
function menu03_deli(){
	gotoMenuGall(10,12);
}
function menu04_deli(){
	gotoMenuGall(10,13);
}

//ÀÎ±â¸Þ´º  µðÀúÆ® ¸µÅ©
function menu01_desserts(){
	gotoMenuGall(11,14);
}
function menu02_desserts(){
	gotoMenuGall(11,15);
}

//ÀÎ±â¸Þ´º  ½º½Ã ¸µÅ©
function menu01_sushi(){
	gotoMenuGall(9,9);
}
function menu02_sushi(){
	gotoMenuGall(9,8);
}
function menu03_sushi(){
	gotoMenuGall(9,7);
}

//ÀÎ±â¸Þ´º  ±×¸± ¸µÅ©
function menu01_grill(){
	gotoMenuGall(13,19);
}
function menu02_grill(){
	gotoMenuGall(13,21);
}
function menu03_grill(){
	gotoMenuGall(13,20);
}

//ÀÎ±â¸Þ´º  ¾ßÅ°Åä¸® ¸µÅ©
function menu01_yakitori(){
	gotoMenuGall(14,24);
}
function menu02_yakitori(){
	gotoMenuGall(14,23);
}
function menu03_yakitori(){
	gotoMenuGall(14,22);
}

//ÀÎ±â¸Þ´º  ´©µé ¸µÅ©
function  menu01_noodles(){
	gotoMenuGall(15,25);
}
function  menu02_noodles(){
	gotoMenuGall(15,27);
}
function  menu03_noodles(){
	gotoMenuGall(15,26);
}
function  menu04_noodles(){
	gotoMenuGall(15,28);
}

/*--------------------------------------------------*/
//·¹½ºÅä¶û ¸µÅ© ³¡--------------------------------*/
/*--------------------------------------------------*/
//
//
/*--------------------------------------------------*/
//º»»çÀÌÆ®ÂÊ ¸µÅ© ½ÃÀÛ---------------------------*/
/*--------------------------------------------------*/
//
//
//Accommodation------------------------------

//ÀÏ¹Ý°´½Ç
function dep_acc_01(){
	location.href="/accom/regency.asp";
}
//Å¬·´°´½Ç
function dep_acc_02(){
	location.href="/accom/clubroom.asp";
}
//½ºÀ§Æ®
function dep_acc_03(){
	location.href="/accom/suite.asp";
}

//Restaurant------------------------------------

//·¹½ºÅä¶û »õÃ¢
function dep_Rest_01(){
	window.open("/resta/intro.asp",'','')
}

//Vy
function dep_rest_vy(){
location.href="/resta/entervy.asp";

}
function dep_rest_wc(){
location.href="/resta/winesell.asp";

}

//Vy
function dep_rest_wine(){
	location.href="/resta/winesell.asp";
}

//Metting----------------------------------------

//ºÒ·ë
function dep_mee_01_1(){
	location.href="/meeting/bollroom.asp";
}
//¸®Á¨½Ã·ë
function dep_mee_01_2(){
	location.href="/meeting/regenroom.asp";
}
//¹ÌÆÃ·ë
function dep_mee_01_3(){
	location.href="/meeting/meetroom.asp";
}
//Á¢°ß½ºÀ§Æ®
function dep_mee_01_4(){
	location.href="/meeting/hosroom.asp";
}

//¿þµù
function dep_mee_02_1(){
	location.href="/meeting/wedding.asp";
}
//°¡Á·¿¬È¸
function dep_mee_02_2(){
	location.href="/meeting/outcater.asp";
}
//Å×¸¶ÆÄÆ¼
function dep_mee_02_3(){
	location.href="/meeting/themepa.asp";
}

function site_pack(){
	location.href="/package/package_index.asp";
}
//Facilities---------------------------------------

//Å¬·´ ¿Ã¸²Çª½º
function dep_Fac_01(){
	location.href="/facility/olympus.asp";
}

//ºñÁî´Ï½º ¼¾ÅÍ
function dep_Fac_02(){
	location.href="/facility/business.asp";
}

//¸®Á¨½Ã Å¬·´ ¶ó¿îÁö
function dep_Fac_03(){
	location.href="/facility/clublounge.asp";
}

//Å¾½Â¼ö¼Ó ¼­ºñ½º
function dep_Fac_04(){
	location.href="/facility/airinfo.asp";
}

//»óÇ°±Ç
function dep_Fac_06(){
	location.href="/facility/gift_cert.asp";
}


//±âÅ¸ ºÎ´ë½Ã¼³
function dep_Fac_05(){
	location.href="/facility/flower.asp";
}

//±âÅ¸ ºÎ´ë½Ã¼³
/*function dep_Fac_05(){
	location.href="/flowershop/flowerList.asp";
}*/

//±âÅ¸ ºÎ´ë½Ã¼³
function dep_Fac_07(){
	location.href="/facility/casino.asp";
}
//Flower & Gift Shop 
function dep_Fac_08(){
	location.href="/flowershop/flowerList.asp";
}

//Membership----------------------------------

//°ñµå ÆÐ½ºÆ÷Æ®
function dep_Mem_01(){
	window.open("http://www.goldpassport.com",'','')
}

//Å¬·´ ¾Ü´õ ÇÏ¾æÆ®
function dep_Mem_02(){
	location.href="http://english.hyattregencyincheon.com/member/clubhyatt.asp";
}


function dep_Res_07(){
	location.href="http://english.hyattregencyincheon.com/member/clubhyatt.asp";
}






//¸¶ÀÌ ÆäÀÌÁö
function dep_Mem_03(){

	//location.href="/member/mypage.asp";
	location.href="/member/Register.asp?subtype=modi";
}

//ÀÎÅÍ³Ý È¸¿ø°¡ÀÔ
function dep_Mem_04(){
	location.href="/member/agree.asp";
}
//Club Vino
function dep_Mem_05(){
	location.href="/member/clubvino.asp";
}


//Reservations---------------------------------

//°´½Ç¿¹¾à
function dep_Res_01(){

	window.open("http://www.hyatt.com/hyatt/reservations/flow6/propCheckAvailability.jsp?pid=inche",'','')
    //if ( getCookie( "NoticeHyattcom" ) != "doneHyattcom" ){
	//   doneHyattcom=window.open("/HyattcomNoticePop.html",'doneHyattcom','width=350,height=400,scrollbars=no');
	//   doneHyattcom.focus();
	//}
}

//ÆÐÅ°Áö¿¹¾à
function dep_Res_02(){
	window.open("http://www.hyatt.com",'','');
	//location.href="/Reservations/reservePack_List.asp";
}

//·¹½ºÅä¶û&¹Ù ¿¹¾à
function dep_Res_03(){
	location.href="/Reservations/ReserveRest.asp";
}

//¹ÌÆÃ·ë ¹× ¿¬È¸ ¿¹¾à
function dep_Res_04(){
	reser_acc()
	//location.href="/Reservations/ReserveMeet_Form.asp";
}

//¿¹¾à È®ÀÎ
function dep_Res_05(){
	location.href="/Reservations/reserveSearch.asp";
}


//Package and News---------------------------------

//ÆÐÅ°Áö
function dep_pac_01(){
	location.href="/package/package_index.asp";
}
//ÇÁ·Î¸ð¼Ç
function dep_pac_02(){
	location.href="/package/Promotion_Index.asp";
}
//ÀÌº¥Æ® ´º½º
function dep_pac_03(){
	location.href="/package/News_list.asp";
}

//Vy
function Vy(){
	location.href="";
}
//¿ÍÀÎ¼¿·¯
function wine(){
	location.href="";
}
//°´½ÇÂÊ ¿¹¾à
function reser_acc(){
	window.open("http://www.hyatt.com/hyatt/reservations/flow6/propCheckAvailability.jsp?pid=inche",'','')
    //if ( getCookie( "NoticeHyattcom" ) != "doneHyattcom" ){
	//   doneHyattcom=window.open("/HyattcomNoticePop.html",'doneHyattcom','width=350,height=400,scrollbars=no');
	//   doneHyattcom.focus();
	//}

}

//ÆÐÅ°Áö ¿¹¾à
function reservationpop()
{
	window.open('http://www.hyatt.com/hyatt/reservations/flow6/propCheckAvailability.jsp?pid=inche','','');
}

function reservationexcpop()
{
	window.open('http://www.hyatt.com/hyatt/reservations/flow6/propCheckAvailability.jsp?pid=inche','','');
	/*temprespop=window.open('pop_package.html','temprespop','width=420,height=561,scrollbars=yes');
	temprespop.focus();*/
}

//¹ÌÆÃ ¿¹¾à
function reser_mee(){
	reser_acc()
	//location.href="/Reservations/ReserveMeet_Form.asp";
}
//Facilities ¿¹¾à
function reser_fac(){
	location.href="/Reservations/ReserveRest.asp";
}

function getCookie(strName)
{
	var strArg = new String(strName + "=");	
	var nArgLen, nCookieLen, nEnd;
	var i = 0, j;
	
	nArgLen    = strArg.length;
	nCookieLen = document.cookie.length;
	
	if(nCookieLen > 0) {
	
		while(i < nCookieLen) {
		
			j = i + nArgLen;
			
			if(document.cookie.substring(i, j) == strArg) {
	
				nEnd = document.cookie.indexOf (";", j);
				
				if(nEnd == -1) nEnd = document.cookie.length;
				
				return unescape(document.cookie.substring(j, nEnd));
			 
			}
			
			i = document.cookie.indexOf(" ", i) + 1;
			if (i == 0) break;
		}
	}
	
	return("");
}
/*--------------------------------------------------*/
//º»»çÀÌÆ®ÂÊ ¸µÅ© ³¡---------------------------*/
/*--------------------------------------------------*/

function autoResizejq(e){
		if ($.browser.safari || $.browser.opera){	 // Check if browser is Safari or Opera.
			e.height = e.contentDocument.body.offsetHeight + 35;
		}else{
			e.height = e.contentWindow.document.body.scrollHeight + 35;
		}
}


var wincntr= null;
function NewWindow(mypage,myname,w,h,scroll){
  var winl = (screen.width-w)/2;
  var wint = (screen.height-h)/2;
  var settings  ='height='+h+',';
      settings +='width='+w+',';
      settings +='top='+wint+',';
      settings +='left='+winl+',';
      settings +='scrollbars='+scroll+',';
      settings +='resizable=no';
  wincntr=window.open(mypage,myname,settings);
  //if(parseInt(navigator.appVersion) >= 4){wincntr.window.focus();}
}
