if (typeof RBPTemplates==='undefined'){var RBPTemplates={};}RBPTemplates['SearchResults']=new Hogan.Template();RBPTemplates['SearchResults'].r=function(c,p,i){var _=this;_.b(i=i||"");_.b("\r");_.b("\n" + i);if(_.s(_.f("HasResult",c,p,1),c,p,0,16,3835,"{{ }}")){_.rs(c,p,function(c,p,_){_.b("<section class=\"container abntable\">\r");_.b("\n" + i);_.b("    <div class=\"row clearfix\">\r");_.b("\n" + i);if(_.s(_.f("MultipleResult",c,p,1),c,p,0,115,388,"{{ }}")){_.rs(c,p,function(c,p,_){_.b("        <div class=\"col-md-12 column\">\r");_.b("\n" + i);_.b("            <h1 class=\"text-center\"> There were multiple results for your provided details </h1>\r");_.b("\n" + i);_.b("            <h2 class=\"text-center\">Please select a company from the list below or change the ABN/ACN.</h2>\r");_.b("\n" + i);_.b("        </div>\r");_.b("\n");});c.pop();}if(!_.s(_.f("MultipleResult",c,p,1),c,p,1,0,0,"")){_.b("        <div class=\"col-md-12 column\">\r");_.b("\n" + i);_.b("            <h1 class=\"text-center\"> There is one result for your provided details </h1>\r");_.b("\n" + i);_.b("            <h2 class=\"text-center\">Please select the company from the list below or change the ABN/ACN.</h2>\r");_.b("\n" + i);_.b("        </div>\r");_.b("\n");};_.b("    </div>\r");_.b("\n" + i);_.b("    <div class=\"row clearfix formrow\">\r");_.b("\n" + i);_.b("        <div class=\"col-md-3 column \"></div>\r");_.b("\n" + i);_.b("        <div class=\"col-md-6 column \">\r");_.b("\n" + i);_.b("            <div id=\"divAbnAcnAfterSearch\" class=\"form-group\">\r");_.b("\n" + i);_.b("                <input id=\"abn_acn\" name=\"abn_acn\" type=\"text\" class=\"form-control\" placeholder=\"ABN or ACN*\" tabindex=\"1\" maxlength=\"11\">\r");_.b("\n" + i);_.b("            </div>\r");_.b("\n" + i);_.b("        </div>\r");_.b("\n" + i);_.b("        <div class=\"col-md-3 column \"></div>\r");_.b("\n" + i);_.b("    </div>\r");_.b("\n" + i);_.b("\r");_.b("\n" + i);_.b("    <div class=\"row clearfix\">\r");_.b("\n" + i);_.b("        <div class=\"col-md-12 column\">\r");_.b("\n" + i);_.b("            <div class=\"tableholder\">\r");_.b("\n" + i);_.b("\r");_.b("\n" + i);_.b("                <table class=\"sort-table\">\r");_.b("\n" + i);_.b("                    <tbody>\r");_.b("\n" + i);_.b("                        <tr>\r");_.b("\n" + i);_.b("                            <td class=\"number\">\r");_.b("\n" + i);_.b("                                ABN/ACN\r");_.b("\n" + i);_.b("                            </td>\r");_.b("\n" + i);_.b("                            <td class=\"name\">\r");_.b("\n" + i);_.b("                                Name\r");_.b("\n" + i);_.b("                            </td>\r");_.b("\n" + i);_.b("                            <td class=\"type\">\r");_.b("\n" + i);_.b("                                Type\r");_.b("\n" + i);_.b("                            </td>\r");_.b("\n" + i);_.b("                            <td class=\"state\">\r");_.b("\n" + i);_.b("                                State\r");_.b("\n" + i);_.b("                            </td>\r");_.b("\n" + i);_.b("                            <td class=\"status\">\r");_.b("\n" + i);_.b("                                Status\r");_.b("\n" + i);_.b("                            </td>\r");_.b("\n" + i);_.b("                            <td class=\"buttonholder\">&nbsp;</td>\r");_.b("\n" + i);_.b("                        </tr>\r");_.b("\n" + i);_.b("                    </tbody>\r");_.b("\n" + i);_.b("                </table>\r");_.b("\n" + i);_.b("\r");_.b("\n" + i);_.b("                <ul class=\"result-list\">\r");_.b("\n" + i);_.b("                    <li>\r");_.b("\n" + i);_.b("                        <table class=\"result-table\">\r");_.b("\n" + i);_.b("                            <tbody>\r");_.b("\n" + i);if(_.s(_.f("SearchResult",c,p,1),c,p,0,2352,3630,"{{ }}")){_.rs(c,p,function(c,p,_){_.b("                                <tr>\r");_.b("\n" + i);_.b("                                    <td class=\"number\">\r");_.b("\n" + i);_.b("                                        <span>ABN/ACN:</span>");_.b(_.v(_.f("AbnAcn",c,p,0)));_.b("\r");_.b("\n" + i);_.b("                                    </td>\r");_.b("\n" + i);_.b("                                    <td class=\"name\">\r");_.b("\n" + i);_.b("                                        <span>Name:</span>");_.b(_.v(_.f("OrgName",c,p,0)));_.b("\r");_.b("\n" + i);_.b("                                    </td>\r");_.b("\n" + i);_.b("                                    <td class=\"type\">\r");_.b("\n" + i);_.b("                                        <span>Type:</span>");_.b(_.v(_.f("OrgType",c,p,0)));_.b("\r");_.b("\n" + i);_.b("                                    </td>\r");_.b("\n" + i);_.b("                                    <td class=\"state\">\r");_.b("\n" + i);_.b("                                        <span>State:</span>");_.b(_.v(_.f("State",c,p,0)));_.b("\r");_.b("\n" + i);_.b("                                    </td>\r");_.b("\n" + i);_.b("                                    <td class=\"status\">\r");_.b("\n" + i);_.b("                                        <span>Status:</span>");_.b(_.v(_.f("Status",c,p,0)));_.b("\r");_.b("\n" + i);_.b("                                    </td>\r");_.b("\n" + i);_.b("                                    <td style=\"padding-left: 15px; padding-right: 15px;\">\r");_.b("\n" + i);_.b("                                        <a class=\"btn btn-default btn--primary\" role=\"button\" data-resultitemid=\"");_.b(_.v(_.f("OrganisationId",c,p,0)));_.b("\">Select <i class=\"fa fa-chevron-right\"></i></a>\r");_.b("\n" + i);_.b("                                    </td>\r");_.b("\n" + i);_.b("                                </tr>\r");_.b("\n");});c.pop();}_.b("                            </tbody>\r");_.b("\n" + i);_.b("                        </table>\r");_.b("\n" + i);_.b("                    </li>\r");_.b("\n" + i);_.b("                </ul>\r");_.b("\n" + i);_.b("\r");_.b("\n" + i);_.b("            </div>\r");_.b("\n" + i);_.b("        </div>\r");_.b("\n" + i);_.b("    </div>\r");_.b("\n" + i);_.b("</section>\r");_.b("\n" + i);_.b("\r");_.b("\n");});c.pop();}if(!_.s(_.f("HasResult",c,p,1),c,p,1,0,0,"")){if(_.s(_.f("ShowCustomMessage",c,p,1),c,p,0,3893,4180,"{{ }}")){_.rs(c,p,function(c,p,_){_.b("        <h1 class=\"text-center\">We're sorry, your credit score is not currently available online.</h1>\r");_.b("\n" + i);_.b("        <h2 class=\"text-center\">\r");_.b("\n" + i);_.b("            Sometimes a business doesn't have an active credit file, which means a credit score is not immediately available. \r");_.b("\n" + i);_.b("        </h2>\r");_.b("\n");});c.pop();}if(!_.s(_.f("ShowCustomMessage",c,p,1),c,p,1,0,0,"")){_.b("        <h1 class=\"text-center\">We're sorry, we have not been able to locate a file for this organisation.</h1>\r");_.b("\n" + i);_.b("        <h2 class=\"text-center\">    \r");_.b("\n" + i);_.b("            This service is only available for ASIC registered business names and companies.<br />            \r");_.b("\n" + i);_.b("        </h2>\r");_.b("\n");};_.b("    <div class=\"row clearfix formrow\">\r");_.b("\n" + i);_.b("        <div class=\"col-md-3 column \"></div>\r");_.b("\n" + i);_.b("        <div class=\"col-md-6 column \">\r");_.b("\n" + i);_.b("            <div id=\"divAbnAcnAfterSearch\" class=\"form-group\">\r");_.b("\n" + i);_.b("                <input id=\"abn_acn\" name=\"abn_acn\" type=\"text\" class=\"form-control\" placeholder=\"ABN or ACN*\" tabindex=\"1\" maxlength=\"11\">\r");_.b("\n" + i);_.b("            </div>\r");_.b("\n" + i);_.b("        </div>\r");_.b("\n" + i);_.b("        <div class=\"col-md-3 column \"></div>\r");_.b("\n" + i);_.b("    </div>\r");_.b("\n");};return _.fl();;};