function mouseover(menu,url){
var overimg = eval("document.img_" + menu);
overimg.src = "/images/"+ url +"/"+ menu +"_o.gif";
}
function mouseout(menu,url){
var outimg = eval("document.img_" + menu);
outimg.src = "/images/"+ url +"/"+ menu +".gif";
}

function pop_compMap(num){
	var openUrl = "/html/popup/pop_compMap.asp?num="+num;
	window.open(openUrl, 'pop_compMap', 'width=400, height=350');
}

function pop_questRecruit(){
	location.href="/html/company/recruit/main.asp";
}

function pop_recruitReg(){
	window.open('/html/popup/pop_recruitReg.asp', 'pop_recruitReg', 'width=725, height=827, scrollbars=yes');
}

function pop_recruitRegModify(){
	window.open('/html/popup/pop_recruitReg.asp', 'pop_recruitReg', 'width=725, height=827, scrollbars=yes');
}

function pop_historyMap(fileName){
	var openUrl = "/html/popup/pop_historyMap.asp?filename="+fileName;
	window.open(openUrl, 'pop_historyMap', 'width=400, height=300');
}

function pop_customerQuestion(flag){
	var openUrl = "/html/popup/pop_customerQuestion.asp?ans_code="+ flag;
	window.open(openUrl, 'pop_customerQuestion', 'width=500, height=500');
}

function pop_customerQuestion2(flag){
	var openUrl = "/html/popup/pop_customerQuestion.asp?corpor_code="+ flag;
	window.open(openUrl, 'pop_customerQuestion', 'width=500, height=500');
}

function info(num){
	
	location.href="/html/products/control_abs.asp";
	if(num == 01){
		location.href="/html/products/control_abs.asp";
	}else if(num ==02){
		location.href="/html/products/Assy_Module.asp";
	}else if(num ==03){
		location.href="/html/products/Cockpit_Module.asp";
	}else if(num ==04){
		location.href="/html/products/audio_system.asp";
	}else if(num ==05){	
		location.href="/html/products/air_bag.asp";
	}else{
		location.href="/html/products/control_abs.asp";
	}
}
//////////////////////
function home(){
	location.href='/index.asp';			
}

function top100(){
	location.href='/html/company/index.asp';			
}
function top110(){
	location.href='/html/company/company_info.asp';			
}
function top120(){
	location.href='/html/company/company_ceo.asp';
}
function top130(){
	location.href='/html/company/coporation_index.asp';	
}
function top140(){
	location.href='/html/company/pr/pr_pds_list.asp';	
}
function top150(){
	location.href='/html/company/ir/ir_report.asp';	
}
function top160(){
	location.href='/html/company/recruit/index.asp';	
}



function left110(){
	location.href='/html/company/company_info.asp';		
}


function left111(){
	location.href='/html/company/company_vision.asp';
}
function left112(){
	location.href='/html/company/company_history_01.asp';
}
function left113(){
	location.href='/html/company/company_ci.asp';
}




function left120(){
	location.href='/html/company/company_ceo.asp';
}
function left121(){
	location.href='/html/company/company_ceo.asp';
}


function left130(){
	location.href='/html/company/coporation_index.asp';		
}
function left131(){
	location.href='/html/company/01_coporation_info.asp';
}
function left132(){
	location.href='/html/company/02_coporation_info.asp';	
}
function left133(){
	location.href='/html/company/03_coporation_info.asp';	
}
function left134(){
	location.href='/html/company/04_coporation_info.asp';			
}
function left135(){
	location.href='/html/company/05_coporation_info.asp';			
}
function left136(){
	location.href='/html/company/06_coporation_info.asp';		
}
function left137(){
	location.href='/html/company/07_coporation_info.asp';		
}






function left140(){
	location.href='/html/company/pr/pr_pds_list.asp';			
}
function left141(){
	location.href='/html/company/pr/pr_pds_list.asp';			
}
function left142(){
	location.href='/html/company/pr/tv_advert.asp';			
}
function left143(){
	location.href='/html/company/pr/magazine_advert.asp';
}


function left150(){
	location.href='/html/company/ir/ir_report.asp';			
}



