function test()
{
var koledy2008=0;
var rozaniec = 0;
var best = 0;

++koledy2008;
alert(koledy2008);

}

function pokazm() {
setTimeout('openpop()', 1500);
}

function zamknij(){
window.close()
}

function openpop() {
window.open("m.html","zapraszam","width=700,height=240,screenX=0,screenY=0");
}

function info_kup() {
window.open("info-kup.html","przeczytaj","width=700,height=350,screenX=0,screenY=0,scrollbars=0");
}

function kup() {
window.close()
window.open("kup.html","kupuje","width=700,height=570,screenX=0,screenY=0,scrollbars=0,status=1");
}

function kupd() {
window.close()
window.open("kupd.html","kup_teraz","popFrameless","width=700,height=480,screenX=0,screenY=0,scrollbars=1");
}

noweOkienko = null;
function powiększ(src, w, h){
if(window.screen){
 aw=screen.availWidth;
 ah=screen.availHeight;
}else{
 aw=640;
 ah=450;
}
if(noweOkienko==null || noweOkienko.closed){
 ustawienia=
 "left=" + (aw-w)/2 + ","
 +"top=" + (ah-h)/2 + ","
 +"screenX=" + (aw-w)/2 + ","
 +"screenY=" + (ah-h)/2 + ","
 +"width=" + w + ","
 +"height=" + h + ","
 +"innerWidth=" + w + ","
 +"innerHeight=" + h + ","
 +"toolbar=no,"
 +"location=no,"
 +"directories=no,"
 +"status=no,"
 +"menubar=no,"
 +"scrollbars=yes,"
 +"resizable=yes"
 noweOkienko = window.open("",'obrazek',ustawienia);
}
noweOkienko.document.open();
noweOkienko.document.clear();
noweOkienko.document.write(
"<html><head><title>powiększenie</title>\n"
+"</head><BODY bgcolor=#000000>\n"
+"<div class=bgfoto id='wait' style='position:absolute; left:" + (w-120)/2 + "px; top:" + h/2 + "px; width:" + w + "; height=" + h + "; z-index:1'><font size='2' font color='#3C436C' face='sans-serif'><b><br> OTWIERANIE</b> </font></div>\n"
+"<div id='img' style='position:absolute; left:0; top:0; width:300; height:200px; z-index:2'><a href='javascript:window.close()'><img src="+ src +" width=" + w + " height=" + h + "  alt=' Zamknij ' border=0></a></div>\n"
+"</body></html>"
);
noweOkienko.document.close();
noweOkienko.focus();
}

function napisz(user, strona, subject,img)
{
document.write('<a href=\"mailto:' + user + '@' + strona + '?subject=' + subject + '\">');
document.write(img);
document.write('</a>')
}



//Tomasz Pasławski
