// 페이지 콘텐츠 제목 function FnTopTitle() { var Title_Name = arguments[0]; var s = ""; s += "
"; s += " "; s += " "; s += " "; s += " "; s += " "; s += " "; s += "
 " + Title_Name + " 
"; s += "
"; $("#TopMenus").html(s); } // 메뉴 function Node(id, pid, Idx, Name, Folder, Files, img){ this.id = id; this.pid = pid; this.Idx = Idx; this.Name = Name; this.Folder = Folder; this.Files = Files.split(","); this.img = img; this.SelectYN = 0; this.ChildCnt = 0; this.Depth = 0; } function CMenu(oName, RootIdx){ this.Name = oName; this.aNodes = []; this.iMenuNum = 0; this.RootIdx = RootIdx; this.Uri = (location.href.indexOf("?") > 0) ? "/" + location.href.substring(0, location.href.indexOf("?")).split("/").splice(3,10).join("/") : "/" + location.href.split("/").splice(3,10).join("/"); this.Folder = this.Uri.substring(0, this.Uri.lastIndexOf("/")+1); this.File = this.Uri.substring(this.Uri.lastIndexOf("/")+1, this.Uri.length); this.Add = function(id, pid, Idx, Name, Folder, Files, img){ this.aNodes[this.aNodes.length] = new Node(id, pid, Idx, Name, Folder, Files, img); for(var i=0; i 1){ for(var i=0; i" + item.Name + ""; } s += "
PC버전
"; return s; } this.TopMenus = function(){ var s = ""; var idx = -1; var css = ""; var Hwidth = ""; for(var i=1,item; item=this.aNodes[i]; i++){ if(this.RootIdx.toString() == item.pid.toString() && item.Folder.toUpperCase() == this.Folder.substr(0, item.Folder.length).toUpperCase()){ s += "
"; s += " "; s += " "; s += " "; s += " "; s += " "; s += " "; s += "
 " + item.Name + " 
