function classificationChanged() { var selSelect = document.getElementById('classificationId'); var curClassification= selSelect.options[selSelect.selectedIndex].value; if (curClassification == -1) { alert('Please select an item within this grouping'); selSelect.selectedIndex = 0; return; } lstr0='Animal Location'; lstr1='Deceased Animal'; lstr2='STR Location'; lstr3='Address Location:'; lstr4='Time of Day:'; lstr5='Facility Name:'; lstr6='Park Name:'; lstr7='License Plate #:'; lstr8='Complaint:'; lstr9='Res Initial:'; lstr10='Res Final:'; lstr11='Report Number'; lstr12='Redacted Documents'; lstr13='Date of the Recording'; lstr14='Name of subject(s) of the recording'; lstr15='Missed Trash or Recycling'; lstr16='Cart Service'; lstr17='Commerical and Dumpster Service'; lstr18='Gallons lost'; lstr19='Footage Videoed '; lstr20='Footage Jetted'; lstr21='Barricade Drop-Off Location:'; lstr22='Address Location'; lstr23='Time of Day:'; lstr24='Issue Location (i.e., back of house)'; lstr25='Park Name:'; lstr26='License Plate #:'; lstr27='Complaint:'; lstr28='Res Initial:'; lstr29='Res Final:'; lstr30='Report Number'; lstr31='Redacted Documents'; lstr32='Date of the Recording'; lstr33='Name of subject(s) of the recording'; lstr34='Missed Trash or Recycling'; lstr35='Cart Service'; lstr36='Commerical and Dumpster Service'; lstr37='Gallons lost'; lstr38='Footage Videoed '; lstr39='Footage Jetted'; lstr40='Address Location:'; lstr41='Time of Day:'; lstr42='Issue Location (ex. fence, buidling etc.):'; lstr43='Park Name:'; lstr44='License Plate #:'; lstr45='Complaint:'; lstr46='Res Initial:'; lstr47='Res Final:'; lstr48='Report Number'; lstr49='Redacted Documents'; lstr50='Date of the Recording'; lstr51='Name of subject(s) of the recording'; lstr52='Missed Trash or Recycling'; lstr53='Cart Service'; lstr54='Commerical and Dumpster Service'; lstr55='Gallons lost'; lstr56='Footage Videoed '; lstr57='Footage Jetted'; lstr58='Pilot Program'; lstr59='Problem Location:'; lstr60='Time of Day:'; lstr61='Facility Name:'; lstr62='Park Name:'; lstr63='License Plate #:'; lstr64='Complaint:'; lstr65='Res Initial:'; lstr66='Res Final:'; lstr67='Report Number'; lstr68='Redacted Documents'; lstr69='Date of the Recording'; lstr70='Name of subject(s) of the recording'; lstr71='Missed Trash or Recycling'; lstr72='Cart Service'; lstr73='Commerical and Dumpster Service'; lstr74='Gallons lost'; lstr75='Footage Videoed '; lstr76='Footage Jetted'; lstr77='Address Location:'; lstr78='Time of Day:'; lstr79='Issue Location (i.e., back of house):'; lstr80='Park Name:'; lstr81='License Plate #:'; lstr82='Complaint:'; lstr83='Res Initial:'; lstr84='Res Final:'; lstr85='Report Number'; lstr86='Redacted Documents'; lstr87='Date of the Recording'; lstr88='Name of subject(s) of the recording'; lstr89='Missed Trash or Recycling'; lstr90='Cart Service'; lstr91='Commerical and Dumpster Service'; lstr92='Gallons lost'; lstr93='Footage Videoed '; lstr94='Footage Jetted'; lstr95='Address Location:'; lstr96='Problem Location:'; lstr97='Time of Day:'; lstr98='Facility Name:'; lstr99='Park Name:'; lstr100='License Plate #:'; lstr101='Complaint:'; lstr102='Res Initial:'; lstr103='Res Final:'; lstr104='Report Number'; lstr105='Redacted Documents'; lstr106='Date of the Recording'; lstr107='Name of subject(s) of the recording'; lstr108='Missed Trash or Recycling'; lstr109='Cart Service'; lstr110='Commerical and Dumpster Service'; lstr111='Gallons lost'; lstr112='Footage Videoed '; lstr113='Footage Jetted'; lstr114='Problem Location:'; lstr115='Time of Day:'; lstr116='Facility Name:'; lstr117='Park Name:'; lstr118='License Plate #:'; lstr119='Complaint:'; lstr120='Res Initial:'; lstr121='Res Final:'; lstr122='Report Number'; lstr123='Redacted Documents'; lstr124='Date of the Recording'; lstr125='Name of subject(s) of the recording'; lstr126='Missed Trash or Recycling'; lstr127='Cart Service'; lstr128='Commerical and Dumpster Service'; lstr129='Gallons lost'; lstr130='Footage Videoed '; lstr131='Footage Jetted'; lstr132='Address Location:'; lstr133='Becky Lewis'; lstr134='Missed Pick Up:'; lstr135='2148085416'; lstr136='Address Location:'; lstr137='Time of Day:'; lstr138='Issue Location (ie. Creek, street etc.):'; lstr139='Park Name:'; lstr140='License Plate #:'; lstr141='Complaint:'; lstr142='Res Initial:'; lstr143='Res Final:'; lstr144='Report Number'; lstr145='Redacted Documents'; lstr146='Date of the Recording'; lstr147='Name of subject(s) of the recording'; lstr148='Missed Trash or Recycling'; lstr149='Cart Service'; lstr150='Commerical and Dumpster Service'; lstr151='Gallons lost'; lstr152='Footage Videoed '; lstr153='Footage Jetted'; lstr154='Problem Location:'; lstr155='Time of Day:'; lstr156='Facility Name:'; lstr157='Park Name:'; lstr158='License Plate #:'; lstr159='Complaint:'; lstr160='Res Initial:'; lstr161='Res Final:'; lstr162='Report Number'; lstr163='Redacted Documents'; lstr164='Date of the Recording'; lstr165='Name of subject(s) of the recording'; lstr166='Missed Trash or Recycling'; lstr167='Cart Service'; lstr168='Commerical and Dumpster Service'; lstr169='Gallons lost'; lstr170='Footage Videoed '; lstr171='Footage Jetted'; lstr172='Problem Location:'; lstr173='Time of Day:'; lstr174='Facility Name:'; lstr175='Park Name:'; lstr176='License Plate #:'; lstr177='Complaint:'; lstr178='Res Initial:'; lstr179='Res Final:'; lstr180='Report Number'; lstr181='Redacted Documents'; lstr182='Date of the Recording'; lstr183='Name of subject(s) of the recording'; lstr184='Missed Trash or Recycling'; lstr185='Cart Service'; lstr186='Commerical and Dumpster Service'; lstr187='Gallons lost'; lstr188='Footage Videoed '; lstr189='Footage Jetted'; lstr190='Pilot Program'; lstr191='Problem Location:'; lstr192='Time of Day:'; lstr193='Facility Name:'; lstr194='Park Name:'; lstr195='License Plate #:'; lstr196='Complaint:'; lstr197='Res Initial:'; lstr198='Res Final:'; lstr199='Report Number'; lstr200='Redacted Documents'; lstr201='Date of the Recording'; lstr202='Name of subject(s) of the recording'; lstr203='Missed Trash or Recycling'; lstr204='Cart Service'; lstr205='Commerical and Dumpster Service'; lstr206='Gallons lost'; lstr207='Footage Videoed '; lstr208='Footage Jetted'; lstr209='Pilot Program'; lstr210='Problem Location:'; lstr211='Time of Day:'; lstr212='Facility Name:'; lstr213='Park Name:'; lstr214='License Plate #:'; lstr215='Complaint:'; lstr216='Res Initial:'; lstr217='Res Final:'; lstr218='Report Number'; lstr219='Redacted Documents'; lstr220='Date of the Recording'; lstr221='Name of subject(s) of the recording'; lstr222='Missed Trash or Recycling'; lstr223='Cart Service'; lstr224='Commerical and Dumpster Service'; lstr225='Gallons lost'; lstr226='Footage Videoed '; lstr227='Footage Jetted'; lstr228='Pilot Program'; lstr229='Problem Location:'; lstr230='Time of Day:'; lstr231='Facility Name:'; lstr232='Park Name:'; lstr233='License Plate #:'; lstr234='Complaint:'; lstr235='Res Initial:'; lstr236='Res Final:'; lstr237='Report Number'; lstr238='Redacted Documents'; lstr239='Date of the Recording'; lstr240='Name of subject(s) of the recording'; lstr241='Missed Trash or Recycling'; lstr242='Cart Service'; lstr243='Commerical and Dumpster Service'; lstr244='Gallons lost'; lstr245='Footage Videoed '; lstr246='Footage Jetted'; lstr247='Pilot Program'; lstr248='workOrderJobTypeWaterQuality'; lstr249='Problem Location:'; lstr250='Time of Day:'; lstr251='Facility Name:'; lstr252='Park Name:'; lstr253='License Plate #:'; lstr254='Complaint:'; lstr255='Res Initial:'; lstr256='Res Final:'; lstr257='Report Number'; lstr258='Redacted Documents'; lstr259='Date of the Recording'; lstr260='Name of subject(s) of the recording'; lstr261='Missed Trash or Recycling'; lstr262='Cart Service'; lstr263='Commerical and Dumpster Service'; lstr264='Gallons lost'; lstr265='Footage Videoed '; lstr266='Footage Jetted'; lstr267='Pilot Program'; lstr268='Other'; lstr269='Problem Location:'; lstr270='Time of Day:'; lstr271='Facility Name:'; lstr272='Park Name:'; lstr273='LastName'; lstr274='Phone'; lstr275='Email'; lstr276='License Plate #:'; lstr277=''; lstr278=''; lstr279='Complaint:'; lstr280='Res Initial:'; lstr281='Res Final:'; lstr282='Report Number'; lstr283='Redacted Documents'; lstr284='Date of the Recording'; lstr285='Name of subject(s) of the recording'; lstr286='Missed Trash or Recycling'; lstr287='Cart Service'; lstr288='BackDoorService'; lstr289='Commerical and Dumpster Service'; lstr290='Gallons lost'; lstr291='Footage Videoed '; lstr292='Footage Jetted'; lstr293='Pilot Program'; f0d=0;f0r=0;f0l=lstr269;f1d=0;f1r=0;f1l=lstr270;f2d=0;f2r=0;f2l=lstr271;f3d=0;f3r=0;f3l=lstr272;f4d=2;f4r=0;f4l=lstr273;f5d=2;f5r=0;f5l=lstr274;f6d=2;f6r=0;f6l=lstr275;f7d=0;f7r=0;f7l=lstr276;f8d=0;f8r=0;f8l=lstr277;f9d=0;f9r=0;f9l=lstr278;f10d=0;f10r=0;f10l=lstr279;f11d=0;f11r=0;f11l=lstr280;f12d=0;f12r=0;f12l=lstr281;f13d=0;f13r=0;f13l=lstr282;f14d=0;f14r=0;f14l=lstr283;f15d=0;f15r=0;f15l=lstr284;f16d=0;f16r=0;f16l=lstr285;f17d=0;f17r=0;f17l=lstr286;f18d=0;f18r=0;f18l=lstr287;f19d=0;f19r=0;f19l=lstr288;f20d=0;f20r=0;f20l=lstr289;f21d=0;f21r=0;f21l=lstr290;f22d=0;f22r=0;f22l=lstr291;f23d=0;f23r=0;f23l=lstr292;f24d=0;f24r=0;f24l=lstr293;hasFaq=0;hasEmpFaq=0;switch (parseInt(curClassification)) { case 67770: hasFaq=1;f0d=1;f0r=1;f1d=0;f1r=0;f2d=0;f2r=0;f3d=0;f3r=0;f7d=0;f7r=0;f9d=0;f9r=0;f10d=0;f10r=0;f11d=0;f11r=0;f12d=0;f12r=0;f13d=0;f13r=0;f14d=0;f14r=0;f15d=0;f15r=0;f16d=0;f16r=0;f17d=0;f17r=0;f18d=0;f18r=0;f19d=0;f19r=0;f20d=0;f20r=0;f21d=0;f21r=0;f22d=0;f22r=0;f23d=0;f23r=0;f24d=0;f24r=0;f8d=0;f8r=0;f4d=2;f4r=1;f5d=2;f5r=1;f6d=2;f6r=1; break; case 16104: hasFaq=1;f0d=1;f0r=1;f1d=0;f1r=0;f2d=0;f2r=0;f3d=0;f3r=0;f7d=0;f7r=0;f9d=0;f9r=0;f10d=0;f10r=0;f11d=0;f11r=0;f12d=0;f12r=0;f8d=0;f8r=0;f4d=2;f4r=0;f5d=2;f5r=0;f6d=2;f6r=0; break; case 15999: hasFaq=1;hasEmpFaq=1;f0d=1;f0r=1;f1d=1;f1r=0;f2d=0;f2r=0;f3d=0;f3r=0;f7d=0;f7r=0;f9d=0;f9r=0;f10d=0;f10r=0;f11d=0;f11r=0;f12d=0;f12r=0;f13d=0;f13r=0;f14d=0;f14r=0;f15d=0;f15r=0;f16d=0;f16r=0;f8d=0;f8r=0;f4d=2;f4r=0;f5d=2;f5r=0;f6d=2;f6r=0; break; case 16001: hasFaq=1;hasEmpFaq=1;f0d=1;f0r=1;f0l=lstr0;f1d=1;f1r=0;f2d=0;f2r=0;f3d=0;f3r=0;f7d=0;f7r=0;f8d=0;f8r=0;f4d=2;f4r=1;f5d=2;f5r=1;f6d=2;f6r=0; break; case 16000: hasFaq=1;hasEmpFaq=1;f0d=1;f0r=1;f1d=0;f1r=0;f2d=0;f2r=0;f3d=0;f3r=0;f7d=0;f7r=0;f8d=0;f8r=0;f4d=2;f4r=0;f5d=2;f5r=0;f6d=2;f6r=0; break; case 16002: hasFaq=1;hasEmpFaq=1;f0d=1;f0r=0;f1d=1;f1r=0;f2d=0;f2r=0;f3d=0;f3r=0;f7d=0;f7r=0;f8d=0;f8r=0;f4d=2;f4r=0;f5d=2;f5r=0;f6d=2;f6r=0; break; case 16003: hasFaq=1;hasEmpFaq=1;f0d=1;f0r=1;f1d=0;f1r=0;f2d=0;f2r=0;f3d=0;f3r=0;f7d=0;f7r=0;f8d=1;f8r=0;f8l=lstr1;f4d=2;f4r=0;f5d=2;f5r=0;f6d=2;f6r=0; break; case 16004: hasFaq=1;hasEmpFaq=1;f0d=1;f0r=1;f1d=1;f1r=0;f2d=0;f2r=0;f3d=0;f3r=0;f7d=0;f7r=0;f8d=0;f8r=0;f4d=2;f4r=0;f5d=2;f5r=0;f6d=2;f6r=0; break; case 16005: hasFaq=1;hasEmpFaq=1;f0d=1;f0r=0;f1d=0;f1r=0;f2d=0;f2r=0;f3d=0;f3r=0;f7d=0;f7r=0;f8d=0;f8r=0;f4d=2;f4r=0;f5d=2;f5r=0;f6d=2;f6r=0; break; case 16043: hasFaq=1;hasEmpFaq=1;f0d=0;f0r=0;f1d=0;f1r=0;f2d=0;f2r=0;f3d=0;f3r=0;f7d=0;f7r=0;f8d=0;f8r=0;f4d=2;f4r=0;f5d=2;f5r=0;f6d=2;f6r=0; break; case 16006: hasFaq=1;hasEmpFaq=1;f0d=1;f0r=1;f1d=1;f1r=0;f2d=0;f2r=0;f3d=0;f3r=0;f7d=0;f7r=0;f8d=0;f8r=0;f4d=2;f4r=0;f5d=2;f5r=0;f6d=2;f6r=0; break; case 16007: hasFaq=1;hasEmpFaq=1;f0d=1;f0r=1;f1d=0;f1r=0;f2d=0;f2r=0;f3d=0;f3r=0;f7d=0;f7r=0;f8d=0;f8r=0;f4d=2;f4r=0;f5d=2;f5r=0;f6d=2;f6r=0; break; case 16008: hasFaq=1;hasEmpFaq=1;f0d=1;f0r=1;f1d=0;f1r=0;f2d=0;f2r=0;f3d=0;f3r=0;f7d=0;f7r=0;f9d=0;f9r=0;f10d=0;f10r=0;f11d=0;f11r=0;f12d=0;f12r=0;f13d=0;f13r=0;f14d=0;f14r=0;f15d=0;f15r=0;f16d=0;f16r=0;f8d=0;f8r=0;f4d=2;f4r=0;f5d=2;f5r=0;f6d=2;f6r=0; break; case 16009: hasFaq=1;hasEmpFaq=1;f0d=1;f0r=1;f1d=0;f1r=0;f2d=0;f2r=0;f3d=0;f3r=0;f7d=0;f7r=0;f8d=0;f8r=0;f4d=2;f4r=0;f5d=2;f5r=0;f6d=2;f6r=0; break; case 16105: f0d=1;f0r=0;f1d=0;f1r=0;f2d=0;f2r=0;f3d=0;f3r=0;f7d=0;f7r=0;f8d=0;f8r=0;f4d=2;f4r=0;f5d=2;f5r=0;f6d=2;f6r=0; break; case 16011: hasFaq=1;hasEmpFaq=1;f0d=1;f0r=1;f1d=0;f1r=0;f2d=0;f2r=0;f3d=0;f3r=0;f7d=0;f7r=0;f8d=1;f8r=0;f4d=2;f4r=0;f5d=2;f5r=0;f6d=2;f6r=0; break; case 16012: hasFaq=1;hasEmpFaq=1;f0d=1;f0r=1;f1d=0;f1r=0;f2d=0;f2r=0;f3d=0;f3r=0;f7d=0;f7r=0;f8d=1;f8r=0;f4d=2;f4r=0;f5d=2;f5r=0;f6d=2;f6r=0; break; case 16013: hasFaq=1;hasEmpFaq=1;f0d=1;f0r=1;f1d=0;f1r=0;f2d=0;f2r=0;f3d=0;f3r=0;f7d=0;f7r=0;f8d=0;f8r=0;f4d=2;f4r=0;f5d=2;f5r=0;f6d=2;f6r=0; break; case 23055: hasEmpFaq=1;f0d=1;f0r=0;f1d=0;f1r=0;f2d=0;f2r=0;f3d=0;f3r=0;f7d=0;f7r=0;f8d=0;f8r=0;f4d=2;f4r=1;f5d=2;f5r=0;f6d=2;f6r=0; break; case 29747: hasFaq=1;f0d=1;f0r=1;f1d=0;f1r=0;f2d=0;f2r=0;f3d=0;f3r=0;f7d=0;f7r=0;f8d=1;f8r=0;f4d=2;f4r=0;f5d=2;f5r=0;f6d=2;f6r=0; break; case 16014: hasFaq=1;hasEmpFaq=1;f0d=1;f0r=1;f1d=0;f1r=0;f2d=0;f2r=0;f3d=0;f3r=0;f7d=0;f7r=0;f8d=1;f8r=0;f4d=2;f4r=0;f5d=2;f5r=0;f6d=2;f6r=0; break; case 16015: hasFaq=1;hasEmpFaq=1;f0d=1;f0r=1;f1d=0;f1r=0;f2d=0;f2r=0;f3d=0;f3r=0;f7d=0;f7r=0;f8d=1;f8r=0;f4d=2;f4r=0;f5d=2;f5r=0;f6d=2;f6r=0; break; case 16016: hasFaq=1;hasEmpFaq=1;f0d=1;f0r=1;f1d=0;f1r=0;f2d=0;f2r=0;f3d=0;f3r=0;f7d=0;f7r=0;f8d=0;f8r=0;f4d=2;f4r=0;f5d=2;f5r=0;f6d=2;f6r=0; break; case 16017: hasFaq=1;hasEmpFaq=1;f0d=1;f0r=1;f1d=0;f1r=0;f2d=0;f2r=0;f3d=0;f3r=0;f7d=0;f7r=0;f8d=1;f8r=0;f4d=2;f4r=0;f5d=2;f5r=0;f6d=2;f6r=0; break; case 16018: hasFaq=1;hasEmpFaq=1;f0d=1;f0r=1;f1d=0;f1r=0;f2d=0;f2r=0;f3d=0;f3r=0;f7d=0;f7r=0;f8d=1;f8r=1;f4d=2;f4r=0;f5d=2;f5r=0;f6d=2;f6r=0; break; case 16019: hasFaq=1;hasEmpFaq=1;f0d=1;f0r=1;f1d=0;f1r=0;f2d=0;f2r=0;f3d=0;f3r=0;f7d=1;f7r=0;f8d=1;f8r=1;f4d=2;f4r=0;f5d=2;f5r=0;f6d=2;f6r=0; break; case 16020: hasFaq=1;hasEmpFaq=1;f0d=1;f0r=1;f1d=0;f1r=0;f2d=0;f2r=0;f3d=0;f3r=0;f7d=0;f7r=0;f8d=1;f8r=0;f4d=2;f4r=0;f5d=2;f5r=0;f6d=2;f6r=0; break; case 16021: hasFaq=1;hasEmpFaq=1;f0d=1;f0r=1;f1d=0;f1r=0;f2d=0;f2r=0;f3d=0;f3r=0;f7d=0;f7r=0;f8d=1;f8r=1;f4d=2;f4r=0;f5d=2;f5r=0;f6d=2;f6r=0; break; case 16022: hasFaq=1;hasEmpFaq=1;f0d=1;f0r=1;f1d=0;f1r=0;f2d=0;f2r=0;f3d=0;f3r=0;f7d=0;f7r=0;f8d=1;f8r=1;f4d=2;f4r=0;f5d=2;f5r=0;f6d=2;f6r=0; break; case 45086: f0d=1;f0r=1;f0l=lstr2;f1d=0;f1r=0;f2d=0;f2r=0;f3d=0;f3r=0;f7d=0;f7r=0;f9d=0;f9r=0;f10d=0;f10r=0;f11d=0;f11r=0;f12d=0;f12r=0;f13d=0;f13r=0;f14d=0;f14r=0;f15d=0;f15r=0;f16d=0;f16r=0;f8d=0;f8r=0;f4d=2;f4r=1;f5d=2;f5r=1;f6d=2;f6r=1; break; case 16023: hasFaq=1;hasEmpFaq=1;f0d=1;f0r=1;f1d=0;f1r=0;f2d=0;f2r=0;f3d=0;f3r=0;f7d=0;f7r=0;f8d=0;f8r=0;f4d=2;f4r=0;f5d=2;f5r=0;f6d=2;f6r=0; break; case 61890: hasFaq=1;hasEmpFaq=1;f0d=1;f0r=1;f1d=0;f1r=0;f2d=0;f2r=0;f3d=0;f3r=0;f7d=0;f7r=0;f9d=0;f9r=0;f10d=0;f10r=0;f11d=0;f11r=0;f12d=0;f12r=0;f13d=0;f13r=0;f14d=0;f14r=0;f15d=0;f15r=0;f16d=0;f16r=0;f17d=0;f17r=0;f18d=0;f18r=0;f19d=0;f19r=0;f20d=0;f20r=0;f21d=0;f21r=0;f22d=0;f22r=0;f23d=0;f23r=0;f24d=0;f24r=0;f8d=0;f8r=0;f4d=2;f4r=0;f5d=2;f5r=0;f6d=2;f6r=0; break; case 16108: hasFaq=1;f0d=1;f0r=0;f1d=0;f1r=0;f2d=0;f2r=0;f3d=0;f3r=0;f7d=0;f7r=0;f9d=0;f9r=0;f10d=0;f10r=0;f11d=0;f11r=0;f12d=0;f12r=0;f8d=0;f8r=0;f4d=2;f4r=0;f5d=2;f5r=0;f6d=2;f6r=0; break; case 16081: hasFaq=1;f0d=1;f0r=1;f1d=1;f1r=0;f2d=0;f2r=0;f3d=0;f3r=0;f4d=2;f4r=0;f5d=2;f5r=0;f6d=2;f6r=0; break; case 42359: hasFaq=1;f0d=1;f0r=1;f1d=0;f1r=0;f2d=0;f2r=0;f3d=0;f3r=0;f7d=0;f7r=0;f9d=0;f9r=0;f10d=0;f10r=0;f11d=0;f11r=0;f12d=0;f12r=0;f13d=0;f13r=0;f14d=0;f14r=0;f15d=0;f15r=0;f16d=0;f16r=0;f17d=0;f17r=0;f18d=0;f18r=0;f19d=0;f19r=0;f20d=0;f20r=0;f21d=0;f21r=0;f22d=0;f22r=0;f23d=0;f23r=0;f24d=0;f24r=0;f8d=0;f8r=0;f4d=2;f4r=0;f5d=2;f5r=0;f6d=2;f6r=1; break; case 16079: hasFaq=1;f0d=1;f0r=1;f1d=1;f1r=0;f2d=0;f2r=0;f3d=0;f3r=0;f4d=2;f4r=0;f5d=2;f5r=0;f6d=2;f6r=0; break; case 16080: hasFaq=1;f0d=1;f0r=0;f1d=0;f1r=0;f2d=0;f2r=0;f3d=0;f3r=0;f4d=2;f4r=0;f5d=2;f5r=0;f6d=2;f6r=0; break; case 16082: f0d=1;f0r=1;f1d=0;f1r=0;f2d=0;f2r=0;f3d=0;f3r=0;f4d=2;f4r=0;f5d=2;f5r=0;f6d=2;f6r=0; break; case 16033: hasFaq=1;hasEmpFaq=1;f0d=1;f0r=0;f1d=0;f1r=0;f2d=0;f2r=0;f3d=0;f3r=0;f7d=0;f7r=0;f9d=0;f9r=0;f10d=0;f10r=0;f11d=0;f11r=0;f12d=0;f12r=0;f8d=0;f8r=0;f4d=2;f4r=0;f5d=2;f5r=0;f6d=2;f6r=0; break; case 16036: hasFaq=1;hasEmpFaq=1;f0d=1;f0r=1;f1d=0;f1r=0;f2d=0;f2r=0;f3d=0;f3r=0;f7d=0;f7r=0;f9d=0;f9r=0;f10d=0;f10r=0;f11d=0;f11r=0;f12d=0;f12r=0;f8d=0;f8r=0;f4d=2;f4r=0;f5d=2;f5r=0;f6d=2;f6r=0; break; case 16037: hasFaq=1;hasEmpFaq=1;f0d=1;f0r=0;f1d=0;f1r=0;f2d=0;f2r=0;f3d=0;f3r=0;f7d=0;f7r=0;f9d=0;f9r=0;f10d=0;f10r=0;f11d=0;f11r=0;f12d=0;f12r=0;f8d=0;f8r=0;f4d=2;f4r=0;f5d=2;f5r=0;f6d=2;f6r=0; break; case 16038: hasFaq=1;hasEmpFaq=1;f0d=1;f0r=1;f1d=0;f1r=0;f2d=0;f2r=0;f3d=0;f3r=0;f7d=0;f7r=0;f9d=0;f9r=0;f10d=0;f10r=0;f11d=0;f11r=0;f12d=0;f12r=0;f8d=0;f8r=0;f4d=2;f4r=0;f5d=2;f5r=0;f6d=2;f6r=0; break; case 16149: hasFaq=1;hasEmpFaq=1;f0d=1;f0r=1;f1d=0;f1r=0;f2d=0;f2r=0;f3d=0;f3r=0;f7d=0;f7r=0;f9d=0;f9r=0;f10d=0;f10r=0;f11d=0;f11r=0;f12d=0;f12r=0;f8d=0;f8r=0;f4d=2;f4r=0;f5d=2;f5r=0;f6d=2;f6r=0; break; case 16039: hasFaq=1;hasEmpFaq=1;f0d=1;f0r=0;f1d=0;f1r=0;f2d=0;f2r=0;f3d=0;f3r=0;f7d=0;f7r=0;f9d=0;f9r=0;f10d=0;f10r=0;f11d=0;f11r=0;f12d=0;f12r=0;f8d=0;f8r=0;f4d=2;f4r=0;f5d=2;f5r=0;f6d=2;f6r=0; break; case 16040: hasFaq=1;hasEmpFaq=1;f0d=1;f0r=1;f1d=0;f1r=0;f2d=0;f2r=0;f3d=0;f3r=0;f7d=0;f7r=0;f9d=0;f9r=0;f10d=0;f10r=0;f11d=0;f11r=0;f12d=0;f12r=0;f8d=0;f8r=0;f4d=2;f4r=0;f5d=2;f5r=0;f6d=2;f6r=0; break; case 16282: hasFaq=1;hasEmpFaq=1;f0d=1;f0r=1;f1d=0;f1r=0;f2d=0;f2r=0;f3d=0;f3r=0;f7d=0;f7r=0;f9d=0;f9r=0;f10d=0;f10r=0;f11d=0;f11r=0;f12d=0;f12r=0;f8d=0;f8r=0;f4d=2;f4r=0;f5d=2;f5r=0;f6d=2;f6r=0; break; case 16278: hasFaq=1;hasEmpFaq=1;f0d=1;f0r=1;f1d=0;f1r=0;f2d=0;f2r=0;f3d=0;f3r=0;f7d=0;f7r=0;f9d=0;f9r=0;f10d=0;f10r=0;f11d=0;f11r=0;f12d=0;f12r=0;f8d=1;f8r=1;f4d=2;f4r=0;f5d=2;f5r=0;f6d=2;f6r=0; break; case 16279: hasFaq=1;f0d=1;f0r=1;f1d=0;f1r=0;f2d=0;f2r=0;f3d=0;f3r=0;f7d=0;f7r=0;f9d=0;f9r=0;f10d=0;f10r=0;f11d=0;f11r=0;f12d=0;f12r=0;f8d=1;f8r=1;f4d=2;f4r=0;f5d=2;f5r=0;f6d=2;f6r=0; break; case 16283: f0d=1;f0r=1;f1d=0;f1r=0;f2d=0;f2r=0;f3d=0;f3r=0;f7d=0;f7r=0;f9d=0;f9r=0;f10d=0;f10r=0;f11d=0;f11r=0;f12d=0;f12r=0;f8d=0;f8r=0;f4d=2;f4r=0;f5d=2;f5r=0;f6d=2;f6r=0; break; case 16281: hasFaq=1;hasEmpFaq=1;f0d=1;f0r=1;f1d=0;f1r=0;f2d=0;f2r=0;f3d=0;f3r=0;f7d=0;f7r=0;f9d=0;f9r=0;f10d=0;f10r=0;f11d=0;f11r=0;f12d=0;f12r=0;f8d=0;f8r=0;f4d=2;f4r=0;f5d=2;f5r=0;f6d=2;f6r=0; break; case 16280: hasFaq=1;hasEmpFaq=1;f0d=1;f0r=1;f1d=0;f1r=0;f2d=0;f2r=0;f3d=0;f3r=0;f7d=0;f7r=0;f9d=0;f9r=0;f10d=0;f10r=0;f11d=0;f11r=0;f12d=0;f12r=0;f8d=0;f8r=0;f4d=2;f4r=0;f5d=2;f5r=0;f6d=2;f6r=0; break; case 16050: hasFaq=1;hasEmpFaq=1;f0d=1;f0r=1;f1d=0;f1r=0;f2d=0;f2r=0;f3d=0;f3r=0;f7d=0;f7r=0;f9d=0;f9r=0;f10d=0;f10r=0;f11d=0;f11r=0;f12d=0;f12r=0;f13d=0;f13r=0;f14d=0;f14r=0;f15d=0;f15r=0;f16d=0;f16r=0;f17d=0;f17r=0;f18d=0;f18r=0;f19d=0;f19r=0;f20d=0;f20r=0;f8d=0;f8r=0;f4d=2;f4r=0;f5d=2;f5r=0;f6d=2;f6r=0; break; case 16051: hasFaq=1;hasEmpFaq=1;f0d=1;f0r=1;f0l=lstr3;f1d=0;f1r=0;f1l=lstr4;f2d=0;f2r=0;f2l=lstr5;f3d=0;f3r=0;f3l=lstr6;f7d=0;f7r=0;f7l=lstr7;f8d=0;f8r=0;f9d=0;f9r=0;f10d=0;f10r=0;f10l=lstr8;f11d=0;f11r=0;f11l=lstr9;f12d=0;f12r=0;f12l=lstr10;f13d=0;f13r=0;f13l=lstr11;f14d=0;f14r=0;f14l=lstr12;f15d=0;f15r=0;f15l=lstr13;f16d=0;f16r=0;f16l=lstr14;f17d=0;f17r=0;f17l=lstr15;f18d=0;f18r=0;f18l=lstr16;f19d=0;f19r=0;f20d=0;f20r=0;f20l=lstr17;f21d=0;f21r=0;f21l=lstr18;f22d=0;f22r=0;f22l=lstr19;f23d=0;f23r=0;f23l=lstr20;f4d=2;f4r=0;f5d=2;f5r=0;f6d=2;f6r=0; break; case 16052: hasEmpFaq=1;f0d=1;f0r=1;f0l=lstr21;f1d=0;f1r=0;f2d=0;f2r=0;f3d=0;f3r=0;f7d=0;f7r=0;f9d=0;f9r=0;f10d=0;f10r=0;f11d=0;f11r=0;f12d=0;f12r=0;f13d=0;f13r=0;f14d=0;f14r=0;f15d=0;f15r=0;f16d=0;f16r=0;f17d=0;f17r=0;f18d=0;f18r=0;f19d=0;f19r=0;f20d=0;f20r=0;f8d=0;f8r=0;f4d=2;f4r=0;f5d=2;f5r=0;f6d=2;f6r=0; break; case 47910: hasFaq=1;hasEmpFaq=1;f0d=1;f0r=1;f1d=0;f1r=0;f2d=0;f2r=0;f3d=0;f3r=0;f7d=0;f7r=0;f9d=0;f9r=0;f10d=0;f10r=0;f11d=0;f11r=0;f12d=0;f12r=0;f13d=0;f13r=0;f14d=0;f14r=0;f15d=0;f15r=0;f16d=0;f16r=0;f17d=0;f17r=0;f18d=0;f18r=0;f19d=0;f19r=0;f20d=0;f20r=0;f21d=0;f21r=0;f22d=0;f22r=0;f23d=0;f23r=0;f24d=0;f24r=0;f8d=0;f8r=0;f4d=2;f4r=0;f5d=2;f5r=0;f6d=2;f6r=0; break; case 16099: hasFaq=1;hasEmpFaq=1;f0d=1;f0r=1;f0l=lstr22;f1d=0;f1r=0;f1l=lstr23;f2d=1;f2r=1;f2l=lstr24;f3d=0;f3r=0;f3l=lstr25;f7d=0;f7r=0;f7l=lstr26;f8d=0;f8r=0;f9d=0;f9r=0;f10d=0;f10r=0;f10l=lstr27;f11d=0;f11r=0;f11l=lstr28;f12d=0;f12r=0;f12l=lstr29;f13d=0;f13r=0;f13l=lstr30;f14d=0;f14r=0;f14l=lstr31;f15d=0;f15r=0;f15l=lstr32;f16d=0;f16r=0;f16l=lstr33;f17d=0;f17r=0;f17l=lstr34;f18d=0;f18r=0;f18l=lstr35;f19d=0;f19r=0;f20d=0;f20r=0;f20l=lstr36;f21d=0;f21r=0;f21l=lstr37;f22d=0;f22r=0;f22l=lstr38;f23d=0;f23r=0;f23l=lstr39;f4d=2;f4r=0;f5d=2;f5r=0;f6d=2;f6r=0; break; case 16101: hasFaq=1;hasEmpFaq=1;f0d=1;f0r=1;f0l=lstr40;f1d=0;f1r=0;f1l=lstr41;f2d=1;f2r=1;f2l=lstr42;f3d=0;f3r=0;f3l=lstr43;f7d=0;f7r=0;f7l=lstr44;f8d=1;f8r=0;f9d=0;f9r=0;f10d=0;f10r=0;f10l=lstr45;f11d=0;f11r=0;f11l=lstr46;f12d=0;f12r=0;f12l=lstr47;f13d=0;f13r=0;f13l=lstr48;f14d=0;f14r=0;f14l=lstr49;f15d=0;f15r=0;f15l=lstr50;f16d=0;f16r=0;f16l=lstr51;f17d=0;f17r=0;f17l=lstr52;f18d=0;f18r=0;f18l=lstr53;f19d=0;f19r=0;f20d=0;f20r=0;f20l=lstr54;f21d=0;f21r=0;f21l=lstr55;f22d=0;f22r=0;f22l=lstr56;f23d=0;f23r=0;f23l=lstr57;f24d=0;f24r=0;f24l=lstr58;f4d=2;f4r=0;f5d=2;f5r=0;f6d=2;f6r=0; break; case 16102: hasFaq=1;hasEmpFaq=1;f0d=1;f0r=1;f1d=0;f1r=0;f2d=0;f2r=0;f3d=0;f3r=0;f7d=0;f7r=0;f9d=0;f9r=0;f10d=0;f10r=0;f11d=0;f11r=0;f12d=0;f12r=0;f13d=0;f13r=0;f14d=0;f14r=0;f15d=0;f15r=0;f16d=0;f16r=0;f17d=0;f17r=0;f18d=0;f18r=0;f19d=0;f19r=0;f20d=0;f20r=0;f8d=0;f8r=0;f4d=2;f4r=0;f5d=2;f5r=0;f6d=2;f6r=0; break; case 16044: hasFaq=1;hasEmpFaq=1;f0d=1;f0r=1;f1d=0;f1r=0;f2d=0;f2r=0;f3d=0;f3r=0;f7d=0;f7r=0;f9d=0;f9r=0;f10d=0;f10r=0;f11d=0;f11r=0;f12d=0;f12r=0;f13d=0;f13r=0;f14d=0;f14r=0;f15d=0;f15r=0;f16d=0;f16r=0;f17d=0;f17r=0;f18d=0;f18r=0;f19d=0;f19r=0;f20d=0;f20r=0;f21d=0;f21r=0;f22d=0;f22r=0;f23d=0;f23r=0;f24d=0;f24r=0;f8d=0;f8r=0;f4d=2;f4r=0;f5d=2;f5r=0;f6d=2;f6r=0; break; case 65747: hasFaq=1;f0d=0;f0r=0;f1d=0;f1r=0;f2d=0;f2r=0;f3d=0;f3r=0;f7d=0;f7r=0;f9d=0;f9r=0;f10d=0;f10r=0;f11d=0;f11r=0;f12d=0;f12r=0;f13d=0;f13r=0;f14d=0;f14r=0;f15d=0;f15r=0;f16d=0;f16r=0;f17d=0;f17r=0;f18d=0;f18r=0;f19d=0;f19r=0;f20d=0;f20r=0;f21d=0;f21r=0;f22d=0;f22r=0;f23d=0;f23r=0;f24d=0;f24r=0;f8d=0;f8r=0;f4d=2;f4r=0;f5d=2;f5r=0;f6d=2;f6r=0; break; case 16056: hasFaq=1;hasEmpFaq=1;f0d=1;f0r=0;f1d=0;f1r=0;f2d=0;f2r=0;f3d=0;f3r=0;f7d=0;f7r=0;f9d=0;f9r=0;f10d=0;f10r=0;f11d=0;f11r=0;f12d=0;f12r=0;f13d=0;f13r=0;f14d=0;f14r=0;f15d=0;f15r=0;f16d=0;f16r=0;f17d=0;f17r=0;f18d=0;f18r=0;f19d=0;f19r=0;f20d=0;f20r=0;f8d=0;f8r=0;f4d=2;f4r=0;f5d=2;f5r=0;f6d=2;f6r=0; break; case 47909: hasFaq=1;hasEmpFaq=1;f0d=0;f0r=0;f1d=0;f1r=0;f2d=0;f2r=0;f3d=0;f3r=0;f7d=0;f7r=0;f9d=0;f9r=0;f10d=0;f10r=0;f11d=0;f11r=0;f12d=0;f12r=0;f13d=0;f13r=0;f14d=0;f14r=0;f15d=0;f15r=0;f16d=0;f16r=0;f17d=0;f17r=0;f18d=0;f18r=0;f19d=0;f19r=0;f20d=0;f20r=0;f21d=0;f21r=0;f22d=0;f22r=0;f23d=0;f23r=0;f24d=0;f24r=0;f8d=0;f8r=0;f4d=2;f4r=0;f5d=2;f5r=0;f6d=2;f6r=0; break; case 16057: hasFaq=1;hasEmpFaq=1;f0d=1;f0r=1;f0l=lstr59;f1d=0;f1r=0;f1l=lstr60;f2d=0;f2r=0;f2l=lstr61;f3d=0;f3r=0;f3l=lstr62;f7d=0;f7r=0;f7l=lstr63;f8d=1;f8r=0;f9d=0;f9r=0;f10d=0;f10r=0;f10l=lstr64;f11d=0;f11r=0;f11l=lstr65;f12d=0;f12r=0;f12l=lstr66;f13d=0;f13r=0;f13l=lstr67;f14d=0;f14r=0;f14l=lstr68;f15d=0;f15r=0;f15l=lstr69;f16d=0;f16r=0;f16l=lstr70;f17d=0;f17r=0;f17l=lstr71;f18d=0;f18r=0;f18l=lstr72;f19d=0;f19r=0;f20d=0;f20r=0;f20l=lstr73;f21d=0;f21r=0;f21l=lstr74;f22d=0;f22r=0;f22l=lstr75;f23d=0;f23r=0;f23l=lstr76;f4d=2;f4r=0;f5d=2;f5r=0;f6d=2;f6r=0; break; case 16100: hasFaq=1;hasEmpFaq=1;f0d=1;f0r=1;f0l=lstr77;f1d=0;f1r=0;f1l=lstr78;f2d=1;f2r=1;f2l=lstr79;f3d=0;f3r=0;f3l=lstr80;f7d=0;f7r=0;f7l=lstr81;f8d=0;f8r=0;f9d=0;f9r=0;f10d=0;f10r=0;f10l=lstr82;f11d=0;f11r=0;f11l=lstr83;f12d=0;f12r=0;f12l=lstr84;f13d=0;f13r=0;f13l=lstr85;f14d=0;f14r=0;f14l=lstr86;f15d=0;f15r=0;f15l=lstr87;f16d=0;f16r=0;f16l=lstr88;f17d=0;f17r=0;f17l=lstr89;f18d=0;f18r=0;f18l=lstr90;f19d=0;f19r=0;f20d=0;f20r=0;f20l=lstr91;f21d=0;f21r=0;f21l=lstr92;f22d=0;f22r=0;f22l=lstr93;f23d=0;f23r=0;f23l=lstr94;f4d=2;f4r=0;f5d=2;f5r=0;f6d=2;f6r=0; break; case 16060: hasFaq=1;hasEmpFaq=1;f0d=1;f0r=1;f0l=lstr95;f1d=0;f1r=0;f2d=0;f2r=0;f3d=0;f3r=0;f7d=0;f7r=0;f9d=0;f9r=0;f10d=0;f10r=0;f11d=0;f11r=0;f12d=0;f12r=0;f13d=0;f13r=0;f14d=0;f14r=0;f15d=0;f15r=0;f16d=0;f16r=0;f17d=0;f17r=0;f18d=0;f18r=0;f19d=0;f19r=0;f20d=0;f20r=0;f21d=0;f21r=0;f22d=0;f22r=0;f23d=0;f23r=0;f24d=0;f24r=0;f8d=1;f8r=0;f4d=2;f4r=0;f5d=2;f5r=0;f6d=2;f6r=0; break; case 16063: hasFaq=1;hasEmpFaq=1;f0d=1;f0r=0;f0l=lstr96;f1d=0;f1r=0;f1l=lstr97;f2d=0;f2r=0;f2l=lstr98;f3d=0;f3r=0;f3l=lstr99;f7d=0;f7r=0;f7l=lstr100;f8d=0;f8r=0;f9d=0;f9r=0;f10d=0;f10r=0;f10l=lstr101;f11d=0;f11r=0;f11l=lstr102;f12d=0;f12r=0;f12l=lstr103;f13d=0;f13r=0;f13l=lstr104;f14d=0;f14r=0;f14l=lstr105;f15d=0;f15r=0;f15l=lstr106;f16d=0;f16r=0;f16l=lstr107;f17d=0;f17r=0;f17l=lstr108;f18d=0;f18r=0;f18l=lstr109;f19d=0;f19r=0;f20d=0;f20r=0;f20l=lstr110;f21d=0;f21r=0;f21l=lstr111;f22d=0;f22r=0;f22l=lstr112;f23d=0;f23r=0;f23l=lstr113;f4d=2;f4r=0;f5d=2;f5r=0;f6d=2;f6r=0; break; case 47912: hasFaq=1;hasEmpFaq=1;f0d=1;f0r=1;f1d=0;f1r=0;f2d=0;f2r=0;f3d=0;f3r=0;f7d=0;f7r=0;f9d=0;f9r=0;f10d=0;f10r=0;f11d=0;f11r=0;f12d=0;f12r=0;f13d=0;f13r=0;f14d=0;f14r=0;f15d=0;f15r=0;f16d=0;f16r=0;f17d=0;f17r=0;f18d=0;f18r=0;f19d=0;f19r=0;f20d=0;f20r=0;f21d=0;f21r=0;f22d=0;f22r=0;f23d=0;f23r=0;f24d=0;f24r=0;f8d=0;f8r=0;f4d=2;f4r=0;f5d=2;f5r=0;f6d=2;f6r=0; break; case 60971: hasFaq=1;f0d=1;f0r=1;f1d=0;f1r=0;f2d=0;f2r=0;f3d=0;f3r=0;f7d=0;f7r=0;f8d=0;f8r=0;f9d=0;f9r=0;f10d=0;f10r=0;f11d=0;f11r=0;f12d=0;f12r=0;f13d=0;f13r=0;f14d=0;f14r=0;f15d=0;f15r=0;f16d=0;f16r=0;f17d=0;f17r=0;f18d=0;f18r=0;f19d=0;f19r=0;f20d=0;f20r=0;f4d=2;f4r=1;f5d=2;f5r=1;f6d=2;f6r=1; break; case 16111: hasFaq=1;f0d=1;f0r=1;f0l=lstr114;f1d=0;f1r=0;f1l=lstr115;f2d=0;f2r=0;f2l=lstr116;f3d=0;f3r=0;f3l=lstr117;f7d=0;f7r=0;f7l=lstr118;f8d=0;f8r=0;f9d=0;f9r=0;f10d=0;f10r=0;f10l=lstr119;f11d=0;f11r=0;f11l=lstr120;f12d=0;f12r=0;f12l=lstr121;f13d=0;f13r=0;f13l=lstr122;f14d=0;f14r=0;f14l=lstr123;f15d=0;f15r=0;f15l=lstr124;f16d=0;f16r=0;f16l=lstr125;f17d=0;f17r=0;f17l=lstr126;f18d=0;f18r=0;f18l=lstr127;f19d=0;f19r=0;f20d=0;f20r=0;f20l=lstr128;f21d=0;f21r=0;f21l=lstr129;f22d=0;f22r=0;f22l=lstr130;f23d=0;f23r=0;f23l=lstr131;f4d=2;f4r=0;f5d=2;f5r=0;f6d=2;f6r=0; break; case 66874: hasFaq=1;f0d=1;f0r=1;f1d=0;f1r=0;f2d=0;f2r=0;f3d=0;f3r=0;f7d=0;f7r=0;f9d=0;f9r=0;f10d=0;f10r=0;f11d=0;f11r=0;f12d=0;f12r=0;f13d=0;f13r=0;f14d=0;f14r=0;f15d=0;f15r=0;f16d=0;f16r=0;f17d=0;f17r=0;f18d=0;f18r=0;f19d=0;f19r=0;f20d=0;f20r=0;f21d=0;f21r=0;f22d=0;f22r=0;f23d=0;f23r=0;f24d=0;f24r=0;f8d=0;f8r=0;f4d=2;f4r=0;f5d=2;f5r=0;f6d=2;f6r=0; break; case 67048: hasFaq=1;f0d=0;f0r=0;f1d=0;f1r=0;f2d=0;f2r=0;f3d=0;f3r=0;f7d=0;f7r=0;f9d=0;f9r=0;f10d=0;f10r=0;f11d=0;f11r=0;f12d=0;f12r=0;f13d=0;f13r=0;f14d=0;f14r=0;f15d=0;f15r=0;f16d=0;f16r=0;f17d=0;f17r=0;f18d=0;f18r=0;f19d=0;f19r=0;f20d=0;f20r=0;f21d=0;f21r=0;f22d=0;f22r=0;f23d=0;f23r=0;f24d=0;f24r=0;f8d=0;f8r=0;f4d=2;f4r=0;f5d=2;f5r=0;f6d=2;f6r=0; break; case 16061: hasFaq=1;hasEmpFaq=1;f0d=1;f0r=1;f0l=lstr132;f1d=0;f1r=0;f2d=0;f2r=0;f3d=0;f3r=0;f7d=0;f7r=0;f9d=0;f9r=0;f10d=0;f10r=0;f11d=0;f11r=0;f12d=0;f12r=0;f13d=0;f13r=0;f14d=0;f14r=0;f15d=0;f15r=0;f16d=0;f16r=0;f17d=0;f17r=0;f18d=0;f18r=0;f19d=0;f19r=0;f20d=0;f20r=0;f21d=0;f21r=0;f22d=0;f22r=0;f23d=0;f23r=0;f24d=0;f24r=0;f8d=1;f8r=0;f4d=2;f4r=0;f5d=2;f5r=0;f6d=2;f6r=0; break; case 16062: hasFaq=1;hasEmpFaq=1;f0d=1;f0r=1;f1d=1;f1r=0;f2d=0;f2r=0;f3d=0;f3r=0;f7d=0;f7r=0;f9d=0;f9r=0;f10d=0;f10r=0;f11d=0;f11r=0;f12d=0;f12r=0;f13d=0;f13r=0;f14d=0;f14r=0;f15d=0;f15r=0;f16d=0;f16r=0;f17d=0;f17r=0;f18d=0;f18r=0;f19d=0;f19r=0;f20d=0;f20r=0;f21d=0;f21r=0;f22d=0;f22r=0;f23d=0;f23r=0;f24d=0;f24r=0;f8d=0;f8r=0;f4d=2;f4r=0;f5d=2;f5r=0;f6d=2;f6r=0; break; case 55874: hasFaq=1;f0d=1;f0r=1;f1d=0;f1r=0;f2d=0;f2r=0;f3d=0;f3r=0;f7d=0;f7r=0;f9d=0;f9r=0;f10d=0;f10r=0;f11d=0;f11r=0;f12d=0;f12r=0;f13d=0;f13r=0;f14d=0;f14r=0;f15d=0;f15r=0;f16d=0;f16r=0;f17d=0;f17r=0;f18d=1;f18r=1;f19d=0;f19r=0;f20d=0;f20r=0;f21d=0;f21r=0;f22d=0;f22r=0;f23d=0;f23r=0;f24d=0;f24r=0;f8d=0;f8r=0;f4d=2;f4r=1;f5d=2;f5r=1;f6d=2;f6r=0; break; case 47680: hasFaq=1;hasEmpFaq=1;f0d=1;f0r=1;f1d=0;f1r=0;f2d=0;f2r=0;f3d=0;f3r=0;f7d=0;f7r=0;f9d=0;f9r=0;f10d=0;f10r=0;f11d=0;f11r=0;f12d=0;f12r=0;f13d=0;f13r=0;f14d=0;f14r=0;f15d=0;f15r=0;f16d=0;f16r=0;f16l=lstr133;f17d=1;f17r=1;f17l=lstr134;f18d=0;f18r=0;f19d=0;f19r=0;f20d=0;f20r=0;f21d=0;f21r=0;f22d=0;f22r=0;f23d=0;f23r=0;f24d=0;f24r=0;f8d=0;f8r=0;f8l=lstr135;f4d=2;f4r=0;f5d=2;f5r=0;f6d=2;f6r=0; break; case 66395: hasFaq=1;f0d=1;f0r=1;f1d=0;f1r=0;f2d=0;f2r=0;f3d=0;f3r=0;f7d=0;f7r=0;f9d=0;f9r=0;f10d=0;f10r=0;f11d=0;f11r=0;f12d=0;f12r=0;f13d=0;f13r=0;f14d=0;f14r=0;f15d=0;f15r=0;f16d=0;f16r=0;f17d=0;f17r=0;f18d=0;f18r=0;f19d=0;f19r=0;f20d=0;f20r=0;f21d=0;f21r=0;f22d=0;f22r=0;f23d=0;f23r=0;f24d=0;f24r=0;f8d=0;f8r=0;f4d=2;f4r=1;f5d=2;f5r=1;f6d=2;f6r=1; break; case 63385: hasFaq=1;hasEmpFaq=1;f0d=1;f0r=1;f1d=0;f1r=0;f2d=0;f2r=0;f3d=0;f3r=0;f7d=0;f7r=0;f9d=0;f9r=0;f10d=0;f10r=0;f11d=0;f11r=0;f12d=0;f12r=0;f13d=0;f13r=0;f14d=0;f14r=0;f15d=0;f15r=0;f16d=0;f16r=0;f17d=0;f17r=0;f18d=0;f18r=0;f19d=0;f19r=0;f20d=0;f20r=0;f21d=0;f21r=0;f22d=0;f22r=0;f23d=0;f23r=0;f24d=0;f24r=0;f8d=0;f8r=0;f4d=2;f4r=1;f5d=2;f5r=1;f6d=2;f6r=0; break; case 16163: hasFaq=1;f0d=1;f0r=1;f1d=0;f1r=0;f2d=0;f2r=0;f3d=0;f3r=0;f7d=0;f7r=0;f9d=0;f9r=0;f10d=0;f10r=0;f11d=0;f11r=0;f12d=0;f12r=0;f13d=0;f13r=0;f14d=0;f14r=0;f15d=0;f15r=0;f16d=0;f16r=0;f17d=0;f17r=0;f18d=0;f18r=0;f19d=0;f19r=0;f20d=0;f20r=0;f21d=0;f21r=0;f22d=0;f22r=0;f23d=0;f23r=0;f24d=0;f24r=0;f8d=0;f8r=0;f4d=2;f4r=1;f5d=2;f5r=1;f6d=2;f6r=0; break; case 16055: hasFaq=1;hasEmpFaq=1;f0d=1;f0r=1;f0l=lstr136;f1d=0;f1r=0;f1l=lstr137;f2d=1;f2r=1;f2l=lstr138;f3d=0;f3r=0;f3l=lstr139;f7d=0;f7r=0;f7l=lstr140;f8d=1;f8r=0;f9d=0;f9r=0;f10d=0;f10r=0;f10l=lstr141;f11d=0;f11r=0;f11l=lstr142;f12d=0;f12r=0;f12l=lstr143;f13d=0;f13r=0;f13l=lstr144;f14d=0;f14r=0;f14l=lstr145;f15d=0;f15r=0;f15l=lstr146;f16d=0;f16r=0;f16l=lstr147;f17d=0;f17r=0;f17l=lstr148;f18d=0;f18r=0;f18l=lstr149;f19d=0;f19r=0;f20d=0;f20r=0;f20l=lstr150;f21d=0;f21r=0;f21l=lstr151;f22d=0;f22r=0;f22l=lstr152;f23d=0;f23r=0;f23l=lstr153;f4d=2;f4r=0;f5d=2;f5r=0;f6d=2;f6r=0; break; case 16103: hasFaq=1;hasEmpFaq=1;f0d=1;f0r=1;f0l=lstr154;f1d=0;f1r=0;f1l=lstr155;f2d=0;f2r=0;f2l=lstr156;f3d=0;f3r=0;f3l=lstr157;f7d=0;f7r=0;f7l=lstr158;f8d=1;f8r=0;f9d=0;f9r=0;f10d=0;f10r=0;f10l=lstr159;f11d=0;f11r=0;f11l=lstr160;f12d=0;f12r=0;f12l=lstr161;f13d=0;f13r=0;f13l=lstr162;f14d=0;f14r=0;f14l=lstr163;f15d=0;f15r=0;f15l=lstr164;f16d=0;f16r=0;f16l=lstr165;f17d=0;f17r=0;f17l=lstr166;f18d=0;f18r=0;f18l=lstr167;f19d=0;f19r=0;f20d=0;f20r=0;f20l=lstr168;f21d=0;f21r=0;f21l=lstr169;f22d=0;f22r=0;f22l=lstr170;f23d=0;f23r=0;f23l=lstr171;f4d=2;f4r=0;f5d=2;f5r=0;f6d=2;f6r=0; break; case 17229: f0d=1;f0r=1;f1d=0;f1r=0;f2d=0;f2r=0;f3d=0;f3r=0;f7d=0;f7r=0;f8d=0;f8r=0;f4d=2;f4r=1;f5d=2;f5r=1;f6d=2;f6r=0; break; case 16065: hasFaq=1;hasEmpFaq=1;f0d=1;f0r=1;f0l=lstr172;f1d=1;f1r=0;f1l=lstr173;f2d=0;f2r=0;f2l=lstr174;f3d=0;f3r=0;f3l=lstr175;f7d=0;f7r=0;f7l=lstr176;f8d=0;f8r=0;f9d=0;f9r=0;f10d=0;f10r=0;f10l=lstr177;f11d=0;f11r=0;f11l=lstr178;f12d=0;f12r=0;f12l=lstr179;f13d=0;f13r=0;f13l=lstr180;f14d=0;f14r=0;f14l=lstr181;f15d=0;f15r=0;f15l=lstr182;f16d=0;f16r=0;f16l=lstr183;f17d=0;f17r=0;f17l=lstr184;f18d=0;f18r=0;f18l=lstr185;f19d=0;f19r=0;f20d=0;f20r=0;f20l=lstr186;f21d=0;f21r=0;f21l=lstr187;f22d=0;f22r=0;f22l=lstr188;f23d=0;f23r=0;f23l=lstr189;f24d=0;f24r=0;f24l=lstr190;f4d=2;f4r=0;f5d=2;f5r=0;f6d=2;f6r=0; break; case 42361: hasFaq=1;hasEmpFaq=1;f0d=1;f0r=1;f1d=0;f1r=0;f2d=0;f2r=0;f3d=0;f3r=0;f7d=0;f7r=0;f9d=0;f9r=0;f10d=0;f10r=0;f11d=0;f11r=0;f12d=0;f12r=0;f13d=0;f13r=0;f14d=0;f14r=0;f15d=0;f15r=0;f16d=0;f16r=0;f17d=0;f17r=0;f18d=0;f18r=0;f19d=0;f19r=0;f20d=0;f20r=0;f21d=0;f21r=0;f22d=0;f22r=0;f23d=0;f23r=0;f24d=0;f24r=0;f8d=0;f8r=0;f4d=2;f4r=1;f5d=2;f5r=1;f6d=2;f6r=1; break; case 16042: hasEmpFaq=1;f0d=1;f0r=1;f1d=0;f1r=0;f2d=0;f2r=0;f3d=0;f3r=0;f7d=0;f7r=0;f9d=0;f9r=0;f10d=0;f10r=0;f11d=0;f11r=0;f12d=0;f12r=0;f13d=0;f13r=0;f14d=0;f14r=0;f15d=0;f15r=0;f16d=0;f16r=0;f17d=0;f17r=0;f18d=0;f18r=0;f19d=0;f19r=0;f20d=0;f20r=0;f21d=0;f21r=0;f8d=0;f8r=0;f4d=2;f4r=0;f5d=2;f5r=0;f6d=2;f6r=0; break; case 16068: hasFaq=1;hasEmpFaq=1;f0d=1;f0r=1;f0l=lstr191;f1d=0;f1r=0;f1l=lstr192;f2d=0;f2r=0;f2l=lstr193;f3d=0;f3r=0;f3l=lstr194;f7d=0;f7r=0;f7l=lstr195;f8d=0;f8r=0;f9d=0;f9r=0;f10d=0;f10r=0;f10l=lstr196;f11d=0;f11r=0;f11l=lstr197;f12d=0;f12r=0;f12l=lstr198;f13d=0;f13r=0;f13l=lstr199;f14d=0;f14r=0;f14l=lstr200;f15d=0;f15r=0;f15l=lstr201;f16d=0;f16r=0;f16l=lstr202;f17d=0;f17r=0;f17l=lstr203;f18d=0;f18r=0;f18l=lstr204;f19d=0;f19r=0;f20d=0;f20r=0;f20l=lstr205;f21d=0;f21r=0;f21l=lstr206;f22d=0;f22r=0;f22l=lstr207;f23d=0;f23r=0;f23l=lstr208;f24d=0;f24r=0;f24l=lstr209;f4d=2;f4r=0;f5d=2;f5r=0;f6d=2;f6r=0; break; case 16069: hasFaq=1;hasEmpFaq=1;f0d=1;f0r=0;f0l=lstr210;f1d=0;f1r=0;f1l=lstr211;f2d=0;f2r=0;f2l=lstr212;f3d=0;f3r=0;f3l=lstr213;f7d=0;f7r=0;f7l=lstr214;f8d=0;f8r=0;f9d=0;f9r=0;f10d=0;f10r=0;f10l=lstr215;f11d=0;f11r=0;f11l=lstr216;f12d=0;f12r=0;f12l=lstr217;f13d=0;f13r=0;f13l=lstr218;f14d=0;f14r=0;f14l=lstr219;f15d=0;f15r=0;f15l=lstr220;f16d=0;f16r=0;f16l=lstr221;f17d=0;f17r=0;f17l=lstr222;f18d=0;f18r=0;f18l=lstr223;f19d=0;f19r=0;f20d=0;f20r=0;f20l=lstr224;f21d=0;f21r=0;f21l=lstr225;f22d=0;f22r=0;f22l=lstr226;f23d=0;f23r=0;f23l=lstr227;f24d=0;f24r=0;f24l=lstr228;f4d=2;f4r=0;f5d=2;f5r=0;f6d=2;f6r=0; break; case 16076: hasFaq=1;hasEmpFaq=1;f4d=2;f4r=0;f5d=2;f5r=0;f6d=2;f6r=0;f0d=1;f0r=0;f0l=lstr229;f1d=0;f1r=0;f1l=lstr230;f2d=0;f2r=0;f2l=lstr231;f3d=0;f3r=0;f3l=lstr232;f7d=0;f7r=0;f7l=lstr233;f8d=0;f8r=0;f10d=0;f10r=0;f10l=lstr234;f11d=0;f11r=0;f11l=lstr235;f12d=0;f12r=0;f12l=lstr236;f13d=0;f13r=0;f13l=lstr237;f14d=0;f14r=0;f14l=lstr238;f15d=0;f15r=0;f15l=lstr239;f16d=0;f16r=0;f16l=lstr240;f17d=0;f17r=0;f17l=lstr241;f18d=0;f18r=0;f18l=lstr242;f19d=0;f19r=0;f20d=0;f20r=0;f20l=lstr243;f21d=0;f21r=0;f21l=lstr244;f22d=0;f22r=0;f22l=lstr245;f23d=0;f23r=0;f23l=lstr246;f24d=0;f24r=0;f24l=lstr247;f9d=0;f9r=0;f9l=lstr248; break; case 16078: hasFaq=1;hasEmpFaq=1;f0d=1;f0r=1;f0l=lstr249;f1d=0;f1r=0;f1l=lstr250;f2d=0;f2r=0;f2l=lstr251;f3d=0;f3r=0;f3l=lstr252;f7d=0;f7r=0;f7l=lstr253;f8d=0;f8r=0;f9d=0;f9r=0;f10d=0;f10r=0;f10l=lstr254;f11d=0;f11r=0;f11l=lstr255;f12d=0;f12r=0;f12l=lstr256;f13d=0;f13r=0;f13l=lstr257;f14d=0;f14r=0;f14l=lstr258;f15d=0;f15r=0;f15l=lstr259;f16d=0;f16r=0;f16l=lstr260;f17d=0;f17r=0;f17l=lstr261;f18d=0;f18r=0;f18l=lstr262;f19d=0;f19r=0;f20d=0;f20r=0;f20l=lstr263;f21d=0;f21r=0;f21l=lstr264;f22d=0;f22r=0;f22l=lstr265;f23d=0;f23r=0;f23l=lstr266;f24d=0;f24r=0;f24l=lstr267;f4d=2;f4r=0;f5d=2;f5r=0;f6d=2;f6r=0; break; case 16165: f0d=1;f0r=0;f1d=0;f1r=0;f2d=0;f2r=0;f3d=0;f3r=0;f7d=0;f7r=0;f9d=0;f9r=0;f10d=0;f10r=0;f11d=0;f11r=0;f12d=0;f12r=0;f8d=1;f8r=0;f8l=lstr268;f4d=2;f4r=0;f5d=2;f5r=0;f6d=2;f6r=0; break; } if (window.LocationDisplay) LocationDisplay(f0d,f0r,(window.setLabelWidth) ? setLabelWidth(f0l) : f0l);if (window.TimeDisplay) TimeDisplay(f1d,f1r,(window.setLabelWidth) ? setLabelWidth(f1l) : f1l);if (window.FacilityDisplay) FacilityDisplay(f2d,f2r,(window.setLabelWidth) ? setLabelWidth(f2l) : f2l);if (window.ParkDisplay) ParkDisplay(f3d,f3r,(window.setLabelWidth) ? setLabelWidth(f3l) : f3l);if (window.LastNameDisplay) LastNameDisplay(f4d,f4r,(window.setLabelWidth) ? setLabelWidth(f4l) : f4l);if (window.PhoneDisplay) PhoneDisplay(f5d,f5r,(window.setLabelWidth) ? setLabelWidth(f5l) : f5l);if (window.EmailDisplay) EmailDisplay(f6d,f6r,(window.setLabelWidth) ? setLabelWidth(f6l) : f6l);if (window.extra1Display) extra1Display(f7d,f7r,(window.setLabelWidth) ? setLabelWidth(f7l) : f7l);if (window.MobileDisplay) MobileDisplay(f8d,f8r,(window.setLabelWidth) ? setLabelWidth(f8l) : f8l);if (window.WorkOrderDisplay) WorkOrderDisplay(f9d,f9r,(window.setLabelWidth) ? setLabelWidth(f9l) : f9l);if (window.extra2Display) extra2Display(f10d,f10r,(window.setLabelWidth) ? setLabelWidth(f10l) : f10l);if (window.extra3Display) extra3Display(f11d,f11r,(window.setLabelWidth) ? setLabelWidth(f11l) : f11l);if (window.extra4Display) extra4Display(f12d,f12r,(window.setLabelWidth) ? setLabelWidth(f12l) : f12l);if (window.ReportNumberDisplay) ReportNumberDisplay(f13d,f13r,(window.setLabelWidth) ? setLabelWidth(f13l) : f13l);if (window.RedactedDocumentsDisplay) RedactedDocumentsDisplay(f14d,f14r,(window.setLabelWidth) ? setLabelWidth(f14l) : f14l);if (window.DateoftheRecordingDisplay) DateoftheRecordingDisplay(f15d,f15r,(window.setLabelWidth) ? setLabelWidth(f15l) : f15l);if (window.NameofsubjectsoftherecordingDisplay) NameofsubjectsoftherecordingDisplay(f16d,f16r,(window.setLabelWidth) ? setLabelWidth(f16l) : f16l);if (window.trashOrRecyclingDisplay) trashOrRecyclingDisplay(f17d,f17r,(window.setLabelWidth) ? setLabelWidth(f17l) : f17l);if (window.CartServiceDisplay) CartServiceDisplay(f18d,f18r,(window.setLabelWidth) ? setLabelWidth(f18l) : f18l);if (window.BackDoorServiceDisplay) BackDoorServiceDisplay(f19d,f19r,(window.setLabelWidth) ? setLabelWidth(f19l) : f19l);if (window.CommericalandDumpsterServiceDisplay) CommericalandDumpsterServiceDisplay(f20d,f20r,(window.setLabelWidth) ? setLabelWidth(f20l) : f20l);if (window.GallonslostDisplay) GallonslostDisplay(f21d,f21r,(window.setLabelWidth) ? setLabelWidth(f21l) : f21l);if (window.FootageVideoedDisplay) FootageVideoedDisplay(f22d,f22r,(window.setLabelWidth) ? setLabelWidth(f22l) : f22l);if (window.FootageJettedDisplay) FootageJettedDisplay(f23d,f23r,(window.setLabelWidth) ? setLabelWidth(f23l) : f23l);if (window.PilotProgramDisplay) PilotProgramDisplay(f24d,f24r,(window.setLabelWidth) ? setLabelWidth(f24l) : f24l); if (hasFaq) { var curURL ='https://user.govoutreach.com/desoto/faq.php?cid='+curClassification+'>=1&color=#FFFFFF'; if (document.getElementById('showfaq').style.display == 'none' || document.getElementById('faqframe').src != curURL) { document.getElementById('showfaq').style.display=''; document.getElementById('faqframe').src=curURL; } } else { document.getElementById('showfaq').style.display='none'; } } function doSubmit() { var nodes = document.getElementsByTagName('label'); var max = nodes.length; var errMsg = ''; for(var i = 0;i < max;i++) { var nodeObj = nodes.item(i); if (nodeObj.innerHTML.charAt(0) == '<') { var nameOfForField = nodeObj.htmlFor; if (nameOfForField == '') continue; var ifield = document.getElementById(nameOfForField); //caseForm.elements[nameOfForField]; var labelName = nodeObj.innerHTML; var labelDisplay = labelName.substr(labelName.toLowerCase().indexOf('') + 8); labelDisplay = labelDisplay.replace(/<[^>]*>/i,"").replace(':',''); if (ifield.type == 'select-one') { if (ifield.selectedIndex == 0) { if (errMsg == '') ifield.focus(); errMsg += 'You must select from the list: "' + labelDisplay + '"\n'; } } else if (ifield.value != undefined && ifield.value.search(/[^ ]/) == -1) { if (errMsg == '') ifield.focus(); errMsg += 'You must enter information for: "' + labelDisplay + '"\n'; } } } if (errMsg != '') { alert(errMsg); return false; } if(document.getElementById('email') && document.getElementById('email').value.length < 1 && document.getElementById('phone').value.length < 1) { if (confirm("We value our relationship with you but without a phone number or an email address we cannot contact you or follow-up. \n\nPress OK if you are sure you don't want to be contacted.") == false) { document.getElementById('email').focus(); return false; } } document.getElementById('sendbutton').style.display='none'; document.getElementById('sendMsg').innerHTML = 'Sending Request'; return true; } function requireField(id,req) { var v=document.getElementById(id).innerHTML; if (req) { if (v.charAt(0) != '<') v = '* ' + v; } else { if (v.charAt(0) == '<') v = v.substr(v.toLowerCase().indexOf('') + 8); } document.getElementById(id).innerHTML = v; } function LocationDisplay(disp,req,label) { document.getElementById('xdisplayLocation').style.display= (disp)?'':'none'; if( label) document.getElementById('locationlabel').innerHTML= label; requireField('locationlabel',req); } function MessageDisplay(disp,req,label) { document.getElementById('speciallabel').style.display= (disp)?'':'none'; if( label) document.getElementById('instructionlabel').innerHTML= label; } function FileBrowserDisplay(disp,req,label) { document.getElementById('xfileBrowser').style.display= (disp)?'':'none'; if( label) document.getElementById('fileBrowserlabel').innerHTML= label; requireField('fileBrowserlabel',req); } function extra1Display(disp,req,label) { document.getElementById('xextra1').style.display= (disp)?'':'none'; if( label) document.getElementById('extra1label').innerHTML= label; requireField('extra1label',req); } function extra2Display(disp,req,label) { document.getElementById('xextra2').style.display= (disp)?'':'none'; if( label) document.getElementById('extra2label').innerHTML= label; requireField('extra2label',req); } function extra3Display(disp,req,label) { document.getElementById('xextra3').style.display= (disp)?'':'none'; if( label) document.getElementById('extra3label').innerHTML= label; requireField('extra3label',req); } function extra4Display(disp,req,label) { document.getElementById('xextra4').style.display= (disp)?'':'none'; if( label) document.getElementById('extra4label').innerHTML= label; requireField('extra4label',req); } function extra5Display(disp,req,label) { document.getElementById('xextra5').style.display= (disp)?'':'none'; if( label) document.getElementById('extra5label').innerHTML= label; requireField('extra5label',req); } function extra6Display(disp,req,label) { document.getElementById('xextra6').style.display= (disp)?'':'none'; if( label) document.getElementById('extra6label').innerHTML= label; requireField('extra6label',req); } function AccountDisplay(disp,req,label) { document.getElementById('xaccount').style.display= (disp)?'':'none'; if( label) document.getElementById('accountlabel').innerHTML= label; requireField('accountlabel',req); } function TimeDisplay(disp,req,label) { document.getElementById('xtime').style.display= (disp)?'':'none'; if( label) document.getElementById('incidenttimelabel').innerHTML= label; requireField('incidenttimelabel',req); } function DateDisplay(disp,req,label) { document.getElementById('xdate').style.display= (disp)?'':'none'; if( label) document.getElementById('incidentdatelabel').innerHTML= label; requireField('incidentdatelabel',req); } function FacilityDisplay(disp,req,label) { document.getElementById('xfacilityName').style.display= (disp)?'':'none'; if( label) document.getElementById('facilitynamelabel').innerHTML= label; requireField('facilitynamelabel',req); } function ParkDisplay(disp,req,label) { document.getElementById('xpark').style.display= (disp)?'':'none'; if( label) document.getElementById('parklabel').innerHTML= label; requireField('parklabel',req); } function LastNameDisplay(disp,req,label) { if (document.getElementById('lastnamelabel')) requireField('lastnamelabel',req); } function FirstNameDisplay(disp,req,label) { if (document.getElementById('firstnamelabel')) requireField('firstnamelabel',req); } function AddressDisplay(disp,req,label) { if (document.getElementById('addresslabel')) requireField('addresslabel',req); } function PhoneDisplay(disp,req,label) { if (document.getElementById('phonelabel')) requireField('phonelabel',req); } function EmailDisplay(disp,req,label) { if (document.getElementById('emaillabel')) requireField('emaillabel',req); } function setFaqText(txt) { document.getElementById('faqtext').style.width = document.caseForm.description.offsetWidth; document.getElementById('faqtext').innerHTML = txt; } // trap enter key and translate to tab key //var nav = window.Event ? true : false; var nav = window.captureEvents ? true : false; // uncomment out capturing of keydown if we want enter to act like tab if (nav) { // window.captureEvents(Event.KEYDOWN); window.onkeydown = NetscapeEventHandler_KeyDown; } else { // document.onkeydown = MicrosoftEventHandler_KeyDown; document.onclick = MicrosoftEventHandler_Click; // also trap clicks on labels for selectbox to fix bug in ie } function NetscapeEventHandler_KeyDown(e) { if (e.which == 13 && e.target.type != 'textarea' && e.target.type != 'submit') { return false; } return true; } function MicrosoftEventHandler_KeyDown() { if (event.keyCode == 13 && event.srcElement.type != 'textarea' && event.srcElement.type != 'submit') event.keyCode=9; // return false; return true; } function MicrosoftEventHandler_Click() { if (event.srcElement.tagName == 'LABEL') { var fldName = event.srcElement.htmlFor; if (document.getElementById(fldName) && document.getElementById(fldName).tagName == 'SELECT') { document.getElementById(fldName).focus(); return false; } } //return true; } function checkret(e,fld) { var code = (e.keyCode ? e.keyCode : e.which); if(code == 13) signin(); } function signin() { dosignin(document.getElementById('loginname').value, document.getElementById('password').value, document.getElementById('remember').checked); } // // AJAX Here function getHttpRequest() { var httpRequest; if (window.XMLHttpRequest) { try { httpRequest = new XMLHttpRequest(); } catch(e) { httpRequest = false; } } else if(window.ActiveXObject) { try { httpRequest = new ActiveXObject("Msxml2.XMLHTTP"); } catch(e) { try { httpRequest = new ActiveXObject("Microsoft.XMLHTTP"); } catch(e) { httpRequest = false; } } } return httpRequest; } function goAJAXRequest(url, callback, parm) { var xmlHttp = getHttpRequest(); xmlHttp.onreadystatechange = function() { if(xmlHttp.readyState == 4) { callback(xmlHttp, parm); } } xmlHttp.open("GET", url + ">=" + new Date().getTime(), true); xmlHttp.send(null); } window.fbAsyncInit = function() { // init the FB JS SDK FB.init({ appId : '359210164172988', // App ID from the app dashboard channelUrl : 'https://user.govoutreach.com/desoto/channel.html', // Channel file for x-domain comms status : true, // Check Facebook Login status xfbml : false // Look for social plugins on the page }); FB.Event.subscribe('auth.statusChange', function(response){ if (response.status == 'connected') { // User already authenticated. If signed in, hide sign-out button. If not signed in, check their credentials to log them in if (!facebookSignedInGO()) //!document.getElementById('signoutbutton')) fbCheckEmailForLogon(); else fbCheckConnected(); // document.getElementById('signoutbutton').style.display = 'none'; } else if (response.status == 'not_authorized') { // User is logged into Facebook but has not authorized our app. If we are not logged in, show button asking if they want to log in. // If logged in, show signout button. This would occur if the user deauthorizes the app in Facebook while logged in to us. if (!facebookSignedInGO()) //document.getElementById('signoutbutton')) facebookShowUse(1); else facebookShowSignout(1); } else { // User is not logged into Facebook. If logged in, show logout button. If not logged in, make sure Facebook button is hidden. if (!facebookSignedInGO()) //document.getElementById('signoutbutton')) facebookShowUse(0); else facebookShowSignout(0); } }); }; // Load the SDK asynchronously (function(d, s, id){ var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) {return;} js = d.createElement(s); js.id = id; js.src = "//connect.facebook.net/en_US/all.js"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk')); function fbCheckConnected() { FB.api('/me', function(response) { goAJAXRequest('https://user.govoutreach.com/desoto/usefbid.php?cmd=iscon&fbid='+response.id , function (req) { try { var liresponse = eval('(' + req.responseText + ')'); if (liresponse.result == 1) facebookShowSignout(0); // Facebook id is connected, hide signout button else facebookShowSignout(1); // Facebook is is not connected, show signout button (person could have just disconnected facebook } catch(e){} }); }); } var fbDoingAuthenticate = 0; var fbUseLoginResult = 0; function fbCheckEmailForLogon() { FB.api('/me', function(response) { var fbEmail = (response.email === undefined) ? '' : response.email; goAJAXRequest('https://user.govoutreach.com/desoto/usefbid.php?cmd=doLogIn&fba='+fbDoingAuthenticate+'&fbid='+response.id + '&fbemail='+encodeURIComponent(fbEmail)+'&fbname='+encodeURIComponent(response.name), function (req) { try { var liresponse = eval('(' + req.responseText + ')'); fbUseLoginResult = parseInt(liresponse.result); // save in global so we can decide what to do when pressing use button later switch (fbUseLoginResult) { case 1: // We were able to log this person in so refresh the screen and we will be logged in caseForm.submit(); break; case 2: // This email address is for a citizen but not linked if (fbDoingAuthenticate) { facebookShowUse(0); // Hide the Use Facebook button alert('Since you already have used this system with the email address '+response.email+' we have sent a message to your email address to authorize access from this Facebook account. You will not be able to automatically login from Facebook until you confirm the email.'); facebookPopulateFields(response); // copy facebook fields over to our form } else facebookShowUse(1); break; case 3: // This email address is for an employee. If just did the authenticate, give alert, else ignore (so do not get multiple alerts) facebookShowUse(0); // Hide the Use Facebook button if (fbDoingAuthenticate) alert('Facebook may not be used to authenticate employees.'); break; case 0: // Facebook account not in our system and email not in our system facebookPopulateFields(response); facebookShowUse(1); break; } fbDoingAuthenticate = 0; } catch(e){} }); // alert('first name:' + response.first_name + ', last:'+response.last_name+ ', email:' + response.email); }); } function useFacebook() { fbDoingAuthenticate = 1; if (fbUseLoginResult == 2) { // we are already authorized and citizen has email account in system but not linked fbCheckEmailForLogon(); // so see if we can get through this time return; } // Log user and authenticate to use our app. If successful, get email address and check if should log in FB.login(function(response) { if (response.authResponse) { // document.getElementById('fbrow').style.display = 'none'; // happens automatically above ... fbCheckEmailForLogon(); } }, {scope:'email'}); } function facebookShowUse(on) { document.getElementById('fbUseButton').style.display = (on) ? '' : 'none'; } function facebookShowSignout(on) { document.getElementById('signoutbutton').style.display = (on)? '' : 'none'; } function facebookSignedInGO() { var res = (document.getElementById('signoutbutton')) ? 1 : 0; return res; } function facebookPopulateFields(response) { caseForm.curfbid.value = response.id; if (caseForm.firstName && response.first_name) caseForm.firstName.value = response.first_name; if (caseForm.lastName && response.last_name) caseForm.lastName.value = response.last_name; if (caseForm.email && response.email) caseForm.email.value = response.email; } function formatPhone(field) { field.value = trim(field.value); var ov = field.value; if (ov.charAt(0) == '1') ov = ov.substring(1); // skip over leading one // First pass is to see if the user left the area code off var n = 0; for (var i = 0; i < ov.length; i++) { var ch = ov.charAt(i); if (ch >= '0' && ch <= '9') n++; if ((ch < '0' || ch > '9') && ch != ' ' && ch != '-' && ch != '(' && ch != ')') break; // invalid character so assume pass actual phone number } if (n == 7) { ov = '972' + ov; // if only a 7-digit number, put the area code there first n = 10; } if (n != 10) return true; // don't have the correct number of digits so do not format // Now do the formatting of the number var v = ""; var x = -1; n = 0; for (var i = 0; i < ov.length; i++) { var ch = ov.charAt(i); if (ch >= '0' && ch <= '9') { if (n == 0) v += '('; else if (n == 3) v += ') '; else if (n == 6) v += '-'; v += ch; n++; } // see if we have any non-valid characters. If so, handle as extension if ((ch < '0' || ch > '9') && ch != ' ' && ch != '-' && ch != '(' && ch != ')') { x = i; break; } } // add extension if there is one if (x != -1) v += ' ' + ov.substring(x); field.value = v; // set formatted value return true; } function ltrim(s) {return s.replace( /^\s*/, "" );} function rtrim(s) {return s.replace( /\s*$/, "" );} function trim(s) {return rtrim(ltrim(s));}