PageSourceSearch

https://www.tamlinhomesinc.com/templates51/8315/js/custom.min.js

js tamlinhomesinc.com collected 2026-10-09 22:15:46 UTC 8,936 bytes, 1 lines download raw bytes

1function templateComponents(data){$("agentLogo").each(function(index,instance){var imgURL=$(instance).attr("img-url");if(imgURL!==""){$(this).append('<img src="'+imgURL+'"/>');$("footer").attr("has-logo","true")}else{$(instance).remove();$("footer").attr("has-logo","false")}});if($("header#header-default").attr("has-logo")!==""){var imgURL=$('agentlogo').attr("img-url");$("a#home-logo").find('displayname').remove()}$('brokerLogo[img-url]').each(function(){var imgURL=$(this).attr('img-url');if(imgURL!==""){$(this).append('<img src="'+$(this).attr('img-url')+'"/>')}else{$(this).remove()}});$('*[phone-number]').each(function(a,b){var phone=($(this).attr('phone-number')).replace(/\D/g,'');$(this).attr('href','tel:+1'+phone)});$('.email-address').each(function(){var link='<a href="'+data.emaillink+'">Contact</a>';$(this).empty().append(link)});$('email').each(function(){if(data.emaillink==null||data.emaillink=="null"){var link='<a href="mailto:'+data.email+'"><span>Contact</span></a>'}else{var link='<a href="'+data.emaillink+'"><span>Contact</span></a>'}$(this).empty().append(link)});$('relicense').each(function(){$(this).empty().append(data.relicense)});bodyMargin()}function showcaseHeader(data){$("header#header-showcase").find("agentphoto").each(function(a,b){if($(this).attr("img-url")!==""){$(this).css({"background-image":"url('"+$(this).attr("img-url")+"')"});bodyMargin()}else{$(this).remove()}})}function rebuild(){$('body').append('<a id="rebuild-link" href="http://vagent6.superlative.local/RebuildDone.aspx" target="rebuild"><i class="fa fa-refresh"></i></a>');$('#rebuild-link').css({'z-index':'999999999999999',position:'fixed',bottom:'0',right:'0',background:'#00000085',color:'white',width:'50px',height:'50px',display:'flex','justify-content':'center','align-items':'center',});$('body').append('<iframe style="display: none;" name="rebuild"></iframe>');$('#rebuild-link').click(function(){$('body').append('<div id="rebuilding"><i class="fa fa-circle-o-notch fa-spin fa-3x fa-fw"></i><b>REBUILDING</b></div>');$('#rebuilding').css({'z-index':'999999999999999',position:'fixed',bottom:'0',right:'0',background:'#00000085',color:'white',width:'100%',height:'100%',display:'flex','flex-direction':'column','justify-content':'center','align-items':'center',});$('iframe[name="rebuild"]').on('load',function(){location.reload()})})}function inIframe(){try{return window.self!==window.top}catch(e){return true}}function fFFF(){var queryString=(window.location.href.split("?"))[1];var queryString=queryString.split("&");var query={};$.each(queryString,function(index,item){var item=item.split("=");var key=item[0];if(key=="pageLocation"){var value=item[1]}else{var value=parseInt(item[1])}query[key]=value});return query}function qtColor($palettes){$('body').append('<div id="qtColor" style="display: flex; align-items: center;"><select style="position: fixed; z-index: 999; bottom: 0;margin: auto;"></select></div>');for(var i=0;i<palettes.length;i++){$('#qtColor').find('select').append('<option value="'+palettes[i]+'">'+palettes[i]+'</option>')}function toggleqtColor(value){$('html').attr('palette',value)}$('#qtColor select').on('change',function(e){toggleqtColor(e.currentTarget.value);colorDetection()});var inframe=inIframe();if(inframe==true){var url=window.location.href;if(~url.indexOf("?")){var ar=url.split('?')[1];var arr=ar.split('&');$.each(arr,function(a,b){if(~b.indexOf('index')){var index=parseInt(b.replace(/^\D+/g,''));var optionValue=$('#qtColor select').find('option')[index].value;$('#qtColor select').val(optionValue);$('html').attr('palette',optionValue)}})}else{window.onload=fFFF()}$('a#rebuild-link, div#qtColor').remove()}}function buildHeader(data){var agentLogo=data.logoSRC;var brokerLogo=data.bannerlogoSRC;var agentPhoto=data.agentphotoSRC;if(typeof(data.emaillink)!=="undefined"){$("#agent-fixed-card-contact").append('<a href="'+data.emaillink+'"><i class="fa fa-envelope mr-5"></i> Contact</a>')}else{$("#agent-fixed-card-contact").remove()}colorDetection()};function desktopNavbarToggle(e){$('.desktop-navbar').toggleClass('hide');bodyMargin()}$(document).ready(function(){$('.desktop-navbar-toggle').click(function(){desktopNavbarToggle();$(window).resize()})});function buildMobileNavigation(){var navigationLinks=$('header').find('navigation .nav').html();$('#mobile-navigation').append($('header').find('navigation .nav').html());$('#mobile-navigation').find('.dropdown-menu').removeClass().addClass('mobile-sub-menu').addClass('list-unstyled');$('#mobile-navigation').find('.mobile-sub-menu ul').addClass('list-unstyled');$('#mobile-navigation').find('.light-text').removeClass('.light-text');
1$('#mobile-navigation').find('.dark-text').removeClass('.dark-text');$('#mobile-navigation').find('.dropdown').removeClass('dropdown').addClass('mobile-menu-link-group');$('#mobile-navigation').find('.mobile-menu-link-group').find('> a').addClass('mobile-sub-menu-toggle');$('#mobile-navigation').find('.mobile-menu-link-group').find('a').addClass('cd');$('#mobile-navigation').find('li#agentlogo-lg').remove()}function header(data){buildHeader(data);colorDetection();$('header a').on('mouseover',function(){colorDetection()});$('header a').on('mouseout',function(){colorDetection()});$('#mobile-navigation a').on('mouseover',function(){colorDetection()});$('#mobile-navigation a').on('mouseout',function(){colorDetection()})};function footer(data){}var palettes=['default-site-theme','plum','gold','blue','olive','black','deep-red','bright-red','navy','white'];function customSplashBlock(){var splashThumbnail={};$('section.splash-block').find(".container-fluid").find(".row").append('<div id="splash-content" class="d-flex flex-wrap"></div>');var container=$('#splash-content');$('.splash-block .thumbnail').each(function(a){var thumbnail={id:'splash-thumbnail-'+a,image:$(this).find('img').attr('src'),title:$(this).find('.spt01').text(),description:$(this).find('.spd01').text(),link:$(this).find('.btn01').attr('href'),label:$(this).find('.btn01').text()};splashThumbnail[a]=thumbnail;var gLink="'"+thumbnail.link+"'";var onclickLink='onclick="javascript:window.location.href='+gLink+'"';$(container).append('<div id="'+thumbnail.id+'" class="custom-splash-block-thumbnail" style="cursor: pointer;" '+onclickLink+'></div>');var newthumbnail=$('#'+thumbnail.id);if(thumbnail.image=='undefined'||thumbnail.image==undefined){$(newthumbnail).append('<div class="custom-splash-block-image"><i class="fa fa-image"></i> No Image</div>')}else{$(newthumbnail).append('<div class="custom-splash-block-image" style="background-image:url('+thumbnail.image+')"></div>')}$(newthumbnail).append('<div class="custom-splash-block-content"></div>');$(newthumbnail).find('.custom-splash-block-content').append('<div class="custom-splash-block-title">'+thumbnail.title+'</div>');$(newthumbnail).find('.custom-splash-block-content').append('<div class="custom-splash-block-description">'+thumbnail.description+'</div>');$(newthumbnail).find('.custom-splash-block-content').append('<a href="'+thumbnail.link+'" class="custom-splash-block-link">'+thumbnail.label+'</a>')});$('section.splash-block .col-md-4').remove()}$(document).ready(function(){if($('section.splash-block').length){customSplashBlock()}});$(document).ready(function(){var d=document.domain;if(~d.indexOf('lasedeer')||~d.indexOf('agent01onv01')||~d.indexOf('agent02onv01')||~d.indexOf('agent03onv01')||~d.indexOf('agent04onv01')){rebuild();qtColor()}});function layoutInit(data){templateComponents(data);buildMobileNavigation();if($("body").hasClass("showcase-template")){showcaseHeader(data)}else{header(data)}footer(data)}
1function pageBackground(pgBG){if(typeof(pgBG)=='object'){if(pgBG.length>0){var imgURL=pgBG[0].image;if(~(pgBG[0].image).indexOf('Photo/1001/4x2/HPI')){}else{$('html').attr('bg-img','true');$('html').css('background-image','url('+pgBG[0].image+')')}}}}function customHeaderMarginBump(){var headerHeight=$('header').outerHeight();$('section#presentation-block[block-scale="M"]').find('h1.presentation-title').css('border-top',headerHeight+'px solid transparent')}$(window).resize(function(){customHeaderMarginBump()});$(document).ready(function(){customHeaderMarginBump();if(typeof(pgBG)=='object'){if(pgBG[0].length>0){pageBackground(pgBG)}}if($('body').find('#property-detail-pagination').length){$('html').addClass('property-details-layout')}if($('.FeaturedSlot_Small').length){$('.FeaturedSlot_Small').each(function(a,b){var url=$(this).find('.thumbnail > a').attr('href');$(this).find('.thumbnail').attr('onclick','javascript:window.location.href="'+url+'"')})}$.ajax({url:'/briefcase/cdata.txt',dataType:"text",success:function(data){var data=$.parseJSON(data);layoutInit(data)}})});$(window).on('scroll',function(){var scroll=$(window)[0].scrollY;if(scroll<10){$('header').find('.dark-text').removeClass('light-text');$('header').find('.light-text').removeClass('dark-text')}colorDetection()});

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.