Lovebright Collection (2024)

'); codeAddress(location, i); if (i == 0) { $('.ps-scrollbar-x-rail').remove(); $('.ps-scrollbar-y-rail').remove(); // alert(document.querySelectorAll('.container11')); setTimeout(function () { [].forEach.call(document.querySelectorAll('.container11'), function (el) { Ps.initialize(el); }); }, 500) } } function codeAddress(location, i) { var address = location.address1; address += ", " + location.zipcode; var infoaddresswindow = location.brachlocation; if (infoaddresswindow !== "NULL") { infoaddresswindow += "
"; } infoaddresswindow += location.address1; if (location.address2.length > 0 || location.address2 !== null) { if (location.address2 !== "NULL") { infoaddresswindow += '
' + location.address2; } } infoaddresswindow += "
" + location.city; infoaddresswindow += ", " + location.statename; infoaddresswindow += " " + location.zipcode; geocoder.geocode({ 'address': address }, function (results, status) { if (status == google.maps.GeocoderStatus.OK) { // got l & t now go for marker var marker = new google.maps.Marker({ position: results[0].geometry.location, map: map, title: location.companydisplayname }); arrMarkers[i] = marker; var infowindow = new google.maps.InfoWindow({ // content: "

" + item.title + "

" + item.description + "

" content: "

" + location.displayname + "

" + infoaddresswindow + "" }); arrInfoWindows[i] = infowindow; google.maps.event.addListener(marker, 'click', function () { for (x = 0; x < arrInfoWindows.length; x++) { arrInfoWindows[x].close(); } infowindow.open(map, marker); }); //arrInfoWindows[i].open(map, arrMarkers[i]); //arrInfoWindows[i].close(); } else { var marker = new google.maps.Marker({ position: new google.maps.LatLng(location.lat, location.lng), map: map, title: location.companydisplayname }); arrMarkers[i] = marker; var infowindow = new google.maps.InfoWindow({ // content: "

" + item.title + "

" + item.description + "

" content: location.displayname }); arrInfoWindows[i] = infowindow; google.maps.event.addListener(marker, 'click', function () { for (x = 0; x < arrInfoWindows.length; x++) { arrInfoWindows[x].close(); } infowindow.open(map, marker); }); //arrInfoWindows[i].open(map, arrMarkers[i]); //arrInfoWindows[i].close(); } }); } function addTableListItem() { // alert("In AddTableListItem" + locations.length); var localTable = document.getElementById("dList"); var innerHTML = "

"; for (var i = 0; i < locations.length; i++) { // alert('MOD Value for ' + i + ' with 3 = ' + ((i % 3))); if (((i % 5) == 0) && (i > 0)) { innerHTML += "

"; } innerHTML += "

" + $("#listviewNOMAP_" + i).html() + "

"; } var remaningTD = locations.length % 3; if (remaningTD > 0) { for (var i = 0; i < remaningTD; i++) { innerHTML += "

"; } } innerHTML += "

