
function sticky_save_result(adid, temp_layer, sticky_layer) {
  if(!adid) {return;}
  document.getElementById(temp_layer).style.display = "block";
  document.getElementById(sticky_layer).style.display = "none";
  var param = 'adid=' + adid;
  x_ajax_sticky_save(param, '');
}

function save_sticky_display(str, title) {
  document.getElementById("sticky_top").style.display = "none";	
  if(str) {
   document.getElementById("sticky_save_top").style.display = "block";
  } else {//safe to close all opened layer
   document.getElementById("sticky_save_top").style.display = "none";
  }
}

