// url parameterek
$.urlParam = function(name){
var results = new RegExp('[\?&]' + name + '=([^&#]*)').exec(window.location.href);
return results[1] || 0;
}
$('#szolgaltatas').val(decodeURIComponent($.urlParam('targy') + ' - ' + $.urlParam('idopont')));