"; //alert(innerHTML); localTable.innerHTML = innerHTML; } function addListViewItem(location, i) { // Clone duplicates the model (with bindings), strips model class/id, gives a unique id, and then adds it before the model $("#dModel").clone(true).removeAttr("id").removeClass("classModelItem").attr("id", "listview_" + i).appendTo("#dList") // The finds get each class from within the model and replace it with values. .find(".CompanyName").html(location.companydisplayname).end() .find(".BranchLocation").html(location.brachlocation !== "NULL" ? location.brachlocation + '
' : "").end() .find(".Address_").html(Address(location.address1, location.address2)).end() .find(".City").html(location.city).end() .find(".StateName").html(location.statename + ' ' + location.zipcode).end() .find(".Telephone1").html(location.telphone1).end() .find(".distance").html(getstorehours(location.storehours1, location.storehours2)); } function getstorehours(storehours1, storehours2) { var storehours = ""; if (storehours1.length > 0 && storehours1 !== null) { if (storehours1 !== "null") { storehours = storehours1; } } else { if (storehours2 !== "null") { storehours = storehours2 } } return storehours == "null" ? "" : storehours; } function addListViewItemNOMAP(location, i) { // Clone duplicates the model (with bindings), strips model class/id, gives a unique id, and then adds it before the model $("#dModelList").clone(true).removeAttr("id").removeClass("classModelItem").attr("id", "listviewNOMAP_" + i).appendTo("#dList") // The finds get each class from within the model and replace it with values. .find(".CompanyName").html(location.companydisplayname).end() .find(".BranchLocation").html(location.brachlocation !== "NULL" ? location.brachlocation + '
' : "").end() .find(".Address_").html(Address(location.address1, location.address2)).end() .find(".City").html(location.city).end() .find(".StateName").html(location.statename + ' ' + location.zipcode).end() .find(".Telephone1").html(location.telphone1).end() .find(".distance").html(getstorehours(location.storehours1, location.storehours2)); } function Address(address1, address2) { var address = address1 if (address2.length > 0 || address2 !== null) { if (address2 !== "NULL") { address += '
' + address2; } } return address; } function ShowView(ShowDivId, HideDivId) { // alert(ShowDivId); //alert('sss'); if (ShowDivId == 'divListView') { // alert('l'); document.getElementById('TDdivMapView').className = 'btnThm1'; document.getElementById('TDdivListView').className = 'darkbtn'; $("#BtnSearch").click(); } if (ShowDivId == 'divMapView') { // alert('m'); document.getElementById('TDdivListView').className = 'btnThm1'; document.getElementById('TDdivMapView').className = 'darkbtn'; } //callAjax(); document.getElementById(ShowDivId).style.display = 'block'; document.getElementById(HideDivId).style.display = 'none'; return false; } function MShowView(MShowDivId, MHideDivId) { // alert('t'); if (MShowDivId == 'MdivListView') { $('#divListView').show(); $('#divMapView').hide(); $('#MTDdivMapView').removeClass('darkbtn'); $('#MTDdivMapView').addClass('btnThm1'); $('#MTDdivListView').removeClass('btnThm1'); $('#MTDdivListView').addClass('darkbtn'); } else { $('#divListView').hide(); $('#divMapView').show(); $('#MTDdivListView').removeClass('darkbtn'); $('#MTDdivListView').addClass('btnThm1'); $('#MTDdivMapView').removeClass('btnThm1'); $('#MTDdivMapView').addClass('darkbtn'); } } function openPrintRetailerPopup(searchString) { var url = "https://www.lovebrightcollection.com/PrintLocation/"; var clienturl = $("#ContentPlaceHolder1_hdnStoreName").val(); if (clienturl.length >= 0) url = url + clienturl; var name = "PrintShoppingBagPopup"; var w = 660; var h = 650; wleft = (screen.width - w) / 2; wtop = (screen.height - h) / 2; var win = window.open(url, name, 'width=' + w + ', height=' + h + ', ' + 'left=' + wleft + ', top=' + wtop + ', ' + 'location=no, menubar=no, ' + 'status=no, toolbar=no, scrollbars=no, resizable=no'); // Just in case left and top are ignored win.moveTo(wleft, wtop); win.focus(); }

To Visit our Store, please View Map for location and driving directions.

Map View List View

Our Store Location(s)

Map View List View Print

Lovebright Collection (2024)
Top Articles
Latest Posts
Article information

Author: Greg Kuvalis

Last Updated:

Views: 6127

Rating: 4.4 / 5 (75 voted)

Reviews: 82% of readers found this page helpful

Author information

Name: Greg Kuvalis

Birthday: 1996-12-20

Address: 53157 Trantow Inlet, Townemouth, FL 92564-0267

Phone: +68218650356656

Job: IT Representative

Hobby: Knitting, Amateur radio, Skiing, Running, Mountain biking, Slacklining, Electronics

Introduction: My name is Greg Kuvalis, I am a witty, spotless, beautiful, charming, delightful, thankful, beautiful person who loves writing and wants to share my knowledge and understanding with you.