/* ¸ÞÀÏ¸µ¸®½ºÆ® ¸ÞÀÏ º¸³»±â
	function sendQuote(cnt)
	{
		var cnt;
		var quoteFlag = 0;
		for(i=1;i<=cnt;i++){
			str1=document.replyOk.quote(i).value;
			str2=document.replyOk.sendComment(i).value;
			if(str1 == "" && str2 == ""){
				quoteFlag = quoteFlag + 0;
			}else{
				quoteFlag = quoteFlag + 1;
			}
		}
		if(quoteFlag == 0){
			alert("All quotation are empty!");
			document.replyOk.quote(0).focus();
			return false;
		}
		document.replyOk.submit();
	}
*/

//* eletter view (eletter.asp)
function Open_eletter(letterNum){
	var letterNum;
	window.open("/main/backoffice/mail/eletter.asp?letterNum="+letterNum,"eletter","scrollbars=yes,resizable=yes,left=150,top=50,width=770,height=705");
}
//*


//* popup ¶ç¿ì±â ½ÃÀÛ
function openPopWindow(theURL,winName,features,cookie_key_val) {
	var c = document.cookie + ';';
	if( c.indexOf(cookie_key_val) < 0 )
		window.open(theURL,winName,features);
}

//**********ÆË¾÷**********
function Open_12newyear(){
	var cnt = 0;
	openPopWindow('/popup/12newyear.html','12newyear','fullscreen=no,titlebar=no,toolbar=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,left=150,top=250,width=295,height=400','NOPOPTODAY14=NoPop');
	if(0) alert(cnt); // pseudo for not-empty-function
}

//* popup ¶ç¿ì±â ³¡

//* ¿ùµåÄÅ2
//function Open_worldcup2(){
//	window.open("/popup/worldcup2006/WorldCup2006_Korean.htm");
//}
//*

//*flash Á¡¼± Å×µÎ¸®¾ø¾Ö±â
function changeEmbed(arg1, arg2, arg3)
{
  document.write("<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000'");
  document.write("codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0' width='"+arg2+"' height='"+arg3+"'>");
  document.write("<param name='movie' value='/flash/"+arg1+"'>");
  document.write("<param name='quality' value='high'>");
  document.write("<param name='bgcolor' VALUE='#FFFFFF'>");
  document.write("<param name='wmode' value='transparent'>");
  document.write("<embed src='/flash/"+arg1+"' quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='"+arg2+"' height='"+arg3+"'></embed>");
  document.write("</object>");
}
//*


//* GC°ßÀûÃ¢ ¶ç¿ì±â
function Open_gc_list(){
	window.open("/main/backoffice/gc/main.asp","","scrollbars=yes,resizable=yes,left=0,top=20,width=950,height=650");
}
//*

//* index °Ô½ÃÆÇµé¸Þ´º ·Ñ¿À¹ö
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.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];}
}
//*

//* index ·¹ÀÌ¾î °Ô½ÃÆÇµé
function Showlayers(OBJ) {                                                                                  
	if (OBJ == "1") {
		lnotice.style.display = "";
		lnews.style.display = "none";
		lchina.style.display = "none";
	}
	else if (OBJ == "2") {
		lnotice.style.display = "none";
		lnews.style.display = "";
		lchina.style.display = "none";
		}
	 else if (OBJ == "3") {
		lnotice.style.display = "none";
		lnews.style.display = "none";
		lchina.style.display = "";
	}
}
//*

//* index ·¹ÀÌ¾î °Ô½ÃÆÇµé
function Showlayer(OBJ) {                                                                                  
	if (OBJ == "1") {
		ldata.style.display = "";
		lcheck.style.display = "none";
		lqna.style.display = "none";
	}
	else if (OBJ == "2") {
		ldata.style.display = "none";
		lcheck.style.display = "";
		lqna.style.display = "none";
		}
	 else if (OBJ == "3") {
		ldata.style.display = "none";
		lcheck.style.display = "none";
		lqna.style.display = "";
	}
}
//*

//* show ·¹ÀÌ¾î(Áß°í/½ÅÇ°/·»Å»)
function Showlayer_usednew(OBJ) {                                                                                  
	if (OBJ == "1") {
		used_equip.style.display = "";
		new_equip.style.display = "none";
		rental_equip.style.display="none";
	}
	else if (OBJ == "2") {
		used_equip.style.display = "none";
		new_equip.style.display = "";
		rental_equip.style.display="none";
	}
	else if (OBJ == "3") {
		used_equip.style.display = "none";
		new_equip.style.display = "none";
		rental_equip.style.display="";
	}
}
//*

//* hide ·¹ÀÌ¾î(Áß°í/½ÅÇ°/·»Å»)
function Hidelayer_usednew() {                                                                                  
		used_equip.style.display = "none";
		new_equip.style.display = "none";
		rental_equip.style.display="none";
}
//*

//* show ·¹ÀÌ¾î(È¸»ç¼Ò°³/°í°´Áö¿ø/°í°´±¤Àå/µµ¿ò¸»)
function Showlayer_topmenu(OBJ) {                                                                                  
	if (OBJ == "1") {
		ltop_company.style.display = "";
		ltop_support.style.display = "none";
		ltop_square.style.display="none";
		ltop_help.style.display="none";
	}
	else if (OBJ == "2") {
		ltop_company.style.display = "none";
		ltop_support.style.display = "";
		ltop_square.style.display="none";
		ltop_help.style.display="none";
	}
	else if (OBJ == "3") {
		ltop_company.style.display = "none";
		ltop_support.style.display = "none";
		ltop_square.style.display="";
		ltop_help.style.display="none";
	}
	else if (OBJ == "4") {
		ltop_company.style.display = "none";
		ltop_support.style.display = "none";
		ltop_square.style.display="none";
		ltop_help.style.display="";
	}
}
//*

//* hide ·¹ÀÌ¾î(È¸»ç¼Ò°³/°í°´Áö¿ø/°í°´±¤Àå/µµ¿ò¸»)
function Hidelayer_topmenu() {                                                                                  
		ltop_company.style.display = "none";
		ltop_support.style.display = "none";
		ltop_square.style.display="none";
		ltop_help.style.display="none";
}
//*

//* index¿¡¼­ Èê·¯°¡´Â ÇÖ¼¼ÀÏ»óÇ°µé
var Toggle =1; 
function DWtop(chk) 
{   
  Toggle = 0;   
  switch(chk) { 
        case 1: 
          flow.stop(); 
          break; 
        case 2: 
          flow.stop(); 
          break; 
  }     
} 
function DWstart(chk)   
{   
  Toggle = 1;   
  switch(chk) { 
        case 1: 
          flow.start(); 
          break; 
        case 2: 
          flow.start(); 
          break; 
  }     
} 
//*