function left160(){
	location.href='/html/company/recruit/index.asp';			
}
function left161(){
	location.href='/html/company/recruit/index.asp';			
}
function left162(){
	location.href='/html/company/recruit/info.asp';			
}
function left163(){
	location.href='/html/company/recruit/notice_list.asp';			
}
function left164(){
	location.href='/html/company/recruit/main.asp';
}
function left165(){
	location.href='/html/company/recruit/announcement.asp';			
}
function left166(){
	location.href='/html/company/faq/index.asp';			
}





function top200(){
	location.href='/html/products/products_main.asp';
}
function top210(){
	location.href='/html/products/Assy_Module.asp';
}
function top220(){
	location.href='/html/products/Cockpit_Module.asp';
}
function top230(){
	location.href='/html/products/control_abs.asp';
}
function top240(){
	location.href='/html/products/air_bag.asp';
}
function top250(){
	location.href='/html/products/audio_system.asp';
}
function top260(){
	location.href='/html/products/gearbox_kind.asp';
}
function top270(){
	location.href='/html/products/auto_parts.asp';
}
function top280(){
	location.href='/html/products/with_vision.asp';
}




function top300(){
	location.href='/html/rnd/index.asp';
}
function top310(){
	location.href='/html/rnd/rnd_lab_01.asp';
}
function top320(){
	location.href='/html/rnd/rnd_lab_04.asp';
}
function top330(){
	location.href='/html/rnd/rnd_lab_04_01.asp';
}


function top400(){
	location.href='/html/withmobis/withmobis_main.asp';			
}
function top410(){
	location.href='/html/withmobis/pr_joy02.asp';
}
function top420(){
	location.href='/html/withmobis/inquiry_01.asp';
}
function top430(){
	location.href='/html/withmobis/korea_car_200506.asp';
}
function top440(){
	location.href='/html/withmobis/sport_basketball.asp';
}



function left200(){
	location.href='/html/products/products_main.asp';
}
function left210(){
	location.href='/html/products/Assy_Module.asp';
}
function left220(){
	location.href='/html/products/Cockpit_Module.asp';
}
function left230(){
	location.href='/html/products/control_abs.asp';
}
function left240(){
	location.href='/html/products/air_bag.asp';
}
function left250(){
	location.href='/html/products/audio_system.asp';
}
function left260(){
	location.href='/html/products/gearbox_kind.asp';
}
function left270(){
	location.href='/html/products/auto_parts.asp';
}
function left280(){
	location.href='/html/products/with_vision.asp';
}
function left281(){
	location.href='/html/products/with_vision.asp';
}

function left282(){
	location.href='/html/products/with_part.asp';
}





function left310(){
	location.href='/html/rnd/rnd_lab_01.asp';
}
function left311(){
	location.href='/html/rnd/rnd_lab_01.asp';
}
function left312(){
	location.href='/html/rnd/rnd_lab_02.asp';
}

function left320(){
	location.href='/html/rnd/rnd_lab_03.asp';
}
function left330(){
	location.href='/html/rnd/rnd_lab_04.asp';
}
function left331(){
	location.href='/html/rnd/rnd_lab_04.asp';
}
function left332(){
	location.href='/html/rnd/rnd_lab_04_01.asp';
}





function left410(){
	location.href='/html/withmobis/pr_joy02.asp';
}
function left411(){
	location.href='/html/withmobis/pr_joy02.asp';
}
function left412(){
	location.href='/html/withmobis/pr_news_list.asp';
}
function left413(){
	location.href='/html/withmobis/pr_sport.asp';
}
function left414(){
	location.href='/html/withmobis/pr_board_200505.asp';
}

function left420(){
	location.href='/html/withmobis/inquiry_01.asp';
}
function left421(){
	location.href='/html/withmobis/inquiry_01.asp';
}
function left422(){
	location.href='/html/withmobis/inquiry_02.asp';
}

function left430(){
	location.href='/html/withmobis/korea_car_200506.asp';
}
function left431(){
	location.href='/html/withmobis/korea_car_200506.asp';
}
function left432(){
	location.href='/html/withmobis/korea_culture_200506.asp';
}
function left433(){
	location.href='/html/withmobis/korea_man_200506.asp';
}

function left440(){
	location.href='/html/withmobis/sport_basketball.asp';
}
function left441(){
	location.href='/html/withmobis/sport_basketball.asp';
}
function left442(){
	location.href='/html/withmobis/sport_arrow.asp';
}





