<!--//
/*
1) A Type : FAQ³»¿ëº¸±â
<a href="/help/faq/faq_qa.asp?Code=G02001"> ¶Ç´Â <a href="faq_qa.asp?Code=G02001">
	--> <a href="javascript:HelpPop('A', 'G02001');">

2) B Type : ¸ÞÀÏº¸³»±â
<a href="/help/mail/mail_codelist.asp"> ¶Ç´Â <a href="mail_codelist.asp">
	--> <a href="javascript:HelpPop('B', '');">

3) C Type : FAQ¸®½ºÆ®º¸±â
<a href="/help/faq/faq_coderesult.asp?code=E08"> ¶Ç´Â <a href="faq_coderesult.asp?code=E08">
	--> <a href="javascript:HelpPop('C', 'E08');">

4) D Type : FAQ¸ÞÀÏÁ¢¼öÈ­¸é
<a href="/help/mail/mail.asp?code=J06007"> ¶Ç´Â <a href="mail.asp?code=J06007">
	--> <a href="javascript:HelpPop('D', 'J06007');">

5) E Type : HELP¸ÞÀÎÈ­¸é

6) F Type : FAQ¸ÞÀÎÈ­¸é
<a href="/help/faq/index.html"> ¶Ç´Â <a href="index.html">
	--> <a href="javascript:HelpPop('F', '');">

7) H Type : Help °ü·Ã¹ý±Ô ³»¿ëº¸±â È­¸é 2003-06-24 ¹æ¿íÀç Ãß°¡
<a href="http://www3.auction.co.kr/help/guide/helpbody_content.asp?HCode=50403">
	--> <a href="javascript:HelpPop('H','50403');">
	
8) K Type : ¾ÈÀü°Å·¡ °¡ÀÌHelp °ü·Ã¹ý±Ô ³»¿ëº¸±â È­¸é 2006-09-26 ÀÌÁ¾¿ì Ãß°¡
<a href="http://www.auction.co.kr/securitycenter/popup/pop_security.asp?code=C0320">
*/	
function HelpPop(type, param){
	if (type == "A") {
		window.open('http://www.auction.co.kr/help/guide/faq_main.asp?cu=' + location.href + '&bodypage=faqbody_content.asp?FCode='+param,'help','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=no,resizable=Yes,copyhistory=0,width=483,height=544, left=120,top=150').focus();
	}
	else if (type == "B") {
		window.open('http://www.auction.co.kr/help/guide/mail_main.asp?cu=' + location.href + '&bodypage=faqbody_mail_codelist.asp?cu=' + location.href,'help','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=no,resizable=Yes,copyhistory=0,width=483,height=544, left=120,top=150').focus();
	}
	else if (type == "C") {
		window.open('http://www.auction.co.kr/help/guide/faq_main.asp?cu=' + location.href + '&bodypage=faqbody_codelist.asp?FCode='+param,'help','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=no,resizable=Yes,copyhistory=0,width=483,height=544, left=120,top=150').focus();
	}
	else if (type == "D") {
		window.open('http://www.auction.co.kr/help/guide/mail_main.asp?cu=' + location.href + '&bodypage=faqbody_mail.asp?Code='+param,'help','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=no,resizable=Yes,copyhistory=0,width=483,height=544, left=120,top=150').focus();
	}
	else if (type == "E") {
		window.open('http://www.auction.co.kr/help/guide/help_main.asp?cu=' + location.href,'help','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=no,resizable=Yes,copyhistory=0,width=483,height=544, left=120,top=150').focus();
	}
	else if (type == "F") {
		window.open('http://www.auction.co.kr/help/guide/faq_main.asp?cu=' + location.href + '&bodypage=faqbody_main.asp?cu=' + location.href,'help','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=no,resizable=Yes,copyhistory=0,width=483,height=544, left=120,top=150').focus();
	}
	else if (type == "H") {
		window.open('http://www.auction.co.kr/help/guide/help_main.asp?cu=' + location.href + '&bodypage=helpbody_content.asp?HCode='+param,'help','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=no,resizable=Yes,copyhistory=0,width=483,height=544, left=120,top=150').focus();
	}
	else if (type == "S") {
		window.open('http://www.auction.co.kr/help/guide/help_main.asp?cu=' + location.href + '&bodypage=/help/guide/guidebody_search.asp?searchword='+param,'help','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=no,resizable=Yes,copyhistory=0,width=483,height=544, left=120,top=150').focus();
	}
	else if (type == "Z") {
		window.open('http://www.auction.co.kr/help/guide/faq_main.asp?cu=' + location.href + '&bodypage=faqbody_content.asp?FCode='+param,'help','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=no,resizable=Yes,copyhistory=0,width=483,height=544, left=120,top=150').focus();
	}
	else if (type == "K") {
		window.open('http://www.auction.co.kr/securitycenter/popup/pop_security.asp?code='+param,'help','width=567,height=548,status=no,resizable=no,scrollbars=no').focus();
	}
};

