PageSourceSearch

https://www.sprinterbus.net/shared/scripts/stdLib.min.js?ver=28.09.2026

js sprinterbus.net collected 2026-10-05 01:01:33 UTC 9,398 bytes, 1 lines download raw bytes

1function isnull(n){if(typeof n=="object")return n==null?!0:!1;n=n+"";return n==""||n=="null"||n=="undefined"}function isDate(n){var t=new Date(n);return t.toString()=="NaN"||t.toString()=="Invalid Date"?!1:!0}function isValidTime(n){var t=n.match(/^(\d{1,2}):(\d{2})(:(\d{2}))?(\s?(AM|am|PM|pm))?$/);return t==null?(alert("Time is not in a valid format."),!1):(hour=t[1],minute=t[2],second=t[4],ampm=t[6],second==""&&(second=null),ampm==""&&(ampm=null),hour<0||hour>23)?(alert("Hour must be between 1 and 12. (or 0 and 23 for military time)"),!1):hour<=12&&ampm==null&&confirm("Please indicate which time format you are using. OK = Standard Time, CANCEL = Military Time")?(alert("You must specify AM or PM."),!1):hour>12&&ampm!=null?(alert("You can't specify AM or PM for military time."),!1):minute<0||minute>59?(alert("Minute must be between 0 and 59."),!1):second!=null&&(second<0||second>59)?(alert("Second must be between 0 and 59."),!1):!0}function zeroPad(n,t){isnull(t)&&(t=2);for(var i=new String(n);i.length<t;)i="0"+i;return i}function nvl(){for(var n=0;n<arguments.length;n++)if(!isnull(arguments[n]))return arguments[n];return""}function trim(n){try{return n.replace(/^\s+|\s+$/g,"")}catch(t){return n}}function go(n,t){isnull(t)||!t?window.location=n:window.open(n)}function navigateTo(n){window.location.replace(n)}function escapeXmlChars(n){return n=n+"",n.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}function unescapeXmlChars(n){return n=n+"",n.replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&quot;/g,'"').replace(/&apos;/g,"'").replace(/&amp;/g,"&")}function delCookie(n){var t=new Date;set_cookie(n,"",t.getFullYear()-30,t.getMonth(),t.getDate(),"/");n=="memberLoginInfo"&&delCookie("fbEmailExists")}function getCookie(n){for(var i,r=document.cookie.split(";"),t=0;t<r.length;t++)if(i=r[t].split("="),n==trim(i[0]))return unescape(i[1]);return null}function get_cookie(n){var t=document.cookie.match(n+"=(.*?)(;|$)");return t?unescape(t[1]):null}function get_cookie_object(n){var u={},f=$.cookie(n),i,t,r;if(isnull(f))return null;for(i=$.cookie(n).split("&"),t=0;t<i.length;t++)r=i[t].split("="),u[r[0]]=r[1];return u}function set_cookie(n,t,i,r,u,f,e,o){var s=n+"="+t,h;i&&(h=new Date(i,r,u),s+="; expires="+h.toGMTString());f&&(s+="; path="+escape(f));e&&(s+="; domain="+escape(e));o&&(s+="; secure");document.cookie=s}function openWindow(n,t,i){var r;i=nvl(i,"defWin");r=isnull(t)?window.open(n,i):window.open(n,i,t);r.focus()}function showHideDiv(n){try{n!=lastObjID&&(document.getElementById(lastObjID).style.display="none")}catch(t){}document.getElementById(n).style.display=document.getElementById(n).style.display=="none"?"":"none";lastObjID=n}function showActiveElement(n){try{n!=activeElementID&&(document.getElementById(activeElementID).style.display="none")}catch(t){}document.getElementById(n).style.display="";activeElementID=n}function imgOnOff(n,t){isnull(arrImages[n.src])&&(arrImages[n.src]=new Image,arrImages[n.src].src=n.src);imgSrc=arrImages[n.src].src;imgSrc=imgSrc.toLowerCase();t?(imageOn=imgSrc.substring(0,imgSrc.indexOf("off.gif"))+"on.gif",n.src=imageOn):(imageOff=imgSrc.substring(0,imgSrc.indexOf("on.gif"))+"off.gif",n.src=imageOff)}function toggleImg(n,t){var i=document.getElementById(n);isnull(arrImages[i.src])&&(arrImages[i.src]=new Image,arrImages[i.src].src=i.src);i.src=t}function dlgFeatures(n,t,i){var r,u;return i?(r=(isnull(i.screenLeft)?i.screenX:i.screenLeft)+(i.document.body.clientWidth-n)/2,u=(isnull(i.screenTop)?i.screenY:i.screenTop)+(i.document.body.clientHeight-t)/2):(r=(isnull(window.screenLeft)?window.screenX:window.screenLeft)+(document.body.clientWidth-n)/2,u=(isnull(window.screenTop)?window.screenY:window.screenTop)+(document.body.clientHeight-t)/2),(r>screen.availWidth||u>screen.availHeight)&&(r=(screen.availWidth-n)/2,u=(screen.availHeight-t)/2),"dialogLeft:"+r+"px;dialogTop:"+u+"px;dialogWidth:"+n+"px;dialogHeight:"+t+"px;status:no; scroll:no; edge:no;help:no;"}function alertSize(){var n=0,t=0;typeof innerWidth=="number"?(n=window.innerWidth,t=window.innerHeight):document.documentElement&&(document.documentElement.clientWidth||document.documentElement.clientHeight)?(n=document.documentElement.clientWidth,t=document.documentElement.clientHeight):document.body&&(document.body.clientWidth||document.body.clientHeight)&&(n=document.body.clientWidth,t=document.body.clientHeight);window.alert("Width = "+n+" and height = "+t)}function getScrollXY(){var n=0,t=0;typeof pageYOffset=="number"?(t=window.pageYOffset,n=window.pageXOffset):document.body&&(document.body.scrollLeft||document.body.scrollTop)?(t=document.body.scrollTop,n=document.body.scrollLeft):document.documentElement&&(document.documentElement.scrollLeft||document.documentElement.scrollTop)&&(t=document.documentElement.scrollTop,n=document.documentElement.scrollLeft);window.alert("Horizontal scrolling = "+n+"\nVertical scrolling = "+t)}function cutString(n,t,i,r){var u,e,f;if(isnull(n)||t==0)return"";
1if((isnull(r)&&(r=!1),str=n,String(str).length<=t)||(u=String(str).substring(0,t),i==!0&&String(str).length-t<3))return str;if(e="",!r)for(f=t;f<String(str).length;f++){if(e=String(str).substring(f,f+1),e==" ")break;u+=e}return u.length<str.length&&i==!0?u+"...":u}function addFavorite(n,t){window.sidebar?window.sidebar.addPanel(t,n,""):window.external?window.external.AddFavorite(n,t):alert("You need to click CTRL+D to bookmark us.")}function qoute1(n){return"'"+n+"'"}function qoute2(n){return'"'+n+'"'}function getRadioSelectedValue(n,t,r){var u,f;try{for(u=t?document.getElementsByName(n):document.getElementById(n).getElementsByTagName("input"),i=0;i<u.length;i++)if(f=u[i],f.checked)return t?r[i]:f.value}catch(e){return null}}function setRadioSelectedValue(n,t){var u=document.getElementById(n).getElementsByTagName("input"),r;for(i=0;i<u.length;i++)r=u[i],r.value==t&&(r.checked=!0)}function AjaxTimeout(){return}function setDirty(n){form_is_dirty=n}function GetRadWindow(){var n=null;return window.radWindow?n=window.radWindow:window.frameElement.radWindow&&(n=window.frameElement.radWindow),n.rv=null,n}function limitToNumbers(){return}function compareDate(n,t){return isnull(n)?!0:isnull(t)?!1:(typeof n=="string"&&(n=new Date(n)),typeof t=="string"&&(t=new Date(t)),n.getYear()>t.getYear())?!1:n.getYear()<t.getYear()?!0:n.getMonth()>t.getMonth()?!1:n.getMonth()<t.getMonth()?!0:n.getDate()<=t.getDate()}function compareTime(n,t,i){var r,u;return $.type(n)=="date"?(r=n,u=t):(r=new Date("01/01/1900 "+n),u=new Date("01/01/1900 "+t)),isnull(i)?r<=u:(r=new Date(r.getTime()+i*6e4),r<=u)}function max(n,t){return n>t?n:t}function min(n,t){return n<t?n:t}function validateEmail(n){return/^[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,}$/.test(n)}function validateZipCode(n){if(!n)return!1;return/^[a-zA-Z0-9\s\-]{3,20}$/.test(n)}function validateExpDate(n){var t=/(0[1-9]|1[0-2])([0-9]{4})/.exec(n),f;if(t){var e=t[1],i=t[2],r=new Date,u=r.getFullYear();if(Number(i)<u||Number(i)==u&&(f=r.getMonth()+1,Number(e)<f))return!1}else return!1;return!0}function validatePhone(n){return/^[\d-+() .]+$/.test(n)}function validateCardNum(n){n=n.replace(/[-' ']/g,"");return/^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\d{3})\d{11})$/.test(n)}function showLoadingMsg(n){$(".loading-message").text(n?n:"Loading...");app.showLoading()}function parseDate(n){if(isnull(n))return null;var t=n.match(/(\d+)/g);return new Date(t[0],t[1]-1,t[2])}function buildObjFromQs(){var r,t,n,i,u,f;if(!(qsParm.length>0))for(r=window.location.search.substring(1),t=r.split("&"),n=0;n<t.length;n++)i=t[n].indexOf("="),i>0&&(u=t[n].substring(0,i),f=t[n].substring(i+1),qsParm[u]=f)}function getQSParameterByName(n){n=n.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");var i="[\\?&]"+n+"=([^&#]*)",r=new RegExp(i),t=r.exec(window.location.href);return t==null?"":decodeURIComponent(t[1].replace(/\+/g," "))}function limitChars(n,t,i){var r=$("#"+n).val(),u=r.length;return u>t?($("#"+i).html("You cannot write more then "+t+" characters!"),$("#"+n).val(r.substr(0,t)),!1):($("#"+i).html("You have "+(t-u)+" characters left."),!0)}function copyToClipboard(n,t){var i=document.getElementById(n),r;i.select();i.setSelectionRange(0,99999);document.execCommand("copy");try{r=document.getElementById(t);r.innerHTML="The text<br> <b>"+i.value+"<\/b> <br>was successfully copied to the clipboard."}catch(u){alert("The text \n"+i.value+"\nwas successfully copied to the clipboard.")}}function copyToClipboardResetTooltip(n){var t=document.getElementById(n);t.innerHTML="Copy to clipboard"}function getDomainName(){var n=document.location.hostname;return n.substring(n.lastIndexOf(".",n.lastIndexOf(".")-1)+1)}var windowWidth=0,minWindowWidth=1e3,maxWindowWidth=1600,windowHeight=0,minWindowHeight=850,maxWindowHeight=1100,lastObjID="",activeElementID="",arrImages=[],imgSrc="",form_is_dirty,qsParm;String.format=function(n){var i,t;if(arguments.length<=1)return n;for(i=arguments.length-2,t=0;t<=i;t++)n=n.replace(new RegExp("\\{"+t+"\\}","gi"),arguments[t+1]);return n};form_is_dirty=!1;qsParm=[];$.fn.scrollIntoView=function(n,t){var i=0;return i=this.offset().top>$(document).height()-$(window).height()?$(document).height()-$(window).height():this.offset().top,$("html,body").animate({scrollTop:i},n,t),this};

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.