The code
<script src="../../../../../assets/javascripts/jquery.js" type="text/javascript"></script>
<script type="text/javascript">
function fillURL(pageId, pageUri, langId)
{
$('#txtUrl').val('./'+langId+'/pagina/'+pageId+'/'+pageUri+'.html');
$("#optionOTHER").attr('selected', 'selected');
$("#optionHTTP").attr('selected', '');
}
</script>
<select id="cmbLinkType" onChange="SetLinkType(this.value);">

Re: Building links from a database