function MailMove(param)
{
	try
	{
		
		var s=parent.opener;
		
		if(s==null)
		{
		
			if(document.all['userid'].value=='')
				window.open('http://www.auction.co.kr/login/?SELLER=AUCTION_HELP&helpmain=1&url=http://member.auction.co.kr/help/mailcheck.aspx?mailcode='+param,'','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=no,resizable=Yes,copyhistory=0,width=483,height=573,left=100,top=0').focus();
			else
				parent.document.location.href='./mail.aspx?mailcode='+param;
				
		}
		else
		{
		
		
			if(document.all['userid'].value=='')
				window.open('http://www.auction.co.kr/login/?SELLER=AUCTION_HELP&helpmain=1&url=http://member.auction.co.kr/help/mailcheck.aspx?popupcheck=1&mailcode='+param,'','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=no,resizable=Yes,copyhistory=0,width=483,height=573,left=100,top=0').focus();
			else
				window.open('./mail.aspx?mailcode=' + param);
		}
	}
	catch(e)
	{
		if(document.all['userid'].value=='')
			window.open('http://www.auction.co.kr/login/?SELLER=AUCTION_HELP&helpmain=1&url=http://member.auction.co.kr/help/mailcheck.aspx?popupcheck=1&mailcode='+param,'','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=no,resizable=Yes,copyhistory=0,width=483,height=573,left=100,top=0').focus();
		else
			parent.document.location.href='./mail.aspx?mailcode='+param;
	} 
}

function helChat(param)
{

}

function mailOpen(param)
{
	try
	{
	
		var s=parent.opener;
		if(s==null)
		{
			if(document.all['userid'].value=='')
				window.open('http://www.auction.co.kr/login/?SELLER=AUCTION_HELP&helpmain=1&url=http://member.auction.co.kr/help/mailcheck.aspx?mailcode='+param,'','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=no,resizable=Yes,copyhistory=0,width=483,height=573,left=100,top=0').focus();
			else
				s.document.location.href='./mail.aspx?mailcode='+param;
		}
		else
		{
			if(document.all['userid'].value=='')
				window.open('http://www.auction.co.kr/login/?SELLER=AUCTION_HELP&helpmain=1&url=http://member.auction.co.kr/help/mailcheck.aspx?popupcheck=1&mailcode='+param,'','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=no,resizable=Yes,copyhistory=0,width=483,height=573,left=100,top=0').focus();
			else
				window.open('./mail.aspx?mailcode=' + param);
		}
	}
	catch(e)
	{
		if(document.all['userid'].value=='')
			window.open('http://www.auction.co.kr/login/?SELLER=AUCTION_HELP&helpmain=1&url=http://member.auction.co.kr/help/mailcheck.aspx?popupcheck=1&mailcode='+param,'','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=no,resizable=Yes,copyhistory=0,width=483,height=573,left=100,top=0').focus();
		else
			window.open('./mail.aspx?mailcode=' + param);
	}
}
function inlinelink(param)
{
	try
	{
		var t=param.substr(0,1).toUpperCase();
		t=parseInt(t);
		if(t*10>9)
		{
			if(t==4)
				document.location.href='./dictionarycontent.aspx?helpcode='+param;
			else
				document.location.href='./helpcontent.aspx?helpcode='+param;
		}
		else
		{
			document.location.href='./Content.aspx?code='+param;
		}
	}
	catch(e)
	{
		
	}

	//document.location.href=
}
function newHelpPop(param)
{
	//
	window.open('http://member.auction.co.kr/help/InLineHelp.aspx?newhelpcode=1&code=' + param,'help','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=no,resizable=Yes,copyhistory=0,width=713,height=524, left=120,top=160').focus();
}
function newHelpPopAnchor(param,param2)
{
	//
	window.open('http://member.auction.co.kr/help/InLineHelp.aspx?newhelpcode=1&code=' + param +'&Anchor='+param2,'help','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=no,resizable=Yes,copyhistory=0,width=713,height=524, left=120,top=160').focus();
}

