/* getElementByClass
/**********************/



var allHTMLTags = new Array();

changeBlogDate = function() {

//Create Array of All HTML Tags
var allHTMLTags=document.getElementsByTagName("*");

//Loop through all tags using a for loop
for (i=0; i<allHTMLTags.length; i++) {

//Get all tags with the specified class name.
if (allHTMLTags[i].className=='rss-date') {

//Place any code you want to apply to all
//pages with the class specified.

allHTMLTags[i].innerHTML="Posted on "+allHTMLTags[i].innerHTML;

}
}
}

if (window.addEventListener) //DOM method for binding an event
	window.addEventListener("load", changeBlogDate, false)
	
else if (window.attachEvent) //IE exclusive method for binding an event
	window.attachEvent("onload", changeBlogDate)
	
else if (document.getElementById) //support older modern browsers
	window.onload=changeBlogDate