Sales Representative
Watsco
- Location
- Huntsville
- Work model
- On-Site
- Level
- Mid
Skills
About this role
Federation Redirector var random = Math.ceil(Math.random() * 1000000); var srcjs = "OlpLandingConfig.js?" + random; document.write(" ");
{ var flCon; var ieVersionCheck = ieVersion(); if (ieVersionCheck == '7' || ieVersionCheck == '8' || ieVersionCheck == '9' || ieVersionCheck == '10' || ieVersionCheck == '11') { flCon = false; var strLocale = getCookie("ADPLangLocaleCookie"); console.log(strLocale); if (strLocale != null && strLocale != undefined && strLocale.trim().length > 0) { window.location.href = "https://".concat(document.domain).concat("/aim/error/unsupportedbrowser_".concat(strLocale.trim()).concat(".html")); } else { window.location.href = "https://".concat(document.domain).concat("/aim/error/unsupportedbrowser.html") } } else { flCon = true; } if (flCon == true) { var appId = getParameterByName('APPID'); var deepLinkUrl = getParameterByName('TARGET'); var returnURL = getReturnURL(appId.toUpperCase()); var orgId = getParameterByName('alias'); var removeParamsCSV = 'APPID,productId,returnURL,callingAppId,TARGET,TYPE,REALMOID,GUID,SMAUTHREASON,METHOD,SMAGENTNAME'; var browserUrl = window.location.search; var removeParams = removeParamsCSV.split(','); var queryStringBuilder = ""; if (browserUrl != undefined) { var urlParameters = browserUrl.split('&');
for (i = 0; i 0) {
deepLinkUrl = decodeURIComponent(deepLinkUrl); // SiteMinder adds extra '-' to all '-' characters deepLinkUrl = deepLinkUrl.replace(/(--)+/g, '-'); returnURL = queryStringUrlReplacement(returnURL, 'TARGET', deepLinkUrl);
} if (orgId != undefined && orgId !== "" && orgId.length > 0 && appId != undefined && appId.length > 0) {
returnURL = returnURL + "&organizationId=" + orgId.toUpperCase();
} if (queryStringBuilder.length > 0) { returnURL = returnURL + decodeURIComponent(queryStringBuilder); }
if (returnURL == appId) returnURL = "https://" + window.location.host;
window.location.href = returnURL; } } function ieVersion() { var ua = window.navigator.userAgent; var msie = ua.indexOf('MSIE '); if (msie > 0) { // IE 10 or older => return version number return parseInt(ua.substring(msie + 5, ua.indexOf('.', msie)), 10); }
var trident = ua.indexOf('Trident/'); if (trident > 0) { // IE 11 => return version number var rv = ua.indexOf('rv:'); return parseInt(ua.substring(rv + 3, ua.indexOf('.', rv)), 10); }
var edge = ua.indexOf('Edge/'); if (edge > 0) { // Edge (IE 12+) => return version number return parseInt(ua.substring(edge + 5, ua.indexOf('.', edge)), 10); }
// other browser return false; }
function getCookie(cookiename) { var d = document.cookie.split(";"); for (var i = 0; i