function quick01(){
	window.open('/html/popup/pop_movie.asp', 'pop_movie', 'width=390, height=335');
}
function quick02(){
	window.open('/html/products/simulation.html','products','width=800,height=570,history=no,resizable=no,status=no,scrollbars=no,menubar=no');
}
function quick03(){
	location.href='/html/company/recruit/index.asp';
}
function quick04(){
	location.href='/html/customer_center/index.asp';
}








function movie(){
	window.open('/html/popup/pop_movie.asp', 'pop_movie', 'width=390, height=335');
}

function btmmenu01(){
	location.href='/html/company/recruit/index.asp';
}
function btmmenu02(){
	location.href='/html/withmobis/pr_joy02.asp';
}
function btmmenu03(){
	location.href='/html/customer_center/index.asp';
}
function sitemap(){
	location.href='/html/customer_center/sitemap.asp';
}
function contactus(){
	var openUrl = "/html/popup/pop_customerQuestion.asp?ans_code=B";
	window.open(openUrl, 'pop_customerQuestion', 'width=500, height=500');
}
function english(){
	//window.open('http://www.mobis.co.kr/eng/', 'english', '');
	top.location.href="http://www.mobis.co.kr/eng/";
}
function korean(){
	//window.open('http://www.mobis.co.kr/main.html', 'korean', '');
	top.location.href="http://www.mobis.co.kr/";
}
function japanese(){
	//window.open('http://www.mobis.co.jp', 'japan', '');
	top.location.href="http://www.mobis.co.jp";
}
function prlist(){
	location.href='/html/company/pr/pr_pds_list.asp';
}





function pop_map(num){
	if(num == 1){
		window.open('/html/company/pop_map.html','','toolbar=0, menubar=0, resizable=no, scrollbars = no, status = 0, width=400,height=350,top=0,left=0');
	}else if(num == 2){
		window.open('/html/company/pop_map02.html','','toolbar=0, menubar=0, resizable=no, scrollbars = no, status = 0, width=400,height=350,top=0,left=0');
	}else if(num == 3){
		window.open('/html/company/pop_map03.html','','toolbar=0, menubar=0, resizable=no, scrollbars = no, status = 0, width=400,height=350,top=0,left=0');
	}else if(num == 6){
		window.open('/html/company/pop_map06.html','','toolbar=0, menubar=0, resizable=no, scrollbars = no, status = 0, width=400,height=350,top=0,left=0');
	}else if(num == 7){
		window.open('/html/company/pop_map07.html','','toolbar=0, menubar=0, resizable=no, scrollbars = no, status = 0, width=400,height=350,top=0,left=0');
	}
	
}



function top10(){
}
function top20(){
}
function top30(){
}
function top40(){
}
function top50(){
}
function top60(){
}
function more01(){
	location.href='/html/company/01_coporation_info.asp';
}
function more02(){
	location.href='/html/company/02_coporation_info.asp';
}
function more03(){
	location.href='/html/company/03_coporation_info.asp';
}
function more04(){
	location.href='/html/company/04_coporation_info.asp';
}
function more05(){
	location.href='/html/company/05_coporation_info.asp';
}
function more06(){
	location.href='/html/company/06_coporation_info.asp';
}
function more07(){
	location.href='/html/company/07_coporation_info.asp';
}
function mail01(){
	pop_customerQuestion2('00001A');
}
function mail02(){
	pop_customerQuestion2('00002A');
}
function mail03(){
	pop_customerQuestion2('00004A');
}
function mail04(){
	pop_customerQuestion2('00005A');
}
function mail05(){
	pop_customerQuestion2('00003A');
}
function mail06(){
	pop_customerQuestion2('00006A');
}
function mail07(){
	pop_customerQuestion2('00007A');
}

function swf(src, w, h)
{
	html = '';
	html += '<object type="application/x-shockwave-flash" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="'+w+'" height="'+h+'">';
	html += '<param name="movie" value="'+src+'">';
	html += '<param name="quality" value="high">';
	html += '<param name="bgcolor" !value="transparent">';
	html += '<param name="swliveconnect" value="true">';
	html += '<embed src="'+src+'" quality=high bgcolor="transparent" width="'+w+'" height="'+h+'" swliveconnect="true" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"><\/embed>';
	html += '<\/object>';
	document.write(html);
}

