DiamondDog: Fenster nach öffnen wieder schließen?

Beitrag lesen

Der Link liegt in einem div und das hat ne id.
Also an den Link zu komme sollte kein Problem sein.
Hier mal ein Beispiel:
Link1:
<div id='contentr' align=left style='cursor:pointer; height:60px; width:460px; max-height:60px; max-width:468px; overflow:hidden;' onClick="gotourl('?FZAZCZZAZZAAAZZAABAAAZEAAAABAAAA=NDgwOTY=&CS=ACCEDCCDCCCBFCCCCCDCCBCCCCCCCCCB&show=&noaff=');" onMouseUp='setCSession();'><a href='http://www.amazon.de/gp/redirect.html?ie=UTF8&amp;location=http%3A%2F%2Fwww.amazon.de%2FSonderangebote-Restposten-Schn%25C3%25A4ppchen-Shop-%25C3%259Cberblick%2Fb%3Fie%3DUTF8%26node%3D872398%26ref%255F%3Dcs%255Ftop%255Fnav%255Fgb27&amp;site-redirect=de&amp;tag=vswebshop-21&amp;linkCode=ur2&amp;camp=1638&amp;creative=19454' target='_blank'><img border='0' width='468' height=60 src='http://www.vs-webshop.de/optionslogo_small.jpg'></a></div>

Link2:~~~html

<div id='contentl' align=left style='cursor:pointer; height:60px; width:460px; max-height:60px; max-width:468px; overflow:hidden;' onClick="gotourl('?FZAZCZZAZZAAAZZAABAAAZEAAAABAAAA=NDgwMjc=&CS=CBBCCCCCCCCCCCCCCACCCCACFCBCBCCC&show=&noaff=');" onMouseUp='setCSession();'><a href='http://www.cya1t.net/tracker/59/86298/85787/22010/3?a=0&amp;tit=bannerclk&amp;uprof=000000|00000|000000|0000|000000|000000|000000|000000|000000|000000|000000|333237|&amp;click=http://www.oe24.at/' target='_blank'><img border='0' width='468' height=60 src='http://www.cya1t.net/tracker/59/86298/85787/122002/3?a=0&amp;tit=banner&amp;uprof=000000|00000|000000|0000|000000|000000|000000|000000|000000|000000|000000|333237|&amp;click=http://netfarm.netnugget.de/media/82698/85787/img/468x60_got-news_gif1.gif'></a></div>