// flashWrite(ÆÄÀÏ°æ·Î, °¡·Î, ¼¼·Î, ¾ÆÀÌµð, ¹è°æ»ö, º¯¼ö, À©µµ¿ì¸ðµå) 
function flashWrite(url,w,h,id,bg,vars,win){ 
// ÇÃ·¡½Ã ÄÚµå Á¤ÀÇ 
var flashStr= 
"<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0' width='"+w+"' height='"+h+"' id='"+id+"' align='middle'>"+ 
"<param name='allowScriptAccess' value='always' />"+ 
"<param name='movie' value='"+url+"' />"+ 
"<param name='FlashVars' value='"+vars+"' />"+ 
"<param name='wmode' value='"+win+"' />"+ 
"<param name='menu' value='false' />"+ 
"<param name='quality' value='high' />"+ 
"<param name='bgcolor' value='"+bg+"' />"+ 
"<embed src='"+url+"' FlashVars='"+vars+"' wmode='"+win+"' menu='false' quality='high' bgcolor='"+bg+"' width='"+w+"' height='"+h+"' name='"+id+"' align='middle' allowScriptAccess='always' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />"+ 
"</object>"; 
// ÇÃ·¡½Ã ÄÚµå Ãâ·Â 
document.write(flashStr); 
} 





/////////////////// ¸Þ´º ////////////////////
function menu(menucode){
	if(menucode == "100" || menucode == "101" ){location.href("/company/ceomessage.html");}
	if(menucode == "102"){location.href("/company/history.html");}
	if(menucode == "103"){location.href("/company/patent.html");}
	if(menucode == "104"){location.href("/company/equipment.html");}
	if(menucode == "105"){location.href("/company/flowchart.html");}
	if(menucode == "106"){location.href("/company/organization.html");}
	if(menucode == "107"){location.href("/company/map.html");}


	if(menucode == "200" || menucode == "201" ){location.href("/product/product01.html");}
	if(menucode == "202"){location.href("/product/product02.html");}


	if(menucode == "300" || menucode == "301" ){location.href("/notice/notice.html");}


	if(menucode == "400" || menucode == "401" ){location.href("/customer/qna.html");}
	if(menucode == "402"){
		window.open('http://kr.gobizkorea.com/popup/newhm_pop_inquiry.jsp?co_code=2007-00058&co_lang=1','one','status=no,toolbar=no,resizable=no,scrollbars=yes, menubar=no,width=800,height=600,top=10,left=10');}


	if(menucode == "home"){location.href("/index.html");}
	if(menucode == "english"){location.href("/eng/index.html");}
	if(menucode == "sitemap"){location.href("/sitemap/sitemap.html");}
	if(menucode == "contact"){location.href("mailto:fjqm6315@naver.com ?bcc=webmaster@smipc.or.kr");}
}
/////////////////////////////////////////////


/////////////////// È¸»ç¼Ò°³ ////////////////////
function L_company(menucode){
	if(menucode == "11" || menucode == "11" ){location.href("/company/ceomessage.html");}
	if(menucode == "12"){location.href("/company/history.html");}
	if(menucode == "13"){location.href("/company/patent.html");}
	if(menucode == "14"){location.href("/company/equipment.html");}
	if(menucode == "15"){location.href("/company/flowchart.html");}
	if(menucode == "16"){location.href("/company/organization.html");}
	if(menucode == "17"){location.href("/company/map.html");}
}
/////////////////////////////////////////////




/////////////////// Á¦Ç°¼Ò°³ ////////////////////
function L_product(menucode){
	if(menucode == "11" || menucode == "11" ){location.href("/product/product02.html");}
	if(menucode == "12"){location.href("/product/product01.html");}
}
/////////////////////////////////////////////




/////////////////// °øÁö»çÇ× ////////////////////
function L_notice(menucode){
	if(menucode == "11" || menucode == "11" ){location.href("/notice/notice.html");}
}
/////////////////////////////////////////////




/////////////////// °í°´Áö¿ø ////////////////////
function L_customer(menucode){
	if(menucode == "11" || menucode == "11" ){location.href("/customer/qna.html");}
	if(menucode == "12"){
		window.open('http://kr.gobizkorea.com/popup/newhm_pop_inquiry.jsp?co_code=2007-00058&co_lang=1','one','status=no,toolbar=no,resizable=no,scrollbars=yes, menubar=no,width=800,height=600,top=10,left=10');}
}
/////////////////////////////////////////////