function mainswf(src, w, h)
{
	html = '';
	html += '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="'+w+'" height="'+h+'">';
	html += '<param name="movie" value="'+src+'">';
	html += '<param name="wmode" value="transparent">';
	html += '<param name="allowScriptAccess" value="sameDomain">';
	html += '<param name="quality" value="high">';
	html += '<embed src="'+src+'" quality="high" bgcolor="#ffffff" width="'+w+'" height="'+h+'" name="main_flash" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />';
	html += '</object>';
	document.write(html);
}

function vodswf(src, w, h)
{
	html = '';
	html += '<object id="Streaming_click" classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" width="'+w+'" height="'+h+'">';
	html += '<param name="FILENAME" value="'+src+'">';
	html += '<param name="AutoStart" value="1">';
	html += '<param name="TransparentAtStart" value="1">';
	html += '<param name="AnimationAtStart" value="0">';
	html += '<param name="DisplaySize" value="0">';
	html += '<param name="ShowControls" value="0">';
	html += '<param name="Volume" value="-600">';
	html += '<param name="ShowDisplay" value="0">';
	html += '<param name="ShowStatusBar" value="0">';
	html += '<param name="AutoSize" value="0">';
	html += '<param name="ClickToPlay" value="0">';
	html += '<param name="AutoRewind" value="1">';
	html += '<embed src="'+src+'" quality="high" bgcolor="#ffffff" width="'+w+'" height="'+h+'" name="filename02" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />';
	html += '</object>';
	document.write(html);
}

function mpgswf(src, w, h)
{
	html = '';
    html += '<object id="Streaming_click" classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" width="'+w+'" height="'+h+'">';
	html += '<param name="FILENAME" value="'+src+'">';
	html += '<param name="AutoStart" value="1">';
	html += '<param name="TransparentAtStart" value="1">';
	html += '<param name="AnimationAtStart" value="0">';
	html += '<param name="DisplaySize" value="0">';
	html += '<param name="ShowControls" value="1">';
	html += '<param name="Volume" value="-600">';
	html += '<param name="ShowDisplay" value="0">';
	html += '<param name="ShowStatusBar" value="0">';
	html += '<param name="AutoSize" value="0">';
	html += '<param name="ClickToPlay" value="0">';
	html += '<param name="AutoRewind" value="1">';
	html += '<param name="wmode" value="transparent">';
	html += '<embed src="'+src+'" quality="high" bgcolor="#ffffff"  width="'+w+'" height="'+h+'" name="filename02" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />';
	html += '</object>';
	document.write(html);
}

var logVal="";
var returnVal = "";

function ch(){
	self.resizeTo(document.body.scrollWidth, document.body.scrollHeight);
}

function ch_csi(w,h){
	self.resizeTo(w,h);
}

//img Over
function imgsOver(folders,imgsName){
	if (document.all) {
    	eval('document.'+imgsName+'.src = "/images/'+folders+'/'+imgsName+'_on.gif"');
  	}
}
//Img out
function imgsOut(folders,imgsName){
	if (document.all) {
		eval('document.'+imgsName+'.src = "/images/'+folders+'/'+imgsName+'.gif"');
	}
}
/* Flash View Function                                                                          */
/* swfFile : SWF File Name, w : Width , h : height                                              */
function viewFlash(swfFile,w,h,swfNam){
		document.write("\
			<object width='"+w+"' height='"+h+"' name='"+swfNam+"' classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0'>\
				  <param name='allowScriptAccess' value='sameDomain' />\
				  <param name='movie' value='"+swfFile+"' />\
				  <param name='quality' value='high' />\
				  <embed width='"+w+"' height='"+h+"' src='"+swfFile+"' quality='high' bgcolor='#FFFFFF' name='"+swfNam+"' align='middle' allowScriptAccess='sameDomain' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />\
			</object>\
		");
}

function leftFlash(swfFile,w,h,swfNam,view){
	document.write("\
		<object width='"+w+"' height='"+h+"' name='"+swfNam+"' classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0'>\
			  <param name='allowScriptAccess' value='sameDomain' />\
			  <param name='movie' value='"+swfFile+"?deM="+view+"' />\
			  <param name='quality' value='high' />\
			  <embed width='"+w+"' height='"+h+"' src='"+swfFile+"?deM="+view+"' quality='high' bgcolor='#FFFFFF' name='"+swfNam+"' align='middle' allowScriptAccess='sameDomain' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />\
		</object>\
	");
}

