function sanitize(string) { string = string.replace('&','&'); string = string.replace('=','&eq;'); return string; } var params = null; params += '&site_id=6'; params += '&user_id=2'; params += '&url=' + sanitize(window.location.toString()); if (screen) { params += '&screan='+screen.width+'x'+screen.height+'x'+screen.colorDepth; } document.writeln('');