<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
	<title>Search</title>
	<link rel="stylesheet" type="text/css" href="main.css" />
</head>
<body>
	<table id="search-progress" cellpadding="0" cellspacing="0" border="0">
		<tr>
			<td class="img">
				<img src="oe-search-cursor.gif" width="44" height="44" alt="" /></td>
			<td>
				Searching...</td>
			<td>
				<img src="oe-search-progress-right.gif" alt="" />
			</td>
		</tr>
	</table>
	<%      id = request("id")

        function getBoolean( value )
                getBoolean = "false"
                if ( value ) then getBoolean = "true"
        end function

  if not isNumeric(id) then
    response.write("Project id is missing")
  else
    set Obj = folders.ProjectByIID(id)

    sid = Obj.SearchContents(request("search"))
    sout = "<META HTTP-EQUIV=""Refresh"" CONTENT=""2; URL=searchr.htm?id=" & id & "&sid=" & sid & """></HEAD><BODY>"
    response.write(sout)
'    response.write("Searching...")
  end if %>
</body>
</html>