function mainviewFlash(swfFile,w,h){
	document.write("\
		<object width='"+w+"' height='"+h+"' classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0' NAME='link' ID='link'>\
			  <param name='allowScriptAccess' value='sameDomain' />\
			  <param name='movie' value='"+swfFile+"' />\
			  <param name='quality' value='high' />\
			  <PARAM NAME=wmode VALUE=transparent />\
			  <embed width='"+w+"' height='"+h+"' src='"+swfFile+"' quality='high' bgcolor='#FFFFFF' align='middle' allowScriptAccess='sameDomain' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />\
		</object>\
	");
}
function linkFlash()
{
}
// Document Location Change Fucntion
// ltype : link target (0:_top, 1:_parent, 2:_blank, 3:_self, 4:MobisiFrm)
function mLink(url,linkType){
	if( linkType == 0 ){
		top.location.href = url;
	}
	if( linkType == 2 ){
		window.open(url, "Mobis");
	}
	if( linkType == 3 ){
		document.location.href = url;
	}
	if( linkType == 4 ){
		top.MobisiFrm.location.replace(url);
	}
}
//URL·Î Á¢±ÙÇÑ °æ¿ì iFrame ÆäÀÌÁö ¼Â¾÷
function setiFrm(FrmUrl){
	top.MobisiFrm.location.href = FrmUrl;
}
/*
function goFrmLink(PageNum,iFrmPageUrl){
	document.iFrmForm.action = iFrmPageUrl;
	document.iFrmForm.submit();
}
document.write("\
	<form name=iFrmForm method=post>\
	<input type=\"hidden\" name=\"ReturnUrl\" value=\"\">\
	</form>\
");
*/

