
/*
 * -------
 * :ATTRIBUTION NOTICE BEGINS
 *
 * The following JSMsg functions are:
 * 
 *    (C) Copyright 2002 - 2006, Creativyst, Inc.
 *               ALL RIGHTS RESERVED
 * 
 * For more information go to:
 *   http://www.Creativyst.com/Doc/Std/JSMsg/JSMsg.htm
 * or email:
 *            Support@Creativyst.com
 * 
 * Licensed under the Open Software License version 1.1
 *
 * END ATTRIBUTION NOTICE:
 * -------
 *
 * The following version token is 
 * required by aggregators
 * -------
 * JSMsgVersion:1.0a
 * -------
 *
 * Made by: JSMFeed.pl v1.0f
*/
/* JSCpragma:StartCompress
*/
/* These functions are free software; you can redistribute 
 * them and/or modify them under the terms of the Open 
 * Software License (OSL) version 1.1 as published by
 * the Open Source Initiative;
 * 
 * This program is distributed in the hope that it will 
 * be useful, but WITHOUT ANY WARRANTY; without even the 
 * implied warranty of MERCHANTABILITY or FITNESS FOR A 
 * PARTICULAR PURPOSE. See the Open Software License
 * version 1.1 for more details.
 * 
 * For the complete details of the Open Software License
 * please visit the Open Source Initiative website.
 *
 * 
 * These functions are part of a shared convention.
 * called JSMsg.  Please see the JSMsg document
 * for more details.
 *
 * www.creativyst.com/Doc/Std/JSMsg/JSMsg.htm
 *
 * -------------------------------------------
 * Parts of this code were automatically
 * generated and may contain copyrighted
 * content from other sources as well.
 * Such content may not be used without
 * first obtaining explicit permissions
 * from their sources.
 *
 *
*/

