var defImg;
function ImgChange(target, img){
  if(document.getElementById){
    defImg = document.getElementById(target).getAttribute("src");
    document.getElementById(target).setAttribute("src", img);
  }
}

function ImgBack(target){
  if(document.getElementById){
    document.getElementById(target).setAttribute("src",defImg);
  }
}

function submitform(){
  document.form.action = "/jp/fanzone/poll/result.php";
  document.form.submit();
}


function set_input_forcus(id){
  $('td.td_col2').css('background-color', '#fff');
  $(id).css('background-color', '#e8f5f5');
}

function toggle_section(sectionselector){
  $(sectionselector).BlindToggleVertically(500, null, 'easeout');
  return false;
}

// form submit 連続クリック防止
/*$('form.submitonce').submit(function(){
  $("input[type='submit']").attr('disabled','disabled');
});
*/