// Default Topic/Post Template (By Mwr247)
var cpt=document.getElementById('c_post-text');function ttemp(forumid,posttxt){if(location.href.match('f='+forumid)&&location.href.match('mode=1')){cpt.value+=posttxt+'\n';}}
// Forum-Topic Content
ttemp('3000395','[b]Article Title:[/b] ');ttemp('3000395','[b]Source Link:[/b] ');ttemp('3000395','[b]Summary:[/b] ');

$(".c_cat-starter:contains('Guest')").html("<a href='http://forums.music-talk.org/profile/33261/'>username</a>");
if(location.href.indexOf("forum")!=-1){$(".c_cat-mark img[alt='New'],.c_cat-mark img[alt='Hot New']").parents("td").next().children("a").css("font-weight","700");}
if(location.href.match('c=6|profile')){$("td.c_desc:contains('Location')").not(":contains('Location:')").parent().remove();}
if(location.href.match('c=6')){$(".c_desc:contains('Last.fm')").children("small").text("Enter your Last.fm username");}
if(location.href.match("topic|single|profile|msg")){$(function(){$("dl.user_profile dt:contains('Last.fm')").next().each(function(){var item=$(this).html();$(this).html('<a href="http://www.last.fm/user/'+item+'">'+item+'</a>');});});}
if(location.href.match(/\/topic\/99001/i)){document.write("<meta http-equiv='refresh' content='60' />");}
if(location.href.match("online|profile")){$("td:contains('Musictalk Chat!')").text("Chatting");$("td:contains('Viewing Active Users List')").text("Viewing Board");}
if(location.href.indexOf("post")!=-1){$("#emot_end").click(function(){$("#emot_wrap").mousemove(function(){$("#emot_list td img[alt=':wub:'],#emot_list td img[alt=':haha:']").parent().parent().remove();});});}
$("th span a:contains('Delete Topic'),option:contains('Delete'),option:contains('Iframe'),#setskin option:contains('The Inferno'),#setskin option:contains('The Icebox')").remove();
$("a[@href*=mod/?c=24]").each(function(){this.onclick=function(){return confirm("Are you sure you would like to delete this post?");}});
if($("#setskin").length){var qimg=$("#setskin option:selected").text().replace(" ","_").replace(".","");}else{var qimg=$("#foot_themechooser em").text().replace(" ","_").replace(".","");}$("img[alt*='Report']").css("margin-left","5px");
$(".c_footicons .right").prepend("<img class='quickq' style='cursor:pointer;' src='http://i269.photobucket.com/albums/jj68/music-talk/qq/"+qimg+".png' />");$(".quickq").click(function(){var qlink=$(this).parent().find("img[alt*='Quote']").parent().attr("href");var who=$(this).parents(".c_postfoot").prev().prev().prev().find(".member span:last").text();$.get(qlink,function(quote){var qq=$("#txt_quote",quote).text();$("#fast-reply textarea").attr("id","frta");document.getElementById("frta").value+="[quote="+who+"]"+qq+"[/quote] \n";});});
if(location.href.match('3004105|3004106|1342')){function cR(rate,ur){$(".description:contains(Rating: "+rate+")").html("<img src='http://i269.photobucket.com/albums/jj68/music-talk/rate/rate"+ur+".png' />");}cR("5","5");cR("4.5","4half");cR("4","4");cR("3.5","3half");cR("3","3");cR("2.5","2half");cR("2","2");cR("1.5","1half");cR("1","1");cR("0.5","half");cR("0","0");}
