//¸Þ´ºÇÃ·¡½¬html¿¡ ³Ö¾îÁà¾ßÇÒ ½ºÅ©¸³Æ® °æ·Î     <script language="javascript" src="linkurl.js"></script> 

/************************************************************
*	javascript:GoMenu('m01')  
************************************************************/

mail="mailto:dhim@dhim.co.kr";     // ¸ÞÀÏ

//00  ¸Þ´º


home="../main/index.html";     // home   -->   logo

contact="mailto:cap@capco.co.kr";     // contact us

sitemap="../sitemap/sitemap.html";     // sitemap

eng="../eng/main/";     // korea

shark="#"; //»þÅ© ºí·¹ÀÌµå


//01 È¸»ç¼Ò°³


m01="/eng/company/greeting.html";     // ceoÀÎ»ç¸»   -->   root

m01_02="/eng/company/overview.html";     // È¸»ç°³¿ä

m01_03="/eng/company/organization.html";     // ºñÀü ¹× Á¶Á÷µµ

m01_04="/eng/company/history.html";     // ¿¬Çõ

m01_05="/eng/company/vision.html";     // ÆÄÆ®³Ê»ç

m01_06="/eng/company/welfare.html";     // Ã¤¿ëÁ¤º¸

m01_07="/eng/company/location.html";     // ¿À½Ã´Â±æ

//02 Á¦Ç°¼Ò°³


m02="/eng/product/product.html";     // »çÀÌ¹ö°øÁ¤

m02_02="/eng/product/shearing1.html";     // cut-length line 

m02_03="/eng/product/slitting1.html";     // slitting 

m02_04="/eng/product/blank.html";     // blanking

m02_05="/eng/product/forming.html";     // forming

m02_06="/eng/product/continuous.html";     // continuous

m02_07="/eng/product/special.html";     // special parts 

//03 »ç¾÷ºÐ¾ß ¹× ±â¼úÇöÈ² 


m03="/eng/business/business_info.html";     // »ç¾÷¸éÇãº¸À¯ÇöÈ²   -->   root

m03_02="/eng/business/tech_info.html";     //  ÀÎÁõ¼­




//04 Ä¿¹Â´ÏÆ¼


m04="/eng/comm/notice.html";     // °øÁö»çÇ×   -->   root

m04_02="/eng/comm/gallery.html";     //  gallery

m04_03="/eng/comm/news.html";     // news 




//05 contact us 


m05="/eng/contact/contact.html";     // »ó´ã ¹× °ßÀû¹®ÀÇ   -->   root

m05_02="/eng/contact/contact.html";     //  ´ã´çÀÚ ¿¬¶ôÃ³



//06 »çÀÌ¹öÈ«º¸½Ç


m06="/eng/cyberad/movie.html";     // È«º¸¿µ»ó   -->   root

m06_02="/eng/cyberad/center.html";     //  º¸µµÀÚ·á






function GoMenu(name, win, W, H, scroll, resize)	{
	//alert();
    var LeftPosition = (screen.width) ?        (screen.width-W)/2 : 0;
    var TopPosition = (screen.height) ?        (screen.height-H)/2 : 0;    

	// °æ°íÃ¢
	if (eval(name) == "") { // º¯¼ö´Â ÁöÁ¤µÇ¾î ÀÖ´Âµ¥ °ªÀÌ ¾øÀ»¶§ ÆäÀÌÁö ÀÌµ¿¾øÀÌ ¾ó¶ùÃ¢À»¶ç¿ò
		alert("¼­ºñ½º ÁØºñÁßÀÔ´Ï´Ù.");
		return;	
	}

	// ÆäÀÌÁö ÀüÈ¯
	else { 		//ÀÏ¹Ý¸µÅ©
		if (win == "win") {
			window.open(eval(name),"win","");
		} else 
		if (win == "pop") {
			window.open(eval(name),"pop","width="+W+",height="+H+",scrollbars="+scroll+",resizable="+resize);
		}
 else {
			document.location.href = eval(name);
		}
	}
}
