function zapisz(word, word2)
{
var url = "http://" + location.host + "/include/session_word.php";
var params = "word=" + word;
startPOSTRequest(url, params, onComplete, onEnd(word2));     
}

function onComplete(responseText, responseXML)
{
}

function onEnd(word2)
{
window.location.href="http://" + location.host + "/tag/" + word2;
}
