mc test 20091231

var i=0;
var bitlink=new Array();
var story=new Array();
var detail=new Array();
story[i]=”Iranian police: Mousavi’s nephew was assassinated http://bit.ly/6qcJTe”;
detail[i++] = “Details are sketchy.”;
story[i]=”Cheney: Obama ‘trying to pretend’ – – POLITICO http://bit.ly/6ftzIP”;
detail[i++] = “test detail “;
subhead = “A quick look at news you might have missed from around the world for this “;
var d=new Date(document.lastModified);
weekday=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"];
months=["January","February","March","April","May","June","July",
"August","September","October","November","December"];
function wrap(head, body, tail)
{
document.write(head, body, tail);
}
document.write(“
” + subhead);
document.write(weekday[d.getDay()] + ” ” + months[d.getMonth()] + ” ” + d.getDate());
document.writeln(“, ” + + (1900 + d.getYear()) + “
“);
document.write(“
- “);
- “);
document.write(“” + s.substring( 0, h) + “
for (i in story)
{
var s = story[i];
var h = s.indexOf(“http://”);
if (h > 0)
{
bitlink[i] = s.substring(h);
document.write(“
“);
}
}
document.writeln(“
“);
document.writeln(“Details below the fold.
“);
src = “(Source)”;
document.writeln(“
- “);
- “);
document.write(“” + s.substring( 0, h) + src.link(bitlink[i]) + “
“);
document.write(“” + d + “
“);
document.writeln(“
for (i in story)
{
var s = story[i];
var d = detail[i];
var h = s.indexOf(“http://”);
if (h > 0)
{
bitlink[i] = s.substring(h);
document.write(“
“);
}
}
document.writeln(“
“);
.hinzline {color: green ; font-size: 12pt ; font-weight: bold; }
.tagline {color: black ; font-size: 10pt ; font-weight: bold; }
About the author
Owner of Stix Blog. Doug has been blogging for about 10 years, and can always be found on twitter. Part of the Gateway Grassroots Initiative. And the resident Code Monkey for The TMR Network











facebook
linkedin
flickr
twitter
youtube
There are no responses so far.
Leave your response