 function ShowBack(){
  var back = document.getElementById("div_background");
  var back2 = document.getElementById("frm_background");
  back.style.left = 0;
  back.style.top = 0;
  if(document.body.scrollWidth > document.body.clientWidth)
   back.style.width = document.body.scrollWidth;
  else
   back.style.width = '100%';
  if(document.body.scrollHeight > document.body.clientHeight)
   back.style.height = document.body.scrollHeight;
  else
   back.style.height = '100%';
   
  back2.style.left = 0;
  back2.style.top = 0;
  if(document.body.scrollWidth > document.body.clientWidth)
   back2.style.width = document.body.scrollWidth;
  else
   back2.style.width = '100%';
  if(document.body.scrollHeight > document.body.clientHeight)
   back2.style.height = document.body.scrollHeight;
  else
   back2.style.height = '100%';
   
  back.style.filter = "alpha(opacity=50)";
  back2.style.filter = "alpha(opacity=0)";
  back.innerHTML = "<table width='101%' height='101%' bgcolor='#000000' topmargin=0 leftmargin=0><tr><td></td></tr></table>";
  back.style.display = "";
  back2.style.display = "";
 }
 function HideBack(){
  document.getElementById("div_background").style.display = "none";
  document.getElementById("frm_background").style.display = "none";
 }
 function ShowLayer(t, article_code){
  ShowBack();
 document.getElementById(t).style.display = "block";
 document.S_article_frame.location.href = "/tour_taste/preview_frame.asp?article_code="+article_code;
 
  x = ((document.body.clientWidth - document.getElementById(t).offsetWidth) / 2) + document.body.scrollLeft;
  y = ((document.body.clientHeight - document.getElementById(t).offsetHeight) / 2)  + document.body.scrollTop;

   document.getElementById(t).style.left = x;
   document.getElementById(t).style.top = y;
 }
 function HideLayer(obj){
  HideBack();
  document.getElementById(obj).style.display = "none";
 }
 document.writeln("<div id='div_background' style='display:none;position:absolute'></div>");
 document.writeln("<iframe id='frm_background' border=0 frameborder=0 style='display:none;position:absolute;'></iframe>");
 //********************** ·¹ÀÌ¾î±âº»ÇÔ¼ö³¡**********************





//**********************·Î±×ÀÎ ·¹ÀÌ¾î ***************************


 function LoginBack(){
  var back = document.getElementById("div_background");
  var back2 = document.getElementById("frm_background");
  back.style.left = 0;
  back.style.top = 0;
  if(document.body.scrollWidth > document.body.clientWidth)
   back.style.width = document.body.scrollWidth;
  else
   back.style.width = '100%';
  if(document.body.scrollHeight > document.body.clientHeight)
   back.style.height = document.body.scrollHeight;
  else
   back.style.height = '100%';
   
  back2.style.left = 0;
  back2.style.top = 0;
  if(document.body.scrollWidth > document.body.clientWidth)
   back2.style.width = document.body.scrollWidth;
  else
   back2.style.width = '100%';
  if(document.body.scrollHeight > document.body.clientHeight)
   back2.style.height = document.body.scrollHeight;
  else
   back2.style.height = '100%';
   
  back.style.filter = "alpha(opacity=50)";
  back2.style.filter = "alpha(opacity=0)";
  back.innerHTML = "<table width='101%' height='101%' bgcolor='#000000' topmargin=0 leftmargin=0><tr><td></td></tr></table>";
  back.style.display = "";
  back2.style.display = "";
 }
 function LoginHideBack(){
  document.getElementById("div_background").style.display = "none";
  document.getElementById("frm_background").style.display = "none";
 }
 function loginshowLayer(t,objs){
  LoginBack();
 document.getElementById(t).style.display = "block";
if(objs  == "joins")
	 {
 document.login_frame.location.href = "/member_info/member_stipulation.asp";
	 }

else if(objs  == "modify")
	 {
 document.login_frame.location.href = "/member_info/member_modify.asp";
	 }

else
	 {
 document.login_frame.location.href = "/member_info/login.asp";
	 }
  x = ((document.body.clientWidth - document.getElementById(t).offsetWidth) / 2) + document.body.scrollLeft;
  y = ((document.body.clientHeight - document.getElementById(t).offsetHeight) / 2)  + document.body.scrollTop;

   document.getElementById(t).style.left = x;
   document.getElementById(t).style.top = y;
 }
 function loginHideLayer(obj){
  LoginHideBack();
  document.getElementById(obj).style.display = "none";
 }
 document.writeln("<div id='div_background' style='display:none;position:absolute'></div>");
 document.writeln("<iframe id='frm_background' border=0 frameborder=0 style='display:none;position:absolute;'></iframe>");
 //********************** ·¹ÀÌ¾î±âº»ÇÔ¼ö³¡**********************



 

