Rates, Rules & Forms Filings


var isie6 = true; ]]> ‘); }); }, “load”); ]]>

  1. Life, Accident & Health

    Email

    Ph: 803-737-6230

    Property &  Casualty

    Email

    Ph: 803-737-6230

Piwik

0 || // In live edit typeof DesignCenter !== “undefined” // In theme manager ); } const bgColorRegexTS = /rgba((d+), (d+), (d+), (d*.?d*))/; function isTransparentTS(elem) { const bg = elem.css(‘background-color’); if (typeof bg !== “string” || !bg.startsWith(‘rgba(‘)) return false; const matchState = bg.match(bgColorRegexTS); if (!matchState || matchState.length !== 5) return false; const alpha = parseFloat(matchState[4], 10); if (!(alpha >= 0 && alpha < 1)) return false; return true; } function iterateLeftpads(cb) { const containersTS = $("[class^='siteWrap'],[class*=' siteWrap']"); for (let i = 0; i 200) { fixedBottomTS[0].classList.add(forceUnfixClassTS); } else { fixedBottomTS[0].classList.remove(forceUnfixClassTS); } if (fixedBottomTS.css('position') === 'fixed') { bodyContainerTS.css('padding-bottom', fixedBottomTS.outerHeight()); } else { bodyContainerTS.css('padding-bottom', ''); } })(); // Fixed left script (function () { if (!fixedLeftTS || fixedLeftTS.length === 0) return; if (editing) { fixedLeftTS[0].classList.add(forceUnfixClassTS); } else { fixedLeftTS[0].classList.remove(forceUnfixClassTS); } if (fixedLeftTS.css('position') === 'fixed') { const anchorHeight = anchor.outerHeight() - 1; fixedLeftTS.css('top', anchorHeight); const leftBoundingTS = fixedLeftTS[0].getBoundingClientRect(); iterateLeftpads(function (containerTS) { const containerBoundingTS = containerTS.getBoundingClientRect(); if (containerBoundingTS.left .bannerObject > img.bannerObject”; var styleSelector = bannerID + ‘ScalingStyles’; var delay = 500; function adjust() { var bannerContainer = $(bannerSelector)[0]; var bannerImg = $(bannerImgSelector)[0]; var $bannerContainer = $(bannerContainer); var $bannerImg = $(bannerImg); var containerHeight = $bannerContainer.height(); var containerWidth = $bannerContainer.width(); // Intrensic width/height of image before any styles are applied to it. var naturalHeight = bannerImg.naturalHeight; var naturalWidth = bannerImg.naturalWidth; // Once the image is loaded, rerun function. Natural width of image can only be checked on/after load. if (naturalHeight === 0 || naturalWidth === 0) { $bannerImg.load(function () { setTimeout(function () { adjust(); }, delay); }); return; } // background-size: cover; algorithm. Math here: https://stackoverflow.com/questions/10285134/whats-the-math-behind-csss-background-sizecover var containerRatio = containerHeight / containerWidth; var naturalRatio = naturalHeight / naturalWidth; var finalHeight; var finalWidth; if (containerRatio > naturalRatio) { finalHeight = containerHeight; finalWidth = containerHeight / naturalRatio; } else { finalHeight = containerWidth * naturalRatio; finalWidth = containerWidth; } /* It seems that the system overwrites any css applied to the banner element, even with a large timeout. It could be the $(…).css() function is overridden on banner objects? Unsure…*/ // $bannerImg.css(“height”, “” + finalHeight + “px !important;”); // $bannerImg.css(“width”, “” + finalWidth + “px !important;”); // $bannerImg.css(“margin”, “0 !important;”); // $bannerImg.css(“left”, “0 !important;”); // —————————————————————————————————————————————————————————- // The string management here is all MAJOR HACKS to get around the css issue mentioned above. var styleStringMap = { width: “width:” + finalWidth + ‘px !important;n’, height: “height:” + finalHeight + ‘px !important;n’, // Replace the system margin, transform behaves more reliably. margin: “margin: 0 !important;n” } var verticalTranslate = “0”; var horizontalTranslate = “0”; // Set horizontal positioning if (horizontalPos === “left”) { // Left positioning styleStringMap[‘left’] = “left: 0 !important;n”; styleStringMap[‘right’] = “right: auto !important;n”; } else if (horizontalPos === “center”) { // Center positioning styleStringMap[‘left’] = “left: 50% !important;n”; styleStringMap[‘right’] = “right: auto !important;n”; horizontalTranslate = “-50%”; } else if (horizontalPos === “right”) { // Right positioning styleStringMap[‘left’] = “left: auto !important;n”; styleStringMap[‘right’] = “right: 0 !important;n”; } // Vertical positioning if (verticalPos === “top”) { // Top positioning styleStringMap[‘top’] = “top: 0 !important;n”; styleStringMap[‘bottom’] = “bottom: auto !important;n”; } else if (verticalPos === “center”) { // Center positioning styleStringMap[‘top’] = “top: 50% !important;n”; styleStringMap[‘bottom’] = “bottom: auto !important;n”; verticalTranslate = “-50%”; } else if (verticalPos === “bottom”) { // Bottom positioning styleStringMap[‘top’] = “top: auto !important;n”; styleStringMap[‘bottom’] = “bottom: 0 !important;n”; } // Reliably transform the element to be centered styleStringMap[‘transform’] = “transform: translate(” + horizontalTranslate + ‘, ‘ + verticalTranslate + ‘) !important;n’ // Build actual style selector: #banner1 > .bannerObject > img.bannerObject { … } var styleString = bannerImgSelector + “{n” + styleStringMap.width + styleStringMap.height + styleStringMap.left + styleStringMap.right + styleStringMap.top + styleStringMap.bottom + styleStringMap.transform + styleStringMap.margin + “}”; /* Try to find (or create) a style element on the page, and insert it before the first script tag. */ var styleElement = $(“.” + styleSelector); if (styleElement.length === 0) { styleElement = document.createElement(‘style’); styleElement.classList.add(styleSelector); var scriptRef = document.querySelector(‘script’); scriptRef.parentNode.insertBefore(styleElement, scriptRef); } else { styleElement = styleElement[0]; } styleElement.innerHTML = styleString; } var adjustTimeoutTS; $(window).load(function () { setTimeout(function () { adjust(); }, delay); $(window).resize(function () { clearTimeout(adjustTimeoutTS); adjustTimeoutTS = setTimeout(function () { adjust(); }, delay); }); $.when(window.Pages.angularToolbarComplete).done(function () { adjust(); }); }); ]]> 0) $(‘div#bodyWrapper’).css(‘padding’, ‘0px’); }, ‘load’); ]]>

[]

Slideshow Left Arrow Slideshow Right Arrow

Source

0 Replies to “Rates, Rules & Forms Filings”