//* ¸ðµ¨½ºÆå ¼öÁ¤ÇÏ´Â Ã¢ ¶ç¿ì±â
function Open_equip_spec(equip_eid){
	var equip_eid;
	url="/main/backoffice/equipinout/mod_spec.asp?equip_eid="+equip_eid;
	window.open(url,"","resizable=yes,scrollbars=yes,left=0,top=40,width=670,height=520");
	}
//*

//* ¼¿·º¼Ç°¡ÀÌµå ÆäÀÌÁö ¹Ù·Î ÆË¾÷½ÃÅ°±â
	function select_guide(formname) {
	var str=formname.options[formname.selectedIndex].value;
	if (str=="85XX"){
		window.open("/main/equipment/selection/"+str+".html","","scrollbars=yes,resizable=yes, width=600,height=435");
	}
	else if (str=="E44XX"){
		window.open("/main/equipment/selection/"+str+".html","","scrollbars=yes,resizable=yes, width=600,height=580");
	}
	else if (str=="sigen"){
		window.open("/main/equipment/selection/"+str+".html","","scrollbars=yes,resizable=yes, width=600,height=474");
	}
	else if (str=="E44XX_sigen"){
		window.open("/main/equipment/selection/"+str+".html","","scrollbars=yes,resizable=yes, width=600,height=640");
	}
	else{		
	}
	}
//*

//* ¼¿·º¼Çº¸µå ÆäÀÌÁö ¹Ù·Î ÆË¾÷½ÃÅ°±â
	function select_boards(formname) {
	var str=formname.options[formname.selectedIndex].value;
	if (str=="data"){
		window.open("/boards/equipdata/list.asp");
	}
	else if (str=="qna"){
		window.open("/boards/equipqna/list.asp");
	}
	else if (str=="check"){
		window.open("/boards/equipcheck/list.asp");
	}
	else{		
	}
	}
//*

//* Á÷°Å·¡ÀåÅÍ(µô·¯Æ÷ÇÔ) ¼¿·ºÆ®¸Þ´º ´©¸£¸é ¹Ù·Î È­¸é ¹Ù²î´ÂÇÔ¼ö
	function bs_bd(formname) {
	var target=eval(self) 
	if (formname.value==""){
	// ¸Þ´º¸¦ ¼±ÅÃÇÏÁö¾Ê°í ¹öÆ° Å¬¸¯½Ã ÀÌº¥Æ®
	}
	else {
	target.location=formname.options[formname.selectedIndex].value;
	//document.search.searchpro.selectedIndex=0; // ÀÌµ¿ÇÑ ´ÙÀ½ Ç®´Ù¿î¸Þ´º ¼±ÅÃÇØÁ¦
	}
	}
//*

//* »óÀ§ ProductSearch... ¼¿·ºÆ®¸Þ´º ´©¸£¸é ¹Ù·Î È­¸é ¹Ù²î´ÂÇÔ¼ö
//	function product(formname) {
//	var target=eval(self) 
//	if (formname.value==""){
//	// ¸Þ´º¸¦ ¼±ÅÃÇÏÁö¾Ê°í ¹öÆ° Å¬¸¯½Ã ÀÌº¥Æ®
//	}
//	else {
//	target.location=formname.options[formname.selectedIndex].value;
//	//document.select.searchpro.selectedIndex=0; // ÀÌµ¿ÇÑ ´ÙÀ½ Ç®´Ù¿î¸Þ´º ¼±ÅÃÇØÁ¦
//	}
//	}
//*

//* equiplist.asp ¿¡¼­ maker ¼¿·ºÆ®¸Þ´º ´©¸£¸é ¹Ù·Î ÇØ´ç maker Àåºñ¸®½ºÆ®·Î ¹Ù²î´Â ÇÔ¼ö
//	function maker(formname) {
//	var target=eval(self) 
//	if (formname.value==""){
//	// ¸Þ´º¸¦ ¼±ÅÃÇÏÁö¾Ê°í ¹öÆ° Å¬¸¯½Ã ÀÌº¥Æ®
//	}
//	else {
//	target.location=formname.options[formname.selectedIndex].value;
//	//document.select.url.selectedIndex=0; // ÀÌµ¿ÇÑ ´ÙÀ½ Ç®´Ù¿î¸Þ´º ¼±ÅÃÇØÁ¦
//	}
//	}
//*

//* ¸ÇÀ§¿¡ º¸ÀÌ°í ¾Èº¸ÀÌ´Â ¸Þ´º ÇÔ¼ö
//	function hideLayer(){
//		if (overdiv == "0")
//		{
//			if(navigator.family =="nn4") {eval(document.object1.top="-500");}
//			else if(navigator.family =="ie4"){object1.innerHTML="";}
//		}
//	}
//
//	var isNav = (navigator.appName.indexOf("Netscape") !=-1);
//
//	function handlerMM(e){
//		x = (isNav) ? e.pageX : event.clientX + document.body.scrollLeft;
//		y = (isNav) ? e.pageY : event.clientY + document.body.scrollTop;
//	}
//
//	if (isNav){document.captureEvents(Event.MOUSEMOVE);}
//	document.onmousemove = handlerMM;
//
//
//	function TopMenuVisible(visID)
//	{
//		var obj1 = document.getElementById("TopMenus1_home");
//		var obj2 = document.getElementById("TopMenus1_intro");
//		var obj3 = document.getElementById("TopMenus1_ask");
//		var obj4 = document.getElementById("TopMenus1_support");
//		var obj5 = document.getElementById("TopMenus1_kwangjang");
//		var obj6 = document.getElementById("TopMenus1_bunsil");
//		var obj7 = document.getElementById("TopMenus1_mail");
//		var obj8 = document.getElementById("TopMenus1_help");
//	var obj9 = document.getElementById("TopMenus1_site");
//		
//		var objVis = document.getElementById(visID);
//		
//		obj1.style.display = "none";
//		obj2.style.display = "none";
//		obj3.style.display = "none";
//		obj4.style.display = "none";
//		obj5.style.display = "none";
//		obj6.style.display = "none";
//		obj7.style.display = "none";
//		obj8.style.display = "none";
//		obj9.style.display = "none";
//		
//		objVis.style.display = "";
//	}
//
//	function TopMenuHidden()
//	{	
//		var obj1 = document.getElementById("TopMenus1_home");
//		var obj2 = document.getElementById("TopMenus1_intro");
//		var obj3 = document.getElementById("TopMenus1_ask");
//		var obj4 = document.getElementById("TopMenus1_support");
//		var obj5 = document.getElementById("TopMenus1_kwangjang");
//		var obj6 = document.getElementById("TopMenus1_bunsil");
//		var obj7 = document.getElementById("TopMenus1_mail");
//		var obj8 = document.getElementById("TopMenus1_help");
//		var obj9 = document.getElementById("TopMenus1_site");
//		
//		obj1.style.display = "none";	 
//		obj2.style.display = "none";
//		obj3.style.display = "none";
//		obj4.style.display = "none";
//		obj5.style.display = "none";
//		obj6.style.display = "none";
//		obj7.style.display = "none";
//		obj8.style.display = "none";
//		obj9.style.display = "none";
//	}
//*

