<!--METADATA TYPE="ASP_DEBUG_INFO"
55918,212,49948
-->
<html xmlns:fo="
xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:cv="Covansys-namespace">
<head>
<META http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>WRTS - Source</title>
<META http-equiv="PRAGMA" content="NO-CACHE"><!--GILS META TAG SYSTEM-->
<link type="text/css" rel="stylesheet" href="WRTS.css">
<link type="text/css" rel="stylesheet" href="trs-choose.css"><script language="JavaScript" src="scripts/historymanager.js"></script><script language="JavaScript" src="scripts/makeNewWindow.js"></script><script language="JavaScript" src="scripts/submitForm.js"></script><script language="JavaScript" src="scripts/cursor.js"></script><script language="JavaScript" src="scripts/Masks.js"></script><script language="JavaScript" src="scripts/rollover.js"></script><script language="JavaScript" src="scripts/submitbuttons.js"></script><script language="JavaScript" src="scripts/submitselect.js"></script><script language="JavaScript">
var firstFocus = ""; // where to place first focus. default
// is first focusable field
var bWaiting = false; // in wait mode
var currentCursor = 'auto'; // current cursor to be displayed
aTabs = new Array(); // array to hold current tabs
function okd()
{
switch (event.keyCode)
{
case 120: // f9
{
document.main.reset();
break;
}
default:
}
}
window.document.attachEvent("onkeydown", okd)
</script><script language="JavaScript" src="scripts/noTabFunctions.js"></script><script language="JavaScript">
function EnableDisable(submitform,btnType)
{
if (btnType=="surface" || btnType=="surface1"

{
submitform("/xml/row/wr_doc_source_type_id_ground"

.value=""
submitform("/xml/row/wr_doc_source_nm_ground"

.value=""
submitform("/xml/row/wr_doc_source_well_tag_nr"

.value=""
submitform("/xml/row/wr_doc_source_nm_reservoir"

.value=""
submitform("/xml/row/wr_doc_source_storage_acre_ft_qt"

.value=""
submitform("/xml/row/res_source_nm"

.value=""
submitform("/xml/row/wr_doc_source_type_id_ground"

.disabled=true;
submitform("/xml/row/wr_doc_source_nm_ground"

.disabled=true;
submitform("/xml/row/wr_doc_source_well_tag_nr"

.disabled=true;
submitform("/xml/row/wr_doc_source_nm_reservoir"

.disabled=true;
submitform("/xml/row/wr_doc_source_storage_acre_ft_qt"

.disabled=true;
submitform("/xml/row/xsourcetype"

.value="surface";
var test = window.opener.document.forms[0];
test ("/xml/wrdocument/row/sourcetypesel"

.value="surface";
}
else if (btnType=="ground"

{
submitform("/xml/row/wr_doc_source_type_id_ground"

.disabled=false;
submitform("/xml/row/wr_doc_source_nm_ground"

.disabled=false;
submitform("/xml/row/wr_doc_source_well_tag_nr"

.disabled=false;
submitform("/xml/row/res_source_nm"

.value=""
submitform("/xml/row/wr_doc_source_nm_reservoir"

.value="";
submitform("/xml/row/wr_doc_source_storage_acre_ft_qt"

.value="";
submitform("/xml/row/wr_doc_source_nm_reservoir"

.disabled=true;
submitform("/xml/row/wr_doc_source_storage_acre_ft_qt"

.disabled=true;
submitform("/xml/row/surf_source_nm"

.value=""
submitform("/xml/row/tributary_source_nm"

.value=""
submitform("/xml/row/xsourcetype"

.value="ground";
var test = window.opener.document.forms[0];
test ("/xml/wrdocument/row/sourcetypesel"

.value="ground";
}
else if (btnType=="reservoir"

{
submitform("/xml/row/wr_doc_source_nm_reservoir"

.disabled=false;
submitform("/xml/row/wr_doc_source_storage_acre_ft_qt"

.disabled=false;
submitform("/xml/row/wr_doc_source_nm_reservoir"

.value="";
submitform("/xml/row/wr_doc_source_storage_acre_ft_qt"

.value="";
submitform("/xml/row/wr_doc_source_type_id_ground"

.value=""
submitform("/xml/row/wr_doc_source_nm_ground"

.value=""
submitform("/xml/row/wr_doc_source_well_tag_nr"

.value=""
submitform("/xml/row/wr_doc_source_type_id_ground"

.disabled=true;
submitform("/xml/row/wr_doc_source_nm_ground"

.disabled=true;
submitform("/xml/row/wr_doc_source_well_tag_nr"

.disabled=true;
submitform("/xml/row/surf_source_nm"

.value=""
submitform("/xml/row/tributary_source_nm"

.value=""
submitform("/xml/row/xsourcetype"

.value="reservoir";
var test = window.opener.document.forms[0];
test ("/xml/wrdocument/row/sourcetypesel"

.value="reservoir";
}
if (btnType == "surface1"

{
return true;
}
else
{
return false;
}
}
function trim(strInputString)
{
var strCharVal = strInputString.substring(0, 1);
while (strCharVal == " "

{
strInputString = strInputString.substring(1, strInputString.length);
strCharVal = strInputString.substring(0, 1);
}
strCharVal = strInputString.substring(strInputString.length-1, strInputString.length);
while (strCharVal == " "

{
strInputString = strInputString.substring(0, strInputString.length-1);
strCharVal = strInputString.substring(strInputString.length-1, strInputString.length);
}
return strInputString;
}
function validate(submitform,mode)
{
var wria;
var county;
var sourcetypenm;
var twp;
var rge;
var intTwp;
var intrge;
var strrge1;
var strrge2;
var strTwp1;
var strTwp2;
var sec;
var ne="NE"
var ne1="ne";
var nw="NW";
var nw1="nw"
var sd ="SE";
var sd1="se"
var sw ="SW";
var sw1="sw"
var lat ="";
var long ="";
var gndtype="";
var WEST_CAP="W";
var WEST_SM="w";
var EAST_CAP="E";
var EAST_SM="e";
var strLastChar;
var intDecimalValue;
wria= submitform("/xml/row/wr_doc_source_wria_id"

[submitform("/xml/row/wr_doc_source_wria_id"

.selectedIndex].text;
submitform("/xml/row/wria_cd"

.value=wria;
county = submitform("/xml/row/wr_doc_source_county_id"

[submitform("/xml/row/wr_doc_source_county_id"

.selectedIndex].text;
submitform("/xml/row/county_nm"

.value=county;
if (submitform("/xml/row/wr_doc_source_type_id_ground"

.disabled == false )
{
gndtype= submitform("/xml/row/wr_doc_source_type_id_ground"

[submitform("/xml/row/wr_doc_source_type_id_ground"

.selectedIndex].text;
submitform("/xml/row/groundtypenm"

.value=gndtype;
}
try
{
if ( trim(submitform("/xml/row/wr_doc_source_type_id_ground"

.value) == "" &&
trim(submitform("/xml/row/wr_doc_source_nm_ground"

.value) == "" &&
trim(submitform("/xml/row/wr_doc_source_nm_reservoir"

.value) == "" &&
trim(submitform("/xml/row/wr_doc_source_wria_id"

.value) == "" &&
trim(submitform("/xml/row/wr_doc_source_county_id"

.value) == "" &&
trim(submitform("/xml/row/wr_doc_source_other_survey_ds"

.value) == "" &&
trim(submitform("/xml/row/wr_doc_source_county_id"

.value )=="" &&
trim(submitform("/xml/row/wr_doc_source_wria_id"

.value )=="" &&
trim(submitform("/xml/row/wr_doc_source_trs_township_nr"

.value)=="" &&
trim(submitform("/xml/row/wr_doc_source_trs_range_nr"

.value)=="" &&
trim(submitform("/xml/row/wr_doc_source_trs_section_nr"

.value)=="" &&
trim(submitform("/xml/row/wr_doc_source_trs_q_cd"

.value)=="" &&
trim(submitform("/xml/row/wr_doc_source_trs_qq_cd"

.value)=="" &&
trim(submitform("/xml/row/wr_doc_source_lat_lon_source_type_id"

.value) =="" &&
trim(submitform("/xml/row/wr_doc_source_lat_lon_datum_id"

.value )=="" &&
trim(submitform("/xml/row/wr_doc_source_trs_q_cd"

.value)=="" &&
trim(submitform("/xml/row/wr_doc_source_trs_qq_cd"

.value )=="" &&
trim(submitform("/xml/row/wr_doc_source_well_tag_nr"

.value )=="" &&
trim(submitform("/xml/row/wr_doc_source_storage_acre_ft_qt"

.value)=="" &&
trim(submitform("/xml/row/wr_doc_source_dd_latitude_qt"

.value) =="" &&
trim(submitform("/xml/row/wr_doc_source_dd_longitude_qt"

.value )=="" &&
trim(submitform("/xml/row/wr_doc_source_parcel_nr"

.value)=="" &&
trim(submitform("/xml/row/wr_doc_source_plat_ds"

.value) =="" &&
trim(submitform("/xml/row/wr_doc_source_other_survey_ds"

.value )=="" &&
trim(submitform("/xml/row/surf_source_nm"

.value) =="" &&
trim(submitform("/xml/row/tributary_source_nm"

.value)=="" &&
trim(submitform("/xml/row/wr_doc_source_nm_reservoir"

.value)=="" )
{
alert("No Data Entered.Use Back control to return to the At A Glance Tab."

;
return false;
}
}
catch(obl)
{
}
if ( (trim(submitform("/xml/row/wr_doc_source_type_id_ground"

.value) == "" &&
submitform("/xml/row/wr_doc_source_type_id_ground"

.disabled == false )||
trim(submitform("/xml/row/wr_doc_source_wria_id"

.value) == "" ||
trim(submitform("/xml/row/wr_doc_source_county_id"

.value) == "" )
{
alert("Data for a Required Field(s) is Missing. Please enter values for the same."

;
return false;
}
if (
(trim(submitform("/xml/row/wr_doc_source_trs_township_nr"

.value) == "" ) ||
(trim(submitform("/xml/row/wr_doc_source_trs_range_nr"

.value) == "" ) ||
(trim(submitform("/xml/row/wr_doc_source_trs_section_nr"

.value)=="" ))
{
alert("Incomplete Source TRS information. Complete Source TRS information is required to record a WR."

;
return false;
}
twp = trim(submitform("/xml/row/wr_doc_source_trs_township_nr"

.value);
intTwp = parseInt(twp,10);
if(intTwp < 1 || intTwp > 41)
{
alert("Please enter Value between '1.X' and '41.X' only where 'X' is either ' 0 'or '5'"

;
submitform("/xml/row/wr_doc_source_trs_township_nr"

.select();
return false;
}
else
{
strTwp1 = intTwp + ".0";
strTwp2 = intTwp + ".5";
if((parseFloat(twp) != strTwp1) && (parseFloat(twp) != strTwp2))
{
alert("Please enter Value between '1.X' and '41.X' only where 'X' is either ' 0 'or '5' "

;
submitform("/xml/row/wr_doc_source_trs_township_nr"

.select();
return false;
}
else
{
if(parseFloat(twp).toString() == intTwp.toString())
twp = parseFloat(twp)+".0";
submitform("/xml/row/wr_doc_source_trs_township_nr"

.value = twp +"N";
}
}
var WEST_CAP="W";
var WEST_SM="w";
var EAST_CAP="E";
var EAST_SM="e";
rge = trim(submitform("/xml/row/wr_doc_source_trs_range_nr"

.value);
strLastChar = rge.charAt(rge.length-1);
if( (isInteger(rge)== false) && (rge.length==1))
{
alert("Please enter Value between '1.X' and '47.X' only where 'X' is either ' 0 'or '5"

;
submitform("/xml/row/wr_doc_source_trs_range_nr"

.select();
return false;
}
intrge = parseInt(rge,10);
if(intrge < 1 || intrge > 47 )
{
alert("Please enter Value between '1.X' and '47.X' only where 'X' is either ' 0 'or '5'"

;
submitform("/xml/row/wr_doc_source_trs_range_nr"

.select();
return false;
}
else if ((strLastChar != WEST_CAP)&&(strLastChar != WEST_SM)&&(strLastChar != EAST_CAP)&&(strLastChar != EAST_SM))
{
if(intrge > 0 && intrge < 20)
{
alert("Please Append ' W' or' E' with the entered value"

;
submitform("/xml/row/wr_doc_source_trs_range_nr"

.select();
return false;
}
else
{
alert("Please Append either ' E' with the entered value"

;
submitform("/xml/row/wr_doc_source_trs_range_nr"

.select();
return false;
}
}
else if ((strLastChar == WEST_CAP)||(strLastChar == WEST_SM)||(strLastChar == EAST_CAP)||(strLastChar == EAST_SM))
{
if((intrge > 20 && intrge < 47)&&((strLastChar != EAST_CAP)&&(strLastChar != EAST_SM))||((strLastChar == WEST_CAP)&&(strLastChar== WEST_SM)))
{
alert("Please Append 'E' with the entered value"

;
submitform("/xml/row/wr_doc_source_trs_range_nr"

.select();
return false;
}
var strUpCase = strLastChar.toUpperCase();
var strLowCase = strLastChar.toLowerCase();
strrge1 = intrge + ".0" + strUpCase;
strrge2 = intrge + ".5" + strUpCase;
strrge3 = intrge + ".0" + strLowCase;
strrge4 = intrge + ".5" + strLowCase;
if (rge.indexOf("."

==-1)
{
rge = intrge + ".0" + strLastChar
}
if((rge != strrge1) && (rge != strrge2)&& (rge != strrge3)&& (rge != strrge4))
{
strrge1 = "0" + strrge1;
strrge2 = "0" + strrge2;
strrge3 = "0" + strrge3;
strrge4 = "0" + strrge4;
if((rge != strrge1) && (rge != strrge2)&& (rge != strrge3)&& (rge != strrge4))
{
alert("Please enter Value between '1.X' and '47.X' only where 'X' is either ' 0 'or '5' "

;
submitform("/xml/row/wr_doc_source_trs_range_nr"

.select();
return false;
}
else
{
submitform("/xml/row/wr_doc_source_trs_range_nr"

.value = rge;
}
}
else
{
submitform("/xml/row/wr_doc_source_trs_range_nr"

.value = rge;
}
}
sec = trim(submitform("/xml/row/wr_doc_source_trs_section_nr"

.value);
if(isInteger(sec))
{
if(parseInt(sec,10) < 1)
{
alert("Range between 1-77or 96"

;
submitform("/xml/row/wr_doc_source_trs_section_nr"

.select();
return false;
}
else if(parseInt(sec,10) > 77)
{
if(parseInt(sec,10) != 96)
{
alert("Range between 1-77or 96 "

;
submitform("/xml/row/wr_doc_source_trs_section_nr"

.select();
return false;
}
}
}
else
{
alert("Range between 1-77or 96"

;
submitform("/xml/row/wr_doc_source_trs_section_nr"

.select();
return false;
}
var qtr1 = trim(submitform("/xml/row/wr_doc_source_trs_q_cd"

.value);
var qtr2 = trim(submitform("/xml/row/wr_doc_source_trs_qq_cd"

.value);
if (qtr1 != ""

{
if(qtr1 != ne && qtr1 != nw && qtr1 != sd && qtr1 != sw&&qtr1 != ne1 &&qtr1 != nw1 &&qtr1 != sd1 &&qtr1 != sw1)
{
alert("Enter any one of these ne,se,sw,nw "

;
submitform("/xml/row/wr_doc_source_trs_q_cd"

.select();
return false;
}
}
if (qtr2 != ""

{
if(qtr2 != ne && qtr2 != nw &&qtr2 != sd && qtr2 != sw && qtr2 != ne1 && qtr2 != nw1 && qtr2 != sd1 &&qtr2 != sw1)
{
alert("Enter any one of these ne,se,sw,nw "

;
submitform("/xml/row/wr_doc_source_trs_qq_cd"

.select();
return false;
}
}
lat =submitform("/xml/row/wr_doc_source_dd_latitude_qt"

.value;
if (!IsValidDecimal(lat,3,9))
{
submitform("/xml/row/wr_doc_source_dd_latitude_qt"

.select();
alert("Enter Values in Format is 999.999999999"

;
return false;
}
long =submitform("/xml/row/wr_doc_source_dd_longitude_qt"

.value;
if(!IsValidDecimal(long,3,9))
{
submitform("/xml/row/wr_doc_source_dd_longitude_qt"

.select();
alert("Enter Values in Format is 999.999999999"

;
return false;
}
if(trim(submitform("/xml/row/wr_doc_source_parcel_nr"

.value).length > 10)
{
alert("Parcel Number can be of maximum length 10 characters"

;
submitform("/xml/row/wr_doc_source_parcel_nr"

.select();
return false;
}
if(trim(submitform("/xml/row/wr_doc_source_plat_ds"

.value).length > 60)
{
alert("Plat Description can be of maximum length 60 characters "

;
submitform("/xml/row/wr_doc_source_plat_ds"

.select();
return false;
}
if(trim(submitform("/xml/row/wr_doc_source_other_survey_ds"

.value).length > 70)
{
alert("Other Survey can be of maximum length 70 charcters "

;
submitform("/xml/row/wr_doc_source_other_survey_ds"

.select();
return false;
}
if(trim(submitform("/xml/row/wr_doc_source_nm_ground"

.value).length > 50)
{
alert("Groundwater Name can be of maximum length 50 characters"

;
submitform("/xml/row/wr_doc_source_nm_ground"

.select();
return false;
}
if(trim(submitform("/xml/row/wr_doc_source_well_tag_nr"

.value).length > 7)
{
alert("Well Tag Number can be of maximum length 7 characters"

;
submitform("/xml/row/wr_doc_source_well_tag_nr"

.select();
return false;
}
if(trim(submitform("/xml/row/wr_doc_source_nm_reservoir"

.value).length > 50)
{
alert("Reservoir Name can be of maximum length 50 characters"

;
submitform("/xml/row/wr_doc_source_nm_reservoir"

.select();
return false;
}
if (isNaN(submitform("/xml/row/wr_doc_source_storage_acre_ft_qt"

.value))
{
alert("Storage Acre must be a Positive Number"

;
submitform("/xml/row/wr_doc_source_storage_acre_ft_qt"

.select();
return false;
}
else
{
if (trim(submitform("/xml/row/wr_doc_source_storage_acre_ft_qt"

.value) < 0 )
{
alert("Storage Acre must be a Positive Number"

;
submitform("/xml/row/wr_doc_source_storage_acre_ft_qt"

.select();
return false;
}
if(stripChar(trim(submitform("/xml/row/wr_doc_source_storage_acre_ft_qt"

.value)).length > 8)
{
alert("Storage Acre can be of maximum length 8 digits"

;
submitform("/xml/row/wr_doc_source_storage_acre_ft_qt"

.select();
return false;
}
}
ChangeCase(submitform);
var xtype;
xtype=submitform("/xml/row/xsourcetype"

.value;
if(mode == "addanother"

document.forms(0).action = "wrtspopup.asp?xstack=2&xadd=yes&xmethod=" + xtype
else
document.forms(0).action = "wrtspopup.asp?xstack=2&xmethod=" + xtype
document.forms(0).submit;
return true;
}
function ChangeCase(submitform)
{
submitform("/xml/row/wr_doc_source_trs_range_nr"

.value = replace(submitform("/xml/row/wr_doc_source_trs_range_nr"

.value,'n','N')
submitform("/xml/row/wr_doc_source_trs_range_nr"

.value = replace(submitform("/xml/row/wr_doc_source_trs_range_nr"

.value,'w','W')
submitform("/xml/row/wr_doc_source_trs_range_nr"

.value = replace(submitform("/xml/row/wr_doc_source_trs_range_nr"

.value,'e','E')
submitform("/xml/row/wr_doc_source_trs_q_cd"

.value = replace(submitform("/xml/row/wr_doc_source_trs_q_cd"

.value,'ne','NE')
submitform("/xml/row/wr_doc_source_trs_q_cd"

.value = replace(submitform("/xml/row/wr_doc_source_trs_q_cd"

.value,'nw','NW')
submitform("/xml/row/wr_doc_source_trs_q_cd"

.value = replace(submitform("/xml/row/wr_doc_source_trs_q_cd"

.value,'se','SE')
submitform("/xml/row/wr_doc_source_trs_q_cd"

.value = replace(submitform("/xml/row/wr_doc_source_trs_q_cd"

.value,'sw','SW')
submitform("/xml/row/wr_doc_source_trs_qq_cd"

.value = replace(submitform("/xml/row/wr_doc_source_trs_qq_cd"

.value,'ne','NE')
submitform("/xml/row/wr_doc_source_trs_qq_cd"

.value = replace(submitform("/xml/row/wr_doc_source_trs_qq_cd"

.value,'nw','NW')
submitform("/xml/row/wr_doc_source_trs_qq_cd"

.value = replace(submitform("/xml/row/wr_doc_source_trs_qq_cd"

.value,'se','SE')
submitform("/xml/row/wr_doc_source_trs_qq_cd"

.value = replace(submitform("/xml/row/wr_doc_source_trs_qq_cd"

.value,'sw','SW')
}
function replace(string,text,by)
{
// Replaces text with by in string
var strLength = string.length, txtLength = text.length;
if ((strLength == 0) || (txtLength == 0)) return string;
var i = string.indexOf(text);
if ((!i) && (text != string.substring(0,txtLength))) return string;
if (i == -1) return string;
var newstr = string.substring(0,i) + by;
if (i+txtLength < strLength)
newstr += replace(string.substring(i+txtLength,strLength),text,by);
return newstr;
}
function stripChar(val)
{
var strRetVal ="";
for (i = 0; i < val.length; i++)
{
var c = val.charAt(i);
if(c !=","

strRetVal += c;
}
return strRetVal;
}
function isInteger(intValue)
{
var i;
for (i = 0; i < intValue.length; i++)
{
// Check that current character is number.
var c = intValue.charAt(i);
if (((c < "0"

|| (c > "9"

)) return false;
}
// All characters are numbers.
return true;
}
function IsValidDecimal(value,intLeft,intRight)
{
var leftlen =0;
var blnDecimalPoint = false;
for (i = 0; i < value.length; i++)
{
// Check that current character is number.
var c = value.charAt(i);
if (((c < "0"

|| (c > "9"

))
{
if(c == "."

{
if(i > intLeft)
return false;
blnDecimalPoint = true;
}
else
{
return false;
}
}
if(blnDecimalPoint)
{
leftlen += 1;
}
}
if(leftlen == 0)
{
return (value.length <= intLeft);
}
else
{
if((leftlen-1) > intRight)
{
return false;
}
}
return true;
}
function checkForm(submitform)
{
var i;
var hasChanged = false;
var formObj = document.all('main');
var elemObj;
var elemType
for (i = 0; i < formObj.all.length; i++)
{
elemObj = formObj.all
;
if (elemObj.tagName == 'INPUT')
{
elemType = elemObj.type;
if (elemType == 'file' || elemType == 'password' || elemType == 'text' || elemType == 'checkbox')
if (elemObj.defaultValue != elemObj.value)
{
hasChanged = true;
break;
}
if (elemObj.tagName == 'TEXTAREA')
if (elemObj.defaultValue != elemObj.value)
{
hasChanged = true;
break;
}
}
if (elemObj.tagName == 'SELECT')
{
if (elemObj.name == "/xml/row/wr_doc_source_type_id_ground"
if (elemObj.selectedIndex != submitform("/xml/row/groundwater_ty_id"
.value)
{
hasChanged = true;
break;
}
if (elemObj.name == "/xml/row/wr_doc_source_county_id"
if (elemObj.selectedIndex != submitform("/xml/row/county_id"
.value)
{
hasChanged = true;
break;
}
if (elemObj.name == "/xml/row/wr_doc_source_wria_id"
if (elemObj.selectedIndex != submitform("/xml/row/wria_id"
.value)
{
hasChanged = true;
break;
}
if (elemObj.name == "/xml/row/wr_doc_source_lat_lon_source_type_id"
if (elemObj.selectedIndex != submitform("/xml/row/lon_source_type_id"
.value)
{
hasChanged = true;
break;
}
if (elemObj.name == "/xml/row/wr_doc_source_lat_lon_datum_id"
if (elemObj.selectedIndex != submitform("/xml/row/lon_datum_id"
.value)
{
hasChanged = true;
break;
}
}
}
if (hasChanged == true)
{
if (confirm(' Data has been added or changed. Do you want to discard changes and exit?') )
{
window.opener.document.forms(0).hdnDataChanged.value ="";
return true;
}
else
{
return false;
}
}
else
{
try
{
if(window.opener.document.forms(0).hdnDataChanged.value !=""
{
if (confirm(' Data has been added or changed. Do you want to discard changes and exit?') )
{
window.opener.document.forms(0).hdnDataChanged.value ="";
return true;
}
else
{
return false;
}
}
}
catch(e)
{
return true;
}
}
return true;
}
</script></head>
<body class="WRTS">
<form method="post" name="main" onSubmit="return doSubmitForm(this);" action="WRTSpopup.asp?xstack=2">
<table class="NoBorders" cellpadding="0" cellspacing="0">
<tr>
<td><img src="images/spacer.gif" width="5"></td>
<td class="title" colspan="2">Source</td>
</tr>
<tr>
<td></td>
<td width="100%" colspan="2">
<table class="NoBorders" width="100%">
</table>
<table class="Perimeter" width="100%">
<tr>
<td colspan="2"><a href="#" onclick="javascript:return EnableDisable(document.forms[0],'surface');makeNewWindow('WRTSMain.asp?xstack=2&xnavigate=push&xwhich=Surface&xaction=popupedit&xpath=/xml/row&xpage=16SurfaceSourceName', 'height=400, width=500, , ');" ><img src="images/btnSurface.gif" border="0" alt="Toggle control to enable data entry of Surface source information, and to reset-clear-disable Groundwater and Reservoir screen sections"></a>
</td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
<td colspan="2"><a href="#" onclick="javascript:;makeNewWindow('WRTSMain.asp?xstack=2&xnavigate=push&xwhich=sourcename&xaction=popupedit&xpath=/xml/row&xpage=16SurfaceSourceName', 'height=400, width=500, , ');" ><img src="images/btnsourcename.gif" border="0" alt="A lookup table entry containing surface water names"></a>
</td>
<td colspan="2"><a href="#" onclick="javascript:;makeNewWindow('WRTSMain.asp?xstack=2&xnavigate=push&xwhich=tribut&xaction=popupedit&xpath=/xml/row&xpage=16TributaryTo', 'height=400, width=500, , ');" ><img src="images/btntribut.gif" border="0" alt="A lookup table entry containing surface water names"></a>
</td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
<td class="caption" title="" align="right"></td>
<td class="data"><input type="text" size="20" id="/xml/row/surf_source_nm" name="/xml/row/surf_source_nm" value="" style="BORDER-LEFT: white 5px ;BORDER-TOP: white 5px ;BORDER-BOTTOM: white 5px ;BORDER-RIGHT: white 5px ;background-color : white " readonly="true"></td>
<td class="caption" title="" align="right"></td>
<td class="data"><input type="text" size="20" id="/xml/row/tributary_source_nm" name="/xml/row/tributary_source_nm" value="" style="BORDER-LEFT: white 5px ;BORDER-TOP: white 5px ;BORDER-BOTTOM: white 5px ;BORDER-RIGHT: white 5px ;background-color : white " readonly="true"></td>
</tr>
</table>
<table class="Perimeter" width="100%">
<tr>
<td colspan="2"><a href="#" onclick="javascript:return EnableDisable(document.forms[0],'ground');makeNewWindow('WRTSMain.asp?xstack=2&xnavigate=push&xwhich=groundwater&xaction=popupedit&xpath=/xml/row&xpage=', 'height=, width=, , ');" ><img src="images/btngroundwater.gif" border="0" alt="Toggle control to enable data entry of Groundwater source information, and to reset-clear-disable Surface and Reservoir screen sections"></a>
</td>
</tr>
<tr>
<td class="caption" title="A lookup table entry containing a kind of source within a Source Class (e.g., Infiltration Trench, Well, etc.)" align="right"><img src="images/required.gif" alt="Required" height="12" width="12" border="0" align="middle"><img src="images/spacer.gif" width="5">Type</td>
<td class="data"><select id="/xml/row/wr_doc_source_type_id_ground" name="/xml/row/wr_doc_source_type_id_ground" onkeypress="SubmitSelect()" size="1"><option value="">-- Select a value --</option>
<option value="4">Groundwater Reservoir</option>
<option value="1">Infiltration Trench</option>
<option value="2">Surface (other)</option>
<option value="3">Well</option></select></td>
<td class="caption" title="The name of the Groundwater source. Free format text field: 50 characters" align="right">Groundwater Name</td>
<td class="data"><input type="text" size="50" id="/xml/row/wr_doc_source_nm_ground" name="/xml/row/wr_doc_source_nm_ground" value="" ></td>
<td class="caption" title="The ECY-assigned unique ID number for a well. Free format text field: 7 characters" align="right">Well Tag</td>
<td class="data"><input type="text" size="7" id="/xml/row/wr_doc_source_well_tag_nr" name="/xml/row/wr_doc_source_well_tag_nr" value="" onkeypress="return SubmitSelect();"></td>
</tr>
</table>
<table class="Perimeter" width="100%">
<tr>
<td colspan="2"><a href="#" onclick="javascript:return EnableDisable(document.forms[0],'reservoir');makeNewWindow('WRTSMain.asp?xstack=2&xnavigate=push&xwhich=resvoir&xaction=popupedit&xpath=/xml/row&xpage=', 'height=, width=, , ');" ><img src="images/btnresvoir.gif" border="0" alt="Toggle control to enable data entry of Reservoir source information, and to reset-clear-disable Surface and Groundwater screen sections"></a>
</td>
</tr>
<tr>
<td></td>
<td></td>
<td colspan="2"><a href="#" onclick="javascript:;makeNewWindow('WRTSMain.asp?xstack=2&xnavigate=push&xwhich=sourcename&xaction=popupedit&xpath=/xml/row&xpage=16ReservoirSourceName', 'height=400, width=500, , ');" ><img src="images/btnsourcename.gif" border="0" alt="A lookup table entry containing surface water system names"></a>
</td>
</tr>
<tr>
<td class="caption" title="The name of the reservoir. Free format text field" align="left">Reservoir Name</td>
<td class="data"><input type="text" size="50" id="/xml/row/wr_doc_source_nm_reservoir" name="/xml/row/wr_doc_source_nm_reservoir" value="" onkeypress="return SubmitSelect();"></td>
<td class="caption" title="" align="right"></td>
<td class="data"><input type="text" size="20" id="/xml/row/res_source_nm" name="/xml/row/res_source_nm" value="" style="BORDER-LEFT: white 5px ;BORDER-TOP: white 5px ;BORDER-BOTTOM: white 5px ;BORDER-RIGHT: white 5px ;background-color : white " readonly="true"></td>
<td class="caption" title="Field format: Numeric 8 significant digits" align="right">Storage Acre FT</td>
<td class="data"><input type="text" size="8" id="/xml/row/wr_doc_source_storage_acre_ft_qt" name="/xml/row/wr_doc_source_storage_acre_ft_qt" value="" ></td>
</tr>
</table>
<table width="100%" cellspacing="1" cellpadding="1">
<tr>
<td align="left"><br></td>
</tr>
</table>
<table class="Perimeter" width="100%">
<tr>
<tr>
<td class="caption" title="" align="left"><u>TRS:</u></td>
<td></td>
<td></td>
<td></td>
</tr>
<td class="caption" title="Per the Public Land Survey system, the Township number (north - south, note; all Townships in WA are North of the Willamette Baseline. Field format valid range: 1.X or 41.X where X can be 0 (full Twp) or 5 (half Twp); Note: N for North auto-appended to entered value (e.g. 23.5N)" align="right"><img src="images/required.gif" alt="Required" height="12" width="12" border="0" align="middle"><img src="images/spacer.gif" width="5">Twp</td>
<td class="data"><input type="text" size="3" id="/xml/row/wr_doc_source_trs_township_nr" name="/xml/row/wr_doc_source_trs_township_nr" value="" onkeypress="return SubmitSelect();"></td>
<td class="caption" title="Per the Public Land Survey system, the Range number (east - west, note; most Ranges in WA are East of the Willamette meridian. Field format valid range: 1.X - 47.X E or 1.X or 20.XW where X can be 0 (full Twp) or 5 (half Twp); note E for East, W for West must be specified (e.g. 45.0E)" align="right"><img src="images/required.gif" alt="Required" height="12" width="12" border="0" align="middle"><img src="images/spacer.gif" width="5">Rge</td>
<td class="data"><input type="text" size="3" id="/xml/row/wr_doc_source_trs_range_nr" name="/xml/row/wr_doc_source_trs_range_nr" value="" onkeypress="return SubmitSelect();"></td>
<td class="caption" title="Per the Public Land Survey system, the section number (e.g., 23). Field format: Sec field: valid entries 1-77, 96" align="right"><img src="images/required.gif" alt="Required" height="12" width="12" border="0" align="middle"><img src="images/spacer.gif" width="5">Sec</td>
<td class="data"><input type="text" size="2" id="/xml/row/wr_doc_source_trs_section_nr" name="/xml/row/wr_doc_source_trs_section_nr" value="" onkeypress="return SubmitSelect();"></td>
<td class="caption" title="Per the Public Land Survey system, a quarter designator within a section, (e.g., SE).
Field format valid range: NE, NW, SW, SE" align="right">1/4</td>
<td class="data"><input type="text" size="2" id="/xml/row/wr_doc_source_trs_q_cd" name="/xml/row/wr_doc_source_trs_q_cd" value="" onkeypress="return SubmitSelect();"></td>
<td class="caption" title="Per the Public Land Survey system, a quarter designator within a section quarter (e.g., NW [of SE]).
Field format valid range: NE, NW, SW, SE" align="right">1/4</td>
<td class="data"><input type="text" size="2" id="/xml/row/wr_doc_source_trs_qq_cd" name="/xml/row/wr_doc_source_trs_qq_cd" value="" onkeypress="return SubmitSelect();"></td>
</tr>
</table>
<table width="100%" cellspacing="1" cellpadding="1">
<tr>
<td align="left"><br></td>
</tr>
</table>
<table class="Perimeter" width="100%">
<tr>
<tr>
<td class="caption" title="" align="left"><u>Alternate Location:</u></td>
<td></td>
<td></td>
<td></td>
</tr>
<td class="caption" title="A lookup table entry containing Water Resource Inventory Areas (e.g., 01 - Nooksack)" align="right"><img src="images/required.gif" alt="Required" height="12" width="12" border="0" align="middle"><img src="images/spacer.gif" width="5">WRIA</td>
<td class="data"><select id="/xml/row/wr_doc_source_wria_id" name="/xml/row/wr_doc_source_wria_id" onkeypress="SubmitSelect()" size="1"><option value="">-- Select a value --</option>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
<option value="7">7</option>
<option value="8">8</option>
<option value="9">9</option>
<option value="10">10</option>
<option value="11">11</option>
<option value="12">12</option>
<option value="13">13</option>
<option value="14">14</option>
<option value="15">15</option>
<option value="16">16</option>
<option value="17">17</option>
<option value="18">18</option>
<option value="19">19</option>
<option value="20">20</option>
<option value="21">21</option>
<option value="22">22</option>
<option value="23">23</option>
<option value="24">24</option>
<option value="25">25</option>
<option value="26">26</option>
<option value="27">27</option>
<option value="28">28</option>
<option value="29">29</option>
<option value="30">30</option>
<option value="31">31</option>
<option value="32">32</option>
<option value="33">33</option>
<option value="34">34</option>
<option value="35">35</option>
<option value="36">36</option>
<option value="37">37</option>
<option value="38">38</option>
<option value="39">39</option>
<option value="40">40</option>
<option value="41">41</option>
<option value="42">42</option>
<option value="43">43</option>
<option value="44">44</option>
<option value="45">45</option>
<option value="46">46</option>
<option value="47">47</option>
<option value="48">48</option>
<option value="49">49</option>
<option value="50">50</option>
<option value="51">51</option>
<option value="52">52</option>
<option value="53">53</option>
<option value="54">54</option>
<option value="55">55</option>
<option value="56">56</option>
<option value="57">57</option>
<option value="58">58</option>
<option value="59">59</option>
<option value="60">60</option>
<option value="61">61</option>
<option value="62">62</option></select></td>
<td class="caption" title="A lookup table entry containing Washington Counties (e.g., Skagit, Spokane)" align="right"><img src="images/required.gif" alt="Required" height="12" width="12" border="0" align="middle"><img src="images/spacer.gif" width="5">County</td>
<td class="data"><select id="/xml/row/wr_doc_source_county_id" name="/xml/row/wr_doc_source_county_id" onkeypress="SubmitSelect()" size="1"><option value="">-- Select a value --</option>
<option value="1">ADAMS</option>
<option value="2">ASOTIN</option>
<option value="3">BENTON</option>
<option value="4">CHELAN</option>
<option value="5">CLALLAM</option>
<option value="6">CLARK</option>
<option value="7">COLUMBIA</option>
<option value="8">COWLITZ</option>
<option value="9">DOUGLAS</option>
<option value="10">FERRY</option>
<option value="11">FRANKLIN</option>
<option value="12">GARFIELD</option>
<option value="13">GRANT</option>
<option value="14">GRAYS HARBOR</option>
<option value="15">ISLAND</option>
<option value="16">JEFFERSON</option>
<option value="17">KING</option>
<option value="18">KITSAP</option>
<option value="19">KITTITAS</option>
<option value="20">KLICKITAT</option>
<option value="21">LEWIS</option>
<option value="22">LINCOLN</option>
<option value="23">MASON</option>
<option value="24">OKANOGAN</option>
<option value="25">PACIFIC</option>
<option value="26">PEND OREILLE</option>
<option value="27">PIERCE</option>
<option value="28">SAN JUAN</option>
<option value="29">SKAGIT</option>
<option value="30">SKAMANIA</option>
<option value="31">SNOHOMISH</option>
<option value="32">SPOKANE</option>
<option value="33">STEVENS</option>
<option value="34">THURSTON</option>
<option value="35">WAHKIAKUM</option>
<option value="36">WALLA WALLA</option>
<option value="37">WHATCOM</option>
<option value="38">WHITMAN</option>
<option value="39">YAKIMA</option></select></td>
<td class="caption" title="The county-issued parcel number for the property parcel. Field format: 10 alpha-numeric" align="right">Parcel #</td>
<td class="data"><input type="text" size="10" id="/xml/row/wr_doc_source_parcel_nr" name="/xml/row/wr_doc_source_parcel_nr" value="" onkeypress="return SubmitSelect();"></td>
<td class="caption" title="A description of the Plat, typically including the Lot #, Block #, and name of the Subdivision, or Addition. Field format: 60 alpha-numeric" align="right">Plat Description</td>
<td class="data"><input type="text" size="60" id="/xml/row/wr_doc_source_plat_ds" name="/xml/row/wr_doc_source_plat_ds" value="" onkeypress="return SubmitSelect();"></td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td class="caption" title="The name of the survey when a method other than PLS is used to locate the source (e.g., Government Lot 5)" align="right">Other Survey</td>
<td class="data"><input type="text" size="70" id="/xml/row/wr_doc_source_other_survey_ds" name="/xml/row/wr_doc_source_other_survey_ds" value="" onkeypress="return SubmitSelect();"></td>
</tr>
</table>
<table width="100%" cellspacing="1" cellpadding="1">
<tr>
<td align="left"><br></td>
</tr>
</table>
<table class="Perimeter" width="100%">
<tr>
<tr>
<td class="caption" title="" align="left"><u>GIS:</u></td>
<td></td>
<td></td>
<td></td>
</tr>
<td class="caption" title="The latitude of the source in decimal degrees. Field Format: Numeric 3 significant digits to the left of the decimal point, 9 to the right" align="right">DD Lat</td>
<td class="data"><input type="text" size="13" id="/xml/row/wr_doc_source_dd_latitude_qt" name="/xml/row/wr_doc_source_dd_latitude_qt" value="" onkeypress="return SubmitSelect();"></td>
<td class="caption" title="The longitude of the source in decimal degrees.
Field Format: Numeric 3 significant digits to the left of the decimal point, 9 to the right" align="right">DD Lon</td>
<td class="data"><input type="text" size="13" id="/xml/row/wr_doc_source_dd_longitude_qt" name="/xml/row/wr_doc_source_dd_longitude_qt" value="" onkeypress="return SubmitSelect();"></td>
<td class="caption" title="A lookup table entry containing Latitude and Longitude Source Types (e.g., GPS, Traverse Survey, Quad)" align="right">Lat/Lon Source</td>
<td class="data"><select id="/xml/row/wr_doc_source_lat_lon_source_type_id" name="/xml/row/wr_doc_source_lat_lon_source_type_id" onkeypress="SubmitSelect()" size="1"><option value="">-- Select a value --</option>
<option value="1">Address Matching-Block Face</option>
<option value="2">Address Matching-Digitized</option>
<option value="3">Address Matching-House Number</option>
<option value="4">Address Matching-Nearest Intersection</option>
<option value="5">Address Matching-Other</option>
<option value="6">Address Matching-Primary Name</option>
<option value="7">Address Matching-Street Centerline</option>
<option value="8">Census Block-1990-Centroid</option>
<option value="9">Census Block/Group-1990-Centroid</option>
<option value="10">Census Block/Tract-1990-Centroid</option>
<option value="11">Census-Other</option>
<option value="12">Classical Surveying Techniques</option>
<option value="13">GPS Carrier Phase Kinematic Relative Position</option>
<option value="14">GPS Carrier Phase Static Relative Position</option>
<option value="15">GPS Code (Pseudo Range) Differential</option>
<option value="16">GPS Code (Pseudo Range) Precise Position</option>
<option value="17">GPS Code (Pseudo Range) Standard Position (SA Off)</option>
<option value="18">GPS Code (Pseudo Range) Standard Position (SA On)</option>
<option value="19">GPS, with Canadian Active Control System</option>
<option value="20">GPS-Unspecified</option>
<option value="21">Interpolation - Digital Map Source (TIGER)</option>
<option value="23">Interpolation-Map</option>
<option value="22">Interpolation-MSS</option>
<option value="24">Interpolation-Other</option>
<option value="25">Interpolation-Photo</option>
<option value="27">Interpolation-Satellite</option>
<option value="26">Interpolation-SPOT</option>
<option value="28">Interpolation-TM</option>
<option value="29">Loran C</option>
<option value="30">Public Land Survey-Eighth Section</option>
<option value="31">Public Land Survey-Footing</option>
<option value="32">Public Land Survey-Quarter Section</option>
<option value="33">Public Land Survey-Section</option>
<option value="34">Public Land Survey-Sixteenth Section</option>
<option value="35">Unknown</option>
<option value="36">ZIP Code-Centroid</option>
<option value="37">ZIP+2 Centroid</option>
<option value="38">ZIP+4 Centroid</option></select></td>
<td class="caption" title="A lookup table entry containing Latitude and Longitude Datums (e.g., NAD 1927)" align="right">Datum</td>
<td class="data"><select id="/xml/row/wr_doc_source_lat_lon_datum_id" name="/xml/row/wr_doc_source_lat_lon_datum_id" onkeypress="SubmitSelect()" size="1"><option value="">-- Select a value --</option>
<option value="4">High Accuracy Reference Network</option>
<option value="1">North American Datum of 1927</option>
<option value="2">North American Datum of 1983</option>
<option value="3">World Geodetic System of 1984</option></select></td>
</tr>
</table>
<table class="Perimeter" width="100%">
<tr>
<td align="center">
<table class="NoBorder" cellpadding="1" cellspacing="1"><input type="hidden" id="/xml/row/county_nm" name="/xml/row/county_nm" value="false"><input type="hidden" id="/xml/row/wria_cd" name="/xml/row/wria_cd" value="false"><input type="hidden" id="/xml/row/xsourcetype" name="/xml/row/xsourcetype" value="false"><input type="hidden" id="/xml/row/groundtypenm" name="/xml/row/groundtypenm" value="false"></table>
</td>
</tr>
</table>
<table width="100%" cellspacing="1" cellpadding="1">
<tr>
<td align="left"><input type="hidden" id="/xml/row/county_id" name="/xml/row/county_id" value=""><input type="hidden" id="/xml/row/wria_id" name="/xml/row/wria_id" value=""><input type="hidden" id="/xml/row/lon_source_type_id" name="/xml/row/lon_source_type_id" value=""><input type="hidden" id="/xml/row/lon_datum_id" name="/xml/row/lon_datum_id" value=""><input type="hidden" id="/xml/row/groundwater_ty_id" name="/xml/row/groundwater_ty_id" value=""></td>
</tr>
</table>
<table class="NoBorders" width="100%">
<tr>
<td><img src="images/spacer.gif" height="5"></td>
</tr>
<tr>
<td align="center" height="15"><input type="image" name="submit" value="" src="images/btnaccept.gif" alt="Accept edits/changes and return to the At a Glance Tab" onClick="return validate(this.form,'add');fHardClose=false;"><img src="images/spacer.gif" width="10"><input type="image" name="submit" value="" src="images/btnaddanother.gif" alt="Accept information entered and re-set dialog to add another entry" onClick="return validate(this.form,'addanother');;fHardClose=false;"><img src="images/spacer.gif" width="10"><input type="image" name="reset" onClick="javascript: return checkForm(this.form);fHardClose=false;" src="images/btnback.gif" alt="Return to the At a Glance Tab without accepting any edits/changes" ></td>
</tr>
</table>
</td>
</tr>
</table>
</form>
</body>
</html>