//**********************Çã´ÏÇã´Ï¹® ·¹ÀÌ¾î ***************************


 function HoneyBack(){
  var back = document.getElementById("div_background");
  var back2 = document.getElementById("frm_background");
  back.style.left = 0;
  back.style.top = 0;
  if(document.body.scrollWidth > document.body.clientWidth)
   back.style.width = document.body.scrollWidth;
  else
   back.style.width = '100%';
  if(document.body.scrollHeight > document.body.clientHeight)
   back.style.height = document.body.scrollHeight;
  else
   back.style.height = '100%';
   
  back2.style.left = 0;
  back2.style.top = 0;
  if(document.body.scrollWidth > document.body.clientWidth)
   back2.style.width = document.body.scrollWidth;
  else
   back2.style.width = '100%';
  if(document.body.scrollHeight > document.body.clientHeight)
   back2.style.height = document.body.scrollHeight;
  else
   back2.style.height = '100%';
   
  back.style.filter = "alpha(opacity=50)";
  back2.style.filter = "alpha(opacity=0)";
  back.innerHTML = "<table width='101%' height='101%' bgcolor='#000000' topmargin=0 leftmargin=0><tr><td></td></tr></table>";
  back.style.display = "";
  back2.style.display = "";
 }
 function HoneyHideBack(){
  document.getElementById("div_background").style.display = "none";
  document.getElementById("frm_background").style.display = "none";
 }
 function HoneyshowLayer(t,objs,article_code){
  HoneyBack();
 document.getElementById(t).style.display = "block";

if(objs  == "RA")
	 {
 document.Honey_frame.location.href = "honey_gogo.asp?article_code="+article_code;
	 }

else if(objs  == "SA")
	 {
 document.Honey_frame.location.href = "honey_dc.asp?article_code="+article_code;
	 }
	else
	 {
 document.Honey_frame.location.href = "honey_bogm.asp?article_code="+article_code;
	 }
  x = ((document.body.clientWidth - document.getElementById(t).offsetWidth) / 2) + document.body.scrollLeft;
  y = ((document.body.clientHeight - document.getElementById(t).offsetHeight) / 2)  + document.body.scrollTop;

   document.getElementById(t).style.left = x;
   document.getElementById(t).style.top = y;
 }
 function HideLayer(obj){
  HoneyHideBack();
  document.getElementById(obj).style.display = "none";
 }
 document.writeln("<div id='div_background' style='display:none;position:absolute'></div>");
 document.writeln("<iframe id='frm_background' border=0 frameborder=0 style='display:none;position:absolute;'></iframe>");
 //********************** ·¹ÀÌ¾î±âº»ÇÔ¼ö³¡**********************]

 

 

//**********************°Ö·¯¸® ·¹ÀÌ¾î ***************************


 function galleryBack(){
  var back = document.getElementById("div_background");
  var back2 = document.getElementById("frm_background");
  back.style.left = 0;
  back.style.top = 0;
  if(document.body.scrollWidth > document.body.clientWidth)
   back.style.width = document.body.scrollWidth;
  else
   back.style.width = '100%';
  if(document.body.scrollHeight > document.body.clientHeight)
   back.style.height = document.body.scrollHeight;
  else
   back.style.height = '100%';
   
  back2.style.left = 0;
  back2.style.top = 0;
  if(document.body.scrollWidth > document.body.clientWidth)
   back2.style.width = document.body.scrollWidth;
  else
   back2.style.width = '100%';
  if(document.body.scrollHeight > document.body.clientHeight)
   back2.style.height = document.body.scrollHeight;
  else
   back2.style.height = '100%';
   
  back.style.filter = "alpha(opacity=50)";
  back2.style.filter = "alpha(opacity=0)";
  back.innerHTML = "<table width='101%' height='101%' bgcolor='#000000' topmargin=0 leftmargin=0><tr><td></td></tr></table>";
  back.style.display = "";
  back2.style.display = "";
 }
 function galleryHideBack(){
  document.getElementById("div_background").style.display = "none";
  document.getElementById("frm_background").style.display = "none";
 }
 function galleryshowLayer(t,seq){
  galleryBack();
 document.getElementById(t).style.display = "block";

 document.gallery_frame.location.href = "/tour_gallery/index_frame.asp?seq="+seq;

  x = ((document.body.clientWidth - document.getElementById(t).offsetWidth) / 2) + document.body.scrollLeft;
  y = ((document.body.clientHeight - document.getElementById(t).offsetHeight) / 2)  + document.body.scrollTop;

   document.getElementById(t).style.left = x;
   document.getElementById(t).style.top = y;
 }
 function HideLayer(obj){
  galleryHideBack();
  document.getElementById(obj).style.display = "none";
 }
 document.writeln("<div id='div_background' style='display:none;position:absolute'></div>");
 document.writeln("<iframe id='frm_background' border=0 frameborder=0 style='display:none;position:absolute;'></iframe>");
 //********************** ·¹ÀÌ¾î±âº»ÇÔ¼ö³¡**********************
