if( window.StaticNodeList && !StaticNodeList.prototype.hasOwnProperty ) { StaticNodeList.prototype.hasOwnProperty = function hasOwnProperty( obj ) { return obj != 'length'; } } (function () { var spThumbUl = null; var AttributionImage, ContactViewController, GalleryController, MobileMenu, match, namespace, regex, str = "", scriptSrc, __slice = Array.prototype.slice, __bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; }; var doc = document; var spDocType = doc.doctype; var spVer = 1401290566; //version date this.ts = doc.getElementsByTagName("script"); this.isIEBool = /MSIE (\d+\.\d+);/.test(navigator.userAgent) || /Trident/.test(navigator.userAgent); this.isFFBool = /Firefox[\/\s](\d+\.\d+)/.test(navigator.userAgent); this.isIE7Bool = (/MSIE (\d+\.\d+);/.test(navigator.userAgent) && Number(RegExp.$1) <= 7) ? true : false; this.isIE8Bool = (/MSIE (\d+\.\d+);/.test(navigator.userAgent) && Number(RegExp.$1) <= 8) ? true : false; this.isIE9Bool = (/MSIE (\d+\.\d+);/.test(navigator.userAgent) && Number(RegExp.$1) >= 9) ? true : false; this.spDocHTML5Bool = false; if(spDocType){ var spDocTypeID = spDocType.publicId == null ? "" : spDocType.publicId.toLowerCase(); if (spDocTypeID.indexOf("strict") > 0 || spDocTypeID == "" || (spDocType.publicId == "" && spDocType.systemId == "")) this.spDocHTML5Bool = true; } this.spOnloadBool = false; this.spIframeBool = false; this.spResizeIframe = false; this.spApiKey = ""; this.spIframeDoc; this.spBaseFontSize = null; this.spHideDisplayOptionPhotos = false; for(var iCnt = 0;iCnt < this.ts.length;iCnt++){ scriptSrc = this.ts[iCnt].src; if(scriptSrc.indexOf("menus.singleplatform") > 0 || scriptSrc.indexOf("/apps/singlepage/legacy/full-menu.js") > 0 || scriptSrc.indexOf("/businesses/storefront/?apiKey") > 0){ str = scriptSrc; var regex = new RegExp("[\\?&]apiKey=([^]*)"); regex = regex.exec(str); if(regex) this.spApiKey = regex.length > 0 ? regex[1] : ""; } } this.spApiExclusionList = { 'kvc4bpjczozkz6syd63jrupvj':true, 'kj60kdn3uqkkqy7hwluk1lf59':true, 'k7c7vw9s8mqti16eg5h8y6qok':true, 'cdpd2qoyluep0rphg41a22add':true, 'k6elf5thfruv3z81dfggfdo96':true, 'ksch7sukgvj9j0nglk9xxpx4x':true, 'ksch7sukgvj9j0nglk9xxpx4x.js':true, 'kpi0uhgqn73wrx5d2vhbgh2n8':true //Menuism }; this.spMenuTemplate = spApiExclusionList[ spApiKey ] ? "1" : "2"; str = str === "" ? this.ts[this.ts.length - 1].src : str; if (str === "") str = this.ts[this.ts.length - 2].src; regex = /^(.*:\/\/.*?)\//; match = regex.exec(str); this.sp_host_name = match[1]; this.menuApi = []; this.Signal = (function() { Signal.registryAlways; Signal.registryOnce; function Signal() { this.registryAlways = []; this.registryOnce = []; } Signal.prototype.connectAlways = function(observer) { return this.registryAlways.push(observer); }; Signal.prototype.connectOnce = function(observer) { return this.registryOnce.push(observer); }; Signal.prototype.notify = function() { var observer, regAlways, regOnce, vars, _i, _j, _len, _len2, _results; vars = 1 <= arguments.length ? __slice.call(arguments, 0) : []; regOnce = this.registryOnce; regAlways = this.registryAlways.slice(); this.registryOnce = []; for (_i = 0, _len = regAlways.length; _i < _len; _i++) { observer = regAlways[_i]; observer.apply(null, vars); } _results = []; for (_j = 0, _len2 = regOnce.length; _j < _len2; _j++) { observer = regOnce[_j]; _results.push(observer.apply(null, vars)); } return _results; }; return Signal; })(); namespace = function(target, name, block) { var item, top, _i, _len, _ref, _ref2; if (arguments.length < 3) { _ref = [(typeof exports !== 'undefined' ? exports : window)].concat(__slice.call(arguments)), target = _ref[0], name = _ref[1], block = _ref[2]; } top = target; _ref2 = name.split('.'); for (_i = 0, _len = _ref2.length; _i < _len; _i++) { item = _ref2[_i]; target = target[item] || (target[item] = {}); } return block(target, top); }; if(!String.prototype.trim) { String.prototype.trim = function(){ return this.replace(/^\s+|\s+$/g,''); }; } namespace("Util", function(exports) { exports.isOn = function(v) { var _ref; switch (typeof v) { case "boolean": return v; case "number": return v >= 1; case "object": return v !== null; case "string": return !((_ref = v.toLowerCase()) === "false" || _ref === "off" || _ref === "no" || _ref === "null" || _ref === "nil" || _ref === ""); case "undefined": return false; default: return false; } }; exports.callGoogleAnalytics = function() { var e, s, doc; doc = document; s = doc.createElement('script'); s.async = true; s.src = ('http:' === doc.location.protocol ? 'http://www' : 'https://ssl') + '.google-analytics.com/ga.js'; e = (doc.getElementsByTagName('script')[0]); return e.parentNode.insertBefore(s, e); }; exports.importWedge = function() { var script = doc.createElement('script'); script.async = false; script.src = sp_host_name + "/static/js/lib/wedge/wedge-0.0.0.min.js"; return doc.getElementsByTagName('head')[0].appendChild(script); } exports.importScript = function(href) { var e, s, doc; doc = document; s = doc.createElement('script'); s.async = true; s.src = href; return doc.getElementsByTagName('head')[0].appendChild(s); }; exports.importStylesheets = function(href) { var e, s, doc; doc = document; s = doc.createElement('link'); s.async = true; s.rel = 'stylesheet'; s.type = 'text/css'; s.href = href; if (spIframeBool){ iframeBody = spIframeDoc.body; iframeBody.appendChild(s); } else return doc.getElementsByTagName('head')[0].appendChild(s); }; exports.getByClass = function(className) { var allElements, el, _i, _len, _results, doc; doc = document; if (doc.all) { allElements = doc.all; } else { allElements = doc.getElementsByTagName("*"); } _results = []; for (_i = 0, _len = allElements.length; _i < _len; _i++) { el = allElements[_i]; if (el.className === className) _results.push(el); } return _results; }; exports.removeSPClass = function (elem, c) { return elem.className=elem.className.replace(c,'').replace(' ',' ').trim(); }; exports.addSPClass = function (elem, c) { return elem.className=elem.className+=' '+c; }; exports.toggleSPClass = function (elem, addC, removeC) { elem.className=elem.className.replace(removeC,'').replace(' ',' ').trim(); elem.className=elem.className+=' '+addC; return elem; }; exports.getPublisherName = function(){ return document.getElementById("sp_publisher") ? document.getElementById("sp_publisher").innerHTML : ''; }; exports.resizeMenu = function(){ var doc = document; var spMainHeight = doc.getElementById("sp_main").offsetHeight; var spPhotoHeight = doc.getElementById("sp_photo_cover") ? doc.getElementById("sp_photo_cover").offsetHeight : 0 ; var spAnnounceHeight = doc.getElementById("specials_and_events") ? doc.getElementById("specials_and_events").offsetHeight : 0; var spMenuDropHeight = doc.getElementById("sp_menu_drop").offsetHeight + 110 + spPhotoHeight + spAnnounceHeight; if (spMenuDropHeight > spMainHeight){ spMenuDropHeight += 20; return doc.getElementById("sp_main").style.height = spMenuDropHeight + "px"; } else return doc.getElementById("sp_main").style.height = "100%"; }; return exports.getParameterByName = function(name) { var regexS, results; name = name.replace(/[\[]/, "\\\[").replace(/[\]]/, "\\\]"); regexS = "[\\?&]" + name + "=([^]*)"; regex = new RegExp(regexS); results = regex.exec(window.location.href); if (results === null) { return ""; } else { return decodeURIComponent(results[1].replace(/\+/g, " ")); } }; }); namespace("SPIframe", function(exports) { exports.createIframe = function(targetId){ var doc = document; if (doc.getElementById("sp_iframe") === null){ var spIframe = doc.createElement("iframe"); spIframe.id = "sp_iframe"; spIframe.style.width = "100px"; spIframe.style.minWidth = "100%"; spIframe.style.height = "500px"; spIframe.style.border = "none"; spIframe.frameBorder = "no"; spIframe.scrolling = "no"; doc.getElementById(targetId).appendChild(spIframe); var spIframeHTML = '

'; spIframeHTML += '

' + (location.protocol === 'file:'?'http:':location.protocol) + '//a' + (location.protocol === 'https:'?'s':'') + '.singleplatform.com/provided_by.png http://places.singleplatform.com/menu?ref=FIXME

' + this.$navPrev + this.$navNext + '

'; photoHTML += ' '; photoHTML += title; photoHTML += ' '; photoHTML += ' '; photoHTML += tags; photoHTML += ' '; photoHTML += ' '; photoHTML += ''; photoHTML += ''; photoHTML += ' '; photoHTML += ''; photoHTML += ''; photoHTML += '

PHOTOS