Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #dotParse("/application/macros/widget-macros.vtl")
- <style>
- .review-ratings {
- color: #efa41b;
- fill: currentColor;
- margin: 1rem 0;
- }
- .read-more-review-link {
- display: block;
- }
- .wr-national h2 {
- color: #6274be;
- font-size: 2rem;
- font-family: din-condensed-web,DIN Condensed Web,din-condensed,Gnuolane,Impact,sans-serif;
- }
- .wr-error-block {
- background-color: #d52d37;
- margin-top: 2rem;
- position: relative;
- }
- .wr-error-cover {
- position: absolute;
- height: 80px;
- width: 24rem;
- right: 0;
- top: 12.5rem;
- background-color: white;
- }
- .wr-hero-bottom-mobile p {
- display: inline;
- margin: 0.5rem;
- color: #d52d37;
- font-weight: 700;
- }
- .wr-error-block p {
- color: white;
- fill: currentColor;
- text-indent: -1.8rem;
- margin-left: 1.5rem;
- }
- .wr-error-block svg {
- vertical-align: bottom;
- margin-top: 16px;
- }
- .wr-hero-bottom p {
- float: left;
- margin: 0.5rem;
- color: #d52d37;
- font-weight: 700;
- }
- .wr-hero-bottom {
- height: 2.7rem;
- width: fit-content;
- position: absolute;
- background: white;
- bottom: -0.1rem;
- -webkit-box-shadow: 0px -10px 15px -4px rgba(000, 000, 000, 0), /* top */ 0px 5px 15px 0px rgba(000, 000, 000, 0.1), /* bottom */ 5px 0px 15px 0px rgba(000, 000, 000, 0.2), /* right */ -5px 0px 15px 0px rgba(000, 000, 000, 0.1); /* left */;
- -moz-box-shadow: 0px -10px 15px -4px rgba(000, 000, 000, 0), /* top */ 0px 5px 15px 0px rgba(000, 000, 000, 0.1), /* bottom */ 5px 0px 15px 0px rgba(000, 000, 000, 0.2), /* right */ -5px 0px 15px 0px rgba(000, 000, 000, 0.1); /* left */
- box-shadow: /* overridden by webkit/moz */ 0px -10px 15px -4px rgba(000, 000, 000, 0), /* top */ 0px 5px 15px 0px rgba(000, 000, 000, 0.1), /* bottom */ 5px 0px 15px 0px rgba(000, 000, 000, 0.2), /* right */ -5px 0px 15px 0px rgba(000, 000, 000, 0.1); /* left */
- }
- .wr-services {
- list-style: none;
- -webkit-column-count: 2;
- -moz-column-count: 2;
- column-count: 2;
- padding-left: 0;
- border-top: 1px solid #6274BE;
- }
- .wr-services li {
- -webkit-column-break-inside: avoid;
- page-break-inside: avoid;
- break-inside: avoid;
- list-style: none;
- border-bottom: 1px solid #6274BE;
- padding: 0;
- padding-left: 0.5rem;
- margin: 0;
- line-height: 3rem;
- color: #6274BE;
- font-size: 1.5rem;
- font-family: "din-condensed-web", "DIN Condensed Web", "din-condensed", "Gnuolane", "Impact", sans-serif;
- }
- .wr-services svg {
- float: right;
- margin-top: 0.8rem;
- fill: currentColor;
- }
- .wr-services-block {
- background-color: #F3F8FC;
- padding: 1rem 1rem 3rem 1rem;
- }
- .wr-services-block h2 {
- margin: 1rem 0 3rem 0;
- }
- .wr-tech-block {
- overflow: hidden;
- height: 22rem;
- }
- .wr-tech-block-showmore {
- height: auto;
- }
- .wr-tech {
- height: 36rem;
- background-size: cover;
- background-position: -3rem -4rem;
- background-repeat: no-repeat;
- float: left;
- width: 24rem;
- overflow: hidden;
- }
- .wr-content-read-more {
- cursor: pointer;
- }
- .wr-min-damage {
- margin: 3rem 0;
- }
- .wr-min-damage-left-img {
- width: 48%;
- height: 28rem;
- -webkit-background-size: cover;
- background-size: cover;
- background-repeat: no-repeat;
- background-position: 0px -3rem;
- float: left;
- }
- .wr-min-damage-right-content {
- float: right;
- width: 45%;
- }
- .no-franchise-location .wr-min-damage-right-content p {
- font-size: 16px;
- text-indent: -1.5rem;
- margin-left: 2.5rem;
- }
- .wr-min-damage-right-content span {
- color: #d52d37;
- margin-right: 1rem;
- font-size: 16px;
- display: inline;
- float: left;
- margin: 0;
- }
- .wr-min-damage-right-content li {
- margin: 1.5rem 0;
- list-style: none;
- margin-left: 2rem;
- text-indent: -2.3rem;
- }
- .wr-min-damage-right-content ul {
- padding: 0;
- }
- .wr-min-damage-link {
- margin-top: 1rem;
- }
- .wr-min-damage-link a {
- font-size: 1rem;
- text-decoration: underline;
- margin-right: 1rem;
- }
- .wr-content-read-more {
- font-size: 1.3rem;
- text-decoration: underline;
- margin-right: 1rem;
- font-family: "din-condensed-web", "DIN Condensed Web", "din-condensed", "Gnuolane", "Impact", sans-serif;
- }
- .wr-desc-block {
- background-color: #F3F8FC;
- }
- .wr-desc-left-content {
- width: 55%;
- float: left;
- padding: 2rem 0;
- }
- .wr-desc-left-content h2 {
- margin-bottom: 2rem;
- }
- .wr-desc-left-content p {
- font-size: 16px;
- }
- .wr-desc-right-img {
- width: 45%;
- height: 24rem;
- background-image: url(/HERO-WR-Team.png);
- -webkit-background-size: cover;
- background-size: cover;
- float: right;
- background-position: center;
- background-repeat: no-repeat;
- margin-top:3rem;
- }
- .wr-desc-left-img {
- width: 45%;
- float: left;
- height: 24rem;
- background-image: url(/HERO-WR-Team.png);
- -webkit-background-size: cover;
- background-size: cover;
- background-position: center;
- background-repeat: no-repeat;
- }
- .wr-desc-right-content {
- width: 50%;
- float: right;
- }
- .wr-desc-right-content h2 {
- margin: 2rem 0;
- }
- .wr-blog-block {
- min-height: 25rem;
- margin: 3rem 0;
- }
- .wr-single-blog {
- -webkit-box-shadow: 0px -10px 15px -4px rgba(000, 000, 000, 0), /* top */ 0px 5px 15px 0px rgba(000, 000, 000, 0.1), /* bottom */ 5px 0px 15px 0px rgba(000, 000, 000, 0.2), /* right */ -5px 0px 15px 0px rgba(000, 000, 000, 0.1); /* left */;
- -moz-box-shadow: 0px -10px 15px -4px rgba(000, 000, 000, 0), /* top */ 0px 5px 15px 0px rgba(000, 000, 000, 0.1), /* bottom */ 5px 0px 15px 0px rgba(000, 000, 000, 0.2), /* right */ -5px 0px 15px 0px rgba(000, 000, 000, 0.1); /* left */
- box-shadow: /* overridden by webkit/moz */ 0px -10px 15px -4px rgba(000, 000, 000, 0), /* top */ 0px 5px 15px 0px rgba(000, 000, 000, 0.1), /* bottom */ 5px 0px 15px 0px rgba(000, 000, 000, 0.2), /* right */ -5px 0px 15px 0px rgba(000, 000, 000, 0.1); /* left */
- width: 30%;
- margin-right: 3%;
- float: left;
- padding: 2rem;
- min-height: 24rem;
- }
- .wr-single-blog h2 {
- line-height: 2.5rem;
- max-height: 7.7rem;
- overflow: hidden;
- }
- .wr-single-blog hr {
- width: 20%;
- border-color: #d52d37;
- margin: 2rem 0;
- border-width: 1.5px;
- }
- .wr-single-blog p {
- margin-bottom: 1rem;
- overflow: hidden;
- }
- .wr-single-blog a {
- font-size: 1.3rem;
- text-decoration: underline;
- color: #2e449f;
- font-family: "din-condensed-web", "DIN Condensed Web", "din-condensed", "Gnuolane", "Impact", sans-serif;
- }
- .plumbing-residential-useful-links h2:first-of-type {
- width: 67%;
- float: left;
- }
- .plumbing-residential-useful-links h2:last-of-type {
- width: 28%;
- float: right;
- }
- .wr-certification-1 {
- height: 4rem;
- width: auto;
- margin: 0 2rem 0 4rem;
- background-repeat: no-repeat;
- float: left;
- }
- .wr-certification-2 {
- height: 4rem;
- width: auto;
- }
- .wr-call-right-content {
- width: 26rem;
- float: right;
- margin-top: 3rem;
- background-color: #F3F8FC;
- padding: 2rem;
- }
- .wr-call-right-content h2 {
- margin: 0 0 2rem 0;
- }
- .wr-call-right-content ul {
- border-top: 1px solid #2e449f;
- padding: 0;
- }
- .wr-call-right-content li {
- list-style: none;
- border-bottom: 1px solid #2e449f;
- padding: 0.5rem 0;
- margin: 0;
- color: #2e449f;
- }
- .wr-call-right-content svg {
- float: right;
- margin-top: 0.1rem;
- fill: currentColor;
- }
- @media (max-width: 1200px) {
- .wr-certification-1 {
- margin-left: 0;
- }
- .wr-single-blog {
- width: 100%;
- margin-bottom: 2rem;
- }
- .wr-blog-block {
- height: fit-content;
- }
- }
- @media (max-width: 767px) {
- .wr-error-block {
- padding-bottom: 1.5rem;
- }
- .wr-error-cover {
- display: none;
- }
- .nowebp .wr-min-damage-left-img {
- background-image: url(/HERO-WR-Basement-mobile.jpg);
- }
- .webp .wr-min-damage-left-img {
- background-image: url(/HERO-WR-Basement-mobile.webp);
- }
- .nowebp .wr-desc-img {
- background-image: url(/HERO-WR-Team-mobile.png);
- }
- .webp .wr-desc-img {
- background-image: url(/HERO-WR-Team-mobile.webp);
- }
- .wr-tech-mobile {
- height: 28rem;
- margin: auto;
- background-size: cover;
- background-position: top;
- width: 30rem;
- background-repeat: no-repeat;
- overflow: hidden;
- }
- .wr-hero-bottom-mobile hr {
- margin-bottom: 2rem;
- }
- .wr-hero-text {
- margin: 1rem auto;
- text-align: center;
- }
- .wr-hero-background {
- background-image: linear-gradient(#ECECEC, white);
- }
- .wr-services-mobile {
- background-color: #6274BE;
- color: white;
- padding: 1rem 2rem;
- line-height: 3rem;
- margin: 2rem auto 0 auto;
- width: 100%;
- display: block;
- font-size: 1.3rem;
- font-family: "din-condensed-web", "DIN Condensed Web", "din-condensed", "Gnuolane", "Impact", sans-serif;
- }
- .wr-services-mobile a {
- color: white;
- }
- .wr-services-mobile a:hover {
- text-decoration: none;
- color: white;
- }
- .wr-services-block {
- margin-top: 3rem;
- }
- .wr-services {
- -webkit-column-count: 1;
- -moz-column-count: 1;
- column-count: 1;
- border: 0;
- }
- .wr-min-damage-left-img {
- width: 100%;
- height: 30rem;
- -webkit-background-size: cover;
- background-size: cover;
- margin: auto;
- background-position: right;
- }
- .wr-min-damage-right-content {
- width: 100%;
- padding: 0 1rem;
- }
- .wr-min-damage-right-content h2 {
- color: #3c5aaf;
- margin: 3rem auto;
- font-size: 2rem;
- }
- .wr-min-damage-link {
- margin-top: 1rem;
- display: flex;
- justify-content: space-between;
- }
- .wr-desc-img {
- height: 44rem;
- -webkit-background-size: cover;
- background-size: cover;
- background-position: center;
- margin-bottom: -7rem;
- background-repeat: no-repeat;
- }
- .wr-desc-left-content {
- width: 100%;
- padding: 1rem;
- }
- .wr-desc-content-mobile h2 {
- color: white;
- font-size: 2rem;
- font-family: "din-condensed-web", "DIN Condensed Web", "din-condensed", "Gnuolane", "Impact", sans-serif;
- background-color: #516CA2;
- padding: 2rem;
- }
- .wr-desc-right-content {
- width: 100%;
- }
- .plumbing-residential-useful-links h2:last-of-type {
- float: none;
- }
- .plumbing-residential-useful-links a:last-of-type {
- margin-bottom: 1rem;
- }
- }
- @media (min-width: 768px) and (max-width: 991px) {
- .wr-certification-1 {
- margin-left: 2.5rem;
- }
- .wr-min-damage-right-content {
- width: 50%;
- }
- .wr-desc-right-img {
- background-position: -10rem 3rem;
- height: 30rem;
- }
- .wr-error-cover {
- display: none;
- }
- .wr-tech {
- height: 40rem;
- }
- .wr-min-damage-left-img {
- background-position: -12rem;
- }
- }
- .review-ratings{
- line-height:12px;
- }
- @media (min-width: 992px) and (max-width: 1200px) {
- .wr-certification-1 {
- margin-left: 3.2rem;
- }
- .wr-min-damage-left-img {
- background-position: -14rem 0;
- }
- .wr-min-damage-right-content {
- width: 50%;
- }
- .wr-tech {
- height: 36rem;
- background-position: -3rem -3rem;
- }
- }
- @media (max-width: 400px) {
- .wr-hero-bottom-mobile p {
- margin: 0.2rem;
- font-size: 1.2rem;
- }
- }
- @media (max-width: 359px) {
- .wr-desc-img {
- height: 24rem;
- }
- .wr-hero-bottom-mobile p {
- margin: 0rem;
- font-size: 1.1rem;
- }
- .wr-tech-mobile {
- background-position: -1.8rem 0rem;
- }
- .plumbing-residential-useful-links h2:first-of-type {
- width: 100%;
- }
- }
- </style>
- #if($UtilMethods.isSet($!URLMapContent.wrImage1))
- #@findFileAssetByPath($!URLMapContent.wrImage1.uri, $host, true)
- <style>
- @media (max-width:$SCREEN_XS_MAX) {
- .wr-tech-mobile {
- background-image: url('/contentAsset/image/${fileAsset.identifier}/fileAsset/filter/Jpeg/jpeg_q/10');
- }
- }
- @media (min-width:$SCREEN_SM_MIN) and (max-width:$SCREEN_SM_MAX) {
- .wr-tech {
- background-image: url('/contentAsset/image/${fileAsset.identifier}/fileAsset/filter/Jpeg/jpeg_q/60');
- }
- }
- @media (min-width:$SCREEN_MD_MIN) {
- .wr-tech {
- background-image: url('/contentAsset/image/${fileAsset.identifier}/fileAsset/filter/Jpeg/jpeg_q/80');
- }
- }
- </style>
- #end
- #else
- <style>
- @media (max-width:$SCREEN_XS_MAX) {
- .wr-tech-mobile {
- background-image: url('/HERO-WR-Tech.png');
- }
- }
- </style>
- #end
- #if($UtilMethods.isSet($!URLMapContent.wrImage2))
- #@findFileAssetByPath($!URLMapContent.wrImage2.uri, $host, true)
- <style>
- @media (max-width:$SCREEN_XS_MAX) {
- .wr-min-damage-left-img {
- background-image: url('/contentAsset/image/${fileAsset.identifier}/fileAsset/filter/Jpeg/jpeg_q/10');
- }
- }
- @media (min-width:$SCREEN_SM_MIN) and (max-width:$SCREEN_SM_MAX) {
- .wr-min-damage-left-img {
- background-image: url('/contentAsset/image/${fileAsset.identifier}/fileAsset/filter/Jpeg/jpeg_q/60');
- }
- }
- @media (min-width:$SCREEN_MD_MIN) {
- .wr-min-damage-left-img {
- background-image: url('/contentAsset/image/${fileAsset.identifier}/fileAsset/filter/Jpeg/jpeg_q/80');
- }
- }
- </style>
- #end
- #else
- <style>
- @media (max-width:$SCREEN_XS_MAX) {
- .wr-min-damage-left-img {
- background-image: url('/HERO-WR-Tech.png');
- }
- }
- </style>
- #end
- #if($UtilMethods.isSet($!URLMapContent.wrImage4))
- #@findFileAssetByPath($!URLMapContent.wrImage4.uri, $host, true)
- <style>
- .plumbing-residential-blue-block .row:before {
- background-image: url('/contentAsset/image/${fileAsset.identifier}/fileAsset');
- }
- </style>
- #end
- #else
- <style>
- @media (max-width:$SCREEN_XS_MAX) {
- .plumbing-residential-blue-block .row:before {
- background-image:url(/plumbing-wrench.png);
- }
- }
- </style>
- #end
- #set($contentIdentifier = $contentMap.get('identifier'))
- #set( $content = $dotcontent.find($ContentIdentifier))
- ## #set($ctaLabels = $URLMapContent.ctaLabels.selectedValues)
- #set($ctaLabels = ['24/7 Emergency Service', 'Fast Response Time'])
- ## #set($waterServicesList = $URLMapContent.waterServicesList.selectedValues)
- #set($waterServicesList = ['Water Damage Cleanup', 'Water Removal', 'Emergency Flood Service', 'Basement Flood Cleanup'])
- #set($stepsToMinimizeDamage = $URLMapContent.stepsToMinimizeDamage.split("\n"))
- #set($relatedBlogs = $dotcontent.pullRelated("Waterrestorationpage-Blog", $URLMapContent.identifier, false, 3))
- #set($isQualified = $!session.getAttribute("Market-market") && $!session.getAttribute("Market-state"))
- #set($selectedWCRROptions = $URLMapContent.wcrr.split(";"))
- #if($!isQualified == true && !$!qualifiedBulletPoints.trim().isEmpty())
- #set($selectedWCRROptions = $URLMapContent.wcrr.split(";"))
- #end
- #if(!$!selectedWCRROptions)
- #set($selectedWCRROptions = $URLMapContent.whyChooseRotoRooterUnqualified.split("\n"))
- #end
- #if($!isQualified == true && !$URLMapContent.paragraph2.isEmpty())
- #set($professionalTechnicians = $URLMapContent.paragraph2.split("<p>"))
- #end
- #if(!$market)
- #set($wrTopContentSummary = $URLMapContent.wrTopContentSummary)
- #set($wrTopContentDescription = $URLMapContent.pageTopDescription)
- #else
- #set($wrTopContentSummary = $URLMapContent.paragraph1)
- #set($wrTopContentDescription = $URLMapContent.paragraph1Description)
- #end
- #if($UtilMethods.isSet($!marketState))
- #set($marketHcard = $locationsUtil.getMarketHcard($!market, $!localFranchise.franchiseNumber, $!marketState))
- #else
- #set($marketHcard = $locationsUtil.getMarketHcard($!market, $!localFranchise.franchiseNumber, $!localFranchise.state.selectValue))
- #end
- #set($googlePlusUrl = $!marketHcard.googleUrl)
- #set($wrGooglePlusUrl = $!marketHcard.wrGoogleUrl)
- #if($wrGooglePlusUrl && $!wrGooglePlusUrl != "")
- #set($googlePlusUrl = $wrGooglePlusUrl)
- #end
- #if(!$googlePlusUrl || $!googlePlusUrl == "")
- #set($googlePlusUrlExistsInMarket = false)
- #foreach($con in $dotcontent.pull("+structureName:ConfigSettings +ConfigSettings.name:googlePlusDefaultLink +live:true +deleted:false",1,"modDate desc"))
- #set($googlePlusUrl = $!con.value)
- #end
- #else
- #set($googlePlusUrlExistsInMarket = true)
- #end
- ## get and assign first banner image
- #if($UtilMethods.isSet($URLMapContent.bannerImage))
- #set($paragraph1Image = $URLMapContent.bannerImage.uri)
- #else
- #set($paragraph1Image = "/HERO-WR-Tech.png")
- #end
- ## get and assign area 2 image
- #if($UtilMethods.isSet($URLMapContent.area2Image))
- #set($paragraph2Image = $URLMapContent.area2Image.uri)
- #else
- #set($paragraph2Image = "/HERO-WR-basement.jpg")
- #end
- ## get and assign area 3 image
- #if($UtilMethods.isSet($URLMapContent.area3Image))
- #set($paragraph3Image = $URLMapContent.area3Image.uri)
- #else
- #set($paragraph3Image = "/HERO-WR-Team.png")
- #end
- <style>
- .wr-min-damage-right-content li::before{
- content: "• ";
- color: #d52d37;
- font-size: 2rem;
- font-family: sans-serif;
- margin-top: 9px;
- margin-left:7px;
- height: 0px;
- display: block;
- float: left;
- line-height: 0.5rem;
- margin-right: 2.5rem;
- }
- .wr-min-damage-right-content li{
- list-style:none;
- }
- .readMoreLink{
- font-size: 1.3rem;
- text-decoration: underline;
- color: #2e449f;
- font-family: "din-condensed-web", "DIN Condensed Web", "din-condensed", "Gnuolane", "Impact", sans-serif;
- text-transform: uppercase;
- }
- .hiddenContent{
- display:none;
- }
- .wrTopContent{
- padding-bottom: 50px;
- }
- .summary-content{
- background:#3F5BAE;
- color:#fff;
- }
- .summary-content h6{
- color: #fff;
- text-transform: uppercase;
- padding-bottom: 1px;
- margin-bottom: 0;
- font-size: 12px;
- line-height: 19px;
- font-weight:100;
- }
- .summary-content a, .summary-content p{
- color:#fff;
- }
- .summary-content p{
- font-size:14px;
- margin-bottom:0;
- }
- .summary-map-wrap h2{
- color: #6274be;
- font-size: 2rem;
- margin-bottom: 2rem;
- }
- .readMoreLink:hover{
- cursor:pointer;
- text-decoration:none;
- }
- .summary-content strong{
- font-weight:normal;
- text-transform:uppercase;
- }
- .summary-content .hcard-info{
- margin-bottom:10px;
- }
- .summary-service-available{
- padding-bottom:20px;
- }
- #map{
- height:204px;
- width:100%;
- }
- #summary-map-marker{
- width:24px;
- }
- #summary-map-marker path {
- fill:#fff;
- }
- .mapCol{
- text-align:center;
- }
- .summary-map-col{
- padding-top:20px;
- padding-bottom:10px;
- }
- .wr-national h2{
- line-height:31px;
- }
- .plumbing-residential-red-block{
- margin-top:10px;
- }
- .franchise-location-set .wr-min-damage-right-content li p{
- text-indent:-59px;
- }
- @media (max-width: 768px) {
- .summary-map-col{
- padding-top:10px;
- }
- .summary-content .row{
- background:#3F5BAE;
- }
- .mapCol{
- text-align:left;
- }
- .wr-desc-right-img{
- display:none;
- }
- }
- </style>
- <script>
- document.addEventListener("DOMContentLoaded", function(){
- var hiddenContentEl = document.querySelectorAll('.hiddenContent');
- var readMoreLink = document.querySelectorAll('.readMoreLink');
- var wrTechImageBlock = document.querySelector('.wr-tech-block') == null ? null : document.querySelector('.wr-tech-block');
- for(var i=0; i < readMoreLink.length; i++){
- readMoreLink[i].addEventListener('click', function(e){
- e.preventDefault();
- if(!(this.classList.contains('showing'))){
- this.classList.add('showing');
- this.previousElementSibling.style.display = 'block';
- this.text = 'Read Less';
- if(!!wrTechImageBlock) {
- wrTechImageBlock.classList.add('wr-tech-block-showmore')
- }
- } else {
- this.classList.remove('showing');
- this.previousElementSibling.style.display = 'none';
- this.text = 'Read More';
- if(!!wrTechImageBlock) {
- wrTechImageBlock.classList.remove('wr-tech-block-showmore')
- }
- }
- });
- }
- // restrict logic to local page
- var isLocalPage = document.querySelectorAll('.franchise-location-set').length > 0 ? true : false;
- if(isLocalPage){
- // hide counties served area if empty
- var counties = document.getElementById('countiesServedCol').innerHTML.trim();
- var countiesContainer = document.getElementById('countyContainer');
- if(counties == ""){
- countiesContainer.style.display = 'none';
- }
- var cityName = "Cincinnati, OH";
- var city = "$!market";
- var state = "$!marketState";
- if (city && state) {
- cityName = city + ", " + state;
- }
- var geolocationUrl = "https://maps.googleapis.com/maps/api/geocode/json?address=";
- var geoLocationApiKey = "AIzaSyBGDTrqkNdyflKeHRGXA8SnRfuHSXz4pIM";
- var url = geolocationUrl + cityName + "&key=" + geoLocationApiKey;
- var isMobile = (window.screen.availWidth <= 767) || (navigator.userAgent.match(/(iPod|iPhone|BlackBerry|Windows Phone|iemobile)/));
- if (!isMobile) {
- window.getGeolocation = function() {
- var xhr = new XMLHttpRequest();
- xhr.open('GET', url);
- xhr.onload = function () {
- if (xhr.status === 200) {
- var myLatLng = JSON.parse(xhr.responseText).results[0].geometry.location;
- if(window.google){
- initMap(myLatLng);
- }
- }
- else {
- console.log('Request failed.');
- }
- };
- xhr.send();
- }
- function initMap(myLatLng) {
- var map = new google.maps.Map(document.getElementById('map'), {
- zoom: 12,
- center: myLatLng
- });
- var marker = new google.maps.Marker({
- position: myLatLng,
- map: map,
- });
- }
- getGeolocation();
- if(!(window.google)) {
- var cb = function() {
- var scriptTag = document.createElement('script');
- scriptTag.setAttribute("type","text/javascript");
- scriptTag.setAttribute("src","https:maps.googleapis.com/maps/api/js?key=AIzaSyBGDTrqkNdyflKeHRGXA8SnRfuHSXz4pIM&callback=getGeolocation");
- var headerTag = document.getElementsByTagName('head')[0];
- headerTag.parentNode.insertBefore(scriptTag, headerTag);
- };
- var raf = requestAnimationFrame || mozRequestAnimationFrame || webkitRequestAnimationFrame || msRequestAnimationFrame;
- if (raf) raf(cb);
- else {
- window.addEventListener('load', cb);
- }
- }
- }
- }
- });
- </script>
- <div class="wr-national">
- #if(!$UtilMethods.isSet($marketServiceForWaterRestoration))
- <div class="wr-error-block hidden-xs">
- <div class="container">
- <p>
- <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="none" d="M0 0h24v24H0V0z"/><path d="M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"/></svg>
- Sorry, we do not offer Water Restoration Services in your area at this time.
- <br>If you have other plumbing or drain cleaning needs, please call us at $phoneHeaderFormatted
- </p>
- </div>
- </div>
- <div class="wr-error-cover"></div>
- #end
- <div class="plumbing-residential-banner-text-block">
- #if(!$ctaLabels.isEmpty())
- <div class="wr-hero-bottom-mobile visible-xs">
- <div class="wr-hero-text">
- #foreach($ctaLabel in $ctaLabels)
- <p>$ctaLabel</p>
- #if($velocityCount < $ctaLabels.size())
- <p>|</p>
- #end
- #end
- </div>
- <div class="wr-tech-mobile"></div>
- </div>
- #end
- <div class="container">
- <div class="roto-container-inner">
- <div class="row">
- <div class="col-lg-12 col-md-8 col-sm-8 bread-crumbs-widget">
- <ul class="crumbs">
- <li><a href="$!headerLogoURL" data-gacategory="plumbing-page" data-gaaction="click"
- data-galabel="breadcrumb-home">Home</a></li>
- <li class="active"><a href="/water-damage-restoration/" data-gacategory="plumbing-page"
- data-gaaction="click"
- data-galabel="breadcrumb-plumbing">Water Damage Restoration</a></li>
- </ul>
- </div>
- </div>
- <div class="row">
- <div class="col-lg-8 col-md-8 col-sm-8 col-xs-12 wrTopContent">
- <h2 class="plumbing-residential-service-title">$URLMapContent.pageTitle</h2>
- $wrTopContentSummary
- <div class="hiddenContent">
- $wrTopContentDescription
- </div>
- <a class="readMoreLink" data-gacategory="local-page"
- data-gaaction="read-more" data-galabel="review">READ MORE</a>
- </div>
- <div class="col-lg-4 col-md-4 col-sm-4 hidden-xs wr-tech-block">
- <div class="wr-tech" style="background-image:url($paragraph1Image)"></div>
- </div>
- </div>
- </div>
- #if(!$ctaLabels.isEmpty())
- <div class="wr-hero-bottom hidden-xs">
- #foreach($ctaLabel in $ctaLabels)
- <p>$ctaLabel</p>
- #if($velocityCount < $ctaLabels.size())
- <p>|</p>
- #end
- #end
- </div>
- #end
- #if(!$UtilMethods.isSet($marketServiceForWaterRestoration))
- <div class="wr-error-block visible-xs">
- <div class="container">
- <p>
- <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="none" d="M0 0h24v24H0V0z"/><path d="M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"/></svg>
- Sorry, we do not offer Water Restoration Services in your area at this time.
- <br>If you have other plumbing or drain cleaning needs, please call us at $phoneHeaderFormatted
- </p>
- </div>
- </div>
- #end
- </div>
- </div>
- #set($isSubPage = !$request.getAttribute("javax.servlet.forward.request_uri").endsWith('/water-damage-restoration/'))
- #if($!isSubPage)
- <div class="plumbing-residential-services-mobile visible-xs">
- <a>
- <span>VIEW ALL WATER SERVICES</span>
- <svg class="plumbing-residential-extend-icon plumbing-residential-services-extend-more"
- xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
- <path d="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"/>
- <path d="M0 0h24v24H0z" fill="none"/>
- </svg>
- <svg class="plumbing-residential-extend-icon plumbing-residential-services-extend-less"
- xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
- <path d="M12 8l-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z"/>
- <path d="M0 0h24v24H0z" fill="none"/>
- </svg>
- </a>
- </div>
- <ul class="wr-services plumbing-residential-services-block visible-xs">
- #foreach($waterService in $waterServicesList)
- <a href="/water-damage-restoration/$waterService.toLowerCase().replaceAll(" ", "-")/">
- <li>$waterService.trim()
- <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
- <path d="M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"></path>
- <path d="M0 0h24v24H0z" fill="none"></path>
- </svg>
- </li>
- </a>
- #end
- </ul>
- #if($!URLMapContent.midPageSectionTitle && $!URLMapContent.midPageSectionDescription)
- <div class="wr-desc-block">
- <div class="visible-xs">
- <div class="wr-desc-img"></div>
- <div class="wr-desc-content-mobile">
- <h2>$URLMapContent.midPageSectionTitle.toUpperCase()</h2>
- </div>
- </div>
- <div class="container">
- <div class="wr-desc-left-img hidden-xs"></div>
- <div class="wr-desc-right-content">
- <h2 class="hidden-xs">$URLMapContent.midPageSectionTitle.toUpperCase()</h2>
- <p>$URLMapContent.midPageSectionSummary</p>
- #if($URLMapContent.midPageSectionDescription)
- <p class="wr-content-desc hidden">$URLMapContent.midPageSectionDescription</p>
- <a class="wr-content-read-more">READ MORE</a>
- #end
- </div>
- </div>
- </div>
- #end
- #if($!URLMapContent.midPageSectionTitle && $!URLMapContent.midPageSectionSummary)
- <div class="wr-call-feature">
- <div class="visible-xs">
- <div class="wr-desc-img"></div>
- <div class="wr-desc-content-mobile">
- <h2>$URLMapContent.midPageSectionTitle.toUpperCase()</h2>
- </div>
- </div>
- <div class="container">
- <div class="wr-desc-left-content">
- <h2 class="hidden-xs">$URLMapContent.wrContentTitle1.toUpperCase()</h2>
- <p>$URLMapContent.wrContentSummary1</p>
- #if($URLMapContent.wrContentDescription1)
- <p class="wr-content-desc hidden">$URLMapContent.wrContentDescription1</p>
- <a class="wr-content-read-more">READ MORE</a>
- #end
- </div>
- <div class="wr-call-right-content hidden-xs">
- <h2 class="hidden-xs">WATER SERVICES LIST</h2>
- <ul>
- #foreach($waterService in $waterServicesList)
- <a href="/water-damage-restoration/$waterService.toLowerCase().replaceAll(" ", "-")/">
- <li>$waterService.trim()
- <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
- <path d="M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"></path>
- <path d="M0 0h24v24H0z" fill="none"></path>
- </svg>
- </li>
- </a>
- #end
- </ul>
- </div>
- </div>
- </div>
- #end
- #else
- #if(!$waterServicesList.isEmpty())
- <div class="wr-services-block">
- <div class="container" style="padding: 0rem">
- <div class="row">
- <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 center-block roto-container-inner">
- <div class="plumbing-residential-services-mobile visible-xs">
- <a>
- <span>VIEW ALL WATER SERVICES</span>
- <svg class="plumbing-residential-extend-icon plumbing-residential-services-extend-more"
- xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
- <path d="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"/>
- <path d="M0 0h24v24H0z" fill="none"/>
- </svg>
- <svg class="plumbing-residential-extend-icon plumbing-residential-services-extend-less"
- xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
- <path d="M12 8l-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z"/>
- <path d="M0 0h24v24H0z" fill="none"/>
- </svg>
- </a>
- </div>
- <h2 class="hidden-xs">WATER SERVICES LIST</h2>
- <ul class="wr-services plumbing-residential-services-block">
- #foreach($waterService in $waterServicesList)
- <a href="/water-damage-restoration/$waterService.toLowerCase().replaceAll(" ", "-")/">
- <li>$waterService.trim()
- <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
- <path d="M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"></path>
- <path d="M0 0h24v24H0z" fill="none"></path>
- </svg>
- </li>
- </a>
- #end
- </ul>
- </div>
- </div>
- </div>
- </div>
- #end
- #if($!stepsToMinimizeDamage && !$stepsToMinimizeDamage.isEmpty())
- <div class="wr-min-damage">
- <div class="wr-min-damage-left-img"></div>
- <div class="container">
- <div class="wr-min-damage-right-content">
- <h2>STEPS TO TAKE TO MINIMIZE DAMAGE</h2>
- <ul>
- #foreach($step in $stepsToMinimizeDamage)
- <li>
- <span>$velocityCount .</span>
- <p>$!step.trim()</p>
- </li>
- #end
- </ul>
- <p>The flood restoration process<br>consists of two major phases:</p>
- <div class="wr-min-damage-link">
- <a>Flood Water Removal</a>
- <a>Flood Cleanup</a>
- </div>
- </div>
- </div>
- </div>
- #end
- #if($!URLMapContent.midPageSectionTitle && $!URLMapContent.midPageSectionDescription)
- <div class="wr-desc-block">
- <div class="visible-xs">
- <div class="wr-desc-img"></div>
- <div class="wr-desc-content-mobile">
- <h2>$URLMapContent.midPageSectionTitle.toUpperCase()</h2>
- </div>
- </div>
- <div class="container">
- <div class="wr-desc-left-content">
- <h2 class="hidden-xs">$URLMapContent.midPageSectionTitle.toUpperCase()</h2>
- <p>$URLMapContent.midPageSectionDescription</p>
- </div>
- <div class="wr-desc-right-img hidden-xs"></div>
- </div>
- </div>
- #end
- #if($!URLMapContent.wrContentTitle1)
- <div class="wr-blog-block">
- <div class="container">
- <div class="wr-blogs">
- <div class="wr-single-blog">
- <h2>$!URLMapContent.wrContentTitle1.toUpperCase()</h2>
- <hr>
- <p>$URLMapContent.wrContentSummary1</p>
- #if($!URLMapContent.wrContentDescription1)
- <p class="hidden wr-content-desc">$URLMapContent.wrContentDescription1</p>
- <a class="wr-content-read-more">READ MORE</a>
- #end
- </div>
- <div class="wr-single-blog">
- <h2>$!URLMapContent.wrContentTitle2.toUpperCase()</h2>
- <hr>
- <p>$URLMapContent.wrContentSummary2</p>
- #if($!URLMapContent.wrContentDescription2)
- <p class="hidden wr-content-desc">$URLMapContent.wrContentDescription2</p>
- <a class="wr-content-read-more">READ MORE</a>
- #end
- </div>
- <div class="wr-single-blog">
- <h2>$!URLMapContent.wrContentTitle3.toUpperCase()</h2>
- <hr>
- <p>$URLMapContent.wrContentSummary3</p>
- #if($!URLMapContent.wrContentDescription3)
- <p class="hidden wr-content-desc">$URLMapContent.wrContentDescription3</p>
- <a class="wr-content-read-more">READ MORE</a>
- #end
- </div>
- </div>
- </div>
- </div>
- #end
- #end
- #if($URLMapContent.paragraph2Title && $URLMapContent.paragraph2)
- <div class="wr-min-damage">
- <div class="wr-min-damage-left-img" style="background-image:url($paragraph2Image)"></div>
- <div class="container">
- <div class="wr-min-damage-right-content">
- <h2 class="plumbing-residential-service-title">$URLMapContent.paragraph2Title</h2>
- $URLMapContent.paragraph2
- <div class="hiddenContent">
- $URLMapContent.paragraph2Description
- </div>
- <a href="" class="readMoreLink">Read More</a>
- </div>
- </div>
- </div>
- #end
- #if($!URLMapContent.paragraph3Title && $!URLMapContent.paragraph3)
- <div class="wr-desc-block">
- <div class="container">
- <div class="wr-desc-left-content">
- <h2>$URLMapContent.paragraph3Title</h2>
- <div>$URLMapContent.paragraph3</div>
- <div class="hiddenContent">
- $URLMapContent.paragraph3Description
- </div>
- <a href="" class="readMoreLink">Read More</a>
- </div>
- <div class="wr-desc-right-img" style="background-image:url($paragraph3Image)"></div>
- </div>
- </div>
- #end
- #if($UtilMethods.isSet($marketServiceForWaterRestoration))
- <div class="container roto-container">
- <div class="row">
- <div class="col-lg-12 col-md-12 col-sm-11 center-block roto-container-inner summary-map-wrap">
- <h2 class=" hidden-xs">
- Serving the Entire $!request.getSession().getAttribute('Market-mainMarket') Metro Area</h2>
- <div class="summary-content">
- <div class="row">
- <div class="col-sm-1 mapCol summary-map-col">
- #if($!googlePlusUrl)
- <a href="$!googlePlusUrl" target="_blank" rel="googleUrlRelation" data-gacategory="local-page" data-gaaction="click" data-galabel="map-area" class="col-lg-8 col-md-8 col-sm-8 gutterless-col area-map-wrapper">
- #else
- <a href="/$!marketUrl/" target="_blank" data-gacategory="local-page" data-gaaction="click" data-galabel="map-area" class="col-lg-8 col-md-8 col-sm-8 gutterless-col area-map-wrapper">
- #end
- <svg id="summary-map-marker" class=" " xmlns="http://www.w3.org/2000/svg" width="29" height="27" viewBox="0 0 22 24">
- <path d="M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z" fill="#d52d37"></path>
- </svg>
- </a>
- </div>
- <div class="col-lg-2 col-md-3 col-sm-4 summary-map-col">
- <div class="hcard-info">
- <h6>Manager</h6>
- $!localFranchise.ownerName
- </div>
- <div class="hcard-info">
- <span class="summary-service-call">
- <h6>Phone:</h6>
- <a href="tel:$!phoneHeader" id="nav-phone-number" data-gacategory="Location Qualifier Summary" data-gaaction="Click" data-galabel="Click to Call">
- $!phoneHeaderFormatted
- </a>
- </span>
- </div>
- #if($UtilMethods.isSet($marketHcard) && $!marketHcard.dispAddress && $!marketHcard.dispAddress != "")
- <h6>Address</h6>
- <div class="hcard-info">$!marketHcard.dispAddress#if($UtilMethods.isSet($marketHcard.dispAddress2)), $marketHcard.dispAddress2#end<br/>$!marketHcard.market, $!marketHcard.dispState $!marketHcard.dispZip</div>
- #else
- <div class="hcard-label">Location</div>
- #if($UtilMethods.isSet($marketHcard))
- <div class="hcard-info">$!marketHcard.market, $!marketHcard.state</div>
- #else
- <div class="hcard-info">$!market, $!marketState</div>
- #end
- #end
- </div>
- <div class="col-lg-5 col-md-4 col-sm-4 summary-service-available summary-map-col">
- <div id="countyContainer">
- <h6>Counties Served</h6>
- <div class="communities-serve-links">
- <div id="countiesServedCol" class="gutterless-col ">#displayCountiesServe($!localFranchise)</div>
- </div>
- </div>
- </div>
- <div class="col-lg-4 col-md-4 visible-desktop gutterless-col">
- <div id="map"></div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- #end
- <script>
- document.addEventListener("DOMContentLoaded", function () {
- $('.wr-content-read-more').on('click', function() {
- $(this).parent().find('.wr-content-desc').toggleClass('hidden');
- if($(this).text() === 'READ MORE') {
- $(this).text('READ LESS');
- } else {
- $(this).text('READ MORE');
- }
- });
- })
- </script>
- <div class="plumbing-residential-blue-block">
- <div class="container">
- <div class="row
- #if($selectedWCRROptions.size() <= 2)
- plumbing-tech-img-one-line
- #elseif($selectedWCRROptions.size() <= 4)
- plumbing-tech-img-two-lines
- #else
- plumbing-tech-img-three-lines
- #end">
- <div></div>
- <div class="plumbing-why-choose-block">
- <h2>WHY CHOOSE ROTO-ROOTER?</h2>
- <div class="plumbing-why-choose-roto">
- <ul>
- #foreach($selectedWCRROption in $selectedWCRROptions)
- <li>$selectedWCRROption.replaceAll(';_', ', ').replaceAll('_', ' ')</li>
- #end
- </ul>
- </div>
- </div>
- </div>
- </div>
- </div>
- #set($review1 = $!URLMapContent.review1)
- #set($review2 = $!URLMapContent.review2)
- #set($review3 = $!URLMapContent.review3)
- #set( $reviews = [] )
- #if($review1 && $review1.trim().length() > 0)
- #set($dummy = $reviews.add($review1))
- #end
- #if($review2 && $review2.trim().length() > 0)
- #set($dummy = $reviews.add($review2) )
- #end
- #if($review3 && $review3.trim().length() > 0)
- #set($dummy = $reviews.add($review3))
- #end
- #plumbingRedBlock($!URLMapContent.wrImage5)
- #plumbingReviews($reviews)
- <div class="plumbing-residential-useful-links">
- <div class="container">
- <h2>USEFUL RESOURCES</h2>
- <h2 class="wr-certification hidden-xs">CERTICATIONS</h2>
- <a href="/plumbing-videos">FEATURED VIDEOS
- <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
- <path d="M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"></path>
- <path d="M0 0h24v24H0z" fill="none"></path>
- </svg>
- </a>
- <a href="/coupons">COUPONS
- <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
- <path d="M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"></path>
- <path d="M0 0h24v24H0z" fill="none"></path>
- </svg>
- </a>
- <div>
- <h2 class="wr-certification visible-xs">CERTICATIONS</h2>
- <img class="wr-certification-1" src="/WR-Certification-IICRC.png"></img>
- <img class="wr-certification-2" src="/WR-Certification-RIA.png"></img>
- </div>
- </div>
- </div>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement