<!--
function MrunWysiwyg(tt,ff)
{
 var win;
 win=window.open('js/ed/'+ff, '','width=535,height=540,toolbar=no,menubar=no,scrollbars=yes,resizable=yes,location=no,directories=no,status=yes');
// win.xsEditor.value=tt;
};


function openZUSPrint(grupa,data)
{
 document.location="wydruk_skladek.php?grupa="+grupa+'&data='+data;
}


function doprint()
{
if (window.print != null) { window.print(); } else { alert('B\263\261d'); }
}

function new_form()
{
document.location="wstepny.php?ile=nowy";
};

function doprint2(f1,f2,f3,f4)
{
f3.style.visibility='hidden';
f4.style.visibility='hidden';
doprint(f1,f2);
};

function OpenWindow(url,w,h)
{
window.open(url, '',config='height='+h+', width='+w+',toolbar=no,menubar=no,scrollbars=yes,resizable=yes,location=no,directories=no,status=yes');
}
 

function typy_formularzy(id)
{
OpenWindow("windows/typy_formularzy.php?id="+id,250,200);
}

function check_link(url)
{
    var is_confirmed = confirm("Czy chcesz usunac wybranego studenta z listy biezacych studentow (zostaje zapisany w archiwum)?");
    if (is_confirmed) {
       document.location=url;
    }

};


function check_linkt(url)
{
    var is_confirmed = confirm("Czy chcesz usunac wybranego studenta z listy biezacych studentow (zostaje trwale usuniety - operacji nie mozna cofnac)?");
    if (is_confirmed) {
       document.location=url;
    }

};


function onhover(inp,tcolor)
{
inp.style.background=tcolor;
};

function setPointer(theRow, thePointerColor)
{
    if (typeof(theRow.style) == 'undefined' || typeof(theRow.cells) == 'undefined') {
        return false;
    }

    var row_cells_cnt           = theRow.cells.length;
    for (var c = 0; c < row_cells_cnt; c++) {
        theRow.cells[c].bgColor = thePointerColor;
    }

    return true;
} // end of the 'setPointer()' function

-->