//* (ÀåºñÀÔ·Âinsertlist.asp) ÆË¾÷Ã¢ ¶ç¿ì±â
function Open_insertlist(){
	window.open("/main/equipment/insertlist.asp","","scrollbars=yes,resizable=yes,width=680,height=600");
}
//*

//* (°¡¹æÀÔ·Âinsertbag.asp) ÆË¾÷Ã¢ ¶ç¿ì±â
function Open_insertbag(){
	window.open("/main/bag/insertbag.asp","","scrollbars=yes,resizable=yes,width=680,height=700");
}
//*

//* (È¸¿ø°ü¸®mem_infoch_doul.asp) ÆË¾÷Ã¢ ¶ç¿ì±â
function Open_mem_infoch_doul(){
	window.open("/main/backoffice/mem_infoch_doul.asp","","scrollbars=yes,resizable=yes,width=750,height=540");
}
//*
//* ÀåºñÀÔÃâ°í´ëÀå ÆË¾÷Ã¢ ¶ç¿ì±â
function Open_equipinout(){
	window.open("/main/backoffice/equipinout/main.asp","","scrollbars=yes,resizable=yes,left=0,top=0,width=1000,height=680");
}
//*

//* (È¸¿ø°ü¸®¿¡¼­ ¼¼ºÎ»çÇ× mem_infoch_doul_view.asp) ÆË¾÷Ã¢ ¶ç¿ì±â
function Open_mem_infoch_doul_view(value_u){
	var url="";
	url='/main/backoffice/mem_infoch_doul_view.asp?id='+value_u;
	window.open(url,"","scrollbars=yes,resizable=yes,width=700,height=540");
}
//*

//* È¸¿ø°ü¸®¿¡¼­ È¸¿ø Ã£±â
function search_mem(){
		var str = "";
		str=document.search_member.search2.value;
		if (str == "")
		{
			alert("Ã£À¸½Ç ´Ü¾î¸¦ ÀÔ·ÂÇÏ¼¼¿ä");
			document.search_member.search2.focus();
			return true;
		}
		document.search_member.submit();
}
//*

//* ÀÌ¸ÞÀÏ°ü¸®¿¡¼­ È¸¿ø Ã£±â
function search_email_go(){
		var str = "";
		str=document.search_email.search2.value;
		if (str == "")
		{
			alert("Ã£À¸½Ç ´Ü¾î¸¦ ÀÔ·ÂÇÏ¼¼¿ä");
			document.search_email.search2.focus();
			return true;
		}
		document.search_email.submit();
}
//*

//* ÀÌ¸ÞÀÏ°ü¸®¿¡¼­ ÀÌ¸ÞÀÏ Ãß°¡
function insert_email(){
		var str = "";
		str=document.mail_insert.gubun.value;
		if (str == "")
		{
			alert("±¸ºÐÀ» ¼±ÅÃÇÏ¼¼¿ä");
			document.mail_insert.gubun.focus();
			return true;
		}
//		str=document.mail_insert.company.value;
//		if (str == "")
//		{
//			alert("»óÈ£¸íÀ» ÀÔ·ÂÇÏ¼¼¿ä");
//			document.mail_insert.company.focus();
//			return true;
//		}
		str=document.mail_insert.email.value;
		if (str == "")
		{
			alert("ÀÌ¸ÞÀÏÀ» ÀÔ·ÂÇÏ¼¼¿ä");
			document.mail_insert.email.focus();
			return true;
		}
		document.mail_insert.submit();
}
//*

//* (Àåºñ,·»Å»,Ã£±â ¸®½ºÆ®µé¿¡¼­ modlist.asp) ÆË¾÷Ã¢ ¶ç¿ì±â
function Open_modlist(value_u){
	var url="";
	url='/main/equipment/modlist.asp?eid='+value_u;
	window.open(url,"","scrollbars=yes,resizable=yes,width=680,height=690");
}
//*

//* (Àåºñ,·»Å»,Ã£±â ¸®½ºÆ®µé¿¡¼­ list_detail.asp) ÆË¾÷Ã¢ ¶ç¿ì±â
function Open_list_detail(value_u){
	var url="";
	url='/main/equipment/list_detail.asp?eid='+value_u;
	window.open(url,"","scrollbars=yes,resizable=yes,width=700,height=650");
}
//*

//* (°¡¹æ¸®½ºÆ®¿¡¼­ modbaglist.asp) ÆË¾÷Ã¢ ¶ç¿ì±â
function Open_modbaglist(value_u){
	var url="";
	url='/main/bag/modbaglist.asp?eid='+value_u;
	window.open(url,"","scrollbars=yes,resizable=yes,width=680,height=690");
}
//*

//* (°¡¹æ¸®½ºÆ®¿¡¼­ bag_detail.asp) ÆË¾÷Ã¢ ¶ç¿ì±â
function Open_bag_detail(value_u){
	var url="";
	url='/main/bag/bag_detail.asp?eid='+value_u;
	window.open(url,"","scrollbars=yes,resizable=yes,width=750,height=540");
}
//*

//* (°èÁÂ¹øÈ£¾È³» doulacount.html) ÆË¾÷Ã¢ ¶ç¿ì±â
function Open_doulacount(){
	window.open("/main/help/doulaccount.html","","width=830,height=529");
}
//*

//* (¿À½Ã´Â±æ map.html) ÆË¾÷Ã¢ ¶ç¿ì±â
function Open_map(){
	window.open("/main/company/map.html","","scrollbars=yes,menubars=yes,toolbar=yes,resizable=no,width=580,height=360");
}
//*

//* quick search
	function searchstr()
	{
		var str2;
		str2=document.search.search2.value;
		if (str2 == "")
		{
			alert("Ã£À¸½Ç ´Ü¾î¸¦ ÀÔ·ÂÇÏ¼¼¿ä");
			document.search.search2.focus();
			return true;
		}
		document.search.submit();
	}
//*

//* ¿©·¯±ºµ¥ search
function Open_search_ext_company(){
	var url1="",url2="",url3="",url4="",value_u="";
	value_u=document.ext_search.search2.value;
//	url1='http://www.doultech.co.kr';
	url1='http://www.fordealer.co.kr';
	url2='http://www.pmtech21.com/front/php/search/search.php?keyword='+value_u;
	url3='http://www.usedsite.co.kr/file/search.asp?search=0&searchstring='+value_u;
	url4='http://www.eglink.co.kr/main/equipment/search_res.asp?search2='+value_u;
	window.open(url1,"officezone");
	window.open(url2,"pmtech");
	window.open(url3,"metasite");
	window.open(url4,"eglink");
}
//*

