PageSourceSearch

https://www.callture.com/js/main.min.js?v=1.0.1

js callture.com collected 2026-09-26 12:51:05 UTC 16,243 bytes, 1 lines download raw bytes

1var IpList="";function GetCountry(){$.get("/api/CallAPIs.asp?apiname=AvailableLineNumbersGet&Proc=COUNTRIES&ResellerID=1",function(e){var t=(new X2JS).xml2json(e);$("#checkout-country").empty(),$("#checkout-country").append("<option value=''>-- Country --</option>"),$("#checkout-country").append("<option value='Canada'>Canada</option>"),$("#checkout-country").append("<option selected value='USA'>USA</option>"),$("#checkout-country").append("<option value='-' disabled>---------------------------------------------------------</option>"),Array.isArray(t.XML.LineNumberList.LineNumber)?$.each(t.XML.LineNumberList.LineNumber,function(e,t){"United States"!==t.Country&&"USA"!==t.Country&&"Canada"!==t.Country&&("United States"===t.Country?$("#checkout-country").append("<option selected value='"+t.Country+"'>"+t.Country+"  </option>"):$("#checkout-country").append("<option value='"+t.Country+"'>"+t.Country+"  </option>"))}):$("#checkout-country").append("<option value='"+t.XML.LineNumberList.LineNumber.Country+"'>"+t.XML.LineNumberList.LineNumber.Country+"  </option>")})}function LoadPhones(){$("#phone-data").addClass("block-loader");var e=$("#ddlCurrency").val();null==e&&(e="CAD");var t="/api/CallAPIs.asp?apiname=DevicesList&AID="+getAgentID()+"&CurrencyID="+e,n=$("#phone-data");$.get(t,function(t){$("#phone-data > div").not(":first").remove();var a=n.find(".row:first").find(".item"),o=0;$(t).find("Phone").each(function(){var t=$(this),i=a.clone(),r=t.find("DeviceName").text(),l=t.find("Description").text(),c=t.find("DisplayPrice").text(),s=t.find("Ports").text(),d=t.find("POECapable").text(),u=t.find("EthernetPassthrough").text(),p=t.find("PictureLocation").text(),h=t.find("Picture").text();null!=h&&null!=h&&""!=h&&(p=h);var m,f=t.find("Manufacturer").text().toLowerCase();m=t.find("NetworkPort").text();var v=t.find("DisplayPrice").text(),x=t.find("DeviceID").text();if("271"!=x){var g=t.find("DataSheet").text(),y=t.find("MSRP").text();t.find("PowerSupplyIncluded").text();r=r.replace(/[\t\n]+/g,"&nbsp;"),i.find(".phone-name").data("title",r).text(r),i.find(".phone-name").jTruncate({length:11,minTrail:5,moreText:"",lessText:""}
1),i.find(".phone-description").data("content",l),i.find(".phone-description").text(l),i.find(".phone-description").jTruncate({length:75,moreText:"",lessText:""}),i.find(".phone-price").text(parseFloat(c).toFixed(2)+" "+e),i.find(".phone-MSRP").text(parseFloat(y).toFixed(2)+" "+e),i.find(".phone-lines").text(s),i.find(".phone-ethernet").text(m),i.find(".phone-display").text("-"),i.find(".phone-desc").text(l),i.find(".phone-poe").text(parseInt(d)?"True":"False"),i.find(".thumbnail img").attr("src",p),""!=g?i.find(".datasheet").attr("href",g):i.find(".datasheet").hide(),i.find(".hidden.id").text(x),i.find(".hidden.cost").text(v),i.find(".hidden.name").text(r),i.data("lines",s),i.data("brand",f),i.data("poe",d),i.data("ethernet",u),i.addClass("divcount_"+o),o++,n.append(i),$("#phone-data").find(".item:visible").sort(function(e,t){return $(e).find(".hidden.cost").text()-$(t).find(".hidden.cost").text()}).each(function(e,t){$(t).parent().append(t)})}}),$("#phone-data").removeClass("block-loader"),$(".select-phone").click(function(e){var t=window.location.pathname;window.location.href;-1==t.indexOf("pricing.html")?(selectPhone1(e),document.location="pricing.html"):selectPhone(e),$(this).closest(".toggle").toggleClass("open"),$(this).closest(".toggle").toggle(400),CloseDevicepage()})},"xml")}function selectPhone1(e){var t=$(e.target).find(".hidden.id").text(),n=$(e.target).find(".hidden.cost").text(),a=$(e.target).find(".hidden.name").text();deviceId=t,deviceCost=Number(n),deviceName=a,"undefined"!=typeof Storage&&(sessionStorage.setItem("deviceId",deviceId),sessionStorage.setItem("deviceCost",deviceCost),sessionStorage.setItem("deviceName",deviceName))}function setSettingToElement(e,t){var n=$("#"+t);if(n.length){var a="/api/GetLocalSetting.asp?settingKey="+e;$.get(a,function(e){console.log("Data:"+e+" - "+n.text()),n.text(n.text()+" - "+e)})}}function getip(){var e="";try{$.ajax({url:"../api/GetLocalSetting.asp?SettingKey=remote_addr",async:!1,success:function(t){e=t}})}catch(e){}return e}function IsCanadaIP(){var e=getip(),t=!1;if(""==IpList)try{$.ajax({url:"../resources/iplist.txt",async:!1,success:function(e){IpList=e}})}catch(e){}if(""!=IpList&&""!=e){var n=e.split(".");if(n.length>=4){var a=parseInt(n[3])+256*parseInt(n[2])+256*parseInt(n[1])*256+256*parseInt(n[0])*256*256;console.log(a);for(var o=IpList.split("\n"),i=0;i<o.length;i++){var r=o[i].split("\t");if(r.length>=2&&parseInt(a)>=parseInt(r[0])&&parseInt(a)<=parseInt(r[1])){t=!0;break}}}}return console.log(t),t}function LoadHappyCustomers(){var e=$("#testimonial_content");$.get("/inc/promoting.xml",function(t){$("#testimonial_content").not(":first").remove();var n=e.find(".card:first");$(t).find("companylist").each(function(){var t=$(this),a=n.clone(),o=$.trim(t.find("companyname").text()),i=$.trim(t.find("logoname").text()),r=t.find("description").text(),l=t.find("website").text();""!=$.trim(l)&&l.toLowerCase().indexOf("http:")<0&&(l="http://"+$.trim(l)),a.find("#test_img").attr("src","/img/customers/"+i),a.find("#test_header").text(o),a.find("#test_detail").text(r),a.find("#test_website").attr("href",l),""==$.trim(l)&&(a.find("#test_website").attr("href","#"),a.find("#test_website").addClass("hidelink")),a.removeClass("hidden"),e.append(a)}),e.find(".card-text").alternateScroll()},"xml")}!function(e){function t(t,n){var a=[],o=e(t).find(n);o.each(function(){var t=e(this);a.push(t.outerHeight(!0))});var i=Math.max.apply(Math,a);o.each(function(){e(this).css("height",i)})}function n(){var t=e("#sign-up iframe.iframe-class");e(window).width()<1199?t.attr("scrolling","yes"):t.attr("scrolling","no")}e(function(){(jQuery("img.svg").each(function(){var e=jQuery(this),t=e.attr("id"),n=e.attr("class"),a=e.attr("src");jQuery.get(a,function(a){var o=jQuery(a).find("svg");void 0!==t&&(o=o.attr("id",t)),void 0!==n&&(o=o.attr("class",n+" replaced-svg")),o=o.removeAttr("xmlns:a"),e.replaceWith(o)},"xml")}),e("#ddlCurrency").length>0)&&(IsCanadaIP()?(e("#ddlCurrency").val("CAD").select2(),e("#lblCurrency").text("CAD")):(e("#ddlCurrency").val("USD").select2(),e("#lblCurrency").text("USD")),LoadPhones());e("#live-chat-close-button").on("click",function(){return!1}),getCookie("live-chat-bar")&&e("#live-chat-bar").remove(),t("#readme-list",".item.color-two"),t("#readme-list",".item.color-two .list"),t("#two-in-row",".panel"),t("#tabs",".panel-body .fixed-height.color-two"),t("#tabs .container-fluid",".col-md-3.well"),e("#live-chat-button, #live-chat-button-2").on("click",function(){window.open("https://www.livehelpnow.net/lhn/lc.aspx?d=0&zzwindow=0&lhnid=14764&custom1=&custom2=&custom3=","","width=300, height=400")}),e(window).resize(function(){n()}),n(),e("#carousel").carousel({interval:3e4,cycle:!0}),e(".memo-on-call").on("click",function(){return e("#memo-on-call-modal").modal(),!1}),e("#memo-on-call-modal").on("show.bs.modal",function(t){e(t.relatedTarget).data("id");e("#memo-on-call-modal .modal-body").html('<iframe width="100%" height="490px" src="https://www.youtube.com/embed/xxLl4xNj4Zs?rel=0&autoplay=true" frameborder="0" allowfullscreen></iframe>')}),e("#memo-on-call-modal").on("hidden.bs.modal",function(){e("#memo-on-call-modal .modal-body").empty()}),e(".disabled-hyperlink").on("click",function(){return!1}),e("#interest5").click(function(){e(this).prop("checked")?e("#txt_interestother").removeClass("hide").addClass("show"):e("#txt_interestother").removeClass("show").addClass("hide")}),e("#phones-panel").on("click",function(){return LoadPhones(),e("#myMo
1dal").modal(),!1}),e("#ddlCurrency").on("change",function(){LoadPhones()});var a=e("#phone-data");e("#filters").on("change","select",function(){var t=e(this),n=t.val(),o=a.find(".item");if("sort-by"!=t.data("param")){var i=e("#ddlLines").val(),r=e("#ddlBrand").val(),l=e("#ddlEthernet").val(),c=e("#ddlPoe").val(),s=e("#ddSortby").val();o.hide();var d=o;""!=i&&(d=d.filter(function(){return e(this).data("lines")==i})),""!=l&&(d=d.filter(function(){return e(this).data("ethernet")==l})),""!=r&&(d=d.filter(function(){return e(this).data("brand")==r})),""!=c&&(d=d.filter(function(){return e(this).data("poe")==c})),d.show(),"1"==s?e("#phone-data").find(".item:visible").sort(function(t,n){return e(t).find(".hidden.cost").text()-e(n).find(".hidden.cost").text()}).each(function(t,n){e(n).parent().append(n)}):"2"==s&&e("#phone-data").find(".item:visible").sort(function(t,n){return e(n).find(".hidden.cost").text()-e(t).find(".hidden.cost").text()}).each(function(t,n){e(n).parent().append(n)}),d.length?e("#phones-message").addClass("hidden"):e("#phones-message").removeClass("hidden")}else"1"==n?e("#phone-data").find(".item:visible").sort(function(t,n){return e(t).find(".hidden.cost").text()-e(n).find(".hidden.cost").text()}).each(function(t,n){e(n).parent().append(n)}):"2"==n&&e("#phone-data").find(".item:visible").sort(function(t,n){return e(n).find(".hidden.cost").text()-e(t).find(".hidden.cost").text()}).each(function(t,n){e(n).parent().append(n)})}),a.on("mouseover touchstart","h5",function(){var t=e(this);t.popover({trigger:"hover",title:t.children("strong").data("title"),html:!0,content:t.parent().find(".popover").html(),container:"body",placement:"right"})}).on("mouseover touchstart","h6:not(.text-warning)",function(){var t=e(this);t.popover({trigger:"hover",title:"Description",content:t.data("content"),container:"body",placement:"right"})});e("#promo-code").on("submit",function(){return!1}),window.location.href.toLowerCase().indexOf("pricing.html")<0&&e.get("/api/CallAPIs.asp?apiname=AgentPromoCodes&AID=0&PromoCode=",function(t){var n=0;e(t).find("Plan").each(function(){return n=e(this).find("CostPerMonth").text(),!1}),e(".table-responsive table").find("td.price").text("$"+n)},"xml"),window.location.href.toLowerCase().indexOf("pricing.html")>0&&("115860"==getAgentID().toString()?e("#beatanyprice").removeClass("hidden"):e("#beatanyprice").addClass("hidden"));if(e.get("/api/CallAPIs.asp?apiname=RatesList&PosId=2&RateId=6559&IsUSIncluded=0",function(t){var n=e("#select-country");n.html(""),e(t).find("Country").each(function(){var t=e(this).find("Area").text(),a=e(this).find("Rate").text();n.append('<option value="'+a+'">'+t+"</option>")})},"xml"),window.location.href.toLowerCase().indexOf("pricing.html")>=0){e("#select-currency");e.get("/api/CallAPIs.asp?apiname=ExchangeRatesList",function(t){var n=e("#select-currency");n.html(""),e(t).find("Currency").each(function(){var t=e(this).find("CurrencyName").text(),a=e(this).find("Rate").text();n.append('<option value="'+a+'">'+t+"</option>")})},"xml")}e("#international-rates").on("change","select.form-control",function(){var t=e("#select-country").val(),n=e("#select-currency").val(),a=e("#select-currency").find("option:selected").text(),o="";if(t&&n){o=(parseFloat(t)*parseFloat(n)).toFixed(4);e("#rate-is").text(o+a)}else e("#rate-is").text("Please select country")}),e('form input[class*="-form-control"]').removeAttr("size").css("width","100%"),e("form textarea").removeAttr("cols").css("width","100%"),e("#btncalculator").click(function(){e("#commissioncalculator").modal()}),e("#contactForm").submit(function(t){e("#SubmitYourInquiry").html("Please wait... ").addClass("btn-loader load-left"),t.preventDefault();var n="/api/CallAPIs.asp?apiname=EmailManager&Action=SEND&ContactUs=1&AgentID="+getAgentID(),a="&EmailAddress="+e("#contactemail").val()+"&Name="+encodeURI(e("#contactname").val())+"&City="+encodeURI(e("#contactCity").val())+"&State="+encodeURI(e("#contactprovince").val())+"&Country="+encodeURI(e("#contactcountry").val())+"&Telephone="+encodeURI(e("#contactphone").val())+"&Fax="+encodeURI(e("#contactfax").val())+"&ContactSource="+encodeURI(e("#contactwhere-did-u-found").val())+"&Comments="+encodeURI(e("#contactmessage").val()),o="Subject="+encodeURI(e("#contactsubject").val())+"&Body="+a;e.ajax({type:"POST",url:n,data:o,contentType:"application/x-www-form-urlencoded",cache:!1,async:!0}).done(function(t){xmlDoc=t,$xml=e(xmlDoc),$ResultId=$xml.find("ResultId"),e("#SubmitYourInquiry").html("Submit your Inquiry").removeClass("btn-loader load-right"),"1"==$ResultId.text()?(swal({title:"Thank y
1ou!",text:"Mail Sent Successfully!",imageUrl:"/sweetalert/thumbs-up.jpg"}),e("#SubmitYourInquiry").hide()):swal("Sorry!","Mail sending failed","error")}).fail(function(){e("#SubmitYourInquiry").html("Submit your Inquiry").removeClass("btn-loader load-right"),swal("Sorry!","Mail sending failed","error")})}),e("#formaffliate").submit(function(t){if(e("#div_message").hide(),e("#div_message").html(""),t.preventDefault(),0==grecaptcha.getResponse())e("#div_message").show(),e("#div_message").html("Captcha must be valid");else{var n=document.referrer;null==n&&(n="");var a="Program Interests: ";e("#interest1").prop("checked")&&(a+="Referral Program; "),e("#interest2").prop("checked")&&(a+="Agent Program; "),e("#interest3").prop("checked")&&(a+="White Label Program; "),e("#interest4").prop("checked")&&(a+="Partnership Opportunities; "),e("#interest5").prop("checked")&&(a+="Others: "+e("#txt_interestother").val()+"; "),""!=e("#txt_salespers").val()&&(a+="Sales Personnel:"+e("#txt_salespers").val()+"; "),""!=e("#txt_techpers").val()&&(a+="Tech. Personnel:"+e("#txt_techpers").val()+"; "),""!=e("#txt_comments").val()&&(a+="\r\n Comment: "+e("#txt_comments").val());var o="";if(e("#txt_firstname1").length>0)o="Company="+encodeURI(e("#txt_companyname").val())+"&ContactName="+encodeURI(e("#txt_firstname1").val()+" "+e("#txt_lastname1").val())+"&Address="+encodeURI(e("#txt_address").val())+"&City="+encodeURI(e("#txt_city").val())+"&Province="+encodeURI(e("#txt_state").val())+"&Country="+encodeURI(e("#checkout-country").val())+"&PostalCode="+encodeURI(e("#txt_zip").val())+"&Telephone="+encodeURI(e("#txt_phone").val())+"&Fax="+encodeURI(e("#txt_mobile").val())+"&Email="+e("#txt_businessemail").val()+"&Website=&Referer=&Services=&Comments="+encodeURI(a)+"&SignupPage="+encodeURI(n)+"&Program=&FromPageUrl=www.callture.com&AffiliateType=Agent&Profession="+encodeURI(e("#txt_title").val());else o="Company="+encodeURI(e("#txt_companyname").val())+"&ContactName="+encodeURI(e("#txt_firstname").val()+" "+e("#txt_lastname").val())+"&Address="+encodeURI(e("#txt_address").val())+"&City="+encodeURI(e("#txt_city").val())+"&Province="+encodeURI(e("#txt_state").val())+"&Country="+encodeURI(e("#checkout-country").val())+"&PostalCode="+encodeURI(e("#txt_zip").val())+"&Telephone="+encodeURI(e("#txt_phone").val())+"&Fax="+encodeURI(e("#txt_mobile").val())+"&Email="+e("#txt_businessemail").val()+"&Website=&Referer=&Services=&Comments="+encodeURI(a)+"&SignupPage="+encodeURI(n)+"&Program=&FromPageUrl=www.callture.com&AffiliateType=Agent&Profession="+encodeURI(e("#txt_title").val());if(e("#telephone1").length>0){var i="";e("#telephone1").is(":checked")?i="1":e("#telephone2").is(":checked")&&(i="0"),o+="&CurrentTelephoneSystem="+i+"&PhonesNeeded="+e("#telephonecount").val()+"&RequiredFeatures="+encodeURI(e("#featurelist").val())+"&InstallationNeededBy="+e("#installationdate").val()}o+="&gclid="+getgclid(),o+="&AgentID="+getAgentID(),o+="&PID="+getPID(),o+="&SourceType="+e("#ddlsource").val();var r="",l="/api/CallAPIs.asp?apiname=AffiliateSet";e.ajax({type:"POST",url:l,data:o,contentType:"application/x-www-form-urlencoded",cache:!1}).done(function(t){xmlDoc=t,$xml=e(xmlDoc),$AffiliateID=$xml.find("AffiliateID"),""!=(r=$AffiliateID.text())&&(l="/api/CallAPIs.asp?apiname=SendEmail&EmailID=677&AffiliateId="+r,e.ajax({type:"GET",url:l,cache:!1}).done(function(e){}).fail(function(t){e("#div_message").show(),e("#div_message").html("Failed to Submit the data!")}),l="/api/CallAPIs.asp?apiname=VoIPAgentCRMsSynch&ResellerID=1",e.ajax({type:"GET",url:l,cache:!1}).done(function(e){}).fail(function(){e("#div_message").show(),e("#div_message").html("Failed to Submit the data!")}),e(location).attr("href","/thank-you.html"))}).fail(function(){e("#div_message").show(),e("#div_message").html("Failed to Submit the data!")})}})}),jQuery.fn.redraw=function(){return this.hide(0,function(){e(this).show()})},setSettingToElement("MachineName","CopyrightTag")}(jQuery);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.