if (document.getElementById("data") != null){

var h2a=document.getElementById("data");
h2a=h2a.innerHTML;

h2a=h2a.replace(/<p>/g,"\t");
h2a=h2a.replace(/<P>/g,"\t");
h2a=h2a.replace(/<b>/g,"");
h2a=h2a.replace(/<B>/g,"");
h2a=h2a.replace(/<\/b>/g,"");
h2a=h2a.replace(/<\/B>/g,"");

var h2b=h2a.split("\t");

for (var h2i=1; h2i<h2b.length; h2i++){

var h2btemp = h2b[h2i];


h2b[h2i]=h2b[h2i].replace(/<span class=\"site_title\">/g,"");
h2b[h2i]=h2b[h2i].replace(/<SPAN CLASS=\"site_title\">/g,"");
h2b[h2i]=h2b[h2i].replace(/<SPAN class=\"site_title\">/g,"");
h2b[h2i]=h2b[h2i].replace(/<SPAN class=site_title>/g,"");

h2b[h2i]=h2b[h2i].replace(/<span class=\"site_summary\">/g,"");
h2b[h2i]=h2b[h2i].replace(/<SPAN CLASS=\"site_summary\">/g,"");
h2b[h2i]=h2b[h2i].replace(/<SPAN class=\"site_summary\">/g,"");
h2b[h2i]=h2b[h2i].replace(/<SPAN class=site_summary>/g,"");

h2b[h2i]=h2b[h2i].replace(/<span class=\"site_url\">/g,"");
h2b[h2i]=h2b[h2i].replace(/<SPAN CLASS=\"site_url\">/g,"");
h2b[h2i]=h2b[h2i].replace(/<SPAN class=\"site_url\">/g,"");
h2b[h2i]=h2b[h2i].replace(/<SPAN class=site_url>/g,"");



h2b[h2i]=h2b[h2i].replace(/<\/p>/g,"");
h2b[h2i]=h2b[h2i].replace(/<\/P>/g,"");
h2b[h2i]=h2b[h2i].replace(/<\/span>/g,"");
h2b[h2i]=h2b[h2i].replace(/<\/SPAN>/g,"");

h2b[h2i]=h2b[h2i].replace(/<br \/>/g,"\t");
h2b[h2i]=h2b[h2i].replace(/<BR \/>/g,"\t");
h2b[h2i]=h2b[h2i].replace(/<BR>/g,"\t");
h2b[h2i]=h2b[h2i].replace(/<br>/g,"\t");

var h2c= h2b[h2i].split("\t");

if ((h2c[0].indexOf("a href",0))==-1 && (h2c[0].indexOf("A href",0))==-1 && (h2c[0].indexOf("a HREF",0))==-1 && (h2c[0].indexOf("A HREF",0))==-1){

var urlout="http:\/\/"+h2c[2];
urlout=urlout.replace(/ /g,"");

h2b[h2i]="<p><a href=\""+urlout+"\" target=\"_blank\"><span class=\"site_title\">"+h2c[0]+"</span></a><br /><span class=\"site_summary\">"+h2c[1]+"</span><br /><span class=\"site_url\">"+h2c[2]+"</span></p>";
}

else {
h2b[h2i]="<p>"+h2btemp;
}
}

h2a = h2b.join("\n");
document.getElementById("data").innerHTML=h2a;

}