<!--

///////////////////////////////////////////////// ±¹¹® ¸µÅ© ½ÃÀÛ ////////////////////////////////////////////////////		
function Link(num)
{ 
	switch (num)
	{
		case 01: document.location.href="/";// home
		break;
		case 02: document.location.href="/contact/contact.asp";// contact us
		break;
		case 03: document.location.href="/";// »çÀÌÆ® ¸µÅ©
		break;
		case 04: document.location.href="/e_index.asp";// English
		break;
		case 05: document.location.href="/sitemap.asp";// »çÀÌÆ®¸Ê
		break;

		//È¸»ç¼Ò°³
		case 11: document.location.href="/aboutus/introduction.asp";// È¸»ç¼Ò°³
		break;
		case 12: document.location.href="/aboutus/history.asp";// È¸»ç¿¬Çõ
		break;
		case 13: document.location.href="/aboutus/license.asp";// ¸éÇãÇöÈ²
		break;
		case 14: document.location.href="/aboutus/organization.asp";// È¸»çÁ¶Á÷
		break;
		case 15: document.location.href="/aboutus/system.asp";// Ç°ÁúÈ¯°æ½Ã½ºÅÛ
		break;
		case 16: document.location.href="/aboutus/financial.asp";// Àç¹«Á¤º¸
		break;
		case 17: document.location.href="/aboutus/prize.asp";// »óÈÆÇöÈ²
		break;
		case 18: document.location.href="/aboutus/recruit01.asp";// Ã¤¿ëÁ¤º¸ > Ã¤¿ë¾È³» ¹× °øÁö
		break;
		case 182: document.location.href="/aboutus/recruit02.asp";// Ã¤¿ëÁ¤º¸ > ¿Â¶óÀÎ ÀÔ»çÁö¿ø
		break;
		case 183: document.location.href="/aboutus/recruit03.asp";// Ã¤¿ëÁ¤º¸ > ÀÎ»çÁ¤º¸
		break;
		case 19: document.location.href="/aboutus/location.asp";// È¸»ç¾àµµ
		break;



		//»ç¾÷ºÎ¹®
		case 20: document.location.href="/business/business.asp";// »ç¾÷ºÎ¹® ¸ÞÀÎ
		break;
		//È­°ø
		case 21: document.location.href="/business/process01.asp";// È­°ø
		break;
		case 212: document.location.href="/business/process02.asp";// È­°ø
		break;
		//ÇÃ·£Æ®
		case 22: document.location.href="/business/industrial01.asp";// ÇÃ·£Æ®
		break;
		case 222: document.location.href="/business/industrial02.asp";// ÇÃ·£Æ®
		break;
		case 223: document.location.href="/business/industrial03.asp";// ÇÃ·£Æ®
		break;
		case 224: document.location.href="/business/industrial04.asp";// ÇÃ·£Æ®
		break;
		case 225: document.location.href="/business/industrial05.asp";// ÇÃ·£Æ®
		break;
		//Åä¸ñ
		case 23: document.location.href="/business/civil01.asp";// Åä¸ñ
		break;
		case 232: document.location.href="/business/civil02.asp";// Åä¸ñ
		break;
		case 233: document.location.href="/business/civil03.asp";// Åä¸ñ
		break;
		case 234: document.location.href="/business/civil04.asp";// Åä¸ñ
		break;
		case 235: document.location.href="/business/civil05.asp";// Åä¸ñ
		break;
		//°ÇÃà
		case 24: document.location.href="/business/building01.asp";// °ÇÃà
		break;
		case 242: document.location.href="/business/building02.asp";// °ÇÃà
		break;
		case 243: document.location.href="/business/building03.asp";// °ÇÃà
		break;
		case 244: document.location.href="/business/building04.asp";// °ÇÃà
		break;
		case 245: document.location.href="/business/building05.asp";// °ÇÃà
		break;
		//Ãµ¾È°øÀå
		case 25: document.location.href="/business/cheonan.asp";// Ãµ¾È°øÀå
		break;
		case 252: document.location.href="/business/cheonan02.asp";// Ãµ¾È°øÀå > »ý»êÁ¦Ç°
		break;

		case 26: document.location.href="/business/experience.asp";// ÁÖ¿ä½ÇÀû
		break;
		case 27: document.location.href="/business/international.asp";// ÇØ¿ÜÁøÃâÇöÈ²
		break;
		case 28: document.location.href="/business/available.asp";// ¾÷¹«¹üÀ§
		break;



		//¿¬±¸°³¹ß
		case 31: document.location.href="/rnd/rnd.asp";// ¿¬±¸°³¹ß ¹× ±â¼ú°³¹ß
		break;
		case 32: document.location.href="/rnd/rights01.asp";// Æ¯Çãº¸À¯ÇöÈ²
		break;
		case 33: document.location.href="/rnd/newtec01.asp";// ½Ç±â¼úÁöÁ¤ÇöÈ²
		break;
		case 34: document.location.href="/rnd/program.asp";// ÇÁ·Î±×·¥ µî·ÏÇöÈ²
		break;
		case 35: document.location.href="/rnd/rnd_actual03.asp";// ¿¬±¸ ¹× ±â¼ú°³¹ß½ÇÀû
		break;
		case 36: document.location.href="/rnd/magazine.asp";// ¿£Áö´Ï¾î¸µ ±â¼úº¸
		break;

		//»çÀÌ¹öÈ«º¸½Ç
		case 41: document.location.href="/cyberpress/news/news.asp";// È¸»ç¼Ò½Ä
		break;
		case 42: document.location.href="/cyberpress/brochure.asp";// ÀüÀÚºê·Î¼Å
		break;
		case 43: document.location.href="/cyberpress/project.asp";// ÇÁ·ÎÁ§Æ® Æ÷Åä
		break;
		case 44: document.location.href="/cyberpress/link.asp";// °ü·Ã»çÀÌÆ®
		break;

		case 66: document.location.href="/cyberpress/link.asp";// °ü·Ã»çÀÌÆ®
		break;
		}
	}


///////////////////////////////////////////////// ±¹¹® ¸µÅ© ³¡ ////////////////////////////////////////////////////	