function mail119Open(itemno, option)
{
	window.open('http://member.auction.co.kr/help/Mailcheck.aspx?itemno='+itemno+'&mail119=1&option=' + option , '119','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=no,resizable=Yes,copyhistory=0,width=713,height=524, left=120,top=160').focus();
}

function SearchPopup()
{
	window.open ('"http://search.auction.co.kr/search/search_popup.html','search_popup','status=no,resizable=no,width=490,height=630');
}
 
function HelpPop_Home(type, param, param2){
	if (type == "A") {
		window.open('http://www.auction.co.kr/help/guide/faq_main.asp?cu=' + location.href + '&bodypage=faqbody_content.asp?FCode='+param+'&'+param2,'help','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=no,resizable=Yes,copyhistory=0,width=483,height=544, left=120,top=160').focus();
	}
	else if (type == "B") {
		window.open('http://www.auction.co.kr/help/guide/mail_main.asp?cu=' + location.href + '&bodypage=faqbody_mail_codelist.asp?cu=' + location.href+'?'+param2,'help','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=no,resizable=Yes,copyhistory=0,width=483,height=544, left=120,top=160').focus();
	}
	else if (type == "C") {
		window.open('http://www.auction.co.kr/help/guide/faq_main.asp?cu=' + location.href + '&bodypage=faqbody_codelist.asp?FCode='+param+'&'+param2,'help','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=no,resizable=Yes,copyhistory=0,width=483,height=544, left=120,top=160').focus();
	}
	else if (type == "D") {
		window.open('http://www.auction.co.kr/help/guide/mail_main.asp?cu=' + location.href + '&bodypage=faqbody_mail.asp?Code='+param+'&'+param2,'help','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=no,resizable=Yes,copyhistory=0,width=483,height=544, left=120,top=160').focus();
	}
	else if (type == "E") {
		window.open('http://www.auction.co.kr/help/guide/help_main.asp?cu=' + location.href+'?'+param2,'help','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=no,resizable=Yes,copyhistory=0,width=483,height=544, left=120,top=150').focus();
	}
	else if (type == "F") {
		window.open('http://www.auction.co.kr/help/guide/faq_main.asp?cu=' + location.href + '&bodypage=faqbody_main.asp?cu=' + location.href+'?'+param2,'help','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=no,resizable=Yes,copyhistory=0,width=483,height=544, left=120,top=150').focus();
	}
	else if (type == "G") {
		window.open('http://www.auction.co.kr/help/guide/guide_main.asp?cu=' + location.href + '&bodypage=guidebody_main.asp?cu=' + location.href+'?'+param2,'help','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=no,resizable=Yes,copyhistory=0,width=483,height=544, left=120,top=150').focus();
	}
	else if (type == "H") {
		window.open('http://www.auction.co.kr/help/guide/help_main.asp?cu=' + location.href + '&bodypage=helpbody_content.asp?HCode='+param+'&'+param2,'help','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=no,resizable=Yes,copyhistory=0,width=483,height=544, left=120,top=150').focus();
	}
	else if (type == "S") {
		window.open('http://www.auction.co.kr/help/guide/help_main.asp?cu=' + location.href + '&bodypage=/help/guide/guidebody_search.asp?searchword='+param+'&'+param2,'help','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=no,resizable=Yes,copyhistory=0,width=483,height=544, left=120,top=150').focus();
	}
	else if (type == "Z") {
		window.open('http://www.auction.co.kr/help/guide/faq_main.asp?cu=' + location.href + '&bodypage=faqbody_content.asp?FCode='+param+'&'+param2,'help','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=no,resizable=Yes,copyhistory=0,width=483,height=544, left=120,top=150').focus();
	}
};

/* 
   Learning Center Tour »õÃ¢À» È­¸é Áß°£¿¡ ¶ç¿ì´Â ÇÔ¼ö 
   Ã¢ Å©±â´Â ¿Àµð¿À Åõ¾î¿Í Ã¼ÇèÀº 804*545, ¾Ö´Ï¸ÞÀÌ¼ÇÀº 616*472
   850/640
*/

var adwinW = 850;
var adwinH = 640;

var winW = 804;
var winH = 545;
var winW2 = 616;
var winH2 = 472;
var winW3 = 616;
var winH3 = 440;
var leftpos = "";
var toppos = "";