//* select search
	function searchselect()
	{
		var str2;
		str2=document.equip_select.maker.value;
		if (str2 == "")
		{
			alert("¸ÞÀÌÄ¿¸¦ ¼±ÅÃÇÏ¼¼¿ä");
			document.equip_select.maker.focus();
			return true;
		}
		str2=document.equip_select.pro.value;
		if (str2 == "")
		{
			alert("Á¦Ç°À» ¼±ÅÃÇÏ¼¼¿ä");
			document.equip_select.pro.focus();
			return true;
		}
		document.equip_select.submit();
	}
//*

//* ·Î±×ÀÎ½Ã ÀÔ·ÂÇß³ª ±¸ºÐ
function sendit()
{
	var str;
	str = document.login.MailId.value;
	if(str==""){
	alert("¾ÆÀÌµð¸¦ ±âÀÔÇØÁÖ½Ê½Ã¿ä");
	document.login.MailId.focus();
	return false;
	}
	str = document.login.password.value;
	if(str==""){
	alert("ºñ¹Ð¹øÈ£¸¦ ±âÀÔÇØÁÖ½Ê½Ã¿ä");
	document.login.password.focus();
	return false;
	}
	document.login.submit();
}
//*

//* È¸¿ø°¡ÀÔ½Ã Áßº¹Ã¼Å© ÆË¾÷Ã¢¶ç¿ì±â
	function check_id()
	{
		var uid, urlstr;
		uid=document.regist.id.value;
		if(uid==""){
			alert("¾ÆÀÌµð¸¦ ÀÔ·ÂÇÏ¼¼¿ä");
			document.regist.id.focus();
			return true;
		}
		urlstr="/main/member/check_id.asp?checkid=" +document.regist.id.value;
		window.open(urlstr,"","resizable=yes,x=100,y=10,width=430,height=164")
	}
//*

//* È¸¿ø°¡ÀÔÇÏ±â ³»¿ëÀ¯¹« check
	function send_regist()
	{
		var str;
		str = document.regist.id.value;
		if(str==""){
			alert("ID¸¦ ±âÀÔÇØÁÖ½Ê½Ã¿ä");
			document.regist.id.focus();
			return true;
		}
		if(str.length <4 || str.length>15){
			alert("ID´Â 4~15ÀÚ ÀÌ³»ÀÇ ¿µ¹®ÀÔ´Ï´Ù.");
			document.regist.id.focus();
			return true;
		}
		for(i=0;i<str.length;i++){
			if(str.charCodeAt(i)>12592){
				alert("ÇÑ±ÛID´Â ¾ÈµË´Ï´Ù. ´Ù½Ã ÀÔ·ÂÇØ ÁÖ¼¼¿ä.");
				document.regist.id.value="";
				document.regist.id.focus();
				return false;
				break;
			}
		}
		str = document.regist.pwd1.value;
		if(str==""){
			alert("Password¸¦ ±âÀÔÇØÁÖ½Ê½Ã¿À");
			document.regist.pwd1.focus();
			return true;
		}
		if(str.length <4 || str.length>8){
			alert("ºñ¹Ð¹øÈ£´Â 4~8ÀÚÀÔ´Ï´Ù.");
			document.regist.pwd1.focus();
			return true;
		}
		str = document.regist.pwd2.value;
		if(str==""){
			alert("È®ÀÎPassword¸¦ ±âÀÔÇØÁÖ½Ê½Ã¿ä");
			document.regist.pwd2.focus();
			return true;
		}
		if(document.regist.pwd1.value != document.regist.pwd2.value)
		{
			alert("ºñ¹Ð¹øÈ£°¡ ÀÏÄ¡ÇÏÁö ¾Ê½À´Ï´Ù");
			document.regist.pwd2.focus();
			return true;
		}
		str = document.regist.name.value;
		if(str==""){
			alert("¼ºÇÔÀ» ±âÀÔÇØÁÖ½Ê½Ã¿ä");
			document.regist.name.focus();
			return true;
		}
		str = document.regist.company.value;
		if(str==""){
			alert("»óÈ£¸¦ ±âÀÔÇØÁÖ½Ê½Ã¿ä");
			document.regist.company.focus();
			return true;
		}
		str = document.regist.email.value;
		if(str==""){
			alert("¸ÞÀÏÀ» ±âÀÔÇØÁÖ½Ê½Ã¿ä");
			document.regist.email.focus();
			return true;
		}
		str = document.regist.phone1.value;
		if(str==""){
			alert("¿¬¶ôÃ³¸¦ ±âÀÔÇØÁÖ½Ê½Ã¿ä");
			document.regist.phone1.focus();
			return true;
		}
		str = document.regist.phone2.value;
		if(str==""){
			alert("¿¬¶ôÃ³¸¦ ±âÀÔÇØÁÖ½Ê½Ã¿ä");
			document.regist.phone2.focus();
			return true;
		}
		str = document.regist.phone3.value;
		if(str==""){
			alert("¿¬¶ôÃ³¸¦ ±âÀÔÇØÁÖ½Ê½Ã¿ä");
			document.regist.phone3.focus();
			return true;
		}
		document.regist.submit();
		return true;
	}
//*

//* È¸¿ø¼öÁ¤ÇÏ±â ³»¿ëÀ¯¹« check
	function send_regist_mod()
		{
		var str;
		str = document.regist.pwd1.value;
		if(str==""){
			alert("Password¸¦ ±âÀÔÇØÁÖ½Ê½Ã¿À");
			document.regist.pwd1.focus();
			return true;
		}
		if(str.length <4 || str.length>8){
			alert("ºñ¹Ð¹øÈ£´Â 4~8ÀÚÀÔ´Ï´Ù.");
			document.regist.pwd1.focus();
			return true;
		}
		str = document.regist.pwd2.value;
		if(str==""){
			alert("È®ÀÎPassword¸¦ ±âÀÔÇØÁÖ½Ê½Ã¿ä");
			document.regist.pwd2.focus();
			return true;
		}
		if(document.regist.pwd1.value != document.regist.pwd2.value)
		{
			alert("ºñ¹Ð¹øÈ£°¡ ÀÏÄ¡ÇÏÁö ¾Ê½À´Ï´Ù");
			document.regist.pwd2.focus();
			return true;
		}
		str = document.regist.name.value;
		if(str==""){
			alert("¼ºÇÔÀ» ±âÀÔÇØÁÖ½Ê½Ã¿ä");
			document.regist.name.focus();
			return true;
		}
		str = document.regist.company.value;
		if(str==""){
			alert("»óÈ£¸¦ ±âÀÔÇØÁÖ½Ê½Ã¿ä");
			document.regist.company.focus();
			return true;
		}
		str = document.regist.phone1.value;
		if(str==""){
			alert("¿¬¶ôÃ³¸¦ ±âÀÔÇØÁÖ½Ê½Ã¿ä");
			document.regist.phone1.focus();
			return true;
		}
		str = document.regist.phone2.value;
		if(str==""){
			alert("¿¬¶ôÃ³¸¦ ±âÀÔÇØÁÖ½Ê½Ã¿ä");
			document.regist.phone2.focus();
			return true;
		}
		str = document.regist.phone3.value;
		if(str==""){
			alert("¿¬¶ôÃ³¸¦ ±âÀÔÇØÁÖ½Ê½Ã¿ä");
			document.regist.phone3.focus();
			return true;
		}
		str = document.regist.comment.value;
		if(str==""){
			alert("±âÅ¸»çÇ×À» ±âÀÔÇØÁÖ½Ê½Ã¿ä");
			document.regist.comment.focus();
			return true;
		}
		document.regist.submit();
		return true;
	}
