var dom = escape(document.domain);
var ref = escape(document.referrer);
var url = escape(document.URL);
if (ref.length>=197) ref=ref.substring(0,197)+"...";
var param = 'UserID='+UserID+'&url='+url+'&ref='+ref+'&dom='+dom;
document.write('<iframe src="http://ajcounter.dk/counter_IP/count_hid.asp?'+param+'" width="1" height="1" scrolling="no" frameborder="0" marginwidth="1" marginheight="1" [<img height="1" width="1" border="0" src="http://ajcounter.dk/counter_IP/count_no_script.asp?'+param+'&iFrame=no" >]</iframe>');