function d_JSMsg() {

this.Title = Array([this.ShortListSize]);
this.Desc = Array([this.ShortListSize]);
this.Link = Array([this.ShortListSize]);
this.DateN = Array([this.ShortListSize]);

this.MetaKeys = Array([6]);
this.MetaVals = Array([6]);



 this.ShortListSize = 10;
 this.BeenLoaded = 0;
 this.dispNumb;

 this.Msg = function(msgPart, msgOffset)
 {
    document.write( this.Get(msgPart, msgOffset) );
 }

 this.MsgDay = function(msgPart)
 {
    document.write( this.GetDay(msgPart) );
 }

 this.MsgN = function(msgPart, msgNumber)
 {
    document.write( this.GetN(msgPart, msgNumber) );
 }


 this.Get = function(msgPart, msgOffset)
 {
    if(!msgOffset) {
        msgOffset = 0;
    }
    if(!this.BeenLoaded) {
        this.BeenLoaded = 1;
        dispNumb = 
           this.getRandInt(this.ShortListSize);
    }
    return( this.GetN(msgPart, (dispNumb + msgOffset)) );
 }

 this.GetDay = function(msgPart)
 {
    var d = new Date();
    var x = d.getDate();
    return( this.GetN(msgPart, x) );
 }


 this.GetN = function(msgPart, msgNumber)
 {
    return( this.GetNCore(msgPart, msgNumber) );
 }

 this.GetNCore = function(msgPart, msgNumber)
 {
    var myTmp;

    if(!msgPart) {
        msgPart = "Body";
    }
    if(!msgNumber) {
        msgNumber = 0;
    }

    if(msgNumber >= this.ShortListSize) {
        msgNumber = msgNumber % this.ShortListSize;
    }

    if(  this.ok(msgPart,"Type") ) {
        return(this.Type[msgNumber]);
    }
    if(  this.ok(msgPart,"Title") ) {
        return(this.Title[msgNumber]);
    }
    if(  this.ok(msgPart, "Desc Description Content") ) {
        return(this.Desc[msgNumber]);
    }
    if(  this.ok(msgPart,"Body") ) {
        return(this.Body[msgNumber]);
    }
    if(  this.ok(msgPart, "Attrib Attribute Source") ) {
        return(this.Attrib[msgNumber]);
    }
    if(  this.ok(msgPart, "Author") ) {
        if(!this.Author[msgNumber]) {
            return(this.Attrib[msgNumber]);
        }
        return(this.Author[msgNumber]);
    }

    if(  this.ok(msgPart,"DayN Day2N Day") ) {
        myTmp = this.DateN[msgNumber];
        if(myTmp.length) { 
          myTmp = myTmp.substr(6,2);
          if(  this.ok(msgPart,"Day2N") ) {
            return(myTmp);
          }
          if(myTmp.charAt(0) == "0") {
            return(myTmp.substr(1,1))
          }
          return(myTmp);
        }
    }
    if(  this.ok(msgPart, "MonthN Month2N") ) {
        myTmp = this.DateN[msgNumber];
        if(myTmp.length) {
          myTmp = myTmp.substr(4,2)
          if(  this.ok(msgPart,"Month2N") ) {
            return(myTmp);
          }
          if(myTmp.charAt(0) == "0") {
            return(myTmp.substr(1,1))
          }
          return(myTmp);
        }
    }
    if(  this.ok(msgPart, "Year2N Year4N YearN Year") ) {
        if(this.DateN[msgNumber].length) {
          if(  this.ok(msgPart,"Year2N") ) {
            return(this.DateN[msgNumber].substr(2,2));
          }
          return(this.DateN[msgNumber].substr(0,4));
        }
    }

    if(  this.ok(msgPart,"Time") ) {
      myTmp = this.DateN[msgNumber];
      return(myTmp.substr(8,6));
    }
    if(  this.ok(msgPart,"Hour2N") ) {
      myTmp = this.DateN[msgNumber];
      return(myTmp.substr(8,2));
    }
    if(  this.ok(msgPart,"Minute2N") ) {
      myTmp = this.DateN[msgNumber];
      return(myTmp.substr(10,2));
    }

    if(  this.ok(msgPart,"Link") ) {
        return(this.Link[msgNumber]);
    }
    if( this.ok(msgPart,"LinkTitle") ) {
        if(this.MetaMsg(msgPart,"Link") && this.MetaMsg(msgPart,"Title") ) {
          if( !this.Link[msgNumber] ) {
              return(this.Title[msgNumber]);
          }

          if( !this.Title[msgNumber] ) {
            this.Title[msgNumber] =  this.Link[msgNumber];              
          }
          myTmp = '<A TARGET="_blank" \n'; 
          myTmp = myTmp + 'HREF="' + this.Link[msgNumber] + '">\n';
          myTmp = myTmp + this.Title[msgNumber] + '</A>\n';

          return(myTmp);

        }
        if( this.MetaMsg(msgPart,"Title") ) {
          return(this.Title[msgNumber]);
        }
        if( this.MetaMsg(msgPart,"Link") ) {
          if( this.Link[msgNumber] ) {
            myTmp = "<A TARGET=\"_blank\" \n"; 
            myTmp = myTmp + "HREF=\"" + this.Link[msgNumber] + "\">\n";
            myTmp = myTmp + this.Link[msgNumber] + "</A>\n";
            return(myTmp);
          }
        }
        return("");
    }
    if( this.ok(msgPart,"Cat Category Subject") ) {
        return(this.Cat[msgNumber]);
    }
    if( this.ok(msgPart,"Thumb") ) {
        return(this.Thumb[msgNumber]);
    }
    if( this.ok(msgPart,"Alt") ) {
        return(this.Alt[msgNumber]);
    }

    return("");
 }




 this.getRandInt = function(RandSz)
 {
    var t, t2, t3;

    t = 0;
    while(t < .000001) {
        t = Math.random();
        t = Math.abs(t);
    }
    t2 = t * 1000000;
    t2 = Math.round(t2);
    t3 = t2 % RandSz;
    return(t3);
 }



 this.ok = function(a, b)
 {
    var t, t2;

    if(!this.is(a,b)) {
        return(0);
    }
    return(this.MetaMsg(a));
 }

 this.is = function(a, b)
 {
    var t, t2;

    t = a + " ";
    t2 = b + " ";
    t2 = t2.toUpperCase();
    t = t.toUpperCase();

    if(t2.indexOf(t) == -1) {
        return(0);
    }
    return(1);
 }


 this.MetaMsg = function(msgCmd)
 {
    var i,l;

    if( this.is(msgCmd, "Title LinkTitle Desc Description Link LinkTitle DayN Day2N MonthN Month2N Year2N Year4N YearN Year Time Hour2N Minute2N ") ) {
         return(1);

    }
    else if( this.is(msgCmd, "MetaCount") ) {
        return(10);
    }
    else {
        if(this.MetaKeys) {
            l = this.MetaKeys.length;
            for(i = 0;i < l;i++) {
                if(this.MetaKeys[i] == msgCmd) {
                    return(this.MetaVals[i]);
                }
            }
        }
        return(0);
    }
 }

     

}