//*

//* È¸¿ø°¡ÀÔ, µô·¯·Î check½Ã º¸ÀÌ´Â ÆË¾÷Ã¢
	function Open_Dealer_info(){
		document.regist.phone1.focus();
		window.open("/main/member/dealer_info.html","","resizable=yes,width=500,height=550");
		return true;
	}
//*

//* È¸¿øÅ»Åð½Ã confirm ÇÏ±â
	function confirm_out(){
		res=confirm("Á¤¸» Å»ÅðÇÏ½Ã°Ú½À´Ï±î?");
		if(res){
			location.href="/main/member/mem_del_ok.asp";
		}else return false;
	}
//*

//* ¾÷Ã¼µî·Ï»èÁ¦½Ã(prcompany_list.asp,prcompany_edit.asp, confirm ÇÏ±â)
	function confirm_del_prcompany(){
		var res,str;
		str = document.prcompany.pwd.value;
		if(str==""){
			alert("ºñ¹Ð¹øÈ£¸¦ ±âÀÔÇØÁÖ½Ê½Ã¿ä");
			document.prcompany.pwd.focus();
			return true;
		}
		res=confirm("Á¤¸» »èÁ¦ÇÏ½Ã°Ú½À´Ï±î?");
		if(res){
			document.prcompany.submit();
		}else return false;
	}
//*

//* °Ô½ÃÆÇ±Û»èÁ¦½Ã(del_ok.asp,list.asp confirm ÇÏ±â)
	function confirm_del_bd(id,dlocation){
		var res,id,dlocation;
		res=confirm("Á¤¸» »èÁ¦ÇÏ½Ã°Ú½À´Ï±î?");
		if(res){
			location.href="/boards/"+dlocation+"/del_ok.asp?idx="+id;
		}else return false;
	}
//*

//* °Ô½ÃÆÇ ÇÑÁÙ´ñ±Û »èÁ¦½Ã(confirm ÇÏ±â)
	function confirm_del_one_bd(org_id,id,dlocation){
		var res,org_id,id,dlocation;
		res=confirm("Á¤¸» »èÁ¦ÇÏ½Ã°Ú½À´Ï±î?");
		if(res){
			location.href="/main/equipment/1line_del_ok.asp?org_idx="+org_id+"&idx="+id+"&dlocation="+dlocation;
		}else return false;
	}
//*

//* ÀÌ¸ÞÀÏ°ü¸®¿¡¼­»èÁ¦½Ã (admin_email confirm ÇÏ±â)
	function confirm_del_mail(eid){
		var res,eid;
		res=confirm("Á¤¸» »èÁ¦ÇÏ½Ã°Ú½À´Ï±î?");
		if(res){
			location.href="/main/backoffice/admin_email_ok.asp?how=del&eid="+eid;
		}else return false;
	}
//*

//* È¸¿ø°¡ÀÔ¶õ¿¡ ±âº» value °ªµé º¸¿©ÁÖ°í ¾ø¾ÖÁÖ±â(Æ÷Ä¿½º¿¡µû¶ó)
	function clearField(field){
		if(field.value==field.defaultValue){field.value="";}
	}
	function checkField(field){
		if(field.value==""){field.value=field.defaultValue;}
	}
//*

//* °Ô½ÃÆÇ(¿Á¼Ç) ²¿¸´¸»½Ã ¼ýÀÚ¸¸ÀÎÁö È®ÀÎ ÈÄ confirm
function checkforms(form)
{
	t = form.line_comment.value ;
    for(i=0;i<t.length;i++) 
    if (t.charAt(i)<'0' || t.charAt(i)>'9'  ) {
        alert("¼ýÀÚ¸¸ ÀÔ·ÂÀÌ °¡´ÉÇÕ´Ï´Ù.") ;
        form.line_comment.value="";
        form.line_comment.focus() ;
        return false ;
    }
	var msg="ÀÔÂû¿¡ Âü°¡ÇÏ½Ã°Ú½À´Ï±î?"
    if(confirm(msg))
		form.submit();
	else
		return false;
}
//*	

//* ¸ÞÀÏ form Ã¼Å©ÇÏ±â
	function submail()
	{
		var str;
		str = document.mail.sender_name.value;
		if(str==""){
		alert("º¸³»½Ã´Â ºÐ ¼ºÇÔÀ» \n\n±âÀÔÇØÁÖ½Ê½Ã¿ä");
		document.mail.sender_name.focus();
		return true;
		}
		str = document.mail.sender_mail.value;
		if(str==""){
		alert("º¸³»½Ã´Â ºÐ ¸ÞÀÏÀ» \n\n±âÀÔÇØÁÖ½Ê½Ã¿ä");
		document.mail.sender_mail.focus();
		return true;
		}
		str = document.mail.title.value;
		if(str==""){
		alert("Á¦¸ñÀ» ±âÀÔÇØÁÖ½Ê½Ã¿ä");
		document.mail.title.focus();
		return true;
		}
		str = document.mail.comment.value;
		if(str==""){
		alert("³»¿ëÀ» ±âÀÔÇØÁÖ½Ê½Ã¿ä");
		document.mail.comment.focus();
		return true;
		}
		document.mail.submit();
		return true;
	}
//*

