// ##LOG: 
// -----------------------------------------------------------------------------------------------
// ##TEMPLATE: header.js
//	Grain licensing Authority Public Website.
//


//[][][][][][][][][][][][][][][][][][][][][][][][][][][][][][]
//[]
//[]		JavaScript Functions
//[]
//[][][][][][][][][][][][][][][][][][][][][][][][][][][][][][]

// [rollImgOn]
function rollImgOn(mainGraphic,splitValA,splitValB,splitADisplay,splitBDisplay)
{		
	// mainGraphic Image On	
	eval('document.' + mainGraphic).src='/graphics/' + mainGraphic + '_over.gif';
	
	// Navagation Splits On
	if (splitADisplay == 'spacer')
	{
		eval('document.navSplit' + splitValA).src='/graphics/dotBlack.gif';		
	}	
	if (splitBDisplay == 'spacer')
	{
		eval('document.navSplit' + splitValB).src='/graphics/dotBlack.gif';
	}
	
}	


// [rollImgOff]
function rollImgOff(mainGraphic,splitValA,splitValB,splitADisplay,splitBDisplay)
{	
	// mainGraphic Image Off	
	eval('document.' + mainGraphic).src='/graphics/' + mainGraphic + '.gif';
	
	// Navagation Splits Off
	if (splitADisplay != 'dotBlack')
	{
		eval('document.navSplit' + splitValA).src='/graphics/spacer.gif';		
	}	
	if (splitBDisplay != 'dotBlack')
	{
		eval('document.navSplit' + splitValB).src='/graphics/spacer.gif';
	}
}		


var split2Display = 'spacer'
var split3Display = 'spacer'
var split4Display = 'spacer'
var split5Display = 'spacer'
var split6Display = 'spacer'
var split7Display = 'spacer'
//||||||||||||||||||||||||||||||||||||||
//	'aboutTheGLA' section
//||||||||||||||||||||||||||||||||||||||
if (siteSection == 'aboutTheGLA')		
{
	var split2Display = 'dotBlack'
}
//||||||||||||||||||||||||||||||||||||||
// 'applicationProcess' section
//||||||||||||||||||||||||||||||||||||||
else if (siteSection == 'applicationProcess')
{	
	var split2Display = 'dotBlack'
	var split3Display = 'dotBlack'
}	
//||||||||||||||||||||||||||||||||||||||
// 'compliance' section
//||||||||||||||||||||||||||||||||||||||
else if (siteSection == 'compliance')
{	
	var split3Display = 'dotBlack'
	var split4Display = 'dotBlack'
}	
//||||||||||||||||||||||||||||||||||||||
// 'statistics' section
//||||||||||||||||||||||||||||||||||||||
else if (siteSection == 'statistics')
{	
	var split4Display = 'dotBlack'
	var split5Display = 'dotBlack'	
}	
//||||||||||||||||||||||||||||||||||||||
// 'reports' section
//||||||||||||||||||||||||||||||||||||||
else if (siteSection == 'reports')
{	
	var split5Display = 'dotBlack'
	var split6Display = 'dotBlack'	
}	
//||||||||||||||||||||||||||||||||||||||
// 'mediaReleases' section
//||||||||||||||||||||||||||||||||||||||
else if (siteSection == 'mediaReleases')
{	
	var split6Display = 'dotBlack'
	var split7Display = 'dotBlack'	
}




//[][][][][][][][][][][][][][][][][][][][][][][][][][][][][][]
//[]
//[]		Content Start
//[]
//[][][][][][][][][][][][][][][][][][][][][][][][][][][][][][]

document.write('<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">		\n');
document.write('<html>		\n');
document.write('<head>		\n');