///////////////////////////////////////////////// ¿µ¹® ¸µÅ© ½ÃÀÛ ////////////////////////////////////////////////////		
function Link_e(num)
{ 
	switch (num)
	{
		case 01: document.location.href="/e_index.asp";// home
		break;
		case 02: document.location.href="/contact/e_contact.asp";// contact us
		break;
		case 03: document.location.href="/";// »çÀÌÆ® ¸µÅ©
		break;
		case 04: document.location.href="/";// Korean
		break;
		case 05: document.location.href="/e_sitemap.asp";// »çÀÌÆ®¸Ê
		break;

///////////////////////////////////////////////// ±¹¹® ¸µÅ© ½ÃÀÛ ////////////////////////////////////////////////////		
		//È¸»ç¼Ò°³
		case 11: document.location.href="/e_aboutus/e_introduction.asp";// introduction
		break;
		case 12: document.location.href="/e_aboutus/e_history.asp";// History
		break;
		case 13: document.location.href="/e_aboutus/e_organization.asp";// Organization
		break;
		case 14: document.location.href="/e_aboutus/e_financial.asp";// Financial Highlight
		break;
		case 15: document.location.href="/e_aboutus/e_quality.asp";// Quality Management
		break;
		case 16: document.location.href="/e_aboutus/e_location.asp";// Location
		break;



		//»ç¾÷ºÎ¹®
		case 20: document.location.href="/e_business/e_business.asp";// »ç¾÷ºÎ¹® ¸ÞÀÎ
		break;
		//È­°ø
		case 21: document.location.href="/e_business/e_process01.asp";// È­°ø
		break;
		case 212: document.location.href="/e_business/e_process02.asp";// È­°ø
		break;
		//ÇÃ·£Æ®
		case 22: document.location.href="/e_business/e_industrial01.asp";// ÇÃ·£Æ®
		break;
		case 222: document.location.href="/e_business/e_industrial02.asp";// ÇÃ·£Æ®
		break;
		case 223: document.location.href="/e_business/e_industrial03.asp";// ÇÃ·£Æ®
		break;
		case 224: document.location.href="/e_business/e_industrial04.asp";// ÇÃ·£Æ®
		break;
		case 225: document.location.href="/e_business/e_industrial05.asp";// ÇÃ·£Æ®
		break;
		//Åä¸ñ
		case 23: document.location.href="/e_business/e_civil01.asp";// Åä¸ñ
		break;
		case 232: document.location.href="/e_business/e_civil02.asp";// Åä¸ñ
		break;
		case 233: document.location.href="/e_business/e_civil03.asp";// Åä¸ñ
		break;
		case 234: document.location.href="/e_business/e_civil04.asp";// Åä¸ñ
		break;
		case 235: document.location.href="/e_business/e_civil05.asp";// Åä¸ñ
		break;
		//°ÇÃà
		case 24: document.location.href="/e_business/e_building01.asp";// °ÇÃà
		break;
		case 242: document.location.href="/e_business/e_building02.asp";// °ÇÃà
		break;
		case 243: document.location.href="/e_business/e_building03.asp";// °ÇÃà
		break;
		case 244: document.location.href="/e_business/e_building04.asp";// °ÇÃà
		break;
		case 245: document.location.href="/e_business/e_building05.asp";// °ÇÃà
		break;
		//Ãµ¾È°øÀå
		case 25: document.location.href="/e_business/e_cheonan.asp";// Ãµ¾È°øÀå
		break;
		case 252: document.location.href="/e_business/e_cheonan02.asp";// Ãµ¾È°øÀå > »ý»êÁ¦Ç°
		break;

		case 26: document.location.href="/e_business/e_experience.asp";// ÁÖ¿ä½ÇÀû
		break;
		case 27: document.location.href="/e_business/e_international.asp";// ÇØ¿ÜÁøÃâÇöÈ²
		break;
		case 28: document.location.href="/e_business/e_available.asp";// ¾÷¹«¹üÀ§
		break;



		//¿¬±¸°³¹ß
		case 31: document.location.href="/e_rnd/e_rnd.asp";// Research & Development
		break;
		case 32: document.location.href="/e_rnd/e_rights.asp";// Intellectual Property Rights
		break;
		case 33: document.location.href="/e_rnd/e_innovation.asp";// Technology Innovation
		break;
		case 34: document.location.href="/e_rnd/e_magazine.asp";// Engineering & Construction Technology Magazine
		break;

		//»çÀÌ¹öÈ«º¸½Ç
		case 41: document.location.href="/e_cyberpress/engnews/e_news.asp";// È¸»ç¼Ò½Ä
		break;
		case 42: document.location.href="/e_cyberpress/e_brochure.asp";// ÀüÀÚºê·Î¼Å
		break;
		case 43: document.location.href="/e_cyberpress/e_project.asp";// ÇÁ·ÎÁ§Æ® Æ÷Åä
		break;
		case 44: document.location.href="/e_cyberpress/e_link.asp";// °ü·Ã»çÀÌÆ®
		break;
		
		}
	}

