"; element.append(html); } }; var renderStaticMap = function (element, data) { if (element instanceof jQuery) { var map = plugin.settings.staticMap; element.append( " " + " "); } }; var renderAddress = function (element, data) { if (element instanceof jQuery) { element.append(data); } }; var renderPhone = function (element, data) { if (element instanceof jQuery) { element.append(data); } }; var initRotation = function () { var $reviewEls = $element.children('.review-item'); var currentIdx = $reviewEls.length > 0 ? 0 : false; $reviewEls.hide(); if (currentIdx !== false) { $($reviewEls[currentIdx]).show(); setInterval(function () { if (++currentIdx >= $reviewEls.length) { currentIdx = 0; } $reviewEls.hide(); $($reviewEls[currentIdx]).fadeIn('slow'); }, plugin.settings.rotateTime); } }; var renderStars = function (rating) { var stars = "