//* ¾÷Ã¼µî·Ï(prcompany_regist.asp) ³»¿ëÀ¯¹« check
	function prcompany_regist()
	{
		var str;
		str = document.prcompany.gubun.value;
		if(str==""){
			alert("¾÷Ã¼±¸ºÐÀ» ÇØÁÖ½Ê½Ã¿ä");
			document.prcompany.gubun.focus();
			return true;
		}
		str = document.prcompany.c_name.value;
		if(str==""){
			alert("¾÷Ã¼¸íÀ» ±âÀÔÇØÁÖ½Ê½Ã¿À");
			document.prcompany.c_name.focus();
			return true;
		}
		str = document.prcompany.phone1.value;
		if(str==""){
			alert("¿¬¶ôÃ³¸¦ ±âÀÔÇØÁÖ½Ê½Ã¿ä");
			document.prcompany.phone1.focus();
			return true;
		}
		str = document.prcompany.phone2.value;
		if(str==""){
			alert("¿¬¶ôÃ³¸¦ ±âÀÔÇØÁÖ½Ê½Ã¿ä");
			document.prcompany.phone2.focus();
			return true;
		}
		str = document.prcompany.phone3.value;
		if(str==""){
			alert("¿¬¶ôÃ³¸¦ ±âÀÔÇØÁÖ½Ê½Ã¿ä");
			document.prcompany.phone3.focus();
			return true;
		}
		str = document.prcompany.pwd.value;
		if(str==""){
			alert("ºñ¹Ð¹øÈ£¸¦ ±âÀÔÇØÁÖ½Ê½Ã¿ä");
			document.prcompany.pwd.focus();
			return true;
		}

		document.prcompany.submit();
		return true;
	}
//*

//* ¾÷Ã¼Á¤º¸(prcompany.asp¿¡¼­) ¼¿·ºÆ®¸Þ´º ´©¸£¸é ¹Ù·Î ÇØ´ç ¾÷Ã¼¸®½ºÆ®·Î ¹Ù²î´Â ÇÔ¼ö
	function company(formname) {
	var target=eval(self) 
	if (formname.value==""){
	// ¸Þ´º¸¦ ¼±ÅÃÇÏÁö¾Ê°í ¹öÆ° Å¬¸¯½Ã ÀÌº¥Æ®
	}
	else {
	target.location=formname.options[formname.selectedIndex].value;
	document.company_select.url.selectedIndex=0; // ÀÌµ¿ÇÑ ´ÙÀ½ Ç®´Ù¿î¸Þ´º ¼±ÅÃÇØÁ¦
	}
	}
//*

//* ¾÷Ã¼Á¤º¸ Ã£±â¿¡¼­ Ã£±â ¹öÆ°´­·¶À»½Ã Ã¼Å©
	function company_searchstr()
	{
		var str2;
		str2=document.company_search.search2.value;
		if (str2 == "")
		{
			alert("Ã£À¸½Ç ´Ü¾î¸¦ ÀÔ·ÂÇÏ¼¼¿ä");
			document.company_search.search2.focus();
			return true;
		}
		document.company_search.submit();
	}
//*

//* ¾÷Ã¼µî·Ï(prcompany_regist.asp) zipcode open
	function find_zipcode()
	{
		window.open("find_zipcode.asp","find_zipcode","scrollbars=yes,resizable=yes,x=150,y=300,width=430,height=250");		
	}
//*

//* ¸ÞÀÏ¸µ¸®½ºÆ®(want,sale,mailing)¸ÞÀÏÇüÅÂ ¹× Çà °¹¼ö 
	function first_mailing()
	{
			var str1;
			var str2;
			str1=document.mailing.mailtype.value;
			if(str1==""){
				alert("ÀÌ¸ÞÀÏÇüÅÂ¸¦ ¼±ÅÃÇÏ¼¼¿ä.");
				document.mailing.mailtype.focus();
				return true;
			}
			document.mailing.submit();
	}
//*

//* ¸ÞÀÏ¸µ¸®½ºÆ® ¸ÞÀÏ º¸³»±â
	function second_mailing()
	{
			var str1,str2,str3,str4,str5,str6,str,str8,str9,str10;
			str1=document.mailing_ok.US.value;
			str2=document.mailing_ok.NONUS.value;
			str3=document.mailing_ok.China.value;
			str4=document.mailing_ok.Japan.value;
			str5=document.mailing_ok.dealer.value;
			str6=document.mailing_ok.repair.value;
			str7=document.mailing_ok.rental.value;
			str8=document.mailing_ok.calib.value;
			str9=document.mailing_ok.manu.value;
			str10=document.mailing_ok.All.value;
			if(str1=="" && str2=="" && str3=="" && str4=="" && str5=="" && str6=="" && str7=="" && str8=="" && str9=="" && str10==""){
				alert("º¸³¾°÷À» ÇÑ°÷Àº ¼±ÅÃÇÏ¼Å¾ßÇÕ´Ï´Ù.");
				document.mailing_ok.US.focus();
				return true;
			}
			document.mailing_ok.submit();
	}
//*

//* °Ô½ÃÆÇ(¿Á¼Ç) ±Û¾²±â
	function auc_wsend()
	{
		var str;
		str = document.writeform.title.value;
		if(str==""){
		alert("Á¦¸ñÀ» ±âÀÔÇØÁÖ½Ê½Ã¿ä");
		document.writeform.title.focus();
		return true;
		}
		str = document.writeform.aucnum.value;
		if(str==""){
		alert("°æ¸Å¹øÈ£¸¦ ±âÀÔÇØÁÖ½Ê½Ã¿ä");
		document.writeform.aucnum.focus();
		return true;
		}
		str = document.writeform.maker.value;
		if(str==""){
		alert("¸ÞÀÌÄ¿¸¦ ±âÀÔÇØÁÖ½Ê½Ã¿ä");
		document.writeform.maker.focus();
		return true;
		}
		str = document.writeform.model.value;
		if(str==""){
		alert("¸ðµ¨¸¦ ±âÀÔÇØÁÖ½Ê½Ã¿ä");
		document.writeform.model.focus();
		return true;
		}
		str = document.writeform.start_p.value;
		if(str==""){
		alert("½ÃÀÛ°¡¸¦ ±âÀÔÇØÁÖ½Ê½Ã¿ä");
		document.writeform.start_p.focus();
		return true;
		}
		str = document.writeform.current_p.value;
		if(str==""){
		alert("ÇöÀç°¡¸¦ ±âÀÔÇØÁÖ½Ê½Ã¿ä");
		document.writeform.current_p.focus();
		return true;
		}
		str = document.writeform.step_p.value;
		if(str==""){
		alert("Bid½ºÅÜ¸¦ ±âÀÔÇØÁÖ½Ê½Ã¿ä");
		document.writeform.step_p.focus();
		return true;
		}
		str = document.writeform.endday.value;
		if(str==""){
		alert("Á¾·áÀÏÀ» ±âÀÔÇØÁÖ½Ê½Ã¿ä");
		document.writeform.endday.focus();
		return true;
		}
		str = document.writeform.content.value;
		if(str==""){
		alert("³»¿ëÀ» ±âÀÔÇØÁÖ½Ê½Ã¿ä");
		document.writeform.content.focus();
		return true;
		}
		document.writeform.submit();
		return true;
	}
//*