////ÇØ¿Ü½ÇÀû ÇÑ±Û »õ·Î¿î ¿¬°á///////
	function nation(val)
	{
		window.status=val;
		
		switch (val)
		{
			case "1": document.frames['nationFrame'].location.href ="/lib/international.asp?SrchWord=º§±â¿¡";// º§±â¿¡
			break;
			case "2": document.frames['nationFrame'].location.href ="/lib/international.asp?SrchWord=ÇÁ¶û½º";// ÇÁ¶û½º
			break;
			case "3": document.frames['nationFrame'].location.href ="/lib/international.asp?SrchWord=±×¸®½º";// ±×¸®½º
			break;
			case "4": document.frames['nationFrame'].location.href ="/lib/international.asp?SrchWord=¸®ºñ¾Æ";// ¸®ºñ¾Æ
			break;
			case "5": document.frames['nationFrame'].location.href ="/lib/international.asp?SrchWord=¼ö´Ü";// ¼ö´Ü
			break;
			case "6": document.frames['nationFrame'].location.href ="/lib/international.asp?SrchWord=°¡³ª";// °¡³ª
			break;
			case "7": document.frames['nationFrame'].location.href ="/lib/international.asp?SrchWord=·¯½Ã¾Æ";// ·¯½Ã¾Æ
			break;
			case "8": document.frames['nationFrame'].location.href ="/lib/international.asp?SrchWord=¿ìÁîº£Å°½ºÅº";// ¿ìÁîº£Å°½ºÅº
			break;
			case "9": document.frames['nationFrame'].location.href ="/lib/international.asp?SrchWord=ÀÌ¶õ";// ÀÌ¶õ
			break;
			case "10": document.frames['nationFrame'].location.href ="/lib/international.asp?SrchWord=»ç¿ìµð¾Æ¶óºñ¾Æ";// »ç¿ìµð¾Æ¶óºñ¾Æ
			break;
			case "11": document.frames['nationFrame'].location.href ="/lib/international.asp?SrchWord=Äí¿þÀÌÆ®";// Äí¿þÀÌÆ®
			break;
			case "12": document.frames['nationFrame'].location.href ="/lib/international.asp?SrchWord=¹Ù·¹ÀÎ";// ¹Ù·¹ÀÎ
			break;
			case "13": document.frames['nationFrame'].location.href ="/lib/international.asp?SrchWord=U.A.E";// ¾Æ¶ø¿¡¹Ì¸®Æ®
			break;
			case "14": document.frames['nationFrame'].location.href ="/lib/international.asp?SrchWord=¸»·¹ÀÌ½Ã¾Æ";// ¸»·¹ÀÌ½Ã¾Æ
			break;
			case "15": document.frames['nationFrame'].location.href ="/lib/international.asp?SrchWord=½º¸®¶ûÄ«";// ½º¸®¶ûÄ«
			break;
			case "16": document.frames['nationFrame'].location.href ="/lib/international.asp?SrchWord=ÅÂ±¹";// ÅÂ±¹
			break;
			case "17": document.frames['nationFrame'].location.href ="/lib/international.asp?SrchWord=¹Ì¾á¸¶";// ¹Ì¾á¸¶
			break;
			case "18": document.frames['nationFrame'].location.href ="/lib/international.asp?SrchWord=¹æ±Û¶óµ¥½Ã";// ¹æ±Û¶óµ¥½Ã
			break;
			case "19": document.frames['nationFrame'].location.href ="/lib/international.asp?SrchWord=Áß±¹";// Áß±¹
			break;
			case "20": document.frames['nationFrame'].location.href ="/lib/international.asp?SrchWord=´ë¸¸";// ´ë¸¸
			break;
			case "21": document.frames['nationFrame'].location.href ="/lib/international.asp?SrchWord=º£Æ®³²";// º£Æ®³²
			break;
			case "22": document.frames['nationFrame'].location.href ="/lib/international.asp?SrchWord=ÀÎµµ³×½Ã¾Æ";// ÀÎµµ³×½Ã¾Æ
			break;
			case "23": document.frames['nationFrame'].location.href ="/lib/international.asp?SrchWord=±¡";// ±¡
			break;
			case "24": document.frames['nationFrame'].location.href ="/lib/international.asp?SrchWord=½Ì°¡Æ÷¸£";// ½Ì°¡Æ÷¸£
			break;
			case "25": document.frames['nationFrame'].location.href ="/lib/international.asp?SrchWord=¾Ë·¡½ºÄ«";// ¾Ë·¡½ºÄ«
			break;
			case "26": document.frames['nationFrame'].location.href ="/lib/international.asp?SrchWord=¸ß½ÃÄÚ";// ¸ß½ÃÄÚ
			break;
			case "27": document.frames['nationFrame'].location.href ="/lib/international.asp?SrchWord=¿¡Äâµµ¸£";// ¿¡Äâµµ¸£
			break;
			case "28": document.frames['nationFrame'].location.href ="/lib/international.asp?SrchWord=¸ù°ñ";// ¸ù°ñ
			break;
			case "29": document.frames['nationFrame'].location.href ="/lib/international.asp?SrchWord=³ªÀÌÁö¸®¾Æ";// ³ªÀÌÁö¸®¾Æ
			break;
			case "30": document.frames['nationFrame'].location.href ="/lib/international.asp?SrchWord=ÆÄÅ°½ºÅº";// ÆÄÅ°½ºÅº
			break;
			case "31": document.frames['nationFrame'].location.href ="/lib/international.asp?SrchWord=Æú¶õµå";// Æú¶õµå
			break;
			case "32": document.frames['nationFrame'].location.href ="/lib/international.asp?SrchWord=Ä«Å¸¸£";// Ä«Å¸¸£
			break;
			case "33": document.frames['nationFrame'].location.href ="/lib/international.asp?SrchWord=¹Ì±¹";// ¹Ì±¹
			break;
		}
	}



	////ÇØ¿Ü½ÇÀû ¿µ¹® »õ·Î¿î ¿¬°á///////
	function nationEng(val)
	{
		window.status=val;
		
		switch (val)
		{
			case "1": document.frames['nationFrame'].location.href ="/lib/e_internationalList.asp?SrchWord=Belgium";// º§±â¿¡
			break;
			case "2": document.frames['nationFrame'].location.href ="/lib/e_internationalList.asp?SrchWord=France";// ÇÁ¶û½º
			break;
			case "3": document.frames['nationFrame'].location.href ="/lib/e_internationalList.asp?SrchWord=Greece";// ±×¸®½º
			break;
			case "4": document.frames['nationFrame'].location.href ="/lib/e_internationalList.asp?SrchWord=Libya";// ¸®ºñ¾Æ
			break;
			case "5": document.frames['nationFrame'].location.href ="/lib/e_internationalList.asp?SrchWord=Sudan";// ¼ö´Ü
			break;
			case "6": document.frames['nationFrame'].location.href ="/lib/e_internationalList.asp?SrchWord=Ghana";// °¡³ª
			break;
			case "7": document.frames['nationFrame'].location.href ="/lib/e_internationalList.asp?SrchWord=Russia";// ·¯½Ã¾Æ
			break;
			case "8": document.frames['nationFrame'].location.href ="/lib/e_internationalList.asp?SrchWord=Uzbekistan";// ¿ìÁîº£Å°½ºÅº
			break;
			case "9": document.frames['nationFrame'].location.href ="/lib/e_internationalList.asp?SrchWord=Iran";// ÀÌ¶õ
			break;
			case "10": document.frames['nationFrame'].location.href ="/lib/e_internationalList.asp?SrchWord=Saudi Arabia";// »ç¿ìµð¾Æ¶óºñ¾Æ
			break;
			case "11": document.frames['nationFrame'].location.href ="/lib/e_internationalList.asp?SrchWord=Kuwait";// Äí¿þÀÌÆ®
			break;
			case "12": document.frames['nationFrame'].location.href ="/lib/e_internationalList.asp?SrchWord=Bahrain";// ¹Ù·¹ÀÎ
			break;
			case "13": document.frames['nationFrame'].location.href ="/lib/e_internationalList.asp?SrchWord=U.A.E";// ¾Æ¶ø¿¡¹Ì¸®Æ®
			break;
			case "14": document.frames['nationFrame'].location.href ="/lib/e_internationalList.asp?SrchWord=Malaysia";// ¸»·¹ÀÌ½Ã¾Æ
			break;
			case "15": document.frames['nationFrame'].location.href ="/lib/e_internationalList.asp?SrchWord=Sri Lanka";// ½º¸®¶ûÄ«
			break;
			case "16": document.frames['nationFrame'].location.href ="/lib/e_internationalList.asp?SrchWord=Thailand";// ÅÂ±¹
			break;
			case "17": document.frames['nationFrame'].location.href ="/lib/e_internationalList.asp?SrchWord=Myanmar";// ¹Ì¾á¸¶
			break;
			case "18": document.frames['nationFrame'].location.href ="/lib/e_internationalList.asp?SrchWord=Bangladesh";// ¹æ±Û¶óµ¥½Ã
			break;
			case "19": document.frames['nationFrame'].location.href ="/lib/e_internationalList.asp?SrchWord=China";// Áß±¹
			break;
			case "20": document.frames['nationFrame'].location.href ="/lib/e_internationalList.asp?SrchWord=Taiwan";// ´ë¸¸
			break;
			case "21": document.frames['nationFrame'].location.href ="/lib/e_internationalList.asp?SrchWord=Vietnam";// º£Æ®³²
			break;
			case "22": document.frames['nationFrame'].location.href ="/lib/e_internationalList.asp?SrchWord=Indonesia";// ÀÎµµ³×½Ã¾Æ
			break;
			case "23": document.frames['nationFrame'].location.href ="/lib/e_internationalList.asp?SrchWord=Guam";// ±¡
			break;
			case "24": document.frames['nationFrame'].location.href ="/lib/e_internationalList.asp?SrchWord=Singapore";// ½Ì°¡Æ÷¸£
			break;
			case "25": document.frames['nationFrame'].location.href ="/lib/e_internationalList.asp?SrchWord=Alaska";// ¾Ë·¡½ºÄ«
			break;
			case "26": document.frames['nationFrame'].location.href ="/lib/e_internationalList.asp?SrchWord=Mexico";// ¸ß½ÃÄÚ
			break;
			case "27": document.frames['nationFrame'].location.href ="/lib/e_internationalList.asp?SrchWord=Ecuador";// ¿¡Äâµµ¸£
			break;
			case "28": document.frames['nationFrame'].location.href ="/lib/e_internationalList.asp?SrchWord=Mongolia";// ¸ù°ñ
			break;
			case "29": document.frames['nationFrame'].location.href ="/lib/e_internationalList.asp?SrchWord=Nigeria";// ³ªÀÌÁö¸®¾Æ
			break;
			case "30": document.frames['nationFrame'].location.href ="/lib/e_internationalList.asp?SrchWord=Pakistan";// ÆÄÅ°½ºÅº
			break;
			case "31": document.frames['nationFrame'].location.href ="/lib/e_internationalList.asp?SrchWord=Poland";// Æú¶õµå
			break;
			case "32": document.frames['nationFrame'].location.href ="/lib/e_internationalList.asp?SrchWord=Qatar";// Ä«Å¸¸£
			break;
			case "33": document.frames['nationFrame'].location.href ="/lib/e_internationalList.asp?SrchWord=U.S.A";// U.S.A.
			break;
		}
	}
