function loadNews(){
// the news data
var arrNews = new Array();
arrNews[0] = new Array("484", "Free holiday craft workshops for children at Pierce County Library System ", "Free holiday craft workshops for children at Pierce County Library System ", "<P class=MsoNormal style=\"MARGIN: 0in 0in 0pt\"><B style=\"mso-bidi-font-weight: normal\"><SPAN style=\"FONT-SIZE: 11pt\">TACOMA</SPAN></B><SPAN style=\"FONT-SIZE: 11pt\"> – Children will create and celebrate with free events at <B style=\"mso-bidi-font-weight: normal\">Pierce County Library System</B>.<SPAN class=hiliteorange><?xml:namespace prefix = o ns = \"urn:schemas-microsoft-com:office:office\" /><o:p></o:p></SPAN></SPAN></P>", "", "False", "2806", "/files/library/11-19-2009.pdf", "newsrelease");
arrNews[1] = new Array("483", "Pierce County Library and Tacoma Public Library extend cooperative agreement ", "Pierce County Library and Tacoma Public Library extend cooperative agreement ", "<P><B>TACOMA</B> – Residents in the City of Tacoma and Pierce County Library System’s service area will continue checking out books, movies and music from either library for free. Recently the Board of Trustees for Tacoma Public Library and Pierce County Library finalized an agreement to offer reciprocal borrowing between the two libraries.</P>", "", "False", "2797", "/files/library/11-16-2009.pdf", "newsrelease");
arrNews[2] = new Array("482", "Pierce County Library System closed for Thanksgiving ", "Pierce County Library System closed for Thanksgiving ", "<H3><H3 style=\"MARGIN: 10pt 0in 0pt\"><FONT size=3><SPAN style=\"FONT-FAMILY: \'Times New Roman\',\'serif\'; mso-bidi-font-weight: normal; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin\">TACOMA</SPAN><SPAN style=\"FONT-FAMILY: \'Times New Roman\',\'serif\'; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin\"> – </SPAN><SPAN style=\"FONT-WEIGHT: normal; FONT-FAMILY: \'Times New Roman\',\'serif\'; mso-bidi-font-weight: bold; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin\">Pierce County Library System will be closed on</SPAN><SPAN style=\"FONT-FAMILY: \'Times New Roman\',\'serif\'; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin\"> Thursday, Nov. 26, and Friday, Nov. 27, to observe Thanksgiving. <?xml:namespace prefix = o ns = \"urn:schemas-microsoft-com:office:office\" /><o:p></o:p></SPAN></FONT></H3></H3>", "", "False", "2784", "/files/library/11-12-2009a.pdf", "newsrelease");
arrNews[3] = new Array("481", "Thousands of people got library cards and amnesty from library fines", "Thousands of people got library cards and amnesty from library fines", "<P><B>TACOMA</B> – From issuing 8,117 library cards to new customers to re-welcoming 11,776 returning customers, Pierce County Library System’s third annual card drive was a giant triumph. </P>", "", "False", "2782", "/files/library/11-12-2009.pdf", "newsrelease");

var newsItems = arrNews.length;
// get the location on the page to load the rivet bit
var handle=document.getElementById("whats_new");
if (handle) 
{
var content = "";
content += "<ul>";
for (i=0; i<arrNews.length; i++)
{
if (arrNews[i][4]=='' && arrNews[i][6]==0)
{
content += "<li>" + arrNews[i][2] + "&nbsp;<a href=\"news.aspx?id=1&news_id=" + arrNews[i][0] + "&type=" + arrNews[i][8] + "\">More &raquo;</a></li>";
}
else
{
if (arrNews[i][6]>0)
{
content += "<li>" + arrNews[i][2] + "&nbsp;<a target=\"_blank\" href=\""+arrNews[i][7]+"\">More &raquo;</a></li>";
}
else
{
content += "<li>" + arrNews[i][2] + "&nbsp;<a href=\""+arrNews[i][4]+"\"" ;
if (arrNews[i][5]=='True')
{
content += "target=\"_blank\"";
}
content +=">More &raquo;</a></li>";
}
}
}
content += "</ul><a href=\"/news.aspx?id=1&type=news\" class=\"more_link\">View All &raquo;</a>";
handle.innerHTML = content;
}
}
