function menu(num1, num2, num3) {
    switch (num1) {
        case 1:
            switch (num2) {
                case 1:
                    document.location.href = "/info/summary.aspx";
                    break;
                case 2:
                    document.location.href = "/info/ceo.aspx";
                    break;
                default:
                    document.location.href = "/info/summary.aspx";
                    break;
            }
            break;
        case 2:
            switch (num2) {
                case 1:
                    switch (num3) {
                        case 1:
                            document.location.href = "/activity/logic.aspx";
                            break;
                        case 2:
                            document.location.href = "/activity/education.aspx";
                            break;
                        case 3:
                            document.location.href = "/activity/communication.aspx";
                            break;
                        case 4:
                            document.location.href = "/activity/program_history.aspx";
                            break;
                        default:
                            document.location.href = "/activity/logic.aspx";
                            break;
                    }
                    break;
                case 2:
                    switch (num3) {
                        case 1:
                            document.location.href = "/activity/consumer_active.aspx";
                            break;
                        case 2:
                            document.location.href = "/activity/consumer_history.aspx";
                            break;
                        default:
                            document.location.href = "/activity/consumer_active.aspx";
                            break;
                    }
                    break;
                case 3:
                    switch (num3) {
                        case 1:
                            document.location.href = "/activity/growth_active.aspx";
                            break;
                        case 2:
                            document.location.href = "/activity/growth_agency.aspx";
                            break;
                        default:
                            document.location.href = "/activity/growth_active.aspx";
                            break;
                    }
                    break;
                default:
                    document.location.href = "/activity/logic.aspx";
                    break;
            }
            break;
        case 3:
            switch (num2) {
                case 1:
                    document.location.href = "/standard/standard.aspx";
                    break;
                case 2:
                    document.location.href = "/standard/rule.aspx";
                    break;
                default:
                    document.location.href = "/standard/standard.aspx";
                    break;
            }
            break;
        case 4:
            switch (num2) {
                case 1:
                    document.location.href = "/advice/advice.aspx";
                    break;
                case 2:
                    switch (num3) {
                        case 1:
                            document.location.href = "/advice/protection.aspx";
                            break;
                        case 2:
                            document.location.href = "/advice/report.aspx";
                            break;
                        default:
                            document.location.href = "/advice/protection.aspx";
                            break;
                    }
                    break;
                case 3:
                    document.location.href = "/advice/faq.aspx";
                    break;
                default:
                    document.location.href = "/advice/advice.aspx";
                    break;
            }
            break;
        case 5:
            switch (num2) {
                case 1:
                    document.location.href = "/etc/sitemap.aspx";
                    break;
                default:
                    document.location.href = "/etc/sitemap.aspx";
                    break;
            }
            break;
        default:
            document.location.href = "/";
            break;
    }

}

function gNaviClick(gnavi) {
    var gnavi;
    if (gnavi == "1") {
        document.location.href = "/";
    } else if (gnavi == "2") {
        document.location.href = "/advice/report.aspx";
    } else if (gnavi == "3") {
        document.location.href = "/etc/sitemap.aspx";
    } else if (gnavi == "4") {
        window.open('http://www.gscaltex.co.kr', '', '');
    }
}

function leftClick(leftnum) {
    var leftnum;
    if (leftnum == "1") {
        document.location.href = "/info/ceo.aspx";
    } else if (leftnum == "2") {
        document.location.href = "/activity/communication.aspx";
    } else if (leftnum == "3") {
        document.location.href = "/advice/faq.aspx";
    } else if (leftnum == "4") {
        document.location.href = "/advice/advice.aspx";
    }
}

function contentsClick(content) {
    var content;
    if (content == "1") {
        document.location.href = "/advice/report.aspx";
    } else if (content == "2") {
        document.location.href = "/advice/protection.aspx";
    }
}

function visualLink(visual) {
    var visual;
    if (visual == "1") {
        document.location.href = "/info/summary.aspx";
    } else if (visual == "2") {
        document.location.href = "/activity/consumer_active.aspx";
    } else if (visual == "3") {
        document.location.href = "/activity/growth_active.aspx";
    }
}

function logoClick() {
    document.location.href = "/";
}