///////////////////////////////////////////////// ¿µ¹® ¸µÅ© ½ÃÀÛ ////////////////////////////////////////////////////		


/********************** ½ºÅ©·Ñ¸Þ´º ½ÃÀÛ **********************/
var stmnLEFT = 962; // ½ºÅ©·Ñ¸Þ´ºÀÇ ÁÂÃø À§Ä¡
var stmnGAP1 = 350; // ÆäÀÌÁö Çì´õºÎºÐÀÇ ¿©¹é
var stmnGAP2 = 400; // ½ºÅ©·Ñ½Ã ºê¶ó¿ìÀú »ó´Ü°úÀÇ ¿©¹é
var stmnBASE = 500; // ½ºÅ©·Ñ¸Þ´º ÃÊ±â ½ÃÀÛÀ§Ä¡
var stmnActivateSpeed = 100; // ¿òÁ÷ÀÓÀ» °¨ÁöÇÏ´Â ¼Óµµ (¼ýÀÚ°¡ Å¬¼ö·Ï ´Ê°Ô ¾Ë¾ÆÂ÷¸²)
var stmnScrollSpeed = 8; // ½ºÅ©·ÑµÇ´Â ¼Óµµ (Å¬¼ö·Ï ´Ê°Ô ¿òÁ÷ÀÓ)

function RefreshStaticMenu()
{
		var stmnStartPoint, stmnEndPoint, stmnRefreshTimer;

		 stmnStartPoint = parseInt(FloatMenu.style.top, 10);
		 stmnEndPoint = document.body.scrollTop + stmnGAP2;
			
		if (stmnEndPoint < stmnGAP1) stmnEndPoint = stmnGAP1;

		if ( stmnStartPoint != stmnEndPoint ) {
				stmnScrollAmount = Math.ceil( Math.abs( stmnEndPoint - stmnStartPoint ) / 15 );
				FloatMenu.style.top = parseInt(FloatMenu.style.top, 10) + ( ( stmnEndPoint<stmnStartPoint ) ? -stmnScrollAmount : stmnScrollAmount );
				stmnRefreshTimer = stmnScrollSpeed;
		}
								 else {
				stmnRefreshTimer = stmnActivateSpeed;
		}

		setTimeout ("RefreshStaticMenu();", stmnRefreshTimer);
}

function InitializeFloatMenu()
{
		FloatMenu.style.top = document.body.scrollTop + stmnBASE;
		RefreshStaticMenu();
		FloatMenu.style.left = stmnLEFT;
}
/********************** ½ºÅ©·Ñ¸Þ´º ³¡ **********************/

/*function nation(val)
{
	window.status=val;
	var curObj;
	
	curObj = eval("document.all._"+val);
	document.all.sample.innerHTML = curObj.innerHTML;
	
}
*/

function magazine(val)
{
	window.status=val;
	var curObj;
	
	curObj = eval("document.all._"+val);
	document.all.sample.innerHTML = curObj.innerHTML;
	
}

//  -->


/********************** ¿ÀÇÂÀ©µµ¿ì **********************/
function openWin(filename,p_width,p_height,scrll)
{
	
	var filename,p_width,p_height,scrll,search,winLeft,winTop	
	var winLeft = (screen.width - p_width) / 2; 
	var winTop = (screen.height - p_height) / 2; 

	win = window.open(filename, "","resizable=no,scrollbars="+scrll+",width="+p_width+",height="+p_height+",left="+winLeft+",top="+winTop);
}

