var badge = {}; badge.profile_id = '163592'; badge.style = 'tv'; badge.size = 's'; badge.width = '200'; badge.height = '450'; badge.base_url = 'https://www.proreferral.com'; badge.badge_url = badge.base_url + '/profiles/badge/163592/'; badge.media_url = badge.base_url + '/media/' badge.has_jquery = false; // if they already have jquery, lets us it if (typeof jQuery != 'undefined') { badge.dollar = $; badge.jquery = jQuery; badge.has_jquery = true; } // the replaced element needs to have the style, width and height document.write('\x3Cdiv class="redbeacon-iframe" size="s" title="tv" width="200" height="450">\x3C/div>'); document.write('\x3Cscript type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js">\x3C/script>'); document.write('\x3Cscript type="text/javascript" src="'+badge.media_url+'seo_profiles/noconflict.js">\x3C/script>'); (function() { document.write('\x3Cscript type="text/javascript" src="'+badge.media_url+'seo_profiles/embed.js?v=2">\x3C/script>'); }());