dojo.provide("js.HighestRatedService");var highestRatedUrl=serverUrl+"/IFSWeb/IFSRetrieveHighestRatedRest";var HighestRatedService=new HighestRatedService();function HighestRatedService(){this.requestHighestRated=A;this.onErrorHandler=B;function A(C){C.url=highestRatedUrl;C.error=this.onErrorHandler;C.handleAs="json";C.timeout=logger.ajaxTimeout;dojo.xhrGet(C)}function B(D,C){console.log("###Error Occured retrieving top 2 recommended type: error.message: "+D.message+" ###")}};