// gx-eng.js
// This file is generated automatically by a database.
// Begin arrays
var domain=''
var tranImgPath='/gfx1/dot.gif'
//var sections=['home','']
var languageIdentifiers=['eng']
var languageNames=['English']
var languageURLs=['index.htm']
var pulldownItemNames=['Select Fromer...', 'Eco Home', '-----------------------------------', 'Contact', '-----------------------------------', 'About Us', 'Waste Consultancy', 'Membrane Filtration', 'Waste Training', 'Odour Neutralisation', 'Information', 'Products', 'Services', '-----------------------------------', 'News', '&nbsp;&nbsp;___________________________&nbsp;&nbsp;']
var pulldownIndentLevels=[0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0]
var pulldownURLs=['', 'http://www.google.com', '-', 'contact.htm', '-', 'about.htm', 'consult.htm', 'ecomem.htm', 'training.htm', 'superf.htm', 'info.htm', 'products.htm','services.htm', '-', 'News.htm', '']

// Begin Portal Footer Section....  This section sets up Footer Variables to support the Portal Footer Links.
// If a page on our site is called from the portal it can pass a parameter in the query string ['pf=ext' or 'pf=int']
// if this parameter is set then the page is displayed with the appropriate Portal Footer links....
// If the TopNav document does not contain Portal Footer links then the normal links are displayed.


// --- BEGIN FUNCTIONS ---
// Loop through all the entries in the sections array and add its proper text and URL to the clickpath
//t=0
//for(j=0; j<sections.length; j++){
//	if(sections[j]!=""){
//		for(i=0; iclickPathPaths.length; i++){
//			if(clickPathPaths[i]==sections[j]){
//				if(t){clickpath+=' > '}
//				t++
//				clickpath+='<A HREF="'+clickPathURLs[i]+'" //TARGET="_top">'+clickPathItems[i]+'</A>'
//				i=clickPathPaths.length
//			}
//		}
//	}
//}

// This function is used to generate the Site Navigation dropdown menu.  When a user changes the dropdown it jumps to the new page.
// Also, it indents links based on the LinkLevel indicated.  (If this value is set to greater than 3 the link does not show up in the dropdown)
function generateSectionPulldown(){
	document.write('<SELECT NAME="sectionPullDown" onChange="go()">')
	for (i=0; i<pulldownItemNames.length-1; i++){
		if (pulldownIndentLevels[i]<=3){
			indentstr = '';
			for (j=0; j<pulldownIndentLevels[i];j++){
				indentstr = indentstr+'&nbsp;&nbsp;'
			}
			document.write('<OPTION VALUE="'+pulldownURLs[i]+'"')
			document.write('>'+indentstr+pulldownItemNames[i])
		}
	}
	document.write('</SELECT>')
}

/* END NEW COPYRIGHT FUNCTIONS */
// This function is used to jump to the URL of the entry selected in a dropdown menu.
function go(){
	formOb=document.selecter
	selectOb=formOb.sectionPullDown
	selectedIndex=selectOb.selectedIndex
	destinationURL = pulldownURLs[selectedIndex]
	if ((destinationURL!=null) && (destinationURL!='') && (destinationURL!='-')){ 
		window.top.location.href = destinationURL
	}
}