    function showCustom() {
      opts = document.forms[0].blogService;
      sValue = opts.options[opts.selectedIndex].value;
      dObj = document.getElementById('custom');
      if(sValue == 'custom') {
        dObj.style.display='block';
      }
      else {
        dObj.style.display='none';
      }
    }
    function showPhotoDiv() {
      opts = document.forms[0].photoService;
      sValue = opts.options[opts.selectedIndex].value;
      dObj_f = document.getElementById('flickr');
      dObj_auth = document.getElementById('photoAuth');
      dObj_ftp = document.getElementById('photoFtp');
      if(sValue == 'flickr') {
        dObj_f.style.display='block';
        dObj_auth.style.display='none';
        dObj_ftp.style.display='none';
      }
      else if(sValue == 'FSPHost'){
        dObj_auth.style.display='block';
        dObj_f.style.display='none';
        dObj_ftp.style.display='none';
      }
      else if(sValue == 'ftp'){
        dObj_ftp.style.display='block';
        dObj_auth.style.display='block';
        dObj_f.style.display='none';
      }
      else {
        dObj_f.style.display='none';
        dObj_auth.style.display='none';
        dObj_ftp.style.display='none';
      }
    }
    function showVideoDiv() {
      opts = document.forms[0].videoService;
      sValue = opts.options[opts.selectedIndex].value;
      dObj_auth = document.getElementById('videoAuth');
      dObj_ftp = document.getElementById('videoFtp');
      if(sValue == 'FSPHost'){
        opts2 = document.forms[0].photoService;
        sValue2 = opts2.options[opts2.selectedIndex].value;
        if(sValue2 == 'FSPHost') {
          dObj_auth.style.display='';
          dObj_ftp.style.display='none';
        }
        else {
          dObj_auth.style.display='block';
          dObj_ftp.style.display='none';
        }
      }
      else if(sValue == 'ftp'){
        opts2 = document.forms[0].photoService;
        sValue2 = opts2.options[opts2.selectedIndex].value;
        if(sValue2 == 'ftp') {
          dObj_ftp.style.display='none';
          dObj_auth.style.display='none';
        }
        else {
          dObj_ftp.style.display='block';
          dObj_auth.style.display='block';
        }
      }
      else {
        dObj_auth.style.display='none';
        dObj_ftp.style.display='none';
      }
    }
