!function(i,e){"use strict";if(void 0===e.WeddingWire||void 0===e.WeddingWire.ensureInitFirst){var r=e.WeddingWire=e.WeddingWire||{},t={debug:!1,network:"weddingwire",partnerKey:"163r5mm3"},d=document.getElementsByTagName("HEAD")[0]||document.body,n=[],s=[],c=!1,o=function(e){var i=document.createElement("script");i.type="text/javascript",i.src=e,i.async="true",d.appendChild(i)},l=function(){(i=r.libs.jQuery).extend(r,{settings:function(e){if(void 0===e)return t;i.extend(t,e)}}),i.each(s,function(e,i){i()}),c=!0,i.each(n,function(e,i){i()}),r.libs.setupColors()};r.initReady=l,r.ensureInit=function(e){if(!c)n.push(e);else e()},r.ensureInitFirst=function(e){if(!c)s.push(e);else e()},r.loadScript=o,function(){if(void 0===r.libs){var e="",i=document.currentScript.src.match(/:\/\/(www[0-9]?\.)?(.[^/:]+)/i);if(null!=i&&2<i.length&&"string"==typeof i[2]&&0<i[2].length)e=i[2];else e="static.weddingwire.com";t="https://"+e+"../../../build/css/phoenix/weddingwire_rated_visuals.min.css",(n=document.createElement("link")).rel="stylesheet",n.href=t,d.appendChild(n),o("https://"+e+"/static/js/widgets/library.js")}else l();var t,n}()}}(void 0,window),function(r,e){"use strict";if(void 0===e.wwrated){var i=e.wwRated={},t="",n=document.currentScript.src.match(/:\/\/(www[0-9]?\.)?(.[^/:]+)/i);if(null!=n&&2<n.length&&"string"==typeof n[2]&&0<n[2].length)t=n[2];else t="static.weddingwire.com";var d={vendorId:null,partnerKey:"163r5mm3",static_host:t},s=function(e){r.extend(d,e),WeddingWire.libs.vendorDetails(d.vendorId,WeddingWire.wwRated.create,d.partnerKey)},c=function(e){var i=e.review_wedding_count,t=null,n=r("#ww-widget-wwrated-2013");if(3.5<=parseFloat(e.average_wedding_review_score))if(499<i)t="500";else if(249<i)t="250";else if(99<i)t="black";else if(49<i)t="gold";else if(24<i)t="silver";else if(9<i)t="bronze";else if(2<i)t="blue";if(t)n.addClass("color-"+t),n.find(".ww-bottom").text(i+" Reviews");else n.hide()};WeddingWire.ensureInitFirst(function(){(r=WeddingWire.libs.jQuery).extend(i,{create:c,settings:function(e){if(void 0===e)return d;r.extend(d,e)}}),r.extend(WeddingWire,{createWWRated2013:s})})}}(void 0,WeddingWire);