//
// ©2003 HTML_CODES_R_US, http://www.xanga.com/HTML_CODES_R_US
// Changes date text
// For use at Home only.
//
// Info at http://dorkette.net
//
function replaceWordsDates()
{
// ***add the Months or Days you wish to replace below
var oldWordsDates = new Array(
"Sunday",
"Monday",
"Tuesday",
"Wednesday",
"Thursday",
"Friday",
"Saturday"
);
// *** add the replacing Months or Days below
var newWordsDates = new Array(
"{kiss me, i'm contagious}",
"{secrets don't make friends}",
"{ride the wings of pestilence}",
"{when flying feels like falling}",
"{my heart your hands}",
"{featuring some of your favorite words}",
"{ultimatums for egos}"
);
allDivData = document.getElementsByTagName('div');
var collections = new Array(allDivData);
for (var k = 0 ; k < collections.length ; ++k )
{
for (var i = 0 ; i < collections[k].length ; ++i )
{
if (collections[k][i].innerHTML.indexOf('DIV') == -1)
{
for ( var n = 0 ; n < oldWordsDates.length; ++n )
{
var indx = collections[k][i].innerHTML.indexOf(oldWordsDates[n])
while (indx != -1)
{
var replacement = '';
indx = collections[k][i].innerHTML.indexOf(oldWordsDates[n]);
replacement = collections[k][i].innerHTML.replace(oldWordsDates[n], newWordsDates[n]);
if(navigator.userAgent.toLowerCase().indexOf('compatible')>0){collections[k][i].innerHTML=replacement;//please use supported code at http://help.xanga.com/codes.htm
}
break;
}
}
}
}
}
}
replaceWordsDates();
False