function MainMenu(num){
    if(num=="1"){
        location.href="http://www.shinhung.co.kr/sh_web/01_Customer/01_Seminar_01.aspx";
    }else if(num=="11"){
       location.href="http://www.shinhung.co.kr/sh_web/01_Customer/01_Seminar_01.aspx";
    }else if(num=="12"){
        location.href="http://www.shinhung.co.kr/sh_web/01_Customer/02_Webzine.aspx";
    }else if(num=="13"){
        location.href="http://www.shinhung.co.kr/sh_web/01_Customer/03_Open/01_OpenInfo.aspx";
    }else if(num=="14"){
        location.href="http://www.shinhung.co.kr/sh_web/01_Customer/04_SpecialAgent.aspx";
    }else if(num=="15"){
         location.href="http://www.shinhung.co.kr/sh_web/01_Customer/05_SelfCheck.aspx";
	}else if(num=="16"){
         location.href="http://www.shinhung.co.kr/sh_web/01_Customer/06_UsualCheck.aspx";
	}else if(num=="17"){
        location.href="http://www.shinhung.co.kr/sh_web/01_Customer/07_QA/01_Board.aspx?tb=tblShBoards&code=shfree";
	}else if(num=="18"){
        location.href="/sh_web/01_Customer/06_MGPoint_Move.aspx?par=MyPoint";
	}else if(num=="2"){
        location.href="http://www.shinhung.co.kr/sh_web/02_ProductInfo/01_MainProducts.aspx";
	}else if(num=="21"){
		MM_openBrWindow('http://www.dentalexpo.co.kr','expo','');
	}else if(num=="22"){
        location.href="http://www.shinhung.co.kr/sh_web/02_ProductInfo/01_MainProducts.aspx";
	}else if(num=="23"){
        location.href="http://www.shinhung.co.kr/sh_web/02_ProductInfo/03_DentalBooks.aspx";
	}else if(num=="24"){
        location.href="http://www.shinhung.co.kr/sh_web/02_ProductInfo/04_DentalAids.aspx";
	}else if(num=="25"){
         location.href="http://www.shinhung.co.kr/sh_web/02_ProductInfo/05_IWC_01.aspx";
	}else if(num=="26"){
         location.href="http://www.shinhung.co.kr/sh_web/02_ProductInfo/06_CustomerRecommend.aspx";
	}else if(num=="27"){
         location.href="http://www.shinhung.co.kr/sh_web/02_ProductInfo/07_ProductSearch.aspx";
    }else if(num=="28"){ //M
         location.href="http://www.shinhung.co.kr/sh_web/02_ProductInfo/00_M_01_Product.aspx";
	}else if(num=="3"){
        location.href="http://www.shinhung.co.kr/sh_web/03_Recruit/02_RecruitInfo2.aspx";
	}else if(num=="31"){
        location.href="http://www.shinhung.co.kr/sh_web/03_Recruit/01_EmployeRecommend.aspx";
	}else if(num=="32"){
        location.href="http://www.shinhung.co.kr/sh_web/03_Recruit/02_RecruitInfo2.aspx";
	}else if(num=="33"){
        location.href="http://www.shinhung.co.kr/sh_web/03_Recruit/03_OnlineApply/01_ApplyInfo.aspx";
	}else if(num=="34"){
         location.href="http://www.shinhung.co.kr/sh_web/03_Recruit/04_RecruitFAQ.aspx?tb=tblShRecBoards&code=shrecfaq";
    }else if(num=="35"){
         location.href="http://www.shinhung.co.kr/sh_web/03_Recruit/05_RecruitBoard.aspx?tb=tblShRecBoards&code=shrecqa";
	}else if(num=="4"){
         location.href="http://www.shinhung.co.kr/sh_web/04_Company/01_Info/02_About_01.aspx";
	}else if(num=="41"){
         location.href="http://www.shinhung.co.kr/sh_web/04_Company/01_Info/02_About_01.aspx";
	}else if(num=="42"){
         location.href="http://www.shinhung.co.kr/sh_web/04_Company/02_Public/01_News_01.aspx";
	}else if(num=="43"){
         location.href="http://www.shinhung.co.kr/sh_web/04_Company/03_Network/02_Factory.aspx";
    }else if(num=="51"){
		MM_openBrWindow('http://www.goldenian.com','goldenian','');
    }else if(num=="52"){
		MM_openBrWindow('http://www.dentaljob.co.kr','dentaljob','');
    }else if(num=="53"){
		MM_openBrWindow('http://www.dentalexpo.co.kr','expo','');
    }else if(num=="54"){
		MM_openBrWindow('http://www.dentalseminar.co.kr','dentalseminar','');
    }
}

function flashWrite(c){ 
   var flashStr = '<OBJECT CLASSID="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" WIDTH="610" HEIGHT="54">' +
   '<PARAM NAME="movie" VALUE="/sh_web/flash/navi.swf?c=' + c + '">' +
   '<PARAM name="QUALITY" value="high">' +
   '<PARAM name="wmode" value="transparent">' +
   '<EMBED SRC="/sh_web/flash/navi.swf" quality="high" wmode="transparent" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" WIDTH="610" HEIGHT="54"></EMBED>' +
   '</OBJECT>'
   document.write(flashStr);
   }

