<div id="pop_up" style="position: fixed; left: 0; border: solid 1px #000000;background-color: #333; color: #fff; text-align: right; font: 11px, sans-serif; cursor: pointer; width: 100%; height: 100%;">
<span title="Kliknij, aby zamknąć" onclick="document.getElementById('pop_up').style.display='none'">[Zamknij]<br />
<center>
<span style="position: fixed; border: solid 1px #000000;background: #FFF center fixed;color: #000; font: 11px, sans-serif; cursor: pointer; width: 50%; height: 50%;top: 25%;left: 25%;">
<b><p>Jakaś tam zawartość. Jak coś jeszcze potrzeba pisz, z chęcią pomogę. : )</p></b>
Np. możesz wstawić wygenerowany kod z Facebooka. :D
</span>
</center>
</span>
</div>
<script type="text/javascript">
(function(element,el_left,D){
D=document
el_left=((D.body.clientWidth||D.documentElement.clientWidth)-100%)/2 /* "100%" - szerokosc */
el_top=0 /* "0" - margin-top */
with(D.getElementById('pop_up').style){
top=el_top+'px'
left=el_left+'px'
}
el_left_start=el_top_start=0
})()
function el_move(ydiff){
with(document){
ydiff=el_top_start-(body.scrollTop||documentElement.scrollTop)
if(ydiff)el_top_start-=~~(ydiff/10)
getElementById('pop_up').style.top=el_top_start+el_top+'px'
}
}
elmove=setInterval("el_move()",10)
</script>