function jumpMenu(targ,selObj,restore){ 
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}



//±âº» º¸¾È °ü·Ã
/*
document.oncontextmenu=function(){return false;}
document.ondragstart=function(){return false;}
document.onselectstart=function(){return false;} 
document.onmousedown=click
document.onkeydown=click
function click() {
	if ((event.button==2) || (event.button==3) || (event.keyCode == 93)) {
		return false;
	}
	else {
		if((event.ctrlKey) && (event.keyCode == 67)) {
			return false;
		}
	}
}



//°æ·Î°¨Ãß±â °ü·Ã
window.defaultStatus='Welcome to Daewoo Engineering Company';
document.onmouseover=hidestatus ;
document.onmouseout=hidestatus ;
function hidestatus(){ 
	window.status='Welcome to Daewoo Engineering Company';
	return true;
}
*/




/-----------------------ÀÌ¹ÌÁö »çÀÌÁî ±¸ÇÏ±â--------------------------------//
function upload_img_resize(target_img,str,imgsize) 
{ 
var newX; 
var newY; 
var newHeight; 
var newWidth; 
if (imgsize < 100){
	var maxWidth = 800;
	var maxHeight = 600;
}else{
	var maxWidth = imgsize;
	var maxHeight = imgsize*0.75;
}

var newImg = new Image(); 
newImg.src = target_img.src; 

imgw = newImg.width; 
imgh = newImg.height; 

if (imgw > maxWidth || imgh > maxHeight) { 
	if (imgw > imgh) { 
		if (imgw > maxWidth) 
			newWidth = maxWidth; 
		else 
			newWidth = imgw; 
			newHeight = Math.round((imgh * newWidth) / imgw); 
	} else { 
		if (imgh > maxHeight) 
			newHeight = maxHeight; 
		else 
			newHeight = imgh; 
			newWidth = Math.round((imgw * newHeight) / imgh); 
		} 
}else { 
	newWidth = imgw; 
	newHeight = imgh; 
} 

newWidth = newWidth.toFixed(0)
newHeight = newHeight.toFixed(0)

newX = maxWidth / 2 - newWidth / 2; 
newY = maxHeight / 2 - newHeight / 2; 
target_img.onload = null; 
target_img.src = newImg.src; 
target_img.width = newWidth; 
target_img.height = newHeight; 
} 




function imgView(obj, w, h) {

 var mm = window.open("", 'imgview', 'width=' + w + ', height=' + h + ', top=135, left=135');
 var doc = mm.document;
 
 doc.body.style.margin = 0;
 doc.body.style.cursor = "hand";
 var previewimg = doc.createElement("img");
// previewimg.src = obj.src;
 previewimg.src = obj;
 doc.body.appendChild(previewimg);
 doc.title = "È®´ëÀÌ¹ÌÁö";
 doc.body.onmousedown = function() {
  mm.close();
 }
}




//»ç¾÷½ÇÀû °Ë»ö
function checkSearchWord()
{	
		chkForm=document.sendForm
					
	
		if (chkForm.SrchWord.value == "")
		{
				alert("°Ë»ö¾î¸¦ ÀÔ·Â ÇÏ¼¼¿ä");
				chkForm.SrchWord.focus();
				return;
		}
		chkForm.submit();		
}

//»ç¾÷½ÇÀû °Ë»ö
function checkSearchWord_Eng()
{	
		chkForm=document.sendForm
					
	
		if (chkForm.SrchWord.value == "")
		{
				alert("°Ë»ö¾î¸¦ ÀÔ·Â ÇÏ¼¼¿ä");
				chkForm.SrchWord.focus();
				return;
		}
		chkForm.submit();		
}




//»ç¾÷½ÇÀû ÀüÃ¼°Ë»ö¾î
function checkSearchWordAll()
{	
		chkForm=document.sendSrchAllForm
					
	
		if (chkForm.SrchWord.value == "")
		{
				alert("°Ë»ö¾î¸¦ ÀÔ·Â ÇÏ¼¼¿ä");
				chkForm.SrchWord.focus();
				return;
		}
		chkForm.submit();		
}


//»ç¾÷½ÇÀû ÀüÃ¼°Ë»ö¾î
function checkSearchWordAll1()
{	
		chkForm=document.sendSrchAllForm
					
	
		if (chkForm.SrchWord.value == "")
		{
				alert("°Ë»ö¾î¸¦ ÀÔ·Â ÇÏ¼¼¿ä");
				chkForm.SrchWord.focus();
				return false;
		}
		
	
		if (chkForm.pageGo.value == "1")
		{
				chkForm.action="/search_result.asp"
				chkForm.submit();	
		}
		else
		{
				chkForm.action="/business/totalSearchPage.asp"
				chkForm.submit();	
		}
			
}
//»ç¾÷½ÇÀû ÀüÃ¼°Ë»ö¾î
function checkSearchWordAll_Eng()
{	
		chkForm=document.sendSrchAllForm
					
	
		if (chkForm.SrchWord.value == "")
		{
				alert("°Ë»ö¾î¸¦ ÀÔ·Â ÇÏ¼¼¿ä");
				chkForm.SrchWord.focus();
				return;
		}
		chkForm.submit();		
}

//Å°¿öµå ¿µ¹® °Ë»ö¾î
function checkSearchWordAll_Eng1()
{	
		chkForm=document.sendSrchAllForm
					
	
		if (chkForm.SrchWord.value == "")
		{
				alert("Input Keyword");
				chkForm.SrchWord.focus();
				return false;
		}

		if (chkForm.pageGo.value == "1")
		{
				chkForm.action="/e_search_result.asp"
				chkForm.submit();	
		}
		else
		{
				chkForm.action="/e_business/totalSearchPage.asp"
				chkForm.submit();	
		}	
}

//»ç¾÷½ÇÀû ÆäÀÌÁö¿¡¼­ ÀüÃ¼°Ë»ö 
function	 sendSrchForm(boardId)
{		
	
	getForm = document.sendForm	
	
	if(boardId == "")
	{
			getForm.action = "totalSearchPage.asp?boardId="+boardId
			getForm.submit()
	}
	else
	{
			getForm.action = "biz_actual.asp?boardId="+boardId
			getForm.submit()
	}

}