//sub_main.asp Function
function goPage(PageNum){
	top.location.href = "http://www.mobis.co.kr/kor/sub_main.asp?num="+PageNum;
}
function gohome(){
	//top.location.href="https://www.mobis.co.kr:1100/kor/";
	top.location.href = "/index.asp";
}
function english(){
	//top.location.href="http://www.mobis.co.kr/eng/";
	top.location.href="http://www.mobis.co.kr/eng/";
}
function japan(){
top.location.href="http://www.mobis.co.jp/";
}
function china(){
	//window.open('http://www.mobis.com.cn');
	top.location.href="http://www.mobis.com.cn";
}
function korean(){
	top.location.href="http://www.mobis.co.kr/kor/";
}
// »çÀÌ¹ö°¨»ç½Ç
function cyber_pop()
{
location.href="javascript:m(43);";
	//var iMyHeight;
	//iMyWidth = (window.screen.width/2) - (330);
	//iMyHeight = (window.screen.height/2) - (400);
	//var win2 = window.open("/kor/cyber/cyber.html","","status=yes,height=660,width=816,resizable=no,left=" + iMyWidth + ",top=" + iMyHeight + ",screenX=" + iMyWidth + ",screenY=" + iMyHeight + ",scrollbars=yes");
	//var win2 = window.open('http://www.mobis.co.kr/kor/cyber/cyber.html','',"status=0,menubar=yes,toolbar=yes,height=642,width=816,resizable=no,left=" + iMyWidth + ",top=" + iMyHeight + ",screenX=" + iMyWidth + ",screenY=" + iMyHeight + ",scrollbars=yes");
	//window.open('/kor/cyber/cyber.html','','width=800,height=660,scrolls=no,status=ys,history=no');
}
function comm_page()
{
	location.href="/html/customer_center/index.asp";
}
// ½Ã¹Ä·¹ÀÌ¼Ç/¸ðºñ½ºÈ÷½ºÅä¸®/AUTOPARTS
function pop(num){
	var iMyWidth;
	var iMyHeight;
	iMyWidth = (window.screen.width/2) - (450);
	iMyHeight = (window.screen.height/2) - (350);

	var iMyWidth2;
	var iMyHeight2;
	iMyWidth2 = (window.screen.width/2) - (400);
	iMyHeight2 = (window.screen.height/2) - (350);

	if(num == 01){//simulation
		var win2 = window.open("http://www.mobis.co.kr/kor/images/flash/simu2/simu.html","popup1","status=0,height=646,width=907,resizable=no,left=" + iMyWidth + ",top=" + iMyHeight + ",screenX=" + iMyWidth + ",screenY=" + iMyHeight + ",scrollbars=no");
		//window.open('/kor/images/flash/simu/simu.html','','width=907,height=646,scrolls=no,status=no menubar=no');
	}
	else if(num == 02){//mobis history
		//var win2 = window.open("http://history.mobis.co.kr","popup2","status=0,height=711,width=1001,resizable=no,left=" + iMyWidth2 + ",top=" + iMyHeight2 + ",screenX=" + iMyWidth + ",screenY=" + iMyHeight2 + ",scrollbars=no");
		var win2 = window.open("http://history.mobis.co.kr","popup2","");
	}
	else if(num == 03){//auto parts
		var win2 = window.open("http://www.mobis.co.kr/kor/images/flash/simu/autoparts.html","popup3","status=0,height=570,width=800,resizable=no,left=" + iMyWidth2 + ",top=" + iMyHeight2 + ",screenX=" + iMyWidth + ",screenY=" + iMyHeight + ",scrollbars=no");
	}

}
// ¸ðÅÍ¼î
function motorshow(){
location.href="javascript:m(41);";
	//var iMyHeight;
	//iMyWidth = (window.screen.width/2) - (450);
	//iMyHeight = (window.screen.height/2) - (330);
	//var win2 = window.open('/html/withmobis/pr_joy02.asp','',"status=0,height=594,width=798,resizable=no,left=" + iMyWidth + ",top=" + iMyHeight + ",screenX=" + iMyWidth + ",screenY=" + iMyHeight + ",scrollbars=no");
	//window.open('/kor/images/flash/motorshow/motorshow.html','','width=798,height=594,scrolls=no,status=no,history=no');
}
//ÄíÅ° ÂüÁ¶
function getCookie(Name) {
	var search = Name + "="
	var returnvalue = "";
	if (document.cookie.length > 0) {
		offset = document.cookie.indexOf(search)
		if (offset != -1) {
			offset += search.length
			end = document.cookie.indexOf(";", offset);
			if (end == -1){
	 			end = document.cookie.length;
	 		}
			returnvalue = unescape(document.cookie.substring(offset, end))
		}
	}
	return returnvalue;
}
/********¸µÅ©2006.02.25*********/
//Å«¸Þ´º
function m(num)
{
	switch(num)
	 {
	case 10 :
		location.href="/html/company/company_info.asp";
		break;
	case 11 :
		location.href="/html/company/company_info.asp";
		break;
	case 12 :
		location.href="/html/company/company_ceo.asp";
		break;
	case 121 :
		location.href="/html/company/company_ceo.asp";
		break;
	case 122 :
		location.href="/html/company/company_policy.asp";
		break;
	case 13 :
		location.href="/html/company/coporation_index.asp";
		break;
	case 14 :
		location.href="/html/company/pr/pr_pds_list.asp";
		break;
	case 15 :
		location.href="/html/company/ir/ir_report.asp";
		break;
	case 16 :
		location.href="/html/company/recruit/index.asp";
		break;
	case 20 :
		location.href="/html/products/products_main.asp";
		break;
	case 21 :
		location.href="/html/products/Assy_Module.asp";
		break;
	case 22 :
		location.href="/html/products/Cockpit_Module.asp";
		break;
	case 23 :
		location.href="/html/business/environment/about.asp";
		break;
	case 24 :
		location.href="/html/products/control_abs.asp";
		break;
	case 25 :
		location.href="/html/products/air_bag.asp";
		break;
	case 26 :
		location.href="/html/products/audio_system.asp";
		break;
	case 27 :
		location.href="/html/products/gearbox_kind.asp";
		break;
	case 28 :
		location.href="/html/products/auto_parts.asp";
		break;
	case 29 :
		location.href="/html/products/with_vision.asp";
		break;
	case 30 :
		location.href="/html/rnd/index.asp";
		break;
	case 31 :
		location.href="/html/rnd/rnd_lab_01.asp";
		break;
	case 32 :
		location.href="/html/rnd/rnd_lab_04.asp";
		break;
	case 40 :
		location.href="/html/withmobis/pr_joy02.asp";
		break;
	case 41 :
		location.href="/html/withmobis/pr_joy02.asp";
		break;
	case 42 :
		location.href="/html/withmobis/inquiry_01.asp";
		break;
	case 43 :
		location.href="/html/withmobis/korea_car_200506.asp";
		break;
	case 44 :
		location.href="/html/withmobis/sport_basketball.asp";
		break;
	case 45 :
		location.href="/html/withmobis/xi.asp";
		break;
	case 99 :
		location.href="/html/customer_center/sitemap.asp";
		break;
	case 100 :
		location.href="/html/customer_center/family_site.asp";
		break;
	}

}
//¼­ºê¸Þ´º
function s(num)
{
	switch(num)
	 {
	case 11 :
		break;
	case 111 :
		location.href="/html/company/company_vision.asp";
		break;
	case 112 :
		location.href="/html/company/abroad.asp";
		break;
	case 113 :
		location.href="/html/company/company_history_01.asp";
		break;
	case 114 :
		location.href="/html/company/company_ci.asp";
		break;
	case 12 :
		//location.href="/html/company/company_ceo.asp";
		break;
		case 121 :
		location.href="/html/company/company_ceo.asp";
		break;
		case 122 :
		location.href="/html/company/company_policy.asp";
		break;
	case 13 :
		location.href="/html/company/coporation_index.asp";
		break;
	case 131 :
		location.href="/html/company/01_coporation_info.asp";
		break;
	case 132 :
		location.href="/html/company/02_coporation_info.asp";
		break;
	case 133 :
		location.href="/html/company/03_coporation_info.asp";
		break;
	case 134 :
		location.href="/html/company/04_coporation_info.asp";
		break;
	case 135 :
		location.href="/html/company/05_coporation_info.asp";
		break;
	case 136 :
		location.href="/html/company/06_coporation_info.asp";
		break;
	case 137 :
		location.href="/html/company/07_coporation_info.asp";
		break;
	case 14 :
		break;
	case 141 :
		location.href="/html/company/pr/pr_pds_list.asp";
		break;
	case 142 :
		location.href="/html/company/pr/tv_advert.asp";
		break;
	case 15 :
		location.href="/html/company/ir/ir_report.asp";
		break;
	case 151 :
		location.href="/html/company/ir/ir_report.asp";
		break;
	case 16 :
		break;
	case 161 :
		location.href="/html/company/recruit/index.asp";
		break;
	case 162 :
		location.href="/html/company/recruit/notice_list.asp";
		break;
	case 163 :
		location.href="/html/company/recruit/main.asp";
		break;
	case 164 :
		location.href="/html/company/recruit/announcement.asp";
		break;
	case 165 :
		location.href="/html/company/recruit/info.asp";
		break;
        case 166 :
location.href="/html/company/faq/index.asp";
		break;
        case 17 :
location.href="/html/customer_center/sitemap.asp";
		break;
        case 18 :
location.href="/html/customer_center/family_site.asp";
		break;
	case 21 :
		location.href="/html/products/Assy_Module.asp";
		break;
	case 22 :
		location.href="/html/products/Cockpit_Module.asp";
		break;
	case 23 :
		location.href="/html/products/control_abs.asp";
		break;
	case 24 :
		location.href="/html/products/air_bag.asp";
		break;
	case 25 :
		location.href="/html/products/audio_system.asp";
		break;
	case 26 :
		location.href="/html/products/gearbox_kind.asp";
		break;
	case 27 :
		location.href="/html/products/auto_parts.asp";
		break;
	case 28 :
		break;
	case 281 :
		location.href="/html/products/with_vision.asp";
		break;
	case 282 :
		location.href="/html/products/with_part.asp";
		break;
	case 31 :
		break;
	case 311 :
		location.href="/html/rnd/rnd_lab_01.asp";
		break;
	case 312 :
		location.href="/html/rnd/rnd_lab_02.asp";
		break;
	case 32 :
		break;
	case 321 :
		location.href="/html/rnd/rnd_lab_04.asp";
		break;
	case 322 :
		location.href="/html/rnd/rnd_lab_04_01.asp";
		break;
	case 41 :
		//location.href="/html/withmobis/pr_joy02.asp";
		break;
case 411 :
		location.href="/html/withmobis/pr_news_list.asp";
		break;
case 412 :
		location.href="/html/withmobis/pr_sport.asp";
		break;
case 413 :
		location.href="/html/withmobis/pr_board_200505.asp";
		break;
	case 42 :
		break;
	case 421 :
		location.href="/html/withmobis/inquiry_01.asp";
		break;
	case 422 :
		location.href="/html/withmobis/inquiry_02.asp";
		break;
	case 43 :
		break;
	case 431 :
		location.href="/html/withmobis/korea_car_200506.asp";
		break;
	case 432 :
		location.href="/html/withmobis/korea_culture_200506.asp";
		break;
	case 433 :
		location.href="/html/withmobis/korea_man_200506.asp";
		break;
	case 441 :
		location.href="/html/withmobis/sport_basketball.asp";
		break;
	case 442 :
		location.href="/html/withmobis/sport_arrow.asp";
		break;
	case 45 :
location.href="/html/withmobis/xi.asp";
		break;
	}
}
//È¸¿ø°¡ÀÔ
function login(){
	if(getCookie("MobisKey") != ""){
		//location.href="/kor/member/LogOut.asp"
		location.href="https://www.mobis.co.kr:1100/member/html/LogOut.asp"
	}
	else {
		location.href="https://www.mobis.co.kr:1100/member/Login.asp"
	}
}
//È¸¿ø°¡ÀÔ
function join(){
	if(getCookie("MobisKey") != ""){
		//alert("--- Á¤º¸¼öÁ¤");
		location.href="https://www.mobis.co.kr:1100/member/html/MemberUpdate.asp"
	}
	else {
		//alert("--- È¸¿ø°¡ÀÔ");
		location.href="https://www.mobis.co.kr:1100/member/html/PreJoin.asp"
	}
}


  function goFind() {
    //document.LoginForm.action = "https://member.mobis.co.kr:1100/html/FindID.asp";
    //document.LoginForm.ReturnHost.value = "<%=ReturnHost%>";
    //document.LoginForm.ReturnUrl.value = "http://mobis.co.kr/kor/intro.asp";
    //document.LoginForm.submit();

    document.LoginForm.action = "https://www.mobis.co.kr:1100/member/html/FindID.asp";
    document.LoginForm.ReturnHost.value = "<%=ReturnHost%>";
    document.LoginForm.ReturnUrl.value = "https://www.mobis.co.kr:1100/kor/intro.asp";
    document.LoginForm.submit();
  }
