function new_win_ins()
{
    var id = document.vote.vote_id.value;
    var all_off = 'directories=no,location=no,menubar=no,status=no,titlebar=no,toolbar=no,scrollbars=no,width=400,height=200,resizeable=no';
    if(document.vote.vote_answer(0).checked == true)
    {
        var val = document.vote.vote_answer(0).value;
        var new_win = open('./vote.php?vote_answer='+val+'&&vote_id='+id+'&&vote_count_submit=ok' , 'vote_win' , all_off);
        return true;
    }
    if(document.vote.vote_answer(1).checked == true)
    {
        var val = document.vote.vote_answer(1).value;
        var new_win = open('./vote.php?vote_answer='+val+'&&vote_id='+id+'&&vote_count_submit=ok' , 'vote_win' , all_off);
        return true;
    }
    if(document.vote.vote_answer(2).checked == true)
    {
        var val = document.vote.vote_answer(2).value;
        var new_win = open('./vote.php?vote_answer='+val+'&&vote_id='+id+'&&vote_count_submit=ok' , 'vote_win' , all_off);
        return true;
    }
    if(document.vote.vote_answer(3).checked == true)
    {
        var val = document.vote.vote_answer(3).value;
        var new_win = open('./vote.php?vote_answer='+val+'&&vote_id='+id+'&&vote_count_submit=ok' , 'vote_win' , all_off);
        return true;
    }
}

function new_win_show()
{
    var id = document.vote.vote_id.value;
    var all_off = 'directories=no,location=no,menubar=no,status=no,titlebar=no,toolbar=no,scrollbars=no,width=400,height=150,resizeable=no';
    var val = document.vote.vote_answer(0).value;
    var new_win = open('./vote.php?vote_id='+id+'&&vote_res_submit=ok' , 'vote_win' , all_off);
    return true;
}