//»ç¾÷½ÇÀû¿µ¹® ÆäÀÌÁö¿¡¼­ ÀüÃ¼°Ë»ö 
function	 sendSrchFormEng(boardId)
{		
	
	getForm = document.sendForm	
	
	if(boardId == "")
	{
			getForm.action = "totalSearchPage.asp?boardId="+boardId
			getForm.submit()
	}
	else
	{
			getForm.action = "e_biz_actual.asp?boardId="+boardId
			getForm.submit()
	}

}



//ÀÔ»çÁö¿ø µ¿ÀÇ ÇÔ¼ö 
function	 checkConfirmForm()
{		
	getForm = document.checkForm	
	
	if(getForm.confirm[1].checked)
	{
		alert("¾à°ü¿¡ µ¿ÀÇ ÇÏ¼Å¾ß ÇÕ´Ï´Ù.");
		return 
	}
	else
	{
			getForm.confirmOk.value = "Yes"
			getForm.submit()
	}

}



//ÁÖ¹Î¹øÈ£ Ã¼Å© ÇÔ¼ö
function	 checkJumin()
 
{		
		form = document.checkForm	
	
			juminNum = form.jnum1.value + form.jnum2.value;
			str="234567892345";

			sum=0;
			for(p=0; p<12; p++)
			{
						sum += parseInt(juminNum.charAt(p)) * parseInt(str.charAt(p));
			}
		
			temp=(11-sum % 11) % 10
			if(temp != juminNum.charAt(12)) 
			{
					alert("Àß¸øµÈ ÁÖ¹Î¹øÈ£ ÀÔ´Ï´Ù.");
					form.jnum1.value = ""
					form.jnum2.value = ""
					form.jnum1.focus();
					return false;
			}

}


function inputbirth()
{
        var temp1,temp2,temp3;
        temp1=document.checkForm.jnum1.value.substring(0,2);
        temp2=document.checkForm.jnum1.value.substring(2,4);
        temp3=document.checkForm.jnum1.value.substring(4,6);

		if( temp1 < 30 )
		{
			document.checkForm.memBirth1.value="20"+temp1; 
		}
        else
		{
			document.checkForm.memBirth1.value="19"+temp1;
		}
        document.checkForm.memBirth2.value=temp2;
        document.checkForm.memBirth3.value=temp3;
}




//ÀÔ»çÁö¿ø ÆûÃ¼Å© ÇÔ¼ö
function checkRecuritForm(whereGo)
{
				
		var getForm = document.checkForm
	

		if(getForm.isCareer.value=="")
		{
			alert("°æ·Â±¸ºÐÀ» ¼±ÅÃ ÇÏ¼¼¿ä.");
			return;
		}
		if(getForm.applyPart.value=="")
		{
			alert("Áö¿øºÐ¾ß¸¦ ¼±ÅÃ ÇÏ¼¼¿ä.");
			return;
		}

		if(getForm.wishWork.value=="")
		{
			alert("Èñ¸ÁºÐ¾ß¸¦ ¼±ÅÃ ÇÏ¼¼¿ä.");
			return;
		}

		if (isCkeckBlank(getForm.wishSalary,"Èñ¸Á¿¬ºÀ") == false)								 						{	return ;	} //Èñ¸Á¿¬ºÀ Ã¼Å©
		if (isCkeckBlank(getForm.nameKor,"ÇÑ±Û ¸í") == false)								 								{	return ;	} //ÇÑ±ÛÀÌ¸§ Ã¼Å©
		if (isCkeckBlank(getForm.nameCh,"ÇÑÀÚ ¸í") == false)								 								{	return ;	} //ÇÑ±ÛÀÌ¸§ Ã¼Å©
		if (isCkeckBlank(getForm.nameEng,"¿µ¹® ¸í") == false)								 								{	return ;	} //ÇÑ±ÛÀÌ¸§ Ã¼Å©
		if (isCkeckBlank(getForm.tel1,"ÀüÈ­¹øÈ£") == false)																	{	return; 	} //ÀüÈ­¹øÈ£ Ã¼Å©
		if (isCkeckBlank(getForm.tel2,"ÀüÈ­¹øÈ£") == false)																	{	return; 	} //ÀüÈ­¹øÈ£ Ã¼Å©
		if (isCkeckBlank(getForm.tel3,"ÀüÈ­¹øÈ£") == false)																	{	return; 	} //ÀüÈ­¹øÈ£ Ã¼Å©

		if (isCkeckBlank(getForm.cell1,"ÈÞ´ë ÀüÈ­¹øÈ£") == false)														{	return; 	} //ÀüÈ­¹øÈ£ Ã¼Å©
		if (isCkeckBlank(getForm.cell2,"ÈÞ´ë ÀüÈ­¹øÈ£") == false)														{	return; 	} //ÀüÈ­¹øÈ£ Ã¼Å©
		if (isCkeckBlank(getForm.cell3,"ÈÞ´ë ÀüÈ­¹øÈ£") == false)														{	return; 	} //ÀüÈ­¹øÈ£ Ã¼Å©
		if (checkEmail(getForm.email,"ÀÌ¸ÞÀÏ") == false)																		{	return; 	} //ÀÌ¸ÞÀÏ Ã¼Å©
		
		
				
			juminNum = getForm.jnum1.value + getForm.jnum2.value;
			str="234567892345";
			sum=0;
			for(r=0; r<12; r++)
			{
				sum += parseInt(juminNum.charAt(r)) * parseInt(str.charAt(r));
			}
				temp=(11-sum % 11) % 10
					if(temp != juminNum.charAt(12)) 
					{
						alert("Àß¸øµÈ ÁÖ¹Î¹øÈ£ ÀÔ´Ï´Ù.");
							getForm.jnum1.value = ""
							getForm.jnum2.value = ""
							getForm.jnum1.focus();
							return ;
					}

		if (isCkeckBlank(getForm.pRegister,"º»Àû") == false)								 											{	return ;	} //º»Àû Ã¼Å©
		if (isCkeckBlank(getForm.zipcode1,"¿ìÆí¹øÈ£") == false)								 									{	return ;	} //¿ìÆí¹øÈ£ Ã¼Å©
		if (isCkeckBlank(getForm.zipcode2,"¿ìÆí¹øÈ£") == false)								 									{	return ;	} //¿ìÆí¹øÈ£ Ã¼Å©
		if (isCkeckBlank(getForm.Address,"ÁÖ¼Ò") == false)								 											{	return ;	} //ÁÖ¼Ò Ã¼Å©
	
	
		if (isCkeckBlank(getForm.BIMG,"ÀÌ¹ÌÁö") == false)								 											{	return ;	} //ÀÌ¹ÌÁö Ã¼Å©
		if (fileCheckOnly(getForm.BIMG.value) == false)	{	return ;	} //¾÷·Îµå ÆÄÀÏÃ¼Å©
		if (isCkeckBlank(getForm.eduPart[0],"ÇÐ±³¸í") == false)									{	return; 	}
		if (isCkeckBlank(getForm.Isgraduate[0],"Á¹¾÷±¸ºÐ") == false)									{	return; 	}
	/*
		if (isCkeckBlank(getForm.content1,"ÀÚ½ÅÀÇ Àç´É ¹× ÀÚ¶û°Å¸®") == false)											{	return; 	}
		/if (isCkeckBlank(getForm.content2,"»çÈ¸ ºÀ»çÈ°µ¿, ´ëÇÐ µ¿¾Æ¸®È°µ¿ µî") == false)						{	return;	}
		if (isCkeckBlank(getForm.content3,"ÀÔ»ç ÈÄ Èñ¸Á¾÷¹«¿Í ÀÌ¸¦ À§ÇØ ÁØºñÇØ¿Â °úÁ¤" ) == false)		{	return;	}
		if (isCkeckBlank(getForm.content4,"ÀÔ»ç ÈÄ Á÷Àå»ýÈ°°ú °³ÀÎ»ýÈ°¿¡ ´ëÇÑ °èÈ¹" ) == false)			{	return;	}
		if (isCkeckBlank(getForm.content5,"»ýÈ°½ÅÁ¶ ¹× ¼º°Ý»óÀÇ Àå´ÜÁ¡" ) == false)									{	return;	}
	*/
	if(whereGo =="go")
	{
		
		getForm.target = "_self";
		getForm.action = "upfileExec.asp";
		getForm.submit();
	} 

	if(whereGo == "print")
	{
		
		var win = window.open("", "preview", "width=680, height=700, scrollbars=yes, toolbar=no, status=no");
		getForm.target = "preview";
		getForm.action = "recruit02_apply_view.asp";
		getForm.submit();
	}
}


