// Academical Template
// Atrise Everyfind Search Engine Version 8
// Copyright (C) Atrise Software, 1998-2007
// http://www.atrise.com/everyfind/

var CurFile = 'search.html';
var DefSearchStyle = 'o';   //'o' - OR, 'a' - AND
var PartsOfWordsSearch = 0; //1 - on, 0 - off
var PercentLimit = 1;       //The script shows pages with Accuracy > PercentLimit
var SortResult = 1;         //1 - on, 0 - off
var DefLinksPerPage = 10;
var InputLength = 30;
var ShortInputLength = 30;
var Icons ='doc,m3u,mp3,ogg,pdf,rtf,txt,wri,xls,zip';
var IconsDirectory = './evf/';
var CatSeparator = ', ';
var PageSeparator = ' ';

var PagesNavigatorMaxOffset = 4;
var PrevPage = '&lt;&lt;Previous';
var NextPage = 'Next&gt;&gt;';

var FirstTemplate =
'<center>'+
'<form name="queryform" action="%formaction%">'+
'<p>Search in:&nbsp;%select%&nbsp;%input%&nbsp;<input type="submit" value="Search"></p>'+
'</form>'+
'</center>'+
'<p><b>Search Tips</b><br />This search engine supports several advanced operators which are query words that have special meaning to the search engine.</p>'+
'<p><b>Boolean Search:</b><br />'+
'<b>OR</b> - This keyword allows the seach engine to "OR" boolean search (any keyword). This is the default mode. Example: <i>or auto motorcycle</i><br />'+
'<b>AND</b> - This keyword allows the search engine to "AND" boolean search (all keywords). Example: <i>and auto ford</i><br />'+
'<b>NOT</b> - This keyword allows the search engine to "NOT" boolean search (not these keywords). Example: <i>auto not ford mercedes</i><br />'+
'You can also combine all these operators. Example: <i>and auto ford or motorcycle not red blue green</i></p>'+
'<p><b>Wildcard Search:</b><br />'+
'<b>*eyword, keywor*</b> - The \'*\' char replaces any part of one keyword. Example: <i>moto* *uto</i><br />'+
'<b>*</b> - This keyword shows all links. Example: <i>*</i></p>';

var TopResultTemplate =
'<center>'+
'<form name="queryform" action="%formaction%">'+
'<p>Search in:&nbsp;%select%&nbsp;%input%&nbsp;<input type="submit" value="Search"></p>'+
'</form>'+
'<p>Found links: %found% from %total% in %pages% pages</p>'+
'</center>';

var LinkTemplate =
'<p>%num%.%icon%<a href="%url%">%captionorurl%</a><br />'+
'(%texturl%)<br />'+
'%description%<br />'+
'Accuracy: %accuracy%% - Category: %cat%</p>';

var LinkWithoutDescTemplate =
'<p>%num%.%icon%<a href="%url%">%captionorurl%</a><br />'+
'(%texturl%)<br />'+
'Accuracy: %accuracy%% - Category: %cat%</p>';

var NotFoundTemplate =
'<ul><li>Check your spelling.'+
'<li>Try different or fewer keywords.'+
'<li>Search for <b>%keys%</b> in: <a href="%searchurl%?keys=%keys%">all categories</a>.'+
'</ul>';

var BottomResultTemplate =
'<center><p>Result Pages:&nbsp;%pagesnav%</p>'+
'<form name="queryform" action="%formaction%">'+
'<p>Search in:&nbsp;%select%&nbsp;%input%&nbsp;<input type="submit" value="Search"></p>'+
'</form>'+
'</center>';
