var ROOT_URL = "/";
/****** main ***************************/
function main() { window.location.href= ROOT_URL+"index.php"}

/****** È¸»ç¼Ò°³ ***************************/
function link_01(){location.href= ROOT_URL+"company/main.php"}
function link_0101(){location.href= ROOT_URL+"company/greeting.php"}
function link_0102(){location.href= ROOT_URL+"company/management.php"}
function link_0103(){location.href= ROOT_URL+"company/history.php"}
function link_010301(){location.href= ROOT_URL+"company/history.php"}
function link_010302(){location.href= ROOT_URL+"company/testimonial.php"}
function link_010303(){location.href= ROOT_URL+"company/license.php"}
function link_010304(){location.href= ROOT_URL+"company/kolas.php"}
function link_0104(){location.href= ROOT_URL+"company/organization.php"}
function link_0105(){location.href= ROOT_URL+"company/officer02.php"}
function link_010501(){location.href= ROOT_URL+"company/officer01.php"}
function link_010502(){location.href= ROOT_URL+"company/officer02.php"}
function link_010503(){location.href= ROOT_URL+"company/officer03.php"}
function link_010504(){location.href= ROOT_URL+"company/officer04.php"}
function link_0106(){location.href= ROOT_URL+"company/technology.php"}
function link_0107(){location.href= ROOT_URL+"company/intellect.php"}
function link_0108(){location.href= ROOT_URL+"company/media.php?board_name=tbl_board_media"}
function link_010801(){location.href= ROOT_URL+"company/media.php?board_name=tbl_board_media"}
function link_010802(){location.href= ROOT_URL+"company/brochure.php?board_name=tbl_board_brochure"}
function link_0109(){location.href= ROOT_URL+"company/ci.php"}
function link_0110(){location.href= ROOT_URL+"company/location.php"}

/****** ¾÷¹«ºÐ¾ß ***************************/
function link_02(){location.href= ROOT_URL+"business/main.php"}
function link_0201(){location.href= ROOT_URL+"business/general.php"}
function link_0202(){location.href= ROOT_URL+"business/engineering.php"}
function link_0203(){location.href= ROOT_URL+"business/field.php"}
function link_0204(){location.href= ROOT_URL+"business/path.php"}
function link_0205(){location.href= ROOT_URL+"business/research.php"}
function link_0206(){location.href= ROOT_URL+"business/abroad.php"}

/****** »ç¾÷½ÇÀû ***************************/
function link_03(){location.href= ROOT_URL+"results/main.php"}
function link_0301(){location.href= ROOT_URL+"results/biz_results.php?cate=0101"}
function link_030101(){location.href= ROOT_URL+"results/biz_results.php?cate=0101"}
function link_030102(){location.href= ROOT_URL+"results/biz_results.php?cate=0102"}
function link_030103(){location.href= ROOT_URL+"results/biz_results.php?cate=0103"}
function link_030104(){location.href= ROOT_URL+"results/biz_results.php?cate=0104"}
function link_030105(){location.href= ROOT_URL+"results/biz_results.php?cate=0105"}

function link_0302(){location.href= ROOT_URL+"results/biz_results.php?cate=0201"}
function link_030201(){location.href= ROOT_URL+"results/biz_results.php?cate=0201"}
function link_030202(){location.href= ROOT_URL+"results/biz_results.php?cate=0202"}
function link_0303(){location.href= ROOT_URL+"results/biz_results.php?cate=0301"}
function link_030301(){location.href= ROOT_URL+"results/biz_results.php?cate=0301"}
function link_030302(){location.href= ROOT_URL+"results/biz_results.php?cate=0302"}
function link_030303(){location.href= ROOT_URL+"results/biz_results.php?cate=0303"}
function link_030304(){location.href= ROOT_URL+"results/biz_results.php?cate=0304"}


/****** °¨¸®ÇöÀå ***************************/
function link_0401(){location.href= ROOT_URL+"field/field.php"}


/****** °í°´¸¶´ç ***************************/
function link_0501(){location.href= ROOT_URL+"customer/news.php?board_name=tbl_board_news"}
function link_0502(){location.href= ROOT_URL+"customer/club.php?board_name=tbl_board_club"}
function link_0503(){location.href= ROOT_URL+"customer/blog.php?board_name=tbl_board_blog"}


/****** Ã¤¿ëÁ¤º¸ ***************************/
function link_0601(){location.href= ROOT_URL+"recruit/information.php"}
function link_0602(){location.href= ROOT_URL+"recruit/application.php"}



/****** »çÀÌÆ®¸Ê ***************************/
function link_07(){location.href= ROOT_URL+"sitemap/sitemap.php"}


/****** ÀÌ¸ÞÀÏ°ÅºÎ ***************************/
function link_08(){location.href= ROOT_URL+"email/email.php"}


/****** ÀÎÆ®¶ó³Ý ***************************/
function link_09(){location.href= ROOT_URL+"/intranet/index.php"}

function win_link(str){
	window.open(str,"WIN_NEW","");
}

function map_link(str){
	var area='';
	switch(str){
	case(1): area='¼­¿ï'; break;
	case(2): area='¼öµµ±Ç'; break;
	case(4): area='ÃæÃ»µµ'; break;	
	case(5): area='°­¿øµµ'; break;
	case(6): area='°æ»óµµ'; break;
	case(7): area='Àü¶óµµ'; break;
	}
	location.href = "/field/field.php?area="+area;
}



/*############ ÇÃ·¡½Ã È£Ãâ ÇÔ¼ö ############*/
function flash_url(id,url,w,h,bg,t,vars){
document.write("\
<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0' width="+w+" height="+h+" id="+id+">\
<param name='movie' value="+url+" />\
<param name='wmode' value="+t+" />\
<param name='bgcolor' value="+bg+" />\
<param name='allowScriptAccess' value='sameDomain' />\
<param name='quality' value='high' />\
<param name='menu' value='false' />\
<param name='FlashVars' value="+vars+" />\
<embed src="+url+" width="+w+" height="+h+" name="+id+" wmode="+t+" bgcolor="+bg+" allowScriptAccess='sameDomain' quality='high' type='application/x-shockwave-flash' pluginspage='http:/.macromedia.com/go/getflashplayer' />\
</object>\
");
}


/****** ¿øÇÏ´Â Å©±â·Î ÆË¾÷ ¶ì¿ì±â ****************************/

var win=null;

function open_link(mypage,myname,w,h,scroll,pos){
if(pos=="default"){
		LeftPosition=20;TopPosition=20;
	}	
if(pos=="random"){
		LeftPosition=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;TopPosition=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;
	}
	if(pos=="center"){
		LeftPosition=(screen.width)?(screen.width-w)/2:100;TopPosition=(screen.height)?(screen.height-h)/2:100;
	} else if((pos!="center" && pos!="random" && pos!="default") || pos==null){
		LeftPosition=0;TopPosition=20} settings='width='+w+',height='+h+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=no';

		win=window.open(mypage,myname,settings);
		if(win.focus){win.focus();
	}
}
 
