<!DOCTYPE html>


















<html>
<head>
    <title>Taleo Business Edition</title>
    <link type="text/css" rel="stylesheet" href="https://chu.tbe.taleo.net/dispatcher/cacheable/R20C00_20-08-13-22-47-39-20.C_prod/css/UIv9/tbe-basic-dispatcher-blue.css">
    <script type="text/javascript">
        var imagePath = "https://chu.tbe.taleo.net/dispatcher/img/UIv8/";
        var cssDependantImagePath = "https://chu.tbe.taleo.net/dispatcher/img/UIv8/blue/";
    </script>
    <meta http-equiv='content-type' content='text/html; charset=UTF-8'>
    <script type="text/javascript">

        function checkData() {
            if (document.theForm.uname.value == "") {
                document.theForm.uname.focus();
                alert("Please enter your user name.");
                return false;
            }
            else if (document.theForm.pword.value == "") {
                document.theForm.pword.focus();
                alert("Please enter your password.");
                return false;
            }
            if (document.theForm.org.value == "") {
                document.theForm.org.focus();
                alert("Please enter your company code.");
                return false;
            }
            return true;
        }

        if (top != self)
        {
            top.location = self.location;
        }

    </script>
</head>
<body class="login" >
<div class="container">
    <div class="pubbox">
        <div class="logo">
            
        </div>
        <h3 style="text-align:center">Customer Login</h3>
        <form AUTOCOMPLETE="OFF" action="https://chu.tbe.taleo.net/dispatcher/servlet/DispatcherServlet" method="post" name="theForm"
              onSubmit="return checkData();">
            <input type="hidden" name="act" value="login">
            
            <input type="hidden" name="link" value="">
            <input type="hidden" name="id" value="-1">
            <input type="hidden" name="lSign" value="">
            <input type="hidden" id="orgExists" value="false" />
            

            <table border=0 cellspacing=0 cellpadding=4 style="width: 100%">
                <tr>
                    <td class="text" colspan="2" style="padding-bottom: 10px">
                        
                        <div class="alert">
                            <img src='https://chu.tbe.taleo.net/dispatcher/cacheable/R20C00_20-08-13-22-47-39-20.C_prod/img/UIv8/warning.gif' alt=''>
                            Unknown company code MTVNETWORKS
                        </div>
                        
                    </td>
                </tr>
                <tr>
                    <td>
                        <label for="uname">User name:</label>
                        <input type="text" id="uname" name="uname" class="text" value="" size="35" maxlength="80">
                    </td>
                </tr>
                <tr>
                    <td>
                        <label for="pword">Password:</label>
                        <input type="password" id="pword" name="pword" class="text" value='' size="35" maxlength="80">
                    </td>
                </tr>
                <tr>
                    <td>
                        <div id="companyLabel" style="display: none">
                            <p style="float: right"><a href="javascript: void(0)" onclick="showCompanyCode()">Not Your Company?</a></p>
                            <label for="org">Company:</label>
                        </div>
                        <div id="companyCodeLabel" style="display: none">
                            <p style="float: right" id="backButton"><a href="javascript: void(0)" onclick="showCompanyName()">Back</a></p>
                            <label for="org">Company code:</label>
                        </div>

                        <input type="text" id="org" name="org" class="text" value=""
                               size="35" maxlength="80" style="display: none">
                        <p style="float: left;" id="orgName" style="display: none"><strong></strong>
                        </p>
                    </td>
                </tr>
                <tr>
                    <td colspan="2">
                        <input class="btn btn-primary" value=" Login " type="submit">
                    </td>
                </tr>
                <tr>
                    <td colspan="2">
                        <br />
                        <a href="forgotPassword.jsp">Forgot your password?</a>
                    </td>
                </tr>
            </table>
        </form>
    </div>
    <div class="pubfooter">
        <i>Copyright &#169; 2020, Oracle Corporation and/or its affiliates.</i>
    </div>
</div>
<div id="footer">
    <div class="logo">
        Powered by:
        <img class="logo" src="https://chu.tbe.taleo.net/dispatcher/cacheable/R20C00_20-08-13-22-47-39-20.C_prod/img/UIv8/oracle_taleo_cloud_service.png" width="160"
             height="55" alt="Taleo Business Edition">
    </div>
</div>
<script type='text/javascript'>
    if (document.theForm.uname.value == "")
        document.theForm.uname.focus();
    else
        document.theForm.pword.focus();

    function updateCustomerLogo() {
        var xmlHttp = new XMLHttpRequest();
        xmlHttp.onreadystatechange = function () {
            if (xmlHttp.readyState == 4 && xmlHttp.status == 200) {
                var response = JSON.parse(xmlHttp.responseText);
                if (response.logoExists) {
                    document.getElementById('logo').innerHTML = "<img src='"+response.logoPath+"' width=\"160\" height=\"55\" alt='null'/>";
                } else {
                    document.getElementById('logo').innerText = "null";
                }
            }
        }
        xmlHttp.open("GET", "https://chu.tbe.taleo.net/chu01/ats/customer/logo?org=null", true);
        xmlHttp.send(null);
    }

    function showCompanyCode() {
        document.getElementById("companyCodeLabel").style.display = "block";
        document.getElementById("org").style.display = "block";
        document.getElementById("companyLabel").style.display = "none";
        document.getElementById("orgName").style.display = "none";
        document.getElementsByClassName("logo")[0].style.display = "none";
    }
    function showCompanyName() {
        document.getElementById("companyLabel").style.display = "block";
        document.getElementById("orgName").style.display = "block";
        document.getElementById("companyCodeLabel").style.display = "none";
        document.getElementById("org").style.display = "none";
        document.getElementsByClassName("logo")[0].style.display = "block";
    }
    window.onload = function() {
        var orgExist = document.getElementById("orgExists").value;
        if(orgExist == "true") {
            updateCustomerLogo();
            showCompanyName();
        } else {
            showCompanyCode();
            document.getElementById("backButton").style.display = "none";
        }
    }

</script>
</body>
</html>