//* °Ô½ÃÆÇ(¿Á¼Ç) ±Û¼öÁ¤ÇÏ±â
	function auc_esend()
	{
		var str;
		str = document.editform.title.value;
		if(str==""){
		alert("Á¦¸ñÀ» ±âÀÔÇØÁÖ½Ê½Ã¿ä");
		document.editform.title.focus();
		return true;
		}
		str = document.editform.aucnum.value;
		if(str==""){
		alert("°æ¸Å¹øÈ£¸¦ ±âÀÔÇØÁÖ½Ê½Ã¿ä");
		document.editform.aucnum.focus();
		return true;
		}
		str = document.editform.maker.value;
		if(str==""){
		alert("¸ÞÀÌÄ¿¸¦ ±âÀÔÇØÁÖ½Ê½Ã¿ä");
		document.editform.maker.focus();
		return true;
		}
		str = document.editform.model.value;
		if(str==""){
		alert("¸ðµ¨¸¦ ±âÀÔÇØÁÖ½Ê½Ã¿ä");
		document.editform.model.focus();
		return true;
		}
		str = document.editform.start_p.value;
		if(str==""){
		alert("½ÃÀÛ°¡¸¦ ±âÀÔÇØÁÖ½Ê½Ã¿ä");
		document.editform.start_p.focus();
		return true;
		}
		str = document.editform.current_p.value;
		if(str==""){
		alert("ÇöÀç°¡¸¦ ±âÀÔÇØÁÖ½Ê½Ã¿ä");
		document.editform.current_p.focus();
		return true;
		}
		str = document.editform.step_p.value;
		if(str==""){
		alert("Bid½ºÅÜ¸¦ ±âÀÔÇØÁÖ½Ê½Ã¿ä");
		document.editform.step_p.focus();
		return true;
		}
		str = document.editform.endday.value;
		if(str==""){
		alert("Á¾·áÀÏÀ» ±âÀÔÇØÁÖ½Ê½Ã¿ä");
		document.editform.endday.focus();
		return true;
		}
		str = document.editform.content.value;
		if(str==""){
		alert("³»¿ëÀ» ±âÀÔÇØÁÖ½Ê½Ã¿ä");
		document.editform.content.focus();
		return true;
		}
		document.editform.submit();
		return true;
	}
//*

//* °Ô½ÃÆÇ ±Û¾²±â
	function wsend()
	{
		var str;
		str = document.writeform.title.value;
		if(str==""){
		alert("Á¦¸ñÀ» ±âÀÔÇØÁÖ½Ê½Ã¿ä");
		document.writeform.title.focus();
		return true;
		}
		str = document.writeform.name.value;
		if(str==""){
		alert("±Û¾´ÀÌÀ» ±âÀÔÇØÁÖ½Ê½Ã¿ä");
		document.writeform.name.focus();
		return true;
		}
		str = document.writeform.pwd.value;
		if(str==""){
		alert("ºñ¹Ð¹øÈ£¸¦ ±âÀÔÇØÁÖ½Ê½Ã¿ä");
		document.writeform.pwd.focus();
		return true;
		}
		str = document.writeform.email.value;
		if(str==""){
		alert("emailÀ» ±âÀÔÇØÁÖ½Ê½Ã¿ä");
		document.writeform.email.focus();
		return true;
		}
		str = document.writeform.content.value;
		if(str==""){
		alert("³»¿ëÀ» ±âÀÔÇØÁÖ½Ê½Ã¿ä");
		document.writeform.content.focus();
		return true;
		}
		document.writeform.submit();
		return true;
	}
//*

//* °Ô½ÃÆÇ(Á÷°Å·¡) ±Û¾²±â
	function wsend_direct()
	{
		var str;
		str = document.writeform.title.value;
		if(str==""){
		alert("Á¦¸ñÀ» ±âÀÔÇØÁÖ½Ê½Ã¿ä");
		document.writeform.title.focus();
		return true;
		}
		str = document.writeform.name.value;
		if(str==""){
		alert("±Û¾´ÀÌÀ» ±âÀÔÇØÁÖ½Ê½Ã¿ä");
		document.writeform.name.focus();
		return true;
		}
		str = document.writeform.pwd.value;
		if(str==""){
		alert("ºñ¹Ð¹øÈ£¸¦ ±âÀÔÇØÁÖ½Ê½Ã¿ä");
		document.writeform.pwd.focus();
		return true;
		}
		str = document.writeform.email.value;
		if(str==""){
		alert("emailÀ» ±âÀÔÇØÁÖ½Ê½Ã¿ä");
		document.writeform.email.focus();
		return true;
		}
		if(document.writeform.s_gubun.value=="")
		{
		alert("±Û±¸ºÐÀ» ÇØÁÖ½Ê½Ã¿ä");
		document.writeform.s_gubun.focus();
		return true;
		}
		str = document.writeform.content.value;
		if(str==""){
		alert("³»¿ëÀ» ±âÀÔÇØÁÖ½Ê½Ã¿ä");
		document.writeform.content.focus();
		return true;
		}
		document.writeform.submit();
		return true;
	}
//*

//* °Ô½ÃÆÇ(µô·¯Á÷°Å·¡) ±Û¾²±â
	function wsend_dealer()
	{
		var str;
		str = document.writeform.title.value;
		if(str==""){
		alert("Á¦¸ñÀ» ±âÀÔÇØÁÖ½Ê½Ã¿ä");
		document.writeform.title.focus();
		return true;
		}
		str = document.writeform.name.value;
		if(str==""){
		alert("±Û¾´ÀÌÀ» ±âÀÔÇØÁÖ½Ê½Ã¿ä");
		document.writeform.name.focus();
		return true;
		}
		str = document.writeform.pwd.value;
		if(str==""){
		alert("ºñ¹Ð¹øÈ£¸¦ ±âÀÔÇØÁÖ½Ê½Ã¿ä");
		document.writeform.pwd.focus();
		return true;
		}
		str = document.writeform.maker.value;
		if(str==""){
		alert("¸ÞÀÌÄ¿¸¦ ±âÀÔÇØÁÖ½Ê½Ã¿ä");
		document.writeform.maker.focus();
		return true;
		}
		str = document.writeform.model.value;
		if(str==""){
		alert("¸ðµ¨À» ±âÀÔÇØÁÖ½Ê½Ã¿ä");
		document.writeform.model.focus();
		return true;
		}
		str = document.writeform.price.value;
		if(str==""){
		alert("°¡°Ý¸¦ ±âÀÔÇØÁÖ½Ê½Ã¿ä");
		document.writeform.price.focus();
		return true;
		}
		str = document.writeform.email.value;
		if(str==""){
		alert("emailÀ» ±âÀÔÇØÁÖ½Ê½Ã¿ä");
		document.writeform.email.focus();
		return true;
		}
		str = document.writeform.s_gubun.value;
		if(str==""){
		alert("±Û±¸ºÐÀ» ÇØÁÖ½Ê½Ã¿ä");
		document.writeform.s_gubun.focus();
		return true;
		}
		str = document.writeform.content.value;
		if(str==""){
		alert("³»¿ëÀ» ±âÀÔÇØÁÖ½Ê½Ã¿ä");
		document.writeform.content.focus();
		return true;
		}
		document.writeform.submit();
		return true;
	}
