
/*
 * -------
 * :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 sl_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);
    }
 }

     

}

sl = new sl_JSMsg();

/* how slow is the with statement */

with( sl ) {
/* Meta values
*/
MetaKeys[0] = "MetaCopyright";
MetaVals[0] = "&amp;copy;2006 Google";
MetaKeys[1] = "MetaTitle";
MetaVals[1] = "Sharia or Shariah law - Google News ";
MetaKeys[2] = "MetaLink";
MetaVals[2] = "http://news.google.com/news?hl=en&amp;ned=us&amp;ie=UTF-8&amp;q=Sharia+or+Shariah+law";
MetaKeys[3] = "MetaLinkTitle";
MetaVals[3] = "<A HREF=\"http://news.google.com/news?hl=en&amp;ned=us&amp;ie=UTF-8&amp;q=Sharia+or+Shariah+law\" CLASS=\"JSMsg\">Sharia or Shariah law - Google News </A>";
MetaKeys[4] = "MetaUpdateDate";
MetaVals[4] = "20060307074153";
MetaKeys[5] = "MetaDesc";
MetaVals[5] = "Sharia or Shariah law - Google News ";


/* content vaues:
*/
Title[0] = "Ontario formally passes law to prohibit sharia - CTV.ca";
Desc[0] = "<br><table border=0 width= valign=top cellpadding=2 cellspacing=7><tr><td width=80 align=center valign=top><a href=\"http://news.google.com/news/url?sa=T&ct=us/0i-0&fd=R&url=http://www.ctv.ca/servlet/ArticleNews/story/CTVNews/20060214/sharia_law_060214/20060214%3Fhub%3DCanada&cid=0\"><img src=http://news.google.com/news?imgefp=5DVCpwbsfqQJ&imgurl=images.ctv.ca/archives/CTVNews/img2/20060214/160_mcguinty3_060214.jpg width=80 height=60 alt=\"\" border=1><br><font size=-2>CTV.ca</font></a></td><td valign=top><a href=\"http://news.google.com/news/url?sa=T&ct=us/0-0&fd=R&url=http://www.ctv.ca/servlet/ArticleNews/story/CTVNews/20060214/sharia_law_060214/20060214%3Fhub%3DCanada&cid=0\">Ontario formally passes <b>law</b> to prohibit <b>sharia</b></a><br><font size=-1><font color=#6f6f6f>CTV.ca,&nbsp;Canada&nbsp;-</font> <nobr>Feb 14, 2006</nobr></font><br><font size=-1>The bill was introduced after Premier Dalton McGuinty promised last year to prohibit the use of religious rules, called <b>Shariah</b> <b>law</b>, to settle Muslim family <b>...</b>  </font><br></table>";
Link[0] = "http://news.google.com/news/url?sa=T&ct=us/0-0&fd=R&url=http://www.ctv.ca/servlet/ArticleNews/story/CTVNews/20060214/sharia_law_060214/20060214%3Fhub%3DCanada&cid=0";
DateN[0] = "20060215014500";

Title[1] = "When religion becomes sin - Jakarta Post";
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://www.thejakartapost.com/detaileditorial.asp%3Ffileid%3D20060213.E01%26irec%3D0&cid=0\">When religion becomes sin</a><br><font size=-1><font color=#6f6f6f>Jakarta Post,&nbsp;Indonesia&nbsp;-</font> <nobr>Feb 12, 2006</nobr></font><br><font size=-1><b>...</b> the unnecessary employment of <b>shariah</b> <b>law</b> by regional <b>...</b> blatantly contravenes the 2004 Regional Autonomy <b>Law</b>. <b>...</b> Sulawesi, have issued bylaws implementing <b>sharia</b>. <b>...</b>  </font><br></table>";
Link[1] = "http://news.google.com/news/url?sa=T&ct=us/1-0&fd=R&url=http://www.thejakartapost.com/detaileditorial.asp%3Ffileid%3D20060213.E01%26irec%3D0&cid=0";
DateN[1] = "20060213034000";

Title[2] = "GABELLI MULLS ISLAMIC-FRIENDLY FUND - New York Post";
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.nypost.com/business/62266.htm&cid=0\">GABELLI MULLS ISLAMIC-FRIENDLY FUND</a><br><font size=-1><font color=#6f6f6f>New York Post,&nbsp;NY&nbsp;-</font> <nobr>Feb 22, 2006</nobr></font><br><font size=-1><b>...</b> fund that strictly adheres to Islamic, or <b>Shariah</b>, <b>law</b>. <b>...</b> tentatively named the Gabelli <b>Shariah</b> Merger Arbitrage <b>...</b> Additionally, <b>Sharia</b> <b>law</b> does not allow one to <b>...</b>  </font><br></table>";
Link[2] = "http://news.google.com/news/url?sa=T&ct=us/2-0&fd=R&url=http://www.nypost.com/business/62266.htm&cid=0";
DateN[2] = "20060223061200";

Title[3] = "The &quot;New World Order&quot; - NewsReleaseWire.com (press release)";
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.expertclick.com/NewsReleaseWire/default.cfm%3FAction%3DReleaseDetail%26ID%3D11795&cid=0\">The &quot;New World Order&quot;</a><br><font size=-1><font color=#6f6f6f>NewsReleaseWire.com (press release)&nbsp;-</font> <nobr>Feb 23, 2006</nobr></font><br><font size=-1><b>...</b> to become a Global Caliphate, run under strict Islamic <b>Shariah</b> <b>law</b> that the <b>...</b> Caliphate-Reich which would control the world under strict Islamic <b>Sharia</b> <b>law</b>? <b>...</b>  </font><br></table>";
Link[3] = "http://news.google.com/news/url?sa=T&ct=us/3-0&fd=R&url=http://www.expertclick.com/NewsReleaseWire/default.cfm%3FAction%3DReleaseDetail%26ID%3D11795&cid=0";
DateN[3] = "20060224021200";

Title[4] = "Nigeria: Islamic militia funded by Kano government - SomaliNet";
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://somalinet.com/news/world/Africa/1783&cid=0\">Nigeria: Islamic militia funded by Kano government</a><br><font size=-1><font color=#6f6f6f>SomaliNet&nbsp;-</font> <nobr>Feb 10, 2006</nobr></font><br><font size=-1><b>...</b> <b>Sharia</b> <b>law</b> began to be applied in Northern Nigeria in 2000. <b>...</b> that Hisbah is more of a political organisation than meant to enforce <b>shariah</b> <b>law</b> in Northern <b>...</b>  </font><br></table>";
Link[4] = "http://news.google.com/news/url?sa=T&ct=us/4-0&fd=R&url=http://somalinet.com/news/world/Africa/1783&cid=0";
DateN[4] = "20060210141500";

Title[5] = "... might put Muslims in a spot&#39; - Times of India";
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://timesofindia.indiatimes.com/articleshow/1426481.cms&cid=0\">... might put Muslims in a spot&#39;</a><br><font size=-1><font color=#6f6f6f>Times of India,&nbsp;India&nbsp;-</font> <nobr>Feb 23, 2006</nobr></font><br><font size=-1><b>...</b> and the fatwas issued by the <b>Shariah</b> court. <b>...</b> All-India Muslim Personal <b>Law</b> Board (AIMPLB) counsel in <b>...</b> court lawyer Zafaryab Jilani says, &quot;<b>Sharia</b> courts&#39; fatwas <b>...</b>  </font><br></table>";
Link[5] = "http://news.google.com/news/url?sa=T&ct=us/5-0&fd=R&url=http://timesofindia.indiatimes.com/articleshow/1426481.cms&cid=0";
DateN[5] = "20060223202700";

Title[6] = "Iraq on the brink - Khaleej Times";
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.khaleejtimes.com/DisplayArticle.asp%3Fxfile%3Ddata/opinion/2006/February/opinion_February86.xml%26section%3Dopinion%26col%3D&cid=0\">Iraq on the brink</a><br><font size=-1><font color=#6f6f6f>Khaleej Times,&nbsp;United Arab Emirates&nbsp;-</font> <nobr>Feb 27, 2006</nobr></font><br><font size=-1><b>...</b> enemies of Islam and is forbidden by <b>Sharia</b>.’ The bombing <b>...</b> anti-Islamic act, contrary to both <b>Shariah</b> and to <b>...</b> action was, in terms of Islamic <b>law</b> and teaching <b>...</b>  </font><br></table>";
Link[6] = "http://news.google.com/news/url?sa=T&ct=us/6-0&fd=R&url=http://www.khaleejtimes.com/DisplayArticle.asp%3Fxfile%3Ddata/opinion/2006/February/opinion_February86.xml%26section%3Dopinion%26col%3D&cid=0";
DateN[6] = "20060228034600";

Title[7] = "Shekarau Rejects Ban On Hisbah - Nigeria Daily Independent";
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://www.independentng.com/news/arefeb130601.htm&cid=0\">Shekarau Rejects Ban On Hisbah</a><br><font size=-1><font color=#6f6f6f>Nigeria Daily Independent,&nbsp;Nigeria&nbsp;-</font> <nobr>Feb 12, 2006</nobr></font><br><font size=-1><b>...</b> on the Hisbah, the state’s <b>Sharia</b> enforcement agency <b>...</b> of the people of Kano State who desire <b>Shariah</b> as there <b>...</b> its establishment is backed by the <b>law</b>, the state <b>...</b>  </font><br></table>";
Link[7] = "http://news.google.com/news/url?sa=T&ct=us/7-0&fd=R&url=http://www.independentng.com/news/arefeb130601.htm&cid=0";
DateN[7] = "20060212224400";

Title[8] = "Dress means decency, not decoration - GreaterKashmir.com (press release)";
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.greaterkashmir.com/full_story.asp%3FDate%3D17_2_2006%26ItemID%3D1%26cat%3D12&cid=0\">Dress means decency, not decoration</a><br><font size=-1><font color=#6f6f6f>GreaterKashmir.com (press release),&nbsp;India&nbsp;-</font> <nobr>Feb 16, 2006</nobr></font><br><font size=-1><b>...</b> their bodies as required according to <b>Shariah</b> nor hide <b>...</b> Above mentioned verses prescribed a <b>law</b> of inward purity of <b>...</b> the fact that the Islamic <b>Sharia</b>’h enjoins <b>...</b>  </font><br></table>";
Link[8] = "http://news.google.com/news/url?sa=T&ct=us/8-0&fd=R&url=http://www.greaterkashmir.com/full_story.asp%3FDate%3D17_2_2006%26ItemID%3D1%26cat%3D12&cid=0";
DateN[8] = "20060216172500";

Title[9] = "Nacomyo Wants Ban On Hisbah Lifted - AllAfrica.com";
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://allafrica.com/stories/200602170147.html&cid=0\">Nacomyo Wants Ban On Hisbah Lifted</a><br><font size=-1><font color=#6f6f6f>AllAfrica.com,&nbsp;Washington&nbsp;-</font> <nobr>Feb 17, 2006</nobr></font><br><font size=-1><b>...</b> Trust yesterday, described the ban as a ploy to ruin <b>Shariah</b> in the <b>...</b> would be difficult to implement the <b>Sharia</b> without Hisbah which enforces the <b>Sharia</b> <b>law</b>.&quot;. </font><br></table>";
Link[9] = "http://news.google.com/news/url?sa=T&ct=us/9-0&fd=R&url=http://allafrica.com/stories/200602170147.html&cid=0";
DateN[9] = "20060217151300";

} // end with block
                                
