function java_link(type,folder)
{

/* ³óÀå¼Ò°³ ------------------------------------------------------------------------------- */
	if(type==10)

	 self.location.href="/" + folder + "/Intro/intro.asp?pCode=1000";/* ÀÎ»ç¸» */

	if(type==11)

	 self.location.href="/" + folder + "/Intro/farmer.asp?pCode=2000";/* »ý»êÀÚ */

	if(type==12)

	 self.location.href="/" + folder + "/Intro/farm.asp?pCode=3000";/* ³óÀå¼Ò°³ */

	if(type==13)

	 self.location.href="/" + folder + "/Intro/region.asp?pCode=4000";/* Áö¿ª¼Ò°³ */

	if(type==14)

	 self.location.href="/" + folder + "/Intro/auth.asp?pCode=5000";/* ÀÎÁõ¼­ */

	if(type==15)

	 self.location.href="/" + folder + "/Intro/map.asp?pCode=6000";/* ¿À½Ã´Â±æ */


/* »óÇ°¼Ò°³ ------------------------------------------------------------------------------- */
	if(type==20)

	 self.location.href="/" + folder + "/Product/spec.asp?pCode=1000"; /* »óÇ°Æ¯Â¡ */

	if(type==21)

	 self.location.href="/" + folder + "/Product/process.asp?pCode=2000"; /* Àç¹è°úÁ¤ */

	if(type==22)

	 self.location.href="/" + folder + "/Product/tech.asp?pCode=3000"; /* Àç¹è³ó¹ý */

	if(type==23)

	 self.location.href="/" + folder + "/Product/order.asp?pCode=4000&ID=" + folder + "_order"; /* ÁÖ¹®ÇÏ±â */

	if(type==24)

	 self.location.href="/" + folder + "/Product/order.asp?pCode=4000&ID=" + folder + "_order&dwCheck=2"; /* ÁÖ¹®ÇÏ±â°Ô½ÃÆÇ */


/* °¶·¯¸® ------------------------------------------------------------------------------- */
	if(type==30)

	 self.location.href="/" + folder + "/Gallery/photo.asp?pCode=1000&ID=" + folder + "_photo"; /* Æ÷Åä°¶·¯¸® */

	if(type==31)

	 self.location.href="/" + folder + "/Gallery/movie.asp?pCode=2000&ID=" + folder + "_Movie"; /* Æ÷Åä°¶·¯¸® */

	if(type==32)

	 self.location.href="/" + folder + "/Gallery/bodo.asp?pCode=3000&ID=" + folder + "_bodo"; /* Æ÷Åä°¶·¯¸® */


/* °Ô½ÃÆÇ ------------------------------------------------------------------------------- */
	if(type==40)

	 self.location.href="/" + folder + "/Board/notice.asp?pCode=1000&ID=" + folder + "_notice"; /* °øÁö»çÇ× */

	if(type==41)

	 self.location.href="/" + folder + "/Board/free.asp?pCode=2000&ID=" + folder + "_free"; /* ÀÚÀ¯°Ô½ÃÆÇ */

	if(type==42)

	 self.location.href="/" + folder + "/Board/qna.asp?pCode=3000&ID=" + folder + "_qna"; /* QnA */

	if(type==43)

	 self.location.href="/" + folder + "/Board/diary.asp?pCode=4000&ID=" + folder + "_diary"; /* °¶·¯¸® */

	if(type==44)

	 self.location.href="/" + folder + "/Board/integration.asp?pCode=5000&ID=" + folder + "_diary&BoardId=1_7_8"; /* ³ó°¡ÅëÇÕ°øÁö */


/* ³ó»ê¹°ÀÌ¾ß±â ------------------------------------------------------------------------------- */
	if(type==50)

	 self.location.href="/" + folder + "/Story/story.asp?pCode=1000&ID=" + folder + "_story"; /* È¸¿ø°¡ÀÔ */


/* »çÀÌÆ®¸Ê------------------------------------------------------------------------------- */
	if(type==60)

	 self.location.href="/" + folder + "/Sitemap/sitemap.asp?pCode=1000";	/*»çÀÌÆ®¸Ê*/


	if(type==80)
	
//	 self.location.href="mms://".window.location.host+"/_CFmovie/"+ folder +".wmv"
	 self.location.href="mms://"+window.location.host+"/_CFmovie/"+ folder +".wmv"
	if(type==99)

	 self.location.href="/" + folder + "/index.asp";




	if(type == 70 || type == 62) {
		if(folder == "Duksin" || folder == "duksin"){
				self.location.href="mailto:apple042001@yahoo.com";
		}
		else if(folder == "Yunrigi" || folder == "yunrigi"){
				self.location.href="mailto:lys9010@hanmail.net";
		}
		else if(folder == "Engol" || folder == "engol"){
				self.location.href="mailto:ghtlsgml@hanmail.net";
		}
		else if(folder == "Sanmaru" || folder == "sanmaru"){
				self.location.href="mailto:csbark101@naver.com";
		}
		else if(folder == "Gwangil" || folder == "gwangil"){
				self.location.href="mailto:kyoun2000@cb21.net";
		}
		else if(folder == "Riel" || folder == "riel"){
				self.location.href="mailto:rieul@naver.com";
		}
		else if(folder == "Jinyongsam" || folder == "Jinyongsam"){
				self.location.href="mailto:db4343@hanmail.net";
		}
		else if(folder == "Saesong" || folder == "saesong"){
				self.location.href="mailto:rhi0207@yahoo.co.kr";
		}
		else if(folder == "Itergol" || folder == "itergol"){
				self.location.href="mailto:rlaalstho43@hanmail.net";
		}
		else if(folder == "Sujin" || folder == "sujin"){
				self.location.href="mailto:01698714823@hanmail.net";
		}
		else if(folder == "Pungyun" || folder == "pungyun"){
				self.location.href="mailto:rlagpsus@nate.com";
		}
		else if(folder == "CPgugija" || folder == "cpgugija"){
				self.location.href="mailto:csbark101@naver.com";
		}
		else {
			alert("ÀÌ¸ÞÀÏÀÌ ¾ø½À´Ï´Ù.");
		}
	}
}


