﻿<!--   
  function _doService(RootPath,ModelPath,menuId)
  { 
    var kw=document.getElementById('_servicekeyword_');  
    if(kw==null || kw.value==''){    
      return false;
    }
    var mid=menuId!=null?parseInt(menuId):0;
    var sm=document.getElementById('_servicemodel_');   
    var kt=document.getElementById('_servicekeytype_');                                          
    var url=RootPath;                        
    url=( url!='' ? '/' + url : url) + '/' + (sm!=null ? sm.value : ModelPath) + '/service.html';    
    location.href=url + "?sm=" + (sm!=null ? sm.value : ModelPath) + "&kt=" + (kt!=null ? kt.value : (ModelPath.toLowerCase()=='products' ? 'name' : 'title')) + "&kw=" + (kw!=null ? encodeURI(kw.value) : '') + '&mid='+mid;    
     
    return true;
  }
-->

