function onLoad() {
//console.log("jason top.location:"+unescape(top.location));
//Type appropriate comment here, and begin script below
var requestBy = getParameterValue("sysparm_request_by");
g_form.setValue('request_for_fulfiller',requestBy);
}
function getParameterValue(name) {
name = name.replace(/[\[]/, "\\\[").replace(/[\]]/, "\\\]");
var regexS = "[\\?&]" + name + "=([^]*)";
var regex = new RegExp(regexS);
var results = regex.exec(unescape(top.location));
if (results == null) {
return "";
} else {
return unescape(results[1]);
}
}