function id_check(ref) {
      var id = eval(document.write.id);

      if(!id.value) {
         alert('Input and confirm your ID!');
         id.focus();
         return;
      } else {
         ref = ref + "?id=" + id.value;
         var window_left = (screen.width-640)/2;
         var window_top = (screen.height-480)/2;
			 window.open(ref,"checkIDWin",'width=350,height=150,status=no,top=' + window_top + ',left=' + window_left + '');
	}
}

function post(ref,what) {
      var window_left = (screen.width-640)/2;
      var window_top = (screen.height-480)/2;
      ref = ref + "?what=" + what;
      window.open(ref,"post_search",'width=450,height=150,status=no,top=' + window_top + ',left=' + window_left + '');
}

function store(ref,what) {
      var window_left = (screen.width-640)/2;
      var window_top = (screen.height-480)/2;
      ref = ref + "?what=" + what;
      window.open(ref,"post_search",'width=450,height=150,status=no,top=' + window_top + ',left=' + window_left + '');
}

function id_pass_find(ref,what) {
      var window_left = (screen.width-640)/2;
      var window_top = (screen.height-480)/2;
      ref = ref + "?what=" + what;
      window.open(ref,"id_find",'width=450,height=180,status=no,top=' + window_top + ',left=' + window_left + '');
}