//--

function historypop(){
	alert("historypop");
	//window.open('http://history.mobis.co.kr','historypop','top=100,left=100,width=1001,height=711,history=no,resizable=no,status=no,scrollbars=no,menubar=no');
	window.open('http://history.mobis.co.kr','historypop','');	
}
function viewFlash(swfFile,w,h,swfNam){
		document.write("\
			<object width='"+w+"' height='"+h+"' name='"+swfNam+"' classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0'>\
				  <param name='allowScriptAccess' value='sameDomain' />\
				  <param name='movie' value='"+swfFile+"' />\
				  <param name='quality' value='high' />\
				  <embed width='"+w+"' height='"+h+"' src='"+swfFile+"' quality='high' bgcolor='#FFFFFF' name='"+swfNam+"' align='middle' allowScriptAccess='sameDomain' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />\
			</object>\
		");
}

function leftFlash(swfFile,w,h,swfNam,view){
	document.write("\
		<object width='"+w+"' height='"+h+"' name='"+swfNam+"' classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0'>\
			  <param name='allowScriptAccess' value='sameDomain' />\
			  <param name='movie' value='"+swfFile+"?deM="+view+"' />\
			  <param name='quality' value='high' />\
			  <embed width='"+w+"' height='"+h+"' src='"+swfFile+"?deM="+view+"' quality='high' bgcolor='#FFFFFF' name='"+swfNam+"' align='middle' allowScriptAccess='sameDomain' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />\
		</object>\
	");
}

function mainviewFlash(swfFile,w,h){
	document.write("\
		<object width='"+w+"' height='"+h+"' classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0' NAME='link' ID='link'>\
			  <param name='allowScriptAccess' value='sameDomain' />\
			  <param name='movie' value='"+swfFile+"' />\
			  <param name='quality' value='high' />\
			  <PARAM NAME=wmode VALUE=transparent />\
			  <embed width='"+w+"' height='"+h+"' src='"+swfFile+"' quality='high' bgcolor='#FFFFFF' align='middle' allowScriptAccess='sameDomain' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />\
		</object>\
	");
}