//	+++++++++++++++++++++++++++++++++++
//	(C) Copyright 2003 - 2008 Niro Solutions Pty Limited ABN 89 106 967 140
//	+++++++++++++++++++++++++++++++++++
//	Version: 1.0.0
//	+++++++++++++++++++++++++++++++++++
//	Original author: Miles Glisovic
//	Last update completed by: Miles Glisovic
//	Modification date: 24/02/08
//	+++++++++++++++++++++++++++++++++++

var navigator_appName=""

function setNavigatorsName()
{
	navigator_appName = ""
	navigator_appName = navigator.appName
}

/*250511
function appletLoaded(isNetscape)
{
	if(!isNetscape)
	{
	    //window.alert("Yes")
		showTab(1)
		fcs = true
		document.body.focus()
		var f=document.forms.frmName
		select(f.txtIncomeG)
		ToggleInfo('assumptions')
		ToggleInfo('needtoknow')
		ToggleInfo('needtouse')
	}
	
}

function showFX()
{
//window.alert((navigator.appName).toUpperCase())
if((navigator.appName).toUpperCase()=="NETSCAPE")
{
    
	if(window.navigator.javaEnabled())
	{
	    //window.alert("Yes")
		document.getElementById("spanNoJava").innerHTML="&nbsp;"
		try
		{
			appletLoadedFX()
		}
		catch(e)
		{
			alert(e)
		}
	}
	else
	    //window.alert("No")
		document.getElementById("spanNoJava").innerHTML="<P STYLE='margin: 50px'><TABLE class=noJavaFX border=0><TR><TD><H1>Salary sacrifice calculator</H1><BR><BR><SPAN class='red1'><B>This calculator requires the Java Runtime Environment or JVM to be installed in your browser. It appears that you either have not enabled Java in your browser or it has not been installed. Please contact your system administrator for more information about Java or visit <A class='red1' target='_blank' href='http://www.java.com'>http://www.java.com</A>.</B></SPAN><BR><BR><BR><BR></TD></TR></TABLE></P>"
}
}
function appletLoadedFX()
{
    //window.alert("FF")
	showTab(1)
	fcs=true
	document.body.focus()
	var f=document.forms.frmName
	select(f.txtIncomeG)
	ToggleInfo('assumptions')
	ToggleInfo('needtoknow')
	ToggleInfo('needtouse')
}
*/
function calculatorLoaded()
{
    //window.alert("FF")
	showTab(1)
	fcs=true
	document.body.focus()
	var f=document.forms.frmName
	mySelect(f.txtIncomeG)
	ToggleInfo('assumptions')
	ToggleInfo('needtoknow')
	ToggleInfo('needtouse')
}

