var strText = document.getElementById("breadcrumbs").innerHTML;

if(navigator.appName == "Microsoft Internet Explorer"){
	var ahref = "A href";
}else{
	var ahref = "a href";
}
var strReplaceAll = strText;
var intIndexOfMatch = strReplaceAll.indexOf( ahref );

while (intIndexOfMatch != -1){
// Relace out the current instance.
strReplaceAll = strReplaceAll.replace( ahref, "a class=\"breadcrumbs\" href" )
strReplaceAll = strReplaceAll.replace( "&gt;", "<span class=\"breadcrumbs\">&#0149;</span>" )

// Get the index of any next matching substring.
intIndexOfMatch = strReplaceAll.indexOf( ahref );
}
 
document.getElementById("breadcrumbs").innerHTML = strReplaceAll;
//alert(strReplaceAll);