<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Search Results</title>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<meta name="ROBOTS" content="NOINDEX, NOFOLLOW">
<link rel="stylesheet" type="text/css" href="../styles/default.css">
<link rel="stylesheet" type="text/css" href="search.css">
</head>
<body>
<div id="wrap2">
<a href="../media/home.html"><img style="float:left;" src="../images/title.gif" alt="" /></a>
<a href="http://councilforeconed.org/" target="_blank"><img style="float:right;margin-right:10px;" src="../images/logo.gif" alt="" /></a>
<br style="clear:both;" />
<!-- insert search engine here -->
<form name="SearchForm" action="sessearch.htm">
<input name="ae" type="hidden" value="ß">
<div class='srchMain'>
<table id='srchBox' cellspacing='0'><tr>
<td id='srchTitle'>Search documents for:</td>
<td id='srchQuery'><input type='text' name='q' id='queryBox'>
<input type='submit' value='Search' id='srchButton'>
</td>
</tr><tr>
<td colspan='2' id='srchOptions'>
<select name='cnt' id='srchCnt'>
<option value='10' selected>10</option>
<option value='20'>20</option>
<option value='50'>50</option>
</select> hits/page
<input type='reset' value='Reset' id='srchReset'>
</td>
</tr></table>
</div>
</form>
<script type='text/javascript'>
<!--
function GetOptionFromUrl (optionName)
{
var str = window.location.href;
var ind = str.indexOf (optionName + '=');
if (ind != -1)
{
var optEnd = str.indexOf ('&', ind + optionName.length + 1);
if (optEnd == -1)
{
return unescape (str.substr (ind + optionName.length + 1));
}
else
{
return unescape (str.substring (ind + optionName.length + 1, optEnd));
}
}
return 0;
}
function ReplaceAll (str, src, trg)
{
var s = str;
var start = 0;
while(true)
{
var ind = s.indexOf(src, start);
if (ind == -1)
{
break;
}
s = s.substring (0, ind) + trg + s.substr (ind + src.length);
start = ind + trg.length;
}
return s;
}
function FindAllFormItems (form)
{
var els = new Array ();
if (form)
{
var ar = form.elements;
var i;
for(i=0;ar && i<ar.length;i++)
{
if (ar [i].name)
{
els [els.length] = ar [i].name;
}
}
}
return els;
}
function ConvertUtf8 (input)
{
var output = '';
for (var n = 0; n < input.length; n++)
{
var c = input.charCodeAt (n);
if (c < 128) output += String.fromCharCode (c);
else if ((c > 191) && (c < 224))
{
output += String.fromCharCode (((c & 31) << 6) | (input.charCodeAt (n + 1) & 63));
n++;
}
else
{
output += String.fromCharCode (((c & 15) << 12) | ((input.charCodeAt (n + 1) & 63) << 6) | (input.charCodeAt (n + 2) & 63));
n+=2;
}
}
return output;
}
function UrlToFormItems (form)
{
var els = FindAllFormItems (form);
var i;
var bUTF8 = true;
for (i = 0; els && i < els.length; i++)
{
var nm = els [i];
var val = GetOptionFromUrl (nm);
if (form)
{
if (val)
{
if(nm && (nm.substr (0,1) == 'q' || nm.substr (0,2) == 'fq')) val = ReplaceAll (val, '+', ' ');
else if(nm == 'enc' && val.toLowerCase() == 'iso-8859-1') bUTF8 = false;
else if(nm == 'ae' && val.charCodeAt(0) == 223) {bUTF8 = false;continue;}
}
var el = form.elements [nm];
if (el && val)
{
if (el.type == 'checkbox') el.checked = val;
else if (el.type == 'select-one')
{
for (option = 0; option < el.options.length; option++) if (el.options [option].value == val) el.options [option].selected = 1;
}
else if (el.length)
{
for (j = 0; j < el.length; j++) if (el [j].value == val) el [j].checked = true;
}
else
{
if(nm == 'enc') el.value = 'utf-8';
else el.value = (bUTF8 ? ConvertUtf8 (val) : val);
}
}
}
}
document.bAnsi = !bUTF8;
}
function ClearSearchResults (resultsCodePart)
{
document.searchResultCode = '';
}
function AddToSearchResults (resultsCodePart)
{
document.searchResultCode = document.searchResultCode + resultsCodePart;
}
function ApplySearchResultsCode ()
{
var resultsDiv = document.getElementById ('SearchResults');
if (resultsDiv && document.searchResultCode)
{
resultsDiv.innerHTML = document.searchResultCode;
}
}
UrlToFormItems (document.forms ['SearchForm']);
//-->
</script>
<div id="SearchResults">
<div id="searchWaitBox"><table id="searchWait" cellspacing="0"><tr><td id="searchWaitText">Retrieving search results, please wait...</td><td style="width: 100px;"><img src="../images/search.gif" alt="Searching..." width="100" height="80"></td></tr></table><p style="text-align: center; font-size: smaller;">(Search Results not appearing? <a href="http://mediasupport.omnipress.com/webhelp/help/help_searchissues.htm" target="_blank">Click here</a>.)</p></div></div>
<script type='text/javascript'>
<!--
function GetDirFromPath (path)
{
var bslash = path.lastIndexOf ('\\');
var slash = path.lastIndexOf ('/');
if (bslash == -1 || slash > bslash)
bslash = slash;
if (bslash == -1)
{
return '';
}
else
{
return path.substring (0, bslash);
}
}
function GetAbsolutePath (rel)
{
var curPath = document.location.href;
curPath = ReplaceAll (curPath, 'file:///', '');
curPath = ReplaceAll (curPath, 'file://', '');
curPath = ReplaceAll (curPath, '/', '\\');
if (curPath.length >= 2)
{
if (curPath.substr (1, 1) == '|')
{
curPath = curPath.substr (0, 1) + ':' + curPath.substr (2);
}
if (curPath.substr (1, 1) != ':')
{
curPath = '\\\\' + curPath;
}
}
var qm = curPath.indexOf('?');
if (qm != -1)
curPath = curPath.substr (0,qm);
curPath = unescape (curPath);
var root = GetDirFromPath (curPath);
if (rel.length > 2 && rel.substr (0, 2) == './') rel = rel.substr (2);
var absPath = root + '\\' + ReplaceAll (rel, '/', '\\');
return absPath;
}
function FormItemsToUrl (url, form)
{
var queryString = url;
var els = FindAllFormItems (form);
var i;
if (form)
{
for (i = 0; i < els.length; i++)
{
var nm = els [i];
var val = form.elements [nm].value;
queryString += ((queryString.indexOf ('?') == -1) ? '?' : '&') + nm + '=' + val;
}
}
return queryString;
}
function SwitchSearchType (docURL, oldType, newType)
{
if (docURL.indexOf('noswitch=1') == -1)
{
var newURL = ReplaceAll (docURL, 'mode=' + oldType, 'mode=' + newType + '&noswitch=1');
if (newURL.indexOf('mode=' + newType) == -1)
newURL += (newURL.indexOf('?')==-1?'?':'&') + 'mode=' + newType + '&noswitch=1';
window.location.href = newURL;
return true;
}
return false;
}
function GetQueryString ()
{
var str = window.location.href;
var qm = str.indexOf('?');
if (qm == -1)
return '';
else
return str.substr (qm + 1);
}
function SubmitSearch ()
{
var bSwitch = false;
try
{
var absPath = "";
var sepCh = "";
if (!window.SearchCtl || window.SearchCtl.readyState != 4)
{
bSwitch = true;
}
else
{
absPath = GetOptionFromUrl ('dir');
if (!absPath)
{
absPath = GetAbsolutePath ('');
}
var q = GetQueryString ();
window.absPath = absPath;
window.searchString = q;
SearchCtl.Go (absPath,q);
}
}
catch (e)
{
bSwitch = true;
}
if (bSwitch)
{
var compURL = window.location.href;
if (SwitchSearchType (compURL, 'activex', 'java'))
return false;
}
}
function ShouldExecuteSearch ()
{
var fq = window.location.href.indexOf ('fq');
return (GetOptionFromUrl ('q') || GetOptionFromUrl ('qor') || GetOptionFromUrl ('qph') ||
fq != -1) ? true : false;
}
function SearchLoaded ()
{
var query = ShouldExecuteSearch ();
if (query)
{
SubmitSearch ();
}
}
function IsActiveXCompatible()
{
var Opera=(navigator.userAgent.indexOf('Opera')!=-1)||(navigator.appName.indexOf('Opera')!=-1)||(window.opera);
var IE4=(document.all&&!Opera) ;
var mac=((IE4)&&(navigator.appVersion.indexOf ("Mac")!=-1));
return (IE4&&!mac);
}
function GetUrlParams ()
{
var arr = new Array;
var str = window.location.href;
var len = str.length;
var i = str.indexOf ('?');
if (i == -1) i = 0; else i++;
var itemStart = i;
var name;
var lastItem = 0;
for (; i <= len; i++)
{
if (i < len && str.charAt (i) == '=')
{
name = str.substring (itemStart, i);
itemStart = i + 1;
}
else if (i == len || str.charAt (i) == '&')
{
var value = str.substring (itemStart, i);
if (name && value)
{
var o = new Object ();
o.name = name;
o.value = value;
arr [lastItem++] = o;
}
name = null;
itemStart = i + 1;
}
}
return arr;
}
function IsJavaEnabled ()
{
return (window.navigator && window.navigator.javaEnabled ());
}
function CreateJava()
{
var pagePath;
var url = window.location.href;
var qInd = url.indexOf ('?');
if (qInd != -1)
pagePath = url.substr (0, qInd);
else
pagePath = url;
if (IsActiveXCompatible () && (!window.navigator || !window.navigator.javaEnabled()))
{
if (SwitchSearchType (url, 'java', 'activex'))
return;
}
document.write("<applet name='SESSearch' archive='sessearch.jar' code='com.xtreeme.search.SESSearchApplet.class' style='visibility:hidden' width='2' height='2' MAYSCRIPT>\n");
var arr = GetUrlParams ();
var i;
var bWrap = false;
var paramNames = '';
for (i = 0; i < arr.length; i++)
{
var o = arr [i];
document.write("<param name=\"" + o.name + "\" value=\"" + o.value + "\">\n");
if (o.name == 'wrap') bWrap = true;
paramNames += o.name + ',';
}
if (!bWrap)
{
document.write("<param name=\"wrap\" value=\"" + pagePath + "\">\n");
paramNames += "wrap";
}
document.write("<param name=\"paramNames\" value=\"" + paramNames + "\">\n");
document.write("</applet>");
}
function CreateActiveX()
{
document.write ("<object width=\"1\" height=\"1\" style=\"display:none\" id=\"SearchCtl\" name=\"SearchCtl\" codebase=\"ses_ocx/sessearch.ocx#version=1,1,0,7\" classid=\"CLSID:3CBA13C3-58C7-47f1-9758-D4B255A50D52\" ></object>");
onload=SearchLoaded;
}
function SetSearchType()
{
var bActiveXCompatible = IsActiveXCompatible ()
var modeSet = GetOptionFromUrl ('mode');
if (modeSet == 'java') bActiveXCompatible = false;
else if (modeSet == 'activex') bActiveXCompatible = true;
if (bActiveXCompatible)
{
document.noReload=true;
CreateActiveX();
}
else
{
if (ShouldExecuteSearch ()) CreateJava();
document.noReload=false;
}
}
SetSearchType();
//-->
</script>
</div>
</body>
</html>