function date_archive2pulldown( filename, option, is_ajax, is_archive_extention, is_title ) {
  try {
    xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
  } catch (e) {
    try {
      xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
    } catch (e) {
      xmlhttp = false;
    }
  }
  if (!xmlhttp && typeof XMLHttpRequest!='undefined') {
    xmlhttp = new XMLHttpRequest();
  }

  if (xmlhttp) {
    xmlhttp.onreadystatechange = function() {
      if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
          if ( !option ) {
        option = '';
    }
        var data = xmlhttp.responseText;
        data = data.replace( new RegExp( '\n', "g"), '' );
        data = data.replace( new RegExp( '\r', "g"), '' );
        data = data.replace( new RegExp( '.*(<div class="archive-datebased">.*?<div class="archive-category">).*', "i"), "$1" );
        if ( is_ajax ) {
        data = data.replace( new RegExp( '<div class="archive-datebased"><h2>バックナンバー</h2><p>', 'i' ), '<h2><span>月別バックナンバー</span></h2><div class="module-top"></div><div class="module-body"><form name="date_archive"><select name="goto_date_page" onChange="go_date_page(this.value, ' + is_ajax + ', ' + is_archive_extention + ', ' + is_title + ');"><option value="-" selected>年月を選択</option>' );        
        } else {
                data = data.replace( new RegExp( '<div class="archive-datebased"><h2>バックナンバー</h2><p>', 'i' ), '<h2><span>月別バックナンバー</span></h2><div class="module-top"></div><div class="module-body"><form name="date_archive"><select name="goto_date_page" onChange="go_date_page(this.value);"><option value="-" selected>年月を選択</option>' );
        }

        data = data.replace( new RegExp( '<a href="(.*?)">(.*?)</a><br />', 'ig' ), '<option value="' + "$1" + option + '">' + "$2" + '</option>');    
        data = data.replace( new RegExp( '</p></div><div class="archive-category">', 'i' ), '</select></form></div><div class="module-bottom"></div>');
        document.getElementById('archive-datebased').innerHTML = data;
        }
    }
    xmlhttp.open('GET', filename);
    xmlhttp.send(null);
  }
}
function go_date_page( value, is_ajax, is_archive_extention, is_title ) {
    if ( is_ajax ) {
        load_center( value, is_archive_extention, is_title );
    } else {
        window.location = value;
    }
}
