/*IBP 2.* Fast Reply Replica By Trini_Gangsta
Feel free to share this, just don't claim it*/
if(location.href.match('showtopic'))
{
var z = document.getElementsByTagName('div');
for(x=0;x<z.length;x++)
{
if(z[x].className.match('tableborder') && z[x].innerHTML.match('Show Smilies Pop Up Window'))
{
z[x].innerHTML = z[x].innerHTML.split('Close Fast Reply').join('Close Fast Reply').split('Fast Reply').join('Fast Reply</div><div class="tablepad" align="center"><img src="
http://i229.photobucket.com/albums/ee28 ... e-bold.png" onclick="bolditup()"/><img src="
http://i229.photobucket.com/albums/ee28 ... rlined.png" onclick="underlineitup()"/><img src="
http://i229.photobucket.com/albums/ee28 ... italic.png" onclick="italicitup()"/><img src="
http://i229.photobucket.com/albums/ee28 ... button.png" onclick="linkitup()"/><img src="
http://i229.photobucket.com/albums/ee28 ... button.png" onclick="imageitup()"/><img src="
http://i229.photobucket.com/albums/ee28 ... oticon.png" onclick="javascript:emo_pop()"/><img src="
http://i229.photobucket.com/albums/ee28 ... button.png" onclick="quoteitup()"/><img src="
http://i229.photobucket.com/albums/ee28 ... button.png" onclick="codeitup()"/></div>').split('Show Smilies Pop Up Window').join('</a><input type="checkbox" name="enabletrack" class="checkbox" value="1"/> Enable Email Notification Of Replies');
}
}
function bolditup()
{
document.REPLIER.Post.value+="";
}
function italicitup()
{
document.REPLIER.Post.value+="";
}
function underlineitup()
{
document.REPLIER.Post.value+="";
}
function linkitup()
{
var link = prompt("Enter the complete URL for the hyperlink","http://");
if(link == "" || link == null)
{
alert("Error! You must enter a URL");
}
else
{
var title = prompt("Enter the title of the webpage","Please Go Here");
if(title == "" || title == null)
{
alert("Error! You must enter a title");
}
else
{
document.REPLIER.Post.value+="
"+title+"";
}
}
}
function imageitup()
{
var image = prompt("Enter the complete URL for the image","http://");
if(image !== null)
{
document.REPLIER.Post.value+="[img]"+image+"[/img]";
}
}
function quoteitup()
{
var quote = prompt("Who are you quoting?");
if(quote == "" || quote == null)
{
quote="?";
}
document.REPLIER.Post.value+="[quote="+quote+"][/quote]";
}
function codeitup()
{
document.REPLIER.Post.value+="
";
}
}