

	    document.loginform.username.focus();
	

function checkRequiredFields() {
	if (this.username.value == '' || this.password.value == '') {
		alert(i18('Please enter username and password.', 'misc'));
		return false;
	}
}
document.loginform.onsubmit = checkRequiredFields;
(function() {
	if (document.getElementById('register_div')) {
		document.getElementById('register_div').style.display = '';
	}
	if (document.getElementById('forgot_password_button')) {
		document.getElementById('forgot_password_button').style.display = '';
	}
})();


    function getHelpWindow(uiUserType, section, subsection, tab) {
        if (uiUserType != null && section != null) {
            newWin = window.open('/utils/help.php?sys=students&sy=' + uiUserType + '&se=' + section,'','width=300,height=350,resizable=1,menubar=no,scrollbars=yes,toolbar=no,statusbar=no');
        } else {
            newWin = window.open('/utils/help.php/utils/help.php?sy=students&se=login&ta=login','','width=300,height=350,resizable=1,menubar=no,scrollbars=yes,toolbar=no,statusbar=no');
        }
        newWin.focus();
        return false;
    }


function openTZPanel(url, w, h, sc, fb) {
    tzPanel = new YAHOO.widget.Panel('tzPanel', {
        contraintoviewport: true,
        underlay: 'none',
        modal: true,
        draggable: true,
        close: true,
        fixedcenter: true,
        width: '420px'
    });

    tzPanel.setHeader('Select Your Time Zone');
    tzPanel.setFooter(' ');
    tzPanel.render(document.body);
    tzPanel.show();
    tzPanel.setBody('<div><iframe width=' + w + ' src=' + url + '  scrolling=' + sc + ' height=' + h + ' + frameborder=' + fb + '></div>');
    tzPanel.center();
}


i18s['misc'] = [];
i18s['misc']["Accessible Mode is only recommended for users of assistive technologies. Some enhancements will be disabled. Are you sure you want to switch to Accessible Mode?"] = "";
i18s['misc']["Read More"] = "";
i18s['misc']["Read Less"] = "";
i18s['misc']["item"] = "";
i18s['misc']["Are you sure you want to delete this"] = "";
i18s['misc']["This cannot be undone."] = "";
i18s['misc']["Are you absolutely sure?"] = "";
i18s['misc']["Show Room Names"] = "";
i18s['misc']["Your session is about to expire!"] = "";
i18s['misc']["Your session has been inactive and will automatically log out in"] = "";
i18s['misc']["minutes unless you click"] = "";
i18s['misc']["keep me logged in"] = "";
i18s['misc']["keep me logged in"] = "";
i18s['misc']["logout"] = "Sign Out";
i18s['misc']["Loading"] = "";
i18s['misc']["Close"] = "";
i18s['misc']["Close"] = "";
i18s['misc']["Are you sure?"] = "";
i18s['misc']["Yes"] = "";
i18s['misc']["No"] = "";
i18s['misc']["Processing... please wait"] = "";
i18s['misc']["Fewer Filters"] = "";
i18s['misc']["More Filters"] = "";
