function changeNetworkCodes(selectNode, values) {
    while(selectNode.childNodes.length > 0) {
        selectNode.removeChild(selectNode.firstChild);
    }
    for(var i = 0; i < values.length; i++) {
    	var node = document.createElement('option');
    	var text = document.createTextNode(values[i]);
    	node.appendChild(text);
    	node.value = values[i];
    	selectNode.appendChild(node);
    }
}