/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

function pegaPosicao(id, posicao) {
    url = 'http://localhost/clinca_app'
    valor = document.getElementById('inPosicao'+id).value
    link = url+'/noticias/noticia-dao/mover?id='+id+'&posicao='+posicao+'&novaPosicao='+valor;
    window.open(link , "_parent");
}
