function performKeywordSearch() {
   var form = document.searchform;
        
   searchParam = "&Type=Event&PageType=Event&Format=CNSSS";
        
   var keywd = document.getElementById('searchstring').value;
   keywd = document.searchform.searchstring.value;
   if (keywd != "") {
      searchParam = searchParam + '&Search=' + escape(keywd);
   }
   form.action = 'http://www.mktix.com/mktixrun/shared/mknporun?dir=glcf&page=mk2eventlistfrm.jsp' + searchParam;
   form.submit();
}



function siteSetMenus (curpath) {  
   firststring ="";
   secondstring ="";   

   pathremaining=curpath;
   goonflag = true;
   
   while (goonflag) {
     nextparsepoint=-1;
     if (pathremaining.substring(0,1) == "/") pathremaining = pathremaining.substring(1);

     nextparsepoint = pathremaining.indexOf("/");
     if (nextparsepoint < 0) {
       nextparsepoint = pathremaining.indexOf(".");
     }
     if (nextparsepoint < 0) {
       nextparsepoint = pathremaining.length;
     }

     if (nextparsepoint > 0) {
       curtoken = pathremaining.substring(0,nextparsepoint);
       pathremaining = pathremaining.substring(nextparsepoint+1);
       mkSetNav(curtoken);
     } else {
       goonflag=false;
     }
   }   
}


