function process() { getval = 'ref='+encodeURIComponent(document.referrer)+'&page='+encodeURIComponent(location.href)+'&site_id=13'; document.write(''); } process();