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(“

    “);
    for (i in story)
    {
    var s = story[i];
    var h = s.indexOf(“http://”);
    if (h > 0)
    {
    bitlink[i] = s.substring(h);
    document.write(“
  • “);
    document.write(“

    ” + s.substring( 0, h) + “

  • “);
    }
    }
    document.writeln(“

“);

document.writeln(“Details below the fold.


“);
src = “(Source)”;
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.write(“

    ” + s.substring( 0, h) + src.link(bitlink[i]) + “

    “);
    document.write(“

    ” + d + “

    “);
    document.writeln(“

  • “);
    }
    }
    document.writeln(“

“);

.hinzline {color: green ; font-size: 12pt ; font-weight: bold; }
.tagline {color: black ; font-size: 10pt ; font-weight: bold; }

Share this post

  • Subscribe to our RSS feed
  • Share this post on Delicious
  • StumbleUpon this post
  • Share this post on Digg
  • Tweet about this post
  • Share this post on Mixx
  • Share this post on Technorati
  • Share this post on Facebook
  • Share this post on NewsVine
  • Share this post on Reddit
  • Share this post on Google
  • Share this post on LinkedIn

About the author

stix1972 had written 12401 articles for The Minority Report Blog

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

There are no responses so far.

Leave your response

Ad Plugin made by Free Wordpress Themes