function Mgoto(folder)
{
	if(folder!="") {
		var full = "/" + folder + "/index.asp";
		window.open(full,'_blank');
	}
}

function view(farm,pno) 
{
	var page;
	page = "/Include/view.asp?file=/" + farm + "/Intro/_Images/" + pno;
	window.open(page,'ViewList','resizable=no,width=500,height=700,scrollbars=0');
}

function view_old(farm,pno) 
{
	var page;
	page = "/Include/view.asp?file=/" + farm + "/Intro/Images/" + pno;
	window.open(page,'ViewList','resizable=no,width=500,height=700,scrollbars=0');
}
function gotoEssys()
{
	window.open("/Sanmaru/ESsys/","Soul");
}

function fnGoto_Link(nType)
{
	switch(nType)
	{
		case 100 :
			location.href='/Riel/Shop/Shop.asp?Order=main';
		break;
		case 110 :
			location.href='/Riel/Shop/Shop.asp?Order=list&type=1&pCode=1000';
		break;
		case 120 :
			location.href='/Riel/Shop/Shop.asp?Order=list&type=2&pCode=2000';
		break;
		case 130 :
			location.href='/Riel/Shop/Shop.asp?Order=list&type=3&pCode=3000';
		break;
		case 140 :
			location.href='/Riel/Shop/Shop.asp?Order=list&type=4&pCode=4000';
		break;
		case 200 :
			location.href='/Riel/Shop/Shop.asp?Order=step1&pCode=5000';
		break;
		case 300 :
			location.href='/Riel/Shop/Order.asp?pCode=6000';
		break;
		case 400 :
			location.href='/Riel/Shop/QnA.asp?ID=Riel_order&pCode=7000';
		break;
	}

}


function fnGoto_Link2(nType)
{
	switch(nType)
	{
		case 100 :
			location.href='/Bo/Shop/Shop.asp?Order=list&type=1&pCode=1000';
		break;
		case 200 :
			location.href='/Bo/Shop/Shop.asp?Order=step1&pCode=2000';
		break;
		case 300 :
			location.href='/Bo/Shop/Order.asp?pCode=3000';
		break;
		case 400 :
			location.href='/Bo/Shop/QnA.asp?ID=bo_order&pCode=4000';
		break;
		case 500 :
			location.href='/Bo/Shop/Why.asp?ID=bo_order&pCode=5000';		
		break;
	}
}