/* news.js */
function newsItem( nid ) 
{
  
   http.open('get', '/ajnews.php?i=' + nid );
   http.onreadystatechange = handleResponse;
   http.send(null);

}

function newsPage( pid )
{

   http.open('get', '/ajnews.php?p=' + pid );
   http.onreadystatechange = handleResponse;
   http.send(null);

}
