window.log=function(){log.history=log.history||[];log.history.push(arguments);if(this.console){arguments.callee=arguments.callee.caller;var a=[].slice.call(arguments);(typeof console.log==="object"?log.apply.call(console.log,console,a):console.log.apply(console,a))}};(function(e){function h(){}for(var g="assert,count,debug,dir,dirxml,error,exception,group,groupCollapsed,groupEnd,info,log,timeStamp,profile,profileEnd,time,timeEnd,trace,warn".split(","),f;f=g.pop();){e[f]=e[f]||h}})((function(){try{console.log();return window.console}catch(a){return window.console={}}})());(function(a){a.fn.onceAfterLoadOrComplete=(function(b){return this.one("load",b).each(function(){if(this.complete){a(this).load()}})})}(jQuery));(function(e,a,f){var c,b=e.getElementsByTagName(a)[0];if(e.getElementById(f)){return}c=e.createElement(a);c.id=f;c.src="//connect.facebook.net/en_US/all.js#xfbml=1&appId=263057870407721";b.parentNode.insertBefore(c,b)}(document,"script","facebook-jssdk"));(function(a){a.noConflict();a(function(){function c(f){return Math.round(Number(f))}function b(j,f,n){var h,m,l,i,k,g;i=n||{};k="http://maps.googleapis.com/maps/api/staticmap?"+a.param(f,true);g=c(j.width());m=c(j.height());h="30px";l=a("<span>").css({"background-image":"url("+k+")",height:m+"px",width:g+"px",display:"block","-webkit-border-radius":h,"-moz-border-radius":h,"border-radius":h});if(i.title){l.attr("title",i.title)}l.appendTo(a("<a>").attr("href",encodeURI("http://maps.google.com/maps/place?q=Crushed+Fine+Wine,+Mount+Pleasant,+SC&hl=en&cid=1313996241792454935")).appendTo(j))}function e(){var f,g,h,j,i,k;g="32.810749,-79.878845";i="32.810749,-79.878845|32.810940,-79.877708|32.811409,-79.877838|32.811432,-79.877693";h=a("#shop-map");k=c(h.width());f=c(h.height());j={center:g,zoom:15,size:k+"x"+f,maptype:"roadmap",markers:["size:small|color:0x9E0514|"+g],path:["weight:3|"+i],sensor:false};b(h,j,{title:"Map of 716 South Shelmore Boulevard"})}function d(){var g,f,h,i,k,j,l;g="32.811214,-79.878304";h="32.811432,-79.877693";j="32.810749,-79.878845|32.810940,-79.877708|32.811409,-79.877838|32.811432,-79.877693";i=a("#shop-detail-map");l=c(i.width());f=c(i.height());k={center:g,zoom:18,size:l+"x"+f,maptype:"satellite",markers:["size:small|color:0x9E0514|"+h],path:[j],sensor:false};b(i,k,{title:"Map of #101 Shelmore Village"})}a("img.rounded-top-image").onceAfterLoadOrComplete(function(){a(this).wrap(function(){return a("<span>").css({"background-image":"url("+a(this).attr("src")+")",height:a(this).height()+"px",width:a(this).width()+"px"}).addClass("rounded-top")})});e();d()})})(jQuery);