//||||||||||||||||||||||||||||||||||||||
//	'aboutTheGLA' section
//||||||||||||||||||||||||||||||||||||||
if (pageTitle == "aboutTheGLA")		
{
	document.write('<meta name="Content Author" http-equiv="Content Author" content="">');
	document.write('<meta name="Title" http-equiv="Title" content="Grain Licensing Authority">');
	document.write('<meta name="Creator" http-equiv="Creator" content="Department of Agriculture">');
	document.write('<meta name="Publisher" http-equiv="Publisher" content="Department of Agriculture, Western Australia">');
	document.write('<meta name="Date" http-equiv="Date" content="Valid until 2003-12-31">');
	document.write('<meta name="Function" http-equiv="Function" content="The web site is designed to provide information on the Grain Licensing Authority, information and application forms for Special Exports Licences, and other information relevant to the regulation of prescribed grains in Western Australia.">');
	document.write('<meta name="Keyword" http-equiv="Keyword" content="Grain, marketing, barley, lupins, canola, regulation, grain marketing act 2002, special export licence, bag and container exports, processed grain, value-added grain, export compliance, licensing, authority">');
	document.write('<meta name="Description" http-equiv="Description" content="The Grain Licensing Authority was enacted by the Grain Marketing Act 2002 and is responsible for the regulation of prescribed grain exports in Western Australia.  The prescribed grains are Barley, Lupins and Canola.  The Authority is responsible for the assessment and issuing of Special Export Licences.">');
}
else if (pageTitle = "powerAuthority")
{	
	document.write('<meta name="Content Author" http-equiv="Content Author" content="">');
	document.write('<meta name="Title" http-equiv="Title" content="Overview of Grain Licensing Authority">');
	document.write('<meta name="Creator" http-equiv="Creator" content="Department of Agriculture">');
	document.write('<meta name="Publisher" http-equiv="Publisher" content="Department of Agriculture, Western Australia">');
	document.write('<meta name="Date" http-equiv="Date" content="Valid until 2003-12-31">');
	document.write('<meta name="Function" http-equiv="Function" content="The web site is designed to provide information on the Grain Licensing Authority, information and application forms for Special Exports Licences, and other information relevant to the regulation of prescribed grains in Western Australia.">');
	document.write('<meta name="Keyword" http-equiv="Keyword" content="Grain, marketing, barley, lupins, canola, regulation, grain marketing act 2002, special export licence, bag and container exports, processed grain, value-added grain, export compliance, licensing, authority">');
	document.write('<meta name="Description" http-equiv="Description" content="The Grain Licensing Authority was enacted by the Grain Marketing Act 2002 and is responsible for the regulation of prescribed grain exports in Western Australia.  The prescribed grains are Barley, Lupins and Canola.  The Authority is responsible for the assessment and issuing of Special Export Licences.  ">');
}

									//  Page Title.
document.write('	<title>Grain licensing Authority - ' + pageTitle + '</title>		\n');
									// ##INCiLUDE: the Public Style Sheet from the css dir.
document.write('	<link rel="StyleSheet" href="/css/publicStyle.css" type="text/css">		\n');
document.write('</head>			\n');

document.write('<body marginwidth=0 leftmargin=0 rightmargin=0 marginheight=0 topmargin=0>		\n');


//[][][][][][][][][][][][][][][][][][][][][][][][][][][][][][]
//[]
//[]		Utility Navigation 
//[]
//[][][][][][][][][][][][][][][][][][][][][][][][][][][][][][]
//document.write('<table cellspacing=0 cellpadding=6 border=0 width="100%">		\n');
//document.write('<tr>		\n');	
//document.write('	<td align="right"><a href="/index.htm"><b>Home</b></a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="/faqs.htm"><b>FAQs</b></a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="/links.htm"><b>Links</b></a>&nbsp;</td>		\n');
//document.write('</tr>		\n');
//document.write('</table>		\n');


//[][][][][][][][][][][][][][][][][][][][][][][][][][][][][][]
//[]
//[]		GLA Branding / State Gov Logo
//[]
//[][][][][][][][][][][][][][][][][][][][][][][][][][][][][][]
document.write('<table cellspacing=0 cellpadding=0 border=0 width="100%">		\n');
document.write('<tr>		\n');	
document.write('	<td background="/graphics/gla_03.gif"><a href="/index.htm"><img src="/graphics/gla_02.gif" width="646" height="130" alt="" border="0"></a></td>		\n');
document.write('	<td background="/graphics/gla_03.gif" align="right"><a href="http://www.wa.gov.au" target="_blank"><img src="/graphics/gla_04.gif" width="265" height="130" alt="" border="0"></a></td>		\n');
document.write('</tr>		\n');
document.write('</table>		\n');





