  function InitializeHTMLElements(){
     if ((document.BDImportMainPage.ABDIFilterMethod!=null) && (document.BDImportMainPage.FilterMethodRBox!=null)){
       var i = document.BDImportMainPage.ABDIFilterMethod.value;
       //alert(document.BDImportMainPage.ABDIFilterMethod.value);
       document.BDImportMainPage.FilterMethodRBox[i].checked=true;
     }
  }
                     

  function DoAdvSettings(AURL){
    var AURL="";
    if (document.BDImportMainPage.ShowServerDataPathFiles!=null)
      document.BDImportMainPage.ShowServerDataPathFilesStr.value=document.BDImportMainPage.ShowServerDataPathFiles.checked;
    if (document.BDImportMainPage.FetchRepsFilesCBox!=null)
      document.BDImportMainPage.FetchRepsFilesCBoxStr.value=document.BDImportMainPage.FetchRepsFilesCBox.checked;
    if (document.BDImportMainPage.ShowAdvFilterOptionsPnl!=null)
      AURL="&ShowAdvFilterOptions=true";
    AURL="&ShowImportedFiles=" + document.BDImportMainPage.ShowImportedFiles.value;
    //alert(document.BDImportMainPage.ShowAdvFilterOptionsBtn.value);
    AURL="BDIAdvSettingsPage?BDIFspec=" + document.BDImportMainPage.BDIFSpec.value +
             "&BackPageName=BDImportMainPage&FetchRepsFilesCBox=" +
             document.BDImportMainPage.FetchRepsFilesCBoxStr.value +
             "&ShowServerDataPathFiles=" + document.BDImportMainPage.ShowServerDataPathFilesStr.value + AURL;
    window.location=AURL;
  }
