rem: var checkbox = document.getElementById("MakeRelativeCheckbox"); if (!checkbox) return;  
context: function MakeInputValueRelativeOrAbsolute(){  var checkbox = document.getElementById("MakeRelativeCheckbox");  if (!checkbox)    return;  var input =  document.getElementById(checkbox.getAttribute("for"));  if (!input)    return;  var docUrl = GetDocumentBaseUrl();  if (!docUrl)  {    // Checkbox should be disabled if not saved,    //  but keep this error message in case we change that    AlertWithTitle("", GetString("SaveToUseRelativeUrl"));    window.focus();  }  else   {    // Note that "checked" is opposite of its last state,    //  which determines what we want to do here    if (checkbox.checked)      input.value = MakeRelativeUrl(input.value);    else      input.value = MakeAbsoluteUrl(input.value);    // Reset checkbox to reflect url state    SetRelativeCheckbox(checkbox, input.value);  }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/6ff254ec3a2c3d4e6e690535f65f89a007c66b98/EdDialogCommon.js/clean/editor/ui/dialogs/content/EdDialogCommon.js