var MaxNewsIDFrontpage = 0;
var MaxNewsID = 0;

//var NewsDate1='28.04.2003';
//var NewsHeadl1='Tilimatic joined MSI';
//var NewsIngr1='Accounting Services Tilimatic Ltd joined MSI Legal and Accounting Network Worldwide (MSI) in April 2003.';
//var NewsCont1='MSI was formed 1990 in response to the growing need for cross-border co-operation between professional service firms.';
//NewsCont1+='<p />MSI has become a leading global network of over 200 independent accounting and legal firms in around 90 countries.';
//NewsCont1+='<p />For more information visit <a href="http://www.msi-network.com" target="new">www.msi-network.com</a>';
//NewsCont1+='<p />Press release: Accounting Services Tilimatic Ltd';

//var NewsDate1='20.12.2002';
//var NewsHeadl1='Tilimatic has opened a new web site';
//var NewsIngr1='We have opened a brand new web site. The purpose is to offer better service to our customers. This site will explain what Tilimatic is and what it has to offer its\' clients.';
//var NewsCont1='Accounting Services Tilimatic Oy is an Authorized Accounting Firm established in 1979. Tilimatic has a staff of 25 accounting experts. We also offer several valuable additional services and the assistance of experts in various fields.';
//NewsCont1+='<p />Our offices are located in the heart of Helsinki, in the Forum building. The address is Mannerheimintie 16 A 3.';
//NewsCont1+='<p />Press release: Accounting Services Tilimatic Ltd';

//var NewsDate3='28.04.2003';
//var NewsHeadl3='Tilimatic joined MSI';
//var NewsIngr3='Accounting Services Tilimatic Ltd joined MSI Legal and Accounting Network Worldwide (MSI) in April 2003.';
//var NewsCont3='MSI was formed 1990 in response to the growing need for cross-border co-operation between professional service firms.';
//NewsCont3+='<p />MSI has become a leading global network of over 200 independent accounting and legal firms in around 90 countries.';
//NewsCont3+='<p />For more information visit <a href="http://www.msi-network.com" target="new">www.msi-network.com</a>';
//NewsCont3+='<p />Press release: Accounting Services Tilimatic Ltd';

var NewsID = 0;

function WriteHomeNews ()
{
  var NewsMaterial = "";
  NewsMaterial+="</b><span class=\"brsix\" />";
  while (NewsID <= MaxNewsIDFrontpage-1)
  {
    NewsID++;
    NewsMaterial+="<span class='newsdate'>";
    NewsMaterial+=eval('NewsDate'+NewsID);
    NewsMaterial+="</span>";
    NewsMaterial+="<a href=\"javascript:GoNews('news.html','"+NewsID+"')\" onmouseover=\"HelpCursorOn('ingressi00"+NewsID+"');\" onmouseout=\"HelpCursorOff('ingressi00"+NewsID+"');\" class=\"newslink\">";
    NewsMaterial+=eval('NewsHeadl'+NewsID);
    NewsMaterial+="<img src=\""+subdir+"images/link_arrow.gif\" alt=\"\" width=\"15\" height=\"10\" hspace=\"2\" vspace=\"2\" align=\"top\" border=\"0\" /></a>";
  }
  document.write (NewsMaterial);
}

function WriteCaption (NewsID)
{
  var NewsMaterial = "";
  if (NewsID <= MaxNewsID) {
    NewsMaterial+="<span class=\"textbrake\" />";
    NewsMaterial+=eval('NewsDate'+NewsID);
    NewsMaterial+="<br /><b>";
    NewsMaterial+=eval('NewsHeadl'+NewsID);
    NewsMaterial+="</b><span class=\"textbrake\" />";
    NewsMaterial+=eval('NewsIngr'+NewsID);
  }

  document.write (NewsMaterial);
}