function chSpText(input)
{

	str = new String(input.value);
	str = str.replace(/,/gi, '/');
	input.value = str
}

//ÀÌ¸ÞÀÏ Ã¼Å©
function checkEmail(obj,notice)
{
	 if (isCkeckBlank(obj,notice) == false)	 		{	return false;	}

	 if( obj.value.length > 0 )
	{
            var regExp = /[a-z0-9]{2,}@[a-z0-9-]{2,}\.[a-z0-9]{2,}/i;
                if(!regExp.test(obj.value))
                {
                        alert('Àß¸øµÈ e-mail Çü½ÄÀÔ´Ï´Ù.');
                        obj.value = "";
                        obj.focus();
                        return false ;
               }
	}
 return true;
}

//Æû °ª °ø¶õÃ¼Å© ÈÄ °æ°í ¸Þ½ÃÁö ¶ç¿ì±â 
function isCkeckBlank(checkBlank,notice)
{
	if(checkBlank.value.length == 0) 
		{
			alert(notice+" À»(¸¦) ÀÔ·ÂÇØ ÁÖ½Ê½Ã¿À.");
			checkBlank.focus();
			return false;
		}
 return true;
}


function fileCheck(obj,ImgType)
{
	// ¼±ÅÃÆÄÀÏÀÇ °æ·Î¸¦ ºÐ¸®ÇÏ¿© È®ÀåÀÚ¸¦ ±¸ÇÕ´Ï´Ù.
	pathpoint = obj.lastIndexOf('.');
	filepoint = obj.substring(pathpoint+1,obj.length);
	filetype = filepoint.toLowerCase();
		
	// È®ÀåÀÚ°¡ ÀÌ¹ÌÁö ÆÄÀÏÀÌ¸é preview¿¡ º¸¿©ÁÝ´Ï´Ù. || filetype=='asf' || filetype=='mov' || filetype=='avi')
	if(filetype=='jpg' || filetype=='gif' || filetype=='png' || filetype=='jpeg' || filetype=='bmp' || filetype=='fpx' || filetype=='mpeg' )
	{
	
		if (ImgType == 1)
		{
			document.checkForm.BIMGsrc.src = obj;
						 
		}
		/*
		if (ImgType == 2)
		{
			frm.MIMGsrc.src = obj;
		}
		
		if (ImgType == 3)
		{
			frm.SIMGsrc.src = obj;
		}
		*/	
	}
	else
	{
		// ÀÌ¹ÌÁö È®ÀåÀÚ°¡ ¾Æ´Ò°æ¿ì °æ°í¸¦ ÁÖ¸ç, ¿ø·¡ÀÇ ÀÓ½Ã ÀÌ¹ÌÁö °æ·Î·Î ¹Ù²ãÁÝ´Ï´Ù.
		alert('ÀÌ¹ÌÁö ÆÄÀÏ¸¸ ¾÷·Îµå ÇÏ½Ç¼ö ÀÖ½À´Ï´Ù.');
		return false;
	}
		
	// ÀÌ¹ÌÁö È®ÀåÀÚÀÌÁö¸¸ BMP È®ÀåÀÚ¶ó¸é ÀÏ´Ü °æ°í¸¦ ÁØ´Ù.
	// ÀÌ ºÎºÐÀº ²À ÇÊ¿äÇÑ ºÎºÐÀº ¾Æ´ÏÁö¸¸ Á¦°¡ ¿î¿µÀÚ¶ó¸é bmp ÆÄÀÏÀº ¿ë·®ÀÌ Å©±â¶§¹®¿¡ À¢Áö.. -_-;
	if(filetype=='bmp')
	{
		upload = confirm('BMP ÆÄÀÏÀº À¥»ó¿¡¼­ »ç¿ëÇÏ±â¿£ ÀûÀýÇÑ ÀÌ¹ÌÁö Æ÷¸ËÀÌ ¾Æ´Õ´Ï´Ù.\n±×·¡µµ °è¼Ó ÇÏ½Ã°Ú½À´Ï±î?');
		if(!upload) return false;
	}
}


