//classe de javascript
function LoadURL(){
    this.url =null
    this.target ="_blank";
}

LoadURL.prototype.gotoUrl = function(aSelectBox,target){
    //nunca deve-se usar o primeiro option como URL
    if(aSelectBox.selectedIndex >0){
        this.target =(!target) ? this.target: target;
        //recupera o valor selecionado
        this.url = aSelectBox.value;
        //chama o objeto carregador de janelas do navegadro
        var win_load = window.open(this.url, this.target);
        return win_load;
    }
    return false;
}


////////////////////////////////////
//usando definitivamente, apos o carregamento da janela
window.onload = function(){
    //verifica qual select ira trabalhar atraves de seu id que deve ser unico
    var refSelect = document.getElementById("soamar");
    //instancia um objeto de carregamento
    var irPara = new LoadURL();
    //configura o ouvite de evento, padrao para DOM nivel 0
    //para ser bem simples
    refSelect.onchange = function(){
        irPara.gotoUrl(refSelect,"_blank");
    }
}
