function GetAnnouncementData()
{
var soapPacket = "<soapenv:Envelope xmlns:soapenv='http://schemas.xmlsoap.org/soap/envelope/'> \
   <soapenv:Body> \
    <GetListItems xmlns='http://schemas.microsoft.com/sharepoint/soap/'> \
     <listName>Home Page Title</listName> \
     <viewFields> \
      <ViewFields> \
 <FieldRef Name='KWHomePageTitle'/> \
      </ViewFields> \
     </viewFields> \
    </GetListItems> \
   </soapenv:Body> \
  </soapenv:Envelope>";
jQuery.ajax({
  url: "../_vti_bin/lists.asmx",
  type: "POST",
  dataType: "xml",
  data: soapPacket,
  complete: processResult,
  contentType: "text/xml; charset=\"utf-8\""
 });
} 


function processResult(xData, status) {
        var j = jQuery.noConflict();
        var rows;
        if (xData.responseXML.getElementsByTagName("z:row").length==0)
            {
        		rows = xData.responseXML.getElementsByTagNameNS('*', 'row');
            }
            else
            {
       			 rows = xData.responseXML.getElementsByTagName("z:row");
            }
       	 var sa  = $("<ul>").attr("class", "newsticker"); 

        j(rows).each(function() {
                  var liHtml = "<li>" + $(this).attr("ows_KWHomePageTitle") + "</li>";
            sa.append(liHtml);
        });
        sa.appendTo("#aq-HomePageTitle").newsTicker();

//<!--if[IE] -->

      //  var newnews = $("<ul>").attr("class", "newsticker");
     //   $(xData.responseXML).find("z\\:row").each(function() {
     //       var liHtml = "<li>" + $(this).attr("ows_KWHomePageTitle") + "</li>";
     //       newnews.append(liHtml);
     //   });

     //   newnews.appendTo("#aq-HomePageTitle").newsTicker();
    }


$(document).ready( function(){
GetAnnouncementData();
}); 