/* Runescape styled Forum Moderator Tools * Created by Gorgor of ZBCode * For more great codes for Zetaboards or Invisionfree * Go to http://zbcode.com * Best IF/ZB coding resource forum there is! */ if(!create_link_to_new_location) create_link_to_new_location = 1; if($("select[name=modopts_menu]").length!=0){ var mod = true; document.write(""); function add_mod(value,name){ $("select[name=modopts_menu] option").each(function(){ if(this.value == value) $("#mod_tools").append(""+name+""); }); } function do_mod(value){ $("select[name=modopts_menu]").val(value); $(".btn_mod[name=btn_modopts_menu]").click(); } function display_move(){ $("#mod_tools").append(""); $("select[name=fid] option").each(function(){ if(this.innerHTML.match("&nbs"+"p; &nbs"+"p;")){ $("#move_to").append(""); } }); $("#move_to").after(""); } function submit_move(){ if($("#move_to").val()!=-1){ $(".exclusivebutton:first").attr("action",$(".exclusivebutton:first").attr("action")+'&to='+$("#move_to").val()); $("select[name=modopts_menu]").val("12"); $(".btn_mod[name=btn_modopts_menu]").click(); } } $(".topic-buttons:first").before("
"); } if(location.href.match("c=29") && location.href.match("&to=")){ $("#mod_screen").hide().after("