
var i
var aHead = new Array()
var aIngr = new Array()
var aDate = new Array()
var aUrl  = new Array()
var aLang = new Array()

aHead[0] = "Emillion brings Fonecta Finder closer to its users"
aIngr[0] = "Fonecta and Emillion reaches agreement"
aDate[0] = "28.4.2005"
aUrl[0]  = "news_20050428_Fonecta.htm"

aHead[1] = "Distal 2.8 released"
aIngr[1] = "Performance and service integration improved"
aDate[1] = "27.1.2006"
aUrl[1]  = "news_20060127_Distal.htm"

aHead[2] = "SPML support available"
aIngr[2] = "Better integration with Identity Managers"
aDate[2] = "28.4.2006"
aUrl[2]  = "news_20060428_spml.htm"

aHead[3] = "Patent application filed"
aIngr[3] = "Core Distal technology covered"
aDate[3] = "2.5.2006"
aUrl[3]  = "news_20060502_patent.htm"

aHead[4] = "User directories supported"
aIngr[4] = "Seamless integration with IAM solutions"
aDate[4] = "8.12.2006"
aUrl[4]  = "news_20061208_directories.htm"

aHead[5] = "Risto T Korhonen joins as Business development director"
aIngr[5] = "Mr Korhonen brings experience in telecom business"
aDate[5] = "1.3.2007"
aUrl[5]  = "news_20070301_korhonen.htm"

aHead[6] = "Distal can now be used as a SAML proxy"
aIngr[6] = "Lightweight federation with organisations not supporting SAML"
aDate[6] = "4.6.2007"
aUrl[6]  = "news_20070604_saml.htm"

aHead[7] = "IAM solution support extended"
aIngr[7] = "Most leading vendors supported"
aDate[7] = "31.12.2007"
aUrl[7]  = "news_20071231_iam.htm"

aHead[8] = "Aditro improves ASP usability with Emillion's Distal authentication"
aIngr[8] = "Integrates Distal in its Nordic HRM ASP service platform"
aDate[8] = "11.2.2008"
aUrl[8]  = "news_20080211_Aditro.htm"

aHead[9] = "Distal covered in Cloud Computing Journal"
aIngr[9] = "SaaS Single Sign-On: It's Time for a Lighter Approach"
aDate[9] = "8.4.2008"
aUrl[9]  = "news_20080408_SaaS.htm"

aHead[10] = "Emillion selected to present at SIIA OnDemand Europe"
aIngr[10] = "One of twelve innovative European SaaS actors"
aDate[10] = "6.5.2008"
aUrl[10]  = "news_20080506_SIIAOnDemand.htm"

aHead[11] = "ALD improves usability of corporate services with Emillion's Distal authentication"
aIngr[11] = "Integrated Distal in their Premier Pages"
aDate[11] = "2.6.2008"
aUrl[11]  = "news_20080602_ALD.htm"

aHead[12] = "Fujitsu improves Patja customer portal usability with Emillion's Distal authentication"
aIngr[12] = "Easier access to service requests"
aDate[12] = "9.6.2008"
aUrl[12]  = "news_20080609_Fujitsu.htm"

aHead[13] = "Distal is now Ready for Tivoli"
aIngr[13] = "Helps Tivoli customers drive usage of their web applications"
aDate[13] = "30.9.2008"
aUrl[13]  = "news_20080930_Tivoli.htm"

aHead[14] = "Arc Technology makes access to its SaaS applications easier"
aIngr[14] = "Offers SaaS single sign-on with Distal"
aDate[14] = "25.3.2009"
aUrl[14]  = "news_20090325_Arc.htm"

aHead[15] = "Fujitsu starts offering Distal as a service"
aIngr[15] = "Becomes part of their IAM offering"
aDate[15] = "14.4.2009"
aUrl[15]  = "news_20090414_Fujitsu.htm"

aHead[16] = "Saima improves usability of its application service with Emillion's Distal authentication"
aIngr[16] = "Offers single sign-on to its application service with Distal"
aDate[16] = "25.9.2009"
aUrl[16]  = "news_20090925_Saima.htm"

aHead[17] = "Finland Travel Bureau's TraWell Distal improves the usability of its business customer service"
aIngr[17] = "Automates sign-on and user management to Amadeus"
aDate[17] = "20.1.2010"
aUrl[17]  = "news_20100120_SMT.htm"

function show_all_news_headers()
{
    for (i=aUrl.length-1; i>=0; i--)
    {
		document.write("<h4>" + aDate[i] + "</h4>")
		document.write("<div><a href=\"" + aUrl[i] + "\">" + aHead[i] + "</a></div>")
	}
}

function show_news_header(i)
{
	document.write("<h4>" + aDate[i] + "</h4>")
	document.write("<div><a href=\"" + aUrl[i] + "\">" + aHead[i] + "</a></div><br/>")
}

function show_news_header_simple(i)
{
	document.write("<h4><a href=\"" + aUrl[i] + "\">News: " + aHead[i] + "</a></h4><br/>")
}

function show_all_headers_link()
{
	document.write("<a href=\"newsheaders.htm\"><h1>More news headers</h1></a>")
}

function show_news_headers(lastindex, count)
{
    for (i=lastindex; i>lastindex-count && i >=0; i--)
    {
		show_news_header(i)
    }
	show_all_headers_link()
}

function show_latest_news_headers(count)
{
    for (i=aHead.length-1; i>aHead.length-count-1 && i >=0; i--)
    {
		show_news_header(i)
    }
}

function show_latest_news_headers_simple(count)
{
    for (i=aHead.length-1; i>aHead.length-count-1 && i >=0; i--)
    {
		show_news_header_simple(i)
    }
}

function show_this_and_older_news_headers(count)
{
	lastindex = -1;
    for (i=0; i<aHead.length-1; i++)
    {
		if (document.URL.indexOf(aUrl[i]) != -1)
		{
			lastindex = i
			break;
		}
    }
    if (lastindex == -1)
    {
		show_latest_news_headers(count)
    }
    else
    {
		show_news_headers(lastindex, count)
    }
	show_all_headers_link()
}

function show_latest_news()
{
    window.location = aUrl[aUrl.length-1]
}

