
//ÆË¾÷Ã¢ ½ºÅ©¸³Æ® - ½ºÅ©·Ñ¹Ù ¾ø´Â °Í
function popwindow(pop,width,height)
{
	var url = pop;  
	var wd = width;
	var he = height;
	
	window.open(url,"","toolbar=0,menubar=0,scrollbars=no,resizable=no,width=" + wd +",height=" + he + ";")
}

//ÆË¾÷Ã¢ ½ºÅ©¸³Æ® - ½ºÅ©·Ñ¹Ù ÀÖ´Â °Í
function popwindow2(pop,width,height)
{
	var url = pop;  
	var wd = width;
	var he = height;
	
	window.open(url,"","toolbar=0,menubar=0,scrollbars=yes,resizable=no,width=" + wd +",height=" + he + ";")
}




//¼¿·ºÆ® Å¬¸¯½Ã ´Ù¸¥»çÀÌÆ®·Î ÀÌµ¿
function CaniMenu(targ,selObj,restore){
  if( selObj.options[selObj.selectedIndex].value == "" ) return;
  window.open(selObj.options[selObj.selectedIndex].value,"steel");
  if (restore) selObj.selectedIndex=0;
}


// faq
function show_answer(q, a) {
  var tagName = "";
  var id = "";

  for(var obj in document.all) {
    tagName = document.all[obj].tagName;
    id = document.all[obj].id;
    if (tagName == "DIV") {
      if (!id.indexOf("A")) document.all[obj].style.display = "none";
      if (!id.indexOf("Q")) document.all[obj].style.display = "block";
    }
  }
  q.style.display = "none";
  a.style.display = "block";
}
