// JavaScript Document

//¸ÞÀÎ¹× ±âÅ¸
function main() { location.href = "../index.asp" }
function sitemap() { location.href = "/sitemap/01sitemap.asp" }
function health01() { location.href = "/etc/01health.asp" }
function info01() { location.href = "/etc/02info.asp" }

//¸â¹ö½±
function member01() { location.href = "../member/01login.asp" }
function member02() { location.href = "../member/03find_id.asp" }
function member03() { location.href = "../member/03find_pw.asp" }
function member04() { location.href = "../member/login.asp" }
function member05() { location.href = "../member/02join.asp" }
function member06() { location.href = "../member/04mymodify.asp" }
function member07() { location.href = "../member/05break.asp" }
function member08() { location.href = "../member/06mypage.asp" }



//»ç¶û¹æ
function love01() { location.href = "/love/01love.asp" } //ÀÌ¾ß±â¹æ
function love02() { location.href = "/love/02love.asp" } // Çà»ç¹æ
function love03() { location.href = "/love/03love.asp" } // ¼Ò½Ä¹æ 
function love04() { location.href = "/love/04love.asp" } // Á¤º¸¹æ 
//function love01() { location.href = "/love/01event.asp" } //Çà»çÁ¤º¸Á¦°ø
//function love02() { location.href = "/love/02news.asp" } //»õ¼Ò½Ä
//function love03() { location.href = "/love/03notice.asp" } //°øÁö»çÇ×
//function love04() { location.href = "/love/04buying.asp" } //Áß°íÇ°»ð´Ï´Ù
//function love05() { location.href = "/love/05selling.asp" } //Áß°íÇ°ÆË´Ï´Ù

//Áß°íÇ°¸Å¸Å
function used01() { location.href = "/used/01deal.asp" } //Áß°íÇ°»ð´Ï´Ù/ÆË´Ï´Ù

//°í°´Áö¿ø
function customer00() { location.href = "/customer/01service_front.asp" } //°í°´Áö¿ø
function customer00_1() { location.href = "/customer/01service_front.asp" } //°í°´Áö¿ø
function customer01() { location.href = "/customer/01service.asp" } //Á¦Ç°a/s¼­ºñ½º½ÅÃ»
function customer02() { location.href = "/customer/02buying.asp" } //Á¦Ç°±¸¸Å½ÅÃ»
function customer03() { location.href = "/customer/03counsel.asp" } //Á¦Ç°»ó´ã½ÅÃ»
function customer04() { location.href = "/customer/04officer.asp" } //´ç´ãÀÚ¿¬¶ôÃ³
function customer05() { location.href = "/customer/05faq.asp" } //FAQ
function customer06() { location.href = "/customer/06qaa.asp" } //Q&A

function customer07() {
	//location.href = "/customer/07explain.asp" 	
	if(window.clientInformation.userAgent.indexOf('SV1')<0){
		//window.opener = window.location.href; 
		//setTimeout('window.resizeTo(1024,768);self.close()', 200);
		//ebook_start();
		openWin = show();
	}else{
		openWin = show();
		//window.opener = window.location.href;
		//setTimeout('window.resizeTo(1024,768);self.close()', 200);
	}
} //Á¦Ç°»ç¿ë¼³¸í¼­
function customer08() { location.href = "/customer/08store.asp" } //Àü±¹´ë¸®Á¡¾È³»
function customer09() { location.href = "/customer/09preview.asp" } //a/sÃ³¸®ÇöÈ²º¸±â
function customer10() { location.href = "/customer/10customer.asp" } //A/SÄªÂù»ç·Ê 
function customer11() { location.href = "/customer/11customer.asp" } //°í°´Á¦¾È ¹× ºÒÆí»çÇ× 
function customer12() { location.href = "/customer/12customer.asp" } // Á¦Ç°»ç¿ëÈÄ±â

//Á¦Ç°Á¤º¸
function product01() { location.href = "/product/01product.asp?gkind=1" } //³ªµå¸®µð·°½º
function product02() { location.href = "/product/01product.asp?gkind=2" } //³ªµå¸®½ºÅÄ´Ùµå
function product03() { location.href = "/product/01product.asp?gkind=3" } //³ªµå¸®½º¸¶Æ®
function product04() { location.href = "/product/01product.asp?gkind=4" } //Å¾ÆÛ
function product05() { location.href = "/product/01product.asp?gkind=5" } //¹öµð
function product06() { location.href = "/product/01product.asp?gkind=6" } //ÄÉ¾î¶óÀÎ(Àüµ¿ÈÔÃ¼¾î)
function product07() { location.href = "/product/01product.asp?gkind=7" } //¸¶ÆÛ
function product08() { location.href = "/product/01product.asp?gkind=8" } //¼îÇÎÄ«
function product09() { location.href = "/product/01product.asp?gkind=9" } //º£½ºÄÉ¾î
function product10() {
	//location.href = "/customer/07explain.asp" 	
	if(window.clientInformation.userAgent.indexOf('SV1')<0){
		//window.opener = window.location.href; 
		//setTimeout('window.resizeTo(1024,768);self.close()', 200);
		//ebook_start();
		openWin = show();
	}else{
		openWin = show();
		//window.opener = window.location.href;
		//setTimeout('window.resizeTo(1024,768);self.close()', 200);
	}
} //ÀÌ-Ä«´Þ·Î±×


//È¸»ç¼Ò°³
function company01() { location.href = "/company/01company.asp" } //È¸»ç°³¿ä
function company02() { location.href = "/company/02principle.asp" } //°æ¿µÀÌ³ä
function company03() { location.href = "/company/03confirm.asp" } //ÀÎÁõÇöÈ²
function company04() { location.href = "/company/04permit.asp" } //Æ¯ÇãÇöÈ²
function company05() { location.href = "/company/05map.asp" } //¿À½Ã´Â±æ



//E-Book°ü·Ã¼Ò½º
var startDir="ebook";
function ebook_start()
{
	var opened_window;
	var newWindow = window.open("","ebook","left=0 top=0 width=100 height=100");
	newWindow.close();
	if(screen.width==objWidth[0] && screen.height==objHeight[0])
	{
		openedWindow = window.open(startDir+"/VIEW.HTM"+location.search,"ebook","fullscreen");
	}
	else
	{
		left1=(screen.availWidth-1024-5)/2;
		top1=(screen.availHeight-768-10)/2;

		openedWindow = window.open(startDir+"/VIEW.HTM"+location.search,"ebook","alwaysRased=yes toolbar=no location=no directories=no status=no menubar=no scrollbars=no resizable=no width=1034 height=783 top="+top1+" left="+left1);
	}
	
	openedWindow.focus();
	
}

function show()
{ 
		url = window.location.href;
		var inx = url.lastIndexOf('.');
		url = url.substring(0,inx) +'/VIEW.HTM'+location.search;
		url = "/eBook/VIEW.HTM";
		newWin = window.open(url,'','toolbar=no location=no directories=no status=no menubar=no scrollbars=no resizable=no width=1024 height=768 top=0 left=0');
		newWin.moveTo(0,0);
		left1=(screen.availWidth-1024-5)/2;
		top1=(screen.availHeight-768-10)/2;
		newWin.resizeTo(1024,812);
		newWin.moveTo(left1,top1);
		//window.opener = window.location.href;
		//setTimeout('self.close()', 200);
		return newWin;
}
