var tw=window; document.write(""); while ( tw.location != tw.parent.window.location && tw.document.referrer == tw.parent.window.location ) tw = tw.parent.window; var q='?ref='+escape(tw.document.referrer)+'&screen='+screen.width+'/'+screen.height; document.write('');