//[][][][][][][][][][][][][][][][][][][][][][][][][][][][][][]
//[]
//[]		Main Navigation
//[]
//[][][][][][][][][][][][][][][][][][][][][][][][][][][][][][]
document.write('<table cellspacing=0 cellpadding=0 border=0 width="100%">		\n');
document.write('<tr>		\n');	
document.write('	<td background="/graphics/gla_14.gif">		\n');
document.write('		<table cellspacing=0 cellpadding=0 border=0>		\n');
document.write('		<tr>		\n');

//||||||||||||||||||||||||||||||||||||||
//	| About the GLA |
//||||||||||||||||||||||||||||||||||||||
if (siteSection == 'aboutTheGLA')		
{
	// ON
	document.write('			<td><img src="/graphics/aboutTheGLA_over.gif" width="128" height="32" alt="About the GLA" border="0"></td>		\n');	
}
else
{
	// OFF
	document.write('			<td><a href="/aboutTheGLA.htm" onMouseOver="rollImgOn(\'aboutTheGLA\',\'2\',\'2\',\'' + split2Display + '\',\'' + split2Display + '\');" onMouseOut="rollImgOff(\'aboutTheGLA\',\'2\',\'2\',\'' + split2Display + '\',\'' + split2Display + '\');"><img src="/graphics/aboutTheGLA.gif" width="128" height="32" alt="About the GLA" border="0" name="aboutTheGLA" id="aboutTheGLA"></a></td>		\n');	
}
document.write('			<td><img src="/graphics/' + split2Display + '.gif" width="1" height="32" alt="" border="0" name="navSplit2" id="navSplit2"></td>		\n');	
//||||||||||||||||||||||||||||||||||||||
// | Application Process |
//||||||||||||||||||||||||||||||||||||||
if (siteSection == 'applicationProcess')
{	
	// ON
	document.write('			<td><img src="/graphics/applicationProcess_over.gif" width="159" height="32" alt="Application Process" border="0"></td>		\n');	
}
else
{
	// OFF
	document.write('			<td><a href="/applicationForm.htm" onMouseOver="rollImgOn(\'applicationProcess\',\'2\',\'3\',\'' + split2Display + '\',\'' + split3Display + '\');" onMouseOut="rollImgOff(\'applicationProcess\',\'2\',\'3\',\'' + split2Display + '\',\'' + split3Display + '\');"><img src="/graphics/applicationProcess.gif" width="159" height="32" alt="Application Process" border="0" name="applicationProcess" id="applicationProcess"></a></td>		\n');			
}	
document.write('			<td><img src="/graphics/' + split3Display + '.gif" width="1" height="32" alt="" border="0" name="navSplit3" id="navSplit3"></td>		\n');		
//||||||||||||||||||||||||||||||||||||||
// | Compliance |
//||||||||||||||||||||||||||||||||||||||
//if (siteSection == 'compliance')
//{	
//	// ON
//	document.write('			<td><img src="/graphics/compliance_over.gif" width="109" height="32" alt="Compliance" border="0"></td>		\n');	
//}
//else
//{
//	// OFF
//	document.write('			<td><a href="/guidelines.htm" onMouseOver="rollImgOn(\'compliance\',\'3\',\'4\',\'' + split3Display + '\',\'' + split4Display + '\');" onMouseOut="rollImgOff(\'compliance\',\'3\',\'4\',\'' + split3Display + '\',\'' + split4Display + '\');"><img src="/graphics/compliance.gif" width="109" height="32" alt="Compliance" border="0" name="compliance" id="compliance"></a></td>		\n');			
//}	
//document.write('			<td><img src="/graphics/' + split4Display + '.gif" width="1" height="32" alt="" border="0" name="navSplit4" id="navSplit4"></td>		\n');	
//||||||||||||||||||||||||||||||||||||||
// | Statistics |
//||||||||||||||||||||||||||||||||||||||
if (siteSection == 'statistics')
{	
	//ON
	document.write('			<td><img src="/graphics/statistics_over.gif" width="92" height="32" alt="Statistics" border="0"></td>		\n');	
}
else
{
	// OFF
	document.write('			<td><a href="/statistics/statistics200809.htm" onMouseOver="rollImgOn(\'statistics\',\'4\',\'5\',\'' + split4Display + '\',\'' + split5Display + '\');" onMouseOut="rollImgOff(\'statistics\',\'4\',\'5\',\'' + split4Display + '\',\'' + split5Display + '\');"><img src="/graphics/statistics.gif" width="92" height="32" alt="Reports" border="0" name="statistics" id="statistics"></a></td>		\n');	
}		
document.write('			<td><img src="/graphics/' + split5Display + '.gif" width="1" height="32" alt="" border="0" name="navSplit5" id="navSplit5"></td>		\n');			
//||||||||||||||||||||||||||||||||||||||
// | Reports |
//||||||||||||||||||||||||||||||||||||||
if (siteSection == 'reports')
{	
	//ON
	document.write('			<td><img src="/graphics/reports_over.gif" width="81" height="32" alt="Reports" border="0"></td>		\n');	
}
else
{
	// OFF
	document.write('			<td><a href="/reports.htm" onMouseOver="rollImgOn(\'reports\',\'5\',\'6\',\'' + split5Display + '\',\'' + split6Display + '\');" onMouseOut="rollImgOff(\'reports\',\'5\',\'6\',\'' + split5Display + '\',\'' + split6Display + '\');"><img src="/graphics/reports.gif" width="81" height="32" alt="Reports" border="0" name="reports" id="reports"></a></td>		\n');	
}		
document.write('			<td><img src="/graphics/' + split6Display + '.gif" width="1" height="32" alt="" border="0" name="navSplit6" id="navSplit6"></td>		\n');			
//||||||||||||||||||||||||||||||||||||||
// | Media Releases |
//||||||||||||||||||||||||||||||||||||||
if (siteSection == 'mediaReleases')
{	
	//ON
	document.write('			<td><img src="/graphics/mediaReleases_over.gif" width="120" height="32" alt="Media Releases" border="0"></td>		\n');	
}
else
{
	// OFF
	document.write('			<td><a href="/media_release/mediaReleases2009.htm" onMouseOver="rollImgOn(\'mediaReleases\',\'6\',\'7\',\'' + split6Display + '\',\'' + split7Display + '\');" onMouseOut="rollImgOff(\'mediaReleases\',\'6\',\'7\',\'' + split6Display + '\',\'' + split7Display + '\');"><img src="/graphics/mediaReleases.gif" width="120" height="32" alt="Media Releases" border="0" name="mediaReleases" id="mediaReleases"></a></td>		\n');	
}		
document.write('			<td><img src="/graphics/' + split7Display + '.gif" width="1" height="32" alt="" border="0" name="navSplit7" id="navSplit7"></td>		\n');			


