); var thisActiveSection = jQuery(meta[property=article:section]).attr(content); if (thisActiveSection) try var newActive = jQuery(ulmain-dropit li a[title=+thisActiveSection+]); jQuery(ulmain-dropit li.home).removeClass(active); newActive.parent(li).addClass(active); catch(e) console.log(Header active update active failed with error,e); jQuery(.activeSubPageLink).parent().css(background-color,ffffff); );

Western Investor emails a weekly newsletter with top commercial real estate headlines from across Western Canada, including forecasts, opinion, analysis and exclusive content.

By clicking Sign Up you agree to ourPrivacy Policy

); $close = $(close); $modal.hide(); $overlay.hide(); $modal.append($content, $close); $(document).ready(function() $(body).append($overlay, $modal); ); // Center the modal in the viewport method.center = function () var top, left; top = Math.max($(window).height() – $modal.outerHeight(), 0) / 2; left = Math.max($(window).width() – $modal.outerWidth(), 0) / 2; $modal.css( top:top + $(window).scrollTop(), left:left + $(window).scrollLeft() ); ; // Open the modal method.open = function (settings) clearTimeout(modalPop); ntent); $modal.css( width: settings.width auto, height: settings.height auto ) method.center(); $(window).bind(resize.modal, method.center); $modal.show(); $overlay.show(); $(modal emailSignupForm).validate(submitHandler:function(form) $(email_signup_modal enewsLoading).css(visibility,visible); //combine list ids var numNewsletters = $(input[name=numNewsletters]).val(); if (numNewsletters == 1) lists = $(input[name=lists]).val(); else lists = $(input[name=lists]:checked).map(function () return this.value).get().join(,); $(mcLists).val(lists); $.post($(form).attr(action),$(form).serialize(),function(data) var respObj = jQuery.parseJSON( data ); if (respObj.status == fail) $(email_signup_modal modalMain).empty().append(

+ We are very sorry, but there was a problem signing up for the newsletter. + respObj.error ++ Please contact . +

); dataLayer.push(event: unsuccessful_nwsltr_signup); else // Success $.cookie(emailnewsletterpopup, 1, expires: 365 ); clearTimeout(modalPop); $(email_signup_modal modalMain).empty().append(

You will receive an email confirmation in your inbox shortly. Once you have confirmed, you will start getting our newsletter.

); dataLayer.push(event: successful_nwsltr_signup); ); return false; , errorPlacement: function(error, element) switch ($(element).attr(type)) case checkbox: sertBefore(modal emailSignupForm fieldset).css(color:f00); break; default: error.insertAfter(element); //

© Copyright 2019 Western Investor A division ofGlacier Media GroupAll rights reserved.

); jQuery(search).removeClass(span3).removeClass(pull-right).removeClass(search).addClass(navsearch).attr(id,navsearch); jQuery(main-dropit).append(jQuery(navsearch)); jQuery(navsearch).wrap(

); var digDom = jQuery(.wei wiMastBanner .digEdition).clone().addClass(mobileMenu).attr(id,mobileDigEdition); jQuery(main-dropit).append(digDom); jQuery(mobileDigEdition).wrap(