"; s += "
"; idx = i; break; } } if (typeof this.aNodes[idx] != "undefined") { //switch(parseInt(this.aNodes[idx].Idx, 10)){ // case 1: // 내강의실 // case 2: // 결제/배송관리 // case 3: // 공지사항 // case 5: // 전체강의 // case 7: // 상담실 // case 8: // 모바일 이용안내 // s += ""; // s += " "; // Hwidth = "width:" + (100 / this.aNodes[idx].ChildCnt).toString() + "%;font-size:1.1em;"; // for(var i=1,item; item=this.aNodes[i]; i++){ // if(this.aNodes[idx].id.toString() == item.pid.toString()){ // css = "color:#6E6D6D;background:#ffffff;border:1px solid #e2e2e2;text-align:center;"; // if(item.Folder.toUpperCase() == this.Folder.substr(0, item.Folder.length).toUpperCase()) css = "color:#FFFFFF;font-weight:bold;background:#283F58;border:1px solid #e2e2e2;text-align:center"; // // s += ""; // } // } // s += " "; // s += "
"; // s += item.Name; // s += "
"; // break; //} if (this.aNodes[idx].ChildCnt>0) { s += ""; s += " "; Hwidth = "width:" + (100 / this.aNodes[idx].ChildCnt).toString() + "%;font-size:1.1em;"; for(var i=1,item; item=this.aNodes[i]; i++){ if(this.aNodes[idx].id.toString() == item.pid.toString()){ css = "color:#6E6D6D;background:#ffffff;border:1px solid #e2e2e2;text-align:center;"; if(item.Folder.toUpperCase() == this.Folder.substr(0, item.Folder.length).toUpperCase()) css = "color:#FFFFFF;font-weight:bold;background:#283F58;border:1px solid #e2e2e2;text-align:center"; s += ""; } } s += " "; s += "
"; s += item.Name; s += "
"; } } return s; } } var oMenu = null; oMenu = new CMenu("oMenu", 0); oMenu.Add(0, null, 0, "Root", "/MobileContents/", "Index.asp"); oMenu.Add(1, 0, 1, "내 강의실", "/MobileContents/MyClass/", "Index.asp", ""); oMenu.Add(11, 1, 1, "종합반" , "/MobileContents/MyClass/TogetherClass/" , "Index.asp", ""); oMenu.Add(12, 1, 2, "단과반" , "/MobileContents/MyClass/EachClass/" , "Index.asp", ""); oMenu.Add(13, 1, 3, "복습강의" , "/MobileContents/MyClass/EtcClass/" , "Index.asp", ""); oMenu.Add(14, 1, 4, "공개특강" , "/MobileContents/MyClass/PublicClass/" , "Index.asp", ""); oMenu.Add(2, 0, 2, "결제/배송관리", "/MobileContents/Payment/", "Index.asp", ""); oMenu.Add(21, 2, 1, "장바구니" , "/MobileContents/Payment/Basket/" , "Index.asp", ""); oMenu.Add(22, 2, 2, "주문/배송조회" , "/MobileContents/Payment/OrderList/" , "Index.asp", ""); oMenu.Add(23, 2, 3, "내맘대로결제" , "/MobileContents/Payment/IWill/" , "Index.asp", ""); oMenu.Add(3, 0, 3, "공지사항", "/MobileContents/Notice/", "Index.asp", ""); oMenu.Add(31, 3, 1, "공지사항" , "/MobileContents/Notice/Notice/" , "Index.asp", ""); oMenu.Add(32, 3, 2, "신규강의" , "/MobileContents/Notice/OpenStudy/" , "Index.asp", ""); oMenu.Add(33, 3, 3, "신간교재" , "/MobileContents/Notice/NewBooks/" , "Index.asp", ""); oMenu.Add(4, 0, 4, "강사소개", "/MobileContents/TeacherInfo/", "Index.asp", ""); oMenu.Add(5, 0, 5, "전체강의", "/MobileContents/GLecture/", "Index.asp", ""); //oMenu.Add(51, 5, 1, "전체강의" , "/MobileContents/GLecture/GLecture/" , "Index.asp", ""); //oMenu.Add(52, 5, 2, "수험영역" , "/MobileContents/GLecture/ExamArea/" , "Index.asp", ""); //oMenu.Add(53, 5, 3, "과목" , "/MobileContents/GLecture/ExamSubject/" , "Index.asp", ""); //oMenu.Add(54, 5, 4, "강사" , "/MobileContents/GLecture/ExamTeacher/" , "Index.asp", ""); oMenu.Add(6, 0, 6, "수험서몰", "/MobileContents/BooksMall/", "Index.asp", ""); oMenu.Add(7, 0, 7, "상담실", "/MobileContents/Consult/", "Index.asp", ""); oMenu.Add(71, 7, 1, "온라인강의", "/MobileContents/Consult/GOnConsult/" , "Index.asp", ""); oMenu.Add(72, 7, 2, "학원강의" , "/MobileContents/Consult/GOffConsult/" , "Index.asp", ""); oMenu.Add(73, 7, 3, "수험서" , "/MobileContents/Consult/BooksMallConsult/" , "Index.asp", ""); oMenu.Add(8, 0, 8, "모바일 이용안내", "/MobileContents/FAQ/", "Index.asp", ""); oMenu.Add(81, 8, 1, "설치및주요기능", "/MobileContents/FAQ/MobileInstall/" , "Index.asp", ""); oMenu.Add(82, 8, 2, "서비스안내" , "/MobileContents/FAQ/MobileService/" , "Index.asp", ""); oMenu.Add(83, 8, 3, "모바일FAQ" , "/MobileContents/FAQ/MobileFAQ/" , "Index.asp", ""); oMenu.Add(9, 0, 9, "찾아오시는 길", "/MobileContents/AcademyInfo/", "Index.asp", ""); /********************************************** 메뉴 **********************************************/ document.title = "AIFA 공인회계사, 세무사";