﻿//Script made by DMhope
e=document.getElementsByTagName("TD");
for(k=15; k<e.length;k++) {
s=e[k].innerHTML;
while (s.indexOf('[mat]') != -1){
s=s.replace('[mat]','<snap title="');
s=s.replace('[/mat]','"><font style="color: red; cursor: help;">***</font></snap>');
e[k].innerHTML=s;
}
}

function tag_mat(wh){
var enterURL = prompt('Введите нецензурное слово или словосочетание', "Мат");
if (!enterURL || enterURL==''){
 return;
}

doInsert("[mat]"+enterURL+"[/mat]","",false,wh); 
}