function open_vote_window(vote_id) {
    vote_window = open("vote.php?id="+vote_id,"votewindow","width=550,height=250,top="+(screen.height-250)/2+",left="+(screen.width-550)/2+",status=no,toolbar=no,menubar=no,resizable=yes,scrollbars=yes");
}
function open_prev_window() {
        vote_window = open("vote/prev.php","votewindow","width=550,height=250,top="+(screen.height-250)/2+",left="+(screen.width-550)/2+",status=no,toolbar=no,menubar=no,resizable=yes,scrollbars=yes");
}