1function wr360QueryGetParameterByName(name) { 2 var match = RegExp('[?&]' + name + '=([^&]*)').exec(window.location.search); 3 return match && decodeURIComponent(match[1].replace(/\+/g, ' ')); 4} 5 6jQuery(document).ready(function() { 7 var popup360Elm = jQuery("#wr360PlayerId20"); 8 if (popup360Elm.length == 1) { 9 var backgroundColor = wr360QueryGetParameterByName("background"); 10 if (backgroundColor && backgroundColor.length > 0) 11 popup360Elm.css("background-color", backgroundColor); 12 13 popup360Elm.rotator({ 14 licenseFileURL: wr360QueryGetParameterByName("lic"), 15 graphicsPath: wr360QueryGetParameterByName("grphpath"), 16 configFileURL: wr360QueryGetParameterByName("config"), 17 rootPath: wr360QueryGetParameterByName("root"), 18 googleEventTracking: wr360QueryGetParameterByName("analyt") === "true", 19 viewName: wr360QueryGetParameterByName("viewname") 20 }); 21 } 22 else { 23 if ((typeof(jQuery.fn.prettyPhoto) !== "undefined") && (typeof(getWR360PopupSkin) !== "undefined")) 24 jQuery("a[data-rel^='prettyPhoto']").prettyPhoto({animation_speed: 0, deeplinking: false, theme: getWR360PopupSkin() }); 25 } 26});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.