//*

//* °Ô½ÃÆÇ ±Û ¼öÁ¤
	function editsend()
	{
		var str;
		str = document.editform.title.value;
		if(str==""){
		alert("Á¦¸ñÀ» ±âÀÔÇØÁÖ½Ê½Ã¿ä");
		document.editform.title.focus();
		return true;
		}
		str = document.editform.name.value;
		if(str==""){
		alert("±Û¾´ÀÌÀ» ±âÀÔÇØÁÖ½Ê½Ã¿ä");
		document.editform.name.focus();
		return true;
		}
		str = document.editform.pwd.value;
		if(str==""){
		alert("ºñ¹Ð¹øÈ£¸¦ ±âÀÔÇØÁÖ½Ê½Ã¿ä");
		document.editform.pwd.focus();
		return true;
		}
		str = document.editform.email.value;
		if(str==""){
		alert("emailÀ» ±âÀÔÇØÁÖ½Ê½Ã¿ä");
		document.editform.email.focus();
		return true;
		}
		str = document.editform.content.value;
		if(str==""){
		alert("³»¿ëÀ» ±âÀÔÇØÁÖ½Ê½Ã¿ä");
		document.editform.content.focus();
		return true;
		}
		document.editform.submit();
		return true;
	}
//*

//* °Ô½ÃÆÇ(Á÷°Å·¡) ±Û ¼öÁ¤
	function editsend_direct()
	{
		var str;
		str = document.editform.title.value;
		if(str==""){
		alert("Á¦¸ñÀ» ±âÀÔÇØÁÖ½Ê½Ã¿ä");
		document.editform.title.focus();
		return true;
		}
		str = document.editform.name.value;
		if(str==""){
		alert("±Û¾´ÀÌÀ» ±âÀÔÇØÁÖ½Ê½Ã¿ä");
		document.editform.name.focus();
		return true;
		}
		str = document.editform.pwd.value;
		if(str==""){
		alert("ºñ¹Ð¹øÈ£¸¦ ±âÀÔÇØÁÖ½Ê½Ã¿ä");
		document.editform.pwd.focus();
		return true;
		}
		str = document.editform.email.value;
		if(str==""){
		alert("emailÀ» ±âÀÔÇØÁÖ½Ê½Ã¿ä");
		document.editform.email.focus();
		return true;
		}
		str = document.editform.s_gubun.value;
		if(str==""){
		alert("±Û±¸ºÐÀ» ÇØÁÖ½Ê½Ã¿ä");
		document.editform.s_gubun.focus();
		return true;
		}
		str = document.editform.content.value;
		if(str==""){
		alert("³»¿ëÀ» ±âÀÔÇØÁÖ½Ê½Ã¿ä");
		document.editform.content.focus();
		return true;
		}
		document.editform.submit();
		return true;
	}
//*

//* °Ô½ÃÆÇ(µô·¯Á÷°Å·¡) ±Û ¼öÁ¤
	function editsend_dealer()
	{
		var str;
		str = document.editform.title.value;
		if(str==""){
		alert("Á¦¸ñÀ» ±âÀÔÇØÁÖ½Ê½Ã¿ä");
		document.editform.title.focus();
		return true;
		}
		str = document.editform.name.value;
		if(str==""){
		alert("±Û¾´ÀÌÀ» ±âÀÔÇØÁÖ½Ê½Ã¿ä");
		document.editform.name.focus();
		return true;
		}
		str = document.editform.pwd.value;
		if(str==""){
		alert("ºñ¹Ð¹øÈ£¸¦ ±âÀÔÇØÁÖ½Ê½Ã¿ä");
		document.editform.pwd.focus();
		return true;
		}
		str = document.editform.maker.value;
		if(str==""){
		alert("¸ÞÀÌÄ¿¸¦ ±âÀÔÇØÁÖ½Ê½Ã¿ä");
		document.editform.maker.focus();
		return true;
		}
		str = document.editform.model.value;
		if(str==""){
		alert("¸ðµ¨À» ±âÀÔÇØÁÖ½Ê½Ã¿ä");
		document.editform.model.focus();
		return true;
		}
		str = document.editform.price.value;
		if(str==""){
		alert("°¡°Ý¸¦ ±âÀÔÇØÁÖ½Ê½Ã¿ä");
		document.editform.price.focus();
		return true;
		}
		str = document.editform.email.value;
		if(str==""){
		alert("emailÀ» ±âÀÔÇØÁÖ½Ê½Ã¿ä");
		document.editform.email.focus();
		return true;
		}
		str = document.editform.s_gubun.value;
		if(str==""){
		alert("±Û±¸ºÐÀ» ÇØÁÖ½Ê½Ã¿ä");
		document.editform.s_gubun.focus();
		return true;
		}
		str = document.editform.content.value;
		if(str==""){
		alert("³»¿ëÀ» ±âÀÔÇØÁÖ½Ê½Ã¿ä");
		document.editform.content.focus();
		return true;
		}
		document.editform.submit();
		return true;
	}
//*

//* ¿Á¼Ç°Ô½ÃÆÇ ±Û »èÁ¦
	function send_del_auc()
	{
		res=confirm("Á¤¸» »èÁ¦ÇÏ½Ã°Ú½À´Ï±î?");
		if(res){
			document.del_bd.submit();
		}else return false;
	}
//*

//* °Ô½ÃÆÇ ±Û »èÁ¦
	function send_del()
	{
		var str;
		str = document.del_bd.pwd.value;
		if(str==""){
		alert("ºñ¹Ð¹øÈ£¸¦ ±âÀÔÇØÁÖ½Ê½Ã¿ä");
		document.del_bd.pwd.focus();
		return true;
		}
		document.del_bd.submit();
		return true;
	}
//*

//* °Ô½ÃÆÇ ´ä±Û´Þ½Ã hidden type °ª º¸³»±â
	function send_re()
	{
		document.hidd.submit();
	}
//*

//* °Ô½ÃÆÇ ±ÛÃ£±â
	function searchstr_bd()
	{
		var str2;
		str2=document.search_bd.search2.value;
		if (str2 == "")
		{
			alert("Ã£À¸½Ç ´Ü¾î¸¦ ÀÔ·ÂÇÏ¼¼¿ä");
			document.search_bd.search2.focus();
			return true;
		}
		document.search_bd.submit();
	}
//*

