You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
226 lines
5.6 KiB
226 lines
5.6 KiB
<!-- $Id: cindex.htt,v 1.2 2004/03/31 20:16:07 bcarico Exp $ -->
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE>Texas Commission on Environmental Quality - TCEQ Online Testing Center</TITLE>
|
|
</HEAD><BODY BACKGROUND="" BGCOLOR="#AFDCEC"
|
|
TEXT="#7F5A58" LINK="#980517"
|
|
VLINK="#810541" ALINK="#CCFB5D"><BASEFONT FACE="Arial">
|
|
<STYLE>
|
|
<!--
|
|
BUTTON {font-size: 10px;}
|
|
SELECT {font-size: 10px;}
|
|
INPUT {font-size: 10px;height: 20;}
|
|
-->
|
|
</STYLE>
|
|
<SCRIPT language="JavaScript">
|
|
<!--
|
|
|
|
// $Id: global.js,v 1.1.1.1 2004/01/09 09:22:07 jeffo Exp $
|
|
|
|
function right(e) {
|
|
if ("1" == 0) {
|
|
return true;
|
|
}
|
|
if ("gadmin" == "gadmin") {
|
|
return true;
|
|
}
|
|
if (navigator.appName == 'Netscape' && (e.which == 3 || e.which == 2)) {
|
|
alert("The source and all graphics on this page are proprietary and may not be viewed or copied.");
|
|
return true;
|
|
} else {
|
|
if (navigator.appName == 'Microsoft Internet Explorer' &&
|
|
(event.button == 2 || event.button == 3)) {
|
|
|
|
alert("The source and all graphics on this page are proprietary and may not be viewed or copied.");
|
|
return true;
|
|
}
|
|
}
|
|
return true;
|
|
}
|
|
|
|
|
|
// This function captures the keys pressed one at a time
|
|
function checkKeys(e) {
|
|
if (document.layers) {
|
|
if ( ! keyCodeOK(e, e.which) ) {
|
|
e.returnValue = null;
|
|
return false;
|
|
}
|
|
} else {
|
|
if ( ! keyCodeOK(e, event.keyCode) ) {
|
|
window.event.returnValue = null;
|
|
return false;
|
|
}
|
|
}
|
|
return true;
|
|
}
|
|
|
|
|
|
// We disallow some characters because they are used as delimiters in
|
|
// the text data files. This can be removed when we move to an RDBMS
|
|
// or change the delimiters.
|
|
function keyCodeOK(e, keyCode) {
|
|
// Disallowed characters: '&', ';'
|
|
if (keyCode == 38 || keyCode == 59 ) {
|
|
alert("'" + String.fromCharCode(keyCode) + "' may not be used, this character is reserved for internal use only.");
|
|
return false;
|
|
}
|
|
return true;
|
|
}
|
|
|
|
document.onkeypress = checkKeys;
|
|
document.onmousedown=right;
|
|
document.onmouseup=right;
|
|
if (document.layers)
|
|
window.captureEvents(Event.MOUSEDOWN);
|
|
if (document.layers)
|
|
window.captureEvents(Event.MOUSEUP);
|
|
window.onmousedown=right;
|
|
window.onmouseup=right;
|
|
|
|
//-->
|
|
</SCRIPT>
|
|
<SCRIPT language="JavaScript">
|
|
<!--
|
|
function wdw_onLoad() {
|
|
var browserName = navigator.appName;
|
|
var browserVersion = navigator.appVersion;
|
|
var sbrowser, nOffset, nVersion;
|
|
|
|
nOffset = browserName.indexOf("Microsoft",0);
|
|
nVersion = parseInt(browserVersion,10);
|
|
if (nOffset == -1) {
|
|
nOffset = browserName.indexOf("Netscape",0);
|
|
if (nOffset == -1) {
|
|
document.form1.browser.value = "NSCC/"+nVersion;
|
|
} else {
|
|
document.form1.browser.value = "NSNV/"+nVersion;
|
|
}
|
|
} else {
|
|
document.form1.browser.value = "MSIE/"+nVersion;
|
|
}
|
|
window.document.form1.uid.focus();
|
|
}
|
|
|
|
function validate_form(objForm) {
|
|
objForm.selfregister.value="";
|
|
if ((objForm.uid.value == "") || (objForm.pwd.value == "")) {
|
|
alert("You must Enter your assigned Login ID and Password");
|
|
objForm.uid.focus();
|
|
return false;
|
|
} else {
|
|
return true;
|
|
}
|
|
}
|
|
|
|
function login_click(oForm) {
|
|
if (validate_form(oForm)) {
|
|
oForm.submit();
|
|
return true;
|
|
} else {
|
|
return false;
|
|
}
|
|
}
|
|
function getalogin(){
|
|
document.form1.selfregister.value="Y";
|
|
document.form1.submit();
|
|
return true;
|
|
}
|
|
function language_select(sLang) {
|
|
var sURL;
|
|
sURL = "/cgi-bin/visitor.pl?clid=tceq&lang="+sLang;
|
|
window.document.location.replace(sURL);
|
|
return false;
|
|
}
|
|
|
|
window.onload=wdw_onLoad;
|
|
// -->
|
|
</SCRIPT>
|
|
|
|
|
|
|
|
<FORM NAME="form1" METHOD=POST ACTION="/cgi-bin/login.pl"
|
|
onSubmit="return validate_form(this)">
|
|
<CENTER>
|
|
<INPUT TYPE=HIDDEN NAME="home" VALUE="client">
|
|
<INPUT TYPE=HIDDEN NAME="browser" SIZE=10 VALUE="">
|
|
<INPUT TYPE=HIDDEN NAME="lang" VALUE="enu">
|
|
<INPUT TYPE=HIDDEN NAME="selfregister" VALUE="">
|
|
<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0>
|
|
<TR>
|
|
<TD ALIGN="center" VALIGN="top">
|
|
<FONT SIZE=1 COLOR="#BED7F9">
|
|
Texas Commission on Environmental Quality <BR>
|
|
<IMG SRC="/graphic/tceq.gif" width=150 BORDER=0><BR>
|
|
<BR>
|
|
</FONT>
|
|
</TD>
|
|
</TR>
|
|
<TR>
|
|
<TD ALIGN="center" VALIGN="top">
|
|
<FONT SIZE=4 COLOR="#BED7F9">
|
|
<B><I>TCEQ Online Testing Center</I></B><BR>
|
|
</FONT>
|
|
</TD>
|
|
</TR>
|
|
<TR>
|
|
<TD ALIGN="center" VALIGN="middle">
|
|
<BR>
|
|
<FONT SIZE=2 COLOR="#BED7F9">
|
|
Enter your assigned Login ID and Password<BR>
|
|
</FONT>
|
|
</TD>
|
|
</TR>
|
|
<TR>
|
|
<TD ALIGN="center" VALIGN="top" NOWRAP>
|
|
<TABLE CELLSPACING=1 CELLPADDING=1 BORDER=0>
|
|
<TR>
|
|
<TD COLSPAN=2 ALIGN="center" VALIGN="top">
|
|
<FONT COLOR="">
|
|
<CENTER>
|
|
<B></B><BR>
|
|
</CENTER>
|
|
</FONT>
|
|
</TD>
|
|
</TR>
|
|
<TR>
|
|
<TD ALIGN="right" VALIGN="top" NOWRAP>
|
|
Login ID:
|
|
</TD>
|
|
<TD ALIGN="left" VALIGN="middle" NOWRAP>
|
|
|
|
<INPUT TYPE=TEXT NAME="uid" SIZE=16 MAXLENGTH=32 VALUE="">
|
|
</TD>
|
|
</TR>
|
|
<TR>
|
|
<TD ALIGN="right" VALIGN="middle" NOWRAP>
|
|
Password:
|
|
</TD>
|
|
<TD ALIGN="left" VALIGN="middle" NOWRAP>
|
|
<INPUT TYPE=PASSWORD NAME="pwd" SIZE=10 MAXLENGTH=100 VALUE="">
|
|
<INPUT TYPE=HIDDEN NAME="clid" SIZE=10 MAXLENGTH=100 VALUE="tceq">
|
|
</TD>
|
|
</TR>
|
|
<TR>
|
|
<TD ALIGN="right" VALIGN="top" NOWRAP>
|
|
<FONT COLOR="#FFFF00">
|
|
|
|
</FONT>
|
|
</TD>
|
|
<TD ALIGN="left" VALIGN="middle" NOWRAP>
|
|
<FONT COLOR="#FFFF00">
|
|
<INPUT TYPE=hidden NAME="cnd" VALUE="Login">
|
|
<INPUT TYPE=BUTTON name="login" value="Login" onClick="return login_click(document.form1);">
|
|
</FONT>
|
|
</TD>
|
|
</TR>
|
|
<TR>
|
|
<TD ALIGN="right" VALIGN="top" NOWRAP>
|
|
<FONT size=1> </FONT>
|
|
</TD>
|
|
</TR>
|
|
</TABLE>
|
|
</TD>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
|