//end//
document.write('		</tr>	\n');	
document.write('		</table>		\n');		
document.write('	</td>		\n');	
document.write('	<td align="right" background="/graphics/gla_14.gif"><img src="/graphics/gla_15.gif" width="265" height="32" alt="" border="0"></td>		\n');	
document.write('</tr>		\n');
document.write('</table>		\n');	


//[][][][][][][][][][][][][][][][][][][][][][][][][]
//[]
//[]		Sub Navigation / Page Content
//[]
//[][][][][][][][][][][][][][][][][][][][][][][][][]
document.write('<table cellspacing=0 cellpadding=0 border=0 width="100%">		\n');
document.write('<tr>		\n');									
document.write('	<td width="10%" valign="top" background="/graphics/glaSub_08.gif">		\n');		
document.write('		<table cellspacing=0 cellpadding=4 border=0>		\n');	
document.write('		<tr>		\n');
document.write('			<td><img src="/graphics/spacer.gif" width="1" height="1" alt="" border="0"></td>		\n');
document.write('		</tr>		\n');

//[][][][][][][][][][][][][][][][][][][][][][][][][]
//||||||||||||||||||||||||||||||||||||||||||||||||||
//[]
//[]		Sub Navigation 
//[]		## BASED on [siteSection]
//[]
//||||||||||||||||||||||||||||||||||||||||||||||||||
//[][][][][][][][][][][][][][][][][][][][][][][][][]
//||||||||||||||||||||||||||||||||||||||
//	'aboutTheGLA' section
//||||||||||||||||||||||||||||||||||||||
if (siteSection == 'aboutTheGLA')		
{

	//	Home
	document.write('		<tr>		\n');
	document.write('			<td><a href="/index.htm" class="linkSubNav">Home</a></td>		\n');
	document.write('		</tr>		\n');
	
	//	Overview
	document.write('		<tr>		\n');
	document.write('			<td><a href="/aboutTheGLA.htm" class="linkSubNav">Role</a></td>		\n');
	document.write('		</tr>		\n');
	
	//	Members
	document.write('		<tr>		\n');
	document.write('			<td><a href="/members.htm" class="linkSubNav">Members</a></td>		\n');
	document.write('		</tr>		\n');
	
	//	Powers of the Authority
	document.write('		<tr>		\n');
	document.write('			<td><a href="/legislation.htm" class="linkSubNav">Legislation</a></td>		\n');
	document.write('		</tr>		\n');
	
	
}
//||||||||||||||||||||||||||||||||||||||
// 'applicationProcess' section
//||||||||||||||||||||||||||||||||||||||
else if (siteSection == 'applicationProcess')
{	
/*
	//	How to Apply
	document.write('		<tr>		\n');
	document.write('			<td><a href="/howToApply.htm" class="linkSubNav">How to Apply for a Licence</a></td>		\n');	
	document.write('		</tr>		\n');
*/	
	//	Home
	document.write('		<tr>		\n');
	document.write('			<td><a href="/index.htm" class="linkSubNav">Home</a></td>		\n');
	document.write('		</tr>		\n');
/*
	//	How to Apply
	document.write('		<tr>		\n');
	document.write('			<td><a href="/applicationFees.htm" class="linkSubNav">Application and Licence Fees</a></td>		\n');
	document.write('		</tr>		\n');
*/	
}	
//||||||||||||||||||||||||||||||||||||||
// 'compliance' section
//||||||||||||||||||||||||||||||||||||||
else if (siteSection == 'compliance')
{	
	//	Guidelines
	document.write('		<tr>		\n');
	document.write('			<td><a href="/guidelines.htm" class="linkSubNav">Guidelines</a></td>		\n');
	document.write('		</tr>		\n');
/*
	//	Compliance and Auditing Requirements
	document.write('		<tr>		\n');
	document.write('			<td><a href="/complianceAuditingRequirements.htm" class="linkSubNav">Compliance and Auditing Requirements</a></td>		\n');
	document.write('		</tr>		\n');	
*/	
}	
//||||||||||||||||||||||||||||||||||||||
// 'reports' section
//||||||||||||||||||||||||||||||||||||||
else if (siteSection == 'statistics')
{	
	//	Home
	document.write('		<tr>		\n');
	document.write('			<td><a href="/index.htm" class="linkSubNav">Home</a></td>		\n');
	document.write('		</tr>		\n');
	//	Statistics
	document.write('		<tr>		\n');
	document.write('			<td><a href="/statistics/statistics201011.htm" class="linkSubNav">2010/11</a></td>		\n');
	document.write('		<tr>		\n');
	document.write('			<td><a href="/statistics/statistics200910.htm" class="linkSubNav">2009/10</a></td>		\n');
	document.write('		<tr>		\n');
	document.write('			<td><a href="/statistics/statistics200809.htm" class="linkSubNav">2008/09</a></td>		\n');
	document.write('		<tr>		\n');
	document.write('			<td><a href="/statistics/statistics200708.htm" class="linkSubNav">2007/08</a></td>		\n');
document.write('		<tr>		\n');
	document.write('			<td><a href="/statistics/statistics200607.htm" class="linkSubNav">2006/07</a></td>		\n');
	document.write('		<tr>		\n');
	document.write('			<td><a href="/statistics/statistics200506.htm" class="linkSubNav">2005/06</a></td>		\n');
	document.write('		</tr>		\n');
	document.write('		<tr>		\n');
	document.write('			<td><a href="/statistics/statistics200405.htm" class="linkSubNav">2004/05</a></td>		\n');
	document.write('		</tr>		\n');
	document.write('		<tr>		\n');
	document.write('			<td><a href="/statistics/statistics200304.htm" class="linkSubNav">2003/04</a></td>		\n');
	document.write('		</tr>		\n');
	document.write('		<tr>		\n');
	document.write('			<td><img src="/graphics/spacer.gif" width="1" height="1" alt="" border="0"></td>		\n');
	document.write('		</tr>		\n');
}	
//||||||||||||||||||||||||||||||||||||||
// 'reports' section
//||||||||||||||||||||||||||||||||||||||
else if (siteSection == 'reports')
{	
	//	Home
	document.write('		<tr>		\n');
	document.write('			<td><a href="/index.htm" class="linkSubNav">Home</a></td>		\n');
	document.write('		</tr>		\n');
	
	//	Statistics
	document.write('		<tr>		\n');
	document.write('			<td><a href="/reports.htm" class="linkSubNav">Reports</a></td>		\n');
	document.write('		</tr>		\n');
	document.write('		<tr>		\n');
	document.write('			<td><img src="/graphics/spacer.gif" width="1" height="1" alt="" border="0"></td>		\n');
	document.write('		</tr>		\n');
}	
//||||||||||||||||||||||||||||||||||||||
// 'mediaReleases' section
//||||||||||||||||||||||||||||||||||||||
else if (siteSection == 'mediaReleases')
{	
	//	Home
	document.write('		<tr>		\n');
	document.write('			<td><a href="/index.htm" class="linkSubNav">Home</a></td>		\n');
	document.write('		</tr>		\n');
	
	//	Media Releases
	document.write('		<tr>		\n');
	document.write('			<td><a href="/media_release/mediaReleases2009.htm" class="linkSubNav">2009</a></td>		\n');
	document.write('		</tr>		\n');
	document.write('		<tr>		\n');
	document.write('			<td><a href="/media_release/mediaReleases2008.htm" class="linkSubNav">2008</a></td>		\n');
	document.write('		</tr>		\n');
	document.write('		<tr>		\n');
	document.write('			<td><a href="/media_release/mediaReleases2007.htm" class="linkSubNav">2007</a></td>		\n');
	document.write('		</tr>		\n');
	document.write('		<tr>		\n');
	document.write('			<td><a href="/media_release/mediaReleases2006.htm" class="linkSubNav">2006</a></td>		\n');
	document.write('		</tr>		\n');
	document.write('		<tr>		\n');
	document.write('			<td><a href="/media_release/mediaReleases2005.htm" class="linkSubNav">2005</a></td>		\n');
	document.write('		</tr>		\n');
	document.write('		<tr>		\n');
	document.write('			<td><a href="/media_release/mediaReleases2004.htm" class="linkSubNav">2004</a></td>		\n');
	document.write('		</tr>		\n');
	document.write('		<tr>		\n');
	document.write('			<td><a href="/media_release/mediaReleases2003.htm" class="linkSubNav">2003</a></td>		\n');
	document.write('		</tr>		\n');
}	
//[][][][][][][][][][][][][][][][][][][][][][][][][]
//||||||||||||||||||||||||||||||||||||||||||||||||||
//[]
//[]		/END Sub Navigation 
//[]
//||||||||||||||||||||||||||||||||||||||||||||||||||
//[][][][][][][][][][][][][][][][][][][][][][][][][]		
		
document.write('		<tr>		\n');		
document.write('			<td><br></td>		\n');
document.write('		</tr>		\n');			
document.write('		</table>		\n');	
document.write('		<br><img src="/graphics/glaSub_08.gif" width="134" height="10" alt="" border="0">		\n');		
document.write('	</td>		\n');
									//[][][][][][][][][][][][][][][][][][][][][][][][][]
									//[]		Page Content
									//[][][][][][][][][][][][][][][][][][][][][][][][][]
document.write('	<td width="88%" valign="top">		\n');			
document.write('		<table cellspacing=0 cellpadding=10 border=0>		\n');	
document.write('		<tr>		\n');		
document.write('			<td>		\n');	