var MOutStr=""; function setFlash(src, w, h) { if(MOutStr != ""){ return ;} var Flash_html = ""; menutree=new Object(); menutree['서비스소개']=new Array('서비스소개'); menutree['다운로드']= new Array('최신다운로드','다운로드목록'); menutree['고객지원']= new Array('Q&A','게시판','공지사항'); menutree['마이페이지']= new Array('회원정보수정'); topmanu = new Array('서비스소개','다운로드','고객지원','마이페이지'); linkmenus=new Object(); linkmenus['서비스소개']="/contents/service_info.html?sm=1_1"; linkmenus['최신다운로드']="/contents/downlist.html?sm=2_1"; linkmenus['다운로드목록']="/common/board/list.html?a_gb=board&a_cd=1&a_item=0&sm=2_2"; linkmenus['Q&A']="/common/board/list.html?a_gb=board&a_cd=3&a_item=0&sm=3_1"; linkmenus['게시판']="/common/board/list.html?a_gb=board&a_cd=4&a_item=0&sm=3_2"; linkmenus['공지사항']="/common/board/list.html?a_gb=board&a_cd=2&a_item=0&sm=3_3"; linkmenus['회원정보수정']="/member/register/modifyform.html?a_gb=member&a_cd=2&a_item=0&sm=4_8"; var wlocation=window.location.href; var SELECT_TM=""; var SELECT_SM=""; MOutStr=""; MOutStr+=""; for(var i=0;i < topmanu.length;i++) { MOutStr+=""; console.log(i+"="+topmanu[i]); } MOutStr+=""; MOutStr += ""; MOutStr+="
"+topmanu[i]+"
"; for( var i = 0; i < topmanu.length; i++ ) { MOutStr += ""; } MOutStr += "
"; document.write(MOutStr); } function GoPage(smenu){ window.location.href=linkmenus[smenu]; } function subtm_over(thisobj){ thisobj.style.color='white'; } function subtm_out(thisobj){ thisobj.style.color='green'; } function tm_tableout(){ tm_all_out(); } function tm_out(thisobj){ thisobj.style.color='white'; } function tm_all_out(){ for(var i=0;i < topmanu.length;i++) { var obj = document.getElementById( "DIV_TM_" + topmanu[ i ] ); if( obj ) { obj.style.display = 'none'; } } } function tm_over(thisobj,menu){ console.log("tm_over:"+menu); thisobj.style.color='black'; tm_all_out(); var obj = document.getElementById( "DIV_TM_" + menu ); if( obj ) { obj.style.display = 'block'; } } function MM_openBrWindow(theURL,winName,features) { //v2.0 window.open(theURL,winName,features); }