//////ÀÌ¹ÌÁö ÆÄÀÏ¹«°á¼º °Ë»ç ÇÔ¼ö
function fileCheckOnly(obj,ImgType)
{
		
	// ¼±ÅÃÆÄÀÏÀÇ °æ·Î¸¦ ºÐ¸®ÇÏ¿© È®ÀåÀÚ¸¦ ±¸ÇÕ´Ï´Ù.
	pathpoint	= obj.lastIndexOf('.');
	
	filepoint		= obj.substring(pathpoint+1,obj.length);
	loc				=	obj.lastIndexOf('\\')
	fileName	=	obj.substring(pathpoint,loc+1);
	filetype		= filepoint.toLowerCase();
	//alert(fileName)
		
	// È®ÀåÀÚ°¡ ÀÌ¹ÌÁö ÆÄÀÏÀÌ¸é preview¿¡ º¸¿©ÁÝ´Ï´Ù. || filetype=='asf' || filetype=='mov' || filetype=='avi')
	if(filetype=='jpg' || filetype=='gif' || filetype=='png' || filetype=='jpeg' || filetype=='bmp' || filetype=='fpx' || filetype=='mpeg' )
	{
		if (isKor(fileName))
		{
			
				// ÀÌ¹ÌÁö ÀÌ¸§ÀÌ ÇÑ±ÛÀÎ °æ¿ì °æ°íÇÏ±â.
				alert('ÇÑ±Û ÀÌ¹ÌÁö¸íÀº »ç¿ëÇÏ½Ç¼ö ¾ø½À´Ï´Ù. \nÀÌ¹ÌÁö¸íÀº ¿µ¹®È¤Àº ¼ýÀÚ·Î »ç¿ëÇÏ¼¼¿ä ');
				return false;
		}

		if (ImgType == 1)
		{
			document.checkForm.BIMGsrc.src = obj;
						 
		}
	}
	else
	{
		// ÀÌ¹ÌÁö È®ÀåÀÚ°¡ ¾Æ´Ò°æ¿ì °æ°í¸¦ ÁÖ¸ç, ¿ø·¡ÀÇ ÀÓ½Ã ÀÌ¹ÌÁö °æ·Î·Î ¹Ù²ãÁÝ´Ï´Ù.
		alert('ÀÌ¹ÌÁö ÆÄÀÏ¸¸ ¾÷·Îµå ÇÏ½Ç¼ö ÀÖ½À´Ï´Ù.');
		return false;
	}
		
	// ÀÌ¹ÌÁö È®ÀåÀÚÀÌÁö¸¸ BMP È®ÀåÀÚ¶ó¸é ÀÏ´Ü °æ°í¸¦ ÁØ´Ù.
	// ÀÌ ºÎºÐÀº ²À ÇÊ¿äÇÑ ºÎºÐÀº ¾Æ´ÏÁö¸¸ Á¦°¡ ¿î¿µÀÚ¶ó¸é bmp ÆÄÀÏÀº ¿ë·®ÀÌ Å©±â¶§¹®¿¡ À¢Áö.. -_-;
	if(filetype=='bmp')
	{
		upload = confirm('BMP ÆÄÀÏÀº À¥»ó¿¡¼­ »ç¿ëÇÏ±â¿£ ÀûÀýÇÑ ÀÌ¹ÌÁö Æ÷¸ËÀÌ ¾Æ´Õ´Ï´Ù.\n±×·¡µµ °è¼Ó ÇÏ½Ã°Ú½À´Ï±î?');
		if(!upload) return false;
	}
}





 //»ç¶÷ÀÌ¸§ ÀÔ·Â½Ã ¿µ¾î ¿Í ÇÑ±Û¸¸ °¡´É°Ô ÇÔ¼ö
function checkName(str,notice)
{
	if (isCkeckBlank(str,notice) == false)	{	return false;	}
	
	var sp_char = " !@#$%^&*()_-+|/;:,.?`~{}[]<>'1234567890" + '"'		//Á¦¾î ÇÒ °ªÀ» Ãß°¡ È¤Àº »èÁ¦ ÇÒ¼ö ÀÖÀ½
	for(var i=0; i < str.value.length; i++)
	{
		if(	sp_char.indexOf(str.value.charAt(i)) != -1)
		{
			alert(notice + " ¿¡´ÂÆ¯¼ö¹®ÀÚ³ª ¼ýÀÚ¸¦ »ç¿ë ÇÒ¼ö ¾ø½À´Ï´Ù.")
			str.value="";
			str.focus();
			return false;
		}
	}
return true;
}


//°ø¹éÁ¦°Å
function trim(str)
{

	var count = str.length;
	var len = count;                
	var st = 0;
	while ((st < len) && (str.charAt(st) <= ' '))
	{
			st++;
	}
	while ((st < len) && (str.charAt(len - 1) <= ' '))
	{
			len--;
	}             

	return ((st > 0) || (len < count)) ? str.substring(st, len) : str ;   

} 

//¾ÆÀÌµð TEXTBOX¿¡ ´ë¹®ÀÚ ÀÔ·Â½Ã ¼Ò¹®ÀÚ·Î º¯È¯
function goChangeStr(m_obj)
{ 		
		var getForm = document.checkForm
		
		if( m_obj == "1")
		{
			getForm.memId.value = getForm.memId.value.toLowerCase();

		}
		else if(m_obj == "2")
		{
 			getForm.memPwd1.value = getForm.memPwd1.value.toLowerCase();
		}
		else if(m_obj == "3")
		{
					getForm.memPwd2.value = getForm.memPwd2.value.toLowerCase();
		}
}



//Å°º¸µå ÀÔ·Â½Ã ¼ýÀÚ¸¸ ÀÔ·ÂÇÏ°Ô ÇÔ.
function onlyNmber()
{   
	if((event.keyCode<48)||(event.keyCode>57))
			event.returnValue=false;
}	

// Å°º¸µå ÀÔ·Â½Ã ÇÑ±Û ¿µ¹®¸¸ ÀÔ·Â °¡´É ÇÏ°ÔÇÔ.
function onlyString()
{   
	if((event.keyCode<65)||(event.keyCode>122))
			event.returnValue=false;
}	

//¼ýÀÚ Ã¼Å©
function isNum(str)
{
		alert(str.value)	
  	for(i = 0; i < str.length; i++)
  	{
    		ch = str.charAt(i);
    		if(ch < "0" || ch > "9")
    			return false;
  	}
 return true;
}
 
//ÇÑ±Û Ã¼Å©
function isKor(str)
{
	for(i=0; i<str.length; i++)
	{
		if(str.charCodeAt(i) > 12593)
				return true;
  	}
	return false;
}


//ÇÑ±Û Ã¼Å©
function isKorCheck(inputName)
{
	//alert(inputName)
	
	str = eval("document.checkForm."+inputName)
	for(i=0; i<str.value.length; i++)
	{
		if(str.value.charCodeAt(i) > 12593)
		{
			str.value = ""
			str.focus()
			return false;
		}
  	}
	return true;
	
}