function goCenter()
{ 
	var height = screen.height; 
	var width = screen.width; 

	leftpos = width / 2 - winW / 2; 
	toppos = height / 2 - winH / 2; 
}

function goCenter2()
{ 
	var height = screen.height; 
	var width = screen.width; 

	leftpos = width / 2 - winW2 / 2; 
	toppos = height / 2 - winH2 / 2; 
}

function goCenter3()
{ 
	var height = screen.height; 
	var width = screen.width; 

	leftpos = width / 2 - winW3 / 2; 
	toppos = height / 2 - winH3 / 2; 
}
//Help contents³»¿¡¼­ °æ¸Å¹øÈ£µî·Ï±â´ÉÀ» ºÎ¿©ÇÏ±â À§ÇØ..2004.07.29 ITÆÀ ¹Ú¼º±Ô
function GoItemnoRegisterKeyDown()
{
	// enter key ´©¸¦ °æ¿ì 
	if (event.keyCode == 13){
			if (document.ItemnoRegister.itemno.value=="") {
				alert("°Ë»öÇÒ ¹°Ç°¿¡ ´ëÇÑ °æ¸Å¹øÈ£¸¦ ÀÔ·ÂÇÏ¼¼¿ä.");

				document.ItemnoRegister.itemno.focus();
			}
			else if(document.ItemnoRegister.itemno.value.length != 10){
				alert("°Ë»öÇÒ ¹°Ç°¿¡ ´ëÇÑ °æ¸Å¹øÈ£´Â 10ÀÚ¸® ÀÔ´Ï´Ù.");

				document.ItemnoRegister.itemno.focus();
			}
			else if(document.ItemnoRegister.itemno.value.length == 10){
				document.ItemnoRegister.action="http://search.auction.co.kr/search/ItemnoRegister.asp?itemno=" + document.ItemnoRegister.itemno.value;
				document.ItemnoRegister.submit() ;
			}
			return false;
	}
}

function GoItemnoRegister(strSearch)
{
	if (strSearch=="") {
	alert("°Ë»öÇÒ ¹°Ç°¿¡ ´ëÇÑ °æ¸Å¹øÈ£¸¦ ÀÔ·ÂÇÏ¼¼¿ä.");

				strSearch.focus();
				return ;
			}
			else if(strSearch.value.length != 10){
				alert("°Ë»öÇÒ ¹°Ç°¿¡ ´ëÇÑ °æ¸Å¹øÈ£´Â 10ÀÚ¸® ÀÔ´Ï´Ù.");

				strSearch.focus();
				return ;	
			}
			else if(strSearch.value.length == 10){
				document.location.href = "http://search.auction.co.kr/search/ItemnoRegister.asp?itemno=" + strSearch.value;
			}
			return ;
}

function _RealNamePopup(BankInfoExistYN, From, OrderNo) 
{
	popWindow =  window.open('http://escrow.auction.co.kr/MyAccount/AcctList.aspx?RmCode=' + From + '&order_no=' + OrderNo,'popup', 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no, resizable=no,copyhistory=no ,width=460, height= 450, left=500,top=0').focus();
}

function _AdTourOpen(theURL, winName, code)
{
  goCenter();
  theURL = theURL.toLowerCase(); 
  window.open('http://www.auction.co.kr/common/through.asp?cc=AA70&next=/education/AudioTour/adtour_count.asp?Code=' + code + '&Path=' + theURL + '&cu=' + location.href ,winName,'width='+ adwinW +',height='+ adwinH +',left=' + leftpos + ',top=' + toppos+'');
}

function _AniOpen(theURL, winName, code)
{
  goCenter2(); 
  theURL = theURL.toLowerCase(); 
  window.open('http://www.auction.co.kr/common/through.asp?cc=AA70&next=/education/AudioTour/adtour_count.asp?Code=' + code + '&Path=' + theURL + '&cu=' + location.href ,winName,'width='+ winW2 +',height='+ winH2 +',left=' + leftpos + ',top=' + toppos+'');
}

function _AniOpen01(theURL, winName, code)
{
  goCenter3(); 
  theURL = theURL.toLowerCase(); 
  window.open('http://www.auction.co.kr/common/through.asp?cc=AA70&next=/education/AudioTour/adtour_count.asp?Code=' + code + '&Path=' + theURL + '&cu=' + location.href ,winName,'width='+ winW3 +',height='+ winH3 +',left=' + leftpos + ',top=' + toppos+'');
}
-->