<!--
var test="a";
var find='Alumni_By_Date.html~ Canada Montreal Mission - Alumni (by year)|Alumni Missionaries Names Missionary Address Email Listing Alphabetical Year Comments email websites Olsen Owens Godfrey Rasband Froerer*'
+'Introduction.html~ Canada Montreal Mission Homepage|Canada Montreal Mission Flag Home Page Église Jésus-Christ des Saints des Derniers Jours Welcome Alumni Contribute Returned Missionaries Address Phone Office*'
+'History.html~ Canada Montreal Mission - History|Canada Montreal Mission History Olsen Wayne Owens Young Maxwell Peets Sabey Harding Bourget Perry Rasband Events Ontario Quebec Roster Kelly Roberts Guy Bouchard Olsen Owens Taggart Rasband Froerer Pitcher Franckum Mackley Bugg Hughes Coleman Église Jésus-Christ Saints Derniers Jours Church map*'
+'Quebec.html~ About Quebec|Canada Montreal Mission Quebec Web Sites employment French English Francais map The Montreal Gazette Tourism Information Current Weather Forecast The French Page The Quebec Museum Maple Syrup Music Travel Agency Montreal Canadiens Historique de la poutine La Page Montreal PLANÈTE QUÉBEC Quebec ezine*'
+'Quebec_Map.html~ Map of Quebec|Quebec City Montreal locations areas map districts zones*'
+'Enter_Information.html~ Contributions Form|register contributions form address name email address alumni city returned missionary rm comments dates*'
+'OwensTribute.html~ Tribute to Wayne Owens|Wayne Owens*'
+'Current_Events.html~ Current Events|Ulrich*'
+'Presidents_Page.html~ Presidents of the CMM|Olsen Owens Godfrey Wynder Taggart Rasband Dickson McKittrick Froerer Stoddard Ulrich*'

function initArray(){
 this.length=initArray.arguments.length;
 for (var i=0;i<this.length;i++){
  this[i]=initArray.arguments[i];
 }
}

var sr=new initArray("4b","5b","8b","8b");
var f=0
function doSrch(){
//alert("in doSrch");
 if (sr[0]=="4b"){
  parStr();
 }
 findw = parent.List.document.searcher.findword.value
 findw=findw.toLowerCase();
 disp = "";
 document.write('<html><body background=graphics/backgrnd.jpg><center><form name="isn">');
 flg=2; // Set flag to "no matches found"
 for (i=0;i<stp;i++){
   fold=sr[i].toLowerCase();
   if (fold.indexOf(findw) > -1) {
     f++;
     pos=sr[i].indexOf("~");
     pos1=sr[i].indexOf("|");
     disp+="<OPTION VALUE='"+sr[i].substring(0,pos);
     if (flg==3){
       disp+="' onClick=''>";
     } else{
       disp+="' onClick='' SELECTED>";
     }
     disp+=sr[i].substring(pos+1,pos1);
     flg=3; // Set flag to "matches found"
   }
 }
 document.write('<P><FONT COLOR="red" SIZE=4><B>');
 if (flg==3){
    document.write('Matches found for "'+findw+'".');
 }else{
    document.write('No matches found for "'+findw+'". Please search for other topic!');
 }
 document.write('</B></FONT><p>');  
 if (flg==3) {
    if (f>20) f=20; if (f<2) f=2;
    document.write('<SELECT NAME="isn1" SIZE=' + f.toString() + '>' + disp + '</SELECT><br>');
    document.write('<br><INPUT TYPE="button" NAME="button" Value=" Select and Go " onClick="doloc(this.form)">');
 }
  document.write('</center></FORM></BODY></HTML><P>');
}
 
 function parStr() {
   srs=parent.find;
   var i=0;
   while (srs.indexOf("*")>0) {
     pos=srs.indexOf("*");
     sr[i]=srs.substring(0,pos);
     srs=srs.substring(pos+1,srs.length);
     i++;
   }
   stp=i;
 }

function doloc(){
  durl=(document.isn.isn1.options[document.isn.isn1.selectedIndex].value);
  //parent.Display.location.target='Display';
  //document.write();
  location.href=durl;
} 

/* The test value is set at "a" in nwsrc.htm until a
   search is actually sought.  Then it is changed. All
   this does is to keep this pane blank until first
   search is performed. */
if (parent.test != "a"){
 doSrch();
}

function alertBox() {
  if (ent1 < 10) {
    alert("I'm sorry. The number you entered: "+ ent1 
    + ", must be more than 9");
    }
  }

//-->