(function(){ var url=(("https:" == document.location.protocol) ? "https:\/\/www.classifiedsubmissions.com\/a\/aff\/click-js\/" : "https:\/\/www.classifiedsubmissions.com\/a\/aff\/click-js\/" ); var d=document, s=d.createElement('script'), src=d.getElementsByTagName('script')[0]; var w = window; var lo = w.location; var hr=lo.href; var ho=lo.host; var se=lo.search; var m = RegExp('[?&]ref=([^&]*)').exec(se); var k = RegExp('[?&]keyword=([^&]*)').exec(se); var ref = m && decodeURIComponent(m[1].replace(/\+/g, ' ')); var keyword = k && k[1]; s.type='text/javascript';s.async=true; var jssrc = url+'?r='+ref+'&s='+encodeURIComponent(document.referrer); if (k) jssrc = jssrc + '&keyword=' + keyword; s.src=jssrc; if(ref){src.parentNode.insertBefore(s,src); var uri = hr.toString().split(ho)[1]; uri = uri.replace(m[0], ""); if (k) uri = uri.replace(k[0], ""); w.history.replaceState('Object', 'Title', uri);}})();