You should use the name of the variable where you have put the url:
$('#pano param:first').val(urlconst)