Warning: main(): Unable to access /globallib/common.html in /home/virtual/site145/fst/var/www/html/newsroom/index.php on line 2

Warning: main(/globallib/common.html): failed to open stream: No such file or directory in /home/virtual/site145/fst/var/www/html/newsroom/index.php on line 2

Warning: main(): Unable to access /globallib/common.html in /home/virtual/site145/fst/var/www/html/newsroom/index.php on line 2

Warning: main(/globallib/common.html): failed to open stream: No such file or directory in /home/virtual/site145/fst/var/www/html/newsroom/index.php on line 2

Warning: main(): Failed opening '/globallib/common.html' for inclusion (include_path='.:/php/includes:/usr/share/php:/usr/share/pear') in /home/virtual/site145/fst/var/www/html/newsroom/index.php on line 2
<% '------------------------------------------ ' Ryan Sherrer | ryan@digiknow.com ' Portions Copyright 2000-2001 DigiKnow LLC ' Copyright 2001 '------------------------------------------ Const csDB = "CenBen" Dim gbPost, gsThisPage, goError Dim cn, cmd, rs gbPost = (Request.ServerVariables("REQUEST_METHOD") = "POST") gsThisPage = Request.ServerVariables("SCRIPT_NAME") Set goError = New BuildError Sub RaiseDB(db, Conn) Set Conn = Server.Createobject("ADODB.Connection") Conn.Open Application(db & "_ConnectionString"),Application(db & "_RuntimeUserName"),Application(db & "_RuntimePassword") End Sub Sub RaiseRS(rsData) Set rsData = Server.CreateObject("ADODB.Recordset") End Sub Sub RaiseCMD(cmdTemp) Set cmdTemp = Server.CreateObject("ADODB.Command") End Sub Sub KillDB(db, Conn) Conn.Close Set Conn = NOTHING End Sub Sub KillRS(rsData) Set rsData = NOTHING End Sub Sub KillCMD(cmdTemp) Set cmdTemp = NOTHING End Sub Class BuildError Private sMessage Public Function Add( var ) sMessage = sMessage & var & "|" End Function Public Function Raise() Dim kex If sMessage = "" Then Exit Function Else Response.Write "" & vbCR Response.Write "The following errors have occurred: " & vbCR Response.Write "
    " & vbCR For Each kex In Split(sMessage, "|") If kex = "" Then Exit For Else Response.Write "
  1. " & kex & "
  2. " & vbCR End If Next 'kex Response.Write "
    " & vbCR End If End Function Public Property Get Exists Exists = Not(sMessage = "" Or Isnull(sMessage)) End Property End Class ' StateSelect ' By Jeff Donze, Copyright © 2000, DigiKnow LLC ' strFieldName = name of select control ' strData = data value of option to be selected ' bCanada = true/false, include Candian provinces ' bAbbr = Display state abbreviations function IndexSearch ( query ) ' This function will query the index server according to static documents ' on the server versus the dynamic data that resides in documents ' strScope is the location of where to search. '---------------------------------------------------------------> ' START INDEX SERVER VARIABLES SiteLocale = "EN-US" NewQuery = TRUE UseSavedQuery = FALSE set Q = Server.CreateObject("ixsso.Query") set util = Server.CreateObject("ixsso.Util") ActiveQuery = TRUE Q.LocaleID = util.ISOToLocaleID(SiteLocale) Q.Query = query & " & #doctitle = * & !#filename = xx_* & !#filename = *.htm & !#filename = *.html" Q.SortBy = "rank[d]" Q.Columns = "DocTitle, vpath, filename, size, write, characterization, rank" Q.MaxRecords = 300 ' CATALOG Q.Catalog = "CentralBenefits" ' END RS SERVER VARIABLES '---------------------------------------------------------------> util.AddScopeToQuery Q, "/", "deep" set RS = Q.CreateRecordSet("nonsequential") dim strTemp strTemp = "" if not RS.EOF then strTemp = strTemp & "" & vbCrLf while not RS.EOF j = j + 1 alltime = alltime + 1 if VarType(RS("DocTitle")) = 1 or RS("DocTitle") = "" then strTemp = strTemp & "" & vbcrlf strTemp = strTemp & "" & vbcrlf strTemp = strTemp & "" & vbcrlf strTemp = strTemp & "" & vbcrlf strTemp = strTemp & "" & vbcrlf strTemp = strTemp & "" & vbcrlf RS.MoveNext wend strTemp = strTemp & "
    " & j & "." & Server.HTMLEncode(RS("filename")) & "
    " & vbcrlf else doctitle = trim( RS("DocTitle")) strTemp = strTemp & "
    " & j & "." & Server.HTMLEncode(DocTitle) & "
    " & vbcrlf end if if VarType(RS("characterization")) = 8 and RS("characterization") <> "" then strTemp = strTemp & "" & vbcrlf strTemp = strTemp & "Abstract: " & vbcrlf strTemp = strTemp & replace(RS("characterization"), chr(160), " ") strTemp = strTemp & "" & vbcrlf end if strTemp = strTemp & "
     
    " & vbCrLf end if RS.Close IndexSearch = strTemp set Q = NOTHING set util = NOTHING set RS = NOTHING end function function StateSelect( strFieldName, strData, bCanada, bAbbr ) dim ary1, ary2, str1, str2, i str2 = ",AK,AL,AZ,AR,CA,CO,CT,DE,FL,GA,HI,ID,IL,IN,IA,KS,KY,LA,ME,MD,MA,MI,MN,MS,MO,MT,NE,NV,NH,NJ,NM,NY,NC,ND,OH,OK,OR,PA,RI,SC,SD,TN,TX,UT,VT,VA,WA,WV,WI,WY,DC" if bCanada then str2 = str2 & ",,Alberta,British Columbia,Manitoba,Maritimes,Ontario,Quebec" ary2 = Split( str2, "," ) if bAbbr then str1 = str1 & "