d = new d_JSMsg();

/* how slow is the with statement */

with( d ) {
/* Meta values
*/
MetaKeys[0] = "MetaCopyright";
MetaVals[0] = "&amp;copy;2006 Google";
MetaKeys[1] = "MetaTitle";
MetaVals[1] = "Dalit - Google News ";
MetaKeys[2] = "MetaLink";
MetaVals[2] = "http://news.google.com/news?hl=en&amp;ned=us&amp;ie=UTF-8&amp;q=Dalit";
MetaKeys[3] = "MetaLinkTitle";
MetaVals[3] = "<A HREF=\"http://news.google.com/news?hl=en&amp;ned=us&amp;ie=UTF-8&amp;q=Dalit\" CLASS=\"JSMsg\">Dalit - Google News </A>";
MetaKeys[4] = "MetaUpdateDate";
MetaVals[4] = "20060306081155";
MetaKeys[5] = "MetaDesc";
MetaVals[5] = "Dalit - Google News ";


/* content vaues:
*/
Title[0] = "Maya&#39;s maya: UP&#39;s Dalit queen emerges &#39;crorepati&#39; - CNN-IBN";
Desc[0] = "<br><table border=0 width= valign=top cellpadding=2 cellspacing=7><tr><td valign=top><a href=\"http://news.google.com/news/url?sa=T&ct=us/0-0&fd=R&url=http://www.ibnlive.com/article.php%3Fid%3D6298%26section_id%3D3&cid=1104803893\">Maya&#39;s maya: UP&#39;s <b>Dalit</b> queen emerges &#39;crorepati&#39;</a><br><font size=-1><font color=#6f6f6f>CNN-IBN,&nbsp;India&nbsp;-</font> <nobr>Mar 4, 2006</nobr></font><br><font size=-1>New Delhi: What began with a judicial bang ended with an administrative whimper. That&#39;s what it looked like when the Central Bureau <b>...</b>  </font><br></table>";
Link[0] = "http://news.google.com/news/url?sa=T&ct=us/0-0&fd=R&url=http://www.ibnlive.com/article.php%3Fid%3D6298%26section_id%3D3&cid=1104803893";
DateN[0] = "20060305061300";

Title[1] = "Dalit women up in arms - Mid-Day Mumbai";
Desc[1] = "<br><table border=0 width= valign=top cellpadding=2 cellspacing=7><tr><td valign=top><a href=\"http://news.google.com/news/url?sa=T&ct=us/1-0&fd=R&url=http://ww1.mid-day.com/news/city/2006/march/132337.htm&cid=0\"><b>Dalit</b> women up in arms</a><br><font size=-1><font color=#6f6f6f>Mid-Day Mumbai,&nbsp;India&nbsp;-</font> <nobr>Mar 4, 2006</nobr></font><br><font size=-1><b>...</b> While they were threatened on February 7, on March 1, all 20 <b>dalit</b> families of the village kept vigil the whole night after hearing rumors that they would be <b>...</b>  </font><br></table>";
Link[1] = "http://news.google.com/news/url?sa=T&ct=us/1-0&fd=R&url=http://ww1.mid-day.com/news/city/2006/march/132337.htm&cid=0";
DateN[1] = "20060305060700";

Title[2] = "DPI-AIADMK forge alliance for Pondy polls - Hindu";
Desc[2] = "<br><table border=0 width= valign=top cellpadding=2 cellspacing=7><tr><td valign=top><a href=\"http://news.google.com/news/url?sa=T&ct=us/2-0&fd=R&url=http://www.hindu.com/thehindu/holnus/002200603041932.htm&cid=1104785009\">DPI-AIADMK forge alliance for Pondy polls</a><br><font size=-1><font color=#6f6f6f>Hindu,&nbsp;India&nbsp;-</font> <nobr>Mar 4, 2006</nobr></font><br><font size=-1>4 (PTI): Less than 48-hours after it had announced to go it alone for the Pondicherry Assembly polls, the <b>Dalit</b> Panthers of India inked an electoral pact with <b>...</b>  </font><br><font size=-1><a href=\"http://news.google.com/news/url?sa=T&ct=us/2-1&fd=R&url=http://www.chennaionline.com/colnews/newsitem.asp%3FNEWSID%3D%257BC444C2C2-DEBE-4BAC-AC3D-6473FE7D9F1C%257D%26CATEGORYNAME%3DChennai&cid=1104785009\">AIADMK-DPI forge alliance for Pondy</a> <font size=-1 color=#6f6f6f><nobr>Chennai Online</nobr></font></font><br><font size=-1><a href=\"http://news.google.com/news/url?sa=T&ct=us/2-2&fd=R&url=http://www.outlookindia.com/pti_news.asp%3Fid%3D367966&cid=1104785009\">INL and IUML-Miakhan group tie-up with AIADMK</a> <font size=-1 color=#6f6f6f><nobr>Outlook (subscription)</nobr></font></font><br><font size=-1><a href=\"http://news.google.com/news/url?sa=T&ct=us/2-3&fd=R&url=http://www.newindpress.com/Newsitems.asp%3FID%3DIE920060304112541%26Title%3DChennai%26Topic%3D-443&cid=1104785009\">DPI-AIADMK forges alliance for Pondicherry</a> <font size=-1 color=#6f6f6f><nobr>Newindpress (subscription)</nobr></font></font><br><font class=p size=-1><a class=p href=http://news.google.com/news?hl=en&ned=us&ie=UTF-8&ncl=http://www.hindu.com/thehindu/holnus/002200603041932.htm><nobr>all 5 related</nobr></a></font></table>";
Link[2] = "http://news.google.com/news/url?sa=T&ct=us/2-0&fd=R&url=http://www.hindu.com/thehindu/holnus/002200603041932.htm&cid=1104785009";
DateN[2] = "20060304140700";

Title[3] = "DMK demands genuine federalism - Chennai Online";
Desc[3] = "<br><table border=0 width= valign=top cellpadding=2 cellspacing=7><tr><td valign=top><a href=\"http://news.google.com/news/url?sa=T&ct=us/3-0&fd=R&url=http://www.chennaionline.com/colnews/newsitem.asp%3FNEWSID%3D%257BD84FD9F4-979C-4AD9-9152-FE4CDA86B734%257D%26CATEGORYNAME%3DChennai&cid=1104789303\">DMK demands genuine federalism</a><br><font size=-1><font color=#6f6f6f>Chennai Online,&nbsp;India&nbsp;-</font> <nobr>Mar 4, 2006</nobr></font><br><font size=-1><b>...</b> Sub-reservation for BCs, MBCs and <b>Dalit</b> women could be thought of later after a consensus among the political parties on the issue was reached. <b>...</b>  </font><br></table>";
Link[3] = "http://news.google.com/news/url?sa=T&ct=us/3-0&fd=R&url=http://www.chennaionline.com/colnews/newsitem.asp%3FNEWSID%3D%257BD84FD9F4-979C-4AD9-9152-FE4CDA86B734%257D%26CATEGORYNAME%3DChennai&cid=1104789303";
DateN[3] = "20060304133300";

Title[4] = "Nation’s only Dalit Hostel Faces Closure - Himalayan Times";
Desc[4] = "<br><table border=0 width= valign=top cellpadding=2 cellspacing=7><tr><td valign=top><a href=\"http://news.google.com/news/url?sa=T&ct=us/4-0&fd=R&url=http://www.thehimalayantimes.com/fullstory.asp%3Ffilename%3D6a4Sa4a8a.9amal%26folder%3DaHaoamW%26Name%3DHome%26dtSiteDate%3D20060303&cid=0\">Nation’s only <b>Dalit</b> Hostel Faces Closure</a><br><font size=-1><font color=#6f6f6f>Himalayan Times,&nbsp;Nepal&nbsp;-</font> <nobr>Mar 2, 2006</nobr></font><br><font size=-1>Scores of students living in the Society Development Hostel, the only <b>Dalit</b> hostel in the country, have begun a campaign to find a lasting solution to the <b>...</b>  </font><br></table>";
Link[4] = "http://news.google.com/news/url?sa=T&ct=us/4-0&fd=R&url=http://www.thehimalayantimes.com/fullstory.asp%3Ffilename%3D6a4Sa4a8a.9amal%26folder%3DaHaoamW%26Name%3DHome%26dtSiteDate%3D20060303&cid=0";
DateN[4] = "20060303040400";

Title[5] = "District admn initiates inquiry into Dalit woman’s death - Ludhiana Newsline";
Desc[5] = "<br><table border=0 width= valign=top cellpadding=2 cellspacing=7><tr><td valign=top><a href=\"http://news.google.com/news/url?sa=T&ct=us/5-0&fd=R&url=http://cities.expressindia.com/fullstory.php%3Fnewsid%3D172180&cid=0\">District admn initiates inquiry into <b>Dalit</b> woman’s death</a><br><font size=-1><font color=#6f6f6f>Ludhiana Newsline,&nbsp;India&nbsp;-</font> <nobr>Mar 3, 2006</nobr></font><br><font size=-1>Ludhiana, March 2: District administration has initiated inquiry into the death of a 30-year-old <b>Dalit</b> woman Manjit Kaur in Jalalidwal village. <b>...</b>  </font><br></table>";
Link[5] = "http://news.google.com/news/url?sa=T&ct=us/5-0&fd=R&url=http://cities.expressindia.com/fullstory.php%3Fnewsid%3D172180&cid=0";
DateN[5] = "20060303091700";

Title[6] = "Do Hindu American Edits Whitewash Untouchability in California ... - India-Forum";
Desc[6] = "<br><table border=0 width= valign=top cellpadding=2 cellspacing=7><tr><td valign=top><a href=\"http://news.google.com/news/url?sa=T&ct=us/6-0&fd=R&url=http://www.india-forum.com/articles/96/1/Do-Hindu-American-Edits-Whitewash-Untouchability-in-California-School-Textbooks%253F-FOSA-spreads-False-Propaganda.&cid=1104781154\">Do Hindu American Edits Whitewash Untouchability in California <b>...</b></a><br><font size=-1><font color=#6f6f6f>India-Forum&nbsp;-</font> <nobr>Mar 3, 2006</nobr></font><br><font size=-1><b>...</b> disagreed only in the Prentice Hall book related edit wherein HEF and Dr Bajpai want the removal of the highly politicized word ‘<b>Dalit</b>’, whereas Witzel <b>...</b>  </font><br></table>";
Link[6] = "http://news.google.com/news/url?sa=T&ct=us/6-0&fd=R&url=http://www.india-forum.com/articles/96/1/Do-Hindu-American-Edits-Whitewash-Untouchability-in-California-School-Textbooks%253F-FOSA-spreads-False-Propaganda.&cid=1104781154";
DateN[6] = "20060304072700";

Title[7] = "Passport delay ends Dalit woman&#39;s dream to attend UN convention - Rediff";
Desc[7] = "<br><table border=0 width= valign=top cellpadding=2 cellspacing=7><tr><td valign=top><a href=\"http://news.google.com/news/url?sa=T&ct=us/7-0&fd=R&url=http://ia.rediff.com/news/2006/feb/27dalit.htm%3Fq%3Dnp%26file%3D.htm&cid=0\">Passport delay ends <b>Dalit</b> woman&#39;s dream to attend UN convention</a><br><font size=-1><font color=#6f6f6f>Rediff,&nbsp;India&nbsp;-</font> <nobr>Feb 27, 2006</nobr></font><br><font size=-1>A <b>Dalit</b> woman&#39;s dream to attend the United Nations convention ended due to delay in acquiring a passport, thanks to the apathy of government officials. <b>...</b>  </font><br></table>";
Link[7] = "http://news.google.com/news/url?sa=T&ct=us/7-0&fd=R&url=http://ia.rediff.com/news/2006/feb/27dalit.htm%3Fq%3Dnp%26file%3D.htm&cid=0";
DateN[7] = "20060227113300";

Title[8] = "Dalit woman&#39;s dreams of attending UN seminar dashed - Newindpress";
Desc[8] = "<br><table border=0 width= valign=top cellpadding=2 cellspacing=7><tr><td valign=top><a href=\"http://news.google.com/news/url?sa=T&ct=us/8-0&fd=R&url=http://www.newindpress.com/NewsItems.asp%3FID%3DIEP20060227064146%26Page%3DP%26Title%3DNation%26Topic%3D0&cid=0\"><b>Dalit</b> woman&#39;s dreams of attending UN seminar dashed</a><br><font size=-1><font color=#6f6f6f>Newindpress,&nbsp;India&nbsp;-</font> <nobr>Feb 27, 2006</nobr></font><br><font size=-1>PATNA: A poor and illiterate <b>Dalit</b> woman from Bihar who was to fly to New York to attend a United Nations seminar had her dreams dashed after not receiving the <b>...</b>  </font><br></table>";
Link[8] = "http://news.google.com/news/url?sa=T&ct=us/8-0&fd=R&url=http://www.newindpress.com/NewsItems.asp%3FID%3DIEP20060227064146%26Page%3DP%26Title%3DNation%26Topic%3D0&cid=0";
DateN[8] = "20060227222300";

Title[9] = "`Bush symbolises colonialism&#39; - Hindu";
Desc[9] = "<br><table border=0 width= valign=top cellpadding=2 cellspacing=7><tr><td valign=top><a href=\"http://news.google.com/news/url?sa=T&ct=us/9-0&fd=R&url=http://www.hindu.com/2006/03/03/stories/2006030320030400.htm&cid=1104826768\">`Bush symbolises colonialism&#39;</a><br><font size=-1><font color=#6f6f6f>Hindu,&nbsp;India&nbsp;-</font> <nobr>Mar 3, 2006</nobr></font><br><font size=-1><b>...</b> Party, the Communist Party of India (Marxist) (CPI-M), the Sarvodaya Karnataka Party, the All India Progressive Janata Dal (AIPJD), several <b>Dalit</b> and Muslim <b>...</b>  </font><br></table>";
Link[9] = "http://news.google.com/news/url?sa=T&ct=us/9-0&fd=R&url=http://www.hindu.com/2006/03/03/stories/2006030320030400.htm&cid=1104826768";
DateN[9] = "20060303112000";

} // end with block
                                
