
// Create an array of all tags by name
var aLinks = document.getElementsByTagName("a"); 
var aImages = document.getElementsByTagName("img");  


// Loop through all a tags and when there is one that is webspam protect, change the link and target
for (var i = 0; i < aLinks.length; i++)
{
	if(aLinks[i] == "http://webspamprotect.com/")
	{
		aLinks[i].href = "javascript:newWebSpamProtectCaptcha(797);";
		aLinks[i].target = "";
	}
}


// Loop  over all img tags and when the audio one is how, don't display it
// Not many people use the audio and it is more of a sore spot to the eye
for (var i = 0; i < aImages.length; i++)
{
	if(aImages[i].src == "http://webspamprotect.com/img/audio.gif")
	{
		aImages[i].style.display = "none";
	}
	if(aImages[i].src == "http://webspamprotect.com/img/reload.gif")
	{
		aImages[i].src = "http://zepey.com/app/images/orangeBlueBlack/reload.png";
	}
}